var vendors=function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:false,exports:{}};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.l=true;return module.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{enumerable:true,get:getter})};__webpack_require__.r=function(exports){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});Object.defineProperty(exports,"__esModule",{value:true})};__webpack_require__.t=function(value,mode){1&mode&&(value=__webpack_require__(value));if(8&mode)return value;if(4&mode&&"object"===typeof value&&value&&value.__esModule)return value;var ns=Object.create(null);__webpack_require__.r(ns);Object.defineProperty(ns,"default",{enumerable:true,value:value});if(2&mode&&"string"!=typeof value)for(var key in value)__webpack_require__.d(ns,key,function(key){return value[key]}.bind(null,key));return ns};__webpack_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module["default"]}:function getModuleExports(){return module};__webpack_require__.d(getter,"a",getter);return getter};__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)};__webpack_require__.p="__REPLACE_WITH_PUBLIC_PATH__";return __webpack_require__(__webpack_require__.s=1013)}([function(module,exports,__webpack_require__){"use strict";true;module.exports=__webpack_require__(1022)},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(1023)()},function(module,exports,__webpack_require__){var $iterators=__webpack_require__(3);var getKeys=__webpack_require__(150);var redefine=__webpack_require__(110);var global=__webpack_require__(55);var hide=__webpack_require__(125);var Iterators=__webpack_require__(225);var wks=__webpack_require__(40);var ITERATOR=wks("iterator");var TO_STRING_TAG=wks("toStringTag");var ArrayValues=Iterators.Array;var DOMIterables={CSSRuleList:true,CSSStyleDeclaration:false,CSSValueList:false,ClientRectList:false,DOMRectList:false,DOMStringList:false,DOMTokenList:true,DataTransferItemList:false,FileList:false,HTMLAllCollection:false,HTMLCollection:false,HTMLFormElement:false,HTMLSelectElement:false,MediaList:true,MimeTypeArray:false,NamedNodeMap:false,NodeList:true,PaintRequestList:false,Plugin:false,PluginArray:false,SVGLengthList:false,SVGNumberList:false,SVGPathSegList:false,SVGPointList:false,SVGStringList:false,SVGTransformList:false,SourceBufferList:false,StyleSheetList:true,TextTrackCueList:false,TextTrackList:false,TouchList:false};for(var collections=getKeys(DOMIterables),i=0;i<collections.length;i++){var NAME=collections[i];var explicit=DOMIterables[NAME];var Collection=global[NAME];var proto=Collection&&Collection.prototype;var key;if(proto){proto[ITERATOR]||hide(proto,ITERATOR,ArrayValues);proto[TO_STRING_TAG]||hide(proto,TO_STRING_TAG,NAME);Iterators[NAME]=ArrayValues;if(explicit)for(key in $iterators)proto[key]||redefine(proto,key,$iterators[key],true)}}},function(module,exports,__webpack_require__){"use strict";var addToUnscopables=__webpack_require__(221);var step=__webpack_require__(1018);var Iterators=__webpack_require__(225);var toIObject=__webpack_require__(146);module.exports=__webpack_require__(544)(Array,"Array",function(iterated,kind){this._t=toIObject(iterated);this._i=0;this._k=kind},function(){var O=this._t;var kind=this._k;var index=this._i++;if(!O||index>=O.length){this._t=void 0;return step(1)}if("keys"==kind)return step(0,index);if("values"==kind)return step(0,O[index]);return step(0,[index,O[index]])},"values");Iterators.Arguments=Iterators.Array;addToUnscopables("keys");addToUnscopables("values");addToUnscopables("entries")},function(module,exports,__webpack_require__){var toObject=__webpack_require__(151);var $keys=__webpack_require__(150);__webpack_require__(550)("keys",function(){return function keys(it){return $keys(toObject(it))}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(41);$export($export.S+$export.F,"Object",{assign:__webpack_require__(1035)})},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){var classes=[];for(var i=0;i<arguments.length;i++){var arg=arguments[i];if(!arg)continue;var argType=typeof arg;if("string"===argType||"number"===argType)classes.push(arg);else if(Array.isArray(arg)&&arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}else if("object"===argType)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key)}return classes.join(" ")}if(true,module.exports){classNames.default=classNames;module.exports=classNames}else{true;!(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}})()},function(module,exports,__webpack_require__){__webpack_require__(552)("asyncIterator")},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(55);var has=__webpack_require__(111);var DESCRIPTORS=__webpack_require__(78);var $export=__webpack_require__(41);var redefine=__webpack_require__(110);var META=__webpack_require__(554).KEY;var $fails=__webpack_require__(64);var shared=__webpack_require__(367);var setToStringTag=__webpack_require__(277);var uid=__webpack_require__(223);var wks=__webpack_require__(40);var wksExt=__webpack_require__(553);var wksDefine=__webpack_require__(552);var enumKeys=__webpack_require__(1033);var isArray=__webpack_require__(555);var anObject=__webpack_require__(77);var isObject=__webpack_require__(71);var toIObject=__webpack_require__(146);var toPrimitive=__webpack_require__(276);var createDesc=__webpack_require__(224);var _create=__webpack_require__(370);var gOPNExt=__webpack_require__(1034);var $GOPD=__webpack_require__(279);var $DP=__webpack_require__(76);var $keys=__webpack_require__(150);var gOPD=$GOPD.f;var dP=$DP.f;var gOPN=gOPNExt.f;var $Symbol=global.Symbol;var $JSON=global.JSON;var _stringify=$JSON&&$JSON.stringify;var PROTOTYPE="prototype";var HIDDEN=wks("_hidden");var TO_PRIMITIVE=wks("toPrimitive");var isEnum={}.propertyIsEnumerable;var SymbolRegistry=shared("symbol-registry");var AllSymbols=shared("symbols");var OPSymbols=shared("op-symbols");var ObjectProto=Object[PROTOTYPE];var USE_NATIVE="function"==typeof $Symbol;var QObject=global.QObject;var setter=!QObject||!QObject[PROTOTYPE]||!QObject[PROTOTYPE].findChild;var setSymbolDesc=DESCRIPTORS&&$fails(function(){return 7!=_create(dP({},"a",{get:function(){return dP(this,"a",{value:7}).a}})).a})?function(it,key,D){var protoDesc=gOPD(ObjectProto,key);protoDesc&&delete ObjectProto[key];dP(it,key,D);protoDesc&&it!==ObjectProto&&dP(ObjectProto,key,protoDesc)}:dP;var wrap=function(tag){var sym=AllSymbols[tag]=_create($Symbol[PROTOTYPE]);sym._k=tag;return sym};var isSymbol=USE_NATIVE&&"symbol"==typeof $Symbol.iterator?function(it){return"symbol"==typeof it}:function(it){return it instanceof $Symbol};var $defineProperty=function defineProperty(it,key,D){it===ObjectProto&&$defineProperty(OPSymbols,key,D);anObject(it);key=toPrimitive(key,true);anObject(D);if(has(AllSymbols,key)){if(D.enumerable){has(it,HIDDEN)&&it[HIDDEN][key]&&(it[HIDDEN][key]=false);D=_create(D,{enumerable:createDesc(0,false)})}else{has(it,HIDDEN)||dP(it,HIDDEN,createDesc(1,{}));it[HIDDEN][key]=true}return setSymbolDesc(it,key,D)}return dP(it,key,D)};var $defineProperties=function defineProperties(it,P){anObject(it);var keys=enumKeys(P=toIObject(P));var i=0;var l=keys.length;var key;while(l>i)$defineProperty(it,key=keys[i++],P[key]);return it};var $create=function create(it,P){return void 0===P?_create(it):$defineProperties(_create(it),P)};var $propertyIsEnumerable=function propertyIsEnumerable(key){var E=isEnum.call(this,key=toPrimitive(key,true));if(this===ObjectProto&&has(AllSymbols,key)&&!has(OPSymbols,key))return false;return!(E||!has(this,key)||!has(AllSymbols,key)||has(this,HIDDEN)&&this[HIDDEN][key])||E};var $getOwnPropertyDescriptor=function getOwnPropertyDescriptor(it,key){it=toIObject(it);key=toPrimitive(key,true);if(it===ObjectProto&&has(AllSymbols,key)&&!has(OPSymbols,key))return;var D=gOPD(it,key);!D||!has(AllSymbols,key)||has(it,HIDDEN)&&it[HIDDEN][key]||(D.enumerable=true);return D};var $getOwnPropertyNames=function getOwnPropertyNames(it){var names=gOPN(toIObject(it));var result=[];var i=0;var key;while(names.length>i)has(AllSymbols,key=names[i++])||key==HIDDEN||key==META||result.push(key);return result};var $getOwnPropertySymbols=function getOwnPropertySymbols(it){var IS_OP=it===ObjectProto;var names=gOPN(IS_OP?OPSymbols:toIObject(it));var result=[];var i=0;var key;while(names.length>i)!has(AllSymbols,key=names[i++])||IS_OP&&!has(ObjectProto,key)||result.push(AllSymbols[key]);return result};if(!USE_NATIVE){$Symbol=function Symbol(){if(this instanceof $Symbol)throw TypeError("Symbol is not a constructor!");var tag=uid(arguments.length>0?arguments[0]:void 0);var $set=function(value){this===ObjectProto&&$set.call(OPSymbols,value);has(this,HIDDEN)&&has(this[HIDDEN],tag)&&(this[HIDDEN][tag]=false);setSymbolDesc(this,tag,createDesc(1,value))};DESCRIPTORS&&setter&&setSymbolDesc(ObjectProto,tag,{configurable:true,set:$set});return wrap(tag)};redefine($Symbol[PROTOTYPE],"toString",function toString(){return this._k});$GOPD.f=$getOwnPropertyDescriptor;$DP.f=$defineProperty;__webpack_require__(278).f=gOPNExt.f=$getOwnPropertyNames;__webpack_require__(227).f=$propertyIsEnumerable;__webpack_require__(375).f=$getOwnPropertySymbols;DESCRIPTORS&&!__webpack_require__(222)&&redefine(ObjectProto,"propertyIsEnumerable",$propertyIsEnumerable,true);wksExt.f=function(name){return wrap(wks(name))}}$export($export.G+$export.W+$export.F*!USE_NATIVE,{Symbol:$Symbol});for(var es6Symbols="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),j=0;es6Symbols.length>j;)wks(es6Symbols[j++]);for(var wellKnownSymbols=$keys(wks.store),k=0;wellKnownSymbols.length>k;)wksDefine(wellKnownSymbols[k++]);$export($export.S+$export.F*!USE_NATIVE,"Symbol",{for:function(key){return has(SymbolRegistry,key+="")?SymbolRegistry[key]:SymbolRegistry[key]=$Symbol(key)},keyFor:function keyFor(sym){if(!isSymbol(sym))throw TypeError(sym+" is not a symbol!");for(var key in SymbolRegistry)if(SymbolRegistry[key]===sym)return key},useSetter:function(){setter=true},useSimple:function(){setter=false}});$export($export.S+$export.F*!USE_NATIVE,"Object",{create:$create,defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor,getOwnPropertyNames:$getOwnPropertyNames,getOwnPropertySymbols:$getOwnPropertySymbols});$JSON&&$export($export.S+$export.F*(!USE_NATIVE||$fails(function(){var S=$Symbol();return"[null]"!=_stringify([S])||"{}"!=_stringify({a:S})||"{}"!=_stringify(Object(S))})),"JSON",{stringify:function stringify(it){var args=[it];var i=1;var replacer,$replacer;while(arguments.length>i)args.push(arguments[i++]);$replacer=replacer=args[1];if(!isObject(replacer)&&void 0===it||isSymbol(it))return;isArray(replacer)||(replacer=function(key,value){"function"==typeof $replacer&&(value=$replacer.call(this,key,value));if(!isSymbol(value))return value});args[1]=replacer;return _stringify.apply($JSON,args)}});$Symbol[PROTOTYPE][TO_PRIMITIVE]||__webpack_require__(125)($Symbol[PROTOTYPE],TO_PRIMITIVE,$Symbol[PROTOTYPE].valueOf);setToStringTag($Symbol,"Symbol");setToStringTag(Math,"Math",true);setToStringTag(global.JSON,"JSON",true)},function(module,exports,__webpack_require__){var $export=__webpack_require__(41);$export($export.S,"Object",{setPrototypeOf:__webpack_require__(556).set})},function(module,exports,__webpack_require__){(function(module,global){var __WEBPACK_AMD_DEFINE_RESULT__;
/**
 * @license
 * lodash 3.10.1 (Custom Build) <https://lodash.com/>
 * Build: `lodash modern -d -o ./index.js`
 * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 * Available under MIT license <https://lodash.com/license>
 */(function(){var undefined;var VERSION="3.10.1";var BIND_FLAG=1,BIND_KEY_FLAG=2,CURRY_BOUND_FLAG=4,CURRY_FLAG=8,CURRY_RIGHT_FLAG=16,PARTIAL_FLAG=32,PARTIAL_RIGHT_FLAG=64,ARY_FLAG=128,REARG_FLAG=256;var DEFAULT_TRUNC_LENGTH=30,DEFAULT_TRUNC_OMISSION="...";var HOT_COUNT=150,HOT_SPAN=16;var LARGE_ARRAY_SIZE=200;var LAZY_FILTER_FLAG=1,LAZY_MAP_FLAG=2;var FUNC_ERROR_TEXT="Expected a function";var PLACEHOLDER="__lodash_placeholder__";var argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]";var arrayBufferTag="[object ArrayBuffer]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";var reEmptyStringLeading=/\b__p \+= '';/g,reEmptyStringMiddle=/\b(__p \+=) '' \+/g,reEmptyStringTrailing=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var reEscapedHtml=/&(?:amp|lt|gt|quot|#39|#96);/g,reUnescapedHtml=/[&<>"'`]/g,reHasEscapedHtml=RegExp(reEscapedHtml.source),reHasUnescapedHtml=RegExp(reUnescapedHtml.source);var reEscape=/<%-([\s\S]+?)%>/g,reEvaluate=/<%([\s\S]+?)%>/g,reInterpolate=/<%=([\s\S]+?)%>/g;var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g;var reRegExpChars=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,reHasRegExpChars=RegExp(reRegExpChars.source);var reComboMark=/[\u0300-\u036f\ufe20-\ufe23]/g;var reEscapeChar=/\\(\\)?/g;var reEsTemplate=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var reFlags=/\w*$/;var reHasHexPrefix=/^0[xX]/;var reIsHostCtor=/^\[object .+?Constructor\]$/;var reIsUint=/^\d+$/;var reLatin1=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g;var reNoMatch=/($^)/;var reUnescapedString=/['\n\r\u2028\u2029\\]/g;var reWords=(upper="[A-Z\\xc0-\\xd6\\xd8-\\xde]",lower="[a-z\\xdf-\\xf6\\xf8-\\xff]+",RegExp(upper+"+(?="+upper+lower+")|"+upper+"?"+lower+"|"+upper+"+|[0-9]+","g"));var upper,lower;var contextProps=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"];var templateCounter=-1;var typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=true;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=false;var cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[stringTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=true;cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[mapTag]=cloneableTags[setTag]=cloneableTags[weakMapTag]=false;var deburredLetters={"À":"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"};var htmlEscapes={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"};var htmlUnescapes={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"};var objectTypes={function:true,object:true};var regexpEscapes={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"};var stringEscapes={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var freeExports=objectTypes[typeof exports]&&exports&&!exports.nodeType&&exports;var freeModule=objectTypes[typeof module]&&module&&!module.nodeType&&module;var freeGlobal=freeExports&&freeModule&&"object"==typeof global&&global&&global.Object&&global;var freeSelf=objectTypes[typeof self]&&self&&self.Object&&self;var freeWindow=objectTypes[typeof window]&&window&&window.Object&&window;freeModule&&freeModule.exports;var root=freeGlobal||freeWindow!==(this&&this.window)&&freeWindow||freeSelf||this;function baseCompareAscending(value,other){if(value!==other){var valIsNull=null===value,valIsUndef=value===undefined,valIsReflexive=value===value;var othIsNull=null===other,othIsUndef=other===undefined,othIsReflexive=other===other;if(value>other&&!othIsNull||!valIsReflexive||valIsNull&&!othIsUndef&&othIsReflexive||valIsUndef&&othIsReflexive)return 1;if(value<other&&!valIsNull||!othIsReflexive||othIsNull&&!valIsUndef&&valIsReflexive||othIsUndef&&valIsReflexive)return-1}return 0}function baseFindIndex(array,predicate,fromRight){var length=array.length,index=fromRight?length:-1;while(fromRight?index--:++index<length)if(predicate(array[index],index,array))return index;return-1}function baseIndexOf(array,value,fromIndex){if(value!==value)return indexOfNaN(array,fromIndex);var index=fromIndex-1,length=array.length;while(++index<length)if(array[index]===value)return index;return-1}function baseIsFunction(value){return"function"==typeof value||false}function baseToString(value){return null==value?"":value+""}function charsLeftIndex(string,chars){var index=-1,length=string.length;while(++index<length&&chars.indexOf(string.charAt(index))>-1);return index}function charsRightIndex(string,chars){var index=string.length;while(index--&&chars.indexOf(string.charAt(index))>-1);return index}function compareAscending(object,other){return baseCompareAscending(object.criteria,other.criteria)||object.index-other.index}function compareMultiple(object,other,orders){var index=-1,objCriteria=object.criteria,othCriteria=other.criteria,length=objCriteria.length,ordersLength=orders.length;while(++index<length){var result=baseCompareAscending(objCriteria[index],othCriteria[index]);if(result){if(index>=ordersLength)return result;var order=orders[index];return result*("asc"===order||true===order?1:-1)}}return object.index-other.index}function deburrLetter(letter){return deburredLetters[letter]}function escapeHtmlChar(chr){return htmlEscapes[chr]}function escapeRegExpChar(chr,leadingChar,whitespaceChar){leadingChar?chr=regexpEscapes[chr]:whitespaceChar&&(chr=stringEscapes[chr]);return"\\"+chr}function escapeStringChar(chr){return"\\"+stringEscapes[chr]}function indexOfNaN(array,fromIndex,fromRight){var length=array.length,index=fromIndex+(fromRight?0:-1);while(fromRight?index--:++index<length){var other=array[index];if(other!==other)return index}return-1}function isObjectLike(value){return!!value&&"object"==typeof value}function isSpace(charCode){return charCode<=160&&charCode>=9&&charCode<=13||32==charCode||160==charCode||5760==charCode||6158==charCode||charCode>=8192&&(charCode<=8202||8232==charCode||8233==charCode||8239==charCode||8287==charCode||12288==charCode||65279==charCode)}function replaceHolders(array,placeholder){var index=-1,length=array.length,resIndex=-1,result=[];while(++index<length)if(array[index]===placeholder){array[index]=PLACEHOLDER;result[++resIndex]=index}return result}function safeGet(object,key){return"__proto__"==key?undefined:object[key]}function sortedUniq(array,iteratee){var seen,index=-1,length=array.length,resIndex=-1,result=[];while(++index<length){var value=array[index],computed=iteratee?iteratee(value,index,array):value;if(!index||seen!==computed){seen=computed;result[++resIndex]=value}}return result}function trimmedLeftIndex(string){var index=-1,length=string.length;while(++index<length&&isSpace(string.charCodeAt(index)));return index}function trimmedRightIndex(string){var index=string.length;while(index--&&isSpace(string.charCodeAt(index)));return index}function unescapeHtmlChar(chr){return htmlUnescapes[chr]}function runInContext(context){context=context?_.defaults(root.Object(),context,_.pick(root,contextProps)):root;var Array=context.Array,Date=context.Date,Error=context.Error,Function=context.Function,Math=context.Math,Number=context.Number,Object=context.Object,RegExp=context.RegExp,String=context.String,TypeError=context.TypeError;var arrayProto=Array.prototype,objectProto=Object.prototype,stringProto=String.prototype;var fnToString=Function.prototype.toString;var hasOwnProperty=objectProto.hasOwnProperty;var idCounter=0;var objToString=objectProto.toString;var oldDash=root._;var reIsNative=RegExp("^"+fnToString.call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ArrayBuffer=context.ArrayBuffer,clearTimeout=context.clearTimeout,parseFloat=context.parseFloat,pow=Math.pow,propertyIsEnumerable=objectProto.propertyIsEnumerable,Set=getNative(context,"Set"),setTimeout=context.setTimeout,splice=arrayProto.splice,Uint8Array=context.Uint8Array,WeakMap=getNative(context,"WeakMap");var defineProperty=function(){try{var func=getNative(Object,"defineProperty");func({},"",{});return func}catch(e){}}();var nativeCeil=Math.ceil,nativeCreate=getNative(Object,"create"),nativeFloor=Math.floor,nativeIsArray=getNative(Array,"isArray"),nativeIsFinite=context.isFinite,nativeKeys=getNative(Object,"keys"),nativeMax=Math.max,nativeMin=Math.min,nativeNow=getNative(Date,"now"),nativeParseInt=context.parseInt,nativeRandom=Math.random;var NEGATIVE_INFINITY=Number.NEGATIVE_INFINITY,POSITIVE_INFINITY=Number.POSITIVE_INFINITY;var MAX_ARRAY_LENGTH=4294967295,MAX_ARRAY_INDEX=MAX_ARRAY_LENGTH-1,HALF_MAX_ARRAY_LENGTH=MAX_ARRAY_LENGTH>>>1;var MAX_SAFE_INTEGER=9007199254740991;var metaMap=WeakMap&&new WeakMap;var realNames={};function lodash(value){if(isObjectLike(value)&&!isArray(value)&&!(value instanceof LazyWrapper)){if(value instanceof LodashWrapper)return value;if(hasOwnProperty.call(value,"__chain__")&&hasOwnProperty.call(value,"__wrapped__"))return wrapperClone(value)}return new LodashWrapper(value)}function baseLodash(){}function LodashWrapper(value,chainAll,actions){this.__wrapped__=value;this.__actions__=actions||[];this.__chain__=!!chainAll}lodash.support={};lodash.templateSettings={escape:reEscape,evaluate:reEvaluate,interpolate:reInterpolate,variable:"",imports:{_:lodash}};function LazyWrapper(value){this.__wrapped__=value;this.__actions__=[];this.__dir__=1;this.__filtered__=false;this.__iteratees__=[];this.__takeCount__=POSITIVE_INFINITY;this.__views__=[]}function lazyClone(){var result=new LazyWrapper(this.__wrapped__);result.__actions__=arrayCopy(this.__actions__);result.__dir__=this.__dir__;result.__filtered__=this.__filtered__;result.__iteratees__=arrayCopy(this.__iteratees__);result.__takeCount__=this.__takeCount__;result.__views__=arrayCopy(this.__views__);return result}function lazyReverse(){if(this.__filtered__){var result=new LazyWrapper(this);result.__dir__=-1;result.__filtered__=true}else{result=this.clone();result.__dir__*=-1}return result}function lazyValue(){var array=this.__wrapped__.value(),dir=this.__dir__,isArr=isArray(array),isRight=dir<0,arrLength=isArr?array.length:0,view=getView(0,arrLength,this.__views__),start=view.start,end=view.end,length=end-start,index=isRight?end:start-1,iteratees=this.__iteratees__,iterLength=iteratees.length,resIndex=0,takeCount=nativeMin(length,this.__takeCount__);if(!isArr||arrLength<LARGE_ARRAY_SIZE||arrLength==length&&takeCount==length)return baseWrapperValue(isRight&&isArr?array.reverse():array,this.__actions__);var result=[];outer:while(length--&&resIndex<takeCount){index+=dir;var iterIndex=-1,value=array[index];while(++iterIndex<iterLength){var data=iteratees[iterIndex],iteratee=data.iteratee,type=data.type,computed=iteratee(value);if(type==LAZY_MAP_FLAG)value=computed;else if(!computed){if(type==LAZY_FILTER_FLAG)continue outer;break outer}}result[resIndex++]=value}return result}function MapCache(){this.__data__={}}function mapDelete(key){return this.has(key)&&delete this.__data__[key]}function mapGet(key){return"__proto__"==key?undefined:this.__data__[key]}function mapHas(key){return"__proto__"!=key&&hasOwnProperty.call(this.__data__,key)}function mapSet(key,value){"__proto__"!=key&&(this.__data__[key]=value);return this}function SetCache(values){var length=values?values.length:0;this.data={hash:nativeCreate(null),set:new Set};while(length--)this.push(values[length])}function cacheIndexOf(cache,value){var data=cache.data,result="string"==typeof value||isObject(value)?data.set.has(value):data.hash[value];return result?0:-1}function cachePush(value){var data=this.data;"string"==typeof value||isObject(value)?data.set.add(value):data.hash[value]=true}function arrayConcat(array,other){var index=-1,length=array.length,othIndex=-1,othLength=other.length,result=Array(length+othLength);while(++index<length)result[index]=array[index];while(++othIndex<othLength)result[index++]=other[othIndex];return result}function arrayCopy(source,array){var index=-1,length=source.length;array||(array=Array(length));while(++index<length)array[index]=source[index];return array}function arrayEach(array,iteratee){var index=-1,length=array.length;while(++index<length)if(false===iteratee(array[index],index,array))break;return array}function arrayEachRight(array,iteratee){var length=array.length;while(length--)if(false===iteratee(array[length],length,array))break;return array}function arrayEvery(array,predicate){var index=-1,length=array.length;while(++index<length)if(!predicate(array[index],index,array))return false;return true}function arrayExtremum(array,iteratee,comparator,exValue){var index=-1,length=array.length,computed=exValue,result=computed;while(++index<length){var value=array[index],current=+iteratee(value);if(comparator(current,computed)){computed=current;result=value}}return result}function arrayFilter(array,predicate){var index=-1,length=array.length,resIndex=-1,result=[];while(++index<length){var value=array[index];predicate(value,index,array)&&(result[++resIndex]=value)}return result}function arrayMap(array,iteratee){var index=-1,length=array.length,result=Array(length);while(++index<length)result[index]=iteratee(array[index],index,array);return result}function arrayPush(array,values){var index=-1,length=values.length,offset=array.length;while(++index<length)array[offset+index]=values[index];return array}function arrayReduce(array,iteratee,accumulator,initFromArray){var index=-1,length=array.length;initFromArray&&length&&(accumulator=array[++index]);while(++index<length)accumulator=iteratee(accumulator,array[index],index,array);return accumulator}function arrayReduceRight(array,iteratee,accumulator,initFromArray){var length=array.length;initFromArray&&length&&(accumulator=array[--length]);while(length--)accumulator=iteratee(accumulator,array[length],length,array);return accumulator}function arraySome(array,predicate){var index=-1,length=array.length;while(++index<length)if(predicate(array[index],index,array))return true;return false}function arraySum(array,iteratee){var length=array.length,result=0;while(length--)result+=+iteratee(array[length])||0;return result}function assignDefaults(objectValue,sourceValue){return objectValue===undefined?sourceValue:objectValue}function assignOwnDefaults(objectValue,sourceValue,key,object){return objectValue!==undefined&&hasOwnProperty.call(object,key)?objectValue:sourceValue}function assignWith(object,source,customizer){var index=-1,props=keys(source),length=props.length;while(++index<length){var key=props[index],value=object[key],result=customizer(value,source[key],key,object,source);(result===result?result===value:value!==value)&&(value!==undefined||key in object)||(object[key]=result)}return object}function baseAssign(object,source){return null==source?object:baseCopy(source,keys(source),object)}function baseAt(collection,props){var index=-1,isNil=null==collection,isArr=!isNil&&isArrayLike(collection),length=isArr?collection.length:0,propsLength=props.length,result=Array(propsLength);while(++index<propsLength){var key=props[index];result[index]=isArr?isIndex(key,length)?collection[key]:undefined:isNil?undefined:collection[key]}return result}function baseAssignValue(object,key,value){"__proto__"==key&&defineProperty?defineProperty(object,key,{configurable:true,enumerable:true,value:value,writable:true}):object[key]=value}function baseCopy(source,props,object){object||(object={});var index=-1,length=props.length;while(++index<length){var key=props[index];object[key]=source[key]}return object}function baseCallback(func,thisArg,argCount){var type=typeof func;if("function"==type)return thisArg===undefined?func:bindCallback(func,thisArg,argCount);if(null==func)return identity;if("object"==type)return baseMatches(func);return thisArg===undefined?property(func):baseMatchesProperty(func,thisArg)}function baseClone(value,isDeep,customizer,key,object,stackA,stackB){var result;customizer&&(result=object?customizer(value,key,object):customizer(value));if(result!==undefined)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){result=initCloneArray(value);if(!isDeep)return arrayCopy(value,result)}else{var tag=objToString.call(value),isFunc=tag==funcTag;if(tag!=objectTag&&tag!=argsTag&&(!isFunc||object))return cloneableTags[tag]?initCloneByTag(value,tag,isDeep):object?value:{};result=initCloneObject(isFunc?{}:value);if(!isDeep)return baseAssign(result,value)}stackA||(stackA=[]);stackB||(stackB=[]);var length=stackA.length;while(length--)if(stackA[length]==value)return stackB[length];stackA.push(value);stackB.push(result);(isArr?arrayEach:baseForOwn)(value,function(subValue,key){result[key]=baseClone(subValue,isDeep,customizer,key,value,stackA,stackB)});return result}var baseCreate=function(){function object(){}return function(prototype){if(isObject(prototype)){object.prototype=prototype;var result=new object;object.prototype=undefined}return result||{}}}();function baseDelay(func,wait,args){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return setTimeout(function(){func.apply(undefined,args)},wait)}function baseDifference(array,values){var length=array?array.length:0,result=[];if(!length)return result;var index=-1,indexOf=getIndexOf(),isCommon=indexOf==baseIndexOf,cache=isCommon&&values.length>=LARGE_ARRAY_SIZE?createCache(values):null,valuesLength=values.length;if(cache){indexOf=cacheIndexOf;isCommon=false;values=cache}outer:while(++index<length){var value=array[index];if(isCommon&&value===value){var valuesIndex=valuesLength;while(valuesIndex--)if(values[valuesIndex]===value)continue outer;result.push(value)}else indexOf(values,value,0)<0&&result.push(value)}return result}var baseEach=createBaseEach(baseForOwn);var baseEachRight=createBaseEach(baseForOwnRight,true);function baseEvery(collection,predicate){var result=true;baseEach(collection,function(value,index,collection){result=!!predicate(value,index,collection);return result});return result}function baseExtremum(collection,iteratee,comparator,exValue){var computed=exValue,result=computed;baseEach(collection,function(value,index,collection){var current=+iteratee(value,index,collection);if(comparator(current,computed)||current===exValue&&current===result){computed=current;result=value}});return result}function baseFill(array,value,start,end){var length=array.length;start=null==start?0:+start||0;start<0&&(start=-start>length?0:length+start);end=end===undefined||end>length?length:+end||0;end<0&&(end+=length);length=start>end?0:end>>>0;start>>>=0;while(start<length)array[start++]=value;return array}function baseFilter(collection,predicate){var result=[];baseEach(collection,function(value,index,collection){predicate(value,index,collection)&&result.push(value)});return result}function baseFind(collection,predicate,eachFunc,retKey){var result;eachFunc(collection,function(value,key,collection){if(predicate(value,key,collection)){result=retKey?key:value;return false}});return result}function baseFlatten(array,isDeep,isStrict,result){result||(result=[]);var index=-1,length=array.length;while(++index<length){var value=array[index];isObjectLike(value)&&isArrayLike(value)&&(isStrict||isArray(value)||isArguments(value))?isDeep?baseFlatten(value,isDeep,isStrict,result):arrayPush(result,value):isStrict||(result[result.length]=value)}return result}var baseFor=createBaseFor();var baseForRight=createBaseFor(true);function baseForIn(object,iteratee){return baseFor(object,iteratee,keysIn)}function baseForOwn(object,iteratee){return baseFor(object,iteratee,keys)}function baseForOwnRight(object,iteratee){return baseForRight(object,iteratee,keys)}function baseFunctions(object,props){var index=-1,length=props.length,resIndex=-1,result=[];while(++index<length){var key=props[index];isFunction(object[key])&&(result[++resIndex]=key)}return result}function baseGet(object,path,pathKey){if(null==object)return;pathKey!==undefined&&pathKey in toObject(object)&&(path=[pathKey]);var index=0,length=path.length;while(null!=object&&index<length)object=object[path[index++]];return index&&index==length?object:undefined}function baseIsEqual(value,other,customizer,isLoose,stackA,stackB){if(value===other)return true;if(null==value||null==other||!isObject(value)&&!isObjectLike(other))return value!==value&&other!==other;return baseIsEqualDeep(value,other,baseIsEqual,customizer,isLoose,stackA,stackB)}function baseIsEqualDeep(object,other,equalFunc,customizer,isLoose,stackA,stackB){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=arrayTag,othTag=arrayTag;if(!objIsArr){objTag=objToString.call(object);objTag==argsTag?objTag=objectTag:objTag!=objectTag&&(objIsArr=isTypedArray(object))}if(!othIsArr){othTag=objToString.call(other);othTag==argsTag?othTag=objectTag:othTag!=objectTag&&(othIsArr=isTypedArray(other))}var objIsObj=objTag==objectTag,othIsObj=othTag==objectTag,isSameTag=objTag==othTag;if(isSameTag&&!(objIsArr||objIsObj))return equalByTag(object,other,objTag);if(!isLoose){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped)return equalFunc(objIsWrapped?object.value():object,othIsWrapped?other.value():other,customizer,isLoose,stackA,stackB)}if(!isSameTag)return false;stackA||(stackA=[]);stackB||(stackB=[]);var length=stackA.length;while(length--)if(stackA[length]==object)return stackB[length]==other;stackA.push(object);stackB.push(other);var result=(objIsArr?equalArrays:equalObjects)(object,other,equalFunc,customizer,isLoose,stackA,stackB);stackA.pop();stackB.pop();return result}function baseIsMatch(object,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(null==object)return!length;object=toObject(object);while(index--){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return false}while(++index<length){data=matchData[index];var key=data[0],objValue=object[key],srcValue=data[1];if(noCustomizer&&data[2]){if(objValue===undefined&&!(key in object))return false}else{var result=customizer?customizer(objValue,srcValue,key):undefined;if(!(result===undefined?baseIsEqual(srcValue,objValue,customizer,true):result))return false}}return true}function baseMap(collection,iteratee){var index=-1,result=isArrayLike(collection)?Array(collection.length):[];baseEach(collection,function(value,key,collection){result[++index]=iteratee(value,key,collection)});return result}function baseMatches(source){var matchData=getMatchData(source);if(1==matchData.length&&matchData[0][2]){var key=matchData[0][0],value=matchData[0][1];return function(object){if(null==object)return false;return object[key]===value&&(value!==undefined||key in toObject(object))}}return function(object){return baseIsMatch(object,matchData)}}function baseMatchesProperty(path,srcValue){var isArr=isArray(path),isCommon=isKey(path)&&isStrictComparable(srcValue),pathKey=path+"";path=toPath(path);return function(object){if(null==object)return false;var key=pathKey;object=toObject(object);if((isArr||!isCommon)&&!(key in object)){object=1==path.length?object:baseGet(object,baseSlice(path,0,-1));if(null==object)return false;key=last(path);object=toObject(object)}return object[key]===srcValue?srcValue!==undefined||key in object:baseIsEqual(srcValue,object[key],undefined,true)}}function baseMerge(object,source,customizer,stackA,stackB){if(!isObject(object))return object;var isSrcArr=isArrayLike(source)&&(isArray(source)||isTypedArray(source)),props=isSrcArr?undefined:keys(source);arrayEach(props||source,function(srcValue,key){if(props){key=srcValue;srcValue=safeGet(source,key)}if(isObjectLike(srcValue)){stackA||(stackA=[]);stackB||(stackB=[]);baseMergeDeep(object,source,key,baseMerge,customizer,stackA,stackB)}else{var value=safeGet(object,key),result=customizer?customizer(value,srcValue,key,object,source):undefined,isCommon=result===undefined;isCommon&&(result=srcValue);result===undefined&&(!isSrcArr||key in object)||!isCommon&&(result===result?result===value:value!==value)||baseAssignValue(object,key,result)}});return object}function baseMergeDeep(object,source,key,mergeFunc,customizer,stackA,stackB){var length=stackA.length,srcValue=safeGet(source,key);while(length--)if(stackA[length]==srcValue){baseAssignValue(object,key,stackB[length]);return}var value=safeGet(object,key),result=customizer?customizer(value,srcValue,key,object,source):undefined,isCommon=result===undefined;if(isCommon){result=srcValue;isArrayLike(srcValue)&&(isArray(srcValue)||isTypedArray(srcValue))?result=isArray(value)?value:isArrayLike(value)?arrayCopy(value):[]:isPlainObject(srcValue)||isArguments(srcValue)?result=isArguments(value)?toPlainObject(value):isPlainObject(value)?value:{}:isCommon=false}stackA.push(srcValue);stackB.push(result);isCommon?baseAssignValue(object,key,mergeFunc(result,srcValue,customizer,stackA,stackB)):(result===result?result!==value:value===value)&&baseAssignValue(object,key,result)}function baseProperty(key){return function(object){return null==object?undefined:object[key]}}function basePropertyDeep(path){var pathKey=path+"";path=toPath(path);return function(object){return baseGet(object,path,pathKey)}}function basePullAt(array,indexes){var length=array?indexes.length:0;while(length--){var index=indexes[length];if(index!=previous&&isIndex(index)){var previous=index;splice.call(array,index,1)}}return array}function baseRandom(min,max){return min+nativeFloor(nativeRandom()*(max-min+1))}function baseReduce(collection,iteratee,accumulator,initFromCollection,eachFunc){eachFunc(collection,function(value,index,collection){accumulator=initFromCollection?(initFromCollection=false,value):iteratee(accumulator,value,index,collection)});return accumulator}var baseSetData=metaMap?function(func,data){metaMap.set(func,data);return func}:identity;function baseSlice(array,start,end){var index=-1,length=array.length;start=null==start?0:+start||0;start<0&&(start=-start>length?0:length+start);end=end===undefined||end>length?length:+end||0;end<0&&(end+=length);length=start>end?0:end-start>>>0;start>>>=0;var result=Array(length);while(++index<length)result[index]=array[index+start];return result}function baseSome(collection,predicate){var result;baseEach(collection,function(value,index,collection){result=predicate(value,index,collection);return!result});return!!result}function baseSortBy(array,comparer){var length=array.length;array.sort(comparer);while(length--)array[length]=array[length].value;return array}function baseSortByOrder(collection,iteratees,orders){var callback=getCallback(),index=-1;iteratees=arrayMap(iteratees,function(iteratee){return callback(iteratee)});var result=baseMap(collection,function(value){var criteria=arrayMap(iteratees,function(iteratee){return iteratee(value)});return{criteria:criteria,index:++index,value:value}});return baseSortBy(result,function(object,other){return compareMultiple(object,other,orders)})}function baseSum(collection,iteratee){var result=0;baseEach(collection,function(value,index,collection){result+=+iteratee(value,index,collection)||0});return result}function baseUniq(array,iteratee){var index=-1,indexOf=getIndexOf(),length=array.length,isCommon=indexOf==baseIndexOf,isLarge=isCommon&&length>=LARGE_ARRAY_SIZE,seen=isLarge?createCache():null,result=[];if(seen){indexOf=cacheIndexOf;isCommon=false}else{isLarge=false;seen=iteratee?[]:result}outer:while(++index<length){var value=array[index],computed=iteratee?iteratee(value,index,array):value;if(isCommon&&value===value){var seenIndex=seen.length;while(seenIndex--)if(seen[seenIndex]===computed)continue outer;iteratee&&seen.push(computed);result.push(value)}else if(indexOf(seen,computed,0)<0){(iteratee||isLarge)&&seen.push(computed);result.push(value)}}return result}function baseValues(object,props){var index=-1,length=props.length,result=Array(length);while(++index<length)result[index]=object[props[index]];return result}function baseWhile(array,predicate,isDrop,fromRight){var length=array.length,index=fromRight?length:-1;while((fromRight?index--:++index<length)&&predicate(array[index],index,array));return isDrop?baseSlice(array,fromRight?0:index,fromRight?index+1:length):baseSlice(array,fromRight?index+1:0,fromRight?length:index)}function baseWrapperValue(value,actions){var result=value;result instanceof LazyWrapper&&(result=result.value());var index=-1,length=actions.length;while(++index<length){var action=actions[index];result=action.func.apply(action.thisArg,arrayPush([result],action.args))}return result}function binaryIndex(array,value,retHighest){var low=0,high=array?array.length:low;if("number"==typeof value&&value===value&&high<=HALF_MAX_ARRAY_LENGTH){while(low<high){var mid=low+high>>>1,computed=array[mid];(retHighest?computed<=value:computed<value)&&null!==computed?low=mid+1:high=mid}return high}return binaryIndexBy(array,value,identity,retHighest)}function binaryIndexBy(array,value,iteratee,retHighest){value=iteratee(value);var low=0,high=array?array.length:0,valIsNaN=value!==value,valIsNull=null===value,valIsUndef=value===undefined;while(low<high){var mid=nativeFloor((low+high)/2),computed=iteratee(array[mid]),isDef=computed!==undefined,isReflexive=computed===computed;if(valIsNaN)var setLow=isReflexive||retHighest;else setLow=valIsNull?isReflexive&&isDef&&(retHighest||null!=computed):valIsUndef?isReflexive&&(retHighest||isDef):null!=computed&&(retHighest?computed<=value:computed<value);setLow?low=mid+1:high=mid}return nativeMin(high,MAX_ARRAY_INDEX)}function bindCallback(func,thisArg,argCount){if("function"!=typeof func)return identity;if(thisArg===undefined)return func;switch(argCount){case 1:return function(value){return func.call(thisArg,value)};case 3:return function(value,index,collection){return func.call(thisArg,value,index,collection)};case 4:return function(accumulator,value,index,collection){return func.call(thisArg,accumulator,value,index,collection)};case 5:return function(value,other,key,object,source){return func.call(thisArg,value,other,key,object,source)}}return function(){return func.apply(thisArg,arguments)}}function bufferClone(buffer){var result=new ArrayBuffer(buffer.byteLength),view=new Uint8Array(result);view.set(new Uint8Array(buffer));return result}function composeArgs(args,partials,holders){var holdersLength=holders.length,argsIndex=-1,argsLength=nativeMax(args.length-holdersLength,0),leftIndex=-1,leftLength=partials.length,result=Array(leftLength+argsLength);while(++leftIndex<leftLength)result[leftIndex]=partials[leftIndex];while(++argsIndex<holdersLength)result[holders[argsIndex]]=args[argsIndex];while(argsLength--)result[leftIndex++]=args[argsIndex++];return result}function composeArgsRight(args,partials,holders){var holdersIndex=-1,holdersLength=holders.length,argsIndex=-1,argsLength=nativeMax(args.length-holdersLength,0),rightIndex=-1,rightLength=partials.length,result=Array(argsLength+rightLength);while(++argsIndex<argsLength)result[argsIndex]=args[argsIndex];var offset=argsIndex;while(++rightIndex<rightLength)result[offset+rightIndex]=partials[rightIndex];while(++holdersIndex<holdersLength)result[offset+holders[holdersIndex]]=args[argsIndex++];return result}function createAggregator(setter,initializer){return function(collection,iteratee,thisArg){var result=initializer?initializer():{};iteratee=getCallback(iteratee,thisArg,3);if(isArray(collection)){var index=-1,length=collection.length;while(++index<length){var value=collection[index];setter(result,value,iteratee(value,index,collection),collection)}}else baseEach(collection,function(value,key,collection){setter(result,value,iteratee(value,key,collection),collection)});return result}}function createAssigner(assigner){return restParam(function(object,sources){var index=-1,length=null==object?0:sources.length,customizer=length>2?sources[length-2]:undefined,guard=length>2?sources[2]:undefined,thisArg=length>1?sources[length-1]:undefined;if("function"==typeof customizer){customizer=bindCallback(customizer,thisArg,5);length-=2}else{customizer="function"==typeof thisArg?thisArg:undefined;length-=customizer?1:0}if(guard&&isIterateeCall(sources[0],sources[1],guard)){customizer=length<3?undefined:customizer;length=1}while(++index<length){var source=sources[index];source&&assigner(object,source,customizer)}return object})}function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){var length=collection?getLength(collection):0;if(!isLength(length))return eachFunc(collection,iteratee);var index=fromRight?length:-1,iterable=toObject(collection);while(fromRight?index--:++index<length)if(false===iteratee(iterable[index],index,iterable))break;return collection}}function createBaseFor(fromRight){return function(object,iteratee,keysFunc){var iterable=toObject(object),props=keysFunc(object),length=props.length,index=fromRight?length:-1;while(fromRight?index--:++index<length){var key=props[index];if(false===iteratee(iterable[key],key,iterable))break}return object}}function createBindWrapper(func,thisArg){var Ctor=createCtorWrapper(func);function wrapper(){var fn=this&&this!==root&&this instanceof wrapper?Ctor:func;return fn.apply(thisArg,arguments)}return wrapper}function createCache(values){return nativeCreate&&Set?new SetCache(values):null}function createCompounder(callback){return function(string){var index=-1,array=words(deburr(string)),length=array.length,result="";while(++index<length)result=callback(result,array[index],index);return result}}function createCtorWrapper(Ctor){return function(){var args=arguments;switch(args.length){case 0:return new Ctor;case 1:return new Ctor(args[0]);case 2:return new Ctor(args[0],args[1]);case 3:return new Ctor(args[0],args[1],args[2]);case 4:return new Ctor(args[0],args[1],args[2],args[3]);case 5:return new Ctor(args[0],args[1],args[2],args[3],args[4]);case 6:return new Ctor(args[0],args[1],args[2],args[3],args[4],args[5]);case 7:return new Ctor(args[0],args[1],args[2],args[3],args[4],args[5],args[6])}var thisBinding=baseCreate(Ctor.prototype),result=Ctor.apply(thisBinding,args);return isObject(result)?result:thisBinding}}function createCurry(flag){function curryFunc(func,arity,guard){guard&&isIterateeCall(func,arity,guard)&&(arity=undefined);var result=createWrapper(func,flag,undefined,undefined,undefined,undefined,undefined,arity);result.placeholder=curryFunc.placeholder;return result}return curryFunc}function createDefaults(assigner,customizer){return restParam(function(args){var object=args[0];if(null==object)return object;args.push(customizer);return assigner.apply(undefined,args)})}function createExtremum(comparator,exValue){return function(collection,iteratee,thisArg){thisArg&&isIterateeCall(collection,iteratee,thisArg)&&(iteratee=undefined);iteratee=getCallback(iteratee,thisArg,3);if(1==iteratee.length){collection=isArray(collection)?collection:toIterable(collection);var result=arrayExtremum(collection,iteratee,comparator,exValue);if(!(collection.length&&result===exValue))return result}return baseExtremum(collection,iteratee,comparator,exValue)}}function createFind(eachFunc,fromRight){return function(collection,predicate,thisArg){predicate=getCallback(predicate,thisArg,3);if(isArray(collection)){var index=baseFindIndex(collection,predicate,fromRight);return index>-1?collection[index]:undefined}return baseFind(collection,predicate,eachFunc)}}function createFindIndex(fromRight){return function(array,predicate,thisArg){if(!(array&&array.length))return-1;predicate=getCallback(predicate,thisArg,3);return baseFindIndex(array,predicate,fromRight)}}function createFindKey(objectFunc){return function(object,predicate,thisArg){predicate=getCallback(predicate,thisArg,3);return baseFind(object,predicate,objectFunc,true)}}function createFlow(fromRight){return function(){var wrapper,length=arguments.length,index=fromRight?length:-1,leftIndex=0,funcs=Array(length);while(fromRight?index--:++index<length){var func=funcs[leftIndex++]=arguments[index];if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);!wrapper&&LodashWrapper.prototype.thru&&"wrapper"==getFuncName(func)&&(wrapper=new LodashWrapper([],true))}index=wrapper?-1:length;while(++index<length){func=funcs[index];var funcName=getFuncName(func),data="wrapper"==funcName?getData(func):undefined;wrapper=data&&isLaziable(data[0])&&data[1]==(ARY_FLAG|CURRY_FLAG|PARTIAL_FLAG|REARG_FLAG)&&!data[4].length&&1==data[9]?wrapper[getFuncName(data[0])].apply(wrapper,data[3]):1==func.length&&isLaziable(func)?wrapper[funcName]():wrapper.thru(func)}return function(){var args=arguments,value=args[0];if(wrapper&&1==args.length&&isArray(value)&&value.length>=LARGE_ARRAY_SIZE)return wrapper.plant(value).value();var index=0,result=length?funcs[index].apply(this,args):value;while(++index<length)result=funcs[index].call(this,result);return result}}}function createForEach(arrayFunc,eachFunc){return function(collection,iteratee,thisArg){return"function"==typeof iteratee&&thisArg===undefined&&isArray(collection)?arrayFunc(collection,iteratee):eachFunc(collection,bindCallback(iteratee,thisArg,3))}}function createForIn(objectFunc){return function(object,iteratee,thisArg){"function"==typeof iteratee&&thisArg===undefined||(iteratee=bindCallback(iteratee,thisArg,3));return objectFunc(object,iteratee,keysIn)}}function createForOwn(objectFunc){return function(object,iteratee,thisArg){"function"==typeof iteratee&&thisArg===undefined||(iteratee=bindCallback(iteratee,thisArg,3));return objectFunc(object,iteratee)}}function createObjectMapper(isMapKeys){return function(object,iteratee,thisArg){var result={};iteratee=getCallback(iteratee,thisArg,3);baseForOwn(object,function(value,key,object){var mapped=iteratee(value,key,object);key=isMapKeys?mapped:key;value=isMapKeys?value:mapped;result[key]=value});return result}}function createPadDir(fromRight){return function(string,length,chars){string=baseToString(string);return(fromRight?string:"")+createPadding(string,length,chars)+(fromRight?"":string)}}function createPartial(flag){var partialFunc=restParam(function(func,partials){var holders=replaceHolders(partials,partialFunc.placeholder);return createWrapper(func,flag,undefined,partials,holders)});return partialFunc}function createReduce(arrayFunc,eachFunc){return function(collection,iteratee,accumulator,thisArg){var initFromArray=arguments.length<3;return"function"==typeof iteratee&&thisArg===undefined&&isArray(collection)?arrayFunc(collection,iteratee,accumulator,initFromArray):baseReduce(collection,getCallback(iteratee,thisArg,4),accumulator,initFromArray,eachFunc)}}function createHybridWrapper(func,bitmask,thisArg,partials,holders,partialsRight,holdersRight,argPos,ary,arity){var isAry=bitmask&ARY_FLAG,isBind=bitmask&BIND_FLAG,isBindKey=bitmask&BIND_KEY_FLAG,isCurry=bitmask&CURRY_FLAG,isCurryBound=bitmask&CURRY_BOUND_FLAG,isCurryRight=bitmask&CURRY_RIGHT_FLAG,Ctor=isBindKey?undefined:createCtorWrapper(func);function wrapper(){var length=arguments.length,index=length,args=Array(length);while(index--)args[index]=arguments[index];partials&&(args=composeArgs(args,partials,holders));partialsRight&&(args=composeArgsRight(args,partialsRight,holdersRight));if(isCurry||isCurryRight){var placeholder=wrapper.placeholder,argsHolders=replaceHolders(args,placeholder);length-=argsHolders.length;if(length<arity){var newArgPos=argPos?arrayCopy(argPos):undefined,newArity=nativeMax(arity-length,0),newsHolders=isCurry?argsHolders:undefined,newHoldersRight=isCurry?undefined:argsHolders,newPartials=isCurry?args:undefined,newPartialsRight=isCurry?undefined:args;bitmask|=isCurry?PARTIAL_FLAG:PARTIAL_RIGHT_FLAG;bitmask&=~(isCurry?PARTIAL_RIGHT_FLAG:PARTIAL_FLAG);isCurryBound||(bitmask&=~(BIND_FLAG|BIND_KEY_FLAG));var newData=[func,bitmask,thisArg,newPartials,newsHolders,newPartialsRight,newHoldersRight,newArgPos,ary,newArity],result=createHybridWrapper.apply(undefined,newData);isLaziable(func)&&setData(result,newData);result.placeholder=placeholder;return result}}var thisBinding=isBind?thisArg:this,fn=isBindKey?thisBinding[func]:func;argPos&&(args=reorder(args,argPos));isAry&&ary<args.length&&(args.length=ary);this&&this!==root&&this instanceof wrapper&&(fn=Ctor||createCtorWrapper(func));return fn.apply(thisBinding,args)}return wrapper}function createPadding(string,length,chars){var strLength=string.length;length=+length;if(strLength>=length||!nativeIsFinite(length))return"";var padLength=length-strLength;chars=null==chars?" ":chars+"";return repeat(chars,nativeCeil(padLength/chars.length)).slice(0,padLength)}function createPartialWrapper(func,bitmask,thisArg,partials){var isBind=bitmask&BIND_FLAG,Ctor=createCtorWrapper(func);function wrapper(){var argsIndex=-1,argsLength=arguments.length,leftIndex=-1,leftLength=partials.length,args=Array(leftLength+argsLength);while(++leftIndex<leftLength)args[leftIndex]=partials[leftIndex];while(argsLength--)args[leftIndex++]=arguments[++argsIndex];var fn=this&&this!==root&&this instanceof wrapper?Ctor:func;return fn.apply(isBind?thisArg:this,args)}return wrapper}function createRound(methodName){var func=Math[methodName];return function(number,precision){precision=precision===undefined?0:+precision||0;if(precision){precision=pow(10,precision);return func(number*precision)/precision}return func(number)}}function createSortedIndex(retHighest){return function(array,value,iteratee,thisArg){var callback=getCallback(iteratee);return null==iteratee&&callback===baseCallback?binaryIndex(array,value,retHighest):binaryIndexBy(array,value,callback(iteratee,thisArg,1),retHighest)}}function createWrapper(func,bitmask,thisArg,partials,holders,argPos,ary,arity){var isBindKey=bitmask&BIND_KEY_FLAG;if(!isBindKey&&"function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);var length=partials?partials.length:0;if(!length){bitmask&=~(PARTIAL_FLAG|PARTIAL_RIGHT_FLAG);partials=holders=undefined}length-=holders?holders.length:0;if(bitmask&PARTIAL_RIGHT_FLAG){var partialsRight=partials,holdersRight=holders;partials=holders=undefined}var data=isBindKey?undefined:getData(func),newData=[func,bitmask,thisArg,partials,holders,partialsRight,holdersRight,argPos,ary,arity];if(data){mergeData(newData,data);bitmask=newData[1];arity=newData[9]}newData[9]=null==arity?isBindKey?0:func.length:nativeMax(arity-length,0)||0;if(bitmask==BIND_FLAG)var result=createBindWrapper(newData[0],newData[2]);else result=bitmask!=PARTIAL_FLAG&&bitmask!=(BIND_FLAG|PARTIAL_FLAG)||newData[4].length?createHybridWrapper.apply(undefined,newData):createPartialWrapper.apply(undefined,newData);var setter=data?baseSetData:setData;return setter(result,newData)}function equalArrays(array,other,equalFunc,customizer,isLoose,stackA,stackB){var index=-1,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isLoose&&othLength>arrLength))return false;while(++index<arrLength){var arrValue=array[index],othValue=other[index],result=customizer?customizer(isLoose?othValue:arrValue,isLoose?arrValue:othValue,index):undefined;if(result!==undefined){if(result)continue;return false}if(isLoose){if(!arraySome(other,function(othValue){return arrValue===othValue||equalFunc(arrValue,othValue,customizer,isLoose,stackA,stackB)}))return false}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,customizer,isLoose,stackA,stackB)))return false}return true}function equalByTag(object,other,tag){switch(tag){case boolTag:case dateTag:return+object==+other;case errorTag:return object.name==other.name&&object.message==other.message;case numberTag:return object!=+object?other!=+other:object==+other;case regexpTag:case stringTag:return object==other+""}return false}function equalObjects(object,other,equalFunc,customizer,isLoose,stackA,stackB){var objProps=keys(object),objLength=objProps.length,othProps=keys(other),othLength=othProps.length;if(objLength!=othLength&&!isLoose)return false;var index=objLength;while(index--){var key=objProps[index];if(!(isLoose?key in other:hasOwnProperty.call(other,key)))return false}var skipCtor=isLoose;while(++index<objLength){key=objProps[index];var objValue=object[key],othValue=other[key],result=customizer?customizer(isLoose?othValue:objValue,isLoose?objValue:othValue,key):undefined;if(!(result===undefined?equalFunc(objValue,othValue,customizer,isLoose,stackA,stackB):result))return false;skipCtor||(skipCtor="constructor"==key)}if(!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;if(objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!("function"==typeof objCtor&&objCtor instanceof objCtor&&"function"==typeof othCtor&&othCtor instanceof othCtor))return false}return true}function getCallback(func,thisArg,argCount){var result=lodash.callback||callback;result=result===callback?baseCallback:result;return argCount?result(func,thisArg,argCount):result}var getData=metaMap?function(func){return metaMap.get(func)}:noop;function getFuncName(func){var result=func.name,array=realNames[result],length=array?array.length:0;while(length--){var data=array[length],otherFunc=data.func;if(null==otherFunc||otherFunc==func)return data.name}return result}function getIndexOf(collection,target,fromIndex){var result=lodash.indexOf||indexOf;result=result===indexOf?baseIndexOf:result;return collection?result(collection,target,fromIndex):result}var getLength=baseProperty("length");function getMatchData(object){var result=pairs(object),length=result.length;while(length--)result[length][2]=isStrictComparable(result[length][1]);return result}function getNative(object,key){var value=null==object?undefined:object[key];return isNative(value)?value:undefined}function getView(start,end,transforms){var index=-1,length=transforms.length;while(++index<length){var data=transforms[index],size=data.size;switch(data.type){case"drop":start+=size;break;case"dropRight":end-=size;break;case"take":end=nativeMin(end,start+size);break;case"takeRight":start=nativeMax(start,end-size)}}return{start:start,end:end}}function initCloneArray(array){var length=array.length,result=new array.constructor(length);if(length&&"string"==typeof array[0]&&hasOwnProperty.call(array,"index")){result.index=array.index;result.input=array.input}return result}function initCloneObject(object){var Ctor=object.constructor;"function"==typeof Ctor&&Ctor instanceof Ctor||(Ctor=Object);return new Ctor}function initCloneByTag(object,tag,isDeep){var Ctor=object.constructor;switch(tag){case arrayBufferTag:return bufferClone(object);case boolTag:case dateTag:return new Ctor(+object);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case uint8ClampedTag:case uint16Tag:case uint32Tag:var buffer=object.buffer;return new Ctor(isDeep?bufferClone(buffer):buffer,object.byteOffset,object.length);case numberTag:case stringTag:return new Ctor(object);case regexpTag:var result=new Ctor(object.source,reFlags.exec(object));result.lastIndex=object.lastIndex}return result}function invokePath(object,path,args){if(null!=object&&!isKey(path,object)){path=toPath(path);object=1==path.length?object:baseGet(object,baseSlice(path,0,-1));path=last(path)}var func=null==object?object:object[path];return null==func?undefined:func.apply(object,args)}function isArrayLike(value){return null!=value&&isLength(getLength(value))}function isIndex(value,length){value="number"==typeof value||reIsUint.test(value)?+value:-1;length=null==length?MAX_SAFE_INTEGER:length;return value>-1&&value%1==0&&value<length}function isIterateeCall(value,index,object){if(!isObject(object))return false;var type=typeof index;if("number"==type?isArrayLike(object)&&isIndex(index,object.length):"string"==type&&index in object){var other=object[index];return value===value?value===other:other!==other}return false}function isKey(value,object){var type=typeof value;if("string"==type&&reIsPlainProp.test(value)||"number"==type)return true;if(isArray(value))return false;var result=!reIsDeepProp.test(value);return result||null!=object&&value in toObject(object)}function isLaziable(func){var funcName=getFuncName(func);if(!(funcName in LazyWrapper.prototype))return false;var other=lodash[funcName];if(func===other)return true;var data=getData(other);return!!data&&func===data[0]}function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isStrictComparable(value){return value===value&&!isObject(value)}function mergeData(data,source){var bitmask=data[1],srcBitmask=source[1],newBitmask=bitmask|srcBitmask,isCommon=newBitmask<ARY_FLAG;var isCombo=srcBitmask==ARY_FLAG&&bitmask==CURRY_FLAG||srcBitmask==ARY_FLAG&&bitmask==REARG_FLAG&&data[7].length<=source[8]||srcBitmask==(ARY_FLAG|REARG_FLAG)&&bitmask==CURRY_FLAG;if(!(isCommon||isCombo))return data;if(srcBitmask&BIND_FLAG){data[2]=source[2];newBitmask|=bitmask&BIND_FLAG?0:CURRY_BOUND_FLAG}var value=source[3];if(value){var partials=data[3];data[3]=partials?composeArgs(partials,value,source[4]):arrayCopy(value);data[4]=partials?replaceHolders(data[3],PLACEHOLDER):arrayCopy(source[4])}value=source[5];if(value){partials=data[5];data[5]=partials?composeArgsRight(partials,value,source[6]):arrayCopy(value);data[6]=partials?replaceHolders(data[5],PLACEHOLDER):arrayCopy(source[6])}value=source[7];value&&(data[7]=arrayCopy(value));srcBitmask&ARY_FLAG&&(data[8]=null==data[8]?source[8]:nativeMin(data[8],source[8]));null==data[9]&&(data[9]=source[9]);data[0]=source[0];data[1]=newBitmask;return data}function mergeDefaults(objectValue,sourceValue){return objectValue===undefined?sourceValue:merge(objectValue,sourceValue,mergeDefaults)}function pickByArray(object,props){object=toObject(object);var index=-1,length=props.length,result={};while(++index<length){var key=props[index];key in object&&(result[key]=object[key])}return result}function pickByCallback(object,predicate){var result={};baseForIn(object,function(value,key,object){predicate(value,key,object)&&(result[key]=value)});return result}function reorder(array,indexes){var arrLength=array.length,length=nativeMin(indexes.length,arrLength),oldArray=arrayCopy(array);while(length--){var index=indexes[length];array[length]=isIndex(index,arrLength)?oldArray[index]:undefined}return array}var setData=(count=0,lastCalled=0,function(key,value){var stamp=now(),remaining=HOT_SPAN-(stamp-lastCalled);lastCalled=stamp;if(remaining>0){if(++count>=HOT_COUNT)return key}else count=0;return baseSetData(key,value)});var count,lastCalled;function shimKeys(object){var props=keysIn(object),propsLength=props.length,length=propsLength&&object.length;var allowIndexes=!!length&&isLength(length)&&(isArray(object)||isArguments(object));var index=-1,result=[];while(++index<propsLength){var key=props[index];(allowIndexes&&isIndex(key,length)||hasOwnProperty.call(object,key))&&result.push(key)}return result}function toIterable(value){if(null==value)return[];if(!isArrayLike(value))return values(value);return isObject(value)?value:Object(value)}function toObject(value){return isObject(value)?value:Object(value)}function toPath(value){if(isArray(value))return value;var result=[];baseToString(value).replace(rePropName,function(match,number,quote,string){result.push(quote?string.replace(reEscapeChar,"$1"):number||match)});return result}function wrapperClone(wrapper){return wrapper instanceof LazyWrapper?wrapper.clone():new LodashWrapper(wrapper.__wrapped__,wrapper.__chain__,arrayCopy(wrapper.__actions__))}function chunk(array,size,guard){size=(guard?isIterateeCall(array,size,guard):null==size)?1:nativeMax(nativeFloor(size)||1,1);var index=0,length=array?array.length:0,resIndex=-1,result=Array(nativeCeil(length/size));while(index<length)result[++resIndex]=baseSlice(array,index,index+=size);return result}function compact(array){var index=-1,length=array?array.length:0,resIndex=-1,result=[];while(++index<length){var value=array[index];value&&(result[++resIndex]=value)}return result}var difference=restParam(function(array,values){return isObjectLike(array)&&isArrayLike(array)?baseDifference(array,baseFlatten(values,false,true)):[]});function drop(array,n,guard){var length=array?array.length:0;if(!length)return[];(guard?isIterateeCall(array,n,guard):null==n)&&(n=1);return baseSlice(array,n<0?0:n)}function dropRight(array,n,guard){var length=array?array.length:0;if(!length)return[];(guard?isIterateeCall(array,n,guard):null==n)&&(n=1);n=length-(+n||0);return baseSlice(array,0,n<0?0:n)}function dropRightWhile(array,predicate,thisArg){return array&&array.length?baseWhile(array,getCallback(predicate,thisArg,3),true,true):[]}function dropWhile(array,predicate,thisArg){return array&&array.length?baseWhile(array,getCallback(predicate,thisArg,3),true):[]}function fill(array,value,start,end){var length=array?array.length:0;if(!length)return[];if(start&&"number"!=typeof start&&isIterateeCall(array,value,start)){start=0;end=length}return baseFill(array,value,start,end)}var findIndex=createFindIndex();var findLastIndex=createFindIndex(true);function first(array){return array?array[0]:undefined}function flatten(array,isDeep,guard){var length=array?array.length:0;guard&&isIterateeCall(array,isDeep,guard)&&(isDeep=false);return length?baseFlatten(array,isDeep):[]}function flattenDeep(array){var length=array?array.length:0;return length?baseFlatten(array,true):[]}function indexOf(array,value,fromIndex){var length=array?array.length:0;if(!length)return-1;if("number"==typeof fromIndex)fromIndex=fromIndex<0?nativeMax(length+fromIndex,0):fromIndex;else if(fromIndex){var index=binaryIndex(array,value);if(index<length&&(value===value?value===array[index]:array[index]!==array[index]))return index;return-1}return baseIndexOf(array,value,fromIndex||0)}function initial(array){return dropRight(array,1)}var intersection=restParam(function(arrays){var othLength=arrays.length,othIndex=othLength,caches=Array(length),indexOf=getIndexOf(),isCommon=indexOf==baseIndexOf,result=[];while(othIndex--){var value=arrays[othIndex]=isArrayLike(value=arrays[othIndex])?value:[];caches[othIndex]=isCommon&&value.length>=120?createCache(othIndex&&value):null}var array=arrays[0],index=-1,length=array?array.length:0,seen=caches[0];outer:while(++index<length){value=array[index];if((seen?cacheIndexOf(seen,value):indexOf(result,value,0))<0){othIndex=othLength;while(--othIndex){var cache=caches[othIndex];if((cache?cacheIndexOf(cache,value):indexOf(arrays[othIndex],value,0))<0)continue outer}seen&&seen.push(value);result.push(value)}}return result});function last(array){var length=array?array.length:0;return length?array[length-1]:undefined}function lastIndexOf(array,value,fromIndex){var length=array?array.length:0;if(!length)return-1;var index=length;if("number"==typeof fromIndex)index=(fromIndex<0?nativeMax(length+fromIndex,0):nativeMin(fromIndex||0,length-1))+1;else if(fromIndex){index=binaryIndex(array,value,true)-1;var other=array[index];if(value===value?value===other:other!==other)return index;return-1}if(value!==value)return indexOfNaN(array,index,true);while(index--)if(array[index]===value)return index;return-1}function pull(){var args=arguments,array=args[0];if(!(array&&array.length))return array;var index=0,indexOf=getIndexOf(),length=args.length;while(++index<length){var fromIndex=0,value=args[index];while((fromIndex=indexOf(array,value,fromIndex))>-1)splice.call(array,fromIndex,1)}return array}var pullAt=restParam(function(array,indexes){indexes=baseFlatten(indexes);var result=baseAt(array,indexes);basePullAt(array,indexes.sort(baseCompareAscending));return result});function remove(array,predicate,thisArg){var result=[];if(!(array&&array.length))return result;var index=-1,indexes=[],length=array.length;predicate=getCallback(predicate,thisArg,3);while(++index<length){var value=array[index];if(predicate(value,index,array)){result.push(value);indexes.push(index)}}basePullAt(array,indexes);return result}function rest(array){return drop(array,1)}function slice(array,start,end){var length=array?array.length:0;if(!length)return[];if(end&&"number"!=typeof end&&isIterateeCall(array,start,end)){start=0;end=length}return baseSlice(array,start,end)}var sortedIndex=createSortedIndex();var sortedLastIndex=createSortedIndex(true);function take(array,n,guard){var length=array?array.length:0;if(!length)return[];(guard?isIterateeCall(array,n,guard):null==n)&&(n=1);return baseSlice(array,0,n<0?0:n)}function takeRight(array,n,guard){var length=array?array.length:0;if(!length)return[];(guard?isIterateeCall(array,n,guard):null==n)&&(n=1);n=length-(+n||0);return baseSlice(array,n<0?0:n)}function takeRightWhile(array,predicate,thisArg){return array&&array.length?baseWhile(array,getCallback(predicate,thisArg,3),false,true):[]}function takeWhile(array,predicate,thisArg){return array&&array.length?baseWhile(array,getCallback(predicate,thisArg,3)):[]}var union=restParam(function(arrays){return baseUniq(baseFlatten(arrays,false,true))});function uniq(array,isSorted,iteratee,thisArg){var length=array?array.length:0;if(!length)return[];if(null!=isSorted&&"boolean"!=typeof isSorted){thisArg=iteratee;iteratee=isIterateeCall(array,isSorted,thisArg)?undefined:isSorted;isSorted=false}var callback=getCallback();null==iteratee&&callback===baseCallback||(iteratee=callback(iteratee,thisArg,3));return isSorted&&getIndexOf()==baseIndexOf?sortedUniq(array,iteratee):baseUniq(array,iteratee)}function unzip(array){if(!(array&&array.length))return[];var index=-1,length=0;array=arrayFilter(array,function(group){if(isArrayLike(group)){length=nativeMax(group.length,length);return true}});var result=Array(length);while(++index<length)result[index]=arrayMap(array,baseProperty(index));return result}function unzipWith(array,iteratee,thisArg){var length=array?array.length:0;if(!length)return[];var result=unzip(array);if(null==iteratee)return result;iteratee=bindCallback(iteratee,thisArg,4);return arrayMap(result,function(group){return arrayReduce(group,iteratee,undefined,true)})}var without=restParam(function(array,values){return isArrayLike(array)?baseDifference(array,values):[]});function xor(){var index=-1,length=arguments.length;while(++index<length){var array=arguments[index];if(isArrayLike(array))var result=result?arrayPush(baseDifference(result,array),baseDifference(array,result)):array}return result?baseUniq(result):[]}var zip=restParam(unzip);function zipObject(props,values){var index=-1,length=props?props.length:0,result={};!length||values||isArray(props[0])||(values=[]);while(++index<length){var key=props[index];values?result[key]=values[index]:key&&(result[key[0]]=key[1])}return result}var zipWith=restParam(function(arrays){var length=arrays.length,iteratee=length>2?arrays[length-2]:undefined,thisArg=length>1?arrays[length-1]:undefined;if(length>2&&"function"==typeof iteratee)length-=2;else{iteratee=length>1&&"function"==typeof thisArg?(--length,thisArg):undefined;thisArg=undefined}arrays.length=length;return unzipWith(arrays,iteratee,thisArg)});function chain(value){var result=lodash(value);result.__chain__=true;return result}function tap(value,interceptor,thisArg){interceptor.call(thisArg,value);return value}function thru(value,interceptor,thisArg){return interceptor.call(thisArg,value)}function wrapperChain(){return chain(this)}function wrapperCommit(){return new LodashWrapper(this.value(),this.__chain__)}var wrapperConcat=restParam(function(values){values=baseFlatten(values);return this.thru(function(array){return arrayConcat(isArray(array)?array:[toObject(array)],values)})});function wrapperPlant(value){var result,parent=this;while(parent instanceof baseLodash){var clone=wrapperClone(parent);result?previous.__wrapped__=clone:result=clone;var previous=clone;parent=parent.__wrapped__}previous.__wrapped__=value;return result}function wrapperReverse(){var value=this.__wrapped__;var interceptor=function(value){return wrapped&&wrapped.__dir__<0?value:value.reverse()};if(value instanceof LazyWrapper){var wrapped=value;this.__actions__.length&&(wrapped=new LazyWrapper(this));wrapped=wrapped.reverse();wrapped.__actions__.push({func:thru,args:[interceptor],thisArg:undefined});return new LodashWrapper(wrapped,this.__chain__)}return this.thru(interceptor)}function wrapperToString(){return this.value()+""}function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)}var at=restParam(function(collection,props){return baseAt(collection,baseFlatten(props))});var countBy=createAggregator(function(result,value,key){hasOwnProperty.call(result,key)?++result[key]:result[key]=1});function every(collection,predicate,thisArg){var func=isArray(collection)?arrayEvery:baseEvery;thisArg&&isIterateeCall(collection,predicate,thisArg)&&(predicate=undefined);"function"==typeof predicate&&thisArg===undefined||(predicate=getCallback(predicate,thisArg,3));return func(collection,predicate)}function filter(collection,predicate,thisArg){var func=isArray(collection)?arrayFilter:baseFilter;predicate=getCallback(predicate,thisArg,3);return func(collection,predicate)}var find=createFind(baseEach);var findLast=createFind(baseEachRight,true);function findWhere(collection,source){return find(collection,baseMatches(source))}var forEach=createForEach(arrayEach,baseEach);var forEachRight=createForEach(arrayEachRight,baseEachRight);var groupBy=createAggregator(function(result,value,key){hasOwnProperty.call(result,key)?result[key].push(value):result[key]=[value]});function includes(collection,target,fromIndex,guard){var length=collection?getLength(collection):0;if(!isLength(length)){collection=values(collection);length=collection.length}fromIndex="number"!=typeof fromIndex||guard&&isIterateeCall(target,fromIndex,guard)?0:fromIndex<0?nativeMax(length+fromIndex,0):fromIndex||0;return"string"==typeof collection||!isArray(collection)&&isString(collection)?fromIndex<=length&&collection.indexOf(target,fromIndex)>-1:!!length&&getIndexOf(collection,target,fromIndex)>-1}var indexBy=createAggregator(function(result,value,key){result[key]=value});var invoke=restParam(function(collection,path,args){var index=-1,isFunc="function"==typeof path,isProp=isKey(path),result=isArrayLike(collection)?Array(collection.length):[];baseEach(collection,function(value){var func=isFunc?path:isProp&&null!=value?value[path]:undefined;result[++index]=func?func.apply(value,args):invokePath(value,path,args)});return result});function map(collection,iteratee,thisArg){var func=isArray(collection)?arrayMap:baseMap;iteratee=getCallback(iteratee,thisArg,3);return func(collection,iteratee)}var partition=createAggregator(function(result,value,key){result[key?0:1].push(value)},function(){return[[],[]]});function pluck(collection,path){return map(collection,property(path))}var reduce=createReduce(arrayReduce,baseEach);var reduceRight=createReduce(arrayReduceRight,baseEachRight);function reject(collection,predicate,thisArg){var func=isArray(collection)?arrayFilter:baseFilter;predicate=getCallback(predicate,thisArg,3);return func(collection,function(value,index,collection){return!predicate(value,index,collection)})}function sample(collection,n,guard){if(guard?isIterateeCall(collection,n,guard):null==n){collection=toIterable(collection);var length=collection.length;return length>0?collection[baseRandom(0,length-1)]:undefined}var index=-1,result=toArray(collection),lastIndex=(length=result.length,length-1);n=nativeMin(n<0?0:+n||0,length);while(++index<n){var rand=baseRandom(index,lastIndex),value=result[rand];result[rand]=result[index];result[index]=value}result.length=n;return result}function shuffle(collection){return sample(collection,POSITIVE_INFINITY)}function size(collection){var length=collection?getLength(collection):0;return isLength(length)?length:keys(collection).length}function some(collection,predicate,thisArg){var func=isArray(collection)?arraySome:baseSome;thisArg&&isIterateeCall(collection,predicate,thisArg)&&(predicate=undefined);"function"==typeof predicate&&thisArg===undefined||(predicate=getCallback(predicate,thisArg,3));return func(collection,predicate)}function sortBy(collection,iteratee,thisArg){if(null==collection)return[];thisArg&&isIterateeCall(collection,iteratee,thisArg)&&(iteratee=undefined);var index=-1;iteratee=getCallback(iteratee,thisArg,3);var result=baseMap(collection,function(value,key,collection){return{criteria:iteratee(value,key,collection),index:++index,value:value}});return baseSortBy(result,compareAscending)}var sortByAll=restParam(function(collection,iteratees){if(null==collection)return[];var guard=iteratees[2];guard&&isIterateeCall(iteratees[0],iteratees[1],guard)&&(iteratees.length=1);return baseSortByOrder(collection,baseFlatten(iteratees),[])});function sortByOrder(collection,iteratees,orders,guard){if(null==collection)return[];guard&&isIterateeCall(iteratees,orders,guard)&&(orders=undefined);isArray(iteratees)||(iteratees=null==iteratees?[]:[iteratees]);isArray(orders)||(orders=null==orders?[]:[orders]);return baseSortByOrder(collection,iteratees,orders)}function where(collection,source){return filter(collection,baseMatches(source))}var now=nativeNow||function(){return(new Date).getTime()};function after(n,func){if("function"!=typeof func){if("function"!=typeof n)throw new TypeError(FUNC_ERROR_TEXT);var temp=n;n=func;func=temp}n=nativeIsFinite(n=+n)?n:0;return function(){if(--n<1)return func.apply(this,arguments)}}function ary(func,n,guard){guard&&isIterateeCall(func,n,guard)&&(n=undefined);n=func&&null==n?func.length:nativeMax(+n||0,0);return createWrapper(func,ARY_FLAG,undefined,undefined,undefined,undefined,n)}function before(n,func){var result;if("function"!=typeof func){if("function"!=typeof n)throw new TypeError(FUNC_ERROR_TEXT);var temp=n;n=func;func=temp}return function(){--n>0&&(result=func.apply(this,arguments));n<=1&&(func=undefined);return result}}var bind=restParam(function(func,thisArg,partials){var bitmask=BIND_FLAG;if(partials.length){var holders=replaceHolders(partials,bind.placeholder);bitmask|=PARTIAL_FLAG}return createWrapper(func,bitmask,thisArg,partials,holders)});var bindAll=restParam(function(object,methodNames){methodNames=methodNames.length?baseFlatten(methodNames):functions(object);var index=-1,length=methodNames.length;while(++index<length){var key=methodNames[index];object[key]=createWrapper(object[key],BIND_FLAG,object)}return object});var bindKey=restParam(function(object,key,partials){var bitmask=BIND_FLAG|BIND_KEY_FLAG;if(partials.length){var holders=replaceHolders(partials,bindKey.placeholder);bitmask|=PARTIAL_FLAG}return createWrapper(key,bitmask,object,partials,holders)});var curry=createCurry(CURRY_FLAG);var curryRight=createCurry(CURRY_RIGHT_FLAG);function debounce(func,wait,options){var args,maxTimeoutId,result,stamp,thisArg,timeoutId,trailingCall,lastCalled=0,maxWait=false,trailing=true;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);wait=wait<0?0:+wait||0;if(true===options){var leading=true;trailing=false}else if(isObject(options)){leading=!!options.leading;maxWait="maxWait"in options&&nativeMax(+options.maxWait||0,wait);trailing="trailing"in options?!!options.trailing:trailing}function cancel(){timeoutId&&clearTimeout(timeoutId);maxTimeoutId&&clearTimeout(maxTimeoutId);lastCalled=0;maxTimeoutId=timeoutId=trailingCall=undefined}function complete(isCalled,id){id&&clearTimeout(id);maxTimeoutId=timeoutId=trailingCall=undefined;if(isCalled){lastCalled=now();result=func.apply(thisArg,args);timeoutId||maxTimeoutId||(args=thisArg=undefined)}}function delayed(){var remaining=wait-(now()-stamp);remaining<=0||remaining>wait?complete(trailingCall,maxTimeoutId):timeoutId=setTimeout(delayed,remaining)}function maxDelayed(){complete(trailing,timeoutId)}function debounced(){args=arguments;stamp=now();thisArg=this;trailingCall=trailing&&(timeoutId||!leading);if(false===maxWait)var leadingCall=leading&&!timeoutId;else{maxTimeoutId||leading||(lastCalled=stamp);var remaining=maxWait-(stamp-lastCalled),isCalled=remaining<=0||remaining>maxWait;if(isCalled){maxTimeoutId&&(maxTimeoutId=clearTimeout(maxTimeoutId));lastCalled=stamp;result=func.apply(thisArg,args)}else maxTimeoutId||(maxTimeoutId=setTimeout(maxDelayed,remaining))}isCalled&&timeoutId?timeoutId=clearTimeout(timeoutId):timeoutId||wait===maxWait||(timeoutId=setTimeout(delayed,wait));if(leadingCall){isCalled=true;result=func.apply(thisArg,args)}!isCalled||timeoutId||maxTimeoutId||(args=thisArg=undefined);return result}debounced.cancel=cancel;return debounced}var defer=restParam(function(func,args){return baseDelay(func,1,args)});var delay=restParam(function(func,wait,args){return baseDelay(func,wait,args)});var flow=createFlow();var flowRight=createFlow(true);function memoize(func,resolver){if("function"!=typeof func||resolver&&"function"!=typeof resolver)throw new TypeError(FUNC_ERROR_TEXT);var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);memoized.cache=cache.set(key,result);return result};memoized.cache=new memoize.Cache;return memoized}var modArgs=restParam(function(func,transforms){transforms=baseFlatten(transforms);if("function"!=typeof func||!arrayEvery(transforms,baseIsFunction))throw new TypeError(FUNC_ERROR_TEXT);var length=transforms.length;return restParam(function(args){var index=nativeMin(args.length,length);while(index--)args[index]=transforms[index](args[index]);return func.apply(this,args)})});function negate(predicate){if("function"!=typeof predicate)throw new TypeError(FUNC_ERROR_TEXT);return function(){return!predicate.apply(this,arguments)}}function once(func){return before(2,func)}var partial=createPartial(PARTIAL_FLAG);var partialRight=createPartial(PARTIAL_RIGHT_FLAG);var rearg=restParam(function(func,indexes){return createWrapper(func,REARG_FLAG,undefined,undefined,undefined,baseFlatten(indexes))});function restParam(func,start){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);start=nativeMax(start===undefined?func.length-1:+start||0,0);return function(){var args=arguments,index=-1,length=nativeMax(args.length-start,0),rest=Array(length);while(++index<length)rest[index]=args[start+index];switch(start){case 0:return func.call(this,rest);case 1:return func.call(this,args[0],rest);case 2:return func.call(this,args[0],args[1],rest)}var otherArgs=Array(start+1);index=-1;while(++index<start)otherArgs[index]=args[index];otherArgs[start]=rest;return func.apply(this,otherArgs)}}function spread(func){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return function(array){return func.apply(this,array)}}function throttle(func,wait,options){var leading=true,trailing=true;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);if(false===options)leading=false;else if(isObject(options)){leading="leading"in options?!!options.leading:leading;trailing="trailing"in options?!!options.trailing:trailing}return debounce(func,wait,{leading:leading,maxWait:+wait,trailing:trailing})}function wrap(value,wrapper){wrapper=null==wrapper?identity:wrapper;return createWrapper(wrapper,PARTIAL_FLAG,undefined,[value],[])}function clone(value,isDeep,customizer,thisArg){if(isDeep&&"boolean"!=typeof isDeep&&isIterateeCall(value,isDeep,customizer))isDeep=false;else if("function"==typeof isDeep){thisArg=customizer;customizer=isDeep;isDeep=false}return"function"==typeof customizer?baseClone(value,isDeep,bindCallback(customizer,thisArg,1)):baseClone(value,isDeep)}function cloneDeep(value,customizer,thisArg){return"function"==typeof customizer?baseClone(value,true,bindCallback(customizer,thisArg,1)):baseClone(value,true)}function gt(value,other){return value>other}function gte(value,other){return value>=other}function isArguments(value){return isObjectLike(value)&&isArrayLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")}var isArray=nativeIsArray||function(value){return isObjectLike(value)&&isLength(value.length)&&objToString.call(value)==arrayTag};function isBoolean(value){return true===value||false===value||isObjectLike(value)&&objToString.call(value)==boolTag}function isDate(value){return isObjectLike(value)&&objToString.call(value)==dateTag}function isElement(value){return!!value&&1===value.nodeType&&isObjectLike(value)&&!isPlainObject(value)}function isEmpty(value){if(null==value)return true;if(isArrayLike(value)&&(isArray(value)||isString(value)||isArguments(value)||isObjectLike(value)&&isFunction(value.splice)))return!value.length;return!keys(value).length}function isEqual(value,other,customizer,thisArg){customizer="function"==typeof customizer?bindCallback(customizer,thisArg,3):undefined;var result=customizer?customizer(value,other):undefined;return result===undefined?baseIsEqual(value,other,customizer):!!result}function isError(value){return isObjectLike(value)&&"string"==typeof value.message&&objToString.call(value)==errorTag}function isFinite(value){return"number"==typeof value&&nativeIsFinite(value)}function isFunction(value){return isObject(value)&&objToString.call(value)==funcTag}function isObject(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}function isMatch(object,source,customizer,thisArg){customizer="function"==typeof customizer?bindCallback(customizer,thisArg,3):undefined;return baseIsMatch(object,getMatchData(source),customizer)}function isNaN(value){return isNumber(value)&&value!=+value}function isNative(value){if(null==value)return false;if(isFunction(value))return reIsNative.test(fnToString.call(value));return isObjectLike(value)&&reIsHostCtor.test(value)}function isNull(value){return null===value}function isNumber(value){return"number"==typeof value||isObjectLike(value)&&objToString.call(value)==numberTag}function isPlainObject(value){var Ctor;if(!(isObjectLike(value)&&objToString.call(value)==objectTag&&!isArguments(value))||!hasOwnProperty.call(value,"constructor")&&(Ctor=value.constructor,"function"==typeof Ctor&&!(Ctor instanceof Ctor)))return false;var result;baseForIn(value,function(subValue,key){result=key});return result===undefined||hasOwnProperty.call(value,result)}function isRegExp(value){return isObject(value)&&objToString.call(value)==regexpTag}function isString(value){return"string"==typeof value||isObjectLike(value)&&objToString.call(value)==stringTag}function isTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[objToString.call(value)]}function isUndefined(value){return value===undefined}function lt(value,other){return value<other}function lte(value,other){return value<=other}function toArray(value){var length=value?getLength(value):0;if(!isLength(length))return values(value);if(!length)return[];return arrayCopy(value)}function toPlainObject(value){return baseCopy(value,keysIn(value))}var merge=createAssigner(baseMerge);var assign=createAssigner(function(object,source,customizer){return customizer?assignWith(object,source,customizer):baseAssign(object,source)});function create(prototype,properties,guard){var result=baseCreate(prototype);guard&&isIterateeCall(prototype,properties,guard)&&(properties=undefined);return properties?baseAssign(result,properties):result}var defaults=createDefaults(assign,assignDefaults);var defaultsDeep=createDefaults(merge,mergeDefaults);var findKey=createFindKey(baseForOwn);var findLastKey=createFindKey(baseForOwnRight);var forIn=createForIn(baseFor);var forInRight=createForIn(baseForRight);var forOwn=createForOwn(baseForOwn);var forOwnRight=createForOwn(baseForOwnRight);function functions(object){return baseFunctions(object,keysIn(object))}function get(object,path,defaultValue){var result=null==object?undefined:baseGet(object,toPath(path),path+"");return result===undefined?defaultValue:result}function has(object,path){if(null==object)return false;var result=hasOwnProperty.call(object,path);if(!result&&!isKey(path)){path=toPath(path);object=1==path.length?object:baseGet(object,baseSlice(path,0,-1));if(null==object)return false;path=last(path);result=hasOwnProperty.call(object,path)}return result||isLength(object.length)&&isIndex(path,object.length)&&(isArray(object)||isArguments(object))}function invert(object,multiValue,guard){guard&&isIterateeCall(object,multiValue,guard)&&(multiValue=undefined);var index=-1,props=keys(object),length=props.length,result={};while(++index<length){var key=props[index],value=object[key];multiValue?hasOwnProperty.call(result,value)?result[value].push(key):result[value]=[key]:result[value]=key}return result}var keys=nativeKeys?function(object){var Ctor=null==object?undefined:object.constructor;if("function"==typeof Ctor&&Ctor.prototype===object||"function"!=typeof object&&isArrayLike(object))return shimKeys(object);return isObject(object)?nativeKeys(object):[]}:shimKeys;function keysIn(object){if(null==object)return[];isObject(object)||(object=Object(object));var length=object.length;length=length&&isLength(length)&&(isArray(object)||isArguments(object))&&length||0;var Ctor=object.constructor,index=-1,isProto="function"==typeof Ctor&&Ctor.prototype===object,result=Array(length),skipIndexes=length>0;while(++index<length)result[index]=index+"";for(var key in object)skipIndexes&&isIndex(key,length)||"constructor"==key&&(isProto||!hasOwnProperty.call(object,key))||result.push(key);return result}var mapKeys=createObjectMapper(true);var mapValues=createObjectMapper();var omit=restParam(function(object,props){if(null==object)return{};if("function"!=typeof props[0]){props=arrayMap(baseFlatten(props),String);return pickByArray(object,baseDifference(keysIn(object),props))}var predicate=bindCallback(props[0],props[1],3);return pickByCallback(object,function(value,key,object){return!predicate(value,key,object)})});function pairs(object){object=toObject(object);var index=-1,props=keys(object),length=props.length,result=Array(length);while(++index<length){var key=props[index];result[index]=[key,object[key]]}return result}var pick=restParam(function(object,props){if(null==object)return{};return"function"==typeof props[0]?pickByCallback(object,bindCallback(props[0],props[1],3)):pickByArray(object,baseFlatten(props))});function result(object,path,defaultValue){var result=null==object?undefined:object[path];if(result===undefined){if(null!=object&&!isKey(path,object)){path=toPath(path);object=1==path.length?object:baseGet(object,baseSlice(path,0,-1));result=null==object?undefined:object[last(path)]}result=result===undefined?defaultValue:result}return isFunction(result)?result.call(object):result}function set(object,path,value){if(null==object)return object;var pathKey=path+"";path=null!=object[pathKey]||isKey(path,object)?[pathKey]:toPath(path);var index=-1,length=path.length,lastIndex=length-1,nested=object;while(null!=nested&&++index<length){var key=path[index];isObject(nested)&&(index==lastIndex?nested[key]=value:null==nested[key]&&(nested[key]=isIndex(path[index+1])?[]:{}));nested=nested[key]}return object}function transform(object,iteratee,accumulator,thisArg){var isArr=isArray(object)||isTypedArray(object);iteratee=getCallback(iteratee,thisArg,4);if(null==accumulator)if(isArr||isObject(object)){var Ctor=object.constructor;accumulator=isArr?isArray(object)?new Ctor:[]:baseCreate(isFunction(Ctor)?Ctor.prototype:undefined)}else accumulator={};(isArr?arrayEach:baseForOwn)(object,function(value,index,object){return iteratee(accumulator,value,index,object)});return accumulator}function values(object){return baseValues(object,keys(object))}function valuesIn(object){return baseValues(object,keysIn(object))}function inRange(value,start,end){start=+start||0;if(end===undefined){end=start;start=0}else end=+end||0;return value>=nativeMin(start,end)&&value<nativeMax(start,end)}function random(min,max,floating){floating&&isIterateeCall(min,max,floating)&&(max=floating=undefined);var noMin=null==min,noMax=null==max;if(null==floating)if(noMax&&"boolean"==typeof min){floating=min;min=1}else if("boolean"==typeof max){floating=max;noMax=true}if(noMin&&noMax){max=1;noMax=false}min=+min||0;if(noMax){max=min;min=0}else max=+max||0;if(floating||min%1||max%1){var rand=nativeRandom();return nativeMin(min+rand*(max-min+parseFloat("1e-"+((rand+"").length-1))),max)}return baseRandom(min,max)}var camelCase=createCompounder(function(result,word,index){word=word.toLowerCase();return result+(index?word.charAt(0).toUpperCase()+word.slice(1):word)});function capitalize(string){string=baseToString(string);return string&&string.charAt(0).toUpperCase()+string.slice(1)}function deburr(string){string=baseToString(string);return string&&string.replace(reLatin1,deburrLetter).replace(reComboMark,"")}function endsWith(string,target,position){string=baseToString(string);target+="";var length=string.length;position=position===undefined?length:nativeMin(position<0?0:+position||0,length);position-=target.length;return position>=0&&string.indexOf(target,position)==position}function escape(string){string=baseToString(string);return string&&reHasUnescapedHtml.test(string)?string.replace(reUnescapedHtml,escapeHtmlChar):string}function escapeRegExp(string){string=baseToString(string);return string&&reHasRegExpChars.test(string)?string.replace(reRegExpChars,escapeRegExpChar):string||"(?:)"}var kebabCase=createCompounder(function(result,word,index){return result+(index?"-":"")+word.toLowerCase()});function pad(string,length,chars){string=baseToString(string);length=+length;var strLength=string.length;if(strLength>=length||!nativeIsFinite(length))return string;var mid=(length-strLength)/2,leftLength=nativeFloor(mid),rightLength=nativeCeil(mid);chars=createPadding("",rightLength,chars);return chars.slice(0,leftLength)+string+chars}var padLeft=createPadDir();var padRight=createPadDir(true);function parseInt(string,radix,guard){(guard?isIterateeCall(string,radix,guard):null==radix)?radix=0:radix&&(radix=+radix);string=trim(string);return nativeParseInt(string,radix||(reHasHexPrefix.test(string)?16:10))}function repeat(string,n){var result="";string=baseToString(string);n=+n;if(n<1||!string||!nativeIsFinite(n))return result;do{n%2&&(result+=string);n=nativeFloor(n/2);string+=string}while(n);return result}var snakeCase=createCompounder(function(result,word,index){return result+(index?"_":"")+word.toLowerCase()});var startCase=createCompounder(function(result,word,index){return result+(index?" ":"")+(word.charAt(0).toUpperCase()+word.slice(1))});function startsWith(string,target,position){string=baseToString(string);position=null==position?0:nativeMin(position<0?0:+position||0,string.length);return string.lastIndexOf(target,position)==position}function template(string,options,otherOptions){var settings=lodash.templateSettings;otherOptions&&isIterateeCall(string,options,otherOptions)&&(options=otherOptions=undefined);string=baseToString(string);options=assignWith(baseAssign({},otherOptions||options),settings,assignOwnDefaults);var imports=assignWith(baseAssign({},options.imports),settings.imports,assignOwnDefaults),importsKeys=keys(imports),importsValues=baseValues(imports,importsKeys);var isEscaping,isEvaluating,index=0,interpolate=options.interpolate||reNoMatch,source="__p += '";var reDelimiters=RegExp((options.escape||reNoMatch).source+"|"+interpolate.source+"|"+(interpolate===reInterpolate?reEsTemplate:reNoMatch).source+"|"+(options.evaluate||reNoMatch).source+"|$","g");var sourceURL="//# sourceURL="+("sourceURL"in options?options.sourceURL:"lodash.templateSources["+ ++templateCounter+"]")+"\n";string.replace(reDelimiters,function(match,escapeValue,interpolateValue,esTemplateValue,evaluateValue,offset){interpolateValue||(interpolateValue=esTemplateValue);source+=string.slice(index,offset).replace(reUnescapedString,escapeStringChar);if(escapeValue){isEscaping=true;source+="' +\n__e("+escapeValue+") +\n'"}if(evaluateValue){isEvaluating=true;source+="';\n"+evaluateValue+";\n__p += '"}interpolateValue&&(source+="' +\n((__t = ("+interpolateValue+")) == null ? '' : __t) +\n'");index=offset+match.length;return match});source+="';\n";var variable=options.variable;variable||(source="with (obj) {\n"+source+"\n}\n");source=(isEvaluating?source.replace(reEmptyStringLeading,""):source).replace(reEmptyStringMiddle,"$1").replace(reEmptyStringTrailing,"$1;");source="function("+(variable||"obj")+") {\n"+(variable?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(isEscaping?", __e = _.escape":"")+(isEvaluating?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+source+"return __p\n}";var result=attempt(function(){return Function(importsKeys,sourceURL+"return "+source).apply(undefined,importsValues)});result.source=source;if(isError(result))throw result;return result}function trim(string,chars,guard){var value=string;string=baseToString(string);if(!string)return string;if(guard?isIterateeCall(value,chars,guard):null==chars)return string.slice(trimmedLeftIndex(string),trimmedRightIndex(string)+1);chars+="";return string.slice(charsLeftIndex(string,chars),charsRightIndex(string,chars)+1)}function trimLeft(string,chars,guard){var value=string;string=baseToString(string);if(!string)return string;if(guard?isIterateeCall(value,chars,guard):null==chars)return string.slice(trimmedLeftIndex(string));return string.slice(charsLeftIndex(string,chars+""))}function trimRight(string,chars,guard){var value=string;string=baseToString(string);if(!string)return string;if(guard?isIterateeCall(value,chars,guard):null==chars)return string.slice(0,trimmedRightIndex(string)+1);return string.slice(0,charsRightIndex(string,chars+"")+1)}function trunc(string,options,guard){guard&&isIterateeCall(string,options,guard)&&(options=undefined);var length=DEFAULT_TRUNC_LENGTH,omission=DEFAULT_TRUNC_OMISSION;if(null!=options)if(isObject(options)){var separator="separator"in options?options.separator:separator;length="length"in options?+options.length||0:length;omission="omission"in options?baseToString(options.omission):omission}else length=+options||0;string=baseToString(string);if(length>=string.length)return string;var end=length-omission.length;if(end<1)return omission;var result=string.slice(0,end);if(null==separator)return result+omission;if(isRegExp(separator)){if(string.slice(end).search(separator)){var match,newEnd,substring=string.slice(0,end);separator.global||(separator=RegExp(separator.source,(reFlags.exec(separator)||"")+"g"));separator.lastIndex=0;while(match=separator.exec(substring))newEnd=match.index;result=result.slice(0,null==newEnd?end:newEnd)}}else if(string.indexOf(separator,end)!=end){var index=result.lastIndexOf(separator);index>-1&&(result=result.slice(0,index))}return result+omission}function unescape(string){string=baseToString(string);return string&&reHasEscapedHtml.test(string)?string.replace(reEscapedHtml,unescapeHtmlChar):string}function words(string,pattern,guard){guard&&isIterateeCall(string,pattern,guard)&&(pattern=undefined);string=baseToString(string);return string.match(pattern||reWords)||[]}var attempt=restParam(function(func,args){try{return func.apply(undefined,args)}catch(e){return isError(e)?e:new Error(e)}});function callback(func,thisArg,guard){guard&&isIterateeCall(func,thisArg,guard)&&(thisArg=undefined);return isObjectLike(func)?matches(func):baseCallback(func,thisArg)}function constant(value){return function(){return value}}function identity(value){return value}function matches(source){return baseMatches(baseClone(source,true))}function matchesProperty(path,srcValue){return baseMatchesProperty(path,baseClone(srcValue,true))}var method=restParam(function(path,args){return function(object){return invokePath(object,path,args)}});var methodOf=restParam(function(object,args){return function(path){return invokePath(object,path,args)}});function mixin(object,source,options){if(null==options){var isObj=isObject(source),props=isObj?keys(source):undefined,methodNames=props&&props.length?baseFunctions(source,props):undefined;if(!(methodNames?methodNames.length:isObj)){methodNames=false;options=source;source=object;object=this}}methodNames||(methodNames=baseFunctions(source,keys(source)));var chain=true,index=-1,isFunc=isFunction(object),length=methodNames.length;false===options?chain=false:isObject(options)&&"chain"in options&&(chain=options.chain);while(++index<length){var methodName=methodNames[index],func=source[methodName];object[methodName]=func;isFunc&&(object.prototype[methodName]=function(func){return function(){var chainAll=this.__chain__;if(chain||chainAll){var result=object(this.__wrapped__),actions=result.__actions__=arrayCopy(this.__actions__);actions.push({func:func,args:arguments,thisArg:object});result.__chain__=chainAll;return result}return func.apply(object,arrayPush([this.value()],arguments))}}(func))}return object}function noConflict(){root._=oldDash;return this}function noop(){}function property(path){return isKey(path)?baseProperty(path):basePropertyDeep(path)}function propertyOf(object){return function(path){return baseGet(object,toPath(path),path+"")}}function range(start,end,step){step&&isIterateeCall(start,end,step)&&(end=step=undefined);start=+start||0;step=null==step?1:+step||0;if(null==end){end=start;start=0}else end=+end||0;var index=-1,length=nativeMax(nativeCeil((end-start)/(step||1)),0),result=Array(length);while(++index<length){result[index]=start;start+=step}return result}function times(n,iteratee,thisArg){n=nativeFloor(n);if(n<1||!nativeIsFinite(n))return[];var index=-1,result=Array(nativeMin(n,MAX_ARRAY_LENGTH));iteratee=bindCallback(iteratee,thisArg,1);while(++index<n)index<MAX_ARRAY_LENGTH?result[index]=iteratee(index):iteratee(index);return result}function uniqueId(prefix){var id=++idCounter;return baseToString(prefix)+id}function add(augend,addend){return(+augend||0)+(+addend||0)}var ceil=createRound("ceil");var floor=createRound("floor");var max=createExtremum(gt,NEGATIVE_INFINITY);var min=createExtremum(lt,POSITIVE_INFINITY);var round=createRound("round");function sum(collection,iteratee,thisArg){thisArg&&isIterateeCall(collection,iteratee,thisArg)&&(iteratee=undefined);iteratee=getCallback(iteratee,thisArg,3);return 1==iteratee.length?arraySum(isArray(collection)?collection:toIterable(collection),iteratee):baseSum(collection,iteratee)}lodash.prototype=baseLodash.prototype;LodashWrapper.prototype=baseCreate(baseLodash.prototype);LodashWrapper.prototype.constructor=LodashWrapper;LazyWrapper.prototype=baseCreate(baseLodash.prototype);LazyWrapper.prototype.constructor=LazyWrapper;MapCache.prototype["delete"]=mapDelete;MapCache.prototype.get=mapGet;MapCache.prototype.has=mapHas;MapCache.prototype.set=mapSet;SetCache.prototype.push=cachePush;memoize.Cache=MapCache;lodash.after=after;lodash.ary=ary;lodash.assign=assign;lodash.at=at;lodash.before=before;lodash.bind=bind;lodash.bindAll=bindAll;lodash.bindKey=bindKey;lodash.callback=callback;lodash.chain=chain;lodash.chunk=chunk;lodash.compact=compact;lodash.constant=constant;lodash.countBy=countBy;lodash.create=create;lodash.curry=curry;lodash.curryRight=curryRight;lodash.debounce=debounce;lodash.defaults=defaults;lodash.defaultsDeep=defaultsDeep;lodash.defer=defer;lodash.delay=delay;lodash.difference=difference;lodash.drop=drop;lodash.dropRight=dropRight;lodash.dropRightWhile=dropRightWhile;lodash.dropWhile=dropWhile;lodash.fill=fill;lodash.filter=filter;lodash.flatten=flatten;lodash.flattenDeep=flattenDeep;lodash.flow=flow;lodash.flowRight=flowRight;lodash.forEach=forEach;lodash.forEachRight=forEachRight;lodash.forIn=forIn;lodash.forInRight=forInRight;lodash.forOwn=forOwn;lodash.forOwnRight=forOwnRight;lodash.functions=functions;lodash.groupBy=groupBy;lodash.indexBy=indexBy;lodash.initial=initial;lodash.intersection=intersection;lodash.invert=invert;lodash.invoke=invoke;lodash.keys=keys;lodash.keysIn=keysIn;lodash.map=map;lodash.mapKeys=mapKeys;lodash.mapValues=mapValues;lodash.matches=matches;lodash.matchesProperty=matchesProperty;lodash.memoize=memoize;lodash.merge=merge;lodash.method=method;lodash.methodOf=methodOf;lodash.mixin=mixin;lodash.modArgs=modArgs;lodash.negate=negate;lodash.omit=omit;lodash.once=once;lodash.pairs=pairs;lodash.partial=partial;lodash.partialRight=partialRight;lodash.partition=partition;lodash.pick=pick;lodash.pluck=pluck;lodash.property=property;lodash.propertyOf=propertyOf;lodash.pull=pull;lodash.pullAt=pullAt;lodash.range=range;lodash.rearg=rearg;lodash.reject=reject;lodash.remove=remove;lodash.rest=rest;lodash.restParam=restParam;lodash.set=set;lodash.shuffle=shuffle;lodash.slice=slice;lodash.sortBy=sortBy;lodash.sortByAll=sortByAll;lodash.sortByOrder=sortByOrder;lodash.spread=spread;lodash.take=take;lodash.takeRight=takeRight;lodash.takeRightWhile=takeRightWhile;lodash.takeWhile=takeWhile;lodash.tap=tap;lodash.throttle=throttle;lodash.thru=thru;lodash.times=times;lodash.toArray=toArray;lodash.toPlainObject=toPlainObject;lodash.transform=transform;lodash.union=union;lodash.uniq=uniq;lodash.unzip=unzip;lodash.unzipWith=unzipWith;lodash.values=values;lodash.valuesIn=valuesIn;lodash.where=where;lodash.without=without;lodash.wrap=wrap;lodash.xor=xor;lodash.zip=zip;lodash.zipObject=zipObject;lodash.zipWith=zipWith;lodash.backflow=flowRight;lodash.collect=map;lodash.compose=flowRight;lodash.each=forEach;lodash.eachRight=forEachRight;lodash.extend=assign;lodash.iteratee=callback;lodash.methods=functions;lodash.object=zipObject;lodash.select=filter;lodash.tail=rest;lodash.unique=uniq;mixin(lodash,lodash);lodash.add=add;lodash.attempt=attempt;lodash.camelCase=camelCase;lodash.capitalize=capitalize;lodash.ceil=ceil;lodash.clone=clone;lodash.cloneDeep=cloneDeep;lodash.deburr=deburr;lodash.endsWith=endsWith;lodash.escape=escape;lodash.escapeRegExp=escapeRegExp;lodash.every=every;lodash.find=find;lodash.findIndex=findIndex;lodash.findKey=findKey;lodash.findLast=findLast;lodash.findLastIndex=findLastIndex;lodash.findLastKey=findLastKey;lodash.findWhere=findWhere;lodash.first=first;lodash.floor=floor;lodash.get=get;lodash.gt=gt;lodash.gte=gte;lodash.has=has;lodash.identity=identity;lodash.includes=includes;lodash.indexOf=indexOf;lodash.inRange=inRange;lodash.isArguments=isArguments;lodash.isArray=isArray;lodash.isBoolean=isBoolean;lodash.isDate=isDate;lodash.isElement=isElement;lodash.isEmpty=isEmpty;lodash.isEqual=isEqual;lodash.isError=isError;lodash.isFinite=isFinite;lodash.isFunction=isFunction;lodash.isMatch=isMatch;lodash.isNaN=isNaN;lodash.isNative=isNative;lodash.isNull=isNull;lodash.isNumber=isNumber;lodash.isObject=isObject;lodash.isPlainObject=isPlainObject;lodash.isRegExp=isRegExp;lodash.isString=isString;lodash.isTypedArray=isTypedArray;lodash.isUndefined=isUndefined;lodash.kebabCase=kebabCase;lodash.last=last;lodash.lastIndexOf=lastIndexOf;lodash.lt=lt;lodash.lte=lte;lodash.max=max;lodash.min=min;lodash.noConflict=noConflict;lodash.noop=noop;lodash.now=now;lodash.pad=pad;lodash.padLeft=padLeft;lodash.padRight=padRight;lodash.parseInt=parseInt;lodash.random=random;lodash.reduce=reduce;lodash.reduceRight=reduceRight;lodash.repeat=repeat;lodash.result=result;lodash.round=round;lodash.runInContext=runInContext;lodash.size=size;lodash.snakeCase=snakeCase;lodash.some=some;lodash.sortedIndex=sortedIndex;lodash.sortedLastIndex=sortedLastIndex;lodash.startCase=startCase;lodash.startsWith=startsWith;lodash.sum=sum;lodash.template=template;lodash.trim=trim;lodash.trimLeft=trimLeft;lodash.trimRight=trimRight;lodash.trunc=trunc;lodash.unescape=unescape;lodash.uniqueId=uniqueId;lodash.words=words;lodash.all=every;lodash.any=some;lodash.contains=includes;lodash.eq=isEqual;lodash.detect=find;lodash.foldl=reduce;lodash.foldr=reduceRight;lodash.head=first;lodash.include=includes;lodash.inject=reduce;mixin(lodash,function(){var source={};baseForOwn(lodash,function(func,methodName){lodash.prototype[methodName]||(source[methodName]=func)});return source}(),false);lodash.sample=sample;lodash.prototype.sample=function(n){if(!this.__chain__&&null==n)return sample(this.value());return this.thru(function(value){return sample(value,n)})};lodash.VERSION=VERSION;arrayEach(["bind","bindKey","curry","curryRight","partial","partialRight"],function(methodName){lodash[methodName].placeholder=lodash});arrayEach(["drop","take"],function(methodName,index){LazyWrapper.prototype[methodName]=function(n){var filtered=this.__filtered__;if(filtered&&!index)return new LazyWrapper(this);n=null==n?1:nativeMax(nativeFloor(n)||0,0);var result=this.clone();filtered?result.__takeCount__=nativeMin(result.__takeCount__,n):result.__views__.push({size:n,type:methodName+(result.__dir__<0?"Right":"")});return result};LazyWrapper.prototype[methodName+"Right"]=function(n){return this.reverse()[methodName](n).reverse()}});arrayEach(["filter","map","takeWhile"],function(methodName,index){var type=index+1,isFilter=type!=LAZY_MAP_FLAG;LazyWrapper.prototype[methodName]=function(iteratee,thisArg){var result=this.clone();result.__iteratees__.push({iteratee:getCallback(iteratee,thisArg,1),type:type});result.__filtered__=result.__filtered__||isFilter;return result}});arrayEach(["first","last"],function(methodName,index){var takeName="take"+(index?"Right":"");LazyWrapper.prototype[methodName]=function(){return this[takeName](1).value()[0]}});arrayEach(["initial","rest"],function(methodName,index){var dropName="drop"+(index?"":"Right");LazyWrapper.prototype[methodName]=function(){return this.__filtered__?new LazyWrapper(this):this[dropName](1)}});arrayEach(["pluck","where"],function(methodName,index){var operationName=index?"filter":"map",createCallback=index?baseMatches:property;LazyWrapper.prototype[methodName]=function(value){return this[operationName](createCallback(value))}});LazyWrapper.prototype.compact=function(){return this.filter(identity)};LazyWrapper.prototype.reject=function(predicate,thisArg){predicate=getCallback(predicate,thisArg,1);return this.filter(function(value){return!predicate(value)})};LazyWrapper.prototype.slice=function(start,end){start=null==start?0:+start||0;var result=this;if(result.__filtered__&&(start>0||end<0))return new LazyWrapper(result);start<0?result=result.takeRight(-start):start&&(result=result.drop(start));if(end!==undefined){end=+end||0;result=end<0?result.dropRight(-end):result.take(end-start)}return result};LazyWrapper.prototype.takeRightWhile=function(predicate,thisArg){return this.reverse().takeWhile(predicate,thisArg).reverse()};LazyWrapper.prototype.toArray=function(){return this.take(POSITIVE_INFINITY)};baseForOwn(LazyWrapper.prototype,function(func,methodName){var checkIteratee=/^(?:filter|map|reject)|While$/.test(methodName),retUnwrapped=/^(?:first|last)$/.test(methodName),lodashFunc=lodash[retUnwrapped?"take"+("last"==methodName?"Right":""):methodName];if(!lodashFunc)return;lodash.prototype[methodName]=function(){var args=retUnwrapped?[1]:arguments,chainAll=this.__chain__,value=this.__wrapped__,isHybrid=!!this.__actions__.length,isLazy=value instanceof LazyWrapper,iteratee=args[0],useLazy=isLazy||isArray(value);useLazy&&checkIteratee&&"function"==typeof iteratee&&1!=iteratee.length&&(isLazy=useLazy=false);var interceptor=function(value){return retUnwrapped&&chainAll?lodashFunc(value,1)[0]:lodashFunc.apply(undefined,arrayPush([value],args))};var action={func:thru,args:[interceptor],thisArg:undefined},onlyLazy=isLazy&&!isHybrid;if(retUnwrapped&&!chainAll){if(onlyLazy){value=value.clone();value.__actions__.push(action);return func.call(value)}return lodashFunc.call(undefined,this.value())[0]}if(!retUnwrapped&&useLazy){value=onlyLazy?value:new LazyWrapper(this);var result=func.apply(value,args);result.__actions__.push(action);return new LodashWrapper(result,chainAll)}return this.thru(interceptor)}});arrayEach(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(methodName){var func=(/^(?:replace|split)$/.test(methodName)?stringProto:arrayProto)[methodName],chainName=/^(?:push|sort|unshift)$/.test(methodName)?"tap":"thru",retUnwrapped=/^(?:join|pop|replace|shift)$/.test(methodName);lodash.prototype[methodName]=function(){var args=arguments;if(retUnwrapped&&!this.__chain__)return func.apply(this.value(),args);return this[chainName](function(value){return func.apply(value,args)})}});baseForOwn(LazyWrapper.prototype,function(func,methodName){var lodashFunc=lodash[methodName];if(lodashFunc){var key=lodashFunc.name,names=realNames[key]||(realNames[key]=[]);names.push({name:methodName,func:lodashFunc})}});realNames[createHybridWrapper(undefined,BIND_KEY_FLAG).name]=[{name:"wrapper",func:undefined}];LazyWrapper.prototype.clone=lazyClone;LazyWrapper.prototype.reverse=lazyReverse;LazyWrapper.prototype.value=lazyValue;lodash.prototype.chain=wrapperChain;lodash.prototype.commit=wrapperCommit;lodash.prototype.concat=wrapperConcat;lodash.prototype.plant=wrapperPlant;lodash.prototype.reverse=wrapperReverse;lodash.prototype.toString=wrapperToString;lodash.prototype.run=lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=wrapperValue;lodash.prototype.collect=lodash.prototype.map;lodash.prototype.head=lodash.prototype.first;lodash.prototype.select=lodash.prototype.filter;lodash.prototype.tail=lodash.prototype.rest;return lodash}var _=runInContext();true;root._=_;!(__WEBPACK_AMD_DEFINE_RESULT__=function(){return _}.call(exports,__webpack_require__,exports,module),__WEBPACK_AMD_DEFINE_RESULT__!==undefined&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}).call(this)}).call(this,__webpack_require__(82)(module),__webpack_require__(18))},function(module,exports,__webpack_require__){var global=__webpack_require__(36);var core=__webpack_require__(197);var hide=__webpack_require__(98);var redefine=__webpack_require__(134);var ctx=__webpack_require__(117);var PROTOTYPE="prototype";var $export=function(type,name,source){var IS_FORCED=type&$export.F;var IS_GLOBAL=type&$export.G;var IS_STATIC=type&$export.S;var IS_PROTO=type&$export.P;var IS_BIND=type&$export.B;var target=IS_GLOBAL?global:IS_STATIC?global[name]||(global[name]={}):(global[name]||{})[PROTOTYPE];var exports=IS_GLOBAL?core:core[name]||(core[name]={});var expProto=exports[PROTOTYPE]||(exports[PROTOTYPE]={});var key,own,out,exp;IS_GLOBAL&&(source=name);for(key in source){own=!IS_FORCED&&target&&void 0!==target[key];out=(own?target:source)[key];exp=IS_BIND&&own?ctx(out,global):IS_PROTO&&"function"==typeof out?ctx(Function.call,out):out;target&&redefine(target,key,out,type&$export.U);exports[key]!=out&&hide(exports,key,exp);IS_PROTO&&expProto[key]!=out&&(expProto[key]=out)}};global.core=core;$export.F=1;$export.G=2;$export.S=4;$export.P=8;$export.B=16;$export.W=32;$export.U=64;$export.R=128;module.exports=$export},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(1992)()},function(module,exports,__webpack_require__){"use strict";true;module.exports=__webpack_require__(1993)},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;
/*!
  Copyright (c) 2016 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
/*!
  Copyright (c) 2016 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){var classes=[];for(var i=0;i<arguments.length;i++){var arg=arguments[i];if(!arg)continue;var argType=typeof arg;if("string"===argType||"number"===argType)classes.push(arg);else if(Array.isArray(arg))classes.push(classNames.apply(null,arg));else if("object"===argType)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key)}return classes.join(" ")}if(true,module.exports)module.exports=classNames;else{true;!(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}})()},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(1847)()},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var isFunction_1=__webpack_require__(264);var Observer_1=__webpack_require__(958);var Subscription_1=__webpack_require__(52);var rxSubscriber_1=__webpack_require__(526);var config_1=__webpack_require__(351);var hostReportError_1=__webpack_require__(525);var Subscriber=function(_super){__extends(Subscriber,_super);function Subscriber(destinationOrNext,error,complete){var _this=_super.call(this)||this;_this.syncErrorValue=null;_this.syncErrorThrown=false;_this.syncErrorThrowable=false;_this.isStopped=false;switch(arguments.length){case 0:_this.destination=Observer_1.empty;break;case 1:if(!destinationOrNext){_this.destination=Observer_1.empty;break}if("object"===typeof destinationOrNext){if(isTrustedSubscriber(destinationOrNext)){var trustedSubscriber=destinationOrNext[rxSubscriber_1.rxSubscriber]();_this.syncErrorThrowable=trustedSubscriber.syncErrorThrowable;_this.destination=trustedSubscriber;trustedSubscriber.add(_this)}else{_this.syncErrorThrowable=true;_this.destination=new SafeSubscriber(_this,destinationOrNext)}break}default:_this.syncErrorThrowable=true;_this.destination=new SafeSubscriber(_this,destinationOrNext,error,complete)}return _this}Subscriber.prototype[rxSubscriber_1.rxSubscriber]=function(){return this};Subscriber.create=function(next,error,complete){var subscriber=new Subscriber(next,error,complete);subscriber.syncErrorThrowable=false;return subscriber};Subscriber.prototype.next=function(value){this.isStopped||this._next(value)};Subscriber.prototype.error=function(err){if(!this.isStopped){this.isStopped=true;this._error(err)}};Subscriber.prototype.complete=function(){if(!this.isStopped){this.isStopped=true;this._complete()}};Subscriber.prototype.unsubscribe=function(){if(this.closed)return;this.isStopped=true;_super.prototype.unsubscribe.call(this)};Subscriber.prototype._next=function(value){this.destination.next(value)};Subscriber.prototype._error=function(err){this.destination.error(err);this.unsubscribe()};Subscriber.prototype._complete=function(){this.destination.complete();this.unsubscribe()};Subscriber.prototype._unsubscribeAndRecycle=function(){var _a=this,_parent=_a._parent,_parents=_a._parents;this._parent=null;this._parents=null;this.unsubscribe();this.closed=false;this.isStopped=false;this._parent=_parent;this._parents=_parents;return this};return Subscriber}(Subscription_1.Subscription);exports.Subscriber=Subscriber;var SafeSubscriber=function(_super){__extends(SafeSubscriber,_super);function SafeSubscriber(_parentSubscriber,observerOrNext,error,complete){var _this=_super.call(this)||this;_this._parentSubscriber=_parentSubscriber;var next;var context=_this;if(isFunction_1.isFunction(observerOrNext))next=observerOrNext;else if(observerOrNext){next=observerOrNext.next;error=observerOrNext.error;complete=observerOrNext.complete;if(observerOrNext!==Observer_1.empty){context=Object.create(observerOrNext);isFunction_1.isFunction(context.unsubscribe)&&_this.add(context.unsubscribe.bind(context));context.unsubscribe=_this.unsubscribe.bind(_this)}}_this._context=context;_this._next=next;_this._error=error;_this._complete=complete;return _this}SafeSubscriber.prototype.next=function(value){if(!this.isStopped&&this._next){var _parentSubscriber=this._parentSubscriber;config_1.config.useDeprecatedSynchronousErrorHandling&&_parentSubscriber.syncErrorThrowable?this.__tryOrSetError(_parentSubscriber,this._next,value)&&this.unsubscribe():this.__tryOrUnsub(this._next,value)}};SafeSubscriber.prototype.error=function(err){if(!this.isStopped){var _parentSubscriber=this._parentSubscriber;var useDeprecatedSynchronousErrorHandling=config_1.config.useDeprecatedSynchronousErrorHandling;if(this._error)if(useDeprecatedSynchronousErrorHandling&&_parentSubscriber.syncErrorThrowable){this.__tryOrSetError(_parentSubscriber,this._error,err);this.unsubscribe()}else{this.__tryOrUnsub(this._error,err);this.unsubscribe()}else if(_parentSubscriber.syncErrorThrowable){if(useDeprecatedSynchronousErrorHandling){_parentSubscriber.syncErrorValue=err;_parentSubscriber.syncErrorThrown=true}else hostReportError_1.hostReportError(err);this.unsubscribe()}else{this.unsubscribe();if(useDeprecatedSynchronousErrorHandling)throw err;hostReportError_1.hostReportError(err)}}};SafeSubscriber.prototype.complete=function(){var _this=this;if(!this.isStopped){var _parentSubscriber=this._parentSubscriber;if(this._complete){var wrappedComplete=function(){return _this._complete.call(_this._context)};if(config_1.config.useDeprecatedSynchronousErrorHandling&&_parentSubscriber.syncErrorThrowable){this.__tryOrSetError(_parentSubscriber,wrappedComplete);this.unsubscribe()}else{this.__tryOrUnsub(wrappedComplete);this.unsubscribe()}}else this.unsubscribe()}};SafeSubscriber.prototype.__tryOrUnsub=function(fn,value){try{fn.call(this._context,value)}catch(err){this.unsubscribe();if(config_1.config.useDeprecatedSynchronousErrorHandling)throw err;hostReportError_1.hostReportError(err)}};SafeSubscriber.prototype.__tryOrSetError=function(parent,fn,value){if(!config_1.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{fn.call(this._context,value)}catch(err){if(config_1.config.useDeprecatedSynchronousErrorHandling){parent.syncErrorValue=err;parent.syncErrorThrown=true;return true}hostReportError_1.hostReportError(err);return true}return false};SafeSubscriber.prototype._unsubscribe=function(){var _parentSubscriber=this._parentSubscriber;this._context=null;this._parentSubscriber=null;_parentSubscriber.unsubscribe()};return SafeSubscriber}(Subscriber);function isTrustedSubscriber(obj){return obj instanceof Subscriber||"syncErrorThrowable"in obj&&obj[rxSubscriber_1.rxSubscriber]}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ReactCSS=exports.loop=exports.handleActive=exports.handleHover=exports.hover=void 0;var _flattenNames=__webpack_require__(1307);var _flattenNames2=_interopRequireDefault(_flattenNames);var _mergeClasses=__webpack_require__(1383);var _mergeClasses2=_interopRequireDefault(_mergeClasses);var _autoprefix=__webpack_require__(1409);var _autoprefix2=_interopRequireDefault(_autoprefix);var _hover2=__webpack_require__(1410);var _hover3=_interopRequireDefault(_hover2);var _active=__webpack_require__(1411);var _active2=_interopRequireDefault(_active);var _loop2=__webpack_require__(1412);var _loop3=_interopRequireDefault(_loop2);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.hover=_hover3.default;exports.handleHover=_hover3.default;exports.handleActive=_active2.default;exports.loop=_loop3.default;var ReactCSS=exports.ReactCSS=function ReactCSS(classes){for(var _len=arguments.length,activations=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)activations[_key-1]=arguments[_key];var activeNames=(0,_flattenNames2.default)(activations);var merged=(0,_mergeClasses2.default)(classes,activeNames);return(0,_autoprefix2.default)(merged)};exports.default=ReactCSS},function(module,exports){var g;g=function(){return this}();try{g=g||Function("return this")()||(1,eval)("this")}catch(e){"object"===typeof window&&(g=window)}module.exports=g},function(module,exports,__webpack_require__){var dP=__webpack_require__(76).f;var FProto=Function.prototype;var nameRE=/^\s*function ([^ (]*)/;var NAME="name";NAME in FProto||__webpack_require__(78)&&dP(FProto,NAME,{configurable:true,get:function(){try{return(""+this).match(nameRE)[1]}catch(e){return""}}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiIcon",{enumerable:true,get:function get(){return _icon.EuiIcon}});Object.defineProperty(exports,"ICON_TYPES",{enumerable:true,get:function get(){return _icon.TYPES}});Object.defineProperty(exports,"ICON_SIZES",{enumerable:true,get:function get(){return _icon.SIZES}});Object.defineProperty(exports,"ICON_COLORS",{enumerable:true,get:function get(){return _icon.COLORS}});var _icon=__webpack_require__(280)},function(module,exports){var Node=function(){};Node.prototype.toCSS=function(context){var strs=[];this.genCSS(context,{add:function(chunk,fileInfo,index){strs.push(chunk)},isEmpty:function(){return 0===strs.length}});return strs.join("")};Node.prototype.genCSS=function(context,output){output.add(this.value)};Node.prototype.accept=function(visitor){this.value=visitor.visit(this.value)};Node.prototype.eval=function(){return this};Node.prototype._operate=function(context,op,a,b){switch(op){case"+":return a+b;case"-":return a-b;case"*":return a*b;case"/":return a/b}};Node.prototype.fround=function(context,value){var precision=context&&context.numPrecision;return null==precision?value:Number((value+2e-16).toFixed(precision))};Node.compare=function(a,b){if(a.compare&&!("Quoted"===b.type||"Anonymous"===b.type))return a.compare(b);if(b.compare)return-b.compare(a);if(a.type!==b.type)return;a=a.value;b=b.value;if(!Array.isArray(a))return a===b?0:void 0;if(a.length!==b.length)return;for(var i=0;i<a.length;i++)if(0!==Node.compare(a[i],b[i]))return;return 0};Node.numericCompare=function(a,b){return a<b?-1:a===b?0:a>b?1:void 0};Node.prototype.blocksVisibility=function(){null==this.visibilityBlocks&&(this.visibilityBlocks=0);return 0!==this.visibilityBlocks};Node.prototype.addVisibilityBlock=function(){null==this.visibilityBlocks&&(this.visibilityBlocks=0);this.visibilityBlocks=this.visibilityBlocks+1};Node.prototype.removeVisibilityBlock=function(){null==this.visibilityBlocks&&(this.visibilityBlocks=0);this.visibilityBlocks=this.visibilityBlocks-1};Node.prototype.ensureVisibility=function(){this.nodeVisible=true};Node.prototype.ensureInvisibility=function(){this.nodeVisible=false};Node.prototype.isVisible=function(){return this.nodeVisible};Node.prototype.visibilityInfo=function(){return{visibilityBlocks:this.visibilityBlocks,nodeVisible:this.nodeVisible}};Node.prototype.copyVisibilityInfo=function(info){if(!info)return;this.visibilityBlocks=info.visibilityBlocks;this.nodeVisible=info.nodeVisible};module.exports=Node},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"nodeTypes",function(){return nodeTypes});var _function__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(995);var _literal__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(100);var _named_arg__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1004);var _wildcard__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(179);var nodeTypes={function:_function__WEBPACK_IMPORTED_MODULE_0__,literal:_literal__WEBPACK_IMPORTED_MODULE_1__,namedArg:_named_arg__WEBPACK_IMPORTED_MODULE_2__,wildcard:_wildcard__WEBPACK_IMPORTED_MODULE_3__}},function(module,exports,__webpack_require__){"use strict";function _class(obj){return Object.prototype.toString.call(obj)}function isString(obj){return"[object String]"===_class(obj)}var _hasOwnProperty=Object.prototype.hasOwnProperty;function has(object,key){return _hasOwnProperty.call(object,key)}function assign(obj){var sources=Array.prototype.slice.call(arguments,1);sources.forEach(function(source){if(!source)return;if("object"!==typeof source)throw new TypeError(source+"must be object");Object.keys(source).forEach(function(key){obj[key]=source[key]})});return obj}function arrayReplaceAt(src,pos,newElements){return[].concat(src.slice(0,pos),newElements,src.slice(pos+1))}function isValidEntityCode(c){if(c>=55296&&c<=57343)return false;if(c>=64976&&c<=65007)return false;if(65535===(65535&c)||65534===(65535&c))return false;if(c>=0&&c<=8)return false;if(11===c)return false;if(c>=14&&c<=31)return false;if(c>=127&&c<=159)return false;if(c>1114111)return false;return true}function fromCodePoint(c){if(c>65535){c-=65536;var surrogate1=55296+(c>>10),surrogate2=56320+(1023&c);return String.fromCharCode(surrogate1,surrogate2)}return String.fromCharCode(c)}var UNESCAPE_MD_RE=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g;var ENTITY_RE=/&([a-z#][a-z0-9]{1,31});/gi;var UNESCAPE_ALL_RE=new RegExp(UNESCAPE_MD_RE.source+"|"+ENTITY_RE.source,"gi");var DIGITAL_ENTITY_TEST_RE=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;var entities=__webpack_require__(886);function replaceEntityPattern(match,name){var code=0;if(has(entities,name))return entities[name];if(35===name.charCodeAt(0)&&DIGITAL_ENTITY_TEST_RE.test(name)){code="x"===name[1].toLowerCase()?parseInt(name.slice(2),16):parseInt(name.slice(1),10);if(isValidEntityCode(code))return fromCodePoint(code)}return match}function unescapeMd(str){if(str.indexOf("\\")<0)return str;return str.replace(UNESCAPE_MD_RE,"$1")}function unescapeAll(str){if(str.indexOf("\\")<0&&str.indexOf("&")<0)return str;return str.replace(UNESCAPE_ALL_RE,function(match,escaped,entity){if(escaped)return escaped;return replaceEntityPattern(match,entity)})}var HTML_ESCAPE_TEST_RE=/[&<>"]/;var HTML_ESCAPE_REPLACE_RE=/[&<>"]/g;var HTML_REPLACEMENTS={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function replaceUnsafeChar(ch){return HTML_REPLACEMENTS[ch]}function escapeHtml(str){if(HTML_ESCAPE_TEST_RE.test(str))return str.replace(HTML_ESCAPE_REPLACE_RE,replaceUnsafeChar);return str}var REGEXP_ESCAPE_RE=/[.?*+^$[\]\\(){}|-]/g;function escapeRE(str){return str.replace(REGEXP_ESCAPE_RE,"\\$&")}function isSpace(code){switch(code){case 9:case 32:return true}return false}function isWhiteSpace(code){if(code>=8192&&code<=8202)return true;switch(code){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return true}return false}var UNICODE_PUNCT_RE=__webpack_require__(496);function isPunctChar(ch){return UNICODE_PUNCT_RE.test(ch)}function isMdAsciiPunct(ch){switch(ch){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return true;default:return false}}function normalizeReference(str){return str.trim().replace(/\s+/g," ").toUpperCase()}exports.lib={};exports.lib.mdurl=__webpack_require__(887);exports.lib.ucmicro=__webpack_require__(2316);exports.assign=assign;exports.isString=isString;exports.has=has;exports.unescapeMd=unescapeMd;exports.unescapeAll=unescapeAll;exports.isValidEntityCode=isValidEntityCode;exports.fromCodePoint=fromCodePoint;exports.escapeHtml=escapeHtml;exports.arrayReplaceAt=arrayReplaceAt;exports.isSpace=isSpace;exports.isWhiteSpace=isWhiteSpace;exports.isMdAsciiPunct=isMdAsciiPunct;exports.isPunctChar=isPunctChar;exports.escapeRE=escapeRE;exports.normalizeReference=normalizeReference},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var toSubscriber_1=__webpack_require__(2663);var observable_1=__webpack_require__(218);var pipe_1=__webpack_require__(527);var config_1=__webpack_require__(351);var Observable=function(){function Observable(subscribe){this._isScalar=false;subscribe&&(this._subscribe=subscribe)}Observable.prototype.lift=function(operator){var observable=new Observable;observable.source=this;observable.operator=operator;return observable};Observable.prototype.subscribe=function(observerOrNext,error,complete){var operator=this.operator;var sink=toSubscriber_1.toSubscriber(observerOrNext,error,complete);operator?operator.call(sink,this.source):sink.add(this.source||config_1.config.useDeprecatedSynchronousErrorHandling&&!sink.syncErrorThrowable?this._subscribe(sink):this._trySubscribe(sink));if(config_1.config.useDeprecatedSynchronousErrorHandling&&sink.syncErrorThrowable){sink.syncErrorThrowable=false;if(sink.syncErrorThrown)throw sink.syncErrorValue}return sink};Observable.prototype._trySubscribe=function(sink){try{return this._subscribe(sink)}catch(err){if(config_1.config.useDeprecatedSynchronousErrorHandling){sink.syncErrorThrown=true;sink.syncErrorValue=err}sink.error(err)}};Observable.prototype.forEach=function(next,promiseCtor){var _this=this;promiseCtor=getPromiseCtor(promiseCtor);return new promiseCtor(function(resolve,reject){var subscription;subscription=_this.subscribe(function(value){try{next(value)}catch(err){reject(err);subscription&&subscription.unsubscribe()}},reject,resolve)})};Observable.prototype._subscribe=function(subscriber){var source=this.source;return source&&source.subscribe(subscriber)};Observable.prototype[observable_1.observable]=function(){return this};Observable.prototype.pipe=function(){var operations=[];for(var _i=0;_i<arguments.length;_i++)operations[_i]=arguments[_i];if(0===operations.length)return this;return pipe_1.pipeFromArray(operations)(this)};Observable.prototype.toPromise=function(promiseCtor){var _this=this;promiseCtor=getPromiseCtor(promiseCtor);return new promiseCtor(function(resolve,reject){var value;_this.subscribe(function(x){return value=x},function(err){return reject(err)},function(){return resolve(value)})})};Observable.create=function(subscribe){return new Observable(subscribe)};return Observable}();exports.Observable=Observable;function getPromiseCtor(promiseCtor){promiseCtor||(promiseCtor=config_1.config.Promise||Promise);if(!promiseCtor)throw new Error("no Promise impl found");return promiseCtor}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"accessibleClickKeys",{enumerable:true,get:function get(){return _accessibility.accessibleClickKeys}});Object.defineProperty(exports,"cascadingMenuKeyCodes",{enumerable:true,get:function get(){return _accessibility.cascadingMenuKeyCodes}});Object.defineProperty(exports,"comboBoxKeyCodes",{enumerable:true,get:function get(){return _accessibility.comboBoxKeyCodes}});Object.defineProperty(exports,"htmlIdGenerator",{enumerable:true,get:function get(){return _accessibility.htmlIdGenerator}});Object.defineProperty(exports,"LEFT_ALIGNMENT",{enumerable:true,get:function get(){return _alignment.LEFT_ALIGNMENT}});Object.defineProperty(exports,"RIGHT_ALIGNMENT",{enumerable:true,get:function get(){return _alignment.RIGHT_ALIGNMENT}});Object.defineProperty(exports,"CENTER_ALIGNMENT",{enumerable:true,get:function get(){return _alignment.CENTER_ALIGNMENT}});Object.defineProperty(exports,"isColorDark",{enumerable:true,get:function get(){return _color.isColorDark}});Object.defineProperty(exports,"calculateContrast",{enumerable:true,get:function get(){return _color.calculateContrast}});Object.defineProperty(exports,"calculateLuminance",{enumerable:true,get:function get(){return _color.calculateLuminance}});Object.defineProperty(exports,"hexToRgb",{enumerable:true,get:function get(){return _color.hexToRgb}});Object.defineProperty(exports,"rgbToHex",{enumerable:true,get:function get(){return _color.rgbToHex}});Object.defineProperty(exports,"VISUALIZATION_COLORS",{enumerable:true,get:function get(){return _color.VISUALIZATION_COLORS}});Object.defineProperty(exports,"DEFAULT_VISUALIZATION_COLOR",{enumerable:true,get:function get(){return _color.DEFAULT_VISUALIZATION_COLOR}});Object.defineProperty(exports,"colorPalette",{enumerable:true,get:function get(){return _color.colorPalette}});Object.defineProperty(exports,"palettes",{enumerable:true,get:function get(){return _color.palettes}});Object.defineProperty(exports,"copyToClipboard",{enumerable:true,get:function get(){return _copy_to_clipboard.copyToClipboard}});Object.defineProperty(exports,"formatAuto",{enumerable:true,get:function get(){return _format.formatAuto}});Object.defineProperty(exports,"formatBoolean",{enumerable:true,get:function get(){return _format.formatBoolean}});Object.defineProperty(exports,"formatDate",{enumerable:true,get:function get(){return _format.formatDate}});Object.defineProperty(exports,"formatNumber",{enumerable:true,get:function get(){return _format.formatNumber}});Object.defineProperty(exports,"formatText",{enumerable:true,get:function get(){return _format.formatText}});Object.defineProperty(exports,"Pager",{enumerable:true,get:function get(){return _paging.Pager}});Object.defineProperty(exports,"Random",{enumerable:true,get:function get(){return _random.Random}});Object.defineProperty(exports,"getSecureRelForTarget",{enumerable:true,get:function get(){return _security.getSecureRelForTarget}});Object.defineProperty(exports,"toInitials",{enumerable:true,get:function get(){return _string.toInitials}});Object.defineProperty(exports,"PropertySortType",{enumerable:true,get:function get(){return _sort.PropertySortType}});Object.defineProperty(exports,"SortDirectionType",{enumerable:true,get:function get(){return _sort.SortDirectionType}});Object.defineProperty(exports,"SortDirection",{enumerable:true,get:function get(){return _sort.SortDirection}});Object.defineProperty(exports,"SortableProperties",{enumerable:true,get:function get(){return _sort.SortableProperties}});Object.defineProperty(exports,"Comparators",{enumerable:true,get:function get(){return _sort.Comparators}});Object.defineProperty(exports,"calculatePopoverPosition",{enumerable:true,get:function get(){return _popover.calculatePopoverPosition}});Object.defineProperty(exports,"findPopoverPosition",{enumerable:true,get:function get(){return _popover.findPopoverPosition}});Object.defineProperty(exports,"EuiWindowEvent",{enumerable:true,get:function get(){return _window_event.EuiWindowEvent}});exports.keyCodes=void 0;var keyCodes=_interopRequireWildcard(__webpack_require__(152));exports.keyCodes=keyCodes;var _accessibility=__webpack_require__(565);var _alignment=__webpack_require__(1056);var _color=__webpack_require__(379);var _copy_to_clipboard=__webpack_require__(1057);var _format=__webpack_require__(568);var _paging=__webpack_require__(1060);var _random=__webpack_require__(1062);var _security=__webpack_require__(1066);var _string=__webpack_require__(1070);var _sort=__webpack_require__(579);var _popover=__webpack_require__(1076);var _window_event=__webpack_require__(1079);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var OuterSubscriber=function(_super){__extends(OuterSubscriber,_super);function OuterSubscriber(){return null!==_super&&_super.apply(this,arguments)||this}OuterSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.destination.next(innerValue)};OuterSubscriber.prototype.notifyError=function(error,innerSub){this.destination.error(error)};OuterSubscriber.prototype.notifyComplete=function(innerSub){this.destination.complete()};return OuterSubscriber}(Subscriber_1.Subscriber);exports.OuterSubscriber=OuterSubscriber},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var InnerSubscriber_1=__webpack_require__(2677);var subscribeTo_1=__webpack_require__(971);function subscribeToResult(outerSubscriber,result,outerValue,outerIndex){var destination=new InnerSubscriber_1.InnerSubscriber(outerSubscriber,outerValue,outerIndex);return subscribeTo_1.subscribeTo(result)(destination)}exports.subscribeToResult=subscribeToResult},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Voronoi=__webpack_require__(754);var _react=__webpack_require__(0);var _animation=__webpack_require__(33);var _scalesUtils=__webpack_require__(58);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var propTypes=_extends({},(0,_scalesUtils.getScalePropTypesByAttribute)("x"),(0,_scalesUtils.getScalePropTypesByAttribute)("y"),(0,_scalesUtils.getScalePropTypesByAttribute)("size"),(0,_scalesUtils.getScalePropTypesByAttribute)("opacity"),(0,_scalesUtils.getScalePropTypesByAttribute)("color"),{width:_propTypes2.default.number,height:_propTypes2.default.number,data:_propTypes2.default.arrayOf(_propTypes2.default.oneOfType([_propTypes2.default.object,_propTypes2.default.array])),onValueMouseOver:_propTypes2.default.func,onValueMouseOut:_propTypes2.default.func,onValueClick:_propTypes2.default.func,onValueRightClick:_propTypes2.default.func,onSeriesMouseOver:_propTypes2.default.func,onSeriesMouseOut:_propTypes2.default.func,onSeriesClick:_propTypes2.default.func,onSeriesRightClick:_propTypes2.default.func,onNearestX:_propTypes2.default.func,onNearestXY:_propTypes2.default.func,style:_propTypes2.default.object,animation:_animation.AnimationPropType,stack:_propTypes2.default.bool});var defaultProps={className:"",stack:false,style:{}};var AbstractSeries=function(_PureComponent){_inherits(AbstractSeries,_PureComponent);_createClass(AbstractSeries,null,[{key:"getParentConfig",value:function getParentConfig(){return{}}},{key:"requiresSVG",get:function get(){return true}}]);function AbstractSeries(props){_classCallCheck(this,AbstractSeries);var _this=_possibleConstructorReturn(this,(AbstractSeries.__proto__||Object.getPrototypeOf(AbstractSeries)).call(this,props));_this._seriesMouseOverHandler=_this._seriesMouseOverHandler.bind(_this);_this._valueMouseOverHandler=_this._valueMouseOverHandler.bind(_this);_this._seriesMouseOutHandler=_this._seriesMouseOutHandler.bind(_this);_this._valueMouseOutHandler=_this._valueMouseOutHandler.bind(_this);_this._seriesClickHandler=_this._seriesClickHandler.bind(_this);_this._valueClickHandler=_this._valueClickHandler.bind(_this);_this._seriesRightClickHandler=_this._seriesRightClickHandler.bind(_this);_this._valueRightClickHandler=_this._valueRightClickHandler.bind(_this);return _this}_createClass(AbstractSeries,[{key:"_valueMouseOverHandler",value:function _valueMouseOverHandler(d,event){var _props=this.props,onValueMouseOver=_props.onValueMouseOver,onSeriesMouseOver=_props.onSeriesMouseOver;onValueMouseOver&&onValueMouseOver(d,{event:event});onSeriesMouseOver&&onSeriesMouseOver({event:event})}},{key:"_seriesMouseOverHandler",value:function _seriesMouseOverHandler(event){var onSeriesMouseOver=this.props.onSeriesMouseOver;onSeriesMouseOver&&onSeriesMouseOver({event:event})}},{key:"_valueMouseOutHandler",value:function _valueMouseOutHandler(d,event){var _props2=this.props,onValueMouseOut=_props2.onValueMouseOut,onSeriesMouseOut=_props2.onSeriesMouseOut;onValueMouseOut&&onValueMouseOut(d,{event:event});onSeriesMouseOut&&onSeriesMouseOut({event:event})}},{key:"_seriesMouseOutHandler",value:function _seriesMouseOutHandler(event){var onSeriesMouseOut=this.props.onSeriesMouseOut;onSeriesMouseOut&&onSeriesMouseOut({event:event})}},{key:"_valueClickHandler",value:function _valueClickHandler(d,event){var _props3=this.props,onValueClick=_props3.onValueClick,onSeriesClick=_props3.onSeriesClick;onValueClick&&onValueClick(d,{event:event});onSeriesClick&&onSeriesClick({event:event})}},{key:"_valueRightClickHandler",value:function _valueRightClickHandler(d,event){var _props4=this.props,onValueRightClick=_props4.onValueRightClick,onSeriesRightClick=_props4.onSeriesRightClick;onValueRightClick&&onValueRightClick(d,{event:event});onSeriesRightClick&&onSeriesRightClick({event:event})}},{key:"_seriesClickHandler",value:function _seriesClickHandler(event){var onSeriesClick=this.props.onSeriesClick;onSeriesClick&&onSeriesClick({event:event})}},{key:"_seriesRightClickHandler",value:function _seriesRightClickHandler(event){var onSeriesRightClick=this.props.onSeriesRightClick;onSeriesRightClick&&onSeriesRightClick({event:event})}},{key:"_getAttributeFunctor",value:function _getAttributeFunctor(attr){return(0,_scalesUtils.getAttributeFunctor)(this.props,attr)}},{key:"_getAttr0Functor",value:function _getAttr0Functor(attr){return(0,_scalesUtils.getAttr0Functor)(this.props,attr)}},{key:"_getAttributeValue",value:function _getAttributeValue(attr){return(0,_scalesUtils.getAttributeValue)(this.props,attr)}},{key:"_getScaleDistance",value:function _getScaleDistance(attr){var scaleObject=(0,_scalesUtils.getScaleObjectFromProps)(this.props,attr);return scaleObject?scaleObject.distance:0}},{key:"_getXYCoordinateInContainer",value:function _getXYCoordinateInContainer(event){var _props5=this.props,_props5$marginTop=_props5.marginTop,marginTop=void 0===_props5$marginTop?0:_props5$marginTop,_props5$marginLeft=_props5.marginLeft,marginLeft=void 0===_props5$marginLeft?0:_props5$marginLeft;var evt=event.nativeEvent,currentTarget=event.currentTarget;var rect=currentTarget.getBoundingClientRect();var x=evt.clientX;var y=evt.clientY;if("touchmove"===evt.type){x=evt.touches[0].pageX;y=evt.touches[0].pageY}return{x:x-rect.left-currentTarget.clientLeft-marginLeft,y:y-rect.top-currentTarget.clientTop-marginTop}}},{key:"_handleNearestX",value:function _handleNearestX(event){var _props6=this.props,onNearestX=_props6.onNearestX,data=_props6.data;var minDistance=Number.POSITIVE_INFINITY;var value=null;var valueIndex=null;var coordinate=this._getXYCoordinateInContainer(event);var xScaleFn=this._getAttributeFunctor("x");data.forEach(function(item,i){var currentCoordinate=xScaleFn(item);var newDistance=Math.abs(coordinate.x-currentCoordinate);if(newDistance<minDistance){minDistance=newDistance;value=item;valueIndex=i}});if(!value)return;onNearestX(value,{innerX:xScaleFn(value),index:valueIndex,event:event.nativeEvent})}},{key:"_handleNearestXY",value:function _handleNearestXY(event){var _props7=this.props,onNearestXY=_props7.onNearestXY,data=_props7.data;var coordinate=this._getXYCoordinateInContainer(event);var xScaleFn=this._getAttributeFunctor("x");var yScaleFn=this._getAttributeFunctor("y");var voronoiInstance=(0,_d3Voronoi.voronoi)().x(xScaleFn).y(yScaleFn);var foundPoint=voronoiInstance(data).find(coordinate.x,coordinate.y);var value=foundPoint.data;if(!value)return;onNearestXY(value,{innerX:foundPoint.x,innerY:foundPoint.y,index:foundPoint.index,event:event.nativeEvent})}},{key:"onParentMouseMove",value:function onParentMouseMove(event){var _props8=this.props,onNearestX=_props8.onNearestX,onNearestXY=_props8.onNearestXY,data=_props8.data;if(!onNearestX&&!onNearestXY||!data)return;onNearestXY?this._handleNearestXY(event):this._handleNearestX(event)}},{key:"onParentTouchMove",value:function onParentTouchMove(e){e.preventDefault();this.onParentMouseMove(e)}},{key:"onParentTouchStart",value:function onParentTouchStart(e){e.preventDefault()}}]);return AbstractSeries}(_react.PureComponent);AbstractSeries.displayName="AbstractSeries";AbstractSeries.propTypes=propTypes;AbstractSeries.defaultProps=defaultProps;exports.default=AbstractSeries},function(module,exports){module.exports=function(it){return"object"===typeof it?null!==it:"function"===typeof it}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiI18n",{enumerable:true,get:function get(){return _i18n.EuiI18n}});Object.defineProperty(exports,"EuiI18nNumber",{enumerable:true,get:function get(){return _i18n_number.EuiI18nNumber}});var _i18n=__webpack_require__(1092);var _i18n_number=__webpack_require__(1097)},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.default=function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(1639)()},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.AnimationPropType=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.extractAnimatedPropValues=extractAnimatedPropValues;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Interpolate=__webpack_require__(442);var _reactMotion=__webpack_require__(1854);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var ANIMATION_PROPTYPES=_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.shape({stiffness:_propTypes2.default.number,nonAnimatedProps:_propTypes2.default.arrayOf(_propTypes2.default.string),damping:_propTypes2.default.number}),_propTypes2.default.bool]);var propTypes={animatedProps:_propTypes2.default.arrayOf(_propTypes2.default.string).isRequired,animation:ANIMATION_PROPTYPES,onStart:_propTypes2.default.func,onEnd:_propTypes2.default.func};function getAnimationStyle(){var animationStyle=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_reactMotion.presets.noWobble;if("string"===typeof animationStyle)return _reactMotion.presets[animationStyle]||_reactMotion.presets.noWobble;var damping=animationStyle.damping,stiffness=animationStyle.stiffness;return _extends({damping:damping||_reactMotion.presets.noWobble.damping,stiffness:stiffness||_reactMotion.presets.noWobble.stiffness},animationStyle)}function extractAnimatedPropValues(props){var animatedProps=props.animatedProps,otherProps=_objectWithoutProperties(props,["animatedProps"]);return animatedProps.reduce(function(result,animatedPropName){otherProps.hasOwnProperty(animatedPropName)&&(result[animatedPropName]=otherProps[animatedPropName]);return result},{})}var Animation=function(_PureComponent){_inherits(Animation,_PureComponent);function Animation(props){_classCallCheck(this,Animation);var _this=_possibleConstructorReturn(this,(Animation.__proto__||Object.getPrototypeOf(Animation)).call(this,props));_this._updateInterpolator(props);_this._renderChildren=_this._renderChildren.bind(_this);_this._motionEndHandler=_this._motionEndHandler.bind(_this);return _this}_createClass(Animation,[{key:"componentWillUpdate",value:function componentWillUpdate(props){this._updateInterpolator(this.props,props);props.onStart&&props.onStart()}},{key:"_updateInterpolator",value:function _updateInterpolator(oldProps,newProps){this._interpolator=(0,_d3Interpolate.interpolate)(extractAnimatedPropValues(oldProps),newProps?extractAnimatedPropValues(newProps):null)}},{key:"_renderChildren",value:function _renderChildren(_ref){var i=_ref.i;var children=this.props.children;var interpolator=this._interpolator;var child=_react2.default.Children.only(children);var interpolatedProps=interpolator?interpolator(i):interpolator;var data=interpolatedProps&&interpolatedProps.data||null;data&&child.props._data&&(data=data.map(function(row,index){var correspondingCell=child.props._data[index];return _extends({},row,{parent:correspondingCell.parent,children:correspondingCell.children})}));return _react2.default.cloneElement(child,_extends({},child.props,interpolatedProps,{data:data||child.props.data||null,_animation:Math.random()}))}},{key:"_motionEndHandler",value:function _motionEndHandler(){this.props.onEnd&&this.props.onEnd()}},{key:"render",value:function render(){var animationStyle=getAnimationStyle(this.props.animation);var defaultStyle={i:0};var style={i:(0,_reactMotion.spring)(1,animationStyle)};var key=Math.random();return _react2.default.createElement(_reactMotion.Motion,_extends({defaultStyle:defaultStyle,style:style,key:key},{onRest:this._motionEndHandler}),this._renderChildren)}}]);return Animation}(_react.PureComponent);Animation.propTypes=propTypes;Animation.displayName="Animation";exports.default=Animation;exports.AnimationPropType=ANIMATION_PROPTYPES},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _Alpha=__webpack_require__(1413);Object.defineProperty(exports,"Alpha",{enumerable:true,get:function get(){return _interopRequireDefault(_Alpha).default}});var _Checkboard=__webpack_require__(627);Object.defineProperty(exports,"Checkboard",{enumerable:true,get:function get(){return _interopRequireDefault(_Checkboard).default}});var _EditableInput=__webpack_require__(1416);Object.defineProperty(exports,"EditableInput",{enumerable:true,get:function get(){return _interopRequireDefault(_EditableInput).default}});var _Hue=__webpack_require__(1417);Object.defineProperty(exports,"Hue",{enumerable:true,get:function get(){return _interopRequireDefault(_Hue).default}});var _Raised=__webpack_require__(1419);Object.defineProperty(exports,"Raised",{enumerable:true,get:function get(){return _interopRequireDefault(_Raised).default}});var _Saturation=__webpack_require__(1422);Object.defineProperty(exports,"Saturation",{enumerable:true,get:function get(){return _interopRequireDefault(_Saturation).default}});var _ColorWrap=__webpack_require__(630);Object.defineProperty(exports,"ColorWrap",{enumerable:true,get:function get(){return _interopRequireDefault(_ColorWrap).default}});var _Swatch=__webpack_require__(1449);Object.defineProperty(exports,"Swatch",{enumerable:true,get:function get(){return _interopRequireDefault(_Swatch).default}});function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _defineProperty=__webpack_require__(667);var _defineProperty2=_interopRequireDefault(_defineProperty);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);(0,_defineProperty2.default)(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}()},function(module,exports){var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _ast__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(360);__webpack_require__.d(__webpack_exports__,"fromLiteralExpression",function(){return _ast__WEBPACK_IMPORTED_MODULE_0__["fromLiteralExpression"]});__webpack_require__.d(__webpack_exports__,"fromLegacyKueryExpression",function(){return _ast__WEBPACK_IMPORTED_MODULE_0__["fromLegacyKueryExpression"]});__webpack_require__.d(__webpack_exports__,"fromKueryExpression",function(){return _ast__WEBPACK_IMPORTED_MODULE_0__["fromKueryExpression"]});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return _ast__WEBPACK_IMPORTED_MODULE_0__["toElasticsearchQuery"]});__webpack_require__.d(__webpack_exports__,"doesKueryExpressionHaveLuceneSyntaxError",function(){return _ast__WEBPACK_IMPORTED_MODULE_0__["doesKueryExpressionHaveLuceneSyntaxError"]})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(3);__webpack_require__(4);__webpack_require__(2);Object.defineProperty(exports,"__esModule",{value:true});var _common_predicates=__webpack_require__(1059);Object.keys(_common_predicates).forEach(function(key){if("default"===key||"__esModule"===key)return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _common_predicates[key]}})});var _lodash_predicates=__webpack_require__(569);Object.keys(_lodash_predicates).forEach(function(key){if("default"===key||"__esModule"===key)return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _lodash_predicates[key]}})})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);module.exports=function(it){if(!isObject(it))throw TypeError(it+" is not an object!");return it}},function(module,exports,__webpack_require__){var store=__webpack_require__(367)("wks");var uid=__webpack_require__(223);var Symbol=__webpack_require__(55).Symbol;var USE_SYMBOL="function"==typeof Symbol;var $exports=module.exports=function(name){return store[name]||(store[name]=USE_SYMBOL&&Symbol[name]||(USE_SYMBOL?Symbol:uid)("Symbol."+name))};$exports.store=store},function(module,exports,__webpack_require__){var global=__webpack_require__(55);var core=__webpack_require__(145);var hide=__webpack_require__(125);var redefine=__webpack_require__(110);var ctx=__webpack_require__(149);var PROTOTYPE="prototype";var $export=function(type,name,source){var IS_FORCED=type&$export.F;var IS_GLOBAL=type&$export.G;var IS_STATIC=type&$export.S;var IS_PROTO=type&$export.P;var IS_BIND=type&$export.B;var target=IS_GLOBAL?global:IS_STATIC?global[name]||(global[name]={}):(global[name]||{})[PROTOTYPE];var exports=IS_GLOBAL?core:core[name]||(core[name]={});var expProto=exports[PROTOTYPE]||(exports[PROTOTYPE]={});var key,own,out,exp;IS_GLOBAL&&(source=name);for(key in source){own=!IS_FORCED&&target&&void 0!==target[key];out=(own?target:source)[key];exp=IS_BIND&&own?ctx(out,global):IS_PROTO&&"function"==typeof out?ctx(Function.call,out):out;target&&redefine(target,key,out,type&$export.U);exports[key]!=out&&hide(exports,key,exp);IS_PROTO&&expProto[key]!=out&&(expProto[key]=out)}};global.core=core;$export.F=1;$export.G=2;$export.S=4;$export.P=8;$export.B=16;$export.W=32;$export.U=64;$export.R=128;module.exports=$export},function(module,exports,__webpack_require__){"use strict";__webpack_require__(563);var anObject=__webpack_require__(77);var $flags=__webpack_require__(378);var DESCRIPTORS=__webpack_require__(78);var TO_STRING="toString";var $toString=/./[TO_STRING];var define=function(fn){__webpack_require__(110)(RegExp.prototype,TO_STRING,fn,true)};__webpack_require__(64)(function(){return"/a/b"!=$toString.call({source:"a",flags:"b"})})?define(function toString(){var R=anObject(this);return"/".concat(R.source,"/","flags"in R?R.flags:!DESCRIPTORS&&R instanceof RegExp?$flags.call(R):void 0)}):$toString.name!=TO_STRING&&define(function toString(){return $toString.call(this)})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"COLORS",{enumerable:true,get:function get(){return _button.COLORS}});Object.defineProperty(exports,"EuiButton",{enumerable:true,get:function get(){return _button.EuiButton}});Object.defineProperty(exports,"EuiButtonEmpty",{enumerable:true,get:function get(){return _button_empty.EuiButtonEmpty}});Object.defineProperty(exports,"EuiButtonIcon",{enumerable:true,get:function get(){return _button_icon.EuiButtonIcon}});Object.defineProperty(exports,"EuiButtonToggle",{enumerable:true,get:function get(){return _button_toggle.EuiButtonToggle}});Object.defineProperty(exports,"EuiButtonGroup",{enumerable:true,get:function get(){return _button_group.EuiButtonGroup}});var _button=__webpack_require__(589);var _button_empty=__webpack_require__(386);var _button_icon=__webpack_require__(1104);var _button_toggle=__webpack_require__(593);var _button_group=__webpack_require__(1107)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var DISCRETE_COLOR_RANGE=exports.DISCRETE_COLOR_RANGE=["#12939A","#79C7E3","#1A3177","#FF9833","#EF5D28"];exports.EXTENDED_DISCRETE_COLOR_RANGE=["#19CDD7","#DDB27C","#88572C","#FF991F","#F15C17","#223F9A","#DA70BF","#125C77","#4DC19C","#776E57","#12939A","#17B8BE","#F6D18A","#B7885E","#FFCB99","#F89570","#829AE3","#E79FD5","#1E96BE","#89DAC1","#B3AD9E"];exports.CONTINUOUS_COLOR_RANGE=["#EF5D28","#FF9833"];exports.SIZE_RANGE=[1,10];exports.OPACITY_RANGE=[.1,1];exports.OPACITY_TYPE="literal";exports.DEFAULT_OPACITY=1;exports.DEFAULT_SIZE=5;exports.DEFAULT_COLOR=DISCRETE_COLOR_RANGE[0];exports.DEFAULT_TICK_SIZE=7},function(module,exports,__webpack_require__){var store=__webpack_require__(465)("wks");var uid=__webpack_require__(167);var Symbol=__webpack_require__(36).Symbol;var USE_SYMBOL="function"==typeof Symbol;var $exports=module.exports=function(name){return store[name]||(store[name]=USE_SYMBOL&&Symbol[name]||(USE_SYMBOL?Symbol:uid)("Symbol."+name))};$exports.store=store},function(module,exports){var core=module.exports={version:"2.5.3"};"number"==typeof __e&&(__e=core)},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _typeof2=__webpack_require__(238);var _typeof3=_interopRequireDefault(_typeof2);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=function(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==("undefined"===typeof call?"undefined":(0,_typeof3.default)(call))&&"function"!==typeof call?self:call}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _setPrototypeOf=__webpack_require__(1626);var _setPrototypeOf2=_interopRequireDefault(_setPrototypeOf);var _create=__webpack_require__(1630);var _create2=_interopRequireDefault(_create);var _typeof2=__webpack_require__(238);var _typeof3=_interopRequireDefault(_typeof2);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=function(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof superClass?"undefined":(0,_typeof3.default)(superClass)));subClass.prototype=(0,_create2.default)(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(_setPrototypeOf2.default?(0,_setPrototypeOf2.default)(subClass,superClass):subClass.__proto__=superClass)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ScaleUtils=exports.AxisUtils=exports.FlexibleHeightXYPlot=exports.FlexibleWidthXYPlot=exports.FlexibleXYPlot=exports.makeWidthFlexible=exports.makeVisFlexible=exports.makeHeightFlexible=exports.Sunburst=exports.Sankey=exports.ParallelCoordinates=exports.RadarChart=exports.RadialChart=exports.Treemap=exports.ContinuousSizeLegend=exports.ContinuousColorLegend=exports.SearchableDiscreteColorLegend=exports.DiscreteColorLegend=exports.Voronoi=exports.HorizontalGridLines=exports.VerticalGridLines=exports.GradientDefs=exports.GridLines=exports.CircularGridLines=exports.YAxis=exports.XAxis=exports.DecorativeAxis=exports.XYPlot=exports.Crosshair=exports.Borders=exports.Hint=exports.LineMarkSeriesCanvas=exports.LineMarkSeries=exports.ArcSeries=exports.AreaSeries=exports.CustomSVGSeries=exports.ContourSeries=exports.HeatmapSeries=exports.WhiskerSeries=exports.MarkSeriesCanvas=exports.MarkSeries=exports.RectSeriesCanvas=exports.RectSeries=exports.PolygonSeries=exports.LabelSeries=exports.HorizontalRectSeriesCanvas=exports.HorizontalRectSeries=exports.VerticalRectSeriesCanvas=exports.VerticalRectSeries=exports.VerticalBarSeriesCanvas=exports.VerticalBarSeries=exports.HorizontalBarSeriesCanvas=exports.HorizontalBarSeries=exports.LineSeriesCanvas=exports.LineSeries=exports.AbstractSeries=void 0;var _makeVisFlexible=__webpack_require__(1845);Object.defineProperty(exports,"makeHeightFlexible",{enumerable:true,get:function get(){return _makeVisFlexible.makeHeightFlexible}});Object.defineProperty(exports,"makeVisFlexible",{enumerable:true,get:function get(){return _makeVisFlexible.makeVisFlexible}});Object.defineProperty(exports,"makeWidthFlexible",{enumerable:true,get:function get(){return _makeVisFlexible.makeWidthFlexible}});Object.defineProperty(exports,"FlexibleXYPlot",{enumerable:true,get:function get(){return _makeVisFlexible.FlexibleXYPlot}});Object.defineProperty(exports,"FlexibleWidthXYPlot",{enumerable:true,get:function get(){return _makeVisFlexible.FlexibleWidthXYPlot}});Object.defineProperty(exports,"FlexibleHeightXYPlot",{enumerable:true,get:function get(){return _makeVisFlexible.FlexibleHeightXYPlot}});var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _lineSeries=__webpack_require__(449);var _lineSeries2=_interopRequireDefault(_lineSeries);var _lineSeriesCanvas=__webpack_require__(756);var _lineSeriesCanvas2=_interopRequireDefault(_lineSeriesCanvas);var _horizontalBarSeries=__webpack_require__(1866);var _horizontalBarSeries2=_interopRequireDefault(_horizontalBarSeries);var _horizontalBarSeriesCanvas=__webpack_require__(1867);var _horizontalBarSeriesCanvas2=_interopRequireDefault(_horizontalBarSeriesCanvas);var _verticalBarSeries=__webpack_require__(1868);var _verticalBarSeries2=_interopRequireDefault(_verticalBarSeries);var _verticalBarSeriesCanvas=__webpack_require__(1869);var _verticalBarSeriesCanvas2=_interopRequireDefault(_verticalBarSeriesCanvas);var _verticalRectSeries=__webpack_require__(759);var _verticalRectSeries2=_interopRequireDefault(_verticalRectSeries);var _verticalRectSeriesCanvas=__webpack_require__(1870);var _verticalRectSeriesCanvas2=_interopRequireDefault(_verticalRectSeriesCanvas);var _horizontalRectSeries=__webpack_require__(1871);var _horizontalRectSeries2=_interopRequireDefault(_horizontalRectSeries);var _horizontalRectSeriesCanvas=__webpack_require__(1872);var _horizontalRectSeriesCanvas2=_interopRequireDefault(_horizontalRectSeriesCanvas);var _labelSeries=__webpack_require__(165);var _labelSeries2=_interopRequireDefault(_labelSeries);var _polygonSeries=__webpack_require__(452);var _polygonSeries2=_interopRequireDefault(_polygonSeries);var _rectSeries=__webpack_require__(450);var _rectSeries2=_interopRequireDefault(_rectSeries);var _rectSeriesCanvas=__webpack_require__(451);var _rectSeriesCanvas2=_interopRequireDefault(_rectSeriesCanvas);var _markSeries=__webpack_require__(453);var _markSeries2=_interopRequireDefault(_markSeries);var _markSeriesCanvas=__webpack_require__(760);var _markSeriesCanvas2=_interopRequireDefault(_markSeriesCanvas);var _whiskerSeries=__webpack_require__(1873);var _whiskerSeries2=_interopRequireDefault(_whiskerSeries);var _heatmapSeries=__webpack_require__(1874);var _heatmapSeries2=_interopRequireDefault(_heatmapSeries);var _contourSeries=__webpack_require__(1875);var _contourSeries2=_interopRequireDefault(_contourSeries);var _customSvgSeries=__webpack_require__(1878);var _customSvgSeries2=_interopRequireDefault(_customSvgSeries);var _areaSeries=__webpack_require__(1879);var _areaSeries2=_interopRequireDefault(_areaSeries);var _arcSeries=__webpack_require__(454);var _arcSeries2=_interopRequireDefault(_arcSeries);var _lineMarkSeries=__webpack_require__(761);var _lineMarkSeries2=_interopRequireDefault(_lineMarkSeries);var _lineMarkSeriesCanvas=__webpack_require__(1880);var _lineMarkSeriesCanvas2=_interopRequireDefault(_lineMarkSeriesCanvas);var _hint=__webpack_require__(1881);var _hint2=_interopRequireDefault(_hint);var _borders=__webpack_require__(1882);var _borders2=_interopRequireDefault(_borders);var _crosshair=__webpack_require__(1883);var _crosshair2=_interopRequireDefault(_crosshair);var _xyPlot=__webpack_require__(133);var _xyPlot2=_interopRequireDefault(_xyPlot);var _decorativeAxis=__webpack_require__(455);var _decorativeAxis2=_interopRequireDefault(_decorativeAxis);var _xAxis=__webpack_require__(1885);var _xAxis2=_interopRequireDefault(_xAxis);var _yAxis=__webpack_require__(1889);var _yAxis2=_interopRequireDefault(_yAxis);var _circularGridLines=__webpack_require__(1890);var _circularGridLines2=_interopRequireDefault(_circularGridLines);var _gridLines=__webpack_require__(456);var _gridLines2=_interopRequireDefault(_gridLines);var _gradientDefs=__webpack_require__(1891);var _gradientDefs2=_interopRequireDefault(_gradientDefs);var _verticalGridLines=__webpack_require__(1892);var _verticalGridLines2=_interopRequireDefault(_verticalGridLines);var _horizontalGridLines=__webpack_require__(1893);var _horizontalGridLines2=_interopRequireDefault(_horizontalGridLines);var _voronoi=__webpack_require__(763);var _voronoi2=_interopRequireDefault(_voronoi);var _discreteColorLegend=__webpack_require__(764);var _discreteColorLegend2=_interopRequireDefault(_discreteColorLegend);var _searchableDiscreteColorLegend=__webpack_require__(1895);var _searchableDiscreteColorLegend2=_interopRequireDefault(_searchableDiscreteColorLegend);var _continuousColorLegend=__webpack_require__(1896);var _continuousColorLegend2=_interopRequireDefault(_continuousColorLegend);var _continuousSizeLegend=__webpack_require__(1897);var _continuousSizeLegend2=_interopRequireDefault(_continuousSizeLegend);var _treemap=__webpack_require__(1898);var _treemap2=_interopRequireDefault(_treemap);var _radialChart=__webpack_require__(1902);var _radialChart2=_interopRequireDefault(_radialChart);var _radarChart=__webpack_require__(1903);var _radarChart2=_interopRequireDefault(_radarChart);var _parallelCoordinates=__webpack_require__(1904);var _parallelCoordinates2=_interopRequireDefault(_parallelCoordinates);var _sankey=__webpack_require__(1905);var _sankey2=_interopRequireDefault(_sankey);var _sunburst=__webpack_require__(1908);var _sunburst2=_interopRequireDefault(_sunburst);var _axisUtils=__webpack_require__(84);var _axisUtils2=_interopRequireDefault(_axisUtils);var _scalesUtils=__webpack_require__(58);var _scalesUtils2=_interopRequireDefault(_scalesUtils);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.AbstractSeries=_abstractSeries2.default;exports.LineSeries=_lineSeries2.default;exports.LineSeriesCanvas=_lineSeriesCanvas2.default;exports.HorizontalBarSeries=_horizontalBarSeries2.default;exports.HorizontalBarSeriesCanvas=_horizontalBarSeriesCanvas2.default;exports.VerticalBarSeries=_verticalBarSeries2.default;exports.VerticalBarSeriesCanvas=_verticalBarSeriesCanvas2.default;exports.VerticalRectSeries=_verticalRectSeries2.default;exports.VerticalRectSeriesCanvas=_verticalRectSeriesCanvas2.default;exports.HorizontalRectSeries=_horizontalRectSeries2.default;exports.HorizontalRectSeriesCanvas=_horizontalRectSeriesCanvas2.default;exports.LabelSeries=_labelSeries2.default;exports.PolygonSeries=_polygonSeries2.default;exports.RectSeries=_rectSeries2.default;exports.RectSeriesCanvas=_rectSeriesCanvas2.default;exports.MarkSeries=_markSeries2.default;exports.MarkSeriesCanvas=_markSeriesCanvas2.default;exports.WhiskerSeries=_whiskerSeries2.default;exports.HeatmapSeries=_heatmapSeries2.default;exports.ContourSeries=_contourSeries2.default;exports.CustomSVGSeries=_customSvgSeries2.default;exports.AreaSeries=_areaSeries2.default;exports.ArcSeries=_arcSeries2.default;exports.LineMarkSeries=_lineMarkSeries2.default;exports.LineMarkSeriesCanvas=_lineMarkSeriesCanvas2.default;exports.Hint=_hint2.default;exports.Borders=_borders2.default;exports.Crosshair=_crosshair2.default;exports.XYPlot=_xyPlot2.default;exports.DecorativeAxis=_decorativeAxis2.default;exports.XAxis=_xAxis2.default;exports.YAxis=_yAxis2.default;exports.CircularGridLines=_circularGridLines2.default;exports.GridLines=_gridLines2.default;exports.GradientDefs=_gradientDefs2.default;exports.VerticalGridLines=_verticalGridLines2.default;exports.HorizontalGridLines=_horizontalGridLines2.default;exports.Voronoi=_voronoi2.default;exports.DiscreteColorLegend=_discreteColorLegend2.default;exports.SearchableDiscreteColorLegend=_searchableDiscreteColorLegend2.default;exports.ContinuousColorLegend=_continuousColorLegend2.default;exports.ContinuousSizeLegend=_continuousSizeLegend2.default;exports.Treemap=_treemap2.default;exports.RadialChart=_radialChart2.default;exports.RadarChart=_radarChart2.default;exports.ParallelCoordinates=_parallelCoordinates2.default;exports.Sankey=_sankey2.default;exports.Sunburst=_sunburst2.default;exports.AxisUtils=_axisUtils2.default;exports.ScaleUtils=_scalesUtils2.default},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ANIMATED_SERIES_PROPS=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.isSeriesChild=isSeriesChild;exports.getSeriesChildren=getSeriesChildren;exports.getStackedData=getStackedData;exports.getSeriesPropsFromChildren=getSeriesPropsFromChildren;exports.getRadialDomain=getRadialDomain;exports.getStackParams=getStackParams;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _theme=__webpack_require__(44);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function isSeriesChild(child){var prototype=child.type.prototype;return prototype instanceof _abstractSeries2.default}function getSeriesChildren(children){return _react2.default.Children.toArray(children).filter(function(child){return child&&isSeriesChild(child)})}function collectSeriesTypesInfo(children){var result={};children.filter(isSeriesChild).forEach(function(child){var displayName=child.type.displayName;var cluster=child.props.cluster;result[displayName]||(result[displayName]={sameTypeTotal:0,sameTypeIndex:0,clusters:new Set});result[displayName].clusters.add(cluster);result[displayName].sameTypeTotal++});return result}function seriesHasAngleRadius(){var data=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!data)return false;return data.some(function(row){return row.radius&&row.angle})}function prepareData(data){if(!seriesHasAngleRadius(data))return data;return data.map(function(row){return _extends({},row,{x:row.radius*Math.cos(row.angle),y:row.radius*Math.sin(row.angle)})})}function getStackedData(children,attr){var areSomeSeriesStacked=children.some(function(series){return series&&series.props.stack});var latestAttrPositions={};return children.reduce(function(accumulator,series,seriesIndex){if(!series){accumulator.push(null);return accumulator}var _series$props=series.props,data=_series$props.data,_series$props$cluster=_series$props.cluster,cluster=void 0===_series$props$cluster?"default":_series$props$cluster,stack=_series$props.stack;var preppedData=prepareData(data,attr);if(!attr||!preppedData||!preppedData.length||areSomeSeriesStacked&&!stack){accumulator.push(preppedData);return accumulator}var attr0=attr+"0";var baseAttr="y"===attr?"x":"y";accumulator.push(preppedData.map(function(d,dIndex){var _extends2,_latestAttrPositions$2;latestAttrPositions[cluster]||(latestAttrPositions[cluster]={});var prevD=latestAttrPositions[cluster][d[baseAttr]];if(!prevD){var _latestAttrPositions$;latestAttrPositions[cluster][d[baseAttr]]=(_latestAttrPositions$={},_defineProperty(_latestAttrPositions$,attr0,d[attr0]),_defineProperty(_latestAttrPositions$,attr,d[attr]),_latestAttrPositions$);return _extends({},d)}var nextD=_extends({},d,(_extends2={},_defineProperty(_extends2,attr0,prevD[attr]),_defineProperty(_extends2,attr,prevD[attr]+d[attr]-(d[attr0]||0)),_extends2));latestAttrPositions[cluster][d[baseAttr]]=(_latestAttrPositions$2={},_defineProperty(_latestAttrPositions$2,attr0,nextD[attr0]),_defineProperty(_latestAttrPositions$2,attr,nextD[attr]),_latestAttrPositions$2);return nextD}));return accumulator},[])}function getSeriesPropsFromChildren(children){var result=[];var seriesTypesInfo=collectSeriesTypesInfo(children);var seriesIndex=0;var _opacityValue=_theme.DEFAULT_OPACITY;children.forEach(function(child){var props=void 0;if(isSeriesChild(child)){var seriesTypeInfo=seriesTypesInfo[child.type.displayName];var _colorValue=_theme.DISCRETE_COLOR_RANGE[seriesIndex%_theme.DISCRETE_COLOR_RANGE.length];props=_extends({},seriesTypeInfo,{seriesIndex:seriesIndex,_colorValue:_colorValue,_opacityValue:_opacityValue});seriesTypeInfo.sameTypeIndex++;seriesIndex++;if(child.props.cluster){props.cluster=child.props.cluster;props.clusters=Array.from(seriesTypeInfo.clusters);props.sameTypeTotal=props.clusters.length;props.sameTypeIndex=props.clusters.indexOf(child.props.cluster)}}result.push(props)});return result}function getRadialDomain(data){return data.reduce(function(res,row){return Math.max(row.radius,res)},0)}exports.ANIMATED_SERIES_PROPS=["xRange","xDomain","x","yRange","yDomain","y","colorRange","colorDomain","color","opacityRange","opacityDomain","opacity","strokeRange","strokeDomain","stroke","fillRange","fillDomain","fill","width","height","marginLeft","marginTop","marginRight","marginBottom","data","angleDomain","angleRange","angle","radiusDomain","radiusRange","radius","innerRadiusDomain","innerRadiusRange","innerRadius"];function getStackParams(props){var _stackBy=props._stackBy,valuePosAttr=props.valuePosAttr,cluster=props.cluster;var _props$sameTypeTotal=props.sameTypeTotal,sameTypeTotal=void 0===_props$sameTypeTotal?1:_props$sameTypeTotal,_props$sameTypeIndex=props.sameTypeIndex,sameTypeIndex=void 0===_props$sameTypeIndex?0:_props$sameTypeIndex;if(_stackBy===valuePosAttr&&!cluster){sameTypeTotal=1;sameTypeIndex=0}return{sameTypeTotal:sameTypeTotal,sameTypeIndex:sameTypeIndex}}},function(module,exports){module.exports=function(exec){try{return!!exec()}catch(e){return true}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var isArray_1=__webpack_require__(68);var isObject_1=__webpack_require__(959);var isFunction_1=__webpack_require__(264);var tryCatch_1=__webpack_require__(99);var errorObject_1=__webpack_require__(89);var UnsubscriptionError_1=__webpack_require__(960);var Subscription=function(){function Subscription(unsubscribe){this.closed=false;this._parent=null;this._parents=null;this._subscriptions=null;unsubscribe&&(this._unsubscribe=unsubscribe)}Subscription.prototype.unsubscribe=function(){var hasErrors=false;var errors;if(this.closed)return;var _a=this,_parent=_a._parent,_parents=_a._parents,_unsubscribe=_a._unsubscribe,_subscriptions=_a._subscriptions;this.closed=true;this._parent=null;this._parents=null;this._subscriptions=null;var index=-1;var len=_parents?_parents.length:0;while(_parent){_parent.remove(this);_parent=++index<len&&_parents[index]||null}if(isFunction_1.isFunction(_unsubscribe)){var trial=tryCatch_1.tryCatch(_unsubscribe).call(this);if(trial===errorObject_1.errorObject){hasErrors=true;errors=errors||(errorObject_1.errorObject.e instanceof UnsubscriptionError_1.UnsubscriptionError?flattenUnsubscriptionErrors(errorObject_1.errorObject.e.errors):[errorObject_1.errorObject.e])}}if(isArray_1.isArray(_subscriptions)){index=-1;len=_subscriptions.length;while(++index<len){var sub=_subscriptions[index];if(isObject_1.isObject(sub)){trial=tryCatch_1.tryCatch(sub.unsubscribe).call(sub);if(trial===errorObject_1.errorObject){hasErrors=true;errors=errors||[];var err=errorObject_1.errorObject.e;err instanceof UnsubscriptionError_1.UnsubscriptionError?errors=errors.concat(flattenUnsubscriptionErrors(err.errors)):errors.push(err)}}}}if(hasErrors)throw new UnsubscriptionError_1.UnsubscriptionError(errors)};Subscription.prototype.add=function(teardown){if(!teardown||teardown===Subscription.EMPTY)return Subscription.EMPTY;if(teardown===this)return this;var subscription=teardown;switch(typeof teardown){case"function":subscription=new Subscription(teardown);case"object":if(subscription.closed||"function"!==typeof subscription.unsubscribe)return subscription;if(this.closed){subscription.unsubscribe();return subscription}if("function"!==typeof subscription._addParent){var tmp=subscription;subscription=new Subscription;subscription._subscriptions=[tmp]}break;default:throw new Error("unrecognized teardown "+teardown+" added to Subscription.")}var subscriptions=this._subscriptions||(this._subscriptions=[]);subscriptions.push(subscription);subscription._addParent(this);return subscription};Subscription.prototype.remove=function(subscription){var subscriptions=this._subscriptions;if(subscriptions){var subscriptionIndex=subscriptions.indexOf(subscription);-1!==subscriptionIndex&&subscriptions.splice(subscriptionIndex,1)}};Subscription.prototype._addParent=function(parent){var _a=this,_parent=_a._parent,_parents=_a._parents;_parent&&_parent!==parent?_parents?-1===_parents.indexOf(parent)&&_parents.push(parent):this._parents=[parent]:this._parent=parent};Subscription.EMPTY=function(empty){empty.closed=true;return empty}(new Subscription);return Subscription}();exports.Subscription=Subscription;function flattenUnsubscriptionErrors(errors){return errors.reduce(function(errs,err){return errs.concat(err instanceof UnsubscriptionError_1.UnsubscriptionError?err.errors:err)},[])}},function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(542)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiFlexGroup",{enumerable:true,get:function get(){return _flex_group.EuiFlexGroup}});Object.defineProperty(exports,"EuiFlexGrid",{enumerable:true,get:function get(){return _flex_grid.EuiFlexGrid}});Object.defineProperty(exports,"EuiFlexItem",{enumerable:true,get:function get(){return _flex_item.EuiFlexItem}});var _flex_group=__webpack_require__(377);var _flex_grid=__webpack_require__(1036);var _flex_item=__webpack_require__(557)},function(module,exports){var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)},function(module,exports,__webpack_require__){"use strict";function makeEmptyFunction(arg){return function(){return arg}}var emptyFunction=function emptyFunction(){};emptyFunction.thatReturns=makeEmptyFunction;emptyFunction.thatReturnsFalse=makeEmptyFunction(false);emptyFunction.thatReturnsTrue=makeEmptyFunction(true);emptyFunction.thatReturnsNull=makeEmptyFunction(null);emptyFunction.thatReturnsThis=function(){return this};emptyFunction.thatReturnsArgument=function(arg){return arg};module.exports=emptyFunction},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _assign=__webpack_require__(676);var _assign2=_interopRequireDefault(_assign);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_assign2.default||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _slicedToArray=function(){function sliceIterator(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{!_n&&_i["return"]&&_i["return"]()}finally{if(_d)throw _e}}return _arr}return function(arr,i){if(Array.isArray(arr))return arr;if(Symbol.iterator in Object(arr))return sliceIterator(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _SCALE_FUNCTIONS;exports._getSmallestDistanceIndex=_getSmallestDistanceIndex;exports.getScaleFnFromScaleObject=getScaleFnFromScaleObject;exports.getDomainByAccessor=getDomainByAccessor;exports._getScaleDistanceAndAdjustedDomain=_getScaleDistanceAndAdjustedDomain;exports._adjustCategoricalScale=_adjustCategoricalScale;exports.getScaleObjectFromProps=getScaleObjectFromProps;exports.getAttributeScale=getAttributeScale;exports.getAttributeFunctor=getAttributeFunctor;exports.getAttr0Functor=getAttr0Functor;exports.getAttributeValue=getAttributeValue;exports.getScalePropTypesByAttribute=getScalePropTypesByAttribute;exports.extractScalePropsFromProps=extractScalePropsFromProps;exports.getMissingScaleProps=getMissingScaleProps;exports.literalScale=literalScale;exports.getFontColorFromBackground=getFontColorFromBackground;exports.getXYPlotValues=getXYPlotValues;exports.getOptionalScaleProps=getOptionalScaleProps;var _d3Scale=__webpack_require__(193);var _d3Array=__webpack_require__(194);var _d3Collection=__webpack_require__(441);var _d3Color=__webpack_require__(163);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _reactUtils=__webpack_require__(245);var _dataUtils=__webpack_require__(1853);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return Array.from(arr)}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var LINEAR_SCALE_TYPE="linear";var ORDINAL_SCALE_TYPE="ordinal";var CATEGORY_SCALE_TYPE="category";var LITERAL_SCALE_TYPE="literal";var LOG_SCALE_TYPE="log";var TIME_SCALE_TYPE="time";var TIME_UTC_SCALE_TYPE="time-utc";var SCALE_FUNCTIONS=(_SCALE_FUNCTIONS={},_defineProperty(_SCALE_FUNCTIONS,LINEAR_SCALE_TYPE,_d3Scale.scaleLinear),_defineProperty(_SCALE_FUNCTIONS,ORDINAL_SCALE_TYPE,_d3Scale.scalePoint),_defineProperty(_SCALE_FUNCTIONS,CATEGORY_SCALE_TYPE,_d3Scale.scaleOrdinal),_defineProperty(_SCALE_FUNCTIONS,LITERAL_SCALE_TYPE,literalScale),_defineProperty(_SCALE_FUNCTIONS,LOG_SCALE_TYPE,_d3Scale.scaleLog),_defineProperty(_SCALE_FUNCTIONS,TIME_SCALE_TYPE,_d3Scale.scaleTime),_defineProperty(_SCALE_FUNCTIONS,TIME_UTC_SCALE_TYPE,_d3Scale.scaleUtc),_SCALE_FUNCTIONS);var XYPLOT_ATTR=["color","fill","opacity","stroke"];function toTitleCase(str){return""+str[0].toUpperCase()+str.slice(1)}function _getSmallestDistanceIndex(values,scaleObject){var scaleFn=getScaleFnFromScaleObject(scaleObject);var result=0;if(scaleFn){var nextValue=void 0;var currentValue=scaleFn(values[0]);var distance=Infinity;var nextDistance=void 0;for(var i=1;i<values.length;i++){nextValue=scaleFn(values[i]);nextDistance=Math.abs(nextValue-currentValue);if(nextDistance<distance){distance=nextDistance;result=i}currentValue=nextValue}}return result}function getScaleFnFromScaleObject(scaleObject){if(!scaleObject)return null;var type=scaleObject.type,domain=scaleObject.domain,range=scaleObject.range;var modDomain=domain[0]===domain[1]?0===domain[0]?[-1,0]:[-domain[0],domain[0]]:domain;if(type===LITERAL_SCALE_TYPE)return literalScale(range[0]);var scale=SCALE_FUNCTIONS[type]().domain(modDomain).range(range);type===ORDINAL_SCALE_TYPE&&scale.padding(.5);return scale}function getDomainByAccessor(allData,accessor,accessor0,type){var domain=void 0;var values=allData.reduce(function(data,d){var value=accessor(d);var value0=accessor0(d);_isDefined(value)&&data.push(value);_isDefined(value0)&&data.push(value0);return data},[]);if(!values.length)return[];domain=type!==ORDINAL_SCALE_TYPE&&type!==CATEGORY_SCALE_TYPE?(0,_d3Array.extent)(values):(0,_d3Collection.set)(values).values();return domain}function _createScaleObjectForValue(attr,value,type,accessor,accessor0){if(type===LITERAL_SCALE_TYPE)return{type:LITERAL_SCALE_TYPE,domain:[],range:[value],distance:0,attr:attr,baseValue:void 0,isValue:true,accessor:accessor};if("undefined"===typeof value)return null;return{type:CATEGORY_SCALE_TYPE,range:[value],domain:[],distance:0,attr:attr,baseValue:void 0,isValue:true,accessor:accessor}}function _createScaleObjectForFunction(_ref){var domain=_ref.domain,range=_ref.range,type=_ref.type,distance=_ref.distance,attr=_ref.attr,baseValue=_ref.baseValue,accessor=_ref.accessor,accessor0=_ref.accessor0;return{domain:domain,range:range,type:type,distance:distance,attr:attr,baseValue:baseValue,isValue:false,accessor:accessor,accessor0:accessor0}}function _collectScaleObjectFromProps(props,attr){var value=props[attr],fallbackValue=props["_"+attr+"Value"],range=props[attr+"Range"],_props$=props[attr+"Distance"],distance=void 0===_props$?0:_props$,baseValue=props[attr+"BaseValue"],_props$2=props[attr+"Type"],type=void 0===_props$2?LINEAR_SCALE_TYPE:_props$2,noFallBack=props[attr+"NoFallBack"],_props$3=props["get"+toTitleCase(attr)],accessor=void 0===_props$3?function(d){return d[attr]}:_props$3,_props$4=props["get"+toTitleCase(attr)+"0"],accessor0=void 0===_props$4?function(d){return d[attr+"0"]}:_props$4;var domain=props[attr+"Domain"];if(!noFallBack&&"undefined"!==typeof value)return _createScaleObjectForValue(attr,value,props[attr+"Type"],accessor,accessor0);"undefined"!==typeof baseValue&&(domain=(0,_dataUtils.addValueToArray)(domain,baseValue));if(!range||!domain||!domain.length)return _createScaleObjectForValue(attr,fallbackValue,props[attr+"Type"],accessor,accessor0);return _createScaleObjectForFunction({domain:domain,range:range,type:type,distance:distance,attr:attr,baseValue:baseValue,accessor:accessor,accessor0:accessor0})}function _computeLeftDomainAdjustment(values){if(values.length>1)return(values[1]-values[0])/2;if(1===values.length)return values[0]-.5;return 0}function _computeRightDomainAdjustment(values){if(values.length>1)return(values[values.length-1]-values[values.length-2])/2;if(1===values.length)return values[0]-.5;return 0}function _computeScaleDistance(values,domain,bestDistIndex,scaleFn){if(values.length>1){var i=Math.max(bestDistIndex,1);return Math.abs(scaleFn(values[i])-scaleFn(values[i-1]))}if(1===values.length)return Math.abs(scaleFn(domain[1])-scaleFn(domain[0]));return 0}function _normalizeValues(data,values,accessor0,type){if(type===TIME_SCALE_TYPE&&1===values.length){var attr0=accessor0(data[0]);return[attr0].concat(_toConsumableArray(values))}return values}function _getScaleDistanceAndAdjustedDomain(data,scaleObject){var domain=scaleObject.domain,type=scaleObject.type,accessor=scaleObject.accessor,accessor0=scaleObject.accessor0;var uniqueValues=(0,_dataUtils.getUniquePropertyValues)(data,accessor);var values=_normalizeValues(data,uniqueValues,accessor0,type);var index=_getSmallestDistanceIndex(values,scaleObject);var adjustedDomain=[].concat(domain);adjustedDomain[0]-=_computeLeftDomainAdjustment(values);adjustedDomain[domain.length-1]+=_computeRightDomainAdjustment(values);type===LOG_SCALE_TYPE&&domain[0]<=0&&(adjustedDomain[0]=Math.min(domain[1]/10,1));var adjustedScaleFn=getScaleFnFromScaleObject(_extends({},scaleObject,{domain:adjustedDomain}));var distance=_computeScaleDistance(values,adjustedDomain,index,adjustedScaleFn);return{domain0:adjustedDomain[0],domainN:adjustedDomain[adjustedDomain.length-1],distance:distance}}function _isScaleAdjustmentPossible(props,scaleObject){var attr=scaleObject.attr;var _props$_adjustBy=props._adjustBy,adjustBy=void 0===_props$_adjustBy?[]:_props$_adjustBy,_props$_adjustWhat=props._adjustWhat,adjustWhat=void 0===_props$_adjustWhat?[]:_props$_adjustWhat;return adjustWhat.length&&adjustBy.length&&-1!==adjustBy.indexOf(attr)}function _adjustContinuousScale(props,scaleObject){var allSeriesData=props._allData,_props$_adjustWhat2=props._adjustWhat,adjustWhat=void 0===_props$_adjustWhat2?[]:_props$_adjustWhat2;var domainLength=scaleObject.domain.length;var domain=scaleObject.domain;var scaleDomain0=domain[0];var scaleDomainN=domain[domainLength-1];var scaleDistance=scaleObject.distance;allSeriesData.forEach(function(data,index){if(-1===adjustWhat.indexOf(index))return;if(data&&data.length){var _getScaleDistanceAndA=_getScaleDistanceAndAdjustedDomain(data,scaleObject),domain0=_getScaleDistanceAndA.domain0,domainN=_getScaleDistanceAndA.domainN,distance=_getScaleDistanceAndA.distance;scaleDomain0=Math.min(scaleDomain0,domain0);scaleDomainN=Math.max(scaleDomainN,domainN);scaleDistance=Math.max(scaleDistance,distance)}});scaleObject.domain=[scaleDomain0].concat(_toConsumableArray(domain.slice(1,-1)),[scaleDomainN]);scaleObject.distance=scaleDistance;return scaleObject}function _adjustCategoricalScale(scaleObject){var scaleFn=getScaleFnFromScaleObject(scaleObject);var domain=scaleObject.domain,range=scaleObject.range;domain.length>1?scaleObject.distance=Math.abs(scaleFn(domain[1])-scaleFn(domain[0])):scaleObject.distance=Math.abs(range[1]-range[0]);return scaleObject}function getScaleObjectFromProps(props,attr){var scaleObject=_collectScaleObjectFromProps(props,attr);if(!scaleObject)return null;if(!_isScaleAdjustmentPossible(props,scaleObject))return scaleObject;var type=scaleObject.type;if(type===ORDINAL_SCALE_TYPE||type===CATEGORY_SCALE_TYPE)return _adjustCategoricalScale(scaleObject);return _adjustContinuousScale(props,scaleObject)}function getAttributeScale(props,attr){var scaleObject=getScaleObjectFromProps(props,attr);return getScaleFnFromScaleObject(scaleObject)}function _getAttrValue(d,accessor){return accessor(d.data?d.data:d)}function _isDefined(value){return"undefined"!==typeof value}function _padDomain(domain,padding){if(!domain)return domain;if(isNaN(parseFloat(domain[0]))||isNaN(parseFloat(domain[1])))return domain;var _domain=_slicedToArray(domain,2),min=_domain[0],max=_domain[1];var domainPadding=.01*padding*(max-min);return[min-domainPadding,max+domainPadding]}function getAttributeFunctor(props,attr){var scaleObject=getScaleObjectFromProps(props,attr);if(scaleObject){var scaleFn=getScaleFnFromScaleObject(scaleObject);return function(d){return scaleFn(_getAttrValue(d,scaleObject.accessor))}}return null}function getAttr0Functor(props,attr){var scaleObject=getScaleObjectFromProps(props,attr);if(scaleObject){var attr0=attr+"0";var domain=scaleObject.domain;var _scaleObject$baseValu=scaleObject.baseValue,baseValue=void 0===_scaleObject$baseValu?domain[0]:_scaleObject$baseValu;var scaleFn=getScaleFnFromScaleObject(scaleObject);return function(d){var value=_getAttrValue(d,function(el){return el[attr0]});return scaleFn(_isDefined(value)?value:baseValue)}}return null}function getAttributeValue(props,attr){var scaleObject=getScaleObjectFromProps(props,attr);if(scaleObject){scaleObject.isValue||void 0!==props["_"+attr+"Value"]||(0,_reactUtils.warning)("[React-vis] Cannot use data defined "+attr+" for this series type. Using fallback value instead.");return props["_"+attr+"Value"]||scaleObject.range[0]}return null}function getScalePropTypesByAttribute(attr){var _ref2;return _ref2={},_defineProperty(_ref2,"_"+attr+"Value",_propTypes2.default.any),_defineProperty(_ref2,attr+"Domain",_propTypes2.default.array),_defineProperty(_ref2,"get"+toTitleCase(attr),_propTypes2.default.func),_defineProperty(_ref2,"get"+toTitleCase(attr)+"0",_propTypes2.default.func),_defineProperty(_ref2,attr+"Range",_propTypes2.default.array),_defineProperty(_ref2,attr+"Type",_propTypes2.default.oneOf(Object.keys(SCALE_FUNCTIONS))),_defineProperty(_ref2,attr+"Distance",_propTypes2.default.number),_defineProperty(_ref2,attr+"BaseValue",_propTypes2.default.any),_ref2}function extractScalePropsFromProps(props,attributes){var result={};Object.keys(props).forEach(function(key){var attr=attributes.find(function(a){var isPlainSet=0===key.indexOf(a);var isUnderscoreSet=0===key.indexOf("_"+a);var usesGet=0===key.indexOf("get"+toTitleCase(a));return isPlainSet||isUnderscoreSet||usesGet});if(!attr)return;result[key]=props[key]});return result}function getMissingScaleProps(props,data,attributes){var result={};attributes.forEach(function(attr){props["get"+toTitleCase(attr)]||(result["get"+toTitleCase(attr)]=function(d){return d[attr]});props["get"+toTitleCase(attr)+"0"]||(result["get"+toTitleCase(attr)+"0"]=function(d){return d[attr+"0"]});if(!props[attr+"Domain"]){result[attr+"Domain"]=getDomainByAccessor(data,props["get"+toTitleCase(attr)]||result["get"+toTitleCase(attr)],props["get"+toTitleCase(attr)+"0"]||result["get"+toTitleCase(attr)+"0"],props[attr+"Type"]);props[attr+"Padding"]&&(result[attr+"Domain"]=_padDomain(result[attr+"Domain"],props[attr+"Padding"]))}});return result}function literalScale(defaultValue){function scale(d){if(void 0===d)return defaultValue;return d}function response(){return scale}scale.domain=response;scale.range=response;scale.unknown=response;scale.copy=response;return scale}function getFontColorFromBackground(background){if(background)return(0,_d3Color.hsl)(background).l>.57?"#222":"#fff";return null}function getXYPlotValues(props,children){var XYPlotScales=XYPLOT_ATTR.reduce(function(prev,attr){var domain=props[attr+"Domain"],range=props[attr+"Range"],type=props[attr+"Type"];if(domain&&range&&type)return _extends({},prev,_defineProperty({},attr,SCALE_FUNCTIONS[type]().domain(domain).range(range)));return prev},{});return children.map(function(child){return XYPLOT_ATTR.reduce(function(prev,attr){if(child.props&&void 0!==child.props[attr]){var scaleInput=child.props[attr];var scale=XYPlotScales[attr];var fallbackValue=scale?scale(scaleInput):scaleInput;return _extends({},prev,_defineProperty({},"_"+attr+"Value",fallbackValue))}return prev},{})})}var OPTIONAL_SCALE_PROPS=["Padding"];var OPTIONAL_SCALE_PROPS_REGS=OPTIONAL_SCALE_PROPS.map(function(str){return new RegExp(str+"$","i")});function getOptionalScaleProps(props){return Object.keys(props).reduce(function(acc,prop){var propIsNotOptional=OPTIONAL_SCALE_PROPS_REGS.every(function(reg){return!prop.match(reg)});if(propIsNotOptional)return acc;acc[prop]=props[prop];return acc},{})}exports.default={extractScalePropsFromProps:extractScalePropsFromProps,getAttributeScale:getAttributeScale,getAttributeFunctor:getAttributeFunctor,getAttr0Functor:getAttr0Functor,getAttributeValue:getAttributeValue,getDomainByAccessor:getDomainByAccessor,getFontColorFromBackground:getFontColorFromBackground,getMissingScaleProps:getMissingScaleProps,getOptionalScaleProps:getOptionalScaleProps,getScaleObjectFromProps:getScaleObjectFromProps,getScalePropTypesByAttribute:getScalePropTypesByAttribute,getXYPlotValues:getXYPlotValues,literalScale:literalScale}},function(module,exports){var process=module.exports={};var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{cachedSetTimeout="function"===typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"===typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0)}try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker)}try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue)return;draining=false;currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1;queue.length&&drainQueue()}function drainQueue(){if(draining)return;var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1;len=queue.length}currentQueue=null;draining=false;runClearTimeout(timeout)}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args));1!==queue.length||draining||runTimeout(drainQueue)};function Item(fun,array){this.fun=fun;this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process.title="browser";process.browser=true;process.env={};process.argv=[];process.version="";process.versions={};function noop(){}process.on=noop;process.addListener=noop;process.once=noop;process.off=noop;process.removeListener=noop;process.removeAllListeners=noop;process.emit=noop;process.prependListener=noop;process.prependOnceListener=noop;process.listeners=function(name){return[]};process.binding=function(name){throw new Error("process.binding is not supported")};process.cwd=function(){return"/"};process.chdir=function(dir){throw new Error("process.chdir is not supported")};process.umask=function(){return 0}},function(module,exports,__webpack_require__){"use strict";var validateFormat=function validateFormat(format){};false;function invariant(condition,format,a,b,c,d,e,f){validateFormat(format);if(!condition){var error;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f];var argIndex=0;error=new Error(format.replace(/%s/g,function(){return args[argIndex++]}));error.name="Invariant Violation"}error.framesToPop=1;throw error}}module.exports=invariant},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(1603),__esModule:true}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(39);var IE8_DOM_DEFINE=__webpack_require__(836);var toPrimitive=__webpack_require__(247);var dP=Object.defineProperty;exports.f=__webpack_require__(85)?Object.defineProperty:function defineProperty(O,P,Attributes){anObject(O);P=toPrimitive(P,true);anObject(Attributes);if(IE8_DOM_DEFINE)try{return dP(O,P,Attributes)}catch(e){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported!");"value"in Attributes&&(O[P]=Attributes.value);return O}},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var Subscriber_1=__webpack_require__(16);var Subscription_1=__webpack_require__(52);var ObjectUnsubscribedError_1=__webpack_require__(353);var SubjectSubscription_1=__webpack_require__(962);var rxSubscriber_1=__webpack_require__(526);var SubjectSubscriber=function(_super){__extends(SubjectSubscriber,_super);function SubjectSubscriber(destination){var _this=_super.call(this,destination)||this;_this.destination=destination;return _this}return SubjectSubscriber}(Subscriber_1.Subscriber);exports.SubjectSubscriber=SubjectSubscriber;var Subject=function(_super){__extends(Subject,_super);function Subject(){var _this=_super.call(this)||this;_this.observers=[];_this.closed=false;_this.isStopped=false;_this.hasError=false;_this.thrownError=null;return _this}Subject.prototype[rxSubscriber_1.rxSubscriber]=function(){return new SubjectSubscriber(this)};Subject.prototype.lift=function(operator){var subject=new AnonymousSubject(this,this);subject.operator=operator;return subject};Subject.prototype.next=function(value){if(this.closed)throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError;if(!this.isStopped){var observers=this.observers;var len=observers.length;var copy=observers.slice();for(var i=0;i<len;i++)copy[i].next(value)}};Subject.prototype.error=function(err){if(this.closed)throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError;this.hasError=true;this.thrownError=err;this.isStopped=true;var observers=this.observers;var len=observers.length;var copy=observers.slice();for(var i=0;i<len;i++)copy[i].error(err);this.observers.length=0};Subject.prototype.complete=function(){if(this.closed)throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError;this.isStopped=true;var observers=this.observers;var len=observers.length;var copy=observers.slice();for(var i=0;i<len;i++)copy[i].complete();this.observers.length=0};Subject.prototype.unsubscribe=function(){this.isStopped=true;this.closed=true;this.observers=null};Subject.prototype._trySubscribe=function(subscriber){if(this.closed)throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError;return _super.prototype._trySubscribe.call(this,subscriber)};Subject.prototype._subscribe=function(subscriber){if(this.closed)throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError;if(this.hasError){subscriber.error(this.thrownError);return Subscription_1.Subscription.EMPTY}if(this.isStopped){subscriber.complete();return Subscription_1.Subscription.EMPTY}this.observers.push(subscriber);return new SubjectSubscription_1.SubjectSubscription(this,subscriber)};Subject.prototype.asObservable=function(){var observable=new Observable_1.Observable;observable.source=this;return observable};Subject.create=function(destination,source){return new AnonymousSubject(destination,source)};return Subject}(Observable_1.Observable);exports.Subject=Subject;var AnonymousSubject=function(_super){__extends(AnonymousSubject,_super);function AnonymousSubject(destination,source){var _this=_super.call(this)||this;_this.destination=destination;_this.source=source;return _this}AnonymousSubject.prototype.next=function(value){var destination=this.destination;destination&&destination.next&&destination.next(value)};AnonymousSubject.prototype.error=function(err){var destination=this.destination;destination&&destination.error&&this.destination.error(err)};AnonymousSubject.prototype.complete=function(){var destination=this.destination;destination&&destination.complete&&this.destination.complete()};AnonymousSubject.prototype._subscribe=function(subscriber){var source=this.source;return source?this.source.subscribe(subscriber):Subscription_1.Subscription.EMPTY};return AnonymousSubject}(Subject);exports.AnonymousSubject=AnonymousSubject},function(module,exports){module.exports=function(exec){try{return!!exec()}catch(e){return true}}},function(module,exports,__webpack_require__){var store=__webpack_require__(417)("wks");var uid=__webpack_require__(305);var Symbol=__webpack_require__(75).Symbol;var USE_SYMBOL="function"==typeof Symbol;var $exports=module.exports=function(name){return store[name]||(store[name]=USE_SYMBOL&&Symbol[name]||(USE_SYMBOL?Symbol:uid)("Symbol."+name))};$exports.store=store},function(module,exports,__webpack_require__){"use strict";(function(global){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 * @license  MIT
 */
var base64=__webpack_require__(2098);var ieee754=__webpack_require__(2099);var isArray=__webpack_require__(833);exports.Buffer=Buffer;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;Buffer.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:typedArraySupport();exports.kMaxLength=kMaxLength();function typedArraySupport(){try{var arr=new Uint8Array(1);arr.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return 42===arr.foo()&&"function"===typeof arr.subarray&&0===arr.subarray(1,1).byteLength}catch(e){return false}}function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function createBuffer(that,length){if(kMaxLength()<length)throw new RangeError("Invalid typed array length");if(Buffer.TYPED_ARRAY_SUPPORT){that=new Uint8Array(length);that.__proto__=Buffer.prototype}else{null===that&&(that=new Buffer(length));that.length=length}return that}function Buffer(arg,encodingOrOffset,length){if(!Buffer.TYPED_ARRAY_SUPPORT&&!(this instanceof Buffer))return new Buffer(arg,encodingOrOffset,length);if("number"===typeof arg){if("string"===typeof encodingOrOffset)throw new Error("If encoding is specified then the first argument must be a string");return allocUnsafe(this,arg)}return from(this,arg,encodingOrOffset,length)}Buffer.poolSize=8192;Buffer._augment=function(arr){arr.__proto__=Buffer.prototype;return arr};function from(that,value,encodingOrOffset,length){if("number"===typeof value)throw new TypeError('"value" argument must not be a number');if("undefined"!==typeof ArrayBuffer&&value instanceof ArrayBuffer)return fromArrayBuffer(that,value,encodingOrOffset,length);if("string"===typeof value)return fromString(that,value,encodingOrOffset);return fromObject(that,value)}Buffer.from=function(value,encodingOrOffset,length){return from(null,value,encodingOrOffset,length)};if(Buffer.TYPED_ARRAY_SUPPORT){Buffer.prototype.__proto__=Uint8Array.prototype;Buffer.__proto__=Uint8Array;"undefined"!==typeof Symbol&&Symbol.species&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:true})}function assertSize(size){if("number"!==typeof size)throw new TypeError('"size" argument must be a number');if(size<0)throw new RangeError('"size" argument must not be negative')}function alloc(that,size,fill,encoding){assertSize(size);if(size<=0)return createBuffer(that,size);if(void 0!==fill)return"string"===typeof encoding?createBuffer(that,size).fill(fill,encoding):createBuffer(that,size).fill(fill);return createBuffer(that,size)}Buffer.alloc=function(size,fill,encoding){return alloc(null,size,fill,encoding)};function allocUnsafe(that,size){assertSize(size);that=createBuffer(that,size<0?0:0|checked(size));if(!Buffer.TYPED_ARRAY_SUPPORT)for(var i=0;i<size;++i)that[i]=0;return that}Buffer.allocUnsafe=function(size){return allocUnsafe(null,size)};Buffer.allocUnsafeSlow=function(size){return allocUnsafe(null,size)};function fromString(that,string,encoding){"string"===typeof encoding&&""!==encoding||(encoding="utf8");if(!Buffer.isEncoding(encoding))throw new TypeError('"encoding" must be a valid string encoding');var length=0|byteLength(string,encoding);that=createBuffer(that,length);var actual=that.write(string,encoding);actual!==length&&(that=that.slice(0,actual));return that}function fromArrayLike(that,array){var length=array.length<0?0:0|checked(array.length);that=createBuffer(that,length);for(var i=0;i<length;i+=1)that[i]=255&array[i];return that}function fromArrayBuffer(that,array,byteOffset,length){array.byteLength;if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError("'offset' is out of bounds");if(array.byteLength<byteOffset+(length||0))throw new RangeError("'length' is out of bounds");array=void 0===byteOffset&&void 0===length?new Uint8Array(array):void 0===length?new Uint8Array(array,byteOffset):new Uint8Array(array,byteOffset,length);if(Buffer.TYPED_ARRAY_SUPPORT){that=array;that.__proto__=Buffer.prototype}else that=fromArrayLike(that,array);return that}function fromObject(that,obj){if(Buffer.isBuffer(obj)){var len=0|checked(obj.length);that=createBuffer(that,len);if(0===that.length)return that;obj.copy(that,0,0,len);return that}if(obj){if("undefined"!==typeof ArrayBuffer&&obj.buffer instanceof ArrayBuffer||"length"in obj){if("number"!==typeof obj.length||isnan(obj.length))return createBuffer(that,0);return fromArrayLike(that,obj)}if("Buffer"===obj.type&&isArray(obj.data))return fromArrayLike(that,obj.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function checked(length){if(length>=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|length}function SlowBuffer(length){+length!=length&&(length=0);return Buffer.alloc(+length)}Buffer.isBuffer=function isBuffer(b){return!!(null!=b&&b._isBuffer)};Buffer.compare=function compare(a,b){if(!Buffer.isBuffer(a)||!Buffer.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;var x=a.length;var y=b.length;for(var i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i];y=b[i];break}if(x<y)return-1;if(y<x)return 1;return 0};Buffer.isEncoding=function isEncoding(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return true;default:return false}};Buffer.concat=function concat(list,length){if(!isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(0===list.length)return Buffer.alloc(0);var i;if(void 0===length){length=0;for(i=0;i<list.length;++i)length+=list[i].length}var buffer=Buffer.allocUnsafe(length);var pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(!Buffer.isBuffer(buf))throw new TypeError('"list" argument must be an Array of Buffers');buf.copy(buffer,pos);pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer.isBuffer(string))return string.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(string)||string instanceof ArrayBuffer))return string.byteLength;"string"!==typeof string&&(string=""+string);var len=string.length;if(0===len)return 0;var loweredCase=false;for(;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":case void 0:return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*len;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase();loweredCase=true}}Buffer.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=false;(void 0===start||start<0)&&(start=0);if(start>this.length)return"";(void 0===end||end>this.length)&&(end=this.length);if(end<=0)return"";end>>>=0;start>>>=0;if(end<=start)return"";encoding||(encoding="utf8");while(true)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase();loweredCase=true}}Buffer.prototype._isBuffer=true;function swap(b,n,m){var i=b[n];b[n]=b[m];b[m]=i}Buffer.prototype.swap16=function swap16(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer.prototype.swap32=function swap32(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4){swap(this,i,i+3);swap(this,i+1,i+2)}return this};Buffer.prototype.swap64=function swap64(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8){swap(this,i,i+7);swap(this,i+1,i+6);swap(this,i+2,i+5);swap(this,i+3,i+4)}return this};Buffer.prototype.toString=function toString(){var length=0|this.length;if(0===length)return"";if(0===arguments.length)return utf8Slice(this,0,length);return slowToString.apply(this,arguments)};Buffer.prototype.equals=function equals(b){if(!Buffer.isBuffer(b))throw new TypeError("Argument must be a Buffer");if(this===b)return true;return 0===Buffer.compare(this,b)};Buffer.prototype.inspect=function inspect(){var str="";var max=exports.INSPECT_MAX_BYTES;if(this.length>0){str=this.toString("hex",0,max).match(/.{2}/g).join(" ");this.length>max&&(str+=" ... ")}return"<Buffer "+str+">"};Buffer.prototype.compare=function compare(target,start,end,thisStart,thisEnd){if(!Buffer.isBuffer(target))throw new TypeError("Argument must be a Buffer");void 0===start&&(start=0);void 0===end&&(end=target?target.length:0);void 0===thisStart&&(thisStart=0);void 0===thisEnd&&(thisEnd=this.length);if(start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;start>>>=0;end>>>=0;thisStart>>>=0;thisEnd>>>=0;if(this===target)return 0;var x=thisEnd-thisStart;var y=end-start;var len=Math.min(x,y);var thisCopy=this.slice(thisStart,thisEnd);var targetCopy=target.slice(start,end);for(var i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i];y=targetCopy[i];break}if(x<y)return-1;if(y<x)return 1;return 0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(0===buffer.length)return-1;if("string"===typeof byteOffset){encoding=byteOffset;byteOffset=0}else byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648);byteOffset=+byteOffset;isNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1);byteOffset<0&&(byteOffset=buffer.length+byteOffset);if(byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0){if(!dir)return-1;byteOffset=0}"string"===typeof val&&(val=Buffer.from(val,encoding));if(Buffer.isBuffer(val)){if(0===val.length)return-1;return arrayIndexOf(buffer,val,byteOffset,encoding,dir)}if("number"===typeof val){val&=255;if(Buffer.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf)return dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset);return arrayIndexOf(buffer,[val],byteOffset,encoding,dir)}throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1;var arrLength=arr.length;var valLength=val.length;if(void 0!==encoding){encoding=String(encoding).toLowerCase();if("ucs2"===encoding||"ucs-2"===encoding||"utf16le"===encoding||"utf-16le"===encoding){if(arr.length<2||val.length<2)return-1;indexSize=2;arrLength/=2;valLength/=2;byteOffset/=2}}function read(buf,i){return 1===indexSize?buf[i]:buf.readUInt16BE(i*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,-1===foundIndex?0:i-foundIndex)){-1===foundIndex&&(foundIndex=i);if(i-foundIndex+1===valLength)return foundIndex*indexSize}else{-1!==foundIndex&&(i-=i-foundIndex);foundIndex=-1}}else{byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength);for(i=byteOffset;i>=0;i--){var found=true;for(var j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=false;break}if(found)return i}}return-1}Buffer.prototype.includes=function includes(val,byteOffset,encoding){return-1!==this.indexOf(val,byteOffset,encoding)};Buffer.prototype.indexOf=function indexOf(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,true)};Buffer.prototype.lastIndexOf=function lastIndexOf(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,false)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;if(length){length=Number(length);length>remaining&&(length=remaining)}else length=remaining;var strLen=string.length;if(strLen%2!==0)throw new TypeError("Invalid hex string");length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(2*i,2),16);if(isNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function latin1Write(buf,string,offset,length){return asciiWrite(buf,string,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer.prototype.write=function write(string,offset,length,encoding){if(void 0===offset){encoding="utf8";length=this.length;offset=0}else if(void 0===length&&"string"===typeof offset){encoding=offset;length=this.length;offset=0}else{if(!isFinite(offset))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");offset|=0;if(isFinite(length)){length|=0;void 0===encoding&&(encoding="utf8")}else{encoding=length;length=void 0}}var remaining=this.length-offset;(void 0===length||length>remaining)&&(length=remaining);if(string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");var loweredCase=false;for(;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":return asciiWrite(this,string,offset,length);case"latin1":case"binary":return latin1Write(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase();loweredCase=true}};Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return 0===start&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);var res=[];var i=start;while(i<end){var firstByte=buf[i];var codePoint=null;var bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1];if(128===(192&secondByte)){tempCodePoint=(31&firstByte)<<6|63&secondByte;tempCodePoint>127&&(codePoint=tempCodePoint)}break;case 3:secondByte=buf[i+1];thirdByte=buf[i+2];if(128===(192&secondByte)&&128===(192&thirdByte)){tempCodePoint=(15&firstByte)<<12|(63&secondByte)<<6|63&thirdByte;tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint)}break;case 4:secondByte=buf[i+1];thirdByte=buf[i+2];fourthByte=buf[i+3];if(128===(192&secondByte)&&128===(192&thirdByte)&&128===(192&fourthByte)){tempCodePoint=(15&firstByte)<<18|(63&secondByte)<<12|(63&thirdByte)<<6|63&fourthByte;tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint)}}}if(null===codePoint){codePoint=65533;bytesPerSequence=1}else if(codePoint>65535){codePoint-=65536;res.push(codePoint>>>10&1023|55296);codePoint=56320|1023&codePoint}res.push(codePoint);i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);var res="";var i=0;while(i<len)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(127&buf[i]);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0);(!end||end<0||end>len)&&(end=len);var out="";for(var i=start;i<end;++i)out+=toHex(buf[i]);return out}function utf16leSlice(buf,start,end){var bytes=buf.slice(start,end);var res="";for(var i=0;i<bytes.length;i+=2)res+=String.fromCharCode(bytes[i]+256*bytes[i+1]);return res}Buffer.prototype.slice=function slice(start,end){var len=this.length;start=~~start;end=void 0===end?len:~~end;if(start<0){start+=len;start<0&&(start=0)}else start>len&&(start=len);if(end<0){end+=len;end<0&&(end=0)}else end>len&&(end=len);end<start&&(end=start);var newBuf;if(Buffer.TYPED_ARRAY_SUPPORT){newBuf=this.subarray(start,end);newBuf.__proto__=Buffer.prototype}else{var sliceLen=end-start;newBuf=new Buffer(sliceLen,void 0);for(var i=0;i<sliceLen;++i)newBuf[i]=this[i+start]}return newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer.prototype.readUIntLE=function readUIntLE(offset,byteLength,noAssert){offset|=0;byteLength|=0;noAssert||checkOffset(offset,byteLength,this.length);var val=this[offset];var mul=1;var i=0;while(++i<byteLength&&(mul*=256))val+=this[offset+i]*mul;return val};Buffer.prototype.readUIntBE=function readUIntBE(offset,byteLength,noAssert){offset|=0;byteLength|=0;noAssert||checkOffset(offset,byteLength,this.length);var val=this[offset+--byteLength];var mul=1;while(byteLength>0&&(mul*=256))val+=this[offset+--byteLength]*mul;return val};Buffer.prototype.readUInt8=function readUInt8(offset,noAssert){noAssert||checkOffset(offset,1,this.length);return this[offset]};Buffer.prototype.readUInt16LE=function readUInt16LE(offset,noAssert){noAssert||checkOffset(offset,2,this.length);return this[offset]|this[offset+1]<<8};Buffer.prototype.readUInt16BE=function readUInt16BE(offset,noAssert){noAssert||checkOffset(offset,2,this.length);return this[offset]<<8|this[offset+1]};Buffer.prototype.readUInt32LE=function readUInt32LE(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+16777216*this[offset+3]};Buffer.prototype.readUInt32BE=function readUInt32BE(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return 16777216*this[offset]+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer.prototype.readIntLE=function readIntLE(offset,byteLength,noAssert){offset|=0;byteLength|=0;noAssert||checkOffset(offset,byteLength,this.length);var val=this[offset];var mul=1;var i=0;while(++i<byteLength&&(mul*=256))val+=this[offset+i]*mul;mul*=128;val>=mul&&(val-=Math.pow(2,8*byteLength));return val};Buffer.prototype.readIntBE=function readIntBE(offset,byteLength,noAssert){offset|=0;byteLength|=0;noAssert||checkOffset(offset,byteLength,this.length);var i=byteLength;var mul=1;var val=this[offset+--i];while(i>0&&(mul*=256))val+=this[offset+--i]*mul;mul*=128;val>=mul&&(val-=Math.pow(2,8*byteLength));return val};Buffer.prototype.readInt8=function readInt8(offset,noAssert){noAssert||checkOffset(offset,1,this.length);if(!(128&this[offset]))return this[offset];return-1*(255-this[offset]+1)};Buffer.prototype.readInt16LE=function readInt16LE(offset,noAssert){noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return 32768&val?4294901760|val:val};Buffer.prototype.readInt16BE=function readInt16BE(offset,noAssert){noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return 32768&val?4294901760|val:val};Buffer.prototype.readInt32LE=function readInt32LE(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer.prototype.readInt32BE=function readInt32BE(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer.prototype.readFloatLE=function readFloatLE(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return ieee754.read(this,offset,true,23,4)};Buffer.prototype.readFloatBE=function readFloatBE(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return ieee754.read(this,offset,false,23,4)};Buffer.prototype.readDoubleLE=function readDoubleLE(offset,noAssert){noAssert||checkOffset(offset,8,this.length);return ieee754.read(this,offset,true,52,8)};Buffer.prototype.readDoubleBE=function readDoubleBE(offset,noAssert){noAssert||checkOffset(offset,8,this.length);return ieee754.read(this,offset,false,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer.prototype.writeUIntLE=function writeUIntLE(value,offset,byteLength,noAssert){value=+value;offset|=0;byteLength|=0;if(!noAssert){var maxBytes=Math.pow(2,8*byteLength)-1;checkInt(this,value,offset,byteLength,maxBytes,0)}var mul=1;var i=0;this[offset]=255&value;while(++i<byteLength&&(mul*=256))this[offset+i]=value/mul&255;return offset+byteLength};Buffer.prototype.writeUIntBE=function writeUIntBE(value,offset,byteLength,noAssert){value=+value;offset|=0;byteLength|=0;if(!noAssert){var maxBytes=Math.pow(2,8*byteLength)-1;checkInt(this,value,offset,byteLength,maxBytes,0)}var i=byteLength-1;var mul=1;this[offset+i]=255&value;while(--i>=0&&(mul*=256))this[offset+i]=value/mul&255;return offset+byteLength};Buffer.prototype.writeUInt8=function writeUInt8(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,1,255,0);Buffer.TYPED_ARRAY_SUPPORT||(value=Math.floor(value));this[offset]=255&value;return offset+1};function objectWriteUInt16(buf,value,offset,littleEndian){value<0&&(value=65535+value+1);for(var i=0,j=Math.min(buf.length-offset,2);i<j;++i)buf[offset+i]=(value&255<<8*(littleEndian?i:1-i))>>>8*(littleEndian?i:1-i)}Buffer.prototype.writeUInt16LE=function writeUInt16LE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,2,65535,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=255&value;this[offset+1]=value>>>8}else objectWriteUInt16(this,value,offset,true);return offset+2};Buffer.prototype.writeUInt16BE=function writeUInt16BE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,2,65535,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>8;this[offset+1]=255&value}else objectWriteUInt16(this,value,offset,false);return offset+2};function objectWriteUInt32(buf,value,offset,littleEndian){value<0&&(value=4294967295+value+1);for(var i=0,j=Math.min(buf.length-offset,4);i<j;++i)buf[offset+i]=value>>>8*(littleEndian?i:3-i)&255}Buffer.prototype.writeUInt32LE=function writeUInt32LE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,4,4294967295,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset+3]=value>>>24;this[offset+2]=value>>>16;this[offset+1]=value>>>8;this[offset]=255&value}else objectWriteUInt32(this,value,offset,true);return offset+4};Buffer.prototype.writeUInt32BE=function writeUInt32BE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,4,4294967295,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>24;this[offset+1]=value>>>16;this[offset+2]=value>>>8;this[offset+3]=255&value}else objectWriteUInt32(this,value,offset,false);return offset+4};Buffer.prototype.writeIntLE=function writeIntLE(value,offset,byteLength,noAssert){value=+value;offset|=0;if(!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=0;var mul=1;var sub=0;this[offset]=255&value;while(++i<byteLength&&(mul*=256)){value<0&&0===sub&&0!==this[offset+i-1]&&(sub=1);this[offset+i]=(value/mul>>0)-sub&255}return offset+byteLength};Buffer.prototype.writeIntBE=function writeIntBE(value,offset,byteLength,noAssert){value=+value;offset|=0;if(!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=byteLength-1;var mul=1;var sub=0;this[offset+i]=255&value;while(--i>=0&&(mul*=256)){value<0&&0===sub&&0!==this[offset+i+1]&&(sub=1);this[offset+i]=(value/mul>>0)-sub&255}return offset+byteLength};Buffer.prototype.writeInt8=function writeInt8(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,1,127,-128);Buffer.TYPED_ARRAY_SUPPORT||(value=Math.floor(value));value<0&&(value=255+value+1);this[offset]=255&value;return offset+1};Buffer.prototype.writeInt16LE=function writeInt16LE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,2,32767,-32768);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=255&value;this[offset+1]=value>>>8}else objectWriteUInt16(this,value,offset,true);return offset+2};Buffer.prototype.writeInt16BE=function writeInt16BE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,2,32767,-32768);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>8;this[offset+1]=255&value}else objectWriteUInt16(this,value,offset,false);return offset+2};Buffer.prototype.writeInt32LE=function writeInt32LE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,4,2147483647,-2147483648);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=255&value;this[offset+1]=value>>>8;this[offset+2]=value>>>16;this[offset+3]=value>>>24}else objectWriteUInt32(this,value,offset,true);return offset+4};Buffer.prototype.writeInt32BE=function writeInt32BE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,4,2147483647,-2147483648);value<0&&(value=4294967295+value+1);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>24;this[offset+1]=value>>>16;this[offset+2]=value>>>8;this[offset+3]=255&value}else objectWriteUInt32(this,value,offset,false);return offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){noAssert||checkIEEE754(buf,value,offset,4,3.4028234663852886e38,-3.4028234663852886e38);ieee754.write(buf,value,offset,littleEndian,23,4);return offset+4}Buffer.prototype.writeFloatLE=function writeFloatLE(value,offset,noAssert){return writeFloat(this,value,offset,true,noAssert)};Buffer.prototype.writeFloatBE=function writeFloatBE(value,offset,noAssert){return writeFloat(this,value,offset,false,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){noAssert||checkIEEE754(buf,value,offset,8,1.7976931348623157e308,-1.7976931348623157e308);ieee754.write(buf,value,offset,littleEndian,52,8);return offset+8}Buffer.prototype.writeDoubleLE=function writeDoubleLE(value,offset,noAssert){return writeDouble(this,value,offset,true,noAssert)};Buffer.prototype.writeDoubleBE=function writeDoubleBE(value,offset,noAssert){return writeDouble(this,value,offset,false,noAssert)};Buffer.prototype.copy=function copy(target,targetStart,start,end){start||(start=0);end||0===end||(end=this.length);targetStart>=target.length&&(targetStart=target.length);targetStart||(targetStart=0);end>0&&end<start&&(end=start);if(end===start)return 0;if(0===target.length||0===this.length)return 0;if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("sourceStart out of bounds");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length);target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;var i;if(this===target&&start<targetStart&&targetStart<end)for(i=len-1;i>=0;--i)target[i+targetStart]=this[i+start];else if(len<1e3||!Buffer.TYPED_ARRAY_SUPPORT)for(i=0;i<len;++i)target[i+targetStart]=this[i+start];else Uint8Array.prototype.set.call(target,this.subarray(start,start+len),targetStart);return len};Buffer.prototype.fill=function fill(val,start,end,encoding){if("string"===typeof val){if("string"===typeof start){encoding=start;start=0;end=this.length}else if("string"===typeof end){encoding=end;end=this.length}if(1===val.length){var code=val.charCodeAt(0);code<256&&(val=code)}if(void 0!==encoding&&"string"!==typeof encoding)throw new TypeError("encoding must be a string");if("string"===typeof encoding&&!Buffer.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding)}else"number"===typeof val&&(val&=255);if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start>>>=0;end=void 0===end?this.length:end>>>0;val||(val=0);var i;if("number"===typeof val)for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer.isBuffer(val)?val:utf8ToBytes(new Buffer(val,encoding).toString());var len=bytes.length;for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+\/0-9A-Za-z-_]/g;function base64clean(str){str=stringtrim(str).replace(INVALID_BASE64_RE,"");if(str.length<2)return"";while(str.length%4!==0)str+="=";return str}function stringtrim(str){if(str.trim)return str.trim();return str.replace(/^\s+|\s+$/g,"")}function toHex(n){if(n<16)return"0"+n.toString(16);return n.toString(16)}function utf8ToBytes(string,units){units=units||Infinity;var codePoint;var length=string.length;var leadSurrogate=null;var bytes=[];for(var i=0;i<length;++i){codePoint=string.charCodeAt(i);if(codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189);leadSurrogate=codePoint;continue}codePoint=65536+(leadSurrogate-55296<<10|codePoint-56320)}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);leadSurrogate=null;if(codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,63&codePoint|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,63&codePoint|128)}else{if(!(codePoint<1114112))throw new Error("Invalid code point");if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,63&codePoint|128)}}return bytes}function asciiToBytes(str){var byteArray=[];for(var i=0;i<str.length;++i)byteArray.push(255&str.charCodeAt(i));return byteArray}function utf16leToBytes(str,units){var c,hi,lo;var byteArray=[];for(var i=0;i<str.length;++i){if((units-=2)<0)break;c=str.charCodeAt(i);hi=c>>8;lo=c%256;byteArray.push(lo);byteArray.push(hi)}return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length;++i){if(i+offset>=dst.length||i>=src.length)break;dst[i+offset]=src[i]}return i}function isnan(val){return val!==val}}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(170);var min=Math.min;module.exports=function(it){return it>0?min(toInteger(it),9007199254740991):0}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.isArray=Array.isArray||function(x){return x&&"number"===typeof x.length}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);exports.EMPTY=new Observable_1.Observable(function(subscriber){return subscriber.complete()});function empty(scheduler){return scheduler?emptyScheduled(scheduler):exports.EMPTY}exports.empty=empty;function emptyScheduled(scheduler){return new Observable_1.Observable(function(subscriber){return scheduler.schedule(function(){return subscriber.complete()})})}exports.emptyScheduled=emptyScheduled},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var AsyncAction_1=__webpack_require__(265);var AsyncScheduler_1=__webpack_require__(266);exports.async=new AsyncScheduler_1.AsyncScheduler(AsyncAction_1.AsyncAction)},function(module,exports){module.exports=function(it){return"object"===typeof it?null!==it:"function"===typeof it}},function(module,exports,__webpack_require__){"use strict";function checkDCE(){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__||"function"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)return;false;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(err){console.error(err)}}true;checkDCE();module.exports=__webpack_require__(1027)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiKeyboardAccessible",{enumerable:true,get:function get(){return _keyboard_accessible.EuiKeyboardAccessible}});Object.defineProperty(exports,"EuiScreenReaderOnly",{enumerable:true,get:function get(){return _screen_reader.EuiScreenReaderOnly}});var _keyboard_accessible=__webpack_require__(1081);var _screen_reader=__webpack_require__(1082)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiText",{enumerable:true,get:function get(){return _text.EuiText}});Object.defineProperty(exports,"EuiTextColor",{enumerable:true,get:function get(){return _text_color.EuiTextColor}});Object.defineProperty(exports,"EuiTextAlign",{enumerable:true,get:function get(){return _text_align.EuiTextAlign}});var _text=__webpack_require__(595);var _text_color=__webpack_require__(596);var _text_align=__webpack_require__(597)},function(module,exports){var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)},function(module,exports,__webpack_require__){var anObject=__webpack_require__(77);var IE8_DOM_DEFINE=__webpack_require__(543);var toPrimitive=__webpack_require__(276);var dP=Object.defineProperty;exports.f=__webpack_require__(78)?Object.defineProperty:function defineProperty(O,P,Attributes){anObject(O);P=toPrimitive(P,true);anObject(Attributes);if(IE8_DOM_DEFINE)try{return dP(O,P,Attributes)}catch(e){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported!");"value"in Attributes&&(O[P]=Attributes.value);return O}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(71);module.exports=function(it){if(!isObject(it))throw TypeError(it+" is not an object!");return it}},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(64)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(module,exports,__webpack_require__){"use strict";var $at=__webpack_require__(1040)(true);__webpack_require__(544)(String,"String",function(iterated){this._t=String(iterated);this._i=0},function(){var O=this._t;var index=this._i;var point;if(index>=O.length)return{value:void 0,done:true};point=$at(O,index);this._i+=point.length;return{value:point,done:false}})},function(module,exports,__webpack_require__){"use strict";var ctx=__webpack_require__(149);var $export=__webpack_require__(41);var toObject=__webpack_require__(151);var call=__webpack_require__(558);var isArrayIter=__webpack_require__(559);var toLength=__webpack_require__(180);var createProperty=__webpack_require__(1041);var getIterFn=__webpack_require__(560);$export($export.S+$export.F*!__webpack_require__(562)(function(iter){Array.from(iter)}),"Array",{from:function from(arrayLike){var O=toObject(arrayLike);var C="function"==typeof this?this:Array;var aLen=arguments.length;var mapfn=aLen>1?arguments[1]:void 0;var mapping=void 0!==mapfn;var index=0;var iterFn=getIterFn(O);var length,result,step,iterator;mapping&&(mapfn=ctx(mapfn,aLen>2?arguments[2]:void 0,2));if(void 0==iterFn||C==Array&&isArrayIter(iterFn)){length=toLength(O.length);for(result=new C(length);length>index;index++)createProperty(result,index,mapping?mapfn(O[index],index):O[index])}else for(iterator=iterFn.call(O),result=new C;!(step=iterator.next()).done;index++)createProperty(result,index,mapping?call(iterator,mapfn,[step.value,index],true):step.value);result.length=index;return result}})},function(module,exports,__webpack_require__){__webpack_require__(282)("match",1,function(defined,MATCH,$match){return[function match(regexp){"use strict";var O=defined(this);var fn=void 0==regexp?void 0:regexp[MATCH];return void 0!==fn?fn.call(regexp,O):new RegExp(regexp)[MATCH](String(O))},$match]})},function(module,exports){module.exports=function(module){if(!module.webpackPolyfill){module.deprecate=function(){};module.paths=[];module.children||(module.children=[]);Object.defineProperty(module,"loaded",{enumerable:true,get:function(){return module.l}});Object.defineProperty(module,"id",{enumerable:true,get:function(){return module.i}});module.webpackPolyfill=1}return module}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.red=void 0;var _each=__webpack_require__(1429);var _each2=_interopRequireDefault(_each);var _tinycolor=__webpack_require__(1448);var _tinycolor2=_interopRequireDefault(_tinycolor);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default={simpleCheckForValidColor:function simpleCheckForValidColor(data){var keysToCheck=["r","g","b","a","h","s","l","v"];var checked=0;var passed=0;(0,_each2.default)(keysToCheck,function(letter){if(data[letter]){checked+=1;isNaN(data[letter])||(passed+=1);if("s"===letter||"l"===letter){var percentPatt=/^\d+%$/;percentPatt.test(data[letter])&&(passed+=1)}}});return checked===passed&&data},toState:function toState(data,oldHue){var color=data.hex?(0,_tinycolor2.default)(data.hex):(0,_tinycolor2.default)(data);var hsl=color.toHsl();var hsv=color.toHsv();var rgb=color.toRgb();var hex=color.toHex();if(0===hsl.s){hsl.h=oldHue||0;hsv.h=oldHue||0}var transparent="000000"===hex&&0===rgb.a;return{hsl:hsl,hex:transparent?"transparent":"#"+hex,rgb:rgb,hsv:hsv,oldHue:data.h||oldHue||hsl.h,source:data.source}},isValidHex:function isValidHex(hex){var lh="#"===String(hex).charAt(0)?1:0;return hex.length!==4+lh&&hex.length<7+lh&&(0,_tinycolor2.default)(hex).isValid()},getContrastingColor:function getContrastingColor(data){if(!data)return"#fff";var col=this.toState(data);if("transparent"===col.hex)return"rgba(0,0,0,0.4)";var yiq=(299*col.rgb.r+587*col.rgb.g+114*col.rgb.b)/1e3;return yiq>=128?"#000":"#fff"}};exports.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.DIRECTION=exports.ORIENTATION=void 0;exports.getTicksTotalFromSize=getTicksTotalFromSize;exports.getTickValues=getTickValues;exports.generateFit=generateFit;exports.generatePoints=generatePoints;exports.getAxisAngle=getAxisAngle;var _d3Array=__webpack_require__(194);var _d3Scale=__webpack_require__(193);var ORIENTATION=exports.ORIENTATION={TOP:"top",LEFT:"left",RIGHT:"right",BOTTOM:"bottom",VERTICAL:"vertical",HORIZONTAL:"horizontal"};var DIRECTION=exports.DIRECTION={VERTICAL:"vertical",HORIZONTAL:"horizontal"};function getTicksTotalFromSize(size){if(size<700){if(size>300)return 10;return 5}return 20}function getTickValues(scale,tickTotal,tickValues){return tickValues||(scale.ticks?scale.ticks(tickTotal):scale.domain())}function generateFit(axisStart,axisEnd){if(axisStart.x===axisEnd.x)return{left:axisStart.y,right:axisEnd.y,slope:0,offset:axisStart.x};var slope=(axisStart.y-axisEnd.y)/(axisStart.x-axisEnd.x);return{left:axisStart.x,right:axisEnd.x,slope:slope,offset:axisStart.y-slope*axisStart.x}}function generatePoints(_ref){var axisStart=_ref.axisStart,axisEnd=_ref.axisEnd,numberOfTicks=_ref.numberOfTicks,axisDomain=_ref.axisDomain;var _generateFit=generateFit(axisStart,axisEnd),left=_generateFit.left,right=_generateFit.right,slope=_generateFit.slope,offset=_generateFit.offset;var pointSlope=(right-left)/numberOfTicks;var axisScale=(0,_d3Scale.scaleLinear)().domain([left,right]).range(axisDomain);var slopeVertical=axisStart.x===axisEnd.x;return{slope:slopeVertical?Infinity:slope,points:(0,_d3Array.range)(left,right+pointSlope,pointSlope).map(function(val){if(slopeVertical)return{y:val,x:slope*val+offset,text:axisScale(val)};return{x:val,y:slope*val+offset,text:axisScale(val)}}).slice(0,numberOfTicks+1)}}function getAxisAngle(axisStart,axisEnd){if(axisStart.x===axisEnd.x)return axisEnd.y>axisStart.y?Math.PI/2:3*Math.PI/2;return Math.atan((axisEnd.y-axisStart.y)/(axisEnd.x-axisStart.x))}exports.default={DIRECTION:DIRECTION,ORIENTATION:ORIENTATION,getTicksTotalFromSize:getTicksTotalFromSize,getTickValues:getTickValues}},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(51)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},function(module,exports){function makeRegistry(base){return{_data:{},add:function(name,func){name=name.toLowerCase();this._data.hasOwnProperty(name);this._data[name]=func},addMultiple:function(functions){Object.keys(functions).forEach(function(name){this.add(name,functions[name])}.bind(this))},get:function(name){return this._data[name]||base&&base.get(name)},inherit:function(){return makeRegistry(this)}}}module.exports=makeRegistry(null)},function(module,exports,__webpack_require__){"use strict";module.exports=whitespace;var fromCode=String.fromCharCode;var re=/\s/;function whitespace(character){return re.test("number"===typeof character?fromCode(character):character.charAt(0))}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.errorObject={e:{}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function isScheduler(value){return value&&"function"===typeof value.schedule}exports.isScheduler=isScheduler},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function map(project,thisArg){return function mapOperation(source){if("function"!==typeof project)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return source.lift(new MapOperator(project,thisArg))}}exports.map=map;var MapOperator=function(){function MapOperator(project,thisArg){this.project=project;this.thisArg=thisArg}MapOperator.prototype.call=function(subscriber,source){return source.subscribe(new MapSubscriber(subscriber,this.project,this.thisArg))};return MapOperator}();exports.MapOperator=MapOperator;var MapSubscriber=function(_super){__extends(MapSubscriber,_super);function MapSubscriber(destination,project,thisArg){var _this=_super.call(this,destination)||this;_this.project=project;_this.count=0;_this.thisArg=thisArg||_this;return _this}MapSubscriber.prototype._next=function(value){var result;try{result=this.project.call(this.thisArg,value,this.count++)}catch(err){this.destination.error(err);return}this.destination.next(result)};return MapSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(41);var $includes=__webpack_require__(546)(true);$export($export.P,"Array",{includes:function includes(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}});__webpack_require__(221)("includes")},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(41);var context=__webpack_require__(577);var INCLUDES="includes";$export($export.P+$export.F*__webpack_require__(578)(INCLUDES),"String",{includes:function includes(searchString){return!!~context(this,searchString,INCLUDES).indexOf(searchString,arguments.length>1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(41);var $find=__webpack_require__(580)(5);var KEY="find";var forced=true;KEY in[]&&Array(1)[KEY](function(){forced=false});$export($export.P+$export.F*forced,"Array",{find:function find(callbackfn){return $find(this,callbackfn,arguments.length>1?arguments[1]:void 0)}});__webpack_require__(221)(KEY)},function(module,exports){var isArray=Array.isArray;module.exports=isArray},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(1420)()},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSeriesChartUtils=exports.CURVE=exports.SCALE=exports.ORIENTATION=void 0;var ORIENTATION={VERTICAL:"vertical",HORIZONTAL:"horizontal",BOTH:"both"};exports.ORIENTATION=ORIENTATION;var SCALE={LINEAR:"linear",ORDINAL:"ordinal",CATEGORY:"category",TIME:"time",TIME_UTC:"time-utc",LOG:"log",LITERAL:"literal"};exports.SCALE=SCALE;var CURVE={LINEAR:"linear",CURVE_CARDINAL:"curveCardinal",CURVE_NATURAL:"curveNatural",CURVE_MONOTONE_X:"curveMonotoneX",CURVE_MONOTONE_Y:"curveMonotoneY",CURVE_BASIS:"curveBasis",CURVE_BUNDLE:"curveBundle",CURVE_CATMULL_ROM:"curveCatmullRom",CURVE_STEP:"curveStep",CURVE_STEP_AFTER:"curveStepAfter",CURVE_STEP_BEFORE:"curveStepBefore"};exports.CURVE=CURVE;var EuiSeriesChartUtils={ORIENTATION:ORIENTATION,SCALE:SCALE,CURVE:CURVE};exports.EuiSeriesChartUtils=EuiSeriesChartUtils},function(module,exports,__webpack_require__){var dP=__webpack_require__(62);var createDesc=__webpack_require__(166);module.exports=__webpack_require__(85)?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){object[key]=value;return object}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var errorObject_1=__webpack_require__(89);var tryCatchTarget;function tryCatcher(){try{return tryCatchTarget.apply(this,arguments)}catch(e){errorObject_1.errorObject.e=e;return errorObject_1.errorObject}}function tryCatch(fn){tryCatchTarget=fn;return tryCatcher}exports.tryCatch=tryCatch},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildNode",function(){return buildNode});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return toElasticsearchQuery});function buildNode(value){return{type:"literal",value:value}}function toElasticsearchQuery(node){return node.value}},function(module,exports,__webpack_require__){var freeGlobal=__webpack_require__(601);var freeSelf="object"==typeof self&&self&&self.Object===Object&&self;var root=freeGlobal||freeSelf||Function("return this")();module.exports=root},function(module,exports,__webpack_require__){var freeGlobal=__webpack_require__(629);var freeSelf="object"==typeof self&&self&&self.Object===Object&&self;var root=freeGlobal||freeSelf||Function("return this")();module.exports=root},function(module,exports){var isArray=Array.isArray;module.exports=isArray},function(module,exports,__webpack_require__){var global=__webpack_require__(75);var core=__webpack_require__(46);var ctx=__webpack_require__(237);var hide=__webpack_require__(159);var PROTOTYPE="prototype";var $export=function(type,name,source){var IS_FORCED=type&$export.F;var IS_GLOBAL=type&$export.G;var IS_STATIC=type&$export.S;var IS_PROTO=type&$export.P;var IS_BIND=type&$export.B;var IS_WRAP=type&$export.W;var exports=IS_GLOBAL?core:core[name]||(core[name]={});var expProto=exports[PROTOTYPE];var target=IS_GLOBAL?global:IS_STATIC?global[name]:(global[name]||{})[PROTOTYPE];var key,own,out;IS_GLOBAL&&(source=name);for(key in source){own=!IS_FORCED&&target&&void 0!==target[key];if(own&&key in exports)continue;out=own?target[key]:source[key];exports[key]=IS_GLOBAL&&"function"!=typeof target[key]?source[key]:IS_BIND&&own?ctx(out,global):IS_WRAP&&target[key]==out?function(C){var F=function(a,b,c){if(this instanceof C){switch(arguments.length){case 0:return new C;case 1:return new C(a);case 2:return new C(a,b)}return new C(a,b,c)}return C.apply(this,arguments)};F[PROTOTYPE]=C[PROTOTYPE];return F}(out):IS_PROTO&&"function"==typeof out?ctx(Function.call,out):out;if(IS_PROTO){(exports.virtual||(exports.virtual={}))[key]=out;type&$export.R&&expProto&&!expProto[key]&&hide(expProto,key,out)}}};$export.F=1;$export.G=2;$export.S=4;$export.P=8;$export.B=16;$export.W=32;$export.U=64;$export.R=128;module.exports=$export},function(module,exports,__webpack_require__){var isObject=__webpack_require__(130);module.exports=function(it){if(!isObject(it))throw TypeError(it+" is not an object!");return it}},function(module,exports,__webpack_require__){var IObject=__webpack_require__(467);var defined=__webpack_require__(169);module.exports=function(it){return IObject(defined(it))}},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var core=__webpack_require__(197);var fails=__webpack_require__(51);module.exports=function(KEY,exec){var fn=(core.Object||{})[KEY]||Object[KEY];var exp={};exp[KEY]=exec(fn);$export($export.S+$export.F*fails(function(){fn(1)}),"Object",exp)}},function(module,exports){module.exports=extend;var hasOwnProperty=Object.prototype.hasOwnProperty;function extend(){var target={};for(var i=0;i<arguments.length;i++){var source=arguments[i];for(var key in source)hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var isPromise_1=__webpack_require__(976);var isArrayLike_1=__webpack_require__(975);var isInteropObservable_1=__webpack_require__(2678);var isIterable_1=__webpack_require__(2679);var fromArray_1=__webpack_require__(143);var fromPromise_1=__webpack_require__(2680);var fromIterable_1=__webpack_require__(2681);var fromObservable_1=__webpack_require__(2682);var subscribeTo_1=__webpack_require__(971);function from(input,scheduler){if(!scheduler){if(input instanceof Observable_1.Observable)return input;return new Observable_1.Observable(subscribeTo_1.subscribeTo(input))}if(null!=input){if(isInteropObservable_1.isInteropObservable(input))return fromObservable_1.fromObservable(input,scheduler);if(isPromise_1.isPromise(input))return fromPromise_1.fromPromise(input,scheduler);if(isArrayLike_1.isArrayLike(input))return fromArray_1.fromArray(input,scheduler);if(isIterable_1.isIterable(input)||"string"===typeof input)return fromIterable_1.fromIterable(input,scheduler)}throw new TypeError((null!==input&&typeof input||input)+" is not observable")}exports.from=from},function(module,exports,__webpack_require__){var global=__webpack_require__(55);var hide=__webpack_require__(125);var has=__webpack_require__(111);var SRC=__webpack_require__(223)("src");var TO_STRING="toString";var $toString=Function[TO_STRING];var TPL=(""+$toString).split(TO_STRING);__webpack_require__(145).inspectSource=function(it){return $toString.call(it)};(module.exports=function(O,key,val,safe){var isFunction="function"==typeof val;isFunction&&(has(val,"name")||hide(val,"name",key));if(O[key]===val)return;isFunction&&(has(val,SRC)||hide(val,SRC,O[key]?""+O[key]:TPL.join(String(key))));if(O===global)O[key]=val;else if(safe)O[key]?O[key]=val:hide(O,key,val);else{delete O[key];hide(O,key,val)}})(Function.prototype,TO_STRING,function toString(){return"function"==typeof this&&this[SRC]||$toString.call(this)})},function(module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiToolTip",{enumerable:true,get:function get(){return _tool_tip.EuiToolTip}});Object.defineProperty(exports,"EuiIconTip",{enumerable:true,get:function get(){return _icon_tip.EuiIconTip}});var _tool_tip=__webpack_require__(586);var _icon_tip=__webpack_require__(1088)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiTitle",{enumerable:true,get:function get(){return _title.EuiTitle}});var _title=__webpack_require__(285)},function(module,exports){function isObjectLike(value){return null!=value&&"object"==typeof value}module.exports=isObjectLike},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiPopover",{enumerable:true,get:function get(){return _popover.EuiPopover}});Object.defineProperty(exports,"EuiPopoverTitle",{enumerable:true,get:function get(){return _popover_title.EuiPopoverTitle}});Object.defineProperty(exports,"EuiWrappingPopover",{enumerable:true,get:function get(){return _wrapping_popover.EuiWrappingPopover}});var _popover=__webpack_require__(413);var _popover_title=__webpack_require__(661);var _wrapping_popover=__webpack_require__(1591)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _bar=__webpack_require__(1990);Object.defineProperty(exports,"KuiBar",{enumerable:true,get:function get(){return _bar.KuiBar}});Object.defineProperty(exports,"KuiBarSection",{enumerable:true,get:function get(){return _bar.KuiBarSection}});var _button=__webpack_require__(812);Object.defineProperty(exports,"KuiButton",{enumerable:true,get:function get(){return _button.KuiButton}});Object.defineProperty(exports,"KuiButtonGroup",{enumerable:true,get:function get(){return _button.KuiButtonGroup}});Object.defineProperty(exports,"KuiButtonIcon",{enumerable:true,get:function get(){return _button.KuiButtonIcon}});Object.defineProperty(exports,"KuiLinkButton",{enumerable:true,get:function get(){return _button.KuiLinkButton}});Object.defineProperty(exports,"KuiSubmitButton",{enumerable:true,get:function get(){return _button.KuiSubmitButton}});var _collapse_button=__webpack_require__(1998);Object.defineProperty(exports,"KuiCollapseButton",{enumerable:true,get:function get(){return _collapse_button.KuiCollapseButton}});var _empty_table_prompt=__webpack_require__(2e3);Object.defineProperty(exports,"KuiEmptyTablePrompt",{enumerable:true,get:function get(){return _empty_table_prompt.KuiEmptyTablePrompt}});Object.defineProperty(exports,"KuiEmptyTablePromptMessage",{enumerable:true,get:function get(){return _empty_table_prompt.KuiEmptyTablePromptMessage}});Object.defineProperty(exports,"KuiEmptyTablePromptPanel",{enumerable:true,get:function get(){return _empty_table_prompt.KuiEmptyTablePromptPanel}});var _expression=__webpack_require__(2004);Object.defineProperty(exports,"KuiExpression",{enumerable:true,get:function get(){return _expression.KuiExpression}});Object.defineProperty(exports,"KuiExpressionButton",{enumerable:true,get:function get(){return _expression.KuiExpressionButton}});var _form_layout=__webpack_require__(2007);Object.defineProperty(exports,"KuiFieldGroup",{enumerable:true,get:function get(){return _form_layout.KuiFieldGroup}});Object.defineProperty(exports,"KuiFieldGroupSection",{enumerable:true,get:function get(){return _form_layout.KuiFieldGroupSection}});var _form=__webpack_require__(2010);Object.defineProperty(exports,"KuiLabel",{enumerable:true,get:function get(){return _form.KuiLabel}});Object.defineProperty(exports,"KuiTextInput",{enumerable:true,get:function get(){return _form.KuiTextInput}});Object.defineProperty(exports,"KuiTextArea",{enumerable:true,get:function get(){return _form.KuiTextArea}});Object.defineProperty(exports,"KuiSelect",{enumerable:true,get:function get(){return _form.KuiSelect}});Object.defineProperty(exports,"KuiCheckBox",{enumerable:true,get:function get(){return _form.KuiCheckBox}});Object.defineProperty(exports,"KuiCheckBoxLabel",{enumerable:true,get:function get(){return _form.KuiCheckBoxLabel}});var _local_nav=__webpack_require__(2021);Object.defineProperty(exports,"KuiLocalNav",{enumerable:true,get:function get(){return _local_nav.KuiLocalNav}});Object.defineProperty(exports,"KuiLocalNavRow",{enumerable:true,get:function get(){return _local_nav.KuiLocalNavRow}});Object.defineProperty(exports,"KuiLocalNavRowSection",{enumerable:true,get:function get(){return _local_nav.KuiLocalNavRowSection}});Object.defineProperty(exports,"KuiLocalTab",{enumerable:true,get:function get(){return _local_nav.KuiLocalTab}});Object.defineProperty(exports,"KuiLocalTabs",{enumerable:true,get:function get(){return _local_nav.KuiLocalTabs}});Object.defineProperty(exports,"KuiLocalTitle",{enumerable:true,get:function get(){return _local_nav.KuiLocalTitle}});var _menu=__webpack_require__(2028);Object.defineProperty(exports,"KuiMenu",{enumerable:true,get:function get(){return _menu.KuiMenu}});Object.defineProperty(exports,"KuiMenuItem",{enumerable:true,get:function get(){return _menu.KuiMenuItem}});var _modal=__webpack_require__(2031);Object.defineProperty(exports,"KUI_MODAL_CANCEL_BUTTON",{enumerable:true,get:function get(){return _modal.KUI_MODAL_CANCEL_BUTTON}});Object.defineProperty(exports,"KUI_MODAL_CONFIRM_BUTTON",{enumerable:true,get:function get(){return _modal.KUI_MODAL_CONFIRM_BUTTON}});Object.defineProperty(exports,"KuiConfirmModal",{enumerable:true,get:function get(){return _modal.KuiConfirmModal}});Object.defineProperty(exports,"KuiModal",{enumerable:true,get:function get(){return _modal.KuiModal}});Object.defineProperty(exports,"KuiModalBody",{enumerable:true,get:function get(){return _modal.KuiModalBody}});Object.defineProperty(exports,"KuiModalFooter",{enumerable:true,get:function get(){return _modal.KuiModalFooter}});Object.defineProperty(exports,"KuiModalHeader",{enumerable:true,get:function get(){return _modal.KuiModalHeader}});Object.defineProperty(exports,"KuiModalHeaderTitle",{enumerable:true,get:function get(){return _modal.KuiModalHeaderTitle}});Object.defineProperty(exports,"KuiModalOverlay",{enumerable:true,get:function get(){return _modal.KuiModalOverlay}});var _outside_click_detector=__webpack_require__(825);Object.defineProperty(exports,"KuiOutsideClickDetector",{enumerable:true,get:function get(){return _outside_click_detector.KuiOutsideClickDetector}});var _pager=__webpack_require__(2044);Object.defineProperty(exports,"KuiPager",{enumerable:true,get:function get(){return _pager.KuiPager}});Object.defineProperty(exports,"KuiPagerButtonGroup",{enumerable:true,get:function get(){return _pager.KuiPagerButtonGroup}});var _panel_simple=__webpack_require__(827);Object.defineProperty(exports,"KuiPanelSimple",{enumerable:true,get:function get(){return _panel_simple.KuiPanelSimple}});var _popover=__webpack_require__(2047);Object.defineProperty(exports,"KuiPopover",{enumerable:true,get:function get(){return _popover.KuiPopover}});Object.defineProperty(exports,"KuiPopoverTitle",{enumerable:true,get:function get(){return _popover.KuiPopoverTitle}});var _tabs=__webpack_require__(2051);Object.defineProperty(exports,"KuiTabs",{enumerable:true,get:function get(){return _tabs.KuiTabs}});Object.defineProperty(exports,"KuiTab",{enumerable:true,get:function get(){return _tabs.KuiTab}});var _table=__webpack_require__(828);Object.defineProperty(exports,"KuiTable",{enumerable:true,get:function get(){return _table.KuiTable}});Object.defineProperty(exports,"KuiControlledTable",{enumerable:true,get:function get(){return _table.KuiControlledTable}});Object.defineProperty(exports,"KuiTableHeaderCell",{enumerable:true,get:function get(){return _table.KuiTableHeaderCell}});Object.defineProperty(exports,"KuiTableRow",{enumerable:true,get:function get(){return _table.KuiTableRow}});Object.defineProperty(exports,"KuiTableRowCell",{enumerable:true,get:function get(){return _table.KuiTableRowCell}});Object.defineProperty(exports,"KuiTableInfo",{enumerable:true,get:function get(){return _table.KuiTableInfo}});Object.defineProperty(exports,"KuiTableRowCheckBoxCell",{enumerable:true,get:function get(){return _table.KuiTableRowCheckBoxCell}});Object.defineProperty(exports,"KuiTableHeaderCheckBoxCell",{enumerable:true,get:function get(){return _table.KuiTableHeaderCheckBoxCell}});Object.defineProperty(exports,"KuiTableHeader",{enumerable:true,get:function get(){return _table.KuiTableHeader}});Object.defineProperty(exports,"KuiTableBody",{enumerable:true,get:function get(){return _table.KuiTableBody}});Object.defineProperty(exports,"KuiListingTable",{enumerable:true,get:function get(){return _table.KuiListingTable}});Object.defineProperty(exports,"KuiListingTableCreateButton",{enumerable:true,get:function get(){return _table.KuiListingTableCreateButton}});Object.defineProperty(exports,"KuiListingTableDeleteButton",{enumerable:true,get:function get(){return _table.KuiListingTableDeleteButton}});Object.defineProperty(exports,"KuiListingTableNoMatchesPrompt",{enumerable:true,get:function get(){return _table.KuiListingTableNoMatchesPrompt}});Object.defineProperty(exports,"KuiListingTableLoadingPrompt",{enumerable:true,get:function get(){return _table.KuiListingTableLoadingPrompt}});var _tool_bar=__webpack_require__(2071);Object.defineProperty(exports,"KuiToolBar",{enumerable:true,get:function get(){return _tool_bar.KuiToolBar}});Object.defineProperty(exports,"KuiToolBarSearchBox",{enumerable:true,get:function get(){return _tool_bar.KuiToolBarSearchBox}});Object.defineProperty(exports,"KuiToolBarFooter",{enumerable:true,get:function get(){return _tool_bar.KuiToolBarFooter}});Object.defineProperty(exports,"KuiToolBarSection",{enumerable:true,get:function get(){return _tool_bar.KuiToolBarSection}});Object.defineProperty(exports,"KuiToolBarFooterSection",{enumerable:true,get:function get(){return _tool_bar.KuiToolBarFooterSection}});Object.defineProperty(exports,"KuiToolBarText",{enumerable:true,get:function get(){return _tool_bar.KuiToolBarText}})},function(module,exports,__webpack_require__){var aFunction=__webpack_require__(168);module.exports=function(fn,that,length){aFunction(fn);if(void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports,__webpack_require__){var defined=__webpack_require__(169);module.exports=function(it){return Object(defined(it))}},function(module,exports,__webpack_require__){var pIE=__webpack_require__(250);var createDesc=__webpack_require__(166);var toIObject=__webpack_require__(106);var toPrimitive=__webpack_require__(247);var has=__webpack_require__(86);var IE8_DOM_DEFINE=__webpack_require__(836);var gOPD=Object.getOwnPropertyDescriptor;exports.f=__webpack_require__(85)?gOPD:function getOwnPropertyDescriptor(O,P){O=toIObject(O);P=toPrimitive(P,true);if(IE8_DOM_DEFINE)try{return gOPD(O,P)}catch(e){}if(has(O,P))return createDesc(!pIE.f.call(O,P),O[P])}},function(module,exports,__webpack_require__){"use strict";if(__webpack_require__(85)){var LIBRARY=__webpack_require__(202);var global=__webpack_require__(36);var fails=__webpack_require__(51);var $export=__webpack_require__(11);var $typed=__webpack_require__(483);var $buffer=__webpack_require__(855);var ctx=__webpack_require__(117);var anInstance=__webpack_require__(206);var propertyDesc=__webpack_require__(166);var hide=__webpack_require__(98);var redefineAll=__webpack_require__(205);var toInteger=__webpack_require__(170);var toLength=__webpack_require__(67);var toIndex=__webpack_require__(856);var toAbsoluteIndex=__webpack_require__(198);var toPrimitive=__webpack_require__(247);var has=__webpack_require__(86);var classof=__webpack_require__(471);var isObject=__webpack_require__(29);var toObject=__webpack_require__(118);var isArrayIter=__webpack_require__(468);var create=__webpack_require__(249);var getPrototypeOf=__webpack_require__(204);var gOPN=__webpack_require__(251).f;var getIterFn=__webpack_require__(470);var uid=__webpack_require__(167);var wks=__webpack_require__(45);var createArrayMethod=__webpack_require__(248);var createArrayIncludes=__webpack_require__(473);var speciesConstructor=__webpack_require__(479);var ArrayIterators=__webpack_require__(472);var Iterators=__webpack_require__(201);var $iterDetect=__webpack_require__(323);var setSpecies=__webpack_require__(325);var arrayFill=__webpack_require__(466);var arrayCopyWithin=__webpack_require__(837);var $DP=__webpack_require__(62);var $GOPD=__webpack_require__(119);var dP=$DP.f;var gOPD=$GOPD.f;var RangeError=global.RangeError;var TypeError=global.TypeError;var Uint8Array=global.Uint8Array;var ARRAY_BUFFER="ArrayBuffer";var SHARED_BUFFER="Shared"+ARRAY_BUFFER;var BYTES_PER_ELEMENT="BYTES_PER_ELEMENT";var PROTOTYPE="prototype";var ArrayProto=Array[PROTOTYPE];var $ArrayBuffer=$buffer.ArrayBuffer;var $DataView=$buffer.DataView;var arrayForEach=createArrayMethod(0);var arrayFilter=createArrayMethod(2);var arraySome=createArrayMethod(3);var arrayEvery=createArrayMethod(4);var arrayFind=createArrayMethod(5);var arrayFindIndex=createArrayMethod(6);var arrayIncludes=createArrayIncludes(true);var arrayIndexOf=createArrayIncludes(false);var arrayValues=ArrayIterators.values;var arrayKeys=ArrayIterators.keys;var arrayEntries=ArrayIterators.entries;var arrayLastIndexOf=ArrayProto.lastIndexOf;var arrayReduce=ArrayProto.reduce;var arrayReduceRight=ArrayProto.reduceRight;var arrayJoin=ArrayProto.join;var arraySort=ArrayProto.sort;var arraySlice=ArrayProto.slice;var arrayToString=ArrayProto.toString;var arrayToLocaleString=ArrayProto.toLocaleString;var ITERATOR=wks("iterator");var TAG=wks("toStringTag");var TYPED_CONSTRUCTOR=uid("typed_constructor");var DEF_CONSTRUCTOR=uid("def_constructor");var ALL_CONSTRUCTORS=$typed.CONSTR;var TYPED_ARRAY=$typed.TYPED;var VIEW=$typed.VIEW;var WRONG_LENGTH="Wrong length!";var $map=createArrayMethod(1,function(O,length){return allocate(speciesConstructor(O,O[DEF_CONSTRUCTOR]),length)});var LITTLE_ENDIAN=fails(function(){return 1===new Uint8Array(new Uint16Array([1]).buffer)[0]});var FORCED_SET=!!Uint8Array&&!!Uint8Array[PROTOTYPE].set&&fails(function(){new Uint8Array(1).set({})});var toOffset=function(it,BYTES){var offset=toInteger(it);if(offset<0||offset%BYTES)throw RangeError("Wrong offset!");return offset};var validate=function(it){if(isObject(it)&&TYPED_ARRAY in it)return it;throw TypeError(it+" is not a typed array!")};var allocate=function(C,length){if(!(isObject(C)&&TYPED_CONSTRUCTOR in C))throw TypeError("It is not a typed array constructor!");return new C(length)};var speciesFromList=function(O,list){return fromList(speciesConstructor(O,O[DEF_CONSTRUCTOR]),list)};var fromList=function(C,list){var index=0;var length=list.length;var result=allocate(C,length);while(length>index)result[index]=list[index++];return result};var addGetter=function(it,key,internal){dP(it,key,{get:function(){return this._d[internal]}})};var $from=function from(source){var O=toObject(source);var aLen=arguments.length;var mapfn=aLen>1?arguments[1]:void 0;var mapping=void 0!==mapfn;var iterFn=getIterFn(O);var i,length,values,result,step,iterator;if(void 0!=iterFn&&!isArrayIter(iterFn)){for(iterator=iterFn.call(O),values=[],i=0;!(step=iterator.next()).done;i++)values.push(step.value);O=values}mapping&&aLen>2&&(mapfn=ctx(mapfn,arguments[2],2));for(i=0,length=toLength(O.length),result=allocate(this,length);length>i;i++)result[i]=mapping?mapfn(O[i],i):O[i];return result};var $of=function of(){var index=0;var length=arguments.length;var result=allocate(this,length);while(length>index)result[index]=arguments[index++];return result};var TO_LOCALE_BUG=!!Uint8Array&&fails(function(){arrayToLocaleString.call(new Uint8Array(1))});var $toLocaleString=function toLocaleString(){return arrayToLocaleString.apply(TO_LOCALE_BUG?arraySlice.call(validate(this)):validate(this),arguments)};var proto={copyWithin:function copyWithin(target,start){return arrayCopyWithin.call(validate(this),target,start,arguments.length>2?arguments[2]:void 0)},every:function every(callbackfn){return arrayEvery(validate(this),callbackfn,arguments.length>1?arguments[1]:void 0)},fill:function fill(value){return arrayFill.apply(validate(this),arguments)},filter:function filter(callbackfn){return speciesFromList(this,arrayFilter(validate(this),callbackfn,arguments.length>1?arguments[1]:void 0))},find:function find(predicate){return arrayFind(validate(this),predicate,arguments.length>1?arguments[1]:void 0)},findIndex:function findIndex(predicate){return arrayFindIndex(validate(this),predicate,arguments.length>1?arguments[1]:void 0)},forEach:function forEach(callbackfn){arrayForEach(validate(this),callbackfn,arguments.length>1?arguments[1]:void 0)},indexOf:function indexOf(searchElement){return arrayIndexOf(validate(this),searchElement,arguments.length>1?arguments[1]:void 0)},includes:function includes(searchElement){return arrayIncludes(validate(this),searchElement,arguments.length>1?arguments[1]:void 0)},join:function join(separator){return arrayJoin.apply(validate(this),arguments)},lastIndexOf:function lastIndexOf(searchElement){return arrayLastIndexOf.apply(validate(this),arguments)},map:function map(mapfn){return $map(validate(this),mapfn,arguments.length>1?arguments[1]:void 0)},reduce:function reduce(callbackfn){return arrayReduce.apply(validate(this),arguments)},reduceRight:function reduceRight(callbackfn){return arrayReduceRight.apply(validate(this),arguments)},reverse:function reverse(){var that=this;var length=validate(that).length;var middle=Math.floor(length/2);var index=0;var value;while(index<middle){value=that[index];that[index++]=that[--length];that[length]=value}return that},some:function some(callbackfn){return arraySome(validate(this),callbackfn,arguments.length>1?arguments[1]:void 0)},sort:function sort(comparefn){return arraySort.call(validate(this),comparefn)},subarray:function subarray(begin,end){var O=validate(this);var length=O.length;var $begin=toAbsoluteIndex(begin,length);return new(speciesConstructor(O,O[DEF_CONSTRUCTOR]))(O.buffer,O.byteOffset+$begin*O.BYTES_PER_ELEMENT,toLength((void 0===end?length:toAbsoluteIndex(end,length))-$begin))}};var $slice=function slice(start,end){return speciesFromList(this,arraySlice.call(validate(this),start,end))};var $set=function set(arrayLike){validate(this);var offset=toOffset(arguments[1],1);var length=this.length;var src=toObject(arrayLike);var len=toLength(src.length);var index=0;if(len+offset>length)throw RangeError(WRONG_LENGTH);while(index<len)this[offset+index]=src[index++]};var $iterators={entries:function entries(){return arrayEntries.call(validate(this))},keys:function keys(){return arrayKeys.call(validate(this))},values:function values(){return arrayValues.call(validate(this))}};var isTAIndex=function(target,key){return isObject(target)&&target[TYPED_ARRAY]&&"symbol"!=typeof key&&key in target&&String(+key)==String(key)};var $getDesc=function getOwnPropertyDescriptor(target,key){return isTAIndex(target,key=toPrimitive(key,true))?propertyDesc(2,target[key]):gOPD(target,key)};var $setDesc=function defineProperty(target,key,desc){if(isTAIndex(target,key=toPrimitive(key,true))&&isObject(desc)&&has(desc,"value")&&!has(desc,"get")&&!has(desc,"set")&&!desc.configurable&&(!has(desc,"writable")||desc.writable)&&(!has(desc,"enumerable")||desc.enumerable)){target[key]=desc.value;return target}return dP(target,key,desc)};if(!ALL_CONSTRUCTORS){$GOPD.f=$getDesc;$DP.f=$setDesc}$export($export.S+$export.F*!ALL_CONSTRUCTORS,"Object",{getOwnPropertyDescriptor:$getDesc,defineProperty:$setDesc});fails(function(){arrayToString.call({})})&&(arrayToString=arrayToLocaleString=function toString(){return arrayJoin.call(this)});var $TypedArrayPrototype$=redefineAll({},proto);redefineAll($TypedArrayPrototype$,$iterators);hide($TypedArrayPrototype$,ITERATOR,$iterators.values);redefineAll($TypedArrayPrototype$,{slice:$slice,set:$set,constructor:function(){},toString:arrayToString,toLocaleString:$toLocaleString});addGetter($TypedArrayPrototype$,"buffer","b");addGetter($TypedArrayPrototype$,"byteOffset","o");addGetter($TypedArrayPrototype$,"byteLength","l");addGetter($TypedArrayPrototype$,"length","e");dP($TypedArrayPrototype$,TAG,{get:function(){return this[TYPED_ARRAY]}});module.exports=function(KEY,BYTES,wrapper,CLAMPED){CLAMPED=!!CLAMPED;var NAME=KEY+(CLAMPED?"Clamped":"")+"Array";var GETTER="get"+KEY;var SETTER="set"+KEY;var TypedArray=global[NAME];var Base=TypedArray||{};var TAC=TypedArray&&getPrototypeOf(TypedArray);var FORCED=!TypedArray||!$typed.ABV;var O={};var TypedArrayPrototype=TypedArray&&TypedArray[PROTOTYPE];var getter=function(that,index){var data=that._d;return data.v[GETTER](index*BYTES+data.o,LITTLE_ENDIAN)};var setter=function(that,index,value){var data=that._d;CLAMPED&&(value=(value=Math.round(value))<0?0:value>255?255:255&value);data.v[SETTER](index*BYTES+data.o,value,LITTLE_ENDIAN)};var addElement=function(that,index){dP(that,index,{get:function(){return getter(this,index)},set:function(value){return setter(this,index,value)},enumerable:true})};if(FORCED){TypedArray=wrapper(function(that,data,$offset,$length){anInstance(that,TypedArray,NAME,"_d");var index=0;var offset=0;var buffer,byteLength,length,klass;if(isObject(data)){if(!(data instanceof $ArrayBuffer||(klass=classof(data))==ARRAY_BUFFER||klass==SHARED_BUFFER))return TYPED_ARRAY in data?fromList(TypedArray,data):$from.call(TypedArray,data);buffer=data;offset=toOffset($offset,BYTES);var $len=data.byteLength;if(void 0===$length){if($len%BYTES)throw RangeError(WRONG_LENGTH);byteLength=$len-offset;if(byteLength<0)throw RangeError(WRONG_LENGTH)}else{byteLength=toLength($length)*BYTES;if(byteLength+offset>$len)throw RangeError(WRONG_LENGTH)}length=byteLength/BYTES}else{length=toIndex(data);byteLength=length*BYTES;buffer=new $ArrayBuffer(byteLength)}hide(that,"_d",{b:buffer,o:offset,l:byteLength,e:length,v:new $DataView(buffer)});while(index<length)addElement(that,index++)});TypedArrayPrototype=TypedArray[PROTOTYPE]=create($TypedArrayPrototype$);hide(TypedArrayPrototype,"constructor",TypedArray)}else if(!fails(function(){TypedArray(1)})||!fails(function(){new TypedArray(-1)})||!$iterDetect(function(iter){new TypedArray;new TypedArray(null);new TypedArray(1.5);new TypedArray(iter)},true)){TypedArray=wrapper(function(that,data,$offset,$length){anInstance(that,TypedArray,NAME);var klass;if(!isObject(data))return new Base(toIndex(data));if(data instanceof $ArrayBuffer||(klass=classof(data))==ARRAY_BUFFER||klass==SHARED_BUFFER)return void 0!==$length?new Base(data,toOffset($offset,BYTES),$length):void 0!==$offset?new Base(data,toOffset($offset,BYTES)):new Base(data);if(TYPED_ARRAY in data)return fromList(TypedArray,data);return $from.call(TypedArray,data)});arrayForEach(TAC!==Function.prototype?gOPN(Base).concat(gOPN(TAC)):gOPN(Base),function(key){key in TypedArray||hide(TypedArray,key,Base[key])});TypedArray[PROTOTYPE]=TypedArrayPrototype;LIBRARY||(TypedArrayPrototype.constructor=TypedArray)}var $nativeIterator=TypedArrayPrototype[ITERATOR];var CORRECT_ITER_NAME=!!$nativeIterator&&("values"==$nativeIterator.name||void 0==$nativeIterator.name);var $iterator=$iterators.values;hide(TypedArray,TYPED_CONSTRUCTOR,true);hide(TypedArrayPrototype,TYPED_ARRAY,NAME);hide(TypedArrayPrototype,VIEW,true);hide(TypedArrayPrototype,DEF_CONSTRUCTOR,TypedArray);(CLAMPED?new TypedArray(1)[TAG]==NAME:TAG in TypedArrayPrototype)||dP(TypedArrayPrototype,TAG,{get:function(){return NAME}});O[NAME]=TypedArray;$export($export.G+$export.W+$export.F*(TypedArray!=Base),O);$export($export.S,NAME,{BYTES_PER_ELEMENT:BYTES});$export($export.S+$export.F*fails(function(){Base.of.call(TypedArray,1)}),NAME,{from:$from,of:$of});BYTES_PER_ELEMENT in TypedArrayPrototype||hide(TypedArrayPrototype,BYTES_PER_ELEMENT,BYTES);$export($export.P,NAME,proto);setSpecies(NAME);$export($export.P+$export.F*FORCED_SET,NAME,{set:$set});$export($export.P+$export.F*!CORRECT_ITER_NAME,NAME,$iterators);LIBRARY||TypedArrayPrototype.toString==arrayToString||(TypedArrayPrototype.toString=arrayToString);$export($export.P+$export.F*fails(function(){new TypedArray(1).slice()}),NAME,{slice:$slice});$export($export.P+$export.F*(fails(function(){return[1,2].toLocaleString()!=new TypedArray([1,2]).toLocaleString()})||!fails(function(){TypedArrayPrototype.toLocaleString.call([1,2])})),NAME,{toLocaleString:$toLocaleString});Iterators[NAME]=CORRECT_ITER_NAME?$nativeIterator:$iterator;LIBRARY||CORRECT_ITER_NAME||hide(TypedArrayPrototype,ITERATOR,$iterator)}}else module.exports=function(){}},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),unitConversions=__webpack_require__(488),Unit=__webpack_require__(872),Color=__webpack_require__(173);var Dimension=function(value,unit){this.value=parseFloat(value);this.unit=unit&&unit instanceof Unit?unit:new Unit(unit?[unit]:void 0)};Dimension.prototype=new Node;Dimension.prototype.type="Dimension";Dimension.prototype.accept=function(visitor){this.unit=visitor.visit(this.unit)};Dimension.prototype.eval=function(context){return this};Dimension.prototype.toColor=function(){return new Color([this.value,this.value,this.value])};Dimension.prototype.genCSS=function(context,output){if(context&&context.strictUnits&&!this.unit.isSingular())throw new Error("Multiple units in dimension. Correct the units or use the unit function. Bad unit: "+this.unit.toString());var value=this.fround(context,this.value),strValue=String(value);0!==value&&value<1e-6&&value>-1e-6&&(strValue=value.toFixed(20).replace(/0+$/,""));if(context&&context.compress){if(0===value&&this.unit.isLength()){output.add(strValue);return}value>0&&value<1&&(strValue=strValue.substr(1))}output.add(strValue);this.unit.genCSS(context,output)};Dimension.prototype.operate=function(context,op,other){var value=this._operate(context,op,this.value,other.value),unit=this.unit.clone();if("+"===op||"-"===op)if(0===unit.numerator.length&&0===unit.denominator.length){unit=other.unit.clone();this.unit.backupUnit&&(unit.backupUnit=this.unit.backupUnit)}else if(0===other.unit.numerator.length&&0===unit.denominator.length);else{other=other.convertTo(this.unit.usedUnits());if(context.strictUnits&&other.unit.toString()!==unit.toString())throw new Error("Incompatible units. Change the units or use the unit function. Bad units: '"+unit.toString()+"' and '"+other.unit.toString()+"'.");value=this._operate(context,op,this.value,other.value)}else if("*"===op){unit.numerator=unit.numerator.concat(other.unit.numerator).sort();unit.denominator=unit.denominator.concat(other.unit.denominator).sort();unit.cancel()}else if("/"===op){unit.numerator=unit.numerator.concat(other.unit.denominator).sort();unit.denominator=unit.denominator.concat(other.unit.numerator).sort();unit.cancel()}return new Dimension(value,unit)};Dimension.prototype.compare=function(other){var a,b;if(!(other instanceof Dimension))return;if(this.unit.isEmpty()||other.unit.isEmpty()){a=this;b=other}else{a=this.unify();b=other.unify();if(0!==a.unit.compare(b.unit))return}return Node.numericCompare(a.value,b.value)};Dimension.prototype.unify=function(){return this.convertTo({length:"px",duration:"s",angle:"rad"})};Dimension.prototype.convertTo=function(conversions){var i,groupName,group,targetUnit,applyUnit,value=this.value,unit=this.unit.clone(),derivedConversions={};if("string"===typeof conversions){for(i in unitConversions)if(unitConversions[i].hasOwnProperty(conversions)){derivedConversions={};derivedConversions[i]=conversions}conversions=derivedConversions}applyUnit=function(atomicUnit,denominator){if(group.hasOwnProperty(atomicUnit)){denominator?value/=group[atomicUnit]/group[targetUnit]:value*=group[atomicUnit]/group[targetUnit];return targetUnit}return atomicUnit};for(groupName in conversions)if(conversions.hasOwnProperty(groupName)){targetUnit=conversions[groupName];group=unitConversions[groupName];unit.map(applyUnit)}unit.cancel();return new Dimension(value,unit)};module.exports=Dimension},function(module,exports){"function"===typeof Object.create?module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:false,writable:true,configurable:true}})}:module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype;ctor.prototype=new TempCtor;ctor.prototype.constructor=ctor}},function(module,exports,__webpack_require__){"use strict";var invariant=function(condition,format,a,b,c,d,e,f){false;if(!condition){var error;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f];var argIndex=0;error=new Error(format.replace(/%s/g,function(){return args[argIndex++]}));error.name="Invariant Violation"}error.framesToPop=1;throw error}};module.exports=invariant},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _moment=__webpack_require__(53);var _moment2=_interopRequireDefault(_moment);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return Array.from(arr)}var unitsMap={ms:{weight:1,type:"fixed",base:1},s:{weight:2,type:"fixed",base:1e3},m:{weight:3,type:"mixed",base:6e4},h:{weight:4,type:"mixed",base:36e5},d:{weight:5,type:"mixed",base:864e5},w:{weight:6,type:"calendar",base:NaN},M:{weight:7,type:"calendar",base:NaN},y:{weight:9,type:"calendar",base:NaN}};var units=Object.keys(unitsMap).sort(function(a,b){return unitsMap[b].weight-unitsMap[a].weight});var unitsDesc=[].concat(_toConsumableArray(units));var unitsAsc=[].concat(_toConsumableArray(units)).reverse();var isDate=function isDate(d){return"[object Date]"===Object.prototype.toString.call(d)};var isValidDate=function isValidDate(d){return isDate(d)&&!isNaN(d.valueOf())};function parse(text){var _ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref$roundUp=_ref.roundUp,roundUp=void 0!==_ref$roundUp&&_ref$roundUp,_ref$momentInstance=_ref.momentInstance,momentInstance=void 0===_ref$momentInstance?_moment2.default:_ref$momentInstance,forceNow=_ref.forceNow;if(!text)return;if(momentInstance.isMoment(text))return text;if(isDate(text))return momentInstance(text);if(void 0!==forceNow&&!isValidDate(forceNow))throw new Error("forceNow must be a valid Date");var time=void 0;var mathString="";var index=void 0;var parseString=void 0;if("now"===text.substring(0,3)){time=momentInstance(forceNow);mathString=text.substring("now".length)}else{index=text.indexOf("||");if(-1===index){parseString=text;mathString=""}else{parseString=text.substring(0,index);mathString=text.substring(index+2)}time=momentInstance(parseString)}if(!mathString.length)return time;return parseDateMath(mathString,time,roundUp)}function parseDateMath(mathString,time,roundUp){var dateTime=time;var len=mathString.length;var i=0;while(i<len){var c=mathString.charAt(i++);var type=void 0;var num=void 0;var unit=void 0;if("/"===c)type=0;else if("+"===c)type=1;else{if("-"!==c)return;type=2}if(isNaN(mathString.charAt(i)))num=1;else if(2===mathString.length)num=mathString.charAt(i);else{var numFrom=i;while(!isNaN(mathString.charAt(i))){i++;if(i>=len)return}num=parseInt(mathString.substring(numFrom,i),10)}if(0===type&&1!==num)return;unit=mathString.charAt(i++);for(var j=i;j<len;j++){var unitChar=mathString.charAt(i);if(!/[a-z]/i.test(unitChar))break;unit+=unitChar;i++}if(-1===units.indexOf(unit))return;0===type?roundUp?dateTime.endOf(unit):dateTime.startOf(unit):1===type?dateTime.add(num,unit):2===type&&dateTime.subtract(num,unit)}return dateTime}exports.default={parse:parse,unitsMap:Object.freeze(unitsMap),units:Object.freeze(units),unitsAsc:Object.freeze(unitsAsc),unitsDesc:Object.freeze(unitsDesc)};module.exports=exports["default"]},function(module,exports,__webpack_require__){var dP=__webpack_require__(76);var createDesc=__webpack_require__(224);module.exports=__webpack_require__(78)?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){object[key]=value;return object}},function(module,exports,__webpack_require__){"use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var React=__webpack_require__(0);var createFocusTrap=__webpack_require__(1025);var checkedProps=["active","paused","tag","focusTrapOptions","_createFocusTrap"];var FocusTrap=function(_React$Component){_inherits(FocusTrap,_React$Component);function FocusTrap(){var _ref;var _temp,_this,_ret;_classCallCheck(this,FocusTrap);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=FocusTrap.__proto__||Object.getPrototypeOf(FocusTrap)).call.apply(_ref,[this].concat(args))),_this),_this.setNode=function(el){_this.node=el},_temp),_possibleConstructorReturn(_this,_ret)}_createClass(FocusTrap,[{key:"componentWillMount",value:function componentWillMount(){"undefined"!==typeof document&&(this.previouslyFocusedElement=document.activeElement)}},{key:"componentDidMount",value:function componentDidMount(){var specifiedFocusTrapOptions=this.props.focusTrapOptions;var tailoredFocusTrapOptions={returnFocusOnDeactivate:false};for(var optionName in specifiedFocusTrapOptions){if(!specifiedFocusTrapOptions.hasOwnProperty(optionName))continue;if("returnFocusOnDeactivate"===optionName)continue;tailoredFocusTrapOptions[optionName]=specifiedFocusTrapOptions[optionName]}this.focusTrap=this.props._createFocusTrap(this.node,tailoredFocusTrapOptions);this.props.active&&this.focusTrap.activate();this.props.paused&&this.focusTrap.pause()}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){prevProps.active&&!this.props.active?this.focusTrap.deactivate():!prevProps.active&&this.props.active&&this.focusTrap.activate();prevProps.paused&&!this.props.paused?this.focusTrap.unpause():!prevProps.paused&&this.props.paused&&this.focusTrap.pause()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.focusTrap.deactivate();false!==this.props.focusTrapOptions.returnFocusOnDeactivate&&this.previouslyFocusedElement&&this.previouslyFocusedElement.focus&&this.previouslyFocusedElement.focus()}},{key:"render",value:function render(){var elementProps={ref:this.setNode};for(var prop in this.props){if(!this.props.hasOwnProperty(prop))continue;if(-1!==checkedProps.indexOf(prop))continue;elementProps[prop]=this.props[prop]}return React.createElement(this.props.tag,elementProps,this.props.children)}}]);return FocusTrap}(React.Component);FocusTrap.defaultProps={active:true,tag:"div",paused:false,focusTrapOptions:{},_createFocusTrap:createFocusTrap};module.exports=FocusTrap},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiFormControlLayout",{enumerable:true,get:function get(){return _form_control_layout.EuiFormControlLayout}});Object.defineProperty(exports,"ICON_SIDES",{enumerable:true,get:function get(){return _form_control_layout.ICON_SIDES}});var _form_control_layout=__webpack_require__(1563)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiValidatableControl",{enumerable:true,get:function get(){return _validatable_control.EuiValidatableControl}});var _validatable_control=__webpack_require__(1567)},function(module,exports,__webpack_require__){var anObject=__webpack_require__(105);var IE8_DOM_DEFINE=__webpack_require__(666);var toPrimitive=__webpack_require__(420);var dP=Object.defineProperty;exports.f=__webpack_require__(131)?Object.defineProperty:function defineProperty(O,P,Attributes){anObject(O);P=toPrimitive(P,true);anObject(Attributes);if(IE8_DOM_DEFINE)try{return dP(O,P,Attributes)}catch(e){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported!");"value"in Attributes&&(O[P]=Attributes.value);return O}},function(module,exports){module.exports=function(it){return"object"===typeof it?null!==it:"function"===typeof it}},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(188)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.bpfrpt_proptype_VisibleCellRange=exports.bpfrpt_proptype_Alignment=exports.bpfrpt_proptype_OverscanIndicesGetter=exports.bpfrpt_proptype_OverscanIndices=exports.bpfrpt_proptype_OverscanIndicesGetterParams=exports.bpfrpt_proptype_RenderedSection=exports.bpfrpt_proptype_ScrollbarPresenceChange=exports.bpfrpt_proptype_Scroll=exports.bpfrpt_proptype_NoContentRenderer=exports.bpfrpt_proptype_CellSize=exports.bpfrpt_proptype_CellSizeGetter=exports.bpfrpt_proptype_CellRangeRenderer=exports.bpfrpt_proptype_CellRangeRendererParams=exports.bpfrpt_proptype_StyleCache=exports.bpfrpt_proptype_CellCache=exports.bpfrpt_proptype_CellRenderer=exports.bpfrpt_proptype_CellRendererParams=exports.bpfrpt_proptype_CellPosition=void 0;var _react=__webpack_require__(0);_interopRequireWildcard(_react);var _ScalingCellSizeAndPositionManager=__webpack_require__(428);_interopRequireDefault(_ScalingCellSizeAndPositionManager);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}var bpfrpt_proptype_CellPosition=null;var bpfrpt_proptype_CellRendererParams=null;var bpfrpt_proptype_CellRenderer=null;var bpfrpt_proptype_CellCache=null;var bpfrpt_proptype_StyleCache=null;var bpfrpt_proptype_CellRangeRendererParams=null;var bpfrpt_proptype_CellRangeRenderer=null;var bpfrpt_proptype_CellSizeGetter=null;var bpfrpt_proptype_CellSize=null;var bpfrpt_proptype_NoContentRenderer=null;var bpfrpt_proptype_Scroll=null;var bpfrpt_proptype_ScrollbarPresenceChange=null;var bpfrpt_proptype_RenderedSection=null;var bpfrpt_proptype_OverscanIndicesGetterParams=null;var bpfrpt_proptype_OverscanIndices=null;var bpfrpt_proptype_OverscanIndicesGetter=null;var bpfrpt_proptype_Alignment=null;var bpfrpt_proptype_VisibleCellRange=null;exports.bpfrpt_proptype_CellPosition=bpfrpt_proptype_CellPosition;exports.bpfrpt_proptype_CellRendererParams=bpfrpt_proptype_CellRendererParams;exports.bpfrpt_proptype_CellRenderer=bpfrpt_proptype_CellRenderer;exports.bpfrpt_proptype_CellCache=bpfrpt_proptype_CellCache;exports.bpfrpt_proptype_StyleCache=bpfrpt_proptype_StyleCache;exports.bpfrpt_proptype_CellRangeRendererParams=bpfrpt_proptype_CellRangeRendererParams;exports.bpfrpt_proptype_CellRangeRenderer=bpfrpt_proptype_CellRangeRenderer;exports.bpfrpt_proptype_CellSizeGetter=bpfrpt_proptype_CellSizeGetter;exports.bpfrpt_proptype_CellSize=bpfrpt_proptype_CellSize;exports.bpfrpt_proptype_NoContentRenderer=bpfrpt_proptype_NoContentRenderer;exports.bpfrpt_proptype_Scroll=bpfrpt_proptype_Scroll;exports.bpfrpt_proptype_ScrollbarPresenceChange=bpfrpt_proptype_ScrollbarPresenceChange;exports.bpfrpt_proptype_RenderedSection=bpfrpt_proptype_RenderedSection;exports.bpfrpt_proptype_OverscanIndicesGetterParams=bpfrpt_proptype_OverscanIndicesGetterParams;exports.bpfrpt_proptype_OverscanIndices=bpfrpt_proptype_OverscanIndices;exports.bpfrpt_proptype_OverscanIndicesGetter=bpfrpt_proptype_OverscanIndicesGetter;exports.bpfrpt_proptype_Alignment=bpfrpt_proptype_Alignment;exports.bpfrpt_proptype_VisibleCellRange=bpfrpt_proptype_VisibleCellRange},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _deepEqual=__webpack_require__(1849);var _deepEqual2=_interopRequireDefault(_deepEqual);var _scalesUtils=__webpack_require__(58);var _seriesUtils=__webpack_require__(50);var _chartUtils=__webpack_require__(164);var _animation=__webpack_require__(33);var _theme=__webpack_require__(44);var _canvasWrapper=__webpack_require__(1864);var _canvasWrapper2=_interopRequireDefault(_canvasWrapper);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return Array.from(arr)}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var ATTRIBUTES=["x","y","radius","angle","color","fill","stroke","opacity","size"];var DEFAULT_MARGINS={left:40,right:10,top:10,bottom:40};function cleanseData(data){return data.map(function(series){if(!Array.isArray(series))return series;return series.map(function(row){return _extends({},row,{parent:null})})})}function checkIfMixinsAreEqual(nextScaleMixins,scaleMixins,hasTreeStructure){var newMixins=_extends({},nextScaleMixins,{_allData:hasTreeStructure?cleanseData(nextScaleMixins._allData):nextScaleMixins._allData});var oldMixins=_extends({},scaleMixins,{_allData:hasTreeStructure?cleanseData(scaleMixins._allData):scaleMixins._allData});return(0,_deepEqual2.default)(newMixins,oldMixins)}var XYPlot=function(_React$Component){_inherits(XYPlot,_React$Component);_createClass(XYPlot,null,[{key:"propTypes",get:function get(){return{animation:_animation.AnimationPropType,className:_propTypes2.default.string,dontCheckIfEmpty:_propTypes2.default.bool,height:_propTypes2.default.number.isRequired,margin:_chartUtils.MarginPropType,onClick:_propTypes2.default.func,onDoubleClick:_propTypes2.default.func,onMouseDown:_propTypes2.default.func,onMouseUp:_propTypes2.default.func,onMouseEnter:_propTypes2.default.func,onMouseLeave:_propTypes2.default.func,onMouseMove:_propTypes2.default.func,onTouchStart:_propTypes2.default.func,onTouchMove:_propTypes2.default.func,onTouchEnd:_propTypes2.default.func,onTouchCancel:_propTypes2.default.func,onWheel:_propTypes2.default.func,stackBy:_propTypes2.default.oneOf(ATTRIBUTES),style:_propTypes2.default.object,width:_propTypes2.default.number.isRequired}}},{key:"defaultProps",get:function get(){return{className:""}}}]);function XYPlot(props){_classCallCheck(this,XYPlot);var _this=_possibleConstructorReturn(this,(XYPlot.__proto__||Object.getPrototypeOf(XYPlot)).call(this,props));_this._clickHandler=_this._clickHandler.bind(_this);_this._doubleClickHandler=_this._doubleClickHandler.bind(_this);_this._mouseDownHandler=_this._mouseDownHandler.bind(_this);_this._mouseUpHandler=_this._mouseUpHandler.bind(_this);_this._mouseLeaveHandler=_this._mouseLeaveHandler.bind(_this);_this._mouseEnterHandler=_this._mouseEnterHandler.bind(_this);_this._mouseMoveHandler=_this._mouseMoveHandler.bind(_this);_this._touchStartHandler=_this._touchStartHandler.bind(_this);_this._touchMoveHandler=_this._touchMoveHandler.bind(_this);_this._touchEndHandler=_this._touchEndHandler.bind(_this);_this._touchCancelHandler=_this._touchCancelHandler.bind(_this);_this._wheelHandler=_this._wheelHandler.bind(_this);var stackBy=props.stackBy;var children=(0,_seriesUtils.getSeriesChildren)(props.children);var data=(0,_seriesUtils.getStackedData)(children,stackBy);_this.state={scaleMixins:_this._getScaleMixins(data,props),data:data};return _this}_createClass(XYPlot,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){var children=(0,_seriesUtils.getSeriesChildren)(nextProps.children);var nextData=(0,_seriesUtils.getStackedData)(children,nextProps.stackBy);var scaleMixins=this.state.scaleMixins;var nextScaleMixins=this._getScaleMixins(nextData,nextProps);checkIfMixinsAreEqual(nextScaleMixins,scaleMixins,nextProps.hasTreeStructure)||this.setState({scaleMixins:nextScaleMixins,data:nextData})}},{key:"_clickHandler",value:function _clickHandler(event){var onClick=this.props.onClick;onClick&&onClick(event)}},{key:"_doubleClickHandler",value:function _doubleClickHandler(event){var onDoubleClick=this.props.onDoubleClick;onDoubleClick&&onDoubleClick(event)}},{key:"_mouseDownHandler",value:function _mouseDownHandler(event){var _this2=this;var _props=this.props,onMouseDown=_props.onMouseDown,children=_props.children;onMouseDown&&onMouseDown(event);var seriesChildren=(0,_seriesUtils.getSeriesChildren)(children);seriesChildren.forEach(function(child,index){var component=_this2["series"+index];component&&component.onParentMouseDown&&component.onParentMouseDown(event)})}},{key:"_mouseUpHandler",value:function _mouseUpHandler(event){var _this3=this;var _props2=this.props,onMouseUp=_props2.onMouseUp,children=_props2.children;onMouseUp&&onMouseUp(event);var seriesChildren=(0,_seriesUtils.getSeriesChildren)(children);seriesChildren.forEach(function(child,index){var component=_this3["series"+index];component&&component.onParentMouseUp&&component.onParentMouseUp(event)})}},{key:"_mouseMoveHandler",value:function _mouseMoveHandler(event){var _this4=this;var _props3=this.props,onMouseMove=_props3.onMouseMove,children=_props3.children;onMouseMove&&onMouseMove(event);var seriesChildren=(0,_seriesUtils.getSeriesChildren)(children);seriesChildren.forEach(function(child,index){var component=_this4["series"+index];component&&component.onParentMouseMove&&component.onParentMouseMove(event)})}},{key:"_mouseLeaveHandler",value:function _mouseLeaveHandler(event){var _this5=this;var _props4=this.props,onMouseLeave=_props4.onMouseLeave,children=_props4.children;onMouseLeave&&onMouseLeave(event);var seriesChildren=(0,_seriesUtils.getSeriesChildren)(children);seriesChildren.forEach(function(child,index){var component=_this5["series"+index];component&&component.onParentMouseLeave&&component.onParentMouseLeave(event)})}},{key:"_mouseEnterHandler",value:function _mouseEnterHandler(event){var _this6=this;var _props5=this.props,onMouseEnter=_props5.onMouseEnter,children=_props5.children;onMouseEnter&&onMouseEnter(event);var seriesChildren=(0,_seriesUtils.getSeriesChildren)(children);seriesChildren.forEach(function(child,index){var component=_this6["series"+index];component&&component.onParentMouseEnter&&component.onParentMouseEnter(event)})}},{key:"_touchStartHandler",value:function _touchStartHandler(event){var _this7=this;var _props6=this.props,onTouchStart=_props6.onTouchStart,children=_props6.children;onTouchStart&&onTouchStart(event);var seriesChildren=(0,_seriesUtils.getSeriesChildren)(children);seriesChildren.forEach(function(child,index){var component=_this7["series"+index];component&&component.onParentTouchStart&&component.onParentTouchStart(event)})}},{key:"_touchMoveHandler",value:function _touchMoveHandler(event){var _this8=this;var _props7=this.props,onTouchMove=_props7.onTouchMove,children=_props7.children;onTouchMove&&onTouchMove(event);var seriesChildren=(0,_seriesUtils.getSeriesChildren)(children);seriesChildren.forEach(function(child,index){var component=_this8["series"+index];component&&component.onParentTouchMove&&component.onParentTouchMove(event)})}},{key:"_touchEndHandler",value:function _touchEndHandler(event){var onTouchEnd=this.props.onTouchEnd;onTouchEnd&&onTouchEnd(event)}},{key:"_touchCancelHandler",value:function _touchCancelHandler(event){var onTouchCancel=this.props.onTouchCancel;onTouchCancel&&onTouchCancel(event)}},{key:"_wheelHandler",value:function _wheelHandler(event){var onWheel=this.props.onWheel;onWheel&&onWheel(event)}},{key:"_getDefaultScaleProps",value:function _getDefaultScaleProps(props){var _getInnerDimensions=(0,_chartUtils.getInnerDimensions)(props,DEFAULT_MARGINS),innerWidth=_getInnerDimensions.innerWidth,innerHeight=_getInnerDimensions.innerHeight;var colorRanges=["color","fill","stroke"].reduce(function(acc,attr){var range="category"===props[attr+"Type"]?_theme.EXTENDED_DISCRETE_COLOR_RANGE:_theme.CONTINUOUS_COLOR_RANGE;return _extends({},acc,_defineProperty({},attr+"Range",range))},{});return _extends({xRange:[0,innerWidth],yRange:[innerHeight,0]},colorRanges,{opacityType:_theme.OPACITY_TYPE,sizeRange:_theme.SIZE_RANGE})}},{key:"_getScaleMixins",value:function _getScaleMixins(data,props){var _ref;var filteredData=data.filter(function(d){return d});var allData=(_ref=[]).concat.apply(_ref,_toConsumableArray(filteredData));var defaultScaleProps=this._getDefaultScaleProps(props);var optionalScaleProps=(0,_scalesUtils.getOptionalScaleProps)(props);var userScaleProps=(0,_scalesUtils.extractScalePropsFromProps)(props,ATTRIBUTES);var missingScaleProps=(0,_scalesUtils.getMissingScaleProps)(_extends({},defaultScaleProps,optionalScaleProps,userScaleProps),allData,ATTRIBUTES);var children=(0,_seriesUtils.getSeriesChildren)(props.children);var zeroBaseProps={};var adjustBy=new Set;var adjustWhat=new Set;children.forEach(function(child,index){if(!child||!data[index])return;ATTRIBUTES.forEach(function(attr){var _child$type$getParent=child.type.getParentConfig(attr,child.props),isDomainAdjustmentNeeded=_child$type$getParent.isDomainAdjustmentNeeded,zeroBaseValue=_child$type$getParent.zeroBaseValue;if(isDomainAdjustmentNeeded){adjustBy.add(attr);adjustWhat.add(index)}if(zeroBaseValue){var specifiedDomain=props[attr+"Domain"];zeroBaseProps[attr+"BaseValue"]=specifiedDomain?specifiedDomain[0]:0}})});return _extends({},defaultScaleProps,zeroBaseProps,userScaleProps,missingScaleProps,{_allData:data,_adjustBy:Array.from(adjustBy),_adjustWhat:Array.from(adjustWhat),_stackBy:props.stackBy})}},{key:"_isPlotEmpty",value:function _isPlotEmpty(){var data=this.state.data;return!data||!data.length||!data.some(function(series){return series&&series.some(function(d){return d})})}},{key:"_getClonedChildComponents",value:function _getClonedChildComponents(){var _this9=this;var props=this.props;var animation=this.props.animation;var _state=this.state,scaleMixins=_state.scaleMixins,data=_state.data;var dimensions=(0,_chartUtils.getInnerDimensions)(this.props,DEFAULT_MARGINS);var children=_react2.default.Children.toArray(this.props.children);var seriesProps=(0,_seriesUtils.getSeriesPropsFromChildren)(children);var XYPlotValues=(0,_scalesUtils.getXYPlotValues)(props,children);return children.map(function(child,index){var dataProps=null;if(seriesProps[index]){var seriesIndex=seriesProps[index].seriesIndex;dataProps={data:data[seriesIndex]}}return _react2.default.cloneElement(child,_extends({},dimensions,{animation:animation,ref:function ref(_ref2){dataProps&&(_this9["series"+seriesProps[index].seriesIndex]=_ref2)}},seriesProps[index],scaleMixins,child.props,XYPlotValues[index],dataProps))})}},{key:"renderCanvasComponents",value:function renderCanvasComponents(components,props){var componentsToRender=components.filter(function(c){return c&&!c.type.requiresSVG&&c.type.isCanvas});if(0===componentsToRender.length)return null;var _componentsToRender$=componentsToRender[0].props,marginLeft=_componentsToRender$.marginLeft,marginTop=_componentsToRender$.marginTop,marginBottom=_componentsToRender$.marginBottom,marginRight=_componentsToRender$.marginRight,innerHeight=_componentsToRender$.innerHeight,innerWidth=_componentsToRender$.innerWidth;return _react2.default.createElement(_canvasWrapper2.default,{innerHeight:innerHeight,innerWidth:innerWidth,marginLeft:marginLeft,marginTop:marginTop,marginBottom:marginBottom,marginRight:marginRight},componentsToRender)}},{key:"render",value:function render(){var _props8=this.props,className=_props8.className,dontCheckIfEmpty=_props8.dontCheckIfEmpty,style=_props8.style,width=_props8.width,height=_props8.height;if(!dontCheckIfEmpty&&this._isPlotEmpty())return _react2.default.createElement("div",{className:"rv-xy-plot "+className,style:_extends({width:width+"px",height:height+"px"},this.props.style)});var components=this._getClonedChildComponents();return _react2.default.createElement("div",{style:{width:width+"px",height:height+"px"},className:"rv-xy-plot "+className},_react2.default.createElement("svg",{className:"rv-xy-plot__inner",width:width,height:height,style:style,onClick:this._clickHandler,onDoubleClick:this._doubleClickHandler,onMouseDown:this._mouseDownHandler,onMouseUp:this._mouseUpHandler,onMouseMove:this._mouseMoveHandler,onMouseLeave:this._mouseLeaveHandler,onMouseEnter:this._mouseEnterHandler,onTouchStart:this._mouseDownHandler,onTouchMove:this._touchMoveHandler,onTouchEnd:this._touchEndHandler,onTouchCancel:this._touchCancelHandler,onWheel:this._wheelHandler},components.filter(function(c){return c&&c.type.requiresSVG})),this.renderCanvasComponents(components,this.props),components.filter(function(c){return c&&!c.type.requiresSVG&&!c.type.isCanvas}))}}]);return XYPlot}(_react2.default.Component);XYPlot.displayName="XYPlot";exports.default=XYPlot},function(module,exports,__webpack_require__){var global=__webpack_require__(36);var hide=__webpack_require__(98);var has=__webpack_require__(86);var SRC=__webpack_require__(167)("src");var TO_STRING="toString";var $toString=Function[TO_STRING];var TPL=(""+$toString).split(TO_STRING);__webpack_require__(197).inspectSource=function(it){return $toString.call(it)};(module.exports=function(O,key,val,safe){var isFunction="function"==typeof val;isFunction&&(has(val,"name")||hide(val,"name",key));if(O[key]===val)return;isFunction&&(has(val,SRC)||hide(val,SRC,O[key]?""+O[key]:TPL.join(String(key))));if(O===global)O[key]=val;else if(safe)O[key]?O[key]=val:hide(O,key,val);else{delete O[key];hide(O,key,val)}})(Function.prototype,TO_STRING,function toString(){return"function"==typeof this&&this[SRC]||$toString.call(this)})},function(module,exports,__webpack_require__){var META=__webpack_require__(167)("meta");var isObject=__webpack_require__(29);var has=__webpack_require__(86);var setDesc=__webpack_require__(62).f;var id=0;var isExtensible=Object.isExtensible||function(){return true};var FREEZE=!__webpack_require__(51)(function(){return isExtensible(Object.preventExtensions({}))});var setMeta=function(it){setDesc(it,META,{value:{i:"O"+ ++id,w:{}}})};var fastKey=function(it,create){if(!isObject(it))return"symbol"==typeof it?it:("string"==typeof it?"S":"P")+it;if(!has(it,META)){if(!isExtensible(it))return"F";if(!create)return"E";setMeta(it)}return it[META].i};var getWeak=function(it,create){if(!has(it,META)){if(!isExtensible(it))return true;if(!create)return false;setMeta(it)}return it[META].w};var onFreeze=function(it){FREEZE&&meta.NEED&&isExtensible(it)&&!has(it,META)&&setMeta(it);return it};var meta=module.exports={KEY:META,NEED:false,fastKey:fastKey,getWeak:getWeak,onFreeze:onFreeze}},function(module,exports){var contexts={};module.exports=contexts;var copyFromOriginal=function copyFromOriginal(original,destination,propertiesToCopy){if(!original)return;for(var i=0;i<propertiesToCopy.length;i++)original.hasOwnProperty(propertiesToCopy[i])&&(destination[propertiesToCopy[i]]=original[propertiesToCopy[i]])};var parseCopyProperties=["paths","relativeUrls","rootpath","strictImports","insecure","dumpLineNumbers","compress","syncImport","chunkInput","mime","useFileCache","processImports","pluginManager"];contexts.Parse=function(options){copyFromOriginal(options,this,parseCopyProperties);"string"===typeof this.paths&&(this.paths=[this.paths])};var evalCopyProperties=["paths","compress","ieCompat","strictMath","strictUnits","sourceMap","importMultiple","urlArgs","javascriptEnabled","pluginManager","importantScope"];contexts.Eval=function(options,frames){copyFromOriginal(options,this,evalCopyProperties);"string"===typeof this.paths&&(this.paths=[this.paths]);this.frames=frames||[];this.importantScope=this.importantScope||[]};contexts.Eval.prototype.inParenthesis=function(){this.parensStack||(this.parensStack=[]);this.parensStack.push(true)};contexts.Eval.prototype.outOfParenthesis=function(){this.parensStack.pop()};contexts.Eval.prototype.isMathOn=function(){return!this.strictMath||this.parensStack&&this.parensStack.length};contexts.Eval.prototype.isPathRelative=function(path){return!/^(?:[a-z-]+:|\/|#)/i.test(path)};contexts.Eval.prototype.normalizePath=function(path){var segment,segments=path.split("/").reverse();path=[];while(0!==segments.length){segment=segments.pop();switch(segment){case".":break;case"..":0===path.length||".."===path[path.length-1]?path.push(segment):path.pop();break;default:path.push(segment)}}return path.join("/")}},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),JsEvalNode=__webpack_require__(873),Variable=__webpack_require__(334);var Quoted=function(str,content,escaped,index,currentFileInfo){this.escaped=null==escaped||escaped;this.value=content||"";this.quote=str.charAt(0);this.index=index;this.currentFileInfo=currentFileInfo};Quoted.prototype=new JsEvalNode;Quoted.prototype.type="Quoted";Quoted.prototype.genCSS=function(context,output){this.escaped||output.add(this.quote,this.currentFileInfo,this.index);output.add(this.value);this.escaped||output.add(this.quote)};Quoted.prototype.containsVariables=function(){return this.value.match(/(`([^`]+)`)|@\{([\w-]+)\}/)};Quoted.prototype.eval=function(context){var that=this,value=this.value;var javascriptReplacement=function(_,exp){return String(that.evaluateJavaScript(exp,context))};var interpolationReplacement=function(_,name){var v=new Variable("@"+name,that.index,that.currentFileInfo).eval(context,true);return v instanceof Quoted?v.value:v.toCSS()};function iterativeReplace(value,regexp,replacementFnc){var evaluatedValue=value;do{value=evaluatedValue;evaluatedValue=value.replace(regexp,replacementFnc)}while(value!==evaluatedValue);return evaluatedValue}value=iterativeReplace(value,/`([^`]+)`/g,javascriptReplacement);value=iterativeReplace(value,/@\{([\w-]+)\}/g,interpolationReplacement);return new Quoted(this.quote+value+this.quote,value,this.escaped,this.index,this.currentFileInfo)};Quoted.prototype.compare=function(other){return"Quoted"!==other.type||this.escaped||other.escaped?other.toCSS&&this.toCSS()===other.toCSS()?0:void 0:Node.numericCompare(this.value,other.value)};module.exports=Quoted},function(module,exports,__webpack_require__){var Node=__webpack_require__(21);var Anonymous=function(value,index,currentFileInfo,mapLines,rulesetLike,visibilityInfo){this.value=value;this.index=index;this.mapLines=mapLines;this.currentFileInfo=currentFileInfo;this.rulesetLike="undefined"!==typeof rulesetLike&&rulesetLike;this.allowRoot=true;this.copyVisibilityInfo(visibilityInfo)};Anonymous.prototype=new Node;Anonymous.prototype.type="Anonymous";Anonymous.prototype.eval=function(){return new Anonymous(this.value,this.index,this.currentFileInfo,this.mapLines,this.rulesetLike,this.visibilityInfo())};Anonymous.prototype.compare=function(other){return other.toCSS&&this.toCSS()===other.toCSS()?0:void 0};Anonymous.prototype.isRulesetLike=function(){return this.rulesetLike};Anonymous.prototype.genCSS=function(context,output){output.add(this.value,this.currentFileInfo,this.index,this.mapLines)};module.exports=Anonymous},function(module,exports,__webpack_require__){"use strict";var arrays={range:function(start,stop){var i,j,length=stop-start,result=new Array(length);for(i=0,j=start;i<length;i++,j++)result[i]=j;return result},find:function(array,valueOrPredicate){var i,length=array.length;if("function"===typeof valueOrPredicate){for(i=0;i<length;i++)if(valueOrPredicate(array[i]))return array[i]}else for(i=0;i<length;i++)if(array[i]===valueOrPredicate)return array[i]},indexOf:function(array,valueOrPredicate){var i,length=array.length;if("function"===typeof valueOrPredicate){for(i=0;i<length;i++)if(valueOrPredicate(array[i]))return i}else for(i=0;i<length;i++)if(array[i]===valueOrPredicate)return i;return-1},contains:function(array,valueOrPredicate){return-1!==arrays.indexOf(array,valueOrPredicate)},each:function(array,iterator){var i,length=array.length;for(i=0;i<length;i++)iterator(array[i],i)},map:function(array,iterator){var i,length=array.length,result=new Array(length);for(i=0;i<length;i++)result[i]=iterator(array[i],i);return result},pluck:function(array,key){return arrays.map(array,function(e){return e[key]})},every:function(array,predicate){var i,length=array.length;for(i=0;i<length;i++)if(!predicate(array[i]))return false;return true},some:function(array,predicate){var i,length=array.length;for(i=0;i<length;i++)if(predicate(array[i]))return true;return false}};module.exports=arrays},function(module,exports,__webpack_require__){"use strict";var __DEV__=false;var warning=function(){};if(__DEV__){var printWarning=function printWarning(format,args){var len=arguments.length;args=new Array(len>2?len-2:0);for(var key=2;key<len;key++)args[key-2]=arguments[key];var argIndex=0;var message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});"undefined"!==typeof console&&console.error(message);try{throw new Error(message)}catch(x){}};warning=function(condition,format,args){var len=arguments.length;args=new Array(len>2?len-2:0);for(var key=2;key<len;key++)args[key-2]=arguments[key];if(void 0===format)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");condition||printWarning.apply(null,[format].concat(args))}}module.exports=warning},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(2570)()},function(module,exports,__webpack_require__){var freeGlobal=__webpack_require__(943);var freeSelf="object"==typeof self&&self&&self.Object===Object&&self;var root=freeGlobal||freeSelf||Function("return this")();module.exports=root},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var Subscription_1=__webpack_require__(52);var subscribeToArray_1=__webpack_require__(968);function fromArray(input,scheduler){return scheduler?new Observable_1.Observable(function(subscriber){var sub=new Subscription_1.Subscription;var i=0;sub.add(scheduler.schedule(function(){if(i===input.length){subscriber.complete();return}subscriber.next(input[i++]);subscriber.closed||sub.add(this.schedule())}));return sub}):new Observable_1.Observable(subscribeToArray_1.subscribeToArray(input))}exports.fromArray=fromArray},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _exists__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(775);__webpack_require__.d(__webpack_exports__,"buildExistsFilter",function(){return _exists__WEBPACK_IMPORTED_MODULE_0__["buildExistsFilter"]});var _phrase__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(361);__webpack_require__.d(__webpack_exports__,"buildPhraseFilter",function(){return _phrase__WEBPACK_IMPORTED_MODULE_1__["buildPhraseFilter"]});__webpack_require__.d(__webpack_exports__,"getPhraseScript",function(){return _phrase__WEBPACK_IMPORTED_MODULE_1__["getPhraseScript"]});__webpack_require__.d(__webpack_exports__,"getConvertedValueForField",function(){return _phrase__WEBPACK_IMPORTED_MODULE_1__["getConvertedValueForField"]});__webpack_require__.d(__webpack_exports__,"buildInlineScriptForPhraseFilter",function(){return _phrase__WEBPACK_IMPORTED_MODULE_1__["buildInlineScriptForPhraseFilter"]});var _phrases__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(776);__webpack_require__.d(__webpack_exports__,"buildPhrasesFilter",function(){return _phrases__WEBPACK_IMPORTED_MODULE_2__["buildPhrasesFilter"]});var _query__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(777);__webpack_require__.d(__webpack_exports__,"buildQueryFilter",function(){return _query__WEBPACK_IMPORTED_MODULE_3__["buildQueryFilter"]});var _range__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(778);__webpack_require__.d(__webpack_exports__,"buildRangeFilter",function(){return _range__WEBPACK_IMPORTED_MODULE_4__["buildRangeFilter"]});__webpack_require__.d(__webpack_exports__,"getRangeScript",function(){return _range__WEBPACK_IMPORTED_MODULE_4__["getRangeScript"]});var _lib__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(779);__webpack_require__.d(__webpack_exports__,"CustomFilter",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["CustomFilter"]});__webpack_require__.d(__webpack_exports__,"ExistsFilter",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["ExistsFilter"]});__webpack_require__.d(__webpack_exports__,"GeoBoundingBoxFilter",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["GeoBoundingBoxFilter"]});__webpack_require__.d(__webpack_exports__,"GeoPolygonFilter",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["GeoPolygonFilter"]});__webpack_require__.d(__webpack_exports__,"PhraseFilter",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["PhraseFilter"]});__webpack_require__.d(__webpack_exports__,"PhrasesFilter",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["PhrasesFilter"]});__webpack_require__.d(__webpack_exports__,"QueryStringFilter",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["QueryStringFilter"]});__webpack_require__.d(__webpack_exports__,"RangeFilter",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["RangeFilter"]});__webpack_require__.d(__webpack_exports__,"FilterStateStore",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["FilterStateStore"]});__webpack_require__.d(__webpack_exports__,"buildEmptyFilter",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["buildEmptyFilter"]});__webpack_require__.d(__webpack_exports__,"isFilterPinned",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["isFilterPinned"]});__webpack_require__.d(__webpack_exports__,"toggleFilterDisabled",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["toggleFilterDisabled"]});__webpack_require__.d(__webpack_exports__,"toggleFilterNegated",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["toggleFilterNegated"]});__webpack_require__.d(__webpack_exports__,"toggleFilterPinned",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["toggleFilterPinned"]});__webpack_require__.d(__webpack_exports__,"enableFilter",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["enableFilter"]});__webpack_require__.d(__webpack_exports__,"disableFilter",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["disableFilter"]});__webpack_require__.d(__webpack_exports__,"pinFilter",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["pinFilter"]});__webpack_require__.d(__webpack_exports__,"unpinFilter",function(){return _lib__WEBPACK_IMPORTED_MODULE_5__["unpinFilter"]})},function(module,exports){var core=module.exports={version:"2.5.7"};"number"==typeof __e&&(__e=core)},function(module,exports,__webpack_require__){var IObject=__webpack_require__(369);var defined=__webpack_require__(148);module.exports=function(it){return IObject(defined(it))}},function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports){module.exports=function(it){if(void 0==it)throw TypeError("Can't call method on  "+it);return it}},function(module,exports,__webpack_require__){var aFunction=__webpack_require__(226);module.exports=function(fn,that,length){aFunction(fn);if(void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports,__webpack_require__){var $keys=__webpack_require__(545);var enumBugKeys=__webpack_require__(373);module.exports=Object.keys||function keys(O){return $keys(O,enumBugKeys)}},function(module,exports,__webpack_require__){var defined=__webpack_require__(148);module.exports=function(it){return Object(defined(it))}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.keyCodes=exports.RIGHT=exports.LEFT=exports.UP=exports.DOWN=exports.BACKSPACE=exports.TAB=exports.ESCAPE=exports.SPACE=exports.ENTER=void 0;var ENTER=13;exports.ENTER=ENTER;var SPACE=32;exports.SPACE=SPACE;var ESCAPE=27;exports.ESCAPE=ESCAPE;var TAB=9;exports.TAB=TAB;var BACKSPACE=8;exports.BACKSPACE=BACKSPACE;var DOWN=40;exports.DOWN=DOWN;var UP=38;exports.UP=UP;var LEFT=37;exports.LEFT=LEFT;var RIGHT=39;exports.RIGHT=RIGHT;var keyCodes;exports.keyCodes=keyCodes;(function(keyCodes){keyCodes[keyCodes["ENTER"]=13]="ENTER";keyCodes[keyCodes["SPACE"]=32]="SPACE";keyCodes[keyCodes["ESCAPE"]=27]="ESCAPE";keyCodes[keyCodes["TAB"]=9]="TAB";keyCodes[keyCodes["BACKSPACE"]=8]="BACKSPACE";keyCodes[keyCodes["DOWN"]=40]="DOWN";keyCodes[keyCodes["UP"]=38]="UP";keyCodes[keyCodes["LEFT"]=37]="LEFT";keyCodes[keyCodes["RIGHT"]=39]="RIGHT"})(keyCodes||(exports.keyCodes=keyCodes={}))},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(55);var has=__webpack_require__(111);var cof=__webpack_require__(147);var inheritIfRequired=__webpack_require__(576);var toPrimitive=__webpack_require__(276);var fails=__webpack_require__(64);var gOPN=__webpack_require__(278).f;var gOPD=__webpack_require__(279).f;var dP=__webpack_require__(76).f;var $trim=__webpack_require__(1063).trim;var NUMBER="Number";var $Number=global[NUMBER];var Base=$Number;var proto=$Number.prototype;var BROKEN_COF=cof(__webpack_require__(370)(proto))==NUMBER;var TRIM="trim"in String.prototype;var toNumber=function(argument){var it=toPrimitive(argument,false);if("string"==typeof it&&it.length>2){it=TRIM?it.trim():$trim(it,3);var first=it.charCodeAt(0);var third,radix,maxCode;if(43===first||45===first){third=it.charCodeAt(2);if(88===third||120===third)return NaN}else if(48===first){switch(it.charCodeAt(1)){case 66:case 98:radix=2;maxCode=49;break;case 79:case 111:radix=8;maxCode=55;break;default:return+it}for(var code,digits=it.slice(2),i=0,l=digits.length;i<l;i++){code=digits.charCodeAt(i);if(code<48||code>maxCode)return NaN}return parseInt(digits,radix)}}return+it};if(!$Number(" 0o1")||!$Number("0b1")||$Number("+0x1")){$Number=function Number(value){var it=arguments.length<1?0:value;var that=this;return that instanceof $Number&&(BROKEN_COF?fails(function(){proto.valueOf.call(that)}):cof(that)!=NUMBER)?inheritIfRequired(new Base(toNumber(it)),that,$Number):toNumber(it)};for(var key,keys=__webpack_require__(78)?gOPN(Base):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),j=0;keys.length>j;j++)has(Base,key=keys[j])&&!has($Number,key)&&dP($Number,key,gOPD(Base,key));$Number.prototype=proto;proto.constructor=$Number;__webpack_require__(110)(global,NUMBER,$Number)}},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(233),getRawTag=__webpack_require__(1309),objectToString=__webpack_require__(1310);var nullTag="[object Null]",undefinedTag="[object Undefined]";var symToStringTag=Symbol?Symbol.toStringTag:void 0;function baseGetTag(value){if(null==value)return void 0===value?undefinedTag:nullTag;return symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}module.exports=baseGetTag},function(module,exports,__webpack_require__){var baseIsNative=__webpack_require__(1335),getValue=__webpack_require__(1338);function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}module.exports=getNative},function(module,exports,__webpack_require__){var arrayMap=__webpack_require__(638),baseIteratee=__webpack_require__(1454),baseMap=__webpack_require__(1519),isArray=__webpack_require__(103);function map(collection,iteratee){var func=isArray(collection)?arrayMap:baseMap;return func(collection,baseIteratee(iteratee,3))}module.exports=map},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiCheckbox",{enumerable:true,get:function get(){return _checkbox.EuiCheckbox}});Object.defineProperty(exports,"EuiCheckboxGroup",{enumerable:true,get:function get(){return _checkbox.EuiCheckboxGroup}});Object.defineProperty(exports,"EuiDescribedFormGroup",{enumerable:true,get:function get(){return _described_form_group.EuiDescribedFormGroup}});Object.defineProperty(exports,"EuiFieldNumber",{enumerable:true,get:function get(){return _field_number.EuiFieldNumber}});Object.defineProperty(exports,"EuiFieldPassword",{enumerable:true,get:function get(){return _field_password.EuiFieldPassword}});Object.defineProperty(exports,"EuiFieldSearch",{enumerable:true,get:function get(){return _field_search.EuiFieldSearch}});Object.defineProperty(exports,"EuiFieldText",{enumerable:true,get:function get(){return _field_text.EuiFieldText}});Object.defineProperty(exports,"EuiFilePicker",{enumerable:true,get:function get(){return _file_picker.EuiFilePicker}});Object.defineProperty(exports,"EuiForm",{enumerable:true,get:function get(){return _form.EuiForm}});Object.defineProperty(exports,"EuiFormControlLayout",{enumerable:true,get:function get(){return _form_control_layout.EuiFormControlLayout}});Object.defineProperty(exports,"EuiFormErrorText",{enumerable:true,get:function get(){return _form_error_text.EuiFormErrorText}});Object.defineProperty(exports,"EuiFormHelpText",{enumerable:true,get:function get(){return _form_help_text.EuiFormHelpText}});Object.defineProperty(exports,"EuiFormLabel",{enumerable:true,get:function get(){return _form_label.EuiFormLabel}});Object.defineProperty(exports,"EuiFormRow",{enumerable:true,get:function get(){return _form_row.EuiFormRow}});Object.defineProperty(exports,"EuiRadio",{enumerable:true,get:function get(){return _radio.EuiRadio}});Object.defineProperty(exports,"EuiRadioGroup",{enumerable:true,get:function get(){return _radio.EuiRadioGroup}});Object.defineProperty(exports,"EuiRange",{enumerable:true,get:function get(){return _range.EuiRange}});Object.defineProperty(exports,"EuiSelect",{enumerable:true,get:function get(){return _select.EuiSelect}});Object.defineProperty(exports,"EuiSuperSelect",{enumerable:true,get:function get(){return _super_select.EuiSuperSelect}});Object.defineProperty(exports,"EuiSuperSelectControl",{enumerable:true,get:function get(){return _super_select.EuiSuperSelectControl}});Object.defineProperty(exports,"EuiSwitch",{enumerable:true,get:function get(){return _switch.EuiSwitch}});Object.defineProperty(exports,"EuiTextArea",{enumerable:true,get:function get(){return _text_area.EuiTextArea}});Object.defineProperty(exports,"EuiValidatableControl",{enumerable:true,get:function get(){return _validatable_control.EuiValidatableControl}});var _checkbox=__webpack_require__(1558);var _described_form_group=__webpack_require__(1560);var _field_number=__webpack_require__(653);var _field_password=__webpack_require__(1568);var _field_search=__webpack_require__(1570);var _field_text=__webpack_require__(1573);var _file_picker=__webpack_require__(1575);var _form=__webpack_require__(1577);var _form_control_layout=__webpack_require__(127);var _form_error_text=__webpack_require__(654);var _form_help_text=__webpack_require__(655);var _form_label=__webpack_require__(656);var _form_row=__webpack_require__(1581);var _radio=__webpack_require__(1583);var _range=__webpack_require__(1585);var _select=__webpack_require__(1587);var _super_select=__webpack_require__(1589);var _switch=__webpack_require__(1593);var _text_area=__webpack_require__(1595);var _validatable_control=__webpack_require__(128)},function(module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},function(module,exports,__webpack_require__){var dP=__webpack_require__(129);var createDesc=__webpack_require__(307);module.exports=__webpack_require__(131)?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){object[key]=value;return object}},function(module,exports,__webpack_require__){var IObject=__webpack_require__(671);var defined=__webpack_require__(415);module.exports=function(it){return IObject(defined(it))}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiSpacer",{enumerable:true,get:function get(){return _spacer.EuiSpacer}});var _spacer=__webpack_require__(437)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.dateValueParser=exports.dateValue=exports.isDateValue=exports.dateValuesEqual=exports.DATE_TYPE=void 0;__webpack_require__(42);var _predicate=__webpack_require__(38);var _date_format=__webpack_require__(244);var _moment=_interopRequireDefault(__webpack_require__(53));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var DATE_TYPE="date";exports.DATE_TYPE=DATE_TYPE;var dateValuesEqual=function dateValuesEqual(v1,v2){return v1.raw===v2.raw&&v1.granularity===v2.granularity&&v1.text===v2.text};exports.dateValuesEqual=dateValuesEqual;var isDateValue=function isDateValue(value){return!!value&&value.type===DATE_TYPE&&!!value.raw&&!!value.text&&!!value.resolve};exports.isDateValue=isDateValue;var dateValue=function dateValue(raw,granularity){var dateFormat=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_date_format.dateFormat;if(!raw)return;if((0,_predicate.isDateLike)(raw))return{type:DATE_TYPE,raw:raw,granularity:granularity,text:dateFormat.print(raw),resolve:function resolve(){return(0,_moment.default)(raw)}};if((0,_predicate.isNumber)(raw))return{type:DATE_TYPE,raw:raw,granularity:granularity,text:raw.toString(),resolve:function resolve(){return(0,_moment.default)(raw)}};var text=raw.toString();return{type:DATE_TYPE,raw:raw,granularity:granularity,text:text,resolve:function resolve(){return dateFormat.parse(text)}}};exports.dateValue=dateValue;var dateValueParser=function dateValueParser(){var format=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_date_format.dateFormat;return function(text){var parsed=format.parse(text);return dateValue(text,(0,_date_format.dateGranularity)(parsed),format)}};exports.dateValueParser=dateValueParser},function(module,exports,__webpack_require__){0,factory=function(exports){"use strict";var define=function(constructor,factory,prototype){constructor.prototype=factory.prototype=prototype;prototype.constructor=constructor};function extend(parent,definition){var prototype=Object.create(parent.prototype);for(var key in definition)prototype[key]=definition[key];return prototype}function Color(){}var darker=.7;var brighter=1/darker;var reI="\\s*([+-]?\\d+)\\s*";var reN="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*";var reP="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*";var reHex3=/^#([0-9a-f]{3})$/;var reHex6=/^#([0-9a-f]{6})$/;var reRgbInteger=new RegExp("^rgb\\("+[reI,reI,reI]+"\\)$");var reRgbPercent=new RegExp("^rgb\\("+[reP,reP,reP]+"\\)$");var reRgbaInteger=new RegExp("^rgba\\("+[reI,reI,reI,reN]+"\\)$");var reRgbaPercent=new RegExp("^rgba\\("+[reP,reP,reP,reN]+"\\)$");var reHslPercent=new RegExp("^hsl\\("+[reN,reP,reP]+"\\)$");var reHslaPercent=new RegExp("^hsla\\("+[reN,reP,reP,reN]+"\\)$");var named={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};define(Color,color,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}});function color(format){var m;format=(format+"").trim().toLowerCase();return(m=reHex3.exec(format))?(m=parseInt(m[1],16),new Rgb(m>>8&15|m>>4&240,m>>4&15|240&m,(15&m)<<4|15&m,1)):(m=reHex6.exec(format))?rgbn(parseInt(m[1],16)):(m=reRgbInteger.exec(format))?new Rgb(m[1],m[2],m[3],1):(m=reRgbPercent.exec(format))?new Rgb(255*m[1]/100,255*m[2]/100,255*m[3]/100,1):(m=reRgbaInteger.exec(format))?rgba(m[1],m[2],m[3],m[4]):(m=reRgbaPercent.exec(format))?rgba(255*m[1]/100,255*m[2]/100,255*m[3]/100,m[4]):(m=reHslPercent.exec(format))?hsla(m[1],m[2]/100,m[3]/100,1):(m=reHslaPercent.exec(format))?hsla(m[1],m[2]/100,m[3]/100,m[4]):named.hasOwnProperty(format)?rgbn(named[format]):"transparent"===format?new Rgb(NaN,NaN,NaN,0):null}function rgbn(n){return new Rgb(n>>16&255,n>>8&255,255&n,1)}function rgba(r,g,b,a){a<=0&&(r=g=b=NaN);return new Rgb(r,g,b,a)}function rgbConvert(o){o instanceof Color||(o=color(o));if(!o)return new Rgb;o=o.rgb();return new Rgb(o.r,o.g,o.b,o.opacity)}function rgb(r,g,b,opacity){return 1===arguments.length?rgbConvert(r):new Rgb(r,g,b,null==opacity?1:opacity)}function Rgb(r,g,b,opacity){this.r=+r;this.g=+g;this.b=+b;this.opacity=+opacity}define(Rgb,rgb,extend(Color,{brighter:function(k){k=null==k?brighter:Math.pow(brighter,k);return new Rgb(this.r*k,this.g*k,this.b*k,this.opacity)},darker:function(k){k=null==k?darker:Math.pow(darker,k);return new Rgb(this.r*k,this.g*k,this.b*k,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var a=this.opacity;a=isNaN(a)?1:Math.max(0,Math.min(1,a));return(1===a?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===a?")":", "+a+")")}}));function hsla(h,s,l,a){a<=0?h=s=l=NaN:l<=0||l>=1?h=s=NaN:s<=0&&(h=NaN);return new Hsl(h,s,l,a)}function hslConvert(o){if(o instanceof Hsl)return new Hsl(o.h,o.s,o.l,o.opacity);o instanceof Color||(o=color(o));if(!o)return new Hsl;if(o instanceof Hsl)return o;o=o.rgb();var r=o.r/255,g=o.g/255,b=o.b/255,min=Math.min(r,g,b),max=Math.max(r,g,b),h=NaN,s=max-min,l=(max+min)/2;if(s){h=r===max?(g-b)/s+6*(g<b):g===max?(b-r)/s+2:(r-g)/s+4;s/=l<.5?max+min:2-max-min;h*=60}else s=l>0&&l<1?0:h;return new Hsl(h,s,l,o.opacity)}function hsl(h,s,l,opacity){return 1===arguments.length?hslConvert(h):new Hsl(h,s,l,null==opacity?1:opacity)}function Hsl(h,s,l,opacity){this.h=+h;this.s=+s;this.l=+l;this.opacity=+opacity}define(Hsl,hsl,extend(Color,{brighter:function(k){k=null==k?brighter:Math.pow(brighter,k);return new Hsl(this.h,this.s,this.l*k,this.opacity)},darker:function(k){k=null==k?darker:Math.pow(darker,k);return new Hsl(this.h,this.s,this.l*k,this.opacity)},rgb:function(){var h=this.h%360+360*(this.h<0),s=isNaN(h)||isNaN(this.s)?0:this.s,l=this.l,m2=l+(l<.5?l:1-l)*s,m1=2*l-m2;return new Rgb(hsl2rgb(h>=240?h-240:h+120,m1,m2),hsl2rgb(h,m1,m2),hsl2rgb(h<120?h+240:h-120,m1,m2),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));function hsl2rgb(h,m1,m2){return 255*(h<60?m1+(m2-m1)*h/60:h<180?m2:h<240?m1+(m2-m1)*(240-h)/60:m1)}var deg2rad=Math.PI/180;var rad2deg=180/Math.PI;var Kn=18;var Xn=.95047;var Yn=1;var Zn=1.08883;var t0=4/29;var t1=6/29;var t2=3*t1*t1;var t3=t1*t1*t1;function labConvert(o){if(o instanceof Lab)return new Lab(o.l,o.a,o.b,o.opacity);if(o instanceof Hcl){var h=o.h*deg2rad;return new Lab(o.l,Math.cos(h)*o.c,Math.sin(h)*o.c,o.opacity)}o instanceof Rgb||(o=rgbConvert(o));var b=rgb2xyz(o.r),a=rgb2xyz(o.g),l=rgb2xyz(o.b),x=xyz2lab((.4124564*b+.3575761*a+.1804375*l)/Xn),y=xyz2lab((.2126729*b+.7151522*a+.072175*l)/Yn),z=xyz2lab((.0193339*b+.119192*a+.9503041*l)/Zn);return new Lab(116*y-16,500*(x-y),200*(y-z),o.opacity)}function lab(l,a,b,opacity){return 1===arguments.length?labConvert(l):new Lab(l,a,b,null==opacity?1:opacity)}function Lab(l,a,b,opacity){this.l=+l;this.a=+a;this.b=+b;this.opacity=+opacity}define(Lab,lab,extend(Color,{brighter:function(k){return new Lab(this.l+Kn*(null==k?1:k),this.a,this.b,this.opacity)},darker:function(k){return new Lab(this.l-Kn*(null==k?1:k),this.a,this.b,this.opacity)},rgb:function(){var y=(this.l+16)/116,x=isNaN(this.a)?y:y+this.a/500,z=isNaN(this.b)?y:y-this.b/200;y=Yn*lab2xyz(y);x=Xn*lab2xyz(x);z=Zn*lab2xyz(z);return new Rgb(xyz2rgb(3.2404542*x-1.5371385*y-.4985314*z),xyz2rgb(-.969266*x+1.8760108*y+.041556*z),xyz2rgb(.0556434*x-.2040259*y+1.0572252*z),this.opacity)}}));function xyz2lab(t){return t>t3?Math.pow(t,1/3):t/t2+t0}function lab2xyz(t){return t>t1?t*t*t:t2*(t-t0)}function xyz2rgb(x){return 255*(x<=.0031308?12.92*x:1.055*Math.pow(x,1/2.4)-.055)}function rgb2xyz(x){return(x/=255)<=.04045?x/12.92:Math.pow((x+.055)/1.055,2.4)}function hclConvert(o){if(o instanceof Hcl)return new Hcl(o.h,o.c,o.l,o.opacity);o instanceof Lab||(o=labConvert(o));var h=Math.atan2(o.b,o.a)*rad2deg;return new Hcl(h<0?h+360:h,Math.sqrt(o.a*o.a+o.b*o.b),o.l,o.opacity)}function hcl(h,c,l,opacity){return 1===arguments.length?hclConvert(h):new Hcl(h,c,l,null==opacity?1:opacity)}function Hcl(h,c,l,opacity){this.h=+h;this.c=+c;this.l=+l;this.opacity=+opacity}define(Hcl,hcl,extend(Color,{brighter:function(k){return new Hcl(this.h,this.c,this.l+Kn*(null==k?1:k),this.opacity)},darker:function(k){return new Hcl(this.h,this.c,this.l-Kn*(null==k?1:k),this.opacity)},rgb:function(){return labConvert(this).rgb()}}));var A=-.14861;var B=1.78277;var C=-.29227;var D=-.90649;var E=1.97294;var ED=E*D;var EB=E*B;var BC_DA=B*C-D*A;function cubehelixConvert(o){if(o instanceof Cubehelix)return new Cubehelix(o.h,o.s,o.l,o.opacity);o instanceof Rgb||(o=rgbConvert(o));var r=o.r/255,g=o.g/255,b=o.b/255,l=(BC_DA*b+ED*r-EB*g)/(BC_DA+ED-EB),bl=b-l,k=(E*(g-l)-C*bl)/D,s=Math.sqrt(k*k+bl*bl)/(E*l*(1-l)),h=s?Math.atan2(k,bl)*rad2deg-120:NaN;return new Cubehelix(h<0?h+360:h,s,l,o.opacity)}function cubehelix(h,s,l,opacity){return 1===arguments.length?cubehelixConvert(h):new Cubehelix(h,s,l,null==opacity?1:opacity)}function Cubehelix(h,s,l,opacity){this.h=+h;this.s=+s;this.l=+l;this.opacity=+opacity}define(Cubehelix,cubehelix,extend(Color,{brighter:function(k){k=null==k?brighter:Math.pow(brighter,k);return new Cubehelix(this.h,this.s,this.l*k,this.opacity)},darker:function(k){k=null==k?darker:Math.pow(darker,k);return new Cubehelix(this.h,this.s,this.l*k,this.opacity)},rgb:function(){var h=isNaN(this.h)?0:(this.h+120)*deg2rad,l=+this.l,a=isNaN(this.s)?0:this.s*l*(1-l),cosh=Math.cos(h),sinh=Math.sin(h);return new Rgb(255*(l+a*(A*cosh+B*sinh)),255*(l+a*(C*cosh+D*sinh)),255*(l+a*(E*cosh)),this.opacity)}}));exports.color=color;exports.rgb=rgb;exports.hsl=hsl;exports.lab=lab;exports.hcl=hcl;exports.cubehelix=cubehelix;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports);var factory},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.MarginPropType=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.getInnerDimensions=getInnerDimensions;exports.getRadialLayoutMargin=getRadialLayoutMargin;var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function getInnerDimensions(props,defaultMargins){var margin=props.margin,width=props.width,height=props.height;var marginProps=_extends({},defaultMargins,"number"===typeof margin?{left:margin,right:margin,top:margin,bottom:margin}:margin);var _marginProps$left=marginProps.left,marginLeft=void 0===_marginProps$left?0:_marginProps$left,_marginProps$top=marginProps.top,marginTop=void 0===_marginProps$top?0:_marginProps$top,_marginProps$right=marginProps.right,marginRight=void 0===_marginProps$right?0:_marginProps$right,_marginProps$bottom=marginProps.bottom,marginBottom=void 0===_marginProps$bottom?0:_marginProps$bottom;return{marginLeft:marginLeft,marginTop:marginTop,marginRight:marginRight,marginBottom:marginBottom,innerHeight:height-marginBottom-marginTop,innerWidth:width-marginLeft-marginRight}}function getRadialLayoutMargin(width,height,radius){var marginX=width/2-radius;var marginY=height/2-radius;return{bottom:marginY,left:marginX,right:marginX,top:marginY}}exports.MarginPropType=_propTypes2.default.oneOfType([_propTypes2.default.shape({left:_propTypes2.default.number,top:_propTypes2.default.number,right:_propTypes2.default.number,bottom:_propTypes2.default.number}),_propTypes2.default.number])},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _seriesUtils=__webpack_require__(50);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-xy-plot__series rv-xy-plot__series--label";var getTextAnchor=function getTextAnchor(labelAnchorX,leftOfMiddle){return labelAnchorX||(leftOfMiddle?"start":"end")};var getAlignmentBaseline=function getAlignmentBaseline(labelAnchorY,aboveMiddle){return labelAnchorY||(aboveMiddle?"text-before-edge":"text-after-edge")};var LabelSeries=function(_AbstractSeries){_inherits(LabelSeries,_AbstractSeries);function LabelSeries(){_classCallCheck(this,LabelSeries);return _possibleConstructorReturn(this,(LabelSeries.__proto__||Object.getPrototypeOf(LabelSeries)).apply(this,arguments))}_createClass(LabelSeries,[{key:"render",value:function render(){var _this2=this;var _props=this.props,animation=_props.animation,allowOffsetToBeReversed=_props.allowOffsetToBeReversed,className=_props.className,data=_props.data,_data=_props._data,getLabel=_props.getLabel,marginLeft=_props.marginLeft,marginTop=_props.marginTop,rotation=_props.rotation,style=_props.style,xRange=_props.xRange,yRange=_props.yRange,labelAnchorX=_props.labelAnchorX,labelAnchorY=_props.labelAnchorY;if(!data)return null;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS}),_react2.default.createElement(LabelSeries,_extends({},this.props,{animation:null,_data:data})));var xFunctor=this._getAttributeFunctor("x");var yFunctor=this._getAttributeFunctor("y");return _react2.default.createElement("g",{className:predefinedClassName+" "+className,transform:"translate("+marginLeft+","+marginTop+")",style:style},data.reduce(function(res,d,i){var markStyle=d.style,xOffset=d.xOffset,yOffset=d.yOffset;if(!getLabel(d))return res;var xVal=xFunctor(d);var yVal=yFunctor(d);var leftOfMiddle=xVal<(xRange[1]-xRange[0])/2;var aboveMiddle=yVal<Math.abs(yRange[1]-yRange[0])/2;var x=xVal+(allowOffsetToBeReversed&&leftOfMiddle?-1:1)*(xOffset||0);var y=yVal+(allowOffsetToBeReversed&&aboveMiddle?-1:1)*(yOffset||0);var attrs=_extends({alignmentBaseline:getAlignmentBaseline(labelAnchorY,aboveMiddle),className:"rv-xy-plot__series--label-text",key:i,onClick:function onClick(e){return _this2._valueClickHandler(d,e)},onContextMenu:function onContextMenu(e){return _this2._valueRightClickHandler(d,e)},onMouseOver:function onMouseOver(e){return _this2._valueMouseOverHandler(d,e)},onMouseOut:function onMouseOut(e){return _this2._valueMouseOutHandler(d,e)},textAnchor:getTextAnchor(labelAnchorX,leftOfMiddle),x:x,y:y,transform:"rotate("+(d.rotation||rotation)+","+x+","+y+")"},markStyle);var textContent=getLabel(_data?_data[i]:d);return res.concat([_react2.default.createElement("text",attrs,textContent)])},[]))}}]);return LabelSeries}(_abstractSeries2.default);LabelSeries.propTypes={animation:_propTypes2.default.bool,allowOffsetToBeReversed:_propTypes2.default.bool,className:_propTypes2.default.string,data:_propTypes2.default.arrayOf(_propTypes2.default.shape({x:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string]),y:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string]),angle:_propTypes2.default.number,radius:_propTypes2.default.number,label:_propTypes2.default.string,xOffset:_propTypes2.default.number,yOffset:_propTypes2.default.number,style:_propTypes2.default.object})).isRequired,marginLeft:_propTypes2.default.number,marginTop:_propTypes2.default.number,rotation:_propTypes2.default.number,style:_propTypes2.default.object,xRange:_propTypes2.default.arrayOf(_propTypes2.default.number),yRange:_propTypes2.default.arrayOf(_propTypes2.default.number),labelAnchorX:_propTypes2.default.string,labelAnchorY:_propTypes2.default.string};LabelSeries.defaultProps=_extends({},_abstractSeries2.default.defaultProps,{animation:false,rotation:0,getLabel:function getLabel(d){return d.label}});LabelSeries.displayName="LabelSeries";exports.default=LabelSeries},function(module,exports){module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}}},function(module,exports){var id=0;var px=Math.random();module.exports=function(key){return"Symbol(".concat(void 0===key?"":key,")_",(++id+px).toString(36))}},function(module,exports){module.exports=function(it){if("function"!=typeof it)throw TypeError(it+" is not a function!");return it}},function(module,exports){module.exports=function(it){if(void 0==it)throw TypeError("Can't call method on  "+it);return it}},function(module,exports){var ceil=Math.ceil;var floor=Math.floor;module.exports=function(it){return isNaN(it=+it)?0:(it>0?floor:ceil)(it)}},function(module,exports,__webpack_require__){var $keys=__webpack_require__(842);var enumBugKeys=__webpack_require__(475);module.exports=Object.keys||function keys(O){return $keys(O,enumBugKeys)}},function(module,exports,__webpack_require__){var tree={};tree.Node=__webpack_require__(21);tree.Alpha=__webpack_require__(2247);tree.Color=__webpack_require__(173);tree.Directive=__webpack_require__(868);tree.DetachedRuleset=__webpack_require__(871);tree.Operation=__webpack_require__(492);tree.Dimension=__webpack_require__(121);tree.Unit=__webpack_require__(872);tree.Keyword=__webpack_require__(333);tree.Variable=__webpack_require__(334);tree.Ruleset=__webpack_require__(252);tree.Element=__webpack_require__(331);tree.Attribute=__webpack_require__(2248);tree.Combinator=__webpack_require__(869);tree.Selector=__webpack_require__(174);tree.Quoted=__webpack_require__(137);tree.Expression=__webpack_require__(253);tree.Rule=__webpack_require__(489);tree.Call=__webpack_require__(2249);tree.URL=__webpack_require__(254);tree.Import=__webpack_require__(2250);tree.mixin={Call:__webpack_require__(2251),Definition:__webpack_require__(877)};tree.Comment=__webpack_require__(874);tree.Anonymous=__webpack_require__(138);tree.Value=__webpack_require__(490);tree.JavaScript=__webpack_require__(878);tree.Assignment=__webpack_require__(2252);tree.Condition=__webpack_require__(2253);tree.Paren=__webpack_require__(332);tree.Media=__webpack_require__(876);tree.UnicodeDescriptor=__webpack_require__(2254);tree.Negative=__webpack_require__(2255);tree.Extend=__webpack_require__(2256);tree.RulesetCall=__webpack_require__(2257);module.exports=tree},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),colors=__webpack_require__(867);var Color=function(rgb,a,originalForm){Array.isArray(rgb)?this.rgb=rgb:6==rgb.length?this.rgb=rgb.match(/.{2}/g).map(function(c){return parseInt(c,16)}):this.rgb=rgb.split("").map(function(c){return parseInt(c+c,16)});this.alpha="number"===typeof a?a:1;"undefined"!==typeof originalForm&&(this.value=originalForm)};Color.prototype=new Node;Color.prototype.type="Color";function clamp(v,max){return Math.min(Math.max(v,0),max)}function toHex(v){return"#"+v.map(function(c){c=clamp(Math.round(c),255);return(c<16?"0":"")+c.toString(16)}).join("")}Color.prototype.luma=function(){var r=this.rgb[0]/255,g=this.rgb[1]/255,b=this.rgb[2]/255;r=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4);g=g<=.03928?g/12.92:Math.pow((g+.055)/1.055,2.4);b=b<=.03928?b/12.92:Math.pow((b+.055)/1.055,2.4);return.2126*r+.7152*g+.0722*b};Color.prototype.genCSS=function(context,output){output.add(this.toCSS(context))};Color.prototype.toCSS=function(context,doNotCompress){var color,alpha,compress=context&&context.compress&&!doNotCompress;if(this.value)return this.value;alpha=this.fround(context,this.alpha);if(alpha<1)return"rgba("+this.rgb.map(function(c){return clamp(Math.round(c),255)}).concat(clamp(alpha,1)).join(","+(compress?"":" "))+")";color=this.toRGB();if(compress){var splitcolor=color.split("");splitcolor[1]===splitcolor[2]&&splitcolor[3]===splitcolor[4]&&splitcolor[5]===splitcolor[6]&&(color="#"+splitcolor[1]+splitcolor[3]+splitcolor[5])}return color};Color.prototype.operate=function(context,op,other){var rgb=[];var alpha=this.alpha*(1-other.alpha)+other.alpha;for(var c=0;c<3;c++)rgb[c]=this._operate(context,op,this.rgb[c],other.rgb[c]);return new Color(rgb,alpha)};Color.prototype.toRGB=function(){return toHex(this.rgb)};Color.prototype.toHSL=function(){var r=this.rgb[0]/255,g=this.rgb[1]/255,b=this.rgb[2]/255,a=this.alpha;var max=Math.max(r,g,b),min=Math.min(r,g,b);var h,s,l=(max+min)/2,d=max-min;if(max===min)h=s=0;else{s=l>.5?d/(2-max-min):d/(max+min);switch(max){case r:h=(g-b)/d+(g<b?6:0);break;case g:h=(b-r)/d+2;break;case b:h=(r-g)/d+4}h/=6}return{h:360*h,s:s,l:l,a:a}};Color.prototype.toHSV=function(){var r=this.rgb[0]/255,g=this.rgb[1]/255,b=this.rgb[2]/255,a=this.alpha;var max=Math.max(r,g,b),min=Math.min(r,g,b);var h,s,v=max;var d=max-min;s=0===max?0:d/max;if(max===min)h=0;else{switch(max){case r:h=(g-b)/d+(g<b?6:0);break;case g:h=(b-r)/d+2;break;case b:h=(r-g)/d+4}h/=6}return{h:360*h,s:s,v:v,a:a}};Color.prototype.toARGB=function(){return toHex([255*this.alpha].concat(this.rgb))};Color.prototype.compare=function(x){return x.rgb&&x.rgb[0]===this.rgb[0]&&x.rgb[1]===this.rgb[1]&&x.rgb[2]===this.rgb[2]&&x.alpha===this.alpha?0:void 0};Color.fromKeyword=function(keyword){var c,key=keyword.toLowerCase();colors.hasOwnProperty(key)?c=new Color(colors[key].slice(1)):"transparent"===key&&(c=new Color([0,0,0],0));if(c){c.value=keyword;return c}};module.exports=Color},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),Element=__webpack_require__(331);var Selector=function(elements,extendList,condition,index,currentFileInfo,visibilityInfo){this.elements=elements;this.extendList=extendList;this.condition=condition;this.currentFileInfo=currentFileInfo||{};condition||(this.evaldCondition=true);this.copyVisibilityInfo(visibilityInfo)};Selector.prototype=new Node;Selector.prototype.type="Selector";Selector.prototype.accept=function(visitor){this.elements&&(this.elements=visitor.visitArray(this.elements));this.extendList&&(this.extendList=visitor.visitArray(this.extendList));this.condition&&(this.condition=visitor.visit(this.condition))};Selector.prototype.createDerived=function(elements,extendList,evaldCondition){var info=this.visibilityInfo();evaldCondition=null!=evaldCondition?evaldCondition:this.evaldCondition;var newSelector=new Selector(elements,extendList||this.extendList,null,this.index,this.currentFileInfo,info);newSelector.evaldCondition=evaldCondition;newSelector.mediaEmpty=this.mediaEmpty;return newSelector};Selector.prototype.createEmptySelectors=function(){var el=new Element("","&",this.index,this.currentFileInfo),sels=[new Selector([el],null,null,this.index,this.currentFileInfo)];sels[0].mediaEmpty=true;return sels};Selector.prototype.match=function(other){var olen,i,elements=this.elements,len=elements.length;other.CacheElements();olen=other._elements.length;if(0===olen||len<olen)return 0;for(i=0;i<olen;i++)if(elements[i].value!==other._elements[i])return 0;return olen};Selector.prototype.CacheElements=function(){if(this._elements)return;var elements=this.elements.map(function(v){return v.combinator.value+(v.value.value||v.value)}).join("").match(/[,&#\*\.\w-]([\w-]|(\\.))*/g);elements?"&"===elements[0]&&elements.shift():elements=[];this._elements=elements};Selector.prototype.isJustParentSelector=function(){return!this.mediaEmpty&&1===this.elements.length&&"&"===this.elements[0].value&&(" "===this.elements[0].combinator.value||""===this.elements[0].combinator.value)};Selector.prototype.eval=function(context){var evaldCondition=this.condition&&this.condition.eval(context),elements=this.elements,extendList=this.extendList;elements=elements&&elements.map(function(e){return e.eval(context)});extendList=extendList&&extendList.map(function(extend){return extend.eval(context)});return this.createDerived(elements,extendList,evaldCondition)};Selector.prototype.genCSS=function(context,output){var i,element;context&&context.firstSelector||""!==this.elements[0].combinator.value||output.add(" ",this.currentFileInfo,this.index);if(!this._css)for(i=0;i<this.elements.length;i++){element=this.elements[i];element.genCSS(context,output)}};Selector.prototype.getIsOutput=function(){return this.evaldCondition};module.exports=Selector},function(module,exports,__webpack_require__){"use strict";__webpack_require__(499);__webpack_require__(2366);module.exports=window.angular;__webpack_require__(2367);__webpack_require__(209).get("kibana",["monospaced.elastic"])},function(module,exports,__webpack_require__){"use strict";var pna=__webpack_require__(337);var objectKeys=Object.keys||function(obj){var keys=[];for(var key in obj)keys.push(key);return keys};module.exports=Duplex;var util=__webpack_require__(258);util.inherits=__webpack_require__(122);var Readable=__webpack_require__(900);var Writable=__webpack_require__(501);util.inherits(Duplex,Readable);var keys=objectKeys(Writable.prototype);for(var v=0;v<keys.length;v++){var method=keys[v];Duplex.prototype[method]||(Duplex.prototype[method]=Writable.prototype[method])}function Duplex(options){if(!(this instanceof Duplex))return new Duplex(options);Readable.call(this,options);Writable.call(this,options);options&&false===options.readable&&(this.readable=false);options&&false===options.writable&&(this.writable=false);this.allowHalfOpen=true;options&&false===options.allowHalfOpen&&(this.allowHalfOpen=false);this.once("end",onend)}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function onend(){if(this.allowHalfOpen||this._writableState.ended)return;pna.nextTick(onEndNT,this)}function onEndNT(self){self.end()}Object.defineProperty(Duplex.prototype,"destroyed",{get:function(){if(void 0===this._readableState||void 0===this._writableState)return false;return this._readableState.destroyed&&this._writableState.destroyed},set:function(value){if(void 0===this._readableState||void 0===this._writableState)return;this._readableState.destroyed=value;this._writableState.destroyed=value}});Duplex.prototype._destroy=function(err,cb){this.push(null);this.end();pna.nextTick(cb,err)}},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(519),getRawTag=__webpack_require__(2614),objectToString=__webpack_require__(2615);var nullTag="[object Null]",undefinedTag="[object Undefined]";var symToStringTag=Symbol?Symbol.toStringTag:void 0;function baseGetTag(value){if(null==value)return void 0===value?undefinedTag:nullTag;return symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}module.exports=baseGetTag},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _ast__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(37);__webpack_require__.d(__webpack_exports__,"fromLiteralExpression",function(){return _ast__WEBPACK_IMPORTED_MODULE_0__["fromLiteralExpression"]});__webpack_require__.d(__webpack_exports__,"fromLegacyKueryExpression",function(){return _ast__WEBPACK_IMPORTED_MODULE_0__["fromLegacyKueryExpression"]});__webpack_require__.d(__webpack_exports__,"fromKueryExpression",function(){return _ast__WEBPACK_IMPORTED_MODULE_0__["fromKueryExpression"]});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return _ast__WEBPACK_IMPORTED_MODULE_0__["toElasticsearchQuery"]});__webpack_require__.d(__webpack_exports__,"doesKueryExpressionHaveLuceneSyntaxError",function(){return _ast__WEBPACK_IMPORTED_MODULE_0__["doesKueryExpressionHaveLuceneSyntaxError"]});var _filter_migration__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(789);__webpack_require__.d(__webpack_exports__,"filterToKueryAST",function(){return _filter_migration__WEBPACK_IMPORTED_MODULE_1__["filterToKueryAST"]});var _node_types__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(22);__webpack_require__.d(__webpack_exports__,"nodeTypes",function(){return _node_types__WEBPACK_IMPORTED_MODULE_2__["nodeTypes"]})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"wildcardSymbol",function(){return wildcardSymbol});__webpack_require__.d(__webpack_exports__,"buildNode",function(){return buildNode});__webpack_require__.d(__webpack_exports__,"test",function(){return test});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return toElasticsearchQuery});__webpack_require__.d(__webpack_exports__,"toQueryStringQuery",function(){return toQueryStringQuery});__webpack_require__.d(__webpack_exports__,"hasLeadingWildcard",function(){return hasLeadingWildcard});var _ast_ast__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(360);var wildcardSymbol="@kuery-wildcard@";function escapeRegExp(string){return string.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function escapeQueryString(string){return string.replace(/[+-=&|><!(){}[\]^"~*?:\\\/]/g,"\\$&")}function buildNode(value){if(!value.includes(wildcardSymbol))return Object(_ast_ast__WEBPACK_IMPORTED_MODULE_0__["fromLiteralExpression"])(value);return{type:"wildcard",value:value}}function test(node,string){var value=node.value;var regex=value.split(wildcardSymbol).map(escapeRegExp).join("[\\s\\S]*");var regexp=new RegExp("^".concat(regex,"$"));return regexp.test(string)}function toElasticsearchQuery(node){var value=node.value;return value.split(wildcardSymbol).join("*")}function toQueryStringQuery(node){var value=node.value;return value.split(wildcardSymbol).map(escapeQueryString).join("*")}function hasLeadingWildcard(node){var value=node.value;return value.startsWith(wildcardSymbol)&&value.replace(wildcardSymbol,"").length>0}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(371);var min=Math.min;module.exports=function(it){return it>0?min(toInteger(it),9007199254740991):0}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(71);var meta=__webpack_require__(554).onFreeze;__webpack_require__(550)("freeze",function($freeze){return function freeze(it){return $freeze&&isObject(it)?$freeze(meta(it)):it}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiPortal",{enumerable:true,get:function get(){return _portal.EuiPortal}});var _portal=__webpack_require__(1086)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiLoadingKibana",{enumerable:true,get:function get(){return _loading_kibana.EuiLoadingKibana}});Object.defineProperty(exports,"EuiLoadingChart",{enumerable:true,get:function get(){return _loading_chart.EuiLoadingChart}});Object.defineProperty(exports,"EuiLoadingSpinner",{enumerable:true,get:function get(){return _loading_spinner.EuiLoadingSpinner}});var _loading_kibana=__webpack_require__(1101);var _loading_chart=__webpack_require__(591);var _loading_spinner=__webpack_require__(1102)},function(module,exports){function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}module.exports=isObject},function(module,exports){function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}module.exports=isObject},function(module,exports,__webpack_require__){var baseIsNative=__webpack_require__(1467),getValue=__webpack_require__(1470);function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}module.exports=getNative},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiContextMenu",{enumerable:true,get:function get(){return _context_menu.EuiContextMenu}});Object.defineProperty(exports,"EuiContextMenuPanel",{enumerable:true,get:function get(){return _context_menu_panel.EuiContextMenuPanel}});Object.defineProperty(exports,"EuiContextMenuItem",{enumerable:true,get:function get(){return _context_menu_item.EuiContextMenuItem}});var _context_menu=__webpack_require__(1592);var _context_menu_panel=__webpack_require__(663);var _context_menu_item=__webpack_require__(664)},function(module,exports){module.exports=function(exec){try{return!!exec()}catch(e){return true}}},function(module,exports){module.exports={}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiFilterGroup",{enumerable:true,get:function get(){return _filter_group.EuiFilterGroup}});Object.defineProperty(exports,"EuiFilterButton",{enumerable:true,get:function get(){return _filter_button.EuiFilterButton}});Object.defineProperty(exports,"EuiFilterSelectItem",{enumerable:true,get:function get(){return _filter_select_item.EuiFilterSelectItem}});var _filter_group=__webpack_require__(1734);var _filter_button=__webpack_require__(1735);var _filter_select_item=__webpack_require__(1736)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Query",{enumerable:true,get:function get(){return _query.Query}});Object.defineProperty(exports,"AST",{enumerable:true,get:function get(){return _ast.AST}});Object.defineProperty(exports,"parseDateValue",{enumerable:true,get:function get(){return _date_value.dateValueParser}});var _query=__webpack_require__(1790);var _ast=__webpack_require__(192);var _date_value=__webpack_require__(162)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.AST=exports._AST=exports.Operator=exports.Match=void 0;__webpack_require__(79);__webpack_require__(80);__webpack_require__(42);__webpack_require__(7);__webpack_require__(8);__webpack_require__(439);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(94);__webpack_require__(81);__webpack_require__(181);var _predicate=__webpack_require__(38);var _date_value=__webpack_require__(162);function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}var Match=Object.freeze({MUST:"must",MUST_NOT:"must_not",isMust:function isMust(match){return match===Match.MUST},isMustClause:function isMustClause(clause){return Match.isMust(clause.match)}});exports.Match=Match;var Operator=Object.freeze({EQ:"eq",GT:"gt",GTE:"gte",LT:"lt",LTE:"lte",isEQ:function isEQ(match){return match===Operator.EQ},isEQClause:function isEQClause(clause){return Operator.isEQ(clause.operator)},isRange:function isRange(match){return Operator.isGT(match)||Operator.isGTE(match)||Operator.isLT(match)||Operator.isLTE(match)},isRangeClause:function isRangeClause(clause){return Operator.isRange(clause.operator)},isGT:function isGT(match){return match===Operator.GT},isGTClause:function isGTClause(clause){return Operator.isGT(clause.operator)},isGTE:function isGTE(match){return match===Operator.GTE},isGTEClause:function isGTEClause(clause){return Operator.isGTE(clause.operator)},isLT:function isLT(match){return match===Operator.LT},isLTClause:function isLTClause(clause){return Operator.isLT(clause.operator)},isLTE:function isLTE(match){return match===Operator.LTE},isLTEClause:function isLTEClause(clause){return Operator.isLTE(clause.operator)}});exports.Operator=Operator;var Term=Object.freeze({TYPE:"term",isInstance:function isInstance(clause){return clause.type===Term.TYPE},must:function must(value){return{type:Term.TYPE,value:value,match:Match.MUST}},mustNot:function mustNot(value){return{type:Term.TYPE,value:value,match:Match.MUST_NOT}}});var Field=Object.freeze({TYPE:"field",isInstance:function isInstance(clause){return clause.type===Field.TYPE},must:{eq:function eq(field,value){return{type:Field.TYPE,field:field,value:value,match:Match.MUST,operator:Operator.EQ}},gt:function gt(field,value){return{type:Field.TYPE,field:field,value:value,match:Match.MUST,operator:Operator.GT}},gte:function gte(field,value){return{type:Field.TYPE,field:field,value:value,match:Match.MUST,operator:Operator.GTE}},lt:function lt(field,value){return{type:Field.TYPE,field:field,value:value,match:Match.MUST,operator:Operator.LT}},lte:function lte(field,value){return{type:Field.TYPE,field:field,value:value,match:Match.MUST,operator:Operator.LTE}}},mustNot:{eq:function eq(field,value){return{type:Field.TYPE,field:field,value:value,match:Match.MUST_NOT,operator:Operator.EQ}},gt:function gt(field,value){return{type:Field.TYPE,field:field,value:value,match:Match.MUST_NOT,operator:Operator.GT}},gte:function gte(field,value){return{type:Field.TYPE,field:field,value:value,match:Match.MUST_NOT,operator:Operator.GTE}},lt:function lt(field,value){return{type:Field.TYPE,field:field,value:value,match:Match.MUST_NOT,operator:Operator.LT}},lte:function lte(field,value){return{type:Field.TYPE,field:field,value:value,match:Match.MUST_NOT,operator:Operator.LTE}}}});var Is=Object.freeze({TYPE:"is",isInstance:function isInstance(clause){return clause.type===Is.TYPE},must:function must(flag){return{type:Is.TYPE,flag:flag,match:Match.MUST}},mustNot:function mustNot(flag){return{type:Is.TYPE,flag:flag,match:Match.MUST_NOT}}});var valuesEqual=function valuesEqual(v1,v2){if((0,_date_value.isDateValue)(v1))return(0,_date_value.dateValuesEqual)(v1,v2);return v1===v2};var arrayIncludesValue=function arrayIncludesValue(array,value){return array.some(function(item){return valuesEqual(item,value)})};var _AST=function(){_createClass(_AST,null,[{key:"create",value:function create(clauses){return new _AST(clauses)}}]);function _AST(){var clauses=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,_AST);this._clauses=clauses;this._indexedClauses=clauses.reduce(function(map,clause){switch(clause.type){case Field.TYPE:map.field[clause.field]||(map.field[clause.field]=[]);map.field[clause.field].push(clause);return map;case Is.TYPE:map.is[clause.flag]=clause;return map;case Term.TYPE:map.term.push(clause);return map;default:throw new Error("Unknown query clause type [".concat(clause.type,"]"))}},{field:{},is:{},term:[]})}_createClass(_AST,[{key:"getTermClauses",value:function getTermClauses(){return this._indexedClauses.term}},{key:"getTermClause",value:function getTermClause(value){var clauses=this.getTermClauses();return clauses.find(function(clause){return valuesEqual(clause.value,value)})}},{key:"getFieldNames",value:function getFieldNames(){return Object.keys(this._indexedClauses.field)}},{key:"getFieldClauses",value:function getFieldClauses(){var field=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return field?this._indexedClauses.field[field]:this._clauses.filter(Field.isInstance)}},{key:"getFieldClause",value:function getFieldClause(field,predicate){var clauses=this.getFieldClauses(field);if(clauses)return clauses.find(predicate)}},{key:"hasOrFieldClause",value:function hasOrFieldClause(field){var value=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;var clauses=this.getFieldClause(field,function(clause){return(0,_predicate.isArray)(clause.value)});if(!clauses)return false;return(0,_predicate.isNil)(value)||clauses.some(function(clause){return arrayIncludesValue(clause.value,value)})}},{key:"getOrFieldClause",value:function getOrFieldClause(field){var value=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.getFieldClause(field,function(clause){return(0,_predicate.isArray)(clause.value)&&((0,_predicate.isNil)(value)||arrayIncludesValue(clause.value,value))})}},{key:"addOrFieldValue",value:function addOrFieldValue(field,value){var must=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];var operator=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Operator.EQ;var existingClause=this.getOrFieldClause(field);if(!existingClause){var newClause=must?Field.must[operator](field,[value]):Field.mustNot[operator](field,[value]);return new _AST(_toConsumableArray(this._clauses).concat([newClause]))}var clauses=this._clauses.map(function(clause){clause===existingClause&&clause.value.push(value);return clause});return new _AST(clauses)}},{key:"removeOrFieldValue",value:function removeOrFieldValue(field,value){var existingClause=this.getOrFieldClause(field,value);if(!existingClause)return new _AST(_toConsumableArray(this._clauses));var clauses=this._clauses.reduce(function(clauses,clause){if(clause!==existingClause){clauses.push(clause);return clauses}var filteredValue=clause.value.filter(function(val){return!valuesEqual(val,value)});if(0===filteredValue.length)return clauses;clauses.push(_objectSpread({},clause,{value:filteredValue}));return clauses},[]);return new _AST(clauses)}},{key:"removeOrFieldClauses",value:function removeOrFieldClauses(field){var clauses=this._clauses.filter(function(clause){return!Field.isInstance(clause)||clause.field!==field||!(0,_predicate.isArray)(clause.value)});return new _AST(clauses)}},{key:"hasSimpleFieldClause",value:function hasSimpleFieldClause(field){var value=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;var clauses=this.getFieldClause(field,function(clause){return!(0,_predicate.isArray)(clause.value)});if(!clauses)return false;return(0,_predicate.isNil)(value)||clauses.some(function(clause){return valuesEqual(clause.value,value)})}},{key:"getSimpleFieldClause",value:function getSimpleFieldClause(field){var value=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.getFieldClause(field,function(clause){return!(0,_predicate.isArray)(clause.value)&&((0,_predicate.isNil)(value)||valuesEqual(clause.value,value))})}},{key:"addSimpleFieldValue",value:function addSimpleFieldValue(field,value){var must=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];var operator=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Operator.EQ;var clause=must?Field.must[operator](field,value):Field.mustNot[operator](field,value);return this.addClause(clause)}},{key:"removeSimpleFieldValue",value:function removeSimpleFieldValue(field,value){var existingClause=this.getSimpleFieldClause(field,value);if(!existingClause)return new _AST(_toConsumableArray(this._clauses));var clauses=this._clauses.filter(function(clause){return clause!==existingClause});return new _AST(clauses)}},{key:"removeSimpleFieldClauses",value:function removeSimpleFieldClauses(field){var clauses=this._clauses.filter(function(clause){return!Field.isInstance(clause)||clause.field!==field||(0,_predicate.isArray)(clause.value)});return new _AST(clauses)}},{key:"getIsClauses",value:function getIsClauses(){return Object.values(this._indexedClauses.is)}},{key:"getIsClause",value:function getIsClause(flag){return this._indexedClauses.is[flag]}},{key:"removeIsClause",value:function removeIsClause(flag){return new _AST(this._clauses.filter(function(clause){return!Is.isInstance(clause)||clause.flag!==flag}))}},{key:"addClause",value:function addClause(newClause){var added=false;var newClauses=this._clauses.reduce(function(clauses,clause){if(newClause.type!==clause.type){clauses.push(clause);return clauses}switch(newClause.type){case Term.TYPE:if(newClause.value!==clause.value){clauses.push(clause);return clauses}break;case Field.TYPE:if(newClause.field!==clause.field||newClause.value!==clause.value){clauses.push(clause);return clauses}break;case Is.TYPE:if(newClause.flag!==clause.flag){clauses.push(clause);return clauses}break;default:throw new Error("unknown clause type [".concat(newClause.type,"]"))}added=true;clauses.push(newClause);return clauses},[]);added||newClauses.push(newClause);return new _AST(newClauses)}},{key:"clauses",get:function get(){return this._clauses}}]);return _AST}();exports._AST=_AST;var AST=Object.freeze({Match:Match,Operator:Operator,Term:Term,Field:Field,Is:Is,create:function create(clauses){return new _AST(clauses)}});exports.AST=AST},function(module,exports,__webpack_require__){0,factory=function(exports,d3Array,d3Collection,d3Interpolate,d3Format,d3Time,d3TimeFormat,d3Color){"use strict";var array=Array.prototype;var map$1=array.map;var slice=array.slice;var implicit={name:"implicit"};function ordinal(range$$1){var index=d3Collection.map(),domain=[],unknown=implicit;range$$1=null==range$$1?[]:slice.call(range$$1);function scale(d){var key=d+"",i=index.get(key);if(!i){if(unknown!==implicit)return unknown;index.set(key,i=domain.push(d))}return range$$1[(i-1)%range$$1.length]}scale.domain=function(_){if(!arguments.length)return domain.slice();domain=[],index=d3Collection.map();var d,key,i=-1,n=_.length;while(++i<n)index.has(key=(d=_[i])+"")||index.set(key,domain.push(d));return scale};scale.range=function(_){return arguments.length?(range$$1=slice.call(_),scale):range$$1.slice()};scale.unknown=function(_){return arguments.length?(unknown=_,scale):unknown};scale.copy=function(){return ordinal().domain(domain).range(range$$1).unknown(unknown)};return scale}function band(){var step,bandwidth,scale=ordinal().unknown(void 0),domain=scale.domain,ordinalRange=scale.range,range$$1=[0,1],round=false,paddingInner=0,paddingOuter=0,align=.5;delete scale.unknown;function rescale(){var n=domain().length,reverse=range$$1[1]<range$$1[0],start=range$$1[reverse-0],stop=range$$1[1-reverse];step=(stop-start)/Math.max(1,n-paddingInner+2*paddingOuter);round&&(step=Math.floor(step));start+=(stop-start-step*(n-paddingInner))*align;bandwidth=step*(1-paddingInner);round&&(start=Math.round(start),bandwidth=Math.round(bandwidth));var values=d3Array.range(n).map(function(i){return start+step*i});return ordinalRange(reverse?values.reverse():values)}scale.domain=function(_){return arguments.length?(domain(_),rescale()):domain()};scale.range=function(_){return arguments.length?(range$$1=[+_[0],+_[1]],rescale()):range$$1.slice()};scale.rangeRound=function(_){return range$$1=[+_[0],+_[1]],round=true,rescale()};scale.bandwidth=function(){return bandwidth};scale.step=function(){return step};scale.round=function(_){return arguments.length?(round=!!_,rescale()):round};scale.padding=function(_){return arguments.length?(paddingInner=paddingOuter=Math.max(0,Math.min(1,_)),rescale()):paddingInner};scale.paddingInner=function(_){return arguments.length?(paddingInner=Math.max(0,Math.min(1,_)),rescale()):paddingInner};scale.paddingOuter=function(_){return arguments.length?(paddingOuter=Math.max(0,Math.min(1,_)),rescale()):paddingOuter};scale.align=function(_){return arguments.length?(align=Math.max(0,Math.min(1,_)),rescale()):align};scale.copy=function(){return band().domain(domain()).range(range$$1).round(round).paddingInner(paddingInner).paddingOuter(paddingOuter).align(align)};return rescale()}function pointish(scale){var copy=scale.copy;scale.padding=scale.paddingOuter;delete scale.paddingInner;delete scale.paddingOuter;scale.copy=function(){return pointish(copy())};return scale}function point(){return pointish(band().paddingInner(1))}var constant=function(x){return function(){return x}};var number=function(x){return+x};var unit=[0,1];function deinterpolateLinear(a,b){return(b-=a=+a)?function(x){return(x-a)/b}:constant(b)}function deinterpolateClamp(deinterpolate){return function(a,b){var d=deinterpolate(a=+a,b=+b);return function(x){return x<=a?0:x>=b?1:d(x)}}}function reinterpolateClamp(reinterpolate){return function(a,b){var r=reinterpolate(a=+a,b=+b);return function(t){return t<=0?a:t>=1?b:r(t)}}}function bimap(domain,range$$1,deinterpolate,reinterpolate){var d0=domain[0],d1=domain[1],r0=range$$1[0],r1=range$$1[1];d1<d0?(d0=deinterpolate(d1,d0),r0=reinterpolate(r1,r0)):(d0=deinterpolate(d0,d1),r0=reinterpolate(r0,r1));return function(x){return r0(d0(x))}}function polymap(domain,range$$1,deinterpolate,reinterpolate){var j=Math.min(domain.length,range$$1.length)-1,d=new Array(j),r=new Array(j),i=-1;if(domain[j]<domain[0]){domain=domain.slice().reverse();range$$1=range$$1.slice().reverse()}while(++i<j){d[i]=deinterpolate(domain[i],domain[i+1]);r[i]=reinterpolate(range$$1[i],range$$1[i+1])}return function(x){var i=d3Array.bisect(domain,x,1,j)-1;return r[i](d[i](x))}}function copy(source,target){return target.domain(source.domain()).range(source.range()).interpolate(source.interpolate()).clamp(source.clamp())}function continuous(deinterpolate,reinterpolate){var piecewise,output,input,domain=unit,range$$1=unit,interpolate$$1=d3Interpolate.interpolate,clamp=false;function rescale(){piecewise=Math.min(domain.length,range$$1.length)>2?polymap:bimap;output=input=null;return scale}function scale(x){return(output||(output=piecewise(domain,range$$1,clamp?deinterpolateClamp(deinterpolate):deinterpolate,interpolate$$1)))(+x)}scale.invert=function(y){return(input||(input=piecewise(range$$1,domain,deinterpolateLinear,clamp?reinterpolateClamp(reinterpolate):reinterpolate)))(+y)};scale.domain=function(_){return arguments.length?(domain=map$1.call(_,number),rescale()):domain.slice()};scale.range=function(_){return arguments.length?(range$$1=slice.call(_),rescale()):range$$1.slice()};scale.rangeRound=function(_){return range$$1=slice.call(_),interpolate$$1=d3Interpolate.interpolateRound,rescale()};scale.clamp=function(_){return arguments.length?(clamp=!!_,rescale()):clamp};scale.interpolate=function(_){return arguments.length?(interpolate$$1=_,rescale()):interpolate$$1};return rescale()}var tickFormat=function(domain,count,specifier){var precision,start=domain[0],stop=domain[domain.length-1],step=d3Array.tickStep(start,stop,null==count?10:count);specifier=d3Format.formatSpecifier(null==specifier?",f":specifier);switch(specifier.type){case"s":var value=Math.max(Math.abs(start),Math.abs(stop));null!=specifier.precision||isNaN(precision=d3Format.precisionPrefix(step,value))||(specifier.precision=precision);return d3Format.formatPrefix(specifier,value);case"":case"e":case"g":case"p":case"r":null!=specifier.precision||isNaN(precision=d3Format.precisionRound(step,Math.max(Math.abs(start),Math.abs(stop))))||(specifier.precision=precision-("e"===specifier.type));break;case"f":case"%":null!=specifier.precision||isNaN(precision=d3Format.precisionFixed(step))||(specifier.precision=precision-2*("%"===specifier.type))}return d3Format.format(specifier)};function linearish(scale){var domain=scale.domain;scale.ticks=function(count){var d=domain();return d3Array.ticks(d[0],d[d.length-1],null==count?10:count)};scale.tickFormat=function(count,specifier){return tickFormat(domain(),count,specifier)};scale.nice=function(count){null==count&&(count=10);var step,d=domain(),i0=0,i1=d.length-1,start=d[i0],stop=d[i1];if(stop<start){step=start,start=stop,stop=step;step=i0,i0=i1,i1=step}step=d3Array.tickIncrement(start,stop,count);if(step>0){start=Math.floor(start/step)*step;stop=Math.ceil(stop/step)*step;step=d3Array.tickIncrement(start,stop,count)}else if(step<0){start=Math.ceil(start*step)/step;stop=Math.floor(stop*step)/step;step=d3Array.tickIncrement(start,stop,count)}if(step>0){d[i0]=Math.floor(start/step)*step;d[i1]=Math.ceil(stop/step)*step;domain(d)}else if(step<0){d[i0]=Math.ceil(start*step)/step;d[i1]=Math.floor(stop*step)/step;domain(d)}return scale};return scale}function linear(){var scale=continuous(deinterpolateLinear,d3Interpolate.interpolateNumber);scale.copy=function(){return copy(scale,linear())};return linearish(scale)}function identity(){var domain=[0,1];function scale(x){return+x}scale.invert=scale;scale.domain=scale.range=function(_){return arguments.length?(domain=map$1.call(_,number),scale):domain.slice()};scale.copy=function(){return identity().domain(domain)};return linearish(scale)}var nice=function(domain,interval){domain=domain.slice();var t,i0=0,i1=domain.length-1,x0=domain[i0],x1=domain[i1];if(x1<x0){t=i0,i0=i1,i1=t;t=x0,x0=x1,x1=t}domain[i0]=interval.floor(x0);domain[i1]=interval.ceil(x1);return domain};function deinterpolate(a,b){return(b=Math.log(b/a))?function(x){return Math.log(x/a)/b}:constant(b)}function reinterpolate(a,b){return a<0?function(t){return-Math.pow(-b,t)*Math.pow(-a,1-t)}:function(t){return Math.pow(b,t)*Math.pow(a,1-t)}}function pow10(x){return isFinite(x)?+("1e"+x):x<0?0:x}function powp(base){return 10===base?pow10:base===Math.E?Math.exp:function(x){return Math.pow(base,x)}}function logp(base){return base===Math.E?Math.log:10===base&&Math.log10||2===base&&Math.log2||(base=Math.log(base),function(x){return Math.log(x)/base})}function reflect(f){return function(x){return-f(-x)}}function log(){var scale=continuous(deinterpolate,reinterpolate).domain([1,10]),domain=scale.domain,base=10,logs=logp(10),pows=powp(10);function rescale(){logs=logp(base),pows=powp(base);domain()[0]<0&&(logs=reflect(logs),pows=reflect(pows));return scale}scale.base=function(_){return arguments.length?(base=+_,rescale()):base};scale.domain=function(_){return arguments.length?(domain(_),rescale()):domain()};scale.ticks=function(count){var r,d=domain(),u=d[0],v=d[d.length-1];(r=v<u)&&(i=u,u=v,v=i);var p,k,t,i=logs(u),j=logs(v),n=null==count?10:+count,z=[];if(!(base%1)&&j-i<n){i=Math.round(i)-1,j=Math.round(j)+1;if(u>0)for(;i<j;++i)for(k=1,p=pows(i);k<base;++k){t=p*k;if(t<u)continue;if(t>v)break;z.push(t)}else for(;i<j;++i)for(k=base-1,p=pows(i);k>=1;--k){t=p*k;if(t<u)continue;if(t>v)break;z.push(t)}}else z=d3Array.ticks(i,j,Math.min(j-i,n)).map(pows);return r?z.reverse():z};scale.tickFormat=function(count,specifier){null==specifier&&(specifier=10===base?".0e":",");"function"!==typeof specifier&&(specifier=d3Format.format(specifier));if(Infinity===count)return specifier;null==count&&(count=10);var k=Math.max(1,base*count/scale.ticks().length);return function(d){var i=d/pows(Math.round(logs(d)));i*base<base-.5&&(i*=base);return i<=k?specifier(d):""}};scale.nice=function(){return domain(nice(domain(),{floor:function(x){return pows(Math.floor(logs(x)))},ceil:function(x){return pows(Math.ceil(logs(x)))}}))};scale.copy=function(){return copy(scale,log().base(base))};return scale}function raise(x,exponent){return x<0?-Math.pow(-x,exponent):Math.pow(x,exponent)}function pow(){var exponent=1,scale=continuous(deinterpolate,reinterpolate),domain=scale.domain;function deinterpolate(a,b){return(b=raise(b,exponent)-(a=raise(a,exponent)))?function(x){return(raise(x,exponent)-a)/b}:constant(b)}function reinterpolate(a,b){b=raise(b,exponent)-(a=raise(a,exponent));return function(t){return raise(a+b*t,1/exponent)}}scale.exponent=function(_){return arguments.length?(exponent=+_,domain(domain())):exponent};scale.copy=function(){return copy(scale,pow().exponent(exponent))};return linearish(scale)}function sqrt(){return pow().exponent(.5)}function quantile$1(){var domain=[],range$$1=[],thresholds=[];function rescale(){var i=0,n=Math.max(1,range$$1.length);thresholds=new Array(n-1);while(++i<n)thresholds[i-1]=d3Array.quantile(domain,i/n);return scale}function scale(x){if(!isNaN(x=+x))return range$$1[d3Array.bisect(thresholds,x)]}scale.invertExtent=function(y){var i=range$$1.indexOf(y);return i<0?[NaN,NaN]:[i>0?thresholds[i-1]:domain[0],i<thresholds.length?thresholds[i]:domain[domain.length-1]]};scale.domain=function(_){if(!arguments.length)return domain.slice();domain=[];for(var d,i=0,n=_.length;i<n;++i)(d=_[i],null==d||isNaN(d=+d))||domain.push(d);domain.sort(d3Array.ascending);return rescale()};scale.range=function(_){return arguments.length?(range$$1=slice.call(_),rescale()):range$$1.slice()};scale.quantiles=function(){return thresholds.slice()};scale.copy=function(){return quantile$1().domain(domain).range(range$$1)};return scale}function quantize(){var x0=0,x1=1,n=1,domain=[.5],range$$1=[0,1];function scale(x){if(x<=x)return range$$1[d3Array.bisect(domain,x,0,n)]}function rescale(){var i=-1;domain=new Array(n);while(++i<n)domain[i]=((i+1)*x1-(i-n)*x0)/(n+1);return scale}scale.domain=function(_){return arguments.length?(x0=+_[0],x1=+_[1],rescale()):[x0,x1]};scale.range=function(_){return arguments.length?(n=(range$$1=slice.call(_)).length-1,rescale()):range$$1.slice()};scale.invertExtent=function(y){var i=range$$1.indexOf(y);return i<0?[NaN,NaN]:i<1?[x0,domain[0]]:i>=n?[domain[n-1],x1]:[domain[i-1],domain[i]]};scale.copy=function(){return quantize().domain([x0,x1]).range(range$$1)};return linearish(scale)}function threshold(){var domain=[.5],range$$1=[0,1],n=1;function scale(x){if(x<=x)return range$$1[d3Array.bisect(domain,x,0,n)]}scale.domain=function(_){return arguments.length?(domain=slice.call(_),n=Math.min(domain.length,range$$1.length-1),scale):domain.slice()};scale.range=function(_){return arguments.length?(range$$1=slice.call(_),n=Math.min(domain.length,range$$1.length-1),scale):range$$1.slice()};scale.invertExtent=function(y){var i=range$$1.indexOf(y);return[domain[i-1],domain[i]]};scale.copy=function(){return threshold().domain(domain).range(range$$1)};return scale}var durationSecond=1e3;var durationMinute=60*durationSecond;var durationHour=60*durationMinute;var durationDay=24*durationHour;var durationWeek=7*durationDay;var durationMonth=30*durationDay;var durationYear=365*durationDay;function date(t){return new Date(t)}function number$1(t){return t instanceof Date?+t:+new Date(+t)}function calendar(year,month,week,day,hour,minute,second,millisecond,format$$1){var scale=continuous(deinterpolateLinear,d3Interpolate.interpolateNumber),invert=scale.invert,domain=scale.domain;var formatMillisecond=format$$1(".%L"),formatSecond=format$$1(":%S"),formatMinute=format$$1("%I:%M"),formatHour=format$$1("%I %p"),formatDay=format$$1("%a %d"),formatWeek=format$$1("%b %d"),formatMonth=format$$1("%B"),formatYear=format$$1("%Y");var tickIntervals=[[second,1,durationSecond],[second,5,5*durationSecond],[second,15,15*durationSecond],[second,30,30*durationSecond],[minute,1,durationMinute],[minute,5,5*durationMinute],[minute,15,15*durationMinute],[minute,30,30*durationMinute],[hour,1,durationHour],[hour,3,3*durationHour],[hour,6,6*durationHour],[hour,12,12*durationHour],[day,1,durationDay],[day,2,2*durationDay],[week,1,durationWeek],[month,1,durationMonth],[month,3,3*durationMonth],[year,1,durationYear]];function tickFormat(date){return(second(date)<date?formatMillisecond:minute(date)<date?formatSecond:hour(date)<date?formatMinute:day(date)<date?formatHour:month(date)<date?week(date)<date?formatDay:formatWeek:year(date)<date?formatMonth:formatYear)(date)}function tickInterval(interval,start,stop,step){null==interval&&(interval=10);if("number"===typeof interval){var target=Math.abs(stop-start)/interval,i=d3Array.bisector(function(i){return i[2]}).right(tickIntervals,target);if(i===tickIntervals.length){step=d3Array.tickStep(start/durationYear,stop/durationYear,interval);interval=year}else if(i){i=tickIntervals[target/tickIntervals[i-1][2]<tickIntervals[i][2]/target?i-1:i];step=i[1];interval=i[0]}else{step=Math.max(d3Array.tickStep(start,stop,interval),1);interval=millisecond}}return null==step?interval:interval.every(step)}scale.invert=function(y){return new Date(invert(y))};scale.domain=function(_){return arguments.length?domain(map$1.call(_,number$1)):domain().map(date)};scale.ticks=function(interval,step){var t,d=domain(),t0=d[0],t1=d[d.length-1],r=t1<t0;r&&(t=t0,t0=t1,t1=t);t=tickInterval(interval,t0,t1,step);t=t?t.range(t0,t1+1):[];return r?t.reverse():t};scale.tickFormat=function(count,specifier){return null==specifier?tickFormat:format$$1(specifier)};scale.nice=function(interval,step){var d=domain();return(interval=tickInterval(interval,d[0],d[d.length-1],step))?domain(nice(d,interval)):scale};scale.copy=function(){return copy(scale,calendar(year,month,week,day,hour,minute,second,millisecond,format$$1))};return scale}var time=function(){return calendar(d3Time.timeYear,d3Time.timeMonth,d3Time.timeWeek,d3Time.timeDay,d3Time.timeHour,d3Time.timeMinute,d3Time.timeSecond,d3Time.timeMillisecond,d3TimeFormat.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])};var utcTime=function(){return calendar(d3Time.utcYear,d3Time.utcMonth,d3Time.utcWeek,d3Time.utcDay,d3Time.utcHour,d3Time.utcMinute,d3Time.utcSecond,d3Time.utcMillisecond,d3TimeFormat.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])};var colors=function(s){return s.match(/.{6}/g).map(function(x){return"#"+x})};var category10=colors("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf");var category20b=colors("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6");var category20c=colors("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9");var category20=colors("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5");var cubehelix$1=d3Interpolate.interpolateCubehelixLong(d3Color.cubehelix(300,.5,0),d3Color.cubehelix(-240,.5,1));var warm=d3Interpolate.interpolateCubehelixLong(d3Color.cubehelix(-100,.75,.35),d3Color.cubehelix(80,1.5,.8));var cool=d3Interpolate.interpolateCubehelixLong(d3Color.cubehelix(260,.75,.35),d3Color.cubehelix(80,1.5,.8));var rainbow=d3Color.cubehelix();var rainbow$1=function(t){(t<0||t>1)&&(t-=Math.floor(t));var ts=Math.abs(t-.5);rainbow.h=360*t-100;rainbow.s=1.5-1.5*ts;rainbow.l=.8-.9*ts;return rainbow+""};function ramp(range$$1){var n=range$$1.length;return function(t){return range$$1[Math.max(0,Math.min(n-1,Math.floor(t*n)))]}}var viridis=ramp(colors("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var magma=ramp(colors("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf"));var inferno=ramp(colors("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4"));var plasma=ramp(colors("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function sequential(interpolator){var x0=0,x1=1,clamp=false;function scale(x){var t=(x-x0)/(x1-x0);return interpolator(clamp?Math.max(0,Math.min(1,t)):t)}scale.domain=function(_){return arguments.length?(x0=+_[0],x1=+_[1],scale):[x0,x1]};scale.clamp=function(_){return arguments.length?(clamp=!!_,scale):clamp};scale.interpolator=function(_){return arguments.length?(interpolator=_,scale):interpolator};scale.copy=function(){return sequential(interpolator).domain([x0,x1]).clamp(clamp)};return linearish(scale)}exports.scaleBand=band;exports.scalePoint=point;exports.scaleIdentity=identity;exports.scaleLinear=linear;exports.scaleLog=log;exports.scaleOrdinal=ordinal;exports.scaleImplicit=implicit;exports.scalePow=pow;exports.scaleSqrt=sqrt;exports.scaleQuantile=quantile$1;exports.scaleQuantize=quantize;exports.scaleThreshold=threshold;exports.scaleTime=time;exports.scaleUtc=utcTime;exports.schemeCategory10=category10;exports.schemeCategory20b=category20b;exports.schemeCategory20c=category20c;exports.schemeCategory20=category20;exports.interpolateCubehelixDefault=cubehelix$1;exports.interpolateRainbow=rainbow$1;exports.interpolateWarm=warm;exports.interpolateCool=cool;exports.interpolateViridis=viridis;exports.interpolateMagma=magma;exports.interpolateInferno=inferno;exports.interpolatePlasma=plasma;exports.scaleSequential=sequential;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports,__webpack_require__(194),__webpack_require__(441),__webpack_require__(442),__webpack_require__(317),__webpack_require__(753),__webpack_require__(1852),__webpack_require__(163));var factory},function(module,exports,__webpack_require__){0,factory=function(exports){"use strict";var ascending=function(a,b){return a<b?-1:a>b?1:a>=b?0:NaN};var bisector=function(compare){1===compare.length&&(compare=ascendingComparator(compare));return{left:function(a,x,lo,hi){null==lo&&(lo=0);null==hi&&(hi=a.length);while(lo<hi){var mid=lo+hi>>>1;compare(a[mid],x)<0?lo=mid+1:hi=mid}return lo},right:function(a,x,lo,hi){null==lo&&(lo=0);null==hi&&(hi=a.length);while(lo<hi){var mid=lo+hi>>>1;compare(a[mid],x)>0?hi=mid:lo=mid+1}return lo}}};function ascendingComparator(f){return function(d,x){return ascending(f(d),x)}}var ascendingBisect=bisector(ascending);var bisectRight=ascendingBisect.right;var bisectLeft=ascendingBisect.left;var pairs=function(array,f){null==f&&(f=pair);var i=0,n=array.length-1,p=array[0],pairs=new Array(n<0?0:n);while(i<n)pairs[i]=f(p,p=array[++i]);return pairs};function pair(a,b){return[a,b]}var cross=function(values0,values1,reduce){var i0,i1,i,value0,n0=values0.length,n1=values1.length,values=new Array(n0*n1);null==reduce&&(reduce=pair);for(i0=i=0;i0<n0;++i0)for(value0=values0[i0],i1=0;i1<n1;++i1,++i)values[i]=reduce(value0,values1[i1]);return values};var descending=function(a,b){return b<a?-1:b>a?1:b>=a?0:NaN};var number=function(x){return null===x?NaN:+x};var variance=function(values,valueof){var value,delta,n=values.length,m=0,i=-1,mean=0,sum=0;if(null==valueof){while(++i<n)if(!isNaN(value=number(values[i]))){delta=value-mean;mean+=delta/++m;sum+=delta*(value-mean)}}else while(++i<n)if(!isNaN(value=number(valueof(values[i],i,values)))){delta=value-mean;mean+=delta/++m;sum+=delta*(value-mean)}if(m>1)return sum/(m-1)};var deviation=function(array,f){var v=variance(array,f);return v?Math.sqrt(v):v};var extent=function(values,valueof){var value,min,max,n=values.length,i=-1;if(null==valueof){while(++i<n)if(null!=(value=values[i])&&value>=value){min=max=value;while(++i<n)if(null!=(value=values[i])){min>value&&(min=value);max<value&&(max=value)}}}else while(++i<n)if(null!=(value=valueof(values[i],i,values))&&value>=value){min=max=value;while(++i<n)if(null!=(value=valueof(values[i],i,values))){min>value&&(min=value);max<value&&(max=value)}}return[min,max]};var array=Array.prototype;var slice=array.slice;var map=array.map;var constant=function(x){return function(){return x}};var identity=function(x){return x};var range=function(start,stop,step){start=+start,stop=+stop,step=(n=arguments.length)<2?(stop=start,start=0,1):n<3?1:+step;var i=-1,n=0|Math.max(0,Math.ceil((stop-start)/step)),range=new Array(n);while(++i<n)range[i]=start+i*step;return range};var e10=Math.sqrt(50);var e5=Math.sqrt(10);var e2=Math.sqrt(2);var ticks=function(start,stop,count){var reverse,n,ticks,step,i=-1;stop=+stop,start=+start,count=+count;if(start===stop&&count>0)return[start];(reverse=stop<start)&&(n=start,start=stop,stop=n);if(0===(step=tickIncrement(start,stop,count))||!isFinite(step))return[];if(step>0){start=Math.ceil(start/step);stop=Math.floor(stop/step);ticks=new Array(n=Math.ceil(stop-start+1));while(++i<n)ticks[i]=(start+i)*step}else{start=Math.floor(start*step);stop=Math.ceil(stop*step);ticks=new Array(n=Math.ceil(start-stop+1));while(++i<n)ticks[i]=(start-i)/step}reverse&&ticks.reverse();return ticks};function tickIncrement(start,stop,count){var step=(stop-start)/Math.max(0,count),power=Math.floor(Math.log(step)/Math.LN10),error=step/Math.pow(10,power);return power>=0?(error>=e10?10:error>=e5?5:error>=e2?2:1)*Math.pow(10,power):-Math.pow(10,-power)/(error>=e10?10:error>=e5?5:error>=e2?2:1)}function tickStep(start,stop,count){var step0=Math.abs(stop-start)/Math.max(0,count),step1=Math.pow(10,Math.floor(Math.log(step0)/Math.LN10)),error=step0/step1;error>=e10?step1*=10:error>=e5?step1*=5:error>=e2&&(step1*=2);return stop<start?-step1:step1}var sturges=function(values){return Math.ceil(Math.log(values.length)/Math.LN2)+1};var histogram=function(){var value=identity,domain=extent,threshold=sturges;function histogram(data){var i,x,n=data.length,values=new Array(n);for(i=0;i<n;++i)values[i]=value(data[i],i,data);var xz=domain(values),x0=xz[0],x1=xz[1],tz=threshold(values,x0,x1);if(!Array.isArray(tz)){tz=tickStep(x0,x1,tz);tz=range(Math.ceil(x0/tz)*tz,Math.floor(x1/tz)*tz,tz)}var m=tz.length;while(tz[0]<=x0)tz.shift(),--m;while(tz[m-1]>x1)tz.pop(),--m;var bin,bins=new Array(m+1);for(i=0;i<=m;++i){bin=bins[i]=[];bin.x0=i>0?tz[i-1]:x0;bin.x1=i<m?tz[i]:x1}for(i=0;i<n;++i){x=values[i];x0<=x&&x<=x1&&bins[bisectRight(tz,x,0,m)].push(data[i])}return bins}histogram.value=function(_){return arguments.length?(value="function"===typeof _?_:constant(_),histogram):value};histogram.domain=function(_){return arguments.length?(domain="function"===typeof _?_:constant([_[0],_[1]]),histogram):domain};histogram.thresholds=function(_){return arguments.length?(threshold="function"===typeof _?_:Array.isArray(_)?constant(slice.call(_)):constant(_),histogram):threshold};return histogram};var quantile=function(values,p,valueof){null==valueof&&(valueof=number);if(!(n=values.length))return;if((p=+p)<=0||n<2)return+valueof(values[0],0,values);if(p>=1)return+valueof(values[n-1],n-1,values);var n,i=(n-1)*p,i0=Math.floor(i),value0=+valueof(values[i0],i0,values),value1=+valueof(values[i0+1],i0+1,values);return value0+(value1-value0)*(i-i0)};var freedmanDiaconis=function(values,min,max){values=map.call(values,number).sort(ascending);return Math.ceil((max-min)/(2*(quantile(values,.75)-quantile(values,.25))*Math.pow(values.length,-1/3)))};var scott=function(values,min,max){return Math.ceil((max-min)/(3.5*deviation(values)*Math.pow(values.length,-1/3)))};var max=function(values,valueof){var value,max,n=values.length,i=-1;if(null==valueof){while(++i<n)if(null!=(value=values[i])&&value>=value){max=value;while(++i<n)null!=(value=values[i])&&value>max&&(max=value)}}else while(++i<n)if(null!=(value=valueof(values[i],i,values))&&value>=value){max=value;while(++i<n)null!=(value=valueof(values[i],i,values))&&value>max&&(max=value)}return max};var mean=function(values,valueof){var value,n=values.length,m=n,i=-1,sum=0;if(null==valueof)while(++i<n)isNaN(value=number(values[i]))?--m:sum+=value;else while(++i<n)isNaN(value=number(valueof(values[i],i,values)))?--m:sum+=value;if(m)return sum/m};var median=function(values,valueof){var value,n=values.length,i=-1,numbers=[];if(null==valueof)while(++i<n)isNaN(value=number(values[i]))||numbers.push(value);else while(++i<n)isNaN(value=number(valueof(values[i],i,values)))||numbers.push(value);return quantile(numbers.sort(ascending),.5)};var merge=function(arrays){var m,merged,array,n=arrays.length,i=-1,j=0;while(++i<n)j+=arrays[i].length;merged=new Array(j);while(--n>=0){array=arrays[n];m=array.length;while(--m>=0)merged[--j]=array[m]}return merged};var min=function(values,valueof){var value,min,n=values.length,i=-1;if(null==valueof){while(++i<n)if(null!=(value=values[i])&&value>=value){min=value;while(++i<n)null!=(value=values[i])&&min>value&&(min=value)}}else while(++i<n)if(null!=(value=valueof(values[i],i,values))&&value>=value){min=value;while(++i<n)null!=(value=valueof(values[i],i,values))&&min>value&&(min=value)}return min};var permute=function(array,indexes){var i=indexes.length,permutes=new Array(i);while(i--)permutes[i]=array[indexes[i]];return permutes};var scan=function(values,compare){if(!(n=values.length))return;var n,xi,i=0,j=0,xj=values[j];null==compare&&(compare=ascending);while(++i<n)(compare(xi=values[i],xj)<0||0!==compare(xj,xj))&&(xj=xi,j=i);if(0===compare(xj,xj))return j};var shuffle=function(array,i0,i1){var t,i,m=(null==i1?array.length:i1)-(i0=null==i0?0:+i0);while(m){i=Math.random()*m--|0;t=array[m+i0];array[m+i0]=array[i+i0];array[i+i0]=t}return array};var sum=function(values,valueof){var value,n=values.length,i=-1,sum=0;if(null==valueof)while(++i<n)(value=+values[i])&&(sum+=value);else while(++i<n)(value=+valueof(values[i],i,values))&&(sum+=value);return sum};var transpose=function(matrix){if(!(n=matrix.length))return[];for(var i=-1,m=min(matrix,length),transpose=new Array(m);++i<m;)for(var n,j=-1,row=transpose[i]=new Array(n);++j<n;)row[j]=matrix[j][i];return transpose};function length(d){return d.length}var zip=function(){return transpose(arguments)};exports.bisect=bisectRight;exports.bisectRight=bisectRight;exports.bisectLeft=bisectLeft;exports.ascending=ascending;exports.bisector=bisector;exports.cross=cross;exports.descending=descending;exports.deviation=deviation;exports.extent=extent;exports.histogram=histogram;exports.thresholdFreedmanDiaconis=freedmanDiaconis;exports.thresholdScott=scott;exports.thresholdSturges=sturges;exports.max=max;exports.mean=mean;exports.median=median;exports.merge=merge;exports.min=min;exports.pairs=pairs;exports.permute=permute;exports.quantile=quantile;exports.range=range;exports.scan=scan;exports.shuffle=shuffle;exports.sum=sum;exports.ticks=ticks;exports.tickIncrement=tickIncrement;exports.tickStep=tickStep;exports.transpose=transpose;exports.variance=variance;exports.zip=zip;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports);var factory},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _typeof2=__webpack_require__(238);var _typeof3=_interopRequireDefault(_typeof2);exports.getType=getType;function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function getType(node){if(null==node)return"null";if("object"===("undefined"===typeof node?"undefined":(0,_typeof3.default)(node))){if(!node.type)throw new Error("Objects must have a type property");return node.type}return"undefined"===typeof node?"undefined":(0,_typeof3.default)(node)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.RIGHT_ALIGNMENT=exports.LEFT_ALIGNMENT=exports.SortableProperties=exports.htmlIdGenerator=exports.comboBoxKeyCodes=exports.cascadingMenuKeyCodes=exports.accessibleClickKeys=exports.keyCodes=void 0;var _accessibility=__webpack_require__(2033);Object.defineProperty(exports,"accessibleClickKeys",{enumerable:true,get:function get(){return _accessibility.accessibleClickKeys}});Object.defineProperty(exports,"cascadingMenuKeyCodes",{enumerable:true,get:function get(){return _accessibility.cascadingMenuKeyCodes}});Object.defineProperty(exports,"comboBoxKeyCodes",{enumerable:true,get:function get(){return _accessibility.comboBoxKeyCodes}});Object.defineProperty(exports,"htmlIdGenerator",{enumerable:true,get:function get(){return _accessibility.htmlIdGenerator}});var _sort=__webpack_require__(2039);Object.defineProperty(exports,"SortableProperties",{enumerable:true,get:function get(){return _sort.SortableProperties}});var _alignment=__webpack_require__(2041);Object.defineProperty(exports,"LEFT_ALIGNMENT",{enumerable:true,get:function get(){return _alignment.LEFT_ALIGNMENT}});Object.defineProperty(exports,"RIGHT_ALIGNMENT",{enumerable:true,get:function get(){return _alignment.RIGHT_ALIGNMENT}});var _key_codes=__webpack_require__(322);var keyCodes=_interopRequireWildcard(_key_codes);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}exports.keyCodes=keyCodes},function(module,exports){var core=module.exports={version:"2.5.3"};"number"==typeof __e&&(__e=core)},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(170);var max=Math.max;var min=Math.min;module.exports=function(index,length){index=toInteger(index);return index<0?max(index+length,0):min(index,length)}},function(module,exports,__webpack_require__){var UNSCOPABLES=__webpack_require__(45)("unscopables");var ArrayProto=Array.prototype;void 0==ArrayProto[UNSCOPABLES]&&__webpack_require__(98)(ArrayProto,UNSCOPABLES,{});module.exports=function(key){ArrayProto[UNSCOPABLES][key]=true}},function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports){module.exports={}},function(module,exports){module.exports=false},function(module,exports,__webpack_require__){var def=__webpack_require__(62).f;var has=__webpack_require__(86);var TAG=__webpack_require__(45)("toStringTag");module.exports=function(it,tag,stat){it&&!has(it=stat?it:it.prototype,TAG)&&def(it,TAG,{configurable:true,value:tag})}},function(module,exports,__webpack_require__){var has=__webpack_require__(86);var toObject=__webpack_require__(118);var IE_PROTO=__webpack_require__(474)("IE_PROTO");var ObjectProto=Object.prototype;module.exports=Object.getPrototypeOf||function(O){O=toObject(O);if(has(O,IE_PROTO))return O[IE_PROTO];if("function"==typeof O.constructor&&O instanceof O.constructor)return O.constructor.prototype;return O instanceof Object?ObjectProto:null}},function(module,exports,__webpack_require__){var redefine=__webpack_require__(134);module.exports=function(target,src,safe){for(var key in src)redefine(target,key,src[key],safe);return target}},function(module,exports){module.exports=function(it,Constructor,name,forbiddenField){if(!(it instanceof Constructor)||void 0!==forbiddenField&&forbiddenField in it)throw TypeError(name+": incorrect invocation!");return it}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);module.exports=function(it,TYPE){if(!isObject(it)||it._t!==TYPE)throw TypeError("Incompatible receiver, "+TYPE+" required!");return it}},function(module,exports,__webpack_require__){"use strict";var asap=__webpack_require__(883);function noop(){}var LAST_ERROR=null;var IS_ERROR={};function getThen(obj){try{return obj.then}catch(ex){LAST_ERROR=ex;return IS_ERROR}}function tryCallOne(fn,a){try{return fn(a)}catch(ex){LAST_ERROR=ex;return IS_ERROR}}function tryCallTwo(fn,a,b){try{fn(a,b)}catch(ex){LAST_ERROR=ex;return IS_ERROR}}module.exports=Promise;function Promise(fn){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");if("function"!==typeof fn)throw new TypeError("Promise constructor's argument is not a function");this._40=0;this._65=0;this._55=null;this._72=null;if(fn===noop)return;doResolve(fn,this)}Promise._37=null;Promise._87=null;Promise._61=noop;Promise.prototype.then=function(onFulfilled,onRejected){if(this.constructor!==Promise)return safeThen(this,onFulfilled,onRejected);var res=new Promise(noop);handle(this,new Handler(onFulfilled,onRejected,res));return res};function safeThen(self,onFulfilled,onRejected){return new self.constructor(function(resolve,reject){var res=new Promise(noop);res.then(resolve,reject);handle(self,new Handler(onFulfilled,onRejected,res))})}function handle(self,deferred){while(3===self._65)self=self._55;Promise._37&&Promise._37(self);if(0===self._65){if(0===self._40){self._40=1;self._72=deferred;return}if(1===self._40){self._40=2;self._72=[self._72,deferred];return}self._72.push(deferred);return}handleResolved(self,deferred)}function handleResolved(self,deferred){asap(function(){var cb=1===self._65?deferred.onFulfilled:deferred.onRejected;if(null===cb){1===self._65?resolve(deferred.promise,self._55):reject(deferred.promise,self._55);return}var ret=tryCallOne(cb,self._55);ret===IS_ERROR?reject(deferred.promise,LAST_ERROR):resolve(deferred.promise,ret)})}function resolve(self,newValue){if(newValue===self)return reject(self,new TypeError("A promise cannot be resolved with itself."));if(newValue&&("object"===typeof newValue||"function"===typeof newValue)){var then=getThen(newValue);if(then===IS_ERROR)return reject(self,LAST_ERROR);if(then===self.then&&newValue instanceof Promise){self._65=3;self._55=newValue;finale(self);return}if("function"===typeof then){doResolve(then.bind(newValue),self);return}}self._65=1;self._55=newValue;finale(self)}function reject(self,newValue){self._65=2;self._55=newValue;Promise._87&&Promise._87(self,newValue);finale(self)}function finale(self){if(1===self._40){handle(self,self._72);self._72=null}if(2===self._40){for(var i=0;i<self._72.length;i++)handle(self,self._72[i]);self._72=null}}function Handler(onFulfilled,onRejected,promise){this.onFulfilled="function"===typeof onFulfilled?onFulfilled:null;this.onRejected="function"===typeof onRejected?onRejected:null;this.promise=promise}function doResolve(fn,promise){var done=false;var res=tryCallTwo(fn,function(value){if(done)return;done=true;resolve(promise,value)},function(reason){if(done)return;done=true;reject(promise,reason)});if(!done&&res===IS_ERROR){done=true;reject(promise,LAST_ERROR)}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.uiModules=void 0;exports.link=link;exports.get=get;exports.close=close;var _angular=__webpack_require__(175);var _angular2=_interopRequireDefault(_angular);var _lodash=__webpack_require__(10);var _lodash2=_interopRequireDefault(_lodash);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var existingModules={};var links=[];function link(module){links.push(module);module.requires=_lodash2.default.union(module.requires,_lodash2.default.keys(existingModules))}function get(moduleName,requires){var module=existingModules[moduleName];if(void 0===module){module=existingModules[moduleName]=_angular2.default.module(moduleName,[]);module.close=_lodash2.default.partial(close,moduleName);_lodash2.default.each(links,function(app){~app.requires.indexOf(moduleName)||app.requires.push(moduleName)})}requires&&(module.requires=_lodash2.default.union(module.requires,requires));return module}function close(moduleName){var module=existingModules[moduleName];if(!module)return;var i=links.indexOf(module);i>-1&&links.splice(i,1);_lodash2.default.each(links,function(app){_lodash2.default.pull(app.requires,moduleName)});delete existingModules[moduleName]}exports.uiModules={link:link,get:get,close:close}},function(module,exports,__webpack_require__){"use strict";var punycode=__webpack_require__(894);var util=__webpack_require__(2370);exports.parse=urlParse;exports.resolve=urlResolve;exports.resolveObject=urlResolveObject;exports.format=urlFormat;exports.Url=Url;function Url(){this.protocol=null;this.slashes=null;this.auth=null;this.host=null;this.port=null;this.hostname=null;this.hash=null;this.search=null;this.query=null;this.pathname=null;this.path=null;this.href=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r","\n","\t"],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:true,"javascript:":true},hostlessProtocol={javascript:true,"javascript:":true},slashedProtocol={http:true,https:true,ftp:true,gopher:true,file:true,"http:":true,"https:":true,"ftp:":true,"gopher:":true,"file:":true},querystring=__webpack_require__(897);function urlParse(url,parseQueryString,slashesDenoteHost){if(url&&util.isObject(url)&&url instanceof Url)return url;var u=new Url;u.parse(url,parseQueryString,slashesDenoteHost);return u}Url.prototype.parse=function(url,parseQueryString,slashesDenoteHost){if(!util.isString(url))throw new TypeError("Parameter 'url' must be a string, not "+typeof url);var queryIndex=url.indexOf("?"),splitter=-1!==queryIndex&&queryIndex<url.indexOf("#")?"?":"#",uSplit=url.split(splitter),slashRegex=/\\/g;uSplit[0]=uSplit[0].replace(slashRegex,"/");url=uSplit.join(splitter);var rest=url;rest=rest.trim();if(!slashesDenoteHost&&1===url.split("#").length){var simplePath=simplePathPattern.exec(rest);if(simplePath){this.path=rest;this.href=rest;this.pathname=simplePath[1];if(simplePath[2]){this.search=simplePath[2];this.query=parseQueryString?querystring.parse(this.search.substr(1)):this.search.substr(1)}else if(parseQueryString){this.search="";this.query={}}return this}}var proto=protocolPattern.exec(rest);if(proto){proto=proto[0];var lowerProto=proto.toLowerCase();this.protocol=lowerProto;rest=rest.substr(proto.length)}if(slashesDenoteHost||proto||rest.match(/^\/\/[^@\/]+@[^@\/]+/)){var slashes="//"===rest.substr(0,2);if(slashes&&!(proto&&hostlessProtocol[proto])){rest=rest.substr(2);this.slashes=true}}if(!hostlessProtocol[proto]&&(slashes||proto&&!slashedProtocol[proto])){var hostEnd=-1;for(var i=0;i<hostEndingChars.length;i++){var hec=rest.indexOf(hostEndingChars[i]);-1!==hec&&(-1===hostEnd||hec<hostEnd)&&(hostEnd=hec)}var auth,atSign;atSign=-1===hostEnd?rest.lastIndexOf("@"):rest.lastIndexOf("@",hostEnd);if(-1!==atSign){auth=rest.slice(0,atSign);rest=rest.slice(atSign+1);this.auth=decodeURIComponent(auth)}hostEnd=-1;for(i=0;i<nonHostChars.length;i++){hec=rest.indexOf(nonHostChars[i]);-1!==hec&&(-1===hostEnd||hec<hostEnd)&&(hostEnd=hec)}-1===hostEnd&&(hostEnd=rest.length);this.host=rest.slice(0,hostEnd);rest=rest.slice(hostEnd);this.parseHost();this.hostname=this.hostname||"";var ipv6Hostname="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!ipv6Hostname){var hostparts=this.hostname.split(/\./);i=0;for(var l=hostparts.length;i<l;i++){var part=hostparts[i];if(!part)continue;if(!part.match(hostnamePartPattern)){var newpart="";for(var j=0,k=part.length;j<k;j++)part.charCodeAt(j)>127?newpart+="x":newpart+=part[j];if(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i);var notHost=hostparts.slice(i+1);var bit=part.match(hostnamePartStart);if(bit){validParts.push(bit[1]);notHost.unshift(bit[2])}notHost.length&&(rest="/"+notHost.join(".")+rest);this.hostname=validParts.join(".");break}}}}this.hostname.length>hostnameMaxLen?this.hostname="":this.hostname=this.hostname.toLowerCase();ipv6Hostname||(this.hostname=punycode.toASCII(this.hostname));var p=this.port?":"+this.port:"";var h=this.hostname||"";this.host=h+p;this.href+=this.host;if(ipv6Hostname){this.hostname=this.hostname.substr(1,this.hostname.length-2);"/"!==rest[0]&&(rest="/"+rest)}}if(!unsafeProtocol[lowerProto])for(i=0,l=autoEscape.length;i<l;i++){var ae=autoEscape[i];if(-1===rest.indexOf(ae))continue;var esc=encodeURIComponent(ae);esc===ae&&(esc=escape(ae));rest=rest.split(ae).join(esc)}var hash=rest.indexOf("#");if(-1!==hash){this.hash=rest.substr(hash);rest=rest.slice(0,hash)}var qm=rest.indexOf("?");if(-1!==qm){this.search=rest.substr(qm);this.query=rest.substr(qm+1);parseQueryString&&(this.query=querystring.parse(this.query));rest=rest.slice(0,qm)}else if(parseQueryString){this.search="";this.query={}}rest&&(this.pathname=rest);slashedProtocol[lowerProto]&&this.hostname&&!this.pathname&&(this.pathname="/");if(this.pathname||this.search){p=this.pathname||"";var s=this.search||"";this.path=p+s}this.href=this.format();return this};function urlFormat(obj){util.isString(obj)&&(obj=urlParse(obj));if(!(obj instanceof Url))return Url.prototype.format.call(obj);return obj.format()}Url.prototype.format=function(){var auth=this.auth||"";if(auth){auth=encodeURIComponent(auth);auth=auth.replace(/%3A/i,":");auth+="@"}var protocol=this.protocol||"",pathname=this.pathname||"",hash=this.hash||"",host=false,query="";if(this.host)host=auth+this.host;else if(this.hostname){host=auth+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]");this.port&&(host+=":"+this.port)}this.query&&util.isObject(this.query)&&Object.keys(this.query).length&&(query=querystring.stringify(this.query));var search=this.search||query&&"?"+query||"";protocol&&":"!==protocol.substr(-1)&&(protocol+=":");if(this.slashes||(!protocol||slashedProtocol[protocol])&&false!==host){host="//"+(host||"");pathname&&"/"!==pathname.charAt(0)&&(pathname="/"+pathname)}else host||(host="");hash&&"#"!==hash.charAt(0)&&(hash="#"+hash);search&&"?"!==search.charAt(0)&&(search="?"+search);pathname=pathname.replace(/[?#]/g,function(match){return encodeURIComponent(match)});search=search.replace("#","%23");return protocol+host+pathname+search+hash};function urlResolve(source,relative){return urlParse(source,false,true).resolve(relative)}Url.prototype.resolve=function(relative){return this.resolveObject(urlParse(relative,false,true)).format()};function urlResolveObject(source,relative){if(!source)return relative;return urlParse(source,false,true).resolveObject(relative)}Url.prototype.resolveObject=function(relative){if(util.isString(relative)){var rel=new Url;rel.parse(relative,false,true);relative=rel}var result=new Url;var tkeys=Object.keys(this);for(var tk=0;tk<tkeys.length;tk++){var tkey=tkeys[tk];result[tkey]=this[tkey]}result.hash=relative.hash;if(""===relative.href){result.href=result.format();return result}if(relative.slashes&&!relative.protocol){var rkeys=Object.keys(relative);for(var rk=0;rk<rkeys.length;rk++){var rkey=rkeys[rk];"protocol"!==rkey&&(result[rkey]=relative[rkey])}slashedProtocol[result.protocol]&&result.hostname&&!result.pathname&&(result.path=result.pathname="/");result.href=result.format();return result}if(relative.protocol&&relative.protocol!==result.protocol){if(!slashedProtocol[relative.protocol]){var keys=Object.keys(relative);for(var v=0;v<keys.length;v++){var k=keys[v];result[k]=relative[k]}result.href=result.format();return result}result.protocol=relative.protocol;if(relative.host||hostlessProtocol[relative.protocol])result.pathname=relative.pathname;else{var relPath=(relative.pathname||"").split("/");while(relPath.length&&!(relative.host=relPath.shift()));relative.host||(relative.host="");relative.hostname||(relative.hostname="");""!==relPath[0]&&relPath.unshift("");relPath.length<2&&relPath.unshift("");result.pathname=relPath.join("/")}result.search=relative.search;result.query=relative.query;result.host=relative.host||"";result.auth=relative.auth;result.hostname=relative.hostname||relative.host;result.port=relative.port;if(result.pathname||result.search){var p=result.pathname||"";var s=result.search||"";result.path=p+s}result.slashes=result.slashes||relative.slashes;result.href=result.format();return result}var isSourceAbs=result.pathname&&"/"===result.pathname.charAt(0),isRelAbs=relative.host||relative.pathname&&"/"===relative.pathname.charAt(0),mustEndAbs=isRelAbs||isSourceAbs||result.host&&relative.pathname,removeAllDots=mustEndAbs,srcPath=result.pathname&&result.pathname.split("/")||[],psychotic=(relPath=relative.pathname&&relative.pathname.split("/")||[],result.protocol&&!slashedProtocol[result.protocol]);if(psychotic){result.hostname="";result.port=null;result.host&&(""===srcPath[0]?srcPath[0]=result.host:srcPath.unshift(result.host));result.host="";if(relative.protocol){relative.hostname=null;relative.port=null;relative.host&&(""===relPath[0]?relPath[0]=relative.host:relPath.unshift(relative.host));relative.host=null}mustEndAbs=mustEndAbs&&(""===relPath[0]||""===srcPath[0])}if(isRelAbs){result.host=relative.host||""===relative.host?relative.host:result.host;result.hostname=relative.hostname||""===relative.hostname?relative.hostname:result.hostname;result.search=relative.search;result.query=relative.query;srcPath=relPath}else if(relPath.length){srcPath||(srcPath=[]);srcPath.pop();srcPath=srcPath.concat(relPath);result.search=relative.search;result.query=relative.query}else if(!util.isNullOrUndefined(relative.search)){if(psychotic){result.hostname=result.host=srcPath.shift();var authInHost=!!(result.host&&result.host.indexOf("@")>0)&&result.host.split("@");if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift()}}result.search=relative.search;result.query=relative.query;util.isNull(result.pathname)&&util.isNull(result.search)||(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:""));result.href=result.format();return result}if(!srcPath.length){result.pathname=null;result.search?result.path="/"+result.search:result.path=null;result.href=result.format();return result}var last=srcPath.slice(-1)[0];var hasTrailingSlash=(result.host||relative.host||srcPath.length>1)&&("."===last||".."===last)||""===last;var up=0;for(var i=srcPath.length;i>=0;i--){last=srcPath[i];if("."===last)srcPath.splice(i,1);else if(".."===last){srcPath.splice(i,1);up++}else if(up){srcPath.splice(i,1);up--}}if(!mustEndAbs&&!removeAllDots)for(;up--;up)srcPath.unshift("..");!mustEndAbs||""===srcPath[0]||srcPath[0]&&"/"===srcPath[0].charAt(0)||srcPath.unshift("");hasTrailingSlash&&"/"!==srcPath.join("/").substr(-1)&&srcPath.push("");var isAbsolute=""===srcPath[0]||srcPath[0]&&"/"===srcPath[0].charAt(0);if(psychotic){result.hostname=result.host=isAbsolute?"":srcPath.length?srcPath.shift():"";authInHost=!!(result.host&&result.host.indexOf("@")>0)&&result.host.split("@");if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift()}}mustEndAbs=mustEndAbs||result.host&&srcPath.length;mustEndAbs&&!isAbsolute&&srcPath.unshift("");if(srcPath.length)result.pathname=srcPath.join("/");else{result.pathname=null;result.path=null}util.isNull(result.pathname)&&util.isNull(result.search)||(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:""));result.auth=relative.auth||result.auth;result.slashes=result.slashes||relative.slashes;result.href=result.format();return result};Url.prototype.parseHost=function(){var host=this.host;var port=portPattern.exec(host);if(port){port=port[0];":"!==port&&(this.port=port.substr(1));host=host.substr(0,host.length-port.length)}host&&(this.hostname=host)}},function(module,exports,__webpack_require__){"use strict";(function(process){var buffer=__webpack_require__(66);var Buffer=buffer.Buffer;var safer={};var key;for(key in buffer){if(!buffer.hasOwnProperty(key))continue;if("SlowBuffer"===key||"Buffer"===key)continue;safer[key]=buffer[key]}var Safer=safer.Buffer={};for(key in Buffer){if(!Buffer.hasOwnProperty(key))continue;if("allocUnsafe"===key||"allocUnsafeSlow"===key)continue;Safer[key]=Buffer[key]}safer.Buffer.prototype=Buffer.prototype;Safer.from&&Safer.from!==Uint8Array.from||(Safer.from=function(value,encodingOrOffset,length){if("number"===typeof value)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof value);if(value&&"undefined"===typeof value.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value);return Buffer(value,encodingOrOffset,length)});Safer.alloc||(Safer.alloc=function(size,fill,encoding){if("number"!==typeof size)throw new TypeError('The "size" argument must be of type number. Received type '+typeof size);if(size<0||size>=2*(1<<30))throw new RangeError('The value "'+size+'" is invalid for option "size"');var buf=Buffer(size);fill&&0!==fill.length?"string"===typeof encoding?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0);return buf});if(!safer.kStringMaxLength)try{safer.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(e){}if(!safer.constants){safer.constants={MAX_LENGTH:safer.kMaxLength};safer.kStringMaxLength&&(safer.constants.MAX_STRING_LENGTH=safer.kStringMaxLength)}module.exports=safer}).call(this,__webpack_require__(59))},function(module,exports,__webpack_require__){"use strict";var objects=__webpack_require__(340),arrays=__webpack_require__(139);var visitor={build:function(functions){function visit(node){return functions[node.type].apply(null,arguments)}function visitNop(){}function visitExpression(node){var extraArgs=Array.prototype.slice.call(arguments,1);visit.apply(null,[node.expression].concat(extraArgs))}function visitChildren(property){return function(node){var extraArgs=Array.prototype.slice.call(arguments,1);arrays.each(node[property],function(child){visit.apply(null,[child].concat(extraArgs))})}}var DEFAULT_FUNCTIONS={grammar:function(node){var extraArgs=Array.prototype.slice.call(arguments,1);node.initializer&&visit.apply(null,[node.initializer].concat(extraArgs));arrays.each(node.rules,function(rule){visit.apply(null,[rule].concat(extraArgs))})},initializer:visitNop,rule:visitExpression,named:visitExpression,choice:visitChildren("alternatives"),action:visitExpression,sequence:visitChildren("elements"),labeled:visitExpression,text:visitExpression,simple_and:visitExpression,simple_not:visitExpression,optional:visitExpression,zero_or_more:visitExpression,one_or_more:visitExpression,semantic_and:visitNop,semantic_not:visitNop,rule_ref:visitNop,literal:visitNop,class:visitNop,any:visitNop};objects.defaults(functions,DEFAULT_FUNCTIONS);return visit}};module.exports=visitor},function(module,exports){exports=module.exports=trim;function trim(str){return str.replace(/^\s*|\s*$/g,"")}exports.left=function(str){return str.replace(/^\s*/,"")};exports.right=function(str){return str.replace(/\s*$/,"")}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.createPath=exports.parsePath=exports.locationsAreEqual=exports.createLocation=exports.createMemoryHistory=exports.createHashHistory=exports.createBrowserHistory=void 0;var _LocationUtils=__webpack_require__(348);Object.defineProperty(exports,"createLocation",{enumerable:true,get:function get(){return _LocationUtils.createLocation}});Object.defineProperty(exports,"locationsAreEqual",{enumerable:true,get:function get(){return _LocationUtils.locationsAreEqual}});var _PathUtils=__webpack_require__(261);Object.defineProperty(exports,"parsePath",{enumerable:true,get:function get(){return _PathUtils.parsePath}});Object.defineProperty(exports,"createPath",{enumerable:true,get:function get(){return _PathUtils.createPath}});var _createBrowserHistory2=__webpack_require__(2567);var _createBrowserHistory3=_interopRequireDefault(_createBrowserHistory2);var _createHashHistory2=__webpack_require__(2568);var _createHashHistory3=_interopRequireDefault(_createHashHistory2);var _createMemoryHistory2=__webpack_require__(2569);var _createMemoryHistory3=_interopRequireDefault(_createMemoryHistory2);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.createBrowserHistory=_createBrowserHistory3.default;exports.createHashHistory=_createHashHistory3.default;exports.createMemoryHistory=_createMemoryHistory3.default},function(module,exports,__webpack_require__){"use strict";var invariant=function(condition,format,a,b,c,d,e,f){false;if(!condition){var error;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f];var argIndex=0;error=new Error(format.replace(/%s/g,function(){return args[argIndex++]}));error.name="Invariant Violation"}error.framesToPop=1;throw error}};module.exports=invariant},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(177),isObject=__webpack_require__(520);var asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(value){if(!isObject(value))return false;var tag=baseGetTag(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}module.exports=isFunction},function(module,exports){function isObjectLike(value){return null!=value&&"object"==typeof value}module.exports=isObjectLike},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.observable="function"===typeof Symbol&&Symbol.observable||"@@observable"},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function identity(x){return x}exports.identity=identity},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var ConnectableObservable_1=__webpack_require__(961);function multicast(subjectOrSubjectFactory,selector){return function multicastOperatorFunction(source){var subjectFactory;subjectFactory="function"===typeof subjectOrSubjectFactory?subjectOrSubjectFactory:function subjectFactory(){return subjectOrSubjectFactory};if("function"===typeof selector)return source.lift(new MulticastOperator(subjectFactory,selector));var connectable=Object.create(source,ConnectableObservable_1.connectableObservableDescriptor);connectable.source=source;connectable.subjectFactory=subjectFactory;return connectable}}exports.multicast=multicast;var MulticastOperator=function(){function MulticastOperator(subjectFactory,selector){this.subjectFactory=subjectFactory;this.selector=selector}MulticastOperator.prototype.call=function(subscriber,source){var selector=this.selector;var subject=this.subjectFactory();var subscription=selector(subject).subscribe(subscriber);subscription.add(source.subscribe(subject));return subscription};return MulticastOperator}();exports.MulticastOperator=MulticastOperator},function(module,exports,__webpack_require__){var UNSCOPABLES=__webpack_require__(40)("unscopables");var ArrayProto=Array.prototype;void 0==ArrayProto[UNSCOPABLES]&&__webpack_require__(125)(ArrayProto,UNSCOPABLES,{});module.exports=function(key){ArrayProto[UNSCOPABLES][key]=true}},function(module,exports){module.exports=false},function(module,exports){var id=0;var px=Math.random();module.exports=function(key){return"Symbol(".concat(void 0===key?"":key,")_",(++id+px).toString(36))}},function(module,exports){module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}}},function(module,exports){module.exports={}},function(module,exports){module.exports=function(it){if("function"!=typeof it)throw TypeError(it+" is not a function!");return it}},function(module,exports){exports.f={}.propertyIsEnumerable},function(module,exports,__webpack_require__){__webpack_require__(282)("replace",2,function(defined,REPLACE,$replace){return[function replace(searchValue,replaceValue){"use strict";var O=defined(this);var fn=void 0==searchValue?void 0:searchValue[REPLACE];return void 0!==fn?fn.call(searchValue,O,replaceValue):$replace.call(String(O),searchValue,replaceValue)},$replace]})},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(41);var aFunction=__webpack_require__(226);var toObject=__webpack_require__(151);var fails=__webpack_require__(64);var $sort=[].sort;var test=[1,2,3];$export($export.P+$export.F*(fails(function(){test.sort(void 0)})||!fails(function(){test.sort(null)})||!__webpack_require__(1068)($sort)),"Array",{sort:function sort(comparefn){return void 0===comparefn?$sort.call(toObject(this)):$sort.call(toObject(this),aFunction(comparefn))}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPropTypes=void 0;var _is=__webpack_require__(1084);var _with_required_prop=__webpack_require__(585);var EuiPropTypes={is:_is.is,withRequiredProp:_with_required_prop.withRequiredProp};exports.EuiPropTypes=EuiPropTypes},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=makeId;__webpack_require__(42);function makeId(){return Math.random().toString(36).slice(-8)}module.exports=exports.default},function(module,exports,__webpack_require__){(function(global,module){var LARGE_ARRAY_SIZE=200;var HASH_UNDEFINED="__lodash_hash_undefined__";var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;var MAX_SAFE_INTEGER=9007199254740991;var argsTag="[object Arguments]",arrayTag="[object Array]",asyncTag="[object AsyncFunction]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",nullTag="[object Null]",objectTag="[object Object]",promiseTag="[object Promise]",proxyTag="[object Proxy]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",undefinedTag="[object Undefined]",weakMapTag="[object WeakMap]";var arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";var reRegExpChar=/[\\^$.*+?()[\]{}|]/g;var reIsHostCtor=/^\[object .+?Constructor\]$/;var reIsUint=/^(?:0|[1-9]\d*)$/;var typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=true;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=false;var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;var freeSelf="object"==typeof self&&self&&self.Object===Object&&self;var root=freeGlobal||freeSelf||Function("return this")();var freeExports=(true,exports)&&!exports.nodeType&&exports;var freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module;var moduleExports=freeModule&&freeModule.exports===freeExports;var freeProcess=moduleExports&&freeGlobal.process;var nodeUtil=function(){try{return freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();var nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray;function arrayFilter(array,predicate){var index=-1,length=null==array?0:array.length,resIndex=0,result=[];while(++index<length){var value=array[index];predicate(value,index,array)&&(result[resIndex++]=value)}return result}function arrayPush(array,values){var index=-1,length=values.length,offset=array.length;while(++index<length)array[offset+index]=values[index];return array}function arraySome(array,predicate){var index=-1,length=null==array?0:array.length;while(++index<length)if(predicate(array[index],index,array))return true;return false}function baseTimes(n,iteratee){var index=-1,result=Array(n);while(++index<n)result[index]=iteratee(index);return result}function baseUnary(func){return function(value){return func(value)}}function cacheHas(cache,key){return cache.has(key)}function getValue(object,key){return null==object?void 0:object[key]}function mapToArray(map){var index=-1,result=Array(map.size);map.forEach(function(value,key){result[++index]=[key,value]});return result}function overArg(func,transform){return function(arg){return func(transform(arg))}}function setToArray(set){var index=-1,result=Array(set.size);set.forEach(function(value){result[++index]=value});return result}var arrayProto=Array.prototype,funcProto=Function.prototype,objectProto=Object.prototype;var coreJsData=root["__core-js_shared__"];var funcToString=funcProto.toString;var hasOwnProperty=objectProto.hasOwnProperty;var maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""),uid?"Symbol(src)_1."+uid:"");var uid;var nativeObjectToString=objectProto.toString;var reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Buffer=moduleExports?root.Buffer:void 0,Symbol=root.Symbol,Uint8Array=root.Uint8Array,propertyIsEnumerable=objectProto.propertyIsEnumerable,splice=arrayProto.splice,symToStringTag=Symbol?Symbol.toStringTag:void 0;var nativeGetSymbols=Object.getOwnPropertySymbols,nativeIsBuffer=Buffer?Buffer.isBuffer:void 0,nativeKeys=overArg(Object.keys,Object);var DataView=getNative(root,"DataView"),Map=getNative(root,"Map"),Promise=getNative(root,"Promise"),Set=getNative(root,"Set"),WeakMap=getNative(root,"WeakMap"),nativeCreate=getNative(Object,"create");var dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap);var symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function Hash(entries){var index=-1,length=null==entries?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{};this.size=0}function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];this.size-=result?1:0;return result}function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}function hashHas(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty.call(data,key)}function hashSet(key,value){var data=this.__data__;this.size+=this.has(key)?0:1;data[key]=nativeCreate&&void 0===value?HASH_UNDEFINED:value;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(entries){var index=-1,length=null==entries?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function listCacheClear(){this.__data__=[];this.size=0}function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0)return false;var lastIndex=data.length-1;index==lastIndex?data.pop():splice.call(data,index,1);--this.size;return true}function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){++this.size;data.push([key,value])}else data[index][1]=value;return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(entries){var index=-1,length=null==entries?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function mapCacheClear(){this.size=0;this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}function mapCacheDelete(key){var result=getMapData(this,key)["delete"](key);this.size-=result?1:0;return result}function mapCacheGet(key){return getMapData(this,key).get(key)}function mapCacheHas(key){return getMapData(this,key).has(key)}function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;data.set(key,value);this.size+=data.size==size?0:1;return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function SetCache(values){var index=-1,length=null==values?0:values.length;this.__data__=new MapCache;while(++index<length)this.add(values[index])}function setCacheAdd(value){this.__data__.set(value,HASH_UNDEFINED);return this}function setCacheHas(value){return this.__data__.has(value)}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function Stack(entries){var data=this.__data__=new ListCache(entries);this.size=data.size}function stackClear(){this.__data__=new ListCache;this.size=0}function stackDelete(key){var data=this.__data__,result=data["delete"](key);this.size=data.size;return result}function stackGet(key){return this.__data__.get(key)}function stackHas(key){return this.__data__.has(key)}function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<LARGE_ARRAY_SIZE-1){pairs.push([key,value]);this.size=++data.size;return this}data=this.__data__=new MapCache(pairs)}data.set(key,value);this.size=data.size;return this}Stack.prototype.clear=stackClear;Stack.prototype["delete"]=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)!inherited&&!hasOwnProperty.call(value,key)||skipIndexes&&("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length))||result.push(key);return result}function assocIndexOf(array,key){var length=array.length;while(length--)if(eq(array[length][0],key))return length;return-1}function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray(object)?result:arrayPush(result,symbolsFunc(object))}function baseGetTag(value){if(null==value)return void 0===value?undefinedTag:nullTag;return symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}function baseIsArguments(value){return isObjectLike(value)&&baseGetTag(value)==argsTag}function baseIsEqual(value,other,bitmask,customizer,stack){if(value===other)return true;if(null==value||null==other||!isObjectLike(value)&&!isObjectLike(other))return value!==value&&other!==other;return baseIsEqualDeep(value,other,bitmask,customizer,baseIsEqual,stack)}function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=objIsArr?arrayTag:getTag(object),othTag=othIsArr?arrayTag:getTag(other);objTag=objTag==argsTag?objectTag:objTag;othTag=othTag==argsTag?objectTag:othTag;var objIsObj=objTag==objectTag,othIsObj=othTag==objectTag,isSameTag=objTag==othTag;if(isSameTag&&isBuffer(object)){if(!isBuffer(other))return false;objIsArr=true;objIsObj=false}if(isSameTag&&!objIsObj){stack||(stack=new Stack);return objIsArr||isTypedArray(object)?equalArrays(object,other,bitmask,customizer,equalFunc,stack):equalByTag(object,other,objTag,bitmask,customizer,equalFunc,stack)}if(!(bitmask&COMPARE_PARTIAL_FLAG)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;stack||(stack=new Stack);return equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}if(!isSameTag)return false;stack||(stack=new Stack);return equalObjects(object,other,bitmask,customizer,equalFunc,stack)}function baseIsNative(value){if(!isObject(value)||isMasked(value))return false;var pattern=isFunction(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value))}function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return false;var stacked=stack.get(array);if(stacked&&stack.get(other))return stacked==other;var index=-1,result=true,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache:void 0;stack.set(array,other);stack.set(other,array);while(++index<arrLength){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(void 0!==compared){if(compared)continue;result=false;break}if(seen){if(!arraySome(other,function(othValue,othIndex){if(!cacheHas(seen,othIndex)&&(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack)))return seen.push(othIndex)})){result=false;break}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack))){result=false;break}}stack["delete"](array);stack["delete"](other);return result}function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case dataViewTag:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return false;object=object.buffer;other=other.buffer;case arrayBufferTag:if(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array(object),new Uint8Array(other)))return false;return true;case boolTag:case dateTag:case numberTag:return eq(+object,+other);case errorTag:return object.name==other.name&&object.message==other.message;case regexpTag:case stringTag:return object==other+"";case mapTag:var convert=mapToArray;case setTag:var isPartial=bitmask&COMPARE_PARTIAL_FLAG;convert||(convert=setToArray);if(object.size!=other.size&&!isPartial)return false;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=COMPARE_UNORDERED_FLAG;stack.set(object,other);var result=equalArrays(convert(object),convert(other),bitmask,customizer,equalFunc,stack);stack["delete"](object);return result;case symbolTag:if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return false}function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,objProps=getAllKeys(object),objLength=objProps.length,othProps=getAllKeys(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return false;var index=objLength;while(index--){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return false}var stacked=stack.get(object);if(stacked&&stack.get(other))return stacked==other;var result=true;stack.set(object,other);stack.set(other,object);var skipCtor=isPartial;while(++index<objLength){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(void 0===compared?objValue===othValue||equalFunc(objValue,othValue,bitmask,customizer,stack):compared)){result=false;break}skipCtor||(skipCtor="constructor"==key)}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!("function"==typeof objCtor&&objCtor instanceof objCtor&&"function"==typeof othCtor&&othCtor instanceof othCtor)&&(result=false)}stack["delete"](object);stack["delete"](other);return result}function getAllKeys(object){return baseGetAllKeys(object,keys,getSymbols)}function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data["string"==typeof key?"string":"hash"]:data.map}function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=true}catch(e){}var result=nativeObjectToString.call(value);unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]);return result}var getSymbols=nativeGetSymbols?function(object){if(null==object)return[];object=Object(object);return arrayFilter(nativeGetSymbols(object),function(symbol){return propertyIsEnumerable.call(object,symbol)})}:stubArray;var getTag=baseGetTag;(DataView&&getTag(new DataView(new ArrayBuffer(1)))!=dataViewTag||Map&&getTag(new Map)!=mapTag||Promise&&getTag(Promise.resolve())!=promiseTag||Set&&getTag(new Set)!=setTag||WeakMap&&getTag(new WeakMap)!=weakMapTag)&&(getTag=function(value){var result=baseGetTag(value),Ctor=result==objectTag?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag}return result});function isIndex(value,length){length=null==length?MAX_SAFE_INTEGER:length;return!!length&&("number"==typeof value||reIsUint.test(value))&&value>-1&&value%1==0&&value<length}function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}function isPrototype(value){var Ctor=value&&value.constructor,proto="function"==typeof Ctor&&Ctor.prototype||objectProto;return value===proto}function objectToString(value){return nativeObjectToString.call(value)}function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}function eq(value,other){return value===other||value!==value&&other!==other}var isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};var isArray=Array.isArray;function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}var isBuffer=nativeIsBuffer||stubFalse;function isEqual(value,other){return baseIsEqual(value,other)}function isFunction(value){if(!isObject(value))return false;var tag=baseGetTag(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}function isObjectLike(value){return null!=value&&"object"==typeof value}var isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}function stubArray(){return[]}function stubFalse(){return false}module.exports=isEqual}).call(this,__webpack_require__(18),__webpack_require__(82)(module))},function(module,exports,__webpack_require__){var root=__webpack_require__(101);var Symbol=root.Symbol;module.exports=Symbol},function(module,exports,__webpack_require__){var arrayLikeKeys=__webpack_require__(603),baseKeys=__webpack_require__(1317),isArrayLike=__webpack_require__(288);function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}module.exports=keys},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(297),getRawTag=__webpack_require__(1426),objectToString=__webpack_require__(1427);var nullTag="[object Null]",undefinedTag="[object Undefined]";var symToStringTag=Symbol?Symbol.toStringTag:void 0;function baseGetTag(value){if(null==value)return void 0===value?undefinedTag:nullTag;return symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}module.exports=baseGetTag},function(module,exports){function isObjectLike(value){return null!=value&&"object"==typeof value}module.exports=isObjectLike},function(module,exports,__webpack_require__){var aFunction=__webpack_require__(306);module.exports=function(fn,that,length){aFunction(fn);if(void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _iterator=__webpack_require__(1607);var _iterator2=_interopRequireDefault(_iterator);var _symbol=__webpack_require__(1617);var _symbol2=_interopRequireDefault(_symbol);var _typeof="function"===typeof _symbol2.default&&"symbol"===typeof _iterator2.default?function(obj){return typeof obj}:function(obj){return obj&&"function"===typeof _symbol2.default&&obj.constructor===_symbol2.default&&obj!==_symbol2.default.prototype?"symbol":typeof obj};function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default="function"===typeof _symbol2.default&&"symbol"===_typeof(_iterator2.default)?function(obj){return"undefined"===typeof obj?"undefined":_typeof(obj)}:function(obj){return obj&&"function"===typeof _symbol2.default&&obj.constructor===_symbol2.default&&obj!==_symbol2.default.prototype?"symbol":"undefined"===typeof obj?"undefined":_typeof(obj)}},function(module,exports,__webpack_require__){var $keys=__webpack_require__(670);var enumBugKeys=__webpack_require__(423);module.exports=Object.keys||function keys(O){return $keys(O,enumBugKeys)}},function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function componentWillMount(){var state=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==state&&void 0!==state&&this.setState(state)}function componentWillReceiveProps(nextProps){function updater(prevState){var state=this.constructor.getDerivedStateFromProps(nextProps,prevState);return null!==state&&void 0!==state?state:null}this.setState(updater.bind(this))}function componentWillUpdate(nextProps,nextState){try{var prevProps=this.props;var prevState=this.state;this.props=nextProps;this.state=nextState;this.__reactInternalSnapshotFlag=true;this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(prevProps,prevState)}finally{this.props=prevProps;this.state=prevState}}componentWillMount.__suppressDeprecationWarning=true;componentWillReceiveProps.__suppressDeprecationWarning=true;componentWillUpdate.__suppressDeprecationWarning=true;function polyfill(Component){var prototype=Component.prototype;if(!prototype||!prototype.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof Component.getDerivedStateFromProps&&"function"!==typeof prototype.getSnapshotBeforeUpdate)return Component;var foundWillMountName=null;var foundWillReceivePropsName=null;var foundWillUpdateName=null;"function"===typeof prototype.componentWillMount?foundWillMountName="componentWillMount":"function"===typeof prototype.UNSAFE_componentWillMount&&(foundWillMountName="UNSAFE_componentWillMount");"function"===typeof prototype.componentWillReceiveProps?foundWillReceivePropsName="componentWillReceiveProps":"function"===typeof prototype.UNSAFE_componentWillReceiveProps&&(foundWillReceivePropsName="UNSAFE_componentWillReceiveProps");"function"===typeof prototype.componentWillUpdate?foundWillUpdateName="componentWillUpdate":"function"===typeof prototype.UNSAFE_componentWillUpdate&&(foundWillUpdateName="UNSAFE_componentWillUpdate");if(null!==foundWillMountName||null!==foundWillReceivePropsName||null!==foundWillUpdateName){var componentName=Component.displayName||Component.name;var newApiName="function"===typeof Component.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+componentName+" uses "+newApiName+" but also contains the following legacy lifecycles:"+(null!==foundWillMountName?"\n  "+foundWillMountName:"")+(null!==foundWillReceivePropsName?"\n  "+foundWillReceivePropsName:"")+(null!==foundWillUpdateName?"\n  "+foundWillUpdateName:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof Component.getDerivedStateFromProps){prototype.componentWillMount=componentWillMount;prototype.componentWillReceiveProps=componentWillReceiveProps}if("function"===typeof prototype.getSnapshotBeforeUpdate){if("function"!==typeof prototype.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");prototype.componentWillUpdate=componentWillUpdate;var componentDidUpdate=prototype.componentDidUpdate;prototype.componentDidUpdate=function componentDidUpdatePolyfill(prevProps,prevState,maybeSnapshot){var snapshot=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:maybeSnapshot;componentDidUpdate.call(this,prevProps,prevState,snapshot)}}return Component}exports.polyfill=polyfill},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.bpfrpt_proptype_Scroll=exports.bpfrpt_proptype_CellRendererParams=exports.bpfrpt_proptype_RenderedSection=exports.bpfrpt_proptype_OverscanIndicesGetter=exports.bpfrpt_proptype_CellSize=exports.bpfrpt_proptype_CellPosition=exports.bpfrpt_proptype_Alignment=exports.bpfrpt_proptype_NoContentRenderer=exports.defaultOverscanIndicesGetter=exports.defaultCellRangeRenderer=exports.accessibilityOverscanIndicesGetter=exports.Grid=exports.default=void 0;var _Grid=__webpack_require__(1633);Object.defineProperty(exports,"default",{enumerable:true,get:function get(){return _interopRequireDefault(_Grid).default}});Object.defineProperty(exports,"Grid",{enumerable:true,get:function get(){return _interopRequireDefault(_Grid).default}});var _accessibilityOverscanIndicesGetter=__webpack_require__(1660);Object.defineProperty(exports,"accessibilityOverscanIndicesGetter",{enumerable:true,get:function get(){return _interopRequireDefault(_accessibilityOverscanIndicesGetter).default}});var _defaultCellRangeRenderer=__webpack_require__(679);Object.defineProperty(exports,"defaultCellRangeRenderer",{enumerable:true,get:function get(){return _interopRequireDefault(_defaultCellRangeRenderer).default}});var _defaultOverscanIndicesGetter=__webpack_require__(678);Object.defineProperty(exports,"defaultOverscanIndicesGetter",{enumerable:true,get:function get(){return _interopRequireDefault(_defaultOverscanIndicesGetter).default}});var _types=__webpack_require__(132);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.bpfrpt_proptype_NoContentRenderer=_types.bpfrpt_proptype_NoContentRenderer;exports.bpfrpt_proptype_Alignment=_types.bpfrpt_proptype_Alignment;exports.bpfrpt_proptype_CellPosition=_types.bpfrpt_proptype_CellPosition;exports.bpfrpt_proptype_CellSize=_types.bpfrpt_proptype_CellSize;exports.bpfrpt_proptype_OverscanIndicesGetter=_types.bpfrpt_proptype_OverscanIndicesGetter;exports.bpfrpt_proptype_RenderedSection=_types.bpfrpt_proptype_RenderedSection;exports.bpfrpt_proptype_CellRendererParams=_types.bpfrpt_proptype_CellRendererParams;exports.bpfrpt_proptype_Scroll=_types.bpfrpt_proptype_Scroll},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.bpfrpt_proptype_RowRendererParams=exports.bpfrpt_proptype_HeaderRendererParams=exports.bpfrpt_proptype_HeaderRowRendererParams=exports.bpfrpt_proptype_CellRendererParams=exports.bpfrpt_proptype_CellDataGetterParams=void 0;var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var bpfrpt_proptype_CellDataGetterParams=null;var bpfrpt_proptype_CellRendererParams=null;var bpfrpt_proptype_HeaderRowRendererParams=null;var bpfrpt_proptype_HeaderRendererParams=null;var bpfrpt_proptype_RowRendererParams=null;exports.bpfrpt_proptype_CellDataGetterParams=bpfrpt_proptype_CellDataGetterParams;exports.bpfrpt_proptype_CellRendererParams=bpfrpt_proptype_CellRendererParams;exports.bpfrpt_proptype_HeaderRowRendererParams=bpfrpt_proptype_HeaderRowRendererParams;exports.bpfrpt_proptype_HeaderRendererParams=bpfrpt_proptype_HeaderRendererParams;exports.bpfrpt_proptype_RowRendererParams=bpfrpt_proptype_RowRendererParams},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.dateFormat=exports.dateGranularity=exports.printIso8601=exports.Granularity=void 0;__webpack_require__(153);__webpack_require__(81);__webpack_require__(181);var _format=__webpack_require__(568);var _moment=_interopRequireDefault(__webpack_require__(53));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var utc=_moment.default.utc;var GRANULARITY_KEY="__eui_granularity";var FORMAT_KEY="__eui_format";var Granularity=Object.freeze({DAY:{es:"d",js:"day",isSame:function isSame(d1,d2){return d1.isSame(d2,"day")},start:function start(date){return date.startOf("day")},startOfNext:function startOfNext(date){return date.add(1,"days").startOf("day")},iso8601:function iso8601(date){return date.format("YYYY-MM-DD")}},WEEK:{es:"w",js:"week",isSame:function isSame(d1,d2){return d1.isSame(d2,"week")},start:function start(date){return date.startOf("week")},startOfNext:function startOfNext(date){return date.add(1,"weeks").startOf("week")},iso8601:function iso8601(date){return date.format("YYYY-MM-DD")}},MONTH:{es:"M",js:"month",isSame:function isSame(d1,d2){return d1.isSame(d2,"month")},start:function start(date){return date.startOf("month")},startOfNext:function startOfNext(date){return date.add(1,"months").startOf("month")},iso8601:function iso8601(date){return date.format("YYYY-MM")}},YEAR:{es:"y",js:"year",isSame:function isSame(d1,d2){return d1.isSame(d2,"year")},start:function start(date){return date.startOf("year")},startOfNext:function startOfNext(date){return date.add(1,"years").startOf("year")},iso8601:function iso8601(date){return date.format("YYYY")}}});exports.Granularity=Granularity;var parseTime=function parseTime(value){var parsed=utc(value,["HH:mm","H:mm","H:mm","h:mm a","h:mm A","hh:mm a","hh:mm A"],true);if(parsed.isValid()){parsed[FORMAT_KEY]=parsed.creationData().format;return parsed}};var parseDay=function parseDay(value){var parsed=null;switch(value.toLowerCase()){case"today":parsed=utc().startOf("day");parsed[GRANULARITY_KEY]=Granularity.DAY;parsed[FORMAT_KEY]=value;return parsed;case"yesterday":parsed=utc().subtract(1,"days").startOf("day");parsed[GRANULARITY_KEY]=Granularity.DAY;parsed[FORMAT_KEY]=value;return parsed;case"tomorrow":parsed=utc().add(1,"days").startOf("day");parsed[GRANULARITY_KEY]=Granularity.DAY;parsed[FORMAT_KEY]=value;return parsed;default:parsed=utc(value,["ddd","dddd","D MMM YY","Do MMM YY","D MMM YYYY","Do MMM YYYY","DD MMM YY","DD MMM YYYY","D MMMM YY","Do MMMM YY","D MMMM YYYY","Do MMMM YYYY","DD MMMM YY","DD MMMM YYYY","YYYY-MM-DD"],true);if(parsed.isValid())try{parsed[GRANULARITY_KEY]=Granularity.DAY;parsed[FORMAT_KEY]=parsed.creationData().format;return parsed}catch(e){console.error(e)}}};var parseWeek=function parseWeek(value){var parsed=null;switch(value.toLowerCase()){case"this week":parsed=utc();break;case"last week":parsed=utc().subtract(1,"weeks");break;case"next week":parsed=utc().add(1,"weeks");break;default:var match=value.match(/week ([1-9][1-9]?)/i);if(match){var weekNr=Number(match[1]);parsed=utc().weeks(weekNr)}}if(parsed&&parsed.isValid()){parsed=parsed.startOf("week");parsed[GRANULARITY_KEY]=Granularity.WEEK;parsed[FORMAT_KEY]=parsed.creationData().format;return parsed}};var parseMonth=function parseMonth(value){var parsed=null;switch(value.toLowerCase()){case"this month":parsed=utc();break;case"next month":parsed=utc().endOf("month").add(2,"days");break;case"last month":parsed=utc().startOf("month").subtract(2,"days");break;default:parsed=utc(value,["MMM","MMMM"],true);if(parsed.isValid()){var now=utc();parsed.year(now.year)}else parsed=utc(value,["MMM YY","MMMM YY","MMM YYYY","MMMM YYYY","YYYY MMM","YYYY MMMM","YYYY-MM"],true)}if(parsed.isValid()){parsed.startOf("month");parsed[GRANULARITY_KEY]=Granularity.MONTH;parsed[FORMAT_KEY]=parsed.creationData().format;return parsed}};var parseYear=function parseYear(value){var parsed=null;switch(value.toLowerCase()){case"this year":parsed=utc().startOf("year");parsed[GRANULARITY_KEY]=Granularity.YEAR;parsed[FORMAT_KEY]=value;return parsed;case"next year":parsed=utc().endOf("year").add(2,"months").startOf("year");parsed[GRANULARITY_KEY]=Granularity.YEAR;parsed[FORMAT_KEY]=value;return parsed;case"last year":parsed=utc().startOf("year").subtract(2,"months").startOf("year");parsed[GRANULARITY_KEY]=Granularity.YEAR;parsed[FORMAT_KEY]=value;return parsed;default:parsed=utc(value,["YY","YYYY"],true);if(parsed.isValid()){parsed[GRANULARITY_KEY]=Granularity.YEAR;parsed[FORMAT_KEY]=parsed.creationData().format;return parsed}}};var parseDefault=function parseDefault(value){var parsed=utc(value,[_moment.default.ISO_8601,_moment.default.RFC_2822,"DD MMM YY HH:mm","DD MMM YY HH:mm:ss","DD MMM YYYY HH:mm","DD MMM YYYY HH:mm:ss","DD MMMM YYYY HH:mm","DD MMMM YYYY HH:mm:ss"],true);if(!parsed.isValid()){var time=Date.parse(value);var offset=(0,_moment.default)(time).utcOffset();parsed=utc(time);parsed.add(offset,"minutes")}parsed.isValid()&&(parsed[FORMAT_KEY]=parsed.creationData().format);return parsed};var printDay=function printDay(now,date,format){if(format.match(/yesterday|tomorrow|today/i)){if(now.isSame(date,"day"))return"today";if(now.subtract(1,"day").isSame(date,"day"))return"yesterday";if(now.add(1,"day").isSame(date,"day"))return"tomorrow";if(now.isSame(date,"week"))return date.format("dddd")}return date.format(format)};var printWeek=function printWeek(now,date,format){if(format.match(/(?:this|next|last) week/i)){if(now.isSame(date,"week"))return"This Week";if(now.startOf("week").subtract(2,"days").isSame(date,"week"))return"Last Week";if(now.endOf("week").add(2,"days").isSame(date,"week"))return"Next Week"}return date.format(format)};var printMonth=function printMonth(now,date,format){if(format.match(/(?:this|next|last) month/i)){if(now.isSame(date,"month"))return"This Month";if(now.startOf("month").subtract(2,"days").isSame(date,"month"))return"Last Month";if(now.endOf("month").add(2,"days").isSame(date,"month"))return"Next Month"}return date.format(format)};var printYear=function printYear(now,date,format){if(format.match(/(?:this|next|last) year/i)){if(now.isSame(date,"year"))return"This Year";if(now.startOf("year").subtract(2,"months").isSame(date,"year"))return"Last Year";if(now.endOf("year").add(2,"months").isSame(date,"year"))return"Next Year"}return date.format(format)};var printIso8601=function printIso8601(value){return utc(value).format(_moment.default.defaultFormatUtc)};exports.printIso8601=printIso8601;var dateGranularity=function dateGranularity(parsedDate){return parsedDate[GRANULARITY_KEY]};exports.dateGranularity=dateGranularity;var dateFormat=Object.freeze({parse:function parse(value){var parsed=parseDay(value)||parseMonth(value)||parseYear(value)||parseWeek(value)||parseTime(value)||parseDefault(value);if(!parsed)throw new Error("could not parse [".concat(value,"] as date"));return parsed},print:function print(date){var defaultGranularity=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;date=_moment.default.isMoment(date)?date:utc(date);var now=utc();var format=date[FORMAT_KEY];if(!format)return date.format(_format.dateFormatAliases.iso8601);var granularity=date[GRANULARITY_KEY]||defaultGranularity;switch(granularity){case Granularity.DAY:return printDay(now,date,format);case Granularity.WEEK:return printWeek(now,date,format);case Granularity.MONTH:return printMonth(now,date,format);case Granularity.YEAR:return printYear(now,date,format);default:return date.format(format)}}});exports.dateFormat=dateFormat},function(module,exports,__webpack_require__){"use strict";(function(global){Object.defineProperty(exports,"__esModule",{value:true});exports.getDOMNode=exports.isReactDOMSupported=void 0;var _slicedToArray=function(){function sliceIterator(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{!_n&&_i["return"]&&_i["return"]()}finally{if(_d)throw _e}}return _arr}return function(arr,i){if(Array.isArray(arr))return arr;if(Symbol.iterator in Object(arr))return sliceIterator(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();exports.warning=warning;exports.warnOnce=warnOnce;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _React$version$split=_react2.default.version.split("."),_React$version$split2=_slicedToArray(_React$version$split,2),major=_React$version$split2[0],minor=_React$version$split2[1];var versionHigherThanThirteen=Number(minor)>13||Number(major)>13;var isReactDOMSupported=exports.isReactDOMSupported=function isReactDOMSupported(){return versionHigherThanThirteen};exports.getDOMNode=function getDOMNode(ref){if(!isReactDOMSupported())return ref&&ref.getDOMNode();return ref};var USED_MESSAGES={};var HIDDEN_PROCESSES={test:true,production:true};function warning(message){var onlyShowMessageOnce=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(global.process&&HIDDEN_PROCESSES["production"])return;if(!onlyShowMessageOnce||!USED_MESSAGES[message]){console.warn(message);USED_MESSAGES[message]=true}}function warnOnce(message){warning(message,true)}}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){0,factory=function(exports,d3Path){"use strict";var constant=function(x){return function constant(){return x}};var abs=Math.abs;var atan2=Math.atan2;var cos=Math.cos;var max=Math.max;var min=Math.min;var sin=Math.sin;var sqrt=Math.sqrt;var epsilon=1e-12;var pi=Math.PI;var halfPi=pi/2;var tau=2*pi;function acos(x){return x>1?0:x<-1?pi:Math.acos(x)}function asin(x){return x>=1?halfPi:x<=-1?-halfPi:Math.asin(x)}function arcInnerRadius(d){return d.innerRadius}function arcOuterRadius(d){return d.outerRadius}function arcStartAngle(d){return d.startAngle}function arcEndAngle(d){return d.endAngle}function arcPadAngle(d){return d&&d.padAngle}function intersect(x0,y0,x1,y1,x2,y2,x3,y3){var x10=x1-x0,y10=y1-y0,x32=x3-x2,y32=y3-y2,t=(x32*(y0-y2)-y32*(x0-x2))/(y32*x10-x32*y10);return[x0+t*x10,y0+t*y10]}function cornerTangents(x0,y0,x1,y1,r1,rc,cw){var x01=x0-x1,y01=y0-y1,lo=(cw?rc:-rc)/sqrt(x01*x01+y01*y01),ox=lo*y01,oy=-lo*x01,x11=x0+ox,y11=y0+oy,x10=x1+ox,y10=y1+oy,x00=(x11+x10)/2,y00=(y11+y10)/2,dx=x10-x11,dy=y10-y11,d2=dx*dx+dy*dy,r=r1-rc,D=x11*y10-x10*y11,d=(dy<0?-1:1)*sqrt(max(0,r*r*d2-D*D)),cx0=(D*dy-dx*d)/d2,cy0=(-D*dx-dy*d)/d2,cx1=(D*dy+dx*d)/d2,cy1=(-D*dx+dy*d)/d2,dx0=cx0-x00,dy0=cy0-y00,dx1=cx1-x00,dy1=cy1-y00;dx0*dx0+dy0*dy0>dx1*dx1+dy1*dy1&&(cx0=cx1,cy0=cy1);return{cx:cx0,cy:cy0,x01:-ox,y01:-oy,x11:cx0*(r1/r-1),y11:cy0*(r1/r-1)}}var arc=function(){var innerRadius=arcInnerRadius,outerRadius=arcOuterRadius,cornerRadius=constant(0),padRadius=null,startAngle=arcStartAngle,endAngle=arcEndAngle,padAngle=arcPadAngle,context=null;function arc(){var buffer,r,r0=+innerRadius.apply(this,arguments),r1=+outerRadius.apply(this,arguments),a0=startAngle.apply(this,arguments)-halfPi,a1=endAngle.apply(this,arguments)-halfPi,da=abs(a1-a0),cw=a1>a0;context||(context=buffer=d3Path.path());r1<r0&&(r=r1,r1=r0,r0=r);if(r1>epsilon)if(da>tau-epsilon){context.moveTo(r1*cos(a0),r1*sin(a0));context.arc(0,0,r1,a0,a1,!cw);if(r0>epsilon){context.moveTo(r0*cos(a1),r0*sin(a1));context.arc(0,0,r0,a1,a0,cw)}}else{var t0,t1,a01=a0,a11=a1,a00=a0,a10=a1,da0=da,da1=da,ap=padAngle.apply(this,arguments)/2,rp=ap>epsilon&&(padRadius?+padRadius.apply(this,arguments):sqrt(r0*r0+r1*r1)),rc=min(abs(r1-r0)/2,+cornerRadius.apply(this,arguments)),rc0=rc,rc1=rc;if(rp>epsilon){var p0=asin(rp/r0*sin(ap)),p1=asin(rp/r1*sin(ap));(da0-=2*p0)>epsilon?(p0*=cw?1:-1,a00+=p0,a10-=p0):(da0=0,a00=a10=(a0+a1)/2);(da1-=2*p1)>epsilon?(p1*=cw?1:-1,a01+=p1,a11-=p1):(da1=0,a01=a11=(a0+a1)/2)}var x01=r1*cos(a01),y01=r1*sin(a01),x10=r0*cos(a10),y10=r0*sin(a10);if(rc>epsilon){var x11=r1*cos(a11),y11=r1*sin(a11),x00=r0*cos(a00),y00=r0*sin(a00);if(da<pi){var oc=da0>epsilon?intersect(x01,y01,x00,y00,x11,y11,x10,y10):[x10,y10],ax=x01-oc[0],ay=y01-oc[1],bx=x11-oc[0],by=y11-oc[1],kc=1/sin(acos((ax*bx+ay*by)/(sqrt(ax*ax+ay*ay)*sqrt(bx*bx+by*by)))/2),lc=sqrt(oc[0]*oc[0]+oc[1]*oc[1]);rc0=min(rc,(r0-lc)/(kc-1));rc1=min(rc,(r1-lc)/(kc+1))}}if(da1>epsilon)if(rc1>epsilon){t0=cornerTangents(x00,y00,x01,y01,r1,rc1,cw);t1=cornerTangents(x11,y11,x10,y10,r1,rc1,cw);context.moveTo(t0.cx+t0.x01,t0.cy+t0.y01);if(rc1<rc)context.arc(t0.cx,t0.cy,rc1,atan2(t0.y01,t0.x01),atan2(t1.y01,t1.x01),!cw);else{context.arc(t0.cx,t0.cy,rc1,atan2(t0.y01,t0.x01),atan2(t0.y11,t0.x11),!cw);context.arc(0,0,r1,atan2(t0.cy+t0.y11,t0.cx+t0.x11),atan2(t1.cy+t1.y11,t1.cx+t1.x11),!cw);context.arc(t1.cx,t1.cy,rc1,atan2(t1.y11,t1.x11),atan2(t1.y01,t1.x01),!cw)}}else context.moveTo(x01,y01),context.arc(0,0,r1,a01,a11,!cw);else context.moveTo(x01,y01);if(r0>epsilon&&da0>epsilon)if(rc0>epsilon){t0=cornerTangents(x10,y10,x11,y11,r0,-rc0,cw);t1=cornerTangents(x01,y01,x00,y00,r0,-rc0,cw);context.lineTo(t0.cx+t0.x01,t0.cy+t0.y01);if(rc0<rc)context.arc(t0.cx,t0.cy,rc0,atan2(t0.y01,t0.x01),atan2(t1.y01,t1.x01),!cw);else{context.arc(t0.cx,t0.cy,rc0,atan2(t0.y01,t0.x01),atan2(t0.y11,t0.x11),!cw);context.arc(0,0,r0,atan2(t0.cy+t0.y11,t0.cx+t0.x11),atan2(t1.cy+t1.y11,t1.cx+t1.x11),cw);context.arc(t1.cx,t1.cy,rc0,atan2(t1.y11,t1.x11),atan2(t1.y01,t1.x01),!cw)}}else context.arc(0,0,r0,a10,a00,cw);else context.lineTo(x10,y10)}else context.moveTo(0,0);context.closePath();if(buffer)return context=null,buffer+""||null}arc.centroid=function(){var r=(+innerRadius.apply(this,arguments)+ +outerRadius.apply(this,arguments))/2,a=(+startAngle.apply(this,arguments)+ +endAngle.apply(this,arguments))/2-pi/2;return[cos(a)*r,sin(a)*r]};arc.innerRadius=function(_){return arguments.length?(innerRadius="function"===typeof _?_:constant(+_),arc):innerRadius};arc.outerRadius=function(_){return arguments.length?(outerRadius="function"===typeof _?_:constant(+_),arc):outerRadius};arc.cornerRadius=function(_){return arguments.length?(cornerRadius="function"===typeof _?_:constant(+_),arc):cornerRadius};arc.padRadius=function(_){return arguments.length?(padRadius=null==_?null:"function"===typeof _?_:constant(+_),arc):padRadius};arc.startAngle=function(_){return arguments.length?(startAngle="function"===typeof _?_:constant(+_),arc):startAngle};arc.endAngle=function(_){return arguments.length?(endAngle="function"===typeof _?_:constant(+_),arc):endAngle};arc.padAngle=function(_){return arguments.length?(padAngle="function"===typeof _?_:constant(+_),arc):padAngle};arc.context=function(_){return arguments.length?(context=null==_?null:_,arc):context};return arc};function Linear(context){this._context=context}Linear.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;this._line?this._context.lineTo(x,y):this._context.moveTo(x,y);break;case 1:this._point=2;default:this._context.lineTo(x,y)}}};var curveLinear=function(context){return new Linear(context)};function x(p){return p[0]}function y(p){return p[1]}var line=function(){var x$$1=x,y$$1=y,defined=constant(true),context=null,curve=curveLinear,output=null;function line(data){var i,d,buffer,n=data.length,defined0=false;null==context&&(output=curve(buffer=d3Path.path()));for(i=0;i<=n;++i){!(i<n&&defined(d=data[i],i,data))===defined0&&((defined0=!defined0)?output.lineStart():output.lineEnd());defined0&&output.point(+x$$1(d,i,data),+y$$1(d,i,data))}if(buffer)return output=null,buffer+""||null}line.x=function(_){return arguments.length?(x$$1="function"===typeof _?_:constant(+_),line):x$$1};line.y=function(_){return arguments.length?(y$$1="function"===typeof _?_:constant(+_),line):y$$1};line.defined=function(_){return arguments.length?(defined="function"===typeof _?_:constant(!!_),line):defined};line.curve=function(_){return arguments.length?(curve=_,null!=context&&(output=curve(context)),line):curve};line.context=function(_){return arguments.length?(null==_?context=output=null:output=curve(context=_),line):context};return line};var area=function(){var x0=x,x1=null,y0=constant(0),y1=y,defined=constant(true),context=null,curve=curveLinear,output=null;function area(data){var i,j,k,d,buffer,n=data.length,defined0=false,x0z=new Array(n),y0z=new Array(n);null==context&&(output=curve(buffer=d3Path.path()));for(i=0;i<=n;++i){if(!(i<n&&defined(d=data[i],i,data))===defined0)if(defined0=!defined0){j=i;output.areaStart();output.lineStart()}else{output.lineEnd();output.lineStart();for(k=i-1;k>=j;--k)output.point(x0z[k],y0z[k]);output.lineEnd();output.areaEnd()}if(defined0){x0z[i]=+x0(d,i,data),y0z[i]=+y0(d,i,data);output.point(x1?+x1(d,i,data):x0z[i],y1?+y1(d,i,data):y0z[i])}}if(buffer)return output=null,buffer+""||null}function arealine(){return line().defined(defined).curve(curve).context(context)}area.x=function(_){return arguments.length?(x0="function"===typeof _?_:constant(+_),x1=null,area):x0};area.x0=function(_){return arguments.length?(x0="function"===typeof _?_:constant(+_),area):x0};area.x1=function(_){return arguments.length?(x1=null==_?null:"function"===typeof _?_:constant(+_),area):x1};area.y=function(_){return arguments.length?(y0="function"===typeof _?_:constant(+_),y1=null,area):y0};area.y0=function(_){return arguments.length?(y0="function"===typeof _?_:constant(+_),area):y0};area.y1=function(_){return arguments.length?(y1=null==_?null:"function"===typeof _?_:constant(+_),area):y1};area.lineX0=area.lineY0=function(){return arealine().x(x0).y(y0)};area.lineY1=function(){return arealine().x(x0).y(y1)};area.lineX1=function(){return arealine().x(x1).y(y0)};area.defined=function(_){return arguments.length?(defined="function"===typeof _?_:constant(!!_),area):defined};area.curve=function(_){return arguments.length?(curve=_,null!=context&&(output=curve(context)),area):curve};area.context=function(_){return arguments.length?(null==_?context=output=null:output=curve(context=_),area):context};return area};var descending=function(a,b){return b<a?-1:b>a?1:b>=a?0:NaN};var identity=function(d){return d};var pie=function(){var value=identity,sortValues=descending,sort=null,startAngle=constant(0),endAngle=constant(tau),padAngle=constant(0);function pie(data){var i,j,k,a1,v,n=data.length,sum=0,index=new Array(n),arcs=new Array(n),a0=+startAngle.apply(this,arguments),da=Math.min(tau,Math.max(-tau,endAngle.apply(this,arguments)-a0)),p=Math.min(Math.abs(da)/n,padAngle.apply(this,arguments)),pa=p*(da<0?-1:1);for(i=0;i<n;++i)(v=arcs[index[i]=i]=+value(data[i],i,data))>0&&(sum+=v);null!=sortValues?index.sort(function(i,j){return sortValues(arcs[i],arcs[j])}):null!=sort&&index.sort(function(i,j){return sort(data[i],data[j])});for(i=0,k=sum?(da-n*pa)/sum:0;i<n;++i,a0=a1)j=index[i],v=arcs[j],a1=a0+(v>0?v*k:0)+pa,arcs[j]={data:data[j],index:i,value:v,startAngle:a0,endAngle:a1,padAngle:p};return arcs}pie.value=function(_){return arguments.length?(value="function"===typeof _?_:constant(+_),pie):value};pie.sortValues=function(_){return arguments.length?(sortValues=_,sort=null,pie):sortValues};pie.sort=function(_){return arguments.length?(sort=_,sortValues=null,pie):sort};pie.startAngle=function(_){return arguments.length?(startAngle="function"===typeof _?_:constant(+_),pie):startAngle};pie.endAngle=function(_){return arguments.length?(endAngle="function"===typeof _?_:constant(+_),pie):endAngle};pie.padAngle=function(_){return arguments.length?(padAngle="function"===typeof _?_:constant(+_),pie):padAngle};return pie};var curveRadialLinear=curveRadial(curveLinear);function Radial(curve){this._curve=curve}Radial.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(a,r){this._curve.point(r*Math.sin(a),r*-Math.cos(a))}};function curveRadial(curve){function radial(context){return new Radial(curve(context))}radial._curve=curve;return radial}function lineRadial(l){var c=l.curve;l.angle=l.x,delete l.x;l.radius=l.y,delete l.y;l.curve=function(_){return arguments.length?c(curveRadial(_)):c()._curve};return l}var lineRadial$1=function(){return lineRadial(line().curve(curveRadialLinear))};var areaRadial=function(){var a=area().curve(curveRadialLinear),c=a.curve,x0=a.lineX0,x1=a.lineX1,y0=a.lineY0,y1=a.lineY1;a.angle=a.x,delete a.x;a.startAngle=a.x0,delete a.x0;a.endAngle=a.x1,delete a.x1;a.radius=a.y,delete a.y;a.innerRadius=a.y0,delete a.y0;a.outerRadius=a.y1,delete a.y1;a.lineStartAngle=function(){return lineRadial(x0())},delete a.lineX0;a.lineEndAngle=function(){return lineRadial(x1())},delete a.lineX1;a.lineInnerRadius=function(){return lineRadial(y0())},delete a.lineY0;a.lineOuterRadius=function(){return lineRadial(y1())},delete a.lineY1;a.curve=function(_){return arguments.length?c(curveRadial(_)):c()._curve};return a};var pointRadial=function(x,y){return[(y=+y)*Math.cos(x-=Math.PI/2),y*Math.sin(x)]};var slice=Array.prototype.slice;function linkSource(d){return d.source}function linkTarget(d){return d.target}function link(curve){var source=linkSource,target=linkTarget,x$$1=x,y$$1=y,context=null;function link(){var buffer,argv=slice.call(arguments),s=source.apply(this,argv),t=target.apply(this,argv);context||(context=buffer=d3Path.path());curve(context,+x$$1.apply(this,(argv[0]=s,argv)),+y$$1.apply(this,argv),+x$$1.apply(this,(argv[0]=t,argv)),+y$$1.apply(this,argv));if(buffer)return context=null,buffer+""||null}link.source=function(_){return arguments.length?(source=_,link):source};link.target=function(_){return arguments.length?(target=_,link):target};link.x=function(_){return arguments.length?(x$$1="function"===typeof _?_:constant(+_),link):x$$1};link.y=function(_){return arguments.length?(y$$1="function"===typeof _?_:constant(+_),link):y$$1};link.context=function(_){return arguments.length?(context=null==_?null:_,link):context};return link}function curveHorizontal(context,x0,y0,x1,y1){context.moveTo(x0,y0);context.bezierCurveTo(x0=(x0+x1)/2,y0,x0,y1,x1,y1)}function curveVertical(context,x0,y0,x1,y1){context.moveTo(x0,y0);context.bezierCurveTo(x0,y0=(y0+y1)/2,x1,y0,x1,y1)}function curveRadial$1(context,x0,y0,x1,y1){var p0=pointRadial(x0,y0),p1=pointRadial(x0,y0=(y0+y1)/2),p2=pointRadial(x1,y0),p3=pointRadial(x1,y1);context.moveTo(p0[0],p0[1]);context.bezierCurveTo(p1[0],p1[1],p2[0],p2[1],p3[0],p3[1])}function linkHorizontal(){return link(curveHorizontal)}function linkVertical(){return link(curveVertical)}function linkRadial(){var l=link(curveRadial$1);l.angle=l.x,delete l.x;l.radius=l.y,delete l.y;return l}var circle={draw:function(context,size){var r=Math.sqrt(size/pi);context.moveTo(r,0);context.arc(0,0,r,0,tau)}};var cross={draw:function(context,size){var r=Math.sqrt(size/5)/2;context.moveTo(-3*r,-r);context.lineTo(-r,-r);context.lineTo(-r,-3*r);context.lineTo(r,-3*r);context.lineTo(r,-r);context.lineTo(3*r,-r);context.lineTo(3*r,r);context.lineTo(r,r);context.lineTo(r,3*r);context.lineTo(-r,3*r);context.lineTo(-r,r);context.lineTo(-3*r,r);context.closePath()}};var tan30=Math.sqrt(1/3);var tan30_2=2*tan30;var diamond={draw:function(context,size){var y=Math.sqrt(size/tan30_2),x=y*tan30;context.moveTo(0,-y);context.lineTo(x,0);context.lineTo(0,y);context.lineTo(-x,0);context.closePath()}};var ka=.8908130915292852;var kr=Math.sin(pi/10)/Math.sin(7*pi/10);var kx=Math.sin(tau/10)*kr;var ky=-Math.cos(tau/10)*kr;var star={draw:function(context,size){var r=Math.sqrt(size*ka),x=kx*r,y=ky*r;context.moveTo(0,-r);context.lineTo(x,y);for(var i=1;i<5;++i){var a=tau*i/5,c=Math.cos(a),s=Math.sin(a);context.lineTo(s*r,-c*r);context.lineTo(c*x-s*y,s*x+c*y)}context.closePath()}};var square={draw:function(context,size){var w=Math.sqrt(size),x=-w/2;context.rect(x,x,w,w)}};var sqrt3=Math.sqrt(3);var triangle={draw:function(context,size){var y=-Math.sqrt(size/(3*sqrt3));context.moveTo(0,2*y);context.lineTo(-sqrt3*y,-y);context.lineTo(sqrt3*y,-y);context.closePath()}};var c=-.5;var s=Math.sqrt(3)/2;var k=1/Math.sqrt(12);var a=3*(k/2+1);var wye={draw:function(context,size){var r=Math.sqrt(size/a),x0=r/2,y0=r*k,x1=x0,y1=r*k+r,x2=-x1,y2=y1;context.moveTo(x0,y0);context.lineTo(x1,y1);context.lineTo(x2,y2);context.lineTo(c*x0-s*y0,s*x0+c*y0);context.lineTo(c*x1-s*y1,s*x1+c*y1);context.lineTo(c*x2-s*y2,s*x2+c*y2);context.lineTo(c*x0+s*y0,c*y0-s*x0);context.lineTo(c*x1+s*y1,c*y1-s*x1);context.lineTo(c*x2+s*y2,c*y2-s*x2);context.closePath()}};var symbols=[circle,cross,diamond,square,star,triangle,wye];var symbol=function(){var type=constant(circle),size=constant(64),context=null;function symbol(){var buffer;context||(context=buffer=d3Path.path());type.apply(this,arguments).draw(context,+size.apply(this,arguments));if(buffer)return context=null,buffer+""||null}symbol.type=function(_){return arguments.length?(type="function"===typeof _?_:constant(_),symbol):type};symbol.size=function(_){return arguments.length?(size="function"===typeof _?_:constant(+_),symbol):size};symbol.context=function(_){return arguments.length?(context=null==_?null:_,symbol):context};return symbol};var noop=function(){};function point(that,x,y){that._context.bezierCurveTo((2*that._x0+that._x1)/3,(2*that._y0+that._y1)/3,(that._x0+2*that._x1)/3,(that._y0+2*that._y1)/3,(that._x0+4*that._x1+x)/6,(that._y0+4*that._y1+y)/6)}function Basis(context){this._context=context}Basis.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN;this._point=0},lineEnd:function(){switch(this._point){case 3:point(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;this._line?this._context.lineTo(x,y):this._context.moveTo(x,y);break;case 1:this._point=2;break;case 2:this._point=3;this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:point(this,x,y)}this._x0=this._x1,this._x1=x;this._y0=this._y1,this._y1=y}};var basis=function(context){return new Basis(context)};function BasisClosed(context){this._context=context}BasisClosed.prototype={areaStart:noop,areaEnd:noop,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN;this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2);this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3);this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3);this._context.closePath();break;case 3:this.point(this._x2,this._y2);this.point(this._x3,this._y3);this.point(this._x4,this._y4)}},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;this._x2=x,this._y2=y;break;case 1:this._point=2;this._x3=x,this._y3=y;break;case 2:this._point=3;this._x4=x,this._y4=y;this._context.moveTo((this._x0+4*this._x1+x)/6,(this._y0+4*this._y1+y)/6);break;default:point(this,x,y)}this._x0=this._x1,this._x1=x;this._y0=this._y1,this._y1=y}};var basisClosed=function(context){return new BasisClosed(context)};function BasisOpen(context){this._context=context}BasisOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN;this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var x0=(this._x0+4*this._x1+x)/6,y0=(this._y0+4*this._y1+y)/6;this._line?this._context.lineTo(x0,y0):this._context.moveTo(x0,y0);break;case 3:this._point=4;default:point(this,x,y)}this._x0=this._x1,this._x1=x;this._y0=this._y1,this._y1=y}};var basisOpen=function(context){return new BasisOpen(context)};function Bundle(context,beta){this._basis=new Basis(context);this._beta=beta}Bundle.prototype={lineStart:function(){this._x=[];this._y=[];this._basis.lineStart()},lineEnd:function(){var x=this._x,y=this._y,j=x.length-1;if(j>0){var t,x0=x[0],y0=y[0],dx=x[j]-x0,dy=y[j]-y0,i=-1;while(++i<=j){t=i/j;this._basis.point(this._beta*x[i]+(1-this._beta)*(x0+t*dx),this._beta*y[i]+(1-this._beta)*(y0+t*dy))}}this._x=this._y=null;this._basis.lineEnd()},point:function(x,y){this._x.push(+x);this._y.push(+y)}};var bundle=function custom(beta){function bundle(context){return 1===beta?new Basis(context):new Bundle(context,beta)}bundle.beta=function(beta){return custom(+beta)};return bundle}(.85);function point$1(that,x,y){that._context.bezierCurveTo(that._x1+that._k*(that._x2-that._x0),that._y1+that._k*(that._y2-that._y0),that._x2+that._k*(that._x1-x),that._y2+that._k*(that._y1-y),that._x2,that._y2)}function Cardinal(context,tension){this._context=context;this._k=(1-tension)/6}Cardinal.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN;this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:point$1(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;this._line?this._context.lineTo(x,y):this._context.moveTo(x,y);break;case 1:this._point=2;this._x1=x,this._y1=y;break;case 2:this._point=3;default:point$1(this,x,y)}this._x0=this._x1,this._x1=this._x2,this._x2=x;this._y0=this._y1,this._y1=this._y2,this._y2=y}};var cardinal=function custom(tension){function cardinal(context){return new Cardinal(context,tension)}cardinal.tension=function(tension){return custom(+tension)};return cardinal}(0);function CardinalClosed(context,tension){this._context=context;this._k=(1-tension)/6}CardinalClosed.prototype={areaStart:noop,areaEnd:noop,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN;this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3);this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3);this._context.closePath();break;case 3:this.point(this._x3,this._y3);this.point(this._x4,this._y4);this.point(this._x5,this._y5)}},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;this._x3=x,this._y3=y;break;case 1:this._point=2;this._context.moveTo(this._x4=x,this._y4=y);break;case 2:this._point=3;this._x5=x,this._y5=y;break;default:point$1(this,x,y)}this._x0=this._x1,this._x1=this._x2,this._x2=x;this._y0=this._y1,this._y1=this._y2,this._y2=y}};var cardinalClosed=function custom(tension){function cardinal(context){return new CardinalClosed(context,tension)}cardinal.tension=function(tension){return custom(+tension)};return cardinal}(0);function CardinalOpen(context,tension){this._context=context;this._k=(1-tension)/6}CardinalOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN;this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:point$1(this,x,y)}this._x0=this._x1,this._x1=this._x2,this._x2=x;this._y0=this._y1,this._y1=this._y2,this._y2=y}};var cardinalOpen=function custom(tension){function cardinal(context){return new CardinalOpen(context,tension)}cardinal.tension=function(tension){return custom(+tension)};return cardinal}(0);function point$2(that,x,y){var x1=that._x1,y1=that._y1,x2=that._x2,y2=that._y2;if(that._l01_a>epsilon){var a=2*that._l01_2a+3*that._l01_a*that._l12_a+that._l12_2a,n=3*that._l01_a*(that._l01_a+that._l12_a);x1=(x1*a-that._x0*that._l12_2a+that._x2*that._l01_2a)/n;y1=(y1*a-that._y0*that._l12_2a+that._y2*that._l01_2a)/n}if(that._l23_a>epsilon){var b=2*that._l23_2a+3*that._l23_a*that._l12_a+that._l12_2a,m=3*that._l23_a*(that._l23_a+that._l12_a);x2=(x2*b+that._x1*that._l23_2a-x*that._l12_2a)/m;y2=(y2*b+that._y1*that._l23_2a-y*that._l12_2a)/m}that._context.bezierCurveTo(x1,y1,x2,y2,that._x2,that._y2)}function CatmullRom(context,alpha){this._context=context;this._alpha=alpha}CatmullRom.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN;this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){x=+x,y=+y;if(this._point){var x23=this._x2-x,y23=this._y2-y;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(x23*x23+y23*y23,this._alpha))}switch(this._point){case 0:this._point=1;this._line?this._context.lineTo(x,y):this._context.moveTo(x,y);break;case 1:this._point=2;break;case 2:this._point=3;default:point$2(this,x,y)}this._l01_a=this._l12_a,this._l12_a=this._l23_a;this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a;this._x0=this._x1,this._x1=this._x2,this._x2=x;this._y0=this._y1,this._y1=this._y2,this._y2=y}};var catmullRom=function custom(alpha){function catmullRom(context){return alpha?new CatmullRom(context,alpha):new Cardinal(context,0)}catmullRom.alpha=function(alpha){return custom(+alpha)};return catmullRom}(.5);function CatmullRomClosed(context,alpha){this._context=context;this._alpha=alpha}CatmullRomClosed.prototype={areaStart:noop,areaEnd:noop,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN;this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3);this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3);this._context.closePath();break;case 3:this.point(this._x3,this._y3);this.point(this._x4,this._y4);this.point(this._x5,this._y5)}},point:function(x,y){x=+x,y=+y;if(this._point){var x23=this._x2-x,y23=this._y2-y;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(x23*x23+y23*y23,this._alpha))}switch(this._point){case 0:this._point=1;this._x3=x,this._y3=y;break;case 1:this._point=2;this._context.moveTo(this._x4=x,this._y4=y);break;case 2:this._point=3;this._x5=x,this._y5=y;break;default:point$2(this,x,y)}this._l01_a=this._l12_a,this._l12_a=this._l23_a;this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a;this._x0=this._x1,this._x1=this._x2,this._x2=x;this._y0=this._y1,this._y1=this._y2,this._y2=y}};var catmullRomClosed=function custom(alpha){function catmullRom(context){return alpha?new CatmullRomClosed(context,alpha):new CardinalClosed(context,0)}catmullRom.alpha=function(alpha){return custom(+alpha)};return catmullRom}(.5);function CatmullRomOpen(context,alpha){this._context=context;this._alpha=alpha}CatmullRomOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN;this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){x=+x,y=+y;if(this._point){var x23=this._x2-x,y23=this._y2-y;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(x23*x23+y23*y23,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:point$2(this,x,y)}this._l01_a=this._l12_a,this._l12_a=this._l23_a;this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a;this._x0=this._x1,this._x1=this._x2,this._x2=x;this._y0=this._y1,this._y1=this._y2,this._y2=y}};var catmullRomOpen=function custom(alpha){function catmullRom(context){return alpha?new CatmullRomOpen(context,alpha):new CardinalOpen(context,0)}catmullRom.alpha=function(alpha){return custom(+alpha)};return catmullRom}(.5);function LinearClosed(context){this._context=context}LinearClosed.prototype={areaStart:noop,areaEnd:noop,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(x,y){x=+x,y=+y;this._point?this._context.lineTo(x,y):(this._point=1,this._context.moveTo(x,y))}};var linearClosed=function(context){return new LinearClosed(context)};function sign(x){return x<0?-1:1}function slope3(that,x2,y2){var h0=that._x1-that._x0,h1=x2-that._x1,s0=(that._y1-that._y0)/(h0||h1<0&&-0),s1=(y2-that._y1)/(h1||h0<0&&-0),p=(s0*h1+s1*h0)/(h0+h1);return(sign(s0)+sign(s1))*Math.min(Math.abs(s0),Math.abs(s1),.5*Math.abs(p))||0}function slope2(that,t){var h=that._x1-that._x0;return h?(3*(that._y1-that._y0)/h-t)/2:t}function point$3(that,t0,t1){var x0=that._x0,y0=that._y0,x1=that._x1,y1=that._y1,dx=(x1-x0)/3;that._context.bezierCurveTo(x0+dx,y0+dx*t0,x1-dx,y1-dx*t1,x1,y1)}function MonotoneX(context){this._context=context}MonotoneX.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN;this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:point$3(this,this._t0,slope2(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){var t1=NaN;x=+x,y=+y;if(x===this._x1&&y===this._y1)return;switch(this._point){case 0:this._point=1;this._line?this._context.lineTo(x,y):this._context.moveTo(x,y);break;case 1:this._point=2;break;case 2:this._point=3;point$3(this,slope2(this,t1=slope3(this,x,y)),t1);break;default:point$3(this,this._t0,t1=slope3(this,x,y))}this._x0=this._x1,this._x1=x;this._y0=this._y1,this._y1=y;this._t0=t1}};function MonotoneY(context){this._context=new ReflectContext(context)}(MonotoneY.prototype=Object.create(MonotoneX.prototype)).point=function(x,y){MonotoneX.prototype.point.call(this,y,x)};function ReflectContext(context){this._context=context}ReflectContext.prototype={moveTo:function(x,y){this._context.moveTo(y,x)},closePath:function(){this._context.closePath()},lineTo:function(x,y){this._context.lineTo(y,x)},bezierCurveTo:function(x1,y1,x2,y2,x,y){this._context.bezierCurveTo(y1,x1,y2,x2,y,x)}};function monotoneX(context){return new MonotoneX(context)}function monotoneY(context){return new MonotoneY(context)}function Natural(context){this._context=context}Natural.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[];this._y=[]},lineEnd:function(){var x=this._x,y=this._y,n=x.length;if(n){this._line?this._context.lineTo(x[0],y[0]):this._context.moveTo(x[0],y[0]);if(2===n)this._context.lineTo(x[1],y[1]);else{var px=controlPoints(x),py=controlPoints(y);for(var i0=0,i1=1;i1<n;++i0,++i1)this._context.bezierCurveTo(px[0][i0],py[0][i0],px[1][i0],py[1][i0],x[i1],y[i1])}}(this._line||0!==this._line&&1===n)&&this._context.closePath();this._line=1-this._line;this._x=this._y=null},point:function(x,y){this._x.push(+x);this._y.push(+y)}};function controlPoints(x){var i,m,n=x.length-1,a=new Array(n),b=new Array(n),r=new Array(n);a[0]=0,b[0]=2,r[0]=x[0]+2*x[1];for(i=1;i<n-1;++i)a[i]=1,b[i]=4,r[i]=4*x[i]+2*x[i+1];a[n-1]=2,b[n-1]=7,r[n-1]=8*x[n-1]+x[n];for(i=1;i<n;++i)m=a[i]/b[i-1],b[i]-=m,r[i]-=m*r[i-1];a[n-1]=r[n-1]/b[n-1];for(i=n-2;i>=0;--i)a[i]=(r[i]-a[i+1])/b[i];b[n-1]=(x[n]+a[n-1])/2;for(i=0;i<n-1;++i)b[i]=2*x[i+1]-a[i+1];return[a,b]}var natural=function(context){return new Natural(context)};function Step(context,t){this._context=context;this._t=t}Step.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN;this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y);(this._line||0!==this._line&&1===this._point)&&this._context.closePath();this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;this._line?this._context.lineTo(x,y):this._context.moveTo(x,y);break;case 1:this._point=2;default:if(this._t<=0){this._context.lineTo(this._x,y);this._context.lineTo(x,y)}else{var x1=this._x*(1-this._t)+x*this._t;this._context.lineTo(x1,this._y);this._context.lineTo(x1,y)}}this._x=x,this._y=y}};var step=function(context){return new Step(context,.5)};function stepBefore(context){return new Step(context,0)}function stepAfter(context){return new Step(context,1)}var none=function(series,order){if(!((n=series.length)>1))return;for(var j,s0,n,i=1,s1=series[order[0]],m=s1.length;i<n;++i){s0=s1,s1=series[order[i]];for(j=0;j<m;++j)s1[j][1]+=s1[j][0]=isNaN(s0[j][1])?s0[j][0]:s0[j][1]}};var none$1=function(series){var n=series.length,o=new Array(n);while(--n>=0)o[n]=n;return o};function stackValue(d,key){return d[key]}var stack=function(){var keys=constant([]),order=none$1,offset=none,value=stackValue;function stack(data){var i,oz,kz=keys.apply(this,arguments),m=data.length,n=kz.length,sz=new Array(n);for(i=0;i<n;++i){for(var sij,ki=kz[i],si=sz[i]=new Array(m),j=0;j<m;++j){si[j]=sij=[0,+value(data[j],ki,j,data)];sij.data=data[j]}si.key=ki}for(i=0,oz=order(sz);i<n;++i)sz[oz[i]].index=i;offset(sz,oz);return sz}stack.keys=function(_){return arguments.length?(keys="function"===typeof _?_:constant(slice.call(_)),stack):keys};stack.value=function(_){return arguments.length?(value="function"===typeof _?_:constant(+_),stack):value};stack.order=function(_){return arguments.length?(order=null==_?none$1:"function"===typeof _?_:constant(slice.call(_)),stack):order};stack.offset=function(_){return arguments.length?(offset=null==_?none:_,stack):offset};return stack};var expand=function(series,order){if(!((n=series.length)>0))return;for(var i,n,y,j=0,m=series[0].length;j<m;++j){for(y=i=0;i<n;++i)y+=series[i][j][1]||0;if(y)for(i=0;i<n;++i)series[i][j][1]/=y}none(series,order)};var diverging=function(series,order){if(!((n=series.length)>1))return;for(var i,d,dy,yp,yn,n,j=0,m=series[order[0]].length;j<m;++j)for(yp=yn=0,i=0;i<n;++i)(dy=(d=series[order[i]][j])[1]-d[0])>=0?(d[0]=yp,d[1]=yp+=dy):dy<0?(d[1]=yn,d[0]=yn+=dy):d[0]=yp};var silhouette=function(series,order){if(!((n=series.length)>0))return;for(var n,j=0,s0=series[order[0]],m=s0.length;j<m;++j){for(var i=0,y=0;i<n;++i)y+=series[i][j][1]||0;s0[j][1]+=s0[j][0]=-y/2}none(series,order)};var wiggle=function(series,order){if(!((n=series.length)>0)||!((m=(s0=series[order[0]]).length)>0))return;for(var s0,m,n,y=0,j=1;j<m;++j){for(var i=0,s1=0,s2=0;i<n;++i){var si=series[order[i]],sij0=si[j][1]||0,sij1=si[j-1][1]||0,s3=(sij0-sij1)/2;for(var k=0;k<i;++k){var sk=series[order[k]],skj0=sk[j][1]||0,skj1=sk[j-1][1]||0;s3+=skj0-skj1}s1+=sij0,s2+=s3*sij0}s0[j-1][1]+=s0[j-1][0]=y;s1&&(y-=s2/s1)}s0[j-1][1]+=s0[j-1][0]=y;none(series,order)};var ascending=function(series){var sums=series.map(sum);return none$1(series).sort(function(a,b){return sums[a]-sums[b]})};function sum(series){var v,s=0,i=-1,n=series.length;while(++i<n)(v=+series[i][1])&&(s+=v);return s}var descending$1=function(series){return ascending(series).reverse()};var insideOut=function(series){var i,j,n=series.length,sums=series.map(sum),order=none$1(series).sort(function(a,b){return sums[b]-sums[a]}),top=0,bottom=0,tops=[],bottoms=[];for(i=0;i<n;++i){j=order[i];if(top<bottom){top+=sums[j];tops.push(j)}else{bottom+=sums[j];bottoms.push(j)}}return bottoms.reverse().concat(tops)};var reverse=function(series){return none$1(series).reverse()};exports.arc=arc;exports.area=area;exports.line=line;exports.pie=pie;exports.areaRadial=areaRadial;exports.radialArea=areaRadial;exports.lineRadial=lineRadial$1;exports.radialLine=lineRadial$1;exports.pointRadial=pointRadial;exports.linkHorizontal=linkHorizontal;exports.linkVertical=linkVertical;exports.linkRadial=linkRadial;exports.symbol=symbol;exports.symbols=symbols;exports.symbolCircle=circle;exports.symbolCross=cross;exports.symbolDiamond=diamond;exports.symbolSquare=square;exports.symbolStar=star;exports.symbolTriangle=triangle;exports.symbolWye=wye;exports.curveBasisClosed=basisClosed;exports.curveBasisOpen=basisOpen;exports.curveBasis=basis;exports.curveBundle=bundle;exports.curveCardinalClosed=cardinalClosed;exports.curveCardinalOpen=cardinalOpen;exports.curveCardinal=cardinal;exports.curveCatmullRomClosed=catmullRomClosed;exports.curveCatmullRomOpen=catmullRomOpen;exports.curveCatmullRom=catmullRom;exports.curveLinearClosed=linearClosed;exports.curveLinear=curveLinear;exports.curveMonotoneX=monotoneX;exports.curveMonotoneY=monotoneY;exports.curveNatural=natural;exports.curveStep=step;exports.curveStepAfter=stepAfter;exports.curveStepBefore=stepBefore;exports.stack=stack;exports.stackOffsetExpand=expand;exports.stackOffsetDiverging=diverging;exports.stackOffsetNone=none;exports.stackOffsetSilhouette=silhouette;exports.stackOffsetWiggle=wiggle;exports.stackOrderAscending=ascending;exports.stackOrderDescending=descending$1;exports.stackOrderInsideOut=insideOut;exports.stackOrderNone=none$1;exports.stackOrderReverse=reverse;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports,__webpack_require__(1865));var factory},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);module.exports=function(it,S){if(!isObject(it))return it;var fn,val;if(S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;if("function"==typeof(fn=it.valueOf)&&!isObject(val=fn.call(it)))return val;if(!S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;throw TypeError("Can't convert object to primitive value")}},function(module,exports,__webpack_require__){var ctx=__webpack_require__(117);var IObject=__webpack_require__(467);var toObject=__webpack_require__(118);var toLength=__webpack_require__(67);var asc=__webpack_require__(2110);module.exports=function(TYPE,$create){var IS_MAP=1==TYPE;var IS_FILTER=2==TYPE;var IS_SOME=3==TYPE;var IS_EVERY=4==TYPE;var IS_FIND_INDEX=6==TYPE;var NO_HOLES=5==TYPE||IS_FIND_INDEX;var create=$create||asc;return function($this,callbackfn,that){var O=toObject($this);var self=IObject(O);var f=ctx(callbackfn,that,3);var length=toLength(self.length);var index=0;var result=IS_MAP?create($this,length):IS_FILTER?create($this,0):void 0;var val,res;for(;length>index;index++)if(NO_HOLES||index in self){val=self[index];res=f(val,index,O);if(TYPE)if(IS_MAP)result[index]=res;else if(res)switch(TYPE){case 3:return true;case 5:return val;case 6:return index;case 2:result.push(val)}else if(IS_EVERY)return false}return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:result}}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(39);var dPs=__webpack_require__(2115);var enumBugKeys=__webpack_require__(475);var IE_PROTO=__webpack_require__(474)("IE_PROTO");var Empty=function(){};var PROTOTYPE="prototype";var createDict=function(){var iframe=__webpack_require__(464)("iframe");var i=enumBugKeys.length;var lt="<";var gt=">";var iframeDocument;iframe.style.display="none";__webpack_require__(843).appendChild(iframe);iframe.src="javascript:";iframeDocument=iframe.contentWindow.document;iframeDocument.open();iframeDocument.write(lt+"script"+gt+"document.F=Object"+lt+"/script"+gt);iframeDocument.close();createDict=iframeDocument.F;while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];return createDict()};module.exports=Object.create||function create(O,Properties){var result;if(null!==O){Empty[PROTOTYPE]=anObject(O);result=new Empty;Empty[PROTOTYPE]=null;result[IE_PROTO]=O}else result=createDict();return void 0===Properties?result:dPs(result,Properties)}},function(module,exports){exports.f={}.propertyIsEnumerable},function(module,exports,__webpack_require__){var $keys=__webpack_require__(842);var hiddenKeys=__webpack_require__(475).concat("length","prototype");exports.f=Object.getOwnPropertyNames||function getOwnPropertyNames(O){return $keys(O,hiddenKeys)}},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),Rule=__webpack_require__(489),Selector=__webpack_require__(174),Element=__webpack_require__(331),Paren=__webpack_require__(332),contexts=__webpack_require__(136),globalFunctionRegistry=__webpack_require__(87),defaultFunc=__webpack_require__(491),getDebugInfo=__webpack_require__(870);var Ruleset=function(selectors,rules,strictImports,visibilityInfo){this.selectors=selectors;this.rules=rules;this._lookups={};this.strictImports=strictImports;this.copyVisibilityInfo(visibilityInfo);this.allowRoot=true};Ruleset.prototype=new Node;Ruleset.prototype.type="Ruleset";Ruleset.prototype.isRuleset=true;Ruleset.prototype.isRulesetLike=true;Ruleset.prototype.accept=function(visitor){this.paths?this.paths=visitor.visitArray(this.paths,true):this.selectors&&(this.selectors=visitor.visitArray(this.selectors));this.rules&&this.rules.length&&(this.rules=visitor.visitArray(this.rules))};Ruleset.prototype.eval=function(context){var selectors,selCnt,selector,i,thisSelectors=this.selectors,hasOnePassingSelector=false;if(thisSelectors&&(selCnt=thisSelectors.length)){selectors=[];defaultFunc.error({type:"Syntax",message:"it is currently only allowed in parametric mixin guards,"});for(i=0;i<selCnt;i++){selector=thisSelectors[i].eval(context);selectors.push(selector);selector.evaldCondition&&(hasOnePassingSelector=true)}defaultFunc.reset()}else hasOnePassingSelector=true;var rule,subRule,rules=this.rules?this.rules.slice(0):null,ruleset=new Ruleset(selectors,rules,this.strictImports,this.visibilityInfo());ruleset.originalRuleset=this;ruleset.root=this.root;ruleset.firstRoot=this.firstRoot;ruleset.allowImports=this.allowImports;this.debugInfo&&(ruleset.debugInfo=this.debugInfo);hasOnePassingSelector||(rules.length=0);ruleset.functionRegistry=function(frames){var found,i=0,n=frames.length;for(;i!==n;++i){found=frames[i].functionRegistry;if(found)return found}return globalFunctionRegistry}(context.frames).inherit();var ctxFrames=context.frames;ctxFrames.unshift(ruleset);var ctxSelectors=context.selectors;ctxSelectors||(context.selectors=ctxSelectors=[]);ctxSelectors.unshift(this.selectors);(ruleset.root||ruleset.allowImports||!ruleset.strictImports)&&ruleset.evalImports(context);var rsRules=ruleset.rules,rsRuleCnt=rsRules?rsRules.length:0;for(i=0;i<rsRuleCnt;i++)rsRules[i].evalFirst&&(rsRules[i]=rsRules[i].eval(context));var mediaBlockCount=context.mediaBlocks&&context.mediaBlocks.length||0;for(i=0;i<rsRuleCnt;i++)if("MixinCall"===rsRules[i].type){rules=rsRules[i].eval(context).filter(function(r){if(r instanceof Rule&&r.variable)return!ruleset.variable(r.name);return true});rsRules.splice.apply(rsRules,[i,1].concat(rules));rsRuleCnt+=rules.length-1;i+=rules.length-1;ruleset.resetCache()}else if("RulesetCall"===rsRules[i].type){rules=rsRules[i].eval(context).rules.filter(function(r){if(r instanceof Rule&&r.variable)return false;return true});rsRules.splice.apply(rsRules,[i,1].concat(rules));rsRuleCnt+=rules.length-1;i+=rules.length-1;ruleset.resetCache()}for(i=0;i<rsRules.length;i++){rule=rsRules[i];rule.evalFirst||(rsRules[i]=rule=rule.eval?rule.eval(context):rule)}for(i=0;i<rsRules.length;i++){rule=rsRules[i];if(rule instanceof Ruleset&&rule.selectors&&1===rule.selectors.length&&rule.selectors[0].isJustParentSelector()){rsRules.splice(i--,1);for(var j=0;j<rule.rules.length;j++){subRule=rule.rules[j];subRule.copyVisibilityInfo(rule.visibilityInfo());subRule instanceof Rule&&subRule.variable||rsRules.splice(++i,0,subRule)}}}ctxFrames.shift();ctxSelectors.shift();if(context.mediaBlocks)for(i=mediaBlockCount;i<context.mediaBlocks.length;i++)context.mediaBlocks[i].bubbleSelectors(selectors);return ruleset};Ruleset.prototype.evalImports=function(context){var i,importRules,rules=this.rules;if(!rules)return;for(i=0;i<rules.length;i++)if("Import"===rules[i].type){importRules=rules[i].eval(context);if(importRules&&(importRules.length||0===importRules.length)){rules.splice.apply(rules,[i,1].concat(importRules));i+=importRules.length-1}else rules.splice(i,1,importRules);this.resetCache()}};Ruleset.prototype.makeImportant=function(){var result=new Ruleset(this.selectors,this.rules.map(function(r){return r.makeImportant?r.makeImportant():r}),this.strictImports,this.visibilityInfo());return result};Ruleset.prototype.matchArgs=function(args){return!args||0===args.length};Ruleset.prototype.matchCondition=function(args,context){var lastSelector=this.selectors[this.selectors.length-1];if(!lastSelector.evaldCondition)return false;if(lastSelector.condition&&!lastSelector.condition.eval(new contexts.Eval(context,context.frames)))return false;return true};Ruleset.prototype.resetCache=function(){this._rulesets=null;this._variables=null;this._lookups={}};Ruleset.prototype.variables=function(){this._variables||(this._variables=this.rules?this.rules.reduce(function(hash,r){r instanceof Rule&&true===r.variable&&(hash[r.name]=r);if("Import"===r.type&&r.root&&r.root.variables){var vars=r.root.variables();for(var name in vars)vars.hasOwnProperty(name)&&(hash[name]=vars[name])}return hash},{}):{});return this._variables};Ruleset.prototype.variable=function(name){return this.variables()[name]};Ruleset.prototype.rulesets=function(){if(!this.rules)return[];var i,rule,filtRules=[],rules=this.rules,cnt=rules.length;for(i=0;i<cnt;i++){rule=rules[i];rule.isRuleset&&filtRules.push(rule)}return filtRules};Ruleset.prototype.prependRule=function(rule){var rules=this.rules;rules?rules.unshift(rule):this.rules=[rule]};Ruleset.prototype.find=function(selector,self,filter){self=self||this;var match,foundMixins,rules=[],key=selector.toCSS();if(key in this._lookups)return this._lookups[key];this.rulesets().forEach(function(rule){if(rule!==self)for(var j=0;j<rule.selectors.length;j++){match=selector.match(rule.selectors[j]);if(match){if(selector.elements.length>match){if(!filter||filter(rule)){foundMixins=rule.find(new Selector(selector.elements.slice(match)),self,filter);for(var i=0;i<foundMixins.length;++i)foundMixins[i].path.push(rule);Array.prototype.push.apply(rules,foundMixins)}}else rules.push({rule:rule,path:[]});break}}});this._lookups[key]=rules;return rules};Ruleset.prototype.genCSS=function(context,output){var i,j,debugInfo,rule,path,charsetRuleNodes=[],ruleNodes=[];context.tabLevel=context.tabLevel||0;this.root||context.tabLevel++;var sep,tabRuleStr=context.compress?"":Array(context.tabLevel+1).join("  "),tabSetStr=context.compress?"":Array(context.tabLevel).join("  ");function isRulesetLikeNode(rule){if("boolean"===typeof rule.isRulesetLike)return rule.isRulesetLike;if("function"===typeof rule.isRulesetLike)return rule.isRulesetLike();return false}var charsetNodeIndex=0;var importNodeIndex=0;for(i=0;i<this.rules.length;i++){rule=this.rules[i];if("Comment"===rule.type){importNodeIndex===i&&importNodeIndex++;ruleNodes.push(rule)}else if(rule.isCharset&&rule.isCharset()){ruleNodes.splice(charsetNodeIndex,0,rule);charsetNodeIndex++;importNodeIndex++}else if("Import"===rule.type){ruleNodes.splice(importNodeIndex,0,rule);importNodeIndex++}else ruleNodes.push(rule)}ruleNodes=charsetRuleNodes.concat(ruleNodes);if(!this.root){debugInfo=getDebugInfo(context,this,tabSetStr);if(debugInfo){output.add(debugInfo);output.add(tabSetStr)}var pathSubCnt,paths=this.paths,pathCnt=paths.length;sep=context.compress?",":",\n"+tabSetStr;for(i=0;i<pathCnt;i++){path=paths[i];if(!(pathSubCnt=path.length))continue;i>0&&output.add(sep);context.firstSelector=true;path[0].genCSS(context,output);context.firstSelector=false;for(j=1;j<pathSubCnt;j++)path[j].genCSS(context,output)}output.add((context.compress?"{":" {\n")+tabRuleStr)}for(i=0;i<ruleNodes.length;i++){rule=ruleNodes[i];i+1===ruleNodes.length&&(context.lastRule=true);var currentLastRule=context.lastRule;isRulesetLikeNode(rule)&&(context.lastRule=false);rule.genCSS?rule.genCSS(context,output):rule.value&&output.add(rule.value.toString());context.lastRule=currentLastRule;context.lastRule?context.lastRule=false:output.add(context.compress?"":"\n"+tabRuleStr)}if(!this.root){output.add(context.compress?"}":"\n"+tabSetStr+"}");context.tabLevel--}output.isEmpty()||context.compress||!this.firstRoot||output.add("\n")};Ruleset.prototype.joinSelectors=function(paths,context,selectors){for(var s=0;s<selectors.length;s++)this.joinSelector(paths,context,selectors[s])};Ruleset.prototype.joinSelector=function(paths,context,selector){function createParenthesis(elementsToPak,originalElement){var replacementParen,j;if(0===elementsToPak.length)replacementParen=new Paren(elementsToPak[0]);else{var insideParent=[];for(j=0;j<elementsToPak.length;j++)insideParent.push(new Element(null,elementsToPak[j],originalElement.index,originalElement.currentFileInfo));replacementParen=new Paren(new Selector(insideParent))}return replacementParen}function createSelector(containedElement,originalElement){var element,selector;element=new Element(null,containedElement,originalElement.index,originalElement.currentFileInfo);selector=new Selector([element]);return selector}function addReplacementIntoPath(beginningPath,addPath,replacedElement,originalSelector){var newSelectorPath,lastSelector,newJoinedSelector;newSelectorPath=[];if(beginningPath.length>0){newSelectorPath=beginningPath.slice(0);lastSelector=newSelectorPath.pop();newJoinedSelector=originalSelector.createDerived(lastSelector.elements.slice(0))}else newJoinedSelector=originalSelector.createDerived([]);if(addPath.length>0){var combinator=replacedElement.combinator,parentEl=addPath[0].elements[0];combinator.emptyOrWhitespace&&!parentEl.combinator.emptyOrWhitespace&&(combinator=parentEl.combinator);newJoinedSelector.elements.push(new Element(combinator,parentEl.value,replacedElement.index,replacedElement.currentFileInfo));newJoinedSelector.elements=newJoinedSelector.elements.concat(addPath[0].elements.slice(1))}0!==newJoinedSelector.elements.length&&newSelectorPath.push(newJoinedSelector);if(addPath.length>1){var restOfPath=addPath.slice(1);restOfPath=restOfPath.map(function(selector){return selector.createDerived(selector.elements,[])});newSelectorPath=newSelectorPath.concat(restOfPath)}return newSelectorPath}function addAllReplacementsIntoPath(beginningPath,addPaths,replacedElement,originalSelector,result){var j;for(j=0;j<beginningPath.length;j++){var newSelectorPath=addReplacementIntoPath(beginningPath[j],addPaths,replacedElement,originalSelector);result.push(newSelectorPath)}return result}function mergeElementsOnToSelectors(elements,selectors){var i,sel;if(0===elements.length)return;if(0===selectors.length){selectors.push([new Selector(elements)]);return}for(i=0;i<selectors.length;i++){sel=selectors[i];sel.length>0?sel[sel.length-1]=sel[sel.length-1].createDerived(sel[sel.length-1].elements.concat(elements)):sel.push(new Selector(elements))}}function replaceParentSelector(paths,context,inSelector){var i,j,k,currentElements,newSelectors,selectorsMultiplied,sel,el,length,lastSelector,hadParentSelector=false;function findNestedSelector(element){var maybeSelector;if("Paren"!==element.value.type)return null;maybeSelector=element.value.value;if("Selector"!==maybeSelector.type)return null;return maybeSelector}currentElements=[];newSelectors=[[]];for(i=0;i<inSelector.elements.length;i++){el=inSelector.elements[i];if("&"!==el.value){var nestedSelector=findNestedSelector(el);if(null!=nestedSelector){mergeElementsOnToSelectors(currentElements,newSelectors);var replaced,nestedPaths=[],replacedNewSelectors=[];replaced=replaceParentSelector(nestedPaths,context,nestedSelector);hadParentSelector=hadParentSelector||replaced;for(k=0;k<nestedPaths.length;k++){var replacementSelector=createSelector(createParenthesis(nestedPaths[k],el),el);addAllReplacementsIntoPath(newSelectors,[replacementSelector],el,inSelector,replacedNewSelectors)}newSelectors=replacedNewSelectors;currentElements=[]}else currentElements.push(el)}else{hadParentSelector=true;selectorsMultiplied=[];mergeElementsOnToSelectors(currentElements,newSelectors);for(j=0;j<newSelectors.length;j++){sel=newSelectors[j];if(0===context.length){sel.length>0&&sel[0].elements.push(new Element(el.combinator,"",el.index,el.currentFileInfo));selectorsMultiplied.push(sel)}else for(k=0;k<context.length;k++){var newSelectorPath=addReplacementIntoPath(sel,context[k],el,inSelector);selectorsMultiplied.push(newSelectorPath)}}newSelectors=selectorsMultiplied;currentElements=[]}}mergeElementsOnToSelectors(currentElements,newSelectors);for(i=0;i<newSelectors.length;i++){length=newSelectors[i].length;if(length>0){paths.push(newSelectors[i]);lastSelector=newSelectors[i][length-1];newSelectors[i][length-1]=lastSelector.createDerived(lastSelector.elements,inSelector.extendList)}}return hadParentSelector}function deriveSelector(visibilityInfo,deriveFrom){var newSelector=deriveFrom.createDerived(deriveFrom.elements,deriveFrom.extendList,deriveFrom.evaldCondition);newSelector.copyVisibilityInfo(visibilityInfo);return newSelector}var i,newPaths,hadParentSelector;newPaths=[];hadParentSelector=replaceParentSelector(newPaths,context,selector);if(!hadParentSelector)if(context.length>0){newPaths=[];for(i=0;i<context.length;i++){var concatenated=context[i].map(deriveSelector.bind(this,selector.visibilityInfo()));concatenated.push(selector);newPaths.push(concatenated)}}else newPaths=[[selector]];for(i=0;i<newPaths.length;i++)paths.push(newPaths[i])};module.exports=Ruleset},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),Paren=__webpack_require__(332),Comment=__webpack_require__(874);var Expression=function(value){this.value=value;if(!value)throw new Error("Expression requires an array parameter")};Expression.prototype=new Node;Expression.prototype.type="Expression";Expression.prototype.accept=function(visitor){this.value=visitor.visitArray(this.value)};Expression.prototype.eval=function(context){var returnValue,inParenthesis=this.parens&&!this.parensInOp,doubleParen=false;inParenthesis&&context.inParenthesis();if(this.value.length>1)returnValue=new Expression(this.value.map(function(e){return e.eval(context)}));else if(1===this.value.length){this.value[0].parens&&!this.value[0].parensInOp&&(doubleParen=true);returnValue=this.value[0].eval(context)}else returnValue=this;inParenthesis&&context.outOfParenthesis();this.parens&&this.parensInOp&&!context.isMathOn()&&!doubleParen&&(returnValue=new Paren(returnValue));return returnValue};Expression.prototype.genCSS=function(context,output){for(var i=0;i<this.value.length;i++){this.value[i].genCSS(context,output);i+1<this.value.length&&output.add(" ")}};Expression.prototype.throwAwayComments=function(){this.value=this.value.filter(function(v){return!(v instanceof Comment)})};module.exports=Expression},function(module,exports,__webpack_require__){var Node=__webpack_require__(21);var URL=function(val,index,currentFileInfo,isEvald){this.value=val;this.currentFileInfo=currentFileInfo;this.index=index;this.isEvald=isEvald};URL.prototype=new Node;URL.prototype.type="Url";URL.prototype.accept=function(visitor){this.value=visitor.visit(this.value)};URL.prototype.genCSS=function(context,output){output.add("url(");this.value.genCSS(context,output);output.add(")")};URL.prototype.eval=function(context){var rootpath,val=this.value.eval(context);if(!this.isEvald){rootpath=this.currentFileInfo&&this.currentFileInfo.rootpath;if(rootpath&&"string"===typeof val.value&&context.isPathRelative(val.value)){val.quote||(rootpath=rootpath.replace(/[\(\)'"\s]/g,function(match){return"\\"+match}));val.value=rootpath+val.value}val.value=context.normalizePath(val.value);if(context.urlArgs&&!val.value.match(/^\s*data:/)){var delimiter=-1===val.value.indexOf("?")?"?":"&";var urlArgs=delimiter+context.urlArgs;-1!==val.value.indexOf("#")?val.value=val.value.replace("#",urlArgs+"#"):val.value+=urlArgs}}return new URL(val,this.index,this.currentFileInfo,true)};module.exports=URL},function(module,exports){module.exports={error:function(msg){this._fireEvent("error",msg)},warn:function(msg){this._fireEvent("warn",msg)},info:function(msg){this._fireEvent("info",msg)},debug:function(msg){this._fireEvent("debug",msg)},addListener:function(listener){this._listeners.push(listener)},removeListener:function(listener){for(var i=0;i<this._listeners.length;i++)if(this._listeners[i]===listener){this._listeners.splice(i,1);return}},_fireEvent:function(type,msg){for(var i=0;i<this._listeners.length;i++){var logFunction=this._listeners[i][type];logFunction&&logFunction(msg)}},_listeners:[]}},function(module,exports,__webpack_require__){var tree=__webpack_require__(172);var _visitArgs={visitDeeper:true},_hasIndexed=false;function _noop(node){return node}function indexNodeTypes(parent,ticker){var key,child;for(key in parent)if(parent.hasOwnProperty(key)){child=parent[key];switch(typeof child){case"function":child.prototype&&child.prototype.type&&(child.prototype.typeIndex=ticker++);break;case"object":ticker=indexNodeTypes(child,ticker)}}return ticker}var Visitor=function(implementation){this._implementation=implementation;this._visitFnCache=[];if(!_hasIndexed){indexNodeTypes(tree,1);_hasIndexed=true}};Visitor.prototype={visit:function(node){if(!node)return node;var nodeTypeIndex=node.typeIndex;if(!nodeTypeIndex)return node;var fnName,visitFnCache=this._visitFnCache,impl=this._implementation,aryIndx=nodeTypeIndex<<1,outAryIndex=1|aryIndx,func=visitFnCache[aryIndx],funcOut=visitFnCache[outAryIndex],visitArgs=_visitArgs;visitArgs.visitDeeper=true;if(!func){fnName="visit"+node.type;func=impl[fnName]||_noop;funcOut=impl[fnName+"Out"]||_noop;visitFnCache[aryIndx]=func;visitFnCache[outAryIndex]=funcOut}if(func!==_noop){var newNode=func.call(impl,node,visitArgs);impl.isReplacing&&(node=newNode)}visitArgs.visitDeeper&&node&&node.accept&&node.accept(this);funcOut!=_noop&&funcOut.call(impl,node);return node},visitArray:function(nodes,nonReplacing){if(!nodes)return nodes;var i,cnt=nodes.length;if(nonReplacing||!this._implementation.isReplacing){for(i=0;i<cnt;i++)this.visit(nodes[i]);return nodes}var out=[];for(i=0;i<cnt;i++){var evald=this.visit(nodes[i]);if(void 0===evald)continue;evald.splice?evald.length&&this.flatten(evald,out):out.push(evald)}return out},flatten:function(arr,out){out||(out=[]);var cnt,i,item,nestedCnt,j,nestedItem;for(i=0,cnt=arr.length;i<cnt;i++){item=arr[i];if(void 0===item)continue;if(!item.splice){out.push(item);continue}for(j=0,nestedCnt=item.length;j<nestedCnt;j++){nestedItem=item[j];if(void 0===nestedItem)continue;nestedItem.splice?nestedItem.length&&this.flatten(nestedItem,out):out.push(nestedItem)}}return out}};module.exports=Visitor},function(module,exports,__webpack_require__){exports=module.exports=__webpack_require__(900);exports.Stream=exports;exports.Readable=exports;exports.Writable=__webpack_require__(501);exports.Duplex=__webpack_require__(176);exports.Transform=__webpack_require__(903);exports.PassThrough=__webpack_require__(2376)},function(module,exports,__webpack_require__){(function(Buffer){function isArray(arg){if(Array.isArray)return Array.isArray(arg);return"[object Array]"===objectToString(arg)}exports.isArray=isArray;function isBoolean(arg){return"boolean"===typeof arg}exports.isBoolean=isBoolean;function isNull(arg){return null===arg}exports.isNull=isNull;function isNullOrUndefined(arg){return null==arg}exports.isNullOrUndefined=isNullOrUndefined;function isNumber(arg){return"number"===typeof arg}exports.isNumber=isNumber;function isString(arg){return"string"===typeof arg}exports.isString=isString;function isSymbol(arg){return"symbol"===typeof arg}exports.isSymbol=isSymbol;function isUndefined(arg){return void 0===arg}exports.isUndefined=isUndefined;function isRegExp(re){return"[object RegExp]"===objectToString(re)}exports.isRegExp=isRegExp;function isObject(arg){return"object"===typeof arg&&null!==arg}exports.isObject=isObject;function isDate(d){return"[object Date]"===objectToString(d)}exports.isDate=isDate;function isError(e){return"[object Error]"===objectToString(e)||e instanceof Error}exports.isError=isError;function isFunction(arg){return"function"===typeof arg}exports.isFunction=isFunction;function isPrimitive(arg){return null===arg||"boolean"===typeof arg||"number"===typeof arg||"string"===typeof arg||"symbol"===typeof arg||"undefined"===typeof arg}exports.isPrimitive=isPrimitive;exports.isBuffer=Buffer.isBuffer;function objectToString(o){return Object.prototype.toString.call(o)}}).call(this,__webpack_require__(66).Buffer)},function(module,exports,__webpack_require__){"use strict";var arrays=__webpack_require__(139),visitor=__webpack_require__(212);var asts={findRule:function(ast,name){return arrays.find(ast.rules,function(r){return r.name===name})},indexOfRule:function(ast,name){return arrays.indexOf(ast.rules,function(r){return r.name===name})},alwaysAdvancesOnSuccess:function(ast,node){function advancesTrue(){return true}function advancesFalse(){return false}function advancesExpression(node){return advances(node.expression)}var advances=visitor.build({rule:advancesExpression,named:advancesExpression,choice:function(node){return arrays.every(node.alternatives,advances)},action:advancesExpression,sequence:function(node){return arrays.some(node.elements,advances)},labeled:advancesExpression,text:advancesExpression,simple_and:advancesFalse,simple_not:advancesFalse,optional:advancesFalse,zero_or_more:advancesFalse,one_or_more:advancesExpression,semantic_and:advancesFalse,semantic_not:advancesFalse,rule_ref:function(node){return advances(asts.findRule(ast,node.name))},literal:function(node){return""!==node.value},class:advancesTrue,any:advancesTrue});return advances(node)}};module.exports=asts},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.noop=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.bottom=bottom;exports.cloneLayout=cloneLayout;exports.cloneLayoutItem=cloneLayoutItem;exports.childrenEqual=childrenEqual;exports.collides=collides;exports.compact=compact;exports.compactItem=compactItem;exports.correctBounds=correctBounds;exports.getLayoutItem=getLayoutItem;exports.getFirstCollision=getFirstCollision;exports.getAllCollisions=getAllCollisions;exports.getStatics=getStatics;exports.moveElement=moveElement;exports.moveElementAwayFromCollision=moveElementAwayFromCollision;exports.perc=perc;exports.setTransform=setTransform;exports.setTopLeft=setTopLeft;exports.sortLayoutItems=sortLayoutItems;exports.sortLayoutItemsByRowCol=sortLayoutItemsByRowCol;exports.sortLayoutItemsByColRow=sortLayoutItemsByColRow;exports.synchronizeLayoutWithChildren=synchronizeLayoutWithChildren;exports.validateLayout=validateLayout;exports.autoBindHandlers=autoBindHandlers;var _lodash=__webpack_require__(232);var _lodash2=_interopRequireDefault(_lodash);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var isProduction=true;var DEBUG=false;function bottom(layout){var max=0,bottomY=void 0;for(var _i=0,len=layout.length;_i<len;_i++){bottomY=layout[_i].y+layout[_i].h;bottomY>max&&(max=bottomY)}return max}function cloneLayout(layout){var newLayout=Array(layout.length);for(var _i2=0,len=layout.length;_i2<len;_i2++)newLayout[_i2]=cloneLayoutItem(layout[_i2]);return newLayout}function cloneLayoutItem(layoutItem){return{w:layoutItem.w,h:layoutItem.h,x:layoutItem.x,y:layoutItem.y,i:layoutItem.i,minW:layoutItem.minW,maxW:layoutItem.maxW,minH:layoutItem.minH,maxH:layoutItem.maxH,moved:Boolean(layoutItem.moved),static:Boolean(layoutItem.static),isDraggable:layoutItem.isDraggable,isResizable:layoutItem.isResizable}}function childrenEqual(a,b){return(0,_lodash2.default)(_react2.default.Children.map(a,function(c){return c.key}),_react2.default.Children.map(b,function(c){return c.key}))}function collides(l1,l2){if(l1===l2)return false;if(l1.x+l1.w<=l2.x)return false;if(l1.x>=l2.x+l2.w)return false;if(l1.y+l1.h<=l2.y)return false;if(l1.y>=l2.y+l2.h)return false;return true}function compact(layout,compactType,cols){var compareWith=getStatics(layout);var sorted=sortLayoutItems(layout,compactType);var out=Array(layout.length);for(var _i3=0,len=sorted.length;_i3<len;_i3++){var l=cloneLayoutItem(sorted[_i3]);if(!l.static){l=compactItem(compareWith,l,compactType,cols,sorted);compareWith.push(l)}out[layout.indexOf(sorted[_i3])]=l;l.moved=false}return out}var heightWidth={x:"w",y:"h"};function resolveCompactionCollision(layout,item,moveToCoord,axis){var sizeProp=heightWidth[axis];item[axis]+=1;var itemIndex=layout.indexOf(item);for(var _i4=itemIndex+1;_i4<layout.length;_i4++){var otherItem=layout[_i4];if(otherItem.static)continue;if(otherItem.y>item.y+item.h)break;collides(item,otherItem)&&resolveCompactionCollision(layout,otherItem,moveToCoord+item[sizeProp],axis)}item[axis]=moveToCoord}function compactItem(compareWith,l,compactType,cols,fullLayout){var compactV="vertical"===compactType;var compactH="horizontal"===compactType;if(compactV){l.y=Math.min(bottom(compareWith),l.y);while(l.y>0&&!getFirstCollision(compareWith,l))l.y--}else if(compactH){l.y=Math.min(bottom(compareWith),l.y);while(l.x>0&&!getFirstCollision(compareWith,l))l.x--}var collides=void 0;while(collides=getFirstCollision(compareWith,l)){compactH?resolveCompactionCollision(fullLayout,l,collides.x+collides.w,"x"):resolveCompactionCollision(fullLayout,l,collides.y+collides.h,"y");if(compactH&&l.x+l.w>cols){l.x=cols-l.w;l.y++}}return l}function correctBounds(layout,bounds){var collidesWith=getStatics(layout);for(var _i5=0,len=layout.length;_i5<len;_i5++){var l=layout[_i5];l.x+l.w>bounds.cols&&(l.x=bounds.cols-l.w);if(l.x<0){l.x=0;l.w=bounds.cols}if(l.static)while(getFirstCollision(collidesWith,l))l.y++;else collidesWith.push(l)}return layout}function getLayoutItem(layout,id){for(var _i6=0,len=layout.length;_i6<len;_i6++)if(layout[_i6].i===id)return layout[_i6]}function getFirstCollision(layout,layoutItem){for(var _i7=0,len=layout.length;_i7<len;_i7++)if(collides(layout[_i7],layoutItem))return layout[_i7]}function getAllCollisions(layout,layoutItem){return layout.filter(function(l){return collides(l,layoutItem)})}function getStatics(layout){return layout.filter(function(l){return l.static})}function moveElement(layout,l,x,y,isUserAction,preventCollision,compactType,cols){if(l.static)return layout;if(l.y===y&&l.x===x)return layout;log("Moving element "+l.i+" to ["+String(x)+","+String(y)+"] from ["+l.x+","+l.y+"]");var oldX=l.x;var oldY=l.y;"number"===typeof x&&(l.x=x);"number"===typeof y&&(l.y=y);l.moved=true;var sorted=sortLayoutItems(layout,compactType);var movingUp="vertical"===compactType&&"number"===typeof y?oldY>=y:"horizontal"===compactType&&"number"===typeof x&&oldX>=x;movingUp&&(sorted=sorted.reverse());var collisions=getAllCollisions(sorted,l);if(preventCollision&&collisions.length){log("Collision prevented on "+l.i+", reverting.");l.x=oldX;l.y=oldY;l.moved=false;return layout}for(var _i8=0,len=collisions.length;_i8<len;_i8++){var collision=collisions[_i8];log("Resolving collision between "+l.i+" at ["+l.x+","+l.y+"] and "+collision.i+" at ["+collision.x+","+collision.y+"]");if(collision.moved)continue;layout=collision.static?moveElementAwayFromCollision(layout,collision,l,isUserAction,compactType,cols):moveElementAwayFromCollision(layout,l,collision,isUserAction,compactType,cols)}return layout}function moveElementAwayFromCollision(layout,collidesWith,itemToMove,isUserAction,compactType,cols){var compactH="horizontal"===compactType;var compactV="vertical"===compactType;var preventCollision=false;if(isUserAction){isUserAction=false;var fakeItem={x:compactH?Math.max(collidesWith.x-itemToMove.w,0):itemToMove.x,y:compactV?Math.max(collidesWith.y-itemToMove.h,0):itemToMove.y,w:itemToMove.w,h:itemToMove.h,i:"-1"};if(!getFirstCollision(layout,fakeItem)){log("Doing reverse collision on "+itemToMove.i+" up to ["+fakeItem.x+","+fakeItem.y+"].");return moveElement(layout,itemToMove,compactH?fakeItem.x:void 0,compactV?fakeItem.y:void 0,isUserAction,preventCollision,compactType,cols)}}return moveElement(layout,itemToMove,compactH?itemToMove.x+1:void 0,compactV?itemToMove.y+1:void 0,isUserAction,preventCollision,compactType,cols)}function perc(num){return 100*num+"%"}function setTransform(_ref){var top=_ref.top,left=_ref.left,width=_ref.width,height=_ref.height;var translate="translate("+left+"px,"+top+"px)";return{transform:translate,WebkitTransform:translate,MozTransform:translate,msTransform:translate,OTransform:translate,width:width+"px",height:height+"px",position:"absolute"}}function setTopLeft(_ref2){var top=_ref2.top,left=_ref2.left,width=_ref2.width,height=_ref2.height;return{top:top+"px",left:left+"px",width:width+"px",height:height+"px",position:"absolute"}}function sortLayoutItems(layout,compactType){return"horizontal"===compactType?sortLayoutItemsByColRow(layout):sortLayoutItemsByRowCol(layout)}function sortLayoutItemsByRowCol(layout){return[].concat(layout).sort(function(a,b){if(a.y>b.y||a.y===b.y&&a.x>b.x)return 1;if(a.y===b.y&&a.x===b.x)return 0;return-1})}function sortLayoutItemsByColRow(layout){return[].concat(layout).sort(function(a,b){if(a.x>b.x||a.x===b.x&&a.y>b.y)return 1;return-1})}function synchronizeLayoutWithChildren(initialLayout,children,cols,compactType){initialLayout=initialLayout||[];var layout=[];_react2.default.Children.forEach(children,function(child,i){var exists=getLayoutItem(initialLayout,String(child.key));if(exists)layout[i]=cloneLayoutItem(exists);else{!isProduction&&child.props._grid&&console.warn("`_grid` properties on children have been deprecated as of React 15.2. Please use `data-grid` or add your properties directly to the `layout`.");var g=child.props["data-grid"]||child.props._grid;if(g){isProduction||validateLayout([g],"ReactGridLayout.children");layout[i]=cloneLayoutItem(_extends({},g,{i:child.key}))}else layout[i]=cloneLayoutItem({w:1,h:1,x:0,y:bottom(layout),i:String(child.key)})}});layout=correctBounds(layout,{cols:cols});layout=compact(layout,compactType,cols);return layout}function validateLayout(layout){var contextName=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Layout";var subProps=["x","y","w","h"];if(!Array.isArray(layout))throw new Error(contextName+" must be an array!");for(var _i9=0,len=layout.length;_i9<len;_i9++){var item=layout[_i9];for(var j=0;j<subProps.length;j++)if("number"!==typeof item[subProps[j]])throw new Error("ReactGridLayout: "+contextName+"["+_i9+"]."+subProps[j]+" must be a number!");if(item.i&&"string"!==typeof item.i)throw new Error("ReactGridLayout: "+contextName+"["+_i9+"].i must be a string!");if(void 0!==item.static&&"boolean"!==typeof item.static)throw new Error("ReactGridLayout: "+contextName+"["+_i9+"].static must be a boolean!")}}function autoBindHandlers(el,fns){fns.forEach(function(key){return el[key]=el[key].bind(el)})}function log(){var _console;if(!DEBUG)return;(_console=console).log.apply(_console,arguments)}exports.noop=function noop(){}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.addLeadingSlash=function addLeadingSlash(path){return"/"===path.charAt(0)?path:"/"+path};exports.stripLeadingSlash=function stripLeadingSlash(path){return"/"===path.charAt(0)?path.substr(1):path};var hasBasename=exports.hasBasename=function hasBasename(path,prefix){return new RegExp("^"+prefix+"(\\/|\\?|#|$)","i").test(path)};exports.stripBasename=function stripBasename(path,prefix){return hasBasename(path,prefix)?path.substr(prefix.length):path};exports.stripTrailingSlash=function stripTrailingSlash(path){return"/"===path.charAt(path.length-1)?path.slice(0,-1):path};exports.parsePath=function parsePath(path){var pathname=path||"/";var search="";var hash="";var hashIndex=pathname.indexOf("#");if(-1!==hashIndex){hash=pathname.substr(hashIndex);pathname=pathname.substr(0,hashIndex)}var searchIndex=pathname.indexOf("?");if(-1!==searchIndex){search=pathname.substr(searchIndex);pathname=pathname.substr(0,searchIndex)}return{pathname:pathname,search:"?"===search?"":search,hash:"#"===hash?"":hash}};exports.createPath=function createPath(location){var pathname=location.pathname,search=location.search,hash=location.hash;var path=pathname||"/";search&&"?"!==search&&(path+="?"===search.charAt(0)?search:"?"+search);hash&&"#"!==hash&&(path+="#"===hash.charAt(0)?hash:"#"+hash);return path}},function(module,exports){var isArray=Array.isArray;module.exports=isArray},function(module,exports,__webpack_require__){var baseIsNative=__webpack_require__(2642),getValue=__webpack_require__(2645);function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}module.exports=getNative},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function isFunction(x){return"function"===typeof x}exports.isFunction=isFunction},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Action_1=__webpack_require__(2665);var AsyncAction=function(_super){__extends(AsyncAction,_super);function AsyncAction(scheduler,work){var _this=_super.call(this,scheduler,work)||this;_this.scheduler=scheduler;_this.work=work;_this.pending=false;return _this}AsyncAction.prototype.schedule=function(state,delay){void 0===delay&&(delay=0);if(this.closed)return this;this.state=state;var id=this.id;var scheduler=this.scheduler;null!=id&&(this.id=this.recycleAsyncId(scheduler,id,delay));this.pending=true;this.delay=delay;this.id=this.id||this.requestAsyncId(scheduler,this.id,delay);return this};AsyncAction.prototype.requestAsyncId=function(scheduler,id,delay){void 0===delay&&(delay=0);return setInterval(scheduler.flush.bind(scheduler,this),delay)};AsyncAction.prototype.recycleAsyncId=function(scheduler,id,delay){void 0===delay&&(delay=0);if(null!==delay&&this.delay===delay&&false===this.pending)return id;return clearInterval(id)&&void 0,void 0};AsyncAction.prototype.execute=function(state,delay){if(this.closed)return new Error("executing a cancelled action");this.pending=false;var error=this._execute(state,delay);if(error)return error;false===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))};AsyncAction.prototype._execute=function(state,delay){var errored=false;var errorValue=void 0;try{this.work(state)}catch(e){errored=true;errorValue=!!e&&e||new Error(e)}if(errored){this.unsubscribe();return errorValue}};AsyncAction.prototype._unsubscribe=function(){var id=this.id;var scheduler=this.scheduler;var actions=scheduler.actions;var index=actions.indexOf(this);this.work=null;this.state=null;this.pending=false;this.scheduler=null;-1!==index&&actions.splice(index,1);null!=id&&(this.id=this.recycleAsyncId(scheduler,id,null));this.delay=null};return AsyncAction}(Action_1.Action);exports.AsyncAction=AsyncAction},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Scheduler_1=__webpack_require__(966);var AsyncScheduler=function(_super){__extends(AsyncScheduler,_super);function AsyncScheduler(SchedulerAction,now){void 0===now&&(now=Scheduler_1.Scheduler.now);var _this=_super.call(this,SchedulerAction,function(){return AsyncScheduler.delegate&&AsyncScheduler.delegate!==_this?AsyncScheduler.delegate.now():now()})||this;_this.actions=[];_this.active=false;_this.scheduled=void 0;return _this}AsyncScheduler.prototype.schedule=function(work,delay,state){void 0===delay&&(delay=0);return AsyncScheduler.delegate&&AsyncScheduler.delegate!==this?AsyncScheduler.delegate.schedule(work,delay,state):_super.prototype.schedule.call(this,work,delay,state)};AsyncScheduler.prototype.flush=function(action){var actions=this.actions;if(this.active){actions.push(action);return}var error;this.active=true;do{if(error=action.execute(action.state,action.delay))break}while(action=actions.shift());this.active=false;if(error){while(action=actions.shift())action.unsubscribe();throw error}};return AsyncScheduler}(Scheduler_1.Scheduler);exports.AsyncScheduler=AsyncScheduler},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var ArgumentOutOfRangeError=function(_super){__extends(ArgumentOutOfRangeError,_super);function ArgumentOutOfRangeError(){var _this=_super.call(this,"argument out of range")||this;_this.name="ArgumentOutOfRangeError";Object.setPrototypeOf(_this,ArgumentOutOfRangeError.prototype);return _this}return ArgumentOutOfRangeError}(Error);exports.ArgumentOutOfRangeError=ArgumentOutOfRangeError},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var EmptyError=function(_super){__extends(EmptyError,_super);function EmptyError(){var _this=_super.call(this,"no elements in sequence")||this;_this.name="EmptyError";Object.setPrototypeOf(_this,EmptyError.prototype);return _this}return EmptyError}(Error);exports.EmptyError=EmptyError},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function getSymbolIterator(){if("function"!==typeof Symbol||!Symbol.iterator)return"@@iterator";return Symbol.iterator}exports.getSymbolIterator=getSymbolIterator;exports.iterator=getSymbolIterator();exports.$$iterator=exports.iterator},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var subscribeToResult_1=__webpack_require__(27);var OuterSubscriber_1=__webpack_require__(26);var map_1=__webpack_require__(91);var from_1=__webpack_require__(109);function mergeMap(project,resultSelector,concurrent){void 0===concurrent&&(concurrent=Number.POSITIVE_INFINITY);if("function"===typeof resultSelector)return function(source){return source.pipe(mergeMap(function(a,i){return from_1.from(project(a,i)).pipe(map_1.map(function(b,ii){return resultSelector(a,b,i,ii)}))},concurrent))};"number"===typeof resultSelector&&(concurrent=resultSelector);return function(source){return source.lift(new MergeMapOperator(project,concurrent))}}exports.mergeMap=mergeMap;var MergeMapOperator=function(){function MergeMapOperator(project,concurrent){void 0===concurrent&&(concurrent=Number.POSITIVE_INFINITY);this.project=project;this.concurrent=concurrent}MergeMapOperator.prototype.call=function(observer,source){return source.subscribe(new MergeMapSubscriber(observer,this.project,this.concurrent))};return MergeMapOperator}();exports.MergeMapOperator=MergeMapOperator;var MergeMapSubscriber=function(_super){__extends(MergeMapSubscriber,_super);function MergeMapSubscriber(destination,project,concurrent){void 0===concurrent&&(concurrent=Number.POSITIVE_INFINITY);var _this=_super.call(this,destination)||this;_this.project=project;_this.concurrent=concurrent;_this.hasCompleted=false;_this.buffer=[];_this.active=0;_this.index=0;return _this}MergeMapSubscriber.prototype._next=function(value){this.active<this.concurrent?this._tryNext(value):this.buffer.push(value)};MergeMapSubscriber.prototype._tryNext=function(value){var result;var index=this.index++;try{result=this.project(value,index)}catch(err){this.destination.error(err);return}this.active++;this._innerSub(result,value,index)};MergeMapSubscriber.prototype._innerSub=function(ish,value,index){this.add(subscribeToResult_1.subscribeToResult(this,ish,value,index))};MergeMapSubscriber.prototype._complete=function(){this.hasCompleted=true;0===this.active&&0===this.buffer.length&&this.destination.complete()};MergeMapSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.destination.next(innerValue)};MergeMapSubscriber.prototype.notifyComplete=function(innerSub){var buffer=this.buffer;this.remove(innerSub);this.active--;buffer.length>0?this._next(buffer.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()};return MergeMapSubscriber}(OuterSubscriber_1.OuterSubscriber);exports.MergeMapSubscriber=MergeMapSubscriber},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function defaultIfEmpty(defaultValue){void 0===defaultValue&&(defaultValue=null);return function(source){return source.lift(new DefaultIfEmptyOperator(defaultValue))}}exports.defaultIfEmpty=defaultIfEmpty;var DefaultIfEmptyOperator=function(){function DefaultIfEmptyOperator(defaultValue){this.defaultValue=defaultValue}DefaultIfEmptyOperator.prototype.call=function(subscriber,source){return source.subscribe(new DefaultIfEmptySubscriber(subscriber,this.defaultValue))};return DefaultIfEmptyOperator}();var DefaultIfEmptySubscriber=function(_super){__extends(DefaultIfEmptySubscriber,_super);function DefaultIfEmptySubscriber(destination,defaultValue){var _this=_super.call(this,destination)||this;_this.defaultValue=defaultValue;_this.isEmpty=true;return _this}DefaultIfEmptySubscriber.prototype._next=function(value){this.isEmpty=false;this.destination.next(value)};DefaultIfEmptySubscriber.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue);this.destination.complete()};return DefaultIfEmptySubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function filter(predicate,thisArg){return function filterOperatorFunction(source){return source.lift(new FilterOperator(predicate,thisArg))}}exports.filter=filter;var FilterOperator=function(){function FilterOperator(predicate,thisArg){this.predicate=predicate;this.thisArg=thisArg}FilterOperator.prototype.call=function(subscriber,source){return source.subscribe(new FilterSubscriber(subscriber,this.predicate,this.thisArg))};return FilterOperator}();var FilterSubscriber=function(_super){__extends(FilterSubscriber,_super);function FilterSubscriber(destination,predicate,thisArg){var _this=_super.call(this,destination)||this;_this.predicate=predicate;_this.thisArg=thisArg;_this.count=0;return _this}FilterSubscriber.prototype._next=function(value){var result;try{result=this.predicate.call(this.thisArg,value,this.count++)}catch(err){this.destination.error(err);return}result&&this.destination.next(value)};return FilterSubscriber}(Subscriber_1.Subscriber)},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"migrateFilter",function(){return migrateFilter});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);var _filters__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(144);function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function migrateFilter(filter,indexPattern){if(filter.match){var fieldName=Object.keys(filter.match)[0];if(isMatchPhraseFilter(filter,fieldName)){var params=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.get(filter,["match",fieldName]);if(indexPattern){var field=indexPattern.fields.find(function(f){return f.name===fieldName});field&&(params.query=Object(_filters__WEBPACK_IMPORTED_MODULE_1__["getConvertedValueForField"])(field,params.query))}return{match_phrase:_defineProperty({},fieldName,lodash__WEBPACK_IMPORTED_MODULE_0___default.a.omit(params,"type"))}}}return filter}function isMatchPhraseFilter(filter,fieldName){return"phrase"===lodash__WEBPACK_IMPORTED_MODULE_0___default.a.get(filter,["match",fieldName,"type"])}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"filterMatchesIndex",function(){return filterMatchesIndex});function filterMatchesIndex(filter,indexPattern){if(!filter.meta||!indexPattern)return true;return indexPattern.fields.some(function(field){return field.name===filter.meta.key})}},function(module,exports){function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}module.exports=function(){"use strict";function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";"function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,peg$SyntaxError)}peg$subclass(peg$SyntaxError,Error);function peg$parse(input){var peg$result,options=arguments.length>1?arguments[1]:{},peg$FAILED={},peg$startRuleFunctions={start:peg$parsestart,Literal:peg$parseLiteral},peg$startRuleFunction=peg$parsestart,peg$c0=function peg$c0(query,trailing){if("cursor"===trailing.type)return _objectSpread({},trailing,{suggestionTypes:["conjunction"]});if(null!==query)return query;return nodeTypes.function.buildNode("is","*","*")},peg$c1=function peg$c1(){return errorOnLuceneSyntax},peg$c2=function peg$c2(left,right){var cursor=[left,right].find(function(node){return"cursor"===node.type});if(cursor)return cursor;return buildFunctionNode("or",[left,right])},peg$c3=function peg$c3(left,right){var cursor=[left,right].find(function(node){return"cursor"===node.type});if(cursor)return cursor;return buildFunctionNode("and",[left,right])},peg$c4=function peg$c4(query){if("cursor"===query.type)return query;return buildFunctionNode("not",[query])},peg$c5="(",peg$c6={type:"literal",value:"(",description:'"("'},peg$c7=")",peg$c8={type:"literal",value:")",description:'")"'},peg$c9=function peg$c9(query,trailing){if("cursor"===trailing.type)return _objectSpread({},trailing,{suggestionTypes:["conjunction"]});return query},peg$c10=function peg$c10(field,operator,value){if("cursor"===value.type)return _objectSpread({},value,{suggestionTypes:["conjunction"]});var range=buildNamedArgNode(operator,value);return buildFunctionNode("range",[field,range])},peg$c11=":",peg$c12={type:"literal",value:":",description:'":"'},peg$c13=function peg$c13(field,partial){if("cursor"===partial.type)return _objectSpread({},partial,{fieldName:field.value,suggestionTypes:["value","conjunction"]});return partial(field)},peg$c14=function peg$c14(partial){if("cursor"===partial.type){var fieldName="".concat(partial.prefix).concat(partial.suffix).trim();return _objectSpread({},partial,{fieldName:fieldName,suggestionTypes:["field","operator","conjunction"]})}var field=buildLiteralNode(null);return partial(field)},peg$c15=function peg$c15(partial,trailing){if("cursor"===trailing.type)return _objectSpread({},trailing,{suggestionTypes:["conjunction"]});return partial},peg$c16=function peg$c16(partialLeft,partialRight){var cursor=[partialLeft,partialRight].find(function(node){return"cursor"===node.type});if(cursor)return _objectSpread({},cursor,{suggestionTypes:["value"]});return function(field){return buildFunctionNode("or",[partialLeft(field),partialRight(field)])}},peg$c17=function peg$c17(partialLeft,partialRight){var cursor=[partialLeft,partialRight].find(function(node){return"cursor"===node.type});if(cursor)return _objectSpread({},cursor,{suggestionTypes:["value"]});return function(field){return buildFunctionNode("and",[partialLeft(field),partialRight(field)])}},peg$c18=function peg$c18(partial){if("cursor"===partial.type)return _objectSpread({},list,{suggestionTypes:["value"]});return function(field){return buildFunctionNode("not",[partial(field)])}},peg$c19=function peg$c19(value){if("cursor"===value.type)return value;var isPhrase=buildLiteralNode(true);return function(field){return buildFunctionNode("is",[field,value,isPhrase])}},peg$c20=function peg$c20(value){if("cursor"===value.type)return value;!allowLeadingWildcards&&"wildcard"===value.type&&nodeTypes.wildcard.hasLeadingWildcard(value)&&error("Leading wildcards are disabled. See query:allowLeadingWildcards in Advanced Settings.");var isPhrase=buildLiteralNode(false);return function(field){return buildFunctionNode("is",[field,value,isPhrase])}},peg$c21="or",peg$c22={type:"literal",value:"or",description:'"or"'},peg$c23="and",peg$c24={type:"literal",value:"and",description:'"and"'},peg$c25="not",peg$c26={type:"literal",value:"not",description:'"not"'},peg$c27='"',peg$c28={type:"literal",value:'"',description:'"\\""'},peg$c29=function peg$c29(prefix,cursor,suffix){var _location=location(),start=_location.start,end=_location.end;return{type:"cursor",start:start.offset,end:end.offset-cursor.length,prefix:prefix.join(""),suffix:suffix.join(""),text:text().replace(cursor,"")}},peg$c30=function peg$c30(chars){return buildLiteralNode(chars.join(""))},peg$c31="\\",peg$c32={type:"literal",value:"\\",description:'"\\\\"'},peg$c33=/^[\\"]/,peg$c34={type:"class",value:'[\\\\"]',description:'[\\\\"]'},peg$c35=function peg$c35(char){return char},peg$c36=/^[^"]/,peg$c37={type:"class",value:'[^"]',description:'[^"]'},peg$c38=function peg$c38(chars){var sequence=chars.join("").trim();if("null"===sequence)return buildLiteralNode(null);if("true"===sequence)return buildLiteralNode(true);if("false"===sequence)return buildLiteralNode(false);if(chars.includes(wildcardSymbol))return buildWildcardNode(sequence);var number=Number(sequence);var value=isNaN(number)?sequence:number;return buildLiteralNode(value)},peg$c39={type:"any",description:"any character"},peg$c40="*",peg$c41={type:"literal",value:"*",description:'"*"'},peg$c42=function peg$c42(){return wildcardSymbol},peg$c43="\\t",peg$c44={type:"literal",value:"\\t",description:'"\\\\t"'},peg$c45=function peg$c45(){return"\t"},peg$c46="\\r",peg$c47={type:"literal",value:"\\r",description:'"\\\\r"'},peg$c48=function peg$c48(){return"\r"},peg$c49="\\n",peg$c50={type:"literal",value:"\\n",description:'"\\\\n"'},peg$c51=function peg$c51(){return"\n"},peg$c52=function peg$c52(keyword){return keyword},peg$c53=/^[\\():<>"*]/,peg$c54={type:"class",value:'[\\\\():<>"*]',description:'[\\\\():<>"*]'},peg$c55="<=",peg$c56={type:"literal",value:"<=",description:'"<="'},peg$c57=function peg$c57(){return"lte"},peg$c58=">=",peg$c59={type:"literal",value:">=",description:'">="'},peg$c60=function peg$c60(){return"gte"},peg$c61="<",peg$c62={type:"literal",value:"<",description:'"<"'},peg$c63=function peg$c63(){return"lt"},peg$c64=">",peg$c65={type:"literal",value:">",description:'">"'},peg$c66=function peg$c66(){return"gt"},peg$c67=/^[ \t\r\n]/,peg$c68={type:"class",value:"[\\ \\t\\r\\n]",description:"[\\ \\t\\r\\n]"},peg$c69=function peg$c69(){return parseCursor},peg$c70="@kuery-cursor@",peg$c71={type:"literal",value:"@kuery-cursor@",description:'"@kuery-cursor@"'},peg$c72=function peg$c72(){return cursorSymbol},peg$c73="||",peg$c74={type:"literal",value:"||",description:'"||"'},peg$c75=function peg$c75(){error("LuceneOr")},peg$c76="&&",peg$c77={type:"literal",value:"&&",description:'"&&"'},peg$c78=function peg$c78(){error("LuceneAnd")},peg$c79="+",peg$c80={type:"literal",value:"+",description:'"+"'},peg$c81="-",peg$c82={type:"literal",value:"-",description:'"-"'},peg$c83=function peg$c83(){error("LuceneNot")},peg$c84="!",peg$c85={type:"literal",value:"!",description:'"!"'},peg$c86="_exists_",peg$c87={type:"literal",value:"_exists_",description:'"_exists_"'},peg$c88=function peg$c88(){error("LuceneExists")},peg$c89=function peg$c89(){error("LuceneRange")},peg$c90="?",peg$c91={type:"literal",value:"?",description:'"?"'},peg$c92=function peg$c92(){error("LuceneWildcard")},peg$c93="/",peg$c94={type:"literal",value:"/",description:'"/"'},peg$c95=/^[^\/]/,peg$c96={type:"class",value:"[^/]",description:"[^/]"},peg$c97=function peg$c97(){error("LuceneRegex")},peg$c98="~",peg$c99={type:"literal",value:"~",description:'"~"'},peg$c100=/^[0-9]/,peg$c101={type:"class",value:"[0-9]",description:"[0-9]"},peg$c102=function peg$c102(){error("LuceneFuzzy")},peg$c103=function peg$c103(){error("LuceneProximity")},peg$c104="^",peg$c105={type:"literal",value:"^",description:'"^"'},peg$c106=function peg$c106(){error("LuceneBoost")},peg$c107=function peg$c107(){return char},peg$c108="=",peg$c109={type:"literal",value:"=",description:'"="'},peg$c110="{",peg$c111={type:"literal",value:"{",description:'"{"'},peg$c112="}",peg$c113={type:"literal",value:"}",description:'"}"'},peg$c114="[",peg$c115={type:"literal",value:"[",description:'"["'},peg$c116="]",peg$c117={type:"literal",value:"]",description:'"]"'},peg$c118="TO",peg$c119={type:"literal",value:"TO",description:'"TO"'},peg$currPos=0,peg$savedPos=0,peg$posDetailsCache=[{line:1,column:1,seenCR:false}],peg$maxFailPos=0,peg$maxFailExpected=[],peg$silentFails=0;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions))throw new Error("Can't start parsing from rule \""+options.startRule+'".');peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function location(){return peg$computeLocation(peg$savedPos,peg$currPos)}function error(message){throw peg$buildException(message,null,input.substring(peg$savedPos,peg$currPos),peg$computeLocation(peg$savedPos,peg$currPos))}function peg$computePosDetails(pos){var p,ch,details=peg$posDetailsCache[pos];if(details)return details;p=pos-1;while(!peg$posDetailsCache[p])p--;details=peg$posDetailsCache[p];details={line:details.line,column:details.column,seenCR:details.seenCR};while(p<pos){ch=input.charAt(p);if("\n"===ch){details.seenCR||details.line++;details.column=1;details.seenCR=false}else if("\r"===ch||"\u2028"===ch||"\u2029"===ch){details.line++;details.column=1;details.seenCR=true}else{details.column++;details.seenCR=false}p++}peg$posDetailsCache[pos]=details;return details}function peg$computeLocation(startPos,endPos){var startPosDetails=peg$computePosDetails(startPos),endPosDetails=peg$computePosDetails(endPos);return{start:{offset:startPos,line:startPosDetails.line,column:startPosDetails.column},end:{offset:endPos,line:endPosDetails.line,column:endPosDetails.column}}}function peg$fail(expected){if(peg$currPos<peg$maxFailPos)return;if(peg$currPos>peg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildException(message,expected,found,location){function cleanupExpected(expected){var i=1;expected.sort(function(a,b){return a.description<b.description?-1:a.description>b.description?1:0});while(i<expected.length)expected[i-1]===expected[i]?expected.splice(i,1):i++}function buildMessage(expected,found){function stringEscape(s){function hex(ch){return ch.charCodeAt(0).toString(16).toUpperCase()}return s.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(ch){return"\\x0"+hex(ch)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(ch){return"\\x"+hex(ch)}).replace(/[\u0100-\u0FFF]/g,function(ch){return"\\u0"+hex(ch)}).replace(/[\u1000-\uFFFF]/g,function(ch){return"\\u"+hex(ch)})}var expectedDesc,foundDesc,i,expectedDescs=new Array(expected.length);for(i=0;i<expected.length;i++)expectedDescs[i]=expected[i].description;expectedDesc=expected.length>1?expectedDescs.slice(0,-1).join(", ")+" or "+expectedDescs[expected.length-1]:expectedDescs[0];foundDesc=found?'"'+stringEscape(found)+'"':"end of input";return"Expected "+expectedDesc+" but "+foundDesc+" found."}null!==expected&&cleanupExpected(expected);return new peg$SyntaxError(null!==message?message:buildMessage(expected,found),expected,found,location)}function peg$parsestart(){var s0,s1,s2,s3;s0=peg$currPos;s1=[];s2=peg$parseSpace();while(s2!==peg$FAILED){s1.push(s2);s2=peg$parseSpace()}if(s1!==peg$FAILED){s2=peg$parseOrQuery();s2===peg$FAILED&&(s2=null);if(s2!==peg$FAILED){s3=peg$parseOptionalSpace();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOrQuery(){var s0,s1,s2,s3;s0=peg$currPos;peg$savedPos=peg$currPos;s1=peg$c1();s1=s1?void 0:peg$FAILED;if(s1!==peg$FAILED){s2=peg$parseLuceneQuery();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseAndQuery();if(s1!==peg$FAILED){s2=peg$parseOr();if(s2!==peg$FAILED){s3=peg$parseOrQuery();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c2(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseAndQuery())}return s0}function peg$parseAndQuery(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseNotQuery();if(s1!==peg$FAILED){s2=peg$parseAnd();if(s2!==peg$FAILED){s3=peg$parseAndQuery();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c3(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseNotQuery());return s0}function peg$parseNotQuery(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNot();if(s1!==peg$FAILED){s2=peg$parseSubQuery();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c4(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseSubQuery());return s0}function peg$parseSubQuery(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(40===input.charCodeAt(peg$currPos)){s1=peg$c5;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c6)}if(s1!==peg$FAILED){s2=[];s3=peg$parseSpace();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseSpace()}if(s2!==peg$FAILED){s3=peg$parseOrQuery();if(s3!==peg$FAILED){s4=peg$parseOptionalSpace();if(s4!==peg$FAILED){if(41===input.charCodeAt(peg$currPos)){s5=peg$c7;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c8)}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c9(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseExpression());return s0}function peg$parseExpression(){var s0;s0=peg$parseFieldRangeExpression();if(s0===peg$FAILED){s0=peg$parseFieldValueExpression();s0===peg$FAILED&&(s0=peg$parseValueExpression())}return s0}function peg$parseFieldRangeExpression(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseLiteral();if(s1!==peg$FAILED){s2=[];s3=peg$parseSpace();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseSpace()}if(s2!==peg$FAILED){s3=peg$parseRangeOperator();if(s3!==peg$FAILED){s4=[];s5=peg$parseSpace();while(s5!==peg$FAILED){s4.push(s5);s5=peg$parseSpace()}if(s4!==peg$FAILED){s5=peg$parseLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c10(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFieldValueExpression(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseLiteral();if(s1!==peg$FAILED){s2=[];s3=peg$parseSpace();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseSpace()}if(s2!==peg$FAILED){if(58===input.charCodeAt(peg$currPos)){s3=peg$c11;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c12)}if(s3!==peg$FAILED){s4=[];s5=peg$parseSpace();while(s5!==peg$FAILED){s4.push(s5);s5=peg$parseSpace()}if(s4!==peg$FAILED){s5=peg$parseListOfValues();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c13(s1,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValueExpression(){var s0,s1;s0=peg$currPos;s1=peg$parseValue();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c14(s1)}s0=s1;return s0}function peg$parseListOfValues(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(40===input.charCodeAt(peg$currPos)){s1=peg$c5;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c6)}if(s1!==peg$FAILED){s2=[];s3=peg$parseSpace();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseSpace()}if(s2!==peg$FAILED){s3=peg$parseOrListOfValues();if(s3!==peg$FAILED){s4=peg$parseOptionalSpace();if(s4!==peg$FAILED){if(41===input.charCodeAt(peg$currPos)){s5=peg$c7;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c8)}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseValue());return s0}function peg$parseOrListOfValues(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseAndListOfValues();if(s1!==peg$FAILED){s2=peg$parseOr();if(s2!==peg$FAILED){s3=peg$parseOrListOfValues();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseAndListOfValues());return s0}function peg$parseAndListOfValues(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseNotListOfValues();if(s1!==peg$FAILED){s2=peg$parseAnd();if(s2!==peg$FAILED){s3=peg$parseAndListOfValues();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c17(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseNotListOfValues());return s0}function peg$parseNotListOfValues(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNot();if(s1!==peg$FAILED){s2=peg$parseListOfValues();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c18(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseListOfValues());return s0}function peg$parseValue(){var s0,s1;s0=peg$currPos;s1=peg$parseQuotedString();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c19(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseUnquotedLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c20(s1)}s0=s1}return s0}function peg$parseOr(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=[];s2=peg$parseSpace();if(s2!==peg$FAILED)while(s2!==peg$FAILED){s1.push(s2);s2=peg$parseSpace()}else s1=peg$FAILED;if(s1!==peg$FAILED){if(input.substr(peg$currPos,2).toLowerCase()===peg$c21){s2=input.substr(peg$currPos,2);peg$currPos+=2}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c22)}if(s2!==peg$FAILED){s3=[];s4=peg$parseSpace();if(s4!==peg$FAILED)while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseSpace()}else s3=peg$FAILED;if(s3!==peg$FAILED){s1=[s1,s2,s3];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;peg$savedPos=peg$currPos;s1=peg$c1();s1=s1?void 0:peg$FAILED;if(s1!==peg$FAILED){s2=peg$parseLuceneOr();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseAnd(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=[];s2=peg$parseSpace();if(s2!==peg$FAILED)while(s2!==peg$FAILED){s1.push(s2);s2=peg$parseSpace()}else s1=peg$FAILED;if(s1!==peg$FAILED){if(input.substr(peg$currPos,3).toLowerCase()===peg$c23){s2=input.substr(peg$currPos,3);peg$currPos+=3}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c24)}if(s2!==peg$FAILED){s3=[];s4=peg$parseSpace();if(s4!==peg$FAILED)while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseSpace()}else s3=peg$FAILED;if(s3!==peg$FAILED){s1=[s1,s2,s3];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;peg$savedPos=peg$currPos;s1=peg$c1();s1=s1?void 0:peg$FAILED;if(s1!==peg$FAILED){s2=peg$parseLuceneAnd();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNot(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,3).toLowerCase()===peg$c25){s1=input.substr(peg$currPos,3);peg$currPos+=3}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c26)}if(s1!==peg$FAILED){s2=[];s3=peg$parseSpace();if(s3!==peg$FAILED)while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseSpace()}else s2=peg$FAILED;if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;peg$savedPos=peg$currPos;s1=peg$c1();s1=s1?void 0:peg$FAILED;if(s1!==peg$FAILED){s2=peg$parseLuceneNot();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseLiteral(){var s0;s0=peg$parseQuotedString();s0===peg$FAILED&&(s0=peg$parseUnquotedLiteral());return s0}function peg$parseQuotedString(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(34===input.charCodeAt(peg$currPos)){s1=peg$c27;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c28)}if(s1!==peg$FAILED){s2=[];s3=peg$parseQuotedCharacter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseQuotedCharacter()}if(s2!==peg$FAILED){s3=peg$parseCursor();if(s3!==peg$FAILED){s4=[];s5=peg$parseQuotedCharacter();while(s5!==peg$FAILED){s4.push(s5);s5=peg$parseQuotedCharacter()}if(s4!==peg$FAILED){if(34===input.charCodeAt(peg$currPos)){s5=peg$c27;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c28)}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c29(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(34===input.charCodeAt(peg$currPos)){s1=peg$c27;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c28)}if(s1!==peg$FAILED){s2=[];s3=peg$parseQuotedCharacter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseQuotedCharacter()}if(s2!==peg$FAILED){if(34===input.charCodeAt(peg$currPos)){s3=peg$c27;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c28)}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c30(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseQuotedCharacter(){var s0,s1,s2;s0=peg$parseEscapedWhitespace();if(s0===peg$FAILED){s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c31;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c32)}if(s1!==peg$FAILED){if(peg$c33.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c34)}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c35(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$currPos;peg$silentFails++;s2=peg$parseCursor();peg$silentFails--;if(s2===peg$FAILED)s1=void 0;else{peg$currPos=s1;s1=peg$FAILED}if(s1!==peg$FAILED){if(peg$c36.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c37)}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c35(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseUnquotedLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=[];s2=peg$parseUnquotedCharacter();while(s2!==peg$FAILED){s1.push(s2);s2=peg$parseUnquotedCharacter()}if(s1!==peg$FAILED){s2=peg$parseCursor();if(s2!==peg$FAILED){s3=[];s4=peg$parseUnquotedCharacter();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseUnquotedCharacter()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c29(s1,s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];s2=peg$parseUnquotedCharacter();if(s2!==peg$FAILED)while(s2!==peg$FAILED){s1.push(s2);s2=peg$parseUnquotedCharacter()}else s1=peg$FAILED;if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c38(s1)}s0=s1}return s0}function peg$parseUnquotedCharacter(){var s0,s1,s2,s3,s4;s0=peg$parseEscapedWhitespace();if(s0===peg$FAILED){s0=peg$parseEscapedSpecialCharacter();if(s0===peg$FAILED){s0=peg$parseEscapedKeyword();if(s0===peg$FAILED){s0=peg$parseWildcard();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$currPos;peg$silentFails++;s2=peg$parseSpecialCharacter();peg$silentFails--;if(s2===peg$FAILED)s1=void 0;else{peg$currPos=s1;s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseKeyword();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$currPos;peg$silentFails++;s4=peg$parseCursor();peg$silentFails--;if(s4===peg$FAILED)s3=void 0;else{peg$currPos=s3;s3=peg$FAILED}if(s3!==peg$FAILED){if(input.length>peg$currPos){s4=input.charAt(peg$currPos);peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c39)}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c35(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}}return s0}function peg$parseWildcard(){var s0,s1;s0=peg$currPos;if(42===input.charCodeAt(peg$currPos)){s1=peg$c40;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c41)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c42()}s0=s1;return s0}function peg$parseOptionalSpace(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=[];s2=peg$parseSpace();while(s2!==peg$FAILED){s1.push(s2);s2=peg$parseSpace()}if(s1!==peg$FAILED){s2=peg$parseCursor();if(s2!==peg$FAILED){s3=[];s4=peg$parseSpace();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseSpace()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c29(s1,s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=[];s1=peg$parseSpace();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseSpace()}}return s0}function peg$parseEscapedWhitespace(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c43){s1=peg$c43;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c44)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c45()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c46){s1=peg$c46;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c47)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c48()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c49){s1=peg$c49;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c50)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c51()}s0=s1}}return s0}function peg$parseEscapedSpecialCharacter(){var s0,s1,s2;s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c31;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c32)}if(s1!==peg$FAILED){s2=peg$parseSpecialCharacter();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c35(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseEscapedKeyword(){var s0,s1,s2;s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c31;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c32)}if(s1!==peg$FAILED){if(input.substr(peg$currPos,2).toLowerCase()===peg$c21){s2=input.substr(peg$currPos,2);peg$currPos+=2}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c22)}if(s2===peg$FAILED){if(input.substr(peg$currPos,3).toLowerCase()===peg$c23){s2=input.substr(peg$currPos,3);peg$currPos+=3}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c24)}if(s2===peg$FAILED)if(input.substr(peg$currPos,3).toLowerCase()===peg$c25){s2=input.substr(peg$currPos,3);peg$currPos+=3}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c26)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c52(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseKeyword(){var s0;s0=peg$parseOr();if(s0===peg$FAILED){s0=peg$parseAnd();s0===peg$FAILED&&(s0=peg$parseNot())}return s0}function peg$parseSpecialCharacter(){var s0;if(peg$c53.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c54)}return s0}function peg$parseRangeOperator(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c55){s1=peg$c55;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c56)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c57()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c58){s1=peg$c58;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c59)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c60()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(60===input.charCodeAt(peg$currPos)){s1=peg$c61;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c62)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c63()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(62===input.charCodeAt(peg$currPos)){s1=peg$c64;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c65)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c66()}s0=s1}}}return s0}function peg$parseSpace(){var s0;if(peg$c67.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c68)}return s0}function peg$parseCursor(){var s0,s1,s2;s0=peg$currPos;peg$savedPos=peg$currPos;s1=peg$c69();s1=s1?void 0:peg$FAILED;if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c70){s2=peg$c70;peg$currPos+=14}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c71)}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c72();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLuceneOr(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=[];s2=peg$parseSpace();while(s2!==peg$FAILED){s1.push(s2);s2=peg$parseSpace()}if(s1!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c73){s2=peg$c73;peg$currPos+=2}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c74)}if(s2!==peg$FAILED){s3=[];s4=peg$parseSpace();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseSpace()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c75();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLuceneAnd(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=[];s2=peg$parseSpace();while(s2!==peg$FAILED){s1.push(s2);s2=peg$parseSpace()}if(s1!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c76){s2=peg$c76;peg$currPos+=2}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c77)}if(s2!==peg$FAILED){s3=[];s4=peg$parseSpace();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseSpace()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c78();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(43===input.charCodeAt(peg$currPos)){s1=peg$c79;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c80)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c78()}s0=s1}return s0}function peg$parseLuceneNot(){var s0,s1;s0=peg$currPos;if(45===input.charCodeAt(peg$currPos)){s1=peg$c81;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c82)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c83()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(33===input.charCodeAt(peg$currPos)){s1=peg$c84;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c85)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c83()}s0=s1}return s0}function peg$parseLuceneQuery(){var s0;s0=peg$parseLuceneFieldQuery();if(s0===peg$FAILED){s0=peg$parseLuceneValue();s0===peg$FAILED&&(s0=peg$parseLuceneExists())}return s0}function peg$parseLuceneFieldQuery(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseLuceneLiteral();if(s1!==peg$FAILED){s2=[];s3=peg$parseSpace();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseSpace()}if(s2!==peg$FAILED){if(58===input.charCodeAt(peg$currPos)){s3=peg$c11;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c12)}if(s3!==peg$FAILED){s4=[];s5=peg$parseSpace();while(s5!==peg$FAILED){s4.push(s5);s5=peg$parseSpace()}if(s4!==peg$FAILED){s5=peg$parseLuceneValue();if(s5!==peg$FAILED){s1=[s1,s2,s3,s4,s5];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLuceneValue(){var s0;s0=peg$parseLuceneRange();if(s0===peg$FAILED){s0=peg$parseLuceneWildcard();if(s0===peg$FAILED){s0=peg$parseLuceneRegex();if(s0===peg$FAILED){s0=peg$parseLuceneFuzzy();if(s0===peg$FAILED){s0=peg$parseLuceneProximity();s0===peg$FAILED&&(s0=peg$parseLuceneBoost())}}}}return s0}function peg$parseLuceneExists(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c86){s1=peg$c86;peg$currPos+=8}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c87)}if(s1!==peg$FAILED){s2=[];s3=peg$parseSpace();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseSpace()}if(s2!==peg$FAILED){if(58===input.charCodeAt(peg$currPos)){s3=peg$c11;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c12)}if(s3!==peg$FAILED){s4=[];s5=peg$parseSpace();while(s5!==peg$FAILED){s4.push(s5);s5=peg$parseSpace()}if(s4!==peg$FAILED){s5=peg$parseLuceneLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c88();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLuceneRange(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;s1=peg$parseRangeOperator();if(s1!==peg$FAILED){s2=[];s3=peg$parseSpace();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseSpace()}if(s2!==peg$FAILED){s3=peg$parseLuceneLiteral();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c89();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLuceneRangeStart();if(s1!==peg$FAILED){s2=[];s3=peg$parseSpace();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseSpace()}if(s2!==peg$FAILED){s3=peg$parseLuceneLiteral();if(s3!==peg$FAILED){s4=peg$parseLuceneTo();if(s4!==peg$FAILED){s5=peg$parseLuceneLiteral();if(s5!==peg$FAILED){s6=peg$parseLuceneRangeEnd();if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c89();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseLuceneWildcard(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=[];s2=peg$parseLuceneUnquotedCharacter();if(s2===peg$FAILED)if(42===input.charCodeAt(peg$currPos)){s2=peg$c40;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c41)}while(s2!==peg$FAILED){s1.push(s2);s2=peg$parseLuceneUnquotedCharacter();if(s2===peg$FAILED)if(42===input.charCodeAt(peg$currPos)){s2=peg$c40;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c41)}}if(s1!==peg$FAILED){if(63===input.charCodeAt(peg$currPos)){s2=peg$c90;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c91)}if(s2!==peg$FAILED){s3=[];s4=peg$parseLuceneWildcard();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseLuceneWildcard()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c92();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLuceneRegex(){var s0,s1,s2,s3;s0=peg$currPos;if(47===input.charCodeAt(peg$currPos)){s1=peg$c93;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c94)}if(s1!==peg$FAILED){s2=[];if(peg$c95.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c96)}while(s3!==peg$FAILED){s2.push(s3);if(peg$c95.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c96)}}if(s2!==peg$FAILED){if(47===input.charCodeAt(peg$currPos)){s3=peg$c93;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c94)}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c97();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLuceneFuzzy(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseLuceneUnquotedLiteral();if(s1!==peg$FAILED){if(126===input.charCodeAt(peg$currPos)){s2=peg$c98;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c99)}if(s2!==peg$FAILED){s3=[];if(peg$c100.test(input.charAt(peg$currPos))){s4=input.charAt(peg$currPos);peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c101)}while(s4!==peg$FAILED){s3.push(s4);if(peg$c100.test(input.charAt(peg$currPos))){s4=input.charAt(peg$currPos);peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c101)}}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c102();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLuceneProximity(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseQuotedString();if(s1!==peg$FAILED){if(126===input.charCodeAt(peg$currPos)){s2=peg$c98;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c99)}if(s2!==peg$FAILED){s3=[];if(peg$c100.test(input.charAt(peg$currPos))){s4=input.charAt(peg$currPos);peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c101)}while(s4!==peg$FAILED){s3.push(s4);if(peg$c100.test(input.charAt(peg$currPos))){s4=input.charAt(peg$currPos);peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c101)}}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c103();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLuceneBoost(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseLuceneLiteral();if(s1!==peg$FAILED){if(94===input.charCodeAt(peg$currPos)){s2=peg$c104;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c105)}if(s2!==peg$FAILED){s3=[];if(peg$c100.test(input.charAt(peg$currPos))){s4=input.charAt(peg$currPos);peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c101)}while(s4!==peg$FAILED){s3.push(s4);if(peg$c100.test(input.charAt(peg$currPos))){s4=input.charAt(peg$currPos);peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c101)}}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c106();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLuceneLiteral(){var s0;s0=peg$parseQuotedString();s0===peg$FAILED&&(s0=peg$parseLuceneUnquotedLiteral());return s0}function peg$parseLuceneUnquotedLiteral(){var s0,s1;s0=[];s1=peg$parseLuceneUnquotedCharacter();if(s1!==peg$FAILED)while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseLuceneUnquotedCharacter()}else s0=peg$FAILED;return s0}function peg$parseLuceneUnquotedCharacter(){var s0,s1,s2,s3;s0=peg$parseEscapedWhitespace();if(s0===peg$FAILED){s0=peg$parseEscapedLuceneSpecialCharacter();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$currPos;peg$silentFails++;s2=peg$parseLuceneSpecialCharacter();peg$silentFails--;if(s2===peg$FAILED)s1=void 0;else{peg$currPos=s1;s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseLuceneKeyword();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){if(input.length>peg$currPos){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c39)}if(s3!==peg$FAILED){s1=[s1,s2,s3];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLuceneKeyword(){var s0;s0=peg$parseOr();if(s0===peg$FAILED){s0=peg$parseAnd();if(s0===peg$FAILED){s0=peg$parseLuceneOr();if(s0===peg$FAILED){s0=peg$parseLuceneAnd();if(s0===peg$FAILED){s0=peg$parseLuceneNot();s0===peg$FAILED&&(s0=peg$parseLuceneTo())}}}}return s0}function peg$parseEscapedLuceneSpecialCharacter(){var s0,s1,s2;s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c31;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c32)}if(s1!==peg$FAILED){s2=peg$parseLuceneSpecialCharacter();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c107();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLuceneSpecialCharacter(){var s0;if(43===input.charCodeAt(peg$currPos)){s0=peg$c79;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c80)}if(s0===peg$FAILED){if(45===input.charCodeAt(peg$currPos)){s0=peg$c81;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c82)}if(s0===peg$FAILED){if(61===input.charCodeAt(peg$currPos)){s0=peg$c108;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c109)}if(s0===peg$FAILED){if(62===input.charCodeAt(peg$currPos)){s0=peg$c64;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c65)}if(s0===peg$FAILED){if(60===input.charCodeAt(peg$currPos)){s0=peg$c61;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c62)}if(s0===peg$FAILED){if(33===input.charCodeAt(peg$currPos)){s0=peg$c84;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c85)}if(s0===peg$FAILED){if(40===input.charCodeAt(peg$currPos)){s0=peg$c5;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c6)}if(s0===peg$FAILED){if(41===input.charCodeAt(peg$currPos)){s0=peg$c7;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c8)}if(s0===peg$FAILED){if(123===input.charCodeAt(peg$currPos)){s0=peg$c110;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c111)}if(s0===peg$FAILED){if(125===input.charCodeAt(peg$currPos)){s0=peg$c112;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c113)}if(s0===peg$FAILED){if(91===input.charCodeAt(peg$currPos)){s0=peg$c114;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c115)}if(s0===peg$FAILED){if(93===input.charCodeAt(peg$currPos)){s0=peg$c116;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c117)}if(s0===peg$FAILED){if(94===input.charCodeAt(peg$currPos)){s0=peg$c104;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c105)}if(s0===peg$FAILED){if(34===input.charCodeAt(peg$currPos)){s0=peg$c27;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c28)}if(s0===peg$FAILED){if(126===input.charCodeAt(peg$currPos)){s0=peg$c98;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c99)}if(s0===peg$FAILED){if(42===input.charCodeAt(peg$currPos)){s0=peg$c40;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c41)}if(s0===peg$FAILED){if(63===input.charCodeAt(peg$currPos)){s0=peg$c90;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c91)}if(s0===peg$FAILED){if(58===input.charCodeAt(peg$currPos)){s0=peg$c11;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c12)}if(s0===peg$FAILED){if(92===input.charCodeAt(peg$currPos)){s0=peg$c31;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c32)}if(s0===peg$FAILED)if(47===input.charCodeAt(peg$currPos)){s0=peg$c93;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c94)}}}}}}}}}}}}}}}}}}}return s0}function peg$parseLuceneTo(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=[];s2=peg$parseSpace();if(s2!==peg$FAILED)while(s2!==peg$FAILED){s1.push(s2);s2=peg$parseSpace()}else s1=peg$FAILED;if(s1!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c118){s2=peg$c118;peg$currPos+=2}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c119)}if(s2!==peg$FAILED){s3=[];s4=peg$parseSpace();if(s4!==peg$FAILED)while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseSpace()}else s3=peg$FAILED;if(s3!==peg$FAILED){s1=[s1,s2,s3];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLuceneRangeStart(){var s0;if(91===input.charCodeAt(peg$currPos)){s0=peg$c114;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c115)}if(s0===peg$FAILED)if(123===input.charCodeAt(peg$currPos)){s0=peg$c110;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c111)}return s0}function peg$parseLuceneRangeEnd(){var s0;if(93===input.charCodeAt(peg$currPos)){s0=peg$c116;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c117)}if(s0===peg$FAILED)if(125===input.charCodeAt(peg$currPos)){s0=peg$c112;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c113)}return s0}var errorOnLuceneSyntax=options.errorOnLuceneSyntax,parseCursor=options.parseCursor,cursorSymbol=options.cursorSymbol,_options$allowLeading=options.allowLeadingWildcards,allowLeadingWildcards=void 0===_options$allowLeading||_options$allowLeading,nodeTypes=options.helpers.nodeTypes;var buildFunctionNode=nodeTypes.function.buildNodeWithArgumentNodes;var buildLiteralNode=nodeTypes.literal.buildNode;var buildWildcardNode=nodeTypes.wildcard.buildNode;var buildNamedArgNode=nodeTypes.namedArg.buildNode;var wildcardSymbol=nodeTypes.wildcard.wildcardSymbol;peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length)return peg$result;peg$result!==peg$FAILED&&peg$currPos<input.length&&peg$fail({type:"end",description:"end of input"});throw peg$buildException(null,peg$maxFailExpected,peg$maxFailPos<input.length?input.charAt(peg$maxFailPos):null,peg$maxFailPos<input.length?peg$computeLocation(peg$maxFailPos,peg$maxFailPos+1):peg$computeLocation(peg$maxFailPos,peg$maxFailPos))}return{SyntaxError:peg$SyntaxError,parse:peg$parse}}()},function(module,exports,__webpack_require__){var isObject=__webpack_require__(71);module.exports=function(it,S){if(!isObject(it))return it;var fn,val;if(S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;if("function"==typeof(fn=it.valueOf)&&!isObject(val=fn.call(it)))return val;if(!S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;throw TypeError("Can't convert object to primitive value")}},function(module,exports,__webpack_require__){var def=__webpack_require__(76).f;var has=__webpack_require__(111);var TAG=__webpack_require__(40)("toStringTag");module.exports=function(it,tag,stat){it&&!has(it=stat?it:it.prototype,TAG)&&def(it,TAG,{configurable:true,value:tag})}},function(module,exports,__webpack_require__){var $keys=__webpack_require__(545);var hiddenKeys=__webpack_require__(373).concat("length","prototype");exports.f=Object.getOwnPropertyNames||function getOwnPropertyNames(O){return $keys(O,hiddenKeys)}},function(module,exports,__webpack_require__){var pIE=__webpack_require__(227);var createDesc=__webpack_require__(224);var toIObject=__webpack_require__(146);var toPrimitive=__webpack_require__(276);var has=__webpack_require__(111);var IE8_DOM_DEFINE=__webpack_require__(543);var gOPD=Object.getOwnPropertyDescriptor;exports.f=__webpack_require__(78)?gOPD:function getOwnPropertyDescriptor(O,P){O=toIObject(O);P=toPrimitive(P,true);if(IE8_DOM_DEFINE)try{return gOPD(O,P)}catch(e){}if(has(O,P))return createDesc(!pIE.f.call(O,P),O[P])}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiIcon=exports.SIZES=exports.COLORS=exports.TYPES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _common=__webpack_require__(376);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var addDataApp=function addDataApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M32 30H0V3h12.57l3 5H32v22zM2 28h28V10H14.43l-3-5H2v23z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M21 18h-4v-4h-2v4h-4v2h4v4h2v-4h4z"}))};addDataApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var advancedSettingsApp=function advancedSettingsApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M2.909 26.182h1.939v4.848H2.909z"}),_react.default.createElement("path",{d:"M4.848 16.62V0H2.91v16.62a3.879 3.879 0 1 0 1.94 0zm-.97 5.683a1.94 1.94 0 1 1 0-3.879 1.94 1.94 0 0 1 0 3.879z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M14.545 16.485h1.939V31.03h-1.939z"}),_react.default.createElement("path",{d:"M16.485 6.924V0h-1.94v6.924a3.879 3.879 0 1 0 1.94 0zm-.97 5.682a1.94 1.94 0 1 1 0-3.879 1.94 1.94 0 0 1 0 3.88z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M26.182 26.182h1.939v4.848h-1.939z"}),_react.default.createElement("path",{d:"M28.121 16.62V0h-1.94v16.62a3.879 3.879 0 1 0 1.94 0zm-.97 5.683a1.94 1.94 0 1 1 0-3.879 1.94 1.94 0 0 1 0 3.879z"}))};advancedSettingsApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var alert=function alert(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M8.378 1.496l6.695 10.984A1 1 0 0 1 14.22 14H1.667a1 1 0 0 1-.883-1.47L6.642 1.545a1 1 0 0 1 1.736-.05zm-.853.52L1.667 13h12.552L7.525 2.016zM7.14 10.06L6.9 5.18h1.3l-.25 4.878h-.81zm.394 1.901a.61.61 0 0 1-.448-.186.606.606 0 0 1-.186-.444c0-.174.062-.323.186-.446a.614.614 0 0 1 .448-.184c.169 0 .315.06.44.182.124.122.186.27.186.448a.6.6 0 0 1-.189.446.607.607 0 0 1-.437.184z"}))};alert.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var apmApp=function apmApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M7 9v2H0V0h23v7h-2V2H2v7z"}),_react.default.createElement("path",{d:"M32 9v12H20c-6.075 0-11-4.925-11-11V9h23zm-20.945 2c.497 4.5 4.312 8 8.945 8h10v-8H11.055z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M30 23h2v9H19v-9h2v7h9z"}))};apmApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var apmTrace=function apmTrace(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"apm_trace-a",d:"M2 0h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H2zm.5 2h10a.5.5 0 1 1 0 1h-10a.5.5 0 0 1 0-1zm1 3h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1 0-1zm2 3h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1 0-1zm3 3h5a.5.5 0 1 1 0 1h-5a.5.5 0 1 1 0-1z"})),_react.default.createElement("use",{xlinkHref:"#apm_trace-a"}))};apmTrace.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var apps=function apps(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"apps-a",d:"M2 4V2h2v2H2zm5 0V2h2v2H7zm5 0V2h2v2h-2zM2 9V7h2v2H2zm5 0V7h2v2H7zm5 0V7h2v2h-2zM2 14v-2h2v2H2zm5 0v-2h2v2H7zm5 0v-2h2v2h-2z"})),_react.default.createElement("use",{xlinkHref:"#apps-a"}))};apps.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var arrowDown=function arrowDown(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"arrow_down-a",d:"M13.069 5.157L8.384 9.768a.546.546 0 0 1-.768 0L2.93 5.158a.552.552 0 0 0-.771 0 .53.53 0 0 0 0 .759l4.684 4.61c.641.631 1.672.63 2.312 0l4.684-4.61a.53.53 0 0 0 0-.76.552.552 0 0 0-.771 0z"})),_react.default.createElement("use",{fillRule:"nonzero",xlinkHref:"#arrow_down-a"}))};arrowDown.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var arrowLeft=function arrowLeft(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"arrow_left-a",d:"M13.069 5.157L8.384 9.768a.546.546 0 0 1-.768 0L2.93 5.158a.552.552 0 0 0-.771 0 .53.53 0 0 0 0 .759l4.684 4.61c.641.631 1.672.63 2.312 0l4.684-4.61a.53.53 0 0 0 0-.76.552.552 0 0 0-.771 0z"})),_react.default.createElement("use",{fillRule:"nonzero",transform:"rotate(90 8 8)",xlinkHref:"#arrow_left-a"}))};arrowLeft.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var arrowRight=function arrowRight(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"arrow_right-a",d:"M13.069 5.157L8.384 9.768a.546.546 0 0 1-.768 0L2.93 5.158a.552.552 0 0 0-.771 0 .53.53 0 0 0 0 .759l4.684 4.61c.641.631 1.672.63 2.312 0l4.684-4.61a.53.53 0 0 0 0-.76.552.552 0 0 0-.771 0z"})),_react.default.createElement("use",{fillRule:"nonzero",transform:"matrix(0 1 1 0 0 0)",xlinkHref:"#arrow_right-a"}))};arrowRight.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var arrowUp=function arrowUp(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"arrow_up-a",d:"M13.069 5.157L8.384 9.768a.546.546 0 0 1-.768 0L2.93 5.158a.552.552 0 0 0-.771 0 .53.53 0 0 0 0 .759l4.684 4.61c.641.631 1.672.63 2.312 0l4.684-4.61a.53.53 0 0 0 0-.76.552.552 0 0 0-.771 0z"})),_react.default.createElement("use",{fillRule:"nonzero",transform:"rotate(180 8 8)",xlinkHref:"#arrow_up-a"}))};arrowUp.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var asterisk=function asterisk(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M6.928 8.468L4 7.618l.446-1.427L7.375 7.25 7.287 4h1.484l-.097 3.296 2.88-1.039L12 7.693l-2.977.86 1.92 2.56L9.741 12 7.937 9.28l-1.745 2.654-1.213-.86z"}))};asterisk.defaultProps={width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"};var auditbeatApp=function auditbeatApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M15 0h2v32h-2z"}),_react.default.createElement("path",{d:"M0 32h13v-2H2V2h11V0H0zM19 0v2h11v28H19v2h13V0z"}))};auditbeatApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var beaker=function beaker(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M5.277 10.088c.02.014.04.03.057.047.582.55 1.134.812 1.666.812.586 0 1.84-.293 3.713-.88L9 6.212V2H7v4.212l-1.723 3.876zm-.438.987L3.539 14h8.922l-1.32-2.969C9.096 11.677 7.733 12 7 12c-.74 0-1.463-.315-2.161-.925zM6 2H5V1h6v1h-1v4l3.375 7.594A1 1 0 0 1 12.461 15H3.54a1 1 0 0 1-.914-1.406L6 6V2z"}))};beaker.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var bell=function bell(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M2.316 12h10.368c-.188-.704-.28-1.691-.348-3.037-.07-1.382-.103-1.888-.19-2.612-.028-.236-.06-.462-.096-.68-.31-1.892-1.506-2.923-3.708-3.131a1 1 0 1 0-1.684 0c-2.202.208-3.397 1.24-3.708 3.13a16.01 16.01 0 0 0-.096.68c-.087.725-.12 1.23-.19 2.613-.068 1.346-.16 2.333-.348 3.037zm10.843 1H1.84c-.308.353-.737.5-1.341.5a.5.5 0 1 1 0-1c.786 0 1.024-.783 1.166-3.587.07-1.407.105-1.926.196-2.681.03-.25.063-.49.102-.724.334-2.041 1.546-3.313 3.556-3.792a2 2 0 0 1 3.96 0c2.01.479 3.222 1.75 3.557 3.792a17 17 0 0 1 .102.724c.09.755.125 1.274.196 2.681.14 2.804.379 3.587 1.165 3.587a.5.5 0 1 1 0 1c-.604 0-1.033-.147-1.341-.5zM5.5 14h4a2 2 0 1 1-4 0z"}))};bell.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var bolt=function bolt(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M7.04 13.274a.5.5 0 1 0 .892.453l3.014-5.931a.5.5 0 0 0-.445-.727H5.316L8.03 1.727a.5.5 0 1 0-.892-.453L4.055 7.343a.5.5 0 0 0 .446.726h5.185L7.04 13.274z"}))};bolt.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var boxesHorizontal=function boxesHorizontal(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"boxes_horizontal-a",d:"M0 6h4v4H0V6zm1 1v2h2V7H1zm5-1h4v4H6V6zm1 1v2h2V7H7zm5-1h4v4h-4V6zm1 3h2V7h-2v2z"})),_react.default.createElement("use",{xlinkHref:"#boxes_horizontal-a"}))};boxesHorizontal.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var boxesVertical=function boxesVertical(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"boxes_vertical-a",d:"M7 1v2h2V1H7zM6 0h4v4H6V0zm0 6h4v4H6V6zm1 1v2h2V7H7zm-1 5h4v4H6v-4zm1 1v2h2v-2H7z"})),_react.default.createElement("use",{xlinkHref:"#boxes_vertical-a"}))};boxesVertical.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var branch=function branch(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M5 10.038a3.49 3.49 0 0 1 2.5-1.05h2a2.5 2.5 0 0 0 2.462-2.061 2 2 0 1 1 1.008.017A3.5 3.5 0 0 1 9.5 9.987h-2a2.5 2.5 0 0 0-2.466 2.085A2 2 0 1 1 4 12.063V3.937a2 2 0 1 1 1 0v6.1zM4.5 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 12a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm8-9a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"}))};branch.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var broom=function broom(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M3.732 13.096l-.197-.197 2.83-2.828.706.707-2.829 2.828.708.708 2.828-2.828a1 1 0 0 0 0-1.414L5.658 7.95a.993.993 0 0 0-.708-.293.994.994 0 0 0-.708.293l-2.828 2.829.707.707 2.829-2.83.707.708-2.829 2.829.904.903zm1.218-6.44c.512 0 1.023.196 1.414.587l2.121 2.12a2 2 0 0 1 0 2.83L4.95 15.728 0 10.778l3.535-3.535a1.993 1.993 0 0 1 1.415-.586zM14.02 1l.708.707-6.95 6.95-.707-.707L14.021 1z"}))};broom.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var brush=function brush(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"brush-a",d:"M11.993 8.17c0 .83-.673 1.507-1.499 1.507H5.498A1.505 1.505 0 0 1 3.999 8.17V6.662h7.994V8.17zm-2.998 5.998c0 .455-.448.827-.999.827-.55 0-1-.372-1-.827v-3.486h2v3.486zM4 5.658V1.005h1.262v4.653H4zm2.261 0V1.005h1.244v4.653H6.26zm2.244 0V1.005h1.235v4.653H8.504zm2.234 0V1.005h1.254v4.653h-1.254zM3.008 0L3 8.17a2.509 2.509 0 0 0 2.498 2.512h.5v3.486c0 1.01.896 1.832 1.998 1.832 1.102 0 1.998-.822 1.998-1.832v-3.486h.5a2.509 2.509 0 0 0 2.498-2.512L13 0H3.008z"})),_react.default.createElement("use",{xlinkHref:"#brush-a"}))};brush.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var bullseye=function bullseye(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12zm0 1A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0-3a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0-1a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"}))};bullseye.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var calendar=function calendar(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M14 4v-.994C14 2.45 13.55 2 12.994 2H11v1h-1V2H6v1H5V2H3.006C2.45 2 2 2.45 2 3.006v9.988C2 13.55 2.45 14 3.006 14h9.988C13.55 14 14 13.55 14 12.994V5H2V4h12zm-3-3h1.994C14.102 1 15 1.897 15 3.006v9.988A2.005 2.005 0 0 1 12.994 15H3.006A2.005 2.005 0 0 1 1 12.994V3.006C1 1.898 1.897 1 3.006 1H5V0h1v1h4V0h1v1zM4 7h2v1H4V7zm3 0h2v1H7V7zm3 0h2v1h-2V7zM4 9h2v1H4V9zm3 0h2v1H7V9zm3 0h2v1h-2V9zm-6 2h2v1H4v-1zm3 0h2v1H7v-1zm3 0h2v1h-2v-1z",fillRule:"evenodd"}))};calendar.defaultProps={width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"};var canvasApp=function canvasApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M7 17h2v7H7zM12 14h2v10h-2zM17 16h2v8h-2zM22 14h3v2h-3zM22 18h3v2h-3zM22 22h3v2h-3z"}),_react.default.createElement("path",{d:"M30.73 24a6.47 6.47 0 0 1 .45-2.19c.337-.9.52-1.85.54-2.81a8.55 8.55 0 0 0-.54-2.81 6.47 6.47 0 0 1-.45-2.19 9.2 9.2 0 0 1 .62-2.49c.53-1.57 1.08-3.19.08-4.2-1-1.01-2.41-.44-3.52.05a5.59 5.59 0 0 1-2.09.64 5.3 5.3 0 0 1-.59 0L16 .28 6.77 8a5.3 5.3 0 0 1-.59 0 5.59 5.59 0 0 1-2.09-.65C3 6.87 1.6 6.25.57 7.31c-1.03 1.06-.45 2.63.08 4.2A9.2 9.2 0 0 1 1.27 14a6.47 6.47 0 0 1-.45 2.19A8.55 8.55 0 0 0 .28 19c.02.96.203 1.91.54 2.81A6.47 6.47 0 0 1 1.27 24a9.2 9.2 0 0 1-.62 2.49c-.53 1.57-1.08 3.19-.08 4.2.353.38.852.59 1.37.58a5.67 5.67 0 0 0 2.15-.63A5.59 5.59 0 0 1 6.18 30a7.13 7.13 0 0 1 2.29.47 8 8 0 0 0 2.62.53 7.37 7.37 0 0 0 2.47-.51A7.14 7.14 0 0 1 16 30a6.24 6.24 0 0 1 2.14.45 8 8 0 0 0 2.77.55 8.08 8.08 0 0 0 2.77-.55 6.24 6.24 0 0 1 2.14-.45 5.59 5.59 0 0 1 2.09.65c1.11.49 2.49 1.11 3.52.05 1.03-1.06.45-2.63-.08-4.2a9.2 9.2 0 0 1-.62-2.5zM21.17 7h-.26a8 8 0 0 0-2.77.55A6.24 6.24 0 0 1 16 8a6.24 6.24 0 0 1-2.14-.45A8 8 0 0 0 11.09 7h-.26L16 2.72 21.17 7zm8.89 22.27a4.42 4.42 0 0 1-1.34-.46 7.08 7.08 0 0 0-2.9-.82 8.14 8.14 0 0 0-2.78.55 6.13 6.13 0 0 1-2.13.45 6.24 6.24 0 0 1-2.14-.45A8 8 0 0 0 16 28a9 9 0 0 0-3.08.6 5.74 5.74 0 0 1-1.83.4 6.36 6.36 0 0 1-2-.43A8.72 8.72 0 0 0 6.18 28a7.08 7.08 0 0 0-2.9.82 9.65 9.65 0 0 1-1.28.52 6.08 6.08 0 0 1 .52-2.21c.403-1 .65-2.055.73-3.13a8.55 8.55 0 0 0-.54-2.81A6.47 6.47 0 0 1 2.27 19a6.47 6.47 0 0 1 .44-2.19c.337-.9.52-1.85.54-2.81a10.48 10.48 0 0 0-.72-3.13 9 9 0 0 1-.59-2.16H2c.447.1.88.255 1.29.46a7.08 7.08 0 0 0 2.9.82A8.14 8.14 0 0 0 9 9.44 6.13 6.13 0 0 1 11.09 9a6.13 6.13 0 0 1 2.13.45A8.14 8.14 0 0 0 16 10a8.14 8.14 0 0 0 2.78-.55A6.13 6.13 0 0 1 20.91 9a6.13 6.13 0 0 1 2.09.44 8.14 8.14 0 0 0 2.78.55 7.08 7.08 0 0 0 2.9-.82A9.65 9.65 0 0 1 30 8.66a6.08 6.08 0 0 1-.52 2.21c-.403 1-.65 2.055-.73 3.13.02.96.203 1.91.54 2.81a6.47 6.47 0 0 1 .44 2.19 6.47 6.47 0 0 1-.44 2.19 8.55 8.55 0 0 0-.54 2.81c.078 1.074.32 2.13.72 3.13a9 9 0 0 1 .59 2.16v-.02z"}))};canvasApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var codeApp=function codeApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M11.276 29l.594 2H0l7.621-14.29.811 2.73L3.333 29h7.943zM28.92 31l-4.987-16.598A16 16 0 0 0 8.688 3l1.8 6H8.4L6 1h2.607a18 18 0 0 1 17.241 12.828L31 31h-2.08z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M12.037 14.02L16.492 29h6.827l-2.333-7.849a10 10 0 0 0-8.949-7.13zM9.35 12h2.05a12 12 0 0 1 11.503 8.581L26 31H15L9.35 12z"}))};codeApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var check=function check(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M6.5 12a.502.502 0 0 1-.354-.146l-4-4a.502.502 0 0 1 .708-.708L6.5 10.793l6.646-6.647a.502.502 0 0 1 .708.708l-7 7A.502.502 0 0 1 6.5 12"}))};check.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var checkInCircleFilled=function checkInCircleFilled(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm3.65-10.857L6.91 9.8 4.35 7.286a.5.5 0 0 0-.7.714l2.909 2.857a.5.5 0 0 0 .7 0l5.091-5a.5.5 0 1 0-.7-.714z"}))};checkInCircleFilled.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var clock=function clock(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M7.5 13A5.506 5.506 0 0 1 2 7.5C2 4.467 4.467 2 7.5 2S13 4.467 13 7.5 10.533 13 7.5 13m0-12a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13m3 6H8V3.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 0-1"}))};clock.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var compute=function compute(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M4 3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H4zm10 8v1a2 2 0 0 1-2 2h-1v2h-1v-2H8.5v2h-1v-2H6v2H5v-2H4a2 2 0 0 1-2-2v-1H0v-1h2V8.5H0v-1h2V6H0V5h2V4a2 2 0 0 1 2-2h1V0h1v2h1.5V0h1v2H10V0h1v2h1a2 2 0 0 1 2 2v1h2v1h-2v1.5h2v1h-2V10h2v1h-2z"}),_react.default.createElement("rect",{width:"6",height:"6",x:"5",y:"5",rx:"1"}))};compute.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var console=function console(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"console-a",d:"M1.157 12.224L5.768 8.32a.404.404 0 0 0 0-.64l-4.61-3.904a.407.407 0 0 1 0-.643.608.608 0 0 1 .759 0l4.61 3.904c.631.534.63 1.393 0 1.926l-4.61 3.904a.608.608 0 0 1-.76 0 .407.407 0 0 1 0-.643zM9 12h6v1H9v-1z"})),_react.default.createElement("use",{xlinkHref:"#console-a"}))};console.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var consoleApp=function consoleApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M29 9H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h26a3 3 0 0 1 3 3v3a3 3 0 0 1-3 3zM3 2a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H3z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M29 32H3a3 3 0 0 1-3-3V14a3 3 0 0 1 3-3h26a3 3 0 0 1 3 3v15a3 3 0 0 1-3 3zM3 13a1 1 0 0 0-1 1v15a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V14a1 1 0 0 0-1-1H3z"}),_react.default.createElement("path",{d:"M7.29 17.71l3.3 3.29-3.3 3.29 1.42 1.42 4.7-4.71-4.7-4.71zM15 24h9v2h-9z"}))};consoleApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var controlsHorizontal=function controlsHorizontal(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M8.05 10a2.5 2.5 0 0 1 4.9 0h1.55a.5.5 0 1 1 0 1h-1.55a2.5 2.5 0 0 1-4.9 0H1.5a.5.5 0 1 1 0-1h6.55zm-.1-4a2.5 2.5 0 0 1-4.9 0H1.5a.5.5 0 0 1 0-1h1.55a2.5 2.5 0 0 1 4.9 0h6.55a.5.5 0 1 1 0 1H7.95zM4 5.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0zm8 5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0z"}))};controlsHorizontal.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var controlsVertical=function controlsVertical(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M10 7.95a2.5 2.5 0 0 1 0-4.9V1.5a.5.5 0 1 1 1 0v1.55a2.5 2.5 0 0 1 0 4.9v6.55a.5.5 0 1 1-1 0V7.95zm-4 .1a2.5 2.5 0 0 1 0 4.9v1.55a.5.5 0 1 1-1 0v-1.55a2.5 2.5 0 0 1 0-4.9V1.5a.5.5 0 0 1 1 0v6.55zM5.5 12a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm5-8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z"}))};controlsVertical.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var copy=function copy(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"copy-a",d:"M11.4 0c.235 0 .46.099.622.273l2.743 3c.151.162.235.378.235.602v9.25a.867.867 0 0 1-.857.875H3.857A.867.867 0 0 1 3 13.125V.875C3 .392 3.384 0 3.857 0H11.4zM14 4h-2.6a.4.4 0 0 1-.4-.4V1H4v12h10V4z"})),_react.default.createElement("use",{xlinkHref:"#copy-a"}),_react.default.createElement("path",{d:"M3 1H2a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-1h-1v1H2V2h1V1z"}))};copy.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var copyClipboard=function copyClipboard(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M0 2.729V2a1 1 0 0 1 1-1h2v1H1v12h4v1H1a1 1 0 0 1-1-1V2.729zM12 5V2a1 1 0 0 0-1-1H9v1h2v3h1zm-1 1h2v9H6V6h5V5H6a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2v1z"}),_react.default.createElement("path",{d:"M7 10h5V9H7zM7 8h5V7H7zM7 12h5v-1H7zM7 14h5v-1H7zM9 2V1a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v1h1V1h4v1h1zM3 3h6V2H3z"}))};copyClipboard.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var createAdvancedJob=function createAdvancedJob(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M16 32C7.163 32 0 24.837 0 16S7.163 0 16 0s16 7.163 16 16h-2c0-7.732-6.268-14-14-14S2 8.268 2 16s6.268 14 14 14v2z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M23 15h-6V9h-2v6H9v2h6v6h2v-6h6zM20 25h2v7h-2zM25 20h2v12h-2zM30 23h2v9h-2z"}))};createAdvancedJob.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var createMultiMetricJob=function createMultiMetricJob(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M30.976 10.41a6.23 6.23 0 0 1-1.75.715 12.979 12.979 0 0 1 0 9.75 6.23 6.23 0 0 1 1.75.716 14.984 14.984 0 0 0 0-11.182zM12.125 3.764a12.979 12.979 0 0 1 9.75 0 6.23 6.23 0 0 1 .716-1.75 14.984 14.984 0 0 0-11.182 0 6.23 6.23 0 0 1 .716 1.75zM3.824 16c-.005-1.67.315-3.326.94-4.875a6.061 6.061 0 0 1-1.74-.716 14.861 14.861 0 0 0 0 11.182 6.061 6.061 0 0 1 1.74-.716A12.932 12.932 0 0 1 3.825 16zm18.051 12.235a12.979 12.979 0 0 1-9.75 0 6.061 6.061 0 0 1-.716 1.741 14.861 14.861 0 0 0 11.182 0 6.061 6.061 0 0 1-.716-1.74z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M23.588 15.059h-5.647V9.412h-1.882v5.647h-5.647v1.882h5.647v5.647h1.882v-5.647h5.647zM6.176 31.059a4.235 4.235 0 1 1 4.236-4.235 4.245 4.245 0 0 1-4.236 4.235zm0-6.588a2.353 2.353 0 1 0 0 4.705 2.353 2.353 0 0 0 0-4.705zm21.648 6.588a4.235 4.235 0 1 1 4.235-4.235 4.245 4.245 0 0 1-4.235 4.235zm0-6.588a2.353 2.353 0 1 0 0 4.705 2.353 2.353 0 0 0 0-4.705zM6.176 9.41a4.235 4.235 0 1 1 4.236-4.235 4.245 4.245 0 0 1-4.236 4.236zm0-6.587a2.353 2.353 0 1 0 0 4.705 2.353 2.353 0 0 0 0-4.705zm21.648 6.588a4.235 4.235 0 1 1 4.235-4.236 4.245 4.245 0 0 1-4.235 4.236zm0-6.588a2.353 2.353 0 1 0 0 4.705 2.353 2.353 0 0 0 0-4.705z"}))};createMultiMetricJob.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var createPopulationJob=function createPopulationJob(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M16 21.706c-5.718 0-10.353-4.635-10.353-10.353S10.282 1 16 1s10.353 4.635 10.353 10.353S21.718 21.706 16 21.706zm0-18.824a8.47 8.47 0 1 0 0 16.942 8.47 8.47 0 0 0 0-16.942z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M20.706 10.412h-3.765V6.647h-1.882v3.765h-3.765v1.882h3.765v3.765h1.882v-3.765h3.765zM10.136 22.308l-1.449-1.204-2.381 2.823a3.765 3.765 0 0 0-1.6-.339 3.765 3.765 0 1 0 3.05 1.572l2.38-2.852zm-5.43 6.927a1.882 1.882 0 1 1 0-3.764 1.882 1.882 0 0 1 0 3.764zm22.588-5.647c-.554.003-1.1.129-1.6.367l-2.381-2.823-1.45 1.204 2.382 2.824a3.765 3.765 0 1 0 3.05-1.572zm0 5.647a1.882 1.882 0 1 1 0-3.764 1.882 1.882 0 0 1 0 3.764z"}))};createPopulationJob.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var createSingleMetricJob=function createSingleMetricJob(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M16 32C7.163 32 0 24.837 0 16S7.163 0 16 0s16 7.163 16 16a16 16 0 0 1-16 16zm0-30C8.268 2 2 8.268 2 16s6.268 14 14 14 14-6.268 14-14A14 14 0 0 0 16 2z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M23 15h-6V9h-2v6H9v2h6v6h2v-6h6z"}))};createSingleMetricJob.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var cross=function cross(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M7.293 8L3.146 3.854a.5.5 0 1 1 .708-.708L8 7.293l4.146-4.147a.5.5 0 0 1 .708.708L8.707 8l4.147 4.146a.5.5 0 0 1-.708.708L8 8.707l-4.146 4.147a.5.5 0 0 1-.708-.708L7.293 8z"}))};cross.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var crossClusterReplicationApp=function crossClusterReplicationApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M0 0v16h8.7l5.3-6V0H0zm2 2h10v7H7v5H2V2zm8.45 9L9 12.64V11h1.45zM18 16v16h8.7l5.3-6V16H18zm2 2h10v7h-5v5h-5V18zm8.45 9L27 28.64V27h1.45z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M5 18H3c0 6.075 4.925 11 11 11h2v-2h-2a9 9 0 0 1-9-9zM18 3h-2v2h2a9 9 0 0 1 9 9h2c0-6.075-4.925-11-11-11z"}))};crossClusterReplicationApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var crosshairs=function crosshairs(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M5.822 1.874a.5.5 0 1 1 .335.942 5.517 5.517 0 0 0-3.34 3.341.5.5 0 1 1-.943-.335 6.517 6.517 0 0 1 3.948-3.948zM1.864 10.15a.5.5 0 1 1 .944-.33 5.517 5.517 0 0 0 3.365 3.37.5.5 0 0 1-.333.943 6.517 6.517 0 0 1-3.976-3.983zm8.302 3.981a.5.5 0 1 1-.333-.943 5.517 5.517 0 0 0 3.347-3.332.5.5 0 1 1 .941.337 6.517 6.517 0 0 1-3.955 3.938zm3.968-8.285a.5.5 0 1 1-.943.331A5.517 5.517 0 0 0 9.85 2.82a.5.5 0 0 1 .337-.942 6.517 6.517 0 0 1 3.946 3.968zM8.5 3.5a.5.5 0 0 1-1 0V.997a.5.5 0 0 1 1 0V3.5zm-4.997 4a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h2.503zM7.5 12.497a.5.5 0 0 1 1 0V15a.5.5 0 1 1-1 0v-2.503zM12.497 8.5a.5.5 0 0 1 0-1H15a.5.5 0 1 1 0 1h-2.503zM8 9a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"}))};crosshairs.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var crossInACircleFilled=function crossInACircleFilled(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8.746 8l3.1-3.1a.527.527 0 1 0-.746-.746L8 7.254l-3.1-3.1a.527.527 0 1 0-.746.746l3.1 3.1-3.1 3.1a.527.527 0 1 0 .746.746l3.1-3.1 3.1 3.1a.527.527 0 1 0 .746-.746L8.746 8zM8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16z"}))};crossInACircleFilled.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var dashboardApp=function dashboardApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M29 9H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h26a3 3 0 0 1 3 3v3a3 3 0 0 1-3 3zM3 2a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H3z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M12 20H3a3 3 0 0 1-3-3v-3a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v3a3 3 0 0 1-3 3zm-9-7a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1H3z"}),_react.default.createElement("path",{d:"M12 31H3a3 3 0 0 1-3-3v-3a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v3a3 3 0 0 1-3 3zm-9-7a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1H3z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M29 31h-9a3 3 0 0 1-3-3V14a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3zm-9-18a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1V14a1 1 0 0 0-1-1h-9z"}))};dashboardApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var database=function database(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M2 12h12v-1.97c-1.225.582-3.454.97-6 .97s-4.775-.388-6-.97V12zm-1 0V3c0-1.105 3.134-2 7-2s7 .895 7 2v9c0 1.105-3.134 2-7 2s-7-.895-7-2zm1-3h12V7.03c-1.225.582-3.454.97-6 .97s-4.775-.388-6-.97V9zm0-4.97V6h12V4.03c-1.225.582-3.454.97-6 .97s-4.775-.388-6-.97zm10.675-1.483C11.467 2.202 9.795 2 8 2c-1.794 0-3.467.202-4.675.547-.492.14-.88.298-1.136.453.256.155.644.312 1.136.453C4.533 3.798 6.205 4 8 4c1.794 0 3.467-.202 4.675-.547.492-.14.88-.298 1.136-.453-.256-.155-.644-.312-1.136-.453zM2 6c.257.155.833.312 1.325.453C4.533 6.798 6.205 7 8 7c1.794 0 3.467-.202 4.675-.547.492-.14 1.07-.298 1.327-.453H2zm0 3c.257.155.833.312 1.325.453C4.533 9.798 6.205 10 8 10c1.794 0 3.467-.202 4.675-.547.492-.14 1.07-.298 1.327-.453H2zm0 3c.257.155.833.312 1.325.453C4.533 12.798 6.205 13 8 13c1.794 0 3.467-.202 4.675-.547.492-.14 1.07-.298 1.327-.453H2z"}))};database.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var dataVisualizer=function dataVisualizer(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M23 12.05V13a10 10 0 0 1-.11 1.44 6 6 0 1 1-8.45 8.45A10 10 0 0 1 13 23h-.95A8 8 0 1 0 23 12.05z"}),_react.default.createElement("path",{d:"M0 11h2V2h9V0H0zM21 0v2h9v9h2V0zM2 21H0v11h11v-2H2zM30 30h-9v2h11V21h-2zM13 21a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm0-14a6 6 0 1 0 0 12 6 6 0 0 0 0-12z"}))};dataVisualizer.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var devToolsApp=function devToolsApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M21 28h-2v-8.49l.6-.26A9 9 0 0 0 21 3.52V11H11V3.52a9 9 0 0 0 1.4 15.73l.6.26V28h-2v-7.21A11 11 0 0 1 11.6.92L13 .31V9h6V.31l1.4.61a11 11 0 0 1 .6 19.87V28z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M11 30h10v2H11z"}))};devToolsApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var discoverApp=function discoverApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M8.33 23.67l4.79-10.55 10.55-4.79-4.79 10.55-10.55 4.79zm6.3-9l-2.28 5 5-2.28 2.28-5-5 2.28z"}),_react.default.createElement("path",{d:"M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16A16 16 0 0 0 16 0zm1 29.95V28h-2v1.95A14 14 0 0 1 2.05 17H4v-2H2.05A14 14 0 0 1 15 2.05V4h2V2.05A14 14 0 0 1 29.95 15H28v2h1.95A14 14 0 0 1 17 29.95z"}))};discoverApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var document=function document(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"document-a",d:"M10.8 0H2a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4.429c0-.256-.098-.503-.274-.689l-3.2-3.428A1.002 1.002 0 0 0 10.8 0M14 5v10H2V1h8v3.5a.5.5 0 0 0 .5.5H14z"})),_react.default.createElement("use",{xlinkHref:"#document-a"}))};document.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var dot=function dot(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("circle",{id:"dot-a",cx:"8",cy:"8",r:"4"})),_react.default.createElement("use",{xlinkHref:"#dot-a"}))};dot.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var editorAlignCenter=function editorAlignCenter(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"editor_align_center-a",d:"M5 4V3h6v1H5zM3 7V6h10v1H3zm2 3V9h6v1H5zm-2 3v-1h10v1H3z"})),_react.default.createElement("use",{xlinkHref:"#editor_align_center-a"}))};editorAlignCenter.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var editorAlignLeft=function editorAlignLeft(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"editor_align_left-a",d:"M2 4V3h6v1H2zm0 3V6h10v1H2zm0 3V9h6v1H2zm0 3v-1h10v1H2z"})),_react.default.createElement("use",{xlinkHref:"#editor_align_left-a"}))};editorAlignLeft.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var editorAlignRight=function editorAlignRight(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"editor_align_right-a",d:"M8 4V3h6v1H8zM4 7V6h10v1H4zm4 3V9h6v1H8zm-4 3v-1h10v1H4z"})),_react.default.createElement("use",{xlinkHref:"#editor_align_right-a"}))};editorAlignRight.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var editorBold=function editorBold(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"editor_bold-a",d:"M8.193 13H4V3h4.151c1.816 0 2.987.977 2.987 2.495 0 1.074-.797 2.01-1.823 2.176v.055c1.359.132 2.308 1.11 2.308 2.433 0 1.76-1.296 2.841-3.43 2.841zM5.788 4.393v2.82h1.635c1.248 0 1.948-.526 1.948-1.455 0-.873-.603-1.365-1.67-1.365H5.788zm0 7.214h1.996c1.316 0 2.016-.547 2.016-1.573 0-1.019-.72-1.552-2.092-1.552h-1.92v3.125z"})),_react.default.createElement("use",{xlinkHref:"#editor_bold-a"}))};editorBold.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var editorCodeBlock=function editorCodeBlock(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M2.414 8.036L4.89 10.51a.5.5 0 0 1-.707.708L1.354 8.389a.5.5 0 0 1 0-.707l2.828-2.828a.5.5 0 1 1 .707.707L2.414 8.036zm8.768 2.474l2.475-2.474-2.475-2.475a.5.5 0 0 1 .707-.707l2.829 2.828a.5.5 0 0 1 0 .707l-2.829 2.829a.5.5 0 1 1-.707-.708zM8.559 2.506a.5.5 0 0 1 .981.19L7.441 13.494a.5.5 0 0 1-.981-.19L8.559 2.506z"}))};editorCodeBlock.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var editorComment=function editorComment(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"editor_comment-a",d:"M6.111 10H12a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h1v1.297L6.111 10zm.46 1L4 14v-3a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H6.571z"})),_react.default.createElement("use",{xlinkHref:"#editor_comment-a"}))};editorComment.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var editorHeading=function editorHeading(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"editor_heading-a",d:"M6 11a1 1 0 0 1 0 2H4a1 1 0 0 1 0-2V5a1 1 0 1 1 0-2h2a1 1 0 1 1 0 2v2h4V5a1 1 0 1 1 0-2h2a1 1 0 0 1 0 2v6a1 1 0 0 1 0 2h-2a1 1 0 0 1 0-2V9H6v2z"})),_react.default.createElement("use",{xlinkHref:"#editor_heading-a"}))};editorHeading.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var editorItalic=function editorItalic(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"editor_italic-a",d:"M8.16 12H9.5a.5.5 0 1 1 0 1h-4a.5.5 0 1 1 0-1h1.639l1.7-8H7.5a.5.5 0 0 1 0-1h4a.5.5 0 1 1 0 1H9.861l-1.7 8z"})),_react.default.createElement("use",{xlinkHref:"#editor_italic-a"}))};editorItalic.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var editorLink=function editorLink(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"editor_link-a",d:"M5.393 13.42a1.98 1.98 0 0 1-1.408-.583l-.403-.402a1.994 1.994 0 0 1 0-2.817l2.616-2.615a1.98 1.98 0 0 1 1.408-.584c.532 0 1.033.208 1.409.584l.402.402a.284.284 0 1 1-.402.403l-.403-.403a1.414 1.414 0 0 0-1.006-.417c-.38 0-.737.149-1.006.417L3.985 10.02a1.424 1.424 0 0 0 0 2.012l.402.402c.269.27.626.417 1.006.417s.737-.148 1.006-.417l1.811-1.81a.284.284 0 1 1 .402.402l-1.81 1.81a1.977 1.977 0 0 1-1.409.584zM8.813 10a1.978 1.978 0 0 1-1.408-.583.284.284 0 1 1 .403-.403c.268.269.626.417 1.006.417s.737-.148 1.006-.417L12.435 6.4a1.424 1.424 0 0 0 0-2.012l-.402-.403a1.425 1.425 0 0 0-2.012 0l-1.81 1.811a.284.284 0 1 1-.403-.402l1.81-1.81a1.994 1.994 0 0 1 2.817 0l.403.402c.776.776.776 2.04 0 2.816l-2.616 2.616A1.979 1.979 0 0 1 8.814 10z"})),_react.default.createElement("use",{xlinkHref:"#editor_link-a"}))};editorLink.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var editorOrderedList=function editorOrderedList(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"editor_ordered_list-a",d:"M3 8v1h1v1H1V9h1V8H1V7h3v1H3zm1 4v2H1v-1h1v-1H1v-1h3v1zM3 5h1v1H1V5h1V4H1V3h2v2zm2.5-1h8a.5.5 0 1 1 0 1h-8a.5.5 0 0 1 0-1zm0 4h8a.5.5 0 1 1 0 1h-8a.5.5 0 0 1 0-1zm0 4h8a.5.5 0 1 1 0 1h-8a.5.5 0 1 1 0-1z"})),_react.default.createElement("use",{xlinkHref:"#editor_ordered_list-a"}))};editorOrderedList.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var editorRedo=function editorRedo(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M10 6H5C3.057 6 2 7.057 2 9s1.057 3 3 3h1.5v-1H5c-1.39 0-2-.61-2-2 0-1.39.61-2 2-2h5v3l3.5-3.5L10 3v3z"}))};editorRedo.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var editorStrike=function editorStrike(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"editor_strike-a",d:"M10.023 10h1.274c.006.08.01.164.01.25a2.557 2.557 0 0 1-.883 1.949c-.284.25-.627.446-1.03.588A4.087 4.087 0 0 1 8.028 13a4.616 4.616 0 0 1-3.382-1.426c-.193-.259-.193-.5 0-.724.193-.223.438-.266.735-.13.343.363.748.655 1.213.876.466.22.949.33 1.449.33.637 0 1.132-.144 1.485-.433.353-.29.53-.67.53-1.14a1.72 1.72 0 0 0-.034-.353zM5.586 7a2.49 2.49 0 0 1-.294-.507 2.316 2.316 0 0 1-.177-.934c0-.363.076-.701.228-1.015.152-.314.363-.586.633-.816.27-.23.588-.41.955-.537A3.683 3.683 0 0 1 8.145 3c.578 0 1.112.11 1.603.33.49.221.907.508 1.25.861.16.282.16.512 0 .692-.16.18-.38.214-.662.102a3.438 3.438 0 0 0-.978-.669 2.914 2.914 0 0 0-1.213-.242c-.54 0-.973.125-1.302.375-.328.25-.492.595-.492 1.036 0 .236.046.434.14.596.092.162.217.304.374.426.157.123.329.23.515.324.119.06.24.116.362.169H5.586zM2.5 8h11a.5.5 0 1 1 0 1h-11a.5.5 0 0 1 0-1z"})),_react.default.createElement("use",{xlinkHref:"#editor_strike-a"}))};editorStrike.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var editorTable=function editorTable(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"editor_table-a",d:"M14 3v2H2V3v10h12V3zM2 2h12c.552 0 1 .413 1 .923v10.154c0 .51-.448.923-1 .923H2c-.552 0-1-.413-1-.923V2.923C1 2.413 1.448 2 2 2zm0 5h12v1H2V7zm0 3h12v1H2v-1z"})),_react.default.createElement("use",{xlinkHref:"#editor_table-a"}))};editorTable.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var editorUnderline=function editorUnderline(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M5 3.536V7.8c0 1.628 1.224 2.6 3 2.6 1.783 0 3-.972 3-2.6V3.536c0-.357.167-.536.5-.536.333 0 .5.179.5.536v4.318c0 2.093-1.665 3.546-4 3.546S4 9.893 4 7.8V3.536C4 3.179 4.167 3 4.5 3c.333 0 .5.179.5.536zM2.5 13h11a.5.5 0 1 1 0 1h-11a.5.5 0 1 1 0-1z"}))};editorUnderline.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var editorUndo=function editorUndo(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M5.5 6h5c1.943 0 3 1.057 3 3s-1.057 3-3 3H9v-1h1.5c1.39 0 2-.61 2-2 0-1.39-.61-2-2-2h-5v3L2 6.5 5.5 3v3z"}))};editorUndo.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var editorUnorderedList=function editorUnorderedList(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"editor_unordered_list-a",d:"M5.5 4h8a.5.5 0 1 1 0 1h-8a.5.5 0 0 1 0-1zm0 4h8a.5.5 0 1 1 0 1h-8a.5.5 0 0 1 0-1zm0 4h8a.5.5 0 1 1 0 1h-8a.5.5 0 1 1 0-1zm-3-7a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm0 4a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm0 4a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1z"})),_react.default.createElement("use",{xlinkHref:"#editor_unordered_list-a"}))};editorUnorderedList.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var email=function email(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"email5-a",d:"M14.95 3.684L8.637 8.912a1 1 0 0 1-1.276 0L1.051 3.684A.999.999 0 0 0 1 4v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a.999.999 0 0 0-.05-.316zM2 2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm-.21 1l5.576 4.603a1 1 0 0 0 1.27.003L14.268 3H1.79z"})),_react.default.createElement("use",{fillRule:"evenodd",xlinkHref:"#email5-a"}))};email.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var empty=function empty(props){return _react.default.createElement("svg",props)};empty.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var emsApp=function emsApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M3 22h3v2H1V1h23v5h-2V3H3z"}),_react.default.createElement("path",{d:"M15.228 29c1.492-1.678 1.353-2.859.009-5.654-.049-.1-.049-.1-.097-.203-1.369-2.855-1.626-4.491-.325-6.582 2.796-4.498 9.514-2.642 14.185 2.317V10H10v19h5.228zm2.47 0H29v-6.983c-3.88-5.406-10.376-7.795-12.487-4.4-.83 1.336-.669 2.37.43 4.662l.097.2c1.352 2.814 1.731 4.63.659 6.521zM31 8v23H8V8h23z"}))};emsApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var exit=function exit(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M12.535 12.493a.47.47 0 0 1 .468.468v2.564a.473.473 0 0 1-.466.475H3V0H12.595a.45.45 0 0 1 .398.463v2.565a.469.469 0 0 1-.468.467h-.065a.468.468 0 0 1-.467-.467V1H4v14h8.01l-.007-2.04c0-.257.21-.467.467-.467h.065zm-1.096-7.59l2.121 2.122a1.5 1.5 0 0 1 0 2.121l-2.12 2.122a.5.5 0 1 1-.708-.708l2.121-2.12a.5.5 0 0 0 0-.708l-2.121-2.121a.5.5 0 0 1 .707-.707z"}))};exit.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var expand=function expand(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M4.354 12.354l8-8a.5.5 0 0 0-.708-.708l-8 8a.5.5 0 0 0 .708.708zM1 10.5a.5.5 0 1 1 1 0v3a.5.5 0 0 0 .5.5h3a.5.5 0 1 1 0 1h-3A1.5 1.5 0 0 1 1 13.5v-3zm14-5a.5.5 0 1 1-1 0v-3a.5.5 0 0 0-.5-.5h-3a.5.5 0 1 1 0-1h3A1.5 1.5 0 0 1 15 2.5v3z"}))};expand.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var exportAction=function exportAction(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8.505 1c.422-.003.844.17 1.166.516l1.95 2.05c.213.228.213.6 0 .828a.52.52 0 0 1-.771 0L9 2.451v7.993c0 .307-.224.556-.5.556s-.5-.249-.5-.556v-7.96l-1.82 1.91a.52.52 0 0 1-.77 0 .617.617 0 0 1 0-.829l1.95-2.05A1.575 1.575 0 0 1 8.5 1h.005zM4.18 7c-.473 0-.88.294-.972.703l-1.189 5.25a.776.776 0 0 0-.019.172c0 .483.444.875.99.875H14.01c.065 0 .13-.006.194-.017.537-.095.885-.556.778-1.03l-1.19-5.25C13.7 7.294 13.293 7 12.822 7H4.18zM6 6v1h5V6h1.825c.946 0 1.76.606 1.946 1.447l1.19 5.4c.215.975-.482 1.923-1.556 2.118a2.18 2.18 0 0 1-.39.035H2.985C1.888 15 1 14.194 1 13.2c0-.119.013-.237.039-.353l1.19-5.4C2.414 6.606 3.229 6 4.174 6H6z"}))};exportAction.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var eye=function eye(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M15.98 7.873c.013.03.02.064.02.098v.06a.24.24 0 0 1-.02.097C15.952 8.188 13.291 14 8 14S.047 8.188.02 8.128A.24.24 0 0 1 0 8.03v-.059c0-.034.007-.068.02-.098C.048 7.813 2.709 2 8 2s7.953 5.813 7.98 5.873zm-1.37-.424a12.097 12.097 0 0 0-1.385-1.862C11.739 3.956 9.999 3 8 3c-2 0-3.74.956-5.225 2.587a12.098 12.098 0 0 0-1.701 2.414 12.095 12.095 0 0 0 1.7 2.413C4.26 12.043 6.002 13 8 13s3.74-.956 5.225-2.587A12.097 12.097 0 0 0 14.926 8c-.08-.15-.189-.343-.315-.551zM8 4.75A3.253 3.253 0 0 1 11.25 8 3.254 3.254 0 0 1 8 11.25 3.253 3.253 0 0 1 4.75 8 3.252 3.252 0 0 1 8 4.75zm0 1C6.76 5.75 5.75 6.76 5.75 8S6.76 10.25 8 10.25 10.25 9.24 10.25 8 9.24 5.75 8 5.75zm0 1.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5z"}))};eye.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var eyeClosed=function eyeClosed(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M5.318 13.47l.776-.776A6.04 6.04 0 0 0 8 13c1.999 0 3.74-.956 5.225-2.587A12.097 12.097 0 0 0 14.926 8a12.097 12.097 0 0 0-1.701-2.413l-.011-.012.707-.708c1.359 1.476 2.045 2.976 2.058 3.006.014.03.021.064.021.098v.06a.24.24 0 0 1-.02.097C15.952 8.188 13.291 14 8 14a7.03 7.03 0 0 1-2.682-.53zM2.04 11.092C.707 9.629.034 8.158.02 8.128A.24.24 0 0 1 0 8.03v-.059c0-.034.007-.068.02-.098C.048 7.813 2.709 2 8 2c.962 0 1.837.192 2.625.507l-.78.78A6.039 6.039 0 0 0 8 3c-2 0-3.74.956-5.225 2.587a12.098 12.098 0 0 0-1.701 2.414 12.11 12.11 0 0 0 1.674 2.383l-.708.708zM8.362 4.77L7.255 5.877a2.262 2.262 0 0 0-1.378 1.378L4.77 8.362A3.252 3.252 0 0 1 8.362 4.77zm2.86 2.797a3.254 3.254 0 0 1-3.654 3.654l1.06-1.06a2.262 2.262 0 0 0 1.533-1.533l1.06-1.06zm-9.368 7.287a.5.5 0 0 1-.708-.708l13-13a.5.5 0 0 1 .708.708l-13 13z"}))};eyeClosed.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var faceHappy=function faceHappy(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm0-1.067A6.933 6.933 0 1 0 8 1.067a6.933 6.933 0 0 0 0 13.866zM5.333 6.4a1.067 1.067 0 1 1 0-2.133 1.067 1.067 0 0 1 0 2.133zm5.334 0a1.067 1.067 0 1 1 0-2.133 1.067 1.067 0 0 1 0 2.133zM2.739 8.802a.533.533 0 0 1 .922-.537C4.815 10.245 6.249 11.2 8 11.2c1.75 0 3.185-.956 4.34-2.935a.533.533 0 0 1 .92.537c-1.333 2.287-3.1 3.465-5.26 3.465-2.16 0-3.927-1.178-5.26-3.465z"}))};faceHappy.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var faceNeutral=function faceNeutral(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm0-1.067A6.933 6.933 0 1 0 8 1.067a6.933 6.933 0 0 0 0 13.866zM5.333 6.4a1.067 1.067 0 1 1 0-2.133 1.067 1.067 0 0 1 0 2.133zm5.334 0a1.067 1.067 0 1 1 0-2.133 1.067 1.067 0 0 1 0 2.133zM3.2 10.667a.533.533 0 0 1 0-1.067h9.6a.533.533 0 1 1 0 1.067H3.2z",fillRule:"evenodd"}))};faceNeutral.defaultProps={width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"};var faceSad=function faceSad(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm0-1.067A6.933 6.933 0 1 0 8 1.067a6.933 6.933 0 0 0 0 13.866zM5.333 6.4a1.067 1.067 0 1 1 0-2.133 1.067 1.067 0 0 1 0 2.133zm5.334 0a1.067 1.067 0 1 1 0-2.133 1.067 1.067 0 0 1 0 2.133zm2.487 3.868a.533.533 0 1 1-.708.797C10.936 9.725 9.458 9.067 8 9.067c-1.458 0-2.937.657-4.446 1.998a.533.533 0 1 1-.708-.797C4.536 8.765 6.258 8 8 8s3.463.765 5.154 2.268z"}))};faceSad.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var filebeatApp=function filebeatApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M8 18h16v2H8zM8 13h9v2H8zM8 23h16v2H8z"}),_react.default.createElement("path",{d:"M21.41 0H5a3 3 0 0 0-3 3v26a3 3 0 0 0 3 3h22a3 3 0 0 0 3-3V8.59L21.41 0zM22 3.41L26.59 8H22V3.41zM27 30H5a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h15v8h8v19a1 1 0 0 1-1 1z"}))};filebeatApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var filter=function filter(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M7.999 15.999a8 8 0 1 1 0-16 8 8 0 0 1 0 16zM8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zM3.5 5h9a.5.5 0 1 1 0 1h-9a.5.5 0 0 1 0-1zm2 3h5a.5.5 0 1 1 0 1h-5a.5.5 0 0 1 0-1zm2 3h1a.5.5 0 1 1 0 1h-1a.5.5 0 1 1 0-1z"}))};filter.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var folderClosed=function folderClosed(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M6 2H1v11h14V3.5H7.125A1.125 1.125 0 0 1 6 2.375V2zm.25-1a.75.75 0 0 1 .75.75v.625c0 .069.056.125.125.125H15a1 1 0 0 1 1 1V13a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.25z"}))};folderClosed.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var folderOpen=function folderOpen(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M1 9.5l.826-3.717A1 1 0 0 1 2.802 5H13V3.5H7.125A1.125 1.125 0 0 1 6 2.375V2H1v7.5zm.247 3.5h11.95l1.556-7H2.803l-1.556 7zM13 14H1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.25a.75.75 0 0 1 .75.75v.625c0 .069.056.125.125.125H13a1 1 0 0 1 1 1V5h.753a1 1 0 0 1 .977 1.217l-1.556 7a1 1 0 0 1-.976.783H13z"}))};folderOpen.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var fullScreen=function fullScreen(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"fullscreen-a",d:"M13 3v4h-1V4H9V3h4zM3 3h4v1H4v3H3V3zm10 10H9v-1h3V9h1v4zM3 13V9h1v3h3v1H3zM0 1.994C0 .893.895 0 1.994 0h12.012C15.107 0 16 .895 16 1.994v12.012A1.995 1.995 0 0 1 14.006 16H1.994A1.995 1.995 0 0 1 0 14.006V1.994zm1 0v12.012c0 .548.446.994.994.994h12.012a.995.995 0 0 0 .994-.994V1.994A.995.995 0 0 0 14.006 1H1.994A.995.995 0 0 0 1 1.994z"})),_react.default.createElement("use",{xlinkHref:"#fullscreen-a",fillRule:"evenodd"}))};fullScreen.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var gear=function gear(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"gear-a",d:"M.164 10.329L1.87 8 .163 5.67c.18-.601.43-1.19.758-1.757a8.197 8.197 0 0 1 1.142-1.535l2.872.313L6.099.05a8.166 8.166 0 0 1 3.8-.003l1.166 2.644 2.872-.313a8.166 8.166 0 0 1 1.899 3.293L14.13 8l1.706 2.33c-.18.601-.43 1.19-.758 1.757a8.197 8.197 0 0 1-1.142 1.535l-2.872-.313-1.164 2.641a8.166 8.166 0 0 1-3.8.003l-1.166-2.644-2.872.313a8.166 8.166 0 0 1-1.899-3.293zm4.663 1.986a1 1 0 0 1 1.023.591l.957 2.17c.79.134 1.597.132 2.387-.001l.956-2.169a1 1 0 0 1 1.023-.59l2.358.256a7.23 7.23 0 0 0 1.194-2.068l-1.401-1.913a1 1 0 0 1 0-1.182l1.4-1.912a7.165 7.165 0 0 0-1.192-2.069l-2.359.257a1 1 0 0 1-1.023-.591L9.193.924a7.165 7.165 0 0 0-2.387.001L5.85 3.094a1 1 0 0 1-1.023.59l-2.358-.256a7.23 7.23 0 0 0-1.194 2.068l1.401 1.913a1 1 0 0 1 0 1.182l-1.4 1.912c.28.751.681 1.45 1.192 2.069l2.359-.257zM8 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-1a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"})),_react.default.createElement("use",{xlinkHref:"#gear-a"}))};gear.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var gisApp=function gisApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M29.014 23.89l2.296 1.145L16 32.101.53 24.961l2.49-1.056 2.453 1.132-.003.002L16 29.899l10.69-4.934-.003-.001 2.327-1.074zm-4.972-7.482l7.268 3.627L16 27.101.53 19.961l7.668-3.252c.392.486.838 1.02 1.34 1.604L5.47 20.039 16 24.899l10.69-4.934-3.954-1.973c.493-.58.928-1.107 1.306-1.584z"}),_react.default.createElement("path",{d:"M18 9a2 2 0 1 0-4 0 2 2 0 0 0 4 0zm2 0a4 4 0 1 1-8 0 4 4 0 0 1 8 0zm-3.268 12.681l-.732.787-.732-.787c-3.557-3.824-5.817-6.462-6.81-7.96A8.746 8.746 0 0 1 7 8.875C7 3.97 11.033 0 16 0s9 3.97 9 8.875a8.746 8.746 0 0 1-1.459 4.846c-.992 1.498-3.252 4.136-6.809 7.96zm5.142-9.064A6.747 6.747 0 0 0 23 8.875C23 5.081 19.87 2 16 2S9 5.081 9 8.875c0 1.349.394 2.636 1.126 3.742.846 1.277 2.812 3.593 5.874 6.912 3.062-3.32 5.028-5.635 5.874-6.912z"}))};gisApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var globe=function globe(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M1.019 8a6.462 6.462 0 0 0 1.003 3h2.382a14.469 14.469 0 0 1-.396-3h-2.99zm0-1h2.989c.033-1.078.172-2.094.396-3H2.022a6.462 6.462 0 0 0-1.003 3zM13.98 8h-2.989a14.469 14.469 0 0 1-.396 3h2.382a6.462 6.462 0 0 0 1.003-3zm0-1a6.462 6.462 0 0 0-1.003-3h-2.382c.224.906.363 1.922.396 3h2.99zM5.008 8c.037 1.107.195 2.127.429 3h4.126c.234-.873.392-1.893.429-3H5.008zm0-1h4.984a13.422 13.422 0 0 0-.429-3H5.437a13.422 13.422 0 0 0-.429 3zM.016 8H0V7h.016a7.5 7.5 0 0 1 14.968 0H15v1h-.016A7.5 7.5 0 0 1 .016 8zm2.794 4a6.501 6.501 0 0 0 2.717 1.695A7.315 7.315 0 0 1 4.7 12H2.81zm9.38 0H10.3c-.23.657-.51 1.23-.827 1.695A6.501 6.501 0 0 0 12.19 12zm-6.428 0c.484 1.24 1.132 2 1.738 2 .606 0 1.254-.76 1.738-2H5.762zM2.81 3H4.7c.23-.657.51-1.23.827-1.695A6.501 6.501 0 0 0 2.81 3zm9.38 0a6.501 6.501 0 0 0-2.717-1.695c.317.465.597 1.038.827 1.695h1.89zM5.762 3h3.476C8.754 1.76 8.106 1 7.5 1c-.606 0-1.254.76-1.738 2z"}))};globe.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var grab=function grab(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M13.5 6c.276 0 .5.232.5.5 0 .276-.229.5-.5.5h-11a.505.505 0 0 1-.5-.5c0-.276.229-.5.5-.5h11zm0 3c.276 0 .5.232.5.5 0 .276-.229.5-.5.5h-11a.505.505 0 0 1-.5-.5c0-.276.229-.5.5-.5h11z"}))};grab.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var grabHorizontal=function grabHorizontal(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M6 2.5c0-.276.232-.5.5-.5.276 0 .5.229.5.5v11c0 .276-.232.5-.5.5a.503.503 0 0 1-.5-.5v-11zm3 0c0-.276.232-.5.5-.5.276 0 .5.229.5.5v11c0 .276-.232.5-.5.5a.503.503 0 0 1-.5-.5v-11z"}))};grabHorizontal.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var graphApp=function graphApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M24 20a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0-6a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-8.2-5.62A4 4 0 1 1 18 1.06a4 4 0 0 1-2.2 7.32zm0-6a2 2 0 1 0 .01 0h-.01zm.01 29.24a4 4 0 1 1-.083-8 4 4 0 0 1 .083 8zm0-6a2 2 0 1 0 .39 0 2 2 0 0 0-.4 0h.01z"}),_react.default.createElement("path",{d:"M18 17v-2h-6.14a4 4 0 0 0-.86-1.64l2.31-3.44-1.68-1.12-2.31 3.44A4 4 0 0 0 8 12a4 4 0 1 0 0 8 4 4 0 0 0 1.32-.24l2.31 3.44 1.66-1.12L11 18.64a4 4 0 0 0 .86-1.64H18zM6 16a2 2 0 1 1 4 0 2 2 0 0 1-4 0z"}))};graphApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var grid=function grid(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"grid-a",d:"M1 5V1h4v4H1zm3-1V2H2v2h2zm2 1V1h4v4H6zm3-1V2H7v2h2zm2 1V1h4v4h-4zm1-1h2V2h-2v2zM1 10V6h4v4H1zm3-1V7H2v2h2zm2 1V6h4v4H6zm3-1V7H7v2h2zm2 1V6h4v4h-4zm3-1V7h-2v2h2zM1 15v-4h4v4H1zm1-1h2v-2H2v2zm4 1v-4h4v4H6zm1-1h2v-2H7v2zm4 1v-4h4v4h-4zm1-1h2v-2h-2v2z"})),_react.default.createElement("use",{xlinkHref:"#grid-a"}))};grid.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var grokApp=function grokApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M9.727 2.91V.97c-1.357 0-4.18 0-5.818 1.94-.97 1.182-1.328 2.908-.97 4.983.563 3.307.97 6.332.301 7.157-.3.31-.97.465-2.24.465v1.94c1.27 0 1.94.155 2.25.494.698.824.262 3.879-.3 7.156-.35 2.124-.01 3.802.96 4.956C5.527 32 8.35 32 9.726 32v-1.94c-1.144 0-3.287 0-4.315-1.221a4.112 4.112 0 0 1-.533-3.414c.843-5.042.97-7.37-.136-8.727-.068-.077-.145-.136-.213-.203-.068-.068.145-.127.213-.204 1.144-1.367.97-3.695.136-8.727a4.112 4.112 0 0 1 .543-3.414C6.44 2.91 8.583 2.91 9.727 2.91zM32.03 17.454v-1.94c-1.27 0-1.94-.155-2.25-.494-.698-.825-.261-3.88.301-7.157.35-2.123 0-3.801-.97-4.984C27.493.94 24.672.94 23.294.94v1.97c1.145 0 3.288 0 4.315 1.22a4.112 4.112 0 0 1 .544 3.414c-.844 5.043-.97 7.37.135 8.728.068.077.146.135.214.203.067.068-.146.126-.214.204-1.144 1.367-.97 3.694-.135 8.727.329 1.162.13 2.41-.544 3.413-1.018 1.242-3.16 1.242-4.305 1.242V32c1.358 0 4.18 0 5.818-1.94.97-1.182 1.329-2.908.97-4.984-.563-3.306-.97-6.332-.3-7.156.3-.31.969-.465 2.24-.465z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M26.212 15.515h-2.007a7.758 7.758 0 0 0-6.72-6.72V6.788h-1.94v2.007a7.758 7.758 0 0 0-6.72 6.72H6.818v1.94h2.007a7.758 7.758 0 0 0 6.72 6.72v2.007h1.94v-2.007a7.758 7.758 0 0 0 6.72-6.72h2.007v-1.94zm-8.727 6.7v-1.851h-1.94v1.852a5.818 5.818 0 0 1-4.76-4.761h1.851v-1.94h-1.852a5.818 5.818 0 0 1 4.761-4.761v1.852h1.94v-1.852a5.818 5.818 0 0 1 4.761 4.761h-1.852v1.94h1.852a5.818 5.818 0 0 1-4.761 4.76z"}))};grokApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var heartbeatApp=function heartbeatApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M4.14 15.39a8.058 8.058 0 0 1-2.2-4.043A6.788 6.788 0 0 1 4.198 5.47a6.73 6.73 0 0 1 8.727-.213l1.26-1.464a8.65 8.65 0 0 0-11.277.232A8.727 8.727 0 0 0 .068 11.6a10.172 10.172 0 0 0 2.793 5.275l1.28-1.484z"}),_react.default.createElement("path",{d:"M15.515 31.274L4.548 18.454 15.855 4.763a8.67 8.67 0 0 1 12.266-.746 8.727 8.727 0 0 1 2.91 7.205c-.243 2.695-2.037 4.732-3.482 6.37L15.515 31.275zm-8.427-12.82l8.427 9.862 10.55-11.995c1.32-1.503 2.822-3.21 3.007-5.265a6.788 6.788 0 0 0-2.24-5.586 6.73 6.73 0 0 0-9.504.563L7.088 18.455z"}))};heartbeatApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var heatmap=function heatmap(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M12 9a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4zM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4zm0 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm0 5a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm0 1a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm8-9a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm0 1a3 3 0 1 0 0 6 3 3 0 0 0 0-6z"}))};heatmap.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var help=function help(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"help-a",d:"M13.6 12.186l-1.357-1.358c-.025-.025-.058-.034-.084-.056.53-.794.84-1.746.84-2.773a4.977 4.977 0 0 0-.84-2.772c.026-.02.059-.03.084-.056L13.6 3.813a6.96 6.96 0 0 1 0 8.373zM8 15A6.956 6.956 0 0 1 3.814 13.6l1.358-1.358c.025-.025.034-.057.055-.084C6.02 12.688 6.974 13 8 13a4.978 4.978 0 0 0 2.773-.84c.02.026.03.058.056.083l1.357 1.358A6.956 6.956 0 0 1 8 15zm-5.601-2.813a6.963 6.963 0 0 1 0-8.373l1.359 1.358c.024.025.057.035.084.056A4.97 4.97 0 0 0 3 8c0 1.027.31 1.98.842 2.773-.027.022-.06.031-.084.056l-1.36 1.358zm5.6-.187A4 4 0 1 1 8 4a4 4 0 0 1 0 8zM8 1c1.573 0 3.019.525 4.187 1.4l-1.357 1.358c-.025.025-.035.057-.056.084A4.979 4.979 0 0 0 8 3a4.979 4.979 0 0 0-2.773.842c-.021-.027-.03-.059-.055-.084L3.814 2.4A6.957 6.957 0 0 1 8 1zm0-1a8.001 8.001 0 1 0 .003 16.002A8.001 8.001 0 0 0 8 0z"})),_react.default.createElement("use",{xlinkHref:"#help-a",fillRule:"evenodd"}))};help.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var iInCircle=function iInCircle(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M7.5 11.508L7.468 8H6.25V7h2.401l.03 3.508H9.8v1H7.5zm-.25-6.202a.83.83 0 0 1 .207-.577c.137-.153.334-.229.59-.229.256 0 .454.076.594.23.14.152.209.345.209.576 0 .228-.07.417-.21.568-.14.15-.337.226-.593.226-.256 0-.453-.075-.59-.226a.81.81 0 0 1-.207-.568zM8 13A5 5 0 1 0 8 3a5 5 0 0 0 0 10zm0 1A6 6 0 1 1 8 2a6 6 0 0 1 0 12z"}))};iInCircle.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var importAction=function importAction(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M9 10.114l1.85-1.943a.52.52 0 0 1 .77 0c.214.228.214.6 0 .829l-1.95 2.05a1.552 1.552 0 0 1-2.31 0L5.41 9a.617.617 0 0 1 0-.829.52.52 0 0 1 .77 0L8 10.082V1.556C8 1.249 8.224 1 8.5 1s.5.249.5.556v8.558zM4.18 6a.993.993 0 0 0-.972.804l-1.189 6A.995.995 0 0 0 2.991 14h11.018a1 1 0 0 0 .972-1.196l-1.19-6a.993.993 0 0 0-.97-.804H4.18zM6 5v1h5V5h1.825c.946 0 1.76.673 1.946 1.608l1.19 6A2 2 0 0 1 14.016 15H2.984a1.992 1.992 0 0 1-1.945-2.392l1.19-6C2.414 5.673 3.229 5 4.174 5H6z"}))};importAction.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var indexClose=function indexClose(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M12 2H2v11h6v1H1V1h12v6h-1V2zM5 5h5.999V4H5v1zM3 5V4h1v1H3zm2 3V7h3v1H5zM3 8V7h1v1H3zm2 3v-1h2v1H5zm5.5-1.207L9.086 8.379l-.707.707L9.793 10.5l-1.414 1.414.707.707 1.414-1.414 1.414 1.414.707-.707-1.414-1.414 1.414-1.414-.707-.707L10.5 9.793zM3 11v-1h1v1H3zm7.5-5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9z"}))};indexClose.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var indexEdit=function indexEdit(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M12 2H2v11h4v1H1V1h12v5h-1V2zM5 5h5.999V4H5v1zM3 5V4h1v1H3zm2 3V7h6v1H5zM3 8V7h1v1H3zm2 3v-1h3v1H5zm-2 0v-1h1v1H3zm4.502 1.41L12.913 7 15 9.087l-5.41 5.41L7 15l.502-2.59z"}))};indexEdit.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var indexFlush=function indexFlush(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M14.516 9H10.5a.5.5 0 0 1 0-1h4.016L13.11 5.948c-.171-.252-.137-.62.079-.821.217-.2.531-.159.703.092l2 2.916a.648.648 0 0 1 .108.397.643.643 0 0 1-.108.332l-2 2.918A.478.478 0 0 1 13.5 12a.457.457 0 0 1-.312-.127c-.216-.202-.25-.57-.079-.82L14.516 9zM3 15H1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h7.8c.274 0 .537.113.726.312l2.2 2.428c.176.186.274.433.274.689V7h-1V5H8.5a.5.5 0 0 1-.5-.5V2H3v12h8v-4h1v4a1 1 0 0 1-1 1H3zm-1-1V2H1v12h1z"}))};indexFlush.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var indexManagementApp=function indexManagementApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M17 18v-2h-2v2H3v6h2v-4h10v4h2v-4h10v4h2v-6z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M4 32a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-4a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm12 4a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-4a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm12 4a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-4a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM23 8V6h-2.1a5 5 0 0 0-.73-1.75l1.49-1.49-1.42-1.42-1.49 1.49A5 5 0 0 0 17 2.1V0h-2v2.1a5 5 0 0 0-1.75.73l-1.49-1.49-1.42 1.42 1.49 1.49A5 5 0 0 0 11.1 6H9v2h2.1a5 5 0 0 0 .73 1.75l-1.49 1.49 1.41 1.41 1.49-1.49a5 5 0 0 0 1.76.74V14h2v-2.1a5 5 0 0 0 1.75-.73l1.49 1.49 1.41-1.41-1.48-1.5A5 5 0 0 0 20.9 8H23zm-7 2a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"}),_react.default.createElement("path",{d:"M16 8a1 1 0 0 1-1-1 1.39 1.39 0 0 1 0-.2.65.65 0 0 1 .06-.18.74.74 0 0 1 .09-.18 1.61 1.61 0 0 1 .12-.15.93.93 0 0 1 .33-.21 1 1 0 0 1 1.09.21l.12.15a.78.78 0 0 1 .09.18.62.62 0 0 1 .1.18 1.27 1.27 0 0 1 0 .2 1 1 0 0 1-1 1z"}))};indexManagementApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var indexMapping=function indexMapping(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8 8H4.915a1.5 1.5 0 1 1 0-1H8V2.5A1.5 1.5 0 0 1 9.5 1h2.585a1.5 1.5 0 1 1 0 1H9.5a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h2.585a1.5 1.5 0 1 1 0 1H9.5A1.5 1.5 0 0 1 8 12.5V8zM3.5 3a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 12a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm10-6a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"}))};indexMapping.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var indexOpen=function indexOpen(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M12 2H2v11h6v1H1V1h12v6h-1V2zM5 5h5.999V4H5v1zM3 5V4h1v1H3zm2 3V7h3v1H5zM3 8V7h1v1H3zm2 3v-1h2v1H5zm5-1H8v1h2v2h1v-2h2v-1h-2V8h-1v2zm-7 1v-1h1v1H3zm7.5-5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9z"}))};indexOpen.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var indexPatternApp=function indexPatternApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M20 14h-8a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3zM12 2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1h-8zM17 18v-2h-2v2H3v6h2v-4h10v4h2v-4h10v4h2v-6z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M4 32a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-4a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm12 4a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-4a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm12 4a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-4a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM13 4h6v2h-6zM13 8h6v2h-6z"}))};indexPatternApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var indexRollupApp=function indexRollupApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M32 26v-2h-2.1a5 5 0 0 0-.73-1.75l1.49-1.49-1.41-1.41-1.49 1.49A5 5 0 0 0 26 20.1V18h-2v2.1a5 5 0 0 0-1.75.73l-1.49-1.49-1.41 1.41 1.49 1.49A5 5 0 0 0 20.1 24H18v2h2.1a5 5 0 0 0 .73 1.75l-1.49 1.49 1.41 1.41 1.49-1.49a5 5 0 0 0 1.76.74V32h2v-2.1a5 5 0 0 0 1.75-.73l1.49 1.49 1.41-1.41-1.49-1.49A5 5 0 0 0 29.9 26H32zm-7 2a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"}),_react.default.createElement("path",{d:"M25.71 24.29a1 1 0 0 0-1.09-.21 1.15 1.15 0 0 0-.33.21.93.93 0 0 0-.21.33 1 1 0 0 0 1.3 1.3 1.15 1.15 0 0 0 .33-.21 1 1 0 0 0 .21-1.09.94.94 0 0 0-.21-.33z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M5 6h16v2H5zM5 12h16v2H5zM5 18h10v2H5zM5 24h8v2H5z"}),_react.default.createElement("path",{d:"M16 32H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h20a3 3 0 0 1 3 3v13h-2V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v26a1 1 0 0 0 1 1h13v2z"}))};indexRollupApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var indexSettings=function indexSettings(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M5 5h5.999V4H5v1zM3 5h1V4H3v1zm0 3h1V7H3v1zm6.022-1l-.15.333-.737-.078-.467-.05-.33.342A5.13 5.13 0 0 0 6.948 8H5V7h4.022zm-3.005 3L6 10.056l.306.411.399.533H5v-1h1.017zM3 11h1v-1H3v1z"}),_react.default.createElement("path",{d:"M13 7.05l-.162-.359-.2-.447-.47-.11A5.019 5.019 0 0 0 12 6.098V2H2v11h4.36c.157.354.355.69.59 1H1V1h12v6.05z"}),_react.default.createElement("path",{d:"M11.004 7c.322 0 .646.036.966.109l.595 1.293 1.465-.152c.457.462.786 1.016.969 1.61l-.87 1.14.871 1.141a3.94 3.94 0 0 1-.387.859 4.058 4.058 0 0 1-.583.75l-1.465-.152-.594 1.292a4.37 4.37 0 0 1-1.941.001l-.594-1.293-1.466.152a3.954 3.954 0 0 1-.969-1.61l.87-1.14L7 9.86a3.947 3.947 0 0 1 .97-1.61l1.466.152.593-1.292a4.37 4.37 0 0 1 .975-.11zM11 12a1 1 0 1 0 .002-1.998A1 1 0 0 0 11 12z"}))};indexSettings.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var infraApp=function infraApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M12.594 18.424h3.875v1.939h-3.875zM12.594 26.182h3.875v1.939h-3.875z"}),_react.default.createElement("path",{d:"M8.719 14.545V32H31V14.545H8.719zm20.343 1.94v5.818H10.657v-5.818h18.407zM10.657 30.06v-5.819h18.407v5.819H10.655z"}),_react.default.createElement("path",{d:"M27.648 12.606a8.499 8.499 0 0 0-4.398-3.879 8.983 8.983 0 0 0-8.903-7.81 8.983 8.983 0 0 0-8.903 7.81 8.553 8.553 0 0 0-5.353 8.645 8.55 8.55 0 0 0 6.69 7.656V23.03a6.612 6.612 0 0 1-4.845-6.293 6.613 6.613 0 0 1 4.69-6.41l.64-.194v-.669a7.046 7.046 0 0 1 7.023-6.527 7.046 7.046 0 0 1 7.024 6.527v.67l.639.193a6.587 6.587 0 0 1 3.4 2.28h2.296z"}))};infraApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var inputOutput=function inputOutput(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M10 13.999v-2.99h1V15H0V1h11v3.999h-1V2.001H1v11.998z"}),_react.default.createElement("path",{d:"M4.5 10V9H11v1zM13 9.5l3-3-3-3z"}),_react.default.createElement("path",{d:"M5.5 6.5v6l-3-3zM7 7V6h6.5v1z"}))};inputOutput.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var inspect=function inspect(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M15.363 14.658a.5.5 0 1 1-.713.7l-2.97-3.023a.5.5 0 0 1 .001-.7A3.9 3.9 0 1 0 8.9 12.8a.5.5 0 1 1 0 .999 4.9 4.9 0 1 1 3.821-1.833l2.642 2.691zM3.094 13a.5.5 0 1 1 0 1H2.5A2.5 2.5 0 0 1 0 11.5v-9A2.5 2.5 0 0 1 2.5 0h9A2.5 2.5 0 0 1 14 2.5v.599a.5.5 0 1 1-1 0V2.5A1.5 1.5 0 0 0 11.5 1h-9A1.5 1.5 0 0 0 1 2.5v9A1.5 1.5 0 0 0 2.5 13h.594zM2.5 3a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm2 0a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm2 0a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm-4 2a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm2 0a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm-2 1a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm0 3a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm6-6a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm2 0a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm-8 8a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1z"}))};inspect.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var invert=function invert(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8 13.25a5.25 5.25 0 1 0 0-10.5 5.25 5.25 0 0 0 0 10.5zM8 14A6 6 0 1 1 8 2a6 6 0 0 1 0 12z"}),_react.default.createElement("path",{d:"M8 2a6 6 0 1 0 0 12V2z"}))};invert.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var kqlField=function kqlField(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8 9a5 5 0 1 1 0-8 5 5 0 1 1 0 8zm.75-.692a4 4 0 1 0 0-6.615A4.981 4.981 0 0 1 10 5a4.981 4.981 0 0 1-1.25 3.308zM4.133 8V5.559h2.496v-.625H4.133V2.996h2.719v-.633H3.43V8h.703z"}))};kqlField.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"10",viewBox:"0 0 16 10"};var kqlFunction=function kqlFunction(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M7 7H3v2h4v2l3-3-3-3v2zM6 6V5a1 1 0 0 1 1.707-.707l3 3a1 1 0 0 1 0 1.414l-3 3A1 1 0 0 1 6 11v-1H3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h3zm7.5-3a.5.5 0 0 1 .5.5v9a.5.5 0 1 1-1 0v-9a.5.5 0 0 1 .5-.5z"}))};kqlFunction.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var kqlOperand=function kqlOperand(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M11.192 10.145l2.298-1.792c.259-.196.259-.509 0-.706l-2.298-1.792c-.256-.196-.256-.513 0-.708a.81.81 0 0 1 .93 0l2.3 1.791c.772.59.77 1.537 0 2.124l-2.3 1.791a.81.81 0 0 1-.93 0c-.256-.195-.256-.512 0-.708zm-6.384-4.29L2.51 7.647c-.259.196-.259.509 0 .706l2.298 1.792c.256.196.256.513 0 .708a.81.81 0 0 1-.93 0l-2.3-1.791c-.772-.59-.77-1.537 0-2.124l2.3-1.791a.81.81 0 0 1 .93 0c.256.195.256.512 0 .708zM6.5 6h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1zm0 3h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1z"}))};kqlOperand.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var kqlSelector=function kqlSelector(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M5 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 1A5 5 0 1 1 5 3a5 5 0 0 1 0 10zm6-1a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 1a5 5 0 1 1 0-10 5 5 0 0 1 0 10z"}))};kqlSelector.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var kqlValue=function kqlValue(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8 4a5 5 0 1 1 0 8 5 5 0 1 1 0-8zm-.75.692a4 4 0 1 0 0 6.615A4.981 4.981 0 0 1 6 8c0-1.268.472-2.426 1.25-3.308zM11.348 11l2.078-5.637h-.739l-1.656 4.727h-.062L9.313 5.363h-.739L10.652 11h.696z"}))};kqlValue.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var link=function link(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M7.66 3.803a.5.5 0 1 1-.706-.707L9.268.78c1.187-1.187 3.242-1 4.596.354s1.54 3.409.354 4.596l-3.536 3.536c-1.187 1.187-3.242 1-4.596-.354a.5.5 0 1 1 .707-.707c.99.99 2.417 1.119 3.182.354l3.536-3.536c.765-.765.635-2.193-.354-3.182-.99-.99-2.417-1.119-3.182-.354L7.661 3.803zm-.32 7.392a.5.5 0 1 1 .707.707l-2.315 2.314c-1.187 1.188-3.242 1-4.596-.353-1.354-1.354-1.54-3.41-.353-4.596L4.318 5.73c1.187-1.187 3.242-1 4.596.354a.5.5 0 0 1-.707.707c-.989-.99-2.416-1.12-3.182-.354L1.49 9.974c-.766.765-.636 2.193.353 3.182.99.989 2.417 1.119 3.182.353l2.315-2.314z"}))};link.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var list=function list(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M2 4V3h2v1H2zm4 0V3h8v1H6zm0 3V6h8v1H6zm0 3V9h8v1H6zM2 7V6h2v1H2zm0 3V9h2v1H2zm4 3v-1h8v1H6zm-4 0v-1h2v1H2z"}))};list.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var listAdd=function listAdd(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M11 11H9v1h2v2h1v-2h2v-1h-2V9h-1v2zM7.758 9a4.5 4.5 0 1 1-.502 4H6v-1h1.027a4.548 4.548 0 0 1 .23-2H6V9h1.758zM2 4V3h2v1H2zm4 0V3h8v1H6zm0 3V6h8v1H6zM2 7V6h2v1H2zm0 3V9h2v1H2zm0 3v-1h2v1H2z"}))};listAdd.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var lock=function lock(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M4 5v-.8C4 1.88 5.79 0 8 0s4 1.88 4 4.2V5h1.143c.473 0 .857.448.857 1v9c0 .552-.384 1-.857 1H2.857C2.384 16 2 15.552 2 15V6c0-.552.384-1 .857-1H4zM3 15h10V6H3v9zm5.998-3.706L9.5 12.5h-3l.502-1.206A1.644 1.644 0 0 1 6.5 10.1c0-.883.672-1.6 1.5-1.6s1.5.717 1.5 1.6c0 .475-.194.901-.502 1.194zM11 4.36C11 2.504 9.657 1 8 1S5 2.504 5 4.36V5h6v-.64z"}))};lock.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var lockOpen=function lockOpen(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M11.143 5c.473 0 .857.448.857 1v9c0 .552-.384 1-.857 1H.857C.384 16 0 15.552 0 15V6c0-.552.384-1 .857-1H8v-.8C8 1.88 9.79 0 12 0s4 1.88 4 4.2V5h-1v-.64C15 2.504 13.657 1 12 1S9 2.504 9 4.36V5h2.143zM1 15h10V6H1v9zm5.998-3.706L7.5 12.5h-3l.502-1.206A1.644 1.644 0 0 1 4.5 10.1c0-.883.672-1.6 1.5-1.6s1.5.717 1.5 1.6c0 .475-.194.901-.502 1.194z"}))};lockOpen.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var loggingApp=function loggingApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M9 18h12v2H9zM9 13h12v2H9zM9 8h12v2H9z"}),_react.default.createElement("path",{d:"M28 1H8a4 4 0 0 0-4 4v19H0v3a4 4 0 0 0 4 4h18a4 4 0 0 0 4-4V8h6V5a4 4 0 0 0-4-4zM4 29a2 2 0 0 1-2-2v-1h16v1a4 4 0 0 0 .54 2H4zm18 0a2 2 0 0 1-2-2v-3H6V5a2 2 0 0 1 2-2h16.56A4 4 0 0 0 24 5v22a2 2 0 0 1-2 2zm8-23h-4V5a2 2 0 1 1 4 0v1z"}))};loggingApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoAerospike=function logoAerospike(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none"},_react.default.createElement("path",{fill:"#C4373A",d:"M0 31.806h32V.776H0z"}),_react.default.createElement("path",{fill:"#FFF",d:"M19.448 12.508l-8.986 3.86 8.986 3.883v-7.743zm-11.304 4.73l-2.094-.863 2.094-.931 17.749-7.741v2.062l-4.654 1.99v9.25l4.654 2.01v1.968L8.143 17.24z"})))};logoAerospike.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoApache=function logoApache(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("linearGradient",{id:"logo_apache-a",x1:"21.902%",x2:"141.879%",y1:"63.905%",y2:"20.213%"},_react.default.createElement("stop",{offset:"0%",stopColor:"#F69923"}),_react.default.createElement("stop",{offset:"31.23%",stopColor:"#F79A23"}),_react.default.createElement("stop",{offset:"83.83%",stopColor:"#E97826"})),_react.default.createElement("linearGradient",{id:"logo_apache-b",x1:"-217.651%",x2:"74.743%",y1:"177.127%",y2:"36.665%"},_react.default.createElement("stop",{offset:"32.33%",stopColor:"#9E2064"}),_react.default.createElement("stop",{offset:"63.02%",stopColor:"#C92037"}),_react.default.createElement("stop",{offset:"75.14%",stopColor:"#CD2335"}),_react.default.createElement("stop",{offset:"100%",stopColor:"#E97826"})),_react.default.createElement("linearGradient",{id:"logo_apache-c",x1:"-80.044%",x2:"146.24%",y1:"73.574%",y2:"31.539%"},_react.default.createElement("stop",{offset:"32.33%",stopColor:"#9E2064"}),_react.default.createElement("stop",{offset:"63.02%",stopColor:"#C92037"}),_react.default.createElement("stop",{offset:"75.14%",stopColor:"#CD2335"}),_react.default.createElement("stop",{offset:"100%",stopColor:"#E97826"})),_react.default.createElement("linearGradient",{id:"logo_apache-d",x1:"-18.316%",x2:"165.002%",y1:"52.497%",y2:"41.656%"},_react.default.createElement("stop",{offset:"0%",stopColor:"#282662"}),_react.default.createElement("stop",{offset:"9.548%",stopColor:"#662E8D"}),_react.default.createElement("stop",{offset:"78.82%",stopColor:"#9F2064"}),_react.default.createElement("stop",{offset:"94.87%",stopColor:"#CD2032"})),_react.default.createElement("linearGradient",{id:"logo_apache-e",x1:"-109.701%",x2:"64.617%",y1:"463.715%",y2:"17.19%"},_react.default.createElement("stop",{offset:"32.33%",stopColor:"#9E2064"}),_react.default.createElement("stop",{offset:"63.02%",stopColor:"#C92037"}),_react.default.createElement("stop",{offset:"75.14%",stopColor:"#CD2335"}),_react.default.createElement("stop",{offset:"100%",stopColor:"#E97826"})),_react.default.createElement("linearGradient",{id:"logo_apache-f",x1:"-34.88%",x2:"110.599%",y1:"130.522%",y2:"-9.118%"},_react.default.createElement("stop",{offset:"32.33%",stopColor:"#9E2064"}),_react.default.createElement("stop",{offset:"63.02%",stopColor:"#C92037"}),_react.default.createElement("stop",{offset:"75.14%",stopColor:"#CD2335"}),_react.default.createElement("stop",{offset:"100%",stopColor:"#E97826"})),_react.default.createElement("linearGradient",{id:"logo_apache-g",x1:"-13.673%",x2:"117.858%",y1:"192.564%",y2:"-136.906%"},_react.default.createElement("stop",{offset:"0%",stopColor:"#282662"}),_react.default.createElement("stop",{offset:"9.548%",stopColor:"#662E8D"}),_react.default.createElement("stop",{offset:"78.82%",stopColor:"#9F2064"}),_react.default.createElement("stop",{offset:"94.87%",stopColor:"#CD2032"}))),_react.default.createElement("g",{fill:"none"},_react.default.createElement("path",{fill:"url(#logo_apache-a)",d:"M13.628.18c-.498.293-1.332 1.134-2.328 2.348v.074l.871 1.613.044.03c.641-.914 1.289-1.742 1.948-2.446.05-.056.075-.08.075-.08-.025.024-.05.055-.075.08-.211.237-.859.984-1.83 2.478l.112.025s2.273-.224 3.368-.41l.062-.057c.35-1.955-.342-2.851-.342-2.851S14.661-.423 13.628.18z",transform:"translate(8)"}),_react.default.createElement("path",{fill:"url(#logo_apache-b)",d:"M9.525 8.697c.28-.516.56-1.027.84-1.519.293-.51.592-1.008.897-1.488a.397.397 0 0 0 .05-.087c.299-.473.598-.921.903-1.357L11.3 2.52c-.069.081-.137.168-.206.256-.261.33-.535.678-.815 1.052a51.783 51.783 0 0 0-1.893 2.708c-.261.405-.53.816-.79 1.245l-.032.05V7.9l1.14 2.26.05.019c.255-.498.51-.996.771-1.482z",transform:"translate(8)"}),_react.default.createElement("path",{fill:"url(#logo_apache-c)",d:"M4.563 19.76c.206-.535.424-1.077.642-1.625.211-.523.423-1.052.647-1.58.218-.53.448-1.06.679-1.595.236-.541.473-1.083.716-1.618.242-.53.485-1.059.734-1.582.087-.186.18-.38.274-.566.156-.324.318-.648.473-.965.007-.019.02-.031.025-.05L7.564 7.832l-.056.093c-.274.455-.554.915-.822 1.389a54.535 54.535 0 0 0-1.45 2.714c-.044.087-.081.168-.125.255a32.15 32.15 0 0 0-.703 1.544c-.237.56-.448 1.096-.635 1.606-.125.337-.23.654-.336.965-.081.262-.162.53-.237.791-.18.623-.33 1.239-.454 1.862l.018.074 1.14 2.266.037.02c.155-.424.317-.848.485-1.283.044-.125.094-.243.137-.368z",transform:"translate(8)"}),_react.default.createElement("path",{fill:"url(#logo_apache-d)",d:"M2.733 19.132a18.84 18.84 0 0 0-.311 2.253c0 .025-.006.05-.006.081-.374-.598-1.37-1.177-1.37-1.177.716 1.034 1.258 2.061 1.338 3.07-.38.08-.902-.038-1.512-.255.628.578 1.102.74 1.288.784-.579.037-1.183.436-1.793.89.89-.36 1.607-.504 2.123-.392-.815 2.31-1.63 4.862-2.453 7.564.25-.075.399-.243.486-.473.143-.492 1.114-3.704 2.627-7.931.044-.119.087-.243.13-.362.013-.03.026-.068.038-.1.162-.441.324-.896.498-1.356.038-.106.081-.212.119-.318v-.006l-1.19-2.353c0 .03-.006.056-.012.08z",transform:"translate(8)"}),_react.default.createElement("path",{fill:"url(#logo_apache-e)",d:"M12.333 4.283c-.268.411-.56.878-.878 1.407-.018.025-.03.056-.05.081a62.538 62.538 0 0 0-1.687 3.05c-.249.48-.504.984-.765 1.526l.056.025 2.895-.311.068-.05c.878-.405 1.27-.772 1.65-1.301.1-.143.205-.3.305-.455.311-.485.616-1.015.884-1.544.261-.51.492-1.02.672-1.475a6.56 6.56 0 0 0 .398-1.395c-1.17.206-2.608.399-3.548.442z",transform:"translate(8)"}),_react.default.createElement("path",{fill:"url(#logo_apache-f)",d:"M8.84 10.59c-.1.212-.205.43-.31.647-.113.237-.231.486-.343.735-.056.124-.119.255-.175.38-.18.386-.354.784-.541 1.195a107.035 107.035 0 0 0-1.357 3.194c-.218.529-.436 1.077-.654 1.637-.2.504-.399 1.015-.598 1.55-.012.025-.018.05-.03.075-.2.53-.394 1.068-.6 1.622-.006.012-.017.045-.023.057l.043.01.866-.094.048-.02c-.018-.006-.03-.03-.048-.037 1.145-.143 2.67-1.002 3.66-2.06.455-.486.866-1.065 1.252-1.738.286-.504.547-1.058.803-1.675.224-.535.435-1.12.64-1.749a3.457 3.457 0 0 1-.896.311 8.977 8.977 0 0 1-.18.038c-.062.012-.125.018-.18.03 1.07-.41 1.743-1.207 2.234-2.178-.28.193-.74.442-1.288.566a2.52 2.52 0 0 1-.23.044c-.02 0-.038.006-.057.006.374-.155.685-.33.959-.535.056-.044.112-.087.168-.137.081-.075.162-.15.237-.224.05-.05.093-.1.143-.156.106-.124.205-.261.299-.41.03-.044.056-.094.087-.138.037-.068.068-.137.1-.205.149-.3.267-.567.36-.803.05-.119.088-.224.125-.33.013-.038.025-.081.044-.119.037-.112.068-.211.093-.305.037-.13.056-.236.069-.311a1.077 1.077 0 0 1-.125.087c-.324.193-.878.368-1.326.448l.884-.1-.884.1c-.062.013-.106.02-.156.032.004-.005-.994.101-2.995.316a2.313 2.313 0 0 0-.118.244z",transform:"translate(8)"}),_react.default.createElement("path",{fill:"url(#logo_apache-g)",d:"M4.115 21.914c-.155.43-.317.872-.473 1.32 0 .006-.006.013-.006.019-.025.062-.044.124-.069.193-.106.305-.199.573-.41 1.195.348.162.628.58.896 1.059a1.876 1.876 0 0 0-.623-1.314c1.725.075 3.213-.361 3.979-1.619.068-.112.13-.23.186-.355-.348.442-.784.63-1.593.586h-.007.007c1.201-.536 1.799-1.052 2.334-1.905.125-.206.25-.424.374-.667-1.052 1.078-2.266 1.383-3.543 1.152l-.958.106c-.032.069-.063.15-.094.23z",transform:"translate(8)"})))};logoApache.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoAPM=function logoAPM(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fill:"#F04E98",d:"M0 10.001h24V0H0z"}),_react.default.createElement("path",{className:"euiIcon__fillNegative",d:"M32 20H20c-5.522 0-10-4.478-10-10h22v10z"}),_react.default.createElement("path",{fill:"#0080D5",d:"M20 32h12v-9H20z"}))};logoAPM.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoAppSearch=function logoAppSearch(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fill:"#0080D5",d:"M19.5.938a7.002 7.002 0 0 0-7 0l-8 4.619A7 7 0 0 0 1 11.62v9.237a7 7 0 0 0 3.5 6.062l7.5 4.33V17.979a7 7 0 0 1 3.5-6.062L27 5.276 19.5.939z"}),_react.default.createElement("path",{className:"euiIcon__fillNegative",d:"M19.5.938a7.002 7.002 0 0 0-7 0L5 5.277l11 6.35 11-6.35-7.5-4.34z"}),_react.default.createElement("path",{fill:"#FA744E",d:"M28.435 7.76l-10.026 5.79a6.994 6.994 0 0 1 1.59 4.428v13.27l7.5-4.33a7 7 0 0 0 3.5-6.061v-9.238a6.992 6.992 0 0 0-1.586-4.422l-.978.564z"}))};logoAppSearch.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoAWS=function logoAWS(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none",fillRule:"evenodd"},_react.default.createElement("path",{fill:"#252F3E",fillRule:"nonzero",d:"M9.019 13.878c0 .39.042.705.117.936.085.232.191.484.34.758a.454.454 0 0 1 .075.242c0 .105-.064.21-.202.315l-.67.442a.514.514 0 0 1-.277.095c-.107 0-.213-.053-.32-.148a3.258 3.258 0 0 1-.383-.494 8.109 8.109 0 0 1-.33-.62c-.83.967-1.873 1.45-3.128 1.45-.894 0-1.607-.252-2.129-.756-.521-.505-.787-1.178-.787-2.02 0-.894.319-1.62.968-2.166.65-.547 1.511-.82 2.607-.82.362 0 .735.03 1.128.083.394.053.799.137 1.224.232v-.768c0-.8-.17-1.357-.5-1.683-.34-.326-.915-.484-1.735-.484-.372 0-.755.043-1.149.137-.394.095-.777.21-1.15.358-.17.073-.297.115-.372.136a.66.66 0 0 1-.17.032c-.149 0-.223-.105-.223-.326v-.515c0-.169.02-.295.074-.368a.796.796 0 0 1 .298-.221c.373-.19.82-.347 1.34-.474a6.524 6.524 0 0 1 1.661-.2c1.266 0 2.192.285 2.788.852.586.568.884 1.43.884 2.588v3.407h.02zm-4.32 1.6c.35 0 .712-.064 1.095-.19a2.373 2.373 0 0 0 1.011-.673c.17-.2.298-.421.362-.673.064-.253.107-.558.107-.916v-.441a8.982 8.982 0 0 0-.98-.179 8.113 8.113 0 0 0-1-.063c-.713 0-1.234.137-1.586.42-.35.285-.521.684-.521 1.21 0 .494.128.862.394 1.115.255.263.628.39 1.117.39zm8.545 1.135c-.192 0-.32-.032-.405-.105-.085-.063-.16-.21-.223-.41l-2.501-8.13c-.064-.21-.096-.347-.096-.421 0-.168.085-.263.256-.263h1.043c.202 0 .34.032.415.105.085.063.149.21.212.41l1.788 6.963 1.66-6.963c.054-.21.117-.347.203-.41.085-.063.234-.105.425-.105h.852c.202 0 .34.032.425.105.085.063.16.21.203.41l1.681 7.047 1.841-7.047c.064-.21.138-.347.213-.41.085-.063.223-.105.415-.105h.99c.17 0 .266.084.266.263 0 .052-.011.105-.022.168-.01.063-.032.147-.074.263l-2.565 8.13c-.064.21-.138.347-.223.41-.085.063-.224.105-.405.105h-.915c-.202 0-.34-.031-.426-.105-.085-.073-.16-.21-.202-.42l-1.65-6.784-1.638 6.773c-.053.21-.117.347-.202.42-.086.074-.235.106-.426.106h-.915zm13.675.284a7.122 7.122 0 0 1-1.64-.19c-.531-.126-.946-.262-1.223-.42-.17-.095-.287-.2-.33-.295a.735.735 0 0 1-.064-.294v-.536c0-.221.085-.327.245-.327a.61.61 0 0 1 .192.032c.063.021.16.063.266.105.361.158.755.284 1.17.368.426.084.84.127 1.267.127.67 0 1.192-.116 1.553-.348a1.13 1.13 0 0 0 .554-.999c0-.294-.096-.536-.288-.736-.191-.2-.553-.379-1.074-.547l-1.544-.473c-.776-.242-1.351-.6-1.702-1.073a2.487 2.487 0 0 1-.532-1.525c0-.442.095-.83.287-1.167.192-.337.447-.631.766-.863.32-.242.681-.42 1.107-.547a4.69 4.69 0 0 1 1.34-.178c.235 0 .48.01.714.042.245.031.468.073.692.115.212.053.415.105.606.169.192.063.34.126.447.189a.918.918 0 0 1 .32.263c.063.084.095.2.095.347v.494c0 .221-.085.337-.245.337-.085 0-.223-.042-.404-.126-.607-.274-1.288-.41-2.043-.41-.607 0-1.086.094-1.416.294-.33.2-.5.505-.5.936 0 .294.107.547.32.747.212.2.606.4 1.17.578l1.511.473c.766.242 1.32.579 1.65 1.01.33.431.49.926.49 1.473 0 .452-.096.862-.277 1.22a2.836 2.836 0 0 1-.777.925c-.33.263-.724.452-1.182.59-.478.146-.979.22-1.521.22z"}),_react.default.createElement("g",{fill:"#F90"},_react.default.createElement("path",{d:"M28.93 22.009c-3.501 2.556-8.588 3.912-12.962 3.912-6.13 0-11.653-2.24-15.825-5.963-.33-.295-.032-.694.362-.463 4.512 2.587 10.078 4.155 15.836 4.155 3.884 0 8.151-.8 12.078-2.44.586-.263 1.086.378.511.799z"}),_react.default.createElement("path",{d:"M30.388 20.368c-.447-.568-2.958-.273-4.097-.137-.34.042-.394-.252-.085-.473 2-1.388 5.289-.989 5.672-.526.383.474-.107 3.723-1.98 5.28-.287.242-.564.116-.436-.2.426-1.041 1.373-3.386.926-3.944z"}))))};logoAWS.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoAWSMono=function logoAWSMono(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fillRule:"evenodd"},_react.default.createElement("path",{fillRule:"nonzero",d:"M9.019 13.878c0 .39.042.705.117.936.085.232.191.484.34.758a.454.454 0 0 1 .075.242c0 .105-.064.21-.202.315l-.67.442a.514.514 0 0 1-.277.095c-.107 0-.213-.053-.32-.148a3.258 3.258 0 0 1-.383-.494 8.109 8.109 0 0 1-.33-.62c-.83.967-1.873 1.45-3.128 1.45-.894 0-1.607-.252-2.129-.756-.521-.505-.787-1.178-.787-2.02 0-.894.319-1.62.968-2.166.65-.547 1.511-.82 2.607-.82.362 0 .735.03 1.128.083.394.053.799.137 1.224.232v-.768c0-.8-.17-1.357-.5-1.683-.34-.326-.915-.484-1.735-.484-.372 0-.755.043-1.149.137-.394.095-.777.21-1.15.358-.17.073-.297.115-.372.136a.66.66 0 0 1-.17.032c-.149 0-.223-.105-.223-.326v-.515c0-.169.02-.295.074-.368a.796.796 0 0 1 .298-.221c.373-.19.82-.347 1.34-.474a6.524 6.524 0 0 1 1.661-.2c1.266 0 2.192.285 2.788.852.586.568.884 1.43.884 2.588v3.407h.02zm-4.32 1.6c.35 0 .712-.064 1.095-.19a2.373 2.373 0 0 0 1.011-.673c.17-.2.298-.421.362-.673.064-.253.107-.558.107-.916v-.441a8.982 8.982 0 0 0-.98-.179 8.113 8.113 0 0 0-1-.063c-.713 0-1.234.137-1.586.42-.35.285-.521.684-.521 1.21 0 .494.128.862.394 1.115.255.263.628.39 1.117.39zm8.545 1.135c-.192 0-.32-.032-.405-.105-.085-.063-.16-.21-.223-.41l-2.501-8.13c-.064-.21-.096-.347-.096-.421 0-.168.085-.263.256-.263h1.043c.202 0 .34.032.415.105.085.063.149.21.212.41l1.788 6.963 1.66-6.963c.054-.21.117-.347.203-.41.085-.063.234-.105.425-.105h.852c.202 0 .34.032.425.105.085.063.16.21.203.41l1.681 7.047 1.841-7.047c.064-.21.138-.347.213-.41.085-.063.223-.105.415-.105h.99c.17 0 .266.084.266.263 0 .052-.011.105-.022.168-.01.063-.032.147-.074.263l-2.565 8.13c-.064.21-.138.347-.223.41-.085.063-.224.105-.405.105h-.915c-.202 0-.34-.031-.426-.105-.085-.073-.16-.21-.202-.42l-1.65-6.784-1.638 6.773c-.053.21-.117.347-.202.42-.086.074-.235.106-.426.106h-.915zm13.675.284a7.122 7.122 0 0 1-1.64-.19c-.531-.126-.946-.262-1.223-.42-.17-.095-.287-.2-.33-.295a.735.735 0 0 1-.064-.294v-.536c0-.221.085-.327.245-.327a.61.61 0 0 1 .192.032c.063.021.16.063.266.105.361.158.755.284 1.17.368.426.084.84.127 1.267.127.67 0 1.192-.116 1.553-.348a1.13 1.13 0 0 0 .554-.999c0-.294-.096-.536-.288-.736-.191-.2-.553-.379-1.074-.547l-1.544-.473c-.776-.242-1.351-.6-1.702-1.073a2.487 2.487 0 0 1-.532-1.525c0-.442.095-.83.287-1.167.192-.337.447-.631.766-.863.32-.242.681-.42 1.107-.547a4.69 4.69 0 0 1 1.34-.178c.235 0 .48.01.714.042.245.031.468.073.692.115.212.053.415.105.606.169.192.063.34.126.447.189a.918.918 0 0 1 .32.263c.063.084.095.2.095.347v.494c0 .221-.085.337-.245.337-.085 0-.223-.042-.404-.126-.607-.274-1.288-.41-2.043-.41-.607 0-1.086.094-1.416.294-.33.2-.5.505-.5.936 0 .294.107.547.32.747.212.2.606.4 1.17.578l1.511.473c.766.242 1.32.579 1.65 1.01.33.431.49.926.49 1.473 0 .452-.096.862-.277 1.22a2.836 2.836 0 0 1-.777.925c-.33.263-.724.452-1.182.59-.478.146-.979.22-1.521.22z"}),_react.default.createElement("path",{d:"M28.93 22.009c-3.501 2.556-8.588 3.912-12.962 3.912-6.13 0-11.653-2.24-15.825-5.963-.33-.295-.032-.694.362-.463 4.512 2.587 10.078 4.155 15.836 4.155 3.884 0 8.151-.8 12.078-2.44.586-.263 1.086.378.511.799z"}),_react.default.createElement("path",{d:"M30.388 20.368c-.447-.568-2.958-.273-4.097-.137-.34.042-.394-.252-.085-.473 2-1.388 5.289-.989 5.672-.526.383.474-.107 3.723-1.98 5.28-.287.242-.564.116-.436-.2.426-1.041 1.373-3.386.926-3.944z"})))};logoAWSMono.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoBeats=function logoBeats(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fill:"#0080D5",d:"M15 20H4V0h11c5.522 0 10 4.478 10 10s-4.478 10-10 10"}),_react.default.createElement("path",{fill:"#00C2B3",d:"M26.702 15.624C24.6 19.979 20.152 23 15 23H4v9h15c5.522 0 10-4.478 10-10a9.952 9.952 0 0 0-2.298-6.376"}),_react.default.createElement("path",{className:"euiIcon__fillNegative",d:"M24.338 13.554A9.942 9.942 0 0 0 19 12H4v8h11c4.27 0 7.903-2.68 9.338-6.446"}))};logoBeats.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoBusinessAnalytics=function logoBusinessAnalytics(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none",fillRule:"evenodd"},_react.default.createElement("path",{fill:"#00BFB3",d:"M0 22c0 5.522 4.478 10 10 10V12C4.478 12 0 16.478 0 22"}),_react.default.createElement("path",{className:"euiIcon__fillNegative",d:"M10 12v10h10c0-5.522-4.478-10-10-10"}),_react.default.createElement("path",{fill:"#F04E98",d:"M10 0v9c7.168 0 13 5.832 13 13h9C32 9.85 22.15 0 10 0"})))};logoBusinessAnalytics.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoCeph=function logoCeph(props){return _react.default.createElement("svg",props,_react.default.createElement("image",{width:"31.033",height:"31.31",fill:"none",fillRule:"evenodd",xlinkHref:"data:image/png;base64, "}))};logoCeph.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"32",height:"32",viewBox:"0 0 32 32"};var logoCloud=function logoCloud(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none",fillRule:"evenodd"},_react.default.createElement("path",{className:"euiIcon__fillNegative",d:"M12.37 18.352c.032-.01.066-.014.1-.023A6 6 0 0 1 18 10V0C9.163 0 2 7.164 2 16c0 2.793.72 5.417 1.976 7.702a18.947 18.947 0 0 1 8.393-5.349"}),_react.default.createElement("path",{fill:"#0080D5",d:"M18 0A15.959 15.959 0 0 0 5.717 5.75a16.006 16.006 0 0 0 7.541 5.032c.71.22 1.477.135 2.146-.188A5.94 5.94 0 0 1 18 10a5.94 5.94 0 0 1 2.596.594c.669.323 1.436.408 2.146.188a16.01 16.01 0 0 0 7.541-5.032A15.959 15.959 0 0 0 18 0"}),_react.default.createElement("path",{fill:"#00BFB3",d:"M22.742 21.218c-.71-.22-1.478-.135-2.146.188A5.947 5.947 0 0 1 18 22a5.94 5.94 0 0 1-2.596-.594c-.669-.323-1.436-.408-2.146-.188a16.006 16.006 0 0 0-7.54 5.032A15.959 15.959 0 0 0 18 32c4.936 0 9.348-2.236 12.283-5.75a16.016 16.016 0 0 0-7.54-5.032"})))};logoCloud.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoCloudEnterprise=function logoCloudEnterprise(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none",fillRule:"evenodd"},_react.default.createElement("path",{className:"euiIcon__fillNegative",d:"M11.37 18.352c.032-.01.066-.014.1-.023A6 6 0 0 1 17 10V0C8.163 0 1 7.164 1 16c0 2.793.72 5.417 1.976 7.702a18.947 18.947 0 0 1 8.393-5.349"}),_react.default.createElement("path",{fill:"#0080D5",d:"M17 0A15.959 15.959 0 0 0 4.717 5.75a16.006 16.006 0 0 0 7.541 5.032c.71.22 1.477.135 2.146-.188A5.94 5.94 0 0 1 17 10a5.94 5.94 0 0 1 2.596.594c.669.323 1.436.408 2.146.188a16.01 16.01 0 0 0 7.541-5.032A15.959 15.959 0 0 0 17 0"}),_react.default.createElement("path",{fill:"#00AEFA",d:"M21.742 21.218c-.71-.22-1.478-.135-2.146.188A5.947 5.947 0 0 1 17 22a5.94 5.94 0 0 1-2.596-.594c-.669-.323-1.436-.408-2.146-.188a16.006 16.006 0 0 0-7.54 5.032A15.959 15.959 0 0 0 17 32c4.936 0 9.348-2.236 12.283-5.75a16.016 16.016 0 0 0-7.54-5.032"}),_react.default.createElement("path",{className:"euiIcon__fillNegative",d:"M20 16a3 3 0 1 1-6 0 3 3 0 0 1 6 0"})))};logoCloudEnterprise.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoCodesandbox=function logoCodesandbox(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M14.738 28.044V16.681L3.172 10.919v6.46l5.32 2.67v4.889l6.246 3.106zm2.344.066l6.357-3.17v-5.002l5.353-2.686V10.87l-11.71 5.854V28.11zM27.306 8.993l-6.003-3.012-5.286 2.656-5.325-2.659L4.637 9.03l11.317 5.638 11.352-5.675zM.828 23.744V8.324L15.981.689l15.155 7.604V23.72L15.98 31.28.828 23.743z"}))};logoCodesandbox.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoCouchbase=function logoCouchbase(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fill:"#ED2226",d:"M16.072.024C7.29.024.144 7.146.144 15.952c0 8.782 7.122 15.928 15.928 15.928C24.854 31.88 32 24.758 32 15.952 32 7.146 24.854.024 16.072.024zm10.755 18.719c0 .962-.553 1.804-1.636 1.997-1.877.336-5.823.53-9.119.53-3.296 0-7.242-.194-9.119-.53-1.082-.193-1.636-1.035-1.636-1.997v-6.208c0-.962.746-1.852 1.636-1.997.554-.096 1.853-.192 2.864-.192.385 0 .697.289.697.746v4.355l5.582-.12 5.582.12v-4.355c0-.457.313-.746.698-.746 1.01 0 2.31.096 2.863.192.914.145 1.636 1.035 1.636 1.997-.048 2.045-.048 4.139-.048 6.208z"}))};logoCouchbase.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoDocker=function logoDocker(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M18.099 15.108h3.304v-2.973H18.1v2.973zm-3.905 0h3.304v-2.973h-3.304v2.973zm-3.905 0h3.304v-2.973H10.29v2.973zm-3.905 0H9.69v-2.973H6.384v2.973zm-3.904 0h3.304v-2.973H2.48v2.973zm3.904-3.568H9.69V8.568H6.384v2.972zm3.905 0h3.304V8.568H10.29v2.972zm3.905 0h3.304V8.568h-3.304v2.972zm0-3.567h3.304V5h-3.304v2.973zm17.139 5.402c-.722-.478-2.38-.653-3.656-.415-.164-1.19-.834-2.221-2.052-3.153l-.7-.463-.468.694c-.598.893-.897 2.13-.8 3.317.045.418.183 1.164.617 1.82-.433.231-1.29.549-2.42.528H.124l-.043.247c-.204 1.193-.2 4.914 2.24 7.774C4.178 25.898 6.96 27 10.59 27c7.87 0 13.693-3.586 16.42-10.104 1.073.02 3.381.006 4.567-2.237.031-.051.102-.186.31-.61l.113-.234-.667-.44z",fill:"#136EA3",fillRule:"evenodd"}))};logoDocker.defaultProps={width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"};var logoDropwizard=function logoDropwizard(props){return _react.default.createElement("svg",props,_react.default.createElement("image",{width:"19.512",height:"32",fill:"none",fillRule:"evenodd",transform:"translate(6)",xlinkHref:"data:image/png;base64, "}))};logoDropwizard.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"32",height:"32",viewBox:"0 0 32 32"};var logoElastic=function logoElastic(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none"},_react.default.createElement("path",{fill:"#FDD009",d:"M11.934 13.152l7.353 3.356 7.42-6.507c.107-.537.16-1.072.16-1.633 0-4.578-3.721-8.303-8.295-8.303a8.288 8.288 0 0 0-6.84 3.61l-1.234 6.409 1.436 3.068z"}),_react.default.createElement("path",{fill:"#23BAB1",d:"M4.322 20.947a8.461 8.461 0 0 0-.162 1.657c0 4.59 3.731 8.326 8.317 8.326a8.288 8.288 0 0 0 6.873-3.646l1.224-6.387-1.634-3.127-7.383-3.368-7.235 6.545z"}),_react.default.createElement("path",{fill:"#EE5097",d:"M4.276 8.208L9.315 9.4l1.104-5.736a3.976 3.976 0 0 0-2.413-.815 3.978 3.978 0 0 0-3.971 3.976c0 .484.08.948.24 1.383"}),_react.default.createElement("path",{fill:"#17A7E0",d:"M3.838 9.41c-2.251.747-3.817 2.907-3.817 5.284 0 2.314 1.43 4.38 3.576 5.198l7.07-6.398-1.298-2.776-5.53-1.308z"}),_react.default.createElement("path",{fill:"#92C73D",d:"M20.642 27.284a3.945 3.945 0 0 0 2.4.822 3.977 3.977 0 0 0 3.972-3.975c0-.484-.08-.948-.24-1.383l-5.036-1.18-1.096 5.716z"}),_react.default.createElement("path",{fill:"#0678A0",d:"M21.667 20.247l5.543 1.298c2.252-.745 3.818-2.907 3.818-5.284a5.553 5.553 0 0 0-3.583-5.19l-7.25 6.36 1.472 2.816z"})))};logoElastic.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoElasticsearch=function logoElasticsearch(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none",fillRule:"evenodd"},_react.default.createElement("path",{className:"euiIcon__fillNegative",d:"M2 16c0 1.384.194 2.72.524 4H22a4 4 0 0 0 0-8H2.524A15.984 15.984 0 0 0 2 16"}),_react.default.createElement("path",{fill:"#FEC514",d:"M28.924 7.662A15.381 15.381 0 0 0 30.48 6C27.547 2.346 23.05 0 18 0 11.679 0 6.239 3.678 3.644 9H25.51a5.039 5.039 0 0 0 3.413-1.338"}),_react.default.createElement("path",{fill:"#00BFB3",d:"M25.51 23H3.645C6.24 28.323 11.679 32 18 32c5.05 0 9.547-2.346 12.48-6a15.381 15.381 0 0 0-1.556-1.662A5.034 5.034 0 0 0 25.51 23"})))};logoElasticsearch.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoElasticStack=function logoElasticStack(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none",fillRule:"evenodd"},_react.default.createElement("path",{fill:"#F04E98",d:"M32 9V2.5A2.5 2.5 0 0 0 29.5 0h-27A2.5 2.5 0 0 0 0 2.5V9h32z"}),_react.default.createElement("path",{fill:"#00BFB3",d:"M0 20h32v-8H0z"}),_react.default.createElement("path",{fill:"#0080D5",d:"M14.5 23H0v6.5A2.5 2.5 0 0 0 2.5 32h12v-9z"}),_react.default.createElement("path",{fill:"#FEC514",d:"M17.5 23v9h12a2.5 2.5 0 0 0 2.5-2.5V23H17.5z"})))};logoElasticStack.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoEnterpriseSearch=function logoEnterpriseSearch(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none",fillRule:"evenodd"},_react.default.createElement("path",{fill:"#00BFB3",d:"M16 0c-2.918 0-5.645.794-8 2.158 4.777 2.768 8 7.923 8 13.842 0 5.919-3.223 11.074-8 13.842A15.907 15.907 0 0 0 16 32c8.837 0 16-7.163 16-16S24.837 0 16 0"}),_react.default.createElement("path",{fill:"#FEC514",d:"M8 24h2.222A12.996 12.996 0 0 0 13 16c0-2.935-1.012-5.744-2.778-8H8a8 8 0 0 0 0 16"}),_react.default.createElement("path",{className:"euiIcon__fillNegative",d:"M16 8h-2.152A15.877 15.877 0 0 1 16 16c0 2.918-.786 5.647-2.152 8H16a8 8 0 0 0 0-16"})))};logoEnterpriseSearch.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoEtcd=function logoEtcd(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"#419EDA"},_react.default.createElement("path",{d:"M14.65 14.164c0 1.189-.933 2.15-2.083 2.15-1.152 0-2.082-.961-2.082-2.15 0-1.185.93-2.15 2.082-2.15 1.15 0 2.083.965 2.083 2.15zm2.693 0c0 1.189.934 2.15 2.084 2.15s2.083-.961 2.083-2.15c0-1.185-.933-2.15-2.083-2.15-1.15 0-2.084.965-2.084 2.15z"}),_react.default.createElement("path",{d:"M31.522 16.495a5.845 5.845 0 0 1-3.105-.618c.272-1.603.387-3.218.357-4.827a24.896 24.896 0 0 0-3.027-3.703 6.137 6.137 0 0 1 2.133-2.36l.391-.25-.304-.354c-1.57-1.825-3.444-3.235-5.568-4.193L21.975 0l-.107.462a6.248 6.248 0 0 1-1.51 2.829 23.77 23.77 0 0 0-4.362-1.855 23.79 23.79 0 0 0-4.355 1.851A6.246 6.246 0 0 1 10.137.465l-.108-.462-.423.189c-2.097.943-4.022 2.392-5.566 4.19l-.306.355.39.25a6.125 6.125 0 0 1 2.129 2.347 25.001 25.001 0 0 0-3.022 3.689 26.068 26.068 0 0 0 .347 4.86 5.832 5.832 0 0 1-3.09.612L.03 16.46l.043.473a16.723 16.723 0 0 0 2.14 6.765l.234.41.35-.308a5.914 5.914 0 0 1 2.837-1.372 25.255 25.255 0 0 0 2.429 4.083c1.475.533 3.013.93 4.601 1.167a6.359 6.359 0 0 1-.383 3.243l-.175.439.45.102c1.15.261 2.31.394 3.447.394l3.447-.394.45-.102-.175-.44a6.376 6.376 0 0 1-.383-3.244 23.905 23.905 0 0 0 4.585-1.165 25.286 25.286 0 0 0 2.43-4.086 5.94 5.94 0 0 1 2.851 1.373l.35.306.233-.408a16.661 16.661 0 0 0 2.14-6.764l.042-.472-.45.036zM20.93 22.278c-1.63.458-3.287.689-4.933.689-1.65 0-3.304-.231-4.936-.69a20.028 20.028 0 0 1-2.113-4.594 20.072 20.072 0 0 1-.89-5.04 19.076 19.076 0 0 1 3.576-3.516 18.867 18.867 0 0 1 4.363-2.448 18.944 18.944 0 0 1 4.355 2.443 19.19 19.19 0 0 1 3.592 3.538c-.09 1.73-.39 3.41-.899 5.019a19.965 19.965 0 0 1-2.115 4.599z"})))};logoEtcd.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoGCP=function logoGCP(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"logogcp-a",d:"M.085.1h4.549v6.291H.085z"})),_react.default.createElement("g",{fill:"none",fillRule:"evenodd"},_react.default.createElement("path",{fill:"#DB4437",fillRule:"nonzero",d:"M22.57 29.982h-5.749c.527 0 .987-.282 1.233-.7L25.857 16 20.93 7.61l5.748.001c.492 0 .97.251 1.232.7l3.698 6.291c.49.837.526 1.9 0 2.797l-6.572 11.185a2.853 2.853 0 0 1-2.464 1.398zm-.71-2.796c0 .386.318.7.71.7a.705.705 0 0 0 .712-.7c0-.386-.318-.7-.711-.7a.705.705 0 0 0-.712.7zm6.927-10.58c.34.193.775.078.971-.256a.692.692 0 0 0-.26-.955.718.718 0 0 0-.972.256.692.692 0 0 0 .26.955z"}),_react.default.createElement("path",{fill:"#4285F4",fillRule:"nonzero",d:"M25.036 3.416l2.873 4.894a1.427 1.427 0 0 0-1.232-.699H11.071l-4.928 8.388-2.874-4.892a1.377 1.377 0 0 1 0-1.399l3.696-6.292a2.853 2.853 0 0 1 2.464-1.398h13.143c.982 0 1.937.502 2.464 1.398zM10.14 4.814c0-.386-.318-.7-.71-.7a.705.705 0 0 0-.712.7c0 .386.318.7.711.7a.705.705 0 0 0 .711-.7zm12.787.606a.692.692 0 0 0 .26-.955.718.718 0 0 0-.971-.256.692.692 0 0 0-.26.955.718.718 0 0 0 .971.256z"}),_react.default.createElement("path",{fill:"#F4B400",fillRule:"nonzero",d:"M.394 14.601l2.875-4.893c-.263.449-.245.98 0 1.399L11.07 24.39h9.857l-2.874 4.892c-.246.418-.706.7-1.233.7H9.428a2.854 2.854 0 0 1-2.464-1.398L.394 17.398a2.754 2.754 0 0 1 0-2.797zm2.82.793a.718.718 0 0 0-.972.256.693.693 0 0 0 .26.955c.34.193.775.078.971-.256a.692.692 0 0 0-.26-.955zM9.072 26.58a.692.692 0 0 0-.26.955.718.718 0 0 0 .971.256.692.692 0 0 0 .26-.955.718.718 0 0 0-.971-.256z"}),_react.default.createElement("path",{fill:"#000",d:"M18.054 29.282l2.875-4.892H17.96l-1.138 5.591c.526 0 .986-.28 1.232-.699M26.678 7.611h-5.749l1.484 2.527L27.91 8.31a1.427 1.427 0 0 0-1.232-.7",opacity:".1"}),_react.default.createElement("g",{opacity:".1",transform:"translate(2.994 9.609)"},_react.default.createElement("mask",{id:"logogcp-b",fill:"#fff"},_react.default.createElement("use",{xlinkHref:"#logogcp-a"})),_react.default.createElement("path",{fill:"#000",d:"M.275 1.498L3.15 6.391l1.485-2.527L.275.1c-.263.448-.245.98 0 1.398",mask:"url(#logogcp-b)"})),_react.default.createElement("path",{fill:"#CCC",fillRule:"nonzero",d:"M11.071 24.39L6.143 16l4.928-8.39h9.858L25.857 16l-4.928 8.39H11.07zM20.268 16c0-2.317-1.91-4.194-4.268-4.194-2.357 0-4.268 1.877-4.268 4.194 0 2.316 1.91 4.194 4.268 4.194 2.357 0 4.268-1.878 4.268-4.194z"})))};logoGCP.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"32",height:"32",viewBox:"0 0 32 32"};var logoGCPMono=function logoGCPMono(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M20.256 15.982c0-2.316-1.91-4.194-4.268-4.194-2.357 0-4.268 1.878-4.268 4.194 0 2.317 1.911 4.195 4.268 4.195 2.357 0 4.268-1.878 4.268-4.195"}),_react.default.createElement("path",{d:"M29.87 16.543a.862.862 0 0 1-1.167.308.832.832 0 0 1-.312-1.147.862.862 0 0 1 1.167-.308.832.832 0 0 1 .312 1.147M22.56 28.15a.847.847 0 0 1-.855-.84c0-.464.383-.84.855-.84s.854.376.854.84c0 .464-.382.84-.854.84m-12.715-.113a.863.863 0 0 1-1.167-.308.832.832 0 0 1 .312-1.147.862.862 0 0 1 1.167.308.832.832 0 0 1-.312 1.147M3.586 16.542a.863.863 0 0 1-1.167.308.832.832 0 0 1-.313-1.147.862.862 0 0 1 1.167-.308.832.832 0 0 1 .313 1.147M22.987 5.665a.862.862 0 0 1-1.167-.308.832.832 0 0 1 .312-1.147.863.863 0 0 1 1.168.308.832.832 0 0 1-.313 1.147m-13.57.112a.847.847 0 0 1-.854-.84c0-.464.382-.84.854-.84s.855.376.855.84c0 .464-.383.84-.855.84m22.178 8.797l-3.697-6.292c-.014-.023-.03-.043-.045-.065l-2.83-4.818A2.854 2.854 0 0 0 22.56 2H9.417a2.853 2.853 0 0 0-2.464 1.398L3.257 9.69l3.284 5.59 4.519-7.69h15.605c.491 0 .969.251 1.232.699h-6.565l4.513 7.682-4.935 8.4-2.87 4.883a1.426 1.426 0 0 1-1.23.699l3.279-5.582h-9.03l-4.544-7.738-.384-.653-2.874-4.893a1.377 1.377 0 0 1-.003-1.391L.382 14.584a2.754 2.754 0 0 0 0 2.796l6.57 11.186a2.854 2.854 0 0 0 2.465 1.398h7.392c.054 0 .107-.005.16-.011h5.59a2.853 2.853 0 0 0 2.464-1.397l6.572-11.186c.526-.896.49-1.96 0-2.796"}))};logoGCPMono.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoGithub=function logoGithub(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M16 0C7.164 0 0 7.343 0 16.4c0 7.248 4.584 13.394 10.942 15.562.8.15 1.092-.356 1.092-.789 0-.39-.014-1.684-.022-3.053-4.45.991-5.39-1.934-5.39-1.934-.728-1.894-1.776-2.398-1.776-2.398-1.454-1.017.11-.997.11-.997 1.606.114 2.452 1.69 2.452 1.69 1.428 2.506 3.746 1.781 4.656 1.36.146-1.056.56-1.78 1.016-2.19-3.552-.414-7.288-1.821-7.288-8.105 0-1.792.624-3.254 1.646-4.402-.164-.416-.714-2.085.158-4.342 0 0 1.341-.44 4.4 1.681A14.882 14.882 0 0 1 16 7.932c1.36.006 2.728.188 4.006.553 3.053-2.124 4.396-1.681 4.396-1.681.875 2.259.325 3.926.16 4.34 1.026 1.148 1.645 2.61 1.645 4.402 0 6.3-3.742 7.687-7.307 8.094.577.508 1.086 1.505 1.086 3.035 0 2.192-.021 3.96-.021 4.5 0 .437.29.947 1.101.787C27.42 29.79 32 23.644 32 16.4 32 7.343 24.836 0 16 0z"}))};logoGithub.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoGmail=function logoGmail(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none"},_react.default.createElement("path",{fill:"#E65A4D",d:"M29.162 4.149c.29-.175.588-.078.873 0a2.616 2.616 0 0 1 1.907 2.476c.006.29-.007.581-.007.866-.084 0-.135.052-.2.097-.815.582-1.642 1.164-2.45 1.752-.33.239-.692.426-.97.73-.116 0-.2.078-.284.136-2.69 1.855-5.379 3.704-8.062 5.56-1.331.918-2.663 1.849-3.995 2.773h-.11c-.058-.045-.11-.103-.168-.142L5.863 11.55c-.672-.466-1.344-.938-2.017-1.403-.077-.052-.148-.162-.245-.104-.09.052-.033.175-.045.272-.007.032 0 .065 0 .097v16.194c0 .116.006.24.012.355 0 .065-.006.123-.006.188-1.228.149-2.347-.02-3.116-1.131a2.381 2.381 0 0 1-.44-1.364c0-6.032-.006-12.057.007-18.089 0-1.228.995-2.314 2.217-2.488.194-.026.388-.052.556.077.04.039.071.078.117.11 4.273 3.168 8.546 6.335 12.819 9.51.168.122.278.116.446-.007 3.413-2.521 6.833-5.036 10.247-7.55.905-.692 1.823-1.384 2.747-2.07z"}),_react.default.createElement("path",{fill:"#F6F4EC",d:"M29.162 4.149c-.924.685-1.842 1.377-2.767 2.062-3.413 2.521-6.833 5.03-10.246 7.55-.168.123-.272.13-.446.007-4.267-3.174-8.54-6.335-12.813-9.51-.046-.032-.078-.07-.117-.11.078-.129.214-.083.324-.083h25.742c.11 0 .239-.046.323.084z"}),_react.default.createElement("path",{fill:"#E6E3D6",d:"M3.556 26.95a6.533 6.533 0 0 1-.013-.356V10.4c0-.032-.007-.065 0-.097.013-.09-.046-.213.045-.271.097-.059.174.051.246.103.672.465 1.344.937 2.017 1.403l9.832 6.846c.058.045.117.097.168.142-.026.026-.058.045-.084.071l-.064.065c-.052 0-.104.013-.13.064l-.064.065c-.007.013-.02.02-.026.032.013-.006.02-.019.032-.025l.065-.065c.052 0 .103-.013.13-.065.018-.02.044-.045.064-.064.064 0 .129-.007.194-.007.898.627 1.803 1.248 2.702 1.875 2.676 1.855 5.353 3.704 8.023 5.572.478.337 1.002.628 1.428 1.035-.116.11-.258.039-.388.058.007-.149-.122-.188-.22-.252-.49-.343-.995-.672-1.473-1.028-.802-.588-1.617-1.15-2.431-1.72-.679-.472-1.351-.963-2.05-1.409-.607-.388-1.17-.853-1.777-1.248-.685-.44-1.332-.93-2.01-1.377-.563-.368-1.113-.762-1.662-1.15-.11-.078-.207-.11-.323-.033-.233.168-.53.278-.724.46-.556.51-1.235.84-1.817 1.305-.743.589-1.545 1.112-2.34 1.636-1.319.873-2.599 1.816-3.911 2.696a43.697 43.697 0 0 0-2.308 1.629c-.207.155-.485.226-.614.485-.13-.013-.272.038-.395-.046 2.315-1.616 4.63-3.226 6.937-4.842.304-.213.646-.381.899-.666.045-.013.103-.019.097-.084 0-.006-.013-.02-.02-.02-.065-.006-.077.046-.09.091-.233.013-.375.194-.55.31-2.463 1.7-4.932 3.388-7.395 5.075zm11.119-7.564l.064-.065c.052 0 .104-.013.13-.064l.064-.065c.052 0 .104-.013.13-.065.006-.013.019-.02.025-.032-.012.006-.019.02-.032.026-.052 0-.103.013-.13.064l-.064.065c-.051 0-.103.013-.13.065-.018.026-.038.045-.057.07-.013.007-.026.014-.033.027.013-.007.026-.013.033-.026zm-.84.575c-.052 0-.104.013-.13.065-.039.006-.09.006-.097.065 0 .012.026.038.039.038.052-.006.058-.051.065-.09.051-.007.096-.013.122-.078a.311.311 0 0 0 .071-.058c.052 0 .104-.013.13-.065l.064-.064c.052 0 .104-.013.13-.065.006-.013.02-.02.026-.032-.013.006-.02.02-.033.026-.051 0-.103.013-.13.064-.018.02-.044.046-.064.065-.051 0-.103.013-.129.065l-.065.064zm-.841.588c-.052 0-.103.013-.13.065-.051.007-.103.013-.096.084 0 .007.013.02.02.02.07.006.077-.046.083-.097.052-.007.097-.02.123-.072.026-.012.045-.038.071-.058.052 0 .103-.013.13-.064l.064-.065c.052 0 .103-.013.13-.065.006-.013.019-.019.025-.032-.013.007-.02.02-.032.026-.052 0-.104.013-.13.065l-.064.064c-.052 0-.104.013-.13.065a.306.306 0 0 0-.064.064zm-.647.46c.052-.007.104-.013.097-.085 0-.006-.012-.019-.019-.019-.071-.006-.078.045-.084.097-.052 0-.097.013-.13.065a.223.223 0 0 0-.193.129c-.045.013-.104.013-.097.084 0 .006.013.02.02.02.064.006.077-.046.083-.098.09 0 .181-.006.194-.129.058-.006.104-.02.13-.065zm2.128-1.533c-.008.027-.025.054-.033.072.025.009.05.035.067.027.016-.01.025-.045.033-.072a.55.55 0 0 1-.067-.027zm-1.81 1.35c-.008-.024-.015-.056-.03-.056-.015-.008-.052.008-.06.024-.022.033-.007.074.03.074.022 0 .037-.025.06-.041zM15.355 19a.185.185 0 0 1 .034-.072c-.025-.009-.05-.035-.067-.026-.016.008-.025.044-.033.07.017.01.042.019.067.028zm-3.526 2.402c-.016-.024-.031-.05-.04-.057-.015 0-.055.016-.055.033-.016.04.008.074.048.065.016 0 .031-.024.047-.04z"}),_react.default.createElement("path",{fill:"#B6B5AC",d:"M28.121 27.085c-.426-.413-.944-.698-1.428-1.034-2.67-1.862-5.347-3.717-8.023-5.573-.899-.627-1.804-1.247-2.702-1.874 0-.02-.007-.046-.007-.065l3.995-2.773c2.69-1.856 5.379-3.705 8.062-5.56.084-.058.168-.136.284-.136v17.073c-.051-.019-.116-.038-.18-.058z"}),_react.default.createElement("path",{fill:"#E6E3D6",d:"M4.073 27.143c.123-.258.407-.33.614-.484a47.845 47.845 0 0 1 2.308-1.63c1.312-.885 2.592-1.823 3.91-2.695.796-.524 1.598-1.048 2.341-1.636.588-.465 1.26-.795 1.817-1.306.2-.18.49-.29.724-.459.11-.084.207-.051.323.033.55.388 1.099.782 1.661 1.15.68.446 1.326.944 2.01 1.377.608.388 1.17.854 1.779 1.248.698.446 1.37.937 2.049 1.41.814.568 1.635 1.13 2.43 1.719.485.355.983.685 1.475 1.028.09.064.226.103.22.252-7.888-.007-15.774-.007-23.661-.007z"}),_react.default.createElement("path",{fill:"#B1392F",d:"M28.315 27.143V10.07c.278-.304.64-.491.97-.73.814-.595 1.635-1.17 2.45-1.752.058-.045.116-.097.2-.097.007.11.013.213.013.323 0 5.502 0 11.01.007 16.51 0 .376-.013.75-.104 1.126-.161.691-.575 1.17-1.247 1.409-.744.259-1.513.33-2.289.284z"}),_react.default.createElement("path",{fill:"#BEBDB3",d:"M11.514 21.59c-.253.285-.595.453-.9.666a2650.078 2650.078 0 0 1-6.936 4.842l-.129.039c0-.065.007-.123.007-.188 2.47-1.687 4.932-3.374 7.402-5.061.174-.117.31-.304.55-.31l.006.012z"})))};logoGmail.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoGolang=function logoGolang(props){return _react.default.createElement("svg",props,_react.default.createElement("image",{width:"23.511",height:"32",fill:"none",fillRule:"evenodd",transform:"translate(4)",xlinkHref:"data:image/png;base64, "}))};logoGolang.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"32",height:"32",viewBox:"0 0 32 32"};var logoHAproxy=function logoHAproxy(props){return _react.default.createElement("svg",props,_react.default.createElement("image",{width:"32",height:"31.207",fill:"none",fillRule:"evenodd",xlinkHref:"data:image/png;base64, "}))};logoHAproxy.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"32",height:"32",viewBox:"0 0 32 32"};var logoIBM=function logoIBM(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("linearGradient",{id:"logo_ibm-a",x1:"8.005%",x2:"53.33%",y1:"79.323%",y2:"79.324%"},_react.default.createElement("stop",{offset:"0%",stopColor:"#3BDADE",stopOpacity:"0"}),_react.default.createElement("stop",{offset:"30.476%",stopColor:"#36CEE1",stopOpacity:".383"}),_react.default.createElement("stop",{offset:"100%",stopColor:"#21A2EF"})),_react.default.createElement("linearGradient",{id:"logo_ibm-b",x1:"19.496%",x2:"71.309%",y1:"83.344%",y2:"17.638%"},_react.default.createElement("stop",{offset:"0%",stopColor:"#207FFA"}),_react.default.createElement("stop",{offset:"100%",stopColor:"#6EAFF1",stopOpacity:"0"})),_react.default.createElement("linearGradient",{id:"logo_ibm-c",x1:"21.909%",x2:"21.909%",y1:"96.314%",y2:"29.454%"},_react.default.createElement("stop",{offset:"0%",stopColor:"#42C1E6",stopOpacity:"0"}),_react.default.createElement("stop",{offset:"57.076%",stopColor:"#6FB9EF"}),_react.default.createElement("stop",{offset:"86.716%",stopColor:"#60CBE7"}),_react.default.createElement("stop",{offset:"100%",stopColor:"#5CCFE5",stopOpacity:"0"})),_react.default.createElement("linearGradient",{id:"logo_ibm-d",x1:"96.205%",x2:"-1.172%",y1:"12.667%",y2:"-22.252%"},_react.default.createElement("stop",{offset:"0%",stopColor:"#6FB9EF",stopOpacity:"0"}),_react.default.createElement("stop",{offset:"22.427%",stopColor:"#38D2E0"}),_react.default.createElement("stop",{offset:"91.203%",stopColor:"#6ABFEC"}),_react.default.createElement("stop",{offset:"100%",stopColor:"#5CCFE5",stopOpacity:"0"})),_react.default.createElement("linearGradient",{id:"logo_ibm-e",x1:"9.408%",x2:"80.589%",y1:"87.764%",y2:"83.138%"},_react.default.createElement("stop",{offset:"0%",stopColor:"#126CFD"}),_react.default.createElement("stop",{offset:"100%",stopColor:"#21A1EF"}))),_react.default.createElement("g",{fill:"none",fillRule:"evenodd"},_react.default.createElement("path",{fill:"#38D2E0",d:"M4.262 13.122a.604.604 0 0 1-.3-.08l-2.844-1.625a.617.617 0 0 1-.295-.734.608.608 0 0 1 .868-.315l2.843 1.625c.29.159.405.514.261.81a.603.603 0 0 1-.533.32zm4.914-4.864a.603.603 0 0 1-.522-.298L7.012 5.144a.615.615 0 0 1 .115-.782.606.606 0 0 1 .91.157l1.64 2.813a.617.617 0 0 1-.158.819c-.1.07-.22.107-.343.107zm6.107-2.416V2.635a.624.624 0 0 1 .575-.634.605.605 0 0 1 .443.164.593.593 0 0 1 .186.431v3.285a.593.593 0 0 1-.186.43.605.605 0 0 1-.443.165.624.624 0 0 1-.575-.634zm7.312 2.416a.604.604 0 0 1-.343-.107.617.617 0 0 1-.159-.82l1.64-2.812a.602.602 0 0 1 .911-.157c.223.2.271.528.115.782L23.117 7.96a.603.603 0 0 1-.522.298zm4.914 4.864a.602.602 0 0 1-.534-.319.616.616 0 0 1 .262-.81l2.818-1.611a.626.626 0 0 1 .783.112.592.592 0 0 1-.156.906l-2.873 1.643a.604.604 0 0 1-.3.08z"}),_react.default.createElement("path",{fill:"url(#logo_ibm-a)",d:"M16.536 19.645l-1.204-.009c.026-3.377 2.146-6.391 5.337-7.585a8.308 8.308 0 0 1 9.068 2.197l-.897.795a7.097 7.097 0 0 0-7.745-1.876c-2.726 1.019-4.537 3.593-4.559 6.478z",transform:"translate(0 2)"}),_react.default.createElement("path",{fill:"url(#logo_ibm-b)",d:"M.029 20.909c.022-3.354 2.475-6.208 5.815-6.764l.201 1.176c-2.764.46-4.794 2.82-4.812 5.596L.029 20.91z",transform:"translate(0 2)"}),_react.default.createElement("path",{fill:"url(#logo_ibm-c)",d:"M8.246 24.737a10.625 10.625 0 0 1 0-15.131c4.219-4.178 11.06-4.178 15.279 0a10.89 10.89 0 0 1 1.384 1.678l-1.004.657a9.517 9.517 0 0 0-1.231-1.492c-3.75-3.713-9.828-3.713-13.577 0a9.442 9.442 0 0 0 0 13.445l-.851.843z",transform:"translate(0 2)"}),_react.default.createElement("path",{fill:"url(#logo_ibm-d)",d:"M5.836 13.234c.404-1.332 1.33-2.56 2.41-3.628 4.219-4.178 11.06-4.178 15.279 0a10.89 10.89 0 0 1 1.384 1.678l-1.004.657a9.517 9.517 0 0 0-1.231-1.492c-3.75-3.713-9.828-3.713-13.577 0a9.474 9.474 0 0 0-2.074 3.06c-1.452 3.45-2.358 3.593-1.187-.275z",transform:"translate(0 2)"}),_react.default.createElement("path",{fill:"url(#logo_ibm-e)",d:"M23.524 27.87H6.96a7.012 7.012 0 0 1-4.922-2.059A6.876 6.876 0 0 1 .029 20.91l1.204.009a5.69 5.69 0 0 0 1.66 4.055 5.802 5.802 0 0 0 4.071 1.705h16.618c2.78.002 5.302-1.616 6.438-4.13a6.929 6.929 0 0 0-1.18-7.505l.897-.795a8.112 8.112 0 0 1 1.384 8.785c-1.329 2.943-4.279 4.837-7.534 4.838h-.063z",transform:"translate(0 2)"})))};logoIBM.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoIBMMono=function logoIBMMono(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M.047 22.909l1.186.009a5.69 5.69 0 0 0 1.66 4.055 5.802 5.802 0 0 0 4.071 1.705h16.618c2.78.002 5.302-1.616 6.438-4.13a6.929 6.929 0 0 0-1.18-7.505l.897-.795a8.112 8.112 0 0 1 1.384 8.785c-1.329 2.943-4.279 4.837-7.534 4.838H6.96a7.012 7.012 0 0 1-4.922-2.06A6.876 6.876 0 0 1 .029 22.91h.018-.018c.017-2.71 1.62-5.091 3.997-6.2.114-.054.32.29.619 1.03a5.71 5.71 0 0 0-3.412 5.18l-1.186-.01zm4.215-9.787a.604.604 0 0 1-.3-.08l-2.844-1.625a.617.617 0 0 1-.295-.734.608.608 0 0 1 .868-.315l2.843 1.625c.29.159.405.514.261.81a.603.603 0 0 1-.533.32zm4.914-4.864a.603.603 0 0 1-.522-.298L7.012 5.144a.615.615 0 0 1 .115-.782.606.606 0 0 1 .91.157l1.64 2.813a.617.617 0 0 1-.158.819c-.1.07-.22.107-.343.107zm6.107-2.416V2.635a.624.624 0 0 1 .575-.634.605.605 0 0 1 .443.164.593.593 0 0 1 .186.431v3.285a.593.593 0 0 1-.186.43.605.605 0 0 1-.443.165.624.624 0 0 1-.575-.634zm7.312 2.416a.604.604 0 0 1-.343-.107.617.617 0 0 1-.159-.82l1.64-2.812a.602.602 0 0 1 .911-.157c.223.2.271.528.115.782L23.117 7.96a.603.603 0 0 1-.522.298zm4.914 4.864a.602.602 0 0 1-.534-.319.616.616 0 0 1 .262-.81l2.818-1.611a.626.626 0 0 1 .783.112.592.592 0 0 1-.156.906l-2.873 1.643a.604.604 0 0 1-.3.08zM16.366 19.78H16a2.322 2.322 0 0 1-.302 0c-.09-.011-.152.05-.086-.196a8.204 8.204 0 0 1 5.057-5.533 8.308 8.308 0 0 1 9.068 2.197l-.897.795a7.097 7.097 0 0 0-7.745-1.876 7.009 7.009 0 0 0-4.288 4.613c-.115.399-.115.399 0 0h-.44zM6.154 23.826a10.626 10.626 0 0 1 2.092-12.22c4.219-4.178 11.06-4.178 15.279 0l-.851.843c-3.75-3.713-9.828-3.713-13.577 0A9.442 9.442 0 0 0 7.264 23.36a6.99 6.99 0 0 0-.418.172l-.212.094-.162.077-.094.03-.09.039c.648-.282.965-.42.95-.412-.026.015-1.073.489-1.084.466z"}))};logoIBMMono.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoKafka=function logoKafka(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M21.565 17.623c-1.173 0-2.225.52-2.945 1.337l-1.845-1.306c.196-.54.309-1.118.309-1.724 0-.596-.109-1.165-.298-1.696l1.84-1.293a3.914 3.914 0 0 0 2.939 1.331 3.93 3.93 0 0 0 3.926-3.926 3.93 3.93 0 0 0-3.926-3.926 3.93 3.93 0 0 0-3.926 3.926c0 .387.058.761.163 1.115l-1.842 1.293a5.068 5.068 0 0 0-3.14-1.825V8.71a3.932 3.932 0 0 0 3.119-3.842A3.93 3.93 0 0 0 12.012.941a3.93 3.93 0 0 0-3.926 3.926 3.93 3.93 0 0 0 3.048 3.824v2.249a5.075 5.075 0 0 0-4.193 4.99 5.075 5.075 0 0 0 4.229 4.995V23.3a3.931 3.931 0 0 0-3.084 3.833 3.93 3.93 0 0 0 3.926 3.926 3.93 3.93 0 0 0 3.927-3.926 3.931 3.931 0 0 0-3.084-3.833v-2.375a5.07 5.07 0 0 0 3.087-1.795l1.857 1.314c-.103.351-.16.721-.16 1.105a3.93 3.93 0 0 0 3.926 3.926 3.93 3.93 0 0 0 3.926-3.926 3.93 3.93 0 0 0-3.926-3.926zm0-9.18c1.05 0 1.903.853 1.903 1.903s-.854 1.903-1.903 1.903a1.906 1.906 0 0 1-1.904-1.903c0-1.05.854-1.904 1.904-1.904zM10.109 4.866c0-1.05.854-1.903 1.903-1.903 1.05 0 1.904.854 1.904 1.903 0 1.05-.854 1.904-1.904 1.904a1.906 1.906 0 0 1-1.903-1.904zm3.807 22.266c0 1.05-.854 1.903-1.904 1.903a1.906 1.906 0 0 1-1.903-1.903c0-1.05.854-1.904 1.903-1.904 1.05 0 1.904.854 1.904 1.904zm-1.904-8.548a2.658 2.658 0 0 1-2.655-2.655 2.658 2.658 0 0 1 2.655-2.655 2.658 2.658 0 0 1 2.655 2.655 2.658 2.658 0 0 1-2.655 2.655zm9.553 4.867a1.906 1.906 0 0 1-1.904-1.903c0-1.05.854-1.904 1.904-1.904 1.05 0 1.903.854 1.903 1.904 0 1.05-.854 1.903-1.903 1.903z"}))};logoKafka.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoKibana=function logoKibana(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none",fillRule:"evenodd"},_react.default.createElement("path",{fill:"#F04E98",d:"M4 0v28.789L28.935.017z"}),_react.default.createElement("path",{className:"euiIcon__fillNegative",d:"M4 12v16.789l11.906-13.738A24.721 24.721 0 0 0 4 12"}),_react.default.createElement("path",{fill:"#00BFB3",d:"M18.479 16.664L6.268 30.754l-1.073 1.237h23.191c-1.252-6.292-4.883-11.719-9.908-15.327"})))};logoKibana.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoKubernetes=function logoKubernetes(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M15.89.003a2.14 2.14 0 0 1 1.03.206l11.127 5.304a2.11 2.11 0 0 1 1.15 1.429l2.75 11.921a2.09 2.09 0 0 1-.412 1.783l-7.697 9.56c-.404.5-1.016.792-1.663.791L9.827 31c-.648 0-1.26-.292-1.664-.793l-7.7-9.558a2.107 2.107 0 0 1-.41-1.783L2.798 6.945a2.11 2.11 0 0 1 1.151-1.43L15.074.21c.255-.122.532-.192.815-.206zM16 4.06c-.368 0-.667.33-.667.738l.002.019c0 .055-.003.122-.002.17.01.236.06.416.091.632.057.464.103.849.074 1.206-.028.135-.127.258-.216.344l-.015.281a8.569 8.569 0 0 0-5.555 2.666 9.98 9.98 0 0 1-.24-.17c-.12.016-.24.053-.396-.038-.298-.2-.57-.477-.898-.81-.15-.16-.26-.31-.438-.464-.04-.035-.103-.082-.148-.118a.793.793 0 0 0-.464-.175.642.642 0 0 0-.53.234c-.23.288-.156.726.163.98l.01.008c.044.035.098.08.138.11.19.14.363.212.552.323.398.246.729.45.99.695.103.108.12.3.134.383l.214.19a8.592 8.592 0 0 0-1.36 5.998l-.278.08c-.074.096-.177.245-.286.29-.343.107-.728.147-1.194.195-.218.018-.407.008-.639.051-.05.01-.122.029-.177.042l-.006.001-.01.003c-.393.095-.645.455-.564.81.082.355.465.57.86.485l.01-.001.013-.004c.055-.012.124-.026.172-.039.228-.06.393-.15.597-.228.44-.158.806-.29 1.161-.341.149-.012.305.091.383.135l.29-.05a8.654 8.654 0 0 0 3.84 4.787l-.12.29c.043.113.091.265.059.376-.13.334-.35.688-.603 1.081-.122.182-.247.324-.357.532-.026.05-.06.126-.086.179-.17.365-.045.786.284.944.33.16.741-.008.919-.375l.001-.001v-.002c.025-.051.061-.12.083-.169.094-.215.125-.4.192-.609.176-.442.273-.905.515-1.194.067-.08.175-.11.287-.14l.151-.273a8.616 8.616 0 0 0 6.145.016l.142.256c.114.037.239.056.34.206.182.31.306.675.457 1.118.066.208.1.393.194.61.021.048.057.117.082.17.177.367.59.535.92.376.33-.158.455-.58.284-.945-.026-.052-.06-.129-.087-.179-.11-.208-.235-.348-.357-.53-.252-.393-.461-.72-.59-1.055-.055-.173.009-.28.05-.392-.025-.029-.079-.192-.11-.268a8.654 8.654 0 0 0 3.838-4.822c.086.014.236.04.285.05.1-.066.192-.152.373-.138.355.052.72.183 1.16.341.205.078.37.17.598.23.048.013.117.025.172.037l.013.004.01.002c.395.085.778-.131.86-.486.08-.355-.171-.715-.564-.81-.057-.013-.138-.035-.193-.045-.232-.044-.42-.033-.64-.051-.465-.049-.85-.089-1.193-.196-.14-.054-.239-.22-.287-.289l-.27-.078a8.572 8.572 0 0 0-.139-3.104 8.599 8.599 0 0 0-1.247-2.88c.068-.062.199-.177.236-.21.01-.12.001-.245.125-.377.262-.246.592-.45.99-.695.19-.11.364-.182.554-.322.043-.032.101-.082.146-.118.32-.255.393-.693.164-.98-.23-.287-.674-.314-.993-.06-.046.036-.107.083-.148.118-.179.153-.29.305-.44.464-.328.333-.6.611-.898.812-.129.075-.318.049-.404.044l-.253.18a8.732 8.732 0 0 0-5.528-2.666 16.036 16.036 0 0 1-.015-.297c-.087-.083-.192-.154-.218-.333-.029-.357.02-.742.076-1.206.03-.216.082-.396.09-.632.003-.053 0-.13 0-.189 0-.408-.299-.738-.667-.738zm-.834 5.156l-.198 3.488-.014.007a.587.587 0 0 1-.932.449l-.006.002-2.864-2.027a6.862 6.862 0 0 1 4.014-1.919zm1.668 0a6.922 6.922 0 0 1 3.99 1.92l-2.846 2.015-.01-.004a.588.588 0 0 1-.933-.448l-.003-.001-.198-3.482zm-6.72 3.222l2.614 2.335-.003.014a.585.585 0 0 1-.23 1.008l-.003.01-3.352.967a6.838 6.838 0 0 1 .973-4.334zm11.753.001c.388.63.683 1.331.858 2.093a6.91 6.91 0 0 1 .145 2.229l-3.37-.97-.002-.013a.586.586 0 0 1-.23-1.008l-.002-.007 2.6-2.324zm-6.404 2.515h1.071l.666.83-.239 1.038-.962.461-.964-.463-.24-1.037.668-.83zm3.435 2.844a.585.585 0 0 1 .135.01l.005-.008 3.468.586a6.858 6.858 0 0 1-2.776 3.481l-1.346-3.246.004-.005a.586.586 0 0 1 .51-.818zm-5.824.014a.587.587 0 0 1 .53.817l.01.012-1.331 3.214a6.886 6.886 0 0 1-2.767-3.458l3.437-.582.006.007a.595.595 0 0 1 .115-.01zm2.904 1.407a.582.582 0 0 1 .275.059.583.583 0 0 1 .263.25h.013l1.694 3.057c-.22.073-.446.136-.677.189a6.896 6.896 0 0 1-3.758-.194l1.69-3.05h.003a.588.588 0 0 1 .497-.31z",fill:"#326CE5"}))};logoKubernetes.defaultProps={width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"};var logoLogstash=function logoLogstash(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fill:"#3EBEB0",d:"M19 32h11V20H19z"}),_react.default.createElement("path",{fill:"#FEC514",d:"M4 0H3v20h13v-8C16 5.373 10.627 0 4 0"}),_react.default.createElement("path",{className:"euiIcon__fillNegative",d:"M3 20c0 6.627 5.373 12 12 12h1V20H3z"}))};logoLogstash.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoMemcached=function logoMemcached(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("linearGradient",{id:"logo_memcached-a",x1:"50%",x2:"50%",y1:"100%",y2:"0%"},_react.default.createElement("stop",{offset:"0%",stopColor:"#574C4A"}),_react.default.createElement("stop",{offset:"100%",stopColor:"#80716D"})),_react.default.createElement("linearGradient",{id:"logo_memcached-b",x1:"88.778%",x2:"30.149%",y1:"98.342%",y2:"-8.68%"},_react.default.createElement("stop",{offset:"0%",stopColor:"#268D83"}),_react.default.createElement("stop",{offset:"100%",stopColor:"#2EA19E"})),_react.default.createElement("radialGradient",{id:"logo_memcached-c",cx:"41.406%",cy:"42.708%",r:"0%",fx:"41.406%",fy:"42.708%"},_react.default.createElement("stop",{offset:"0%",stopColor:"#DB7C7C"}),_react.default.createElement("stop",{offset:"100%",stopColor:"#C83737"})),_react.default.createElement("radialGradient",{id:"logo_memcached-d",cx:"44.271%",cy:"42.708%",r:"0%",fx:"44.271%",fy:"42.708%"},_react.default.createElement("stop",{offset:"0%",stopColor:"#DB7C7C"}),_react.default.createElement("stop",{offset:"100%",stopColor:"#C83737"}))),_react.default.createElement("g",{fill:"none"},_react.default.createElement("path",{fill:"url(#logo_memcached-a)",d:"M0 21.567V10.352C0 1.294 1.293 0 10.342 0h11.236c9.049 0 10.341 1.294 10.341 10.352v11.215c0 9.059-1.292 10.352-10.341 10.352H10.342C1.292 31.92 0 30.626 0 21.567z"}),_react.default.createElement("path",{fill:"url(#logo_memcached-b)",d:"M6.889 6.016C5.32 15.96 6.14 25.27 6.14 25.27h4.904c-.466-2.483-2.14-13.824-.748-13.861.746.118 4.156 9.621 4.156 9.621s.751-.093 1.507-.093c.755 0 1.506.093 1.506.093s3.41-9.503 4.157-9.621c1.392.037-.282 11.378-.748 13.86h4.904s.82-9.31-.748-19.253h-4.54c-.865.01-4.153 5.777-4.531 5.777-.378 0-3.666-5.767-4.53-5.777H6.889z"}),_react.default.createElement("path",{fill:"url(#logo_memcached-c)",d:"M14.993 24.109a1.16 1.16 0 1 1-2.322 0 1.16 1.16 0 0 1 2.322 0z"}),_react.default.createElement("path",{fill:"url(#logo_memcached-d)",d:"M19.249 24.109a1.16 1.16 0 1 1-2.322 0 1.16 1.16 0 0 1 2.322 0z"}),_react.default.createElement("path",{fill:"#000",d:"M24.8 6.345c.707 4.79.873 9.388.86 12.813-.013 3.503-.214 5.78-.214 5.78h-4.128l-.443.332h4.904s.82-9.31-.748-19.254l-.232.329zm-12.996-.121c1.288 1.433 3.516 5.237 3.823 5.237-.817-1.045-2.823-4.378-3.823-5.237zm-1.84 4.852c-1.392.038.282 11.379.749 13.861H6.43l-.29.333h4.904c-.464-2.47-2.123-13.71-.769-13.861-.126-.19-.235-.32-.311-.333zm11.326 0c-.746.119-4.156 9.622-4.156 9.622s-.751-.094-1.507-.094c-.447 0-.832.028-1.092.052l-.082.374s.751-.093 1.507-.093c.755 0 1.506.093 1.506.093s3.385-9.44 4.146-9.621c-.082-.208-.183-.33-.322-.333z",opacity:".1"}),_react.default.createElement("path",{fill:"#FFF",d:"M6.889 6.016C5.32 15.96 6.14 25.27 6.14 25.27l.289-.325c-.148-2.197-.543-10.14.791-18.597h4.541c.096.002.225.08.374.208-.297-.33-.544-.538-.706-.54H6.889zm13.601 0c-.864.01-4.152 5.777-4.53 5.777.154.197.279.333.332.333.378 0 3.666-5.767 4.53-5.777h4.008l.2-.333h-4.54zm-9.881 5.725c1.103 1.657 3.844 9.29 3.844 9.29l.08-.373c-.676-1.856-3.256-8.814-3.903-8.917h-.021zm11.346 0c.74 1.887-.66 11.295-1.08 13.529l.444-.348c.568-3.331 1.936-13.146.636-13.18z",opacity:".3"})))};logoMemcached.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoMetrics=function logoMetrics(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none",fillRule:"evenodd"},_react.default.createElement("path",{fill:"#F04E98",d:"M2 32h28V20l-6.465-6.465a5 5 0 0 0-7.07 0L2 28v4z"}),_react.default.createElement("path",{className:"euiIcon__fillNegative",d:"M16.465 13.535l-3.536 3.536a9.965 9.965 0 0 0 7.07 2.93 9.965 9.965 0 0 0 7.072-2.93l-3.536-3.536a5 5 0 0 0-7.07 0"}),_react.default.createElement("path",{fill:"#FEC514",d:"M14.343 11.414A7.951 7.951 0 0 1 20 9.071c2.137 0 4.146.832 5.657 2.343l3.207 3.207A9.955 9.955 0 0 0 30 10.001c0-5.524-4.477-10-10-10-5.522 0-10 4.476-10 10 0 1.667.414 3.237 1.137 4.62l3.206-3.207z"})))};logoMetrics.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoMongodb=function logoMongodb(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none"},_react.default.createElement("path",{fill:"#FFF",d:"M16.844 31.847l-.847-.29s.104-4.315-1.445-4.625c-1.032-1.198.165-50.8 3.882-.165 0 0-1.28.64-1.507 1.735-.248 1.074-.083 3.345-.083 3.345z"}),_react.default.createElement("path",{fill:"#A6A385",d:"M16.844 31.847l-.847-.29s.104-4.315-1.445-4.625c-1.032-1.198.165-50.8 3.882-.165 0 0-1.28.64-1.507 1.735-.248 1.074-.083 3.345-.083 3.345z"}),_react.default.createElement("path",{fill:"#FFF",d:"M17.299 27.676s7.413-4.874 5.678-15.013c-1.672-7.372-5.616-9.788-6.05-10.718-.475-.66-.93-1.817-.93-1.817l.31 20.506c0 .02-.64 6.278.992 7.042"}),_react.default.createElement("path",{fill:"#499D4A",d:"M17.299 27.676s7.413-4.874 5.678-15.013c-1.672-7.372-5.616-9.788-6.05-10.718-.475-.66-.93-1.817-.93-1.817l.31 20.506c0 .02-.64 6.278.992 7.042"}),_react.default.createElement("path",{fill:"#FFF",d:"M15.564 27.944s-6.96-4.75-6.546-13.113c.392-8.363 5.307-12.473 6.257-13.216.62-.66.64-.909.681-1.57.434.93.351 13.898.413 15.426.186 5.886-.33 11.358-.805 12.473z"}),_react.default.createElement("path",{fill:"#58AA50",d:"M15.564 27.944s-6.96-4.75-6.546-13.113c.392-8.363 5.307-12.473 6.257-13.216.62-.66.64-.909.681-1.57.434.93.351 13.898.413 15.426.186 5.886-.33 11.358-.805 12.473z"})))};logoMongodb.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoMySQL=function logoMySQL(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"#00546B"},_react.default.createElement("path",{d:"M29.456 24.276c-1.74-.043-3.088.131-4.219.61-.326.13-.848.13-.892.543.174.174.196.457.348.696.261.435.718 1.022 1.131 1.327.457.348.914.696 1.392 1 .848.522 1.805.827 2.631 1.349.48.304.957.695 1.436 1.022.24.173.391.456.696.565v-.065c-.153-.196-.196-.479-.348-.696-.218-.218-.435-.413-.653-.63a10.316 10.316 0 0 0-2.261-2.197c-.696-.479-2.219-1.131-2.501-1.936l-.044-.043c.479-.044 1.044-.218 1.5-.348.74-.196 1.414-.153 2.175-.348.348-.087.696-.196 1.044-.305v-.195c-.391-.392-.674-.914-1.087-1.284-1.11-.957-2.327-1.892-3.588-2.674-.675-.435-1.545-.718-2.262-1.088-.261-.13-.696-.196-.848-.413-.392-.479-.61-1.11-.892-1.675a54.922 54.922 0 0 1-1.783-3.784c-.392-.848-.63-1.696-1.11-2.479-2.24-3.697-4.675-5.937-8.416-8.134-.804-.456-1.761-.652-2.783-.891-.544-.022-1.088-.065-1.631-.087-.348-.152-.696-.566-1-.761-1.24-.783-4.437-2.48-5.35-.24-.588 1.414.87 2.806 1.37 3.524.37.5.848 1.065 1.109 1.63.152.37.195.762.347 1.153.348.957.675 2.023 1.131 2.914.24.457.5.936.805 1.349.174.239.478.348.544.74-.305.434-.327 1.087-.5 1.63-.783 2.458-.479 5.502.63 7.307.348.544 1.175 1.74 2.284 1.284.978-.392.76-1.632 1.043-2.719.066-.261.022-.435.153-.609v.044c.304.609.609 1.196.891 1.805.675 1.065 1.849 2.174 2.828 2.914.522.391.935 1.065 1.587 1.305v-.066h-.043c-.13-.195-.327-.282-.5-.435-.392-.39-.827-.87-1.131-1.304-.914-1.218-1.719-2.567-2.436-3.958-.348-.675-.653-1.414-.935-2.088-.13-.261-.13-.653-.348-.783-.327.478-.805.892-1.044 1.479-.413.935-.457 2.088-.61 3.284-.086.021-.043 0-.086.043-.696-.174-.935-.891-1.196-1.5-.653-1.545-.761-4.024-.196-5.807.152-.457.805-1.892.544-2.327-.13-.413-.566-.652-.805-.979a8.764 8.764 0 0 1-.783-1.392c-.522-1.217-.783-2.566-1.348-3.784-.261-.565-.718-1.152-1.087-1.674-.414-.587-.87-1-1.197-1.697-.108-.239-.26-.63-.087-.891.044-.174.13-.24.305-.283.283-.24 1.087.065 1.37.196.805.326 1.479.63 2.153 1.087.304.218.63.631 1.022.74h.457c.696.152 1.479.043 2.131.239 1.153.37 2.196.913 3.132 1.5a19.294 19.294 0 0 1 6.785 7.438c.261.5.37.957.609 1.479.457 1.066 1.022 2.153 1.479 3.197.456 1.022.891 2.066 1.544 2.914.326.457 1.63.696 2.218.935.435.196 1.11.37 1.5.61.74.456 1.48.978 2.175 1.478.348.26 1.436.805 1.501 1.24z"}),_react.default.createElement("path",{d:"M7.273 5.378c-.37 0-.63.043-.891.109v.043h.043c.174.348.479.587.696.892.174.348.326.696.5 1.044l.044-.044c.304-.217.457-.565.457-1.087-.131-.152-.153-.305-.261-.457-.13-.218-.414-.326-.588-.5z"})))};logoMySQL.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoNginx=function logoNginx(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none",fillRule:"evenodd"},_react.default.createElement("path",{fill:"#119639",d:"M16 0l13.856 8v16L16 32 2.144 24V8z"}),_react.default.createElement("path",{fill:"#FFF",fillRule:"nonzero",d:"M11.17 13.512v8.376a1.607 1.607 0 1 1-3.215 0V9.632c0-1.432 1.731-2.149 2.744-1.136l9.51 9.512V9.632a1.607 1.607 0 0 1 3.215 0v12.256c0 1.432-1.731 2.149-2.744 1.136l-9.51-9.512z"})))};logoNginx.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoOsquery=function logoOsquery(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none"},_react.default.createElement("path",{fill:"#A596FF",d:"M31.907.032v7.969l-7.952 7.951V7.967L31.907.032"}),_react.default.createElement("path",{fill:"#333",d:"M16.003.032v7.969l7.952 7.951V7.967L16.003.032"}),_react.default.createElement("path",{fill:"#A596FF",d:"M31.923 31.855h-7.968l-7.952-7.951h7.985l7.935 7.951"}),_react.default.createElement("path",{fill:"#333",d:"M31.923 15.952h-7.968l-7.952 7.952h7.985l7.935-7.952"}),_react.default.createElement("path",{fill:"#A596FF",d:"M.1 31.872v-7.968l7.952-7.952v7.985L.1 31.872"}),_react.default.createElement("path",{fill:"#333",d:"M16.004 31.872v-7.968l-7.952-7.952v7.985l7.952 7.935"}),_react.default.createElement("path",{fill:"#A596FF",d:"M.084.048h7.968L16.004 8H8.019L.084.048"}),_react.default.createElement("path",{fill:"#333",d:"M.084 15.952h7.968L16.004 8H8.019L.084 15.952"})))};logoOsquery.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoPhp=function logoPhp(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"logo_php-a",d:"M.028 7.854C.028 3.534 6.688.03 14.902.03s14.874 3.503 14.874 7.824c0 4.322-6.66 7.825-14.874 7.825-8.215 0-14.874-3.503-14.874-7.825"}),_react.default.createElement("radialGradient",{id:"logo_php-c",cx:"30.02%",cy:"82.422%",r:"124.814%",fx:"30.02%",fy:"82.422%",gradientTransform:"matrix(.52604 0 0 1 .142 0)"},_react.default.createElement("stop",{offset:"0%",stopColor:"#AEB2D5"}),_react.default.createElement("stop",{offset:"30%",stopColor:"#AEB2D5"}),_react.default.createElement("stop",{offset:"75%",stopColor:"#484C89"}),_react.default.createElement("stop",{offset:"100%",stopColor:"#484C89"})),_react.default.createElement("path",{id:"logo_php-d",d:"M0 17.43h30.987V0H0z"}),_react.default.createElement("path",{id:"logo_php-f",d:"M0 17.43h30.987V0H0z"})),_react.default.createElement("g",{fill:"none",fillRule:"evenodd",transform:"matrix(1 0 0 -1 .026 25.413)"},_react.default.createElement("g",{transform:"translate(.592 .86)"},_react.default.createElement("mask",{id:"logo_php-b",fill:"#fff"},_react.default.createElement("use",{xlinkHref:"#logo_php-a"})),_react.default.createElement("g",{fill:"url(#logo_php-c)",fillRule:"nonzero",mask:"url(#logo_php-b)"},_react.default.createElement("path",{d:"M.028 7.854C.028 3.534 6.688.03 14.902.03s14.874 3.503 14.874 7.824c0 4.322-6.66 7.825-14.874 7.825-8.215 0-14.874-3.503-14.874-7.825"}))),_react.default.createElement("mask",{id:"logo_php-e",fill:"#fff"},_react.default.createElement("use",{xlinkHref:"#logo_php-d"})),_react.default.createElement("g",{mask:"url(#logo_php-e)"},_react.default.createElement("path",{fill:"#777BB3",fillRule:"nonzero",d:"M15.494 1.472c7.894 0 14.293 3.243 14.293 7.243s-6.4 7.244-14.293 7.244c-7.894 0-14.293-3.243-14.293-7.244 0-4 6.4-7.243 14.293-7.243"})),_react.default.createElement("mask",{id:"logo_php-g",fill:"#fff"},_react.default.createElement("use",{xlinkHref:"#logo_php-f"})),_react.default.createElement("g",{fillRule:"nonzero",mask:"url(#logo_php-g)"},_react.default.createElement("path",{fill:"#000",d:"M8.701 7.817c.65 0 1.134.12 1.44.356.304.233.513.638.623 1.202.103.528.064.896-.116 1.095-.183.203-.58.306-1.177.306H8.433l-.575-2.959h.843zM5.31 4.172a.161.161 0 0 0-.159.193l1.524 7.84c.015.076.082.131.159.131h3.284c1.033 0 1.801-.28 2.284-.833.485-.556.635-1.333.446-2.309a3.686 3.686 0 0 0-.395-1.098 3.676 3.676 0 0 0-.727-.91 3.189 3.189 0 0 0-1.197-.718c-.43-.14-.983-.21-1.643-.21h-1.33l-.38-1.955a.161.161 0 0 0-.158-.13H5.309z"}),_react.default.createElement("path",{fill:"#FFF",d:"M8.566 10.615h.905c.722 0 .972-.158 1.058-.253.141-.157.168-.487.077-.956-.102-.524-.291-.896-.563-1.105-.277-.214-.729-.322-1.341-.322h-.648l.512 2.636zm1.551 1.883H6.833a.323.323 0 0 1-.317-.261L4.992 4.396a.323.323 0 0 1 .317-.385h1.708c.155 0 .287.11.317.262l.354 1.823h1.197c.677 0 1.247.074 1.694.22.46.149.882.402 1.256.752.31.284.564.604.758.95.193.345.331.731.412 1.146.2 1.027.038 1.85-.482 2.446-.515.59-1.325.888-2.406.888zM7.663 7.656h1.039c.688 0 1.201.13 1.538.39.337.259.565.692.683 1.299.113.583.061.994-.155 1.233-.216.24-.648.36-1.297.36H8.3l-.638-3.282zm2.454 4.52c.989 0 1.71-.26 2.162-.779.453-.518.59-1.242.41-2.172a3.51 3.51 0 0 0-.378-1.05 3.502 3.502 0 0 0-.695-.87 3.017 3.017 0 0 0-1.137-.683c-.417-.135-.948-.203-1.594-.203H7.422l-.405-2.085H5.309l1.524 7.841h3.284z"}),_react.default.createElement("path",{fill:"#000",d:"M16.763 6.257a.161.161 0 0 0-.159.192l.674 3.47c.064.33.049.566-.044.666-.057.061-.228.164-.732.164H15.28l-.847-4.361a.161.161 0 0 0-.159-.131H12.58a.161.161 0 0 0-.159.192l1.524 7.841c.015.076.082.13.159.13h1.694a.161.161 0 0 0 .159-.191l-.368-1.893h1.314c1 0 1.68-.176 2.075-.54.403-.37.529-.962.374-1.76l-.71-3.648a.161.161 0 0 0-.158-.131h-1.721z"}),_react.default.createElement("path",{fill:"#FFF",d:"M15.799 14.582h-1.695a.323.323 0 0 1-.317-.261L12.263 6.48a.323.323 0 0 1 .317-.385h1.695c.154 0 .287.11.317.262l.822 4.23h1.088c.504 0 .61-.107.614-.112.03-.033.07-.185.004-.526l-.674-3.47a.323.323 0 0 1 .317-.384h1.721c.155 0 .288.11.317.262l.71 3.648c.166.857.023 1.5-.424 1.91-.426.392-1.14.582-2.184.582h-1.118l.33 1.7a.323.323 0 0 1-.316.385m0-.323l-.406-2.084h1.51c.95 0 1.605-.166 1.966-.497.36-.332.468-.869.324-1.611l-.709-3.649h-1.721l.674 3.47c.077.394.048.663-.085.807-.133.143-.416.215-.85.215h-1.354l-.873-4.492H12.58l1.524 7.841h1.695"}),_react.default.createElement("path",{fill:"#000",d:"M22.033 7.817c.65 0 1.134.12 1.44.356.304.233.513.638.623 1.202.103.528.064.896-.116 1.095-.183.203-.58.306-1.177.306h-1.038l-.575-2.959h.843zm-3.392-3.645a.161.161 0 0 0-.159.193l1.524 7.84c.015.076.082.131.159.131h3.284c1.033 0 1.801-.28 2.284-.833.485-.556.635-1.333.446-2.309a3.689 3.689 0 0 0-.395-1.098 3.676 3.676 0 0 0-.727-.91 3.189 3.189 0 0 0-1.197-.718c-.43-.14-.983-.21-1.643-.21h-1.33l-.38-1.955a.161.161 0 0 0-.158-.13H18.64z"}),_react.default.createElement("path",{fill:"#FFF",d:"M21.898 10.615h.905c.722 0 .972-.158 1.058-.253.141-.157.168-.487.077-.956-.102-.524-.292-.896-.563-1.105-.277-.214-.729-.322-1.341-.322h-.648l.512 2.636zm1.551 1.883h-3.284a.323.323 0 0 1-.317-.261l-1.524-7.841a.323.323 0 0 1 .317-.385h1.708c.155 0 .287.11.317.262l.354 1.823h1.197c.677 0 1.247.074 1.694.22.46.149.882.402 1.256.752.31.284.564.604.758.95.193.345.331.731.412 1.146.2 1.027.038 1.85-.482 2.446-.515.59-1.325.888-2.406.888zm-2.454-4.842h1.039c.688 0 1.201.13 1.538.39.337.259.565.692.683 1.299.113.583.061.994-.155 1.233-.216.24-.648.36-1.297.36h-1.17l-.638-3.282zm2.454 4.52c.989 0 1.71-.26 2.162-.779.454-.518.59-1.242.41-2.172a3.51 3.51 0 0 0-.378-1.05 3.502 3.502 0 0 0-.695-.87 3.017 3.017 0 0 0-1.137-.683c-.417-.135-.948-.203-1.594-.203h-1.463l-.405-2.085h-1.708l1.524 7.841h3.284z"}))))};logoPhp.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"32",height:"32",viewBox:"0 0 32 32"};var logoPostgres=function logoPostgres(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none"},_react.default.createElement("path",{fill:"#000",d:"M31.876 19.162c-.192-.564-.695-.956-1.345-1.05-.306-.045-.657-.026-1.072.057-.724.145-1.261.2-1.654.211 1.48-2.422 2.683-5.185 3.376-7.785 1.12-4.205.521-6.12-.178-6.987-1.85-2.293-4.551-3.525-7.809-3.563a14.239 14.239 0 0 0-4.06.551 15.573 15.573 0 0 0-2.373-.21c-1.567-.024-2.952.307-4.135.988a19.334 19.334 0 0 0-2.92-.711C6.85.208 4.549.563 2.866 1.716.828 3.112-.117 5.537.058 8.926.113 10 .734 13.273 1.71 16.376c.561 1.784 1.16 3.266 1.78 4.404.878 1.614 1.818 2.564 2.873 2.906.591.19 1.666.325 2.796-.588.143.168.334.335.588.49.322.198.716.359 1.109.454 1.418.344 2.745.258 3.878-.224.007.195.013.382.017.543.008.262.015.518.025.758.067 1.62.181 2.881.518 3.763l.07.201c.168.5.449 1.335 1.164 1.99.74.677 1.637.885 2.457.885.412 0 .804-.052 1.149-.124 1.227-.255 2.621-.643 3.63-2.036.953-1.316 1.417-3.299 1.5-6.423l.031-.253.02-.165.225.019.058.004c1.25.055 2.779-.202 3.718-.625.741-.334 3.119-1.55 2.559-3.194"}),_react.default.createElement("path",{fill:"#336791",d:"M29.738 19.481c-3.717.744-3.973-.476-3.973-.476 3.925-5.648 5.566-12.817 4.15-14.571C26.052-.352 19.365 1.91 19.254 1.97l-.036.006a13.657 13.657 0 0 0-2.48-.25c-1.682-.027-2.958.427-3.927 1.14 0 0-11.928-4.766-11.374 5.992.118 2.289 3.383 17.318 7.278 12.779a70.443 70.443 0 0 1 2.798-3.064c.683.44 1.501.665 2.358.584l.067-.055c-.02.206-.011.408.027.647-1.004 1.087-.709 1.277-2.714 1.678-2.03.405-.837 1.127-.06 1.316.944.229 3.127.553 4.602-1.45l-.058.23c.393.304.669 1.985.623 3.508-.047 1.524-.078 2.57.232 3.387.31.817.619 2.655 3.255 2.107 2.203-.458 3.345-1.644 3.503-3.623.113-1.407.368-1.199.384-2.457l.205-.595c.236-1.907.037-2.522 1.394-2.236l.33.028c1 .044 2.307-.156 3.074-.502 1.652-.743 2.632-1.985 1.003-1.659"}),_react.default.createElement("path",{fill:"#FFF",d:"M13.51 9.882c-.335-.045-.639-.004-.792.11a.28.28 0 0 0-.12.187c-.02.133.077.282.136.358.169.216.414.365.658.398.035.004.07.007.105.007.405 0 .774-.307.807-.533.04-.283-.383-.472-.795-.527m11.099.009c-.032-.222-.44-.285-.826-.233-.386.052-.76.22-.73.443.026.173.348.468.73.468a.718.718 0 0 0 .097-.006.947.947 0 0 0 .53-.281c.135-.138.213-.291.199-.391"}),_react.default.createElement("path",{fill:"#FFF",d:"M30.975 19.397c-.142-.416-.598-.55-1.356-.398-2.25.45-3.056.139-3.321-.05 1.75-2.584 3.189-5.708 3.965-8.623.368-1.38.57-2.663.587-3.708.019-1.147-.183-1.99-.598-2.505-1.675-2.075-4.134-3.189-7.11-3.22-2.047-.022-3.775.486-4.11.629a10.549 10.549 0 0 0-2.313-.288c-1.536-.024-2.864.332-3.963 1.06a18.131 18.131 0 0 0-3.22-.82c-2.61-.407-4.683-.098-6.163.918C1.608 3.605.793 5.773.951 8.836c.053 1.03.658 4.2 1.614 7.236 1.258 3.996 2.625 6.257 4.063 6.723.169.054.363.092.577.092.525 0 1.168-.23 1.838-1.01a64.894 64.894 0 0 1 2.532-2.778 4.18 4.18 0 0 0 1.822.475l.005.048c-.11.127-.217.255-.321.385-.44.542-.532.655-1.95.938-.403.08-1.473.294-1.489 1.022-.017.795 1.266 1.13 1.412 1.165.509.123 1 .184 1.467.184 1.138 0 2.14-.363 2.94-1.064-.025 2.834.097 5.628.448 6.479.288.696.99 2.4 3.208 2.399a5.3 5.3 0 0 0 1.078-.119c2.315-.48 3.32-1.473 3.71-3.66.208-1.17.565-3.961.733-5.459.354.107.81.156 1.304.156 1.029 0 2.216-.212 2.961-.547.837-.377 2.346-1.3 2.072-2.104zM25.462 9.278c-.008.442-.07.844-.137 1.262-.072.451-.145.917-.164 1.482-.019.55.052 1.123.12 1.676.14 1.118.282 2.268-.269 3.403a4.37 4.37 0 0 1-.243-.485c-.069-.161-.217-.42-.423-.777-.8-1.39-2.673-4.648-1.714-5.977.286-.396 1.01-.803 2.83-.584zm-2.206-7.49c2.667.058 4.777 1.025 6.27 2.876 1.146 1.42-.116 7.879-3.767 13.45l-.111-.135-.046-.056c.943-1.51.759-3.006.595-4.331-.068-.544-.132-1.058-.115-1.541.016-.511.086-.95.154-1.375.082-.522.167-1.063.144-1.701a.684.684 0 0 0 .015-.24c-.06-.611-.78-2.441-2.247-4.098a10.094 10.094 0 0 0-3.572-2.604 12.407 12.407 0 0 1 2.68-.244zM8.334 21.307c-.737.86-1.246.695-1.414.641-1.091-.353-2.357-2.59-3.474-6.136-.966-3.069-1.53-6.155-1.575-7.02-.141-2.737.543-4.644 2.033-5.669 2.426-1.668 6.414-.67 8.016-.163-.023.022-.047.042-.07.065-2.63 2.575-2.567 6.974-2.56 7.243 0 .104.008.251.02.453.046.74.13 2.117-.095 3.677-.209 1.45.252 2.868 1.264 3.892.104.105.213.205.327.3-.45.467-1.43 1.502-2.472 2.717zm2.81-3.635c-.816-.826-1.186-1.974-1.017-3.15.238-1.648.15-3.083.103-3.854l-.016-.277c.384-.33 2.165-1.255 3.434-.973.58.129.932.511 1.08 1.17.759 3.406.1 4.825-.43 5.966-.109.235-.212.458-.3.687l-.068.178c-.173.45-.334.867-.434 1.264a3.325 3.325 0 0 1-2.352-1.011zm.133 4.594a2.07 2.07 0 0 1-.614-.256c.111-.051.31-.12.654-.19 1.668-.332 1.925-.567 2.487-1.26.13-.158.275-.338.478-.557.301-.328.44-.272.69-.172.202.082.4.328.48.599.037.128.08.37-.06.56-1.174 1.595-2.886 1.574-4.115 1.276zm8.725 7.873c-2.04.424-2.761-.586-3.237-1.74-.308-.744-.459-4.102-.351-7.81a.434.434 0 0 0-.02-.143 1.823 1.823 0 0 0-.057-.262c-.16-.54-.548-.99-1.013-1.178-.185-.074-.525-.21-.933-.11.087-.347.238-.74.402-1.165l.068-.178c.078-.202.175-.41.277-.632.554-1.194 1.313-2.829.49-6.522-.309-1.384-1.34-2.06-2.901-1.903-.936.094-1.793.46-2.22.67a7.255 7.255 0 0 0-.255.132c.12-1.394.57-4 2.255-5.647 1.062-1.038 2.475-1.55 4.196-1.523 3.393.054 5.569 1.742 6.796 3.15 1.058 1.211 1.631 2.433 1.86 3.091-1.72-.17-2.889.16-3.482.982-1.29 1.787.706 5.257 1.665 6.924.175.306.327.57.375.682.312.734.716 1.224 1.012 1.582.09.11.178.215.245.308-.521.146-1.456.482-1.371 2.164-.069.843-.558 4.793-.806 6.189-.328 1.843-1.028 2.53-2.995 2.939zm8.513-9.447c-.532.24-1.424.42-2.27.458-.935.043-1.411-.101-1.523-.19-.053-1.048.35-1.157.775-1.273a3.35 3.35 0 0 0 .195-.058c.04.031.082.062.13.092.75.481 2.091.533 3.984.154l.02-.004c-.255.232-.692.542-1.31.821z"})))};logoPostgres.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoPrometheus=function logoPrometheus(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fill:"#E6522C",d:"M15.907.187C7.122.187 0 7.308 0 16.093S7.122 32 15.907 32c8.784 0 15.906-7.121 15.906-15.906S24.69.187 15.907.187zm0 29.77c-2.5 0-4.526-1.67-4.526-3.729h9.051c0 2.06-2.026 3.73-4.525 3.73zm7.475-4.963H8.43v-2.711h14.95v2.71zm-.054-4.107H8.473c-.05-.057-.1-.113-.147-.17-1.53-1.859-1.891-2.829-2.241-3.818-.006-.032 1.855.38 3.176.678 0 0 .679.157 1.672.338-.953-1.118-1.52-2.539-1.52-3.991 0-3.189 2.446-5.975 1.564-8.227.858.07 1.777 1.812 1.839 4.537.913-1.262 1.295-3.566 1.295-4.978 0-1.463.963-3.161 1.927-3.22-.86 1.417.223 2.63 1.184 5.642.361 1.132.315 3.035.594 4.243.092-2.508.523-6.167 2.114-7.43-.702 1.591.104 3.581.655 4.538.889 1.544 1.428 2.714 1.428 4.926 0 1.483-.548 2.88-1.472 3.971 1.05-.197 1.776-.374 1.776-.374l3.411-.666s-.495 2.038-2.4 4.001z"}))};logoPrometheus.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoRabbitmq=function logoRabbitmq(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fill:"#F60",d:"M30.083 13.197h-9.878c-.79-.088-1.391-.74-1.391-1.508V1.97c0-.83-.718-1.495-1.595-1.495h-3.456c-.885 0-1.595.672-1.595 1.495v9.82c-.043.74-.696 1.338-1.478 1.406H8.102c-.76-.088-1.348-.686-1.398-1.406V1.97c0-.83-.718-1.495-1.595-1.495H1.652C.768.476.058 1.148.058 1.97v28.358c0 .83.717 1.495 1.594 1.495h28.439c.884 0 1.594-.673 1.594-1.495V14.692c-.007-.829-.718-1.495-1.602-1.495zm-4.55 10.724c0 .829-.718 1.495-1.595 1.495H20.48c-.884 0-1.595-.673-1.595-1.495v-3.058c0-.83.718-1.495 1.595-1.495h3.457c.884 0 1.594.672 1.594 1.495v3.058z"}))};logoRabbitmq.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoRedis=function logoRedis(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{transform:"translate(0 3)",fill:"none"},_react.default.createElement("path",{d:"M30.594 20.791c-1.689.875-10.438 4.451-12.3 5.416-1.863.966-2.898.956-4.37.257-1.471-.699-10.782-4.437-12.46-5.234-.838-.399-1.278-.735-1.278-1.052v-3.18s12.121-2.623 14.078-3.32c1.957-.699 2.636-.724 4.301-.118 1.666.607 11.623 2.393 13.27 2.992l-.001 3.135c0 .314-.38.659-1.24 1.104z",fill:"#A41E11"}),_react.default.createElement("path",{d:"M30.594 17.61c-1.689.875-10.438 4.451-12.3 5.417-1.863.965-2.898.956-4.37.256-1.471-.698-10.782-4.438-12.46-5.234-1.676-.797-1.712-1.345-.064-1.987 1.647-.641 10.907-4.252 12.864-4.95 1.957-.698 2.636-.723 4.301-.117 1.666.607 10.363 4.048 12.009 4.647 1.646.6 1.71 1.093.02 1.968z",fill:"#D82C20"}),_react.default.createElement("path",{d:"M30.594 15.606c-1.689.875-10.438 4.45-12.3 5.416-1.863.965-2.898.956-4.37.257-1.471-.7-10.782-4.438-12.46-5.235-.838-.398-1.278-.734-1.278-1.051v-3.18S12.307 9.19 14.264 8.492c1.957-.698 2.636-.723 4.301-.117 1.666.606 11.623 2.392 13.27 2.991l-.001 3.135c0 .315-.38.66-1.24 1.105z",fill:"#A41E11"}),_react.default.createElement("path",{d:"M30.594 12.425c-1.689.875-10.438 4.45-12.3 5.416-1.863.966-2.898.956-4.37.257-1.471-.699-10.782-4.438-12.46-5.235-1.676-.796-1.712-1.345-.064-1.986 1.647-.641 10.907-4.253 12.864-4.95 1.957-.698 2.636-.724 4.301-.117 1.666.606 10.363 4.047 12.009 4.646 1.646.6 1.71 1.094.02 1.969z",fill:"#D82C20"}),_react.default.createElement("path",{d:"M30.594 10.228c-1.689.875-10.438 4.451-12.3 5.417-1.863.965-2.898.955-4.37.256-1.471-.699-10.782-4.438-12.46-5.234C.627 10.268.187 9.932.187 9.615v-3.18s12.121-2.623 14.078-3.32c1.957-.699 2.636-.724 4.301-.117 1.666.606 11.623 2.391 13.27 2.99l-.001 3.136c0 .314-.38.659-1.24 1.104z",fill:"#A41E11"}),_react.default.createElement("path",{d:"M30.594 7.047c-1.689.875-10.438 4.451-12.3 5.417-1.863.965-2.898.955-4.37.256-1.471-.699-10.782-4.437-12.46-5.234C-.211 6.689-.247 6.14 1.4 5.499S12.307 1.247 14.264.55c1.957-.7 2.636-.724 4.301-.118 1.666.607 10.363 4.048 12.009 4.647 1.646.6 1.71 1.093.02 1.968z",fill:"#D82C20"}),_react.default.createElement("path",{fill:"#FFF",d:"M20.157 3.985l-2.742.283-.614 1.468-.992-1.638-3.166-.283 2.362-.847-.708-1.3 2.212.86 2.085-.68-.563 1.345zm-3.52 7.123l-5.118-2.11 7.334-1.119z"}),_react.default.createElement("ellipse",{fill:"#FFF",cx:"9.541",cy:"6.311",rx:"3.92",ry:"1.51"}),_react.default.createElement("path",{fill:"#7A0C00",d:"M23.398 4.386l4.34 1.705-4.336 1.703z"}),_react.default.createElement("path",{fill:"#AD2115",d:"M18.596 6.274l4.802-1.888.004 3.408-.471.183z"})))};logoRedis.defaultProps={width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"};var logoSiteSearch=function logoSiteSearch(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none",fillRule:"evenodd"},_react.default.createElement("path",{fill:"#FA744E",d:"M27.05 10h-7.34l-11 22s15.696-4.96 21.855-16.076C32.037 13.266 30.088 10 27.05 10"}),_react.default.createElement("path",{fill:"#00BFB3",d:"M21.355 0H7.533L.427 14.211C-.903 16.871 1.032 20 4.004 20h7.351l10-20z"}),_react.default.createElement("path",{className:"euiIcon__fillNegative",d:"M2.533 10L.428 14.211C-.903 16.871 1.032 20 4.005 20h7.35l5-10H2.533z"})))};logoSiteSearch.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoSketch=function logoSketch(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none"},_react.default.createElement("path",{fill:"#FFAE00",d:"M16 32L0 11.454l6.931-10.38L16 0l9.069 1.074L32 11.454z"}),_react.default.createElement("path",{fill:"#EC6C00",d:"M16 32L0 11.454h32z"}),_react.default.createElement("path",{fill:"#FFAE00",d:"M16 32L6.477 11.454h19.045z"}),_react.default.createElement("path",{fill:"#FFEFB4",d:"M16 0L6.477 11.454h19.045z"}),_react.default.createElement("path",{fill:"#FFAE00",d:"M6.932 1.074L3.369 6.3.001 11.454h6.542zM25.069 1.074L28.632 6.3 32 11.454h-6.542z"}),_react.default.createElement("path",{fill:"#FED305",d:"M6.931 1.074l-.453 10.38L16 0zM25.069 1.074l.453 10.38L16 0z"})))};logoSketch.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoSlack=function logoSlack(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M13.271 14.61l4.239-1.42 1.37 4.094-4.238 1.42z"}),_react.default.createElement("path",{d:"M13.271 14.61l4.239-1.42 1.37 4.094-4.238 1.42z"}),_react.default.createElement("path",{d:"M30.629 11.556c-3.277-10.921-8-13.46-18.921-10.185-10.92 3.277-13.46 8-10.184 18.921 3.276 10.92 8 13.46 18.92 10.184 10.921-3.276 13.46-8 10.185-18.92zm-5.512 7.085l-2.057.686.711 2.133c.28.864-.177 1.803-1.04 2.083-.179.05-.382.101-.56.076a1.695 1.695 0 0 1-1.523-1.117l-.711-2.134-4.242 1.422.711 2.134c.28.863-.177 1.803-1.04 2.082-.179.051-.382.102-.56.077a1.695 1.695 0 0 1-1.523-1.118l-.712-2.133-2.057.685c-.177.051-.38.102-.558.077a1.695 1.695 0 0 1-1.524-1.118c-.28-.863.178-1.803 1.041-2.082l2.057-.686-1.371-4.089-2.057.686c-.178.05-.381.101-.56.076a1.695 1.695 0 0 1-1.523-1.118c-.28-.863.178-1.803 1.041-2.082l2.057-.686-.71-2.133c-.28-.864.177-1.803 1.04-2.083.864-.279 1.804.178 2.083 1.042l.711 2.133 4.242-1.422-.712-2.134c-.279-.863.178-1.803 1.042-2.082.863-.28 1.803.178 2.082 1.041l.711 2.133 2.057-.685c.864-.28 1.804.178 2.083 1.041.28.864-.178 1.803-1.041 2.083l-2.057.685 1.371 4.09 2.057-.687c.864-.279 1.803.178 2.083 1.042.28.863-.178 1.803-1.042 2.082z"}))};logoSlack.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoWebhook=function logoWebhook(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none"},_react.default.createElement("path",{fill:"#C73A63",d:"M14.943 13.563c-1.327 2.23-2.597 4.388-3.894 6.531-.334.55-.498.998-.232 1.698.734 1.931-.302 3.811-2.25 4.321-1.837.482-3.627-.726-3.992-2.692-.323-1.741 1.028-3.448 2.948-3.72.16-.023.325-.026.595-.046l2.92-4.896C9.2 12.933 8.108 10.8 8.35 8.154c.171-1.87.907-3.486 2.25-4.81a7.639 7.639 0 0 1 9.531-1c2.91 1.87 4.244 5.512 3.107 8.629l-2.668-.724c.357-1.733.093-3.29-1.076-4.623-.772-.88-1.763-1.341-2.89-1.511-2.258-.341-4.476 1.11-5.134 3.327-.748 2.516.383 4.572 3.473 6.121z"}),_react.default.createElement("path",{fill:"#4B4B4B",d:"M18.73 10.926l2.823 4.98c4.753-1.47 8.336 1.16 9.622 3.977 1.552 3.402.491 7.432-2.558 9.531-3.13 2.155-7.089 1.787-9.862-.981l2.176-1.821c2.739 1.774 5.135 1.69 6.913-.41a4.766 4.766 0 0 0-.077-6.219c-1.8-2.025-4.213-2.086-7.13-.143-1.209-2.146-2.44-4.275-3.61-6.436-.396-.729-.832-1.152-1.722-1.306-1.487-.257-2.446-1.534-2.504-2.964a3.258 3.258 0 0 1 2.08-3.192 3.243 3.243 0 0 1 3.671 1.002c.71.896.935 1.905.562 3.01-.104.309-.238.607-.384.972z"}),_react.default.createElement("path",{fill:"#4A4A4A",d:"M20.963 24.401h-5.72c-.55 2.256-1.734 4.077-3.775 5.235-1.586.9-3.296 1.205-5.116.911C3 30.007.26 26.99.019 23.593c-.273-3.848 2.372-7.268 5.898-8.036l.732 2.658c-3.234 1.65-4.353 3.73-3.448 6.33.797 2.287 3.06 3.541 5.518 3.056 2.51-.495 3.776-2.581 3.621-5.929 2.38 0 4.761-.024 7.14.012.93.015 1.648-.081 2.348-.9 1.152-1.349 3.273-1.227 4.515.046 1.268 1.301 1.207 3.395-.135 4.641a3.236 3.236 0 0 1-4.553-.157c-.249-.267-.445-.585-.692-.913z"})))};logoWebhook.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoWindows=function logoWindows(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fill:"#00ADEF",d:"M0 4.51l12.977-1.768.006 12.518-12.971.074L0 4.51zm12.97 12.192l.011 12.529-12.97-1.784-.002-10.829 12.962.084zm1.574-14.19L31.751 0v15.1l-17.207.137V2.511zm17.21 14.308l-.003 15.033-17.207-2.429-.024-12.632 17.235.028z"}))};logoWindows.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logoXpack=function logoXpack(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fill:"none"},_react.default.createElement("path",{fill:"#FDD10D",d:"M27.309 3.136l1.054 1.055a4.503 4.503 0 0 1 .008 6.36l-6.182 6.182-7.273-7.273 6.32-6.32a4.297 4.297 0 0 1 6.077 0l-.004-.004z"}),_react.default.createElement("path",{fill:"#0479A1",d:"M7.634 16.731l-6.24 6.235a4.411 4.411 0 0 0 0 6.24l1.04 1.04a4.411 4.411 0 0 0 6.24 0L14.91 24l-7.275-7.269z"}),_react.default.createElement("path",{fill:"#17A8E0",d:"M21.143 15.691L8.674 3.211a4.411 4.411 0 0 0-6.24 0l-1.04 1.04a4.411 4.411 0 0 0 0 6.24l6.24 6.24 1.04-1.04a8.823 8.823 0 0 1 12.469 0z"}),_react.default.createElement("path",{className:"euiIcon__fillNegative",d:"M21.143 15.691a8.823 8.823 0 0 0-12.474 0l-1.04 1.04L14.909 24l7.28-7.269-1.046-1.04z"}),_react.default.createElement("path",{fill:"#20BBB1",d:"M28.429 22.966l-4.16-4.16-7.28 7.28 4.154 4.16a4.411 4.411 0 0 0 6.24 0l1.04-1.04a4.411 4.411 0 0 0 .006-6.24z"}),_react.default.createElement("path",{fill:"#009B8F",d:"M14.913 24.006l7.277-7.277 2.08 2.081-7.276 7.277z"})))};logoXpack.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var logstashFilter=function logstashFilter(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M7.914 1c-3.6 0-5.897 1.111-5.897 1.876 0 .766 2.297 1.877 5.897 1.877s5.897-1.111 5.897-1.877C13.811 2.111 11.514 1 7.914 1m3.98 7.988c-1.187.331-2.601.502-3.98.502-1.383 0-2.801-.172-3.991-.505l2.863 3.242v2.515c.136.08.515.214 1.128.214.61 0 .989-.133 1.126-.213v-2.515l2.854-3.24zm2.394-1.206l-4.248 4.823v2.246h.004c0 .763-1.069 1.105-2.13 1.105-1.06 0-2.13-.342-2.13-1.105h.002v-2.245L1.321 7.55l.01-.008A1.53 1.53 0 0 1 1 6.607V2.78h.02C1.14.973 4.627 0 7.913 0c3.286 0 6.774.973 6.894 2.78h.02v3.827c0 .343-.12.657-.335.941l-.003.004c-.06.079-.128.155-.202.23zm-.578-.856a.56.56 0 0 0 .118-.319V4.411c-1.288.879-3.649 1.342-5.914 1.342C5.65 5.753 3.288 5.29 2 4.411v2.196C2 7.375 4.304 8.49 7.914 8.49c2.879 0 4.927-.709 5.639-1.385l.157-.18z"}))};logstashFilter.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var logstashIf=function logstashIf(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M6.918 9.799l-4.82 4.819 2.88-.43.148.987L0 15.943l.768-5.126.988.148-.453 3.033 4.936-4.935a2.003 2.003 0 0 1 1.265-2.885V0h1v6.178a2.003 2.003 0 0 1 1.263 2.884l4.865 4.866-.443-2.963.988-.147.768 5.126-5.127-.769.15-.988 2.95.441-4.83-4.83c-.312.203-.685.32-1.085.32-.4 0-.773-.117-1.085-.32z"}))};logstashIf.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var logstashInput=function logstashInput(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M1.747 10.992h13.1a.123.123 0 0 0 .122-.123V8.51a.122.122 0 0 0-.122-.122H1.122A.122.122 0 0 0 1 8.51v2.36c0 .066.055.122.122.122h.625zm12.011 1H2.21V16h-1v-4.008h-.088A1.124 1.124 0 0 1 0 10.87V8.51c0-.62.503-1.122 1.122-1.122h13.725c.62 0 1.122.502 1.122 1.122v2.36c0 .618-.503 1.122-1.122 1.122h-.089V16h-1v-4.008zm-6.27-7.487V0h1v4.529l2.407-2.262.685.73L8 6.356 4.42 2.995l.685-.729 2.383 2.24z"}))};logstashInput.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var logstashOutput=function logstashOutput(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M2.21 4.008H13.76V0h1v4.008h.088c.619 0 1.122.504 1.122 1.123V7.49c0 .62-.503 1.122-1.122 1.122H1.122A1.122 1.122 0 0 1 0 7.49V5.13c0-.618.503-1.122 1.122-1.122h.089V0h1v4.008zm11.549 1H1.12A.123.123 0 0 0 1 5.13V7.49c0 .068.055.122.122.122h13.725a.122.122 0 0 0 .122-.122V5.13a.123.123 0 0 0-.122-.122h-1.088zm-5.301 9.097l2.405-2.26.686.728-3.58 3.363-3.58-3.363.686-.728 2.383 2.24V9.577h1v4.528z"}))};logstashOutput.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var logstashQueue=function logstashQueue(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M11.339 15.464H4.77a3.248 3.248 0 0 1-3.245-3.244V4.549H0v-1h2.526v8.67a2.247 2.247 0 0 0 2.245 2.245h6.568a2.247 2.247 0 0 0 2.244-2.244V3.549h2.455v1h-1.455v7.67a3.247 3.247 0 0 1-3.244 3.245zm.513-5.962v1.095l-3.848 1.72-3.85-1.72V9.502l3.85 1.72 3.848-1.72zm0-4.251v1.095l-3.848 1.72-3.85-1.72V5.25l3.85 1.72 3.848-1.72zm0-4.251v1.095l-3.848 1.72-3.85-1.72V1l3.85 1.72L11.852 1z"}))};logstashQueue.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var machineLearningApp=function machineLearningApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M10 18v.56a1 1 0 0 1-.68.95L3 21.61V10a1 1 0 0 1 .4-.8l3.2-2.4-1.2-1.6-3.2 2.4A3 3 0 0 0 1 10v12a3 3 0 0 0 1.2 2.4l3.2 2.4 1.2-1.6-2.47-1.85 5.82-1.95A3 3 0 0 0 12 18.56V18h-2zM29.8 7.6l-3.2-2.4-1.2 1.6 3.2 2.4a1 1 0 0 1 .4.8v11.61l-6.32-2.11a1 1 0 0 1-.68-.95V18h-2v.56a3 3 0 0 0 2.05 2.85l5.82 1.94-2.47 1.85 1.2 1.6 3.2-2.4A3 3 0 0 0 31 22V10a3 3 0 0 0-1.2-2.4z"}),_react.default.createElement("path",{d:"M11 6A3 3 0 0 1 8.88.88a3.07 3.07 0 0 1 4.24 0A3 3 0 0 1 11 6zm0-4a1 1 0 1 0-.012 2A1 1 0 0 0 11 2zm0 30a3 3 0 0 1-2.12-5.12 3.07 3.07 0 0 1 4.24 0A3 3 0 0 1 11 32zm0-4a1 1 0 1 0-.012 2A1 1 0 0 0 11 28zm0-12a3 3 0 0 1-2.12-5.12 3.07 3.07 0 0 1 4.24 0A3 3 0 0 1 11 16zm0-4a1 1 0 1 0-.012 2A1 1 0 0 0 11 12zm10-6A3 3 0 0 1 18.88.88a3.07 3.07 0 0 1 4.24 0A3 3 0 0 1 21 6zm0-4a1 1 0 1 0-.012 2A1 1 0 0 0 21 2zm0 30a3 3 0 0 1-2.12-5.12 3.07 3.07 0 0 1 4.24 0A3 3 0 0 1 21 32zm0-4a1 1 0 1 0-.012 2A1 1 0 0 0 21 28zm0-12a3 3 0 0 1-2.12-5.12 3.07 3.07 0 0 1 4.24 0A3 3 0 0 1 21 16zm0-4a1 1 0 1 0-.012 2A1 1 0 0 0 21 12z"}))};machineLearningApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var managementApp=function managementApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M16 21a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-8a3 3 0 1 0 0 6 3 3 0 0 0 0-6z"}),_react.default.createElement("path",{d:"M20 32h-8v-4.06a1 1 0 0 0-1.61-.67l-2.88 2.87-5.65-5.65 2.87-2.87a.92.92 0 0 0 .2-1 .93.93 0 0 0-.86-.6H0V12h4.06a.92.92 0 0 0 .85-.58.94.94 0 0 0-.19-1L1.86 7.51l5.65-5.65 2.87 2.87A1 1 0 0 0 12 4.06V0h8v4.06a1 1 0 0 0 1.61.67l2.87-2.87 5.66 5.66-2.87 2.87a.92.92 0 0 0-.2 1 .93.93 0 0 0 .86.6H32v8h-4.06a.92.92 0 0 0-.85.58.94.94 0 0 0 .19 1l2.87 2.87-5.66 5.66-2.87-2.87a1 1 0 0 0-1.61.67L20 32zm-6-2h4v-2.06a3 3 0 0 1 5-2.08l1.46 1.46 2.83-2.83L25.86 23a3 3 0 0 1 2.08-5H30v-4h-2.06a3 3 0 0 1-2.08-5l1.46-1.46-2.83-2.85L23 6.14a3 3 0 0 1-5-2.08V2h-4v2.06a3 3 0 0 1-5 2.08L7.51 4.69 4.69 7.51 6.14 9a3 3 0 0 1-2.08 5H2v4h2.06a3 3 0 0 1 2.08 5l-1.45 1.49 2.83 2.83L9 25.86a3 3 0 0 1 5 2.08V30z"}))};managementApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var mapMarker=function mapMarker(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"map_marker-a",d:"M7.55 1.776a.502.502 0 0 1 .897 0l4 8a.5.5 0 0 1 .053.235c-.004.15-.026.396-.084.705a5.538 5.538 0 0 1-.505 1.512C11.189 13.638 9.906 14.5 8 14.5c-1.906 0-3.19-.862-3.91-2.272a5.538 5.538 0 0 1-.506-1.512 4.672 4.672 0 0 1-.084-.705.5.5 0 0 1 .053-.235l3.997-8zM8 11a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm-3.493-.895c.009.106.027.253.06.429.079.424.213.848.413 1.238C5.537 12.862 6.487 13.5 8 13.5c1.513 0 2.463-.638 3.02-1.728.2-.39.334-.814.413-1.238.033-.176.051-.323.06-.43L8 3.119l-3.493 6.987z"})),_react.default.createElement("use",{transform:"matrix(1 0 0 -1 0 16)",xlinkHref:"#map_marker-a"}))};mapMarker.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var memory=function memory(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M7 10h2V6H7zM3 10h2V6H3zM11.025 10h2V6h-2zM3.5 13.75h1v-2.4h-1zM6.175 13.75h1.001v-2.4H6.175zM8.85 13.75h1v-2.4h-1zM11.525 13.75h1v-2.4h-1z"}),_react.default.createElement("path",{d:"M0 3v7.05h1v3.698h1v-3.699h12v3.699h1v-3.699h1V3H0zm1 6h14V4H1v5z"}))};memory.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var merge=function merge(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M7.352 6H2.5a.5.5 0 0 1 0-1h4.852L5.12 2.721c-.18-.183-.155-.46.055-.616a.551.551 0 0 1 .705.048l3 3.062c.16.164.16.405 0 .57l-3 3.062A.532.532 0 0 1 5.5 9a.54.54 0 0 1-.325-.106c-.21-.157-.235-.433-.055-.616L7.352 6zm1.296 4H13.5a.5.5 0 0 1 0 1H8.648l2.232 2.278c.18.183.155.46-.055.617A.54.54 0 0 1 10.5 14a.532.532 0 0 1-.38-.153l-3-3.063a.397.397 0 0 1 0-.568l3-3.063a.551.551 0 0 1 .705-.047c.21.156.235.433.055.616L8.648 10z"}))};merge.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var metricbeatApp=function metricbeatApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M16 32C7.163 32 0 24.837 0 16S7.163 0 16 0s16 7.163 16 16a16 16 0 0 1-16 16zm0-30C8.268 2 2 8.268 2 16s6.268 14 14 14 14-6.268 14-14A14 14 0 0 0 16 2z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M28 16h-2c0-5.523-4.477-10-10-10S6 10.477 6 16H4C4 9.373 9.373 4 16 4s12 5.373 12 12z"}),_react.default.createElement("path",{d:"M21.71 11.71L20.3 10.3 18 12.57a4 4 0 0 0-2-.57 4 4 0 1 0 4 4 4 4 0 0 0-.57-2l2.28-2.29zM16 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}))};metricbeatApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var minusInCircle=function minusInCircle(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M7.5 0C11.636 0 15 3.364 15 7.5S11.636 15 7.5 15 0 11.636 0 7.5 3.364 0 7.5 0zm0 .882a6.618 6.618 0 1 0 0 13.236A6.618 6.618 0 0 0 7.5.882zM3.5 7h8a.5.5 0 1 1 0 1h-8a.5.5 0 0 1 0-1z"}))};minusInCircle.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var minusInCircleFilled=function minusInCircleFilled(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M7.5 0C11.636 0 15 3.364 15 7.5S11.636 15 7.5 15 0 11.636 0 7.5 3.364 0 7.5 0zm-4 7a.5.5 0 0 0 0 1h8a.5.5 0 1 0 0-1h-8z"}))};minusInCircleFilled.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var monitoringApp=function monitoringApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M1.81 15.19A8.94 8.94 0 0 1 15.62 3.86l.38.42.38-.42a8.94 8.94 0 0 1 14.26 10.68l-1.7-1.07a6.94 6.94 0 0 0-11.07-8.28L16 7.29l-1.87-2.1A6.94 6.94 0 0 0 3.41 14l-1.6 1.19zM16 31.18l-7.74-8.51 1.48-1.34L16 28.21l6.26-6.88 1.48 1.34z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M16.16 23.29l-4.1-7.17L10.62 19H0v-2h9.38l2.56-5.12 3.9 6.83 4.13-10.32L23.66 17H32v2h-9.66l-2.31-5.39z"}))};monitoringApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var node=function node(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8.5 1.443a1 1 0 0 0-1 0L2.572 4.29a1 1 0 0 0-.5.866v5.69a1 1 0 0 0 .5.866L7.5 14.557a1 1 0 0 0 1 0l4.928-2.846a1 1 0 0 0 .5-.866v-5.69a1 1 0 0 0-.5-.866L8.5 1.443zM9 .577l4.928 2.846a2 2 0 0 1 1 1.732v5.69a2 2 0 0 1-1 1.732L9 15.423a2 2 0 0 1-2 0l-4.928-2.846a2 2 0 0 1-1-1.732v-5.69a2 2 0 0 1 1-1.732L7 .577a2 2 0 0 1 2 0z"}))};node.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var notebookApp=function notebookApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M25 2h-5V0h-2v2h-3V0h-2v2h-3V0H8v2H3v26h22V2zm-2 24H5V4h3v2h2V4h3v2h2V4h3v2h2V4h3v22z"}),_react.default.createElement("path",{d:"M27 7v23H8v2h21V7z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M8 12h12v2H8zM8 17h12v2H8z"}))};notebookApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var number=function number(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M7.808 10.197H6.796L5.859 13H4.485l.937-2.803H3.966l.219-1.25h1.647l.608-1.805H4.991l.226-1.251h1.64l.95-2.844h1.368l-.95 2.844h1.018l.95-2.844h1.374l-.95 2.844h1.51l-.218 1.25h-1.702l-.608 1.805h1.497l-.219 1.251H9.182L8.252 13H6.878l.93-2.803zm-.602-1.25h1.012l.615-1.805H7.814l-.608 1.804z",fillRule:"evenodd"}))};number.defaultProps={width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"};var offline=function offline(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M6.517 12.271l1.254-1.254a1.5 1.5 0 1 1-1.254 1.254zm2.945-2.944l.74-.74c.361.208.694.467.987.772a.5.5 0 0 1-.721.693 3.424 3.424 0 0 0-1.006-.725zm2.162-2.163l.716-.715c.308.232.599.49.87.772a.5.5 0 1 1-.722.692 6.26 6.26 0 0 0-.864-.749zM7.061 6.07A6.198 6.198 0 0 0 3.54 7.885a.5.5 0 0 1-.717-.697 7.199 7.199 0 0 1 5.309-2.187l-1.07 1.07zm6.672-1.014l.71-.71c.274.23.536.476.786.736a.5.5 0 0 1-.721.692 9.1 9.1 0 0 0-.775-.718zm-3.807-1.85A9.06 9.06 0 0 0 8 3a8.99 8.99 0 0 0-6.469 2.734.5.5 0 1 1-.717-.697A9.99 9.99 0 0 1 8 2c.944 0 1.868.131 2.75.382l-.824.824zM8 13a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm-5.424 1a.5.5 0 0 1-.707-.707L14.146 1.146a.5.5 0 0 1 .708.708L2.576 14z"}))};offline.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var online=function online(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8 14a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0-1a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm3.189-3.64a.5.5 0 0 1-.721.692A3.408 3.408 0 0 0 8 9c-.937 0-1.813.378-2.453 1.037a.5.5 0 0 1-.717-.697A4.408 4.408 0 0 1 8 8c1.22 0 2.361.497 3.189 1.36zm2.02-2.14a.5.5 0 1 1-.721.693A6.2 6.2 0 0 0 8 6a6.199 6.199 0 0 0-4.46 1.885.5.5 0 0 1-.718-.697A7.199 7.199 0 0 1 8 5a7.2 7.2 0 0 1 5.21 2.22zm2.02-2.138a.5.5 0 0 1-.721.692A8.99 8.99 0 0 0 8 3a8.99 8.99 0 0 0-6.469 2.734.5.5 0 1 1-.717-.697A9.99 9.99 0 0 1 8 2a9.99 9.99 0 0 1 7.23 3.082z"}))};online.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var packetbeatApp=function packetbeatApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M16 20a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0-6a2 2 0 1 0 0 4 2 2 0 0 0 0-4z"}),_react.default.createElement("path",{d:"M8 4a4 4 0 1 0-4 4 4 4 0 0 0 2-.57l5.27 5.27 1.41-1.41L7.43 6A4 4 0 0 0 8 4zM4 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm16.71 6.71L26 7.43A4 4 0 0 0 28 8a4 4 0 1 0-4-4 4 4 0 0 0 .57 2l-5.27 5.27 1.41 1.44zM28 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4zM11.29 19.29L6 24.57A4 4 0 0 0 4 24a4 4 0 1 0 4 4 4 4 0 0 0-.57-2l5.27-5.27-1.41-1.44zM4 30a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm24-6a4 4 0 0 0-2 .57l-5.27-5.27-1.41 1.41L24.57 26a4 4 0 0 0-.57 2 4 4 0 1 0 4-4zm0 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}))};packetbeatApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var pause=function pause(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M4 2.5c0-.276.232-.5.5-.5.276 0 .5.229.5.5v11c0 .276-.232.5-.5.5a.503.503 0 0 1-.5-.5v-11zm7 0c0-.276.232-.5.5-.5.276 0 .5.229.5.5v11c0 .276-.232.5-.5.5a.503.503 0 0 1-.5-.5v-11z"}))};pause.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var pencil=function pencil(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"pencil-a",d:"M12.148 3.148L11 2l-9 9v3h3l9-9-1.144-1.144-8.002 7.998a.502.502 0 0 1-.708 0 .502.502 0 0 1 0-.708l8.002-7.998zM11 1c.256 0 .512.098.707.293l3 3a.999.999 0 0 1 0 1.414l-9 9A.997.997 0 0 1 5 15H2a1 1 0 0 1-1-1v-3c0-.265.105-.52.293-.707l9-9A.997.997 0 0 1 11 1zM5 14H2v-3l3 3z"})),_react.default.createElement("use",{xlinkHref:"#pencil-a"}))};pencil.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var pin=function pin(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M8 11h4.5a.5.5 0 1 0 0-1h-10a.5.5 0 0 0 0 1H7v4.25c0 .414.224.75.5.75s.5-.336.5-.75V11zM4 4h1v6H4V4zm6 0h1v6h-1V4zM4.286 2C4.08 2 4 2.063 4 2v1c0-.063.08 0 .286 0h6.428C10.92 3 11 2.937 11 3V2c0 .063-.08 0-.286 0H4.286zm0-1h6.428C11.424 1 12 1.448 12 2v1c0 .552-.576 1-1.286 1H4.286C3.576 4 3 3.552 3 3V2c0-.552.576-1 1.286-1z"}))};pin.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var pinFilled=function pinFilled(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M9 11h4.5a.5.5 0 1 0 0-1h-10a.5.5 0 1 0 0 1H8v4.25c0 .414.224.75.5.75s.5-.336.5-.75V11zM5 4h7v6H5V4zm.286-3h6.428C12.424 1 13 1.448 13 2v1c0 .552-.576 1-1.286 1H5.286C4.576 4 4 3.552 4 3V2c0-.552.576-1 1.286-1z"}))};pinFilled.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var pipelineApp=function pipelineApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M29 12a3 3 0 0 0-3 3h-4a3 3 0 0 0-3-3h-6a3 3 0 0 0-3 3H6a3 3 0 0 0-3-3H0v14h3a3 3 0 0 0 3-3h4a3 3 0 0 0 3 3h6a3 3 0 0 0 3-3h4a3 3 0 0 0 3 3h3V12h-3zM3 24H2V14h1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1zm17-3v2a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-2H6v-4h6v-2a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2h6v4h-6zm10 3h-1a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h1v10z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M22 6H10v2h5v2h2V8h5z"}))};pipelineApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var play=function play(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M4.608 3.063C4.345 2.895 4 3.089 4 3.418v9.167c0 .329.345.523.608.356l7.2-4.584a.426.426 0 0 0 0-.711l-7.2-4.583zm.538-.844l7.2 4.583a1.426 1.426 0 0 1 0 2.399l-7.2 4.583C4.21 14.38 3 13.696 3 12.585V3.418C3 2.307 4.21 1.624 5.146 2.22z"}))};play.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var plusInCircle=function plusInCircle(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M8 7h3.5a.5.5 0 1 1 0 1H8v3.5a.5.5 0 1 1-1 0V8H3.5a.5.5 0 0 1 0-1H7V3.5a.5.5 0 0 1 1 0V7zm-.5-7C11.636 0 15 3.364 15 7.5S11.636 15 7.5 15 0 11.636 0 7.5 3.364 0 7.5 0zm0 .882a6.618 6.618 0 1 0 0 13.236A6.618 6.618 0 0 0 7.5.882z"}))};plusInCircle.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var plusInCircleFilled=function plusInCircleFilled(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8 7V3.5a.5.5 0 0 0-1 0V7H3.5a.5.5 0 0 0 0 1H7v3.5a.5.5 0 1 0 1 0V8h3.5a.5.5 0 1 0 0-1H8zm-.5 8a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15z"}))};plusInCircleFilled.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var popout=function popout(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M2 14.01h12.49a.5.5 0 1 1 0 1h-13a.5.5 0 0 1-.49-.597V1.5a.5.5 0 0 1 1 0v12.51zm2.354-1.656a.5.5 0 0 1-.708-.708l8-8a.5.5 0 0 1 .708.708l-8 8zM15 5.5a.5.5 0 1 1-1 0v-3a.5.5 0 0 0-.5-.5h-3a.5.5 0 1 1 0-1h3A1.5 1.5 0 0 1 15 2.5v3z"}))};popout.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var questionInCircle=function questionInCircle(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8 14A6 6 0 1 1 8 2a6 6 0 0 1 0 12zm0-1A5 5 0 1 0 8 3a5 5 0 0 0 0 10zm-.186-1.065A.785.785 0 0 1 7 11.12c0-.48.34-.82.814-.82.475 0 .809.34.809.82 0 .475-.334.815-.809.815zM5.9 6.317C5.96 5.168 6.755 4.4 8.048 4.4c1.218 0 2.091.759 2.091 1.8 0 .736-.36 1.304-1.03 1.707-.56.33-.717.56-.717 1.022v.305l-.1.1H7.47l-.1-.1v-.431c-.005-.646.302-1.104.987-1.514.527-.322.708-.59.708-1.047 0-.536-.416-.91-1.05-.91-.652 0-1.064.374-1.112.998l-.1.092H6l-.1-.105z"}))};questionInCircle.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var refresh=function refresh(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M11.228 2.942a.5.5 0 1 1-.538.842A5 5 0 1 0 13 8a.5.5 0 1 1 1 0 6 6 0 1 1-2.772-5.058zM14 1.5v3A1.5 1.5 0 0 1 12.5 6h-3a.5.5 0 0 1 0-1h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 1 1 1 0z"}))};refresh.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var reportingApp=function reportingApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M25 5h-.17v2H25a1 1 0 0 1 1 1v20a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h.17V5H7a3 3 0 0 0-3 3v20a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3z"}),_react.default.createElement("path",{d:"M23 3h-3V0h-8v3H9v6h14V3zm-2 4H11V5h3V2h4v3h3v2z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M10 13h12v2H10zM10 18h12v2H10zM10 23h12v2H10z"}))};reportingApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var save=function save(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M5.008 2H2.282c-.181 0-.245.002-.275.007-.005.03-.007.094-.007.275v11.436c0 .181.002.245.007.275.03.005.094.007.275.007h11.436c.181 0 .245-.002.275-.007.005-.03.007-.094.007-.275V4.62c0-.13-.001-.18-.004-.204a2.654 2.654 0 0 0-.141-.147L11.73 2.145a2.654 2.654 0 0 0-.147-.141A2.654 2.654 0 0 0 11.38 2h-.388c.005.08.008.172.008.282v2.436c0 .446-.046.607-.134.77a.909.909 0 0 1-.378.378c-.163.088-.324.134-.77.134H6.282c-.446 0-.607-.046-.77-.134a.909.909 0 0 1-.378-.378C5.046 5.325 5 5.164 5 4.718V2.282c0-.11.003-.202.008-.282zM2.282 1h9.098c.259 0 .348.01.447.032a.87.87 0 0 1 .273.113c.086.054.156.11.338.293l2.124 2.124c.182.182.239.252.293.338a.87.87 0 0 1 .113.273c.023.1.032.188.032.447v9.098c0 .446-.046.607-.134.77a.909.909 0 0 1-.378.378c-.163.088-.324.134-.77.134H2.282c-.446 0-.607-.046-.77-.134a.909.909 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77V2.282c0-.446.046-.607.134-.77a.909.909 0 0 1 .378-.378c.163-.088.324-.134.77-.134zM6 2.282v2.436c0 .181.002.245.007.275.03.005.094.007.275.007h3.436c.181 0 .245-.002.275-.007.005-.03.007-.094.007-.275V2.282c0-.181-.002-.245-.007-.275A2.248 2.248 0 0 0 9.718 2H6.282c-.181 0-.245.002-.275.007-.005.03-.007.094-.007.275zM8 12a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm0-1a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"}))};save.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var savedObjectsApp=function savedObjectsApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M20.38 7.001L17 9.619V0h-2v9.619l-3.37-2.618-1.25 1.513L16 12.878l5.63-4.364z"}),_react.default.createElement("path",{d:"M21.06.165l-1.11 1.61 9.25 5.983L16 16.29 2.8 7.758l9.25-5.983-1.1-1.61L0 7.234v13.653l16 10.337 16-10.337V7.234L21.06.164zM2 9.57l13 8.407v10.279L2 19.84V9.57zm15 18.676V17.978l13-8.407V19.85l-13 8.397z"}))};savedObjectsApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var scale=function scale(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M12.5 12a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm-2 0a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm-2 0a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm4-2a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm-2 0a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm2-1a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm0-3a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm-2 2a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm-2 0a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm0 2a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm-2 2a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm-2 0a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm2-2a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm6-6a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm-2 2a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1z"}))};scale.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var search=function search(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"search-a",d:"M11.271 11.978l3.872 3.873a.502.502 0 0 0 .708 0 .502.502 0 0 0 0-.708l-3.565-3.564c2.38-2.747 2.267-6.923-.342-9.532-2.73-2.73-7.17-2.73-9.898 0-2.728 2.729-2.728 7.17 0 9.9a6.955 6.955 0 0 0 4.949 2.05.5.5 0 0 0 0-1 5.96 5.96 0 0 1-4.242-1.757 6.01 6.01 0 0 1 0-8.486c2.337-2.34 6.143-2.34 8.484 0a6.01 6.01 0 0 1 0 8.486.5.5 0 0 0 .034.738z"})),_react.default.createElement("use",{xlinkHref:"#search-a"}))};search.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var searchProfilerApp=function searchProfilerApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M11.63 8h7.38v2h-7.38z"}),_react.default.createElement("path",{d:"M7 8h3.19v2H7z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M7 16h7.38v2H7z"}),_react.default.createElement("path",{d:"M15.81 16H19v2h-3.19zM7 12h9v2H7z"}),_react.default.createElement("path",{d:"M13 0C5.82 0 0 5.82 0 13s5.82 13 13 13 13-5.82 13-13A13 13 0 0 0 13 0zm0 24C6.925 24 2 19.075 2 13S6.925 2 13 2s11 4.925 11 11-4.925 11-11 11zM22.581 23.993l1.414-1.414 7.708 7.708-1.414 1.414z"}))};searchProfilerApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var securityAnalyticsApp=function securityAnalyticsApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M25 12h-1V8A8 8 0 1 0 8 8v4H7a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3V15a3 3 0 0 0-3-3zM10 8a6 6 0 1 1 12 0v4H10V8zm16 21a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V15a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v14z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M10 20h2v7h-2zM20 22h2v5h-2zM15 17h2v10h-2z"}))};securityAnalyticsApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var securityApp=function securityApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M16 32l-.36-.14A21.07 21.07 0 0 1 2 12.07V5.44L16 .06l14 5.38v6.63a21.07 21.07 0 0 1-13.64 19.78L16 32zM4 6.82v5.25a19.08 19.08 0 0 0 12 17.77 19.08 19.08 0 0 0 12-17.77V6.82L16 2.2 4 6.82z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M11 17.83h2V23h-2zM13 10.18V7h-2v3.18a3 3 0 1 0 2 0zM12 14a1 1 0 1 1 0-2 1 1 0 0 1 0 2zM19 7h2v5.17h-2zM23 17a3 3 0 1 0-4 2.82V23h2v-3.18A3 3 0 0 0 23 17zm-3 1a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"}))};securityApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var shard=function shard(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M5.134 7.031L8 12.764l2.866-5.733L8 2.016 5.134 7.03zM8 0l4 7-4 8-4-8 4-7z"}))};shard.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var share=function share(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M3 6.81v6.38c0 .493.448.9.992.9h7.016c.543 0 .992-.406.992-.9V6.81c0-.493-.448-.9-.992-.9H3.992c-.543 0-.992.406-.992.9zM6 5v.91h3V5h2.008C12.108 5 13 5.818 13 6.81v6.38c0 1-.9 1.81-1.992 1.81H3.992C2.892 15 2 14.182 2 13.19V6.81C2 5.81 2.9 5 3.992 5H6zm1.997-3.552A.506.506 0 0 1 8 1.5v8a.5.5 0 0 1-1 0v-8a.51.51 0 0 1 0-.017L5.18 3.394a.52.52 0 0 1-.77 0 .617.617 0 0 1 0-.829L6.36.515a1.552 1.552 0 0 1 2.31 0l1.95 2.05c.214.229.214.601 0 .83a.52.52 0 0 1-.77 0L7.997 1.447z"}))};share.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var snowflake=function snowflake(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M7.007.5a.5.5 0 0 1 1 0v2.024a.999.999 0 0 0 .268-.227l1.027-1.233a.5.5 0 0 1 .769.64L8.275 3.86a.999.999 0 0 1-.268.227v2.548l2.207-1.274c0-.114.02-.231.062-.346l.968-2.632a.5.5 0 1 1 .938.345l-.554 1.506a.998.998 0 0 0-.062.346l1.753-1.012a.5.5 0 1 1 .5.866l-1.753 1.012c.1.057.21.098.33.119l1.582.273a.5.5 0 1 1-.17.986l-2.764-.478a1 1 0 0 1-.33-.12L8.506 7.5l2.207 1.274a1 1 0 0 1 .33-.119l2.764-.478a.5.5 0 1 1 .17.986l-1.582.273a.999.999 0 0 0-.33.12l1.753 1.011a.5.5 0 1 1-.5.866l-1.753-1.012c0 .115.02.231.062.346l.554 1.506a.5.5 0 0 1-.938.345l-.968-2.632a.999.999 0 0 1-.062-.346L8.007 8.366v2.548c.098.058.19.133.268.227l1.796 2.155a.5.5 0 0 1-.769.64l-1.027-1.233a.999.999 0 0 0-.268-.226V14.5a.5.5 0 0 1-1 0v-2.024a.999.999 0 0 0-.269.227l-1.027 1.233a.5.5 0 0 1-.768-.64l1.795-2.155a.999.999 0 0 1 .269-.227V8.366L4.8 9.64c0 .114-.02.231-.062.346l-.969 2.632a.5.5 0 1 1-.938-.345l.554-1.506a1 1 0 0 0 .062-.346l-1.753 1.012a.5.5 0 0 1-.5-.866l1.753-1.012a.999.999 0 0 0-.33-.119l-1.582-.273a.5.5 0 0 1 .17-.986l2.764.478c.12.02.232.062.33.12L6.508 7.5 4.3 6.226a.999.999 0 0 1-.33.119l-2.765.478a.5.5 0 1 1-.17-.986l1.582-.273a.999.999 0 0 0 .33-.12L1.194 4.434a.5.5 0 1 1 .5-.866l1.753 1.012c0-.114-.02-.231-.062-.346L2.83 2.727a.5.5 0 1 1 .938-.345l.969 2.632a.999.999 0 0 1 .062.346l2.207 1.274V4.086a1 1 0 0 1-.269-.227L4.943 1.704a.5.5 0 0 1 .768-.64l1.027 1.233c.079.094.17.17.269.227V.5z"}))};snowflake.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var sortable=function sortable(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M7 12.786V3.2L3.604 6.596a.5.5 0 0 1-.708-.707l3.536-3.535a1.5 1.5 0 0 1 2.121 0l3.536 3.535a.5.5 0 0 1-.707.707L8 3.214v9.557l3.382-3.382a.5.5 0 0 1 .707.707l-3.536 3.536a1.5 1.5 0 0 1-2.121 0l-3.536-3.536a.5.5 0 0 1 .708-.707L7 12.786z"}))};sortable.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var sortDown=function sortDown(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M7 11.692V3.556C7 3.249 7.224 3 7.5 3s.5.249.5.556v8.136l4.096-4.096a.5.5 0 0 1 .707.707l-4.242 4.243a1.494 1.494 0 0 1-.925.433.454.454 0 0 1-.272 0 1.494 1.494 0 0 1-.925-.433L2.197 8.303a.5.5 0 1 1 .707-.707L7 11.692z"}))};sortDown.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var sortLeft=function sortLeft(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M4.308 7h8.136c.307 0 .556.224.556.5s-.249.5-.556.5H4.308l4.096 4.096a.5.5 0 0 1-.707.707L3.454 8.561a1.494 1.494 0 0 1-.433-.925.454.454 0 0 1 0-.272c.03-.338.175-.666.433-.925l4.243-4.242a.5.5 0 1 1 .707.707L4.308 7z",fillRule:"evenodd"}))};sortLeft.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var sortRight=function sortRight(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M11.692 7H3.556C3.249 7 3 7.224 3 7.5s.249.5.556.5h8.136l-4.096 4.096a.5.5 0 0 0 .707.707l4.243-4.242c.258-.259.403-.587.433-.925a.454.454 0 0 0 0-.272 1.494 1.494 0 0 0-.433-.925L8.303 2.197a.5.5 0 1 0-.707.707L11.692 7z"}))};sortRight.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var sortUp=function sortUp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8 4.207v8.237c0 .307-.224.556-.5.556s-.5-.249-.5-.556V4.207L2.904 8.303a.5.5 0 0 1-.707-.707l4.242-4.242a1.5 1.5 0 0 1 2.122 0l4.242 4.242a.5.5 0 1 1-.707.707L8 4.207z"}))};sortUp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var spacesApp=function spacesApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M4 4h6v2H4zM22 4h6v2h-6zM4 22h6v2H4z"}),_react.default.createElement("path",{d:"M0 14h14V0H0v14zM2 2h10v10H2V2zm16-2v14h14V0H18zm12 12H20V2h10v10zM0 32h14V18H0v14zm2-12h10v10H2V20zm16 12h14V18H18v14zm2-12h10v10H20V20z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M22 22h6v2h-6z"}))};spacesApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var sqlApp=function sqlApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M18 6h9v2h-9zM5 6h9v2H5zM5 12h9v2H5zM18 12h9v2h-9zM5 18h9v2H5zM18 18h9v2h-9zM18 24h9v2h-9zM5 24h9v2H5z"}),_react.default.createElement("path",{d:"M29 32H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h26a3 3 0 0 1 3 3v26a3 3 0 0 1-3 3zM3 2a1 1 0 0 0-1 1v26a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H3z"}))};sqlApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var starEmpty=function starEmpty(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M8 2a.86.86 0 0 0-.792.511l-1.33 2.924-3.128.446c-.71.102-1.001.976-.496 1.487l2.313 2.336-.563 3.268A.877.877 0 0 0 4.864 14c.142 0 .289-.036.429-.116L8 12.342l2.707 1.542c.14.08.287.116.43.116a.877.877 0 0 0 .859-1.027l-.563-3.269 2.313-2.336c.505-.511.214-1.385-.496-1.487l-3.128-.446-1.33-2.923A.86.86 0 0 0 8 2m0 1c.073 0 .095.049.104.07l1.267 2.783.162.356.387.055 2.978.425c.017.002.071.01.095.08a.116.116 0 0 1-.029.126l-2.202 2.226-.259.261.063.362.535 3.112c.007.04 0 .07-.023.098a.127.127 0 0 1-.091.046.106.106 0 0 1-.055-.016l-2.578-1.469L8 11.314l-.354.201-2.579 1.469a.103.103 0 0 1-.054.016.127.127 0 0 1-.091-.046c-.023-.028-.03-.058-.024-.098l.536-3.112.063-.362-.259-.261-2.202-2.226a.116.116 0 0 1-.029-.126.108.108 0 0 1 .094-.08l2.98-.425.386-.055.162-.356 1.267-2.786C7.905 3.05 7.927 3 8 3"}))};starEmpty.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var starEmptySpace=function starEmptySpace(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M6 2a.86.86 0 0 0-.792.511l-1.33 2.924-3.128.446c-.71.102-1.001.976-.496 1.487l2.313 2.336-.563 3.268A.877.877 0 0 0 2.864 14c.142 0 .289-.036.429-.116L6 12.342l2.707 1.542c.14.08.287.116.43.116a.877.877 0 0 0 .859-1.027l-.563-3.269 2.313-2.336c.505-.511.214-1.385-.496-1.487l-3.128-.446-1.33-2.923A.86.86 0 0 0 6 2m0 1c.073 0 .095.049.104.07l1.267 2.783.162.356.387.055 2.978.425c.017.002.071.01.095.08a.116.116 0 0 1-.029.126L8.762 9.121l-.259.261.063.362.535 3.112c.007.04 0 .07-.023.098a.127.127 0 0 1-.091.046.106.106 0 0 1-.055-.016l-2.578-1.469L6 11.314l-.354.201-2.579 1.469a.103.103 0 0 1-.054.016.127.127 0 0 1-.091-.046c-.023-.028-.03-.058-.024-.098l.536-3.112.063-.362-.259-.261-2.202-2.226a.116.116 0 0 1-.029-.126.108.108 0 0 1 .094-.08l2.98-.425.386-.055.162-.356 1.267-2.786C5.905 3.05 5.927 3 6 3"}))};starEmptySpace.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var starFilled=function starFilled(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M8 2a.86.86 0 0 0-.792.511l-1.33 2.924-3.128.446c-.71.102-1.001.976-.496 1.487l2.313 2.336-.563 3.268A.877.877 0 0 0 4.864 14c.142 0 .289-.036.429-.116L8 12.342l2.707 1.542c.14.08.287.116.43.116a.877.877 0 0 0 .859-1.027l-.563-3.269 2.313-2.336c.505-.511.214-1.385-.496-1.487l-3.128-.446-1.33-2.923A.86.86 0 0 0 8 2"}))};starFilled.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var starFilledSpace=function starFilledSpace(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M6 2a.86.86 0 0 0-.792.511l-1.33 2.924-3.128.446c-.71.102-1.001.976-.496 1.487l2.313 2.336-.563 3.268A.877.877 0 0 0 2.864 14c.142 0 .289-.036.429-.116L6 12.342l2.707 1.542c.14.08.287.116.43.116a.877.877 0 0 0 .859-1.027l-.563-3.269 2.313-2.336c.505-.511.214-1.385-.496-1.487l-3.128-.446-1.33-2.923A.86.86 0 0 0 6 2"}))};starFilledSpace.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var starMinusEmpty=function starMinusEmpty(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M6 2a.86.86 0 0 0-.792.511l-1.33 2.924-3.128.446c-.71.102-1.001.976-.496 1.487l2.313 2.336-.563 3.268A.877.877 0 0 0 2.864 14c.142 0 .289-.036.429-.116L6 12.342l2.707 1.542c.14.08.287.116.43.116a.877.877 0 0 0 .859-1.027l-.563-3.269 2.313-2.336c.505-.511.214-1.385-.496-1.487l-3.128-.446-1.33-2.923A.86.86 0 0 0 6 2m0 1c.073 0 .095.049.104.07l1.267 2.783.162.356.387.055 2.978.425c.017.002.071.01.095.08a.116.116 0 0 1-.029.126L8.762 9.121l-.259.261.063.362.535 3.112c.007.04 0 .07-.023.098a.127.127 0 0 1-.091.046.106.106 0 0 1-.055-.016l-2.578-1.469L6 11.314l-.354.201-2.579 1.469a.103.103 0 0 1-.054.016.127.127 0 0 1-.091-.046c-.023-.028-.03-.058-.024-.098l.536-3.112.063-.362-.259-.261-2.202-2.226a.116.116 0 0 1-.029-.126.108.108 0 0 1 .094-.08l2.98-.425.386-.055.162-.356 1.267-2.786C5.905 3.05 5.927 3 6 3zm10 7v1h-5v-1h5z"}))};starMinusEmpty.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var starMinusFilled=function starMinusFilled(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M6 2a.86.86 0 0 1 .792.511l1.33 2.924 3.128.446c.71.102 1.001.976.496 1.487L9.433 9.704l.563 3.268A.877.877 0 0 1 9.136 14a.862.862 0 0 1-.429-.116L6 12.342l-2.707 1.542a.862.862 0 0 1-.43.116.877.877 0 0 1-.859-1.027l.563-3.269L.254 7.368C-.25 6.857.04 5.983.75 5.88l3.128-.446 1.33-2.923A.86.86 0 0 1 6 2zm10 8v1h-5v-1h5z"}))};starMinusFilled.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var starPlusEmpty=function starPlusEmpty(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M6 2a.86.86 0 0 0-.792.511l-1.33 2.924-3.128.446c-.71.102-1.001.976-.496 1.487l2.313 2.336-.563 3.268A.877.877 0 0 0 2.864 14c.142 0 .289-.036.429-.116L6 12.342l2.707 1.542c.14.08.287.116.43.116a.877.877 0 0 0 .859-1.027l-.563-3.269 2.313-2.336c.505-.511.214-1.385-.496-1.487l-3.128-.446-1.33-2.923A.86.86 0 0 0 6 2m8 8h2v1h-2v2h-1v-2h-2v-1h2V8h1v2zM6 3c.073 0 .095.049.104.07l1.267 2.783.162.356.387.055 2.978.425c.017.002.071.01.095.08a.116.116 0 0 1-.029.126L8.762 9.121l-.259.261.063.362.535 3.112c.007.04 0 .07-.023.098a.127.127 0 0 1-.091.046.106.106 0 0 1-.055-.016l-2.578-1.469L6 11.314l-.354.201-2.579 1.469a.103.103 0 0 1-.054.016.127.127 0 0 1-.091-.046c-.023-.028-.03-.058-.024-.098l.536-3.112.063-.362-.259-.261-2.202-2.226a.116.116 0 0 1-.029-.126.108.108 0 0 1 .094-.08l2.98-.425.386-.055.162-.356 1.267-2.786C5.905 3.05 5.927 3 6 3z"}))};starPlusEmpty.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var starPlusFilled=function starPlusFilled(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M14 10h2v1h-2v2h-1v-2h-2v-1h2V8h1v2zM6 2a.86.86 0 0 0-.792.511l-1.33 2.924-3.128.446c-.71.102-1.001.976-.496 1.487l2.313 2.336-.563 3.268A.877.877 0 0 0 2.864 14c.142 0 .289-.036.429-.116L6 12.342l2.707 1.542c.14.08.287.116.43.116a.877.877 0 0 0 .859-1.027l-.563-3.269 2.313-2.336c.505-.511.214-1.385-.496-1.487l-3.128-.446-1.33-2.923A.86.86 0 0 0 6 2"}))};starPlusFilled.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var stats=function stats(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M8 14v-4h1v4h5V5h1v9a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-2h1v2h6zm4.853-10.146l-2.999 3a1.5 1.5 0 0 1-2.538 1.568l-2.714.904L4 9.527a1.5 1.5 0 1 1-.316-.948L7 7.473a1.5 1.5 0 0 1 2.146-1.327l3-3a1.5 1.5 0 1 1 .707.707z"}))};stats.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var stop=function stop(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M4 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H4z",fillRule:"evenodd"}))};stop.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var stopFilled=function stopFilled(props){return _react.default.createElement("svg",props,_react.default.createElement("rect",{width:"12",height:"12",x:"2",y:"2",rx:"2",fillRule:"evenodd"}))};stopFilled.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var storage=function storage(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fillRule:"evenodd",transform:"translate(0 2)"},_react.default.createElement("path",{fillRule:"nonzero",d:"M2 6a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H2zm13 2v3a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1zm1-3V2a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2v3c0 .601.271 1.133.69 1.5C.271 6.867 0 7.399 0 8v3a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8c0-.601-.271-1.133-.689-1.5.418-.367.689-.899.689-1.5z"}),_react.default.createElement("circle",{cx:"4.5",cy:"9.5",r:"1.5"}),_react.default.createElement("circle",{cx:"4.5",cy:"3.5",r:"1.5"}),_react.default.createElement("path",{d:"M12 8h1v3h-1zM10 8h1v3h-1zM12 2h1v3h-1zM10 2h1v3h-1z"})))};storage.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var string=function string(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M9.297 3L8.93 5.102h1.351l-.32 1.828H8.609l-.656 3.883c-.036.265-.02.466.05.601.071.135.247.208.528.219.11.005.334-.008.672-.04L9.016 13.5a4.16 4.16 0 0 1-1.383.195c-.797-.01-1.393-.244-1.79-.703-.395-.458-.557-1.08-.484-1.867l.688-4.195H5l.313-1.828h1.046L6.727 3h2.57z"}))};string.defaultProps={width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"};var submodule=function submodule(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{clipRule:"evenodd",d:"M6 2H1v12h3V7a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1h4V4H7c-.621 0-1-.379-1-1V2zm10 6v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.25a.75.75 0 0 1 .75.75l-.004.206C6.99 2.317 6.974 3 7 3h8a1 1 0 0 1 1 1v4zm-1 1h-4a1 1 0 0 1-1-1V7H5v7h10V9zM2 4.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5zM6.5 9a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2z"}))};submodule.defaultProps={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var symlink=function symlink(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{clipRule:"evenodd",d:"M10.8 0H2a1 1 0 0 0-1 1v8l1-1V1h8v3.5a.5.5 0 0 0 .5.5H14v10H2v-1a3.5 3.5 0 0 1 3.5-3.5H8V13l3-3-3-3v2.5H5.5A4.5 4.5 0 0 0 1 14v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4.429c0-.256-.098-.503-.274-.689l-3.2-3.428A1.002 1.002 0 0 0 10.8 0z"}))};symlink.defaultProps={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var tableOfContents=function tableOfContents(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M1 1v14h14V1H1zM0 0h16v16H0V0zm9 1v14h1V1H9zM3 3.5h4v-1H3v1zm0 3h4v-1H3v1zm0 3h4v-1H3v1z"}))};tableOfContents.defaultProps={width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"};var tag=function tag(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M6.254 14.97L.996 9.712c-.315-.316-.397-.463-.45-.64a.909.909 0 0 1 0-.534c.053-.177.135-.324.45-.64L7.43 1.466c.182-.183.252-.24.338-.293a.87.87 0 0 1 .273-.113c.099-.023.188-.032.446-.032h5.173c.445 0 .607.046.77.133.162.087.29.214.377.377.088.162.134.324.136.769l.015 5.15c0 .259-.009.348-.032.448a.87.87 0 0 1-.112.273c-.054.087-.111.157-.294.34L8.067 14.97c-.315.315-.462.396-.639.45a.909.909 0 0 1-.535 0c-.176-.054-.324-.135-.639-.45zm1.106-.707l6.453-6.453c.092-.092.126-.128.141-.147.003-.025.004-.074.004-.204l-.015-5.15c0-.181-.003-.245-.009-.275a2.247 2.247 0 0 0-.274-.007H8.487c-.13 0-.179.001-.203.004-.02.015-.055.05-.147.141L1.703 8.606a2.248 2.248 0 0 0-.189.2c.017.024.061.07.19.198l5.257 5.259c.128.128.175.171.2.188.024-.017.071-.06.2-.188zm4.972-10.607a2 2 0 1 1-2.828 2.828 2 2 0 0 1 2.828-2.828zm-.707.707a1 1 0 1 0-1.414 1.414 1 1 0 0 0 1.414-1.414zM6.807 11.28L4.686 9.159a.5.5 0 1 1 .707-.707l2.121 2.12a.5.5 0 1 1-.707.708zm1.414-1.414l-2.12-2.122a.5.5 0 1 1 .706-.707L8.928 9.16a.5.5 0 1 1-.707.707z"}))};tag.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tear=function tear(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"tear-a",d:"M7.553 1.776a.5.5 0 0 1 .894 0l4 8a.5.5 0 0 1 .053.235c-.004.15-.026.396-.084.705a5.538 5.538 0 0 1-.505 1.512C11.189 13.638 9.906 14.5 8 14.5c-1.906 0-3.19-.862-3.91-2.272a5.538 5.538 0 0 1-.506-1.512 4.672 4.672 0 0 1-.084-.705.5.5 0 0 1 .053-.235l4-8zm-3.046 8.329c.009.106.027.253.06.429.079.424.213.848.413 1.238C5.537 12.862 6.487 13.5 8 13.5c1.513 0 2.463-.638 3.02-1.728.2-.39.334-.814.413-1.238.033-.176.051-.323.06-.43L8 3.119l-3.493 6.987z"})),_react.default.createElement("use",{xlinkHref:"#tear-a"}))};tear.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var temperature=function temperature(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8.5 15a3.5 3.5 0 0 1-1.75-6.532L7 8.324V2.5A1.496 1.496 0 1 1 9.908 2H8.5v1H10v1H8.5v1H10v1H8.5v1H10v1.324l.25.144A3.5 3.5 0 0 1 8.5 15M11 7.758V2.5a2.5 2.5 0 1 0-5 0v5.258a4.5 4.5 0 1 0 5 0"}),_react.default.createElement("path",{d:"M8.5 9a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5"}))};temperature.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var timelionApp=function timelionApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M4 4v20.34L16 32l12-7.64V4H4zm22 2v4h-4a3 3 0 0 0-3 3v5h-6v-5a3 3 0 0 0-3-3H6V6h20zm-7.87 14L16 22.52 13.87 20h4.26zM6 12h4a1 1 0 0 1 1 1v6.7l3.69 4.37-2.58 3.06L6 23.24V12zm7.81 16.22l2.19-2.6 2.19 2.6L16 29.61l-2.19-1.39zm6.08-1.09l-2.58-3.06L21 19.7V13a1 1 0 0 1 1-1h4v11.24l-6.11 3.89z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M4 0h24v2H4z"}))};timelionApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var trash=function trash(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"trash-a",d:"M11 3h5v1H0V3h5V1a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2zm-7.056 8H7v1H4.1l.392 2.519c.042.269.254.458.493.458h6.03c.239 0 .451-.189.493-.458l1.498-9.576H14l-1.504 9.73c-.116.747-.74 1.304-1.481 1.304h-6.03c-.741 0-1.365-.557-1.481-1.304l-1.511-9.73H9V5.95H3.157L3.476 8H8v1H3.632l.312 2zM6 3h4V1H6v2z"})),_react.default.createElement("use",{xlinkHref:"#trash-a"}))};trash.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var upgradeAssistantApp=function upgradeAssistantApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M16 21a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-8a3 3 0 1 0 0 6 3 3 0 0 0 0-6z"}),_react.default.createElement("path",{d:"M27.42 19.69a12 12 0 0 1-23.11-1l2.27-.45-4.32-4.47L0 19.55l2.39-.47a14 14 0 0 0 27 1.23l-1.97-.62zm2.23-6.77a14 14 0 0 0-27-1.23l1.9.62a12 12 0 0 1 23.11 1l-2.27.45 4.32 4.46L32 12.45l-2.35.47z"}))};upgradeAssistantApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var uptimeApp=function uptimeApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M4.216 12.377A10.948 10.948 0 0 0 2.181 17H.153a12.941 12.941 0 0 1 2.693-6.118l1.37 1.495zm2.948-2.703l-1.37-1.495A12.94 12.94 0 0 1 13 6v2c-2.144 0-4.144.613-5.836 1.674z"}),_react.default.createElement("path",{d:"M26 4.414V19c0 7.18-5.82 13-13 13C6.5 32 1.115 27.23.153 21H2.18c.94 5.12 5.427 9 10.819 9 6.075 0 11-4.925 11-11V4.414l-4.293 4.293-1.414-1.414L25 .586l6.707 6.707-1.414 1.414L26 4.414zm-7.836 9.909l1.472 1.354-7.577 8.235-4.835-4.442 1.353-1.473 3.364 3.09 6.223-6.764z"}))};uptimeApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var user=function user(props){return _react.default.createElement("svg",props,_react.default.createElement("g",{fillRule:"evenodd"},_react.default.createElement("path",{d:"M13.689 11.132c1.155 1.222 1.953 2.879 2.183 4.748a1.007 1.007 0 0 1-1 1.12H3.007a1.005 1.005 0 0 1-1-1.12c.23-1.87 1.028-3.526 2.183-4.748.247.228.505.442.782.633-1.038 1.069-1.765 2.55-1.972 4.237L14.872 16c-.204-1.686-.93-3.166-1.966-4.235a7.01 7.01 0 0 0 .783-.633zM8.939 1c1.9 0 3 2 4.38 2.633a2.483 2.483 0 0 1-1.88.867c-.298 0-.579-.06-.844-.157A3.726 3.726 0 0 1 7.69 5.75c-1.395 0-3.75.25-3.245-1.903C5.94 3 6.952 1 8.94 1z"}),_react.default.createElement("path",{d:"M8.94 2c2.205 0 4 1.794 4 4s-1.795 4-4 4c-2.207 0-4-1.794-4-4s1.793-4 4-4m0 9A5 5 0 1 0 8.937.999 5 5 0 0 0 8.94 11"})))};user.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"};var usersRolesApp=function usersRolesApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M19.307 3.21a2.91 2.91 0 1 0-.223 1.94 11.636 11.636 0 0 1 8.232 7.049l1.775-.698a13.576 13.576 0 0 0-9.784-8.291zm-2.822 1.638a.97.97 0 1 1 0-1.939.97.97 0 0 1 0 1.94zm-4.267.805l-.717-1.774a13.576 13.576 0 0 0-8.291 9.784 2.91 2.91 0 1 0 1.94.223 11.636 11.636 0 0 1 7.068-8.233zm-8.34 11.802a.97.97 0 1 1 0-1.94.97.97 0 0 1 0 1.94zm12.607 8.727a2.91 2.91 0 0 0-2.599 1.62 11.636 11.636 0 0 1-8.233-7.05l-1.774.717a13.576 13.576 0 0 0 9.813 8.291 2.91 2.91 0 1 0 2.793-3.578zm0 3.879a.97.97 0 1 1 0-1.94.97.97 0 0 1 0 1.94zM32 16.485a2.91 2.91 0 1 0-4.199 2.599 11.636 11.636 0 0 1-7.05 8.232l.718 1.775a13.576 13.576 0 0 0 8.291-9.813A2.91 2.91 0 0 0 32 16.485zm-2.91.97a.97.97 0 1 1 0-1.94.97.97 0 0 1 0 1.94z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M19.19 16.35a3.879 3.879 0 1 0-5.42 0 4.848 4.848 0 0 0-2.134 4.014v1.939h9.697v-1.94a4.848 4.848 0 0 0-2.143-4.014zm-4.645-2.774a1.94 1.94 0 1 1 3.88 0 1.94 1.94 0 0 1-3.88 0zm-.97 6.788a2.91 2.91 0 1 1 5.819 0h-5.818z"}))};usersRolesApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var vector=function vector(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M12.5 11V5H11V3.5H5V5H3.5v6H5v1.5h6V11h1.5zm1 0H15v4h-4v-1.5H5V15H1v-4h1.5V5H1V1h4v1.5h6V1h4v4h-1.5v6zM4 4V2H2v2h2zm8 0h2V2h-2v2zM2 14h2v-2H2v2zm10 0h2v-2h-2v2z"}))};vector.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visArea=function visArea(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M3 13h10V9.913l-2.571-2.826L8.56 8.753a.5.5 0 0 1-.728-.067L4.448 4.317 3 6.191V13zm5.295-5.35l1.837-1.64a.5.5 0 0 1 .703.037l3.035 3.336a.5.5 0 0 1 .13.337v3.78a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V6.02a.5.5 0 0 1 .104-.305l1.947-2.52a.5.5 0 0 1 .791-.001L8.295 7.65zM1 15h13.5a.5.5 0 1 1 0 1H.5a.5.5 0 0 1-.5-.5v-14a.5.5 0 0 1 1 0V15z"}))};visArea.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visBarHorizontal=function visBarHorizontal(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8.5 10h-6a.5.5 0 0 1 0-1H8V6H2.5a.5.5 0 0 1 0-1H13V2H2.5a.5.5 0 0 1 0-1h11a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5H9v3h2.5a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-9a.5.5 0 1 1 0-1H11v-3H8.5zM0 .5a.5.5 0 1 1 1 0v14a.5.5 0 1 1-1 0V.5z"}))};visBarHorizontal.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visBarVertical=function visBarVertical(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M10 7.5v6a.5.5 0 1 1-1 0V8H6v5.5a.5.5 0 1 1-1 0V3H2v10.5a.5.5 0 1 1-1 0v-11a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5V7h3V4.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5v9a.5.5 0 1 1-1 0V5h-3v2.5zM.5 16a.5.5 0 1 1 0-1h14a.5.5 0 1 1 0 1H.5z"}))};visBarVertical.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visControls=function visControls(props){return _react.default.createElement("svg",props,_react.default.createElement("defs",null,_react.default.createElement("path",{id:"controls_horizontal-a",d:"M10 7.95a2.5 2.5 0 0 1 0-4.9V1h1v2.05a2.5 2.5 0 0 1 0 4.9V15h-1V7.95zm-4 .1a2.5 2.5 0 0 1 0 4.9V15H5v-2.05a2.5 2.5 0 0 1 0-4.9V1h1v7.05zM5.5 12a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm5-8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z"})),_react.default.createElement("use",{transform:"rotate(90 8 8)",xlinkHref:"#controls_horizontal-a"}))};visControls.defaultProps={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};var visGauge=function visGauge(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M12.877 5.847l-1.02 1.02a.5.5 0 0 1-.708-.707l1.1-1.099c-.05-.053-.1-.106-.152-.157A6.471 6.471 0 0 0 8 3.019V4.5a.5.5 0 0 1-1 0V3.019a6.47 6.47 0 0 0-4.261 2.055l1.07 1.071a.5.5 0 0 1-.706.707l-.99-.99A6.46 6.46 0 0 0 1.018 10H2.5a.5.5 0 1 1 0 1H1.174c.083.353.196.697.337 1.03a.5.5 0 1 1-.922.39A7.487 7.487 0 0 1 0 9.5a7.483 7.483 0 0 1 2.197-5.304A7.487 7.487 0 0 1 7.5 2a7.487 7.487 0 0 1 5.304 2.197A7.483 7.483 0 0 1 15 9.5a7.487 7.487 0 0 1-.59 2.92.5.5 0 0 1-.92-.39c.14-.333.253-.677.336-1.03H12.5a.5.5 0 1 1 0-1h1.481a6.483 6.483 0 0 0-1.104-4.153zm-6.041 5.317a.993.993 0 0 1-.01-1.404c.384-.385 2.882-2.002 3.149-1.735.267.267-1.35 2.765-1.735 3.15a.993.993 0 0 1-1.404-.01z"}))};visGauge.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visGoal=function visGoal(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M10.725 3.653a6 6 0 0 1 2.847 7.576.5.5 0 0 1-.928-.372 5 5 0 1 0-9.293-.014.5.5 0 0 1-.218.619L1.39 12.47a.5.5 0 0 1-.708-.23A7.99 7.99 0 0 1 0 9a8 8 0 0 1 11.212-7.329.5.5 0 0 1 .234.704l-.721 1.278zm-.933-.38l.5-.889a7 7 0 0 0-8.902 8.93l.886-.511a6 6 0 0 1 7.516-7.53zM6.73 9.467a1.75 1.75 0 1 1 2.539 0 2 2 0 1 1-2.539 0zM8 12.013a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0-3a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5z"}))};visGoal.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visHeatmap=function visHeatmap(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M12 9a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 1a2 2 0 1 0 0 4 2 2 0 0 0 0-4zM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4zm0 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm0 5a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm0 1a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm8-9a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm0 1a3 3 0 1 0 0 6 3 3 0 0 0 0-6z"}))};visHeatmap.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visLine=function visLine(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M12.654 3.48c.248.225.552.389.888.467L11.24 9.43a1.99 1.99 0 0 0-.915-.404l2.33-5.547zM9.146 9.19a2.008 2.008 0 0 0-.769.64l-1.572-2c.311-.136.581-.35.785-.618l1.556 1.978zM5.581 7.956l-2.134 4.268a.5.5 0 0 1-.894-.448l2.134-4.268c.25.22.557.376.894.448zM1 15h13.5a.5.5 0 1 1 0 1H.5a.5.5 0 0 1-.5-.5v-14a.5.5 0 0 1 1 0V15zm5-8a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm4 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm4-9a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"}))};visLine.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visMapCoordinate=function visMapCoordinate(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M7.5 15C5.77 15 2 9.97 2 6.595 2 3.507 4.46 1 7.5 1S13 3.507 13 6.595C13 9.97 9.23 15 7.5 15zm0-1c.286 0 1.48-1.044 2.459-2.35C11.219 9.969 12 8.153 12 6.596 12 4.055 9.983 2 7.5 2S3 4.055 3 6.595c0 1.557.78 3.373 2.041 5.056C6.02 12.956 7.214 14 7.5 14zm0-4.996a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5zm0-1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"}))};visMapCoordinate.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visMapRegion=function visMapRegion(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M6.5 2.309v8.69a.499.499 0 0 1-.032.176L9.5 12.691V3.809l-3-1.5zm-1-.04L2 3.825v8.906l3.527-1.568a.5.5 0 0 1-.027-.164V2.27zm.274-1.216a.498.498 0 0 1 .471.01l3.768 1.884 4.284-1.904A.5.5 0 0 1 15 1.5v10a.5.5 0 0 1-.297.457l-4.5 2a.5.5 0 0 1-.427-.01l-3.789-1.894-4.283 1.904a.5.5 0 0 1-.703-.457v-10a.5.5 0 0 1 .297-.457l4.476-1.99zM10.5 3.825v8.906l3.5-1.556V2.27l-3.5 1.556z"}))};visMapRegion.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visMetric=function visMetric(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M6.532 7.34a2.161 2.161 0 1 1 2.936 0 2.746 2.746 0 1 1-2.936 0zM2 0h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H2zm6 5.915a1.161 1.161 0 1 0 0-2.322 1.161 1.161 0 0 0 0 2.322zm0 4.492a1.746 1.746 0 1 0 0-3.492 1.746 1.746 0 0 0 0 3.492z"}))};visMetric.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visPie=function visPie(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M6.5 9a.5.5 0 0 1-.5-.5V3.023A5.5 5.5 0 1 0 11.978 9H6.5zM7 8h5.5a.5.5 0 0 1 .5.5A6.5 6.5 0 1 1 6.5 2a.5.5 0 0 1 .5.5V8zm2-6.972V6h4.972C13.696 3.552 11.448 1.304 9 1.028zM14.5 7h-6a.5.5 0 0 1-.5-.5v-6a.5.5 0 0 1 .5-.5C11.853 0 15 3.147 15 6.5a.5.5 0 0 1-.5.5zM6.146 8.854a.5.5 0 1 1 .708-.708l4 4a.5.5 0 0 1-.708.708l-4-4z"}))};visPie.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visTable=function visTable(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M16 3v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1zm-1 0V2a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v1h14zm0 1H1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4zM4.5 6a.5.5 0 0 1 0 1H2.496a.5.5 0 1 1 0-1H4.5zm9 0a.5.5 0 1 1 0 1h-6a.5.5 0 0 1 0-1h6zm-9 3a.5.5 0 0 1 0 1H2.496a.5.5 0 1 1 0-1H4.5zm9 0a.5.5 0 1 1 0 1h-6a.5.5 0 0 1 0-1h6zm-9 3a.5.5 0 1 1 0 1H2.496a.5.5 0 1 1 0-1H4.5zm9 0a.5.5 0 1 1 0 1h-6a.5.5 0 1 1 0-1h6z"}))};visTable.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visTagCloud=function visTagCloud(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M1.5 9.047a.5.5 0 1 0 0 1h13a.5.5 0 0 0 0-1h-13zm0-1h13a1.5 1.5 0 0 1 0 3h-13a1.5 1.5 0 0 1 0-3zM10 13a.5.5 0 1 1 0 1H4a.5.5 0 1 1 0-1h6zM8.001 2.015a.5.5 0 1 1-.002 1l-5-.015a.5.5 0 1 1 .003-1l5 .015zM14 5a.5.5 0 1 1 0 1H6a.5.5 0 0 1 0-1h8z"}))};visTagCloud.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visText=function visText(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8.5 5v6h2a.5.5 0 1 1 0 1h-5a.5.5 0 1 1 0-1h2V5H5v.5a.5.5 0 0 1-1 0v-1a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.51l-.021 1a.5.5 0 1 1-1-.02l.01-.49H8.5zM1 15h1.5a.5.5 0 1 1 0 1h-2a.5.5 0 0 1-.5-.5v-1.996a.5.5 0 0 1 1 0V15zM1 1v1.497a.5.5 0 1 1-1 0V.5A.5.5 0 0 1 .5 0h2a.5.5 0 0 1 0 1H1zm14 0h-1.495a.5.5 0 0 1 0-1H15.5a.5.5 0 0 1 .5.5v2a.5.5 0 1 1-1 0V1zm0 14v-1.5a.5.5 0 1 1 1 0v2a.5.5 0 0 1-.5.5h-2a.5.5 0 1 1 0-1H15zM0 6.5a.5.5 0 0 1 1 0v3a.5.5 0 0 1-1 0v-3zM9.5 0a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1h3zM15 6.5a.5.5 0 1 1 1 0v3a.5.5 0 1 1-1 0v-3zM9.5 15a.5.5 0 1 1 0 1h-3a.5.5 0 1 1 0-1h3z"}))};visText.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visTimelion=function visTimelion(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M10.884 1.802c1.171-.309 2.22-.24 3.103.07.295.104.507.212.631.292l.164.106.048.188c.278 1.066.2 2.175-.091 3.23a6.728 6.728 0 0 1-.194.598c.035.12.074.273.112.454.227 1.065.247 2.193-.08 3.267a4.855 4.855 0 0 1-.534 1.175c-.324.514-.7.954-1.117 1.323-.806.712-1.616 1.071-2.235 1.206-.14.179-.346.381-.629.578-.643.447-1.493.711-2.561.711-1.07 0-1.92-.264-2.563-.711a2.874 2.874 0 0 1-.629-.578c-.618-.134-1.428-.493-2.232-1.203-.419-.37-.796-.81-1.12-1.326a4.855 4.855 0 0 1-.534-1.175C.096 8.933.116 7.805.343 6.74a6.74 6.74 0 0 1 .112-.454 6.728 6.728 0 0 1-.194-.598C-.03 4.633-.108 3.524.17 2.458l.048-.188.164-.106c.124-.08.336-.188.63-.291.885-.31 1.933-.38 3.104-.07.184-.108.434-.23.748-.348C5.616 1.17 6.497 1 7.501 1c1.002 0 1.883.17 2.634.455.315.119.565.24.75.347zm3.027 1.116a3.13 3.13 0 0 0-.255-.102c-.749-.263-1.66-.309-2.708.007l-.238.072-.201-.147c-.11-.08-.354-.217-.728-.358C9.14 2.147 8.38 2 7.501 2c-.88 0-1.641.147-2.283.39-.373.141-.617.278-.727.358l-.2.147-.24-.072c-1.048-.316-1.958-.27-2.707-.007a3.13 3.13 0 0 0-.255.102c-.167.812-.094 1.674.136 2.503.084.303.166.524.217.637l.082.182-.066.19c-.032.09-.084.27-.137.518-.195.914-.212 1.88.059 2.767.1.333.241.645.423.935.273.434.588.801.936 1.108.434.383.898.655 1.36.834.27.105.474.155.575.17l.248.034.12.22c.051.091.199.266.466.452.476.33 1.127.532 1.993.532.865 0 1.516-.202 1.99-.532.268-.186.416-.36.466-.452l.121-.22.248-.034c.101-.015.305-.065.576-.17.462-.18.927-.452 1.362-.836.347-.307.66-.674.933-1.107.182-.29.322-.601.423-.934.271-.887.254-1.853.06-2.767a4.597 4.597 0 0 0-.138-.519l-.066-.189.082-.182c.05-.113.133-.334.217-.637.23-.829.303-1.691.136-2.503zM5 5.008c.004.181-.048.364-.264.616-.428.498-.985.488-1.431.049-.326-.321-.325-.732-.29-1.047.085-.76.748-.722 1.262-.44.486.27.717.616.723.823zm5 0c.006-.206.237-.553.724-.821.514-.283 1.176-.321 1.26.44.036.314.038.725-.288 1.046-.446.44-1.005.449-1.433-.05-.217-.25-.267-.434-.263-.614zM7.5 8c-.503 0-.976-.24-1.375-.672-.398-.432-.592-1.126 0-1.528.384-.259 1.082-.3 1.375-.3.294 0 .991.041 1.375.3.593.402.397 1.096 0 1.528C8.477 7.76 8.002 8 7.5 8zm0 1c.808 0 2.656.994 2.49 2.074-.153.993-2.114.925-2.49.925-.374 0-2.336.068-2.49-.925C4.845 9.994 6.693 9 7.5 9z"}))};visTimelion.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visualizeApp=function visualizeApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M32 32H4a4 4 0 0 1-4-4V0h2v28a2 2 0 0 0 2 2h28v2z"}),_react.default.createElement("path",{d:"M6 20h2v7H6zM16 12h2v15h-2zM26 17h2v10h-2z"}),_react.default.createElement("path",{d:"M27 6a3 3 0 0 0-2.08.84L20 4.36A2.2 2.2 0 0 0 20 4a3 3 0 0 0-6 0c.001.341.062.68.18 1l-5.6 4.46A3 3 0 0 0 7 9a3 3 0 1 0 3 3 2.93 2.93 0 0 0-.18-1l5.6-4.48A3 3 0 0 0 17 7a3 3 0 0 0 2.08-.84l5 2.48A2.2 2.2 0 0 0 24 9a3 3 0 1 0 3-3zM7 13a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm10-8a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm10 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"}))};visualizeApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var visVega=function visVega(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M2.414 8.036L4.89 10.51a.5.5 0 0 1-.707.708L1.354 8.389a.5.5 0 0 1 0-.707l2.828-2.828a.5.5 0 1 1 .707.707L2.414 8.036zm8.768 2.474l2.475-2.474-2.475-2.475a.5.5 0 0 1 .707-.707l2.829 2.828a.5.5 0 0 1 0 .707l-2.829 2.829a.5.5 0 1 1-.707-.708zM8.559 2.506a.5.5 0 0 1 .981.19L7.441 13.494a.5.5 0 0 1-.981-.19L8.559 2.506z"}))};visVega.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var visVisualBuilder=function visVisualBuilder(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M9.837 7c.11.93.165 1.886.165 2.869V13.5a.5.5 0 1 1-1 0V9.869A23.3 23.3 0 0 0 8.83 7H7.29c-.195 1.04-.292 1.985-.292 2.835V13.5a.5.5 0 1 1-1 0V9.835c0-.864.092-1.809.276-2.835H2.5a.5.5 0 0 1-.495-.57c.285-2.023 1.626-3.358 3.931-3.96 1.967-.514 4.22-.606 6.756-.278A1.5 1.5 0 0 1 14 3.679V5.5A1.5 1.5 0 0 1 12.5 7H9.837zm-.569-1H12.5a.5.5 0 0 0 .5-.5V3.68a.5.5 0 0 0-.436-.497c-2.416-.311-4.54-.225-6.375.254C4.494 3.88 3.491 4.724 3.117 6H9.268zM2 10v3.5a.5.5 0 1 1-1 0v-4a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v4a.5.5 0 1 1-1 0V10H2zm10 3.5a.5.5 0 1 1-1 0v-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v2a.5.5 0 1 1-1 0V12h-2v1.5zM1.016 16.026a.5.5 0 0 1 0-1H15a.5.5 0 1 1 0 1H1.016z"}))};visVisualBuilder.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var watchesApp=function watchesApp(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M9.74 7.73l-1.5-1.32a13 13 0 0 0 0 17.19l1.5-1.32a11 11 0 0 1 0-14.54v-.01z"}),_react.default.createElement("path",{d:"M6.51 3.66L5 2.34c-6.377 7.24-6.377 18.09 0 25.33l1.5-1.32C.792 19.867.792 10.153 6.5 3.67l.01-.01zm17.25 2.75l-1.5 1.32a11 11 0 0 1 0 14.54l1.5 1.32a13 13 0 0 0 0-17.19v.01z"}),_react.default.createElement("path",{d:"M27 2.34l-1.5 1.32c5.708 6.483 5.708 16.197 0 22.68l1.5 1.33c6.377-7.24 6.377-18.09 0-25.33z"}),_react.default.createElement("path",{className:"euiIcon__fillSecondary",d:"M21 15a5 5 0 1 0-6 4.9V31h2V19.9a5 5 0 0 0 4-4.9zm-5 3a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"}))};watchesApp.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};var wrench=function wrench(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M6.918 9.746l4.537 4.537a2 2 0 1 0 2.828-2.829l-3.157-3.156a.5.5 0 0 1 .708-.708l3.156 3.157a3 3 0 1 1-4.243 4.243l-4.949-4.95a5.001 5.001 0 0 1-5.22-7.106.5.5 0 0 1 .805-.138L3.676 5.09a1 1 0 1 0 1.415-1.414L2.797 1.382a.5.5 0 0 1 .138-.805 5.001 5.001 0 1 1 3.983 9.169zM1.226 4.054a4.002 4.002 0 0 0 6.693 3.865 4 4 0 0 0-3.865-6.693l1.744 1.743a2 2 0 1 1-2.829 2.828L1.226 4.054zm10.229 8.814a1 1 0 1 1 1.414-1.414 1 1 0 0 1-1.414 1.414z"}))};wrench.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenClass=function tokenClass(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M11.333 7.027H9.375c-.056-.708-.48-1.187-1.222-1.187-.972 0-1.5.806-1.5 2.16 0 1.43.545 2.16 1.486 2.16.708 0 1.139-.415 1.236-1.08l1.958.015C11.236 10.418 10.181 12 8.097 12c-1.958 0-3.43-1.41-3.43-4 0-2.6 1.514-4 3.43-4 1.792 0 3.084 1.095 3.236 3.027z"}))};tokenClass.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenProperty=function tokenProperty(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M4.889 12V4h3.304c1.797 0 2.922 1.117 2.918 2.77.004 1.652-1.144 2.746-2.976 2.746H6.822V12H4.89zm1.933-4.008h.953c.868 0 1.336-.472 1.332-1.222.004-.73-.464-1.211-1.332-1.211h-.953v2.433z"}))};tokenProperty.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenEnum=function tokenEnum(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M5.211 12V4h5.578v1.57H7.145v1.641h3.359v1.574H7.145v1.645h3.644V12z"}))};tokenEnum.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenVariable=function tokenVariable(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M6.649 4.667l1.326 4.7h.05l1.326-4.7h1.982l-2.134 6.666H6.801L4.667 4.667z"}))};tokenVariable.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenMethod=function tokenMethod(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M3.333 11.027V5.05h2.059v1.136h.063c.25-.747.891-1.214 1.728-1.214.848 0 1.524.483 1.65 1.214h.063c.204-.731.927-1.214 1.822-1.214 1.155 0 1.949.798 1.949 2.023v4.03h-2.169V7.542c0-.521-.29-.84-.738-.84s-.723.319-.723.84v3.486H6.963V7.54c0-.521-.29-.84-.739-.84-.447 0-.722.319-.722.84v3.486H3.333z"}))};tokenMethod.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenAnnotation=function tokenAnnotation(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M8.15 3.392c2.797 0 4.524 1.644 4.517 4.289.007 1.816-.708 2.893-2.21 3.004-.908.076-1.081-.287-1.157-.725h-.041c-.163.42-.964.732-1.744.683-1.053-.065-2.082-.842-2.09-2.572.008-1.72 1.071-2.441 1.959-2.586.804-.135 1.598.158 1.723.462h.051v-.386h1.195v3.452c.007.3.128.425.304.425.4 0 .677-.583.673-1.861.004-2.376-1.705-2.914-3.187-2.914-2.34 0-3.415 1.522-3.422 3.387.007 2.127 1.22 3.277 3.433 3.277.808 0 1.598-.176 2.006-.349l.393 1.122c-.435.27-1.419.508-2.493.508-2.98 0-4.723-1.66-4.727-4.496.004-2.804 1.748-4.72 4.817-4.72zM7.964 6.79c-.76 0-1.185.459-1.188 1.24.003.683.3 1.332 1.202 1.332.821 0 1.094-.473 1.077-1.343-.004-.718-.204-1.23-1.091-1.23z"}))};tokenAnnotation.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenException=function tokenException(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M7.461 7.31h3.055a.74.74 0 0 1 .66 1.074l-2.141 4.211a.74.74 0 1 1-1.319-.67L9.31 8.79H6.256a.74.74 0 0 1-.66-1.075l2.19-4.31a.74.74 0 0 1 1.319.67L7.461 7.31z"}))};tokenException.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenInterface=function tokenInterface(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M8.967 10.653h1.727V12H5.306v-1.347h1.727V5.347H5.306V4h5.388v1.347H8.967v5.306z"}))};tokenInterface.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenParameter=function tokenParameter(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M4.889 12V4h3.304c1.797 0 2.922 1.117 2.918 2.77.004 1.652-1.144 2.746-2.976 2.746H6.822V12H4.89zm1.933-4.008h.953c.868 0 1.336-.472 1.332-1.222.004-.73-.464-1.211-1.332-1.211h-.953v2.433z"}))};tokenParameter.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenField=function tokenField(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M5.27 12V4h5.46v1.57H7.203v1.641h3.18v1.574h-3.18V12z"}))};tokenField.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenElement=function tokenElement(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M7.39 9.736l-1.041.94L3.258 8l3.09-2.677 1.041.94-2.032 1.722v.03l2.032 1.721zm2.777.94l-1.04-.94 2.032-1.721v-.03L9.126 6.264l1.04-.94L13.259 8l-3.091 2.677z"}))};tokenElement.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenFunction=function tokenFunction(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M11.266 4.15V5.63a2.41 2.41 0 0 0-.859-.145c-.692 0-1.065.346-1.177 1.043l-.11.625h1.828v1.44H8.921l-.204 1.115C8.455 11.325 7.517 12 5.9 12c-.469 0-.882-.061-1.166-.167v-1.495c.273.117.591.178.903.178.659 0 1.01-.29 1.127-1.015l.157-.91H5.247V7.152h1.837l.188-.842C7.534 4.714 8.432 4 10.19 4c.39 0 .853.067 1.076.15z"}))};tokenFunction.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenBoolean=function tokenBoolean(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M4.936 11.064l6.128-6.128a4.333 4.333 0 1 0-6.128 6.128zM8 13A5 5 0 1 1 8 3a5 5 0 0 1 0 10z"}))};tokenBoolean.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenString=function tokenString(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M9.147 4.297l-.255 1.455h.936l-.222 1.266h-.935l-.455 2.688c-.025.184-.013.323.036.417.048.093.17.144.365.151.075.004.23-.005.465-.027l-.13 1.32c-.3.097-.618.142-.957.135-.552-.007-.965-.17-1.239-.487-.274-.317-.386-.748-.335-1.293l.476-2.904h-.725l.216-1.266h.725l.254-1.455h1.78z"}))};tokenString.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenArray=function tokenArray(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M4.392 12V4h2.713v1.14h-1.21v5.72h1.21V12H4.392zm7.692-8v8H9.37v-1.14h1.209V5.14H9.37V4h2.714z"}))};tokenArray.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenNumber=function tokenNumber(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M7.8 9.812h-.842l-.78 2.335H5.031l.78-2.335H4.6l.182-1.043h1.373l.507-1.504H5.454l.188-1.042h1.367l.792-2.37H8.94l-.792 2.37h.849l.792-2.37h1.145l-.792 2.37H11.4l-.182 1.042H9.8L9.293 8.77h1.248l-.183 1.043H8.946l-.775 2.335H7.026L7.8 9.812zm-.5-1.043h.842l.513-1.504h-.849L7.3 8.77z"}))};tokenNumber.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenConstant=function tokenConstant(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M9.414 3.757l2.829 2.829a2 2 0 0 1 0 2.828l-2.829 2.829a2 2 0 0 1-2.828 0L3.757 9.414a2 2 0 0 1 0-2.828l2.829-2.829a2 2 0 0 1 2.828 0zm-1.747 2.91a1 1 0 0 0-1 1v.666a1 1 0 0 0 1 1h.666a1 1 0 0 0 1-1v-.666a1 1 0 0 0-1-1h-.666z"}))};tokenConstant.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenObject=function tokenObject(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M6.63 12c-1.294 0-2.383-.105-2.383-1.802V9.6c0-.638-.247-.914-.98-.914v-1.37c.733 0 .98-.28.98-.915v-.6C4.247 4.105 5.336 4 6.631 4v1.14c-.759 0-.886.272-.886.843v.813c0 .479-.225.936-1.212 1.133v.142c.987.197 1.212.654 1.212 1.133v.813c0 .57.127.844.886.844V12zm2.266-8c1.295 0 2.384.105 2.384 1.802V6.4c0 .638.247.914.98.914v1.37c-.733 0-.98.28-.98.915v.6C11.28 11.895 10.19 12 8.896 12v-1.14c.759 0 .886-.272.886-.843v-.813c0-.479.225-.936 1.212-1.133V7.93c-.987-.197-1.212-.654-1.212-1.133v-.813c0-.57-.127-.844-.886-.844V4z"}))};tokenObject.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenEvent=function tokenEvent(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M11.225 5.656c0 .423-.106.79-.318 1.102-.211.311-.51.57-.898.775a5.435 5.435 0 0 1-1.392.485c-.54.117-1.14.193-1.798.229a6.047 6.047 0 0 0-.035.67c0 .258.02.51.062.757.04.247.114.464.22.652s.25.34.432.458.414.176.696.176c.211 0 .467-.044.766-.132.3-.088.62-.244.96-.467.106-.07.192-.129.256-.176a.365.365 0 0 1 .22-.07c.118 0 .197.061.238.185a.99.99 0 0 1 .062.255 7.1 7.1 0 0 1-.573.467 4.93 4.93 0 0 1-.775.467c-.288.141-.6.261-.934.361-.335.1-.678.15-1.03.15-.541 0-.982-.088-1.322-.264a2.072 2.072 0 0 1-.793-.688 2.626 2.626 0 0 1-.388-.933 4.949 4.949 0 0 1-.106-1.005c0-.634.103-1.257.309-1.868.205-.61.499-1.157.88-1.638.383-.482.838-.87 1.366-1.163A3.567 3.567 0 0 1 9.093 4c.599 0 1.104.126 1.515.379.411.252.617.678.617 1.277zm-2.467-.951c-.223 0-.435.08-.635.238-.2.158-.381.373-.546.643-.164.27-.305.578-.423.925a6.42 6.42 0 0 0-.264 1.101c.47-.047.863-.135 1.18-.264.318-.13.57-.285.758-.467.188-.182.323-.388.405-.617.083-.229.124-.467.124-.713 0-.27-.056-.479-.168-.626a.519.519 0 0 0-.431-.22z"}))};tokenEvent.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenKey=function tokenKey(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M12.667 6.542A3.208 3.208 0 0 1 8.86 9.694l-.438.492a.437.437 0 0 1-.327.147h-.678v.73a.437.437 0 0 1-.438.437H6.25v.73a.437.437 0 0 1-.438.437H3.772a.437.437 0 0 1-.438-.438v-1.423c0-.116.046-.227.128-.31l2.95-2.949a3.208 3.208 0 0 1 3.047-4.214 3.202 3.202 0 0 1 3.209 3.209zm-3.209-.875a.875.875 0 1 0 1.75 0 .875.875 0 0 0-1.75 0z"}))};tokenKey.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenNull=function tokenNull(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M5.002 12.412l-.962.962a1 1 0 0 1-1.414-1.414l.962-.962a5.333 5.333 0 0 1 7.41-7.41l.962-.962a1 1 0 1 1 1.414 1.414l-.962.962a5.333 5.333 0 0 1-7.41 7.41zm.966-.966a4 4 0 0 0 5.478-5.478l-5.478 5.478zm-1.414-1.414l5.478-5.478a4 4 0 0 0-5.478 5.478z"}))};tokenNull.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenStruct=function tokenStruct(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M4.336 4.667h2.667v2.666H4.336V4.667zm0 4h2.667v2.666H4.336V8.667zm4-4h2.667v2.666H8.336V4.667zm0 4h2.667v2.666H8.336V8.667zM3.003 3.333v9.334h9.333V3.333H3.003zm0-1.333h9.333c.737 0 1.334.597 1.334 1.333v9.334c0 .736-.597 1.333-1.334 1.333H3.003a1.333 1.333 0 0 1-1.333-1.333V3.333C1.67 2.597 2.267 2 3.003 2z"}))};tokenStruct.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenPackage=function tokenPackage(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M8.049 3.785l3.852 1.006-4.049 1.103L4 4.791l3.951-1.006a.19.19 0 0 1 .098 0zm.073 2.654l4.545-1.306v5.45l-.131.184-4.414 1.455V6.439zm-4.789 4.145V5.188L7.498 6.41v5.81l-4.034-1.453-.13-.183z"}))};tokenPackage.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenOperator=function tokenOperator(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M2.667 8.002c0-1.5.394-2.743 1.248-3.822h1.437c-.652.8-1.14 2.388-1.14 3.822 0 1.43.488 3.018 1.14 3.818H3.915c-.854-1.08-1.248-2.322-1.248-3.818zM6.77 9.998l-.818-.803 1.23-1.197-1.23-1.203.83-.793 1.221 1.193L9.23 6.002l.818.793-1.227 1.2 1.227 1.2-.818.803L8 8.795 6.77 9.998zm6.563-2c0 1.5-.394 2.743-1.248 3.822h-1.437c.652-.8 1.14-2.388 1.14-3.822 0-1.43-.488-3.018-1.14-3.818h1.437c.854 1.08 1.248 2.322 1.248 3.818z"}))};tokenOperator.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenEnumMember=function tokenEnumMember(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M7.682 12V9.247l1.023-.861a.5.5 0 0 0-.003-.768l-1.02-.844V4h5.578v1.57H9.615v1.64h3.36v1.575h-3.36v1.645h3.645V12H7.682zm.743-4.103a.138.138 0 0 1 0 .206L6.158 9.97a.133.133 0 0 1-.218-.103v-.934H2.873A.133.133 0 0 1 2.74 8.8V7.2c0-.074.06-.133.133-.133H5.94v-.934a.133.133 0 0 1 .218-.103l2.267 1.867z"}))};tokenEnumMember.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenRepo=function tokenRepo(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{fillRule:"evenodd",d:"M8.533 9.067c-1.792 0-2.378.72-2.57 1.194a1.601 1.601 0 1 1-1.163-.037V5.776a1.595 1.595 0 0 1-1.067-1.51c0-.885.715-1.6 1.6-1.6.886 0 1.6.715 1.6 1.6 0 .7-.442 1.291-1.066 1.51v2.821C6.336 8.251 7.019 8 8 8c1.424 0 1.899-.715 2.053-1.19a1.603 1.603 0 0 1-.986-1.477c0-.885.714-1.6 1.6-1.6.885 0 1.6.715 1.6 1.6a1.59 1.59 0 0 1-1.115 1.526c-.139.762-.656 2.208-2.619 2.208zm-3.2 2.133a.535.535 0 0 0-.533.533c0 .294.24.534.533.534a.535.535 0 0 0 0-1.067zm0-7.467a.535.535 0 0 0-.533.534c0 .293.24.533.533.533.294 0 .534-.24.534-.533a.535.535 0 0 0-.534-.534zM10.667 4.8a.535.535 0 0 0-.534.533.535.535 0 0 0 1.067 0 .535.535 0 0 0-.533-.533z"}))};tokenRepo.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenSymbol=function tokenSymbol(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M8.316 14a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-1.333a4.667 4.667 0 1 0 0-9.334 4.667 4.667 0 0 0 0 9.334zm2.19-5.72h1.143c.019 1.448-.793 2.338-1.922 2.338-.632 0-1.194-.267-1.706-.811-.36-.397-.636-.576-1-.576-.517 0-.849.355-.885 1.083H4.983c.014-1.47.858-2.314 1.95-2.314.595 0 1.125.249 1.678.802.392.382.641.595 1.038.595.484 0 .857-.323.857-1.116z"}))};tokenSymbol.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var tokenFile=function tokenFile(props){return _react.default.createElement("svg",props,_react.default.createElement("path",{d:"M9.867 2.667H4a.667.667 0 0 0-.667.666v9.334c0 .368.299.666.667.666h8a.667.667 0 0 0 .667-.666V5.619a.669.669 0 0 0-.183-.459l-2.133-2.285a.668.668 0 0 0-.484-.208m1.466 4V12H4.667V4h4v2.333c0 .184.149.334.333.334h2.333z"}))};tokenFile.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"};var typeToIconMap={addDataApp:addDataApp,advancedSettingsApp:advancedSettingsApp,alert:alert,apmApp:apmApp,apmTrace:apmTrace,apps:apps,arrowDown:arrowDown,arrowLeft:arrowLeft,arrowRight:arrowRight,arrowUp:arrowUp,asterisk:asterisk,auditbeatApp:auditbeatApp,beaker:beaker,bell:bell,bolt:bolt,boxesHorizontal:boxesHorizontal,boxesVertical:boxesVertical,branch:branch,broom:broom,brush:brush,bullseye:bullseye,calendar:calendar,canvasApp:canvasApp,codeApp:codeApp,check:check,checkInCircleFilled:checkInCircleFilled,clock:clock,compute:compute,console:console,consoleApp:consoleApp,controlsHorizontal:controlsHorizontal,controlsVertical:controlsVertical,copy:copy,copyClipboard:copyClipboard,createAdvancedJob:createAdvancedJob,createMultiMetricJob:createMultiMetricJob,createPopulationJob:createPopulationJob,createSingleMetricJob:createSingleMetricJob,cross:cross,crossClusterReplicationApp:crossClusterReplicationApp,crosshairs:crosshairs,crossInACircleFilled:crossInACircleFilled,dashboardApp:dashboardApp,database:database,dataVisualizer:dataVisualizer,devToolsApp:devToolsApp,discoverApp:discoverApp,document:document,dot:dot,editorAlignCenter:editorAlignCenter,editorAlignLeft:editorAlignLeft,editorAlignRight:editorAlignRight,editorBold:editorBold,editorCodeBlock:editorCodeBlock,editorComment:editorComment,editorHeading:editorHeading,editorItalic:editorItalic,editorLink:editorLink,editorOrderedList:editorOrderedList,editorRedo:editorRedo,editorStrike:editorStrike,editorTable:editorTable,editorUnderline:editorUnderline,editorUndo:editorUndo,editorUnorderedList:editorUnorderedList,email:email,empty:empty,emsApp:emsApp,exit:exit,expand:expand,exportAction:exportAction,eye:eye,eyeClosed:eyeClosed,faceHappy:faceHappy,faceNeutral:faceNeutral,faceSad:faceSad,filebeatApp:filebeatApp,filter:filter,folderClosed:folderClosed,folderOpen:folderOpen,fullScreen:fullScreen,gear:gear,gisApp:gisApp,globe:globe,grab:grab,grabHorizontal:grabHorizontal,graphApp:graphApp,grid:grid,grokApp:grokApp,heartbeatApp:heartbeatApp,heatmap:heatmap,help:help,iInCircle:iInCircle,importAction:importAction,indexClose:indexClose,indexEdit:indexEdit,indexFlush:indexFlush,indexManagementApp:indexManagementApp,indexMapping:indexMapping,indexOpen:indexOpen,indexPatternApp:indexPatternApp,indexRollupApp:indexRollupApp,indexSettings:indexSettings,infraApp:infraApp,inputOutput:inputOutput,inspect:inspect,invert:invert,kqlField:kqlField,kqlFunction:kqlFunction,kqlOperand:kqlOperand,kqlSelector:kqlSelector,kqlValue:kqlValue,link:link,list:list,listAdd:listAdd,lock:lock,lockOpen:lockOpen,loggingApp:loggingApp,logoAerospike:logoAerospike,logoApache:logoApache,logoAPM:logoAPM,logoAppSearch:logoAppSearch,logoAWS:logoAWS,logoAWSMono:logoAWSMono,logoBeats:logoBeats,logoBusinessAnalytics:logoBusinessAnalytics,logoCeph:logoCeph,logoCloud:logoCloud,logoCloudEnterprise:logoCloudEnterprise,logoCodesandbox:logoCodesandbox,logoCouchbase:logoCouchbase,logoDocker:logoDocker,logoDropwizard:logoDropwizard,logoElastic:logoElastic,logoElasticsearch:logoElasticsearch,logoElasticStack:logoElasticStack,logoEnterpriseSearch:logoEnterpriseSearch,logoEtcd:logoEtcd,logoGCP:logoGCP,logoGCPMono:logoGCPMono,logoGithub:logoGithub,logoGmail:logoGmail,logoGolang:logoGolang,logoHAproxy:logoHAproxy,logoIBM:logoIBM,logoIBMMono:logoIBMMono,logoKafka:logoKafka,logoKibana:logoKibana,logoKubernetes:logoKubernetes,logoLogstash:logoLogstash,logoMemcached:logoMemcached,logoMetrics:logoMetrics,logoMongodb:logoMongodb,logoMySQL:logoMySQL,logoNginx:logoNginx,logoOsquery:logoOsquery,logoPhp:logoPhp,logoPostgres:logoPostgres,logoPrometheus:logoPrometheus,logoRabbitmq:logoRabbitmq,logoRedis:logoRedis,logoSiteSearch:logoSiteSearch,logoSketch:logoSketch,logoSlack:logoSlack,logoWebhook:logoWebhook,logoWindows:logoWindows,logoXpack:logoXpack,logstashFilter:logstashFilter,logstashIf:logstashIf,logstashInput:logstashInput,logstashOutput:logstashOutput,logstashQueue:logstashQueue,machineLearningApp:machineLearningApp,managementApp:managementApp,mapMarker:mapMarker,memory:memory,merge:merge,metricbeatApp:metricbeatApp,minusInCircle:minusInCircle,minusInCircleFilled:minusInCircleFilled,monitoringApp:monitoringApp,node:node,notebookApp:notebookApp,number:number,offline:offline,online:online,packetbeatApp:packetbeatApp,pause:pause,pencil:pencil,pin:pin,pipelineApp:pipelineApp,play:play,plusInCircle:plusInCircle,plusInCircleFilled:plusInCircleFilled,popout:popout,questionInCircle:questionInCircle,refresh:refresh,reportingApp:reportingApp,save:save,savedObjectsApp:savedObjectsApp,scale:scale,search:search,searchProfilerApp:searchProfilerApp,securityAnalyticsApp:securityAnalyticsApp,securityApp:securityApp,shard:shard,share:share,snowflake:snowflake,sortable:sortable,sortDown:sortDown,sortLeft:sortLeft,sortRight:sortRight,sortUp:sortUp,spacesApp:spacesApp,sqlApp:sqlApp,starEmpty:starEmpty,starEmptySpace:starEmptySpace,starFilled:starFilled,starFilledSpace:starFilledSpace,starMinusEmpty:starMinusEmpty,starMinusFilled:starMinusFilled,starPlusEmpty:starPlusEmpty,starPlusFilled:starPlusFilled,stats:stats,stop:stop,stopFilled:stopFilled,storage:storage,string:string,submodule:submodule,symlink:symlink,tableOfContents:tableOfContents,tag:tag,tear:tear,temperature:temperature,timelionApp:timelionApp,tokenAnnotation:tokenAnnotation,tokenArray:tokenArray,tokenBoolean:tokenBoolean,tokenClass:tokenClass,tokenConstant:tokenConstant,tokenElement:tokenElement,tokenEnum:tokenEnum,tokenEnumMember:tokenEnumMember,tokenEvent:tokenEvent,tokenException:tokenException,tokenField:tokenField,tokenFile:tokenFile,tokenFunction:tokenFunction,tokenInterface:tokenInterface,tokenKey:tokenKey,tokenMethod:tokenMethod,tokenNull:tokenNull,tokenNumber:tokenNumber,tokenObject:tokenObject,tokenOperator:tokenOperator,tokenPackage:tokenPackage,tokenParameter:tokenParameter,tokenProperty:tokenProperty,tokenRepo:tokenRepo,tokenString:tokenString,tokenStruct:tokenStruct,tokenSymbol:tokenSymbol,tokenVariable:tokenVariable,trash:trash,upgradeAssistantApp:upgradeAssistantApp,pinFilled:pinFilled,uptimeApp:uptimeApp,user:user,usersRolesApp:usersRolesApp,vector:vector,visArea:visArea,visBarHorizontal:visBarHorizontal,visBarVertical:visBarVertical,visControls:visControls,visGauge:visGauge,visGoal:visGoal,visHeatmap:visHeatmap,visLine:visLine,visMapCoordinate:visMapCoordinate,visMapRegion:visMapRegion,visMetric:visMetric,visPie:visPie,visTable:visTable,visTagCloud:visTagCloud,visText:visText,visTimelion:visTimelion,visualizeApp:visualizeApp,visVega:visVega,visVisualBuilder:visVisualBuilder,watchesApp:watchesApp,wrench:wrench};var TYPES=(0,_common.keysOf)(typeToIconMap);exports.TYPES=TYPES;var colorToClassMap={default:null,primary:"euiIcon--primary",secondary:"euiIcon--secondary",success:"euiIcon--success",accent:"euiIcon--accent",warning:"euiIcon--warning",danger:"euiIcon--danger",text:"euiIcon--text",subdued:"euiIcon--subdued",ghost:"euiIcon--ghost"};var COLORS=(0,_common.keysOf)(colorToClassMap);exports.COLORS=COLORS;var sizeToClassNameMap={original:null,s:"euiIcon--small",m:"euiIcon--medium",l:"euiIcon--large",xl:"euiIcon--xLarge",xxl:"euiIcon--xxLarge"};var SIZES=(0,_common.keysOf)(sizeToClassNameMap);exports.SIZES=SIZES;var EuiIcon=function EuiIcon(_ref){var type=_ref.type,_ref$size=_ref.size,size=void 0===_ref$size?"m":_ref$size,color=_ref.color,className=_ref.className,tabIndex=_ref.tabIndex,rest=_objectWithoutProperties(_ref,["type","size","color","className","tabIndex"]);var optionalColorClass=null;var optionalCustomStyles=null;color&&(COLORS.indexOf(color)>-1?optionalColorClass=colorToClassMap[color]:optionalCustomStyles={fill:color});var isAppIcon=type&&(/.+App$/.test(type)||/.+Job$/.test(type)||"dataVisualizer"===type);var classes=(0,_classnames.default)("euiIcon",sizeToClassNameMap[size],optionalColorClass,{"euiIcon--app":isAppIcon},className);var Svg=type&&typeToIconMap[type]||empty;var focusable=null==tabIndex||-1===tabIndex?"false":"true";return _react.default.createElement(Svg,_extends({className:classes,style:optionalCustomStyles,tabIndex:tabIndex,focusable:focusable},rest))};exports.EuiIcon=EuiIcon;EuiIcon.propTypes={className:_propTypes.default.string,"aria-label":_propTypes.default.string,"data-test-subj":_propTypes.default.string,type:_propTypes.default.oneOf(["addDataApp","advancedSettingsApp","alert","apmApp","apmTrace","apps","arrowDown","arrowLeft","arrowRight","arrowUp","asterisk","auditbeatApp","beaker","bell","bolt","boxesHorizontal","boxesVertical","branch","broom","brush","bullseye","calendar","canvasApp","codeApp","check","checkInCircleFilled","clock","compute","console","consoleApp","controlsHorizontal","controlsVertical","copy","copyClipboard","createAdvancedJob","createMultiMetricJob","createPopulationJob","createSingleMetricJob","cross","crossClusterReplicationApp","crosshairs","crossInACircleFilled","dashboardApp","database","dataVisualizer","devToolsApp","discoverApp","document","dot","editorAlignCenter","editorAlignLeft","editorAlignRight","editorBold","editorCodeBlock","editorComment","editorHeading","editorItalic","editorLink","editorOrderedList","editorRedo","editorStrike","editorTable","editorUnderline","editorUndo","editorUnorderedList","email","empty","emsApp","exit","expand","exportAction","eye","eyeClosed","faceHappy","faceNeutral","faceSad","filebeatApp","filter","folderClosed","folderOpen","fullScreen","gear","gisApp","globe","grab","grabHorizontal","graphApp","grid","grokApp","heartbeatApp","heatmap","help","iInCircle","importAction","indexClose","indexEdit","indexFlush","indexManagementApp","indexMapping","indexOpen","indexPatternApp","indexRollupApp","indexSettings","infraApp","inputOutput","inspect","invert","kqlField","kqlFunction","kqlOperand","kqlSelector","kqlValue","link","list","listAdd","lock","lockOpen","loggingApp","logoAerospike","logoApache","logoAPM","logoAppSearch","logoAWS","logoAWSMono","logoBeats","logoBusinessAnalytics","logoCeph","logoCloud","logoCloudEnterprise","logoCodesandbox","logoCouchbase","logoDocker","logoDropwizard","logoElastic","logoElasticsearch","logoElasticStack","logoEnterpriseSearch","logoEtcd","logoGCP","logoGCPMono","logoGithub","logoGmail","logoGolang","logoHAproxy","logoIBM","logoIBMMono","logoKafka","logoKibana","logoKubernetes","logoLogstash","logoMemcached","logoMetrics","logoMongodb","logoMySQL","logoNginx","logoOsquery","logoPhp","logoPostgres","logoPrometheus","logoRabbitmq","logoRedis","logoSiteSearch","logoSketch","logoSlack","logoWebhook","logoWindows","logoXpack","logstashFilter","logstashIf","logstashInput","logstashOutput","logstashQueue","machineLearningApp","managementApp","mapMarker","memory","merge","metricbeatApp","minusInCircle","minusInCircleFilled","monitoringApp","node","notebookApp","number","offline","online","packetbeatApp","pause","pencil","pin","pipelineApp","play","plusInCircle","plusInCircleFilled","popout","questionInCircle","refresh","reportingApp","save","savedObjectsApp","scale","search","searchProfilerApp","securityAnalyticsApp","securityApp","shard","share","snowflake","sortable","sortDown","sortLeft","sortRight","sortUp","spacesApp","sqlApp","starEmpty","starEmptySpace","starFilled","starFilledSpace","starMinusEmpty","starMinusFilled","starPlusEmpty","starPlusFilled","stats","stop","stopFilled","storage","string","submodule","symlink","tableOfContents","tag","tear","temperature","timelionApp","tokenAnnotation","tokenArray","tokenBoolean","tokenClass","tokenConstant","tokenElement","tokenEnum","tokenEnumMember","tokenEvent","tokenException","tokenField","tokenFile","tokenFunction","tokenInterface","tokenKey","tokenMethod","tokenNull","tokenNumber","tokenObject","tokenOperator","tokenPackage","tokenParameter","tokenProperty","tokenRepo","tokenString","tokenStruct","tokenSymbol","tokenVariable","trash","upgradeAssistantApp","pinFilled","uptimeApp","user","usersRolesApp","vector","visArea","visBarHorizontal","visBarVertical","visControls","visGauge","visGoal","visHeatmap","visLine","visMapCoordinate","visMapRegion","visMetric","visPie","visTable","visTagCloud","visText","visTimelion","visualizeApp","visVega","visVisualBuilder","watchesApp","wrench"]),color:_propTypes.default.oneOfType([_propTypes.default.string.isRequired,_propTypes.default.oneOf(["default","primary","secondary","success","accent","warning","danger","text","subdued","ghost"]).isRequired]),size:_propTypes.default.oneOf(["original","s","m","l","xl","xxl"])};EuiIcon.defaultProps={size:"m"};EuiIcon.__docgenInfo={description:"",methods:[],displayName:"EuiIcon",props:{size:{defaultValue:{value:"'m'",computed:false},type:{name:"enum",value:[{value:'"original"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false},{value:'"xl"',computed:false},{value:'"xxl"',computed:false}]},required:false,description:""},className:{type:{name:"string"},required:false,description:""},"aria-label":{type:{name:"string"},required:false,description:""},"data-test-subj":{type:{name:"string"},required:false,description:""},type:{type:{name:"enum",value:[{value:'"addDataApp"',computed:false},{value:'"advancedSettingsApp"',computed:false},{value:'"alert"',computed:false},{value:'"apmApp"',computed:false},{value:'"apmTrace"',computed:false},{value:'"apps"',computed:false},{value:'"arrowDown"',computed:false},{value:'"arrowLeft"',computed:false},{value:'"arrowRight"',computed:false},{value:'"arrowUp"',computed:false},{value:'"asterisk"',computed:false},{value:'"auditbeatApp"',computed:false},{value:'"beaker"',computed:false},{value:'"bell"',computed:false},{value:'"bolt"',computed:false},{value:'"boxesHorizontal"',computed:false},{value:'"boxesVertical"',computed:false},{value:'"branch"',computed:false},{value:'"broom"',computed:false},{value:'"brush"',computed:false},{value:'"bullseye"',computed:false},{value:'"calendar"',computed:false},{value:'"canvasApp"',computed:false},{value:'"codeApp"',computed:false},{value:'"check"',computed:false},{value:'"checkInCircleFilled"',computed:false},{value:'"clock"',computed:false},{value:'"compute"',computed:false},{value:'"console"',computed:false},{value:'"consoleApp"',computed:false},{value:'"controlsHorizontal"',computed:false},{value:'"controlsVertical"',computed:false},{value:'"copy"',computed:false},{value:'"copyClipboard"',computed:false},{value:'"createAdvancedJob"',computed:false},{value:'"createMultiMetricJob"',computed:false},{value:'"createPopulationJob"',computed:false},{value:'"createSingleMetricJob"',computed:false},{value:'"cross"',computed:false},{value:'"crossClusterReplicationApp"',computed:false},{value:'"crosshairs"',computed:false},{value:'"crossInACircleFilled"',computed:false},{value:'"dashboardApp"',computed:false},{value:'"database"',computed:false},{value:'"dataVisualizer"',computed:false},{value:'"devToolsApp"',computed:false},{value:'"discoverApp"',computed:false},{value:'"document"',computed:false},{value:'"dot"',computed:false},{value:'"editorAlignCenter"',computed:false},{value:'"editorAlignLeft"',computed:false},{value:'"editorAlignRight"',computed:false},{value:'"editorBold"',computed:false},{value:'"editorCodeBlock"',computed:false},{value:'"editorComment"',computed:false},{value:'"editorHeading"',computed:false},{value:'"editorItalic"',computed:false},{value:'"editorLink"',computed:false},{value:'"editorOrderedList"',computed:false},{value:'"editorRedo"',computed:false},{value:'"editorStrike"',computed:false},{value:'"editorTable"',computed:false},{value:'"editorUnderline"',computed:false},{value:'"editorUndo"',computed:false},{value:'"editorUnorderedList"',computed:false},{value:'"email"',computed:false},{value:'"empty"',computed:false},{value:'"emsApp"',computed:false},{value:'"exit"',computed:false},{value:'"expand"',computed:false},{value:'"exportAction"',computed:false},{value:'"eye"',computed:false},{value:'"eyeClosed"',computed:false},{value:'"faceHappy"',computed:false},{value:'"faceNeutral"',computed:false},{value:'"faceSad"',computed:false},{value:'"filebeatApp"',computed:false},{value:'"filter"',computed:false},{value:'"folderClosed"',computed:false},{value:'"folderOpen"',computed:false},{value:'"fullScreen"',computed:false},{value:'"gear"',computed:false},{value:'"gisApp"',computed:false},{value:'"globe"',computed:false},{value:'"grab"',computed:false},{value:'"grabHorizontal"',computed:false},{value:'"graphApp"',computed:false},{value:'"grid"',computed:false},{value:'"grokApp"',computed:false},{value:'"heartbeatApp"',computed:false},{value:'"heatmap"',computed:false},{value:'"help"',computed:false},{value:'"iInCircle"',computed:false},{value:'"importAction"',computed:false},{value:'"indexClose"',computed:false},{value:'"indexEdit"',computed:false},{value:'"indexFlush"',computed:false},{value:'"indexManagementApp"',computed:false},{value:'"indexMapping"',computed:false},{value:'"indexOpen"',computed:false},{value:'"indexPatternApp"',computed:false},{value:'"indexRollupApp"',computed:false},{value:'"indexSettings"',computed:false},{value:'"infraApp"',computed:false},{value:'"inputOutput"',computed:false},{value:'"inspect"',computed:false},{value:'"invert"',computed:false},{value:'"kqlField"',computed:false},{value:'"kqlFunction"',computed:false},{value:'"kqlOperand"',computed:false},{value:'"kqlSelector"',computed:false},{value:'"kqlValue"',computed:false},{value:'"link"',computed:false},{value:'"list"',computed:false},{value:'"listAdd"',computed:false},{value:'"lock"',computed:false},{value:'"lockOpen"',computed:false},{value:'"loggingApp"',computed:false},{value:'"logoAerospike"',computed:false},{value:'"logoApache"',computed:false},{value:'"logoAPM"',computed:false},{value:'"logoAppSearch"',computed:false},{value:'"logoAWS"',computed:false},{value:'"logoAWSMono"',computed:false},{value:'"logoBeats"',computed:false},{value:'"logoBusinessAnalytics"',computed:false},{value:'"logoCeph"',computed:false},{value:'"logoCloud"',computed:false},{value:'"logoCloudEnterprise"',computed:false},{value:'"logoCodesandbox"',computed:false},{value:'"logoCouchbase"',computed:false},{value:'"logoDocker"',computed:false},{value:'"logoDropwizard"',computed:false},{value:'"logoElastic"',computed:false},{value:'"logoElasticsearch"',computed:false},{value:'"logoElasticStack"',computed:false},{value:'"logoEnterpriseSearch"',computed:false},{value:'"logoEtcd"',computed:false},{value:'"logoGCP"',computed:false},{value:'"logoGCPMono"',computed:false},{value:'"logoGithub"',computed:false},{value:'"logoGmail"',computed:false},{value:'"logoGolang"',computed:false},{value:'"logoHAproxy"',computed:false},{value:'"logoIBM"',computed:false},{value:'"logoIBMMono"',computed:false},{value:'"logoKafka"',computed:false},{value:'"logoKibana"',computed:false},{value:'"logoKubernetes"',computed:false},{value:'"logoLogstash"',computed:false},{value:'"logoMemcached"',computed:false},{value:'"logoMetrics"',computed:false},{value:'"logoMongodb"',computed:false},{value:'"logoMySQL"',computed:false},{value:'"logoNginx"',computed:false},{value:'"logoOsquery"',computed:false},{value:'"logoPhp"',computed:false},{value:'"logoPostgres"',computed:false},{value:'"logoPrometheus"',computed:false},{value:'"logoRabbitmq"',computed:false},{value:'"logoRedis"',computed:false},{value:'"logoSiteSearch"',computed:false},{value:'"logoSketch"',computed:false},{value:'"logoSlack"',computed:false},{value:'"logoWebhook"',computed:false},{value:'"logoWindows"',computed:false},{value:'"logoXpack"',computed:false},{value:'"logstashFilter"',computed:false},{value:'"logstashIf"',computed:false},{value:'"logstashInput"',computed:false},{value:'"logstashOutput"',computed:false},{value:'"logstashQueue"',computed:false},{value:'"machineLearningApp"',computed:false},{value:'"managementApp"',computed:false},{value:'"mapMarker"',computed:false},{value:'"memory"',computed:false},{value:'"merge"',computed:false},{value:'"metricbeatApp"',computed:false},{value:'"minusInCircle"',computed:false},{value:'"minusInCircleFilled"',computed:false},{value:'"monitoringApp"',computed:false},{value:'"node"',computed:false},{value:'"notebookApp"',computed:false},{value:'"number"',computed:false},{value:'"offline"',computed:false},{value:'"online"',computed:false},{value:'"packetbeatApp"',computed:false},{value:'"pause"',computed:false},{value:'"pencil"',computed:false},{value:'"pin"',computed:false},{value:'"pipelineApp"',computed:false},{value:'"play"',computed:false},{value:'"plusInCircle"',computed:false},{value:'"plusInCircleFilled"',computed:false},{value:'"popout"',computed:false},{value:'"questionInCircle"',computed:false},{value:'"refresh"',computed:false},{value:'"reportingApp"',computed:false},{value:'"save"',computed:false},{value:'"savedObjectsApp"',computed:false},{value:'"scale"',computed:false},{value:'"search"',computed:false},{value:'"searchProfilerApp"',computed:false},{value:'"securityAnalyticsApp"',computed:false},{value:'"securityApp"',computed:false},{value:'"shard"',computed:false},{value:'"share"',computed:false},{value:'"snowflake"',computed:false},{value:'"sortable"',computed:false},{value:'"sortDown"',computed:false},{value:'"sortLeft"',computed:false},{value:'"sortRight"',computed:false},{value:'"sortUp"',computed:false},{value:'"spacesApp"',computed:false},{value:'"sqlApp"',computed:false},{value:'"starEmpty"',computed:false},{value:'"starEmptySpace"',computed:false},{value:'"starFilled"',computed:false},{value:'"starFilledSpace"',computed:false},{value:'"starMinusEmpty"',computed:false},{value:'"starMinusFilled"',computed:false},{value:'"starPlusEmpty"',computed:false},{value:'"starPlusFilled"',computed:false},{value:'"stats"',computed:false},{value:'"stop"',computed:false},{value:'"stopFilled"',computed:false},{value:'"storage"',computed:false},{value:'"string"',computed:false},{value:'"submodule"',computed:false},{value:'"symlink"',computed:false},{value:'"tableOfContents"',computed:false},{value:'"tag"',computed:false},{value:'"tear"',computed:false},{value:'"temperature"',computed:false},{value:'"timelionApp"',computed:false},{value:'"tokenAnnotation"',computed:false},{value:'"tokenArray"',computed:false},{value:'"tokenBoolean"',computed:false},{value:'"tokenClass"',computed:false},{value:'"tokenConstant"',computed:false},{value:'"tokenElement"',computed:false},{value:'"tokenEnum"',computed:false},{value:'"tokenEnumMember"',computed:false},{value:'"tokenEvent"',computed:false},{value:'"tokenException"',computed:false},{value:'"tokenField"',computed:false},{value:'"tokenFile"',computed:false},{value:'"tokenFunction"',computed:false},{value:'"tokenInterface"',computed:false},{value:'"tokenKey"',computed:false},{value:'"tokenMethod"',computed:false},{value:'"tokenNull"',computed:false},{value:'"tokenNumber"',computed:false},{value:'"tokenObject"',computed:false},{value:'"tokenOperator"',computed:false},{value:'"tokenPackage"',computed:false},{value:'"tokenParameter"',computed:false},{value:'"tokenProperty"',computed:false},{value:'"tokenRepo"',computed:false},{value:'"tokenString"',computed:false},{value:'"tokenStruct"',computed:false},{value:'"tokenSymbol"',computed:false},{value:'"tokenVariable"',computed:false},{value:'"trash"',computed:false},{value:'"upgradeAssistantApp"',computed:false},{value:'"pinFilled"',computed:false},{value:'"uptimeApp"',computed:false},{value:'"user"',computed:false},{value:'"usersRolesApp"',computed:false},{value:'"vector"',computed:false},{value:'"visArea"',computed:false},{value:'"visBarHorizontal"',computed:false},{value:'"visBarVertical"',computed:false},{value:'"visControls"',computed:false},{value:'"visGauge"',computed:false},{value:'"visGoal"',computed:false},{value:'"visHeatmap"',computed:false},{value:'"visLine"',computed:false},{value:'"visMapCoordinate"',computed:false},{value:'"visMapRegion"',computed:false},{value:'"visMetric"',computed:false},{value:'"visPie"',computed:false},{value:'"visTable"',computed:false},{value:'"visTagCloud"',computed:false},{value:'"visText"',computed:false},{value:'"visTimelion"',computed:false},{value:'"visualizeApp"',computed:false},{value:'"visVega"',computed:false},{value:'"visVisualBuilder"',computed:false},{value:'"watchesApp"',computed:false},{value:'"wrench"',computed:false}]},required:false,description:""},color:{type:{name:"union",value:[{name:"string"},{name:"enum",value:[{value:'"default"',computed:false},{value:'"primary"',computed:false},{value:'"secondary"',computed:false},{value:'"success"',computed:false},{value:'"accent"',computed:false},{value:'"warning"',computed:false},{value:'"danger"',computed:false},{value:'"text"',computed:false},{value:'"subdued"',computed:false},{value:'"ghost"',computed:false}]}]},required:false,description:"One of EUI's color palette or a valid CSS color value https://developer.mozilla.org/en-US/docs/Web/CSS/color_value"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiMutationObserver",{enumerable:true,get:function get(){return _mutation_observer.EuiMutationObserver}});var _mutation_observer=__webpack_require__(1037)},function(module,exports,__webpack_require__){"use strict";var hide=__webpack_require__(125);var redefine=__webpack_require__(110);var fails=__webpack_require__(64);var defined=__webpack_require__(148);var wks=__webpack_require__(40);module.exports=function(KEY,length,exec){var SYMBOL=wks(KEY);var fns=exec(defined,SYMBOL,""[KEY]);var strfn=fns[0];var rxfn=fns[1];if(fails(function(){var O={};O[SYMBOL]=function(){return 7};return 7!=""[KEY](O)})){redefine(String.prototype,KEY,strfn);hide(RegExp.prototype,SYMBOL,2==length?function(string,arg){return rxfn.call(string,this,arg)}:function(string){return rxfn.call(string,this)})}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiBetaBadge",{enumerable:true,get:function get(){return _beta_badge.EuiBetaBadge}});var _beta_badge=__webpack_require__(1085)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiLink",{enumerable:true,get:function get(){return _link.EuiLink}});var _link=__webpack_require__(1099)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTitle=exports.TEXT_TRANSFORM=exports.TITLE_SIZES=void 0;__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=__webpack_require__(0);var _classnames=_interopRequireDefault(__webpack_require__(6));var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var titleSizeToClassNameMap={xxxs:"euiTitle--xxxsmall",xxs:"euiTitle--xxsmall",xs:"euiTitle--xsmall",s:"euiTitle--small",m:"euiTitle--medium",l:"euiTitle--large"};var TITLE_SIZES=Object.keys(titleSizeToClassNameMap);exports.TITLE_SIZES=TITLE_SIZES;var textTransformToClassNameMap={none:"",uppercase:"euiTitle--uppercase"};var TEXT_TRANSFORM=Object.keys(textTransformToClassNameMap);exports.TEXT_TRANSFORM=TEXT_TRANSFORM;var EuiTitle=function EuiTitle(_ref){var size=_ref.size,children=_ref.children,className=_ref.className,textTransform=_ref.textTransform,rest=_objectWithoutProperties(_ref,["size","children","className","textTransform"]);var classes=(0,_classnames.default)("euiTitle",titleSizeToClassNameMap[size],textTransformToClassNameMap[textTransform],className);var props=_objectSpread({className:classes},rest);return(0,_react.cloneElement)(children,props)};exports.EuiTitle=EuiTitle;EuiTitle.propTypes={children:_propTypes.default.element.isRequired,className:_propTypes.default.string,size:_propTypes.default.oneOf(TITLE_SIZES).isRequired,textTransform:_propTypes.default.oneOf(TEXT_TRANSFORM)};EuiTitle.defaultProps={size:"m",textTransform:"none"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiOverlayMask",{enumerable:true,get:function get(){return _overlay_mask.EuiOverlayMask}});var _overlay_mask=__webpack_require__(1292)},function(module,exports,__webpack_require__){(function(){var ACE_NAMESPACE="ace";var global=function(){return this}();global||"undefined"==typeof window||(global=window);if(!ACE_NAMESPACE&&"undefined"!==typeof acequirejs)return;var define=function(module,deps,payload){if("string"!==typeof module){if(define.original)define.original.apply(this,arguments);else{console.error("dropping module because define wasn't a string.");console.trace()}return}2==arguments.length&&(payload=deps);if(!define.modules[module]){define.payloads[module]=payload;define.modules[module]=null}};define.modules={};define.payloads={};var _acequire=function(parentId,module,callback){if("string"===typeof module){var payload=lookup(parentId,module);if(void 0!=payload){callback&&callback();return payload}}else if("[object Array]"===Object.prototype.toString.call(module)){var params=[];for(var i=0,l=module.length;i<l;++i){var dep=lookup(parentId,module[i]);if(void 0==dep&&acequire.original)return;params.push(dep)}return callback&&callback.apply(null,params)||true}};var acequire=function(module,callback){var packagedModule=_acequire("",module,callback);if(void 0==packagedModule&&acequire.original)return acequire.original.apply(this,arguments);return packagedModule};var normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf("!")){var chunks=moduleName.split("!");return normalizeModule(parentId,chunks[0])+"!"+normalizeModule(parentId,chunks[1])}if("."==moduleName.charAt(0)){var base=parentId.split("/").slice(0,-1).join("/");moduleName=base+"/"+moduleName;while(-1!==moduleName.indexOf(".")&&previous!=moduleName){var previous=moduleName;moduleName=moduleName.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return moduleName};var lookup=function(parentId,moduleName){moduleName=normalizeModule(parentId,moduleName);var module=define.modules[moduleName];if(!module){module=define.payloads[moduleName];if("function"===typeof module){var exports={};var mod={id:moduleName,uri:"",exports:exports,packaged:true};var req=function(module,callback){return _acequire(moduleName,module,callback)};var returnValue=module(req,exports,mod);exports=returnValue||mod.exports;define.modules[moduleName]=exports;delete define.payloads[moduleName]}module=define.modules[moduleName]=exports||module}return module};function exportAce(ns){var root=global;if(ns){global[ns]||(global[ns]={});root=global[ns]}if(!root.define||!root.define.packaged){define.original=root.define;root.define=define;root.define.packaged=true}if(!root.acequire||!root.acequire.packaged){acequire.original=root.acequire;root.acequire=acequire;root.acequire.packaged=true}}exportAce(ACE_NAMESPACE)})();ace.define("ace/lib/regexp",["require","exports","module"],function(acequire,exports,module){"use strict";var real={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},compliantExecNpcg=void 0===real.exec.call(/()??/,"")[1],compliantLastIndexIncrement=function(){var x=/^/g;real.test.call(x,"");return!x.lastIndex}();if(compliantLastIndexIncrement&&compliantExecNpcg)return;RegExp.prototype.exec=function(str){var name,r2,match=real.exec.apply(this,arguments);if("string"==typeof str&&match){if(!compliantExecNpcg&&match.length>1&&indexOf(match,"")>-1){r2=RegExp(this.source,real.replace.call(getNativeFlags(this),"g",""));real.replace.call(str.slice(match.index),r2,function(){for(var i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(match[i]=void 0)})}if(this._xregexp&&this._xregexp.captureNames)for(var i=1;i<match.length;i++){name=this._xregexp.captureNames[i-1];name&&(match[name]=match[i])}!compliantLastIndexIncrement&&this.global&&!match[0].length&&this.lastIndex>match.index&&this.lastIndex--}return match};compliantLastIndexIncrement||(RegExp.prototype.test=function(str){var match=real.exec.call(this,str);match&&this.global&&!match[0].length&&this.lastIndex>match.index&&this.lastIndex--;return!!match});function getNativeFlags(regex){return(regex.global?"g":"")+(regex.ignoreCase?"i":"")+(regex.multiline?"m":"")+(regex.extended?"x":"")+(regex.sticky?"y":"")}function indexOf(array,item,from){if(Array.prototype.indexOf)return array.indexOf(item,from);for(var i=from||0;i<array.length;i++)if(array[i]===item)return i;return-1}});ace.define("ace/lib/es5-shim",["require","exports","module"],function(acequire,exports,module){function Empty(){}Function.prototype.bind||(Function.prototype.bind=function bind(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1);var bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));if(Object(result)===result)return result;return this}return target.apply(that,args.concat(slice.call(arguments)))};if(target.prototype){Empty.prototype=target.prototype;bound.prototype=new Empty;Empty.prototype=null}return bound});var call=Function.prototype.call;var prototypeOfArray=Array.prototype;var prototypeOfObject=Object.prototype;var slice=prototypeOfArray.slice;var _toString=call.bind(prototypeOfObject.toString);var owns=call.bind(prototypeOfObject.hasOwnProperty);var defineGetter;var defineSetter;var lookupGetter;var lookupSetter;var supportsAccessors;if(supportsAccessors=owns(prototypeOfObject,"__defineGetter__")){defineGetter=call.bind(prototypeOfObject.__defineGetter__);defineSetter=call.bind(prototypeOfObject.__defineSetter__);lookupGetter=call.bind(prototypeOfObject.__lookupGetter__);lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)}if(2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=new Array(l+2);a[0]=a[1]=0;return a}var lengthBefore,array=[];array.splice.apply(array,makeArray(20));array.splice.apply(array,makeArray(26));lengthBefore=array.length;array.splice(5,0,"XXX");lengthBefore+1==array.length;if(lengthBefore+1==array.length)return true}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:pos<0&&(pos=Math.max(length+pos,0));pos+removeCount<length||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount);var insert=slice.call(arguments,2);var add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos);var tailOldPos=pos+remove;var tailNewPos=tailOldPos+add-remove;var tailCount=length-tailOldPos;var lengthAfterRemove=length-remove;if(tailNewPos<tailOldPos)for(var i=0;i<tailCount;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove){this.length=lengthAfterRemove;this.push.apply(this,insert)}else{this.length=lengthAfterRemove+add;for(i=0;i<add;++i)this[pos+i]=insert[i]}}return removed};Array.isArray||(Array.isArray=function isArray(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);Array.prototype.forEach||(Array.prototype.forEach=function forEach(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;while(++i<length)i in self&&fun.call(thisp,self[i],i,object)});Array.prototype.map||(Array.prototype.map=function map(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;i<length;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result});Array.prototype.filter||(Array.prototype.filter=function filter(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;i<length;i++)if(i in self){value=self[i];fun.call(thisp,value,i,object)&&result.push(value)}return result});Array.prototype.every||(Array.prototype.every=function every(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;i<length;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return false;return true});Array.prototype.some||(Array.prototype.some=function some(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;i<length;i++)if(i in self&&fun.call(thisp,self[i],i,object))return true;return false});Array.prototype.reduce||(Array.prototype.reduce=function reduce(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var i=0;var result;if(arguments.length>=2)result=arguments[1];else do{if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}while(true);for(;i<length;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result});Array.prototype.reduceRight||(Array.prototype.reduceRight=function reduceRight(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else do{if(i in self){result=self[i--];break}if(--i<0)throw new TypeError("reduceRight of empty array with no initial value")}while(true);do{i in this&&(result=fun.call(void 0,result,self[i],i,object))}while(i--);return result});Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function indexOf(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;arguments.length>1&&(i=toInteger(arguments[1]));i=i>=0?i:Math.max(0,length+i);for(;i<length;i++)if(i in self&&self[i]===sought)return i;return-1});Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function lastIndexOf(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;arguments.length>1&&(i=Math.min(i,toInteger(arguments[1])));i=i>=0?i:length-Math.abs(i);for(;i>=0;i--)if(i in self&&sought===self[i])return i;return-1});Object.getPrototypeOf||(Object.getPrototypeOf=function getPrototypeOf(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)});if(!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function getOwnPropertyDescriptor(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(!owns(object,property))return;var descriptor;descriptor={enumerable:true,configurable:true};if(supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property);var setter=lookupSetter(object,property);object.__proto__=prototype;if(getter||setter){getter&&(descriptor.get=getter);setter&&(descriptor.set=setter);return descriptor}}descriptor.value=object[property];return descriptor}}Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function getOwnPropertyNames(object){return Object.keys(object)});if(!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null;return empty};Object.create=function create(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != 'object'");var Type=function(){};Type.prototype=prototype;object=new Type;object.__proto__=prototype}void 0!==properties&&Object.defineProperties(object,properties);return object}}function doesDefinePropertyWork(object){try{Object.defineProperty(object,"sentinel",{});return"sentinel"in object}catch(exception){}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({});var definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ";var ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ";var ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function defineProperty(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject;delete object[property];object[property]=descriptor.value;object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get);owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function defineProperties(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object});Object.seal||(Object.seal=function seal(object){return object});Object.freeze||(Object.freeze=function freeze(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function freeze(freezeObject){return function freeze(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}Object.preventExtensions||(Object.preventExtensions=function preventExtensions(object){return object});Object.isSealed||(Object.isSealed=function isSealed(object){return false});Object.isFrozen||(Object.isFrozen=function isFrozen(object){return false});Object.isExtensible||(Object.isExtensible=function isExtensible(object){if(Object(object)===object)throw new TypeError;var name="";while(owns(object,name))name+="?";object[name]=true;var returnValue=owns(object,name);delete object[name];return returnValue});if(!Object.keys){var hasDontEnumBug=true,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=false;Object.keys=function keys(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;i<ii;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function now(){return(new Date).getTime()});var ws="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=new RegExp("^"+ws+ws+"*"),trimEndRegexp=new RegExp(ws+ws+"*$");String.prototype.trim=function trim(){return String(this).replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}function toInteger(n){n=+n;n!==n?n=0:0!==n&&n!==1/0&&n!==-1/0&&(n=(n>0||-1)*Math.floor(Math.abs(n)));return n}var toObject=function(o){if(null==o)throw new TypeError("can't convert "+o+" to object");return Object(o)}});ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(acequire,exports,module){"use strict";acequire("./regexp");acequire("./es5-shim")});ace.define("ace/lib/dom",["require","exports","module"],function(acequire,exports,module){"use strict";var XHTML_NS="http://www.w3.org/1999/xhtml";exports.getDocumentHead=function(doc){doc||(doc=document);return doc.head||doc.getElementsByTagName("head")[0]||doc.documentElement};exports.createElement=function(tag,ns){return document.createElementNS?document.createElementNS(ns||XHTML_NS,tag):document.createElement(tag)};exports.hasCssClass=function(el,name){var classes=(el.className+"").split(/\s+/g);return-1!==classes.indexOf(name)};exports.addCssClass=function(el,name){exports.hasCssClass(el,name)||(el.className+=" "+name)};exports.removeCssClass=function(el,name){var classes=el.className.split(/\s+/g);while(true){var index=classes.indexOf(name);if(-1==index)break;classes.splice(index,1)}el.className=classes.join(" ")};exports.toggleCssClass=function(el,name){var classes=el.className.split(/\s+/g),add=true;while(true){var index=classes.indexOf(name);if(-1==index)break;add=false;classes.splice(index,1)}add&&classes.push(name);el.className=classes.join(" ");return add};exports.setCssClass=function(node,className,include){include?exports.addCssClass(node,className):exports.removeCssClass(node,className)};exports.hasCssString=function(id,doc){var sheets,index=0;doc=doc||document;if(doc.createStyleSheet&&(sheets=doc.styleSheets)){while(index<sheets.length)if(sheets[index++].owningElement.id===id)return true}else if(sheets=doc.getElementsByTagName("style"))while(index<sheets.length)if(sheets[index++].id===id)return true;return false};exports.importCssString=function importCssString(cssText,id,doc){doc=doc||document;if(id&&exports.hasCssString(id,doc))return null;var style;id&&(cssText+="\n/*# sourceURL=ace/css/"+id+" */");if(doc.createStyleSheet){style=doc.createStyleSheet();style.cssText=cssText;id&&(style.owningElement.id=id)}else{style=exports.createElement("style");style.appendChild(doc.createTextNode(cssText));id&&(style.id=id);exports.getDocumentHead(doc).appendChild(style)}};exports.importCssStylsheet=function(uri,doc){if(doc.createStyleSheet)doc.createStyleSheet(uri);else{var link=exports.createElement("link");link.rel="stylesheet";link.href=uri;exports.getDocumentHead(doc).appendChild(link)}};exports.getInnerWidth=function(element){return parseInt(exports.computedStyle(element,"paddingLeft"),10)+parseInt(exports.computedStyle(element,"paddingRight"),10)+element.clientWidth};exports.getInnerHeight=function(element){return parseInt(exports.computedStyle(element,"paddingTop"),10)+parseInt(exports.computedStyle(element,"paddingBottom"),10)+element.clientHeight};exports.scrollbarWidth=function(document){var inner=exports.createElement("ace_inner");inner.style.width="100%";inner.style.minWidth="0px";inner.style.height="200px";inner.style.display="block";var outer=exports.createElement("ace_outer");var style=outer.style;style.position="absolute";style.left="-10000px";style.overflow="hidden";style.width="200px";style.minWidth="0px";style.height="150px";style.display="block";outer.appendChild(inner);var body=document.documentElement;body.appendChild(outer);var noScrollbar=inner.offsetWidth;style.overflow="scroll";var withScrollbar=inner.offsetWidth;noScrollbar==withScrollbar&&(withScrollbar=outer.clientWidth);body.removeChild(outer);return noScrollbar-withScrollbar};if("undefined"==typeof document){exports.importCssString=function(){};return}if(void 0!==window.pageYOffset){exports.getPageScrollTop=function(){return window.pageYOffset};exports.getPageScrollLeft=function(){return window.pageXOffset}}else{exports.getPageScrollTop=function(){return document.body.scrollTop};exports.getPageScrollLeft=function(){return document.body.scrollLeft}}window.getComputedStyle?exports.computedStyle=function(element,style){if(style)return(window.getComputedStyle(element,"")||{})[style]||"";return window.getComputedStyle(element,"")||{}}:exports.computedStyle=function(element,style){if(style)return element.currentStyle[style];return element.currentStyle};exports.setInnerHtml=function(el,innerHtml){var element=el.cloneNode(false);element.innerHTML=innerHtml;el.parentNode.replaceChild(element,el);return element};if("textContent"in document.documentElement){exports.setInnerText=function(el,innerText){el.textContent=innerText};exports.getInnerText=function(el){return el.textContent}}else{exports.setInnerText=function(el,innerText){el.innerText=innerText};exports.getInnerText=function(el){return el.innerText}}exports.getParentWindow=function(document){return document.defaultView||document.parentWindow}});ace.define("ace/lib/oop",["require","exports","module"],function(acequire,exports,module){"use strict";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor;ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:false,writable:true,configurable:true}})};exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj};exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}});ace.define("ace/lib/keys",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop"],function(acequire,exports,module){"use strict";acequire("./fixoldbrowsers");var oop=acequire("./oop");var Keys=function(){var ret={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}};var name,i;for(i in ret.FUNCTION_KEYS){name=ret.FUNCTION_KEYS[i].toLowerCase();ret[name]=parseInt(i,10)}for(i in ret.PRINTABLE_KEYS){name=ret.PRINTABLE_KEYS[i].toLowerCase();ret[name]=parseInt(i,10)}oop.mixin(ret,ret.MODIFIER_KEYS);oop.mixin(ret,ret.PRINTABLE_KEYS);oop.mixin(ret,ret.FUNCTION_KEYS);ret.enter=ret["return"];ret.escape=ret.esc;ret.del=ret["delete"];ret[173]="-";(function(){var mods=["cmd","ctrl","alt","shift"];for(var i=Math.pow(2,mods.length);i--;)ret.KEY_MODS[i]=mods.filter(function(x){return i&ret.KEY_MODS[x]}).join("-")+"-"})();ret.KEY_MODS[0]="";ret.KEY_MODS[-1]="input-";return ret}();oop.mixin(exports,Keys);exports.keyCodeToString=function(keyCode){var keyString=Keys[keyCode];"string"!=typeof keyString&&(keyString=String.fromCharCode(keyCode));return keyString.toLowerCase()}});ace.define("ace/lib/useragent",["require","exports","module"],function(acequire,exports,module){"use strict";exports.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"};exports.getOS=function(){return exports.isMac?exports.OS.MAC:exports.isLinux?exports.OS.LINUX:exports.OS.WINDOWS};if("object"!=typeof navigator)return;var os=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase();var ua=navigator.userAgent;exports.isWin="win"==os;exports.isMac="mac"==os;exports.isLinux="linux"==os;exports.isIE="Microsoft Internet Explorer"==navigator.appName||navigator.appName.indexOf("MSAppHost")>=0?parseFloat((ua.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((ua.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]);exports.isOldIE=exports.isIE&&exports.isIE<9;exports.isGecko=exports.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product;exports.isOldGecko=exports.isGecko&&parseInt((ua.match(/rv:(\d+)/)||[])[1],10)<4;exports.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera);exports.isWebKit=parseFloat(ua.split("WebKit/")[1])||void 0;exports.isChrome=parseFloat(ua.split(" Chrome/")[1])||void 0;exports.isAIR=ua.indexOf("AdobeAIR")>=0;exports.isIPad=ua.indexOf("iPad")>=0;exports.isChromeOS=ua.indexOf(" CrOS ")>=0;exports.isIOS=/iPad|iPhone|iPod/.test(ua)&&!window.MSStream;exports.isIOS&&(exports.isMac=true)});ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(acequire,exports,module){"use strict";var keys=acequire("./keys");var useragent=acequire("./useragent");var pressedKeys=null;var ts=0;exports.addListener=function(elem,type,callback){if(elem.addEventListener)return elem.addEventListener(type,callback,false);if(elem.attachEvent){var wrapper=function(){callback.call(elem,window.event)};callback._wrapper=wrapper;elem.attachEvent("on"+type,wrapper)}};exports.removeListener=function(elem,type,callback){if(elem.removeEventListener)return elem.removeEventListener(type,callback,false);elem.detachEvent&&elem.detachEvent("on"+type,callback._wrapper||callback)};exports.stopEvent=function(e){exports.stopPropagation(e);exports.preventDefault(e);return false};exports.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=true};exports.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=false};exports.getButton=function(e){if("dblclick"==e.type)return 0;if("contextmenu"==e.type||useragent.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey)return 2;return e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]};exports.capture=function(el,eventHandler,releaseCaptureHandler){function onMouseUp(e){eventHandler&&eventHandler(e);releaseCaptureHandler&&releaseCaptureHandler(e);exports.removeListener(document,"mousemove",eventHandler,true);exports.removeListener(document,"mouseup",onMouseUp,true);exports.removeListener(document,"dragstart",onMouseUp,true)}exports.addListener(document,"mousemove",eventHandler,true);exports.addListener(document,"mouseup",onMouseUp,true);exports.addListener(document,"dragstart",onMouseUp,true);return onMouseUp};exports.addTouchMoveListener=function(el,callback){var startx,starty;exports.addListener(el,"touchstart",function(e){var touches=e.touches;var touchObj=touches[0];startx=touchObj.clientX;starty=touchObj.clientY});exports.addListener(el,"touchmove",function(e){var touches=e.touches;if(touches.length>1)return;var touchObj=touches[0];e.wheelX=startx-touchObj.clientX;e.wheelY=starty-touchObj.clientY;startx=touchObj.clientX;starty=touchObj.clientY;callback(e)})};exports.addMouseWheelListener=function(el,callback){"onmousewheel"in el?exports.addListener(el,"mousewheel",function(e){var factor=8;if(void 0!==e.wheelDeltaX){e.wheelX=-e.wheelDeltaX/factor;e.wheelY=-e.wheelDeltaY/factor}else{e.wheelX=0;e.wheelY=-e.wheelDelta/factor}callback(e)}):"onwheel"in el?exports.addListener(el,"wheel",function(e){var factor=.35;switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=e.deltaX*factor||0;e.wheelY=e.deltaY*factor||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0);e.wheelY=5*(e.deltaY||0)}callback(e)}):exports.addListener(el,"DOMMouseScroll",function(e){if(e.axis&&e.axis==e.HORIZONTAL_AXIS){e.wheelX=5*(e.detail||0);e.wheelY=0}else{e.wheelX=0;e.wheelY=5*(e.detail||0)}callback(e)})};exports.addMultiMouseDownListener=function(elements,timeouts,eventHandler,callbackName){var clicks=0;var startX,startY,timer;var eventNames={2:"dblclick",3:"tripleclick",4:"quadclick"};function onMousedown(e){if(0!==exports.getButton(e))clicks=0;else if(e.detail>1){clicks++;clicks>4&&(clicks=1)}else clicks=1;if(useragent.isIE){var isNewClick=Math.abs(e.clientX-startX)>5||Math.abs(e.clientY-startY)>5;timer&&!isNewClick||(clicks=1);timer&&clearTimeout(timer);timer=setTimeout(function(){timer=null},timeouts[clicks-1]||600);if(1==clicks){startX=e.clientX;startY=e.clientY}}e._clicks=clicks;eventHandler[callbackName]("mousedown",e);if(clicks>4)clicks=0;else if(clicks>1)return eventHandler[callbackName](eventNames[clicks],e)}function onDblclick(e){clicks=2;timer&&clearTimeout(timer);timer=setTimeout(function(){timer=null},timeouts[clicks-1]||600);eventHandler[callbackName]("mousedown",e);eventHandler[callbackName](eventNames[clicks],e)}Array.isArray(elements)||(elements=[elements]);elements.forEach(function(el){exports.addListener(el,"mousedown",onMousedown);useragent.isOldIE&&exports.addListener(el,"dblclick",onDblclick)})};var getModifierHash=!useragent.isMac||!useragent.isOpera||"KeyboardEvent"in window?function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)}:function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)};exports.getModifierString=function(e){return keys.KEY_MODS[getModifierHash(e)]};function normalizeCommandKeys(callback,e,keyCode){var hashId=getModifierHash(e);if(!useragent.isMac&&pressedKeys){e.getModifierState&&(e.getModifierState("OS")||e.getModifierState("Win"))&&(hashId|=8);if(pressedKeys.altGr){if(3==(3&hashId))return;pressedKeys.altGr=0}if(18===keyCode||17===keyCode){var location="location"in e?e.location:e.keyLocation;if(17===keyCode&&1===location)1==pressedKeys[keyCode]&&(ts=e.timeStamp);else if(18===keyCode&&3===hashId&&2===location){var dt=e.timeStamp-ts;dt<50&&(pressedKeys.altGr=true)}}}keyCode in keys.MODIFIER_KEYS&&(keyCode=-1);8&hashId&&keyCode>=91&&keyCode<=93&&(keyCode=-1);if(!hashId&&13===keyCode){location="location"in e?e.location:e.keyLocation;if(3===location){callback(e,hashId,-keyCode);if(e.defaultPrevented)return}}if(useragent.isChromeOS&&8&hashId){callback(e,hashId,keyCode);if(e.defaultPrevented)return;hashId&=-9}if(!hashId&&!(keyCode in keys.FUNCTION_KEYS)&&!(keyCode in keys.PRINTABLE_KEYS))return false;return callback(e,hashId,keyCode)}exports.addCommandKeyListener=function(el,callback){var addListener=exports.addListener;if(useragent.isOldGecko||useragent.isOpera&&!("KeyboardEvent"in window)){var lastKeyDownKeyCode=null;addListener(el,"keydown",function(e){lastKeyDownKeyCode=e.keyCode});addListener(el,"keypress",function(e){return normalizeCommandKeys(callback,e,lastKeyDownKeyCode)})}else{var lastDefaultPrevented=null;addListener(el,"keydown",function(e){pressedKeys[e.keyCode]=(pressedKeys[e.keyCode]||0)+1;var result=normalizeCommandKeys(callback,e,e.keyCode);lastDefaultPrevented=e.defaultPrevented;return result});addListener(el,"keypress",function(e){if(lastDefaultPrevented&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)){exports.stopEvent(e);lastDefaultPrevented=null}});addListener(el,"keyup",function(e){pressedKeys[e.keyCode]=null});if(!pressedKeys){resetPressedKeys();addListener(window,"focus",resetPressedKeys)}}};function resetPressedKeys(){pressedKeys=Object.create(null)}if("object"==typeof window&&window.postMessage&&!useragent.isOldIE){var postMessageId=1;exports.nextTick=function(callback,win){win=win||window;var messageName="zero-timeout-message-"+postMessageId;exports.addListener(win,"message",function listener(e){if(e.data==messageName){exports.stopPropagation(e);exports.removeListener(win,"message",listener);callback()}});win.postMessage(messageName,"*")}}exports.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame);exports.nextFrame?exports.nextFrame=exports.nextFrame.bind(window):exports.nextFrame=function(callback){setTimeout(callback,17)}});ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports,module){"use strict";exports.last=function(a){return a[a.length-1]};exports.stringReverse=function(string){return string.split("").reverse().join("")};exports.stringRepeat=function(string,count){var result="";while(count>0){1&count&&(result+=string);(count>>=1)&&(string+=string)}return result};var trimBeginRegexp=/^\s\s*/;var trimEndRegexp=/\s\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")};exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")};exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy};exports.copyArray=function(array){var copy=[];for(var i=0,l=array.length;i<l;i++)array[i]&&"object"==typeof array[i]?copy[i]=this.copyObject(array[i]):copy[i]=array[i];return copy};exports.deepCopy=function deepCopy(obj){if("object"!==typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;key<obj.length;key++)copy[key]=deepCopy(obj[key]);return copy}if("[object Object]"!==Object.prototype.toString.call(obj))return obj;copy={};for(var key in obj)copy[key]=deepCopy(obj[key]);return copy};exports.arrayToMap=function(arr){var map={};for(var i=0;i<arr.length;i++)map[arr[i]]=1;return map};exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map};exports.arrayRemove=function(array,value){for(var i=0;i<=array.length;i++)value===array[i]&&array.splice(i,1)};exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")};exports.escapeHTML=function(str){return str.replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")};exports.getMatchOffsets=function(string,regExp){var matches=[];string.replace(regExp,function(str){matches.push({offset:arguments[arguments.length-2],length:str.length})});return matches};exports.deferredCall=function(fcn){var timer=null;var callback=function(){timer=null;fcn()};var deferred=function(timeout){deferred.cancel();timer=setTimeout(callback,timeout||0);return deferred};deferred.schedule=deferred;deferred.call=function(){this.cancel();fcn();return deferred};deferred.cancel=function(){clearTimeout(timer);timer=null;return deferred};deferred.isPending=function(){return timer};return deferred};exports.delayedCall=function(fcn,defaultTimeout){var timer=null;var callback=function(){timer=null;fcn()};var _self=function(timeout){null==timer&&(timer=setTimeout(callback,timeout||defaultTimeout))};_self.delay=function(timeout){timer&&clearTimeout(timer);timer=setTimeout(callback,timeout||defaultTimeout)};_self.schedule=_self;_self.call=function(){this.cancel();fcn()};_self.cancel=function(){timer&&clearTimeout(timer);timer=null};_self.isPending=function(){return timer};return _self}});ace.define("ace/keyboard/textinput_ios",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/lib/keys"],function(acequire,exports,module){"use strict";var event=acequire("../lib/event");var useragent=acequire("../lib/useragent");var dom=acequire("../lib/dom");var lang=acequire("../lib/lang");var KEYS=acequire("../lib/keys");var MODS=KEYS.KEY_MODS;var BROKEN_SETDATA=useragent.isChrome<18;var USE_IE_MIME_TYPE=useragent.isIE;var TextInput=function(parentNode,host){var text=dom.createElement("textarea");text.className=useragent.isIOS?"ace_text-input ace_text-input-ios":"ace_text-input";useragent.isTouchPad&&text.setAttribute("x-palm-disable-auto-cap",true);text.setAttribute("wrap","off");text.setAttribute("autocorrect","off");text.setAttribute("autocapitalize","off");text.setAttribute("spellcheck",false);text.style.opacity="0";parentNode.insertBefore(text,parentNode.firstChild);var PLACEHOLDER="\n aaaa a\n";var copied=false;var cut=false;var pasted=false;var inComposition=false;var tempStyle="";var isSelectionEmpty=true;try{var isFocused=document.activeElement===text}catch(e){}event.addListener(text,"blur",function(e){host.onBlur(e);isFocused=false});event.addListener(text,"focus",function(e){isFocused=true;host.onFocus(e);resetSelection()});this.focus=function(){if(tempStyle)return text.focus();text.style.position="fixed";text.focus()};this.blur=function(){text.blur()};this.isFocused=function(){return isFocused};var syncSelection=lang.delayedCall(function(){isFocused&&resetSelection(isSelectionEmpty)});var syncValue=lang.delayedCall(function(){if(!inComposition){text.value=PLACEHOLDER;isFocused&&resetSelection()}});function resetSelection(isEmpty){if(inComposition)return;inComposition=true;if(inputHandler){selectionStart=0;selectionEnd=isEmpty?0:text.value.length-1}else{var selectionStart=4;var selectionEnd=5}try{text.setSelectionRange(selectionStart,selectionEnd)}catch(e){}inComposition=false}function resetValue(){if(inComposition)return;text.value=PLACEHOLDER;useragent.isWebKit&&syncValue.schedule()}useragent.isWebKit||host.addEventListener("changeSelection",function(){if(host.selection.isEmpty()!=isSelectionEmpty){isSelectionEmpty=!isSelectionEmpty;syncSelection.schedule()}});resetValue();isFocused&&host.onFocus();var isAllSelected=function(text){return 0===text.selectionStart&&text.selectionEnd===text.value.length};var onSelect=function(e){if(isAllSelected(text)){host.selectAll();resetSelection()}else inputHandler&&resetSelection(host.selection.isEmpty())};var inputHandler=null;this.setInputHandler=function(cb){inputHandler=cb};this.getInputHandler=function(){return inputHandler};var afterContextMenu=false;var sendText=function(data){if(4===text.selectionStart&&5===text.selectionEnd)return;if(inputHandler){data=inputHandler(data);inputHandler=null}if(pasted){resetSelection();data&&host.onPaste(data);pasted=false}else if(data==PLACEHOLDER.substr(0)&&4===text.selectionStart)afterContextMenu?host.execCommand("del",{source:"ace"}):host.execCommand("backspace",{source:"ace"});else if(!copied){data.substring(0,9)==PLACEHOLDER&&data.length>PLACEHOLDER.length?data=data.substr(9):data.substr(0,4)==PLACEHOLDER.substr(0,4)?data=data.substr(4,data.length-PLACEHOLDER.length+1):data.charAt(data.length-1)==PLACEHOLDER.charAt(0)&&(data=data.slice(0,-1));data==PLACEHOLDER.charAt(0)||data.charAt(data.length-1)==PLACEHOLDER.charAt(0)&&(data=data.slice(0,-1));data&&host.onTextInput(data)}copied&&(copied=false);afterContextMenu&&(afterContextMenu=false)};var onInput=function(e){if(inComposition)return;var data=text.value;sendText(data);resetValue()};var handleClipboardData=function(e,data,forceIEMime){var clipboardData=e.clipboardData||window.clipboardData;if(!clipboardData||BROKEN_SETDATA)return;var mime=USE_IE_MIME_TYPE||forceIEMime?"Text":"text/plain";try{return data?false!==clipboardData.setData(mime,data):clipboardData.getData(mime)}catch(e){if(!forceIEMime)return handleClipboardData(e,data,true)}};var doCopy=function(e,isCut){var data=host.getCopyText();if(!data)return event.preventDefault(e);if(handleClipboardData(e,data)){if(useragent.isIOS){cut=isCut;text.value="\n aa"+data+"a a\n";text.setSelectionRange(4,4+data.length);copied={value:data}}isCut?host.onCut():host.onCopy();useragent.isIOS||event.preventDefault(e)}else{copied=true;text.value=data;text.select();setTimeout(function(){copied=false;resetValue();resetSelection();isCut?host.onCut():host.onCopy()})}};var onCut=function(e){doCopy(e,true)};var onCopy=function(e){doCopy(e,false)};var onPaste=function(e){var data=handleClipboardData(e);if("string"==typeof data){data&&host.onPaste(data,e);useragent.isIE&&setTimeout(resetSelection);event.preventDefault(e)}else{text.value="";pasted=true}};event.addCommandKeyListener(text,host.onCommandKey.bind(host));event.addListener(text,"select",onSelect);event.addListener(text,"input",onInput);event.addListener(text,"cut",onCut);event.addListener(text,"copy",onCopy);event.addListener(text,"paste",onPaste);var onCompositionStart=function(e){if(inComposition||!host.onCompositionStart||host.$readOnly)return;inComposition={};inComposition.canUndo=host.session.$undoManager;host.onCompositionStart();setTimeout(onCompositionUpdate,0);host.on("mousedown",onCompositionEnd);if(inComposition.canUndo&&!host.selection.isEmpty()){host.insert("");host.session.markUndoGroup();host.selection.clearSelection()}host.session.markUndoGroup()};var onCompositionUpdate=function(){if(!inComposition||!host.onCompositionUpdate||host.$readOnly)return;var val=text.value.replace(/\x01/g,"");if(inComposition.lastValue===val)return;host.onCompositionUpdate(val);inComposition.lastValue&&host.undo();inComposition.canUndo&&(inComposition.lastValue=val);if(inComposition.lastValue){var r=host.selection.getRange();host.insert(inComposition.lastValue);host.session.markUndoGroup();inComposition.range=host.selection.getRange();host.selection.setRange(r);host.selection.clearSelection()}};var onCompositionEnd=function(e){if(!host.onCompositionEnd||host.$readOnly)return;var c=inComposition;inComposition=false;var timer=setTimeout(function(){timer=null;var str=text.value.replace(/\x01/g,"");if(inComposition)return;if(str==c.lastValue)resetValue();else if(!c.lastValue&&str){resetValue();sendText(str)}});inputHandler=function compositionInputHandler(str){timer&&clearTimeout(timer);str=str.replace(/\x01/g,"");if(str==c.lastValue)return"";c.lastValue&&timer&&host.undo();return str};host.onCompositionEnd();host.removeListener("mousedown",onCompositionEnd);"compositionend"==e.type&&c.range&&host.selection.setRange(c.range);var needsOnInput=!!useragent.isChrome&&useragent.isChrome>=53||!!useragent.isWebKit&&useragent.isWebKit>=603;needsOnInput&&onInput()};var syncComposition=lang.delayedCall(onCompositionUpdate,50);event.addListener(text,"compositionstart",onCompositionStart);if(useragent.isGecko)event.addListener(text,"text",function(){syncComposition.schedule()});else{event.addListener(text,"keyup",function(){syncComposition.schedule()});event.addListener(text,"keydown",function(){syncComposition.schedule()})}event.addListener(text,"compositionend",onCompositionEnd);this.getElement=function(){return text};this.setReadOnly=function(readOnly){text.readOnly=readOnly};this.onContextMenu=function(e){afterContextMenu=true;resetSelection(host.selection.isEmpty());host._emit("nativecontextmenu",{target:host,domEvent:e});this.moveToMouse(e,true)};this.moveToMouse=function(e,bringToFront){tempStyle||(tempStyle=text.style.cssText);text.style.cssText=(bringToFront?"z-index:100000;":"")+"height:"+text.style.height+";"+(useragent.isIE?"opacity:0.1;":"");var rect=host.container.getBoundingClientRect();var style=dom.computedStyle(host.container);var top=rect.top+(parseInt(style.borderTopWidth)||0);var left=rect.left+(parseInt(rect.borderLeftWidth)||0);var maxTop=rect.bottom-top-text.clientHeight-2;var move=function(e){text.style.left=e.clientX-left-2+"px";text.style.top=Math.min(e.clientY-top-2,maxTop)+"px"};move(e);if("mousedown"!=e.type)return;host.renderer.$keepTextAreaAtCursor&&(host.renderer.$keepTextAreaAtCursor=null);clearTimeout(closeTimeout);useragent.isWin&&event.capture(host.container,move,onContextMenuClose)};this.onContextMenuClose=onContextMenuClose;var closeTimeout;function onContextMenuClose(){clearTimeout(closeTimeout);closeTimeout=setTimeout(function(){if(tempStyle){text.style.cssText=tempStyle;tempStyle=""}if(null==host.renderer.$keepTextAreaAtCursor){host.renderer.$keepTextAreaAtCursor=true;host.renderer.$moveTextAreaToCursor()}},0)}var onContextMenu=function(e){host.textInput.onContextMenu(e);onContextMenuClose()};event.addListener(text,"mouseup",onContextMenu);event.addListener(text,"mousedown",function(e){e.preventDefault();onContextMenuClose()});event.addListener(host.renderer.scroller,"contextmenu",onContextMenu);event.addListener(text,"contextmenu",onContextMenu);if(useragent.isIOS){var typingResetTimeout=null;var typing=false;parentNode.addEventListener("keydown",function(e){typingResetTimeout&&clearTimeout(typingResetTimeout);typing=true});parentNode.addEventListener("keyup",function(e){typingResetTimeout=setTimeout(function(){typing=false},100)});var detectArrowKeys=function(e){if(document.activeElement!==text)return;if(typing)return;if(cut)return setTimeout(function(){cut=false},100);var selectionStart=text.selectionStart;var selectionEnd=text.selectionEnd;text.setSelectionRange(4,5);if(selectionStart==selectionEnd)switch(selectionStart){case 0:host.onCommandKey(null,0,KEYS.up);break;case 1:host.onCommandKey(null,0,KEYS.home);break;case 2:host.onCommandKey(null,MODS.option,KEYS.left);break;case 4:host.onCommandKey(null,0,KEYS.left);break;case 5:host.onCommandKey(null,0,KEYS.right);break;case 7:host.onCommandKey(null,MODS.option,KEYS.right);break;case 8:host.onCommandKey(null,0,KEYS.end);break;case 9:host.onCommandKey(null,0,KEYS.down)}else{switch(selectionEnd){case 6:host.onCommandKey(null,MODS.shift,KEYS.right);break;case 7:host.onCommandKey(null,MODS.shift|MODS.option,KEYS.right);break;case 8:host.onCommandKey(null,MODS.shift,KEYS.end);break;case 9:host.onCommandKey(null,MODS.shift,KEYS.down)}switch(selectionStart){case 0:host.onCommandKey(null,MODS.shift,KEYS.up);break;case 1:host.onCommandKey(null,MODS.shift,KEYS.home);break;case 2:host.onCommandKey(null,MODS.shift|MODS.option,KEYS.left);break;case 3:host.onCommandKey(null,MODS.shift,KEYS.left)}}};document.addEventListener("selectionchange",detectArrowKeys);host.on("destroy",function(){document.removeEventListener("selectionchange",detectArrowKeys)})}};exports.TextInput=TextInput});ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/keyboard/textinput_ios"],function(acequire,exports,module){"use strict";var event=acequire("../lib/event");var useragent=acequire("../lib/useragent");var dom=acequire("../lib/dom");var lang=acequire("../lib/lang");var BROKEN_SETDATA=useragent.isChrome<18;var USE_IE_MIME_TYPE=useragent.isIE;var TextInputIOS=acequire("./textinput_ios").TextInput;var TextInput=function(parentNode,host){if(useragent.isIOS)return TextInputIOS.call(this,parentNode,host);var text=dom.createElement("textarea");text.className="ace_text-input";text.setAttribute("wrap","off");text.setAttribute("autocorrect","off");text.setAttribute("autocapitalize","off");text.setAttribute("spellcheck",false);text.style.opacity="0";parentNode.insertBefore(text,parentNode.firstChild);var PLACEHOLDER="\u2028\u2028";var copied=false;var pasted=false;var inComposition=false;var tempStyle="";var isSelectionEmpty=true;try{var isFocused=document.activeElement===text}catch(e){}event.addListener(text,"blur",function(e){host.onBlur(e);isFocused=false});event.addListener(text,"focus",function(e){isFocused=true;host.onFocus(e);resetSelection()});this.focus=function(){if(tempStyle)return text.focus();var top=text.style.top;text.style.position="fixed";text.style.top="0px";text.focus();setTimeout(function(){text.style.position="";"0px"==text.style.top&&(text.style.top=top)},0)};this.blur=function(){text.blur()};this.isFocused=function(){return isFocused};var syncSelection=lang.delayedCall(function(){isFocused&&resetSelection(isSelectionEmpty)});var syncValue=lang.delayedCall(function(){if(!inComposition){text.value=PLACEHOLDER;isFocused&&resetSelection()}});function resetSelection(isEmpty){if(inComposition)return;inComposition=true;if(inputHandler){var selectionStart=0;var selectionEnd=isEmpty?0:text.value.length-1}else{selectionStart=isEmpty?2:1;selectionEnd=2}try{text.setSelectionRange(selectionStart,selectionEnd)}catch(e){}inComposition=false}function resetValue(){if(inComposition)return;text.value=PLACEHOLDER;useragent.isWebKit&&syncValue.schedule()}useragent.isWebKit||host.addEventListener("changeSelection",function(){if(host.selection.isEmpty()!=isSelectionEmpty){isSelectionEmpty=!isSelectionEmpty;syncSelection.schedule()}});resetValue();isFocused&&host.onFocus();var isAllSelected=function(text){return 0===text.selectionStart&&text.selectionEnd===text.value.length};var onSelect=function(e){if(copied)copied=false;else if(isAllSelected(text)){host.selectAll();resetSelection()}else inputHandler&&resetSelection(host.selection.isEmpty())};var inputHandler=null;this.setInputHandler=function(cb){inputHandler=cb};this.getInputHandler=function(){return inputHandler};var afterContextMenu=false;var sendText=function(data){if(inputHandler){data=inputHandler(data);inputHandler=null}if(pasted){resetSelection();data&&host.onPaste(data);pasted=false}else if(data==PLACEHOLDER.charAt(0))afterContextMenu?host.execCommand("del",{source:"ace"}):host.execCommand("backspace",{source:"ace"});else{data.substring(0,2)==PLACEHOLDER?data=data.substr(2):data.charAt(0)==PLACEHOLDER.charAt(0)?data=data.substr(1):data.charAt(data.length-1)==PLACEHOLDER.charAt(0)&&(data=data.slice(0,-1));data.charAt(data.length-1)==PLACEHOLDER.charAt(0)&&(data=data.slice(0,-1));data&&host.onTextInput(data)}afterContextMenu&&(afterContextMenu=false)};var onInput=function(e){if(inComposition)return;var data=text.value;sendText(data);resetValue()};var handleClipboardData=function(e,data,forceIEMime){var clipboardData=e.clipboardData||window.clipboardData;if(!clipboardData||BROKEN_SETDATA)return;var mime=USE_IE_MIME_TYPE||forceIEMime?"Text":"text/plain";try{return data?false!==clipboardData.setData(mime,data):clipboardData.getData(mime)}catch(e){if(!forceIEMime)return handleClipboardData(e,data,true)}};var doCopy=function(e,isCut){var data=host.getCopyText();if(!data)return event.preventDefault(e);if(handleClipboardData(e,data)){isCut?host.onCut():host.onCopy();event.preventDefault(e)}else{copied=true;text.value=data;text.select();setTimeout(function(){copied=false;resetValue();resetSelection();isCut?host.onCut():host.onCopy()})}};var onCut=function(e){doCopy(e,true)};var onCopy=function(e){doCopy(e,false)};var onPaste=function(e){var data=handleClipboardData(e);if("string"==typeof data){data&&host.onPaste(data,e);useragent.isIE&&setTimeout(resetSelection);event.preventDefault(e)}else{text.value="";pasted=true}};event.addCommandKeyListener(text,host.onCommandKey.bind(host));event.addListener(text,"select",onSelect);event.addListener(text,"input",onInput);event.addListener(text,"cut",onCut);event.addListener(text,"copy",onCopy);event.addListener(text,"paste",onPaste);"oncut"in text&&"oncopy"in text&&"onpaste"in text||event.addListener(parentNode,"keydown",function(e){if(useragent.isMac&&!e.metaKey||!e.ctrlKey)return;switch(e.keyCode){case 67:onCopy(e);break;case 86:onPaste(e);break;case 88:onCut(e)}});var onCompositionStart=function(e){if(inComposition||!host.onCompositionStart||host.$readOnly)return;inComposition={};inComposition.canUndo=host.session.$undoManager;host.onCompositionStart();setTimeout(onCompositionUpdate,0);host.on("mousedown",onCompositionEnd);if(inComposition.canUndo&&!host.selection.isEmpty()){host.insert("");host.session.markUndoGroup();host.selection.clearSelection()}host.session.markUndoGroup()};var onCompositionUpdate=function(){if(!inComposition||!host.onCompositionUpdate||host.$readOnly)return;var val=text.value.replace(/\u2028/g,"");if(inComposition.lastValue===val)return;host.onCompositionUpdate(val);inComposition.lastValue&&host.undo();inComposition.canUndo&&(inComposition.lastValue=val);if(inComposition.lastValue){var r=host.selection.getRange();host.insert(inComposition.lastValue);host.session.markUndoGroup();inComposition.range=host.selection.getRange();host.selection.setRange(r);host.selection.clearSelection()}};var onCompositionEnd=function(e){if(!host.onCompositionEnd||host.$readOnly)return;var c=inComposition;inComposition=false;var timer=setTimeout(function(){timer=null;var str=text.value.replace(/\u2028/g,"");if(inComposition)return;if(str==c.lastValue)resetValue();else if(!c.lastValue&&str){resetValue();sendText(str)}});inputHandler=function compositionInputHandler(str){timer&&clearTimeout(timer);str=str.replace(/\u2028/g,"");if(str==c.lastValue)return"";c.lastValue&&timer&&host.undo();return str};host.onCompositionEnd();host.removeListener("mousedown",onCompositionEnd);"compositionend"==e.type&&c.range&&host.selection.setRange(c.range);var needsOnInput=!!useragent.isChrome&&useragent.isChrome>=53||!!useragent.isWebKit&&useragent.isWebKit>=603;needsOnInput&&onInput()};var syncComposition=lang.delayedCall(onCompositionUpdate,50);event.addListener(text,"compositionstart",onCompositionStart);if(useragent.isGecko)event.addListener(text,"text",function(){syncComposition.schedule()});else{event.addListener(text,"keyup",function(){syncComposition.schedule()});event.addListener(text,"keydown",function(){syncComposition.schedule()})}event.addListener(text,"compositionend",onCompositionEnd);this.getElement=function(){return text};this.setReadOnly=function(readOnly){text.readOnly=readOnly};this.onContextMenu=function(e){afterContextMenu=true;resetSelection(host.selection.isEmpty());host._emit("nativecontextmenu",{target:host,domEvent:e});this.moveToMouse(e,true)};this.moveToMouse=function(e,bringToFront){tempStyle||(tempStyle=text.style.cssText);text.style.cssText=(bringToFront?"z-index:100000;":"")+"height:"+text.style.height+";"+(useragent.isIE?"opacity:0.1;":"");var rect=host.container.getBoundingClientRect();var style=dom.computedStyle(host.container);var top=rect.top+(parseInt(style.borderTopWidth)||0);var left=rect.left+(parseInt(rect.borderLeftWidth)||0);var maxTop=rect.bottom-top-text.clientHeight-2;var move=function(e){text.style.left=e.clientX-left-2+"px";text.style.top=Math.min(e.clientY-top-2,maxTop)+"px"};move(e);if("mousedown"!=e.type)return;host.renderer.$keepTextAreaAtCursor&&(host.renderer.$keepTextAreaAtCursor=null);clearTimeout(closeTimeout);useragent.isWin&&event.capture(host.container,move,onContextMenuClose)};this.onContextMenuClose=onContextMenuClose;var closeTimeout;function onContextMenuClose(){clearTimeout(closeTimeout);closeTimeout=setTimeout(function(){if(tempStyle){text.style.cssText=tempStyle;tempStyle=""}if(null==host.renderer.$keepTextAreaAtCursor){host.renderer.$keepTextAreaAtCursor=true;host.renderer.$moveTextAreaToCursor()}},0)}var onContextMenu=function(e){host.textInput.onContextMenu(e);onContextMenuClose()};event.addListener(text,"mouseup",onContextMenu);event.addListener(text,"mousedown",function(e){e.preventDefault();onContextMenuClose()});event.addListener(host.renderer.scroller,"contextmenu",onContextMenu);event.addListener(text,"contextmenu",onContextMenu)};exports.TextInput=TextInput});ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(acequire,exports,module){"use strict";acequire("../lib/dom");acequire("../lib/event");var useragent=acequire("../lib/useragent");var DRAG_OFFSET=0;var SCROLL_COOLDOWN_T=250;function DefaultHandlers(mouseHandler){mouseHandler.$clickSelection=null;var editor=mouseHandler.editor;editor.setDefaultHandler("mousedown",this.onMouseDown.bind(mouseHandler));editor.setDefaultHandler("dblclick",this.onDoubleClick.bind(mouseHandler));editor.setDefaultHandler("tripleclick",this.onTripleClick.bind(mouseHandler));editor.setDefaultHandler("quadclick",this.onQuadClick.bind(mouseHandler));editor.setDefaultHandler("mousewheel",this.onMouseWheel.bind(mouseHandler));editor.setDefaultHandler("touchmove",this.onTouchMove.bind(mouseHandler));var exports=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];exports.forEach(function(x){mouseHandler[x]=this[x]},this);mouseHandler.selectByLines=this.extendSelectionBy.bind(mouseHandler,"getLineRange");mouseHandler.selectByWords=this.extendSelectionBy.bind(mouseHandler,"getWordRange")}(function(){this.onMouseDown=function(ev){var inSelection=ev.inSelection();var pos=ev.getDocumentPosition();this.mousedownEvent=ev;var editor=this.editor;var button=ev.getButton();if(0!==button){var selectionRange=editor.getSelectionRange();var selectionEmpty=selectionRange.isEmpty();editor.$blockScrolling++;(selectionEmpty||1==button)&&editor.selection.moveToPosition(pos);editor.$blockScrolling--;if(2==button){editor.textInput.onContextMenu(ev.domEvent);useragent.isMozilla||ev.preventDefault()}return}this.mousedownEvent.time=Date.now();if(inSelection&&!editor.isFocused()){editor.focus();if(this.$focusTimout&&!this.$clickSelection&&!editor.inMultiSelectMode){this.setState("focusWait");this.captureMouse(ev);return}}this.captureMouse(ev);this.startSelect(pos,ev.domEvent._clicks>1);return ev.preventDefault()};this.startSelect=function(pos,waitForClickSelection){pos=pos||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var editor=this.editor;editor.$blockScrolling++;this.mousedownEvent.getShiftKey()?editor.selection.selectToPosition(pos):waitForClickSelection||editor.selection.moveToPosition(pos);waitForClickSelection||this.select();editor.renderer.scroller.setCapture&&editor.renderer.scroller.setCapture();editor.setStyle("ace_selecting");this.setState("select");editor.$blockScrolling--};this.select=function(){var anchor,editor=this.editor;var cursor=editor.renderer.screenToTextCoordinates(this.x,this.y);editor.$blockScrolling++;if(this.$clickSelection){var cmp=this.$clickSelection.comparePoint(cursor);if(-1==cmp)anchor=this.$clickSelection.end;else if(1==cmp)anchor=this.$clickSelection.start;else{var orientedRange=calcRangeOrientation(this.$clickSelection,cursor);cursor=orientedRange.cursor;anchor=orientedRange.anchor}editor.selection.setSelectionAnchor(anchor.row,anchor.column)}editor.selection.selectToPosition(cursor);editor.$blockScrolling--;editor.renderer.scrollCursorIntoView()};this.extendSelectionBy=function(unitName){var anchor,editor=this.editor;var cursor=editor.renderer.screenToTextCoordinates(this.x,this.y);var range=editor.selection[unitName](cursor.row,cursor.column);editor.$blockScrolling++;if(this.$clickSelection){var cmpStart=this.$clickSelection.comparePoint(range.start);var cmpEnd=this.$clickSelection.comparePoint(range.end);if(-1==cmpStart&&cmpEnd<=0){anchor=this.$clickSelection.end;range.end.row==cursor.row&&range.end.column==cursor.column||(cursor=range.start)}else if(1==cmpEnd&&cmpStart>=0){anchor=this.$clickSelection.start;range.start.row==cursor.row&&range.start.column==cursor.column||(cursor=range.end)}else if(-1==cmpStart&&1==cmpEnd){cursor=range.end;anchor=range.start}else{var orientedRange=calcRangeOrientation(this.$clickSelection,cursor);cursor=orientedRange.cursor;anchor=orientedRange.anchor}editor.selection.setSelectionAnchor(anchor.row,anchor.column)}editor.selection.selectToPosition(cursor);editor.$blockScrolling--;editor.renderer.scrollCursorIntoView()};this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null;this.editor.unsetStyle("ace_selecting");this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()};this.focusWait=function(){var distance=calcDistance(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);var time=Date.now();(distance>DRAG_OFFSET||time-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())};this.onDoubleClick=function(ev){var pos=ev.getDocumentPosition();var editor=this.editor;var session=editor.session;var range=session.getBracketRange(pos);if(range){if(range.isEmpty()){range.start.column--;range.end.column++}this.setState("select")}else{range=editor.selection.getWordRange(pos.row,pos.column);this.setState("selectByWords")}this.$clickSelection=range;this.select()};this.onTripleClick=function(ev){var pos=ev.getDocumentPosition();var editor=this.editor;this.setState("selectByLines");var range=editor.getSelectionRange();if(range.isMultiLine()&&range.contains(pos.row,pos.column)){this.$clickSelection=editor.selection.getLineRange(range.start.row);this.$clickSelection.end=editor.selection.getLineRange(range.end.row).end}else this.$clickSelection=editor.selection.getLineRange(pos.row);this.select()};this.onQuadClick=function(ev){var editor=this.editor;editor.selectAll();this.$clickSelection=editor.getSelectionRange();this.setState("selectAll")};this.onMouseWheel=function(ev){if(ev.getAccelKey())return;if(ev.getShiftKey()&&ev.wheelY&&!ev.wheelX){ev.wheelX=ev.wheelY;ev.wheelY=0}var editor=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var prevScroll=this.$lastScroll;var t=ev.domEvent.timeStamp;var dt=t-prevScroll.t;var vx=ev.wheelX/dt;var vy=ev.wheelY/dt;if(dt<SCROLL_COOLDOWN_T){vx=(vx+prevScroll.vx)/2;vy=(vy+prevScroll.vy)/2}var direction=Math.abs(vx/vy);var canScroll=false;direction>=1&&editor.renderer.isScrollableBy(ev.wheelX*ev.speed,0)&&(canScroll=true);direction<=1&&editor.renderer.isScrollableBy(0,ev.wheelY*ev.speed)&&(canScroll=true);if(canScroll)prevScroll.allowed=t;else if(t-prevScroll.allowed<SCROLL_COOLDOWN_T){var isSlower=Math.abs(vx)<=1.1*Math.abs(prevScroll.vx)&&Math.abs(vy)<=1.1*Math.abs(prevScroll.vy);if(isSlower){canScroll=true;prevScroll.allowed=t}else prevScroll.allowed=0}prevScroll.t=t;prevScroll.vx=vx;prevScroll.vy=vy;if(canScroll){editor.renderer.scrollBy(ev.wheelX*ev.speed,ev.wheelY*ev.speed);return ev.stop()}};this.onTouchMove=function(ev){this.editor._emit("mousewheel",ev)}}).call(DefaultHandlers.prototype);exports.DefaultHandlers=DefaultHandlers;function calcDistance(ax,ay,bx,by){return Math.sqrt(Math.pow(bx-ax,2)+Math.pow(by-ay,2))}function calcRangeOrientation(range,cursor){if(range.start.row==range.end.row)var cmp=2*cursor.column-range.start.column-range.end.column;else if(range.start.row!=range.end.row-1||range.start.column||range.end.column)cmp=2*cursor.row-range.start.row-range.end.row;else var cmp=cursor.column-4;return cmp<0?{cursor:range.start,anchor:range.end}:{cursor:range.end,anchor:range.start}}});ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],function(acequire,exports,module){"use strict";acequire("./lib/oop");var dom=acequire("./lib/dom");function Tooltip(parentNode){this.isOpen=false;this.$element=null;this.$parentNode=parentNode}(function(){this.$init=function(){this.$element=dom.createElement("div");this.$element.className="ace_tooltip";this.$element.style.display="none";this.$parentNode.appendChild(this.$element);return this.$element};this.getElement=function(){return this.$element||this.$init()};this.setText=function(text){dom.setInnerText(this.getElement(),text)};this.setHtml=function(html){this.getElement().innerHTML=html};this.setPosition=function(x,y){this.getElement().style.left=x+"px";this.getElement().style.top=y+"px"};this.setClassName=function(className){dom.addCssClass(this.getElement(),className)};this.show=function(text,x,y){null!=text&&this.setText(text);null!=x&&null!=y&&this.setPosition(x,y);if(!this.isOpen){this.getElement().style.display="block";this.isOpen=true}};this.hide=function(){if(this.isOpen){this.getElement().style.display="none";this.isOpen=false}};this.getHeight=function(){return this.getElement().offsetHeight};this.getWidth=function(){return this.getElement().offsetWidth};this.destroy=function(){this.isOpen=false;this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)}}).call(Tooltip.prototype);exports.Tooltip=Tooltip});ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],function(acequire,exports,module){"use strict";var dom=acequire("../lib/dom");var oop=acequire("../lib/oop");var event=acequire("../lib/event");var Tooltip=acequire("../tooltip").Tooltip;function GutterHandler(mouseHandler){var editor=mouseHandler.editor;var gutter=editor.renderer.$gutterLayer;var tooltip=new GutterTooltip(editor.container);mouseHandler.editor.setDefaultHandler("guttermousedown",function(e){if(!editor.isFocused()||0!=e.getButton())return;var gutterRegion=gutter.getRegion(e);if("foldWidgets"==gutterRegion)return;var row=e.getDocumentPosition().row;var selection=editor.session.selection;if(e.getShiftKey())selection.selectTo(row,0);else{if(2==e.domEvent.detail){editor.selectAll();return e.preventDefault()}mouseHandler.$clickSelection=editor.selection.getLineRange(row)}mouseHandler.setState("selectByLines");mouseHandler.captureMouse(e);return e.preventDefault()});var tooltipTimeout,mouseEvent,tooltipAnnotation;function showTooltip(){var row=mouseEvent.getDocumentPosition().row;var annotation=gutter.$annotations[row];if(!annotation)return hideTooltip();var maxRow=editor.session.getLength();if(row==maxRow){var screenRow=editor.renderer.pixelToScreenCoordinates(0,mouseEvent.y).row;var pos=mouseEvent.$pos;if(screenRow>editor.session.documentToScreenRow(pos.row,pos.column))return hideTooltip()}if(tooltipAnnotation==annotation)return;tooltipAnnotation=annotation.text.join("<br/>");tooltip.setHtml(tooltipAnnotation);tooltip.show();editor._signal("showGutterTooltip",tooltip);editor.on("mousewheel",hideTooltip);if(mouseHandler.$tooltipFollowsMouse)moveTooltip(mouseEvent);else{var gutterElement=mouseEvent.domEvent.target;var rect=gutterElement.getBoundingClientRect();var style=tooltip.getElement().style;style.left=rect.right+"px";style.top=rect.bottom+"px"}}function hideTooltip(){tooltipTimeout&&(tooltipTimeout=clearTimeout(tooltipTimeout));if(tooltipAnnotation){tooltip.hide();tooltipAnnotation=null;editor._signal("hideGutterTooltip",tooltip);editor.removeEventListener("mousewheel",hideTooltip)}}function moveTooltip(e){tooltip.setPosition(e.x,e.y)}mouseHandler.editor.setDefaultHandler("guttermousemove",function(e){var target=e.domEvent.target||e.domEvent.srcElement;if(dom.hasCssClass(target,"ace_fold-widget"))return hideTooltip();tooltipAnnotation&&mouseHandler.$tooltipFollowsMouse&&moveTooltip(e);mouseEvent=e;if(tooltipTimeout)return;tooltipTimeout=setTimeout(function(){tooltipTimeout=null;mouseEvent&&!mouseHandler.isMousePressed?showTooltip():hideTooltip()},50)});event.addListener(editor.renderer.$gutter,"mouseout",function(e){mouseEvent=null;if(!tooltipAnnotation||tooltipTimeout)return;tooltipTimeout=setTimeout(function(){tooltipTimeout=null;hideTooltip()},50)});editor.on("changeSession",hideTooltip)}function GutterTooltip(parentNode){Tooltip.call(this,parentNode)}oop.inherits(GutterTooltip,Tooltip);(function(){this.setPosition=function(x,y){var windowWidth=window.innerWidth||document.documentElement.clientWidth;var windowHeight=window.innerHeight||document.documentElement.clientHeight;var width=this.getWidth();var height=this.getHeight();x+=15;y+=15;x+width>windowWidth&&(x-=x+width-windowWidth);y+height>windowHeight&&(y-=20+height);Tooltip.prototype.setPosition.call(this,x,y)}}).call(GutterTooltip.prototype);exports.GutterHandler=GutterHandler});ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(acequire,exports,module){"use strict";var event=acequire("../lib/event");var useragent=acequire("../lib/useragent");var MouseEvent=exports.MouseEvent=function(domEvent,editor){this.domEvent=domEvent;this.editor=editor;this.x=this.clientX=domEvent.clientX;this.y=this.clientY=domEvent.clientY;this.$pos=null;this.$inSelection=null;this.propagationStopped=false;this.defaultPrevented=false};(function(){this.stopPropagation=function(){event.stopPropagation(this.domEvent);this.propagationStopped=true};this.preventDefault=function(){event.preventDefault(this.domEvent);this.defaultPrevented=true};this.stop=function(){this.stopPropagation();this.preventDefault()};this.getDocumentPosition=function(){if(this.$pos)return this.$pos;this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY);return this.$pos};this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var editor=this.editor;var selectionRange=editor.getSelectionRange();if(selectionRange.isEmpty())this.$inSelection=false;else{var pos=this.getDocumentPosition();this.$inSelection=selectionRange.contains(pos.row,pos.column)}return this.$inSelection};this.getButton=function(){return event.getButton(this.domEvent)};this.getShiftKey=function(){return this.domEvent.shiftKey};this.getAccelKey=useragent.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(MouseEvent.prototype)});ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(acequire,exports,module){"use strict";var dom=acequire("../lib/dom");var event=acequire("../lib/event");var useragent=acequire("../lib/useragent");var AUTOSCROLL_DELAY=200;var SCROLL_CURSOR_DELAY=200;var SCROLL_CURSOR_HYSTERESIS=5;function DragdropHandler(mouseHandler){var editor=mouseHandler.editor;var blankImage=dom.createElement("img");blankImage.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";useragent.isOpera&&(blankImage.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;");var exports=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];exports.forEach(function(x){mouseHandler[x]=this[x]},this);editor.addEventListener("mousedown",this.onMouseDown.bind(mouseHandler));var mouseTarget=editor.container;var dragSelectionMarker,x,y;var timerId,range;var dragCursor,counter=0;var dragOperation;var isInternal;var autoScrollStartTime;var cursorMovedTime;var cursorPointOnCaretMoved;this.onDragStart=function(e){if(this.cancelDrag||!mouseTarget.draggable){var self=this;setTimeout(function(){self.startSelect();self.captureMouse(e)},0);return e.preventDefault()}range=editor.getSelectionRange();var dataTransfer=e.dataTransfer;dataTransfer.effectAllowed=editor.getReadOnly()?"copy":"copyMove";if(useragent.isOpera){editor.container.appendChild(blankImage);blankImage.scrollTop=0}dataTransfer.setDragImage&&dataTransfer.setDragImage(blankImage,0,0);useragent.isOpera&&editor.container.removeChild(blankImage);dataTransfer.clearData();dataTransfer.setData("Text",editor.session.getTextRange());isInternal=true;this.setState("drag")};this.onDragEnd=function(e){mouseTarget.draggable=false;isInternal=false;this.setState(null);if(!editor.getReadOnly()){var dropEffect=e.dataTransfer.dropEffect;dragOperation||"move"!=dropEffect||editor.session.remove(editor.getSelectionRange());editor.renderer.$cursorLayer.setBlinking(true)}this.editor.unsetStyle("ace_dragging");this.editor.renderer.setCursorStyle("")};this.onDragEnter=function(e){if(editor.getReadOnly()||!canAccept(e.dataTransfer))return;x=e.clientX;y=e.clientY;dragSelectionMarker||addDragMarker();counter++;e.dataTransfer.dropEffect=dragOperation=getDropEffect(e);return event.preventDefault(e)};this.onDragOver=function(e){if(editor.getReadOnly()||!canAccept(e.dataTransfer))return;x=e.clientX;y=e.clientY;if(!dragSelectionMarker){addDragMarker();counter++}null!==onMouseMoveTimer&&(onMouseMoveTimer=null);e.dataTransfer.dropEffect=dragOperation=getDropEffect(e);return event.preventDefault(e)};this.onDragLeave=function(e){counter--;if(counter<=0&&dragSelectionMarker){clearDragMarker();dragOperation=null;return event.preventDefault(e)}};this.onDrop=function(e){if(!dragCursor)return;var dataTransfer=e.dataTransfer;if(isInternal)switch(dragOperation){case"move":range=range.contains(dragCursor.row,dragCursor.column)?{start:dragCursor,end:dragCursor}:editor.moveText(range,dragCursor);break;case"copy":range=editor.moveText(range,dragCursor,true)}else{var dropData=dataTransfer.getData("Text");range={start:dragCursor,end:editor.session.insert(dragCursor,dropData)};editor.focus();dragOperation=null}clearDragMarker();return event.preventDefault(e)};event.addListener(mouseTarget,"dragstart",this.onDragStart.bind(mouseHandler));event.addListener(mouseTarget,"dragend",this.onDragEnd.bind(mouseHandler));event.addListener(mouseTarget,"dragenter",this.onDragEnter.bind(mouseHandler));event.addListener(mouseTarget,"dragover",this.onDragOver.bind(mouseHandler));event.addListener(mouseTarget,"dragleave",this.onDragLeave.bind(mouseHandler));event.addListener(mouseTarget,"drop",this.onDrop.bind(mouseHandler));function scrollCursorIntoView(cursor,prevCursor){var now=Date.now();var vMovement=!prevCursor||cursor.row!=prevCursor.row;var hMovement=!prevCursor||cursor.column!=prevCursor.column;if(!cursorMovedTime||vMovement||hMovement){editor.$blockScrolling+=1;editor.moveCursorToPosition(cursor);editor.$blockScrolling-=1;cursorMovedTime=now;cursorPointOnCaretMoved={x:x,y:y}}else{var distance=calcDistance(cursorPointOnCaretMoved.x,cursorPointOnCaretMoved.y,x,y);if(distance>SCROLL_CURSOR_HYSTERESIS)cursorMovedTime=null;else if(now-cursorMovedTime>=SCROLL_CURSOR_DELAY){editor.renderer.scrollCursorIntoView();cursorMovedTime=null}}}function autoScroll(cursor,prevCursor){var now=Date.now();var lineHeight=editor.renderer.layerConfig.lineHeight;var characterWidth=editor.renderer.layerConfig.characterWidth;var editorRect=editor.renderer.scroller.getBoundingClientRect();var offsets={x:{left:x-editorRect.left,right:editorRect.right-x},y:{top:y-editorRect.top,bottom:editorRect.bottom-y}};var nearestXOffset=Math.min(offsets.x.left,offsets.x.right);var nearestYOffset=Math.min(offsets.y.top,offsets.y.bottom);var scrollCursor={row:cursor.row,column:cursor.column};nearestXOffset/characterWidth<=2&&(scrollCursor.column+=offsets.x.left<offsets.x.right?-3:2);nearestYOffset/lineHeight<=1&&(scrollCursor.row+=offsets.y.top<offsets.y.bottom?-1:1);var vScroll=cursor.row!=scrollCursor.row;var hScroll=cursor.column!=scrollCursor.column;var vMovement=!prevCursor||cursor.row!=prevCursor.row;vScroll||hScroll&&!vMovement?autoScrollStartTime?now-autoScrollStartTime>=AUTOSCROLL_DELAY&&editor.renderer.scrollCursorIntoView(scrollCursor):autoScrollStartTime=now:autoScrollStartTime=null}function onDragInterval(){var prevCursor=dragCursor;dragCursor=editor.renderer.screenToTextCoordinates(x,y);scrollCursorIntoView(dragCursor,prevCursor);autoScroll(dragCursor,prevCursor)}function addDragMarker(){range=editor.selection.toOrientedRange();dragSelectionMarker=editor.session.addMarker(range,"ace_selection",editor.getSelectionStyle());editor.clearSelection();editor.isFocused()&&editor.renderer.$cursorLayer.setBlinking(false);clearInterval(timerId);onDragInterval();timerId=setInterval(onDragInterval,20);counter=0;event.addListener(document,"mousemove",onMouseMove)}function clearDragMarker(){clearInterval(timerId);editor.session.removeMarker(dragSelectionMarker);dragSelectionMarker=null;editor.$blockScrolling+=1;editor.selection.fromOrientedRange(range);editor.$blockScrolling-=1;editor.isFocused()&&!isInternal&&editor.renderer.$cursorLayer.setBlinking(!editor.getReadOnly());range=null;dragCursor=null;counter=0;autoScrollStartTime=null;cursorMovedTime=null;event.removeListener(document,"mousemove",onMouseMove)}var onMouseMoveTimer=null;function onMouseMove(){null==onMouseMoveTimer&&(onMouseMoveTimer=setTimeout(function(){null!=onMouseMoveTimer&&dragSelectionMarker&&clearDragMarker()},20))}function canAccept(dataTransfer){var types=dataTransfer.types;return!types||Array.prototype.some.call(types,function(type){return"text/plain"==type||"Text"==type})}function getDropEffect(e){var copyAllowed=["copy","copymove","all","uninitialized"];var moveAllowed=["move","copymove","linkmove","all","uninitialized"];var copyModifierState=useragent.isMac?e.altKey:e.ctrlKey;var effectAllowed="uninitialized";try{effectAllowed=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var dropEffect="none";copyModifierState&&copyAllowed.indexOf(effectAllowed)>=0?dropEffect="copy":moveAllowed.indexOf(effectAllowed)>=0?dropEffect="move":copyAllowed.indexOf(effectAllowed)>=0&&(dropEffect="copy");return dropEffect}}(function(){this.dragWait=function(){var interval=Date.now()-this.mousedownEvent.time;interval>this.editor.getDragDelay()&&this.startDrag()};this.dragWaitEnd=function(){var target=this.editor.container;target.draggable=false;this.startSelect(this.mousedownEvent.getDocumentPosition());this.selectEnd()};this.dragReadyEnd=function(e){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly());this.editor.unsetStyle("ace_dragging");this.editor.renderer.setCursorStyle("");this.dragWaitEnd()};this.startDrag=function(){this.cancelDrag=false;var editor=this.editor;var target=editor.container;target.draggable=true;editor.renderer.$cursorLayer.setBlinking(false);editor.setStyle("ace_dragging");var cursorStyle=useragent.isWin?"default":"move";editor.renderer.setCursorStyle(cursorStyle);this.setState("dragReady")};this.onMouseDrag=function(e){var target=this.editor.container;if(useragent.isIE&&"dragReady"==this.state){var distance=calcDistance(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);distance>3&&target.dragDrop()}if("dragWait"===this.state){distance=calcDistance(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);if(distance>0){target.draggable=false;this.startSelect(this.mousedownEvent.getDocumentPosition())}}};this.onMouseDown=function(e){if(!this.$dragEnabled)return;this.mousedownEvent=e;var editor=this.editor;var inSelection=e.inSelection();var button=e.getButton();var clickCount=e.domEvent.detail||1;if(1===clickCount&&0===button&&inSelection){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var eventTarget=e.domEvent.target||e.domEvent.srcElement;"unselectable"in eventTarget&&(eventTarget.unselectable="on");if(editor.getDragDelay()){if(useragent.isWebKit){this.cancelDrag=true;var mouseTarget=editor.container;mouseTarget.draggable=true}this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this));e.defaultPrevented=true}}}).call(DragdropHandler.prototype);function calcDistance(ax,ay,bx,by){return Math.sqrt(Math.pow(bx-ax,2)+Math.pow(by-ay,2))}exports.DragdropHandler=DragdropHandler});ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(acequire,exports,module){"use strict";var dom=acequire("./dom");exports.get=function(url,callback){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.onreadystatechange=function(){4===xhr.readyState&&callback(xhr.responseText)};xhr.send(null)};exports.loadScript=function(path,callback){var head=dom.getDocumentHead();var s=document.createElement("script");s.src=path;head.appendChild(s);s.onload=s.onreadystatechange=function(_,isAbort){if(isAbort||!s.readyState||"loaded"==s.readyState||"complete"==s.readyState){s=s.onload=s.onreadystatechange=null;isAbort||callback()}}};exports.qualifyURL=function(url){var a=document.createElement("a");a.href=url;return a.href}});ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports,module){"use strict";var EventEmitter={};var stopPropagation=function(){this.propagationStopped=true};var preventDefault=function(){this.defaultPrevented=true};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={});this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[];var defaultHandler=this._defaultHandlers[eventName];if(!listeners.length&&!defaultHandler)return;"object"==typeof e&&e||(e={});e.type||(e.type=eventName);e.stopPropagation||(e.stopPropagation=stopPropagation);e.preventDefault||(e.preventDefault=preventDefault);listeners=listeners.slice();for(var i=0;i<listeners.length;i++){listeners[i](e,this);if(e.propagationStopped)break}if(defaultHandler&&!e.defaultPrevented)return defaultHandler(e,this)};EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(!listeners)return;listeners=listeners.slice();for(var i=0;i<listeners.length;i++)listeners[i](e,this)};EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback);callback.apply(null,arguments)})};EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;handlers||(handlers=this._defaultHandlers={_disabled_:{}});if(handlers[eventName]){var old=handlers[eventName];var disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]);disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback};EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(!handlers)return;var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback){handlers[eventName];disabled&&this.setDefaultHandler(eventName,disabled.pop())}else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}};EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];listeners||(listeners=this._eventRegistry[eventName]=[]);-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback);return callback};EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(!listeners)return;var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)};EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])};exports.EventEmitter=EventEmitter});ace.define("ace/lib/app_config",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports,module){var oop=acequire("./oop");var EventEmitter=acequire("./event_emitter").EventEmitter;var optionsProvider={setOptions:function(optList){Object.keys(optList).forEach(function(key){this.setOption(key,optList[key])},this)},getOptions:function(optionNames){var result={};if(optionNames){if(!Array.isArray(optionNames)){result=optionNames;optionNames=Object.keys(result)}}else optionNames=Object.keys(this.$options);optionNames.forEach(function(key){result[key]=this.getOption(key)},this);return result},setOption:function(name,value){if(this["$"+name]===value)return;var opt=this.$options[name];if(!opt)return warn('misspelled option "'+name+'"');if(opt.forwardTo)return this[opt.forwardTo]&&this[opt.forwardTo].setOption(name,value);opt.handlesSet||(this["$"+name]=value);opt&&opt.set&&opt.set.call(this,value)},getOption:function(name){var opt=this.$options[name];if(!opt)return warn('misspelled option "'+name+'"');if(opt.forwardTo)return this[opt.forwardTo]&&this[opt.forwardTo].getOption(name);return opt&&opt.get?opt.get.call(this):this["$"+name]}};function warn(message){"undefined"!=typeof console&&console.warn&&console.warn.apply(console,arguments)}function reportError(msg,data){var e=new Error(msg);e.data=data;"object"==typeof console&&console.error&&console.error(e);setTimeout(function(){throw e})}var AppConfig=function(){this.$defaultOptions={}};(function(){oop.implement(this,EventEmitter);this.defineOptions=function(obj,path,options){obj.$options||(this.$defaultOptions[path]=obj.$options={});Object.keys(options).forEach(function(key){var opt=options[key];"string"==typeof opt&&(opt={forwardTo:opt});opt.name||(opt.name=key);obj.$options[opt.name]=opt;"initialValue"in opt&&(obj["$"+opt.name]=opt.initialValue)});oop.implement(obj,optionsProvider);return this};this.resetOptions=function(obj){Object.keys(obj.$options).forEach(function(key){var opt=obj.$options[key];"value"in opt&&obj.setOption(key,opt.value)})};this.setDefaultValue=function(path,name,value){var opts=this.$defaultOptions[path]||(this.$defaultOptions[path]={});opts[name]&&(opts.forwardTo?this.setDefaultValue(opts.forwardTo,name,value):opts[name].value=value)};this.setDefaultValues=function(path,optionHash){Object.keys(optionHash).forEach(function(key){this.setDefaultValue(path,key,optionHash[key])},this)};this.warn=warn;this.reportError=reportError}).call(AppConfig.prototype);exports.AppConfig=AppConfig});ace.define("ace/config",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/lib/net","ace/lib/app_config"],function(acequire,exports,module){var lang=acequire("./lib/lang");acequire("./lib/oop");var net=acequire("./lib/net");var AppConfig=acequire("./lib/app_config").AppConfig;module.exports=exports=new AppConfig;var global=function(){return this||"undefined"!=typeof window&&window}();var options={packaged:false,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{}};exports.get=function(key){if(!options.hasOwnProperty(key))throw new Error("Unknown config key: "+key);return options[key]};exports.set=function(key,value){if(!options.hasOwnProperty(key))throw new Error("Unknown config key: "+key);options[key]=value};exports.all=function(){return lang.copyObject(options)};exports.moduleUrl=function(name,component){if(options.$moduleUrls[name])return options.$moduleUrls[name];var parts=name.split("/");component=component||parts[parts.length-2]||"";var sep="snippets"==component?"/":"-";var base=parts[parts.length-1];if("worker"==component&&"-"==sep){var re=new RegExp("^"+component+"[\\-_]|[\\-_]"+component+"$","g");base=base.replace(re,"")}(!base||base==component)&&parts.length>1&&(base=parts[parts.length-2]);var path=options[component+"Path"];null==path?path=options.basePath:"/"==sep&&(component=sep="");path&&"/"!=path.slice(-1)&&(path+="/");return path+component+sep+base+this.get("suffix")};exports.setModuleUrl=function(name,subst){return options.$moduleUrls[name]=subst};exports.$loading={};exports.loadModule=function(moduleName,onLoad){var module,moduleType;if(Array.isArray(moduleName)){moduleType=moduleName[0];moduleName=moduleName[1]}try{module=acequire(moduleName)}catch(e){}if(module&&!exports.$loading[moduleName])return onLoad&&onLoad(module);exports.$loading[moduleName]||(exports.$loading[moduleName]=[]);exports.$loading[moduleName].push(onLoad);if(exports.$loading[moduleName].length>1)return;var afterLoad=function(){acequire([moduleName],function(module){exports._emit("load.module",{name:moduleName,module:module});var listeners=exports.$loading[moduleName];exports.$loading[moduleName]=null;listeners.forEach(function(onLoad){onLoad&&onLoad(module)})})};if(!exports.get("packaged"))return afterLoad();net.loadScript(exports.moduleUrl(moduleName,moduleType),afterLoad)};init(true);function init(packaged){if(!global||!global.document)return;options.packaged=packaged||acequire.packaged||module.packaged||global.define&&__webpack_require__(389).packaged;var scriptOptions={};var scriptUrl="";var currentScript=document.currentScript||document._currentScript;var currentDocument=currentScript&&currentScript.ownerDocument||document;var scripts=currentDocument.getElementsByTagName("script");for(var i=0;i<scripts.length;i++){var script=scripts[i];var src=script.src||script.getAttribute("src");if(!src)continue;var attributes=script.attributes;for(var j=0,l=attributes.length;j<l;j++){var attr=attributes[j];0===attr.name.indexOf("data-ace-")&&(scriptOptions[deHyphenate(attr.name.replace(/^data-ace-/,""))]=attr.value)}var m=src.match(/^(.*)\/ace(\-\w+)?\.js(\?|$)/);m&&(scriptUrl=m[1])}if(scriptUrl){scriptOptions.base=scriptOptions.base||scriptUrl;scriptOptions.packaged=true}scriptOptions.basePath=scriptOptions.base;scriptOptions.workerPath=scriptOptions.workerPath||scriptOptions.base;scriptOptions.modePath=scriptOptions.modePath||scriptOptions.base;scriptOptions.themePath=scriptOptions.themePath||scriptOptions.base;delete scriptOptions.base;for(var key in scriptOptions)"undefined"!==typeof scriptOptions[key]&&exports.set(key,scriptOptions[key])}exports.init=init;function deHyphenate(str){return str.replace(/-(.)/g,function(m,m1){return m1.toUpperCase()})}});ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],function(acequire,exports,module){"use strict";var event=acequire("../lib/event");var useragent=acequire("../lib/useragent");var DefaultHandlers=acequire("./default_handlers").DefaultHandlers;var DefaultGutterHandler=acequire("./default_gutter_handler").GutterHandler;var MouseEvent=acequire("./mouse_event").MouseEvent;var DragdropHandler=acequire("./dragdrop_handler").DragdropHandler;var config=acequire("../config");var MouseHandler=function(editor){var _self=this;this.editor=editor;new DefaultHandlers(this);new DefaultGutterHandler(this);new DragdropHandler(this);var focusEditor=function(e){var windowBlurred=!document.hasFocus||!document.hasFocus()||!editor.isFocused()&&document.activeElement==(editor.textInput&&editor.textInput.getElement());windowBlurred&&window.focus();editor.focus()};var mouseTarget=editor.renderer.getMouseEventTarget();event.addListener(mouseTarget,"click",this.onMouseEvent.bind(this,"click"));event.addListener(mouseTarget,"mousemove",this.onMouseMove.bind(this,"mousemove"));event.addMultiMouseDownListener([mouseTarget,editor.renderer.scrollBarV&&editor.renderer.scrollBarV.inner,editor.renderer.scrollBarH&&editor.renderer.scrollBarH.inner,editor.textInput&&editor.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent");event.addMouseWheelListener(editor.container,this.onMouseWheel.bind(this,"mousewheel"));event.addTouchMoveListener(editor.container,this.onTouchMove.bind(this,"touchmove"));var gutterEl=editor.renderer.$gutter;event.addListener(gutterEl,"mousedown",this.onMouseEvent.bind(this,"guttermousedown"));event.addListener(gutterEl,"click",this.onMouseEvent.bind(this,"gutterclick"));event.addListener(gutterEl,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick"));event.addListener(gutterEl,"mousemove",this.onMouseEvent.bind(this,"guttermousemove"));event.addListener(mouseTarget,"mousedown",focusEditor);event.addListener(gutterEl,"mousedown",focusEditor);if(useragent.isIE&&editor.renderer.scrollBarV){event.addListener(editor.renderer.scrollBarV.element,"mousedown",focusEditor);event.addListener(editor.renderer.scrollBarH.element,"mousedown",focusEditor)}editor.on("mousemove",function(e){if(_self.state||_self.$dragDelay||!_self.$dragEnabled)return;var character=editor.renderer.screenToTextCoordinates(e.x,e.y);var range=editor.session.selection.getRange();var renderer=editor.renderer;!range.isEmpty()&&range.insideStart(character.row,character.column)?renderer.setCursorStyle("default"):renderer.setCursorStyle("")})};(function(){this.onMouseEvent=function(name,e){this.editor._emit(name,new MouseEvent(e,this.editor))};this.onMouseMove=function(name,e){var listeners=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;if(!listeners||!listeners.length)return;this.editor._emit(name,new MouseEvent(e,this.editor))};this.onMouseWheel=function(name,e){var mouseEvent=new MouseEvent(e,this.editor);mouseEvent.speed=2*this.$scrollSpeed;mouseEvent.wheelX=e.wheelX;mouseEvent.wheelY=e.wheelY;this.editor._emit(name,mouseEvent)};this.onTouchMove=function(name,e){var mouseEvent=new MouseEvent(e,this.editor);mouseEvent.speed=1;mouseEvent.wheelX=e.wheelX;mouseEvent.wheelY=e.wheelY;this.editor._emit(name,mouseEvent)};this.setState=function(state){this.state=state};this.captureMouse=function(ev,mouseMoveHandler){this.x=ev.x;this.y=ev.y;this.isMousePressed=true;var renderer=this.editor.renderer;renderer.$keepTextAreaAtCursor&&(renderer.$keepTextAreaAtCursor=null);var self=this;var onMouseMove=function(e){if(!e)return;if(useragent.isWebKit&&!e.which&&self.releaseMouse)return self.releaseMouse();self.x=e.clientX;self.y=e.clientY;mouseMoveHandler&&mouseMoveHandler(e);self.mouseEvent=new MouseEvent(e,self.editor);self.$mouseMoved=true};var onCaptureEnd=function(e){clearInterval(timerId);onCaptureInterval();self[self.state+"End"]&&self[self.state+"End"](e);self.state="";if(null==renderer.$keepTextAreaAtCursor){renderer.$keepTextAreaAtCursor=true;renderer.$moveTextAreaToCursor()}self.isMousePressed=false;self.$onCaptureMouseMove=self.releaseMouse=null;e&&self.onMouseEvent("mouseup",e)};var onCaptureInterval=function(){self[self.state]&&self[self.state]();self.$mouseMoved=false};if(useragent.isOldIE&&"dblclick"==ev.domEvent.type)return setTimeout(function(){onCaptureEnd(ev)});self.$onCaptureMouseMove=onMouseMove;self.releaseMouse=event.capture(this.editor.container,onMouseMove,onCaptureEnd);var timerId=setInterval(onCaptureInterval,20)};this.releaseMouse=null;this.cancelContextMenu=function(){var stop=function(e){if(e&&e.domEvent&&"contextmenu"!=e.domEvent.type)return;this.editor.off("nativecontextmenu",stop);e&&e.domEvent&&event.stopEvent(e.domEvent)}.bind(this);setTimeout(stop,10);this.editor.on("nativecontextmenu",stop)}}).call(MouseHandler.prototype);config.defineOptions(MouseHandler.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:useragent.isMac?150:0},dragEnabled:{initialValue:true},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:true}});exports.MouseHandler=MouseHandler});ace.define("ace/mouse/fold_handler",["require","exports","module"],function(acequire,exports,module){"use strict";function FoldHandler(editor){editor.on("click",function(e){var position=e.getDocumentPosition();var session=editor.session;var fold=session.getFoldAt(position.row,position.column,1);if(fold){e.getAccelKey()?session.removeFold(fold):session.expandFold(fold);e.stop()}});editor.on("gutterclick",function(e){var gutterRegion=editor.renderer.$gutterLayer.getRegion(e);if("foldWidgets"==gutterRegion){var row=e.getDocumentPosition().row;var session=editor.session;session.foldWidgets&&session.foldWidgets[row]&&editor.session.onFoldWidgetClick(row,e);editor.isFocused()||editor.focus();e.stop()}});editor.on("gutterdblclick",function(e){var gutterRegion=editor.renderer.$gutterLayer.getRegion(e);if("foldWidgets"==gutterRegion){var row=e.getDocumentPosition().row;var session=editor.session;var data=session.getParentFoldRangeData(row,true);var range=data.range||data.firstRange;if(range){row=range.start.row;var fold=session.getFoldAt(row,session.getLine(row).length,1);if(fold)session.removeFold(fold);else{session.addFold("...",range);editor.renderer.scrollCursorIntoView({row:range.start.row,column:0})}}e.stop()}})}exports.FoldHandler=FoldHandler});ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(acequire,exports,module){"use strict";var keyUtil=acequire("../lib/keys");var event=acequire("../lib/event");var KeyBinding=function(editor){this.$editor=editor;this.$data={editor:editor};this.$handlers=[];this.setDefaultHandler(editor.commands)};(function(){this.setDefaultHandler=function(kb){this.removeKeyboardHandler(this.$defaultHandler);this.$defaultHandler=kb;this.addKeyboardHandler(kb,0)};this.setKeyboardHandler=function(kb){var h=this.$handlers;if(h[h.length-1]==kb)return;while(h[h.length-1]&&h[h.length-1]!=this.$defaultHandler)this.removeKeyboardHandler(h[h.length-1]);this.addKeyboardHandler(kb,1)};this.addKeyboardHandler=function(kb,pos){if(!kb)return;"function"!=typeof kb||kb.handleKeyboard||(kb.handleKeyboard=kb);var i=this.$handlers.indexOf(kb);-1!=i&&this.$handlers.splice(i,1);void 0==pos?this.$handlers.push(kb):this.$handlers.splice(pos,0,kb);-1==i&&kb.attach&&kb.attach(this.$editor)};this.removeKeyboardHandler=function(kb){var i=this.$handlers.indexOf(kb);if(-1==i)return false;this.$handlers.splice(i,1);kb.detach&&kb.detach(this.$editor);return true};this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]};this.getStatusText=function(){var data=this.$data;var editor=data.editor;return this.$handlers.map(function(h){return h.getStatusText&&h.getStatusText(editor,data)||""}).filter(Boolean).join(" ")};this.$callKeyboardHandlers=function(hashId,keyString,keyCode,e){var toExecute;var success=false;var commands=this.$editor.commands;for(var i=this.$handlers.length;i--;){toExecute=this.$handlers[i].handleKeyboard(this.$data,hashId,keyString,keyCode,e);if(!toExecute||!toExecute.command)continue;success="null"==toExecute.command||commands.exec(toExecute.command,this.$editor,toExecute.args,e);success&&e&&-1!=hashId&&true!=toExecute.passEvent&&true!=toExecute.command.passEvent&&event.stopEvent(e);if(success)break}if(!success&&-1==hashId){toExecute={command:"insertstring"};success=commands.exec("insertstring",this.$editor,keyString)}success&&this.$editor._signal&&this.$editor._signal("keyboardActivity",toExecute);return success};this.onCommandKey=function(e,hashId,keyCode){var keyString=keyUtil.keyCodeToString(keyCode);this.$callKeyboardHandlers(hashId,keyString,keyCode,e)};this.onTextInput=function(text){this.$callKeyboardHandlers(-1,text)}}).call(KeyBinding.prototype);exports.KeyBinding=KeyBinding});ace.define("ace/lib/bidiutil",["require","exports","module"],function(acequire,exports,module){"use strict";var dir=0,hiLevel=0;var lastArabic=false,hasUBAT_B=false,hasUBAT_S=false;var impTab_LTR=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]];var impTab_RTL=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]];var LTR=0,RTL=1;var L=0;var R=1;var EN=2;var AN=3;var ON=4;var B=5;var S=6;var AL=7;var WS=8;var CS=9;var ES=10;var ET=11;var NSM=12;var LRE=13;var RLE=14;var PDF=15;var LRO=16;var RLO=17;var BN=18;var UnicodeTBL00=[BN,BN,BN,BN,BN,BN,BN,BN,BN,S,B,S,WS,B,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,B,B,B,S,WS,ON,ON,ET,ET,ET,ON,ON,ON,ON,ON,ES,CS,ES,CS,CS,EN,EN,EN,EN,EN,EN,EN,EN,EN,EN,CS,ON,ON,ON,ON,ON,ON,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,ON,ON,ON,ON,ON,ON,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,L,ON,ON,ON,ON,BN,BN,BN,BN,BN,BN,B,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,BN,CS,ON,ET,ET,ET,ET,ON,ON,ON,ON,L,ON,ON,BN,ON,ON,ET,ET,EN,EN,ON,L,ON,ON,ON,EN,L,ON,ON,ON,ON,ON];var UnicodeTBL20=[WS,WS,WS,WS,WS,WS,WS,WS,WS,WS,WS,BN,BN,BN,L,R,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,WS,B,LRE,RLE,PDF,LRO,RLO,CS,ET,ET,ET,ET,ET,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,CS,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,ON,WS];function _computeLevels(chars,levels,len,charTypes){var impTab=dir?impTab_RTL:impTab_LTR,prevState=null,newClass=null,newLevel=null,newState=0,action=null,cond=null,condPos=-1,i=null,ix=null,classes=[];if(!charTypes)for(i=0,charTypes=[];i<len;i++)charTypes[i]=_getCharacterType(chars[i]);hiLevel=dir;lastArabic=false;false;hasUBAT_B=false;hasUBAT_S=false;for(ix=0;ix<len;ix++){prevState=newState;classes[ix]=newClass=_getCharClass(chars,charTypes,classes,ix);newState=impTab[prevState][newClass];action=240&newState;newState&=15;levels[ix]=newLevel=impTab[newState][5];if(action>0)if(16==action){for(i=condPos;i<ix;i++)levels[i]=1;condPos=-1}else condPos=-1;cond=impTab[newState][6];if(cond)-1==condPos&&(condPos=ix);else if(condPos>-1){for(i=condPos;i<ix;i++)levels[i]=newLevel;condPos=-1}charTypes[ix]==B&&(levels[ix]=0);hiLevel|=newLevel}if(hasUBAT_S)for(i=0;i<len;i++)if(charTypes[i]==S){levels[i]=dir;for(var j=i-1;j>=0;j--){if(charTypes[j]!=WS)break;levels[j]=dir}}}function _invertLevel(lev,levels,_array){if(hiLevel<lev)return;if(1==lev&&dir==RTL&&!hasUBAT_B){_array.reverse();return}var end,lo,hi,tmp,len=_array.length,start=0;while(start<len){if(levels[start]>=lev){end=start+1;while(end<len&&levels[end]>=lev)end++;for(lo=start,hi=end-1;lo<hi;lo++,hi--){tmp=_array[lo];_array[lo]=_array[hi];_array[hi]=tmp}start=end}start++}}function _getCharClass(chars,types,classes,ix){var wType,nType,len,i,cType=types[ix];switch(cType){case L:case R:lastArabic=false;case ON:case AN:return cType;case EN:return lastArabic?AN:EN;case AL:lastArabic=true;true;return R;case WS:return ON;case CS:if(ix<1||ix+1>=types.length||(wType=classes[ix-1])!=EN&&wType!=AN||(nType=types[ix+1])!=EN&&nType!=AN)return ON;lastArabic&&(nType=AN);return nType==wType?nType:ON;case ES:wType=ix>0?classes[ix-1]:B;if(wType==EN&&ix+1<types.length&&types[ix+1]==EN)return EN;return ON;case ET:if(ix>0&&classes[ix-1]==EN)return EN;if(lastArabic)return ON;i=ix+1;len=types.length;while(i<len&&types[i]==ET)i++;if(i<len&&types[i]==EN)return EN;return ON;case NSM:len=types.length;i=ix+1;while(i<len&&types[i]==NSM)i++;if(i<len){var c=chars[ix],rtlCandidate=c>=1425&&c<=2303||64286==c;wType=types[i];if(rtlCandidate&&(wType==R||wType==AL))return R}if(ix<1||(wType=types[ix-1])==B)return ON;return classes[ix-1];case B:lastArabic=false;hasUBAT_B=true;return dir;case S:hasUBAT_S=true;return ON;case LRE:case RLE:case LRO:case RLO:case PDF:lastArabic=false;case BN:return ON}}function _getCharacterType(ch){var uc=ch.charCodeAt(0),hi=uc>>8;if(0==hi)return uc>191?L:UnicodeTBL00[uc];if(5==hi)return/[\u0591-\u05f4]/.test(ch)?R:L;if(6==hi)return/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(ch)?NSM:/[\u0660-\u0669\u066b-\u066c]/.test(ch)?AN:1642==uc?ET:/[\u06f0-\u06f9]/.test(ch)?EN:AL;if(32==hi&&uc<=8287)return UnicodeTBL20[255&uc];if(254==hi)return uc>=65136?AL:ON;return ON}exports.L=L;exports.R=R;exports.EN=EN;exports.ON_R=3;exports.AN=4;exports.R_H=5;exports.B=6;exports.DOT="·";exports.doBidiReorder=function(text,textCharTypes,isRtl){if(text.length<2)return{};var chars=text.split(""),logicalFromVisual=new Array(chars.length),bidiLevels=new Array(chars.length),levels=[];dir=isRtl?RTL:LTR;_computeLevels(chars,levels,chars.length,textCharTypes);for(var i=0;i<logicalFromVisual.length;logicalFromVisual[i]=i,i++);_invertLevel(2,levels,logicalFromVisual);_invertLevel(1,levels,logicalFromVisual);for(i=0;i<logicalFromVisual.length-1;i++)if(textCharTypes[i]===AN)levels[i]=exports.AN;else if(levels[i]===R&&(textCharTypes[i]>AL&&textCharTypes[i]<LRE||textCharTypes[i]===ON||textCharTypes[i]===BN))levels[i]=exports.ON_R;else if(i>0&&"ل"===chars[i-1]&&/\u0622|\u0623|\u0625|\u0627/.test(chars[i])){levels[i-1]=levels[i]=exports.R_H;i++}chars[chars.length-1]===exports.DOT&&(levels[chars.length-1]=exports.B);for(i=0;i<logicalFromVisual.length;i++)bidiLevels[i]=levels[logicalFromVisual[i]];return{logicalFromVisual:logicalFromVisual,bidiLevels:bidiLevels}};exports.hasBidiCharacters=function(text,textCharTypes){var ret=false;for(var i=0;i<text.length;i++){textCharTypes[i]=_getCharacterType(text.charAt(i));ret||textCharTypes[i]!=R&&textCharTypes[i]!=AL||(ret=true)}return ret};exports.getVisualFromLogicalIdx=function(logIdx,rowMap){for(var i=0;i<rowMap.logicalFromVisual.length;i++)if(rowMap.logicalFromVisual[i]==logIdx)return i;return 0}});ace.define("ace/bidihandler",["require","exports","module","ace/lib/bidiutil","ace/lib/lang","ace/lib/useragent"],function(acequire,exports,module){"use strict";var bidiUtil=acequire("./lib/bidiutil");var lang=acequire("./lib/lang");var useragent=acequire("./lib/useragent");var bidiRE=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;var BidiHandler=function(session){this.session=session;this.bidiMap={};this.currentRow=null;this.bidiUtil=bidiUtil;this.charWidths=[];this.EOL="¬";this.showInvisibles=true;this.isRtlDir=false;this.line="";this.wrapIndent=0;this.isLastRow=false;this.EOF="¶";this.seenBidi=false};(function(){this.isBidiRow=function(screenRow,docRow,splitIndex){if(!this.seenBidi)return false;if(screenRow!==this.currentRow){this.currentRow=screenRow;this.updateRowLine(docRow,splitIndex);this.updateBidiMap()}return this.bidiMap.bidiLevels};this.onChange=function(delta){if(this.seenBidi)this.currentRow=null;else if("insert"==delta.action&&bidiRE.test(delta.lines.join("\n"))){this.seenBidi=true;this.currentRow=null}};this.getDocumentRow=function(){var docRow=0;var rowCache=this.session.$screenRowCache;if(rowCache.length){var index=this.session.$getRowCacheIndex(rowCache,this.currentRow);index>=0&&(docRow=this.session.$docRowCache[index])}return docRow};this.getSplitIndex=function(){var splitIndex=0;var rowCache=this.session.$screenRowCache;if(rowCache.length){var currentIndex,prevIndex=this.session.$getRowCacheIndex(rowCache,this.currentRow);while(this.currentRow-splitIndex>0){currentIndex=this.session.$getRowCacheIndex(rowCache,this.currentRow-splitIndex-1);if(currentIndex!==prevIndex)break;prevIndex=currentIndex;splitIndex++}}return splitIndex};this.updateRowLine=function(docRow,splitIndex){void 0===docRow&&(docRow=this.getDocumentRow());this.wrapIndent=0;this.isLastRow=docRow===this.session.getLength()-1;this.line=this.session.getLine(docRow);if(this.session.$useWrapMode){var splits=this.session.$wrapData[docRow];if(splits){void 0===splitIndex&&(splitIndex=this.getSplitIndex());if(splitIndex>0&&splits.length){this.wrapIndent=splits.indent;this.line=splitIndex<splits.length?this.line.substring(splits[splitIndex-1],splits[splits.length-1]):this.line.substring(splits[splits.length-1])}else this.line=this.line.substring(0,splits[splitIndex])}}var size,session=this.session,shift=0;this.line=this.line.replace(/\t|[\u1100-\u2029, \u202F-\uFFE6]/g,function(ch,i){if("\t"===ch||session.isFullWidth(ch.charCodeAt(0))){size="\t"===ch?session.getScreenTabSize(i+shift):2;shift+=size-1;return lang.stringRepeat(bidiUtil.DOT,size)}return ch})};this.updateBidiMap=function(){var textCharTypes=[],endOfLine=this.isLastRow?this.EOF:this.EOL;var line=this.line+(this.showInvisibles?endOfLine:bidiUtil.DOT);bidiUtil.hasBidiCharacters(line,textCharTypes)?this.bidiMap=bidiUtil.doBidiReorder(line,textCharTypes,this.isRtlDir):this.bidiMap={}};this.markAsDirty=function(){this.currentRow=null};this.updateCharacterWidths=function(fontMetrics){if(!this.seenBidi)return;if(this.characterWidth===fontMetrics.$characterSize.width)return;var characterWidth=this.characterWidth=fontMetrics.$characterSize.width;var bidiCharWidth=fontMetrics.$measureCharWidth("ה");this.charWidths[bidiUtil.L]=this.charWidths[bidiUtil.EN]=this.charWidths[bidiUtil.ON_R]=characterWidth;this.charWidths[bidiUtil.R]=this.charWidths[bidiUtil.AN]=bidiCharWidth;this.charWidths[bidiUtil.R_H]=useragent.isChrome?bidiCharWidth:.45*bidiCharWidth;this.charWidths[bidiUtil.B]=0;this.currentRow=null};this.getShowInvisibles=function(){return this.showInvisibles};this.setShowInvisibles=function(showInvisibles){this.showInvisibles=showInvisibles;this.currentRow=null};this.setEolChar=function(eolChar){this.EOL=eolChar};this.setTextDir=function(isRtlDir){this.isRtlDir=isRtlDir};this.getPosLeft=function(col){col-=this.wrapIndent;var visualIdx=bidiUtil.getVisualFromLogicalIdx(col>0?col-1:0,this.bidiMap),levels=this.bidiMap.bidiLevels,left=0;0===col&&levels[visualIdx]%2!==0&&visualIdx++;for(var i=0;i<visualIdx;i++)left+=this.charWidths[levels[i]];0!==col&&levels[visualIdx]%2===0&&(left+=this.charWidths[levels[visualIdx]]);this.wrapIndent&&(left+=this.wrapIndent*this.charWidths[bidiUtil.L]);return left};this.getSelections=function(startCol,endCol){var level,map=this.bidiMap,levels=map.bidiLevels,offset=this.wrapIndent*this.charWidths[bidiUtil.L],selections=[],selColMin=Math.min(startCol,endCol)-this.wrapIndent,selColMax=Math.max(startCol,endCol)-this.wrapIndent,isSelected=false,isSelectedPrev=false,selectionStart=0;for(var logIdx,visIdx=0;visIdx<levels.length;visIdx++){logIdx=map.logicalFromVisual[visIdx];level=levels[visIdx];isSelected=logIdx>=selColMin&&logIdx<selColMax;isSelected&&!isSelectedPrev?selectionStart=offset:!isSelected&&isSelectedPrev&&selections.push({left:selectionStart,width:offset-selectionStart});offset+=this.charWidths[level];isSelectedPrev=isSelected}isSelected&&visIdx===levels.length&&selections.push({left:selectionStart,width:offset-selectionStart});return selections};this.offsetToCol=function(posX){var logicalIdx=0,offset=(posX=Math.max(posX,0),0),visualIdx=0,levels=this.bidiMap.bidiLevels,charWidth=this.charWidths[levels[visualIdx]];this.wrapIndent&&(posX-=this.wrapIndent*this.charWidths[bidiUtil.L]);while(posX>offset+charWidth/2){offset+=charWidth;if(visualIdx===levels.length-1){charWidth=0;break}charWidth=this.charWidths[levels[++visualIdx]]}if(visualIdx>0&&levels[visualIdx-1]%2!==0&&levels[visualIdx]%2===0){posX<offset&&visualIdx--;logicalIdx=this.bidiMap.logicalFromVisual[visualIdx]}else if(visualIdx>0&&levels[visualIdx-1]%2===0&&levels[visualIdx]%2!==0)logicalIdx=1+(posX>offset?this.bidiMap.logicalFromVisual[visualIdx]:this.bidiMap.logicalFromVisual[visualIdx-1]);else if(this.isRtlDir&&visualIdx===levels.length-1&&0===charWidth&&levels[visualIdx-1]%2===0||!this.isRtlDir&&0===visualIdx&&levels[visualIdx]%2!==0)logicalIdx=1+this.bidiMap.logicalFromVisual[visualIdx];else{visualIdx>0&&levels[visualIdx-1]%2!==0&&0!==charWidth&&visualIdx--;logicalIdx=this.bidiMap.logicalFromVisual[visualIdx]}return logicalIdx+this.wrapIndent}}).call(BidiHandler.prototype);exports.BidiHandler=BidiHandler});ace.define("ace/range",["require","exports","module"],function(acequire,exports,module){"use strict";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column};var Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn};this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column};this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"};this.contains=function(row,column){return 0==this.compare(row,column)};this.compareRange=function(range){var cmp,end=range.end,start=range.start;cmp=this.compare(end.row,end.column);if(1==cmp){cmp=this.compare(start.row,start.column);return 1==cmp?2:0==cmp?1:0}if(-1==cmp)return-2;cmp=this.compare(start.row,start.column);return-1==cmp?-1:1==cmp?42:0};this.comparePoint=function(p){return this.compare(p.row,p.column)};this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)};this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp};this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column};this.isStart=function(row,column){return this.start.row==row&&this.start.column==column};this.setStart=function(row,column){if("object"==typeof row){this.start.column=row.column;this.start.row=row.row}else{this.start.row=row;this.start.column=column}};this.setEnd=function(row,column){if("object"==typeof row){this.end.column=row.column;this.end.row=row.row}else{this.end.row=row;this.end.column=column}};this.inside=function(row,column){if(0==this.compare(row,column))return!this.isEnd(row,column)&&!this.isStart(row,column);return false};this.insideStart=function(row,column){if(0==this.compare(row,column))return!this.isEnd(row,column);return false};this.insideEnd=function(row,column){if(0==this.compare(row,column))return!this.isStart(row,column);return false};this.compare=function(row,column){if(!this.isMultiLine()&&row===this.start.row)return column<this.start.column?-1:column>this.end.column?1:0;if(row<this.start.row)return-1;if(row>this.end.row)return 1;if(this.start.row===row)return column>=this.start.column?0:-1;if(this.end.row===row)return column<=this.end.column?0:1;return 0};this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)};this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)};this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)};this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(this.end.row<firstRow)end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(this.start.row<firstRow)start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)};this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)};this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column};this.isMultiLine=function(){return this.start.row!==this.end.row};this.clone=function(){return Range.fromPoints(this.start,this.end)};this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)};this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start);var screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)};this.moveBy=function(row,column){this.start.row+=row;this.start.column+=column;this.end.row+=row;this.end.column+=column}}).call(Range.prototype);Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)};Range.comparePoints=comparePoints;Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column};exports.Range=Range});ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(acequire,exports,module){"use strict";var oop=acequire("./lib/oop");var lang=acequire("./lib/lang");var EventEmitter=acequire("./lib/event_emitter").EventEmitter;var Range=acequire("./range").Range;var Selection=function(session){this.session=session;this.doc=session.getDocument();this.clearSelection();this.lead=this.selectionLead=this.doc.createAnchor(0,0);this.anchor=this.selectionAnchor=this.doc.createAnchor(0,0);var self=this;this.lead.on("change",function(e){self._emit("changeCursor");self.$isEmpty||self._emit("changeSelection");self.$keepDesiredColumnOnChange||e.old.column==e.value.column||(self.$desiredColumn=null)});this.selectionAnchor.on("change",function(){self.$isEmpty||self._emit("changeSelection")})};(function(){oop.implement(this,EventEmitter);this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column};this.isMultiLine=function(){if(this.isEmpty())return false;return this.getRange().isMultiLine()};this.getCursor=function(){return this.lead.getPosition()};this.setSelectionAnchor=function(row,column){this.anchor.setPosition(row,column);if(this.$isEmpty){this.$isEmpty=false;this._emit("changeSelection")}};this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()};this.getSelectionLead=function(){return this.lead.getPosition()};this.shiftSelection=function(columns){if(this.$isEmpty){this.moveCursorTo(this.lead.row,this.lead.column+columns);return}var anchor=this.getSelectionAnchor();var lead=this.getSelectionLead();var isBackwards=this.isBackwards();isBackwards&&0===anchor.column||this.setSelectionAnchor(anchor.row,anchor.column+columns);(isBackwards||0!==lead.column)&&this.$moveSelection(function(){this.moveCursorTo(lead.row,lead.column+columns)})};this.isBackwards=function(){var anchor=this.anchor;var lead=this.lead;return anchor.row>lead.row||anchor.row==lead.row&&anchor.column>lead.column};this.getRange=function(){var anchor=this.anchor;var lead=this.lead;if(this.isEmpty())return Range.fromPoints(lead,lead);return this.isBackwards()?Range.fromPoints(lead,anchor):Range.fromPoints(anchor,lead)};this.clearSelection=function(){if(!this.$isEmpty){this.$isEmpty=true;this._emit("changeSelection")}};this.selectAll=function(){var lastRow=this.doc.getLength()-1;this.setSelectionAnchor(0,0);this.moveCursorTo(lastRow,this.doc.getLine(lastRow).length)};this.setRange=this.setSelectionRange=function(range,reverse){if(reverse){this.setSelectionAnchor(range.end.row,range.end.column);this.selectTo(range.start.row,range.start.column)}else{this.setSelectionAnchor(range.start.row,range.start.column);this.selectTo(range.end.row,range.end.column)}this.getRange().isEmpty()&&(this.$isEmpty=true);this.$desiredColumn=null};this.$moveSelection=function(mover){var lead=this.lead;this.$isEmpty&&this.setSelectionAnchor(lead.row,lead.column);mover.call(this)};this.selectTo=function(row,column){this.$moveSelection(function(){this.moveCursorTo(row,column)})};this.selectToPosition=function(pos){this.$moveSelection(function(){this.moveCursorToPosition(pos)})};this.moveTo=function(row,column){this.clearSelection();this.moveCursorTo(row,column)};this.moveToPosition=function(pos){this.clearSelection();this.moveCursorToPosition(pos)};this.selectUp=function(){this.$moveSelection(this.moveCursorUp)};this.selectDown=function(){this.$moveSelection(this.moveCursorDown)};this.selectRight=function(){this.$moveSelection(this.moveCursorRight)};this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)};this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)};this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)};this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)};this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)};this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)};this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)};this.getWordRange=function(row,column){if("undefined"==typeof column){var cursor=row||this.lead;row=cursor.row;column=cursor.column}return this.session.getWordRange(row,column)};this.selectWord=function(){this.setSelectionRange(this.getWordRange())};this.selectAWord=function(){var cursor=this.getCursor();var range=this.session.getAWordRange(cursor.row,cursor.column);this.setSelectionRange(range)};this.getLineRange=function(row,excludeLastChar){var rowStart="number"==typeof row?row:this.lead.row;var rowEnd;var foldLine=this.session.getFoldLine(rowStart);if(foldLine){rowStart=foldLine.start.row;rowEnd=foldLine.end.row}else rowEnd=rowStart;return true===excludeLastChar?new Range(rowStart,0,rowEnd,this.session.getLine(rowEnd).length):new Range(rowStart,0,rowEnd+1,0)};this.selectLine=function(){this.setSelectionRange(this.getLineRange())};this.moveCursorUp=function(){this.moveCursorBy(-1,0)};this.moveCursorDown=function(){this.moveCursorBy(1,0)};this.wouldMoveIntoSoftTab=function(cursor,tabSize,direction){var start=cursor.column;var end=cursor.column+tabSize;if(direction<0){start=cursor.column-tabSize;end=cursor.column}return this.session.isTabStop(cursor)&&this.doc.getLine(cursor.row).slice(start,end).split(" ").length-1==tabSize};this.moveCursorLeft=function(){var fold,cursor=this.lead.getPosition();if(fold=this.session.getFoldAt(cursor.row,cursor.column,-1))this.moveCursorTo(fold.start.row,fold.start.column);else if(0===cursor.column)cursor.row>0&&this.moveCursorTo(cursor.row-1,this.doc.getLine(cursor.row-1).length);else{var tabSize=this.session.getTabSize();this.wouldMoveIntoSoftTab(cursor,tabSize,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-tabSize):this.moveCursorBy(0,-1)}};this.moveCursorRight=function(){var fold,cursor=this.lead.getPosition();if(fold=this.session.getFoldAt(cursor.row,cursor.column,1))this.moveCursorTo(fold.end.row,fold.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row<this.doc.getLength()-1&&this.moveCursorTo(this.lead.row+1,0);else{var tabSize=this.session.getTabSize();cursor=this.lead;this.wouldMoveIntoSoftTab(cursor,tabSize,1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,tabSize):this.moveCursorBy(0,1)}};this.moveCursorLineStart=function(){var row=this.lead.row;var column=this.lead.column;var screenRow=this.session.documentToScreenRow(row,column);var firstColumnPosition=this.session.screenToDocumentPosition(screenRow,0);var beforeCursor=this.session.getDisplayLine(row,null,firstColumnPosition.row,firstColumnPosition.column);var leadingSpace=beforeCursor.match(/^\s*/);leadingSpace[0].length==column||this.session.$useEmacsStyleLineStart||(firstColumnPosition.column+=leadingSpace[0].length);this.moveCursorToPosition(firstColumnPosition)};this.moveCursorLineEnd=function(){var lead=this.lead;var lineEnd=this.session.getDocumentLastRowColumnPosition(lead.row,lead.column);if(this.lead.column==lineEnd.column){var line=this.session.getLine(lineEnd.row);if(lineEnd.column==line.length){var textEnd=line.search(/\s+$/);textEnd>0&&(lineEnd.column=textEnd)}}this.moveCursorTo(lineEnd.row,lineEnd.column)};this.moveCursorFileEnd=function(){var row=this.doc.getLength()-1;var column=this.doc.getLine(row).length;this.moveCursorTo(row,column)};this.moveCursorFileStart=function(){this.moveCursorTo(0,0)};this.moveCursorLongWordRight=function(){var row=this.lead.row;var column=this.lead.column;var line=this.doc.getLine(row);var rightOfCursor=line.substring(column);this.session.nonTokenRe.lastIndex=0;this.session.tokenRe.lastIndex=0;var fold=this.session.getFoldAt(row,column,1);if(fold){this.moveCursorTo(fold.end.row,fold.end.column);return}if(this.session.nonTokenRe.exec(rightOfCursor)){column+=this.session.nonTokenRe.lastIndex;this.session.nonTokenRe.lastIndex=0;rightOfCursor=line.substring(column)}if(column>=line.length){this.moveCursorTo(row,line.length);this.moveCursorRight();row<this.doc.getLength()-1&&this.moveCursorWordRight();return}if(this.session.tokenRe.exec(rightOfCursor)){column+=this.session.tokenRe.lastIndex;this.session.tokenRe.lastIndex=0}this.moveCursorTo(row,column)};this.moveCursorLongWordLeft=function(){var row=this.lead.row;var column=this.lead.column;var fold;if(fold=this.session.getFoldAt(row,column,-1)){this.moveCursorTo(fold.start.row,fold.start.column);return}var str=this.session.getFoldStringAt(row,column,-1);null==str&&(str=this.doc.getLine(row).substring(0,column));var leftOfCursor=lang.stringReverse(str);this.session.nonTokenRe.lastIndex=0;this.session.tokenRe.lastIndex=0;if(this.session.nonTokenRe.exec(leftOfCursor)){column-=this.session.nonTokenRe.lastIndex;leftOfCursor=leftOfCursor.slice(this.session.nonTokenRe.lastIndex);this.session.nonTokenRe.lastIndex=0}if(column<=0){this.moveCursorTo(row,0);this.moveCursorLeft();row>0&&this.moveCursorWordLeft();return}if(this.session.tokenRe.exec(leftOfCursor)){column-=this.session.tokenRe.lastIndex;this.session.tokenRe.lastIndex=0}this.moveCursorTo(row,column)};this.$shortWordEndIndex=function(rightOfCursor){var ch,index=0;var whitespaceRe=/\s/;var tokenRe=this.session.tokenRe;tokenRe.lastIndex=0;if(this.session.tokenRe.exec(rightOfCursor))index=this.session.tokenRe.lastIndex;else{while((ch=rightOfCursor[index])&&whitespaceRe.test(ch))index++;if(index<1){tokenRe.lastIndex=0;while((ch=rightOfCursor[index])&&!tokenRe.test(ch)){tokenRe.lastIndex=0;index++;if(whitespaceRe.test(ch)){if(index>2){index--;break}while((ch=rightOfCursor[index])&&whitespaceRe.test(ch))index++;if(index>2)break}}}}tokenRe.lastIndex=0;return index};this.moveCursorShortWordRight=function(){var row=this.lead.row;var column=this.lead.column;var line=this.doc.getLine(row);var rightOfCursor=line.substring(column);var fold=this.session.getFoldAt(row,column,1);if(fold)return this.moveCursorTo(fold.end.row,fold.end.column);if(column==line.length){var l=this.doc.getLength();do{row++;rightOfCursor=this.doc.getLine(row)}while(row<l&&/^\s*$/.test(rightOfCursor));/^\s+/.test(rightOfCursor)||(rightOfCursor="");column=0}var index=this.$shortWordEndIndex(rightOfCursor);this.moveCursorTo(row,column+index)};this.moveCursorShortWordLeft=function(){var row=this.lead.row;var column=this.lead.column;var fold;if(fold=this.session.getFoldAt(row,column,-1))return this.moveCursorTo(fold.start.row,fold.start.column);var line=this.session.getLine(row).substring(0,column);if(0===column){do{row--;line=this.doc.getLine(row)}while(row>0&&/^\s*$/.test(line));column=line.length;/\s+$/.test(line)||(line="")}var leftOfCursor=lang.stringReverse(line);var index=this.$shortWordEndIndex(leftOfCursor);return this.moveCursorTo(row,column-index)};this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()};this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()};this.moveCursorBy=function(rows,chars){var screenPos=this.session.documentToScreenPosition(this.lead.row,this.lead.column);var offsetX;if(0===chars){if(0!==rows)if(this.session.$bidiHandler.isBidiRow(screenPos.row,this.lead.row)){offsetX=this.session.$bidiHandler.getPosLeft(screenPos.column);screenPos.column=Math.round(offsetX/this.session.$bidiHandler.charWidths[0])}else offsetX=screenPos.column*this.session.$bidiHandler.charWidths[0];this.$desiredColumn?screenPos.column=this.$desiredColumn:this.$desiredColumn=screenPos.column}var docPos=this.session.screenToDocumentPosition(screenPos.row+rows,screenPos.column,offsetX);0!==rows&&0===chars&&docPos.row===this.lead.row&&docPos.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[docPos.row]&&(docPos.row>0||rows>0)&&docPos.row++;this.moveCursorTo(docPos.row,docPos.column+chars,0===chars)};this.moveCursorToPosition=function(position){this.moveCursorTo(position.row,position.column)};this.moveCursorTo=function(row,column,keepDesiredColumn){var fold=this.session.getFoldAt(row,column,1);if(fold){row=fold.start.row;column=fold.start.column}this.$keepDesiredColumnOnChange=true;var line=this.session.getLine(row);/[\uDC00-\uDFFF]/.test(line.charAt(column))&&line.charAt(column-1)&&(this.lead.row==row&&this.lead.column==column+1?column-=1:column+=1);this.lead.setPosition(row,column);this.$keepDesiredColumnOnChange=false;keepDesiredColumn||(this.$desiredColumn=null)};this.moveCursorToScreen=function(row,column,keepDesiredColumn){var pos=this.session.screenToDocumentPosition(row,column);this.moveCursorTo(pos.row,pos.column,keepDesiredColumn)};this.detach=function(){this.lead.detach();this.anchor.detach();this.session=this.doc=null};this.fromOrientedRange=function(range){this.setSelectionRange(range,range.cursor==range.start);this.$desiredColumn=range.desiredColumn||this.$desiredColumn};this.toOrientedRange=function(range){var r=this.getRange();if(range){range.start.column=r.start.column;range.start.row=r.start.row;range.end.column=r.end.column;range.end.row=r.end.row}else range=r;range.cursor=this.isBackwards()?range.start:range.end;range.desiredColumn=this.$desiredColumn;return range};this.getRangeOfMovements=function(func){var start=this.getCursor();try{func(this);var end=this.getCursor();return Range.fromPoints(start,end)}catch(e){return Range.fromPoints(start,start)}finally{this.moveCursorToPosition(start)}};this.toJSON=function(){if(this.rangeCount)var data=this.ranges.map(function(r){var r1=r.clone();r1.isBackwards=r.cursor==r.start;return r1});else{data=this.getRange();data.isBackwards=this.isBackwards()}return data};this.fromJSON=function(data){if(void 0==data.start){if(this.rangeList){this.toSingleRange(data[0]);for(var i=data.length;i--;){var r=Range.fromPoints(data[i].start,data[i].end);data[i].isBackwards&&(r.cursor=r.start);this.addRange(r,true)}return}data=data[0]}this.rangeList&&this.toSingleRange(data);this.setSelectionRange(data,data.isBackwards)};this.isEqual=function(data){if((data.length||this.rangeCount)&&data.length!=this.rangeCount)return false;if(!data.length||!this.ranges)return this.getRange().isEqual(data);for(var i=this.ranges.length;i--;)if(!this.ranges[i].isEqual(data[i]))return false;return true}}).call(Selection.prototype);exports.Selection=Selection});ace.define("ace/tokenizer",["require","exports","module","ace/config"],function(acequire,exports,module){"use strict";var config=acequire("./config");var MAX_TOKEN_COUNT=2e3;var Tokenizer=function(rules){this.states=rules;this.regExps={};this.matchMappings={};for(var key in this.states){var state=this.states[key];var ruleRegExps=[];var matchTotal=0;var mapping=this.matchMappings[key]={defaultToken:"text"};var flag="g";var splitterRurles=[];for(var i=0;i<state.length;i++){var rule=state[i];rule.defaultToken&&(mapping.defaultToken=rule.defaultToken);rule.caseInsensitive&&(flag="gi");if(null==rule.regex)continue;rule.regex instanceof RegExp&&(rule.regex=rule.regex.toString().slice(1,-1));var adjustedregex=rule.regex;var matchcount=new RegExp("(?:("+adjustedregex+")|(.))").exec("a").length-2;if(Array.isArray(rule.token))if(1==rule.token.length||1==matchcount)rule.token=rule.token[0];else if(matchcount-1!=rule.token.length){this.reportError("number of classes and regexp groups doesn't match",{rule:rule,groupCount:matchcount-1});rule.token=rule.token[0]}else{rule.tokenArray=rule.token;rule.token=null;rule.onMatch=this.$arrayTokens}else"function"!=typeof rule.token||rule.onMatch||(rule.onMatch=matchcount>1?this.$applyToken:rule.token);if(matchcount>1){if(/\\\d/.test(rule.regex))adjustedregex=rule.regex.replace(/\\([0-9]+)/g,function(match,digit){return"\\"+(parseInt(digit,10)+matchTotal+1)});else{matchcount=1;adjustedregex=this.removeCapturingGroups(rule.regex)}rule.splitRegex||"string"==typeof rule.token||splitterRurles.push(rule)}mapping[matchTotal]=i;matchTotal+=matchcount;ruleRegExps.push(adjustedregex);rule.onMatch||(rule.onMatch=null)}if(!ruleRegExps.length){mapping[0]=0;ruleRegExps.push("$")}splitterRurles.forEach(function(rule){rule.splitRegex=this.createSplitterRegexp(rule.regex,flag)},this);this.regExps[key]=new RegExp("("+ruleRegExps.join(")|(")+")|($)",flag)}};(function(){this.$setMaxTokenCount=function(m){MAX_TOKEN_COUNT=0|m};this.$applyToken=function(str){var values=this.splitRegex.exec(str).slice(1);var types=this.token.apply(this,values);if("string"===typeof types)return[{type:types,value:str}];var tokens=[];for(var i=0,l=types.length;i<l;i++)values[i]&&(tokens[tokens.length]={type:types[i],value:values[i]});return tokens};this.$arrayTokens=function(str){if(!str)return[];var values=this.splitRegex.exec(str);if(!values)return"text";var tokens=[];var types=this.tokenArray;for(var i=0,l=types.length;i<l;i++)values[i+1]&&(tokens[tokens.length]={type:types[i],value:values[i+1]});return tokens};this.removeCapturingGroups=function(src){var r=src.replace(/\[(?:\\.|[^\]])*?\]|\\.|\(\?[:=!]|(\()/g,function(x,y){return y?"(?:":x});return r};this.createSplitterRegexp=function(src,flag){if(-1!=src.indexOf("(?=")){var stack=0;var inChClass=false;var lastCapture={};src.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,function(m,esc,parenOpen,parenClose,square,index){if(inChClass)inChClass="]"!=square;else if(square)inChClass=true;else if(parenClose){if(stack==lastCapture.stack){lastCapture.end=index+1;lastCapture.stack=-1}stack--}else if(parenOpen){stack++;if(1!=parenOpen.length){lastCapture.stack=stack;lastCapture.start=index}}return m});null!=lastCapture.end&&/^\)*$/.test(src.substr(lastCapture.end))&&(src=src.substring(0,lastCapture.start)+src.substr(lastCapture.end))}"^"!=src.charAt(0)&&(src="^"+src);"$"!=src.charAt(src.length-1)&&(src+="$");return new RegExp(src,(flag||"").replace("g",""))};this.getLineTokens=function(line,startState){if(startState&&"string"!=typeof startState){var stack=startState.slice(0);startState=stack[0];if("#tmp"===startState){stack.shift();startState=stack.shift()}}else stack=[];var currentState=startState||"start";var state=this.states[currentState];if(!state){currentState="start";state=this.states[currentState]}var mapping=this.matchMappings[currentState];var re=this.regExps[currentState];re.lastIndex=0;var match,tokens=[];var lastIndex=0;var matchAttempts=0;var token={type:null,value:""};while(match=re.exec(line)){var type=mapping.defaultToken;var rule=null;var value=match[0];var index=re.lastIndex;if(index-value.length>lastIndex){var skipped=line.substring(lastIndex,index-value.length);if(token.type==type)token.value+=skipped;else{token.type&&tokens.push(token);token={type:type,value:skipped}}}for(var i=0;i<match.length-2;i++){if(void 0===match[i+1])continue;rule=state[mapping[i]];type=rule.onMatch?rule.onMatch(value,currentState,stack,line):rule.token;if(rule.next){currentState="string"==typeof rule.next?rule.next:rule.next(currentState,stack);state=this.states[currentState];if(!state){this.reportError("state doesn't exist",currentState);currentState="start";state=this.states[currentState]}mapping=this.matchMappings[currentState];lastIndex=index;re=this.regExps[currentState];re.lastIndex=index}rule.consumeLineEnd&&(lastIndex=index);break}if(value)if("string"===typeof type)if(rule&&false===rule.merge||token.type!==type){token.type&&tokens.push(token);token={type:type,value:value}}else token.value+=value;else if(type){token.type&&tokens.push(token);token={type:null,value:""};for(i=0;i<type.length;i++)tokens.push(type[i])}if(lastIndex==line.length)break;lastIndex=index;if(matchAttempts++>MAX_TOKEN_COUNT){matchAttempts>2*line.length&&this.reportError("infinite loop with in ace tokenizer",{startState:startState,line:line});while(lastIndex<line.length){token.type&&tokens.push(token);token={value:line.substring(lastIndex,lastIndex+=2e3),type:"overflow"}}currentState="start";stack=[];break}}token.type&&tokens.push(token);stack.length>1&&stack[0]!==currentState&&stack.unshift("#tmp",currentState);return{tokens:tokens,state:stack.length?stack:currentState}};this.reportError=config.reportError}).call(Tokenizer.prototype);exports.Tokenizer=Tokenizer});ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(acequire,exports,module){"use strict";var lang=acequire("../lib/lang");var TextHighlightRules=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(rules,prefix){if(!prefix){for(var key in rules)this.$rules[key]=rules[key];return}for(var key in rules){var state=rules[key];for(var i=0;i<state.length;i++){var rule=state[i];if(rule.next||rule.onMatch){"string"==typeof rule.next&&0!==rule.next.indexOf(prefix)&&(rule.next=prefix+rule.next);rule.nextState&&0!==rule.nextState.indexOf(prefix)&&(rule.nextState=prefix+rule.nextState)}}this.$rules[prefix+key]=state}};this.getRules=function(){return this.$rules};this.embedRules=function(HighlightRules,prefix,escapeRules,states,append){var embedRules="function"==typeof HighlightRules?(new HighlightRules).getRules():HighlightRules;if(states)for(var i=0;i<states.length;i++)states[i]=prefix+states[i];else{states=[];for(var key in embedRules)states.push(prefix+key)}this.addRules(embedRules,prefix);if(escapeRules){var addRules=Array.prototype[append?"push":"unshift"];for(i=0;i<states.length;i++)addRules.apply(this.$rules[states[i]],lang.deepCopy(escapeRules))}this.$embeds||(this.$embeds=[]);this.$embeds.push(prefix)};this.getEmbeds=function(){return this.$embeds};var pushState=function(currentState,stack){("start"!=currentState||stack.length)&&stack.unshift(this.nextState,currentState);return this.nextState};var popState=function(currentState,stack){stack.shift();return stack.shift()||"start"};this.normalizeRules=function(){var id=0;var rules=this.$rules;function processState(key){var state=rules[key];state.processed=true;for(var i=0;i<state.length;i++){var rule=state[i];var toInsert=null;if(Array.isArray(rule)){toInsert=rule;rule={}}if(!rule.regex&&rule.start){rule.regex=rule.start;rule.next||(rule.next=[]);rule.next.push({defaultToken:rule.token},{token:rule.token+".end",regex:rule.end||rule.start,next:"pop"});rule.token=rule.token+".start";rule.push=true}var next=rule.next||rule.push;if(next&&Array.isArray(next)){var stateName=rule.stateName;if(!stateName){stateName=rule.token;"string"!=typeof stateName&&(stateName=stateName[0]||"");rules[stateName]&&(stateName+=id++)}rules[stateName]=next;rule.next=stateName;processState(stateName)}else"pop"==next&&(rule.next=popState);if(rule.push){rule.nextState=rule.next||rule.push;rule.next=pushState;delete rule.push}if(rule.rules)for(var r in rule.rules)rules[r]?rules[r].push&&rules[r].push.apply(rules[r],rule.rules[r]):rules[r]=rule.rules[r];var includeName="string"==typeof rule?rule:rule.include;includeName&&(toInsert=Array.isArray(includeName)?includeName.map(function(x){return rules[x]}):rules[includeName]);if(toInsert){var args=[i,1].concat(toInsert);rule.noEscape&&(args=args.filter(function(x){return!x.next}));state.splice.apply(state,args);i--}if(rule.keywordMap){rule.token=this.createKeywordMapper(rule.keywordMap,rule.defaultToken||"text",rule.caseInsensitive);delete rule.defaultToken}}}Object.keys(rules).forEach(processState,this)};this.createKeywordMapper=function(map,defaultToken,ignoreCase,splitChar){var keywords=Object.create(null);Object.keys(map).forEach(function(className){var a=map[className];ignoreCase&&(a=a.toLowerCase());var list=a.split(splitChar||"|");for(var i=list.length;i--;)keywords[list[i]]=className});Object.getPrototypeOf(keywords)&&(keywords.__proto__=null);this.$keywordList=Object.keys(keywords);map=null;return ignoreCase?function(value){return keywords[value.toLowerCase()]||defaultToken}:function(value){return keywords[value]||defaultToken}};this.getKeywords=function(){return this.$keywords}}).call(TextHighlightRules.prototype);exports.TextHighlightRules=TextHighlightRules});ace.define("ace/mode/behaviour",["require","exports","module"],function(acequire,exports,module){"use strict";var Behaviour=function(){this.$behaviours={}};(function(){this.add=function(name,action,callback){switch(void 0){case this.$behaviours:this.$behaviours={};case this.$behaviours[name]:this.$behaviours[name]={}}this.$behaviours[name][action]=callback};this.addBehaviours=function(behaviours){for(var key in behaviours)for(var action in behaviours[key])this.add(key,action,behaviours[key][action])};this.remove=function(name){this.$behaviours&&this.$behaviours[name]&&delete this.$behaviours[name]};this.inherit=function(mode,filter){if("function"===typeof mode)var behaviours=(new mode).getBehaviours(filter);else behaviours=mode.getBehaviours(filter);this.addBehaviours(behaviours)};this.getBehaviours=function(filter){if(filter){var ret={};for(var i=0;i<filter.length;i++)this.$behaviours[filter[i]]&&(ret[filter[i]]=this.$behaviours[filter[i]]);return ret}return this.$behaviours}}).call(Behaviour.prototype);exports.Behaviour=Behaviour});ace.define("ace/token_iterator",["require","exports","module","ace/range"],function(acequire,exports,module){"use strict";var Range=acequire("./range").Range;var TokenIterator=function(session,initialRow,initialColumn){this.$session=session;this.$row=initialRow;this.$rowTokens=session.getTokens(initialRow);var token=session.getTokenAt(initialRow,initialColumn);this.$tokenIndex=token?token.index:-1};(function(){this.stepBackward=function(){this.$tokenIndex-=1;while(this.$tokenIndex<0){this.$row-=1;if(this.$row<0){this.$row=0;return null}this.$rowTokens=this.$session.getTokens(this.$row);this.$tokenIndex=this.$rowTokens.length-1}return this.$rowTokens[this.$tokenIndex]};this.stepForward=function(){this.$tokenIndex+=1;var rowCount;while(this.$tokenIndex>=this.$rowTokens.length){this.$row+=1;rowCount||(rowCount=this.$session.getLength());if(this.$row>=rowCount){this.$row=rowCount-1;return null}this.$rowTokens=this.$session.getTokens(this.$row);this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]};this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]};this.getCurrentTokenRow=function(){return this.$row};this.getCurrentTokenColumn=function(){var rowTokens=this.$rowTokens;var tokenIndex=this.$tokenIndex;var column=rowTokens[tokenIndex].start;if(void 0!==column)return column;column=0;while(tokenIndex>0){tokenIndex-=1;column+=rowTokens[tokenIndex].value.length}return column};this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}};this.getCurrentTokenRange=function(){var token=this.$rowTokens[this.$tokenIndex];var column=this.getCurrentTokenColumn();return new Range(this.$row,column,this.$row,column+token.value.length)}}).call(TokenIterator.prototype);exports.TokenIterator=TokenIterator});ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(acequire,exports,module){"use strict";var oop=acequire("../../lib/oop");var Behaviour=acequire("../behaviour").Behaviour;var TokenIterator=acequire("../../token_iterator").TokenIterator;var lang=acequire("../../lib/lang");var SAFE_INSERT_IN_TOKENS=["text","paren.rparen","punctuation.operator"];var SAFE_INSERT_BEFORE_TOKENS=["text","paren.rparen","punctuation.operator","comment"];var context;var contextCache={};var defaultQuotes={'"':'"',"'":"'"};var initContext=function(editor){var id=-1;if(editor.multiSelect){id=editor.selection.index;contextCache.rangeCount!=editor.multiSelect.rangeCount&&(contextCache={rangeCount:editor.multiSelect.rangeCount})}if(contextCache[id])return context=contextCache[id];context=contextCache[id]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}};var getWrapped=function(selection,selected,opening,closing){var rowDiff=selection.end.row-selection.start.row;return{text:opening+selected+closing,selection:[0,selection.start.column+1,rowDiff,selection.end.column+(rowDiff?0:1)]}};var CstyleBehaviour=function(options){this.add("braces","insertion",function(state,action,editor,session,text){var cursor=editor.getCursorPosition();var line=session.doc.getLine(cursor.row);if("{"==text){initContext(editor);var selection=editor.getSelectionRange();var selected=session.doc.getTextRange(selection);if(""!==selected&&"{"!==selected&&editor.getWrapBehavioursEnabled())return getWrapped(selection,selected,"{","}");if(CstyleBehaviour.isSaneInsertion(editor,session)){if(/[\]\}\)]/.test(line[cursor.column])||editor.inMultiSelectMode||options&&options.braces){CstyleBehaviour.recordAutoInsert(editor,session,"}");return{text:"{}",selection:[1,1]}}CstyleBehaviour.recordMaybeInsert(editor,session,"{");return{text:"{",selection:[1,1]}}}else if("}"==text){initContext(editor);var rightChar=line.substring(cursor.column,cursor.column+1);if("}"==rightChar){var matching=session.$findOpeningBracket("}",{column:cursor.column+1,row:cursor.row});if(null!==matching&&CstyleBehaviour.isAutoInsertedClosing(cursor,line,text)){CstyleBehaviour.popAutoInsertedClosing();return{text:"",selection:[1,1]}}}}else{if("\n"==text||"\r\n"==text){initContext(editor);var closing="";if(CstyleBehaviour.isMaybeInsertedClosing(cursor,line)){closing=lang.stringRepeat("}",context.maybeInsertedBrackets);CstyleBehaviour.clearMaybeInsertedClosing()}rightChar=line.substring(cursor.column,cursor.column+1);if("}"===rightChar){var openBracePos=session.findMatchingBracket({row:cursor.row,column:cursor.column+1},"}");if(!openBracePos)return null;var next_indent=this.$getIndent(session.getLine(openBracePos.row))}else{if(!closing){CstyleBehaviour.clearMaybeInsertedClosing();return}next_indent=this.$getIndent(line)}var indent=next_indent+session.getTabString();return{text:"\n"+indent+"\n"+next_indent+closing,selection:[1,indent.length,1,indent.length]}}CstyleBehaviour.clearMaybeInsertedClosing()}});this.add("braces","deletion",function(state,action,editor,session,range){var selected=session.doc.getTextRange(range);if(!range.isMultiLine()&&"{"==selected){initContext(editor);var line=session.doc.getLine(range.start.row);var rightChar=line.substring(range.end.column,range.end.column+1);if("}"==rightChar){range.end.column++;return range}context.maybeInsertedBrackets--}});this.add("parens","insertion",function(state,action,editor,session,text){if("("==text){initContext(editor);var selection=editor.getSelectionRange();var selected=session.doc.getTextRange(selection);if(""!==selected&&editor.getWrapBehavioursEnabled())return getWrapped(selection,selected,"(",")");if(CstyleBehaviour.isSaneInsertion(editor,session)){CstyleBehaviour.recordAutoInsert(editor,session,")");return{text:"()",selection:[1,1]}}}else if(")"==text){initContext(editor);var cursor=editor.getCursorPosition();var line=session.doc.getLine(cursor.row);var rightChar=line.substring(cursor.column,cursor.column+1);if(")"==rightChar){var matching=session.$findOpeningBracket(")",{column:cursor.column+1,row:cursor.row});if(null!==matching&&CstyleBehaviour.isAutoInsertedClosing(cursor,line,text)){CstyleBehaviour.popAutoInsertedClosing();return{text:"",selection:[1,1]}}}}});this.add("parens","deletion",function(state,action,editor,session,range){var selected=session.doc.getTextRange(range);if(!range.isMultiLine()&&"("==selected){initContext(editor);var line=session.doc.getLine(range.start.row);var rightChar=line.substring(range.start.column+1,range.start.column+2);if(")"==rightChar){range.end.column++;return range}}});this.add("brackets","insertion",function(state,action,editor,session,text){if("["==text){initContext(editor);var selection=editor.getSelectionRange();var selected=session.doc.getTextRange(selection);if(""!==selected&&editor.getWrapBehavioursEnabled())return getWrapped(selection,selected,"[","]");if(CstyleBehaviour.isSaneInsertion(editor,session)){CstyleBehaviour.recordAutoInsert(editor,session,"]");return{text:"[]",selection:[1,1]}}}else if("]"==text){initContext(editor);var cursor=editor.getCursorPosition();var line=session.doc.getLine(cursor.row);var rightChar=line.substring(cursor.column,cursor.column+1);if("]"==rightChar){var matching=session.$findOpeningBracket("]",{column:cursor.column+1,row:cursor.row});if(null!==matching&&CstyleBehaviour.isAutoInsertedClosing(cursor,line,text)){CstyleBehaviour.popAutoInsertedClosing();return{text:"",selection:[1,1]}}}}});this.add("brackets","deletion",function(state,action,editor,session,range){var selected=session.doc.getTextRange(range);if(!range.isMultiLine()&&"["==selected){initContext(editor);var line=session.doc.getLine(range.start.row);var rightChar=line.substring(range.start.column+1,range.start.column+2);if("]"==rightChar){range.end.column++;return range}}});this.add("string_dquotes","insertion",function(state,action,editor,session,text){var quotes=session.$mode.$quotes||defaultQuotes;if(1==text.length&&quotes[text]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(text))return;initContext(editor);var quote=text;var selection=editor.getSelectionRange();var selected=session.doc.getTextRange(selection);if(!(""===selected||1==selected.length&&quotes[selected])&&editor.getWrapBehavioursEnabled())return getWrapped(selection,selected,quote,quote);if(!selected){var cursor=editor.getCursorPosition();var line=session.doc.getLine(cursor.row);var leftChar=line.substring(cursor.column-1,cursor.column);var rightChar=line.substring(cursor.column,cursor.column+1);var token=session.getTokenAt(cursor.row,cursor.column);var rightToken=session.getTokenAt(cursor.row,cursor.column+1);if("\\"==leftChar&&token&&/escape/.test(token.type))return null;var stringBefore=token&&/string|escape/.test(token.type);var stringAfter=!rightToken||/string|escape/.test(rightToken.type);var pair;if(rightChar==quote){pair=stringBefore!==stringAfter;pair&&/string\.end/.test(rightToken.type)&&(pair=false)}else{if(stringBefore&&!stringAfter)return null;if(stringBefore&&stringAfter)return null;var wordRe=session.$mode.tokenRe;wordRe.lastIndex=0;var isWordBefore=wordRe.test(leftChar);wordRe.lastIndex=0;var isWordAfter=wordRe.test(leftChar);if(isWordBefore||isWordAfter)return null;if(rightChar&&!/[\s;,.})\]\\]/.test(rightChar))return null;pair=true}return{text:pair?quote+quote:"",selection:[1,1]}}}});this.add("string_dquotes","deletion",function(state,action,editor,session,range){var selected=session.doc.getTextRange(range);if(!range.isMultiLine()&&('"'==selected||"'"==selected)){initContext(editor);var line=session.doc.getLine(range.start.row);var rightChar=line.substring(range.start.column+1,range.start.column+2);if(rightChar==selected){range.end.column++;return range}}})};CstyleBehaviour.isSaneInsertion=function(editor,session){var cursor=editor.getCursorPosition();var iterator=new TokenIterator(session,cursor.row,cursor.column);if(!this.$matchTokenType(iterator.getCurrentToken()||"text",SAFE_INSERT_IN_TOKENS)){var iterator2=new TokenIterator(session,cursor.row,cursor.column+1);if(!this.$matchTokenType(iterator2.getCurrentToken()||"text",SAFE_INSERT_IN_TOKENS))return false}iterator.stepForward();return iterator.getCurrentTokenRow()!==cursor.row||this.$matchTokenType(iterator.getCurrentToken()||"text",SAFE_INSERT_BEFORE_TOKENS)};CstyleBehaviour.$matchTokenType=function(token,types){return types.indexOf(token.type||token)>-1};CstyleBehaviour.recordAutoInsert=function(editor,session,bracket){var cursor=editor.getCursorPosition();var line=session.doc.getLine(cursor.row);this.isAutoInsertedClosing(cursor,line,context.autoInsertedLineEnd[0])||(context.autoInsertedBrackets=0);context.autoInsertedRow=cursor.row;context.autoInsertedLineEnd=bracket+line.substr(cursor.column);context.autoInsertedBrackets++};CstyleBehaviour.recordMaybeInsert=function(editor,session,bracket){var cursor=editor.getCursorPosition();var line=session.doc.getLine(cursor.row);this.isMaybeInsertedClosing(cursor,line)||(context.maybeInsertedBrackets=0);context.maybeInsertedRow=cursor.row;context.maybeInsertedLineStart=line.substr(0,cursor.column)+bracket;context.maybeInsertedLineEnd=line.substr(cursor.column);context.maybeInsertedBrackets++};CstyleBehaviour.isAutoInsertedClosing=function(cursor,line,bracket){return context.autoInsertedBrackets>0&&cursor.row===context.autoInsertedRow&&bracket===context.autoInsertedLineEnd[0]&&line.substr(cursor.column)===context.autoInsertedLineEnd};CstyleBehaviour.isMaybeInsertedClosing=function(cursor,line){return context.maybeInsertedBrackets>0&&cursor.row===context.maybeInsertedRow&&line.substr(cursor.column)===context.maybeInsertedLineEnd&&line.substr(0,cursor.column)==context.maybeInsertedLineStart};CstyleBehaviour.popAutoInsertedClosing=function(){context.autoInsertedLineEnd=context.autoInsertedLineEnd.substr(1);context.autoInsertedBrackets--};CstyleBehaviour.clearMaybeInsertedClosing=function(){if(context){context.maybeInsertedBrackets=0;context.maybeInsertedRow=-1}};oop.inherits(CstyleBehaviour,Behaviour);exports.CstyleBehaviour=CstyleBehaviour});ace.define("ace/unicode",["require","exports","module"],function(acequire,exports,module){"use strict";exports.packages={};addUnicodePackage({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F",Lo:"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048906DE20DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3",So:"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF"});function addUnicodePackage(pack){var codePoint=/\w{4}/g;for(var name in pack)exports.packages[name]=pack[name].replace(codePoint,"\\u$&")}});ace.define("ace/mode/text",["require","exports","module","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour/cstyle","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],function(acequire,exports,module){"use strict";var Tokenizer=acequire("../tokenizer").Tokenizer;var TextHighlightRules=acequire("./text_highlight_rules").TextHighlightRules;var CstyleBehaviour=acequire("./behaviour/cstyle").CstyleBehaviour;var unicode=acequire("../unicode");var lang=acequire("../lib/lang");var TokenIterator=acequire("../token_iterator").TokenIterator;var Range=acequire("../range").Range;var Mode=function(){this.HighlightRules=TextHighlightRules};(function(){this.$defaultBehaviour=new CstyleBehaviour;this.tokenRe=new RegExp("^["+unicode.packages.L+unicode.packages.Mn+unicode.packages.Mc+unicode.packages.Nd+unicode.packages.Pc+"\\$_]+","g");this.nonTokenRe=new RegExp("^(?:[^"+unicode.packages.L+unicode.packages.Mn+unicode.packages.Mc+unicode.packages.Nd+unicode.packages.Pc+"\\$_]|\\s])+","g");this.getTokenizer=function(){if(!this.$tokenizer){this.$highlightRules=this.$highlightRules||new this.HighlightRules(this.$highlightRuleConfig);this.$tokenizer=new Tokenizer(this.$highlightRules.getRules())}return this.$tokenizer};this.lineCommentStart="";this.blockComment="";this.toggleCommentLines=function(state,session,startRow,endRow){var doc=session.doc;var ignoreBlankLines=true;var shouldRemove=true;var minIndent=Infinity;var tabSize=session.getTabSize();var insertAtTabStop=false;if(this.lineCommentStart){if(Array.isArray(this.lineCommentStart)){regexpStart=this.lineCommentStart.map(lang.escapeRegExp).join("|");lineCommentStart=this.lineCommentStart[0]}else{regexpStart=lang.escapeRegExp(this.lineCommentStart);lineCommentStart=this.lineCommentStart}regexpStart=new RegExp("^(\\s*)(?:"+regexpStart+") ?");insertAtTabStop=session.getUseSoftTabs();uncomment=function(line,i){var m=line.match(regexpStart);if(!m)return;var start=m[1].length,end=m[0].length;shouldInsertSpace(line,start,end)||" "!=m[0][end-1]||end--;doc.removeInLine(i,start,end)};var commentWithSpace=lineCommentStart+" ";comment=function(line,i){ignoreBlankLines&&!/\S/.test(line)||(shouldInsertSpace(line,minIndent,minIndent)?doc.insertInLine({row:i,column:minIndent},commentWithSpace):doc.insertInLine({row:i,column:minIndent},lineCommentStart))};testRemove=function(line,i){return regexpStart.test(line)};var shouldInsertSpace=function(line,before,after){var spaces=0;while(before--&&" "==line.charAt(before))spaces++;if(spaces%tabSize!=0)return false;spaces=0;while(" "==line.charAt(after++))spaces++;return tabSize>2?spaces%tabSize!=tabSize-1:spaces%tabSize==0}}else{if(!this.blockComment)return false;var lineCommentStart=this.blockComment.start;var lineCommentEnd=this.blockComment.end;var regexpStart=new RegExp("^(\\s*)(?:"+lang.escapeRegExp(lineCommentStart)+")");var regexpEnd=new RegExp("(?:"+lang.escapeRegExp(lineCommentEnd)+")\\s*$");var comment=function(line,i){if(testRemove(line,i))return;if(!ignoreBlankLines||/\S/.test(line)){doc.insertInLine({row:i,column:line.length},lineCommentEnd);doc.insertInLine({row:i,column:minIndent},lineCommentStart)}};var uncomment=function(line,i){var m;(m=line.match(regexpEnd))&&doc.removeInLine(i,line.length-m[0].length,line.length);(m=line.match(regexpStart))&&doc.removeInLine(i,m[1].length,m[0].length)};var testRemove=function(line,row){if(regexpStart.test(line))return true;var tokens=session.getTokens(row);for(var i=0;i<tokens.length;i++)if("comment"===tokens[i].type)return true}}function iter(fun){for(var i=startRow;i<=endRow;i++)fun(doc.getLine(i),i)}var minEmptyLength=Infinity;iter(function(line,i){var indent=line.search(/\S/);if(-1!==indent){indent<minIndent&&(minIndent=indent);shouldRemove&&!testRemove(line,i)&&(shouldRemove=false)}else minEmptyLength>line.length&&(minEmptyLength=line.length)});if(Infinity==minIndent){minIndent=minEmptyLength;ignoreBlankLines=false;shouldRemove=false}insertAtTabStop&&minIndent%tabSize!=0&&(minIndent=Math.floor(minIndent/tabSize)*tabSize);iter(shouldRemove?uncomment:comment)};this.toggleBlockComment=function(state,session,range,cursor){var comment=this.blockComment;if(!comment)return;!comment.start&&comment[0]&&(comment=comment[0]);var iterator=new TokenIterator(session,cursor.row,cursor.column);var token=iterator.getCurrentToken();session.selection;var initialRange=session.selection.toOrientedRange();var startRow,colDiff;if(token&&/comment/.test(token.type)){var startRange,endRange;while(token&&/comment/.test(token.type)){var i=token.value.indexOf(comment.start);if(-1!=i){var row=iterator.getCurrentTokenRow();var column=iterator.getCurrentTokenColumn()+i;startRange=new Range(row,column,row,column+comment.start.length);break}token=iterator.stepBackward()}iterator=new TokenIterator(session,cursor.row,cursor.column);token=iterator.getCurrentToken();while(token&&/comment/.test(token.type)){i=token.value.indexOf(comment.end);if(-1!=i){row=iterator.getCurrentTokenRow();column=iterator.getCurrentTokenColumn()+i;endRange=new Range(row,column,row,column+comment.end.length);break}token=iterator.stepForward()}endRange&&session.remove(endRange);if(startRange){session.remove(startRange);startRow=startRange.start.row;colDiff=-comment.start.length}}else{colDiff=comment.start.length;startRow=range.start.row;session.insert(range.end,comment.end);session.insert(range.start,comment.start)}initialRange.start.row==startRow&&(initialRange.start.column+=colDiff);initialRange.end.row==startRow&&(initialRange.end.column+=colDiff);session.selection.fromOrientedRange(initialRange)};this.getNextLineIndent=function(state,line,tab){return this.$getIndent(line)};this.checkOutdent=function(state,line,input){return false};this.autoOutdent=function(state,doc,row){};this.$getIndent=function(line){return line.match(/^\s*/)[0]};this.createWorker=function(session){return null};this.createModeDelegates=function(mapping){this.$embeds=[];this.$modes={};for(var i in mapping)if(mapping[i]){this.$embeds.push(i);this.$modes[i]=new mapping[i]}var delegations=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(i=0;i<delegations.length;i++)(function(scope){var functionName=delegations[i];var defaultHandler=scope[functionName];scope[delegations[i]]=function(){return this.$delegator(functionName,arguments,defaultHandler)}})(this)};this.$delegator=function(method,args,defaultHandler){var state=args[0];"string"!=typeof state&&(state=state[0]);for(var i=0;i<this.$embeds.length;i++){if(!this.$modes[this.$embeds[i]])continue;var split=state.split(this.$embeds[i]);if(!split[0]&&split[1]){args[0]=split[1];var mode=this.$modes[this.$embeds[i]];return mode[method].apply(mode,args)}}var ret=defaultHandler.apply(this,args);return defaultHandler?ret:void 0};this.transformAction=function(state,action,editor,session,param){if(this.$behaviour){var behaviours=this.$behaviour.getBehaviours();for(var key in behaviours)if(behaviours[key][action]){var ret=behaviours[key][action].apply(this,arguments);if(ret)return ret}}};this.getKeywords=function(append){if(!this.completionKeywords){var rules=this.$tokenizer.rules;var completionKeywords=[];for(var rule in rules){var ruleItr=rules[rule];for(var r=0,l=ruleItr.length;r<l;r++)if("string"===typeof ruleItr[r].token)/keyword|support|storage/.test(ruleItr[r].token)&&completionKeywords.push(ruleItr[r].regex);else if("object"===typeof ruleItr[r].token)for(var a=0,aLength=ruleItr[r].token.length;a<aLength;a++)if(/keyword|support|storage/.test(ruleItr[r].token[a])){rule=ruleItr[r].regex.match(/\(.+?\)/g)[a];completionKeywords.push(rule.substr(1,rule.length-2))}}this.completionKeywords=completionKeywords}if(!append)return this.$keywordList;return completionKeywords.concat(this.$keywordList||[])};this.$createKeywordList=function(){this.$highlightRules||this.getTokenizer();return this.$keywordList=this.$highlightRules.$keywordList||[]};this.getCompletions=function(state,session,pos,prefix){var keywords=this.$keywordList||this.$createKeywordList();return keywords.map(function(word){return{name:word,value:word,score:0,meta:"keyword"}})};this.$id="ace/mode/text"}).call(Mode.prototype);exports.Mode=Mode});ace.define("ace/apply_delta",["require","exports","module"],function(acequire,exports,module){"use strict";exports.applyDelta=function(docLines,delta,doNotValidate){var row=delta.start.row;var startColumn=delta.start.column;var line=docLines[row]||"";switch(delta.action){case"insert":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args);docLines[row]=line.substring(0,startColumn)+docLines[row];docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case"remove":var endColumn=delta.end.column;var endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}});ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports,module){"use strict";var oop=acequire("./lib/oop");var EventEmitter=acequire("./lib/event_emitter").EventEmitter;var Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this);this.attach(doc);"undefined"==typeof column?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){oop.implement(this,EventEmitter);this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)};this.getDocument=function(){return this.document};this.$insertRight=false;this.onChange=function(delta){if(delta.start.row==delta.end.row&&delta.start.row!=this.row)return;if(delta.start.row>this.row)return;var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,true)};function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.column<point2.column;return point1.row<point2.row||point1.row==point2.row&&bColIsAfter}function $getTransformedPoint(delta,point,moveIfEqual){var deltaIsInsert="insert"==delta.action;var deltaRowShift=(deltaIsInsert?1:-1)*(delta.end.row-delta.start.row);var deltaColShift=(deltaIsInsert?1:-1)*(delta.end.column-delta.start.column);var deltaStart=delta.start;var deltaEnd=deltaIsInsert?deltaStart:delta.end;if($pointsInOrder(point,deltaStart,moveIfEqual))return{row:point.row,column:point.column};if($pointsInOrder(deltaEnd,point,!moveIfEqual))return{row:point.row+deltaRowShift,column:point.column+(point.row==deltaEnd.row?deltaColShift:0)};return{row:deltaStart.row,column:deltaStart.column}}this.setPosition=function(row,column,noClip){var pos;pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column);if(this.row==pos.row&&this.column==pos.column)return;var old={row:this.row,column:this.column};this.row=pos.row;this.column=pos.column;this._signal("change",{old:old,value:pos})};this.detach=function(){this.document.removeEventListener("change",this.$onChange)};this.attach=function(doc){this.document=doc||this.document;this.document.on("change",this.$onChange)};this.$clipPositionToDocument=function(row,column){var pos={};if(row>=this.document.getLength()){pos.row=Math.max(0,this.document.getLength()-1);pos.column=this.document.getLine(pos.row).length}else if(row<0){pos.row=0;pos.column=0}else{pos.row=row;pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))}column<0&&(pos.column=0);return pos}}).call(Anchor.prototype)});ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports,module){"use strict";var oop=acequire("./lib/oop");var applyDelta=acequire("./apply_delta").applyDelta;var EventEmitter=acequire("./lib/event_emitter").EventEmitter;var Range=acequire("./range").Range;var Anchor=acequire("./anchor").Anchor;var Document=function(textOrLines){this.$lines=[""];0===textOrLines.length?this.$lines=[""]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter);this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length));this.insert({row:0,column:0},text)};this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())};this.createAnchor=function(row,column){return new Anchor(this,row,column)};0==="aaa".split(/a/).length?this.$split=function(text){return text.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(text){return text.split(/\r\n|\r|\n/)};this.$detectNewLine=function(text){var match=text.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=match?match[1]:"\n";this._signal("changeNewLineMode")};this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}};this.$autoNewLine="";this.$newLineMode="auto";this.setNewLineMode=function(newLineMode){if(this.$newLineMode===newLineMode)return;this.$newLineMode=newLineMode;this._signal("changeNewLineMode")};this.getNewLineMode=function(){return this.$newLineMode};this.isNewLine=function(text){return"\r\n"==text||"\r"==text||"\n"==text};this.getLine=function(row){return this.$lines[row]||""};this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)};this.getAllLines=function(){return this.getLines(0,this.getLength())};this.getLength=function(){return this.$lines.length};this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())};this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row);lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines};this.insertLines=function(row,lines){console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead.");return this.insertFullLines(row,lines)};this.removeLines=function(firstRow,lastRow){console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead.");return this.removeFullLines(firstRow,lastRow)};this.insertNewLine=function(position){console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead.");return this.insertMergedLines(position,["",""])};this.insert=function(position,text){this.getLength()<=1&&this.$detectNewLine(text);return this.insertMergedLines(position,this.$split(text))};this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column);var end=this.pos(position.row,position.column+text.length);this.applyDelta({start:start,end:end,action:"insert",lines:[text]},true);return this.clonePos(end)};this.clippedPos=function(row,column){var length=this.getLength();if(void 0===row)row=length;else if(row<0)row=0;else if(row>=length){row=length-1;column=void 0}var line=this.getLine(row);void 0==column&&(column=line.length);column=Math.min(Math.max(column,0),line.length);return{row:row,column:column}};this.clonePos=function(pos){return{row:pos.row,column:pos.column}};this.pos=function(row,column){return{row:row,column:column}};this.$clipPosition=function(position){var length=this.getLength();if(position.row>=length){position.row=Math.max(0,length-1);position.column=this.getLine(length-1).length}else{position.row=Math.max(0,position.row);position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)}return position};this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;if(row<this.getLength()){lines=lines.concat([""]);column=0}else{lines=[""].concat(lines);row--;column=this.$lines[row].length}this.insertMergedLines({row:row,column:column},lines)};this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column);var end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};this.applyDelta({start:start,end:end,action:"insert",lines:lines});return this.clonePos(end)};this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column);var end=this.clippedPos(range.end.row,range.end.column);this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})});return this.clonePos(start)};this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn);var end=this.clippedPos(row,endColumn);this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})},true);return this.clonePos(start)};this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1);lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0;var deleteLastNewLine=lastRow<this.getLength()-1;var startRow=deleteFirstNewLine?firstRow-1:firstRow;var startCol=deleteFirstNewLine?this.getLine(startRow).length:0;var endRow=deleteLastNewLine?lastRow+1:lastRow;var endCol=deleteLastNewLine?0:this.getLine(endRow).length;var range=new Range(startRow,startCol,endRow,endCol);var deletedLines=this.$lines.slice(firstRow,lastRow+1);this.applyDelta({start:range.start,end:range.end,action:"remove",lines:this.getLinesForRange(range)});return deletedLines};this.removeNewLine=function(row){row<this.getLength()-1&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:"remove",lines:["",""]})};this.replace=function(range,text){range instanceof Range||(range=Range.fromPoints(range.start,range.end));if(0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;end=text?this.insert(range.start,text):range.start;return end};this.applyDeltas=function(deltas){for(var i=0;i<deltas.length;i++)this.applyDelta(deltas[i])};this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])};this.applyDelta=function(delta,doNotValidate){var isInsert="insert"==delta.action;if(isInsert?delta.lines.length<=1&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))return;isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4);applyDelta(this.$lines,delta,doNotValidate);this._signal("change",delta)};this.$splitAndapplyLargeDelta=function(delta,MAX){var lines=delta.lines;var l=lines.length;var row=delta.start.row;var column=delta.start.column;var from=0,to=0;do{from=to;to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk;delta.start.row=row+from;delta.start.column=column;break}chunk.push("");this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},true)}while(true)};this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:"insert"==delta.action?"remove":"insert",lines:delta.lines.slice()})};this.indexToPosition=function(index,startRow){var lines=this.$lines||this.getAllLines();var newlineLength=this.getNewLineCharacter().length;for(var i=startRow||0,l=lines.length;i<l;i++){index-=lines[i].length+newlineLength;if(index<0)return{row:i,column:index+lines[i].length+newlineLength}}return{row:l-1,column:lines[l-1].length}};this.positionToIndex=function(pos,startRow){var lines=this.$lines||this.getAllLines();var newlineLength=this.getNewLineCharacter().length;var index=0;var row=Math.min(pos.row,lines.length);for(var i=startRow||0;i<row;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype);exports.Document=Document});ace.define("ace/background_tokenizer",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports,module){"use strict";var oop=acequire("./lib/oop");var EventEmitter=acequire("./lib/event_emitter").EventEmitter;var BackgroundTokenizer=function(tokenizer,editor){this.running=false;this.lines=[];this.states=[];this.currentLine=0;this.tokenizer=tokenizer;var self=this;this.$worker=function(){if(!self.running)return;var workerStart=new Date;var currentLine=self.currentLine;var endLine=-1;var doc=self.doc;var startLine=currentLine;while(self.lines[currentLine])currentLine++;var len=doc.getLength();var processedLines=0;self.running=false;while(currentLine<len){self.$tokenizeRow(currentLine);endLine=currentLine;do{currentLine++}while(self.lines[currentLine]);processedLines++;if(processedLines%5===0&&new Date-workerStart>20){self.running=setTimeout(self.$worker,20);break}}self.currentLine=currentLine;-1==endLine&&(endLine=currentLine);startLine<=endLine&&self.fireUpdateEvent(startLine,endLine)}};(function(){oop.implement(this,EventEmitter);this.setTokenizer=function(tokenizer){this.tokenizer=tokenizer;this.lines=[];this.states=[];this.start(0)};this.setDocument=function(doc){this.doc=doc;this.lines=[];this.states=[];this.stop()};this.fireUpdateEvent=function(firstRow,lastRow){var data={first:firstRow,last:lastRow};this._signal("update",{data:data})};this.start=function(startRow){this.currentLine=Math.min(startRow||0,this.currentLine,this.doc.getLength());this.lines.splice(this.currentLine,this.lines.length);this.states.splice(this.currentLine,this.states.length);this.stop();this.running=setTimeout(this.$worker,700)};this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))};this.$updateOnChange=function(delta){var startRow=delta.start.row;var len=delta.end.row-startRow;if(0===len)this.lines[startRow]=null;else if("remove"==delta.action){this.lines.splice(startRow,len+1,null);this.states.splice(startRow,len+1,null)}else{var args=Array(len+1);args.unshift(startRow,1);this.lines.splice.apply(this.lines,args);this.states.splice.apply(this.states,args)}this.currentLine=Math.min(startRow,this.currentLine,this.doc.getLength());this.stop()};this.stop=function(){this.running&&clearTimeout(this.running);this.running=false};this.getTokens=function(row){return this.lines[row]||this.$tokenizeRow(row)};this.getState=function(row){this.currentLine==row&&this.$tokenizeRow(row);return this.states[row]||"start"};this.$tokenizeRow=function(row){var line=this.doc.getLine(row);var state=this.states[row-1];var data=this.tokenizer.getLineTokens(line,state,row);if(this.states[row]+""!==data.state+""){this.states[row]=data.state;this.lines[row+1]=null;this.currentLine>row+1&&(this.currentLine=row+1)}else this.currentLine==row&&(this.currentLine=row+1);return this.lines[row]=data.tokens}}).call(BackgroundTokenizer.prototype);exports.BackgroundTokenizer=BackgroundTokenizer});ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(acequire,exports,module){"use strict";var lang=acequire("./lib/lang");acequire("./lib/oop");var Range=acequire("./range").Range;var SearchHighlight=function(regExp,clazz,type){this.setRegexp(regExp);this.clazz=clazz;this.type=type||"text"};(function(){this.MAX_RANGES=500;this.setRegexp=function(regExp){if(this.regExp+""==regExp+"")return;this.regExp=regExp;this.cache=[]};this.update=function(html,markerLayer,session,config){if(!this.regExp)return;var start=config.firstRow,end=config.lastRow;for(var i=start;i<=end;i++){var ranges=this.cache[i];if(null==ranges){ranges=lang.getMatchOffsets(session.getLine(i),this.regExp);ranges.length>this.MAX_RANGES&&(ranges=ranges.slice(0,this.MAX_RANGES));ranges=ranges.map(function(match){return new Range(i,match.offset,i,match.offset+match.length)});this.cache[i]=ranges.length?ranges:""}for(var j=ranges.length;j--;)markerLayer.drawSingleLineMarker(html,ranges[j].toScreenRange(session),this.clazz,config)}}}).call(SearchHighlight.prototype);exports.SearchHighlight=SearchHighlight});ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(acequire,exports,module){"use strict";var Range=acequire("../range").Range;function FoldLine(foldData,folds){this.foldData=foldData;Array.isArray(folds)?this.folds=folds:folds=this.folds=[folds];var last=folds[folds.length-1];this.range=new Range(folds[0].start.row,folds[0].start.column,last.end.row,last.end.column);this.start=this.range.start;this.end=this.range.end;this.folds.forEach(function(fold){fold.setFoldLine(this)},this)}(function(){this.shiftRow=function(shift){this.start.row+=shift;this.end.row+=shift;this.folds.forEach(function(fold){fold.start.row+=shift;fold.end.row+=shift})};this.addFold=function(fold){if(fold.sameRow){if(fold.start.row<this.startRow||fold.endRow>this.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(fold);this.folds.sort(function(a,b){return-a.range.compareEnd(b.start.row,b.start.column)});if(this.range.compareEnd(fold.start.row,fold.start.column)>0){this.end.row=fold.end.row;this.end.column=fold.end.column}else if(this.range.compareStart(fold.end.row,fold.end.column)<0){this.start.row=fold.start.row;this.start.column=fold.start.column}}else if(fold.start.row==this.end.row){this.folds.push(fold);this.end.row=fold.end.row;this.end.column=fold.end.column}else{if(fold.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(fold);this.start.row=fold.start.row;this.start.column=fold.start.column}fold.foldLine=this};this.containsRow=function(row){return row>=this.start.row&&row<=this.end.row};this.walk=function(callback,endRow,endColumn){var fold,cmp,stop,lastEnd=0,folds=this.folds,isNewRow=true;if(null==endRow){endRow=this.end.row;endColumn=this.end.column}for(var i=0;i<folds.length;i++){fold=folds[i];cmp=fold.range.compareStart(endRow,endColumn);if(-1==cmp){callback(null,endRow,endColumn,lastEnd,isNewRow);return}stop=callback(null,fold.start.row,fold.start.column,lastEnd,isNewRow);stop=!stop&&callback(fold.placeholder,fold.start.row,fold.start.column,lastEnd);if(stop||0===cmp)return;isNewRow=!fold.sameRow;lastEnd=fold.end.column}callback(null,endRow,endColumn,lastEnd,isNewRow)};this.getNextFoldTo=function(row,column){var fold,cmp;for(var i=0;i<this.folds.length;i++){fold=this.folds[i];cmp=fold.range.compareEnd(row,column);if(-1==cmp)return{fold:fold,kind:"after"};if(0===cmp)return{fold:fold,kind:"inside"}}return null};this.addRemoveChars=function(row,column,len){var fold,folds,ret=this.getNextFoldTo(row,column);if(ret){fold=ret.fold;if("inside"==ret.kind&&fold.start.column!=column&&fold.start.row!=row)window.console&&window.console.log(row,column,fold);else if(fold.start.row==row){folds=this.folds;var i=folds.indexOf(fold);0===i&&(this.start.column+=len);for(i;i<folds.length;i++){fold=folds[i];fold.start.column+=len;if(!fold.sameRow)return;fold.end.column+=len}this.end.column+=len}}};this.split=function(row,column){var pos=this.getNextFoldTo(row,column);if(!pos||"inside"==pos.kind)return null;var fold=pos.fold;var folds=this.folds;var foldData=this.foldData;var i=folds.indexOf(fold);var foldBefore=folds[i-1];this.end.row=foldBefore.end.row;this.end.column=foldBefore.end.column;folds=folds.splice(i,folds.length-i);var newFoldLine=new FoldLine(foldData,folds);foldData.splice(foldData.indexOf(this)+1,0,newFoldLine);return newFoldLine};this.merge=function(foldLineNext){var folds=foldLineNext.folds;for(var i=0;i<folds.length;i++)this.addFold(folds[i]);var foldData=this.foldData;foldData.splice(foldData.indexOf(foldLineNext),1)};this.toString=function(){var ret=[this.range.toString()+": ["];this.folds.forEach(function(fold){ret.push("  "+fold.toString())});ret.push("]");return ret.join("\n")};this.idxToPosition=function(idx){var lastFoldEndColumn=0;for(var i=0;i<this.folds.length;i++){var fold=this.folds[i];idx-=fold.start.column-lastFoldEndColumn;if(idx<0)return{row:fold.start.row,column:fold.start.column+idx};idx-=fold.placeholder.length;if(idx<0)return fold.start;lastFoldEndColumn=fold.end.column}return{row:this.end.row,column:this.end.column+idx}}}).call(FoldLine.prototype);exports.FoldLine=FoldLine});ace.define("ace/range_list",["require","exports","module","ace/range"],function(acequire,exports,module){"use strict";var Range=acequire("./range").Range;var comparePoints=Range.comparePoints;var RangeList=function(){this.ranges=[]};(function(){this.comparePoints=comparePoints;this.pointIndex=function(pos,excludeEdges,startIndex){var list=this.ranges;for(var i=startIndex||0;i<list.length;i++){var range=list[i];var cmpEnd=comparePoints(pos,range.end);if(cmpEnd>0)continue;var cmpStart=comparePoints(pos,range.start);if(0===cmpEnd)return excludeEdges&&0!==cmpStart?-i-2:i;if(cmpStart>0||0===cmpStart&&!excludeEdges)return i;return-i-1}return-i-1};this.add=function(range){var excludeEdges=!range.isEmpty();var startIndex=this.pointIndex(range.start,excludeEdges);startIndex<0&&(startIndex=-startIndex-1);var endIndex=this.pointIndex(range.end,excludeEdges,startIndex);endIndex<0?endIndex=-endIndex-1:endIndex++;return this.ranges.splice(startIndex,endIndex-startIndex,range)};this.addList=function(list){var removed=[];for(var i=list.length;i--;)removed.push.apply(removed,this.add(list[i]));return removed};this.substractPoint=function(pos){var i=this.pointIndex(pos);if(i>=0)return this.ranges.splice(i,1)};this.merge=function(){var removed=[];var list=this.ranges;list=list.sort(function(a,b){return comparePoints(a.start,b.start)});var range,next=list[0];for(var i=1;i<list.length;i++){range=next;next=list[i];var cmp=comparePoints(range.end,next.start);if(cmp<0)continue;if(0==cmp&&!range.isEmpty()&&!next.isEmpty())continue;if(comparePoints(range.end,next.end)<0){range.end.row=next.end.row;range.end.column=next.end.column}list.splice(i,1);removed.push(next);next=range;i--}this.ranges=list;return removed};this.contains=function(row,column){return this.pointIndex({row:row,column:column})>=0};this.containsPoint=function(pos){return this.pointIndex(pos)>=0};this.rangeAtPoint=function(pos){var i=this.pointIndex(pos);if(i>=0)return this.ranges[i]};this.clipRows=function(startRow,endRow){var list=this.ranges;if(list[0].start.row>endRow||list[list.length-1].start.row<startRow)return[];var startIndex=this.pointIndex({row:startRow,column:0});startIndex<0&&(startIndex=-startIndex-1);var endIndex=this.pointIndex({row:endRow,column:0},startIndex);endIndex<0&&(endIndex=-endIndex-1);var clipped=[];for(var i=startIndex;i<endIndex;i++)clipped.push(list[i]);return clipped};this.removeAll=function(){return this.ranges.splice(0,this.ranges.length)};this.attach=function(session){this.session&&this.detach();this.session=session;this.onChange=this.$onChange.bind(this);this.session.on("change",this.onChange)};this.detach=function(){if(!this.session)return;this.session.removeListener("change",this.onChange);this.session=null};this.$onChange=function(delta){if("insert"==delta.action){var start=delta.start;var end=delta.end}else{end=delta.start;start=delta.end}var startRow=start.row;var endRow=end.row;var lineDif=endRow-startRow;var colDiff=-start.column+end.column;var ranges=this.ranges;for(var i=0,n=ranges.length;i<n;i++){var r=ranges[i];if(r.end.row<startRow)continue;if(r.start.row>startRow)break;if(r.start.row==startRow&&r.start.column>=start.column)if(r.start.column==start.column&&this.$insertRight);else{r.start.column+=colDiff;r.start.row+=lineDif}if(r.end.row==startRow&&r.end.column>=start.column){if(r.end.column==start.column&&this.$insertRight)continue;r.end.column==start.column&&colDiff>0&&i<n-1&&r.end.column>r.start.column&&r.end.column==ranges[i+1].start.column&&(r.end.column-=colDiff);r.end.column+=colDiff;r.end.row+=lineDif}}if(0!=lineDif&&i<n)for(;i<n;i++){r=ranges[i];r.start.row+=lineDif;r.end.row+=lineDif}}}).call(RangeList.prototype);exports.RangeList=RangeList});ace.define("ace/edit_session/fold",["require","exports","module","ace/range","ace/range_list","ace/lib/oop"],function(acequire,exports,module){"use strict";acequire("../range").Range;var RangeList=acequire("../range_list").RangeList;var oop=acequire("../lib/oop");var Fold=exports.Fold=function(range,placeholder){this.foldLine=null;this.placeholder=placeholder;this.range=range;this.start=range.start;this.end=range.end;this.sameRow=range.start.row==range.end.row;this.subFolds=this.ranges=[]};oop.inherits(Fold,RangeList);(function(){this.toString=function(){return'"'+this.placeholder+'" '+this.range.toString()};this.setFoldLine=function(foldLine){this.foldLine=foldLine;this.subFolds.forEach(function(fold){fold.setFoldLine(foldLine)})};this.clone=function(){var range=this.range.clone();var fold=new Fold(range,this.placeholder);this.subFolds.forEach(function(subFold){fold.subFolds.push(subFold.clone())});fold.collapseChildren=this.collapseChildren;return fold};this.addSubFold=function(fold){if(this.range.isEqual(fold))return;if(!this.range.containsRange(fold))throw new Error("A fold can't intersect already existing fold"+fold.range+this.range);consumeRange(fold,this.start);var row=fold.start.row,column=fold.start.column;for(var i=0,cmp=-1;i<this.subFolds.length;i++){cmp=this.subFolds[i].range.compare(row,column);if(1!=cmp)break}var afterStart=this.subFolds[i];if(0==cmp)return afterStart.addSubFold(fold);row=fold.range.end.row,column=fold.range.end.column;var j=i;for(cmp=-1;j<this.subFolds.length;j++){cmp=this.subFolds[j].range.compare(row,column);if(1!=cmp)break}this.subFolds[j];if(0==cmp)throw new Error("A fold can't intersect already existing fold"+fold.range+this.range);this.subFolds.splice(i,j-i,fold);fold.setFoldLine(this.foldLine);return fold};this.restoreRange=function(range){return restoreRange(range,this.start)}}).call(Fold.prototype);function consumePoint(point,anchor){point.row-=anchor.row;0==point.row&&(point.column-=anchor.column)}function consumeRange(range,anchor){consumePoint(range.start,anchor);consumePoint(range.end,anchor)}function restorePoint(point,anchor){0==point.row&&(point.column+=anchor.column);point.row+=anchor.row}function restoreRange(range,anchor){restorePoint(range.start,anchor);restorePoint(range.end,anchor)}});ace.define("ace/edit_session/folding",["require","exports","module","ace/range","ace/edit_session/fold_line","ace/edit_session/fold","ace/token_iterator"],function(acequire,exports,module){"use strict";var Range=acequire("../range").Range;var FoldLine=acequire("./fold_line").FoldLine;var Fold=acequire("./fold").Fold;var TokenIterator=acequire("../token_iterator").TokenIterator;function Folding(){this.getFoldAt=function(row,column,side){var foldLine=this.getFoldLine(row);if(!foldLine)return null;var folds=foldLine.folds;for(var i=0;i<folds.length;i++){var fold=folds[i];if(fold.range.contains(row,column)){if(1==side&&fold.range.isEnd(row,column))continue;if(-1==side&&fold.range.isStart(row,column))continue;return fold}}};this.getFoldsInRange=function(range){var start=range.start;var end=range.end;var foldLines=this.$foldData;var foundFolds=[];start.column+=1;end.column-=1;for(var i=0;i<foldLines.length;i++){var cmp=foldLines[i].range.compareRange(range);if(2==cmp)continue;if(-2==cmp)break;var folds=foldLines[i].folds;for(var j=0;j<folds.length;j++){var fold=folds[j];cmp=fold.range.compareRange(range);if(-2==cmp)break;if(2==cmp)continue;if(42==cmp)break;foundFolds.push(fold)}}start.column-=1;end.column+=1;return foundFolds};this.getFoldsInRangeList=function(ranges){if(Array.isArray(ranges)){var folds=[];ranges.forEach(function(range){folds=folds.concat(this.getFoldsInRange(range))},this)}else folds=this.getFoldsInRange(ranges);return folds};this.getAllFolds=function(){var folds=[];var foldLines=this.$foldData;for(var i=0;i<foldLines.length;i++)for(var j=0;j<foldLines[i].folds.length;j++)folds.push(foldLines[i].folds[j]);return folds};this.getFoldStringAt=function(row,column,trim,foldLine){foldLine=foldLine||this.getFoldLine(row);if(!foldLine)return null;var lastFold={end:{column:0}};var str,fold;for(var i=0;i<foldLine.folds.length;i++){fold=foldLine.folds[i];var cmp=fold.range.compareEnd(row,column);if(-1==cmp){str=this.getLine(fold.start.row).substring(lastFold.end.column,fold.start.column);break}if(0===cmp)return null;lastFold=fold}str||(str=this.getLine(fold.start.row).substring(lastFold.end.column));return-1==trim?str.substring(0,column-lastFold.end.column):1==trim?str.substring(column-lastFold.end.column):str};this.getFoldLine=function(docRow,startFoldLine){var foldData=this.$foldData;var i=0;startFoldLine&&(i=foldData.indexOf(startFoldLine));-1==i&&(i=0);for(i;i<foldData.length;i++){var foldLine=foldData[i];if(foldLine.start.row<=docRow&&foldLine.end.row>=docRow)return foldLine;if(foldLine.end.row>docRow)return null}return null};this.getNextFoldLine=function(docRow,startFoldLine){var foldData=this.$foldData;var i=0;startFoldLine&&(i=foldData.indexOf(startFoldLine));-1==i&&(i=0);for(i;i<foldData.length;i++){var foldLine=foldData[i];if(foldLine.end.row>=docRow)return foldLine}return null};this.getFoldedRowCount=function(first,last){var foldData=this.$foldData,rowCount=last-first+1;for(var i=0;i<foldData.length;i++){var foldLine=foldData[i],end=foldLine.end.row,start=foldLine.start.row;if(end>=last){start<last&&(start>=first?rowCount-=last-start:rowCount=0);break}end>=first&&(rowCount-=start>=first?end-start:end-first+1)}return rowCount};this.$addFoldLine=function(foldLine){this.$foldData.push(foldLine);this.$foldData.sort(function(a,b){return a.start.row-b.start.row});return foldLine};this.addFold=function(placeholder,range){var foldData=this.$foldData;var added=false;var fold;if(placeholder instanceof Fold)fold=placeholder;else{fold=new Fold(range,placeholder);fold.collapseChildren=range.collapseChildren}this.$clipRangeToDocument(fold.range);var startRow=fold.start.row;var startColumn=fold.start.column;var endRow=fold.end.row;var endColumn=fold.end.column;if(!(startRow<endRow||startRow==endRow&&startColumn<=endColumn-2))throw new Error("The range has to be at least 2 characters width");var startFold=this.getFoldAt(startRow,startColumn,1);var endFold=this.getFoldAt(endRow,endColumn,-1);if(startFold&&endFold==startFold)return startFold.addSubFold(fold);startFold&&!startFold.range.isStart(startRow,startColumn)&&this.removeFold(startFold);endFold&&!endFold.range.isEnd(endRow,endColumn)&&this.removeFold(endFold);var folds=this.getFoldsInRange(fold.range);if(folds.length>0){this.removeFolds(folds);folds.forEach(function(subFold){fold.addSubFold(subFold)})}for(var i=0;i<foldData.length;i++){var foldLine=foldData[i];if(endRow==foldLine.start.row){foldLine.addFold(fold);added=true;break}if(startRow==foldLine.end.row){foldLine.addFold(fold);added=true;if(!fold.sameRow){var foldLineNext=foldData[i+1];if(foldLineNext&&foldLineNext.start.row==endRow){foldLine.merge(foldLineNext);break}}break}if(endRow<=foldLine.start.row)break}added||(foldLine=this.$addFoldLine(new FoldLine(this.$foldData,fold)));this.$useWrapMode?this.$updateWrapData(foldLine.start.row,foldLine.start.row):this.$updateRowLengthCache(foldLine.start.row,foldLine.start.row);this.$modified=true;this._signal("changeFold",{data:fold,action:"add"});return fold};this.addFolds=function(folds){folds.forEach(function(fold){this.addFold(fold)},this)};this.removeFold=function(fold){var foldLine=fold.foldLine;var startRow=foldLine.start.row;var endRow=foldLine.end.row;var foldLines=this.$foldData;var folds=foldLine.folds;if(1==folds.length)foldLines.splice(foldLines.indexOf(foldLine),1);else if(foldLine.range.isEnd(fold.end.row,fold.end.column)){folds.pop();foldLine.end.row=folds[folds.length-1].end.row;foldLine.end.column=folds[folds.length-1].end.column}else if(foldLine.range.isStart(fold.start.row,fold.start.column)){folds.shift();foldLine.start.row=folds[0].start.row;foldLine.start.column=folds[0].start.column}else if(fold.sameRow)folds.splice(folds.indexOf(fold),1);else{var newFoldLine=foldLine.split(fold.start.row,fold.start.column);folds=newFoldLine.folds;folds.shift();newFoldLine.start.row=folds[0].start.row;newFoldLine.start.column=folds[0].start.column}this.$updating||(this.$useWrapMode?this.$updateWrapData(startRow,endRow):this.$updateRowLengthCache(startRow,endRow));this.$modified=true;this._signal("changeFold",{data:fold,action:"remove"})};this.removeFolds=function(folds){var cloneFolds=[];for(var i=0;i<folds.length;i++)cloneFolds.push(folds[i]);cloneFolds.forEach(function(fold){this.removeFold(fold)},this);this.$modified=true};this.expandFold=function(fold){this.removeFold(fold);fold.subFolds.forEach(function(subFold){fold.restoreRange(subFold);this.addFold(subFold)},this);fold.collapseChildren>0&&this.foldAll(fold.start.row+1,fold.end.row,fold.collapseChildren-1);fold.subFolds=[]};this.expandFolds=function(folds){folds.forEach(function(fold){this.expandFold(fold)},this)};this.unfold=function(location,expandInner){var range,folds;if(null==location){range=new Range(0,0,this.getLength(),0);expandInner=true}else range="number"==typeof location?new Range(location,0,location,this.getLine(location).length):"row"in location?Range.fromPoints(location,location):location;folds=this.getFoldsInRangeList(range);if(expandInner)this.removeFolds(folds);else{var subFolds=folds;while(subFolds.length){this.expandFolds(subFolds);subFolds=this.getFoldsInRangeList(range)}}if(folds.length)return folds};this.isRowFolded=function(docRow,startFoldRow){return!!this.getFoldLine(docRow,startFoldRow)};this.getRowFoldEnd=function(docRow,startFoldRow){var foldLine=this.getFoldLine(docRow,startFoldRow);return foldLine?foldLine.end.row:docRow};this.getRowFoldStart=function(docRow,startFoldRow){var foldLine=this.getFoldLine(docRow,startFoldRow);return foldLine?foldLine.start.row:docRow};this.getFoldDisplayLine=function(foldLine,endRow,endColumn,startRow,startColumn){null==startRow&&(startRow=foldLine.start.row);null==startColumn&&(startColumn=0);null==endRow&&(endRow=foldLine.end.row);null==endColumn&&(endColumn=this.getLine(endRow).length);var doc=this.doc;var textLine="";foldLine.walk(function(placeholder,row,column,lastColumn){if(row<startRow)return;if(row==startRow){if(column<startColumn)return;lastColumn=Math.max(startColumn,lastColumn)}textLine+=null!=placeholder?placeholder:doc.getLine(row).substring(lastColumn,column)},endRow,endColumn);return textLine};this.getDisplayLine=function(row,endColumn,startRow,startColumn){var foldLine=this.getFoldLine(row);if(foldLine)return this.getFoldDisplayLine(foldLine,row,endColumn,startRow,startColumn);var line;line=this.doc.getLine(row);return line.substring(startColumn||0,endColumn||line.length)};this.$cloneFoldData=function(){var fd=[];fd=this.$foldData.map(function(foldLine){var folds=foldLine.folds.map(function(fold){return fold.clone()});return new FoldLine(fd,folds)});return fd};this.toggleFold=function(tryToUnfold){var selection=this.selection;var range=selection.getRange();var fold;var bracketPos;if(range.isEmpty()){var cursor=range.start;fold=this.getFoldAt(cursor.row,cursor.column);if(fold){this.expandFold(fold);return}if(bracketPos=this.findMatchingBracket(cursor))if(1==range.comparePoint(bracketPos))range.end=bracketPos;else{range.start=bracketPos;range.start.column++;range.end.column--}else if(bracketPos=this.findMatchingBracket({row:cursor.row,column:cursor.column+1})){1==range.comparePoint(bracketPos)?range.end=bracketPos:range.start=bracketPos;range.start.column++}else range=this.getCommentFoldRange(cursor.row,cursor.column)||range}else{var folds=this.getFoldsInRange(range);if(tryToUnfold&&folds.length){this.expandFolds(folds);return}1==folds.length&&(fold=folds[0])}fold||(fold=this.getFoldAt(range.start.row,range.start.column));if(fold&&fold.range.toString()==range.toString()){this.expandFold(fold);return}var placeholder="...";if(!range.isMultiLine()){placeholder=this.getTextRange(range);if(placeholder.length<4)return;placeholder=placeholder.trim().substring(0,2)+".."}this.addFold(placeholder,range)};this.getCommentFoldRange=function(row,column,dir){var iterator=new TokenIterator(this,row,column);var token=iterator.getCurrentToken();var type=token.type;if(token&&/^comment|string/.test(type)){type=type.match(/comment|string/)[0];"comment"==type&&(type+="|doc-start");var re=new RegExp(type);var range=new Range;if(1!=dir){do{token=iterator.stepBackward()}while(token&&re.test(token.type));iterator.stepForward()}range.start.row=iterator.getCurrentTokenRow();range.start.column=iterator.getCurrentTokenColumn()+2;iterator=new TokenIterator(this,row,column);if(-1!=dir){var lastRow=-1;do{token=iterator.stepForward();if(-1==lastRow){var state=this.getState(iterator.$row);re.test(state)||(lastRow=iterator.$row)}else if(iterator.$row>lastRow)break}while(token&&re.test(token.type));token=iterator.stepBackward()}else token=iterator.getCurrentToken();range.end.row=iterator.getCurrentTokenRow();range.end.column=iterator.getCurrentTokenColumn()+token.value.length-2;return range}};this.foldAll=function(startRow,endRow,depth){void 0==depth&&(depth=1e5);var foldWidgets=this.foldWidgets;if(!foldWidgets)return;endRow=endRow||this.getLength();startRow=startRow||0;for(var row=startRow;row<endRow;row++){null==foldWidgets[row]&&(foldWidgets[row]=this.getFoldWidget(row));if("start"!=foldWidgets[row])continue;var range=this.getFoldWidgetRange(row);if(range&&range.isMultiLine()&&range.end.row<=endRow&&range.start.row>=startRow){row=range.end.row;try{var fold=this.addFold("...",range);fold&&(fold.collapseChildren=depth)}catch(e){}}}};this.$foldStyles={manual:1,markbegin:1,markbeginend:1};this.$foldStyle="markbegin";this.setFoldStyle=function(style){if(!this.$foldStyles[style])throw new Error("invalid fold style: "+style+"["+Object.keys(this.$foldStyles).join(", ")+"]");if(this.$foldStyle==style)return;this.$foldStyle=style;"manual"==style&&this.unfold();var mode=this.$foldMode;this.$setFolding(null);this.$setFolding(mode)};this.$setFolding=function(foldMode){if(this.$foldMode==foldMode)return;this.$foldMode=foldMode;this.off("change",this.$updateFoldWidgets);this.off("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets);this._signal("changeAnnotation");if(!foldMode||"manual"==this.$foldStyle){this.foldWidgets=null;return}this.foldWidgets=[];this.getFoldWidget=foldMode.getFoldWidget.bind(foldMode,this,this.$foldStyle);this.getFoldWidgetRange=foldMode.getFoldWidgetRange.bind(foldMode,this,this.$foldStyle);this.$updateFoldWidgets=this.updateFoldWidgets.bind(this);this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this);this.on("change",this.$updateFoldWidgets);this.on("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets)};this.getParentFoldRangeData=function(row,ignoreCurrent){var fw=this.foldWidgets;if(!fw||ignoreCurrent&&fw[row])return{};var firstRange,i=row-1;while(i>=0){var c=fw[i];null==c&&(c=fw[i]=this.getFoldWidget(i));if("start"==c){var range=this.getFoldWidgetRange(i);firstRange||(firstRange=range);if(range&&range.end.row>=row)break}i--}return{range:-1!==i&&range,firstRange:firstRange}};this.onFoldWidgetClick=function(row,e){e=e.domEvent;var options={children:e.shiftKey,all:e.ctrlKey||e.metaKey,siblings:e.altKey};var range=this.$toggleFoldWidget(row,options);if(!range){var el=e.target||e.srcElement;el&&/ace_fold-widget/.test(el.className)&&(el.className+=" ace_invalid")}};this.$toggleFoldWidget=function(row,options){if(!this.getFoldWidget)return;var type=this.getFoldWidget(row);var line=this.getLine(row);var dir="end"===type?-1:1;var fold=this.getFoldAt(row,-1===dir?0:line.length,dir);if(fold){options.children||options.all?this.removeFold(fold):this.expandFold(fold);return fold}var range=this.getFoldWidgetRange(row,true);if(range&&!range.isMultiLine()){fold=this.getFoldAt(range.start.row,range.start.column,1);if(fold&&range.isEqual(fold.range)){this.removeFold(fold);return fold}}if(options.siblings){var data=this.getParentFoldRangeData(row);if(data.range){var startRow=data.range.start.row+1;var endRow=data.range.end.row}this.foldAll(startRow,endRow,options.all?1e4:0)}else if(options.children){endRow=range?range.end.row:this.getLength();this.foldAll(row+1,endRow,options.all?1e4:0)}else if(range){options.all&&(range.collapseChildren=1e4);this.addFold("...",range)}return range};this.toggleFoldWidget=function(toggleParent){var row=this.selection.getCursor().row;row=this.getRowFoldStart(row);var range=this.$toggleFoldWidget(row,{});if(range)return;var data=this.getParentFoldRangeData(row,true);range=data.range||data.firstRange;if(range){row=range.start.row;var fold=this.getFoldAt(row,this.getLine(row).length,1);fold?this.removeFold(fold):this.addFold("...",range)}};this.updateFoldWidgets=function(delta){var firstRow=delta.start.row;var len=delta.end.row-firstRow;if(0===len)this.foldWidgets[firstRow]=null;else if("remove"==delta.action)this.foldWidgets.splice(firstRow,len+1,null);else{var args=Array(len+1);args.unshift(firstRow,1);this.foldWidgets.splice.apply(this.foldWidgets,args)}};this.tokenizerUpdateFoldWidgets=function(e){var rows=e.data;rows.first!=rows.last&&this.foldWidgets.length>rows.first&&this.foldWidgets.splice(rows.first,this.foldWidgets.length)}}exports.Folding=Folding});ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(acequire,exports,module){"use strict";var TokenIterator=acequire("../token_iterator").TokenIterator;var Range=acequire("../range").Range;function BracketMatch(){this.findMatchingBracket=function(position,chr){if(0==position.column)return null;var charBeforeCursor=chr||this.getLine(position.row).charAt(position.column-1);if(""==charBeforeCursor)return null;var match=charBeforeCursor.match(/([\(\[\{])|([\)\]\}])/);if(!match)return null;return match[1]?this.$findClosingBracket(match[1],position):this.$findOpeningBracket(match[2],position)};this.getBracketRange=function(pos){var line=this.getLine(pos.row);var range,before=true;var chr=line.charAt(pos.column-1);var match=chr&&chr.match(/([\(\[\{])|([\)\]\}])/);if(!match){chr=line.charAt(pos.column);pos={row:pos.row,column:pos.column+1};match=chr&&chr.match(/([\(\[\{])|([\)\]\}])/);before=false}if(!match)return null;if(match[1]){var bracketPos=this.$findClosingBracket(match[1],pos);if(!bracketPos)return null;range=Range.fromPoints(pos,bracketPos);if(!before){range.end.column++;range.start.column--}range.cursor=range.end}else{bracketPos=this.$findOpeningBracket(match[2],pos);if(!bracketPos)return null;range=Range.fromPoints(bracketPos,pos);if(!before){range.start.column++;range.end.column--}range.cursor=range.start}return range};this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{"};this.$findOpeningBracket=function(bracket,position,typeRe){var openBracket=this.$brackets[bracket];var depth=1;var iterator=new TokenIterator(this,position.row,position.column);var token=iterator.getCurrentToken();token||(token=iterator.stepForward());if(!token)return;typeRe||(typeRe=new RegExp("(\\.?"+token.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));var valueIndex=position.column-iterator.getCurrentTokenColumn()-2;var value=token.value;while(true){while(valueIndex>=0){var chr=value.charAt(valueIndex);if(chr==openBracket){depth-=1;if(0==depth)return{row:iterator.getCurrentTokenRow(),column:valueIndex+iterator.getCurrentTokenColumn()}}else chr==bracket&&(depth+=1);valueIndex-=1}do{token=iterator.stepBackward()}while(token&&!typeRe.test(token.type));if(null==token)break;value=token.value;valueIndex=value.length-1}return null};this.$findClosingBracket=function(bracket,position,typeRe){var closingBracket=this.$brackets[bracket];var depth=1;var iterator=new TokenIterator(this,position.row,position.column);var token=iterator.getCurrentToken();token||(token=iterator.stepForward());if(!token)return;typeRe||(typeRe=new RegExp("(\\.?"+token.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));var valueIndex=position.column-iterator.getCurrentTokenColumn();while(true){var value=token.value;var valueLength=value.length;while(valueIndex<valueLength){var chr=value.charAt(valueIndex);if(chr==closingBracket){depth-=1;if(0==depth)return{row:iterator.getCurrentTokenRow(),column:valueIndex+iterator.getCurrentTokenColumn()}}else chr==bracket&&(depth+=1);valueIndex+=1}do{token=iterator.stepForward()}while(token&&!typeRe.test(token.type));if(null==token)break;valueIndex=0}return null}}exports.BracketMatch=BracketMatch});ace.define("ace/edit_session",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/bidihandler","ace/config","ace/lib/event_emitter","ace/selection","ace/mode/text","ace/range","ace/document","ace/background_tokenizer","ace/search_highlight","ace/edit_session/folding","ace/edit_session/bracket_match"],function(acequire,exports,module){"use strict";var oop=acequire("./lib/oop");var lang=acequire("./lib/lang");var BidiHandler=acequire("./bidihandler").BidiHandler;var config=acequire("./config");var EventEmitter=acequire("./lib/event_emitter").EventEmitter;var Selection=acequire("./selection").Selection;var TextMode=acequire("./mode/text").Mode;var Range=acequire("./range").Range;var Document=acequire("./document").Document;var BackgroundTokenizer=acequire("./background_tokenizer").BackgroundTokenizer;var SearchHighlight=acequire("./search_highlight").SearchHighlight;var EditSession=function(text,mode){this.$breakpoints=[];this.$decorations=[];this.$frontMarkers={};this.$backMarkers={};this.$markerId=1;this.$undoSelect=true;this.$foldData=[];this.id="session"+ ++EditSession.$uid;this.$foldData.toString=function(){return this.join("\n")};this.on("changeFold",this.onChangeFold.bind(this));this.$onChange=this.onChange.bind(this);"object"==typeof text&&text.getLine||(text=new Document(text));this.$bidiHandler=new BidiHandler(this);this.setDocument(text);this.selection=new Selection(this);config.resetOptions(this);this.setMode(mode);config._signal("session",this)};EditSession.$uid=0;(function(){oop.implement(this,EventEmitter);this.setDocument=function(doc){this.doc&&this.doc.removeListener("change",this.$onChange);this.doc=doc;doc.on("change",this.$onChange);this.bgTokenizer&&this.bgTokenizer.setDocument(this.getDocument());this.resetCaches()};this.getDocument=function(){return this.doc};this.$resetRowCache=function(docRow){if(!docRow){this.$docRowCache=[];this.$screenRowCache=[];return}var l=this.$docRowCache.length;var i=this.$getRowCacheIndex(this.$docRowCache,docRow)+1;if(l>i){this.$docRowCache.splice(i,l);this.$screenRowCache.splice(i,l)}};this.$getRowCacheIndex=function(cacheArray,val){var low=0;var hi=cacheArray.length-1;while(low<=hi){var mid=low+hi>>1;var c=cacheArray[mid];if(val>c)low=mid+1;else{if(!(val<c))return mid;hi=mid-1}}return low-1};this.resetCaches=function(){this.$modified=true;this.$wrapData=[];this.$rowLengthCache=[];this.$resetRowCache(0);this.bgTokenizer&&this.bgTokenizer.start(0)};this.onChangeFold=function(e){var fold=e.data;this.$resetRowCache(fold.start.row)};this.onChange=function(delta){this.$modified=true;this.$bidiHandler.onChange(delta);this.$resetRowCache(delta.start.row);var removedFolds=this.$updateInternalDataOnChange(delta);if(!this.$fromUndo&&this.$undoManager&&!delta.ignore){this.$deltasDoc.push(delta);removedFolds&&0!=removedFolds.length&&this.$deltasFold.push({action:"removeFolds",folds:removedFolds});this.$informUndoManager.schedule()}this.bgTokenizer&&this.bgTokenizer.$updateOnChange(delta);this._signal("change",delta)};this.setValue=function(text){this.doc.setValue(text);this.selection.moveTo(0,0);this.$resetRowCache(0);this.$deltas=[];this.$deltasDoc=[];this.$deltasFold=[];this.setUndoManager(this.$undoManager);this.getUndoManager().reset()};this.getValue=this.toString=function(){return this.doc.getValue()};this.getSelection=function(){return this.selection};this.getState=function(row){return this.bgTokenizer.getState(row)};this.getTokens=function(row){return this.bgTokenizer.getTokens(row)};this.getTokenAt=function(row,column){var tokens=this.bgTokenizer.getTokens(row);var token,c=0;if(null==column){var i=tokens.length-1;c=this.getLine(row).length}else for(i=0;i<tokens.length;i++){c+=tokens[i].value.length;if(c>=column)break}token=tokens[i];if(!token)return null;token.index=i;token.start=c-token.value.length;return token};this.setUndoManager=function(undoManager){this.$undoManager=undoManager;this.$deltas=[];this.$deltasDoc=[];this.$deltasFold=[];this.$informUndoManager&&this.$informUndoManager.cancel();if(undoManager){var self=this;this.$syncInformUndoManager=function(){self.$informUndoManager.cancel();if(self.$deltasFold.length){self.$deltas.push({group:"fold",deltas:self.$deltasFold});self.$deltasFold=[]}if(self.$deltasDoc.length){self.$deltas.push({group:"doc",deltas:self.$deltasDoc});self.$deltasDoc=[]}self.$deltas.length>0&&undoManager.execute({action:"aceupdate",args:[self.$deltas,self],merge:self.mergeUndoDeltas});self.mergeUndoDeltas=false;self.$deltas=[]};this.$informUndoManager=lang.delayedCall(this.$syncInformUndoManager)}};this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()};this.$defaultUndoManager={undo:function(){},redo:function(){},reset:function(){}};this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager};this.getTabString=function(){return this.getUseSoftTabs()?lang.stringRepeat(" ",this.getTabSize()):"\t"};this.setUseSoftTabs=function(val){this.setOption("useSoftTabs",val)};this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs};this.setTabSize=function(tabSize){this.setOption("tabSize",tabSize)};this.getTabSize=function(){return this.$tabSize};this.isTabStop=function(position){return this.$useSoftTabs&&position.column%this.$tabSize===0};this.setNavigateWithinSoftTabs=function(navigateWithinSoftTabs){this.setOption("navigateWithinSoftTabs",navigateWithinSoftTabs)};this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs};this.$overwrite=false;this.setOverwrite=function(overwrite){this.setOption("overwrite",overwrite)};this.getOverwrite=function(){return this.$overwrite};this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)};this.addGutterDecoration=function(row,className){this.$decorations[row]||(this.$decorations[row]="");this.$decorations[row]+=" "+className;this._signal("changeBreakpoint",{})};this.removeGutterDecoration=function(row,className){this.$decorations[row]=(this.$decorations[row]||"").replace(" "+className,"");this._signal("changeBreakpoint",{})};this.getBreakpoints=function(){return this.$breakpoints};this.setBreakpoints=function(rows){this.$breakpoints=[];for(var i=0;i<rows.length;i++)this.$breakpoints[rows[i]]="ace_breakpoint";this._signal("changeBreakpoint",{})};this.clearBreakpoints=function(){this.$breakpoints=[];this._signal("changeBreakpoint",{})};this.setBreakpoint=function(row,className){void 0===className&&(className="ace_breakpoint");className?this.$breakpoints[row]=className:delete this.$breakpoints[row];this._signal("changeBreakpoint",{})};this.clearBreakpoint=function(row){delete this.$breakpoints[row];this._signal("changeBreakpoint",{})};this.addMarker=function(range,clazz,type,inFront){var id=this.$markerId++;var marker={range:range,type:type||"line",renderer:"function"==typeof type?type:null,clazz:clazz,inFront:!!inFront,id:id};if(inFront){this.$frontMarkers[id]=marker;this._signal("changeFrontMarker")}else{this.$backMarkers[id]=marker;this._signal("changeBackMarker")}return id};this.addDynamicMarker=function(marker,inFront){if(!marker.update)return;var id=this.$markerId++;marker.id=id;marker.inFront=!!inFront;if(inFront){this.$frontMarkers[id]=marker;this._signal("changeFrontMarker")}else{this.$backMarkers[id]=marker;this._signal("changeBackMarker")}return marker};this.removeMarker=function(markerId){var marker=this.$frontMarkers[markerId]||this.$backMarkers[markerId];if(!marker)return;var markers=marker.inFront?this.$frontMarkers:this.$backMarkers;if(marker){delete markers[markerId];this._signal(marker.inFront?"changeFrontMarker":"changeBackMarker")}};this.getMarkers=function(inFront){return inFront?this.$frontMarkers:this.$backMarkers};this.highlight=function(re){if(!this.$searchHighlight){var highlight=new SearchHighlight(null,"ace_selected-word","text");this.$searchHighlight=this.addDynamicMarker(highlight)}this.$searchHighlight.setRegexp(re)};this.highlightLines=function(startRow,endRow,clazz,inFront){if("number"!=typeof endRow){clazz=endRow;endRow=startRow}clazz||(clazz="ace_step");var range=new Range(startRow,0,endRow,Infinity);range.id=this.addMarker(range,clazz,"fullLine",inFront);return range};this.setAnnotations=function(annotations){this.$annotations=annotations;this._signal("changeAnnotation",{})};this.getAnnotations=function(){return this.$annotations||[]};this.clearAnnotations=function(){this.setAnnotations([])};this.$detectNewLine=function(text){var match=text.match(/^.*?(\r?\n)/m);this.$autoNewLine=match?match[1]:"\n"};this.getWordRange=function(row,column){var line=this.getLine(row);var inToken=false;column>0&&(inToken=!!line.charAt(column-1).match(this.tokenRe));inToken||(inToken=!!line.charAt(column).match(this.tokenRe));if(inToken)var re=this.tokenRe;else if(/^\s+$/.test(line.slice(column-1,column+1)))re=/\s/;else re=this.nonTokenRe;var start=column;if(start>0){do{start--}while(start>=0&&line.charAt(start).match(re));start++}var end=column;while(end<line.length&&line.charAt(end).match(re))end++;return new Range(row,start,row,end)};this.getAWordRange=function(row,column){var wordRange=this.getWordRange(row,column);var line=this.getLine(wordRange.end.row);while(line.charAt(wordRange.end.column).match(/[ \t]/))wordRange.end.column+=1;return wordRange};this.setNewLineMode=function(newLineMode){this.doc.setNewLineMode(newLineMode)};this.getNewLineMode=function(){return this.doc.getNewLineMode()};this.setUseWorker=function(useWorker){this.setOption("useWorker",useWorker)};this.getUseWorker=function(){return this.$useWorker};this.onReloadTokenizer=function(e){var rows=e.data;this.bgTokenizer.start(rows.first);this._signal("tokenizerUpdate",e)};this.$modes={};this.$mode=null;this.$modeId=null;this.setMode=function(mode,cb){if(mode&&"object"===typeof mode){if(mode.getTokenizer)return this.$onChangeMode(mode);var options=mode;var path=options.path}else path=mode||"ace/mode/text";this.$modes["ace/mode/text"]||(this.$modes["ace/mode/text"]=new TextMode);if(this.$modes[path]&&!options){this.$onChangeMode(this.$modes[path]);cb&&cb();return}this.$modeId=path;config.loadModule(["mode",path],function(m){if(this.$modeId!==path)return cb&&cb();if(this.$modes[path]&&!options)this.$onChangeMode(this.$modes[path]);else if(m&&m.Mode){m=new m.Mode(options);if(!options){this.$modes[path]=m;m.$id=path}this.$onChangeMode(m)}cb&&cb()}.bind(this));this.$mode||this.$onChangeMode(this.$modes["ace/mode/text"],true)};this.$onChangeMode=function(mode,$isPlaceholder){$isPlaceholder||(this.$modeId=mode.$id);if(this.$mode===mode)return;this.$mode=mode;this.$stopWorker();this.$useWorker&&this.$startWorker();var tokenizer=mode.getTokenizer();if(void 0!==tokenizer.addEventListener){var onReloadTokenizer=this.onReloadTokenizer.bind(this);tokenizer.addEventListener("update",onReloadTokenizer)}if(this.bgTokenizer)this.bgTokenizer.setTokenizer(tokenizer);else{this.bgTokenizer=new BackgroundTokenizer(tokenizer);var _self=this;this.bgTokenizer.addEventListener("update",function(e){_self._signal("tokenizerUpdate",e)})}this.bgTokenizer.setDocument(this.getDocument());this.tokenRe=mode.tokenRe;this.nonTokenRe=mode.nonTokenRe;if(!$isPlaceholder){mode.attachToSession&&mode.attachToSession(this);this.$options.wrapMethod.set.call(this,this.$wrapMethod);this.$setFolding(mode.foldingRules);this.bgTokenizer.start(0);this._emit("changeMode")}};this.$stopWorker=function(){if(this.$worker){this.$worker.terminate();this.$worker=null}};this.$startWorker=function(){try{this.$worker=this.$mode.createWorker(this)}catch(e){config.warn("Could not load worker",e);this.$worker=null}};this.getMode=function(){return this.$mode};this.$scrollTop=0;this.setScrollTop=function(scrollTop){if(this.$scrollTop===scrollTop||isNaN(scrollTop))return;this.$scrollTop=scrollTop;this._signal("changeScrollTop",scrollTop)};this.getScrollTop=function(){return this.$scrollTop};this.$scrollLeft=0;this.setScrollLeft=function(scrollLeft){if(this.$scrollLeft===scrollLeft||isNaN(scrollLeft))return;this.$scrollLeft=scrollLeft;this._signal("changeScrollLeft",scrollLeft)};this.getScrollLeft=function(){return this.$scrollLeft};this.getScreenWidth=function(){this.$computeWidth();if(this.lineWidgets)return Math.max(this.getLineWidgetMaxWidth(),this.screenWidth);return this.screenWidth};this.getLineWidgetMaxWidth=function(){if(null!=this.lineWidgetsWidth)return this.lineWidgetsWidth;var width=0;this.lineWidgets.forEach(function(w){w&&w.screenWidth>width&&(width=w.screenWidth)});return this.lineWidgetWidth=width};this.$computeWidth=function(force){if(this.$modified||force){this.$modified=false;if(this.$useWrapMode)return this.screenWidth=this.$wrapLimit;var lines=this.doc.getAllLines();var cache=this.$rowLengthCache;var longestScreenLine=0;var foldIndex=0;var foldLine=this.$foldData[foldIndex];var foldStart=foldLine?foldLine.start.row:Infinity;var len=lines.length;for(var i=0;i<len;i++){if(i>foldStart){i=foldLine.end.row+1;if(i>=len)break;foldLine=this.$foldData[foldIndex++];foldStart=foldLine?foldLine.start.row:Infinity}null==cache[i]&&(cache[i]=this.$getStringScreenWidth(lines[i])[0]);cache[i]>longestScreenLine&&(longestScreenLine=cache[i])}this.screenWidth=longestScreenLine}};this.getLine=function(row){return this.doc.getLine(row)};this.getLines=function(firstRow,lastRow){return this.doc.getLines(firstRow,lastRow)};this.getLength=function(){return this.doc.getLength()};this.getTextRange=function(range){return this.doc.getTextRange(range||this.selection.getRange())};this.insert=function(position,text){return this.doc.insert(position,text)};this.remove=function(range){return this.doc.remove(range)};this.removeFullLines=function(firstRow,lastRow){return this.doc.removeFullLines(firstRow,lastRow)};this.undoChanges=function(deltas,dontSelect){if(!deltas.length)return;this.$fromUndo=true;var lastUndoRange=null;for(var i=deltas.length-1;-1!=i;i--){var delta=deltas[i];if("doc"==delta.group){this.doc.revertDeltas(delta.deltas);lastUndoRange=this.$getUndoSelection(delta.deltas,true,lastUndoRange)}else delta.deltas.forEach(function(foldDelta){this.addFolds(foldDelta.folds)},this)}this.$fromUndo=false;lastUndoRange&&this.$undoSelect&&!dontSelect&&this.selection.setSelectionRange(lastUndoRange);return lastUndoRange};this.redoChanges=function(deltas,dontSelect){if(!deltas.length)return;this.$fromUndo=true;var lastUndoRange=null;for(var i=0;i<deltas.length;i++){var delta=deltas[i];if("doc"==delta.group){this.doc.applyDeltas(delta.deltas);lastUndoRange=this.$getUndoSelection(delta.deltas,false,lastUndoRange)}}this.$fromUndo=false;lastUndoRange&&this.$undoSelect&&!dontSelect&&this.selection.setSelectionRange(lastUndoRange);return lastUndoRange};this.setUndoSelect=function(enable){this.$undoSelect=enable};this.$getUndoSelection=function(deltas,isUndo,lastUndoRange){function isInsert(delta){return isUndo?"insert"!==delta.action:"insert"===delta.action}var delta=deltas[0];var range,point;if(isInsert(delta)){range=Range.fromPoints(delta.start,delta.end);true}else{range=Range.fromPoints(delta.start,delta.start);false}for(var i=1;i<deltas.length;i++){delta=deltas[i];if(isInsert(delta)){point=delta.start;-1==range.compare(point.row,point.column)&&range.setStart(point);point=delta.end;1==range.compare(point.row,point.column)&&range.setEnd(point);true}else{point=delta.start;-1==range.compare(point.row,point.column)&&(range=Range.fromPoints(delta.start,delta.start));false}}if(null!=lastUndoRange){if(0===Range.comparePoints(lastUndoRange.start,range.start)){lastUndoRange.start.column+=range.end.column-range.start.column;lastUndoRange.end.column+=range.end.column-range.start.column}var cmp=lastUndoRange.compareRange(range);1==cmp?range.setStart(lastUndoRange.start):-1==cmp&&range.setEnd(lastUndoRange.end)}return range};this.replace=function(range,text){return this.doc.replace(range,text)};this.moveText=function(fromRange,toPosition,copy){var text=this.getTextRange(fromRange);var folds=this.getFoldsInRange(fromRange);var toRange=Range.fromPoints(toPosition,toPosition);if(!copy){this.remove(fromRange);var rowDiff=fromRange.start.row-fromRange.end.row;var collDiff=rowDiff?-fromRange.end.column:fromRange.start.column-fromRange.end.column;if(collDiff){toRange.start.row==fromRange.end.row&&toRange.start.column>fromRange.end.column&&(toRange.start.column+=collDiff);toRange.end.row==fromRange.end.row&&toRange.end.column>fromRange.end.column&&(toRange.end.column+=collDiff)}if(rowDiff&&toRange.start.row>=fromRange.end.row){toRange.start.row+=rowDiff;toRange.end.row+=rowDiff}}toRange.end=this.insert(toRange.start,text);if(folds.length){var oldStart=fromRange.start;var newStart=toRange.start;rowDiff=newStart.row-oldStart.row;collDiff=newStart.column-oldStart.column;this.addFolds(folds.map(function(x){x=x.clone();x.start.row==oldStart.row&&(x.start.column+=collDiff);x.end.row==oldStart.row&&(x.end.column+=collDiff);x.start.row+=rowDiff;x.end.row+=rowDiff;return x}))}return toRange};this.indentRows=function(startRow,endRow,indentString){indentString=indentString.replace(/\t/g,this.getTabString());for(var row=startRow;row<=endRow;row++)this.doc.insertInLine({row:row,column:0},indentString)};this.outdentRows=function(range){var rowRange=range.collapseRows();var deleteRange=new Range(0,0,0,0);var size=this.getTabSize();for(var i=rowRange.start.row;i<=rowRange.end.row;++i){var line=this.getLine(i);deleteRange.start.row=i;deleteRange.end.row=i;for(var j=0;j<size;++j)if(" "!=line.charAt(j))break;if(j<size&&"\t"==line.charAt(j)){deleteRange.start.column=j;deleteRange.end.column=j+1}else{deleteRange.start.column=0;deleteRange.end.column=j}this.remove(deleteRange)}};this.$moveLines=function(firstRow,lastRow,dir){firstRow=this.getRowFoldStart(firstRow);lastRow=this.getRowFoldEnd(lastRow);if(dir<0){var row=this.getRowFoldStart(firstRow+dir);if(row<0)return 0;var diff=row-firstRow}else if(dir>0){row=this.getRowFoldEnd(lastRow+dir);if(row>this.doc.getLength()-1)return 0;diff=row-lastRow}else{firstRow=this.$clipRowToDocument(firstRow);lastRow=this.$clipRowToDocument(lastRow);diff=lastRow-firstRow+1}var range=new Range(firstRow,0,lastRow,Number.MAX_VALUE);var folds=this.getFoldsInRange(range).map(function(x){x=x.clone();x.start.row+=diff;x.end.row+=diff;return x});var lines=0==dir?this.doc.getLines(firstRow,lastRow):this.doc.removeFullLines(firstRow,lastRow);this.doc.insertFullLines(firstRow+diff,lines);folds.length&&this.addFolds(folds);return diff};this.moveLinesUp=function(firstRow,lastRow){return this.$moveLines(firstRow,lastRow,-1)};this.moveLinesDown=function(firstRow,lastRow){return this.$moveLines(firstRow,lastRow,1)};this.duplicateLines=function(firstRow,lastRow){return this.$moveLines(firstRow,lastRow,0)};this.$clipRowToDocument=function(row){return Math.max(0,Math.min(row,this.doc.getLength()-1))};this.$clipColumnToRow=function(row,column){if(column<0)return 0;return Math.min(this.doc.getLine(row).length,column)};this.$clipPositionToDocument=function(row,column){column=Math.max(0,column);if(row<0){row=0;column=0}else{var len=this.doc.getLength();if(row>=len){row=len-1;column=this.doc.getLine(len-1).length}else column=Math.min(this.doc.getLine(row).length,column)}return{row:row,column:column}};this.$clipRangeToDocument=function(range){if(range.start.row<0){range.start.row=0;range.start.column=0}else range.start.column=this.$clipColumnToRow(range.start.row,range.start.column);var len=this.doc.getLength()-1;if(range.end.row>len){range.end.row=len;range.end.column=this.doc.getLine(len).length}else range.end.column=this.$clipColumnToRow(range.end.row,range.end.column);return range};this.$wrapLimit=80;this.$useWrapMode=false;this.$wrapLimitRange={min:null,max:null};this.setUseWrapMode=function(useWrapMode){if(useWrapMode!=this.$useWrapMode){this.$useWrapMode=useWrapMode;this.$modified=true;this.$resetRowCache(0);if(useWrapMode){var len=this.getLength();this.$wrapData=Array(len);this.$updateWrapData(0,len-1)}this._signal("changeWrapMode")}};this.getUseWrapMode=function(){return this.$useWrapMode};this.setWrapLimitRange=function(min,max){if(this.$wrapLimitRange.min!==min||this.$wrapLimitRange.max!==max){this.$wrapLimitRange={min:min,max:max};this.$modified=true;this.$bidiHandler.markAsDirty();this.$useWrapMode&&this._signal("changeWrapMode")}};this.adjustWrapLimit=function(desiredLimit,$printMargin){var limits=this.$wrapLimitRange;limits.max<0&&(limits={min:$printMargin,max:$printMargin});var wrapLimit=this.$constrainWrapLimit(desiredLimit,limits.min,limits.max);if(wrapLimit!=this.$wrapLimit&&wrapLimit>1){this.$wrapLimit=wrapLimit;this.$modified=true;if(this.$useWrapMode){this.$updateWrapData(0,this.getLength()-1);this.$resetRowCache(0);this._signal("changeWrapLimit")}return true}return false};this.$constrainWrapLimit=function(wrapLimit,min,max){min&&(wrapLimit=Math.max(min,wrapLimit));max&&(wrapLimit=Math.min(max,wrapLimit));return wrapLimit};this.getWrapLimit=function(){return this.$wrapLimit};this.setWrapLimit=function(limit){this.setWrapLimitRange(limit,limit)};this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}};this.$updateInternalDataOnChange=function(delta){var useWrapMode=this.$useWrapMode;var action=delta.action;var start=delta.start;var end=delta.end;var firstRow=start.row;var lastRow=end.row;var len=lastRow-firstRow;var removedFolds=null;this.$updating=true;if(0!=len)if("remove"===action){this[useWrapMode?"$wrapData":"$rowLengthCache"].splice(firstRow,len);var foldLines=this.$foldData;removedFolds=this.getFoldsInRange(delta);this.removeFolds(removedFolds);var foldLine=this.getFoldLine(end.row);var idx=0;if(foldLine){foldLine.addRemoveChars(end.row,end.column,start.column-end.column);foldLine.shiftRow(-len);var foldLineBefore=this.getFoldLine(firstRow);if(foldLineBefore&&foldLineBefore!==foldLine){foldLineBefore.merge(foldLine);foldLine=foldLineBefore}idx=foldLines.indexOf(foldLine)+1}for(idx;idx<foldLines.length;idx++){foldLine=foldLines[idx];foldLine.start.row>=end.row&&foldLine.shiftRow(-len)}lastRow=firstRow}else{var args=Array(len);args.unshift(firstRow,0);var arr=useWrapMode?this.$wrapData:this.$rowLengthCache;arr.splice.apply(arr,args);foldLines=this.$foldData;foldLine=this.getFoldLine(firstRow);idx=0;if(foldLine){var cmp=foldLine.range.compareInside(start.row,start.column);if(0==cmp){foldLine=foldLine.split(start.row,start.column);if(foldLine){foldLine.shiftRow(len);foldLine.addRemoveChars(lastRow,0,end.column-start.column)}}else if(-1==cmp){foldLine.addRemoveChars(firstRow,0,end.column-start.column);foldLine.shiftRow(len)}idx=foldLines.indexOf(foldLine)+1}for(idx;idx<foldLines.length;idx++){foldLine=foldLines[idx];foldLine.start.row>=firstRow&&foldLine.shiftRow(len)}}else{len=Math.abs(delta.start.column-delta.end.column);if("remove"===action){removedFolds=this.getFoldsInRange(delta);this.removeFolds(removedFolds);len=-len}foldLine=this.getFoldLine(firstRow);foldLine&&foldLine.addRemoveChars(firstRow,start.column,len)}useWrapMode&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!");this.$updating=false;useWrapMode?this.$updateWrapData(firstRow,lastRow):this.$updateRowLengthCache(firstRow,lastRow);return removedFolds};this.$updateRowLengthCache=function(firstRow,lastRow,b){this.$rowLengthCache[firstRow]=null;this.$rowLengthCache[lastRow]=null};this.$updateWrapData=function(firstRow,lastRow){var lines=this.doc.getAllLines();var tabSize=this.getTabSize();var wrapData=this.$wrapData;var wrapLimit=this.$wrapLimit;var tokens;var foldLine;var row=firstRow;lastRow=Math.min(lastRow,lines.length-1);while(row<=lastRow){foldLine=this.getFoldLine(row,foldLine);if(foldLine){tokens=[];foldLine.walk(function(placeholder,row,column,lastColumn){var walkTokens;if(null!=placeholder){walkTokens=this.$getDisplayTokens(placeholder,tokens.length);walkTokens[0]=PLACEHOLDER_START;for(var i=1;i<walkTokens.length;i++)walkTokens[i]=PLACEHOLDER_BODY}else walkTokens=this.$getDisplayTokens(lines[row].substring(lastColumn,column),tokens.length);tokens=tokens.concat(walkTokens)}.bind(this),foldLine.end.row,lines[foldLine.end.row].length+1);wrapData[foldLine.start.row]=this.$computeWrapSplits(tokens,wrapLimit,tabSize);row=foldLine.end.row+1}else{tokens=this.$getDisplayTokens(lines[row]);wrapData[row]=this.$computeWrapSplits(tokens,wrapLimit,tabSize);row++}}};var CHAR=1,CHAR_EXT=2,PLACEHOLDER_START=3,PLACEHOLDER_BODY=4,PUNCTUATION=9,SPACE=10,TAB=11,TAB_SPACE=12;this.$computeWrapSplits=function(tokens,wrapLimit,tabSize){if(0==tokens.length)return[];var splits=[];var displayLength=tokens.length;var lastSplit=0,lastDocSplit=0;var isCode=this.$wrapAsCode;var indentedSoftWrap=this.$indentedSoftWrap;var maxIndent=wrapLimit<=Math.max(2*tabSize,8)||false===indentedSoftWrap?0:Math.floor(wrapLimit/2);function getWrapIndent(){var indentation=0;if(0===maxIndent)return indentation;if(indentedSoftWrap)for(var i=0;i<tokens.length;i++){var token=tokens[i];if(token==SPACE)indentation+=1;else{if(token!=TAB){if(token==TAB_SPACE)continue;break}indentation+=tabSize}}isCode&&false!==indentedSoftWrap&&(indentation+=tabSize);return Math.min(indentation,maxIndent)}function addSplit(screenPos){var displayed=tokens.slice(lastSplit,screenPos);var len=displayed.length;displayed.join("").replace(/12/g,function(){len-=1}).replace(/2/g,function(){len-=1});if(!splits.length){indent=getWrapIndent();splits.indent=indent}lastDocSplit+=len;splits.push(lastDocSplit);lastSplit=screenPos}var indent=0;while(displayLength-lastSplit>wrapLimit-indent){var split=lastSplit+wrapLimit-indent;if(tokens[split-1]>=SPACE&&tokens[split]>=SPACE){addSplit(split);continue}if(tokens[split]==PLACEHOLDER_START||tokens[split]==PLACEHOLDER_BODY){for(split;split!=lastSplit-1;split--)if(tokens[split]==PLACEHOLDER_START)break;if(split>lastSplit){addSplit(split);continue}split=lastSplit+wrapLimit;for(split;split<tokens.length;split++)if(tokens[split]!=PLACEHOLDER_BODY)break;if(split==tokens.length)break;addSplit(split);continue}var minSplit=Math.max(split-(wrapLimit-(wrapLimit>>2)),lastSplit-1);while(split>minSplit&&tokens[split]<PLACEHOLDER_START)split--;if(isCode){while(split>minSplit&&tokens[split]<PLACEHOLDER_START)split--;while(split>minSplit&&tokens[split]==PUNCTUATION)split--}else while(split>minSplit&&tokens[split]<SPACE)split--;if(split>minSplit){addSplit(++split);continue}split=lastSplit+wrapLimit;tokens[split]==CHAR_EXT&&split--;addSplit(split-indent)}return splits};this.$getDisplayTokens=function(str,offset){var arr=[];var tabSize;offset=offset||0;for(var i=0;i<str.length;i++){var c=str.charCodeAt(i);if(9==c){tabSize=this.getScreenTabSize(arr.length+offset);arr.push(TAB);for(var n=1;n<tabSize;n++)arr.push(TAB_SPACE)}else 32==c?arr.push(SPACE):c>39&&c<48||c>57&&c<64?arr.push(PUNCTUATION):c>=4352&&isFullWidth(c)?arr.push(CHAR,CHAR_EXT):arr.push(CHAR)}return arr};this.$getStringScreenWidth=function(str,maxScreenColumn,screenColumn){if(0==maxScreenColumn)return[0,0];null==maxScreenColumn&&(maxScreenColumn=Infinity);screenColumn=screenColumn||0;var c,column;for(column=0;column<str.length;column++){c=str.charCodeAt(column);9==c?screenColumn+=this.getScreenTabSize(screenColumn):c>=4352&&isFullWidth(c)?screenColumn+=2:screenColumn+=1;if(screenColumn>maxScreenColumn)break}return[screenColumn,column]};this.lineWidgets=null;this.getRowLength=function(row){if(this.lineWidgets)var h=this.lineWidgets[row]&&this.lineWidgets[row].rowCount||0;else h=0;return this.$useWrapMode&&this.$wrapData[row]?this.$wrapData[row].length+1+h:1+h};this.getRowLineCount=function(row){return this.$useWrapMode&&this.$wrapData[row]?this.$wrapData[row].length+1:1};this.getRowWrapIndent=function(screenRow){if(this.$useWrapMode){var pos=this.screenToDocumentPosition(screenRow,Number.MAX_VALUE);var splits=this.$wrapData[pos.row];return splits.length&&splits[0]<pos.column?splits.indent:0}return 0};this.getScreenLastRowColumn=function(screenRow){var pos=this.screenToDocumentPosition(screenRow,Number.MAX_VALUE);return this.documentToScreenColumn(pos.row,pos.column)};this.getDocumentLastRowColumn=function(docRow,docColumn){var screenRow=this.documentToScreenRow(docRow,docColumn);return this.getScreenLastRowColumn(screenRow)};this.getDocumentLastRowColumnPosition=function(docRow,docColumn){var screenRow=this.documentToScreenRow(docRow,docColumn);return this.screenToDocumentPosition(screenRow,Number.MAX_VALUE/10)};this.getRowSplitData=function(row){return this.$useWrapMode?this.$wrapData[row]:void 0};this.getScreenTabSize=function(screenColumn){return this.$tabSize-screenColumn%this.$tabSize};this.screenToDocumentRow=function(screenRow,screenColumn){return this.screenToDocumentPosition(screenRow,screenColumn).row};this.screenToDocumentColumn=function(screenRow,screenColumn){return this.screenToDocumentPosition(screenRow,screenColumn).column};this.screenToDocumentPosition=function(screenRow,screenColumn,offsetX){if(screenRow<0)return{row:0,column:0};var line;var docRow=0;var docColumn=0;var column;var row=0;var rowLength=0;var rowCache=this.$screenRowCache;var i=this.$getRowCacheIndex(rowCache,screenRow);var l=rowCache.length;if(l&&i>=0){row=rowCache[i];docRow=this.$docRowCache[i];var doCache=screenRow>rowCache[l-1]}else doCache=!l;var maxRow=this.getLength()-1;var foldLine=this.getNextFoldLine(docRow);var foldStart=foldLine?foldLine.start.row:Infinity;while(row<=screenRow){rowLength=this.getRowLength(docRow);if(row+rowLength>screenRow||docRow>=maxRow)break;row+=rowLength;docRow++;if(docRow>foldStart){docRow=foldLine.end.row+1;foldLine=this.getNextFoldLine(docRow,foldLine);foldStart=foldLine?foldLine.start.row:Infinity}if(doCache){this.$docRowCache.push(docRow);this.$screenRowCache.push(row)}}if(foldLine&&foldLine.start.row<=docRow){line=this.getFoldDisplayLine(foldLine);docRow=foldLine.start.row}else{if(row+rowLength<=screenRow||docRow>maxRow)return{row:maxRow,column:this.getLine(maxRow).length};line=this.getLine(docRow);foldLine=null}var wrapIndent=0,splitIndex=Math.floor(screenRow-row);if(this.$useWrapMode){var splits=this.$wrapData[docRow];if(splits){column=splits[splitIndex];if(splitIndex>0&&splits.length){wrapIndent=splits.indent;docColumn=splits[splitIndex-1]||splits[splits.length-1];line=line.substring(docColumn)}}}void 0!==offsetX&&this.$bidiHandler.isBidiRow(row+splitIndex,docRow,splitIndex)&&(screenColumn=this.$bidiHandler.offsetToCol(offsetX));docColumn+=this.$getStringScreenWidth(line,screenColumn-wrapIndent)[1];this.$useWrapMode&&docColumn>=column&&(docColumn=column-1);if(foldLine)return foldLine.idxToPosition(docColumn);return{row:docRow,column:docColumn}};this.documentToScreenPosition=function(docRow,docColumn){if("undefined"===typeof docColumn)var pos=this.$clipPositionToDocument(docRow.row,docRow.column);else pos=this.$clipPositionToDocument(docRow,docColumn);docRow=pos.row;docColumn=pos.column;var screenRow=0;var foldStartRow=null;var fold=null;fold=this.getFoldAt(docRow,docColumn,1);if(fold){docRow=fold.start.row;docColumn=fold.start.column}var rowEnd,row=0;var rowCache=this.$docRowCache;var i=this.$getRowCacheIndex(rowCache,docRow);var l=rowCache.length;if(l&&i>=0){row=rowCache[i];screenRow=this.$screenRowCache[i];var doCache=docRow>rowCache[l-1]}else doCache=!l;var foldLine=this.getNextFoldLine(row);var foldStart=foldLine?foldLine.start.row:Infinity;while(row<docRow){if(row>=foldStart){rowEnd=foldLine.end.row+1;if(rowEnd>docRow)break;foldLine=this.getNextFoldLine(rowEnd,foldLine);foldStart=foldLine?foldLine.start.row:Infinity}else rowEnd=row+1;screenRow+=this.getRowLength(row);row=rowEnd;if(doCache){this.$docRowCache.push(row);this.$screenRowCache.push(screenRow)}}var textLine="";if(foldLine&&row>=foldStart){textLine=this.getFoldDisplayLine(foldLine,docRow,docColumn);foldStartRow=foldLine.start.row}else{textLine=this.getLine(docRow).substring(0,docColumn);foldStartRow=docRow}var wrapIndent=0;if(this.$useWrapMode){var wrapRow=this.$wrapData[foldStartRow];if(wrapRow){var screenRowOffset=0;while(textLine.length>=wrapRow[screenRowOffset]){screenRow++;screenRowOffset++}textLine=textLine.substring(wrapRow[screenRowOffset-1]||0,textLine.length);wrapIndent=screenRowOffset>0?wrapRow.indent:0}}return{row:screenRow,column:wrapIndent+this.$getStringScreenWidth(textLine)[0]}};this.documentToScreenColumn=function(row,docColumn){return this.documentToScreenPosition(row,docColumn).column};this.documentToScreenRow=function(docRow,docColumn){return this.documentToScreenPosition(docRow,docColumn).row};this.getScreenLength=function(){var screenRows=0;var fold=null;if(this.$useWrapMode){var lastRow=this.$wrapData.length;var row=0;i=0;fold=this.$foldData[i++];var foldStart=fold?fold.start.row:Infinity;while(row<lastRow){var splits=this.$wrapData[row];screenRows+=splits?splits.length+1:1;row++;if(row>foldStart){row=fold.end.row+1;fold=this.$foldData[i++];foldStart=fold?fold.start.row:Infinity}}}else{screenRows=this.getLength();var foldData=this.$foldData;for(var i=0;i<foldData.length;i++){fold=foldData[i];screenRows-=fold.end.row-fold.start.row}}this.lineWidgets&&(screenRows+=this.$getWidgetScreenLength());return screenRows};this.$setFontMetrics=function(fm){if(!this.$enableVarChar)return;this.$getStringScreenWidth=function(str,maxScreenColumn,screenColumn){if(0===maxScreenColumn)return[0,0];maxScreenColumn||(maxScreenColumn=Infinity);screenColumn=screenColumn||0;var c,column;for(column=0;column<str.length;column++){c=str.charAt(column);screenColumn+="\t"===c?this.getScreenTabSize(screenColumn):fm.getCharacterWidth(c);if(screenColumn>maxScreenColumn)break}return[screenColumn,column]}};this.destroy=function(){if(this.bgTokenizer){this.bgTokenizer.setDocument(null);this.bgTokenizer=null}this.$stopWorker()};this.isFullWidth=isFullWidth;function isFullWidth(c){if(c<4352)return false;return c>=4352&&c<=4447||c>=4515&&c<=4519||c>=4602&&c<=4607||c>=9001&&c<=9002||c>=11904&&c<=11929||c>=11931&&c<=12019||c>=12032&&c<=12245||c>=12272&&c<=12283||c>=12288&&c<=12350||c>=12353&&c<=12438||c>=12441&&c<=12543||c>=12549&&c<=12589||c>=12593&&c<=12686||c>=12688&&c<=12730||c>=12736&&c<=12771||c>=12784&&c<=12830||c>=12832&&c<=12871||c>=12880&&c<=13054||c>=13056&&c<=19903||c>=19968&&c<=42124||c>=42128&&c<=42182||c>=43360&&c<=43388||c>=44032&&c<=55203||c>=55216&&c<=55238||c>=55243&&c<=55291||c>=63744&&c<=64255||c>=65040&&c<=65049||c>=65072&&c<=65106||c>=65108&&c<=65126||c>=65128&&c<=65131||c>=65281&&c<=65376||c>=65504&&c<=65510}}).call(EditSession.prototype);acequire("./edit_session/folding").Folding.call(EditSession.prototype);acequire("./edit_session/bracket_match").BracketMatch.call(EditSession.prototype);config.defineOptions(EditSession.prototype,"session",{wrap:{set:function(value){value&&"off"!=value?"free"==value?value=true:"printMargin"==value?value=-1:"string"==typeof value&&(value=parseInt(value,10)||false):value=false;if(this.$wrap==value)return;this.$wrap=value;if(value){var col="number"==typeof value?value:null;this.setWrapLimitRange(col,col);this.setUseWrapMode(true)}else this.setUseWrapMode(false)},get:function(){if(this.getUseWrapMode()){if(-1==this.$wrap)return"printMargin";if(!this.getWrapLimitRange().min)return"free";return this.$wrap}return"off"},handlesSet:true},wrapMethod:{set:function(val){val="auto"==val?"text"!=this.$mode.type:"text"!=val;if(val!=this.$wrapAsCode){this.$wrapAsCode=val;if(this.$useWrapMode){this.$modified=true;this.$resetRowCache(0);this.$updateWrapData(0,this.getLength()-1)}}},initialValue:"auto"},indentedSoftWrap:{initialValue:true},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(useWorker){this.$useWorker=useWorker;this.$stopWorker();useWorker&&this.$startWorker()},initialValue:true},useSoftTabs:{initialValue:true},tabSize:{set:function(tabSize){if(isNaN(tabSize)||this.$tabSize===tabSize)return;this.$modified=true;this.$rowLengthCache=[];this.$tabSize=tabSize;this._signal("changeTabSize")},initialValue:4,handlesSet:true},navigateWithinSoftTabs:{initialValue:false},overwrite:{set:function(val){this._signal("changeOverwrite")},initialValue:false},newLineMode:{set:function(val){this.doc.setNewLineMode(val)},get:function(){return this.doc.getNewLineMode()},handlesSet:true},mode:{set:function(val){this.setMode(val)},get:function(){return this.$modeId}}});exports.EditSession=EditSession});ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(acequire,exports,module){"use strict";var lang=acequire("./lib/lang");var oop=acequire("./lib/oop");var Range=acequire("./range").Range;var Search=function(){this.$options={}};(function(){this.set=function(options){oop.mixin(this.$options,options);return this};this.getOptions=function(){return lang.copyObject(this.$options)};this.setOptions=function(options){this.$options=options};this.find=function(session){var options=this.$options;var iterator=this.$matchIterator(session,options);if(!iterator)return false;var firstRange=null;iterator.forEach(function(sr,sc,er,ec){firstRange=new Range(sr,sc,er,ec);if(sc==ec&&options.start&&options.start.start&&false!=options.skipCurrent&&firstRange.isEqual(options.start)){firstRange=null;return false}return true});return firstRange};this.findAll=function(session){var options=this.$options;if(!options.needle)return[];this.$assembleRegExp(options);var range=options.range;var lines=range?session.getLines(range.start.row,range.end.row):session.doc.getAllLines();var ranges=[];var re=options.re;if(options.$isMultiLine){var len=re.length;var maxRow=lines.length-len;var prevRange;outer:for(var row=re.offset||0;row<=maxRow;row++){for(var j=0;j<len;j++)if(-1==lines[row+j].search(re[j]))continue outer;var startLine=lines[row];var line=lines[row+len-1];var startIndex=startLine.length-startLine.match(re[0])[0].length;var endIndex=line.match(re[len-1])[0].length;if(prevRange&&prevRange.end.row===row&&prevRange.end.column>startIndex)continue;ranges.push(prevRange=new Range(row,startIndex,row+len-1,endIndex));len>2&&(row=row+len-2)}}else for(var i=0;i<lines.length;i++){var matches=lang.getMatchOffsets(lines[i],re);for(j=0;j<matches.length;j++){var match=matches[j];ranges.push(new Range(i,match.offset,i,match.offset+match.length))}}if(range){var startColumn=range.start.column;var endColumn=range.start.column;i=0,j=ranges.length-1;while(i<j&&ranges[i].start.column<startColumn&&ranges[i].start.row==range.start.row)i++;while(i<j&&ranges[j].end.column>endColumn&&ranges[j].end.row==range.end.row)j--;ranges=ranges.slice(i,j+1);for(i=0,j=ranges.length;i<j;i++){ranges[i].start.row+=range.start.row;ranges[i].end.row+=range.start.row}}return ranges};this.replace=function(input,replacement){var options=this.$options;var re=this.$assembleRegExp(options);if(options.$isMultiLine)return replacement;if(!re)return;var match=re.exec(input);if(!match||match[0].length!=input.length)return null;replacement=input.replace(re,replacement);if(options.preserveCase){replacement=replacement.split("");for(var i=Math.min(input.length,input.length);i--;){var ch=input[i];ch&&ch.toLowerCase()!=ch?replacement[i]=replacement[i].toUpperCase():replacement[i]=replacement[i].toLowerCase()}replacement=replacement.join("")}return replacement};this.$assembleRegExp=function(options,$disableFakeMultiline){if(options.needle instanceof RegExp)return options.re=options.needle;var needle=options.needle;if(!options.needle)return options.re=false;options.regExp||(needle=lang.escapeRegExp(needle));options.wholeWord&&(needle=addWordBoundary(needle,options));var modifier=options.caseSensitive?"gm":"gmi";options.$isMultiLine=!$disableFakeMultiline&&/[\n\r]/.test(needle);if(options.$isMultiLine)return options.re=this.$assembleMultilineRegExp(needle,modifier);try{var re=new RegExp(needle,modifier)}catch(e){re=false}return options.re=re};this.$assembleMultilineRegExp=function(needle,modifier){var parts=needle.replace(/\r\n|\r|\n/g,"$\n^").split("\n");var re=[];for(var i=0;i<parts.length;i++)try{re.push(new RegExp(parts[i],modifier))}catch(e){return false}return re};this.$matchIterator=function(session,options){var re=this.$assembleRegExp(options);if(!re)return false;var backwards=true==options.backwards;var skipCurrent=false!=options.skipCurrent;var range=options.range;var start=options.start;start||(start=range?range[backwards?"end":"start"]:session.selection.getRange());start.start&&(start=start[skipCurrent!=backwards?"end":"start"]);var firstRow=range?range.start.row:0;var lastRow=range?range.end.row:session.getLength()-1;if(backwards)var forEach=function(callback){var row=start.row;if(forEachInLine(row,start.column,callback))return;for(row--;row>=firstRow;row--)if(forEachInLine(row,Number.MAX_VALUE,callback))return;if(false==options.wrap)return;for(row=lastRow,firstRow=start.row;row>=firstRow;row--)if(forEachInLine(row,Number.MAX_VALUE,callback))return};else forEach=function(callback){var row=start.row;if(forEachInLine(row,start.column,callback))return;for(row+=1;row<=lastRow;row++)if(forEachInLine(row,0,callback))return;if(false==options.wrap)return;for(row=firstRow,lastRow=start.row;row<=lastRow;row++)if(forEachInLine(row,0,callback))return};if(options.$isMultiLine){var len=re.length;var forEachInLine=function(row,offset,callback){var startRow=backwards?row-len+1:row;if(startRow<0)return;var line=session.getLine(startRow);var startIndex=line.search(re[0]);if(!backwards&&startIndex<offset||-1===startIndex)return;for(var i=1;i<len;i++){line=session.getLine(startRow+i);if(-1==line.search(re[i]))return}var endIndex=line.match(re[len-1])[0].length;if(backwards&&endIndex>offset)return;if(callback(startRow,startIndex,startRow+len-1,endIndex))return true}}else if(backwards)forEachInLine=function(row,endIndex,callback){var line=session.getLine(row);var matches=[];var m,last=0;re.lastIndex=0;while(m=re.exec(line)){var length=m[0].length;last=m.index;if(!length){if(last>=line.length)break;re.lastIndex=last+=1}if(m.index+length>endIndex)break;matches.push(m.index,length)}for(var i=matches.length-1;i>=0;i-=2){var column=matches[i-1];length=matches[i];if(callback(row,column,row,column+length))return true}};else forEachInLine=function(row,startIndex,callback){var line=session.getLine(row);var m;var last=startIndex;re.lastIndex=startIndex;while(m=re.exec(line)){var length=m[0].length;last=m.index;if(callback(row,last,row,last+length))return true;if(!length){re.lastIndex=last+=1;if(last>=line.length)return false}}};return{forEach:forEach}}}).call(Search.prototype);function addWordBoundary(needle,options){function wordBoundary(c){if(/\w/.test(c)||options.regExp)return"\\b";return""}return wordBoundary(needle[0])+needle+wordBoundary(needle[needle.length-1])}exports.Search=Search});ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(acequire,exports,module){"use strict";var keyUtil=acequire("../lib/keys");var useragent=acequire("../lib/useragent");var KEY_MODS=keyUtil.KEY_MODS;function HashHandler(config,platform){this.platform=platform||(useragent.isMac?"mac":"win");this.commands={};this.commandKeyBinding={};this.addCommands(config);this.$singleCommand=true}function MultiHashHandler(config,platform){HashHandler.call(this,config,platform);this.$singleCommand=false}MultiHashHandler.prototype=HashHandler.prototype;(function(){this.addCommand=function(command){this.commands[command.name]&&this.removeCommand(command);this.commands[command.name]=command;command.bindKey&&this._buildKeyHash(command)};this.removeCommand=function(command,keepCommand){var name=command&&("string"===typeof command?command:command.name);command=this.commands[name];keepCommand||delete this.commands[name];var ckb=this.commandKeyBinding;for(var keyId in ckb){var cmdGroup=ckb[keyId];if(cmdGroup==command)delete ckb[keyId];else if(Array.isArray(cmdGroup)){var i=cmdGroup.indexOf(command);if(-1!=i){cmdGroup.splice(i,1);1==cmdGroup.length&&(ckb[keyId]=cmdGroup[0])}}}};this.bindKey=function(key,command,position){if("object"==typeof key&&key){void 0==position&&(position=key.position);key=key[this.platform]}if(!key)return;if("function"==typeof command)return this.addCommand({exec:command,bindKey:key,name:command.name||key});key.split("|").forEach(function(keyPart){var chain="";if(-1!=keyPart.indexOf(" ")){var parts=keyPart.split(/\s+/);keyPart=parts.pop();parts.forEach(function(keyPart){var binding=this.parseKeys(keyPart);var id=KEY_MODS[binding.hashId]+binding.key;chain+=(chain?" ":"")+id;this._addCommandToBinding(chain,"chainKeys")},this);chain+=" "}var binding=this.parseKeys(keyPart);var id=KEY_MODS[binding.hashId]+binding.key;this._addCommandToBinding(chain+id,command,position)},this)};function getPosition(command){return"object"==typeof command&&command.bindKey&&command.bindKey.position||(command.isDefault?-100:0)}this._addCommandToBinding=function(keyId,command,position){var i,ckb=this.commandKeyBinding;if(command)if(!ckb[keyId]||this.$singleCommand)ckb[keyId]=command;else{Array.isArray(ckb[keyId])?-1!=(i=ckb[keyId].indexOf(command))&&ckb[keyId].splice(i,1):ckb[keyId]=[ckb[keyId]];"number"!=typeof position&&(position=getPosition(command));var commands=ckb[keyId];for(i=0;i<commands.length;i++){var other=commands[i];var otherPos=getPosition(other);if(otherPos>position)break}commands.splice(i,0,command)}else delete ckb[keyId]};this.addCommands=function(commands){commands&&Object.keys(commands).forEach(function(name){var command=commands[name];if(!command)return;if("string"===typeof command)return this.bindKey(command,name);"function"===typeof command&&(command={exec:command});if("object"!==typeof command)return;command.name||(command.name=name);this.addCommand(command)},this)};this.removeCommands=function(commands){Object.keys(commands).forEach(function(name){this.removeCommand(commands[name])},this)};this.bindKeys=function(keyList){Object.keys(keyList).forEach(function(key){this.bindKey(key,keyList[key])},this)};this._buildKeyHash=function(command){this.bindKey(command.bindKey,command)};this.parseKeys=function(keys){var parts=keys.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(x){return x});var key=parts.pop();var keyCode=keyUtil[key];if(keyUtil.FUNCTION_KEYS[keyCode])key=keyUtil.FUNCTION_KEYS[keyCode].toLowerCase();else{if(!parts.length)return{key:key,hashId:-1};if(1==parts.length&&"shift"==parts[0])return{key:key.toUpperCase(),hashId:-1}}var hashId=0;for(var i=parts.length;i--;){var modifier=keyUtil.KEY_MODS[parts[i]];if(null==modifier){"undefined"!=typeof console&&console.error("invalid modifier "+parts[i]+" in "+keys);return false}hashId|=modifier}return{key:key,hashId:hashId}};this.findKeyCommand=function findKeyCommand(hashId,keyString){var key=KEY_MODS[hashId]+keyString;return this.commandKeyBinding[key]};this.handleKeyboard=function(data,hashId,keyString,keyCode){if(keyCode<0)return;var key=KEY_MODS[hashId]+keyString;var command=this.commandKeyBinding[key];if(data.$keyChain){data.$keyChain+=" "+key;command=this.commandKeyBinding[data.$keyChain]||command}if(command&&("chainKeys"==command||"chainKeys"==command[command.length-1])){data.$keyChain=data.$keyChain||key;return{command:"null"}}data.$keyChain&&(hashId&&4!=hashId||1!=keyString.length?(-1==hashId||keyCode>0)&&(data.$keyChain=""):data.$keyChain=data.$keyChain.slice(0,-key.length-1));return{command:command}};this.getStatusText=function(editor,data){return data.$keyChain||""}}).call(HashHandler.prototype);exports.HashHandler=HashHandler;exports.MultiHashHandler=MultiHashHandler});ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var MultiHashHandler=acequire("../keyboard/hash_handler").MultiHashHandler;var EventEmitter=acequire("../lib/event_emitter").EventEmitter;var CommandManager=function(platform,commands){MultiHashHandler.call(this,commands,platform);this.byName=this.commands;this.setDefaultHandler("exec",function(e){return e.command.exec(e.editor,e.args||{})})};oop.inherits(CommandManager,MultiHashHandler);(function(){oop.implement(this,EventEmitter);this.exec=function(command,editor,args){if(Array.isArray(command)){for(var i=command.length;i--;)if(this.exec(command[i],editor,args))return true;return false}"string"===typeof command&&(command=this.commands[command]);if(!command)return false;if(editor&&editor.$readOnly&&!command.readOnly)return false;if(command.isAvailable&&!command.isAvailable(editor))return false;var e={editor:editor,command:command,args:args};e.returnValue=this._emit("exec",e);this._signal("afterExec",e);return false!==e.returnValue};this.toggleRecording=function(editor){if(this.$inReplay)return;editor&&editor._emit("changeStatus");if(this.recording){this.macro.pop();this.removeEventListener("exec",this.$addCommandToMacro);this.macro.length||(this.macro=this.oldMacro);return this.recording=false}this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this));this.oldMacro=this.macro;this.macro=[];this.on("exec",this.$addCommandToMacro);return this.recording=true};this.replay=function(editor){if(this.$inReplay||!this.macro)return;if(this.recording)return this.toggleRecording(editor);try{this.$inReplay=true;this.macro.forEach(function(x){"string"==typeof x?this.exec(x,editor):this.exec(x[0],editor,x[1])},this)}finally{this.$inReplay=false}};this.trimMacro=function(m){return m.map(function(x){"string"!=typeof x[0]&&(x[0]=x[0].name);x[1]||(x=x[0]);return x})}}).call(CommandManager.prototype);exports.CommandManager=CommandManager});ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(acequire,exports,module){"use strict";var lang=acequire("../lib/lang");var config=acequire("../config");var Range=acequire("../range").Range;function bindKey(win,mac){return{win:win,mac:mac}}exports.commands=[{name:"showSettingsMenu",bindKey:bindKey("Ctrl-,","Command-,"),exec:function(editor){config.loadModule("ace/ext/settings_menu",function(module){module.init(editor);editor.showSettingsMenu()})},readOnly:true},{name:"goToNextError",bindKey:bindKey("Alt-E","F4"),exec:function(editor){config.loadModule("ace/ext/error_marker",function(module){module.showErrorMarker(editor,1)})},scrollIntoView:"animate",readOnly:true},{name:"goToPreviousError",bindKey:bindKey("Alt-Shift-E","Shift-F4"),exec:function(editor){config.loadModule("ace/ext/error_marker",function(module){module.showErrorMarker(editor,-1)})},scrollIntoView:"animate",readOnly:true},{name:"selectall",bindKey:bindKey("Ctrl-A","Command-A"),exec:function(editor){editor.selectAll()},readOnly:true},{name:"centerselection",bindKey:bindKey(null,"Ctrl-L"),exec:function(editor){editor.centerSelection()},readOnly:true},{name:"gotoline",bindKey:bindKey("Ctrl-L","Command-L"),exec:function(editor){var line=parseInt(prompt("Enter line number:"),10);isNaN(line)||editor.gotoLine(line)},readOnly:true},{name:"fold",bindKey:bindKey("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(editor){editor.session.toggleFold(false)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:true},{name:"unfold",bindKey:bindKey("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(editor){editor.session.toggleFold(true)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:true},{name:"toggleFoldWidget",bindKey:bindKey("F2","F2"),exec:function(editor){editor.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:true},{name:"toggleParentFoldWidget",bindKey:bindKey("Alt-F2","Alt-F2"),exec:function(editor){editor.session.toggleFoldWidget(true)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:true},{name:"foldall",bindKey:bindKey(null,"Ctrl-Command-Option-0"),exec:function(editor){editor.session.foldAll()},scrollIntoView:"center",readOnly:true},{name:"foldOther",bindKey:bindKey("Alt-0","Command-Option-0"),exec:function(editor){editor.session.foldAll();editor.session.unfold(editor.selection.getAllRanges())},scrollIntoView:"center",readOnly:true},{name:"unfoldall",bindKey:bindKey("Alt-Shift-0","Command-Option-Shift-0"),exec:function(editor){editor.session.unfold()},scrollIntoView:"center",readOnly:true},{name:"findnext",bindKey:bindKey("Ctrl-K","Command-G"),exec:function(editor){editor.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:true},{name:"findprevious",bindKey:bindKey("Ctrl-Shift-K","Command-Shift-G"),exec:function(editor){editor.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:true},{name:"selectOrFindNext",bindKey:bindKey("Alt-K","Ctrl-G"),exec:function(editor){editor.selection.isEmpty()?editor.selection.selectWord():editor.findNext()},readOnly:true},{name:"selectOrFindPrevious",bindKey:bindKey("Alt-Shift-K","Ctrl-Shift-G"),exec:function(editor){editor.selection.isEmpty()?editor.selection.selectWord():editor.findPrevious()},readOnly:true},{name:"find",bindKey:bindKey("Ctrl-F","Command-F"),exec:function(editor){config.loadModule("ace/ext/searchbox",function(e){e.Search(editor)})},readOnly:true},{name:"overwrite",bindKey:"Insert",exec:function(editor){editor.toggleOverwrite()},readOnly:true},{name:"selecttostart",bindKey:bindKey("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(editor){editor.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:true,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",bindKey:bindKey("Ctrl-Home","Command-Home|Command-Up"),exec:function(editor){editor.navigateFileStart()},multiSelectAction:"forEach",readOnly:true,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",bindKey:bindKey("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(editor){editor.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"golineup",bindKey:bindKey("Up","Up|Ctrl-P"),exec:function(editor,args){editor.navigateUp(args.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"selecttoend",bindKey:bindKey("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(editor){editor.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:true,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",bindKey:bindKey("Ctrl-End","Command-End|Command-Down"),exec:function(editor){editor.navigateFileEnd()},multiSelectAction:"forEach",readOnly:true,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",bindKey:bindKey("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(editor){editor.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"golinedown",bindKey:bindKey("Down","Down|Ctrl-N"),exec:function(editor,args){editor.navigateDown(args.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"selectwordleft",bindKey:bindKey("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(editor){editor.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"gotowordleft",bindKey:bindKey("Ctrl-Left","Option-Left"),exec:function(editor){editor.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"selecttolinestart",bindKey:bindKey("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(editor){editor.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"gotolinestart",bindKey:bindKey("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(editor){editor.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"selectleft",bindKey:bindKey("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(editor){editor.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"gotoleft",bindKey:bindKey("Left","Left|Ctrl-B"),exec:function(editor,args){editor.navigateLeft(args.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"selectwordright",bindKey:bindKey("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(editor){editor.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"gotowordright",bindKey:bindKey("Ctrl-Right","Option-Right"),exec:function(editor){editor.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"selecttolineend",bindKey:bindKey("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(editor){editor.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"gotolineend",bindKey:bindKey("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(editor){editor.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"selectright",bindKey:bindKey("Shift-Right","Shift-Right"),exec:function(editor){editor.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"gotoright",bindKey:bindKey("Right","Right|Ctrl-F"),exec:function(editor,args){editor.navigateRight(args.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"selectpagedown",bindKey:"Shift-PageDown",exec:function(editor){editor.selectPageDown()},readOnly:true},{name:"pagedown",bindKey:bindKey(null,"Option-PageDown"),exec:function(editor){editor.scrollPageDown()},readOnly:true},{name:"gotopagedown",bindKey:bindKey("PageDown","PageDown|Ctrl-V"),exec:function(editor){editor.gotoPageDown()},readOnly:true},{name:"selectpageup",bindKey:"Shift-PageUp",exec:function(editor){editor.selectPageUp()},readOnly:true},{name:"pageup",bindKey:bindKey(null,"Option-PageUp"),exec:function(editor){editor.scrollPageUp()},readOnly:true},{name:"gotopageup",bindKey:"PageUp",exec:function(editor){editor.gotoPageUp()},readOnly:true},{name:"scrollup",bindKey:bindKey("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:true},{name:"scrolldown",bindKey:bindKey("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:true},{name:"selectlinestart",bindKey:"Shift-Home",exec:function(editor){editor.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"selectlineend",bindKey:"Shift-End",exec:function(editor){editor.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"togglerecording",bindKey:bindKey("Ctrl-Alt-E","Command-Option-E"),exec:function(editor){editor.commands.toggleRecording(editor)},readOnly:true},{name:"replaymacro",bindKey:bindKey("Ctrl-Shift-E","Command-Shift-E"),exec:function(editor){editor.commands.replay(editor)},readOnly:true},{name:"jumptomatching",bindKey:bindKey("Ctrl-P","Ctrl-P"),exec:function(editor){editor.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:true},{name:"selecttomatching",bindKey:bindKey("Ctrl-Shift-P","Ctrl-Shift-P"),exec:function(editor){editor.jumpToMatching(true)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:true},{name:"expandToMatching",bindKey:bindKey("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(editor){editor.jumpToMatching(true,true)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:true},{name:"passKeysToBrowser",bindKey:bindKey(null,null),exec:function(){},passEvent:true,readOnly:true},{name:"copy",exec:function(editor){},readOnly:true},{name:"cut",exec:function(editor){var range=editor.getSelectionRange();editor._emit("cut",range);if(!editor.selection.isEmpty()){editor.session.remove(range);editor.clearSelection()}},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",exec:function(editor,args){editor.$handlePaste(args)},scrollIntoView:"cursor"},{name:"removeline",bindKey:bindKey("Ctrl-D","Command-D"),exec:function(editor){editor.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",bindKey:bindKey("Ctrl-Shift-D","Command-Shift-D"),exec:function(editor){editor.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",bindKey:bindKey("Ctrl-Alt-S","Command-Alt-S"),exec:function(editor){editor.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",bindKey:bindKey("Ctrl-/","Command-/"),exec:function(editor){editor.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",bindKey:bindKey("Ctrl-Shift-/","Command-Shift-/"),exec:function(editor){editor.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",bindKey:bindKey("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(editor){editor.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",bindKey:bindKey("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(editor){editor.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",bindKey:bindKey("Ctrl-H","Command-Option-F"),exec:function(editor){config.loadModule("ace/ext/searchbox",function(e){e.Search(editor,true)})}},{name:"undo",bindKey:bindKey("Ctrl-Z","Command-Z"),exec:function(editor){editor.undo()}},{name:"redo",bindKey:bindKey("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(editor){editor.redo()}},{name:"copylinesup",bindKey:bindKey("Alt-Shift-Up","Command-Option-Up"),exec:function(editor){editor.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",bindKey:bindKey("Alt-Up","Option-Up"),exec:function(editor){editor.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",bindKey:bindKey("Alt-Shift-Down","Command-Option-Down"),exec:function(editor){editor.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",bindKey:bindKey("Alt-Down","Option-Down"),exec:function(editor){editor.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",bindKey:bindKey("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(editor){editor.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",bindKey:bindKey("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(editor){editor.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",bindKey:bindKey("Shift-Delete",null),exec:function(editor){if(!editor.selection.isEmpty())return false;editor.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",bindKey:bindKey("Alt-Backspace","Command-Backspace"),exec:function(editor){editor.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",bindKey:bindKey("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(editor){editor.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",bindKey:bindKey("Ctrl-Shift-Backspace",null),exec:function(editor){var range=editor.selection.getRange();range.start.column=0;editor.session.remove(range)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",bindKey:bindKey("Ctrl-Shift-Delete",null),exec:function(editor){var range=editor.selection.getRange();range.end.column=Number.MAX_VALUE;editor.session.remove(range)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",bindKey:bindKey("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(editor){editor.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",bindKey:bindKey("Ctrl-Delete","Alt-Delete"),exec:function(editor){editor.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",bindKey:bindKey("Shift-Tab","Shift-Tab"),exec:function(editor){editor.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",bindKey:bindKey("Tab","Tab"),exec:function(editor){editor.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",bindKey:bindKey("Ctrl-[","Ctrl-["),exec:function(editor){editor.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",bindKey:bindKey("Ctrl-]","Ctrl-]"),exec:function(editor){editor.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",exec:function(editor,str){editor.insert(str)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",exec:function(editor,args){editor.insert(lang.stringRepeat(args.text||"",args.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",bindKey:bindKey(null,"Ctrl-O"),exec:function(editor){editor.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",bindKey:bindKey("Alt-Shift-X","Ctrl-T"),exec:function(editor){editor.transposeLetters()},multiSelectAction:function(editor){editor.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",bindKey:bindKey("Ctrl-U","Ctrl-U"),exec:function(editor){editor.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",bindKey:bindKey("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(editor){editor.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"expandtoline",bindKey:bindKey("Ctrl-Shift-L","Command-Shift-L"),exec:function(editor){var range=editor.selection.getRange();range.start.column=range.end.column=0;range.end.row++;editor.selection.setRange(range,false)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:true},{name:"joinlines",bindKey:bindKey(null,null),exec:function(editor){var isBackwards=editor.selection.isBackwards();var selectionStart=isBackwards?editor.selection.getSelectionLead():editor.selection.getSelectionAnchor();var selectionEnd=isBackwards?editor.selection.getSelectionAnchor():editor.selection.getSelectionLead();var firstLineEndCol=editor.session.doc.getLine(selectionStart.row).length;var selectedText=editor.session.doc.getTextRange(editor.selection.getRange());var selectedCount=selectedText.replace(/\n\s*/," ").length;var insertLine=editor.session.doc.getLine(selectionStart.row);for(var i=selectionStart.row+1;i<=selectionEnd.row+1;i++){var curLine=lang.stringTrimLeft(lang.stringTrimRight(editor.session.doc.getLine(i)));0!==curLine.length&&(curLine=" "+curLine);insertLine+=curLine}selectionEnd.row+1<editor.session.doc.getLength()-1&&(insertLine+=editor.session.doc.getNewLineCharacter());editor.clearSelection();editor.session.doc.replace(new Range(selectionStart.row,0,selectionEnd.row+2,0),insertLine);if(selectedCount>0){editor.selection.moveCursorTo(selectionStart.row,selectionStart.column);editor.selection.selectTo(selectionStart.row,selectionStart.column+selectedCount)}else{firstLineEndCol=editor.session.doc.getLine(selectionStart.row).length>firstLineEndCol?firstLineEndCol+1:firstLineEndCol;editor.selection.moveCursorTo(selectionStart.row,firstLineEndCol)}},multiSelectAction:"forEach",readOnly:true},{name:"invertSelection",bindKey:bindKey(null,null),exec:function(editor){var endRow=editor.session.doc.getLength()-1;var endCol=editor.session.doc.getLine(endRow).length;var ranges=editor.selection.rangeList.ranges;var newRanges=[];ranges.length<1&&(ranges=[editor.selection.getRange()]);for(var i=0;i<ranges.length;i++){i==ranges.length-1&&(ranges[i].end.row===endRow&&ranges[i].end.column===endCol||newRanges.push(new Range(ranges[i].end.row,ranges[i].end.column,endRow,endCol)));0===i?0===ranges[i].start.row&&0===ranges[i].start.column||newRanges.push(new Range(0,0,ranges[i].start.row,ranges[i].start.column)):newRanges.push(new Range(ranges[i-1].end.row,ranges[i-1].end.column,ranges[i].start.row,ranges[i].start.column))}editor.exitMultiSelectMode();editor.clearSelection();for(i=0;i<newRanges.length;i++)editor.selection.addRange(newRanges[i],false)},readOnly:true,scrollIntoView:"none"}]});ace.define("ace/editor",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/keyboard/textinput","ace/mouse/mouse_handler","ace/mouse/fold_handler","ace/keyboard/keybinding","ace/edit_session","ace/search","ace/range","ace/lib/event_emitter","ace/commands/command_manager","ace/commands/default_commands","ace/config","ace/token_iterator"],function(acequire,exports,module){"use strict";acequire("./lib/fixoldbrowsers");var oop=acequire("./lib/oop");var dom=acequire("./lib/dom");var lang=acequire("./lib/lang");var useragent=acequire("./lib/useragent");var TextInput=acequire("./keyboard/textinput").TextInput;var MouseHandler=acequire("./mouse/mouse_handler").MouseHandler;var FoldHandler=acequire("./mouse/fold_handler").FoldHandler;var KeyBinding=acequire("./keyboard/keybinding").KeyBinding;var EditSession=acequire("./edit_session").EditSession;var Search=acequire("./search").Search;var Range=acequire("./range").Range;var EventEmitter=acequire("./lib/event_emitter").EventEmitter;var CommandManager=acequire("./commands/command_manager").CommandManager;var defaultCommands=acequire("./commands/default_commands").commands;var config=acequire("./config");var TokenIterator=acequire("./token_iterator").TokenIterator;var Editor=function(renderer,session){var container=renderer.getContainerElement();this.container=container;this.renderer=renderer;this.id="editor"+ ++Editor.$uid;this.commands=new CommandManager(useragent.isMac?"mac":"win",defaultCommands);if("object"==typeof document){this.textInput=new TextInput(renderer.getTextAreaContainer(),this);this.renderer.textarea=this.textInput.getElement();this.$mouseHandler=new MouseHandler(this);new FoldHandler(this)}this.keyBinding=new KeyBinding(this);this.$blockScrolling=0;this.$search=(new Search).set({wrap:true});this.$historyTracker=this.$historyTracker.bind(this);this.commands.on("exec",this.$historyTracker);this.$initOperationListeners();this._$emitInputEvent=lang.delayedCall(function(){this._signal("input",{});this.session&&this.session.bgTokenizer&&this.session.bgTokenizer.scheduleStart()}.bind(this));this.on("change",function(_,_self){_self._$emitInputEvent.schedule(31)});this.setSession(session||new EditSession(""));config.resetOptions(this);config._signal("editor",this)};Editor.$uid=0;(function(){oop.implement(this,EventEmitter);this.$initOperationListeners=function(){this.selections=[];this.commands.on("exec",this.startOperation.bind(this),true);this.commands.on("afterExec",this.endOperation.bind(this),true);this.$opResetTimer=lang.delayedCall(this.endOperation.bind(this));this.on("change",function(){this.curOp||this.startOperation();this.curOp.docChanged=true}.bind(this),true);this.on("changeSelection",function(){this.curOp||this.startOperation();this.curOp.selectionChanged=true}.bind(this),true)};this.curOp=null;this.prevOp={};this.startOperation=function(commadEvent){if(this.curOp){if(!commadEvent||this.curOp.command)return;this.prevOp=this.curOp}if(!commadEvent){this.previousCommand=null;commadEvent={}}this.$opResetTimer.schedule();this.curOp={command:commadEvent.command||{},args:commadEvent.args,scrollTop:this.renderer.scrollTop};this.curOp.command.name&&void 0!==this.curOp.command.scrollIntoView&&this.$blockScrolling++};this.endOperation=function(e){if(this.curOp){if(e&&false===e.returnValue)return this.curOp=null;this._signal("beforeEndOperation");var command=this.curOp.command;command.name&&this.$blockScrolling>0&&this.$blockScrolling--;var scrollIntoView=command&&command.scrollIntoView;if(scrollIntoView){switch(scrollIntoView){case"center-animate":scrollIntoView="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var range=this.selection.getRange();var config=this.renderer.layerConfig;(range.start.row>=config.lastRow||range.end.row<=config.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==scrollIntoView&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.prevOp=this.curOp;this.curOp=null}};this.$mergeableCommands=["backspace","del","insertstring"];this.$historyTracker=function(e){if(!this.$mergeUndoDeltas)return;var prev=this.prevOp;var mergeableCommands=this.$mergeableCommands;var shouldMerge=prev.command&&e.command.name==prev.command.name;if("insertstring"==e.command.name){var text=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=true);shouldMerge=shouldMerge&&this.mergeNextCommand&&(!/\s/.test(text)||/\s/.test(prev.args));this.mergeNextCommand=true}else shouldMerge=shouldMerge&&-1!==mergeableCommands.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(shouldMerge=false);shouldMerge?this.session.mergeUndoDeltas=true:-1!==mergeableCommands.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())};this.setKeyboardHandler=function(keyboardHandler,cb){if(keyboardHandler&&"string"===typeof keyboardHandler){this.$keybindingId=keyboardHandler;var _self=this;config.loadModule(["keybinding",keyboardHandler],function(module){_self.$keybindingId==keyboardHandler&&_self.keyBinding.setKeyboardHandler(module&&module.handler);cb&&cb()})}else{this.$keybindingId=null;this.keyBinding.setKeyboardHandler(keyboardHandler);cb&&cb()}};this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()};this.setSession=function(session){if(this.session==session)return;this.curOp&&this.endOperation();this.curOp={};var oldSession=this.session;if(oldSession){this.session.off("change",this.$onDocumentChange);this.session.off("changeMode",this.$onChangeMode);this.session.off("tokenizerUpdate",this.$onTokenizerUpdate);this.session.off("changeTabSize",this.$onChangeTabSize);this.session.off("changeWrapLimit",this.$onChangeWrapLimit);this.session.off("changeWrapMode",this.$onChangeWrapMode);this.session.off("changeFold",this.$onChangeFold);this.session.off("changeFrontMarker",this.$onChangeFrontMarker);this.session.off("changeBackMarker",this.$onChangeBackMarker);this.session.off("changeBreakpoint",this.$onChangeBreakpoint);this.session.off("changeAnnotation",this.$onChangeAnnotation);this.session.off("changeOverwrite",this.$onCursorChange);this.session.off("changeScrollTop",this.$onScrollTopChange);this.session.off("changeScrollLeft",this.$onScrollLeftChange);var selection=this.session.getSelection();selection.off("changeCursor",this.$onCursorChange);selection.off("changeSelection",this.$onSelectionChange)}this.session=session;if(session){this.$onDocumentChange=this.onDocumentChange.bind(this);session.on("change",this.$onDocumentChange);this.renderer.setSession(session);this.$onChangeMode=this.onChangeMode.bind(this);session.on("changeMode",this.$onChangeMode);this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this);session.on("tokenizerUpdate",this.$onTokenizerUpdate);this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer);session.on("changeTabSize",this.$onChangeTabSize);this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this);session.on("changeWrapLimit",this.$onChangeWrapLimit);this.$onChangeWrapMode=this.onChangeWrapMode.bind(this);session.on("changeWrapMode",this.$onChangeWrapMode);this.$onChangeFold=this.onChangeFold.bind(this);session.on("changeFold",this.$onChangeFold);this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this);this.session.on("changeFrontMarker",this.$onChangeFrontMarker);this.$onChangeBackMarker=this.onChangeBackMarker.bind(this);this.session.on("changeBackMarker",this.$onChangeBackMarker);this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this);this.session.on("changeBreakpoint",this.$onChangeBreakpoint);this.$onChangeAnnotation=this.onChangeAnnotation.bind(this);this.session.on("changeAnnotation",this.$onChangeAnnotation);this.$onCursorChange=this.onCursorChange.bind(this);this.session.on("changeOverwrite",this.$onCursorChange);this.$onScrollTopChange=this.onScrollTopChange.bind(this);this.session.on("changeScrollTop",this.$onScrollTopChange);this.$onScrollLeftChange=this.onScrollLeftChange.bind(this);this.session.on("changeScrollLeft",this.$onScrollLeftChange);this.selection=session.getSelection();this.selection.on("changeCursor",this.$onCursorChange);this.$onSelectionChange=this.onSelectionChange.bind(this);this.selection.on("changeSelection",this.$onSelectionChange);this.onChangeMode();this.$blockScrolling+=1;this.onCursorChange();this.$blockScrolling-=1;this.onScrollTopChange();this.onScrollLeftChange();this.onSelectionChange();this.onChangeFrontMarker();this.onChangeBackMarker();this.onChangeBreakpoint();this.onChangeAnnotation();this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit();this.renderer.updateFull()}else{this.selection=null;this.renderer.setSession(session)}this._signal("changeSession",{session:session,oldSession:oldSession});this.curOp=null;oldSession&&oldSession._signal("changeEditor",{oldEditor:this});session&&session._signal("changeEditor",{editor:this});session&&session.bgTokenizer&&session.bgTokenizer.scheduleStart()};this.getSession=function(){return this.session};this.setValue=function(val,cursorPos){this.session.doc.setValue(val);cursorPos?1==cursorPos?this.navigateFileEnd():-1==cursorPos&&this.navigateFileStart():this.selectAll();return val};this.getValue=function(){return this.session.getValue()};this.getSelection=function(){return this.selection};this.resize=function(force){this.renderer.onResize(force)};this.setTheme=function(theme,cb){this.renderer.setTheme(theme,cb)};this.getTheme=function(){return this.renderer.getTheme()};this.setStyle=function(style){this.renderer.setStyle(style)};this.unsetStyle=function(style){this.renderer.unsetStyle(style)};this.getFontSize=function(){return this.getOption("fontSize")||dom.computedStyle(this.container,"fontSize")};this.setFontSize=function(size){this.setOption("fontSize",size)};this.$highlightBrackets=function(){if(this.session.$bracketHighlight){this.session.removeMarker(this.session.$bracketHighlight);this.session.$bracketHighlight=null}if(this.$highlightPending)return;var self=this;this.$highlightPending=true;setTimeout(function(){self.$highlightPending=false;var session=self.session;if(!session||!session.bgTokenizer)return;var pos=session.findMatchingBracket(self.getCursorPosition());if(pos)var range=new Range(pos.row,pos.column,pos.row,pos.column+1);else if(session.$mode.getMatching)range=session.$mode.getMatching(self.session);range&&(session.$bracketHighlight=session.addMarker(range,"ace_bracket","text"))},50)};this.$highlightTags=function(){if(this.$highlightTagPending)return;var self=this;this.$highlightTagPending=true;setTimeout(function(){self.$highlightTagPending=false;var session=self.session;if(!session||!session.bgTokenizer)return;var pos=self.getCursorPosition();var iterator=new TokenIterator(self.session,pos.row,pos.column);var token=iterator.getCurrentToken();if(!token||!/\b(?:tag-open|tag-name)/.test(token.type)){session.removeMarker(session.$tagHighlight);session.$tagHighlight=null;return}if(-1!=token.type.indexOf("tag-open")){token=iterator.stepForward();if(!token)return}var tag=token.value;var depth=0;var prevToken=iterator.stepBackward();if("<"==prevToken.value)do{prevToken=token;token=iterator.stepForward();token&&token.value===tag&&-1!==token.type.indexOf("tag-name")&&("<"===prevToken.value?depth++:"</"===prevToken.value&&depth--)}while(token&&depth>=0);else{do{token=prevToken;prevToken=iterator.stepBackward();token&&token.value===tag&&-1!==token.type.indexOf("tag-name")&&("<"===prevToken.value?depth++:"</"===prevToken.value&&depth--)}while(prevToken&&depth<=0);iterator.stepForward()}if(!token){session.removeMarker(session.$tagHighlight);session.$tagHighlight=null;return}var row=iterator.getCurrentTokenRow();var column=iterator.getCurrentTokenColumn();var range=new Range(row,column,row,column+token.value.length);var sbm=session.$backMarkers[session.$tagHighlight];if(session.$tagHighlight&&void 0!=sbm&&0!==range.compareRange(sbm.range)){session.removeMarker(session.$tagHighlight);session.$tagHighlight=null}range&&!session.$tagHighlight&&(session.$tagHighlight=session.addMarker(range,"ace_bracket","text"))},50)};this.focus=function(){var _self=this;setTimeout(function(){_self.textInput.focus()});this.textInput.focus()};this.isFocused=function(){return this.textInput.isFocused()};this.blur=function(){this.textInput.blur()};this.onFocus=function(e){if(this.$isFocused)return;this.$isFocused=true;this.renderer.showCursor();this.renderer.visualizeFocus();this._emit("focus",e)};this.onBlur=function(e){if(!this.$isFocused)return;this.$isFocused=false;this.renderer.hideCursor();this.renderer.visualizeBlur();this._emit("blur",e)};this.$cursorChange=function(){this.renderer.updateCursor()};this.onDocumentChange=function(delta){var wrap=this.session.$useWrapMode;var lastRow=delta.start.row==delta.end.row?delta.end.row:Infinity;this.renderer.updateLines(delta.start.row,lastRow,wrap);this._signal("change",delta);this.$cursorChange();this.$updateHighlightActiveLine()};this.onTokenizerUpdate=function(e){var rows=e.data;this.renderer.updateLines(rows.first,rows.last)};this.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())};this.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())};this.onCursorChange=function(){this.$cursorChange();if(!this.$blockScrolling){config.warn("Automatically scrolling cursor into view after selection change","this will be disabled in the next version","set editor.$blockScrolling = Infinity to disable this message");this.renderer.scrollCursorIntoView()}this.$highlightBrackets();this.$highlightTags();this.$updateHighlightActiveLine();this._signal("changeSelection")};this.$updateHighlightActiveLine=function(){var session=this.getSession();var highlight;if(this.$highlightActiveLine){"line"==this.$selectionStyle&&this.selection.isMultiLine()||(highlight=this.getCursorPosition());!this.renderer.$maxLines||1!==this.session.getLength()||this.renderer.$minLines>1||(highlight=false)}if(session.$highlightLineMarker&&!highlight){session.removeMarker(session.$highlightLineMarker.id);session.$highlightLineMarker=null}else if(!session.$highlightLineMarker&&highlight){var range=new Range(highlight.row,highlight.column,highlight.row,Infinity);range.id=session.addMarker(range,"ace_active-line","screenLine");session.$highlightLineMarker=range}else if(highlight){session.$highlightLineMarker.start.row=highlight.row;session.$highlightLineMarker.end.row=highlight.row;session.$highlightLineMarker.start.column=highlight.column;session._signal("changeBackMarker")}};this.onSelectionChange=function(e){var session=this.session;session.$selectionMarker&&session.removeMarker(session.$selectionMarker);session.$selectionMarker=null;if(this.selection.isEmpty())this.$updateHighlightActiveLine();else{var range=this.selection.getRange();var style=this.getSelectionStyle();session.$selectionMarker=session.addMarker(range,"ace_selection",style)}var re=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(re);this._signal("changeSelection")};this.$getSelectionHighLightRegexp=function(){var session=this.session;var selection=this.getSelectionRange();if(selection.isEmpty()||selection.isMultiLine())return;var startOuter=selection.start.column-1;var endOuter=selection.end.column+1;var line=session.getLine(selection.start.row);var lineCols=line.length;var needle=line.substring(Math.max(startOuter,0),Math.min(endOuter,lineCols));if(startOuter>=0&&/^[\w\d]/.test(needle)||endOuter<=lineCols&&/[\w\d]$/.test(needle))return;needle=line.substring(selection.start.column,selection.end.column);if(!/^[\w\d]+$/.test(needle))return;var re=this.$search.$assembleRegExp({wholeWord:true,caseSensitive:true,needle:needle});return re};this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()};this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()};this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()};this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())};this.onChangeMode=function(e){this.renderer.updateText();this._emit("changeMode",e)};this.onChangeWrapLimit=function(){this.renderer.updateFull()};this.onChangeWrapMode=function(){this.renderer.onResize(true)};this.onChangeFold=function(){this.$updateHighlightActiveLine();this.renderer.updateFull()};this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())};this.getCopyText=function(){var text=this.getSelectedText();this._signal("copy",text);return text};this.onCopy=function(){this.commands.exec("copy",this)};this.onCut=function(){this.commands.exec("cut",this)};this.onPaste=function(text,event){var e={text:text,event:event};this.commands.exec("paste",this,e)};this.$handlePaste=function(e){"string"==typeof e&&(e={text:e});this._signal("paste",e);var text=e.text;if(!this.inMultiSelectMode||this.inVirtualSelectionMode)this.insert(text);else{var lines=text.split(/\r\n|\r|\n/);var ranges=this.selection.rangeList.ranges;if(lines.length>ranges.length||lines.length<2||!lines[1])return this.commands.exec("insertstring",this,text);for(var i=ranges.length;i--;){var range=ranges[i];range.isEmpty()||this.session.remove(range);this.session.insert(range.start,lines[i])}}};this.execCommand=function(command,args){return this.commands.exec(command,this,args)};this.insert=function(text,pasted){var session=this.session;var mode=session.getMode();var cursor=this.getCursorPosition();if(this.getBehavioursEnabled()&&!pasted){var transform=mode.transformAction(session.getState(cursor.row),"insertion",this,session,text);if(transform){if(text!==transform.text){this.session.mergeUndoDeltas=false;this.$mergeNextCommand=false}text=transform.text}}"\t"==text&&(text=this.session.getTabString());if(this.selection.isEmpty()){if(this.session.getOverwrite()&&-1==text.indexOf("\n")){range=new Range.fromPoints(cursor,cursor);range.end.column+=text.length;this.session.remove(range)}}else{var range=this.getSelectionRange();cursor=this.session.remove(range);this.clearSelection()}if("\n"==text||"\r\n"==text){var line=session.getLine(cursor.row);if(cursor.column>line.search(/\S|$/)){var d=line.substr(cursor.column).search(/\S|$/);session.doc.removeInLine(cursor.row,cursor.column,cursor.column+d)}}this.clearSelection();var start=cursor.column;var lineState=session.getState(cursor.row);line=session.getLine(cursor.row);var shouldOutdent=mode.checkOutdent(lineState,line,text);session.insert(cursor,text);transform&&transform.selection&&(2==transform.selection.length?this.selection.setSelectionRange(new Range(cursor.row,start+transform.selection[0],cursor.row,start+transform.selection[1])):this.selection.setSelectionRange(new Range(cursor.row+transform.selection[0],transform.selection[1],cursor.row+transform.selection[2],transform.selection[3])));if(session.getDocument().isNewLine(text)){var lineIndent=mode.getNextLineIndent(lineState,line.slice(0,cursor.column),session.getTabString());session.insert({row:cursor.row+1,column:0},lineIndent)}shouldOutdent&&mode.autoOutdent(lineState,session,cursor.row)};this.onTextInput=function(text){this.keyBinding.onTextInput(text)};this.onCommandKey=function(e,hashId,keyCode){this.keyBinding.onCommandKey(e,hashId,keyCode)};this.setOverwrite=function(overwrite){this.session.setOverwrite(overwrite)};this.getOverwrite=function(){return this.session.getOverwrite()};this.toggleOverwrite=function(){this.session.toggleOverwrite()};this.setScrollSpeed=function(speed){this.setOption("scrollSpeed",speed)};this.getScrollSpeed=function(){return this.getOption("scrollSpeed")};this.setDragDelay=function(dragDelay){this.setOption("dragDelay",dragDelay)};this.getDragDelay=function(){return this.getOption("dragDelay")};this.setSelectionStyle=function(val){this.setOption("selectionStyle",val)};this.getSelectionStyle=function(){return this.getOption("selectionStyle")};this.setHighlightActiveLine=function(shouldHighlight){this.setOption("highlightActiveLine",shouldHighlight)};this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")};this.setHighlightGutterLine=function(shouldHighlight){this.setOption("highlightGutterLine",shouldHighlight)};this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")};this.setHighlightSelectedWord=function(shouldHighlight){this.setOption("highlightSelectedWord",shouldHighlight)};this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord};this.setAnimatedScroll=function(shouldAnimate){this.renderer.setAnimatedScroll(shouldAnimate)};this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()};this.setShowInvisibles=function(showInvisibles){this.renderer.setShowInvisibles(showInvisibles)};this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()};this.setDisplayIndentGuides=function(display){this.renderer.setDisplayIndentGuides(display)};this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()};this.setShowPrintMargin=function(showPrintMargin){this.renderer.setShowPrintMargin(showPrintMargin)};this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()};this.setPrintMarginColumn=function(showPrintMargin){this.renderer.setPrintMarginColumn(showPrintMargin)};this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()};this.setReadOnly=function(readOnly){this.setOption("readOnly",readOnly)};this.getReadOnly=function(){return this.getOption("readOnly")};this.setBehavioursEnabled=function(enabled){this.setOption("behavioursEnabled",enabled)};this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")};this.setWrapBehavioursEnabled=function(enabled){this.setOption("wrapBehavioursEnabled",enabled)};this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")};this.setShowFoldWidgets=function(show){this.setOption("showFoldWidgets",show)};this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")};this.setFadeFoldWidgets=function(fade){this.setOption("fadeFoldWidgets",fade)};this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")};this.remove=function(dir){this.selection.isEmpty()&&("left"==dir?this.selection.selectLeft():this.selection.selectRight());var range=this.getSelectionRange();if(this.getBehavioursEnabled()){var session=this.session;var state=session.getState(range.start.row);var new_range=session.getMode().transformAction(state,"deletion",this,session,range);if(0===range.end.column){var text=session.getTextRange(range);if("\n"==text[text.length-1]){var line=session.getLine(range.end.row);/^\s+$/.test(line)&&(range.end.column=line.length)}}new_range&&(range=new_range)}this.session.remove(range);this.clearSelection()};this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight();this.session.remove(this.getSelectionRange());this.clearSelection()};this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft();this.session.remove(this.getSelectionRange());this.clearSelection()};this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart();this.session.remove(this.getSelectionRange());this.clearSelection()};this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var range=this.getSelectionRange();if(range.start.column==range.end.column&&range.start.row==range.end.row){range.end.column=0;range.end.row++}this.session.remove(range);this.clearSelection()};this.splitLine=function(){if(!this.selection.isEmpty()){this.session.remove(this.getSelectionRange());this.clearSelection()}var cursor=this.getCursorPosition();this.insert("\n");this.moveCursorToPosition(cursor)};this.transposeLetters=function(){if(!this.selection.isEmpty())return;var cursor=this.getCursorPosition();var column=cursor.column;if(0===column)return;var line=this.session.getLine(cursor.row);var swap,range;if(column<line.length){swap=line.charAt(column)+line.charAt(column-1);range=new Range(cursor.row,column-1,cursor.row,column+1)}else{swap=line.charAt(column-1)+line.charAt(column-2);range=new Range(cursor.row,column-2,cursor.row,column)}this.session.replace(range,swap);this.session.selection.moveToPosition(range.end)};this.toLowerCase=function(){var originalRange=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var range=this.getSelectionRange();var text=this.session.getTextRange(range);this.session.replace(range,text.toLowerCase());this.selection.setSelectionRange(originalRange)};this.toUpperCase=function(){var originalRange=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var range=this.getSelectionRange();var text=this.session.getTextRange(range);this.session.replace(range,text.toUpperCase());this.selection.setSelectionRange(originalRange)};this.indent=function(){var session=this.session;var range=this.getSelectionRange();if(range.start.row<range.end.row){var rows=this.$getSelectedRows();session.indentRows(rows.first,rows.last,"\t");return}if(range.start.column<range.end.column){var text=session.getTextRange(range);if(!/^\s+$/.test(text)){rows=this.$getSelectedRows();session.indentRows(rows.first,rows.last,"\t");return}}var line=session.getLine(range.start.row);var position=range.start;var size=session.getTabSize();var column=session.documentToScreenColumn(position.row,position.column);if(this.session.getUseSoftTabs()){var count=size-column%size;var indentString=lang.stringRepeat(" ",count)}else{count=column%size;while(" "==line[range.start.column-1]&&count){range.start.column--;count--}this.selection.setSelectionRange(range);indentString="\t"}return this.insert(indentString)};this.blockIndent=function(){var rows=this.$getSelectedRows();this.session.indentRows(rows.first,rows.last,"\t")};this.blockOutdent=function(){var selection=this.session.getSelection();this.session.outdentRows(selection.getRange())};this.sortLines=function(){var rows=this.$getSelectedRows();var session=this.session;var lines=[];for(var i=rows.first;i<=rows.last;i++)lines.push(session.getLine(i));lines.sort(function(a,b){if(a.toLowerCase()<b.toLowerCase())return-1;if(a.toLowerCase()>b.toLowerCase())return 1;return 0});var deleteRange=new Range(0,0,0,0);for(i=rows.first;i<=rows.last;i++){var line=session.getLine(i);deleteRange.start.row=i;deleteRange.end.row=i;deleteRange.end.column=line.length;session.replace(deleteRange,lines[i-rows.first])}};this.toggleCommentLines=function(){var state=this.session.getState(this.getCursorPosition().row);var rows=this.$getSelectedRows();this.session.getMode().toggleCommentLines(state,this.session,rows.first,rows.last)};this.toggleBlockComment=function(){var cursor=this.getCursorPosition();var state=this.session.getState(cursor.row);var range=this.getSelectionRange();this.session.getMode().toggleBlockComment(state,this.session,range,cursor)};this.getNumberAt=function(row,column){var _numberRx=/[\-]?[0-9]+(?:\.[0-9]+)?/g;_numberRx.lastIndex=0;var s=this.session.getLine(row);while(_numberRx.lastIndex<column){var m=_numberRx.exec(s);if(m.index<=column&&m.index+m[0].length>=column){var number={value:m[0],start:m.index,end:m.index+m[0].length};return number}}return null};this.modifyNumber=function(amount){var row=this.selection.getCursor().row;var column=this.selection.getCursor().column;var charRange=new Range(row,column-1,row,column);var c=this.session.getTextRange(charRange);if(!isNaN(parseFloat(c))&&isFinite(c)){var nr=this.getNumberAt(row,column);if(nr){var fp=nr.value.indexOf(".")>=0?nr.start+nr.value.indexOf(".")+1:nr.end;var decimals=nr.start+nr.value.length-fp;var t=parseFloat(nr.value);t*=Math.pow(10,decimals);fp!==nr.end&&column<fp?amount*=Math.pow(10,nr.end-column-1):amount*=Math.pow(10,nr.end-column);t+=amount;t/=Math.pow(10,decimals);var nnr=t.toFixed(decimals);var replaceRange=new Range(row,nr.start,row,nr.end);this.session.replace(replaceRange,nnr);this.moveCursorTo(row,Math.max(nr.start+1,column+nnr.length-nr.value.length))}}};this.removeLines=function(){var rows=this.$getSelectedRows();this.session.removeFullLines(rows.first,rows.last);this.clearSelection()};this.duplicateSelection=function(){var sel=this.selection;var doc=this.session;var range=sel.getRange();var reverse=sel.isBackwards();if(range.isEmpty()){var row=range.start.row;doc.duplicateLines(row,row)}else{var point=reverse?range.start:range.end;var endPoint=doc.insert(point,doc.getTextRange(range),false);range.start=point;range.end=endPoint;sel.setSelectionRange(range,reverse)}};this.moveLinesDown=function(){this.$moveLines(1,false)};this.moveLinesUp=function(){this.$moveLines(-1,false)};this.moveText=function(range,toPosition,copy){return this.session.moveText(range,toPosition,copy)};this.copyLinesUp=function(){this.$moveLines(-1,true)};this.copyLinesDown=function(){this.$moveLines(1,true)};this.$moveLines=function(dir,copy){var rows,moved;var selection=this.selection;if(!selection.inMultiSelectMode||this.inVirtualSelectionMode){var range=selection.toOrientedRange();rows=this.$getSelectedRows(range);moved=this.session.$moveLines(rows.first,rows.last,copy?0:dir);copy&&-1==dir&&(moved=0);range.moveBy(moved,0);selection.fromOrientedRange(range)}else{var ranges=selection.rangeList.ranges;selection.rangeList.detach(this.session);this.inVirtualSelectionMode=true;var diff=0;var totalDiff=0;var l=ranges.length;for(var i=0;i<l;i++){var rangeIndex=i;ranges[i].moveBy(diff,0);rows=this.$getSelectedRows(ranges[i]);var first=rows.first;var last=rows.last;while(++i<l){totalDiff&&ranges[i].moveBy(totalDiff,0);var subRows=this.$getSelectedRows(ranges[i]);if(copy&&subRows.first!=last)break;if(!copy&&subRows.first>last+1)break;last=subRows.last}i--;diff=this.session.$moveLines(first,last,copy?0:dir);copy&&-1==dir&&(rangeIndex=i+1);while(rangeIndex<=i){ranges[rangeIndex].moveBy(diff,0);rangeIndex++}copy||(diff=0);totalDiff+=diff}selection.fromOrientedRange(selection.ranges[0]);selection.rangeList.attach(this.session);this.inVirtualSelectionMode=false}};this.$getSelectedRows=function(range){range=(range||this.getSelectionRange()).collapseRows();return{first:this.session.getRowFoldStart(range.start.row),last:this.session.getRowFoldEnd(range.end.row)}};this.onCompositionStart=function(text){this.renderer.showComposition(this.getCursorPosition())};this.onCompositionUpdate=function(text){this.renderer.setCompositionText(text)};this.onCompositionEnd=function(){this.renderer.hideComposition()};this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()};this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()};this.isRowVisible=function(row){return row>=this.getFirstVisibleRow()&&row<=this.getLastVisibleRow()};this.isRowFullyVisible=function(row){return row>=this.renderer.getFirstFullyVisibleRow()&&row<=this.renderer.getLastFullyVisibleRow()};this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1};this.$moveByPage=function(dir,select){var renderer=this.renderer;var config=this.renderer.layerConfig;var rows=dir*Math.floor(config.height/config.lineHeight);this.$blockScrolling++;if(true===select)this.selection.$moveSelection(function(){this.moveCursorBy(rows,0)});else if(false===select){this.selection.moveCursorBy(rows,0);this.selection.clearSelection()}this.$blockScrolling--;var scrollTop=renderer.scrollTop;renderer.scrollBy(0,rows*config.lineHeight);null!=select&&renderer.scrollCursorIntoView(null,.5);renderer.animateScrolling(scrollTop)};this.selectPageDown=function(){this.$moveByPage(1,true)};this.selectPageUp=function(){this.$moveByPage(-1,true)};this.gotoPageDown=function(){this.$moveByPage(1,false)};this.gotoPageUp=function(){this.$moveByPage(-1,false)};this.scrollPageDown=function(){this.$moveByPage(1)};this.scrollPageUp=function(){this.$moveByPage(-1)};this.scrollToRow=function(row){this.renderer.scrollToRow(row)};this.scrollToLine=function(line,center,animate,callback){this.renderer.scrollToLine(line,center,animate,callback)};this.centerSelection=function(){var range=this.getSelectionRange();var pos={row:Math.floor(range.start.row+(range.end.row-range.start.row)/2),column:Math.floor(range.start.column+(range.end.column-range.start.column)/2)};this.renderer.alignCursor(pos,.5)};this.getCursorPosition=function(){return this.selection.getCursor()};this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())};this.getSelectionRange=function(){return this.selection.getRange()};this.selectAll=function(){this.$blockScrolling+=1;this.selection.selectAll();this.$blockScrolling-=1};this.clearSelection=function(){this.selection.clearSelection()};this.moveCursorTo=function(row,column){this.selection.moveCursorTo(row,column)};this.moveCursorToPosition=function(pos){this.selection.moveCursorToPosition(pos)};this.jumpToMatching=function(select,expand){var cursor=this.getCursorPosition();var iterator=new TokenIterator(this.session,cursor.row,cursor.column);var prevToken=iterator.getCurrentToken();var token=prevToken||iterator.stepForward();if(!token)return;var matchType;var found=false;var depth={};var i=cursor.column-token.start;var bracketType;var brackets={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(token.value.match(/[{}()\[\]]/g))for(;i<token.value.length&&!found;i++){if(!brackets[token.value[i]])continue;bracketType=brackets[token.value[i]]+"."+token.type.replace("rparen","lparen");isNaN(depth[bracketType])&&(depth[bracketType]=0);switch(token.value[i]){case"(":case"[":case"{":depth[bracketType]++;break;case")":case"]":case"}":depth[bracketType]--;if(-1===depth[bracketType]){matchType="bracket";found=true}}}else if(token&&-1!==token.type.indexOf("tag-name")){isNaN(depth[token.value])&&(depth[token.value]=0);"<"===prevToken.value?depth[token.value]++:"</"===prevToken.value&&depth[token.value]--;if(-1===depth[token.value]){matchType="tag";found=true}}if(!found){prevToken=token;token=iterator.stepForward();i=0}}while(token&&!found);if(!matchType)return;var range,pos;if("bracket"===matchType){range=this.session.getBracketRange(cursor);if(!range){range=new Range(iterator.getCurrentTokenRow(),iterator.getCurrentTokenColumn()+i-1,iterator.getCurrentTokenRow(),iterator.getCurrentTokenColumn()+i-1);pos=range.start;(expand||pos.row===cursor.row&&Math.abs(pos.column-cursor.column)<2)&&(range=this.session.getBracketRange(pos))}}else if("tag"===matchType){if(!token||-1===token.type.indexOf("tag-name"))return;var tag=token.value;range=new Range(iterator.getCurrentTokenRow(),iterator.getCurrentTokenColumn()-2,iterator.getCurrentTokenRow(),iterator.getCurrentTokenColumn()-2);if(0===range.compare(cursor.row,cursor.column)){found=false;do{token=prevToken;prevToken=iterator.stepBackward();if(prevToken){-1!==prevToken.type.indexOf("tag-close")&&range.setEnd(iterator.getCurrentTokenRow(),iterator.getCurrentTokenColumn()+1);if(token.value===tag&&-1!==token.type.indexOf("tag-name")){"<"===prevToken.value?depth[tag]++:"</"===prevToken.value&&depth[tag]--;0===depth[tag]&&(found=true)}}}while(prevToken&&!found)}if(token&&token.type.indexOf("tag-name")){pos=range.start;pos.row==cursor.row&&Math.abs(pos.column-cursor.column)<2&&(pos=range.end)}}pos=range&&range.cursor||pos;pos&&(select?range&&expand?this.selection.setRange(range):range&&range.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(pos.row,pos.column):this.selection.moveTo(pos.row,pos.column))};this.gotoLine=function(lineNumber,column,animate){this.selection.clearSelection();this.session.unfold({row:lineNumber-1,column:column||0});this.$blockScrolling+=1;this.exitMultiSelectMode&&this.exitMultiSelectMode();this.moveCursorTo(lineNumber-1,column||0);this.$blockScrolling-=1;this.isRowFullyVisible(lineNumber-1)||this.scrollToLine(lineNumber-1,true,animate)};this.navigateTo=function(row,column){this.selection.moveTo(row,column)};this.navigateUp=function(times){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var selectionStart=this.selection.anchor.getPosition();return this.moveCursorToPosition(selectionStart)}this.selection.clearSelection();this.selection.moveCursorBy(-times||-1,0)};this.navigateDown=function(times){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var selectionEnd=this.selection.anchor.getPosition();return this.moveCursorToPosition(selectionEnd)}this.selection.clearSelection();this.selection.moveCursorBy(times||1,0)};this.navigateLeft=function(times){if(this.selection.isEmpty()){times=times||1;while(times--)this.selection.moveCursorLeft()}else{var selectionStart=this.getSelectionRange().start;this.moveCursorToPosition(selectionStart)}this.clearSelection()};this.navigateRight=function(times){if(this.selection.isEmpty()){times=times||1;while(times--)this.selection.moveCursorRight()}else{var selectionEnd=this.getSelectionRange().end;this.moveCursorToPosition(selectionEnd)}this.clearSelection()};this.navigateLineStart=function(){this.selection.moveCursorLineStart();this.clearSelection()};this.navigateLineEnd=function(){this.selection.moveCursorLineEnd();this.clearSelection()};this.navigateFileEnd=function(){this.selection.moveCursorFileEnd();this.clearSelection()};this.navigateFileStart=function(){this.selection.moveCursorFileStart();this.clearSelection()};this.navigateWordRight=function(){this.selection.moveCursorWordRight();this.clearSelection()};this.navigateWordLeft=function(){this.selection.moveCursorWordLeft();this.clearSelection()};this.replace=function(replacement,options){options&&this.$search.set(options);var range=this.$search.find(this.session);var replaced=0;if(!range)return replaced;this.$tryReplace(range,replacement)&&(replaced=1);if(null!==range){this.selection.setSelectionRange(range);this.renderer.scrollSelectionIntoView(range.start,range.end)}return replaced};this.replaceAll=function(replacement,options){options&&this.$search.set(options);var ranges=this.$search.findAll(this.session);var replaced=0;if(!ranges.length)return replaced;this.$blockScrolling+=1;var selection=this.getSelectionRange();this.selection.moveTo(0,0);for(var i=ranges.length-1;i>=0;--i)this.$tryReplace(ranges[i],replacement)&&replaced++;this.selection.setSelectionRange(selection);this.$blockScrolling-=1;return replaced};this.$tryReplace=function(range,replacement){var input=this.session.getTextRange(range);replacement=this.$search.replace(input,replacement);if(null!==replacement){range.end=this.session.replace(range,replacement);return range}return null};this.getLastSearchOptions=function(){return this.$search.getOptions()};this.find=function(needle,options,animate){options||(options={});"string"==typeof needle||needle instanceof RegExp?options.needle=needle:"object"==typeof needle&&oop.mixin(options,needle);var range=this.selection.getRange();if(null==options.needle){needle=this.session.getTextRange(range)||this.$search.$options.needle;if(!needle){range=this.session.getWordRange(range.start.row,range.start.column);needle=this.session.getTextRange(range)}this.$search.set({needle:needle})}this.$search.set(options);options.start||this.$search.set({start:range});var newRange=this.$search.find(this.session);if(options.preventScroll)return newRange;if(newRange){this.revealRange(newRange,animate);return newRange}options.backwards?range.start=range.end:range.end=range.start;this.selection.setRange(range)};this.findNext=function(options,animate){this.find({skipCurrent:true,backwards:false},options,animate)};this.findPrevious=function(options,animate){this.find(options,{skipCurrent:true,backwards:true},animate)};this.revealRange=function(range,animate){this.$blockScrolling+=1;this.session.unfold(range);this.selection.setSelectionRange(range);this.$blockScrolling-=1;var scrollTop=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(range.start,range.end,.5);false!==animate&&this.renderer.animateScrolling(scrollTop)};this.undo=function(){this.$blockScrolling++;this.session.getUndoManager().undo();this.$blockScrolling--;this.renderer.scrollCursorIntoView(null,.5)};this.redo=function(){this.$blockScrolling++;this.session.getUndoManager().redo();this.$blockScrolling--;this.renderer.scrollCursorIntoView(null,.5)};this.destroy=function(){this.renderer.destroy();this._signal("destroy",this);this.session&&this.session.destroy()};this.setAutoScrollEditorIntoView=function(enable){if(!enable)return;var rect;var self=this;var shouldScroll=false;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var scrollAnchor=this.$scrollAnchor;scrollAnchor.style.cssText="position:absolute";this.container.insertBefore(scrollAnchor,this.container.firstChild);var onChangeSelection=this.on("changeSelection",function(){shouldScroll=true});var onBeforeRender=this.renderer.on("beforeRender",function(){shouldScroll&&(rect=self.renderer.container.getBoundingClientRect())});var onAfterRender=this.renderer.on("afterRender",function(){if(shouldScroll&&rect&&(self.isFocused()||self.searchBox&&self.searchBox.isFocused())){var renderer=self.renderer;var pos=renderer.$cursorLayer.$pixelPos;var config=renderer.layerConfig;var top=pos.top-config.offset;shouldScroll=pos.top>=0&&top+rect.top<0||!(pos.top<config.height&&pos.top+rect.top+config.lineHeight>window.innerHeight)&&null;if(null!=shouldScroll){scrollAnchor.style.top=top+"px";scrollAnchor.style.left=pos.left+"px";scrollAnchor.style.height=config.lineHeight+"px";scrollAnchor.scrollIntoView(shouldScroll)}shouldScroll=rect=null}});this.setAutoScrollEditorIntoView=function(enable){if(enable)return;delete this.setAutoScrollEditorIntoView;this.off("changeSelection",onChangeSelection);this.renderer.off("afterRender",onAfterRender);this.renderer.off("beforeRender",onBeforeRender)}};this.$resetCursorStyle=function(){var style=this.$cursorStyle||"ace";var cursorLayer=this.renderer.$cursorLayer;if(!cursorLayer)return;cursorLayer.setSmoothBlinking(/smooth/.test(style));cursorLayer.isBlinking=!this.$readOnly&&"wide"!=style;dom.setCssClass(cursorLayer.element,"ace_slim-cursors",/slim/.test(style))}}).call(Editor.prototype);config.defineOptions(Editor.prototype,"editor",{selectionStyle:{set:function(style){this.onSelectionChange();this._signal("changeSelectionStyle",{data:style})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:true},highlightSelectedWord:{set:function(shouldHighlight){this.$onSelectionChange()},initialValue:true},readOnly:{set:function(readOnly){this.$resetCursorStyle()},initialValue:false},cursorStyle:{set:function(val){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[false,true,"always"],initialValue:true},behavioursEnabled:{initialValue:true},wrapBehavioursEnabled:{initialValue:true},autoScrollEditorIntoView:{set:function(val){this.setAutoScrollEditorIntoView(val)}},keyboardHandler:{set:function(val){this.setKeyboardHandler(val)},get:function(){return this.keybindingId},handlesSet:true},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",showLineNumbers:"renderer",showGutter:"renderer",displayIndentGuides:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});exports.Editor=Editor});ace.define("ace/undomanager",["require","exports","module"],function(acequire,exports,module){"use strict";var UndoManager=function(){this.reset()};(function(){this.execute=function(options){var deltaSets=options.args[0];this.$doc=options.args[1];if(options.merge&&this.hasUndo()){this.dirtyCounter--;deltaSets=this.$undoStack.pop().concat(deltaSets)}this.$undoStack.push(deltaSets);this.$redoStack=[];this.dirtyCounter<0&&(this.dirtyCounter=NaN);this.dirtyCounter++};this.undo=function(dontSelect){var deltaSets=this.$undoStack.pop();var undoSelectionRange=null;if(deltaSets){undoSelectionRange=this.$doc.undoChanges(deltaSets,dontSelect);this.$redoStack.push(deltaSets);this.dirtyCounter--}return undoSelectionRange};this.redo=function(dontSelect){var deltaSets=this.$redoStack.pop();var redoSelectionRange=null;if(deltaSets){redoSelectionRange=this.$doc.redoChanges(this.$deserializeDeltas(deltaSets),dontSelect);this.$undoStack.push(deltaSets);this.dirtyCounter++}return redoSelectionRange};this.reset=function(){this.$undoStack=[];this.$redoStack=[];this.dirtyCounter=0};this.hasUndo=function(){return this.$undoStack.length>0};this.hasRedo=function(){return this.$redoStack.length>0};this.markClean=function(){this.dirtyCounter=0};this.isClean=function(){return 0===this.dirtyCounter};this.$serializeDeltas=function(deltaSets){return cloneDeltaSetsObj(deltaSets,$serializeDelta)};this.$deserializeDeltas=function(deltaSets){return cloneDeltaSetsObj(deltaSets,$deserializeDelta)};function $serializeDelta(delta){return{action:delta.action,start:delta.start,end:delta.end,lines:1==delta.lines.length?null:delta.lines,text:1==delta.lines.length?delta.lines[0]:null}}function $deserializeDelta(delta){return{action:delta.action,start:delta.start,end:delta.end,lines:delta.lines||[delta.text]}}function cloneDeltaSetsObj(deltaSets_old,fnGetModifiedDelta){var deltaSets_new=new Array(deltaSets_old.length);for(var i=0;i<deltaSets_old.length;i++){var deltaSet_old=deltaSets_old[i];var deltaSet_new={group:deltaSet_old.group,deltas:new Array(deltaSet_old.length)};for(var j=0;j<deltaSet_old.deltas.length;j++){var delta_old=deltaSet_old.deltas[j];deltaSet_new.deltas[j]=fnGetModifiedDelta(delta_old)}deltaSets_new[i]=deltaSet_new}return deltaSets_new}}).call(UndoManager.prototype);exports.UndoManager=UndoManager});ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter"],function(acequire,exports,module){"use strict";var dom=acequire("../lib/dom");var oop=acequire("../lib/oop");var lang=acequire("../lib/lang");var EventEmitter=acequire("../lib/event_emitter").EventEmitter;var Gutter=function(parentEl){this.element=dom.createElement("div");this.element.className="ace_layer ace_gutter-layer";parentEl.appendChild(this.element);this.setShowFoldWidgets(this.$showFoldWidgets);this.gutterWidth=0;this.$annotations=[];this.$updateAnnotations=this.$updateAnnotations.bind(this);this.$cells=[]};(function(){oop.implement(this,EventEmitter);this.setSession=function(session){this.session&&this.session.removeEventListener("change",this.$updateAnnotations);this.session=session;session&&session.on("change",this.$updateAnnotations)};this.addGutterDecoration=function(row,className){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration");this.session.addGutterDecoration(row,className)};this.removeGutterDecoration=function(row,className){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration");this.session.removeGutterDecoration(row,className)};this.setAnnotations=function(annotations){this.$annotations=[];for(var i=0;i<annotations.length;i++){var annotation=annotations[i];var row=annotation.row;var rowInfo=this.$annotations[row];rowInfo||(rowInfo=this.$annotations[row]={text:[]});var annoText=annotation.text;annoText=annoText?lang.escapeHTML(annoText):annotation.html||"";-1===rowInfo.text.indexOf(annoText)&&rowInfo.text.push(annoText);var type=annotation.type;"error"==type?rowInfo.className=" ace_error":"warning"==type&&" ace_error"!=rowInfo.className?rowInfo.className=" ace_warning":"info"!=type||rowInfo.className||(rowInfo.className=" ace_info")}};this.$updateAnnotations=function(delta){if(!this.$annotations.length)return;var firstRow=delta.start.row;var len=delta.end.row-firstRow;if(0===len);else if("remove"==delta.action)this.$annotations.splice(firstRow,len+1,null);else{var args=new Array(len+1);args.unshift(firstRow,1);this.$annotations.splice.apply(this.$annotations,args)}};this.update=function(config){var session=this.session;var firstRow=config.firstRow;var lastRow=Math.min(config.lastRow+config.gutterOffset,session.getLength()-1);var fold=session.getNextFoldLine(firstRow);var foldStart=fold?fold.start.row:Infinity;var foldWidgets=this.$showFoldWidgets&&session.foldWidgets;var breakpoints=session.$breakpoints;var decorations=session.$decorations;var firstLineNumber=session.$firstLineNumber;var lastLineNumber=0;var gutterRenderer=session.gutterRenderer||this.$renderer;var cell=null;var index=-1;var row=firstRow;while(true){if(row>foldStart){row=fold.end.row+1;fold=session.getNextFoldLine(row,fold);foldStart=fold?fold.start.row:Infinity}if(row>lastRow){while(this.$cells.length>index+1){cell=this.$cells.pop();this.element.removeChild(cell.element)}break}cell=this.$cells[++index];if(!cell){cell={element:null,textNode:null,foldWidget:null};cell.element=dom.createElement("div");cell.textNode=document.createTextNode("");cell.element.appendChild(cell.textNode);this.element.appendChild(cell.element);this.$cells[index]=cell}var className="ace_gutter-cell ";breakpoints[row]&&(className+=breakpoints[row]);decorations[row]&&(className+=decorations[row]);this.$annotations[row]&&(className+=this.$annotations[row].className);cell.element.className!=className&&(cell.element.className=className);var height=session.getRowLength(row)*config.lineHeight+"px";height!=cell.element.style.height&&(cell.element.style.height=height);if(foldWidgets){var c=foldWidgets[row];null==c&&(c=foldWidgets[row]=session.getFoldWidget(row))}if(c){if(!cell.foldWidget){cell.foldWidget=dom.createElement("span");cell.element.appendChild(cell.foldWidget)}className="ace_fold-widget ace_"+c;"start"==c&&row==foldStart&&row<fold.end.row?className+=" ace_closed":className+=" ace_open";cell.foldWidget.className!=className&&(cell.foldWidget.className=className);height=config.lineHeight+"px";cell.foldWidget.style.height!=height&&(cell.foldWidget.style.height=height)}else if(cell.foldWidget){cell.element.removeChild(cell.foldWidget);cell.foldWidget=null}var text=lastLineNumber=gutterRenderer?gutterRenderer.getText(session,row):row+firstLineNumber;text!==cell.textNode.data&&(cell.textNode.data=text);row++}this.element.style.height=config.minHeight+"px";(this.$fixedWidth||session.$useWrapMode)&&(lastLineNumber=session.getLength()+firstLineNumber);var gutterWidth=gutterRenderer?gutterRenderer.getWidth(session,lastLineNumber,config):lastLineNumber.toString().length*config.characterWidth;var padding=this.$padding||this.$computePadding();gutterWidth+=padding.left+padding.right;if(gutterWidth!==this.gutterWidth&&!isNaN(gutterWidth)){this.gutterWidth=gutterWidth;this.element.style.width=Math.ceil(this.gutterWidth)+"px";this._emit("changeGutterWidth",gutterWidth)}};this.$fixedWidth=false;this.$showLineNumbers=true;this.$renderer="";this.setShowLineNumbers=function(show){this.$renderer=!show&&{getWidth:function(){return""},getText:function(){return""}}};this.getShowLineNumbers=function(){return this.$showLineNumbers};this.$showFoldWidgets=true;this.setShowFoldWidgets=function(show){show?dom.addCssClass(this.element,"ace_folding-enabled"):dom.removeCssClass(this.element,"ace_folding-enabled");this.$showFoldWidgets=show;this.$padding=null};this.getShowFoldWidgets=function(){return this.$showFoldWidgets};this.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var style=dom.computedStyle(this.element.firstChild);this.$padding={};this.$padding.left=parseInt(style.paddingLeft)+1||0;this.$padding.right=parseInt(style.paddingRight)||0;return this.$padding};this.getRegion=function(point){var padding=this.$padding||this.$computePadding();var rect=this.element.getBoundingClientRect();if(point.x<padding.left+rect.left)return"markers";if(this.$showFoldWidgets&&point.x>rect.right-padding.right)return"foldWidgets"}}).call(Gutter.prototype);exports.Gutter=Gutter});ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(acequire,exports,module){"use strict";var Range=acequire("../range").Range;var dom=acequire("../lib/dom");var Marker=function(parentEl){this.element=dom.createElement("div");this.element.className="ace_layer ace_marker-layer";parentEl.appendChild(this.element)};(function(){this.$padding=0;this.setPadding=function(padding){this.$padding=padding};this.setSession=function(session){this.session=session};this.setMarkers=function(markers){this.markers=markers};this.update=function(config){if(!config)return;this.config=config;var html=[];for(var key in this.markers){var marker=this.markers[key];if(!marker.range){marker.update(html,this,this.session,config);continue}var range=marker.range.clipRows(config.firstRow,config.lastRow);if(range.isEmpty())continue;range=range.toScreenRange(this.session);if(marker.renderer){var top=this.$getTop(range.start.row,config);var left=this.$padding+(this.session.$bidiHandler.isBidiRow(range.start.row)?this.session.$bidiHandler.getPosLeft(range.start.column):range.start.column*config.characterWidth);marker.renderer(html,range,left,top,config)}else"fullLine"==marker.type?this.drawFullLineMarker(html,range,marker.clazz,config):"screenLine"==marker.type?this.drawScreenLineMarker(html,range,marker.clazz,config):range.isMultiLine()?"text"==marker.type?this.drawTextMarker(html,range,marker.clazz,config):this.drawMultiLineMarker(html,range,marker.clazz,config):this.session.$bidiHandler.isBidiRow(range.start.row)?this.drawBidiSingleLineMarker(html,range,marker.clazz+" ace_start ace_br15",config):this.drawSingleLineMarker(html,range,marker.clazz+" ace_start ace_br15",config)}this.element.innerHTML=html.join("")};this.$getTop=function(row,layerConfig){return(row-layerConfig.firstRowScreen)*layerConfig.lineHeight};function getBorderClass(tl,tr,br,bl){return(tl?1:0)|(tr?2:0)|(br?4:0)|(bl?8:0)}this.drawTextMarker=function(stringBuilder,range,clazz,layerConfig,extraStyle){var session=this.session;var start=range.start.row;var end=range.end.row;var row=start;var prev=0;var curr=0;var next=session.getScreenLastRowColumn(row);var clazzModified=null;var lineRange=new Range(row,range.start.column,row,curr);for(;row<=end;row++){lineRange.start.row=lineRange.end.row=row;lineRange.start.column=row==start?range.start.column:session.getRowWrapIndent(row);lineRange.end.column=next;prev=curr;curr=next;next=row+1<end?session.getScreenLastRowColumn(row+1):row==end?0:range.end.column;clazzModified=clazz+(row==start?" ace_start":"")+" ace_br"+getBorderClass(row==start||row==start+1&&range.start.column,prev<curr,curr>next,row==end);this.session.$bidiHandler.isBidiRow(row)?this.drawBidiSingleLineMarker(stringBuilder,lineRange,clazzModified,layerConfig,row==end?0:1,extraStyle):this.drawSingleLineMarker(stringBuilder,lineRange,clazzModified,layerConfig,row==end?0:1,extraStyle)}};this.drawMultiLineMarker=function(stringBuilder,range,clazz,config,extraStyle){var padding=this.$padding;var height,top,left;extraStyle=extraStyle||"";if(this.session.$bidiHandler.isBidiRow(range.start.row)){var range1=range.clone();range1.end.row=range1.start.row;range1.end.column=this.session.getLine(range1.start.row).length;this.drawBidiSingleLineMarker(stringBuilder,range1,clazz+" ace_br1 ace_start",config,null,extraStyle)}else{height=config.lineHeight;top=this.$getTop(range.start.row,config);left=padding+range.start.column*config.characterWidth;stringBuilder.push("<div class='",clazz," ace_br1 ace_start' style='","height:",height,"px;","right:0;","top:",top,"px;","left:",left,"px;",extraStyle,"'></div>")}if(this.session.$bidiHandler.isBidiRow(range.end.row)){range1=range.clone();range1.start.row=range1.end.row;range1.start.column=0;this.drawBidiSingleLineMarker(stringBuilder,range1,clazz+" ace_br12",config,null,extraStyle)}else{var width=range.end.column*config.characterWidth;height=config.lineHeight;top=this.$getTop(range.end.row,config);stringBuilder.push("<div class='",clazz," ace_br12' style='","height:",height,"px;","width:",width,"px;","top:",top,"px;","left:",padding,"px;",extraStyle,"'></div>")}height=(range.end.row-range.start.row-1)*config.lineHeight;if(height<=0)return;top=this.$getTop(range.start.row+1,config);var radiusClass=(range.start.column?1:0)|(range.end.column?0:8);stringBuilder.push("<div class='",clazz,radiusClass?" ace_br"+radiusClass:"","' style='","height:",height,"px;","right:0;","top:",top,"px;","left:",padding,"px;",extraStyle,"'></div>")};this.drawSingleLineMarker=function(stringBuilder,range,clazz,config,extraLength,extraStyle){var height=config.lineHeight;var width=(range.end.column+(extraLength||0)-range.start.column)*config.characterWidth;var top=this.$getTop(range.start.row,config);var left=this.$padding+range.start.column*config.characterWidth;stringBuilder.push("<div class='",clazz,"' style='","height:",height,"px;","width:",width,"px;","top:",top,"px;","left:",left,"px;",extraStyle||"","'></div>")};this.drawBidiSingleLineMarker=function(stringBuilder,range,clazz,config,extraLength,extraStyle){var height=config.lineHeight,top=this.$getTop(range.start.row,config),padding=this.$padding;var selections=this.session.$bidiHandler.getSelections(range.start.column,range.end.column);selections.forEach(function(selection){stringBuilder.push("<div class='",clazz,"' style='","height:",height,"px;","width:",selection.width+(extraLength||0),"px;","top:",top,"px;","left:",padding+selection.left,"px;",extraStyle||"","'></div>")})};this.drawFullLineMarker=function(stringBuilder,range,clazz,config,extraStyle){var top=this.$getTop(range.start.row,config);var height=config.lineHeight;range.start.row!=range.end.row&&(height+=this.$getTop(range.end.row,config)-top);stringBuilder.push("<div class='",clazz,"' style='","height:",height,"px;","top:",top,"px;","left:0;right:0;",extraStyle||"","'></div>")};this.drawScreenLineMarker=function(stringBuilder,range,clazz,config,extraStyle){var top=this.$getTop(range.start.row,config);var height=config.lineHeight;stringBuilder.push("<div class='",clazz,"' style='","height:",height,"px;","top:",top,"px;","left:0;right:0;",extraStyle||"","'></div>")}}).call(Marker.prototype);exports.Marker=Marker});ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var dom=acequire("../lib/dom");var lang=acequire("../lib/lang");acequire("../lib/useragent");var EventEmitter=acequire("../lib/event_emitter").EventEmitter;var Text=function(parentEl){this.element=dom.createElement("div");this.element.className="ace_layer ace_text-layer";parentEl.appendChild(this.element);this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){oop.implement(this,EventEmitter);this.EOF_CHAR="¶";this.EOL_CHAR_LF="¬";this.EOL_CHAR_CRLF="¤";this.EOL_CHAR=this.EOL_CHAR_LF;this.TAB_CHAR="—";this.SPACE_CHAR="·";this.$padding=0;this.$updateEolChar=function(){var EOL_CHAR="\n"==this.session.doc.getNewLineCharacter()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=EOL_CHAR){this.EOL_CHAR=EOL_CHAR;return true}};this.setPadding=function(padding){this.$padding=padding;this.element.style.padding="0 "+padding+"px"};this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0};this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0};this.$setFontMetrics=function(measure){this.$fontMetrics=measure;this.$fontMetrics.on("changeCharacterSize",function(e){this._signal("changeCharacterSize",e)}.bind(this));this.$pollSizeChanges()};this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()};this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()};this.setSession=function(session){this.session=session;session&&this.$computeTabString()};this.showInvisibles=false;this.setShowInvisibles=function(showInvisibles){if(this.showInvisibles==showInvisibles)return false;this.showInvisibles=showInvisibles;this.$computeTabString();return true};this.displayIndentGuides=true;this.setDisplayIndentGuides=function(display){if(this.displayIndentGuides==display)return false;this.displayIndentGuides=display;this.$computeTabString();return true};this.$tabStrings=[];this.onChangeTabSize=this.$computeTabString=function(){var tabSize=this.session.getTabSize();this.tabSize=tabSize;var tabStr=this.$tabStrings=[0];for(var i=1;i<tabSize+1;i++)this.showInvisibles?tabStr.push("<span class='ace_invisible ace_invisible_tab'>"+lang.stringRepeat(this.TAB_CHAR,i)+"</span>"):tabStr.push(lang.stringRepeat(" ",i));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var className="ace_indent-guide";var spaceClass="";var tabClass="";if(this.showInvisibles){className+=" ace_invisible";spaceClass=" ace_invisible_space";tabClass=" ace_invisible_tab";var spaceContent=lang.stringRepeat(this.SPACE_CHAR,this.tabSize);var tabContent=lang.stringRepeat(this.TAB_CHAR,this.tabSize)}else{spaceContent=lang.stringRepeat(" ",this.tabSize);tabContent=spaceContent}this.$tabStrings[" "]="<span class='"+className+spaceClass+"'>"+spaceContent+"</span>";this.$tabStrings["\t"]="<span class='"+className+tabClass+"'>"+tabContent+"</span>"}};this.updateLines=function(config,firstRow,lastRow){this.config.lastRow==config.lastRow&&this.config.firstRow==config.firstRow||this.scrollLines(config);this.config=config;var first=Math.max(firstRow,config.firstRow);var last=Math.min(lastRow,config.lastRow);var lineElements=this.element.childNodes;var lineElementsIdx=0;for(var row=config.firstRow;row<first;row++){var foldLine=this.session.getFoldLine(row);if(foldLine){if(foldLine.containsRow(first)){first=foldLine.start.row;break}row=foldLine.end.row}lineElementsIdx++}row=first;foldLine=this.session.getNextFoldLine(row);var foldStart=foldLine?foldLine.start.row:Infinity;while(true){if(row>foldStart){row=foldLine.end.row+1;foldLine=this.session.getNextFoldLine(row,foldLine);foldStart=foldLine?foldLine.start.row:Infinity}if(row>last)break;var lineElement=lineElements[lineElementsIdx++];if(lineElement){var html=[];this.$renderLine(html,row,!this.$useLineGroups(),row==foldStart&&foldLine);lineElement.style.height=config.lineHeight*this.session.getRowLength(row)+"px";lineElement.innerHTML=html.join("")}row++}};this.scrollLines=function(config){var oldConfig=this.config;this.config=config;if(!oldConfig||oldConfig.lastRow<config.firstRow)return this.update(config);if(config.lastRow<oldConfig.firstRow)return this.update(config);var el=this.element;if(oldConfig.firstRow<config.firstRow)for(var row=this.session.getFoldedRowCount(oldConfig.firstRow,config.firstRow-1);row>0;row--)el.removeChild(el.firstChild);if(oldConfig.lastRow>config.lastRow)for(row=this.session.getFoldedRowCount(config.lastRow+1,oldConfig.lastRow);row>0;row--)el.removeChild(el.lastChild);if(config.firstRow<oldConfig.firstRow){var fragment=this.$renderLinesFragment(config,config.firstRow,oldConfig.firstRow-1);el.firstChild?el.insertBefore(fragment,el.firstChild):el.appendChild(fragment)}if(config.lastRow>oldConfig.lastRow){fragment=this.$renderLinesFragment(config,oldConfig.lastRow+1,config.lastRow);el.appendChild(fragment)}};this.$renderLinesFragment=function(config,firstRow,lastRow){var fragment=this.element.ownerDocument.createDocumentFragment();var row=firstRow;var foldLine=this.session.getNextFoldLine(row);var foldStart=foldLine?foldLine.start.row:Infinity;while(true){if(row>foldStart){row=foldLine.end.row+1;foldLine=this.session.getNextFoldLine(row,foldLine);foldStart=foldLine?foldLine.start.row:Infinity}if(row>lastRow)break;var container=dom.createElement("div");var html=[];this.$renderLine(html,row,false,row==foldStart&&foldLine);container.innerHTML=html.join("");if(this.$useLineGroups()){container.className="ace_line_group";fragment.appendChild(container);container.style.height=config.lineHeight*this.session.getRowLength(row)+"px"}else while(container.firstChild)fragment.appendChild(container.firstChild);row++}return fragment};this.update=function(config){this.config=config;var html=[];var firstRow=config.firstRow,lastRow=config.lastRow;var row=firstRow;var foldLine=this.session.getNextFoldLine(row);var foldStart=foldLine?foldLine.start.row:Infinity;while(true){if(row>foldStart){row=foldLine.end.row+1;foldLine=this.session.getNextFoldLine(row,foldLine);foldStart=foldLine?foldLine.start.row:Infinity}if(row>lastRow)break;this.$useLineGroups()&&html.push("<div class='ace_line_group' style='height:",config.lineHeight*this.session.getRowLength(row),"px'>");this.$renderLine(html,row,false,row==foldStart&&foldLine);this.$useLineGroups()&&html.push("</div>");row++}this.element.innerHTML=html.join("")};this.$textToken={text:true,rparen:true,lparen:true};this.$renderToken=function(stringBuilder,screenColumn,token,value){var self=this;var replaceReg=/\t|&|<|>|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\u3000\uFEFF\uFFF9-\uFFFC])|[\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3000-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var replaceFunc=function(c,a,b,tabIdx,idx4){if(a)return self.showInvisibles?"<span class='ace_invisible ace_invisible_space'>"+lang.stringRepeat(self.SPACE_CHAR,c.length)+"</span>":c;if("&"==c)return"&#38;";if("<"==c)return"&#60;";if(">"==c)return"&#62;";if("\t"==c){var tabSize=self.session.getScreenTabSize(screenColumn+tabIdx);screenColumn+=tabSize-1;return self.$tabStrings[tabSize]}if("　"==c){var classToUse=self.showInvisibles?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk";var space=self.showInvisibles?self.SPACE_CHAR:"";screenColumn+=1;return"<span class='"+classToUse+"' style='width:"+2*self.config.characterWidth+"px'>"+space+"</span>"}if(b)return"<span class='ace_invisible ace_invisible_space ace_invalid'>"+self.SPACE_CHAR+"</span>";screenColumn+=1;return"<span class='ace_cjk' style='width:"+2*self.config.characterWidth+"px'>"+c+"</span>"};var output=value.replace(replaceReg,replaceFunc);if(this.$textToken[token.type])stringBuilder.push(output);else{var classes="ace_"+token.type.replace(/\./g," ace_");var style="";"fold"==token.type&&(style=" style='width:"+token.value.length*this.config.characterWidth+"px;' ");stringBuilder.push("<span class='",classes,"'",style,">",output,"</span>")}return screenColumn+value.length};this.renderIndentGuide=function(stringBuilder,value,max){var cols=value.search(this.$indentGuideRe);if(cols<=0||cols>=max)return value;if(" "==value[0]){cols-=cols%this.tabSize;stringBuilder.push(lang.stringRepeat(this.$tabStrings[" "],cols/this.tabSize));return value.substr(cols)}if("\t"==value[0]){stringBuilder.push(lang.stringRepeat(this.$tabStrings["\t"],cols));return value.substr(cols)}return value};this.$renderWrappedLine=function(stringBuilder,tokens,splits,onlyContents){var chars=0;var split=0;var splitChars=splits[0];var screenColumn=0;for(var i=0;i<tokens.length;i++){var token=tokens[i];var value=token.value;if(0==i&&this.displayIndentGuides){chars=value.length;value=this.renderIndentGuide(stringBuilder,value,splitChars);if(!value)continue;chars-=value.length}if(chars+value.length<splitChars){screenColumn=this.$renderToken(stringBuilder,screenColumn,token,value);chars+=value.length}else{while(chars+value.length>=splitChars){screenColumn=this.$renderToken(stringBuilder,screenColumn,token,value.substring(0,splitChars-chars));value=value.substring(splitChars-chars);chars=splitChars;onlyContents||stringBuilder.push("</div>","<div class='ace_line' style='height:",this.config.lineHeight,"px'>");stringBuilder.push(lang.stringRepeat(" ",splits.indent));split++;screenColumn=0;splitChars=splits[split]||Number.MAX_VALUE}if(0!=value.length){chars+=value.length;screenColumn=this.$renderToken(stringBuilder,screenColumn,token,value)}}}};this.$renderSimpleLine=function(stringBuilder,tokens){var screenColumn=0;var token=tokens[0];var value=token.value;this.displayIndentGuides&&(value=this.renderIndentGuide(stringBuilder,value));value&&(screenColumn=this.$renderToken(stringBuilder,screenColumn,token,value));for(var i=1;i<tokens.length;i++){token=tokens[i];value=token.value;screenColumn=this.$renderToken(stringBuilder,screenColumn,token,value)}};this.$renderLine=function(stringBuilder,row,onlyContents,foldLine){foldLine||false==foldLine||(foldLine=this.session.getFoldLine(row));if(foldLine)var tokens=this.$getFoldLineTokens(row,foldLine);else tokens=this.session.getTokens(row);onlyContents||stringBuilder.push("<div class='ace_line' style='height:",this.config.lineHeight*(this.$useLineGroups()?1:this.session.getRowLength(row)),"px'>");if(tokens.length){var splits=this.session.getRowSplitData(row);splits&&splits.length?this.$renderWrappedLine(stringBuilder,tokens,splits,onlyContents):this.$renderSimpleLine(stringBuilder,tokens)}if(this.showInvisibles){foldLine&&(row=foldLine.end.row);stringBuilder.push("<span class='ace_invisible ace_invisible_eol'>",row==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,"</span>")}onlyContents||stringBuilder.push("</div>")};this.$getFoldLineTokens=function(row,foldLine){var session=this.session;var renderTokens=[];function addTokens(tokens,from,to){var idx=0,col=0;while(col+tokens[idx].value.length<from){col+=tokens[idx].value.length;idx++;if(idx==tokens.length)return}if(col!=from){var value=tokens[idx].value.substring(from-col);value.length>to-from&&(value=value.substring(0,to-from));renderTokens.push({type:tokens[idx].type,value:value});col=from+value.length;idx+=1}while(col<to&&idx<tokens.length){value=tokens[idx].value;value.length+col>to?renderTokens.push({type:tokens[idx].type,value:value.substring(0,to-col)}):renderTokens.push(tokens[idx]);col+=value.length;idx+=1}}var tokens=session.getTokens(row);foldLine.walk(function(placeholder,row,column,lastColumn,isNewRow){if(null!=placeholder)renderTokens.push({type:"fold",value:placeholder});else{isNewRow&&(tokens=session.getTokens(row));tokens.length&&addTokens(tokens,lastColumn,column)}},foldLine.end.row,this.session.getLine(foldLine.end.row).length);return renderTokens};this.$useLineGroups=function(){return this.session.getUseWrapMode()};this.destroy=function(){clearInterval(this.$pollSizeChangesTimer);this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode);delete this.$measureNode}}).call(Text.prototype);exports.Text=Text});ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(acequire,exports,module){"use strict";var dom=acequire("../lib/dom");var isIE8;var Cursor=function(parentEl){this.element=dom.createElement("div");this.element.className="ace_layer ace_cursor-layer";parentEl.appendChild(this.element);void 0===isIE8&&(isIE8=!("opacity"in this.element.style));this.isVisible=false;this.isBlinking=true;this.blinkInterval=1e3;this.smoothBlinking=false;this.cursors=[];this.cursor=this.addCursor();dom.addCssClass(this.element,"ace_hidden-cursors");this.$updateCursors=(isIE8?this.$updateVisibility:this.$updateOpacity).bind(this)};(function(){this.$updateVisibility=function(val){var cursors=this.cursors;for(var i=cursors.length;i--;)cursors[i].style.visibility=val?"":"hidden"};this.$updateOpacity=function(val){var cursors=this.cursors;for(var i=cursors.length;i--;)cursors[i].style.opacity=val?"":"0"};this.$padding=0;this.setPadding=function(padding){this.$padding=padding};this.setSession=function(session){this.session=session};this.setBlinking=function(blinking){if(blinking!=this.isBlinking){this.isBlinking=blinking;this.restartTimer()}};this.setBlinkInterval=function(blinkInterval){if(blinkInterval!=this.blinkInterval){this.blinkInterval=blinkInterval;this.restartTimer()}};this.setSmoothBlinking=function(smoothBlinking){if(smoothBlinking!=this.smoothBlinking&&!isIE8){this.smoothBlinking=smoothBlinking;dom.setCssClass(this.element,"ace_smooth-blinking",smoothBlinking);this.$updateCursors(true);this.$updateCursors=this.$updateOpacity.bind(this);this.restartTimer()}};this.addCursor=function(){var el=dom.createElement("div");el.className="ace_cursor";this.element.appendChild(el);this.cursors.push(el);return el};this.removeCursor=function(){if(this.cursors.length>1){var el=this.cursors.pop();el.parentNode.removeChild(el);return el}};this.hideCursor=function(){this.isVisible=false;dom.addCssClass(this.element,"ace_hidden-cursors");this.restartTimer()};this.showCursor=function(){this.isVisible=true;dom.removeCssClass(this.element,"ace_hidden-cursors");this.restartTimer()};this.restartTimer=function(){var update=this.$updateCursors;clearInterval(this.intervalId);clearTimeout(this.timeoutId);this.smoothBlinking&&dom.removeCssClass(this.element,"ace_smooth-blinking");update(true);if(!this.isBlinking||!this.blinkInterval||!this.isVisible)return;this.smoothBlinking&&setTimeout(function(){dom.addCssClass(this.element,"ace_smooth-blinking")}.bind(this));var blink=function(){this.timeoutId=setTimeout(function(){update(false)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){update(true);blink()},this.blinkInterval);blink()};this.getPixelPosition=function(position,onScreen){if(!this.config||!this.session)return{left:0,top:0};position||(position=this.session.selection.getCursor());var pos=this.session.documentToScreenPosition(position);var cursorLeft=this.$padding+(this.session.$bidiHandler.isBidiRow(pos.row,position.row)?this.session.$bidiHandler.getPosLeft(pos.column):pos.column*this.config.characterWidth);var cursorTop=(pos.row-(onScreen?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:cursorLeft,top:cursorTop}};this.update=function(config){this.config=config;var selections=this.session.$selectionMarkers;var i=0,cursorIndex=0;void 0!==selections&&0!==selections.length||(selections=[{cursor:null}]);i=0;for(var n=selections.length;i<n;i++){var pixelPos=this.getPixelPosition(selections[i].cursor,true);if((pixelPos.top>config.height+config.offset||pixelPos.top<0)&&i>1)continue;var style=(this.cursors[cursorIndex++]||this.addCursor()).style;if(this.drawCursor)this.drawCursor(style,pixelPos,config,selections[i],this.session);else{style.left=pixelPos.left+"px";style.top=pixelPos.top+"px";style.width=config.characterWidth+"px";style.height=config.lineHeight+"px"}}while(this.cursors.length>cursorIndex)this.removeCursor();var overwrite=this.session.getOverwrite();this.$setOverwrite(overwrite);this.$pixelPos=pixelPos;this.restartTimer()};this.drawCursor=null;this.$setOverwrite=function(overwrite){if(overwrite!=this.overwrite){this.overwrite=overwrite;overwrite?dom.addCssClass(this.element,"ace_overwrite-cursors"):dom.removeCssClass(this.element,"ace_overwrite-cursors")}};this.destroy=function(){clearInterval(this.intervalId);clearTimeout(this.timeoutId)}}).call(Cursor.prototype);exports.Cursor=Cursor});ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(acequire,exports,module){"use strict";var oop=acequire("./lib/oop");var dom=acequire("./lib/dom");var event=acequire("./lib/event");var EventEmitter=acequire("./lib/event_emitter").EventEmitter;var MAX_SCROLL_H=32768;var ScrollBar=function(parent){this.element=dom.createElement("div");this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix;this.inner=dom.createElement("div");this.inner.className="ace_scrollbar-inner";this.element.appendChild(this.inner);parent.appendChild(this.element);this.setVisible(false);this.skipEvent=false;event.addListener(this.element,"scroll",this.onScroll.bind(this));event.addListener(this.element,"mousedown",event.preventDefault)};(function(){oop.implement(this,EventEmitter);this.setVisible=function(isVisible){this.element.style.display=isVisible?"":"none";this.isVisible=isVisible;this.coeff=1}}).call(ScrollBar.prototype);var VScrollBar=function(parent,renderer){ScrollBar.call(this,parent);this.scrollTop=0;this.scrollHeight=0;renderer.$scrollbarWidth=this.width=dom.scrollbarWidth(parent.ownerDocument);this.inner.style.width=this.element.style.width=(this.width||15)+5+"px";this.$minWidth=0};oop.inherits(VScrollBar,ScrollBar);(function(){this.classSuffix="-v";this.onScroll=function(){if(!this.skipEvent){this.scrollTop=this.element.scrollTop;if(1!=this.coeff){var h=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-h)/(this.coeff-h)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=false};this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)};this.setHeight=function(height){this.element.style.height=height+"px"};this.setInnerHeight=this.setScrollHeight=function(height){this.scrollHeight=height;if(height>MAX_SCROLL_H){this.coeff=MAX_SCROLL_H/height;height=MAX_SCROLL_H}else 1!=this.coeff&&(this.coeff=1);this.inner.style.height=height+"px"};this.setScrollTop=function(scrollTop){if(this.scrollTop!=scrollTop){this.skipEvent=true;this.scrollTop=scrollTop;this.element.scrollTop=scrollTop*this.coeff}}}).call(VScrollBar.prototype);var HScrollBar=function(parent,renderer){ScrollBar.call(this,parent);this.scrollLeft=0;this.height=renderer.$scrollbarWidth;this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};oop.inherits(HScrollBar,ScrollBar);(function(){this.classSuffix="-h";this.onScroll=function(){if(!this.skipEvent){this.scrollLeft=this.element.scrollLeft;this._emit("scroll",{data:this.scrollLeft})}this.skipEvent=false};this.getHeight=function(){return this.isVisible?this.height:0};this.setWidth=function(width){this.element.style.width=width+"px"};this.setInnerWidth=function(width){this.inner.style.width=width+"px"};this.setScrollWidth=function(width){this.inner.style.width=width+"px"};this.setScrollLeft=function(scrollLeft){if(this.scrollLeft!=scrollLeft){this.skipEvent=true;this.scrollLeft=this.element.scrollLeft=scrollLeft}}}).call(HScrollBar.prototype);exports.ScrollBar=VScrollBar;exports.ScrollBarV=VScrollBar;exports.ScrollBarH=HScrollBar;exports.VScrollBar=VScrollBar;exports.HScrollBar=HScrollBar});ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(acequire,exports,module){"use strict";var event=acequire("./lib/event");var RenderLoop=function(onRender,win){this.onRender=onRender;this.pending=false;this.changes=0;this.window=win||window};(function(){this.schedule=function(change){this.changes=this.changes|change;if(!this.pending&&this.changes){this.pending=true;var _self=this;event.nextFrame(function(){_self.pending=false;var changes;while(changes=_self.changes){_self.changes=0;_self.onRender(changes)}},this.window)}}}).call(RenderLoop.prototype);exports.RenderLoop=RenderLoop});ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(acequire,exports,module){var oop=acequire("../lib/oop");var dom=acequire("../lib/dom");var lang=acequire("../lib/lang");var useragent=acequire("../lib/useragent");var EventEmitter=acequire("../lib/event_emitter").EventEmitter;var CHAR_COUNT=0;var FontMetrics=exports.FontMetrics=function(parentEl){this.el=dom.createElement("div");this.$setMeasureNodeStyles(this.el.style,true);this.$main=dom.createElement("div");this.$setMeasureNodeStyles(this.$main.style);this.$measureNode=dom.createElement("div");this.$setMeasureNodeStyles(this.$measureNode.style);this.el.appendChild(this.$main);this.el.appendChild(this.$measureNode);parentEl.appendChild(this.el);CHAR_COUNT||this.$testFractionalRect();this.$measureNode.innerHTML=lang.stringRepeat("X",CHAR_COUNT);this.$characterSize={width:0,height:0};this.checkForSizeChanges()};(function(){oop.implement(this,EventEmitter);this.$characterSize={width:0,height:0};this.$testFractionalRect=function(){var el=dom.createElement("div");this.$setMeasureNodeStyles(el.style);el.style.width="0.2px";document.documentElement.appendChild(el);var w=el.getBoundingClientRect().width;CHAR_COUNT=w>0&&w<1?50:100;el.parentNode.removeChild(el)};this.$setMeasureNodeStyles=function(style,isRoot){style.width=style.height="auto";style.left=style.top="0px";style.visibility="hidden";style.position="absolute";style.whiteSpace="pre";useragent.isIE<8?style["font-family"]="inherit":style.font="inherit";style.overflow=isRoot?"hidden":"visible"};this.checkForSizeChanges=function(){var size=this.$measureSizes();if(size&&(this.$characterSize.width!==size.width||this.$characterSize.height!==size.height)){this.$measureNode.style.fontWeight="bold";var boldSize=this.$measureSizes();this.$measureNode.style.fontWeight="";this.$characterSize=size;this.charSizes=Object.create(null);this.allowBoldFonts=boldSize&&boldSize.width===size.width&&boldSize.height===size.height;this._emit("changeCharacterSize",{data:size})}};this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var self=this;return this.$pollSizeChangesTimer=setInterval(function(){self.checkForSizeChanges()},500)};this.setPolling=function(val){if(val)this.$pollSizeChanges();else if(this.$pollSizeChangesTimer){clearInterval(this.$pollSizeChangesTimer);this.$pollSizeChangesTimer=0}};this.$measureSizes=function(){if(50===CHAR_COUNT){var rect=null;try{rect=this.$measureNode.getBoundingClientRect()}catch(e){rect={width:0,height:0}}var size={height:rect.height,width:rect.width/CHAR_COUNT}}else size={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/CHAR_COUNT};if(0===size.width||0===size.height)return null;return size};this.$measureCharWidth=function(ch){this.$main.innerHTML=lang.stringRepeat(ch,CHAR_COUNT);var rect=this.$main.getBoundingClientRect();return rect.width/CHAR_COUNT};this.getCharacterWidth=function(ch){var w=this.charSizes[ch];void 0===w&&(w=this.charSizes[ch]=this.$measureCharWidth(ch)/this.$characterSize.width);return w};this.destroy=function(){clearInterval(this.$pollSizeChangesTimer);this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(FontMetrics.prototype)});ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/lib/useragent","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter"],function(acequire,exports,module){"use strict";var oop=acequire("./lib/oop");var dom=acequire("./lib/dom");var config=acequire("./config");var useragent=acequire("./lib/useragent");var GutterLayer=acequire("./layer/gutter").Gutter;var MarkerLayer=acequire("./layer/marker").Marker;var TextLayer=acequire("./layer/text").Text;var CursorLayer=acequire("./layer/cursor").Cursor;var HScrollBar=acequire("./scrollbar").HScrollBar;var VScrollBar=acequire("./scrollbar").VScrollBar;var RenderLoop=acequire("./renderloop").RenderLoop;var FontMetrics=acequire("./layer/font_metrics").FontMetrics;var EventEmitter=acequire("./lib/event_emitter").EventEmitter;var editorCss='.ace_editor {position: relative;overflow: hidden;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;text-align: left;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;min-width: 100%;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: \'\';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: inherit;color: inherit;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-webkit-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block;   }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-webkit-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-webkit-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_br1 {border-top-left-radius    : 3px;}.ace_br2 {border-top-right-radius   : 3px;}.ace_br3 {border-top-left-radius    : 3px; border-top-right-radius:    3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius    : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius   : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius    : 3px; border-top-right-radius:    3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius    : 3px; border-bottom-left-radius:  3px;}.ace_br10{border-top-right-radius   : 3px; border-bottom-left-radius:  3px;}.ace_br11{border-top-left-radius    : 3px; border-top-right-radius:    3px; border-bottom-left-radius:  3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius:  3px;}.ace_br13{border-top-left-radius    : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius:  3px;}.ace_br14{border-top-right-radius   : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius:  3px;}.ace_br15{border-top-left-radius    : 3px; border-top-right-radius:    3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_text-input-ios {position: absolute !important;top: -100000px !important;left: -100000px !important;}';dom.importCssString(editorCss,"ace_editor.css");var VirtualRenderer=function(container,theme){var _self=this;this.container=container||dom.createElement("div");this.$keepTextAreaAtCursor=!useragent.isOldIE;dom.addCssClass(this.container,"ace_editor");this.setTheme(theme);this.$gutter=dom.createElement("div");this.$gutter.className="ace_gutter";this.container.appendChild(this.$gutter);this.$gutter.setAttribute("aria-hidden",true);this.scroller=dom.createElement("div");this.scroller.className="ace_scroller";this.container.appendChild(this.scroller);this.content=dom.createElement("div");this.content.className="ace_content";this.scroller.appendChild(this.content);this.$gutterLayer=new GutterLayer(this.$gutter);this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this));this.$markerBack=new MarkerLayer(this.content);var textLayer=this.$textLayer=new TextLayer(this.content);this.canvas=textLayer.element;this.$markerFront=new MarkerLayer(this.content);this.$cursorLayer=new CursorLayer(this.content);this.$horizScroll=false;this.$vScroll=false;this.scrollBar=this.scrollBarV=new VScrollBar(this.container,this);this.scrollBarH=new HScrollBar(this.container,this);this.scrollBarV.addEventListener("scroll",function(e){_self.$scrollAnimation||_self.session.setScrollTop(e.data-_self.scrollMargin.top)});this.scrollBarH.addEventListener("scroll",function(e){_self.$scrollAnimation||_self.session.setScrollLeft(e.data-_self.scrollMargin.left)});this.scrollTop=0;this.scrollLeft=0;this.cursorPos={row:0,column:0};this.$fontMetrics=new FontMetrics(this.container);this.$textLayer.$setFontMetrics(this.$fontMetrics);this.$textLayer.addEventListener("changeCharacterSize",function(e){_self.updateCharacterSize();_self.onResize(true,_self.gutterWidth,_self.$size.width,_self.$size.height);_self._signal("changeCharacterSize",e)});this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:true};this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1};this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0};this.$loop=new RenderLoop(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView);this.$loop.schedule(this.CHANGE_FULL);this.updateCharacterSize();this.setPadding(4);config.resetOptions(this);config._emit("renderer",this)};(function(){this.CHANGE_CURSOR=1;this.CHANGE_MARKER=2;this.CHANGE_GUTTER=4;this.CHANGE_SCROLL=8;this.CHANGE_LINES=16;this.CHANGE_TEXT=32;this.CHANGE_SIZE=64;this.CHANGE_MARKER_BACK=128;this.CHANGE_MARKER_FRONT=256;this.CHANGE_FULL=512;this.CHANGE_H_SCROLL=1024;oop.implement(this,EventEmitter);this.updateCharacterSize=function(){if(this.$textLayer.allowBoldFonts!=this.$allowBoldFonts){this.$allowBoldFonts=this.$textLayer.allowBoldFonts;this.setStyle("ace_nobold",!this.$allowBoldFonts)}this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth();this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight();this.$updatePrintMargin()};this.setSession=function(session){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode);this.session=session;session&&this.scrollMargin.top&&session.getScrollTop()<=0&&session.setScrollTop(-this.scrollMargin.top);this.$cursorLayer.setSession(session);this.$markerBack.setSession(session);this.$markerFront.setSession(session);this.$gutterLayer.setSession(session);this.$textLayer.setSession(session);if(!session)return;this.$loop.schedule(this.CHANGE_FULL);this.session.$setFontMetrics(this.$fontMetrics);this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null;this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this);this.onChangeNewLineMode();this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode)};this.updateLines=function(firstRow,lastRow,force){void 0===lastRow&&(lastRow=Infinity);if(this.$changedLines){this.$changedLines.firstRow>firstRow&&(this.$changedLines.firstRow=firstRow);this.$changedLines.lastRow<lastRow&&(this.$changedLines.lastRow=lastRow)}else this.$changedLines={firstRow:firstRow,lastRow:lastRow};if(this.$changedLines.lastRow<this.layerConfig.firstRow){if(!force)return;this.$changedLines.lastRow=this.layerConfig.lastRow}if(this.$changedLines.firstRow>this.layerConfig.lastRow)return;this.$loop.schedule(this.CHANGE_LINES)};this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT);this.$textLayer.$updateEolChar();this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)};this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER);this.$textLayer.onChangeTabSize()};this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)};this.updateFull=function(force){force?this.$renderChanges(this.CHANGE_FULL,true):this.$loop.schedule(this.CHANGE_FULL)};this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()};this.$changes=0;this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=true:this.onResize()};this.onResize=function(force,gutterWidth,width,height){if(this.resizing>2)return;this.resizing>0?this.resizing++:this.resizing=force?1:0;var el=this.container;height||(height=el.clientHeight||el.scrollHeight);width||(width=el.clientWidth||el.scrollWidth);var changes=this.$updateCachedSize(force,gutterWidth,width,height);if(!this.$size.scrollerHeight||!width&&!height)return this.resizing=0;force&&(this.$gutterLayer.$padding=null);force?this.$renderChanges(changes|this.$changes,true):this.$loop.schedule(changes|this.$changes);this.resizing&&(this.resizing=0);this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null};this.$updateCachedSize=function(force,gutterWidth,width,height){height-=this.$extraHeight||0;var changes=0;var size=this.$size;var oldSize={width:size.width,height:size.height,scrollerHeight:size.scrollerHeight,scrollerWidth:size.scrollerWidth};if(height&&(force||size.height!=height)){size.height=height;changes|=this.CHANGE_SIZE;size.scrollerHeight=size.height;this.$horizScroll&&(size.scrollerHeight-=this.scrollBarH.getHeight());this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px";changes|=this.CHANGE_SCROLL}if(width&&(force||size.width!=width)){changes|=this.CHANGE_SIZE;size.width=width;null==gutterWidth&&(gutterWidth=this.$showGutter?this.$gutter.offsetWidth:0);this.gutterWidth=gutterWidth;this.scrollBarH.element.style.left=this.scroller.style.left=gutterWidth+"px";size.scrollerWidth=Math.max(0,width-gutterWidth-this.scrollBarV.getWidth());this.scrollBarH.element.style.right=this.scroller.style.right=this.scrollBarV.getWidth()+"px";this.scroller.style.bottom=this.scrollBarH.getHeight()+"px";(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||force)&&(changes|=this.CHANGE_FULL)}size.$dirty=!width||!height;changes&&this._signal("resize",oldSize);return changes};this.onGutterResize=function(){var gutterWidth=this.$showGutter?this.$gutter.offsetWidth:0;gutterWidth!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(true,gutterWidth,this.$size.width,this.$size.height));if(this.session.getUseWrapMode()&&this.adjustWrapLimit())this.$loop.schedule(this.CHANGE_FULL);else if(this.$size.$dirty)this.$loop.schedule(this.CHANGE_FULL);else{this.$computeLayerConfig();this.$loop.schedule(this.CHANGE_MARKER)}};this.adjustWrapLimit=function(){var availableWidth=this.$size.scrollerWidth-2*this.$padding;var limit=Math.floor(availableWidth/this.characterWidth);return this.session.adjustWrapLimit(limit,this.$showPrintMargin&&this.$printMarginColumn)};this.setAnimatedScroll=function(shouldAnimate){this.setOption("animatedScroll",shouldAnimate)};this.getAnimatedScroll=function(){return this.$animatedScroll};this.setShowInvisibles=function(showInvisibles){this.setOption("showInvisibles",showInvisibles);this.session.$bidiHandler.setShowInvisibles(showInvisibles)};this.getShowInvisibles=function(){return this.getOption("showInvisibles")};this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")};this.setDisplayIndentGuides=function(display){this.setOption("displayIndentGuides",display)};this.setShowPrintMargin=function(showPrintMargin){this.setOption("showPrintMargin",showPrintMargin)};this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")};this.setPrintMarginColumn=function(showPrintMargin){this.setOption("printMarginColumn",showPrintMargin)};this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")};this.getShowGutter=function(){return this.getOption("showGutter")};this.setShowGutter=function(show){return this.setOption("showGutter",show)};this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")};this.setFadeFoldWidgets=function(show){this.setOption("fadeFoldWidgets",show)};this.setHighlightGutterLine=function(shouldHighlight){this.setOption("highlightGutterLine",shouldHighlight)};this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")};this.$updateGutterLineHighlight=function(){var pos=this.$cursorLayer.$pixelPos;var height=this.layerConfig.lineHeight;if(this.session.getUseWrapMode()){var cursor=this.session.selection.getCursor();cursor.column=0;pos=this.$cursorLayer.getPixelPosition(cursor,true);height*=this.session.getRowLength(cursor.row)}this.$gutterLineHighlight.style.top=pos.top-this.layerConfig.offset+"px";this.$gutterLineHighlight.style.height=height+"px"};this.$updatePrintMargin=function(){if(!this.$showPrintMargin&&!this.$printMarginEl)return;if(!this.$printMarginEl){var containerEl=dom.createElement("div");containerEl.className="ace_layer ace_print-margin-layer";this.$printMarginEl=dom.createElement("div");this.$printMarginEl.className="ace_print-margin";containerEl.appendChild(this.$printMarginEl);this.content.insertBefore(containerEl,this.content.firstChild)}var style=this.$printMarginEl.style;style.left=this.characterWidth*this.$printMarginColumn+this.$padding+"px";style.visibility=this.$showPrintMargin?"visible":"hidden";this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()};this.getContainerElement=function(){return this.container};this.getMouseEventTarget=function(){return this.scroller};this.getTextAreaContainer=function(){return this.container};this.$moveTextAreaToCursor=function(){if(!this.$keepTextAreaAtCursor)return;var config=this.layerConfig;var posTop=this.$cursorLayer.$pixelPos.top;var posLeft=this.$cursorLayer.$pixelPos.left;posTop-=config.offset;var style=this.textarea.style;var h=this.lineHeight;if(posTop<0||posTop>config.height-h){style.top=style.left="0";return}var w=this.characterWidth;if(this.$composition){var val=this.textarea.value.replace(/^\x01+/,"");w*=this.session.$getStringScreenWidth(val)[0]+2;h+=2}posLeft-=this.scrollLeft;posLeft>this.$size.scrollerWidth-w&&(posLeft=this.$size.scrollerWidth-w);posLeft+=this.gutterWidth;style.height=h+"px";style.width=w+"px";style.left=Math.min(posLeft,this.$size.scrollerWidth-w)+"px";style.top=Math.min(posTop,this.$size.height-h)+"px"};this.getFirstVisibleRow=function(){return this.layerConfig.firstRow};this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)};this.getLastFullyVisibleRow=function(){var config=this.layerConfig;var lastRow=config.lastRow;var top=this.session.documentToScreenRow(lastRow,0)*config.lineHeight;if(top-this.session.getScrollTop()>config.height-config.lineHeight)return lastRow-1;return lastRow};this.getLastVisibleRow=function(){return this.layerConfig.lastRow};this.$padding=null;this.setPadding=function(padding){this.$padding=padding;this.$textLayer.setPadding(padding);this.$cursorLayer.setPadding(padding);this.$markerFront.setPadding(padding);this.$markerBack.setPadding(padding);this.$loop.schedule(this.CHANGE_FULL);this.$updatePrintMargin()};this.setScrollMargin=function(top,bottom,left,right){var sm=this.scrollMargin;sm.top=0|top;sm.bottom=0|bottom;sm.right=0|right;sm.left=0|left;sm.v=sm.top+sm.bottom;sm.h=sm.left+sm.right;sm.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-sm.top);this.updateFull()};this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible};this.setHScrollBarAlwaysVisible=function(alwaysVisible){this.setOption("hScrollBarAlwaysVisible",alwaysVisible)};this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible};this.setVScrollBarAlwaysVisible=function(alwaysVisible){this.setOption("vScrollBarAlwaysVisible",alwaysVisible)};this.$updateScrollBarV=function(){var scrollHeight=this.layerConfig.maxHeight;var scrollerHeight=this.$size.scrollerHeight;if(!this.$maxLines&&this.$scrollPastEnd){scrollHeight-=(scrollerHeight-this.lineHeight)*this.$scrollPastEnd;if(this.scrollTop>scrollHeight-scrollerHeight){scrollHeight=this.scrollTop+scrollerHeight;this.scrollBarV.scrollTop=null}}this.scrollBarV.setScrollHeight(scrollHeight+this.scrollMargin.v);this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)};this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h);this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)};this.$frozen=false;this.freeze=function(){this.$frozen=true};this.unfreeze=function(){this.$frozen=false};this.$renderChanges=function(changes,force){if(this.$changes){changes|=this.$changes;this.$changes=0}if(!this.session||!this.container.offsetWidth||this.$frozen||!changes&&!force){this.$changes|=changes;return}if(this.$size.$dirty){this.$changes|=changes;return this.onResize(true)}this.lineHeight||this.$textLayer.checkForSizeChanges();this._signal("beforeRender");this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var config=this.layerConfig;if(changes&this.CHANGE_FULL||changes&this.CHANGE_SIZE||changes&this.CHANGE_TEXT||changes&this.CHANGE_LINES||changes&this.CHANGE_SCROLL||changes&this.CHANGE_H_SCROLL){changes|=this.$computeLayerConfig();if(config.firstRow!=this.layerConfig.firstRow&&config.firstRowScreen==this.layerConfig.firstRowScreen){var st=this.scrollTop+(config.firstRow-this.layerConfig.firstRow)*this.lineHeight;if(st>0){this.scrollTop=st;changes|=this.CHANGE_SCROLL;changes|=this.$computeLayerConfig()}}config=this.layerConfig;this.$updateScrollBarV();changes&this.CHANGE_H_SCROLL&&this.$updateScrollBarH();this.$gutterLayer.element.style.marginTop=-config.offset+"px";this.content.style.marginTop=-config.offset+"px";this.content.style.width=config.width+2*this.$padding+"px";this.content.style.height=config.minHeight+"px"}if(changes&this.CHANGE_H_SCROLL){this.content.style.marginLeft=-this.scrollLeft+"px";this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"}if(changes&this.CHANGE_FULL){this.$textLayer.update(config);this.$showGutter&&this.$gutterLayer.update(config);this.$markerBack.update(config);this.$markerFront.update(config);this.$cursorLayer.update(config);this.$moveTextAreaToCursor();this.$highlightGutterLine&&this.$updateGutterLineHighlight();this._signal("afterRender");return}if(changes&this.CHANGE_SCROLL){changes&this.CHANGE_TEXT||changes&this.CHANGE_LINES?this.$textLayer.update(config):this.$textLayer.scrollLines(config);this.$showGutter&&this.$gutterLayer.update(config);this.$markerBack.update(config);this.$markerFront.update(config);this.$cursorLayer.update(config);this.$highlightGutterLine&&this.$updateGutterLineHighlight();this.$moveTextAreaToCursor();this._signal("afterRender");return}if(changes&this.CHANGE_TEXT){this.$textLayer.update(config);this.$showGutter&&this.$gutterLayer.update(config)}else changes&this.CHANGE_LINES?(this.$updateLines()||changes&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(config):(changes&this.CHANGE_TEXT||changes&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(config);if(changes&this.CHANGE_CURSOR){this.$cursorLayer.update(config);this.$moveTextAreaToCursor();this.$highlightGutterLine&&this.$updateGutterLineHighlight()}changes&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(config);changes&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(config);this._signal("afterRender")};this.$autosize=function(){var height=this.session.getScreenLength()*this.lineHeight;var maxHeight=this.$maxLines*this.lineHeight;var desiredHeight=Math.min(maxHeight,Math.max((this.$minLines||1)*this.lineHeight,height))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(desiredHeight+=this.scrollBarH.getHeight());this.$maxPixelHeight&&desiredHeight>this.$maxPixelHeight&&(desiredHeight=this.$maxPixelHeight);var vScroll=height>maxHeight;if(desiredHeight!=this.desiredHeight||this.$size.height!=this.desiredHeight||vScroll!=this.$vScroll){if(vScroll!=this.$vScroll){this.$vScroll=vScroll;this.scrollBarV.setVisible(vScroll)}var w=this.container.clientWidth;this.container.style.height=desiredHeight+"px";this.$updateCachedSize(true,this.$gutterWidth,w,desiredHeight);this.desiredHeight=desiredHeight;this._signal("autosize")}};this.$computeLayerConfig=function(){var session=this.session;var size=this.$size;var hideScrollbars=size.height<=2*this.lineHeight;var screenLines=this.session.getScreenLength();var maxHeight=screenLines*this.lineHeight;var longestLine=this.$getLongestLine();var horizScroll=!hideScrollbars&&(this.$hScrollBarAlwaysVisible||size.scrollerWidth-longestLine-2*this.$padding<0);var hScrollChanged=this.$horizScroll!==horizScroll;if(hScrollChanged){this.$horizScroll=horizScroll;this.scrollBarH.setVisible(horizScroll)}var vScrollBefore=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var offset=this.scrollTop%this.lineHeight;var minHeight=size.scrollerHeight+this.lineHeight;var scrollPastEnd=!this.$maxLines&&this.$scrollPastEnd?(size.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;maxHeight+=scrollPastEnd;var sm=this.scrollMargin;this.session.setScrollTop(Math.max(-sm.top,Math.min(this.scrollTop,maxHeight-size.scrollerHeight+sm.bottom)));this.session.setScrollLeft(Math.max(-sm.left,Math.min(this.scrollLeft,longestLine+2*this.$padding-size.scrollerWidth+sm.right)));var vScroll=!hideScrollbars&&(this.$vScrollBarAlwaysVisible||size.scrollerHeight-maxHeight+scrollPastEnd<0||this.scrollTop>sm.top);var vScrollChanged=vScrollBefore!==vScroll;if(vScrollChanged){this.$vScroll=vScroll;this.scrollBarV.setVisible(vScroll)}var lineCount=Math.ceil(minHeight/this.lineHeight)-1;var firstRow=Math.max(0,Math.round((this.scrollTop-offset)/this.lineHeight));var lastRow=firstRow+lineCount;var firstRowScreen,firstRowHeight;var lineHeight=this.lineHeight;firstRow=session.screenToDocumentRow(firstRow,0);var foldLine=session.getFoldLine(firstRow);foldLine&&(firstRow=foldLine.start.row);firstRowScreen=session.documentToScreenRow(firstRow,0);firstRowHeight=session.getRowLength(firstRow)*lineHeight;lastRow=Math.min(session.screenToDocumentRow(lastRow,0),session.getLength()-1);minHeight=size.scrollerHeight+session.getRowLength(lastRow)*lineHeight+firstRowHeight;offset=this.scrollTop-firstRowScreen*lineHeight;var changes=0;this.layerConfig.width!=longestLine&&(changes=this.CHANGE_H_SCROLL);if(hScrollChanged||vScrollChanged){changes=this.$updateCachedSize(true,this.gutterWidth,size.width,size.height);this._signal("scrollbarVisibilityChanged");vScrollChanged&&(longestLine=this.$getLongestLine())}this.layerConfig={width:longestLine,padding:this.$padding,firstRow:firstRow,firstRowScreen:firstRowScreen,lastRow:lastRow,lineHeight:lineHeight,characterWidth:this.characterWidth,minHeight:minHeight,maxHeight:maxHeight,offset:offset,gutterOffset:lineHeight?Math.max(0,Math.ceil((offset+size.height-size.scrollerHeight)/lineHeight)):0,height:this.$size.scrollerHeight};return changes};this.$updateLines=function(){if(!this.$changedLines)return;var firstRow=this.$changedLines.firstRow;var lastRow=this.$changedLines.lastRow;this.$changedLines=null;var layerConfig=this.layerConfig;if(firstRow>layerConfig.lastRow+1)return;if(lastRow<layerConfig.firstRow)return;if(Infinity===lastRow){this.$showGutter&&this.$gutterLayer.update(layerConfig);this.$textLayer.update(layerConfig);return}this.$textLayer.updateLines(layerConfig,firstRow,lastRow);return true};this.$getLongestLine=function(){var charCount=this.session.getScreenWidth();this.showInvisibles&&!this.session.$useWrapMode&&(charCount+=1);return Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(charCount*this.characterWidth))};this.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(true));this.$loop.schedule(this.CHANGE_MARKER_FRONT)};this.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers());this.$loop.schedule(this.CHANGE_MARKER_BACK)};this.addGutterDecoration=function(row,className){this.$gutterLayer.addGutterDecoration(row,className)};this.removeGutterDecoration=function(row,className){this.$gutterLayer.removeGutterDecoration(row,className)};this.updateBreakpoints=function(rows){this.$loop.schedule(this.CHANGE_GUTTER)};this.setAnnotations=function(annotations){this.$gutterLayer.setAnnotations(annotations);this.$loop.schedule(this.CHANGE_GUTTER)};this.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)};this.hideCursor=function(){this.$cursorLayer.hideCursor()};this.showCursor=function(){this.$cursorLayer.showCursor()};this.scrollSelectionIntoView=function(anchor,lead,offset){this.scrollCursorIntoView(anchor,offset);this.scrollCursorIntoView(lead,offset)};this.scrollCursorIntoView=function(cursor,offset,$viewMargin){if(0===this.$size.scrollerHeight)return;var pos=this.$cursorLayer.getPixelPosition(cursor);var left=pos.left;var top=pos.top;var topMargin=$viewMargin&&$viewMargin.top||0;var bottomMargin=$viewMargin&&$viewMargin.bottom||0;var scrollTop=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;if(scrollTop+topMargin>top){offset&&scrollTop+topMargin>top+this.lineHeight&&(top-=offset*this.$size.scrollerHeight);0===top&&(top=-this.scrollMargin.top);this.session.setScrollTop(top)}else if(scrollTop+this.$size.scrollerHeight-bottomMargin<top+this.lineHeight){offset&&scrollTop+this.$size.scrollerHeight-bottomMargin<top-this.lineHeight&&(top+=offset*this.$size.scrollerHeight);this.session.setScrollTop(top+this.lineHeight-this.$size.scrollerHeight)}var scrollLeft=this.scrollLeft;if(scrollLeft>left){left<this.$padding+2*this.layerConfig.characterWidth&&(left=-this.scrollMargin.left);this.session.setScrollLeft(left)}else scrollLeft+this.$size.scrollerWidth<left+this.characterWidth?this.session.setScrollLeft(Math.round(left+this.characterWidth-this.$size.scrollerWidth)):scrollLeft<=this.$padding&&left-scrollLeft<this.characterWidth&&this.session.setScrollLeft(0)};this.getScrollTop=function(){return this.session.getScrollTop()};this.getScrollLeft=function(){return this.session.getScrollLeft()};this.getScrollTopRow=function(){return this.scrollTop/this.lineHeight};this.getScrollBottomRow=function(){return Math.max(0,Math.floor((this.scrollTop+this.$size.scrollerHeight)/this.lineHeight)-1)};this.scrollToRow=function(row){this.session.setScrollTop(row*this.lineHeight)};this.alignCursor=function(cursor,alignment){"number"==typeof cursor&&(cursor={row:cursor,column:0});var pos=this.$cursorLayer.getPixelPosition(cursor);var h=this.$size.scrollerHeight-this.lineHeight;var offset=pos.top-h*(alignment||0);this.session.setScrollTop(offset);return offset};this.STEPS=8;this.$calcSteps=function(fromValue,toValue){var i=0;var l=this.STEPS;var steps=[];var func=function(t,x_min,dx){return dx*(Math.pow(t-1,3)+1)+x_min};for(i=0;i<l;++i)steps.push(func(i/this.STEPS,fromValue,toValue-fromValue));return steps};this.scrollToLine=function(line,center,animate,callback){var pos=this.$cursorLayer.getPixelPosition({row:line,column:0});var offset=pos.top;center&&(offset-=this.$size.scrollerHeight/2);var initialScroll=this.scrollTop;this.session.setScrollTop(offset);false!==animate&&this.animateScrolling(initialScroll,callback)};this.animateScrolling=function(fromValue,callback){var toValue=this.scrollTop;if(!this.$animatedScroll)return;var _self=this;if(fromValue==toValue)return;if(this.$scrollAnimation){var oldSteps=this.$scrollAnimation.steps;if(oldSteps.length){fromValue=oldSteps[0];if(fromValue==toValue)return}}var steps=_self.$calcSteps(fromValue,toValue);this.$scrollAnimation={from:fromValue,to:toValue,steps:steps};clearInterval(this.$timer);_self.session.setScrollTop(steps.shift());_self.session.$scrollTop=toValue;this.$timer=setInterval(function(){if(steps.length){_self.session.setScrollTop(steps.shift());_self.session.$scrollTop=toValue}else if(null!=toValue){_self.session.$scrollTop=-1;_self.session.setScrollTop(toValue);toValue=null}else{_self.$timer=clearInterval(_self.$timer);_self.$scrollAnimation=null;callback&&callback()}},10)};this.scrollToY=function(scrollTop){if(this.scrollTop!==scrollTop){this.$loop.schedule(this.CHANGE_SCROLL);this.scrollTop=scrollTop}};this.scrollToX=function(scrollLeft){this.scrollLeft!==scrollLeft&&(this.scrollLeft=scrollLeft);this.$loop.schedule(this.CHANGE_H_SCROLL)};this.scrollTo=function(x,y){this.session.setScrollTop(y);this.session.setScrollLeft(y)};this.scrollBy=function(deltaX,deltaY){deltaY&&this.session.setScrollTop(this.session.getScrollTop()+deltaY);deltaX&&this.session.setScrollLeft(this.session.getScrollLeft()+deltaX)};this.isScrollableBy=function(deltaX,deltaY){if(deltaY<0&&this.session.getScrollTop()>=1-this.scrollMargin.top)return true;if(deltaY>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom)return true;if(deltaX<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left)return true;if(deltaX>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return true};this.pixelToScreenCoordinates=function(x,y){var canvasPos=this.scroller.getBoundingClientRect();var offsetX=x+this.scrollLeft-canvasPos.left-this.$padding;var offset=offsetX/this.characterWidth;var row=Math.floor((y+this.scrollTop-canvasPos.top)/this.lineHeight);var col=Math.round(offset);return{row:row,column:col,side:offset-col>0?1:-1,offsetX:offsetX}};this.screenToTextCoordinates=function(x,y){var canvasPos=this.scroller.getBoundingClientRect();var offsetX=x+this.scrollLeft-canvasPos.left-this.$padding;var col=Math.round(offsetX/this.characterWidth);var row=(y+this.scrollTop-canvasPos.top)/this.lineHeight;return this.session.screenToDocumentPosition(row,Math.max(col,0),offsetX)};this.textToScreenCoordinates=function(row,column){var canvasPos=this.scroller.getBoundingClientRect();var pos=this.session.documentToScreenPosition(row,column);var x=this.$padding+(this.session.$bidiHandler.isBidiRow(pos.row,row)?this.session.$bidiHandler.getPosLeft(pos.column):Math.round(pos.column*this.characterWidth));var y=pos.row*this.lineHeight;return{pageX:canvasPos.left+x-this.scrollLeft,pageY:canvasPos.top+y-this.scrollTop}};this.visualizeFocus=function(){dom.addCssClass(this.container,"ace_focus")};this.visualizeBlur=function(){dom.removeCssClass(this.container,"ace_focus")};this.showComposition=function(position){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText});this.$keepTextAreaAtCursor=true;dom.addCssClass(this.textarea,"ace_composition");this.textarea.style.cssText="";this.$moveTextAreaToCursor()};this.setCompositionText=function(text){this.$moveTextAreaToCursor()};this.hideComposition=function(){if(!this.$composition)return;dom.removeCssClass(this.textarea,"ace_composition");this.$keepTextAreaAtCursor=this.$composition.keepTextAreaAtCursor;this.textarea.style.cssText=this.$composition.cssText;this.$composition=null};this.setTheme=function(theme,cb){var _self=this;this.$themeId=theme;_self._dispatchEvent("themeChange",{theme:theme});if(theme&&"string"!=typeof theme)afterLoad(theme);else{var moduleName=theme||this.$options.theme.initialValue;config.loadModule(["theme",moduleName],afterLoad)}function afterLoad(module){if(_self.$themeId!=theme)return cb&&cb();if(!module||!module.cssClass)throw new Error("couldn't load module "+theme+" or it didn't call define");dom.importCssString(module.cssText,module.cssClass,_self.container.ownerDocument);_self.theme&&dom.removeCssClass(_self.container,_self.theme.cssClass);var padding="padding"in module?module.padding:"padding"in(_self.theme||{})?4:_self.$padding;_self.$padding&&padding!=_self.$padding&&_self.setPadding(padding);_self.$theme=module.cssClass;_self.theme=module;dom.addCssClass(_self.container,module.cssClass);dom.setCssClass(_self.container,"ace_dark",module.isDark);if(_self.$size){_self.$size.width=0;_self.$updateSizeAsync()}_self._dispatchEvent("themeLoaded",{theme:module});cb&&cb()}};this.getTheme=function(){return this.$themeId};this.setStyle=function(style,include){dom.setCssClass(this.container,style,false!==include)};this.unsetStyle=function(style){dom.removeCssClass(this.container,style)};this.setCursorStyle=function(style){this.scroller.style.cursor!=style&&(this.scroller.style.cursor=style)};this.setMouseCursor=function(cursorStyle){this.scroller.style.cursor=cursorStyle};this.destroy=function(){this.$textLayer.destroy();this.$cursorLayer.destroy()}}).call(VirtualRenderer.prototype);config.defineOptions(VirtualRenderer.prototype,"renderer",{animatedScroll:{initialValue:false},showInvisibles:{set:function(value){this.$textLayer.setShowInvisibles(value)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:false},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:true},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(val){"number"==typeof val&&(this.$printMarginColumn=val);this.$showPrintMargin=!!val;this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(show){this.$gutter.style.display=show?"block":"none";this.$loop.schedule(this.CHANGE_FULL);this.onGutterResize()},initialValue:true},fadeFoldWidgets:{set:function(show){dom.setCssClass(this.$gutter,"ace_fade-fold-widgets",show)},initialValue:false},showFoldWidgets:{set:function(show){this.$gutterLayer.setShowFoldWidgets(show)},initialValue:true},showLineNumbers:{set:function(show){this.$gutterLayer.setShowLineNumbers(show);this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:true},displayIndentGuides:{set:function(show){this.$textLayer.setDisplayIndentGuides(show)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:true},highlightGutterLine:{set:function(shouldHighlight){if(!this.$gutterLineHighlight){this.$gutterLineHighlight=dom.createElement("div");this.$gutterLineHighlight.className="ace_gutter-active-line";this.$gutter.appendChild(this.$gutterLineHighlight);return}this.$gutterLineHighlight.style.display=shouldHighlight?"":"none";this.$cursorLayer.$pixelPos&&this.$updateGutterLineHighlight()},initialValue:false,value:true},hScrollBarAlwaysVisible:{set:function(val){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:false},vScrollBarAlwaysVisible:{set:function(val){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:false},fontSize:{set:function(size){"number"==typeof size&&(size+="px");this.container.style.fontSize=size;this.updateFontSize()},initialValue:12},fontFamily:{set:function(name){this.container.style.fontFamily=name;this.updateFontSize()}},maxLines:{set:function(val){this.updateFull()}},minLines:{set:function(val){this.updateFull()}},maxPixelHeight:{set:function(val){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(val){val=+val||0;if(this.$scrollPastEnd==val)return;this.$scrollPastEnd=val;this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:0,handlesSet:true},fixedWidthGutter:{set:function(val){this.$gutterLayer.$fixedWidth=!!val;this.$loop.schedule(this.CHANGE_GUTTER)}},theme:{set:function(val){this.setTheme(val)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:true}});exports.VirtualRenderer=VirtualRenderer});ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var net=acequire("../lib/net");var EventEmitter=acequire("../lib/event_emitter").EventEmitter;var config=acequire("../config");function $workerBlob(workerUrl,mod){var script=mod.src;"importScripts('"+net.qualifyURL(workerUrl)+"');";try{return new Blob([script],{type:"application/javascript"})}catch(e){var BlobBuilder=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder;var blobBuilder=new BlobBuilder;blobBuilder.append(script);return blobBuilder.getBlob("application/javascript")}}function createWorker(workerUrl,mod){var blob=$workerBlob(workerUrl,mod);var URL=window.URL||window.webkitURL;var blobURL=URL.createObjectURL(blob);return new Worker(blobURL)}var WorkerClient=function(topLevelNamespaces,mod,classname,workerUrl,importScripts){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this);this.changeListener=this.changeListener.bind(this);this.onMessage=this.onMessage.bind(this);acequire.nameToUrl&&!acequire.toUrl&&(acequire.toUrl=acequire.nameToUrl);if(config.get("packaged")||!acequire.toUrl)workerUrl=workerUrl||config.moduleUrl(mod.id,"worker");else{var normalizePath=this.$normalizePath;workerUrl=workerUrl||normalizePath(acequire.toUrl("ace/worker/worker.js",null,"_"));var tlns={};topLevelNamespaces.forEach(function(ns){tlns[ns]=normalizePath(acequire.toUrl(ns,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}this.$worker=createWorker(workerUrl,mod);importScripts&&this.send("importScripts",importScripts);this.$worker.postMessage({init:true,tlns:tlns,module:mod.id,classname:classname});this.callbackId=1;this.callbacks={};this.$worker.onmessage=this.onMessage};(function(){oop.implement(this,EventEmitter);this.onMessage=function(e){var msg=e.data;switch(msg.type){case"event":this._signal(msg.name,{data:msg.data});break;case"call":var callback=this.callbacks[msg.id];if(callback){callback(msg.data);delete this.callbacks[msg.id]}break;case"error":this.reportError(msg.data);break;case"log":window.console&&console.log&&console.log.apply(console,msg.data)}};this.reportError=function(err){window.console&&console.error&&console.error(err)};this.$normalizePath=function(path){return net.qualifyURL(path)};this.terminate=function(){this._signal("terminate",{});this.deltaQueue=null;this.$worker.terminate();this.$worker=null;this.$doc&&this.$doc.off("change",this.changeListener);this.$doc=null};this.send=function(cmd,args){this.$worker.postMessage({command:cmd,args:args})};this.call=function(cmd,args,callback){if(callback){var id=this.callbackId++;this.callbacks[id]=callback;args.push(id)}this.send(cmd,args)};this.emit=function(event,data){try{this.$worker.postMessage({event:event,data:{data:data.data}})}catch(ex){console.error(ex.stack)}};this.attachToDocument=function(doc){this.$doc&&this.terminate();this.$doc=doc;this.call("setValue",[doc.getValue()]);doc.on("change",this.changeListener)};this.changeListener=function(delta){if(!this.deltaQueue){this.deltaQueue=[];setTimeout(this.$sendDeltaQueue,0)}"insert"==delta.action?this.deltaQueue.push(delta.start,delta.lines):this.deltaQueue.push(delta.start,delta.end)};this.$sendDeltaQueue=function(){var q=this.deltaQueue;if(!q)return;this.deltaQueue=null;q.length>50&&q.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:q})}}).call(WorkerClient.prototype);var UIWorkerClient=function(topLevelNamespaces,mod,classname){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this);this.changeListener=this.changeListener.bind(this);this.callbackId=1;this.callbacks={};this.messageBuffer=[];var main=null;var emitSync=false;var sender=Object.create(EventEmitter);var _self=this;this.$worker={};this.$worker.terminate=function(){};this.$worker.postMessage=function(e){_self.messageBuffer.push(e);main&&(emitSync?setTimeout(processNext):processNext())};this.setEmitSync=function(val){emitSync=val};var processNext=function(){var msg=_self.messageBuffer.shift();msg.command?main[msg.command].apply(main,msg.args):msg.event&&sender._signal(msg.event,msg.data)};sender.postMessage=function(msg){_self.onMessage({data:msg})};sender.callback=function(data,callbackId){this.postMessage({type:"call",id:callbackId,data:data})};sender.emit=function(name,data){this.postMessage({type:"event",name:name,data:data})};config.loadModule(["worker",mod],function(Main){main=new Main[classname](sender);while(_self.messageBuffer.length)processNext()})};UIWorkerClient.prototype=WorkerClient.prototype;exports.UIWorkerClient=UIWorkerClient;exports.WorkerClient=WorkerClient;exports.createWorker=createWorker});ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(acequire,exports,module){"use strict";var Range=acequire("./range").Range;var EventEmitter=acequire("./lib/event_emitter").EventEmitter;var oop=acequire("./lib/oop");var PlaceHolder=function(session,length,pos,others,mainClass,othersClass){var _self=this;this.length=length;this.session=session;this.doc=session.getDocument();this.mainClass=mainClass;this.othersClass=othersClass;this.$onUpdate=this.onUpdate.bind(this);this.doc.on("change",this.$onUpdate);this.$others=others;this.$onCursorChange=function(){setTimeout(function(){_self.onCursorChange()})};this.$pos=pos;var undoStack=session.getUndoManager().$undoStack||session.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=undoStack.length;this.setup();session.selection.on("changeCursor",this.$onCursorChange)};(function(){oop.implement(this,EventEmitter);this.setup=function(){var _self=this;var doc=this.doc;var session=this.session;this.selectionBefore=session.selection.toJSON();session.selection.inMultiSelectMode&&session.selection.toSingleRange();this.pos=doc.createAnchor(this.$pos.row,this.$pos.column);var pos=this.pos;pos.$insertRight=true;pos.detach();pos.markerId=session.addMarker(new Range(pos.row,pos.column,pos.row,pos.column+this.length),this.mainClass,null,false);this.others=[];this.$others.forEach(function(other){var anchor=doc.createAnchor(other.row,other.column);anchor.$insertRight=true;anchor.detach();_self.others.push(anchor)});session.setUndoSelect(false)};this.showOtherMarkers=function(){if(this.othersActive)return;var session=this.session;var _self=this;this.othersActive=true;this.others.forEach(function(anchor){anchor.markerId=session.addMarker(new Range(anchor.row,anchor.column,anchor.row,anchor.column+_self.length),_self.othersClass,null,false)})};this.hideOtherMarkers=function(){if(!this.othersActive)return;this.othersActive=false;for(var i=0;i<this.others.length;i++)this.session.removeMarker(this.others[i].markerId)};this.onUpdate=function(delta){if(this.$updating)return this.updateAnchors(delta);var range=delta;if(range.start.row!==range.end.row)return;if(range.start.row!==this.pos.row)return;this.$updating=true;var lengthDiff="insert"===delta.action?range.end.column-range.start.column:range.start.column-range.end.column;var inMainRange=range.start.column>=this.pos.column&&range.start.column<=this.pos.column+this.length+1;var distanceFromStart=range.start.column-this.pos.column;this.updateAnchors(delta);inMainRange&&(this.length+=lengthDiff);if(inMainRange&&!this.session.$fromUndo)if("insert"===delta.action)for(var i=this.others.length-1;i>=0;i--){var otherPos=this.others[i];var newPos={row:otherPos.row,column:otherPos.column+distanceFromStart};this.doc.insertMergedLines(newPos,delta.lines)}else if("remove"===delta.action)for(i=this.others.length-1;i>=0;i--){otherPos=this.others[i];newPos={row:otherPos.row,column:otherPos.column+distanceFromStart};this.doc.remove(new Range(newPos.row,newPos.column,newPos.row,newPos.column-lengthDiff))}this.$updating=false;this.updateMarkers()};this.updateAnchors=function(delta){this.pos.onChange(delta);for(var i=this.others.length;i--;)this.others[i].onChange(delta);this.updateMarkers()};this.updateMarkers=function(){if(this.$updating)return;var _self=this;var session=this.session;var updateMarker=function(pos,className){session.removeMarker(pos.markerId);pos.markerId=session.addMarker(new Range(pos.row,pos.column,pos.row,pos.column+_self.length),className,null,false)};updateMarker(this.pos,this.mainClass);for(var i=this.others.length;i--;)updateMarker(this.others[i],this.othersClass)};this.onCursorChange=function(event){if(this.$updating||!this.session)return;var pos=this.session.selection.getCursor();if(pos.row===this.pos.row&&pos.column>=this.pos.column&&pos.column<=this.pos.column+this.length){this.showOtherMarkers();this._emit("cursorEnter",event)}else{this.hideOtherMarkers();this._emit("cursorLeave",event)}};this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId);this.hideOtherMarkers();this.doc.removeEventListener("change",this.$onUpdate);this.session.selection.removeEventListener("changeCursor",this.$onCursorChange);this.session.setUndoSelect(true);this.session=null};this.cancel=function(){if(-1===this.$undoStackDepth)return;var undoManager=this.session.getUndoManager();var undosRequired=(undoManager.$undoStack||undoManager.$undostack).length-this.$undoStackDepth;for(var i=0;i<undosRequired;i++)undoManager.undo(true);this.selectionBefore&&this.session.selection.fromJSON(this.selectionBefore)}}).call(PlaceHolder.prototype);exports.PlaceHolder=PlaceHolder});ace.define("ace/mouse/multi_select_handler",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(acequire,exports,module){var event=acequire("../lib/event");var useragent=acequire("../lib/useragent");function isSamePoint(p1,p2){return p1.row==p2.row&&p1.column==p2.column}function onMouseDown(e){var ev=e.domEvent;var alt=ev.altKey;var shift=ev.shiftKey;var ctrl=ev.ctrlKey;var accel=e.getAccelKey();var button=e.getButton();ctrl&&useragent.isMac&&(button=ev.button);if(e.editor.inMultiSelectMode&&2==button){e.editor.textInput.onContextMenu(e.domEvent);return}if(!ctrl&&!alt&&!accel){0===button&&e.editor.inMultiSelectMode&&e.editor.exitMultiSelectMode();return}if(0!==button)return;var editor=e.editor;var selection=editor.selection;var isMultiSelect=editor.inMultiSelectMode;var pos=e.getDocumentPosition();var cursor=selection.getCursor();var inSelection=e.inSelection()||selection.isEmpty()&&isSamePoint(pos,cursor);var mouseX=e.x,mouseY=e.y;var onMouseSelection=function(e){mouseX=e.clientX;mouseY=e.clientY};var session=editor.session;var screenAnchor=editor.renderer.pixelToScreenCoordinates(mouseX,mouseY);var screenCursor=screenAnchor;var selectionMode;if(editor.$mouseHandler.$enableJumpToDef)ctrl&&alt||accel&&alt?selectionMode=shift?"block":"add":alt&&editor.$blockSelectEnabled&&(selectionMode="block");else if(accel&&!alt){selectionMode="add";if(!isMultiSelect&&shift)return}else alt&&editor.$blockSelectEnabled&&(selectionMode="block");selectionMode&&useragent.isMac&&ev.ctrlKey&&editor.$mouseHandler.cancelContextMenu();if("add"==selectionMode){if(!isMultiSelect&&inSelection)return;if(!isMultiSelect){var range=selection.toOrientedRange();editor.addSelectionMarker(range)}var oldRange=selection.rangeList.rangeAtPoint(pos);editor.$blockScrolling++;editor.inVirtualSelectionMode=true;if(shift){oldRange=null;range=selection.ranges[0]||range;editor.removeSelectionMarker(range)}editor.once("mouseup",function(){var tmpSel=selection.toOrientedRange();if(oldRange&&tmpSel.isEmpty()&&isSamePoint(oldRange.cursor,tmpSel.cursor))selection.substractPoint(tmpSel.cursor);else{if(shift)selection.substractPoint(range.cursor);else if(range){editor.removeSelectionMarker(range);selection.addRange(range)}selection.addRange(tmpSel)}editor.$blockScrolling--;editor.inVirtualSelectionMode=false})}else if("block"==selectionMode){e.stop();editor.inVirtualSelectionMode=true;var initialRange;var rectSel=[];var blockSelect=function(){var newCursor=editor.renderer.pixelToScreenCoordinates(mouseX,mouseY);var cursor=session.screenToDocumentPosition(newCursor.row,newCursor.column,newCursor.offsetX);if(isSamePoint(screenCursor,newCursor)&&isSamePoint(cursor,selection.lead))return;screenCursor=newCursor;editor.$blockScrolling++;editor.selection.moveToPosition(cursor);editor.renderer.scrollCursorIntoView();editor.removeSelectionMarkers(rectSel);rectSel=selection.rectangularRangeBlock(screenCursor,screenAnchor);editor.$mouseHandler.$clickSelection&&1==rectSel.length&&rectSel[0].isEmpty()&&(rectSel[0]=editor.$mouseHandler.$clickSelection.clone());rectSel.forEach(editor.addSelectionMarker,editor);editor.updateSelectionMarkers();editor.$blockScrolling--};editor.$blockScrolling++;if(isMultiSelect&&!accel)selection.toSingleRange();else if(!isMultiSelect&&accel){initialRange=selection.toOrientedRange();editor.addSelectionMarker(initialRange)}shift?screenAnchor=session.documentToScreenPosition(selection.lead):selection.moveToPosition(pos);editor.$blockScrolling--;screenCursor={row:-1,column:-1};var onMouseSelectionEnd=function(e){clearInterval(timerId);editor.removeSelectionMarkers(rectSel);rectSel.length||(rectSel=[selection.toOrientedRange()]);editor.$blockScrolling++;if(initialRange){editor.removeSelectionMarker(initialRange);selection.toSingleRange(initialRange)}for(var i=0;i<rectSel.length;i++)selection.addRange(rectSel[i]);editor.inVirtualSelectionMode=false;editor.$mouseHandler.$clickSelection=null;editor.$blockScrolling--};var onSelectionInterval=blockSelect;event.capture(editor.container,onMouseSelection,onMouseSelectionEnd);var timerId=setInterval(function(){onSelectionInterval()},20);return e.preventDefault()}}exports.onMouseDown=onMouseDown});ace.define("ace/commands/multi_select_commands",["require","exports","module","ace/keyboard/hash_handler"],function(acequire,exports,module){exports.defaultCommands=[{name:"addCursorAbove",exec:function(editor){editor.selectMoreLines(-1)},bindKey:{win:"Ctrl-Alt-Up",mac:"Ctrl-Alt-Up"},scrollIntoView:"cursor",readOnly:true},{name:"addCursorBelow",exec:function(editor){editor.selectMoreLines(1)},bindKey:{win:"Ctrl-Alt-Down",mac:"Ctrl-Alt-Down"},scrollIntoView:"cursor",readOnly:true},{name:"addCursorAboveSkipCurrent",exec:function(editor){editor.selectMoreLines(-1,true)},bindKey:{win:"Ctrl-Alt-Shift-Up",mac:"Ctrl-Alt-Shift-Up"},scrollIntoView:"cursor",readOnly:true},{name:"addCursorBelowSkipCurrent",exec:function(editor){editor.selectMoreLines(1,true)},bindKey:{win:"Ctrl-Alt-Shift-Down",mac:"Ctrl-Alt-Shift-Down"},scrollIntoView:"cursor",readOnly:true},{name:"selectMoreBefore",exec:function(editor){editor.selectMore(-1)},bindKey:{win:"Ctrl-Alt-Left",mac:"Ctrl-Alt-Left"},scrollIntoView:"cursor",readOnly:true},{name:"selectMoreAfter",exec:function(editor){editor.selectMore(1)},bindKey:{win:"Ctrl-Alt-Right",mac:"Ctrl-Alt-Right"},scrollIntoView:"cursor",readOnly:true},{name:"selectNextBefore",exec:function(editor){editor.selectMore(-1,true)},bindKey:{win:"Ctrl-Alt-Shift-Left",mac:"Ctrl-Alt-Shift-Left"},scrollIntoView:"cursor",readOnly:true},{name:"selectNextAfter",exec:function(editor){editor.selectMore(1,true)},bindKey:{win:"Ctrl-Alt-Shift-Right",mac:"Ctrl-Alt-Shift-Right"},scrollIntoView:"cursor",readOnly:true},{name:"splitIntoLines",exec:function(editor){editor.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:true},{name:"alignCursors",exec:function(editor){editor.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",exec:function(editor){editor.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:true}];exports.multiSelectCommands=[{name:"singleSelection",bindKey:"esc",exec:function(editor){editor.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:true,isAvailable:function(editor){return editor&&editor.inMultiSelectMode}}];var HashHandler=acequire("../keyboard/hash_handler").HashHandler;exports.keyboardHandler=new HashHandler(exports.multiSelectCommands)});ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(acequire,exports,module){var RangeList=acequire("./range_list").RangeList;var Range=acequire("./range").Range;var Selection=acequire("./selection").Selection;var onMouseDown=acequire("./mouse/multi_select_handler").onMouseDown;var event=acequire("./lib/event");var lang=acequire("./lib/lang");var commands=acequire("./commands/multi_select_commands");exports.commands=commands.defaultCommands.concat(commands.multiSelectCommands);var Search=acequire("./search").Search;var search=new Search;function find(session,needle,dir){search.$options.wrap=true;search.$options.needle=needle;search.$options.backwards=-1==dir;return search.find(session)}var EditSession=acequire("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(EditSession.prototype);(function(){this.ranges=null;this.rangeList=null;this.addRange=function(range,$blockChangeEvents){if(!range)return;if(!this.inMultiSelectMode&&0===this.rangeCount){var oldRange=this.toOrientedRange();this.rangeList.add(oldRange);this.rangeList.add(range);if(2!=this.rangeList.ranges.length){this.rangeList.removeAll();return $blockChangeEvents||this.fromOrientedRange(range)}this.rangeList.removeAll();this.rangeList.add(oldRange);this.$onAddRange(oldRange)}range.cursor||(range.cursor=range.end);var removed=this.rangeList.add(range);this.$onAddRange(range);removed.length&&this.$onRemoveRange(removed);if(this.rangeCount>1&&!this.inMultiSelectMode){this._signal("multiSelect");this.inMultiSelectMode=true;this.session.$undoSelect=false;this.rangeList.attach(this.session)}return $blockChangeEvents||this.fromOrientedRange(range)};this.toSingleRange=function(range){range=range||this.ranges[0];var removed=this.rangeList.removeAll();removed.length&&this.$onRemoveRange(removed);range&&this.fromOrientedRange(range)};this.substractPoint=function(pos){var removed=this.rangeList.substractPoint(pos);if(removed){this.$onRemoveRange(removed);return removed[0]}};this.mergeOverlappingRanges=function(){var removed=this.rangeList.merge();removed.length?this.$onRemoveRange(removed):this.ranges[0]&&this.fromOrientedRange(this.ranges[0])};this.$onAddRange=function(range){this.rangeCount=this.rangeList.ranges.length;this.ranges.unshift(range);this._signal("addRange",{range:range})};this.$onRemoveRange=function(removed){this.rangeCount=this.rangeList.ranges.length;if(1==this.rangeCount&&this.inMultiSelectMode){var lastRange=this.rangeList.ranges.pop();removed.push(lastRange);this.rangeCount=0}for(var i=removed.length;i--;){var index=this.ranges.indexOf(removed[i]);this.ranges.splice(index,1)}this._signal("removeRange",{ranges:removed});if(0===this.rangeCount&&this.inMultiSelectMode){this.inMultiSelectMode=false;this._signal("singleSelect");this.session.$undoSelect=true;this.rangeList.detach(this.session)}lastRange=lastRange||this.ranges[0];lastRange&&!lastRange.isEqual(this.getRange())&&this.fromOrientedRange(lastRange)};this.$initRangeList=function(){if(this.rangeList)return;this.rangeList=new RangeList;this.ranges=[];this.rangeCount=0};this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]};this.splitIntoLines=function(){if(this.rangeCount>1){var ranges=this.rangeList.ranges;var lastRange=ranges[ranges.length-1];var range=Range.fromPoints(ranges[0].start,lastRange.end);this.toSingleRange();this.setSelectionRange(range,lastRange.cursor==lastRange.start)}else{range=this.getRange();var isBackwards=this.isBackwards();var startRow=range.start.row;var endRow=range.end.row;if(startRow==endRow){if(isBackwards)var start=range.end,end=range.start;else start=range.start,end=range.end;this.addRange(Range.fromPoints(end,end));this.addRange(Range.fromPoints(start,start));return}var rectSel=[];var r=this.getLineRange(startRow,true);r.start.column=range.start.column;rectSel.push(r);for(var i=startRow+1;i<endRow;i++)rectSel.push(this.getLineRange(i,true));r=this.getLineRange(endRow,true);r.end.column=range.end.column;rectSel.push(r);rectSel.forEach(this.addRange,this)}};this.toggleBlockSelection=function(){if(this.rangeCount>1){var ranges=this.rangeList.ranges;var lastRange=ranges[ranges.length-1];var range=Range.fromPoints(ranges[0].start,lastRange.end);this.toSingleRange();this.setSelectionRange(range,lastRange.cursor==lastRange.start)}else{var cursor=this.session.documentToScreenPosition(this.selectionLead);var anchor=this.session.documentToScreenPosition(this.selectionAnchor);var rectSel=this.rectangularRangeBlock(cursor,anchor);rectSel.forEach(this.addRange,this)}};this.rectangularRangeBlock=function(screenCursor,screenAnchor,includeEmptyLines){var rectSel=[];var xBackwards=screenCursor.column<screenAnchor.column;if(xBackwards){var startColumn=screenCursor.column;var endColumn=screenAnchor.column;var startOffsetX=screenCursor.offsetX;var endOffsetX=screenAnchor.offsetX}else{startColumn=screenAnchor.column;endColumn=screenCursor.column;startOffsetX=screenAnchor.offsetX;endOffsetX=screenCursor.offsetX}var yBackwards=screenCursor.row<screenAnchor.row;if(yBackwards){var startRow=screenCursor.row;var endRow=screenAnchor.row}else{startRow=screenAnchor.row;endRow=screenCursor.row}startColumn<0&&(startColumn=0);startRow<0&&(startRow=0);startRow==endRow&&(includeEmptyLines=true);for(var row=startRow;row<=endRow;row++){var range=Range.fromPoints(this.session.screenToDocumentPosition(row,startColumn,startOffsetX),this.session.screenToDocumentPosition(row,endColumn,endOffsetX));if(range.isEmpty()){if(docEnd&&isSamePoint(range.end,docEnd))break;var docEnd=range.end}range.cursor=xBackwards?range.start:range.end;rectSel.push(range)}yBackwards&&rectSel.reverse();if(!includeEmptyLines){var end=rectSel.length-1;while(rectSel[end].isEmpty()&&end>0)end--;if(end>0){var start=0;while(rectSel[start].isEmpty())start++}for(var i=end;i>=start;i--)rectSel[i].isEmpty()&&rectSel.splice(i,1)}return rectSel}}).call(Selection.prototype);var Editor=acequire("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor();this.renderer.updateBackMarkers()};this.addSelectionMarker=function(orientedRange){orientedRange.cursor||(orientedRange.cursor=orientedRange.end);var style=this.getSelectionStyle();orientedRange.marker=this.session.addMarker(orientedRange,"ace_selection",style);this.session.$selectionMarkers.push(orientedRange);this.session.selectionMarkerCount=this.session.$selectionMarkers.length;return orientedRange};this.removeSelectionMarker=function(range){if(!range.marker)return;this.session.removeMarker(range.marker);var index=this.session.$selectionMarkers.indexOf(range);-1!=index&&this.session.$selectionMarkers.splice(index,1);this.session.selectionMarkerCount=this.session.$selectionMarkers.length};this.removeSelectionMarkers=function(ranges){var markerList=this.session.$selectionMarkers;for(var i=ranges.length;i--;){var range=ranges[i];if(!range.marker)continue;this.session.removeMarker(range.marker);var index=markerList.indexOf(range);-1!=index&&markerList.splice(index,1)}this.session.selectionMarkerCount=markerList.length};this.$onAddRange=function(e){this.addSelectionMarker(e.range);this.renderer.updateCursor();this.renderer.updateBackMarkers()};this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges);this.renderer.updateCursor();this.renderer.updateBackMarkers()};this.$onMultiSelect=function(e){if(this.inMultiSelectMode)return;this.inMultiSelectMode=true;this.setStyle("ace_multiselect");this.keyBinding.addKeyboardHandler(commands.keyboardHandler);this.commands.setDefaultHandler("exec",this.$onMultiSelectExec);this.renderer.updateCursor();this.renderer.updateBackMarkers()};this.$onSingleSelect=function(e){if(this.session.multiSelect.inVirtualMode)return;this.inMultiSelectMode=false;this.unsetStyle("ace_multiselect");this.keyBinding.removeKeyboardHandler(commands.keyboardHandler);this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec);this.renderer.updateCursor();this.renderer.updateBackMarkers();this._emit("changeSelection")};this.$onMultiSelectExec=function(e){var command=e.command;var editor=e.editor;if(!editor.multiSelect)return;if(command.multiSelectAction)if("forEach"==command.multiSelectAction)result=editor.forEachSelection(command,e.args);else if("forEachLine"==command.multiSelectAction)result=editor.forEachSelection(command,e.args,true);else if("single"==command.multiSelectAction){editor.exitMultiSelectMode();result=command.exec(editor,e.args||{})}else result=command.multiSelectAction(editor,e.args||{});else{var result=command.exec(editor,e.args||{});editor.multiSelect.addRange(editor.multiSelect.toOrientedRange());editor.multiSelect.mergeOverlappingRanges()}return result};this.forEachSelection=function(cmd,args,options){if(this.inVirtualSelectionMode)return;var keepOrder=options&&options.keepOrder;var $byLines=true==options||options&&options.$byLines;var session=this.session;var selection=this.selection;var rangeList=selection.rangeList;var ranges=(keepOrder?selection:rangeList).ranges;var result;if(!ranges.length)return cmd.exec?cmd.exec(this,args||{}):cmd(this,args||{});var reg=selection._eventRegistry;selection._eventRegistry={};var tmpSel=new Selection(session);this.inVirtualSelectionMode=true;for(var i=ranges.length;i--;){if($byLines)while(i>0&&ranges[i].start.row==ranges[i-1].end.row)i--;tmpSel.fromOrientedRange(ranges[i]);tmpSel.index=i;this.selection=session.selection=tmpSel;var cmdResult=cmd.exec?cmd.exec(this,args||{}):cmd(this,args||{});result||void 0===cmdResult||(result=cmdResult);tmpSel.toOrientedRange(ranges[i])}tmpSel.detach();this.selection=session.selection=selection;this.inVirtualSelectionMode=false;selection._eventRegistry=reg;selection.mergeOverlappingRanges();var anim=this.renderer.$scrollAnimation;this.onCursorChange();this.onSelectionChange();anim&&anim.from==anim.to&&this.renderer.animateScrolling(anim.from);return result};this.exitMultiSelectMode=function(){if(!this.inMultiSelectMode||this.inVirtualSelectionMode)return;this.multiSelect.toSingleRange()};this.getSelectedText=function(){var text="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){var ranges=this.multiSelect.rangeList.ranges;var buf=[];for(var i=0;i<ranges.length;i++)buf.push(this.session.getTextRange(ranges[i]));var nl=this.session.getDocument().getNewLineCharacter();text=buf.join(nl);text.length==(buf.length-1)*nl.length&&(text="")}else this.selection.isEmpty()||(text=this.session.getTextRange(this.getSelectionRange()));return text};this.$checkMultiselectChange=function(e,anchor){if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){var range=this.multiSelect.ranges[0];if(this.multiSelect.isEmpty()&&anchor==this.multiSelect.anchor)return;var pos=anchor==this.multiSelect.anchor?range.cursor==range.start?range.end:range.start:range.cursor;pos.row==anchor.row&&this.session.$clipPositionToDocument(pos.row,pos.column).column==anchor.column||this.multiSelect.toSingleRange(this.multiSelect.toOrientedRange())}};this.findAll=function(needle,options,additive){options=options||{};options.needle=needle||options.needle;if(void 0==options.needle){var range=this.selection.isEmpty()?this.selection.getWordRange():this.selection.getRange();options.needle=this.session.getTextRange(range)}this.$search.set(options);var ranges=this.$search.findAll(this.session);if(!ranges.length)return 0;this.$blockScrolling+=1;var selection=this.multiSelect;additive||selection.toSingleRange(ranges[0]);for(var i=ranges.length;i--;)selection.addRange(ranges[i],true);range&&selection.rangeList.rangeAtPoint(range.start)&&selection.addRange(range,true);this.$blockScrolling-=1;return ranges.length};this.selectMoreLines=function(dir,skip){var range=this.selection.toOrientedRange();var isBackwards=range.cursor==range.end;var screenLead=this.session.documentToScreenPosition(range.cursor);this.selection.$desiredColumn&&(screenLead.column=this.selection.$desiredColumn);var lead=this.session.screenToDocumentPosition(screenLead.row+dir,screenLead.column);if(range.isEmpty())anchor=lead;else{var screenAnchor=this.session.documentToScreenPosition(isBackwards?range.end:range.start);var anchor=this.session.screenToDocumentPosition(screenAnchor.row+dir,screenAnchor.column)}if(isBackwards){var newRange=Range.fromPoints(lead,anchor);newRange.cursor=newRange.start}else{newRange=Range.fromPoints(anchor,lead);newRange.cursor=newRange.end}newRange.desiredColumn=screenLead.column;if(this.selection.inMultiSelectMode){if(skip)var toRemove=range.cursor}else this.selection.addRange(range);this.selection.addRange(newRange);toRemove&&this.selection.substractPoint(toRemove)};this.transposeSelections=function(dir){var session=this.session;var sel=session.multiSelect;var all=sel.ranges;for(var i=all.length;i--;){var range=all[i];if(range.isEmpty()){var tmp=session.getWordRange(range.start.row,range.start.column);range.start.row=tmp.start.row;range.start.column=tmp.start.column;range.end.row=tmp.end.row;range.end.column=tmp.end.column}}sel.mergeOverlappingRanges();var words=[];for(i=all.length;i--;){range=all[i];words.unshift(session.getTextRange(range))}dir<0?words.unshift(words.pop()):words.push(words.shift());for(i=all.length;i--;){range=all[i];tmp=range.clone();session.replace(range,words[i]);range.start.row=tmp.start.row;range.start.column=tmp.start.column}};this.selectMore=function(dir,skip,stopAtFirst){var session=this.session;var sel=session.multiSelect;var range=sel.toOrientedRange();if(range.isEmpty()){range=session.getWordRange(range.start.row,range.start.column);range.cursor=-1==dir?range.start:range.end;this.multiSelect.addRange(range);if(stopAtFirst)return}var needle=session.getTextRange(range);var newRange=find(session,needle,dir);if(newRange){newRange.cursor=-1==dir?newRange.start:newRange.end;this.$blockScrolling+=1;this.session.unfold(newRange);this.multiSelect.addRange(newRange);this.$blockScrolling-=1;this.renderer.scrollCursorIntoView(null,.5)}skip&&this.multiSelect.substractPoint(range.cursor)};this.alignCursors=function(){var session=this.session;var sel=session.multiSelect;var ranges=sel.ranges;var row=-1;var sameRowRanges=ranges.filter(function(r){if(r.cursor.row==row)return true;row=r.cursor.row});if(ranges.length&&sameRowRanges.length!=ranges.length-1){sameRowRanges.forEach(function(r){sel.substractPoint(r.cursor)});var maxCol=0;var minSpace=Infinity;var spaceOffsets=ranges.map(function(r){var p=r.cursor;var line=session.getLine(p.row);var spaceOffset=line.substr(p.column).search(/\S/g);-1==spaceOffset&&(spaceOffset=0);p.column>maxCol&&(maxCol=p.column);spaceOffset<minSpace&&(minSpace=spaceOffset);return spaceOffset});ranges.forEach(function(r,i){var p=r.cursor;var l=maxCol-p.column;var d=spaceOffsets[i]-minSpace;l>d?session.insert(p,lang.stringRepeat(" ",l-d)):session.remove(new Range(p.row,p.column,p.row,p.column-l+d));r.start.column=r.end.column=maxCol;r.start.row=r.end.row=p.row;r.cursor=r.end});sel.fromOrientedRange(ranges[0]);this.renderer.updateCursor();this.renderer.updateBackMarkers()}else{var range=this.selection.getRange();var fr=range.start.row,lr=range.end.row;var guessRange=fr==lr;if(guessRange){var max=this.session.getLength();var line;do{line=this.session.getLine(lr)}while(/[=:]/.test(line)&&++lr<max);do{line=this.session.getLine(fr)}while(/[=:]/.test(line)&&--fr>0);fr<0&&(fr=0);lr>=max&&(lr=max-1)}var lines=this.session.removeFullLines(fr,lr);lines=this.$reAlignText(lines,guessRange);this.session.insert({row:fr,column:0},lines.join("\n")+"\n");if(!guessRange){range.start.column=0;range.end.column=lines[lines.length-1].length}this.selection.setRange(range)}};this.$reAlignText=function(lines,forceLeft){var isLeftAligned=true,isRightAligned=true;var startW,textW,endW;return lines.map(function(line){var m=line.match(/(\s*)(.*?)(\s*)([=:].*)/);if(!m)return[line];if(null==startW){startW=m[1].length;textW=m[2].length;endW=m[3].length;return m}startW+textW+endW!=m[1].length+m[2].length+m[3].length&&(isRightAligned=false);startW!=m[1].length&&(isLeftAligned=false);startW>m[1].length&&(startW=m[1].length);textW<m[2].length&&(textW=m[2].length);endW>m[3].length&&(endW=m[3].length);return m}).map(forceLeft?alignLeft:isLeftAligned?isRightAligned?alignRight:alignLeft:unAlign);function spaces(n){return lang.stringRepeat(" ",n)}function alignLeft(m){return m[2]?spaces(startW)+m[2]+spaces(textW-m[2].length+endW)+m[4].replace(/^([=:])\s+/,"$1 "):m[0]}function alignRight(m){return m[2]?spaces(startW+textW-m[2].length)+m[2]+spaces(endW," ")+m[4].replace(/^([=:])\s+/,"$1 "):m[0]}function unAlign(m){return m[2]?spaces(startW)+m[2]+spaces(endW)+m[4].replace(/^([=:])\s+/,"$1 "):m[0]}}}).call(Editor.prototype);function isSamePoint(p1,p2){return p1.row==p2.row&&p1.column==p2.column}exports.onSessionChange=function(e){var session=e.session;if(session&&!session.multiSelect){session.$selectionMarkers=[];session.selection.$initRangeList();session.multiSelect=session.selection}this.multiSelect=session&&session.multiSelect;var oldSession=e.oldSession;if(oldSession){oldSession.multiSelect.off("addRange",this.$onAddRange);oldSession.multiSelect.off("removeRange",this.$onRemoveRange);oldSession.multiSelect.off("multiSelect",this.$onMultiSelect);oldSession.multiSelect.off("singleSelect",this.$onSingleSelect);oldSession.multiSelect.lead.off("change",this.$checkMultiselectChange);oldSession.multiSelect.anchor.off("change",this.$checkMultiselectChange)}if(session){session.multiSelect.on("addRange",this.$onAddRange);session.multiSelect.on("removeRange",this.$onRemoveRange);session.multiSelect.on("multiSelect",this.$onMultiSelect);session.multiSelect.on("singleSelect",this.$onSingleSelect);session.multiSelect.lead.on("change",this.$checkMultiselectChange);session.multiSelect.anchor.on("change",this.$checkMultiselectChange)}session&&this.inMultiSelectMode!=session.selection.inMultiSelectMode&&(session.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())};function MultiSelect(editor){if(editor.$multiselectOnSessionChange)return;editor.$onAddRange=editor.$onAddRange.bind(editor);editor.$onRemoveRange=editor.$onRemoveRange.bind(editor);editor.$onMultiSelect=editor.$onMultiSelect.bind(editor);editor.$onSingleSelect=editor.$onSingleSelect.bind(editor);editor.$multiselectOnSessionChange=exports.onSessionChange.bind(editor);editor.$checkMultiselectChange=editor.$checkMultiselectChange.bind(editor);editor.$multiselectOnSessionChange(editor);editor.on("changeSession",editor.$multiselectOnSessionChange);editor.on("mousedown",onMouseDown);editor.commands.addCommands(commands.defaultCommands);addAltCursorListeners(editor)}function addAltCursorListeners(editor){var el=editor.textInput.getElement();var altCursor=false;event.addListener(el,"keydown",function(e){var altDown=18==e.keyCode&&!(e.ctrlKey||e.shiftKey||e.metaKey);if(editor.$blockSelectEnabled&&altDown){if(!altCursor){editor.renderer.setMouseCursor("crosshair");altCursor=true}}else altCursor&&reset()});event.addListener(el,"keyup",reset);event.addListener(el,"blur",reset);function reset(e){if(altCursor){editor.renderer.setMouseCursor("");altCursor=false}}}exports.MultiSelect=MultiSelect;acequire("./config").defineOptions(Editor.prototype,"editor",{enableMultiselect:{set:function(val){MultiSelect(this);if(val){this.on("changeSession",this.$multiselectOnSessionChange);this.on("mousedown",onMouseDown)}else{this.off("changeSession",this.$multiselectOnSessionChange);this.off("mousedown",onMouseDown)}},value:true},enableBlockSelect:{set:function(val){this.$blockSelectEnabled=val},value:true}})});ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(acequire,exports,module){"use strict";var Range=acequire("../../range").Range;var FoldMode=exports.FoldMode=function(){};(function(){this.foldingStartMarker=null;this.foldingStopMarker=null;this.getFoldWidget=function(session,foldStyle,row){var line=session.getLine(row);if(this.foldingStartMarker.test(line))return"start";if("markbeginend"==foldStyle&&this.foldingStopMarker&&this.foldingStopMarker.test(line))return"end";return""};this.getFoldWidgetRange=function(session,foldStyle,row){return null};this.indentationBlock=function(session,row,column){var re=/\S/;var line=session.getLine(row);var startLevel=line.search(re);if(-1==startLevel)return;var startColumn=column||line.length;var maxRow=session.getLength();var startRow=row;var endRow=row;while(++row<maxRow){var level=session.getLine(row).search(re);if(-1==level)continue;if(level<=startLevel)break;endRow=row}if(endRow>startRow){var endColumn=session.getLine(endRow).length;return new Range(startRow,startColumn,endRow,endColumn)}};this.openingBracketBlock=function(session,bracket,row,column,typeRe){var start={row:row,column:column+1};var end=session.$findClosingBracket(bracket,start,typeRe);if(!end)return;var fw=session.foldWidgets[end.row];null==fw&&(fw=session.getFoldWidget(end.row));if("start"==fw&&end.row>start.row){end.row--;end.column=session.getLine(end.row).length}return Range.fromPoints(start,end)};this.closingBracketBlock=function(session,bracket,row,column,typeRe){var end={row:row,column:column};var start=session.$findOpeningBracket(bracket,end);if(!start)return;start.column++;end.column--;return Range.fromPoints(start,end)}}).call(FoldMode.prototype)});ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(acequire,exports,module){"use strict";exports.isDark=false;exports.cssClass="ace-tm";exports.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var dom=acequire("../lib/dom");dom.importCssString(exports.cssText,exports.cssClass)});ace.define("ace/line_widgets",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/range"],function(acequire,exports,module){"use strict";acequire("./lib/oop");var dom=acequire("./lib/dom");acequire("./range").Range;function LineWidgets(session){this.session=session;this.session.widgetManager=this;this.session.getRowLength=this.getRowLength;this.session.$getWidgetScreenLength=this.$getWidgetScreenLength;this.updateOnChange=this.updateOnChange.bind(this);this.renderWidgets=this.renderWidgets.bind(this);this.measureWidgets=this.measureWidgets.bind(this);this.session._changedWidgets=[];this.$onChangeEditor=this.$onChangeEditor.bind(this);this.session.on("change",this.updateOnChange);this.session.on("changeFold",this.updateOnFold);this.session.on("changeEditor",this.$onChangeEditor)}(function(){this.getRowLength=function(row){var h;h=this.lineWidgets&&this.lineWidgets[row]&&this.lineWidgets[row].rowCount||0;return this.$useWrapMode&&this.$wrapData[row]?this.$wrapData[row].length+1+h:1+h};this.$getWidgetScreenLength=function(){var screenRows=0;this.lineWidgets.forEach(function(w){w&&w.rowCount&&!w.hidden&&(screenRows+=w.rowCount)});return screenRows};this.$onChangeEditor=function(e){this.attach(e.editor)};this.attach=function(editor){editor&&editor.widgetManager&&editor.widgetManager!=this&&editor.widgetManager.detach();if(this.editor==editor)return;this.detach();this.editor=editor;if(editor){editor.widgetManager=this;editor.renderer.on("beforeRender",this.measureWidgets);editor.renderer.on("afterRender",this.renderWidgets)}};this.detach=function(e){var editor=this.editor;if(!editor)return;this.editor=null;editor.widgetManager=null;editor.renderer.off("beforeRender",this.measureWidgets);editor.renderer.off("afterRender",this.renderWidgets);var lineWidgets=this.session.lineWidgets;lineWidgets&&lineWidgets.forEach(function(w){if(w&&w.el&&w.el.parentNode){w._inDocument=false;w.el.parentNode.removeChild(w.el)}})};this.updateOnFold=function(e,session){var lineWidgets=session.lineWidgets;if(!lineWidgets||!e.action)return;var fold=e.data;var start=fold.start.row;var end=fold.end.row;var hide="add"==e.action;for(var i=start+1;i<end;i++)lineWidgets[i]&&(lineWidgets[i].hidden=hide);if(lineWidgets[end])if(hide)lineWidgets[start]?lineWidgets[end].hidden=hide:lineWidgets[start]=lineWidgets[end];else{lineWidgets[start]==lineWidgets[end]&&(lineWidgets[start]=void 0);lineWidgets[end].hidden=hide}};this.updateOnChange=function(delta){var lineWidgets=this.session.lineWidgets;if(!lineWidgets)return;var startRow=delta.start.row;var len=delta.end.row-startRow;if(0===len);else if("remove"==delta.action){var removed=lineWidgets.splice(startRow+1,len);removed.forEach(function(w){w&&this.removeLineWidget(w)},this);this.$updateRows()}else{var args=new Array(len);args.unshift(startRow,0);lineWidgets.splice.apply(lineWidgets,args);this.$updateRows()}};this.$updateRows=function(){var lineWidgets=this.session.lineWidgets;if(!lineWidgets)return;var noWidgets=true;lineWidgets.forEach(function(w,i){if(w){noWidgets=false;w.row=i;while(w.$oldWidget){w.$oldWidget.row=i;w=w.$oldWidget}}});noWidgets&&(this.session.lineWidgets=null)};this.addLineWidget=function(w){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var old=this.session.lineWidgets[w.row];if(old){w.$oldWidget=old;if(old.el&&old.el.parentNode){old.el.parentNode.removeChild(old.el);old._inDocument=false}}this.session.lineWidgets[w.row]=w;w.session=this.session;var renderer=this.editor.renderer;if(w.html&&!w.el){w.el=dom.createElement("div");w.el.innerHTML=w.html}if(w.el){dom.addCssClass(w.el,"ace_lineWidgetContainer");w.el.style.position="absolute";w.el.style.zIndex=5;renderer.container.appendChild(w.el);w._inDocument=true}w.coverGutter||(w.el.style.zIndex=3);null==w.pixelHeight&&(w.pixelHeight=w.el.offsetHeight);null==w.rowCount&&(w.rowCount=w.pixelHeight/renderer.layerConfig.lineHeight);var fold=this.session.getFoldAt(w.row,0);w.$fold=fold;if(fold){var lineWidgets=this.session.lineWidgets;w.row!=fold.end.row||lineWidgets[fold.start.row]?w.hidden=true:lineWidgets[fold.start.row]=w}this.session._emit("changeFold",{data:{start:{row:w.row}}});this.$updateRows();this.renderWidgets(null,renderer);this.onWidgetChanged(w);return w};this.removeLineWidget=function(w){w._inDocument=false;w.session=null;w.el&&w.el.parentNode&&w.el.parentNode.removeChild(w.el);if(w.editor&&w.editor.destroy)try{w.editor.destroy()}catch(e){}if(this.session.lineWidgets){var w1=this.session.lineWidgets[w.row];if(w1==w){this.session.lineWidgets[w.row]=w.$oldWidget;w.$oldWidget&&this.onWidgetChanged(w.$oldWidget)}else while(w1){if(w1.$oldWidget==w){w1.$oldWidget=w.$oldWidget;break}w1=w1.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:w.row}}});this.$updateRows()};this.getWidgetsAtRow=function(row){var lineWidgets=this.session.lineWidgets;var w=lineWidgets&&lineWidgets[row];var list=[];while(w){list.push(w);w=w.$oldWidget}return list};this.onWidgetChanged=function(w){this.session._changedWidgets.push(w);this.editor&&this.editor.renderer.updateFull()};this.measureWidgets=function(e,renderer){var changedWidgets=this.session._changedWidgets;var config=renderer.layerConfig;if(!changedWidgets||!changedWidgets.length)return;var min=Infinity;for(var i=0;i<changedWidgets.length;i++){var w=changedWidgets[i];if(!w||!w.el)continue;if(w.session!=this.session)continue;if(!w._inDocument){if(this.session.lineWidgets[w.row]!=w)continue;w._inDocument=true;renderer.container.appendChild(w.el)}w.h=w.el.offsetHeight;if(!w.fixedWidth){w.w=w.el.offsetWidth;w.screenWidth=Math.ceil(w.w/config.characterWidth)}var rowCount=w.h/config.lineHeight;if(w.coverLine){rowCount-=this.session.getRowLineCount(w.row);rowCount<0&&(rowCount=0)}if(w.rowCount!=rowCount){w.rowCount=rowCount;w.row<min&&(min=w.row)}}if(Infinity!=min){this.session._emit("changeFold",{data:{start:{row:min}}});this.session.lineWidgetWidth=null}this.session._changedWidgets=[]};this.renderWidgets=function(e,renderer){var config=renderer.layerConfig;var lineWidgets=this.session.lineWidgets;if(!lineWidgets)return;var first=Math.min(this.firstRow,config.firstRow);var last=Math.max(this.lastRow,config.lastRow,lineWidgets.length);while(first>0&&!lineWidgets[first])first--;this.firstRow=config.firstRow;this.lastRow=config.lastRow;renderer.$cursorLayer.config=config;for(var i=first;i<=last;i++){var w=lineWidgets[i];if(!w||!w.el)continue;if(w.hidden){w.el.style.top=-100-(w.pixelHeight||0)+"px";continue}if(!w._inDocument){w._inDocument=true;renderer.container.appendChild(w.el)}var top=renderer.$cursorLayer.getPixelPosition({row:i,column:0},true).top;w.coverLine||(top+=config.lineHeight*this.session.getRowLineCount(w.row));w.el.style.top=top-config.offset+"px";var left=w.coverGutter?0:renderer.gutterWidth;w.fixedWidth||(left-=renderer.scrollLeft);w.el.style.left=left+"px";w.fullWidth&&w.screenWidth&&(w.el.style.minWidth=config.width+2*config.padding+"px");w.fixedWidth?w.el.style.right=renderer.scrollBar.getWidth()+"px":w.el.style.right=""}}}).call(LineWidgets.prototype);exports.LineWidgets=LineWidgets});ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],function(acequire,exports,module){"use strict";var LineWidgets=acequire("../line_widgets").LineWidgets;var dom=acequire("../lib/dom");var Range=acequire("../range").Range;function binarySearch(array,needle,comparator){var first=0;var last=array.length-1;while(first<=last){var mid=first+last>>1;var c=comparator(needle,array[mid]);if(c>0)first=mid+1;else{if(!(c<0))return mid;last=mid-1}}return-(first+1)}function findAnnotations(session,row,dir){var annotations=session.getAnnotations().sort(Range.comparePoints);if(!annotations.length)return;var i=binarySearch(annotations,{row:row,column:-1},Range.comparePoints);i<0&&(i=-i-1);i>=annotations.length?i=dir>0?0:annotations.length-1:0===i&&dir<0&&(i=annotations.length-1);var annotation=annotations[i];if(!annotation||!dir)return;if(annotation.row===row){do{annotation=annotations[i+=dir]}while(annotation&&annotation.row===row);if(!annotation)return annotations.slice()}var matched=[];row=annotation.row;do{matched[dir<0?"unshift":"push"](annotation);annotation=annotations[i+=dir]}while(annotation&&annotation.row==row);return matched.length&&matched}exports.showErrorMarker=function(editor,dir){var session=editor.session;if(!session.widgetManager){session.widgetManager=new LineWidgets(session);session.widgetManager.attach(editor)}var pos=editor.getCursorPosition();var row=pos.row;var oldWidget=session.widgetManager.getWidgetsAtRow(row).filter(function(w){return"errorMarker"==w.type})[0];oldWidget?oldWidget.destroy():row-=dir;var annotations=findAnnotations(session,row,dir);var gutterAnno;if(annotations){var annotation=annotations[0];pos.column=(annotation.pos&&"number"!=typeof annotation.column?annotation.pos.sc:annotation.column)||0;pos.row=annotation.row;gutterAnno=editor.renderer.$gutterLayer.$annotations[pos.row]}else{if(oldWidget)return;gutterAnno={text:["Looks good!"],className:"ace_ok"}}editor.session.unfold(pos.row);editor.selection.moveToPosition(pos);var w={row:pos.row,fixedWidth:true,coverGutter:true,el:dom.createElement("div"),type:"errorMarker"};var el=w.el.appendChild(dom.createElement("div"));var arrow=w.el.appendChild(dom.createElement("div"));arrow.className="error_widget_arrow "+gutterAnno.className;var left=editor.renderer.$cursorLayer.getPixelPosition(pos).left;arrow.style.left=left+editor.renderer.gutterWidth-5+"px";w.el.className="error_widget_wrapper";el.className="error_widget "+gutterAnno.className;el.innerHTML=gutterAnno.text.join("<br>");el.appendChild(dom.createElement("div"));var kb=function(_,hashId,keyString){if(0===hashId&&("esc"===keyString||"return"===keyString)){w.destroy();return{command:"null"}}};w.destroy=function(){if(editor.$mouseHandler.isMousePressed)return;editor.keyBinding.removeKeyboardHandler(kb);session.widgetManager.removeLineWidget(w);editor.off("changeSelection",w.destroy);editor.off("changeSession",w.destroy);editor.off("mouseup",w.destroy);editor.off("change",w.destroy)};editor.keyBinding.addKeyboardHandler(kb);editor.on("changeSelection",w.destroy);editor.on("changeSession",w.destroy);editor.on("mouseup",w.destroy);editor.on("change",w.destroy);editor.session.widgetManager.addLineWidget(w);w.el.onmousedown=editor.focus.bind(editor);editor.renderer.scrollCursorIntoView(null,.5,{bottom:w.el.offsetHeight})};dom.importCssString("    .error_widget_wrapper {        background: inherit;        color: inherit;        border:none    }    .error_widget {        border-top: solid 2px;        border-bottom: solid 2px;        margin: 5px 0;        padding: 10px 40px;        white-space: pre-wrap;    }    .error_widget.ace_error, .error_widget_arrow.ace_error{        border-color: #ff5a5a    }    .error_widget.ace_warning, .error_widget_arrow.ace_warning{        border-color: #F1D817    }    .error_widget.ace_info, .error_widget_arrow.ace_info{        border-color: #5a5a5a    }    .error_widget.ace_ok, .error_widget_arrow.ace_ok{        border-color: #5aaa5a    }    .error_widget_arrow {        position: absolute;        border: solid 5px;        border-top-color: transparent!important;        border-right-color: transparent!important;        border-left-color: transparent!important;        top: -5px;    }","")});ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],function(acequire,exports,module){"use strict";acequire("./lib/fixoldbrowsers");var dom=acequire("./lib/dom");var event=acequire("./lib/event");var Editor=acequire("./editor").Editor;var EditSession=acequire("./edit_session").EditSession;var UndoManager=acequire("./undomanager").UndoManager;var Renderer=acequire("./virtual_renderer").VirtualRenderer;acequire("./worker/worker_client");acequire("./keyboard/hash_handler");acequire("./placeholder");acequire("./multi_select");acequire("./mode/folding/fold_mode");acequire("./theme/textmate");acequire("./ext/error_marker");exports.config=acequire("./config");exports.acequire=acequire;true;exports.define=__webpack_require__(389);exports.edit=function(el){if("string"==typeof el){var _id=el;el=document.getElementById(_id);if(!el)throw new Error("ace.edit can't find div #"+_id)}if(el&&el.env&&el.env.editor instanceof Editor)return el.env.editor;var value="";if(el&&/input|textarea/i.test(el.tagName)){var oldNode=el;value=oldNode.value;el=dom.createElement("pre");oldNode.parentNode.replaceChild(el,oldNode)}else if(el){value=dom.getInnerText(el);el.innerHTML=""}var doc=exports.createEditSession(value);var editor=new Editor(new Renderer(el));editor.setSession(doc);var env={document:doc,editor:editor,onResize:editor.resize.bind(editor,null)};oldNode&&(env.textarea=oldNode);event.addListener(window,"resize",env.onResize);editor.on("destroy",function(){event.removeListener(window,"resize",env.onResize);env.editor.container.env=null});editor.container.env=editor.env=env;return editor};exports.createEditSession=function(text,mode){var doc=new EditSession(text,mode);doc.setUndoManager(new UndoManager);return doc};exports.EditSession=EditSession;exports.UndoManager=UndoManager;exports.version="1.2.9"});void ace.acequire(["ace/ace"],function(a){if(a){a.config.init(true);a.define=ace.define}window.ace||(window.ace=a);for(var key in a)a.hasOwnProperty(key)&&(window.ace[key]=a[key])});module.exports=window.ace.acequire("ace/ace")},function(module,exports,__webpack_require__){var isFunction=__webpack_require__(608),isLength=__webpack_require__(392);function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}module.exports=isArrayLike},function(module,exports,__webpack_require__){var listCacheClear=__webpack_require__(1325),listCacheDelete=__webpack_require__(1326),listCacheGet=__webpack_require__(1327),listCacheHas=__webpack_require__(1328),listCacheSet=__webpack_require__(1329);function ListCache(entries){var index=-1,length=null==entries?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;module.exports=ListCache},function(module,exports,__webpack_require__){var eq=__webpack_require__(398);function assocIndexOf(array,key){var length=array.length;while(length--)if(eq(array[length][0],key))return length;return-1}module.exports=assocIndexOf},function(module,exports,__webpack_require__){var getNative=__webpack_require__(155);var nativeCreate=getNative(Object,"create");module.exports=nativeCreate},function(module,exports,__webpack_require__){var isKeyable=__webpack_require__(1347);function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data["string"==typeof key?"string":"hash"]:data.map}module.exports=getMapData},function(module,exports,__webpack_require__){var DataView=__webpack_require__(1362),Map=__webpack_require__(399),Promise=__webpack_require__(1363),Set=__webpack_require__(1364),WeakMap=__webpack_require__(1365),baseGetTag=__webpack_require__(154),toSource=__webpack_require__(611);var mapTag="[object Map]",objectTag="[object Object]",promiseTag="[object Promise]",setTag="[object Set]",weakMapTag="[object WeakMap]";var dataViewTag="[object DataView]";var dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap);var getTag=baseGetTag;(DataView&&getTag(new DataView(new ArrayBuffer(1)))!=dataViewTag||Map&&getTag(new Map)!=mapTag||Promise&&getTag(Promise.resolve())!=promiseTag||Set&&getTag(new Set)!=setTag||WeakMap&&getTag(new WeakMap)!=weakMapTag)&&(getTag=function(value){var result=baseGetTag(value),Ctor=result==objectTag?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag}return result});module.exports=getTag},function(module,exports,__webpack_require__){var isSymbol=__webpack_require__(403);var INFINITY=1/0;function toKey(value){if("string"==typeof value||isSymbol(value))return value;var result=value+"";return"0"==result&&1/value==-INFINITY?"-0":result}module.exports=toKey},function(module,exports,__webpack_require__){var assignValue=__webpack_require__(623),baseAssignValue=__webpack_require__(624);function copyObject(source,props,object,customizer){var isNew=!object;object||(object={});var index=-1,length=props.length;while(++index<length){var key=props[index];var newValue=customizer?customizer(object[key],source[key],key,object,source):void 0;void 0===newValue&&(newValue=source[key]);isNew?baseAssignValue(object,key,newValue):assignValue(object,key,newValue)}return object}module.exports=copyObject},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(235),isObjectLike=__webpack_require__(236);var symbolTag="[object Symbol]";function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&baseGetTag(value)==symbolTag}module.exports=isSymbol},function(module,exports,__webpack_require__){var root=__webpack_require__(102);var Symbol=root.Symbol;module.exports=Symbol},function(module,exports,__webpack_require__){var listCacheClear=__webpack_require__(1457),listCacheDelete=__webpack_require__(1458),listCacheGet=__webpack_require__(1459),listCacheHas=__webpack_require__(1460),listCacheSet=__webpack_require__(1461);function ListCache(entries){var index=-1,length=null==entries?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;module.exports=ListCache},function(module,exports,__webpack_require__){var eq=__webpack_require__(640);function assocIndexOf(array,key){var length=array.length;while(length--)if(eq(array[length][0],key))return length;return-1}module.exports=assocIndexOf},function(module,exports,__webpack_require__){var getNative=__webpack_require__(186);var nativeCreate=getNative(Object,"create");module.exports=nativeCreate},function(module,exports,__webpack_require__){var isKeyable=__webpack_require__(1479);function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data["string"==typeof key?"string":"hash"]:data.map}module.exports=getMapData},function(module,exports,__webpack_require__){var isSymbol=__webpack_require__(296);var INFINITY=1/0;function toKey(value){if("string"==typeof value||isSymbol(value))return value;var result=value+"";return"0"==result&&1/value==-INFINITY?"-0":result}module.exports=toKey},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiOutsideClickDetector",{enumerable:true,get:function get(){return _outside_click_detector.EuiOutsideClickDetector}});var _outside_click_detector=__webpack_require__(1547)},function(module,exports,__webpack_require__){var defined=__webpack_require__(415);module.exports=function(it){return Object(defined(it))}},function(module,exports){var id=0;var px=Math.random();module.exports=function(key){return"Symbol(".concat(void 0===key?"":key,")_",(++id+px).toString(36))}},function(module,exports){module.exports=function(it){if("function"!=typeof it)throw TypeError(it+" is not a function!");return it}},function(module,exports){module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}}},function(module,exports,__webpack_require__){"use strict";var $at=__webpack_require__(1609)(true);__webpack_require__(668)(String,"String",function(iterated){this._t=String(iterated);this._i=0},function(){var O=this._t;var index=this._i;var point;if(index>=O.length)return{value:void 0,done:true};point=$at(O,index);this._i+=point.length;return{value:point,done:false}})},function(module,exports){module.exports=true},function(module,exports,__webpack_require__){var def=__webpack_require__(129).f;var has=__webpack_require__(158);var TAG=__webpack_require__(65)("toStringTag");module.exports=function(it,tag,stat){it&&!has(it=stat?it:it.prototype,TAG)&&def(it,TAG,{configurable:true,value:tag})}},function(module,exports,__webpack_require__){__webpack_require__(1614);var global=__webpack_require__(75);var hide=__webpack_require__(159);var Iterators=__webpack_require__(189);var TO_STRING_TAG=__webpack_require__(65)("toStringTag");var DOMIterables="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(",");for(var i=0;i<DOMIterables.length;i++){var NAME=DOMIterables[i];var Collection=global[NAME];var proto=Collection&&Collection.prototype;proto&&!proto[TO_STRING_TAG]&&hide(proto,TO_STRING_TAG,NAME);Iterators[NAME]=Iterators.Array}},function(module,exports){exports.f={}.propertyIsEnumerable},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var SortDirection={ASC:"ASC",DESC:"DESC"};exports.default=SortDirection},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.recentlyUsedRangeShape=exports.commonlyUsedRangeShape=void 0;var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var commonlyUsedRangeShape=_propTypes.default.shape({start:_propTypes.default.string.isRequired,end:_propTypes.default.string.isRequired,label:_propTypes.default.string.isRequired});exports.commonlyUsedRangeShape=commonlyUsedRangeShape;var recentlyUsedRangeShape=_propTypes.default.shape({start:_propTypes.default.string.isRequired,end:_propTypes.default.string.isRequired});exports.recentlyUsedRangeShape=recentlyUsedRangeShape},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.timeUnitsPlural=exports.timeUnits=void 0;var timeUnits={s:"second",m:"minute",h:"hour",d:"day",w:"week",M:"month",y:"year"};exports.timeUnits=timeUnits;var timeUnitsPlural={s:"seconds",m:"minutes",h:"hours",d:"days",w:"weeks",M:"months",y:"years"};exports.timeUnitsPlural=timeUnitsPlural},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiHorizontalRule",{enumerable:true,get:function get(){return _horizontal_rule.EuiHorizontalRule}});var _horizontal_rule=__webpack_require__(1717)},function(module,exports,__webpack_require__){0,factory=function(exports){"use strict";var formatDecimal=function(x,p){if((i=(x=p?x.toExponential(p-1):x.toExponential()).indexOf("e"))<0)return null;var i,coefficient=x.slice(0,i);return[coefficient.length>1?coefficient[0]+coefficient.slice(2):coefficient,+x.slice(i+1)]};var exponent=function(x){return x=formatDecimal(Math.abs(x)),x?x[1]:NaN};var formatGroup=function(grouping,thousands){return function(value,width){var i=value.length,t=[],j=0,g=grouping[0],length=0;while(i>0&&g>0){length+g+1>width&&(g=Math.max(1,width-length));t.push(value.substring(i-=g,i+g));if((length+=g+1)>width)break;g=grouping[j=(j+1)%grouping.length]}return t.reverse().join(thousands)}};var formatNumerals=function(numerals){return function(value){return value.replace(/[0-9]/g,function(i){return numerals[+i]})}};var formatDefault=function(x,p){x=x.toPrecision(p);out:for(var i1,n=x.length,i=1,i0=-1;i<n;++i)switch(x[i]){case".":i0=i1=i;break;case"0":0===i0&&(i0=i);i1=i;break;case"e":break out;default:i0>0&&(i0=0)}return i0>0?x.slice(0,i0)+x.slice(i1+1):x};var prefixExponent;var formatPrefixAuto=function(x,p){var d=formatDecimal(x,p);if(!d)return x+"";var coefficient=d[0],exponent=d[1],i=exponent-(prefixExponent=3*Math.max(-8,Math.min(8,Math.floor(exponent/3))))+1,n=coefficient.length;return i===n?coefficient:i>n?coefficient+new Array(i-n+1).join("0"):i>0?coefficient.slice(0,i)+"."+coefficient.slice(i):"0."+new Array(1-i).join("0")+formatDecimal(x,Math.max(0,p+i-1))[0]};var formatRounded=function(x,p){var d=formatDecimal(x,p);if(!d)return x+"";var coefficient=d[0],exponent=d[1];return exponent<0?"0."+new Array(-exponent).join("0")+coefficient:coefficient.length>exponent+1?coefficient.slice(0,exponent+1)+"."+coefficient.slice(exponent+1):coefficient+new Array(exponent-coefficient.length+2).join("0")};var formatTypes={"":formatDefault,"%":function(x,p){return(100*x).toFixed(p)},b:function(x){return Math.round(x).toString(2)},c:function(x){return x+""},d:function(x){return Math.round(x).toString(10)},e:function(x,p){return x.toExponential(p)},f:function(x,p){return x.toFixed(p)},g:function(x,p){return x.toPrecision(p)},o:function(x){return Math.round(x).toString(8)},p:function(x,p){return formatRounded(100*x,p)},r:formatRounded,s:formatPrefixAuto,X:function(x){return Math.round(x).toString(16).toUpperCase()},x:function(x){return Math.round(x).toString(16)}};var re=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function formatSpecifier(specifier){return new FormatSpecifier(specifier)}formatSpecifier.prototype=FormatSpecifier.prototype;function FormatSpecifier(specifier){if(!(match=re.exec(specifier)))throw new Error("invalid format: "+specifier);var match,fill=match[1]||" ",align=match[2]||">",sign=match[3]||"-",symbol=match[4]||"",zero=!!match[5],width=match[6]&&+match[6],comma=!!match[7],precision=match[8]&&+match[8].slice(1),type=match[9]||"";"n"===type?(comma=true,type="g"):formatTypes[type]||(type="");(zero||"0"===fill&&"="===align)&&(zero=true,fill="0",align="=");this.fill=fill;this.align=align;this.sign=sign;this.symbol=symbol;this.zero=zero;this.width=width;this.comma=comma;this.precision=precision;this.type=type}FormatSpecifier.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var identity=function(x){return x};var prefixes=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];var formatLocale=function(locale){var group=locale.grouping&&locale.thousands?formatGroup(locale.grouping,locale.thousands):identity,currency=locale.currency,decimal=locale.decimal,numerals=locale.numerals?formatNumerals(locale.numerals):identity,percent=locale.percent||"%";function newFormat(specifier){specifier=formatSpecifier(specifier);var fill=specifier.fill,align=specifier.align,sign=specifier.sign,symbol=specifier.symbol,zero=specifier.zero,width=specifier.width,comma=specifier.comma,precision=specifier.precision,type=specifier.type;var prefix="$"===symbol?currency[0]:"#"===symbol&&/[boxX]/.test(type)?"0"+type.toLowerCase():"",suffix="$"===symbol?currency[1]:/[%p]/.test(type)?percent:"";var formatType=formatTypes[type],maybeSuffix=!type||/[defgprs%]/.test(type);precision=null==precision?type?6:12:/[gprs]/.test(type)?Math.max(1,Math.min(21,precision)):Math.max(0,Math.min(20,precision));function format(value){var i,n,c,valuePrefix=prefix,valueSuffix=suffix;if("c"===type){valueSuffix=formatType(value)+valueSuffix;value=""}else{value=+value;var valueNegative=value<0;value=formatType(Math.abs(value),precision);valueNegative&&0===+value&&(valueNegative=false);valuePrefix=(valueNegative?"("===sign?sign:"-":"-"===sign||"("===sign?"":sign)+valuePrefix;valueSuffix=valueSuffix+("s"===type?prefixes[8+prefixExponent/3]:"")+(valueNegative&&"("===sign?")":"");if(maybeSuffix){i=-1,n=value.length;while(++i<n)if(c=value.charCodeAt(i),48>c||c>57){valueSuffix=(46===c?decimal+value.slice(i+1):value.slice(i))+valueSuffix;value=value.slice(0,i);break}}}comma&&!zero&&(value=group(value,Infinity));var length=valuePrefix.length+value.length+valueSuffix.length,padding=length<width?new Array(width-length+1).join(fill):"";comma&&zero&&(value=group(padding+value,padding.length?width-valueSuffix.length:Infinity),padding="");switch(align){case"<":value=valuePrefix+value+valueSuffix+padding;break;case"=":value=valuePrefix+padding+value+valueSuffix;break;case"^":value=padding.slice(0,length=padding.length>>1)+valuePrefix+value+valueSuffix+padding.slice(length);break;default:value=padding+valuePrefix+value+valueSuffix}return numerals(value)}format.toString=function(){return specifier+""};return format}function formatPrefix(specifier,value){var f=newFormat((specifier=formatSpecifier(specifier),specifier.type="f",specifier)),e=3*Math.max(-8,Math.min(8,Math.floor(exponent(value)/3))),k=Math.pow(10,-e),prefix=prefixes[8+e/3];return function(value){return f(k*value)+prefix}}return{format:newFormat,formatPrefix:formatPrefix}};var locale;defaultLocale({decimal:".",thousands:",",grouping:[3],currency:["$",""]});function defaultLocale(definition){locale=formatLocale(definition);exports.format=locale.format;exports.formatPrefix=locale.formatPrefix;return locale}var precisionFixed=function(step){return Math.max(0,-exponent(Math.abs(step)))};var precisionPrefix=function(step,value){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(exponent(value)/3)))-exponent(Math.abs(step)))};var precisionRound=function(step,max){step=Math.abs(step),max=Math.abs(max)-step;return Math.max(0,exponent(max)-exponent(step))+1};exports.formatDefaultLocale=defaultLocale;exports.formatLocale=formatLocale;exports.formatSpecifier=formatSpecifier;exports.precisionFixed=precisionFixed;exports.precisionPrefix=precisionPrefix;exports.precisionRound=precisionRound;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports);var factory},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports["default"]=stripStyle;function stripStyle(style){var ret={};for(var key in style){if(!Object.prototype.hasOwnProperty.call(style,key))continue;ret[key]="number"===typeof style[key]?style[key]:style[key].val}return ret}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSeriesChartAxisUtils=exports.TITLE_POSITION=exports.ORIENTATION=void 0;var _reactVis=__webpack_require__(49);var ORIENTATION={TOP:_reactVis.AxisUtils.ORIENTATION.TOP,LEFT:_reactVis.AxisUtils.ORIENTATION.LEFT,RIGHT:_reactVis.AxisUtils.ORIENTATION.RIGHT,BOTTOM:_reactVis.AxisUtils.ORIENTATION.BOTTOM,HORIZONTAL:_reactVis.AxisUtils.ORIENTATION.HORIZONTAL,VERTICAL:_reactVis.AxisUtils.ORIENTATION.VERTICAL};exports.ORIENTATION=ORIENTATION;var TITLE_POSITION={MIDDLE:"middle",START:"start",END:"end"};exports.TITLE_POSITION=TITLE_POSITION;var EuiSeriesChartAxisUtils={TITLE_POSITION:TITLE_POSITION,ORIENTATION:ORIENTATION};exports.EuiSeriesChartAxisUtils=EuiSeriesChartAxisUtils},function(module,exports,__webpack_require__){"use strict";var IntlMessageFormat=__webpack_require__(1935)["default"];__webpack_require__(1942);exports=module.exports=IntlMessageFormat;exports["default"]=exports},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _functions_registry=__webpack_require__(1959);Object.defineProperty(exports,"FunctionsRegistry",{enumerable:true,get:function get(){return _functions_registry.FunctionsRegistry}});var _types_registry=__webpack_require__(1961);Object.defineProperty(exports,"TypesRegistry",{enumerable:true,get:function get(){return _types_registry.TypesRegistry}});var _create_error=__webpack_require__(803);Object.defineProperty(exports,"createError",{enumerable:true,get:function get(){return _create_error.createError}});var _interpret=__webpack_require__(804);Object.defineProperty(exports,"interpreterProvider",{enumerable:true,get:function get(){return _interpret.interpreterProvider}});var _serialize=__webpack_require__(809);Object.defineProperty(exports,"serializeProvider",{enumerable:true,get:function get(){return _serialize.serializeProvider}});var _ast=__webpack_require__(805);Object.defineProperty(exports,"fromExpression",{enumerable:true,get:function get(){return _ast.fromExpression}});Object.defineProperty(exports,"toExpression",{enumerable:true,get:function get(){return _ast.toExpression}});Object.defineProperty(exports,"safeElementFromExpression",{enumerable:true,get:function get(){return _ast.safeElementFromExpression}});var _fn=__webpack_require__(802);Object.defineProperty(exports,"Fn",{enumerable:true,get:function get(){return _fn.Fn}});var _get_type=__webpack_require__(195);Object.defineProperty(exports,"getType",{enumerable:true,get:function get(){return _get_type.getType}});var _cast=__webpack_require__(808);Object.defineProperty(exports,"castProvider",{enumerable:true,get:function get(){return _cast.castProvider}});var _grammar=__webpack_require__(806);Object.defineProperty(exports,"parse",{enumerable:true,get:function get(){return _grammar.parse}});var _get_by_alias=__webpack_require__(807);Object.defineProperty(exports,"getByAlias",{enumerable:true,get:function get(){return _get_by_alias.getByAlias}});var _registry=__webpack_require__(461);Object.defineProperty(exports,"Registry",{enumerable:true,get:function get(){return _registry.Registry}});var _registries=__webpack_require__(1965);Object.defineProperty(exports,"addRegistries",{enumerable:true,get:function get(){return _registries.addRegistries}});Object.defineProperty(exports,"register",{enumerable:true,get:function get(){return _registries.register}});Object.defineProperty(exports,"registryFactory",{enumerable:true,get:function get(){return _registries.registryFactory}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ENTER=13;exports.SPACE=32;exports.ESCAPE=27;exports.TAB=9;exports.DOWN=40;exports.UP=38;exports.LEFT=37;exports.RIGHT=39},function(module,exports,__webpack_require__){var ITERATOR=__webpack_require__(45)("iterator");var SAFE_CLOSING=false;try{var riter=[7][ITERATOR]();riter["return"]=function(){SAFE_CLOSING=true};Array.from(riter,function(){throw 2})}catch(e){}module.exports=function(exec,skipClosing){if(!skipClosing&&!SAFE_CLOSING)return false;var safe=false;try{var arr=[7];var iter=arr[ITERATOR]();iter.next=function(){return{done:safe=true}};arr[ITERATOR]=function(){return iter};exec(arr)}catch(e){}return safe}},function(module,exports,__webpack_require__){var ctx=__webpack_require__(117);var call=__webpack_require__(839);var isArrayIter=__webpack_require__(468);var anObject=__webpack_require__(39);var toLength=__webpack_require__(67);var getIterFn=__webpack_require__(470);var BREAK={};var RETURN={};exports=module.exports=function(iterable,entries,fn,that,ITERATOR){var iterFn=ITERATOR?function(){return iterable}:getIterFn(iterable);var f=ctx(fn,that,entries?2:1);var index=0;var length,step,iterator,result;if("function"!=typeof iterFn)throw TypeError(iterable+" is not iterable!");if(isArrayIter(iterFn))for(length=toLength(iterable.length);length>index;index++){result=entries?f(anObject(step=iterable[index])[0],step[1]):f(iterable[index]);if(result===BREAK||result===RETURN)return result}else for(iterator=iterFn.call(iterable);!(step=iterator.next()).done;){result=call(iterator,f,step.value,entries);if(result===BREAK||result===RETURN)return result}};exports.BREAK=BREAK;exports.RETURN=RETURN},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(36);var dP=__webpack_require__(62);var DESCRIPTORS=__webpack_require__(85);var SPECIES=__webpack_require__(45)("species");module.exports=function(KEY){var C=global[KEY];DESCRIPTORS&&C&&!C[SPECIES]&&dP.f(C,SPECIES,{configurable:true,get:function(){return this}})}},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(36);var $export=__webpack_require__(11);var redefine=__webpack_require__(134);var redefineAll=__webpack_require__(205);var meta=__webpack_require__(135);var forOf=__webpack_require__(324);var anInstance=__webpack_require__(206);var isObject=__webpack_require__(29);var fails=__webpack_require__(51);var $iterDetect=__webpack_require__(323);var setToStringTag=__webpack_require__(203);var inheritIfRequired=__webpack_require__(2119);module.exports=function(NAME,wrapper,methods,common,IS_MAP,IS_WEAK){var Base=global[NAME];var C=Base;var ADDER=IS_MAP?"set":"add";var proto=C&&C.prototype;var O={};var fixMethod=function(KEY){var fn=proto[KEY];redefine(proto,KEY,"delete"==KEY?function(a){return!(IS_WEAK&&!isObject(a))&&fn.call(this,0===a?0:a)}:"has"==KEY?function has(a){return!(IS_WEAK&&!isObject(a))&&fn.call(this,0===a?0:a)}:"get"==KEY?function get(a){return IS_WEAK&&!isObject(a)?void 0:fn.call(this,0===a?0:a)}:"add"==KEY?function add(a){fn.call(this,0===a?0:a);return this}:function set(a,b){fn.call(this,0===a?0:a,b);return this})};if("function"==typeof C&&(IS_WEAK||proto.forEach&&!fails(function(){(new C).entries().next()}))){var instance=new C;var HASNT_CHAINING=instance[ADDER](IS_WEAK?{}:-0,1)!=instance;var THROWS_ON_PRIMITIVES=fails(function(){instance.has(1)});var ACCEPT_ITERABLES=$iterDetect(function(iter){new C(iter)});var BUGGY_ZERO=!IS_WEAK&&fails(function(){var $instance=new C;var index=5;while(index--)$instance[ADDER](index,index);return!$instance.has(-0)});if(!ACCEPT_ITERABLES){C=wrapper(function(target,iterable){anInstance(target,C,NAME);var that=inheritIfRequired(new Base,target,C);void 0!=iterable&&forOf(iterable,IS_MAP,that[ADDER],that);return that});C.prototype=proto;proto.constructor=C}if(THROWS_ON_PRIMITIVES||BUGGY_ZERO){fixMethod("delete");fixMethod("has");IS_MAP&&fixMethod("get")}(BUGGY_ZERO||HASNT_CHAINING)&&fixMethod(ADDER);IS_WEAK&&proto.clear&&delete proto.clear}else{C=common.getConstructor(wrapper,NAME,IS_MAP,ADDER);redefineAll(C.prototype,methods);meta.NEED=true}setToStringTag(C,NAME);O[NAME]=C;$export($export.G+$export.W+$export.F*(C!=Base),O);IS_WEAK||common.setStrong(C,NAME,IS_MAP);return C}},function(module,exports){exports.f=Object.getOwnPropertySymbols},function(module,exports,__webpack_require__){"use strict";var hide=__webpack_require__(98);var redefine=__webpack_require__(134);var fails=__webpack_require__(51);var defined=__webpack_require__(169);var wks=__webpack_require__(45);module.exports=function(KEY,length,exec){var SYMBOL=wks(KEY);var fns=exec(defined,SYMBOL,""[KEY]);var strfn=fns[0];var rxfn=fns[1];if(fails(function(){var O={};O[SYMBOL]=function(){return 7};return 7!=""[KEY](O)})){redefine(String.prototype,KEY,strfn);hide(RegExp.prototype,SYMBOL,2==length?function(string,arg){return rxfn.call(string,this,arg)}:function(string){return rxfn.call(string,this)})}}},function(module,exports){function EventEmitter(){this._events=this._events||{};this._maxListeners=this._maxListeners||void 0}module.exports=EventEmitter;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=void 0;EventEmitter.prototype._maxListeners=void 0;EventEmitter.defaultMaxListeners=10;EventEmitter.prototype.setMaxListeners=function(n){if(!isNumber(n)||n<0||isNaN(n))throw TypeError("n must be a positive number");this._maxListeners=n;return this};EventEmitter.prototype.emit=function(type){var er,handler,len,args,i,listeners;this._events||(this._events={});if("error"===type&&(!this._events.error||isObject(this._events.error)&&!this._events.error.length)){er=arguments[1];if(er instanceof Error)throw er;var err=new Error('Uncaught, unspecified "error" event. ('+er+")");err.context=er;throw err}handler=this._events[type];if(isUndefined(handler))return false;if(isFunction(handler))switch(arguments.length){case 1:handler.call(this);break;case 2:handler.call(this,arguments[1]);break;case 3:handler.call(this,arguments[1],arguments[2]);break;default:args=Array.prototype.slice.call(arguments,1);handler.apply(this,args)}else if(isObject(handler)){args=Array.prototype.slice.call(arguments,1);listeners=handler.slice();len=listeners.length;for(i=0;i<len;i++)listeners[i].apply(this,args)}return true};EventEmitter.prototype.addListener=function(type,listener){var m;if(!isFunction(listener))throw TypeError("listener must be a function");this._events||(this._events={});this._events.newListener&&this.emit("newListener",type,isFunction(listener.listener)?listener.listener:listener);this._events[type]?isObject(this._events[type])?this._events[type].push(listener):this._events[type]=[this._events[type],listener]:this._events[type]=listener;if(isObject(this._events[type])&&!this._events[type].warned){m=isUndefined(this._maxListeners)?EventEmitter.defaultMaxListeners:this._maxListeners;if(m&&m>0&&this._events[type].length>m){this._events[type].warned=true;console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[type].length);"function"===typeof console.trace&&console.trace()}}return this};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.once=function(type,listener){if(!isFunction(listener))throw TypeError("listener must be a function");var fired=false;function g(){this.removeListener(type,g);if(!fired){fired=true;listener.apply(this,arguments)}}g.listener=listener;this.on(type,g);return this};EventEmitter.prototype.removeListener=function(type,listener){var list,position,length,i;if(!isFunction(listener))throw TypeError("listener must be a function");if(!this._events||!this._events[type])return this;list=this._events[type];length=list.length;position=-1;if(list===listener||isFunction(list.listener)&&list.listener===listener){delete this._events[type];this._events.removeListener&&this.emit("removeListener",type,listener)}else if(isObject(list)){for(i=length;i-- >0;)if(list[i]===listener||list[i].listener&&list[i].listener===listener){position=i;break}if(position<0)return this;if(1===list.length){list.length=0;delete this._events[type]}else list.splice(position,1);this._events.removeListener&&this.emit("removeListener",type,listener)}return this};EventEmitter.prototype.removeAllListeners=function(type){var key,listeners;if(!this._events)return this;if(!this._events.removeListener){0===arguments.length?this._events={}:this._events[type]&&delete this._events[type];return this}if(0===arguments.length){for(key in this._events){if("removeListener"===key)continue;this.removeAllListeners(key)}this.removeAllListeners("removeListener");this._events={};return this}listeners=this._events[type];if(isFunction(listeners))this.removeListener(type,listeners);else if(listeners)while(listeners.length)this.removeListener(type,listeners[listeners.length-1]);delete this._events[type];return this};EventEmitter.prototype.listeners=function(type){var ret;ret=this._events&&this._events[type]?isFunction(this._events[type])?[this._events[type]]:this._events[type].slice():[];return ret};EventEmitter.prototype.listenerCount=function(type){if(this._events){var evlistener=this._events[type];if(isFunction(evlistener))return 1;if(evlistener)return evlistener.length}return 0};EventEmitter.listenerCount=function(emitter,type){return emitter.listenerCount(type)};function isFunction(arg){return"function"===typeof arg}function isNumber(arg){return"number"===typeof arg}function isObject(arg){return"object"===typeof arg&&null!==arg}function isUndefined(arg){return void 0===arg}},function(module,exports,__webpack_require__){"use strict";var os=__webpack_require__(2233);function tryParseNumber(text,stopAtNext){var number,string="",leadingZeros=0,testLeading=true;var at=0;var ch;function next(){ch=text.charAt(at);at++;return ch}next();if("-"===ch){string="-";next()}while(ch>="0"&&ch<="9"){testLeading&&("0"==ch?leadingZeros++:testLeading=false);string+=ch;next()}testLeading&&leadingZeros--;if("."===ch){string+=".";while(next()&&ch>="0"&&ch<="9")string+=ch}if("e"===ch||"E"===ch){string+=ch;next();if("-"===ch||"+"===ch){string+=ch;next()}while(ch>="0"&&ch<="9"){string+=ch;next()}}while(ch&&ch<=" ")next();stopAtNext&&(","!==ch&&"}"!==ch&&"]"!==ch&&"#"!==ch&&("/"!==ch||"/"!==text[at]&&"*"!==text[at])||(ch=0));number=+string;return ch||leadingZeros||!isFinite(number)?void 0:number}function createComment(value,comment){Object.defineProperty&&Object.defineProperty(value,"__COMMENTS__",{enumerable:false,writable:true});return value.__COMMENTS__=comment||{}}function removeComment(value){Object.defineProperty(value,"__COMMENTS__",{value:void 0})}function getComment(value){return value.__COMMENTS__}function forceComment(text){if(!text)return"";var a=text.split("\n");var str,i,j,len;for(j=0;j<a.length;j++){str=a[j];len=str.length;for(i=0;i<len;i++){var c=str[i];if("#"===c)break;if("/"===c&&("/"===str[i+1]||"*"===str[i+1])){"*"===str[i+1]&&(j=a.length);break}if(c>" "){a[j]="# "+str;break}}}return a.join("\n")}module.exports={EOL:os.EOL||"\n",tryParseNumber:tryParseNumber,createComment:createComment,removeComment:removeComment,getComment:getComment,forceComment:forceComment}},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),Paren=__webpack_require__(332),Combinator=__webpack_require__(869);var Element=function(combinator,value,index,currentFileInfo,info){this.combinator=combinator instanceof Combinator?combinator:new Combinator(combinator);this.value="string"===typeof value?value.trim():value||"";this.index=index;this.currentFileInfo=currentFileInfo;this.copyVisibilityInfo(info)};Element.prototype=new Node;Element.prototype.type="Element";Element.prototype.accept=function(visitor){var value=this.value;this.combinator=visitor.visit(this.combinator);"object"===typeof value&&(this.value=visitor.visit(value))};Element.prototype.eval=function(context){return new Element(this.combinator,this.value.eval?this.value.eval(context):this.value,this.index,this.currentFileInfo,this.visibilityInfo())};Element.prototype.clone=function(){return new Element(this.combinator,this.value,this.index,this.currentFileInfo,this.visibilityInfo())};Element.prototype.genCSS=function(context,output){output.add(this.toCSS(context),this.currentFileInfo,this.index)};Element.prototype.toCSS=function(context){context=context||{};var value=this.value,firstSelector=context.firstSelector;value instanceof Paren&&(context.firstSelector=true);value=value.toCSS?value.toCSS(context):value;context.firstSelector=firstSelector;return""===value&&"&"===this.combinator.value.charAt(0)?"":this.combinator.toCSS(context)+value};module.exports=Element},function(module,exports,__webpack_require__){var Node=__webpack_require__(21);var Paren=function(node){this.value=node};Paren.prototype=new Node;Paren.prototype.type="Paren";Paren.prototype.genCSS=function(context,output){output.add("(");this.value.genCSS(context,output);output.add(")")};Paren.prototype.eval=function(context){return new Paren(this.value.eval(context))};module.exports=Paren},function(module,exports,__webpack_require__){var Node=__webpack_require__(21);var Keyword=function(value){this.value=value};Keyword.prototype=new Node;Keyword.prototype.type="Keyword";Keyword.prototype.genCSS=function(context,output){if("%"===this.value)throw{type:"Syntax",message:"Invalid % without number"};output.add(this.value)};Keyword.True=new Keyword("true");Keyword.False=new Keyword("false");module.exports=Keyword},function(module,exports,__webpack_require__){var Node=__webpack_require__(21);var Variable=function(name,index,currentFileInfo){this.name=name;this.index=index;this.currentFileInfo=currentFileInfo||{}};Variable.prototype=new Node;Variable.prototype.type="Variable";Variable.prototype.eval=function(context){var variable,name=this.name;0===name.indexOf("@@")&&(name="@"+new Variable(name.slice(1),this.index,this.currentFileInfo).eval(context).value);if(this.evaluating)throw{type:"Name",message:"Recursive variable definition for "+name,filename:this.currentFileInfo.filename,index:this.index};this.evaluating=true;variable=this.find(context.frames,function(frame){var v=frame.variable(name);if(v){if(v.important){var importantScope=context.importantScope[context.importantScope.length-1];importantScope.important=v.important}return v.value.eval(context)}});if(variable){this.evaluating=false;return variable}throw{type:"Name",message:"variable "+name+" is undefined",filename:this.currentFileInfo.filename,index:this.index}};Variable.prototype.find=function(obj,fun){for(var r,i=0;i<obj.length;i++){r=fun.call(obj,obj[i]);if(r)return r}return null};module.exports=Variable},function(module,exports,__webpack_require__){var utils=__webpack_require__(495);var LessError=module.exports=function LessError(e,importManager,currentFilename){Error.call(this);var filename=e.filename||currentFilename;if(importManager&&filename){var input=importManager.contents[filename],loc=utils.getLocation(e.index,input),line=loc.line,col=loc.column,callLine=e.call&&utils.getLocation(e.call,input).line,lines=input.split("\n");this.type=e.type||"Syntax";this.filename=filename;this.index=e.index;this.line="number"===typeof line?line+1:null;this.callLine=callLine+1;this.callExtract=lines[callLine];this.column=col;this.extract=[lines[line-1],lines[line],lines[line+1]]}this.message=e.message;this.stack=e.stack};if("undefined"===typeof Object.create){var F=function(){};F.prototype=Error.prototype;LessError.prototype=new F}else LessError.prototype=Object.create(Error.prototype);LessError.prototype.constructor=LessError},function(module,exports,__webpack_require__){(function(global,process){var formatRegExp=/%[sdj%]/g;exports.format=function(f){if(!isString(f)){var objects=[];for(var i=0;i<arguments.length;i++)objects.push(inspect(arguments[i]));return objects.join(" ")}i=1;var args=arguments;var len=args.length;var str=String(f).replace(formatRegExp,function(x){if("%%"===x)return"%";if(i>=len)return x;switch(x){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}default:return x}});for(var x=args[i];i<len;x=args[++i])isNull(x)||!isObject(x)?str+=" "+x:str+=" "+inspect(x);return str};exports.deprecate=function(fn,msg){if(isUndefined(global.process))return function(){return exports.deprecate(fn,msg).apply(this,arguments)};if(true===process.noDeprecation)return fn;var warned=false;function deprecated(){if(!warned){if(process.throwDeprecation)throw new Error(msg);process.traceDeprecation?console.trace(msg):console.error(msg);warned=true}return fn.apply(this,arguments)}return deprecated};var debugs={};var debugEnviron;exports.debuglog=function(set){isUndefined(debugEnviron)&&(debugEnviron=process.env.NODE_DEBUG||"");set=set.toUpperCase();if(!debugs[set])if(new RegExp("\\b"+set+"\\b","i").test(debugEnviron)){var pid=process.pid;debugs[set]=function(){var msg=exports.format.apply(exports,arguments);console.error("%s %d: %s",set,pid,msg)}}else debugs[set]=function(){};return debugs[set]};function inspect(obj,opts){var ctx={seen:[],stylize:stylizeNoColor};arguments.length>=3&&(ctx.depth=arguments[2]);arguments.length>=4&&(ctx.colors=arguments[3]);isBoolean(opts)?ctx.showHidden=opts:opts&&exports._extend(ctx,opts);isUndefined(ctx.showHidden)&&(ctx.showHidden=false);isUndefined(ctx.depth)&&(ctx.depth=2);isUndefined(ctx.colors)&&(ctx.colors=false);isUndefined(ctx.customInspect)&&(ctx.customInspect=true);ctx.colors&&(ctx.stylize=stylizeWithColor);return formatValue(ctx,obj,ctx.depth)}exports.inspect=inspect;inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];return style?"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m":str}function stylizeNoColor(str,styleType){return str}function arrayToHash(array){var hash={};array.forEach(function(val,idx){hash[val]=true});return hash}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&!(value.constructor&&value.constructor.prototype===value)){var ret=value.inspect(recurseTimes,ctx);isString(ret)||(ret=formatValue(ctx,ret,recurseTimes));return ret}var primitive=formatPrimitive(ctx,value);if(primitive)return primitive;var keys=Object.keys(value);var visibleKeys=arrayToHash(keys);ctx.showHidden&&(keys=Object.getOwnPropertyNames(value));if(isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0))return formatError(value);if(0===keys.length){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value))return ctx.stylize(RegExp.prototype.toString.call(value),"regexp");if(isDate(value))return ctx.stylize(Date.prototype.toString.call(value),"date");if(isError(value))return formatError(value)}var base="",array=false,braces=["{","}"];if(isArray(value)){array=true;braces=["[","]"]}if(isFunction(value)){var n=value.name?": "+value.name:"";base=" [Function"+n+"]"}isRegExp(value)&&(base=" "+RegExp.prototype.toString.call(value));isDate(value)&&(base=" "+Date.prototype.toUTCString.call(value));isError(value)&&(base=" "+formatError(value));if(0===keys.length&&(!array||0==value.length))return braces[0]+base+braces[1];if(recurseTimes<0)return isRegExp(value)?ctx.stylize(RegExp.prototype.toString.call(value),"regexp"):ctx.stylize("[Object]","special");ctx.seen.push(value);var output;output=array?formatArray(ctx,value,recurseTimes,visibleKeys,keys):keys.map(function(key){return formatProperty(ctx,value,recurseTimes,visibleKeys,key,array)});ctx.seen.pop();return reduceToSingleString(output,base,braces)}function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ctx.stylize(simple,"string")}if(isNumber(value))return ctx.stylize(""+value,"number");if(isBoolean(value))return ctx.stylize(""+value,"boolean");if(isNull(value))return ctx.stylize("null","null")}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatArray(ctx,value,recurseTimes,visibleKeys,keys){var output=[];for(var i=0,l=value.length;i<l;++i)hasOwnProperty(value,String(i))?output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,String(i),true)):output.push("");keys.forEach(function(key){key.match(/^\d+$/)||output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,key,true))});return output}function formatProperty(ctx,value,recurseTimes,visibleKeys,key,array){var name,str,desc;desc=Object.getOwnPropertyDescriptor(value,key)||{value:value[key]};desc.get?str=desc.set?ctx.stylize("[Getter/Setter]","special"):ctx.stylize("[Getter]","special"):desc.set&&(str=ctx.stylize("[Setter]","special"));hasOwnProperty(visibleKeys,key)||(name="["+key+"]");if(!str)if(ctx.seen.indexOf(desc.value)<0){str=isNull(recurseTimes)?formatValue(ctx,desc.value,null):formatValue(ctx,desc.value,recurseTimes-1);str.indexOf("\n")>-1&&(str=array?str.split("\n").map(function(line){return"  "+line}).join("\n").substr(2):"\n"+str.split("\n").map(function(line){return"   "+line}).join("\n"))}else str=ctx.stylize("[Circular]","special");if(isUndefined(name)){if(array&&key.match(/^\d+$/))return str;name=JSON.stringify(""+key);if(name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)){name=name.substr(1,name.length-2);name=ctx.stylize(name,"name")}else{name=name.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'");name=ctx.stylize(name,"string")}}return name+": "+str}function reduceToSingleString(output,base,braces){var numLinesEst=0;var length=output.reduce(function(prev,cur){numLinesEst++;cur.indexOf("\n")>=0&&numLinesEst++;return prev+cur.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(length>60)return braces[0]+(""===base?"":base+"\n ")+" "+output.join(",\n  ")+" "+braces[1];return braces[0]+base+" "+output.join(", ")+" "+braces[1]}function isArray(ar){return Array.isArray(ar)}exports.isArray=isArray;function isBoolean(arg){return"boolean"===typeof arg}exports.isBoolean=isBoolean;function isNull(arg){return null===arg}exports.isNull=isNull;function isNullOrUndefined(arg){return null==arg}exports.isNullOrUndefined=isNullOrUndefined;function isNumber(arg){return"number"===typeof arg}exports.isNumber=isNumber;function isString(arg){return"string"===typeof arg}exports.isString=isString;function isSymbol(arg){return"symbol"===typeof arg}exports.isSymbol=isSymbol;function isUndefined(arg){return void 0===arg}exports.isUndefined=isUndefined;function isRegExp(re){return isObject(re)&&"[object RegExp]"===objectToString(re)}exports.isRegExp=isRegExp;function isObject(arg){return"object"===typeof arg&&null!==arg}exports.isObject=isObject;function isDate(d){return isObject(d)&&"[object Date]"===objectToString(d)}exports.isDate=isDate;function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}exports.isError=isError;function isFunction(arg){return"function"===typeof arg}exports.isFunction=isFunction;function isPrimitive(arg){return null===arg||"boolean"===typeof arg||"number"===typeof arg||"string"===typeof arg||"symbol"===typeof arg||"undefined"===typeof arg}exports.isPrimitive=isPrimitive;exports.isBuffer=__webpack_require__(2306);function objectToString(o){return Object.prototype.toString.call(o)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function timestamp(){var d=new Date;var time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(":");return[d.getDate(),months[d.getMonth()],time].join(" ")}exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))};exports.inherits=__webpack_require__(2307);exports._extend=function(origin,add){if(!add||!isObject(add))return origin;var keys=Object.keys(add);var i=keys.length;while(i--)origin[keys[i]]=add[keys[i]];return origin};function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}}).call(this,__webpack_require__(18),__webpack_require__(59))},function(module,exports,__webpack_require__){"use strict";(function(process){!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?module.exports={nextTick:nextTick}:module.exports=process;function nextTick(fn,arg1,arg2,arg3){if("function"!==typeof fn)throw new TypeError('"callback" argument must be a function');var len=arguments.length;var args,i;switch(len){case 0:case 1:return process.nextTick(fn);case 2:return process.nextTick(function afterTickOne(){fn.call(null,arg1)});case 3:return process.nextTick(function afterTickTwo(){fn.call(null,arg1,arg2)});case 4:return process.nextTick(function afterTickThree(){fn.call(null,arg1,arg2,arg3)});default:args=new Array(len-1);i=0;while(i<args.length)args[i++]=arguments[i];return process.nextTick(function afterTick(){fn.apply(null,args)})}}}).call(this,__webpack_require__(59))},function(module,exports,__webpack_require__){var buffer=__webpack_require__(66);var Buffer=buffer.Buffer;function copyProps(src,dst){for(var key in src)dst[key]=src[key]}if(Buffer.from&&Buffer.alloc&&Buffer.allocUnsafe&&Buffer.allocUnsafeSlow)module.exports=buffer;else{copyProps(buffer,exports);exports.Buffer=SafeBuffer}function SafeBuffer(arg,encodingOrOffset,length){return Buffer(arg,encodingOrOffset,length)}copyProps(Buffer,SafeBuffer);SafeBuffer.from=function(arg,encodingOrOffset,length){if("number"===typeof arg)throw new TypeError("Argument must not be a number");return Buffer(arg,encodingOrOffset,length)};SafeBuffer.alloc=function(size,fill,encoding){if("number"!==typeof size)throw new TypeError("Argument must be a number");var buf=Buffer(size);void 0!==fill?"string"===typeof encoding?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0);return buf};SafeBuffer.allocUnsafe=function(size){if("number"!==typeof size)throw new TypeError("Argument must be a number");return Buffer(size)};SafeBuffer.allocUnsafeSlow=function(size){if("number"!==typeof size)throw new TypeError("Argument must be a number");return buffer.SlowBuffer(size)}},function(module,exports,__webpack_require__){"use strict";var TYPED_OK="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;function _has(obj,key){return Object.prototype.hasOwnProperty.call(obj,key)}exports.assign=function(obj){var sources=Array.prototype.slice.call(arguments,1);while(sources.length){var source=sources.shift();if(!source)continue;if("object"!==typeof source)throw new TypeError(source+"must be non-object");for(var p in source)_has(source,p)&&(obj[p]=source[p])}return obj};exports.shrinkBuf=function(buf,size){if(buf.length===size)return buf;if(buf.subarray)return buf.subarray(0,size);buf.length=size;return buf};var fnTyped={arraySet:function(dest,src,src_offs,len,dest_offs){if(src.subarray&&dest.subarray){dest.set(src.subarray(src_offs,src_offs+len),dest_offs);return}for(var i=0;i<len;i++)dest[dest_offs+i]=src[src_offs+i]},flattenChunks:function(chunks){var i,l,len,pos,chunk,result;len=0;for(i=0,l=chunks.length;i<l;i++)len+=chunks[i].length;result=new Uint8Array(len);pos=0;for(i=0,l=chunks.length;i<l;i++){chunk=chunks[i];result.set(chunk,pos);pos+=chunk.length}return result}};var fnUntyped={arraySet:function(dest,src,src_offs,len,dest_offs){for(var i=0;i<len;i++)dest[dest_offs+i]=src[src_offs+i]},flattenChunks:function(chunks){return[].concat.apply([],chunks)}};exports.setTyped=function(on){if(on){exports.Buf8=Uint8Array;exports.Buf16=Uint16Array;exports.Buf32=Int32Array;exports.assign(exports,fnTyped)}else{exports.Buf8=Array;exports.Buf16=Array;exports.Buf32=Array;exports.assign(exports,fnUntyped)}};exports.setTyped(TYPED_OK)},function(module,exports,__webpack_require__){"use strict";var objects={keys:function(object){var key,result=[];for(key in object)object.hasOwnProperty(key)&&result.push(key);return result},values:function(object){var key,result=[];for(key in object)object.hasOwnProperty(key)&&result.push(object[key]);return result},clone:function(object){var key,result={};for(key in object)object.hasOwnProperty(key)&&(result[key]=object[key]);return result},defaults:function(object,defaults){var key;for(key in defaults)defaults.hasOwnProperty(key)&&(key in object||(object[key]=defaults[key]))}};module.exports=objects},function(module,exports,__webpack_require__){"use strict";var classes=__webpack_require__(2419);function GrammarError(message,location){this.name="GrammarError";this.message=message;this.location=location;"function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,GrammarError)}classes.subclass(GrammarError,Error);module.exports=GrammarError},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(2432)()},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(2444)()},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _captialize=__webpack_require__(2447);Object.defineProperty(exports,"captialize",{enumerable:true,get:function get(){return _interopRequireDefault(_captialize).default}});var _clamp=__webpack_require__(2448);Object.defineProperty(exports,"clamp",{enumerable:true,get:function get(){return _interopRequireDefault(_clamp).default}});var _distanceTo=__webpack_require__(2449);Object.defineProperty(exports,"distanceTo",{enumerable:true,get:function get(){return _interopRequireDefault(_distanceTo).default}});var _isDefined=__webpack_require__(2450);Object.defineProperty(exports,"isDefined",{enumerable:true,get:function get(){return _interopRequireDefault(_isDefined).default}});var _isNumber=__webpack_require__(2451);Object.defineProperty(exports,"isNumber",{enumerable:true,get:function get(){return _interopRequireDefault(_isNumber).default}});var _isObject=__webpack_require__(2452);Object.defineProperty(exports,"isObject",{enumerable:true,get:function get(){return _interopRequireDefault(_isObject).default}});var _length=__webpack_require__(2453);Object.defineProperty(exports,"length",{enumerable:true,get:function get(){return _interopRequireDefault(_length).default}});function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},function(module,exports,__webpack_require__){"use strict";module.exports=decimal;function decimal(character){var code="string"===typeof character?character.charCodeAt(0):character;return code>=48&&code<=57}},function(module,exports,__webpack_require__){"use strict";module.exports=visit;var is=__webpack_require__(2492);var CONTINUE=true;var SKIP="skip";var EXIT=false;visit.CONTINUE=CONTINUE;visit.SKIP=SKIP;visit.EXIT=EXIT;function visit(tree,test,visitor,reverse){if("function"===typeof test&&"function"!==typeof visitor){reverse=visitor;visitor=test;test=null}one(tree);function one(node,index,parent){var result;index=index||(parent?0:null);test&&node.type!==test&&!is(test,node,index,parent||null)||(result=visitor(node,index,parent||null));if(result===EXIT)return result;if(node.children&&result!==SKIP)return all(node.children,node)===EXIT?EXIT:result;return result}function all(children,parent){var step=reverse?-1:1;var index=(reverse?children.length:-1)+step;var child;var result;while(index>-1&&index<children.length){child=children[index];result=child&&one(child,index,parent);if(result===EXIT)return result;index="number"===typeof result?result:index+step}return CONTINUE}}},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(2563)()},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.locationsAreEqual=exports.createLocation=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _resolvePathname=__webpack_require__(2565);var _resolvePathname2=_interopRequireDefault(_resolvePathname);var _valueEqual=__webpack_require__(2566);var _valueEqual2=_interopRequireDefault(_valueEqual);var _PathUtils=__webpack_require__(261);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.createLocation=function createLocation(path,state,key,currentLocation){var location=void 0;if("string"===typeof path){location=(0,_PathUtils.parsePath)(path);location.state=state}else{location=_extends({},path);void 0===location.pathname&&(location.pathname="");location.search?"?"!==location.search.charAt(0)&&(location.search="?"+location.search):location.search="";location.hash?"#"!==location.hash.charAt(0)&&(location.hash="#"+location.hash):location.hash="";void 0!==state&&void 0===location.state&&(location.state=state)}try{location.pathname=decodeURI(location.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+location.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}key&&(location.key=key);currentLocation?location.pathname?"/"!==location.pathname.charAt(0)&&(location.pathname=(0,_resolvePathname2.default)(location.pathname,currentLocation.pathname)):location.pathname=currentLocation.pathname:location.pathname||(location.pathname="/");return location};exports.locationsAreEqual=function locationsAreEqual(a,b){return a.pathname===b.pathname&&a.search===b.search&&a.hash===b.hash&&a.key===b.key&&(0,_valueEqual2.default)(a.state,b.state)}},function(module,exports,__webpack_require__){"use strict";var warning=function(){};false;module.exports=warning},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(177),getPrototype=__webpack_require__(2617),isObjectLike=__webpack_require__(217);var objectTag="[object Object]";var funcProto=Function.prototype,objectProto=Object.prototype;var funcToString=funcProto.toString;var hasOwnProperty=objectProto.hasOwnProperty;var objectCtorString=funcToString.call(Object);function isPlainObject(value){if(!isObjectLike(value)||baseGetTag(value)!=objectTag)return false;var proto=getPrototype(value);if(null===proto)return true;var Ctor=hasOwnProperty.call(proto,"constructor")&&proto.constructor;return"function"==typeof Ctor&&Ctor instanceof Ctor&&funcToString.call(Ctor)==objectCtorString}module.exports=isPlainObject},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _enable_super_gross_mode_that_will_cause_bad_things=false;exports.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(value){if(value){var error=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+error.stack)}else _enable_super_gross_mode_that_will_cause_bad_things&&console.log("RxJS: Back to a better error behavior. Thank you. <3");_enable_super_gross_mode_that_will_cause_bad_things=value},get useDeprecatedSynchronousErrorHandling(){return _enable_super_gross_mode_that_will_cause_bad_things}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function noop(){}exports.noop=noop},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var ObjectUnsubscribedError=function(_super){__extends(ObjectUnsubscribedError,_super);function ObjectUnsubscribedError(){var _this=_super.call(this,"object unsubscribed")||this;_this.name="ObjectUnsubscribedError";Object.setPrototypeOf(_this,ObjectUnsubscribedError.prototype);return _this}return ObjectUnsubscribedError}(Error);exports.ObjectUnsubscribedError=ObjectUnsubscribedError},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var empty_1=__webpack_require__(69);var of_1=__webpack_require__(530);var throwError_1=__webpack_require__(532);var Notification=function(){function Notification(kind,value,error){this.kind=kind;this.value=value;this.error=error;this.hasValue="N"===kind}Notification.prototype.observe=function(observer){switch(this.kind){case"N":return observer.next&&observer.next(this.value);case"E":return observer.error&&observer.error(this.error);case"C":return observer.complete&&observer.complete()}};Notification.prototype.do=function(next,error,complete){var kind=this.kind;switch(kind){case"N":return next&&next(this.value);case"E":return error&&error(this.error);case"C":return complete&&complete()}};Notification.prototype.accept=function(nextOrObserver,error,complete){return nextOrObserver&&"function"===typeof nextOrObserver.next?this.observe(nextOrObserver):this.do(nextOrObserver,error,complete)};Notification.prototype.toObservable=function(){var kind=this.kind;switch(kind){case"N":return of_1.of(this.value);case"E":return throwError_1.throwError(this.error);case"C":return empty_1.empty()}throw new Error("unexpected notification kind value")};Notification.createNext=function(value){if("undefined"!==typeof value)return new Notification("N",value);return Notification.undefinedValueNotification};Notification.createError=function(err){return new Notification("E",void 0,err)};Notification.createComplete=function(){return Notification.completeNotification};Notification.completeNotification=new Notification("C");Notification.undefinedValueNotification=new Notification("N",void 0);return Notification}();exports.Notification=Notification},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subject_1=__webpack_require__(63);var Subscription_1=__webpack_require__(52);var AsyncSubject=function(_super){__extends(AsyncSubject,_super);function AsyncSubject(){var _this=null!==_super&&_super.apply(this,arguments)||this;_this.value=null;_this.hasNext=false;_this.hasCompleted=false;return _this}AsyncSubject.prototype._subscribe=function(subscriber){if(this.hasError){subscriber.error(this.thrownError);return Subscription_1.Subscription.EMPTY}if(this.hasCompleted&&this.hasNext){subscriber.next(this.value);subscriber.complete();return Subscription_1.Subscription.EMPTY}return _super.prototype._subscribe.call(this,subscriber)};AsyncSubject.prototype.next=function(value){if(!this.hasCompleted){this.value=value;this.hasNext=true}};AsyncSubject.prototype.error=function(error){this.hasCompleted||_super.prototype.error.call(this,error)};AsyncSubject.prototype.complete=function(){this.hasCompleted=true;this.hasNext&&_super.prototype.next.call(this,this.value);_super.prototype.complete.call(this)};return AsyncSubject}(Subject_1.Subject);exports.AsyncSubject=AsyncSubject},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var isScheduler_1=__webpack_require__(90);var of_1=__webpack_require__(530);var from_1=__webpack_require__(109);var concatAll_1=__webpack_require__(977);function concat(){var observables=[];for(var _i=0;_i<arguments.length;_i++)observables[_i]=arguments[_i];if(1===observables.length||2===observables.length&&isScheduler_1.isScheduler(observables[1]))return from_1.from(observables[0]);return concatAll_1.concatAll()(of_1.of.apply(void 0,observables))}exports.concat=concat},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var isArray_1=__webpack_require__(68);function isNumeric(val){return!isArray_1.isArray(val)&&val-parseFloat(val)+1>=0}exports.isNumeric=isNumeric},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var tap_1=__webpack_require__(986);var EmptyError_1=__webpack_require__(268);exports.throwIfEmpty=function(errorFactory){void 0===errorFactory&&(errorFactory=defaultErrorFactory);return tap_1.tap({hasValue:false,next:function(){this.hasValue=true},complete:function(){if(!this.hasValue)throw errorFactory()}})};function defaultErrorFactory(){return new EmptyError_1.EmptyError}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var scan_1=__webpack_require__(539);var takeLast_1=__webpack_require__(538);var defaultIfEmpty_1=__webpack_require__(271);var pipe_1=__webpack_require__(527);function reduce(accumulator,seed){if(arguments.length>=2)return function reduceOperatorFunctionWithSeed(source){return pipe_1.pipe(scan_1.scan(accumulator,seed),takeLast_1.takeLast(1),defaultIfEmpty_1.defaultIfEmpty(seed))(source)};return function reduceOperatorFunction(source){return pipe_1.pipe(scan_1.scan(function(acc,value,index){return accumulator(acc,value,index+1)}),takeLast_1.takeLast(1))(source)}}exports.reduce=reduce},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"fromLiteralExpression",function(){return fromLiteralExpression});__webpack_require__.d(__webpack_exports__,"fromLegacyKueryExpression",function(){return fromLegacyKueryExpression});__webpack_require__.d(__webpack_exports__,"fromKueryExpression",function(){return fromKueryExpression});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return toElasticsearchQuery});__webpack_require__.d(__webpack_exports__,"doesKueryExpressionHaveLuceneSyntaxError",function(){return doesKueryExpressionHaveLuceneSyntaxError});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);var _node_types_index__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(22);var _kuery__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(275);var _legacy_kuery__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1005);function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function fromLiteralExpression(expression,parseOptions){parseOptions=_objectSpread({},parseOptions,{startRule:"Literal"});return fromExpression(expression,parseOptions,_kuery__WEBPACK_IMPORTED_MODULE_2__["parse"])}function fromLegacyKueryExpression(expression,parseOptions){return fromExpression(expression,parseOptions,_legacy_kuery__WEBPACK_IMPORTED_MODULE_3__["parse"])}function fromKueryExpression(expression,parseOptions){return fromExpression(expression,parseOptions,_kuery__WEBPACK_IMPORTED_MODULE_2__["parse"])}function fromExpression(expression){var parseOptions=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var parse=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_kuery__WEBPACK_IMPORTED_MODULE_2__["parse"];if(lodash__WEBPACK_IMPORTED_MODULE_0___default.a.isUndefined(expression))throw new Error("expression must be a string, got undefined instead");parseOptions=_objectSpread({},parseOptions,{helpers:{nodeTypes:_node_types_index__WEBPACK_IMPORTED_MODULE_1__["nodeTypes"]}});return parse(expression,parseOptions)}function toElasticsearchQuery(node,indexPattern){if(!node||!node.type||!_node_types_index__WEBPACK_IMPORTED_MODULE_1__["nodeTypes"][node.type])return toElasticsearchQuery(_node_types_index__WEBPACK_IMPORTED_MODULE_1__["nodeTypes"].function.buildNode("and",[]));return _node_types_index__WEBPACK_IMPORTED_MODULE_1__["nodeTypes"][node.type].toElasticsearchQuery(node,indexPattern)}function doesKueryExpressionHaveLuceneSyntaxError(expression){try{fromExpression(expression,{errorOnLuceneSyntax:true},_kuery__WEBPACK_IMPORTED_MODULE_2__["parse"]);return false}catch(e){return e.message.startsWith("Lucene")}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildPhraseFilter",function(){return buildPhraseFilter});__webpack_require__.d(__webpack_exports__,"getPhraseScript",function(){return getPhraseScript});__webpack_require__.d(__webpack_exports__,"getConvertedValueForField",function(){return getConvertedValueForField});__webpack_require__.d(__webpack_exports__,"buildInlineScriptForPhraseFilter",function(){return buildInlineScriptForPhraseFilter});function buildPhraseFilter(field,value,indexPattern){var filter={meta:{index:indexPattern.id}};var convertedValue=getConvertedValueForField(field,value);if(field.scripted){filter.script=getPhraseScript(field,value);filter.meta.field=field.name}else{filter.query={match:{}};filter.query.match[field.name]={query:convertedValue,type:"phrase"}}return filter}function getPhraseScript(field,value){var convertedValue=getConvertedValueForField(field,value);var script=buildInlineScriptForPhraseFilter(field);return{script:{source:script,lang:field.lang,params:{value:convertedValue}}}}function getConvertedValueForField(field,value){if("boolean"!==typeof value&&"boolean"===field.type){if([1,"true"].includes(value))return true;if([0,"false"].includes(value))return false;throw new Error("".concat(value," is not a valid boolean value for boolean field ").concat(field.name))}return value}function buildInlineScriptForPhraseFilter(scriptedField){return"painless"===scriptedField.lang?"boolean compare(Supplier s, def v) {return s.get() == v;}"+"compare(() -> { ".concat(scriptedField.script," }, params.value);"):"(".concat(scriptedField.script,") == value")}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildQueryFromFilters",function(){return buildQueryFromFilters});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);var _migrate_filter__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(273);var _filter_matches_index__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(274);var filterNegate=function filterNegate(reverse){return function(filter){if(lodash__WEBPACK_IMPORTED_MODULE_0___default.a.isUndefined(filter.meta)||lodash__WEBPACK_IMPORTED_MODULE_0___default.a.isUndefined(filter.meta.negate))return!reverse;return filter.meta&&filter.meta.negate===reverse}};var translateToQuery=function translateToQuery(filter){if(!filter)return;if(filter.query)return filter.query;return filter};var cleanFilter=function cleanFilter(filter){return lodash__WEBPACK_IMPORTED_MODULE_0___default.a.omit(filter,["meta","$state"])};function buildQueryFromFilters(){var filters=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];var indexPattern=arguments.length>1?arguments[1]:void 0;var ignoreFilterIfFieldNotInIndex=arguments.length>2?arguments[2]:void 0;return{must:filters.filter(filterNegate(false)).filter(function(filter){return!ignoreFilterIfFieldNotInIndex||Object(_filter_matches_index__WEBPACK_IMPORTED_MODULE_2__["filterMatchesIndex"])(filter,indexPattern)}).map(translateToQuery).map(cleanFilter).map(function(filter){return Object(_migrate_filter__WEBPACK_IMPORTED_MODULE_1__["migrateFilter"])(filter,indexPattern)}),filter:[],should:[],must_not:filters.filter(filterNegate(true)).filter(function(filter){return!ignoreFilterIfFieldNotInIndex||Object(_filter_matches_index__WEBPACK_IMPORTED_MODULE_2__["filterMatchesIndex"])(filter,indexPattern)}).map(translateToQuery).map(cleanFilter).map(function(filter){return Object(_migrate_filter__WEBPACK_IMPORTED_MODULE_1__["migrateFilter"])(filter,indexPattern)})}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"decorateQuery",function(){return decorateQuery});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);function decorateQuery(query,queryStringOptions){lodash__WEBPACK_IMPORTED_MODULE_0___default.a.has(query,"query_string.query")&&lodash__WEBPACK_IMPORTED_MODULE_0___default.a.extend(query.query_string,queryStringOptions);return query}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"luceneStringToDsl",function(){return luceneStringToDsl});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);function luceneStringToDsl(query){if(!lodash__WEBPACK_IMPORTED_MODULE_0___default.a.isString(query))return query;if(""===query.trim())return{match_all:{}};return{query_string:{query:query}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"getFields",function(){return getFields});var _node_types_literal__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(100);var _node_types_wildcard__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(179);function getFields(node,indexPattern){if("literal"===node.type){var fieldName=_node_types_literal__WEBPACK_IMPORTED_MODULE_0__["toElasticsearchQuery"](node);var field=indexPattern.fields.find(function(field){return field.name===fieldName});if(!field)return[];return[field]}if("wildcard"===node.type){var fields=indexPattern.fields.filter(function(field){return _node_types_wildcard__WEBPACK_IMPORTED_MODULE_1__["test"](node,field.name)});return fields}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"functions",function(){return functions});var _is__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(996);var _and__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(997);var _or__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(998);var _not__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(999);var _range__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1e3);var _exists__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1001);var _geo_bounding_box__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(1002);var _geo_polygon__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1003);var functions={is:_is__WEBPACK_IMPORTED_MODULE_0__,and:_and__WEBPACK_IMPORTED_MODULE_1__,or:_or__WEBPACK_IMPORTED_MODULE_2__,not:_not__WEBPACK_IMPORTED_MODULE_3__,range:_range__WEBPACK_IMPORTED_MODULE_4__,exists:_exists__WEBPACK_IMPORTED_MODULE_5__,geoBoundingBox:_geo_bounding_box__WEBPACK_IMPORTED_MODULE_6__,geoPolygon:_geo_polygon__WEBPACK_IMPORTED_MODULE_7__}},function(module,exports,__webpack_require__){var core=__webpack_require__(145);var global=__webpack_require__(55);var SHARED="__core-js_shared__";var store=global[SHARED]||(global[SHARED]={});(module.exports=function(key,value){return store[key]||(store[key]=void 0!==value?value:{})})("versions",[]).push({version:core.version,mode:__webpack_require__(222)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(71);var document=__webpack_require__(55).document;var is=isObject(document)&&isObject(document.createElement);module.exports=function(it){return is?document.createElement(it):{}}},function(module,exports,__webpack_require__){var cof=__webpack_require__(147);module.exports=Object("z").propertyIsEnumerable(0)?Object:function(it){return"String"==cof(it)?it.split(""):Object(it)}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(77);var dPs=__webpack_require__(1020);var enumBugKeys=__webpack_require__(373);var IE_PROTO=__webpack_require__(372)("IE_PROTO");var Empty=function(){};var PROTOTYPE="prototype";var createDict=function(){var iframe=__webpack_require__(368)("iframe");var i=enumBugKeys.length;var lt="<";var gt=">";var iframeDocument;iframe.style.display="none";__webpack_require__(548).appendChild(iframe);iframe.src="javascript:";iframeDocument=iframe.contentWindow.document;iframeDocument.open();iframeDocument.write(lt+"script"+gt+"document.F=Object"+lt+"/script"+gt);iframeDocument.close();createDict=iframeDocument.F;while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];return createDict()};module.exports=Object.create||function create(O,Properties){var result;if(null!==O){Empty[PROTOTYPE]=anObject(O);result=new Empty;Empty[PROTOTYPE]=null;result[IE_PROTO]=O}else result=createDict();return void 0===Properties?result:dPs(result,Properties)}},function(module,exports){var ceil=Math.ceil;var floor=Math.floor;module.exports=function(it){return isNaN(it=+it)?0:(it>0?floor:ceil)(it)}},function(module,exports,__webpack_require__){var shared=__webpack_require__(367)("keys");var uid=__webpack_require__(223);module.exports=function(key){return shared[key]||(shared[key]=uid(key))}},function(module,exports){module.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(module,exports,__webpack_require__){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var getOwnPropertySymbols=Object.getOwnPropertySymbols;var hasOwnProperty=Object.prototype.hasOwnProperty;var propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(null===val||void 0===val)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}function shouldUseNative(){try{if(!Object.assign)return false;var test1=new String("abc");test1[5]="de";if("5"===Object.getOwnPropertyNames(test1)[0])return false;var test2={};for(var i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;var order2=Object.getOwnPropertyNames(test2).map(function(n){return test2[n]});if("0123456789"!==order2.join(""))return false;var test3={};"abcdefghijklmnopqrst".split("").forEach(function(letter){test3[letter]=letter});if("abcdefghijklmnopqrst"!==Object.keys(Object.assign({},test3)).join(""))return false;return true}catch(err){return false}}module.exports=shouldUseNative()?Object.assign:function(target,source){var from;var to=toObject(target);var symbols;for(var s=1;s<arguments.length;s++){from=Object(arguments[s]);for(var key in from)hasOwnProperty.call(from,key)&&(to[key]=from[key]);if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from);for(var i=0;i<symbols.length;i++)propIsEnumerable.call(from,symbols[i])&&(to[symbols[i]]=from[symbols[i]])}}return to}},function(module,exports){exports.f=Object.getOwnPropertySymbols},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.keysOf=keysOf;__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);function keysOf(obj){return Object.keys(obj)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFlexGroup=exports.DIRECTIONS=exports.JUSTIFY_CONTENTS=exports.ALIGN_ITEMS=exports.GUTTER_SIZES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var gutterSizeToClassNameMap={none:null,xs:"euiFlexGroup--gutterExtraSmall",s:"euiFlexGroup--gutterSmall",m:"euiFlexGroup--gutterMedium",l:"euiFlexGroup--gutterLarge",xl:"euiFlexGroup--gutterExtraLarge"};var GUTTER_SIZES=Object.keys(gutterSizeToClassNameMap);exports.GUTTER_SIZES=GUTTER_SIZES;var alignItemsToClassNameMap={stretch:null,flexStart:"euiFlexGroup--alignItemsFlexStart",flexEnd:"euiFlexGroup--alignItemsFlexEnd",center:"euiFlexGroup--alignItemsCenter",baseline:"euiFlexGroup--alignItemsBaseline"};var ALIGN_ITEMS=Object.keys(alignItemsToClassNameMap);exports.ALIGN_ITEMS=ALIGN_ITEMS;var justifyContentToClassNameMap={flexStart:null,flexEnd:"euiFlexGroup--justifyContentFlexEnd",center:"euiFlexGroup--justifyContentCenter",spaceBetween:"euiFlexGroup--justifyContentSpaceBetween",spaceAround:"euiFlexGroup--justifyContentSpaceAround",spaceEvenly:"euiFlexGroup--justifyContentSpaceEvenly"};var JUSTIFY_CONTENTS=Object.keys(justifyContentToClassNameMap);exports.JUSTIFY_CONTENTS=JUSTIFY_CONTENTS;var directionToClassNameMap={row:"euiFlexGroup--directionRow",rowReverse:"euiFlexGroup--directionRowReverse",column:"euiFlexGroup--directionColumn",columnReverse:"euiFlexGroup--directionColumnReverse"};var DIRECTIONS=Object.keys(directionToClassNameMap);exports.DIRECTIONS=DIRECTIONS;var EuiFlexGroup=function EuiFlexGroup(_ref){var children=_ref.children,className=_ref.className,gutterSize=_ref.gutterSize,alignItems=_ref.alignItems,responsive=_ref.responsive,justifyContent=_ref.justifyContent,direction=_ref.direction,wrap=_ref.wrap,Component=_ref.component,rest=_objectWithoutProperties(_ref,["children","className","gutterSize","alignItems","responsive","justifyContent","direction","wrap","component"]);var classes=(0,_classnames.default)("euiFlexGroup",gutterSizeToClassNameMap[gutterSize],alignItemsToClassNameMap[alignItems],justifyContentToClassNameMap[justifyContent],directionToClassNameMap[direction],{"euiFlexGroup--responsive":responsive,"euiFlexGroup--wrap":wrap},className);return _react.default.createElement(Component,_extends({className:classes},rest),children)};exports.EuiFlexGroup=EuiFlexGroup;EuiFlexGroup.propTypes={alignItems:_propTypes.default.oneOf(ALIGN_ITEMS),children:_propTypes.default.node,className:_propTypes.default.string,component:_propTypes.default.oneOf(["div","span"]),direction:_propTypes.default.oneOf(DIRECTIONS),gutterSize:_propTypes.default.oneOf(GUTTER_SIZES),justifyContent:_propTypes.default.oneOf(JUSTIFY_CONTENTS),responsive:_propTypes.default.bool,wrap:_propTypes.default.bool};EuiFlexGroup.defaultProps={gutterSize:"l",alignItems:"stretch",responsive:true,justifyContent:"flexStart",direction:"row",component:"div",wrap:false};EuiFlexGroup.__docgenInfo={description:"",methods:[],displayName:"EuiFlexGroup",props:{gutterSize:{defaultValue:{value:"'l'",computed:false},type:{name:"enum",value:[{value:'"none"',computed:false},{value:'"xs"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false},{value:'"xl"',computed:false}]},required:false,description:""},alignItems:{defaultValue:{value:"'stretch'",computed:false},type:{name:"enum",value:[{value:'"stretch"',computed:false},{value:'"flexStart"',computed:false},{value:'"flexEnd"',computed:false},{value:'"center"',computed:false},{value:'"baseline"',computed:false}]},required:false,description:""},responsive:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:""},justifyContent:{defaultValue:{value:"'flexStart'",computed:false},type:{name:"enum",value:[{value:'"flexStart"',computed:false},{value:'"flexEnd"',computed:false},{value:'"center"',computed:false},{value:'"spaceBetween"',computed:false},{value:'"spaceAround"',computed:false},{value:'"spaceEvenly"',computed:false}]},required:false,description:""},direction:{defaultValue:{value:"'row'",computed:false},type:{name:"enum",value:[{value:'"row"',computed:false},{value:'"rowReverse"',computed:false},{value:'"column"',computed:false},{value:'"columnReverse"',computed:false}]},required:false,description:""},component:{defaultValue:{value:"'div'",computed:false},type:{name:"enum",value:[{value:"'div'",computed:false},{value:"'span'",computed:false}]},required:false,description:""},wrap:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";var anObject=__webpack_require__(77);module.exports=function(){var that=anObject(this);var result="";that.global&&(result+="g");that.ignoreCase&&(result+="i");that.multiline&&(result+="m");that.unicode&&(result+="u");that.sticky&&(result+="y");return result}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"isColorDark",{enumerable:true,get:function get(){return _is_color_dark.isColorDark}});Object.defineProperty(exports,"hexToRgb",{enumerable:true,get:function get(){return _hex_to_rgb.hexToRgb}});Object.defineProperty(exports,"rgbToHex",{enumerable:true,get:function get(){return _rgb_to_hex.rgbToHex}});Object.defineProperty(exports,"calculateContrast",{enumerable:true,get:function get(){return _luminance_and_contrast.calculateContrast}});Object.defineProperty(exports,"calculateLuminance",{enumerable:true,get:function get(){return _luminance_and_contrast.calculateLuminance}});Object.defineProperty(exports,"VISUALIZATION_COLORS",{enumerable:true,get:function get(){return _visualization_colors.VISUALIZATION_COLORS}});Object.defineProperty(exports,"DEFAULT_VISUALIZATION_COLOR",{enumerable:true,get:function get(){return _visualization_colors.DEFAULT_VISUALIZATION_COLOR}});Object.defineProperty(exports,"colorPalette",{enumerable:true,get:function get(){return _color_palette.colorPalette}});Object.defineProperty(exports,"palettes",{enumerable:true,get:function get(){return _eui_palettes.palettes}});var _is_color_dark=__webpack_require__(1042);var _hex_to_rgb=__webpack_require__(564);var _rgb_to_hex=__webpack_require__(1043);var _luminance_and_contrast=__webpack_require__(1044);var _visualization_colors=__webpack_require__(1045);var _color_palette=__webpack_require__(1046);var _eui_palettes=__webpack_require__(1047);__webpack_require__(1048)},function(module,exports,__webpack_require__){__webpack_require__(282)("split",2,function(defined,SPLIT,$split){"use strict";var isRegExp=__webpack_require__(381);var _split=$split;var $push=[].push;var $SPLIT="split";var LENGTH="length";var LAST_INDEX="lastIndex";if("c"=="abbc"[$SPLIT](/(b)*/)[1]||4!="test"[$SPLIT](/(?:)/,-1)[LENGTH]||2!="ab"[$SPLIT](/(?:ab)*/)[LENGTH]||4!="."[$SPLIT](/(.?)(.?)/)[LENGTH]||"."[$SPLIT](/()()/)[LENGTH]>1||""[$SPLIT](/.?/)[LENGTH]){var NPCG=void 0===/()??/.exec("")[1];$split=function(separator,limit){var string=String(this);if(void 0===separator&&0===limit)return[];if(!isRegExp(separator))return _split.call(string,separator,limit);var output=[];var flags=(separator.ignoreCase?"i":"")+(separator.multiline?"m":"")+(separator.unicode?"u":"")+(separator.sticky?"y":"");var lastLastIndex=0;var splitLimit=void 0===limit?4294967295:limit>>>0;var separatorCopy=new RegExp(separator.source,flags+"g");var separator2,match,lastIndex,lastLength,i;NPCG||(separator2=new RegExp("^"+separatorCopy.source+"$(?!\\s)",flags));while(match=separatorCopy.exec(string)){lastIndex=match.index+match[0][LENGTH];if(lastIndex>lastLastIndex){output.push(string.slice(lastLastIndex,match.index));!NPCG&&match[LENGTH]>1&&match[0].replace(separator2,function(){for(i=1;i<arguments[LENGTH]-2;i++)void 0===arguments[i]&&(match[i]=void 0)});match[LENGTH]>1&&match.index<string[LENGTH]&&$push.apply(output,match.slice(1));lastLength=match[0][LENGTH];lastLastIndex=lastIndex;if(output[LENGTH]>=splitLimit)break}separatorCopy[LAST_INDEX]===match.index&&separatorCopy[LAST_INDEX]++}lastLastIndex===string[LENGTH]?!lastLength&&separatorCopy.test("")||output.push(""):output.push(string.slice(lastLastIndex));return output[LENGTH]>splitLimit?output.slice(0,splitLimit):output}}else"0"[$SPLIT](void 0,0)[LENGTH]&&($split=function(separator,limit){return void 0===separator&&0===limit?[]:_split.call(this,separator,limit)});return[function split(separator,limit){var O=defined(this);var fn=void 0==separator?void 0:separator[SPLIT];return void 0!==fn?fn.call(separator,O,limit):$split.call(String(O),separator,limit)},$split]})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(71);var cof=__webpack_require__(147);var MATCH=__webpack_require__(40)("match");module.exports=function(it){var isRegExp;return isObject(it)&&(void 0!==(isRegExp=it[MATCH])?!!isRegExp:"RegExp"==cof(it))}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SortDirectionType=exports.SortDirection=void 0;__webpack_require__(181);var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ASC="asc";var DESC="desc";var SortDirection=Object.freeze({ASC:ASC,DESC:DESC,isAsc:function isAsc(direction){return direction===ASC},reverse:function reverse(direction){return this.isAsc(direction)?DESC:ASC}});exports.SortDirection=SortDirection;var SortDirectionType=_propTypes.default.oneOf([ASC,DESC]);exports.SortDirectionType=SortDirectionType},function(module,exports,__webpack_require__){"use strict";__webpack_require__(1078)("anchor",function(createHTML){return function anchor(name){return createHTML(this,"a","name",name)}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiBadge",{enumerable:true,get:function get(){return _badge.EuiBadge}});Object.defineProperty(exports,"EuiBetaBadge",{enumerable:true,get:function get(){return _beta_badge.EuiBetaBadge}});Object.defineProperty(exports,"EuiNotificationBadge",{enumerable:true,get:function get(){return _notification_badge.EuiNotificationBadge}});var _badge=__webpack_require__(1083);var _beta_badge=__webpack_require__(283);var _notification_badge=__webpack_require__(587)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiContext",{enumerable:true,get:function get(){return _context.EuiContext}});Object.defineProperty(exports,"EuiI18nConsumer",{enumerable:true,get:function get(){return _context.EuiI18nConsumer}});var _context=__webpack_require__(1093)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"COLORS",{enumerable:true,get:function get(){return _button_empty.COLORS}});Object.defineProperty(exports,"ICON_SIDES",{enumerable:true,get:function get(){return _button_empty.ICON_SIDES}});Object.defineProperty(exports,"EuiButtonEmpty",{enumerable:true,get:function get(){return _button_empty.EuiButtonEmpty}});var _button_empty=__webpack_require__(1103)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiToggle",{enumerable:true,get:function get(){return _toggle.EuiToggle}});Object.defineProperty(exports,"TOGGLE_TYPES",{enumerable:true,get:function get(){return _toggle.TYPES}});var _toggle=__webpack_require__(1106)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiCodeBlockImpl=exports.PADDING_SIZES=exports.FONT_SIZES=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(9);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _focusTrapReact=_interopRequireDefault(__webpack_require__(126));var _highlight=_interopRequireDefault(__webpack_require__(1114));var _button=__webpack_require__(43);var _overlay_mask=__webpack_require__(286);var _services=__webpack_require__(25);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{_n||null==_i["return"]||_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var fontSizeToClassNameMap={s:"euiCodeBlock--fontSmall",m:"euiCodeBlock--fontMedium",l:"euiCodeBlock--fontLarge"};var FONT_SIZES=Object.keys(fontSizeToClassNameMap);exports.FONT_SIZES=FONT_SIZES;var paddingSizeToClassNameMap={none:"",s:"euiCodeBlock--paddingSmall",m:"euiCodeBlock--paddingMedium",l:"euiCodeBlock--paddingLarge"};var PADDING_SIZES=Object.keys(paddingSizeToClassNameMap);exports.PADDING_SIZES=PADDING_SIZES;var EuiCodeBlockImpl=function(_Component){_inherits(EuiCodeBlockImpl,_Component);function EuiCodeBlockImpl(props){var _this;_classCallCheck(this,EuiCodeBlockImpl);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiCodeBlockImpl).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"highlight",function(){if(_this.props.language){_highlight.default.highlightBlock(_this.code);_this.codeFullScreen&&_highlight.default.highlightBlock(_this.codeFullScreen)}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onKeyDown",function(event){if(event.keyCode===_services.keyCodes.ESCAPE){event.preventDefault();event.stopPropagation();_this.closeFullScreen()}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"toggleFullScreen",function(){_this.setState(function(prevState){return{isFullScreen:!prevState.isFullScreen}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"closeFullScreen",function(){_this.setState({isFullScreen:false})});_this.state={isFullScreen:false};return _this}_createClass(EuiCodeBlockImpl,[{key:"componentDidMount",value:function componentDidMount(){this.highlight()}},{key:"componentDidUpdate",value:function componentDidUpdate(){this.highlight()}},{key:"render",value:function render(){var _this2=this;var _this$props=this.props,inline=_this$props.inline,children=_this$props.children,className=_this$props.className,fontSize=_this$props.fontSize,language=_this$props.language,overflowHeight=_this$props.overflowHeight,paddingSize=_this$props.paddingSize,transparentBackground=_this$props.transparentBackground,otherProps=_objectWithoutProperties(_this$props,["inline","children","className","fontSize","language","overflowHeight","paddingSize","transparentBackground"]);var classes=(0,_classnames.default)("euiCodeBlock",fontSizeToClassNameMap[fontSize],paddingSizeToClassNameMap[paddingSize],{"euiCodeBlock--transparentBackground":transparentBackground,"euiCodeBlock--inline":inline},className);var codeClasses=(0,_classnames.default)("euiCodeBlock__code",language);var optionalStyles={};overflowHeight&&(optionalStyles.height=overflowHeight);var codeSnippet=_react.default.createElement("code",_extends({ref:function ref(_ref){_this2.code=_ref},className:codeClasses},otherProps),children);var wrapperProps={className:classes,style:optionalStyles};if(inline)return _react.default.createElement("span",wrapperProps,codeSnippet);var fullScreenButton;!inline&&overflowHeight&&(fullScreenButton=_react.default.createElement(_i18n.EuiI18n,{tokens:["euiCodeBlock.fullscreenCollapse","euiCodeBlock.fullscreenExpand"],defaults:["Collapse","Expand"]},function(_ref2){var _ref3=_slicedToArray(_ref2,2),fullscreenCollapse=_ref3[0],fullscreenExpand=_ref3[1];return _react.default.createElement(_button.EuiButtonIcon,{className:"euiCodeBlock__fullScreenButton",size:"s",onClick:_this2.toggleFullScreen,iconType:_this2.state.isFullScreen?"cross":"fullScreen",color:"text","aria-label":_this2.state.isFullScreen?fullscreenCollapse:fullscreenExpand})}));var fullScreenDisplay;if(this.state.isFullScreen){var fullScreenClasses=(0,_classnames.default)("euiCodeBlock",fontSizeToClassNameMap[fontSize],"euiCodeBlock-paddingLarge","euiCodeBlock-isFullScreen",className);fullScreenDisplay=_react.default.createElement(_focusTrapReact.default,{focusTrapOptions:{clickOutsideDeactivates:true,initialFocus:function initialFocus(){return _this2.codeFullScreen}}},_react.default.createElement(_overlay_mask.EuiOverlayMask,null,_react.default.createElement("div",{className:fullScreenClasses},_react.default.createElement("pre",{className:"euiCodeBlock__pre"},_react.default.createElement("code",{ref:function ref(_ref4){_this2.codeFullScreen=_ref4},className:codeClasses,tabIndex:0,onKeyDown:this.onKeyDown},children)),fullScreenButton)))}return _react.default.createElement("div",wrapperProps,_react.default.createElement("pre",{className:"euiCodeBlock__pre"},codeSnippet),fullScreenButton,fullScreenDisplay)}}]);return EuiCodeBlockImpl}(_react.Component);exports.EuiCodeBlockImpl=EuiCodeBlockImpl;EuiCodeBlockImpl.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,paddingSize:_propTypes.default.oneOf(PADDING_SIZES),language:_propTypes.default.string,overflowHeight:_propTypes.default.number,fontSize:_propTypes.default.oneOf(FONT_SIZES),transparentBackground:_propTypes.default.bool,inline:_propTypes.default.bool};EuiCodeBlockImpl.defaultProps={transparentBackground:false,paddingSize:"l",fontSize:"s"};EuiCodeBlockImpl.__docgenInfo={description:"This is the base component extended by EuiCode and EuiCodeBlock. These components\nshare the same propTypes definition with EuiCodeBlockImpl.",methods:[{name:"highlight",docblock:null,modifiers:[],params:[],returns:null},{name:"onKeyDown",docblock:null,modifiers:[],params:[{name:"event",type:null}],returns:null},{name:"toggleFullScreen",docblock:null,modifiers:[],params:[],returns:null},{name:"closeFullScreen",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiCodeBlockImpl",props:{transparentBackground:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},paddingSize:{defaultValue:{value:"'l'",computed:false},type:{name:"enum",value:[{value:'"none"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false}]},required:false,description:""},fontSize:{defaultValue:{value:"'s'",computed:false},type:{name:"enum",value:[{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false}]},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},language:{type:{name:"string"},required:false,description:"Sets the syntax highlighting for a specific language"},overflowHeight:{type:{name:"number"},required:false,description:""},inline:{type:{name:"bool"},required:false,description:"Displays the passed code in an inline format. Also removes any margins set."}}}},function(module,exports){module.exports=function(){throw new Error("define cannot be used indirect")}},function(module,exports,__webpack_require__){var baseForOwn=__webpack_require__(602),castFunction=__webpack_require__(1319);function forOwn(object,iteratee){return object&&baseForOwn(object,castFunction(iteratee))}module.exports=forOwn},function(module,exports,__webpack_require__){(function(module){var root=__webpack_require__(101),stubFalse=__webpack_require__(1315);var freeExports=(true,exports)&&!exports.nodeType&&exports;var freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module;var moduleExports=freeModule&&freeModule.exports===freeExports;var Buffer=moduleExports?root.Buffer:void 0;var nativeIsBuffer=Buffer?Buffer.isBuffer:void 0;var isBuffer=nativeIsBuffer||stubFalse;module.exports=isBuffer}).call(this,__webpack_require__(82)(module))},function(module,exports){var MAX_SAFE_INTEGER=9007199254740991;function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}module.exports=isLength},function(module,exports){function baseUnary(func){return function(value){return func(value)}}module.exports=baseUnary},function(module,exports,__webpack_require__){(function(module){var freeGlobal=__webpack_require__(601);var freeExports=(true,exports)&&!exports.nodeType&&exports;var freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module;var moduleExports=freeModule&&freeModule.exports===freeExports;var freeProcess=moduleExports&&freeGlobal.process;var nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;if(types)return types;return freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();module.exports=nodeUtil}).call(this,__webpack_require__(82)(module))},function(module,exports){var objectProto=Object.prototype;function isPrototype(value){var Ctor=value&&value.constructor,proto="function"==typeof Ctor&&Ctor.prototype||objectProto;return value===proto}module.exports=isPrototype},function(module,exports,__webpack_require__){var overArg=__webpack_require__(607);var getPrototype=overArg(Object.getPrototypeOf,Object);module.exports=getPrototype},function(module,exports,__webpack_require__){var ListCache=__webpack_require__(289),stackClear=__webpack_require__(1330),stackDelete=__webpack_require__(1331),stackGet=__webpack_require__(1332),stackHas=__webpack_require__(1333),stackSet=__webpack_require__(1334);function Stack(entries){var data=this.__data__=new ListCache(entries);this.size=data.size}Stack.prototype.clear=stackClear;Stack.prototype["delete"]=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;module.exports=Stack},function(module,exports){function eq(value,other){return value===other||value!==value&&other!==other}module.exports=eq},function(module,exports,__webpack_require__){var getNative=__webpack_require__(155),root=__webpack_require__(101);var Map=getNative(root,"Map");module.exports=Map},function(module,exports,__webpack_require__){var mapCacheClear=__webpack_require__(1339),mapCacheDelete=__webpack_require__(1346),mapCacheGet=__webpack_require__(1348),mapCacheHas=__webpack_require__(1349),mapCacheSet=__webpack_require__(1350);function MapCache(entries){var index=-1,length=null==entries?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;module.exports=MapCache},function(module,exports,__webpack_require__){var arrayFilter=__webpack_require__(1361),stubArray=__webpack_require__(618);var objectProto=Object.prototype;var propertyIsEnumerable=objectProto.propertyIsEnumerable;var nativeGetSymbols=Object.getOwnPropertySymbols;var getSymbols=nativeGetSymbols?function(object){if(null==object)return[];object=Object(object);return arrayFilter(nativeGetSymbols(object),function(symbol){return propertyIsEnumerable.call(object,symbol)})}:stubArray;module.exports=getSymbols},function(module,exports,__webpack_require__){var isArray=__webpack_require__(95),isSymbol=__webpack_require__(403);var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(value,object){if(isArray(value))return false;var type=typeof value;if("number"==type||"symbol"==type||"boolean"==type||null==value||isSymbol(value))return true;return reIsPlainProp.test(value)||!reIsDeepProp.test(value)||null!=object&&value in Object(object)}module.exports=isKey},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(154),isObjectLike=__webpack_require__(114);var symbolTag="[object Symbol]";function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&baseGetTag(value)==symbolTag}module.exports=isSymbol},function(module,exports,__webpack_require__){var Uint8Array=__webpack_require__(614);function cloneArrayBuffer(arrayBuffer){var result=new arrayBuffer.constructor(arrayBuffer.byteLength);new Uint8Array(result).set(new Uint8Array(arrayBuffer));return result}module.exports=cloneArrayBuffer},function(module,exports,__webpack_require__){var arrayLikeKeys=__webpack_require__(1435),baseKeys=__webpack_require__(1442),isArrayLike=__webpack_require__(407);function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}module.exports=keys},function(module,exports){var MAX_SAFE_INTEGER=9007199254740991;function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}module.exports=isLength},function(module,exports,__webpack_require__){var isFunction=__webpack_require__(636),isLength=__webpack_require__(406);function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}module.exports=isArrayLike},function(module,exports,__webpack_require__){var getNative=__webpack_require__(186),root=__webpack_require__(102);var Map=getNative(root,"Map");module.exports=Map},function(module,exports,__webpack_require__){var mapCacheClear=__webpack_require__(1471),mapCacheDelete=__webpack_require__(1478),mapCacheGet=__webpack_require__(1480),mapCacheHas=__webpack_require__(1481),mapCacheSet=__webpack_require__(1482);function MapCache(entries){var index=-1,length=null==entries?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;module.exports=MapCache},function(module,exports,__webpack_require__){var isArray=__webpack_require__(103),isSymbol=__webpack_require__(296);var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(value,object){if(isArray(value))return false;var type=typeof value;if("number"==type||"symbol"==type||"boolean"==type||null==value||isSymbol(value))return true;return reIsPlainProp.test(value)||!reIsDeepProp.test(value)||null!=object&&value in Object(object)}module.exports=isKey},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiCheckbox=exports.TYPES=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(9);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _lodash=__webpack_require__(10);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var typeToClassNameMap={inList:"euiCheckbox--inList"};var TYPES=Object.keys(typeToClassNameMap);exports.TYPES=TYPES;var EuiCheckbox=function(_Component){_inherits(EuiCheckbox,_Component);function EuiCheckbox(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiCheckbox);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiCheckbox)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setInputRef",function(input){_this.inputRef=input;_this.props.inputRef&&_this.props.inputRef(input);_this.invalidateIndeterminate()});return _this}_createClass(EuiCheckbox,[{key:"componentDidMount",value:function componentDidMount(){this.invalidateIndeterminate()}},{key:"componentDidUpdate",value:function componentDidUpdate(){this.invalidateIndeterminate()}},{key:"render",value:function render(){var _this$props=this.props,className=_this$props.className,id=_this$props.id,checked=_this$props.checked,label=_this$props.label,onChange=_this$props.onChange,type=_this$props.type,disabled=_this$props.disabled,compressed=_this$props.compressed,rest=_objectWithoutProperties(_this$props,["className","id","checked","label","onChange","type","disabled","compressed"]);var inputProps=(0,_lodash.omit)(rest,"indeterminate");var classes=(0,_classnames.default)("euiCheckbox",typeToClassNameMap[type],{"euiCheckbox--noLabel":!label,"euiCheckbox--compressed":compressed},className);var optionalLabel;label&&(optionalLabel=_react.default.createElement("label",{className:"euiCheckbox__label",htmlFor:id},label));return _react.default.createElement("div",{className:classes},_react.default.createElement("input",_extends({className:"euiCheckbox__input",type:"checkbox",id:id,checked:checked,onChange:onChange,disabled:disabled,ref:this.setInputRef},inputProps)),_react.default.createElement("div",{className:"euiCheckbox__square"}),optionalLabel)}},{key:"invalidateIndeterminate",value:function invalidateIndeterminate(){this.inputRef&&(this.inputRef.indeterminate=this.props.indeterminate)}}]);return EuiCheckbox}(_react.Component);exports.EuiCheckbox=EuiCheckbox;EuiCheckbox.propTypes={className:_propTypes.default.string,id:_propTypes.default.string.isRequired,checked:_propTypes.default.bool,label:_propTypes.default.node,onChange:_propTypes.default.func.isRequired,type:_propTypes.default.oneOf(TYPES),disabled:_propTypes.default.bool,indeterminate:_propTypes.default.bool,compressed:_propTypes.default.bool};EuiCheckbox.defaultProps={checked:false,disabled:false,indeterminate:false,compressed:false};EuiCheckbox.__docgenInfo={description:"",methods:[{name:"setInputRef",docblock:null,modifiers:[],params:[{name:"input",type:null}],returns:null},{name:"invalidateIndeterminate",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiCheckbox",props:{checked:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},disabled:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},indeterminate:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},compressed:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"when `true` creates a shorter height checkbox row"},className:{type:{name:"string"},required:false,description:""},id:{type:{name:"string"},required:true,description:""},label:{type:{name:"node"},required:false,description:""},onChange:{type:{name:"func"},required:true,description:""},type:{type:{name:"enum",value:[{value:'"inList"',computed:false}]},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFieldSearch=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(19);__webpack_require__(2);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _browser=__webpack_require__(1571);var _key_codes=__webpack_require__(152);var _form_control_layout=__webpack_require__(127);var _validatable_control=__webpack_require__(128);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var propTypes={name:_propTypes.default.string,id:_propTypes.default.string,placeholder:_propTypes.default.string,value:_propTypes.default.string,isInvalid:_propTypes.default.bool,fullWidth:_propTypes.default.bool,isLoading:_propTypes.default.bool,inputRef:_propTypes.default.func,onSearch:_propTypes.default.func,incremental:_propTypes.default.bool,compressed:_propTypes.default.bool};var defaultProps={fullWidth:false,isLoading:false,incremental:false,compressed:false};var EuiFieldSearch=function(_Component){_inherits(EuiFieldSearch,_Component);function EuiFieldSearch(props){var _this;_classCallCheck(this,EuiFieldSearch);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiFieldSearch).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setRef",function(inputElement){_this.inputElement=inputElement;_this.props.inputRef&&_this.props.inputRef(inputElement)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onKeyUp",function(incremental,onSearch,event){if(_this.props.onKeyUp){_this.props.onKeyUp(event);if(event.defaultPrevented)return}onSearch&&(incremental||event.keyCode===_key_codes.ENTER)&&onSearch(event.target.value)});_this.cleanups=[];return _this}_createClass(EuiFieldSearch,[{key:"componentDidMount",value:function componentDidMount(){var _this2=this;if(_browser.Browser.isEventSupported("search",this.inputElement)){var onSearch=function onSearch(event){_this2.props.onSearch&&_this2.props.onSearch(event.target.value)};this.inputElement.addEventListener("search",onSearch);this.cleanups.push(function(){return _this2.inputElement.removeEventListener("search",onSearch)})}}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.cleanups.forEach(function(cleanup){return cleanup()})}},{key:"render",value:function render(){var _this$props=this.props,className=_this$props.className,id=_this$props.id,name=_this$props.name,placeholder=_this$props.placeholder,value=_this$props.value,isInvalid=_this$props.isInvalid,fullWidth=_this$props.fullWidth,isLoading=_this$props.isLoading,incremental=(_this$props.inputRef,_this$props.incremental),compressed=_this$props.compressed,onSearch=_this$props.onSearch,rest=_objectWithoutProperties(_this$props,["className","id","name","placeholder","value","isInvalid","fullWidth","isLoading","inputRef","incremental","compressed","onSearch"]);var classes=(0,_classnames.default)("euiFieldSearch",{"euiFieldSearch--fullWidth":fullWidth,"euiFieldSearch--compressed":compressed,"euiFieldSearch-isLoading":isLoading},className);return _react.default.createElement(_form_control_layout.EuiFormControlLayout,{icon:"search",fullWidth:fullWidth,isLoading:isLoading,compressed:compressed},_react.default.createElement(_validatable_control.EuiValidatableControl,{isInvalid:isInvalid},_react.default.createElement("input",_extends({type:"search",id:id,name:name,placeholder:placeholder,className:classes,value:value,onKeyUp:this.onKeyUp.bind(this,incremental,onSearch),ref:this.setRef},rest))))}}]);return EuiFieldSearch}(_react.Component);exports.EuiFieldSearch=EuiFieldSearch;_defineProperty(EuiFieldSearch,"propTypes",propTypes);_defineProperty(EuiFieldSearch,"defaultProps",defaultProps);EuiFieldSearch.__docgenInfo={description:"",methods:[{name:"setRef",docblock:null,modifiers:[],params:[{name:"inputElement",type:null}],returns:null},{name:"onKeyUp",docblock:null,modifiers:[],params:[{name:"incremental",type:null},{name:"onSearch",type:null},{name:"event",type:null}],returns:null}],displayName:"EuiFieldSearch",props:{fullWidth:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},isLoading:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},incremental:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"when `true` the search will be executed (that is, the `onSearch` will be called) as the\nuser types."},compressed:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"when `true` creates a shorter height input"},name:{type:{name:"string"},required:false,description:""},id:{type:{name:"string"},required:false,description:""},placeholder:{type:{name:"string"},required:false,description:""},value:{type:{name:"string"},required:false,description:""},isInvalid:{type:{name:"bool"},required:false,description:""},inputRef:{type:{name:"func"},required:false,description:""},onSearch:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getPopoverPositionFromAnchorPosition=getPopoverPositionFromAnchorPosition;exports.getPopoverAlignFromAnchorPosition=getPopoverAlignFromAnchorPosition;exports.EuiPopover=exports.ANCHOR_POSITIONS=void 0;__webpack_require__(5);__webpack_require__(9);__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(81);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _focusTrapReact=_interopRequireDefault(__webpack_require__(126));var _tabbable=_interopRequireDefault(__webpack_require__(659));var _services=__webpack_require__(25);var _outside_click_detector=__webpack_require__(303);var _accessibility=__webpack_require__(73);var _panel=__webpack_require__(414);var _portal=__webpack_require__(182);var _mutation_observer=__webpack_require__(281);var _popover_positioning=__webpack_require__(583);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{_n||null==_i["return"]||_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}var anchorPositionToPopoverPositionMap={up:"top",right:"right",down:"bottom",left:"left"};function getPopoverPositionFromAnchorPosition(anchorPosition){var _anchorPosition$match=anchorPosition.match(/^(.*?)[A-Z]/),_anchorPosition$match2=_slicedToArray(_anchorPosition$match,2),primaryPosition=_anchorPosition$match2[1];return anchorPositionToPopoverPositionMap[primaryPosition]}function getPopoverAlignFromAnchorPosition(anchorPosition){var _anchorPosition$match3=anchorPosition.match(/([A-Z].*)/),_anchorPosition$match4=_slicedToArray(_anchorPosition$match3,2),align=_anchorPosition$match4[1];return anchorPositionToPopoverPositionMap[align.toLowerCase()]}var anchorPositionToClassNameMap={upCenter:"euiPopover--anchorUpCenter",upLeft:"euiPopover--anchorUpLeft",upRight:"euiPopover--anchorUpRight",downCenter:"euiPopover--anchorDownCenter",downLeft:"euiPopover--anchorDownLeft",downRight:"euiPopover--anchorDownRight",leftCenter:"euiPopover--anchorLeftCenter",leftUp:"euiPopover--anchorLeftUp",leftDown:"euiPopover--anchorLeftDown",rightCenter:"euiPopover--anchorRightCenter",rightUp:"euiPopover--anchorRightUp",rightDown:"euiPopover--anchorRightDown"};var ANCHOR_POSITIONS=Object.keys(anchorPositionToClassNameMap);exports.ANCHOR_POSITIONS=ANCHOR_POSITIONS;var DEFAULT_POPOVER_STYLES={top:50,left:50};var GROUP_NUMERIC=/^([\d.]+)/;function getElementFromInitialFocus(initialFocus){var initialFocusType=_typeof(initialFocus);if("string"===initialFocusType)return document.querySelector(initialFocus);if("function"===initialFocusType)return initialFocus();return initialFocus}function getTransitionTimings(element){var computedStyle=window.getComputedStyle(element);var computedDuration=computedStyle.getPropertyValue("transition-duration");var durationMatch=computedDuration.match(GROUP_NUMERIC);durationMatch=durationMatch?1e3*parseFloat(durationMatch[1]):0;var computedDelay=computedStyle.getPropertyValue("transition-delay");var delayMatch=computedDelay.match(GROUP_NUMERIC);delayMatch=delayMatch?1e3*parseFloat(delayMatch[1]):0;return{durationMatch:durationMatch,delayMatch:delayMatch}}var EuiPopover=function(_Component){_inherits(EuiPopover,_Component);_createClass(EuiPopover,null,[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,prevState){if(prevState.prevProps.isOpen&&!nextProps.isOpen)return{prevProps:{isOpen:nextProps.isOpen},isClosing:true,isOpening:false};if(prevState.prevProps.isOpen!==nextProps.isOpen)return{prevProps:{isOpen:nextProps.isOpen}};return null}}]);function EuiPopover(props){var _this;_classCallCheck(this,EuiPopover);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiPopover).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onKeyDown",function(e){if(e.keyCode===_services.cascadingMenuKeyCodes.ESCAPE){e.preventDefault();e.stopPropagation();_this.props.closePopover()}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onMutation",function(records){var waitDuration=records.reduce(function(waitDuration,record){if(record.target.nodeType===document.ELEMENT_NODE){var _getTransitionTimings=getTransitionTimings(record.target),durationMatch=_getTransitionTimings.durationMatch,delayMatch=_getTransitionTimings.delayMatch;waitDuration=Math.max(waitDuration,durationMatch+delayMatch)}return waitDuration},0);_this.positionPopoverFixed();if(waitDuration>0){var startTime=Date.now();var endTime=startTime+waitDuration;var onFrame=function onFrame(){_this.positionPopoverFixed();endTime>Date.now()&&requestAnimationFrame(onFrame)};requestAnimationFrame(onFrame)}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"positionPopover",function(allowEnforcePosition){if(null==_this.button||null==_this.panel)return;var position=getPopoverPositionFromAnchorPosition(_this.props.anchorPosition);var forcePosition=null;if(allowEnforcePosition&&_this.state.isOpenStable&&null!=_this.state.openPosition){position=_this.state.openPosition;forcePosition=true}var _findPopoverPosition=(0,_popover_positioning.findPopoverPosition)({container:_this.props.container,position:position,forcePosition:forcePosition,align:getPopoverAlignFromAnchorPosition(_this.props.anchorPosition),anchor:_this.button,popover:_this.panel,offset:_this.props.hasArrow?16:8,arrowConfig:{arrowWidth:24,arrowBuffer:10}}),top=_findPopoverPosition.top,left=_findPopoverPosition.left,foundPosition=_findPopoverPosition.position,arrow=_findPopoverPosition.arrow;var zIndexProp=_this.props.zIndex;var zIndex=null==zIndexProp?(0,_popover_positioning.getElementZIndex)(_this.button,_this.panel):zIndexProp;var popoverStyles={top:top,left:left,zIndex:zIndex};var arrowStyles=_this.props.hasArrow?arrow:null;var arrowPosition=foundPosition;_this.setState({popoverStyles:popoverStyles,arrowStyles:arrowStyles,arrowPosition:arrowPosition,openPosition:foundPosition})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"positionPopoverFixed",function(){_this.positionPopover(true)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"positionPopoverFluid",function(){_this.positionPopover(false)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"panelRef",function(node){_this.panel=node;if(null==node){_this.setState({popoverStyles:DEFAULT_POPOVER_STYLES,arrowStyles:{},arrowPosition:null,openPosition:null,isOpenStable:false});window.removeEventListener("resize",_this.positionPopoverFluid)}else{_this.positionPopoverFluid();window.addEventListener("resize",_this.positionPopoverFluid)}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"buttonRef",function(node){return _this.button=node});_this.closingTransitionTimeout=void 0;_this.button=null;_this.state={prevProps:{isOpen:props.isOpen},suppressingPopover:_this.props.isOpen,isClosing:false,isOpening:false,popoverStyles:DEFAULT_POPOVER_STYLES,arrowStyles:{},arrowPosition:null,openPosition:null,isOpenStable:false};return _this}_createClass(EuiPopover,[{key:"updateFocus",value:function updateFocus(){var _this2=this;window.requestAnimationFrame(function(){if(!_this2.props.ownFocus||!_this2.panel)return;if(_this2.panel.contains(document.activeElement))return;var focusTarget;if(null!=_this2.props.initialFocus){focusTarget=getElementFromInitialFocus(_this2.props.initialFocus);var visibility=window.getComputedStyle(focusTarget).visibility;"hidden"===visibility&&_this2.updateFocus()}else{var tabbableItems=(0,_tabbable.default)(_this2.panel);tabbableItems.length&&(focusTarget=tabbableItems[0])}null!=focusTarget&&focusTarget.focus()})}},{key:"componentDidMount",value:function componentDidMount(){this.state.suppressingPopover&&this.setState({suppressingPopover:false,isOpening:true});this.props.repositionOnScroll&&window.addEventListener("scroll",this.positionPopoverFixed);this.updateFocus()}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){var _this3=this;if(!prevProps.isOpen&&this.props.isOpen){clearTimeout(this.closingTransitionTimeout);window.requestAnimationFrame(function(){_this3.setState({isOpening:true})});var _Array$prototype$slic=Array.prototype.slice.call(this.panel.children).reduce(function(_ref,element){var durationMatch=_ref.durationMatch,delayMatch=_ref.delayMatch;var transitionTimings=getTransitionTimings(element);return{durationMatch:Math.max(durationMatch,transitionTimings.durationMatch),delayMatch:Math.max(delayMatch,transitionTimings.delayMatch)}},{durationMatch:0,delayMatch:0}),durationMatch=_Array$prototype$slic.durationMatch,delayMatch=_Array$prototype$slic.delayMatch;setTimeout(function(){_this3.setState({isOpenStable:true},_this3.positionPopoverFixed)},durationMatch+delayMatch)}prevProps.repositionOnScroll!==this.props.repositionOnScroll&&(this.props.repositionOnScroll?window.addEventListener("scroll",this.positionPopoverFixed):window.removeEventListener("scroll",this.positionPopoverFixed));prevProps.isOpen&&!this.props.isOpen&&(this.closingTransitionTimeout=setTimeout(function(){_this3.setState({isClosing:false})},250));this.updateFocus()}},{key:"componentWillUnmount",value:function componentWillUnmount(){window.removeEventListener("scroll",this.positionPopoverFixed);clearTimeout(this.closingTransitionTimeout)}},{key:"render",value:function render(){var _this4=this;var _this$props=this.props,anchorClassName=_this$props.anchorClassName,anchorPosition=_this$props.anchorPosition,button=_this$props.button,isOpen=_this$props.isOpen,ownFocus=_this$props.ownFocus,withTitle=_this$props.withTitle,children=_this$props.children,className=_this$props.className,closePopover=_this$props.closePopover,panelClassName=_this$props.panelClassName,panelPaddingSize=_this$props.panelPaddingSize,popoverRef=_this$props.popoverRef,hasArrow=_this$props.hasArrow,rest=(_this$props.repositionOnScroll,_this$props.zIndex,_this$props.initialFocus,_objectWithoutProperties(_this$props,["anchorClassName","anchorPosition","button","isOpen","ownFocus","withTitle","children","className","closePopover","panelClassName","panelPaddingSize","popoverRef","hasArrow","repositionOnScroll","zIndex","initialFocus"]));var classes=(0,_classnames.default)("euiPopover",anchorPositionToClassNameMap[anchorPosition],{"euiPopover-isOpen":this.state.isOpening,"euiPopover--withTitle":withTitle},className);var anchorClasses=(0,_classnames.default)("euiPopover__anchor",anchorClassName);var panelClasses=(0,_classnames.default)("euiPopover__panel","euiPopover__panel--".concat(this.state.arrowPosition),{"euiPopover__panel-isOpen":this.state.isOpening},{"euiPopover__panel-withTitle":withTitle},{"euiPopover__panel-noArrow":!hasArrow},panelClassName);var panel;if(!this.state.suppressingPopover&&(isOpen||this.state.isClosing)){var tabIndex;var _initialFocus;var ariaLive;if(ownFocus){tabIndex="0";ariaLive="off";_initialFocus=function _initialFocus(){return _this4.panel}}else ariaLive="assertive";var focusTrapScreenReaderText;ownFocus&&(focusTrapScreenReaderText=_react.default.createElement(_accessibility.EuiScreenReaderOnly,null,_react.default.createElement("p",{role:"alert"},_react.default.createElement(_i18n.EuiI18n,{token:"euiPopover.screenReaderAnnouncement",default:"You are in a popup. To exit this popup, hit escape."}))));var arrowClassNames=(0,_classnames.default)("euiPopover__panelArrow","euiPopover__panelArrow--".concat(this.state.arrowPosition));panel=_react.default.createElement(_portal.EuiPortal,null,_react.default.createElement(_focusTrapReact.default,{active:ownFocus,focusTrapOptions:{clickOutsideDeactivates:true,initialFocus:_initialFocus}},focusTrapScreenReaderText,_react.default.createElement(_panel.EuiPanel,{panelRef:this.panelRef,className:panelClasses,paddingSize:panelPaddingSize,tabIndex:tabIndex,"aria-live":ariaLive,style:this.state.popoverStyles},_react.default.createElement("div",{className:arrowClassNames,style:this.state.arrowStyles}),_react.default.createElement(_mutation_observer.EuiMutationObserver,{observerOptions:{attributes:true,childList:true,characterData:true,subtree:true},onMutation:this.onMutation},function(mutationRef){return _react.default.createElement("div",{ref:mutationRef},children)}))))}return _react.default.createElement(_outside_click_detector.EuiOutsideClickDetector,{isDisabled:!isOpen,onOutsideClick:closePopover},_react.default.createElement("div",_extends({className:classes,onKeyDown:this.onKeyDown,ref:popoverRef},rest),_react.default.createElement("div",{className:anchorClasses,ref:this.buttonRef},button instanceof HTMLElement?null:button),panel))}}]);return EuiPopover}(_react.Component);exports.EuiPopover=EuiPopover;EuiPopover.propTypes={anchorClassName:_propTypes.default.string,anchorPosition:_propTypes.default.oneOf(ANCHOR_POSITIONS),isOpen:_propTypes.default.bool,ownFocus:_propTypes.default.bool,withTitle:_propTypes.default.bool,closePopover:_propTypes.default.func.isRequired,button:_propTypes.default.node.isRequired,children:_propTypes.default.node,panelClassName:_propTypes.default.string,panelPaddingSize:_propTypes.default.oneOf(_panel.SIZES),popoverRef:_propTypes.default.func,hasArrow:_propTypes.default.bool,container:_propTypes.default.instanceOf(HTMLElement),repositionOnScroll:_propTypes.default.bool,zIndex:_propTypes.default.number,initialFocus:_propTypes.default.oneOfType([_propTypes.default.instanceOf(HTMLElement),_propTypes.default.func,_propTypes.default.string])};EuiPopover.defaultProps={isOpen:false,ownFocus:false,anchorPosition:"downCenter",panelPaddingSize:"m",hasArrow:true};EuiPopover.__docgenInfo={description:"",methods:[{name:"getDerivedStateFromProps",docblock:null,modifiers:["static"],params:[{name:"nextProps",type:null},{name:"prevState",type:null}],returns:null},{name:"onKeyDown",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null},{name:"updateFocus",docblock:null,modifiers:[],params:[],returns:null},{name:"onMutation",docblock:null,modifiers:[],params:[{name:"records",type:null}],returns:null},{name:"positionPopover",docblock:null,modifiers:[],params:[{name:"allowEnforcePosition",type:null}],returns:null},{name:"positionPopoverFixed",docblock:null,modifiers:[],params:[],returns:null},{name:"positionPopoverFluid",docblock:null,modifiers:[],params:[],returns:null},{name:"panelRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null},{name:"buttonRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null}],displayName:"EuiPopover",props:{isOpen:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},ownFocus:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},anchorPosition:{defaultValue:{value:"'downCenter'",computed:false},type:{name:"enum",value:[{value:'"upCenter"',computed:false},{value:'"upLeft"',computed:false},{value:'"upRight"',computed:false},{value:'"downCenter"',computed:false},{value:'"downLeft"',computed:false},{value:'"downRight"',computed:false},{value:'"leftCenter"',computed:false},{value:'"leftUp"',computed:false},{value:'"leftDown"',computed:false},{value:'"rightCenter"',computed:false},{value:'"rightUp"',computed:false},{value:'"rightDown"',computed:false}]},required:false,description:""},panelPaddingSize:{defaultValue:{value:"'m'",computed:false},type:{name:"enum",computed:true,value:"SIZES"},required:false,description:""},hasArrow:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:""},anchorClassName:{type:{name:"string"},required:false,description:""},withTitle:{type:{name:"bool"},required:false,description:""},closePopover:{type:{name:"func"},required:true,description:""},button:{type:{name:"node"},required:true,description:""},children:{type:{name:"node"},required:false,description:""},panelClassName:{type:{name:"string"},required:false,description:""},popoverRef:{type:{name:"func"},required:false,description:""},container:{type:{name:"instanceOf",value:"HTMLElement"},required:false,description:""},repositionOnScroll:{type:{name:"bool"},required:false,description:"When `true`, the popover's position is re-calculated when the user scrolls, this supports having fixed-position popover anchors."},zIndex:{type:{name:"number"},required:false,description:"By default, popover content inherits the z-index of the anchor component; pass zIndex to override"},initialFocus:{type:{name:"union",value:[{name:"instanceOf",value:"HTMLElement"},{name:"func"},{name:"string"}]},required:false,description:"specifies what element should initially have focus; Can be a DOM node, or a selector string (which will be passed to document.querySelector() to find the DOM node), or a function that returns a DOM node."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiPanel",{enumerable:true,get:function get(){return _panel.EuiPanel}});Object.defineProperty(exports,"SIZES",{enumerable:true,get:function get(){return _panel.SIZES}});var _panel=__webpack_require__(660)},function(module,exports){module.exports=function(it){if(void 0==it)throw TypeError("Can't call method on  "+it);return it}},function(module,exports,__webpack_require__){var shared=__webpack_require__(417)("keys");var uid=__webpack_require__(305);module.exports=function(key){return shared[key]||(shared[key]=uid(key))}},function(module,exports,__webpack_require__){var global=__webpack_require__(75);var SHARED="__core-js_shared__";var store=global[SHARED]||(global[SHARED]={});module.exports=function(key){return store[key]||(store[key]={})}},function(module,exports,__webpack_require__){var $export=__webpack_require__(104);var core=__webpack_require__(46);var fails=__webpack_require__(188);module.exports=function(KEY,exec){var fn=(core.Object||{})[KEY]||Object[KEY];var exp={};exp[KEY]=exec(fn);$export($export.S+$export.F*fails(function(){fn(1)}),"Object",exp)}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(130);var document=__webpack_require__(75).document;var is=isObject(document)&&isObject(document.createElement);module.exports=function(it){return is?document.createElement(it):{}}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(130);module.exports=function(it,S){if(!isObject(it))return it;var fn,val;if(S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;if("function"==typeof(fn=it.valueOf)&&!isObject(val=fn.call(it)))return val;if(!S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;throw TypeError("Can't convert object to primitive value")}},function(module,exports){var ceil=Math.ceil;var floor=Math.floor;module.exports=function(it){return isNaN(it=+it)?0:(it>0?floor:ceil)(it)}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(105);var dPs=__webpack_require__(1611);var enumBugKeys=__webpack_require__(423);var IE_PROTO=__webpack_require__(416)("IE_PROTO");var Empty=function(){};var PROTOTYPE="prototype";var createDict=function(){var iframe=__webpack_require__(419)("iframe");var i=enumBugKeys.length;var lt="<";var gt=">";var iframeDocument;iframe.style.display="none";__webpack_require__(673).appendChild(iframe);iframe.src="javascript:";iframeDocument=iframe.contentWindow.document;iframeDocument.open();iframeDocument.write(lt+"script"+gt+"document.F=Object"+lt+"/script"+gt);iframeDocument.close();createDict=iframeDocument.F;while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];return createDict()};module.exports=Object.create||function create(O,Properties){var result;if(null!==O){Empty[PROTOTYPE]=anObject(O);result=new Empty;Empty[PROTOTYPE]=null;result[IE_PROTO]=O}else result=createDict();return void 0===Properties?result:dPs(result,Properties)}},function(module,exports){module.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(module,exports,__webpack_require__){exports.f=__webpack_require__(65)},function(module,exports,__webpack_require__){var global=__webpack_require__(75);var core=__webpack_require__(46);var LIBRARY=__webpack_require__(309);var wksExt=__webpack_require__(424);var defineProperty=__webpack_require__(129).f;module.exports=function(name){var $Symbol=core.Symbol||(core.Symbol=LIBRARY?{}:global.Symbol||{});"_"==name.charAt(0)||name in $Symbol||defineProperty($Symbol,name,{value:wksExt.f(name)})}},function(module,exports){exports.f=Object.getOwnPropertySymbols},function(module,exports,__webpack_require__){var pIE=__webpack_require__(312);var createDesc=__webpack_require__(307);var toIObject=__webpack_require__(160);var toPrimitive=__webpack_require__(420);var has=__webpack_require__(158);var IE8_DOM_DEFINE=__webpack_require__(666);var gOPD=Object.getOwnPropertyDescriptor;exports.f=__webpack_require__(131)?gOPD:function getOwnPropertyDescriptor(O,P){O=toIObject(O);P=toPrimitive(P,true);if(IE8_DOM_DEFINE)try{return gOPD(O,P)}catch(e){}if(has(O,P))return createDesc(!pIE.f.call(O,P),O[P])}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _objectWithoutProperties2=__webpack_require__(429);var _objectWithoutProperties3=_interopRequireDefault(_objectWithoutProperties2);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _CellSizeAndPositionManager=__webpack_require__(1638);var _CellSizeAndPositionManager2=_interopRequireDefault(_CellSizeAndPositionManager);var _maxElementSize=__webpack_require__(1641);__webpack_require__(132);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ScalingCellSizeAndPositionManager=function(){function ScalingCellSizeAndPositionManager(_ref){var _ref$maxScrollSize=_ref.maxScrollSize,maxScrollSize=void 0===_ref$maxScrollSize?(0,_maxElementSize.getMaxElementSize)():_ref$maxScrollSize,params=(0,_objectWithoutProperties3.default)(_ref,["maxScrollSize"]);(0,_classCallCheck3.default)(this,ScalingCellSizeAndPositionManager);this._cellSizeAndPositionManager=new _CellSizeAndPositionManager2.default(params);this._maxScrollSize=maxScrollSize}(0,_createClass3.default)(ScalingCellSizeAndPositionManager,[{key:"areOffsetsAdjusted",value:function areOffsetsAdjusted(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function configure(params){this._cellSizeAndPositionManager.configure(params)}},{key:"getCellCount",value:function getCellCount(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function getEstimatedCellSize(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function getLastMeasuredIndex(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function getOffsetAdjustment(_ref2){var containerSize=_ref2.containerSize,offset=_ref2.offset;var totalSize=this._cellSizeAndPositionManager.getTotalSize();var safeTotalSize=this.getTotalSize();var offsetPercentage=this._getOffsetPercentage({containerSize:containerSize,offset:offset,totalSize:safeTotalSize});return Math.round(offsetPercentage*(safeTotalSize-totalSize))}},{key:"getSizeAndPositionOfCell",value:function getSizeAndPositionOfCell(index){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(index)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function getSizeAndPositionOfLastMeasuredCell(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function getTotalSize(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function getUpdatedOffsetForIndex(_ref3){var _ref3$align=_ref3.align,align=void 0===_ref3$align?"auto":_ref3$align,containerSize=_ref3.containerSize,currentOffset=_ref3.currentOffset,targetIndex=_ref3.targetIndex;currentOffset=this._safeOffsetToOffset({containerSize:containerSize,offset:currentOffset});var offset=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:align,containerSize:containerSize,currentOffset:currentOffset,targetIndex:targetIndex});return this._offsetToSafeOffset({containerSize:containerSize,offset:offset})}},{key:"getVisibleCellRange",value:function getVisibleCellRange(_ref4){var containerSize=_ref4.containerSize,offset=_ref4.offset;offset=this._safeOffsetToOffset({containerSize:containerSize,offset:offset});return this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:containerSize,offset:offset})}},{key:"resetCell",value:function resetCell(index){this._cellSizeAndPositionManager.resetCell(index)}},{key:"_getOffsetPercentage",value:function _getOffsetPercentage(_ref5){var containerSize=_ref5.containerSize,offset=_ref5.offset,totalSize=_ref5.totalSize;return totalSize<=containerSize?0:offset/(totalSize-containerSize)}},{key:"_offsetToSafeOffset",value:function _offsetToSafeOffset(_ref6){var containerSize=_ref6.containerSize,offset=_ref6.offset;var totalSize=this._cellSizeAndPositionManager.getTotalSize();var safeTotalSize=this.getTotalSize();if(totalSize===safeTotalSize)return offset;var offsetPercentage=this._getOffsetPercentage({containerSize:containerSize,offset:offset,totalSize:totalSize});return Math.round(offsetPercentage*(safeTotalSize-containerSize))}},{key:"_safeOffsetToOffset",value:function _safeOffsetToOffset(_ref7){var containerSize=_ref7.containerSize,offset=_ref7.offset;var totalSize=this._cellSizeAndPositionManager.getTotalSize();var safeTotalSize=this.getTotalSize();if(totalSize===safeTotalSize)return offset;var offsetPercentage=this._getOffsetPercentage({containerSize:containerSize,offset:offset,totalSize:safeTotalSize});return Math.round(offsetPercentage*(totalSize-containerSize))}}]);return ScalingCellSizeAndPositionManager}();exports.default=ScalingCellSizeAndPositionManager},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.default=function(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _keys=__webpack_require__(677);var _keys2=_interopRequireDefault(_keys);exports.default=createCallbackMemoizer;function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function createCallbackMemoizer(){var requireAllKeys=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];var cachedIndices={};return function(_ref){var callback=_ref.callback,indices=_ref.indices;var keys=(0,_keys2.default)(indices);var allInitialized=!requireAllKeys||keys.every(function(key){var value=indices[key];return Array.isArray(value)?value.length>0:value>=0});var indexChanged=keys.length!==(0,_keys2.default)(cachedIndices).length||keys.some(function(key){var cachedValue=cachedIndices[key];var value=indices[key];return Array.isArray(value)?cachedValue.join(",")!==value.join(","):cachedValue!==value});cachedIndices=indices;allInitialized&&indexChanged&&callback(indices)}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.bpfrpt_proptype_AnimationTimeoutId=exports.requestAnimationTimeout=exports.cancelAnimationTimeout=void 0;var _promise=__webpack_require__(681);var _promise2=_interopRequireDefault(_promise);var _animationFrame=__webpack_require__(1659);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var bpfrpt_proptype_AnimationTimeoutId=null;exports.cancelAnimationTimeout=function cancelAnimationTimeout(frame){return(0,_animationFrame.caf)(frame.id)};exports.requestAnimationTimeout=function requestAnimationTimeout(callback,delay){var start=void 0;_promise2.default.resolve().then(function(){start=Date.now()});var timeout=function timeout(){Date.now()-start>=delay?callback.call():frame.id=(0,_animationFrame.raf)(timeout)};var frame={id:(0,_animationFrame.raf)(timeout)};return frame};exports.bpfrpt_proptype_AnimationTimeoutId=bpfrpt_proptype_AnimationTimeoutId},function(module,exports,__webpack_require__){var cof=__webpack_require__(240);var TAG=__webpack_require__(65)("toStringTag");var ARG="Arguments"==cof(function(){return arguments}());var tryGet=function(it,key){try{return it[key]}catch(e){}};module.exports=function(it){var O,T,B;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(T=tryGet(O=Object(it),TAG))?T:ARG?cof(O):"Object"==(B=cof(O))&&"function"==typeof O.callee?"Arguments":B}},function(module,exports,__webpack_require__){"use strict";var aFunction=__webpack_require__(306);function PromiseCapability(C){var resolve,reject;this.promise=new C(function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw TypeError("Bad Promise constructor");resolve=$$resolve;reject=$$reject});this.resolve=aFunction(resolve);this.reject=aFunction(reject)}module.exports.f=function(C){return new PromiseCapability(C)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.bpfrpt_proptype_SizeInfo=exports.bpfrpt_proptype_SizeAndPositionInfo=exports.bpfrpt_proptype_ScrollPosition=exports.bpfrpt_proptype_PositionInfo=exports.bpfrpt_proptype_Index=void 0;var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var bpfrpt_proptype_Index=null;var bpfrpt_proptype_PositionInfo=null;var bpfrpt_proptype_ScrollPosition=null;var bpfrpt_proptype_SizeAndPositionInfo=null;var bpfrpt_proptype_SizeInfo=null;exports.bpfrpt_proptype_Index=bpfrpt_proptype_Index;exports.bpfrpt_proptype_PositionInfo=bpfrpt_proptype_PositionInfo;exports.bpfrpt_proptype_ScrollPosition=bpfrpt_proptype_ScrollPosition;exports.bpfrpt_proptype_SizeAndPositionInfo=bpfrpt_proptype_SizeAndPositionInfo;exports.bpfrpt_proptype_SizeInfo=bpfrpt_proptype_SizeInfo},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.formatTimeString=formatTimeString;exports.prettyDuration=prettyDuration;exports.showPrettyDuration=showPrettyDuration;__webpack_require__(94);var _datemath=_interopRequireDefault(__webpack_require__(124));var _moment=_interopRequireDefault(__webpack_require__(53));var _time_units=__webpack_require__(315);var _date_modes=__webpack_require__(707);var _relative_utils=__webpack_require__(436);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ISO_FORMAT="YYYY-MM-DDTHH:mm:ss.SSSZ";function cantLookup(timeFrom,timeTo,dateFormat){var displayFrom=formatTimeString(timeFrom,dateFormat);var displayTo=formatTimeString(timeTo,dateFormat,true);return"".concat(displayFrom," to ").concat(displayTo)}function isRelativeToNow(timeFrom,timeTo){var fromDateMode=(0,_date_modes.getDateMode)(timeFrom);var toDateMode=(0,_date_modes.getDateMode)(timeTo);var isLast=fromDateMode===_date_modes.DATE_MODES.RELATIVE&&toDateMode===_date_modes.DATE_MODES.NOW;var isNext=fromDateMode===_date_modes.DATE_MODES.NOW&&toDateMode===_date_modes.DATE_MODES.RELATIVE;return isLast||isNext}function formatTimeString(timeString,dateFormat){var roundUp=arguments.length>2&&void 0!==arguments[2]&&arguments[2];var timeAsMoment=(0,_moment.default)(timeString,ISO_FORMAT,true);if(timeAsMoment.isValid())return timeAsMoment.format(dateFormat);if("now"===timeString)return"now";var tryParse=_datemath.default.parse(timeString,{roundUp:roundUp});if(_moment.default.isMoment(tryParse))return"~ ".concat(tryParse.fromNow());return timeString}function prettyDuration(timeFrom,timeTo){var quickRanges=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];var dateFormat=arguments.length>3?arguments[3]:void 0;var matchingQuickRange=quickRanges.find(function(_ref){var quickFrom=_ref.start,quickTo=_ref.end;return timeFrom===quickFrom&&timeTo===quickTo});if(matchingQuickRange)return matchingQuickRange.label;if(isRelativeToNow(timeFrom,timeTo)){var timeTense;var relativeParts;if((0,_date_modes.getDateMode)(timeTo)===_date_modes.DATE_MODES.NOW){timeTense="Last";relativeParts=(0,_relative_utils.parseRelativeParts)(timeFrom)}else{timeTense="Next";relativeParts=(0,_relative_utils.parseRelativeParts)(timeTo)}var countTimeUnit=relativeParts.unit.substring(0,1);var countTimeUnitFullName=relativeParts.count>1?_time_units.timeUnitsPlural[countTimeUnit]:_time_units.timeUnits[countTimeUnit];var text="".concat(timeTense," ").concat(relativeParts.count," ").concat(countTimeUnitFullName);relativeParts.round&&(text+=" rounded to the ".concat(_time_units.timeUnits[relativeParts.roundUnit]));return text}return cantLookup(timeFrom,timeTo,dateFormat)}function showPrettyDuration(timeFrom,timeTo){var quickRanges=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];var matchingQuickRange=quickRanges.find(function(_ref2){var quickFrom=_ref2.start,quickTo=_ref2.end;return timeFrom===quickFrom&&timeTo===quickTo});if(matchingQuickRange)return true;return isRelativeToNow(timeFrom,timeTo)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.parseRelativeParts=parseRelativeParts;exports.toRelativeStringFromParts=toRelativeStringFromParts;__webpack_require__(228);__webpack_require__(81);var _datemath=_interopRequireDefault(__webpack_require__(124));var _moment=_interopRequireDefault(__webpack_require__(53));var _lodash=_interopRequireDefault(__webpack_require__(10));var _relative_options=__webpack_require__(708);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ROUND_DELIMETER="/";function parseRelativeParts(value){var matches=_lodash.default.isString(value)&&value.match(/now(([\-\+])([0-9]+)([smhdwMy])(\/[smhdwMy])?)?/);var isNow=matches&&!matches[1];var operator=matches&&matches[2];var count=matches&&matches[3];var unit=matches&&matches[4];var roundBy=matches&&matches[5];if(isNow)return{count:0,unit:"s",round:false};if(count&&unit){var isRounded=!!roundBy;return{count:parseInt(count,10),unit:"+"===operator?"".concat(unit,"+"):unit,round:isRounded,roundUnit:isRounded?roundBy.replace(ROUND_DELIMETER,""):void 0}}var results={count:0,unit:"s",round:false};var duration=_moment.default.duration((0,_moment.default)().diff(_datemath.default.parse(value)));var unitOp="";for(var i=0;i<_relative_options.relativeUnitsFromLargestToSmallest.length;i++){var as=duration.as(_relative_options.relativeUnitsFromLargestToSmallest[i]);as<0&&(unitOp="+");if(Math.abs(as)>1){results.count=Math.round(Math.abs(as));results.unit=_relative_options.relativeUnitsFromLargestToSmallest[i]+unitOp;results.round=false;break}}return results}function toRelativeStringFromParts(relativeParts){var count=_lodash.default.get(relativeParts,"count",0);var isRounded=_lodash.default.get(relativeParts,"round",false);if(0===count&&!isRounded)return"now";var matches=_lodash.default.get(relativeParts,"unit","s").match(/([smhdwMy])(\+)?/);var unit=matches[1];var operator=matches&&matches[2]?matches[2]:"-";var round=isRounded?"".concat(ROUND_DELIMETER).concat(unit):"";return"now".concat(operator).concat(count).concat(unit).concat(round)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSpacer=exports.SIZES=void 0;__webpack_require__(5);__webpack_require__(2);var _propTypes=_interopRequireDefault(__webpack_require__(1));__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var sizeToClassNameMap={xs:"euiSpacer--xs",s:"euiSpacer--s",m:"euiSpacer--m",l:"euiSpacer--l",xl:"euiSpacer--xl",xxl:"euiSpacer--xxl"};var SIZES=Object.keys(sizeToClassNameMap);exports.SIZES=SIZES;var EuiSpacer=function EuiSpacer(_ref){var className=_ref.className,size=_ref.size,rest=_objectWithoutProperties(_ref,["className","size"]);var classes=(0,_classnames.default)("euiSpacer",size?sizeToClassNameMap[size]:void 0,className);return _react.default.createElement("div",_extends({className:classes},rest))};exports.EuiSpacer=EuiSpacer;EuiSpacer.propTypes={className:_propTypes.default.string,"aria-label":_propTypes.default.string,"data-test-subj":_propTypes.default.string,size:_propTypes.default.oneOf(["xs","s","m","l","xl","xxl"])};EuiSpacer.defaultProps={size:"l"};EuiSpacer.__docgenInfo={description:"",methods:[],displayName:"EuiSpacer",props:{size:{defaultValue:{value:"'l'",computed:false},type:{name:"enum",value:[{value:'"xs"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false},{value:'"xl"',computed:false},{value:'"xxl"',computed:false}]},required:false,description:""},className:{type:{name:"string"},required:false,description:""},"aria-label":{type:{name:"string"},required:false,description:""},"data-test-subj":{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiListGroup=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _list_group_item=__webpack_require__(718);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiListGroup=function EuiListGroup(_ref){var children=_ref.children,className=_ref.className,flush=_ref.flush,bordered=_ref.bordered,wrapText=_ref.wrapText,listItems=_ref.listItems,maxWidth=_ref.maxWidth,style=_ref.style,showToolTips=_ref.showToolTips,rest=_objectWithoutProperties(_ref,["children","className","flush","bordered","wrapText","listItems","maxWidth","style","showToolTips"]);var newStyle;var widthClassName;if(true!==maxWidth){var value="number"===typeof maxWidth?"".concat(maxWidth,"px"):maxWidth;newStyle=_objectSpread({},style,{maxWidth:value})}else true===maxWidth&&(widthClassName="euiListGroup-maxWidthDefault");var classes=(0,_classnames.default)("euiListGroup",{"euiListGroup-flush":flush,"euiListGroup-bordered":bordered},widthClassName,className);var childrenOrListItems=null;childrenOrListItems=listItems?listItems.map(function(item,index){return[_react.default.createElement(_list_group_item.EuiListGroupItem,_extends({key:"title-".concat(index),showToolTip:showToolTips,wrapText:wrapText},item))]}):showToolTips?_react.default.Children.map(children,function(child){return _react.default.cloneElement(child,{showToolTip:true})}):children;return _react.default.createElement("ul",_extends({className:classes,style:newStyle||style},rest),childrenOrListItems)};exports.EuiListGroup=EuiListGroup;EuiListGroup.propTypes={listItems:_propTypes.default.arrayOf(_propTypes.default.shape({label:_propTypes.default.node,href:_propTypes.default.string,extraAction:_propTypes.default.object,iconType:_propTypes.default.string,isActive:_propTypes.default.boolean,isDisabled:_propTypes.default.boolean,showToolTip:_propTypes.default.boolean})),children:_propTypes.default.node,className:_propTypes.default.string,flush:_propTypes.default.bool,bordered:_propTypes.default.bool,wrapText:_propTypes.default.bool,showToolTips:_propTypes.default.bool,maxWidth:_propTypes.default.oneOfType([_propTypes.default.bool,_propTypes.default.number,_propTypes.default.string])};EuiListGroup.defaultProps={flush:false,bordered:false,wrapText:false,maxWidth:true,showToolTips:false};EuiListGroup.__docgenInfo={description:"",methods:[],displayName:"EuiListGroup",props:{flush:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Remove container padding, stretching list items to the edges"},bordered:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Add a border to the list container"},wrapText:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Allow link text to wrap"},maxWidth:{defaultValue:{value:"true",computed:false},type:{name:"union",value:[{name:"bool"},{name:"number"},{name:"string"}]},required:false,description:"Sets the max-width of the page,\nset to `true` to use the default size,\nset to `false` to not restrict the width,\nset to a number for a custom width in px,\nset to a string for a custom width in custom measurement."},showToolTips:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Display tooltips on all list items"},listItems:{type:{name:"arrayOf",value:{name:"shape",value:{label:{name:"node",required:false},href:{name:"string",required:false},extraAction:{name:"object",required:false},iconType:{name:"string",required:false},isActive:{name:"custom",raw:"PropTypes.boolean",required:false},isDisabled:{name:"custom",raw:"PropTypes.boolean",required:false},showToolTip:{name:"custom",raw:"PropTypes.boolean",required:false}}}},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){var $export=__webpack_require__(41);var $values=__webpack_require__(1793)(false);$export($export.S,"Object",{values:function values(it){return $values(it)}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTableBody=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiTableBody=function EuiTableBody(_ref){var children=_ref.children,className=_ref.className,bodyRef=_ref.bodyRef,rest=_objectWithoutProperties(_ref,["children","className","bodyRef"]);return _react.default.createElement("tbody",_extends({className:className,ref:bodyRef},rest),children)};exports.EuiTableBody=EuiTableBody;EuiTableBody.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiTableBody.__docgenInfo={description:"",methods:[],displayName:"EuiTableBody",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){0,factory=function(exports){"use strict";var prefix="$";function Map(){}Map.prototype=map.prototype={constructor:Map,has:function(key){return prefix+key in this},get:function(key){return this[prefix+key]},set:function(key,value){this[prefix+key]=value;return this},remove:function(key){var property=prefix+key;return property in this&&delete this[property]},clear:function(){for(var property in this)property[0]===prefix&&delete this[property]},keys:function(){var keys=[];for(var property in this)property[0]===prefix&&keys.push(property.slice(1));return keys},values:function(){var values=[];for(var property in this)property[0]===prefix&&values.push(this[property]);return values},entries:function(){var entries=[];for(var property in this)property[0]===prefix&&entries.push({key:property.slice(1),value:this[property]});return entries},size:function(){var size=0;for(var property in this)property[0]===prefix&&++size;return size},empty:function(){for(var property in this)if(property[0]===prefix)return false;return true},each:function(f){for(var property in this)property[0]===prefix&&f(this[property],property.slice(1),this)}};function map(object,f){var map=new Map;if(object instanceof Map)object.each(function(value,key){map.set(key,value)});else if(Array.isArray(object)){var o,i=-1,n=object.length;if(null==f)while(++i<n)map.set(i,object[i]);else while(++i<n)map.set(f(o=object[i],i,object),o)}else if(object)for(var key in object)map.set(key,object[key]);return map}var nest=function(){var sortValues,rollup,nest,keys=[],sortKeys=[];function apply(array,depth,createResult,setResult){if(depth>=keys.length){null!=sortValues&&array.sort(sortValues);return null!=rollup?rollup(array):array}var keyValue,value,values,i=-1,n=array.length,key=keys[depth++],valuesByKey=map(),result=createResult();while(++i<n)(values=valuesByKey.get(keyValue=key(value=array[i])+""))?values.push(value):valuesByKey.set(keyValue,[value]);valuesByKey.each(function(values,key){setResult(result,key,apply(values,depth,createResult,setResult))});return result}function entries(map$$1,depth){if(++depth>keys.length)return map$$1;var array,sortKey=sortKeys[depth-1];null!=rollup&&depth>=keys.length?array=map$$1.entries():(array=[],map$$1.each(function(v,k){array.push({key:k,values:entries(v,depth)})}));return null!=sortKey?array.sort(function(a,b){return sortKey(a.key,b.key)}):array}return nest={object:function(array){return apply(array,0,createObject,setObject)},map:function(array){return apply(array,0,createMap,setMap)},entries:function(array){return entries(apply(array,0,createMap,setMap),0)},key:function(d){keys.push(d);return nest},sortKeys:function(order){sortKeys[keys.length-1]=order;return nest},sortValues:function(order){sortValues=order;return nest},rollup:function(f){rollup=f;return nest}}};function createObject(){return{}}function setObject(object,key,value){object[key]=value}function createMap(){return map()}function setMap(map$$1,key,value){map$$1.set(key,value)}function Set(){}var proto=map.prototype;Set.prototype=set.prototype={constructor:Set,has:proto.has,add:function(value){value+="";this[prefix+value]=value;return this},remove:proto.remove,clear:proto.clear,values:proto.keys,size:proto.size,empty:proto.empty,each:proto.each};function set(object,f){var set=new Set;if(object instanceof Set)object.each(function(value){set.add(value)});else if(object){var i=-1,n=object.length;if(null==f)while(++i<n)set.add(object[i]);else while(++i<n)set.add(f(object[i],i,object))}return set}var keys=function(map){var keys=[];for(var key in map)keys.push(key);return keys};var values=function(map){var values=[];for(var key in map)values.push(map[key]);return values};var entries=function(map){var entries=[];for(var key in map)entries.push({key:key,value:map[key]});return entries};exports.nest=nest;exports.set=set;exports.map=map;exports.keys=keys;exports.values=values;exports.entries=entries;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports);var factory},function(module,exports,__webpack_require__){0,factory=function(exports,d3Color){"use strict";function basis(t1,v0,v1,v2,v3){var t2=t1*t1,t3=t2*t1;return((1-3*t1+3*t2-t3)*v0+(4-6*t2+3*t3)*v1+(1+3*t1+3*t2-3*t3)*v2+t3*v3)/6}var basis$1=function(values){var n=values.length-1;return function(t){var i=t<=0?t=0:t>=1?(t=1,n-1):Math.floor(t*n),v1=values[i],v2=values[i+1],v0=i>0?values[i-1]:2*v1-v2,v3=i<n-1?values[i+2]:2*v2-v1;return basis((t-i/n)*n,v0,v1,v2,v3)}};var basisClosed=function(values){var n=values.length;return function(t){var i=Math.floor(((t%=1)<0?++t:t)*n),v0=values[(i+n-1)%n],v1=values[i%n],v2=values[(i+1)%n],v3=values[(i+2)%n];return basis((t-i/n)*n,v0,v1,v2,v3)}};var constant=function(x){return function(){return x}};function linear(a,d){return function(t){return a+t*d}}function exponential(a,b,y){return a=Math.pow(a,y),b=Math.pow(b,y)-a,y=1/y,function(t){return Math.pow(a+t*b,y)}}function hue(a,b){var d=b-a;return d?linear(a,d>180||d<-180?d-360*Math.round(d/360):d):constant(isNaN(a)?b:a)}function gamma(y){return 1===(y=+y)?nogamma:function(a,b){return b-a?exponential(a,b,y):constant(isNaN(a)?b:a)}}function nogamma(a,b){var d=b-a;return d?linear(a,d):constant(isNaN(a)?b:a)}var rgb$1=function rgbGamma(y){var color$$1=gamma(y);function rgb$$1(start,end){var r=color$$1((start=d3Color.rgb(start)).r,(end=d3Color.rgb(end)).r),g=color$$1(start.g,end.g),b=color$$1(start.b,end.b),opacity=nogamma(start.opacity,end.opacity);return function(t){start.r=r(t);start.g=g(t);start.b=b(t);start.opacity=opacity(t);return start+""}}rgb$$1.gamma=rgbGamma;return rgb$$1}(1);function rgbSpline(spline){return function(colors){var i,color$$1,n=colors.length,r=new Array(n),g=new Array(n),b=new Array(n);for(i=0;i<n;++i){color$$1=d3Color.rgb(colors[i]);r[i]=color$$1.r||0;g[i]=color$$1.g||0;b[i]=color$$1.b||0}r=spline(r);g=spline(g);b=spline(b);color$$1.opacity=1;return function(t){color$$1.r=r(t);color$$1.g=g(t);color$$1.b=b(t);return color$$1+""}}}var rgbBasis=rgbSpline(basis$1);var rgbBasisClosed=rgbSpline(basisClosed);var array=function(a,b){var i,nb=b?b.length:0,na=a?Math.min(nb,a.length):0,x=new Array(na),c=new Array(nb);for(i=0;i<na;++i)x[i]=value(a[i],b[i]);for(;i<nb;++i)c[i]=b[i];return function(t){for(i=0;i<na;++i)c[i]=x[i](t);return c}};var date=function(a,b){var d=new Date;return a=+a,b-=a,function(t){return d.setTime(a+b*t),d}};var number=function(a,b){return a=+a,b-=a,function(t){return a+b*t}};var object=function(a,b){var k,i={},c={};null!==a&&"object"===typeof a||(a={});null!==b&&"object"===typeof b||(b={});for(k in b)k in a?i[k]=value(a[k],b[k]):c[k]=b[k];return function(t){for(k in i)c[k]=i[k](t);return c}};var reA=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g;var reB=new RegExp(reA.source,"g");function zero(b){return function(){return b}}function one(b){return function(t){return b(t)+""}}var string=function(a,b){var am,bm,bs,bi=reA.lastIndex=reB.lastIndex=0,i=-1,s=[],q=[];a+="",b+="";while((am=reA.exec(a))&&(bm=reB.exec(b))){if((bs=bm.index)>bi){bs=b.slice(bi,bs);s[i]?s[i]+=bs:s[++i]=bs}if((am=am[0])===(bm=bm[0]))s[i]?s[i]+=bm:s[++i]=bm;else{s[++i]=null;q.push({i:i,x:number(am,bm)})}bi=reB.lastIndex}if(bi<b.length){bs=b.slice(bi);s[i]?s[i]+=bs:s[++i]=bs}return s.length<2?q[0]?one(q[0].x):zero(b):(b=q.length,function(t){for(var o,i=0;i<b;++i)s[(o=q[i]).i]=o.x(t);return s.join("")})};var value=function(a,b){var c,t=typeof b;return null==b||"boolean"===t?constant(b):("number"===t?number:"string"===t?(c=d3Color.color(b))?(b=c,rgb$1):string:b instanceof d3Color.color?rgb$1:b instanceof Date?date:Array.isArray(b)?array:"function"!==typeof b.valueOf&&"function"!==typeof b.toString||isNaN(b)?object:number)(a,b)};var round=function(a,b){return a=+a,b-=a,function(t){return Math.round(a+b*t)}};var degrees=180/Math.PI;var identity={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};var decompose=function(a,b,c,d,e,f){var scaleX,scaleY,skewX;(scaleX=Math.sqrt(a*a+b*b))&&(a/=scaleX,b/=scaleX);(skewX=a*c+b*d)&&(c-=a*skewX,d-=b*skewX);(scaleY=Math.sqrt(c*c+d*d))&&(c/=scaleY,d/=scaleY,skewX/=scaleY);a*d<b*c&&(a=-a,b=-b,skewX=-skewX,scaleX=-scaleX);return{translateX:e,translateY:f,rotate:Math.atan2(b,a)*degrees,skewX:Math.atan(skewX)*degrees,scaleX:scaleX,scaleY:scaleY}};var cssNode;var cssRoot;var cssView;var svgNode;function parseCss(value){if("none"===value)return identity;cssNode||(cssNode=document.createElement("DIV"),cssRoot=document.documentElement,cssView=document.defaultView);cssNode.style.transform=value;value=cssView.getComputedStyle(cssRoot.appendChild(cssNode),null).getPropertyValue("transform");cssRoot.removeChild(cssNode);value=value.slice(7,-1).split(",");return decompose(+value[0],+value[1],+value[2],+value[3],+value[4],+value[5])}function parseSvg(value){if(null==value)return identity;svgNode||(svgNode=document.createElementNS("http://www.w3.org/2000/svg","g"));svgNode.setAttribute("transform",value);if(!(value=svgNode.transform.baseVal.consolidate()))return identity;value=value.matrix;return decompose(value.a,value.b,value.c,value.d,value.e,value.f)}function interpolateTransform(parse,pxComma,pxParen,degParen){function pop(s){return s.length?s.pop()+" ":""}function translate(xa,ya,xb,yb,s,q){if(xa!==xb||ya!==yb){var i=s.push("translate(",null,pxComma,null,pxParen);q.push({i:i-4,x:number(xa,xb)},{i:i-2,x:number(ya,yb)})}else(xb||yb)&&s.push("translate("+xb+pxComma+yb+pxParen)}function rotate(a,b,s,q){if(a!==b){a-b>180?b+=360:b-a>180&&(a+=360);q.push({i:s.push(pop(s)+"rotate(",null,degParen)-2,x:number(a,b)})}else b&&s.push(pop(s)+"rotate("+b+degParen)}function skewX(a,b,s,q){a!==b?q.push({i:s.push(pop(s)+"skewX(",null,degParen)-2,x:number(a,b)}):b&&s.push(pop(s)+"skewX("+b+degParen)}function scale(xa,ya,xb,yb,s,q){if(xa!==xb||ya!==yb){var i=s.push(pop(s)+"scale(",null,",",null,")");q.push({i:i-4,x:number(xa,xb)},{i:i-2,x:number(ya,yb)})}else 1===xb&&1===yb||s.push(pop(s)+"scale("+xb+","+yb+")")}return function(a,b){var s=[],q=[];a=parse(a),b=parse(b);translate(a.translateX,a.translateY,b.translateX,b.translateY,s,q);rotate(a.rotate,b.rotate,s,q);skewX(a.skewX,b.skewX,s,q);scale(a.scaleX,a.scaleY,b.scaleX,b.scaleY,s,q);a=b=null;return function(t){var o,i=-1,n=q.length;while(++i<n)s[(o=q[i]).i]=o.x(t);return s.join("")}}}var interpolateTransformCss=interpolateTransform(parseCss,"px, ","px)","deg)");var interpolateTransformSvg=interpolateTransform(parseSvg,", ",")",")");var rho=Math.SQRT2;var rho2=2;var rho4=4;var epsilon2=1e-12;function cosh(x){return((x=Math.exp(x))+1/x)/2}function sinh(x){return((x=Math.exp(x))-1/x)/2}function tanh(x){return((x=Math.exp(2*x))-1)/(x+1)}var zoom=function(p0,p1){var i,S,ux0=p0[0],uy0=p0[1],w0=p0[2],ux1=p1[0],uy1=p1[1],w1=p1[2],dx=ux1-ux0,dy=uy1-uy0,d2=dx*dx+dy*dy;if(d2<epsilon2){S=Math.log(w1/w0)/rho;i=function(t){return[ux0+t*dx,uy0+t*dy,w0*Math.exp(rho*t*S)]}}else{var d1=Math.sqrt(d2),b0=(w1*w1-w0*w0+rho4*d2)/(2*w0*rho2*d1),b1=(w1*w1-w0*w0-rho4*d2)/(2*w1*rho2*d1),r0=Math.log(Math.sqrt(b0*b0+1)-b0),r1=Math.log(Math.sqrt(b1*b1+1)-b1);S=(r1-r0)/rho;i=function(t){var s=t*S,coshr0=cosh(r0),u=w0/(rho2*d1)*(coshr0*tanh(rho*s+r0)-sinh(r0));return[ux0+u*dx,uy0+u*dy,w0*coshr0/cosh(rho*s+r0)]}}i.duration=1e3*S;return i};function hsl$1(hue$$1){return function(start,end){var h=hue$$1((start=d3Color.hsl(start)).h,(end=d3Color.hsl(end)).h),s=nogamma(start.s,end.s),l=nogamma(start.l,end.l),opacity=nogamma(start.opacity,end.opacity);return function(t){start.h=h(t);start.s=s(t);start.l=l(t);start.opacity=opacity(t);return start+""}}}var hsl$2=hsl$1(hue);var hslLong=hsl$1(nogamma);function lab$1(start,end){var l=nogamma((start=d3Color.lab(start)).l,(end=d3Color.lab(end)).l),a=nogamma(start.a,end.a),b=nogamma(start.b,end.b),opacity=nogamma(start.opacity,end.opacity);return function(t){start.l=l(t);start.a=a(t);start.b=b(t);start.opacity=opacity(t);return start+""}}function hcl$1(hue$$1){return function(start,end){var h=hue$$1((start=d3Color.hcl(start)).h,(end=d3Color.hcl(end)).h),c=nogamma(start.c,end.c),l=nogamma(start.l,end.l),opacity=nogamma(start.opacity,end.opacity);return function(t){start.h=h(t);start.c=c(t);start.l=l(t);start.opacity=opacity(t);return start+""}}}var hcl$2=hcl$1(hue);var hclLong=hcl$1(nogamma);function cubehelix$1(hue$$1){return function cubehelixGamma(y){y=+y;function cubehelix$$1(start,end){var h=hue$$1((start=d3Color.cubehelix(start)).h,(end=d3Color.cubehelix(end)).h),s=nogamma(start.s,end.s),l=nogamma(start.l,end.l),opacity=nogamma(start.opacity,end.opacity);return function(t){start.h=h(t);start.s=s(t);start.l=l(Math.pow(t,y));start.opacity=opacity(t);return start+""}}cubehelix$$1.gamma=cubehelixGamma;return cubehelix$$1}(1)}var cubehelix$2=cubehelix$1(hue);var cubehelixLong=cubehelix$1(nogamma);var quantize=function(interpolator,n){var samples=new Array(n);for(var i=0;i<n;++i)samples[i]=interpolator(i/(n-1));return samples};exports.interpolate=value;exports.interpolateArray=array;exports.interpolateBasis=basis$1;exports.interpolateBasisClosed=basisClosed;exports.interpolateDate=date;exports.interpolateNumber=number;exports.interpolateObject=object;exports.interpolateRound=round;exports.interpolateString=string;exports.interpolateTransformCss=interpolateTransformCss;exports.interpolateTransformSvg=interpolateTransformSvg;exports.interpolateZoom=zoom;exports.interpolateRgb=rgb$1;exports.interpolateRgbBasis=rgbBasis;exports.interpolateRgbBasisClosed=rgbBasisClosed;exports.interpolateHsl=hsl$2;exports.interpolateHslLong=hslLong;exports.interpolateLab=lab$1;exports.interpolateHcl=hcl$2;exports.interpolateHclLong=hclLong;exports.interpolateCubehelix=cubehelix$2;exports.interpolateCubehelixLong=cubehelixLong;exports.quantize=quantize;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports,__webpack_require__(163));var factory},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports["default"]=mapToZero;function mapToZero(obj){var ret={};for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(ret[key]=0);return ret}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports["default"]=stepper;var reusedTuple=[0,0];function stepper(secondPerFrame,x,v,destX,k,b,precision){var Fspring=-k*(x-destX);var Fdamper=-b*v;var a=Fspring+Fdamper;var newV=v+a*secondPerFrame;var newX=x+newV*secondPerFrame;if(Math.abs(newV)<precision&&Math.abs(newX-destX)<precision){reusedTuple[0]=destX;reusedTuple[1]=0;return reusedTuple}reusedTuple[0]=newX;reusedTuple[1]=newV;return reusedTuple}module.exports=exports["default"]},function(module,exports,__webpack_require__){(function(process){(function(){var getNanoSeconds,hrtime,loadTime;if("undefined"!==typeof performance&&null!==performance&&performance.now)module.exports=function(){return performance.now()};else if("undefined"!==typeof process&&null!==process&&process.hrtime){module.exports=function(){return(getNanoSeconds()-loadTime)/1e6};hrtime=process.hrtime;getNanoSeconds=function(){var hr;hr=hrtime();return 1e9*hr[0]+hr[1]};loadTime=getNanoSeconds()}else if(Date.now){module.exports=function(){return Date.now()-loadTime};loadTime=Date.now()}else{module.exports=function(){return(new Date).getTime()-loadTime};loadTime=(new Date).getTime()}}).call(this)}).call(this,__webpack_require__(59))},function(module,exports,__webpack_require__){(function(global){var now=__webpack_require__(1856),root="undefined"===typeof window?global:window,vendors=["moz","webkit"],suffix="AnimationFrame",raf=root["request"+suffix],caf=root["cancel"+suffix]||root["cancelRequest"+suffix];for(var i=0;!raf&&i<vendors.length;i++){raf=root[vendors[i]+"Request"+suffix];caf=root[vendors[i]+"Cancel"+suffix]||root[vendors[i]+"CancelRequest"+suffix]}if(!raf||!caf){var last=0,id=0,queue=[],frameDuration=1e3/60;raf=function(callback){if(0===queue.length){var _now=now(),next=Math.max(0,frameDuration-(_now-last));last=next+_now;setTimeout(function(){var cp=queue.slice(0);queue.length=0;for(var i=0;i<cp.length;i++)if(!cp[i].cancelled)try{cp[i].callback(last)}catch(e){setTimeout(function(){throw e},0)}},Math.round(next))}queue.push({handle:++id,callback:callback,cancelled:false});return id};caf=function(handle){for(var i=0;i<queue.length;i++)queue[i].handle===handle&&(queue[i].cancelled=true)}}module.exports=function(fn){return raf.call(root,fn)};module.exports.cancel=function(){caf.apply(root,arguments)};module.exports.polyfill=function(object){object||(object=root);object.requestAnimationFrame=raf;object.cancelAnimationFrame=caf}}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports["default"]=shouldStopAnimation;function shouldStopAnimation(currentStyle,style,currentVelocity){for(var key in style){if(!Object.prototype.hasOwnProperty.call(style,key))continue;if(0!==currentVelocity[key])return false;var styleValue="number"===typeof style[key]?style[key]:style[key].val;if(currentStyle[key]!==styleValue)return false}return true}module.exports=exports["default"]},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(1857)()},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Shape=__webpack_require__(246);var d3Shape=_interopRequireWildcard(_d3Shape);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _theme=__webpack_require__(44);var _seriesUtils=__webpack_require__(50);var _reactUtils=__webpack_require__(245);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-xy-plot__series rv-xy-plot__series--line";var STROKE_STYLES={dashed:"6, 2",solid:null};var LineSeries=function(_AbstractSeries){_inherits(LineSeries,_AbstractSeries);function LineSeries(){_classCallCheck(this,LineSeries);return _possibleConstructorReturn(this,(LineSeries.__proto__||Object.getPrototypeOf(LineSeries)).apply(this,arguments))}_createClass(LineSeries,[{key:"_renderLine",value:function _renderLine(data,x,y,curve,getNull){var line=d3Shape.line();null!==curve&&("string"===typeof curve&&d3Shape[curve]?line=line.curve(d3Shape[curve]):"function"===typeof curve&&(line=line.curve(curve)));line=line.defined(getNull);line=line.x(x).y(y);return line(data)}},{key:"render",value:function render(){var _props=this.props,animation=_props.animation,className=_props.className,data=_props.data;this.props.nullAccessor&&(0,_reactUtils.warning)("nullAccessor has been renamed to getNull",true);if(!data)return null;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS}),_react2.default.createElement(LineSeries,_extends({},this.props,{animation:null})));var _props2=this.props,curve=_props2.curve,marginLeft=_props2.marginLeft,marginTop=_props2.marginTop,strokeDasharray=_props2.strokeDasharray,strokeStyle=_props2.strokeStyle,strokeWidth=_props2.strokeWidth,style=_props2.style;var x=this._getAttributeFunctor("x");var y=this._getAttributeFunctor("y");var stroke=this._getAttributeValue("stroke")||this._getAttributeValue("color");var newOpacity=this._getAttributeValue("opacity");var opacity=Number.isFinite(newOpacity)?newOpacity:_theme.DEFAULT_OPACITY;var getNull=this.props.nullAccessor||this.props.getNull;var d=this._renderLine(data,x,y,curve,getNull);return _react2.default.createElement("path",{d:d,className:predefinedClassName+" "+className,transform:"translate("+marginLeft+","+marginTop+")",onMouseOver:this._seriesMouseOverHandler,onMouseOut:this._seriesMouseOutHandler,onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,style:_extends({opacity:opacity,strokeDasharray:STROKE_STYLES[strokeStyle]||strokeDasharray,strokeWidth:strokeWidth,stroke:stroke},style)})}}]);return LineSeries}(_abstractSeries2.default);LineSeries.displayName="LineSeries";LineSeries.propTypes=_extends({},_abstractSeries2.default.propTypes,{strokeStyle:_propTypes2.default.oneOf(Object.keys(STROKE_STYLES)),curve:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.func]),getNull:_propTypes2.default.func});LineSeries.defaultProps=_extends({},_abstractSeries2.default.defaultProps,{strokeStyle:"solid",style:{},opacity:1,curve:null,className:"",getNull:function getNull(){return true}});exports.default=LineSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _seriesUtils=__webpack_require__(50);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-xy-plot__series rv-xy-plot__series--rect";var RectSeries=function(_AbstractSeries){_inherits(RectSeries,_AbstractSeries);function RectSeries(){_classCallCheck(this,RectSeries);return _possibleConstructorReturn(this,(RectSeries.__proto__||Object.getPrototypeOf(RectSeries)).apply(this,arguments))}_createClass(RectSeries,[{key:"render",value:function render(){var _this2=this;var _props=this.props,animation=_props.animation,className=_props.className,data=_props.data,linePosAttr=_props.linePosAttr,lineSizeAttr=_props.lineSizeAttr,marginLeft=_props.marginLeft,marginTop=_props.marginTop,style=_props.style,valuePosAttr=_props.valuePosAttr,valueSizeAttr=_props.valueSizeAttr;if(!data)return null;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS}),_react2.default.createElement(RectSeries,_extends({},this.props,{animation:null})));var lineFunctor=this._getAttributeFunctor(linePosAttr);var line0Functor=this._getAttr0Functor(linePosAttr);var valueFunctor=this._getAttributeFunctor(valuePosAttr);var value0Functor=this._getAttr0Functor(valuePosAttr);var fillFunctor=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color");var strokeFunctor=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color");var opacityFunctor=this._getAttributeFunctor("opacity");return _react2.default.createElement("g",{className:predefinedClassName+" "+className,transform:"translate("+marginLeft+","+marginTop+")"},data.map(function(d,i){var _attrs;var attrs=(_attrs={style:_extends({opacity:opacityFunctor&&opacityFunctor(d),stroke:strokeFunctor&&strokeFunctor(d),fill:fillFunctor&&fillFunctor(d)},style)},_defineProperty(_attrs,linePosAttr,line0Functor(d)),_defineProperty(_attrs,lineSizeAttr,Math.abs(lineFunctor(d)-line0Functor(d))),_defineProperty(_attrs,valuePosAttr,Math.min(value0Functor(d),valueFunctor(d))),_defineProperty(_attrs,valueSizeAttr,Math.abs(-value0Functor(d)+valueFunctor(d))),_defineProperty(_attrs,"onClick",function onClick(e){return _this2._valueClickHandler(d,e)}),_defineProperty(_attrs,"onContextMenu",function onContextMenu(e){return _this2._valueRightClickHandler(d,e)}),_defineProperty(_attrs,"onMouseOver",function onMouseOver(e){return _this2._valueMouseOverHandler(d,e)}),_defineProperty(_attrs,"onMouseOut",function onMouseOut(e){return _this2._valueMouseOutHandler(d,e)}),_defineProperty(_attrs,"key",i),_attrs);return _react2.default.createElement("rect",attrs)}))}}],[{key:"propTypes",get:function get(){return _extends({},_abstractSeries2.default.propTypes,{linePosAttr:_propTypes2.default.string,valuePosAttr:_propTypes2.default.string,lineSizeAttr:_propTypes2.default.string,valueSizeAttr:_propTypes2.default.string})}}]);return RectSeries}(_abstractSeries2.default);RectSeries.displayName="RectSeries";exports.default=RectSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Color=__webpack_require__(163);var _theme=__webpack_require__(44);var _scalesUtils=__webpack_require__(58);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var RectSeriesCanvas=function(_AbstractSeries){_inherits(RectSeriesCanvas,_AbstractSeries);function RectSeriesCanvas(){_classCallCheck(this,RectSeriesCanvas);return _possibleConstructorReturn(this,(RectSeriesCanvas.__proto__||Object.getPrototypeOf(RectSeriesCanvas)).apply(this,arguments))}_createClass(RectSeriesCanvas,[{key:"render",value:function render(){return null}}],[{key:"renderLayer",value:function renderLayer(props,ctx){var data=props.data,linePosAttr=props.linePosAttr,lineSizeAttr=props.lineSizeAttr,marginLeft=props.marginLeft,marginTop=props.marginTop,valuePosAttr=props.valuePosAttr;if(!data||0===data.length)return;var line=(0,_scalesUtils.getAttributeFunctor)(props,linePosAttr);var line0=(0,_scalesUtils.getAttr0Functor)(props,linePosAttr);var value=(0,_scalesUtils.getAttributeFunctor)(props,valuePosAttr);var value0=(0,_scalesUtils.getAttr0Functor)(props,valuePosAttr);var fill=(0,_scalesUtils.getAttributeFunctor)(props,"fill")||(0,_scalesUtils.getAttributeFunctor)(props,"color");var stroke=(0,_scalesUtils.getAttributeFunctor)(props,"stroke")||(0,_scalesUtils.getAttributeFunctor)(props,"color");var opacity=(0,_scalesUtils.getAttributeFunctor)(props,"opacity");data.forEach(function(row){var fillColor=(0,_d3Color.rgb)(fill(row));var strokeColor=(0,_d3Color.rgb)(stroke(row));var rowOpacity=opacity(row)||_theme.DEFAULT_OPACITY;var linePos=line0(row);var valuePos=Math.min(value0(row),value(row));var x="x"===valuePosAttr?valuePos:linePos;var y="y"===valuePosAttr?valuePos:linePos;var lineSize=Math.abs(line(row)-line0(row));var valueSize=Math.abs(-value0(row)+value(row));var height="height"===lineSizeAttr?lineSize:valueSize;var width="width"===lineSizeAttr?lineSize:valueSize;ctx.beginPath();ctx.rect(x+marginLeft,y+marginTop,width,height);ctx.fillStyle="rgba("+fillColor.r+", "+fillColor.g+", "+fillColor.b+", "+rowOpacity+")";ctx.fill();ctx.strokeStyle="rgba("+strokeColor.r+", "+strokeColor.g+", "+strokeColor.b+", "+rowOpacity+")";ctx.stroke()})}},{key:"requiresSVG",get:function get(){return false}},{key:"isCanvas",get:function get(){return true}}]);return RectSeriesCanvas}(_abstractSeries2.default);RectSeriesCanvas.displayName="RectSeriesCanvas";RectSeriesCanvas.defaultProps=_extends({},_abstractSeries2.default.defaultProps,{linePosAttr:_propTypes2.default.string.isRequired,valuePosAttr:_propTypes2.default.string.isRequired,lineSizeAttr:_propTypes2.default.string.isRequired,valueSizeAttr:_propTypes2.default.string.isRequired});RectSeriesCanvas.propTypes=_extends({},_abstractSeries2.default.propTypes);exports.default=RectSeriesCanvas},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _seriesUtils=__webpack_require__(50);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-xy-plot__series rv-xy-plot__series--polygon";var DEFAULT_COLOR="#12939A";var generatePath=function generatePath(data,xFunctor,yFunctor){return data.reduce(function(res,row,i){return res+" "+(i?"L":"M")+xFunctor(row)+" "+yFunctor(row)},"")+" Z"};var PolygonSeries=function(_AbstractSeries){_inherits(PolygonSeries,_AbstractSeries);function PolygonSeries(){_classCallCheck(this,PolygonSeries);return _possibleConstructorReturn(this,(PolygonSeries.__proto__||Object.getPrototypeOf(PolygonSeries)).apply(this,arguments))}_createClass(PolygonSeries,[{key:"render",value:function render(){var _props=this.props,animation=_props.animation,color=_props.color,className=_props.className,data=_props.data,marginLeft=_props.marginLeft,marginTop=_props.marginTop,style=_props.style;if(!data)return null;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS}),_react2.default.createElement(PolygonSeries,_extends({},this.props,{animation:null})));var xFunctor=this._getAttributeFunctor("x");var yFunctor=this._getAttributeFunctor("y");return _react2.default.createElement("path",{className:predefinedClassName+" "+className,onMouseOver:this._seriesMouseOverHandler,onMouseOut:this._seriesMouseOutHandler,onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,fill:color||DEFAULT_COLOR,style:style,d:generatePath(data,xFunctor,yFunctor),transform:"translate("+marginLeft+","+marginTop+")"})}}],[{key:"propTypes",get:function get(){return _extends({},_abstractSeries2.default.propTypes)}}]);return PolygonSeries}(_abstractSeries2.default);PolygonSeries.displayName="PolygonSeries";exports.default=PolygonSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _seriesUtils=__webpack_require__(50);var _reactUtils=__webpack_require__(245);var _theme=__webpack_require__(44);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-xy-plot__series rv-xy-plot__series--mark";var DEFAULT_STROKE_WIDTH=1;var MarkSeries=function(_AbstractSeries){_inherits(MarkSeries,_AbstractSeries);function MarkSeries(){_classCallCheck(this,MarkSeries);return _possibleConstructorReturn(this,(MarkSeries.__proto__||Object.getPrototypeOf(MarkSeries)).apply(this,arguments))}_createClass(MarkSeries,[{key:"_renderCircle",value:function _renderCircle(d,i,strokeWidth,style,scalingFunctions){var _this2=this;var fill=scalingFunctions.fill,opacity=scalingFunctions.opacity,size=scalingFunctions.size,stroke=scalingFunctions.stroke,x=scalingFunctions.x,y=scalingFunctions.y;var attrs={r:size?size(d):_theme.DEFAULT_SIZE,cx:x(d),cy:y(d),style:_extends({opacity:opacity?opacity(d):_theme.DEFAULT_OPACITY,stroke:stroke&&stroke(d),fill:fill&&fill(d),strokeWidth:strokeWidth||DEFAULT_STROKE_WIDTH},style),key:i,onClick:function onClick(e){return _this2._valueClickHandler(d,e)},onContextMenu:function onContextMenu(e){return _this2._valueRightClickHandler(d,e)},onMouseOver:function onMouseOver(e){return _this2._valueMouseOverHandler(d,e)},onMouseOut:function onMouseOut(e){return _this2._valueMouseOutHandler(d,e)}};return _react2.default.createElement("circle",attrs)}},{key:"render",value:function render(){var _this3=this;var _props=this.props,animation=_props.animation,className=_props.className,data=_props.data,marginLeft=_props.marginLeft,marginTop=_props.marginTop,strokeWidth=_props.strokeWidth,style=_props.style;this.props.nullAccessor&&(0,_reactUtils.warning)("nullAccessor has been renamed to getNull",true);var getNull=this.props.nullAccessor||this.props.getNull;if(!data)return null;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS}),_react2.default.createElement(MarkSeries,_extends({},this.props,{animation:null})));var scalingFunctions={fill:this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),opacity:this._getAttributeFunctor("opacity"),size:this._getAttributeFunctor("size"),stroke:this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),x:this._getAttributeFunctor("x"),y:this._getAttributeFunctor("y")};return _react2.default.createElement("g",{className:predefinedClassName+" "+className,transform:"translate("+marginLeft+","+marginTop+")"},data.map(function(d,i){return getNull(d)&&_this3._renderCircle(d,i,strokeWidth,style,scalingFunctions)}))}}]);return MarkSeries}(_abstractSeries2.default);MarkSeries.displayName="MarkSeries";MarkSeries.propTypes=_extends({},_abstractSeries2.default.propTypes,{getNull:_propTypes2.default.func,strokeWidth:_propTypes2.default.number});MarkSeries.defaultProps={getNull:function getNull(){return true}};exports.default=MarkSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _seriesUtils=__webpack_require__(50);var _d3Shape=__webpack_require__(246);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _scalesUtils=__webpack_require__(58);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-xy-plot__series rv-xy-plot__series--arc";var ATTRIBUTES=["radius","angle"];var defaultProps=_extends({},_abstractSeries2.default.defaultProps,{center:{x:0,y:0},arcClassName:"",className:"",style:{}});function modifyRow(row){var radius=row.radius,angle=row.angle,angle0=row.angle0;var truedAngle=-1*angle+Math.PI/2;var truedAngle0=-1*angle0+Math.PI/2;return _extends({},row,{x:radius*Math.cos(truedAngle),y:radius*Math.sin(truedAngle),angle:truedAngle,angle0:truedAngle0})}var ArcSeries=function(_AbstractSeries){_inherits(ArcSeries,_AbstractSeries);function ArcSeries(props){_classCallCheck(this,ArcSeries);var _this=_possibleConstructorReturn(this,(ArcSeries.__proto__||Object.getPrototypeOf(ArcSeries)).call(this,props));var scaleProps=_this._getAllScaleProps(props);_this.state={scaleProps:scaleProps};return _this}_createClass(ArcSeries,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){this.setState({scaleProps:this._getAllScaleProps(nextProps)})}},{key:"_getAllScaleProps",value:function _getAllScaleProps(props){var defaultScaleProps=this._getDefaultScaleProps(props);var userScaleProps=(0,_scalesUtils.extractScalePropsFromProps)(props,ATTRIBUTES);var missingScaleProps=(0,_scalesUtils.getMissingScaleProps)(_extends({},defaultScaleProps,userScaleProps),props.data,ATTRIBUTES);return _extends({},defaultScaleProps,userScaleProps,missingScaleProps)}},{key:"_getDefaultScaleProps",value:function _getDefaultScaleProps(props){var innerWidth=props.innerWidth,innerHeight=props.innerHeight;var radius=Math.min(innerWidth/2,innerHeight/2);return{radiusRange:[0,radius],_radiusValue:radius,angleType:"literal"}}},{key:"render",value:function render(){var _this2=this;var _props=this.props,arcClassName=_props.arcClassName,animation=_props.animation,className=_props.className,center=_props.center,data=_props.data,disableSeries=_props.disableSeries,hideSeries=_props.hideSeries,marginLeft=_props.marginLeft,marginTop=_props.marginTop,style=_props.style;if(!data)return null;if(animation){var cloneData=data.map(function(d){return _extends({},d)});return _react2.default.createElement("g",{className:"rv-xy-plot__series--arc__animation-wrapper"},_react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS,data:cloneData}),_react2.default.createElement(ArcSeries,_extends({},this.props,{animation:null,disableSeries:true,data:cloneData}))),_react2.default.createElement(ArcSeries,_extends({},this.props,{animation:null,hideSeries:true,style:{stroke:"red"}})))}var scaleProps=this.state.scaleProps;var radiusDomain=scaleProps.radiusDomain;var radius=(0,_scalesUtils.getAttributeFunctor)(scaleProps,"radius");var radius0=(0,_scalesUtils.getAttr0Functor)(scaleProps,"radius");var angle=(0,_scalesUtils.getAttributeFunctor)(scaleProps,"angle");var angle0=(0,_scalesUtils.getAttr0Functor)(scaleProps,"angle");var fill=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color");var stroke=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color");var opacity=this._getAttributeFunctor("opacity");var x=this._getAttributeFunctor("x");var y=this._getAttributeFunctor("y");return _react2.default.createElement("g",{className:predefinedClassName+" "+className,onMouseOver:this._seriesMouseOverHandler,onMouseOut:this._seriesMouseOutHandler,onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,opacity:hideSeries?0:1,pointerEvents:disableSeries?"none":"all",transform:"translate("+(marginLeft+x(center))+","+(marginTop+y(center))+")"},data.map(function(row,i){var noRadius=radiusDomain[1]===radiusDomain[0];var arcArg={innerRadius:noRadius?0:radius0(row),outerRadius:radius(row),startAngle:angle0(row)||0,endAngle:angle(row)};var arcedData=(0,_d3Shape.arc)();var rowStyle=row.style||{};var rowClassName=row.className||"";return _react2.default.createElement("path",{style:_extends({opacity:opacity&&opacity(row),stroke:stroke&&stroke(row),fill:fill&&fill(row)},style,rowStyle),onClick:function onClick(e){return _this2._valueClickHandler(modifyRow(row),e)},onContextMenu:function onContextMenu(e){return _this2._valueRightClickHandler(modifyRow(row),e)},onMouseOver:function onMouseOver(e){return _this2._valueMouseOverHandler(modifyRow(row),e)},onMouseOut:function onMouseOut(e){return _this2._valueMouseOutHandler(modifyRow(row),e)},key:i,className:predefinedClassName+"-path "+arcClassName+" "+rowClassName,d:arcedData(arcArg)})}))}}]);return ArcSeries}(_abstractSeries2.default);ArcSeries.propTypes=_extends({},_abstractSeries2.default.propTypes,(0,_scalesUtils.getScalePropTypesByAttribute)("radius"),(0,_scalesUtils.getScalePropTypesByAttribute)("angle"),{center:_propTypes2.default.shape({x:_propTypes2.default.number,y:_propTypes2.default.number}),arcClassName:_propTypes2.default.string});ArcSeries.defaultProps=defaultProps;ArcSeries.displayName="ArcSeries";exports.default=ArcSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _d3Format=__webpack_require__(317);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _decorativeAxisTicks=__webpack_require__(1884);var _decorativeAxisTicks2=_interopRequireDefault(_decorativeAxisTicks);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-xy-manipulable-axis rv-xy-plot__axis";var animatedProps=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickSize","tickTotal","tickSizeInner","tickSizeOuter"];var DecorativeAxis=function(_AbstractSeries){_inherits(DecorativeAxis,_AbstractSeries);function DecorativeAxis(){_classCallCheck(this,DecorativeAxis);return _possibleConstructorReturn(this,(DecorativeAxis.__proto__||Object.getPrototypeOf(DecorativeAxis)).apply(this,arguments))}_createClass(DecorativeAxis,[{key:"render",value:function render(){var _props=this.props,animation=_props.animation,className=_props.className,marginLeft=_props.marginLeft,marginTop=_props.marginTop,axisStart=_props.axisStart,axisEnd=_props.axisEnd,axisDomain=_props.axisDomain,numberOfTicks=_props.numberOfTicks,tickValue=_props.tickValue,tickSize=_props.tickSize,style=_props.style;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:animatedProps}),_react2.default.createElement(DecorativeAxis,_extends({},this.props,{animation:null})));var x=this._getAttributeFunctor("x");var y=this._getAttributeFunctor("y");return _react2.default.createElement("g",{className:predefinedClassName+" "+className,transform:"translate("+marginLeft+","+marginTop+")"},_react2.default.createElement("line",_extends({},_extends({x1:x({x:axisStart.x}),x2:x({x:axisEnd.x}),y1:y({y:axisStart.y}),y2:y({y:axisEnd.y})},style.line),{className:"rv-xy-plot__axis__line"})),_react2.default.createElement("g",{className:"rv-xy-manipulable-axis__ticks"},(0,_decorativeAxisTicks2.default)({axisDomain:axisDomain,axisEnd:{x:x(axisEnd),y:y(axisEnd)},axisStart:{x:x(axisStart),y:y(axisStart)},numberOfTicks:numberOfTicks,tickValue:tickValue,tickSize:tickSize,style:style})))}}]);return DecorativeAxis}(_abstractSeries2.default);var DEFAULT_FORMAT=(0,_d3Format.format)(".2r");DecorativeAxis.defaultProps={className:"",numberOfTicks:10,tickValue:function tickValue(d){return DEFAULT_FORMAT(d)},tickSize:5,style:{line:{strokeWidth:1},ticks:{strokeWidth:2},text:{}}};DecorativeAxis.propTypes=_extends({},_abstractSeries2.default.propTypes,{axisDomain:_propTypes2.default.arrayOf(_propTypes2.default.number).isRequired,axisEnd:_propTypes2.default.shape({x:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string]),y:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string])}).isRequired,axisStart:_propTypes2.default.shape({x:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string]),y:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string])}).isRequired,className:_propTypes2.default.string,numberOfTicks:_propTypes2.default.number,tickValue:_propTypes2.default.func,tickSize:_propTypes2.default.number,style:_propTypes2.default.shape({line:_propTypes2.default.object,ticks:_propTypes2.default.object,text:_propTypes2.default.object})});DecorativeAxis.displayName="DecorativeAxis";exports.default=DecorativeAxis},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _scalesUtils=__webpack_require__(58);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _axisUtils=__webpack_require__(84);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var VERTICAL=_axisUtils.DIRECTION.VERTICAL,HORIZONTAL=_axisUtils.DIRECTION.HORIZONTAL;var propTypes={direction:_propTypes2.default.oneOf([VERTICAL,HORIZONTAL]),attr:_propTypes2.default.string.isRequired,width:_propTypes2.default.number,height:_propTypes2.default.number,top:_propTypes2.default.number,left:_propTypes2.default.number,style:_propTypes2.default.object,tickValues:_propTypes2.default.array,tickTotal:_propTypes2.default.number,animation:_animation.AnimationPropType,marginTop:_propTypes2.default.number,marginBottom:_propTypes2.default.number,marginLeft:_propTypes2.default.number,marginRight:_propTypes2.default.number,innerWidth:_propTypes2.default.number,innerHeight:_propTypes2.default.number};var defaultProps={direction:VERTICAL};var animatedProps=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickTotal"];var GridLines=function(_PureComponent){_inherits(GridLines,_PureComponent);function GridLines(){_classCallCheck(this,GridLines);return _possibleConstructorReturn(this,(GridLines.__proto__||Object.getPrototypeOf(GridLines)).apply(this,arguments))}_createClass(GridLines,[{key:"_getDefaultProps",value:function _getDefaultProps(){var _props=this.props,innerWidth=_props.innerWidth,innerHeight=_props.innerHeight,marginTop=_props.marginTop,marginLeft=_props.marginLeft,direction=_props.direction;return{left:marginLeft,top:marginTop,width:innerWidth,height:innerHeight,tickTotal:(0,_axisUtils.getTicksTotalFromSize)(direction===VERTICAL?innerWidth:innerHeight)}}},{key:"render",value:function render(){var animation=this.props.animation;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:animatedProps}),_react2.default.createElement(GridLines,_extends({},this.props,{animation:null})));var props=_extends({},this._getDefaultProps(),this.props);var attr=props.attr,direction=props.direction,width=props.width,height=props.height,style=props.style,tickTotal=props.tickTotal,tickValues=props.tickValues,top=props.top,left=props.left;var isVertical=direction===VERTICAL;var tickXAttr=isVertical?"y":"x";var tickYAttr=isVertical?"x":"y";var length=isVertical?height:width;var scale=(0,_scalesUtils.getAttributeScale)(props,attr);var values=(0,_axisUtils.getTickValues)(scale,tickTotal,tickValues);return _react2.default.createElement("g",{transform:"translate("+left+","+top+")",className:"rv-xy-plot__grid-lines"},values.map(function(v,i){var _pathProps;var pos=scale(v);var pathProps=(_pathProps={},_defineProperty(_pathProps,tickYAttr+"1",pos),_defineProperty(_pathProps,tickYAttr+"2",pos),_defineProperty(_pathProps,tickXAttr+"1",0),_defineProperty(_pathProps,tickXAttr+"2",length),_pathProps);return _react2.default.createElement("line",_extends({},pathProps,{key:i,className:"rv-xy-plot__grid-lines__line",style:style}))}))}}]);return GridLines}(_react.PureComponent);GridLines.displayName="GridLines";GridLines.defaultProps=defaultProps;GridLines.propTypes=propTypes;GridLines.requiresSVG=true;exports.default=GridLines},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _exportNames={formats:true};Object.defineProperty(exports,"formats",{enumerable:true,get:function get(){return _formats.formats}});var _formats=__webpack_require__(794);var _i18n=__webpack_require__(1932);Object.keys(_i18n).forEach(function(key){if("default"===key||"__esModule"===key)return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _i18n[key]}})})},function(module,exports,__webpack_require__){"use strict";var IntlRelativeFormat=__webpack_require__(1943)["default"];__webpack_require__(1948);exports=module.exports=IntlRelativeFormat;exports["default"]=exports},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function _interopDefault(ex){return ex&&"object"===typeof ex&&"default"in ex?ex["default"]:ex}var allLocaleData=_interopDefault(__webpack_require__(1954));var IntlMessageFormat=_interopDefault(__webpack_require__(320));var IntlRelativeFormat=_interopDefault(__webpack_require__(458));var PropTypes=_interopDefault(__webpack_require__(799));var React=__webpack_require__(0);var React__default=_interopDefault(React);var hoistNonReactStatics=_interopDefault(__webpack_require__(460));var invariant=_interopDefault(__webpack_require__(1957));var memoizeIntlConstructor=_interopDefault(__webpack_require__(795));var defaultLocaleData={locale:"en",pluralRuleFunction:function pluralRuleFunction(n,ord){var s=String(n).split("."),v0=!s[1],t0=Number(s[0])==n,n10=t0&&s[0].slice(-1),n100=t0&&s[0].slice(-2);if(ord)return 1==n10&&11!=n100?"one":2==n10&&12!=n100?"two":3==n10&&13!=n100?"few":"other";return 1==n&&v0?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}}};function addLocaleData(){var data=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];var locales=Array.isArray(data)?data:[data];locales.forEach(function(localeData){if(localeData&&localeData.locale){IntlMessageFormat.__addLocaleData(localeData);IntlRelativeFormat.__addLocaleData(localeData)}})}function hasLocaleData(locale){var localeParts=(locale||"").split("-");while(localeParts.length>0){if(hasIMFAndIRFLocaleData(localeParts.join("-")))return true;localeParts.pop()}return false}function hasIMFAndIRFLocaleData(locale){var normalizedLocale=locale&&locale.toLowerCase();return!!(IntlMessageFormat.__localeData__[normalizedLocale]&&IntlRelativeFormat.__localeData__[normalizedLocale])}var _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};(function(){function AwaitValue(value){this.value=value}function AsyncGenerator(gen){var front,back;function send(key,arg){return new Promise(function(resolve,reject){var request={key:key,arg:arg,resolve:resolve,reject:reject,next:null};if(back)back=back.next=request;else{front=back=request;resume(key,arg)}})}function resume(key,arg){try{var result=gen[key](arg);var value=result.value;value instanceof AwaitValue?Promise.resolve(value.value).then(function(arg){resume("next",arg)},function(arg){resume("throw",arg)}):settle(result.done?"return":"normal",result.value)}catch(err){settle("throw",err)}}function settle(type,value){switch(type){case"return":front.resolve({value:value,done:true});break;case"throw":front.reject(value);break;default:front.resolve({value:value,done:false})}front=front.next;front?resume(front.key,front.arg):back=null}this._invoke=send;"function"!==typeof gen.return&&(this.return=void 0)}"function"===typeof Symbol&&Symbol.asyncIterator&&(AsyncGenerator.prototype[Symbol.asyncIterator]=function(){return this});AsyncGenerator.prototype.next=function(arg){return this._invoke("next",arg)};AsyncGenerator.prototype.throw=function(arg){return this._invoke("throw",arg)};AsyncGenerator.prototype.return=function(arg){return this._invoke("return",arg)}})();var classCallCheck=function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")};var createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var defineProperty=function(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj};var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var inherits=function(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)};var objectWithoutProperties=function(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target};var possibleConstructorReturn=function(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call};var toConsumableArray=function(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return Array.from(arr)};var bool=PropTypes.bool;var number=PropTypes.number;var string=PropTypes.string;var func=PropTypes.func;var object=PropTypes.object;var oneOf=PropTypes.oneOf;var shape=PropTypes.shape;var any=PropTypes.any;var oneOfType=PropTypes.oneOfType;var localeMatcher=oneOf(["best fit","lookup"]);var narrowShortLong=oneOf(["narrow","short","long"]);var numeric2digit=oneOf(["numeric","2-digit"]);var funcReq=func.isRequired;var intlConfigPropTypes={locale:string,timeZone:string,formats:object,messages:object,textComponent:any,defaultLocale:string,defaultFormats:object,onError:func};var intlFormatPropTypes={formatDate:funcReq,formatTime:funcReq,formatRelative:funcReq,formatNumber:funcReq,formatPlural:funcReq,formatMessage:funcReq,formatHTMLMessage:funcReq};var intlShape=shape(_extends({},intlConfigPropTypes,intlFormatPropTypes,{formatters:object,now:funcReq}));string.isRequired,oneOfType([string,object]);var dateTimeFormatPropTypes={localeMatcher:localeMatcher,formatMatcher:oneOf(["basic","best fit"]),timeZone:string,hour12:bool,weekday:narrowShortLong,era:narrowShortLong,year:numeric2digit,month:oneOf(["numeric","2-digit","narrow","short","long"]),day:numeric2digit,hour:numeric2digit,minute:numeric2digit,second:numeric2digit,timeZoneName:oneOf(["short","long"])};var numberFormatPropTypes={localeMatcher:localeMatcher,style:oneOf(["decimal","currency","percent"]),currency:string,currencyDisplay:oneOf(["symbol","code","name"]),useGrouping:bool,minimumIntegerDigits:number,minimumFractionDigits:number,maximumFractionDigits:number,minimumSignificantDigits:number,maximumSignificantDigits:number};var relativeFormatPropTypes={style:oneOf(["best fit","numeric"]),units:oneOf(["second","minute","hour","day","month","year","second-short","minute-short","hour-short","day-short","month-short","year-short"])};var pluralFormatPropTypes={style:oneOf(["cardinal","ordinal"])};var intlConfigPropNames=Object.keys(intlConfigPropTypes);var ESCAPED_CHARS={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"};var UNSAFE_CHARS_REGEX=/[&><"']/g;function escape(str){return(""+str).replace(UNSAFE_CHARS_REGEX,function(match){return ESCAPED_CHARS[match]})}function filterProps(props,whitelist){var defaults$$1=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return whitelist.reduce(function(filtered,name){props.hasOwnProperty(name)?filtered[name]=props[name]:defaults$$1.hasOwnProperty(name)&&(filtered[name]=defaults$$1[name]);return filtered},{})}function invariantIntlContext(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},intl=_ref.intl;invariant(intl,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function shallowEquals(objA,objB){if(objA===objB)return true;if("object"!==("undefined"===typeof objA?"undefined":_typeof(objA))||null===objA||"object"!==("undefined"===typeof objB?"undefined":_typeof(objB))||null===objB)return false;var keysA=Object.keys(objA);var keysB=Object.keys(objB);if(keysA.length!==keysB.length)return false;var bHasOwnProperty=Object.prototype.hasOwnProperty.bind(objB);for(var i=0;i<keysA.length;i++)if(!bHasOwnProperty(keysA[i])||objA[keysA[i]]!==objB[keysA[i]])return false;return true}function shouldIntlComponentUpdate(_ref2,nextProps,nextState){var props=_ref2.props,state=_ref2.state,_ref2$context=_ref2.context,context=void 0===_ref2$context?{}:_ref2$context;var nextContext=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};var _context$intl=context.intl,intl=void 0===_context$intl?{}:_context$intl;var _nextContext$intl=nextContext.intl,nextIntl=void 0===_nextContext$intl?{}:_nextContext$intl;return!shallowEquals(nextProps,props)||!shallowEquals(nextState,state)||!(nextIntl===intl||shallowEquals(filterProps(nextIntl,intlConfigPropNames),filterProps(intl,intlConfigPropNames)))}function createError(message,exception){var eMsg=exception?"\n"+exception:"";return"[React Intl] "+message+eMsg}function defaultErrorHandler(error){false}function getDisplayName(Component$$1){return Component$$1.displayName||Component$$1.name||"Component"}function injectIntl(WrappedComponent){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var _options$intlPropName=options.intlPropName,intlPropName=void 0===_options$intlPropName?"intl":_options$intlPropName,_options$withRef=options.withRef,withRef=void 0!==_options$withRef&&_options$withRef;var InjectIntl=function(_Component){inherits(InjectIntl,_Component);function InjectIntl(props,context){classCallCheck(this,InjectIntl);var _this=possibleConstructorReturn(this,(InjectIntl.__proto__||Object.getPrototypeOf(InjectIntl)).call(this,props,context));invariantIntlContext(context);return _this}createClass(InjectIntl,[{key:"getWrappedInstance",value:function getWrappedInstance(){invariant(withRef,"[React Intl] To access the wrapped instance, the `{withRef: true}` option must be set when calling: `injectIntl()`");return this._wrappedInstance}},{key:"render",value:function render(){var _this2=this;return React__default.createElement(WrappedComponent,_extends({},this.props,defineProperty({},intlPropName,this.context.intl),{ref:withRef?function(ref){return _this2._wrappedInstance=ref}:null}))}}]);return InjectIntl}(React.Component);InjectIntl.displayName="InjectIntl("+getDisplayName(WrappedComponent)+")";InjectIntl.contextTypes={intl:intlShape};InjectIntl.WrappedComponent=WrappedComponent;return hoistNonReactStatics(InjectIntl,WrappedComponent)}function defineMessages(messageDescriptors){return messageDescriptors}function resolveLocale(locales){return IntlMessageFormat.prototype._resolveLocale(locales)}function findPluralFunction(locale){return IntlMessageFormat.prototype._findPluralRuleFunction(locale)}var IntlPluralFormat=function IntlPluralFormat(locales){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};classCallCheck(this,IntlPluralFormat);var useOrdinal="ordinal"===options.style;var pluralFn=findPluralFunction(resolveLocale(locales));this.format=function(value){return pluralFn(value,useOrdinal)}};var DATE_TIME_FORMAT_OPTIONS=Object.keys(dateTimeFormatPropTypes);var NUMBER_FORMAT_OPTIONS=Object.keys(numberFormatPropTypes);var RELATIVE_FORMAT_OPTIONS=Object.keys(relativeFormatPropTypes);var PLURAL_FORMAT_OPTIONS=Object.keys(pluralFormatPropTypes);var RELATIVE_FORMAT_THRESHOLDS={second:60,minute:60,hour:24,day:30,month:12};function updateRelativeFormatThresholds(newThresholds){var thresholds=IntlRelativeFormat.thresholds;thresholds.second=newThresholds.second;thresholds.minute=newThresholds.minute;thresholds.hour=newThresholds.hour;thresholds.day=newThresholds.day;thresholds.month=newThresholds.month;thresholds["second-short"]=newThresholds["second-short"];thresholds["minute-short"]=newThresholds["minute-short"];thresholds["hour-short"]=newThresholds["hour-short"];thresholds["day-short"]=newThresholds["day-short"];thresholds["month-short"]=newThresholds["month-short"]}function getNamedFormat(formats,type,name,onError){var format=formats&&formats[type]&&formats[type][name];if(format)return format;onError(createError("No "+type+" format named: "+name))}function formatDate(config,state,value){var options=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};var locale=config.locale,formats=config.formats,timeZone=config.timeZone;var format=options.format;var onError=config.onError||defaultErrorHandler;var date=new Date(value);var defaults$$1=_extends({},timeZone&&{timeZone:timeZone},format&&getNamedFormat(formats,"date",format,onError));var filteredOptions=filterProps(options,DATE_TIME_FORMAT_OPTIONS,defaults$$1);try{return state.getDateTimeFormat(locale,filteredOptions).format(date)}catch(e){onError(createError("Error formatting date.",e))}return String(date)}function formatTime(config,state,value){var options=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};var locale=config.locale,formats=config.formats,timeZone=config.timeZone;var format=options.format;var onError=config.onError||defaultErrorHandler;var date=new Date(value);var defaults$$1=_extends({},timeZone&&{timeZone:timeZone},format&&getNamedFormat(formats,"time",format,onError));var filteredOptions=filterProps(options,DATE_TIME_FORMAT_OPTIONS,defaults$$1);filteredOptions.hour||filteredOptions.minute||filteredOptions.second||(filteredOptions=_extends({},filteredOptions,{hour:"numeric",minute:"numeric"}));try{return state.getDateTimeFormat(locale,filteredOptions).format(date)}catch(e){onError(createError("Error formatting time.",e))}return String(date)}function formatRelative(config,state,value){var options=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};var locale=config.locale,formats=config.formats;var format=options.format;var onError=config.onError||defaultErrorHandler;var date=new Date(value);var now=new Date(options.now);var defaults$$1=format&&getNamedFormat(formats,"relative",format,onError);var filteredOptions=filterProps(options,RELATIVE_FORMAT_OPTIONS,defaults$$1);var oldThresholds=_extends({},IntlRelativeFormat.thresholds);updateRelativeFormatThresholds(RELATIVE_FORMAT_THRESHOLDS);try{return state.getRelativeFormat(locale,filteredOptions).format(date,{now:isFinite(now)?now:state.now()})}catch(e){onError(createError("Error formatting relative time.",e))}finally{updateRelativeFormatThresholds(oldThresholds)}return String(date)}function formatNumber(config,state,value){var options=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};var locale=config.locale,formats=config.formats;var format=options.format;var onError=config.onError||defaultErrorHandler;var defaults$$1=format&&getNamedFormat(formats,"number",format,onError);var filteredOptions=filterProps(options,NUMBER_FORMAT_OPTIONS,defaults$$1);try{return state.getNumberFormat(locale,filteredOptions).format(value)}catch(e){onError(createError("Error formatting number.",e))}return String(value)}function formatPlural(config,state,value){var options=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};var locale=config.locale;var filteredOptions=filterProps(options,PLURAL_FORMAT_OPTIONS);var onError=config.onError||defaultErrorHandler;try{return state.getPluralFormat(locale,filteredOptions).format(value)}catch(e){onError(createError("Error formatting plural.",e))}return"other"}function formatMessage(config,state){var messageDescriptor=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var values=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};var locale=config.locale,formats=config.formats,messages=config.messages,defaultLocale=config.defaultLocale,defaultFormats=config.defaultFormats;var id=messageDescriptor.id,defaultMessage=messageDescriptor.defaultMessage;false;invariant(id,"[React Intl] An `id` must be provided to format a message.");var message=messages&&messages[id];var hasValues=Object.keys(values).length>0;if(!hasValues&&true)return message||defaultMessage||id;var formattedMessage=void 0;var onError=config.onError||defaultErrorHandler;if(message)try{var formatter=state.getMessageFormat(message,locale,formats);formattedMessage=formatter.format(values)}catch(e){onError(createError('Error formatting message: "'+id+'" for locale: "'+locale+'"'+(defaultMessage?", using default message as fallback.":""),e))}else(!defaultMessage||locale&&locale.toLowerCase()!==defaultLocale.toLowerCase())&&onError(createError('Missing message: "'+id+'" for locale: "'+locale+'"'+(defaultMessage?", using default message as fallback.":"")));if(!formattedMessage&&defaultMessage)try{var _formatter=state.getMessageFormat(defaultMessage,defaultLocale,defaultFormats);formattedMessage=_formatter.format(values)}catch(e){onError(createError('Error formatting the default message for: "'+id+'"',e))}formattedMessage||onError(createError('Cannot format message: "'+id+'", using message '+(message||defaultMessage?"source":"id")+" as fallback."));return formattedMessage||message||defaultMessage||id}function formatHTMLMessage(config,state,messageDescriptor){var rawValues=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};var escapedValues=Object.keys(rawValues).reduce(function(escaped,name){var value=rawValues[name];escaped[name]="string"===typeof value?escape(value):value;return escaped},{});return formatMessage(config,state,messageDescriptor,escapedValues)}var format=Object.freeze({formatDate:formatDate,formatTime:formatTime,formatRelative:formatRelative,formatNumber:formatNumber,formatPlural:formatPlural,formatMessage:formatMessage,formatHTMLMessage:formatHTMLMessage});var intlConfigPropNames$1=Object.keys(intlConfigPropTypes);var intlFormatPropNames=Object.keys(intlFormatPropTypes);var defaultProps={formats:{},messages:{},timeZone:null,textComponent:"span",defaultLocale:"en",defaultFormats:{},onError:defaultErrorHandler};var IntlProvider=function(_Component){inherits(IntlProvider,_Component);function IntlProvider(props){var context=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};classCallCheck(this,IntlProvider);var _this=possibleConstructorReturn(this,(IntlProvider.__proto__||Object.getPrototypeOf(IntlProvider)).call(this,props,context));invariant("undefined"!==typeof Intl,"[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in. An `Intl` polyfill should be loaded.\nSee: http://formatjs.io/guides/runtime-environments/");var intlContext=context.intl;var initialNow=void 0;initialNow=isFinite(props.initialNow)?Number(props.initialNow):intlContext?intlContext.now():Date.now();var _ref=intlContext||{},_ref$formatters=_ref.formatters,formatters=void 0===_ref$formatters?{getDateTimeFormat:memoizeIntlConstructor(Intl.DateTimeFormat),getNumberFormat:memoizeIntlConstructor(Intl.NumberFormat),getMessageFormat:memoizeIntlConstructor(IntlMessageFormat),getRelativeFormat:memoizeIntlConstructor(IntlRelativeFormat),getPluralFormat:memoizeIntlConstructor(IntlPluralFormat)}:_ref$formatters;_this.state=_extends({},formatters,{now:function now(){return _this._didDisplay?Date.now():initialNow}});return _this}createClass(IntlProvider,[{key:"getConfig",value:function getConfig(){var intlContext=this.context.intl;var config=filterProps(this.props,intlConfigPropNames$1,intlContext);for(var propName in defaultProps)void 0===config[propName]&&(config[propName]=defaultProps[propName]);if(!hasLocaleData(config.locale)){var _config=config,locale=_config.locale,defaultLocale=_config.defaultLocale,defaultFormats=_config.defaultFormats,onError=_config.onError;onError(createError('Missing locale data for locale: "'+locale+'". Using default locale: "'+defaultLocale+'" as fallback.'));config=_extends({},config,{locale:defaultLocale,formats:defaultFormats,messages:defaultProps.messages})}return config}},{key:"getBoundFormatFns",value:function getBoundFormatFns(config,state){return intlFormatPropNames.reduce(function(boundFormatFns,name){boundFormatFns[name]=format[name].bind(null,config,state);return boundFormatFns},{})}},{key:"getChildContext",value:function getChildContext(){var config=this.getConfig();var boundFormatFns=this.getBoundFormatFns(config,this.state);var _state=this.state,now=_state.now,formatters=objectWithoutProperties(_state,["now"]);return{intl:_extends({},config,boundFormatFns,{formatters:formatters,now:now})}}},{key:"shouldComponentUpdate",value:function shouldComponentUpdate(){for(var _len=arguments.length,next=Array(_len),_key=0;_key<_len;_key++)next[_key]=arguments[_key];return shouldIntlComponentUpdate.apply(void 0,[this].concat(next))}},{key:"componentDidMount",value:function componentDidMount(){this._didDisplay=true}},{key:"render",value:function render(){return React.Children.only(this.props.children)}}]);return IntlProvider}(React.Component);IntlProvider.displayName="IntlProvider";IntlProvider.contextTypes={intl:intlShape};IntlProvider.childContextTypes={intl:intlShape.isRequired};void 0;var FormattedDate=function(_Component){inherits(FormattedDate,_Component);function FormattedDate(props,context){classCallCheck(this,FormattedDate);var _this=possibleConstructorReturn(this,(FormattedDate.__proto__||Object.getPrototypeOf(FormattedDate)).call(this,props,context));invariantIntlContext(context);return _this}createClass(FormattedDate,[{key:"shouldComponentUpdate",value:function shouldComponentUpdate(){for(var _len=arguments.length,next=Array(_len),_key=0;_key<_len;_key++)next[_key]=arguments[_key];return shouldIntlComponentUpdate.apply(void 0,[this].concat(next))}},{key:"render",value:function render(){var _context$intl=this.context.intl,formatDate=_context$intl.formatDate,Text=_context$intl.textComponent;var _props=this.props,value=_props.value,children=_props.children;var formattedDate=formatDate(value,this.props);if("function"===typeof children)return children(formattedDate);return React__default.createElement(Text,null,formattedDate)}}]);return FormattedDate}(React.Component);FormattedDate.displayName="FormattedDate";FormattedDate.contextTypes={intl:intlShape};void 0;var FormattedTime=function(_Component){inherits(FormattedTime,_Component);function FormattedTime(props,context){classCallCheck(this,FormattedTime);var _this=possibleConstructorReturn(this,(FormattedTime.__proto__||Object.getPrototypeOf(FormattedTime)).call(this,props,context));invariantIntlContext(context);return _this}createClass(FormattedTime,[{key:"shouldComponentUpdate",value:function shouldComponentUpdate(){for(var _len=arguments.length,next=Array(_len),_key=0;_key<_len;_key++)next[_key]=arguments[_key];return shouldIntlComponentUpdate.apply(void 0,[this].concat(next))}},{key:"render",value:function render(){var _context$intl=this.context.intl,formatTime=_context$intl.formatTime,Text=_context$intl.textComponent;var _props=this.props,value=_props.value,children=_props.children;var formattedTime=formatTime(value,this.props);if("function"===typeof children)return children(formattedTime);return React__default.createElement(Text,null,formattedTime)}}]);return FormattedTime}(React.Component);FormattedTime.displayName="FormattedTime";FormattedTime.contextTypes={intl:intlShape};void 0;var SECOND=1e3;var MINUTE=6e4;var HOUR=36e5;var DAY=864e5;var MAX_TIMER_DELAY=2147483647;function selectUnits(delta){var absDelta=Math.abs(delta);if(absDelta<MINUTE)return"second";if(absDelta<HOUR)return"minute";if(absDelta<DAY)return"hour";return"day"}function getUnitDelay(units){switch(units){case"second":return SECOND;case"minute":return MINUTE;case"hour":return HOUR;case"day":return DAY;default:return MAX_TIMER_DELAY}}function isSameDate(a,b){if(a===b)return true;var aTime=new Date(a).getTime();var bTime=new Date(b).getTime();return isFinite(aTime)&&isFinite(bTime)&&aTime===bTime}var FormattedRelative=function(_Component){inherits(FormattedRelative,_Component);function FormattedRelative(props,context){classCallCheck(this,FormattedRelative);var _this=possibleConstructorReturn(this,(FormattedRelative.__proto__||Object.getPrototypeOf(FormattedRelative)).call(this,props,context));invariantIntlContext(context);var now=isFinite(props.initialNow)?Number(props.initialNow):context.intl.now();_this.state={now:now};return _this}createClass(FormattedRelative,[{key:"scheduleNextUpdate",value:function scheduleNextUpdate(props,state){var _this2=this;clearTimeout(this._timer);var value=props.value,units=props.units,updateInterval=props.updateInterval;var time=new Date(value).getTime();if(!updateInterval||!isFinite(time))return;var delta=time-state.now;var unitDelay=getUnitDelay(units||selectUnits(delta));var unitRemainder=Math.abs(delta%unitDelay);var delay=delta<0?Math.max(updateInterval,unitDelay-unitRemainder):Math.max(updateInterval,unitRemainder);this._timer=setTimeout(function(){_this2.setState({now:_this2.context.intl.now()})},delay)}},{key:"componentDidMount",value:function componentDidMount(){this.scheduleNextUpdate(this.props,this.state)}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(_ref){var nextValue=_ref.value;isSameDate(nextValue,this.props.value)||this.setState({now:this.context.intl.now()})}},{key:"shouldComponentUpdate",value:function shouldComponentUpdate(){for(var _len=arguments.length,next=Array(_len),_key=0;_key<_len;_key++)next[_key]=arguments[_key];return shouldIntlComponentUpdate.apply(void 0,[this].concat(next))}},{key:"componentWillUpdate",value:function componentWillUpdate(nextProps,nextState){this.scheduleNextUpdate(nextProps,nextState)}},{key:"componentWillUnmount",value:function componentWillUnmount(){clearTimeout(this._timer)}},{key:"render",value:function render(){var _context$intl=this.context.intl,formatRelative=_context$intl.formatRelative,Text=_context$intl.textComponent;var _props=this.props,value=_props.value,children=_props.children;var formattedRelative=formatRelative(value,_extends({},this.props,this.state));if("function"===typeof children)return children(formattedRelative);return React__default.createElement(Text,null,formattedRelative)}}]);return FormattedRelative}(React.Component);FormattedRelative.displayName="FormattedRelative";FormattedRelative.contextTypes={intl:intlShape};FormattedRelative.defaultProps={updateInterval:1e4};void 0;var FormattedNumber=function(_Component){inherits(FormattedNumber,_Component);function FormattedNumber(props,context){classCallCheck(this,FormattedNumber);var _this=possibleConstructorReturn(this,(FormattedNumber.__proto__||Object.getPrototypeOf(FormattedNumber)).call(this,props,context));invariantIntlContext(context);return _this}createClass(FormattedNumber,[{key:"shouldComponentUpdate",value:function shouldComponentUpdate(){for(var _len=arguments.length,next=Array(_len),_key=0;_key<_len;_key++)next[_key]=arguments[_key];return shouldIntlComponentUpdate.apply(void 0,[this].concat(next))}},{key:"render",value:function render(){var _context$intl=this.context.intl,formatNumber=_context$intl.formatNumber,Text=_context$intl.textComponent;var _props=this.props,value=_props.value,children=_props.children;var formattedNumber=formatNumber(value,this.props);if("function"===typeof children)return children(formattedNumber);return React__default.createElement(Text,null,formattedNumber)}}]);return FormattedNumber}(React.Component);FormattedNumber.displayName="FormattedNumber";FormattedNumber.contextTypes={intl:intlShape};void 0;var FormattedPlural=function(_Component){inherits(FormattedPlural,_Component);function FormattedPlural(props,context){classCallCheck(this,FormattedPlural);var _this=possibleConstructorReturn(this,(FormattedPlural.__proto__||Object.getPrototypeOf(FormattedPlural)).call(this,props,context));invariantIntlContext(context);return _this}createClass(FormattedPlural,[{key:"shouldComponentUpdate",value:function shouldComponentUpdate(){for(var _len=arguments.length,next=Array(_len),_key=0;_key<_len;_key++)next[_key]=arguments[_key];return shouldIntlComponentUpdate.apply(void 0,[this].concat(next))}},{key:"render",value:function render(){var _context$intl=this.context.intl,formatPlural=_context$intl.formatPlural,Text=_context$intl.textComponent;var _props=this.props,value=_props.value,other=_props.other,children=_props.children;var pluralCategory=formatPlural(value,this.props);var formattedPlural=this.props[pluralCategory]||other;if("function"===typeof children)return children(formattedPlural);return React__default.createElement(Text,null,formattedPlural)}}]);return FormattedPlural}(React.Component);FormattedPlural.displayName="FormattedPlural";FormattedPlural.contextTypes={intl:intlShape};FormattedPlural.defaultProps={style:"cardinal"};void 0;var defaultFormatMessage=function defaultFormatMessage(descriptor,values){false;return formatMessage({},{getMessageFormat:memoizeIntlConstructor(IntlMessageFormat)},descriptor,values)};var FormattedMessage=function(_Component){inherits(FormattedMessage,_Component);function FormattedMessage(props,context){classCallCheck(this,FormattedMessage);var _this=possibleConstructorReturn(this,(FormattedMessage.__proto__||Object.getPrototypeOf(FormattedMessage)).call(this,props,context));props.defaultMessage||invariantIntlContext(context);return _this}createClass(FormattedMessage,[{key:"shouldComponentUpdate",value:function shouldComponentUpdate(nextProps){var values=this.props.values;var nextValues=nextProps.values;if(!shallowEquals(nextValues,values))return true;var nextPropsToCheck=_extends({},nextProps,{values:values});for(var _len=arguments.length,next=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)next[_key-1]=arguments[_key];return shouldIntlComponentUpdate.apply(void 0,[this,nextPropsToCheck].concat(next))}},{key:"render",value:function render(){var _ref=this.context.intl||{},_ref$formatMessage=_ref.formatMessage,formatMessage$$1=void 0===_ref$formatMessage?defaultFormatMessage:_ref$formatMessage,_ref$textComponent=_ref.textComponent,Text=void 0===_ref$textComponent?"span":_ref$textComponent;var _props=this.props,id=_props.id,description=_props.description,defaultMessage=_props.defaultMessage,values=_props.values,_props$tagName=_props.tagName,Component$$1=void 0===_props$tagName?Text:_props$tagName,children=_props.children;var tokenDelimiter=void 0;var tokenizedValues=void 0;var elements=void 0;var hasValues=values&&Object.keys(values).length>0;if(hasValues){var uid=Math.floor(1099511627776*Math.random()).toString(16);var generateToken=(counter=0,function(){return"ELEMENT-"+uid+"-"+(counter+=1)});tokenDelimiter="@__"+uid+"__@";tokenizedValues={};elements={};Object.keys(values).forEach(function(name){var value=values[name];if(React.isValidElement(value)){var token=generateToken();tokenizedValues[name]=tokenDelimiter+token+tokenDelimiter;elements[token]=value}else tokenizedValues[name]=value})}var counter;var descriptor={id:id,description:description,defaultMessage:defaultMessage};var formattedMessage=formatMessage$$1(descriptor,tokenizedValues||values);var nodes=void 0;var hasElements=elements&&Object.keys(elements).length>0;nodes=hasElements?formattedMessage.split(tokenDelimiter).filter(function(part){return!!part}).map(function(part){return elements[part]||part}):[formattedMessage];if("function"===typeof children)return children.apply(void 0,toConsumableArray(nodes));return React.createElement.apply(void 0,[Component$$1,null].concat(toConsumableArray(nodes)))}}]);return FormattedMessage}(React.Component);FormattedMessage.displayName="FormattedMessage";FormattedMessage.contextTypes={intl:intlShape};FormattedMessage.defaultProps={values:{}};void 0;var FormattedHTMLMessage=function(_Component){inherits(FormattedHTMLMessage,_Component);function FormattedHTMLMessage(props,context){classCallCheck(this,FormattedHTMLMessage);var _this=possibleConstructorReturn(this,(FormattedHTMLMessage.__proto__||Object.getPrototypeOf(FormattedHTMLMessage)).call(this,props,context));invariantIntlContext(context);return _this}createClass(FormattedHTMLMessage,[{key:"shouldComponentUpdate",value:function shouldComponentUpdate(nextProps){var values=this.props.values;var nextValues=nextProps.values;if(!shallowEquals(nextValues,values))return true;var nextPropsToCheck=_extends({},nextProps,{values:values});for(var _len=arguments.length,next=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)next[_key-1]=arguments[_key];return shouldIntlComponentUpdate.apply(void 0,[this,nextPropsToCheck].concat(next))}},{key:"render",value:function render(){var _context$intl=this.context.intl,formatHTMLMessage=_context$intl.formatHTMLMessage,Text=_context$intl.textComponent;var _props=this.props,id=_props.id,description=_props.description,defaultMessage=_props.defaultMessage,rawValues=_props.values,_props$tagName=_props.tagName,Component$$1=void 0===_props$tagName?Text:_props$tagName,children=_props.children;var descriptor={id:id,description:description,defaultMessage:defaultMessage};var formattedHTMLMessage=formatHTMLMessage(descriptor,rawValues);if("function"===typeof children)return children(formattedHTMLMessage);var html={__html:formattedHTMLMessage};return React__default.createElement(Component$$1,{dangerouslySetInnerHTML:html})}}]);return FormattedHTMLMessage}(React.Component);FormattedHTMLMessage.displayName="FormattedHTMLMessage";FormattedHTMLMessage.contextTypes={intl:intlShape};FormattedHTMLMessage.defaultProps={values:{}};void 0;addLocaleData(defaultLocaleData);addLocaleData(allLocaleData);exports.addLocaleData=addLocaleData;exports.intlShape=intlShape;exports.injectIntl=injectIntl;exports.defineMessages=defineMessages;exports.IntlProvider=IntlProvider;exports.FormattedDate=FormattedDate;exports.FormattedTime=FormattedTime;exports.FormattedRelative=FormattedRelative;exports.FormattedNumber=FormattedNumber;exports.FormattedPlural=FormattedPlural;exports.FormattedMessage=FormattedMessage;exports.FormattedHTMLMessage=FormattedHTMLMessage},function(module,exports,__webpack_require__){"use strict";var REACT_STATICS={childContextTypes:true,contextTypes:true,defaultProps:true,displayName:true,getDefaultProps:true,getDerivedStateFromProps:true,mixins:true,propTypes:true,type:true};var KNOWN_STATICS={name:true,length:true,prototype:true,caller:true,callee:true,arguments:true,arity:true};var defineProperty=Object.defineProperty;var getOwnPropertyNames=Object.getOwnPropertyNames;var getOwnPropertySymbols=Object.getOwnPropertySymbols;var getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;var getPrototypeOf=Object.getPrototypeOf;var objectPrototype=getPrototypeOf&&getPrototypeOf(Object);function hoistNonReactStatics(targetComponent,sourceComponent,blacklist){if("string"!==typeof sourceComponent){if(objectPrototype){var inheritedComponent=getPrototypeOf(sourceComponent);inheritedComponent&&inheritedComponent!==objectPrototype&&hoistNonReactStatics(targetComponent,inheritedComponent,blacklist)}var keys=getOwnPropertyNames(sourceComponent);getOwnPropertySymbols&&(keys=keys.concat(getOwnPropertySymbols(sourceComponent)));for(var i=0;i<keys.length;++i){var key=keys[i];if(!REACT_STATICS[key]&&!KNOWN_STATICS[key]&&(!blacklist||!blacklist[key])){var descriptor=getOwnPropertyDescriptor(sourceComponent,key);try{defineProperty(targetComponent,key,descriptor)}catch(e){}}}return targetComponent}return targetComponent}module.exports=hoistNonReactStatics},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Registry=void 0;var _typeof2=__webpack_require__(238);var _typeof3=_interopRequireDefault(_typeof2);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _lodash=__webpack_require__(801);var _lodash2=_interopRequireDefault(_lodash);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.Registry=function(){function Registry(){var prop=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"name";(0,_classCallCheck3.default)(this,Registry);if("string"!==typeof prop)throw new Error("Registry property name must be a string");this._prop=prop;this._indexed=new Object}(0,_createClass3.default)(Registry,[{key:"wrapper",value:function wrapper(obj){return obj}},{key:"register",value:function register(fn){if("function"!==typeof fn)throw new Error("Register requires an function");var obj=fn();if("object"!==("undefined"===typeof obj?"undefined":(0,_typeof3.default)(obj))||!obj[this._prop])throw new Error("Registered functions must return an object with a "+this._prop+" property");this._indexed[obj[this._prop].toLowerCase()]=this.wrapper(obj)}},{key:"toJS",value:function toJS(){var _this=this;return Object.keys(this._indexed).reduce(function(acc,key){acc[key]=_this.get(key);return acc},{})}},{key:"toArray",value:function toArray(){var _this2=this;return Object.keys(this._indexed).map(function(key){return _this2.get(key)})}},{key:"get",value:function get(name){if(void 0===name)return null;var lowerCaseName=name.toLowerCase();return this._indexed[lowerCaseName]?(0,_lodash2.default)(this._indexed[lowerCaseName]):null}},{key:"getProp",value:function getProp(){return this._prop}},{key:"reset",value:function reset(){this._indexed=new Object}}]);return Registry}()},function(module,exports,__webpack_require__){module.exports=__webpack_require__(1963)},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _promise=__webpack_require__(681);var _promise2=_interopRequireDefault(_promise);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=function(fn){return function(){var gen=fn.apply(this,arguments);return new _promise2.default(function(resolve,reject){function step(key,arg){try{var info=gen[key](arg);var value=info.value}catch(error){reject(error);return}if(!info.done)return _promise2.default.resolve(value).then(function(value){step("next",value)},function(err){step("throw",err)});resolve(value)}return step("next")})}}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);var document=__webpack_require__(36).document;var is=isObject(document)&&isObject(document.createElement);module.exports=function(it){return is?document.createElement(it):{}}},function(module,exports,__webpack_require__){var global=__webpack_require__(36);var SHARED="__core-js_shared__";var store=global[SHARED]||(global[SHARED]={});module.exports=function(key){return store[key]||(store[key]={})}},function(module,exports,__webpack_require__){"use strict";var toObject=__webpack_require__(118);var toAbsoluteIndex=__webpack_require__(198);var toLength=__webpack_require__(67);module.exports=function fill(value){var O=toObject(this);var length=toLength(O.length);var aLen=arguments.length;var index=toAbsoluteIndex(aLen>1?arguments[1]:void 0,length);var end=aLen>2?arguments[2]:void 0;var endPos=void 0===end?length:toAbsoluteIndex(end,length);while(endPos>index)O[index++]=value;return O}},function(module,exports,__webpack_require__){var cof=__webpack_require__(200);module.exports=Object("z").propertyIsEnumerable(0)?Object:function(it){return"String"==cof(it)?it.split(""):Object(it)}},function(module,exports,__webpack_require__){var Iterators=__webpack_require__(201);var ITERATOR=__webpack_require__(45)("iterator");var ArrayProto=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayProto[ITERATOR]===it)}},function(module,exports,__webpack_require__){"use strict";var $defineProperty=__webpack_require__(62);var createDesc=__webpack_require__(166);module.exports=function(object,index,value){index in object?$defineProperty.f(object,index,createDesc(0,value)):object[index]=value}},function(module,exports,__webpack_require__){var classof=__webpack_require__(471);var ITERATOR=__webpack_require__(45)("iterator");var Iterators=__webpack_require__(201);module.exports=__webpack_require__(197).getIteratorMethod=function(it){if(void 0!=it)return it[ITERATOR]||it["@@iterator"]||Iterators[classof(it)]}},function(module,exports,__webpack_require__){var cof=__webpack_require__(200);var TAG=__webpack_require__(45)("toStringTag");var ARG="Arguments"==cof(function(){return arguments}());var tryGet=function(it,key){try{return it[key]}catch(e){}};module.exports=function(it){var O,T,B;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(T=tryGet(O=Object(it),TAG))?T:ARG?cof(O):"Object"==(B=cof(O))&&"function"==typeof O.callee?"Arguments":B}},function(module,exports,__webpack_require__){"use strict";var addToUnscopables=__webpack_require__(199);var step=__webpack_require__(840);var Iterators=__webpack_require__(201);var toIObject=__webpack_require__(106);module.exports=__webpack_require__(841)(Array,"Array",function(iterated,kind){this._t=toIObject(iterated);this._i=0;this._k=kind},function(){var O=this._t;var kind=this._k;var index=this._i++;if(!O||index>=O.length){this._t=void 0;return step(1)}if("keys"==kind)return step(0,index);if("values"==kind)return step(0,O[index]);return step(0,[index,O[index]])},"values");Iterators.Arguments=Iterators.Array;addToUnscopables("keys");addToUnscopables("values");addToUnscopables("entries")},function(module,exports,__webpack_require__){var toIObject=__webpack_require__(106);var toLength=__webpack_require__(67);var toAbsoluteIndex=__webpack_require__(198);module.exports=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIObject($this);var length=toLength(O.length);var index=toAbsoluteIndex(fromIndex,length);var value;if(IS_INCLUDES&&el!=el)while(length>index){value=O[index++];if(value!=value)return true}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}}},function(module,exports,__webpack_require__){var shared=__webpack_require__(465)("keys");var uid=__webpack_require__(167);module.exports=function(key){return shared[key]||(shared[key]=uid(key))}},function(module,exports){module.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);var anObject=__webpack_require__(39);var check=function(O,proto){anObject(O);if(!isObject(proto)&&null!==proto)throw TypeError(proto+": can't set as prototype!")};module.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(test,buggy,set){try{set=__webpack_require__(117)(Function.call,__webpack_require__(119).f(Object.prototype,"__proto__").set,2);set(test,[]);buggy=!(test instanceof Array)}catch(e){buggy=true}return function setPrototypeOf(O,proto){check(O,proto);buggy?O.__proto__=proto:set(O,proto);return O}}({},false):void 0),check:check}},function(module,exports){module.exports=Math.sign||function sign(x){return 0==(x=+x)||x!=x?x:x<0?-1:1}},function(module,exports){var $expm1=Math.expm1;module.exports=!$expm1||$expm1(10)>22025.465794806718||$expm1(10)<22025.465794806718||-2e-17!=$expm1(-2e-17)?function expm1(x){return 0==(x=+x)?x:x>-1e-6&&x<1e-6?x+x*x/2:Math.exp(x)-1}:$expm1},function(module,exports,__webpack_require__){var anObject=__webpack_require__(39);var aFunction=__webpack_require__(168);var SPECIES=__webpack_require__(45)("species");module.exports=function(O,D){var C=anObject(O).constructor;var S;return void 0===C||void 0==(S=anObject(C)[SPECIES])?D:aFunction(S)}},function(module,exports,__webpack_require__){var ctx=__webpack_require__(117);var invoke=__webpack_require__(849);var html=__webpack_require__(843);var cel=__webpack_require__(464);var global=__webpack_require__(36);var process=global.process;var setTask=global.setImmediate;var clearTask=global.clearImmediate;var MessageChannel=global.MessageChannel;var Dispatch=global.Dispatch;var counter=0;var queue={};var ONREADYSTATECHANGE="onreadystatechange";var defer,channel,port;var run=function(){var id=+this;if(queue.hasOwnProperty(id)){var fn=queue[id];delete queue[id];fn()}};var listener=function(event){run.call(event.data)};if(!setTask||!clearTask){setTask=function setImmediate(fn){var args=[];var i=1;while(arguments.length>i)args.push(arguments[i++]);queue[++counter]=function(){invoke("function"==typeof fn?fn:Function(fn),args)};defer(counter);return counter};clearTask=function clearImmediate(id){delete queue[id]};if("process"==__webpack_require__(200)(process))defer=function(id){process.nextTick(ctx(run,id,1))};else if(Dispatch&&Dispatch.now)defer=function(id){Dispatch.now(ctx(run,id,1))};else if(MessageChannel){channel=new MessageChannel;port=channel.port2;channel.port1.onmessage=listener;defer=ctx(port.postMessage,port,1)}else if(global.addEventListener&&"function"==typeof postMessage&&!global.importScripts){defer=function(id){global.postMessage(id+"","*")};global.addEventListener("message",listener,false)}else defer=ONREADYSTATECHANGE in cel("script")?function(id){html.appendChild(cel("script"))[ONREADYSTATECHANGE]=function(){html.removeChild(this);run.call(id)}}:function(id){setTimeout(ctx(run,id,1),0)}}module.exports={set:setTask,clear:clearTask}},function(module,exports,__webpack_require__){var isRegExp=__webpack_require__(852);var defined=__webpack_require__(169);module.exports=function(that,searchString,NAME){if(isRegExp(searchString))throw TypeError("String#"+NAME+" doesn't accept regex!");return String(defined(that))}},function(module,exports,__webpack_require__){var MATCH=__webpack_require__(45)("match");module.exports=function(KEY){var re=/./;try{"/./"[KEY](re)}catch(e){try{re[MATCH]=false;return!"/./"[KEY](re)}catch(f){}}return true}},function(module,exports,__webpack_require__){var global=__webpack_require__(36);var hide=__webpack_require__(98);var uid=__webpack_require__(167);var TYPED=uid("typed_array");var VIEW=uid("view");var ABV=!!(global.ArrayBuffer&&global.DataView);var CONSTR=ABV;var i=0;var l=9;var Typed;var TypedArrayConstructors="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(i<l)if(Typed=global[TypedArrayConstructors[i++]]){hide(Typed.prototype,TYPED,true);hide(Typed.prototype,VIEW,true)}else CONSTR=false;module.exports={ABV:ABV,CONSTR:CONSTR,TYPED:TYPED,VIEW:VIEW}},function(module,exports,__webpack_require__){var global=__webpack_require__(36);var navigator=global.navigator;module.exports=navigator&&navigator.userAgent||""},function(module,exports,__webpack_require__){(function(global){var apply=Function.prototype.apply;exports.setTimeout=function(){return new Timeout(apply.call(setTimeout,window,arguments),clearTimeout)};exports.setInterval=function(){return new Timeout(apply.call(setInterval,window,arguments),clearInterval)};exports.clearTimeout=exports.clearInterval=function(timeout){timeout&&timeout.close()};function Timeout(id,clearFn){this._id=id;this._clearFn=clearFn}Timeout.prototype.unref=Timeout.prototype.ref=function(){};Timeout.prototype.close=function(){this._clearFn.call(window,this._id)};exports.enroll=function(item,msecs){clearTimeout(item._idleTimeoutId);item._idleTimeout=msecs};exports.unenroll=function(item){clearTimeout(item._idleTimeoutId);item._idleTimeout=-1};exports._unrefActive=exports.active=function(item){clearTimeout(item._idleTimeoutId);var msecs=item._idleTimeout;msecs>=0&&(item._idleTimeoutId=setTimeout(function onTimeout(){item._onTimeout&&item._onTimeout()},msecs))};__webpack_require__(2225);exports.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof global&&global.setImmediate||this&&this.setImmediate;exports.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof global&&global.clearImmediate||this&&this.clearImmediate}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";function loadDsf(col,type){if("[object Array]"!==Object.prototype.toString.apply(col)){if(col)throw new Error("dsf option must contain an array!");return nopDsf}if(0===col.length)return nopDsf;var dsf=[];function isFunction(f){return"[object Function]"==={}.toString.call(f)}col.forEach(function(x){if(!x.name||!isFunction(x.parse)||!isFunction(x.stringify))throw new Error("extension does not match the DSF interface");dsf.push(function(){try{if("parse"==type)return x.parse.apply(null,arguments);if("stringify"==type){var res=x.stringify.apply(null,arguments);if(void 0!==res&&("string"!==typeof res||0===res.length||'"'===res[0]||[].some.call(res,function(c){return isInvalidDsfChar(c)})))throw new Error("value may not be empty, start with a quote or contain a punctuator character except colon: "+res);return res}throw new Error("Invalid type")}catch(e){throw new Error("DSF-"+x.name+" failed; "+e.message)}})});return runDsf.bind(null,dsf)}function runDsf(dsf,value){if(dsf)for(var i=0;i<dsf.length;i++){var res=dsf[i](value);if(void 0!==res)return res}}function nopDsf(){}function isInvalidDsfChar(c){return"{"===c||"}"===c||"["===c||"]"===c||","===c}function math(){return{name:"math",parse:function(value){switch(value){case"+inf":case"inf":case"+Inf":case"Inf":return Infinity;case"-inf":case"-Inf":return-Infinity;case"nan":case"NaN":return NaN}},stringify:function(value){if("number"!==typeof value)return;if(1/value===-Infinity)return"-0";if(Infinity===value)return"Inf";if(-Infinity===value)return"-Inf";if(isNaN(value))return"NaN"}}}math.description="support for Inf/inf, -Inf/-inf, Nan/naN and -0";function hex(opt){var out=opt&&opt.out;return{name:"hex",parse:function(value){if(/^0x[0-9A-Fa-f]+$/.test(value))return parseInt(value,16)},stringify:function(value){if(out&&Number.isInteger(value))return"0x"+value.toString(16)}}}hex.description="parse hexadecimal numbers prefixed with 0x";function date(){return{name:"date",parse:function(value){if(/^\d{4}-\d{2}-\d{2}$/.test(value)||/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}(?:.\d+)(?:Z|[+-]\d{2}:\d{2})$/.test(value)){var dt=Date.parse(value);if(!isNaN(dt))return new Date(dt)}},stringify:function(value){if("[object Date]"===Object.prototype.toString.call(value)){var dt=value.toISOString();return-1!==dt.indexOf("T00:00:00.000Z",dt.length-14)?dt.substr(0,10):dt}}}}date.description="support ISO dates";module.exports={loadDsf:loadDsf,std:{math:math,hex:hex,date:date}}},function(module,exports){module.exports={extractId:function(href){return href.replace(/^[a-z-]+:\/+?[^\/]+/,"").replace(/[\?\&]livereload=\w+/,"").replace(/^\//,"").replace(/\.[a-zA-Z]+$/,"").replace(/[^\.\w-]+/g,"-").replace(/\./g,":")},addDataAttr:function(options,tag){for(var opt in tag.dataset)if(tag.dataset.hasOwnProperty(opt))if("env"===opt||"dumpLineNumbers"===opt||"rootpath"===opt||"errorReporting"===opt)options[opt]=tag.dataset[opt];else try{options[opt]=JSON.parse(tag.dataset[opt])}catch(_){}}}},function(module,exports){module.exports={length:{m:1,cm:.01,mm:.001,in:.0254,px:.0254/96,pt:.0254/72,pc:.0254/72*12},duration:{s:1,ms:.001},angle:{rad:1/(2*Math.PI),deg:1/360,grad:.0025,turn:1}}},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),Value=__webpack_require__(490),Keyword=__webpack_require__(333);var Rule=function(name,value,important,merge,index,currentFileInfo,inline,variable){this.name=name;this.value=value instanceof Node?value:new Value([value]);this.important=important?" "+important.trim():"";this.merge=merge;this.index=index;this.currentFileInfo=currentFileInfo;this.inline=inline||false;this.variable=void 0!==variable?variable:name.charAt&&"@"===name.charAt(0);this.allowRoot=true};function evalName(context,name){var i,value="",n=name.length,output={add:function(s){value+=s}};for(i=0;i<n;i++)name[i].eval(context).genCSS(context,output);return value}Rule.prototype=new Node;Rule.prototype.type="Rule";Rule.prototype.genCSS=function(context,output){output.add(this.name+(context.compress?":":": "),this.currentFileInfo,this.index);try{this.value.genCSS(context,output)}catch(e){e.index=this.index;e.filename=this.currentFileInfo.filename;throw e}output.add(this.important+(this.inline||context.lastRule&&context.compress?"":";"),this.currentFileInfo,this.index)};Rule.prototype.eval=function(context){var evaldValue,strictMathBypass=false,name=this.name,variable=this.variable;if("string"!==typeof name){name=1===name.length&&name[0]instanceof Keyword?name[0].value:evalName(context,name);variable=false}if("font"===name&&!context.strictMath){strictMathBypass=true;context.strictMath=true}try{context.importantScope.push({});evaldValue=this.value.eval(context);if(!this.variable&&"DetachedRuleset"===evaldValue.type)throw{message:"Rulesets cannot be evaluated on a property.",index:this.index,filename:this.currentFileInfo.filename};var important=this.important,importantResult=context.importantScope.pop();!important&&importantResult.important&&(important=importantResult.important);return new Rule(name,evaldValue,important,this.merge,this.index,this.currentFileInfo,this.inline,variable)}catch(e){if("number"!==typeof e.index){e.index=this.index;e.filename=this.currentFileInfo.filename}throw e}finally{strictMathBypass&&(context.strictMath=false)}};Rule.prototype.makeImportant=function(){return new Rule(this.name,this.value,"!important",this.merge,this.index,this.currentFileInfo,this.inline)};module.exports=Rule},function(module,exports,__webpack_require__){var Node=__webpack_require__(21);var Value=function(value){this.value=value;if(!value)throw new Error("Value requires an array argument")};Value.prototype=new Node;Value.prototype.type="Value";Value.prototype.accept=function(visitor){this.value&&(this.value=visitor.visitArray(this.value))};Value.prototype.eval=function(context){return 1===this.value.length?this.value[0].eval(context):new Value(this.value.map(function(v){return v.eval(context)}))};Value.prototype.genCSS=function(context,output){var i;for(i=0;i<this.value.length;i++){this.value[i].genCSS(context,output);i+1<this.value.length&&output.add(context&&context.compress?",":", ")}};module.exports=Value},function(module,exports,__webpack_require__){var Keyword=__webpack_require__(333),functionRegistry=__webpack_require__(87);var defaultFunc={eval:function(){var v=this.value_,e=this.error_;if(e)throw e;if(null!=v)return v?Keyword.True:Keyword.False},value:function(v){this.value_=v},error:function(e){this.error_=e},reset:function(){this.value_=this.error_=null}};functionRegistry.add("default",defaultFunc.eval.bind(defaultFunc));module.exports=defaultFunc},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),Color=__webpack_require__(173),Dimension=__webpack_require__(121);var Operation=function(op,operands,isSpaced){this.op=op.trim();this.operands=operands;this.isSpaced=isSpaced};Operation.prototype=new Node;Operation.prototype.type="Operation";Operation.prototype.accept=function(visitor){this.operands=visitor.visit(this.operands)};Operation.prototype.eval=function(context){var a=this.operands[0].eval(context),b=this.operands[1].eval(context);if(context.isMathOn()){a instanceof Dimension&&b instanceof Color&&(a=a.toColor());b instanceof Dimension&&a instanceof Color&&(b=b.toColor());if(!a.operate)throw{type:"Operation",message:"Operation on an invalid type"};return a.operate(context,this.op,b)}return new Operation(this.op,[a,b],this.isSpaced)};Operation.prototype.genCSS=function(context,output){this.operands[0].genCSS(context,output);this.isSpaced&&output.add(" ");output.add(this.op);this.isSpaced&&output.add(" ");this.operands[1].genCSS(context,output)};module.exports=Operation},function(module,exports,__webpack_require__){var visitors={Visitor:__webpack_require__(256),ImportVisitor:__webpack_require__(2259),MarkVisibleSelectorsVisitor:__webpack_require__(2261),ExtendVisitor:__webpack_require__(2262),JoinSelectorVisitor:__webpack_require__(2263),ToCSSVisitor:__webpack_require__(2264)};module.exports=visitors},function(module,exports,__webpack_require__){var LessError=__webpack_require__(335),tree=__webpack_require__(172),visitors=__webpack_require__(493),getParserInput=__webpack_require__(2265),utils=__webpack_require__(495);var Parser=function Parser(context,imports,fileInfo){var parsers,parserInput=getParserInput();function error(msg,type){throw new LessError({index:parserInput.i,filename:fileInfo.filename,type:type||"Syntax",message:msg},imports)}function expect(arg,msg,index){var result=arg instanceof Function?arg.call(parsers):parserInput.$re(arg);if(result)return result;error(msg||("string"===typeof arg?"expected '"+arg+"' got '"+parserInput.currentChar()+"'":"unexpected token"))}function expectChar(arg,msg){if(parserInput.$char(arg))return arg;error(msg||"expected '"+arg+"' got '"+parserInput.currentChar()+"'")}function getDebugInfo(index){var filename=fileInfo.filename;return{lineNumber:utils.getLocation(index,parserInput.getInput()).line+1,fileName:filename}}return{parse:function(str,callback,additionalData){var root,globalVars,modifyVars,ignored,error=null,preText="";globalVars=additionalData&&additionalData.globalVars?Parser.serializeVars(additionalData.globalVars)+"\n":"";modifyVars=additionalData&&additionalData.modifyVars?"\n"+Parser.serializeVars(additionalData.modifyVars):"";if(context.pluginManager){var preProcessors=context.pluginManager.getPreProcessors();for(var i=0;i<preProcessors.length;i++)str=preProcessors[i].process(str,{context:context,imports:imports,fileInfo:fileInfo})}if(globalVars||additionalData&&additionalData.banner){preText=(additionalData&&additionalData.banner?additionalData.banner:"")+globalVars;ignored=imports.contentsIgnoredChars;ignored[fileInfo.filename]=ignored[fileInfo.filename]||0;ignored[fileInfo.filename]+=preText.length}str=str.replace(/\r\n?/g,"\n");str=preText+str.replace(/^\uFEFF/,"")+modifyVars;imports.contents[fileInfo.filename]=str;try{parserInput.start(str,context.chunkInput,function fail(msg,index){throw new LessError({index:index,type:"Parse",message:msg,filename:fileInfo.filename},imports)});root=new tree.Ruleset(null,this.parsers.primary());root.root=true;root.firstRoot=true}catch(e){return callback(new LessError(e,imports,fileInfo.filename))}var endInfo=parserInput.end();if(!endInfo.isFinished){var message=endInfo.furthestPossibleErrorMessage;if(!message){message="Unrecognised input";"}"===endInfo.furthestChar?message+=". Possibly missing opening '{'":")"===endInfo.furthestChar?message+=". Possibly missing opening '('":endInfo.furthestReachedEnd&&(message+=". Possibly missing something")}error=new LessError({type:"Parse",message:message,index:endInfo.furthest,filename:fileInfo.filename},imports)}var finish=function(e){e=error||e||imports.error;if(e){e instanceof LessError||(e=new LessError(e,imports,fileInfo.filename));return callback(e)}return callback(null,root)};if(false===context.processImports)return finish();new visitors.ImportVisitor(imports,finish).run(root)},parsers:parsers={primary:function(){var node,mixin=this.mixin,root=[];while(true){while(true){node=this.comment();if(!node)break;root.push(node)}if(parserInput.finished)break;if(parserInput.peek("}"))break;node=this.extendRule();if(node){root=root.concat(node);continue}node=mixin.definition()||this.rule()||this.ruleset()||mixin.call()||this.rulesetCall()||this.entities.call()||this.directive();if(node)root.push(node);else{var foundSemiColon=false;while(parserInput.$char(";"))foundSemiColon=true;if(!foundSemiColon)break}}return root},comment:function(){if(parserInput.commentStore.length){var comment=parserInput.commentStore.shift();return new tree.Comment(comment.text,comment.isLineComment,comment.index,fileInfo)}},entities:{quoted:function(){var str,index=parserInput.i,isEscaped=false;parserInput.save();parserInput.$char("~")&&(isEscaped=true);str=parserInput.$quoted();if(!str){parserInput.restore();return}parserInput.forget();return new tree.Quoted(str.charAt(0),str.substr(1,str.length-2),isEscaped,index,fileInfo)},keyword:function(){var k=parserInput.$char("%")||parserInput.$re(/^[_A-Za-z-][_A-Za-z0-9-]*/);if(k)return tree.Color.fromKeyword(k)||new tree.Keyword(k)},call:function(){var name,nameLC,args,alpha,index=parserInput.i;if(parserInput.peek(/^url\(/i))return;parserInput.save();name=parserInput.$re(/^([\w-]+|%|progid:[\w\.]+)\(/);if(!name){parserInput.forget();return}name=name[1];nameLC=name.toLowerCase();if("alpha"===nameLC){alpha=parsers.alpha();if(alpha){parserInput.forget();return alpha}}args=this.arguments();if(!parserInput.$char(")")){parserInput.restore("Could not parse call arguments or missing ')'");return}parserInput.forget();return new tree.Call(name,args,index,fileInfo)},arguments:function(){var isSemiColonSeparated,value,arg,argsSemiColon=[],argsComma=[],expressions=[];parserInput.save();while(true){arg=parsers.detachedRuleset()||this.assignment()||parsers.expression();if(!arg)break;value=arg;arg.value&&1==arg.value.length&&(value=arg.value[0]);value&&expressions.push(value);argsComma.push(value);if(parserInput.$char(","))continue;if(parserInput.$char(";")||isSemiColonSeparated){isSemiColonSeparated=true;expressions.length>1&&(value=new tree.Value(expressions));argsSemiColon.push(value);expressions=[]}}parserInput.forget();return isSemiColonSeparated?argsSemiColon:argsComma},literal:function(){return this.dimension()||this.color()||this.quoted()||this.unicodeDescriptor()},assignment:function(){var key,value;parserInput.save();key=parserInput.$re(/^\w+(?=\s?=)/i);if(!key){parserInput.restore();return}if(!parserInput.$char("=")){parserInput.restore();return}value=parsers.entity();if(value){parserInput.forget();return new tree.Assignment(key,value)}parserInput.restore()},url:function(){var value,index=parserInput.i;parserInput.autoCommentAbsorb=false;if(!parserInput.$str("url(")){parserInput.autoCommentAbsorb=true;return}value=this.quoted()||this.variable()||parserInput.$re(/^(?:(?:\\[\(\)'"])|[^\(\)'"])+/)||"";parserInput.autoCommentAbsorb=true;expectChar(")");return new tree.URL(null!=value.value||value instanceof tree.Variable?value:new tree.Anonymous(value),index,fileInfo)},variable:function(){var name,index=parserInput.i;if("@"===parserInput.currentChar()&&(name=parserInput.$re(/^@@?[\w-]+/)))return new tree.Variable(name,index,fileInfo)},variableCurly:function(){var curly,index=parserInput.i;if("@"===parserInput.currentChar()&&(curly=parserInput.$re(/^@\{([\w-]+)\}/)))return new tree.Variable("@"+curly[1],index,fileInfo)},color:function(){var rgb;if("#"===parserInput.currentChar()&&(rgb=parserInput.$re(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/))){var colorCandidateString=rgb.input.match(/^#([\w]+).*/);colorCandidateString=colorCandidateString[1];colorCandidateString.match(/^[A-Fa-f0-9]+$/)||error("Invalid HEX color code");return new tree.Color(rgb[1],void 0,"#"+colorCandidateString)}},colorKeyword:function(){parserInput.save();var autoCommentAbsorb=parserInput.autoCommentAbsorb;parserInput.autoCommentAbsorb=false;var k=parserInput.$re(/^[_A-Za-z-][_A-Za-z0-9-]+/);parserInput.autoCommentAbsorb=autoCommentAbsorb;if(!k){parserInput.forget();return}parserInput.restore();var color=tree.Color.fromKeyword(k);if(color){parserInput.$str(k);return color}},dimension:function(){if(parserInput.peekNotNumeric())return;var value=parserInput.$re(/^([+-]?\d*\.?\d+)(%|[a-z_]+)?/i);if(value)return new tree.Dimension(value[1],value[2])},unicodeDescriptor:function(){var ud;ud=parserInput.$re(/^U\+[0-9a-fA-F?]+(\-[0-9a-fA-F?]+)?/);if(ud)return new tree.UnicodeDescriptor(ud[0])},javascript:function(){var js,index=parserInput.i;parserInput.save();var escape=parserInput.$char("~");var jsQuote=parserInput.$char("`");if(!jsQuote){parserInput.restore();return}js=parserInput.$re(/^[^`]*`/);if(js){parserInput.forget();return new tree.JavaScript(js.substr(0,js.length-1),Boolean(escape),index,fileInfo)}parserInput.restore("invalid javascript definition")}},variable:function(){var name;if("@"===parserInput.currentChar()&&(name=parserInput.$re(/^(@[\w-]+)\s*:/)))return name[1]},rulesetCall:function(){var name;if("@"===parserInput.currentChar()&&(name=parserInput.$re(/^(@[\w-]+)\(\s*\)\s*;/)))return new tree.RulesetCall(name[1])},extend:function(isRule){var elements,e,option,extendList,extend,index=parserInput.i;if(!parserInput.$str(isRule?"&:extend(":":extend("))return;do{option=null;elements=null;while(!(option=parserInput.$re(/^(all)(?=\s*(\)|,))/))){e=this.element();if(!e)break;elements?elements.push(e):elements=[e]}option=option&&option[1];elements||error("Missing target selector for :extend().");extend=new tree.Extend(new tree.Selector(elements),option,index,fileInfo);extendList?extendList.push(extend):extendList=[extend]}while(parserInput.$char(","));expect(/^\)/);isRule&&expect(/^;/);return extendList},extendRule:function(){return this.extend(true)},mixin:{call:function(){var elemIndex,elements,elem,e,c,args,s=parserInput.currentChar(),important=false,index=parserInput.i;if("."!==s&&"#"!==s)return;parserInput.save();while(true){elemIndex=parserInput.i;e=parserInput.$re(/^[#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/);if(!e)break;elem=new tree.Element(c,e,elemIndex,fileInfo);elements?elements.push(elem):elements=[elem];c=parserInput.$char(">")}if(elements){if(parserInput.$char("(")){args=this.args(true).args;expectChar(")")}parsers.important()&&(important=true);if(parsers.end()){parserInput.forget();return new tree.mixin.Call(elements,args,index,fileInfo,important)}}parserInput.restore()},args:function(isCall){var isSemiColonSeparated,expressionContainsNamed,name,nameLoop,value,arg,expand,entities=parsers.entities,returner={args:null,variadic:false},expressions=[],argsSemiColon=[],argsComma=[];parserInput.save();while(true){if(isCall)arg=parsers.detachedRuleset()||parsers.expression();else{parserInput.commentStore.length=0;if(parserInput.$str("...")){returner.variadic=true;parserInput.$char(";")&&!isSemiColonSeparated&&(isSemiColonSeparated=true);(isSemiColonSeparated?argsSemiColon:argsComma).push({variadic:true});break}arg=entities.variable()||entities.literal()||entities.keyword()}if(!arg)break;nameLoop=null;arg.throwAwayComments&&arg.throwAwayComments();value=arg;var val=null;isCall?arg.value&&1==arg.value.length&&(val=arg.value[0]):val=arg;if(val&&val instanceof tree.Variable)if(parserInput.$char(":")){if(expressions.length>0){isSemiColonSeparated&&error("Cannot mix ; and , as delimiter types");expressionContainsNamed=true}value=parsers.detachedRuleset()||parsers.expression();if(!value){if(!isCall){parserInput.restore();returner.args=[];return returner}error("could not understand value for named argument")}nameLoop=name=val.name}else if(parserInput.$str("...")){if(!isCall){returner.variadic=true;parserInput.$char(";")&&!isSemiColonSeparated&&(isSemiColonSeparated=true);(isSemiColonSeparated?argsSemiColon:argsComma).push({name:arg.name,variadic:true});break}expand=true}else if(!isCall){name=nameLoop=val.name;value=null}value&&expressions.push(value);argsComma.push({name:nameLoop,value:value,expand:expand});if(parserInput.$char(","))continue;if(parserInput.$char(";")||isSemiColonSeparated){expressionContainsNamed&&error("Cannot mix ; and , as delimiter types");isSemiColonSeparated=true;expressions.length>1&&(value=new tree.Value(expressions));argsSemiColon.push({name:name,value:value,expand:expand});name=null;expressions=[];expressionContainsNamed=false}}parserInput.forget();returner.args=isSemiColonSeparated?argsSemiColon:argsComma;return returner},definition:function(){var name,match,ruleset,cond,params=[],variadic=false;if("."!==parserInput.currentChar()&&"#"!==parserInput.currentChar()||parserInput.peek(/^[^{]*\}/))return;parserInput.save();match=parserInput.$re(/^([#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+)\s*\(/);if(match){name=match[1];var argInfo=this.args(false);params=argInfo.args;variadic=argInfo.variadic;if(!parserInput.$char(")")){parserInput.restore("Missing closing ')'");return}parserInput.commentStore.length=0;parserInput.$str("when")&&(cond=expect(parsers.conditions,"expected condition"));ruleset=parsers.block();if(ruleset){parserInput.forget();return new tree.mixin.Definition(name,params,ruleset,cond,variadic)}parserInput.restore()}else parserInput.forget()}},entity:function(){var entities=this.entities;return this.comment()||entities.literal()||entities.variable()||entities.url()||entities.call()||entities.keyword()||entities.javascript()},end:function(){return parserInput.$char(";")||parserInput.peek("}")},alpha:function(){var value;if(!parserInput.$re(/^opacity=/i))return;value=parserInput.$re(/^\d+/);value||(value=expect(this.entities.variable,"Could not parse alpha"));expectChar(")");return new tree.Alpha(value)},element:function(){var e,c,v,index=parserInput.i;c=this.combinator();e=parserInput.$re(/^(?:\d+\.\d+|\d+)%/)||parserInput.$re(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||parserInput.$char("*")||parserInput.$char("&")||this.attribute()||parserInput.$re(/^\([^&()@]+\)/)||parserInput.$re(/^[\.#:](?=@)/)||this.entities.variableCurly();if(!e){parserInput.save();if(parserInput.$char("("))if((v=this.selector())&&parserInput.$char(")")){e=new tree.Paren(v);parserInput.forget()}else parserInput.restore("Missing closing ')'");else parserInput.forget()}if(e)return new tree.Element(c,e,index,fileInfo)},combinator:function(){var c=parserInput.currentChar();if("/"===c){parserInput.save();var slashedCombinator=parserInput.$re(/^\/[a-z]+\//i);if(slashedCombinator){parserInput.forget();return new tree.Combinator(slashedCombinator)}parserInput.restore()}if(">"===c||"+"===c||"~"===c||"|"===c||"^"===c){parserInput.i++;if("^"===c&&"^"===parserInput.currentChar()){c="^^";parserInput.i++}while(parserInput.isWhitespace())parserInput.i++;return new tree.Combinator(c)}return parserInput.isWhitespace(-1)?new tree.Combinator(" "):new tree.Combinator(null)},lessSelector:function(){return this.selector(true)},selector:function(isLess){var elements,extendList,c,e,allExtends,when,condition,index=parserInput.i;while(isLess&&(extendList=this.extend())||isLess&&(when=parserInput.$str("when"))||(e=this.element())){if(when)condition=expect(this.conditions,"expected condition");else if(condition)error("CSS guard can only be used at the end of selector");else if(extendList)allExtends=allExtends?allExtends.concat(extendList):extendList;else{allExtends&&error("Extend can only be used at the end of selector");c=parserInput.currentChar();elements?elements.push(e):elements=[e];e=null}if("{"===c||"}"===c||";"===c||","===c||")"===c)break}if(elements)return new tree.Selector(elements,allExtends,condition,index,fileInfo);allExtends&&error("Extend must be used to extend a selector, it cannot be used on its own")},attribute:function(){if(!parserInput.$char("["))return;var key,val,op,entities=this.entities;(key=entities.variableCurly())||(key=expect(/^(?:[_A-Za-z0-9-\*]*\|)?(?:[_A-Za-z0-9-]|\\.)+/));op=parserInput.$re(/^[|~*$^]?=/);op&&(val=entities.quoted()||parserInput.$re(/^[0-9]+%/)||parserInput.$re(/^[\w-]+/)||entities.variableCurly());expectChar("]");return new tree.Attribute(key,op,val)},block:function(){var content;if(parserInput.$char("{")&&(content=this.primary())&&parserInput.$char("}"))return content},blockRuleset:function(){var block=this.block();block&&(block=new tree.Ruleset(null,block));return block},detachedRuleset:function(){var blockRuleset=this.blockRuleset();if(blockRuleset)return new tree.DetachedRuleset(blockRuleset)},ruleset:function(){var selectors,s,rules,debugInfo;parserInput.save();context.dumpLineNumbers&&(debugInfo=getDebugInfo(parserInput.i));while(true){s=this.lessSelector();if(!s)break;selectors?selectors.push(s):selectors=[s];parserInput.commentStore.length=0;s.condition&&selectors.length>1&&error("Guards are only currently allowed on a single selector.");if(!parserInput.$char(","))break;s.condition&&error("Guards are only currently allowed on a single selector.");parserInput.commentStore.length=0}if(selectors&&(rules=this.block())){parserInput.forget();var ruleset=new tree.Ruleset(selectors,rules,context.strictImports);context.dumpLineNumbers&&(ruleset.debugInfo=debugInfo);return ruleset}parserInput.restore()},rule:function(tryAnonymous){var name,value,important,merge,isVariable,startOfRule=parserInput.i,c=parserInput.currentChar();if("."===c||"#"===c||"&"===c||":"===c)return;parserInput.save();name=this.variable()||this.ruleProperty();if(name){isVariable="string"===typeof name;isVariable&&(value=this.detachedRuleset());parserInput.commentStore.length=0;if(!value){merge=!isVariable&&name.length>1&&name.pop().value;var tryValueFirst=!tryAnonymous&&(context.compress||isVariable);tryValueFirst&&(value=this.value());if(!value){value=this.anonymousValue();if(value){parserInput.forget();return new tree.Rule(name,value,false,merge,startOfRule,fileInfo)}}tryValueFirst||value||(value=this.value());important=this.important()}if(value&&this.end()){parserInput.forget();return new tree.Rule(name,value,important,merge,startOfRule,fileInfo)}parserInput.restore();if(value&&!tryAnonymous)return this.rule(true)}else parserInput.forget()},anonymousValue:function(){var match=parserInput.$re(/^([^@+\/'"*`(;{}-]*);/);if(match)return new tree.Anonymous(match[1])},import:function(){var path,features,index=parserInput.i;var dir=parserInput.$re(/^@import?\s+/);if(dir){var options=(dir?this.importOptions():null)||{};if(path=this.entities.quoted()||this.entities.url()){features=this.mediaFeatures();if(!parserInput.$char(";")){parserInput.i=index;error("missing semi-colon or unrecognised media features on import")}features=features&&new tree.Value(features);return new tree.Import(path,features,options,index,fileInfo)}parserInput.i=index;error("malformed import statement")}},importOptions:function(){var o,optionName,value,options={};if(!parserInput.$char("("))return null;do{o=this.importOption();if(o){optionName=o;value=true;switch(optionName){case"css":optionName="less";value=false;break;case"once":optionName="multiple";value=false}options[optionName]=value;if(!parserInput.$char(","))break}}while(o);expectChar(")");return options},importOption:function(){var opt=parserInput.$re(/^(less|css|multiple|once|inline|reference|optional)/);if(opt)return opt[1]},mediaFeature:function(){var e,p,entities=this.entities,nodes=[];parserInput.save();do{e=entities.keyword()||entities.variable();if(e)nodes.push(e);else if(parserInput.$char("(")){p=this.property();e=this.value();parserInput.$char(")")?p&&e?nodes.push(new tree.Paren(new tree.Rule(p,e,null,null,parserInput.i,fileInfo,true))):e?nodes.push(new tree.Paren(e)):error("badly formed media feature definition"):error("Missing closing ')'","Parse")}}while(e);parserInput.forget();if(nodes.length>0)return new tree.Expression(nodes)},mediaFeatures:function(){var e,entities=this.entities,features=[];do{e=this.mediaFeature();if(e){features.push(e);if(!parserInput.$char(","))break}else{e=entities.variable();if(e){features.push(e);if(!parserInput.$char(","))break}}}while(e);return features.length>0?features:null},media:function(){var features,rules,media,debugInfo,index=parserInput.i;context.dumpLineNumbers&&(debugInfo=getDebugInfo(index));parserInput.save();if(parserInput.$str("@media")){features=this.mediaFeatures();rules=this.block();rules||error("media definitions require block statements after any features");parserInput.forget();media=new tree.Media(rules,features,index,fileInfo);context.dumpLineNumbers&&(media.debugInfo=debugInfo);return media}parserInput.restore()},plugin:function(){var path,index=parserInput.i,dir=parserInput.$re(/^@plugin?\s+/);if(dir){var options={plugin:true};if(path=this.entities.quoted()||this.entities.url()){if(!parserInput.$char(";")){parserInput.i=index;error("missing semi-colon on plugin")}return new tree.Import(path,null,options,index,fileInfo)}parserInput.i=index;error("malformed plugin statement")}},directive:function(){var name,value,rules,nonVendorSpecificName,hasIdentifier,hasExpression,hasUnknown,index=parserInput.i,hasBlock=true,isRooted=true;if("@"!==parserInput.currentChar())return;value=this["import"]()||this.plugin()||this.media();if(value)return value;parserInput.save();name=parserInput.$re(/^@[a-z-]+/);if(!name)return;nonVendorSpecificName=name;"-"==name.charAt(1)&&name.indexOf("-",2)>0&&(nonVendorSpecificName="@"+name.slice(name.indexOf("-",2)+1));switch(nonVendorSpecificName){case"@charset":hasIdentifier=true;hasBlock=false;break;case"@namespace":hasExpression=true;hasBlock=false;break;case"@keyframes":case"@counter-style":hasIdentifier=true;break;case"@document":case"@supports":hasUnknown=true;isRooted=false;break;default:hasUnknown=true}parserInput.commentStore.length=0;if(hasIdentifier){value=this.entity();value||error("expected "+name+" identifier")}else if(hasExpression){value=this.expression();value||error("expected "+name+" expression")}else if(hasUnknown){value=(parserInput.$re(/^[^{;]+/)||"").trim();hasBlock="{"==parserInput.currentChar();value&&(value=new tree.Anonymous(value))}hasBlock&&(rules=this.blockRuleset());if(rules||!hasBlock&&value&&parserInput.$char(";")){parserInput.forget();return new tree.Directive(name,value,rules,index,fileInfo,context.dumpLineNumbers?getDebugInfo(index):null,isRooted)}parserInput.restore("directive options not recognised")},value:function(){var e,expressions=[];do{e=this.expression();if(e){expressions.push(e);if(!parserInput.$char(","))break}}while(e);if(expressions.length>0)return new tree.Value(expressions)},important:function(){if("!"===parserInput.currentChar())return parserInput.$re(/^! *important/)},sub:function(){var a,e;parserInput.save();if(parserInput.$char("(")){a=this.addition();if(a&&parserInput.$char(")")){parserInput.forget();e=new tree.Expression([a]);e.parens=true;return e}parserInput.restore("Expected ')'");return}parserInput.restore()},multiplication:function(){var m,a,op,operation,isSpaced;m=this.operand();if(m){isSpaced=parserInput.isWhitespace(-1);while(true){if(parserInput.peek(/^\/[*\/]/))break;parserInput.save();op=parserInput.$char("/")||parserInput.$char("*");if(!op){parserInput.forget();break}a=this.operand();if(!a){parserInput.restore();break}parserInput.forget();m.parensInOp=true;a.parensInOp=true;operation=new tree.Operation(op,[operation||m,a],isSpaced);isSpaced=parserInput.isWhitespace(-1)}return operation||m}},addition:function(){var m,a,op,operation,isSpaced;m=this.multiplication();if(m){isSpaced=parserInput.isWhitespace(-1);while(true){op=parserInput.$re(/^[-+]\s+/)||!isSpaced&&(parserInput.$char("+")||parserInput.$char("-"));if(!op)break;a=this.multiplication();if(!a)break;m.parensInOp=true;a.parensInOp=true;operation=new tree.Operation(op,[operation||m,a],isSpaced);isSpaced=parserInput.isWhitespace(-1)}return operation||m}},conditions:function(){var a,b,condition,index=parserInput.i;a=this.condition();if(a){while(true){if(!parserInput.peek(/^,\s*(not\s*)?\(/)||!parserInput.$char(","))break;b=this.condition();if(!b)break;condition=new tree.Condition("or",condition||a,b,index)}return condition||a}},condition:function(){var result,logical,next;function or(){return parserInput.$str("or")}result=this.conditionAnd(this);if(!result)return;logical=or();if(logical){next=this.condition();if(!next)return;result=new tree.Condition(logical,result,next)}return result},conditionAnd:function(){var result,logical,next;function insideCondition(me){return me.negatedCondition()||me.parenthesisCondition()}function and(){return parserInput.$str("and")}result=insideCondition(this);if(!result)return;logical=and();if(logical){next=this.conditionAnd();if(!next)return;result=new tree.Condition(logical,result,next)}return result},negatedCondition:function(){if(parserInput.$str("not")){var result=this.parenthesisCondition();result&&(result.negate=!result.negate);return result}},parenthesisCondition:function(){function tryConditionFollowedByParenthesis(me){var body;parserInput.save();body=me.condition();if(!body){parserInput.restore();return}if(!parserInput.$char(")")){parserInput.restore();return}parserInput.forget();return body}var body;parserInput.save();if(!parserInput.$str("(")){parserInput.restore();return}body=tryConditionFollowedByParenthesis(this);if(body){parserInput.forget();return body}body=this.atomicCondition();if(!body){parserInput.restore();return}if(!parserInput.$char(")")){parserInput.restore("expected ')' got '"+parserInput.currentChar()+"'");return}parserInput.forget();return body},atomicCondition:function(){var a,b,c,op,entities=this.entities,index=parserInput.i;a=this.addition()||entities.keyword()||entities.quoted();if(a){parserInput.$char(">")?op=parserInput.$char("=")?">=":">":parserInput.$char("<")?op=parserInput.$char("=")?"<=":"<":parserInput.$char("=")&&(op=parserInput.$char(">")?"=>":parserInput.$char("<")?"=<":"=");if(op){b=this.addition()||entities.keyword()||entities.quoted();b?c=new tree.Condition(op,a,b,index,false):error("expected expression")}else c=new tree.Condition("=",a,new tree.Keyword("true"),index,false);return c}},operand:function(){var negate,entities=this.entities;parserInput.peek(/^-[@\(]/)&&(negate=parserInput.$char("-"));var o=this.sub()||entities.dimension()||entities.color()||entities.variable()||entities.call()||entities.colorKeyword();if(negate){o.parensInOp=true;o=new tree.Negative(o)}return o},expression:function(){var e,delim,entities=[];do{e=this.comment();if(e){entities.push(e);continue}e=this.addition()||this.entity();if(e){entities.push(e);if(!parserInput.peek(/^\/[\/*]/)){delim=parserInput.$char("/");delim&&entities.push(new tree.Anonymous(delim))}}}while(e);if(entities.length>0)return new tree.Expression(entities)},property:function(){var name=parserInput.$re(/^(\*?-?[_a-zA-Z0-9-]+)\s*:/);if(name)return name[1]},ruleProperty:function(){var s,k,name=[],index=[];parserInput.save();var simpleProperty=parserInput.$re(/^([_a-zA-Z0-9-]+)\s*:/);if(simpleProperty){name=[new tree.Keyword(simpleProperty[1])];parserInput.forget();return name}function match(re){var i=parserInput.i,chunk=parserInput.$re(re);if(chunk){index.push(i);return name.push(chunk[1])}}match(/^(\*?)/);while(true)if(!match(/^((?:[\w-]+)|(?:@\{[\w-]+\}))/))break;if(name.length>1&&match(/^((?:\+_|\+)?)\s*:/)){parserInput.forget();if(""===name[0]){name.shift();index.shift()}for(k=0;k<name.length;k++){s=name[k];name[k]="@"!==s.charAt(0)?new tree.Keyword(s):new tree.Variable("@"+s.slice(2,-1),index[k],fileInfo)}return name}parserInput.restore()}}}};Parser.serializeVars=function(vars){var s="";for(var name in vars)if(Object.hasOwnProperty.call(vars,name)){var value=vars[name];s+=("@"===name[0]?"":"@")+name+": "+value+(";"===String(value).slice(-1)?"":";")}return s};module.exports=Parser},function(module,exports){module.exports={getLocation:function(index,inputStream){var n=index+1,line=null,column=-1;while(--n>=0&&"\n"!==inputStream.charAt(n))column++;"number"===typeof index&&(line=(inputStream.slice(0,index).match(/\n/g)||"").length);return{line:line,column:column}}}},function(module,exports){module.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E49\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(module,exports,__webpack_require__){"use strict";function Ruler(){this.__rules__=[];this.__cache__=null}Ruler.prototype.__find__=function(name){for(var i=0;i<this.__rules__.length;i++)if(this.__rules__[i].name===name)return i;return-1};Ruler.prototype.__compile__=function(){var self=this;var chains=[""];self.__rules__.forEach(function(rule){if(!rule.enabled)return;rule.alt.forEach(function(altName){chains.indexOf(altName)<0&&chains.push(altName)})});self.__cache__={};chains.forEach(function(chain){self.__cache__[chain]=[];self.__rules__.forEach(function(rule){if(!rule.enabled)return;if(chain&&rule.alt.indexOf(chain)<0)return;self.__cache__[chain].push(rule.fn)})})};Ruler.prototype.at=function(name,fn,options){var index=this.__find__(name);var opt=options||{};if(-1===index)throw new Error("Parser rule not found: "+name);this.__rules__[index].fn=fn;this.__rules__[index].alt=opt.alt||[];this.__cache__=null};Ruler.prototype.before=function(beforeName,ruleName,fn,options){var index=this.__find__(beforeName);var opt=options||{};if(-1===index)throw new Error("Parser rule not found: "+beforeName);this.__rules__.splice(index,0,{name:ruleName,enabled:true,fn:fn,alt:opt.alt||[]});this.__cache__=null};Ruler.prototype.after=function(afterName,ruleName,fn,options){var index=this.__find__(afterName);var opt=options||{};if(-1===index)throw new Error("Parser rule not found: "+afterName);this.__rules__.splice(index+1,0,{name:ruleName,enabled:true,fn:fn,alt:opt.alt||[]});this.__cache__=null};Ruler.prototype.push=function(ruleName,fn,options){var opt=options||{};this.__rules__.push({name:ruleName,enabled:true,fn:fn,alt:opt.alt||[]});this.__cache__=null};Ruler.prototype.enable=function(list,ignoreInvalid){Array.isArray(list)||(list=[list]);var result=[];list.forEach(function(name){var idx=this.__find__(name);if(idx<0){if(ignoreInvalid)return;throw new Error("Rules manager: invalid rule name "+name)}this.__rules__[idx].enabled=true;result.push(name)},this);this.__cache__=null;return result};Ruler.prototype.enableOnly=function(list,ignoreInvalid){Array.isArray(list)||(list=[list]);this.__rules__.forEach(function(rule){rule.enabled=false});this.enable(list,ignoreInvalid)};Ruler.prototype.disable=function(list,ignoreInvalid){Array.isArray(list)||(list=[list]);var result=[];list.forEach(function(name){var idx=this.__find__(name);if(idx<0){if(ignoreInvalid)return;throw new Error("Rules manager: invalid rule name "+name)}this.__rules__[idx].enabled=false;result.push(name)},this);this.__cache__=null;return result};Ruler.prototype.getRules=function(chainName){null===this.__cache__&&this.__compile__();return this.__cache__[chainName]||[]};module.exports=Ruler},function(module,exports,__webpack_require__){"use strict";function Token(type,tag,nesting){this.type=type;this.tag=tag;this.attrs=null;this.map=null;this.nesting=nesting;this.level=0;this.children=null;this.content="";this.markup="";this.info="";this.meta=null;this.block=false;this.hidden=false}Token.prototype.attrIndex=function attrIndex(name){var attrs,i,len;if(!this.attrs)return-1;attrs=this.attrs;for(i=0,len=attrs.length;i<len;i++)if(attrs[i][0]===name)return i;return-1};Token.prototype.attrPush=function attrPush(attrData){this.attrs?this.attrs.push(attrData):this.attrs=[attrData]};Token.prototype.attrSet=function attrSet(name,value){var idx=this.attrIndex(name),attrData=[name,value];idx<0?this.attrPush(attrData):this.attrs[idx]=attrData};Token.prototype.attrGet=function attrGet(name){var idx=this.attrIndex(name),value=null;idx>=0&&(value=this.attrs[idx][1]);return value};Token.prototype.attrJoin=function attrJoin(name,value){var idx=this.attrIndex(name);idx<0?this.attrPush([name,value]):this.attrs[idx][1]=this.attrs[idx][1]+" "+value};module.exports=Token},function(module,exports,__webpack_require__){"use strict";var $=window.jQuery=window.$=module.exports=__webpack_require__(861);__webpack_require__(895)($)},function(module,exports,__webpack_require__){(function(global){var ClientRequest=__webpack_require__(2371);var IncomingMessage=__webpack_require__(899);var extend=__webpack_require__(108);var statusCodes=__webpack_require__(2378);var url=__webpack_require__(210);var http=exports;http.request=function(opts,cb){opts="string"===typeof opts?url.parse(opts):extend(opts);var defaultProtocol=-1===global.location.protocol.search(/^https?:$/)?"http:":"";var protocol=opts.protocol||defaultProtocol;var host=opts.hostname||opts.host;var port=opts.port;var path=opts.path||"/";host&&-1!==host.indexOf(":")&&(host="["+host+"]");opts.url=(host?protocol+"//"+host:"")+(port?":"+port:"")+path;opts.method=(opts.method||"GET").toUpperCase();opts.headers=opts.headers||{};var req=new ClientRequest(opts);cb&&req.on("response",cb);return req};http.get=function get(opts,cb){var req=http.request(opts,cb);req.end();return req};http.ClientRequest=ClientRequest;http.IncomingMessage=IncomingMessage;http.Agent=function(){};http.Agent.defaultMaxSockets=4;http.STATUS_CODES=statusCodes;http.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";(function(process,setImmediate,global){var pna=__webpack_require__(337);module.exports=Writable;function CorkedRequest(state){var _this=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(_this,state)}}var asyncWrite=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:pna.nextTick;var Duplex;Writable.WritableState=WritableState;var util=__webpack_require__(258);util.inherits=__webpack_require__(122);var internalUtil={deprecate:__webpack_require__(2375)};var Stream=__webpack_require__(901);var Buffer=__webpack_require__(338).Buffer;var OurUint8Array=global.Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer.from(chunk)}function _isUint8Array(obj){return Buffer.isBuffer(obj)||obj instanceof OurUint8Array}var destroyImpl=__webpack_require__(902);util.inherits(Writable,Stream);function nop(){}function WritableState(options,stream){Duplex=Duplex||__webpack_require__(176);options=options||{};var isDuplex=stream instanceof Duplex;this.objectMode=!!options.objectMode;isDuplex&&(this.objectMode=this.objectMode||!!options.writableObjectMode);var hwm=options.highWaterMark;var writableHwm=options.writableHighWaterMark;var defaultHwm=this.objectMode?16:16384;this.highWaterMark=hwm||0===hwm?hwm:isDuplex&&(writableHwm||0===writableHwm)?writableHwm:defaultHwm;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var noDecode=false===options.decodeStrings;this.decodeStrings=!noDecode;this.defaultEncoding=options.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(er){onwrite(stream,er)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var current=this.bufferedRequest;var out=[];while(current){out.push(current);current=current.next}return out};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(_){}})();var realHasInstance;if("function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]){realHasInstance=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(object){if(realHasInstance.call(this,object))return true;if(this!==Writable)return false;return object&&object._writableState instanceof WritableState}})}else realHasInstance=function(object){return object instanceof this};function Writable(options){Duplex=Duplex||__webpack_require__(176);if(!realHasInstance.call(Writable,this)&&!(this instanceof Duplex))return new Writable(options);this._writableState=new WritableState(options,this);this.writable=true;if(options){"function"===typeof options.write&&(this._write=options.write);"function"===typeof options.writev&&(this._writev=options.writev);"function"===typeof options.destroy&&(this._destroy=options.destroy);"function"===typeof options.final&&(this._final=options.final)}Stream.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(stream,cb){var er=new Error("write after end");stream.emit("error",er);pna.nextTick(cb,er)}function validChunk(stream,state,chunk,cb){var valid=true;var er=false;null===chunk?er=new TypeError("May not write null values to stream"):"string"===typeof chunk||void 0===chunk||state.objectMode||(er=new TypeError("Invalid non-string/buffer chunk"));if(er){stream.emit("error",er);pna.nextTick(cb,er);valid=false}return valid}Writable.prototype.write=function(chunk,encoding,cb){var state=this._writableState;var ret=false;var isBuf=!state.objectMode&&_isUint8Array(chunk);isBuf&&!Buffer.isBuffer(chunk)&&(chunk=_uint8ArrayToBuffer(chunk));if("function"===typeof encoding){cb=encoding;encoding=null}isBuf?encoding="buffer":encoding||(encoding=state.defaultEncoding);"function"!==typeof cb&&(cb=nop);if(state.ended)writeAfterEnd(this,cb);else if(isBuf||validChunk(this,state,chunk,cb)){state.pendingcb++;ret=writeOrBuffer(this,state,isBuf,chunk,encoding,cb)}return ret};Writable.prototype.cork=function(){var state=this._writableState;state.corked++};Writable.prototype.uncork=function(){var state=this._writableState;if(state.corked){state.corked--;state.writing||state.corked||state.finished||state.bufferProcessing||!state.bufferedRequest||clearBuffer(this,state)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(encoding){"string"===typeof encoding&&(encoding=encoding.toLowerCase());if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+encoding);this._writableState.defaultEncoding=encoding;return this};function decodeChunk(state,chunk,encoding){state.objectMode||false===state.decodeStrings||"string"!==typeof chunk||(chunk=Buffer.from(chunk,encoding));return chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(stream,state,isBuf,chunk,encoding,cb){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);if(chunk!==newChunk){isBuf=true;encoding="buffer";chunk=newChunk}}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;ret||(state.needDrain=true);if(state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk:chunk,encoding:encoding,isBuf:isBuf,callback:cb,next:null};last?last.next=state.lastBufferedRequest:state.bufferedRequest=state.lastBufferedRequest;state.bufferedRequestCount+=1}else doWrite(stream,state,false,len,chunk,encoding,cb);return ret}function doWrite(stream,state,writev,len,chunk,encoding,cb){state.writelen=len;state.writecb=cb;state.writing=true;state.sync=true;writev?stream._writev(chunk,state.onwrite):stream._write(chunk,encoding,state.onwrite);state.sync=false}function onwriteError(stream,state,sync,er,cb){--state.pendingcb;if(sync){pna.nextTick(cb,er);pna.nextTick(finishMaybe,stream,state);stream._writableState.errorEmitted=true;stream.emit("error",er)}else{cb(er);stream._writableState.errorEmitted=true;stream.emit("error",er);finishMaybe(stream,state)}}function onwriteStateUpdate(state){state.writing=false;state.writecb=null;state.length-=state.writelen;state.writelen=0}function onwrite(stream,er){var state=stream._writableState;var sync=state.sync;var cb=state.writecb;onwriteStateUpdate(state);if(er)onwriteError(stream,state,sync,er,cb);else{var finished=needFinish(state);finished||state.corked||state.bufferProcessing||!state.bufferedRequest||clearBuffer(stream,state);sync?asyncWrite(afterWrite,stream,state,finished,cb):afterWrite(stream,state,finished,cb)}}function afterWrite(stream,state,finished,cb){finished||onwriteDrain(stream,state);state.pendingcb--;cb();finishMaybe(stream,state)}function onwriteDrain(stream,state){if(0===state.length&&state.needDrain){state.needDrain=false;stream.emit("drain")}}function clearBuffer(stream,state){state.bufferProcessing=true;var entry=state.bufferedRequest;if(stream._writev&&entry&&entry.next){var l=state.bufferedRequestCount;var buffer=new Array(l);var holder=state.corkedRequestsFree;holder.entry=entry;var count=0;var allBuffers=true;while(entry){buffer[count]=entry;entry.isBuf||(allBuffers=false);entry=entry.next;count+=1}buffer.allBuffers=allBuffers;doWrite(stream,state,true,state.length,buffer,"",holder.finish);state.pendingcb++;state.lastBufferedRequest=null;if(holder.next){state.corkedRequestsFree=holder.next;holder.next=null}else state.corkedRequestsFree=new CorkedRequest(state);state.bufferedRequestCount=0}else{while(entry){var chunk=entry.chunk;var encoding=entry.encoding;var cb=entry.callback;var len=state.objectMode?1:chunk.length;doWrite(stream,state,false,len,chunk,encoding,cb);entry=entry.next;state.bufferedRequestCount--;if(state.writing)break}null===entry&&(state.lastBufferedRequest=null)}state.bufferedRequest=entry;state.bufferProcessing=false}Writable.prototype._write=function(chunk,encoding,cb){cb(new Error("_write() is not implemented"))};Writable.prototype._writev=null;Writable.prototype.end=function(chunk,encoding,cb){var state=this._writableState;if("function"===typeof chunk){cb=chunk;chunk=null;encoding=null}else if("function"===typeof encoding){cb=encoding;encoding=null}null!==chunk&&void 0!==chunk&&this.write(chunk,encoding);if(state.corked){state.corked=1;this.uncork()}state.ending||state.finished||endWritable(this,state,cb)};function needFinish(state){return state.ending&&0===state.length&&null===state.bufferedRequest&&!state.finished&&!state.writing}function callFinal(stream,state){stream._final(function(err){state.pendingcb--;err&&stream.emit("error",err);state.prefinished=true;stream.emit("prefinish");finishMaybe(stream,state)})}function prefinish(stream,state){if(!state.prefinished&&!state.finalCalled)if("function"===typeof stream._final){state.pendingcb++;state.finalCalled=true;pna.nextTick(callFinal,stream,state)}else{state.prefinished=true;stream.emit("prefinish")}}function finishMaybe(stream,state){var need=needFinish(state);if(need){prefinish(stream,state);if(0===state.pendingcb){state.finished=true;stream.emit("finish")}}return need}function endWritable(stream,state,cb){state.ending=true;finishMaybe(stream,state);cb&&(state.finished?pna.nextTick(cb):stream.once("finish",cb));state.ended=true;stream.writable=false}function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;corkReq.entry=null;while(entry){var cb=entry.callback;state.pendingcb--;cb(err);entry=entry.next}state.corkedRequestsFree?state.corkedRequestsFree.next=corkReq:state.corkedRequestsFree=corkReq}Object.defineProperty(Writable.prototype,"destroyed",{get:function(){if(void 0===this._writableState)return false;return this._writableState.destroyed},set:function(value){if(!this._writableState)return;this._writableState.destroyed=value}});Writable.prototype.destroy=destroyImpl.destroy;Writable.prototype._undestroy=destroyImpl.undestroy;Writable.prototype._destroy=function(err,cb){this.end();cb(err)}}).call(this,__webpack_require__(59),__webpack_require__(485).setImmediate,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";var Buffer=__webpack_require__(338).Buffer;var isEncoding=Buffer.isEncoding||function(encoding){encoding=""+encoding;switch(encoding&&encoding.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(enc){if(!enc)return"utf8";var retried;while(true)switch(enc){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return enc;default:if(retried)return;enc=(""+enc).toLowerCase();retried=true}}function normalizeEncoding(enc){var nenc=_normalizeEncoding(enc);if("string"!==typeof nenc&&(Buffer.isEncoding===isEncoding||!isEncoding(enc)))throw new Error("Unknown encoding: "+enc);return nenc||enc}exports.StringDecoder=StringDecoder;function StringDecoder(encoding){this.encoding=normalizeEncoding(encoding);var nb;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;nb=4;break;case"utf8":this.fillLast=utf8FillLast;nb=4;break;case"base64":this.text=base64Text;this.end=base64End;nb=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=Buffer.allocUnsafe(nb)}StringDecoder.prototype.write=function(buf){if(0===buf.length)return"";var r;var i;if(this.lastNeed){r=this.fillLast(buf);if(void 0===r)return"";i=this.lastNeed;this.lastNeed=0}else i=0;if(i<buf.length)return r?r+this.text(buf,i):this.text(buf,i);return r||""};StringDecoder.prototype.end=utf8End;StringDecoder.prototype.text=utf8Text;StringDecoder.prototype.fillLast=function(buf){if(this.lastNeed<=buf.length){buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,buf.length);this.lastNeed-=buf.length};function utf8CheckByte(byte){if(byte<=127)return 0;if(byte>>5===6)return 2;if(byte>>4===14)return 3;if(byte>>3===30)return 4;return byte>>6===2?-1:-2}function utf8CheckIncomplete(self,buf,i){var j=buf.length-1;if(j<i)return 0;var nb=utf8CheckByte(buf[j]);if(nb>=0){nb>0&&(self.lastNeed=nb-1);return nb}if(--j<i||-2===nb)return 0;nb=utf8CheckByte(buf[j]);if(nb>=0){nb>0&&(self.lastNeed=nb-2);return nb}if(--j<i||-2===nb)return 0;nb=utf8CheckByte(buf[j]);if(nb>=0){nb>0&&(2===nb?nb=0:self.lastNeed=nb-3);return nb}return 0}function utf8CheckExtraBytes(self,buf,p){if(128!==(192&buf[0])){self.lastNeed=0;return"�"}if(self.lastNeed>1&&buf.length>1){if(128!==(192&buf[1])){self.lastNeed=1;return"�"}if(self.lastNeed>2&&buf.length>2&&128!==(192&buf[2])){self.lastNeed=2;return"�"}}}function utf8FillLast(buf){var p=this.lastTotal-this.lastNeed;var r=utf8CheckExtraBytes(this,buf,p);if(void 0!==r)return r;if(this.lastNeed<=buf.length){buf.copy(this.lastChar,p,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}buf.copy(this.lastChar,p,0,buf.length);this.lastNeed-=buf.length}function utf8Text(buf,i){var total=utf8CheckIncomplete(this,buf,i);if(!this.lastNeed)return buf.toString("utf8",i);this.lastTotal=total;var end=buf.length-(total-this.lastNeed);buf.copy(this.lastChar,0,end);return buf.toString("utf8",i,end)}function utf8End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed)return r+"�";return r}function utf16Text(buf,i){if((buf.length-i)%2===0){var r=buf.toString("utf16le",i);if(r){var c=r.charCodeAt(r.length-1);if(c>=55296&&c<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=buf[buf.length-2];this.lastChar[1]=buf[buf.length-1];return r.slice(0,-1)}}return r}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=buf[buf.length-1];return buf.toString("utf16le",i,buf.length-1)}function utf16End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed){var end=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,end)}return r}function base64Text(buf,i){var n=(buf.length-i)%3;if(0===n)return buf.toString("base64",i);this.lastNeed=3-n;this.lastTotal=3;if(1===n)this.lastChar[0]=buf[buf.length-1];else{this.lastChar[0]=buf[buf.length-2];this.lastChar[1]=buf[buf.length-1]}return buf.toString("base64",i,buf.length-n)}function base64End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed)return r+this.lastChar.toString("base64",0,3-this.lastNeed);return r}function simpleWrite(buf){return buf.toString(this.encoding)}function simpleEnd(buf){return buf&&buf.length?this.write(buf):""}},function(module,exports,__webpack_require__){module.exports=Stream;var EE=__webpack_require__(329).EventEmitter;var inherits=__webpack_require__(122);inherits(Stream,EE);Stream.Readable=__webpack_require__(257);Stream.Writable=__webpack_require__(2381);Stream.Duplex=__webpack_require__(2382);Stream.Transform=__webpack_require__(2383);Stream.PassThrough=__webpack_require__(2384);Stream.Stream=Stream;function Stream(){EE.call(this)}Stream.prototype.pipe=function(dest,options){var source=this;function ondata(chunk){dest.writable&&false===dest.write(chunk)&&source.pause&&source.pause()}source.on("data",ondata);function ondrain(){source.readable&&source.resume&&source.resume()}dest.on("drain",ondrain);if(!dest._isStdio&&(!options||false!==options.end)){source.on("end",onend);source.on("close",onclose)}var didOnEnd=false;function onend(){if(didOnEnd)return;didOnEnd=true;dest.end()}function onclose(){if(didOnEnd)return;didOnEnd=true;"function"===typeof dest.destroy&&dest.destroy()}function onerror(er){cleanup();if(0===EE.listenerCount(this,"error"))throw er}source.on("error",onerror);dest.on("error",onerror);function cleanup(){source.removeListener("data",ondata);dest.removeListener("drain",ondrain);source.removeListener("end",onend);source.removeListener("close",onclose);source.removeListener("error",onerror);dest.removeListener("error",onerror);source.removeListener("end",cleanup);source.removeListener("close",cleanup);dest.removeListener("close",cleanup)}source.on("end",cleanup);source.on("close",cleanup);dest.on("close",cleanup);dest.emit("pipe",source);return dest}},function(module){module.exports=[["0","\0",127,"€"],["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],["9980","檧檨檪檭",114,"欥欦欨",6],["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],["a1a1","　、。·ˉˇ¨〃々—～‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃＄¤￠￡‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],["a2a1","ⅰ",9],["a2b1","⒈",19,"⑴",19,"①",9],["a2e5","㈠",9],["a2f1","Ⅰ",11],["a3a1","！＂＃￥％",88,"￣"],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],["a6ee","︻︼︷︸︱"],["a6f4","︳︴"],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],["a8bd","ńň"],["a8c0","ɡ"],["a8c5","ㄅ",36],["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰￢￤"],["a959","℡㈱"],["a95c","‐"],["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],["a980","﹢",4,"﹨﹩﹪﹫"],["a996","〇"],["a9a4","─",75],["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],["bb40","籃",9,"籎",36,"籵",5,"籾",9],["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],["bd40","紷",54,"絯",7],["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],["be40","継",12,"綧",6,"綯",42],["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],["bf40","緻",62],["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],["c040","繞",35,"纃",23,"纜纝纞"],["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],["d440","訞",31,"訿",8,"詉",21],["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],["d540","誁",7,"誋",7,"誔",46],["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],["d640","諤",34,"謈",27],["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],["d740","譆",31,"譧",4,"譭",25],["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],["d940","貮",62],["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],["dd40","軥",62],["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],["e240","釦",62],["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],["e340","鉆",45,"鉵",16],["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],["e440","銨",5,"銯",24,"鋉",31],["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],["e540","錊",51,"錿",10],["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],["e640","鍬",34,"鎐",27],["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],["e740","鏎",7,"鏗",54],["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],["ee40","頏",62],["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],["f040","餈",4,"餎餏餑",28,"餯",26],["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],["f140","馌馎馚",10,"馦馧馩",47],["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],["f240","駺",62],["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],["f540","魼",62],["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],["f640","鯜",62],["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],["f740","鰼",62],["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],["f840","鳣",62],["f880","鴢",32],["f940","鵃",62],["f980","鶂",32],["fa40","鶣",62],["fa80","鷢",32],["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]]},function(module,exports,__webpack_require__){(function(process){function normalizeArray(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if("."===last)parts.splice(i,1);else if(".."===last){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot)for(;up--;up)parts.unshift("..");return parts}var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;var splitPath=function(filename){return splitPathRe.exec(filename).slice(1)};exports.resolve=function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:process.cwd();if("string"!==typeof path)throw new TypeError("Arguments to path.resolve must be strings");if(!path)continue;resolvedPath=path+"/"+resolvedPath;resolvedAbsolute="/"===path.charAt(0)}resolvedPath=normalizeArray(filter(resolvedPath.split("/"),function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."};exports.normalize=function(path){var isAbsolute=exports.isAbsolute(path),trailingSlash="/"===substr(path,-1);path=normalizeArray(filter(path.split("/"),function(p){return!!p}),!isAbsolute).join("/");path||isAbsolute||(path=".");path&&trailingSlash&&(path+="/");return(isAbsolute?"/":"")+path};exports.isAbsolute=function(path){return"/"===path.charAt(0)};exports.join=function(){var paths=Array.prototype.slice.call(arguments,0);return exports.normalize(filter(paths,function(p,index){if("string"!==typeof p)throw new TypeError("Arguments to path.join must be strings");return p}).join("/"))};exports.relative=function(from,to){from=exports.resolve(from).substr(1);to=exports.resolve(to).substr(1);function trim(arr){var start=0;for(;start<arr.length;start++)if(""!==arr[start])break;var end=arr.length-1;for(;end>=0;end--)if(""!==arr[end])break;if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i<length;i++)if(fromParts[i]!==toParts[i]){samePartsLength=i;break}var outputParts=[];for(i=samePartsLength;i<fromParts.length;i++)outputParts.push("..");outputParts=outputParts.concat(toParts.slice(samePartsLength));return outputParts.join("/")};exports.sep="/";exports.delimiter=":";exports.dirname=function(path){var result=splitPath(path),root=result[0],dir=result[1];if(!root&&!dir)return".";dir&&(dir=dir.substr(0,dir.length-1));return root+dir};exports.basename=function(path,ext){var f=splitPath(path)[2];ext&&f.substr(-1*ext.length)===ext&&(f=f.substr(0,f.length-ext.length));return f};exports.extname=function(path){return splitPath(path)[3]};function filter(xs,f){if(xs.filter)return xs.filter(f);var res=[];for(var i=0;i<xs.length;i++)f(xs[i],i,xs)&&res.push(xs[i]);return res}var substr="b"==="ab".substr(-1)?function(str,start,len){return str.substr(start,len)}:function(str,start,len){start<0&&(start=str.length+start);return str.substr(start,len)}}).call(this,__webpack_require__(59))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports["default"]=autobind;function autobind(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return 1===args.length?boundClass.apply(void 0,args):boundMethod.apply(void 0,args)}function boundClass(target){var keys=void 0;if("undefined"!==typeof Reflect&&"function"===typeof Reflect.ownKeys)keys=Reflect.ownKeys(target.prototype);else{keys=Object.getOwnPropertyNames(target.prototype);"function"===typeof Object.getOwnPropertySymbols&&(keys=keys.concat(Object.getOwnPropertySymbols(target.prototype)))}keys.forEach(function(key){if("constructor"===key)return;var descriptor=Object.getOwnPropertyDescriptor(target.prototype,key);"function"===typeof descriptor.value&&Object.defineProperty(target.prototype,key,boundMethod(target,key,descriptor))});return target}function boundMethod(target,key,descriptor){var fn=descriptor.value;if("function"!==typeof fn)throw new Error("@autobind decorator can only be applied to methods not: "+typeof fn);var definingProperty=false;return{configurable:true,get:function get(){if(definingProperty||this===target.prototype||this.hasOwnProperty(key))return fn;var boundFn=fn.bind(this);definingProperty=true;Object.defineProperty(this,key,{value:boundFn,configurable:true,writable:true});definingProperty=false;return boundFn}}}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";var characterEntities=__webpack_require__(2481);var legacy=__webpack_require__(2482);var invalid=__webpack_require__(2483);var decimal=__webpack_require__(345);var hexadecimal=__webpack_require__(2484);var alphanumerical=__webpack_require__(2485);module.exports=wrapper;var own={}.hasOwnProperty;var fromCharCode=String.fromCharCode;var noop=Function.prototype;var REPLACEMENT="�";var FORM_FEED="\f";var AMPERSAND="&";var OCTOTHORP="#";var SEMICOLON=";";var NEWLINE="\n";var X_LOWER="x";var X_UPPER="X";var SPACE=" ";var LESS_THAN="<";var EQUAL="=";var EMPTY="";var TAB="\t";var defaults={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:false,nonTerminated:true};var NAMED="named";var HEXADECIMAL="hexadecimal";var DECIMAL="decimal";var BASE={};BASE[HEXADECIMAL]=16;BASE[DECIMAL]=10;var TESTS={};TESTS[NAMED]=alphanumerical;TESTS[DECIMAL]=decimal;TESTS[HEXADECIMAL]=hexadecimal;var NAMED_NOT_TERMINATED=1;var NUMERIC_NOT_TERMINATED=2;var NAMED_EMPTY=3;var NUMERIC_EMPTY=4;var NAMED_UNKNOWN=5;var NUMERIC_DISALLOWED=6;var NUMERIC_PROHIBITED=7;var NUMERIC_REFERENCE="Numeric character references";var NAMED_REFERENCE="Named character references";var TERMINATED=" must be terminated by a semicolon";var VOID=" cannot be empty";var MESSAGES={};MESSAGES[NAMED_NOT_TERMINATED]=NAMED_REFERENCE+TERMINATED;MESSAGES[NUMERIC_NOT_TERMINATED]=NUMERIC_REFERENCE+TERMINATED;MESSAGES[NAMED_EMPTY]=NAMED_REFERENCE+VOID;MESSAGES[NUMERIC_EMPTY]=NUMERIC_REFERENCE+VOID;MESSAGES[NAMED_UNKNOWN]=NAMED_REFERENCE+" must be known";MESSAGES[NUMERIC_DISALLOWED]=NUMERIC_REFERENCE+" cannot be disallowed";MESSAGES[NUMERIC_PROHIBITED]=NUMERIC_REFERENCE+" cannot be outside the permissible Unicode range";function wrapper(value,options){var settings={};var option;var key;options||(options={});for(key in defaults){option=options[key];settings[key]=null===option||void 0===option?defaults[key]:option}if(settings.position.indent||settings.position.start){settings.indent=settings.position.indent||[];settings.position=settings.position.start}return parse(value,settings)}function parse(value,settings){var additional=settings.additional;var nonTerminated=settings.nonTerminated;var handleText=settings.text;var handleReference=settings.reference;var handleWarning=settings.warning;var textContext=settings.textContext;var referenceContext=settings.referenceContext;var warningContext=settings.warningContext;var pos=settings.position;var indent=settings.indent||[];var length=value.length;var index=0;var lines=-1;var column=pos.column||1;var line=pos.line||1;var queue=EMPTY;var result=[];var entityCharacters;var terminated;var characters;var character;var reference;var following;var warning;var reason;var output;var entity;var begin;var start;var type;var test;var prev;var next;var diff;var end;prev=now();warning=handleWarning?parseError:noop;index--;length++;while(++index<length){character===NEWLINE&&(column=indent[lines]||1);character=at(index);if(character!==AMPERSAND){if(character===NEWLINE){line++;lines++;column=0}if(character){queue+=character;column++}else flush()}else{following=at(index+1);if(following===TAB||following===NEWLINE||following===FORM_FEED||following===SPACE||following===LESS_THAN||following===AMPERSAND||following===EMPTY||additional&&following===additional){queue+=character;column++;continue}start=index+1;begin=start;end=start;if(following!==OCTOTHORP)type=NAMED;else{end=++begin;following=at(end);if(following===X_LOWER||following===X_UPPER){type=HEXADECIMAL;end=++begin}else type=DECIMAL}entityCharacters=EMPTY;entity=EMPTY;characters=EMPTY;test=TESTS[type];end--;while(++end<length){following=at(end);if(!test(following))break;characters+=following;if(type===NAMED&&own.call(legacy,characters)){entityCharacters=characters;entity=legacy[characters]}}terminated=at(end)===SEMICOLON;if(terminated){end++;if(type===NAMED&&own.call(characterEntities,characters)){entityCharacters=characters;entity=characterEntities[characters]}}diff=1+end-start;if(terminated||nonTerminated)if(characters)if(type===NAMED){if(terminated&&!entity)warning(NAMED_UNKNOWN,1);else{if(entityCharacters!==characters){end=begin+entityCharacters.length;diff=1+end-begin;terminated=false}if(!terminated){reason=entityCharacters?NAMED_NOT_TERMINATED:NAMED_EMPTY;if(settings.attribute){following=at(end);if(following===EQUAL){warning(reason,diff);entity=null}else alphanumerical(following)?entity=null:warning(reason,diff)}else warning(reason,diff)}}reference=entity}else{terminated||warning(NUMERIC_NOT_TERMINATED,diff);reference=parseInt(characters,BASE[type]);if(isProhibited(reference)){warning(NUMERIC_PROHIBITED,diff);reference=REPLACEMENT}else if(reference in invalid){warning(NUMERIC_DISALLOWED,diff);reference=invalid[reference]}else{output=EMPTY;isWarning(reference)&&warning(NUMERIC_DISALLOWED,diff);if(reference>65535){reference-=65536;output+=fromCharCode(reference>>>10|55296);reference=56320|1023&reference}reference=output+fromCharCode(reference)}}else type!==NAMED&&warning(NUMERIC_EMPTY,diff);else;if(reference){flush();prev=now();index=end-1;column+=end-start+1;result.push(reference);next=now();next.offset++;handleReference&&handleReference.call(referenceContext,reference,{start:prev,end:next},value.slice(start-1,end));prev=next}else{characters=value.slice(start-1,end);queue+=characters;column+=characters.length;index=end-1}}}return result.join(EMPTY);function now(){return{line:line,column:column,offset:index+(pos.offset||0)}}function parseError(code,offset){var position=now();position.column+=offset;position.offset+=offset;handleWarning.call(warningContext,MESSAGES[code],position,code)}function at(position){return value.charAt(position)}function flush(){if(queue){result.push(queue);handleText&&handleText.call(textContext,queue,{start:prev,end:now()});queue=EMPTY}}}function isProhibited(code){return code>=55296&&code<=57343||code>1114111}function isWarning(code){if(code>=1&&code<=8||11===code||code>=13&&code<=31||code>=127&&code<=159||code>=64976&&code<=65007||65535===(65535&code)||65534===(65535&code))return true;return false}},function(module,exports,__webpack_require__){"use strict";
/*!
 * repeat-string <https://github.com/jonschlinkert/repeat-string>
 *
 * Copyright (c) 2014-2015, Jon Schlinkert.
 * Licensed under the MIT License.
 */var res="";var cache;module.exports=repeat;function repeat(str,num){if("string"!==typeof str)throw new TypeError("expected a string");if(1===num)return str;if(2===num)return str+str;var max=str.length*num;if(cache!==str||"undefined"===typeof cache){cache=str;res=""}else if(res.length>=max)return res.substr(0,max);while(max>res.length&&num>1){1&num&&(res+=str);num>>=1;str+=str}res+=str;res=res.substr(0,max);return res}},function(module,exports,__webpack_require__){"use strict";module.exports=trimTrailingLines;var line="\n";function trimTrailingLines(value){var val=String(value);var index=val.length;while(val.charAt(--index)===line);return val.slice(0,index+1)}},function(module,exports,__webpack_require__){"use strict";module.exports=interrupt;function interrupt(interruptors,tokenizers,ctx,params){var bools=["pedantic","commonmark"];var count=bools.length;var length=interruptors.length;var index=-1;var interruptor;var config;var fn;var offset;var bool;var ignore;while(++index<length){interruptor=interruptors[index];config=interruptor[1]||{};fn=interruptor[0];offset=-1;ignore=false;while(++offset<count){bool=bools[offset];if(void 0!==config[bool]&&config[bool]!==ctx.options[bool]){ignore=true;break}}if(ignore)continue;if(tokenizers[fn].apply(ctx,params))return true}return false}},function(module,exports,__webpack_require__){"use strict";var collapseWhiteSpace=__webpack_require__(2504);module.exports=normalize;function normalize(value){return collapseWhiteSpace(value).toLowerCase()}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.default=warning;function warning(message){"undefined"!==typeof console&&"function"===typeof console.error&&console.error(message);try{throw new Error(message)}catch(e){}}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _warning=__webpack_require__(349);var _warning2=_interopRequireDefault(_warning);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var createTransitionManager=function createTransitionManager(){var prompt=null;var setPrompt=function setPrompt(nextPrompt){(0,_warning2.default)(null==prompt,"A history supports only one prompt at a time");prompt=nextPrompt;return function(){prompt===nextPrompt&&(prompt=null)}};var confirmTransitionTo=function confirmTransitionTo(location,action,getUserConfirmation,callback){if(null!=prompt){var result="function"===typeof prompt?prompt(location,action):prompt;if("string"===typeof result)if("function"===typeof getUserConfirmation)getUserConfirmation(result,callback);else{(0,_warning2.default)(false,"A history needs a getUserConfirmation function in order to use a prompt message");callback(true)}else callback(false!==result)}else callback(true)};var listeners=[];var appendListener=function appendListener(fn){var isActive=true;var listener=function listener(){isActive&&fn.apply(void 0,arguments)};listeners.push(listener);return function(){isActive=false;listeners=listeners.filter(function(item){return item!==listener})}};var notifyListeners=function notifyListeners(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];listeners.forEach(function(listener){return listener.apply(void 0,args)})};return{setPrompt:setPrompt,confirmTransitionTo:confirmTransitionTo,appendListener:appendListener,notifyListeners:notifyListeners}};exports.default=createTransitionManager},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _Router=__webpack_require__(515);var _Router2=_interopRequireDefault(_Router);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_Router2.default},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _warning=__webpack_require__(140);var _warning2=_interopRequireDefault(_warning);var _invariant=__webpack_require__(215);var _invariant2=_interopRequireDefault(_invariant);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(141);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var Router=function(_React$Component){_inherits(Router,_React$Component);function Router(){var _temp,_this,_ret;_classCallCheck(this,Router);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.state={match:_this.computeMatch(_this.props.history.location.pathname)},_temp),_possibleConstructorReturn(_this,_ret)}Router.prototype.getChildContext=function getChildContext(){return{router:_extends({},this.context.router,{history:this.props.history,route:{location:this.props.history.location,match:this.state.match}})}};Router.prototype.computeMatch=function computeMatch(pathname){return{path:"/",url:"/",params:{},isExact:"/"===pathname}};Router.prototype.componentWillMount=function componentWillMount(){var _this2=this;var _props=this.props,children=_props.children,history=_props.history;(0,_invariant2.default)(null==children||1===_react2.default.Children.count(children),"A <Router> may have only one child element");this.unlisten=history.listen(function(){_this2.setState({match:_this2.computeMatch(history.location.pathname)})})};Router.prototype.componentWillReceiveProps=function componentWillReceiveProps(nextProps){(0,_warning2.default)(this.props.history===nextProps.history,"You cannot change <Router history>")};Router.prototype.componentWillUnmount=function componentWillUnmount(){this.unlisten()};Router.prototype.render=function render(){var children=this.props.children;return children?_react2.default.Children.only(children):null};return Router}(_react2.default.Component);Router.propTypes={history:_propTypes2.default.object.isRequired,children:_propTypes2.default.node};Router.contextTypes={router:_propTypes2.default.object};Router.childContextTypes={router:_propTypes2.default.object.isRequired};exports.default=Router},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _pathToRegexp=__webpack_require__(935);var _pathToRegexp2=_interopRequireDefault(_pathToRegexp);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var patternCache={};var cacheLimit=1e4;var cacheCount=0;var compilePath=function compilePath(pattern,options){var cacheKey=""+options.end+options.strict+options.sensitive;var cache=patternCache[cacheKey]||(patternCache[cacheKey]={});if(cache[pattern])return cache[pattern];var keys=[];var re=(0,_pathToRegexp2.default)(pattern,keys,options);var compiledPattern={re:re,keys:keys};if(cacheCount<cacheLimit){cache[pattern]=compiledPattern;cacheCount++}return compiledPattern};var matchPath=function matchPath(pathname){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var parent=arguments[2];"string"===typeof options&&(options={path:options});var _options=options,path=_options.path,_options$exact=_options.exact,exact=void 0!==_options$exact&&_options$exact,_options$strict=_options.strict,strict=void 0!==_options$strict&&_options$strict,_options$sensitive=_options.sensitive,sensitive=void 0!==_options$sensitive&&_options$sensitive;if(null==path)return parent;var _compilePath=compilePath(path,{end:exact,strict:strict,sensitive:sensitive}),re=_compilePath.re,keys=_compilePath.keys;var match=re.exec(pathname);if(!match)return null;var url=match[0],values=match.slice(1);var isExact=pathname===url;if(exact&&!isExact)return null;return{path:path,url:"/"===path&&""===url?"/":url,isExact:isExact,params:keys.reduce(function(memo,key,index){memo[key.name]=values[index];return memo},{})}};exports.default=matchPath},function(module,exports){function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}module.exports=isObject},function(module,exports){function identity(value){return value}module.exports=identity},function(module,exports,__webpack_require__){var root=__webpack_require__(142);var Symbol=root.Symbol;module.exports=Symbol},function(module,exports){function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}module.exports=isObject},function(module,exports,__webpack_require__){var isFunction=__webpack_require__(216),isLength=__webpack_require__(947);function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}module.exports=isArrayLike},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(177),isArray=__webpack_require__(262),isObjectLike=__webpack_require__(217);var stringTag="[object String]";function isString(value){return"string"==typeof value||!isArray(value)&&isObjectLike(value)&&baseGetTag(value)==stringTag}module.exports=isString},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(177),isObjectLike=__webpack_require__(217);var symbolTag="[object Symbol]";function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&baseGetTag(value)==symbolTag}module.exports=isSymbol},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=ownKeys;function ownKeys(object){if("undefined"!==typeof Reflect&&"function"===typeof Reflect.ownKeys)return Reflect.ownKeys(object);var keys=Object.getOwnPropertyNames(object);"function"===typeof Object.getOwnPropertySymbols&&(keys=keys.concat(Object.getOwnPropertySymbols(object)));return keys}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function hostReportError(err){setTimeout(function(){throw err})}exports.hostReportError=hostReportError},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.rxSubscriber="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("rxSubscriber"):"@@rxSubscriber";exports.$$rxSubscriber=exports.rxSubscriber},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var noop_1=__webpack_require__(352);function pipe(){var fns=[];for(var _i=0;_i<arguments.length;_i++)fns[_i]=arguments[_i];return pipeFromArray(fns)}exports.pipe=pipe;function pipeFromArray(fns){if(!fns)return noop_1.noop;if(1===fns.length)return fns[0];return function piped(input){return fns.reduce(function(prev,fn){return fn(prev)},input)}}exports.pipeFromArray=pipeFromArray},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function refCount(){return function refCountOperatorFunction(source){return source.lift(new RefCountOperator(source))}}exports.refCount=refCount;var RefCountOperator=function(){function RefCountOperator(connectable){this.connectable=connectable}RefCountOperator.prototype.call=function(subscriber,source){var connectable=this.connectable;connectable._refCount++;var refCounter=new RefCountSubscriber(subscriber,connectable);var subscription=source.subscribe(refCounter);refCounter.closed||(refCounter.connection=connectable.connect());return subscription};return RefCountOperator}();var RefCountSubscriber=function(_super){__extends(RefCountSubscriber,_super);function RefCountSubscriber(destination,connectable){var _this=_super.call(this,destination)||this;_this.connectable=connectable;return _this}RefCountSubscriber.prototype._unsubscribe=function(){var connectable=this.connectable;if(!connectable){this.connection=null;return}this.connectable=null;var refCount=connectable._refCount;if(refCount<=0){this.connection=null;return}connectable._refCount=refCount-1;if(refCount>1){this.connection=null;return}var connection=this.connection;var sharedConnection=connectable._connection;this.connection=null;!sharedConnection||connection&&sharedConnection!==connection||sharedConnection.unsubscribe()};return RefCountSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subject_1=__webpack_require__(63);var queue_1=__webpack_require__(965);var Subscription_1=__webpack_require__(52);var observeOn_1=__webpack_require__(967);var ObjectUnsubscribedError_1=__webpack_require__(353);var SubjectSubscription_1=__webpack_require__(962);var ReplaySubject=function(_super){__extends(ReplaySubject,_super);function ReplaySubject(bufferSize,windowTime,scheduler){void 0===bufferSize&&(bufferSize=Number.POSITIVE_INFINITY);void 0===windowTime&&(windowTime=Number.POSITIVE_INFINITY);var _this=_super.call(this)||this;_this.scheduler=scheduler;_this._events=[];_this._infiniteTimeWindow=false;_this._bufferSize=bufferSize<1?1:bufferSize;_this._windowTime=windowTime<1?1:windowTime;if(windowTime===Number.POSITIVE_INFINITY){_this._infiniteTimeWindow=true;_this.next=_this.nextInfiniteTimeWindow}else _this.next=_this.nextTimeWindow;return _this}ReplaySubject.prototype.nextInfiniteTimeWindow=function(value){var _events=this._events;_events.push(value);_events.length>this._bufferSize&&_events.shift();_super.prototype.next.call(this,value)};ReplaySubject.prototype.nextTimeWindow=function(value){this._events.push(new ReplayEvent(this._getNow(),value));this._trimBufferThenGetEvents();_super.prototype.next.call(this,value)};ReplaySubject.prototype._subscribe=function(subscriber){var _infiniteTimeWindow=this._infiniteTimeWindow;var _events=_infiniteTimeWindow?this._events:this._trimBufferThenGetEvents();var scheduler=this.scheduler;var len=_events.length;var subscription;if(this.closed)throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError;if(this.isStopped||this.hasError)subscription=Subscription_1.Subscription.EMPTY;else{this.observers.push(subscriber);subscription=new SubjectSubscription_1.SubjectSubscription(this,subscriber)}scheduler&&subscriber.add(subscriber=new observeOn_1.ObserveOnSubscriber(subscriber,scheduler));if(_infiniteTimeWindow)for(var i=0;i<len&&!subscriber.closed;i++)subscriber.next(_events[i]);else for(i=0;i<len&&!subscriber.closed;i++)subscriber.next(_events[i].value);this.hasError?subscriber.error(this.thrownError):this.isStopped&&subscriber.complete();return subscription};ReplaySubject.prototype._getNow=function(){return(this.scheduler||queue_1.queue).now()};ReplaySubject.prototype._trimBufferThenGetEvents=function(){var now=this._getNow();var _bufferSize=this._bufferSize;var _windowTime=this._windowTime;var _events=this._events;var eventsCount=_events.length;var spliceCount=0;while(spliceCount<eventsCount){if(now-_events[spliceCount].time<_windowTime)break;spliceCount++}eventsCount>_bufferSize&&(spliceCount=Math.max(spliceCount,eventsCount-_bufferSize));spliceCount>0&&_events.splice(0,spliceCount);return _events};return ReplaySubject}(Subject_1.Subject);exports.ReplaySubject=ReplaySubject;var ReplayEvent=function(){function ReplayEvent(time,value){this.time=time;this.value=value}return ReplayEvent}()},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var isScheduler_1=__webpack_require__(90);var fromArray_1=__webpack_require__(143);var empty_1=__webpack_require__(69);var scalar_1=__webpack_require__(531);function of(){var args=[];for(var _i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];var scheduler=args[args.length-1];isScheduler_1.isScheduler(scheduler)?args.pop():scheduler=void 0;switch(args.length){case 0:return empty_1.empty(scheduler);case 1:return scheduler?fromArray_1.fromArray(args,scheduler):scalar_1.scalar(args[0]);default:return fromArray_1.fromArray(args,scheduler)}}exports.of=of},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);function scalar(value){var result=new Observable_1.Observable(function(subscriber){subscriber.next(value);subscriber.complete()});result._isScalar=true;result.value=value;return result}exports.scalar=scalar},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);function throwError(error,scheduler){return scheduler?new Observable_1.Observable(function(subscriber){return scheduler.schedule(dispatch,0,{error:error,subscriber:subscriber})}):new Observable_1.Observable(function(subscriber){return subscriber.error(error)})}exports.throwError=throwError;function dispatch(_a){var error=_a.error,subscriber=_a.subscriber;subscriber.error(error)}},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var isScheduler_1=__webpack_require__(90);var isArray_1=__webpack_require__(68);var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);var fromArray_1=__webpack_require__(143);var NONE={};function combineLatest(){var observables=[];for(var _i=0;_i<arguments.length;_i++)observables[_i]=arguments[_i];var resultSelector=null;var scheduler=null;isScheduler_1.isScheduler(observables[observables.length-1])&&(scheduler=observables.pop());"function"===typeof observables[observables.length-1]&&(resultSelector=observables.pop());1===observables.length&&isArray_1.isArray(observables[0])&&(observables=observables[0]);return fromArray_1.fromArray(observables,scheduler).lift(new CombineLatestOperator(resultSelector))}exports.combineLatest=combineLatest;var CombineLatestOperator=function(){function CombineLatestOperator(resultSelector){this.resultSelector=resultSelector}CombineLatestOperator.prototype.call=function(subscriber,source){return source.subscribe(new CombineLatestSubscriber(subscriber,this.resultSelector))};return CombineLatestOperator}();exports.CombineLatestOperator=CombineLatestOperator;var CombineLatestSubscriber=function(_super){__extends(CombineLatestSubscriber,_super);function CombineLatestSubscriber(destination,resultSelector){var _this=_super.call(this,destination)||this;_this.resultSelector=resultSelector;_this.active=0;_this.values=[];_this.observables=[];return _this}CombineLatestSubscriber.prototype._next=function(observable){this.values.push(NONE);this.observables.push(observable)};CombineLatestSubscriber.prototype._complete=function(){var observables=this.observables;var len=observables.length;if(0===len)this.destination.complete();else{this.active=len;this.toRespond=len;for(var i=0;i<len;i++){var observable=observables[i];this.add(subscribeToResult_1.subscribeToResult(this,observable,observable,i))}}};CombineLatestSubscriber.prototype.notifyComplete=function(unused){0===(this.active-=1)&&this.destination.complete()};CombineLatestSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){var values=this.values;var oldVal=values[outerIndex];var toRespond=this.toRespond?oldVal===NONE?--this.toRespond:this.toRespond:0;values[outerIndex]=innerValue;0===toRespond&&(this.resultSelector?this._tryResultSelector(values):this.destination.next(values.slice()))};CombineLatestSubscriber.prototype._tryResultSelector=function(values){var result;try{result=this.resultSelector.apply(this,values)}catch(err){this.destination.error(err);return}this.destination.next(result)};return CombineLatestSubscriber}(OuterSubscriber_1.OuterSubscriber);exports.CombineLatestSubscriber=CombineLatestSubscriber},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var mergeMap_1=__webpack_require__(270);var identity_1=__webpack_require__(219);function mergeAll(concurrent){void 0===concurrent&&(concurrent=Number.POSITIVE_INFINITY);return mergeMap_1.mergeMap(identity_1.identity,concurrent)}exports.mergeAll=mergeAll},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var from_1=__webpack_require__(109);var empty_1=__webpack_require__(69);function defer(observableFactory){return new Observable_1.Observable(function(subscriber){var input;try{input=observableFactory()}catch(err){subscriber.error(err);return}var source=input?from_1.from(input):empty_1.empty();return source.subscribe(subscriber)})}exports.defer=defer},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var fromArray_1=__webpack_require__(143);var isArray_1=__webpack_require__(68);var Subscriber_1=__webpack_require__(16);var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);var iterator_1=__webpack_require__(269);function zip(){var observables=[];for(var _i=0;_i<arguments.length;_i++)observables[_i]=arguments[_i];var resultSelector=observables[observables.length-1];"function"===typeof resultSelector&&observables.pop();return fromArray_1.fromArray(observables,void 0).lift(new ZipOperator(resultSelector))}exports.zip=zip;var ZipOperator=function(){function ZipOperator(resultSelector){this.resultSelector=resultSelector}ZipOperator.prototype.call=function(subscriber,source){return source.subscribe(new ZipSubscriber(subscriber,this.resultSelector))};return ZipOperator}();exports.ZipOperator=ZipOperator;var ZipSubscriber=function(_super){__extends(ZipSubscriber,_super);function ZipSubscriber(destination,resultSelector,values){void 0===values&&(values=Object.create(null));var _this=_super.call(this,destination)||this;_this.iterators=[];_this.active=0;_this.resultSelector="function"===typeof resultSelector?resultSelector:null;_this.values=values;return _this}ZipSubscriber.prototype._next=function(value){var iterators=this.iterators;isArray_1.isArray(value)?iterators.push(new StaticArrayIterator(value)):"function"===typeof value[iterator_1.iterator]?iterators.push(new StaticIterator(value[iterator_1.iterator]())):iterators.push(new ZipBufferIterator(this.destination,this,value))};ZipSubscriber.prototype._complete=function(){var iterators=this.iterators;var len=iterators.length;if(0===len){this.destination.complete();return}this.active=len;for(var i=0;i<len;i++){var iterator=iterators[i];iterator.stillUnsubscribed?this.add(iterator.subscribe(iterator,i)):this.active--}};ZipSubscriber.prototype.notifyInactive=function(){this.active--;0===this.active&&this.destination.complete()};ZipSubscriber.prototype.checkIterators=function(){var iterators=this.iterators;var len=iterators.length;var destination=this.destination;for(var i=0;i<len;i++){var iterator=iterators[i];if("function"===typeof iterator.hasValue&&!iterator.hasValue())return}var shouldComplete=false;var args=[];for(i=0;i<len;i++){iterator=iterators[i];var result=iterator.next();iterator.hasCompleted()&&(shouldComplete=true);if(result.done){destination.complete();return}args.push(result.value)}this.resultSelector?this._tryresultSelector(args):destination.next(args);shouldComplete&&destination.complete()};ZipSubscriber.prototype._tryresultSelector=function(args){var result;try{result=this.resultSelector.apply(this,args)}catch(err){this.destination.error(err);return}this.destination.next(result)};return ZipSubscriber}(Subscriber_1.Subscriber);exports.ZipSubscriber=ZipSubscriber;var StaticIterator=function(){function StaticIterator(iterator){this.iterator=iterator;this.nextResult=iterator.next()}StaticIterator.prototype.hasValue=function(){return true};StaticIterator.prototype.next=function(){var result=this.nextResult;this.nextResult=this.iterator.next();return result};StaticIterator.prototype.hasCompleted=function(){var nextResult=this.nextResult;return nextResult&&nextResult.done};return StaticIterator}();var StaticArrayIterator=function(){function StaticArrayIterator(array){this.array=array;this.index=0;this.length=0;this.length=array.length}StaticArrayIterator.prototype[iterator_1.iterator]=function(){return this};StaticArrayIterator.prototype.next=function(value){var i=this.index++;var array=this.array;return i<this.length?{value:array[i],done:false}:{value:null,done:true}};StaticArrayIterator.prototype.hasValue=function(){return this.array.length>this.index};StaticArrayIterator.prototype.hasCompleted=function(){return this.array.length===this.index};return StaticArrayIterator}();var ZipBufferIterator=function(_super){__extends(ZipBufferIterator,_super);function ZipBufferIterator(destination,parent,observable){var _this=_super.call(this,destination)||this;_this.parent=parent;_this.observable=observable;_this.stillUnsubscribed=true;_this.buffer=[];_this.isComplete=false;return _this}ZipBufferIterator.prototype[iterator_1.iterator]=function(){return this};ZipBufferIterator.prototype.next=function(){var buffer=this.buffer;return 0===buffer.length&&this.isComplete?{value:null,done:true}:{value:buffer.shift(),done:false}};ZipBufferIterator.prototype.hasValue=function(){return this.buffer.length>0};ZipBufferIterator.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete};ZipBufferIterator.prototype.notifyComplete=function(){if(this.buffer.length>0){this.isComplete=true;this.parent.notifyInactive()}else this.destination.complete()};ZipBufferIterator.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.buffer.push(innerValue);this.parent.checkIterators()};ZipBufferIterator.prototype.subscribe=function(value,index){return subscribeToResult_1.subscribeToResult(this,this.observable,this,index)};return ZipBufferIterator}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var ArgumentOutOfRangeError_1=__webpack_require__(267);var empty_1=__webpack_require__(69);function take(count){return function(source){return 0===count?empty_1.empty():source.lift(new TakeOperator(count))}}exports.take=take;var TakeOperator=function(){function TakeOperator(total){this.total=total;if(this.total<0)throw new ArgumentOutOfRangeError_1.ArgumentOutOfRangeError}TakeOperator.prototype.call=function(subscriber,source){return source.subscribe(new TakeSubscriber(subscriber,this.total))};return TakeOperator}();var TakeSubscriber=function(_super){__extends(TakeSubscriber,_super);function TakeSubscriber(destination,total){var _this=_super.call(this,destination)||this;_this.total=total;_this.count=0;return _this}TakeSubscriber.prototype._next=function(value){var total=this.total;var count=++this.count;if(count<=total){this.destination.next(value);if(count===total){this.destination.complete();this.unsubscribe()}}};return TakeSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var ArgumentOutOfRangeError_1=__webpack_require__(267);var empty_1=__webpack_require__(69);function takeLast(count){return function takeLastOperatorFunction(source){return 0===count?empty_1.empty():source.lift(new TakeLastOperator(count))}}exports.takeLast=takeLast;var TakeLastOperator=function(){function TakeLastOperator(total){this.total=total;if(this.total<0)throw new ArgumentOutOfRangeError_1.ArgumentOutOfRangeError}TakeLastOperator.prototype.call=function(subscriber,source){return source.subscribe(new TakeLastSubscriber(subscriber,this.total))};return TakeLastOperator}();var TakeLastSubscriber=function(_super){__extends(TakeLastSubscriber,_super);function TakeLastSubscriber(destination,total){var _this=_super.call(this,destination)||this;_this.total=total;_this.ring=new Array;_this.count=0;return _this}TakeLastSubscriber.prototype._next=function(value){var ring=this.ring;var total=this.total;var count=this.count++;if(ring.length<total)ring.push(value);else{var index=count%total;ring[index]=value}};TakeLastSubscriber.prototype._complete=function(){var destination=this.destination;var count=this.count;if(count>0){var total=this.count>=this.total?this.total:this.count;var ring=this.ring;for(var i=0;i<total;i++){var idx=count++%total;destination.next(ring[idx])}}destination.complete()};return TakeLastSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function scan(accumulator,seed){var hasSeed=false;arguments.length>=2&&(hasSeed=true);return function scanOperatorFunction(source){return source.lift(new ScanOperator(accumulator,seed,hasSeed))}}exports.scan=scan;var ScanOperator=function(){function ScanOperator(accumulator,seed,hasSeed){void 0===hasSeed&&(hasSeed=false);this.accumulator=accumulator;this.seed=seed;this.hasSeed=hasSeed}ScanOperator.prototype.call=function(subscriber,source){return source.subscribe(new ScanSubscriber(subscriber,this.accumulator,this.seed,this.hasSeed))};return ScanOperator}();var ScanSubscriber=function(_super){__extends(ScanSubscriber,_super);function ScanSubscriber(destination,accumulator,_seed,hasSeed){var _this=_super.call(this,destination)||this;_this.accumulator=accumulator;_this._seed=_seed;_this.hasSeed=hasSeed;_this.index=0;return _this}Object.defineProperty(ScanSubscriber.prototype,"seed",{get:function(){return this._seed},set:function(value){this.hasSeed=true;this._seed=value},enumerable:true,configurable:true});ScanSubscriber.prototype._next=function(value){if(this.hasSeed)return this._tryNext(value);this.seed=value;this.destination.next(value)};ScanSubscriber.prototype._tryNext=function(value){var index=this.index++;var result;try{result=this.accumulator(this.seed,value,index)}catch(err){this.destination.error(err)}this.seed=result;this.destination.next(result)};return ScanSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);var map_1=__webpack_require__(91);var from_1=__webpack_require__(109);function switchMap(project,resultSelector){if("function"===typeof resultSelector)return function(source){return source.pipe(switchMap(function(a,i){return from_1.from(project(a,i)).pipe(map_1.map(function(b,ii){return resultSelector(a,b,i,ii)}))}))};return function(source){return source.lift(new SwitchMapOperator(project))}}exports.switchMap=switchMap;var SwitchMapOperator=function(){function SwitchMapOperator(project){this.project=project}SwitchMapOperator.prototype.call=function(subscriber,source){return source.subscribe(new SwitchMapSubscriber(subscriber,this.project))};return SwitchMapOperator}();var SwitchMapSubscriber=function(_super){__extends(SwitchMapSubscriber,_super);function SwitchMapSubscriber(destination,project){var _this=_super.call(this,destination)||this;_this.project=project;_this.index=0;return _this}SwitchMapSubscriber.prototype._next=function(value){var result;var index=this.index++;try{result=this.project(value,index)}catch(error){this.destination.error(error);return}this._innerSub(result,value,index)};SwitchMapSubscriber.prototype._innerSub=function(result,value,index){var innerSubscription=this.innerSubscription;innerSubscription&&innerSubscription.unsubscribe();this.add(this.innerSubscription=subscribeToResult_1.subscribeToResult(this,result,value,index))};SwitchMapSubscriber.prototype._complete=function(){var innerSubscription=this.innerSubscription;innerSubscription&&!innerSubscription.closed||_super.prototype._complete.call(this)};SwitchMapSubscriber.prototype._unsubscribe=function(){this.innerSubscription=null};SwitchMapSubscriber.prototype.notifyComplete=function(innerSub){this.remove(innerSub);this.innerSubscription=null;this.isStopped&&_super.prototype._complete.call(this)};SwitchMapSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.destination.next(innerValue)};return SwitchMapSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var escapes={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};var unescapes={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"};var rescaped=/(&amp;|&lt;|&gt;|&quot;|&#39;)/g;var runescaped=/[&<>"']/g;function escapeHtmlChar(match){return escapes[match]}function unescapeHtmlChar(match){return unescapes[match]}function escapeHtml(text){return null==text?"":String(text).replace(runescaped,escapeHtmlChar)}function unescapeHtml(html){return null==html?"":String(html).replace(rescaped,unescapeHtmlChar)}escapeHtml.options=unescapeHtml.options={};module.exports={encode:escapeHtml,escape:escapeHtml,decode:unescapeHtml,unescape:unescapeHtml,version:"1.0.0-browser"}},function(module,exports){!(e=this,t=function(){"use strict";function e(){return Qe.apply(null,arguments)}function t(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){return void 0===e}function i(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function r(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function a(e,t){var n,s=[];for(n=0;n<e.length;++n)s.push(t(e[n],n));return s}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){for(var n in t)o(t,n)&&(e[n]=t[n]);return o(t,"toString")&&(e.toString=t.toString),o(t,"valueOf")&&(e.valueOf=t.valueOf),e}function l(e,t,n,s){return ge(e,t,n,s,!0).utc()}function d(e){return null==e._pf&&(e._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}),e._pf}function h(e){if(null==e._isValid){var t=d(e),n=Xe.call(t.parsedDateParts,function(e){return null!=e}),s=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(s=s&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function c(e){var t=l(NaN);return null!=e?u(d(t),e):d(t).userInvalidated=!0,t}function f(e,t){var n,i,r;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=d(t)),s(t._locale)||(e._locale=t._locale),Ke.length>0)for(n=0;n<Ke.length;n++)s(r=t[i=Ke[n]])||(e[i]=r);return e}function m(t){f(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===et&&(et=!0,e.updateOffset(this),et=!1)}function _(e){return e instanceof m||null!=e&&null!=e._isAMomentObject}function y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function g(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=y(t)),n}function p(e,t,n){var s,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(s=0;s<i;s++)(n&&e[s]!==t[s]||!n&&g(e[s])!==g(t[s]))&&a++;return a+r}function w(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function v(t,n){var s=!0;return u(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),s){for(var i,r=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){i+="\n["+a+"] ";for(var o in arguments[0])i+=o+": "+arguments[0][o]+", ";i=i.slice(0,-2)}else i=arguments[a];r.push(i)}w(t+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),s=!1}return n.apply(this,arguments)},n)}function M(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),tt[t]||(w(n),tt[t]=!0)}function S(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function D(e,t){var s,i=u({},e);for(s in t)o(t,s)&&(n(e[s])&&n(t[s])?(i[s]={},u(i[s],e[s]),u(i[s],t[s])):null!=t[s]?i[s]=t[s]:delete i[s]);for(s in e)o(e,s)&&!o(t,s)&&n(e[s])&&(i[s]=u({},i[s]));return i}function k(e){null!=e&&this.set(e)}function Y(e,t){var n=e.toLowerCase();st[n]=st[n+"s"]=st[t]=e}function O(e){return"string"==typeof e?st[e]||st[e.toLowerCase()]:void 0}function T(e){var t,n,s={};for(n in e)o(e,n)&&(t=O(n))&&(s[t]=e[n]);return s}function x(e,t){it[e]=t}function b(e,t,n){var s=""+Math.abs(e),i=t-s.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}function P(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(ut[e]=i),t&&(ut[t[0]]=function(){return b(i.apply(this,arguments),t[1],t[2])}),n&&(ut[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function H(e,t){return e.isValid()?(t=R(t,e.localeData()),ot[t]=ot[t]||function(e){var t,n,s=e.match(rt);for(t=0,n=s.length;t<n;t++)ut[s[t]]?s[t]=ut[s[t]]:s[t]=W(s[t]);return function(t){var i,r="";for(i=0;i<n;i++)r+=S(s[i])?s[i].call(t,e):s[i];return r}}(t),ot[t](e)):e.localeData().invalidDate()}function R(e,t){function n(e){return t.longDateFormat(e)||e}var s=5;for(at.lastIndex=0;s>=0&&at.test(e);)e=e.replace(at,n),at.lastIndex=0,s-=1;return e}function C(e,t,n){Yt[e]=S(t)?t:function(e,s){return e&&n?n:t}}function F(e,t){return o(Yt,e)?Yt[e](t._strict,t._locale):new RegExp(function(e){return U(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i}))}(e))}function U(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function L(e,t){var n,s=t;for("string"==typeof e&&(e=[e]),i(t)&&(s=function(e,n){n[t]=g(e)}),n=0;n<e.length;n++)Ot[e[n]]=s}function N(e,t){L(e,function(e,n,s,i){s._w=s._w||{},t(e,s._w,s,i)})}function G(e,t,n){null!=t&&o(Ot,e)&&Ot[e](t,n._a,n,e)}function V(e){return E(e)?366:365}function E(e){return e%4==0&&e%100!=0||e%400==0}function I(t,n){return function(s){return null!=s?(j(this,t,s),e.updateOffset(this,n),this):A(this,t)}}function A(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function j(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&E(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Z(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Z(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=function(e,t){return(e%t+t)%t}(t,12);return e+=(t-n)/12,1===n?E(e)?29:28:31-n%7%2}function z(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=g(t);else if(t=e.localeData().monthsParse(t),!i(t))return e;return n=Math.min(e.date(),Z(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function $(t){return null!=t?(z(this,t),e.updateOffset(this,!0),this):A(this,"Month")}function q(){function e(e,t){return t.length-e.length}var t,n,s=[],i=[],r=[];for(t=0;t<12;t++)n=l([2e3,t]),s.push(this.monthsShort(n,"")),i.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(s.sort(e),i.sort(e),r.sort(e),t=0;t<12;t++)s[t]=U(s[t]),i[t]=U(i[t]);for(t=0;t<24;t++)r[t]=U(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function J(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function B(e,t,n){var s=7+t-n;return-(7+J(e,0,s).getUTCDay()-t)%7+s-1}function Q(e,t,n,s,i){var r,a,o=1+7*(t-1)+(7+n-s)%7+B(e,s,i);return o<=0?a=V(r=e-1)+o:o>V(e)?(r=e+1,a=o-V(e)):(r=e,a=o),{year:r,dayOfYear:a}}function X(e,t,n){var s,i,r=B(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+K(i=e.year()-1,t,n):a>K(e.year(),t,n)?(s=a-K(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function K(e,t,n){var s=B(e,t,n),i=B(e+1,t,n);return(V(e)-s+i)/7}function ee(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],d=[];for(t=0;t<7;t++)n=l([2e3,1]).day(t),s=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),r=this.weekdays(n,""),a.push(s),o.push(i),u.push(r),d.push(s),d.push(i),d.push(r);for(a.sort(e),o.sort(e),u.sort(e),d.sort(e),t=0;t<7;t++)o[t]=U(o[t]),u[t]=U(u[t]),d[t]=U(d[t]);this._weekdaysRegex=new RegExp("^("+d.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("^("+a.join("|")+")","i")}function te(){return this.hours()%12||12}function ne(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function se(e,t){return t._meridiemParse}function ie(e){return e?e.toLowerCase().replace("_","-"):e}function re(e){var t=null;if(!Xt[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=Jt._abbr;require("./locale/"+e),ae(t)}catch(e){}return Xt[e]}function ae(e,t){var n;return e&&(n=s(t)?ue(e):oe(e,t))&&(Jt=n),Jt._abbr}function oe(e,t){if(null!==t){var n=Qt;if(t.abbr=e,null!=Xt[e])M("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=Xt[e]._config;else if(null!=t.parentLocale){if(null==Xt[t.parentLocale])return Kt[t.parentLocale]||(Kt[t.parentLocale]=[]),Kt[t.parentLocale].push({name:e,config:t}),null;n=Xt[t.parentLocale]._config}return Xt[e]=new k(D(n,t)),Kt[e]&&Kt[e].forEach(function(e){oe(e.name,e.config)}),ae(e),Xt[e]}return delete Xt[e],null}function ue(e){var n;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Jt;if(!t(e)){if(n=re(e))return n;e=[e]}return function(e){for(var t,n,s,i,r=0;r<e.length;){for(t=(i=ie(e[r]).split("-")).length,n=(n=ie(e[r+1]))?n.split("-"):null;t>0;){if(s=re(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&p(i,n,!0)>=t-1)break;t--}r++}return null}(e)}function le(e){var t,n=e._a;return n&&-2===d(e).overflow&&(t=n[xt]<0||n[xt]>11?xt:n[bt]<1||n[bt]>Z(n[Tt],n[xt])?bt:n[Pt]<0||n[Pt]>24||24===n[Pt]&&(0!==n[Wt]||0!==n[Ht]||0!==n[Rt])?Pt:n[Wt]<0||n[Wt]>59?Wt:n[Ht]<0||n[Ht]>59?Ht:n[Rt]<0||n[Rt]>999?Rt:-1,d(e)._overflowDayOfYear&&(t<Tt||t>bt)&&(t=bt),d(e)._overflowWeeks&&-1===t&&(t=Ct),d(e)._overflowWeekday&&-1===t&&(t=Ft),d(e).overflow=t),e}function de(e,t,n){return null!=e?e:null!=t?t:n}function he(t){var n,s,i,r,a,o=[];if(!t._d){for(i=function(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}(t),t._w&&null==t._a[bt]&&null==t._a[xt]&&function(e){var t,n,s,i,r,a,o,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)r=1,a=4,n=de(t.GG,e._a[Tt],X(pe(),1,4).year),s=de(t.W,1),((i=de(t.E,1))<1||i>7)&&(u=!0);else{r=e._locale._week.dow,a=e._locale._week.doy;var l=X(pe(),r,a);n=de(t.gg,e._a[Tt],l.year),s=de(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(u=!0)):i=r}s<1||s>K(n,r,a)?d(e)._overflowWeeks=!0:null!=u?d(e)._overflowWeekday=!0:(o=Q(n,s,i,r,a),e._a[Tt]=o.year,e._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(a=de(t._a[Tt],i[Tt]),(t._dayOfYear>V(a)||0===t._dayOfYear)&&(d(t)._overflowDayOfYear=!0),s=J(a,0,t._dayOfYear),t._a[xt]=s.getUTCMonth(),t._a[bt]=s.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=o[n]=i[n];for(;n<7;n++)t._a[n]=o[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[Pt]&&0===t._a[Wt]&&0===t._a[Ht]&&0===t._a[Rt]&&(t._nextDay=!0,t._a[Pt]=0),t._d=(t._useUTC?J:function(e,t,n,s,i,r,a){var o=new Date(e,t,n,s,i,r,a);return e<100&&e>=0&&isFinite(o.getFullYear())&&o.setFullYear(e),o}).apply(null,o),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Pt]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(d(t).weekdayMismatch=!0)}}function ce(e){var t,n,s,i,r,a,o=e._i,u=en.exec(o)||tn.exec(o);if(u){for(d(e).iso=!0,t=0,n=sn.length;t<n;t++)if(sn[t][1].exec(u[1])){i=sn[t][0],s=!1!==sn[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=rn.length;t<n;t++)if(rn[t][1].exec(u[3])){r=(u[2]||" ")+rn[t][0];break}if(null==r)return void(e._isValid=!1)}if(!s&&null!=r)return void(e._isValid=!1);if(u[4]){if(!nn.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),_e(e)}else e._isValid=!1}function fe(e,t,n,s,i,r){var a=[function(e){var t=parseInt(e,10);if(t<=49)return 2e3+t;if(t<=999)return 1900+t;return t}(e),Vt.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&a.push(parseInt(r,10)),a}function me(e){var t=on.exec(function(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e._i));if(t){var n=fe(t[4],t[3],t[2],t[5],t[6],t[7]);if(!function(e,t,n){if(e&&jt.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay())return d(n).weekdayMismatch=!0,n._isValid=!1,!1;return!0}(t[1],n,e))return;e._a=n,e._tzm=function(e,t,n){if(e)return un[e];if(t)return 0;var s=parseInt(n,10),i=s%100;return(s-i)/100*60+i}(t[8],t[9],t[10]),e._d=J.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),d(e).rfc2822=!0}else e._isValid=!1}function _e(t){if(t._f!==e.ISO_8601)if(t._f!==e.RFC_2822){t._a=[],d(t).empty=!0;var n,s,i,r,a,o=""+t._i,u=o.length,l=0;for(i=R(t._f,t._locale).match(rt)||[],n=0;n<i.length;n++)r=i[n],(s=(o.match(F(r,t))||[])[0])&&((a=o.substr(0,o.indexOf(s))).length>0&&d(t).unusedInput.push(a),o=o.slice(o.indexOf(s)+s.length),l+=s.length),ut[r]?(s?d(t).empty=!1:d(t).unusedTokens.push(r),G(r,s,t)):t._strict&&!s&&d(t).unusedTokens.push(r);d(t).charsLeftOver=u-l,o.length>0&&d(t).unusedInput.push(o),t._a[Pt]<=12&&!0===d(t).bigHour&&t._a[Pt]>0&&(d(t).bigHour=void 0),d(t).parsedDateParts=t._a.slice(0),d(t).meridiem=t._meridiem,t._a[Pt]=function(e,t,n){var s;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0),t):t}(t._locale,t._a[Pt],t._meridiem),he(t),le(t)}else me(t);else ce(t)}function ye(o){var l=o._i,y=o._f;return o._locale=o._locale||ue(o._l),null===l||void 0===y&&""===l?c({nullInput:!0}):("string"==typeof l&&(o._i=l=o._locale.preparse(l)),_(l)?new m(le(l)):(r(l)?o._d=l:t(y)?function(e){var t,n,s,i,r;if(0===e._f.length)return d(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)r=0,t=f({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],_e(t),h(t)&&(r+=d(t).charsLeftOver,r+=10*d(t).unusedTokens.length,d(t).score=r,(null==s||r<s)&&(s=r,n=t));u(e,n||t)}(o):y?_e(o):function(o){var u=o._i;s(u)?o._d=new Date(e.now()):r(u)?o._d=new Date(u.valueOf()):"string"==typeof u?function(t){var n=an.exec(t._i);null===n?(ce(t),!1===t._isValid&&(delete t._isValid,me(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))):t._d=new Date(+n[1])}(o):t(u)?(o._a=a(u.slice(0),function(e){return parseInt(e,10)}),he(o)):n(u)?function(e){if(!e._d){var t=T(e._i);e._a=a([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),he(e)}}(o):i(u)?o._d=new Date(u):e.createFromInputFallback(o)}(o),h(o)||(o._d=null),o))}function ge(e,s,i,r,a){var o={};return!0!==i&&!1!==i||(r=i,i=void 0),(n(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||t(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=a,o._l=i,o._i=e,o._f=s,o._strict=r,function(e){var t=new m(le(ye(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}(o)}function pe(e,t,n,s){return ge(e,t,n,s,!1)}function we(e,n){var s,i;if(1===n.length&&t(n[0])&&(n=n[0]),!n.length)return pe();for(s=n[0],i=1;i<n.length;++i)n[i].isValid()&&!n[i][e](s)||(s=n[i]);return s}function ve(e){var t=T(e),n=t.year||0,s=t.quarter||0,i=t.month||0,r=t.week||0,a=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,d=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Ut.call(hn,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,s=0;s<hn.length;++s)if(e[hn[s]]){if(n)return!1;parseFloat(e[hn[s]])!==g(e[hn[s]])&&(n=!0)}return!0}(t),this._milliseconds=+d+1e3*l+6e4*u+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*s+12*n,this._data={},this._locale=ue(),this._bubble()}function Me(e){return e instanceof ve}function Se(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function De(e,t){P(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+b(~~(e/60),2)+t+b(~~e%60,2)})}function ke(e,t){var n=(t||"").match(e);if(null===n)return null;var s=((n[n.length-1]||[])+"").match(cn)||["-",0,0],i=60*s[1]+g(s[2]);return 0===i?0:"+"===s[0]?i:-i}function Ye(t,n){var s,i;return n._isUTC?(s=n.clone(),i=(_(t)||r(t)?t.valueOf():pe(t).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+i),e.updateOffset(s,!1),s):pe(t).local()}function Oe(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Te(){return!!this.isValid()&&this._isUTC&&0===this._offset}function xe(e,t){var n,s,r,a=e,u=null;return Me(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:i(e)?(a={},t?a[t]=e:a.milliseconds=e):(u=fn.exec(e))?(n="-"===u[1]?-1:1,a={y:0,d:g(u[bt])*n,h:g(u[Pt])*n,m:g(u[Wt])*n,s:g(u[Ht])*n,ms:g(Se(1e3*u[Rt]))*n}):(u=mn.exec(e))?(n="-"===u[1]?-1:(u[1],1),a={y:be(u[2],n),M:be(u[3],n),w:be(u[4],n),d:be(u[5],n),h:be(u[6],n),m:be(u[7],n),s:be(u[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(r=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Ye(t,e),e.isBefore(t)?n=Pe(e,t):((n=Pe(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(pe(a.from),pe(a.to)),(a={}).ms=r.milliseconds,a.M=r.months),s=new ve(a),Me(e)&&o(e,"_locale")&&(s._locale=e._locale),s}function be(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Pe(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function We(e,t){return function(n,s){var i,r;return null===s||isNaN(+s)||(M(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=s,s=r),n="string"==typeof n?+n:n,i=xe(n,s),He(this,i,e),this}}function He(t,n,s,i){var r=n._milliseconds,a=Se(n._days),o=Se(n._months);t.isValid()&&(i=null==i||i,o&&z(t,A(t,"Month")+o*s),a&&j(t,"Date",A(t,"Date")+a*s),r&&t._d.setTime(t._d.valueOf()+r*s),i&&e.updateOffset(t,a||o))}function Re(e,t){var n,s=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(s,"months");return n=t-i<0?(t-i)/(i-e.clone().add(s-1,"months")):(t-i)/(e.clone().add(s+1,"months")-i),-(s+n)||0}function Ce(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ue(e))&&(this._locale=t),this)}function Fe(){return this._locale}function Ue(e,t){P(0,[e,e.length],0,t)}function Le(e,t,n,s,i){var r;return null==e?X(this,s,i).year:(r=K(e,s,i),t>r&&(t=r),function(e,t,n,s,i){var r=Q(e,t,n,s,i),a=J(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,s,i))}function Ne(e,t){t[Rt]=g(1e3*("0."+e))}function Ge(e){return e}function Ve(e,t,n,s){var i=ue(),r=l().set(s,t);return i[n](r,e)}function Ee(e,t,n){if(i(e)&&(t=e,e=void 0),e=e||"",null!=t)return Ve(e,t,n,"month");var s,r=[];for(s=0;s<12;s++)r[s]=Ve(e,s,n,"month");return r}function Ie(e,t,n,s){"boolean"==typeof e?(i(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,i(t)&&(n=t,t=void 0),t=t||"");var r=ue(),a=e?r._week.dow:0;if(null!=n)return Ve(t,(n+a)%7,s,"day");var o,u=[];for(o=0;o<7;o++)u[o]=Ve(t,(o+a)%7,s,"day");return u}function Ae(e,t,n,s){var i=xe(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function je(e){return e<0?Math.floor(e):Math.ceil(e)}function Ze(e){return 4800*e/146097}function ze(e){return 146097*e/4800}function $e(e){return function(){return this.as(e)}}function qe(e){return function(){return this.isValid()?this._data[e]:NaN}}function Je(e){return(e>0)-(e<0)||+e}function Be(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=An(this._milliseconds)/1e3,s=An(this._days),i=An(this._months);t=y((e=y(n/60))/60),n%=60,e%=60;var r=y(i/12),a=i%=12,o=s,u=t,l=e,d=n?n.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var c=h<0?"-":"",f=Je(this._months)!==Je(h)?"-":"",m=Je(this._days)!==Je(h)?"-":"",_=Je(this._milliseconds)!==Je(h)?"-":"";return c+"P"+(r?f+r+"Y":"")+(a?f+a+"M":"")+(o?m+o+"D":"")+(u||l||d?"T":"")+(u?_+u+"H":"")+(l?_+l+"M":"")+(d?_+d+"S":"")}var Qe,Xe;Xe=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};var Ke=e.momentProperties=[],et=!1,tt={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var nt;nt=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)o(e,t)&&n.push(t);return n};var st={},it={},rt=/(\[[^\[]*\])|(\\)?([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,at=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ot={},ut={},lt=/\d/,dt=/\d\d/,ht=/\d{3}/,ct=/\d{4}/,ft=/[+-]?\d{6}/,mt=/\d\d?/,_t=/\d\d\d\d?/,yt=/\d\d\d\d\d\d?/,gt=/\d{1,3}/,pt=/\d{1,4}/,wt=/[+-]?\d{1,6}/,vt=/\d+/,Mt=/[+-]?\d+/,St=/Z|[+-]\d\d:?\d\d/gi,Dt=/Z|[+-]\d\d(?::?\d\d)?/gi,kt=/[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,Yt={},Ot={},Tt=0,xt=1,bt=2,Pt=3,Wt=4,Ht=5,Rt=6,Ct=7,Ft=8;P("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),P(0,["YY",2],0,function(){return this.year()%100}),P(0,["YYYY",4],0,"year"),P(0,["YYYYY",5],0,"year"),P(0,["YYYYYY",6,!0],0,"year"),Y("year","y"),x("year",1),C("Y",Mt),C("YY",mt,dt),C("YYYY",pt,ct),C("YYYYY",wt,ft),C("YYYYYY",wt,ft),L(["YYYYY","YYYYYY"],Tt),L("YYYY",function(t,n){n[Tt]=2===t.length?e.parseTwoDigitYear(t):g(t)}),L("YY",function(t,n){n[Tt]=e.parseTwoDigitYear(t)}),L("Y",function(e,t){t[Tt]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return g(e)+(g(e)>68?1900:2e3)};var Ut,Lt=I("FullYear",!0);Ut=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},P("M",["MM",2],"Mo",function(){return this.month()+1}),P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),P("MMMM",0,0,function(e){return this.localeData().months(this,e)}),Y("month","M"),x("month",8),C("M",mt),C("MM",mt,dt),C("MMM",function(e,t){return t.monthsShortRegex(e)}),C("MMMM",function(e,t){return t.monthsRegex(e)}),L(["M","MM"],function(e,t){t[xt]=g(e)-1}),L(["MMM","MMMM"],function(e,t,n,s){var i=n._locale.monthsParse(e,s,n._strict);null!=i?t[xt]=i:d(n).invalidMonth=e});var Nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Gt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Vt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Et=kt,It=kt;P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),x("week",5),x("isoWeek",5),C("w",mt),C("ww",mt,dt),C("W",mt),C("WW",mt,dt),N(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=g(e)});P("d",0,"do","day"),P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),x("day",11),x("weekday",11),x("isoWeekday",11),C("d",mt),C("e",mt),C("E",mt),C("dd",function(e,t){return t.weekdaysMinRegex(e)}),C("ddd",function(e,t){return t.weekdaysShortRegex(e)}),C("dddd",function(e,t){return t.weekdaysRegex(e)}),N(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:d(n).invalidWeekday=e}),N(["d","e","E"],function(e,t,n,s){t[s]=g(e)});var At="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Zt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),zt=kt,$t=kt,qt=kt;P("H",["HH",2],0,"hour"),P("h",["hh",2],0,te),P("k",["kk",2],0,function(){return this.hours()||24}),P("hmm",0,0,function(){return""+te.apply(this)+b(this.minutes(),2)}),P("hmmss",0,0,function(){return""+te.apply(this)+b(this.minutes(),2)+b(this.seconds(),2)}),P("Hmm",0,0,function(){return""+this.hours()+b(this.minutes(),2)}),P("Hmmss",0,0,function(){return""+this.hours()+b(this.minutes(),2)+b(this.seconds(),2)}),ne("a",!0),ne("A",!1),Y("hour","h"),x("hour",13),C("a",se),C("A",se),C("H",mt),C("h",mt),C("k",mt),C("HH",mt,dt),C("hh",mt,dt),C("kk",mt,dt),C("hmm",_t),C("hmmss",yt),C("Hmm",_t),C("Hmmss",yt),L(["H","HH"],Pt),L(["k","kk"],function(e,t,n){var s=g(e);t[Pt]=24===s?0:s}),L(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),L(["h","hh"],function(e,t,n){t[Pt]=g(e),d(n).bigHour=!0}),L("hmm",function(e,t,n){var s=e.length-2;t[Pt]=g(e.substr(0,s)),t[Wt]=g(e.substr(s)),d(n).bigHour=!0}),L("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[Pt]=g(e.substr(0,s)),t[Wt]=g(e.substr(s,2)),t[Ht]=g(e.substr(i)),d(n).bigHour=!0}),L("Hmm",function(e,t,n){var s=e.length-2;t[Pt]=g(e.substr(0,s)),t[Wt]=g(e.substr(s))}),L("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[Pt]=g(e.substr(0,s)),t[Wt]=g(e.substr(s,2)),t[Ht]=g(e.substr(i))});var Jt,Bt=I("Hours",!0),Qt={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:Gt,monthsShort:Vt,week:{dow:0,doy:6},weekdays:At,weekdaysMin:Zt,weekdaysShort:jt,meridiemParse:/[ap]\.?m?\.?/i},Xt={},Kt={},en=/^\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)?)?$/,tn=/^\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)?)?$/,nn=/Z|[+-]\d\d(?::?\d\d)?/,sn=[["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}/]],rn=[["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/]],an=/^\/?Date\((\-?\d+)/i,on=/^(?:(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}))$/,un={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=v("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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var ln=v("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=pe.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:c()}),dn=v("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=pe.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:c()}),hn=["year","quarter","month","week","day","hour","minute","second","millisecond"];De("Z",":"),De("ZZ",""),C("Z",Dt),C("ZZ",Dt),L(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=ke(Dt,e)});var cn=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var fn=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,mn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;xe.fn=ve.prototype,xe.invalid=function(){return xe(NaN)};var _n=We(1,"add"),yn=We(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var gn=v("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});P(0,["gg",2],0,function(){return this.weekYear()%100}),P(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ue("gggg","weekYear"),Ue("ggggg","weekYear"),Ue("GGGG","isoWeekYear"),Ue("GGGGG","isoWeekYear"),Y("weekYear","gg"),Y("isoWeekYear","GG"),x("weekYear",1),x("isoWeekYear",1),C("G",Mt),C("g",Mt),C("GG",mt,dt),C("gg",mt,dt),C("GGGG",pt,ct),C("gggg",pt,ct),C("GGGGG",wt,ft),C("ggggg",wt,ft),N(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=g(e)}),N(["gg","GG"],function(t,n,s,i){n[i]=e.parseTwoDigitYear(t)}),P("Q",0,"Qo","quarter"),Y("quarter","Q"),x("quarter",7),C("Q",lt),L("Q",function(e,t){t[xt]=3*(g(e)-1)}),P("D",["DD",2],"Do","date"),Y("date","D"),x("date",9),C("D",mt),C("DD",mt,dt),C("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),L(["D","DD"],bt),L("Do",function(e,t){t[bt]=g(e.match(mt)[0])});var pn=I("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),x("dayOfYear",4),C("DDD",gt),C("DDDD",ht),L(["DDD","DDDD"],function(e,t,n){n._dayOfYear=g(e)}),P("m",["mm",2],0,"minute"),Y("minute","m"),x("minute",14),C("m",mt),C("mm",mt,dt),L(["m","mm"],Wt);var wn=I("Minutes",!1);P("s",["ss",2],0,"second"),Y("second","s"),x("second",15),C("s",mt),C("ss",mt,dt),L(["s","ss"],Ht);var vn=I("Seconds",!1);P("S",0,0,function(){return~~(this.millisecond()/100)}),P(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),P(0,["SSS",3],0,"millisecond"),P(0,["SSSS",4],0,function(){return 10*this.millisecond()}),P(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),P(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),P(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),P(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),P(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Y("millisecond","ms"),x("millisecond",16),C("S",gt,lt),C("SS",gt,dt),C("SSS",gt,ht);var Mn;for(Mn="SSSS";Mn.length<=9;Mn+="S")C(Mn,vt);for(Mn="S";Mn.length<=9;Mn+="S")L(Mn,Ne);var Sn=I("Milliseconds",!1);P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");var Dn=m.prototype;Dn.add=_n,Dn.calendar=function(t,n){var s=t||pe(),i=Ye(s,this).startOf("day"),r=e.calendarFormat(this,i)||"sameElse",a=n&&(S(n[r])?n[r].call(this,s):n[r]);return this.format(a||this.localeData().calendar(r,this,pe(s)))},Dn.clone=function(){return new m(this)},Dn.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=Ye(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=O(t)){case"year":r=Re(this,s)/12;break;case"month":r=Re(this,s);break;case"quarter":r=Re(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:y(r)},Dn.endOf=function(e){return void 0===(e=O(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},Dn.format=function(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=H(this,t);return this.localeData().postformat(n)},Dn.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||pe(e).isValid())?xe({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Dn.fromNow=function(e){return this.from(pe(),e)},Dn.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||pe(e).isValid())?xe({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Dn.toNow=function(e){return this.to(pe(),e)},Dn.get=function(e){return e=O(e),S(this[e])?this[e]():this},Dn.invalidAt=function(){return d(this).overflow},Dn.isAfter=function(e,t){var n=_(e)?e:pe(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=O(s(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},Dn.isBefore=function(e,t){var n=_(e)?e:pe(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=O(s(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},Dn.isBetween=function(e,t,n,s){return("("===(s=s||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===s[1]?this.isBefore(t,n):!this.isAfter(t,n))},Dn.isSame=function(e,t){var n,s=_(e)?e:pe(e);return!(!this.isValid()||!s.isValid())&&("millisecond"===(t=O(t||"millisecond"))?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},Dn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Dn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Dn.isValid=function(){return h(this)},Dn.lang=gn,Dn.locale=Ce,Dn.localeData=Fe,Dn.max=dn,Dn.min=ln,Dn.parsingFlags=function(){return u({},d(this))},Dn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:it[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=T(e)),s=0;s<n.length;s++)this[n[s].unit](e[n[s].unit]);else if(e=O(e),S(this[e]))return this[e](t);return this},Dn.startOf=function(e){switch(e=O(e)){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"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},Dn.subtract=yn,Dn.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},Dn.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},Dn.toDate=function(){return new Date(this.valueOf())},Dn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?H(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",H(n,"Z")):H(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Dn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+s+"-MM-DD[T]HH:mm:ss.SSS"+i)},Dn.toJSON=function(){return this.isValid()?this.toISOString():null},Dn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Dn.unix=function(){return Math.floor(this.valueOf()/1e3)},Dn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Dn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Dn.year=Lt,Dn.isLeapYear=function(){return E(this.year())},Dn.weekYear=function(e){return Le.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Dn.isoWeekYear=function(e){return Le.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Dn.quarter=Dn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Dn.month=$,Dn.daysInMonth=function(){return Z(this.year(),this.month())},Dn.week=Dn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Dn.isoWeek=Dn.isoWeeks=function(e){var t=X(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Dn.weeksInYear=function(){var e=this.localeData()._week;return K(this.year(),e.dow,e.doy)},Dn.isoWeeksInYear=function(){return K(this.year(),1,4)},Dn.date=pn,Dn.day=Dn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},Dn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Dn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Dn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Dn.hour=Dn.hours=Bt,Dn.minute=Dn.minutes=wn,Dn.second=Dn.seconds=vn,Dn.millisecond=Dn.milliseconds=Sn,Dn.utcOffset=function(t,n,s){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=ke(Dt,t)))return this}else Math.abs(t)<16&&!s&&(t*=60);return!this._isUTC&&n&&(i=Oe(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!n||this._changeInProgress?He(this,xe(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Oe(this)},Dn.utc=function(e){return this.utcOffset(0,e)},Dn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Oe(this),"m")),this},Dn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=ke(St,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Dn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?pe(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Dn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Dn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Dn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Dn.isUtc=Te,Dn.isUTC=Te,Dn.zoneAbbr=function(){return this._isUTC?"UTC":""},Dn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Dn.dates=v("dates accessor is deprecated. Use date instead.",pn),Dn.months=v("months accessor is deprecated. Use month instead",$),Dn.years=v("years accessor is deprecated. Use year instead",Lt),Dn.zone=v("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),Dn.isDSTShifted=v("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(f(e,this),(e=ye(e))._a){var t=e._isUTC?l(e._a):pe(e._a);this._isDSTShifted=this.isValid()&&p(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var kn=k.prototype;kn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return S(s)?s.call(t,n):s},kn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},kn.invalidDate=function(){return this._invalidDate},kn.ordinal=function(e){return this._ordinal.replace("%d",e)},kn.preparse=Ge,kn.postformat=Ge,kn.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return S(i)?i(e,t,n,s):i.replace(/%d/i,e)},kn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)},kn.set=function(e){var t,n;for(n in e)S(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},kn.months=function(e,n){return e?t(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Nt).test(n)?"format":"standalone"][e.month()]:t(this._months)?this._months:this._months.standalone},kn.monthsShort=function(e,n){return e?t(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Nt.test(n)?"format":"standalone"][e.month()]:t(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},kn.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=l([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ut.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ut.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ut.call(this._shortMonthsParse,a))?i:-1!==(i=Ut.call(this._longMonthsParse,a))?i:null:-1!==(i=Ut.call(this._longMonthsParse,a))?i:-1!==(i=Ut.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=l([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},kn.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||q.call(this),e?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=It),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},kn.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||q.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Et),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},kn.week=function(e){return X(e,this._week.dow,this._week.doy).week},kn.firstDayOfYear=function(){return this._week.doy},kn.firstDayOfWeek=function(){return this._week.dow},kn.weekdays=function(e,n){return e?t(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(n)?"format":"standalone"][e.day()]:t(this._weekdays)?this._weekdays:this._weekdays.standalone},kn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},kn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},kn.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=l([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ut.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ut.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ut.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ut.call(this._weekdaysParse,a))?i:-1!==(i=Ut.call(this._shortWeekdaysParse,a))?i:-1!==(i=Ut.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ut.call(this._shortWeekdaysParse,a))?i:-1!==(i=Ut.call(this._weekdaysParse,a))?i:-1!==(i=Ut.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ut.call(this._minWeekdaysParse,a))?i:-1!==(i=Ut.call(this._weekdaysParse,a))?i:-1!==(i=Ut.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=l([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},kn.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||ee.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=zt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},kn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||ee.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$t),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},kn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||ee.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},kn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},kn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ae("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===g(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),e.lang=v("moment.lang is deprecated. Use moment.locale instead.",ae),e.langData=v("moment.langData is deprecated. Use moment.localeData instead.",ue);var Yn=Math.abs,On=$e("ms"),Tn=$e("s"),xn=$e("m"),bn=$e("h"),Pn=$e("d"),Wn=$e("w"),Hn=$e("M"),Rn=$e("y"),Cn=qe("milliseconds"),Fn=qe("seconds"),Un=qe("minutes"),Ln=qe("hours"),Nn=qe("days"),Gn=qe("months"),Vn=qe("years"),En=Math.round,In={ss:44,s:45,m:45,h:22,d:26,M:11},An=Math.abs,jn=ve.prototype;return jn.isValid=function(){return this._isValid},jn.abs=function(){var e=this._data;return this._milliseconds=Yn(this._milliseconds),this._days=Yn(this._days),this._months=Yn(this._months),e.milliseconds=Yn(e.milliseconds),e.seconds=Yn(e.seconds),e.minutes=Yn(e.minutes),e.hours=Yn(e.hours),e.months=Yn(e.months),e.years=Yn(e.years),this},jn.add=function(e,t){return Ae(this,e,t,1)},jn.subtract=function(e,t){return Ae(this,e,t,-1)},jn.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=O(e))||"year"===e)return t=this._days+s/864e5,n=this._months+Ze(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ze(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},jn.asMilliseconds=On,jn.asSeconds=Tn,jn.asMinutes=xn,jn.asHours=bn,jn.asDays=Pn,jn.asWeeks=Wn,jn.asMonths=Hn,jn.asYears=Rn,jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12):NaN},jn._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*je(ze(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=y(r/1e3),u.seconds=e%60,t=y(e/60),u.minutes=t%60,n=y(t/60),u.hours=n%24,a+=y(n/24),i=y(Ze(a)),o+=i,a-=je(ze(i)),s=y(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},jn.clone=function(){return xe(this)},jn.get=function(e){return e=O(e),this.isValid()?this[e+"s"]():NaN},jn.milliseconds=Cn,jn.seconds=Fn,jn.minutes=Un,jn.hours=Ln,jn.days=Nn,jn.weeks=function(){return y(this.days()/7)},jn.months=Gn,jn.years=Vn,jn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var s=xe(e).abs(),i=En(s.as("s")),r=En(s.as("m")),a=En(s.as("h")),o=En(s.as("d")),u=En(s.as("M")),l=En(s.as("y")),d=i<=In.ss&&["s",i]||i<In.s&&["ss",i]||r<=1&&["m"]||r<In.m&&["mm",r]||a<=1&&["h"]||a<In.h&&["hh",a]||o<=1&&["d"]||o<In.d&&["dd",o]||u<=1&&["M"]||u<In.M&&["MM",u]||l<=1&&["y"]||["yy",l];return d[2]=t,d[3]=+e>0,d[4]=n,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,d)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},jn.toISOString=Be,jn.toString=Be,jn.toJSON=Be,jn.locale=Ce,jn.localeData=Fe,jn.toIsoString=v("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Be),jn.lang=gn,P("X",0,0,"unix"),P("x",0,0,"valueOf"),C("x",Mt),C("X",/[+-]?\d+(\.\d{1,3})?/),L("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),L("x",function(e,t,n){n._d=new Date(g(e))}),e.version="2.20.1",function(e){Qe=e}(pe),e.fn=Dn,e.min=function(){return we("isBefore",[].slice.call(arguments,0))},e.max=function(){return we("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=l,e.unix=function(e){return pe(1e3*e)},e.months=function(e,t){return Ee(e,t,"months")},e.isDate=r,e.locale=ae,e.invalid=c,e.duration=xe,e.isMoment=_,e.weekdays=function(e,t,n){return Ie(e,t,n,"weekdays")},e.parseZone=function(){return pe.apply(null,arguments).parseZone()},e.localeData=ue,e.isDuration=Me,e.monthsShort=function(e,t){return Ee(e,t,"monthsShort")},e.weekdaysMin=function(e,t,n){return Ie(e,t,n,"weekdaysMin")},e.defineLocale=oe,e.updateLocale=function(e,t){if(null!=t){var n,s,i=Qt;null!=(s=re(e))&&(i=s._config),(n=new k(t=D(i,t))).parentLocale=Xt[e],Xt[e]=n,ae(e)}else null!=Xt[e]&&(null!=Xt[e].parentLocale?Xt[e]=Xt[e].parentLocale:null!=Xt[e]&&delete Xt[e]);return Xt[e]},e.locales=function(){return nt(Xt)},e.weekdaysShort=function(e,t,n){return Ie(e,t,n,"weekdaysShort")},e.normalizeUnits=O,e.relativeTimeRounding=function(e){return void 0===e?En:"function"==typeof e&&(En=e,!0)},e.relativeTimeThreshold=function(e,t){return void 0!==In[e]&&(void 0===t?In[e]:(In[e]=t,"s"===e&&(In.ss=t-1),!0))},e.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},e.prototype=Dn,e.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"},e},void("object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()));var e,t},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(78)&&!__webpack_require__(64)(function(){return 7!=Object.defineProperty(__webpack_require__(368)("div"),"a",{get:function(){return 7}}).a})},function(module,exports,__webpack_require__){"use strict";var LIBRARY=__webpack_require__(222);var $export=__webpack_require__(41);var redefine=__webpack_require__(110);var hide=__webpack_require__(125);var Iterators=__webpack_require__(225);var $iterCreate=__webpack_require__(1019);var setToStringTag=__webpack_require__(277);var getPrototypeOf=__webpack_require__(549);var ITERATOR=__webpack_require__(40)("iterator");var BUGGY=!([].keys&&"next"in[].keys());var FF_ITERATOR="@@iterator";var KEYS="keys";var VALUES="values";var returnThis=function(){return this};module.exports=function(Base,NAME,Constructor,next,DEFAULT,IS_SET,FORCED){$iterCreate(Constructor,NAME,next);var getMethod=function(kind){if(!BUGGY&&kind in proto)return proto[kind];switch(kind){case KEYS:return function keys(){return new Constructor(this,kind)};case VALUES:return function values(){return new Constructor(this,kind)}}return function entries(){return new Constructor(this,kind)}};var TAG=NAME+" Iterator";var DEF_VALUES=DEFAULT==VALUES;var VALUES_BUG=false;var proto=Base.prototype;var $native=proto[ITERATOR]||proto[FF_ITERATOR]||DEFAULT&&proto[DEFAULT];var $default=$native||getMethod(DEFAULT);var $entries=DEFAULT?DEF_VALUES?getMethod("entries"):$default:void 0;var $anyNative="Array"==NAME&&proto.entries||$native;var methods,key,IteratorPrototype;if($anyNative){IteratorPrototype=getPrototypeOf($anyNative.call(new Base));if(IteratorPrototype!==Object.prototype&&IteratorPrototype.next){setToStringTag(IteratorPrototype,TAG,true);LIBRARY||"function"==typeof IteratorPrototype[ITERATOR]||hide(IteratorPrototype,ITERATOR,returnThis)}}if(DEF_VALUES&&$native&&$native.name!==VALUES){VALUES_BUG=true;$default=function values(){return $native.call(this)}}LIBRARY&&!FORCED||!BUGGY&&!VALUES_BUG&&proto[ITERATOR]||hide(proto,ITERATOR,$default);Iterators[NAME]=$default;Iterators[TAG]=returnThis;if(DEFAULT){methods={values:DEF_VALUES?$default:getMethod(VALUES),keys:IS_SET?$default:getMethod(KEYS),entries:$entries};if(FORCED)for(key in methods)key in proto||redefine(proto,key,methods[key]);else $export($export.P+$export.F*(BUGGY||VALUES_BUG),NAME,methods)}return methods}},function(module,exports,__webpack_require__){var has=__webpack_require__(111);var toIObject=__webpack_require__(146);var arrayIndexOf=__webpack_require__(546)(false);var IE_PROTO=__webpack_require__(372)("IE_PROTO");module.exports=function(object,names){var O=toIObject(object);var i=0;var result=[];var key;for(key in O)key!=IE_PROTO&&has(O,key)&&result.push(key);while(names.length>i)has(O,key=names[i++])&&(~arrayIndexOf(result,key)||result.push(key));return result}},function(module,exports,__webpack_require__){var toIObject=__webpack_require__(146);var toLength=__webpack_require__(180);var toAbsoluteIndex=__webpack_require__(547);module.exports=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIObject($this);var length=toLength(O.length);var index=toAbsoluteIndex(fromIndex,length);var value;if(IS_INCLUDES&&el!=el)while(length>index){value=O[index++];if(value!=value)return true}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(371);var max=Math.max;var min=Math.min;module.exports=function(index,length){index=toInteger(index);return index<0?max(index+length,0):min(index,length)}},function(module,exports,__webpack_require__){var document=__webpack_require__(55).document;module.exports=document&&document.documentElement},function(module,exports,__webpack_require__){var has=__webpack_require__(111);var toObject=__webpack_require__(151);var IE_PROTO=__webpack_require__(372)("IE_PROTO");var ObjectProto=Object.prototype;module.exports=Object.getPrototypeOf||function(O){O=toObject(O);if(has(O,IE_PROTO))return O[IE_PROTO];if("function"==typeof O.constructor&&O instanceof O.constructor)return O.constructor.prototype;return O instanceof Object?ObjectProto:null}},function(module,exports,__webpack_require__){var $export=__webpack_require__(41);var core=__webpack_require__(145);var fails=__webpack_require__(64);module.exports=function(KEY,exec){var fn=(core.Object||{})[KEY]||Object[KEY];var exp={};exp[KEY]=exec(fn);$export($export.S+$export.F*fails(function(){fn(1)}),"Object",exp)}},function(module,exports,__webpack_require__){var ReactDatePicker=__webpack_require__(1021).default;module.exports={ReactDatePicker:ReactDatePicker}},function(module,exports,__webpack_require__){var global=__webpack_require__(55);var core=__webpack_require__(145);var LIBRARY=__webpack_require__(222);var wksExt=__webpack_require__(553);var defineProperty=__webpack_require__(76).f;module.exports=function(name){var $Symbol=core.Symbol||(core.Symbol=LIBRARY?{}:global.Symbol||{});"_"==name.charAt(0)||name in $Symbol||defineProperty($Symbol,name,{value:wksExt.f(name)})}},function(module,exports,__webpack_require__){exports.f=__webpack_require__(40)},function(module,exports,__webpack_require__){var META=__webpack_require__(223)("meta");var isObject=__webpack_require__(71);var has=__webpack_require__(111);var setDesc=__webpack_require__(76).f;var id=0;var isExtensible=Object.isExtensible||function(){return true};var FREEZE=!__webpack_require__(64)(function(){return isExtensible(Object.preventExtensions({}))});var setMeta=function(it){setDesc(it,META,{value:{i:"O"+ ++id,w:{}}})};var fastKey=function(it,create){if(!isObject(it))return"symbol"==typeof it?it:("string"==typeof it?"S":"P")+it;if(!has(it,META)){if(!isExtensible(it))return"F";if(!create)return"E";setMeta(it)}return it[META].i};var getWeak=function(it,create){if(!has(it,META)){if(!isExtensible(it))return true;if(!create)return false;setMeta(it)}return it[META].w};var onFreeze=function(it){FREEZE&&meta.NEED&&isExtensible(it)&&!has(it,META)&&setMeta(it);return it};var meta=module.exports={KEY:META,NEED:false,fastKey:fastKey,getWeak:getWeak,onFreeze:onFreeze}},function(module,exports,__webpack_require__){var cof=__webpack_require__(147);module.exports=Array.isArray||function isArray(arg){return"Array"==cof(arg)}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(71);var anObject=__webpack_require__(77);var check=function(O,proto){anObject(O);if(!isObject(proto)&&null!==proto)throw TypeError(proto+": can't set as prototype!")};module.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(test,buggy,set){try{set=__webpack_require__(149)(Function.call,__webpack_require__(279).f(Object.prototype,"__proto__").set,2);set(test,[]);buggy=!(test instanceof Array)}catch(e){buggy=true}return function setPrototypeOf(O,proto){check(O,proto);buggy?O.__proto__=proto:set(O,proto);return O}}({},false):void 0),check:check}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFlexItem=exports.GROW_SIZES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var GROW_SIZES=[1,2,3,4,5,6,7,8,9,10];exports.GROW_SIZES=GROW_SIZES;var EuiFlexItem=function EuiFlexItem(_ref){var children=_ref.children,className=_ref.className,grow=_ref.grow,Component=_ref.component,rest=_objectWithoutProperties(_ref,["children","className","grow","component"]);var classes=(0,_classnames.default)("euiFlexItem",_defineProperty({"euiFlexItem--flexGrowZero":!grow},"euiFlexItem--flexGrow".concat(grow),GROW_SIZES.indexOf(grow)>=0),className);return _react.default.createElement(Component,_extends({className:classes},rest),children)};exports.EuiFlexItem=EuiFlexItem;EuiFlexItem.propTypes={children:_propTypes.default.node,grow:growPropType,component:_propTypes.default.oneOf(["div","span","figure"])};function growPropType(props,propName,componentName){var value=props[propName];var validValues=[null,void 0,true,false].concat(GROW_SIZES);if(-1===validValues.indexOf(value))return new Error("Prop `".concat(propName,"` supplied to `").concat(componentName,"` must be a boolean or an integer between 1 and 10."))}EuiFlexItem.defaultProps={grow:true,component:"div"};EuiFlexItem.__docgenInfo={description:"",methods:[],displayName:"EuiFlexItem",props:{grow:{defaultValue:{value:"true",computed:false},type:{name:"custom",raw:"growPropType"},required:false,description:""},component:{defaultValue:{value:"'div'",computed:false},type:{name:"enum",value:[{value:"'div'",computed:false},{value:"'span'",computed:false},{value:"'figure'",computed:false}]},required:false,description:""},children:{type:{name:"node"},required:false,description:""}}}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(77);module.exports=function(iterator,fn,value,entries){try{return entries?fn(anObject(value)[0],value[1]):fn(value)}catch(e){var ret=iterator["return"];void 0!==ret&&anObject(ret.call(iterator));throw e}}},function(module,exports,__webpack_require__){var Iterators=__webpack_require__(225);var ITERATOR=__webpack_require__(40)("iterator");var ArrayProto=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayProto[ITERATOR]===it)}},function(module,exports,__webpack_require__){var classof=__webpack_require__(561);var ITERATOR=__webpack_require__(40)("iterator");var Iterators=__webpack_require__(225);module.exports=__webpack_require__(145).getIteratorMethod=function(it){if(void 0!=it)return it[ITERATOR]||it["@@iterator"]||Iterators[classof(it)]}},function(module,exports,__webpack_require__){var cof=__webpack_require__(147);var TAG=__webpack_require__(40)("toStringTag");var ARG="Arguments"==cof(function(){return arguments}());var tryGet=function(it,key){try{return it[key]}catch(e){}};module.exports=function(it){var O,T,B;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(T=tryGet(O=Object(it),TAG))?T:ARG?cof(O):"Object"==(B=cof(O))&&"function"==typeof O.callee?"Arguments":B}},function(module,exports,__webpack_require__){var ITERATOR=__webpack_require__(40)("iterator");var SAFE_CLOSING=false;try{var riter=[7][ITERATOR]();riter["return"]=function(){SAFE_CLOSING=true};Array.from(riter,function(){throw 2})}catch(e){}module.exports=function(exec,skipClosing){if(!skipClosing&&!SAFE_CLOSING)return false;var safe=false;try{var arr=[7];var iter=arr[ITERATOR]();iter.next=function(){return{done:safe=true}};arr[ITERATOR]=function(){return iter};exec(arr)}catch(e){}return safe}},function(module,exports,__webpack_require__){__webpack_require__(78)&&"g"!=/./g.flags&&__webpack_require__(76).f(RegExp.prototype,"flags",{configurable:true,get:__webpack_require__(378)})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.hexToRgb=hexToRgb;__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(228);function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{_n||null==_i["return"]||_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function hexToRgb(hex){var shorthandRegex=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;hex=hex.replace(shorthandRegex,function(m,r1,g1,b1){return r1+r1+g1+g1+b1+b1});var _ref=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex),_ref2=_slicedToArray(_ref,4),r=_ref2[1],g=_ref2[2],b=_ref2[3];return[parseInt(r,16),parseInt(g,16),parseInt(b,16)]}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"accessibleClickKeys",{enumerable:true,get:function get(){return _accessible_click_keys.accessibleClickKeys}});Object.defineProperty(exports,"cascadingMenuKeyCodes",{enumerable:true,get:function get(){return _cascading_menu_key_codes.cascadingMenuKeyCodes}});Object.defineProperty(exports,"comboBoxKeyCodes",{enumerable:true,get:function get(){return _combo_box_key_codes.comboBoxKeyCodes}});Object.defineProperty(exports,"htmlIdGenerator",{enumerable:true,get:function get(){return _html_id_generator.htmlIdGenerator}});var _accessible_click_keys=__webpack_require__(1049);var _cascading_menu_key_codes=__webpack_require__(1050);var _combo_box_key_codes=__webpack_require__(1051);var _html_id_generator=__webpack_require__(1052)},function(module,exports){var getRandomValues="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(getRandomValues){var rnds8=new Uint8Array(16);module.exports=function whatwgRNG(){getRandomValues(rnds8);return rnds8}}else{var rnds=new Array(16);module.exports=function mathRNG(){for(var r,i=0;i<16;i++){0===(3&i)&&(r=4294967296*Math.random());rnds[i]=r>>>((3&i)<<3)&255}return rnds}}},function(module,exports){var byteToHex=[];for(var i=0;i<256;++i)byteToHex[i]=(i+256).toString(16).substr(1);function bytesToUuid(buf,offset){var i=offset||0;var bth=byteToHex;return[bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]]].join("")}module.exports=bytesToUuid},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"formatAuto",{enumerable:true,get:function get(){return _format_auto.formatAuto}});Object.defineProperty(exports,"formatBoolean",{enumerable:true,get:function get(){return _format_boolean.formatBoolean}});Object.defineProperty(exports,"formatDate",{enumerable:true,get:function get(){return _format_date.formatDate}});Object.defineProperty(exports,"dateFormatAliases",{enumerable:true,get:function get(){return _format_date.dateFormatAliases}});Object.defineProperty(exports,"formatNumber",{enumerable:true,get:function get(){return _format_number.formatNumber}});Object.defineProperty(exports,"formatText",{enumerable:true,get:function get(){return _format_text.formatText}});var _format_auto=__webpack_require__(1058);var _format_boolean=__webpack_require__(570);var _format_date=__webpack_require__(571);var _format_number=__webpack_require__(572);var _format_text=__webpack_require__(575)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"isFunction",{enumerable:true,get:function get(){return _lodash.isFunction}});Object.defineProperty(exports,"isArray",{enumerable:true,get:function get(){return _lodash.isArray}});Object.defineProperty(exports,"isString",{enumerable:true,get:function get(){return _lodash.isString}});Object.defineProperty(exports,"isBoolean",{enumerable:true,get:function get(){return _lodash.isBoolean}});Object.defineProperty(exports,"isNumber",{enumerable:true,get:function get(){return _lodash.isNumber}});Object.defineProperty(exports,"isNaN",{enumerable:true,get:function get(){return _lodash.isNaN}});var _lodash=__webpack_require__(10)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.formatBoolean=void 0;var _predicate=__webpack_require__(38);var formatBoolean=function formatBoolean(value){var _ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref$yes=_ref.yes,yes=void 0===_ref$yes?"Yes":_ref$yes,_ref$no=_ref.no,no=void 0===_ref$no?"No":_ref$no,_ref$nil=_ref.nil,nil=void 0===_ref$nil?"":_ref$nil;if((0,_predicate.isNil)(value))return nil;return value?yes:no};exports.formatBoolean=formatBoolean},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.formatDate=exports.dateFormatAliases=void 0;__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _predicate=__webpack_require__(38);var _moment=_interopRequireDefault(__webpack_require__(53));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var calendar=function calendar(value){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var refTime=options.refTime;return(0,_moment.default)(value).calendar(refTime,options)};var dateFormatAliases={date:"D MMM YYYY",longDate:"DD MMMM YYYY",shortDate:"D MMM YY",dateTime:"D MMM YYYY HH:mm",longDateTime:"DD MMMM YYYY HH:mm:ss",shortDateTime:"D MMM YY HH:mm",dobShort:"Do MMM YY",dobLong:"Do MMMM YYYY",iso8601:"YYYY-MM-DDTHH:mm:ss.SSSZ",calendar:calendar,calendarDateTime:function calendarDateTime(value,options){return calendar(value,_objectSpread({sameDay:"[Today at] H:mmA",nextDay:"[Tomorrow at] H:mmA",nextWeek:"dddd [at] H:mmA",lastDay:"[Yesterday at] H:mmA",lastWeek:"[Last] dddd [at] H:mmA",sameElse:"Do MMM YYYY [at] H:mmA"},options))},calendarDate:function calendarDate(value,options){return calendar(value,_objectSpread({sameDay:"[Today]",nextDay:"[Tomorrow]",nextWeek:"dddd",lastDay:"[Yesterday]",lastWeek:"[Last] dddd",sameElse:"Do MMM YYYY"},options))}};exports.dateFormatAliases=dateFormatAliases;var formatDate=function formatDate(value){var dateFormatKeyOrConfig=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"dateTime";if((0,_predicate.isString)(dateFormatKeyOrConfig)){if((0,_predicate.isNil)(value))return"";var dateFormatStr=dateFormatAliases[dateFormatKeyOrConfig]||dateFormatKeyOrConfig;return(0,_moment.default)(value).format(dateFormatStr)}var _dateFormatKeyOrConfi=dateFormatKeyOrConfig.format,format=void 0===_dateFormatKeyOrConfi?"dateTime":_dateFormatKeyOrConfi,_dateFormatKeyOrConfi2=dateFormatKeyOrConfig.nil,nil=void 0===_dateFormatKeyOrConfi2?"":_dateFormatKeyOrConfi2,options=dateFormatKeyOrConfig.options;var dateFormat=dateFormatAliases[format]||format;if((0,_predicate.isNil)(value))return nil;if((0,_predicate.isFunction)(dateFormat))return dateFormat(value,options);return(0,_moment.default)(value).format(dateFormat)};exports.formatDate=formatDate},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.formatNumber=void 0;__webpack_require__(42);var _numeral=_interopRequireDefault(__webpack_require__(573));var _predicate=__webpack_require__(38);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var numberFormatAliases={decimal1:"0,0.0",decimal2:"0,0.00",decimal3:"0,0.000",ordinal:"0o",integer:"0,0"};var formatNumber=function formatNumber(value){var numberFormatOrConfig=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var format;var nil="";var round;if((0,_predicate.isString)(numberFormatOrConfig))format=numberFormatOrConfig;else{format=numberFormatOrConfig.format;nil=numberFormatOrConfig.nil||"";round=numberFormatOrConfig.round}if(!format)return(0,_predicate.isNil)(value)?nil:value.toString();var roundingFunc=round?Math.round:Math.floor;var numberFormat=numberFormatAliases[format]||format;return(0,_predicate.isNil)(value)?nil:(0,_numeral.default)(value).format(numberFormat,roundingFunc)};exports.formatNumber=formatNumber},function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(574)},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;
/*!
 * numeral.js
 * version : 1.5.3
 * author : Adam Draper
 * license : MIT
 * http://adamwdraper.github.com/Numeral-js/
 */var numeralFactory=function(){var numeral,VERSION="1.5.3",languages={},currentLanguage="en",zeroFormat=null,defaultFormat="0,0";function Numeral(number){this._value=number}function toFixed(value,precision,roundingFunction,optionals){var optionalsRegExp,output,power=Math.pow(10,precision);output=(roundingFunction(value+"e+"+precision)/power).toFixed(precision);if(optionals){optionalsRegExp=new RegExp("0{1,"+optionals+"}$");output=output.replace(optionalsRegExp,"")}return output}function formatNumeral(n,format,roundingFunction){var output;output=format.indexOf("$")>-1?formatCurrency(n,format,roundingFunction):format.indexOf("%")>-1?formatPercentage(n,format,roundingFunction):format.indexOf(":")>-1?formatTime(n,format):formatNumber(n._value,format,roundingFunction);return output}function unformatNumeral(n,string){var thousandRegExp,millionRegExp,billionRegExp,trillionRegExp,power,stringOriginal=string,suffixes=["KB","MB","GB","TB","PB","EB","ZB","YB"],bytesMultiplier=false;if(string.indexOf(":")>-1)n._value=unformatTime(string);else if(string===zeroFormat)n._value=0;else{"."!==languages[currentLanguage].delimiters.decimal&&(string=string.replace(/\./g,"").replace(languages[currentLanguage].delimiters.decimal,"."));thousandRegExp=new RegExp("[^a-zA-Z]"+languages[currentLanguage].abbreviations.thousand+"(?:\\)|(\\"+languages[currentLanguage].currency.symbol+")?(?:\\))?)?$");millionRegExp=new RegExp("[^a-zA-Z]"+languages[currentLanguage].abbreviations.million+"(?:\\)|(\\"+languages[currentLanguage].currency.symbol+")?(?:\\))?)?$");billionRegExp=new RegExp("[^a-zA-Z]"+languages[currentLanguage].abbreviations.billion+"(?:\\)|(\\"+languages[currentLanguage].currency.symbol+")?(?:\\))?)?$");trillionRegExp=new RegExp("[^a-zA-Z]"+languages[currentLanguage].abbreviations.trillion+"(?:\\)|(\\"+languages[currentLanguage].currency.symbol+")?(?:\\))?)?$");for(power=0;power<suffixes.length;++power){bytesMultiplier=string.indexOf(suffixes[power])>-1&&Math.pow(1024,power+1);if(bytesMultiplier)break}n._value=(bytesMultiplier||1)*(stringOriginal.match(thousandRegExp)?Math.pow(10,3):1)*(stringOriginal.match(millionRegExp)?Math.pow(10,6):1)*(stringOriginal.match(billionRegExp)?Math.pow(10,9):1)*(stringOriginal.match(trillionRegExp)?Math.pow(10,12):1)*(string.indexOf("%")>-1?.01:1)*((string.split("-").length+Math.min(string.split("(").length-1,string.split(")").length-1))%2?1:-1)*Number(string.replace(/[^0-9\.]+/g,""));n._value=bytesMultiplier?Math.ceil(n._value):n._value}return n._value}function formatCurrency(n,format,roundingFunction){var spliceIndex,output,symbolIndex=format.indexOf("$"),openParenIndex=format.indexOf("("),minusSignIndex=format.indexOf("-"),space="";if(format.indexOf(" $")>-1){space=" ";format=format.replace(" $","")}else if(format.indexOf("$ ")>-1){space=" ";format=format.replace("$ ","")}else format=format.replace("$","");output=formatNumber(n._value,format,roundingFunction);if(symbolIndex<=1)if(output.indexOf("(")>-1||output.indexOf("-")>-1){output=output.split("");spliceIndex=1;(symbolIndex<openParenIndex||symbolIndex<minusSignIndex)&&(spliceIndex=0);output.splice(spliceIndex,0,languages[currentLanguage].currency.symbol+space);output=output.join("")}else output=languages[currentLanguage].currency.symbol+space+output;else if(output.indexOf(")")>-1){output=output.split("");output.splice(-1,0,space+languages[currentLanguage].currency.symbol);output=output.join("")}else output=output+space+languages[currentLanguage].currency.symbol;return output}function formatPercentage(n,format,roundingFunction){var output,space="",value=100*n._value;if(format.indexOf(" %")>-1){space=" ";format=format.replace(" %","")}else format=format.replace("%","");output=formatNumber(value,format,roundingFunction);if(output.indexOf(")")>-1){output=output.split("");output.splice(-1,0,space+"%");output=output.join("")}else output=output+space+"%";return output}function formatTime(n){var hours=Math.floor(n._value/60/60),minutes=Math.floor((n._value-60*hours*60)/60),seconds=Math.round(n._value-60*hours*60-60*minutes);return hours+":"+(minutes<10?"0"+minutes:minutes)+":"+(seconds<10?"0"+seconds:seconds)}function unformatTime(string){var timeArray=string.split(":"),seconds=0;if(3===timeArray.length){seconds+=60*Number(timeArray[0])*60;seconds+=60*Number(timeArray[1]);seconds+=Number(timeArray[2])}else if(2===timeArray.length){seconds+=60*Number(timeArray[0]);seconds+=Number(timeArray[1])}return Number(seconds)}function formatByteUnits(value){var power,min,max,suffixes=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],suffix=suffixes[0],abs=Math.abs(value),matched=abs<1024;if(!matched){for(power=1;power<suffixes.length;++power){min=Math.pow(1024,power);max=Math.pow(1024,power+1);if(abs>=min&&abs<max){matched=true;suffix=suffixes[power];value/=min;break}}if(!matched){value/=Math.pow(1024,suffixes.length-1);suffix=suffixes[suffixes.length-1]}}return{value:value,suffix:suffix}}function formatNumber(value,format,roundingFunction){var units,w,precision,thousands,negP=false,signed=false,optDec=false,abbr="",abbrK=false,abbrM=false,abbrB=false,abbrT=false,abbrForce=false,bytes="",ord="",abs=Math.abs(value),d="",neg=false;if(0===value&&null!==zeroFormat)return zeroFormat;var isExponent="number"===typeof value&&value.toString().match(/e[+-]/);if(format.indexOf("(")>-1){negP=true;format=format.slice(1,-1)}else if(format.indexOf("+")>-1){signed=true;format=format.replace(/\+/g,"")}if(format.indexOf("a")>-1){abbrK=format.indexOf("aK")>=0;abbrM=format.indexOf("aM")>=0;abbrB=format.indexOf("aB")>=0;abbrT=format.indexOf("aT")>=0;abbrForce=abbrK||abbrM||abbrB||abbrT;if(format.indexOf(" a")>-1){abbr=" ";format=format.replace(" a","")}else format=format.replace("a","");if(abs>=Math.pow(10,12)&&!abbrForce||abbrT){abbr+=languages[currentLanguage].abbreviations.trillion;value/=Math.pow(10,12)}else if(abs<Math.pow(10,12)&&abs>=Math.pow(10,9)&&!abbrForce||abbrB){abbr+=languages[currentLanguage].abbreviations.billion;value/=Math.pow(10,9)}else if(abs<Math.pow(10,9)&&abs>=Math.pow(10,6)&&!abbrForce||abbrM){abbr+=languages[currentLanguage].abbreviations.million;value/=Math.pow(10,6)}else if(abs<Math.pow(10,6)&&abs>=Math.pow(10,3)&&!abbrForce||abbrK){abbr+=languages[currentLanguage].abbreviations.thousand;value/=Math.pow(10,3)}}if(format.indexOf("b")>-1){if(format.indexOf(" b")>-1){bytes=" ";format=format.replace(" b","")}else format=format.replace("b","");units=formatByteUnits(value);value=units.value;bytes+=units.suffix}if(format.indexOf("o")>-1){if(format.indexOf(" o")>-1){ord=" ";format=format.replace(" o","")}else format=format.replace("o","");ord+=languages[currentLanguage].ordinal(value)}if(format.indexOf("[.]")>-1){optDec=true;format=format.replace("[.]",".")}w=value.toString().split(".")[0];precision=format.split(".")[1];thousands=format.indexOf(",");if(precision&&!isExponent){if(precision.indexOf("[")>-1){precision=precision.replace("]","");precision=precision.split("[");d=toFixed(value,precision[0].length+precision[1].length,roundingFunction,precision[1].length)}else d=toFixed(value,precision.length,roundingFunction);w=d.split(".")[0];d=d.split(".")[1].length?languages[currentLanguage].delimiters.decimal+d.split(".")[1]:"";optDec&&0===Number(d.slice(1))&&(d="")}else w=isExponent?value.toString():toFixed(value,0,roundingFunction);if(0===w.indexOf("-")){w=w.slice(1);neg=true}thousands>-1&&(w=w.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+languages[currentLanguage].delimiters.thousands));0===format.indexOf(".")&&(w="");return(negP&&neg?"(":"")+(!negP&&neg?"-":"")+(!neg&&signed?"+":"")+w+d+(ord||"")+(abbr||"")+(bytes||"")+(negP&&neg?")":"")}numeral=function(input){numeral.isNumeral(input)?input=input.value():0===input||"undefined"===typeof input?input=0:Number(input)||(input=numeral.fn.unformat(input));return new Numeral(Number(input))};numeral.version=VERSION;numeral.isNumeral=function(obj){return obj instanceof Numeral};numeral.language=function(key,values){if(!key)return currentLanguage;if(key&&!values){if(!languages[key])throw new Error("Unknown language : "+key);currentLanguage=key}!values&&languages[key]||loadLanguage(key,values);return numeral};numeral.languageData=function(key){if(!key)return languages[currentLanguage];if(!languages[key])throw new Error("Unknown language : "+key);return languages[key]};numeral.language("en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(number){var b=number%10;return 1===~~(number%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th"},currency:{symbol:"$"}});numeral.zeroFormat=function(format){zeroFormat="string"===typeof format?format:null};numeral.defaultFormat=function(format){defaultFormat="string"===typeof format?format:"0.0"};function loadLanguage(key,values){languages[key]=values}"function"!==typeof Array.prototype.reduce&&(Array.prototype.reduce=function(callback,opt_initialValue){"use strict";if(null===this||"undefined"===typeof this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!==typeof callback)throw new TypeError(callback+" is not a function");var index,value,length=this.length>>>0,isValueSet=false;if(1<arguments.length){value=opt_initialValue;isValueSet=true}for(index=0;length>index;++index)if(this.hasOwnProperty(index))if(isValueSet)value=callback(value,this[index],index,this);else{value=this[index];isValueSet=true}if(!isValueSet)throw new TypeError("Reduce of empty array with no initial value");return value});function multiplier(x){var parts=x.toString().split(".");if(parts.length<2)return 1;return Math.pow(10,parts[1].length)}function correctionFactor(){var args=Array.prototype.slice.call(arguments);return args.reduce(function(prev,next){var mp=multiplier(prev),mn=multiplier(next);return mp>mn?mp:mn},-Infinity)}numeral.fn=Numeral.prototype={clone:function(){return numeral(this)},format:function(inputString,roundingFunction){return formatNumeral(this,inputString||defaultFormat,void 0!==roundingFunction?roundingFunction:Math.round)},unformat:function(inputString){if("[object Number]"===Object.prototype.toString.call(inputString))return inputString;return unformatNumeral(this,inputString||defaultFormat)},byteUnits:function(){return formatByteUnits(this._value).suffix},value:function(){return this._value},valueOf:function(){return this._value},set:function(value){this._value=Number(value);return this},add:function(value){var corrFactor=correctionFactor.call(null,this._value,value);function cback(accum,curr,currI,O){return accum+corrFactor*curr}this._value=[this._value,value].reduce(cback,0)/corrFactor;return this},subtract:function(value){var corrFactor=correctionFactor.call(null,this._value,value);function cback(accum,curr,currI,O){return accum-corrFactor*curr}this._value=[value].reduce(cback,this._value*corrFactor)/corrFactor;return this},multiply:function(value){function cback(accum,curr,currI,O){var corrFactor=correctionFactor(accum,curr);return accum*corrFactor*(curr*corrFactor)/(corrFactor*corrFactor)}this._value=[this._value,value].reduce(cback,1);return this},divide:function(value){function cback(accum,curr,currI,O){var corrFactor=correctionFactor(accum,curr);return accum*corrFactor/(curr*corrFactor)}this._value=[this._value,value].reduce(cback);return this},difference:function(value){return Math.abs(numeral(this._value).subtract(value).value())}};return numeral};(function(root,factory){true;!(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_FACTORY__=factory,__WEBPACK_AMD_DEFINE_RESULT__="function"===typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__,void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})(0,numeralFactory)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.formatText=void 0;__webpack_require__(42);var _predicate=__webpack_require__(38);var formatText=function formatText(value){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{nil:""};return(0,_predicate.isNil)(value)?options.nil:value.toString()};exports.formatText=formatText},function(module,exports,__webpack_require__){var isObject=__webpack_require__(71);var setPrototypeOf=__webpack_require__(556).set;module.exports=function(that,target,C){var S=target.constructor;var P;S!==C&&"function"==typeof S&&(P=S.prototype)!==C.prototype&&isObject(P)&&setPrototypeOf&&setPrototypeOf(that,P);return that}},function(module,exports,__webpack_require__){var isRegExp=__webpack_require__(381);var defined=__webpack_require__(148);module.exports=function(that,searchString,NAME){if(isRegExp(searchString))throw TypeError("String#"+NAME+" doesn't accept regex!");return String(defined(that))}},function(module,exports,__webpack_require__){var MATCH=__webpack_require__(40)("match");module.exports=function(KEY){var re=/./;try{"/./"[KEY](re)}catch(e){try{re[MATCH]=false;return!"/./"[KEY](re)}catch(f){}}return true}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"SortableProperties",{enumerable:true,get:function get(){return _sortable_properties.SortableProperties}});Object.defineProperty(exports,"SortDirectionType",{enumerable:true,get:function get(){return _sort_direction.SortDirectionType}});Object.defineProperty(exports,"SortDirection",{enumerable:true,get:function get(){return _sort_direction.SortDirection}});Object.defineProperty(exports,"PropertySortType",{enumerable:true,get:function get(){return _property_sort.PropertySortType}});Object.defineProperty(exports,"Comparators",{enumerable:true,get:function get(){return _comparators.Comparators}});var _sortable_properties=__webpack_require__(1072);var _sort_direction=__webpack_require__(382);var _property_sort=__webpack_require__(1075);var _comparators=__webpack_require__(581)},function(module,exports,__webpack_require__){var ctx=__webpack_require__(149);var IObject=__webpack_require__(369);var toObject=__webpack_require__(151);var toLength=__webpack_require__(180);var asc=__webpack_require__(1073);module.exports=function(TYPE,$create){var IS_MAP=1==TYPE;var IS_FILTER=2==TYPE;var IS_SOME=3==TYPE;var IS_EVERY=4==TYPE;var IS_FIND_INDEX=6==TYPE;var NO_HOLES=5==TYPE||IS_FIND_INDEX;var create=$create||asc;return function($this,callbackfn,that){var O=toObject($this);var self=IObject(O);var f=ctx(callbackfn,that,3);var length=toLength(self.length);var index=0;var result=IS_MAP?create($this,length):IS_FILTER?create($this,0):void 0;var val,res;for(;length>index;index++)if(NO_HOLES||index in self){val=self[index];res=f(val,index,O);if(TYPE)if(IS_MAP)result[index]=res;else if(res)switch(TYPE){case 3:return true;case 5:return val;case 6:return index;case 2:result.push(val)}else if(IS_EVERY)return false}return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:result}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Comparators=void 0;__webpack_require__(181);var _sort_direction=__webpack_require__(382);var _objects=__webpack_require__(582);var Comparators=Object.freeze({default:function _default(){var direction=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_sort_direction.SortDirection.ASC;return function(v1,v2){var v1IsComparable=null!=v1;var v2IsComparable=null!=v2;if(v1IsComparable&&!v2IsComparable)return-1;if(!v1IsComparable&&v2IsComparable)return 1;if(!v1IsComparable&&!v2IsComparable)return 0;if(v1===v2)return 0;var result=v1>v2?1:-1;return _sort_direction.SortDirection.isAsc(direction)?result:-1*result}},reverse:function reverse(comparator){return function(v1,v2){return comparator(v2,v1)}},value:function value(valueCallback,comparator){comparator||(comparator=this.default(_sort_direction.SortDirection.ASC));return function(o1,o2){return comparator(valueCallback(o1),valueCallback(o2))}},property:function property(prop,comparator){return this.value(function(value){return(0,_objects.get)(value,prop)},comparator)}});exports.Comparators=Comparators},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"get",{enumerable:true,get:function get(){return _lodash.get}});Object.defineProperty(exports,"omit",{enumerable:true,get:function get(){return _lodash.omit}});var _lodash=__webpack_require__(10)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.findPopoverPosition=findPopoverPosition;exports.getPopoverScreenCoordinates=getPopoverScreenCoordinates;exports.getElementBoundingBox=getElementBoundingBox;exports.getAvailableSpace=getAvailableSpace;exports.getVisibleFit=getVisibleFit;exports.intersectBoundingBoxes=intersectBoundingBoxes;exports.getElementZIndex=getElementZIndex;exports.POSITIONS=void 0;__webpack_require__(383);function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var POSITIONS=["top","right","bottom","left"];exports.POSITIONS=POSITIONS;var relatedDimension={top:"height",right:"width",bottom:"height",left:"width"};var dimensionPositionAttribute={height:"top",width:"left"};var positionComplements={top:"bottom",right:"left",bottom:"top",left:"right"};var positionSubstitutes={top:"left",right:"top",bottom:"left",left:"top"};function findPopoverPosition(_ref){var anchor=_ref.anchor,popover=_ref.popover,_ref$align=_ref.align,align=void 0===_ref$align?null:_ref$align,position=_ref.position,forcePosition=_ref.forcePosition,_ref$buffer=_ref.buffer,buffer=void 0===_ref$buffer?16:_ref$buffer,_ref$offset=_ref.offset,offset=void 0===_ref$offset?0:_ref$offset,_ref$allowCrossAxis=_ref.allowCrossAxis,allowCrossAxis=void 0===_ref$allowCrossAxis||_ref$allowCrossAxis,container=_ref.container,arrowConfig=_ref.arrowConfig;var anchorBoundingBox=getElementBoundingBox(anchor);var popoverBoundingBox=getElementBoundingBox(popover);var documentWidth=document.documentElement.clientWidth||window.innerWidth;var documentHeight=document.documentElement.clientHeight||window.innerHeight;var windowBoundingBox={top:0,right:documentWidth,bottom:documentHeight,left:0,height:documentHeight,width:documentWidth};var containerBoundingBox=container?getElementBoundingBox(container):windowBoundingBox;var iterationPositions=[position];var iterationAlignments=[align];if(true!==forcePosition){iterationPositions.push(positionComplements[position]);iterationAlignments.push(align);if(allowCrossAxis){iterationPositions.push(positionSubstitutes[position],positionComplements[positionSubstitutes[position]]);iterationAlignments.push(null,null)}}else(position===align||null!=align&&position===positionComplements[align])&&(iterationAlignments[0]=null);var bestFit=-Infinity;var bestPosition=null;for(var idx=0;idx<iterationPositions.length;idx++){var iterationPosition=iterationPositions[idx];var screenCoordinates=getPopoverScreenCoordinates({position:iterationPosition,align:iterationAlignments[idx],anchorBoundingBox:anchorBoundingBox,popoverBoundingBox:popoverBoundingBox,windowBoundingBox:windowBoundingBox,containerBoundingBox:containerBoundingBox,offset:offset,buffer:buffer,arrowConfig:arrowConfig});if(screenCoordinates.fit>bestFit){bestFit=screenCoordinates.fit;bestPosition={fit:screenCoordinates.fit,position:iterationPosition,top:screenCoordinates.top+window.pageYOffset,left:screenCoordinates.left+window.pageXOffset,arrow:screenCoordinates.arrow};if(1===bestFit)break}}return bestPosition}function getPopoverScreenCoordinates(_ref2){var _popoverPlacement,_ref3;var position=_ref2.position,_ref2$align=_ref2.align,align=void 0===_ref2$align?null:_ref2$align,anchorBoundingBox=_ref2.anchorBoundingBox,popoverBoundingBox=_ref2.popoverBoundingBox,windowBoundingBox=_ref2.windowBoundingBox,containerBoundingBox=_ref2.containerBoundingBox,arrowConfig=_ref2.arrowConfig,_ref2$offset=_ref2.offset,offset=void 0===_ref2$offset?0:_ref2$offset,_ref2$buffer=_ref2.buffer,buffer=void 0===_ref2$buffer?0:_ref2$buffer;var crossAxisFirstSide=positionSubstitutes[position];var crossAxisSecondSide=positionComplements[crossAxisFirstSide];var crossAxisDimension=relatedDimension[crossAxisFirstSide];var _getCrossAxisPosition=getCrossAxisPosition({crossAxisFirstSide:crossAxisFirstSide,crossAxisSecondSide:crossAxisSecondSide,crossAxisDimension:crossAxisDimension,position:position,align:align,buffer:buffer,offset:offset,windowBoundingBox:windowBoundingBox,containerBoundingBox:containerBoundingBox,popoverBoundingBox:popoverBoundingBox,anchorBoundingBox:anchorBoundingBox,arrowConfig:arrowConfig}),crossAxisPosition=_getCrossAxisPosition.crossAxisPosition,crossAxisArrowPosition=_getCrossAxisPosition.crossAxisArrowPosition;var primaryAxisDimension=relatedDimension[position];var primaryAxisPositionName=dimensionPositionAttribute[primaryAxisDimension];var _getPrimaryAxisPositi=getPrimaryAxisPosition({position:position,offset:offset,popoverBoundingBox:popoverBoundingBox,anchorBoundingBox:anchorBoundingBox,arrowConfig:arrowConfig}),primaryAxisPosition=_getPrimaryAxisPositi.primaryAxisPosition,primaryAxisArrowPosition=_getPrimaryAxisPositi.primaryAxisArrowPosition;var popoverPlacement=(_popoverPlacement={},_defineProperty(_popoverPlacement,crossAxisFirstSide,crossAxisPosition),_defineProperty(_popoverPlacement,primaryAxisPositionName,primaryAxisPosition),_popoverPlacement);var combinedBoundingBox=intersectBoundingBoxes(windowBoundingBox,containerBoundingBox);combinedBoundingBox.top+=buffer;combinedBoundingBox.right-=buffer;combinedBoundingBox.bottom-=buffer;combinedBoundingBox.left+=buffer;var fit=getVisibleFit({top:popoverPlacement.top,right:popoverPlacement.left+popoverBoundingBox.width,bottom:popoverPlacement.top+popoverBoundingBox.height,left:popoverPlacement.left,width:popoverBoundingBox.width,height:popoverBoundingBox.height},combinedBoundingBox);var arrow=arrowConfig?(_ref3={},_defineProperty(_ref3,crossAxisFirstSide,crossAxisArrowPosition-popoverPlacement[crossAxisFirstSide]),_defineProperty(_ref3,primaryAxisPositionName,primaryAxisArrowPosition),_ref3):void 0;return{fit:fit,top:popoverPlacement.top,left:popoverPlacement.left,arrow:arrow}}function getCrossAxisPosition(_ref4){var crossAxisFirstSide=_ref4.crossAxisFirstSide,crossAxisSecondSide=_ref4.crossAxisSecondSide,crossAxisDimension=_ref4.crossAxisDimension,position=_ref4.position,align=_ref4.align,buffer=_ref4.buffer,offset=_ref4.offset,windowBoundingBox=_ref4.windowBoundingBox,containerBoundingBox=_ref4.containerBoundingBox,popoverBoundingBox=_ref4.popoverBoundingBox,anchorBoundingBox=_ref4.anchorBoundingBox,arrowConfig=_ref4.arrowConfig;var popoverSizeOnCrossAxis=popoverBoundingBox[crossAxisDimension];var anchorSizeOnCrossAxis=anchorBoundingBox[crossAxisDimension];var anchorHalfSize=anchorSizeOnCrossAxis/2;var crossAxisPositionOriginal=anchorBoundingBox[crossAxisFirstSide]+anchorHalfSize-popoverSizeOnCrossAxis/2;var combinedBoundingBox=intersectBoundingBoxes(windowBoundingBox,containerBoundingBox);var availableSpace=getAvailableSpace(anchorBoundingBox,combinedBoundingBox,buffer,offset,position);var minimumSpace=arrowConfig?arrowConfig.arrowBuffer:0;var contentOverflowSize=(popoverSizeOnCrossAxis-anchorSizeOnCrossAxis)/2;var alignAmount=0;var alignDirection=1;var amountOfShiftNeeded=0;var shiftDirection=1;if(null!=align){alignDirection="top"===align||"left"===align?1:-1;alignAmount=contentOverflowSize;var alignedOverflowAmount=contentOverflowSize+alignAmount;var needsShift=alignedOverflowAmount>availableSpace[positionComplements[align]];amountOfShiftNeeded=needsShift?alignedOverflowAmount-availableSpace[positionComplements[align]]:0;shiftDirection=-1*alignDirection}else{var spaceAvailableOnFirstSide=availableSpace[crossAxisFirstSide];var spaceAvailableOnSecondSide=availableSpace[crossAxisSecondSide];var isShiftTowardFirstSide=spaceAvailableOnFirstSide>spaceAvailableOnSecondSide;shiftDirection=isShiftTowardFirstSide?-1:1;var leastAvailableSpace=Math.min(spaceAvailableOnFirstSide,spaceAvailableOnSecondSide);var _needsShift=contentOverflowSize>leastAvailableSpace;amountOfShiftNeeded=_needsShift?contentOverflowSize-leastAvailableSpace:0}var shiftAmount=amountOfShiftNeeded*shiftDirection;var crossAxisPosition=crossAxisPositionOriginal+shiftAmount+alignAmount*alignDirection;var crossAxisArrowPosition;if(arrowConfig){var _arrowWidth=arrowConfig.arrowWidth;crossAxisArrowPosition=anchorBoundingBox[crossAxisFirstSide]+anchorHalfSize-_arrowWidth/2;if(crossAxisArrowPosition<crossAxisPosition+minimumSpace){var difference=crossAxisPosition+minimumSpace-crossAxisArrowPosition;crossAxisPosition-=difference}else if(crossAxisArrowPosition+minimumSpace+_arrowWidth>crossAxisPosition+popoverSizeOnCrossAxis){var edge=crossAxisPosition+popoverSizeOnCrossAxis;var _difference=crossAxisArrowPosition-(edge-minimumSpace-_arrowWidth);crossAxisPosition+=_difference}}return{crossAxisPosition:crossAxisPosition,crossAxisArrowPosition:crossAxisArrowPosition}}function getPrimaryAxisPosition(_ref5){var position=_ref5.position,offset=_ref5.offset,popoverBoundingBox=_ref5.popoverBoundingBox,anchorBoundingBox=_ref5.anchorBoundingBox,arrowConfig=_ref5.arrowConfig;var isOffsetDecreasing="top"===position||"left"===position;var primaryAxisDimension=relatedDimension[position];var popoverSizeOnPrimaryAxis=popoverBoundingBox[primaryAxisDimension];var primaryAxisPositionName=dimensionPositionAttribute[primaryAxisDimension];var anchorEdgeOrigin=anchorBoundingBox[primaryAxisPositionName];var anchorSizeOnPrimaryAxis=anchorBoundingBox[primaryAxisDimension];var primaryAxisOffset=isOffsetDecreasing?popoverSizeOnPrimaryAxis:anchorSizeOnPrimaryAxis;var contentOffset=(offset+primaryAxisOffset)*(isOffsetDecreasing?-1:1);var primaryAxisPosition=anchorEdgeOrigin+contentOffset;var primaryAxisArrowPosition;arrowConfig&&(primaryAxisArrowPosition=isOffsetDecreasing?popoverSizeOnPrimaryAxis:0);return{primaryAxisPosition:primaryAxisPosition,primaryAxisArrowPosition:primaryAxisArrowPosition}}function getElementBoundingBox(element){var rect=element.getBoundingClientRect();return{top:rect.top,right:rect.right,bottom:rect.bottom,left:rect.left,height:rect.height,width:rect.width}}function getAvailableSpace(anchorBoundingBox,containerBoundingBox,buffer,offset,offsetSide){return{top:anchorBoundingBox.top-containerBoundingBox.top-buffer-("top"===offsetSide?offset:0),right:containerBoundingBox.right-anchorBoundingBox.right-buffer-("right"===offsetSide?offset:0),bottom:containerBoundingBox.bottom-anchorBoundingBox.bottom-buffer-("bottom"===offsetSide?offset:0),left:anchorBoundingBox.left-containerBoundingBox.left-buffer-("left"===offsetSide?offset:0)}}function getVisibleFit(contentBoundingBox,containerBoundingBox){var intersection=intersectBoundingBoxes(contentBoundingBox,containerBoundingBox);if(intersection.left>intersection.right||intersection.top>intersection.top)return 0;var intersectionArea=(intersection.right-intersection.left)*(intersection.bottom-intersection.top);var contentArea=(contentBoundingBox.right-contentBoundingBox.left)*(contentBoundingBox.bottom-contentBoundingBox.top);return intersectionArea/contentArea}function intersectBoundingBoxes(firstBox,secondBox){var top=Math.max(firstBox.top,secondBox.top);var right=Math.min(firstBox.right,secondBox.right);var bottom=Math.min(firstBox.bottom,secondBox.bottom);var left=Math.max(firstBox.left,secondBox.left);var height=Math.max(bottom-top,0);var width=Math.max(right-left,0);return{top:top,right:right,bottom:bottom,left:left,height:height,width:width}}function getElementZIndex(element,cousin){var nodesToInspect=[];while(true){nodesToInspect.push(element);element=element.offsetParent;if(null==element)break;if(element.contains(cousin))break}nodesToInspect.reverse();for(var _i=0;_i<nodesToInspect.length;_i++){var node=nodesToInspect[_i];var zIndex=window.document.defaultView.getComputedStyle(node).getPropertyValue("z-index");if(!isNaN(parseInt(zIndex,10)))return zIndex}return"0"}},function(module,exports,__webpack_require__){"use strict";__webpack_require__(3);__webpack_require__(4);__webpack_require__(2);Object.defineProperty(exports,"__esModule",{value:true});var _prop_types=__webpack_require__(230);Object.keys(_prop_types).forEach(function(key){if("default"===key||"__esModule"===key)return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _prop_types[key]}})})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.withRequiredProp=void 0;var withRequiredProp=function withRequiredProp(proptype,requiredPropName,messageDescription){var validator=function validator(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var props=args[0],propName=args[1];var result=proptype.apply(void 0,args);null==result&&null!=props[propName]&&null==props[requiredPropName]&&(result=new Error('Property "'.concat(propName,'" was passed without corresponding property "').concat(requiredPropName,'"').concat(messageDescription?"; ".concat(messageDescription):"")));return result};return validator};exports.withRequiredProp=withRequiredProp},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiToolTip=exports.DELAY=exports.POSITIONS=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(9);__webpack_require__(383);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _portal=__webpack_require__(182);var _tool_tip_popover=__webpack_require__(1087);var _services=__webpack_require__(25);var _make_id=_interopRequireDefault(__webpack_require__(231));var _mutation_observer=__webpack_require__(281);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var positionsToClassNameMap={top:"euiToolTip--top",right:"euiToolTip--right",bottom:"euiToolTip--bottom",left:"euiToolTip--left"};var POSITIONS=Object.keys(positionsToClassNameMap);exports.POSITIONS=POSITIONS;var delayToClassNameMap={regular:null,long:"euiToolTip--delayLong"};var DELAY=Object.keys(delayToClassNameMap);exports.DELAY=DELAY;var DEFAULT_TOOLTIP_STYLES={top:50,left:50,opacity:0};var EuiToolTip=function(_Component){_inherits(EuiToolTip,_Component);function EuiToolTip(props){var _this;_classCallCheck(this,EuiToolTip);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiToolTip).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"testAnchor",function(){false===document.body.contains(_this.anchor)?_this.hideToolTip():_this.state.visible&&requestAnimationFrame(_this.testAnchor)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setPopoverRef",function(ref){_this.popover=ref;null==ref&&_this.setState({toolTipStyles:DEFAULT_TOOLTIP_STYLES,arrowStyles:{}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"showToolTip",function(){_this.setState({visible:true})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"positionToolTip",function(){var requestedPosition=_this.props.position;var _findPopoverPosition=(0,_services.findPopoverPosition)({anchor:_this.anchor,popover:_this.popover,position:requestedPosition,offset:16,arrowConfig:{arrowWidth:12,arrowBuffer:4}}),position=_findPopoverPosition.position,left=_findPopoverPosition.left,top=_findPopoverPosition.top,arrow=_findPopoverPosition.arrow;var toolTipStyles={top:top,left:left};_this.setState({visible:true,calculatedPosition:position,toolTipStyles:toolTipStyles,arrowStyles:arrow})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"hideToolTip",function(){_this._isMounted&&_this.setState({visible:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onFocus",function(){_this.setState({hasFocus:true});_this.showToolTip()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onBlur",function(){_this.setState({hasFocus:false});_this.hideToolTip()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onMouseOut",function(e){_this.anchor!==e.relatedTarget&&_this.anchor.contains(e.relatedTarget)||_this.state.hasFocus||_this.hideToolTip();_this.props.onMouseOut&&_this.props.onMouseOut()});_this.state={visible:false,hasFocus:false,calculatedPosition:_this.props.position,toolTipStyles:DEFAULT_TOOLTIP_STYLES,arrowStyles:{},id:_this.props.id||(0,_make_id.default)()};return _this}_createClass(EuiToolTip,[{key:"componentDidMount",value:function componentDidMount(){this._isMounted=true}},{key:"componentWillUnmount",value:function componentWillUnmount(){this._isMounted=false}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps,prevState){false===prevState.visible&&true===this.state.visible&&requestAnimationFrame(this.testAnchor)}},{key:"render",value:function render(){var _this2=this;var _this$props=this.props,children=_this$props.children,className=_this$props.className,anchorClassName=_this$props.anchorClassName,content=_this$props.content,title=_this$props.title,delay=_this$props.delay,rest=_objectWithoutProperties(_this$props,["children","className","anchorClassName","content","title","delay"]);var _this$state=this.state,arrowStyles=_this$state.arrowStyles,id=_this$state.id,toolTipStyles=_this$state.toolTipStyles,visible=_this$state.visible;var classes=(0,_classnames.default)("euiToolTip",positionsToClassNameMap[this.state.calculatedPosition],delayToClassNameMap[delay],className);var anchorClasses=(0,_classnames.default)("euiToolTipAnchor",anchorClassName);var tooltip;visible&&(content||title)&&(tooltip=_react.default.createElement(_portal.EuiPortal,null,_react.default.createElement(_tool_tip_popover.EuiToolTipPopover,_extends({className:classes,style:toolTipStyles,positionToolTip:this.positionToolTip,popoverRef:this.setPopoverRef,title:title,id:id,role:"tooltip"},rest),_react.default.createElement("div",{style:arrowStyles,className:"euiToolTip__arrow"}),_react.default.createElement(_mutation_observer.EuiMutationObserver,{observerOptions:{subtree:true,childList:true,characterData:true,attributes:true},onMutation:this.positionToolTip},function(mutationRef){return _react.default.createElement("div",{ref:mutationRef},content)}))));var anchor=_react.default.createElement("span",{ref:function ref(anchor){return _this2.anchor=anchor},className:anchorClasses,onMouseOver:this.showToolTip,onMouseOut:this.onMouseOut},(0,_react.cloneElement)(children,{onFocus:this.showToolTip,onBlur:this.hideToolTip,"aria-describedby":this.state.id}));return _react.default.createElement(_react.Fragment,null,anchor,tooltip)}}]);return EuiToolTip}(_react.Component);exports.EuiToolTip=EuiToolTip;EuiToolTip.propTypes={children:_propTypes.default.element.isRequired,content:_propTypes.default.node,title:_propTypes.default.node,position:_propTypes.default.oneOf(POSITIONS),delay:_propTypes.default.oneOf(DELAY),className:_propTypes.default.string,id:_propTypes.default.string};EuiToolTip.defaultProps={position:"top",delay:"regular"};EuiToolTip.__docgenInfo={description:"",methods:[{name:"testAnchor",docblock:null,modifiers:[],params:[],returns:null},{name:"setPopoverRef",docblock:null,modifiers:[],params:[{name:"ref",type:null}],returns:null},{name:"showToolTip",docblock:null,modifiers:[],params:[],returns:null},{name:"positionToolTip",docblock:null,modifiers:[],params:[],returns:null},{name:"hideToolTip",docblock:null,modifiers:[],params:[],returns:null},{name:"onFocus",docblock:null,modifiers:[],params:[],returns:null},{name:"onBlur",docblock:null,modifiers:[],params:[],returns:null},{name:"onMouseOut",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null}],displayName:"EuiToolTip",props:{position:{defaultValue:{value:"'top'",computed:false},type:{name:"enum",value:[{value:'"top"',computed:false},{value:'"right"',computed:false},{value:'"bottom"',computed:false},{value:'"left"',computed:false}]},required:false,description:"Suggested position. If there is not enough room for it this will be changed."},delay:{defaultValue:{value:"'regular'",computed:false},type:{name:"enum",value:[{value:'"regular"',computed:false},{value:'"long"',computed:false}]},required:false,description:"Delay before showing tooltip. Good for repeatable items."},children:{type:{name:"element"},required:true,description:"The in-view trigger for your tooltip."},content:{type:{name:"node"},required:false,description:"The main content of your tooltip."},title:{type:{name:"node"},required:false,description:"An optional title for your tooltip."},className:{type:{name:"string"},required:false,description:"Passes onto the tooltip itself, not the trigger."},id:{type:{name:"string"},required:false,description:"Unless you provide one, this will be randomly generated."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiNotificationBadge",{enumerable:true,get:function get(){return _badge_notification.EuiNotificationBadge}});var _badge_notification=__webpack_require__(1089)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiBreadcrumbs",{enumerable:true,get:function get(){return _breadcrumbs.EuiBreadcrumbs}});var _breadcrumbs=__webpack_require__(1098)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiButton=exports.ICON_SIDES=exports.SIZES=exports.COLORS=void 0;__webpack_require__(5);__webpack_require__(590);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _loading=__webpack_require__(183);var _services=__webpack_require__(25);var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var colorToClassNameMap={primary:"euiButton--primary",secondary:"euiButton--secondary",warning:"euiButton--warning",danger:"euiButton--danger",ghost:"euiButton--ghost",text:"euiButton--text"};var COLORS=Object.keys(colorToClassNameMap);exports.COLORS=COLORS;var sizeToClassNameMap={s:"euiButton--small",l:"euiButton--large"};var SIZES=Object.keys(sizeToClassNameMap);exports.SIZES=SIZES;var iconSideToClassNameMap={left:null,right:"euiButton--iconRight"};var ICON_SIDES=Object.keys(iconSideToClassNameMap);exports.ICON_SIDES=ICON_SIDES;var EuiButton=function EuiButton(_ref){var children=_ref.children,className=_ref.className,iconType=_ref.iconType,iconSide=_ref.iconSide,color=_ref.color,size=_ref.size,fill=_ref.fill,isDisabled=_ref.isDisabled,isLoading=_ref.isLoading,href=_ref.href,target=_ref.target,rel=_ref.rel,type=_ref.type,buttonRef=_ref.buttonRef,contentProps=_ref.contentProps,textProps=_ref.textProps,fullWidth=_ref.fullWidth,rest=_objectWithoutProperties(_ref,["children","className","iconType","iconSide","color","size","fill","isDisabled","isLoading","href","target","rel","type","buttonRef","contentProps","textProps","fullWidth"]);isDisabled=!!isLoading||isDisabled;var classes=(0,_classnames.default)("euiButton",colorToClassNameMap[color],sizeToClassNameMap[size],iconSideToClassNameMap[iconSide],className,{"euiButton--fill":fill,"euiButton--fullWidth":fullWidth});var contentClassNames=(0,_classnames.default)("euiButton__content",contentProps&&contentProps.className);var textClassNames=(0,_classnames.default)("euiButton__text",textProps&&textProps.className);var buttonIcon;isLoading?buttonIcon=_react.default.createElement(_loading.EuiLoadingSpinner,{className:"euiButton__spinner",size:"m"}):iconType&&(buttonIcon=_react.default.createElement(_icon.EuiIcon,{className:"euiButton__icon",type:iconType,size:"m","aria-hidden":"true"}));var innerNode=_react.default.createElement("span",_extends({},contentProps,{className:contentClassNames}),buttonIcon,_react.default.createElement("span",_extends({},textProps,{className:textClassNames}),children));if(href&&!isDisabled){var secureRel=(0,_services.getSecureRelForTarget)({href:href,target:target,rel:rel});return _react.default.createElement("a",_extends({className:classes,href:href,target:target,rel:secureRel,ref:buttonRef},rest),innerNode)}return _react.default.createElement("button",_extends({disabled:isDisabled,className:classes,type:type,ref:buttonRef},rest),innerNode)};exports.EuiButton=EuiButton;EuiButton.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,iconType:_propTypes.default.oneOf(_icon.ICON_TYPES),iconSide:_propTypes.default.oneOf(ICON_SIDES),fill:_propTypes.default.bool,color:_propTypes.default.oneOf(COLORS),size:_propTypes.default.oneOf(SIZES),fullWidth:_propTypes.default.bool,isDisabled:_propTypes.default.bool,href:_propTypes.default.string,target:_propTypes.default.string,rel:_propTypes.default.string,onClick:_propTypes.default.func,isLoading:_propTypes.default.bool,type:_propTypes.default.string,buttonRef:_propTypes.default.func,contentProps:_propTypes.default.object,textProps:_propTypes.default.object};EuiButton.defaultProps={type:"button",iconSide:"left",color:"primary",fill:false};EuiButton.__docgenInfo={description:"",methods:[],displayName:"EuiButton",props:{type:{defaultValue:{value:"'button'",computed:false},type:{name:"string"},required:false,description:"Standard HTML attribute"},iconSide:{defaultValue:{value:"'left'",computed:false},type:{name:"enum",value:[{value:'"left"',computed:false},{value:'"right"',computed:false}]},required:false,description:""},color:{defaultValue:{value:"'primary'",computed:false},type:{name:"enum",value:[{value:'"primary"',computed:false},{value:'"secondary"',computed:false},{value:'"warning"',computed:false},{value:'"danger"',computed:false},{value:'"ghost"',computed:false},{value:'"text"',computed:false}]},required:false,description:"Define the color of the button"},fill:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Add more focus to an action"},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},iconType:{type:{name:"enum",computed:true,value:"ICON_TYPES"},required:false,description:"See EuiIcon"},size:{type:{name:"enum",value:[{value:'"s"',computed:false},{value:'"l"',computed:false}]},required:false,description:""},fullWidth:{type:{name:"bool"},required:false,description:"Expands button to fill the width of the parent"},isDisabled:{type:{name:"bool"},required:false,description:""},href:{type:{name:"string"},required:false,description:""},target:{type:{name:"string"},required:false,description:""},rel:{type:{name:"string"},required:false,description:""},onClick:{type:{name:"func"},required:false,description:""},isLoading:{type:{name:"bool"},required:false,description:"Adds/swaps for loading spinner & disables"},buttonRef:{type:{name:"func"},required:false,description:""},contentProps:{type:{name:"object"},required:false,description:"Passes props to `euiButton__content` span"},textProps:{type:{name:"object"},required:false,description:"Passes props to `euiButton__text` span"}}}},function(module,exports,__webpack_require__){var $export=__webpack_require__(41);$export($export.P,"Array",{fill:__webpack_require__(1100)});__webpack_require__(221)("fill")},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiLoadingChart=exports.SIZES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var sizeToClassNameMap={m:"euiLoadingChart--medium",l:"euiLoadingChart--large",xl:"euiLoadingChart--xLarge"};var SIZES=Object.keys(sizeToClassNameMap);exports.SIZES=SIZES;var EuiLoadingChart=function EuiLoadingChart(_ref){var size=_ref.size,mono=_ref.mono,className=_ref.className,rest=_objectWithoutProperties(_ref,["size","mono","className"]);var classes=(0,_classnames.default)("euiLoadingChart",true===mono?"euiLoadingChart--mono":"",className,sizeToClassNameMap[size]);return _react.default.createElement("div",_extends({className:classes},rest),_react.default.createElement("div",{className:"euiLoadingChart__bar"}),_react.default.createElement("div",{className:"euiLoadingChart__bar"}),_react.default.createElement("div",{className:"euiLoadingChart__bar"}),_react.default.createElement("div",{className:"euiLoadingChart__bar"}))};exports.EuiLoadingChart=EuiLoadingChart;EuiLoadingChart.propTypes={mono:_propTypes.default.bool,size:_propTypes.default.oneOf(SIZES)};EuiLoadingChart.defaultProps={mono:false};EuiLoadingChart.__docgenInfo={description:"",methods:[],displayName:"EuiLoadingChart",props:{mono:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},size:{type:{name:"enum",value:[{value:'"m"',computed:false},{value:'"l"',computed:false},{value:'"xl"',computed:false}]},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiButtonIcon=exports.COLORS=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _services=__webpack_require__(25);var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var accessibleButtonIcon=function accessibleButtonIcon(props,propName,componentName){if(props["aria-label"])return;if(props["aria-labelledby"])return;throw new Error("".concat(componentName," requires aria-label or aria-labelledby to be specified because icon-only\n    buttons are screen-reader-inaccessible without them."))};var colorToClassNameMap={danger:"euiButtonIcon--danger",disabled:"euiButtonIcon--disabled",ghost:"euiButtonIcon--ghost",primary:"euiButtonIcon--primary",subdued:"euiButtonIcon--subdued",success:"euiButtonIcon--success",text:"euiButtonIcon--text",warning:"euiButtonIcon--warning"};var COLORS=Object.keys(colorToClassNameMap);exports.COLORS=COLORS;var EuiButtonIcon=function EuiButtonIcon(_ref){var className=_ref.className,iconType=_ref.iconType,iconSize=_ref.iconSize,color=_ref.color,isDisabled=_ref.isDisabled,href=_ref.href,type=_ref.type,target=_ref.target,rel=_ref.rel,buttonRef=_ref.buttonRef,rest=_objectWithoutProperties(_ref,["className","iconType","iconSize","color","isDisabled","href","type","target","rel","buttonRef"]);var classes=(0,_classnames.default)("euiButtonIcon",colorToClassNameMap[color],className);var buttonIcon;iconType&&(buttonIcon=_react.default.createElement(_icon.EuiIcon,{className:"euiButtonIcon__icon",type:iconType,size:iconSize,"aria-hidden":"true"}));if(href&&!isDisabled){var secureRel=(0,_services.getSecureRelForTarget)({href:href,target:target,rel:rel});return _react.default.createElement("a",_extends({className:classes,href:href,target:target,rel:secureRel,ref:buttonRef},rest),buttonIcon)}return _react.default.createElement("button",_extends({disabled:isDisabled,className:classes,type:type,ref:buttonRef},rest),buttonIcon)};exports.EuiButtonIcon=EuiButtonIcon;EuiButtonIcon.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,iconType:_propTypes.default.oneOf(_icon.ICON_TYPES),iconSize:_propTypes.default.oneOf(_icon.ICON_SIZES),color:_propTypes.default.oneOf(COLORS),isDisabled:_propTypes.default.bool,"aria-label":accessibleButtonIcon,href:_propTypes.default.string,target:_propTypes.default.string,rel:_propTypes.default.string,onClick:_propTypes.default.func,type:_propTypes.default.string,buttonRef:_propTypes.default.func};EuiButtonIcon.defaultProps={type:"button",color:"primary",iconSize:"m"};EuiButtonIcon.__docgenInfo={description:"",methods:[],displayName:"EuiButtonIcon",props:{type:{defaultValue:{value:"'button'",computed:false},type:{name:"string"},required:false,description:""},color:{defaultValue:{value:"'primary'",computed:false},type:{name:"enum",value:[{value:'"danger"',computed:false},{value:'"disabled"',computed:false},{value:'"ghost"',computed:false},{value:'"primary"',computed:false},{value:'"subdued"',computed:false},{value:'"success"',computed:false},{value:'"text"',computed:false},{value:'"warning"',computed:false}]},required:false,description:""},iconSize:{defaultValue:{value:"'m'",computed:false},type:{name:"enum",computed:true,value:"ICON_SIZES"},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},iconType:{type:{name:"enum",computed:true,value:"ICON_TYPES"},required:false,description:""},isDisabled:{type:{name:"bool"},required:false,description:""},"aria-label":{type:{name:"custom",raw:"accessibleButtonIcon"},required:false,description:""},href:{type:{name:"string"},required:false,description:""},target:{type:{name:"string"},required:false,description:""},rel:{type:{name:"string"},required:false,description:""},onClick:{type:{name:"func"},required:false,description:""},buttonRef:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiButtonToggle",{enumerable:true,get:function get(){return _button_toggle.EuiButtonToggle}});var _button_toggle=__webpack_require__(1105)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiCallOut",{enumerable:true,get:function get(){return _call_out.EuiCallOut}});var _call_out=__webpack_require__(1109)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiText=exports.TEXT_SIZES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _text_color=__webpack_require__(596);var _text_align=__webpack_require__(597);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var textSizeToClassNameMap={xs:"euiText--extraSmall",s:"euiText--small",m:"euiText--medium"};var TEXT_SIZES=Object.keys(textSizeToClassNameMap);exports.TEXT_SIZES=TEXT_SIZES;var EuiText=function EuiText(_ref){var size=_ref.size,color=_ref.color,grow=_ref.grow,textAlign=_ref.textAlign,children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["size","color","grow","textAlign","children","className"]);var classes=(0,_classnames.default)("euiText",textSizeToClassNameMap[size],className,{"euiText--constrainedWidth":!grow});var optionallyAlteredText;color&&(optionallyAlteredText=_react.default.createElement(_text_color.EuiTextColor,{color:color,component:"div"},children));textAlign&&(optionallyAlteredText=_react.default.createElement(_text_align.EuiTextAlign,{textAlign:textAlign},optionallyAlteredText||children));return _react.default.createElement("div",_extends({className:classes},rest),optionallyAlteredText||children)};exports.EuiText=EuiText;EuiText.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,size:_propTypes.default.oneOf(TEXT_SIZES),color:_propTypes.default.oneOf(_text_color.COLORS),textAlign:_propTypes.default.oneOf(_text_align.ALIGNMENTS),grow:_propTypes.default.bool};EuiText.defaultProps={grow:true,size:"m"};EuiText.__docgenInfo={description:"",methods:[],displayName:"EuiText",props:{grow:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:""},size:{defaultValue:{value:"'m'",computed:false},type:{name:"enum",value:[{value:'"xs"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false}]},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},color:{type:{name:"enum",computed:true,value:"COLORS"},required:false,description:""},textAlign:{type:{name:"enum",computed:true,value:"ALIGNMENTS"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTextColor=exports.COLORS=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var colorsToClassNameMap={default:"euiTextColor--default",subdued:"euiTextColor--subdued",secondary:"euiTextColor--secondary",accent:"euiTextColor--accent",danger:"euiTextColor--danger",warning:"euiTextColor--warning",ghost:"euiTextColor--ghost"};var COLORS=Object.keys(colorsToClassNameMap);exports.COLORS=COLORS;var EuiTextColor=function EuiTextColor(_ref){var children=_ref.children,color=_ref.color,className=_ref.className,Component=_ref.component,rest=_objectWithoutProperties(_ref,["children","color","className","component"]);var classes=(0,_classnames.default)("euiTextColor",colorsToClassNameMap[color],className);return _react.default.createElement(Component,_extends({className:classes},rest),children)};exports.EuiTextColor=EuiTextColor;EuiTextColor.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,color:_propTypes.default.oneOf(COLORS),component:_propTypes.default.oneOf(["div","span"])};EuiTextColor.defaultProps={color:"default",component:"span"};EuiTextColor.__docgenInfo={description:"",methods:[],displayName:"EuiTextColor",props:{color:{defaultValue:{value:"'default'",computed:false},type:{name:"enum",value:[{value:'"default"',computed:false},{value:'"subdued"',computed:false},{value:'"secondary"',computed:false},{value:'"accent"',computed:false},{value:'"danger"',computed:false},{value:'"warning"',computed:false},{value:'"ghost"',computed:false}]},required:false,description:""},component:{defaultValue:{value:"'span'",computed:false},type:{name:"enum",value:[{value:"'div'",computed:false},{value:"'span'",computed:false}]},required:false,description:"Determines the root element"},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTextAlign=exports.ALIGNMENTS=exports.alignmentToClassNameMap=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var alignmentToClassNameMap={left:"euiTextAlign--left",right:"euiTextAlign--right",center:"euiTextAlign--center"};exports.alignmentToClassNameMap=alignmentToClassNameMap;var ALIGNMENTS=Object.keys(alignmentToClassNameMap);exports.ALIGNMENTS=ALIGNMENTS;var EuiTextAlign=function EuiTextAlign(_ref){var children=_ref.children,className=_ref.className,textAlign=_ref.textAlign,rest=_objectWithoutProperties(_ref,["children","className","textAlign"]);var classes=(0,_classnames.default)("euiTextAlign",alignmentToClassNameMap[textAlign],className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiTextAlign=EuiTextAlign;EuiTextAlign.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,textAlign:_propTypes.default.oneOf(ALIGNMENTS)};EuiTextAlign.defaultProps={textAlign:"left"};EuiTextAlign.__docgenInfo={description:"",methods:[],displayName:"EuiTextAlign",props:{textAlign:{defaultValue:{value:"'left'",computed:false},type:{name:"enum",value:[{value:'"left"',computed:false},{value:'"right"',computed:false},{value:'"center"',computed:false}]},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiCode",{enumerable:true,get:function get(){return _code.EuiCode}});Object.defineProperty(exports,"EuiCodeBlock",{enumerable:true,get:function get(){return _code_block.EuiCodeBlock}});Object.defineProperty(exports,"EuiCodeBlockImpl",{enumerable:true,get:function get(){return _code_block2.EuiCodeBlockImpl}});var _code=__webpack_require__(1113);var _code_block=__webpack_require__(1293);var _code_block2=__webpack_require__(388)},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(1298)()},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var editorOptions=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"];var editorEvents=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"];exports.editorOptions=editorOptions;exports.editorEvents=editorEvents},function(module,exports,__webpack_require__){(function(global){var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;module.exports=freeGlobal}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){var baseFor=__webpack_require__(1311),keys=__webpack_require__(234);function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}module.exports=baseForOwn},function(module,exports,__webpack_require__){var baseTimes=__webpack_require__(1313),isArguments=__webpack_require__(604),isArray=__webpack_require__(95),isBuffer=__webpack_require__(391),isIndex=__webpack_require__(605),isTypedArray=__webpack_require__(606);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)!inherited&&!hasOwnProperty.call(value,key)||skipIndexes&&("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length))||result.push(key);return result}module.exports=arrayLikeKeys},function(module,exports,__webpack_require__){var baseIsArguments=__webpack_require__(1314),isObjectLike=__webpack_require__(114);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;var propertyIsEnumerable=objectProto.propertyIsEnumerable;var isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};module.exports=isArguments},function(module,exports){var MAX_SAFE_INTEGER=9007199254740991;var reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(value,length){var type=typeof value;length=null==length?MAX_SAFE_INTEGER:length;return!!length&&("number"==type||"symbol"!=type&&reIsUint.test(value))&&value>-1&&value%1==0&&value<length}module.exports=isIndex},function(module,exports,__webpack_require__){var baseIsTypedArray=__webpack_require__(1316),baseUnary=__webpack_require__(393),nodeUtil=__webpack_require__(394);var nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray;var isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module.exports=isTypedArray},function(module,exports){function overArg(func,transform){return function(arg){return func(transform(arg))}}module.exports=overArg},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(154),isObject=__webpack_require__(184);var asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(value){if(!isObject(value))return false;var tag=baseGetTag(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}module.exports=isFunction},function(module,exports){function identity(value){return value}module.exports=identity},function(module,exports){function arrayMap(array,iteratee){var index=-1,length=null==array?0:array.length,result=Array(length);while(++index<length)result[index]=iteratee(array[index],index,array);return result}module.exports=arrayMap},function(module,exports){var funcProto=Function.prototype;var funcToString=funcProto.toString;function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}module.exports=toSource},function(module,exports,__webpack_require__){var baseIsEqualDeep=__webpack_require__(1351),isObjectLike=__webpack_require__(114);function baseIsEqual(value,other,bitmask,customizer,stack){if(value===other)return true;if(null==value||null==other||!isObjectLike(value)&&!isObjectLike(other))return value!==value&&other!==other;return baseIsEqualDeep(value,other,bitmask,customizer,baseIsEqual,stack)}module.exports=baseIsEqual},function(module,exports,__webpack_require__){var SetCache=__webpack_require__(1352),arraySome=__webpack_require__(1355),cacheHas=__webpack_require__(1356);var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return false;var stacked=stack.get(array);if(stacked&&stack.get(other))return stacked==other;var index=-1,result=true,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache:void 0;stack.set(array,other);stack.set(other,array);while(++index<arrLength){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(void 0!==compared){if(compared)continue;result=false;break}if(seen){if(!arraySome(other,function(othValue,othIndex){if(!cacheHas(seen,othIndex)&&(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack)))return seen.push(othIndex)})){result=false;break}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack))){result=false;break}}stack["delete"](array);stack["delete"](other);return result}module.exports=equalArrays},function(module,exports,__webpack_require__){var root=__webpack_require__(101);var Uint8Array=root.Uint8Array;module.exports=Uint8Array},function(module,exports,__webpack_require__){var baseGetAllKeys=__webpack_require__(616),getSymbols=__webpack_require__(401),keys=__webpack_require__(234);function getAllKeys(object){return baseGetAllKeys(object,keys,getSymbols)}module.exports=getAllKeys},function(module,exports,__webpack_require__){var arrayPush=__webpack_require__(617),isArray=__webpack_require__(95);function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray(object)?result:arrayPush(result,symbolsFunc(object))}module.exports=baseGetAllKeys},function(module,exports){function arrayPush(array,values){var index=-1,length=values.length,offset=array.length;while(++index<length)array[offset+index]=values[index];return array}module.exports=arrayPush},function(module,exports){function stubArray(){return[]}module.exports=stubArray},function(module,exports,__webpack_require__){var isObject=__webpack_require__(184);function isStrictComparable(value){return value===value&&!isObject(value)}module.exports=isStrictComparable},function(module,exports){function matchesStrictComparable(key,srcValue){return function(object){if(null==object)return false;return object[key]===srcValue&&(void 0!==srcValue||key in Object(object))}}module.exports=matchesStrictComparable},function(module,exports,__webpack_require__){var castPath=__webpack_require__(622),toKey=__webpack_require__(294);function baseGet(object,path){path=castPath(path,object);var index=0,length=path.length;while(null!=object&&index<length)object=object[toKey(path[index++])];return index&&index==length?object:void 0}module.exports=baseGet},function(module,exports,__webpack_require__){var isArray=__webpack_require__(95),isKey=__webpack_require__(402),stringToPath=__webpack_require__(1369),toString=__webpack_require__(1372);function castPath(value,object){if(isArray(value))return value;return isKey(value,object)?[value]:stringToPath(toString(value))}module.exports=castPath},function(module,exports,__webpack_require__){var baseAssignValue=__webpack_require__(624),eq=__webpack_require__(398);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function assignValue(object,key,value){var objValue=object[key];hasOwnProperty.call(object,key)&&eq(objValue,value)&&(void 0!==value||key in object)||baseAssignValue(object,key,value)}module.exports=assignValue},function(module,exports,__webpack_require__){var defineProperty=__webpack_require__(1387);function baseAssignValue(object,key,value){"__proto__"==key&&defineProperty?defineProperty(object,key,{configurable:true,enumerable:true,value:value,writable:true}):object[key]=value}module.exports=baseAssignValue},function(module,exports,__webpack_require__){var arrayLikeKeys=__webpack_require__(603),baseKeysIn=__webpack_require__(1390),isArrayLike=__webpack_require__(288);function keysIn(object){return isArrayLike(object)?arrayLikeKeys(object,true):baseKeysIn(object)}module.exports=keysIn},function(module,exports,__webpack_require__){var arrayPush=__webpack_require__(617),getPrototype=__webpack_require__(396),getSymbols=__webpack_require__(401),stubArray=__webpack_require__(618);var nativeGetSymbols=Object.getOwnPropertySymbols;var getSymbolsIn=nativeGetSymbols?function(object){var result=[];while(object){arrayPush(result,getSymbols(object));object=getPrototype(object)}return result}:stubArray;module.exports=getSymbolsIn},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Checkboard=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _checkboard=__webpack_require__(1415);var checkboard=_interopRequireWildcard(_checkboard);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Checkboard=exports.Checkboard=function Checkboard(_ref){var white=_ref.white,grey=_ref.grey,size=_ref.size,renderers=_ref.renderers,borderRadius=_ref.borderRadius,boxShadow=_ref.boxShadow;var styles=(0,_reactcss2.default)({default:{grid:{borderRadius:borderRadius,boxShadow:boxShadow,absolute:"0px 0px 0px 0px",background:"url("+checkboard.get(white,grey,size,renderers.canvas)+") center left"}}});return _react2.default.createElement("div",{style:styles.grid})};Checkboard.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};exports.default=Checkboard},function(module,exports,__webpack_require__){var isObject=__webpack_require__(185),now=__webpack_require__(1424),toNumber=__webpack_require__(1425);var FUNC_ERROR_TEXT="Expected a function";var nativeMax=Math.max,nativeMin=Math.min;function debounce(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=false,maxing=false,trailing=true;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);wait=toNumber(wait)||0;if(isObject(options)){leading=!!options.leading;maxing="maxWait"in options;maxWait=maxing?nativeMax(toNumber(options.maxWait)||0,wait):maxWait;trailing="trailing"in options?!!options.trailing:trailing}function invokeFunc(time){var args=lastArgs,thisArg=lastThis;lastArgs=lastThis=void 0;lastInvokeTime=time;result=func.apply(thisArg,args);return result}function leadingEdge(time){lastInvokeTime=time;timerId=setTimeout(timerExpired,wait);return leading?invokeFunc(time):result}function remainingWait(time){var timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime,timeWaiting=wait-timeSinceLastCall;return maxing?nativeMin(timeWaiting,maxWait-timeSinceLastInvoke):timeWaiting}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&timeSinceLastInvoke>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,remainingWait(time))}function trailingEdge(time){timerId=void 0;if(trailing&&lastArgs)return invokeFunc(time);lastArgs=lastThis=void 0;return result}function cancel(){void 0!==timerId&&clearTimeout(timerId);lastInvokeTime=0;lastArgs=lastCallTime=lastThis=timerId=void 0}function flush(){return void 0===timerId?result:trailingEdge(now())}function debounced(){var time=now(),isInvoking=shouldInvoke(time);lastArgs=arguments;lastThis=this;lastCallTime=time;if(isInvoking){if(void 0===timerId)return leadingEdge(lastCallTime);if(maxing){timerId=setTimeout(timerExpired,wait);return invokeFunc(lastCallTime)}}void 0===timerId&&(timerId=setTimeout(timerExpired,wait));return result}debounced.cancel=cancel;debounced.flush=flush;return debounced}module.exports=debounce},function(module,exports,__webpack_require__){(function(global){var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;module.exports=freeGlobal}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ColorWrap=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _debounce=__webpack_require__(628);var _debounce2=_interopRequireDefault(_debounce);var _color=__webpack_require__(83);var _color2=_interopRequireDefault(_color);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var ColorWrap=exports.ColorWrap=function ColorWrap(Picker){var ColorPicker=function(_ref){_inherits(ColorPicker,_ref);function ColorPicker(props){_classCallCheck(this,ColorPicker);var _this=_possibleConstructorReturn(this,(ColorPicker.__proto__||Object.getPrototypeOf(ColorPicker)).call(this));_this.handleChange=function(data,event){var isValidColor=_color2.default.simpleCheckForValidColor(data);if(isValidColor){var colors=_color2.default.toState(data,data.h||_this.state.oldHue);_this.setState(colors);_this.props.onChangeComplete&&_this.debounce(_this.props.onChangeComplete,colors,event);_this.props.onChange&&_this.props.onChange(colors,event)}};_this.handleSwatchHover=function(data,event){var isValidColor=_color2.default.simpleCheckForValidColor(data);if(isValidColor){var colors=_color2.default.toState(data,data.h||_this.state.oldHue);_this.setState(colors);_this.props.onSwatchHover&&_this.props.onSwatchHover(colors,event)}};_this.state=_extends({},_color2.default.toState(props.color,0));_this.debounce=(0,_debounce2.default)(function(fn,data,event){fn(data,event)},100);return _this}_createClass(ColorPicker,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){this.setState(_extends({},_color2.default.toState(nextProps.color,this.state.oldHue)))}},{key:"render",value:function render(){var optionalEvents={};this.props.onSwatchHover&&(optionalEvents.onSwatchHover=this.handleSwatchHover);return _react2.default.createElement(Picker,_extends({},this.props,this.state,{onChange:this.handleChange},optionalEvents))}}]);return ColorPicker}(_react.PureComponent||_react.Component);ColorPicker.propTypes=_extends({},Picker.propTypes);ColorPicker.defaultProps=_extends({},Picker.defaultProps,{color:{h:250,s:.5,l:.2,a:1}});return ColorPicker};exports.default=ColorWrap},function(module,exports,__webpack_require__){var baseForOwn=__webpack_require__(1432),createBaseEach=__webpack_require__(1446);var baseEach=createBaseEach(baseForOwn);module.exports=baseEach},function(module,exports,__webpack_require__){var baseIsArguments=__webpack_require__(1437),isObjectLike=__webpack_require__(236);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;var propertyIsEnumerable=objectProto.propertyIsEnumerable;var isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};module.exports=isArguments},function(module,exports,__webpack_require__){(function(module){var root=__webpack_require__(102),stubFalse=__webpack_require__(1438);var freeExports=(true,exports)&&!exports.nodeType&&exports;var freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module;var moduleExports=freeModule&&freeModule.exports===freeExports;var Buffer=moduleExports?root.Buffer:void 0;var nativeIsBuffer=Buffer?Buffer.isBuffer:void 0;var isBuffer=nativeIsBuffer||stubFalse;module.exports=isBuffer}).call(this,__webpack_require__(82)(module))},function(module,exports){var MAX_SAFE_INTEGER=9007199254740991;var reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(value,length){var type=typeof value;length=null==length?MAX_SAFE_INTEGER:length;return!!length&&("number"==type||"symbol"!=type&&reIsUint.test(value))&&value>-1&&value%1==0&&value<length}module.exports=isIndex},function(module,exports,__webpack_require__){var baseIsTypedArray=__webpack_require__(1439),baseUnary=__webpack_require__(1440),nodeUtil=__webpack_require__(1441);var nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray;var isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module.exports=isTypedArray},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(235),isObject=__webpack_require__(185);var asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(value){if(!isObject(value))return false;var tag=baseGetTag(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}module.exports=isFunction},function(module,exports){function identity(value){return value}module.exports=identity},function(module,exports){function arrayMap(array,iteratee){var index=-1,length=null==array?0:array.length,result=Array(length);while(++index<length)result[index]=iteratee(array[index],index,array);return result}module.exports=arrayMap},function(module,exports,__webpack_require__){var ListCache=__webpack_require__(298),stackClear=__webpack_require__(1462),stackDelete=__webpack_require__(1463),stackGet=__webpack_require__(1464),stackHas=__webpack_require__(1465),stackSet=__webpack_require__(1466);function Stack(entries){var data=this.__data__=new ListCache(entries);this.size=data.size}Stack.prototype.clear=stackClear;Stack.prototype["delete"]=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;module.exports=Stack},function(module,exports){function eq(value,other){return value===other||value!==value&&other!==other}module.exports=eq},function(module,exports){var funcProto=Function.prototype;var funcToString=funcProto.toString;function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}module.exports=toSource},function(module,exports,__webpack_require__){var baseIsEqualDeep=__webpack_require__(1483),isObjectLike=__webpack_require__(236);function baseIsEqual(value,other,bitmask,customizer,stack){if(value===other)return true;if(null==value||null==other||!isObjectLike(value)&&!isObjectLike(other))return value!==value&&other!==other;return baseIsEqualDeep(value,other,bitmask,customizer,baseIsEqual,stack)}module.exports=baseIsEqual},function(module,exports,__webpack_require__){var SetCache=__webpack_require__(1484),arraySome=__webpack_require__(1487),cacheHas=__webpack_require__(1488);var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return false;var stacked=stack.get(array);if(stacked&&stack.get(other))return stacked==other;var index=-1,result=true,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache:void 0;stack.set(array,other);stack.set(other,array);while(++index<arrLength){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(void 0!==compared){if(compared)continue;result=false;break}if(seen){if(!arraySome(other,function(othValue,othIndex){if(!cacheHas(seen,othIndex)&&(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack)))return seen.push(othIndex)})){result=false;break}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack))){result=false;break}}stack["delete"](array);stack["delete"](other);return result}module.exports=equalArrays},function(module,exports,__webpack_require__){var isObject=__webpack_require__(185);function isStrictComparable(value){return value===value&&!isObject(value)}module.exports=isStrictComparable},function(module,exports){function matchesStrictComparable(key,srcValue){return function(object){if(null==object)return false;return object[key]===srcValue&&(void 0!==srcValue||key in Object(object))}}module.exports=matchesStrictComparable},function(module,exports,__webpack_require__){var castPath=__webpack_require__(647),toKey=__webpack_require__(302);function baseGet(object,path){path=castPath(path,object);var index=0,length=path.length;while(null!=object&&index<length)object=object[toKey(path[index++])];return index&&index==length?object:void 0}module.exports=baseGet},function(module,exports,__webpack_require__){var isArray=__webpack_require__(103),isKey=__webpack_require__(410),stringToPath=__webpack_require__(1508),toString=__webpack_require__(1511);function castPath(value,object){if(isArray(value))return value;return isKey(value,object)?[value]:stringToPath(toString(value))}module.exports=castPath},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(root,factory){true;!(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_FACTORY__=factory,__WEBPACK_AMD_DEFINE_RESULT__="function"===typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__,void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})(0,function(){return{red:{50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},pink:{50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},purple:{50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},deepPurple:{50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},indigo:{50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},blue:{50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},lightBlue:{50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},cyan:{50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},teal:{50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},green:{50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},lightGreen:{50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},lime:{50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},yellow:{50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},amber:{50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},orange:{50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},deepOrange:{50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},brown:{50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},grey:{50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},blueGrey:{50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},darkText:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},lightText:{primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},darkIcons:{active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},lightIcons:{active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},white:"#ffffff",black:"#000000"}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ChromeFields=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _color=__webpack_require__(83);var _color2=_interopRequireDefault(_color);var _common=__webpack_require__(34);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var ChromeFields=exports.ChromeFields=function(_React$Component){_inherits(ChromeFields,_React$Component);function ChromeFields(){var _ref;var _temp,_this,_ret;_classCallCheck(this,ChromeFields);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=ChromeFields.__proto__||Object.getPrototypeOf(ChromeFields)).call.apply(_ref,[this].concat(args))),_this),_this.state={view:""},_this.toggleViews=function(){"hex"===_this.state.view?_this.setState({view:"rgb"}):"rgb"===_this.state.view?_this.setState({view:"hsl"}):"hsl"===_this.state.view&&(1===_this.props.hsl.a?_this.setState({view:"hex"}):_this.setState({view:"rgb"}))},_this.handleChange=function(data,e){if(data.hex)_color2.default.isValidHex(data.hex)&&_this.props.onChange({hex:data.hex,source:"hex"},e);else if(data.r||data.g||data.b)_this.props.onChange({r:data.r||_this.props.rgb.r,g:data.g||_this.props.rgb.g,b:data.b||_this.props.rgb.b,source:"rgb"},e);else if(data.a){data.a<0?data.a=0:data.a>1&&(data.a=1);_this.props.onChange({h:_this.props.hsl.h,s:_this.props.hsl.s,l:_this.props.hsl.l,a:Math.round(100*data.a)/100,source:"rgb"},e)}else(data.h||data.s||data.l)&&_this.props.onChange({h:data.h||_this.props.hsl.h,s:Number(data.s&&data.s||_this.props.hsl.s),l:Number(data.l&&data.l||_this.props.hsl.l),source:"hsl"},e)},_this.showHighlight=function(e){e.target.style.background="#eee"},_this.hideHighlight=function(e){e.target.style.background="transparent"},_temp),_possibleConstructorReturn(_this,_ret)}_createClass(ChromeFields,[{key:"componentDidMount",value:function componentDidMount(){1===this.props.hsl.a&&"hex"!==this.state.view?this.setState({view:"hex"}):"rgb"!==this.state.view&&"hsl"!==this.state.view&&this.setState({view:"rgb"})}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){1!==nextProps.hsl.a&&"hex"===this.state.view&&this.setState({view:"rgb"})}},{key:"render",value:function render(){var _this2=this;var styles=(0,_reactcss2.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state);var fields=void 0;"hex"===this.state.view?fields=_react2.default.createElement("div",{style:styles.fields,className:"flexbox-fix"},_react2.default.createElement("div",{style:styles.field},_react2.default.createElement(_common.EditableInput,{style:{input:styles.input,label:styles.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?fields=_react2.default.createElement("div",{style:styles.fields,className:"flexbox-fix"},_react2.default.createElement("div",{style:styles.field},_react2.default.createElement(_common.EditableInput,{style:{input:styles.input,label:styles.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),_react2.default.createElement("div",{style:styles.field},_react2.default.createElement(_common.EditableInput,{style:{input:styles.input,label:styles.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),_react2.default.createElement("div",{style:styles.field},_react2.default.createElement(_common.EditableInput,{style:{input:styles.input,label:styles.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),_react2.default.createElement("div",{style:styles.alpha},_react2.default.createElement(_common.EditableInput,{style:{input:styles.input,label:styles.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(fields=_react2.default.createElement("div",{style:styles.fields,className:"flexbox-fix"},_react2.default.createElement("div",{style:styles.field},_react2.default.createElement(_common.EditableInput,{style:{input:styles.input,label:styles.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),_react2.default.createElement("div",{style:styles.field},_react2.default.createElement(_common.EditableInput,{style:{input:styles.input,label:styles.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),_react2.default.createElement("div",{style:styles.field},_react2.default.createElement(_common.EditableInput,{style:{input:styles.input,label:styles.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),_react2.default.createElement("div",{style:styles.alpha},_react2.default.createElement(_common.EditableInput,{style:{input:styles.input,label:styles.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange}))));return _react2.default.createElement("div",{style:styles.wrap,className:"flexbox-fix"},fields,_react2.default.createElement("div",{style:styles.toggle},_react2.default.createElement("div",{style:styles.icon,onClick:this.toggleViews,ref:function ref(icon){return _this2.icon=icon}},_react2.default.createElement("svg",{style:styles.svg,viewBox:"0 0 24 24",onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight},_react2.default.createElement("path",{ref:function ref(iconUp){return _this2.iconUp=iconUp},fill:"#333",d:"M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}),_react2.default.createElement("path",{ref:function ref(iconDown){return _this2.iconDown=iconDown},fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15Z"})))))}}]);return ChromeFields}(_react2.default.Component);exports.default=ChromeFields},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ChromePointer=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ChromePointer=exports.ChromePointer=function ChromePointer(){var styles=(0,_reactcss2.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return _react2.default.createElement("div",{style:styles.picker})};exports.default=ChromePointer},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ChromePointerCircle=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ChromePointerCircle=exports.ChromePointerCircle=function ChromePointerCircle(){var styles=(0,_reactcss2.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return _react2.default.createElement("div",{style:styles.picker})};exports.default=ChromePointerCircle},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.CompactColor=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _color=__webpack_require__(83);var _color2=_interopRequireDefault(_color);var _common=__webpack_require__(34);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var CompactColor=exports.CompactColor=function CompactColor(_ref){var color=_ref.color,_ref$onClick=_ref.onClick,onClick=void 0===_ref$onClick?function(){}:_ref$onClick,onSwatchHover=_ref.onSwatchHover,active=_ref.active;var styles=(0,_reactcss2.default)({default:{color:{background:color,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:_color2.default.getContrastingColor(color),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:active,"color-#FFFFFF":"#FFFFFF"===color,transparent:"transparent"===color});return _react2.default.createElement(_common.Swatch,{style:styles.color,color:color,onClick:onClick,onHover:onSwatchHover,focusStyle:{boxShadow:"0 0 4px "+color}},_react2.default.createElement("div",{style:styles.dot}))};exports.default=CompactColor},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiFieldNumber",{enumerable:true,get:function get(){return _field_number.EuiFieldNumber}});var _field_number=__webpack_require__(1562)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiFormErrorText",{enumerable:true,get:function get(){return _form_error_text.EuiFormErrorText}});var _form_error_text=__webpack_require__(1578)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiFormHelpText",{enumerable:true,get:function get(){return _form_help_text.EuiFormHelpText}});var _form_help_text=__webpack_require__(1579)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiFormLabel",{enumerable:true,get:function get(){return _form_label.EuiFormLabel}});var _form_label=__webpack_require__(1580)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiRadio=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiRadio=function EuiRadio(_ref){var className=_ref.className,id=_ref.id,name=_ref.name,checked=_ref.checked,label=_ref.label,value=_ref.value,onChange=_ref.onChange,disabled=_ref.disabled,compressed=_ref.compressed,autoFocus=_ref.autoFocus,rest=_objectWithoutProperties(_ref,["className","id","name","checked","label","value","onChange","disabled","compressed","autoFocus"]);var classes=(0,_classnames.default)("euiRadio",{"euiRadio--noLabel":!label,"euiRadio--compressed":compressed},className);var optionalLabel;label&&(optionalLabel=_react.default.createElement("label",{className:"euiRadio__label",htmlFor:id},label));return _react.default.createElement("div",_extends({className:classes},rest),_react.default.createElement("input",{className:"euiRadio__input",type:"radio",id:id,name:name,value:value,checked:checked,onChange:onChange,disabled:disabled,autoFocus:autoFocus}),_react.default.createElement("div",{className:"euiRadio__circle"}),optionalLabel)};exports.EuiRadio=EuiRadio;EuiRadio.propTypes={className:_propTypes.default.string,id:_propTypes.default.string.isRequired,checked:_propTypes.default.bool.isRequired,label:_propTypes.default.node,value:_propTypes.default.string,onChange:_propTypes.default.func.isRequired,disabled:_propTypes.default.bool,compressed:_propTypes.default.bool,autoFocus:_propTypes.default.bool};EuiRadio.defaultProps={checked:false,disabled:false,compressed:false};EuiRadio.__docgenInfo={description:"",methods:[],displayName:"EuiRadio",props:{checked:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},disabled:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},compressed:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"when `true` creates a shorter height radio row"},className:{type:{name:"string"},required:false,description:""},id:{type:{name:"string"},required:true,description:""},label:{type:{name:"node"},required:false,description:""},value:{type:{name:"string"},required:false,description:""},onChange:{type:{name:"func"},required:true,description:""},autoFocus:{type:{name:"bool"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSuperSelectControl=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(94);__webpack_require__(19);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _accessibility=__webpack_require__(73);var _make_id=_interopRequireDefault(__webpack_require__(231));var _form_control_layout=__webpack_require__(127);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiSuperSelectControl=function EuiSuperSelectControl(_ref){var className=_ref.className,options=_ref.options,id=_ref.id,name=_ref.name,fullWidth=_ref.fullWidth,isLoading=_ref.isLoading,defaultValue=_ref.defaultValue,compressed=_ref.compressed,value=_ref.value,rest=_objectWithoutProperties(_ref,["className","options","id","name","fullWidth","isLoading","defaultValue","compressed","value"]);var classes=(0,_classnames.default)("euiSuperSelectControl",{"euiSuperSelectControl--fullWidth":fullWidth,"euiSuperSelectControl--compressed":compressed,"euiSuperSelectControl-isLoading":isLoading},className);var selectDefaultValue;null==value&&(selectDefaultValue=defaultValue||"");var selectedValue="";if(value){var selectedOption=options.find(function(option){return option.value===value});selectedValue=selectedOption.inputDisplay}var icon={type:"arrowDown",side:"right"};var screenReaderId=(0,_make_id.default)();return _react.default.createElement(_react.Fragment,null,_react.default.createElement("input",{type:"hidden",id:id,name:name,defaultValue:selectDefaultValue,value:value}),_react.default.createElement(_form_control_layout.EuiFormControlLayout,{icon:icon,fullWidth:fullWidth,isLoading:isLoading,compressed:compressed},_react.default.createElement(_accessibility.EuiScreenReaderOnly,null,_react.default.createElement("span",{id:screenReaderId},_react.default.createElement(_i18n.EuiI18n,{token:"euiSuperSelectControl.selectAnOption",default:"Select an option: {selectedValue}, is selected",values:{selectedValue:selectedValue}}))),_react.default.createElement("button",_extends({role:"option",type:"button",className:classes,"aria-haspopup":"true","aria-labelledby":"".concat(id," ").concat(screenReaderId)},rest),selectedValue)))};exports.EuiSuperSelectControl=EuiSuperSelectControl;EuiSuperSelectControl.propTypes={name:_propTypes.default.string,id:_propTypes.default.string,options:_propTypes.default.arrayOf(_propTypes.default.shape({value:_propTypes.default.node.isRequired,inputDisplay:_propTypes.default.node.isRequired})).isRequired,isInvalid:_propTypes.default.bool,fullWidth:_propTypes.default.bool,isLoading:_propTypes.default.bool,compressed:_propTypes.default.bool};EuiSuperSelectControl.defaultProps={options:[],fullWidth:false,isLoading:false,compressed:false};EuiSuperSelectControl.__docgenInfo={description:"",methods:[],displayName:"EuiSuperSelectControl",props:{options:{defaultValue:{value:"[]",computed:false},type:{name:"arrayOf",value:{name:"shape",value:{value:{name:"node",required:true},inputDisplay:{name:"node",required:true}}}},required:false,description:""},fullWidth:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},isLoading:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},compressed:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"when `true` creates a shorter height input"},name:{type:{name:"string"},required:false,description:""},id:{type:{name:"string"},required:false,description:""},isInvalid:{type:{name:"bool"},required:false,description:""}}}},function(module,exports){module.exports=function(el,options){options=options||{};var elementDocument=el.ownerDocument||el;var basicTabbables=[];var orderedTabbables=[];var isUnavailable=createIsUnavailable(elementDocument);var candidateSelectors=["input","select","a[href]","textarea","button","[tabindex]"];var candidates=el.querySelectorAll(candidateSelectors.join(","));if(options.includeContainer){var matches=Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;if(candidateSelectors.some(function(candidateSelector){return matches.call(el,candidateSelector)})){candidates=Array.prototype.slice.apply(candidates);candidates.unshift(el)}}var candidate,candidateIndexAttr,candidateIndex;for(var i=0,l=candidates.length;i<l;i++){candidate=candidates[i];candidateIndexAttr=parseInt(candidate.getAttribute("tabindex"),10);candidateIndex=isNaN(candidateIndexAttr)?candidate.tabIndex:candidateIndexAttr;if(candidateIndex<0||"INPUT"===candidate.tagName&&"hidden"===candidate.type||candidate.disabled||isUnavailable(candidate,elementDocument))continue;0===candidateIndex?basicTabbables.push(candidate):orderedTabbables.push({index:i,tabIndex:candidateIndex,node:candidate})}var tabbableNodes=orderedTabbables.sort(function(a,b){return a.tabIndex===b.tabIndex?a.index-b.index:a.tabIndex-b.tabIndex}).map(function(a){return a.node});Array.prototype.push.apply(tabbableNodes,basicTabbables);return tabbableNodes};function createIsUnavailable(elementDocument){var isOffCache=[];function isOff(node,nodeComputedStyle){if(node===elementDocument.documentElement)return false;for(var i=0,length=isOffCache.length;i<length;i++)if(isOffCache[i][0]===node)return isOffCache[i][1];nodeComputedStyle=nodeComputedStyle||elementDocument.defaultView.getComputedStyle(node);var result=false;"none"===nodeComputedStyle.display?result=true:node.parentNode&&(result=isOff(node.parentNode));isOffCache.push([node,result]);return result}return function isUnavailable(node){if(node===elementDocument.documentElement)return false;var computedStyle=elementDocument.defaultView.getComputedStyle(node);if(isOff(node,computedStyle))return true;return"hidden"===computedStyle.visibility}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPanel=exports.SIZES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _beta_badge=__webpack_require__(283);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var paddingSizeToClassNameMap={none:null,s:"euiPanel--paddingSmall",m:"euiPanel--paddingMedium",l:"euiPanel--paddingLarge"};var SIZES=Object.keys(paddingSizeToClassNameMap);exports.SIZES=SIZES;var EuiPanel=function EuiPanel(_ref){var children=_ref.children,className=_ref.className,paddingSize=_ref.paddingSize,hasShadow=_ref.hasShadow,grow=_ref.grow,panelRef=_ref.panelRef,onClick=_ref.onClick,betaBadgeLabel=_ref.betaBadgeLabel,betaBadgeTooltipContent=_ref.betaBadgeTooltipContent,betaBadgeTitle=_ref.betaBadgeTitle,rest=_objectWithoutProperties(_ref,["children","className","paddingSize","hasShadow","grow","panelRef","onClick","betaBadgeLabel","betaBadgeTooltipContent","betaBadgeTitle"]);var classes=(0,_classnames.default)("euiPanel",paddingSizeToClassNameMap[paddingSize],{"euiPanel--shadow":hasShadow,"euiPanel--flexGrowZero":!grow,"euiPanel--isClickable":onClick,"euiPanel--hasBetaBadge":betaBadgeLabel},className);var PanelTag=onClick?"button":"div";var props={ref:panelRef,className:classes};null!=onClick&&(props.onClick=onClick);var optionalBetaBadge;betaBadgeLabel&&(optionalBetaBadge=_react.default.createElement("span",{className:"euiPanel__betaBadgeWrapper"},_react.default.createElement(_beta_badge.EuiBetaBadge,{label:betaBadgeLabel,title:betaBadgeTitle,tooltipContent:betaBadgeTooltipContent,className:"euiPanel__betaBadge"})));return _react.default.createElement(PanelTag,_extends({},props,rest),optionalBetaBadge,children)};exports.EuiPanel=EuiPanel;EuiPanel.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,hasShadow:_propTypes.default.bool,paddingSize:_propTypes.default.oneOf(SIZES),grow:_propTypes.default.bool,panelRef:_propTypes.default.func,onClick:_propTypes.default.func,betaBadgeLabel:_propTypes.default.string,betaBadgeTooltipContent:_propTypes.default.node,betaBadgeTitle:_propTypes.default.string};EuiPanel.defaultProps={paddingSize:"m",hasShadow:false,grow:true};EuiPanel.__docgenInfo={description:"",methods:[],displayName:"EuiPanel",props:{paddingSize:{defaultValue:{value:"'m'",computed:false},type:{name:"enum",value:[{value:'"none"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false}]},required:false,description:"Padding applied to the panel"},hasShadow:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"If active, adds a deeper shadow to the panel"},grow:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"When true the panel will grow to match `EuiFlexItem`"},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},panelRef:{type:{name:"func"},required:false,description:""},onClick:{type:{name:"func"},required:false,description:""},betaBadgeLabel:{type:{name:"string"},required:false,description:'Add a badge to the panel to label it as "Beta" or other non-GA state'},betaBadgeTooltipContent:{type:{name:"node"},required:false,description:"Add a description to the beta badge (will appear in a tooltip)"},betaBadgeTitle:{type:{name:"string"},required:false,description:"Optional title will be supplied as tooltip title or title attribute otherwise the label will be used"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPopoverTitle=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiPopoverTitle=function EuiPopoverTitle(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiPopoverTitle",className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiPopoverTitle=EuiPopoverTitle;EuiPopoverTitle.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiPopoverTitle.__docgenInfo={description:"",methods:[],displayName:"EuiPopoverTitle",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(41);var $find=__webpack_require__(580)(6);var KEY="findIndex";var forced=true;KEY in[]&&Array(1)[KEY](function(){forced=false});$export($export.P+$export.F*forced,"Array",{findIndex:function findIndex(callbackfn){return $find(this,callbackfn,arguments.length>1?arguments[1]:void 0)}});__webpack_require__(221)(KEY)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiContextMenuPanel=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(2);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _tabbable=_interopRequireDefault(__webpack_require__(659));var _icon=__webpack_require__(20);var _popover=__webpack_require__(115);var _services=__webpack_require__(25);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var transitionDirectionAndTypeToClassNameMap={next:{in:"euiContextMenuPanel-txInLeft",out:"euiContextMenuPanel-txOutLeft"},previous:{in:"euiContextMenuPanel-txInRight",out:"euiContextMenuPanel-txOutRight"}};var EuiContextMenuPanel=function(_Component){_inherits(EuiContextMenuPanel,_Component);function EuiContextMenuPanel(props){var _this;_classCallCheck(this,EuiContextMenuPanel);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiContextMenuPanel).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"incrementFocusedItemIndex",function(amount){var nextFocusedItemIndex;if(void 0===_this.state.focusedItemIndex)nextFocusedItemIndex=amount<0?_this.state.menuItems.length-1:0;else{nextFocusedItemIndex=_this.state.focusedItemIndex+amount;nextFocusedItemIndex<0?nextFocusedItemIndex=_this.state.menuItems.length-1:nextFocusedItemIndex===_this.state.menuItems.length&&(nextFocusedItemIndex=0)}_this.setState({focusedItemIndex:nextFocusedItemIndex})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onKeyDown",function(e){if((_this.props.items.length||document.activeElement===_this.backButton||document.activeElement===_this.panel)&&e.keyCode===_services.cascadingMenuKeyCodes.LEFT&&_this.props.showPreviousPanel){e.preventDefault();e.stopPropagation();_this.props.showPreviousPanel();_this.props.onUseKeyboardToNavigate&&_this.props.onUseKeyboardToNavigate()}if(_this.props.items.length)switch(e.keyCode){case _services.cascadingMenuKeyCodes.TAB:var focusedItemIndex=_this.state.menuItems.indexOf(document.activeElement);_this.setState({focusedItemIndex:focusedItemIndex>=0&&focusedItemIndex<_this.state.menuItems.length?focusedItemIndex:void 0});break;case _services.cascadingMenuKeyCodes.UP:e.preventDefault();_this.incrementFocusedItemIndex(-1);_this.props.onUseKeyboardToNavigate&&_this.props.onUseKeyboardToNavigate();break;case _services.cascadingMenuKeyCodes.DOWN:e.preventDefault();_this.incrementFocusedItemIndex(1);_this.props.onUseKeyboardToNavigate&&_this.props.onUseKeyboardToNavigate();break;case _services.cascadingMenuKeyCodes.RIGHT:if(_this.props.showNextPanel){e.preventDefault();_this.props.showNextPanel(_this.state.focusedItemIndex);_this.props.onUseKeyboardToNavigate&&_this.props.onUseKeyboardToNavigate()}}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onTransitionComplete",function(){_this.setState({isTransitioning:false});_this.props.onTransitionComplete&&_this.props.onTransitionComplete()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"menuItemRef",function(index,node){node&&(_this.state.menuItems[index]=node)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"panelRef",function(node){_this.panel=node;_this.updateHeight()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"contentRef",function(node){_this.content=node});_this.state={prevProps:{items:_this.props.items},menuItems:[],isTransitioning:Boolean(props.transitionType),focusedItemIndex:props.initialFocusedItemIndex,currentHeight:void 0};return _this}_createClass(EuiContextMenuPanel,[{key:"updateFocus",value:function updateFocus(){var _this2=this;requestAnimationFrame(function(){if(!_this2._isMounted)return;if(!_this2.props.hasFocus){_this2.panel.contains(document.activeElement)&&document.activeElement.blur();return}if(_this2.state.isTransitioning)return;if(!_this2.state.menuItems.length){if(_this2.panel.contains(document.activeElement))return;if(_this2.content){var tabbableItems=(0,_tabbable.default)(_this2.content);tabbableItems.length&&tabbableItems[0].focus()}return}if(void 0!==_this2.state.focusedItemIndex){_this2.state.menuItems[_this2.state.focusedItemIndex].focus();return}_this2.panel.contains(document.activeElement)||_this2.panel.focus()})}},{key:"componentDidMount",value:function componentDidMount(){this.updateFocus();this._isMounted=true}},{key:"componentWillUnmount",value:function componentWillUnmount(){this._isMounted=false}},{key:"getWatchedPropsForItems",value:function getWatchedPropsForItems(items){var watchedItemProps=this.props.watchedItemProps;if(items.length&&watchedItemProps&&watchedItemProps.length)return JSON.stringify(items.map(function(item){var props={key:item.key};watchedItemProps.forEach(function(prop){return props[prop]=item.props[prop]});return props}));return null}},{key:"didItemsChange",value:function didItemsChange(prevItems,nextItems){if(prevItems.length!==nextItems.length)return true;if(this.getWatchedPropsForItems(nextItems)!==this.getWatchedPropsForItems(prevItems))return true}},{key:"shouldComponentUpdate",value:function shouldComponentUpdate(nextProps,nextState){if(nextProps.hasFocus!==this.props.hasFocus)return true;if(nextState.isTransitioning!==this.state.isTransitioning)return true;if(nextState.focusedItemIndex!==this.state.focusedItemIndex)return true;if((this.props.items.length>0||nextProps.items.length>0)&&this.didItemsChange(this.props.items,nextProps.items))return true;if(null!=this.props.children)return true;return false}},{key:"updateHeight",value:function updateHeight(){var currentHeight=this.panel?this.panel.clientHeight:0;if(this.state.height!==currentHeight&&this.props.onHeightChange){this.props.onHeightChange(currentHeight);this.setState({height:currentHeight})}}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){prevProps.items.length>0||this.props.items.length>0?this.didItemsChange(prevProps.items,this.props.items)&&this.updateHeight():this.updateHeight();this.updateFocus()}},{key:"render",value:function render(){var _this3=this;var _this$props=this.props,children=_this$props.children,className=_this$props.className,onClose=_this$props.onClose,title=_this$props.title,transitionType=(_this$props.onHeightChange,_this$props.transitionType),transitionDirection=_this$props.transitionDirection,items=(_this$props.onTransitionComplete,_this$props.onUseKeyboardToNavigate,_this$props.hasFocus,_this$props.items),rest=(_this$props.watchedItemProps,_this$props.initialFocusedItemIndex,_this$props.showNextPanel,_this$props.showPreviousPanel,_objectWithoutProperties(_this$props,["children","className","onClose","title","onHeightChange","transitionType","transitionDirection","onTransitionComplete","onUseKeyboardToNavigate","hasFocus","items","watchedItemProps","initialFocusedItemIndex","showNextPanel","showPreviousPanel"]));var panelTitle;title&&(panelTitle=Boolean(onClose)?_react.default.createElement("button",{className:"euiContextMenuPanelTitle",type:"button",onClick:onClose,ref:function ref(node){_this3.backButton=node},"data-test-subj":"contextMenuPanelTitleButton"},_react.default.createElement("span",{className:"euiContextMenu__itemLayout"},_react.default.createElement(_icon.EuiIcon,{type:"arrowLeft",size:"m",className:"euiContextMenu__icon"}),_react.default.createElement("span",{className:"euiContextMenu__text"},title))):_react.default.createElement(_popover.EuiPopoverTitle,null,_react.default.createElement("span",{className:"euiContextMenu__itemLayout"},title)));var classes=(0,_classnames.default)("euiContextMenuPanel",className,this.state.isTransitioning&&transitionDirectionAndTypeToClassNameMap[transitionDirection]?transitionDirectionAndTypeToClassNameMap[transitionDirection][transitionType]:void 0);var content=items.length?items.map(function(MenuItem,index){return(0,_react.cloneElement)(MenuItem,{buttonRef:_this3.menuItemRef.bind(_this3,index)})}):children;return _react.default.createElement("div",_extends({ref:this.panelRef,className:classes,onKeyDown:this.onKeyDown,tabIndex:"0",onAnimationEnd:this.onTransitionComplete},rest),panelTitle,_react.default.createElement("div",{ref:this.contentRef},content))}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,prevState){var needsUpdate=false;var nextState={};if(nextProps.items!==prevState.prevProps.items){needsUpdate=true;nextState.menuItems=[];nextState.prevProps={items:nextProps.items}}if(nextProps.transitionType){needsUpdate=true;nextState.isTransitioning=true}if(needsUpdate)return nextState;return null}}]);return EuiContextMenuPanel}(_react.Component);exports.EuiContextMenuPanel=EuiContextMenuPanel;_defineProperty(EuiContextMenuPanel,"propTypes",{children:_propTypes.default.node,className:_propTypes.default.string,title:_propTypes.default.node,onClose:_propTypes.default.func,onHeightChange:_propTypes.default.func,transitionType:_propTypes.default.oneOf(["in","out"]),transitionDirection:_propTypes.default.oneOf(["next","previous"]),onTransitionComplete:_propTypes.default.func,onUseKeyboardToNavigate:_propTypes.default.func,hasFocus:_propTypes.default.bool,items:_propTypes.default.array,watchedItemProps:_propTypes.default.array,showNextPanel:_propTypes.default.func,showPreviousPanel:_propTypes.default.func,initialFocusedItemIndex:_propTypes.default.number});_defineProperty(EuiContextMenuPanel,"defaultProps",{hasFocus:true,items:[]});EuiContextMenuPanel.__docgenInfo={description:"",methods:[{name:"incrementFocusedItemIndex",docblock:null,modifiers:[],params:[{name:"amount",type:null}],returns:null},{name:"onKeyDown",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null},{name:"updateFocus",docblock:null,modifiers:[],params:[],returns:null},{name:"onTransitionComplete",docblock:null,modifiers:[],params:[],returns:null},{name:"getDerivedStateFromProps",docblock:null,modifiers:["static"],params:[{name:"nextProps",type:null},{name:"prevState",type:null}],returns:null},{name:"getWatchedPropsForItems",docblock:null,modifiers:[],params:[{name:"items",type:null}],returns:null},{name:"didItemsChange",docblock:null,modifiers:[],params:[{name:"prevItems",type:null},{name:"nextItems",type:null}],returns:null},{name:"updateHeight",docblock:null,modifiers:[],params:[],returns:null},{name:"menuItemRef",docblock:null,modifiers:[],params:[{name:"index",type:null},{name:"node",type:null}],returns:null},{name:"panelRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null},{name:"contentRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null}],displayName:"EuiContextMenuPanel",props:{hasFocus:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:""},items:{defaultValue:{value:"[]",computed:false},type:{name:"array"},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},title:{type:{name:"node"},required:false,description:""},onClose:{type:{name:"func"},required:false,description:""},onHeightChange:{type:{name:"func"},required:false,description:""},transitionType:{type:{name:"enum",value:[{value:"'in'",computed:false},{value:"'out'",computed:false}]},required:false,description:""},transitionDirection:{type:{name:"enum",value:[{value:"'next'",computed:false},{value:"'previous'",computed:false}]},required:false,description:""},onTransitionComplete:{type:{name:"func"},required:false,description:""},onUseKeyboardToNavigate:{type:{name:"func"},required:false,description:""},watchedItemProps:{type:{name:"array"},required:false,description:""},showNextPanel:{type:{name:"func"},required:false,description:""},showPreviousPanel:{type:{name:"func"},required:false,description:""},initialFocusedItemIndex:{type:{name:"number"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiContextMenuItem=exports.LAYOUT_ALIGN=void 0;__webpack_require__(5);__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _icon=__webpack_require__(20);var _tool_tip=__webpack_require__(112);var _services=__webpack_require__(25);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var layoutAlignToClassNames={center:null,top:"euiContextMenu__itemLayout--top",bottom:"euiContextMenu__itemLayout--bottom"};var LAYOUT_ALIGN=Object.keys(layoutAlignToClassNames);exports.LAYOUT_ALIGN=LAYOUT_ALIGN;var EuiContextMenuItem=function(_Component){_inherits(EuiContextMenuItem,_Component);function EuiContextMenuItem(){_classCallCheck(this,EuiContextMenuItem);return _possibleConstructorReturn(this,_getPrototypeOf(EuiContextMenuItem).apply(this,arguments))}_createClass(EuiContextMenuItem,[{key:"render",value:function render(){var _this$props=this.props,children=_this$props.children,className=_this$props.className,hasPanel=_this$props.hasPanel,icon=_this$props.icon,buttonRef=_this$props.buttonRef,disabled=_this$props.disabled,layoutAlign=_this$props.layoutAlign,toolTipTitle=_this$props.toolTipTitle,toolTipContent=_this$props.toolTipContent,toolTipPosition=_this$props.toolTipPosition,href=_this$props.href,target=_this$props.target,rel=_this$props.rel,rest=_objectWithoutProperties(_this$props,["children","className","hasPanel","icon","buttonRef","disabled","layoutAlign","toolTipTitle","toolTipContent","toolTipPosition","href","target","rel"]);var iconInstance;if(icon)switch(_typeof(icon)){case"string":iconInstance=_react.default.createElement(_icon.EuiIcon,{type:icon,size:"m",className:"euiContextMenu__icon"});break;default:iconInstance=(0,_react.cloneElement)(icon,{className:"euiContextMenu__icon"})}var arrow;hasPanel&&(arrow=_react.default.createElement(_icon.EuiIcon,{type:"arrowRight",size:"m",className:"euiContextMenu__arrow"}));var classes=(0,_classnames.default)("euiContextMenuItem",className,{"euiContextMenuItem-isDisabled":disabled});var layoutClasses=(0,_classnames.default)("euiContextMenu__itemLayout",layoutAlignToClassNames[layoutAlign]);var buttonInner=_react.default.createElement("span",{className:layoutClasses},iconInstance,_react.default.createElement("span",{className:"euiContextMenuItem__text"},children),arrow);var button;if(href&&!disabled){var secureRel=(0,_services.getSecureRelForTarget)({href:href,target:target,rel:rel});button=_react.default.createElement("a",_extends({className:classes,href:href,target:target,rel:secureRel,ref:buttonRef},rest),buttonInner)}else button=_react.default.createElement("button",_extends({disabled:disabled,className:classes,type:"button",ref:buttonRef},rest),buttonInner);return toolTipContent?_react.default.createElement(_tool_tip.EuiToolTip,{title:toolTipTitle||null,content:toolTipContent,anchorClassName:"eui-displayBlock",position:toolTipPosition},button):button}}]);return EuiContextMenuItem}(_react.Component);exports.EuiContextMenuItem=EuiContextMenuItem;_defineProperty(EuiContextMenuItem,"propTypes",{children:_propTypes.default.node,className:_propTypes.default.string,icon:_propTypes.default.oneOfType([_propTypes.default.element,_propTypes.default.string]),onClick:_propTypes.default.func,hasPanel:_propTypes.default.bool,buttonRef:_propTypes.default.func,disabled:_propTypes.default.bool,toolTipContent:_propTypes.default.node,toolTipTitle:_propTypes.default.node,toolTipPosition:_propTypes.default.string,href:_propTypes.default.string,target:_propTypes.default.string,rel:_propTypes.default.string,layoutAlign:_propTypes.default.oneOf(LAYOUT_ALIGN)});EuiContextMenuItem.defaultProps={toolTipPosition:"right",layoutAlign:"center"};EuiContextMenuItem.__docgenInfo={description:"",methods:[],displayName:"EuiContextMenuItem",props:{toolTipPosition:{defaultValue:{value:"'right'",computed:false},type:{name:"string"},required:false,description:"Dictates the position of the tooltip."},layoutAlign:{defaultValue:{value:"'center'",computed:false},type:{name:"enum",value:[{value:'"center"',computed:false},{value:'"top"',computed:false},{value:'"bottom"',computed:false}]},required:false,description:"How to align icon with content of button"},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},icon:{type:{name:"union",value:[{name:"element"},{name:"string"}]},required:false,description:"Icon used for the item"},onClick:{type:{name:"func"},required:false,description:""},hasPanel:{type:{name:"bool"},required:false,description:"Whether the item leads to a new set of items"},buttonRef:{type:{name:"func"},required:false,description:""},disabled:{type:{name:"bool"},required:false,description:""},toolTipContent:{type:{name:"node"},required:false,description:"Required if using a tooltip. Add an optional tooltip on hover"},toolTipTitle:{type:{name:"node"},required:false,description:"Optional title for the tooltip"},href:{type:{name:"string"},required:false,description:""},target:{type:{name:"string"},required:false,description:""},rel:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){var has=__webpack_require__(158);var toObject=__webpack_require__(304);var IE_PROTO=__webpack_require__(416)("IE_PROTO");var ObjectProto=Object.prototype;module.exports=Object.getPrototypeOf||function(O){O=toObject(O);if(has(O,IE_PROTO))return O[IE_PROTO];if("function"==typeof O.constructor&&O instanceof O.constructor)return O.constructor.prototype;return O instanceof Object?ObjectProto:null}},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(131)&&!__webpack_require__(188)(function(){return 7!=Object.defineProperty(__webpack_require__(419)("div"),"a",{get:function(){return 7}}).a})},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(1605),__esModule:true}},function(module,exports,__webpack_require__){"use strict";var LIBRARY=__webpack_require__(309);var $export=__webpack_require__(104);var redefine=__webpack_require__(669);var hide=__webpack_require__(159);var has=__webpack_require__(158);var Iterators=__webpack_require__(189);var $iterCreate=__webpack_require__(1610);var setToStringTag=__webpack_require__(310);var getPrototypeOf=__webpack_require__(665);var ITERATOR=__webpack_require__(65)("iterator");var BUGGY=!([].keys&&"next"in[].keys());var FF_ITERATOR="@@iterator";var KEYS="keys";var VALUES="values";var returnThis=function(){return this};module.exports=function(Base,NAME,Constructor,next,DEFAULT,IS_SET,FORCED){$iterCreate(Constructor,NAME,next);var getMethod=function(kind){if(!BUGGY&&kind in proto)return proto[kind];switch(kind){case KEYS:return function keys(){return new Constructor(this,kind)};case VALUES:return function values(){return new Constructor(this,kind)}}return function entries(){return new Constructor(this,kind)}};var TAG=NAME+" Iterator";var DEF_VALUES=DEFAULT==VALUES;var VALUES_BUG=false;var proto=Base.prototype;var $native=proto[ITERATOR]||proto[FF_ITERATOR]||DEFAULT&&proto[DEFAULT];var $default=!BUGGY&&$native||getMethod(DEFAULT);var $entries=DEFAULT?DEF_VALUES?getMethod("entries"):$default:void 0;var $anyNative="Array"==NAME&&proto.entries||$native;var methods,key,IteratorPrototype;if($anyNative){IteratorPrototype=getPrototypeOf($anyNative.call(new Base));if(IteratorPrototype!==Object.prototype&&IteratorPrototype.next){setToStringTag(IteratorPrototype,TAG,true);LIBRARY||has(IteratorPrototype,ITERATOR)||hide(IteratorPrototype,ITERATOR,returnThis)}}if(DEF_VALUES&&$native&&$native.name!==VALUES){VALUES_BUG=true;$default=function values(){return $native.call(this)}}LIBRARY&&!FORCED||!BUGGY&&!VALUES_BUG&&proto[ITERATOR]||hide(proto,ITERATOR,$default);Iterators[NAME]=$default;Iterators[TAG]=returnThis;if(DEFAULT){methods={values:DEF_VALUES?$default:getMethod(VALUES),keys:IS_SET?$default:getMethod(KEYS),entries:$entries};if(FORCED)for(key in methods)key in proto||redefine(proto,key,methods[key]);else $export($export.P+$export.F*(BUGGY||VALUES_BUG),NAME,methods)}return methods}},function(module,exports,__webpack_require__){module.exports=__webpack_require__(159)},function(module,exports,__webpack_require__){var has=__webpack_require__(158);var toIObject=__webpack_require__(160);var arrayIndexOf=__webpack_require__(1612)(false);var IE_PROTO=__webpack_require__(416)("IE_PROTO");module.exports=function(object,names){var O=toIObject(object);var i=0;var result=[];var key;for(key in O)key!=IE_PROTO&&has(O,key)&&result.push(key);while(names.length>i)has(O,key=names[i++])&&(~arrayIndexOf(result,key)||result.push(key));return result}},function(module,exports,__webpack_require__){var cof=__webpack_require__(240);module.exports=Object("z").propertyIsEnumerable(0)?Object:function(it){return"String"==cof(it)?it.split(""):Object(it)}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(421);var min=Math.min;module.exports=function(it){return it>0?min(toInteger(it),9007199254740991):0}},function(module,exports,__webpack_require__){var document=__webpack_require__(75).document;module.exports=document&&document.documentElement},function(module,exports,__webpack_require__){var $keys=__webpack_require__(670);var hiddenKeys=__webpack_require__(423).concat("length","prototype");exports.f=Object.getOwnPropertyNames||function getOwnPropertyNames(O){return $keys(O,hiddenKeys)}},function(module,exports){},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(1634),__esModule:true}},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(1642),__esModule:true}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SCROLL_DIRECTION_VERTICAL=exports.SCROLL_DIRECTION_HORIZONTAL=exports.SCROLL_DIRECTION_FORWARD=exports.SCROLL_DIRECTION_BACKWARD=void 0;exports.default=defaultOverscanIndicesGetter;__webpack_require__(132);exports.SCROLL_DIRECTION_BACKWARD=-1;var SCROLL_DIRECTION_FORWARD=exports.SCROLL_DIRECTION_FORWARD=1;exports.SCROLL_DIRECTION_HORIZONTAL="horizontal";exports.SCROLL_DIRECTION_VERTICAL="vertical";function defaultOverscanIndicesGetter(_ref){var cellCount=_ref.cellCount,overscanCellsCount=_ref.overscanCellsCount,scrollDirection=_ref.scrollDirection,startIndex=_ref.startIndex,stopIndex=_ref.stopIndex;return scrollDirection===SCROLL_DIRECTION_FORWARD?{overscanStartIndex:Math.max(0,startIndex),overscanStopIndex:Math.min(cellCount-1,stopIndex+overscanCellsCount)}:{overscanStartIndex:Math.max(0,startIndex-overscanCellsCount),overscanStopIndex:Math.min(cellCount-1,stopIndex)}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=defaultCellRangeRenderer;__webpack_require__(132);function defaultCellRangeRenderer(_ref){var cellCache=_ref.cellCache,cellRenderer=_ref.cellRenderer,columnSizeAndPositionManager=_ref.columnSizeAndPositionManager,columnStartIndex=_ref.columnStartIndex,columnStopIndex=_ref.columnStopIndex,deferredMeasurementCache=_ref.deferredMeasurementCache,horizontalOffsetAdjustment=_ref.horizontalOffsetAdjustment,isScrolling=_ref.isScrolling,isScrollingOptOut=_ref.isScrollingOptOut,parent=_ref.parent,rowSizeAndPositionManager=_ref.rowSizeAndPositionManager,rowStartIndex=_ref.rowStartIndex,rowStopIndex=_ref.rowStopIndex,styleCache=_ref.styleCache,verticalOffsetAdjustment=_ref.verticalOffsetAdjustment,visibleColumnIndices=_ref.visibleColumnIndices,visibleRowIndices=_ref.visibleRowIndices;var renderedCells=[];var areOffsetsAdjusted=columnSizeAndPositionManager.areOffsetsAdjusted()||rowSizeAndPositionManager.areOffsetsAdjusted();var canCacheStyle=!isScrolling&&!areOffsetsAdjusted;for(var rowIndex=rowStartIndex;rowIndex<=rowStopIndex;rowIndex++){var rowDatum=rowSizeAndPositionManager.getSizeAndPositionOfCell(rowIndex);for(var columnIndex=columnStartIndex;columnIndex<=columnStopIndex;columnIndex++){var columnDatum=columnSizeAndPositionManager.getSizeAndPositionOfCell(columnIndex);var isVisible=columnIndex>=visibleColumnIndices.start&&columnIndex<=visibleColumnIndices.stop&&rowIndex>=visibleRowIndices.start&&rowIndex<=visibleRowIndices.stop;var key=rowIndex+"-"+columnIndex;var style=void 0;if(canCacheStyle&&styleCache[key])style=styleCache[key];else if(deferredMeasurementCache&&!deferredMeasurementCache.has(rowIndex,columnIndex))style={height:"auto",left:0,position:"absolute",top:0,width:"auto"};else{style={height:rowDatum.size,left:columnDatum.offset+horizontalOffsetAdjustment,position:"absolute",top:rowDatum.offset+verticalOffsetAdjustment,width:columnDatum.size};styleCache[key]=style}var cellRendererParams={columnIndex:columnIndex,isScrolling:isScrolling,isVisible:isVisible,key:key,parent:parent,rowIndex:rowIndex,style:style};var renderedCell=void 0;if(!isScrollingOptOut&&!isScrolling||horizontalOffsetAdjustment||verticalOffsetAdjustment)renderedCell=cellRenderer(cellRendererParams);else{cellCache[key]||(cellCache[key]=cellRenderer(cellRendererParams));renderedCell=cellCache[key]}if(null==renderedCell||false===renderedCell)continue;false;renderedCells.push(renderedCell)}}return renderedCells}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=function(recalc){if((!size&&0!==size||recalc)&&_inDOM2.default){var scrollDiv=document.createElement("div");scrollDiv.style.position="absolute";scrollDiv.style.top="-9999px";scrollDiv.style.width="50px";scrollDiv.style.height="50px";scrollDiv.style.overflow="scroll";document.body.appendChild(scrollDiv);size=scrollDiv.offsetWidth-scrollDiv.clientWidth;document.body.removeChild(scrollDiv)}return size};var _inDOM=__webpack_require__(1645);var _inDOM2=_interopRequireDefault(_inDOM);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var size=void 0;module.exports=exports["default"]},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(1646),__esModule:true}},function(module,exports,__webpack_require__){var classof=__webpack_require__(432);var ITERATOR=__webpack_require__(65)("iterator");var Iterators=__webpack_require__(189);module.exports=__webpack_require__(46).getIteratorMethod=function(it){if(void 0!=it)return it[ITERATOR]||it["@@iterator"]||Iterators[classof(it)]}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(105);var aFunction=__webpack_require__(306);var SPECIES=__webpack_require__(65)("species");module.exports=function(O,D){var C=anObject(O).constructor;var S;return void 0===C||void 0==(S=anObject(C)[SPECIES])?D:aFunction(S)}},function(module,exports,__webpack_require__){var ctx=__webpack_require__(237);var invoke=__webpack_require__(1652);var html=__webpack_require__(673);var cel=__webpack_require__(419);var global=__webpack_require__(75);var process=global.process;var setTask=global.setImmediate;var clearTask=global.clearImmediate;var MessageChannel=global.MessageChannel;var Dispatch=global.Dispatch;var counter=0;var queue={};var ONREADYSTATECHANGE="onreadystatechange";var defer,channel,port;var run=function(){var id=+this;if(queue.hasOwnProperty(id)){var fn=queue[id];delete queue[id];fn()}};var listener=function(event){run.call(event.data)};if(!setTask||!clearTask){setTask=function setImmediate(fn){var args=[];var i=1;while(arguments.length>i)args.push(arguments[i++]);queue[++counter]=function(){invoke("function"==typeof fn?fn:Function(fn),args)};defer(counter);return counter};clearTask=function clearImmediate(id){delete queue[id]};if("process"==__webpack_require__(240)(process))defer=function(id){process.nextTick(ctx(run,id,1))};else if(Dispatch&&Dispatch.now)defer=function(id){Dispatch.now(ctx(run,id,1))};else if(MessageChannel){channel=new MessageChannel;port=channel.port2;channel.port1.onmessage=listener;defer=ctx(port.postMessage,port,1)}else if(global.addEventListener&&"function"==typeof postMessage&&!global.importScripts){defer=function(id){global.postMessage(id+"","*")};global.addEventListener("message",listener,false)}else defer=ONREADYSTATECHANGE in cel("script")?function(id){html.appendChild(cel("script"))[ONREADYSTATECHANGE]=function(){html.removeChild(this);run.call(id)}}:function(id){setTimeout(ctx(run,id,1),0)}}module.exports={set:setTask,clear:clearTask}},function(module,exports){module.exports=function(exec){try{return{e:false,v:exec()}}catch(e){return{e:true,v:e}}}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(105);var isObject=__webpack_require__(130);var newPromiseCapability=__webpack_require__(433);module.exports=function(C,x){anObject(C);if(isObject(x)&&x.constructor===C)return x;var promiseCapability=newPromiseCapability.f(C);var resolve=promiseCapability.resolve;resolve(x);return promiseCapability.promise}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.bpfrpt_proptype_ScrollIndices=void 0;var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var bpfrpt_proptype_ScrollIndices=null;exports.bpfrpt_proptype_ScrollIndices=bpfrpt_proptype_ScrollIndices},function(module,exports,__webpack_require__){"use strict";(function(global){Object.defineProperty(exports,"__esModule",{value:true});exports.default=createDetectElementResize;function createDetectElementResize(nonce){var _window;_window="undefined"!==typeof window?window:"undefined"!==typeof self?self:global;var attachEvent="undefined"!==typeof document&&document.attachEvent;if(!attachEvent){var requestFrame=(raf=_window.requestAnimationFrame||_window.mozRequestAnimationFrame||_window.webkitRequestAnimationFrame||function(fn){return _window.setTimeout(fn,20)},function(fn){return raf(fn)});var cancelFrame=(cancel=_window.cancelAnimationFrame||_window.mozCancelAnimationFrame||_window.webkitCancelAnimationFrame||_window.clearTimeout,function(id){return cancel(id)});var resetTriggers=function resetTriggers(element){var triggers=element.__resizeTriggers__,expand=triggers.firstElementChild,contract=triggers.lastElementChild,expandChild=expand.firstElementChild;contract.scrollLeft=contract.scrollWidth;contract.scrollTop=contract.scrollHeight;expandChild.style.width=expand.offsetWidth+1+"px";expandChild.style.height=expand.offsetHeight+1+"px";expand.scrollLeft=expand.scrollWidth;expand.scrollTop=expand.scrollHeight};var checkTriggers=function checkTriggers(element){return element.offsetWidth!=element.__resizeLast__.width||element.offsetHeight!=element.__resizeLast__.height};var scrollListener=function scrollListener(e){if(e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;var element=this;resetTriggers(this);this.__resizeRAF__&&cancelFrame(this.__resizeRAF__);this.__resizeRAF__=requestFrame(function(){if(checkTriggers(element)){element.__resizeLast__.width=element.offsetWidth;element.__resizeLast__.height=element.offsetHeight;element.__resizeListeners__.forEach(function(fn){fn.call(element,e)})}})};var animation=false,keyframeprefix="",animationstartevent="animationstart",domPrefixes="Webkit Moz O ms".split(" "),startEvents="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),pfx="";var elm=document.createElement("fakeelement");void 0!==elm.style.animationName&&(animation=true);if(false===animation)for(var i=0;i<domPrefixes.length;i++)if(void 0!==elm.style[domPrefixes[i]+"AnimationName"]){pfx=domPrefixes[i];keyframeprefix="-"+pfx.toLowerCase()+"-";animationstartevent=startEvents[i];animation=true;break}var animationName="resizeanim";var animationKeyframes="@"+keyframeprefix+"keyframes "+animationName+" { from { opacity: 0; } to { opacity: 0; } } ";var animationStyle=keyframeprefix+"animation: 1ms "+animationName+"; "}var cancel;var raf;var createStyles=function createStyles(doc){if(!doc.getElementById("detectElementResize")){var css=(animationKeyframes||"")+".resize-triggers { "+(animationStyle||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',head=doc.head||doc.getElementsByTagName("head")[0],style=doc.createElement("style");style.id="detectElementResize";style.type="text/css";null!=nonce&&style.setAttribute("nonce",nonce);style.styleSheet?style.styleSheet.cssText=css:style.appendChild(doc.createTextNode(css));head.appendChild(style)}};var addResizeListener=function addResizeListener(element,fn){if(attachEvent)element.attachEvent("onresize",fn);else{if(!element.__resizeTriggers__){var doc=element.ownerDocument;var elementStyle=_window.getComputedStyle(element);elementStyle&&"static"==elementStyle.position&&(element.style.position="relative");createStyles(doc);element.__resizeLast__={};element.__resizeListeners__=[];(element.__resizeTriggers__=doc.createElement("div")).className="resize-triggers";element.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>';element.appendChild(element.__resizeTriggers__);resetTriggers(element);element.addEventListener("scroll",scrollListener,true);if(animationstartevent){element.__resizeTriggers__.__animationListener__=function animationListener(e){e.animationName==animationName&&resetTriggers(element)};element.__resizeTriggers__.addEventListener(animationstartevent,element.__resizeTriggers__.__animationListener__)}}element.__resizeListeners__.push(fn)}};var removeResizeListener=function removeResizeListener(element,fn){if(attachEvent)element.detachEvent("onresize",fn);else{element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn),1);if(!element.__resizeListeners__.length){element.removeEventListener("scroll",scrollListener,true);if(element.__resizeTriggers__.__animationListener__){element.__resizeTriggers__.removeEventListener(animationstartevent,element.__resizeTriggers__.__animationListener__);element.__resizeTriggers__.__animationListener__=null}try{element.__resizeTriggers__=!element.removeChild(element.__resizeTriggers__)}catch(e){}}}};return{addResizeListener:addResizeListener,removeResizeListener:removeResizeListener}}}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.CellMeasurerCache=exports.CellMeasurer=void 0;var _CellMeasurer=__webpack_require__(1663);var _CellMeasurer2=_interopRequireDefault(_CellMeasurer);var _CellMeasurerCache=__webpack_require__(1664);var _CellMeasurerCache2=_interopRequireDefault(_CellMeasurerCache);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_CellMeasurer2.default;exports.CellMeasurer=_CellMeasurer2.default;exports.CellMeasurerCache=_CellMeasurerCache2.default},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.bpfrpt_proptype_CellMeasureCache=void 0;var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var bpfrpt_proptype_CellMeasureCache=null;exports.bpfrpt_proptype_CellMeasureCache=bpfrpt_proptype_CellMeasureCache},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.bpfrpt_proptype_Scroll=exports.bpfrpt_proptype_RenderedRows=exports.bpfrpt_proptype_RowRenderer=exports.bpfrpt_proptype_RowRendererParams=void 0;var _react=__webpack_require__(0);_interopRequireWildcard(_react);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}var bpfrpt_proptype_RowRendererParams=null;var bpfrpt_proptype_RowRenderer=null;var bpfrpt_proptype_RenderedRows=null;var bpfrpt_proptype_Scroll=null;exports.bpfrpt_proptype_RowRendererParams=bpfrpt_proptype_RowRendererParams;exports.bpfrpt_proptype_RowRenderer=bpfrpt_proptype_RowRenderer;exports.bpfrpt_proptype_RenderedRows=bpfrpt_proptype_RenderedRows;exports.bpfrpt_proptype_Scroll=bpfrpt_proptype_Scroll},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.bpfrpt_proptype_Positioner=exports.bpfrpt_proptype_CellMeasurerCache=exports.DEFAULT_SCROLLING_RESET_TIME_INTERVAL=void 0;var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);var _defineProperty2=__webpack_require__(693);var _defineProperty3=_interopRequireDefault(_defineProperty2);var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _classnames=__webpack_require__(6);var _classnames2=_interopRequireDefault(_classnames);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _reactLifecyclesCompat=__webpack_require__(241);var _PositionCache=__webpack_require__(1683);var _PositionCache2=_interopRequireDefault(_PositionCache);var _requestAnimationTimeout=__webpack_require__(431);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var emptyObject={};var DEFAULT_SCROLLING_RESET_TIME_INTERVAL=exports.DEFAULT_SCROLLING_RESET_TIME_INTERVAL=150;var Masonry=function(_React$PureComponent){(0,_inherits3.default)(Masonry,_React$PureComponent);function Masonry(){var _ref;var _temp,_this,_ret;(0,_classCallCheck3.default)(this,Masonry);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=(0,_possibleConstructorReturn3.default)(this,(_ref=Masonry.__proto__||(0,_getPrototypeOf2.default)(Masonry)).call.apply(_ref,[this].concat(args))),_this),_this.state={isScrolling:false,scrollTop:0},_this._invalidateOnUpdateStartIndex=null,_this._invalidateOnUpdateStopIndex=null,_this._positionCache=new _PositionCache2.default,_this._startIndex=null,_this._startIndexMemoized=null,_this._stopIndex=null,_this._stopIndexMemoized=null,_this._debounceResetIsScrollingCallback=function(){_this.setState({isScrolling:false})},_this._setScrollingContainerRef=function(ref){_this._scrollingContainer=ref},_this._onScroll=function(event){var height=_this.props.height;var eventScrollTop=event.target.scrollTop;var scrollTop=Math.min(Math.max(0,_this._getEstimatedTotalHeight()-height),eventScrollTop);if(eventScrollTop!==scrollTop)return;_this._debounceResetIsScrolling();_this.state.scrollTop!==scrollTop&&_this.setState({isScrolling:true,scrollTop:scrollTop})},_temp),(0,_possibleConstructorReturn3.default)(_this,_ret)}(0,_createClass3.default)(Masonry,[{key:"clearCellPositions",value:function clearCellPositions(){this._positionCache=new _PositionCache2.default;this.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function invalidateCellSizeAfterRender(_ref2){var index=_ref2.rowIndex;if(null===this._invalidateOnUpdateStartIndex){this._invalidateOnUpdateStartIndex=index;this._invalidateOnUpdateStopIndex=index}else{this._invalidateOnUpdateStartIndex=Math.min(this._invalidateOnUpdateStartIndex,index);this._invalidateOnUpdateStopIndex=Math.max(this._invalidateOnUpdateStopIndex,index)}}},{key:"recomputeCellPositions",value:function recomputeCellPositions(){var stopIndex=this._positionCache.count-1;this._positionCache=new _PositionCache2.default;this._populatePositionCache(0,stopIndex);this.forceUpdate()}},{key:"componentDidMount",value:function componentDidMount(){this._checkInvalidateOnUpdate();this._invokeOnScrollCallback();this._invokeOnCellsRenderedCallback()}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps,prevState){this._checkInvalidateOnUpdate();this._invokeOnScrollCallback();this._invokeOnCellsRenderedCallback();this.props.scrollTop!==prevProps.scrollTop&&this._debounceResetIsScrolling()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this._debounceResetIsScrollingId&&(0,_requestAnimationTimeout.cancelAnimationTimeout)(this._debounceResetIsScrollingId)}},{key:"render",value:function render(){var _this2=this;var _props=this.props,autoHeight=_props.autoHeight,cellCount=_props.cellCount,cellMeasurerCache=_props.cellMeasurerCache,cellRenderer=_props.cellRenderer,className=_props.className,height=_props.height,id=_props.id,keyMapper=_props.keyMapper,overscanByPixels=_props.overscanByPixels,role=_props.role,style=_props.style,tabIndex=_props.tabIndex,width=_props.width,rowDirection=_props.rowDirection;var _state=this.state,isScrolling=_state.isScrolling,scrollTop=_state.scrollTop;var children=[];var estimateTotalHeight=this._getEstimatedTotalHeight();var shortestColumnSize=this._positionCache.shortestColumnSize;var measuredCellCount=this._positionCache.count;var startIndex=0;var stopIndex=void 0;this._positionCache.range(Math.max(0,scrollTop-overscanByPixels),height+2*overscanByPixels,function(index,left,top){var _style;if("undefined"===typeof stopIndex){startIndex=index;stopIndex=index}else{startIndex=Math.min(startIndex,index);stopIndex=Math.max(stopIndex,index)}children.push(cellRenderer({index:index,isScrolling:isScrolling,key:keyMapper(index),parent:_this2,style:(_style={height:cellMeasurerCache.getHeight(index)},(0,_defineProperty3.default)(_style,"ltr"===rowDirection?"left":"right",left),(0,_defineProperty3.default)(_style,"position","absolute"),(0,_defineProperty3.default)(_style,"top",top),(0,_defineProperty3.default)(_style,"width",cellMeasurerCache.getWidth(index)),_style)}))});if(shortestColumnSize<scrollTop+height+overscanByPixels&&measuredCellCount<cellCount){var batchSize=Math.min(cellCount-measuredCellCount,Math.ceil((scrollTop+height+overscanByPixels-shortestColumnSize)/cellMeasurerCache.defaultHeight*width/cellMeasurerCache.defaultWidth));for(var _index=measuredCellCount;_index<measuredCellCount+batchSize;_index++){stopIndex=_index;children.push(cellRenderer({index:_index,isScrolling:isScrolling,key:keyMapper(_index),parent:this,style:{width:cellMeasurerCache.getWidth(_index)}}))}}this._startIndex=startIndex;this._stopIndex=stopIndex;return React.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:(0,_classnames2.default)("ReactVirtualized__Masonry",className),id:id,onScroll:this._onScroll,role:role,style:(0,_extends3.default)({boxSizing:"border-box",direction:"ltr",height:autoHeight?"auto":height,overflowX:"hidden",overflowY:estimateTotalHeight<height?"hidden":"auto",position:"relative",width:width,WebkitOverflowScrolling:"touch",willChange:"transform"},style),tabIndex:tabIndex},React.createElement("div",{className:"ReactVirtualized__Masonry__innerScrollContainer",style:{width:"100%",height:estimateTotalHeight,maxWidth:"100%",maxHeight:estimateTotalHeight,overflow:"hidden",pointerEvents:isScrolling?"none":"",position:"relative"}},children))}},{key:"_checkInvalidateOnUpdate",value:function _checkInvalidateOnUpdate(){if("number"===typeof this._invalidateOnUpdateStartIndex){var _startIndex=this._invalidateOnUpdateStartIndex;var _stopIndex=this._invalidateOnUpdateStopIndex;this._invalidateOnUpdateStartIndex=null;this._invalidateOnUpdateStopIndex=null;this._populatePositionCache(_startIndex,_stopIndex);this.forceUpdate()}}},{key:"_debounceResetIsScrolling",value:function _debounceResetIsScrolling(){var scrollingResetTimeInterval=this.props.scrollingResetTimeInterval;this._debounceResetIsScrollingId&&(0,_requestAnimationTimeout.cancelAnimationTimeout)(this._debounceResetIsScrollingId);this._debounceResetIsScrollingId=(0,_requestAnimationTimeout.requestAnimationTimeout)(this._debounceResetIsScrollingCallback,scrollingResetTimeInterval)}},{key:"_getEstimatedTotalHeight",value:function _getEstimatedTotalHeight(){var _props2=this.props,cellCount=_props2.cellCount,cellMeasurerCache=_props2.cellMeasurerCache,width=_props2.width;var estimatedColumnCount=Math.max(1,Math.floor(width/cellMeasurerCache.defaultWidth));return this._positionCache.estimateTotalHeight(cellCount,estimatedColumnCount,cellMeasurerCache.defaultHeight)}},{key:"_invokeOnScrollCallback",value:function _invokeOnScrollCallback(){var _props3=this.props,height=_props3.height,onScroll=_props3.onScroll;var scrollTop=this.state.scrollTop;if(this._onScrollMemoized!==scrollTop){onScroll({clientHeight:height,scrollHeight:this._getEstimatedTotalHeight(),scrollTop:scrollTop});this._onScrollMemoized=scrollTop}}},{key:"_invokeOnCellsRenderedCallback",value:function _invokeOnCellsRenderedCallback(){if(this._startIndexMemoized!==this._startIndex||this._stopIndexMemoized!==this._stopIndex){var _onCellsRendered=this.props.onCellsRendered;_onCellsRendered({startIndex:this._startIndex,stopIndex:this._stopIndex});this._startIndexMemoized=this._startIndex;this._stopIndexMemoized=this._stopIndex}}},{key:"_populatePositionCache",value:function _populatePositionCache(startIndex,stopIndex){var _props4=this.props,cellMeasurerCache=_props4.cellMeasurerCache,cellPositioner=_props4.cellPositioner;for(var _index2=startIndex;_index2<=stopIndex;_index2++){var _cellPositioner=cellPositioner(_index2),_left=_cellPositioner.left,_top=_cellPositioner.top;this._positionCache.setPosition(_index2,_left,_top,cellMeasurerCache.getHeight(_index2))}}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,prevState){if(void 0!==nextProps.scrollTop&&prevState.scrollTop!==nextProps.scrollTop)return{isScrolling:true,scrollTop:nextProps.scrollTop};return null}}]);return Masonry}(React.PureComponent);Masonry.defaultProps={autoHeight:false,keyMapper:identity,onCellsRendered:noop,onScroll:noop,overscanByPixels:20,role:"grid",scrollingResetTimeInterval:DEFAULT_SCROLLING_RESET_TIME_INTERVAL,style:emptyObject,tabIndex:0,rowDirection:"ltr"};Masonry.propTypes=null;function identity(value){return value}function noop(){}var bpfrpt_proptype_CellMeasurerCache=null;(0,_reactLifecyclesCompat.polyfill)(Masonry);exports.default=Masonry;var bpfrpt_proptype_Positioner=null;exports.bpfrpt_proptype_CellMeasurerCache=bpfrpt_proptype_CellMeasurerCache;exports.bpfrpt_proptype_Positioner=bpfrpt_proptype_Positioner},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _defineProperty=__webpack_require__(667);var _defineProperty2=_interopRequireDefault(_defineProperty);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=function(obj,key,value){key in obj?(0,_defineProperty2.default)(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=defaultCellDataGetter;__webpack_require__(243);function defaultCellDataGetter(_ref){var dataKey=_ref.dataKey,rowData=_ref.rowData;return"function"===typeof rowData.get?rowData.get(dataKey):rowData[dataKey]}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=defaultCellRenderer;__webpack_require__(243);function defaultCellRenderer(_ref){var cellData=_ref.cellData;return null==cellData?"":String(cellData)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=defaultHeaderRowRenderer;var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);__webpack_require__(243);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function defaultHeaderRowRenderer(_ref){var className=_ref.className,columns=_ref.columns,style=_ref.style;return React.createElement("div",{className:className,role:"row",style:style},columns)}defaultHeaderRowRenderer.propTypes=null},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=defaultHeaderRenderer;var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _SortIndicator=__webpack_require__(698);var _SortIndicator2=_interopRequireDefault(_SortIndicator);__webpack_require__(243);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function defaultHeaderRenderer(_ref){var dataKey=_ref.dataKey,label=_ref.label,sortBy=_ref.sortBy,sortDirection=_ref.sortDirection;var showSortIndicator=sortBy===dataKey;var children=[React.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:label},label)];showSortIndicator&&children.push(React.createElement(_SortIndicator2.default,{key:"SortIndicator",sortDirection:sortDirection}));return children}defaultHeaderRenderer.propTypes=null},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=SortIndicator;var _classnames=__webpack_require__(6);var _classnames2=_interopRequireDefault(_classnames);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _SortDirection=__webpack_require__(313);var _SortDirection2=_interopRequireDefault(_SortDirection);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function SortIndicator(_ref){var sortDirection=_ref.sortDirection;var classNames=(0,_classnames2.default)("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":sortDirection===_SortDirection2.default.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":sortDirection===_SortDirection2.default.DESC});return React.createElement("svg",{className:classNames,width:18,height:18,viewBox:"0 0 24 24"},sortDirection===_SortDirection2.default.ASC?React.createElement("path",{d:"M7 14l5-5 5 5z"}):React.createElement("path",{d:"M7 10l5 5 5-5z"}),React.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}SortIndicator.propTypes={}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);exports.default=defaultRowRenderer;var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);__webpack_require__(243);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function defaultRowRenderer(_ref){var className=_ref.className,columns=_ref.columns,index=_ref.index,key=_ref.key,onRowClick=_ref.onRowClick,onRowDoubleClick=_ref.onRowDoubleClick,onRowMouseOut=_ref.onRowMouseOut,onRowMouseOver=_ref.onRowMouseOver,onRowRightClick=_ref.onRowRightClick,rowData=_ref.rowData,style=_ref.style;var a11yProps={};if(onRowClick||onRowDoubleClick||onRowMouseOut||onRowMouseOver||onRowRightClick){a11yProps["aria-label"]="row";a11yProps.tabIndex=0;onRowClick&&(a11yProps.onClick=function(event){return onRowClick({event:event,index:index,rowData:rowData})});onRowDoubleClick&&(a11yProps.onDoubleClick=function(event){return onRowDoubleClick({event:event,index:index,rowData:rowData})});onRowMouseOut&&(a11yProps.onMouseOut=function(event){return onRowMouseOut({event:event,index:index,rowData:rowData})});onRowMouseOver&&(a11yProps.onMouseOver=function(event){return onRowMouseOver({event:event,index:index,rowData:rowData})});onRowRightClick&&(a11yProps.onContextMenu=function(event){return onRowRightClick({event:event,index:index,rowData:rowData})})}return React.createElement("div",(0,_extends3.default)({},a11yProps,{className:className,key:key,role:"row",style:style}),columns)}defaultRowRenderer.propTypes=null},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _defaultHeaderRenderer=__webpack_require__(697);var _defaultHeaderRenderer2=_interopRequireDefault(_defaultHeaderRenderer);var _defaultCellRenderer=__webpack_require__(695);var _defaultCellRenderer2=_interopRequireDefault(_defaultCellRenderer);var _defaultCellDataGetter=__webpack_require__(694);var _defaultCellDataGetter2=_interopRequireDefault(_defaultCellDataGetter);var _SortDirection=__webpack_require__(313);var _SortDirection2=_interopRequireDefault(_SortDirection);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Column=function(_React$Component){(0,_inherits3.default)(Column,_React$Component);function Column(){(0,_classCallCheck3.default)(this,Column);return(0,_possibleConstructorReturn3.default)(this,(Column.__proto__||(0,_getPrototypeOf2.default)(Column)).apply(this,arguments))}return Column}(React.Component);Column.defaultProps={cellDataGetter:_defaultCellDataGetter2.default,cellRenderer:_defaultCellRenderer2.default,defaultSortDirection:_SortDirection2.default.ASC,flexGrow:0,flexShrink:1,headerRenderer:_defaultHeaderRenderer2.default,style:{}};exports.default=Column;Column.propTypes={}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.IS_SCROLLING_TIMEOUT=void 0;var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _reactDom=__webpack_require__(72);var ReactDOM=_interopRequireWildcard(_reactDom);var _onScroll=__webpack_require__(1702);var _dimensions=__webpack_require__(1703);var _detectElementResize=__webpack_require__(688);var _detectElementResize2=_interopRequireDefault(_detectElementResize);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var IS_SCROLLING_TIMEOUT=exports.IS_SCROLLING_TIMEOUT=150;var getWindow=function getWindow(){return"undefined"!==typeof window?window:void 0};var WindowScroller=function(_React$PureComponent){(0,_inherits3.default)(WindowScroller,_React$PureComponent);function WindowScroller(){var _ref;var _temp,_this,_ret;(0,_classCallCheck3.default)(this,WindowScroller);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=(0,_possibleConstructorReturn3.default)(this,(_ref=WindowScroller.__proto__||(0,_getPrototypeOf2.default)(WindowScroller)).call.apply(_ref,[this].concat(args))),_this),_this._window=getWindow(),_this._isMounted=false,_this._positionFromTop=0,_this._positionFromLeft=0,_this.state=(0,_extends3.default)({},(0,_dimensions.getDimensions)(_this.props.scrollElement,_this.props),{isScrolling:false,scrollLeft:0,scrollTop:0}),_this._registerChild=function(element){!element||element instanceof Element||console.warn("WindowScroller registerChild expects to be passed Element or null");_this._child=element;_this.updatePosition()},_this._onChildScroll=function(_ref2){var scrollTop=_ref2.scrollTop;if(_this.state.scrollTop===scrollTop)return;var scrollElement=_this.props.scrollElement;scrollElement&&("function"===typeof scrollElement.scrollTo?scrollElement.scrollTo(0,scrollTop+_this._positionFromTop):scrollElement.scrollTop=scrollTop+_this._positionFromTop)},_this._registerResizeListener=function(element){element===window?window.addEventListener("resize",_this._onResize,false):_this._detectElementResize.addResizeListener(element,_this._onResize)},_this._unregisterResizeListener=function(element){element===window?window.removeEventListener("resize",_this._onResize,false):element&&_this._detectElementResize.removeResizeListener(element,_this._onResize)},_this._onResize=function(){_this.updatePosition()},_this.__handleWindowScrollEvent=function(){if(!_this._isMounted)return;var onScroll=_this.props.onScroll;var scrollElement=_this.props.scrollElement;if(scrollElement){var scrollOffset=(0,_dimensions.getScrollOffset)(scrollElement);var _scrollLeft=Math.max(0,scrollOffset.left-_this._positionFromLeft);var _scrollTop=Math.max(0,scrollOffset.top-_this._positionFromTop);_this.setState({isScrolling:true,scrollLeft:_scrollLeft,scrollTop:_scrollTop});onScroll({scrollLeft:_scrollLeft,scrollTop:_scrollTop})}},_this.__resetIsScrolling=function(){_this.setState({isScrolling:false})},_temp),(0,_possibleConstructorReturn3.default)(_this,_ret)}(0,_createClass3.default)(WindowScroller,[{key:"updatePosition",value:function updatePosition(){var scrollElement=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement;var onResize=this.props.onResize;var _state=this.state,height=_state.height,width=_state.width;var thisNode=this._child||ReactDOM.findDOMNode(this);if(thisNode instanceof Element&&scrollElement){var offset=(0,_dimensions.getPositionOffset)(thisNode,scrollElement);this._positionFromTop=offset.top;this._positionFromLeft=offset.left}var dimensions=(0,_dimensions.getDimensions)(scrollElement,this.props);if(height!==dimensions.height||width!==dimensions.width){this.setState({height:dimensions.height,width:dimensions.width});onResize({height:dimensions.height,width:dimensions.width})}}},{key:"componentDidMount",value:function componentDidMount(){var scrollElement=this.props.scrollElement;this._detectElementResize=(0,_detectElementResize2.default)();this.updatePosition(scrollElement);if(scrollElement){(0,_onScroll.registerScrollListener)(this,scrollElement);this._registerResizeListener(scrollElement)}this._isMounted=true}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps,prevState){var scrollElement=this.props.scrollElement;var prevScrollElement=prevProps.scrollElement;if(prevScrollElement!==scrollElement&&null!=prevScrollElement&&null!=scrollElement){this.updatePosition(scrollElement);(0,_onScroll.unregisterScrollListener)(this,prevScrollElement);(0,_onScroll.registerScrollListener)(this,scrollElement);this._unregisterResizeListener(prevScrollElement);this._registerResizeListener(scrollElement)}}},{key:"componentWillUnmount",value:function componentWillUnmount(){var scrollElement=this.props.scrollElement;if(scrollElement){(0,_onScroll.unregisterScrollListener)(this,scrollElement);this._unregisterResizeListener(scrollElement)}this._isMounted=false}},{key:"render",value:function render(){var children=this.props.children;var _state2=this.state,isScrolling=_state2.isScrolling,scrollTop=_state2.scrollTop,scrollLeft=_state2.scrollLeft,height=_state2.height,width=_state2.width;return children({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:height,isScrolling:isScrolling,scrollLeft:scrollLeft,scrollTop:scrollTop,width:width})}}]);return WindowScroller}(React.PureComponent);WindowScroller.defaultProps={onResize:function onResize(){},onScroll:function onScroll(){},scrollingResetTimeInterval:IS_SCROLLING_TIMEOUT,scrollElement:getWindow(),serverHeight:0,serverWidth:0};WindowScroller.propTypes=null;exports.default=WindowScroller},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiHighlight",{enumerable:true,get:function get(){return _highlight.EuiHighlight}});var _highlight=__webpack_require__(1704)},function(module,exports,__webpack_require__){__webpack_require__(282)("search",1,function(defined,SEARCH,$search){return[function search(regexp){"use strict";var O=defined(this);var fn=void 0==regexp?void 0:regexp[SEARCH];return void 0!==fn?fn.call(regexp,O):new RegExp(regexp)[SEARCH](String(O))},$search]})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiDatePicker=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _moment=_interopRequireDefault(__webpack_require__(53));var _packages=__webpack_require__(551);var _form_control_layout=__webpack_require__(127);var _validatable_control=__webpack_require__(128);var _error_boundary=__webpack_require__(705);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var EuiDatePicker=function(_Component){_inherits(EuiDatePicker,_Component);function EuiDatePicker(){_classCallCheck(this,EuiDatePicker);return _possibleConstructorReturn(this,_getPrototypeOf(EuiDatePicker).apply(this,arguments))}_createClass(EuiDatePicker,[{key:"render",value:function render(){var _this$props=this.props,calendarClassName=_this$props.calendarClassName,className=_this$props.className,customInput=_this$props.customInput,dateFormat=_this$props.dateFormat,dayClassName=_this$props.dayClassName,disabled=_this$props.disabled,excludeDates=_this$props.excludeDates,filterDates=_this$props.filterDates,fullWidth=_this$props.fullWidth,injectTimes=_this$props.injectTimes,inline=_this$props.inline,inputRef=_this$props.inputRef,isInvalid=_this$props.isInvalid,isLoading=_this$props.isLoading,locale=_this$props.locale,maxDate=_this$props.maxDate,maxTime=_this$props.maxTime,minDate=_this$props.minDate,minTime=_this$props.minTime,onChange=_this$props.onChange,openToDate=_this$props.openToDate,placeholder=_this$props.placeholder,popperClassName=_this$props.popperClassName,selected=_this$props.selected,shadow=_this$props.shadow,shouldCloseOnSelect=_this$props.shouldCloseOnSelect,showIcon=_this$props.showIcon,showTimeSelect=_this$props.showTimeSelect,showTimeSelectOnly=_this$props.showTimeSelectOnly,timeFormat=_this$props.timeFormat,utcOffset=_this$props.utcOffset,rest=_objectWithoutProperties(_this$props,["calendarClassName","className","customInput","dateFormat","dayClassName","disabled","excludeDates","filterDates","fullWidth","injectTimes","inline","inputRef","isInvalid","isLoading","locale","maxDate","maxTime","minDate","minTime","onChange","openToDate","placeholder","popperClassName","selected","shadow","shouldCloseOnSelect","showIcon","showTimeSelect","showTimeSelectOnly","timeFormat","utcOffset"]);var classes=(0,_classnames.default)("euiDatePicker",{"euiDatePicker--shadow":shadow,"euiDatePicker--inline":inline});var datePickerClasses=(0,_classnames.default)("euiDatePicker","euiFieldText",{"euiFieldText--fullWidth":fullWidth,"euiFieldText-isLoading":isLoading,"euiFieldText--withIcon":!inline&&showIcon,"euiFieldText-isInvalid":isInvalid},className);var optionalIcon;optionalIcon=inline||customInput||!showIcon?null:showTimeSelectOnly?"clock":"calendar";var PropNotSupported=function PropNotSupported(){throw new Error("You are using a prop from react-datepicker that EuiDatePicker\n        does not support. Please check the EUI documentation for more information.")};if(this.props.monthsShown||this.props.showWeekNumbers||this.props.fixedHeight||this.props.dropdownMode||this.props.useShortMonthInDropdown||this.props.todayButton||this.props.timeCaption||this.props.disabledKeyboardNavigation||this.props.isClearable||this.props.withPortal)return _react.default.createElement(_error_boundary.EuiErrorBoundary,null,_react.default.createElement(PropNotSupported,null));return _react.default.createElement("span",null,_react.default.createElement("span",{className:classes},_react.default.createElement(_form_control_layout.EuiFormControlLayout,{icon:optionalIcon,fullWidth:fullWidth,isLoading:isLoading},_react.default.createElement(_validatable_control.EuiValidatableControl,{isInvalid:isInvalid},_react.default.createElement(_packages.ReactDatePicker,_extends({calendarClassName:calendarClassName,className:datePickerClasses,customInput:customInput,dateFormat:dateFormat,dayClassName:dayClassName,disabled:disabled,excludeDates:excludeDates,filterDates:filterDates,injectTimes:injectTimes,inline:inline,locale:locale,maxDate:maxDate,maxTime:maxTime,minDate:minDate,minTime:minTime,onChange:onChange,openToDate:openToDate,placeholderText:placeholder,popperClassName:popperClassName,ref:inputRef,selected:selected,shouldCloseOnSelect:shouldCloseOnSelect,showMonthDropdown:true,showTimeSelect:showTimeSelect,showTimeSelectOnly:showTimeSelectOnly,showYearDropdown:true,timeFormat:timeFormat,utcOffset:utcOffset,yearDropdownItemNumber:7,accessibleMode:true},rest))))))}}]);return EuiDatePicker}(_react.Component);exports.EuiDatePicker=EuiDatePicker;EuiDatePicker.propTypes={calendarClassName:_propTypes.default.string,className:_propTypes.default.string,customInput:_propTypes.default.node,dateFormat:_propTypes.default.string,dayClassName:_propTypes.default.func,filterDates:_propTypes.default.array,fullWidth:_propTypes.default.bool,injectTimes:_propTypes.default.array,inputRef:_propTypes.default.func,isInvalid:_propTypes.default.bool,isLoading:_propTypes.default.bool,locale:_propTypes.default.string,maxDate:_propTypes.default.instanceOf(_moment.default),maxTime:_propTypes.default.instanceOf(_moment.default),minDate:_propTypes.default.instanceOf(_moment.default),minTime:_propTypes.default.instanceOf(_moment.default),onChange:_propTypes.default.func,openToDate:_propTypes.default.instanceOf(_moment.default),placeholder:_propTypes.default.string,popperClassName:_propTypes.default.string,selected:_propTypes.default.instanceOf(_moment.default),shadow:_propTypes.default.bool,shouldCloseOnSelect:_propTypes.default.bool,showIcon:_propTypes.default.bool,showTimeSelect:_propTypes.default.bool,showTimeSelectOnly:_propTypes.default.bool,timeFormat:_propTypes.default.string};EuiDatePicker.defaultProps={dateFormat:"MM/DD/YYYY hh:mm A",fullWidth:false,isLoading:false,shadow:true,shouldCloseOnSelect:true,showIcon:true,timeFormat:"hh:mm A"};EuiDatePicker.__docgenInfo={description:"",methods:[],displayName:"EuiDatePicker",props:{dateFormat:{defaultValue:{value:"'MM/DD/YYYY hh:mm A'",computed:false},type:{name:"string"},required:false,description:"Accepts any moment format string"},fullWidth:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Makes the input full width"},isLoading:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Provides styling to the input when loading"},shadow:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Can turn the shadow off if using the inline prop"},shouldCloseOnSelect:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Will close the popup on selection"},showIcon:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Show the icon in input"},timeFormat:{defaultValue:{value:"'hh:mm A'",computed:false},type:{name:"string"},required:false,description:"The format of the time within the selector, in moment notation"},calendarClassName:{type:{name:"string"},required:false,description:"Optional class added to the calendar portion of datepicker"},className:{type:{name:"string"},required:false,description:"Added to the actual input of the calendar"},customInput:{type:{name:"node"},required:false,description:"Replaces the input with any node, like a button"},dayClassName:{type:{name:"func"},required:false,description:"Applies classes to the numbered days provided. Check docs for example."},filterDates:{type:{name:"array"},required:false,description:"Array of dates allowed. Check docs for example."},injectTimes:{type:{name:"array"},required:false,description:"Adds additional times to the time selector other then :30 increments"},inputRef:{type:{name:"func"},required:false,description:"Applies ref to the input"},isInvalid:{type:{name:"bool"},required:false,description:"Provides styling to the input when invalid"},locale:{type:{name:"string"},required:false,description:'Switches the locale / display. "en-us", "zn-ch"...etc'},maxDate:{type:{name:"instanceOf",value:"moment"},required:false,description:"The max date accepted (in moment format) as a selection"},maxTime:{type:{name:"instanceOf",value:"moment"},required:false,description:"The max time accepted (in moment format) as a selection"},minDate:{type:{name:"instanceOf",value:"moment"},required:false,description:"The min date accepted (in moment format) as a selection"},minTime:{type:{name:"instanceOf",value:"moment"},required:false,description:"The min time accepted (in moment format) as a selection"},onChange:{type:{name:"func"},required:false,description:"What to do when the input changes"},openToDate:{type:{name:"instanceOf",value:"moment"},required:false,description:"Opens to this date (in moment format) on first press, regardless of selection"},placeholder:{type:{name:"string"},required:false,description:"Shows only when no date is selected"},popperClassName:{type:{name:"string"},required:false,description:"Class applied to the popup, when inline is false"},selected:{type:{name:"instanceOf",value:"moment"},required:false,description:"The selected datetime (in moment format)"},showTimeSelect:{type:{name:"bool"},required:false,description:"Show the time selection alongside the calendar"},showTimeSelectOnly:{type:{name:"bool"},required:false,description:"Only show the time selector, not the calendar"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiErrorBoundary",{enumerable:true,get:function get(){return _error_boundary.EuiErrorBoundary}});var _error_boundary=__webpack_require__(1711)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiDatePickerRange=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _text=__webpack_require__(74);var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiDatePickerRange=function EuiDatePickerRange(_ref){var children=_ref.children,className=_ref.className,startDateControl=_ref.startDateControl,endDateControl=_ref.endDateControl,iconType=_ref.iconType,fullWidth=_ref.fullWidth,isCustom=_ref.isCustom,readOnly=_ref.readOnly,rest=_objectWithoutProperties(_ref,["children","className","startDateControl","endDateControl","iconType","fullWidth","isCustom","readOnly"]);var classes=(0,_classnames.default)("euiDatePickerRange",{"euiDatePickerRange--fullWidth":fullWidth,"euiDatePickerRange--readOnly":readOnly},className);var optionalIcon;if(iconType){var icon="string"===typeof iconType?iconType:"calendar";optionalIcon=_react.default.createElement("span",{className:"euiDatePickerRange__icon"},_react.default.createElement(_icon.EuiIcon,{type:icon}))}else optionalIcon=null;var startControl=startDateControl;var endControl=endDateControl;if(!isCustom){startControl=(0,_react.cloneElement)(startDateControl,{showIcon:false,fullWidth:fullWidth,readOnly:readOnly});endControl=(0,_react.cloneElement)(endDateControl,{showIcon:false,fullWidth:fullWidth,readOnly:readOnly})}return _react.default.createElement("div",_extends({className:classes},rest),children||_react.default.createElement(_react.Fragment,null,optionalIcon,startControl,_react.default.createElement(_text.EuiText,{className:"euiDatePickerRange__delimeter",size:"s",color:"subdued"},"→"),endControl))};exports.EuiDatePickerRange=EuiDatePickerRange;EuiDatePickerRange.propTypes={startDateControl:_propTypes.default.node.isRequired,endDateControl:_propTypes.default.node.isRequired,iconType:_propTypes.default.oneOfType([_propTypes.default.bool,_propTypes.default.oneOf(_icon.ICON_TYPES)]),fullWidth:_propTypes.default.bool,isCustom:_propTypes.default.bool,children:_propTypes.default.node};EuiDatePickerRange.defaultProps={iconType:true};EuiDatePickerRange.__docgenInfo={description:"",methods:[],displayName:"EuiDatePickerRange",props:{iconType:{defaultValue:{value:"true",computed:false},type:{name:"union",value:[{name:"bool"},{name:"enum",computed:true,value:"ICON_TYPES"}]},required:false,description:"Pass either an icon type or set to `false` to remove icon entirely"},startDateControl:{type:{name:"node"},required:true,description:"The start date `EuiDatePicker` element"},endDateControl:{type:{name:"node"},required:true,description:"The end date `EuiDatePicker` element"},fullWidth:{type:{name:"bool"},required:false,description:""},isCustom:{type:{name:"bool"},required:false,description:"Won't apply any additional props to start and end date components"},children:{type:{name:"node"},required:false,description:"Including any children will replace all innerds with the provided children"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getDateMode=getDateMode;exports.toAbsoluteString=toAbsoluteString;exports.toRelativeString=toRelativeString;exports.DATE_MODES=void 0;__webpack_require__(92);__webpack_require__(93);var _datemath=_interopRequireDefault(__webpack_require__(124));var _relative_utils=__webpack_require__(436);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var DATE_MODES={ABSOLUTE:"absolute",RELATIVE:"relative",NOW:"now"};exports.DATE_MODES=DATE_MODES;function getDateMode(value){if("now"===value)return DATE_MODES.NOW;if(value.includes("now"))return DATE_MODES.RELATIVE;return DATE_MODES.absolute}function toAbsoluteString(value,roundUp){var valueAsMoment=_datemath.default.parse(value,{roundUp:roundUp});if(!valueAsMoment)return value;return valueAsMoment.toISOString()}function toRelativeString(value){return(0,_relative_utils.toRelativeStringFromParts)((0,_relative_utils.parseRelativeParts)(value))}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.relativeUnitsFromLargestToSmallest=exports.relativeOptions=void 0;__webpack_require__(92);__webpack_require__(93);var relativeOptions=[{text:"Seconds ago",value:"s"},{text:"Minutes ago",value:"m"},{text:"Hours ago",value:"h"},{text:"Days ago",value:"d"},{text:"Weeks ago",value:"w"},{text:"Months ago",value:"M"},{text:"Years ago",value:"y"},{text:"Seconds from now",value:"s+"},{text:"Minutes from now",value:"m+"},{text:"Hours from now",value:"h+"},{text:"Days from now",value:"d+"},{text:"Weeks from now",value:"w+"},{text:"Months from now",value:"M+"},{text:"Years from now",value:"y+"}];exports.relativeOptions=relativeOptions;var relativeUnitsFromLargestToSmallest=relativeOptions.filter(function(_ref){var value=_ref.value;return!value.includes("+")}).map(function(_ref2){var value=_ref2.value;return value}).reverse();exports.relativeUnitsFromLargestToSmallest=relativeUnitsFromLargestToSmallest},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSuperUpdateButton=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _react=_interopRequireWildcard(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));var _button=__webpack_require__(43);var _tool_tip=__webpack_require__(112);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiSuperUpdateButton=function(_Component){_inherits(EuiSuperUpdateButton,_Component);function EuiSuperUpdateButton(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiSuperUpdateButton);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiSuperUpdateButton)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setTootipRef",function(node){return _this.tooltip=node});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"showTooltip",function(){if(!_this._isMounted||!_this.tooltip)return;_this.tooltip.showToolTip()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"hideTooltip",function(){if(!_this._isMounted||!_this.tooltip)return;_this.tooltip.hideToolTip()});return _this}_createClass(EuiSuperUpdateButton,[{key:"componentWillUnmount",value:function componentWillUnmount(){this._isMounted=false}},{key:"componentDidMount",value:function componentDidMount(){this._isMounted=true}},{key:"componentDidUpdate",value:function componentDidUpdate(){var _this2=this;if(this.props.needsUpdate&&!this.props.isDisabled&&!this.props.isLoading){this.showTooltip();this.tooltipTimeout=setTimeout(function(){_this2.hideTooltip()},2e3)}}},{key:"render",value:function render(){var _this$props=this.props,className=_this$props.className,needsUpdate=_this$props.needsUpdate,isLoading=_this$props.isLoading,isDisabled=_this$props.isDisabled,onClick=_this$props.onClick,toolTipProps=_this$props.toolTipProps,rest=_objectWithoutProperties(_this$props,["className","needsUpdate","isLoading","isDisabled","onClick","toolTipProps"]);var classes=(0,_classnames.default)("euiSuperUpdateButton",className);var buttonText="Refresh";(needsUpdate||isLoading)&&(buttonText=isLoading?"Updating":"Update");var tooltipContent;isDisabled?tooltipContent="Cannot update":needsUpdate&&!isLoading&&(tooltipContent="Click to apply");return _react.default.createElement(_tool_tip.EuiToolTip,_extends({ref:this.setTootipRef,content:tooltipContent,position:"bottom"},toolTipProps),_react.default.createElement(_button.EuiButton,_extends({className:classes,color:needsUpdate||isLoading?"secondary":"primary",fill:true,iconType:needsUpdate||isLoading?"kqlFunction":"refresh",textProps:{className:"euiSuperUpdateButton__text"},isDisabled:isDisabled,onClick:onClick,isLoading:isLoading},rest),buttonText))}}]);return EuiSuperUpdateButton}(_react.Component);exports.EuiSuperUpdateButton=EuiSuperUpdateButton;_defineProperty(EuiSuperUpdateButton,"propTypes",{needsUpdate:_propTypes.default.bool,isLoading:_propTypes.default.bool,isDisabled:_propTypes.default.bool,onClick:_propTypes.default.func.isRequired,toolTipProps:_propTypes.default.object});_defineProperty(EuiSuperUpdateButton,"defaultProps",{needsUpdate:false,isLoading:false,isDisabled:false});EuiSuperUpdateButton.__docgenInfo={description:"",methods:[{name:"setTootipRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null},{name:"showTooltip",docblock:null,modifiers:[],params:[],returns:null},{name:"hideTooltip",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiSuperUpdateButton",props:{needsUpdate:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},isLoading:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},isDisabled:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},onClick:{type:{name:"func"},required:true,description:""},toolTipProps:{type:{name:"object"},required:false,description:"Passes props to `EuiToolTip`"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiTab",{enumerable:true,get:function get(){return _tab.EuiTab}});Object.defineProperty(exports,"EuiTabs",{enumerable:true,get:function get(){return _tabs.EuiTabs}});Object.defineProperty(exports,"EuiTabbedContent",{enumerable:true,get:function get(){return _tabbed_content.EuiTabbedContent}});var _tab=__webpack_require__(711);var _tabs=__webpack_require__(712);var _tabbed_content=__webpack_require__(1723)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTab=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiTab=function EuiTab(_ref){var isSelected=_ref.isSelected,onClick=_ref.onClick,children=_ref.children,className=_ref.className,disabled=_ref.disabled,rest=_objectWithoutProperties(_ref,["isSelected","onClick","children","className","disabled"]);var classes=(0,_classnames.default)("euiTab",className,{"euiTab-isSelected":isSelected,"euiTab-isDisabled":disabled});return _react.default.createElement("button",_extends({role:"tab","aria-selected":!!isSelected,type:"button",className:classes,onClick:onClick,disabled:disabled},rest),_react.default.createElement("span",{className:"euiTab__content"},children))};exports.EuiTab=EuiTab;EuiTab.defaultProps={isSelected:false,disabled:false};EuiTab.propTypes={isSelected:_propTypes.default.bool,onClick:_propTypes.default.func.isRequired,children:_propTypes.default.node,className:_propTypes.default.string,disabled:_propTypes.default.bool};EuiTab.__docgenInfo={description:"",methods:[],displayName:"EuiTab",props:{isSelected:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},disabled:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},onClick:{type:{name:"func"},required:true,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTabs=exports.SIZES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var sizeToClassNameMap={s:"euiTabs--small",m:null};var SIZES=Object.keys(sizeToClassNameMap);exports.SIZES=SIZES;var EuiTabs=function EuiTabs(_ref){var size=_ref.size,expand=_ref.expand,children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["size","expand","children","className"]);var classes=(0,_classnames.default)("euiTabs",sizeToClassNameMap[size],{"euiTabs--expand":expand},className);return _react.default.createElement("div",_extends({role:"tablist",className:classes},rest),children)};exports.EuiTabs=EuiTabs;EuiTabs.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,size:_propTypes.default.oneOf(SIZES),expand:_propTypes.default.bool};EuiTabs.defaultProps={size:"m",expand:false};EuiTabs.__docgenInfo={description:"",methods:[],displayName:"EuiTabs",props:{size:{defaultValue:{value:"'m'",computed:false},type:{name:"enum",value:[{value:'"s"',computed:false},{value:'"m"',computed:false}]},required:false,description:""},expand:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Evenly stretches each tab to fill the\nhorizontal space"},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiDescriptionListTitle=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiDescriptionListTitle=function EuiDescriptionListTitle(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiDescriptionList__title",className);return _react.default.createElement("dt",_extends({className:classes},rest),children)};exports.EuiDescriptionListTitle=EuiDescriptionListTitle;EuiDescriptionListTitle.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiDescriptionListTitle.__docgenInfo={description:"",methods:[],displayName:"EuiDescriptionListTitle",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiDescriptionListDescription=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiDescriptionListDescription=function EuiDescriptionListDescription(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiDescriptionList__description",className);return _react.default.createElement("dd",_extends({className:classes},rest),children)};exports.EuiDescriptionListDescription=EuiDescriptionListDescription;EuiDescriptionListDescription.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiDescriptionListDescription.__docgenInfo={description:"",methods:[],displayName:"EuiDescriptionListDescription",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiEmptyPrompt",{enumerable:true,get:function get(){return _empty_prompt.EuiEmptyPrompt}});var _empty_prompt=__webpack_require__(1731)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiHeaderSection",{enumerable:true,get:function get(){return _header_section.EuiHeaderSection}});Object.defineProperty(exports,"EuiHeaderSectionItem",{enumerable:true,get:function get(){return _header_section_item.EuiHeaderSectionItem}});Object.defineProperty(exports,"EuiHeaderSectionItemButton",{enumerable:true,get:function get(){return _header_section_item_button.EuiHeaderSectionItemButton}});var _header_section=__webpack_require__(1754);var _header_section_item=__webpack_require__(1755);var _header_section_item_button=__webpack_require__(1756)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiListGroup",{enumerable:true,get:function get(){return _list_group.EuiListGroup}});Object.defineProperty(exports,"EuiListGroupItem",{enumerable:true,get:function get(){return _list_group_item.EuiListGroupItem}});var _list_group=__webpack_require__(438);var _list_group_item=__webpack_require__(718)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiListGroupItem=exports.SIZES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _button=__webpack_require__(43);var _icon=__webpack_require__(20);var _tool_tip=__webpack_require__(112);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var sizeToClassNameMap={xs:"euiListGroupItem--xSmall",s:"euiListGroupItem--small",m:"euiListGroupItem--medium",l:"euiListGroupItem--large"};var SIZES=Object.keys(sizeToClassNameMap);exports.SIZES=SIZES;var EuiListGroupItem=function EuiListGroupItem(_ref){var label=_ref.label,isActive=_ref.isActive,isDisabled=_ref.isDisabled,href=_ref.href,className=_ref.className,iconType=_ref.iconType,icon=_ref.icon,extraAction=_ref.extraAction,onClick=_ref.onClick,size=_ref.size,showToolTip=_ref.showToolTip,wrapText=_ref.wrapText,rest=_objectWithoutProperties(_ref,["label","isActive","isDisabled","href","className","iconType","icon","extraAction","onClick","size","showToolTip","wrapText"]);var classes=(0,_classnames.default)("euiListGroupItem",sizeToClassNameMap[size],{"euiListGroupItem-isActive":isActive,"euiListGroupItem-isDisabled":isDisabled,"euiListGroupItem-isClickable":href||onClick,"euiListGroupItem-hasExtraAction":extraAction,"euiListGroupItem--wrapText":wrapText},className);var iconNode;if(iconType){iconNode=_react.default.createElement(_icon.EuiIcon,{className:"euiListGroupItem__icon",type:iconType});icon&&console.warn("Both `iconType` and `icon` were passed to EuiListGroupItem but only one can exist. The `iconType` was used.")}else icon&&(iconNode=_react.default.cloneElement(icon,{className:(0,_classnames.default)("euiListGroupItem__icon",icon.props.className)}));var extraActionNode;if(extraAction){var _iconType=extraAction.iconType,alwaysShow=extraAction.alwaysShow,_rest=_objectWithoutProperties(extraAction,["iconType","alwaysShow"]);var extraActionClasses=(0,_classnames.default)("euiListGroupItem__extraAction",{"euiListGroupItem__extraAction-alwaysShow":alwaysShow});extraActionNode=_react.default.createElement(_button.EuiButtonIcon,_extends({className:extraActionClasses,iconType:_iconType},_rest,{disabled:isDisabled}))}var labelContent=_react.default.createElement("span",{className:"euiListGroupItem__label",title:wrapText?void 0:label},label);var itemContent;if(href&&!isDisabled){itemContent=_react.default.createElement("a",_extends({href:href,className:"euiListGroupItem__button"},rest),iconNode,labelContent);onClick&&console.warn("Both `href` and `onClick` were passed to EuiListGroupItem but only one can exist. The `href` was used.")}else itemContent=href&&isDisabled||onClick?_react.default.createElement("button",_extends({className:"euiListGroupItem__button",disabled:isDisabled,onClick:onClick},rest),iconNode,labelContent):_react.default.createElement("span",_extends({className:"euiListGroupItem__text"},rest),iconNode,labelContent);itemContent=showToolTip?_react.default.createElement("li",{className:classes},_react.default.createElement(_tool_tip.EuiToolTip,{anchorClassName:"euiListGroupItem__tooltip",content:label,position:"right",delay:"long",size:"s"},itemContent)):_react.default.createElement("li",{className:classes},itemContent,extraActionNode);return _react.default.createElement(_react.Fragment,null,itemContent)};exports.EuiListGroupItem=EuiListGroupItem;EuiListGroupItem.propTypes={className:_propTypes.default.string,size:_propTypes.default.oneOf(SIZES),label:_propTypes.default.node.isRequired,isActive:_propTypes.default.bool,isDisabled:_propTypes.default.bool,href:_propTypes.default.string,iconType:_propTypes.default.oneOf(_icon.ICON_TYPES),icon:_propTypes.default.element,showToolTip:_propTypes.default.bool,extraAction:_propTypes.default.shape({iconType:_propTypes.default.oneOf(_icon.ICON_TYPES).isRequired,alwaysShow:_propTypes.default.bool}),onClick:_propTypes.default.func,wrapText:_propTypes.default.bool};EuiListGroupItem.defaultProps={isActive:false,isDisabled:false,size:"m",showToolTip:false};EuiListGroupItem.__docgenInfo={description:"",methods:[],displayName:"EuiListGroupItem",props:{isActive:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Apply styles indicating an item is active"},isDisabled:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Apply styles indicating an item is disabled"},size:{defaultValue:{value:"'m'",computed:false},type:{name:"enum",value:[{value:'"xs"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false}]},required:false,description:"Set the size of the label text"},showToolTip:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Display tooltip on list item"},className:{type:{name:"string"},required:false,description:""},label:{type:{name:"node"},required:true,description:"Content to be displyed in the list item"},href:{type:{name:"string"},required:false,description:"Make the list item label a link"},iconType:{type:{name:"enum",computed:true,value:"ICON_TYPES"},required:false,description:"Adds `EuiIcon` of `EuiIcon.type`"},icon:{type:{name:"element"},required:false,description:"Custom node to pass as the icon. Cannot be used in conjunction\nwith `iconType`."},extraAction:{type:{name:"shape",value:{iconType:{name:"enum",computed:true,value:"ICON_TYPES",required:true},alwaysShow:{name:"bool",required:false}}},required:false,description:"Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;\npass `alwaysShow` if you don't want the default behavior of only showing on hover"},onClick:{type:{name:"func"},required:false,description:""},wrapText:{type:{name:"bool"},required:false,description:"Allow link text to wrap"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiModal=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _focusTrapReact=_interopRequireDefault(__webpack_require__(126));var _services=__webpack_require__(25);var _button=__webpack_require__(43);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiModal=function(_Component){_inherits(EuiModal,_Component);function EuiModal(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiModal);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiModal)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onKeyDown",function(event){if(event.keyCode===_services.keyCodes.ESCAPE){event.preventDefault();event.stopPropagation();_this.props.onClose()}});return _this}_createClass(EuiModal,[{key:"render",value:function render(){var _this2=this;var _this$props=this.props,className=_this$props.className,children=_this$props.children,initialFocus=_this$props.initialFocus,onClose=_this$props.onClose,maxWidth=_this$props.maxWidth,style=_this$props.style,rest=_objectWithoutProperties(_this$props,["className","children","initialFocus","onClose","maxWidth","style"]);var newStyle;var widthClassName;if(true===maxWidth)widthClassName="euiModal--maxWidth-default";else if(false!==maxWidth){var value="number"===typeof maxWidth?"".concat(maxWidth,"px"):maxWidth;newStyle=_objectSpread({},style,{maxWidth:value})}var classes=(0,_classnames.default)("euiModal",widthClassName,className);return _react.default.createElement(_focusTrapReact.default,{focusTrapOptions:{fallbackFocus:function fallbackFocus(){return _this2.modal},initialFocus:initialFocus}},_react.default.createElement("div",_extends({ref:function ref(node){_this2.modal=node},className:classes,onKeyDown:this.onKeyDown,tabIndex:0,style:newStyle||style},rest),_react.default.createElement(_i18n.EuiI18n,{token:"euiModal.closeModal",default:"Closes this modal window"},function(closeModal){return _react.default.createElement(_button.EuiButtonIcon,{iconType:"cross",onClick:onClose,className:"euiModal__closeIcon",color:"text","aria-label":closeModal})}),_react.default.createElement("div",{className:"euiModal__flex"},children)))}}]);return EuiModal}(_react.Component);exports.EuiModal=EuiModal;EuiModal.propTypes={className:_propTypes.default.string,children:_propTypes.default.node,onClose:_propTypes.default.func.isRequired,maxWidth:_propTypes.default.oneOfType([_propTypes.default.bool,_propTypes.default.number,_propTypes.default.string]),initialFocus:_propTypes.default.oneOfType([_propTypes.default.instanceOf(HTMLElement),_propTypes.default.func,_propTypes.default.string])};EuiModal.defaultProps={maxWidth:true};EuiModal.__docgenInfo={description:"",methods:[{name:"onKeyDown",docblock:null,modifiers:[],params:[{name:"event",type:null}],returns:null}],displayName:"EuiModal",props:{maxWidth:{defaultValue:{value:"true",computed:false},type:{name:"union",value:[{name:"bool"},{name:"number"},{name:"string"}]},required:false,description:"Sets the max-width of the modal.\nSet to `true` to use the default (`euiBreakpoints 'm'`),\nset to `false` to not restrict the width,\nset to a number for a custom width in px,\nset to a string for a custom width in custom measurement."},className:{type:{name:"string"},required:false,description:""},children:{type:{name:"node"},required:false,description:""},onClose:{type:{name:"func"},required:true,description:""},initialFocus:{type:{name:"union",value:[{name:"instanceOf",value:"HTMLElement"},{name:"func"},{name:"string"}]},required:false,description:"specifies what element should initially have focus; Can be a DOM node, or a selector string (which will be passed to document.querySelector() to find the DOM node), or a function that returns a DOM node."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiModalFooter=EuiModalFooter;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function EuiModalFooter(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);var classes=(0,_classnames.default)("euiModalFooter",className);return _react.default.createElement("div",_extends({className:classes},rest),children)}EuiModalFooter.propTypes={className:_propTypes.default.string,children:_propTypes.default.node};EuiModalFooter.__docgenInfo={description:"",methods:[],displayName:"EuiModalFooter",props:{className:{type:{name:"string"},required:false,description:""},children:{type:{name:"node"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiModalHeader=EuiModalHeader;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function EuiModalHeader(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);var classes=(0,_classnames.default)("euiModalHeader",className);return _react.default.createElement("div",_extends({className:classes},rest),children)}EuiModalHeader.propTypes={className:_propTypes.default.string,children:_propTypes.default.node};EuiModalHeader.__docgenInfo={description:"",methods:[],displayName:"EuiModalHeader",props:{className:{type:{name:"string"},required:false,description:""},children:{type:{name:"node"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiModalHeaderTitle=EuiModalHeaderTitle;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function EuiModalHeaderTitle(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);var classes=(0,_classnames.default)("euiModalHeader__title",className);return _react.default.createElement("div",_extends({className:classes},rest),children)}EuiModalHeaderTitle.propTypes={className:_propTypes.default.string,children:_propTypes.default.node};EuiModalHeaderTitle.__docgenInfo={description:"",methods:[],displayName:"EuiModalHeaderTitle",props:{className:{type:{name:"string"},required:false,description:""},children:{type:{name:"node"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiModalBody=EuiModalBody;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function EuiModalBody(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);var classes=(0,_classnames.default)("euiModalBody",className);return _react.default.createElement("div",_extends({className:classes},rest),children)}EuiModalBody.propTypes={className:_propTypes.default.string,children:_propTypes.default.node};EuiModalBody.__docgenInfo={description:"",methods:[],displayName:"EuiModalBody",props:{className:{type:{name:"string"},required:false,description:""},children:{type:{name:"node"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiNavDrawerFlyout=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _title=__webpack_require__(113);var _nav_drawer_group=__webpack_require__(725);var _list_group=__webpack_require__(438);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiNavDrawerFlyout=function EuiNavDrawerFlyout(_ref){var className=_ref.className,title=_ref.title,isCollapsed=_ref.isCollapsed,listItems=_ref.listItems,wrapText=_ref.wrapText,rest=_objectWithoutProperties(_ref,["className","title","isCollapsed","listItems","wrapText"]);var classes=(0,_classnames.default)("euiNavDrawerFlyout",{"euiNavDrawerFlyout-isCollapsed":isCollapsed,"euiNavDrawerFlyout-isExpanded":!isCollapsed},className);return _react.default.createElement("div",_extends({className:classes,"aria-labelledby":"navDrawerFlyoutTitle"},rest),_react.default.createElement(_title.EuiTitle,{className:"euiNavDrawerFlyout__title",tabIndex:"-1",size:"xxs"},_react.default.createElement("h5",{id:"navDrawerFlyoutTitle"},title)),_react.default.createElement(_nav_drawer_group.EuiNavDrawerGroup,{className:"euiNavDrawerFlyout__listGroup",listItems:listItems,wrapText:wrapText}))};exports.EuiNavDrawerFlyout=EuiNavDrawerFlyout;EuiNavDrawerFlyout.propTypes={className:_propTypes.default.string,listItems:_list_group.EuiListGroup.propTypes.listItems,wrapText:_list_group.EuiListGroup.propTypes.wrapText,title:_propTypes.default.string,isCollapsed:_propTypes.default.bool};EuiNavDrawerFlyout.defaultProps={isCollapsed:true};EuiNavDrawerFlyout.__docgenInfo={description:"",methods:[],displayName:"EuiNavDrawerFlyout",props:{isCollapsed:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Toggle the nav drawer between collapsed and expanded"},className:{type:{name:"string"},required:false,description:""},listItems:{type:{name:"custom",raw:"EuiListGroup.propTypes.listItems"},required:false,description:""},wrapText:{type:{name:"custom",raw:"EuiListGroup.propTypes.wrapText"},required:false,description:""},title:{type:{name:"string"},required:false,description:"Display a title atop the flyout"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiNavDrawerGroup=void 0;__webpack_require__(5);__webpack_require__(79);__webpack_require__(80);__webpack_require__(42);__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _list_group=__webpack_require__(438);var _services=__webpack_require__(25);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiNavDrawerGroup=function EuiNavDrawerGroup(_ref){var className=_ref.className,listItems=_ref.listItems,flyoutMenuButtonClick=_ref.flyoutMenuButtonClick,rest=_objectWithoutProperties(_ref,["className","listItems","flyoutMenuButtonClick"]);var classes=(0,_classnames.default)("euiNavDrawerGroup",className);var listItemsExists=listItems&&!!listItems.length;var newListItems=listItemsExists?listItems.map(function(item){var flyoutMenu=item.flyoutMenu,itemProps=_objectWithoutProperties(item,["flyoutMenu"]);if(flyoutMenu&&flyoutMenuButtonClick){var items=_toConsumableArray(flyoutMenu.listItems);var title="".concat(flyoutMenu.title);itemProps.onClick=function(){return flyoutMenuButtonClick(items,title)}}itemProps.className=(0,_classnames.default)("euiNavDrawerGroup__item",item.className);itemProps.size=item.size||"s";itemProps["aria-label"]=item["aria-label"]||item.label;var itemProvidesIcon=!!item.iconType||!!item.icon;itemProvidesIcon||(itemProps.icon=_react.default.createElement("span",{className:"euiNavDrawerGroup__itemDefaultIcon"},(0,_services.toInitials)(item.label)));return _objectSpread({},itemProps)}):void 0;return _react.default.createElement(_list_group.EuiListGroup,_extends({className:classes,listItems:newListItems},rest))};exports.EuiNavDrawerGroup=EuiNavDrawerGroup;EuiNavDrawerGroup.propTypes={listItems:_propTypes.default.arrayOf(_propTypes.default.shape(_objectSpread({},_list_group.EuiListGroup.propTypes.listItems[0],{flyoutMenu:_propTypes.default.shape({title:_propTypes.default.string.isRequired,listItems:_list_group.EuiListGroup.propTypes.listItems.isRequired})}))),flyoutMenuButtonClick:_propTypes.default.func};EuiNavDrawerGroup.__docgenInfo={description:"",methods:[],displayName:"EuiNavDrawerGroup",props:{listItems:{type:{name:"arrayOf",value:{name:"shape",value:{flyoutMenu:{name:"shape",value:{title:{name:"string",required:true},listItems:{name:"custom",raw:"EuiListGroup.propTypes.listItems.isRequired",required:true}},required:false}}}},required:false,description:""},flyoutMenuButtonClick:{type:{name:"func"},required:false,description:"While not normally required, it is required to pass a function for handling\nof the flyout menu button click"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiPagination",{enumerable:true,get:function get(){return _pagination.EuiPagination}});Object.defineProperty(exports,"EuiPaginationButton",{enumerable:true,get:function get(){return _pagination_button.EuiPaginationButton}});var _pagination=__webpack_require__(1783);var _pagination_button=__webpack_require__(727)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPaginationButton=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _button=__webpack_require__(43);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiPaginationButton=function EuiPaginationButton(_ref){var children=_ref.children,className=_ref.className,isActive=_ref.isActive,isPlaceholder=_ref.isPlaceholder,hideOnMobile=_ref.hideOnMobile,rest=_objectWithoutProperties(_ref,["children","className","isActive","isPlaceholder","hideOnMobile"]);var classes=(0,_classnames.default)("euiPaginationButton",className,{"euiPaginationButton-isActive":isActive,"euiPaginationButton-isPlaceholder":isPlaceholder,"euiPaginationButton--hideOnMobile":hideOnMobile});return _react.default.createElement(_button.EuiButtonEmpty,_extends({className:classes,size:"xs",color:"text",disabled:isPlaceholder},rest),children)};exports.EuiPaginationButton=EuiPaginationButton;EuiPaginationButton.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,isActive:_propTypes.default.bool,isPlaceholder:_propTypes.default.bool,hideOnMobile:_propTypes.default.bool};EuiPaginationButton.__docgenInfo={description:"",methods:[],displayName:"EuiPaginationButton",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},isActive:{type:{name:"bool"},required:false,description:""},isPlaceholder:{type:{name:"bool"},required:false,description:"For ellipsis or other non-clickable buttons."},hideOnMobile:{type:{name:"bool"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiSearchBar",{enumerable:true,get:function get(){return _search_bar.EuiSearchBar}});Object.defineProperty(exports,"QueryType",{enumerable:true,get:function get(){return _search_bar.QueryType}});Object.defineProperty(exports,"Query",{enumerable:true,get:function get(){return _search_bar.Query}});Object.defineProperty(exports,"Ast",{enumerable:true,get:function get(){return _search_bar.Ast}});Object.defineProperty(exports,"SearchBoxConfigPropTypes",{enumerable:true,get:function get(){return _search_box.SearchBoxConfigPropTypes}});Object.defineProperty(exports,"SearchFiltersFiltersType",{enumerable:true,get:function get(){return _search_filters.SearchFiltersFiltersType}});var _search_bar=__webpack_require__(1786);var _search_box=__webpack_require__(729);var _search_filters=__webpack_require__(730)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSearchBox=exports.SearchBoxConfigPropTypes=exports.SchemaType=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _field_search=__webpack_require__(412);var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var SchemaType=_propTypes.default.shape({strict:_propTypes.default.bool,fields:_propTypes.default.object,flags:_propTypes.default.arrayOf(_propTypes.default.string)});exports.SchemaType=SchemaType;var SearchBoxConfigPropTypes={placeholder:_propTypes.default.string,incremental:_propTypes.default.bool,schema:SchemaType};exports.SearchBoxConfigPropTypes=SearchBoxConfigPropTypes;var EuiSearchBox=function(_Component){_inherits(EuiSearchBox,_Component);function EuiSearchBox(props){_classCallCheck(this,EuiSearchBox);return _possibleConstructorReturn(this,_getPrototypeOf(EuiSearchBox).call(this,props))}_createClass(EuiSearchBox,[{key:"componentDidUpdate",value:function componentDidUpdate(){this.inputElement.value=this.props.query}},{key:"render",value:function render(){var _this=this;var _this$props=this.props,placeholder=_this$props.placeholder,query=_this$props.query,incremental=_this$props.incremental,_onSearch=_this$props.onSearch,isInvalid=_this$props.isInvalid,title=_this$props.title,rest=_objectWithoutProperties(_this$props,["placeholder","query","incremental","onSearch","isInvalid","title"]);var ariaLabel;ariaLabel=incremental?"This is a search bar. As you type, the results lower in the page will automatically filter.":"This is a search bar. After typing your query, hit enter to filter the results lower in the page.";return _react.default.createElement(_field_search.EuiFieldSearch,_extends({inputRef:function inputRef(input){return _this.inputElement=input},fullWidth:true,placeholder:placeholder,defaultValue:query,incremental:incremental,onSearch:function onSearch(query){return _onSearch(query)},isInvalid:isInvalid,"aria-label":ariaLabel,title:title},rest))}}]);return EuiSearchBox}(_react.Component);exports.EuiSearchBox=EuiSearchBox;_defineProperty(EuiSearchBox,"propTypes",_objectSpread({query:_propTypes.default.string.isRequired,onSearch:_propTypes.default.func.isRequired,isInvalid:_propTypes.default.bool,title:_propTypes.default.string},SearchBoxConfigPropTypes));_defineProperty(EuiSearchBox,"defaultProps",{placeholder:"Search...",incremental:false});EuiSearchBox.__docgenInfo={description:"",methods:[],displayName:"EuiSearchBox",props:{placeholder:{defaultValue:{value:"'Search...'",computed:false},type:{name:"string"},required:false,description:""},incremental:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},query:{type:{name:"string"},required:true,description:""},onSearch:{type:{name:"func"},required:true,description:""},isInvalid:{type:{name:"bool"},required:false,description:""},title:{type:{name:"string"},required:false,description:""},schema:{type:{name:"custom",raw:"SchemaType"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSearchFilters=exports.SearchFiltersFiltersType=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _filters=__webpack_require__(1787);var _query=__webpack_require__(191);var _filter_group=__webpack_require__(190);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var SearchFiltersFiltersType=_propTypes.default.arrayOf(_filters.FilterConfigType);exports.SearchFiltersFiltersType=SearchFiltersFiltersType;var EuiSearchFilters=function(_Component){_inherits(EuiSearchFilters,_Component);function EuiSearchFilters(props){_classCallCheck(this,EuiSearchFilters);return _possibleConstructorReturn(this,_getPrototypeOf(EuiSearchFilters).call(this,props))}_createClass(EuiSearchFilters,[{key:"render",value:function render(){var _this$props=this.props,_this$props$filters=_this$props.filters,filters=void 0===_this$props$filters?[]:_this$props$filters,query=_this$props.query,onChange=_this$props.onChange;var items=filters.reduce(function(controls,filterConfig,index){if(filterConfig.available&&!filterConfig.available())return controls;var key="filter_".concat(index);var control=(0,_filters.createFilter)(index,filterConfig,query,onChange);controls.push(_react.default.createElement(_react.Fragment,{key:key},control));return controls},[]);return _react.default.createElement(_filter_group.EuiFilterGroup,null,items)}}]);return EuiSearchFilters}(_react.Component);exports.EuiSearchFilters=EuiSearchFilters;_defineProperty(EuiSearchFilters,"propTypes",{query:_propTypes.default.instanceOf(_query.Query).isRequired,onChange:_propTypes.default.func.isRequired,filters:SearchFiltersFiltersType});_defineProperty(EuiSearchFilters,"defaultProps",{filters:[]});EuiSearchFilters.__docgenInfo={description:"",methods:[],displayName:"EuiSearchFilters",props:{filters:{defaultValue:{value:"[]",computed:false},type:{name:"custom",raw:"SearchFiltersFiltersType"},required:false,description:""},query:{type:{name:"instanceOf",value:"Query"},required:true,description:""},onChange:{type:{name:"func"},required:true,description:""}}}},function(module,exports,__webpack_require__){var ctx=__webpack_require__(149);var invoke=__webpack_require__(1803);var html=__webpack_require__(548);var cel=__webpack_require__(368);var global=__webpack_require__(55);var process=global.process;var setTask=global.setImmediate;var clearTask=global.clearImmediate;var MessageChannel=global.MessageChannel;var Dispatch=global.Dispatch;var counter=0;var queue={};var ONREADYSTATECHANGE="onreadystatechange";var defer,channel,port;var run=function(){var id=+this;if(queue.hasOwnProperty(id)){var fn=queue[id];delete queue[id];fn()}};var listener=function(event){run.call(event.data)};if(!setTask||!clearTask){setTask=function setImmediate(fn){var args=[];var i=1;while(arguments.length>i)args.push(arguments[i++]);queue[++counter]=function(){invoke("function"==typeof fn?fn:Function(fn),args)};defer(counter);return counter};clearTask=function clearImmediate(id){delete queue[id]};if("process"==__webpack_require__(147)(process))defer=function(id){process.nextTick(ctx(run,id,1))};else if(Dispatch&&Dispatch.now)defer=function(id){Dispatch.now(ctx(run,id,1))};else if(MessageChannel){channel=new MessageChannel;port=channel.port2;channel.port1.onmessage=listener;defer=ctx(port.postMessage,port,1)}else if(global.addEventListener&&"function"==typeof postMessage&&!global.importScripts){defer=function(id){global.postMessage(id+"","*")};global.addEventListener("message",listener,false)}else defer=ONREADYSTATECHANGE in cel("script")?function(id){html.appendChild(cel("script"))[ONREADYSTATECHANGE]=function(){html.removeChild(this);run.call(id)}}:function(id){setTimeout(ctx(run,id,1),0)}}module.exports={set:setTask,clear:clearTask}},function(module,exports,__webpack_require__){"use strict";var aFunction=__webpack_require__(226);function PromiseCapability(C){var resolve,reject;this.promise=new C(function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw TypeError("Bad Promise constructor");resolve=$$resolve;reject=$$reject});this.resolve=aFunction(resolve);this.reject=aFunction(reject)}module.exports.f=function(C){return new PromiseCapability(C)}},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(55);var dP=__webpack_require__(76);var DESCRIPTORS=__webpack_require__(78);var SPECIES=__webpack_require__(40)("species");module.exports=function(KEY){var C=global[KEY];DESCRIPTORS&&C&&!C[SPECIES]&&dP.f(C,SPECIES,{configurable:true,get:function(){return this}})}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiStep=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _accessibility=__webpack_require__(73);var _title=__webpack_require__(113);var _step_number=__webpack_require__(735);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiStep=function EuiStep(_ref){var className=_ref.className,children=_ref.children,headingElement=_ref.headingElement,step=_ref.step,title=_ref.title,status=_ref.status,rest=_objectWithoutProperties(_ref,["className","children","headingElement","step","title","status"]);var classes=(0,_classnames.default)("euiStep",className);var screenReaderStep;screenReaderStep="incomplete"===status?_react.default.createElement(_i18n.EuiI18n,{token:"euiStep.incompleteStep",default:"Incomplete Step"}):_react.default.createElement(_i18n.EuiI18n,{token:"euiStep.completeStep",default:"Step"});return _react.default.createElement("div",_extends({className:classes},rest),_react.default.createElement(_accessibility.EuiScreenReaderOnly,null,_react.default.createElement("span",null,screenReaderStep," ")),_react.default.createElement(_step_number.EuiStepNumber,{className:"euiStep__circle",number:step,status:status,isHollow:"incomplete"===status}),_react.default.createElement(_title.EuiTitle,{size:"s",className:"euiStep__title"},_react.default.createElement(headingElement,null,title)),_react.default.createElement("div",{className:"euiStep__content"},children))};exports.EuiStep=EuiStep;EuiStep.propTypes={children:_propTypes.default.node.isRequired,status:_propTypes.default.oneOf(_step_number.STATUS),step:_propTypes.default.number.isRequired,title:_propTypes.default.string.isRequired,headingElement:_propTypes.default.string.isRequired};EuiStep.defaultProps={headingElement:"p"};EuiStep.__docgenInfo={description:"",methods:[],displayName:"EuiStep",props:{headingElement:{defaultValue:{value:"'p'",computed:false},type:{name:"string"},required:false,description:"The HTML tag used for the title"},children:{type:{name:"node"},required:true,description:""},status:{type:{name:"enum",computed:true,value:"STATUS"},required:false,description:"Will replace the number provided in props.step with alternate styling.\nOptions: `complete`, `incomplete`, `warning`, `danger`, `disabled`"},step:{type:{name:"number"},required:true,description:"The number of the step in the list of steps"},title:{type:{name:"string"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiStepNumber=exports.STATUS=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _icon=__webpack_require__(20);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var statusToClassNameMap={complete:"euiStepNumber--complete",incomplete:"euiStepNumber--incomplete",warning:"euiStepNumber--warning",danger:"euiStepNumber--danger",disabled:"euiStepNumber--disabled"};var STATUS=Object.keys(statusToClassNameMap);exports.STATUS=STATUS;var EuiStepNumber=function EuiStepNumber(_ref){var className=_ref.className,status=_ref.status,number=_ref.number,isHollow=_ref.isHollow,rest=_objectWithoutProperties(_ref,["className","status","number","isHollow"]);var classes=(0,_classnames.default)("euiStepNumber",statusToClassNameMap[status],{"euiStepNumber-isHollow":isHollow},className);var numberOrIcon;"complete"===status?numberOrIcon=_react.default.createElement(_i18n.EuiI18n,{token:"euiStepNumber.isComplete",default:"complete"},function(isComplete){return _react.default.createElement(_icon.EuiIcon,{type:"check",className:"euiStepNumber__icon",title:isComplete})}):"warning"===status?numberOrIcon=_react.default.createElement(_i18n.EuiI18n,{token:"euiStepNumber.hasWarnings",default:"has warnings"},function(hasWarnings){return _react.default.createElement(_icon.EuiIcon,{type:"alert",className:"euiStepNumber__icon",title:hasWarnings})}):"danger"===status?numberOrIcon=_react.default.createElement(_i18n.EuiI18n,{token:"euiStepNumber.hasErrors",default:"has errors"},function(hasErrors){return _react.default.createElement(_icon.EuiIcon,{type:"cross",className:"euiStepNumber__icon",title:hasErrors})}):isHollow||(numberOrIcon=number);return _react.default.createElement("div",_extends({className:classes},rest),numberOrIcon)};exports.EuiStepNumber=EuiStepNumber;EuiStepNumber.propTypes={children:_propTypes.default.node,status:_propTypes.default.oneOf(STATUS),number:_propTypes.default.number,isHollow:_propTypes.default.bool};EuiStepNumber.__docgenInfo={description:"",methods:[],displayName:"EuiStepNumber",props:{children:{type:{name:"node"},required:false,description:""},status:{type:{name:"enum",value:[{value:'"complete"',computed:false},{value:'"incomplete"',computed:false},{value:'"warning"',computed:false},{value:'"danger"',computed:false},{value:'"disabled"',computed:false}]},required:false,description:"May replace the number provided in props.number with alternate styling"},number:{type:{name:"number"},required:false,description:""},isHollow:{type:{name:"bool"},required:false,description:"Uses a border and removes the step number"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiTable",{enumerable:true,get:function get(){return _table.EuiTable}});Object.defineProperty(exports,"EuiTableBody",{enumerable:true,get:function get(){return _table_body.EuiTableBody}});Object.defineProperty(exports,"EuiTableFooter",{enumerable:true,get:function get(){return _table_footer.EuiTableFooter}});Object.defineProperty(exports,"EuiTableFooterCell",{enumerable:true,get:function get(){return _table_footer_cell.EuiTableFooterCell}});Object.defineProperty(exports,"EuiTableHeader",{enumerable:true,get:function get(){return _table_header.EuiTableHeader}});Object.defineProperty(exports,"EuiTableHeaderButton",{enumerable:true,get:function get(){return _table_header_button.EuiTableHeaderButton}});Object.defineProperty(exports,"EuiTableHeaderCell",{enumerable:true,get:function get(){return _table_header_cell.EuiTableHeaderCell}});Object.defineProperty(exports,"EuiTableHeaderCellCheckbox",{enumerable:true,get:function get(){return _table_header_cell_checkbox.EuiTableHeaderCellCheckbox}});Object.defineProperty(exports,"EuiTablePagination",{enumerable:true,get:function get(){return _table_pagination.EuiTablePagination}});Object.defineProperty(exports,"EuiTableHeaderMobile",{enumerable:true,get:function get(){return _table_header_mobile.EuiTableHeaderMobile}});Object.defineProperty(exports,"EuiTableSortMobile",{enumerable:true,get:function get(){return _table_sort_mobile.EuiTableSortMobile}});Object.defineProperty(exports,"EuiTableSortMobileItem",{enumerable:true,get:function get(){return _table_sort_mobile_item.EuiTableSortMobileItem}});Object.defineProperty(exports,"EuiTableRow",{enumerable:true,get:function get(){return _table_row.EuiTableRow}});Object.defineProperty(exports,"EuiTableRowCell",{enumerable:true,get:function get(){return _table_row_cell.EuiTableRowCell}});Object.defineProperty(exports,"EuiTableRowCellCheckbox",{enumerable:true,get:function get(){return _table_row_cell_checkbox.EuiTableRowCellCheckbox}});var _table=__webpack_require__(737);var _table_body=__webpack_require__(440);var _table_footer=__webpack_require__(738);var _table_footer_cell=__webpack_require__(739);var _table_header=__webpack_require__(740);var _table_header_button=__webpack_require__(1822);var _table_header_cell=__webpack_require__(741);var _table_header_cell_checkbox=__webpack_require__(742);var _table_pagination=__webpack_require__(1823);var _table_header_mobile=__webpack_require__(743);var _table_sort_mobile=__webpack_require__(744);var _table_sort_mobile_item=__webpack_require__(745);var _table_row=__webpack_require__(746);var _table_row_cell=__webpack_require__(747);var _table_row_cell_checkbox=__webpack_require__(748)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTable=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiTable=function EuiTable(_ref){var children=_ref.children,className=_ref.className,compressed=_ref.compressed,responsive=_ref.responsive,rest=_objectWithoutProperties(_ref,["children","className","compressed","responsive"]);var classes=(0,_classnames.default)("euiTable",className,{"euiTable--compressed":compressed,"euiTable--responsive":responsive});return _react.default.createElement("table",_extends({className:classes},rest),children)};exports.EuiTable=EuiTable;EuiTable.propTypes={compressed:_propTypes.default.bool,children:_propTypes.default.node,className:_propTypes.default.string,responsive:_propTypes.default.bool};EuiTable.defaultProps={responsive:true};EuiTable.__docgenInfo={description:"",methods:[],displayName:"EuiTable",props:{responsive:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:""},compressed:{type:{name:"bool"},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTableFooter=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiTableFooter=function EuiTableFooter(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);return _react.default.createElement("tfoot",_extends({className:className},rest),_react.default.createElement("tr",null,children))};exports.EuiTableFooter=EuiTableFooter;EuiTableFooter.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiTableFooter.__docgenInfo={description:"",methods:[],displayName:"EuiTableFooter",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTableFooterCell=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _services=__webpack_require__(25);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var ALIGNMENT=[_services.LEFT_ALIGNMENT,_services.RIGHT_ALIGNMENT,_services.CENTER_ALIGNMENT];var EuiTableFooterCell=function EuiTableFooterCell(_ref){var children=_ref.children,align=_ref.align,colSpan=_ref.colSpan,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","align","colSpan","className"]);var classes=(0,_classnames.default)("euiTableFooterCell",className);var contentClasses=(0,_classnames.default)("euiTableCellContent",className,{"euiTableCellContent--alignRight":align===_services.RIGHT_ALIGNMENT,"euiTableCellContent--alignCenter":align===_services.CENTER_ALIGNMENT});return _react.default.createElement("td",_extends({className:classes,colSpan:colSpan},rest),_react.default.createElement("div",{className:contentClasses},_react.default.createElement("span",{className:"euiTableCellContent__text"},children)))};exports.EuiTableFooterCell=EuiTableFooterCell;EuiTableFooterCell.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,align:_propTypes.default.oneOf(ALIGNMENT),colSpan:_propTypes.default.number};EuiTableFooterCell.defaultProps={align:_services.LEFT_ALIGNMENT};EuiTableFooterCell.__docgenInfo={description:"",methods:[],displayName:"EuiTableFooterCell",props:{align:{defaultValue:{value:"LEFT_ALIGNMENT",computed:true},type:{name:"enum",value:[{value:"import {\n  LEFT_ALIGNMENT,\n  RIGHT_ALIGNMENT,\n  CENTER_ALIGNMENT\n} from '../../services';",computed:true},{value:"import {\n  LEFT_ALIGNMENT,\n  RIGHT_ALIGNMENT,\n  CENTER_ALIGNMENT\n} from '../../services';",computed:true},{value:"import {\n  LEFT_ALIGNMENT,\n  RIGHT_ALIGNMENT,\n  CENTER_ALIGNMENT\n} from '../../services';",computed:true}]},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},colSpan:{type:{name:"number"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTableHeader=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiTableHeader=function EuiTableHeader(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);return _react.default.createElement("thead",_extends({className:className},rest),_react.default.createElement("tr",null,children))};exports.EuiTableHeader=EuiTableHeader;EuiTableHeader.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiTableHeader.__docgenInfo={description:"",methods:[],displayName:"EuiTableHeader",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTableHeaderCell=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _accessibility=__webpack_require__(73);var _icon=__webpack_require__(20);var _services=__webpack_require__(25);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var ALIGNMENT=[_services.LEFT_ALIGNMENT,_services.RIGHT_ALIGNMENT,_services.CENTER_ALIGNMENT];var EuiTableHeaderCell=function EuiTableHeaderCell(_ref){var children=_ref.children,align=_ref.align,onSort=_ref.onSort,isSorted=_ref.isSorted,isSortAscending=_ref.isSortAscending,className=_ref.className,scope=_ref.scope,isMobileHeader=_ref.isMobileHeader,hideForMobile=_ref.hideForMobile,rest=_objectWithoutProperties(_ref,["children","align","onSort","isSorted","isSortAscending","className","scope","isMobileHeader","hideForMobile"]);var classes=(0,_classnames.default)("euiTableHeaderCell",className,{"euiTableHeaderCell--isMobileHeader":isMobileHeader,"euiTableHeaderCell--hideForMobile":hideForMobile});var contentClasses=(0,_classnames.default)("euiTableCellContent",className,{"euiTableCellContent--alignRight":align===_services.RIGHT_ALIGNMENT,"euiTableCellContent--alignCenter":align===_services.CENTER_ALIGNMENT});if(onSort){var buttonClasses=(0,_classnames.default)("euiTableHeaderButton",{"euiTableHeaderButton-isSorted":isSorted});var ariaSortValue="none";isSorted&&(ariaSortValue=isSortAscending?"ascending":"descending");return _react.default.createElement("th",_extends({className:classes,scope:scope,role:"columnheader","aria-sort":ariaSortValue,"aria-live":true},rest),_react.default.createElement("button",{type:"button",className:buttonClasses,onClick:onSort,"data-test-subj":"tableHeaderSortButton"},_react.default.createElement("span",{className:contentClasses},_react.default.createElement("span",{className:"euiTableCellContent__text"},children),isSorted&&_react.default.createElement(_icon.EuiIcon,{className:"euiTableSortIcon",type:isSortAscending?"sortUp":"sortDown",size:"m","aria-label":"Sorted in ".concat(ariaSortValue," order")}),_react.default.createElement(_accessibility.EuiScreenReaderOnly,null,_react.default.createElement("span",null,"Click to sort in ".concat("descending"===ariaSortValue||"none"?"ascending":"descending"," order"))))))}return _react.default.createElement("th",_extends({className:classes,scope:scope,role:"columnheader"},rest),_react.default.createElement("div",{className:contentClasses},_react.default.createElement("span",{className:"euiTableCellContent__text"},children)))};exports.EuiTableHeaderCell=EuiTableHeaderCell;EuiTableHeaderCell.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,align:_propTypes.default.oneOf(ALIGNMENT),onSort:_propTypes.default.func,isSorted:_propTypes.default.bool,isSortAscending:_propTypes.default.bool,scope:_propTypes.default.oneOf(["col","row","colgroup","rowgroup"]),isMobileHeader:_propTypes.default.bool,hideForMobile:_propTypes.default.bool};EuiTableHeaderCell.defaultProps={align:_services.LEFT_ALIGNMENT,scope:"col"};EuiTableHeaderCell.__docgenInfo={description:"",methods:[],displayName:"EuiTableHeaderCell",props:{align:{defaultValue:{value:"LEFT_ALIGNMENT",computed:true},type:{name:"enum",value:[{value:"import {\n  LEFT_ALIGNMENT,\n  RIGHT_ALIGNMENT,\n  CENTER_ALIGNMENT\n} from '../../services';",computed:true},{value:"import {\n  LEFT_ALIGNMENT,\n  RIGHT_ALIGNMENT,\n  CENTER_ALIGNMENT\n} from '../../services';",computed:true},{value:"import {\n  LEFT_ALIGNMENT,\n  RIGHT_ALIGNMENT,\n  CENTER_ALIGNMENT\n} from '../../services';",computed:true}]},required:false,description:""},scope:{defaultValue:{value:"'col'",computed:false},type:{name:"enum",value:[{value:"'col'",computed:false},{value:"'row'",computed:false},{value:"'colgroup'",computed:false},{value:"'rowgroup'",computed:false}]},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},onSort:{type:{name:"func"},required:false,description:""},isSorted:{type:{name:"bool"},required:false,description:""},isSortAscending:{type:{name:"bool"},required:false,description:""},isMobileHeader:{type:{name:"bool"},required:false,description:"Indicates if the column was created to be the row's heading in mobile view\n(this column will be hidden at larger screens)"},hideForMobile:{type:{name:"bool"},required:false,description:"Indicates if the column should not show for mobile users\n(typically hidden because a custom mobile header utilizes the column's contents)"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTableHeaderCellCheckbox=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiTableHeaderCellCheckbox=function EuiTableHeaderCellCheckbox(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiTableHeaderCellCheckbox",className);return _react.default.createElement("th",_extends({className:classes},rest),_react.default.createElement("div",{className:"euiTableCellContent"},children))};exports.EuiTableHeaderCellCheckbox=EuiTableHeaderCellCheckbox;EuiTableHeaderCellCheckbox.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,scope:_propTypes.default.oneOf(["col","row","colgroup","rowgroup"])};EuiTableHeaderCellCheckbox.defaultProps={scope:"col"};EuiTableHeaderCellCheckbox.__docgenInfo={description:"",methods:[],displayName:"EuiTableHeaderCellCheckbox",props:{scope:{defaultValue:{value:"'col'",computed:false},type:{name:"enum",value:[{value:"'col'",computed:false},{value:"'row'",computed:false},{value:"'colgroup'",computed:false},{value:"'rowgroup'",computed:false}]},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTableHeaderMobile=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiTableHeaderMobile=function EuiTableHeaderMobile(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiTableHeaderMobile",className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiTableHeaderMobile=EuiTableHeaderMobile;EuiTableHeaderMobile.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiTableHeaderMobile.__docgenInfo={description:"",methods:[],displayName:"EuiTableHeaderMobile",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTableSortMobile=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _button_empty=__webpack_require__(386);var _popover=__webpack_require__(115);var _context_menu=__webpack_require__(187);var _i18n=__webpack_require__(30);var _table_sort_mobile_item=__webpack_require__(745);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiTableSortMobile=function(_Component){_inherits(EuiTableSortMobile,_Component);function EuiTableSortMobile(props){var _this;_classCallCheck(this,EuiTableSortMobile);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiTableSortMobile).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onButtonClick",function(){_this.setState({isPopoverOpen:!_this.state.isPopoverOpen})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"closePopover",function(){_this.setState({isPopoverOpen:false})});_this.state={isPopoverOpen:false};return _this}_createClass(EuiTableSortMobile,[{key:"render",value:function render(){var _this$props=this.props,className=_this$props.className,anchorPosition=_this$props.anchorPosition,items=_this$props.items,rest=_objectWithoutProperties(_this$props,["className","anchorPosition","items"]);var classes=(0,_classnames.default)("euiTableSortMobile",className);var mobileSortButton=_react.default.createElement(_button_empty.EuiButtonEmpty,{iconType:"arrowDown",iconSide:"right",onClick:this.onButtonClick.bind(this),flush:"right",size:"xs"},_react.default.createElement(_i18n.EuiI18n,{token:"euiTableSortMobile.sorting",default:"Sorting"}));var mobileSortPopover=_react.default.createElement(_popover.EuiPopover,_extends({id:"sortPopover",ownFocus:true,button:mobileSortButton,isOpen:this.state.isPopoverOpen,closePopover:this.closePopover,anchorPosition:anchorPosition||"downRight",panelPaddingSize:"none"},rest),_react.default.createElement(_context_menu.EuiContextMenuPanel,{style:{minWidth:200},items:items&&items.length?items.map(function(item){return _react.default.createElement(_table_sort_mobile_item.EuiTableSortMobileItem,{key:item.key,onSort:item.onSort,isSorted:item.isSorted,isSortAscending:item.isSortAscending},item.name)}):null,watchedItemProps:["isSorted","isSortAscending"]}));return _react.default.createElement("div",{className:classes},mobileSortPopover)}}]);return EuiTableSortMobile}(_react.Component);exports.EuiTableSortMobile=EuiTableSortMobile;_defineProperty(EuiTableSortMobile,"propTypes",{className:_propTypes.default.string,anchorPosition:_propTypes.default.string,items:_propTypes.default.array});EuiTableSortMobile.__docgenInfo={description:"",methods:[{name:"onButtonClick",docblock:null,modifiers:[],params:[],returns:null},{name:"closePopover",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiTableSortMobile",props:{className:{type:{name:"string"},required:false,description:""},anchorPosition:{type:{name:"string"},required:false,description:""},items:{type:{name:"array"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTableSortMobileItem=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _context_menu=__webpack_require__(187);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiTableSortMobileItem=function EuiTableSortMobileItem(_ref){var children=_ref.children,onSort=_ref.onSort,isSorted=_ref.isSorted,isSortAscending=_ref.isSortAscending,className=_ref.className,ariaLabel=_ref.ariaLabel,rest=_objectWithoutProperties(_ref,["children","onSort","isSorted","isSortAscending","className","ariaLabel"]);var sortIcon="empty";isSorted&&(sortIcon=isSortAscending?"sortUp":"sortDown");var buttonClasses=(0,_classnames.default)("euiTableSortMobileItem",className,{"euiTableSortMobileItem-isSorted":isSorted});var columnTitle=ariaLabel||children;var statefulAriaLabel="Sort ".concat(columnTitle," ").concat(isSortAscending?"descending":"ascending");return _react.default.createElement(_context_menu.EuiContextMenuItem,_extends({className:buttonClasses,icon:sortIcon,onClick:onSort,"aria-label":statefulAriaLabel},rest),children)};exports.EuiTableSortMobileItem=EuiTableSortMobileItem;EuiTableSortMobileItem.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,onSort:_propTypes.default.func,isSorted:_propTypes.default.bool,isSortAscending:_propTypes.default.bool};EuiTableSortMobileItem.__docgenInfo={description:"",methods:[],displayName:"EuiTableSortMobileItem",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},onSort:{type:{name:"func"},required:false,description:"Callback to know when an item has been clicked"},isSorted:{type:{name:"bool"},required:false,description:"Indicates current option is the sorted on column"},isSortAscending:{type:{name:"bool"},required:false,description:"Indicates which direction the current column is sorted on"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTableRow=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiTableRow=function EuiTableRow(_ref){var children=_ref.children,className=_ref.className,isSelected=_ref.isSelected,isSelectable=_ref.isSelectable,hasActions=_ref.hasActions,isExpandedRow=_ref.isExpandedRow,isExpandable=_ref.isExpandable,onClick=_ref.onClick,rest=_objectWithoutProperties(_ref,["children","className","isSelected","isSelectable","hasActions","isExpandedRow","isExpandable","onClick"]);var classes=(0,_classnames.default)("euiTableRow",className,{"euiTableRow-isSelectable":isSelectable,"euiTableRow-isSelected":isSelected,"euiTableRow-hasActions":hasActions,"euiTableRow-isExpandedRow":isExpandedRow,"euiTableRow-isExpandable":isExpandable,"euiTableRow-isClickable":onClick});return _react.default.createElement("tr",_extends({className:classes,onClick:onClick},rest),children)};exports.EuiTableRow=EuiTableRow;EuiTableRow.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,isSelectable:_propTypes.default.bool,isSelected:_propTypes.default.bool,hasActions:_propTypes.default.bool,isExpandable:_propTypes.default.bool,isExpandedRow:_propTypes.default.bool};EuiTableRow.__docgenInfo={description:"",methods:[],displayName:"EuiTableRow",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},isSelectable:{type:{name:"bool"},required:false,description:"Indicates if the table has a single column of checkboxes for selecting rows (affects mobile only)"},isSelected:{type:{name:"bool"},required:false,description:"Indicates the current row has been selected"},hasActions:{type:{name:"bool"},required:false,description:"Indicates if the table has a dedicated column for icon-only actions (affects mobile only)"},isExpandable:{type:{name:"bool"},required:false,description:"Indicates if the row will have an expanded row"},isExpandedRow:{type:{name:"bool"},required:false,description:"Indicates if the row will be the expanded row"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTableRowCell=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _services=__webpack_require__(25);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var ALIGNMENT=[_services.LEFT_ALIGNMENT,_services.RIGHT_ALIGNMENT,_services.CENTER_ALIGNMENT];var EuiTableRowCell=function EuiTableRowCell(_ref){var align=_ref.align,children=_ref.children,className=_ref.className,truncateText=_ref.truncateText,showOnHover=_ref.showOnHover,textOnly=_ref.textOnly,colSpan=_ref.colSpan,header=_ref.header,hideForMobile=_ref.hideForMobile,isMobileHeader=_ref.isMobileHeader,isMobileFullWidth=_ref.isMobileFullWidth,hasActions=_ref.hasActions,isExpander=_ref.isExpander,rest=_objectWithoutProperties(_ref,["align","children","className","truncateText","showOnHover","textOnly","colSpan","header","hideForMobile","isMobileHeader","isMobileFullWidth","hasActions","isExpander"]);var cellClasses=(0,_classnames.default)("euiTableRowCell",{"euiTableRowCell--hideForMobile":hideForMobile,"euiTableRowCell--isMobileHeader":isMobileHeader,"euiTableRowCell--hasActions":hasActions,"euiTableRowCell--isMobileFullWidth":isMobileFullWidth,"euiTableRowCell--isExpander":isExpander});var contentClasses=(0,_classnames.default)("euiTableCellContent",className,{"euiTableCellContent--alignRight":align===_services.RIGHT_ALIGNMENT,"euiTableCellContent--alignCenter":align===_services.CENTER_ALIGNMENT,"euiTableCellContent--showOnHover":showOnHover,"euiTableCellContent--truncateText":truncateText,"euiTableCellContent--overflowingContent":true!==textOnly});var childClasses=(0,_classnames.default)({euiTableCellContent__text:true===textOnly,euiTableCellContent__hoverItem:showOnHover});var modifiedChildren=children;true===textOnly?modifiedChildren=_react.default.createElement("span",{className:childClasses},children):_react.default.isValidElement(modifiedChildren)&&(modifiedChildren=_react.default.Children.map(children,function(child){return _react.default.cloneElement(child,{className:(0,_classnames.default)(child.props.className,childClasses)})}));return _react.default.createElement("td",_extends({className:cellClasses,colSpan:colSpan,"data-header":header},rest),_react.default.createElement("div",{className:contentClasses},modifiedChildren))};exports.EuiTableRowCell=EuiTableRowCell;EuiTableRowCell.propTypes={align:_propTypes.default.oneOf(ALIGNMENT),showOnHover:_propTypes.default.bool,truncateText:_propTypes.default.bool,children:_propTypes.default.node,className:_propTypes.default.string,textOnly:_propTypes.default.bool,colSpan:_propTypes.default.number,header:_propTypes.default.string,isMobileHeader:_propTypes.default.bool,hideForMobile:_propTypes.default.bool,isMobileFullWidth:_propTypes.default.bool,hasActions:_propTypes.default.bool,isExpander:_propTypes.default.bool};EuiTableRowCell.defaultProps={align:_services.LEFT_ALIGNMENT,textOnly:true};EuiTableRowCell.__docgenInfo={description:"",methods:[],displayName:"EuiTableRowCell",props:{align:{defaultValue:{value:"LEFT_ALIGNMENT",computed:true},type:{name:"enum",value:[{value:"import {\n  LEFT_ALIGNMENT,\n  RIGHT_ALIGNMENT,\n  CENTER_ALIGNMENT\n} from '../../services';",computed:true},{value:"import {\n  LEFT_ALIGNMENT,\n  RIGHT_ALIGNMENT,\n  CENTER_ALIGNMENT\n} from '../../services';",computed:true},{value:"import {\n  LEFT_ALIGNMENT,\n  RIGHT_ALIGNMENT,\n  CENTER_ALIGNMENT\n} from '../../services';",computed:true}]},required:false,description:""},textOnly:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Setting textOnly to false will break words unnecessarily on FF and IE.\nTo combat this problem on FF, wrap contents with the css utility `.eui-textBreakWord`."},showOnHover:{type:{name:"bool"},required:false,description:""},truncateText:{type:{name:"bool"},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},colSpan:{type:{name:"number"},required:false,description:""},header:{type:{name:"string"},required:false,description:"The column's header title for use in mobile view (will be added as a data-attr)"},isMobileHeader:{type:{name:"bool"},required:false,description:"Indicates if the column was created to be the row's heading in mobile view\n(this column will be hidden at larger screens)"},hideForMobile:{type:{name:"bool"},required:false,description:"Indicates if the column should not show for mobile users\n(typically hidden because a custom mobile header utilizes the column's contents)"},isMobileFullWidth:{type:{name:"bool"},required:false,description:"Allocates 100% of the width of the container in mobile view\n(typically cells are contained to 50%)"},hasActions:{type:{name:"bool"},required:false,description:"Indicates if the column is dedicated to icon-only actions (affects mobile only)"},isExpander:{type:{name:"bool"},required:false,description:"Indicates if the column is dedicated as the expandable row toggle"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTableRowCellCheckbox=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiTableRowCellCheckbox=function EuiTableRowCellCheckbox(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiTableRowCellCheckbox",className);return _react.default.createElement("td",_extends({className:classes},rest),_react.default.createElement("div",{className:"euiTableCellContent"},children))};exports.EuiTableRowCellCheckbox=EuiTableRowCellCheckbox;EuiTableRowCellCheckbox.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiTableRowCellCheckbox.__docgenInfo={description:"",methods:[],displayName:"EuiTableRowCellCheckbox",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getItemId=getItemId;exports.EuiBasicTable=exports.SelectionType=exports.ItemIdType=exports.ColumnType=exports.ComputedColumnType=exports.FieldDataColumnType=exports.FieldDataColumnTypeShape=exports.ActionsColumnType=void 0;__webpack_require__(79);__webpack_require__(80);__webpack_require__(42);__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(9);__webpack_require__(94);__webpack_require__(19);__webpack_require__(229);__webpack_require__(662);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _lodash=__webpack_require__(10);var _services=__webpack_require__(25);var _predicate=__webpack_require__(38);var _objects=__webpack_require__(582);var _table=__webpack_require__(737);var _table_header_cell_checkbox=__webpack_require__(742);var _checkbox=__webpack_require__(411);var _table_header_cell=__webpack_require__(741);var _table_header=__webpack_require__(740);var _table_body=__webpack_require__(440);var _table_footer_cell=__webpack_require__(739);var _table_footer=__webpack_require__(738);var _table_row_cell_checkbox=__webpack_require__(748);var _button_icon=__webpack_require__(592);var _icon=__webpack_require__(20);var _collapsed_item_actions=__webpack_require__(1829);var _expanded_item_actions=__webpack_require__(1830);var _table_row_cell=__webpack_require__(747);var _table_row=__webpack_require__(746);var _pagination_bar=__webpack_require__(750);var _icon2=__webpack_require__(280);var _loading_table_body=__webpack_require__(1833);var _table_header_mobile=__webpack_require__(743);var _table_sort_mobile=__webpack_require__(744);var _with_required_prop=__webpack_require__(585);var _accessibility=__webpack_require__(73);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var dataTypesProfiles={auto:{align:_services.LEFT_ALIGNMENT,render:function render(value){return(0,_services.formatAuto)(value)}},string:{align:_services.LEFT_ALIGNMENT,render:function render(value){return(0,_services.formatText)(value)}},number:{align:_services.RIGHT_ALIGNMENT,render:function render(value){return(0,_services.formatNumber)(value)}},boolean:{align:_services.LEFT_ALIGNMENT,render:function render(value){return(0,_services.formatBoolean)(value)}},date:{align:_services.LEFT_ALIGNMENT,render:function render(value){return(0,_services.formatDate)(value)}}};var DATA_TYPES=Object.keys(dataTypesProfiles);var DefaultItemActionType=_propTypes.default.shape({type:_propTypes.default.oneOf(["icon","button"]),name:_propTypes.default.string.isRequired,description:_propTypes.default.string.isRequired,onClick:_propTypes.default.func,href:_propTypes.default.string,target:_propTypes.default.string,available:_propTypes.default.func,enabled:_propTypes.default.func,isPrimary:_propTypes.default.bool,icon:_propTypes.default.oneOfType([_propTypes.default.oneOf(_icon.ICON_TYPES),_propTypes.default.func]),color:_propTypes.default.oneOfType([_propTypes.default.oneOf(_button_icon.COLORS),_propTypes.default.func])});var CustomItemActionType=_propTypes.default.shape({render:_propTypes.default.func.isRequired,available:_propTypes.default.func,enabled:_propTypes.default.func,isPrimary:_propTypes.default.bool});var SupportedItemActionType=_propTypes.default.oneOfType([DefaultItemActionType,CustomItemActionType]);var ActionsColumnType=_propTypes.default.shape({actions:_propTypes.default.arrayOf(SupportedItemActionType).isRequired,name:_propTypes.default.node,description:_propTypes.default.string,width:_propTypes.default.string});exports.ActionsColumnType=ActionsColumnType;var FieldDataColumnTypeShape={field:_propTypes.default.string.isRequired,name:_propTypes.default.node.isRequired,description:_propTypes.default.string,dataType:_propTypes.default.oneOf(DATA_TYPES),width:_propTypes.default.string,sortable:_propTypes.default.bool,align:_propTypes.default.oneOf([_services.LEFT_ALIGNMENT,_services.RIGHT_ALIGNMENT]),truncateText:_propTypes.default.bool,render:_propTypes.default.func,footer:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.element,_propTypes.default.func])};exports.FieldDataColumnTypeShape=FieldDataColumnTypeShape;var FieldDataColumnType=_propTypes.default.shape(FieldDataColumnTypeShape);exports.FieldDataColumnType=FieldDataColumnType;var ComputedColumnType=_propTypes.default.shape({render:_propTypes.default.func.isRequired,name:_propTypes.default.node,description:_propTypes.default.string,width:_propTypes.default.string,truncateText:_propTypes.default.bool});exports.ComputedColumnType=ComputedColumnType;var ColumnType=_propTypes.default.oneOfType([FieldDataColumnType,ComputedColumnType,ActionsColumnType]);exports.ColumnType=ColumnType;var ItemIdType=_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.func]);exports.ItemIdType=ItemIdType;var SelectionType=_propTypes.default.shape({onSelectionChange:_propTypes.default.func,selectable:_propTypes.default.func,selectableMessage:_propTypes.default.func});exports.SelectionType=SelectionType;var SortingType=_propTypes.default.shape({sort:_services.PropertySortType});var BasicTablePropTypes={items:_propTypes.default.array.isRequired,itemId:ItemIdType,columns:_propTypes.default.arrayOf(ColumnType).isRequired,pagination:_pagination_bar.PaginationType,sorting:SortingType,selection:(0,_with_required_prop.withRequiredProp)(SelectionType,"itemId","row selection uses the itemId prop to identify each row"),onChange:_propTypes.default.func,error:_propTypes.default.string,loading:_propTypes.default.bool,noItemsMessage:_propTypes.default.node,className:_propTypes.default.string,compressed:_propTypes.default.bool,itemIdToExpandedRowMap:(0,_with_required_prop.withRequiredProp)(_propTypes.default.object,"itemId","row expansion uses the itemId prop to identify each row"),responsive:_propTypes.default.bool,isSelectable:_propTypes.default.bool,isExpandable:_propTypes.default.bool,hasActions:_propTypes.default.bool,rowProps:_propTypes.default.oneOfType([_propTypes.default.func,_propTypes.default.object]),cellProps:_propTypes.default.oneOfType([_propTypes.default.func,_propTypes.default.object])};function getItemId(item,itemId){if(itemId){if((0,_predicate.isFunction)(itemId))return itemId(item);return item[itemId]}}function getRowProps(item,rowProps){if(rowProps){if((0,_predicate.isFunction)(rowProps))return rowProps(item);return rowProps}return{}}function getCellProps(item,column,cellProps){if(cellProps){if((0,_predicate.isFunction)(cellProps))return cellProps(item,column);return cellProps}return{}}function getColumnFooter(column,_ref){var items=_ref.items,pagination=_ref.pagination;if(column.footer){if((0,_predicate.isFunction)(column.footer))return column.footer({items:items,pagination:pagination});return column.footer}return}var EuiBasicTable=function(_Component){_inherits(EuiBasicTable,_Component);_createClass(EuiBasicTable,null,[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,prevState){if(!nextProps.selection)return{selection:[]};var itemId=nextProps.itemId;var selection=prevState.selection.filter(function(selectedItem){return-1!==nextProps.items.findIndex(function(item){return getItemId(item,itemId)===getItemId(selectedItem,itemId)})});if(selection.length!==prevState.selection.length){nextProps.selection.onSelectionChange&&nextProps.selection.onSelectionChange(selection);return{selection:selection}}return null}}]);function EuiBasicTable(props){var _this;_classCallCheck(this,EuiBasicTable);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiBasicTable).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"resolveColumnSortDirection",function(column){var sorting=_this.props.sorting;if(!sorting||!sorting.sort||!column.sortable)return;if(sorting.sort.field===column.field)return sorting.sort.direction});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"resolveColumnOnSort",function(column){var sorting=_this.props.sorting;if(!sorting||!column.sortable)return;if(!_this.props.onChange)throw new Error("BasicTable is configured to be sortable on column [".concat(column.field,"] but\n          [onChange] is not configured. This callback must be implemented to handle the sort requests"));return function(){return _this.onColumnSortChange(column)}});_this.state={selection:[]};return _this}_createClass(EuiBasicTable,[{key:"changeSelection",value:function changeSelection(selection){if(!this.props.selection)return;this.setState({selection:selection});this.props.selection.onSelectionChange&&this.props.selection.onSelectionChange(selection)}},{key:"clearSelection",value:function clearSelection(){this.changeSelection([])}},{key:"onPageSizeChange",value:function onPageSizeChange(size){this.clearSelection();var currentCriteria=EuiBasicTable.buildCriteria(this.props);var criteria=_objectSpread({},currentCriteria,{page:{index:0,size:size}});this.props.onChange(criteria)}},{key:"onPageChange",value:function onPageChange(index){this.clearSelection();var currentCriteria=EuiBasicTable.buildCriteria(this.props);var criteria=_objectSpread({},currentCriteria,{page:_objectSpread({},currentCriteria.page,{index:index})});this.props.onChange(criteria)}},{key:"onColumnSortChange",value:function onColumnSortChange(column){this.clearSelection();var currentCriteria=EuiBasicTable.buildCriteria(this.props);var direction=_services.SortDirection.ASC;currentCriteria&&currentCriteria.sort&&currentCriteria.sort.field===column.field&&(direction=_services.SortDirection.reverse(currentCriteria.sort.direction));var criteria=_objectSpread({},currentCriteria,{page:currentCriteria.page?{index:0,size:currentCriteria.page.size}:void 0,sort:{field:column.field,direction:direction}});this.props.onChange(criteria)}},{key:"render",value:function render(){var _this$props=this.props,className=_this$props.className,loading=_this$props.loading,rest=(_this$props.items,_this$props.itemId,_this$props.columns,_this$props.pagination,_this$props.sorting,_this$props.selection,_this$props.onChange,_this$props.error,_this$props.noItemsMessage,_this$props.compressed,_this$props.itemIdToExpandedRowMap,_this$props.responsive,_this$props.isSelectable,_this$props.isExpandable,_this$props.hasActions,_this$props.rowProps,_this$props.cellProps,_objectWithoutProperties(_this$props,["className","loading","items","itemId","columns","pagination","sorting","selection","onChange","error","noItemsMessage","compressed","itemIdToExpandedRowMap","responsive","isSelectable","isExpandable","hasActions","rowProps","cellProps"]));var classes=(0,_classnames.default)("euiBasicTable",{"euiBasicTable-loading":loading},className);var table=this.renderTable();var paginationBar=this.renderPaginationBar();return _react.default.createElement("div",_extends({className:classes},rest),table,paginationBar)}},{key:"renderTable",value:function renderTable(){var _this2=this;var _this$props2=this.props,compressed=_this$props2.compressed,responsive=_this$props2.responsive;var mobileHeader=responsive?_react.default.createElement(_table_header_mobile.EuiTableHeaderMobile,null,this.renderTableMobileSort()):void 0;var caption=this.renderTableCaption();var head=this.renderTableHead();var body=this.renderTableBody();var footer=this.renderTableFooter();return _react.default.createElement("div",{ref:function ref(element){_this2.tableElement=element}},mobileHeader,_react.default.createElement(_table.EuiTable,{responsive:responsive,compressed:compressed},caption,head,body,footer))}},{key:"renderTableMobileSort",value:function renderTableMobileSort(){var _this3=this;var _this$props3=this.props,columns=_this$props3.columns,sorting=_this$props3.sorting;var items=[];if(!sorting)return null;columns.forEach(function(column,index){if(!column.sortable||column.hideForMobile)return;var sortDirection=_this3.resolveColumnSortDirection(column);items.push({name:column.name,key:"_data_s_".concat(column.field,"_").concat(index),onSort:_this3.resolveColumnOnSort(column),isSorted:!!sortDirection,isSortAscending:sortDirection?_services.SortDirection.isAsc(sortDirection):void 0})});return items.length?_react.default.createElement(_table_sort_mobile.EuiTableSortMobile,{items:items}):null}},{key:"renderTableCaption",value:function renderTableCaption(){var items=this.props.items;return _react.default.createElement(_accessibility.EuiScreenReaderOnly,null,_react.default.createElement("caption",{role:"status","aria-relevant":"text","aria-live":"polite"},_react.default.createElement(_i18n.EuiI18n,{token:"euiBasicTable.tableDescription",default:"Below is a table of {itemCount} items.",values:{itemCount:items.length}})))}},{key:"renderTableHead",value:function renderTableHead(){var _this4=this;var _this$props4=this.props,items=_this$props4.items,columns=_this$props4.columns,selection=_this$props4.selection;var headers=[];if(selection){var selectableItems=items.filter(function(item){return!selection.selectable||selection.selectable(item)});var checked=this.state.selection&&selectableItems.length>0&&this.state.selection.length===selectableItems.length;var disabled=0===selectableItems.length;var onChange=function onChange(event){event.target.checked?_this4.changeSelection(selectableItems):_this4.changeSelection([])};headers.push(_react.default.createElement(_table_header_cell_checkbox.EuiTableHeaderCellCheckbox,{key:"_selection_column_h",width:"24px"},_react.default.createElement(_i18n.EuiI18n,{token:"euiBasicTable.selectAllRows",default:"Select all rows"},function(selectAllRows){return _react.default.createElement(_checkbox.EuiCheckbox,{id:"_selection_column-checkbox",type:"inList",checked:checked,disabled:disabled,onChange:onChange,"data-test-subj":"checkboxSelectAll","aria-label":selectAllRows})})))}columns.forEach(function(column,index){var actions=column.actions,width=column.width,name=column.name,field=column.field,align=column.align,dataType=column.dataType,sortable=column.sortable,isMobileHeader=column.isMobileHeader,hideForMobile=column.hideForMobile;var columnAlign=align||_this4.getAlignForDataType(dataType);if(actions){headers.push(_react.default.createElement(_table_header_cell.EuiTableHeaderCell,{key:"_actions_h_".concat(index),align:"right",width:width},name));return}if(!field){headers.push(_react.default.createElement(_table_header_cell.EuiTableHeaderCell,{key:"_computed_column_h_".concat(index),align:columnAlign,width:width},name));return}var sorting={};if(_this4.props.sorting&&sortable){var sortDirection=_this4.resolveColumnSortDirection(column);sorting.isSorted=!!sortDirection;sorting.isSortAscending=sortDirection?_services.SortDirection.isAsc(sortDirection):void 0;sorting.onSort=_this4.resolveColumnOnSort(column)}headers.push(_react.default.createElement(_table_header_cell.EuiTableHeaderCell,_extends({key:"_data_h_".concat(field,"_").concat(index),align:columnAlign,width:width,isMobileHeader:isMobileHeader,hideForMobile:hideForMobile,"data-test-subj":"tableHeaderCell_".concat(field,"_").concat(index)},sorting),name))});return _react.default.createElement(_table_header.EuiTableHeader,null,headers)}},{key:"renderTableFooter",value:function renderTableFooter(){var _this$props5=this.props,items=_this$props5.items,columns=_this$props5.columns,pagination=_this$props5.pagination,selection=_this$props5.selection;var footers=[];var hasDefinedFooter=false;selection&&footers.push(_react.default.createElement(_table_footer_cell.EuiTableFooterCell,{key:"_selection_column_f"},void 0));columns.forEach(function(column){var footer=getColumnFooter(column,{items:items,pagination:pagination});if(column.isMobileHeader)return;if(footer){footers.push(_react.default.createElement(_table_footer_cell.EuiTableFooterCell,{key:"footer_".concat(column.field),align:column.align},footer));hasDefinedFooter=true}else footers.push(_react.default.createElement(_table_footer_cell.EuiTableFooterCell,{key:"footer_empty_".concat(footers.length-1),align:column.align},void 0))});return footers.length&&hasDefinedFooter?_react.default.createElement(_table_footer.EuiTableFooter,null,footers):null}},{key:"renderTableBody",value:function renderTableBody(){var _this5=this;if(this.props.error)return this.renderErrorBody(this.props.error);var items=this.props.items;if(0===items.length)return this.renderEmptyBody();var rows=items.map(function(item,index){var tableItemIndex=_this5.props.pagination?_this5.props.pagination.pageIndex*_this5.props.pagination.pageSize+index:index;return _this5.renderItemRow(item,tableItemIndex)});if(this.props.loading)return _react.default.createElement(_loading_table_body.LoadingTableBody,null,rows);return _react.default.createElement(_table_body.EuiTableBody,null,rows)}},{key:"renderErrorBody",value:function renderErrorBody(error){var colSpan=this.props.columns.length+(this.props.selection?1:0);return _react.default.createElement(_table_body.EuiTableBody,null,_react.default.createElement(_table_row.EuiTableRow,null,_react.default.createElement(_table_row_cell.EuiTableRowCell,{align:"center",colSpan:colSpan,isMobileFullWidth:true},_react.default.createElement(_icon2.EuiIcon,{type:"minusInCircle",color:"danger"})," ",error)))}},{key:"renderEmptyBody",value:function renderEmptyBody(){var _this$props6=this.props,columns=_this$props6.columns,selection=_this$props6.selection,noItemsMessage=_this$props6.noItemsMessage;var colSpan=columns.length+(selection?1:0);return _react.default.createElement(_table_body.EuiTableBody,null,_react.default.createElement(_table_row.EuiTableRow,null,_react.default.createElement(_table_row_cell.EuiTableRowCell,{align:"center",colSpan:colSpan,isMobileFullWidth:true},noItemsMessage)))}},{key:"renderItemRow",value:function renderItemRow(item,rowIndex){var _this6=this;var _this$props7=this.props,columns=_this$props7.columns,selection=_this$props7.selection,isSelectable=_this$props7.isSelectable,hasActions=_this$props7.hasActions,_this$props7$itemIdTo=_this$props7.itemIdToExpandedRowMap,itemIdToExpandedRowMap=void 0===_this$props7$itemIdTo?{}:_this$props7$itemIdTo,isExpandable=_this$props7.isExpandable;var cells=[];var itemIdCallback=this.props.itemId;var itemId=getItemId(item,itemIdCallback)||rowIndex;var selected=!!selection&&(this.state.selection&&!!this.state.selection.find(function(selectedItem){return getItemId(selectedItem,itemIdCallback)===itemId}));var calculatedHasSelection;if(selection){cells.push(this.renderItemSelectionCell(itemId,item,selected));calculatedHasSelection=true}var calculatedHasActions;columns.forEach(function(column,columnIndex){if(column.actions){cells.push(_this6.renderItemActionsCell(itemId,item,column,columnIndex,rowIndex));calculatedHasActions=true}else column.field?cells.push(_this6.renderItemFieldDataCell(itemId,item,column,columnIndex)):cells.push(_this6.renderItemComputedCell(itemId,item,column,columnIndex))});var expandedRowColSpan=selection?columns.length+1:columns.length;var mobileOnlyCols=columns.reduce(function(num,column){return column.isMobileHeader?num+1:num+0},0);expandedRowColSpan-=mobileOnlyCols;var hasExpandedRow=itemIdToExpandedRowMap.hasOwnProperty(itemId);var expandedRowId=hasExpandedRow?"row_".concat(itemId,"_expansion"):void 0;var expandedRow=hasExpandedRow?_react.default.createElement(_table_row.EuiTableRow,{id:expandedRowId,isExpandedRow:true,isSelectable:isSelectable},_react.default.createElement(_table_row_cell.EuiTableRowCell,{colSpan:expandedRowColSpan},itemIdToExpandedRowMap[itemId])):void 0;var rowPropsCallback=this.props.rowProps;var rowProps=getRowProps(item,rowPropsCallback);var row=_react.default.createElement(_table_row.EuiTableRow,_extends({"aria-owns":expandedRowId,isSelectable:null==isSelectable?calculatedHasSelection:isSelectable,isSelected:selected,hasActions:null==hasActions?calculatedHasActions:hasActions,isExpandable:isExpandable},rowProps),cells);return _react.default.createElement(_react.Fragment,{key:"row_".concat(itemId)},rowProps.onClick?_react.default.createElement(_accessibility.EuiKeyboardAccessible,null,row):row,expandedRow)}},{key:"renderItemSelectionCell",value:function renderItemSelectionCell(itemId,item,selected){var _this7=this;var selection=this.props.selection;var key="_selection_column_".concat(itemId);var checked=selected;var disabled=selection.selectable&&!selection.selectable(item);var title=selection.selectableMessage&&selection.selectableMessage(!disabled,item);var onChange=function onChange(event){if(event.target.checked)_this7.changeSelection(_toConsumableArray(_this7.state.selection).concat([item]));else{var itemIdCallback=_this7.props.itemId;_this7.changeSelection(_this7.state.selection.reduce(function(selection,selectedItem){getItemId(selectedItem,itemIdCallback)!==itemId&&selection.push(selectedItem);return selection},[]))}};return _react.default.createElement(_table_row_cell_checkbox.EuiTableRowCellCheckbox,{key:key},_react.default.createElement(_i18n.EuiI18n,{token:"euiBasicTable.selectThisRow",default:"Select this row"},function(selectThisRow){return _react.default.createElement(_checkbox.EuiCheckbox,{id:"".concat(key,"-checkbox"),type:"inList",disabled:disabled,checked:checked,onChange:onChange,title:title,"aria-label":selectThisRow,"data-test-subj":"checkboxSelectRow-".concat(itemId)})}))}},{key:"renderItemActionsCell",value:function renderItemActionsCell(itemId,item,column,columnIndex){var _this8=this;var actionEnabled=function actionEnabled(action){return 0===_this8.state.selection.length&&(!action.enabled||action.enabled(item))};var actualActions=column.actions;if(column.actions.length>2){actualActions=(0,_lodash.slice)((0,_lodash.dropWhile)(column.actions,function(o){return!o.isPrimary}),0,2);actualActions.push({name:"All actions",render:function render(item){return _react.default.createElement(_collapsed_item_actions.CollapsedItemActions,{actions:column.actions,itemId:itemId,item:item,actionEnabled:actionEnabled})}})}var tools=_react.default.createElement(_expanded_item_actions.ExpandedItemActions,{actions:actualActions,itemId:itemId,item:item,actionEnabled:actionEnabled});var key="record_actions_".concat(itemId,"_").concat(columnIndex);return _react.default.createElement(_table_row_cell.EuiTableRowCell,{showOnHover:true,key:key,align:"right",textOnly:false,hasActions:true},tools)}},{key:"renderItemFieldDataCell",value:function renderItemFieldDataCell(itemId,item,column,columnIndex){var field=column.field,render=column.render,dataType=column.dataType;var key="_data_column_".concat(field,"_").concat(itemId,"_").concat(columnIndex);var contentRenderer=render||this.getRendererForDataType(dataType);var value=(0,_objects.get)(item,field);var content=contentRenderer(value,item);return this.renderItemCell(item,column,key,content)}},{key:"renderItemComputedCell",value:function renderItemComputedCell(itemId,item,column,columnIndex){var render=column.render,dataType=column.dataType;var key="_computed_column_".concat(itemId,"_").concat(columnIndex);var contentRenderer=render||this.getRendererForDataType(dataType);var content=contentRenderer(item);return this.renderItemCell(item,column,key,content)}},{key:"renderItemCell",value:function renderItemCell(item,column,key,content){var align=column.align,render=column.render,dataType=column.dataType,isExpander=column.isExpander,textOnly=column.textOnly,name=column.name,rest=(column.field,column.description,column.sortable,column.footer,_objectWithoutProperties(column,["align","render","dataType","isExpander","textOnly","name","field","description","sortable","footer"]));var columnAlign=align||this.getAlignForDataType(dataType);var cellPropsCallback=this.props.cellProps;var cellProps=getCellProps(item,column,cellPropsCallback);var header="string"===typeof name?name:void 0;return _react.default.createElement(_table_row_cell.EuiTableRowCell,_extends({key:key,align:columnAlign,header:header,isExpander:isExpander,textOnly:textOnly||!render},cellProps,rest),content)}},{key:"getRendererForDataType",value:function getRendererForDataType(){var dataType=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";var profile=dataTypesProfiles[dataType];if(!profile)throw new Error("Unknown dataType [".concat(dataType,"]. The supported data types are [").concat(DATA_TYPES.join(", "),"]"));return profile.render}},{key:"getAlignForDataType",value:function getAlignForDataType(){var dataType=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";var profile=dataTypesProfiles[dataType];if(!profile)throw new Error("Unknown dataType [".concat(dataType,"]. The supported data types are [").concat(DATA_TYPES.join(", "),"]"));return profile.align}},{key:"renderPaginationBar",value:function renderPaginationBar(){var _this$props8=this.props,error=_this$props8.error,pagination=_this$props8.pagination,onChange=_this$props8.onChange;if(!error&&pagination){if(!onChange)throw new Error("The Basic Table is configured with pagination but [onChange] is\n        not configured. This callback must be implemented to handle pagination changes");return _react.default.createElement(_pagination_bar.PaginationBar,{pagination:pagination,onPageSizeChange:this.onPageSizeChange.bind(this),onPageChange:this.onPageChange.bind(this)})}}}],[{key:"buildCriteria",value:function buildCriteria(props){var criteria={};props.pagination&&(criteria.page={index:props.pagination.pageIndex,size:props.pagination.pageSize});props.sorting&&(criteria.sort=props.sorting.sort);return criteria}}]);return EuiBasicTable}(_react.Component);exports.EuiBasicTable=EuiBasicTable;_defineProperty(EuiBasicTable,"propTypes",BasicTablePropTypes);_defineProperty(EuiBasicTable,"defaultProps",{responsive:true,noItemsMessage:"No items found"});EuiBasicTable.__docgenInfo={description:"",methods:[{name:"getDerivedStateFromProps",docblock:null,modifiers:["static"],params:[{name:"nextProps",type:null},{name:"prevState",type:null}],returns:null},{name:"buildCriteria",docblock:null,modifiers:["static"],params:[{name:"props",type:null}],returns:null},{name:"changeSelection",docblock:null,modifiers:[],params:[{name:"selection",type:null}],returns:null},{name:"clearSelection",docblock:null,modifiers:[],params:[],returns:null},{name:"onPageSizeChange",docblock:null,modifiers:[],params:[{name:"size",type:null}],returns:null},{name:"onPageChange",docblock:null,modifiers:[],params:[{name:"index",type:null}],returns:null},{name:"onColumnSortChange",docblock:null,modifiers:[],params:[{name:"column",type:null}],returns:null},{name:"renderTable",docblock:null,modifiers:[],params:[],returns:null},{name:"renderTableMobileSort",docblock:null,modifiers:[],params:[],returns:null},{name:"renderTableCaption",docblock:null,modifiers:[],params:[],returns:null},{name:"renderTableHead",docblock:null,modifiers:[],params:[],returns:null},{name:"renderTableFooter",docblock:null,modifiers:[],params:[],returns:null},{name:"renderTableBody",docblock:null,modifiers:[],params:[],returns:null},{name:"renderErrorBody",docblock:null,modifiers:[],params:[{name:"error",type:null}],returns:null},{name:"renderEmptyBody",docblock:null,modifiers:[],params:[],returns:null},{name:"renderItemRow",docblock:null,modifiers:[],params:[{name:"item",type:null},{name:"rowIndex",type:null}],returns:null},{name:"renderItemSelectionCell",docblock:null,modifiers:[],params:[{name:"itemId",type:null},{name:"item",type:null},{name:"selected",type:null}],returns:null},{name:"renderItemActionsCell",docblock:null,modifiers:[],params:[{name:"itemId",type:null},{name:"item",type:null},{name:"column",type:null},{name:"columnIndex",type:null}],returns:null},{name:"renderItemFieldDataCell",docblock:null,modifiers:[],params:[{name:"itemId",type:null},{name:"item",type:null},{name:"column",type:null},{name:"columnIndex",type:null}],returns:null},{name:"renderItemComputedCell",docblock:null,modifiers:[],params:[{name:"itemId",type:null},{name:"item",type:null},{name:"column",type:null},{name:"columnIndex",type:null}],returns:null},{name:"renderItemCell",docblock:null,modifiers:[],params:[{name:"item",type:null},{name:"column",type:null},{name:"key",type:null},{name:"content",type:null}],returns:null},{name:"resolveColumnSortDirection",docblock:null,modifiers:[],params:[{name:"column",type:null}],returns:null},{name:"resolveColumnOnSort",docblock:null,modifiers:[],params:[{name:"column",type:null}],returns:null},{name:"getRendererForDataType",docblock:null,modifiers:[],params:[{name:"dataType",type:null}],returns:null},{name:"getAlignForDataType",docblock:null,modifiers:[],params:[{name:"dataType",type:null}],returns:null},{name:"renderPaginationBar",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiBasicTable",props:{responsive:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:""},noItemsMessage:{defaultValue:{value:"'No items found'",computed:false},type:{name:"node"},required:false,description:""},items:{type:{name:"array"},required:true,description:""},itemId:{type:{name:"custom",raw:"ItemIdType"},required:false,description:""},columns:{type:{name:"arrayOf",value:{name:"custom",raw:"ColumnType"}},required:true,description:""},pagination:{type:{name:"custom",raw:"PaginationType"},required:false,description:""},sorting:{type:{name:"custom",raw:"SortingType"},required:false,description:""},selection:{type:{name:"custom",raw:"withRequiredProp(SelectionType, 'itemId', 'row selection uses the itemId prop to identify each row')"},required:false,description:""},onChange:{type:{name:"func"},required:false,description:""},error:{type:{name:"string"},required:false,description:""},loading:{type:{name:"bool"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},compressed:{type:{name:"bool"},required:false,description:""},itemIdToExpandedRowMap:{type:{name:"custom",raw:"withRequiredProp(PropTypes.object, 'itemId', 'row expansion uses the itemId prop to identify each row')"},required:false,description:""},isSelectable:{type:{name:"bool"},required:false,description:""},isExpandable:{type:{name:"bool"},required:false,description:""},hasActions:{type:{name:"bool"},required:false,description:""},rowProps:{type:{name:"union",value:[{name:"func"},{name:"object"}]},required:false,description:""},cellProps:{type:{name:"union",value:[{name:"func"},{name:"object"}]},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.PaginationBar=exports.defaults=exports.PaginationType=void 0;var _react=_interopRequireDefault(__webpack_require__(0));var _spacer=__webpack_require__(161);var _table=__webpack_require__(736);var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var PaginationType=_propTypes.default.shape({pageIndex:_propTypes.default.number.isRequired,pageSize:_propTypes.default.number.isRequired,totalItemCount:_propTypes.default.number.isRequired,pageSizeOptions:_propTypes.default.arrayOf(_propTypes.default.number)});exports.PaginationType=PaginationType;var defaults={pageSizeOptions:[10,25,50]};exports.defaults=defaults;var PaginationBar=function PaginationBar(_ref){var pagination=_ref.pagination,onPageSizeChange=_ref.onPageSizeChange,onPageChange=_ref.onPageChange;var pageSizeOptions=pagination.pageSizeOptions?pagination.pageSizeOptions:defaults.pageSizeOptions;var pageCount=Math.ceil(pagination.totalItemCount/pagination.pageSize);return _react.default.createElement("div",null,_react.default.createElement(_spacer.EuiSpacer,{size:"m"}),_react.default.createElement(_table.EuiTablePagination,{activePage:pagination.pageIndex,hidePerPageOptions:pagination.hidePerPageOptions,itemsPerPage:pagination.pageSize,itemsPerPageOptions:pageSizeOptions,pageCount:pageCount,onChangeItemsPerPage:onPageSizeChange,onChangePage:onPageChange}))};exports.PaginationBar=PaginationBar;PaginationBar.propTypes={pagination:PaginationType.isRequired,onPageSizeChange:_propTypes.default.func.isRequired,onPageChange:_propTypes.default.func.isRequired};PaginationBar.__docgenInfo={description:"",methods:[],displayName:"PaginationBar",props:{pagination:{type:{name:"custom",raw:"PaginationType.isRequired"},required:false,description:""},onPageSizeChange:{type:{name:"func"},required:true,description:""},onPageChange:{type:{name:"func"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiToast=exports.COLORS=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _accessibility=__webpack_require__(73);var _i18n=__webpack_require__(30);var _icon=__webpack_require__(20);var _text=__webpack_require__(74);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var colorToClassNameMap={primary:"euiToast--primary",success:"euiToast--success",warning:"euiToast--warning",danger:"euiToast--danger"};var COLORS=Object.keys(colorToClassNameMap);exports.COLORS=COLORS;var EuiToast=function EuiToast(_ref){var title=_ref.title,color=_ref.color,iconType=_ref.iconType,onClose=_ref.onClose,children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["title","color","iconType","onClose","children","className"]);var classes=(0,_classnames.default)("euiToast",colorToClassNameMap[color],className);var headerClasses=(0,_classnames.default)("euiToastHeader",{"euiToastHeader--withBody":children});var headerIcon;iconType&&(headerIcon=_react.default.createElement(_icon.EuiIcon,{className:"euiToastHeader__icon",type:iconType,size:"m","aria-hidden":"true"}));var closeButton;onClose&&(closeButton=_react.default.createElement(_i18n.EuiI18n,{token:"euiToast.dismissToast",default:"Dismiss toast"},function(dismissToast){return _react.default.createElement("button",{type:"button",className:"euiToast__closeButton","aria-label":dismissToast,onClick:onClose,"data-test-subj":"toastCloseButton"},_react.default.createElement(_icon.EuiIcon,{type:"cross",size:"m","aria-hidden":"true"}))}));var optionalBody;children&&(optionalBody=_react.default.createElement(_text.EuiText,{size:"s",className:"euiToastBody"},children));return _react.default.createElement("div",_extends({className:classes,"aria-live":"polite"},rest),_react.default.createElement(_accessibility.EuiScreenReaderOnly,null,_react.default.createElement("p",null,_react.default.createElement(_i18n.EuiI18n,{token:"euiToast.newNotification",default:"A new notification appears"}))),_react.default.createElement(_i18n.EuiI18n,{token:"euiToast.notification",default:"Notification"},function(notification){return _react.default.createElement("div",{className:headerClasses,"aria-label":notification,"data-test-subj":"euiToastHeader"},headerIcon,_react.default.createElement("span",{className:"euiToastHeader__title"},title))}),closeButton,optionalBody)};exports.EuiToast=EuiToast;EuiToast.propTypes={title:_propTypes.default.node,iconType:_propTypes.default.oneOf(_icon.ICON_TYPES),color:_propTypes.default.oneOf(COLORS),onClose:_propTypes.default.func,children:_propTypes.default.node};EuiToast.__docgenInfo={description:"",methods:[],displayName:"EuiToast",props:{title:{type:{name:"node"},required:false,description:""},iconType:{type:{name:"enum",computed:true,value:"ICON_TYPES"},required:false,description:""},color:{type:{name:"enum",value:[{value:'"primary"',computed:false},{value:'"success"',computed:false},{value:'"warning"',computed:false},{value:'"danger"',computed:false}]},required:false,description:""},onClose:{type:{name:"func"},required:false,description:""},children:{type:{name:"node"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiGlobalToastListItem=void 0;__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=__webpack_require__(0);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiGlobalToastListItem=function EuiGlobalToastListItem(_ref){var isDismissed=_ref.isDismissed,children=_ref.children;var classes=(0,_classnames.default)("euiGlobalToastListItem",children.props.className,{"euiGlobalToastListItem-isDismissed":isDismissed});return(0,_react.cloneElement)(children,_objectSpread({},children.props,{className:classes}))};exports.EuiGlobalToastListItem=EuiGlobalToastListItem;EuiGlobalToastListItem.propTypes={isDismissed:_propTypes.default.bool,children:_propTypes.default.node}},function(module,exports,__webpack_require__){0,factory=function(exports){"use strict";var t0=new Date;var t1=new Date;function newInterval(floori,offseti,count,field){function interval(date){return floori(date=new Date(+date)),date}interval.floor=interval;interval.ceil=function(date){return floori(date=new Date(date-1)),offseti(date,1),floori(date),date};interval.round=function(date){var d0=interval(date),d1=interval.ceil(date);return date-d0<d1-date?d0:d1};interval.offset=function(date,step){return offseti(date=new Date(+date),null==step?1:Math.floor(step)),date};interval.range=function(start,stop,step){var previous,range=[];start=interval.ceil(start);step=null==step?1:Math.floor(step);if(!(start<stop)||!(step>0))return range;do{range.push(previous=new Date(+start)),offseti(start,step),floori(start)}while(previous<start&&start<stop);return range};interval.filter=function(test){return newInterval(function(date){if(date>=date)while(floori(date),!test(date))date.setTime(date-1)},function(date,step){if(date>=date)if(step<0)while(++step<=0)while(offseti(date,-1),!test(date));else while(--step>=0)while(offseti(date,1),!test(date));})};if(count){interval.count=function(start,end){t0.setTime(+start),t1.setTime(+end);floori(t0),floori(t1);return Math.floor(count(t0,t1))};interval.every=function(step){step=Math.floor(step);return isFinite(step)&&step>0?step>1?interval.filter(field?function(d){return field(d)%step===0}:function(d){return interval.count(0,d)%step===0}):interval:null}}return interval}var millisecond=newInterval(function(){},function(date,step){date.setTime(+date+step)},function(start,end){return end-start});millisecond.every=function(k){k=Math.floor(k);if(!isFinite(k)||!(k>0))return null;if(!(k>1))return millisecond;return newInterval(function(date){date.setTime(Math.floor(date/k)*k)},function(date,step){date.setTime(+date+step*k)},function(start,end){return(end-start)/k})};var milliseconds=millisecond.range;var durationSecond=1e3;var durationMinute=6e4;var durationHour=36e5;var durationDay=864e5;var durationWeek=6048e5;var second=newInterval(function(date){date.setTime(Math.floor(date/durationSecond)*durationSecond)},function(date,step){date.setTime(+date+step*durationSecond)},function(start,end){return(end-start)/durationSecond},function(date){return date.getUTCSeconds()});var seconds=second.range;var minute=newInterval(function(date){date.setTime(Math.floor(date/durationMinute)*durationMinute)},function(date,step){date.setTime(+date+step*durationMinute)},function(start,end){return(end-start)/durationMinute},function(date){return date.getMinutes()});var minutes=minute.range;var hour=newInterval(function(date){var offset=date.getTimezoneOffset()*durationMinute%durationHour;offset<0&&(offset+=durationHour);date.setTime(Math.floor((+date-offset)/durationHour)*durationHour+offset)},function(date,step){date.setTime(+date+step*durationHour)},function(start,end){return(end-start)/durationHour},function(date){return date.getHours()});var hours=hour.range;var day=newInterval(function(date){date.setHours(0,0,0,0)},function(date,step){date.setDate(date.getDate()+step)},function(start,end){return(end-start-(end.getTimezoneOffset()-start.getTimezoneOffset())*durationMinute)/durationDay},function(date){return date.getDate()-1});var days=day.range;function weekday(i){return newInterval(function(date){date.setDate(date.getDate()-(date.getDay()+7-i)%7);date.setHours(0,0,0,0)},function(date,step){date.setDate(date.getDate()+7*step)},function(start,end){return(end-start-(end.getTimezoneOffset()-start.getTimezoneOffset())*durationMinute)/durationWeek})}var sunday=weekday(0);var monday=weekday(1);var tuesday=weekday(2);var wednesday=weekday(3);var thursday=weekday(4);var friday=weekday(5);var saturday=weekday(6);var sundays=sunday.range;var mondays=monday.range;var tuesdays=tuesday.range;var wednesdays=wednesday.range;var thursdays=thursday.range;var fridays=friday.range;var saturdays=saturday.range;var month=newInterval(function(date){date.setDate(1);date.setHours(0,0,0,0)},function(date,step){date.setMonth(date.getMonth()+step)},function(start,end){return end.getMonth()-start.getMonth()+12*(end.getFullYear()-start.getFullYear())},function(date){return date.getMonth()});var months=month.range;var year=newInterval(function(date){date.setMonth(0,1);date.setHours(0,0,0,0)},function(date,step){date.setFullYear(date.getFullYear()+step)},function(start,end){return end.getFullYear()-start.getFullYear()},function(date){return date.getFullYear()});year.every=function(k){return isFinite(k=Math.floor(k))&&k>0?newInterval(function(date){date.setFullYear(Math.floor(date.getFullYear()/k)*k);date.setMonth(0,1);date.setHours(0,0,0,0)},function(date,step){date.setFullYear(date.getFullYear()+step*k)}):null};var years=year.range;var utcMinute=newInterval(function(date){date.setUTCSeconds(0,0)},function(date,step){date.setTime(+date+step*durationMinute)},function(start,end){return(end-start)/durationMinute},function(date){return date.getUTCMinutes()});var utcMinutes=utcMinute.range;var utcHour=newInterval(function(date){date.setUTCMinutes(0,0,0)},function(date,step){date.setTime(+date+step*durationHour)},function(start,end){return(end-start)/durationHour},function(date){return date.getUTCHours()});var utcHours=utcHour.range;var utcDay=newInterval(function(date){date.setUTCHours(0,0,0,0)},function(date,step){date.setUTCDate(date.getUTCDate()+step)},function(start,end){return(end-start)/durationDay},function(date){return date.getUTCDate()-1});var utcDays=utcDay.range;function utcWeekday(i){return newInterval(function(date){date.setUTCDate(date.getUTCDate()-(date.getUTCDay()+7-i)%7);date.setUTCHours(0,0,0,0)},function(date,step){date.setUTCDate(date.getUTCDate()+7*step)},function(start,end){return(end-start)/durationWeek})}var utcSunday=utcWeekday(0);var utcMonday=utcWeekday(1);var utcTuesday=utcWeekday(2);var utcWednesday=utcWeekday(3);var utcThursday=utcWeekday(4);var utcFriday=utcWeekday(5);var utcSaturday=utcWeekday(6);var utcSundays=utcSunday.range;var utcMondays=utcMonday.range;var utcTuesdays=utcTuesday.range;var utcWednesdays=utcWednesday.range;var utcThursdays=utcThursday.range;var utcFridays=utcFriday.range;var utcSaturdays=utcSaturday.range;var utcMonth=newInterval(function(date){date.setUTCDate(1);date.setUTCHours(0,0,0,0)},function(date,step){date.setUTCMonth(date.getUTCMonth()+step)},function(start,end){return end.getUTCMonth()-start.getUTCMonth()+12*(end.getUTCFullYear()-start.getUTCFullYear())},function(date){return date.getUTCMonth()});var utcMonths=utcMonth.range;var utcYear=newInterval(function(date){date.setUTCMonth(0,1);date.setUTCHours(0,0,0,0)},function(date,step){date.setUTCFullYear(date.getUTCFullYear()+step)},function(start,end){return end.getUTCFullYear()-start.getUTCFullYear()},function(date){return date.getUTCFullYear()});utcYear.every=function(k){return isFinite(k=Math.floor(k))&&k>0?newInterval(function(date){date.setUTCFullYear(Math.floor(date.getUTCFullYear()/k)*k);date.setUTCMonth(0,1);date.setUTCHours(0,0,0,0)},function(date,step){date.setUTCFullYear(date.getUTCFullYear()+step*k)}):null};var utcYears=utcYear.range;exports.timeInterval=newInterval;exports.timeMillisecond=millisecond;exports.timeMilliseconds=milliseconds;exports.utcMillisecond=millisecond;exports.utcMilliseconds=milliseconds;exports.timeSecond=second;exports.timeSeconds=seconds;exports.utcSecond=second;exports.utcSeconds=seconds;exports.timeMinute=minute;exports.timeMinutes=minutes;exports.timeHour=hour;exports.timeHours=hours;exports.timeDay=day;exports.timeDays=days;exports.timeWeek=sunday;exports.timeWeeks=sundays;exports.timeSunday=sunday;exports.timeSundays=sundays;exports.timeMonday=monday;exports.timeMondays=mondays;exports.timeTuesday=tuesday;exports.timeTuesdays=tuesdays;exports.timeWednesday=wednesday;exports.timeWednesdays=wednesdays;exports.timeThursday=thursday;exports.timeThursdays=thursdays;exports.timeFriday=friday;exports.timeFridays=fridays;exports.timeSaturday=saturday;exports.timeSaturdays=saturdays;exports.timeMonth=month;exports.timeMonths=months;exports.timeYear=year;exports.timeYears=years;exports.utcMinute=utcMinute;exports.utcMinutes=utcMinutes;exports.utcHour=utcHour;exports.utcHours=utcHours;exports.utcDay=utcDay;exports.utcDays=utcDays;exports.utcWeek=utcSunday;exports.utcWeeks=utcSundays;exports.utcSunday=utcSunday;exports.utcSundays=utcSundays;exports.utcMonday=utcMonday;exports.utcMondays=utcMondays;exports.utcTuesday=utcTuesday;exports.utcTuesdays=utcTuesdays;exports.utcWednesday=utcWednesday;exports.utcWednesdays=utcWednesdays;exports.utcThursday=utcThursday;exports.utcThursdays=utcThursdays;exports.utcFriday=utcFriday;exports.utcFridays=utcFridays;exports.utcSaturday=utcSaturday;exports.utcSaturdays=utcSaturdays;exports.utcMonth=utcMonth;exports.utcMonths=utcMonths;exports.utcYear=utcYear;exports.utcYears=utcYears;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports);var factory},function(module,exports,__webpack_require__){0,factory=function(exports){"use strict";var constant=function(x){return function(){return x}};function x(d){return d[0]}function y(d){return d[1]}function RedBlackTree(){this._=null}function RedBlackNode(node){node.U=node.C=node.L=node.R=node.P=node.N=null}RedBlackTree.prototype={constructor:RedBlackTree,insert:function(after,node){var parent,grandpa,uncle;if(after){node.P=after;node.N=after.N;after.N&&(after.N.P=node);after.N=node;if(after.R){after=after.R;while(after.L)after=after.L;after.L=node}else after.R=node;parent=after}else if(this._){after=RedBlackFirst(this._);node.P=null;node.N=after;after.P=after.L=node;parent=after}else{node.P=node.N=null;this._=node;parent=null}node.L=node.R=null;node.U=parent;node.C=true;after=node;while(parent&&parent.C){grandpa=parent.U;if(parent===grandpa.L){uncle=grandpa.R;if(uncle&&uncle.C){parent.C=uncle.C=false;grandpa.C=true;after=grandpa}else{if(after===parent.R){RedBlackRotateLeft(this,parent);after=parent;parent=after.U}parent.C=false;grandpa.C=true;RedBlackRotateRight(this,grandpa)}}else{uncle=grandpa.L;if(uncle&&uncle.C){parent.C=uncle.C=false;grandpa.C=true;after=grandpa}else{if(after===parent.L){RedBlackRotateRight(this,parent);after=parent;parent=after.U}parent.C=false;grandpa.C=true;RedBlackRotateLeft(this,grandpa)}}parent=after.U}this._.C=false},remove:function(node){node.N&&(node.N.P=node.P);node.P&&(node.P.N=node.N);node.N=node.P=null;var sibling,next,red,parent=node.U,left=node.L,right=node.R;next=left?right?RedBlackFirst(right):left:right;parent?parent.L===node?parent.L=next:parent.R=next:this._=next;if(left&&right){red=next.C;next.C=node.C;next.L=left;left.U=next;if(next!==right){parent=next.U;next.U=node.U;node=next.R;parent.L=node;next.R=right;right.U=next}else{next.U=parent;parent=next;node=next.R}}else{red=node.C;node=next}node&&(node.U=parent);if(red)return;if(node&&node.C){node.C=false;return}do{if(node===this._)break;if(node===parent.L){sibling=parent.R;if(sibling.C){sibling.C=false;parent.C=true;RedBlackRotateLeft(this,parent);sibling=parent.R}if(sibling.L&&sibling.L.C||sibling.R&&sibling.R.C){if(!sibling.R||!sibling.R.C){sibling.L.C=false;sibling.C=true;RedBlackRotateRight(this,sibling);sibling=parent.R}sibling.C=parent.C;parent.C=sibling.R.C=false;RedBlackRotateLeft(this,parent);node=this._;break}}else{sibling=parent.L;if(sibling.C){sibling.C=false;parent.C=true;RedBlackRotateRight(this,parent);sibling=parent.L}if(sibling.L&&sibling.L.C||sibling.R&&sibling.R.C){if(!sibling.L||!sibling.L.C){sibling.R.C=false;sibling.C=true;RedBlackRotateLeft(this,sibling);sibling=parent.L}sibling.C=parent.C;parent.C=sibling.L.C=false;RedBlackRotateRight(this,parent);node=this._;break}}sibling.C=true;node=parent;parent=parent.U}while(!node.C);node&&(node.C=false)}};function RedBlackRotateLeft(tree,node){var p=node,q=node.R,parent=p.U;parent?parent.L===p?parent.L=q:parent.R=q:tree._=q;q.U=parent;p.U=q;p.R=q.L;p.R&&(p.R.U=p);q.L=p}function RedBlackRotateRight(tree,node){var p=node,q=node.L,parent=p.U;parent?parent.L===p?parent.L=q:parent.R=q:tree._=q;q.U=parent;p.U=q;p.L=q.R;p.L&&(p.L.U=p);q.R=p}function RedBlackFirst(node){while(node.L)node=node.L;return node}function createEdge(left,right,v0,v1){var edge=[null,null],index=edges.push(edge)-1;edge.left=left;edge.right=right;v0&&setEdgeEnd(edge,left,right,v0);v1&&setEdgeEnd(edge,right,left,v1);cells[left.index].halfedges.push(index);cells[right.index].halfedges.push(index);return edge}function createBorderEdge(left,v0,v1){var edge=[v0,v1];edge.left=left;return edge}function setEdgeEnd(edge,left,right,vertex){if(edge[0]||edge[1])edge.left===right?edge[1]=vertex:edge[0]=vertex;else{edge[0]=vertex;edge.left=left;edge.right=right}}function clipEdge(edge,x0,y0,x1,y1){var r,a=edge[0],b=edge[1],ax=a[0],ay=a[1],bx=b[0],by=b[1],t0=0,t1=1,dx=bx-ax,dy=by-ay;r=x0-ax;if(!dx&&r>0)return;r/=dx;if(dx<0){if(r<t0)return;r<t1&&(t1=r)}else if(dx>0){if(r>t1)return;r>t0&&(t0=r)}r=x1-ax;if(!dx&&r<0)return;r/=dx;if(dx<0){if(r>t1)return;r>t0&&(t0=r)}else if(dx>0){if(r<t0)return;r<t1&&(t1=r)}r=y0-ay;if(!dy&&r>0)return;r/=dy;if(dy<0){if(r<t0)return;r<t1&&(t1=r)}else if(dy>0){if(r>t1)return;r>t0&&(t0=r)}r=y1-ay;if(!dy&&r<0)return;r/=dy;if(dy<0){if(r>t1)return;r>t0&&(t0=r)}else if(dy>0){if(r<t0)return;r<t1&&(t1=r)}if(!(t0>0)&&!(t1<1))return true;t0>0&&(edge[0]=[ax+t0*dx,ay+t0*dy]);t1<1&&(edge[1]=[ax+t1*dx,ay+t1*dy]);return true}function connectEdge(edge,x0,y0,x1,y1){var v1=edge[1];if(v1)return true;var fm,fb,v0=edge[0],left=edge.left,right=edge.right,lx=left[0],ly=left[1],rx=right[0],ry=right[1],fx=(lx+rx)/2,fy=(ly+ry)/2;if(ry===ly){if(fx<x0||fx>=x1)return;if(lx>rx){if(v0){if(v0[1]>=y1)return}else v0=[fx,y0];v1=[fx,y1]}else{if(v0){if(v0[1]<y0)return}else v0=[fx,y1];v1=[fx,y0]}}else{fm=(lx-rx)/(ry-ly);fb=fy-fm*fx;if(fm<-1||fm>1)if(lx>rx){if(v0){if(v0[1]>=y1)return}else v0=[(y0-fb)/fm,y0];v1=[(y1-fb)/fm,y1]}else{if(v0){if(v0[1]<y0)return}else v0=[(y1-fb)/fm,y1];v1=[(y0-fb)/fm,y0]}else if(ly<ry){if(v0){if(v0[0]>=x1)return}else v0=[x0,fm*x0+fb];v1=[x1,fm*x1+fb]}else{if(v0){if(v0[0]<x0)return}else v0=[x1,fm*x1+fb];v1=[x0,fm*x0+fb]}}edge[0]=v0;edge[1]=v1;return true}function clipEdges(x0,y0,x1,y1){var edge,i=edges.length;while(i--)connectEdge(edge=edges[i],x0,y0,x1,y1)&&clipEdge(edge,x0,y0,x1,y1)&&(Math.abs(edge[0][0]-edge[1][0])>epsilon||Math.abs(edge[0][1]-edge[1][1])>epsilon)||delete edges[i]}function createCell(site){return cells[site.index]={site:site,halfedges:[]}}function cellHalfedgeAngle(cell,edge){var site=cell.site,va=edge.left,vb=edge.right;site===vb&&(vb=va,va=site);if(vb)return Math.atan2(vb[1]-va[1],vb[0]-va[0]);site===va?(va=edge[1],vb=edge[0]):(va=edge[0],vb=edge[1]);return Math.atan2(va[0]-vb[0],vb[1]-va[1])}function cellHalfedgeStart(cell,edge){return edge[+(edge.left!==cell.site)]}function cellHalfedgeEnd(cell,edge){return edge[+(edge.left===cell.site)]}function sortCellHalfedges(){for(var cell,halfedges,j,m,i=0,n=cells.length;i<n;++i)if((cell=cells[i])&&(m=(halfedges=cell.halfedges).length)){var index=new Array(m),array=new Array(m);for(j=0;j<m;++j)index[j]=j,array[j]=cellHalfedgeAngle(cell,edges[halfedges[j]]);index.sort(function(i,j){return array[j]-array[i]});for(j=0;j<m;++j)array[j]=halfedges[index[j]];for(j=0;j<m;++j)halfedges[j]=array[j]}}function clipCells(x0,y0,x1,y1){var iCell,cell,site,iHalfedge,halfedges,nHalfedges,start,startX,startY,end,endX,endY,nCells=cells.length,cover=true;for(iCell=0;iCell<nCells;++iCell)if(cell=cells[iCell]){site=cell.site;halfedges=cell.halfedges;iHalfedge=halfedges.length;while(iHalfedge--)edges[halfedges[iHalfedge]]||halfedges.splice(iHalfedge,1);iHalfedge=0,nHalfedges=halfedges.length;while(iHalfedge<nHalfedges){end=cellHalfedgeEnd(cell,edges[halfedges[iHalfedge]]),endX=end[0],endY=end[1];start=cellHalfedgeStart(cell,edges[halfedges[++iHalfedge%nHalfedges]]),startX=start[0],startY=start[1];if(Math.abs(endX-startX)>epsilon||Math.abs(endY-startY)>epsilon){halfedges.splice(iHalfedge,0,edges.push(createBorderEdge(site,end,Math.abs(endX-x0)<epsilon&&y1-endY>epsilon?[x0,Math.abs(startX-x0)<epsilon?startY:y1]:Math.abs(endY-y1)<epsilon&&x1-endX>epsilon?[Math.abs(startY-y1)<epsilon?startX:x1,y1]:Math.abs(endX-x1)<epsilon&&endY-y0>epsilon?[x1,Math.abs(startX-x1)<epsilon?startY:y0]:Math.abs(endY-y0)<epsilon&&endX-x0>epsilon?[Math.abs(startY-y0)<epsilon?startX:x0,y0]:null))-1);++nHalfedges}}nHalfedges&&(cover=false)}if(cover){var dx,dy,d2,dc=Infinity;for(iCell=0,cover=null;iCell<nCells;++iCell)if(cell=cells[iCell]){site=cell.site;dx=site[0]-x0;dy=site[1]-y0;d2=dx*dx+dy*dy;d2<dc&&(dc=d2,cover=cell)}if(cover){var v00=[x0,y0],v01=[x0,y1],v11=[x1,y1],v10=[x1,y0];cover.halfedges.push(edges.push(createBorderEdge(site=cover.site,v00,v01))-1,edges.push(createBorderEdge(site,v01,v11))-1,edges.push(createBorderEdge(site,v11,v10))-1,edges.push(createBorderEdge(site,v10,v00))-1)}}for(iCell=0;iCell<nCells;++iCell)(cell=cells[iCell])&&(cell.halfedges.length||delete cells[iCell])}var circlePool=[];var firstCircle;function Circle(){RedBlackNode(this);this.x=this.y=this.arc=this.site=this.cy=null}function attachCircle(arc){var lArc=arc.P,rArc=arc.N;if(!lArc||!rArc)return;var lSite=lArc.site,cSite=arc.site,rSite=rArc.site;if(lSite===rSite)return;var bx=cSite[0],by=cSite[1],ax=lSite[0]-bx,ay=lSite[1]-by,cx=rSite[0]-bx,cy=rSite[1]-by;var d=2*(ax*cy-ay*cx);if(d>=-epsilon2)return;var ha=ax*ax+ay*ay,hc=cx*cx+cy*cy,x=(cy*ha-ay*hc)/d,y=(ax*hc-cx*ha)/d;var circle=circlePool.pop()||new Circle;circle.arc=arc;circle.site=cSite;circle.x=x+bx;circle.y=(circle.cy=y+by)+Math.sqrt(x*x+y*y);arc.circle=circle;var before=null,node=circles._;while(node)if(circle.y<node.y||circle.y===node.y&&circle.x<=node.x){if(!node.L){before=node.P;break}node=node.L}else{if(!node.R){before=node;break}node=node.R}circles.insert(before,circle);before||(firstCircle=circle)}function detachCircle(arc){var circle=arc.circle;if(circle){circle.P||(firstCircle=circle.N);circles.remove(circle);circlePool.push(circle);RedBlackNode(circle);arc.circle=null}}var beachPool=[];function Beach(){RedBlackNode(this);this.edge=this.site=this.circle=null}function createBeach(site){var beach=beachPool.pop()||new Beach;beach.site=site;return beach}function detachBeach(beach){detachCircle(beach);beaches.remove(beach);beachPool.push(beach);RedBlackNode(beach)}function removeBeach(beach){var circle=beach.circle,x=circle.x,y=circle.cy,vertex=[x,y],previous=beach.P,next=beach.N,disappearing=[beach];detachBeach(beach);var lArc=previous;while(lArc.circle&&Math.abs(x-lArc.circle.x)<epsilon&&Math.abs(y-lArc.circle.cy)<epsilon){previous=lArc.P;disappearing.unshift(lArc);detachBeach(lArc);lArc=previous}disappearing.unshift(lArc);detachCircle(lArc);var rArc=next;while(rArc.circle&&Math.abs(x-rArc.circle.x)<epsilon&&Math.abs(y-rArc.circle.cy)<epsilon){next=rArc.N;disappearing.push(rArc);detachBeach(rArc);rArc=next}disappearing.push(rArc);detachCircle(rArc);var iArc,nArcs=disappearing.length;for(iArc=1;iArc<nArcs;++iArc){rArc=disappearing[iArc];lArc=disappearing[iArc-1];setEdgeEnd(rArc.edge,lArc.site,rArc.site,vertex)}lArc=disappearing[0];rArc=disappearing[nArcs-1];rArc.edge=createEdge(lArc.site,rArc.site,null,vertex);attachCircle(lArc);attachCircle(rArc)}function addBeach(site){var lArc,rArc,dxl,dxr,x=site[0],directrix=site[1],node=beaches._;while(node){dxl=leftBreakPoint(node,directrix)-x;if(dxl>epsilon)node=node.L;else{dxr=x-rightBreakPoint(node,directrix);if(!(dxr>epsilon)){if(dxl>-epsilon){lArc=node.P;rArc=node}else if(dxr>-epsilon){lArc=node;rArc=node.N}else lArc=rArc=node;break}if(!node.R){lArc=node;break}node=node.R}}createCell(site);var newArc=createBeach(site);beaches.insert(lArc,newArc);if(!lArc&&!rArc)return;if(lArc===rArc){detachCircle(lArc);rArc=createBeach(lArc.site);beaches.insert(newArc,rArc);newArc.edge=rArc.edge=createEdge(lArc.site,newArc.site);attachCircle(lArc);attachCircle(rArc);return}if(!rArc){newArc.edge=createEdge(lArc.site,newArc.site);return}detachCircle(lArc);detachCircle(rArc);var lSite=lArc.site,ax=lSite[0],ay=lSite[1],bx=site[0]-ax,by=site[1]-ay,rSite=rArc.site,cx=rSite[0]-ax,cy=rSite[1]-ay,d=2*(bx*cy-by*cx),hb=bx*bx+by*by,hc=cx*cx+cy*cy,vertex=[(cy*hb-by*hc)/d+ax,(bx*hc-cx*hb)/d+ay];setEdgeEnd(rArc.edge,lSite,rSite,vertex);newArc.edge=createEdge(lSite,site,null,vertex);rArc.edge=createEdge(site,rSite,null,vertex);attachCircle(lArc);attachCircle(rArc)}function leftBreakPoint(arc,directrix){var site=arc.site,rfocx=site[0],rfocy=site[1],pby2=rfocy-directrix;if(!pby2)return rfocx;var lArc=arc.P;if(!lArc)return-Infinity;site=lArc.site;var lfocx=site[0],lfocy=site[1],plby2=lfocy-directrix;if(!plby2)return lfocx;var hl=lfocx-rfocx,aby2=1/pby2-1/plby2,b=hl/plby2;if(aby2)return(-b+Math.sqrt(b*b-2*aby2*(hl*hl/(-2*plby2)-lfocy+plby2/2+rfocy-pby2/2)))/aby2+rfocx;return(rfocx+lfocx)/2}function rightBreakPoint(arc,directrix){var rArc=arc.N;if(rArc)return leftBreakPoint(rArc,directrix);var site=arc.site;return site[1]===directrix?site[0]:Infinity}var epsilon=1e-6;var epsilon2=1e-12;var beaches;var cells;var circles;var edges;function triangleArea(a,b,c){return(a[0]-c[0])*(b[1]-a[1])-(a[0]-b[0])*(c[1]-a[1])}function lexicographic(a,b){return b[1]-a[1]||b[0]-a[0]}function Diagram(sites,extent){var x,y,circle,site=sites.sort(lexicographic).pop();edges=[];cells=new Array(sites.length);beaches=new RedBlackTree;circles=new RedBlackTree;while(true){circle=firstCircle;if(site&&(!circle||site[1]<circle.y||site[1]===circle.y&&site[0]<circle.x)){if(site[0]!==x||site[1]!==y){addBeach(site);x=site[0],y=site[1]}site=sites.pop()}else{if(!circle)break;removeBeach(circle.arc)}}sortCellHalfedges();if(extent){var x0=+extent[0][0],y0=+extent[0][1],x1=+extent[1][0],y1=+extent[1][1];clipEdges(x0,y0,x1,y1);clipCells(x0,y0,x1,y1)}this.edges=edges;this.cells=cells;beaches=circles=edges=cells=null}Diagram.prototype={constructor:Diagram,polygons:function(){var edges=this.edges;return this.cells.map(function(cell){var polygon=cell.halfedges.map(function(i){return cellHalfedgeStart(cell,edges[i])});polygon.data=cell.site.data;return polygon})},triangles:function(){var triangles=[],edges=this.edges;this.cells.forEach(function(cell,i){if(!(m=(halfedges=cell.halfedges).length))return;var halfedges,m,s0,site=cell.site,j=-1,e1=edges[halfedges[m-1]],s1=e1.left===site?e1.right:e1.left;while(++j<m){s0=s1;e1=edges[halfedges[j]];s1=e1.left===site?e1.right:e1.left;s0&&s1&&i<s0.index&&i<s1.index&&triangleArea(site,s0,s1)<0&&triangles.push([site.data,s0.data,s1.data])}});return triangles},links:function(){return this.edges.filter(function(edge){return edge.right}).map(function(edge){return{source:edge.left.data,target:edge.right.data}})},find:function(x,y,radius){var i0,cell,that=this,i1=that._found||0,n=that.cells.length;while(!(cell=that.cells[i1]))if(++i1>=n)return null;var dx=x-cell.site[0],dy=y-cell.site[1],d2=dx*dx+dy*dy;do{cell=that.cells[i0=i1],i1=null;cell.halfedges.forEach(function(e){var edge=that.edges[e],v=edge.left;if((v===cell.site||!v)&&!(v=edge.right))return;var vx=x-v[0],vy=y-v[1],v2=vx*vx+vy*vy;v2<d2&&(d2=v2,i1=v.index)})}while(null!==i1);that._found=i0;return null==radius||d2<=radius*radius?cell.site:null}};var voronoi=function(){var x$$1=x,y$$1=y,extent=null;function voronoi(data){return new Diagram(data.map(function(d,i){var s=[Math.round(x$$1(d,i,data)/epsilon)*epsilon,Math.round(y$$1(d,i,data)/epsilon)*epsilon];s.index=i;s.data=d;return s}),extent)}voronoi.polygons=function(data){return voronoi(data).polygons()};voronoi.links=function(data){return voronoi(data).links()};voronoi.triangles=function(data){return voronoi(data).triangles()};voronoi.x=function(_){return arguments.length?(x$$1="function"===typeof _?_:constant(+_),voronoi):x$$1};voronoi.y=function(_){return arguments.length?(y$$1="function"===typeof _?_:constant(+_),voronoi):y$$1};voronoi.extent=function(_){return arguments.length?(extent=null==_?null:[[+_[0][0],+_[0][1]],[+_[1][0],+_[1][1]]],voronoi):extent&&[[extent[0][0],extent[0][1]],[extent[1][0],extent[1][1]]]};voronoi.size=function(_){return arguments.length?(extent=null==_?null:[[0,0],[+_[0],+_[1]]],voronoi):extent&&[extent[1][0]-extent[0][0],extent[1][1]-extent[0][1]]};return voronoi};exports.voronoi=voronoi;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports);var factory},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports["default"]={noWobble:{stiffness:170,damping:26},gentle:{stiffness:120,damping:14},wobbly:{stiffness:180,damping:12},stiff:{stiffness:210,damping:20}};module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Color=__webpack_require__(163);var _theme=__webpack_require__(44);var _scalesUtils=__webpack_require__(58);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var LineSeriesCanvas=function(_AbstractSeries){_inherits(LineSeriesCanvas,_AbstractSeries);function LineSeriesCanvas(){_classCallCheck(this,LineSeriesCanvas);return _possibleConstructorReturn(this,(LineSeriesCanvas.__proto__||Object.getPrototypeOf(LineSeriesCanvas)).apply(this,arguments))}_createClass(LineSeriesCanvas,[{key:"render",value:function render(){return null}}],[{key:"renderLayer",value:function renderLayer(props,ctx){var data=props.data,marginLeft=props.marginLeft,marginTop=props.marginTop,strokeWidth=props.strokeWidth,strokeDasharray=props.strokeDasharray;if(!data||0===data.length)return;var x=(0,_scalesUtils.getAttributeFunctor)(props,"x");var y=(0,_scalesUtils.getAttributeFunctor)(props,"y");var stroke=(0,_scalesUtils.getAttributeValue)(props,"stroke")||(0,_scalesUtils.getAttributeValue)(props,"color");var strokeColor=(0,_d3Color.rgb)(stroke);var newOpacity=(0,_scalesUtils.getAttributeValue)(props,"opacity");var opacity=Number.isFinite(newOpacity)?newOpacity:_theme.DEFAULT_OPACITY;ctx.beginPath();ctx.moveTo(x(data[0])+marginLeft,y(data[0])+marginTop);data.forEach(function(row){return ctx.lineTo(x(row)+marginLeft,y(row)+marginTop)});ctx.strokeStyle="rgba("+strokeColor.r+", "+strokeColor.g+", "+strokeColor.b+", "+opacity+")";ctx.lineWidth=strokeWidth;strokeDasharray&&ctx.setLineDash(strokeDasharray);ctx.stroke();ctx.lineWidth=1}},{key:"requiresSVG",get:function get(){return false}},{key:"isCanvas",get:function get(){return true}}]);return LineSeriesCanvas}(_abstractSeries2.default);LineSeriesCanvas.displayName="LineSeriesCanvas";LineSeriesCanvas.defaultProps=_extends({},_abstractSeries2.default.defaultProps,{strokeWidth:1,strokeDasharray:""});LineSeriesCanvas.propTypes=_extends({},_abstractSeries2.default.propTypes,{strokeWidth:_propTypes2.default.number});exports.default=LineSeriesCanvas},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _seriesUtils=__webpack_require__(50);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-xy-plot__series rv-xy-plot__series--bar";var BarSeries=function(_AbstractSeries){_inherits(BarSeries,_AbstractSeries);function BarSeries(){_classCallCheck(this,BarSeries);return _possibleConstructorReturn(this,(BarSeries.__proto__||Object.getPrototypeOf(BarSeries)).apply(this,arguments))}_createClass(BarSeries,[{key:"render",value:function render(){var _this2=this;var _props=this.props,animation=_props.animation,className=_props.className,data=_props.data,linePosAttr=_props.linePosAttr,lineSizeAttr=_props.lineSizeAttr,marginLeft=_props.marginLeft,marginTop=_props.marginTop,style=_props.style,valuePosAttr=_props.valuePosAttr,valueSizeAttr=_props.valueSizeAttr;if(!data)return null;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS}),_react2.default.createElement(BarSeries,_extends({},this.props,{animation:null})));var _getStackParams=(0,_seriesUtils.getStackParams)(this.props),sameTypeTotal=_getStackParams.sameTypeTotal,sameTypeIndex=_getStackParams.sameTypeIndex;var distance=this._getScaleDistance(linePosAttr);var lineFunctor=this._getAttributeFunctor(linePosAttr);var valueFunctor=this._getAttributeFunctor(valuePosAttr);var value0Functor=this._getAttr0Functor(valuePosAttr);var fillFunctor=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color");var strokeFunctor=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color");var opacityFunctor=this._getAttributeFunctor("opacity");var itemSize=distance/2*.85;return _react2.default.createElement("g",{className:predefinedClassName+" "+className,transform:"translate("+marginLeft+","+marginTop+")"},data.map(function(d,i){var _attrs;var attrs=(_attrs={style:_extends({opacity:opacityFunctor&&opacityFunctor(d),stroke:strokeFunctor&&strokeFunctor(d),fill:fillFunctor&&fillFunctor(d)},style)},_defineProperty(_attrs,linePosAttr,lineFunctor(d)-itemSize+2*itemSize/sameTypeTotal*sameTypeIndex),_defineProperty(_attrs,lineSizeAttr,2*itemSize/sameTypeTotal),_defineProperty(_attrs,valuePosAttr,Math.min(value0Functor(d),valueFunctor(d))),_defineProperty(_attrs,valueSizeAttr,Math.abs(-value0Functor(d)+valueFunctor(d))),_defineProperty(_attrs,"onClick",function onClick(e){return _this2._valueClickHandler(d,e)}),_defineProperty(_attrs,"onContextMenu",function onContextMenu(e){return _this2._valueRightClickHandler(d,e)}),_defineProperty(_attrs,"onMouseOver",function onMouseOver(e){return _this2._valueMouseOverHandler(d,e)}),_defineProperty(_attrs,"onMouseOut",function onMouseOut(e){return _this2._valueMouseOutHandler(d,e)}),_defineProperty(_attrs,"key",i),_attrs);return _react2.default.createElement("rect",attrs)}))}}],[{key:"propTypes",get:function get(){return _extends({},_abstractSeries2.default.propTypes,{linePosAttr:_propTypes2.default.string,valuePosAttr:_propTypes2.default.string,lineSizeAttr:_propTypes2.default.string,valueSizeAttr:_propTypes2.default.string,cluster:_propTypes2.default.string})}}]);return BarSeries}(_abstractSeries2.default);BarSeries.displayName="BarSeries";exports.default=BarSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Color=__webpack_require__(163);var _theme=__webpack_require__(44);var _scalesUtils=__webpack_require__(58);var _seriesUtils=__webpack_require__(50);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function getScaleDistance(props,attr){var scaleObject=(0,_scalesUtils.getScaleObjectFromProps)(props,attr);return scaleObject?scaleObject.distance:0}var BarSeriesCanvas=function(_AbstractSeries){_inherits(BarSeriesCanvas,_AbstractSeries);function BarSeriesCanvas(){_classCallCheck(this,BarSeriesCanvas);return _possibleConstructorReturn(this,(BarSeriesCanvas.__proto__||Object.getPrototypeOf(BarSeriesCanvas)).apply(this,arguments))}_createClass(BarSeriesCanvas,[{key:"render",value:function render(){return null}}],[{key:"renderLayer",value:function renderLayer(props,ctx){var data=props.data,linePosAttr=props.linePosAttr,lineSizeAttr=props.lineSizeAttr,valuePosAttr=props.valuePosAttr,marginTop=props.marginTop,marginBottom=props.marginBottom;if(!data||0===data.length)return;var distance=getScaleDistance(props,linePosAttr);var line=(0,_scalesUtils.getAttributeFunctor)(props,linePosAttr);var value=(0,_scalesUtils.getAttributeFunctor)(props,valuePosAttr);var value0=(0,_scalesUtils.getAttr0Functor)(props,valuePosAttr);var fill=(0,_scalesUtils.getAttributeFunctor)(props,"fill")||(0,_scalesUtils.getAttributeFunctor)(props,"color");var stroke=(0,_scalesUtils.getAttributeFunctor)(props,"stroke")||(0,_scalesUtils.getAttributeFunctor)(props,"color");var opacity=(0,_scalesUtils.getAttributeFunctor)(props,"opacity");var itemSize=distance/2*.85;var _getStackParams=(0,_seriesUtils.getStackParams)(props),sameTypeTotal=_getStackParams.sameTypeTotal,sameTypeIndex=_getStackParams.sameTypeIndex;data.forEach(function(row){var fillColor=(0,_d3Color.rgb)(fill(row));var strokeColor=(0,_d3Color.rgb)(stroke(row));var rowOpacity=opacity(row)||_theme.DEFAULT_OPACITY;var linePos=line(row)-itemSize+2*itemSize/sameTypeTotal*sameTypeIndex;var valuePos=Math.min(value0(row),value(row));var x="x"===valuePosAttr?valuePos:linePos;var y="y"===valuePosAttr?valuePos:linePos;var lineSize=2*itemSize/sameTypeTotal;var valueSize=Math.abs(-value0(row)+value(row));var height="height"===lineSizeAttr?lineSize:valueSize;var width="width"===lineSizeAttr?lineSize:valueSize;ctx.beginPath();ctx.rect(x+marginBottom,y+marginTop,width,height);ctx.fillStyle="rgba("+fillColor.r+", "+fillColor.g+", "+fillColor.b+", "+rowOpacity+")";ctx.fill();ctx.strokeStyle="rgba("+strokeColor.r+", "+strokeColor.g+", "+strokeColor.b+", "+rowOpacity+")";ctx.stroke()})}},{key:"requiresSVG",get:function get(){return false}},{key:"isCanvas",get:function get(){return true}}]);return BarSeriesCanvas}(_abstractSeries2.default);BarSeriesCanvas.displayName="BarSeriesCanvas";BarSeriesCanvas.defaultProps=_extends({},_abstractSeries2.default.defaultProps,{linePosAttr:_propTypes2.default.string.isRequired,valuePosAttr:_propTypes2.default.string.isRequired,lineSizeAttr:_propTypes2.default.string.isRequired,valueSizeAttr:_propTypes2.default.string.isRequired});BarSeriesCanvas.propTypes=_extends({},_abstractSeries2.default.propTypes);exports.default=BarSeriesCanvas},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _rectSeries=__webpack_require__(450);var _rectSeries2=_interopRequireDefault(_rectSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var VerticalRectSeries=function(_AbstractSeries){_inherits(VerticalRectSeries,_AbstractSeries);function VerticalRectSeries(){_classCallCheck(this,VerticalRectSeries);return _possibleConstructorReturn(this,(VerticalRectSeries.__proto__||Object.getPrototypeOf(VerticalRectSeries)).apply(this,arguments))}_createClass(VerticalRectSeries,[{key:"render",value:function render(){return _react2.default.createElement(_rectSeries2.default,_extends({},this.props,{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}))}}],[{key:"getParentConfig",value:function getParentConfig(attr){var isDomainAdjustmentNeeded=false;var zeroBaseValue="y"===attr;return{isDomainAdjustmentNeeded:isDomainAdjustmentNeeded,zeroBaseValue:zeroBaseValue}}}]);return VerticalRectSeries}(_abstractSeries2.default);VerticalRectSeries.displayName="VerticalRectSeries";exports.default=VerticalRectSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _d3Color=__webpack_require__(163);var _theme=__webpack_require__(44);var _scalesUtils=__webpack_require__(58);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var MarkSeriesCanvas=function(_AbstractSeries){_inherits(MarkSeriesCanvas,_AbstractSeries);function MarkSeriesCanvas(){_classCallCheck(this,MarkSeriesCanvas);return _possibleConstructorReturn(this,(MarkSeriesCanvas.__proto__||Object.getPrototypeOf(MarkSeriesCanvas)).apply(this,arguments))}_createClass(MarkSeriesCanvas,[{key:"render",value:function render(){return null}}],[{key:"renderLayer",value:function renderLayer(props,ctx){var data=props.data,marginLeft=props.marginLeft,marginTop=props.marginTop;var x=(0,_scalesUtils.getAttributeFunctor)(props,"x");var y=(0,_scalesUtils.getAttributeFunctor)(props,"y");var size=(0,_scalesUtils.getAttributeFunctor)(props,"size")||function(p){return _theme.DEFAULT_SIZE};var fill=(0,_scalesUtils.getAttributeFunctor)(props,"fill")||(0,_scalesUtils.getAttributeFunctor)(props,"color");var stroke=(0,_scalesUtils.getAttributeFunctor)(props,"stroke")||(0,_scalesUtils.getAttributeFunctor)(props,"color");var opacity=(0,_scalesUtils.getAttributeFunctor)(props,"opacity");data.forEach(function(row){var fillColor=(0,_d3Color.rgb)(fill(row));var strokeColor=(0,_d3Color.rgb)(stroke(row));var rowOpacity=opacity(row)||_theme.DEFAULT_OPACITY;ctx.beginPath();ctx.arc(x(row)+marginLeft,y(row)+marginTop,size(row),0,2*Math.PI);ctx.fillStyle="rgba("+fillColor.r+", "+fillColor.g+", "+fillColor.b+", "+rowOpacity+")";ctx.fill();ctx.strokeStyle="rgba("+strokeColor.r+", "+strokeColor.g+", "+strokeColor.b+", "+rowOpacity+")";ctx.stroke()})}},{key:"requiresSVG",get:function get(){return false}},{key:"isCanvas",get:function get(){return true}}]);return MarkSeriesCanvas}(_abstractSeries2.default);MarkSeriesCanvas.displayName="MarkSeriesCanvas";MarkSeriesCanvas.propTypes=_extends({},_abstractSeries2.default.propTypes);exports.default=MarkSeriesCanvas},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _lineSeries=__webpack_require__(449);var _lineSeries2=_interopRequireDefault(_lineSeries);var _markSeries=__webpack_require__(453);var _markSeries2=_interopRequireDefault(_markSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var propTypes=_extends({},_lineSeries2.default.propTypes,{lineStyle:_propTypes2.default.object,markStyle:_propTypes2.default.object});var LineMarkSeries=function(_AbstractSeries){_inherits(LineMarkSeries,_AbstractSeries);function LineMarkSeries(){_classCallCheck(this,LineMarkSeries);return _possibleConstructorReturn(this,(LineMarkSeries.__proto__||Object.getPrototypeOf(LineMarkSeries)).apply(this,arguments))}_createClass(LineMarkSeries,[{key:"render",value:function render(){var _props=this.props,lineStyle=_props.lineStyle,markStyle=_props.markStyle,style=_props.style;return _react2.default.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--linemark"},_react2.default.createElement(_lineSeries2.default,_extends({},this.props,{style:_extends({},style,lineStyle)})),_react2.default.createElement(_markSeries2.default,_extends({},this.props,{style:_extends({},style,markStyle)})))}}],[{key:"defaultProps",get:function get(){return _extends({},_lineSeries2.default.defaultProps,{lineStyle:{},markStyle:{}})}}]);return LineMarkSeries}(_abstractSeries2.default);LineMarkSeries.displayName="LineMarkSeries";LineMarkSeries.propTypes=propTypes;exports.default=LineMarkSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _axisUtils=__webpack_require__(84);var _scalesUtils=__webpack_require__(58);var _axisLine=__webpack_require__(1886);var _axisLine2=_interopRequireDefault(_axisLine);var _axisTicks=__webpack_require__(1887);var _axisTicks2=_interopRequireDefault(_axisTicks);var _axisTitle=__webpack_require__(1888);var _axisTitle2=_interopRequireDefault(_axisTitle);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var defaultAnimatedProps=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickSize","tickTotal","tickSizeInner","tickSizeOuter"];var LEFT=_axisUtils.ORIENTATION.LEFT,RIGHT=_axisUtils.ORIENTATION.RIGHT,TOP=_axisUtils.ORIENTATION.TOP,BOTTOM=_axisUtils.ORIENTATION.BOTTOM;var propTypes={orientation:_propTypes2.default.oneOf([LEFT,RIGHT,TOP,BOTTOM]),attr:_propTypes2.default.string.isRequired,attrAxis:_propTypes2.default.string,width:_propTypes2.default.number,height:_propTypes2.default.number,top:_propTypes2.default.number,left:_propTypes2.default.number,title:_propTypes2.default.string,style:_propTypes2.default.object,className:_propTypes2.default.string,hideTicks:_propTypes2.default.bool,hideLine:_propTypes2.default.bool,on0:_propTypes2.default.bool,tickLabelAngle:_propTypes2.default.number,tickSize:_propTypes2.default.number,tickSizeInner:_propTypes2.default.number,tickSizeOuter:_propTypes2.default.number,tickPadding:_propTypes2.default.number,tickValues:_propTypes2.default.array,tickFormat:_propTypes2.default.func,tickTotal:_propTypes2.default.number,marginTop:_propTypes2.default.number,marginBottom:_propTypes2.default.number,marginLeft:_propTypes2.default.number,marginRight:_propTypes2.default.number,innerWidth:_propTypes2.default.number,innerHeight:_propTypes2.default.number};var defaultProps={className:"",on0:false,style:{},tickSize:6,tickPadding:8,orientation:BOTTOM};var predefinedClassName="rv-xy-plot__axis";var VERTICAL_CLASS_NAME="rv-xy-plot__axis--vertical";var HORIZONTAL_CLASS_NAME="rv-xy-plot__axis--horizontal";var Axis=function(_PureComponent){_inherits(Axis,_PureComponent);function Axis(){_classCallCheck(this,Axis);return _possibleConstructorReturn(this,(Axis.__proto__||Object.getPrototypeOf(Axis)).apply(this,arguments))}_createClass(Axis,[{key:"_getDefaultAxisProps",value:function _getDefaultAxisProps(){var _props=this.props,innerWidth=_props.innerWidth,innerHeight=_props.innerHeight,marginTop=_props.marginTop,marginBottom=_props.marginBottom,marginLeft=_props.marginLeft,marginRight=_props.marginRight,orientation=_props.orientation;if(orientation===BOTTOM)return{tickTotal:(0,_axisUtils.getTicksTotalFromSize)(innerWidth),top:innerHeight+marginTop,left:marginLeft,width:innerWidth,height:marginBottom};if(orientation===TOP)return{tickTotal:(0,_axisUtils.getTicksTotalFromSize)(innerWidth),top:0,left:marginLeft,width:innerWidth,height:marginTop};if(orientation===LEFT)return{tickTotal:(0,_axisUtils.getTicksTotalFromSize)(innerHeight),top:marginTop,left:0,width:marginLeft,height:innerHeight};return{tickTotal:(0,_axisUtils.getTicksTotalFromSize)(innerHeight),top:marginTop,left:marginLeft+innerWidth,width:marginRight,height:innerHeight}}},{key:"render",value:function render(){var animation=this.props.animation;if(animation){var animatedProps=animation.nonAnimatedProps?defaultAnimatedProps.filter(function(prop){return animation.nonAnimatedProps.indexOf(prop)<0}):defaultAnimatedProps;return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:animatedProps}),_react2.default.createElement(Axis,_extends({},this.props,{animation:null})))}var props=_extends({},this._getDefaultAxisProps(),this.props);var attrAxis=props.attrAxis,className=props.className,height=props.height,hideLine=props.hideLine,hideTicks=props.hideTicks,left=props.left,marginTop=props.marginTop,on0=props.on0,orientation=props.orientation,position=props.position,style=props.style,title=props.title,top=props.top,width=props.width;var isVertical=[LEFT,RIGHT].indexOf(orientation)>-1;var axisClassName=isVertical?VERTICAL_CLASS_NAME:HORIZONTAL_CLASS_NAME;var leftPos=left;var topPos=top;if(on0){var scale=(0,_scalesUtils.getAttributeScale)(props,attrAxis);isVertical?leftPos=scale(0):topPos=marginTop+scale(0)}return _react2.default.createElement("g",{transform:"translate("+leftPos+","+topPos+")",className:predefinedClassName+" "+axisClassName+" "+className,style:style},!hideLine&&_react2.default.createElement(_axisLine2.default,{height:height,width:width,orientation:orientation,style:_extends({},style,style.line)}),!hideTicks&&_react2.default.createElement(_axisTicks2.default,_extends({},props,{style:_extends({},style,style.ticks)})),title?_react2.default.createElement(_axisTitle2.default,{position:position,title:title,height:height,width:width,style:_extends({},style,style.title),orientation:orientation}):null)}}]);return Axis}(_react.PureComponent);Axis.displayName="Axis";Axis.propTypes=propTypes;Axis.defaultProps=defaultProps;Axis.requiresSVG=true;exports.default=Axis},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Voronoi=__webpack_require__(754);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var NOOP=function NOOP(f){return f};function getNodeIndex(evt){var _evt$nativeEvent=evt.nativeEvent,pageX=_evt$nativeEvent.pageX,pageY=_evt$nativeEvent.pageY;var target=document.elementFromPoint(pageX,pageY);if(!target)return-1;var parentNode=target.parentNode;return Array.prototype.indexOf.call(parentNode.childNodes,target)}function Voronoi(_ref){var className=_ref.className,extent=_ref.extent,nodes=_ref.nodes,onBlur=_ref.onBlur,_onClick=_ref.onClick,_onMouseUp=_ref.onMouseUp,_onMouseDown=_ref.onMouseDown,onHover=_ref.onHover,polygonStyle=_ref.polygonStyle,style=_ref.style,x=_ref.x,y=_ref.y;var voronoiInstance=(0,_d3Voronoi.voronoi)().x(x).y(y).extent(extent);var polygons=voronoiInstance.polygons(nodes);var handleTouchEvent=function handleTouchEvent(handler){return function(evt){evt.preventDefault();var index=getNodeIndex(evt);if(index>-1&&index<polygons.length){var d=polygons[index];handler(d.data)}}};return _react2.default.createElement("g",{className:className+" rv-voronoi",style:style,onTouchEnd:handleTouchEvent(_onMouseUp),onTouchStart:handleTouchEvent(_onMouseDown),onTouchMove:handleTouchEvent(onHover),onTouchCancel:handleTouchEvent(onBlur)},polygons.map(function(d,i){return _react2.default.createElement("path",{className:"rv-voronoi__cell "+(d.data&&d.data.className||""),d:"M"+d.join("L")+"Z",onClick:function onClick(){return _onClick(d.data)},onMouseUp:function onMouseUp(){return _onMouseUp(d.data)},onMouseDown:function onMouseDown(){return _onMouseDown(d.data)},onMouseOver:function onMouseOver(){return onHover(d.data)},onMouseOut:function onMouseOut(){return onBlur(d.data)},fill:"none",style:_extends({pointerEvents:"all"},polygonStyle,d.data&&d.data.style),key:i})}))}Voronoi.requiresSVG=true;Voronoi.defaultProps={className:"",onBlur:NOOP,onClick:NOOP,onHover:NOOP,onMouseDown:NOOP,onMouseUp:NOOP,x:function x(d){return d.x},y:function y(d){return d.y}};Voronoi.propTypes={className:_propTypes2.default.string,extent:_propTypes2.default.arrayOf(_propTypes2.default.arrayOf(_propTypes2.default.number)).isRequired,nodes:_propTypes2.default.arrayOf(_propTypes2.default.object).isRequired,onBlur:_propTypes2.default.func,onClick:_propTypes2.default.func,onHover:_propTypes2.default.func,onMouseDown:_propTypes2.default.func,onMouseUp:_propTypes2.default.func,x:_propTypes2.default.func,y:_propTypes2.default.func};exports.default=Voronoi},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _discreteColorLegendItem=__webpack_require__(1894);var _discreteColorLegendItem2=_interopRequireDefault(_discreteColorLegendItem);var _theme=__webpack_require__(44);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function DiscreteColorLegend(_ref){var className=_ref.className,colors=_ref.colors,height=_ref.height,items=_ref.items,onItemClick=_ref.onItemClick,onItemMouseEnter=_ref.onItemMouseEnter,onItemMouseLeave=_ref.onItemMouseLeave,orientation=_ref.orientation,width=_ref.width;return _react2.default.createElement("div",{className:"rv-discrete-color-legend "+orientation+" "+className,style:{width:width,height:height}},items.map(function(item,i){return _react2.default.createElement(_discreteColorLegendItem2.default,{title:item.title?item.title:item,color:item.color?item.color:colors[i%colors.length],disabled:Boolean(item.disabled),orientation:orientation,key:i,onClick:onItemClick?function(e){return onItemClick(item,i,e)}:null,onMouseEnter:onItemMouseEnter?function(e){return onItemMouseEnter(item,i,e)}:null,onMouseLeave:onItemMouseEnter?function(e){return onItemMouseLeave(item,i,e)}:null})}))}DiscreteColorLegend.displayName="DiscreteColorLegendItem";DiscreteColorLegend.propTypes={className:_propTypes2.default.string,items:_propTypes2.default.arrayOf(_propTypes2.default.oneOfType([_propTypes2.default.shape({title:_propTypes2.default.string.isRequired,color:_propTypes2.default.string,disabled:_propTypes2.default.bool}),_propTypes2.default.string.isRequired,_propTypes2.default.element])).isRequired,onItemClick:_propTypes2.default.func,onItemMouseEnter:_propTypes2.default.func,onItemMouseLeave:_propTypes2.default.func,height:_propTypes2.default.number,width:_propTypes2.default.number,orientation:_propTypes2.default.oneOf(["vertical","horizontal"])};DiscreteColorLegend.defaultProps={className:"",colors:_theme.DISCRETE_COLOR_RANGE,orientation:"vertical"};exports.default=DiscreteColorLegend},function(module,exports,__webpack_require__){0,factory=function(exports){"use strict";function defaultSeparation(a,b){return a.parent===b.parent?1:2}function meanX(children){return children.reduce(meanXReduce,0)/children.length}function meanXReduce(x,c){return x+c.x}function maxY(children){return 1+children.reduce(maxYReduce,0)}function maxYReduce(y,c){return Math.max(y,c.y)}function leafLeft(node){var children;while(children=node.children)node=children[0];return node}function leafRight(node){var children;while(children=node.children)node=children[children.length-1];return node}var cluster=function(){var separation=defaultSeparation,dx=1,dy=1,nodeSize=false;function cluster(root){var previousNode,x=0;root.eachAfter(function(node){var children=node.children;if(children){node.x=meanX(children);node.y=maxY(children)}else{node.x=previousNode?x+=separation(node,previousNode):0;node.y=0;previousNode=node}});var left=leafLeft(root),right=leafRight(root),x0=left.x-separation(left,right)/2,x1=right.x+separation(right,left)/2;return root.eachAfter(nodeSize?function(node){node.x=(node.x-root.x)*dx;node.y=(root.y-node.y)*dy}:function(node){node.x=(node.x-x0)/(x1-x0)*dx;node.y=(1-(root.y?node.y/root.y:1))*dy})}cluster.separation=function(x){return arguments.length?(separation=x,cluster):separation};cluster.size=function(x){return arguments.length?(nodeSize=false,dx=+x[0],dy=+x[1],cluster):nodeSize?null:[dx,dy]};cluster.nodeSize=function(x){return arguments.length?(nodeSize=true,dx=+x[0],dy=+x[1],cluster):nodeSize?[dx,dy]:null};return cluster};function count(node){var sum=0,children=node.children,i=children&&children.length;if(i)while(--i>=0)sum+=children[i].value;else sum=1;node.value=sum}var node_count=function(){return this.eachAfter(count)};var node_each=function(callback){var current,children,i,n,node=this,next=[node];do{current=next.reverse(),next=[];while(node=current.pop()){callback(node),children=node.children;if(children)for(i=0,n=children.length;i<n;++i)next.push(children[i])}}while(next.length);return this};var node_eachBefore=function(callback){var children,i,node=this,nodes=[node];while(node=nodes.pop()){callback(node),children=node.children;if(children)for(i=children.length-1;i>=0;--i)nodes.push(children[i])}return this};var node_eachAfter=function(callback){var children,i,n,node=this,nodes=[node],next=[];while(node=nodes.pop()){next.push(node),children=node.children;if(children)for(i=0,n=children.length;i<n;++i)nodes.push(children[i])}while(node=next.pop())callback(node);return this};var node_sum=function(value){return this.eachAfter(function(node){var sum=+value(node.data)||0,children=node.children,i=children&&children.length;while(--i>=0)sum+=children[i].value;node.value=sum})};var node_sort=function(compare){return this.eachBefore(function(node){node.children&&node.children.sort(compare)})};var node_path=function(end){var start=this,ancestor=leastCommonAncestor(start,end),nodes=[start];while(start!==ancestor){start=start.parent;nodes.push(start)}var k=nodes.length;while(end!==ancestor){nodes.splice(k,0,end);end=end.parent}return nodes};function leastCommonAncestor(a,b){if(a===b)return a;var aNodes=a.ancestors(),bNodes=b.ancestors(),c=null;a=aNodes.pop();b=bNodes.pop();while(a===b){c=a;a=aNodes.pop();b=bNodes.pop()}return c}var node_ancestors=function(){var node=this,nodes=[node];while(node=node.parent)nodes.push(node);return nodes};var node_descendants=function(){var nodes=[];this.each(function(node){nodes.push(node)});return nodes};var node_leaves=function(){var leaves=[];this.eachBefore(function(node){node.children||leaves.push(node)});return leaves};var node_links=function(){var root=this,links=[];root.each(function(node){node!==root&&links.push({source:node.parent,target:node})});return links};function hierarchy(data,children){var node,child,childs,i,n,root=new Node(data),valued=+data.value&&(root.value=data.value),nodes=[root];null==children&&(children=defaultChildren);while(node=nodes.pop()){valued&&(node.value=+node.data.value);if((childs=children(node.data))&&(n=childs.length)){node.children=new Array(n);for(i=n-1;i>=0;--i){nodes.push(child=node.children[i]=new Node(childs[i]));child.parent=node;child.depth=node.depth+1}}}return root.eachBefore(computeHeight)}function node_copy(){return hierarchy(this).eachBefore(copyData)}function defaultChildren(d){return d.children}function copyData(node){node.data=node.data.data}function computeHeight(node){var height=0;do{node.height=height}while((node=node.parent)&&node.height<++height)}function Node(data){this.data=data;this.depth=this.height=0;this.parent=null}Node.prototype=hierarchy.prototype={constructor:Node,count:node_count,each:node_each,eachAfter:node_eachAfter,eachBefore:node_eachBefore,sum:node_sum,sort:node_sort,path:node_path,ancestors:node_ancestors,descendants:node_descendants,leaves:node_leaves,links:node_links,copy:node_copy};var slice=Array.prototype.slice;function shuffle(array){var t,i,m=array.length;while(m){i=Math.random()*m--|0;t=array[m];array[m]=array[i];array[i]=t}return array}var enclose=function(circles){var p,e,i=0,n=(circles=shuffle(slice.call(circles))).length,B=[];while(i<n){p=circles[i];e&&enclosesWeak(e,p)?++i:(e=encloseBasis(B=extendBasis(B,p)),i=0)}return e};function extendBasis(B,p){var i,j;if(enclosesWeakAll(p,B))return[p];for(i=0;i<B.length;++i)if(enclosesNot(p,B[i])&&enclosesWeakAll(encloseBasis2(B[i],p),B))return[B[i],p];for(i=0;i<B.length-1;++i)for(j=i+1;j<B.length;++j)if(enclosesNot(encloseBasis2(B[i],B[j]),p)&&enclosesNot(encloseBasis2(B[i],p),B[j])&&enclosesNot(encloseBasis2(B[j],p),B[i])&&enclosesWeakAll(encloseBasis3(B[i],B[j],p),B))return[B[i],B[j],p];throw new Error}function enclosesNot(a,b){var dr=a.r-b.r,dx=b.x-a.x,dy=b.y-a.y;return dr<0||dr*dr<dx*dx+dy*dy}function enclosesWeak(a,b){var dr=a.r-b.r+1e-6,dx=b.x-a.x,dy=b.y-a.y;return dr>0&&dr*dr>dx*dx+dy*dy}function enclosesWeakAll(a,B){for(var i=0;i<B.length;++i)if(!enclosesWeak(a,B[i]))return false;return true}function encloseBasis(B){switch(B.length){case 1:return encloseBasis1(B[0]);case 2:return encloseBasis2(B[0],B[1]);case 3:return encloseBasis3(B[0],B[1],B[2])}}function encloseBasis1(a){return{x:a.x,y:a.y,r:a.r}}function encloseBasis2(a,b){var x1=a.x,y1=a.y,r1=a.r,x2=b.x,y2=b.y,r2=b.r,x21=x2-x1,y21=y2-y1,r21=r2-r1,l=Math.sqrt(x21*x21+y21*y21);return{x:(x1+x2+x21/l*r21)/2,y:(y1+y2+y21/l*r21)/2,r:(l+r1+r2)/2}}function encloseBasis3(a,b,c){var x1=a.x,y1=a.y,r1=a.r,x2=b.x,y2=b.y,r2=b.r,x3=c.x,y3=c.y,r3=c.r,a2=x1-x2,a3=x1-x3,b2=y1-y2,b3=y1-y3,c2=r2-r1,c3=r3-r1,d1=x1*x1+y1*y1-r1*r1,d2=d1-x2*x2-y2*y2+r2*r2,d3=d1-x3*x3-y3*y3+r3*r3,ab=a3*b2-a2*b3,xa=(b2*d3-b3*d2)/(2*ab)-x1,xb=(b3*c2-b2*c3)/ab,ya=(a3*d2-a2*d3)/(2*ab)-y1,yb=(a2*c3-a3*c2)/ab,A=xb*xb+yb*yb-1,B=2*(r1+xa*xb+ya*yb),C=xa*xa+ya*ya-r1*r1,r=-(A?(B+Math.sqrt(B*B-4*A*C))/(2*A):C/B);return{x:x1+xa+xb*r,y:y1+ya+yb*r,r:r}}function place(a,b,c){var ax=a.x,ay=a.y,da=b.r+c.r,db=a.r+c.r,dx=b.x-ax,dy=b.y-ay,dc=dx*dx+dy*dy;if(dc){var x=.5+((db*=db)-(da*=da))/(2*dc),y=Math.sqrt(Math.max(0,2*da*(db+dc)-(db-=dc)*db-da*da))/(2*dc);c.x=ax+x*dx+y*dy;c.y=ay+x*dy-y*dx}else{c.x=ax+db;c.y=ay}}function intersects(a,b){var dx=b.x-a.x,dy=b.y-a.y,dr=a.r+b.r;return dr*dr-1e-6>dx*dx+dy*dy}function score(node){var a=node._,b=node.next._,ab=a.r+b.r,dx=(a.x*b.r+b.x*a.r)/ab,dy=(a.y*b.r+b.y*a.r)/ab;return dx*dx+dy*dy}function Node$1(circle){this._=circle;this.next=null;this.previous=null}function packEnclose(circles){if(!(n=circles.length))return 0;var a,b,c,n,aa,ca,i,j,k,sj,sk;a=circles[0],a.x=0,a.y=0;if(!(n>1))return a.r;b=circles[1],a.x=-b.r,b.x=a.r,b.y=0;if(!(n>2))return a.r+b.r;place(b,a,c=circles[2]);a=new Node$1(a),b=new Node$1(b),c=new Node$1(c);a.next=c.previous=b;b.next=a.previous=c;c.next=b.previous=a;pack:for(i=3;i<n;++i){place(a._,b._,c=circles[i]),c=new Node$1(c);j=b.next,k=a.previous,sj=b._.r,sk=a._.r;do{if(sj<=sk){if(intersects(j._,c._)){b=j,a.next=b,b.previous=a,--i;continue pack}sj+=j._.r,j=j.next}else{if(intersects(k._,c._)){a=k,a.next=b,b.previous=a,--i;continue pack}sk+=k._.r,k=k.previous}}while(j!==k.next);c.previous=a,c.next=b,a.next=b.previous=b=c;aa=score(a);while((c=c.next)!==b)(ca=score(c))<aa&&(a=c,aa=ca);b=a.next}a=[b._],c=b;while((c=c.next)!==b)a.push(c._);c=enclose(a);for(i=0;i<n;++i)a=circles[i],a.x-=c.x,a.y-=c.y;return c.r}var siblings=function(circles){packEnclose(circles);return circles};function optional(f){return null==f?null:required(f)}function required(f){if("function"!==typeof f)throw new Error;return f}function constantZero(){return 0}var constant=function(x){return function(){return x}};function defaultRadius(d){return Math.sqrt(d.value)}var index=function(){var radius=null,dx=1,dy=1,padding=constantZero;function pack(root){root.x=dx/2,root.y=dy/2;radius?root.eachBefore(radiusLeaf(radius)).eachAfter(packChildren(padding,.5)).eachBefore(translateChild(1)):root.eachBefore(radiusLeaf(defaultRadius)).eachAfter(packChildren(constantZero,1)).eachAfter(packChildren(padding,root.r/Math.min(dx,dy))).eachBefore(translateChild(Math.min(dx,dy)/(2*root.r)));return root}pack.radius=function(x){return arguments.length?(radius=optional(x),pack):radius};pack.size=function(x){return arguments.length?(dx=+x[0],dy=+x[1],pack):[dx,dy]};pack.padding=function(x){return arguments.length?(padding="function"===typeof x?x:constant(+x),pack):padding};return pack};function radiusLeaf(radius){return function(node){node.children||(node.r=Math.max(0,+radius(node)||0))}}function packChildren(padding,k){return function(node){if(children=node.children){var children,i,e,n=children.length,r=padding(node)*k||0;if(r)for(i=0;i<n;++i)children[i].r+=r;e=packEnclose(children);if(r)for(i=0;i<n;++i)children[i].r-=r;node.r=e+r}}}function translateChild(k){return function(node){var parent=node.parent;node.r*=k;if(parent){node.x=parent.x+k*node.x;node.y=parent.y+k*node.y}}}var roundNode=function(node){node.x0=Math.round(node.x0);node.y0=Math.round(node.y0);node.x1=Math.round(node.x1);node.y1=Math.round(node.y1)};var treemapDice=function(parent,x0,y0,x1,y1){var node,nodes=parent.children,i=-1,n=nodes.length,k=parent.value&&(x1-x0)/parent.value;while(++i<n){node=nodes[i],node.y0=y0,node.y1=y1;node.x0=x0,node.x1=x0+=node.value*k}};var partition=function(){var dx=1,dy=1,padding=0,round=false;function partition(root){var n=root.height+1;root.x0=root.y0=padding;root.x1=dx;root.y1=dy/n;root.eachBefore(positionNode(dy,n));round&&root.eachBefore(roundNode);return root}function positionNode(dy,n){return function(node){node.children&&treemapDice(node,node.x0,dy*(node.depth+1)/n,node.x1,dy*(node.depth+2)/n);var x0=node.x0,y0=node.y0,x1=node.x1-padding,y1=node.y1-padding;x1<x0&&(x0=x1=(x0+x1)/2);y1<y0&&(y0=y1=(y0+y1)/2);node.x0=x0;node.y0=y0;node.x1=x1;node.y1=y1}}partition.round=function(x){return arguments.length?(round=!!x,partition):round};partition.size=function(x){return arguments.length?(dx=+x[0],dy=+x[1],partition):[dx,dy]};partition.padding=function(x){return arguments.length?(padding=+x,partition):padding};return partition};var keyPrefix="$";var preroot={depth:-1};var ambiguous={};function defaultId(d){return d.id}function defaultParentId(d){return d.parentId}var stratify=function(){var id=defaultId,parentId=defaultParentId;function stratify(data){var d,i,root,parent,node,nodeId,nodeKey,n=data.length,nodes=new Array(n),nodeByKey={};for(i=0;i<n;++i){d=data[i],node=nodes[i]=new Node(d);if(null!=(nodeId=id(d,i,data))&&(nodeId+="")){nodeKey=keyPrefix+(node.id=nodeId);nodeByKey[nodeKey]=nodeKey in nodeByKey?ambiguous:node}}for(i=0;i<n;++i){node=nodes[i],nodeId=parentId(data[i],i,data);if(null!=nodeId&&(nodeId+="")){parent=nodeByKey[keyPrefix+nodeId];if(!parent)throw new Error("missing: "+nodeId);if(parent===ambiguous)throw new Error("ambiguous: "+nodeId);parent.children?parent.children.push(node):parent.children=[node];node.parent=parent}else{if(root)throw new Error("multiple roots");root=node}}if(!root)throw new Error("no root");root.parent=preroot;root.eachBefore(function(node){node.depth=node.parent.depth+1;--n}).eachBefore(computeHeight);root.parent=null;if(n>0)throw new Error("cycle");return root}stratify.id=function(x){return arguments.length?(id=required(x),stratify):id};stratify.parentId=function(x){return arguments.length?(parentId=required(x),stratify):parentId};return stratify};function defaultSeparation$1(a,b){return a.parent===b.parent?1:2}function nextLeft(v){var children=v.children;return children?children[0]:v.t}function nextRight(v){var children=v.children;return children?children[children.length-1]:v.t}function moveSubtree(wm,wp,shift){var change=shift/(wp.i-wm.i);wp.c-=change;wp.s+=shift;wm.c+=change;wp.z+=shift;wp.m+=shift}function executeShifts(v){var w,shift=0,change=0,children=v.children,i=children.length;while(--i>=0){w=children[i];w.z+=shift;w.m+=shift;shift+=w.s+(change+=w.c)}}function nextAncestor(vim,v,ancestor){return vim.a.parent===v.parent?vim.a:ancestor}function TreeNode(node,i){this._=node;this.parent=null;this.children=null;this.A=null;this.a=this;this.z=0;this.m=0;this.c=0;this.s=0;this.t=null;this.i=i}TreeNode.prototype=Object.create(Node.prototype);function treeRoot(root){var node,child,children,i,n,tree=new TreeNode(root,0),nodes=[tree];while(node=nodes.pop())if(children=node._.children){node.children=new Array(n=children.length);for(i=n-1;i>=0;--i){nodes.push(child=node.children[i]=new TreeNode(children[i],i));child.parent=node}}(tree.parent=new TreeNode(null,0)).children=[tree];return tree}var tree=function(){var separation=defaultSeparation$1,dx=1,dy=1,nodeSize=null;function tree(root){var t=treeRoot(root);t.eachAfter(firstWalk),t.parent.m=-t.z;t.eachBefore(secondWalk);if(nodeSize)root.eachBefore(sizeNode);else{var left=root,right=root,bottom=root;root.eachBefore(function(node){node.x<left.x&&(left=node);node.x>right.x&&(right=node);node.depth>bottom.depth&&(bottom=node)});var s=left===right?1:separation(left,right)/2,tx=s-left.x,kx=dx/(right.x+s+tx),ky=dy/(bottom.depth||1);root.eachBefore(function(node){node.x=(node.x+tx)*kx;node.y=node.depth*ky})}return root}function firstWalk(v){var children=v.children,siblings=v.parent.children,w=v.i?siblings[v.i-1]:null;if(children){executeShifts(v);var midpoint=(children[0].z+children[children.length-1].z)/2;if(w){v.z=w.z+separation(v._,w._);v.m=v.z-midpoint}else v.z=midpoint}else w&&(v.z=w.z+separation(v._,w._));v.parent.A=apportion(v,w,v.parent.A||siblings[0])}function secondWalk(v){v._.x=v.z+v.parent.m;v.m+=v.parent.m}function apportion(v,w,ancestor){if(w){var shift,vip=v,vop=v,vim=w,vom=vip.parent.children[0],sip=vip.m,sop=vop.m,sim=vim.m,som=vom.m;while(vim=nextRight(vim),vip=nextLeft(vip),vim&&vip){vom=nextLeft(vom);vop=nextRight(vop);vop.a=v;shift=vim.z+sim-vip.z-sip+separation(vim._,vip._);if(shift>0){moveSubtree(nextAncestor(vim,v,ancestor),v,shift);sip+=shift;sop+=shift}sim+=vim.m;sip+=vip.m;som+=vom.m;sop+=vop.m}if(vim&&!nextRight(vop)){vop.t=vim;vop.m+=sim-sop}if(vip&&!nextLeft(vom)){vom.t=vip;vom.m+=sip-som;ancestor=v}}return ancestor}function sizeNode(node){node.x*=dx;node.y=node.depth*dy}tree.separation=function(x){return arguments.length?(separation=x,tree):separation};tree.size=function(x){return arguments.length?(nodeSize=false,dx=+x[0],dy=+x[1],tree):nodeSize?null:[dx,dy]};tree.nodeSize=function(x){return arguments.length?(nodeSize=true,dx=+x[0],dy=+x[1],tree):nodeSize?[dx,dy]:null};return tree};var treemapSlice=function(parent,x0,y0,x1,y1){var node,nodes=parent.children,i=-1,n=nodes.length,k=parent.value&&(y1-y0)/parent.value;while(++i<n){node=nodes[i],node.x0=x0,node.x1=x1;node.y0=y0,node.y1=y0+=node.value*k}};var phi=(1+Math.sqrt(5))/2;function squarifyRatio(ratio,parent,x0,y0,x1,y1){var row,nodeValue,dx,dy,sumValue,minValue,maxValue,newRatio,minRatio,alpha,beta,rows=[],nodes=parent.children,i0=0,i1=0,n=nodes.length,value=parent.value;while(i0<n){dx=x1-x0,dy=y1-y0;do{sumValue=nodes[i1++].value}while(!sumValue&&i1<n);minValue=maxValue=sumValue;alpha=Math.max(dy/dx,dx/dy)/(value*ratio);beta=sumValue*sumValue*alpha;minRatio=Math.max(maxValue/beta,beta/minValue);for(;i1<n;++i1){sumValue+=nodeValue=nodes[i1].value;nodeValue<minValue&&(minValue=nodeValue);nodeValue>maxValue&&(maxValue=nodeValue);beta=sumValue*sumValue*alpha;newRatio=Math.max(maxValue/beta,beta/minValue);if(newRatio>minRatio){sumValue-=nodeValue;break}minRatio=newRatio}rows.push(row={value:sumValue,dice:dx<dy,children:nodes.slice(i0,i1)});row.dice?treemapDice(row,x0,y0,x1,value?y0+=dy*sumValue/value:y1):treemapSlice(row,x0,y0,value?x0+=dx*sumValue/value:x1,y1);value-=sumValue,i0=i1}return rows}var squarify=function custom(ratio){function squarify(parent,x0,y0,x1,y1){squarifyRatio(ratio,parent,x0,y0,x1,y1)}squarify.ratio=function(x){return custom((x=+x)>1?x:1)};return squarify}(phi);var index$1=function(){var tile=squarify,round=false,dx=1,dy=1,paddingStack=[0],paddingInner=constantZero,paddingTop=constantZero,paddingRight=constantZero,paddingBottom=constantZero,paddingLeft=constantZero;function treemap(root){root.x0=root.y0=0;root.x1=dx;root.y1=dy;root.eachBefore(positionNode);paddingStack=[0];round&&root.eachBefore(roundNode);return root}function positionNode(node){var p=paddingStack[node.depth],x0=node.x0+p,y0=node.y0+p,x1=node.x1-p,y1=node.y1-p;x1<x0&&(x0=x1=(x0+x1)/2);y1<y0&&(y0=y1=(y0+y1)/2);node.x0=x0;node.y0=y0;node.x1=x1;node.y1=y1;if(node.children){p=paddingStack[node.depth+1]=paddingInner(node)/2;x0+=paddingLeft(node)-p;y0+=paddingTop(node)-p;x1-=paddingRight(node)-p;y1-=paddingBottom(node)-p;x1<x0&&(x0=x1=(x0+x1)/2);y1<y0&&(y0=y1=(y0+y1)/2);tile(node,x0,y0,x1,y1)}}treemap.round=function(x){return arguments.length?(round=!!x,treemap):round};treemap.size=function(x){return arguments.length?(dx=+x[0],dy=+x[1],treemap):[dx,dy]};treemap.tile=function(x){return arguments.length?(tile=required(x),treemap):tile};treemap.padding=function(x){return arguments.length?treemap.paddingInner(x).paddingOuter(x):treemap.paddingInner()};treemap.paddingInner=function(x){return arguments.length?(paddingInner="function"===typeof x?x:constant(+x),treemap):paddingInner};treemap.paddingOuter=function(x){return arguments.length?treemap.paddingTop(x).paddingRight(x).paddingBottom(x).paddingLeft(x):treemap.paddingTop()};treemap.paddingTop=function(x){return arguments.length?(paddingTop="function"===typeof x?x:constant(+x),treemap):paddingTop};treemap.paddingRight=function(x){return arguments.length?(paddingRight="function"===typeof x?x:constant(+x),treemap):paddingRight};treemap.paddingBottom=function(x){return arguments.length?(paddingBottom="function"===typeof x?x:constant(+x),treemap):paddingBottom};treemap.paddingLeft=function(x){return arguments.length?(paddingLeft="function"===typeof x?x:constant(+x),treemap):paddingLeft};return treemap};var binary=function(parent,x0,y0,x1,y1){var i,sum,nodes=parent.children,n=nodes.length,sums=new Array(n+1);for(sums[0]=sum=i=0;i<n;++i)sums[i+1]=sum+=nodes[i].value;partition(0,n,parent.value,x0,y0,x1,y1);function partition(i,j,value,x0,y0,x1,y1){if(i>=j-1){var node=nodes[i];node.x0=x0,node.y0=y0;node.x1=x1,node.y1=y1;return}var valueOffset=sums[i],valueTarget=value/2+valueOffset,k=i+1,hi=j-1;while(k<hi){var mid=k+hi>>>1;sums[mid]<valueTarget?k=mid+1:hi=mid}valueTarget-sums[k-1]<sums[k]-valueTarget&&i+1<k&&--k;var valueLeft=sums[k]-valueOffset,valueRight=value-valueLeft;if(x1-x0>y1-y0){var xk=(x0*valueRight+x1*valueLeft)/value;partition(i,k,valueLeft,x0,y0,xk,y1);partition(k,j,valueRight,xk,y0,x1,y1)}else{var yk=(y0*valueRight+y1*valueLeft)/value;partition(i,k,valueLeft,x0,y0,x1,yk);partition(k,j,valueRight,x0,yk,x1,y1)}}};var sliceDice=function(parent,x0,y0,x1,y1){(1&parent.depth?treemapSlice:treemapDice)(parent,x0,y0,x1,y1)};var resquarify=function custom(ratio){function resquarify(parent,x0,y0,x1,y1){if((rows=parent._squarify)&&rows.ratio===ratio){var rows,row,nodes,i,n,j=-1,m=rows.length,value=parent.value;while(++j<m){row=rows[j],nodes=row.children;for(i=row.value=0,n=nodes.length;i<n;++i)row.value+=nodes[i].value;row.dice?treemapDice(row,x0,y0,x1,y0+=(y1-y0)*row.value/value):treemapSlice(row,x0,y0,x0+=(x1-x0)*row.value/value,y1);value-=row.value}}else{parent._squarify=rows=squarifyRatio(ratio,parent,x0,y0,x1,y1);rows.ratio=ratio}}resquarify.ratio=function(x){return custom((x=+x)>1?x:1)};return resquarify}(phi);exports.cluster=cluster;exports.hierarchy=hierarchy;exports.pack=index;exports.packSiblings=siblings;exports.packEnclose=enclose;exports.partition=partition;exports.stratify=stratify;exports.tree=tree;exports.treemap=index$1;exports.treemapBinary=binary;exports.treemapDice=treemapDice;exports.treemapSlice=treemapSlice;exports.treemapSliceDice=sliceDice;exports.treemapSquarify=squarify;exports.treemapResquarify=resquarify;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports);var factory},function(module,exports,__webpack_require__){(function(global){0,factory=function(){"use strict";var MapShim=function(){if("undefined"!==typeof Map)return Map;function getIndex(arr,key){var result=-1;arr.some(function(entry,index){if(entry[0]===key){result=index;return true}return false});return result}return function(){function anonymous(){this.__entries__=[]}var prototypeAccessors={size:{configurable:true}};prototypeAccessors.size.get=function(){return this.__entries__.length};anonymous.prototype.get=function(key){var index=getIndex(this.__entries__,key);var entry=this.__entries__[index];return entry&&entry[1]};anonymous.prototype.set=function(key,value){var index=getIndex(this.__entries__,key);~index?this.__entries__[index][1]=value:this.__entries__.push([key,value])};anonymous.prototype.delete=function(key){var entries=this.__entries__;var index=getIndex(entries,key);~index&&entries.splice(index,1)};anonymous.prototype.has=function(key){return!!~getIndex(this.__entries__,key)};anonymous.prototype.clear=function(){this.__entries__.splice(0)};anonymous.prototype.forEach=function(callback,ctx){var this$1=this;void 0===ctx&&(ctx=null);for(var i=0,list=this$1.__entries__;i<list.length;i+=1){var entry=list[i];callback.call(ctx,entry[1],entry[0])}};Object.defineProperties(anonymous.prototype,prototypeAccessors);return anonymous}()}();var isBrowser="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document;var global$1=function(){if("undefined"!==typeof global&&global.Math===Math)return global;if("undefined"!==typeof self&&self.Math===Math)return self;if("undefined"!==typeof window&&window.Math===Math)return window;return Function("return this")()}();var requestAnimationFrame$1=function(){if("function"===typeof requestAnimationFrame)return requestAnimationFrame.bind(global$1);return function(callback){return setTimeout(function(){return callback(Date.now())},1e3/60)}}();var trailingTimeout=2;var throttle=function(callback,delay){var leadingCall=false,trailingCall=false,lastCallTime=0;function resolvePending(){if(leadingCall){leadingCall=false;callback()}trailingCall&&proxy()}function timeoutCallback(){requestAnimationFrame$1(resolvePending)}function proxy(){var timeStamp=Date.now();if(leadingCall){if(timeStamp-lastCallTime<trailingTimeout)return;trailingCall=true}else{leadingCall=true;trailingCall=false;setTimeout(timeoutCallback,delay)}lastCallTime=timeStamp}return proxy};var REFRESH_DELAY=20;var transitionKeys=["top","right","bottom","left","width","height","size","weight"];var mutationObserverSupported="undefined"!==typeof MutationObserver;var ResizeObserverController=function(){this.connected_=false;this.mutationEventsAdded_=false;this.mutationsObserver_=null;this.observers_=[];this.onTransitionEnd_=this.onTransitionEnd_.bind(this);this.refresh=throttle(this.refresh.bind(this),REFRESH_DELAY)};ResizeObserverController.prototype.addObserver=function(observer){~this.observers_.indexOf(observer)||this.observers_.push(observer);this.connected_||this.connect_()};ResizeObserverController.prototype.removeObserver=function(observer){var observers=this.observers_;var index=observers.indexOf(observer);~index&&observers.splice(index,1);!observers.length&&this.connected_&&this.disconnect_()};ResizeObserverController.prototype.refresh=function(){var changesDetected=this.updateObservers_();changesDetected&&this.refresh()};ResizeObserverController.prototype.updateObservers_=function(){var activeObservers=this.observers_.filter(function(observer){return observer.gatherActive(),observer.hasActive()});activeObservers.forEach(function(observer){return observer.broadcastActive()});return activeObservers.length>0};ResizeObserverController.prototype.connect_=function(){if(!isBrowser||this.connected_)return;document.addEventListener("transitionend",this.onTransitionEnd_);window.addEventListener("resize",this.refresh);if(mutationObserverSupported){this.mutationsObserver_=new MutationObserver(this.refresh);this.mutationsObserver_.observe(document,{attributes:true,childList:true,characterData:true,subtree:true})}else{document.addEventListener("DOMSubtreeModified",this.refresh);this.mutationEventsAdded_=true}this.connected_=true};ResizeObserverController.prototype.disconnect_=function(){if(!isBrowser||!this.connected_)return;document.removeEventListener("transitionend",this.onTransitionEnd_);window.removeEventListener("resize",this.refresh);this.mutationsObserver_&&this.mutationsObserver_.disconnect();this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh);this.mutationsObserver_=null;this.mutationEventsAdded_=false;this.connected_=false};ResizeObserverController.prototype.onTransitionEnd_=function(ref){var propertyName=ref.propertyName;void 0===propertyName&&(propertyName="");var isReflowProperty=transitionKeys.some(function(key){return!!~propertyName.indexOf(key)});isReflowProperty&&this.refresh()};ResizeObserverController.getInstance=function(){this.instance_||(this.instance_=new ResizeObserverController);return this.instance_};ResizeObserverController.instance_=null;var defineConfigurable=function(target,props){for(var i=0,list=Object.keys(props);i<list.length;i+=1){var key=list[i];Object.defineProperty(target,key,{value:props[key],enumerable:false,writable:false,configurable:true})}return target};var getWindowOf=function(target){var ownerGlobal=target&&target.ownerDocument&&target.ownerDocument.defaultView;return ownerGlobal||global$1};var emptyRect=createRectInit(0,0,0,0);function toFloat(value){return parseFloat(value)||0}function getBordersSize(styles){var positions=[],len=arguments.length-1;while(len-- >0)positions[len]=arguments[len+1];return positions.reduce(function(size,position){var value=styles["border-"+position+"-width"];return size+toFloat(value)},0)}function getPaddings(styles){var positions=["top","right","bottom","left"];var paddings={};for(var i=0,list=positions;i<list.length;i+=1){var position=list[i];var value=styles["padding-"+position];paddings[position]=toFloat(value)}return paddings}function getSVGContentRect(target){var bbox=target.getBBox();return createRectInit(0,0,bbox.width,bbox.height)}function getHTMLElementContentRect(target){var clientWidth=target.clientWidth;var clientHeight=target.clientHeight;if(!clientWidth&&!clientHeight)return emptyRect;var styles=getWindowOf(target).getComputedStyle(target);var paddings=getPaddings(styles);var horizPad=paddings.left+paddings.right;var vertPad=paddings.top+paddings.bottom;var width=toFloat(styles.width),height=toFloat(styles.height);if("border-box"===styles.boxSizing){Math.round(width+horizPad)!==clientWidth&&(width-=getBordersSize(styles,"left","right")+horizPad);Math.round(height+vertPad)!==clientHeight&&(height-=getBordersSize(styles,"top","bottom")+vertPad)}if(!isDocumentElement(target)){var vertScrollbar=Math.round(width+horizPad)-clientWidth;var horizScrollbar=Math.round(height+vertPad)-clientHeight;1!==Math.abs(vertScrollbar)&&(width-=vertScrollbar);1!==Math.abs(horizScrollbar)&&(height-=horizScrollbar)}return createRectInit(paddings.left,paddings.top,width,height)}var isSVGGraphicsElement=function(){if("undefined"!==typeof SVGGraphicsElement)return function(target){return target instanceof getWindowOf(target).SVGGraphicsElement};return function(target){return target instanceof getWindowOf(target).SVGElement&&"function"===typeof target.getBBox}}();function isDocumentElement(target){return target===getWindowOf(target).document.documentElement}function getContentRect(target){if(!isBrowser)return emptyRect;if(isSVGGraphicsElement(target))return getSVGContentRect(target);return getHTMLElementContentRect(target)}function createReadOnlyRect(ref){var x=ref.x;var y=ref.y;var width=ref.width;var height=ref.height;var Constr="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object;var rect=Object.create(Constr.prototype);defineConfigurable(rect,{x:x,y:y,width:width,height:height,top:y,right:x+width,bottom:height+y,left:x});return rect}function createRectInit(x,y,width,height){return{x:x,y:y,width:width,height:height}}var ResizeObservation=function(target){this.broadcastWidth=0;this.broadcastHeight=0;this.contentRect_=createRectInit(0,0,0,0);this.target=target};ResizeObservation.prototype.isActive=function(){var rect=getContentRect(this.target);this.contentRect_=rect;return rect.width!==this.broadcastWidth||rect.height!==this.broadcastHeight};ResizeObservation.prototype.broadcastRect=function(){var rect=this.contentRect_;this.broadcastWidth=rect.width;this.broadcastHeight=rect.height;return rect};var ResizeObserverEntry=function(target,rectInit){var contentRect=createReadOnlyRect(rectInit);defineConfigurable(this,{target:target,contentRect:contentRect})};var ResizeObserverSPI=function(callback,controller,callbackCtx){this.activeObservations_=[];this.observations_=new MapShim;if("function"!==typeof callback)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=callback;this.controller_=controller;this.callbackCtx_=callbackCtx};ResizeObserverSPI.prototype.observe=function(target){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"===typeof Element||!(Element instanceof Object))return;if(!(target instanceof getWindowOf(target).Element))throw new TypeError('parameter 1 is not of type "Element".');var observations=this.observations_;if(observations.has(target))return;observations.set(target,new ResizeObservation(target));this.controller_.addObserver(this);this.controller_.refresh()};ResizeObserverSPI.prototype.unobserve=function(target){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"===typeof Element||!(Element instanceof Object))return;if(!(target instanceof getWindowOf(target).Element))throw new TypeError('parameter 1 is not of type "Element".');var observations=this.observations_;if(!observations.has(target))return;observations.delete(target);observations.size||this.controller_.removeObserver(this)};ResizeObserverSPI.prototype.disconnect=function(){this.clearActive();this.observations_.clear();this.controller_.removeObserver(this)};ResizeObserverSPI.prototype.gatherActive=function(){var this$1=this;this.clearActive();this.observations_.forEach(function(observation){observation.isActive()&&this$1.activeObservations_.push(observation)})};ResizeObserverSPI.prototype.broadcastActive=function(){if(!this.hasActive())return;var ctx=this.callbackCtx_;var entries=this.activeObservations_.map(function(observation){return new ResizeObserverEntry(observation.target,observation.broadcastRect())});this.callback_.call(ctx,entries,ctx);this.clearActive()};ResizeObserverSPI.prototype.clearActive=function(){this.activeObservations_.splice(0)};ResizeObserverSPI.prototype.hasActive=function(){return this.activeObservations_.length>0};var observers="undefined"!==typeof WeakMap?new WeakMap:new MapShim;var ResizeObserver=function(callback){if(!(this instanceof ResizeObserver))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var controller=ResizeObserverController.getInstance();var observer=new ResizeObserverSPI(callback,controller,this);observers.set(this,observer)};["observe","unobserve","disconnect"].forEach(function(method){ResizeObserver.prototype[method]=function(){return(ref=observers.get(this))[method].apply(ref,arguments);var ref}});var index=function(){if("undefined"!==typeof global$1.ResizeObserver)return global$1.ResizeObserver;return ResizeObserver}();return index},void(module.exports=factory());var factory}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiDefaultAxis=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _x_axis=__webpack_require__(768);var _y_axis=__webpack_require__(769);var _horizontal_grid=__webpack_require__(770);var _vertical_grid=__webpack_require__(771);var _chart_utils=__webpack_require__(97);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var EuiDefaultAxis=function(_PureComponent){_inherits(EuiDefaultAxis,_PureComponent);function EuiDefaultAxis(){_classCallCheck(this,EuiDefaultAxis);return _possibleConstructorReturn(this,_getPrototypeOf(EuiDefaultAxis).apply(this,arguments))}_createClass(EuiDefaultAxis,[{key:"render",value:function render(){var _this$props=this.props,showGridLines=_this$props.showGridLines,orientation=_this$props.orientation,xOnZero=_this$props.xOnZero,yOnZero=_this$props.yOnZero,rest=_objectWithoutProperties(_this$props,["showGridLines","orientation","xOnZero","yOnZero"]);return _react.default.createElement(_react.Fragment,null,showGridLines&&orientation===_chart_utils.ORIENTATION.VERTICAL&&_react.default.createElement(_horizontal_grid.EuiHorizontalGrid,rest),showGridLines&&orientation===_chart_utils.ORIENTATION.HORIZONTAL&&_react.default.createElement(_vertical_grid.EuiVerticalGrid,rest),_react.default.createElement(_x_axis.EuiXAxis,_extends({onZero:xOnZero},rest)),_react.default.createElement(_y_axis.EuiYAxis,_extends({onZero:yOnZero},rest)))}}]);return EuiDefaultAxis}(_react.PureComponent);exports.EuiDefaultAxis=EuiDefaultAxis;EuiDefaultAxis.displayName="EuiDefaultAxis";EuiDefaultAxis.propTypes={orientation:_propTypes.default.string,showGridLines:_propTypes.default.bool,xOnZero:_propTypes.default.bool,yOnZero:_propTypes.default.bool};EuiDefaultAxis.defaultProps={orientation:_chart_utils.ORIENTATION.VERTICAL,showGridLines:true,xOnZero:false,yOnZero:false};EuiDefaultAxis.requiresSVG=true;EuiDefaultAxis.__docgenInfo={description:"The Default Axis component, with X and Y axis on the bottom and left position respectively,\nand horiznontal or vertical grid depending on the orientation prop.",methods:[],displayName:"EuiDefaultAxis",props:{orientation:{defaultValue:{value:"ORIENTATION.VERTICAL",computed:true},type:{name:"string"},required:false,description:"The orientation of the chart, used to determine the correct orientation of grids"},showGridLines:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Show/Hide the background grids"},xOnZero:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Specify if the x axis lay on 0, otherwise lyed on min x"},yOnZero:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Specify if the y axis lay on 0, otherwise layd on min y"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiXAxis=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactVis=__webpack_require__(49);var _axis_utils=__webpack_require__(319);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var TITLE_POSITION=_axis_utils.EuiSeriesChartAxisUtils.TITLE_POSITION,ORIENTATION=_axis_utils.EuiSeriesChartAxisUtils.ORIENTATION;var EuiXAxis=function(_PureComponent){_inherits(EuiXAxis,_PureComponent);function EuiXAxis(){_classCallCheck(this,EuiXAxis);return _possibleConstructorReturn(this,_getPrototypeOf(EuiXAxis).apply(this,arguments))}_createClass(EuiXAxis,[{key:"render",value:function render(){var _this$props=this.props,title=_this$props.title,titlePosition=_this$props.titlePosition,orientation=_this$props.orientation,tickSize=_this$props.tickSize,tickLabelAngle=_this$props.tickLabelAngle,tickFormat=_this$props.tickFormat,tickValues=_this$props.tickValues,onZero=_this$props.onZero,rest=_objectWithoutProperties(_this$props,["title","titlePosition","orientation","tickSize","tickLabelAngle","tickFormat","tickValues","onZero"]);return _react.default.createElement(_reactVis.XAxis,_extends({title:title,position:titlePosition,orientation:orientation,on0:onZero,tickSize:tickSize,tickFormat:tickFormat,tickValues:tickValues,tickLabelAngle:tickLabelAngle},rest))}}]);return EuiXAxis}(_react.PureComponent);exports.EuiXAxis=EuiXAxis;EuiXAxis.displayName="EuiXAxis";EuiXAxis.propTypes={title:_propTypes.default.string,titlePosition:_propTypes.default.oneOf([TITLE_POSITION.START,TITLE_POSITION.MIDDLE,TITLE_POSITION.END]),orientation:_propTypes.default.oneOf([ORIENTATION.TOP,ORIENTATION.BOTTOM]),onZero:_propTypes.default.bool,ticks:_propTypes.default.array,tickSize:_propTypes.default.number,tickValues:_propTypes.default.array,tickFormat:_propTypes.default.func,tickLabelAngle:_propTypes.default.number};EuiXAxis.defaultProps={onZero:false,titlePosition:TITLE_POSITION.MIDDLE,orientation:ORIENTATION.BOTTOM,tickSize:0};EuiXAxis.requiresSVG=true;EuiXAxis.__docgenInfo={description:"",methods:[],displayName:"EuiXAxis",props:{onZero:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Fix the axis at zero value"},titlePosition:{defaultValue:{value:"TITLE_POSITION.MIDDLE",computed:true},type:{name:"enum",value:[{value:"TITLE_POSITION.START",computed:true},{value:"TITLE_POSITION.MIDDLE",computed:true},{value:"TITLE_POSITION.END",computed:true}]},required:false,description:"The axis title position"},orientation:{defaultValue:{value:"ORIENTATION.BOTTOM",computed:true},type:{name:"enum",value:[{value:"ORIENTATION.TOP",computed:true},{value:"ORIENTATION.BOTTOM",computed:true}]},required:false,description:"The axis orientation"},tickSize:{defaultValue:{value:"0",computed:false},type:{name:"number"},required:false,description:"The height of the ticks in pixels"},title:{type:{name:"string"},required:false,description:"The axis title"},ticks:{type:{name:"array"},required:false,description:"An array of ticks values"},tickValues:{type:{name:"array"},required:false,description:"TODO"},tickFormat:{type:{name:"func"},required:false,description:"A formatter function in the form of function(value, index, scale, tickTotal)"},tickLabelAngle:{type:{name:"number"},required:false,description:"the rotation angle in degree of the tick label"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiYAxis=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactVis=__webpack_require__(49);var _axis_utils=__webpack_require__(319);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var TITLE_POSITION=_axis_utils.EuiSeriesChartAxisUtils.TITLE_POSITION,ORIENTATION=_axis_utils.EuiSeriesChartAxisUtils.ORIENTATION;var EuiYAxis=function(_PureComponent){_inherits(EuiYAxis,_PureComponent);function EuiYAxis(){_classCallCheck(this,EuiYAxis);return _possibleConstructorReturn(this,_getPrototypeOf(EuiYAxis).apply(this,arguments))}_createClass(EuiYAxis,[{key:"render",value:function render(){var _this$props=this.props,title=_this$props.title,titlePosition=_this$props.titlePosition,orientation=_this$props.orientation,tickSize=_this$props.tickSize,tickLabelAngle=_this$props.tickLabelAngle,tickFormat=_this$props.tickFormat,tickValues=_this$props.tickValues,onZero=_this$props.onZero,rest=_objectWithoutProperties(_this$props,["title","titlePosition","orientation","tickSize","tickLabelAngle","tickFormat","tickValues","onZero"]);return _react.default.createElement(_reactVis.YAxis,_extends({title:title,position:titlePosition,orientation:orientation,on0:onZero,tickSize:tickSize,tickFormat:tickFormat,tickValues:tickValues,tickLabelAngle:tickLabelAngle},rest))}}]);return EuiYAxis}(_react.PureComponent);exports.EuiYAxis=EuiYAxis;EuiYAxis.displayName="EuiYAxis";EuiYAxis.propTypes={title:_propTypes.default.string,titlePosition:_propTypes.default.oneOf([TITLE_POSITION.START,TITLE_POSITION.MIDDLE,TITLE_POSITION.END]),orientation:_propTypes.default.oneOf([ORIENTATION.LEFT,ORIENTATION.RIGHT]),onZero:_propTypes.default.bool,ticks:_propTypes.default.array,tickSize:_propTypes.default.number,tickValues:_propTypes.default.array,tickFormat:_propTypes.default.func,tickLabelAngle:_propTypes.default.number};EuiYAxis.defaultProps={onZero:false,titlePosition:TITLE_POSITION.MIDDLE,orientation:ORIENTATION.LEFT,tickSize:0};EuiYAxis.requiresSVG=true;EuiYAxis.__docgenInfo={description:"",methods:[],displayName:"EuiYAxis",props:{onZero:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Fix the axis at zero value"},titlePosition:{defaultValue:{value:"TITLE_POSITION.MIDDLE",computed:true},type:{name:"enum",value:[{value:"TITLE_POSITION.START",computed:true},{value:"TITLE_POSITION.MIDDLE",computed:true},{value:"TITLE_POSITION.END",computed:true}]},required:false,description:"The axis title position"},orientation:{defaultValue:{value:"ORIENTATION.LEFT",computed:true},type:{name:"enum",value:[{value:"ORIENTATION.LEFT",computed:true},{value:"ORIENTATION.RIGHT",computed:true}]},required:false,description:"The axis orientation"},tickSize:{defaultValue:{value:"0",computed:false},type:{name:"number"},required:false,description:"The height of the ticks in pixels"},title:{type:{name:"string"},required:false,description:"The axis title"},ticks:{type:{name:"array"},required:false,description:"An array of ticks values"},tickValues:{type:{name:"array"},required:false,description:"TODO"},tickFormat:{type:{name:"func"},required:false,description:"A formatter function in the form of function(value, index, scale, tickTotal)"},tickLabelAngle:{type:{name:"number"},required:false,description:"the rotation angle in degree of the tick label"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHorizontalGrid=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _reactVis=__webpack_require__(49);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var EuiHorizontalGrid=function(_PureComponent){_inherits(EuiHorizontalGrid,_PureComponent);function EuiHorizontalGrid(){_classCallCheck(this,EuiHorizontalGrid);return _possibleConstructorReturn(this,_getPrototypeOf(EuiHorizontalGrid).apply(this,arguments))}_createClass(EuiHorizontalGrid,[{key:"render",value:function render(){return _react.default.createElement(_reactVis.HorizontalGridLines,this.props)}}]);return EuiHorizontalGrid}(_react.PureComponent);exports.EuiHorizontalGrid=EuiHorizontalGrid;EuiHorizontalGrid.displayName="EuiHorizontalGrid";EuiHorizontalGrid.requiresSVG=true;EuiHorizontalGrid.__docgenInfo={description:"Horizontal grid lines aligned with y axis ticks",methods:[],displayName:"EuiHorizontalGrid"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiVerticalGrid=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _reactVis=__webpack_require__(49);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var EuiVerticalGrid=function(_PureComponent){_inherits(EuiVerticalGrid,_PureComponent);function EuiVerticalGrid(){_classCallCheck(this,EuiVerticalGrid);return _possibleConstructorReturn(this,_getPrototypeOf(EuiVerticalGrid).apply(this,arguments))}_createClass(EuiVerticalGrid,[{key:"render",value:function render(){return _react.default.createElement(_reactVis.VerticalGridLines,this.props)}}]);return EuiVerticalGrid}(_react.PureComponent);exports.EuiVerticalGrid=EuiVerticalGrid;EuiVerticalGrid.displayName="EuiVerticalGrid";EuiVerticalGrid.requiresSVG=true;EuiVerticalGrid.__docgenInfo={description:"Vertical grid lines aligned with x axis ticks",methods:[],displayName:"EuiVerticalGrid"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiCrosshairX=void 0;__webpack_require__(4);__webpack_require__(5);__webpack_require__(7);__webpack_require__(8);__webpack_require__(773);__webpack_require__(9);__webpack_require__(3);__webpack_require__(2);__webpack_require__(153);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactVis=__webpack_require__(49);var _chart_utils=__webpack_require__(97);var _moment=_interopRequireDefault(__webpack_require__(53));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{_n||null==_i["return"]||_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _get(target,property,receiver){_get="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function _get(target,property,receiver){var base=_superPropBase(target,property);if(!base)return;var desc=Object.getOwnPropertyDescriptor(base,property);if(desc.get)return desc.get.call(receiver);return desc.value};return _get(target,property,receiver||target)}function _superPropBase(object,property){while(!Object.prototype.hasOwnProperty.call(object,property)){object=_getPrototypeOf(object);if(null===object)break}return object}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiCrosshairX=function(_AbstractSeries){_inherits(EuiCrosshairX,_AbstractSeries);function EuiCrosshairX(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiCrosshairX);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiCrosshairX)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"state",{values:[]});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_formatXValue",function(x){var _this$props=_this.props,xType=_this$props.xType,xCrosshairFormat=_this$props.xCrosshairFormat;return xType===_chart_utils.SCALE.TIME||xType===_chart_utils.SCALE.TIME_UTC?xCrosshairFormat?(0,_moment.default)(x).format(xCrosshairFormat):new Date(x).toISOString():x});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_titleFormat",function(){var dataPoints=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(dataPoints.length>0){var _dataPoints=_slicedToArray(dataPoints,1),firstDataPoint=_dataPoints[0];var originalValues=firstDataPoint.originalValues;var value="number"===typeof originalValues.x0?"".concat(_this._formatXValue(originalValues.x0)," to ").concat(_this._formatXValue(originalValues.x)):_this._formatXValue(originalValues.x);return{title:"X Value",value:value}}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_itemsFormat",function(dataPoints){var seriesNames=_this.props.seriesNames;return dataPoints.map(function(d){return{title:seriesNames[d.seriesIndex],value:d.y}})});return _this}_createClass(EuiCrosshairX,[{key:"onParentMouseMove",value:function onParentMouseMove(event){this._handleNearestX(event)}},{key:"onParentMouseLeave",value:function onParentMouseLeave(){this.props.onCrosshairUpdate&&this.props.onCrosshairUpdate(null);this.setState({values:[]})}},{key:"_handleNearestX",value:function _handleNearestX(event){var cleanedDataSeries=this.props._allData.filter(function(dataSeries){return dataSeries});if(0===cleanedDataSeries.length)return;var containerCoordiante=_get(_getPrototypeOf(EuiCrosshairX.prototype),"_getXYCoordinateInContainer",this).call(this,event);this._findNearestXData(cleanedDataSeries,containerCoordiante.x)}},{key:"_findNearestXData",value:function _findNearestXData(dataSeries,mouseXContainerCoords){var xScaleFn=_get(_getPrototypeOf(EuiCrosshairX.prototype),"_getAttributeFunctor",this).call(this,"x");var globalMinDistance=Number.POSITIVE_INFINITY;var nearestXData=dataSeries.map(function(data,seriesIndex){var minDistance=Number.POSITIVE_INFINITY;var value=null;data.forEach(function(item){var itemXCoords;var xCoord=xScaleFn(item);if("number"===typeof item.x0){var x0Coord=xScaleFn({x:item.x0});itemXCoords=(xCoord-x0Coord)/2+x0Coord}else itemXCoords=xCoord;var newDistance=Math.abs(mouseXContainerCoords-itemXCoords);if(newDistance<minDistance){minDistance=newDistance;value=item}globalMinDistance=Math.min(globalMinDistance,minDistance)});if(!value)return;return{minDistance:minDistance,value:value,seriesIndex:seriesIndex}}).filter(function(d){return d});var values=nearestXData.filter(function(value){return value.minDistance===globalMinDistance}).map(function(value){var d=value.value;var x="number"===typeof d.x0?(d.x-d.x0)/2+d.x0:d.x;var y="number"===typeof d.y0?d.y-d.y0:d.y;return{x:x,y:y,originalValues:d,seriesIndex:value.seriesIndex}});var onCrosshairUpdate=this.props.onCrosshairUpdate;onCrosshairUpdate&&onCrosshairUpdate(values[0].x);this.setState(function(){return{values:values}})}},{key:"render",value:function render(){var values=this.state.values;return _react.default.createElement(_reactVis.Crosshair,_extends({values:values,style:{line:{background:"rgb(218, 218, 218)"}},itemsFormat:this._itemsFormat,titleFormat:this._titleFormat},this.props))}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(props){var crosshairValue=props.crosshairValue,_allData=props._allData;if(void 0!==crosshairValue)return{values:EuiCrosshairX._computeDataFromXValue(_allData,crosshairValue)};return null}},{key:"_computeDataFromXValue",value:function _computeDataFromXValue(dataSeries,crosshairValue){var filteredAndFlattenDataByX=dataSeries.filter(function(series){return series}).map(function(series,seriesIndex){return series.filter(function(dataPoint){return dataPoint.x===crosshairValue}).map(function(dataPoint){return _objectSpread({},dataPoint,{originalValues:_objectSpread({},dataPoint),seriesIndex:seriesIndex})})}).reduce(function(acc,val){return acc.concat(val)},[]);return filteredAndFlattenDataByX}},{key:"requiresSVG",get:function get(){return false}},{key:"isCanvas",get:function get(){return false}}]);return EuiCrosshairX}(_reactVis.AbstractSeries);exports.EuiCrosshairX=EuiCrosshairX;EuiCrosshairX.displayName="EuiCrosshairX";EuiCrosshairX.propTypes={crosshairValue:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number]),seriesNames:_propTypes.default.arrayOf(_propTypes.default.string).isRequired,xCrosshairFormat:_propTypes.default.string};EuiCrosshairX.defaultProps={};EuiCrosshairX.__docgenInfo={description:"The Crosshair used by the XYChart as main tooltip mechanism along X axis (vertical).",methods:[{name:"requiresSVG",docblock:null,modifiers:["static","get"],params:[],returns:null},{name:"isCanvas",docblock:null,modifiers:["static","get"],params:[],returns:null},{name:"getDerivedStateFromProps",docblock:null,modifiers:["static"],params:[{name:"props",type:null}],returns:null},{name:"_computeDataFromXValue",docblock:null,modifiers:["static"],params:[{name:"dataSeries",type:null},{name:"crosshairValue",type:null}],returns:null},{name:"onParentMouseMove",docblock:null,modifiers:[],params:[{name:"event",type:null}],returns:null},{name:"onParentMouseLeave",docblock:null,modifiers:[],params:[],returns:null},{name:"_formatXValue",docblock:null,modifiers:[],params:[{name:"x",type:null}],returns:null},{name:"_titleFormat",docblock:null,modifiers:[],params:[{name:"dataPoints",type:null}],returns:null},{name:"_itemsFormat",docblock:null,modifiers:[],params:[{name:"dataPoints",type:null}],returns:null},{name:"_handleNearestX",docblock:null,modifiers:[],params:[{name:"event",type:null}],returns:null},{name:"_findNearestXData",docblock:"_findNearestXData - Find the nearest set of data in all existing series.\n\n@param  {type} dataSeries an array of dataseries\n@param  {type} mouseXContainerCoords the x coordinate of the mouse on the chart container\n@protected",modifiers:[],params:[{name:"dataSeries",description:"an array of dataseries",type:{name:"type"},optional:false},{name:"mouseXContainerCoords",description:"the x coordinate of the mouse on the chart container",type:{name:"type"},optional:false}],returns:null,description:"_findNearestXData - Find the nearest set of data in all existing series."}],displayName:"EuiCrosshairX",props:{crosshairValue:{type:{name:"union",value:[{name:"string"},{name:"number"}]},required:false,description:"The crosshair value used to display this crosshair (doesn't depend on mouse position)"},seriesNames:{type:{name:"arrayOf",value:{name:"string"}},required:true,description:"The ordered array of series names"},xCrosshairFormat:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){var gOPD=__webpack_require__(279);var getPrototypeOf=__webpack_require__(549);var has=__webpack_require__(111);var $export=__webpack_require__(41);var isObject=__webpack_require__(71);var anObject=__webpack_require__(77);function get(target,propertyKey){var receiver=arguments.length<3?target:arguments[2];var desc,proto;if(anObject(target)===receiver)return target[propertyKey];if(desc=gOPD.f(target,propertyKey))return has(desc,"value")?desc.value:void 0!==desc.get?desc.get.call(receiver):void 0;if(isObject(proto=getPrototypeOf(target)))return get(proto,propertyKey,receiver)}$export($export.S,"Reflect",{get:get})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiCrosshairY=exports.CrosshairY=void 0;__webpack_require__(5);__webpack_require__(7);__webpack_require__(8);__webpack_require__(773);__webpack_require__(4);__webpack_require__(9);__webpack_require__(153);__webpack_require__(2);__webpack_require__(3);__webpack_require__(94);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactVis=__webpack_require__(49);var _chart_utils=__webpack_require__(97);var _moment=_interopRequireDefault(__webpack_require__(53));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{_n||null==_i["return"]||_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _get(target,property,receiver){_get="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function _get(target,property,receiver){var base=_superPropBase(target,property);if(!base)return;var desc=Object.getOwnPropertyDescriptor(base,property);if(desc.get)return desc.get.call(receiver);return desc.value};return _get(target,property,receiver||target)}function _superPropBase(object,property){while(!Object.prototype.hasOwnProperty.call(object,property)){object=_getPrototypeOf(object);if(null===object)break}return object}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function defaultTitleFormat(values){var value=getFirstNonEmptyValue(values);if(value)return{title:"x",value:value.x}}function defaultItemsFormat(values){return values.map(function(v,i){if(v)return{value:v.y,title:i}})}function getFirstNonEmptyValue(values){return(values||[]).find(function(v){return Boolean(v)})}var CrosshairY=function(_PureComponent){_inherits(CrosshairY,_PureComponent);function CrosshairY(){_classCallCheck(this,CrosshairY);return _possibleConstructorReturn(this,_getPrototypeOf(CrosshairY).apply(this,arguments))}_createClass(CrosshairY,[{key:"_renderCrosshairTitle",value:function _renderCrosshairTitle(){var _this$props=this.props,values=_this$props.values,titleFormat=_this$props.titleFormat,style=_this$props.style;var titleItem=titleFormat(values);if(!titleItem)return null;return _react.default.createElement("div",{className:"rv-crosshair__title",key:"title",style:style.title},_react.default.createElement("span",{className:"rv-crosshair__title__title"},titleItem.title),": ",_react.default.createElement("span",{className:"rv-crosshair__title__value"},titleItem.value))}},{key:"_renderCrosshairItems",value:function _renderCrosshairItems(){var _this$props2=this.props,values=_this$props2.values,itemsFormat=_this$props2.itemsFormat;var items=itemsFormat(values);if(!items)return null;return items.filter(function(i){return i}).map(function renderValue(item,i){return _react.default.createElement("div",{className:"rv-crosshair__item",key:"item".concat(i)},_react.default.createElement("span",{className:"rv-crosshair__item__title"},item.title),": ",_react.default.createElement("span",{className:"rv-crosshair__item__value"},item.value))})}},{key:"render",value:function render(){var _this$props3=this.props,children=_this$props3.children,className=_this$props3.className,values=_this$props3.values,marginTop=_this$props3.marginTop,marginLeft=_this$props3.marginLeft,innerWidth=_this$props3.innerWidth,style=_this$props3.style;var value=getFirstNonEmptyValue(values);if(!value)return null;var y=_reactVis.ScaleUtils.getAttributeFunctor(this.props,"y");var innerTop=y(value);var left=marginLeft;var top=marginTop+innerTop;var innerClassName="rv-crosshair__inner rv-crosshair__inner--left";return _react.default.createElement("div",{className:"rv-crosshair ".concat(className),style:{left:"".concat(left,"px"),top:"".concat(top,"px")}},_react.default.createElement("div",{className:"rv-crosshair__line",style:_objectSpread({width:"".concat(innerWidth,"px"),height:"1px"},style.line)}),_react.default.createElement("div",{className:innerClassName},children||_react.default.createElement("div",{className:"rv-crosshair__inner__content",style:style.box},_react.default.createElement("div",null,this._renderCrosshairTitle(),this._renderCrosshairItems()))))}}],[{key:"propTypes",get:function get(){return{className:_propTypes.default.string,values:_propTypes.default.array,series:_propTypes.default.object,innerWidth:_propTypes.default.number,innerHeight:_propTypes.default.number,marginLeft:_propTypes.default.number,marginTop:_propTypes.default.number,orientation:_propTypes.default.oneOf(["left","right"]),itemsFormat:_propTypes.default.func,titleFormat:_propTypes.default.func,style:_propTypes.default.shape({line:_propTypes.default.object,title:_propTypes.default.object,box:_propTypes.default.object})}}},{key:"defaultProps",get:function get(){return{titleFormat:defaultTitleFormat,itemsFormat:defaultItemsFormat,style:{line:{},title:{},box:{}}}}}]);return CrosshairY}(_react.PureComponent);exports.CrosshairY=CrosshairY;CrosshairY.displayName="CrosshairY";var EuiCrosshairY=function(_AbstractSeries){_inherits(EuiCrosshairY,_AbstractSeries);function EuiCrosshairY(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiCrosshairY);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiCrosshairY)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"state",{values:[]});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_formatYValue",function(y){var _this$props4=_this.props,yType=_this$props4.yType,yCrosshairFormat=_this$props4.yCrosshairFormat;return yType===_chart_utils.SCALE.TIME||yType===_chart_utils.SCALE.TIME_UTC?yCrosshairFormat?(0,_moment.default)(y).format(yCrosshairFormat):new Date(y).toISOString():y});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_titleFormat",function(){var dataPoints=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(dataPoints.length>0){var _dataPoints=_slicedToArray(dataPoints,1),firstDataPoint=_dataPoints[0];var originalValues=firstDataPoint.originalValues;var value="number"===typeof originalValues.y0?"".concat(_this._formatYValue(originalValues.y0)," to ").concat(_this._formatYValue(originalValues.y)):_this._formatYValue(originalValues.y);return{title:"Y Value",value:value}}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_itemsFormat",function(dataPoints){var seriesNames=_this.props.seriesNames;return dataPoints.map(function(d){return{title:seriesNames[d.seriesIndex],value:d.x}})});return _this}_createClass(EuiCrosshairY,[{key:"onParentMouseMove",value:function onParentMouseMove(event){this._handleNearestY(event)}},{key:"onParentMouseLeave",value:function onParentMouseLeave(){this.props.onCrosshairUpdate&&this.props.onCrosshairUpdate(null);this.setState({values:[]})}},{key:"_handleNearestY",value:function _handleNearestY(event){var cleanedDataSeries=this.props._allData.filter(function(dataSeries){return dataSeries});if(0===cleanedDataSeries.length)return;var containerCoordiante=_get(_getPrototypeOf(EuiCrosshairY.prototype),"_getXYCoordinateInContainer",this).call(this,event);this._findNearestYData(cleanedDataSeries,containerCoordiante.y)}},{key:"_findNearestYData",value:function _findNearestYData(dataSeries,mouseYContainerCoords){var yScaleFn=_get(_getPrototypeOf(EuiCrosshairY.prototype),"_getAttributeFunctor",this).call(this,"y");var globalMinDistance=Number.POSITIVE_INFINITY;var nearestYData=dataSeries.map(function(data,seriesIndex){var minDistance=Number.POSITIVE_INFINITY;var value=null;data.forEach(function(item){var itemYCoords;var yCoord=yScaleFn(item);if("number"===typeof item.y0){var y0Coord=yScaleFn({y:item.y0});itemYCoords=(yCoord-y0Coord)/2+y0Coord}else itemYCoords=yCoord;var newDistance=Math.abs(mouseYContainerCoords-itemYCoords);if(newDistance<minDistance){minDistance=newDistance;value=item}globalMinDistance=Math.min(globalMinDistance,minDistance)});if(!value)return;return{minDistance:minDistance,value:value,seriesIndex:seriesIndex}}).filter(function(d){return d});var values=nearestYData.filter(function(value){return value.minDistance===globalMinDistance}).map(function(value){var d=value.value;var y="number"===typeof d.y0?(d.y-d.y0)/2+d.y0:d.y;var x="number"===typeof d.x0?d.x-d.x0:d.x;return{x:x,y:y,originalValues:d,seriesIndex:value.seriesIndex}});var onCrosshairUpdate=this.props.onCrosshairUpdate;onCrosshairUpdate&&onCrosshairUpdate(values[0].y);this.setState(function(){return{values:values}})}},{key:"render",value:function render(){var values=this.state.values;return _react.default.createElement(CrosshairY,_extends({values:values,style:{line:{background:"rgb(218, 218, 218)"}},itemsFormat:this._itemsFormat,titleFormat:this._titleFormat},this.props))}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(props){var crosshairValue=props.crosshairValue,_allData=props._allData;if(void 0!==crosshairValue)return{values:EuiCrosshairY._computeDataFromYValue(_allData,crosshairValue)};return null}},{key:"_computeDataFromYValue",value:function _computeDataFromYValue(dataSeries,crosshairValue){var filteredAndFlattenDataByY=dataSeries.filter(function(series){return series}).map(function(series,seriesIndex){return series.filter(function(dataPoint){return dataPoint.y===crosshairValue}).map(function(dataPoint){return _objectSpread({},dataPoint,{originalValues:_objectSpread({},dataPoint),seriesIndex:seriesIndex})})}).reduce(function(acc,val){return acc.concat(val)},[]);return filteredAndFlattenDataByY}},{key:"requiresSVG",get:function get(){return false}},{key:"isCanvas",get:function get(){return false}}]);return EuiCrosshairY}(_reactVis.AbstractSeries);exports.EuiCrosshairY=EuiCrosshairY;EuiCrosshairY.displayName="EuiCrosshairY";EuiCrosshairY.propTypes={crosshairValue:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number]),seriesNames:_propTypes.default.arrayOf(_propTypes.default.string).isRequired,yCrosshairFormat:_propTypes.default.string};EuiCrosshairY.defaultProps={};CrosshairY.__docgenInfo={description:"",methods:[{name:"propTypes",docblock:null,modifiers:["static","get"],params:[],returns:null},{name:"defaultProps",docblock:null,modifiers:["static","get"],params:[],returns:null},{name:"_renderCrosshairTitle",docblock:"Render crosshair title.\n@returns {*} Container with the crosshair title.\n@private",modifiers:[],params:[],returns:{description:"Container with the crosshair title.",type:{name:"mixed"}},description:"Render crosshair title."},{name:"_renderCrosshairItems",docblock:"Render crosshair items (title + value for each series).\n@returns {*} Array of React classes with the crosshair values.\n@private",modifiers:[],params:[],returns:{description:"Array of React classes with the crosshair values.",type:{name:"mixed"}},description:"Render crosshair items (title + value for each series)."}],displayName:"CrosshairY",props:{titleFormat:{defaultValue:{value:"function defaultTitleFormat(values) {\n  const value = getFirstNonEmptyValue(values);\n  if (value) {\n    return {\n      title: 'x',\n      value: value.x\n    };\n  }\n}",computed:false},type:{name:"func"},required:false,description:""},itemsFormat:{defaultValue:{value:"function defaultItemsFormat(values) {\n  return values.map((v, i) => {\n    if (v) {\n      return { value: v.y, title: i };\n    }\n  });\n}",computed:false},type:{name:"func"},required:false,description:""},style:{defaultValue:{value:"{\n  line: {},\n  title: {},\n  box: {}\n}",computed:false},type:{name:"shape",value:{line:{name:"object",required:false},title:{name:"object",required:false},box:{name:"object",required:false}}},required:false,description:""},className:{type:{name:"string"},required:false,description:""},values:{type:{name:"array"},required:false,description:""},series:{type:{name:"object"},required:false,description:""},innerWidth:{type:{name:"number"},required:false,description:""},innerHeight:{type:{name:"number"},required:false,description:""},marginLeft:{type:{name:"number"},required:false,description:""},marginTop:{type:{name:"number"},required:false,description:""},orientation:{type:{name:"enum",value:[{value:"'left'",computed:false},{value:"'right'",computed:false}]},required:false,description:""}}};EuiCrosshairY.__docgenInfo={description:"The Crosshair used by the XYChart as main tooltip mechanism along Y axis (horizontal).",methods:[{name:"requiresSVG",docblock:null,modifiers:["static","get"],params:[],returns:null},{name:"isCanvas",docblock:null,modifiers:["static","get"],params:[],returns:null},{name:"getDerivedStateFromProps",docblock:null,modifiers:["static"],params:[{name:"props",type:null}],returns:null},{name:"_computeDataFromYValue",docblock:null,modifiers:["static"],params:[{name:"dataSeries",type:null},{name:"crosshairValue",type:null}],returns:null},{name:"onParentMouseMove",docblock:null,modifiers:[],params:[{name:"event",type:null}],returns:null},{name:"onParentMouseLeave",docblock:null,modifiers:[],params:[],returns:null},{name:"_formatYValue",docblock:null,modifiers:[],params:[{name:"y",type:null}],returns:null},{name:"_titleFormat",docblock:null,modifiers:[],params:[{name:"dataPoints",type:null}],returns:null},{name:"_itemsFormat",docblock:null,modifiers:[],params:[{name:"dataPoints",type:null}],returns:null},{name:"_handleNearestY",docblock:null,modifiers:[],params:[{name:"event",type:null}],returns:null},{name:"_findNearestYData",docblock:"_findNearestYData - Find the nearest set of data in all existing series.\n\n@param  {type} dataSeries an array of dataseries\n@param  {type} mouseYContainerCoords the y coordinate of the mouse on the chart container\n@protected",modifiers:[],params:[{name:"dataSeries",description:"an array of dataseries",type:{name:"type"},optional:false},{name:"mouseYContainerCoords",description:"the y coordinate of the mouse on the chart container",type:{name:"type"},optional:false}],returns:null,description:"_findNearestYData - Find the nearest set of data in all existing series."}],displayName:"EuiCrosshairY",props:{crosshairValue:{type:{name:"union",value:[{name:"string"},{name:"number"}]},required:false,description:"The crosshair value used to display this crosshair (doesn't depend on mouse position)"},seriesNames:{type:{name:"arrayOf",value:{name:"string"}},required:true,description:"The ordered array of series names"},yCrosshairFormat:{type:{name:"string"},required:false,description:""}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildExistsFilter",function(){return buildExistsFilter});function buildExistsFilter(field,indexPattern){return{meta:{index:indexPattern.id},exists:{field:field.name}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildPhrasesFilter",function(){return buildPhrasesFilter});var _phrase__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(361);function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function buildPhrasesFilter(field,params,indexPattern){var index=indexPattern.id;var type="phrases";var key=field.name;var value=params.map(function(value){return format(field,value)}).join(", ");var filter={meta:{index:index,type:type,key:key,value:value,params:params}};var should;should=field.scripted?params.map(function(value){return{script:Object(_phrase__WEBPACK_IMPORTED_MODULE_0__["getPhraseScript"])(field,value)}}):params.map(function(value){return{match_phrase:_defineProperty({},field.name,value)}});filter.query={bool:{should:should,minimum_should_match:1}};return filter}function format(field,value){return field&&field.format&&field.format.convert?field.format.convert(value):value}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildQueryFilter",function(){return buildQueryFilter});function buildQueryFilter(query,index){return{query:query,meta:{index:index}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildRangeFilter",function(){return buildRangeFilter});__webpack_require__.d(__webpack_exports__,"getRangeScript",function(){return getRangeScript});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);var OPERANDS_IN_RANGE=2;var operators={gt:">",gte:">=",lte:"<=",lt:"<"};var comparators={gt:"boolean gt(Supplier s, def v) {return s.get() > v}",gte:"boolean gte(Supplier s, def v) {return s.get() >= v}",lte:"boolean lte(Supplier s, def v) {return s.get() <= v}",lt:"boolean lt(Supplier s, def v) {return s.get() < v}"};function formatValue(field,params){return lodash__WEBPACK_IMPORTED_MODULE_0___default.a.map(params,function(val,key){return operators[key]+format(field,val)}).join(" ")}function buildRangeFilter(field,params,indexPattern,formattedValue){var filter={meta:{index:indexPattern.id}};formattedValue&&(filter.meta.formattedValue=formattedValue);params=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.mapValues(params,function(value){return"number"===field.type?parseFloat(value):value});if("gte"in params&&"gt"in params)throw new Error("gte and gt are mutually exclusive");if("lte"in params&&"lt"in params)throw new Error("lte and lt are mutually exclusive");var totalInfinite=["gt","lt"].reduce(function(totalInfinite,op){var key=op in params?op:"".concat(op,"e");var isInfinite=Infinity===Math.abs(params[key]);if(isInfinite){totalInfinite++;delete params[key]}return totalInfinite},0);if(totalInfinite===OPERANDS_IN_RANGE){filter.match_all={};filter.meta.field=field.name}else if(field.scripted){filter.script=getRangeScript(field,params);filter.script.script.params.value=formatValue(field,filter.script.script.params);filter.meta.field=field.name}else{filter.range={};filter.range[field.name]=params}return filter}function getRangeScript(field,params){var knownParams=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.pick(params,function(val,key){return key in operators});var script=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.map(knownParams,function(val,key){return"("+field.script+")"+operators[key]+key}).join(" && ");if("painless"===field.lang){var currentComparators=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.reduce(knownParams,function(acc,val,key){return acc.concat(comparators[key])},[]).join(" ");var comparisons=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.map(knownParams,function(val,key){return"".concat(key,"(() -> { ").concat(field.script," }, params.").concat(key,")")}).join(" && ");script="".concat(currentComparators).concat(comparisons)}return{script:{source:script,params:knownParams,lang:field.lang}}}function format(field,value){return field&&field.format&&field.format.convert?field.format.convert(value):value}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _meta_filter__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(780);__webpack_require__.d(__webpack_exports__,"FilterStateStore",function(){return _meta_filter__WEBPACK_IMPORTED_MODULE_0__["FilterStateStore"]});__webpack_require__.d(__webpack_exports__,"buildEmptyFilter",function(){return _meta_filter__WEBPACK_IMPORTED_MODULE_0__["buildEmptyFilter"]});__webpack_require__.d(__webpack_exports__,"isFilterPinned",function(){return _meta_filter__WEBPACK_IMPORTED_MODULE_0__["isFilterPinned"]});__webpack_require__.d(__webpack_exports__,"toggleFilterDisabled",function(){return _meta_filter__WEBPACK_IMPORTED_MODULE_0__["toggleFilterDisabled"]});__webpack_require__.d(__webpack_exports__,"toggleFilterNegated",function(){return _meta_filter__WEBPACK_IMPORTED_MODULE_0__["toggleFilterNegated"]});__webpack_require__.d(__webpack_exports__,"toggleFilterPinned",function(){return _meta_filter__WEBPACK_IMPORTED_MODULE_0__["toggleFilterPinned"]});__webpack_require__.d(__webpack_exports__,"enableFilter",function(){return _meta_filter__WEBPACK_IMPORTED_MODULE_0__["enableFilter"]});__webpack_require__.d(__webpack_exports__,"disableFilter",function(){return _meta_filter__WEBPACK_IMPORTED_MODULE_0__["disableFilter"]});__webpack_require__.d(__webpack_exports__,"pinFilter",function(){return _meta_filter__WEBPACK_IMPORTED_MODULE_0__["pinFilter"]});__webpack_require__.d(__webpack_exports__,"unpinFilter",function(){return _meta_filter__WEBPACK_IMPORTED_MODULE_0__["unpinFilter"]});var _custom_filter__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(781);__webpack_require__.d(__webpack_exports__,"CustomFilter",function(){return _custom_filter__WEBPACK_IMPORTED_MODULE_1__["CustomFilter"]});var _exists_filter__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(782);__webpack_require__.d(__webpack_exports__,"ExistsFilter",function(){return _exists_filter__WEBPACK_IMPORTED_MODULE_2__["ExistsFilter"]});var _geo_bounding_box_filter__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(783);__webpack_require__.d(__webpack_exports__,"GeoBoundingBoxFilter",function(){return _geo_bounding_box_filter__WEBPACK_IMPORTED_MODULE_3__["GeoBoundingBoxFilter"]});var _geo_polygon_filter__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(784);__webpack_require__.d(__webpack_exports__,"GeoPolygonFilter",function(){return _geo_polygon_filter__WEBPACK_IMPORTED_MODULE_4__["GeoPolygonFilter"]});var _phrase_filter__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(785);__webpack_require__.d(__webpack_exports__,"PhraseFilter",function(){return _phrase_filter__WEBPACK_IMPORTED_MODULE_5__["PhraseFilter"]});var _phrases_filter__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(786);__webpack_require__.d(__webpack_exports__,"PhrasesFilter",function(){return _phrases_filter__WEBPACK_IMPORTED_MODULE_6__["PhrasesFilter"]});var _query_string_filter__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(787);__webpack_require__.d(__webpack_exports__,"QueryStringFilter",function(){return _query_string_filter__WEBPACK_IMPORTED_MODULE_7__["QueryStringFilter"]});var _range_filter__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(788);__webpack_require__.d(__webpack_exports__,"RangeFilter",function(){return _range_filter__WEBPACK_IMPORTED_MODULE_8__["RangeFilter"]})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"FilterStateStore",function(){return FilterStateStore});__webpack_require__.d(__webpack_exports__,"buildEmptyFilter",function(){return buildEmptyFilter});__webpack_require__.d(__webpack_exports__,"isFilterPinned",function(){return isFilterPinned});__webpack_require__.d(__webpack_exports__,"toggleFilterDisabled",function(){return toggleFilterDisabled});__webpack_require__.d(__webpack_exports__,"toggleFilterNegated",function(){return toggleFilterNegated});__webpack_require__.d(__webpack_exports__,"toggleFilterPinned",function(){return toggleFilterPinned});__webpack_require__.d(__webpack_exports__,"enableFilter",function(){return enableFilter});__webpack_require__.d(__webpack_exports__,"disableFilter",function(){return disableFilter});__webpack_require__.d(__webpack_exports__,"pinFilter",function(){return pinFilter});__webpack_require__.d(__webpack_exports__,"unpinFilter",function(){return unpinFilter});function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var FilterStateStore;(function(FilterStateStore){FilterStateStore["APP_STATE"]="appState";FilterStateStore["GLOBAL_STATE"]="globalState"})(FilterStateStore||(FilterStateStore={}));function buildEmptyFilter(isPinned,index){var meta={disabled:false,negate:false,alias:null,index:index};var $state={store:isPinned?FilterStateStore.GLOBAL_STATE:FilterStateStore.APP_STATE};return{meta:meta,$state:$state}}function isFilterPinned(filter){return filter.$state.store===FilterStateStore.GLOBAL_STATE}function toggleFilterDisabled(filter){var disabled=!filter.meta.disabled;var meta=_objectSpread({},filter.meta,{disabled:disabled});return _objectSpread({},filter,{meta:meta})}function toggleFilterNegated(filter){var negate=!filter.meta.negate;var meta=_objectSpread({},filter.meta,{negate:negate});return _objectSpread({},filter,{meta:meta})}function toggleFilterPinned(filter){var store=isFilterPinned(filter)?FilterStateStore.APP_STATE:FilterStateStore.GLOBAL_STATE;var $state=_objectSpread({},filter.$state,{store:store});return _objectSpread({},filter,{$state:$state})}function enableFilter(filter){return filter.meta.disabled?toggleFilterDisabled(filter):filter}function disableFilter(filter){return filter.meta.disabled?filter:toggleFilterDisabled(filter)}function pinFilter(filter){return isFilterPinned(filter)?filter:toggleFilterPinned(filter)}function unpinFilter(filter){return isFilterPinned(filter)?toggleFilterPinned(filter):filter}},function(module,exports){},function(module,exports){},function(module,exports){},function(module,exports){},function(module,exports){},function(module,exports){},function(module,exports){},function(module,exports){},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _filter_to_kuery__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(790);__webpack_require__.d(__webpack_exports__,"filterToKueryAST",function(){return _filter_to_kuery__WEBPACK_IMPORTED_MODULE_0__["filterToKueryAST"]})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"filterToKueryAST",function(){return filterToKueryAST});var _node_types__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(22);var _phrase__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1006);var _range__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1007);var _exists__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1008);var _geo_bounding_box__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1009);var _geo_polygon__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1010);var conversionChain=[_phrase__WEBPACK_IMPORTED_MODULE_1__["convertPhraseFilter"],_range__WEBPACK_IMPORTED_MODULE_2__["convertRangeFilter"],_exists__WEBPACK_IMPORTED_MODULE_3__["convertExistsFilter"],_geo_bounding_box__WEBPACK_IMPORTED_MODULE_4__["convertGeoBoundingBox"],_geo_polygon__WEBPACK_IMPORTED_MODULE_5__["convertGeoPolygon"]];function filterToKueryAST(filter){var negate=filter.meta.negate;var node=conversionChain.reduce(function(acc,converter){if(null!==acc)return acc;try{return converter(filter)}catch(ex){return null}},null);if(!node)throw new Error("Couldn't convert that filter to a kuery");return negate?_node_types__WEBPACK_IMPORTED_MODULE_0__["nodeTypes"].function.buildNode("not",node):node}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _build_es_query__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(792);__webpack_require__.d(__webpack_exports__,"buildEsQuery",function(){return _build_es_query__WEBPACK_IMPORTED_MODULE_0__["buildEsQuery"]});var _from_filters__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(362);__webpack_require__.d(__webpack_exports__,"buildQueryFromFilters",function(){return _from_filters__WEBPACK_IMPORTED_MODULE_1__["buildQueryFromFilters"]});var _lucene_string_to_dsl__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(364);__webpack_require__.d(__webpack_exports__,"luceneStringToDsl",function(){return _lucene_string_to_dsl__WEBPACK_IMPORTED_MODULE_2__["luceneStringToDsl"]});var _migrate_filter__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(273);__webpack_require__.d(__webpack_exports__,"migrateFilter",function(){return _migrate_filter__WEBPACK_IMPORTED_MODULE_3__["migrateFilter"]});var _decorate_query__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(363);__webpack_require__.d(__webpack_exports__,"decorateQuery",function(){return _decorate_query__WEBPACK_IMPORTED_MODULE_4__["decorateQuery"]});var _filter_matches_index__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(274);__webpack_require__.d(__webpack_exports__,"filterMatchesIndex",function(){return _filter_matches_index__WEBPACK_IMPORTED_MODULE_5__["filterMatchesIndex"]});var _get_es_query_config__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(793);__webpack_require__.d(__webpack_exports__,"getEsQueryConfig",function(){return _get_es_query_config__WEBPACK_IMPORTED_MODULE_6__["getEsQueryConfig"]})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildEsQuery",function(){return buildEsQuery});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var _from_kuery__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1011);var _from_filters__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(362);var _from_lucene__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1012);function buildEsQuery(indexPattern){var queries=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];var filters=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];var config=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{allowLeadingWildcards:false,queryStringOptions:{},ignoreFilterIfFieldNotInIndex:false};queries=Array.isArray(queries)?queries:[queries];filters=Array.isArray(filters)?filters:[filters];var validQueries=queries.filter(function(query){return Object(lodash__WEBPACK_IMPORTED_MODULE_0__["has"])(query,"query")});var queriesByLanguage=Object(lodash__WEBPACK_IMPORTED_MODULE_0__["groupBy"])(validQueries,"language");var kueryQuery=Object(_from_kuery__WEBPACK_IMPORTED_MODULE_1__["buildQueryFromKuery"])(indexPattern,queriesByLanguage.kuery,config.allowLeadingWildcards);var luceneQuery=Object(_from_lucene__WEBPACK_IMPORTED_MODULE_3__["buildQueryFromLucene"])(queriesByLanguage.lucene,config.queryStringOptions);var filterQuery=Object(_from_filters__WEBPACK_IMPORTED_MODULE_2__["buildQueryFromFilters"])(filters,indexPattern,config.ignoreFilterIfFieldNotInIndex);return{bool:{must:[].concat(kueryQuery.must,luceneQuery.must,filterQuery.must),filter:[].concat(kueryQuery.filter,luceneQuery.filter,filterQuery.filter),should:[].concat(kueryQuery.should,luceneQuery.should,filterQuery.should),must_not:[].concat(kueryQuery.must_not,luceneQuery.must_not,filterQuery.must_not)}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"getEsQueryConfig",function(){return getEsQueryConfig});function getEsQueryConfig(config){var allowLeadingWildcards=config.get("query:allowLeadingWildcards");var queryStringOptions=config.get("query:queryString:options");var ignoreFilterIfFieldNotInIndex=config.get("courier:ignoreFilterIfFieldNotInIndex");return{allowLeadingWildcards:allowLeadingWildcards,queryStringOptions:queryStringOptions,ignoreFilterIfFieldNotInIndex:ignoreFilterIfFieldNotInIndex}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.formats=void 0;var formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}},relative:{years:{units:"year"},months:{units:"month"},days:{units:"day"},hours:{units:"hour"},minutes:{units:"minute"},seconds:{units:"second"}}};exports.formats=formats},function(module,exports,__webpack_require__){"use strict";exports=module.exports=__webpack_require__(1933)["default"];exports["default"]=exports},function(module,exports,__webpack_require__){"use strict";exports.extend=extend;var hop=Object.prototype.hasOwnProperty;function extend(obj){var i,len,source,key,sources=Array.prototype.slice.call(arguments,1);for(i=0,len=sources.length;i<len;i+=1){source=sources[i];if(!source)continue;for(key in source)hop.call(source,key)&&(obj[key]=source[key])}return obj}exports.hop=hop},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.isPseudoLocale=isPseudoLocale;exports.translateUsingPseudoLocale=translateUsingPseudoLocale;var CHARS_FOR_PSEUDO_LOCALIZATION_REGEX=/[A-Za-z]|(\]\([\s\S]*?\))|(<([^"<>]|("[^"]*?"))*?>)|(@I18N@\w*?@I18N@)/g;var PSEUDO_ACCENTS_LOCALE="en-xa";function isPseudoLocale(locale){return locale.toLowerCase()===PSEUDO_ACCENTS_LOCALE}function replacer(){var count=0;return function(match){if(1!==match.length)return match;var pseudoChar=pseudoAccentCharMap[match]||match;return++count%3===0?pseudoChar.repeat(2):pseudoChar}}function translateUsingPseudoLocale(message){return message.replace(CHARS_FOR_PSEUDO_LOCALIZATION_REGEX,replacer())}var pseudoAccentCharMap={a:"à",b:"ƀ",c:"ç",d:"ð",e:"é",f:"ƒ",g:"ĝ",h:"ĥ",i:"î",l:"ļ",k:"ķ",j:"ĵ",m:"ɱ",n:"ñ",o:"ô",p:"þ",q:"ǫ",r:"ŕ",s:"š",t:"ţ",u:"û",v:"ṽ",w:"ŵ",x:"ẋ",y:"ý",z:"ž",A:"À",B:"Ɓ",C:"Ç",D:"Ð",E:"É",F:"Ƒ",G:"Ĝ",H:"Ĥ",I:"Î",L:"Ļ",K:"Ķ",J:"Ĵ",M:"Ṁ",N:"Ñ",O:"Ô",P:"Þ",Q:"Ǫ",R:"Ŕ",S:"Š",T:"Ţ",U:"Û",V:"Ṽ",W:"Ŵ",X:"Ẋ",Y:"Ý",Z:"Ž"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.i18n=void 0;var i18nCore=_interopRequireWildcard(__webpack_require__(457));function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}var i18n=i18nCore;exports.i18n=i18n},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(1955)()},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"injectI18n",{enumerable:true,get:function get(){return _reactIntl.injectIntl}});var _reactIntl=__webpack_require__(459)},function(module,exports,__webpack_require__){(function(global,module){var LARGE_ARRAY_SIZE=200;var HASH_UNDEFINED="__lodash_hash_undefined__";var MAX_SAFE_INTEGER=9007199254740991;var argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",promiseTag="[object Promise]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",weakMapTag="[object WeakMap]";var arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";var reRegExpChar=/[\\^$.*+?()[\]{}|]/g;var reFlags=/\w*$/;var reIsHostCtor=/^\[object .+?Constructor\]$/;var reIsUint=/^(?:0|[1-9]\d*)$/;var cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=true;cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=false;var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;var freeSelf="object"==typeof self&&self&&self.Object===Object&&self;var root=freeGlobal||freeSelf||Function("return this")();var freeExports=(true,exports)&&!exports.nodeType&&exports;var freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module;var moduleExports=freeModule&&freeModule.exports===freeExports;function addMapEntry(map,pair){map.set(pair[0],pair[1]);return map}function addSetEntry(set,value){set.add(value);return set}function arrayEach(array,iteratee){var index=-1,length=array?array.length:0;while(++index<length)if(false===iteratee(array[index],index,array))break;return array}function arrayPush(array,values){var index=-1,length=values.length,offset=array.length;while(++index<length)array[offset+index]=values[index];return array}function arrayReduce(array,iteratee,accumulator,initAccum){var index=-1,length=array?array.length:0;initAccum&&length&&(accumulator=array[++index]);while(++index<length)accumulator=iteratee(accumulator,array[index],index,array);return accumulator}function baseTimes(n,iteratee){var index=-1,result=Array(n);while(++index<n)result[index]=iteratee(index);return result}function getValue(object,key){return null==object?void 0:object[key]}function isHostObject(value){var result=false;if(null!=value&&"function"!=typeof value.toString)try{result=!!(value+"")}catch(e){}return result}function mapToArray(map){var index=-1,result=Array(map.size);map.forEach(function(value,key){result[++index]=[key,value]});return result}function overArg(func,transform){return function(arg){return func(transform(arg))}}function setToArray(set){var index=-1,result=Array(set.size);set.forEach(function(value){result[++index]=value});return result}var arrayProto=Array.prototype,funcProto=Function.prototype,objectProto=Object.prototype;var coreJsData=root["__core-js_shared__"];var maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""),uid?"Symbol(src)_1."+uid:"");var uid;var funcToString=funcProto.toString;var hasOwnProperty=objectProto.hasOwnProperty;var objectToString=objectProto.toString;var reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Buffer=moduleExports?root.Buffer:void 0,Symbol=root.Symbol,Uint8Array=root.Uint8Array,getPrototype=overArg(Object.getPrototypeOf,Object),objectCreate=Object.create,propertyIsEnumerable=objectProto.propertyIsEnumerable,splice=arrayProto.splice;var nativeGetSymbols=Object.getOwnPropertySymbols,nativeIsBuffer=Buffer?Buffer.isBuffer:void 0,nativeKeys=overArg(Object.keys,Object);var DataView=getNative(root,"DataView"),Map=getNative(root,"Map"),Promise=getNative(root,"Promise"),Set=getNative(root,"Set"),WeakMap=getNative(root,"WeakMap"),nativeCreate=getNative(Object,"create");var dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap);var symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function Hash(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{}}function hashDelete(key){return this.has(key)&&delete this.__data__[key]}function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}function hashHas(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty.call(data,key)}function hashSet(key,value){var data=this.__data__;data[key]=nativeCreate&&void 0===value?HASH_UNDEFINED:value;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function listCacheClear(){this.__data__=[]}function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0)return false;var lastIndex=data.length-1;index==lastIndex?data.pop():splice.call(data,index,1);return true}function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);index<0?data.push([key,value]):data[index][1]=value;return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function mapCacheClear(){this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}function mapCacheDelete(key){return getMapData(this,key)["delete"](key)}function mapCacheGet(key){return getMapData(this,key).get(key)}function mapCacheHas(key){return getMapData(this,key).has(key)}function mapCacheSet(key,value){getMapData(this,key).set(key,value);return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function Stack(entries){this.__data__=new ListCache(entries)}function stackClear(){this.__data__=new ListCache}function stackDelete(key){return this.__data__["delete"](key)}function stackGet(key){return this.__data__.get(key)}function stackHas(key){return this.__data__.has(key)}function stackSet(key,value){var cache=this.__data__;if(cache instanceof ListCache){var pairs=cache.__data__;if(!Map||pairs.length<LARGE_ARRAY_SIZE-1){pairs.push([key,value]);return this}cache=this.__data__=new MapCache(pairs)}cache.set(key,value);return this}Stack.prototype.clear=stackClear;Stack.prototype["delete"]=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function arrayLikeKeys(value,inherited){var result=isArray(value)||isArguments(value)?baseTimes(value.length,String):[];var length=result.length,skipIndexes=!!length;for(var key in value)!inherited&&!hasOwnProperty.call(value,key)||skipIndexes&&("length"==key||isIndex(key,length))||result.push(key);return result}function assignValue(object,key,value){var objValue=object[key];hasOwnProperty.call(object,key)&&eq(objValue,value)&&(void 0!==value||key in object)||(object[key]=value)}function assocIndexOf(array,key){var length=array.length;while(length--)if(eq(array[length][0],key))return length;return-1}function baseAssign(object,source){return object&&copyObject(source,keys(source),object)}function baseClone(value,isDeep,isFull,customizer,key,object,stack){var result;customizer&&(result=object?customizer(value,key,object,stack):customizer(value));if(void 0!==result)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){result=initCloneArray(value);if(!isDeep)return copyArray(value,result)}else{var tag=getTag(value),isFunc=tag==funcTag||tag==genTag;if(isBuffer(value))return cloneBuffer(value,isDeep);if(tag==objectTag||tag==argsTag||isFunc&&!object){if(isHostObject(value))return object?value:{};result=initCloneObject(isFunc?{}:value);if(!isDeep)return copySymbols(value,baseAssign(result,value))}else{if(!cloneableTags[tag])return object?value:{};result=initCloneByTag(value,tag,baseClone,isDeep)}}stack||(stack=new Stack);var stacked=stack.get(value);if(stacked)return stacked;stack.set(value,result);if(!isArr)var props=isFull?getAllKeys(value):keys(value);arrayEach(props||value,function(subValue,key){if(props){key=subValue;subValue=value[key]}assignValue(result,key,baseClone(subValue,isDeep,isFull,customizer,key,value,stack))});return result}function baseCreate(proto){return isObject(proto)?objectCreate(proto):{}}function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray(object)?result:arrayPush(result,symbolsFunc(object))}function baseGetTag(value){return objectToString.call(value)}function baseIsNative(value){if(!isObject(value)||isMasked(value))return false;var pattern=isFunction(value)||isHostObject(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value))}function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}function cloneBuffer(buffer,isDeep){if(isDeep)return buffer.slice();var result=new buffer.constructor(buffer.length);buffer.copy(result);return result}function cloneArrayBuffer(arrayBuffer){var result=new arrayBuffer.constructor(arrayBuffer.byteLength);new Uint8Array(result).set(new Uint8Array(arrayBuffer));return result}function cloneDataView(dataView,isDeep){var buffer=isDeep?cloneArrayBuffer(dataView.buffer):dataView.buffer;return new dataView.constructor(buffer,dataView.byteOffset,dataView.byteLength)}function cloneMap(map,isDeep,cloneFunc){var array=isDeep?cloneFunc(mapToArray(map),true):mapToArray(map);return arrayReduce(array,addMapEntry,new map.constructor)}function cloneRegExp(regexp){var result=new regexp.constructor(regexp.source,reFlags.exec(regexp));result.lastIndex=regexp.lastIndex;return result}function cloneSet(set,isDeep,cloneFunc){var array=isDeep?cloneFunc(setToArray(set),true):setToArray(set);return arrayReduce(array,addSetEntry,new set.constructor)}function cloneSymbol(symbol){return symbolValueOf?Object(symbolValueOf.call(symbol)):{}}function cloneTypedArray(typedArray,isDeep){var buffer=isDeep?cloneArrayBuffer(typedArray.buffer):typedArray.buffer;return new typedArray.constructor(buffer,typedArray.byteOffset,typedArray.length)}function copyArray(source,array){var index=-1,length=source.length;array||(array=Array(length));while(++index<length)array[index]=source[index];return array}function copyObject(source,props,object,customizer){object||(object={});var index=-1,length=props.length;while(++index<length){var key=props[index];var newValue=customizer?customizer(object[key],source[key],key,object,source):void 0;assignValue(object,key,void 0===newValue?source[key]:newValue)}return object}function copySymbols(source,object){return copyObject(source,getSymbols(source),object)}function getAllKeys(object){return baseGetAllKeys(object,keys,getSymbols)}function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data["string"==typeof key?"string":"hash"]:data.map}function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}var getSymbols=nativeGetSymbols?overArg(nativeGetSymbols,Object):stubArray;var getTag=baseGetTag;(DataView&&getTag(new DataView(new ArrayBuffer(1)))!=dataViewTag||Map&&getTag(new Map)!=mapTag||Promise&&getTag(Promise.resolve())!=promiseTag||Set&&getTag(new Set)!=setTag||WeakMap&&getTag(new WeakMap)!=weakMapTag)&&(getTag=function(value){var result=objectToString.call(value),Ctor=result==objectTag?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):void 0;if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag}return result});function initCloneArray(array){var length=array.length,result=array.constructor(length);if(length&&"string"==typeof array[0]&&hasOwnProperty.call(array,"index")){result.index=array.index;result.input=array.input}return result}function initCloneObject(object){return"function"!=typeof object.constructor||isPrototype(object)?{}:baseCreate(getPrototype(object))}function initCloneByTag(object,tag,cloneFunc,isDeep){var Ctor=object.constructor;switch(tag){case arrayBufferTag:return cloneArrayBuffer(object);case boolTag:case dateTag:return new Ctor(+object);case dataViewTag:return cloneDataView(object,isDeep);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case uint8ClampedTag:case uint16Tag:case uint32Tag:return cloneTypedArray(object,isDeep);case mapTag:return cloneMap(object,isDeep,cloneFunc);case numberTag:case stringTag:return new Ctor(object);case regexpTag:return cloneRegExp(object);case setTag:return cloneSet(object,isDeep,cloneFunc);case symbolTag:return cloneSymbol(object)}}function isIndex(value,length){length=null==length?MAX_SAFE_INTEGER:length;return!!length&&("number"==typeof value||reIsUint.test(value))&&value>-1&&value%1==0&&value<length}function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}function isPrototype(value){var Ctor=value&&value.constructor,proto="function"==typeof Ctor&&Ctor.prototype||objectProto;return value===proto}function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}function clone(value){return baseClone(value,false,true)}function eq(value,other){return value===other||value!==value&&other!==other}function isArguments(value){return isArrayLikeObject(value)&&hasOwnProperty.call(value,"callee")&&(!propertyIsEnumerable.call(value,"callee")||objectToString.call(value)==argsTag)}var isArray=Array.isArray;function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}function isArrayLikeObject(value){return isObjectLike(value)&&isArrayLike(value)}var isBuffer=nativeIsBuffer||stubFalse;function isFunction(value){var tag=isObject(value)?objectToString.call(value):"";return tag==funcTag||tag==genTag}function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}function isObjectLike(value){return!!value&&"object"==typeof value}function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}function stubArray(){return[]}function stubFalse(){return false}module.exports=clone}).call(this,__webpack_require__(18),__webpack_require__(82)(module))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);exports.Fn=Fn;var _lodash=__webpack_require__(10);var _arg=__webpack_require__(1960);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function Fn(config){var _this=this;this.name=config.name;this.type=config.type;this.aliases=config.aliases||[];this.fn=function(){return Promise.resolve(config.fn.apply(config,arguments))};this.help=config.help||"";this.args=(0,_lodash.mapValues)(config.args||{},function(arg,name){return new _arg.Arg((0,_extends3.default)({name:name},arg))});this.context=config.context||{};this.accepts=function(type){if(!_this.context.types)return true;return(0,_lodash.includes)(_this.context.types,type)}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.createError=function createError(err){return{type:"error",error:{stack:void 0,message:"string"===typeof err?err:err.message}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _regenerator=__webpack_require__(462);var _regenerator2=_interopRequireDefault(_regenerator);var _asyncToGenerator2=__webpack_require__(463);var _asyncToGenerator3=_interopRequireDefault(_asyncToGenerator2);var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);exports.interpreterProvider=interpreterProvider;var _lodash=__webpack_require__(801);var _lodash2=_interopRequireDefault(_lodash);var _lodash3=__webpack_require__(10);var _get_type=__webpack_require__(195);var _ast=__webpack_require__(805);var _get_by_alias=__webpack_require__(807);var _cast=__webpack_require__(808);var _create_error=__webpack_require__(803);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function interpreterProvider(config){var interpret=(_ref=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function _callee(node){var context=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return _regenerator2.default.wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.t0=(0,_get_type.getType)(node);_context.next="expression"===_context.t0?3:"string"===_context.t0?4:"number"===_context.t0?4:"null"===_context.t0?4:"boolean"===_context.t0?4:5;break;case 3:return _context.abrupt("return",invokeChain(node.chain,context));case 4:return _context.abrupt("return",node);case 5:throw new Error("Unknown AST object: "+JSON.stringify(node));case 6:case"end":return _context.stop()}},_callee,this)})),function interpret(_x2){return _ref.apply(this,arguments)});var _ref;var invokeChain=(_ref2=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2(chainArr,context){var chain,link,fnName,fnArgs,fnDef,_ref3,resolvedArgs,newContext;return _regenerator2.default.wrap(function _callee2$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:if(chainArr.length){_context2.next=2;break}return _context2.abrupt("return",Promise.resolve(context));case 2:chain=(0,_lodash2.default)(chainArr);link=chain.shift();fnName=link.function,fnArgs=link.arguments;fnDef=(0,_get_by_alias.getByAlias)(functions,fnName);if(fnDef){_context2.next=8;break}return _context2.abrupt("return",(0,_create_error.createError)({message:"Function "+fnName+" could not be found."}));case 8:_context2.prev=8;_context2.next=11;return resolveArgs(fnDef,context,fnArgs);case 11:_ref3=_context2.sent;resolvedArgs=_ref3.resolvedArgs;_context2.next=15;return invokeFunction(fnDef,context,resolvedArgs);case 15:newContext=_context2.sent;if(!("error"===(0,_get_type.getType)(newContext))){_context2.next=18;break}return _context2.abrupt("return",newContext);case 18:_context2.next=20;return invokeChain(chain,newContext);case 20:return _context2.abrupt("return",_context2.sent);case 23:_context2.prev=23;_context2.t0=_context2["catch"](8);_context2.t0.message="["+fnName+"] > "+_context2.t0.message;return _context2.abrupt("return",(0,_create_error.createError)(_context2.t0));case 27:case"end":return _context2.stop()}},_callee2,this,[[8,23]])})),function invokeChain(_x3,_x4){return _ref2.apply(this,arguments)});var _ref2;var invokeFunction=(_ref4=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function _callee3(fnDef,context,args){var acceptableContext,fnOutput,returnType,expectedType,type;return _regenerator2.default.wrap(function _callee3$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:acceptableContext=cast(context,fnDef.context.types);_context3.next=3;return fnDef.fn(acceptableContext,args,handlers);case 3:fnOutput=_context3.sent;returnType=(0,_get_type.getType)(fnOutput);expectedType=fnDef.type;if(!(expectedType&&returnType!==expectedType)){_context3.next=8;break}throw new Error("Function '"+fnDef.name+"' should return '"+expectedType+"', actually returned '"+returnType+"'");case 8:type=handlers.types[fnDef.type];if(!(type&&type.validate)){_context3.next=17;break}_context3.prev=10;type.validate(fnOutput);_context3.next=17;break;case 14:_context3.prev=14;_context3.t0=_context3["catch"](10);throw new Error("Output of '"+fnDef.name+"' is not a valid type '"+fnDef.type+"': "+_context3.t0);case 17:return _context3.abrupt("return",fnOutput);case 18:case"end":return _context3.stop()}},_callee3,this,[[10,14]])})),function invokeFunction(_x5,_x6,_x7){return _ref4.apply(this,arguments)});var _ref4;var resolveArgs=(_ref5=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function _callee5(fnDef,context,argAsts){var _this=this;var argDefs,dealiasedArgAsts,argAstsWithDefaults,resolveArgFns,argNames,resolvedArgValues,resolvedMultiArgs,resolvedArgs;return _regenerator2.default.wrap(function _callee5$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:argDefs=fnDef.args;dealiasedArgAsts=(0,_lodash3.reduce)(argAsts,function(argAsts,argAst,argName){var argDef=(0,_get_by_alias.getByAlias)(argDefs,argName);if(!argDef)throw new Error("Unknown argument '"+argName+"' passed to function '"+fnDef.name+"'");argAsts[argDef.name]=(argAsts[argDef.name]||[]).concat(argAst);return argAsts},{});(0,_lodash3.each)(argDefs,function(argDef){var aliases=argDef.aliases,argDefault=argDef.default,argName=argDef.name,required=argDef.required;if("undefined"===typeof argDefault&&required&&"undefined"===typeof dealiasedArgAsts[argName]){if(0===aliases.length)throw new Error(fnDef.name+" requires an argument");var errorArg="_"===argName?aliases[0]:argName;throw new Error(fnDef.name+' requires an "'+errorArg+'" argument')}});argAstsWithDefaults=(0,_lodash3.reduce)(argDefs,function(argAsts,argDef,argName){"undefined"===typeof argAsts[argName]&&"undefined"!==typeof argDef.default&&(argAsts[argName]=[(0,_ast.fromExpression)(argDef.default,"argument")]);return argAsts},dealiasedArgAsts);resolveArgFns=(0,_lodash3.mapValues)(argAstsWithDefaults,function(argAsts,argName){return argAsts.map(function(argAst){return(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function _callee4(){var ctx=arguments.length>0&&void 0!==arguments[0]?arguments[0]:context;var newContext;return _regenerator2.default.wrap(function _callee4$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return interpret(argAst,ctx);case 2:newContext=_context4.sent;if(!("error"===(0,_get_type.getType)(newContext))){_context4.next=5;break}throw newContext.error;case 5:return _context4.abrupt("return",cast(newContext,argDefs[argName].types));case 6:case"end":return _context4.stop()}},_callee4,_this)}))})});argNames=(0,_lodash3.keys)(resolveArgFns);_context5.next=8;return Promise.all(argNames.map(function(argName){var interpretFns=resolveArgFns[argName];if(!argDefs[argName].resolve)return interpretFns;return Promise.all(interpretFns.map(function(fn){return fn()}))}));case 8:resolvedArgValues=_context5.sent;resolvedMultiArgs=(0,_lodash3.zipObject)(argNames,resolvedArgValues);resolvedArgs=(0,_lodash3.mapValues)(resolvedMultiArgs,function(argValues,argName){if(argDefs[argName].multi)return argValues;return(0,_lodash3.last)(argValues)});return _context5.abrupt("return",{resolvedArgs:resolvedArgs});case 12:case"end":return _context5.stop()}},_callee5,this)})),function resolveArgs(_x8,_x9,_x10){return _ref5.apply(this,arguments)});var _ref5;var functions=config.functions,types=config.types;var handlers=(0,_extends3.default)({},config.handlers,{types:types});var cast=(0,_cast.castProvider)(types);return interpret}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _typeof2=__webpack_require__(238);var _typeof3=_interopRequireDefault(_typeof2);exports.fromExpression=fromExpression;exports.safeElementFromExpression=safeElementFromExpression;exports.toExpression=toExpression;var _get_type=__webpack_require__(195);var _grammar=__webpack_require__(806);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function getArgumentString(arg,argKey){var level=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;var type=(0,_get_type.getType)(arg);function maybeArgKey(argKey,argString){return null==argKey||"_"===argKey?argString:argKey+"="+argString}if("string"===type){var escapedArg=arg.replace(/[\\"]/g,"\\$&");return maybeArgKey(argKey,'"'+escapedArg+'"')}if("boolean"===type||"null"===type||"number"===type)return maybeArgKey(argKey,""+arg);if("expression"===type)return maybeArgKey(argKey,"{"+getExpression(arg.chain,level+1)+"}");throw new Error("Invalid argument type in AST: "+type)}function getExpressionArgs(block){var level=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;var args=block.arguments;var hasValidArgs="object"===("undefined"===typeof args?"undefined":(0,_typeof3.default)(args))&&null!=args&&!Array.isArray(args);if(!hasValidArgs)throw new Error("Arguments can only be an object");var argKeys=Object.keys(args);var MAX_LINE_LENGTH=80;return argKeys.map(function(argKey){return args[argKey].reduce(function(acc,arg){var argString=getArgumentString(arg,argKey,level);var lineLength=acc.split("\n").pop().length;if(0===level&&lineLength+argString.length>MAX_LINE_LENGTH)return acc+"\n  "+argString;if(lineLength>0)return acc+" "+argString;return argString},"")})}function fnWithArgs(fnName,args){if(!args||0===args.length)return fnName;return fnName+" "+args.join(" ")}function getExpression(chain){var level=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!chain)throw new Error("Expressions must contain a chain");var separator=level>0?" | ":"\n| ";return chain.map(function(chainObj){var type=(0,_get_type.getType)(chainObj);if("function"===type){var fn=chainObj.function;if(!fn||0===fn.length)throw new Error("Functions must have a function name");var expArgs=getExpressionArgs(chainObj,level);return fnWithArgs(fn,expArgs)}},[]).join(separator)}function fromExpression(expression){var type=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expression";try{return(0,_grammar.parse)(String(expression),{startRule:type})}catch(e){throw new Error("Unable to parse expression: "+e.message)}}function safeElementFromExpression(expression){try{return fromExpression(expression)}catch(e){return fromExpression("markdown\n\"## Crud.\nCanvas could not parse this element's expression. I am so sorry this error isn't more useful. I promise it will be soon.\n\nThanks for understanding,\n#### Management\n\"")}}function toExpression(astObj){var type=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expression";if("argument"===type)return getArgumentString(astObj);var validType=["expression","function"].includes((0,_get_type.getType)(astObj));if(!validType)throw new Error("Expression must be an expression or argument function");if("expression"===(0,_get_type.getType)(astObj)){if(!Array.isArray(astObj.chain))throw new Error("Expressions must contain a chain");return getExpression(astObj.chain)}var expArgs=getExpressionArgs(astObj);return fnWithArgs(astObj.function,expArgs)}},function(module,exports,__webpack_require__){"use strict";var _defineProperty2=__webpack_require__(693);var _defineProperty3=_interopRequireDefault(_defineProperty2);var _extends3=__webpack_require__(57);var _extends4=_interopRequireDefault(_extends3);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";"function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,peg$SyntaxError)}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function literal(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function _class(expectation){var i,escapedParts="";for(i=0;i<expectation.parts.length;i++)escapedParts+=expectation.parts[i]instanceof Array?classEscape(expectation.parts[i][0])+"-"+classEscape(expectation.parts[i][1]):classEscape(expectation.parts[i]);return"["+(expectation.inverted?"^":"")+escapedParts+"]"},any:function any(expectation){return"any character"},end:function end(expectation){return"end of input"},other:function other(expectation){return expectation.description}};function hex(ch){return ch.charCodeAt(0).toString(16).toUpperCase()}function literalEscape(s){return s.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(ch){return"\\x0"+hex(ch)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(ch){return"\\x"+hex(ch)})}function classEscape(s){return s.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(ch){return"\\x0"+hex(ch)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(ch){return"\\x"+hex(ch)})}function describeExpectation(expectation){return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation)}function describeExpected(expected){var i,j,descriptions=new Array(expected.length);for(i=0;i<expected.length;i++)descriptions[i]=describeExpectation(expected[i]);descriptions.sort();if(descriptions.length>0){for(i=1,j=1;i<descriptions.length;i++)if(descriptions[i-1]!==descriptions[i]){descriptions[j]=descriptions[i];j++}descriptions.length=j}switch(descriptions.length){case 1:return descriptions[0];case 2:return descriptions[0]+" or "+descriptions[1];default:return descriptions.slice(0,-1).join(", ")+", or "+descriptions[descriptions.length-1]}}function describeFound(found){return found?'"'+literalEscape(found)+'"':"end of input"}return"Expected "+describeExpected(expected)+" but "+describeFound(found)+" found."};function peg$parse(input,options){options=void 0!==options?options:{};var peg$result,peg$FAILED={},peg$startRuleFunctions={expression:peg$parseexpression,argument:peg$parseargument},peg$startRuleFunction=peg$parseexpression,peg$c0="|",peg$c1=peg$literalExpectation("|",false),peg$c2=function peg$c2(first,fn){return fn},peg$c3=function peg$c3(first,rest){return addMeta({type:"expression",chain:[first].concat(rest)},text(),location())},peg$c4=peg$otherExpectation("function"),peg$c5=function peg$c5(name,arg_list){return addMeta({type:"function",function:name,arguments:arg_list},text(),location())},peg$c6="=",peg$c7=peg$literalExpectation("=",false),peg$c8=function peg$c8(name,value){return{name:name,value:value}},peg$c9=function peg$c9(value){return{name:"_",value:value}},peg$c10="$",peg$c11=peg$literalExpectation("$",false),peg$c12="{",peg$c13=peg$literalExpectation("{",false),peg$c14="}",peg$c15=peg$literalExpectation("}",false),peg$c16=function peg$c16(expression){return expression},peg$c17=function peg$c17(value){return addMeta(value,text(),location())},peg$c18=function peg$c18(arg){return arg},peg$c19=function peg$c19(args){return args.reduce(function(accumulator,_ref){var name=_ref.name,value=_ref.value;return(0,_extends4.default)({},accumulator,(0,_defineProperty3.default)({},name,(accumulator[name]||[]).concat(value)))},{})},peg$c20=/^[a-zA-Z0-9_\-]/,peg$c21=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"_","-"],false,false),peg$c22=function peg$c22(name){return name.join("")},peg$c23=peg$otherExpectation("literal"),peg$c24='"',peg$c25=peg$literalExpectation('"',false),peg$c26=function peg$c26(chars){return chars.join("")},peg$c27="'",peg$c28=peg$literalExpectation("'",false),peg$c29=function peg$c29(string){var result=string.join("");if("null"===result)return null;if("true"===result)return true;if("false"===result)return false;if(isNaN(Number(result)))return result;return Number(result)},peg$c30=/^[ \t\r\n]/,peg$c31=peg$classExpectation([" ","\t","\r","\n"],false,false),peg$c32="\\",peg$c33=peg$literalExpectation("\\",false),peg$c34=/^["'(){}<>[\]$`|= \t\n\r]/,peg$c35=peg$classExpectation(['"',"'","(",")","{","}","<",">","[","]","$","`","|","="," ","\t","\n","\r"],false,false),peg$c36=function peg$c36(sequence){return sequence},peg$c37=/^[^"'(){}<>[\]$`|= \t\n\r]/,peg$c38=peg$classExpectation(['"',"'","(",")","{","}","<",">","[","]","$","`","|","="," ","\t","\n","\r"],true,false),peg$c39=/^[^"]/,peg$c40=peg$classExpectation(['"'],true,false),peg$c41=/^[^']/,peg$c42=peg$classExpectation(["'"],true,false),peg$currPos=0,peg$savedPos=0,peg$posDetailsCache=[{line:1,column:1}],peg$maxFailPos=0,peg$maxFailExpected=[],peg$silentFails=0;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions))throw new Error("Can't start parsing from rule \""+options.startRule+'".');peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function location(){return peg$computeLocation(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var p,details=peg$posDetailsCache[pos];if(details)return details;p=pos-1;while(!peg$posDetailsCache[p])p--;details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(p<pos){if(10===input.charCodeAt(p)){details.line++;details.column=1}else details.column++;p++}peg$posDetailsCache[pos]=details;return details}function peg$computeLocation(startPos,endPos){var startPosDetails=peg$computePosDetails(startPos),endPosDetails=peg$computePosDetails(endPos);return{start:{offset:startPos,line:startPosDetails.line,column:startPosDetails.column},end:{offset:endPos,line:endPosDetails.line,column:endPosDetails.column}}}function peg$fail(expected){if(peg$currPos<peg$maxFailPos)return;if(peg$currPos>peg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseexpression(){var s0,s1,s2,s3,s4,s5,s6,s7;s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){s2=peg$parsefunction();if(s2!==peg$FAILED){s3=[];s4=peg$currPos;if(124===input.charCodeAt(peg$currPos)){s5=peg$c0;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c1)}if(s5!==peg$FAILED){s6=peg$parsespace();s6===peg$FAILED&&(s6=null);if(s6!==peg$FAILED){s7=peg$parsefunction();if(s7!==peg$FAILED){peg$savedPos=s4;s5=peg$c2(s2,s7);s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;if(124===input.charCodeAt(peg$currPos)){s5=peg$c0;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c1)}if(s5!==peg$FAILED){s6=peg$parsespace();s6===peg$FAILED&&(s6=null);if(s6!==peg$FAILED){s7=peg$parsefunction();if(s7!==peg$FAILED){peg$savedPos=s4;s5=peg$c2(s2,s7);s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c3(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parsefunction(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseidentifier();if(s1!==peg$FAILED){s2=peg$parsearg_list();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c5(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c4)}return s0}function peg$parseargument_assignment(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseidentifier();if(s1!==peg$FAILED){s2=peg$parsespace();s2===peg$FAILED&&(s2=null);if(s2!==peg$FAILED){if(61===input.charCodeAt(peg$currPos)){s3=peg$c6;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c7)}if(s3!==peg$FAILED){s4=peg$parsespace();s4===peg$FAILED&&(s4=null);if(s4!==peg$FAILED){s5=peg$parseargument();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c8(s1,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseargument();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c9(s1)}s0=s1}return s0}function peg$parseargument(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(36===input.charCodeAt(peg$currPos)){s1=peg$c10;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c11)}s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){if(123===input.charCodeAt(peg$currPos)){s2=peg$c12;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c13)}if(s2!==peg$FAILED){s3=peg$parseexpression();if(s3!==peg$FAILED){if(125===input.charCodeAt(peg$currPos)){s4=peg$c14;peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c15)}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseliteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c17(s1)}s0=s1}return s0}function peg$parsearg_list(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=[];s2=peg$currPos;s3=peg$parsespace();if(s3!==peg$FAILED){s4=peg$parseargument_assignment();if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c18(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}while(s2!==peg$FAILED){s1.push(s2);s2=peg$currPos;s3=peg$parsespace();if(s3!==peg$FAILED){s4=peg$parseargument_assignment();if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c18(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}if(s1!==peg$FAILED){s2=peg$parsespace();s2===peg$FAILED&&(s2=null);if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c19(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseidentifier(){var s0,s1,s2;s0=peg$currPos;s1=[];if(peg$c20.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c21)}if(s2!==peg$FAILED)while(s2!==peg$FAILED){s1.push(s2);if(peg$c20.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c21)}}else s1=peg$FAILED;if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c22(s1)}s0=s1;return s0}function peg$parseliteral(){var s0;peg$silentFails++;s0=peg$parsephrase();s0===peg$FAILED&&(s0=peg$parseunquoted_string_or_number());peg$silentFails--;if(s0===peg$FAILED){peg$FAILED;0===peg$silentFails&&peg$fail(peg$c23)}return s0}function peg$parsephrase(){var s0,s1,s2,s3;s0=peg$currPos;if(34===input.charCodeAt(peg$currPos)){s1=peg$c24;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c25)}if(s1!==peg$FAILED){s2=[];s3=peg$parsedq_char();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parsedq_char()}if(s2!==peg$FAILED){if(34===input.charCodeAt(peg$currPos)){s3=peg$c24;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c25)}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c26(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(39===input.charCodeAt(peg$currPos)){s1=peg$c27;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c28)}if(s1!==peg$FAILED){s2=[];s3=peg$parsesq_char();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parsesq_char()}if(s2!==peg$FAILED){if(39===input.charCodeAt(peg$currPos)){s3=peg$c27;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c28)}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c26(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseunquoted_string_or_number(){var s0,s1,s2;s0=peg$currPos;s1=[];s2=peg$parseunquoted();if(s2!==peg$FAILED)while(s2!==peg$FAILED){s1.push(s2);s2=peg$parseunquoted()}else s1=peg$FAILED;if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c29(s1)}s0=s1;return s0}function peg$parsespace(){var s0,s1;s0=[];if(peg$c30.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c31)}if(s1!==peg$FAILED)while(s1!==peg$FAILED){s0.push(s1);if(peg$c30.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c31)}}else s0=peg$FAILED;return s0}function peg$parseunquoted(){var s0,s1,s2;s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c32;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c33)}if(s1!==peg$FAILED){if(peg$c34.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c35)}if(s2===peg$FAILED)if(92===input.charCodeAt(peg$currPos)){s2=peg$c32;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c33)}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c36(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED)if(peg$c37.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c38)}return s0}function peg$parsedq_char(){var s0,s1,s2;s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c32;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c33)}if(s1!==peg$FAILED){if(34===input.charCodeAt(peg$currPos)){s2=peg$c24;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c25)}if(s2===peg$FAILED)if(92===input.charCodeAt(peg$currPos)){s2=peg$c32;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c33)}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c36(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED)if(peg$c39.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c40)}return s0}function peg$parsesq_char(){var s0,s1,s2;s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c32;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c33)}if(s1!==peg$FAILED){if(39===input.charCodeAt(peg$currPos)){s2=peg$c27;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c28)}if(s2===peg$FAILED)if(92===input.charCodeAt(peg$currPos)){s2=peg$c32;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c33)}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c36(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED)if(peg$c41.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c42)}return s0}function addMeta(node,text,_ref2){var start=_ref2.start.offset,end=_ref2.end.offset;if(!options.addMeta)return node;return{node:node,text:text,start:start,end:end}}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length)return peg$result;peg$result!==peg$FAILED&&peg$currPos<input.length&&peg$fail(peg$endExpectation());throw peg$buildStructuredError(peg$maxFailExpected,peg$maxFailPos<input.length?input.charAt(peg$maxFailPos):null,peg$maxFailPos<input.length?peg$computeLocation(peg$maxFailPos,peg$maxFailPos+1):peg$computeLocation(peg$maxFailPos,peg$maxFailPos))}module.exports={SyntaxError:peg$SyntaxError,parse:peg$parse}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getByAlias=getByAlias;function getByAlias(specs,name){var lowerCaseName=name.toLowerCase();return Object.values(specs).find(function(_ref){var name=_ref.name,aliases=_ref.aliases;if(name.toLowerCase()===lowerCaseName)return true;return(aliases||[]).some(function(alias){return alias.toLowerCase()===lowerCaseName})})}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.castProvider=castProvider;var _get_type=__webpack_require__(195);function castProvider(types){return function cast(node,toTypeNames){if(!toTypeNames||0===toTypeNames.length)return node;var fromTypeName=(0,_get_type.getType)(node);if(toTypeNames.includes(fromTypeName))return node;var fromTypeDef=types[fromTypeName];for(var i=0;i<toTypeNames.length;i++){if(fromTypeDef&&fromTypeDef.castsTo(toTypeNames[i]))return fromTypeDef.to(node,toTypeNames[i],types);var toTypeDef=types[toTypeNames[i]];if(toTypeDef&&toTypeDef.castsFrom(fromTypeName))return toTypeDef.from(node,types)}throw new Error("Can not cast '"+fromTypeName+"' to any of '"+toTypeNames.join(", ")+"'")}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.serializeProvider=serializeProvider;var _lodash=__webpack_require__(10);var _get_type=__webpack_require__(195);function serializeProvider(types){return{serialize:provider("serialize"),deserialize:provider("deserialize")};function provider(key){return function(context){var type=(0,_get_type.getType)(context);var typeDef=types[type];var fn=(0,_lodash.get)(typeDef,key)||_lodash.identity;return fn(context)}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.FUNCTIONS_URL="/api/canvas/fns"},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.RenderFunctionsRegistry=void 0;var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _common=__webpack_require__(321);var _render_function=__webpack_require__(1970);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var RenderFunctionsRegistry=function(_Registry){(0,_inherits3.default)(RenderFunctionsRegistry,_Registry);function RenderFunctionsRegistry(){(0,_classCallCheck3.default)(this,RenderFunctionsRegistry);return(0,_possibleConstructorReturn3.default)(this,(RenderFunctionsRegistry.__proto__||Object.getPrototypeOf(RenderFunctionsRegistry)).apply(this,arguments))}(0,_createClass3.default)(RenderFunctionsRegistry,[{key:"wrapper",value:function wrapper(obj){return new _render_function.RenderFunction(obj)}}]);return RenderFunctionsRegistry}(_common.Registry);exports.RenderFunctionsRegistry=RenderFunctionsRegistry},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _button=__webpack_require__(1996);Object.defineProperty(exports,"KuiButton",{enumerable:true,get:function get(){return _button.KuiButton}});Object.defineProperty(exports,"KuiLinkButton",{enumerable:true,get:function get(){return _button.KuiLinkButton}});Object.defineProperty(exports,"KuiSubmitButton",{enumerable:true,get:function get(){return _button.KuiSubmitButton}});var _button_icon=__webpack_require__(813);Object.defineProperty(exports,"KuiButtonIcon",{enumerable:true,get:function get(){return _button_icon.KuiButtonIcon}});var _button_group=__webpack_require__(1997);Object.defineProperty(exports,"KuiButtonGroup",{enumerable:true,get:function get(){return _button_group.KuiButtonGroup}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiButtonIcon=exports.ICON_TYPES=void 0;var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var ICON_TYPES=["create","delete","previous","next","loading","settings","menu"];var KuiButtonIcon=function KuiButtonIcon(props){var typeToClassNameMap={create:"fa-plus",delete:"fa-trash",previous:"fa-chevron-left",next:"fa-chevron-right",loading:"fa-spinner fa-spin",settings:"fa-gear",menu:"fa-bars"};var iconClasses=(0,_classnames2.default)("kuiButton__icon kuiIcon",props.className,_defineProperty({},typeToClassNameMap[props.type],props.type));return _react2.default.createElement("span",{"aria-hidden":"true",className:iconClasses})};KuiButtonIcon.propTypes={type:_propTypes2.default.oneOf(ICON_TYPES),className:_propTypes2.default.string};exports.ICON_TYPES=ICON_TYPES;exports.KuiButtonIcon=KuiButtonIcon},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiEmptyTablePromptMessage=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiEmptyTablePromptMessage=function KuiEmptyTablePromptMessage(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiEmptyTablePrompt__message",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiEmptyTablePromptMessage=KuiEmptyTablePromptMessage;KuiEmptyTablePromptMessage.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiCheckBox=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiCheckBox=function KuiCheckBox(_ref){var className=_ref.className,isChecked=_ref.isChecked,isDisabled=_ref.isDisabled,onChange=_ref.onChange,rest=_objectWithoutProperties(_ref,["className","isChecked","isDisabled","onChange"]);var classes=(0,_classnames2.default)("kuiCheckBox",className);return _react2.default.createElement("input",_extends({type:"checkbox",className:classes,checked:isChecked,disabled:isDisabled,onChange:onChange},rest))};exports.KuiCheckBox=KuiCheckBox;KuiCheckBox.defaultProps={isChecked:false,isDisabled:false};KuiCheckBox.propTypes={className:_propTypes2.default.string,isChecked:_propTypes2.default.bool,isDisabled:_propTypes2.default.bool,onChange:_propTypes2.default.func.isRequired}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiModal=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _focusTrapReact=__webpack_require__(126);var _focusTrapReact2=_interopRequireDefault(_focusTrapReact);var _services=__webpack_require__(196);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var KuiModal=exports.KuiModal=function(_Component){_inherits(KuiModal,_Component);function KuiModal(){var _ref;var _temp,_this,_ret;_classCallCheck(this,KuiModal);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=KuiModal.__proto__||Object.getPrototypeOf(KuiModal)).call.apply(_ref,[this].concat(args))),_this),_this.onKeyDown=function(event){event.keyCode===_services.keyCodes.ESCAPE&&_this.props.onClose()},_temp),_possibleConstructorReturn(_this,_ret)}_createClass(KuiModal,[{key:"render",value:function render(){var _this2=this;var _props=this.props,className=_props.className,children=_props.children,rest=(_props.onClose,_objectWithoutProperties(_props,["className","children","onClose"]));var classes=(0,_classnames2.default)("kuiModal",className);return _react2.default.createElement(_focusTrapReact2.default,{focusTrapOptions:{fallbackFocus:function fallbackFocus(){return _this2.modal}}},_react2.default.createElement("div",_extends({ref:function ref(node){_this2.modal=node},className:classes,onKeyDown:this.onKeyDown,tabIndex:0},rest),children))}}]);return KuiModal}(_react.Component);KuiModal.propTypes={className:_propTypes2.default.string,children:_propTypes2.default.node,onClose:_propTypes2.default.func.isRequired}},function(module,exports,__webpack_require__){var v1=__webpack_require__(2038);var v4=__webpack_require__(820);var uuid=v4;uuid.v1=v1;uuid.v4=v4;module.exports=uuid},function(module,exports,__webpack_require__){(function(global){var rng;var crypto=global.crypto||global.msCrypto;if(crypto&&crypto.getRandomValues){var rnds8=new Uint8Array(16);rng=function whatwgRNG(){crypto.getRandomValues(rnds8);return rnds8}}if(!rng){var rnds=new Array(16);rng=function(){for(var r,i=0;i<16;i++){0===(3&i)&&(r=4294967296*Math.random());rnds[i]=r>>>((3&i)<<3)&255}return rnds}}module.exports=rng}).call(this,__webpack_require__(18))},function(module,exports){var byteToHex=[];for(var i=0;i<256;++i)byteToHex[i]=(i+256).toString(16).substr(1);function bytesToUuid(buf,offset){var i=offset||0;var bth=byteToHex;return bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]}module.exports=bytesToUuid},function(module,exports,__webpack_require__){var rng=__webpack_require__(818);var bytesToUuid=__webpack_require__(819);function v4(options,buf,offset){var i=buf&&offset||0;if("string"==typeof options){buf="binary"==options?new Array(16):null;options=null}options=options||{};var rnds=options.random||(options.rng||rng)();rnds[6]=15&rnds[6]|64;rnds[8]=63&rnds[8]|128;if(buf)for(var ii=0;ii<16;++ii)buf[i+ii]=rnds[ii];return buf||bytesToUuid(rnds)}module.exports=v4},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiModalFooter=KuiModalFooter;var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiModalFooter(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);var classes=(0,_classnames2.default)("kuiModalFooter",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)}KuiModalFooter.propTypes={className:_propTypes2.default.string,children:_propTypes2.default.node}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiModalHeader=KuiModalHeader;var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiModalHeader(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);var classes=(0,_classnames2.default)("kuiModalHeader",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)}KuiModalHeader.propTypes={className:_propTypes2.default.string,children:_propTypes2.default.node}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiModalHeaderTitle=KuiModalHeaderTitle;var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiModalHeaderTitle(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);var classes=(0,_classnames2.default)("kuiModalHeader__title",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)}KuiModalHeaderTitle.propTypes={className:_propTypes2.default.string,children:_propTypes2.default.node}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiModalBody=KuiModalBody;var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiModalBody(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);var classes=(0,_classnames2.default)("kuiModalBody",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)}KuiModalBody.propTypes={className:_propTypes2.default.string,children:_propTypes2.default.node}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _outside_click_detector=__webpack_require__(2043);Object.defineProperty(exports,"KuiOutsideClickDetector",{enumerable:true,get:function get(){return _outside_click_detector.KuiOutsideClickDetector}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiPagerButtonGroup=KuiPagerButtonGroup;var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _button=__webpack_require__(812);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiPagerButtonGroup(_ref){var className=_ref.className,onPrevious=_ref.onPrevious,onNext=_ref.onNext,hasNext=_ref.hasNext,hasPrevious=_ref.hasPrevious,rest=_objectWithoutProperties(_ref,["className","onPrevious","onNext","hasNext","hasPrevious"]);return _react2.default.createElement(_button.KuiButtonGroup,_extends({isUnited:true,className:className},rest),_react2.default.createElement(_button.KuiButton,{"aria-label":"Show previous page","data-test-subj":"pagerPreviousButton",buttonType:"basic",onClick:onPrevious,disabled:!hasPrevious,icon:_react2.default.createElement(_button.KuiButtonIcon,{type:"previous"})}),_react2.default.createElement(_button.KuiButton,{"aria-label":"Show next page","data-test-subj":"pagerNextButton",buttonType:"basic",onClick:onNext,disabled:!hasNext,icon:_react2.default.createElement(_button.KuiButtonIcon,{type:"next"})}))}KuiPagerButtonGroup.propTypes={onPrevious:_propTypes2.default.func.isRequired,onNext:_propTypes2.default.func.isRequired,hasNext:_propTypes2.default.bool.isRequired,hasPrevious:_propTypes2.default.bool.isRequired,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _panel_simple=__webpack_require__(2046);Object.defineProperty(exports,"KuiPanelSimple",{enumerable:true,get:function get(){return _panel_simple.KuiPanelSimple}});Object.defineProperty(exports,"SIZES",{enumerable:true,get:function get(){return _panel_simple.SIZES}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _table=__webpack_require__(2054);Object.defineProperty(exports,"KuiTable",{enumerable:true,get:function get(){return _table.KuiTable}});var _table_header_cell=__webpack_require__(829);Object.defineProperty(exports,"KuiTableHeaderCell",{enumerable:true,get:function get(){return _table_header_cell.KuiTableHeaderCell}});var _table_row=__webpack_require__(2055);Object.defineProperty(exports,"KuiTableRow",{enumerable:true,get:function get(){return _table_row.KuiTableRow}});var _table_row_cell=__webpack_require__(830);Object.defineProperty(exports,"KuiTableRowCell",{enumerable:true,get:function get(){return _table_row_cell.KuiTableRowCell}});var _controlled_table=__webpack_require__(2056);Object.defineProperty(exports,"KuiControlledTable",{enumerable:true,get:function get(){return _controlled_table.KuiControlledTable}});var _table_info=__webpack_require__(2057);Object.defineProperty(exports,"KuiTableInfo",{enumerable:true,get:function get(){return _table_info.KuiTableInfo}});var _table_row_check_box_cell=__webpack_require__(2058);Object.defineProperty(exports,"KuiTableRowCheckBoxCell",{enumerable:true,get:function get(){return _table_row_check_box_cell.KuiTableRowCheckBoxCell}});var _table_header_check_box_cell=__webpack_require__(2059);Object.defineProperty(exports,"KuiTableHeaderCheckBoxCell",{enumerable:true,get:function get(){return _table_header_check_box_cell.KuiTableHeaderCheckBoxCell}});var _table_body=__webpack_require__(2060);Object.defineProperty(exports,"KuiTableBody",{enumerable:true,get:function get(){return _table_body.KuiTableBody}});var _table_header=__webpack_require__(2061);Object.defineProperty(exports,"KuiTableHeader",{enumerable:true,get:function get(){return _table_header.KuiTableHeader}});var _listing_table=__webpack_require__(2062);Object.defineProperty(exports,"KuiListingTable",{enumerable:true,get:function get(){return _listing_table.KuiListingTable}});Object.defineProperty(exports,"KuiListingTableCreateButton",{enumerable:true,get:function get(){return _listing_table.KuiListingTableCreateButton}});Object.defineProperty(exports,"KuiListingTableDeleteButton",{enumerable:true,get:function get(){return _listing_table.KuiListingTableDeleteButton}});Object.defineProperty(exports,"KuiListingTableLoadingPrompt",{enumerable:true,get:function get(){return _listing_table.KuiListingTableLoadingPrompt}});Object.defineProperty(exports,"KuiListingTableNoMatchesPrompt",{enumerable:true,get:function get(){return _listing_table.KuiListingTableNoMatchesPrompt}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiTableHeaderCell=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _services=__webpack_require__(196);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiTableHeaderCell=function KuiTableHeaderCell(_ref){var children=_ref.children,onSort=_ref.onSort,isSorted=_ref.isSorted,isSortAscending=_ref.isSortAscending,className=_ref.className,ariaLabel=_ref.ariaLabel,align=_ref.align,scope=_ref.scope,rest=_objectWithoutProperties(_ref,["children","onSort","isSorted","isSortAscending","className","ariaLabel","align","scope"]);var classes=(0,_classnames2.default)("kuiTableHeaderCell",className,{"kuiTableHeaderCell--alignRight":align===_services.RIGHT_ALIGNMENT});if(onSort){var sortIconClasses=(0,_classnames2.default)("kuiTableSortIcon kuiIcon",{"fa-long-arrow-up":isSortAscending,"fa-long-arrow-down":!isSortAscending});var sortIcon=_react2.default.createElement("span",{className:sortIconClasses,"aria-hidden":"true"});var buttonClasses=(0,_classnames2.default)("kuiTableHeaderCellButton",{"kuiTableHeaderCellButton-isSorted":isSorted});var columnTitle=ariaLabel||children;var statefulAriaLabel="Sort "+columnTitle+" "+(isSortAscending?"descending":"ascending");return _react2.default.createElement("th",_extends({className:classes,scope:scope},rest),_react2.default.createElement("button",{className:buttonClasses,onClick:onSort,"aria-label":statefulAriaLabel},_react2.default.createElement("span",{className:"kuiTableHeaderCell__liner"},children,sortIcon)))}return _react2.default.createElement("th",_extends({className:classes,"aria-label":ariaLabel,scope:scope},rest),_react2.default.createElement("div",{className:"kuiTableHeaderCell__liner"},children))};exports.KuiTableHeaderCell=KuiTableHeaderCell;KuiTableHeaderCell.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string,onSort:_propTypes2.default.func,isSorted:_propTypes2.default.bool,isSortAscending:_propTypes2.default.bool,align:_propTypes2.default.oneOf([_services.LEFT_ALIGNMENT,_services.RIGHT_ALIGNMENT]),scope:_propTypes2.default.oneOf(["col","row","colgroup","rowgroup"])};KuiTableHeaderCell.defaultProps={align:_services.LEFT_ALIGNMENT,scope:"col"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiTableRowCell=exports.ALIGNMENT=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _services=__webpack_require__(196);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var ALIGNMENT=exports.ALIGNMENT=[_services.RIGHT_ALIGNMENT,_services.LEFT_ALIGNMENT];var KuiTableRowCell=function KuiTableRowCell(_ref){var children=_ref.children,align=_ref.align,className=_ref.className,textOnly=_ref.textOnly,rest=_objectWithoutProperties(_ref,["children","align","className","textOnly"]);var classes=(0,_classnames2.default)("kuiTableRowCell",className,{"kuiTableRowCell--alignRight":align===_services.RIGHT_ALIGNMENT,"kuiTableRowCell--overflowingContent":!textOnly});return _react2.default.createElement("td",_extends({className:classes},rest),_react2.default.createElement("div",{className:"kuiTableRowCell__liner"},children))};exports.KuiTableRowCell=KuiTableRowCell;KuiTableRowCell.propTypes={align:_propTypes2.default.oneOf(ALIGNMENT),children:_propTypes2.default.node,className:_propTypes2.default.string,textOnly:_propTypes2.default.bool};KuiTableRowCell.defaultProps={align:_services.LEFT_ALIGNMENT,textOnly:true}},function(module,exports,__webpack_require__){__webpack_require__(2083);module.exports="ngSanitize"},function(module,exports,__webpack_require__){ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var TextHighlightRules=acequire("./text_highlight_rules").TextHighlightRules;var JsonHighlightRules=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};oop.inherits(JsonHighlightRules,TextHighlightRules);exports.JsonHighlightRules=JsonHighlightRules});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(acequire,exports,module){"use strict";var Range=acequire("../range").Range;var MatchingBraceOutdent=function(){};(function(){this.checkOutdent=function(line,input){if(!/^\s+$/.test(line))return false;return/^\s*\}/.test(input)};this.autoOutdent=function(doc,row){var line=doc.getLine(row);var match=line.match(/^(\s*\})/);if(!match)return 0;var column=match[1].length;var openBracePos=doc.findMatchingBracket({row:row,column:column});if(!openBracePos||openBracePos.row==row)return 0;var indent=this.$getIndent(doc.getLine(openBracePos.row));doc.replace(new Range(row,0,row,column-1),indent)};this.$getIndent=function(line){return line.match(/^\s*/)[0]}}).call(MatchingBraceOutdent.prototype);exports.MatchingBraceOutdent=MatchingBraceOutdent});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(acequire,exports,module){"use strict";var oop=acequire("../../lib/oop");var Range=acequire("../../range").Range;var BaseFoldMode=acequire("./fold_mode").FoldMode;var FoldMode=exports.FoldMode=function(commentRegex){if(commentRegex){this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+commentRegex.start));this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+commentRegex.end))}};oop.inherits(FoldMode,BaseFoldMode);(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/;this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/;this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/;this._getFoldWidgetBase=this.getFoldWidget;this.getFoldWidget=function(session,foldStyle,row){var line=session.getLine(row);if(this.singleLineBlockCommentRe.test(line)&&!this.startRegionRe.test(line)&&!this.tripleStarBlockCommentRe.test(line))return"";var fw=this._getFoldWidgetBase(session,foldStyle,row);if(!fw&&this.startRegionRe.test(line))return"start";return fw};this.getFoldWidgetRange=function(session,foldStyle,row,forceMultiline){var line=session.getLine(row);if(this.startRegionRe.test(line))return this.getCommentRegionBlock(session,line,row);var match=line.match(this.foldingStartMarker);if(match){var i=match.index;if(match[1])return this.openingBracketBlock(session,match[1],row,i);var range=session.getCommentFoldRange(row,i+match[0].length,1);range&&!range.isMultiLine()&&(forceMultiline?range=this.getSectionRange(session,row):"all"!=foldStyle&&(range=null));return range}if("markbegin"===foldStyle)return;match=line.match(this.foldingStopMarker);if(match){i=match.index+match[0].length;if(match[1])return this.closingBracketBlock(session,match[1],row,i);return session.getCommentFoldRange(row,i,-1)}};this.getSectionRange=function(session,row){var line=session.getLine(row);var startIndent=line.search(/\S/);var startRow=row;var startColumn=line.length;row+=1;var endRow=row;var maxRow=session.getLength();while(++row<maxRow){line=session.getLine(row);var indent=line.search(/\S/);if(-1===indent)continue;if(startIndent>indent)break;var subRange=this.getFoldWidgetRange(session,"all",row);if(subRange){if(subRange.start.row<=startRow)break;if(subRange.isMultiLine())row=subRange.end.row;else if(startIndent==indent)break}endRow=row}return new Range(startRow,startColumn,endRow,session.getLine(endRow).length)};this.getCommentRegionBlock=function(session,line,row){var startColumn=line.search(/\s*$/);var maxRow=session.getLength();var startRow=row;var re=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;var depth=1;while(++row<maxRow){line=session.getLine(row);var m=re.exec(line);if(!m)continue;m[1]?depth--:depth++;if(!depth)break}var endRow=row;if(endRow>startRow)return new Range(startRow,startColumn,endRow,line.length)}}).call(FoldMode.prototype)});ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/worker/worker_client"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var TextMode=acequire("./text").Mode;var HighlightRules=acequire("./json_highlight_rules").JsonHighlightRules;var MatchingBraceOutdent=acequire("./matching_brace_outdent").MatchingBraceOutdent;var CstyleBehaviour=acequire("./behaviour/cstyle").CstyleBehaviour;var CStyleFoldMode=acequire("./folding/cstyle").FoldMode;var WorkerClient=acequire("../worker/worker_client").WorkerClient;var Mode=function(){this.HighlightRules=HighlightRules;this.$outdent=new MatchingBraceOutdent;this.$behaviour=new CstyleBehaviour;this.foldingRules=new CStyleFoldMode};oop.inherits(Mode,TextMode);(function(){this.getNextLineIndent=function(state,line,tab){var indent=this.$getIndent(line);if("start"==state){var match=line.match(/^.*[\{\(\[]\s*$/);match&&(indent+=tab)}return indent};this.checkOutdent=function(state,line,input){return this.$outdent.checkOutdent(line,input)};this.autoOutdent=function(state,doc,row){this.$outdent.autoOutdent(doc,row)};this.createWorker=function(session){var worker=new WorkerClient(["ace"],__webpack_require__(2089),"JsonWorker");worker.attachToDocument(session.getDocument());worker.on("annotate",function(e){session.setAnnotations(e.data)});worker.on("terminate",function(){session.clearAnnotations()});return worker};this.$id="ace/mode/json"}).call(Mode.prototype);exports.Mode=Mode})},function(module,exports){var toString={}.toString;module.exports=Array.isArray||function(arr){return"[object Array]"==toString.call(arr)}},function(module,exports,__webpack_require__){"use strict";module.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(module,exports,__webpack_require__){var cssKeywords=__webpack_require__(834);var reverseKeywords={};for(var key in cssKeywords)cssKeywords.hasOwnProperty(key)&&(reverseKeywords[cssKeywords[key]]=key);var convert=module.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var model in convert)if(convert.hasOwnProperty(model)){if(!("channels"in convert[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert[model]))throw new Error("missing channel labels property: "+model);if(convert[model].labels.length!==convert[model].channels)throw new Error("channel and label counts mismatch: "+model);var channels=convert[model].channels;var labels=convert[model].labels;delete convert[model].channels;delete convert[model].labels;Object.defineProperty(convert[model],"channels",{value:channels});Object.defineProperty(convert[model],"labels",{value:labels})}convert.rgb.hsl=function(rgb){var r=rgb[0]/255;var g=rgb[1]/255;var b=rgb[2]/255;var min=Math.min(r,g,b);var max=Math.max(r,g,b);var delta=max-min;var h;var s;var l;max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta);h=Math.min(60*h,360);h<0&&(h+=360);l=(min+max)/2;s=max===min?0:l<=.5?delta/(max+min):delta/(2-max-min);return[h,100*s,100*l]};convert.rgb.hsv=function(rgb){var r=rgb[0];var g=rgb[1];var b=rgb[2];var min=Math.min(r,g,b);var max=Math.max(r,g,b);var delta=max-min;var h;var s;var v;s=0===max?0:delta/max*1e3/10;max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta);h=Math.min(60*h,360);h<0&&(h+=360);v=max/255*1e3/10;return[h,s,v]};convert.rgb.hwb=function(rgb){var r=rgb[0];var g=rgb[1];var b=rgb[2];var h=convert.rgb.hsl(rgb)[0];var w=1/255*Math.min(r,Math.min(g,b));b=1-1/255*Math.max(r,Math.max(g,b));return[h,100*w,100*b]};convert.rgb.cmyk=function(rgb){var r=rgb[0]/255;var g=rgb[1]/255;var b=rgb[2]/255;var c;var m;var y;var k;k=Math.min(1-r,1-g,1-b);c=(1-r-k)/(1-k)||0;m=(1-g-k)/(1-k)||0;y=(1-b-k)/(1-k)||0;return[100*c,100*m,100*y,100*k]};function comparativeDistance(x,y){return Math.pow(x[0]-y[0],2)+Math.pow(x[1]-y[1],2)+Math.pow(x[2]-y[2],2)}convert.rgb.keyword=function(rgb){var reversed=reverseKeywords[rgb];if(reversed)return reversed;var currentClosestDistance=Infinity;var currentClosestKeyword;for(var keyword in cssKeywords)if(cssKeywords.hasOwnProperty(keyword)){var value=cssKeywords[keyword];var distance=comparativeDistance(rgb,value);if(distance<currentClosestDistance){currentClosestDistance=distance;currentClosestKeyword=keyword}}return currentClosestKeyword};convert.keyword.rgb=function(keyword){return cssKeywords[keyword]};convert.rgb.xyz=function(rgb){var r=rgb[0]/255;var g=rgb[1]/255;var b=rgb[2]/255;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;g=g>.04045?Math.pow((g+.055)/1.055,2.4):g/12.92;b=b>.04045?Math.pow((b+.055)/1.055,2.4):b/12.92;var x=.4124*r+.3576*g+.1805*b;var y=.2126*r+.7152*g+.0722*b;var z=.0193*r+.1192*g+.9505*b;return[100*x,100*y,100*z]};convert.rgb.lab=function(rgb){var xyz=convert.rgb.xyz(rgb);var x=xyz[0];var y=xyz[1];var z=xyz[2];var l;var a;var b;x/=95.047;y/=100;z/=108.883;x=x>.008856?Math.pow(x,1/3):7.787*x+16/116;y=y>.008856?Math.pow(y,1/3):7.787*y+16/116;z=z>.008856?Math.pow(z,1/3):7.787*z+16/116;l=116*y-16;a=500*(x-y);b=200*(y-z);return[l,a,b]};convert.hsl.rgb=function(hsl){var h=hsl[0]/360;var s=hsl[1]/100;var l=hsl[2]/100;var t1;var t2;var t3;var rgb;var val;if(0===s){val=255*l;return[val,val,val]}t2=l<.5?l*(1+s):l+s-l*s;t1=2*l-t2;rgb=[0,0,0];for(var i=0;i<3;i++){t3=h+1/3*-(i-1);t3<0&&t3++;t3>1&&t3--;val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1;rgb[i]=255*val}return rgb};convert.hsl.hsv=function(hsl){var h=hsl[0];var s=hsl[1]/100;var l=hsl[2]/100;var smin=s;var lmin=Math.max(l,.01);var sv;var v;l*=2;s*=l<=1?l:2-l;smin*=lmin<=1?lmin:2-lmin;v=(l+s)/2;sv=0===l?2*smin/(lmin+smin):2*s/(l+s);return[h,100*sv,100*v]};convert.hsv.rgb=function(hsv){var h=hsv[0]/60;var s=hsv[1]/100;var v=hsv[2]/100;var hi=Math.floor(h)%6;var f=h-Math.floor(h);var p=255*v*(1-s);var q=255*v*(1-s*f);var t=255*v*(1-s*(1-f));v*=255;switch(hi){case 0:return[v,t,p];case 1:return[q,v,p];case 2:return[p,v,t];case 3:return[p,q,v];case 4:return[t,p,v];case 5:return[v,p,q]}};convert.hsv.hsl=function(hsv){var h=hsv[0];var s=hsv[1]/100;var v=hsv[2]/100;var vmin=Math.max(v,.01);var lmin;var sl;var l;l=(2-s)*v;lmin=(2-s)*vmin;sl=s*vmin;sl/=lmin<=1?lmin:2-lmin;sl=sl||0;l/=2;return[h,100*sl,100*l]};convert.hwb.rgb=function(hwb){var h=hwb[0]/360;var wh=hwb[1]/100;var bl=hwb[2]/100;var ratio=wh+bl;var i;var v;var f;var n;if(ratio>1){wh/=ratio;bl/=ratio}i=Math.floor(6*h);v=1-bl;f=6*h-i;0!==(1&i)&&(f=1-f);n=wh+f*(v-wh);var r;var g;var b;switch(i){default:case 6:case 0:r=v;g=n;b=wh;break;case 1:r=n;g=v;b=wh;break;case 2:r=wh;g=v;b=n;break;case 3:r=wh;g=n;b=v;break;case 4:r=n;g=wh;b=v;break;case 5:r=v;g=wh;b=n}return[255*r,255*g,255*b]};convert.cmyk.rgb=function(cmyk){var c=cmyk[0]/100;var m=cmyk[1]/100;var y=cmyk[2]/100;var k=cmyk[3]/100;var r;var g;var b;r=1-Math.min(1,c*(1-k)+k);g=1-Math.min(1,m*(1-k)+k);b=1-Math.min(1,y*(1-k)+k);return[255*r,255*g,255*b]};convert.xyz.rgb=function(xyz){var x=xyz[0]/100;var y=xyz[1]/100;var z=xyz[2]/100;var r;var g;var b;r=3.2406*x+-1.5372*y+-.4986*z;g=-.9689*x+1.8758*y+.0415*z;b=.0557*x+-.204*y+1.057*z;r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r;g=g>.0031308?1.055*Math.pow(g,1/2.4)-.055:12.92*g;b=b>.0031308?1.055*Math.pow(b,1/2.4)-.055:12.92*b;r=Math.min(Math.max(0,r),1);g=Math.min(Math.max(0,g),1);b=Math.min(Math.max(0,b),1);return[255*r,255*g,255*b]};convert.xyz.lab=function(xyz){var x=xyz[0];var y=xyz[1];var z=xyz[2];var l;var a;var b;x/=95.047;y/=100;z/=108.883;x=x>.008856?Math.pow(x,1/3):7.787*x+16/116;y=y>.008856?Math.pow(y,1/3):7.787*y+16/116;z=z>.008856?Math.pow(z,1/3):7.787*z+16/116;l=116*y-16;a=500*(x-y);b=200*(y-z);return[l,a,b]};convert.lab.xyz=function(lab){var l=lab[0];var a=lab[1];var b=lab[2];var x;var y;var z;y=(l+16)/116;x=a/500+y;z=y-b/200;var y2=Math.pow(y,3);var x2=Math.pow(x,3);var z2=Math.pow(z,3);y=y2>.008856?y2:(y-16/116)/7.787;x=x2>.008856?x2:(x-16/116)/7.787;z=z2>.008856?z2:(z-16/116)/7.787;x*=95.047;y*=100;z*=108.883;return[x,y,z]};convert.lab.lch=function(lab){var l=lab[0];var a=lab[1];var b=lab[2];var hr;var h;var c;hr=Math.atan2(b,a);h=360*hr/2/Math.PI;h<0&&(h+=360);c=Math.sqrt(a*a+b*b);return[l,c,h]};convert.lch.lab=function(lch){var l=lch[0];var c=lch[1];var h=lch[2];var a;var b;var hr;hr=h/360*2*Math.PI;a=c*Math.cos(hr);b=c*Math.sin(hr);return[l,a,b]};convert.rgb.ansi16=function(args){var r=args[0];var g=args[1];var b=args[2];var value=1 in arguments?arguments[1]:convert.rgb.hsv(args)[2];value=Math.round(value/50);if(0===value)return 30;var ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));2===value&&(ansi+=60);return ansi};convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])};convert.rgb.ansi256=function(args){var r=args[0];var g=args[1];var b=args[2];if(r===g&&g===b){if(r<8)return 16;if(r>248)return 231;return Math.round((r-8)/247*24)+232}var ansi=16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5);return ansi};convert.ansi16.rgb=function(args){var color=args%10;if(0===color||7===color){args>50&&(color+=3.5);color=color/10.5*255;return[color,color,color]}var mult=.5*(1+~~(args>50));var r=(1&color)*mult*255;var g=(color>>1&1)*mult*255;var b=(color>>2&1)*mult*255;return[r,g,b]};convert.ansi256.rgb=function(args){if(args>=232){var c=10*(args-232)+8;return[c,c,c]}args-=16;var rem;var r=Math.floor(args/36)/5*255;var g=Math.floor((rem=args%36)/6)/5*255;var b=rem%6/5*255;return[r,g,b]};convert.rgb.hex=function(args){var integer=((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]));var string=integer.toString(16).toUpperCase();return"000000".substring(string.length)+string};convert.hex.rgb=function(args){var match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];var colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map(function(char){return char+char}).join(""));var integer=parseInt(colorString,16);var r=integer>>16&255;var g=integer>>8&255;var b=255&integer;return[r,g,b]};convert.rgb.hcg=function(rgb){var r=rgb[0]/255;var g=rgb[1]/255;var b=rgb[2]/255;var max=Math.max(Math.max(r,g),b);var min=Math.min(Math.min(r,g),b);var chroma=max-min;var grayscale;var hue;grayscale=chroma<1?min/(1-chroma):0;hue=chroma<=0?0:max===r?(g-b)/chroma%6:max===g?2+(b-r)/chroma:4+(r-g)/chroma+4;hue/=6;hue%=1;return[360*hue,100*chroma,100*grayscale]};convert.hsl.hcg=function(hsl){var s=hsl[1]/100;var l=hsl[2]/100;var c=1;var f=0;c=l<.5?2*s*l:2*s*(1-l);c<1&&(f=(l-.5*c)/(1-c));return[hsl[0],100*c,100*f]};convert.hsv.hcg=function(hsv){var s=hsv[1]/100;var v=hsv[2]/100;var c=s*v;var f=0;c<1&&(f=(v-c)/(1-c));return[hsv[0],100*c,100*f]};convert.hcg.rgb=function(hcg){var h=hcg[0]/360;var c=hcg[1]/100;var g=hcg[2]/100;if(0===c)return[255*g,255*g,255*g];var pure=[0,0,0];var hi=h%1*6;var v=hi%1;var w=1-v;var mg=0;switch(Math.floor(hi)){case 0:pure[0]=1;pure[1]=v;pure[2]=0;break;case 1:pure[0]=w;pure[1]=1;pure[2]=0;break;case 2:pure[0]=0;pure[1]=1;pure[2]=v;break;case 3:pure[0]=0;pure[1]=w;pure[2]=1;break;case 4:pure[0]=v;pure[1]=0;pure[2]=1;break;default:pure[0]=1;pure[1]=0;pure[2]=w}mg=(1-c)*g;return[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]};convert.hcg.hsv=function(hcg){var c=hcg[1]/100;var g=hcg[2]/100;var v=c+g*(1-c);var f=0;v>0&&(f=c/v);return[hcg[0],100*f,100*v]};convert.hcg.hsl=function(hcg){var c=hcg[1]/100;var g=hcg[2]/100;var l=g*(1-c)+.5*c;var s=0;l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l)));return[hcg[0],100*s,100*l]};convert.hcg.hwb=function(hcg){var c=hcg[1]/100;var g=hcg[2]/100;var v=c+g*(1-c);return[hcg[0],100*(v-c),100*(1-v)]};convert.hwb.hcg=function(hwb){var w=hwb[1]/100;var b=hwb[2]/100;var v=1-b;var c=v-w;var g=0;c<1&&(g=(v-c)/(1-c));return[hwb[0],100*c,100*g]};convert.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]};convert.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]};convert.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]};convert.gray.hsl=convert.gray.hsv=function(args){return[0,0,args[0]]};convert.gray.hwb=function(gray){return[0,100,gray[0]]};convert.gray.cmyk=function(gray){return[0,0,0,gray[0]]};convert.gray.lab=function(gray){return[gray[0],0,0]};convert.gray.hex=function(gray){var val=255&Math.round(gray[0]/100*255);var integer=(val<<16)+(val<<8)+val;var string=integer.toString(16).toUpperCase();return"000000".substring(string.length)+string};convert.rgb.gray=function(rgb){var val=(rgb[0]+rgb[1]+rgb[2])/3;return[val/255*100]}},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(85)&&!__webpack_require__(51)(function(){return 7!=Object.defineProperty(__webpack_require__(464)("div"),"a",{get:function(){return 7}}).a})},function(module,exports,__webpack_require__){"use strict";var toObject=__webpack_require__(118);var toAbsoluteIndex=__webpack_require__(198);var toLength=__webpack_require__(67);module.exports=[].copyWithin||function copyWithin(target,start){var O=toObject(this);var len=toLength(O.length);var to=toAbsoluteIndex(target,len);var from=toAbsoluteIndex(start,len);var end=arguments.length>2?arguments[2]:void 0;var count=Math.min((void 0===end?len:toAbsoluteIndex(end,len))-from,len-to);var inc=1;if(from<to&&to<from+count){inc=-1;from+=count-1;to+=count-1}while(count-- >0){from in O?O[to]=O[from]:delete O[to];to+=inc;from+=inc}return O}},function(module,exports,__webpack_require__){var cof=__webpack_require__(200);module.exports=Array.isArray||function isArray(arg){return"Array"==cof(arg)}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(39);module.exports=function(iterator,fn,value,entries){try{return entries?fn(anObject(value)[0],value[1]):fn(value)}catch(e){var ret=iterator["return"];void 0!==ret&&anObject(ret.call(iterator));throw e}}},function(module,exports){module.exports=function(done,value){return{value:value,done:!!done}}},function(module,exports,__webpack_require__){"use strict";var LIBRARY=__webpack_require__(202);var $export=__webpack_require__(11);var redefine=__webpack_require__(134);var hide=__webpack_require__(98);var has=__webpack_require__(86);var Iterators=__webpack_require__(201);var $iterCreate=__webpack_require__(2114);var setToStringTag=__webpack_require__(203);var getPrototypeOf=__webpack_require__(204);var ITERATOR=__webpack_require__(45)("iterator");var BUGGY=!([].keys&&"next"in[].keys());var FF_ITERATOR="@@iterator";var KEYS="keys";var VALUES="values";var returnThis=function(){return this};module.exports=function(Base,NAME,Constructor,next,DEFAULT,IS_SET,FORCED){$iterCreate(Constructor,NAME,next);var getMethod=function(kind){if(!BUGGY&&kind in proto)return proto[kind];switch(kind){case KEYS:return function keys(){return new Constructor(this,kind)};case VALUES:return function values(){return new Constructor(this,kind)}}return function entries(){return new Constructor(this,kind)}};var TAG=NAME+" Iterator";var DEF_VALUES=DEFAULT==VALUES;var VALUES_BUG=false;var proto=Base.prototype;var $native=proto[ITERATOR]||proto[FF_ITERATOR]||DEFAULT&&proto[DEFAULT];var $default=!BUGGY&&$native||getMethod(DEFAULT);var $entries=DEFAULT?DEF_VALUES?getMethod("entries"):$default:void 0;var $anyNative="Array"==NAME&&proto.entries||$native;var methods,key,IteratorPrototype;if($anyNative){IteratorPrototype=getPrototypeOf($anyNative.call(new Base));if(IteratorPrototype!==Object.prototype&&IteratorPrototype.next){setToStringTag(IteratorPrototype,TAG,true);LIBRARY||has(IteratorPrototype,ITERATOR)||hide(IteratorPrototype,ITERATOR,returnThis)}}if(DEF_VALUES&&$native&&$native.name!==VALUES){VALUES_BUG=true;$default=function values(){return $native.call(this)}}LIBRARY&&!FORCED||!BUGGY&&!VALUES_BUG&&proto[ITERATOR]||hide(proto,ITERATOR,$default);Iterators[NAME]=$default;Iterators[TAG]=returnThis;if(DEFAULT){methods={values:DEF_VALUES?$default:getMethod(VALUES),keys:IS_SET?$default:getMethod(KEYS),entries:$entries};if(FORCED)for(key in methods)key in proto||redefine(proto,key,methods[key]);else $export($export.P+$export.F*(BUGGY||VALUES_BUG),NAME,methods)}return methods}},function(module,exports,__webpack_require__){var has=__webpack_require__(86);var toIObject=__webpack_require__(106);var arrayIndexOf=__webpack_require__(473)(false);var IE_PROTO=__webpack_require__(474)("IE_PROTO");module.exports=function(object,names){var O=toIObject(object);var i=0;var result=[];var key;for(key in O)key!=IE_PROTO&&has(O,key)&&result.push(key);while(names.length>i)has(O,key=names[i++])&&(~arrayIndexOf(result,key)||result.push(key));return result}},function(module,exports,__webpack_require__){var document=__webpack_require__(36).document;module.exports=document&&document.documentElement},function(module,exports,__webpack_require__){"use strict";var dP=__webpack_require__(62).f;var create=__webpack_require__(249);var redefineAll=__webpack_require__(205);var ctx=__webpack_require__(117);var anInstance=__webpack_require__(206);var forOf=__webpack_require__(324);var $iterDefine=__webpack_require__(841);var step=__webpack_require__(840);var setSpecies=__webpack_require__(325);var DESCRIPTORS=__webpack_require__(85);var fastKey=__webpack_require__(135).fastKey;var validate=__webpack_require__(207);var SIZE=DESCRIPTORS?"_s":"size";var getEntry=function(that,key){var index=fastKey(key);var entry;if("F"!==index)return that._i[index];for(entry=that._f;entry;entry=entry.n)if(entry.k==key)return entry};module.exports={getConstructor:function(wrapper,NAME,IS_MAP,ADDER){var C=wrapper(function(that,iterable){anInstance(that,C,NAME,"_i");that._t=NAME;that._i=create(null);that._f=void 0;that._l=void 0;that[SIZE]=0;void 0!=iterable&&forOf(iterable,IS_MAP,that[ADDER],that)});redefineAll(C.prototype,{clear:function clear(){for(var that=validate(this,NAME),data=that._i,entry=that._f;entry;entry=entry.n){entry.r=true;entry.p&&(entry.p=entry.p.n=void 0);delete data[entry.i]}that._f=that._l=void 0;that[SIZE]=0},delete:function(key){var that=validate(this,NAME);var entry=getEntry(that,key);if(entry){var next=entry.n;var prev=entry.p;delete that._i[entry.i];entry.r=true;prev&&(prev.n=next);next&&(next.p=prev);that._f==entry&&(that._f=next);that._l==entry&&(that._l=prev);that[SIZE]--}return!!entry},forEach:function forEach(callbackfn){validate(this,NAME);var f=ctx(callbackfn,arguments.length>1?arguments[1]:void 0,3);var entry;while(entry=entry?entry.n:this._f){f(entry.v,entry.k,this);while(entry&&entry.r)entry=entry.p}},has:function has(key){return!!getEntry(validate(this,NAME),key)}});DESCRIPTORS&&dP(C.prototype,"size",{get:function(){return validate(this,NAME)[SIZE]}});return C},def:function(that,key,value){var entry=getEntry(that,key);var prev,index;if(entry)entry.v=value;else{that._l=entry={i:index=fastKey(key,true),k:key,v:value,p:prev=that._l,n:void 0,r:false};that._f||(that._f=entry);prev&&(prev.n=entry);that[SIZE]++;"F"!==index&&(that._i[index]=entry)}return that},getEntry:getEntry,setStrong:function(C,NAME,IS_MAP){$iterDefine(C,NAME,function(iterated,kind){this._t=validate(iterated,NAME);this._k=kind;this._l=void 0},function(){var that=this;var kind=that._k;var entry=that._l;while(entry&&entry.r)entry=entry.p;if(!that._t||!(that._l=entry=entry?entry.n:that._t._f)){that._t=void 0;return step(1)}if("keys"==kind)return step(0,entry.k);if("values"==kind)return step(0,entry.v);return step(0,[entry.k,entry.v])},IS_MAP?"entries":"values",!IS_MAP,true);setSpecies(NAME)}}},function(module,exports){module.exports=Math.log1p||function log1p(x){return(x=+x)>-1e-8&&x<1e-8?x-x*x/2:Math.log(1+x)}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);var floor=Math.floor;module.exports=function isInteger(it){return!isObject(it)&&isFinite(it)&&floor(it)===it}},function(module,exports,__webpack_require__){"use strict";var getKeys=__webpack_require__(171);var gOPS=__webpack_require__(327);var pIE=__webpack_require__(250);var toObject=__webpack_require__(118);var IObject=__webpack_require__(467);var $assign=Object.assign;module.exports=!$assign||__webpack_require__(51)(function(){var A={};var B={};var S=Symbol();var K="abcdefghijklmnopqrst";A[S]=7;K.split("").forEach(function(k){B[k]=k});return 7!=$assign({},A)[S]||Object.keys($assign({},B)).join("")!=K})?function assign(target,source){var T=toObject(target);var aLen=arguments.length;var index=1;var getSymbols=gOPS.f;var isEnum=pIE.f;while(aLen>index){var S=IObject(arguments[index++]);var keys=getSymbols?getKeys(S).concat(getSymbols(S)):getKeys(S);var length=keys.length;var j=0;var key;while(length>j)isEnum.call(S,key=keys[j++])&&(T[key]=S[key])}return T}:$assign},function(module,exports,__webpack_require__){var toIObject=__webpack_require__(106);var gOPN=__webpack_require__(251).f;var toString={}.toString;var windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];var getWindowNames=function(it){try{return gOPN(it)}catch(e){return windowNames.slice()}};module.exports.f=function getOwnPropertyNames(it){return windowNames&&"[object Window]"==toString.call(it)?getWindowNames(it):gOPN(toIObject(it))}},function(module,exports){module.exports=function(fn,args,that){var un=void 0===that;switch(args.length){case 0:return un?fn():fn.call(that);case 1:return un?fn(args[0]):fn.call(that,args[0]);case 2:return un?fn(args[0],args[1]):fn.call(that,args[0],args[1]);case 3:return un?fn(args[0],args[1],args[2]):fn.call(that,args[0],args[1],args[2]);case 4:return un?fn(args[0],args[1],args[2],args[3]):fn.call(that,args[0],args[1],args[2],args[3])}return fn.apply(that,args)}},function(module,exports,__webpack_require__){"use strict";var aFunction=__webpack_require__(168);function PromiseCapability(C){var resolve,reject;this.promise=new C(function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw TypeError("Bad Promise constructor");resolve=$$resolve;reject=$$reject});this.resolve=aFunction(resolve);this.reject=aFunction(reject)}module.exports.f=function(C){return new PromiseCapability(C)}},function(module,exports,__webpack_require__){var gOPN=__webpack_require__(251);var gOPS=__webpack_require__(327);var anObject=__webpack_require__(39);var Reflect=__webpack_require__(36).Reflect;module.exports=Reflect&&Reflect.ownKeys||function ownKeys(it){var keys=gOPN.f(anObject(it));var getSymbols=gOPS.f;return getSymbols?keys.concat(getSymbols(it)):keys}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);var cof=__webpack_require__(200);var MATCH=__webpack_require__(45)("match");module.exports=function(it){var isRegExp;return isObject(it)&&(void 0!==(isRegExp=it[MATCH])?!!isRegExp:"RegExp"==cof(it))}},function(module,exports,__webpack_require__){"use strict";var toInteger=__webpack_require__(170);var defined=__webpack_require__(169);module.exports=function repeat(count){var str=String(defined(this));var res="";var n=toInteger(count);if(n<0||Infinity==n)throw RangeError("Count can't be negative");for(;n>0;(n>>>=1)&&(str+=str))1&n&&(res+=str);return res}},function(module,exports,__webpack_require__){exports.f=__webpack_require__(45)},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(36);var DESCRIPTORS=__webpack_require__(85);var LIBRARY=__webpack_require__(202);var $typed=__webpack_require__(483);var hide=__webpack_require__(98);var redefineAll=__webpack_require__(205);var fails=__webpack_require__(51);var anInstance=__webpack_require__(206);var toInteger=__webpack_require__(170);var toLength=__webpack_require__(67);var toIndex=__webpack_require__(856);var gOPN=__webpack_require__(251).f;var dP=__webpack_require__(62).f;var arrayFill=__webpack_require__(466);var setToStringTag=__webpack_require__(203);var ARRAY_BUFFER="ArrayBuffer";var DATA_VIEW="DataView";var PROTOTYPE="prototype";var WRONG_LENGTH="Wrong length!";var WRONG_INDEX="Wrong index!";var $ArrayBuffer=global[ARRAY_BUFFER];var $DataView=global[DATA_VIEW];var Math=global.Math;var RangeError=global.RangeError;var Infinity=global.Infinity;var BaseBuffer=$ArrayBuffer;var abs=Math.abs;var pow=Math.pow;var floor=Math.floor;var log=Math.log;var LN2=Math.LN2;var BUFFER="buffer";var BYTE_LENGTH="byteLength";var BYTE_OFFSET="byteOffset";var $BUFFER=DESCRIPTORS?"_b":BUFFER;var $LENGTH=DESCRIPTORS?"_l":BYTE_LENGTH;var $OFFSET=DESCRIPTORS?"_o":BYTE_OFFSET;function packIEEE754(value,mLen,nBytes){var buffer=new Array(nBytes);var eLen=8*nBytes-mLen-1;var eMax=(1<<eLen)-1;var eBias=eMax>>1;var rt=23===mLen?pow(2,-24)-pow(2,-77):0;var i=0;var s=value<0||0===value&&1/value<0?1:0;var e,m,c;value=abs(value);if(value!=value||value===Infinity){m=value!=value?1:0;e=eMax}else{e=floor(log(value)/LN2);if(value*(c=pow(2,-e))<1){e--;c*=2}value+=e+eBias>=1?rt/c:rt*pow(2,1-eBias);if(value*c>=2){e++;c/=2}if(e+eBias>=eMax){m=0;e=eMax}else if(e+eBias>=1){m=(value*c-1)*pow(2,mLen);e+=eBias}else{m=value*pow(2,eBias-1)*pow(2,mLen);e=0}}for(;mLen>=8;buffer[i++]=255&m,m/=256,mLen-=8);e=e<<mLen|m;eLen+=mLen;for(;eLen>0;buffer[i++]=255&e,e/=256,eLen-=8);buffer[--i]|=128*s;return buffer}function unpackIEEE754(buffer,mLen,nBytes){var eLen=8*nBytes-mLen-1;var eMax=(1<<eLen)-1;var eBias=eMax>>1;var nBits=eLen-7;var i=nBytes-1;var s=buffer[i--];var e=127&s;var m;s>>=7;for(;nBits>0;e=256*e+buffer[i],i--,nBits-=8);m=e&(1<<-nBits)-1;e>>=-nBits;nBits+=mLen;for(;nBits>0;m=256*m+buffer[i],i--,nBits-=8);if(0===e)e=1-eBias;else{if(e===eMax)return m?NaN:s?-Infinity:Infinity;m+=pow(2,mLen);e-=eBias}return(s?-1:1)*m*pow(2,e-mLen)}function unpackI32(bytes){return bytes[3]<<24|bytes[2]<<16|bytes[1]<<8|bytes[0]}function packI8(it){return[255&it]}function packI16(it){return[255&it,it>>8&255]}function packI32(it){return[255&it,it>>8&255,it>>16&255,it>>24&255]}function packF64(it){return packIEEE754(it,52,8)}function packF32(it){return packIEEE754(it,23,4)}function addGetter(C,key,internal){dP(C[PROTOTYPE],key,{get:function(){return this[internal]}})}function get(view,bytes,index,isLittleEndian){var numIndex=+index;var intIndex=toIndex(numIndex);if(intIndex+bytes>view[$LENGTH])throw RangeError(WRONG_INDEX);var store=view[$BUFFER]._b;var start=intIndex+view[$OFFSET];var pack=store.slice(start,start+bytes);return isLittleEndian?pack:pack.reverse()}function set(view,bytes,index,conversion,value,isLittleEndian){var numIndex=+index;var intIndex=toIndex(numIndex);if(intIndex+bytes>view[$LENGTH])throw RangeError(WRONG_INDEX);var store=view[$BUFFER]._b;var start=intIndex+view[$OFFSET];var pack=conversion(+value);for(var i=0;i<bytes;i++)store[start+i]=pack[isLittleEndian?i:bytes-i-1]}if($typed.ABV){if(!fails(function(){$ArrayBuffer(1)})||!fails(function(){new $ArrayBuffer(-1)})||fails(function(){new $ArrayBuffer;new $ArrayBuffer(1.5);new $ArrayBuffer(NaN);return $ArrayBuffer.name!=ARRAY_BUFFER})){$ArrayBuffer=function ArrayBuffer(length){anInstance(this,$ArrayBuffer);return new BaseBuffer(toIndex(length))};var ArrayBufferProto=$ArrayBuffer[PROTOTYPE]=BaseBuffer[PROTOTYPE];for(var key,keys=gOPN(BaseBuffer),j=0;keys.length>j;)(key=keys[j++])in $ArrayBuffer||hide($ArrayBuffer,key,BaseBuffer[key]);LIBRARY||(ArrayBufferProto.constructor=$ArrayBuffer)}var view=new $DataView(new $ArrayBuffer(2));var $setInt8=$DataView[PROTOTYPE].setInt8;view.setInt8(0,2147483648);view.setInt8(1,2147483649);!view.getInt8(0)&&view.getInt8(1)||redefineAll($DataView[PROTOTYPE],{setInt8:function setInt8(byteOffset,value){$setInt8.call(this,byteOffset,value<<24>>24)},setUint8:function setUint8(byteOffset,value){$setInt8.call(this,byteOffset,value<<24>>24)}},true)}else{$ArrayBuffer=function ArrayBuffer(length){anInstance(this,$ArrayBuffer,ARRAY_BUFFER);var byteLength=toIndex(length);this._b=arrayFill.call(new Array(byteLength),0);this[$LENGTH]=byteLength};$DataView=function DataView(buffer,byteOffset,byteLength){anInstance(this,$DataView,DATA_VIEW);anInstance(buffer,$ArrayBuffer,DATA_VIEW);var bufferLength=buffer[$LENGTH];var offset=toInteger(byteOffset);if(offset<0||offset>bufferLength)throw RangeError("Wrong offset!");byteLength=void 0===byteLength?bufferLength-offset:toLength(byteLength);if(offset+byteLength>bufferLength)throw RangeError(WRONG_LENGTH);this[$BUFFER]=buffer;this[$OFFSET]=offset;this[$LENGTH]=byteLength};if(DESCRIPTORS){addGetter($ArrayBuffer,BYTE_LENGTH,"_l");addGetter($DataView,BUFFER,"_b");addGetter($DataView,BYTE_LENGTH,"_l");addGetter($DataView,BYTE_OFFSET,"_o")}redefineAll($DataView[PROTOTYPE],{getInt8:function getInt8(byteOffset){return get(this,1,byteOffset)[0]<<24>>24},getUint8:function getUint8(byteOffset){return get(this,1,byteOffset)[0]},getInt16:function getInt16(byteOffset){var bytes=get(this,2,byteOffset,arguments[1]);return(bytes[1]<<8|bytes[0])<<16>>16},getUint16:function getUint16(byteOffset){var bytes=get(this,2,byteOffset,arguments[1]);return bytes[1]<<8|bytes[0]},getInt32:function getInt32(byteOffset){return unpackI32(get(this,4,byteOffset,arguments[1]))},getUint32:function getUint32(byteOffset){return unpackI32(get(this,4,byteOffset,arguments[1]))>>>0},getFloat32:function getFloat32(byteOffset){return unpackIEEE754(get(this,4,byteOffset,arguments[1]),23,4)},getFloat64:function getFloat64(byteOffset){return unpackIEEE754(get(this,8,byteOffset,arguments[1]),52,8)},setInt8:function setInt8(byteOffset,value){set(this,1,byteOffset,packI8,value)},setUint8:function setUint8(byteOffset,value){set(this,1,byteOffset,packI8,value)},setInt16:function setInt16(byteOffset,value){set(this,2,byteOffset,packI16,value,arguments[2])},setUint16:function setUint16(byteOffset,value){set(this,2,byteOffset,packI16,value,arguments[2])},setInt32:function setInt32(byteOffset,value){set(this,4,byteOffset,packI32,value,arguments[2])},setUint32:function setUint32(byteOffset,value){set(this,4,byteOffset,packI32,value,arguments[2])},setFloat32:function setFloat32(byteOffset,value){set(this,4,byteOffset,packF32,value,arguments[2])},setFloat64:function setFloat64(byteOffset,value){set(this,8,byteOffset,packF64,value,arguments[2])}})}setToStringTag($ArrayBuffer,ARRAY_BUFFER);setToStringTag($DataView,DATA_VIEW);hide($DataView[PROTOTYPE],$typed.VIEW,true);exports[ARRAY_BUFFER]=$ArrayBuffer;exports[DATA_VIEW]=$DataView},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(170);var toLength=__webpack_require__(67);module.exports=function(it){if(void 0===it)return 0;var number=toInteger(it);var length=toLength(number);if(number!==length)throw RangeError("Wrong length!");return length}},function(module,exports,__webpack_require__){"use strict";var redefineAll=__webpack_require__(205);var getWeak=__webpack_require__(135).getWeak;var anObject=__webpack_require__(39);var isObject=__webpack_require__(29);var anInstance=__webpack_require__(206);var forOf=__webpack_require__(324);var createArrayMethod=__webpack_require__(248);var $has=__webpack_require__(86);var validate=__webpack_require__(207);var arrayFind=createArrayMethod(5);var arrayFindIndex=createArrayMethod(6);var id=0;var uncaughtFrozenStore=function(that){return that._l||(that._l=new UncaughtFrozenStore)};var UncaughtFrozenStore=function(){this.a=[]};var findUncaughtFrozen=function(store,key){return arrayFind(store.a,function(it){return it[0]===key})};UncaughtFrozenStore.prototype={get:function(key){var entry=findUncaughtFrozen(this,key);if(entry)return entry[1]},has:function(key){return!!findUncaughtFrozen(this,key)},set:function(key,value){var entry=findUncaughtFrozen(this,key);entry?entry[1]=value:this.a.push([key,value])},delete:function(key){var index=arrayFindIndex(this.a,function(it){return it[0]===key});~index&&this.a.splice(index,1);return!!~index}};module.exports={getConstructor:function(wrapper,NAME,IS_MAP,ADDER){var C=wrapper(function(that,iterable){anInstance(that,C,NAME,"_i");that._t=NAME;that._i=id++;that._l=void 0;void 0!=iterable&&forOf(iterable,IS_MAP,that[ADDER],that)});redefineAll(C.prototype,{delete:function(key){if(!isObject(key))return false;var data=getWeak(key);if(true===data)return uncaughtFrozenStore(validate(this,NAME))["delete"](key);return data&&$has(data,this._i)&&delete data[this._i]},has:function has(key){if(!isObject(key))return false;var data=getWeak(key);if(true===data)return uncaughtFrozenStore(validate(this,NAME)).has(key);return data&&$has(data,this._i)}});return C},def:function(that,key,value){var data=getWeak(anObject(key),true);true===data?uncaughtFrozenStore(that).set(key,value):data[that._i]=value;return that},ufstore:uncaughtFrozenStore}},function(module,exports,__webpack_require__){var getKeys=__webpack_require__(171);var toIObject=__webpack_require__(106);var isEnum=__webpack_require__(250).f;module.exports=function(isEntries){return function(it){var O=toIObject(it);var keys=getKeys(O);var length=keys.length;var i=0;var result=[];var key;while(length>i)isEnum.call(O,key=keys[i++])&&result.push(isEntries?[key,O[key]]:O[key]);return result}}},function(module,exports,__webpack_require__){var toLength=__webpack_require__(67);var repeat=__webpack_require__(853);var defined=__webpack_require__(169);module.exports=function(that,maxLength,fillString,left){var S=String(defined(that));var stringLength=S.length;var fillStr=void 0===fillString?" ":String(fillString);var intMaxLength=toLength(maxLength);if(intMaxLength<=stringLength||""==fillStr)return S;var fillLen=intMaxLength-stringLength;var stringFiller=repeat.call(fillStr,Math.ceil(fillLen/fillStr.length));stringFiller.length>fillLen&&(stringFiller=stringFiller.slice(0,fillLen));return left?stringFiller+S:S+stringFiller}},function(module,exports){void function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:false,exports:{}};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.l=true;return module.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:false,enumerable:true,get:getter})};__webpack_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module["default"]}:function getModuleExports(){return module};__webpack_require__.d(getter,"a",getter);return getter};__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)};__webpack_require__.p="";return __webpack_require__(__webpack_require__.s=27)}([function(module,exports,__webpack_require__){(function(global,module){var __WEBPACK_AMD_DEFINE_RESULT__;
/**
 * @license
 * Lodash <https://lodash.com/>
 * Copyright JS Foundation and other contributors <https://js.foundation/>
 * Released under MIT license <https://lodash.com/license>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 */(function(){var undefined;var VERSION="4.17.11";var LARGE_ARRAY_SIZE=200;var CORE_ERROR_TEXT="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",FUNC_ERROR_TEXT="Expected a function";var HASH_UNDEFINED="__lodash_hash_undefined__";var MAX_MEMOIZE_SIZE=500;var PLACEHOLDER="__lodash_placeholder__";var CLONE_DEEP_FLAG=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG=4;var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;var WRAP_BIND_FLAG=1,WRAP_BIND_KEY_FLAG=2,WRAP_CURRY_BOUND_FLAG=4,WRAP_CURRY_FLAG=8,WRAP_CURRY_RIGHT_FLAG=16,WRAP_PARTIAL_FLAG=32,WRAP_PARTIAL_RIGHT_FLAG=64,WRAP_ARY_FLAG=128,WRAP_REARG_FLAG=256,WRAP_FLIP_FLAG=512;var DEFAULT_TRUNC_LENGTH=30,DEFAULT_TRUNC_OMISSION="...";var HOT_COUNT=800,HOT_SPAN=16;var LAZY_FILTER_FLAG=1,LAZY_MAP_FLAG=2,LAZY_WHILE_FLAG=3;var INFINITY=1/0,MAX_SAFE_INTEGER=9007199254740991,MAX_INTEGER=1.7976931348623157e308,NAN=NaN;var MAX_ARRAY_LENGTH=4294967295,MAX_ARRAY_INDEX=MAX_ARRAY_LENGTH-1,HALF_MAX_ARRAY_LENGTH=MAX_ARRAY_LENGTH>>>1;var wrapFlags=[["ary",WRAP_ARY_FLAG],["bind",WRAP_BIND_FLAG],["bindKey",WRAP_BIND_KEY_FLAG],["curry",WRAP_CURRY_FLAG],["curryRight",WRAP_CURRY_RIGHT_FLAG],["flip",WRAP_FLIP_FLAG],["partial",WRAP_PARTIAL_FLAG],["partialRight",WRAP_PARTIAL_RIGHT_FLAG],["rearg",WRAP_REARG_FLAG]];var argsTag="[object Arguments]",arrayTag="[object Array]",asyncTag="[object AsyncFunction]",boolTag="[object Boolean]",dateTag="[object Date]",domExcTag="[object DOMException]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",nullTag="[object Null]",objectTag="[object Object]",promiseTag="[object Promise]",proxyTag="[object Proxy]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",undefinedTag="[object Undefined]",weakMapTag="[object WeakMap]",weakSetTag="[object WeakSet]";var arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";var reEmptyStringLeading=/\b__p \+= '';/g,reEmptyStringMiddle=/\b(__p \+=) '' \+/g,reEmptyStringTrailing=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var reEscapedHtml=/&(?:amp|lt|gt|quot|#39);/g,reUnescapedHtml=/[&<>"']/g,reHasEscapedHtml=RegExp(reEscapedHtml.source),reHasUnescapedHtml=RegExp(reUnescapedHtml.source);var reEscape=/<%-([\s\S]+?)%>/g,reEvaluate=/<%([\s\S]+?)%>/g,reInterpolate=/<%=([\s\S]+?)%>/g;var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reHasRegExpChar=RegExp(reRegExpChar.source);var reTrim=/^\s+|\s+$/g,reTrimStart=/^\s+/,reTrimEnd=/\s+$/;var reWrapComment=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,reWrapDetails=/\{\n\/\* \[wrapped with (.+)\] \*/,reSplitDetails=/,? & /;var reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var reEscapeChar=/\\(\\)?/g;var reEsTemplate=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var reFlags=/\w*$/;var reIsBadHex=/^[-+]0x[0-9a-f]+$/i;var reIsBinary=/^0b[01]+$/i;var reIsHostCtor=/^\[object .+?Constructor\]$/;var reIsOctal=/^0o[0-7]+$/i;var reIsUint=/^(?:0|[1-9]\d*)$/;var reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var reNoMatch=/($^)/;var reUnescapedString=/['\n\r\u2028\u2029\\]/g;var rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f",reComboHalfMarksRange="\\ufe20-\\ufe2f",rsComboSymbolsRange="\\u20d0-\\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsDingbatRange="\\u2700-\\u27bf",rsLowerRange="a-z\\xdf-\\xf6\\xf8-\\xff",rsMathOpRange="\\xac\\xb1\\xd7\\xf7",rsNonCharRange="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",rsPunctuationRange="\\u2000-\\u206f",rsSpaceRange=" \\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",rsUpperRange="A-Z\\xc0-\\xd6\\xd8-\\xde",rsVarRange="\\ufe0e\\ufe0f",rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange;var rsApos="['’]",rsAstral="["+rsAstralRange+"]",rsBreak="["+rsBreakRange+"]",rsCombo="["+rsComboRange+"]",rsDigits="\\d+",rsDingbat="["+rsDingbatRange+"]",rsLower="["+rsLowerRange+"]",rsMisc="[^"+rsAstralRange+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="["+rsUpperRange+"]",rsZWJ="\\u200d";var rsMiscLower="(?:"+rsLower+"|"+rsMisc+")",rsMiscUpper="(?:"+rsUpper+"|"+rsMisc+")",rsOptContrLower="(?:"+rsApos+"(?:d|ll|m|re|s|t|ve))?",rsOptContrUpper="(?:"+rsApos+"(?:D|LL|M|RE|S|T|VE))?",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsOrdLower="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rsOrdUpper="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsEmoji="(?:"+[rsDingbat,rsRegional,rsSurrPair].join("|")+")"+rsSeq,rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")";var reApos=RegExp(rsApos,"g");var reComboMark=RegExp(rsCombo,"g");var reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g");var reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+"+rsOptContrLower+"(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsMiscUpper+"+"+rsOptContrUpper+"(?="+[rsBreak,rsUpper+rsMiscLower,"$"].join("|")+")",rsUpper+"?"+rsMiscLower+"+"+rsOptContrLower,rsUpper+"+"+rsOptContrUpper,rsOrdUpper,rsOrdLower,rsDigits,rsEmoji].join("|"),"g");var reHasUnicode=RegExp("["+rsZWJ+rsAstralRange+rsComboRange+rsVarRange+"]");var reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var contextProps=["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"];var templateCounter=-1;var typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=true;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=false;var cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=true;cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=false;var deburredLetters={"À":"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","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"};var htmlEscapes={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};var htmlUnescapes={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"};var stringEscapes={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var freeParseFloat=parseFloat,freeParseInt=parseInt;var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;var freeSelf="object"==typeof self&&self&&self.Object===Object&&self;var root=freeGlobal||freeSelf||Function("return this")();var freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports;var freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module;var moduleExports=freeModule&&freeModule.exports===freeExports;var freeProcess=moduleExports&&freeGlobal.process;var nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;if(types)return types;return freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();var nodeIsArrayBuffer=nodeUtil&&nodeUtil.isArrayBuffer,nodeIsDate=nodeUtil&&nodeUtil.isDate,nodeIsMap=nodeUtil&&nodeUtil.isMap,nodeIsRegExp=nodeUtil&&nodeUtil.isRegExp,nodeIsSet=nodeUtil&&nodeUtil.isSet,nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray;function apply(func,thisArg,args){switch(args.length){case 0:return func.call(thisArg);case 1:return func.call(thisArg,args[0]);case 2:return func.call(thisArg,args[0],args[1]);case 3:return func.call(thisArg,args[0],args[1],args[2])}return func.apply(thisArg,args)}function arrayAggregator(array,setter,iteratee,accumulator){var index=-1,length=null==array?0:array.length;while(++index<length){var value=array[index];setter(accumulator,value,iteratee(value),array)}return accumulator}function arrayEach(array,iteratee){var index=-1,length=null==array?0:array.length;while(++index<length)if(false===iteratee(array[index],index,array))break;return array}function arrayEachRight(array,iteratee){var length=null==array?0:array.length;while(length--)if(false===iteratee(array[length],length,array))break;return array}function arrayEvery(array,predicate){var index=-1,length=null==array?0:array.length;while(++index<length)if(!predicate(array[index],index,array))return false;return true}function arrayFilter(array,predicate){var index=-1,length=null==array?0:array.length,resIndex=0,result=[];while(++index<length){var value=array[index];predicate(value,index,array)&&(result[resIndex++]=value)}return result}function arrayIncludes(array,value){var length=null==array?0:array.length;return!!length&&baseIndexOf(array,value,0)>-1}function arrayIncludesWith(array,value,comparator){var index=-1,length=null==array?0:array.length;while(++index<length)if(comparator(value,array[index]))return true;return false}function arrayMap(array,iteratee){var index=-1,length=null==array?0:array.length,result=Array(length);while(++index<length)result[index]=iteratee(array[index],index,array);return result}function arrayPush(array,values){var index=-1,length=values.length,offset=array.length;while(++index<length)array[offset+index]=values[index];return array}function arrayReduce(array,iteratee,accumulator,initAccum){var index=-1,length=null==array?0:array.length;initAccum&&length&&(accumulator=array[++index]);while(++index<length)accumulator=iteratee(accumulator,array[index],index,array);return accumulator}function arrayReduceRight(array,iteratee,accumulator,initAccum){var length=null==array?0:array.length;initAccum&&length&&(accumulator=array[--length]);while(length--)accumulator=iteratee(accumulator,array[length],length,array);return accumulator}function arraySome(array,predicate){var index=-1,length=null==array?0:array.length;while(++index<length)if(predicate(array[index],index,array))return true;return false}var asciiSize=baseProperty("length");function asciiToArray(string){return string.split("")}function asciiWords(string){return string.match(reAsciiWord)||[]}function baseFindKey(collection,predicate,eachFunc){var result;eachFunc(collection,function(value,key,collection){if(predicate(value,key,collection)){result=key;return false}});return result}function baseFindIndex(array,predicate,fromIndex,fromRight){var length=array.length,index=fromIndex+(fromRight?1:-1);while(fromRight?index--:++index<length)if(predicate(array[index],index,array))return index;return-1}function baseIndexOf(array,value,fromIndex){return value===value?strictIndexOf(array,value,fromIndex):baseFindIndex(array,baseIsNaN,fromIndex)}function baseIndexOfWith(array,value,fromIndex,comparator){var index=fromIndex-1,length=array.length;while(++index<length)if(comparator(array[index],value))return index;return-1}function baseIsNaN(value){return value!==value}function baseMean(array,iteratee){var length=null==array?0:array.length;return length?baseSum(array,iteratee)/length:NAN}function baseProperty(key){return function(object){return null==object?undefined:object[key]}}function basePropertyOf(object){return function(key){return null==object?undefined:object[key]}}function baseReduce(collection,iteratee,accumulator,initAccum,eachFunc){eachFunc(collection,function(value,index,collection){accumulator=initAccum?(initAccum=false,value):iteratee(accumulator,value,index,collection)});return accumulator}function baseSortBy(array,comparer){var length=array.length;array.sort(comparer);while(length--)array[length]=array[length].value;return array}function baseSum(array,iteratee){var result,index=-1,length=array.length;while(++index<length){var current=iteratee(array[index]);current!==undefined&&(result=result===undefined?current:result+current)}return result}function baseTimes(n,iteratee){var index=-1,result=Array(n);while(++index<n)result[index]=iteratee(index);return result}function baseToPairs(object,props){return arrayMap(props,function(key){return[key,object[key]]})}function baseUnary(func){return function(value){return func(value)}}function baseValues(object,props){return arrayMap(props,function(key){return object[key]})}function cacheHas(cache,key){return cache.has(key)}function charsStartIndex(strSymbols,chrSymbols){var index=-1,length=strSymbols.length;while(++index<length&&baseIndexOf(chrSymbols,strSymbols[index],0)>-1);return index}function charsEndIndex(strSymbols,chrSymbols){var index=strSymbols.length;while(index--&&baseIndexOf(chrSymbols,strSymbols[index],0)>-1);return index}function countHolders(array,placeholder){var length=array.length,result=0;while(length--)array[length]===placeholder&&++result;return result}var deburrLetter=basePropertyOf(deburredLetters);var escapeHtmlChar=basePropertyOf(htmlEscapes);function escapeStringChar(chr){return"\\"+stringEscapes[chr]}function getValue(object,key){return null==object?undefined:object[key]}function hasUnicode(string){return reHasUnicode.test(string)}function hasUnicodeWord(string){return reHasUnicodeWord.test(string)}function iteratorToArray(iterator){var data,result=[];while(!(data=iterator.next()).done)result.push(data.value);return result}function mapToArray(map){var index=-1,result=Array(map.size);map.forEach(function(value,key){result[++index]=[key,value]});return result}function overArg(func,transform){return function(arg){return func(transform(arg))}}function replaceHolders(array,placeholder){var index=-1,length=array.length,resIndex=0,result=[];while(++index<length){var value=array[index];if(value===placeholder||value===PLACEHOLDER){array[index]=PLACEHOLDER;result[resIndex++]=index}}return result}function setToArray(set){var index=-1,result=Array(set.size);set.forEach(function(value){result[++index]=value});return result}function setToPairs(set){var index=-1,result=Array(set.size);set.forEach(function(value){result[++index]=[value,value]});return result}function strictIndexOf(array,value,fromIndex){var index=fromIndex-1,length=array.length;while(++index<length)if(array[index]===value)return index;return-1}function strictLastIndexOf(array,value,fromIndex){var index=fromIndex+1;while(index--)if(array[index]===value)return index;return index}function stringSize(string){return hasUnicode(string)?unicodeSize(string):asciiSize(string)}function stringToArray(string){return hasUnicode(string)?unicodeToArray(string):asciiToArray(string)}var unescapeHtmlChar=basePropertyOf(htmlUnescapes);function unicodeSize(string){var result=reUnicode.lastIndex=0;while(reUnicode.test(string))++result;return result}function unicodeToArray(string){return string.match(reUnicode)||[]}function unicodeWords(string){return string.match(reUnicodeWord)||[]}var runInContext=function runInContext(context){context=null==context?root:_.defaults(root.Object(),context,_.pick(root,contextProps));var Array=context.Array,Date=context.Date,Error=context.Error,Function=context.Function,Math=context.Math,Object=context.Object,RegExp=context.RegExp,String=context.String,TypeError=context.TypeError;var arrayProto=Array.prototype,funcProto=Function.prototype,objectProto=Object.prototype;var coreJsData=context["__core-js_shared__"];var funcToString=funcProto.toString;var hasOwnProperty=objectProto.hasOwnProperty;var idCounter=0;var maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""),uid?"Symbol(src)_1."+uid:"");var uid;var nativeObjectToString=objectProto.toString;var objectCtorString=funcToString.call(Object);var oldDash=root._;var reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Buffer=moduleExports?context.Buffer:undefined,Symbol=context.Symbol,Uint8Array=context.Uint8Array,allocUnsafe=Buffer?Buffer.allocUnsafe:undefined,getPrototype=overArg(Object.getPrototypeOf,Object),objectCreate=Object.create,propertyIsEnumerable=objectProto.propertyIsEnumerable,splice=arrayProto.splice,spreadableSymbol=Symbol?Symbol.isConcatSpreadable:undefined,symIterator=Symbol?Symbol.iterator:undefined,symToStringTag=Symbol?Symbol.toStringTag:undefined;var defineProperty=function(){try{var func=getNative(Object,"defineProperty");func({},"",{});return func}catch(e){}}();var ctxClearTimeout=context.clearTimeout!==root.clearTimeout&&context.clearTimeout,ctxNow=Date&&Date.now!==root.Date.now&&Date.now,ctxSetTimeout=context.setTimeout!==root.setTimeout&&context.setTimeout;var nativeCeil=Math.ceil,nativeFloor=Math.floor,nativeGetSymbols=Object.getOwnPropertySymbols,nativeIsBuffer=Buffer?Buffer.isBuffer:undefined,nativeIsFinite=context.isFinite,nativeJoin=arrayProto.join,nativeKeys=overArg(Object.keys,Object),nativeMax=Math.max,nativeMin=Math.min,nativeNow=Date.now,nativeParseInt=context.parseInt,nativeRandom=Math.random,nativeReverse=arrayProto.reverse;var DataView=getNative(context,"DataView"),Map=getNative(context,"Map"),Promise=getNative(context,"Promise"),Set=getNative(context,"Set"),WeakMap=getNative(context,"WeakMap"),nativeCreate=getNative(Object,"create");var metaMap=WeakMap&&new WeakMap;var realNames={};var dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap);var symbolProto=Symbol?Symbol.prototype:undefined,symbolValueOf=symbolProto?symbolProto.valueOf:undefined,symbolToString=symbolProto?symbolProto.toString:undefined;function lodash(value){if(isObjectLike(value)&&!isArray(value)&&!(value instanceof LazyWrapper)){if(value instanceof LodashWrapper)return value;if(hasOwnProperty.call(value,"__wrapped__"))return wrapperClone(value)}return new LodashWrapper(value)}var baseCreate=function(){function object(){}return function(proto){if(!isObject(proto))return{};if(objectCreate)return objectCreate(proto);object.prototype=proto;var result=new object;object.prototype=undefined;return result}}();function baseLodash(){}function LodashWrapper(value,chainAll){this.__wrapped__=value;this.__actions__=[];this.__chain__=!!chainAll;this.__index__=0;this.__values__=undefined}lodash.templateSettings={escape:reEscape,evaluate:reEvaluate,interpolate:reInterpolate,variable:"",imports:{_:lodash}};lodash.prototype=baseLodash.prototype;lodash.prototype.constructor=lodash;LodashWrapper.prototype=baseCreate(baseLodash.prototype);LodashWrapper.prototype.constructor=LodashWrapper;function LazyWrapper(value){this.__wrapped__=value;this.__actions__=[];this.__dir__=1;this.__filtered__=false;this.__iteratees__=[];this.__takeCount__=MAX_ARRAY_LENGTH;this.__views__=[]}function lazyClone(){var result=new LazyWrapper(this.__wrapped__);result.__actions__=copyArray(this.__actions__);result.__dir__=this.__dir__;result.__filtered__=this.__filtered__;result.__iteratees__=copyArray(this.__iteratees__);result.__takeCount__=this.__takeCount__;result.__views__=copyArray(this.__views__);return result}function lazyReverse(){if(this.__filtered__){var result=new LazyWrapper(this);result.__dir__=-1;result.__filtered__=true}else{result=this.clone();result.__dir__*=-1}return result}function lazyValue(){var array=this.__wrapped__.value(),dir=this.__dir__,isArr=isArray(array),isRight=dir<0,arrLength=isArr?array.length:0,view=getView(0,arrLength,this.__views__),start=view.start,end=view.end,length=end-start,index=isRight?end:start-1,iteratees=this.__iteratees__,iterLength=iteratees.length,resIndex=0,takeCount=nativeMin(length,this.__takeCount__);if(!isArr||!isRight&&arrLength==length&&takeCount==length)return baseWrapperValue(array,this.__actions__);var result=[];outer:while(length--&&resIndex<takeCount){index+=dir;var iterIndex=-1,value=array[index];while(++iterIndex<iterLength){var data=iteratees[iterIndex],iteratee=data.iteratee,type=data.type,computed=iteratee(value);if(type==LAZY_MAP_FLAG)value=computed;else if(!computed){if(type==LAZY_FILTER_FLAG)continue outer;break outer}}result[resIndex++]=value}return result}LazyWrapper.prototype=baseCreate(baseLodash.prototype);LazyWrapper.prototype.constructor=LazyWrapper;function Hash(entries){var index=-1,length=null==entries?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{};this.size=0}function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];this.size-=result?1:0;return result}function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?undefined:result}return hasOwnProperty.call(data,key)?data[key]:undefined}function hashHas(key){var data=this.__data__;return nativeCreate?data[key]!==undefined:hasOwnProperty.call(data,key)}function hashSet(key,value){var data=this.__data__;this.size+=this.has(key)?0:1;data[key]=nativeCreate&&value===undefined?HASH_UNDEFINED:value;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(entries){var index=-1,length=null==entries?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function listCacheClear(){this.__data__=[];this.size=0}function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0)return false;var lastIndex=data.length-1;index==lastIndex?data.pop():splice.call(data,index,1);--this.size;return true}function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?undefined:data[index][1]}function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){++this.size;data.push([key,value])}else data[index][1]=value;return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(entries){var index=-1,length=null==entries?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function mapCacheClear(){this.size=0;this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}function mapCacheDelete(key){var result=getMapData(this,key)["delete"](key);this.size-=result?1:0;return result}function mapCacheGet(key){return getMapData(this,key).get(key)}function mapCacheHas(key){return getMapData(this,key).has(key)}function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;data.set(key,value);this.size+=data.size==size?0:1;return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function SetCache(values){var index=-1,length=null==values?0:values.length;this.__data__=new MapCache;while(++index<length)this.add(values[index])}function setCacheAdd(value){this.__data__.set(value,HASH_UNDEFINED);return this}function setCacheHas(value){return this.__data__.has(value)}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function Stack(entries){var data=this.__data__=new ListCache(entries);this.size=data.size}function stackClear(){this.__data__=new ListCache;this.size=0}function stackDelete(key){var data=this.__data__,result=data["delete"](key);this.size=data.size;return result}function stackGet(key){return this.__data__.get(key)}function stackHas(key){return this.__data__.has(key)}function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<LARGE_ARRAY_SIZE-1){pairs.push([key,value]);this.size=++data.size;return this}data=this.__data__=new MapCache(pairs)}data.set(key,value);this.size=data.size;return this}Stack.prototype.clear=stackClear;Stack.prototype["delete"]=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)!inherited&&!hasOwnProperty.call(value,key)||skipIndexes&&("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length))||result.push(key);return result}function arraySample(array){var length=array.length;return length?array[baseRandom(0,length-1)]:undefined}function arraySampleSize(array,n){return shuffleSelf(copyArray(array),baseClamp(n,0,array.length))}function arrayShuffle(array){return shuffleSelf(copyArray(array))}function assignMergeValue(object,key,value){(value===undefined||eq(object[key],value))&&(value!==undefined||key in object)||baseAssignValue(object,key,value)}function assignValue(object,key,value){var objValue=object[key];hasOwnProperty.call(object,key)&&eq(objValue,value)&&(value!==undefined||key in object)||baseAssignValue(object,key,value)}function assocIndexOf(array,key){var length=array.length;while(length--)if(eq(array[length][0],key))return length;return-1}function baseAggregator(collection,setter,iteratee,accumulator){baseEach(collection,function(value,key,collection){setter(accumulator,value,iteratee(value),collection)});return accumulator}function baseAssign(object,source){return object&&copyObject(source,keys(source),object)}function baseAssignIn(object,source){return object&&copyObject(source,keysIn(source),object)}function baseAssignValue(object,key,value){"__proto__"==key&&defineProperty?defineProperty(object,key,{configurable:true,enumerable:true,value:value,writable:true}):object[key]=value}function baseAt(object,paths){var index=-1,length=paths.length,result=Array(length),skip=null==object;while(++index<length)result[index]=skip?undefined:get(object,paths[index]);return result}function baseClamp(number,lower,upper){if(number===number){upper!==undefined&&(number=number<=upper?number:upper);lower!==undefined&&(number=number>=lower?number:lower)}return number}function baseClone(value,bitmask,customizer,key,object,stack){var result,isDeep=bitmask&CLONE_DEEP_FLAG,isFlat=bitmask&CLONE_FLAT_FLAG,isFull=bitmask&CLONE_SYMBOLS_FLAG;customizer&&(result=object?customizer(value,key,object,stack):customizer(value));if(result!==undefined)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){result=initCloneArray(value);if(!isDeep)return copyArray(value,result)}else{var tag=getTag(value),isFunc=tag==funcTag||tag==genTag;if(isBuffer(value))return cloneBuffer(value,isDeep);if(tag==objectTag||tag==argsTag||isFunc&&!object){result=isFlat||isFunc?{}:initCloneObject(value);if(!isDeep)return isFlat?copySymbolsIn(value,baseAssignIn(result,value)):copySymbols(value,baseAssign(result,value))}else{if(!cloneableTags[tag])return object?value:{};result=initCloneByTag(value,tag,isDeep)}}stack||(stack=new Stack);var stacked=stack.get(value);if(stacked)return stacked;stack.set(value,result);if(isSet(value)){value.forEach(function(subValue){result.add(baseClone(subValue,bitmask,customizer,subValue,value,stack))});return result}if(isMap(value)){value.forEach(function(subValue,key){result.set(key,baseClone(subValue,bitmask,customizer,key,value,stack))});return result}var keysFunc=isFull?isFlat?getAllKeysIn:getAllKeys:isFlat?keysIn:keys;var props=isArr?undefined:keysFunc(value);arrayEach(props||value,function(subValue,key){if(props){key=subValue;subValue=value[key]}assignValue(result,key,baseClone(subValue,bitmask,customizer,key,value,stack))});return result}function baseConforms(source){var props=keys(source);return function(object){return baseConformsTo(object,source,props)}}function baseConformsTo(object,source,props){var length=props.length;if(null==object)return!length;object=Object(object);while(length--){var key=props[length],predicate=source[key],value=object[key];if(value===undefined&&!(key in object)||!predicate(value))return false}return true}function baseDelay(func,wait,args){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return setTimeout(function(){func.apply(undefined,args)},wait)}function baseDifference(array,values,iteratee,comparator){var index=-1,includes=arrayIncludes,isCommon=true,length=array.length,result=[],valuesLength=values.length;if(!length)return result;iteratee&&(values=arrayMap(values,baseUnary(iteratee)));if(comparator){includes=arrayIncludesWith;isCommon=false}else if(values.length>=LARGE_ARRAY_SIZE){includes=cacheHas;isCommon=false;values=new SetCache(values)}outer:while(++index<length){var value=array[index],computed=null==iteratee?value:iteratee(value);value=comparator||0!==value?value:0;if(isCommon&&computed===computed){var valuesIndex=valuesLength;while(valuesIndex--)if(values[valuesIndex]===computed)continue outer;result.push(value)}else includes(values,computed,comparator)||result.push(value)}return result}var baseEach=createBaseEach(baseForOwn);var baseEachRight=createBaseEach(baseForOwnRight,true);function baseEvery(collection,predicate){var result=true;baseEach(collection,function(value,index,collection){result=!!predicate(value,index,collection);return result});return result}function baseExtremum(array,iteratee,comparator){var index=-1,length=array.length;while(++index<length){var value=array[index],current=iteratee(value);if(null!=current&&(computed===undefined?current===current&&!isSymbol(current):comparator(current,computed)))var computed=current,result=value}return result}function baseFill(array,value,start,end){var length=array.length;start=toInteger(start);start<0&&(start=-start>length?0:length+start);end=end===undefined||end>length?length:toInteger(end);end<0&&(end+=length);end=start>end?0:toLength(end);while(start<end)array[start++]=value;return array}function baseFilter(collection,predicate){var result=[];baseEach(collection,function(value,index,collection){predicate(value,index,collection)&&result.push(value)});return result}function baseFlatten(array,depth,predicate,isStrict,result){var index=-1,length=array.length;predicate||(predicate=isFlattenable);result||(result=[]);while(++index<length){var value=array[index];depth>0&&predicate(value)?depth>1?baseFlatten(value,depth-1,predicate,isStrict,result):arrayPush(result,value):isStrict||(result[result.length]=value)}return result}var baseFor=createBaseFor();var baseForRight=createBaseFor(true);function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}function baseForOwnRight(object,iteratee){return object&&baseForRight(object,iteratee,keys)}function baseFunctions(object,props){return arrayFilter(props,function(key){return isFunction(object[key])})}function baseGet(object,path){path=castPath(path,object);var index=0,length=path.length;while(null!=object&&index<length)object=object[toKey(path[index++])];return index&&index==length?object:undefined}function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray(object)?result:arrayPush(result,symbolsFunc(object))}function baseGetTag(value){if(null==value)return value===undefined?undefinedTag:nullTag;return symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}function baseGt(value,other){return value>other}function baseHas(object,key){return null!=object&&hasOwnProperty.call(object,key)}function baseHasIn(object,key){return null!=object&&key in Object(object)}function baseInRange(number,start,end){return number>=nativeMin(start,end)&&number<nativeMax(start,end)}function baseIntersection(arrays,iteratee,comparator){var includes=comparator?arrayIncludesWith:arrayIncludes,length=arrays[0].length,othLength=arrays.length,othIndex=othLength,caches=Array(othLength),maxLength=Infinity,result=[];while(othIndex--){var array=arrays[othIndex];othIndex&&iteratee&&(array=arrayMap(array,baseUnary(iteratee)));maxLength=nativeMin(array.length,maxLength);caches[othIndex]=!comparator&&(iteratee||length>=120&&array.length>=120)?new SetCache(othIndex&&array):undefined}array=arrays[0];var index=-1,seen=caches[0];outer:while(++index<length&&result.length<maxLength){var value=array[index],computed=iteratee?iteratee(value):value;value=comparator||0!==value?value:0;if(!(seen?cacheHas(seen,computed):includes(result,computed,comparator))){othIndex=othLength;while(--othIndex){var cache=caches[othIndex];if(!(cache?cacheHas(cache,computed):includes(arrays[othIndex],computed,comparator)))continue outer}seen&&seen.push(computed);result.push(value)}}return result}function baseInverter(object,setter,iteratee,accumulator){baseForOwn(object,function(value,key,object){setter(accumulator,iteratee(value),key,object)});return accumulator}function baseInvoke(object,path,args){path=castPath(path,object);object=parent(object,path);var func=null==object?object:object[toKey(last(path))];return null==func?undefined:apply(func,object,args)}function baseIsArguments(value){return isObjectLike(value)&&baseGetTag(value)==argsTag}function baseIsArrayBuffer(value){return isObjectLike(value)&&baseGetTag(value)==arrayBufferTag}function baseIsDate(value){return isObjectLike(value)&&baseGetTag(value)==dateTag}function baseIsEqual(value,other,bitmask,customizer,stack){if(value===other)return true;if(null==value||null==other||!isObjectLike(value)&&!isObjectLike(other))return value!==value&&other!==other;return baseIsEqualDeep(value,other,bitmask,customizer,baseIsEqual,stack)}function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=objIsArr?arrayTag:getTag(object),othTag=othIsArr?arrayTag:getTag(other);objTag=objTag==argsTag?objectTag:objTag;othTag=othTag==argsTag?objectTag:othTag;var objIsObj=objTag==objectTag,othIsObj=othTag==objectTag,isSameTag=objTag==othTag;if(isSameTag&&isBuffer(object)){if(!isBuffer(other))return false;objIsArr=true;objIsObj=false}if(isSameTag&&!objIsObj){stack||(stack=new Stack);return objIsArr||isTypedArray(object)?equalArrays(object,other,bitmask,customizer,equalFunc,stack):equalByTag(object,other,objTag,bitmask,customizer,equalFunc,stack)}if(!(bitmask&COMPARE_PARTIAL_FLAG)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;stack||(stack=new Stack);return equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}if(!isSameTag)return false;stack||(stack=new Stack);return equalObjects(object,other,bitmask,customizer,equalFunc,stack)}function baseIsMap(value){return isObjectLike(value)&&getTag(value)==mapTag}function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(null==object)return!length;object=Object(object);while(index--){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return false}while(++index<length){data=matchData[index];var key=data[0],objValue=object[key],srcValue=data[1];if(noCustomizer&&data[2]){if(objValue===undefined&&!(key in object))return false}else{var stack=new Stack;if(customizer)var result=customizer(objValue,srcValue,key,object,source,stack);if(!(result===undefined?baseIsEqual(srcValue,objValue,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG,customizer,stack):result))return false}}return true}function baseIsNative(value){if(!isObject(value)||isMasked(value))return false;var pattern=isFunction(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value))}function baseIsRegExp(value){return isObjectLike(value)&&baseGetTag(value)==regexpTag}function baseIsSet(value){return isObjectLike(value)&&getTag(value)==setTag}function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}function baseIteratee(value){if("function"==typeof value)return value;if(null==value)return identity;if("object"==typeof value)return isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value);return property(value)}function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}function baseKeysIn(object){if(!isObject(object))return nativeKeysIn(object);var isProto=isPrototype(object),result=[];for(var key in object)"constructor"==key&&(isProto||!hasOwnProperty.call(object,key))||result.push(key);return result}function baseLt(value,other){return value<other}function baseMap(collection,iteratee){var index=-1,result=isArrayLike(collection)?Array(collection.length):[];baseEach(collection,function(value,key,collection){result[++index]=iteratee(value,key,collection)});return result}function baseMatches(source){var matchData=getMatchData(source);if(1==matchData.length&&matchData[0][2])return matchesStrictComparable(matchData[0][0],matchData[0][1]);return function(object){return object===source||baseIsMatch(object,source,matchData)}}function baseMatchesProperty(path,srcValue){if(isKey(path)&&isStrictComparable(srcValue))return matchesStrictComparable(toKey(path),srcValue);return function(object){var objValue=get(object,path);return objValue===undefined&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}function baseMerge(object,source,srcIndex,customizer,stack){if(object===source)return;baseFor(source,function(srcValue,key){if(isObject(srcValue)){stack||(stack=new Stack);baseMergeDeep(object,source,key,srcIndex,baseMerge,customizer,stack)}else{var newValue=customizer?customizer(safeGet(object,key),srcValue,key+"",object,source,stack):undefined;newValue===undefined&&(newValue=srcValue);assignMergeValue(object,key,newValue)}},keysIn)}function baseMergeDeep(object,source,key,srcIndex,mergeFunc,customizer,stack){var objValue=safeGet(object,key),srcValue=safeGet(source,key),stacked=stack.get(srcValue);if(stacked){assignMergeValue(object,key,stacked);return}var newValue=customizer?customizer(objValue,srcValue,key+"",object,source,stack):undefined;var isCommon=newValue===undefined;if(isCommon){var isArr=isArray(srcValue),isBuff=!isArr&&isBuffer(srcValue),isTyped=!isArr&&!isBuff&&isTypedArray(srcValue);newValue=srcValue;if(isArr||isBuff||isTyped)if(isArray(objValue))newValue=objValue;else if(isArrayLikeObject(objValue))newValue=copyArray(objValue);else if(isBuff){isCommon=false;newValue=cloneBuffer(srcValue,true)}else if(isTyped){isCommon=false;newValue=cloneTypedArray(srcValue,true)}else newValue=[];else if(isPlainObject(srcValue)||isArguments(srcValue)){newValue=objValue;isArguments(objValue)?newValue=toPlainObject(objValue):isObject(objValue)&&!isFunction(objValue)||(newValue=initCloneObject(srcValue))}else isCommon=false}if(isCommon){stack.set(srcValue,newValue);mergeFunc(newValue,srcValue,srcIndex,customizer,stack);stack["delete"](srcValue)}assignMergeValue(object,key,newValue)}function baseNth(array,n){var length=array.length;if(!length)return;n+=n<0?length:0;return isIndex(n,length)?array[n]:undefined}function baseOrderBy(collection,iteratees,orders){var index=-1;iteratees=arrayMap(iteratees.length?iteratees:[identity],baseUnary(getIteratee()));var result=baseMap(collection,function(value,key,collection){var criteria=arrayMap(iteratees,function(iteratee){return iteratee(value)});return{criteria:criteria,index:++index,value:value}});return baseSortBy(result,function(object,other){return compareMultiple(object,other,orders)})}function basePick(object,paths){return basePickBy(object,paths,function(value,path){return hasIn(object,path)})}function basePickBy(object,paths,predicate){var index=-1,length=paths.length,result={};while(++index<length){var path=paths[index],value=baseGet(object,path);predicate(value,path)&&baseSet(result,castPath(path,object),value)}return result}function basePropertyDeep(path){return function(object){return baseGet(object,path)}}function basePullAll(array,values,iteratee,comparator){var indexOf=comparator?baseIndexOfWith:baseIndexOf,index=-1,length=values.length,seen=array;array===values&&(values=copyArray(values));iteratee&&(seen=arrayMap(array,baseUnary(iteratee)));while(++index<length){var fromIndex=0,value=values[index],computed=iteratee?iteratee(value):value;while((fromIndex=indexOf(seen,computed,fromIndex,comparator))>-1){seen!==array&&splice.call(seen,fromIndex,1);splice.call(array,fromIndex,1)}}return array}function basePullAt(array,indexes){var length=array?indexes.length:0,lastIndex=length-1;while(length--){var index=indexes[length];if(length==lastIndex||index!==previous){var previous=index;isIndex(index)?splice.call(array,index,1):baseUnset(array,index)}}return array}function baseRandom(lower,upper){return lower+nativeFloor(nativeRandom()*(upper-lower+1))}function baseRange(start,end,step,fromRight){var index=-1,length=nativeMax(nativeCeil((end-start)/(step||1)),0),result=Array(length);while(length--){result[fromRight?length:++index]=start;start+=step}return result}function baseRepeat(string,n){var result="";if(!string||n<1||n>MAX_SAFE_INTEGER)return result;do{n%2&&(result+=string);n=nativeFloor(n/2);n&&(string+=string)}while(n);return result}function baseRest(func,start){return setToString(overRest(func,start,identity),func+"")}function baseSample(collection){return arraySample(values(collection))}function baseSampleSize(collection,n){var array=values(collection);return shuffleSelf(array,baseClamp(n,0,array.length))}function baseSet(object,path,value,customizer){if(!isObject(object))return object;path=castPath(path,object);var index=-1,length=path.length,lastIndex=length-1,nested=object;while(null!=nested&&++index<length){var key=toKey(path[index]),newValue=value;if(index!=lastIndex){var objValue=nested[key];newValue=customizer?customizer(objValue,key,nested):undefined;newValue===undefined&&(newValue=isObject(objValue)?objValue:isIndex(path[index+1])?[]:{})}assignValue(nested,key,newValue);nested=nested[key]}return object}var baseSetData=metaMap?function(func,data){metaMap.set(func,data);return func}:identity;var baseSetToString=defineProperty?function(func,string){return defineProperty(func,"toString",{configurable:true,enumerable:false,value:constant(string),writable:true})}:identity;function baseShuffle(collection){return shuffleSelf(values(collection))}function baseSlice(array,start,end){var index=-1,length=array.length;start<0&&(start=-start>length?0:length+start);end=end>length?length:end;end<0&&(end+=length);length=start>end?0:end-start>>>0;start>>>=0;var result=Array(length);while(++index<length)result[index]=array[index+start];return result}function baseSome(collection,predicate){var result;baseEach(collection,function(value,index,collection){result=predicate(value,index,collection);return!result});return!!result}function baseSortedIndex(array,value,retHighest){var low=0,high=null==array?low:array.length;if("number"==typeof value&&value===value&&high<=HALF_MAX_ARRAY_LENGTH){while(low<high){var mid=low+high>>>1,computed=array[mid];null!==computed&&!isSymbol(computed)&&(retHighest?computed<=value:computed<value)?low=mid+1:high=mid}return high}return baseSortedIndexBy(array,value,identity,retHighest)}function baseSortedIndexBy(array,value,iteratee,retHighest){value=iteratee(value);var low=0,high=null==array?0:array.length,valIsNaN=value!==value,valIsNull=null===value,valIsSymbol=isSymbol(value),valIsUndefined=value===undefined;while(low<high){var mid=nativeFloor((low+high)/2),computed=iteratee(array[mid]),othIsDefined=computed!==undefined,othIsNull=null===computed,othIsReflexive=computed===computed,othIsSymbol=isSymbol(computed);if(valIsNaN)var setLow=retHighest||othIsReflexive;else setLow=valIsUndefined?othIsReflexive&&(retHighest||othIsDefined):valIsNull?othIsReflexive&&othIsDefined&&(retHighest||!othIsNull):valIsSymbol?othIsReflexive&&othIsDefined&&!othIsNull&&(retHighest||!othIsSymbol):!othIsNull&&!othIsSymbol&&(retHighest?computed<=value:computed<value);setLow?low=mid+1:high=mid}return nativeMin(high,MAX_ARRAY_INDEX)}function baseSortedUniq(array,iteratee){var index=-1,length=array.length,resIndex=0,result=[];while(++index<length){var value=array[index],computed=iteratee?iteratee(value):value;if(!index||!eq(computed,seen)){var seen=computed;result[resIndex++]=0===value?0:value}}return result}function baseToNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NAN;return+value}function baseToString(value){if("string"==typeof value)return value;if(isArray(value))return arrayMap(value,baseToString)+"";if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return"0"==result&&1/value==-INFINITY?"-0":result}function baseUniq(array,iteratee,comparator){var index=-1,includes=arrayIncludes,length=array.length,isCommon=true,result=[],seen=result;if(comparator){isCommon=false;includes=arrayIncludesWith}else if(length>=LARGE_ARRAY_SIZE){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=false;includes=cacheHas;seen=new SetCache}else seen=iteratee?[]:result;outer:while(++index<length){var value=array[index],computed=iteratee?iteratee(value):value;value=comparator||0!==value?value:0;if(isCommon&&computed===computed){var seenIndex=seen.length;while(seenIndex--)if(seen[seenIndex]===computed)continue outer;iteratee&&seen.push(computed);result.push(value)}else if(!includes(seen,computed,comparator)){seen!==result&&seen.push(computed);result.push(value)}}return result}function baseUnset(object,path){path=castPath(path,object);object=parent(object,path);return null==object||delete object[toKey(last(path))]}function baseUpdate(object,path,updater,customizer){return baseSet(object,path,updater(baseGet(object,path)),customizer)}function baseWhile(array,predicate,isDrop,fromRight){var length=array.length,index=fromRight?length:-1;while((fromRight?index--:++index<length)&&predicate(array[index],index,array));return isDrop?baseSlice(array,fromRight?0:index,fromRight?index+1:length):baseSlice(array,fromRight?index+1:0,fromRight?length:index)}function baseWrapperValue(value,actions){var result=value;result instanceof LazyWrapper&&(result=result.value());return arrayReduce(actions,function(result,action){return action.func.apply(action.thisArg,arrayPush([result],action.args))},result)}function baseXor(arrays,iteratee,comparator){var length=arrays.length;if(length<2)return length?baseUniq(arrays[0]):[];var index=-1,result=Array(length);while(++index<length){var array=arrays[index],othIndex=-1;while(++othIndex<length)othIndex!=index&&(result[index]=baseDifference(result[index]||array,arrays[othIndex],iteratee,comparator))}return baseUniq(baseFlatten(result,1),iteratee,comparator)}function baseZipObject(props,values,assignFunc){var index=-1,length=props.length,valsLength=values.length,result={};while(++index<length){var value=index<valsLength?values[index]:undefined;assignFunc(result,props[index],value)}return result}function castArrayLikeObject(value){return isArrayLikeObject(value)?value:[]}function castFunction(value){return"function"==typeof value?value:identity}function castPath(value,object){if(isArray(value))return value;return isKey(value,object)?[value]:stringToPath(toString(value))}var castRest=baseRest;function castSlice(array,start,end){var length=array.length;end=end===undefined?length:end;return!start&&end>=length?array:baseSlice(array,start,end)}var clearTimeout=ctxClearTimeout||function(id){return root.clearTimeout(id)};function cloneBuffer(buffer,isDeep){if(isDeep)return buffer.slice();var length=buffer.length,result=allocUnsafe?allocUnsafe(length):new buffer.constructor(length);buffer.copy(result);return result}function cloneArrayBuffer(arrayBuffer){var result=new arrayBuffer.constructor(arrayBuffer.byteLength);new Uint8Array(result).set(new Uint8Array(arrayBuffer));return result}function cloneDataView(dataView,isDeep){var buffer=isDeep?cloneArrayBuffer(dataView.buffer):dataView.buffer;return new dataView.constructor(buffer,dataView.byteOffset,dataView.byteLength)}function cloneRegExp(regexp){var result=new regexp.constructor(regexp.source,reFlags.exec(regexp));result.lastIndex=regexp.lastIndex;return result}function cloneSymbol(symbol){return symbolValueOf?Object(symbolValueOf.call(symbol)):{}}function cloneTypedArray(typedArray,isDeep){var buffer=isDeep?cloneArrayBuffer(typedArray.buffer):typedArray.buffer;return new typedArray.constructor(buffer,typedArray.byteOffset,typedArray.length)}function compareAscending(value,other){if(value!==other){var valIsDefined=value!==undefined,valIsNull=null===value,valIsReflexive=value===value,valIsSymbol=isSymbol(value);var othIsDefined=other!==undefined,othIsNull=null===other,othIsReflexive=other===other,othIsSymbol=isSymbol(other);if(!othIsNull&&!othIsSymbol&&!valIsSymbol&&value>other||valIsSymbol&&othIsDefined&&othIsReflexive&&!othIsNull&&!othIsSymbol||valIsNull&&othIsDefined&&othIsReflexive||!valIsDefined&&othIsReflexive||!valIsReflexive)return 1;if(!valIsNull&&!valIsSymbol&&!othIsSymbol&&value<other||othIsSymbol&&valIsDefined&&valIsReflexive&&!valIsNull&&!valIsSymbol||othIsNull&&valIsDefined&&valIsReflexive||!othIsDefined&&valIsReflexive||!othIsReflexive)return-1}return 0}function compareMultiple(object,other,orders){var index=-1,objCriteria=object.criteria,othCriteria=other.criteria,length=objCriteria.length,ordersLength=orders.length;while(++index<length){var result=compareAscending(objCriteria[index],othCriteria[index]);if(result){if(index>=ordersLength)return result;var order=orders[index];return result*("desc"==order?-1:1)}}return object.index-other.index}function composeArgs(args,partials,holders,isCurried){var argsIndex=-1,argsLength=args.length,holdersLength=holders.length,leftIndex=-1,leftLength=partials.length,rangeLength=nativeMax(argsLength-holdersLength,0),result=Array(leftLength+rangeLength),isUncurried=!isCurried;while(++leftIndex<leftLength)result[leftIndex]=partials[leftIndex];while(++argsIndex<holdersLength)(isUncurried||argsIndex<argsLength)&&(result[holders[argsIndex]]=args[argsIndex]);while(rangeLength--)result[leftIndex++]=args[argsIndex++];return result}function composeArgsRight(args,partials,holders,isCurried){var argsIndex=-1,argsLength=args.length,holdersIndex=-1,holdersLength=holders.length,rightIndex=-1,rightLength=partials.length,rangeLength=nativeMax(argsLength-holdersLength,0),result=Array(rangeLength+rightLength),isUncurried=!isCurried;while(++argsIndex<rangeLength)result[argsIndex]=args[argsIndex];var offset=argsIndex;while(++rightIndex<rightLength)result[offset+rightIndex]=partials[rightIndex];while(++holdersIndex<holdersLength)(isUncurried||argsIndex<argsLength)&&(result[offset+holders[holdersIndex]]=args[argsIndex++]);return result}function copyArray(source,array){var index=-1,length=source.length;array||(array=Array(length));while(++index<length)array[index]=source[index];return array}function copyObject(source,props,object,customizer){var isNew=!object;object||(object={});var index=-1,length=props.length;while(++index<length){var key=props[index];var newValue=customizer?customizer(object[key],source[key],key,object,source):undefined;newValue===undefined&&(newValue=source[key]);isNew?baseAssignValue(object,key,newValue):assignValue(object,key,newValue)}return object}function copySymbols(source,object){return copyObject(source,getSymbols(source),object)}function copySymbolsIn(source,object){return copyObject(source,getSymbolsIn(source),object)}function createAggregator(setter,initializer){return function(collection,iteratee){var func=isArray(collection)?arrayAggregator:baseAggregator,accumulator=initializer?initializer():{};return func(collection,setter,getIteratee(iteratee,2),accumulator)}}function createAssigner(assigner){return baseRest(function(object,sources){var index=-1,length=sources.length,customizer=length>1?sources[length-1]:undefined,guard=length>2?sources[2]:undefined;customizer=assigner.length>3&&"function"==typeof customizer?(length--,customizer):undefined;if(guard&&isIterateeCall(sources[0],sources[1],guard)){customizer=length<3?undefined:customizer;length=1}object=Object(object);while(++index<length){var source=sources[index];source&&assigner(object,source,index,customizer)}return object})}function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){if(null==collection)return collection;if(!isArrayLike(collection))return eachFunc(collection,iteratee);var length=collection.length,index=fromRight?length:-1,iterable=Object(collection);while(fromRight?index--:++index<length)if(false===iteratee(iterable[index],index,iterable))break;return collection}}function createBaseFor(fromRight){return function(object,iteratee,keysFunc){var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;while(length--){var key=props[fromRight?length:++index];if(false===iteratee(iterable[key],key,iterable))break}return object}}function createBind(func,bitmask,thisArg){var isBind=bitmask&WRAP_BIND_FLAG,Ctor=createCtor(func);function wrapper(){var fn=this&&this!==root&&this instanceof wrapper?Ctor:func;return fn.apply(isBind?thisArg:this,arguments)}return wrapper}function createCaseFirst(methodName){return function(string){string=toString(string);var strSymbols=hasUnicode(string)?stringToArray(string):undefined;var chr=strSymbols?strSymbols[0]:string.charAt(0);var trailing=strSymbols?castSlice(strSymbols,1).join(""):string.slice(1);return chr[methodName]()+trailing}}function createCompounder(callback){return function(string){return arrayReduce(words(deburr(string).replace(reApos,"")),callback,"")}}function createCtor(Ctor){return function(){var args=arguments;switch(args.length){case 0:return new Ctor;case 1:return new Ctor(args[0]);case 2:return new Ctor(args[0],args[1]);case 3:return new Ctor(args[0],args[1],args[2]);case 4:return new Ctor(args[0],args[1],args[2],args[3]);case 5:return new Ctor(args[0],args[1],args[2],args[3],args[4]);case 6:return new Ctor(args[0],args[1],args[2],args[3],args[4],args[5]);case 7:return new Ctor(args[0],args[1],args[2],args[3],args[4],args[5],args[6])}var thisBinding=baseCreate(Ctor.prototype),result=Ctor.apply(thisBinding,args);return isObject(result)?result:thisBinding}}function createCurry(func,bitmask,arity){var Ctor=createCtor(func);function wrapper(){var length=arguments.length,args=Array(length),index=length,placeholder=getHolder(wrapper);while(index--)args[index]=arguments[index];var holders=length<3&&args[0]!==placeholder&&args[length-1]!==placeholder?[]:replaceHolders(args,placeholder);length-=holders.length;if(length<arity)return createRecurry(func,bitmask,createHybrid,wrapper.placeholder,undefined,args,holders,undefined,undefined,arity-length);var fn=this&&this!==root&&this instanceof wrapper?Ctor:func;return apply(fn,this,args)}return wrapper}function createFind(findIndexFunc){return function(collection,predicate,fromIndex){var iterable=Object(collection);if(!isArrayLike(collection)){var iteratee=getIteratee(predicate,3);collection=keys(collection);predicate=function(key){return iteratee(iterable[key],key,iterable)}}var index=findIndexFunc(collection,predicate,fromIndex);return index>-1?iterable[iteratee?collection[index]:index]:undefined}}function createFlow(fromRight){return flatRest(function(funcs){var length=funcs.length,index=length,prereq=LodashWrapper.prototype.thru;fromRight&&funcs.reverse();while(index--){var func=funcs[index];if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);if(prereq&&!wrapper&&"wrapper"==getFuncName(func))var wrapper=new LodashWrapper([],true)}index=wrapper?index:length;while(++index<length){func=funcs[index];var funcName=getFuncName(func),data="wrapper"==funcName?getData(func):undefined;wrapper=data&&isLaziable(data[0])&&data[1]==(WRAP_ARY_FLAG|WRAP_CURRY_FLAG|WRAP_PARTIAL_FLAG|WRAP_REARG_FLAG)&&!data[4].length&&1==data[9]?wrapper[getFuncName(data[0])].apply(wrapper,data[3]):1==func.length&&isLaziable(func)?wrapper[funcName]():wrapper.thru(func)}return function(){var args=arguments,value=args[0];if(wrapper&&1==args.length&&isArray(value))return wrapper.plant(value).value();var index=0,result=length?funcs[index].apply(this,args):value;while(++index<length)result=funcs[index].call(this,result);return result}})}function createHybrid(func,bitmask,thisArg,partials,holders,partialsRight,holdersRight,argPos,ary,arity){var isAry=bitmask&WRAP_ARY_FLAG,isBind=bitmask&WRAP_BIND_FLAG,isBindKey=bitmask&WRAP_BIND_KEY_FLAG,isCurried=bitmask&(WRAP_CURRY_FLAG|WRAP_CURRY_RIGHT_FLAG),isFlip=bitmask&WRAP_FLIP_FLAG,Ctor=isBindKey?undefined:createCtor(func);function wrapper(){var length=arguments.length,args=Array(length),index=length;while(index--)args[index]=arguments[index];if(isCurried)var placeholder=getHolder(wrapper),holdersCount=countHolders(args,placeholder);partials&&(args=composeArgs(args,partials,holders,isCurried));partialsRight&&(args=composeArgsRight(args,partialsRight,holdersRight,isCurried));length-=holdersCount;if(isCurried&&length<arity){var newHolders=replaceHolders(args,placeholder);return createRecurry(func,bitmask,createHybrid,wrapper.placeholder,thisArg,args,newHolders,argPos,ary,arity-length)}var thisBinding=isBind?thisArg:this,fn=isBindKey?thisBinding[func]:func;length=args.length;argPos?args=reorder(args,argPos):isFlip&&length>1&&args.reverse();isAry&&ary<length&&(args.length=ary);this&&this!==root&&this instanceof wrapper&&(fn=Ctor||createCtor(fn));return fn.apply(thisBinding,args)}return wrapper}function createInverter(setter,toIteratee){return function(object,iteratee){return baseInverter(object,setter,toIteratee(iteratee),{})}}function createMathOperation(operator,defaultValue){return function(value,other){var result;if(value===undefined&&other===undefined)return defaultValue;value!==undefined&&(result=value);if(other!==undefined){if(result===undefined)return other;if("string"==typeof value||"string"==typeof other){value=baseToString(value);other=baseToString(other)}else{value=baseToNumber(value);other=baseToNumber(other)}result=operator(value,other)}return result}}function createOver(arrayFunc){return flatRest(function(iteratees){iteratees=arrayMap(iteratees,baseUnary(getIteratee()));return baseRest(function(args){var thisArg=this;return arrayFunc(iteratees,function(iteratee){return apply(iteratee,thisArg,args)})})})}function createPadding(length,chars){chars=chars===undefined?" ":baseToString(chars);var charsLength=chars.length;if(charsLength<2)return charsLength?baseRepeat(chars,length):chars;var result=baseRepeat(chars,nativeCeil(length/stringSize(chars)));return hasUnicode(chars)?castSlice(stringToArray(result),0,length).join(""):result.slice(0,length)}function createPartial(func,bitmask,thisArg,partials){var isBind=bitmask&WRAP_BIND_FLAG,Ctor=createCtor(func);function wrapper(){var argsIndex=-1,argsLength=arguments.length,leftIndex=-1,leftLength=partials.length,args=Array(leftLength+argsLength),fn=this&&this!==root&&this instanceof wrapper?Ctor:func;while(++leftIndex<leftLength)args[leftIndex]=partials[leftIndex];while(argsLength--)args[leftIndex++]=arguments[++argsIndex];return apply(fn,isBind?thisArg:this,args)}return wrapper}function createRange(fromRight){return function(start,end,step){step&&"number"!=typeof step&&isIterateeCall(start,end,step)&&(end=step=undefined);start=toFinite(start);if(end===undefined){end=start;start=0}else end=toFinite(end);step=step===undefined?start<end?1:-1:toFinite(step);return baseRange(start,end,step,fromRight)}}function createRelationalOperation(operator){return function(value,other){if(!("string"==typeof value&&"string"==typeof other)){value=toNumber(value);other=toNumber(other)}return operator(value,other)}}function createRecurry(func,bitmask,wrapFunc,placeholder,thisArg,partials,holders,argPos,ary,arity){var isCurry=bitmask&WRAP_CURRY_FLAG,newHolders=isCurry?holders:undefined,newHoldersRight=isCurry?undefined:holders,newPartials=isCurry?partials:undefined,newPartialsRight=isCurry?undefined:partials;bitmask|=isCurry?WRAP_PARTIAL_FLAG:WRAP_PARTIAL_RIGHT_FLAG;bitmask&=~(isCurry?WRAP_PARTIAL_RIGHT_FLAG:WRAP_PARTIAL_FLAG);bitmask&WRAP_CURRY_BOUND_FLAG||(bitmask&=~(WRAP_BIND_FLAG|WRAP_BIND_KEY_FLAG));var newData=[func,bitmask,thisArg,newPartials,newHolders,newPartialsRight,newHoldersRight,argPos,ary,arity];var result=wrapFunc.apply(undefined,newData);isLaziable(func)&&setData(result,newData);result.placeholder=placeholder;return setWrapToString(result,func,bitmask)}function createRound(methodName){var func=Math[methodName];return function(number,precision){number=toNumber(number);precision=null==precision?0:nativeMin(toInteger(precision),292);if(precision){var pair=(toString(number)+"e").split("e"),value=func(pair[0]+"e"+(+pair[1]+precision));pair=(toString(value)+"e").split("e");return+(pair[0]+"e"+(+pair[1]-precision))}return func(number)}}var createSet=Set&&1/setToArray(new Set([,-0]))[1]==INFINITY?function(values){return new Set(values)}:noop;function createToPairs(keysFunc){return function(object){var tag=getTag(object);if(tag==mapTag)return mapToArray(object);if(tag==setTag)return setToPairs(object);return baseToPairs(object,keysFunc(object))}}function createWrap(func,bitmask,thisArg,partials,holders,argPos,ary,arity){var isBindKey=bitmask&WRAP_BIND_KEY_FLAG;if(!isBindKey&&"function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);var length=partials?partials.length:0;if(!length){bitmask&=~(WRAP_PARTIAL_FLAG|WRAP_PARTIAL_RIGHT_FLAG);partials=holders=undefined}ary=ary===undefined?ary:nativeMax(toInteger(ary),0);arity=arity===undefined?arity:toInteger(arity);length-=holders?holders.length:0;if(bitmask&WRAP_PARTIAL_RIGHT_FLAG){var partialsRight=partials,holdersRight=holders;partials=holders=undefined}var data=isBindKey?undefined:getData(func);var newData=[func,bitmask,thisArg,partials,holders,partialsRight,holdersRight,argPos,ary,arity];data&&mergeData(newData,data);func=newData[0];bitmask=newData[1];thisArg=newData[2];partials=newData[3];holders=newData[4];arity=newData[9]=newData[9]===undefined?isBindKey?0:func.length:nativeMax(newData[9]-length,0);!arity&&bitmask&(WRAP_CURRY_FLAG|WRAP_CURRY_RIGHT_FLAG)&&(bitmask&=~(WRAP_CURRY_FLAG|WRAP_CURRY_RIGHT_FLAG));if(bitmask&&bitmask!=WRAP_BIND_FLAG)result=bitmask==WRAP_CURRY_FLAG||bitmask==WRAP_CURRY_RIGHT_FLAG?createCurry(func,bitmask,arity):bitmask!=WRAP_PARTIAL_FLAG&&bitmask!=(WRAP_BIND_FLAG|WRAP_PARTIAL_FLAG)||holders.length?createHybrid.apply(undefined,newData):createPartial(func,bitmask,thisArg,partials);else var result=createBind(func,bitmask,thisArg);var setter=data?baseSetData:setData;return setWrapToString(setter(result,newData),func,bitmask)}function customDefaultsAssignIn(objValue,srcValue,key,object){if(objValue===undefined||eq(objValue,objectProto[key])&&!hasOwnProperty.call(object,key))return srcValue;return objValue}function customDefaultsMerge(objValue,srcValue,key,object,source,stack){if(isObject(objValue)&&isObject(srcValue)){stack.set(srcValue,objValue);baseMerge(objValue,srcValue,undefined,customDefaultsMerge,stack);stack["delete"](srcValue)}return objValue}function customOmitClone(value){return isPlainObject(value)?undefined:value}function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return false;var stacked=stack.get(array);if(stacked&&stack.get(other))return stacked==other;var index=-1,result=true,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache:undefined;stack.set(array,other);stack.set(other,array);while(++index<arrLength){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(compared!==undefined){if(compared)continue;result=false;break}if(seen){if(!arraySome(other,function(othValue,othIndex){if(!cacheHas(seen,othIndex)&&(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack)))return seen.push(othIndex)})){result=false;break}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,bitmask,customizer,stack))){result=false;break}}stack["delete"](array);stack["delete"](other);return result}function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case dataViewTag:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return false;object=object.buffer;other=other.buffer;case arrayBufferTag:if(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array(object),new Uint8Array(other)))return false;return true;case boolTag:case dateTag:case numberTag:return eq(+object,+other);case errorTag:return object.name==other.name&&object.message==other.message;case regexpTag:case stringTag:return object==other+"";case mapTag:var convert=mapToArray;case setTag:var isPartial=bitmask&COMPARE_PARTIAL_FLAG;convert||(convert=setToArray);if(object.size!=other.size&&!isPartial)return false;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=COMPARE_UNORDERED_FLAG;stack.set(object,other);var result=equalArrays(convert(object),convert(other),bitmask,customizer,equalFunc,stack);stack["delete"](object);return result;case symbolTag:if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return false}function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,objProps=getAllKeys(object),objLength=objProps.length,othProps=getAllKeys(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return false;var index=objLength;while(index--){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return false}var stacked=stack.get(object);if(stacked&&stack.get(other))return stacked==other;var result=true;stack.set(object,other);stack.set(other,object);var skipCtor=isPartial;while(++index<objLength){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(compared===undefined?objValue===othValue||equalFunc(objValue,othValue,bitmask,customizer,stack):compared)){result=false;break}skipCtor||(skipCtor="constructor"==key)}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!("function"==typeof objCtor&&objCtor instanceof objCtor&&"function"==typeof othCtor&&othCtor instanceof othCtor)&&(result=false)}stack["delete"](object);stack["delete"](other);return result}function flatRest(func){return setToString(overRest(func,undefined,flatten),func+"")}function getAllKeys(object){return baseGetAllKeys(object,keys,getSymbols)}function getAllKeysIn(object){return baseGetAllKeys(object,keysIn,getSymbolsIn)}var getData=metaMap?function(func){return metaMap.get(func)}:noop;function getFuncName(func){var result=func.name+"",array=realNames[result],length=hasOwnProperty.call(realNames,result)?array.length:0;while(length--){var data=array[length],otherFunc=data.func;if(null==otherFunc||otherFunc==func)return data.name}return result}function getHolder(func){var object=hasOwnProperty.call(lodash,"placeholder")?lodash:func;return object.placeholder}function getIteratee(){var result=lodash.iteratee||iteratee;result=result===iteratee?baseIteratee:result;return arguments.length?result(arguments[0],arguments[1]):result}function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data["string"==typeof key?"string":"hash"]:data.map}function getMatchData(object){var result=keys(object),length=result.length;while(length--){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)]}return result}function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:undefined}function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=undefined;var unmasked=true}catch(e){}var result=nativeObjectToString.call(value);unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]);return result}var getSymbols=nativeGetSymbols?function(object){if(null==object)return[];object=Object(object);return arrayFilter(nativeGetSymbols(object),function(symbol){return propertyIsEnumerable.call(object,symbol)})}:stubArray;var getSymbolsIn=nativeGetSymbols?function(object){var result=[];while(object){arrayPush(result,getSymbols(object));object=getPrototype(object)}return result}:stubArray;var getTag=baseGetTag;(DataView&&getTag(new DataView(new ArrayBuffer(1)))!=dataViewTag||Map&&getTag(new Map)!=mapTag||Promise&&getTag(Promise.resolve())!=promiseTag||Set&&getTag(new Set)!=setTag||WeakMap&&getTag(new WeakMap)!=weakMapTag)&&(getTag=function(value){var result=baseGetTag(value),Ctor=result==objectTag?value.constructor:undefined,ctorString=Ctor?toSource(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag}return result});function getView(start,end,transforms){var index=-1,length=transforms.length;while(++index<length){var data=transforms[index],size=data.size;switch(data.type){case"drop":start+=size;break;case"dropRight":end-=size;break;case"take":end=nativeMin(end,start+size);break;case"takeRight":start=nativeMax(start,end-size)}}return{start:start,end:end}}function getWrapDetails(source){var match=source.match(reWrapDetails);return match?match[1].split(reSplitDetails):[]}function hasPath(object,path,hasFunc){path=castPath(path,object);var index=-1,length=path.length,result=false;while(++index<length){var key=toKey(path[index]);if(!(result=null!=object&&hasFunc(object,key)))break;object=object[key]}if(result||++index!=length)return result;length=null==object?0:object.length;return!!length&&isLength(length)&&isIndex(key,length)&&(isArray(object)||isArguments(object))}function initCloneArray(array){var length=array.length,result=new array.constructor(length);if(length&&"string"==typeof array[0]&&hasOwnProperty.call(array,"index")){result.index=array.index;result.input=array.input}return result}function initCloneObject(object){return"function"!=typeof object.constructor||isPrototype(object)?{}:baseCreate(getPrototype(object))}function initCloneByTag(object,tag,isDeep){var Ctor=object.constructor;switch(tag){case arrayBufferTag:return cloneArrayBuffer(object);case boolTag:case dateTag:return new Ctor(+object);case dataViewTag:return cloneDataView(object,isDeep);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case uint8ClampedTag:case uint16Tag:case uint32Tag:return cloneTypedArray(object,isDeep);case mapTag:return new Ctor;case numberTag:case stringTag:return new Ctor(object);case regexpTag:return cloneRegExp(object);case setTag:return new Ctor;case symbolTag:return cloneSymbol(object)}}function insertWrapDetails(source,details){var length=details.length;if(!length)return source;var lastIndex=length-1;details[lastIndex]=(length>1?"& ":"")+details[lastIndex];details=details.join(length>2?", ":" ");return source.replace(reWrapComment,"{\n/* [wrapped with "+details+"] */\n")}function isFlattenable(value){return isArray(value)||isArguments(value)||!!(spreadableSymbol&&value&&value[spreadableSymbol])}function isIndex(value,length){var type=typeof value;length=null==length?MAX_SAFE_INTEGER:length;return!!length&&("number"==type||"symbol"!=type&&reIsUint.test(value))&&value>-1&&value%1==0&&value<length}function isIterateeCall(value,index,object){if(!isObject(object))return false;var type=typeof index;if("number"==type?isArrayLike(object)&&isIndex(index,object.length):"string"==type&&index in object)return eq(object[index],value);return false}function isKey(value,object){if(isArray(value))return false;var type=typeof value;if("number"==type||"symbol"==type||"boolean"==type||null==value||isSymbol(value))return true;return reIsPlainProp.test(value)||!reIsDeepProp.test(value)||null!=object&&value in Object(object)}function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}function isLaziable(func){var funcName=getFuncName(func),other=lodash[funcName];if("function"!=typeof other||!(funcName in LazyWrapper.prototype))return false;if(func===other)return true;var data=getData(other);return!!data&&func===data[0]}function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}var isMaskable=coreJsData?isFunction:stubFalse;function isPrototype(value){var Ctor=value&&value.constructor,proto="function"==typeof Ctor&&Ctor.prototype||objectProto;return value===proto}function isStrictComparable(value){return value===value&&!isObject(value)}function matchesStrictComparable(key,srcValue){return function(object){if(null==object)return false;return object[key]===srcValue&&(srcValue!==undefined||key in Object(object))}}function memoizeCapped(func){var result=memoize(func,function(key){cache.size===MAX_MEMOIZE_SIZE&&cache.clear();return key});var cache=result.cache;return result}function mergeData(data,source){var bitmask=data[1],srcBitmask=source[1],newBitmask=bitmask|srcBitmask,isCommon=newBitmask<(WRAP_BIND_FLAG|WRAP_BIND_KEY_FLAG|WRAP_ARY_FLAG);var isCombo=srcBitmask==WRAP_ARY_FLAG&&bitmask==WRAP_CURRY_FLAG||srcBitmask==WRAP_ARY_FLAG&&bitmask==WRAP_REARG_FLAG&&data[7].length<=source[8]||srcBitmask==(WRAP_ARY_FLAG|WRAP_REARG_FLAG)&&source[7].length<=source[8]&&bitmask==WRAP_CURRY_FLAG;if(!(isCommon||isCombo))return data;if(srcBitmask&WRAP_BIND_FLAG){data[2]=source[2];newBitmask|=bitmask&WRAP_BIND_FLAG?0:WRAP_CURRY_BOUND_FLAG}var value=source[3];if(value){var partials=data[3];data[3]=partials?composeArgs(partials,value,source[4]):value;data[4]=partials?replaceHolders(data[3],PLACEHOLDER):source[4]}value=source[5];if(value){partials=data[5];data[5]=partials?composeArgsRight(partials,value,source[6]):value;data[6]=partials?replaceHolders(data[5],PLACEHOLDER):source[6]}value=source[7];value&&(data[7]=value);srcBitmask&WRAP_ARY_FLAG&&(data[8]=null==data[8]?source[8]:nativeMin(data[8],source[8]));null==data[9]&&(data[9]=source[9]);data[0]=source[0];data[1]=newBitmask;return data}function nativeKeysIn(object){var result=[];if(null!=object)for(var key in Object(object))result.push(key);return result}function objectToString(value){return nativeObjectToString.call(value)}function overRest(func,start,transform){start=nativeMax(start===undefined?func.length-1:start,0);return function(){var args=arguments,index=-1,length=nativeMax(args.length-start,0),array=Array(length);while(++index<length)array[index]=args[start+index];index=-1;var otherArgs=Array(start+1);while(++index<start)otherArgs[index]=args[index];otherArgs[start]=transform(array);return apply(func,this,otherArgs)}}function parent(object,path){return path.length<2?object:baseGet(object,baseSlice(path,0,-1))}function reorder(array,indexes){var arrLength=array.length,length=nativeMin(indexes.length,arrLength),oldArray=copyArray(array);while(length--){var index=indexes[length];array[length]=isIndex(index,arrLength)?oldArray[index]:undefined}return array}function safeGet(object,key){if("__proto__"==key)return;return object[key]}var setData=shortOut(baseSetData);var setTimeout=ctxSetTimeout||function(func,wait){return root.setTimeout(func,wait)};var setToString=shortOut(baseSetToString);function setWrapToString(wrapper,reference,bitmask){var source=reference+"";return setToString(wrapper,insertWrapDetails(source,updateWrapDetails(getWrapDetails(source),bitmask)))}function shortOut(func){var count=0,lastCalled=0;return function(){var stamp=nativeNow(),remaining=HOT_SPAN-(stamp-lastCalled);lastCalled=stamp;if(remaining>0){if(++count>=HOT_COUNT)return arguments[0]}else count=0;return func.apply(undefined,arguments)}}function shuffleSelf(array,size){var index=-1,length=array.length,lastIndex=length-1;size=size===undefined?length:size;while(++index<size){var rand=baseRandom(index,lastIndex),value=array[rand];array[rand]=array[index];array[index]=value}array.length=size;return array}var stringToPath=memoizeCapped(function(string){var result=[];46===string.charCodeAt(0)&&result.push("");string.replace(rePropName,function(match,number,quote,subString){result.push(quote?subString.replace(reEscapeChar,"$1"):number||match)});return result});function toKey(value){if("string"==typeof value||isSymbol(value))return value;var result=value+"";return"0"==result&&1/value==-INFINITY?"-0":result}function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}function updateWrapDetails(details,bitmask){arrayEach(wrapFlags,function(pair){var value="_."+pair[0];bitmask&pair[1]&&!arrayIncludes(details,value)&&details.push(value)});return details.sort()}function wrapperClone(wrapper){if(wrapper instanceof LazyWrapper)return wrapper.clone();var result=new LodashWrapper(wrapper.__wrapped__,wrapper.__chain__);result.__actions__=copyArray(wrapper.__actions__);result.__index__=wrapper.__index__;result.__values__=wrapper.__values__;return result}function chunk(array,size,guard){size=(guard?isIterateeCall(array,size,guard):size===undefined)?1:nativeMax(toInteger(size),0);var length=null==array?0:array.length;if(!length||size<1)return[];var index=0,resIndex=0,result=Array(nativeCeil(length/size));while(index<length)result[resIndex++]=baseSlice(array,index,index+=size);return result}function compact(array){var index=-1,length=null==array?0:array.length,resIndex=0,result=[];while(++index<length){var value=array[index];value&&(result[resIndex++]=value)}return result}function concat(){var length=arguments.length;if(!length)return[];var args=Array(length-1),array=arguments[0],index=length;while(index--)args[index-1]=arguments[index];return arrayPush(isArray(array)?copyArray(array):[array],baseFlatten(args,1))}var difference=baseRest(function(array,values){return isArrayLikeObject(array)?baseDifference(array,baseFlatten(values,1,isArrayLikeObject,true)):[]});var differenceBy=baseRest(function(array,values){var iteratee=last(values);isArrayLikeObject(iteratee)&&(iteratee=undefined);return isArrayLikeObject(array)?baseDifference(array,baseFlatten(values,1,isArrayLikeObject,true),getIteratee(iteratee,2)):[]});var differenceWith=baseRest(function(array,values){var comparator=last(values);isArrayLikeObject(comparator)&&(comparator=undefined);return isArrayLikeObject(array)?baseDifference(array,baseFlatten(values,1,isArrayLikeObject,true),undefined,comparator):[]});function drop(array,n,guard){var length=null==array?0:array.length;if(!length)return[];n=guard||n===undefined?1:toInteger(n);return baseSlice(array,n<0?0:n,length)}function dropRight(array,n,guard){var length=null==array?0:array.length;if(!length)return[];n=guard||n===undefined?1:toInteger(n);n=length-n;return baseSlice(array,0,n<0?0:n)}function dropRightWhile(array,predicate){return array&&array.length?baseWhile(array,getIteratee(predicate,3),true,true):[]}function dropWhile(array,predicate){return array&&array.length?baseWhile(array,getIteratee(predicate,3),true):[]}function fill(array,value,start,end){var length=null==array?0:array.length;if(!length)return[];if(start&&"number"!=typeof start&&isIterateeCall(array,value,start)){start=0;end=length}return baseFill(array,value,start,end)}function findIndex(array,predicate,fromIndex){var length=null==array?0:array.length;if(!length)return-1;var index=null==fromIndex?0:toInteger(fromIndex);index<0&&(index=nativeMax(length+index,0));return baseFindIndex(array,getIteratee(predicate,3),index)}function findLastIndex(array,predicate,fromIndex){var length=null==array?0:array.length;if(!length)return-1;var index=length-1;if(fromIndex!==undefined){index=toInteger(fromIndex);index=fromIndex<0?nativeMax(length+index,0):nativeMin(index,length-1)}return baseFindIndex(array,getIteratee(predicate,3),index,true)}function flatten(array){var length=null==array?0:array.length;return length?baseFlatten(array,1):[]}function flattenDeep(array){var length=null==array?0:array.length;return length?baseFlatten(array,INFINITY):[]}function flattenDepth(array,depth){var length=null==array?0:array.length;if(!length)return[];depth=depth===undefined?1:toInteger(depth);return baseFlatten(array,depth)}function fromPairs(pairs){var index=-1,length=null==pairs?0:pairs.length,result={};while(++index<length){var pair=pairs[index];result[pair[0]]=pair[1]}return result}function head(array){return array&&array.length?array[0]:undefined}function indexOf(array,value,fromIndex){var length=null==array?0:array.length;if(!length)return-1;var index=null==fromIndex?0:toInteger(fromIndex);index<0&&(index=nativeMax(length+index,0));return baseIndexOf(array,value,index)}function initial(array){var length=null==array?0:array.length;return length?baseSlice(array,0,-1):[]}var intersection=baseRest(function(arrays){var mapped=arrayMap(arrays,castArrayLikeObject);return mapped.length&&mapped[0]===arrays[0]?baseIntersection(mapped):[]});var intersectionBy=baseRest(function(arrays){var iteratee=last(arrays),mapped=arrayMap(arrays,castArrayLikeObject);iteratee===last(mapped)?iteratee=undefined:mapped.pop();return mapped.length&&mapped[0]===arrays[0]?baseIntersection(mapped,getIteratee(iteratee,2)):[]});var intersectionWith=baseRest(function(arrays){var comparator=last(arrays),mapped=arrayMap(arrays,castArrayLikeObject);comparator="function"==typeof comparator?comparator:undefined;comparator&&mapped.pop();return mapped.length&&mapped[0]===arrays[0]?baseIntersection(mapped,undefined,comparator):[]});function join(array,separator){return null==array?"":nativeJoin.call(array,separator)}function last(array){var length=null==array?0:array.length;return length?array[length-1]:undefined}function lastIndexOf(array,value,fromIndex){var length=null==array?0:array.length;if(!length)return-1;var index=length;if(fromIndex!==undefined){index=toInteger(fromIndex);index=index<0?nativeMax(length+index,0):nativeMin(index,length-1)}return value===value?strictLastIndexOf(array,value,index):baseFindIndex(array,baseIsNaN,index,true)}function nth(array,n){return array&&array.length?baseNth(array,toInteger(n)):undefined}var pull=baseRest(pullAll);function pullAll(array,values){return array&&array.length&&values&&values.length?basePullAll(array,values):array}function pullAllBy(array,values,iteratee){return array&&array.length&&values&&values.length?basePullAll(array,values,getIteratee(iteratee,2)):array}function pullAllWith(array,values,comparator){return array&&array.length&&values&&values.length?basePullAll(array,values,undefined,comparator):array}var pullAt=flatRest(function(array,indexes){var length=null==array?0:array.length,result=baseAt(array,indexes);basePullAt(array,arrayMap(indexes,function(index){return isIndex(index,length)?+index:index}).sort(compareAscending));return result});function remove(array,predicate){var result=[];if(!(array&&array.length))return result;var index=-1,indexes=[],length=array.length;predicate=getIteratee(predicate,3);while(++index<length){var value=array[index];if(predicate(value,index,array)){result.push(value);indexes.push(index)}}basePullAt(array,indexes);return result}function reverse(array){return null==array?array:nativeReverse.call(array)}function slice(array,start,end){var length=null==array?0:array.length;if(!length)return[];if(end&&"number"!=typeof end&&isIterateeCall(array,start,end)){start=0;end=length}else{start=null==start?0:toInteger(start);end=end===undefined?length:toInteger(end)}return baseSlice(array,start,end)}function sortedIndex(array,value){return baseSortedIndex(array,value)}function sortedIndexBy(array,value,iteratee){return baseSortedIndexBy(array,value,getIteratee(iteratee,2))}function sortedIndexOf(array,value){var length=null==array?0:array.length;if(length){var index=baseSortedIndex(array,value);if(index<length&&eq(array[index],value))return index}return-1}function sortedLastIndex(array,value){return baseSortedIndex(array,value,true)}function sortedLastIndexBy(array,value,iteratee){return baseSortedIndexBy(array,value,getIteratee(iteratee,2),true)}function sortedLastIndexOf(array,value){var length=null==array?0:array.length;if(length){var index=baseSortedIndex(array,value,true)-1;if(eq(array[index],value))return index}return-1}function sortedUniq(array){return array&&array.length?baseSortedUniq(array):[]}function sortedUniqBy(array,iteratee){return array&&array.length?baseSortedUniq(array,getIteratee(iteratee,2)):[]}function tail(array){var length=null==array?0:array.length;return length?baseSlice(array,1,length):[]}function take(array,n,guard){if(!(array&&array.length))return[];n=guard||n===undefined?1:toInteger(n);return baseSlice(array,0,n<0?0:n)}function takeRight(array,n,guard){var length=null==array?0:array.length;if(!length)return[];n=guard||n===undefined?1:toInteger(n);n=length-n;return baseSlice(array,n<0?0:n,length)}function takeRightWhile(array,predicate){return array&&array.length?baseWhile(array,getIteratee(predicate,3),false,true):[]}function takeWhile(array,predicate){return array&&array.length?baseWhile(array,getIteratee(predicate,3)):[]}var union=baseRest(function(arrays){return baseUniq(baseFlatten(arrays,1,isArrayLikeObject,true))});var unionBy=baseRest(function(arrays){var iteratee=last(arrays);isArrayLikeObject(iteratee)&&(iteratee=undefined);return baseUniq(baseFlatten(arrays,1,isArrayLikeObject,true),getIteratee(iteratee,2))});var unionWith=baseRest(function(arrays){var comparator=last(arrays);comparator="function"==typeof comparator?comparator:undefined;return baseUniq(baseFlatten(arrays,1,isArrayLikeObject,true),undefined,comparator)});function uniq(array){return array&&array.length?baseUniq(array):[]}function uniqBy(array,iteratee){return array&&array.length?baseUniq(array,getIteratee(iteratee,2)):[]}function uniqWith(array,comparator){comparator="function"==typeof comparator?comparator:undefined;return array&&array.length?baseUniq(array,undefined,comparator):[]}function unzip(array){if(!(array&&array.length))return[];var length=0;array=arrayFilter(array,function(group){if(isArrayLikeObject(group)){length=nativeMax(group.length,length);return true}});return baseTimes(length,function(index){return arrayMap(array,baseProperty(index))})}function unzipWith(array,iteratee){if(!(array&&array.length))return[];var result=unzip(array);if(null==iteratee)return result;return arrayMap(result,function(group){return apply(iteratee,undefined,group)})}var without=baseRest(function(array,values){return isArrayLikeObject(array)?baseDifference(array,values):[]});var xor=baseRest(function(arrays){return baseXor(arrayFilter(arrays,isArrayLikeObject))});var xorBy=baseRest(function(arrays){var iteratee=last(arrays);isArrayLikeObject(iteratee)&&(iteratee=undefined);return baseXor(arrayFilter(arrays,isArrayLikeObject),getIteratee(iteratee,2))});var xorWith=baseRest(function(arrays){var comparator=last(arrays);comparator="function"==typeof comparator?comparator:undefined;return baseXor(arrayFilter(arrays,isArrayLikeObject),undefined,comparator)});var zip=baseRest(unzip);function zipObject(props,values){return baseZipObject(props||[],values||[],assignValue)}function zipObjectDeep(props,values){return baseZipObject(props||[],values||[],baseSet)}var zipWith=baseRest(function(arrays){var length=arrays.length,iteratee=length>1?arrays[length-1]:undefined;iteratee="function"==typeof iteratee?(arrays.pop(),iteratee):undefined;return unzipWith(arrays,iteratee)});function chain(value){var result=lodash(value);result.__chain__=true;return result}function tap(value,interceptor){interceptor(value);return value}function thru(value,interceptor){return interceptor(value)}var wrapperAt=flatRest(function(paths){var length=paths.length,start=length?paths[0]:0,value=this.__wrapped__,interceptor=function(object){return baseAt(object,paths)};if(length>1||this.__actions__.length||!(value instanceof LazyWrapper)||!isIndex(start))return this.thru(interceptor);value=value.slice(start,+start+(length?1:0));value.__actions__.push({func:thru,args:[interceptor],thisArg:undefined});return new LodashWrapper(value,this.__chain__).thru(function(array){length&&!array.length&&array.push(undefined);return array})});function wrapperChain(){return chain(this)}function wrapperCommit(){return new LodashWrapper(this.value(),this.__chain__)}function wrapperNext(){this.__values__===undefined&&(this.__values__=toArray(this.value()));var done=this.__index__>=this.__values__.length,value=done?undefined:this.__values__[this.__index__++];return{done:done,value:value}}function wrapperToIterator(){return this}function wrapperPlant(value){var result,parent=this;while(parent instanceof baseLodash){var clone=wrapperClone(parent);clone.__index__=0;clone.__values__=undefined;result?previous.__wrapped__=clone:result=clone;var previous=clone;parent=parent.__wrapped__}previous.__wrapped__=value;return result}function wrapperReverse(){var value=this.__wrapped__;if(value instanceof LazyWrapper){var wrapped=value;this.__actions__.length&&(wrapped=new LazyWrapper(this));wrapped=wrapped.reverse();wrapped.__actions__.push({func:thru,args:[reverse],thisArg:undefined});return new LodashWrapper(wrapped,this.__chain__)}return this.thru(reverse)}function wrapperValue(){return baseWrapperValue(this.__wrapped__,this.__actions__)}var countBy=createAggregator(function(result,value,key){hasOwnProperty.call(result,key)?++result[key]:baseAssignValue(result,key,1)});function every(collection,predicate,guard){var func=isArray(collection)?arrayEvery:baseEvery;guard&&isIterateeCall(collection,predicate,guard)&&(predicate=undefined);return func(collection,getIteratee(predicate,3))}function filter(collection,predicate){var func=isArray(collection)?arrayFilter:baseFilter;return func(collection,getIteratee(predicate,3))}var find=createFind(findIndex);var findLast=createFind(findLastIndex);function flatMap(collection,iteratee){return baseFlatten(map(collection,iteratee),1)}function flatMapDeep(collection,iteratee){return baseFlatten(map(collection,iteratee),INFINITY)}function flatMapDepth(collection,iteratee,depth){depth=depth===undefined?1:toInteger(depth);return baseFlatten(map(collection,iteratee),depth)}function forEach(collection,iteratee){var func=isArray(collection)?arrayEach:baseEach;return func(collection,getIteratee(iteratee,3))}function forEachRight(collection,iteratee){var func=isArray(collection)?arrayEachRight:baseEachRight;return func(collection,getIteratee(iteratee,3))}var groupBy=createAggregator(function(result,value,key){hasOwnProperty.call(result,key)?result[key].push(value):baseAssignValue(result,key,[value])});function includes(collection,value,fromIndex,guard){collection=isArrayLike(collection)?collection:values(collection);fromIndex=fromIndex&&!guard?toInteger(fromIndex):0;var length=collection.length;fromIndex<0&&(fromIndex=nativeMax(length+fromIndex,0));return isString(collection)?fromIndex<=length&&collection.indexOf(value,fromIndex)>-1:!!length&&baseIndexOf(collection,value,fromIndex)>-1}var invokeMap=baseRest(function(collection,path,args){var index=-1,isFunc="function"==typeof path,result=isArrayLike(collection)?Array(collection.length):[];baseEach(collection,function(value){result[++index]=isFunc?apply(path,value,args):baseInvoke(value,path,args)});return result});var keyBy=createAggregator(function(result,value,key){baseAssignValue(result,key,value)});function map(collection,iteratee){var func=isArray(collection)?arrayMap:baseMap;return func(collection,getIteratee(iteratee,3))}function orderBy(collection,iteratees,orders,guard){if(null==collection)return[];isArray(iteratees)||(iteratees=null==iteratees?[]:[iteratees]);orders=guard?undefined:orders;isArray(orders)||(orders=null==orders?[]:[orders]);return baseOrderBy(collection,iteratees,orders)}var partition=createAggregator(function(result,value,key){result[key?0:1].push(value)},function(){return[[],[]]});function reduce(collection,iteratee,accumulator){var func=isArray(collection)?arrayReduce:baseReduce,initAccum=arguments.length<3;return func(collection,getIteratee(iteratee,4),accumulator,initAccum,baseEach)}function reduceRight(collection,iteratee,accumulator){var func=isArray(collection)?arrayReduceRight:baseReduce,initAccum=arguments.length<3;return func(collection,getIteratee(iteratee,4),accumulator,initAccum,baseEachRight)}function reject(collection,predicate){var func=isArray(collection)?arrayFilter:baseFilter;return func(collection,negate(getIteratee(predicate,3)))}function sample(collection){var func=isArray(collection)?arraySample:baseSample;return func(collection)}function sampleSize(collection,n,guard){n=(guard?isIterateeCall(collection,n,guard):n===undefined)?1:toInteger(n);var func=isArray(collection)?arraySampleSize:baseSampleSize;return func(collection,n)}function shuffle(collection){var func=isArray(collection)?arrayShuffle:baseShuffle;return func(collection)}function size(collection){if(null==collection)return 0;if(isArrayLike(collection))return isString(collection)?stringSize(collection):collection.length;var tag=getTag(collection);if(tag==mapTag||tag==setTag)return collection.size;return baseKeys(collection).length}function some(collection,predicate,guard){var func=isArray(collection)?arraySome:baseSome;guard&&isIterateeCall(collection,predicate,guard)&&(predicate=undefined);return func(collection,getIteratee(predicate,3))}var sortBy=baseRest(function(collection,iteratees){if(null==collection)return[];var length=iteratees.length;length>1&&isIterateeCall(collection,iteratees[0],iteratees[1])?iteratees=[]:length>2&&isIterateeCall(iteratees[0],iteratees[1],iteratees[2])&&(iteratees=[iteratees[0]]);return baseOrderBy(collection,baseFlatten(iteratees,1),[])});var now=ctxNow||function(){return root.Date.now()};function after(n,func){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);n=toInteger(n);return function(){if(--n<1)return func.apply(this,arguments)}}function ary(func,n,guard){n=guard?undefined:n;n=func&&null==n?func.length:n;return createWrap(func,WRAP_ARY_FLAG,undefined,undefined,undefined,undefined,n)}function before(n,func){var result;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);n=toInteger(n);return function(){--n>0&&(result=func.apply(this,arguments));n<=1&&(func=undefined);return result}}var bind=baseRest(function(func,thisArg,partials){var bitmask=WRAP_BIND_FLAG;if(partials.length){var holders=replaceHolders(partials,getHolder(bind));bitmask|=WRAP_PARTIAL_FLAG}return createWrap(func,bitmask,thisArg,partials,holders)});var bindKey=baseRest(function(object,key,partials){var bitmask=WRAP_BIND_FLAG|WRAP_BIND_KEY_FLAG;if(partials.length){var holders=replaceHolders(partials,getHolder(bindKey));bitmask|=WRAP_PARTIAL_FLAG}return createWrap(key,bitmask,object,partials,holders)});function curry(func,arity,guard){arity=guard?undefined:arity;var result=createWrap(func,WRAP_CURRY_FLAG,undefined,undefined,undefined,undefined,undefined,arity);result.placeholder=curry.placeholder;return result}function curryRight(func,arity,guard){arity=guard?undefined:arity;var result=createWrap(func,WRAP_CURRY_RIGHT_FLAG,undefined,undefined,undefined,undefined,undefined,arity);result.placeholder=curryRight.placeholder;return result}function debounce(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=false,maxing=false,trailing=true;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);wait=toNumber(wait)||0;if(isObject(options)){leading=!!options.leading;maxing="maxWait"in options;maxWait=maxing?nativeMax(toNumber(options.maxWait)||0,wait):maxWait;trailing="trailing"in options?!!options.trailing:trailing}function invokeFunc(time){var args=lastArgs,thisArg=lastThis;lastArgs=lastThis=undefined;lastInvokeTime=time;result=func.apply(thisArg,args);return result}function leadingEdge(time){lastInvokeTime=time;timerId=setTimeout(timerExpired,wait);return leading?invokeFunc(time):result}function remainingWait(time){var timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime,timeWaiting=wait-timeSinceLastCall;return maxing?nativeMin(timeWaiting,maxWait-timeSinceLastInvoke):timeWaiting}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime;return lastCallTime===undefined||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&timeSinceLastInvoke>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,remainingWait(time))}function trailingEdge(time){timerId=undefined;if(trailing&&lastArgs)return invokeFunc(time);lastArgs=lastThis=undefined;return result}function cancel(){timerId!==undefined&&clearTimeout(timerId);lastInvokeTime=0;lastArgs=lastCallTime=lastThis=timerId=undefined}function flush(){return timerId===undefined?result:trailingEdge(now())}function debounced(){var time=now(),isInvoking=shouldInvoke(time);lastArgs=arguments;lastThis=this;lastCallTime=time;if(isInvoking){if(timerId===undefined)return leadingEdge(lastCallTime);if(maxing){timerId=setTimeout(timerExpired,wait);return invokeFunc(lastCallTime)}}timerId===undefined&&(timerId=setTimeout(timerExpired,wait));return result}debounced.cancel=cancel;debounced.flush=flush;return debounced}var defer=baseRest(function(func,args){return baseDelay(func,1,args)});var delay=baseRest(function(func,wait,args){return baseDelay(func,toNumber(wait)||0,args)});function flip(func){return createWrap(func,WRAP_FLIP_FLAG)}function memoize(func,resolver){if("function"!=typeof func||null!=resolver&&"function"!=typeof resolver)throw new TypeError(FUNC_ERROR_TEXT);var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);memoized.cache=cache.set(key,result)||cache;return result};memoized.cache=new(memoize.Cache||MapCache);return memoized}memoize.Cache=MapCache;function negate(predicate){if("function"!=typeof predicate)throw new TypeError(FUNC_ERROR_TEXT);return function(){var args=arguments;switch(args.length){case 0:return!predicate.call(this);case 1:return!predicate.call(this,args[0]);case 2:return!predicate.call(this,args[0],args[1]);case 3:return!predicate.call(this,args[0],args[1],args[2])}return!predicate.apply(this,args)}}function once(func){return before(2,func)}var overArgs=castRest(function(func,transforms){transforms=1==transforms.length&&isArray(transforms[0])?arrayMap(transforms[0],baseUnary(getIteratee())):arrayMap(baseFlatten(transforms,1),baseUnary(getIteratee()));var funcsLength=transforms.length;return baseRest(function(args){var index=-1,length=nativeMin(args.length,funcsLength);while(++index<length)args[index]=transforms[index].call(this,args[index]);return apply(func,this,args)})});var partial=baseRest(function(func,partials){var holders=replaceHolders(partials,getHolder(partial));return createWrap(func,WRAP_PARTIAL_FLAG,undefined,partials,holders)});var partialRight=baseRest(function(func,partials){var holders=replaceHolders(partials,getHolder(partialRight));return createWrap(func,WRAP_PARTIAL_RIGHT_FLAG,undefined,partials,holders)});var rearg=flatRest(function(func,indexes){return createWrap(func,WRAP_REARG_FLAG,undefined,undefined,undefined,indexes)});function rest(func,start){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);start=start===undefined?start:toInteger(start);return baseRest(func,start)}function spread(func,start){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);start=null==start?0:nativeMax(toInteger(start),0);return baseRest(function(args){var array=args[start],otherArgs=castSlice(args,0,start);array&&arrayPush(otherArgs,array);return apply(func,this,otherArgs)})}function throttle(func,wait,options){var leading=true,trailing=true;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);if(isObject(options)){leading="leading"in options?!!options.leading:leading;trailing="trailing"in options?!!options.trailing:trailing}return debounce(func,wait,{leading:leading,maxWait:wait,trailing:trailing})}function unary(func){return ary(func,1)}function wrap(value,wrapper){return partial(castFunction(wrapper),value)}function castArray(){if(!arguments.length)return[];var value=arguments[0];return isArray(value)?value:[value]}function clone(value){return baseClone(value,CLONE_SYMBOLS_FLAG)}function cloneWith(value,customizer){customizer="function"==typeof customizer?customizer:undefined;return baseClone(value,CLONE_SYMBOLS_FLAG,customizer)}function cloneDeep(value){return baseClone(value,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}function cloneDeepWith(value,customizer){customizer="function"==typeof customizer?customizer:undefined;return baseClone(value,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG,customizer)}function conformsTo(object,source){return null==source||baseConformsTo(object,source,keys(source))}function eq(value,other){return value===other||value!==value&&other!==other}var gt=createRelationalOperation(baseGt);var gte=createRelationalOperation(function(value,other){return value>=other});var isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};var isArray=Array.isArray;var isArrayBuffer=nodeIsArrayBuffer?baseUnary(nodeIsArrayBuffer):baseIsArrayBuffer;function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}function isArrayLikeObject(value){return isObjectLike(value)&&isArrayLike(value)}function isBoolean(value){return true===value||false===value||isObjectLike(value)&&baseGetTag(value)==boolTag}var isBuffer=nativeIsBuffer||stubFalse;var isDate=nodeIsDate?baseUnary(nodeIsDate):baseIsDate;function isElement(value){return isObjectLike(value)&&1===value.nodeType&&!isPlainObject(value)}function isEmpty(value){if(null==value)return true;if(isArrayLike(value)&&(isArray(value)||"string"==typeof value||"function"==typeof value.splice||isBuffer(value)||isTypedArray(value)||isArguments(value)))return!value.length;var tag=getTag(value);if(tag==mapTag||tag==setTag)return!value.size;if(isPrototype(value))return!baseKeys(value).length;for(var key in value)if(hasOwnProperty.call(value,key))return false;return true}function isEqual(value,other){return baseIsEqual(value,other)}function isEqualWith(value,other,customizer){customizer="function"==typeof customizer?customizer:undefined;var result=customizer?customizer(value,other):undefined;return result===undefined?baseIsEqual(value,other,undefined,customizer):!!result}function isError(value){if(!isObjectLike(value))return false;var tag=baseGetTag(value);return tag==errorTag||tag==domExcTag||"string"==typeof value.message&&"string"==typeof value.name&&!isPlainObject(value)}function isFinite(value){return"number"==typeof value&&nativeIsFinite(value)}function isFunction(value){if(!isObject(value))return false;var tag=baseGetTag(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}function isInteger(value){return"number"==typeof value&&value==toInteger(value)}function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}function isObjectLike(value){return null!=value&&"object"==typeof value}var isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;function isMatch(object,source){return object===source||baseIsMatch(object,source,getMatchData(source))}function isMatchWith(object,source,customizer){customizer="function"==typeof customizer?customizer:undefined;return baseIsMatch(object,source,getMatchData(source),customizer)}function isNaN(value){return isNumber(value)&&value!=+value}function isNative(value){if(isMaskable(value))throw new Error(CORE_ERROR_TEXT);return baseIsNative(value)}function isNull(value){return null===value}function isNil(value){return null==value}function isNumber(value){return"number"==typeof value||isObjectLike(value)&&baseGetTag(value)==numberTag}function isPlainObject(value){if(!isObjectLike(value)||baseGetTag(value)!=objectTag)return false;var proto=getPrototype(value);if(null===proto)return true;var Ctor=hasOwnProperty.call(proto,"constructor")&&proto.constructor;return"function"==typeof Ctor&&Ctor instanceof Ctor&&funcToString.call(Ctor)==objectCtorString}var isRegExp=nodeIsRegExp?baseUnary(nodeIsRegExp):baseIsRegExp;function isSafeInteger(value){return isInteger(value)&&value>=-MAX_SAFE_INTEGER&&value<=MAX_SAFE_INTEGER}var isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;function isString(value){return"string"==typeof value||!isArray(value)&&isObjectLike(value)&&baseGetTag(value)==stringTag}function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&baseGetTag(value)==symbolTag}var isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;function isUndefined(value){return value===undefined}function isWeakMap(value){return isObjectLike(value)&&getTag(value)==weakMapTag}function isWeakSet(value){return isObjectLike(value)&&baseGetTag(value)==weakSetTag}var lt=createRelationalOperation(baseLt);var lte=createRelationalOperation(function(value,other){return value<=other});function toArray(value){if(!value)return[];if(isArrayLike(value))return isString(value)?stringToArray(value):copyArray(value);if(symIterator&&value[symIterator])return iteratorToArray(value[symIterator]());var tag=getTag(value),func=tag==mapTag?mapToArray:tag==setTag?setToArray:values;return func(value)}function toFinite(value){if(!value)return 0===value?value:0;value=toNumber(value);if(value===INFINITY||value===-INFINITY){var sign=value<0?-1:1;return sign*MAX_INTEGER}return value===value?value:0}function toInteger(value){var result=toFinite(value),remainder=result%1;return result===result?remainder?result-remainder:result:0}function toLength(value){return value?baseClamp(toInteger(value),0,MAX_ARRAY_LENGTH):0}function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NAN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=value.replace(reTrim,"");var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NAN:+value}function toPlainObject(value){return copyObject(value,keysIn(value))}function toSafeInteger(value){return value?baseClamp(toInteger(value),-MAX_SAFE_INTEGER,MAX_SAFE_INTEGER):0===value?value:0}function toString(value){return null==value?"":baseToString(value)}var assign=createAssigner(function(object,source){if(isPrototype(source)||isArrayLike(source)){copyObject(source,keys(source),object);return}for(var key in source)hasOwnProperty.call(source,key)&&assignValue(object,key,source[key])});var assignIn=createAssigner(function(object,source){copyObject(source,keysIn(source),object)});var assignInWith=createAssigner(function(object,source,srcIndex,customizer){copyObject(source,keysIn(source),object,customizer)});var assignWith=createAssigner(function(object,source,srcIndex,customizer){copyObject(source,keys(source),object,customizer)});var at=flatRest(baseAt);function create(prototype,properties){var result=baseCreate(prototype);return null==properties?result:baseAssign(result,properties)}var defaults=baseRest(function(object,sources){object=Object(object);var index=-1;var length=sources.length;var guard=length>2?sources[2]:undefined;guard&&isIterateeCall(sources[0],sources[1],guard)&&(length=1);while(++index<length){var source=sources[index];var props=keysIn(source);var propsIndex=-1;var propsLength=props.length;while(++propsIndex<propsLength){var key=props[propsIndex];var value=object[key];(value===undefined||eq(value,objectProto[key])&&!hasOwnProperty.call(object,key))&&(object[key]=source[key])}}return object});var defaultsDeep=baseRest(function(args){args.push(undefined,customDefaultsMerge);return apply(mergeWith,undefined,args)});function findKey(object,predicate){return baseFindKey(object,getIteratee(predicate,3),baseForOwn)}function findLastKey(object,predicate){return baseFindKey(object,getIteratee(predicate,3),baseForOwnRight)}function forIn(object,iteratee){return null==object?object:baseFor(object,getIteratee(iteratee,3),keysIn)}function forInRight(object,iteratee){return null==object?object:baseForRight(object,getIteratee(iteratee,3),keysIn)}function forOwn(object,iteratee){return object&&baseForOwn(object,getIteratee(iteratee,3))}function forOwnRight(object,iteratee){return object&&baseForOwnRight(object,getIteratee(iteratee,3))}function functions(object){return null==object?[]:baseFunctions(object,keys(object))}function functionsIn(object){return null==object?[]:baseFunctions(object,keysIn(object))}function get(object,path,defaultValue){var result=null==object?undefined:baseGet(object,path);return result===undefined?defaultValue:result}function has(object,path){return null!=object&&hasPath(object,path,baseHas)}function hasIn(object,path){return null!=object&&hasPath(object,path,baseHasIn)}var invert=createInverter(function(result,value,key){null!=value&&"function"!=typeof value.toString&&(value=nativeObjectToString.call(value));result[value]=key},constant(identity));var invertBy=createInverter(function(result,value,key){null!=value&&"function"!=typeof value.toString&&(value=nativeObjectToString.call(value));hasOwnProperty.call(result,value)?result[value].push(key):result[value]=[key]},getIteratee);var invoke=baseRest(baseInvoke);function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}function keysIn(object){return isArrayLike(object)?arrayLikeKeys(object,true):baseKeysIn(object)}function mapKeys(object,iteratee){var result={};iteratee=getIteratee(iteratee,3);baseForOwn(object,function(value,key,object){baseAssignValue(result,iteratee(value,key,object),value)});return result}function mapValues(object,iteratee){var result={};iteratee=getIteratee(iteratee,3);baseForOwn(object,function(value,key,object){baseAssignValue(result,key,iteratee(value,key,object))});return result}var merge=createAssigner(function(object,source,srcIndex){baseMerge(object,source,srcIndex)});var mergeWith=createAssigner(function(object,source,srcIndex,customizer){baseMerge(object,source,srcIndex,customizer)});var omit=flatRest(function(object,paths){var result={};if(null==object)return result;var isDeep=false;paths=arrayMap(paths,function(path){path=castPath(path,object);isDeep||(isDeep=path.length>1);return path});copyObject(object,getAllKeysIn(object),result);isDeep&&(result=baseClone(result,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,customOmitClone));var length=paths.length;while(length--)baseUnset(result,paths[length]);return result});function omitBy(object,predicate){return pickBy(object,negate(getIteratee(predicate)))}var pick=flatRest(function(object,paths){return null==object?{}:basePick(object,paths)});function pickBy(object,predicate){if(null==object)return{};var props=arrayMap(getAllKeysIn(object),function(prop){return[prop]});predicate=getIteratee(predicate);return basePickBy(object,props,function(value,path){return predicate(value,path[0])})}function result(object,path,defaultValue){path=castPath(path,object);var index=-1,length=path.length;if(!length){length=1;object=undefined}while(++index<length){var value=null==object?undefined:object[toKey(path[index])];if(value===undefined){index=length;value=defaultValue}object=isFunction(value)?value.call(object):value}return object}function set(object,path,value){return null==object?object:baseSet(object,path,value)}function setWith(object,path,value,customizer){customizer="function"==typeof customizer?customizer:undefined;return null==object?object:baseSet(object,path,value,customizer)}var toPairs=createToPairs(keys);var toPairsIn=createToPairs(keysIn);function transform(object,iteratee,accumulator){var isArr=isArray(object),isArrLike=isArr||isBuffer(object)||isTypedArray(object);iteratee=getIteratee(iteratee,4);if(null==accumulator){var Ctor=object&&object.constructor;accumulator=isArrLike?isArr?new Ctor:[]:isObject(object)&&isFunction(Ctor)?baseCreate(getPrototype(object)):{}}(isArrLike?arrayEach:baseForOwn)(object,function(value,index,object){return iteratee(accumulator,value,index,object)});return accumulator}function unset(object,path){return null==object||baseUnset(object,path)}function update(object,path,updater){return null==object?object:baseUpdate(object,path,castFunction(updater))}function updateWith(object,path,updater,customizer){customizer="function"==typeof customizer?customizer:undefined;return null==object?object:baseUpdate(object,path,castFunction(updater),customizer)}function values(object){return null==object?[]:baseValues(object,keys(object))}function valuesIn(object){return null==object?[]:baseValues(object,keysIn(object))}function clamp(number,lower,upper){if(upper===undefined){upper=lower;lower=undefined}if(upper!==undefined){upper=toNumber(upper);upper=upper===upper?upper:0}if(lower!==undefined){lower=toNumber(lower);lower=lower===lower?lower:0}return baseClamp(toNumber(number),lower,upper)}function inRange(number,start,end){start=toFinite(start);if(end===undefined){end=start;start=0}else end=toFinite(end);number=toNumber(number);return baseInRange(number,start,end)}function random(lower,upper,floating){floating&&"boolean"!=typeof floating&&isIterateeCall(lower,upper,floating)&&(upper=floating=undefined);if(floating===undefined)if("boolean"==typeof upper){floating=upper;upper=undefined}else if("boolean"==typeof lower){floating=lower;lower=undefined}if(lower===undefined&&upper===undefined){lower=0;upper=1}else{lower=toFinite(lower);if(upper===undefined){upper=lower;lower=0}else upper=toFinite(upper)}if(lower>upper){var temp=lower;lower=upper;upper=temp}if(floating||lower%1||upper%1){var rand=nativeRandom();return nativeMin(lower+rand*(upper-lower+freeParseFloat("1e-"+((rand+"").length-1))),upper)}return baseRandom(lower,upper)}var camelCase=createCompounder(function(result,word,index){word=word.toLowerCase();return result+(index?capitalize(word):word)});function capitalize(string){return upperFirst(toString(string).toLowerCase())}function deburr(string){string=toString(string);return string&&string.replace(reLatin,deburrLetter).replace(reComboMark,"")}function endsWith(string,target,position){string=toString(string);target=baseToString(target);var length=string.length;position=position===undefined?length:baseClamp(toInteger(position),0,length);var end=position;position-=target.length;return position>=0&&string.slice(position,end)==target}function escape(string){string=toString(string);return string&&reHasUnescapedHtml.test(string)?string.replace(reUnescapedHtml,escapeHtmlChar):string}function escapeRegExp(string){string=toString(string);return string&&reHasRegExpChar.test(string)?string.replace(reRegExpChar,"\\$&"):string}var kebabCase=createCompounder(function(result,word,index){return result+(index?"-":"")+word.toLowerCase()});var lowerCase=createCompounder(function(result,word,index){return result+(index?" ":"")+word.toLowerCase()});var lowerFirst=createCaseFirst("toLowerCase");function pad(string,length,chars){string=toString(string);length=toInteger(length);var strLength=length?stringSize(string):0;if(!length||strLength>=length)return string;var mid=(length-strLength)/2;return createPadding(nativeFloor(mid),chars)+string+createPadding(nativeCeil(mid),chars)}function padEnd(string,length,chars){string=toString(string);length=toInteger(length);var strLength=length?stringSize(string):0;return length&&strLength<length?string+createPadding(length-strLength,chars):string}function padStart(string,length,chars){string=toString(string);length=toInteger(length);var strLength=length?stringSize(string):0;return length&&strLength<length?createPadding(length-strLength,chars)+string:string}function parseInt(string,radix,guard){guard||null==radix?radix=0:radix&&(radix=+radix);return nativeParseInt(toString(string).replace(reTrimStart,""),radix||0)}function repeat(string,n,guard){n=(guard?isIterateeCall(string,n,guard):n===undefined)?1:toInteger(n);return baseRepeat(toString(string),n)}function replace(){var args=arguments,string=toString(args[0]);return args.length<3?string:string.replace(args[1],args[2])}var snakeCase=createCompounder(function(result,word,index){return result+(index?"_":"")+word.toLowerCase()});function split(string,separator,limit){limit&&"number"!=typeof limit&&isIterateeCall(string,separator,limit)&&(separator=limit=undefined);limit=limit===undefined?MAX_ARRAY_LENGTH:limit>>>0;if(!limit)return[];string=toString(string);if(string&&("string"==typeof separator||null!=separator&&!isRegExp(separator))){separator=baseToString(separator);if(!separator&&hasUnicode(string))return castSlice(stringToArray(string),0,limit)}return string.split(separator,limit)}var startCase=createCompounder(function(result,word,index){return result+(index?" ":"")+upperFirst(word)});function startsWith(string,target,position){string=toString(string);position=null==position?0:baseClamp(toInteger(position),0,string.length);target=baseToString(target);return string.slice(position,position+target.length)==target}function template(string,options,guard){var settings=lodash.templateSettings;guard&&isIterateeCall(string,options,guard)&&(options=undefined);string=toString(string);options=assignInWith({},options,settings,customDefaultsAssignIn);var imports=assignInWith({},options.imports,settings.imports,customDefaultsAssignIn),importsKeys=keys(imports),importsValues=baseValues(imports,importsKeys);var isEscaping,isEvaluating,index=0,interpolate=options.interpolate||reNoMatch,source="__p += '";var reDelimiters=RegExp((options.escape||reNoMatch).source+"|"+interpolate.source+"|"+(interpolate===reInterpolate?reEsTemplate:reNoMatch).source+"|"+(options.evaluate||reNoMatch).source+"|$","g");var sourceURL="//# sourceURL="+("sourceURL"in options?options.sourceURL:"lodash.templateSources["+ ++templateCounter+"]")+"\n";string.replace(reDelimiters,function(match,escapeValue,interpolateValue,esTemplateValue,evaluateValue,offset){interpolateValue||(interpolateValue=esTemplateValue);source+=string.slice(index,offset).replace(reUnescapedString,escapeStringChar);if(escapeValue){isEscaping=true;source+="' +\n__e("+escapeValue+") +\n'"}if(evaluateValue){isEvaluating=true;source+="';\n"+evaluateValue+";\n__p += '"}interpolateValue&&(source+="' +\n((__t = ("+interpolateValue+")) == null ? '' : __t) +\n'");index=offset+match.length;return match});source+="';\n";var variable=options.variable;variable||(source="with (obj) {\n"+source+"\n}\n");source=(isEvaluating?source.replace(reEmptyStringLeading,""):source).replace(reEmptyStringMiddle,"$1").replace(reEmptyStringTrailing,"$1;");source="function("+(variable||"obj")+") {\n"+(variable?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(isEscaping?", __e = _.escape":"")+(isEvaluating?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+source+"return __p\n}";var result=attempt(function(){return Function(importsKeys,sourceURL+"return "+source).apply(undefined,importsValues)});result.source=source;if(isError(result))throw result;return result}function toLower(value){return toString(value).toLowerCase()}function toUpper(value){return toString(value).toUpperCase()}function trim(string,chars,guard){string=toString(string);if(string&&(guard||chars===undefined))return string.replace(reTrim,"");if(!string||!(chars=baseToString(chars)))return string;var strSymbols=stringToArray(string),chrSymbols=stringToArray(chars),start=charsStartIndex(strSymbols,chrSymbols),end=charsEndIndex(strSymbols,chrSymbols)+1;return castSlice(strSymbols,start,end).join("")}function trimEnd(string,chars,guard){string=toString(string);if(string&&(guard||chars===undefined))return string.replace(reTrimEnd,"");if(!string||!(chars=baseToString(chars)))return string;var strSymbols=stringToArray(string),end=charsEndIndex(strSymbols,stringToArray(chars))+1;return castSlice(strSymbols,0,end).join("")}function trimStart(string,chars,guard){string=toString(string);if(string&&(guard||chars===undefined))return string.replace(reTrimStart,"");if(!string||!(chars=baseToString(chars)))return string;var strSymbols=stringToArray(string),start=charsStartIndex(strSymbols,stringToArray(chars));return castSlice(strSymbols,start).join("")}function truncate(string,options){var length=DEFAULT_TRUNC_LENGTH,omission=DEFAULT_TRUNC_OMISSION;if(isObject(options)){var separator="separator"in options?options.separator:separator;length="length"in options?toInteger(options.length):length;omission="omission"in options?baseToString(options.omission):omission}string=toString(string);var strLength=string.length;if(hasUnicode(string)){var strSymbols=stringToArray(string);strLength=strSymbols.length}if(length>=strLength)return string;var end=length-stringSize(omission);if(end<1)return omission;var result=strSymbols?castSlice(strSymbols,0,end).join(""):string.slice(0,end);if(separator===undefined)return result+omission;strSymbols&&(end+=result.length-end);if(isRegExp(separator)){if(string.slice(end).search(separator)){var match,substring=result;separator.global||(separator=RegExp(separator.source,toString(reFlags.exec(separator))+"g"));separator.lastIndex=0;while(match=separator.exec(substring))var newEnd=match.index;result=result.slice(0,newEnd===undefined?end:newEnd)}}else if(string.indexOf(baseToString(separator),end)!=end){var index=result.lastIndexOf(separator);index>-1&&(result=result.slice(0,index))}return result+omission}function unescape(string){string=toString(string);return string&&reHasEscapedHtml.test(string)?string.replace(reEscapedHtml,unescapeHtmlChar):string}var upperCase=createCompounder(function(result,word,index){return result+(index?" ":"")+word.toUpperCase()});var upperFirst=createCaseFirst("toUpperCase");function words(string,pattern,guard){string=toString(string);pattern=guard?undefined:pattern;if(pattern===undefined)return hasUnicodeWord(string)?unicodeWords(string):asciiWords(string);return string.match(pattern)||[]}var attempt=baseRest(function(func,args){try{return apply(func,undefined,args)}catch(e){return isError(e)?e:new Error(e)}});var bindAll=flatRest(function(object,methodNames){arrayEach(methodNames,function(key){key=toKey(key);baseAssignValue(object,key,bind(object[key],object))});return object});function cond(pairs){var length=null==pairs?0:pairs.length,toIteratee=getIteratee();pairs=length?arrayMap(pairs,function(pair){if("function"!=typeof pair[1])throw new TypeError(FUNC_ERROR_TEXT);return[toIteratee(pair[0]),pair[1]]}):[];return baseRest(function(args){var index=-1;while(++index<length){var pair=pairs[index];if(apply(pair[0],this,args))return apply(pair[1],this,args)}})}function conforms(source){return baseConforms(baseClone(source,CLONE_DEEP_FLAG))}function constant(value){return function(){return value}}function defaultTo(value,defaultValue){return null==value||value!==value?defaultValue:value}var flow=createFlow();var flowRight=createFlow(true);function identity(value){return value}function iteratee(func){return baseIteratee("function"==typeof func?func:baseClone(func,CLONE_DEEP_FLAG))}function matches(source){return baseMatches(baseClone(source,CLONE_DEEP_FLAG))}function matchesProperty(path,srcValue){return baseMatchesProperty(path,baseClone(srcValue,CLONE_DEEP_FLAG))}var method=baseRest(function(path,args){return function(object){return baseInvoke(object,path,args)}});var methodOf=baseRest(function(object,args){return function(path){return baseInvoke(object,path,args)}});function mixin(object,source,options){var props=keys(source),methodNames=baseFunctions(source,props);if(null==options&&!(isObject(source)&&(methodNames.length||!props.length))){options=source;source=object;object=this;methodNames=baseFunctions(source,keys(source))}var chain=!(isObject(options)&&"chain"in options)||!!options.chain,isFunc=isFunction(object);arrayEach(methodNames,function(methodName){var func=source[methodName];object[methodName]=func;isFunc&&(object.prototype[methodName]=function(){var chainAll=this.__chain__;if(chain||chainAll){var result=object(this.__wrapped__),actions=result.__actions__=copyArray(this.__actions__);actions.push({func:func,args:arguments,thisArg:object});result.__chain__=chainAll;return result}return func.apply(object,arrayPush([this.value()],arguments))})});return object}function noConflict(){root._===this&&(root._=oldDash);return this}function noop(){}function nthArg(n){n=toInteger(n);return baseRest(function(args){return baseNth(args,n)})}var over=createOver(arrayMap);var overEvery=createOver(arrayEvery);var overSome=createOver(arraySome);function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}function propertyOf(object){return function(path){return null==object?undefined:baseGet(object,path)}}var range=createRange();var rangeRight=createRange(true);function stubArray(){return[]}function stubFalse(){return false}function stubObject(){return{}}function stubString(){return""}function stubTrue(){return true}function times(n,iteratee){n=toInteger(n);if(n<1||n>MAX_SAFE_INTEGER)return[];var index=MAX_ARRAY_LENGTH,length=nativeMin(n,MAX_ARRAY_LENGTH);iteratee=getIteratee(iteratee);n-=MAX_ARRAY_LENGTH;var result=baseTimes(length,iteratee);while(++index<n)iteratee(index);return result}function toPath(value){if(isArray(value))return arrayMap(value,toKey);return isSymbol(value)?[value]:copyArray(stringToPath(toString(value)))}function uniqueId(prefix){var id=++idCounter;return toString(prefix)+id}var add=createMathOperation(function(augend,addend){return augend+addend},0);var ceil=createRound("ceil");var divide=createMathOperation(function(dividend,divisor){return dividend/divisor},1);var floor=createRound("floor");function max(array){return array&&array.length?baseExtremum(array,identity,baseGt):undefined}function maxBy(array,iteratee){return array&&array.length?baseExtremum(array,getIteratee(iteratee,2),baseGt):undefined}function mean(array){return baseMean(array,identity)}function meanBy(array,iteratee){return baseMean(array,getIteratee(iteratee,2))}function min(array){return array&&array.length?baseExtremum(array,identity,baseLt):undefined}function minBy(array,iteratee){return array&&array.length?baseExtremum(array,getIteratee(iteratee,2),baseLt):undefined}var multiply=createMathOperation(function(multiplier,multiplicand){return multiplier*multiplicand},1);var round=createRound("round");var subtract=createMathOperation(function(minuend,subtrahend){return minuend-subtrahend},0);function sum(array){return array&&array.length?baseSum(array,identity):0}function sumBy(array,iteratee){return array&&array.length?baseSum(array,getIteratee(iteratee,2)):0}lodash.after=after;lodash.ary=ary;lodash.assign=assign;lodash.assignIn=assignIn;lodash.assignInWith=assignInWith;lodash.assignWith=assignWith;lodash.at=at;lodash.before=before;lodash.bind=bind;lodash.bindAll=bindAll;lodash.bindKey=bindKey;lodash.castArray=castArray;lodash.chain=chain;lodash.chunk=chunk;lodash.compact=compact;lodash.concat=concat;lodash.cond=cond;lodash.conforms=conforms;lodash.constant=constant;lodash.countBy=countBy;lodash.create=create;lodash.curry=curry;lodash.curryRight=curryRight;lodash.debounce=debounce;lodash.defaults=defaults;lodash.defaultsDeep=defaultsDeep;lodash.defer=defer;lodash.delay=delay;lodash.difference=difference;lodash.differenceBy=differenceBy;lodash.differenceWith=differenceWith;lodash.drop=drop;lodash.dropRight=dropRight;lodash.dropRightWhile=dropRightWhile;lodash.dropWhile=dropWhile;lodash.fill=fill;lodash.filter=filter;lodash.flatMap=flatMap;lodash.flatMapDeep=flatMapDeep;lodash.flatMapDepth=flatMapDepth;lodash.flatten=flatten;lodash.flattenDeep=flattenDeep;lodash.flattenDepth=flattenDepth;lodash.flip=flip;lodash.flow=flow;lodash.flowRight=flowRight;lodash.fromPairs=fromPairs;lodash.functions=functions;lodash.functionsIn=functionsIn;lodash.groupBy=groupBy;lodash.initial=initial;lodash.intersection=intersection;lodash.intersectionBy=intersectionBy;lodash.intersectionWith=intersectionWith;lodash.invert=invert;lodash.invertBy=invertBy;lodash.invokeMap=invokeMap;lodash.iteratee=iteratee;lodash.keyBy=keyBy;lodash.keys=keys;lodash.keysIn=keysIn;lodash.map=map;lodash.mapKeys=mapKeys;lodash.mapValues=mapValues;lodash.matches=matches;lodash.matchesProperty=matchesProperty;lodash.memoize=memoize;lodash.merge=merge;lodash.mergeWith=mergeWith;lodash.method=method;lodash.methodOf=methodOf;lodash.mixin=mixin;lodash.negate=negate;lodash.nthArg=nthArg;lodash.omit=omit;lodash.omitBy=omitBy;lodash.once=once;lodash.orderBy=orderBy;lodash.over=over;lodash.overArgs=overArgs;lodash.overEvery=overEvery;lodash.overSome=overSome;lodash.partial=partial;lodash.partialRight=partialRight;lodash.partition=partition;lodash.pick=pick;lodash.pickBy=pickBy;lodash.property=property;lodash.propertyOf=propertyOf;lodash.pull=pull;lodash.pullAll=pullAll;lodash.pullAllBy=pullAllBy;lodash.pullAllWith=pullAllWith;lodash.pullAt=pullAt;lodash.range=range;lodash.rangeRight=rangeRight;lodash.rearg=rearg;lodash.reject=reject;lodash.remove=remove;lodash.rest=rest;lodash.reverse=reverse;lodash.sampleSize=sampleSize;lodash.set=set;lodash.setWith=setWith;lodash.shuffle=shuffle;lodash.slice=slice;lodash.sortBy=sortBy;lodash.sortedUniq=sortedUniq;lodash.sortedUniqBy=sortedUniqBy;lodash.split=split;lodash.spread=spread;lodash.tail=tail;lodash.take=take;lodash.takeRight=takeRight;lodash.takeRightWhile=takeRightWhile;lodash.takeWhile=takeWhile;lodash.tap=tap;lodash.throttle=throttle;lodash.thru=thru;lodash.toArray=toArray;lodash.toPairs=toPairs;lodash.toPairsIn=toPairsIn;lodash.toPath=toPath;lodash.toPlainObject=toPlainObject;lodash.transform=transform;lodash.unary=unary;lodash.union=union;lodash.unionBy=unionBy;lodash.unionWith=unionWith;lodash.uniq=uniq;lodash.uniqBy=uniqBy;lodash.uniqWith=uniqWith;lodash.unset=unset;lodash.unzip=unzip;lodash.unzipWith=unzipWith;lodash.update=update;lodash.updateWith=updateWith;lodash.values=values;lodash.valuesIn=valuesIn;lodash.without=without;lodash.words=words;lodash.wrap=wrap;lodash.xor=xor;lodash.xorBy=xorBy;lodash.xorWith=xorWith;lodash.zip=zip;lodash.zipObject=zipObject;lodash.zipObjectDeep=zipObjectDeep;lodash.zipWith=zipWith;lodash.entries=toPairs;lodash.entriesIn=toPairsIn;lodash.extend=assignIn;lodash.extendWith=assignInWith;mixin(lodash,lodash);lodash.add=add;lodash.attempt=attempt;lodash.camelCase=camelCase;lodash.capitalize=capitalize;lodash.ceil=ceil;lodash.clamp=clamp;lodash.clone=clone;lodash.cloneDeep=cloneDeep;lodash.cloneDeepWith=cloneDeepWith;lodash.cloneWith=cloneWith;lodash.conformsTo=conformsTo;lodash.deburr=deburr;lodash.defaultTo=defaultTo;lodash.divide=divide;lodash.endsWith=endsWith;lodash.eq=eq;lodash.escape=escape;lodash.escapeRegExp=escapeRegExp;lodash.every=every;lodash.find=find;lodash.findIndex=findIndex;lodash.findKey=findKey;lodash.findLast=findLast;lodash.findLastIndex=findLastIndex;lodash.findLastKey=findLastKey;lodash.floor=floor;lodash.forEach=forEach;lodash.forEachRight=forEachRight;lodash.forIn=forIn;lodash.forInRight=forInRight;lodash.forOwn=forOwn;lodash.forOwnRight=forOwnRight;lodash.get=get;lodash.gt=gt;lodash.gte=gte;lodash.has=has;lodash.hasIn=hasIn;lodash.head=head;lodash.identity=identity;lodash.includes=includes;lodash.indexOf=indexOf;lodash.inRange=inRange;lodash.invoke=invoke;lodash.isArguments=isArguments;lodash.isArray=isArray;lodash.isArrayBuffer=isArrayBuffer;lodash.isArrayLike=isArrayLike;lodash.isArrayLikeObject=isArrayLikeObject;lodash.isBoolean=isBoolean;lodash.isBuffer=isBuffer;lodash.isDate=isDate;lodash.isElement=isElement;lodash.isEmpty=isEmpty;lodash.isEqual=isEqual;lodash.isEqualWith=isEqualWith;lodash.isError=isError;lodash.isFinite=isFinite;lodash.isFunction=isFunction;lodash.isInteger=isInteger;lodash.isLength=isLength;lodash.isMap=isMap;lodash.isMatch=isMatch;lodash.isMatchWith=isMatchWith;lodash.isNaN=isNaN;lodash.isNative=isNative;lodash.isNil=isNil;lodash.isNull=isNull;lodash.isNumber=isNumber;lodash.isObject=isObject;lodash.isObjectLike=isObjectLike;lodash.isPlainObject=isPlainObject;lodash.isRegExp=isRegExp;lodash.isSafeInteger=isSafeInteger;lodash.isSet=isSet;lodash.isString=isString;lodash.isSymbol=isSymbol;lodash.isTypedArray=isTypedArray;lodash.isUndefined=isUndefined;lodash.isWeakMap=isWeakMap;lodash.isWeakSet=isWeakSet;lodash.join=join;lodash.kebabCase=kebabCase;lodash.last=last;lodash.lastIndexOf=lastIndexOf;lodash.lowerCase=lowerCase;lodash.lowerFirst=lowerFirst;lodash.lt=lt;lodash.lte=lte;lodash.max=max;lodash.maxBy=maxBy;lodash.mean=mean;lodash.meanBy=meanBy;lodash.min=min;lodash.minBy=minBy;lodash.stubArray=stubArray;lodash.stubFalse=stubFalse;lodash.stubObject=stubObject;lodash.stubString=stubString;lodash.stubTrue=stubTrue;lodash.multiply=multiply;lodash.nth=nth;lodash.noConflict=noConflict;lodash.noop=noop;lodash.now=now;lodash.pad=pad;lodash.padEnd=padEnd;lodash.padStart=padStart;lodash.parseInt=parseInt;lodash.random=random;lodash.reduce=reduce;lodash.reduceRight=reduceRight;lodash.repeat=repeat;lodash.replace=replace;lodash.result=result;lodash.round=round;lodash.runInContext=runInContext;lodash.sample=sample;lodash.size=size;lodash.snakeCase=snakeCase;lodash.some=some;lodash.sortedIndex=sortedIndex;lodash.sortedIndexBy=sortedIndexBy;lodash.sortedIndexOf=sortedIndexOf;lodash.sortedLastIndex=sortedLastIndex;lodash.sortedLastIndexBy=sortedLastIndexBy;lodash.sortedLastIndexOf=sortedLastIndexOf;lodash.startCase=startCase;lodash.startsWith=startsWith;lodash.subtract=subtract;lodash.sum=sum;lodash.sumBy=sumBy;lodash.template=template;lodash.times=times;lodash.toFinite=toFinite;lodash.toInteger=toInteger;lodash.toLength=toLength;lodash.toLower=toLower;lodash.toNumber=toNumber;lodash.toSafeInteger=toSafeInteger;lodash.toString=toString;lodash.toUpper=toUpper;lodash.trim=trim;lodash.trimEnd=trimEnd;lodash.trimStart=trimStart;lodash.truncate=truncate;lodash.unescape=unescape;lodash.uniqueId=uniqueId;lodash.upperCase=upperCase;lodash.upperFirst=upperFirst;lodash.each=forEach;lodash.eachRight=forEachRight;lodash.first=head;mixin(lodash,function(){var source={};baseForOwn(lodash,function(func,methodName){hasOwnProperty.call(lodash.prototype,methodName)||(source[methodName]=func)});return source}(),{chain:false});lodash.VERSION=VERSION;arrayEach(["bind","bindKey","curry","curryRight","partial","partialRight"],function(methodName){lodash[methodName].placeholder=lodash});arrayEach(["drop","take"],function(methodName,index){LazyWrapper.prototype[methodName]=function(n){n=n===undefined?1:nativeMax(toInteger(n),0);var result=this.__filtered__&&!index?new LazyWrapper(this):this.clone();result.__filtered__?result.__takeCount__=nativeMin(n,result.__takeCount__):result.__views__.push({size:nativeMin(n,MAX_ARRAY_LENGTH),type:methodName+(result.__dir__<0?"Right":"")});return result};LazyWrapper.prototype[methodName+"Right"]=function(n){return this.reverse()[methodName](n).reverse()}});arrayEach(["filter","map","takeWhile"],function(methodName,index){var type=index+1,isFilter=type==LAZY_FILTER_FLAG||type==LAZY_WHILE_FLAG;LazyWrapper.prototype[methodName]=function(iteratee){var result=this.clone();result.__iteratees__.push({iteratee:getIteratee(iteratee,3),type:type});result.__filtered__=result.__filtered__||isFilter;return result}});arrayEach(["head","last"],function(methodName,index){var takeName="take"+(index?"Right":"");LazyWrapper.prototype[methodName]=function(){return this[takeName](1).value()[0]}});arrayEach(["initial","tail"],function(methodName,index){var dropName="drop"+(index?"":"Right");LazyWrapper.prototype[methodName]=function(){return this.__filtered__?new LazyWrapper(this):this[dropName](1)}});LazyWrapper.prototype.compact=function(){return this.filter(identity)};LazyWrapper.prototype.find=function(predicate){return this.filter(predicate).head()};LazyWrapper.prototype.findLast=function(predicate){return this.reverse().find(predicate)};LazyWrapper.prototype.invokeMap=baseRest(function(path,args){if("function"==typeof path)return new LazyWrapper(this);return this.map(function(value){return baseInvoke(value,path,args)})});LazyWrapper.prototype.reject=function(predicate){return this.filter(negate(getIteratee(predicate)))};LazyWrapper.prototype.slice=function(start,end){start=toInteger(start);var result=this;if(result.__filtered__&&(start>0||end<0))return new LazyWrapper(result);start<0?result=result.takeRight(-start):start&&(result=result.drop(start));if(end!==undefined){end=toInteger(end);result=end<0?result.dropRight(-end):result.take(end-start)}return result};LazyWrapper.prototype.takeRightWhile=function(predicate){return this.reverse().takeWhile(predicate).reverse()};LazyWrapper.prototype.toArray=function(){return this.take(MAX_ARRAY_LENGTH)};baseForOwn(LazyWrapper.prototype,function(func,methodName){var checkIteratee=/^(?:filter|find|map|reject)|While$/.test(methodName),isTaker=/^(?:head|last)$/.test(methodName),lodashFunc=lodash[isTaker?"take"+("last"==methodName?"Right":""):methodName],retUnwrapped=isTaker||/^find/.test(methodName);if(!lodashFunc)return;lodash.prototype[methodName]=function(){var value=this.__wrapped__,args=isTaker?[1]:arguments,isLazy=value instanceof LazyWrapper,iteratee=args[0],useLazy=isLazy||isArray(value);var interceptor=function(value){var result=lodashFunc.apply(lodash,arrayPush([value],args));return isTaker&&chainAll?result[0]:result};useLazy&&checkIteratee&&"function"==typeof iteratee&&1!=iteratee.length&&(isLazy=useLazy=false);var chainAll=this.__chain__,isHybrid=!!this.__actions__.length,isUnwrapped=retUnwrapped&&!chainAll,onlyLazy=isLazy&&!isHybrid;if(!retUnwrapped&&useLazy){value=onlyLazy?value:new LazyWrapper(this);var result=func.apply(value,args);result.__actions__.push({func:thru,args:[interceptor],thisArg:undefined});return new LodashWrapper(result,chainAll)}if(isUnwrapped&&onlyLazy)return func.apply(this,args);result=this.thru(interceptor);return isUnwrapped?isTaker?result.value()[0]:result.value():result}});arrayEach(["pop","push","shift","sort","splice","unshift"],function(methodName){var func=arrayProto[methodName],chainName=/^(?:push|sort|unshift)$/.test(methodName)?"tap":"thru",retUnwrapped=/^(?:pop|shift)$/.test(methodName);lodash.prototype[methodName]=function(){var args=arguments;if(retUnwrapped&&!this.__chain__){var value=this.value();return func.apply(isArray(value)?value:[],args)}return this[chainName](function(value){return func.apply(isArray(value)?value:[],args)})}});baseForOwn(LazyWrapper.prototype,function(func,methodName){var lodashFunc=lodash[methodName];if(lodashFunc){var key=lodashFunc.name+"",names=realNames[key]||(realNames[key]=[]);names.push({name:methodName,func:lodashFunc})}});realNames[createHybrid(undefined,WRAP_BIND_KEY_FLAG).name]=[{name:"wrapper",func:undefined}];LazyWrapper.prototype.clone=lazyClone;LazyWrapper.prototype.reverse=lazyReverse;LazyWrapper.prototype.value=lazyValue;lodash.prototype.at=wrapperAt;lodash.prototype.chain=wrapperChain;lodash.prototype.commit=wrapperCommit;lodash.prototype.next=wrapperNext;lodash.prototype.plant=wrapperPlant;lodash.prototype.reverse=wrapperReverse;lodash.prototype.toJSON=lodash.prototype.valueOf=lodash.prototype.value=wrapperValue;lodash.prototype.first=lodash.prototype.head;symIterator&&(lodash.prototype[symIterator]=wrapperToIterator);return lodash};var _=runInContext();true;root._=_;!(__WEBPACK_AMD_DEFINE_RESULT__=function(){return _}.call(exports,__webpack_require__,exports,module),__WEBPACK_AMD_DEFINE_RESULT__!==undefined&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}).call(this)}).call(exports,__webpack_require__(5),__webpack_require__(12)(module))},function(module,exports,__webpack_require__){function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}var _=__webpack_require__(0);var utils=__webpack_require__(2);exports.makeFactoryWithModifier=makeFactoryWithModifier;exports.factory=makeFactoryWithModifier();exports.proxyFactory=exports.factory.proxy;exports._resolveUrl=resolveUrl;exports.ApiNamespace=function(){};exports.namespaceFactory=function(){function ClientNamespace(transport,client){this.transport=transport;this.client=client}ClientNamespace.prototype=new exports.ApiNamespace;return ClientNamespace};function makeFactoryWithModifier(modifier){modifier=modifier||_.identity;var factory=function factory(spec){spec=modifier(spec);_.isPlainObject(spec.params)||(spec.params={});spec.method||(spec.method="GET");function action(params,cb){if("function"===typeof params){cb=params;params={}}else{params=params||{};cb="function"===typeof cb?cb:null}try{return exec(this.transport,spec,_.clone(params),cb)}catch(e){if("function"!==typeof cb){var def=this.transport.defer();def.reject(e);return def.promise}utils.nextTick(cb,e)}}action.spec=spec;return action};factory.proxy=function(fn,spec){return function(params,cb){if("function"===typeof params){cb=params;params={}}else{params=params||{};cb="function"===typeof cb?cb:null}spec.transform&&spec.transform(params);return fn.call(this,params,cb)}};return factory}var castType={enum:function validSelection(param,val,name){_.isString(val)&&val.indexOf(",")>-1&&(val=commaSepList(val));if(_.isArray(val))return val.map(function(v){return validSelection(param,v,name)}).join(",");for(var i=0;i<param.options.length;i++)if(param.options[i]===String(val))return param.options[i];throw new TypeError("Invalid "+name+": expected "+(param.options.length>1?"one of "+param.options.join(","):param.options[0]))},duration:function duration(param,val,name){if(utils.isNumeric(val)||utils.isInterval(val))return val;throw new TypeError("Invalid "+name+": expected a number or interval (an integer followed by one of M, w, d, h, m, s, y or ms).")},list:function list(param,val,name){switch(_typeof(val)){case"number":case"boolean":return""+val;case"string":val=commaSepList(val);case"object":if(_.isArray(val))return val.join(",");default:throw new TypeError("Invalid "+name+": expected be a comma separated list, array, number or string.")}},boolean:function boolean(param,val){val=_.isString(val)?val.toLowerCase():val;return"no"!==val&&"off"!==val&&!!val},number:function number(param,val,name){if(utils.isNumeric(val))return 1*val;throw new TypeError("Invalid "+name+": expected a number.")},string:function string(param,val,name){switch(_typeof(val)){case"number":case"string":return""+val;default:throw new TypeError("Invalid "+name+": expected a string.")}},time:function time(param,val,name){if("string"===typeof val)return val;if(utils.isNumeric(val))return""+val;if(val instanceof Date)return""+val.getTime();throw new TypeError("Invalid "+name+": expected some sort of time.")}};function resolveUrl(url,params){var i,key,vars={};if(url.req){url.reqParamKeys||(url.reqParamKeys=_.keys(url.req));for(i=0;i<url.reqParamKeys.length;i++){key=url.reqParamKeys[i];if(!params.hasOwnProperty(key)||null==params[key])return false;castType[url.req[key].type]?vars[key]=castType[url.req[key].type](url.req[key],params[key],key):vars[key]=params[key]}}if(url.opt){url.optParamKeys||(url.optParamKeys=_.keys(url.opt));for(i=0;i<url.optParamKeys.length;i++){key=url.optParamKeys[i];params[key]?castType[url.opt[key].type]||null==params[key]?vars[key]=castType[url.opt[key].type](url.opt[key],params[key],key):vars[key]=params[key]:vars[key]=url.opt[key]["default"]}}url.template||(url.template=_.template(url.fmt));return url.template(_.transform(vars,function(note,val,name){note[name]=encodeURIComponent(val);delete params[name]},{}))}function exec(transport,spec,params,cb){var request={method:spec.method};var query={};var i;spec.requestTimeout&&(request.requestTimeout=spec.requestTimeout);if(!params.body&&spec.paramAsBody)if("object"===_typeof(spec.paramAsBody)){params.body={};spec.paramAsBody.castToArray?params.body[spec.paramAsBody.body]=[].concat(params[spec.paramAsBody.param]):params.body[spec.paramAsBody.body]=params[spec.paramAsBody.param];delete params[spec.paramAsBody.param]}else{params.body=params[spec.paramAsBody];delete params[spec.paramAsBody]}if(spec.needsBody&&!params.body)throw new TypeError("A request body is required.");spec.bulkBody&&(request.bulkBody=true);"HEAD"===spec.method&&(request.castExists=true);if(spec.url)request.path=resolveUrl(spec.url,params);else for(i=0;i<spec.urls.length;i++)if(request.path=resolveUrl(spec.urls[i],params))break;if(!request.path){var minUrl=spec.url||spec.urls[spec.urls.length-1];throw new TypeError("Unable to build a path with those params. Supply at least "+_.keys(minUrl.req).join(", "))}if(!spec.paramKeys){spec.paramKeys=_.keys(spec.params);spec.requireParamKeys=_.transform(spec.params,function(req,param,key){param.required&&req.push(key)},[])}for(var key in params)if(params.hasOwnProperty(key)&&null!=params[key])switch(key){case"body":case"headers":case"requestTimeout":case"maxRetries":request[key]=params[key];break;case"ignore":request.ignore=_.isArray(params[key])?params[key]:[params[key]];break;case"method":request.method=utils.toUpperString(params[key]);break;default:var paramSpec=spec.params[key];if(paramSpec){paramSpec.name=paramSpec.name||key;if(null!=params[key]){castType[paramSpec.type]?query[paramSpec.name]=castType[paramSpec.type](paramSpec,params[key],key):query[paramSpec.name]=params[key];paramSpec["default"]&&query[paramSpec.name]===paramSpec["default"]&&delete query[paramSpec.name]}}else query[key]=params[key]}for(i=0;i<spec.requireParamKeys.length;i++)if(!query.hasOwnProperty(spec.requireParamKeys[i]))throw new TypeError("Missing required parameter "+spec.requireParamKeys[i]);request.query=query;return transport.request(request,cb)}function commaSepList(str){return str.split(",").map(function(i){return i.trim()})}},function(module,exports,__webpack_require__){(function(process,Buffer){function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}var _=__webpack_require__(0);var nodeUtils=__webpack_require__(31);var utils={};utils.inherits=nodeUtils.inherits;utils.isArrayOfStrings=function(arr){return _.isArray(arr)&&_.every(arr.slice(0,10),_.isString)};utils.ucfirst=function(word){return word[0].toUpperCase()+word.substring(1).toLowerCase()};function adjustWordCase(firstWordCap,otherWordsCap,sep){return function(string){var i=0;var words=[];var word="";var code,c,upper,lower;for(;i<string.length;i++){code=string.charCodeAt(i);c=string.charAt(i);lower=code>=97&&code<=122||code>=48&&code<=57;upper=code>=65&&code<=90;if(upper||!lower){word.length&&words.push(word);word=""}(upper||lower)&&(lower&&word.length?word+=c:word=!words.length&&firstWordCap||words.length&&otherWordsCap?c.toUpperCase():c.toLowerCase())}word.length&&words.push(word);words.length&&"_"===string.charAt(0)&&(words[0]="_"+words[0]);return words.join(sep)}}utils.studlyCase=adjustWordCase(true,true,"");utils.camelCase=adjustWordCase(false,true,"");utils.snakeCase=adjustWordCase(false,false,"_");utils.toUpperString=function(any){any?"string"!==typeof any&&(any=any.toString()):any="";return any.toUpperCase()};utils.isNumeric=function(val){return"object"!==_typeof(val)&&val-parseFloat(val)>=0};var intervalRE=/^(\d+(?:\.\d+)?)(M|w|d|h|m|s|y|ms)$/;utils.isInterval=function(val){return!!(val.match&&val.match(intervalRE))};utils.repeat=function(what,times){return new Array(times+1).join(what)};utils.applyArgs=function(func,context,args,sliceIndex){sliceIndex=sliceIndex||0;switch(args.length-sliceIndex){case 0:return func.call(context);case 1:return func.call(context,args[0+sliceIndex]);case 2:return func.call(context,args[0+sliceIndex],args[1+sliceIndex]);case 3:return func.call(context,args[0+sliceIndex],args[1+sliceIndex],args[2+sliceIndex]);case 4:return func.call(context,args[0+sliceIndex],args[1+sliceIndex],args[2+sliceIndex],args[3+sliceIndex]);case 5:return func.call(context,args[0+sliceIndex],args[1+sliceIndex],args[2+sliceIndex],args[3+sliceIndex],args[4+sliceIndex]);default:return func.apply(context,Array.prototype.slice.call(args,sliceIndex))}};utils.nextTick=function(cb){process.nextTick(_.bindKey(utils,"applyArgs",cb,null,arguments,1))};utils.handler=function(func){func._provideBound=true;return func};utils.makeBoundMethods=function(obj){obj.bound={};for(var prop in obj)"function"===typeof obj[prop]&&true===obj[prop]._provideBound&&(obj.bound[prop]=_.bind(obj[prop],obj))};utils.funcEnum=function(config,name,opts,def){var val=config[name];switch(_typeof(val)){case"undefined":return opts[def];case"function":return val;case"string":if(opts.hasOwnProperty(val))return opts[val];default:var err="Invalid "+name+' "'+val+'", expected a function';switch(_.size(opts)){case 0:break;case 1:err+=" or "+_.keys(opts)[0];break;default:err+=" or one of "+_.keys(opts).join(", ")}throw new TypeError(err)}};utils.createArray=function(input,transform){transform="function"===typeof transform?transform:_.identity;var output=[];var item;var i;_.isArray(input)||(input=[input]);for(i=0;i<input.length;i++){item=transform(input[i]);if(void 0===item)return false;output.push(item)}return output};utils.getUnwrittenFromStream=function(stream){var writeBuffer=utils.getStreamWriteBuffer(stream);if(!writeBuffer)return;var out="";if(!writeBuffer.length)return out;_.each(writeBuffer,function(writeReq){if(writeReq.chunk)out+=""+writeReq.chunk;else{if(!_.isArray(writeReq)||"string"!==typeof writeReq[0]&&!Buffer.isBuffer(writeReq[0]))return false;out+=""+writeReq[0]}});return out};utils.getStreamWriteBuffer=function(stream){if(!stream||!stream._writableState)return;var writeState=stream._writableState;if(writeState.getBuffer)return writeState.getBuffer();if(writeState.buffer)return writeState.buffer};utils.clearWriteStreamBuffer=function(stream){var buffer=utils.getStreamWriteBuffer(stream);return buffer&&buffer.splice(0)};utils.now=function(){return"function"===typeof Date.now?Date.now():(new Date).getTime()};module.exports=utils}).call(exports,__webpack_require__(3),__webpack_require__(11).Buffer)},function(module,exports){var process=module.exports={};var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{cachedSetTimeout="function"===typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"===typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0)}try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker)}try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue)return;draining=false;currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1;queue.length&&drainQueue()}function drainQueue(){if(draining)return;var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1;len=queue.length}currentQueue=null;draining=false;runClearTimeout(timeout)}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args));1!==queue.length||draining||runTimeout(drainQueue)};function Item(fun,array){this.fun=fun;this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process.title="browser";process.browser=true;process.env={};process.argv=[];process.version="";process.versions={};function noop(){}process.on=noop;process.addListener=noop;process.once=noop;process.off=noop;process.removeListener=noop;process.removeAllListeners=noop;process.emit=noop;process.prependListener=noop;process.prependOnceListener=noop;process.listeners=function(name){return[]};process.binding=function(name){throw new Error("process.binding is not supported")};process.cwd=function(){return"/"};process.chdir=function(dir){throw new Error("process.chdir is not supported")};process.umask=function(){return 0}},function(module,exports,__webpack_require__){function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}var _=__webpack_require__(0);var utils=__webpack_require__(2);var errors=module.exports;var canCapture="function"===typeof Error.captureStackTrace;var canStack=!!(new Error).stack;function ErrorAbstract(msg,constructor,metadata){this.message=msg;Error.call(this,this.message);canCapture?Error.captureStackTrace(this,constructor):this.stack=canStack?(new Error).stack:"";if(metadata){_.assign(this,metadata);this.toString=function(){return msg+" :: "+JSON.stringify(metadata)};this.toJSON=function(){return _.assign({msg:msg},metadata)}}}errors._Abstract=ErrorAbstract;utils.inherits(ErrorAbstract,Error);errors.ConnectionFault=function ConnectionFault(msg){ErrorAbstract.call(this,msg||"Connection Failure",errors.ConnectionFault)};utils.inherits(errors.ConnectionFault,ErrorAbstract);errors.NoConnections=function NoConnections(msg){ErrorAbstract.call(this,msg||"No Living connections",errors.NoConnections)};utils.inherits(errors.NoConnections,ErrorAbstract);errors.Generic=function Generic(msg,metadata){ErrorAbstract.call(this,msg||"Generic Error",errors.Generic,metadata)};utils.inherits(errors.Generic,ErrorAbstract);errors.RequestTimeout=function RequestTimeout(msg){ErrorAbstract.call(this,msg||"Request Timeout",errors.RequestTimeout)};utils.inherits(errors.RequestTimeout,ErrorAbstract);errors.Serialization=function Serialization(msg){ErrorAbstract.call(this,msg||"Unable to parse/serialize body",errors.Serialization)};utils.inherits(errors.Serialization,ErrorAbstract);errors.RequestTypeError=function RequestTypeError(feature){ErrorAbstract.call(this,"Cross-domain AJAX requests "+feature+" are not supported",errors.RequestTypeError)};utils.inherits(errors.RequestTypeError,ErrorAbstract);var statusCodes=[[300,"Multiple Choices"],[301,"Moved Permanently"],[302,"Found"],[303,"See Other"],[304,"Not Modified"],[305,"Use Proxy"],[307,"Temporary Redirect"],[308,"Permanent Redirect"],[400,"Bad Request"],[401,"Authentication Exception"],[402,"Payment Required"],[403,["Authorization Exception","Forbidden"]],[404,"Not Found"],[405,"Method Not Allowed"],[406,"Not Acceptable"],[407,"Proxy Authentication Required"],[408,"Request Timeout"],[409,"Conflict"],[410,"Gone"],[411,"Length Required"],[412,"Precondition Failed"],[413,"Request Entity Too Large"],[414,"Request URIToo Long"],[415,"Unsupported Media Type"],[416,"Requested Range Not Satisfiable"],[417,"Expectation Failed"],[418,"Im ATeapot"],[421,"Too Many Connections From This IP"],[426,"Upgrade Required"],[429,"Too Many Requests"],[450,"Blocked By Windows Parental Controls"],[494,"Request Header Too Large"],[497,"HTTPTo HTTPS"],[499,"Client Closed Request"],[500,"Internal Server Error"],[501,"Not Implemented"],[502,"Bad Gateway"],[503,"Service Unavailable"],[504,"Gateway Timeout"],[505,"HTTPVersion Not Supported"],[506,"Variant Also Negotiates"],[510,"Not Extended"]];_.each(statusCodes,function createStatusCodeError(tuple){var status=tuple[0];var names=tuple[1];var allNames=[].concat(names,status);var primaryName=allNames[0];var className=utils.studlyCase(primaryName);allNames=_.uniq(allNames.concat(className));function StatusCodeError(msg,metadata){this.status=status;this.displayName=className;var esErrObject=null;if(_.isPlainObject(msg)){esErrObject=msg;msg=null}if(!esErrObject){ErrorAbstract.call(this,msg||primaryName,StatusCodeError,metadata);return this}msg=[].concat(esErrObject.root_cause||[]).reduce(function(memo,cause){memo&&(memo+=" (and) ");memo+="["+cause.type+"] "+cause.reason;var extraData=_.omit(cause,["type","reason"]);_.size(extraData)&&(memo+=", with "+prettyPrint(extraData));return memo},"");if(!msg){esErrObject.type&&(msg+="["+esErrObject.type+"] ");esErrObject.reason&&(msg+=esErrObject.reason)}ErrorAbstract.call(this,msg||primaryName,StatusCodeError,metadata);return this}utils.inherits(StatusCodeError,ErrorAbstract);allNames.forEach(function(name){errors[name]=StatusCodeError})});function prettyPrint(data){var path=[];return function print(v){if("object"!==_typeof(v))return JSON.stringify(v);if(path.indexOf(v)>-1)return"[circular]";path.push(v);try{return"{ "+_.map(v,function(subv,name){return name+"="+print(subv)}).join(" & ")+" }"}finally{path.pop()}}(data)}},function(module,exports){var g;g=function(){return this}();try{g=g||Function("return this")()||(1,eval)("this")}catch(e){"object"===typeof window&&(g=window)}module.exports=g},function(module,exports,__webpack_require__){(function(process){function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}var _=__webpack_require__(0);var utils=__webpack_require__(2);var url=__webpack_require__(15);var EventEmitter=__webpack_require__(14).EventEmitter;function Log(config){config=config||{};if(!config.log)return;var i;var outputs;outputs=utils.isArrayOfStrings(config.log)?[{levels:config.log}]:utils.createArray(config.log,function(val){if(_.isPlainObject(val))return val;if("string"===typeof val)return{level:val}});if(!outputs)throw new TypeError("Invalid logging output config. Expected either a log level, array of log levels, a logger config object, or an array of logger config objects.");for(i=0;i<outputs.length;i++)this.addOutput(outputs[i])}utils.inherits(Log,EventEmitter);Log.loggers=__webpack_require__(17);Log.prototype.close=function(){this.emit("closing");if(this.listenerCount()){console.error("Something is still listening for log events, but the logger is closing.");this.clearAllListeners()}};EventEmitter.prototype.listenerCount?Log.prototype.listenerCount=EventEmitter.prototype.listenerCount:EventEmitter.listenerCount?Log.prototype.listenerCount=function(event){return EventEmitter.listenerCount(this,event)}:Log.prototype.listenerCount=function(event){return this.listeners(event).length};Log.levels=["error","warning","info","debug","trace"];Log.parseLevels=function(input){switch(_typeof(input)){case"string":var i=_.indexOf(Log.levels,input);if(i>=0)return Log.levels.slice(0,i+1);case"object":if(_.isArray(input)){var valid=_.intersection(input,Log.levels);if(valid.length===input.length)return valid}default:throw new TypeError("invalid logging level "+input+". Expected zero or more of these options: "+Log.levels.join(", "))}};Log.join=function(arrayish){return _.map(arrayish,function(item){return _.isPlainObject(item)?JSON.stringify(item,null,2)+"\n":item.toString()}).join(" ")};Log.prototype.addOutput=function(config){config=config||{};config.levels=Log.parseLevels(config.levels||config.level||"warning");delete config.level;var Logger=utils.funcEnum(config,"type",Log.loggers,process.browser?"console":"stdio");return new Logger(this,config)};Log.prototype.error=function(e){if(this.listenerCount("error"))return this.emit("error",e instanceof Error?e:new Error(e))};Log.prototype.warning=function(){if(this.listenerCount("warning"))return this.emit("warning",Log.join(arguments))};Log.prototype.info=function(){if(this.listenerCount("info"))return this.emit("info",Log.join(arguments))};Log.prototype.debug=function(){if(this.listenerCount("debug"))return this.emit("debug",Log.join(arguments))};Log.prototype.trace=function(method,requestUrl,body,responseBody,responseStatus){if(this.listenerCount("trace"))return this.emit("trace",Log.normalizeTraceArgs(method,requestUrl,body,responseBody,responseStatus))};Log.normalizeTraceArgs=function(method,requestUrl,body,responseBody,responseStatus){if("string"===typeof requestUrl)requestUrl=url.parse(requestUrl,true,true);else{requestUrl=_.clone(requestUrl);requestUrl.path&&(requestUrl.query=url.parse(requestUrl.path,true,false).query);!requestUrl.pathname&&requestUrl.path&&(requestUrl.pathname=requestUrl.path.split("?").shift())}delete requestUrl.auth;return{method:method,url:url.format(requestUrl),body:body,status:responseStatus,response:responseBody}};module.exports=Log}).call(exports,__webpack_require__(3))},function(module,exports,__webpack_require__){(function(Buffer){module.exports=Host;var url=__webpack_require__(15);var qs=__webpack_require__(16);var _=__webpack_require__(0);var utils=__webpack_require__(2);var startsWithProtocolRE=/^([a-z]+:)?\/\//;var defaultProto="http:";var btoa;if("undefined"!==typeof window&&"undefined"!==typeof window.location){defaultProto=window.location.protocol;btoa=window.btoa}btoa=btoa||function(data){return new Buffer(data,"utf8").toString("base64")};var urlParseFields=["protocol","hostname","pathname","port","auth","query"];var simplify=["host","path"];var sslDefaults={pfx:null,key:null,passphrase:null,cert:null,ca:null,ciphers:null,rejectUnauthorized:false,secureProtocol:null};Host.defaultPorts={http:80,https:443};function Host(config,globalConfig){config=_.clone(config||{});globalConfig=globalConfig||{};this.protocol="http";this.host="localhost";this.path="";this.port=9200;this.query=null;this.headers=null;this.suggestCompression=!!globalConfig.suggestCompression;this.ssl=_.defaults({},config.ssl||{},globalConfig.ssl||{},sslDefaults);if("string"===typeof config){var firstColon=config.indexOf(":");var firstSlash=config.indexOf("/");var noSlash=-1===firstSlash;var portNoPath=firstColon>-1&&noSlash;var portWithPath=!portNoPath&&firstColon<firstSlash;(noSlash||portNoPath||portWithPath)&&!startsWithProtocolRE.test(config)&&(config=defaultProto+"//"+config);config=_.pick(url.parse(config,false,true),urlParseFields);if(!config.port){var proto=config.protocol||"http";":"===proto.charAt(proto.length-1)&&(proto=proto.substring(0,proto.length-1));Host.defaultPorts[proto]&&(config.port=Host.defaultPorts[proto])}}_.isObject(config)?_.each(simplify,function(to){var from=to+"name";config[from]&&config[to]?0===config[to].indexOf(config[from])&&(config[to]=config[from]):config[from]&&(config[to]=config[from]);delete config[from]}):config={};!config.auth&&globalConfig.httpAuth&&(config.auth=globalConfig.httpAuth);if(config.auth){config.headers=config.headers||{};config.headers.Authorization="Basic "+btoa(config.auth);delete config.auth}_.forOwn(config,_.bind(function(val,prop){null!=val&&(this[prop]=_.clone(val))},this));null===this.query?this.query={}:_.isPlainObject(this.query)||(this.query=qs.parse(this.query));utils.isNumeric(this.port)?this.port=parseInt(this.port,10):this.port=9200;"/"===this.path?this.path="":this.path&&"/"!==this.path.charAt(0)&&(this.path="/"+(this.path||""));":"===this.protocol.substr(-1)&&(this.protocol=this.protocol.substring(0,this.protocol.length-1))}Host.prototype.makeUrl=function(params){params=params||{};var port="";this.port!==Host.defaultPorts[this.protocol]&&(port=":"+this.port);var path=""+(this.path||"")+(params.path||"");"/"!==path.charAt(0)&&(path="/"+path);var query=qs.stringify(this.getQuery(params.query));return this.host?this.protocol+"://"+this.host+port+path+(query?"?"+query:""):path+(query?"?"+query:"")};function objectPropertyGetter(prop,preOverride){return function(overrides){preOverride&&(overrides=preOverride.call(this,overrides));var obj=this[prop];if(!obj&&!overrides)return null;overrides&&(obj=_.assign({},obj,overrides));return _.size(obj)?obj:null}}Host.prototype.getHeaders=objectPropertyGetter("headers",function(overrides){if(!this.suggestCompression)return overrides;return _.defaults(overrides||{},{"Accept-Encoding":"gzip,deflate"})});Host.prototype.getQuery=objectPropertyGetter("query",function(query){return"string"===typeof query?qs.parse(query):query});Host.prototype.toString=function(){return this.makeUrl()}}).call(exports,__webpack_require__(11).Buffer)},function(module,exports,__webpack_require__){(function(process){module.exports=Transport;var _=__webpack_require__(0);var utils=__webpack_require__(2);var errors=__webpack_require__(4);var Host=__webpack_require__(7);var patchSniffOnConnectionFault=__webpack_require__(39);var findCommonProtocol=__webpack_require__(40);function Transport(config){var self=this;config=self._config=config||{};var LogClass="function"===typeof config.log?config.log:__webpack_require__(6);config.log=self.log=new LogClass(config);var ConnectionPool=utils.funcEnum(config,"connectionPool",Transport.connectionPools,"main");self.connectionPool=new ConnectionPool(config);var Serializer=utils.funcEnum(config,"serializer",Transport.serializers,"json");self.serializer=new Serializer(config);self.nodesToHostCallback=utils.funcEnum(config,"nodesToHostCallback",Transport.nodesToHostCallbacks,"main");self.maxRetries=config.hasOwnProperty("maxRetries")?config.maxRetries:3;self.sniffEndpoint=config.hasOwnProperty("sniffEndpoint")?config.sniffEndpoint:"/_nodes/_all/http";self.requestTimeout=config.hasOwnProperty("requestTimeout")?config.requestTimeout:3e4;config.hasOwnProperty("defer")&&(self.defer=config.defer);var randomizeHosts=!config.hasOwnProperty("randomizeHosts")||!!config.randomizeHosts;config.host&&(config.hosts=config.host);if(config.hosts){var hostsConfig=utils.createArray(config.hosts,function(val){if(_.isPlainObject(val)||_.isString(val)||val instanceof Host)return val});if(!hostsConfig)throw new TypeError("Invalid hosts config. Expected a URL, an array of urls, a host config object, or an array of host config objects.");randomizeHosts&&(hostsConfig=_.shuffle(hostsConfig));self.setHosts(hostsConfig)}config.hasOwnProperty("sniffedNodesProtocol")?self.sniffedNodesProtocol=config.sniffedNodesProtocol||null:self.sniffedNodesProtocol=findCommonProtocol(self.connectionPool.getAllHosts())||null;config.hasOwnProperty("sniffedNodesFilterPath")?self.sniffedNodesFilterPath=config.sniffedNodesFilterPath:self.sniffedNodesFilterPath=["nodes.*.http.publish_address","nodes.*.name","nodes.*.hostname","nodes.*.host","nodes.*.version"].join(",");config.sniffOnStart&&self.sniff();config.sniffInterval&&self._timeout(function doSniff(){self.sniff();self._timeout(doSniff,config.sniffInterval)},config.sniffInterval);config.sniffOnConnectionFault&&patchSniffOnConnectionFault(self)}Transport.connectionPools={main:__webpack_require__(9)};Transport.serializers=__webpack_require__(22);Transport.nodesToHostCallbacks={main:__webpack_require__(24)};Transport.prototype.defer=function(){if("undefined"===typeof Promise)throw new Error("No Promise implementation found. In order for elasticsearch-js to create promises either specify the `defer` configuration or include a global Promise shim");var defer={};defer.promise=new Promise(function(resolve,reject){defer.resolve=resolve;defer.reject=reject});return defer};Transport.prototype.request=function(params,cb){var self=this;var remainingRetries=this.maxRetries;var requestTimeout=this.requestTimeout;var connection;var aborted=false;var requestAborter;var requestTimeoutId;var ret;var defer;var body=params.body;var headers=params.headers?_.transform(params.headers,function(headers,val,name){headers[String(name).toLowerCase()]=val}):{};self.log.debug("starting request",params);if("function"===typeof cb){process.domain&&(cb=process.domain.bind(cb));ret={abort:abortRequest}}else{defer=this.defer();ret=defer.promise;ret.abort=abortRequest}if(body&&"GET"===params.method){utils.nextTick(respond,new TypeError('Body can not be sent with method "GET"'));return ret}if(body){var serializer=self.serializer;var serializeFn=serializer[params.bulkBody?"bulkBody":"serialize"];body=serializeFn.call(serializer,body);headers["content-type"]||(headers["content-type"]=serializeFn.contentType)}params.hasOwnProperty("maxRetries")&&(remainingRetries=params.maxRetries);params.hasOwnProperty("requestTimeout")&&(requestTimeout=params.requestTimeout);params.req={method:params.method,path:params.path||"/",query:params.query,body:body,headers:headers};function sendReqWithConnection(err,_connection){if(aborted)return;if(err)respond(err);else if(_connection){connection=_connection;requestAborter=connection.request(params.req,checkRespForFailure)}else{self.log.warning("No living connections");respond(new errors.NoConnections)}}function checkRespForFailure(err,body,status,headers){if(aborted)return;requestAborter=void 0;if(err instanceof errors.RequestTypeError){self.log.error("Connection refused to execute the request",err);respond(err,body,status,headers);return}if(err){connection.setStatus("dead");var errMsg=err.message||"";errMsg="\n"+params.req.method+" "+connection.host.makeUrl(params.req)+(errMsg.length?" => ":"")+errMsg;if(remainingRetries){remainingRetries--;self.log.error("Request error, retrying"+errMsg);self.connectionPool.select(sendReqWithConnection)}else{self.log.error("Request complete with error"+errMsg);respond(new errors.ConnectionFault(err))}}else{self.log.debug("Request complete");respond(void 0,body,status,headers)}}function respond(err,body,status,headers){if(aborted)return;self._timeout(requestTimeoutId);var parsedBody;var isJson=!headers||headers["content-type"]&&~headers["content-type"].indexOf("application/json");if(!err&&body)if(isJson){parsedBody=self.serializer.deserialize(body);if(null==parsedBody){err=new errors.Serialization;parsedBody=body}}else parsedBody=body;if((!err||err instanceof errors.Serialization)&&(status<200||status>=300)&&(!params.ignore||!_.includes(params.ignore,status))){var errorMetadata=_.pick(params.req,["path","query","body"]);errorMetadata.statusCode=status;errorMetadata.response=body;401===status&&headers&&headers["www-authenticate"]&&(errorMetadata.wwwAuthenticateDirective=headers["www-authenticate"]);err=errors[status]?new errors[status](parsedBody&&parsedBody.error,errorMetadata):new errors.Generic("unknown error",errorMetadata)}if(params.castExists)if(err&&err instanceof errors.NotFound){parsedBody=false;err=void 0}else parsedBody=!err;if("function"===typeof cb)cb(err||void 0,parsedBody,status);else if(err){err.body=parsedBody;err.status=status;defer.reject(err)}else defer.resolve(parsedBody)}function abortRequest(){if(aborted)return;aborted=true;remainingRetries=0;self._timeout(requestTimeoutId);"function"===typeof requestAborter&&requestAborter()}requestTimeout&&Infinity!==requestTimeout&&(requestTimeoutId=this._timeout(function(){respond(new errors.RequestTimeout("Request Timeout after "+requestTimeout+"ms"));abortRequest()},requestTimeout));connection?sendReqWithConnection(void 0,connection):self.connectionPool.select(sendReqWithConnection);return ret};Transport.prototype._timeout=function(cb,delay){if(this.closed)return;var id;var timers=this._timers||(this._timers=[]);if("function"!==typeof cb){id=cb;cb=void 0}if(cb){id=setTimeout(function(){_.pull(timers,id);cb()},delay);timers.push(id);return id}if(id){clearTimeout(id);var i=this._timers.indexOf(id);-1!==i&&this._timers.splice(i,1)}};Transport.prototype.sniff=function(cb){var self=this;var nodesToHostCallback=this.nodesToHostCallback;var log=this.log;var sniffedNodesProtocol=this.sniffedNodesProtocol;var sniffedNodesFilterPath=this.sniffedNodesFilterPath;cb="function"===typeof cb?cb:_.noop;this.request({path:this.sniffEndpoint,query:{filter_path:sniffedNodesFilterPath},method:"GET"},function(err,resp,status){if(!err&&resp&&resp.nodes){var hostsConfigs;try{hostsConfigs=nodesToHostCallback(resp.nodes)}catch(e){log.error(new Error("Unable to convert node list from "+self.sniffEndpoint+" to hosts durring sniff. Encountered error:\n"+(e.stack||e.message)));return}_.forEach(hostsConfigs,function(hostConfig){sniffedNodesProtocol&&(hostConfig.protocol=sniffedNodesProtocol)});self.setHosts(hostsConfigs)}cb(err,resp,status)})};Transport.prototype.setHosts=function(hostsConfigs){var globalConfig=this._config;this.connectionPool.setHosts(_.map(hostsConfigs,function(conf){return conf instanceof Host?conf:new Host(conf,globalConfig)}))};Transport.prototype.close=function(){this.log.close();this.closed=true;_.each(this._timers,clearTimeout);this._timers=null;this.connectionPool.close()}}).call(exports,__webpack_require__(3))},function(module,exports,__webpack_require__){(function(process){module.exports=ConnectionPool;var _=__webpack_require__(0);var utils=__webpack_require__(2);var Log=__webpack_require__(6);function ConnectionPool(config){config=config||{};utils.makeBoundMethods(this);if(config.log)this.log=config.log;else{this.log=new Log;config.log=this.log}this._config=config;this.selector=utils.funcEnum(config,"selector",ConnectionPool.selectors,ConnectionPool.defaultSelector);this.Connection=utils.funcEnum(config,"connectionClass",ConnectionPool.connectionClasses,ConnectionPool.defaultConnectionClass);this.deadTimeout=config.hasOwnProperty("deadTimeout")?config.deadTimeout:6e4;this.maxDeadTimeout=config.hasOwnProperty("maxDeadTimeout")?config.maxDeadTimeout:18e5;this.calcDeadTimeout=utils.funcEnum(config,"calcDeadTimeout",ConnectionPool.calcDeadTimeoutOptions,"exponential");this.index={};this._conns={alive:[],dead:[]};this._timeouts=[]}ConnectionPool.selectors=__webpack_require__(20);ConnectionPool.defaultSelector="roundRobin";ConnectionPool.connectionClasses=__webpack_require__(21);ConnectionPool.defaultConnectionClass=ConnectionPool.connectionClasses._default;delete ConnectionPool.connectionClasses._default;ConnectionPool.calcDeadTimeoutOptions={flat:function flat(attempt,baseTimeout){return baseTimeout},exponential:function exponential(attempt,baseTimeout){return Math.min(2*baseTimeout*Math.pow(2,.5*attempt-1),this.maxDeadTimeout)}};ConnectionPool.prototype.select=function(cb){if(this._conns.alive.length)if(this.selector.length>1)this.selector(this._conns.alive,cb);else try{utils.nextTick(cb,void 0,this.selector(this._conns.alive))}catch(e){cb(e)}else this._timeouts.length?this._selectDeadConnection(cb):utils.nextTick(cb,void 0)};ConnectionPool.prototype.onStatusSet=utils.handler(function(status,oldStatus,connection){var index;var died="dead"===status;var wasAlreadyDead=died&&"dead"===oldStatus;var revived=!died&&"dead"===oldStatus;var noChange=oldStatus===status;var from=this._conns[oldStatus];var to=this._conns[status];if(noChange&&!died)return true;if(from!==to){if(_.isArray(from)){index=from.indexOf(connection);-1!==index&&from.splice(index,1)}if(_.isArray(to)){index=to.indexOf(connection);-1===index&&to.push(connection)}}died&&this._onConnectionDied(connection,wasAlreadyDead);revived&&this._onConnectionRevived(connection)});ConnectionPool.prototype._onConnectionRevived=function(connection){var timeout;for(var i=0;i<this._timeouts.length;i++)if(this._timeouts[i].conn===connection){timeout=this._timeouts[i];timeout.id&&clearTimeout(timeout.id);this._timeouts.splice(i,1);break}};ConnectionPool.prototype._onConnectionDied=function(connection,alreadyWasDead){var timeout;if(alreadyWasDead){for(var i=0;i<this._timeouts.length;i++)if(this._timeouts[i].conn===connection){timeout=this._timeouts[i];break}}else{timeout={conn:connection,attempt:0,revive:function revive(cb){timeout.attempt++;connection.ping(function(err){connection.setStatus(err?"dead":"alive");cb&&"function"===typeof cb&&cb(err)})}};this._timeouts.push(timeout)}timeout.id&&clearTimeout(timeout.id);var ms=this.calcDeadTimeout(timeout.attempt,this.deadTimeout);timeout.id=setTimeout(timeout.revive,ms);timeout.runAt=utils.now()+ms};ConnectionPool.prototype._selectDeadConnection=function(cb){var orderedTimeouts=_.sortBy(this._timeouts,"runAt");var log=this.log;process.nextTick(function next(){var timeout=orderedTimeouts.shift();if(!timeout){cb(void 0);return}if(!timeout.conn){next();return}"dead"===timeout.conn.status?timeout.revive(function(err){if(err){log.warning("Unable to revive connection: "+timeout.conn.id);process.nextTick(next)}else cb(void 0,timeout.conn)}):cb(void 0,timeout.conn)})};ConnectionPool.prototype.getConnections=function(status,limit){var list;list=status?this._conns[status]:this._conns[this._conns.alive.length?"alive":"dead"];return null==limit?list.slice(0):_.shuffle(list).slice(0,limit)};ConnectionPool.prototype.addConnection=function(connection){connection.id||(connection.id=connection.host.toString());if(!this.index[connection.id]){this.log.info("Adding connection to",connection.id);this.index[connection.id]=connection;connection.on("status set",this.bound.onStatusSet);connection.setStatus("alive")}};ConnectionPool.prototype.removeConnection=function(connection){connection.id||(connection.id=connection.host.toString());if(this.index[connection.id]){delete this.index[connection.id];connection.setStatus("closed");connection.removeListener("status set",this.bound.onStatusSet)}};ConnectionPool.prototype.setHosts=function(hosts){var connection;var i;var id;var host;var toRemove=_.clone(this.index);for(i=0;i<hosts.length;i++){host=hosts[i];id=host.toString();if(this.index[id])delete toRemove[id];else{connection=new this.Connection(host,this._config);connection.id=id;this.addConnection(connection)}}var removeIds=_.keys(toRemove);for(i=0;i<removeIds.length;i++)this.removeConnection(this.index[removeIds[i]])};ConnectionPool.prototype.getAllHosts=function(){return _.values(this.index).map(function(connection){return connection.host})};ConnectionPool.prototype.close=function(){this.setHosts([])};ConnectionPool.prototype.empty=ConnectionPool.prototype.close}).call(exports,__webpack_require__(3))},function(module,exports,__webpack_require__){module.exports=AngularConnector;var utils=__webpack_require__(2);var ConnectionAbstract=__webpack_require__(13);var ConnectionFault=__webpack_require__(4).ConnectionFault;function AngularConnector(host,config){ConnectionAbstract.call(this,host,config);var self=this;config.$injector.invoke(["$http","$q",function($http,$q){self.$q=$q;self.$http=$http}])}utils.inherits(AngularConnector,ConnectionAbstract);AngularConnector.prototype.request=function(params,cb){var abort=this.$q.defer();this.$http({method:params.method,url:this.host.makeUrl(params),data:params.body,cache:false,headers:this.host.getHeaders(params.headers),transformRequest:[],transformResponse:[],timeout:abort.promise}).then(function(response){cb(null,response.data,response.status,response.headers())},function(err){err.status?cb(null,err.data,err.status,err.headers()):cb(new ConnectionFault(err.message))});return function(){abort.resolve()}}},function(module,exports,__webpack_require__){"use strict";(function(global){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 * @license  MIT
 */
var base64=__webpack_require__(28);var ieee754=__webpack_require__(29);var isArray=__webpack_require__(30);exports.Buffer=Buffer;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;Buffer.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:typedArraySupport();exports.kMaxLength=kMaxLength();function typedArraySupport(){try{var arr=new Uint8Array(1);arr.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return 42===arr.foo()&&"function"===typeof arr.subarray&&0===arr.subarray(1,1).byteLength}catch(e){return false}}function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function createBuffer(that,length){if(kMaxLength()<length)throw new RangeError("Invalid typed array length");if(Buffer.TYPED_ARRAY_SUPPORT){that=new Uint8Array(length);that.__proto__=Buffer.prototype}else{null===that&&(that=new Buffer(length));that.length=length}return that}function Buffer(arg,encodingOrOffset,length){if(!Buffer.TYPED_ARRAY_SUPPORT&&!(this instanceof Buffer))return new Buffer(arg,encodingOrOffset,length);if("number"===typeof arg){if("string"===typeof encodingOrOffset)throw new Error("If encoding is specified then the first argument must be a string");return allocUnsafe(this,arg)}return from(this,arg,encodingOrOffset,length)}Buffer.poolSize=8192;Buffer._augment=function(arr){arr.__proto__=Buffer.prototype;return arr};function from(that,value,encodingOrOffset,length){if("number"===typeof value)throw new TypeError('"value" argument must not be a number');if("undefined"!==typeof ArrayBuffer&&value instanceof ArrayBuffer)return fromArrayBuffer(that,value,encodingOrOffset,length);if("string"===typeof value)return fromString(that,value,encodingOrOffset);return fromObject(that,value)}Buffer.from=function(value,encodingOrOffset,length){return from(null,value,encodingOrOffset,length)};if(Buffer.TYPED_ARRAY_SUPPORT){Buffer.prototype.__proto__=Uint8Array.prototype;Buffer.__proto__=Uint8Array;"undefined"!==typeof Symbol&&Symbol.species&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:true})}function assertSize(size){if("number"!==typeof size)throw new TypeError('"size" argument must be a number');if(size<0)throw new RangeError('"size" argument must not be negative')}function alloc(that,size,fill,encoding){assertSize(size);if(size<=0)return createBuffer(that,size);if(void 0!==fill)return"string"===typeof encoding?createBuffer(that,size).fill(fill,encoding):createBuffer(that,size).fill(fill);return createBuffer(that,size)}Buffer.alloc=function(size,fill,encoding){return alloc(null,size,fill,encoding)};function allocUnsafe(that,size){assertSize(size);that=createBuffer(that,size<0?0:0|checked(size));if(!Buffer.TYPED_ARRAY_SUPPORT)for(var i=0;i<size;++i)that[i]=0;return that}Buffer.allocUnsafe=function(size){return allocUnsafe(null,size)};Buffer.allocUnsafeSlow=function(size){return allocUnsafe(null,size)};function fromString(that,string,encoding){"string"===typeof encoding&&""!==encoding||(encoding="utf8");if(!Buffer.isEncoding(encoding))throw new TypeError('"encoding" must be a valid string encoding');var length=0|byteLength(string,encoding);that=createBuffer(that,length);var actual=that.write(string,encoding);actual!==length&&(that=that.slice(0,actual));return that}function fromArrayLike(that,array){var length=array.length<0?0:0|checked(array.length);that=createBuffer(that,length);for(var i=0;i<length;i+=1)that[i]=255&array[i];return that}function fromArrayBuffer(that,array,byteOffset,length){array.byteLength;if(byteOffset<0||array.byteLength<byteOffset)throw new RangeError("'offset' is out of bounds");if(array.byteLength<byteOffset+(length||0))throw new RangeError("'length' is out of bounds");array=void 0===byteOffset&&void 0===length?new Uint8Array(array):void 0===length?new Uint8Array(array,byteOffset):new Uint8Array(array,byteOffset,length);if(Buffer.TYPED_ARRAY_SUPPORT){that=array;that.__proto__=Buffer.prototype}else that=fromArrayLike(that,array);return that}function fromObject(that,obj){if(Buffer.isBuffer(obj)){var len=0|checked(obj.length);that=createBuffer(that,len);if(0===that.length)return that;obj.copy(that,0,0,len);return that}if(obj){if("undefined"!==typeof ArrayBuffer&&obj.buffer instanceof ArrayBuffer||"length"in obj){if("number"!==typeof obj.length||isnan(obj.length))return createBuffer(that,0);return fromArrayLike(that,obj)}if("Buffer"===obj.type&&isArray(obj.data))return fromArrayLike(that,obj.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function checked(length){if(length>=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|length}function SlowBuffer(length){+length!=length&&(length=0);return Buffer.alloc(+length)}Buffer.isBuffer=function isBuffer(b){return!!(null!=b&&b._isBuffer)};Buffer.compare=function compare(a,b){if(!Buffer.isBuffer(a)||!Buffer.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;var x=a.length;var y=b.length;for(var i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i];y=b[i];break}if(x<y)return-1;if(y<x)return 1;return 0};Buffer.isEncoding=function isEncoding(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return true;default:return false}};Buffer.concat=function concat(list,length){if(!isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(0===list.length)return Buffer.alloc(0);var i;if(void 0===length){length=0;for(i=0;i<list.length;++i)length+=list[i].length}var buffer=Buffer.allocUnsafe(length);var pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(!Buffer.isBuffer(buf))throw new TypeError('"list" argument must be an Array of Buffers');buf.copy(buffer,pos);pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer.isBuffer(string))return string.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(string)||string instanceof ArrayBuffer))return string.byteLength;"string"!==typeof string&&(string=""+string);var len=string.length;if(0===len)return 0;var loweredCase=false;for(;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":case void 0:return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*len;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase();loweredCase=true}}Buffer.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=false;(void 0===start||start<0)&&(start=0);if(start>this.length)return"";(void 0===end||end>this.length)&&(end=this.length);if(end<=0)return"";end>>>=0;start>>>=0;if(end<=start)return"";encoding||(encoding="utf8");while(true)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase();loweredCase=true}}Buffer.prototype._isBuffer=true;function swap(b,n,m){var i=b[n];b[n]=b[m];b[m]=i}Buffer.prototype.swap16=function swap16(){var len=this.length;if(len%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this};Buffer.prototype.swap32=function swap32(){var len=this.length;if(len%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4){swap(this,i,i+3);swap(this,i+1,i+2)}return this};Buffer.prototype.swap64=function swap64(){var len=this.length;if(len%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8){swap(this,i,i+7);swap(this,i+1,i+6);swap(this,i+2,i+5);swap(this,i+3,i+4)}return this};Buffer.prototype.toString=function toString(){var length=0|this.length;if(0===length)return"";if(0===arguments.length)return utf8Slice(this,0,length);return slowToString.apply(this,arguments)};Buffer.prototype.equals=function equals(b){if(!Buffer.isBuffer(b))throw new TypeError("Argument must be a Buffer");if(this===b)return true;return 0===Buffer.compare(this,b)};Buffer.prototype.inspect=function inspect(){var str="";var max=exports.INSPECT_MAX_BYTES;if(this.length>0){str=this.toString("hex",0,max).match(/.{2}/g).join(" ");this.length>max&&(str+=" ... ")}return"<Buffer "+str+">"};Buffer.prototype.compare=function compare(target,start,end,thisStart,thisEnd){if(!Buffer.isBuffer(target))throw new TypeError("Argument must be a Buffer");void 0===start&&(start=0);void 0===end&&(end=target?target.length:0);void 0===thisStart&&(thisStart=0);void 0===thisEnd&&(thisEnd=this.length);if(start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;start>>>=0;end>>>=0;thisStart>>>=0;thisEnd>>>=0;if(this===target)return 0;var x=thisEnd-thisStart;var y=end-start;var len=Math.min(x,y);var thisCopy=this.slice(thisStart,thisEnd);var targetCopy=target.slice(start,end);for(var i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i];y=targetCopy[i];break}if(x<y)return-1;if(y<x)return 1;return 0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(0===buffer.length)return-1;if("string"===typeof byteOffset){encoding=byteOffset;byteOffset=0}else byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648);byteOffset=+byteOffset;isNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1);byteOffset<0&&(byteOffset=buffer.length+byteOffset);if(byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0){if(!dir)return-1;byteOffset=0}"string"===typeof val&&(val=Buffer.from(val,encoding));if(Buffer.isBuffer(val)){if(0===val.length)return-1;return arrayIndexOf(buffer,val,byteOffset,encoding,dir)}if("number"===typeof val){val&=255;if(Buffer.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf)return dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset);return arrayIndexOf(buffer,[val],byteOffset,encoding,dir)}throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1;var arrLength=arr.length;var valLength=val.length;if(void 0!==encoding){encoding=String(encoding).toLowerCase();if("ucs2"===encoding||"ucs-2"===encoding||"utf16le"===encoding||"utf-16le"===encoding){if(arr.length<2||val.length<2)return-1;indexSize=2;arrLength/=2;valLength/=2;byteOffset/=2}}function read(buf,i){return 1===indexSize?buf[i]:buf.readUInt16BE(i*indexSize)}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,-1===foundIndex?0:i-foundIndex)){-1===foundIndex&&(foundIndex=i);if(i-foundIndex+1===valLength)return foundIndex*indexSize}else{-1!==foundIndex&&(i-=i-foundIndex);foundIndex=-1}}else{byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength);for(i=byteOffset;i>=0;i--){var found=true;for(var j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=false;break}if(found)return i}}return-1}Buffer.prototype.includes=function includes(val,byteOffset,encoding){return-1!==this.indexOf(val,byteOffset,encoding)};Buffer.prototype.indexOf=function indexOf(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,true)};Buffer.prototype.lastIndexOf=function lastIndexOf(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,false)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;if(length){length=Number(length);length>remaining&&(length=remaining)}else length=remaining;var strLen=string.length;if(strLen%2!==0)throw new TypeError("Invalid hex string");length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(2*i,2),16);if(isNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function latin1Write(buf,string,offset,length){return asciiWrite(buf,string,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer.prototype.write=function write(string,offset,length,encoding){if(void 0===offset){encoding="utf8";length=this.length;offset=0}else if(void 0===length&&"string"===typeof offset){encoding=offset;length=this.length;offset=0}else{if(!isFinite(offset))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");offset|=0;if(isFinite(length)){length|=0;void 0===encoding&&(encoding="utf8")}else{encoding=length;length=void 0}}var remaining=this.length-offset;(void 0===length||length>remaining)&&(length=remaining);if(string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");var loweredCase=false;for(;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":return asciiWrite(this,string,offset,length);case"latin1":case"binary":return latin1Write(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase();loweredCase=true}};Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){return 0===start&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);var res=[];var i=start;while(i<end){var firstByte=buf[i];var codePoint=null;var bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1];if(128===(192&secondByte)){tempCodePoint=(31&firstByte)<<6|63&secondByte;tempCodePoint>127&&(codePoint=tempCodePoint)}break;case 3:secondByte=buf[i+1];thirdByte=buf[i+2];if(128===(192&secondByte)&&128===(192&thirdByte)){tempCodePoint=(15&firstByte)<<12|(63&secondByte)<<6|63&thirdByte;tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint)}break;case 4:secondByte=buf[i+1];thirdByte=buf[i+2];fourthByte=buf[i+3];if(128===(192&secondByte)&&128===(192&thirdByte)&&128===(192&fourthByte)){tempCodePoint=(15&firstByte)<<18|(63&secondByte)<<12|(63&thirdByte)<<6|63&fourthByte;tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint)}}}if(null===codePoint){codePoint=65533;bytesPerSequence=1}else if(codePoint>65535){codePoint-=65536;res.push(codePoint>>>10&1023|55296);codePoint=56320|1023&codePoint}res.push(codePoint);i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);var res="";var i=0;while(i<len)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(127&buf[i]);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0);(!end||end<0||end>len)&&(end=len);var out="";for(var i=start;i<end;++i)out+=toHex(buf[i]);return out}function utf16leSlice(buf,start,end){var bytes=buf.slice(start,end);var res="";for(var i=0;i<bytes.length;i+=2)res+=String.fromCharCode(bytes[i]+256*bytes[i+1]);return res}Buffer.prototype.slice=function slice(start,end){var len=this.length;start=~~start;end=void 0===end?len:~~end;if(start<0){start+=len;start<0&&(start=0)}else start>len&&(start=len);if(end<0){end+=len;end<0&&(end=0)}else end>len&&(end=len);end<start&&(end=start);var newBuf;if(Buffer.TYPED_ARRAY_SUPPORT){newBuf=this.subarray(start,end);newBuf.__proto__=Buffer.prototype}else{var sliceLen=end-start;newBuf=new Buffer(sliceLen,void 0);for(var i=0;i<sliceLen;++i)newBuf[i]=this[i+start]}return newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer.prototype.readUIntLE=function readUIntLE(offset,byteLength,noAssert){offset|=0;byteLength|=0;noAssert||checkOffset(offset,byteLength,this.length);var val=this[offset];var mul=1;var i=0;while(++i<byteLength&&(mul*=256))val+=this[offset+i]*mul;return val};Buffer.prototype.readUIntBE=function readUIntBE(offset,byteLength,noAssert){offset|=0;byteLength|=0;noAssert||checkOffset(offset,byteLength,this.length);var val=this[offset+--byteLength];var mul=1;while(byteLength>0&&(mul*=256))val+=this[offset+--byteLength]*mul;return val};Buffer.prototype.readUInt8=function readUInt8(offset,noAssert){noAssert||checkOffset(offset,1,this.length);return this[offset]};Buffer.prototype.readUInt16LE=function readUInt16LE(offset,noAssert){noAssert||checkOffset(offset,2,this.length);return this[offset]|this[offset+1]<<8};Buffer.prototype.readUInt16BE=function readUInt16BE(offset,noAssert){noAssert||checkOffset(offset,2,this.length);return this[offset]<<8|this[offset+1]};Buffer.prototype.readUInt32LE=function readUInt32LE(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+16777216*this[offset+3]};Buffer.prototype.readUInt32BE=function readUInt32BE(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return 16777216*this[offset]+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer.prototype.readIntLE=function readIntLE(offset,byteLength,noAssert){offset|=0;byteLength|=0;noAssert||checkOffset(offset,byteLength,this.length);var val=this[offset];var mul=1;var i=0;while(++i<byteLength&&(mul*=256))val+=this[offset+i]*mul;mul*=128;val>=mul&&(val-=Math.pow(2,8*byteLength));return val};Buffer.prototype.readIntBE=function readIntBE(offset,byteLength,noAssert){offset|=0;byteLength|=0;noAssert||checkOffset(offset,byteLength,this.length);var i=byteLength;var mul=1;var val=this[offset+--i];while(i>0&&(mul*=256))val+=this[offset+--i]*mul;mul*=128;val>=mul&&(val-=Math.pow(2,8*byteLength));return val};Buffer.prototype.readInt8=function readInt8(offset,noAssert){noAssert||checkOffset(offset,1,this.length);if(!(128&this[offset]))return this[offset];return-1*(255-this[offset]+1)};Buffer.prototype.readInt16LE=function readInt16LE(offset,noAssert){noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return 32768&val?4294901760|val:val};Buffer.prototype.readInt16BE=function readInt16BE(offset,noAssert){noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return 32768&val?4294901760|val:val};Buffer.prototype.readInt32LE=function readInt32LE(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer.prototype.readInt32BE=function readInt32BE(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer.prototype.readFloatLE=function readFloatLE(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return ieee754.read(this,offset,true,23,4)};Buffer.prototype.readFloatBE=function readFloatBE(offset,noAssert){noAssert||checkOffset(offset,4,this.length);return ieee754.read(this,offset,false,23,4)};Buffer.prototype.readDoubleLE=function readDoubleLE(offset,noAssert){noAssert||checkOffset(offset,8,this.length);return ieee754.read(this,offset,true,52,8)};Buffer.prototype.readDoubleBE=function readDoubleBE(offset,noAssert){noAssert||checkOffset(offset,8,this.length);return ieee754.read(this,offset,false,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer.prototype.writeUIntLE=function writeUIntLE(value,offset,byteLength,noAssert){value=+value;offset|=0;byteLength|=0;if(!noAssert){var maxBytes=Math.pow(2,8*byteLength)-1;checkInt(this,value,offset,byteLength,maxBytes,0)}var mul=1;var i=0;this[offset]=255&value;while(++i<byteLength&&(mul*=256))this[offset+i]=value/mul&255;return offset+byteLength};Buffer.prototype.writeUIntBE=function writeUIntBE(value,offset,byteLength,noAssert){value=+value;offset|=0;byteLength|=0;if(!noAssert){var maxBytes=Math.pow(2,8*byteLength)-1;checkInt(this,value,offset,byteLength,maxBytes,0)}var i=byteLength-1;var mul=1;this[offset+i]=255&value;while(--i>=0&&(mul*=256))this[offset+i]=value/mul&255;return offset+byteLength};Buffer.prototype.writeUInt8=function writeUInt8(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,1,255,0);Buffer.TYPED_ARRAY_SUPPORT||(value=Math.floor(value));this[offset]=255&value;return offset+1};function objectWriteUInt16(buf,value,offset,littleEndian){value<0&&(value=65535+value+1);for(var i=0,j=Math.min(buf.length-offset,2);i<j;++i)buf[offset+i]=(value&255<<8*(littleEndian?i:1-i))>>>8*(littleEndian?i:1-i)}Buffer.prototype.writeUInt16LE=function writeUInt16LE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,2,65535,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=255&value;this[offset+1]=value>>>8}else objectWriteUInt16(this,value,offset,true);return offset+2};Buffer.prototype.writeUInt16BE=function writeUInt16BE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,2,65535,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>8;this[offset+1]=255&value}else objectWriteUInt16(this,value,offset,false);return offset+2};function objectWriteUInt32(buf,value,offset,littleEndian){value<0&&(value=4294967295+value+1);for(var i=0,j=Math.min(buf.length-offset,4);i<j;++i)buf[offset+i]=value>>>8*(littleEndian?i:3-i)&255}Buffer.prototype.writeUInt32LE=function writeUInt32LE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,4,4294967295,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset+3]=value>>>24;this[offset+2]=value>>>16;this[offset+1]=value>>>8;this[offset]=255&value}else objectWriteUInt32(this,value,offset,true);return offset+4};Buffer.prototype.writeUInt32BE=function writeUInt32BE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,4,4294967295,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>24;this[offset+1]=value>>>16;this[offset+2]=value>>>8;this[offset+3]=255&value}else objectWriteUInt32(this,value,offset,false);return offset+4};Buffer.prototype.writeIntLE=function writeIntLE(value,offset,byteLength,noAssert){value=+value;offset|=0;if(!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=0;var mul=1;var sub=0;this[offset]=255&value;while(++i<byteLength&&(mul*=256)){value<0&&0===sub&&0!==this[offset+i-1]&&(sub=1);this[offset+i]=(value/mul>>0)-sub&255}return offset+byteLength};Buffer.prototype.writeIntBE=function writeIntBE(value,offset,byteLength,noAssert){value=+value;offset|=0;if(!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=byteLength-1;var mul=1;var sub=0;this[offset+i]=255&value;while(--i>=0&&(mul*=256)){value<0&&0===sub&&0!==this[offset+i+1]&&(sub=1);this[offset+i]=(value/mul>>0)-sub&255}return offset+byteLength};Buffer.prototype.writeInt8=function writeInt8(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,1,127,-128);Buffer.TYPED_ARRAY_SUPPORT||(value=Math.floor(value));value<0&&(value=255+value+1);this[offset]=255&value;return offset+1};Buffer.prototype.writeInt16LE=function writeInt16LE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,2,32767,-32768);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=255&value;this[offset+1]=value>>>8}else objectWriteUInt16(this,value,offset,true);return offset+2};Buffer.prototype.writeInt16BE=function writeInt16BE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,2,32767,-32768);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>8;this[offset+1]=255&value}else objectWriteUInt16(this,value,offset,false);return offset+2};Buffer.prototype.writeInt32LE=function writeInt32LE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,4,2147483647,-2147483648);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=255&value;this[offset+1]=value>>>8;this[offset+2]=value>>>16;this[offset+3]=value>>>24}else objectWriteUInt32(this,value,offset,true);return offset+4};Buffer.prototype.writeInt32BE=function writeInt32BE(value,offset,noAssert){value=+value;offset|=0;noAssert||checkInt(this,value,offset,4,2147483647,-2147483648);value<0&&(value=4294967295+value+1);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>24;this[offset+1]=value>>>16;this[offset+2]=value>>>8;this[offset+3]=255&value}else objectWriteUInt32(this,value,offset,false);return offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){noAssert||checkIEEE754(buf,value,offset,4,3.4028234663852886e38,-3.4028234663852886e38);ieee754.write(buf,value,offset,littleEndian,23,4);return offset+4}Buffer.prototype.writeFloatLE=function writeFloatLE(value,offset,noAssert){return writeFloat(this,value,offset,true,noAssert)};Buffer.prototype.writeFloatBE=function writeFloatBE(value,offset,noAssert){return writeFloat(this,value,offset,false,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){noAssert||checkIEEE754(buf,value,offset,8,1.7976931348623157e308,-1.7976931348623157e308);ieee754.write(buf,value,offset,littleEndian,52,8);return offset+8}Buffer.prototype.writeDoubleLE=function writeDoubleLE(value,offset,noAssert){return writeDouble(this,value,offset,true,noAssert)};Buffer.prototype.writeDoubleBE=function writeDoubleBE(value,offset,noAssert){return writeDouble(this,value,offset,false,noAssert)};Buffer.prototype.copy=function copy(target,targetStart,start,end){start||(start=0);end||0===end||(end=this.length);targetStart>=target.length&&(targetStart=target.length);targetStart||(targetStart=0);end>0&&end<start&&(end=start);if(end===start)return 0;if(0===target.length||0===this.length)return 0;if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("sourceStart out of bounds");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length);target.length-targetStart<end-start&&(end=target.length-targetStart+start);var len=end-start;var i;if(this===target&&start<targetStart&&targetStart<end)for(i=len-1;i>=0;--i)target[i+targetStart]=this[i+start];else if(len<1e3||!Buffer.TYPED_ARRAY_SUPPORT)for(i=0;i<len;++i)target[i+targetStart]=this[i+start];else Uint8Array.prototype.set.call(target,this.subarray(start,start+len),targetStart);return len};Buffer.prototype.fill=function fill(val,start,end,encoding){if("string"===typeof val){if("string"===typeof start){encoding=start;start=0;end=this.length}else if("string"===typeof end){encoding=end;end=this.length}if(1===val.length){var code=val.charCodeAt(0);code<256&&(val=code)}if(void 0!==encoding&&"string"!==typeof encoding)throw new TypeError("encoding must be a string");if("string"===typeof encoding&&!Buffer.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding)}else"number"===typeof val&&(val&=255);if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;start>>>=0;end=void 0===end?this.length:end>>>0;val||(val=0);var i;if("number"===typeof val)for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer.isBuffer(val)?val:utf8ToBytes(new Buffer(val,encoding).toString());var len=bytes.length;for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+\/0-9A-Za-z-_]/g;function base64clean(str){str=stringtrim(str).replace(INVALID_BASE64_RE,"");if(str.length<2)return"";while(str.length%4!==0)str+="=";return str}function stringtrim(str){if(str.trim)return str.trim();return str.replace(/^\s+|\s+$/g,"")}function toHex(n){if(n<16)return"0"+n.toString(16);return n.toString(16)}function utf8ToBytes(string,units){units=units||Infinity;var codePoint;var length=string.length;var leadSurrogate=null;var bytes=[];for(var i=0;i<length;++i){codePoint=string.charCodeAt(i);if(codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189);leadSurrogate=codePoint;continue}codePoint=65536+(leadSurrogate-55296<<10|codePoint-56320)}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);leadSurrogate=null;if(codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,63&codePoint|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,63&codePoint|128)}else{if(!(codePoint<1114112))throw new Error("Invalid code point");if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,63&codePoint|128)}}return bytes}function asciiToBytes(str){var byteArray=[];for(var i=0;i<str.length;++i)byteArray.push(255&str.charCodeAt(i));return byteArray}function utf16leToBytes(str,units){var c,hi,lo;var byteArray=[];for(var i=0;i<str.length;++i){if((units-=2)<0)break;c=str.charCodeAt(i);hi=c>>8;lo=c%256;byteArray.push(lo);byteArray.push(hi)}return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length;++i){if(i+offset>=dst.length||i>=src.length)break;dst[i+offset]=src[i]}return i}function isnan(val){return val!==val}}).call(exports,__webpack_require__(5))},function(module,exports){module.exports=function(module){if(!module.webpackPolyfill){module.deprecate=function(){};module.paths=[];module.children||(module.children=[]);Object.defineProperty(module,"loaded",{enumerable:true,get:function(){return module.l}});Object.defineProperty(module,"id",{enumerable:true,get:function(){return module.i}});module.webpackPolyfill=1}return module}},function(module,exports,__webpack_require__){module.exports=ConnectionAbstract;var _=__webpack_require__(0);var utils=__webpack_require__(2);var EventEmitter=__webpack_require__(14).EventEmitter;var Log=__webpack_require__(6);var Host=__webpack_require__(7);var errors=__webpack_require__(4);function ConnectionAbstract(host,config){config=config||{};EventEmitter.call(this);this.log=config.log||new Log;this.pingTimeout=config.pingTimeout||3e3;if(!host)throw new TypeError("Missing host");if(!(host instanceof Host))throw new TypeError("Invalid host");this.host=host;utils.makeBoundMethods(this)}utils.inherits(ConnectionAbstract,EventEmitter);ConnectionAbstract.prototype.request=function(){throw new Error("Connection#request must be overwritten by the Connector")};ConnectionAbstract.prototype.ping=function(params,cb){if("function"===typeof params){cb=params;params=null}else cb="function"===typeof cb?cb:null;var requestTimeout=this.pingTimeout;var requestTimeoutId;var aborted;var abort;params&&params.hasOwnProperty("requestTimeout")&&(requestTimeout=params.requestTimeout);abort=this.request(_.defaults(params||{},{path:"/",method:"HEAD"}),function(err){if(aborted)return;clearTimeout(requestTimeoutId);cb&&cb(err)});requestTimeout&&(requestTimeoutId=setTimeout(function(){abort&&abort();aborted=true;cb&&cb(new errors.RequestTimeout("Ping Timeout after "+requestTimeout+"ms"))},requestTimeout))};ConnectionAbstract.prototype.setStatus=function(status){var origStatus=this.status;this.status=status;this.emit("status set",status,origStatus,this);"closed"===status&&this.removeAllListeners()}},function(module,exports){function EventEmitter(){this._events=this._events||{};this._maxListeners=this._maxListeners||void 0}module.exports=EventEmitter;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=void 0;EventEmitter.prototype._maxListeners=void 0;EventEmitter.defaultMaxListeners=10;EventEmitter.prototype.setMaxListeners=function(n){if(!isNumber(n)||n<0||isNaN(n))throw TypeError("n must be a positive number");this._maxListeners=n;return this};EventEmitter.prototype.emit=function(type){var er,handler,len,args,i,listeners;this._events||(this._events={});if("error"===type&&(!this._events.error||isObject(this._events.error)&&!this._events.error.length)){er=arguments[1];if(er instanceof Error)throw er;var err=new Error('Uncaught, unspecified "error" event. ('+er+")");err.context=er;throw err}handler=this._events[type];if(isUndefined(handler))return false;if(isFunction(handler))switch(arguments.length){case 1:handler.call(this);break;case 2:handler.call(this,arguments[1]);break;case 3:handler.call(this,arguments[1],arguments[2]);break;default:args=Array.prototype.slice.call(arguments,1);handler.apply(this,args)}else if(isObject(handler)){args=Array.prototype.slice.call(arguments,1);listeners=handler.slice();len=listeners.length;for(i=0;i<len;i++)listeners[i].apply(this,args)}return true};EventEmitter.prototype.addListener=function(type,listener){var m;if(!isFunction(listener))throw TypeError("listener must be a function");this._events||(this._events={});this._events.newListener&&this.emit("newListener",type,isFunction(listener.listener)?listener.listener:listener);this._events[type]?isObject(this._events[type])?this._events[type].push(listener):this._events[type]=[this._events[type],listener]:this._events[type]=listener;if(isObject(this._events[type])&&!this._events[type].warned){m=isUndefined(this._maxListeners)?EventEmitter.defaultMaxListeners:this._maxListeners;if(m&&m>0&&this._events[type].length>m){this._events[type].warned=true;console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[type].length);"function"===typeof console.trace&&console.trace()}}return this};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.once=function(type,listener){if(!isFunction(listener))throw TypeError("listener must be a function");var fired=false;function g(){this.removeListener(type,g);if(!fired){fired=true;listener.apply(this,arguments)}}g.listener=listener;this.on(type,g);return this};EventEmitter.prototype.removeListener=function(type,listener){var list,position,length,i;if(!isFunction(listener))throw TypeError("listener must be a function");if(!this._events||!this._events[type])return this;list=this._events[type];length=list.length;position=-1;if(list===listener||isFunction(list.listener)&&list.listener===listener){delete this._events[type];this._events.removeListener&&this.emit("removeListener",type,listener)}else if(isObject(list)){for(i=length;i-- >0;)if(list[i]===listener||list[i].listener&&list[i].listener===listener){position=i;break}if(position<0)return this;if(1===list.length){list.length=0;delete this._events[type]}else list.splice(position,1);this._events.removeListener&&this.emit("removeListener",type,listener)}return this};EventEmitter.prototype.removeAllListeners=function(type){var key,listeners;if(!this._events)return this;if(!this._events.removeListener){0===arguments.length?this._events={}:this._events[type]&&delete this._events[type];return this}if(0===arguments.length){for(key in this._events){if("removeListener"===key)continue;this.removeAllListeners(key)}this.removeAllListeners("removeListener");this._events={};return this}listeners=this._events[type];if(isFunction(listeners))this.removeListener(type,listeners);else if(listeners)while(listeners.length)this.removeListener(type,listeners[listeners.length-1]);delete this._events[type];return this};EventEmitter.prototype.listeners=function(type){var ret;ret=this._events&&this._events[type]?isFunction(this._events[type])?[this._events[type]]:this._events[type].slice():[];return ret};EventEmitter.prototype.listenerCount=function(type){if(this._events){var evlistener=this._events[type];if(isFunction(evlistener))return 1;if(evlistener)return evlistener.length}return 0};EventEmitter.listenerCount=function(emitter,type){return emitter.listenerCount(type)};function isFunction(arg){return"function"===typeof arg}function isNumber(arg){return"number"===typeof arg}function isObject(arg){return"object"===typeof arg&&null!==arg}function isUndefined(arg){return void 0===arg}},function(module,exports,__webpack_require__){"use strict";var punycode=__webpack_require__(34);var util=__webpack_require__(35);exports.parse=urlParse;exports.resolve=urlResolve;exports.resolveObject=urlResolveObject;exports.format=urlFormat;exports.Url=Url;function Url(){this.protocol=null;this.slashes=null;this.auth=null;this.host=null;this.port=null;this.hostname=null;this.hash=null;this.search=null;this.query=null;this.pathname=null;this.path=null;this.href=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r","\n","\t"],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:true,"javascript:":true},hostlessProtocol={javascript:true,"javascript:":true},slashedProtocol={http:true,https:true,ftp:true,gopher:true,file:true,"http:":true,"https:":true,"ftp:":true,"gopher:":true,"file:":true},querystring=__webpack_require__(16);function urlParse(url,parseQueryString,slashesDenoteHost){if(url&&util.isObject(url)&&url instanceof Url)return url;var u=new Url;u.parse(url,parseQueryString,slashesDenoteHost);return u}Url.prototype.parse=function(url,parseQueryString,slashesDenoteHost){if(!util.isString(url))throw new TypeError("Parameter 'url' must be a string, not "+typeof url);var queryIndex=url.indexOf("?"),splitter=-1!==queryIndex&&queryIndex<url.indexOf("#")?"?":"#",uSplit=url.split(splitter),slashRegex=/\\/g;uSplit[0]=uSplit[0].replace(slashRegex,"/");url=uSplit.join(splitter);var rest=url;rest=rest.trim();if(!slashesDenoteHost&&1===url.split("#").length){var simplePath=simplePathPattern.exec(rest);if(simplePath){this.path=rest;this.href=rest;this.pathname=simplePath[1];if(simplePath[2]){this.search=simplePath[2];this.query=parseQueryString?querystring.parse(this.search.substr(1)):this.search.substr(1)}else if(parseQueryString){this.search="";this.query={}}return this}}var proto=protocolPattern.exec(rest);if(proto){proto=proto[0];var lowerProto=proto.toLowerCase();this.protocol=lowerProto;rest=rest.substr(proto.length)}if(slashesDenoteHost||proto||rest.match(/^\/\/[^@\/]+@[^@\/]+/)){var slashes="//"===rest.substr(0,2);if(slashes&&!(proto&&hostlessProtocol[proto])){rest=rest.substr(2);this.slashes=true}}if(!hostlessProtocol[proto]&&(slashes||proto&&!slashedProtocol[proto])){var hostEnd=-1;for(var i=0;i<hostEndingChars.length;i++){var hec=rest.indexOf(hostEndingChars[i]);-1!==hec&&(-1===hostEnd||hec<hostEnd)&&(hostEnd=hec)}var auth,atSign;atSign=-1===hostEnd?rest.lastIndexOf("@"):rest.lastIndexOf("@",hostEnd);if(-1!==atSign){auth=rest.slice(0,atSign);rest=rest.slice(atSign+1);this.auth=decodeURIComponent(auth)}hostEnd=-1;for(i=0;i<nonHostChars.length;i++){hec=rest.indexOf(nonHostChars[i]);-1!==hec&&(-1===hostEnd||hec<hostEnd)&&(hostEnd=hec)}-1===hostEnd&&(hostEnd=rest.length);this.host=rest.slice(0,hostEnd);rest=rest.slice(hostEnd);this.parseHost();this.hostname=this.hostname||"";var ipv6Hostname="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!ipv6Hostname){var hostparts=this.hostname.split(/\./);i=0;for(var l=hostparts.length;i<l;i++){var part=hostparts[i];if(!part)continue;if(!part.match(hostnamePartPattern)){var newpart="";for(var j=0,k=part.length;j<k;j++)part.charCodeAt(j)>127?newpart+="x":newpart+=part[j];if(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i);var notHost=hostparts.slice(i+1);var bit=part.match(hostnamePartStart);if(bit){validParts.push(bit[1]);notHost.unshift(bit[2])}notHost.length&&(rest="/"+notHost.join(".")+rest);this.hostname=validParts.join(".");break}}}}this.hostname.length>hostnameMaxLen?this.hostname="":this.hostname=this.hostname.toLowerCase();ipv6Hostname||(this.hostname=punycode.toASCII(this.hostname));var p=this.port?":"+this.port:"";var h=this.hostname||"";this.host=h+p;this.href+=this.host;if(ipv6Hostname){this.hostname=this.hostname.substr(1,this.hostname.length-2);"/"!==rest[0]&&(rest="/"+rest)}}if(!unsafeProtocol[lowerProto])for(i=0,l=autoEscape.length;i<l;i++){var ae=autoEscape[i];if(-1===rest.indexOf(ae))continue;var esc=encodeURIComponent(ae);esc===ae&&(esc=escape(ae));rest=rest.split(ae).join(esc)}var hash=rest.indexOf("#");if(-1!==hash){this.hash=rest.substr(hash);rest=rest.slice(0,hash)}var qm=rest.indexOf("?");if(-1!==qm){this.search=rest.substr(qm);this.query=rest.substr(qm+1);parseQueryString&&(this.query=querystring.parse(this.query));rest=rest.slice(0,qm)}else if(parseQueryString){this.search="";this.query={}}rest&&(this.pathname=rest);slashedProtocol[lowerProto]&&this.hostname&&!this.pathname&&(this.pathname="/");if(this.pathname||this.search){p=this.pathname||"";var s=this.search||"";this.path=p+s}this.href=this.format();return this};function urlFormat(obj){util.isString(obj)&&(obj=urlParse(obj));if(!(obj instanceof Url))return Url.prototype.format.call(obj);return obj.format()}Url.prototype.format=function(){var auth=this.auth||"";if(auth){auth=encodeURIComponent(auth);auth=auth.replace(/%3A/i,":");auth+="@"}var protocol=this.protocol||"",pathname=this.pathname||"",hash=this.hash||"",host=false,query="";if(this.host)host=auth+this.host;else if(this.hostname){host=auth+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]");this.port&&(host+=":"+this.port)}this.query&&util.isObject(this.query)&&Object.keys(this.query).length&&(query=querystring.stringify(this.query));var search=this.search||query&&"?"+query||"";protocol&&":"!==protocol.substr(-1)&&(protocol+=":");if(this.slashes||(!protocol||slashedProtocol[protocol])&&false!==host){host="//"+(host||"");pathname&&"/"!==pathname.charAt(0)&&(pathname="/"+pathname)}else host||(host="");hash&&"#"!==hash.charAt(0)&&(hash="#"+hash);search&&"?"!==search.charAt(0)&&(search="?"+search);pathname=pathname.replace(/[?#]/g,function(match){return encodeURIComponent(match)});search=search.replace("#","%23");return protocol+host+pathname+search+hash};function urlResolve(source,relative){return urlParse(source,false,true).resolve(relative)}Url.prototype.resolve=function(relative){return this.resolveObject(urlParse(relative,false,true)).format()};function urlResolveObject(source,relative){if(!source)return relative;return urlParse(source,false,true).resolveObject(relative)}Url.prototype.resolveObject=function(relative){if(util.isString(relative)){var rel=new Url;rel.parse(relative,false,true);relative=rel}var result=new Url;var tkeys=Object.keys(this);for(var tk=0;tk<tkeys.length;tk++){var tkey=tkeys[tk];result[tkey]=this[tkey]}result.hash=relative.hash;if(""===relative.href){result.href=result.format();return result}if(relative.slashes&&!relative.protocol){var rkeys=Object.keys(relative);for(var rk=0;rk<rkeys.length;rk++){var rkey=rkeys[rk];"protocol"!==rkey&&(result[rkey]=relative[rkey])}slashedProtocol[result.protocol]&&result.hostname&&!result.pathname&&(result.path=result.pathname="/");result.href=result.format();return result}if(relative.protocol&&relative.protocol!==result.protocol){if(!slashedProtocol[relative.protocol]){var keys=Object.keys(relative);for(var v=0;v<keys.length;v++){var k=keys[v];result[k]=relative[k]}result.href=result.format();return result}result.protocol=relative.protocol;if(relative.host||hostlessProtocol[relative.protocol])result.pathname=relative.pathname;else{var relPath=(relative.pathname||"").split("/");while(relPath.length&&!(relative.host=relPath.shift()));relative.host||(relative.host="");relative.hostname||(relative.hostname="");""!==relPath[0]&&relPath.unshift("");relPath.length<2&&relPath.unshift("");result.pathname=relPath.join("/")}result.search=relative.search;result.query=relative.query;result.host=relative.host||"";result.auth=relative.auth;result.hostname=relative.hostname||relative.host;result.port=relative.port;if(result.pathname||result.search){var p=result.pathname||"";var s=result.search||"";result.path=p+s}result.slashes=result.slashes||relative.slashes;result.href=result.format();return result}var isSourceAbs=result.pathname&&"/"===result.pathname.charAt(0),isRelAbs=relative.host||relative.pathname&&"/"===relative.pathname.charAt(0),mustEndAbs=isRelAbs||isSourceAbs||result.host&&relative.pathname,removeAllDots=mustEndAbs,srcPath=result.pathname&&result.pathname.split("/")||[],psychotic=(relPath=relative.pathname&&relative.pathname.split("/")||[],result.protocol&&!slashedProtocol[result.protocol]);if(psychotic){result.hostname="";result.port=null;result.host&&(""===srcPath[0]?srcPath[0]=result.host:srcPath.unshift(result.host));result.host="";if(relative.protocol){relative.hostname=null;relative.port=null;relative.host&&(""===relPath[0]?relPath[0]=relative.host:relPath.unshift(relative.host));relative.host=null}mustEndAbs=mustEndAbs&&(""===relPath[0]||""===srcPath[0])}if(isRelAbs){result.host=relative.host||""===relative.host?relative.host:result.host;result.hostname=relative.hostname||""===relative.hostname?relative.hostname:result.hostname;result.search=relative.search;result.query=relative.query;srcPath=relPath}else if(relPath.length){srcPath||(srcPath=[]);srcPath.pop();srcPath=srcPath.concat(relPath);result.search=relative.search;result.query=relative.query}else if(!util.isNullOrUndefined(relative.search)){if(psychotic){result.hostname=result.host=srcPath.shift();var authInHost=!!(result.host&&result.host.indexOf("@")>0)&&result.host.split("@");if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift()}}result.search=relative.search;result.query=relative.query;util.isNull(result.pathname)&&util.isNull(result.search)||(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:""));result.href=result.format();return result}if(!srcPath.length){result.pathname=null;result.search?result.path="/"+result.search:result.path=null;result.href=result.format();return result}var last=srcPath.slice(-1)[0];var hasTrailingSlash=(result.host||relative.host||srcPath.length>1)&&("."===last||".."===last)||""===last;var up=0;for(var i=srcPath.length;i>=0;i--){last=srcPath[i];if("."===last)srcPath.splice(i,1);else if(".."===last){srcPath.splice(i,1);up++}else if(up){srcPath.splice(i,1);up--}}if(!mustEndAbs&&!removeAllDots)for(;up--;up)srcPath.unshift("..");!mustEndAbs||""===srcPath[0]||srcPath[0]&&"/"===srcPath[0].charAt(0)||srcPath.unshift("");hasTrailingSlash&&"/"!==srcPath.join("/").substr(-1)&&srcPath.push("");var isAbsolute=""===srcPath[0]||srcPath[0]&&"/"===srcPath[0].charAt(0);if(psychotic){result.hostname=result.host=isAbsolute?"":srcPath.length?srcPath.shift():"";authInHost=!!(result.host&&result.host.indexOf("@")>0)&&result.host.split("@");if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift()}}mustEndAbs=mustEndAbs||result.host&&srcPath.length;mustEndAbs&&!isAbsolute&&srcPath.unshift("");if(srcPath.length)result.pathname=srcPath.join("/");else{result.pathname=null;result.path=null}util.isNull(result.pathname)&&util.isNull(result.search)||(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:""));result.auth=relative.auth||result.auth;result.slashes=result.slashes||relative.slashes;result.href=result.format();return result};Url.prototype.parseHost=function(){var host=this.host;var port=portPattern.exec(host);if(port){port=port[0];":"!==port&&(this.port=port.substr(1));host=host.substr(0,host.length-port.length)}host&&(this.hostname=host)}},function(module,exports,__webpack_require__){"use strict";exports.decode=exports.parse=__webpack_require__(36);exports.encode=exports.stringify=__webpack_require__(37)},function(module,exports,__webpack_require__){module.exports={console:__webpack_require__(38)}},function(module,exports,__webpack_require__){var _=__webpack_require__(0);var utils=__webpack_require__(2);function LoggerAbstract(log,config){this.log=log;this.listeningLevels=[];utils.makeBoundMethods(this);this.log.once("closing",this.bound.cleanUpListeners);this.setupListeners(config.levels)}function padNumToTen(n){return n<10?"0"+n.toString(10):n.toString(10)}LoggerAbstract.prototype.timestamp=function(){var d=new Date;return d.getUTCFullYear()+"-"+padNumToTen(d.getUTCMonth()+1)+"-"+padNumToTen(d.getUTCDate())+"T"+padNumToTen(d.getUTCHours())+":"+padNumToTen(d.getUTCMinutes())+":"+padNumToTen(d.getUTCSeconds())+"Z"};function indent(text,spaces){var space=utils.repeat(" ",spaces||2);return(text||"").split(/\r?\n/).map(function(line){return space+line}).join("\n")}LoggerAbstract.prototype.format=function(label,message){return label+": "+this.timestamp()+"\n"+indent(message)+"\n\n"};LoggerAbstract.prototype.write=function(){throw new Error("This should be overwritten by the logger")};LoggerAbstract.prototype.setupListeners=function(levels){this.cleanUpListeners();this.listeningLevels=[];_.each(levels,_.bind(function(level){var fnName="on"+utils.ucfirst(level);if(!this.bound[fnName])throw new Error('Unable to listen for level "'+level+'"');this.listeningLevels.push(level);this.log.on(level,this.bound[fnName])},this))};LoggerAbstract.prototype.cleanUpListeners=utils.handler(function(){_.each(this.listeningLevels,_.bind(function(level){this.log.removeListener(level,this.bound["on"+utils.ucfirst(level)])},this))});LoggerAbstract.prototype.onError=utils.handler(function(e){this.write("Error"===e.name?"ERROR":e.name,e.stack)});LoggerAbstract.prototype.onWarning=utils.handler(function(msg){this.write("WARNING",msg)});LoggerAbstract.prototype.onInfo=utils.handler(function(msg){this.write("INFO",msg)});LoggerAbstract.prototype.onDebug=utils.handler(function(msg){this.write("DEBUG",msg)});LoggerAbstract.prototype.onTrace=utils.handler(function(requestDetails){this.write("TRACE",this._formatTraceMessage(requestDetails))});LoggerAbstract.prototype._formatTraceMessage=function(req){return"-> "+req.method+" "+req.url+"\n"+this._prettyJson(req.body)+"\n<- "+req.status+"\n"+this._prettyJson(req.response)};LoggerAbstract.prototype._prettyJson=function(body){try{"string"===typeof body&&(body=JSON.parse(body));return JSON.stringify(body,null,"  ").replace(/'/g,"\\u0027")}catch(e){return"string"===typeof body?body:""}};module.exports=LoggerAbstract},function(module,exports,__webpack_require__){module.exports=Client;var Transport=__webpack_require__(8);var clientAction=__webpack_require__(1);var _=__webpack_require__(0);var utils=__webpack_require__(2);function Client(config){config=config||{};if(config.__reused)throw new Error("Do not reuse objects to configure the elasticsearch Client class: https://github.com/elasticsearch/elasticsearch-js/issues/33");config.__reused=true;function EsApiClient(){config.hasOwnProperty("log")||(config.log="warning");config.hosts||config.host||(config.host="http://localhost:9200");this.close=function(){this.transport.close()};this.transport=new Transport(config);_.each(EsApiClient.prototype,_.bind(function(Fn,prop){Fn.prototype instanceof clientAction.ApiNamespace&&(this[prop]=new Fn(this.transport,this))},this));delete this._namespaces}EsApiClient.prototype=utils.funcEnum(config,"apiVersion",Client.apis,"_default");config.sniffEndpoint||EsApiClient.prototype!==Client.apis["0.90"]||(config.sniffEndpoint="/_cluster/nodes");var Constructor=EsApiClient;if(config.plugins){Constructor.prototype=_.cloneDeep(Constructor.prototype);_.each(config.plugins,function(setup){Constructor=setup(Constructor,config,{apis:__webpack_require__(25),connectors:__webpack_require__(21),loggers:__webpack_require__(17),selectors:__webpack_require__(20),serializers:__webpack_require__(22),Client:__webpack_require__(19),clientAction:clientAction,Connection:__webpack_require__(13),ConnectionPool:__webpack_require__(9),Errors:__webpack_require__(4),Host:__webpack_require__(7),Log:__webpack_require__(6),Logger:__webpack_require__(18),NodesToHost:__webpack_require__(24),Transport:__webpack_require__(8)})||Constructor})}return new Constructor}Client.apis=__webpack_require__(25)},function(module,exports,__webpack_require__){module.exports={random:__webpack_require__(41),roundRobin:__webpack_require__(42)}},function(module,exports,__webpack_require__){var opts={xhr:__webpack_require__(43),jquery:__webpack_require__(44),angular:__webpack_require__(10)};var _=__webpack_require__(0);_.each(opts,function(conn,name){"function"!==typeof conn&&delete opts[name]});opts.xhr?opts._default="xhr":opts.angular?opts._default="angular":opts._default="jquery";module.exports=opts},function(module,exports,__webpack_require__){module.exports={angular:__webpack_require__(45),json:__webpack_require__(23)}},function(module,exports,__webpack_require__){function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}module.exports=Json;var _=__webpack_require__(0);function Json(){}Json.prototype.serialize=function(val,replacer,spaces){switch(_typeof(val)){case"string":return val;case"object":if(val)return replacer||spaces?JSON.stringify(val,replacer,spaces):JSON.stringify(val);default:return}};Json.prototype.serialize.contentType="application/json";Json.prototype.deserialize=function(str){if("string"===typeof str)try{return JSON.parse(str)}catch(e){}};Json.prototype.bulkBody=function(val){var i,body="";if(_.isArray(val))for(i=0;i<val.length;i++)body+=this.serialize(val[i])+"\n";else{if("string"!==typeof val)throw new TypeError("Bulk body should either be an Array of commands/string, or a String");body=val+("\n"===val[val.length-1]?"":"\n")}return body};Json.prototype.bulkBody.contentType="application/x-ndjson"},function(module,exports,__webpack_require__){var _=__webpack_require__(0);var extractHostPartsRE1x=/\[(?:(.*)\/)?(.+?):(\d+)\]/;function makeNodeParser(hostProp){return function(nodes){return _.transform(nodes,function(hosts,node,id){var address=_.get(node,hostProp);if(!address)return;var host={host:void 0,port:void 0,_meta:{id:id,name:node.name,version:node.version}};var malformedError=new Error("Malformed "+hostProp+". Got "+JSON.stringify(address)+' and expected it to match "{hostname?}/{ip}:{port}".');var matches1x=extractHostPartsRE1x.exec(address);if(matches1x){host.host=matches1x[1]||matches1x[2];host.port=parseInt(matches1x[3],10);hosts.push(host);return}if(address.indexOf("/")>-1){var withHostParts=address.split("/");if(2!==withHostParts.length)throw malformedError;host.host=withHostParts.shift();address=withHostParts.shift()}if(address.indexOf(":")<0)throw malformedError;var addressParts=address.split(":");if(2!==addressParts.length)throw malformedError;host.host=host.host||addressParts[0];host.port=parseInt(addressParts[1],10);hosts.push(host)},[])}}module.exports=makeNodeParser("http.publish_address")},function(module,exports,__webpack_require__){module.exports={_default:__webpack_require__(26),6.6:__webpack_require__(26),6.5:__webpack_require__(46),6.4:__webpack_require__(47),6.3:__webpack_require__(48),6.2:__webpack_require__(49),6.7:__webpack_require__(50),"7.0":__webpack_require__(51),"7.x":__webpack_require__(52),master:__webpack_require__(53)}},function(module,exports,__webpack_require__){var ca=__webpack_require__(1).makeFactoryWithModifier(function(spec){return __webpack_require__(0).merge(spec,{params:{filterPath:{type:"list",name:"filter_path"}}})});var namespace=__webpack_require__(1).namespaceFactory;var api=module.exports={};api._namespaces=["cat","cluster","indices","ingest","nodes","snapshot","tasks"];api.bulk=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},type:{type:"string"},fields:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/_bulk",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_bulk",req:{index:{type:"string"}}},{fmt:"/_bulk"}],needBody:true,bulkBody:true,method:"POST"});api.cat=namespace();api.cat.prototype.aliases=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/aliases/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_cat/aliases"}]});api.cat.prototype.allocation=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/allocation/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cat/allocation"}]});api.cat.prototype.count=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/count/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/count"}]});api.cat.prototype.fielddata=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false},fields:{type:"list"}},urls:[{fmt:"/_cat/fielddata/<%=fields%>",req:{fields:{type:"list"}}},{fmt:"/_cat/fielddata"}]});api.cat.prototype.health=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},ts:{type:"boolean",default:true},v:{type:"boolean",default:false}},url:{fmt:"/_cat/health"}});api.cat.prototype.help=ca({params:{help:{type:"boolean",default:false},s:{type:"list"}},url:{fmt:"/_cat"}});api.cat.prototype.indices=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","m","g"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},health:{type:"enum",default:null,options:["green","yellow","red"]},help:{type:"boolean",default:false},pri:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/indices/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/indices"}]});api.cat.prototype.master=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/master"}});api.cat.prototype.nodeattrs=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodeattrs"}});api.cat.prototype.nodes=ca({params:{format:{type:"string"},fullId:{type:"boolean",name:"full_id"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodes"}});api.cat.prototype.pendingTasks=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/pending_tasks"}});api.cat.prototype.plugins=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/plugins"}});api.cat.prototype.recovery=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/recovery/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/recovery"}]});api.cat.prototype.repositories=ca({params:{format:{type:"string"},local:{type:"boolean",default:false},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/repositories"}});api.cat.prototype.segments=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/segments/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/segments"}]});api.cat.prototype.shards=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/shards/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/shards"}]});api.cat.prototype.snapshots=ca({params:{format:{type:"string"},ignoreUnavailable:{type:"boolean",default:false,name:"ignore_unavailable"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/snapshots/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_cat/snapshots"}]});api.cat.prototype.tasks=ca({params:{format:{type:"string"},nodeId:{type:"list",name:"node_id"},actions:{type:"list"},detailed:{type:"boolean"},parentTask:{type:"number",name:"parent_task"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/tasks"}});api.cat.prototype.templates=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/templates/<%=name%>",req:{name:{type:"string"}}},{fmt:"/_cat/templates"}]});api.cat.prototype.threadPool=ca({params:{format:{type:"string"},size:{type:"enum",options:["","k","m","g","t","p"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/thread_pool/<%=threadPoolPatterns%>",req:{threadPoolPatterns:{type:"list"}}},{fmt:"/_cat/thread_pool"}]});api.clearScroll=ca({urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"list"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"DELETE"});api.cluster=namespace();api.cluster.prototype.allocationExplain=ca({params:{includeYesDecisions:{type:"boolean",name:"include_yes_decisions"},includeDiskInfo:{type:"boolean",name:"include_disk_info"}},url:{fmt:"/_cluster/allocation/explain"},method:"POST"});api.cluster.prototype.getSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/_cluster/settings"}});api.cluster.prototype.health=ca({params:{level:{type:"enum",default:"cluster",options:["cluster","indices","shards"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForNodes:{type:"string",name:"wait_for_nodes"},waitForEvents:{type:"enum",options:["immediate","urgent","high","normal","low","languid"],name:"wait_for_events"},waitForNoRelocatingShards:{type:"boolean",name:"wait_for_no_relocating_shards"},waitForNoInitializingShards:{type:"boolean",name:"wait_for_no_initializing_shards"},waitForStatus:{type:"enum",default:null,options:["green","yellow","red"],name:"wait_for_status"}},urls:[{fmt:"/_cluster/health/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cluster/health"}]});api.cluster.prototype.pendingTasks=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_cluster/pending_tasks"}});api.cluster.prototype.putSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/settings"},needBody:true,method:"PUT"});api.cluster.prototype.remoteInfo=ca({url:{fmt:"/_remote/info"}});api.cluster.prototype.reroute=ca({params:{dryRun:{type:"boolean",name:"dry_run"},explain:{type:"boolean"},retryFailed:{type:"boolean",name:"retry_failed"},metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","master_node","version"]},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/reroute"},method:"POST"});api.cluster.prototype.state=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"},waitForMetadataVersion:{type:"number",name:"wait_for_metadata_version"},waitForTimeout:{type:"time",name:"wait_for_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/_cluster/state/<%=metric%>/<%=index%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]},index:{type:"list"}}},{fmt:"/_cluster/state/<%=metric%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]}}},{fmt:"/_cluster/state"}]});api.cluster.prototype.stats=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_cluster/stats/nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cluster/stats"}]});api.count=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},minScore:{type:"number",name:"min_score"},preference:{type:"string"},routing:{type:"list"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},terminateAfter:{type:"number",name:"terminate_after"}},urls:[{fmt:"/<%=index%>/<%=type%>/_count",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_count",req:{index:{type:"list"}}},{fmt:"/_count"}],method:"POST"});api.create=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},pipeline:{type:"string"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_create",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},needBody:true,method:"POST"});api["delete"]=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},ifSeqNo:{type:"number",name:"if_seq_no"},ifPrimaryTerm:{type:"number",name:"if_primary_term"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"DELETE"});api.deleteByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_delete_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_delete_by_query",req:{index:{type:"list"}}}],needBody:true,method:"POST"});api.deleteByQueryRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_delete_by_query/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.deleteScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.exists=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"HEAD"});api.existsSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"HEAD"});api.explain=ca({params:{analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},analyzer:{type:"string"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},storedFields:{type:"list",name:"stored_fields"},lenient:{type:"boolean"},parent:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_explain",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"POST"});api.fieldCaps=ca({params:{fields:{type:"list"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_field_caps",req:{index:{type:"list"}}},{fmt:"/_field_caps"}],method:"POST"});api.get=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}}});api.getScript=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}});api.getSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}}});api.index=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},opType:{type:"enum",default:"index",options:["index","create"],name:"op_type"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},ifSeqNo:{type:"number",name:"if_seq_no"},ifPrimaryTerm:{type:"number",name:"if_primary_term"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>",req:{index:{type:"string"},type:{type:"string"}}}],needBody:true,method:"POST"});api.indices=namespace();api.indices.prototype.analyze=ca({params:{index:{type:"string"}},urls:[{fmt:"/<%=index%>/_analyze",req:{index:{type:"string"}}},{fmt:"/_analyze"}],method:"POST"});api.indices.prototype.clearCache=ca({params:{fieldData:{type:"boolean",name:"field_data"},fielddata:{type:"boolean"},fields:{type:"list"},query:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},index:{type:"list"},requestCache:{type:"boolean",name:"request_cache"},request:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_cache/clear",req:{index:{type:"list"}}},{fmt:"/_cache/clear"}],method:"POST"});api.indices.prototype.close=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>/_close",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.create=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},updateAllTypes:{type:"boolean",name:"update_all_types"}},url:{fmt:"/<%=index%>",req:{index:{type:"string"}}},method:"PUT"});api.indices.prototype["delete"]=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteTemplate=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},method:"DELETE"});api.indices.prototype.exists=ca({params:{local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}}],method:"HEAD"});api.indices.prototype.existsTemplate=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsType=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},url:{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},method:"HEAD"});api.indices.prototype.flush=ca({params:{force:{type:"boolean"},waitIfOngoing:{type:"boolean",name:"wait_if_ongoing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush",req:{index:{type:"list"}}},{fmt:"/_flush"}],method:"POST"});api.indices.prototype.flushSynced=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush/synced",req:{index:{type:"list"}}},{fmt:"/_flush/synced"}],method:"POST"});api.indices.prototype.forcemerge=ca({params:{flush:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},maxNumSegments:{type:"number",name:"max_num_segments"},onlyExpungeDeletes:{type:"boolean",name:"only_expunge_deletes"}},urls:[{fmt:"/<%=index%>/_forcemerge",req:{index:{type:"list"}}},{fmt:"/_forcemerge"}],method:"POST"});api.indices.prototype.get=ca({params:{local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}}});api.indices.prototype.getAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}},{fmt:"/<%=index%>/_alias",req:{index:{type:"list"}}},{fmt:"/_alias"}]});api.indices.prototype.getFieldMapping=ca({params:{includeDefaults:{type:"boolean",name:"include_defaults"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>/field/<%=fields%>",req:{index:{type:"list"},type:{type:"list"},fields:{type:"list"}}},{fmt:"/<%=index%>/_mapping/field/<%=fields%>",req:{index:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/<%=type%>/field/<%=fields%>",req:{type:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/field/<%=fields%>",req:{fields:{type:"list"}}}]});api.indices.prototype.getMapping=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_mapping",req:{index:{type:"list"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"list"}}},{fmt:"/_mapping"}]});api.indices.prototype.getSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:["open","closed"],options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},local:{type:"boolean"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},urls:[{fmt:"/<%=index%>/_settings/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_settings"}]});api.indices.prototype.getTemplate=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_template"}]});api.indices.prototype.getUpgrade=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}]});api.indices.prototype.open=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"closed",options:["open","closed","none","all"],name:"expand_wildcards"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_open",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.putAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"string"}}},method:"PUT"});api.indices.prototype.putMapping=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},updateAllTypes:{type:"boolean",name:"update_all_types"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"string"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"string"}}}],needBody:true,method:"PUT"});api.indices.prototype.putSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},preserveExisting:{type:"boolean",name:"preserve_existing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"}},urls:[{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings"}],needBody:true,method:"PUT"});api.indices.prototype.putTemplate=ca({params:{order:{type:"number"},create:{type:"boolean",default:false},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},needBody:true,method:"PUT"});api.indices.prototype.recovery=ca({params:{detailed:{type:"boolean",default:false},activeOnly:{type:"boolean",default:false,name:"active_only"}},urls:[{fmt:"/<%=index%>/_recovery",req:{index:{type:"list"}}},{fmt:"/_recovery"}]});api.indices.prototype.refresh=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_refresh",req:{index:{type:"list"}}},{fmt:"/_refresh"}],method:"POST"});api.indices.prototype.rollover=ca({params:{timeout:{type:"time"},dryRun:{type:"boolean",name:"dry_run"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},urls:[{fmt:"/<%=alias%>/_rollover/<%=newIndex%>",req:{alias:{type:"string"},newIndex:{type:"string"}}},{fmt:"/<%=alias%>/_rollover",req:{alias:{type:"string"}}}],method:"POST"});api.indices.prototype.segments=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},verbose:{type:"boolean",default:false}},urls:[{fmt:"/<%=index%>/_segments",req:{index:{type:"list"}}},{fmt:"/_segments"}]});api.indices.prototype.shardStores=ca({params:{status:{type:"list",options:["green","yellow","red","all"]},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_shard_stores",req:{index:{type:"list"}}},{fmt:"/_shard_stores"}]});api.indices.prototype.shrink=ca({params:{copySettings:{type:"boolean",name:"copy_settings"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_shrink/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.split=ca({params:{copySettings:{type:"boolean",name:"copy_settings"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_split/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"list"},level:{type:"enum",default:"indices",options:["cluster","indices","shards"]},types:{type:"list"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/<%=index%>/_stats/<%=metric%>",req:{index:{type:"list"},metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_stats/<%=metric%>",req:{metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/<%=index%>/_stats",req:{index:{type:"list"}}},{fmt:"/_stats"}]});api.indices.prototype.updateAliases=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_aliases"},needBody:true,method:"POST"});api.indices.prototype.upgrade=ca({params:{allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},onlyAncientSegments:{type:"boolean",name:"only_ancient_segments"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}],method:"POST"});api.indices.prototype.validateQuery=ca({params:{explain:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},rewrite:{type:"boolean"},allShards:{type:"boolean",name:"all_shards"}},urls:[{fmt:"/<%=index%>/<%=type%>/_validate/query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_validate/query",req:{index:{type:"list"}}},{fmt:"/_validate/query"}],method:"POST"});api.info=ca({url:{fmt:"/"}});api.ingest=namespace();api.ingest.prototype.deletePipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.ingest.prototype.getPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},urls:[{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline"}]});api.ingest.prototype.processorGrok=ca({url:{fmt:"/_ingest/processor/grok"}});api.ingest.prototype.putPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},needBody:true,method:"PUT"});api.ingest.prototype.simulate=ca({params:{verbose:{type:"boolean",default:false}},urls:[{fmt:"/_ingest/pipeline/<%=id%>/_simulate",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline/_simulate"}],needBody:true,method:"POST"});api.mget=ca({params:{storedFields:{type:"list",name:"stored_fields"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mget",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mget",req:{index:{type:"string"}}},{fmt:"/_mget"}],needBody:true,method:"POST"});api.msearch=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"},typedKeys:{type:"boolean",name:"typed_keys"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"},maxConcurrentShardRequests:{type:"number",default:"The default grows with the number of nodes in the cluster but is at most 256.",name:"max_concurrent_shard_requests"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch",req:{index:{type:"list"}}},{fmt:"/_msearch"}],needBody:true,bulkBody:true,method:"POST"});api.msearchTemplate=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},typedKeys:{type:"boolean",name:"typed_keys"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch/template",req:{index:{type:"list"}}},{fmt:"/_msearch/template"}],needBody:true,bulkBody:true,method:"POST"});api.mtermvectors=ca({params:{ids:{type:"list",required:false},termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mtermvectors",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mtermvectors",req:{index:{type:"string"}}},{fmt:"/_mtermvectors"}],method:"POST"});api.nodes=namespace();api.nodes.prototype.hotThreads=ca({params:{interval:{type:"time"},snapshots:{type:"number"},threads:{type:"number"},ignoreIdleThreads:{type:"boolean",name:"ignore_idle_threads"},type:{type:"enum",options:["cpu","wait","block"]},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/hotthreads",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/hotthreads"}]});api.nodes.prototype.info=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/<%=metric%>",req:{metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes"}]});api.nodes.prototype.reloadSecureSettings=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/reload_secure_settings",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/reload_secure_settings"}],method:"POST"});api.nodes.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"boolean"},level:{type:"enum",default:"node",options:["indices","node","shards"]},types:{type:"list"},timeout:{type:"time"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>/<%=indexMetric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats/<%=metric%>/<%=indexMetric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/stats/<%=metric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats"}]});api.nodes.prototype.usage=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/usage/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/<%=nodeId%>/usage",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/usage/<%=metric%>",req:{metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/usage"}]});api.ping=ca({url:{fmt:"/"},requestTimeout:3e3,method:"HEAD"});api.putScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},context:{type:"string"}},urls:[{fmt:"/_scripts/<%=id%>/<%=context%>",req:{id:{type:"string"},context:{type:"string"}}},{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}],needBody:true,method:"PUT"});api.rankEval=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_rank_eval",req:{index:{type:"list"}}},{fmt:"/_rank_eval"}],needBody:true,method:"POST"});api.reindex=ca({params:{refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},url:{fmt:"/_reindex"},needBody:true,method:"POST"});api.reindexRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_reindex/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.renderSearchTemplate=ca({urls:[{fmt:"/_render/template/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_render/template"}],method:"POST"});api.scriptsPainlessExecute=ca({url:{fmt:"/_scripts/painless/_execute"},method:"POST"});api.scroll=ca({params:{scroll:{type:"time"},scrollId:{type:"string",name:"scroll_id"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"string"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"POST"});api.search=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},explain:{type:"boolean"},storedFields:{type:"list",name:"stored_fields"},docvalueFields:{type:"list",name:"docvalue_fields"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},suggestField:{type:"string",name:"suggest_field"},suggestMode:{type:"enum",default:"missing",options:["missing","popular","always"],name:"suggest_mode"},suggestSize:{type:"number",name:"suggest_size"},suggestText:{type:"string",name:"suggest_text"},timeout:{type:"time"},trackScores:{type:"boolean",name:"track_scores"},trackTotalHits:{type:"boolean",name:"track_total_hits"},allowPartialSearchResults:{type:"boolean",default:true,name:"allow_partial_search_results"},typedKeys:{type:"boolean",name:"typed_keys"},version:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},batchedReduceSize:{type:"number",default:512,name:"batched_reduce_size"},maxConcurrentShardRequests:{type:"number",default:"The default grows with the number of nodes in the cluster but is at most 256.",name:"max_concurrent_shard_requests"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search",req:{index:{type:"list"}}},{fmt:"/_search"}],method:"POST"});api.searchShards=ca({params:{preference:{type:"string"},routing:{type:"string"},local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_search_shards",req:{index:{type:"list"}}},{fmt:"/_search_shards"}],method:"POST"});api.searchTemplate=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},preference:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},explain:{type:"boolean"},profile:{type:"boolean"},typedKeys:{type:"boolean",name:"typed_keys"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search/template",req:{index:{type:"list"}}},{fmt:"/_search/template"}],needBody:true,method:"POST"});api.snapshot=namespace();api.snapshot.prototype.create=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.createRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},verify:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"string"}}},needBody:true,method:"POST"});api.snapshot.prototype["delete"]=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"DELETE"});api.snapshot.prototype.deleteRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},method:"DELETE"});api.snapshot.prototype.get=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},verbose:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"list"}}}});api.snapshot.prototype.getRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_snapshot"}]});api.snapshot.prototype.restore=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_restore",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.status=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"}},urls:[{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_status",req:{repository:{type:"string"},snapshot:{type:"list"}}},{fmt:"/_snapshot/<%=repository%>/_status",req:{repository:{type:"string"}}},{fmt:"/_snapshot/_status"}]});api.snapshot.prototype.verifyRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>/_verify",req:{repository:{type:"string"}}},method:"POST"});api.tasks=namespace();api.tasks.prototype.cancel=ca({params:{nodes:{type:"list"},actions:{type:"list"},parentTaskId:{type:"string",name:"parent_task_id"}},urls:[{fmt:"/_tasks/<%=taskId%>/_cancel",req:{taskId:{type:"string"}}},{fmt:"/_tasks/_cancel"}],method:"POST"});api.tasks.prototype.get=ca({params:{waitForCompletion:{type:"boolean",name:"wait_for_completion"},timeout:{type:"time"}},url:{fmt:"/_tasks/<%=taskId%>",req:{taskId:{type:"string"}}}});api.tasks.prototype.list=ca({params:{nodes:{type:"list"},actions:{type:"list"},detailed:{type:"boolean"},parentTaskId:{type:"string",name:"parent_task_id"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},groupBy:{type:"enum",default:"nodes",options:["nodes","parents","none"],name:"group_by"},timeout:{type:"time"}},url:{fmt:"/_tasks"}});api.termvectors=ca({params:{termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_termvectors",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>/_termvectors",req:{index:{type:"string"},type:{type:"string"}}}],method:"POST"});api.update=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},fields:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},lang:{type:"string"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},retryOnConflict:{type:"number",name:"retry_on_conflict"},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_update",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},needBody:true,method:"POST"});api.updateByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},pipeline:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},versionType:{type:"boolean",name:"version_type"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_update_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_update_by_query",req:{index:{type:"list"}}}],method:"POST"});api.updateByQueryRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_update_by_query/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"})},function(module,exports,__webpack_require__){(function(process){var AngularConnector=__webpack_require__(10);var Client=__webpack_require__(19);process.angular_build=true;angular.module("elasticsearch",[]).factory("esFactory",["$injector","$q",function($injector,$q){var factory=function factory(config){config=config||{};config.connectionClass=AngularConnector;config.$injector=$injector;config.defer=function(){return $q.defer()};config.serializer=config.serializer||"angular";return new Client(config)};factory.errors=__webpack_require__(4);factory.ConnectionPool=__webpack_require__(9);factory.Transport=__webpack_require__(8);return factory}])}).call(exports,__webpack_require__(3))},function(module,exports,__webpack_require__){"use strict";exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[];var revLookup=[];var Arr="undefined"!==typeof Uint8Array?Uint8Array:Array;var code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i}revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len=b64.length;if(len%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");-1===validLen&&(validLen=len);var placeHoldersLen=validLen===len?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];return 3*(validLen+placeHoldersLen)/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return 3*(validLen+placeHoldersLen)/4-placeHoldersLen}function toByteArray(b64){var tmp;var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];var arr=new Arr(_byteLength(b64,validLen,placeHoldersLen));var curByte=0;var len=placeHoldersLen>0?validLen-4:validLen;for(var i=0;i<len;i+=4){tmp=revLookup[b64.charCodeAt(i)]<<18|revLookup[b64.charCodeAt(i+1)]<<12|revLookup[b64.charCodeAt(i+2)]<<6|revLookup[b64.charCodeAt(i+3)];arr[curByte++]=tmp>>16&255;arr[curByte++]=tmp>>8&255;arr[curByte++]=255&tmp}if(2===placeHoldersLen){tmp=revLookup[b64.charCodeAt(i)]<<2|revLookup[b64.charCodeAt(i+1)]>>4;arr[curByte++]=255&tmp}if(1===placeHoldersLen){tmp=revLookup[b64.charCodeAt(i)]<<10|revLookup[b64.charCodeAt(i+1)]<<4|revLookup[b64.charCodeAt(i+2)]>>2;arr[curByte++]=tmp>>8&255;arr[curByte++]=255&tmp}return arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[63&num]}function encodeChunk(uint8,start,end){var tmp;var output=[];for(var i=start;i<end;i+=3){tmp=(uint8[i]<<16&16711680)+(uint8[i+1]<<8&65280)+(255&uint8[i+2]);output.push(tripletToBase64(tmp))}return output.join("")}function fromByteArray(uint8){var tmp;var len=uint8.length;var extraBytes=len%3;var parts=[];var maxChunkLength=16383;for(var i=0,len2=len-extraBytes;i<len2;i+=maxChunkLength)parts.push(encodeChunk(uint8,i,i+maxChunkLength>len2?len2:i+maxChunkLength));if(1===extraBytes){tmp=uint8[len-1];parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")}else if(2===extraBytes){tmp=(uint8[len-2]<<8)+uint8[len-1];parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")}return parts.join("")}},function(module,exports){exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m;var eLen=8*nBytes-mLen-1;var eMax=(1<<eLen)-1;var eBias=eMax>>1;var nBits=-7;var i=isLE?nBytes-1:0;var d=isLE?-1:1;var s=buffer[offset+i];i+=d;e=s&(1<<-nBits)-1;s>>=-nBits;nBits+=eLen;for(;nBits>0;e=256*e+buffer[offset+i],i+=d,nBits-=8);m=e&(1<<-nBits)-1;e>>=-nBits;nBits+=mLen;for(;nBits>0;m=256*m+buffer[offset+i],i+=d,nBits-=8);if(0===e)e=1-eBias;else{if(e===eMax)return m?NaN:Infinity*(s?-1:1);m+=Math.pow(2,mLen);e-=eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c;var eLen=8*nBytes-mLen-1;var eMax=(1<<eLen)-1;var eBias=eMax>>1;var rt=23===mLen?Math.pow(2,-24)-Math.pow(2,-77):0;var i=isLE?0:nBytes-1;var d=isLE?1:-1;var s=value<0||0===value&&1/value<0?1:0;value=Math.abs(value);if(isNaN(value)||Infinity===value){m=isNaN(value)?1:0;e=eMax}else{e=Math.floor(Math.log(value)/Math.LN2);if(value*(c=Math.pow(2,-e))<1){e--;c*=2}value+=e+eBias>=1?rt/c:rt*Math.pow(2,1-eBias);if(value*c>=2){e++;c/=2}if(e+eBias>=eMax){m=0;e=eMax}else if(e+eBias>=1){m=(value*c-1)*Math.pow(2,mLen);e+=eBias}else{m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen);e=0}}for(;mLen>=8;buffer[offset+i]=255&m,i+=d,m/=256,mLen-=8);e=e<<mLen|m;eLen+=mLen;for(;eLen>0;buffer[offset+i]=255&e,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=128*s}},function(module,exports){var toString={}.toString;module.exports=Array.isArray||function(arr){return"[object Array]"==toString.call(arr)}},function(module,exports,__webpack_require__){(function(global,process){var formatRegExp=/%[sdj%]/g;exports.format=function(f){if(!isString(f)){var objects=[];for(var i=0;i<arguments.length;i++)objects.push(inspect(arguments[i]));return objects.join(" ")}i=1;var args=arguments;var len=args.length;var str=String(f).replace(formatRegExp,function(x){if("%%"===x)return"%";if(i>=len)return x;switch(x){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}default:return x}});for(var x=args[i];i<len;x=args[++i])isNull(x)||!isObject(x)?str+=" "+x:str+=" "+inspect(x);return str};exports.deprecate=function(fn,msg){if(isUndefined(global.process))return function(){return exports.deprecate(fn,msg).apply(this,arguments)};if(true===process.noDeprecation)return fn;var warned=false;function deprecated(){if(!warned){if(process.throwDeprecation)throw new Error(msg);process.traceDeprecation?console.trace(msg):console.error(msg);warned=true}return fn.apply(this,arguments)}return deprecated};var debugs={};var debugEnviron;exports.debuglog=function(set){isUndefined(debugEnviron)&&(debugEnviron=process.env.NODE_DEBUG||"");set=set.toUpperCase();if(!debugs[set])if(new RegExp("\\b"+set+"\\b","i").test(debugEnviron)){var pid=process.pid;debugs[set]=function(){var msg=exports.format.apply(exports,arguments);console.error("%s %d: %s",set,pid,msg)}}else debugs[set]=function(){};return debugs[set]};function inspect(obj,opts){var ctx={seen:[],stylize:stylizeNoColor};arguments.length>=3&&(ctx.depth=arguments[2]);arguments.length>=4&&(ctx.colors=arguments[3]);isBoolean(opts)?ctx.showHidden=opts:opts&&exports._extend(ctx,opts);isUndefined(ctx.showHidden)&&(ctx.showHidden=false);isUndefined(ctx.depth)&&(ctx.depth=2);isUndefined(ctx.colors)&&(ctx.colors=false);isUndefined(ctx.customInspect)&&(ctx.customInspect=true);ctx.colors&&(ctx.stylize=stylizeWithColor);return formatValue(ctx,obj,ctx.depth)}exports.inspect=inspect;inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];return style?"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m":str}function stylizeNoColor(str,styleType){return str}function arrayToHash(array){var hash={};array.forEach(function(val,idx){hash[val]=true});return hash}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&!(value.constructor&&value.constructor.prototype===value)){var ret=value.inspect(recurseTimes,ctx);isString(ret)||(ret=formatValue(ctx,ret,recurseTimes));return ret}var primitive=formatPrimitive(ctx,value);if(primitive)return primitive;var keys=Object.keys(value);var visibleKeys=arrayToHash(keys);ctx.showHidden&&(keys=Object.getOwnPropertyNames(value));if(isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0))return formatError(value);if(0===keys.length){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value))return ctx.stylize(RegExp.prototype.toString.call(value),"regexp");if(isDate(value))return ctx.stylize(Date.prototype.toString.call(value),"date");if(isError(value))return formatError(value)}var base="",array=false,braces=["{","}"];if(isArray(value)){array=true;braces=["[","]"]}if(isFunction(value)){var n=value.name?": "+value.name:"";base=" [Function"+n+"]"}isRegExp(value)&&(base=" "+RegExp.prototype.toString.call(value));isDate(value)&&(base=" "+Date.prototype.toUTCString.call(value));isError(value)&&(base=" "+formatError(value));if(0===keys.length&&(!array||0==value.length))return braces[0]+base+braces[1];if(recurseTimes<0)return isRegExp(value)?ctx.stylize(RegExp.prototype.toString.call(value),"regexp"):ctx.stylize("[Object]","special");ctx.seen.push(value);var output;output=array?formatArray(ctx,value,recurseTimes,visibleKeys,keys):keys.map(function(key){return formatProperty(ctx,value,recurseTimes,visibleKeys,key,array)});ctx.seen.pop();return reduceToSingleString(output,base,braces)}function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ctx.stylize(simple,"string")}if(isNumber(value))return ctx.stylize(""+value,"number");if(isBoolean(value))return ctx.stylize(""+value,"boolean");if(isNull(value))return ctx.stylize("null","null")}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatArray(ctx,value,recurseTimes,visibleKeys,keys){var output=[];for(var i=0,l=value.length;i<l;++i)hasOwnProperty(value,String(i))?output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,String(i),true)):output.push("");keys.forEach(function(key){key.match(/^\d+$/)||output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,key,true))});return output}function formatProperty(ctx,value,recurseTimes,visibleKeys,key,array){var name,str,desc;desc=Object.getOwnPropertyDescriptor(value,key)||{value:value[key]};desc.get?str=desc.set?ctx.stylize("[Getter/Setter]","special"):ctx.stylize("[Getter]","special"):desc.set&&(str=ctx.stylize("[Setter]","special"));hasOwnProperty(visibleKeys,key)||(name="["+key+"]");if(!str)if(ctx.seen.indexOf(desc.value)<0){str=isNull(recurseTimes)?formatValue(ctx,desc.value,null):formatValue(ctx,desc.value,recurseTimes-1);str.indexOf("\n")>-1&&(str=array?str.split("\n").map(function(line){return"  "+line}).join("\n").substr(2):"\n"+str.split("\n").map(function(line){return"   "+line}).join("\n"))}else str=ctx.stylize("[Circular]","special");if(isUndefined(name)){if(array&&key.match(/^\d+$/))return str;name=JSON.stringify(""+key);if(name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)){name=name.substr(1,name.length-2);name=ctx.stylize(name,"name")}else{name=name.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'");name=ctx.stylize(name,"string")}}return name+": "+str}function reduceToSingleString(output,base,braces){var numLinesEst=0;var length=output.reduce(function(prev,cur){numLinesEst++;cur.indexOf("\n")>=0&&numLinesEst++;return prev+cur.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(length>60)return braces[0]+(""===base?"":base+"\n ")+" "+output.join(",\n  ")+" "+braces[1];return braces[0]+base+" "+output.join(", ")+" "+braces[1]}function isArray(ar){return Array.isArray(ar)}exports.isArray=isArray;function isBoolean(arg){return"boolean"===typeof arg}exports.isBoolean=isBoolean;function isNull(arg){return null===arg}exports.isNull=isNull;function isNullOrUndefined(arg){return null==arg}exports.isNullOrUndefined=isNullOrUndefined;function isNumber(arg){return"number"===typeof arg}exports.isNumber=isNumber;function isString(arg){return"string"===typeof arg}exports.isString=isString;function isSymbol(arg){return"symbol"===typeof arg}exports.isSymbol=isSymbol;function isUndefined(arg){return void 0===arg}exports.isUndefined=isUndefined;function isRegExp(re){return isObject(re)&&"[object RegExp]"===objectToString(re)}exports.isRegExp=isRegExp;function isObject(arg){return"object"===typeof arg&&null!==arg}exports.isObject=isObject;function isDate(d){return isObject(d)&&"[object Date]"===objectToString(d)}exports.isDate=isDate;function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}exports.isError=isError;function isFunction(arg){return"function"===typeof arg}exports.isFunction=isFunction;function isPrimitive(arg){return null===arg||"boolean"===typeof arg||"number"===typeof arg||"string"===typeof arg||"symbol"===typeof arg||"undefined"===typeof arg}exports.isPrimitive=isPrimitive;exports.isBuffer=__webpack_require__(32);function objectToString(o){return Object.prototype.toString.call(o)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function timestamp(){var d=new Date;var time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(":");return[d.getDate(),months[d.getMonth()],time].join(" ")}exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))};exports.inherits=__webpack_require__(33);exports._extend=function(origin,add){if(!add||!isObject(add))return origin;var keys=Object.keys(add);var i=keys.length;while(i--)origin[keys[i]]=add[keys[i]];return origin};function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}}).call(exports,__webpack_require__(5),__webpack_require__(3))},function(module,exports){module.exports=function isBuffer(arg){return arg&&"object"===typeof arg&&"function"===typeof arg.copy&&"function"===typeof arg.fill&&"function"===typeof arg.readUInt8}},function(module,exports){"function"===typeof Object.create?module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:false,writable:true,configurable:true}})}:module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype;ctor.prototype=new TempCtor;ctor.prototype.constructor=ctor}},function(module,exports,__webpack_require__){(function(module,global){var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(root){"object"==typeof exports&&exports&&exports.nodeType;"object"==typeof module&&module&&module.nodeType;var freeGlobal="object"==typeof global&&global;freeGlobal.global!==freeGlobal&&freeGlobal.window!==freeGlobal&&freeGlobal.self!==freeGlobal||freeGlobal;var punycode,maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexPunycode=/^xn--/,regexNonASCII=/[^\x20-\x7E]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode;function error(type){throw new RangeError(errors[type])}function map(array,fn){var length=array.length;var result=[];while(length--)result[length]=fn(array[length]);return result}function mapDomain(string,fn){var parts=string.split("@");var result="";if(parts.length>1){result=parts[0]+"@";string=parts[1]}string=string.replace(regexSeparators,".");var labels=string.split(".");var encoded=map(labels,fn).join(".");return result+encoded}function ucs2decode(string){var value,extra,output=[],counter=0,length=string.length;while(counter<length){value=string.charCodeAt(counter++);if(value>=55296&&value<=56319&&counter<length){extra=string.charCodeAt(counter++);if(56320==(64512&extra))output.push(((1023&value)<<10)+(1023&extra)+65536);else{output.push(value);counter--}}else output.push(value)}return output}function ucs2encode(array){return map(array,function(value){var output="";if(value>65535){value-=65536;output+=stringFromCharCode(value>>>10&1023|55296);value=56320|1023&value}output+=stringFromCharCode(value);return output}).join("")}function basicToDigit(codePoint){if(codePoint-48<10)return codePoint-22;if(codePoint-65<26)return codePoint-65;if(codePoint-97<26)return codePoint-97;return base}function digitToBasic(digit,flag){return digit+22+75*(digit<26)-((0!=flag)<<5)}function adapt(delta,numPoints,firstTime){var k=0;delta=firstTime?floor(delta/damp):delta>>1;delta+=floor(delta/numPoints);for(;delta>baseMinusTMin*tMax>>1;k+=base)delta=floor(delta/baseMinusTMin);return floor(k+(baseMinusTMin+1)*delta/(delta+skew))}function decode(input){var out,basic,j,index,oldi,w,k,digit,t,baseMinusT,output=[],inputLength=input.length,i=0,n=initialN,bias=initialBias;basic=input.lastIndexOf(delimiter);basic<0&&(basic=0);for(j=0;j<basic;++j){input.charCodeAt(j)>=128&&error("not-basic");output.push(input.charCodeAt(j))}for(index=basic>0?basic+1:0;index<inputLength;){for(oldi=i,w=1,k=base;;k+=base){index>=inputLength&&error("invalid-input");digit=basicToDigit(input.charCodeAt(index++));(digit>=base||digit>floor((maxInt-i)/w))&&error("overflow");i+=digit*w;t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(digit<t)break;baseMinusT=base-t;w>floor(maxInt/baseMinusT)&&error("overflow");w*=baseMinusT}out=output.length+1;bias=adapt(i-oldi,out,0==oldi);floor(i/out)>maxInt-n&&error("overflow");n+=floor(i/out);i%=out;output.splice(i++,0,n)}return ucs2encode(output)}function encode(input){var n,delta,handledCPCount,basicLength,bias,j,m,q,k,t,currentValue,inputLength,handledCPCountPlusOne,baseMinusT,qMinusT,output=[];input=ucs2decode(input);inputLength=input.length;n=initialN;delta=0;bias=initialBias;for(j=0;j<inputLength;++j){currentValue=input[j];currentValue<128&&output.push(stringFromCharCode(currentValue))}handledCPCount=basicLength=output.length;basicLength&&output.push(delimiter);while(handledCPCount<inputLength){for(m=maxInt,j=0;j<inputLength;++j){currentValue=input[j];currentValue>=n&&currentValue<m&&(m=currentValue)}handledCPCountPlusOne=handledCPCount+1;m-n>floor((maxInt-delta)/handledCPCountPlusOne)&&error("overflow");delta+=(m-n)*handledCPCountPlusOne;n=m;for(j=0;j<inputLength;++j){currentValue=input[j];currentValue<n&&++delta>maxInt&&error("overflow");if(currentValue==n){for(q=delta,k=base;;k+=base){t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(q<t)break;qMinusT=q-t;baseMinusT=base-t;output.push(stringFromCharCode(digitToBasic(t+qMinusT%baseMinusT,0)));q=floor(qMinusT/baseMinusT)}output.push(stringFromCharCode(digitToBasic(q,0)));bias=adapt(delta,handledCPCountPlusOne,handledCPCount==basicLength);delta=0;++handledCPCount}}++delta;++n}return output.join("")}function toUnicode(input){return mapDomain(input,function(string){return regexPunycode.test(string)?decode(string.slice(4).toLowerCase()):string})}function toASCII(input){return mapDomain(input,function(string){return regexNonASCII.test(string)?"xn--"+encode(string):string})}punycode={version:"1.4.1",ucs2:{decode:ucs2decode,encode:ucs2encode},decode:decode,encode:encode,toASCII:toASCII,toUnicode:toUnicode};true;!(__WEBPACK_AMD_DEFINE_RESULT__=function(){return punycode}.call(exports,__webpack_require__,exports,module),void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})()}).call(exports,__webpack_require__(12)(module),__webpack_require__(5))},function(module,exports,__webpack_require__){"use strict";module.exports={isString:function(arg){return"string"===typeof arg},isObject:function(arg){return"object"===typeof arg&&null!==arg},isNull:function(arg){return null===arg},isNullOrUndefined:function(arg){return null==arg}}},function(module,exports,__webpack_require__){"use strict";function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}module.exports=function(qs,sep,eq,options){sep=sep||"&";eq=eq||"=";var obj={};if("string"!==typeof qs||0===qs.length)return obj;var regexp=/\+/g;qs=qs.split(sep);var maxKeys=1e3;options&&"number"===typeof options.maxKeys&&(maxKeys=options.maxKeys);var len=qs.length;maxKeys>0&&len>maxKeys&&(len=maxKeys);for(var i=0;i<len;++i){var kstr,vstr,k,v,x=qs[i].replace(regexp,"%20"),idx=x.indexOf(eq);if(idx>=0){kstr=x.substr(0,idx);vstr=x.substr(idx+1)}else{kstr=x;vstr=""}k=decodeURIComponent(kstr);v=decodeURIComponent(vstr);hasOwnProperty(obj,k)?isArray(obj[k])?obj[k].push(v):obj[k]=[obj[k],v]:obj[k]=v}return obj};var isArray=Array.isArray||function(xs){return"[object Array]"===Object.prototype.toString.call(xs)}},function(module,exports,__webpack_require__){"use strict";var stringifyPrimitive=function(v){switch(typeof v){case"string":return v;case"boolean":return v?"true":"false";case"number":return isFinite(v)?v:"";default:return""}};module.exports=function(obj,sep,eq,name){sep=sep||"&";eq=eq||"=";null===obj&&(obj=void 0);if("object"===typeof obj)return map(objectKeys(obj),function(k){var ks=encodeURIComponent(stringifyPrimitive(k))+eq;return isArray(obj[k])?map(obj[k],function(v){return ks+encodeURIComponent(stringifyPrimitive(v))}).join(sep):ks+encodeURIComponent(stringifyPrimitive(obj[k]))}).join(sep);if(!name)return"";return encodeURIComponent(stringifyPrimitive(name))+eq+encodeURIComponent(stringifyPrimitive(obj))};var isArray=Array.isArray||function(xs){return"[object Array]"===Object.prototype.toString.call(xs)};function map(xs,f){if(xs.map)return xs.map(f);var res=[];for(var i=0;i<xs.length;i++)res.push(f(xs[i],i));return res}var objectKeys=Object.keys||function(obj){var res=[];for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&res.push(key);return res}},function(module,exports,__webpack_require__){module.exports=Console;var LoggerAbstract=__webpack_require__(18);var _=__webpack_require__(0);var utils=__webpack_require__(2);function Console(log,config){LoggerAbstract.call(this,log,config);this.color=!_.has(config,"color")||!!config.color}utils.inherits(Console,LoggerAbstract);Console.prototype.setupListeners=function(levels){LoggerAbstract.prototype.setupListeners.call(this,levels)};Console.prototype.write=function(label,message,to){console[to]&&console[to](this.format(label,message))};Console.prototype.onError=utils.handler(function(e){var to=console.error?"error":"log";this.write("Error"===e.name?"ERROR":e.name,e.stack||e.message,to)});Console.prototype.onWarning=utils.handler(function(msg){this.write("WARNING",msg,console.warn?"warn":"log")});Console.prototype.onInfo=utils.handler(function(msg){this.write("INFO",msg,console.info?"info":"log")});Console.prototype.onDebug=utils.handler(function(msg){this.write("DEBUG",msg,console.debug?"debug":"log")});Console.prototype.onTrace=utils.handler(function(msg){this.write("TRACE",this._formatTraceMessage(msg),"log")})},function(module,exports,__webpack_require__){var utils=__webpack_require__(2);module.exports=function setupSniffOnConnectionFault(transport){var failures=0;var pool=transport.connectionPool;var originalOnDied=pool._onConnectionDied;var work=function work(){work.timerId=transport._timeout(work.timerId);transport.sniff()};var countdownTo=function countdownTo(ms){var start=utils.now();return function(){return start-ms}};pool._onConnectionDied=function(connection,wasAlreadyDead){var ret=originalOnDied.call(pool,connection,wasAlreadyDead);failures=work.timerId?failures+1:0;var ms=pool.calcDeadTimeout(failures,1e3);work.timerId&&ms<work.timerId&&work.countdown()&&(work.timerId=transport._timeout(work.timerId));if(!work.timerId){work.timerId=transport._timeout(work,ms);work.countdown=countdownTo(ms)}return ret};pool._onConnectionDied.restore=function(){pool._onConnectionDied=originalOnDied}}},function(module,exports,__webpack_require__){var _=__webpack_require__(0);module.exports=function(hosts){if(_.isEmpty(hosts))return false;var commonProtocol=hosts.shift().protocol;for(var i=0;i<hosts.length;i++)if(commonProtocol!==hosts[i].protocol)return false;return commonProtocol}},function(module,exports){module.exports=function RandomSelector(connections){return connections[Math.floor(Math.random()*connections.length)]}},function(module,exports){module.exports=function(connections){var connection=connections[0];connections.push(connections.shift());return connection}},function(module,exports){},function(module,exports){},function(module,exports,__webpack_require__){function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}var utils=__webpack_require__(2);var JsonSerializer=__webpack_require__(23);function AngularSerializer(){}utils.inherits(AngularSerializer,JsonSerializer);AngularSerializer.prototype.encode=function(val){switch(_typeof(val)){case"string":return val;case"object":if(val)return angular.toJson(val);default:return}};module.exports=AngularSerializer},function(module,exports,__webpack_require__){var ca=__webpack_require__(1).makeFactoryWithModifier(function(spec){return __webpack_require__(0).merge(spec,{params:{filterPath:{type:"list",name:"filter_path"}}})});var namespace=__webpack_require__(1).namespaceFactory;var api=module.exports={};api._namespaces=["cat","cluster","indices","ingest","nodes","snapshot","tasks"];api.bulk=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},type:{type:"string"},fields:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/_bulk",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_bulk",req:{index:{type:"string"}}},{fmt:"/_bulk"}],needBody:true,bulkBody:true,method:"POST"});api.cat=namespace();api.cat.prototype.aliases=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/aliases/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_cat/aliases"}]});api.cat.prototype.allocation=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/allocation/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cat/allocation"}]});api.cat.prototype.count=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/count/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/count"}]});api.cat.prototype.fielddata=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false},fields:{type:"list"}},urls:[{fmt:"/_cat/fielddata/<%=fields%>",req:{fields:{type:"list"}}},{fmt:"/_cat/fielddata"}]});api.cat.prototype.health=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},ts:{type:"boolean",default:true},v:{type:"boolean",default:false}},url:{fmt:"/_cat/health"}});api.cat.prototype.help=ca({params:{help:{type:"boolean",default:false},s:{type:"list"}},url:{fmt:"/_cat"}});api.cat.prototype.indices=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","m","g"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},health:{type:"enum",default:null,options:["green","yellow","red"]},help:{type:"boolean",default:false},pri:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/indices/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/indices"}]});api.cat.prototype.master=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/master"}});api.cat.prototype.nodeattrs=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodeattrs"}});api.cat.prototype.nodes=ca({params:{format:{type:"string"},fullId:{type:"boolean",name:"full_id"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodes"}});api.cat.prototype.pendingTasks=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/pending_tasks"}});api.cat.prototype.plugins=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/plugins"}});api.cat.prototype.recovery=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/recovery/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/recovery"}]});api.cat.prototype.repositories=ca({params:{format:{type:"string"},local:{type:"boolean",default:false},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/repositories"}});api.cat.prototype.segments=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/segments/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/segments"}]});api.cat.prototype.shards=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/shards/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/shards"}]});api.cat.prototype.snapshots=ca({params:{format:{type:"string"},ignoreUnavailable:{type:"boolean",default:false,name:"ignore_unavailable"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/snapshots/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_cat/snapshots"}]});api.cat.prototype.tasks=ca({params:{format:{type:"string"},nodeId:{type:"list",name:"node_id"},actions:{type:"list"},detailed:{type:"boolean"},parentTask:{type:"number",name:"parent_task"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/tasks"}});api.cat.prototype.templates=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/templates/<%=name%>",req:{name:{type:"string"}}},{fmt:"/_cat/templates"}]});api.cat.prototype.threadPool=ca({params:{format:{type:"string"},size:{type:"enum",options:["","k","m","g","t","p"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/thread_pool/<%=threadPoolPatterns%>",req:{threadPoolPatterns:{type:"list"}}},{fmt:"/_cat/thread_pool"}]});api.clearScroll=ca({urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"list"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"DELETE"});api.cluster=namespace();api.cluster.prototype.allocationExplain=ca({params:{includeYesDecisions:{type:"boolean",name:"include_yes_decisions"},includeDiskInfo:{type:"boolean",name:"include_disk_info"}},url:{fmt:"/_cluster/allocation/explain"},method:"POST"});api.cluster.prototype.getSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/_cluster/settings"}});api.cluster.prototype.health=ca({params:{level:{type:"enum",default:"cluster",options:["cluster","indices","shards"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForNodes:{type:"string",name:"wait_for_nodes"},waitForEvents:{type:"enum",options:["immediate","urgent","high","normal","low","languid"],name:"wait_for_events"},waitForNoRelocatingShards:{type:"boolean",name:"wait_for_no_relocating_shards"},waitForNoInitializingShards:{type:"boolean",name:"wait_for_no_initializing_shards"},waitForStatus:{type:"enum",default:null,options:["green","yellow","red"],name:"wait_for_status"}},urls:[{fmt:"/_cluster/health/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cluster/health"}]});api.cluster.prototype.pendingTasks=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_cluster/pending_tasks"}});api.cluster.prototype.putSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/settings"},needBody:true,method:"PUT"});api.cluster.prototype.remoteInfo=ca({url:{fmt:"/_remote/info"}});api.cluster.prototype.reroute=ca({params:{dryRun:{type:"boolean",name:"dry_run"},explain:{type:"boolean"},retryFailed:{type:"boolean",name:"retry_failed"},metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","master_node","version"]},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/reroute"},method:"POST"});api.cluster.prototype.state=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/_cluster/state/<%=metric%>/<%=index%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]},index:{type:"list"}}},{fmt:"/_cluster/state/<%=metric%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]}}},{fmt:"/_cluster/state"}]});api.cluster.prototype.stats=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_cluster/stats/nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cluster/stats"}]});api.count=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},minScore:{type:"number",name:"min_score"},preference:{type:"string"},routing:{type:"list"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},terminateAfter:{type:"number",name:"terminate_after"}},urls:[{fmt:"/<%=index%>/<%=type%>/_count",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_count",req:{index:{type:"list"}}},{fmt:"/_count"}],method:"POST"});api.create=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},pipeline:{type:"string"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_create",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},needBody:true,method:"POST"});api["delete"]=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"DELETE"});api.deleteByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_delete_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_delete_by_query",req:{index:{type:"list"}}}],needBody:true,method:"POST"});api.deleteByQueryRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_delete_by_query/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.deleteScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.exists=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"HEAD"});api.existsSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"HEAD"});api.explain=ca({params:{analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},analyzer:{type:"string"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},storedFields:{type:"list",name:"stored_fields"},lenient:{type:"boolean"},parent:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_explain",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"POST"});api.fieldCaps=ca({params:{fields:{type:"list"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_field_caps",req:{index:{type:"list"}}},{fmt:"/_field_caps"}],method:"POST"});api.get=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}}});api.getScript=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}});api.getSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}}});api.index=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},opType:{type:"enum",default:"index",options:["index","create"],name:"op_type"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>",req:{index:{type:"string"},type:{type:"string"}}}],needBody:true,method:"POST"});api.indices=namespace();api.indices.prototype.analyze=ca({params:{index:{type:"string"}},urls:[{fmt:"/<%=index%>/_analyze",req:{index:{type:"string"}}},{fmt:"/_analyze"}],method:"POST"});api.indices.prototype.clearCache=ca({params:{fieldData:{type:"boolean",name:"field_data"},fielddata:{type:"boolean"},fields:{type:"list"},query:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},index:{type:"list"},requestCache:{type:"boolean",name:"request_cache"},request:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_cache/clear",req:{index:{type:"list"}}},{fmt:"/_cache/clear"}],method:"POST"});api.indices.prototype.close=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>/_close",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.create=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},updateAllTypes:{type:"boolean",name:"update_all_types"}},url:{fmt:"/<%=index%>",req:{index:{type:"string"}}},method:"PUT"});api.indices.prototype["delete"]=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteTemplate=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},method:"DELETE"});api.indices.prototype.exists=ca({params:{local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}}],method:"HEAD"});api.indices.prototype.existsTemplate=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsType=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},url:{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},method:"HEAD"});api.indices.prototype.flush=ca({params:{force:{type:"boolean"},waitIfOngoing:{type:"boolean",name:"wait_if_ongoing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush",req:{index:{type:"list"}}},{fmt:"/_flush"}],method:"POST"});api.indices.prototype.flushSynced=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush/synced",req:{index:{type:"list"}}},{fmt:"/_flush/synced"}],method:"POST"});api.indices.prototype.forcemerge=ca({params:{flush:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},maxNumSegments:{type:"number",name:"max_num_segments"},onlyExpungeDeletes:{type:"boolean",name:"only_expunge_deletes"}},urls:[{fmt:"/<%=index%>/_forcemerge",req:{index:{type:"list"}}},{fmt:"/_forcemerge"}],method:"POST"});api.indices.prototype.get=ca({params:{local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}}});api.indices.prototype.getAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}},{fmt:"/<%=index%>/_alias",req:{index:{type:"list"}}},{fmt:"/_alias"}]});api.indices.prototype.getFieldMapping=ca({params:{includeDefaults:{type:"boolean",name:"include_defaults"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>/field/<%=fields%>",req:{index:{type:"list"},type:{type:"list"},fields:{type:"list"}}},{fmt:"/<%=index%>/_mapping/field/<%=fields%>",req:{index:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/<%=type%>/field/<%=fields%>",req:{type:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/field/<%=fields%>",req:{fields:{type:"list"}}}]});api.indices.prototype.getMapping=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_mapping",req:{index:{type:"list"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"list"}}},{fmt:"/_mapping"}]});api.indices.prototype.getSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:["open","closed"],options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},local:{type:"boolean"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},urls:[{fmt:"/<%=index%>/_settings/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_settings"}]});api.indices.prototype.getTemplate=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_template"}]});api.indices.prototype.getUpgrade=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}]});api.indices.prototype.open=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"closed",options:["open","closed","none","all"],name:"expand_wildcards"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_open",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.putAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"string"}}},method:"PUT"});api.indices.prototype.putMapping=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},updateAllTypes:{type:"boolean",name:"update_all_types"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"string"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"string"}}}],needBody:true,method:"PUT"});api.indices.prototype.putSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},preserveExisting:{type:"boolean",name:"preserve_existing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"}},urls:[{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings"}],needBody:true,method:"PUT"});api.indices.prototype.putTemplate=ca({params:{order:{type:"number"},create:{type:"boolean",default:false},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},needBody:true,method:"PUT"});api.indices.prototype.recovery=ca({params:{detailed:{type:"boolean",default:false},activeOnly:{type:"boolean",default:false,name:"active_only"}},urls:[{fmt:"/<%=index%>/_recovery",req:{index:{type:"list"}}},{fmt:"/_recovery"}]});api.indices.prototype.refresh=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_refresh",req:{index:{type:"list"}}},{fmt:"/_refresh"}],method:"POST"});api.indices.prototype.rollover=ca({params:{timeout:{type:"time"},dryRun:{type:"boolean",name:"dry_run"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},urls:[{fmt:"/<%=alias%>/_rollover/<%=newIndex%>",req:{alias:{type:"string"},newIndex:{type:"string"}}},{fmt:"/<%=alias%>/_rollover",req:{alias:{type:"string"}}}],method:"POST"});api.indices.prototype.segments=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},verbose:{type:"boolean",default:false}},urls:[{fmt:"/<%=index%>/_segments",req:{index:{type:"list"}}},{fmt:"/_segments"}]});api.indices.prototype.shardStores=ca({params:{status:{type:"list",options:["green","yellow","red","all"]},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_shard_stores",req:{index:{type:"list"}}},{fmt:"/_shard_stores"}]});api.indices.prototype.shrink=ca({params:{copySettings:{type:"boolean",name:"copy_settings"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_shrink/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.split=ca({params:{copySettings:{type:"boolean",name:"copy_settings"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_split/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"list"},level:{type:"enum",default:"indices",options:["cluster","indices","shards"]},types:{type:"list"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/<%=index%>/_stats/<%=metric%>",req:{index:{type:"list"},metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_stats/<%=metric%>",req:{metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/<%=index%>/_stats",req:{index:{type:"list"}}},{fmt:"/_stats"}]});api.indices.prototype.updateAliases=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_aliases"},needBody:true,method:"POST"});api.indices.prototype.upgrade=ca({params:{allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},onlyAncientSegments:{type:"boolean",name:"only_ancient_segments"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}],method:"POST"});api.indices.prototype.validateQuery=ca({params:{explain:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},rewrite:{type:"boolean"},allShards:{type:"boolean",name:"all_shards"}},urls:[{fmt:"/<%=index%>/<%=type%>/_validate/query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_validate/query",req:{index:{type:"list"}}},{fmt:"/_validate/query"}],method:"POST"});api.info=ca({url:{fmt:"/"}});api.ingest=namespace();api.ingest.prototype.deletePipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.ingest.prototype.getPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},urls:[{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline"}]});api.ingest.prototype.processorGrok=ca({url:{fmt:"/_ingest/processor/grok"}});api.ingest.prototype.putPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},needBody:true,method:"PUT"});api.ingest.prototype.simulate=ca({params:{verbose:{type:"boolean",default:false}},urls:[{fmt:"/_ingest/pipeline/<%=id%>/_simulate",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline/_simulate"}],needBody:true,method:"POST"});api.mget=ca({params:{storedFields:{type:"list",name:"stored_fields"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mget",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mget",req:{index:{type:"string"}}},{fmt:"/_mget"}],needBody:true,method:"POST"});api.msearch=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"},typedKeys:{type:"boolean",name:"typed_keys"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"},maxConcurrentShardRequests:{type:"number",default:"The default grows with the number of nodes in the cluster but is at most 256.",name:"max_concurrent_shard_requests"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch",req:{index:{type:"list"}}},{fmt:"/_msearch"}],needBody:true,bulkBody:true,method:"POST"});api.msearchTemplate=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},typedKeys:{type:"boolean",name:"typed_keys"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch/template",req:{index:{type:"list"}}},{fmt:"/_msearch/template"}],needBody:true,bulkBody:true,method:"POST"});api.mtermvectors=ca({params:{ids:{type:"list",required:false},termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mtermvectors",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mtermvectors",req:{index:{type:"string"}}},{fmt:"/_mtermvectors"}],method:"POST"});api.nodes=namespace();api.nodes.prototype.hotThreads=ca({params:{interval:{type:"time"},snapshots:{type:"number"},threads:{type:"number"},ignoreIdleThreads:{type:"boolean",name:"ignore_idle_threads"},type:{type:"enum",options:["cpu","wait","block"]},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/hotthreads",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/hotthreads"}]});api.nodes.prototype.info=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/<%=metric%>",req:{metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes"}]});api.nodes.prototype.reloadSecureSettings=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/reload_secure_settings",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/reload_secure_settings"}],method:"POST"});api.nodes.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"boolean"},level:{type:"enum",default:"node",options:["indices","node","shards"]},types:{type:"list"},timeout:{type:"time"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>/<%=indexMetric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats/<%=metric%>/<%=indexMetric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/stats/<%=metric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats"}]});api.nodes.prototype.usage=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/usage/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/<%=nodeId%>/usage",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/usage/<%=metric%>",req:{metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/usage"}]});api.ping=ca({url:{fmt:"/"},requestTimeout:3e3,method:"HEAD"});api.putScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},context:{type:"string"}},urls:[{fmt:"/_scripts/<%=id%>/<%=context%>",req:{id:{type:"string"},context:{type:"string"}}},{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}],needBody:true,method:"PUT"});api.rankEval=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_rank_eval",req:{index:{type:"list"}}},{fmt:"/_rank_eval"}],needBody:true,method:"POST"});api.reindex=ca({params:{refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},url:{fmt:"/_reindex"},needBody:true,method:"POST"});api.reindexRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_reindex/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.renderSearchTemplate=ca({urls:[{fmt:"/_render/template/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_render/template"}],method:"POST"});api.scriptsPainlessExecute=ca({url:{fmt:"/_scripts/painless/_execute"},method:"POST"});api.scroll=ca({params:{scroll:{type:"time"},scrollId:{type:"string",name:"scroll_id"}},urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"string"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"POST"});api.search=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},explain:{type:"boolean"},storedFields:{type:"list",name:"stored_fields"},docvalueFields:{type:"list",name:"docvalue_fields"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},suggestField:{type:"string",name:"suggest_field"},suggestMode:{type:"enum",default:"missing",options:["missing","popular","always"],name:"suggest_mode"},suggestSize:{type:"number",name:"suggest_size"},suggestText:{type:"string",name:"suggest_text"},timeout:{type:"time"},trackScores:{type:"boolean",name:"track_scores"},trackTotalHits:{type:"boolean",name:"track_total_hits"},allowPartialSearchResults:{type:"boolean",default:true,name:"allow_partial_search_results"},typedKeys:{type:"boolean",name:"typed_keys"},version:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},batchedReduceSize:{type:"number",default:512,name:"batched_reduce_size"},maxConcurrentShardRequests:{type:"number",default:"The default grows with the number of nodes in the cluster but is at most 256.",name:"max_concurrent_shard_requests"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search",req:{index:{type:"list"}}},{fmt:"/_search"}],method:"POST"});api.searchShards=ca({params:{preference:{type:"string"},routing:{type:"string"},local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_search_shards",req:{index:{type:"list"}}},{fmt:"/_search_shards"}],method:"POST"});api.searchTemplate=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},preference:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},explain:{type:"boolean"},profile:{type:"boolean"},typedKeys:{type:"boolean",name:"typed_keys"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search/template",req:{index:{type:"list"}}},{fmt:"/_search/template"}],needBody:true,method:"POST"});api.snapshot=namespace();api.snapshot.prototype.create=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.createRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},verify:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"string"}}},needBody:true,method:"POST"});api.snapshot.prototype["delete"]=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"DELETE"});api.snapshot.prototype.deleteRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},method:"DELETE"});api.snapshot.prototype.get=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},verbose:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"list"}}}});api.snapshot.prototype.getRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_snapshot"}]});api.snapshot.prototype.restore=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_restore",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.status=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"}},urls:[{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_status",req:{repository:{type:"string"},snapshot:{type:"list"}}},{fmt:"/_snapshot/<%=repository%>/_status",req:{repository:{type:"string"}}},{fmt:"/_snapshot/_status"}]});api.snapshot.prototype.verifyRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>/_verify",req:{repository:{type:"string"}}},method:"POST"});api.tasks=namespace();api.tasks.prototype.cancel=ca({params:{nodes:{type:"list"},actions:{type:"list"},parentTaskId:{type:"string",name:"parent_task_id"}},urls:[{fmt:"/_tasks/<%=taskId%>/_cancel",req:{taskId:{type:"string"}}},{fmt:"/_tasks/_cancel"}],method:"POST"});api.tasks.prototype.get=ca({params:{waitForCompletion:{type:"boolean",name:"wait_for_completion"},timeout:{type:"time"}},url:{fmt:"/_tasks/<%=taskId%>",req:{taskId:{type:"string"}}}});api.tasks.prototype.list=ca({params:{nodes:{type:"list"},actions:{type:"list"},detailed:{type:"boolean"},parentTaskId:{type:"string",name:"parent_task_id"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},groupBy:{type:"enum",default:"nodes",options:["nodes","parents","none"],name:"group_by"},timeout:{type:"time"}},url:{fmt:"/_tasks"}});api.termvectors=ca({params:{termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_termvectors",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>/_termvectors",req:{index:{type:"string"},type:{type:"string"}}}],method:"POST"});api.update=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},fields:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},lang:{type:"string"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},retryOnConflict:{type:"number",name:"retry_on_conflict"},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_update",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},needBody:true,method:"POST"});api.updateByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},pipeline:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},versionType:{type:"boolean",name:"version_type"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_update_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_update_by_query",req:{index:{type:"list"}}}],method:"POST"});api.updateByQueryRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_update_by_query/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"})},function(module,exports,__webpack_require__){var ca=__webpack_require__(1).makeFactoryWithModifier(function(spec){return __webpack_require__(0).merge(spec,{params:{filterPath:{type:"list",name:"filter_path"}}})});var namespace=__webpack_require__(1).namespaceFactory;var api=module.exports={};api._namespaces=["cat","cluster","indices","ingest","nodes","snapshot","tasks"];api.bulk=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},type:{type:"string"},fields:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/_bulk",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_bulk",req:{index:{type:"string"}}},{fmt:"/_bulk"}],needBody:true,bulkBody:true,method:"POST"});api.cat=namespace();api.cat.prototype.aliases=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/aliases/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_cat/aliases"}]});api.cat.prototype.allocation=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/allocation/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cat/allocation"}]});api.cat.prototype.count=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/count/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/count"}]});api.cat.prototype.fielddata=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false},fields:{type:"list"}},urls:[{fmt:"/_cat/fielddata/<%=fields%>",req:{fields:{type:"list"}}},{fmt:"/_cat/fielddata"}]});api.cat.prototype.health=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},ts:{type:"boolean",default:true},v:{type:"boolean",default:false}},url:{fmt:"/_cat/health"}});api.cat.prototype.help=ca({params:{help:{type:"boolean",default:false},s:{type:"list"}},url:{fmt:"/_cat"}});api.cat.prototype.indices=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","m","g"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},health:{type:"enum",default:null,options:["green","yellow","red"]},help:{type:"boolean",default:false},pri:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/indices/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/indices"}]});api.cat.prototype.master=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/master"}});api.cat.prototype.nodeattrs=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodeattrs"}});api.cat.prototype.nodes=ca({params:{format:{type:"string"},fullId:{type:"boolean",name:"full_id"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodes"}});api.cat.prototype.pendingTasks=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/pending_tasks"}});api.cat.prototype.plugins=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/plugins"}});api.cat.prototype.recovery=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/recovery/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/recovery"}]});api.cat.prototype.repositories=ca({params:{format:{type:"string"},local:{type:"boolean",default:false},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/repositories"}});api.cat.prototype.segments=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/segments/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/segments"}]});api.cat.prototype.shards=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/shards/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/shards"}]});api.cat.prototype.snapshots=ca({params:{format:{type:"string"},ignoreUnavailable:{type:"boolean",default:false,name:"ignore_unavailable"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/snapshots/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_cat/snapshots"}]});api.cat.prototype.tasks=ca({params:{format:{type:"string"},nodeId:{type:"list",name:"node_id"},actions:{type:"list"},detailed:{type:"boolean"},parentTask:{type:"number",name:"parent_task"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/tasks"}});api.cat.prototype.templates=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/templates/<%=name%>",req:{name:{type:"string"}}},{fmt:"/_cat/templates"}]});api.cat.prototype.threadPool=ca({params:{format:{type:"string"},size:{type:"enum",options:["","k","m","g","t","p"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/thread_pool/<%=threadPoolPatterns%>",req:{threadPoolPatterns:{type:"list"}}},{fmt:"/_cat/thread_pool"}]});api.clearScroll=ca({urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"list"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"DELETE"});api.cluster=namespace();api.cluster.prototype.allocationExplain=ca({params:{includeYesDecisions:{type:"boolean",name:"include_yes_decisions"},includeDiskInfo:{type:"boolean",name:"include_disk_info"}},url:{fmt:"/_cluster/allocation/explain"},method:"POST"});api.cluster.prototype.getSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/_cluster/settings"}});api.cluster.prototype.health=ca({params:{level:{type:"enum",default:"cluster",options:["cluster","indices","shards"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForNodes:{type:"string",name:"wait_for_nodes"},waitForEvents:{type:"enum",options:["immediate","urgent","high","normal","low","languid"],name:"wait_for_events"},waitForNoRelocatingShards:{type:"boolean",name:"wait_for_no_relocating_shards"},waitForNoInitializingShards:{type:"boolean",name:"wait_for_no_initializing_shards"},waitForStatus:{type:"enum",default:null,options:["green","yellow","red"],name:"wait_for_status"}},urls:[{fmt:"/_cluster/health/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cluster/health"}]});api.cluster.prototype.pendingTasks=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_cluster/pending_tasks"}});api.cluster.prototype.putSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/settings"},needBody:true,method:"PUT"});api.cluster.prototype.remoteInfo=ca({url:{fmt:"/_remote/info"}});api.cluster.prototype.reroute=ca({params:{dryRun:{type:"boolean",name:"dry_run"},explain:{type:"boolean"},retryFailed:{type:"boolean",name:"retry_failed"},metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","master_node","version"]},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/reroute"},method:"POST"});api.cluster.prototype.state=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/_cluster/state/<%=metric%>/<%=index%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]},index:{type:"list"}}},{fmt:"/_cluster/state/<%=metric%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]}}},{fmt:"/_cluster/state"}]});api.cluster.prototype.stats=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_cluster/stats/nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cluster/stats"}]});api.count=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},minScore:{type:"number",name:"min_score"},preference:{type:"string"},routing:{type:"list"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},terminateAfter:{type:"number",name:"terminate_after"}},urls:[{fmt:"/<%=index%>/<%=type%>/_count",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_count",req:{index:{type:"list"}}},{fmt:"/_count"}],method:"POST"});api.create=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},pipeline:{type:"string"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_create",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},needBody:true,method:"POST"});api["delete"]=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"DELETE"});api.deleteByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_delete_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_delete_by_query",req:{index:{type:"list"}}}],needBody:true,method:"POST"});api.deleteScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.exists=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"HEAD"});api.existsSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"HEAD"});api.explain=ca({params:{analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},analyzer:{type:"string"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},storedFields:{type:"list",name:"stored_fields"},lenient:{type:"boolean"},parent:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_explain",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"POST"});api.fieldCaps=ca({params:{fields:{type:"list"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_field_caps",req:{index:{type:"list"}}},{fmt:"/_field_caps"}],method:"POST"});api.get=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}}});api.getScript=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}});api.getSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}}});api.index=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},opType:{type:"enum",default:"index",options:["index","create"],name:"op_type"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>",req:{index:{type:"string"},type:{type:"string"}}}],needBody:true,method:"POST"});api.indices=namespace();api.indices.prototype.analyze=ca({params:{index:{type:"string"}},urls:[{fmt:"/<%=index%>/_analyze",req:{index:{type:"string"}}},{fmt:"/_analyze"}],method:"POST"});api.indices.prototype.clearCache=ca({params:{fieldData:{type:"boolean",name:"field_data"},fielddata:{type:"boolean"},fields:{type:"list"},query:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},index:{type:"list"},requestCache:{type:"boolean",name:"request_cache"},request:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_cache/clear",req:{index:{type:"list"}}},{fmt:"/_cache/clear"}],method:"POST"});api.indices.prototype.close=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>/_close",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.create=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},updateAllTypes:{type:"boolean",name:"update_all_types"}},url:{fmt:"/<%=index%>",req:{index:{type:"string"}}},method:"PUT"});api.indices.prototype["delete"]=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteTemplate=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},method:"DELETE"});api.indices.prototype.exists=ca({params:{local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}}],method:"HEAD"});api.indices.prototype.existsTemplate=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsType=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},url:{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},method:"HEAD"});api.indices.prototype.flush=ca({params:{force:{type:"boolean"},waitIfOngoing:{type:"boolean",name:"wait_if_ongoing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush",req:{index:{type:"list"}}},{fmt:"/_flush"}],method:"POST"});api.indices.prototype.flushSynced=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush/synced",req:{index:{type:"list"}}},{fmt:"/_flush/synced"}],method:"POST"});api.indices.prototype.forcemerge=ca({params:{flush:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},maxNumSegments:{type:"number",name:"max_num_segments"},onlyExpungeDeletes:{type:"boolean",name:"only_expunge_deletes"}},urls:[{fmt:"/<%=index%>/_forcemerge",req:{index:{type:"list"}}},{fmt:"/_forcemerge"}],method:"POST"});api.indices.prototype.get=ca({params:{local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}}});api.indices.prototype.getAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}},{fmt:"/<%=index%>/_alias",req:{index:{type:"list"}}},{fmt:"/_alias"}]});api.indices.prototype.getFieldMapping=ca({params:{includeDefaults:{type:"boolean",name:"include_defaults"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>/field/<%=fields%>",req:{index:{type:"list"},type:{type:"list"},fields:{type:"list"}}},{fmt:"/<%=index%>/_mapping/field/<%=fields%>",req:{index:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/<%=type%>/field/<%=fields%>",req:{type:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/field/<%=fields%>",req:{fields:{type:"list"}}}]});api.indices.prototype.getMapping=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_mapping",req:{index:{type:"list"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"list"}}},{fmt:"/_mapping"}]});api.indices.prototype.getSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:["open","closed"],options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},local:{type:"boolean"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},urls:[{fmt:"/<%=index%>/_settings/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_settings"}]});api.indices.prototype.getTemplate=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_template"}]});api.indices.prototype.getUpgrade=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}]});api.indices.prototype.open=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"closed",options:["open","closed","none","all"],name:"expand_wildcards"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_open",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.putAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"string"}}},method:"PUT"});api.indices.prototype.putMapping=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},updateAllTypes:{type:"boolean",name:"update_all_types"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"string"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"string"}}}],needBody:true,method:"PUT"});api.indices.prototype.putSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},preserveExisting:{type:"boolean",name:"preserve_existing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"}},urls:[{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings"}],needBody:true,method:"PUT"});api.indices.prototype.putTemplate=ca({params:{order:{type:"number"},create:{type:"boolean",default:false},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},needBody:true,method:"PUT"});api.indices.prototype.recovery=ca({params:{detailed:{type:"boolean",default:false},activeOnly:{type:"boolean",default:false,name:"active_only"}},urls:[{fmt:"/<%=index%>/_recovery",req:{index:{type:"list"}}},{fmt:"/_recovery"}]});api.indices.prototype.refresh=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_refresh",req:{index:{type:"list"}}},{fmt:"/_refresh"}],method:"POST"});api.indices.prototype.rollover=ca({params:{timeout:{type:"time"},dryRun:{type:"boolean",name:"dry_run"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},urls:[{fmt:"/<%=alias%>/_rollover/<%=newIndex%>",req:{alias:{type:"string"},newIndex:{type:"string"}}},{fmt:"/<%=alias%>/_rollover",req:{alias:{type:"string"}}}],method:"POST"});api.indices.prototype.segments=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},verbose:{type:"boolean",default:false}},urls:[{fmt:"/<%=index%>/_segments",req:{index:{type:"list"}}},{fmt:"/_segments"}]});api.indices.prototype.shardStores=ca({params:{status:{type:"list",options:["green","yellow","red","all"]},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_shard_stores",req:{index:{type:"list"}}},{fmt:"/_shard_stores"}]});api.indices.prototype.shrink=ca({params:{copySettings:{type:"boolean",name:"copy_settings"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_shrink/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.split=ca({params:{copySettings:{type:"boolean",name:"copy_settings"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_split/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"list"},level:{type:"enum",default:"indices",options:["cluster","indices","shards"]},types:{type:"list"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/<%=index%>/_stats/<%=metric%>",req:{index:{type:"list"},metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_stats/<%=metric%>",req:{metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/<%=index%>/_stats",req:{index:{type:"list"}}},{fmt:"/_stats"}]});api.indices.prototype.updateAliases=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_aliases"},needBody:true,method:"POST"});api.indices.prototype.upgrade=ca({params:{allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},onlyAncientSegments:{type:"boolean",name:"only_ancient_segments"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}],method:"POST"});api.indices.prototype.validateQuery=ca({params:{explain:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},rewrite:{type:"boolean"},allShards:{type:"boolean",name:"all_shards"}},urls:[{fmt:"/<%=index%>/<%=type%>/_validate/query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_validate/query",req:{index:{type:"list"}}},{fmt:"/_validate/query"}],method:"POST"});api.info=ca({url:{fmt:"/"}});api.ingest=namespace();api.ingest.prototype.deletePipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.ingest.prototype.getPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},urls:[{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline"}]});api.ingest.prototype.processorGrok=ca({url:{fmt:"/_ingest/processor/grok"}});api.ingest.prototype.putPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},needBody:true,method:"PUT"});api.ingest.prototype.simulate=ca({params:{verbose:{type:"boolean",default:false}},urls:[{fmt:"/_ingest/pipeline/<%=id%>/_simulate",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline/_simulate"}],needBody:true,method:"POST"});api.mget=ca({params:{storedFields:{type:"list",name:"stored_fields"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mget",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mget",req:{index:{type:"string"}}},{fmt:"/_mget"}],needBody:true,method:"POST"});api.msearch=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"},typedKeys:{type:"boolean",name:"typed_keys"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch",req:{index:{type:"list"}}},{fmt:"/_msearch"}],needBody:true,bulkBody:true,method:"POST"});api.msearchTemplate=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},typedKeys:{type:"boolean",name:"typed_keys"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch/template",req:{index:{type:"list"}}},{fmt:"/_msearch/template"}],needBody:true,bulkBody:true,method:"POST"});api.mtermvectors=ca({params:{ids:{type:"list",required:false},termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mtermvectors",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mtermvectors",req:{index:{type:"string"}}},{fmt:"/_mtermvectors"}],method:"POST"});api.nodes=namespace();api.nodes.prototype.hotThreads=ca({params:{interval:{type:"time"},snapshots:{type:"number"},threads:{type:"number"},ignoreIdleThreads:{type:"boolean",name:"ignore_idle_threads"},type:{type:"enum",options:["cpu","wait","block"]},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/hotthreads",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/hotthreads"}]});api.nodes.prototype.info=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/<%=metric%>",req:{metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes"}]});api.nodes.prototype.reloadSecureSettings=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/reload_secure_settings",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/reload_secure_settings"}],method:"POST"});api.nodes.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"boolean"},level:{type:"enum",default:"node",options:["indices","node","shards"]},types:{type:"list"},timeout:{type:"time"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>/<%=indexMetric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats/<%=metric%>/<%=indexMetric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/stats/<%=metric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats"}]});api.nodes.prototype.usage=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/usage/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/<%=nodeId%>/usage",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/usage/<%=metric%>",req:{metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/usage"}]});api.ping=ca({url:{fmt:"/"},requestTimeout:3e3,method:"HEAD"});api.putScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},context:{type:"string"}},urls:[{fmt:"/_scripts/<%=id%>/<%=context%>",req:{id:{type:"string"},context:{type:"string"}}},{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}],needBody:true,method:"PUT"});api.rankEval=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_rank_eval",req:{index:{type:"list"}}},{fmt:"/_rank_eval"}],needBody:true,method:"POST"});api.reindex=ca({params:{refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},url:{fmt:"/_reindex"},needBody:true,method:"POST"});api.reindexRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_reindex/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.renderSearchTemplate=ca({urls:[{fmt:"/_render/template/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_render/template"}],method:"POST"});api.scriptsPainlessExecute=ca({url:{fmt:"/_scripts/painless/_execute"},method:"POST"});api.scroll=ca({params:{scroll:{type:"time"},scrollId:{type:"string",name:"scroll_id"}},urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"string"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"POST"});api.search=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},explain:{type:"boolean"},storedFields:{type:"list",name:"stored_fields"},docvalueFields:{type:"list",name:"docvalue_fields"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},suggestField:{type:"string",name:"suggest_field"},suggestMode:{type:"enum",default:"missing",options:["missing","popular","always"],name:"suggest_mode"},suggestSize:{type:"number",name:"suggest_size"},suggestText:{type:"string",name:"suggest_text"},timeout:{type:"time"},trackScores:{type:"boolean",name:"track_scores"},trackTotalHits:{type:"boolean",name:"track_total_hits"},allowPartialSearchResults:{type:"boolean",default:true,name:"allow_partial_search_results"},typedKeys:{type:"boolean",name:"typed_keys"},version:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},batchedReduceSize:{type:"number",default:512,name:"batched_reduce_size"},maxConcurrentShardRequests:{type:"number",default:"The default grows with the number of nodes in the cluster but is at most 256.",name:"max_concurrent_shard_requests"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search",req:{index:{type:"list"}}},{fmt:"/_search"}],method:"POST"});api.searchShards=ca({params:{preference:{type:"string"},routing:{type:"string"},local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_search_shards",req:{index:{type:"list"}}},{fmt:"/_search_shards"}],method:"POST"});api.searchTemplate=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},preference:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},explain:{type:"boolean"},profile:{type:"boolean"},typedKeys:{type:"boolean",name:"typed_keys"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search/template",req:{index:{type:"list"}}},{fmt:"/_search/template"}],needBody:true,method:"POST"});api.snapshot=namespace();api.snapshot.prototype.create=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.createRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},verify:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"string"}}},needBody:true,method:"POST"});api.snapshot.prototype["delete"]=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"DELETE"});api.snapshot.prototype.deleteRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},method:"DELETE"});api.snapshot.prototype.get=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},verbose:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"list"}}}});api.snapshot.prototype.getRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_snapshot"}]});api.snapshot.prototype.restore=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_restore",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.status=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"}},urls:[{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_status",req:{repository:{type:"string"},snapshot:{type:"list"}}},{fmt:"/_snapshot/<%=repository%>/_status",req:{repository:{type:"string"}}},{fmt:"/_snapshot/_status"}]});api.snapshot.prototype.verifyRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>/_verify",req:{repository:{type:"string"}}},method:"POST"});api.tasks=namespace();api.tasks.prototype.cancel=ca({params:{nodes:{type:"list"},actions:{type:"list"},parentTaskId:{type:"string",name:"parent_task_id"}},urls:[{fmt:"/_tasks/<%=taskId%>/_cancel",req:{taskId:{type:"string"}}},{fmt:"/_tasks/_cancel"}],method:"POST"});api.tasks.prototype.get=ca({params:{waitForCompletion:{type:"boolean",name:"wait_for_completion"},timeout:{type:"time"}},url:{fmt:"/_tasks/<%=taskId%>",req:{taskId:{type:"string"}}}});api.tasks.prototype.list=ca({params:{nodes:{type:"list"},actions:{type:"list"},detailed:{type:"boolean"},parentTaskId:{type:"string",name:"parent_task_id"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},groupBy:{type:"enum",default:"nodes",options:["nodes","parents","none"],name:"group_by"},timeout:{type:"time"}},url:{fmt:"/_tasks"}});api.termvectors=ca({params:{termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_termvectors",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>/_termvectors",req:{index:{type:"string"},type:{type:"string"}}}],method:"POST"});api.update=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},fields:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},lang:{type:"string"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},retryOnConflict:{type:"number",name:"retry_on_conflict"},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_update",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},needBody:true,method:"POST"});api.updateByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},pipeline:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},versionType:{type:"boolean",name:"version_type"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_update_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_update_by_query",req:{index:{type:"list"}}}],method:"POST"})},function(module,exports,__webpack_require__){var ca=__webpack_require__(1).makeFactoryWithModifier(function(spec){return __webpack_require__(0).merge(spec,{params:{filterPath:{type:"list",name:"filter_path"}}})});var namespace=__webpack_require__(1).namespaceFactory;var api=module.exports={};api._namespaces=["cat","cluster","indices","ingest","nodes","snapshot","tasks"];api.bulk=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},type:{type:"string"},fields:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/_bulk",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_bulk",req:{index:{type:"string"}}},{fmt:"/_bulk"}],needBody:true,bulkBody:true,method:"POST"});api.cat=namespace();api.cat.prototype.aliases=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/aliases/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_cat/aliases"}]});api.cat.prototype.allocation=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/allocation/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cat/allocation"}]});api.cat.prototype.count=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/count/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/count"}]});api.cat.prototype.fielddata=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false},fields:{type:"list"}},urls:[{fmt:"/_cat/fielddata/<%=fields%>",req:{fields:{type:"list"}}},{fmt:"/_cat/fielddata"}]});api.cat.prototype.health=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},ts:{type:"boolean",default:true},v:{type:"boolean",default:false}},url:{fmt:"/_cat/health"}});api.cat.prototype.help=ca({params:{help:{type:"boolean",default:false},s:{type:"list"}},url:{fmt:"/_cat"}});api.cat.prototype.indices=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","m","g"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},health:{type:"enum",default:null,options:["green","yellow","red"]},help:{type:"boolean",default:false},pri:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/indices/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/indices"}]});api.cat.prototype.master=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/master"}});api.cat.prototype.nodeattrs=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodeattrs"}});api.cat.prototype.nodes=ca({params:{format:{type:"string"},fullId:{type:"boolean",name:"full_id"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodes"}});api.cat.prototype.pendingTasks=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/pending_tasks"}});api.cat.prototype.plugins=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/plugins"}});api.cat.prototype.recovery=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/recovery/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/recovery"}]});api.cat.prototype.repositories=ca({params:{format:{type:"string"},local:{type:"boolean",default:false},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/repositories"}});api.cat.prototype.segments=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/segments/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/segments"}]});api.cat.prototype.shards=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/shards/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/shards"}]});api.cat.prototype.snapshots=ca({params:{format:{type:"string"},ignoreUnavailable:{type:"boolean",default:false,name:"ignore_unavailable"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/snapshots/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_cat/snapshots"}]});api.cat.prototype.tasks=ca({params:{format:{type:"string"},nodeId:{type:"list",name:"node_id"},actions:{type:"list"},detailed:{type:"boolean"},parentTask:{type:"number",name:"parent_task"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/tasks"}});api.cat.prototype.templates=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/templates/<%=name%>",req:{name:{type:"string"}}},{fmt:"/_cat/templates"}]});api.cat.prototype.threadPool=ca({params:{format:{type:"string"},size:{type:"enum",options:["","k","m","g","t","p"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/thread_pool/<%=threadPoolPatterns%>",req:{threadPoolPatterns:{type:"list"}}},{fmt:"/_cat/thread_pool"}]});api.clearScroll=ca({urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"list"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"DELETE"});api.cluster=namespace();api.cluster.prototype.allocationExplain=ca({params:{includeYesDecisions:{type:"boolean",name:"include_yes_decisions"},includeDiskInfo:{type:"boolean",name:"include_disk_info"}},url:{fmt:"/_cluster/allocation/explain"},method:"POST"});api.cluster.prototype.getSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/_cluster/settings"}});api.cluster.prototype.health=ca({params:{level:{type:"enum",default:"cluster",options:["cluster","indices","shards"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForNodes:{type:"string",name:"wait_for_nodes"},waitForEvents:{type:"enum",options:["immediate","urgent","high","normal","low","languid"],name:"wait_for_events"},waitForNoRelocatingShards:{type:"boolean",name:"wait_for_no_relocating_shards"},waitForNoInitializingShards:{type:"boolean",name:"wait_for_no_initializing_shards"},waitForStatus:{type:"enum",default:null,options:["green","yellow","red"],name:"wait_for_status"}},urls:[{fmt:"/_cluster/health/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cluster/health"}]});api.cluster.prototype.pendingTasks=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_cluster/pending_tasks"}});api.cluster.prototype.putSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/settings"},needBody:true,method:"PUT"});api.cluster.prototype.remoteInfo=ca({url:{fmt:"/_remote/info"}});api.cluster.prototype.reroute=ca({params:{dryRun:{type:"boolean",name:"dry_run"},explain:{type:"boolean"},retryFailed:{type:"boolean",name:"retry_failed"},metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","master_node","version"]},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/reroute"},method:"POST"});api.cluster.prototype.state=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/_cluster/state/<%=metric%>/<%=index%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]},index:{type:"list"}}},{fmt:"/_cluster/state/<%=metric%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]}}},{fmt:"/_cluster/state"}]});api.cluster.prototype.stats=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_cluster/stats/nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cluster/stats"}]});api.count=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},minScore:{type:"number",name:"min_score"},preference:{type:"string"},routing:{type:"list"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},terminateAfter:{type:"number",name:"terminate_after"}},urls:[{fmt:"/<%=index%>/<%=type%>/_count",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_count",req:{index:{type:"list"}}},{fmt:"/_count"}],method:"POST"});api.create=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},pipeline:{type:"string"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_create",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},needBody:true,method:"POST"});api["delete"]=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"DELETE"});api.deleteByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_delete_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_delete_by_query",req:{index:{type:"list"}}}],needBody:true,method:"POST"});api.deleteScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.exists=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"HEAD"});api.existsSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"HEAD"});api.explain=ca({params:{analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},analyzer:{type:"string"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},storedFields:{type:"list",name:"stored_fields"},lenient:{type:"boolean"},parent:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_explain",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"POST"});api.fieldCaps=ca({params:{fields:{type:"list"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_field_caps",req:{index:{type:"list"}}},{fmt:"/_field_caps"}],method:"POST"});api.get=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}}});api.getScript=ca({url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}});api.getSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}}});api.index=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},opType:{type:"enum",default:"index",options:["index","create"],name:"op_type"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>",req:{index:{type:"string"},type:{type:"string"}}}],needBody:true,method:"POST"});api.indices=namespace();api.indices.prototype.analyze=ca({params:{index:{type:"string"},preferLocal:{type:"boolean",name:"prefer_local"},format:{type:"enum",default:"detailed",options:["detailed","text"]}},urls:[{fmt:"/<%=index%>/_analyze",req:{index:{type:"string"}}},{fmt:"/_analyze"}],method:"POST"});api.indices.prototype.clearCache=ca({params:{fieldData:{type:"boolean",name:"field_data"},fielddata:{type:"boolean"},fields:{type:"list"},query:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},index:{type:"list"},requestCache:{type:"boolean",name:"request_cache"},request:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_cache/clear",req:{index:{type:"list"}}},{fmt:"/_cache/clear"}],method:"POST"});api.indices.prototype.close=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>/_close",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.create=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},updateAllTypes:{type:"boolean",name:"update_all_types"}},url:{fmt:"/<%=index%>",req:{index:{type:"string"}}},method:"PUT"});api.indices.prototype["delete"]=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteTemplate=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},method:"DELETE"});api.indices.prototype.exists=ca({params:{local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}}],method:"HEAD"});api.indices.prototype.existsTemplate=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsType=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},url:{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},method:"HEAD"});api.indices.prototype.flush=ca({params:{force:{type:"boolean"},waitIfOngoing:{type:"boolean",name:"wait_if_ongoing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush",req:{index:{type:"list"}}},{fmt:"/_flush"}],method:"POST"});api.indices.prototype.flushSynced=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush/synced",req:{index:{type:"list"}}},{fmt:"/_flush/synced"}],method:"POST"});api.indices.prototype.forcemerge=ca({params:{flush:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},maxNumSegments:{type:"number",name:"max_num_segments"},onlyExpungeDeletes:{type:"boolean",name:"only_expunge_deletes"}},urls:[{fmt:"/<%=index%>/_forcemerge",req:{index:{type:"list"}}},{fmt:"/_forcemerge"}],method:"POST"});api.indices.prototype.get=ca({params:{local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}}});api.indices.prototype.getAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}},{fmt:"/<%=index%>/_alias",req:{index:{type:"list"}}},{fmt:"/_alias"}]});api.indices.prototype.getFieldMapping=ca({params:{includeDefaults:{type:"boolean",name:"include_defaults"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>/field/<%=fields%>",req:{index:{type:"list"},type:{type:"list"},fields:{type:"list"}}},{fmt:"/<%=index%>/_mapping/field/<%=fields%>",req:{index:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/<%=type%>/field/<%=fields%>",req:{type:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/field/<%=fields%>",req:{fields:{type:"list"}}}]});api.indices.prototype.getMapping=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_mapping",req:{index:{type:"list"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"list"}}},{fmt:"/_mapping"}]});api.indices.prototype.getSettings=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:["open","closed"],options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},local:{type:"boolean"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},urls:[{fmt:"/<%=index%>/_settings/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_settings"}]});api.indices.prototype.getTemplate=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_template"}]});api.indices.prototype.getUpgrade=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}]});api.indices.prototype.open=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"closed",options:["open","closed","none","all"],name:"expand_wildcards"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_open",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.putAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"string"}}},method:"PUT"});api.indices.prototype.putMapping=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},updateAllTypes:{type:"boolean",name:"update_all_types"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"string"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"string"}}}],needBody:true,method:"PUT"});api.indices.prototype.putSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},preserveExisting:{type:"boolean",name:"preserve_existing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"}},urls:[{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings"}],needBody:true,method:"PUT"});api.indices.prototype.putTemplate=ca({params:{order:{type:"number"},create:{type:"boolean",default:false},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},needBody:true,method:"PUT"});api.indices.prototype.recovery=ca({params:{detailed:{type:"boolean",default:false},activeOnly:{type:"boolean",default:false,name:"active_only"}},urls:[{fmt:"/<%=index%>/_recovery",req:{index:{type:"list"}}},{fmt:"/_recovery"}]});api.indices.prototype.refresh=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_refresh",req:{index:{type:"list"}}},{fmt:"/_refresh"}],method:"POST"});api.indices.prototype.rollover=ca({params:{timeout:{type:"time"},dryRun:{type:"boolean",name:"dry_run"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},urls:[{fmt:"/<%=alias%>/_rollover/<%=newIndex%>",req:{alias:{type:"string"},newIndex:{type:"string"}}},{fmt:"/<%=alias%>/_rollover",req:{alias:{type:"string"}}}],method:"POST"});api.indices.prototype.segments=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},verbose:{type:"boolean",default:false}},urls:[{fmt:"/<%=index%>/_segments",req:{index:{type:"list"}}},{fmt:"/_segments"}]});api.indices.prototype.shardStores=ca({params:{status:{type:"list",options:["green","yellow","red","all"]},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_shard_stores",req:{index:{type:"list"}}},{fmt:"/_shard_stores"}]});api.indices.prototype.shrink=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_shrink/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.split=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_split/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"list"},level:{type:"enum",default:"indices",options:["cluster","indices","shards"]},types:{type:"list"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/<%=index%>/_stats/<%=metric%>",req:{index:{type:"list"},metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_stats/<%=metric%>",req:{metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/<%=index%>/_stats",req:{index:{type:"list"}}},{fmt:"/_stats"}]});api.indices.prototype.updateAliases=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_aliases"},needBody:true,method:"POST"});api.indices.prototype.upgrade=ca({params:{allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},onlyAncientSegments:{type:"boolean",name:"only_ancient_segments"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}],method:"POST"});api.indices.prototype.validateQuery=ca({params:{explain:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},rewrite:{type:"boolean"},allShards:{type:"boolean",name:"all_shards"}},urls:[{fmt:"/<%=index%>/<%=type%>/_validate/query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_validate/query",req:{index:{type:"list"}}},{fmt:"/_validate/query"}],method:"POST"});api.info=ca({url:{fmt:"/"}});api.ingest=namespace();api.ingest.prototype.deletePipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.ingest.prototype.getPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},urls:[{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline"}]});api.ingest.prototype.processorGrok=ca({url:{fmt:"/_ingest/processor/grok"}});api.ingest.prototype.putPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},needBody:true,method:"PUT"});api.ingest.prototype.simulate=ca({params:{verbose:{type:"boolean",default:false}},urls:[{fmt:"/_ingest/pipeline/<%=id%>/_simulate",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline/_simulate"}],needBody:true,method:"POST"});api.mget=ca({params:{storedFields:{type:"list",name:"stored_fields"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mget",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mget",req:{index:{type:"string"}}},{fmt:"/_mget"}],needBody:true,method:"POST"});api.msearch=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"},typedKeys:{type:"boolean",name:"typed_keys"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch",req:{index:{type:"list"}}},{fmt:"/_msearch"}],needBody:true,bulkBody:true,method:"POST"});api.msearchTemplate=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},typedKeys:{type:"boolean",name:"typed_keys"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch/template",req:{index:{type:"list"}}},{fmt:"/_msearch/template"}],needBody:true,bulkBody:true,method:"POST"});api.mtermvectors=ca({params:{ids:{type:"list",required:false},termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mtermvectors",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mtermvectors",req:{index:{type:"string"}}},{fmt:"/_mtermvectors"}],method:"POST"});api.nodes=namespace();api.nodes.prototype.hotThreads=ca({params:{interval:{type:"time"},snapshots:{type:"number"},threads:{type:"number"},ignoreIdleThreads:{type:"boolean",name:"ignore_idle_threads"},type:{type:"enum",options:["cpu","wait","block"]},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/hotthreads",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/hotthreads"}]});api.nodes.prototype.info=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/<%=metric%>",req:{metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes"}]});api.nodes.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"boolean"},level:{type:"enum",default:"node",options:["indices","node","shards"]},types:{type:"list"},timeout:{type:"time"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>/<%=indexMetric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats/<%=metric%>/<%=indexMetric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/stats/<%=metric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats"}]});api.nodes.prototype.usage=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/usage/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/<%=nodeId%>/usage",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/usage/<%=metric%>",req:{metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/usage"}]});api.ping=ca({url:{fmt:"/"},requestTimeout:3e3,method:"HEAD"});api.putScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},context:{type:"string"}},urls:[{fmt:"/_scripts/<%=id%>/<%=context%>",req:{id:{type:"string"},context:{type:"string"}}},{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}],needBody:true,method:"PUT"});api.rankEval=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_rank_eval",req:{index:{type:"list"}}},{fmt:"/_rank_eval"}],needBody:true,method:"POST"});api.reindex=ca({params:{refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},url:{fmt:"/_reindex"},needBody:true,method:"POST"});api.reindexRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_reindex/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.renderSearchTemplate=ca({urls:[{fmt:"/_render/template/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_render/template"}],method:"POST"});api.scriptsPainlessExecute=ca({url:{fmt:"/_scripts/painless/_execute"},method:"POST"});api.scroll=ca({params:{scroll:{type:"time"},scrollId:{type:"string",name:"scroll_id"}},urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"string"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"POST"});api.search=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},explain:{type:"boolean"},storedFields:{type:"list",name:"stored_fields"},docvalueFields:{type:"list",name:"docvalue_fields"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},suggestField:{type:"string",name:"suggest_field"},suggestMode:{type:"enum",default:"missing",options:["missing","popular","always"],name:"suggest_mode"},suggestSize:{type:"number",name:"suggest_size"},suggestText:{type:"string",name:"suggest_text"},timeout:{type:"time"},trackScores:{type:"boolean",name:"track_scores"},trackTotalHits:{type:"boolean",name:"track_total_hits"},allowPartialSearchResults:{type:"boolean",default:true,name:"allow_partial_search_results"},typedKeys:{type:"boolean",name:"typed_keys"},version:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},batchedReduceSize:{type:"number",default:512,name:"batched_reduce_size"},maxConcurrentShardRequests:{type:"number",default:"The default grows with the number of nodes in the cluster but is at most 256.",name:"max_concurrent_shard_requests"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search",req:{index:{type:"list"}}},{fmt:"/_search"}],method:"POST"});api.searchShards=ca({params:{preference:{type:"string"},routing:{type:"string"},local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_search_shards",req:{index:{type:"list"}}},{fmt:"/_search_shards"}],method:"POST"});api.searchTemplate=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},preference:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},explain:{type:"boolean"},profile:{type:"boolean"},typedKeys:{type:"boolean",name:"typed_keys"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search/template",req:{index:{type:"list"}}},{fmt:"/_search/template"}],needBody:true,method:"POST"});api.snapshot=namespace();api.snapshot.prototype.create=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.createRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},verify:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"string"}}},needBody:true,method:"POST"});api.snapshot.prototype["delete"]=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"DELETE"});api.snapshot.prototype.deleteRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},method:"DELETE"});api.snapshot.prototype.get=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},verbose:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"list"}}}});api.snapshot.prototype.getRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_snapshot"}]});api.snapshot.prototype.restore=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_restore",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.status=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"}},urls:[{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_status",req:{repository:{type:"string"},snapshot:{type:"list"}}},{fmt:"/_snapshot/<%=repository%>/_status",req:{repository:{type:"string"}}},{fmt:"/_snapshot/_status"}]});api.snapshot.prototype.verifyRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>/_verify",req:{repository:{type:"string"}}},method:"POST"});api.tasks=namespace();api.tasks.prototype.cancel=ca({params:{nodes:{type:"list"},actions:{type:"list"},parentTaskId:{type:"string",name:"parent_task_id"}},urls:[{fmt:"/_tasks/<%=taskId%>/_cancel",req:{taskId:{type:"string"}}},{fmt:"/_tasks/_cancel"}],method:"POST"});api.tasks.prototype.get=ca({params:{waitForCompletion:{type:"boolean",name:"wait_for_completion"},timeout:{type:"time"}},url:{fmt:"/_tasks/<%=taskId%>",req:{taskId:{type:"string"}}}});api.tasks.prototype.list=ca({params:{nodes:{type:"list"},actions:{type:"list"},detailed:{type:"boolean"},parentTaskId:{type:"string",name:"parent_task_id"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},groupBy:{type:"enum",default:"nodes",options:["nodes","parents","none"],name:"group_by"},timeout:{type:"time"}},url:{fmt:"/_tasks"}});api.termvectors=ca({params:{termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_termvectors",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>/_termvectors",req:{index:{type:"string"},type:{type:"string"}}}],method:"POST"});api.update=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},fields:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},lang:{type:"string"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},retryOnConflict:{type:"number",name:"retry_on_conflict"},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_update",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},needBody:true,method:"POST"});api.updateByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},pipeline:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},versionType:{type:"boolean",name:"version_type"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_update_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_update_by_query",req:{index:{type:"list"}}}],method:"POST"})},function(module,exports,__webpack_require__){var ca=__webpack_require__(1).makeFactoryWithModifier(function(spec){return __webpack_require__(0).merge(spec,{params:{filterPath:{type:"list",name:"filter_path"}}})});var namespace=__webpack_require__(1).namespaceFactory;var api=module.exports={};api._namespaces=["cat","cluster","indices","ingest","nodes","snapshot","tasks"];api.bulk=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},type:{type:"string"},fields:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/_bulk",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_bulk",req:{index:{type:"string"}}},{fmt:"/_bulk"}],needBody:true,bulkBody:true,method:"POST"});api.cat=namespace();api.cat.prototype.aliases=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/aliases/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_cat/aliases"}]});api.cat.prototype.allocation=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/allocation/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cat/allocation"}]});api.cat.prototype.count=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/count/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/count"}]});api.cat.prototype.fielddata=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false},fields:{type:"list"}},urls:[{fmt:"/_cat/fielddata/<%=fields%>",req:{fields:{type:"list"}}},{fmt:"/_cat/fielddata"}]});api.cat.prototype.health=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},ts:{type:"boolean",default:true},v:{type:"boolean",default:false}},url:{fmt:"/_cat/health"}});api.cat.prototype.help=ca({params:{help:{type:"boolean",default:false},s:{type:"list"}},url:{fmt:"/_cat"}});api.cat.prototype.indices=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","m","g"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},health:{type:"enum",default:null,options:["green","yellow","red"]},help:{type:"boolean",default:false},pri:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/indices/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/indices"}]});api.cat.prototype.master=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/master"}});api.cat.prototype.nodeattrs=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodeattrs"}});api.cat.prototype.nodes=ca({params:{format:{type:"string"},fullId:{type:"boolean",name:"full_id"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodes"}});api.cat.prototype.pendingTasks=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/pending_tasks"}});api.cat.prototype.plugins=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/plugins"}});api.cat.prototype.recovery=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/recovery/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/recovery"}]});api.cat.prototype.repositories=ca({params:{format:{type:"string"},local:{type:"boolean",default:false},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/repositories"}});api.cat.prototype.segments=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/segments/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/segments"}]});api.cat.prototype.shards=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/shards/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/shards"}]});api.cat.prototype.snapshots=ca({params:{format:{type:"string"},ignoreUnavailable:{type:"boolean",default:false,name:"ignore_unavailable"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/snapshots/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_cat/snapshots"}]});api.cat.prototype.tasks=ca({params:{format:{type:"string"},nodeId:{type:"list",name:"node_id"},actions:{type:"list"},detailed:{type:"boolean"},parentNode:{type:"string",name:"parent_node"},parentTask:{type:"number",name:"parent_task"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/tasks"}});api.cat.prototype.templates=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/templates/<%=name%>",req:{name:{type:"string"}}},{fmt:"/_cat/templates"}]});api.cat.prototype.threadPool=ca({params:{format:{type:"string"},size:{type:"enum",options:["","k","m","g","t","p"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/thread_pool/<%=threadPoolPatterns%>",req:{threadPoolPatterns:{type:"list"}}},{fmt:"/_cat/thread_pool"}]});api.clearScroll=ca({urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"list"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"DELETE"});api.cluster=namespace();api.cluster.prototype.allocationExplain=ca({params:{includeYesDecisions:{type:"boolean",name:"include_yes_decisions"},includeDiskInfo:{type:"boolean",name:"include_disk_info"}},url:{fmt:"/_cluster/allocation/explain"},method:"POST"});api.cluster.prototype.getSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/_cluster/settings"}});api.cluster.prototype.health=ca({params:{level:{type:"enum",default:"cluster",options:["cluster","indices","shards"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForNodes:{type:"string",name:"wait_for_nodes"},waitForEvents:{type:"enum",options:["immediate","urgent","high","normal","low","languid"],name:"wait_for_events"},waitForNoRelocatingShards:{type:"boolean",name:"wait_for_no_relocating_shards"},waitForNoInitializingShards:{type:"boolean",name:"wait_for_no_initializing_shards"},waitForStatus:{type:"enum",default:null,options:["green","yellow","red"],name:"wait_for_status"}},urls:[{fmt:"/_cluster/health/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cluster/health"}]});api.cluster.prototype.pendingTasks=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_cluster/pending_tasks"}});api.cluster.prototype.putSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/settings"},needBody:true,method:"PUT"});api.cluster.prototype.remoteInfo=ca({url:{fmt:"/_remote/info"}});api.cluster.prototype.reroute=ca({params:{dryRun:{type:"boolean",name:"dry_run"},explain:{type:"boolean"},retryFailed:{type:"boolean",name:"retry_failed"},metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","master_node","version"]},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/reroute"},method:"POST"});api.cluster.prototype.state=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/_cluster/state/<%=metric%>/<%=index%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]},index:{type:"list"}}},{fmt:"/_cluster/state/<%=metric%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]}}},{fmt:"/_cluster/state"}]});api.cluster.prototype.stats=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_cluster/stats/nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cluster/stats"}]});api.count=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},minScore:{type:"number",name:"min_score"},preference:{type:"string"},routing:{type:"list"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},terminateAfter:{type:"number",name:"terminate_after"}},urls:[{fmt:"/<%=index%>/<%=type%>/_count",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_count",req:{index:{type:"list"}}},{fmt:"/_count"}],method:"POST"});api.create=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},pipeline:{type:"string"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_create",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},needBody:true,method:"POST"});api["delete"]=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"DELETE"});api.deleteByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_delete_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_delete_by_query",req:{index:{type:"list"}}}],needBody:true,method:"POST"});api.deleteScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.exists=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"HEAD"});api.existsSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"HEAD"});api.explain=ca({params:{analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},analyzer:{type:"string"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},storedFields:{type:"list",name:"stored_fields"},lenient:{type:"boolean"},parent:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_explain",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"POST"});api.fieldCaps=ca({params:{fields:{type:"list"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_field_caps",req:{index:{type:"list"}}},{fmt:"/_field_caps"}],method:"POST"});api.get=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}}});api.getScript=ca({url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}});api.getSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}}});api.index=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},opType:{type:"enum",default:"index",options:["index","create"],name:"op_type"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>",req:{index:{type:"string"},type:{type:"string"}}}],needBody:true,method:"POST"});api.indices=namespace();api.indices.prototype.analyze=ca({params:{index:{type:"string"},preferLocal:{type:"boolean",name:"prefer_local"},format:{type:"enum",default:"detailed",options:["detailed","text"]}},urls:[{fmt:"/<%=index%>/_analyze",req:{index:{type:"string"}}},{fmt:"/_analyze"}],method:"POST"});api.indices.prototype.clearCache=ca({params:{fieldData:{type:"boolean",name:"field_data"},fielddata:{type:"boolean"},fields:{type:"list"},query:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},index:{type:"list"},recycler:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},request:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_cache/clear",req:{index:{type:"list"}}},{fmt:"/_cache/clear"}],method:"POST"});api.indices.prototype.close=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>/_close",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.create=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},updateAllTypes:{type:"boolean",name:"update_all_types"}},url:{fmt:"/<%=index%>",req:{index:{type:"string"}}},method:"PUT"});api.indices.prototype["delete"]=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteTemplate=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},method:"DELETE"});api.indices.prototype.exists=ca({params:{local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}}],method:"HEAD"});api.indices.prototype.existsTemplate=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsType=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},url:{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},method:"HEAD"});api.indices.prototype.flush=ca({params:{force:{type:"boolean"},waitIfOngoing:{type:"boolean",name:"wait_if_ongoing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush",req:{index:{type:"list"}}},{fmt:"/_flush"}],method:"POST"});api.indices.prototype.flushSynced=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush/synced",req:{index:{type:"list"}}},{fmt:"/_flush/synced"}],method:"POST"});api.indices.prototype.forcemerge=ca({params:{flush:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},maxNumSegments:{type:"number",name:"max_num_segments"},onlyExpungeDeletes:{type:"boolean",name:"only_expunge_deletes"}},urls:[{fmt:"/<%=index%>/_forcemerge",req:{index:{type:"list"}}},{fmt:"/_forcemerge"}],method:"POST"});api.indices.prototype.get=ca({params:{local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}}});api.indices.prototype.getAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}},{fmt:"/<%=index%>/_alias",req:{index:{type:"list"}}},{fmt:"/_alias"}]});api.indices.prototype.getFieldMapping=ca({params:{includeDefaults:{type:"boolean",name:"include_defaults"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>/field/<%=fields%>",req:{index:{type:"list"},type:{type:"list"},fields:{type:"list"}}},{fmt:"/<%=index%>/_mapping/field/<%=fields%>",req:{index:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/<%=type%>/field/<%=fields%>",req:{type:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/field/<%=fields%>",req:{fields:{type:"list"}}}]});api.indices.prototype.getMapping=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_mapping",req:{index:{type:"list"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"list"}}},{fmt:"/_mapping"}]});api.indices.prototype.getSettings=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:["open","closed"],options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},local:{type:"boolean"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},urls:[{fmt:"/<%=index%>/_settings/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_settings"}]});api.indices.prototype.getTemplate=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_template"}]});api.indices.prototype.getUpgrade=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}]});api.indices.prototype.open=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"closed",options:["open","closed","none","all"],name:"expand_wildcards"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_open",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.putAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"string"}}},method:"PUT"});api.indices.prototype.putMapping=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},updateAllTypes:{type:"boolean",name:"update_all_types"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"string"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"string"}}}],needBody:true,method:"PUT"});api.indices.prototype.putSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},preserveExisting:{type:"boolean",name:"preserve_existing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"}},urls:[{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings"}],needBody:true,method:"PUT"});api.indices.prototype.putTemplate=ca({params:{order:{type:"number"},create:{type:"boolean",default:false},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},needBody:true,method:"PUT"});api.indices.prototype.recovery=ca({params:{detailed:{type:"boolean",default:false},activeOnly:{type:"boolean",default:false,name:"active_only"}},urls:[{fmt:"/<%=index%>/_recovery",req:{index:{type:"list"}}},{fmt:"/_recovery"}]});api.indices.prototype.refresh=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_refresh",req:{index:{type:"list"}}},{fmt:"/_refresh"}],method:"POST"});api.indices.prototype.rollover=ca({params:{timeout:{type:"time"},dryRun:{type:"boolean",name:"dry_run"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},urls:[{fmt:"/<%=alias%>/_rollover/<%=newIndex%>",req:{alias:{type:"string"},newIndex:{type:"string"}}},{fmt:"/<%=alias%>/_rollover",req:{alias:{type:"string"}}}],method:"POST"});api.indices.prototype.segments=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},verbose:{type:"boolean",default:false}},urls:[{fmt:"/<%=index%>/_segments",req:{index:{type:"list"}}},{fmt:"/_segments"}]});api.indices.prototype.shardStores=ca({params:{status:{type:"list",options:["green","yellow","red","all"]},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_shard_stores",req:{index:{type:"list"}}},{fmt:"/_shard_stores"}]});api.indices.prototype.shrink=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_shrink/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.split=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_split/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"list"},level:{type:"enum",default:"indices",options:["cluster","indices","shards"]},types:{type:"list"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/<%=index%>/_stats/<%=metric%>",req:{index:{type:"list"},metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_stats/<%=metric%>",req:{metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/<%=index%>/_stats",req:{index:{type:"list"}}},{fmt:"/_stats"}]});api.indices.prototype.updateAliases=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_aliases"},needBody:true,method:"POST"});api.indices.prototype.upgrade=ca({params:{allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},onlyAncientSegments:{type:"boolean",name:"only_ancient_segments"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}],method:"POST"});api.indices.prototype.validateQuery=ca({params:{explain:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},rewrite:{type:"boolean"},allShards:{type:"boolean",name:"all_shards"}},urls:[{fmt:"/<%=index%>/<%=type%>/_validate/query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_validate/query",req:{index:{type:"list"}}},{fmt:"/_validate/query"}],method:"POST"});api.info=ca({url:{fmt:"/"}});api.ingest=namespace();api.ingest.prototype.deletePipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.ingest.prototype.getPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},urls:[{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline"}]});api.ingest.prototype.processorGrok=ca({url:{fmt:"/_ingest/processor/grok"}});api.ingest.prototype.putPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},needBody:true,method:"PUT"});api.ingest.prototype.simulate=ca({params:{verbose:{type:"boolean",default:false}},urls:[{fmt:"/_ingest/pipeline/<%=id%>/_simulate",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline/_simulate"}],needBody:true,method:"POST"});api.mget=ca({params:{storedFields:{type:"list",name:"stored_fields"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mget",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mget",req:{index:{type:"string"}}},{fmt:"/_mget"}],needBody:true,method:"POST"});api.msearch=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"},typedKeys:{type:"boolean",name:"typed_keys"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch",req:{index:{type:"list"}}},{fmt:"/_msearch"}],needBody:true,bulkBody:true,method:"POST"});api.msearchTemplate=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},typedKeys:{type:"boolean",name:"typed_keys"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch/template",req:{index:{type:"list"}}},{fmt:"/_msearch/template"}],needBody:true,bulkBody:true,method:"POST"});api.mtermvectors=ca({params:{ids:{type:"list",required:false},termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mtermvectors",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mtermvectors",req:{index:{type:"string"}}},{fmt:"/_mtermvectors"}],method:"POST"});api.nodes=namespace();api.nodes.prototype.hotThreads=ca({params:{interval:{type:"time"},snapshots:{type:"number"},threads:{type:"number"},ignoreIdleThreads:{type:"boolean",name:"ignore_idle_threads"},type:{type:"enum",options:["cpu","wait","block"]},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/hotthreads",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/hotthreads"}]});api.nodes.prototype.info=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/<%=metric%>",req:{metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes"}]});api.nodes.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"boolean"},level:{type:"enum",default:"node",options:["indices","node","shards"]},types:{type:"list"},timeout:{type:"time"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>/<%=indexMetric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats/<%=metric%>/<%=indexMetric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/stats/<%=metric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats"}]});api.nodes.prototype.usage=ca({params:{human:{type:"boolean",default:false},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/usage/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/<%=nodeId%>/usage",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/usage/<%=metric%>",req:{metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/usage"}]});api.ping=ca({url:{fmt:"/"},requestTimeout:3e3,method:"HEAD"});api.putScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},context:{type:"string"}},urls:[{fmt:"/_scripts/<%=id%>/<%=context%>",req:{id:{type:"string"},context:{type:"string"}}},{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}],needBody:true,method:"PUT"});api.rankEval=ca({urls:[{fmt:"/<%=index%>/<%=type%>/_rank_eval",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_rank_eval",req:{index:{type:"list"}}},{fmt:"/_rank_eval"}],needBody:true,method:"POST"});api.reindex=ca({params:{refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},url:{fmt:"/_reindex"},needBody:true,method:"POST"});api.reindexRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_reindex/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.renderSearchTemplate=ca({urls:[{fmt:"/_render/template/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_render/template"}],method:"POST"});api.scroll=ca({params:{scroll:{type:"time"},scrollId:{type:"string",name:"scroll_id"}},urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"string"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"POST"});api.search=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},explain:{type:"boolean"},storedFields:{type:"list",name:"stored_fields"},docvalueFields:{type:"list",name:"docvalue_fields"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},suggestField:{type:"string",name:"suggest_field"},suggestMode:{type:"enum",default:"missing",options:["missing","popular","always"],name:"suggest_mode"},suggestSize:{type:"number",name:"suggest_size"},suggestText:{type:"string",name:"suggest_text"},timeout:{type:"time"},trackScores:{type:"boolean",name:"track_scores"},trackTotalHits:{type:"boolean",name:"track_total_hits"},typedKeys:{type:"boolean",name:"typed_keys"},version:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},batchedReduceSize:{type:"number",default:512,name:"batched_reduce_size"},maxConcurrentShardRequests:{type:"number",default:"The default grows with the number of nodes in the cluster but is at most 256.",name:"max_concurrent_shard_requests"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search",req:{index:{type:"list"}}},{fmt:"/_search"}],method:"POST"});api.searchShards=ca({params:{preference:{type:"string"},routing:{type:"string"},local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_search_shards",req:{index:{type:"list"}}},{fmt:"/_search_shards"}],method:"POST"});api.searchTemplate=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},preference:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},explain:{type:"boolean"},profile:{type:"boolean"},typedKeys:{type:"boolean",name:"typed_keys"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search/template",req:{index:{type:"list"}}},{fmt:"/_search/template"}],needBody:true,method:"POST"});api.snapshot=namespace();api.snapshot.prototype.create=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.createRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},verify:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"string"}}},needBody:true,method:"POST"});api.snapshot.prototype["delete"]=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"DELETE"});api.snapshot.prototype.deleteRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},method:"DELETE"});api.snapshot.prototype.get=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},verbose:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"list"}}}});api.snapshot.prototype.getRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_snapshot"}]});api.snapshot.prototype.restore=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_restore",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.status=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"}},urls:[{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_status",req:{repository:{type:"string"},snapshot:{type:"list"}}},{fmt:"/_snapshot/<%=repository%>/_status",req:{repository:{type:"string"}}},{fmt:"/_snapshot/_status"}]});api.snapshot.prototype.verifyRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>/_verify",req:{repository:{type:"string"}}},method:"POST"});api.tasks=namespace();api.tasks.prototype.cancel=ca({params:{nodes:{type:"list"},actions:{type:"list"},parentNode:{type:"string",name:"parent_node"},parentTaskId:{type:"string",name:"parent_task_id"}},urls:[{fmt:"/_tasks/<%=taskId%>/_cancel",req:{taskId:{type:"string"}}},{fmt:"/_tasks/_cancel"}],method:"POST"});api.tasks.prototype.get=ca({params:{waitForCompletion:{type:"boolean",name:"wait_for_completion"}},url:{fmt:"/_tasks/<%=taskId%>",req:{taskId:{type:"string"}}}});api.tasks.prototype.list=ca({params:{nodes:{type:"list"},actions:{type:"list"},detailed:{type:"boolean"},parentNode:{type:"string",name:"parent_node"},parentTaskId:{type:"string",name:"parent_task_id"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},groupBy:{type:"enum",default:"nodes",options:["nodes","parents","none"],name:"group_by"}},url:{fmt:"/_tasks"}});api.termvectors=ca({params:{termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_termvectors",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>/_termvectors",req:{index:{type:"string"},type:{type:"string"}}}],method:"POST"});api.update=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},fields:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},lang:{type:"string"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},retryOnConflict:{type:"number",name:"retry_on_conflict"},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_update",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},needBody:true,method:"POST"});api.updateByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},pipeline:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},versionType:{type:"boolean",name:"version_type"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_update_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_update_by_query",req:{index:{type:"list"}}}],method:"POST"})},function(module,exports,__webpack_require__){var ca=__webpack_require__(1).makeFactoryWithModifier(function(spec){return __webpack_require__(0).merge(spec,{params:{filterPath:{type:"list",name:"filter_path"}}})});var namespace=__webpack_require__(1).namespaceFactory;var api=module.exports={};api._namespaces=["cat","cluster","indices","ingest","nodes","snapshot","tasks"];api.bulk=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},type:{type:"string"},fields:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/_bulk",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_bulk",req:{index:{type:"string"}}},{fmt:"/_bulk"}],needBody:true,bulkBody:true,method:"POST"});api.cat=namespace();api.cat.prototype.aliases=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/aliases/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_cat/aliases"}]});api.cat.prototype.allocation=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/allocation/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cat/allocation"}]});api.cat.prototype.count=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/count/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/count"}]});api.cat.prototype.fielddata=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false},fields:{type:"list"}},urls:[{fmt:"/_cat/fielddata/<%=fields%>",req:{fields:{type:"list"}}},{fmt:"/_cat/fielddata"}]});api.cat.prototype.health=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},ts:{type:"boolean",default:true},v:{type:"boolean",default:false}},url:{fmt:"/_cat/health"}});api.cat.prototype.help=ca({params:{help:{type:"boolean",default:false},s:{type:"list"}},url:{fmt:"/_cat"}});api.cat.prototype.indices=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","m","g"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},health:{type:"enum",default:null,options:["green","yellow","red"]},help:{type:"boolean",default:false},pri:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/indices/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/indices"}]});api.cat.prototype.master=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/master"}});api.cat.prototype.nodeattrs=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodeattrs"}});api.cat.prototype.nodes=ca({params:{format:{type:"string"},fullId:{type:"boolean",name:"full_id"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodes"}});api.cat.prototype.pendingTasks=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/pending_tasks"}});api.cat.prototype.plugins=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/plugins"}});api.cat.prototype.recovery=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/recovery/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/recovery"}]});api.cat.prototype.repositories=ca({params:{format:{type:"string"},local:{type:"boolean",default:false},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/repositories"}});api.cat.prototype.segments=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/segments/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/segments"}]});api.cat.prototype.shards=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/shards/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/shards"}]});api.cat.prototype.snapshots=ca({params:{format:{type:"string"},ignoreUnavailable:{type:"boolean",default:false,name:"ignore_unavailable"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/snapshots/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_cat/snapshots"}]});api.cat.prototype.tasks=ca({params:{format:{type:"string"},nodeId:{type:"list",name:"node_id"},actions:{type:"list"},detailed:{type:"boolean"},parentTask:{type:"number",name:"parent_task"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/tasks"}});api.cat.prototype.templates=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/templates/<%=name%>",req:{name:{type:"string"}}},{fmt:"/_cat/templates"}]});api.cat.prototype.threadPool=ca({params:{format:{type:"string"},size:{type:"enum",options:["","k","m","g","t","p"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/thread_pool/<%=threadPoolPatterns%>",req:{threadPoolPatterns:{type:"list"}}},{fmt:"/_cat/thread_pool"}]});api.clearScroll=ca({urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"list"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"DELETE"});api.cluster=namespace();api.cluster.prototype.allocationExplain=ca({params:{includeYesDecisions:{type:"boolean",name:"include_yes_decisions"},includeDiskInfo:{type:"boolean",name:"include_disk_info"}},url:{fmt:"/_cluster/allocation/explain"},method:"POST"});api.cluster.prototype.getSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/_cluster/settings"}});api.cluster.prototype.health=ca({params:{level:{type:"enum",default:"cluster",options:["cluster","indices","shards"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForNodes:{type:"string",name:"wait_for_nodes"},waitForEvents:{type:"enum",options:["immediate","urgent","high","normal","low","languid"],name:"wait_for_events"},waitForNoRelocatingShards:{type:"boolean",name:"wait_for_no_relocating_shards"},waitForNoInitializingShards:{type:"boolean",name:"wait_for_no_initializing_shards"},waitForStatus:{type:"enum",default:null,options:["green","yellow","red"],name:"wait_for_status"}},urls:[{fmt:"/_cluster/health/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cluster/health"}]});api.cluster.prototype.pendingTasks=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_cluster/pending_tasks"}});api.cluster.prototype.putSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/settings"},needBody:true,method:"PUT"});api.cluster.prototype.remoteInfo=ca({url:{fmt:"/_remote/info"}});api.cluster.prototype.reroute=ca({params:{dryRun:{type:"boolean",name:"dry_run"},explain:{type:"boolean"},retryFailed:{type:"boolean",name:"retry_failed"},metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","master_node","version"]},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/reroute"},method:"POST"});api.cluster.prototype.state=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"},waitForMetadataVersion:{type:"number",name:"wait_for_metadata_version"},waitForTimeout:{type:"time",name:"wait_for_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/_cluster/state/<%=metric%>/<%=index%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]},index:{type:"list"}}},{fmt:"/_cluster/state/<%=metric%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]}}},{fmt:"/_cluster/state"}]});api.cluster.prototype.stats=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_cluster/stats/nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cluster/stats"}]});api.count=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},minScore:{type:"number",name:"min_score"},preference:{type:"string"},routing:{type:"list"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},terminateAfter:{type:"number",name:"terminate_after"}},urls:[{fmt:"/<%=index%>/<%=type%>/_count",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_count",req:{index:{type:"list"}}},{fmt:"/_count"}],method:"POST"});api.create=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},pipeline:{type:"string"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_create",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},needBody:true,method:"POST"});api["delete"]=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},ifSeqNo:{type:"number",name:"if_seq_no"},ifPrimaryTerm:{type:"number",name:"if_primary_term"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"DELETE"});api.deleteByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_delete_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_delete_by_query",req:{index:{type:"list"}}}],needBody:true,method:"POST"});api.deleteByQueryRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_delete_by_query/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.deleteScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.exists=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"HEAD"});api.existsSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"HEAD"});api.explain=ca({params:{analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},analyzer:{type:"string"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},storedFields:{type:"list",name:"stored_fields"},lenient:{type:"boolean"},parent:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_explain",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},method:"POST"});api.fieldCaps=ca({params:{fields:{type:"list"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_field_caps",req:{index:{type:"list"}}},{fmt:"/_field_caps"}],method:"POST"});api.get=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}}});api.getScript=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}});api.getSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}}});api.index=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},opType:{type:"enum",default:"index",options:["index","create"],name:"op_type"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},ifSeqNo:{type:"number",name:"if_seq_no"},ifPrimaryTerm:{type:"number",name:"if_primary_term"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>",req:{index:{type:"string"},type:{type:"string"}}}],needBody:true,method:"POST"});api.indices=namespace();api.indices.prototype.analyze=ca({params:{index:{type:"string"}},urls:[{fmt:"/<%=index%>/_analyze",req:{index:{type:"string"}}},{fmt:"/_analyze"}],method:"POST"});api.indices.prototype.clearCache=ca({params:{fieldData:{type:"boolean",name:"field_data"},fielddata:{type:"boolean"},fields:{type:"list"},query:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},index:{type:"list"},requestCache:{type:"boolean",name:"request_cache"},request:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_cache/clear",req:{index:{type:"list"}}},{fmt:"/_cache/clear"}],method:"POST"});api.indices.prototype.close=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>/_close",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.create=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},updateAllTypes:{type:"boolean",name:"update_all_types"}},url:{fmt:"/<%=index%>",req:{index:{type:"string"}}},method:"PUT"});api.indices.prototype["delete"]=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteTemplate=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},method:"DELETE"});api.indices.prototype.exists=ca({params:{local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}}],method:"HEAD"});api.indices.prototype.existsTemplate=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsType=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},url:{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},method:"HEAD"});api.indices.prototype.flush=ca({params:{force:{type:"boolean"},waitIfOngoing:{type:"boolean",name:"wait_if_ongoing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush",req:{index:{type:"list"}}},{fmt:"/_flush"}],method:"POST"});api.indices.prototype.flushSynced=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush/synced",req:{index:{type:"list"}}},{fmt:"/_flush/synced"}],method:"POST"});api.indices.prototype.forcemerge=ca({params:{flush:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},maxNumSegments:{type:"number",name:"max_num_segments"},onlyExpungeDeletes:{type:"boolean",name:"only_expunge_deletes"}},urls:[{fmt:"/<%=index%>/_forcemerge",req:{index:{type:"list"}}},{fmt:"/_forcemerge"}],method:"POST"});api.indices.prototype.get=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}}});api.indices.prototype.getAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}},{fmt:"/<%=index%>/_alias",req:{index:{type:"list"}}},{fmt:"/_alias"}]});api.indices.prototype.getFieldMapping=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},includeDefaults:{type:"boolean",name:"include_defaults"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>/field/<%=fields%>",req:{index:{type:"list"},type:{type:"list"},fields:{type:"list"}}},{fmt:"/<%=index%>/_mapping/field/<%=fields%>",req:{index:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/<%=type%>/field/<%=fields%>",req:{type:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/field/<%=fields%>",req:{fields:{type:"list"}}}]});api.indices.prototype.getMapping=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_mapping",req:{index:{type:"list"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"list"}}},{fmt:"/_mapping"}]});api.indices.prototype.getSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:["open","closed"],options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},local:{type:"boolean"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},urls:[{fmt:"/<%=index%>/_settings/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_settings"}]});api.indices.prototype.getTemplate=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_template"}]});api.indices.prototype.getUpgrade=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}]});api.indices.prototype.open=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"closed",options:["open","closed","none","all"],name:"expand_wildcards"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_open",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.putAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"string"}}},method:"PUT"});api.indices.prototype.putMapping=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},updateAllTypes:{type:"boolean",name:"update_all_types"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"string"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"string"}}},{fmt:"/<%=index%>/_mapping",req:{index:{type:"list"}}}],needBody:true,method:"PUT"});api.indices.prototype.putSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},preserveExisting:{type:"boolean",name:"preserve_existing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"}},urls:[{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings"}],needBody:true,method:"PUT"});api.indices.prototype.putTemplate=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},order:{type:"number"},create:{type:"boolean",default:false},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},needBody:true,method:"PUT"});api.indices.prototype.recovery=ca({params:{detailed:{type:"boolean",default:false},activeOnly:{type:"boolean",default:false,name:"active_only"}},urls:[{fmt:"/<%=index%>/_recovery",req:{index:{type:"list"}}},{fmt:"/_recovery"}]});api.indices.prototype.refresh=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_refresh",req:{index:{type:"list"}}},{fmt:"/_refresh"}],method:"POST"});api.indices.prototype.rollover=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},timeout:{type:"time"},dryRun:{type:"boolean",name:"dry_run"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},urls:[{fmt:"/<%=alias%>/_rollover/<%=newIndex%>",req:{alias:{type:"string"},newIndex:{type:"string"}}},{fmt:"/<%=alias%>/_rollover",req:{alias:{type:"string"}}}],method:"POST"});api.indices.prototype.segments=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},verbose:{type:"boolean",default:false}},urls:[{fmt:"/<%=index%>/_segments",req:{index:{type:"list"}}},{fmt:"/_segments"}]});api.indices.prototype.shardStores=ca({params:{status:{type:"list",options:["green","yellow","red","all"]},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_shard_stores",req:{index:{type:"list"}}},{fmt:"/_shard_stores"}]});api.indices.prototype.shrink=ca({params:{copySettings:{type:"boolean",name:"copy_settings"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_shrink/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.split=ca({params:{copySettings:{type:"boolean",name:"copy_settings"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_split/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"list"},level:{type:"enum",default:"indices",options:["cluster","indices","shards"]},types:{type:"list"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/<%=index%>/_stats/<%=metric%>",req:{index:{type:"list"},metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_stats/<%=metric%>",req:{metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/<%=index%>/_stats",req:{index:{type:"list"}}},{fmt:"/_stats"}]});api.indices.prototype.updateAliases=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_aliases"},needBody:true,method:"POST"});api.indices.prototype.upgrade=ca({params:{allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},onlyAncientSegments:{type:"boolean",name:"only_ancient_segments"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}],method:"POST"});api.indices.prototype.validateQuery=ca({params:{explain:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},rewrite:{type:"boolean"},allShards:{type:"boolean",name:"all_shards"}},urls:[{fmt:"/<%=index%>/<%=type%>/_validate/query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_validate/query",req:{index:{type:"list"}}},{fmt:"/_validate/query"}],method:"POST"});api.info=ca({url:{fmt:"/"}});api.ingest=namespace();api.ingest.prototype.deletePipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.ingest.prototype.getPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},urls:[{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline"}]});api.ingest.prototype.processorGrok=ca({url:{fmt:"/_ingest/processor/grok"}});api.ingest.prototype.putPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},needBody:true,method:"PUT"});api.ingest.prototype.simulate=ca({params:{verbose:{type:"boolean",default:false}},urls:[{fmt:"/_ingest/pipeline/<%=id%>/_simulate",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline/_simulate"}],needBody:true,method:"POST"});api.mget=ca({params:{storedFields:{type:"list",name:"stored_fields"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mget",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mget",req:{index:{type:"string"}}},{fmt:"/_mget"}],needBody:true,method:"POST"});api.msearch=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"},typedKeys:{type:"boolean",name:"typed_keys"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"},maxConcurrentShardRequests:{type:"number",default:"The default grows with the number of nodes in the cluster but is at most 256.",name:"max_concurrent_shard_requests"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch",req:{index:{type:"list"}}},{fmt:"/_msearch"}],needBody:true,bulkBody:true,method:"POST"});api.msearchTemplate=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},typedKeys:{type:"boolean",name:"typed_keys"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch/template",req:{index:{type:"list"}}},{fmt:"/_msearch/template"}],needBody:true,bulkBody:true,method:"POST"});api.mtermvectors=ca({params:{ids:{type:"list",required:false},termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mtermvectors",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mtermvectors",req:{index:{type:"string"}}},{fmt:"/_mtermvectors"}],method:"POST"});api.nodes=namespace();api.nodes.prototype.hotThreads=ca({params:{interval:{type:"time"},snapshots:{type:"number"},threads:{type:"number"},ignoreIdleThreads:{type:"boolean",name:"ignore_idle_threads"},type:{type:"enum",options:["cpu","wait","block"]},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/hotthreads",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/hotthreads"}]});api.nodes.prototype.info=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/<%=metric%>",req:{metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes"}]});api.nodes.prototype.reloadSecureSettings=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/reload_secure_settings",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/reload_secure_settings"}],method:"POST"});api.nodes.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"boolean"},level:{type:"enum",default:"node",options:["indices","node","shards"]},types:{type:"list"},timeout:{type:"time"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>/<%=indexMetric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats/<%=metric%>/<%=indexMetric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/stats/<%=metric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats"}]});api.nodes.prototype.usage=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/usage/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/<%=nodeId%>/usage",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/usage/<%=metric%>",req:{metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/usage"}]});api.ping=ca({url:{fmt:"/"},requestTimeout:3e3,method:"HEAD"});api.putScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},context:{type:"string"}},urls:[{fmt:"/_scripts/<%=id%>/<%=context%>",req:{id:{type:"string"},context:{type:"string"}}},{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}],needBody:true,method:"PUT"});api.rankEval=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_rank_eval",req:{index:{type:"list"}}},{fmt:"/_rank_eval"}],needBody:true,method:"POST"});api.reindex=ca({params:{refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},url:{fmt:"/_reindex"},needBody:true,method:"POST"});api.reindexRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_reindex/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.renderSearchTemplate=ca({urls:[{fmt:"/_render/template/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_render/template"}],method:"POST"});api.scriptsPainlessExecute=ca({url:{fmt:"/_scripts/painless/_execute"},method:"POST"});api.scroll=ca({params:{scroll:{type:"time"},scrollId:{type:"string",name:"scroll_id"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"string"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"POST"});api.search=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},explain:{type:"boolean"},storedFields:{type:"list",name:"stored_fields"},docvalueFields:{type:"list",name:"docvalue_fields"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},suggestField:{type:"string",name:"suggest_field"},suggestMode:{type:"enum",default:"missing",options:["missing","popular","always"],name:"suggest_mode"},suggestSize:{type:"number",name:"suggest_size"},suggestText:{type:"string",name:"suggest_text"},timeout:{type:"time"},trackScores:{type:"boolean",name:"track_scores"},trackTotalHits:{type:"boolean",name:"track_total_hits"},allowPartialSearchResults:{type:"boolean",default:true,name:"allow_partial_search_results"},typedKeys:{type:"boolean",name:"typed_keys"},version:{type:"boolean"},seqNoPrimaryTerm:{type:"boolean",name:"seq_no_primary_term"},requestCache:{type:"boolean",name:"request_cache"},batchedReduceSize:{type:"number",default:512,name:"batched_reduce_size"},maxConcurrentShardRequests:{type:"number",default:"The default grows with the number of nodes in the cluster but is at most 256.",name:"max_concurrent_shard_requests"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search",req:{index:{type:"list"}}},{fmt:"/_search"}],method:"POST"});api.searchShards=ca({params:{preference:{type:"string"},routing:{type:"string"},local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_search_shards",req:{index:{type:"list"}}},{fmt:"/_search_shards"}],method:"POST"});api.searchTemplate=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},preference:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},explain:{type:"boolean"},profile:{type:"boolean"},typedKeys:{type:"boolean",name:"typed_keys"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search/template",req:{index:{type:"list"}}},{fmt:"/_search/template"}],needBody:true,method:"POST"});api.snapshot=namespace();api.snapshot.prototype.create=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.createRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},verify:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"string"}}},needBody:true,method:"POST"});api.snapshot.prototype["delete"]=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"DELETE"});api.snapshot.prototype.deleteRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},method:"DELETE"});api.snapshot.prototype.get=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},verbose:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"list"}}}});api.snapshot.prototype.getRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_snapshot"}]});api.snapshot.prototype.restore=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_restore",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.status=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"}},urls:[{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_status",req:{repository:{type:"string"},snapshot:{type:"list"}}},{fmt:"/_snapshot/<%=repository%>/_status",req:{repository:{type:"string"}}},{fmt:"/_snapshot/_status"}]});api.snapshot.prototype.verifyRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>/_verify",req:{repository:{type:"string"}}},method:"POST"});api.tasks=namespace();api.tasks.prototype.cancel=ca({params:{nodes:{type:"list"},actions:{type:"list"},parentTaskId:{type:"string",name:"parent_task_id"}},urls:[{fmt:"/_tasks/<%=taskId%>/_cancel",req:{taskId:{type:"string"}}},{fmt:"/_tasks/_cancel"}],method:"POST"});api.tasks.prototype.get=ca({params:{waitForCompletion:{type:"boolean",name:"wait_for_completion"},timeout:{type:"time"}},url:{fmt:"/_tasks/<%=taskId%>",req:{taskId:{type:"string"}}}});api.tasks.prototype.list=ca({params:{nodes:{type:"list"},actions:{type:"list"},detailed:{type:"boolean"},parentTaskId:{type:"string",name:"parent_task_id"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},groupBy:{type:"enum",default:"nodes",options:["nodes","parents","none"],name:"group_by"},timeout:{type:"time"}},url:{fmt:"/_tasks"}});api.termvectors=ca({params:{termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_termvectors",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>/_termvectors",req:{index:{type:"string"},type:{type:"string"}}}],method:"POST"});api.update=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},fields:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},lang:{type:"string"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},retryOnConflict:{type:"number",name:"retry_on_conflict"},routing:{type:"string"},timeout:{type:"time"},ifSeqNo:{type:"number",name:"if_seq_no"},ifPrimaryTerm:{type:"number",name:"if_primary_term"},version:{type:"number"},versionType:{type:"enum",options:["internal","force"],name:"version_type"}},url:{fmt:"/<%=index%>/<%=type%>/<%=id%>/_update",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},needBody:true,method:"POST"});api.updateByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},pipeline:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},versionType:{type:"boolean",name:"version_type"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_update_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_update_by_query",req:{index:{type:"list"}}}],method:"POST"});api.updateByQueryRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_update_by_query/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"})},function(module,exports,__webpack_require__){var ca=__webpack_require__(1).makeFactoryWithModifier(function(spec){return __webpack_require__(0).merge(spec,{params:{filterPath:{type:"list",name:"filter_path"}}})});var namespace=__webpack_require__(1).namespaceFactory;var api=module.exports={};api._namespaces=["cat","cluster","indices","ingest","nodes","snapshot","tasks"];api.bulk=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},type:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/_bulk",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_bulk",req:{index:{type:"string"}}},{fmt:"/_bulk"}],needBody:true,bulkBody:true,method:"POST"});api.cat=namespace();api.cat.prototype.aliases=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/aliases/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_cat/aliases"}]});api.cat.prototype.allocation=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/allocation/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cat/allocation"}]});api.cat.prototype.count=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/count/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/count"}]});api.cat.prototype.fielddata=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false},fields:{type:"list"}},urls:[{fmt:"/_cat/fielddata/<%=fields%>",req:{fields:{type:"list"}}},{fmt:"/_cat/fielddata"}]});api.cat.prototype.health=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},ts:{type:"boolean",default:true},v:{type:"boolean",default:false}},url:{fmt:"/_cat/health"}});api.cat.prototype.help=ca({params:{help:{type:"boolean",default:false},s:{type:"list"}},url:{fmt:"/_cat"}});api.cat.prototype.indices=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","m","g"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},health:{type:"enum",default:null,options:["green","yellow","red"]},help:{type:"boolean",default:false},pri:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/indices/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/indices"}]});api.cat.prototype.master=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/master"}});api.cat.prototype.nodeattrs=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodeattrs"}});api.cat.prototype.nodes=ca({params:{format:{type:"string"},fullId:{type:"boolean",name:"full_id"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodes"}});api.cat.prototype.pendingTasks=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/pending_tasks"}});api.cat.prototype.plugins=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/plugins"}});api.cat.prototype.recovery=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/recovery/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/recovery"}]});api.cat.prototype.repositories=ca({params:{format:{type:"string"},local:{type:"boolean",default:false},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/repositories"}});api.cat.prototype.segments=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/segments/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/segments"}]});api.cat.prototype.shards=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/shards/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/shards"}]});api.cat.prototype.snapshots=ca({params:{format:{type:"string"},ignoreUnavailable:{type:"boolean",default:false,name:"ignore_unavailable"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/snapshots/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_cat/snapshots"}]});api.cat.prototype.tasks=ca({params:{format:{type:"string"},nodeId:{type:"list",name:"node_id"},actions:{type:"list"},detailed:{type:"boolean"},parentTask:{type:"number",name:"parent_task"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/tasks"}});api.cat.prototype.templates=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/templates/<%=name%>",req:{name:{type:"string"}}},{fmt:"/_cat/templates"}]});api.cat.prototype.threadPool=ca({params:{format:{type:"string"},size:{type:"enum",options:["","k","m","g","t","p"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/thread_pool/<%=threadPoolPatterns%>",req:{threadPoolPatterns:{type:"list"}}},{fmt:"/_cat/thread_pool"}]});api.clearScroll=ca({urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"list"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"DELETE"});api.cluster=namespace();api.cluster.prototype.allocationExplain=ca({params:{includeYesDecisions:{type:"boolean",name:"include_yes_decisions"},includeDiskInfo:{type:"boolean",name:"include_disk_info"}},url:{fmt:"/_cluster/allocation/explain"},method:"POST"});api.cluster.prototype.getSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/_cluster/settings"}});api.cluster.prototype.health=ca({params:{level:{type:"enum",default:"cluster",options:["cluster","indices","shards"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForNodes:{type:"string",name:"wait_for_nodes"},waitForEvents:{type:"enum",options:["immediate","urgent","high","normal","low","languid"],name:"wait_for_events"},waitForNoRelocatingShards:{type:"boolean",name:"wait_for_no_relocating_shards"},waitForNoInitializingShards:{type:"boolean",name:"wait_for_no_initializing_shards"},waitForStatus:{type:"enum",default:null,options:["green","yellow","red"],name:"wait_for_status"}},urls:[{fmt:"/_cluster/health/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cluster/health"}]});api.cluster.prototype.pendingTasks=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_cluster/pending_tasks"}});api.cluster.prototype.putSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/settings"},needBody:true,method:"PUT"});api.cluster.prototype.remoteInfo=ca({url:{fmt:"/_remote/info"}});api.cluster.prototype.reroute=ca({params:{dryRun:{type:"boolean",name:"dry_run"},explain:{type:"boolean"},retryFailed:{type:"boolean",name:"retry_failed"},metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","master_node","version"]},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/reroute"},method:"POST"});api.cluster.prototype.state=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"},waitForMetadataVersion:{type:"number",name:"wait_for_metadata_version"},waitForTimeout:{type:"time",name:"wait_for_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/_cluster/state/<%=metric%>/<%=index%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]},index:{type:"list"}}},{fmt:"/_cluster/state/<%=metric%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]}}},{fmt:"/_cluster/state"}]});api.cluster.prototype.stats=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_cluster/stats/nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cluster/stats"}]});api.count=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},minScore:{type:"number",name:"min_score"},preference:{type:"string"},routing:{type:"list"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},terminateAfter:{type:"number",name:"terminate_after"}},urls:[{fmt:"/<%=index%>/<%=type%>/_count",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_count",req:{index:{type:"list"}}},{fmt:"/_count"}],method:"POST"});api.create=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_create",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_create/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],needBody:true,method:"POST"});api["delete"]=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},ifSeqNo:{type:"number",name:"if_seq_no"},ifPrimaryTerm:{type:"number",name:"if_primary_term"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_doc/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],method:"DELETE"});api.deleteByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_delete_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_delete_by_query",req:{index:{type:"list"}}}],needBody:true,method:"POST"});api.deleteByQueryRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_delete_by_query/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.deleteScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.exists=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_doc/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],method:"HEAD"});api.existsSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_source/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],method:"HEAD"});api.explain=ca({params:{analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},analyzer:{type:"string"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},storedFields:{type:"list",name:"stored_fields"},lenient:{type:"boolean"},parent:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_explain",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_explain/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],method:"POST"});api.fieldCaps=ca({params:{fields:{type:"list"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_field_caps",req:{index:{type:"list"}}},{fmt:"/_field_caps"}],method:"POST"});api.get=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_doc/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}]});api.getScript=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}});api.getSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_source/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}]});api.index=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},opType:{type:"enum",default:"index",options:["index","create"],name:"op_type"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},ifSeqNo:{type:"number",name:"if_seq_no"},ifPrimaryTerm:{type:"number",name:"if_primary_term"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_doc/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_doc",req:{index:{type:"string"}}}],needBody:true,method:"POST"});api.indices=namespace();api.indices.prototype.analyze=ca({params:{index:{type:"string"}},urls:[{fmt:"/<%=index%>/_analyze",req:{index:{type:"string"}}},{fmt:"/_analyze"}],method:"POST"});api.indices.prototype.clearCache=ca({params:{fielddata:{type:"boolean"},fields:{type:"list"},query:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},index:{type:"list"},request:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_cache/clear",req:{index:{type:"list"}}},{fmt:"/_cache/clear"}],method:"POST"});api.indices.prototype.close=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>/_close",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.create=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>",req:{index:{type:"string"}}},method:"PUT"});api.indices.prototype["delete"]=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteTemplate=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},method:"DELETE"});api.indices.prototype.exists=ca({params:{local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}}],method:"HEAD"});api.indices.prototype.existsTemplate=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsType=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},url:{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},method:"HEAD"});api.indices.prototype.flush=ca({params:{force:{type:"boolean"},waitIfOngoing:{type:"boolean",name:"wait_if_ongoing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush",req:{index:{type:"list"}}},{fmt:"/_flush"}],method:"POST"});api.indices.prototype.flushSynced=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush/synced",req:{index:{type:"list"}}},{fmt:"/_flush/synced"}],method:"POST"});api.indices.prototype.forcemerge=ca({params:{flush:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},maxNumSegments:{type:"number",name:"max_num_segments"},onlyExpungeDeletes:{type:"boolean",name:"only_expunge_deletes"}},urls:[{fmt:"/<%=index%>/_forcemerge",req:{index:{type:"list"}}},{fmt:"/_forcemerge"}],method:"POST"});api.indices.prototype.get=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}}});api.indices.prototype.getAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}},{fmt:"/<%=index%>/_alias",req:{index:{type:"list"}}},{fmt:"/_alias"}]});api.indices.prototype.getFieldMapping=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},includeDefaults:{type:"boolean",name:"include_defaults"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>/field/<%=fields%>",req:{index:{type:"list"},type:{type:"list"},fields:{type:"list"}}},{fmt:"/<%=index%>/_mapping/field/<%=fields%>",req:{index:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/<%=type%>/field/<%=fields%>",req:{type:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/field/<%=fields%>",req:{fields:{type:"list"}}}]});api.indices.prototype.getMapping=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_mapping",req:{index:{type:"list"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"list"}}},{fmt:"/_mapping"}]});api.indices.prototype.getSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:["open","closed"],options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},local:{type:"boolean"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},urls:[{fmt:"/<%=index%>/_settings/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_settings"}]});api.indices.prototype.getTemplate=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_template"}]});api.indices.prototype.getUpgrade=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}]});api.indices.prototype.open=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"closed",options:["open","closed","none","all"],name:"expand_wildcards"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_open",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.putAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"string"}}},method:"PUT"});api.indices.prototype.putMapping=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"string"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"string"}}},{fmt:"/<%=index%>/_mapping",req:{index:{type:"list"}}}],needBody:true,method:"PUT"});api.indices.prototype.putSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},preserveExisting:{type:"boolean",name:"preserve_existing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"}},urls:[{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings"}],needBody:true,method:"PUT"});api.indices.prototype.putTemplate=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},order:{type:"number"},create:{type:"boolean",default:false},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},needBody:true,method:"PUT"});api.indices.prototype.recovery=ca({params:{detailed:{type:"boolean",default:false},activeOnly:{type:"boolean",default:false,name:"active_only"}},urls:[{fmt:"/<%=index%>/_recovery",req:{index:{type:"list"}}},{fmt:"/_recovery"}]});api.indices.prototype.refresh=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_refresh",req:{index:{type:"list"}}},{fmt:"/_refresh"}],method:"POST"});api.indices.prototype.rollover=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},timeout:{type:"time"},dryRun:{type:"boolean",name:"dry_run"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},urls:[{fmt:"/<%=alias%>/_rollover/<%=newIndex%>",req:{alias:{type:"string"},newIndex:{type:"string"}}},{fmt:"/<%=alias%>/_rollover",req:{alias:{type:"string"}}}],method:"POST"});api.indices.prototype.segments=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},verbose:{type:"boolean",default:false}},urls:[{fmt:"/<%=index%>/_segments",req:{index:{type:"list"}}},{fmt:"/_segments"}]});api.indices.prototype.shardStores=ca({params:{status:{type:"list",options:["green","yellow","red","all"]},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_shard_stores",req:{index:{type:"list"}}},{fmt:"/_shard_stores"}]});api.indices.prototype.shrink=ca({params:{copySettings:{type:"boolean",name:"copy_settings"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_shrink/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.split=ca({params:{copySettings:{type:"boolean",name:"copy_settings"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_split/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"list"},level:{type:"enum",default:"indices",options:["cluster","indices","shards"]},types:{type:"list"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/<%=index%>/_stats/<%=metric%>",req:{index:{type:"list"},metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_stats/<%=metric%>",req:{metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/<%=index%>/_stats",req:{index:{type:"list"}}},{fmt:"/_stats"}]});api.indices.prototype.updateAliases=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_aliases"},needBody:true,method:"POST"});api.indices.prototype.upgrade=ca({params:{allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},onlyAncientSegments:{type:"boolean",name:"only_ancient_segments"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}],method:"POST"});api.indices.prototype.validateQuery=ca({params:{explain:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},rewrite:{type:"boolean"},allShards:{type:"boolean",name:"all_shards"}},urls:[{fmt:"/<%=index%>/<%=type%>/_validate/query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_validate/query",req:{index:{type:"list"}}},{fmt:"/_validate/query"}],method:"POST"});api.info=ca({url:{fmt:"/"}});api.ingest=namespace();api.ingest.prototype.deletePipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.ingest.prototype.getPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},urls:[{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline"}]});api.ingest.prototype.processorGrok=ca({url:{fmt:"/_ingest/processor/grok"}});api.ingest.prototype.putPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},needBody:true,method:"PUT"});api.ingest.prototype.simulate=ca({params:{verbose:{type:"boolean",default:false}},urls:[{fmt:"/_ingest/pipeline/<%=id%>/_simulate",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline/_simulate"}],needBody:true,method:"POST"});api.mget=ca({params:{storedFields:{type:"list",name:"stored_fields"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mget",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mget",req:{index:{type:"string"}}},{fmt:"/_mget"}],needBody:true,method:"POST"});api.msearch=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"},typedKeys:{type:"boolean",name:"typed_keys"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"},maxConcurrentShardRequests:{type:"number",default:"The default grows with the number of nodes in the cluster but is at most 256.",name:"max_concurrent_shard_requests"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"},ccsMinimizeRoundtrips:{type:"boolean",default:"true",name:"ccs_minimize_roundtrips"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch",req:{index:{type:"list"}}},{fmt:"/_msearch"}],needBody:true,bulkBody:true,method:"POST"});api.msearchTemplate=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},typedKeys:{type:"boolean",name:"typed_keys"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"},ccsMinimizeRoundtrips:{type:"boolean",default:"true",name:"ccs_minimize_roundtrips"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch/template",req:{index:{type:"list"}}},{fmt:"/_msearch/template"}],needBody:true,bulkBody:true,method:"POST"});api.mtermvectors=ca({params:{ids:{type:"list",required:false},termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mtermvectors",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mtermvectors",req:{index:{type:"string"}}},{fmt:"/_mtermvectors"}],method:"POST"});api.nodes=namespace();api.nodes.prototype.hotThreads=ca({params:{interval:{type:"time"},snapshots:{type:"number"},threads:{type:"number"},ignoreIdleThreads:{type:"boolean",name:"ignore_idle_threads"},type:{type:"enum",options:["cpu","wait","block"]},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/hotthreads",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/hotthreads"}]});api.nodes.prototype.info=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/<%=metric%>",req:{metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes"}]});api.nodes.prototype.reloadSecureSettings=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/reload_secure_settings",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/reload_secure_settings"}],method:"POST"});api.nodes.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"boolean"},level:{type:"enum",default:"node",options:["indices","node","shards"]},types:{type:"list"},timeout:{type:"time"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>/<%=indexMetric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats/<%=metric%>/<%=indexMetric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/stats/<%=metric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats"}]});api.nodes.prototype.usage=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/usage/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/<%=nodeId%>/usage",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/usage/<%=metric%>",req:{metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/usage"}]});api.ping=ca({url:{fmt:"/"},requestTimeout:3e3,method:"HEAD"});api.putScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},context:{type:"string"}},urls:[{fmt:"/_scripts/<%=id%>/<%=context%>",req:{id:{type:"string"},context:{type:"string"}}},{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}],needBody:true,method:"PUT"});api.rankEval=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_rank_eval",req:{index:{type:"list"}}},{fmt:"/_rank_eval"}],needBody:true,method:"POST"});api.reindex=ca({params:{refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},url:{fmt:"/_reindex"},needBody:true,method:"POST"});api.reindexRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_reindex/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.renderSearchTemplate=ca({urls:[{fmt:"/_render/template/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_render/template"}],method:"POST"});api.scriptsPainlessExecute=ca({url:{fmt:"/_scripts/painless/_execute"},method:"POST"});api.scroll=ca({params:{scroll:{type:"time"},scrollId:{type:"string",name:"scroll_id"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"string"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"POST"});api.search=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},ccsMinimizeRoundtrips:{type:"boolean",default:"true",name:"ccs_minimize_roundtrips"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},explain:{type:"boolean"},storedFields:{type:"list",name:"stored_fields"},docvalueFields:{type:"list",name:"docvalue_fields"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},suggestField:{type:"string",name:"suggest_field"},suggestMode:{type:"enum",default:"missing",options:["missing","popular","always"],name:"suggest_mode"},suggestSize:{type:"number",name:"suggest_size"},suggestText:{type:"string",name:"suggest_text"},timeout:{type:"time"},trackScores:{type:"boolean",name:"track_scores"},trackTotalHits:{type:"boolean",name:"track_total_hits"},allowPartialSearchResults:{type:"boolean",default:true,name:"allow_partial_search_results"},typedKeys:{type:"boolean",name:"typed_keys"},version:{type:"boolean"},seqNoPrimaryTerm:{type:"boolean",name:"seq_no_primary_term"},requestCache:{type:"boolean",name:"request_cache"},batchedReduceSize:{type:"number",default:512,name:"batched_reduce_size"},maxConcurrentShardRequests:{type:"number",default:"The default is 5.",name:"max_concurrent_shard_requests"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search",req:{index:{type:"list"}}},{fmt:"/_search"}],method:"POST"});api.searchShards=ca({params:{preference:{type:"string"},routing:{type:"string"},local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_search_shards",req:{index:{type:"list"}}},{fmt:"/_search_shards"}],method:"POST"});api.searchTemplate=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},preference:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},explain:{type:"boolean"},profile:{type:"boolean"},typedKeys:{type:"boolean",name:"typed_keys"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"},ccsMinimizeRoundtrips:{type:"boolean",default:"true",name:"ccs_minimize_roundtrips"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search/template",req:{index:{type:"list"}}},{fmt:"/_search/template"}],needBody:true,method:"POST"});api.snapshot=namespace();api.snapshot.prototype.create=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.createRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},verify:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"string"}}},needBody:true,method:"POST"});api.snapshot.prototype["delete"]=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"DELETE"});api.snapshot.prototype.deleteRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},method:"DELETE"});api.snapshot.prototype.get=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},verbose:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"list"}}}});api.snapshot.prototype.getRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_snapshot"}]});api.snapshot.prototype.restore=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_restore",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.status=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"}},urls:[{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_status",req:{repository:{type:"string"},snapshot:{type:"list"}}},{fmt:"/_snapshot/<%=repository%>/_status",req:{repository:{type:"string"}}},{fmt:"/_snapshot/_status"}]});api.snapshot.prototype.verifyRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>/_verify",req:{repository:{type:"string"}}},method:"POST"});api.tasks=namespace();api.tasks.prototype.cancel=ca({params:{nodes:{type:"list"},actions:{type:"list"},parentTaskId:{type:"string",name:"parent_task_id"}},urls:[{fmt:"/_tasks/<%=taskId%>/_cancel",req:{taskId:{type:"string"}}},{fmt:"/_tasks/_cancel"}],method:"POST"});api.tasks.prototype.get=ca({params:{waitForCompletion:{type:"boolean",name:"wait_for_completion"},timeout:{type:"time"}},url:{fmt:"/_tasks/<%=taskId%>",req:{taskId:{type:"string"}}}});api.tasks.prototype.list=ca({params:{nodes:{type:"list"},actions:{type:"list"},detailed:{type:"boolean"},parentTaskId:{type:"string",name:"parent_task_id"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},groupBy:{type:"enum",default:"nodes",options:["nodes","parents","none"],name:"group_by"},timeout:{type:"time"}},url:{fmt:"/_tasks"}});api.termvectors=ca({params:{termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_termvectors",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_termvectors/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>/_termvectors",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_termvectors/",req:{index:{type:"string"}}}],method:"POST"});api.update=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},lang:{type:"string"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},retryOnConflict:{type:"number",name:"retry_on_conflict"},routing:{type:"string"},timeout:{type:"time"},ifSeqNo:{type:"number",name:"if_seq_no"},ifPrimaryTerm:{type:"number",name:"if_primary_term"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_update",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_update/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],needBody:true,method:"POST"});api.updateByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},pipeline:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},versionType:{type:"boolean",name:"version_type"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_update_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_update_by_query",req:{index:{type:"list"}}}],method:"POST"});api.updateByQueryRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_update_by_query/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"})},function(module,exports,__webpack_require__){var ca=__webpack_require__(1).makeFactoryWithModifier(function(spec){return __webpack_require__(0).merge(spec,{params:{filterPath:{type:"list",name:"filter_path"}}})});var namespace=__webpack_require__(1).namespaceFactory;var api=module.exports={};api._namespaces=["cat","cluster","indices","ingest","nodes","snapshot","tasks"];api.bulk=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},type:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/_bulk",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_bulk",req:{index:{type:"string"}}},{fmt:"/_bulk"}],needBody:true,bulkBody:true,method:"POST"});api.cat=namespace();api.cat.prototype.aliases=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/aliases/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_cat/aliases"}]});api.cat.prototype.allocation=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/allocation/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cat/allocation"}]});api.cat.prototype.count=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/count/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/count"}]});api.cat.prototype.fielddata=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false},fields:{type:"list"}},urls:[{fmt:"/_cat/fielddata/<%=fields%>",req:{fields:{type:"list"}}},{fmt:"/_cat/fielddata"}]});api.cat.prototype.health=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},ts:{type:"boolean",default:true},v:{type:"boolean",default:false}},url:{fmt:"/_cat/health"}});api.cat.prototype.help=ca({params:{help:{type:"boolean",default:false},s:{type:"list"}},url:{fmt:"/_cat"}});api.cat.prototype.indices=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","m","g"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},health:{type:"enum",default:null,options:["green","yellow","red"]},help:{type:"boolean",default:false},pri:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/indices/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/indices"}]});api.cat.prototype.master=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/master"}});api.cat.prototype.nodeattrs=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodeattrs"}});api.cat.prototype.nodes=ca({params:{format:{type:"string"},fullId:{type:"boolean",name:"full_id"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodes"}});api.cat.prototype.pendingTasks=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/pending_tasks"}});api.cat.prototype.plugins=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/plugins"}});api.cat.prototype.recovery=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/recovery/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/recovery"}]});api.cat.prototype.repositories=ca({params:{format:{type:"string"},local:{type:"boolean",default:false},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/repositories"}});api.cat.prototype.segments=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/segments/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/segments"}]});api.cat.prototype.shards=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/shards/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/shards"}]});api.cat.prototype.snapshots=ca({params:{format:{type:"string"},ignoreUnavailable:{type:"boolean",default:false,name:"ignore_unavailable"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/snapshots/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_cat/snapshots"}]});api.cat.prototype.tasks=ca({params:{format:{type:"string"},nodeId:{type:"list",name:"node_id"},actions:{type:"list"},detailed:{type:"boolean"},parentTask:{type:"number",name:"parent_task"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/tasks"}});api.cat.prototype.templates=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/templates/<%=name%>",req:{name:{type:"string"}}},{fmt:"/_cat/templates"}]});api.cat.prototype.threadPool=ca({params:{format:{type:"string"},size:{type:"enum",options:["","k","m","g","t","p"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/thread_pool/<%=threadPoolPatterns%>",req:{threadPoolPatterns:{type:"list"}}},{fmt:"/_cat/thread_pool"}]});api.clearScroll=ca({urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"list"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"DELETE"});api.cluster=namespace();api.cluster.prototype.allocationExplain=ca({params:{includeYesDecisions:{type:"boolean",name:"include_yes_decisions"},includeDiskInfo:{type:"boolean",name:"include_disk_info"}},url:{fmt:"/_cluster/allocation/explain"},method:"POST"});api.cluster.prototype.getSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/_cluster/settings"}});api.cluster.prototype.health=ca({params:{level:{type:"enum",default:"cluster",options:["cluster","indices","shards"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForNodes:{type:"string",name:"wait_for_nodes"},waitForEvents:{type:"enum",options:["immediate","urgent","high","normal","low","languid"],name:"wait_for_events"},waitForNoRelocatingShards:{type:"boolean",name:"wait_for_no_relocating_shards"},waitForNoInitializingShards:{type:"boolean",name:"wait_for_no_initializing_shards"},waitForStatus:{type:"enum",default:null,options:["green","yellow","red"],name:"wait_for_status"}},urls:[{fmt:"/_cluster/health/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cluster/health"}]});api.cluster.prototype.pendingTasks=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_cluster/pending_tasks"}});api.cluster.prototype.putSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/settings"},needBody:true,method:"PUT"});api.cluster.prototype.remoteInfo=ca({url:{fmt:"/_remote/info"}});api.cluster.prototype.reroute=ca({params:{dryRun:{type:"boolean",name:"dry_run"},explain:{type:"boolean"},retryFailed:{type:"boolean",name:"retry_failed"},metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","master_node","version"]},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/reroute"},method:"POST"});api.cluster.prototype.state=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"},waitForMetadataVersion:{type:"number",name:"wait_for_metadata_version"},waitForTimeout:{type:"time",name:"wait_for_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/_cluster/state/<%=metric%>/<%=index%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]},index:{type:"list"}}},{fmt:"/_cluster/state/<%=metric%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]}}},{fmt:"/_cluster/state"}]});api.cluster.prototype.stats=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_cluster/stats/nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cluster/stats"}]});api.count=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},minScore:{type:"number",name:"min_score"},preference:{type:"string"},routing:{type:"list"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},terminateAfter:{type:"number",name:"terminate_after"}},urls:[{fmt:"/<%=index%>/<%=type%>/_count",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_count",req:{index:{type:"list"}}},{fmt:"/_count"}],method:"POST"});api.create=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_create",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_create/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],needBody:true,method:"POST"});api["delete"]=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},ifSeqNo:{type:"number",name:"if_seq_no"},ifPrimaryTerm:{type:"number",name:"if_primary_term"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_doc/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],method:"DELETE"});api.deleteByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_delete_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_delete_by_query",req:{index:{type:"list"}}}],needBody:true,method:"POST"});api.deleteByQueryRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_delete_by_query/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.deleteScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.exists=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_doc/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],method:"HEAD"});api.existsSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_source/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],method:"HEAD"});api.explain=ca({params:{analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},analyzer:{type:"string"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},storedFields:{type:"list",name:"stored_fields"},lenient:{type:"boolean"},parent:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_explain",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_explain/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],method:"POST"});api.fieldCaps=ca({params:{fields:{type:"list"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_field_caps",req:{index:{type:"list"}}},{fmt:"/_field_caps"}],method:"POST"});api.get=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_doc/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}]});api.getScript=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}});api.getSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_source/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}]});api.index=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},opType:{type:"enum",default:"index",options:["index","create"],name:"op_type"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},ifSeqNo:{type:"number",name:"if_seq_no"},ifPrimaryTerm:{type:"number",name:"if_primary_term"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_doc/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_doc",req:{index:{type:"string"}}}],needBody:true,method:"POST"});api.indices=namespace();api.indices.prototype.analyze=ca({params:{index:{type:"string"}},urls:[{fmt:"/<%=index%>/_analyze",req:{index:{type:"string"}}},{fmt:"/_analyze"}],method:"POST"});api.indices.prototype.clearCache=ca({params:{fielddata:{type:"boolean"},fields:{type:"list"},query:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},index:{type:"list"},request:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_cache/clear",req:{index:{type:"list"}}},{fmt:"/_cache/clear"}],method:"POST"});api.indices.prototype.close=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>/_close",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.create=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>",req:{index:{type:"string"}}},method:"PUT"});api.indices.prototype["delete"]=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteTemplate=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},method:"DELETE"});api.indices.prototype.exists=ca({params:{local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}}],method:"HEAD"});api.indices.prototype.existsTemplate=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsType=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},url:{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},method:"HEAD"});api.indices.prototype.flush=ca({params:{force:{type:"boolean"},waitIfOngoing:{type:"boolean",name:"wait_if_ongoing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush",req:{index:{type:"list"}}},{fmt:"/_flush"}],method:"POST"});api.indices.prototype.flushSynced=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush/synced",req:{index:{type:"list"}}},{fmt:"/_flush/synced"}],method:"POST"});api.indices.prototype.forcemerge=ca({params:{flush:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},maxNumSegments:{type:"number",name:"max_num_segments"},onlyExpungeDeletes:{type:"boolean",name:"only_expunge_deletes"}},urls:[{fmt:"/<%=index%>/_forcemerge",req:{index:{type:"list"}}},{fmt:"/_forcemerge"}],method:"POST"});api.indices.prototype.get=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}}});api.indices.prototype.getAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}},{fmt:"/<%=index%>/_alias",req:{index:{type:"list"}}},{fmt:"/_alias"}]});api.indices.prototype.getFieldMapping=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},includeDefaults:{type:"boolean",name:"include_defaults"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>/field/<%=fields%>",req:{index:{type:"list"},type:{type:"list"},fields:{type:"list"}}},{fmt:"/<%=index%>/_mapping/field/<%=fields%>",req:{index:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/<%=type%>/field/<%=fields%>",req:{type:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/field/<%=fields%>",req:{fields:{type:"list"}}}]});api.indices.prototype.getMapping=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_mapping",req:{index:{type:"list"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"list"}}},{fmt:"/_mapping"}]});api.indices.prototype.getSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:["open","closed"],options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},local:{type:"boolean"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},urls:[{fmt:"/<%=index%>/_settings/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_settings"}]});api.indices.prototype.getTemplate=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_template"}]});api.indices.prototype.getUpgrade=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}]});api.indices.prototype.open=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"closed",options:["open","closed","none","all"],name:"expand_wildcards"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_open",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.putAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"string"}}},method:"PUT"});api.indices.prototype.putMapping=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"string"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"string"}}},{fmt:"/<%=index%>/_mapping",req:{index:{type:"list"}}}],needBody:true,method:"PUT"});api.indices.prototype.putSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},preserveExisting:{type:"boolean",name:"preserve_existing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"}},urls:[{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings"}],needBody:true,method:"PUT"});api.indices.prototype.putTemplate=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},order:{type:"number"},create:{type:"boolean",default:false},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},needBody:true,method:"PUT"});api.indices.prototype.recovery=ca({params:{detailed:{type:"boolean",default:false},activeOnly:{type:"boolean",default:false,name:"active_only"}},urls:[{fmt:"/<%=index%>/_recovery",req:{index:{type:"list"}}},{fmt:"/_recovery"}]});api.indices.prototype.refresh=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_refresh",req:{index:{type:"list"}}},{fmt:"/_refresh"}],method:"POST"});api.indices.prototype.rollover=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},timeout:{type:"time"},dryRun:{type:"boolean",name:"dry_run"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},urls:[{fmt:"/<%=alias%>/_rollover/<%=newIndex%>",req:{alias:{type:"string"},newIndex:{type:"string"}}},{fmt:"/<%=alias%>/_rollover",req:{alias:{type:"string"}}}],method:"POST"});api.indices.prototype.segments=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},verbose:{type:"boolean",default:false}},urls:[{fmt:"/<%=index%>/_segments",req:{index:{type:"list"}}},{fmt:"/_segments"}]});api.indices.prototype.shardStores=ca({params:{status:{type:"list",options:["green","yellow","red","all"]},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_shard_stores",req:{index:{type:"list"}}},{fmt:"/_shard_stores"}]});api.indices.prototype.shrink=ca({params:{copySettings:{type:"boolean",name:"copy_settings"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_shrink/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.split=ca({params:{copySettings:{type:"boolean",name:"copy_settings"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_split/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"list"},level:{type:"enum",default:"indices",options:["cluster","indices","shards"]},types:{type:"list"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/<%=index%>/_stats/<%=metric%>",req:{index:{type:"list"},metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_stats/<%=metric%>",req:{metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/<%=index%>/_stats",req:{index:{type:"list"}}},{fmt:"/_stats"}]});api.indices.prototype.updateAliases=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_aliases"},needBody:true,method:"POST"});api.indices.prototype.upgrade=ca({params:{allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},onlyAncientSegments:{type:"boolean",name:"only_ancient_segments"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}],method:"POST"});api.indices.prototype.validateQuery=ca({params:{explain:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},rewrite:{type:"boolean"},allShards:{type:"boolean",name:"all_shards"}},urls:[{fmt:"/<%=index%>/<%=type%>/_validate/query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_validate/query",req:{index:{type:"list"}}},{fmt:"/_validate/query"}],method:"POST"});api.info=ca({url:{fmt:"/"}});api.ingest=namespace();api.ingest.prototype.deletePipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.ingest.prototype.getPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},urls:[{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline"}]});api.ingest.prototype.processorGrok=ca({url:{fmt:"/_ingest/processor/grok"}});api.ingest.prototype.putPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},needBody:true,method:"PUT"});api.ingest.prototype.simulate=ca({params:{verbose:{type:"boolean",default:false}},urls:[{fmt:"/_ingest/pipeline/<%=id%>/_simulate",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline/_simulate"}],needBody:true,method:"POST"});api.mget=ca({params:{storedFields:{type:"list",name:"stored_fields"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mget",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mget",req:{index:{type:"string"}}},{fmt:"/_mget"}],needBody:true,method:"POST"});api.msearch=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"},typedKeys:{type:"boolean",name:"typed_keys"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"},maxConcurrentShardRequests:{type:"number",default:"The default grows with the number of nodes in the cluster but is at most 256.",name:"max_concurrent_shard_requests"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"},ccsMinimizeRoundtrips:{type:"boolean",default:"true",name:"ccs_minimize_roundtrips"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch",req:{index:{type:"list"}}},{fmt:"/_msearch"}],needBody:true,bulkBody:true,method:"POST"});api.msearchTemplate=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},typedKeys:{type:"boolean",name:"typed_keys"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"},ccsMinimizeRoundtrips:{type:"boolean",default:"true",name:"ccs_minimize_roundtrips"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch/template",req:{index:{type:"list"}}},{fmt:"/_msearch/template"}],needBody:true,bulkBody:true,method:"POST"});api.mtermvectors=ca({params:{ids:{type:"list",required:false},termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mtermvectors",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mtermvectors",req:{index:{type:"string"}}},{fmt:"/_mtermvectors"}],method:"POST"});api.nodes=namespace();api.nodes.prototype.hotThreads=ca({params:{interval:{type:"time"},snapshots:{type:"number"},threads:{type:"number"},ignoreIdleThreads:{type:"boolean",name:"ignore_idle_threads"},type:{type:"enum",options:["cpu","wait","block"]},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/hotthreads",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/hotthreads"}]});api.nodes.prototype.info=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/<%=metric%>",req:{metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes"}]});api.nodes.prototype.reloadSecureSettings=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/reload_secure_settings",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/reload_secure_settings"}],method:"POST"});api.nodes.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"boolean"},level:{type:"enum",default:"node",options:["indices","node","shards"]},types:{type:"list"},timeout:{type:"time"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>/<%=indexMetric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats/<%=metric%>/<%=indexMetric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/stats/<%=metric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats"}]});api.nodes.prototype.usage=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/usage/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/<%=nodeId%>/usage",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/usage/<%=metric%>",req:{metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/usage"}]});api.ping=ca({url:{fmt:"/"},requestTimeout:3e3,method:"HEAD"});api.putScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},context:{type:"string"}},urls:[{fmt:"/_scripts/<%=id%>/<%=context%>",req:{id:{type:"string"},context:{type:"string"}}},{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}],needBody:true,method:"PUT"});api.rankEval=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_rank_eval",req:{index:{type:"list"}}},{fmt:"/_rank_eval"}],needBody:true,method:"POST"});api.reindex=ca({params:{refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},url:{fmt:"/_reindex"},needBody:true,method:"POST"});api.reindexRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_reindex/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.renderSearchTemplate=ca({urls:[{fmt:"/_render/template/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_render/template"}],method:"POST"});api.scriptsPainlessExecute=ca({url:{fmt:"/_scripts/painless/_execute"},method:"POST"});api.scroll=ca({params:{scroll:{type:"time"},scrollId:{type:"string",name:"scroll_id"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"string"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"POST"});api.search=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},ccsMinimizeRoundtrips:{type:"boolean",default:"true",name:"ccs_minimize_roundtrips"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},explain:{type:"boolean"},storedFields:{type:"list",name:"stored_fields"},docvalueFields:{type:"list",name:"docvalue_fields"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},suggestField:{type:"string",name:"suggest_field"},suggestMode:{type:"enum",default:"missing",options:["missing","popular","always"],name:"suggest_mode"},suggestSize:{type:"number",name:"suggest_size"},suggestText:{type:"string",name:"suggest_text"},timeout:{type:"time"},trackScores:{type:"boolean",name:"track_scores"},trackTotalHits:{type:"boolean",name:"track_total_hits"},allowPartialSearchResults:{type:"boolean",default:true,name:"allow_partial_search_results"},typedKeys:{type:"boolean",name:"typed_keys"},version:{type:"boolean"},seqNoPrimaryTerm:{type:"boolean",name:"seq_no_primary_term"},requestCache:{type:"boolean",name:"request_cache"},batchedReduceSize:{type:"number",default:512,name:"batched_reduce_size"},maxConcurrentShardRequests:{type:"number",default:"The default is 5.",name:"max_concurrent_shard_requests"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search",req:{index:{type:"list"}}},{fmt:"/_search"}],method:"POST"});api.searchShards=ca({params:{preference:{type:"string"},routing:{type:"string"},local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_search_shards",req:{index:{type:"list"}}},{fmt:"/_search_shards"}],method:"POST"});api.searchTemplate=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},preference:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},explain:{type:"boolean"},profile:{type:"boolean"},typedKeys:{type:"boolean",name:"typed_keys"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"},ccsMinimizeRoundtrips:{type:"boolean",default:"true",name:"ccs_minimize_roundtrips"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search/template",req:{index:{type:"list"}}},{fmt:"/_search/template"}],needBody:true,method:"POST"});api.snapshot=namespace();api.snapshot.prototype.create=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.createRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},verify:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"string"}}},needBody:true,method:"POST"});api.snapshot.prototype["delete"]=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"DELETE"});api.snapshot.prototype.deleteRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},method:"DELETE"});api.snapshot.prototype.get=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},verbose:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"list"}}}});api.snapshot.prototype.getRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_snapshot"}]});api.snapshot.prototype.restore=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_restore",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.status=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"}},urls:[{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_status",req:{repository:{type:"string"},snapshot:{type:"list"}}},{fmt:"/_snapshot/<%=repository%>/_status",req:{repository:{type:"string"}}},{fmt:"/_snapshot/_status"}]});api.snapshot.prototype.verifyRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>/_verify",req:{repository:{type:"string"}}},method:"POST"});api.tasks=namespace();api.tasks.prototype.cancel=ca({params:{nodes:{type:"list"},actions:{type:"list"},parentTaskId:{type:"string",name:"parent_task_id"}},urls:[{fmt:"/_tasks/<%=taskId%>/_cancel",req:{taskId:{type:"string"}}},{fmt:"/_tasks/_cancel"}],method:"POST"});api.tasks.prototype.get=ca({params:{waitForCompletion:{type:"boolean",name:"wait_for_completion"},timeout:{type:"time"}},url:{fmt:"/_tasks/<%=taskId%>",req:{taskId:{type:"string"}}}});api.tasks.prototype.list=ca({params:{nodes:{type:"list"},actions:{type:"list"},detailed:{type:"boolean"},parentTaskId:{type:"string",name:"parent_task_id"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},groupBy:{type:"enum",default:"nodes",options:["nodes","parents","none"],name:"group_by"},timeout:{type:"time"}},url:{fmt:"/_tasks"}});api.termvectors=ca({params:{termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_termvectors",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_termvectors/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>/_termvectors",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_termvectors/",req:{index:{type:"string"}}}],method:"POST"});api.update=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},lang:{type:"string"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},retryOnConflict:{type:"number",name:"retry_on_conflict"},routing:{type:"string"},timeout:{type:"time"},ifSeqNo:{type:"number",name:"if_seq_no"},ifPrimaryTerm:{type:"number",name:"if_primary_term"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_update",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_update/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],needBody:true,method:"POST"});api.updateByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},pipeline:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},versionType:{type:"boolean",name:"version_type"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_update_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_update_by_query",req:{index:{type:"list"}}}],method:"POST"});api.updateByQueryRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_update_by_query/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"})},function(module,exports,__webpack_require__){var ca=__webpack_require__(1).makeFactoryWithModifier(function(spec){return __webpack_require__(0).merge(spec,{params:{filterPath:{type:"list",name:"filter_path"}}})});var namespace=__webpack_require__(1).namespaceFactory;var api=module.exports={};api._namespaces=["cat","cluster","indices","ingest","nodes","snapshot","tasks"];api.bulk=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},type:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/_bulk",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_bulk",req:{index:{type:"string"}}},{fmt:"/_bulk"}],needBody:true,bulkBody:true,method:"POST"});api.cat=namespace();api.cat.prototype.aliases=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/aliases/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_cat/aliases"}]});api.cat.prototype.allocation=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/allocation/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cat/allocation"}]});api.cat.prototype.count=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/count/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/count"}]});api.cat.prototype.fielddata=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false},fields:{type:"list"}},urls:[{fmt:"/_cat/fielddata/<%=fields%>",req:{fields:{type:"list"}}},{fmt:"/_cat/fielddata"}]});api.cat.prototype.health=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},ts:{type:"boolean",default:true},v:{type:"boolean",default:false}},url:{fmt:"/_cat/health"}});api.cat.prototype.help=ca({params:{help:{type:"boolean",default:false},s:{type:"list"}},url:{fmt:"/_cat"}});api.cat.prototype.indices=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","m","g"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},health:{type:"enum",default:null,options:["green","yellow","red"]},help:{type:"boolean",default:false},pri:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/indices/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/indices"}]});api.cat.prototype.master=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/master"}});api.cat.prototype.nodeattrs=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodeattrs"}});api.cat.prototype.nodes=ca({params:{format:{type:"string"},fullId:{type:"boolean",name:"full_id"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/nodes"}});api.cat.prototype.pendingTasks=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/pending_tasks"}});api.cat.prototype.plugins=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/plugins"}});api.cat.prototype.recovery=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/recovery/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/recovery"}]});api.cat.prototype.repositories=ca({params:{format:{type:"string"},local:{type:"boolean",default:false},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/repositories"}});api.cat.prototype.segments=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/segments/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/segments"}]});api.cat.prototype.shards=ca({params:{format:{type:"string"},bytes:{type:"enum",options:["b","k","kb","m","mb","g","gb","t","tb","p","pb"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/shards/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cat/shards"}]});api.cat.prototype.snapshots=ca({params:{format:{type:"string"},ignoreUnavailable:{type:"boolean",default:false,name:"ignore_unavailable"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/snapshots/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_cat/snapshots"}]});api.cat.prototype.tasks=ca({params:{format:{type:"string"},nodeId:{type:"list",name:"node_id"},actions:{type:"list"},detailed:{type:"boolean"},parentTask:{type:"number",name:"parent_task"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},url:{fmt:"/_cat/tasks"}});api.cat.prototype.templates=ca({params:{format:{type:"string"},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/templates/<%=name%>",req:{name:{type:"string"}}},{fmt:"/_cat/templates"}]});api.cat.prototype.threadPool=ca({params:{format:{type:"string"},size:{type:"enum",options:["","k","m","g","t","p"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},h:{type:"list"},help:{type:"boolean",default:false},s:{type:"list"},v:{type:"boolean",default:false}},urls:[{fmt:"/_cat/thread_pool/<%=threadPoolPatterns%>",req:{threadPoolPatterns:{type:"list"}}},{fmt:"/_cat/thread_pool"}]});api.clearScroll=ca({urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"list"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"DELETE"});api.cluster=namespace();api.cluster.prototype.allocationExplain=ca({params:{includeYesDecisions:{type:"boolean",name:"include_yes_decisions"},includeDiskInfo:{type:"boolean",name:"include_disk_info"}},url:{fmt:"/_cluster/allocation/explain"},method:"POST"});api.cluster.prototype.getSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/_cluster/settings"}});api.cluster.prototype.health=ca({params:{level:{type:"enum",default:"cluster",options:["cluster","indices","shards"]},local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForNodes:{type:"string",name:"wait_for_nodes"},waitForEvents:{type:"enum",options:["immediate","urgent","high","normal","low","languid"],name:"wait_for_events"},waitForNoRelocatingShards:{type:"boolean",name:"wait_for_no_relocating_shards"},waitForNoInitializingShards:{type:"boolean",name:"wait_for_no_initializing_shards"},waitForStatus:{type:"enum",default:null,options:["green","yellow","red"],name:"wait_for_status"}},urls:[{fmt:"/_cluster/health/<%=index%>",req:{index:{type:"list"}}},{fmt:"/_cluster/health"}]});api.cluster.prototype.pendingTasks=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_cluster/pending_tasks"}});api.cluster.prototype.putSettings=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/settings"},needBody:true,method:"PUT"});api.cluster.prototype.remoteInfo=ca({url:{fmt:"/_remote/info"}});api.cluster.prototype.reroute=ca({params:{dryRun:{type:"boolean",name:"dry_run"},explain:{type:"boolean"},retryFailed:{type:"boolean",name:"retry_failed"},metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","master_node","version"]},masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_cluster/reroute"},method:"POST"});api.cluster.prototype.state=ca({params:{local:{type:"boolean"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"},waitForMetadataVersion:{type:"number",name:"wait_for_metadata_version"},waitForTimeout:{type:"time",name:"wait_for_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/_cluster/state/<%=metric%>/<%=index%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]},index:{type:"list"}}},{fmt:"/_cluster/state/<%=metric%>",req:{metric:{type:"list",options:["_all","blocks","metadata","nodes","routing_table","routing_nodes","master_node","version"]}}},{fmt:"/_cluster/state"}]});api.cluster.prototype.stats=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_cluster/stats/nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_cluster/stats"}]});api.count=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},minScore:{type:"number",name:"min_score"},preference:{type:"string"},routing:{type:"list"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},terminateAfter:{type:"number",name:"terminate_after"}},urls:[{fmt:"/<%=index%>/<%=type%>/_count",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_count",req:{index:{type:"list"}}},{fmt:"/_count"}],method:"POST"});api.create=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_create",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_create/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],needBody:true,method:"POST"});api["delete"]=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},ifSeqNo:{type:"number",name:"if_seq_no"},ifPrimaryTerm:{type:"number",name:"if_primary_term"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_doc/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],method:"DELETE"});api.deleteByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_delete_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_delete_by_query",req:{index:{type:"list"}}}],needBody:true,method:"POST"});api.deleteByQueryRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_delete_by_query/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.deleteScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.exists=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_doc/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],method:"HEAD"});api.existsSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_source/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],method:"HEAD"});api.explain=ca({params:{analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},analyzer:{type:"string"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},storedFields:{type:"list",name:"stored_fields"},lenient:{type:"boolean"},parent:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_explain",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_explain/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],method:"POST"});api.fieldCaps=ca({params:{fields:{type:"list"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_field_caps",req:{index:{type:"list"}}},{fmt:"/_field_caps"}],method:"POST"});api.get=ca({params:{storedFields:{type:"list",name:"stored_fields"},parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},_sourceExclude:{type:"list",name:"_source_exclude"},_sourceInclude:{type:"list",name:"_source_include"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_doc/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}]});api.getScript=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}});api.getSource=ca({params:{parent:{type:"string"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_source",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_source/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}]});api.index=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},opType:{type:"enum",default:"index",options:["index","create"],name:"op_type"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},routing:{type:"string"},timeout:{type:"time"},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"},ifSeqNo:{type:"number",name:"if_seq_no"},ifPrimaryTerm:{type:"number",name:"if_primary_term"},pipeline:{type:"string"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_doc/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_doc",req:{index:{type:"string"}}}],needBody:true,method:"POST"});api.indices=namespace();api.indices.prototype.analyze=ca({params:{index:{type:"string"}},urls:[{fmt:"/<%=index%>/_analyze",req:{index:{type:"string"}}},{fmt:"/_analyze"}],method:"POST"});api.indices.prototype.clearCache=ca({params:{fielddata:{type:"boolean"},fields:{type:"list"},query:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},index:{type:"list"},request:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_cache/clear",req:{index:{type:"list"}}},{fmt:"/_cache/clear"}],method:"POST"});api.indices.prototype.close=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>/_close",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.create=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>",req:{index:{type:"string"}}},method:"PUT"});api.indices.prototype["delete"]=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},method:"DELETE"});api.indices.prototype.deleteTemplate=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},method:"DELETE"});api.indices.prototype.exists=ca({params:{local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}}],method:"HEAD"});api.indices.prototype.existsTemplate=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},method:"HEAD"});api.indices.prototype.existsType=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},url:{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},method:"HEAD"});api.indices.prototype.flush=ca({params:{force:{type:"boolean"},waitIfOngoing:{type:"boolean",name:"wait_if_ongoing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush",req:{index:{type:"list"}}},{fmt:"/_flush"}],method:"POST"});api.indices.prototype.flushSynced=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_flush/synced",req:{index:{type:"list"}}},{fmt:"/_flush/synced"}],method:"POST"});api.indices.prototype.forcemerge=ca({params:{flush:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},maxNumSegments:{type:"number",name:"max_num_segments"},onlyExpungeDeletes:{type:"boolean",name:"only_expunge_deletes"}},urls:[{fmt:"/<%=index%>/_forcemerge",req:{index:{type:"list"}}},{fmt:"/_forcemerge"}],method:"POST"});api.indices.prototype.get=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>",req:{index:{type:"list"}}}});api.indices.prototype.getAlias=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"all",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/_alias/<%=name%>",req:{name:{type:"list"}}},{fmt:"/<%=index%>/_alias",req:{index:{type:"list"}}},{fmt:"/_alias"}]});api.indices.prototype.getFieldMapping=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},includeDefaults:{type:"boolean",name:"include_defaults"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>/field/<%=fields%>",req:{index:{type:"list"},type:{type:"list"},fields:{type:"list"}}},{fmt:"/<%=index%>/_mapping/field/<%=fields%>",req:{index:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/<%=type%>/field/<%=fields%>",req:{type:{type:"list"},fields:{type:"list"}}},{fmt:"/_mapping/field/<%=fields%>",req:{fields:{type:"list"}}}]});api.indices.prototype.getMapping=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_mapping",req:{index:{type:"list"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"list"}}},{fmt:"/_mapping"}]});api.indices.prototype.getSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:["open","closed"],options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"},local:{type:"boolean"},includeDefaults:{type:"boolean",default:false,name:"include_defaults"}},urls:[{fmt:"/<%=index%>/_settings/<%=name%>",req:{index:{type:"list"},name:{type:"list"}}},{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_settings"}]});api.indices.prototype.getTemplate=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},flatSettings:{type:"boolean",name:"flat_settings"},masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_template/<%=name%>",req:{name:{type:"list"}}},{fmt:"/_template"}]});api.indices.prototype.getUpgrade=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}]});api.indices.prototype.open=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"closed",options:["open","closed","none","all"],name:"expand_wildcards"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_open",req:{index:{type:"list"}}},method:"POST"});api.indices.prototype.putAlias=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/<%=index%>/_alias/<%=name%>",req:{index:{type:"list"},name:{type:"string"}}},method:"PUT"});api.indices.prototype.putMapping=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_mapping/<%=type%>",req:{index:{type:"list"},type:{type:"string"}}},{fmt:"/_mapping/<%=type%>",req:{type:{type:"string"}}},{fmt:"/<%=index%>/_mapping",req:{index:{type:"list"}}}],needBody:true,method:"PUT"});api.indices.prototype.putSettings=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},preserveExisting:{type:"boolean",name:"preserve_existing"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},flatSettings:{type:"boolean",name:"flat_settings"}},urls:[{fmt:"/<%=index%>/_settings",req:{index:{type:"list"}}},{fmt:"/_settings"}],needBody:true,method:"PUT"});api.indices.prototype.putTemplate=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},order:{type:"number"},create:{type:"boolean",default:false},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},flatSettings:{type:"boolean",name:"flat_settings"}},url:{fmt:"/_template/<%=name%>",req:{name:{type:"string"}}},needBody:true,method:"PUT"});api.indices.prototype.recovery=ca({params:{detailed:{type:"boolean",default:false},activeOnly:{type:"boolean",default:false,name:"active_only"}},urls:[{fmt:"/<%=index%>/_recovery",req:{index:{type:"list"}}},{fmt:"/_recovery"}]});api.indices.prototype.refresh=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_refresh",req:{index:{type:"list"}}},{fmt:"/_refresh"}],method:"POST"});api.indices.prototype.rollover=ca({params:{includeTypeName:{type:"boolean",name:"include_type_name"},timeout:{type:"time"},dryRun:{type:"boolean",name:"dry_run"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},urls:[{fmt:"/<%=alias%>/_rollover/<%=newIndex%>",req:{alias:{type:"string"},newIndex:{type:"string"}}},{fmt:"/<%=alias%>/_rollover",req:{alias:{type:"string"}}}],method:"POST"});api.indices.prototype.segments=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},verbose:{type:"boolean",default:false}},urls:[{fmt:"/<%=index%>/_segments",req:{index:{type:"list"}}},{fmt:"/_segments"}]});api.indices.prototype.shardStores=ca({params:{status:{type:"list",options:["green","yellow","red","all"]},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_shard_stores",req:{index:{type:"list"}}},{fmt:"/_shard_stores"}]});api.indices.prototype.shrink=ca({params:{copySettings:{type:"boolean",name:"copy_settings"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_shrink/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.split=ca({params:{copySettings:{type:"boolean",name:"copy_settings"},timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"}},url:{fmt:"/<%=index%>/_split/<%=target%>",req:{index:{type:"string"},target:{type:"string"}}},method:"POST"});api.indices.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"list"},level:{type:"enum",default:"indices",options:["cluster","indices","shards"]},types:{type:"list"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/<%=index%>/_stats/<%=metric%>",req:{index:{type:"list"},metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_stats/<%=metric%>",req:{metric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/<%=index%>/_stats",req:{index:{type:"list"}}},{fmt:"/_stats"}]});api.indices.prototype.updateAliases=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_aliases"},needBody:true,method:"POST"});api.indices.prototype.upgrade=ca({params:{allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},onlyAncientSegments:{type:"boolean",name:"only_ancient_segments"}},urls:[{fmt:"/<%=index%>/_upgrade",req:{index:{type:"list"}}},{fmt:"/_upgrade"}],method:"POST"});api.indices.prototype.validateQuery=ca({params:{explain:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},q:{type:"string"},analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},lenient:{type:"boolean"},rewrite:{type:"boolean"},allShards:{type:"boolean",name:"all_shards"}},urls:[{fmt:"/<%=index%>/<%=type%>/_validate/query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_validate/query",req:{index:{type:"list"}}},{fmt:"/_validate/query"}],method:"POST"});api.info=ca({url:{fmt:"/"}});api.ingest=namespace();api.ingest.prototype.deletePipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},method:"DELETE"});api.ingest.prototype.getPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},urls:[{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline"}]});api.ingest.prototype.processorGrok=ca({url:{fmt:"/_ingest/processor/grok"}});api.ingest.prototype.putPipeline=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_ingest/pipeline/<%=id%>",req:{id:{type:"string"}}},needBody:true,method:"PUT"});api.ingest.prototype.simulate=ca({params:{verbose:{type:"boolean",default:false}},urls:[{fmt:"/_ingest/pipeline/<%=id%>/_simulate",req:{id:{type:"string"}}},{fmt:"/_ingest/pipeline/_simulate"}],needBody:true,method:"POST"});api.mget=ca({params:{storedFields:{type:"list",name:"stored_fields"},preference:{type:"string"},realtime:{type:"boolean"},refresh:{type:"boolean"},routing:{type:"string"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mget",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mget",req:{index:{type:"string"}}},{fmt:"/_mget"}],needBody:true,method:"POST"});api.msearch=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"},typedKeys:{type:"boolean",name:"typed_keys"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"},maxConcurrentShardRequests:{type:"number",default:"The default grows with the number of nodes in the cluster but is at most 256.",name:"max_concurrent_shard_requests"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"},ccsMinimizeRoundtrips:{type:"boolean",default:"true",name:"ccs_minimize_roundtrips"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch",req:{index:{type:"list"}}},{fmt:"/_msearch"}],needBody:true,bulkBody:true,method:"POST"});api.msearchTemplate=ca({params:{searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},typedKeys:{type:"boolean",name:"typed_keys"},maxConcurrentSearches:{type:"number",name:"max_concurrent_searches"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"},ccsMinimizeRoundtrips:{type:"boolean",default:"true",name:"ccs_minimize_roundtrips"}},urls:[{fmt:"/<%=index%>/<%=type%>/_msearch/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_msearch/template",req:{index:{type:"list"}}},{fmt:"/_msearch/template"}],needBody:true,bulkBody:true,method:"POST"});api.mtermvectors=ca({params:{ids:{type:"list",required:false},termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/_mtermvectors",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_mtermvectors",req:{index:{type:"string"}}},{fmt:"/_mtermvectors"}],method:"POST"});api.nodes=namespace();api.nodes.prototype.hotThreads=ca({params:{interval:{type:"time"},snapshots:{type:"number"},threads:{type:"number"},ignoreIdleThreads:{type:"boolean",name:"ignore_idle_threads"},type:{type:"enum",options:["cpu","wait","block"]},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/hotthreads",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/hotthreads"}]});api.nodes.prototype.info=ca({params:{flatSettings:{type:"boolean",name:"flat_settings"},timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes/<%=nodeId%>",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/<%=metric%>",req:{metric:{type:"list",options:["settings","os","process","jvm","thread_pool","transport","http","plugins","ingest"]}}},{fmt:"/_nodes"}]});api.nodes.prototype.reloadSecureSettings=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/reload_secure_settings",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/reload_secure_settings"}],method:"POST"});api.nodes.prototype.stats=ca({params:{completionFields:{type:"list",name:"completion_fields"},fielddataFields:{type:"list",name:"fielddata_fields"},fields:{type:"list"},groups:{type:"boolean"},level:{type:"enum",default:"node",options:["indices","node","shards"]},types:{type:"list"},timeout:{type:"time"},includeSegmentFileSizes:{type:"boolean",default:false,name:"include_segment_file_sizes"}},urls:[{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>/<%=indexMetric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats/<%=metric%>/<%=indexMetric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]},indexMetric:{type:"list",options:["_all","completion","docs","fielddata","query_cache","flush","get","indexing","merge","request_cache","refresh","search","segments","store","warmer","suggest"]}}},{fmt:"/_nodes/<%=nodeId%>/stats",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/stats/<%=metric%>",req:{metric:{type:"list",options:["_all","breaker","fs","http","indices","jvm","os","process","thread_pool","transport","discovery"]}}},{fmt:"/_nodes/stats"}]});api.nodes.prototype.usage=ca({params:{timeout:{type:"time"}},urls:[{fmt:"/_nodes/<%=nodeId%>/usage/<%=metric%>",req:{nodeId:{type:"list"},metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/<%=nodeId%>/usage",req:{nodeId:{type:"list"}}},{fmt:"/_nodes/usage/<%=metric%>",req:{metric:{type:"list",options:["_all","rest_actions"]}}},{fmt:"/_nodes/usage"}]});api.ping=ca({url:{fmt:"/"},requestTimeout:3e3,method:"HEAD"});api.putScript=ca({params:{timeout:{type:"time"},masterTimeout:{type:"time",name:"master_timeout"},context:{type:"string"}},urls:[{fmt:"/_scripts/<%=id%>/<%=context%>",req:{id:{type:"string"},context:{type:"string"}}},{fmt:"/_scripts/<%=id%>",req:{id:{type:"string"}}}],needBody:true,method:"PUT"});api.rankEval=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_rank_eval",req:{index:{type:"list"}}},{fmt:"/_rank_eval"}],needBody:true,method:"POST"});api.reindex=ca({params:{refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},url:{fmt:"/_reindex"},needBody:true,method:"POST"});api.reindexRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_reindex/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"});api.renderSearchTemplate=ca({urls:[{fmt:"/_render/template/<%=id%>",req:{id:{type:"string"}}},{fmt:"/_render/template"}],method:"POST"});api.scriptsPainlessExecute=ca({url:{fmt:"/_scripts/painless/_execute"},method:"POST"});api.scroll=ca({params:{scroll:{type:"time"},scrollId:{type:"string",name:"scroll_id"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/_search/scroll/<%=scrollId%>",req:{scrollId:{type:"string"}}},{fmt:"/_search/scroll"}],paramAsBody:{param:"scrollId",body:"scroll_id"},method:"POST"});api.search=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},ccsMinimizeRoundtrips:{type:"boolean",default:"true",name:"ccs_minimize_roundtrips"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},explain:{type:"boolean"},storedFields:{type:"list",name:"stored_fields"},docvalueFields:{type:"list",name:"docvalue_fields"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},suggestField:{type:"string",name:"suggest_field"},suggestMode:{type:"enum",default:"missing",options:["missing","popular","always"],name:"suggest_mode"},suggestSize:{type:"number",name:"suggest_size"},suggestText:{type:"string",name:"suggest_text"},timeout:{type:"time"},trackScores:{type:"boolean",name:"track_scores"},trackTotalHits:{type:"boolean",name:"track_total_hits"},allowPartialSearchResults:{type:"boolean",default:true,name:"allow_partial_search_results"},typedKeys:{type:"boolean",name:"typed_keys"},version:{type:"boolean"},seqNoPrimaryTerm:{type:"boolean",name:"seq_no_primary_term"},requestCache:{type:"boolean",name:"request_cache"},batchedReduceSize:{type:"number",default:512,name:"batched_reduce_size"},maxConcurrentShardRequests:{type:"number",default:"The default is 5.",name:"max_concurrent_shard_requests"},preFilterShardSize:{type:"number",default:128,name:"pre_filter_shard_size"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search",req:{index:{type:"list"}}},{fmt:"/_search"}],method:"POST"});api.searchShards=ca({params:{preference:{type:"string"},routing:{type:"string"},local:{type:"boolean"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"}},urls:[{fmt:"/<%=index%>/_search_shards",req:{index:{type:"list"}}},{fmt:"/_search_shards"}],method:"POST"});api.searchTemplate=ca({params:{ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},ignoreThrottled:{type:"boolean",name:"ignore_throttled"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},preference:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","query_and_fetch","dfs_query_then_fetch","dfs_query_and_fetch"],name:"search_type"},explain:{type:"boolean"},profile:{type:"boolean"},typedKeys:{type:"boolean",name:"typed_keys"},restTotalHitsAsInt:{type:"boolean",default:false,name:"rest_total_hits_as_int"},ccsMinimizeRoundtrips:{type:"boolean",default:"true",name:"ccs_minimize_roundtrips"}},urls:[{fmt:"/<%=index%>/<%=type%>/_search/template",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_search/template",req:{index:{type:"list"}}},{fmt:"/_search/template"}],needBody:true,method:"POST"});api.snapshot=namespace();api.snapshot.prototype.create=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.createRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"},verify:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"string"}}},needBody:true,method:"POST"});api.snapshot.prototype["delete"]=ca({params:{masterTimeout:{type:"time",name:"master_timeout"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"DELETE"});api.snapshot.prototype.deleteRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},method:"DELETE"});api.snapshot.prototype.get=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},verbose:{type:"boolean"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>",req:{repository:{type:"string"},snapshot:{type:"list"}}}});api.snapshot.prototype.getRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},local:{type:"boolean"}},urls:[{fmt:"/_snapshot/<%=repository%>",req:{repository:{type:"list"}}},{fmt:"/_snapshot"}]});api.snapshot.prototype.restore=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},waitForCompletion:{type:"boolean",default:false,name:"wait_for_completion"}},url:{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_restore",req:{repository:{type:"string"},snapshot:{type:"string"}}},method:"POST"});api.snapshot.prototype.status=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"}},urls:[{fmt:"/_snapshot/<%=repository%>/<%=snapshot%>/_status",req:{repository:{type:"string"},snapshot:{type:"list"}}},{fmt:"/_snapshot/<%=repository%>/_status",req:{repository:{type:"string"}}},{fmt:"/_snapshot/_status"}]});api.snapshot.prototype.verifyRepository=ca({params:{masterTimeout:{type:"time",name:"master_timeout"},timeout:{type:"time"}},url:{fmt:"/_snapshot/<%=repository%>/_verify",req:{repository:{type:"string"}}},method:"POST"});api.tasks=namespace();api.tasks.prototype.cancel=ca({params:{nodes:{type:"list"},actions:{type:"list"},parentTaskId:{type:"string",name:"parent_task_id"}},urls:[{fmt:"/_tasks/<%=taskId%>/_cancel",req:{taskId:{type:"string"}}},{fmt:"/_tasks/_cancel"}],method:"POST"});api.tasks.prototype.get=ca({params:{waitForCompletion:{type:"boolean",name:"wait_for_completion"},timeout:{type:"time"}},url:{fmt:"/_tasks/<%=taskId%>",req:{taskId:{type:"string"}}}});api.tasks.prototype.list=ca({params:{nodes:{type:"list"},actions:{type:"list"},detailed:{type:"boolean"},parentTaskId:{type:"string",name:"parent_task_id"},waitForCompletion:{type:"boolean",name:"wait_for_completion"},groupBy:{type:"enum",default:"nodes",options:["nodes","parents","none"],name:"group_by"},timeout:{type:"time"}},url:{fmt:"/_tasks"}});api.termvectors=ca({params:{termStatistics:{type:"boolean",default:false,required:false,name:"term_statistics"},fieldStatistics:{type:"boolean",default:true,required:false,name:"field_statistics"},fields:{type:"list",required:false},offsets:{type:"boolean",default:true,required:false},positions:{type:"boolean",default:true,required:false},payloads:{type:"boolean",default:true,required:false},preference:{type:"string",required:false},routing:{type:"string",required:false},parent:{type:"string",required:false},realtime:{type:"boolean",required:false},version:{type:"number"},versionType:{type:"enum",options:["internal","external","external_gte","force"],name:"version_type"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_termvectors",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_termvectors/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/<%=type%>/_termvectors",req:{index:{type:"string"},type:{type:"string"}}},{fmt:"/<%=index%>/_termvectors/",req:{index:{type:"string"}}}],method:"POST"});api.update=ca({params:{waitForActiveShards:{type:"string",name:"wait_for_active_shards"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},lang:{type:"string"},parent:{type:"string"},refresh:{type:"enum",options:["true","false","wait_for",""]},retryOnConflict:{type:"number",name:"retry_on_conflict"},routing:{type:"string"},timeout:{type:"time"},ifSeqNo:{type:"number",name:"if_seq_no"},ifPrimaryTerm:{type:"number",name:"if_primary_term"}},urls:[{fmt:"/<%=index%>/<%=type%>/<%=id%>/_update",req:{index:{type:"string"},type:{type:"string"},id:{type:"string"}}},{fmt:"/<%=index%>/_update/<%=id%>",req:{index:{type:"string"},id:{type:"string"}}}],needBody:true,method:"POST"});api.updateByQuery=ca({params:{analyzer:{type:"string"},analyzeWildcard:{type:"boolean",name:"analyze_wildcard"},defaultOperator:{type:"enum",default:"OR",options:["AND","OR"],name:"default_operator"},df:{type:"string"},from:{type:"number"},ignoreUnavailable:{type:"boolean",name:"ignore_unavailable"},allowNoIndices:{type:"boolean",name:"allow_no_indices"},conflicts:{type:"enum",default:"abort",options:["abort","proceed"]},expandWildcards:{type:"enum",default:"open",options:["open","closed","none","all"],name:"expand_wildcards"},lenient:{type:"boolean"},pipeline:{type:"string"},preference:{type:"string"},q:{type:"string"},routing:{type:"list"},scroll:{type:"time"},searchType:{type:"enum",options:["query_then_fetch","dfs_query_then_fetch"],name:"search_type"},searchTimeout:{type:"time",name:"search_timeout"},size:{type:"number"},sort:{type:"list"},_source:{type:"list"},_sourceExcludes:{type:"list",name:"_source_excludes"},_sourceIncludes:{type:"list",name:"_source_includes"},terminateAfter:{type:"number",name:"terminate_after"},stats:{type:"list"},version:{type:"boolean"},versionType:{type:"boolean",name:"version_type"},requestCache:{type:"boolean",name:"request_cache"},refresh:{type:"boolean"},timeout:{type:"time",default:"1m"},waitForActiveShards:{type:"string",name:"wait_for_active_shards"},scrollSize:{type:"number",name:"scroll_size"},waitForCompletion:{type:"boolean",default:true,name:"wait_for_completion"},requestsPerSecond:{type:"number",default:0,name:"requests_per_second"},slices:{type:"number",default:1}},urls:[{fmt:"/<%=index%>/<%=type%>/_update_by_query",req:{index:{type:"list"},type:{type:"list"}}},{fmt:"/<%=index%>/_update_by_query",req:{index:{type:"list"}}}],method:"POST"});api.updateByQueryRethrottle=ca({params:{requestsPerSecond:{type:"number",required:true,name:"requests_per_second"}},url:{fmt:"/_update_by_query/<%=taskId%>/_rethrottle",req:{taskId:{type:"string"}}},method:"POST"})}])},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;
/*!
 * jQuery JavaScript Library v3.3.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2018-01-20T17:24Z
 */
/*!
 * jQuery JavaScript Library v3.3.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2018-01-20T17:24Z
 */
(function(global,factory){"use strict";true,"object"===typeof module.exports?module.exports=global.document?factory(global,true):function(w){if(!w.document)throw new Error("jQuery requires a window with a document");return factory(w)}:factory(global)})("undefined"!==typeof window?window:this,function(window,noGlobal){"use strict";var arr=[];var document=window.document;var getProto=Object.getPrototypeOf;var slice=arr.slice;var concat=arr.concat;var push=arr.push;var indexOf=arr.indexOf;var class2type={};var toString=class2type.toString;var hasOwn=class2type.hasOwnProperty;var fnToString=hasOwn.toString;var ObjectFunctionString=fnToString.call(Object);var support={};var isFunction=function isFunction(obj){return"function"===typeof obj&&"number"!==typeof obj.nodeType};var isWindow=function isWindow(obj){return null!=obj&&obj===obj.window};var preservedScriptAttributes={type:true,src:true,noModule:true};function DOMEval(code,doc,node){doc=doc||document;var i,script=doc.createElement("script");script.text=code;if(node)for(i in preservedScriptAttributes)node[i]&&(script[i]=node[i]);doc.head.appendChild(script).parentNode.removeChild(script)}function toType(obj){if(null==obj)return obj+"";return"object"===typeof obj||"function"===typeof obj?class2type[toString.call(obj)]||"object":typeof obj}var version="3.3.1",jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},rtrim=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;jQuery.fn=jQuery.prototype={jquery:version,constructor:jQuery,length:0,toArray:function(){return slice.call(this)},get:function(num){if(null==num)return slice.call(this);return num<0?this[num+this.length]:this[num]},pushStack:function(elems){var ret=jQuery.merge(this.constructor(),elems);ret.prevObject=this;return ret},each:function(callback){return jQuery.each(this,callback)},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem)}))},slice:function(){return this.pushStack(slice.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(i){var len=this.length,j=+i+(i<0?len:0);return this.pushStack(j>=0&&j<len?[this[j]]:[])},end:function(){return this.prevObject||this.constructor()},push:push,sort:arr.sort,splice:arr.splice};jQuery.extend=jQuery.fn.extend=function(){var options,name,src,copy,copyIsArray,clone,target=arguments[0]||{},i=1,length=arguments.length,deep=false;if("boolean"===typeof target){deep=target;target=arguments[i]||{};i++}"object"===typeof target||isFunction(target)||(target={});if(i===length){target=this;i--}for(;i<length;i++)if(null!=(options=arguments[i]))for(name in options){src=target[name];copy=options[name];if(target===copy)continue;if(deep&&copy&&(jQuery.isPlainObject(copy)||(copyIsArray=Array.isArray(copy)))){if(copyIsArray){copyIsArray=false;clone=src&&Array.isArray(src)?src:[]}else clone=src&&jQuery.isPlainObject(src)?src:{};target[name]=jQuery.extend(deep,clone,copy)}else void 0!==copy&&(target[name]=copy)}return target};jQuery.extend({expando:"jQuery"+(version+Math.random()).replace(/\D/g,""),isReady:true,error:function(msg){throw new Error(msg)},noop:function(){},isPlainObject:function(obj){var proto,Ctor;if(!obj||"[object Object]"!==toString.call(obj))return false;proto=getProto(obj);if(!proto)return true;Ctor=hasOwn.call(proto,"constructor")&&proto.constructor;return"function"===typeof Ctor&&fnToString.call(Ctor)===ObjectFunctionString},isEmptyObject:function(obj){var name;for(name in obj)return false;return true},globalEval:function(code){DOMEval(code)},each:function(obj,callback){var length,i=0;if(isArrayLike(obj)){length=obj.length;for(;i<length;i++)if(false===callback.call(obj[i],i,obj[i]))break}else for(i in obj)if(false===callback.call(obj[i],i,obj[i]))break;return obj},trim:function(text){return null==text?"":(text+"").replace(rtrim,"")},makeArray:function(arr,results){var ret=results||[];null!=arr&&(isArrayLike(Object(arr))?jQuery.merge(ret,"string"===typeof arr?[arr]:arr):push.call(ret,arr));return ret},inArray:function(elem,arr,i){return null==arr?-1:indexOf.call(arr,elem,i)},merge:function(first,second){var len=+second.length,j=0,i=first.length;for(;j<len;j++)first[i++]=second[j];first.length=i;return first},grep:function(elems,callback,invert){var callbackInverse,matches=[],i=0,length=elems.length,callbackExpect=!invert;for(;i<length;i++){callbackInverse=!callback(elems[i],i);callbackInverse!==callbackExpect&&matches.push(elems[i])}return matches},map:function(elems,callback,arg){var length,value,i=0,ret=[];if(isArrayLike(elems)){length=elems.length;for(;i<length;i++){value=callback(elems[i],i,arg);null!=value&&ret.push(value)}}else for(i in elems){value=callback(elems[i],i,arg);null!=value&&ret.push(value)}return concat.apply([],ret)},guid:1,support:support});"function"===typeof Symbol&&(jQuery.fn[Symbol.iterator]=arr[Symbol.iterator]);jQuery.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(i,name){class2type["[object "+name+"]"]=name.toLowerCase()});function isArrayLike(obj){var length=!!obj&&"length"in obj&&obj.length,type=toType(obj);if(isFunction(obj)||isWindow(obj))return false;return"array"===type||0===length||"number"===typeof length&&length>0&&length-1 in obj}var Sizzle=
/*!
 * Sizzle CSS Selector Engine v2.3.3
 * https://sizzlejs.com/
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2016-08-08
 */
function(window){var i,support,Expr,getText,isXML,tokenize,compile,select,outermostContext,sortInput,hasDuplicate,setDocument,document,docElem,documentIsHTML,rbuggyQSA,rbuggyMatches,matches,contains,expando="sizzle"+1*new Date,preferredDoc=window.document,dirruns=0,done=0,classCache=createCache(),tokenCache=createCache(),compilerCache=createCache(),sortOrder=function(a,b){a===b&&(hasDuplicate=true);return 0},hasOwn={}.hasOwnProperty,arr=[],pop=arr.pop,push_native=arr.push,push=arr.push,slice=arr.slice,indexOf=function(list,elem){var i=0,len=list.length;for(;i<len;i++)if(list[i]===elem)return i;return-1},booleans="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",whitespace="[\\x20\\t\\r\\n\\f]",identifier="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",attributes="\\["+whitespace+"*("+identifier+")(?:"+whitespace+"*([*^$|!~]?=)"+whitespace+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+identifier+"))|)"+whitespace+"*\\]",pseudos=":("+identifier+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+attributes+")*)|.*)\\)|)",rwhitespace=new RegExp(whitespace+"+","g"),rtrim=new RegExp("^"+whitespace+"+|((?:^|[^\\\\])(?:\\\\.)*)"+whitespace+"+$","g"),rcomma=new RegExp("^"+whitespace+"*,"+whitespace+"*"),rcombinators=new RegExp("^"+whitespace+"*([>+~]|"+whitespace+")"+whitespace+"*"),rattributeQuotes=new RegExp("="+whitespace+"*([^\\]'\"]*?)"+whitespace+"*\\]","g"),rpseudo=new RegExp(pseudos),ridentifier=new RegExp("^"+identifier+"$"),matchExpr={ID:new RegExp("^#("+identifier+")"),CLASS:new RegExp("^\\.("+identifier+")"),TAG:new RegExp("^("+identifier+"|[*])"),ATTR:new RegExp("^"+attributes),PSEUDO:new RegExp("^"+pseudos),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+whitespace+"*(even|odd|(([+-]|)(\\d*)n|)"+whitespace+"*(?:([+-]|)"+whitespace+"*(\\d+)|))"+whitespace+"*\\)|)","i"),bool:new RegExp("^(?:"+booleans+")$","i"),needsContext:new RegExp("^"+whitespace+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+whitespace+"*((?:-\\d)?\\d*)"+whitespace+"*\\)|)(?=[^-]|$)","i")},rinputs=/^(?:input|select|textarea|button)$/i,rheader=/^h\d$/i,rnative=/^[^{]+\{\s*\[native \w/,rquickExpr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,rsibling=/[+~]/,runescape=new RegExp("\\\\([\\da-f]{1,6}"+whitespace+"?|("+whitespace+")|.)","ig"),funescape=function(_,escaped,escapedWhitespace){var high="0x"+escaped-65536;return high!==high||escapedWhitespace?escaped:high<0?String.fromCharCode(high+65536):String.fromCharCode(high>>10|55296,1023&high|56320)},rcssescape=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,fcssescape=function(ch,asCodePoint){if(asCodePoint){if("\0"===ch)return"�";return ch.slice(0,-1)+"\\"+ch.charCodeAt(ch.length-1).toString(16)+" "}return"\\"+ch},unloadHandler=function(){setDocument()},disabledAncestor=addCombinator(function(elem){return true===elem.disabled&&("form"in elem||"label"in elem)},{dir:"parentNode",next:"legend"});try{push.apply(arr=slice.call(preferredDoc.childNodes),preferredDoc.childNodes);arr[preferredDoc.childNodes.length].nodeType}catch(e){push={apply:arr.length?function(target,els){push_native.apply(target,slice.call(els))}:function(target,els){var j=target.length,i=0;while(target[j++]=els[i++]);target.length=j-1}}}function Sizzle(selector,context,results,seed){var m,i,elem,nid,match,groups,newSelector,newContext=context&&context.ownerDocument,nodeType=context?context.nodeType:9;results=results||[];if("string"!==typeof selector||!selector||1!==nodeType&&9!==nodeType&&11!==nodeType)return results;if(!seed){(context?context.ownerDocument||context:preferredDoc)!==document&&setDocument(context);context=context||document;if(documentIsHTML){if(11!==nodeType&&(match=rquickExpr.exec(selector)))if(m=match[1]){if(9===nodeType){if(!(elem=context.getElementById(m)))return results;if(elem.id===m){results.push(elem);return results}}else if(newContext&&(elem=newContext.getElementById(m))&&contains(context,elem)&&elem.id===m){results.push(elem);return results}}else{if(match[2]){push.apply(results,context.getElementsByTagName(selector));return results}if((m=match[3])&&support.getElementsByClassName&&context.getElementsByClassName){push.apply(results,context.getElementsByClassName(m));return results}}if(support.qsa&&!compilerCache[selector+" "]&&(!rbuggyQSA||!rbuggyQSA.test(selector))){if(1!==nodeType){newContext=context;newSelector=selector}else if("object"!==context.nodeName.toLowerCase()){(nid=context.getAttribute("id"))?nid=nid.replace(rcssescape,fcssescape):context.setAttribute("id",nid=expando);groups=tokenize(selector);i=groups.length;while(i--)groups[i]="#"+nid+" "+toSelector(groups[i]);newSelector=groups.join(",");newContext=rsibling.test(selector)&&testContext(context.parentNode)||context}if(newSelector)try{push.apply(results,newContext.querySelectorAll(newSelector));return results}catch(qsaError){}finally{nid===expando&&context.removeAttribute("id")}}}}return select(selector.replace(rtrim,"$1"),context,results,seed)}function createCache(){var keys=[];function cache(key,value){keys.push(key+" ")>Expr.cacheLength&&delete cache[keys.shift()];return cache[key+" "]=value}return cache}function markFunction(fn){fn[expando]=true;return fn}function assert(fn){var el=document.createElement("fieldset");try{return!!fn(el)}catch(e){return false}finally{el.parentNode&&el.parentNode.removeChild(el);el=null}}function addHandle(attrs,handler){var arr=attrs.split("|"),i=arr.length;while(i--)Expr.attrHandle[arr[i]]=handler}function siblingCheck(a,b){var cur=b&&a,diff=cur&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(diff)return diff;if(cur)while(cur=cur.nextSibling)if(cur===b)return-1;return a?1:-1}function createInputPseudo(type){return function(elem){var name=elem.nodeName.toLowerCase();return"input"===name&&elem.type===type}}function createButtonPseudo(type){return function(elem){var name=elem.nodeName.toLowerCase();return("input"===name||"button"===name)&&elem.type===type}}function createDisabledPseudo(disabled){return function(elem){if("form"in elem){if(elem.parentNode&&false===elem.disabled){if("label"in elem)return"label"in elem.parentNode?elem.parentNode.disabled===disabled:elem.disabled===disabled;return elem.isDisabled===disabled||elem.isDisabled!==!disabled&&disabledAncestor(elem)===disabled}return elem.disabled===disabled}if("label"in elem)return elem.disabled===disabled;return false}}function createPositionalPseudo(fn){return markFunction(function(argument){argument=+argument;return markFunction(function(seed,matches){var j,matchIndexes=fn([],seed.length,argument),i=matchIndexes.length;while(i--)seed[j=matchIndexes[i]]&&(seed[j]=!(matches[j]=seed[j]))})})}function testContext(context){return context&&"undefined"!==typeof context.getElementsByTagName&&context}support=Sizzle.support={};isXML=Sizzle.isXML=function(elem){var documentElement=elem&&(elem.ownerDocument||elem).documentElement;return!!documentElement&&"HTML"!==documentElement.nodeName};setDocument=Sizzle.setDocument=function(node){var hasCompare,subWindow,doc=node?node.ownerDocument||node:preferredDoc;if(doc===document||9!==doc.nodeType||!doc.documentElement)return document;document=doc;docElem=document.documentElement;documentIsHTML=!isXML(document);preferredDoc!==document&&(subWindow=document.defaultView)&&subWindow.top!==subWindow&&(subWindow.addEventListener?subWindow.addEventListener("unload",unloadHandler,false):subWindow.attachEvent&&subWindow.attachEvent("onunload",unloadHandler));support.attributes=assert(function(el){el.className="i";return!el.getAttribute("className")});support.getElementsByTagName=assert(function(el){el.appendChild(document.createComment(""));return!el.getElementsByTagName("*").length});support.getElementsByClassName=rnative.test(document.getElementsByClassName);support.getById=assert(function(el){docElem.appendChild(el).id=expando;return!document.getElementsByName||!document.getElementsByName(expando).length});if(support.getById){Expr.filter["ID"]=function(id){var attrId=id.replace(runescape,funescape);return function(elem){return elem.getAttribute("id")===attrId}};Expr.find["ID"]=function(id,context){if("undefined"!==typeof context.getElementById&&documentIsHTML){var elem=context.getElementById(id);return elem?[elem]:[]}}}else{Expr.filter["ID"]=function(id){var attrId=id.replace(runescape,funescape);return function(elem){var node="undefined"!==typeof elem.getAttributeNode&&elem.getAttributeNode("id");return node&&node.value===attrId}};Expr.find["ID"]=function(id,context){if("undefined"!==typeof context.getElementById&&documentIsHTML){var node,i,elems,elem=context.getElementById(id);if(elem){node=elem.getAttributeNode("id");if(node&&node.value===id)return[elem];elems=context.getElementsByName(id);i=0;while(elem=elems[i++]){node=elem.getAttributeNode("id");if(node&&node.value===id)return[elem]}}return[]}}}Expr.find["TAG"]=support.getElementsByTagName?function(tag,context){if("undefined"!==typeof context.getElementsByTagName)return context.getElementsByTagName(tag);if(support.qsa)return context.querySelectorAll(tag)}:function(tag,context){var elem,tmp=[],i=0,results=context.getElementsByTagName(tag);if("*"===tag){while(elem=results[i++])1===elem.nodeType&&tmp.push(elem);return tmp}return results};Expr.find["CLASS"]=support.getElementsByClassName&&function(className,context){if("undefined"!==typeof context.getElementsByClassName&&documentIsHTML)return context.getElementsByClassName(className)};rbuggyMatches=[];rbuggyQSA=[];if(support.qsa=rnative.test(document.querySelectorAll)){assert(function(el){docElem.appendChild(el).innerHTML="<a id='"+expando+"'></a><select id='"+expando+"-\r\\' msallowcapture=''><option selected=''></option></select>";el.querySelectorAll("[msallowcapture^='']").length&&rbuggyQSA.push("[*^$]="+whitespace+"*(?:''|\"\")");el.querySelectorAll("[selected]").length||rbuggyQSA.push("\\["+whitespace+"*(?:value|"+booleans+")");el.querySelectorAll("[id~="+expando+"-]").length||rbuggyQSA.push("~=");el.querySelectorAll(":checked").length||rbuggyQSA.push(":checked");el.querySelectorAll("a#"+expando+"+*").length||rbuggyQSA.push(".#.+[+~]")});assert(function(el){el.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var input=document.createElement("input");input.setAttribute("type","hidden");el.appendChild(input).setAttribute("name","D");el.querySelectorAll("[name=d]").length&&rbuggyQSA.push("name"+whitespace+"*[*^$|!~]?=");2!==el.querySelectorAll(":enabled").length&&rbuggyQSA.push(":enabled",":disabled");docElem.appendChild(el).disabled=true;2!==el.querySelectorAll(":disabled").length&&rbuggyQSA.push(":enabled",":disabled");el.querySelectorAll("*,:x");rbuggyQSA.push(",.*:")})}(support.matchesSelector=rnative.test(matches=docElem.matches||docElem.webkitMatchesSelector||docElem.mozMatchesSelector||docElem.oMatchesSelector||docElem.msMatchesSelector))&&assert(function(el){support.disconnectedMatch=matches.call(el,"*");matches.call(el,"[s!='']:x");rbuggyMatches.push("!=",pseudos)});rbuggyQSA=rbuggyQSA.length&&new RegExp(rbuggyQSA.join("|"));rbuggyMatches=rbuggyMatches.length&&new RegExp(rbuggyMatches.join("|"));hasCompare=rnative.test(docElem.compareDocumentPosition);contains=hasCompare||rnative.test(docElem.contains)?function(a,b){var adown=9===a.nodeType?a.documentElement:a,bup=b&&b.parentNode;return a===bup||!!(bup&&1===bup.nodeType&&(adown.contains?adown.contains(bup):a.compareDocumentPosition&&16&a.compareDocumentPosition(bup)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return true;return false};sortOrder=hasCompare?function(a,b){if(a===b){hasDuplicate=true;return 0}var compare=!a.compareDocumentPosition-!b.compareDocumentPosition;if(compare)return compare;compare=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1;if(1&compare||!support.sortDetached&&b.compareDocumentPosition(a)===compare){if(a===document||a.ownerDocument===preferredDoc&&contains(preferredDoc,a))return-1;if(b===document||b.ownerDocument===preferredDoc&&contains(preferredDoc,b))return 1;return sortInput?indexOf(sortInput,a)-indexOf(sortInput,b):0}return 4&compare?-1:1}:function(a,b){if(a===b){hasDuplicate=true;return 0}var cur,i=0,aup=a.parentNode,bup=b.parentNode,ap=[a],bp=[b];if(!aup||!bup)return a===document?-1:b===document?1:aup?-1:bup?1:sortInput?indexOf(sortInput,a)-indexOf(sortInput,b):0;if(aup===bup)return siblingCheck(a,b);cur=a;while(cur=cur.parentNode)ap.unshift(cur);cur=b;while(cur=cur.parentNode)bp.unshift(cur);while(ap[i]===bp[i])i++;return i?siblingCheck(ap[i],bp[i]):ap[i]===preferredDoc?-1:bp[i]===preferredDoc?1:0};return document};Sizzle.matches=function(expr,elements){return Sizzle(expr,null,null,elements)};Sizzle.matchesSelector=function(elem,expr){(elem.ownerDocument||elem)!==document&&setDocument(elem);expr=expr.replace(rattributeQuotes,"='$1']");if(support.matchesSelector&&documentIsHTML&&!compilerCache[expr+" "]&&(!rbuggyMatches||!rbuggyMatches.test(expr))&&(!rbuggyQSA||!rbuggyQSA.test(expr)))try{var ret=matches.call(elem,expr);if(ret||support.disconnectedMatch||elem.document&&11!==elem.document.nodeType)return ret}catch(e){}return Sizzle(expr,document,null,[elem]).length>0};Sizzle.contains=function(context,elem){(context.ownerDocument||context)!==document&&setDocument(context);return contains(context,elem)};Sizzle.attr=function(elem,name){(elem.ownerDocument||elem)!==document&&setDocument(elem);var fn=Expr.attrHandle[name.toLowerCase()],val=fn&&hasOwn.call(Expr.attrHandle,name.toLowerCase())?fn(elem,name,!documentIsHTML):void 0;return void 0!==val?val:support.attributes||!documentIsHTML?elem.getAttribute(name):(val=elem.getAttributeNode(name))&&val.specified?val.value:null};Sizzle.escape=function(sel){return(sel+"").replace(rcssescape,fcssescape)};Sizzle.error=function(msg){throw new Error("Syntax error, unrecognized expression: "+msg)};Sizzle.uniqueSort=function(results){var elem,duplicates=[],j=0,i=0;hasDuplicate=!support.detectDuplicates;sortInput=!support.sortStable&&results.slice(0);results.sort(sortOrder);if(hasDuplicate){while(elem=results[i++])elem===results[i]&&(j=duplicates.push(i));while(j--)results.splice(duplicates[j],1)}sortInput=null;return results};getText=Sizzle.getText=function(elem){var node,ret="",i=0,nodeType=elem.nodeType;if(nodeType){if(1===nodeType||9===nodeType||11===nodeType){if("string"===typeof elem.textContent)return elem.textContent;for(elem=elem.firstChild;elem;elem=elem.nextSibling)ret+=getText(elem)}else if(3===nodeType||4===nodeType)return elem.nodeValue}else while(node=elem[i++])ret+=getText(node);return ret};Expr=Sizzle.selectors={cacheLength:50,createPseudo:markFunction,match:matchExpr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(match){match[1]=match[1].replace(runescape,funescape);match[3]=(match[3]||match[4]||match[5]||"").replace(runescape,funescape);"~="===match[2]&&(match[3]=" "+match[3]+" ");return match.slice(0,4)},CHILD:function(match){match[1]=match[1].toLowerCase();if("nth"===match[1].slice(0,3)){match[3]||Sizzle.error(match[0]);match[4]=+(match[4]?match[5]+(match[6]||1):2*("even"===match[3]||"odd"===match[3]));match[5]=+(match[7]+match[8]||"odd"===match[3])}else match[3]&&Sizzle.error(match[0]);return match},PSEUDO:function(match){var excess,unquoted=!match[6]&&match[2];if(matchExpr["CHILD"].test(match[0]))return null;if(match[3])match[2]=match[4]||match[5]||"";else if(unquoted&&rpseudo.test(unquoted)&&(excess=tokenize(unquoted,true))&&(excess=unquoted.indexOf(")",unquoted.length-excess)-unquoted.length)){match[0]=match[0].slice(0,excess);match[2]=unquoted.slice(0,excess)}return match.slice(0,3)}},filter:{TAG:function(nodeNameSelector){var nodeName=nodeNameSelector.replace(runescape,funescape).toLowerCase();return"*"===nodeNameSelector?function(){return true}:function(elem){return elem.nodeName&&elem.nodeName.toLowerCase()===nodeName}},CLASS:function(className){var pattern=classCache[className+" "];return pattern||(pattern=new RegExp("(^|"+whitespace+")"+className+"("+whitespace+"|$)"))&&classCache(className,function(elem){return pattern.test("string"===typeof elem.className&&elem.className||"undefined"!==typeof elem.getAttribute&&elem.getAttribute("class")||"")})},ATTR:function(name,operator,check){return function(elem){var result=Sizzle.attr(elem,name);if(null==result)return"!="===operator;if(!operator)return true;result+="";return"="===operator?result===check:"!="===operator?result!==check:"^="===operator?check&&0===result.indexOf(check):"*="===operator?check&&result.indexOf(check)>-1:"$="===operator?check&&result.slice(-check.length)===check:"~="===operator?(" "+result.replace(rwhitespace," ")+" ").indexOf(check)>-1:"|="===operator&&(result===check||result.slice(0,check.length+1)===check+"-")}},CHILD:function(type,what,argument,first,last){var simple="nth"!==type.slice(0,3),forward="last"!==type.slice(-4),ofType="of-type"===what;return 1===first&&0===last?function(elem){return!!elem.parentNode}:function(elem,context,xml){var cache,uniqueCache,outerCache,node,nodeIndex,start,dir=simple!==forward?"nextSibling":"previousSibling",parent=elem.parentNode,name=ofType&&elem.nodeName.toLowerCase(),useCache=!xml&&!ofType,diff=false;if(parent){if(simple){while(dir){node=elem;while(node=node[dir])if(ofType?node.nodeName.toLowerCase()===name:1===node.nodeType)return false;start=dir="only"===type&&!start&&"nextSibling"}return true}start=[forward?parent.firstChild:parent.lastChild];if(forward&&useCache){node=parent;outerCache=node[expando]||(node[expando]={});uniqueCache=outerCache[node.uniqueID]||(outerCache[node.uniqueID]={});cache=uniqueCache[type]||[];nodeIndex=cache[0]===dirruns&&cache[1];diff=nodeIndex&&cache[2];node=nodeIndex&&parent.childNodes[nodeIndex];while(node=++nodeIndex&&node&&node[dir]||(diff=nodeIndex=0)||start.pop())if(1===node.nodeType&&++diff&&node===elem){uniqueCache[type]=[dirruns,nodeIndex,diff];break}}else{if(useCache){node=elem;outerCache=node[expando]||(node[expando]={});uniqueCache=outerCache[node.uniqueID]||(outerCache[node.uniqueID]={});cache=uniqueCache[type]||[];nodeIndex=cache[0]===dirruns&&cache[1];diff=nodeIndex}if(false===diff)while(node=++nodeIndex&&node&&node[dir]||(diff=nodeIndex=0)||start.pop())if((ofType?node.nodeName.toLowerCase()===name:1===node.nodeType)&&++diff){if(useCache){outerCache=node[expando]||(node[expando]={});uniqueCache=outerCache[node.uniqueID]||(outerCache[node.uniqueID]={});uniqueCache[type]=[dirruns,diff]}if(node===elem)break}}diff-=last;return diff===first||diff%first===0&&diff/first>=0}}},PSEUDO:function(pseudo,argument){var args,fn=Expr.pseudos[pseudo]||Expr.setFilters[pseudo.toLowerCase()]||Sizzle.error("unsupported pseudo: "+pseudo);if(fn[expando])return fn(argument);if(fn.length>1){args=[pseudo,pseudo,"",argument];return Expr.setFilters.hasOwnProperty(pseudo.toLowerCase())?markFunction(function(seed,matches){var idx,matched=fn(seed,argument),i=matched.length;while(i--){idx=indexOf(seed,matched[i]);seed[idx]=!(matches[idx]=matched[i])}}):function(elem){return fn(elem,0,args)}}return fn}},pseudos:{not:markFunction(function(selector){var input=[],results=[],matcher=compile(selector.replace(rtrim,"$1"));return matcher[expando]?markFunction(function(seed,matches,context,xml){var elem,unmatched=matcher(seed,null,xml,[]),i=seed.length;while(i--)(elem=unmatched[i])&&(seed[i]=!(matches[i]=elem))}):function(elem,context,xml){input[0]=elem;matcher(input,null,xml,results);input[0]=null;return!results.pop()}}),has:markFunction(function(selector){return function(elem){return Sizzle(selector,elem).length>0}}),contains:markFunction(function(text){text=text.replace(runescape,funescape);return function(elem){return(elem.textContent||elem.innerText||getText(elem)).indexOf(text)>-1}}),lang:markFunction(function(lang){ridentifier.test(lang||"")||Sizzle.error("unsupported lang: "+lang);lang=lang.replace(runescape,funescape).toLowerCase();return function(elem){var elemLang;do{if(elemLang=documentIsHTML?elem.lang:elem.getAttribute("xml:lang")||elem.getAttribute("lang")){elemLang=elemLang.toLowerCase();return elemLang===lang||0===elemLang.indexOf(lang+"-")}}while((elem=elem.parentNode)&&1===elem.nodeType);return false}}),target:function(elem){var hash=window.location&&window.location.hash;return hash&&hash.slice(1)===elem.id},root:function(elem){return elem===docElem},focus:function(elem){return elem===document.activeElement&&(!document.hasFocus||document.hasFocus())&&!!(elem.type||elem.href||~elem.tabIndex)},enabled:createDisabledPseudo(false),disabled:createDisabledPseudo(true),checked:function(elem){var nodeName=elem.nodeName.toLowerCase();return"input"===nodeName&&!!elem.checked||"option"===nodeName&&!!elem.selected},selected:function(elem){elem.parentNode&&elem.parentNode.selectedIndex;return true===elem.selected},empty:function(elem){for(elem=elem.firstChild;elem;elem=elem.nextSibling)if(elem.nodeType<6)return false;return true},parent:function(elem){return!Expr.pseudos["empty"](elem)},header:function(elem){return rheader.test(elem.nodeName)},input:function(elem){return rinputs.test(elem.nodeName)},button:function(elem){var name=elem.nodeName.toLowerCase();return"input"===name&&"button"===elem.type||"button"===name},text:function(elem){var attr;return"input"===elem.nodeName.toLowerCase()&&"text"===elem.type&&(null==(attr=elem.getAttribute("type"))||"text"===attr.toLowerCase())},first:createPositionalPseudo(function(){return[0]}),last:createPositionalPseudo(function(matchIndexes,length){return[length-1]}),eq:createPositionalPseudo(function(matchIndexes,length,argument){return[argument<0?argument+length:argument]}),even:createPositionalPseudo(function(matchIndexes,length){var i=0;for(;i<length;i+=2)matchIndexes.push(i);return matchIndexes}),odd:createPositionalPseudo(function(matchIndexes,length){var i=1;for(;i<length;i+=2)matchIndexes.push(i);return matchIndexes}),lt:createPositionalPseudo(function(matchIndexes,length,argument){var i=argument<0?argument+length:argument;for(;--i>=0;)matchIndexes.push(i);return matchIndexes}),gt:createPositionalPseudo(function(matchIndexes,length,argument){var i=argument<0?argument+length:argument;for(;++i<length;)matchIndexes.push(i);return matchIndexes})}};Expr.pseudos["nth"]=Expr.pseudos["eq"];for(i in{radio:true,checkbox:true,file:true,password:true,image:true})Expr.pseudos[i]=createInputPseudo(i);for(i in{submit:true,reset:true})Expr.pseudos[i]=createButtonPseudo(i);function setFilters(){}setFilters.prototype=Expr.filters=Expr.pseudos;Expr.setFilters=new setFilters;tokenize=Sizzle.tokenize=function(selector,parseOnly){var matched,match,tokens,type,soFar,groups,preFilters,cached=tokenCache[selector+" "];if(cached)return parseOnly?0:cached.slice(0);soFar=selector;groups=[];preFilters=Expr.preFilter;while(soFar){if(!matched||(match=rcomma.exec(soFar))){match&&(soFar=soFar.slice(match[0].length)||soFar);groups.push(tokens=[])}matched=false;if(match=rcombinators.exec(soFar)){matched=match.shift();tokens.push({value:matched,type:match[0].replace(rtrim," ")});soFar=soFar.slice(matched.length)}for(type in Expr.filter)if((match=matchExpr[type].exec(soFar))&&(!preFilters[type]||(match=preFilters[type](match)))){matched=match.shift();tokens.push({value:matched,type:type,matches:match});soFar=soFar.slice(matched.length)}if(!matched)break}return parseOnly?soFar.length:soFar?Sizzle.error(selector):tokenCache(selector,groups).slice(0)};function toSelector(tokens){var i=0,len=tokens.length,selector="";for(;i<len;i++)selector+=tokens[i].value;return selector}function addCombinator(matcher,combinator,base){var dir=combinator.dir,skip=combinator.next,key=skip||dir,checkNonElements=base&&"parentNode"===key,doneName=done++;return combinator.first?function(elem,context,xml){while(elem=elem[dir])if(1===elem.nodeType||checkNonElements)return matcher(elem,context,xml);return false}:function(elem,context,xml){var oldCache,uniqueCache,outerCache,newCache=[dirruns,doneName];if(xml){while(elem=elem[dir])if((1===elem.nodeType||checkNonElements)&&matcher(elem,context,xml))return true}else while(elem=elem[dir])if(1===elem.nodeType||checkNonElements){outerCache=elem[expando]||(elem[expando]={});uniqueCache=outerCache[elem.uniqueID]||(outerCache[elem.uniqueID]={});if(skip&&skip===elem.nodeName.toLowerCase())elem=elem[dir]||elem;else{if((oldCache=uniqueCache[key])&&oldCache[0]===dirruns&&oldCache[1]===doneName)return newCache[2]=oldCache[2];uniqueCache[key]=newCache;if(newCache[2]=matcher(elem,context,xml))return true}}return false}}function elementMatcher(matchers){return matchers.length>1?function(elem,context,xml){var i=matchers.length;while(i--)if(!matchers[i](elem,context,xml))return false;return true}:matchers[0]}function multipleContexts(selector,contexts,results){var i=0,len=contexts.length;for(;i<len;i++)Sizzle(selector,contexts[i],results);return results}function condense(unmatched,map,filter,context,xml){var elem,newUnmatched=[],i=0,len=unmatched.length,mapped=null!=map;for(;i<len;i++)if((elem=unmatched[i])&&(!filter||filter(elem,context,xml))){newUnmatched.push(elem);mapped&&map.push(i)}return newUnmatched}function setMatcher(preFilter,selector,matcher,postFilter,postFinder,postSelector){postFilter&&!postFilter[expando]&&(postFilter=setMatcher(postFilter));postFinder&&!postFinder[expando]&&(postFinder=setMatcher(postFinder,postSelector));return markFunction(function(seed,results,context,xml){var temp,i,elem,preMap=[],postMap=[],preexisting=results.length,elems=seed||multipleContexts(selector||"*",context.nodeType?[context]:context,[]),matcherIn=!preFilter||!seed&&selector?elems:condense(elems,preMap,preFilter,context,xml),matcherOut=matcher?postFinder||(seed?preFilter:preexisting||postFilter)?[]:results:matcherIn;matcher&&matcher(matcherIn,matcherOut,context,xml);if(postFilter){temp=condense(matcherOut,postMap);postFilter(temp,[],context,xml);i=temp.length;while(i--)(elem=temp[i])&&(matcherOut[postMap[i]]=!(matcherIn[postMap[i]]=elem))}if(seed){if(postFinder||preFilter){if(postFinder){temp=[];i=matcherOut.length;while(i--)(elem=matcherOut[i])&&temp.push(matcherIn[i]=elem);postFinder(null,matcherOut=[],temp,xml)}i=matcherOut.length;while(i--)(elem=matcherOut[i])&&(temp=postFinder?indexOf(seed,elem):preMap[i])>-1&&(seed[temp]=!(results[temp]=elem))}}else{matcherOut=condense(matcherOut===results?matcherOut.splice(preexisting,matcherOut.length):matcherOut);postFinder?postFinder(null,results,matcherOut,xml):push.apply(results,matcherOut)}})}function matcherFromTokens(tokens){var checkContext,matcher,j,len=tokens.length,leadingRelative=Expr.relative[tokens[0].type],implicitRelative=leadingRelative||Expr.relative[" "],i=leadingRelative?1:0,matchContext=addCombinator(function(elem){return elem===checkContext},implicitRelative,true),matchAnyContext=addCombinator(function(elem){return indexOf(checkContext,elem)>-1},implicitRelative,true),matchers=[function(elem,context,xml){var ret=!leadingRelative&&(xml||context!==outermostContext)||((checkContext=context).nodeType?matchContext(elem,context,xml):matchAnyContext(elem,context,xml));checkContext=null;return ret}];for(;i<len;i++)if(matcher=Expr.relative[tokens[i].type])matchers=[addCombinator(elementMatcher(matchers),matcher)];else{matcher=Expr.filter[tokens[i].type].apply(null,tokens[i].matches);if(matcher[expando]){j=++i;for(;j<len;j++)if(Expr.relative[tokens[j].type])break;return setMatcher(i>1&&elementMatcher(matchers),i>1&&toSelector(tokens.slice(0,i-1).concat({value:" "===tokens[i-2].type?"*":""})).replace(rtrim,"$1"),matcher,i<j&&matcherFromTokens(tokens.slice(i,j)),j<len&&matcherFromTokens(tokens=tokens.slice(j)),j<len&&toSelector(tokens))}matchers.push(matcher)}return elementMatcher(matchers)}function matcherFromGroupMatchers(elementMatchers,setMatchers){var bySet=setMatchers.length>0,byElement=elementMatchers.length>0,superMatcher=function(seed,context,xml,results,outermost){var elem,j,matcher,matchedCount=0,i="0",unmatched=seed&&[],setMatched=[],contextBackup=outermostContext,elems=seed||byElement&&Expr.find["TAG"]("*",outermost),dirrunsUnique=dirruns+=null==contextBackup?1:Math.random()||.1,len=elems.length;outermost&&(outermostContext=context===document||context||outermost);for(;i!==len&&null!=(elem=elems[i]);i++){if(byElement&&elem){j=0;if(!context&&elem.ownerDocument!==document){setDocument(elem);xml=!documentIsHTML}while(matcher=elementMatchers[j++])if(matcher(elem,context||document,xml)){results.push(elem);break}outermost&&(dirruns=dirrunsUnique)}if(bySet){(elem=!matcher&&elem)&&matchedCount--;seed&&unmatched.push(elem)}}matchedCount+=i;if(bySet&&i!==matchedCount){j=0;while(matcher=setMatchers[j++])matcher(unmatched,setMatched,context,xml);if(seed){if(matchedCount>0)while(i--)unmatched[i]||setMatched[i]||(setMatched[i]=pop.call(results));setMatched=condense(setMatched)}push.apply(results,setMatched);outermost&&!seed&&setMatched.length>0&&matchedCount+setMatchers.length>1&&Sizzle.uniqueSort(results)}if(outermost){dirruns=dirrunsUnique;outermostContext=contextBackup}return unmatched};return bySet?markFunction(superMatcher):superMatcher}compile=Sizzle.compile=function(selector,match){var i,setMatchers=[],elementMatchers=[],cached=compilerCache[selector+" "];if(!cached){match||(match=tokenize(selector));i=match.length;while(i--){cached=matcherFromTokens(match[i]);cached[expando]?setMatchers.push(cached):elementMatchers.push(cached)}cached=compilerCache(selector,matcherFromGroupMatchers(elementMatchers,setMatchers));cached.selector=selector}return cached};select=Sizzle.select=function(selector,context,results,seed){var i,tokens,token,type,find,compiled="function"===typeof selector&&selector,match=!seed&&tokenize(selector=compiled.selector||selector);results=results||[];if(1===match.length){tokens=match[0]=match[0].slice(0);if(tokens.length>2&&"ID"===(token=tokens[0]).type&&9===context.nodeType&&documentIsHTML&&Expr.relative[tokens[1].type]){context=(Expr.find["ID"](token.matches[0].replace(runescape,funescape),context)||[])[0];if(!context)return results;compiled&&(context=context.parentNode);selector=selector.slice(tokens.shift().value.length)}i=matchExpr["needsContext"].test(selector)?0:tokens.length;while(i--){token=tokens[i];if(Expr.relative[type=token.type])break;if((find=Expr.find[type])&&(seed=find(token.matches[0].replace(runescape,funescape),rsibling.test(tokens[0].type)&&testContext(context.parentNode)||context))){tokens.splice(i,1);selector=seed.length&&toSelector(tokens);if(!selector){push.apply(results,seed);return results}break}}}(compiled||compile(selector,match))(seed,context,!documentIsHTML,results,!context||rsibling.test(selector)&&testContext(context.parentNode)||context);return results};support.sortStable=expando.split("").sort(sortOrder).join("")===expando;support.detectDuplicates=!!hasDuplicate;setDocument();support.sortDetached=assert(function(el){return 1&el.compareDocumentPosition(document.createElement("fieldset"))});assert(function(el){el.innerHTML="<a href='#'></a>";return"#"===el.firstChild.getAttribute("href")})||addHandle("type|href|height|width",function(elem,name,isXML){if(!isXML)return elem.getAttribute(name,"type"===name.toLowerCase()?1:2)});support.attributes&&assert(function(el){el.innerHTML="<input/>";el.firstChild.setAttribute("value","");return""===el.firstChild.getAttribute("value")})||addHandle("value",function(elem,name,isXML){if(!isXML&&"input"===elem.nodeName.toLowerCase())return elem.defaultValue});assert(function(el){return null==el.getAttribute("disabled")})||addHandle(booleans,function(elem,name,isXML){var val;if(!isXML)return true===elem[name]?name.toLowerCase():(val=elem.getAttributeNode(name))&&val.specified?val.value:null});return Sizzle}(window);jQuery.find=Sizzle;jQuery.expr=Sizzle.selectors;jQuery.expr[":"]=jQuery.expr.pseudos;jQuery.uniqueSort=jQuery.unique=Sizzle.uniqueSort;jQuery.text=Sizzle.getText;jQuery.isXMLDoc=Sizzle.isXML;jQuery.contains=Sizzle.contains;jQuery.escapeSelector=Sizzle.escape;var dir=function(elem,dir,until){var matched=[],truncate=void 0!==until;while((elem=elem[dir])&&9!==elem.nodeType)if(1===elem.nodeType){if(truncate&&jQuery(elem).is(until))break;matched.push(elem)}return matched};var siblings=function(n,elem){var matched=[];for(;n;n=n.nextSibling)1===n.nodeType&&n!==elem&&matched.push(n);return matched};var rneedsContext=jQuery.expr.match.needsContext;function nodeName(elem,name){return elem.nodeName&&elem.nodeName.toLowerCase()===name.toLowerCase()}var rsingleTag=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function winnow(elements,qualifier,not){if(isFunction(qualifier))return jQuery.grep(elements,function(elem,i){return!!qualifier.call(elem,i,elem)!==not});if(qualifier.nodeType)return jQuery.grep(elements,function(elem){return elem===qualifier!==not});if("string"!==typeof qualifier)return jQuery.grep(elements,function(elem){return indexOf.call(qualifier,elem)>-1!==not});return jQuery.filter(qualifier,elements,not)}jQuery.filter=function(expr,elems,not){var elem=elems[0];not&&(expr=":not("+expr+")");if(1===elems.length&&1===elem.nodeType)return jQuery.find.matchesSelector(elem,expr)?[elem]:[];return jQuery.find.matches(expr,jQuery.grep(elems,function(elem){return 1===elem.nodeType}))};jQuery.fn.extend({find:function(selector){var i,ret,len=this.length,self=this;if("string"!==typeof selector)return this.pushStack(jQuery(selector).filter(function(){for(i=0;i<len;i++)if(jQuery.contains(self[i],this))return true}));ret=this.pushStack([]);for(i=0;i<len;i++)jQuery.find(selector,self[i],ret);return len>1?jQuery.uniqueSort(ret):ret},filter:function(selector){return this.pushStack(winnow(this,selector||[],false))},not:function(selector){return this.pushStack(winnow(this,selector||[],true))},is:function(selector){return!!winnow(this,"string"===typeof selector&&rneedsContext.test(selector)?jQuery(selector):selector||[],false).length}});var rootjQuery,rquickExpr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,init=jQuery.fn.init=function(selector,context,root){var match,elem;if(!selector)return this;root=root||rootjQuery;if("string"===typeof selector){match="<"===selector[0]&&">"===selector[selector.length-1]&&selector.length>=3?[null,selector,null]:rquickExpr.exec(selector);if(!match||!match[1]&&context)return!context||context.jquery?(context||root).find(selector):this.constructor(context).find(selector);if(match[1]){context=context instanceof jQuery?context[0]:context;jQuery.merge(this,jQuery.parseHTML(match[1],context&&context.nodeType?context.ownerDocument||context:document,true));if(rsingleTag.test(match[1])&&jQuery.isPlainObject(context))for(match in context)isFunction(this[match])?this[match](context[match]):this.attr(match,context[match]);return this}elem=document.getElementById(match[2]);if(elem){this[0]=elem;this.length=1}return this}if(selector.nodeType){this[0]=selector;this.length=1;return this}if(isFunction(selector))return void 0!==root.ready?root.ready(selector):selector(jQuery);return jQuery.makeArray(selector,this)};init.prototype=jQuery.fn;rootjQuery=jQuery(document);var rparentsprev=/^(?:parents|prev(?:Until|All))/,guaranteedUnique={children:true,contents:true,next:true,prev:true};jQuery.fn.extend({has:function(target){var targets=jQuery(target,this),l=targets.length;return this.filter(function(){var i=0;for(;i<l;i++)if(jQuery.contains(this,targets[i]))return true})},closest:function(selectors,context){var cur,i=0,l=this.length,matched=[],targets="string"!==typeof selectors&&jQuery(selectors);if(!rneedsContext.test(selectors))for(;i<l;i++)for(cur=this[i];cur&&cur!==context;cur=cur.parentNode)if(cur.nodeType<11&&(targets?targets.index(cur)>-1:1===cur.nodeType&&jQuery.find.matchesSelector(cur,selectors))){matched.push(cur);break}return this.pushStack(matched.length>1?jQuery.uniqueSort(matched):matched)},index:function(elem){if(!elem)return this[0]&&this[0].parentNode?this.first().prevAll().length:-1;if("string"===typeof elem)return indexOf.call(jQuery(elem),this[0]);return indexOf.call(this,elem.jquery?elem[0]:elem)},add:function(selector,context){return this.pushStack(jQuery.uniqueSort(jQuery.merge(this.get(),jQuery(selector,context))))},addBack:function(selector){return this.add(null==selector?this.prevObject:this.prevObject.filter(selector))}});function sibling(cur,dir){while((cur=cur[dir])&&1!==cur.nodeType);return cur}jQuery.each({parent:function(elem){var parent=elem.parentNode;return parent&&11!==parent.nodeType?parent:null},parents:function(elem){return dir(elem,"parentNode")},parentsUntil:function(elem,i,until){return dir(elem,"parentNode",until)},next:function(elem){return sibling(elem,"nextSibling")},prev:function(elem){return sibling(elem,"previousSibling")},nextAll:function(elem){return dir(elem,"nextSibling")},prevAll:function(elem){return dir(elem,"previousSibling")},nextUntil:function(elem,i,until){return dir(elem,"nextSibling",until)},prevUntil:function(elem,i,until){return dir(elem,"previousSibling",until)},siblings:function(elem){return siblings((elem.parentNode||{}).firstChild,elem)},children:function(elem){return siblings(elem.firstChild)},contents:function(elem){if(nodeName(elem,"iframe"))return elem.contentDocument;nodeName(elem,"template")&&(elem=elem.content||elem);return jQuery.merge([],elem.childNodes)}},function(name,fn){jQuery.fn[name]=function(until,selector){var matched=jQuery.map(this,fn,until);"Until"!==name.slice(-5)&&(selector=until);selector&&"string"===typeof selector&&(matched=jQuery.filter(selector,matched));if(this.length>1){guaranteedUnique[name]||jQuery.uniqueSort(matched);rparentsprev.test(name)&&matched.reverse()}return this.pushStack(matched)}});var rnothtmlwhite=/[^\x20\t\r\n\f]+/g;function createOptions(options){var object={};jQuery.each(options.match(rnothtmlwhite)||[],function(_,flag){object[flag]=true});return object}jQuery.Callbacks=function(options){options="string"===typeof options?createOptions(options):jQuery.extend({},options);var firing,memory,fired,locked,list=[],queue=[],firingIndex=-1,fire=function(){locked=locked||options.once;fired=firing=true;for(;queue.length;firingIndex=-1){memory=queue.shift();while(++firingIndex<list.length)if(false===list[firingIndex].apply(memory[0],memory[1])&&options.stopOnFalse){firingIndex=list.length;memory=false}}options.memory||(memory=false);firing=false;locked&&(list=memory?[]:"")},self={add:function(){if(list){if(memory&&!firing){firingIndex=list.length-1;queue.push(memory)}(function add(args){jQuery.each(args,function(_,arg){isFunction(arg)?options.unique&&self.has(arg)||list.push(arg):arg&&arg.length&&"string"!==toType(arg)&&add(arg)})})(arguments);memory&&!firing&&fire()}return this},remove:function(){jQuery.each(arguments,function(_,arg){var index;while((index=jQuery.inArray(arg,list,index))>-1){list.splice(index,1);index<=firingIndex&&firingIndex--}});return this},has:function(fn){return fn?jQuery.inArray(fn,list)>-1:list.length>0},empty:function(){list&&(list=[]);return this},disable:function(){locked=queue=[];list=memory="";return this},disabled:function(){return!list},lock:function(){locked=queue=[];memory||firing||(list=memory="");return this},locked:function(){return!!locked},fireWith:function(context,args){if(!locked){args=args||[];args=[context,args.slice?args.slice():args];queue.push(args);firing||fire()}return this},fire:function(){self.fireWith(this,arguments);return this},fired:function(){return!!fired}};return self};function Identity(v){return v}function Thrower(ex){throw ex}function adoptValue(value,resolve,reject,noValue){var method;try{value&&isFunction(method=value.promise)?method.call(value).done(resolve).fail(reject):value&&isFunction(method=value.then)?method.call(value,resolve,reject):resolve.apply(void 0,[value].slice(noValue))}catch(value){reject.apply(void 0,[value])}}jQuery.extend({Deferred:function(func){var tuples=[["notify","progress",jQuery.Callbacks("memory"),jQuery.Callbacks("memory"),2],["resolve","done",jQuery.Callbacks("once memory"),jQuery.Callbacks("once memory"),0,"resolved"],["reject","fail",jQuery.Callbacks("once memory"),jQuery.Callbacks("once memory"),1,"rejected"]],state="pending",promise={state:function(){return state},always:function(){deferred.done(arguments).fail(arguments);return this},catch:function(fn){return promise.then(null,fn)},pipe:function(){var fns=arguments;return jQuery.Deferred(function(newDefer){jQuery.each(tuples,function(i,tuple){var fn=isFunction(fns[tuple[4]])&&fns[tuple[4]];deferred[tuple[1]](function(){var returned=fn&&fn.apply(this,arguments);returned&&isFunction(returned.promise)?returned.promise().progress(newDefer.notify).done(newDefer.resolve).fail(newDefer.reject):newDefer[tuple[0]+"With"](this,fn?[returned]:arguments)})});fns=null}).promise()},then:function(onFulfilled,onRejected,onProgress){var maxDepth=0;function resolve(depth,deferred,handler,special){return function(){var that=this,args=arguments,mightThrow=function(){var returned,then;if(depth<maxDepth)return;returned=handler.apply(that,args);if(returned===deferred.promise())throw new TypeError("Thenable self-resolution");then=returned&&("object"===typeof returned||"function"===typeof returned)&&returned.then;if(isFunction(then))if(special)then.call(returned,resolve(maxDepth,deferred,Identity,special),resolve(maxDepth,deferred,Thrower,special));else{maxDepth++;then.call(returned,resolve(maxDepth,deferred,Identity,special),resolve(maxDepth,deferred,Thrower,special),resolve(maxDepth,deferred,Identity,deferred.notifyWith))}else{if(handler!==Identity){that=void 0;args=[returned]}(special||deferred.resolveWith)(that,args)}},process=special?mightThrow:function(){try{mightThrow()}catch(e){jQuery.Deferred.exceptionHook&&jQuery.Deferred.exceptionHook(e,process.stackTrace);if(depth+1>=maxDepth){if(handler!==Thrower){that=void 0;args=[e]}deferred.rejectWith(that,args)}}};if(depth)process();else{jQuery.Deferred.getStackHook&&(process.stackTrace=jQuery.Deferred.getStackHook());window.setTimeout(process)}}}return jQuery.Deferred(function(newDefer){tuples[0][3].add(resolve(0,newDefer,isFunction(onProgress)?onProgress:Identity,newDefer.notifyWith));tuples[1][3].add(resolve(0,newDefer,isFunction(onFulfilled)?onFulfilled:Identity));tuples[2][3].add(resolve(0,newDefer,isFunction(onRejected)?onRejected:Thrower))}).promise()},promise:function(obj){return null!=obj?jQuery.extend(obj,promise):promise}},deferred={};jQuery.each(tuples,function(i,tuple){var list=tuple[2],stateString=tuple[5];promise[tuple[1]]=list.add;stateString&&list.add(function(){state=stateString},tuples[3-i][2].disable,tuples[3-i][3].disable,tuples[0][2].lock,tuples[0][3].lock);list.add(tuple[3].fire);deferred[tuple[0]]=function(){deferred[tuple[0]+"With"](this===deferred?void 0:this,arguments);return this};deferred[tuple[0]+"With"]=list.fireWith});promise.promise(deferred);func&&func.call(deferred,deferred);return deferred},when:function(singleValue){var remaining=arguments.length,i=remaining,resolveContexts=Array(i),resolveValues=slice.call(arguments),master=jQuery.Deferred(),updateFunc=function(i){return function(value){resolveContexts[i]=this;resolveValues[i]=arguments.length>1?slice.call(arguments):value;--remaining||master.resolveWith(resolveContexts,resolveValues)}};if(remaining<=1){adoptValue(singleValue,master.done(updateFunc(i)).resolve,master.reject,!remaining);if("pending"===master.state()||isFunction(resolveValues[i]&&resolveValues[i].then))return master.then()}while(i--)adoptValue(resolveValues[i],updateFunc(i),master.reject);return master.promise()}});var rerrorNames=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;jQuery.Deferred.exceptionHook=function(error,stack){window.console&&window.console.warn&&error&&rerrorNames.test(error.name)&&window.console.warn("jQuery.Deferred exception: "+error.message,error.stack,stack)};jQuery.readyException=function(error){window.setTimeout(function(){throw error})};var readyList=jQuery.Deferred();jQuery.fn.ready=function(fn){readyList.then(fn).catch(function(error){jQuery.readyException(error)});return this};jQuery.extend({isReady:false,readyWait:1,ready:function(wait){if(true===wait?--jQuery.readyWait:jQuery.isReady)return;jQuery.isReady=true;if(true!==wait&&--jQuery.readyWait>0)return;readyList.resolveWith(document,[jQuery])}});jQuery.ready.then=readyList.then;function completed(){document.removeEventListener("DOMContentLoaded",completed);window.removeEventListener("load",completed);jQuery.ready()}if("complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll)window.setTimeout(jQuery.ready);else{document.addEventListener("DOMContentLoaded",completed);window.addEventListener("load",completed)}var access=function(elems,fn,key,value,chainable,emptyGet,raw){var i=0,len=elems.length,bulk=null==key;if("object"===toType(key)){chainable=true;for(i in key)access(elems,fn,i,key[i],true,emptyGet,raw)}else if(void 0!==value){chainable=true;isFunction(value)||(raw=true);if(bulk)if(raw){fn.call(elems,value);fn=null}else{bulk=fn;fn=function(elem,key,value){return bulk.call(jQuery(elem),value)}}if(fn)for(;i<len;i++)fn(elems[i],key,raw?value:value.call(elems[i],i,fn(elems[i],key)))}if(chainable)return elems;if(bulk)return fn.call(elems);return len?fn(elems[0],key):emptyGet};var rmsPrefix=/^-ms-/,rdashAlpha=/-([a-z])/g;function fcamelCase(all,letter){return letter.toUpperCase()}function camelCase(string){return string.replace(rmsPrefix,"ms-").replace(rdashAlpha,fcamelCase)}var acceptData=function(owner){return 1===owner.nodeType||9===owner.nodeType||!+owner.nodeType};function Data(){this.expando=jQuery.expando+Data.uid++}Data.uid=1;Data.prototype={cache:function(owner){var value=owner[this.expando];if(!value){value={};acceptData(owner)&&(owner.nodeType?owner[this.expando]=value:Object.defineProperty(owner,this.expando,{value:value,configurable:true}))}return value},set:function(owner,data,value){var prop,cache=this.cache(owner);if("string"===typeof data)cache[camelCase(data)]=value;else for(prop in data)cache[camelCase(prop)]=data[prop];return cache},get:function(owner,key){return void 0===key?this.cache(owner):owner[this.expando]&&owner[this.expando][camelCase(key)]},access:function(owner,key,value){if(void 0===key||key&&"string"===typeof key&&void 0===value)return this.get(owner,key);this.set(owner,key,value);return void 0!==value?value:key},remove:function(owner,key){var i,cache=owner[this.expando];if(void 0===cache)return;if(void 0!==key){if(Array.isArray(key))key=key.map(camelCase);else{key=camelCase(key);key=key in cache?[key]:key.match(rnothtmlwhite)||[]}i=key.length;while(i--)delete cache[key[i]]}(void 0===key||jQuery.isEmptyObject(cache))&&(owner.nodeType?owner[this.expando]=void 0:delete owner[this.expando])},hasData:function(owner){var cache=owner[this.expando];return void 0!==cache&&!jQuery.isEmptyObject(cache)}};var dataPriv=new Data;var dataUser=new Data;var rbrace=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,rmultiDash=/[A-Z]/g;function getData(data){if("true"===data)return true;if("false"===data)return false;if("null"===data)return null;if(data===+data+"")return+data;if(rbrace.test(data))return JSON.parse(data);return data}function dataAttr(elem,key,data){var name;if(void 0===data&&1===elem.nodeType){name="data-"+key.replace(rmultiDash,"-$&").toLowerCase();data=elem.getAttribute(name);if("string"===typeof data){try{data=getData(data)}catch(e){}dataUser.set(elem,key,data)}else data=void 0}return data}jQuery.extend({hasData:function(elem){return dataUser.hasData(elem)||dataPriv.hasData(elem)},data:function(elem,name,data){return dataUser.access(elem,name,data)},removeData:function(elem,name){dataUser.remove(elem,name)},_data:function(elem,name,data){return dataPriv.access(elem,name,data)},_removeData:function(elem,name){dataPriv.remove(elem,name)}});jQuery.fn.extend({data:function(key,value){var i,name,data,elem=this[0],attrs=elem&&elem.attributes;if(void 0===key){if(this.length){data=dataUser.get(elem);if(1===elem.nodeType&&!dataPriv.get(elem,"hasDataAttrs")){i=attrs.length;while(i--)if(attrs[i]){name=attrs[i].name;if(0===name.indexOf("data-")){name=camelCase(name.slice(5));dataAttr(elem,name,data[name])}}dataPriv.set(elem,"hasDataAttrs",true)}}return data}if("object"===typeof key)return this.each(function(){dataUser.set(this,key)});return access(this,function(value){var data;if(elem&&void 0===value){data=dataUser.get(elem,key);if(void 0!==data)return data;data=dataAttr(elem,key);if(void 0!==data)return data;return}this.each(function(){dataUser.set(this,key,value)})},null,value,arguments.length>1,null,true)},removeData:function(key){return this.each(function(){dataUser.remove(this,key)})}});jQuery.extend({queue:function(elem,type,data){var queue;if(elem){type=(type||"fx")+"queue";queue=dataPriv.get(elem,type);data&&(!queue||Array.isArray(data)?queue=dataPriv.access(elem,type,jQuery.makeArray(data)):queue.push(data));return queue||[]}},dequeue:function(elem,type){type=type||"fx";var queue=jQuery.queue(elem,type),startLength=queue.length,fn=queue.shift(),hooks=jQuery._queueHooks(elem,type),next=function(){jQuery.dequeue(elem,type)};if("inprogress"===fn){fn=queue.shift();startLength--}if(fn){"fx"===type&&queue.unshift("inprogress");delete hooks.stop;fn.call(elem,next,hooks)}!startLength&&hooks&&hooks.empty.fire()},_queueHooks:function(elem,type){var key=type+"queueHooks";return dataPriv.get(elem,key)||dataPriv.access(elem,key,{empty:jQuery.Callbacks("once memory").add(function(){dataPriv.remove(elem,[type+"queue",key])})})}});jQuery.fn.extend({queue:function(type,data){var setter=2;if("string"!==typeof type){data=type;type="fx";setter--}if(arguments.length<setter)return jQuery.queue(this[0],type);return void 0===data?this:this.each(function(){var queue=jQuery.queue(this,type,data);jQuery._queueHooks(this,type);"fx"===type&&"inprogress"!==queue[0]&&jQuery.dequeue(this,type)})},dequeue:function(type){return this.each(function(){jQuery.dequeue(this,type)})},clearQueue:function(type){return this.queue(type||"fx",[])},promise:function(type,obj){var tmp,count=1,defer=jQuery.Deferred(),elements=this,i=this.length,resolve=function(){--count||defer.resolveWith(elements,[elements])};if("string"!==typeof type){obj=type;type=void 0}type=type||"fx";while(i--){tmp=dataPriv.get(elements[i],type+"queueHooks");if(tmp&&tmp.empty){count++;tmp.empty.add(resolve)}}resolve();return defer.promise(obj)}});var pnum=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source;var rcssNum=new RegExp("^(?:([+-])=|)("+pnum+")([a-z%]*)$","i");var cssExpand=["Top","Right","Bottom","Left"];var isHiddenWithinTree=function(elem,el){elem=el||elem;return"none"===elem.style.display||""===elem.style.display&&jQuery.contains(elem.ownerDocument,elem)&&"none"===jQuery.css(elem,"display")};var swap=function(elem,options,callback,args){var ret,name,old={};for(name in options){old[name]=elem.style[name];elem.style[name]=options[name]}ret=callback.apply(elem,args||[]);for(name in options)elem.style[name]=old[name];return ret};function adjustCSS(elem,prop,valueParts,tween){var adjusted,scale,maxIterations=20,currentValue=tween?function(){return tween.cur()}:function(){return jQuery.css(elem,prop,"")},initial=currentValue(),unit=valueParts&&valueParts[3]||(jQuery.cssNumber[prop]?"":"px"),initialInUnit=(jQuery.cssNumber[prop]||"px"!==unit&&+initial)&&rcssNum.exec(jQuery.css(elem,prop));if(initialInUnit&&initialInUnit[3]!==unit){initial/=2;unit=unit||initialInUnit[3];initialInUnit=+initial||1;while(maxIterations--){jQuery.style(elem,prop,initialInUnit+unit);(1-scale)*(1-(scale=currentValue()/initial||.5))<=0&&(maxIterations=0);initialInUnit/=scale}initialInUnit*=2;jQuery.style(elem,prop,initialInUnit+unit);valueParts=valueParts||[]}if(valueParts){initialInUnit=+initialInUnit||+initial||0;adjusted=valueParts[1]?initialInUnit+(valueParts[1]+1)*valueParts[2]:+valueParts[2];if(tween){tween.unit=unit;tween.start=initialInUnit;tween.end=adjusted}}return adjusted}var defaultDisplayMap={};function getDefaultDisplay(elem){var temp,doc=elem.ownerDocument,nodeName=elem.nodeName,display=defaultDisplayMap[nodeName];if(display)return display;temp=doc.body.appendChild(doc.createElement(nodeName));display=jQuery.css(temp,"display");temp.parentNode.removeChild(temp);"none"===display&&(display="block");defaultDisplayMap[nodeName]=display;return display}function showHide(elements,show){var display,elem,values=[],index=0,length=elements.length;for(;index<length;index++){elem=elements[index];if(!elem.style)continue;display=elem.style.display;if(show){if("none"===display){values[index]=dataPriv.get(elem,"display")||null;values[index]||(elem.style.display="")}""===elem.style.display&&isHiddenWithinTree(elem)&&(values[index]=getDefaultDisplay(elem))}else if("none"!==display){values[index]="none";dataPriv.set(elem,"display",display)}}for(index=0;index<length;index++)null!=values[index]&&(elements[index].style.display=values[index]);return elements}jQuery.fn.extend({show:function(){return showHide(this,true)},hide:function(){return showHide(this)},toggle:function(state){if("boolean"===typeof state)return state?this.show():this.hide();return this.each(function(){isHiddenWithinTree(this)?jQuery(this).show():jQuery(this).hide()})}});var rcheckableType=/^(?:checkbox|radio)$/i;var rtagName=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i;var rscriptType=/^$|^module$|\/(?:java|ecma)script/i;var wrapMap={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};wrapMap.optgroup=wrapMap.option;wrapMap.tbody=wrapMap.tfoot=wrapMap.colgroup=wrapMap.caption=wrapMap.thead;wrapMap.th=wrapMap.td;function getAll(context,tag){var ret;ret="undefined"!==typeof context.getElementsByTagName?context.getElementsByTagName(tag||"*"):"undefined"!==typeof context.querySelectorAll?context.querySelectorAll(tag||"*"):[];if(void 0===tag||tag&&nodeName(context,tag))return jQuery.merge([context],ret);return ret}function setGlobalEval(elems,refElements){var i=0,l=elems.length;for(;i<l;i++)dataPriv.set(elems[i],"globalEval",!refElements||dataPriv.get(refElements[i],"globalEval"))}var rhtml=/<|&#?\w+;/;function buildFragment(elems,context,scripts,selection,ignored){var elem,tmp,tag,wrap,contains,j,fragment=context.createDocumentFragment(),nodes=[],i=0,l=elems.length;for(;i<l;i++){elem=elems[i];if(elem||0===elem)if("object"===toType(elem))jQuery.merge(nodes,elem.nodeType?[elem]:elem);else if(rhtml.test(elem)){tmp=tmp||fragment.appendChild(context.createElement("div"));tag=(rtagName.exec(elem)||["",""])[1].toLowerCase();wrap=wrapMap[tag]||wrapMap._default;tmp.innerHTML=wrap[1]+jQuery.htmlPrefilter(elem)+wrap[2];j=wrap[0];while(j--)tmp=tmp.lastChild;jQuery.merge(nodes,tmp.childNodes);tmp=fragment.firstChild;tmp.textContent=""}else nodes.push(context.createTextNode(elem))}fragment.textContent="";i=0;while(elem=nodes[i++]){if(selection&&jQuery.inArray(elem,selection)>-1){ignored&&ignored.push(elem);continue}contains=jQuery.contains(elem.ownerDocument,elem);tmp=getAll(fragment.appendChild(elem),"script");contains&&setGlobalEval(tmp);if(scripts){j=0;while(elem=tmp[j++])rscriptType.test(elem.type||"")&&scripts.push(elem)}}return fragment}(function(){var fragment=document.createDocumentFragment(),div=fragment.appendChild(document.createElement("div")),input=document.createElement("input");input.setAttribute("type","radio");input.setAttribute("checked","checked");input.setAttribute("name","t");div.appendChild(input);support.checkClone=div.cloneNode(true).cloneNode(true).lastChild.checked;div.innerHTML="<textarea>x</textarea>";support.noCloneChecked=!!div.cloneNode(true).lastChild.defaultValue})();var documentElement=document.documentElement;var rkeyEvent=/^key/,rmouseEvent=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,rtypenamespace=/^([^.]*)(?:\.(.+)|)/;function returnTrue(){return true}function returnFalse(){return false}function safeActiveElement(){try{return document.activeElement}catch(err){}}function on(elem,types,selector,data,fn,one){var origFn,type;if("object"===typeof types){if("string"!==typeof selector){data=data||selector;selector=void 0}for(type in types)on(elem,type,selector,data,types[type],one);return elem}if(null==data&&null==fn){fn=selector;data=selector=void 0}else if(null==fn)if("string"===typeof selector){fn=data;data=void 0}else{fn=data;data=selector;selector=void 0}if(false===fn)fn=returnFalse;else if(!fn)return elem;if(1===one){origFn=fn;fn=function(event){jQuery().off(event);return origFn.apply(this,arguments)};fn.guid=origFn.guid||(origFn.guid=jQuery.guid++)}return elem.each(function(){jQuery.event.add(this,types,fn,data,selector)})}jQuery.event={global:{},add:function(elem,types,handler,data,selector){var handleObjIn,eventHandle,tmp,events,t,handleObj,special,handlers,type,namespaces,origType,elemData=dataPriv.get(elem);if(!elemData)return;if(handler.handler){handleObjIn=handler;handler=handleObjIn.handler;selector=handleObjIn.selector}selector&&jQuery.find.matchesSelector(documentElement,selector);handler.guid||(handler.guid=jQuery.guid++);(events=elemData.events)||(events=elemData.events={});(eventHandle=elemData.handle)||(eventHandle=elemData.handle=function(e){return"undefined"!==typeof jQuery&&jQuery.event.triggered!==e.type?jQuery.event.dispatch.apply(elem,arguments):void 0});types=(types||"").match(rnothtmlwhite)||[""];t=types.length;while(t--){tmp=rtypenamespace.exec(types[t])||[];type=origType=tmp[1];namespaces=(tmp[2]||"").split(".").sort();if(!type)continue;special=jQuery.event.special[type]||{};type=(selector?special.delegateType:special.bindType)||type;special=jQuery.event.special[type]||{};handleObj=jQuery.extend({type:type,origType:origType,data:data,handler:handler,guid:handler.guid,selector:selector,needsContext:selector&&jQuery.expr.match.needsContext.test(selector),namespace:namespaces.join(".")},handleObjIn);if(!(handlers=events[type])){handlers=events[type]=[];handlers.delegateCount=0;special.setup&&false!==special.setup.call(elem,data,namespaces,eventHandle)||elem.addEventListener&&elem.addEventListener(type,eventHandle)}if(special.add){special.add.call(elem,handleObj);handleObj.handler.guid||(handleObj.handler.guid=handler.guid)}selector?handlers.splice(handlers.delegateCount++,0,handleObj):handlers.push(handleObj);jQuery.event.global[type]=true}},remove:function(elem,types,handler,selector,mappedTypes){var j,origCount,tmp,events,t,handleObj,special,handlers,type,namespaces,origType,elemData=dataPriv.hasData(elem)&&dataPriv.get(elem);if(!elemData||!(events=elemData.events))return;types=(types||"").match(rnothtmlwhite)||[""];t=types.length;while(t--){tmp=rtypenamespace.exec(types[t])||[];type=origType=tmp[1];namespaces=(tmp[2]||"").split(".").sort();if(!type){for(type in events)jQuery.event.remove(elem,type+types[t],handler,selector,true);continue}special=jQuery.event.special[type]||{};type=(selector?special.delegateType:special.bindType)||type;handlers=events[type]||[];tmp=tmp[2]&&new RegExp("(^|\\.)"+namespaces.join("\\.(?:.*\\.|)")+"(\\.|$)");origCount=j=handlers.length;while(j--){handleObj=handlers[j];if((mappedTypes||origType===handleObj.origType)&&(!handler||handler.guid===handleObj.guid)&&(!tmp||tmp.test(handleObj.namespace))&&(!selector||selector===handleObj.selector||"**"===selector&&handleObj.selector)){handlers.splice(j,1);handleObj.selector&&handlers.delegateCount--;special.remove&&special.remove.call(elem,handleObj)}}if(origCount&&!handlers.length){special.teardown&&false!==special.teardown.call(elem,namespaces,elemData.handle)||jQuery.removeEvent(elem,type,elemData.handle);delete events[type]}}jQuery.isEmptyObject(events)&&dataPriv.remove(elem,"handle events")},dispatch:function(nativeEvent){var event=jQuery.event.fix(nativeEvent);var i,j,ret,matched,handleObj,handlerQueue,args=new Array(arguments.length),handlers=(dataPriv.get(this,"events")||{})[event.type]||[],special=jQuery.event.special[event.type]||{};args[0]=event;for(i=1;i<arguments.length;i++)args[i]=arguments[i];event.delegateTarget=this;if(special.preDispatch&&false===special.preDispatch.call(this,event))return;handlerQueue=jQuery.event.handlers.call(this,event,handlers);i=0;while((matched=handlerQueue[i++])&&!event.isPropagationStopped()){event.currentTarget=matched.elem;j=0;while((handleObj=matched.handlers[j++])&&!event.isImmediatePropagationStopped())if(!event.rnamespace||event.rnamespace.test(handleObj.namespace)){event.handleObj=handleObj;event.data=handleObj.data;ret=((jQuery.event.special[handleObj.origType]||{}).handle||handleObj.handler).apply(matched.elem,args);if(void 0!==ret&&false===(event.result=ret)){event.preventDefault();event.stopPropagation()}}}special.postDispatch&&special.postDispatch.call(this,event);return event.result},handlers:function(event,handlers){var i,handleObj,sel,matchedHandlers,matchedSelectors,handlerQueue=[],delegateCount=handlers.delegateCount,cur=event.target;if(delegateCount&&cur.nodeType&&!("click"===event.type&&event.button>=1))for(;cur!==this;cur=cur.parentNode||this)if(1===cur.nodeType&&!("click"===event.type&&true===cur.disabled)){matchedHandlers=[];matchedSelectors={};for(i=0;i<delegateCount;i++){handleObj=handlers[i];sel=handleObj.selector+" ";void 0===matchedSelectors[sel]&&(matchedSelectors[sel]=handleObj.needsContext?jQuery(sel,this).index(cur)>-1:jQuery.find(sel,this,null,[cur]).length);matchedSelectors[sel]&&matchedHandlers.push(handleObj)}matchedHandlers.length&&handlerQueue.push({elem:cur,handlers:matchedHandlers})}cur=this;delegateCount<handlers.length&&handlerQueue.push({elem:cur,handlers:handlers.slice(delegateCount)});return handlerQueue},addProp:function(name,hook){Object.defineProperty(jQuery.Event.prototype,name,{enumerable:true,configurable:true,get:isFunction(hook)?function(){if(this.originalEvent)return hook(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[name]},set:function(value){Object.defineProperty(this,name,{enumerable:true,configurable:true,writable:true,value:value})}})},fix:function(originalEvent){return originalEvent[jQuery.expando]?originalEvent:new jQuery.Event(originalEvent)},special:{load:{noBubble:true},focus:{trigger:function(){if(this!==safeActiveElement()&&this.focus){this.focus();return false}},delegateType:"focusin"},blur:{trigger:function(){if(this===safeActiveElement()&&this.blur){this.blur();return false}},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&nodeName(this,"input")){this.click();return false}},_default:function(event){return nodeName(event.target,"a")}},beforeunload:{postDispatch:function(event){void 0!==event.result&&event.originalEvent&&(event.originalEvent.returnValue=event.result)}}}};jQuery.removeEvent=function(elem,type,handle){elem.removeEventListener&&elem.removeEventListener(type,handle)};jQuery.Event=function(src,props){if(!(this instanceof jQuery.Event))return new jQuery.Event(src,props);if(src&&src.type){this.originalEvent=src;this.type=src.type;this.isDefaultPrevented=src.defaultPrevented||void 0===src.defaultPrevented&&false===src.returnValue?returnTrue:returnFalse;this.target=src.target&&3===src.target.nodeType?src.target.parentNode:src.target;this.currentTarget=src.currentTarget;this.relatedTarget=src.relatedTarget}else this.type=src;props&&jQuery.extend(this,props);this.timeStamp=src&&src.timeStamp||Date.now();this[jQuery.expando]=true};jQuery.Event.prototype={constructor:jQuery.Event,isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse,isSimulated:false,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=returnTrue;e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=returnTrue;e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=returnTrue;e&&!this.isSimulated&&e.stopImmediatePropagation();this.stopPropagation()}};jQuery.each({altKey:true,bubbles:true,cancelable:true,changedTouches:true,ctrlKey:true,detail:true,eventPhase:true,metaKey:true,pageX:true,pageY:true,shiftKey:true,view:true,char:true,charCode:true,key:true,keyCode:true,button:true,buttons:true,clientX:true,clientY:true,offsetX:true,offsetY:true,pointerId:true,pointerType:true,screenX:true,screenY:true,targetTouches:true,toElement:true,touches:true,which:function(event){var button=event.button;if(null==event.which&&rkeyEvent.test(event.type))return null!=event.charCode?event.charCode:event.keyCode;if(!event.which&&void 0!==button&&rmouseEvent.test(event.type)){if(1&button)return 1;if(2&button)return 3;if(4&button)return 2;return 0}return event.which}},jQuery.event.addProp);jQuery.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(orig,fix){jQuery.event.special[orig]={delegateType:fix,bindType:fix,handle:function(event){var ret,target=this,related=event.relatedTarget,handleObj=event.handleObj;if(!related||related!==target&&!jQuery.contains(target,related)){event.type=handleObj.origType;ret=handleObj.handler.apply(this,arguments);event.type=fix}return ret}}});jQuery.fn.extend({on:function(types,selector,data,fn){return on(this,types,selector,data,fn)},one:function(types,selector,data,fn){return on(this,types,selector,data,fn,1)},off:function(types,selector,fn){var handleObj,type;if(types&&types.preventDefault&&types.handleObj){handleObj=types.handleObj;jQuery(types.delegateTarget).off(handleObj.namespace?handleObj.origType+"."+handleObj.namespace:handleObj.origType,handleObj.selector,handleObj.handler);return this}if("object"===typeof types){for(type in types)this.off(type,selector,types[type]);return this}if(false===selector||"function"===typeof selector){fn=selector;selector=void 0}false===fn&&(fn=returnFalse);return this.each(function(){jQuery.event.remove(this,types,fn,selector)})}});var rxhtmlTag=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,rnoInnerhtml=/<script|<style|<link/i,rchecked=/checked\s*(?:[^=]|=\s*.checked.)/i,rcleanScript=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function manipulationTarget(elem,content){if(nodeName(elem,"table")&&nodeName(11!==content.nodeType?content:content.firstChild,"tr"))return jQuery(elem).children("tbody")[0]||elem;return elem}function disableScript(elem){elem.type=(null!==elem.getAttribute("type"))+"/"+elem.type;return elem}function restoreScript(elem){"true/"===(elem.type||"").slice(0,5)?elem.type=elem.type.slice(5):elem.removeAttribute("type");return elem}function cloneCopyEvent(src,dest){var i,l,type,pdataOld,pdataCur,udataOld,udataCur,events;if(1!==dest.nodeType)return;if(dataPriv.hasData(src)){pdataOld=dataPriv.access(src);pdataCur=dataPriv.set(dest,pdataOld);events=pdataOld.events;if(events){delete pdataCur.handle;pdataCur.events={};for(type in events)for(i=0,l=events[type].length;i<l;i++)jQuery.event.add(dest,type,events[type][i])}}if(dataUser.hasData(src)){udataOld=dataUser.access(src);udataCur=jQuery.extend({},udataOld);dataUser.set(dest,udataCur)}}function fixInput(src,dest){var nodeName=dest.nodeName.toLowerCase();"input"===nodeName&&rcheckableType.test(src.type)?dest.checked=src.checked:"input"!==nodeName&&"textarea"!==nodeName||(dest.defaultValue=src.defaultValue)}function domManip(collection,args,callback,ignored){args=concat.apply([],args);var fragment,first,scripts,hasScripts,node,doc,i=0,l=collection.length,iNoClone=l-1,value=args[0],valueIsFunction=isFunction(value);if(valueIsFunction||l>1&&"string"===typeof value&&!support.checkClone&&rchecked.test(value))return collection.each(function(index){var self=collection.eq(index);valueIsFunction&&(args[0]=value.call(this,index,self.html()));domManip(self,args,callback,ignored)});if(l){fragment=buildFragment(args,collection[0].ownerDocument,false,collection,ignored);first=fragment.firstChild;1===fragment.childNodes.length&&(fragment=first);if(first||ignored){scripts=jQuery.map(getAll(fragment,"script"),disableScript);hasScripts=scripts.length;for(;i<l;i++){node=fragment;if(i!==iNoClone){node=jQuery.clone(node,true,true);hasScripts&&jQuery.merge(scripts,getAll(node,"script"))}callback.call(collection[i],node,i)}if(hasScripts){doc=scripts[scripts.length-1].ownerDocument;jQuery.map(scripts,restoreScript);for(i=0;i<hasScripts;i++){node=scripts[i];rscriptType.test(node.type||"")&&!dataPriv.access(node,"globalEval")&&jQuery.contains(doc,node)&&(node.src&&"module"!==(node.type||"").toLowerCase()?jQuery._evalUrl&&jQuery._evalUrl(node.src):DOMEval(node.textContent.replace(rcleanScript,""),doc,node))}}}}return collection}function remove(elem,selector,keepData){var node,nodes=selector?jQuery.filter(selector,elem):elem,i=0;for(;null!=(node=nodes[i]);i++){keepData||1!==node.nodeType||jQuery.cleanData(getAll(node));if(node.parentNode){keepData&&jQuery.contains(node.ownerDocument,node)&&setGlobalEval(getAll(node,"script"));node.parentNode.removeChild(node)}}return elem}jQuery.extend({htmlPrefilter:function(html){return html.replace(rxhtmlTag,"<$1></$2>")},clone:function(elem,dataAndEvents,deepDataAndEvents){var i,l,srcElements,destElements,clone=elem.cloneNode(true),inPage=jQuery.contains(elem.ownerDocument,elem);if(!support.noCloneChecked&&(1===elem.nodeType||11===elem.nodeType)&&!jQuery.isXMLDoc(elem)){destElements=getAll(clone);srcElements=getAll(elem);for(i=0,l=srcElements.length;i<l;i++)fixInput(srcElements[i],destElements[i])}if(dataAndEvents)if(deepDataAndEvents){srcElements=srcElements||getAll(elem);destElements=destElements||getAll(clone);for(i=0,l=srcElements.length;i<l;i++)cloneCopyEvent(srcElements[i],destElements[i])}else cloneCopyEvent(elem,clone);destElements=getAll(clone,"script");destElements.length>0&&setGlobalEval(destElements,!inPage&&getAll(elem,"script"));return clone},cleanData:function(elems){var data,elem,type,special=jQuery.event.special,i=0;for(;void 0!==(elem=elems[i]);i++)if(acceptData(elem)){if(data=elem[dataPriv.expando]){if(data.events)for(type in data.events)special[type]?jQuery.event.remove(elem,type):jQuery.removeEvent(elem,type,data.handle);elem[dataPriv.expando]=void 0}elem[dataUser.expando]&&(elem[dataUser.expando]=void 0)}}});jQuery.fn.extend({detach:function(selector){return remove(this,selector,true)},remove:function(selector){return remove(this,selector)},text:function(value){return access(this,function(value){return void 0===value?jQuery.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=value)})},null,value,arguments.length)},append:function(){return domManip(this,arguments,function(elem){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var target=manipulationTarget(this,elem);target.appendChild(elem)}})},prepend:function(){return domManip(this,arguments,function(elem){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var target=manipulationTarget(this,elem);target.insertBefore(elem,target.firstChild)}})},before:function(){return domManip(this,arguments,function(elem){this.parentNode&&this.parentNode.insertBefore(elem,this)})},after:function(){return domManip(this,arguments,function(elem){this.parentNode&&this.parentNode.insertBefore(elem,this.nextSibling)})},empty:function(){var elem,i=0;for(;null!=(elem=this[i]);i++)if(1===elem.nodeType){jQuery.cleanData(getAll(elem,false));elem.textContent=""}return this},clone:function(dataAndEvents,deepDataAndEvents){dataAndEvents=null!=dataAndEvents&&dataAndEvents;deepDataAndEvents=null==deepDataAndEvents?dataAndEvents:deepDataAndEvents;return this.map(function(){return jQuery.clone(this,dataAndEvents,deepDataAndEvents)})},html:function(value){return access(this,function(value){var elem=this[0]||{},i=0,l=this.length;if(void 0===value&&1===elem.nodeType)return elem.innerHTML;if("string"===typeof value&&!rnoInnerhtml.test(value)&&!wrapMap[(rtagName.exec(value)||["",""])[1].toLowerCase()]){value=jQuery.htmlPrefilter(value);try{for(;i<l;i++){elem=this[i]||{};if(1===elem.nodeType){jQuery.cleanData(getAll(elem,false));elem.innerHTML=value}}elem=0}catch(e){}}elem&&this.empty().append(value)},null,value,arguments.length)},replaceWith:function(){var ignored=[];return domManip(this,arguments,function(elem){var parent=this.parentNode;if(jQuery.inArray(this,ignored)<0){jQuery.cleanData(getAll(this));parent&&parent.replaceChild(elem,this)}},ignored)}});jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(selector){var elems,ret=[],insert=jQuery(selector),last=insert.length-1,i=0;for(;i<=last;i++){elems=i===last?this:this.clone(true);jQuery(insert[i])[original](elems);push.apply(ret,elems.get())}return this.pushStack(ret)}});var rnumnonpx=new RegExp("^("+pnum+")(?!px)[a-z%]+$","i");var getStyles=function(elem){var view=elem.ownerDocument.defaultView;view&&view.opener||(view=window);return view.getComputedStyle(elem)};var rboxStyle=new RegExp(cssExpand.join("|"),"i");(function(){function computeStyleTests(){if(!div)return;container.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";div.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";documentElement.appendChild(container).appendChild(div);var divStyle=window.getComputedStyle(div);pixelPositionVal="1%"!==divStyle.top;reliableMarginLeftVal=12===roundPixelMeasures(divStyle.marginLeft);div.style.right="60%";pixelBoxStylesVal=36===roundPixelMeasures(divStyle.right);boxSizingReliableVal=36===roundPixelMeasures(divStyle.width);div.style.position="absolute";scrollboxSizeVal=36===div.offsetWidth||"absolute";documentElement.removeChild(container);div=null}function roundPixelMeasures(measure){return Math.round(parseFloat(measure))}var pixelPositionVal,boxSizingReliableVal,scrollboxSizeVal,pixelBoxStylesVal,reliableMarginLeftVal,container=document.createElement("div"),div=document.createElement("div");if(!div.style)return;div.style.backgroundClip="content-box";div.cloneNode(true).style.backgroundClip="";support.clearCloneStyle="content-box"===div.style.backgroundClip;jQuery.extend(support,{boxSizingReliable:function(){computeStyleTests();return boxSizingReliableVal},pixelBoxStyles:function(){computeStyleTests();return pixelBoxStylesVal},pixelPosition:function(){computeStyleTests();return pixelPositionVal},reliableMarginLeft:function(){computeStyleTests();return reliableMarginLeftVal},scrollboxSize:function(){computeStyleTests();return scrollboxSizeVal}})})();function curCSS(elem,name,computed){var width,minWidth,maxWidth,ret,style=elem.style;computed=computed||getStyles(elem);if(computed){ret=computed.getPropertyValue(name)||computed[name];""!==ret||jQuery.contains(elem.ownerDocument,elem)||(ret=jQuery.style(elem,name));if(!support.pixelBoxStyles()&&rnumnonpx.test(ret)&&rboxStyle.test(name)){width=style.width;minWidth=style.minWidth;maxWidth=style.maxWidth;style.minWidth=style.maxWidth=style.width=ret;ret=computed.width;style.width=width;style.minWidth=minWidth;style.maxWidth=maxWidth}}return void 0!==ret?ret+"":ret}function addGetHookIf(conditionFn,hookFn){return{get:function(){if(conditionFn()){delete this.get;return}return(this.get=hookFn).apply(this,arguments)}}}var rdisplayswap=/^(none|table(?!-c[ea]).+)/,rcustomProp=/^--/,cssShow={position:"absolute",visibility:"hidden",display:"block"},cssNormalTransform={letterSpacing:"0",fontWeight:"400"},cssPrefixes=["Webkit","Moz","ms"],emptyStyle=document.createElement("div").style;function vendorPropName(name){if(name in emptyStyle)return name;var capName=name[0].toUpperCase()+name.slice(1),i=cssPrefixes.length;while(i--){name=cssPrefixes[i]+capName;if(name in emptyStyle)return name}}function finalPropName(name){var ret=jQuery.cssProps[name];ret||(ret=jQuery.cssProps[name]=vendorPropName(name)||name);return ret}function setPositiveNumber(elem,value,subtract){var matches=rcssNum.exec(value);return matches?Math.max(0,matches[2]-(subtract||0))+(matches[3]||"px"):value}function boxModelAdjustment(elem,dimension,box,isBorderBox,styles,computedVal){var i="width"===dimension?1:0,extra=0,delta=0;if(box===(isBorderBox?"border":"content"))return 0;for(;i<4;i+=2){"margin"===box&&(delta+=jQuery.css(elem,box+cssExpand[i],true,styles));if(isBorderBox){"content"===box&&(delta-=jQuery.css(elem,"padding"+cssExpand[i],true,styles));"margin"!==box&&(delta-=jQuery.css(elem,"border"+cssExpand[i]+"Width",true,styles))}else{delta+=jQuery.css(elem,"padding"+cssExpand[i],true,styles);"padding"!==box?delta+=jQuery.css(elem,"border"+cssExpand[i]+"Width",true,styles):extra+=jQuery.css(elem,"border"+cssExpand[i]+"Width",true,styles)}}!isBorderBox&&computedVal>=0&&(delta+=Math.max(0,Math.ceil(elem["offset"+dimension[0].toUpperCase()+dimension.slice(1)]-computedVal-delta-extra-.5)));return delta}function getWidthOrHeight(elem,dimension,extra){var styles=getStyles(elem),val=curCSS(elem,dimension,styles),isBorderBox="border-box"===jQuery.css(elem,"boxSizing",false,styles),valueIsBorderBox=isBorderBox;if(rnumnonpx.test(val)){if(!extra)return val;val="auto"}valueIsBorderBox=valueIsBorderBox&&(support.boxSizingReliable()||val===elem.style[dimension]);if("auto"===val||!parseFloat(val)&&"inline"===jQuery.css(elem,"display",false,styles)){val=elem["offset"+dimension[0].toUpperCase()+dimension.slice(1)];valueIsBorderBox=true}val=parseFloat(val)||0;return val+boxModelAdjustment(elem,dimension,extra||(isBorderBox?"border":"content"),valueIsBorderBox,styles,val)+"px"}jQuery.extend({cssHooks:{opacity:{get:function(elem,computed){if(computed){var ret=curCSS(elem,"opacity");return""===ret?"1":ret}}}},cssNumber:{animationIterationCount:true,columnCount:true,fillOpacity:true,flexGrow:true,flexShrink:true,fontWeight:true,lineHeight:true,opacity:true,order:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{},style:function(elem,name,value,extra){if(!elem||3===elem.nodeType||8===elem.nodeType||!elem.style)return;var ret,type,hooks,origName=camelCase(name),isCustomProp=rcustomProp.test(name),style=elem.style;isCustomProp||(name=finalPropName(origName));hooks=jQuery.cssHooks[name]||jQuery.cssHooks[origName];if(void 0===value){if(hooks&&"get"in hooks&&void 0!==(ret=hooks.get(elem,false,extra)))return ret;return style[name]}type=typeof value;if("string"===type&&(ret=rcssNum.exec(value))&&ret[1]){value=adjustCSS(elem,name,ret);type="number"}if(null==value||value!==value)return;"number"===type&&(value+=ret&&ret[3]||(jQuery.cssNumber[origName]?"":"px"));support.clearCloneStyle||""!==value||0!==name.indexOf("background")||(style[name]="inherit");hooks&&"set"in hooks&&void 0===(value=hooks.set(elem,value,extra))||(isCustomProp?style.setProperty(name,value):style[name]=value)},css:function(elem,name,extra,styles){var val,num,hooks,origName=camelCase(name),isCustomProp=rcustomProp.test(name);isCustomProp||(name=finalPropName(origName));hooks=jQuery.cssHooks[name]||jQuery.cssHooks[origName];hooks&&"get"in hooks&&(val=hooks.get(elem,true,extra));void 0===val&&(val=curCSS(elem,name,styles));"normal"===val&&name in cssNormalTransform&&(val=cssNormalTransform[name]);if(""===extra||extra){num=parseFloat(val);return true===extra||isFinite(num)?num||0:val}return val}});jQuery.each(["height","width"],function(i,dimension){jQuery.cssHooks[dimension]={get:function(elem,computed,extra){if(computed)return!rdisplayswap.test(jQuery.css(elem,"display"))||elem.getClientRects().length&&elem.getBoundingClientRect().width?getWidthOrHeight(elem,dimension,extra):swap(elem,cssShow,function(){return getWidthOrHeight(elem,dimension,extra)})},set:function(elem,value,extra){var matches,styles=getStyles(elem),isBorderBox="border-box"===jQuery.css(elem,"boxSizing",false,styles),subtract=extra&&boxModelAdjustment(elem,dimension,extra,isBorderBox,styles);isBorderBox&&support.scrollboxSize()===styles.position&&(subtract-=Math.ceil(elem["offset"+dimension[0].toUpperCase()+dimension.slice(1)]-parseFloat(styles[dimension])-boxModelAdjustment(elem,dimension,"border",false,styles)-.5));if(subtract&&(matches=rcssNum.exec(value))&&"px"!==(matches[3]||"px")){elem.style[dimension]=value;value=jQuery.css(elem,dimension)}return setPositiveNumber(elem,value,subtract)}}});jQuery.cssHooks.marginLeft=addGetHookIf(support.reliableMarginLeft,function(elem,computed){if(computed)return(parseFloat(curCSS(elem,"marginLeft"))||elem.getBoundingClientRect().left-swap(elem,{marginLeft:0},function(){return elem.getBoundingClientRect().left}))+"px"});jQuery.each({margin:"",padding:"",border:"Width"},function(prefix,suffix){jQuery.cssHooks[prefix+suffix]={expand:function(value){var i=0,expanded={},parts="string"===typeof value?value.split(" "):[value];for(;i<4;i++)expanded[prefix+cssExpand[i]+suffix]=parts[i]||parts[i-2]||parts[0];return expanded}};"margin"!==prefix&&(jQuery.cssHooks[prefix+suffix].set=setPositiveNumber)});jQuery.fn.extend({css:function(name,value){return access(this,function(elem,name,value){var styles,len,map={},i=0;if(Array.isArray(name)){styles=getStyles(elem);len=name.length;for(;i<len;i++)map[name[i]]=jQuery.css(elem,name[i],false,styles);return map}return void 0!==value?jQuery.style(elem,name,value):jQuery.css(elem,name)},name,value,arguments.length>1)}});function Tween(elem,options,prop,end,easing){return new Tween.prototype.init(elem,options,prop,end,easing)}jQuery.Tween=Tween;Tween.prototype={constructor:Tween,init:function(elem,options,prop,end,easing,unit){this.elem=elem;this.prop=prop;this.easing=easing||jQuery.easing._default;this.options=options;this.start=this.now=this.cur();this.end=end;this.unit=unit||(jQuery.cssNumber[prop]?"":"px")},cur:function(){var hooks=Tween.propHooks[this.prop];return hooks&&hooks.get?hooks.get(this):Tween.propHooks._default.get(this)},run:function(percent){var eased,hooks=Tween.propHooks[this.prop];this.options.duration?this.pos=eased=jQuery.easing[this.easing](percent,this.options.duration*percent,0,1,this.options.duration):this.pos=eased=percent;this.now=(this.end-this.start)*eased+this.start;this.options.step&&this.options.step.call(this.elem,this.now,this);hooks&&hooks.set?hooks.set(this):Tween.propHooks._default.set(this);return this}};Tween.prototype.init.prototype=Tween.prototype;Tween.propHooks={_default:{get:function(tween){var result;if(1!==tween.elem.nodeType||null!=tween.elem[tween.prop]&&null==tween.elem.style[tween.prop])return tween.elem[tween.prop];result=jQuery.css(tween.elem,tween.prop,"");return result&&"auto"!==result?result:0},set:function(tween){jQuery.fx.step[tween.prop]?jQuery.fx.step[tween.prop](tween):1!==tween.elem.nodeType||null==tween.elem.style[jQuery.cssProps[tween.prop]]&&!jQuery.cssHooks[tween.prop]?tween.elem[tween.prop]=tween.now:jQuery.style(tween.elem,tween.prop,tween.now+tween.unit)}}};Tween.propHooks.scrollTop=Tween.propHooks.scrollLeft={set:function(tween){tween.elem.nodeType&&tween.elem.parentNode&&(tween.elem[tween.prop]=tween.now)}};jQuery.easing={linear:function(p){return p},swing:function(p){return.5-Math.cos(p*Math.PI)/2},_default:"swing"};jQuery.fx=Tween.prototype.init;jQuery.fx.step={};var fxNow,inProgress,rfxtypes=/^(?:toggle|show|hide)$/,rrun=/queueHooks$/;function schedule(){if(inProgress){false===document.hidden&&window.requestAnimationFrame?window.requestAnimationFrame(schedule):window.setTimeout(schedule,jQuery.fx.interval);jQuery.fx.tick()}}function createFxNow(){window.setTimeout(function(){fxNow=void 0});return fxNow=Date.now()}function genFx(type,includeWidth){var which,i=0,attrs={height:type};includeWidth=includeWidth?1:0;for(;i<4;i+=2-includeWidth){which=cssExpand[i];attrs["margin"+which]=attrs["padding"+which]=type}includeWidth&&(attrs.opacity=attrs.width=type);return attrs}function createTween(value,prop,animation){var tween,collection=(Animation.tweeners[prop]||[]).concat(Animation.tweeners["*"]),index=0,length=collection.length;for(;index<length;index++)if(tween=collection[index].call(animation,prop,value))return tween}function defaultPrefilter(elem,props,opts){var prop,value,toggle,hooks,oldfire,propTween,restoreDisplay,display,isBox="width"in props||"height"in props,anim=this,orig={},style=elem.style,hidden=elem.nodeType&&isHiddenWithinTree(elem),dataShow=dataPriv.get(elem,"fxshow");if(!opts.queue){hooks=jQuery._queueHooks(elem,"fx");if(null==hooks.unqueued){hooks.unqueued=0;oldfire=hooks.empty.fire;hooks.empty.fire=function(){hooks.unqueued||oldfire()}}hooks.unqueued++;anim.always(function(){anim.always(function(){hooks.unqueued--;jQuery.queue(elem,"fx").length||hooks.empty.fire()})})}for(prop in props){value=props[prop];if(rfxtypes.test(value)){delete props[prop];toggle=toggle||"toggle"===value;if(value===(hidden?"hide":"show")){if("show"!==value||!dataShow||void 0===dataShow[prop])continue;hidden=true}orig[prop]=dataShow&&dataShow[prop]||jQuery.style(elem,prop)}}propTween=!jQuery.isEmptyObject(props);if(!propTween&&jQuery.isEmptyObject(orig))return;if(isBox&&1===elem.nodeType){opts.overflow=[style.overflow,style.overflowX,style.overflowY];restoreDisplay=dataShow&&dataShow.display;null==restoreDisplay&&(restoreDisplay=dataPriv.get(elem,"display"));display=jQuery.css(elem,"display");if("none"===display)if(restoreDisplay)display=restoreDisplay;else{showHide([elem],true);restoreDisplay=elem.style.display||restoreDisplay;display=jQuery.css(elem,"display");showHide([elem])}if(("inline"===display||"inline-block"===display&&null!=restoreDisplay)&&"none"===jQuery.css(elem,"float")){if(!propTween){anim.done(function(){style.display=restoreDisplay});if(null==restoreDisplay){display=style.display;restoreDisplay="none"===display?"":display}}style.display="inline-block"}}if(opts.overflow){style.overflow="hidden";anim.always(function(){style.overflow=opts.overflow[0];style.overflowX=opts.overflow[1];style.overflowY=opts.overflow[2]})}propTween=false;for(prop in orig){if(!propTween){dataShow?"hidden"in dataShow&&(hidden=dataShow.hidden):dataShow=dataPriv.access(elem,"fxshow",{display:restoreDisplay});toggle&&(dataShow.hidden=!hidden);hidden&&showHide([elem],true);anim.done(function(){hidden||showHide([elem]);dataPriv.remove(elem,"fxshow");for(prop in orig)jQuery.style(elem,prop,orig[prop])})}propTween=createTween(hidden?dataShow[prop]:0,prop,anim);if(!(prop in dataShow)){dataShow[prop]=propTween.start;if(hidden){propTween.end=propTween.start;propTween.start=0}}}}function propFilter(props,specialEasing){var index,name,easing,value,hooks;for(index in props){name=camelCase(index);easing=specialEasing[name];value=props[index];if(Array.isArray(value)){easing=value[1];value=props[index]=value[0]}if(index!==name){props[name]=value;delete props[index]}hooks=jQuery.cssHooks[name];if(hooks&&"expand"in hooks){value=hooks.expand(value);delete props[name];for(index in value)if(!(index in props)){props[index]=value[index];specialEasing[index]=easing}}else specialEasing[name]=easing}}function Animation(elem,properties,options){var result,stopped,index=0,length=Animation.prefilters.length,deferred=jQuery.Deferred().always(function(){delete tick.elem}),tick=function(){if(stopped)return false;var currentTime=fxNow||createFxNow(),remaining=Math.max(0,animation.startTime+animation.duration-currentTime),temp=remaining/animation.duration||0,percent=1-temp,index=0,length=animation.tweens.length;for(;index<length;index++)animation.tweens[index].run(percent);deferred.notifyWith(elem,[animation,percent,remaining]);if(percent<1&&length)return remaining;length||deferred.notifyWith(elem,[animation,1,0]);deferred.resolveWith(elem,[animation]);return false},animation=deferred.promise({elem:elem,props:jQuery.extend({},properties),opts:jQuery.extend(true,{specialEasing:{},easing:jQuery.easing._default},options),originalProperties:properties,originalOptions:options,startTime:fxNow||createFxNow(),duration:options.duration,tweens:[],createTween:function(prop,end){var tween=jQuery.Tween(elem,animation.opts,prop,end,animation.opts.specialEasing[prop]||animation.opts.easing);animation.tweens.push(tween);return tween},stop:function(gotoEnd){var index=0,length=gotoEnd?animation.tweens.length:0;if(stopped)return this;stopped=true;for(;index<length;index++)animation.tweens[index].run(1);if(gotoEnd){deferred.notifyWith(elem,[animation,1,0]);deferred.resolveWith(elem,[animation,gotoEnd])}else deferred.rejectWith(elem,[animation,gotoEnd]);return this}}),props=animation.props;propFilter(props,animation.opts.specialEasing);for(;index<length;index++){result=Animation.prefilters[index].call(animation,elem,props,animation.opts);if(result){isFunction(result.stop)&&(jQuery._queueHooks(animation.elem,animation.opts.queue).stop=result.stop.bind(result));return result}}jQuery.map(props,createTween,animation);isFunction(animation.opts.start)&&animation.opts.start.call(elem,animation);animation.progress(animation.opts.progress).done(animation.opts.done,animation.opts.complete).fail(animation.opts.fail).always(animation.opts.always);jQuery.fx.timer(jQuery.extend(tick,{elem:elem,anim:animation,queue:animation.opts.queue}));return animation}jQuery.Animation=jQuery.extend(Animation,{tweeners:{"*":[function(prop,value){var tween=this.createTween(prop,value);adjustCSS(tween.elem,prop,rcssNum.exec(value),tween);return tween}]},tweener:function(props,callback){if(isFunction(props)){callback=props;props=["*"]}else props=props.match(rnothtmlwhite);var prop,index=0,length=props.length;for(;index<length;index++){prop=props[index];Animation.tweeners[prop]=Animation.tweeners[prop]||[];Animation.tweeners[prop].unshift(callback)}},prefilters:[defaultPrefilter],prefilter:function(callback,prepend){prepend?Animation.prefilters.unshift(callback):Animation.prefilters.push(callback)}});jQuery.speed=function(speed,easing,fn){var opt=speed&&"object"===typeof speed?jQuery.extend({},speed):{complete:fn||!fn&&easing||isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&!isFunction(easing)&&easing};jQuery.fx.off?opt.duration=0:"number"!==typeof opt.duration&&(opt.duration in jQuery.fx.speeds?opt.duration=jQuery.fx.speeds[opt.duration]:opt.duration=jQuery.fx.speeds._default);null!=opt.queue&&true!==opt.queue||(opt.queue="fx");opt.old=opt.complete;opt.complete=function(){isFunction(opt.old)&&opt.old.call(this);opt.queue&&jQuery.dequeue(this,opt.queue)};return opt};jQuery.fn.extend({fadeTo:function(speed,to,easing,callback){return this.filter(isHiddenWithinTree).css("opacity",0).show().end().animate({opacity:to},speed,easing,callback)},animate:function(prop,speed,easing,callback){var empty=jQuery.isEmptyObject(prop),optall=jQuery.speed(speed,easing,callback),doAnimation=function(){var anim=Animation(this,jQuery.extend({},prop),optall);(empty||dataPriv.get(this,"finish"))&&anim.stop(true)};doAnimation.finish=doAnimation;return empty||false===optall.queue?this.each(doAnimation):this.queue(optall.queue,doAnimation)},stop:function(type,clearQueue,gotoEnd){var stopQueue=function(hooks){var stop=hooks.stop;delete hooks.stop;stop(gotoEnd)};if("string"!==typeof type){gotoEnd=clearQueue;clearQueue=type;type=void 0}clearQueue&&false!==type&&this.queue(type||"fx",[]);return this.each(function(){var dequeue=true,index=null!=type&&type+"queueHooks",timers=jQuery.timers,data=dataPriv.get(this);if(index)data[index]&&data[index].stop&&stopQueue(data[index]);else for(index in data)data[index]&&data[index].stop&&rrun.test(index)&&stopQueue(data[index]);for(index=timers.length;index--;)if(timers[index].elem===this&&(null==type||timers[index].queue===type)){timers[index].anim.stop(gotoEnd);dequeue=false;timers.splice(index,1)}!dequeue&&gotoEnd||jQuery.dequeue(this,type)})},finish:function(type){false!==type&&(type=type||"fx");return this.each(function(){var index,data=dataPriv.get(this),queue=data[type+"queue"],hooks=data[type+"queueHooks"],timers=jQuery.timers,length=queue?queue.length:0;data.finish=true;jQuery.queue(this,type,[]);hooks&&hooks.stop&&hooks.stop.call(this,true);for(index=timers.length;index--;)if(timers[index].elem===this&&timers[index].queue===type){timers[index].anim.stop(true);timers.splice(index,1)}for(index=0;index<length;index++)queue[index]&&queue[index].finish&&queue[index].finish.call(this);delete data.finish})}});jQuery.each(["toggle","show","hide"],function(i,name){var cssFn=jQuery.fn[name];jQuery.fn[name]=function(speed,easing,callback){return null==speed||"boolean"===typeof speed?cssFn.apply(this,arguments):this.animate(genFx(name,true),speed,easing,callback)}});jQuery.each({slideDown:genFx("show"),slideUp:genFx("hide"),slideToggle:genFx("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(name,props){jQuery.fn[name]=function(speed,easing,callback){return this.animate(props,speed,easing,callback)}});jQuery.timers=[];jQuery.fx.tick=function(){var timer,i=0,timers=jQuery.timers;fxNow=Date.now();for(;i<timers.length;i++){timer=timers[i];timer()||timers[i]!==timer||timers.splice(i--,1)}timers.length||jQuery.fx.stop();fxNow=void 0};jQuery.fx.timer=function(timer){jQuery.timers.push(timer);jQuery.fx.start()};jQuery.fx.interval=13;jQuery.fx.start=function(){if(inProgress)return;inProgress=true;schedule()};jQuery.fx.stop=function(){inProgress=null};jQuery.fx.speeds={slow:600,fast:200,_default:400};jQuery.fn.delay=function(time,type){time=jQuery.fx&&jQuery.fx.speeds[time]||time;type=type||"fx";return this.queue(type,function(next,hooks){var timeout=window.setTimeout(next,time);hooks.stop=function(){window.clearTimeout(timeout)}})};(function(){var input=document.createElement("input"),select=document.createElement("select"),opt=select.appendChild(document.createElement("option"));input.type="checkbox";support.checkOn=""!==input.value;support.optSelected=opt.selected;input=document.createElement("input");input.value="t";input.type="radio";support.radioValue="t"===input.value})();var boolHook,attrHandle=jQuery.expr.attrHandle;jQuery.fn.extend({attr:function(name,value){return access(this,jQuery.attr,name,value,arguments.length>1)},removeAttr:function(name){return this.each(function(){jQuery.removeAttr(this,name)})}});jQuery.extend({attr:function(elem,name,value){var ret,hooks,nType=elem.nodeType;if(3===nType||8===nType||2===nType)return;if("undefined"===typeof elem.getAttribute)return jQuery.prop(elem,name,value);1===nType&&jQuery.isXMLDoc(elem)||(hooks=jQuery.attrHooks[name.toLowerCase()]||(jQuery.expr.match.bool.test(name)?boolHook:void 0));if(void 0!==value){if(null===value){jQuery.removeAttr(elem,name);return}if(hooks&&"set"in hooks&&void 0!==(ret=hooks.set(elem,value,name)))return ret;elem.setAttribute(name,value+"");return value}if(hooks&&"get"in hooks&&null!==(ret=hooks.get(elem,name)))return ret;ret=jQuery.find.attr(elem,name);return null==ret?void 0:ret},attrHooks:{type:{set:function(elem,value){if(!support.radioValue&&"radio"===value&&nodeName(elem,"input")){var val=elem.value;elem.setAttribute("type",value);val&&(elem.value=val);return value}}}},removeAttr:function(elem,value){var name,i=0,attrNames=value&&value.match(rnothtmlwhite);if(attrNames&&1===elem.nodeType)while(name=attrNames[i++])elem.removeAttribute(name)}});boolHook={set:function(elem,value,name){false===value?jQuery.removeAttr(elem,name):elem.setAttribute(name,name);return name}};jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g),function(i,name){var getter=attrHandle[name]||jQuery.find.attr;attrHandle[name]=function(elem,name,isXML){var ret,handle,lowercaseName=name.toLowerCase();if(!isXML){handle=attrHandle[lowercaseName];attrHandle[lowercaseName]=ret;ret=null!=getter(elem,name,isXML)?lowercaseName:null;attrHandle[lowercaseName]=handle}return ret}});var rfocusable=/^(?:input|select|textarea|button)$/i,rclickable=/^(?:a|area)$/i;jQuery.fn.extend({prop:function(name,value){return access(this,jQuery.prop,name,value,arguments.length>1)},removeProp:function(name){return this.each(function(){delete this[jQuery.propFix[name]||name]})}});jQuery.extend({prop:function(elem,name,value){var ret,hooks,nType=elem.nodeType;if(3===nType||8===nType||2===nType)return;if(1!==nType||!jQuery.isXMLDoc(elem)){name=jQuery.propFix[name]||name;hooks=jQuery.propHooks[name]}if(void 0!==value){if(hooks&&"set"in hooks&&void 0!==(ret=hooks.set(elem,value,name)))return ret;return elem[name]=value}if(hooks&&"get"in hooks&&null!==(ret=hooks.get(elem,name)))return ret;return elem[name]},propHooks:{tabIndex:{get:function(elem){var tabindex=jQuery.find.attr(elem,"tabindex");if(tabindex)return parseInt(tabindex,10);if(rfocusable.test(elem.nodeName)||rclickable.test(elem.nodeName)&&elem.href)return 0;return-1}}},propFix:{for:"htmlFor",class:"className"}});support.optSelected||(jQuery.propHooks.selected={get:function(elem){var parent=elem.parentNode;parent&&parent.parentNode&&parent.parentNode.selectedIndex;return null},set:function(elem){var parent=elem.parentNode;if(parent){parent.selectedIndex;parent.parentNode&&parent.parentNode.selectedIndex}}});jQuery.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){jQuery.propFix[this.toLowerCase()]=this});function stripAndCollapse(value){var tokens=value.match(rnothtmlwhite)||[];return tokens.join(" ")}function getClass(elem){return elem.getAttribute&&elem.getAttribute("class")||""}function classesToArray(value){if(Array.isArray(value))return value;if("string"===typeof value)return value.match(rnothtmlwhite)||[];return[]}jQuery.fn.extend({addClass:function(value){var classes,elem,cur,curValue,clazz,j,finalValue,i=0;if(isFunction(value))return this.each(function(j){jQuery(this).addClass(value.call(this,j,getClass(this)))});classes=classesToArray(value);if(classes.length)while(elem=this[i++]){curValue=getClass(elem);cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" ";if(cur){j=0;while(clazz=classes[j++])cur.indexOf(" "+clazz+" ")<0&&(cur+=clazz+" ");finalValue=stripAndCollapse(cur);curValue!==finalValue&&elem.setAttribute("class",finalValue)}}return this},removeClass:function(value){var classes,elem,cur,curValue,clazz,j,finalValue,i=0;if(isFunction(value))return this.each(function(j){jQuery(this).removeClass(value.call(this,j,getClass(this)))});if(!arguments.length)return this.attr("class","");classes=classesToArray(value);if(classes.length)while(elem=this[i++]){curValue=getClass(elem);cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" ";if(cur){j=0;while(clazz=classes[j++])while(cur.indexOf(" "+clazz+" ")>-1)cur=cur.replace(" "+clazz+" "," ");finalValue=stripAndCollapse(cur);curValue!==finalValue&&elem.setAttribute("class",finalValue)}}return this},toggleClass:function(value,stateVal){var type=typeof value,isValidValue="string"===type||Array.isArray(value);if("boolean"===typeof stateVal&&isValidValue)return stateVal?this.addClass(value):this.removeClass(value);if(isFunction(value))return this.each(function(i){jQuery(this).toggleClass(value.call(this,i,getClass(this),stateVal),stateVal)});return this.each(function(){var className,i,self,classNames;if(isValidValue){i=0;self=jQuery(this);classNames=classesToArray(value);while(className=classNames[i++])self.hasClass(className)?self.removeClass(className):self.addClass(className)}else if(void 0===value||"boolean"===type){className=getClass(this);className&&dataPriv.set(this,"__className__",className);this.setAttribute&&this.setAttribute("class",className||false===value?"":dataPriv.get(this,"__className__")||"")}})},hasClass:function(selector){var className,elem,i=0;className=" "+selector+" ";while(elem=this[i++])if(1===elem.nodeType&&(" "+stripAndCollapse(getClass(elem))+" ").indexOf(className)>-1)return true;return false}});var rreturn=/\r/g;jQuery.fn.extend({val:function(value){var hooks,ret,valueIsFunction,elem=this[0];if(!arguments.length){if(elem){hooks=jQuery.valHooks[elem.type]||jQuery.valHooks[elem.nodeName.toLowerCase()];if(hooks&&"get"in hooks&&void 0!==(ret=hooks.get(elem,"value")))return ret;ret=elem.value;if("string"===typeof ret)return ret.replace(rreturn,"");return null==ret?"":ret}return}valueIsFunction=isFunction(value);return this.each(function(i){var val;if(1!==this.nodeType)return;val=valueIsFunction?value.call(this,i,jQuery(this).val()):value;null==val?val="":"number"===typeof val?val+="":Array.isArray(val)&&(val=jQuery.map(val,function(value){return null==value?"":value+""}));hooks=jQuery.valHooks[this.type]||jQuery.valHooks[this.nodeName.toLowerCase()];hooks&&"set"in hooks&&void 0!==hooks.set(this,val,"value")||(this.value=val)})}});jQuery.extend({valHooks:{option:{get:function(elem){var val=jQuery.find.attr(elem,"value");return null!=val?val:stripAndCollapse(jQuery.text(elem))}},select:{get:function(elem){var value,option,i,options=elem.options,index=elem.selectedIndex,one="select-one"===elem.type,values=one?null:[],max=one?index+1:options.length;i=index<0?max:one?index:0;for(;i<max;i++){option=options[i];if((option.selected||i===index)&&!option.disabled&&(!option.parentNode.disabled||!nodeName(option.parentNode,"optgroup"))){value=jQuery(option).val();if(one)return value;values.push(value)}}return values},set:function(elem,value){var optionSet,option,options=elem.options,values=jQuery.makeArray(value),i=options.length;while(i--){option=options[i];(option.selected=jQuery.inArray(jQuery.valHooks.option.get(option),values)>-1)&&(optionSet=true)}optionSet||(elem.selectedIndex=-1);return values}}}});jQuery.each(["radio","checkbox"],function(){jQuery.valHooks[this]={set:function(elem,value){if(Array.isArray(value))return elem.checked=jQuery.inArray(jQuery(elem).val(),value)>-1}};support.checkOn||(jQuery.valHooks[this].get=function(elem){return null===elem.getAttribute("value")?"on":elem.value})});support.focusin="onfocusin"in window;var rfocusMorph=/^(?:focusinfocus|focusoutblur)$/,stopPropagationCallback=function(e){e.stopPropagation()};jQuery.extend(jQuery.event,{trigger:function(event,data,elem,onlyHandlers){var i,cur,tmp,bubbleType,ontype,handle,special,lastElement,eventPath=[elem||document],type=hasOwn.call(event,"type")?event.type:event,namespaces=hasOwn.call(event,"namespace")?event.namespace.split("."):[];cur=lastElement=tmp=elem=elem||document;if(3===elem.nodeType||8===elem.nodeType)return;if(rfocusMorph.test(type+jQuery.event.triggered))return;if(type.indexOf(".")>-1){namespaces=type.split(".");type=namespaces.shift();namespaces.sort()}ontype=type.indexOf(":")<0&&"on"+type;event=event[jQuery.expando]?event:new jQuery.Event(type,"object"===typeof event&&event);event.isTrigger=onlyHandlers?2:3;event.namespace=namespaces.join(".");event.rnamespace=event.namespace?new RegExp("(^|\\.)"+namespaces.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;event.result=void 0;event.target||(event.target=elem);data=null==data?[event]:jQuery.makeArray(data,[event]);special=jQuery.event.special[type]||{};if(!onlyHandlers&&special.trigger&&false===special.trigger.apply(elem,data))return;if(!onlyHandlers&&!special.noBubble&&!isWindow(elem)){bubbleType=special.delegateType||type;rfocusMorph.test(bubbleType+type)||(cur=cur.parentNode);for(;cur;cur=cur.parentNode){eventPath.push(cur);tmp=cur}tmp===(elem.ownerDocument||document)&&eventPath.push(tmp.defaultView||tmp.parentWindow||window)}i=0;while((cur=eventPath[i++])&&!event.isPropagationStopped()){lastElement=cur;event.type=i>1?bubbleType:special.bindType||type;handle=(dataPriv.get(cur,"events")||{})[event.type]&&dataPriv.get(cur,"handle");handle&&handle.apply(cur,data);handle=ontype&&cur[ontype];if(handle&&handle.apply&&acceptData(cur)){event.result=handle.apply(cur,data);false===event.result&&event.preventDefault()}}event.type=type;if(!onlyHandlers&&!event.isDefaultPrevented()&&(!special._default||false===special._default.apply(eventPath.pop(),data))&&acceptData(elem)&&ontype&&isFunction(elem[type])&&!isWindow(elem)){tmp=elem[ontype];tmp&&(elem[ontype]=null);jQuery.event.triggered=type;event.isPropagationStopped()&&lastElement.addEventListener(type,stopPropagationCallback);elem[type]();event.isPropagationStopped()&&lastElement.removeEventListener(type,stopPropagationCallback);jQuery.event.triggered=void 0;tmp&&(elem[ontype]=tmp)}return event.result},simulate:function(type,elem,event){var e=jQuery.extend(new jQuery.Event,event,{type:type,isSimulated:true});jQuery.event.trigger(e,null,elem)}});jQuery.fn.extend({trigger:function(type,data){return this.each(function(){jQuery.event.trigger(type,data,this)})},triggerHandler:function(type,data){var elem=this[0];if(elem)return jQuery.event.trigger(type,data,elem,true)}});support.focusin||jQuery.each({focus:"focusin",blur:"focusout"},function(orig,fix){var handler=function(event){jQuery.event.simulate(fix,event.target,jQuery.event.fix(event))};jQuery.event.special[fix]={setup:function(){var doc=this.ownerDocument||this,attaches=dataPriv.access(doc,fix);attaches||doc.addEventListener(orig,handler,true);dataPriv.access(doc,fix,(attaches||0)+1)},teardown:function(){var doc=this.ownerDocument||this,attaches=dataPriv.access(doc,fix)-1;if(attaches)dataPriv.access(doc,fix,attaches);else{doc.removeEventListener(orig,handler,true);dataPriv.remove(doc,fix)}}}});var location=window.location;var nonce=Date.now();var rquery=/\?/;jQuery.parseXML=function(data){var xml;if(!data||"string"!==typeof data)return null;try{xml=(new window.DOMParser).parseFromString(data,"text/xml")}catch(e){xml=void 0}xml&&!xml.getElementsByTagName("parsererror").length||jQuery.error("Invalid XML: "+data);return xml};var rbracket=/\[\]$/,rCRLF=/\r?\n/g,rsubmitterTypes=/^(?:submit|button|image|reset|file)$/i,rsubmittable=/^(?:input|select|textarea|keygen)/i;function buildParams(prefix,obj,traditional,add){var name;if(Array.isArray(obj))jQuery.each(obj,function(i,v){traditional||rbracket.test(prefix)?add(prefix,v):buildParams(prefix+"["+("object"===typeof v&&null!=v?i:"")+"]",v,traditional,add)});else if(traditional||"object"!==toType(obj))add(prefix,obj);else for(name in obj)buildParams(prefix+"["+name+"]",obj[name],traditional,add)}jQuery.param=function(a,traditional){var prefix,s=[],add=function(key,valueOrFunction){var value=isFunction(valueOrFunction)?valueOrFunction():valueOrFunction;s[s.length]=encodeURIComponent(key)+"="+encodeURIComponent(null==value?"":value)};if(Array.isArray(a)||a.jquery&&!jQuery.isPlainObject(a))jQuery.each(a,function(){add(this.name,this.value)});else for(prefix in a)buildParams(prefix,a[prefix],traditional,add);return s.join("&")};jQuery.fn.extend({serialize:function(){return jQuery.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var elements=jQuery.prop(this,"elements");return elements?jQuery.makeArray(elements):this}).filter(function(){var type=this.type;return this.name&&!jQuery(this).is(":disabled")&&rsubmittable.test(this.nodeName)&&!rsubmitterTypes.test(type)&&(this.checked||!rcheckableType.test(type))}).map(function(i,elem){var val=jQuery(this).val();if(null==val)return null;if(Array.isArray(val))return jQuery.map(val,function(val){return{name:elem.name,value:val.replace(rCRLF,"\r\n")}});return{name:elem.name,value:val.replace(rCRLF,"\r\n")}}).get()}});var r20=/%20/g,rhash=/#.*$/,rantiCache=/([?&])_=[^&]*/,rheaders=/^(.*?):[ \t]*([^\r\n]*)$/gm,rlocalProtocol=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,rnoContent=/^(?:GET|HEAD)$/,rprotocol=/^\/\//,prefilters={},transports={},allTypes="*/".concat("*"),originAnchor=document.createElement("a");originAnchor.href=location.href;function addToPrefiltersOrTransports(structure){return function(dataTypeExpression,func){if("string"!==typeof dataTypeExpression){func=dataTypeExpression;dataTypeExpression="*"}var dataType,i=0,dataTypes=dataTypeExpression.toLowerCase().match(rnothtmlwhite)||[];if(isFunction(func))while(dataType=dataTypes[i++])if("+"===dataType[0]){dataType=dataType.slice(1)||"*";(structure[dataType]=structure[dataType]||[]).unshift(func)}else(structure[dataType]=structure[dataType]||[]).push(func)}}function inspectPrefiltersOrTransports(structure,options,originalOptions,jqXHR){var inspected={},seekingTransport=structure===transports;function inspect(dataType){var selected;inspected[dataType]=true;jQuery.each(structure[dataType]||[],function(_,prefilterOrFactory){var dataTypeOrTransport=prefilterOrFactory(options,originalOptions,jqXHR);if("string"===typeof dataTypeOrTransport&&!seekingTransport&&!inspected[dataTypeOrTransport]){options.dataTypes.unshift(dataTypeOrTransport);inspect(dataTypeOrTransport);return false}if(seekingTransport)return!(selected=dataTypeOrTransport)});return selected}return inspect(options.dataTypes[0])||!inspected["*"]&&inspect("*")}function ajaxExtend(target,src){var key,deep,flatOptions=jQuery.ajaxSettings.flatOptions||{};for(key in src)void 0!==src[key]&&((flatOptions[key]?target:deep||(deep={}))[key]=src[key]);deep&&jQuery.extend(true,target,deep);return target}function ajaxHandleResponses(s,jqXHR,responses){var ct,type,finalDataType,firstDataType,contents=s.contents,dataTypes=s.dataTypes;while("*"===dataTypes[0]){dataTypes.shift();void 0===ct&&(ct=s.mimeType||jqXHR.getResponseHeader("Content-Type"))}if(ct)for(type in contents)if(contents[type]&&contents[type].test(ct)){dataTypes.unshift(type);break}if(dataTypes[0]in responses)finalDataType=dataTypes[0];else{for(type in responses){if(!dataTypes[0]||s.converters[type+" "+dataTypes[0]]){finalDataType=type;break}firstDataType||(firstDataType=type)}finalDataType=finalDataType||firstDataType}if(finalDataType){finalDataType!==dataTypes[0]&&dataTypes.unshift(finalDataType);return responses[finalDataType]}}function ajaxConvert(s,response,jqXHR,isSuccess){var conv2,current,conv,tmp,prev,converters={},dataTypes=s.dataTypes.slice();if(dataTypes[1])for(conv in s.converters)converters[conv.toLowerCase()]=s.converters[conv];current=dataTypes.shift();while(current){s.responseFields[current]&&(jqXHR[s.responseFields[current]]=response);!prev&&isSuccess&&s.dataFilter&&(response=s.dataFilter(response,s.dataType));prev=current;current=dataTypes.shift();if(current)if("*"===current)current=prev;else if("*"!==prev&&prev!==current){conv=converters[prev+" "+current]||converters["* "+current];if(!conv)for(conv2 in converters){tmp=conv2.split(" ");if(tmp[1]===current){conv=converters[prev+" "+tmp[0]]||converters["* "+tmp[0]];if(conv){if(true===conv)conv=converters[conv2];else if(true!==converters[conv2]){current=tmp[0];dataTypes.unshift(tmp[1])}break}}}if(true!==conv)if(conv&&s.throws)response=conv(response);else try{response=conv(response)}catch(e){return{state:"parsererror",error:conv?e:"No conversion from "+prev+" to "+current}}}}return{state:"success",data:response}}jQuery.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:location.href,type:"GET",isLocal:rlocalProtocol.test(location.protocol),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":allTypes,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":true,"text json":JSON.parse,"text xml":jQuery.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(target,settings){return settings?ajaxExtend(ajaxExtend(target,jQuery.ajaxSettings),settings):ajaxExtend(jQuery.ajaxSettings,target)},ajaxPrefilter:addToPrefiltersOrTransports(prefilters),ajaxTransport:addToPrefiltersOrTransports(transports),ajax:function(url,options){if("object"===typeof url){options=url;url=void 0}options=options||{};var transport,cacheURL,responseHeadersString,responseHeaders,timeoutTimer,urlAnchor,completed,fireGlobals,i,uncached,s=jQuery.ajaxSetup({},options),callbackContext=s.context||s,globalEventContext=s.context&&(callbackContext.nodeType||callbackContext.jquery)?jQuery(callbackContext):jQuery.event,deferred=jQuery.Deferred(),completeDeferred=jQuery.Callbacks("once memory"),statusCode=s.statusCode||{},requestHeaders={},requestHeadersNames={},strAbort="canceled",jqXHR={readyState:0,getResponseHeader:function(key){var match;if(completed){if(!responseHeaders){responseHeaders={};while(match=rheaders.exec(responseHeadersString))responseHeaders[match[1].toLowerCase()]=match[2]}match=responseHeaders[key.toLowerCase()]}return null==match?null:match},getAllResponseHeaders:function(){return completed?responseHeadersString:null},setRequestHeader:function(name,value){if(null==completed){name=requestHeadersNames[name.toLowerCase()]=requestHeadersNames[name.toLowerCase()]||name;requestHeaders[name]=value}return this},overrideMimeType:function(type){null==completed&&(s.mimeType=type);return this},statusCode:function(map){var code;if(map)if(completed)jqXHR.always(map[jqXHR.status]);else for(code in map)statusCode[code]=[statusCode[code],map[code]];return this},abort:function(statusText){var finalText=statusText||strAbort;transport&&transport.abort(finalText);done(0,finalText);return this}};deferred.promise(jqXHR);s.url=((url||s.url||location.href)+"").replace(rprotocol,location.protocol+"//");s.type=options.method||options.type||s.method||s.type;s.dataTypes=(s.dataType||"*").toLowerCase().match(rnothtmlwhite)||[""];if(null==s.crossDomain){urlAnchor=document.createElement("a");try{urlAnchor.href=s.url;urlAnchor.href=urlAnchor.href;s.crossDomain=originAnchor.protocol+"//"+originAnchor.host!==urlAnchor.protocol+"//"+urlAnchor.host}catch(e){s.crossDomain=true}}s.data&&s.processData&&"string"!==typeof s.data&&(s.data=jQuery.param(s.data,s.traditional));inspectPrefiltersOrTransports(prefilters,s,options,jqXHR);if(completed)return jqXHR;fireGlobals=jQuery.event&&s.global;fireGlobals&&0===jQuery.active++&&jQuery.event.trigger("ajaxStart");s.type=s.type.toUpperCase();s.hasContent=!rnoContent.test(s.type);cacheURL=s.url.replace(rhash,"");if(s.hasContent)s.data&&s.processData&&0===(s.contentType||"").indexOf("application/x-www-form-urlencoded")&&(s.data=s.data.replace(r20,"+"));else{uncached=s.url.slice(cacheURL.length);if(s.data&&(s.processData||"string"===typeof s.data)){cacheURL+=(rquery.test(cacheURL)?"&":"?")+s.data;delete s.data}if(false===s.cache){cacheURL=cacheURL.replace(rantiCache,"$1");uncached=(rquery.test(cacheURL)?"&":"?")+"_="+nonce+++uncached}s.url=cacheURL+uncached}if(s.ifModified){jQuery.lastModified[cacheURL]&&jqXHR.setRequestHeader("If-Modified-Since",jQuery.lastModified[cacheURL]);jQuery.etag[cacheURL]&&jqXHR.setRequestHeader("If-None-Match",jQuery.etag[cacheURL])}(s.data&&s.hasContent&&false!==s.contentType||options.contentType)&&jqXHR.setRequestHeader("Content-Type",s.contentType);jqXHR.setRequestHeader("Accept",s.dataTypes[0]&&s.accepts[s.dataTypes[0]]?s.accepts[s.dataTypes[0]]+("*"!==s.dataTypes[0]?", "+allTypes+"; q=0.01":""):s.accepts["*"]);for(i in s.headers)jqXHR.setRequestHeader(i,s.headers[i]);if(s.beforeSend&&(false===s.beforeSend.call(callbackContext,jqXHR,s)||completed))return jqXHR.abort();strAbort="abort";completeDeferred.add(s.complete);jqXHR.done(s.success);jqXHR.fail(s.error);transport=inspectPrefiltersOrTransports(transports,s,options,jqXHR);if(transport){jqXHR.readyState=1;fireGlobals&&globalEventContext.trigger("ajaxSend",[jqXHR,s]);if(completed)return jqXHR;s.async&&s.timeout>0&&(timeoutTimer=window.setTimeout(function(){jqXHR.abort("timeout")},s.timeout));try{completed=false;transport.send(requestHeaders,done)}catch(e){if(completed)throw e;done(-1,e)}}else done(-1,"No Transport");function done(status,nativeStatusText,responses,headers){var isSuccess,success,error,response,modified,statusText=nativeStatusText;if(completed)return;completed=true;timeoutTimer&&window.clearTimeout(timeoutTimer);transport=void 0;responseHeadersString=headers||"";jqXHR.readyState=status>0?4:0;isSuccess=status>=200&&status<300||304===status;responses&&(response=ajaxHandleResponses(s,jqXHR,responses));response=ajaxConvert(s,response,jqXHR,isSuccess);if(isSuccess){if(s.ifModified){modified=jqXHR.getResponseHeader("Last-Modified");modified&&(jQuery.lastModified[cacheURL]=modified);modified=jqXHR.getResponseHeader("etag");modified&&(jQuery.etag[cacheURL]=modified)}if(204===status||"HEAD"===s.type)statusText="nocontent";else if(304===status)statusText="notmodified";else{statusText=response.state;success=response.data;error=response.error;isSuccess=!error}}else{error=statusText;if(status||!statusText){statusText="error";status<0&&(status=0)}}jqXHR.status=status;jqXHR.statusText=(nativeStatusText||statusText)+"";isSuccess?deferred.resolveWith(callbackContext,[success,statusText,jqXHR]):deferred.rejectWith(callbackContext,[jqXHR,statusText,error]);jqXHR.statusCode(statusCode);statusCode=void 0;fireGlobals&&globalEventContext.trigger(isSuccess?"ajaxSuccess":"ajaxError",[jqXHR,s,isSuccess?success:error]);completeDeferred.fireWith(callbackContext,[jqXHR,statusText]);if(fireGlobals){globalEventContext.trigger("ajaxComplete",[jqXHR,s]);--jQuery.active||jQuery.event.trigger("ajaxStop")}}return jqXHR},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json")},getScript:function(url,callback){return jQuery.get(url,void 0,callback,"script")}});jQuery.each(["get","post"],function(i,method){jQuery[method]=function(url,data,callback,type){if(isFunction(data)){type=type||callback;callback=data;data=void 0}return jQuery.ajax(jQuery.extend({url:url,type:method,dataType:type,data:data,success:callback},jQuery.isPlainObject(url)&&url))}});jQuery._evalUrl=function(url){return jQuery.ajax({url:url,type:"GET",dataType:"script",cache:true,async:false,global:false,throws:true})};jQuery.fn.extend({wrapAll:function(html){var wrap;if(this[0]){isFunction(html)&&(html=html.call(this[0]));wrap=jQuery(html,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&wrap.insertBefore(this[0]);wrap.map(function(){var elem=this;while(elem.firstElementChild)elem=elem.firstElementChild;return elem}).append(this)}return this},wrapInner:function(html){if(isFunction(html))return this.each(function(i){jQuery(this).wrapInner(html.call(this,i))});return this.each(function(){var self=jQuery(this),contents=self.contents();contents.length?contents.wrapAll(html):self.append(html)})},wrap:function(html){var htmlIsFunction=isFunction(html);return this.each(function(i){jQuery(this).wrapAll(htmlIsFunction?html.call(this,i):html)})},unwrap:function(selector){this.parent(selector).not("body").each(function(){jQuery(this).replaceWith(this.childNodes)});return this}});jQuery.expr.pseudos.hidden=function(elem){return!jQuery.expr.pseudos.visible(elem)};jQuery.expr.pseudos.visible=function(elem){return!!(elem.offsetWidth||elem.offsetHeight||elem.getClientRects().length)};jQuery.ajaxSettings.xhr=function(){try{return new window.XMLHttpRequest}catch(e){}};var xhrSuccessStatus={0:200,1223:204},xhrSupported=jQuery.ajaxSettings.xhr();support.cors=!!xhrSupported&&"withCredentials"in xhrSupported;support.ajax=xhrSupported=!!xhrSupported;jQuery.ajaxTransport(function(options){var callback,errorCallback;if(support.cors||xhrSupported&&!options.crossDomain)return{send:function(headers,complete){var i,xhr=options.xhr();xhr.open(options.type,options.url,options.async,options.username,options.password);if(options.xhrFields)for(i in options.xhrFields)xhr[i]=options.xhrFields[i];options.mimeType&&xhr.overrideMimeType&&xhr.overrideMimeType(options.mimeType);options.crossDomain||headers["X-Requested-With"]||(headers["X-Requested-With"]="XMLHttpRequest");for(i in headers)xhr.setRequestHeader(i,headers[i]);callback=function(type){return function(){if(callback){callback=errorCallback=xhr.onload=xhr.onerror=xhr.onabort=xhr.ontimeout=xhr.onreadystatechange=null;"abort"===type?xhr.abort():"error"===type?"number"!==typeof xhr.status?complete(0,"error"):complete(xhr.status,xhr.statusText):complete(xhrSuccessStatus[xhr.status]||xhr.status,xhr.statusText,"text"!==(xhr.responseType||"text")||"string"!==typeof xhr.responseText?{binary:xhr.response}:{text:xhr.responseText},xhr.getAllResponseHeaders())}}};xhr.onload=callback();errorCallback=xhr.onerror=xhr.ontimeout=callback("error");void 0!==xhr.onabort?xhr.onabort=errorCallback:xhr.onreadystatechange=function(){4===xhr.readyState&&window.setTimeout(function(){callback&&errorCallback()})};callback=callback("abort");try{xhr.send(options.hasContent&&options.data||null)}catch(e){if(callback)throw e}},abort:function(){callback&&callback()}}});jQuery.ajaxPrefilter(function(s){s.crossDomain&&(s.contents.script=false)});jQuery.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(text){jQuery.globalEval(text);return text}}});jQuery.ajaxPrefilter("script",function(s){void 0===s.cache&&(s.cache=false);s.crossDomain&&(s.type="GET")});jQuery.ajaxTransport("script",function(s){if(s.crossDomain){var script,callback;return{send:function(_,complete){script=jQuery("<script>").prop({charset:s.scriptCharset,src:s.url}).on("load error",callback=function(evt){script.remove();callback=null;evt&&complete("error"===evt.type?404:200,evt.type)});document.head.appendChild(script[0])},abort:function(){callback&&callback()}}}});var oldCallbacks=[],rjsonp=/(=)\?(?=&|$)|\?\?/;jQuery.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var callback=oldCallbacks.pop()||jQuery.expando+"_"+nonce++;this[callback]=true;return callback}});jQuery.ajaxPrefilter("json jsonp",function(s,originalSettings,jqXHR){var callbackName,overwritten,responseContainer,jsonProp=false!==s.jsonp&&(rjsonp.test(s.url)?"url":"string"===typeof s.data&&0===(s.contentType||"").indexOf("application/x-www-form-urlencoded")&&rjsonp.test(s.data)&&"data");if(jsonProp||"jsonp"===s.dataTypes[0]){callbackName=s.jsonpCallback=isFunction(s.jsonpCallback)?s.jsonpCallback():s.jsonpCallback;jsonProp?s[jsonProp]=s[jsonProp].replace(rjsonp,"$1"+callbackName):false!==s.jsonp&&(s.url+=(rquery.test(s.url)?"&":"?")+s.jsonp+"="+callbackName);s.converters["script json"]=function(){responseContainer||jQuery.error(callbackName+" was not called");return responseContainer[0]};s.dataTypes[0]="json";overwritten=window[callbackName];window[callbackName]=function(){responseContainer=arguments};jqXHR.always(function(){void 0===overwritten?jQuery(window).removeProp(callbackName):window[callbackName]=overwritten;if(s[callbackName]){s.jsonpCallback=originalSettings.jsonpCallback;oldCallbacks.push(callbackName)}responseContainer&&isFunction(overwritten)&&overwritten(responseContainer[0]);responseContainer=overwritten=void 0});return"script"}});support.createHTMLDocument=function(){var body=document.implementation.createHTMLDocument("").body;body.innerHTML="<form></form><form></form>";return 2===body.childNodes.length}();jQuery.parseHTML=function(data,context,keepScripts){if("string"!==typeof data)return[];if("boolean"===typeof context){keepScripts=context;context=false}var base,parsed,scripts;if(!context)if(support.createHTMLDocument){context=document.implementation.createHTMLDocument("");base=context.createElement("base");base.href=document.location.href;context.head.appendChild(base)}else context=document;parsed=rsingleTag.exec(data);scripts=!keepScripts&&[];if(parsed)return[context.createElement(parsed[1])];parsed=buildFragment([data],context,scripts);scripts&&scripts.length&&jQuery(scripts).remove();return jQuery.merge([],parsed.childNodes)};jQuery.fn.load=function(url,params,callback){var selector,type,response,self=this,off=url.indexOf(" ");if(off>-1){selector=stripAndCollapse(url.slice(off));url=url.slice(0,off)}if(isFunction(params)){callback=params;params=void 0}else params&&"object"===typeof params&&(type="POST");self.length>0&&jQuery.ajax({url:url,type:type||"GET",dataType:"html",data:params}).done(function(responseText){response=arguments;self.html(selector?jQuery("<div>").append(jQuery.parseHTML(responseText)).find(selector):responseText)}).always(callback&&function(jqXHR,status){self.each(function(){callback.apply(this,response||[jqXHR.responseText,status,jqXHR])})});return this};jQuery.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(i,type){jQuery.fn[type]=function(fn){return this.on(type,fn)}});jQuery.expr.pseudos.animated=function(elem){return jQuery.grep(jQuery.timers,function(fn){return elem===fn.elem}).length};jQuery.offset={setOffset:function(elem,options,i){var curPosition,curLeft,curCSSTop,curTop,curOffset,curCSSLeft,calculatePosition,position=jQuery.css(elem,"position"),curElem=jQuery(elem),props={};"static"===position&&(elem.style.position="relative");curOffset=curElem.offset();curCSSTop=jQuery.css(elem,"top");curCSSLeft=jQuery.css(elem,"left");calculatePosition=("absolute"===position||"fixed"===position)&&(curCSSTop+curCSSLeft).indexOf("auto")>-1;if(calculatePosition){curPosition=curElem.position();curTop=curPosition.top;curLeft=curPosition.left}else{curTop=parseFloat(curCSSTop)||0;curLeft=parseFloat(curCSSLeft)||0}isFunction(options)&&(options=options.call(elem,i,jQuery.extend({},curOffset)));null!=options.top&&(props.top=options.top-curOffset.top+curTop);null!=options.left&&(props.left=options.left-curOffset.left+curLeft);"using"in options?options.using.call(elem,props):curElem.css(props)}};jQuery.fn.extend({offset:function(options){if(arguments.length)return void 0===options?this:this.each(function(i){jQuery.offset.setOffset(this,options,i)});var rect,win,elem=this[0];if(!elem)return;if(!elem.getClientRects().length)return{top:0,left:0};rect=elem.getBoundingClientRect();win=elem.ownerDocument.defaultView;return{top:rect.top+win.pageYOffset,left:rect.left+win.pageXOffset}},position:function(){if(!this[0])return;var offsetParent,offset,doc,elem=this[0],parentOffset={top:0,left:0};if("fixed"===jQuery.css(elem,"position"))offset=elem.getBoundingClientRect();else{offset=this.offset();doc=elem.ownerDocument;offsetParent=elem.offsetParent||doc.documentElement;while(offsetParent&&(offsetParent===doc.body||offsetParent===doc.documentElement)&&"static"===jQuery.css(offsetParent,"position"))offsetParent=offsetParent.parentNode;if(offsetParent&&offsetParent!==elem&&1===offsetParent.nodeType){parentOffset=jQuery(offsetParent).offset();parentOffset.top+=jQuery.css(offsetParent,"borderTopWidth",true);parentOffset.left+=jQuery.css(offsetParent,"borderLeftWidth",true)}}return{top:offset.top-parentOffset.top-jQuery.css(elem,"marginTop",true),left:offset.left-parentOffset.left-jQuery.css(elem,"marginLeft",true)}},offsetParent:function(){return this.map(function(){var offsetParent=this.offsetParent;while(offsetParent&&"static"===jQuery.css(offsetParent,"position"))offsetParent=offsetParent.offsetParent;return offsetParent||documentElement})}});jQuery.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(method,prop){var top="pageYOffset"===prop;jQuery.fn[method]=function(val){return access(this,function(elem,method,val){var win;isWindow(elem)?win=elem:9===elem.nodeType&&(win=elem.defaultView);if(void 0===val)return win?win[prop]:elem[method];win?win.scrollTo(top?win.pageXOffset:val,top?val:win.pageYOffset):elem[method]=val},method,val,arguments.length)}});jQuery.each(["top","left"],function(i,prop){jQuery.cssHooks[prop]=addGetHookIf(support.pixelPosition,function(elem,computed){if(computed){computed=curCSS(elem,prop);return rnumnonpx.test(computed)?jQuery(elem).position()[prop]+"px":computed}})});jQuery.each({Height:"height",Width:"width"},function(name,type){jQuery.each({padding:"inner"+name,content:type,"":"outer"+name},function(defaultExtra,funcName){jQuery.fn[funcName]=function(margin,value){var chainable=arguments.length&&(defaultExtra||"boolean"!==typeof margin),extra=defaultExtra||(true===margin||true===value?"margin":"border");return access(this,function(elem,type,value){var doc;if(isWindow(elem))return 0===funcName.indexOf("outer")?elem["inner"+name]:elem.document.documentElement["client"+name];if(9===elem.nodeType){doc=elem.documentElement;return Math.max(elem.body["scroll"+name],doc["scroll"+name],elem.body["offset"+name],doc["offset"+name],doc["client"+name])}return void 0===value?jQuery.css(elem,type,extra):jQuery.style(elem,type,value,extra)},type,chainable?margin:void 0,chainable)}})});jQuery.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(i,name){jQuery.fn[name]=function(data,fn){return arguments.length>0?this.on(name,null,data,fn):this.trigger(name)}});jQuery.fn.extend({hover:function(fnOver,fnOut){return this.mouseenter(fnOver).mouseleave(fnOut||fnOver)}});jQuery.fn.extend({bind:function(types,data,fn){return this.on(types,null,data,fn)},unbind:function(types,fn){return this.off(types,null,fn)},delegate:function(selector,types,data,fn){return this.on(types,selector,data,fn)},undelegate:function(selector,types,fn){return 1===arguments.length?this.off(selector,"**"):this.off(types,selector||"**",fn)}});jQuery.proxy=function(fn,context){var tmp,args,proxy;if("string"===typeof context){tmp=fn[context];context=fn;fn=tmp}if(!isFunction(fn))return;args=slice.call(arguments,2);proxy=function(){return fn.apply(context||this,args.concat(slice.call(arguments)))};proxy.guid=fn.guid=fn.guid||jQuery.guid++;return proxy};jQuery.holdReady=function(hold){hold?jQuery.readyWait++:jQuery.ready(true)};jQuery.isArray=Array.isArray;jQuery.parseJSON=JSON.parse;jQuery.nodeName=nodeName;jQuery.isFunction=isFunction;jQuery.isWindow=isWindow;jQuery.camelCase=camelCase;jQuery.type=toType;jQuery.now=Date.now;jQuery.isNumeric=function(obj){var type=jQuery.type(obj);return("number"===type||"string"===type)&&!isNaN(obj-parseFloat(obj))};true;!(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return jQuery}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__));var _jQuery=window.jQuery,_$=window.$;jQuery.noConflict=function(deep){window.$===jQuery&&(window.$=_$);deep&&window.jQuery===jQuery&&(window.jQuery=_jQuery);return jQuery};noGlobal||(window.jQuery=window.$=jQuery);return jQuery})},function(module,exports){!(t=window,e=document,void(L.drawVersion="0.4.10",L.Draw={},L.drawLocal={draw:{toolbar:{actions:{title:"Cancel drawing",text:"Cancel"},finish:{title:"Finish drawing",text:"Finish"},undo:{title:"Delete last point drawn",text:"Delete last point"},buttons:{polyline:"Draw a polyline",polygon:"Draw a polygon",rectangle:"Draw a rectangle",circle:"Draw a circle",marker:"Draw a marker"}},handlers:{circle:{tooltip:{start:"Click and drag to draw circle."},radius:"Radius"},marker:{tooltip:{start:"Click map to place marker."}},polygon:{tooltip:{start:"Click to start drawing shape.",cont:"Click to continue drawing shape.",end:"Click first point to close this shape."}},polyline:{error:"<strong>Error:</strong> shape edges cannot cross!",tooltip:{start:"Click to start drawing line.",cont:"Click to continue drawing line.",end:"Click last point to finish line."}},rectangle:{tooltip:{start:"Click and drag to draw rectangle."}},simpleshape:{tooltip:{end:"Release mouse to finish drawing."}}}},edit:{toolbar:{actions:{save:{title:"Save changes.",text:"Save"},cancel:{title:"Cancel editing, discards all changes.",text:"Cancel"},clearAll:{title:"clear all layers.",text:"Clear All"}},buttons:{edit:"Edit layers.",editDisabled:"No layers to edit.",remove:"Delete layers.",removeDisabled:"No layers to delete."}},handlers:{edit:{tooltip:{text:"Drag handles, or marker to edit feature.",subtext:"Click cancel to undo changes."}},remove:{tooltip:{text:"Click on a feature to remove"}}}}},L.Draw.Event={},L.Draw.Event.CREATED="draw:created",L.Draw.Event.EDITED="draw:edited",L.Draw.Event.DELETED="draw:deleted",L.Draw.Event.DRAWSTART="draw:drawstart",L.Draw.Event.DRAWSTOP="draw:drawstop",L.Draw.Event.DRAWVERTEX="draw:drawvertex",L.Draw.Event.EDITSTART="draw:editstart",L.Draw.Event.EDITMOVE="draw:editmove",L.Draw.Event.EDITRESIZE="draw:editresize",L.Draw.Event.EDITVERTEX="draw:editvertex",L.Draw.Event.EDITSTOP="draw:editstop",L.Draw.Event.DELETESTART="draw:deletestart",L.Draw.Event.DELETESTOP="draw:deletestop",L.Draw=L.Draw||{},L.Draw.Feature=L.Handler.extend({includes:L.Mixin.Events,initialize:function(t,e){this._map=t,this._container=t._container,this._overlayPane=t._panes.overlayPane,this._popupPane=t._panes.popupPane,e&&e.shapeOptions&&(e.shapeOptions=L.Util.extend({},this.options.shapeOptions,e.shapeOptions)),L.setOptions(this,e)},enable:function(){this._enabled||(L.Handler.prototype.enable.call(this),this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DRAWSTART,{layerType:this.type}))},disable:function(){this._enabled&&(L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DRAWSTOP,{layerType:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var t=this._map;t&&(L.DomUtil.disableTextSelection(),t.getContainer().focus(),this._tooltip=new L.Draw.Tooltip(this._map),L.DomEvent.on(this._container,"keyup",this._cancelDrawing,this))},removeHooks:function(){this._map&&(L.DomUtil.enableTextSelection(),this._tooltip.dispose(),this._tooltip=null,L.DomEvent.off(this._container,"keyup",this._cancelDrawing,this))},setOptions:function(t){L.setOptions(this,t)},_fireCreatedEvent:function(t){this._map.fire(L.Draw.Event.CREATED,{layer:t,layerType:this.type})},_cancelDrawing:function(t){this._map.fire("draw:canceled",{layerType:this.type}),27===t.keyCode&&this.disable()}}),L.Draw.Polyline=L.Draw.Feature.extend({statics:{TYPE:"polyline"},Poly:L.Polyline,options:{allowIntersection:!0,repeatMode:!1,drawError:{color:"#b00b00",timeout:2500},icon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon"}),touchIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-touch-icon"}),guidelineDistance:20,maxGuideLineLength:4e3,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!1,clickable:!0},metric:!0,feet:!0,nautic:!1,showLength:!0,zIndexOffset:2e3},initialize:function(t,e){L.Browser.touch&&(this.options.icon=this.options.touchIcon),this.options.drawError.message=L.drawLocal.draw.handlers.polyline.error,e&&e.drawError&&(e.drawError=L.Util.extend({},this.options.drawError,e.drawError)),this.type=L.Draw.Polyline.TYPE,L.Draw.Feature.prototype.initialize.call(this,t,e)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._markers=[],this._markerGroup=new L.LayerGroup,this._map.addLayer(this._markerGroup),this._poly=new L.Polyline([],this.options.shapeOptions),this._tooltip.updateContent(this._getTooltipText()),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("mouseout",this._onMouseOut,this).on("mousemove",this._onMouseMove,this).on("mousedown",this._onMouseDown,this).on("mouseup",this._onMouseUp,this).addTo(this._map),this._map.on("mouseup",this._onMouseUp,this).on("mousemove",this._onMouseMove,this).on("zoomlevelschange",this._onZoomEnd,this).on("touchstart",this._onTouch,this).on("zoomend",this._onZoomEnd,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._clearHideErrorTimeout(),this._cleanUpShape(),this._map.removeLayer(this._markerGroup),delete this._markerGroup,delete this._markers,this._map.removeLayer(this._poly),delete this._poly,this._mouseMarker.off("mousedown",this._onMouseDown,this).off("mouseout",this._onMouseOut,this).off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._clearGuides(),this._map.off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this).off("zoomlevelschange",this._onZoomEnd,this).off("zoomend",this._onZoomEnd,this).off("touchstart",this._onTouch,this).off("click",this._onTouch,this)},deleteLastVertex:function(){if(!(this._markers.length<=1)){var t=this._markers.pop(),e=this._poly,i=e.getLatLngs(),o=i.splice(-1,1)[0];this._poly.setLatLngs(i),this._markerGroup.removeLayer(t),e.getLatLngs().length<2&&this._map.removeLayer(e),this._vertexChanged(o,!1)}},addVertex:function(t){if(this._markers.length>=2&&!this.options.allowIntersection&&this._poly.newLatLngIntersects(t))return void this._showErrorTooltip();this._errorShown&&this._hideErrorTooltip(),this._markers.push(this._createMarker(t)),this._poly.addLatLng(t),2===this._poly.getLatLngs().length&&this._map.addLayer(this._poly),this._vertexChanged(t,!0)},completeShape:function(){this._markers.length<=1||(this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable())},_finishShape:function(){var t=this._poly._defaultShape?this._poly._defaultShape():this._poly.getLatLngs(),e=this._poly.newLatLngIntersects(t[t.length-1]);if(!this.options.allowIntersection&&e||!this._shapeIsValid())return void this._showErrorTooltip();this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()},_shapeIsValid:function(){return!0},_onZoomEnd:function(){null!==this._markers&&this._updateGuide()},_onMouseMove:function(t){var e=this._map.mouseEventToLayerPoint(t.originalEvent),i=this._map.layerPointToLatLng(e);this._currentLatLng=i,this._updateTooltip(i),this._updateGuide(e),this._mouseMarker.setLatLng(i),L.DomEvent.preventDefault(t.originalEvent)},_vertexChanged:function(t,e){this._map.fire(L.Draw.Event.DRAWVERTEX,{layers:this._markerGroup}),this._updateFinishHandler(),this._updateRunningMeasure(t,e),this._clearGuides(),this._updateTooltip()},_onMouseDown:function(t){if(!this._clickHandled&&!this._touchHandled&&!this._disableMarkers){this._onMouseMove(t),this._clickHandled=!0,this._disableNewMarkers();var e=t.originalEvent,i=e.clientX,o=e.clientY;this._startPoint.call(this,i,o)}},_startPoint:function(t,e){this._mouseDownOrigin=L.point(t,e)},_onMouseUp:function(t){var e=t.originalEvent,i=e.clientX,o=e.clientY;this._endPoint.call(this,i,o,t),this._clickHandled=null},_endPoint:function(e,i,o){if(this._mouseDownOrigin){var n=L.point(e,i).distanceTo(this._mouseDownOrigin);this._calculateFinishDistance(o.latlng)<10&&L.Browser.touch?this._finishShape():Math.abs(n)<9*(t.devicePixelRatio||1)&&this.addVertex(o.latlng),this._enableNewMarkers()}this._mouseDownOrigin=null},_onTouch:function(t){var e,i,o=t.originalEvent;!o.touches||!o.touches[0]||this._clickHandled||this._touchHandled||this._disableMarkers||(e=o.touches[0].clientX,i=o.touches[0].clientY,this._disableNewMarkers(),this._touchHandled=!0,this._startPoint.call(this,e,i),this._endPoint.call(this,e,i,t),this._touchHandled=null),this._clickHandled=null},_onMouseOut:function(){this._tooltip&&this._tooltip._onMouseOut.call(this._tooltip)},_calculateFinishDistance:function(t){var e;if(this._markers.length>0){var i;if(this.type===L.Draw.Polyline.TYPE)i=this._markers[this._markers.length-1];else{if(this.type!==L.Draw.Polygon.TYPE)return 1/0;i=this._markers[0]}var o=this._map.latLngToContainerPoint(i.getLatLng()),n=new L.Marker(t,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset}),s=this._map.latLngToContainerPoint(n.getLatLng());e=o.distanceTo(s)}else e=1/0;return e},_updateFinishHandler:function(){var t=this._markers.length;t>1&&this._markers[t-1].on("click",this._finishShape,this),t>2&&this._markers[t-2].off("click",this._finishShape,this)},_createMarker:function(t){var e=new L.Marker(t,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset});return this._markerGroup.addLayer(e),e},_updateGuide:function(t){var e=this._markers?this._markers.length:0;e>0&&(t=t||this._map.latLngToLayerPoint(this._currentLatLng),this._clearGuides(),this._drawGuide(this._map.latLngToLayerPoint(this._markers[e-1].getLatLng()),t))},_updateTooltip:function(t){var e=this._getTooltipText();t&&this._tooltip.updatePosition(t),this._errorShown||this._tooltip.updateContent(e)},_drawGuide:function(t,e){var i,o,n,s=Math.floor(Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))),a=this.options.guidelineDistance,r=this.options.maxGuideLineLength,l=s>r?s-r:a;for(this._guidesContainer||(this._guidesContainer=L.DomUtil.create("div","leaflet-draw-guides",this._overlayPane));l<s;l+=this.options.guidelineDistance)i=l/s,o={x:Math.floor(t.x*(1-i)+i*e.x),y:Math.floor(t.y*(1-i)+i*e.y)},n=L.DomUtil.create("div","leaflet-draw-guide-dash",this._guidesContainer),n.style.backgroundColor=this._errorShown?this.options.drawError.color:this.options.shapeOptions.color,L.DomUtil.setPosition(n,o)},_updateGuideColor:function(t){if(this._guidesContainer)for(var e=0,i=this._guidesContainer.childNodes.length;e<i;e++)this._guidesContainer.childNodes[e].style.backgroundColor=t},_clearGuides:function(){if(this._guidesContainer)for(;this._guidesContainer.firstChild;)this._guidesContainer.removeChild(this._guidesContainer.firstChild)},_getTooltipText:function(){var t,e,i=this.options.showLength;return L.Browser.touch&&(i=!1),0===this._markers.length?t={text:L.drawLocal.draw.handlers.polyline.tooltip.start}:(e=i?this._getMeasurementString():"",t=1===this._markers.length?{text:L.drawLocal.draw.handlers.polyline.tooltip.cont,subtext:e}:{text:L.drawLocal.draw.handlers.polyline.tooltip.end,subtext:e}),t},_updateRunningMeasure:function(t,e){var i,o,n=this._markers.length;1===this._markers.length?this._measurementRunningTotal=0:(i=n-(e?2:1),o=t.distanceTo(this._markers[i].getLatLng()),this._measurementRunningTotal+=o*(e?1:-1))},_getMeasurementString:function(){var t,e=this._currentLatLng,i=this._markers[this._markers.length-1].getLatLng();return t=i&&e&&e.distanceTo?this._measurementRunningTotal+e.distanceTo(i):this._measurementRunningTotal||0,L.GeometryUtil.readableDistance(t,this.options.metric,this.options.feet,this.options.nautic,this.options.precision)},_showErrorTooltip:function(){this._errorShown=!0,this._tooltip.showAsError().updateContent({text:this.options.drawError.message}),this._updateGuideColor(this.options.drawError.color),this._poly.setStyle({color:this.options.drawError.color}),this._clearHideErrorTimeout(),this._hideErrorTimeout=setTimeout(L.Util.bind(this._hideErrorTooltip,this),this.options.drawError.timeout)},_hideErrorTooltip:function(){this._errorShown=!1,this._clearHideErrorTimeout(),this._tooltip.removeError().updateContent(this._getTooltipText()),this._updateGuideColor(this.options.shapeOptions.color),this._poly.setStyle({color:this.options.shapeOptions.color})},_clearHideErrorTimeout:function(){this._hideErrorTimeout&&(clearTimeout(this._hideErrorTimeout),this._hideErrorTimeout=null)},_disableNewMarkers:function(){this._disableMarkers=!0},_enableNewMarkers:function(){setTimeout(function(){this._disableMarkers=!1}.bind(this),50)},_cleanUpShape:function(){this._markers.length>1&&this._markers[this._markers.length-1].off("click",this._finishShape,this)},_fireCreatedEvent:function(){var t=new this.Poly(this._poly.getLatLngs(),this.options.shapeOptions);L.Draw.Feature.prototype._fireCreatedEvent.call(this,t)}}),L.Draw.Polygon=L.Draw.Polyline.extend({statics:{TYPE:"polygon"},Poly:L.Polygon,options:{showArea:!1,showLength:!1,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},metric:!0,feet:!0,nautic:!1,precision:{}},initialize:function(t,e){L.Draw.Polyline.prototype.initialize.call(this,t,e),this.type=L.Draw.Polygon.TYPE},_updateFinishHandler:function(){var t=this._markers.length;1===t&&this._markers[0].on("click",this._finishShape,this),t>2&&(this._markers[t-1].on("dblclick",this._finishShape,this),t>3&&this._markers[t-2].off("dblclick",this._finishShape,this))},_getTooltipText:function(){var t,e;return 0===this._markers.length?t=L.drawLocal.draw.handlers.polygon.tooltip.start:this._markers.length<3?(t=L.drawLocal.draw.handlers.polygon.tooltip.cont,e=this._getMeasurementString()):(t=L.drawLocal.draw.handlers.polygon.tooltip.end,e=this._getMeasurementString()),{text:t,subtext:e}},_getMeasurementString:function(){var t=this._area,e="";return t||this.options.showLength?(this.options.showLength&&(e=L.Draw.Polyline.prototype._getMeasurementString.call(this)),t&&(e+="<br>"+L.GeometryUtil.readableArea(t,this.options.metric,this.options.precision)),e):null},_shapeIsValid:function(){return this._markers.length>=3},_vertexChanged:function(t,e){var i;!this.options.allowIntersection&&this.options.showArea&&(i=this._poly.getLatLngs(),this._area=L.GeometryUtil.geodesicArea(i)),L.Draw.Polyline.prototype._vertexChanged.call(this,t,e)},_cleanUpShape:function(){var t=this._markers.length;t>0&&(this._markers[0].off("click",this._finishShape,this),t>2&&this._markers[t-1].off("dblclick",this._finishShape,this))}}),L.SimpleShape={},L.Draw.SimpleShape=L.Draw.Feature.extend({options:{repeatMode:!1},initialize:function(t,e){this._endLabelText=L.drawLocal.draw.handlers.simpleshape.tooltip.end,L.Draw.Feature.prototype.initialize.call(this,t,e)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._mapDraggable=this._map.dragging.enabled(),this._mapDraggable&&this._map.dragging.disable(),this._container.style.cursor="crosshair",this._tooltip.updateContent({text:this._initialLabelText}),this._map.on("mousedown",this._onMouseDown,this).on("mousemove",this._onMouseMove,this).on("touchstart",this._onMouseDown,this).on("touchmove",this._onMouseMove,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._mapDraggable&&this._map.dragging.enable(),this._container.style.cursor="",this._map.off("mousedown",this._onMouseDown,this).off("mousemove",this._onMouseMove,this).off("touchstart",this._onMouseDown,this).off("touchmove",this._onMouseMove,this),L.DomEvent.off(e,"mouseup",this._onMouseUp,this),L.DomEvent.off(e,"touchend",this._onMouseUp,this),this._shape&&(this._map.removeLayer(this._shape),delete this._shape)),this._isDrawing=!1},_getTooltipText:function(){return{text:this._endLabelText}},_onMouseDown:function(t){this._isDrawing=!0,this._startLatLng=t.latlng,L.DomEvent.on(e,"mouseup",this._onMouseUp,this).on(e,"touchend",this._onMouseUp,this).preventDefault(t.originalEvent)},_onMouseMove:function(t){var e=t.latlng;this._tooltip.updatePosition(e),this._isDrawing&&(this._tooltip.updateContent(this._getTooltipText()),this._drawShape(e))},_onMouseUp:function(){this._shape&&this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()}}),L.Draw.Rectangle=L.Draw.SimpleShape.extend({statics:{TYPE:"rectangle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,showArea:!0,clickable:!0},metric:!0},initialize:function(t,e){this.type=L.Draw.Rectangle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.rectangle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,t,e)},_drawShape:function(t){this._shape?this._shape.setBounds(new L.LatLngBounds(this._startLatLng,t)):(this._shape=new L.Rectangle(new L.LatLngBounds(this._startLatLng,t),this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var t=new L.Rectangle(this._shape.getBounds(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,t)},_getTooltipText:function(){var t,e,i,o=L.Draw.SimpleShape.prototype._getTooltipText.call(this),n=this._shape,s=this.options.showArea;return n&&(t=this._shape._defaultShape?this._shape._defaultShape():this._shape.getLatLngs(),e=L.GeometryUtil.geodesicArea(t),i=s?L.GeometryUtil.readableArea(e,this.options.metric):""),{text:o.text,subtext:i}}}),L.Draw.Circle=L.Draw.SimpleShape.extend({statics:{TYPE:"circle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showRadius:!0,metric:!0,feet:!0,nautic:!1},initialize:function(t,e){this.type=L.Draw.Circle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,t,e)},_drawShape:function(t){this._shape?this._shape.setRadius(this._startLatLng.distanceTo(t)):(this._shape=new L.Circle(this._startLatLng,this._startLatLng.distanceTo(t),this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var t=new L.Circle(this._startLatLng,this._shape.getRadius(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,t)},_onMouseMove:function(t){var e,i=t.latlng,o=this.options.showRadius,n=this.options.metric;if(this._tooltip.updatePosition(i),this._isDrawing){this._drawShape(i),e=this._shape.getRadius().toFixed(1);var s="";o&&(s=L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(e,n,this.options.feet,this.options.nautic)),this._tooltip.updateContent({text:this._endLabelText,subtext:s})}}}),L.Draw.Marker=L.Draw.Feature.extend({statics:{TYPE:"marker"},options:{icon:new L.Icon.Default,repeatMode:!1,zIndexOffset:2e3},initialize:function(t,e){this.type=L.Draw.Marker.TYPE,L.Draw.Feature.prototype.initialize.call(this,t,e)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._tooltip.updateContent({text:L.drawLocal.draw.handlers.marker.tooltip.start}),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("click",this._onClick,this).addTo(this._map),this._map.on("mousemove",this._onMouseMove,this),this._map.on("click",this._onTouch,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._marker&&(this._marker.off("click",this._onClick,this),this._map.off("click",this._onClick,this).off("click",this._onTouch,this).removeLayer(this._marker),delete this._marker),this._mouseMarker.off("click",this._onClick,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._map.off("mousemove",this._onMouseMove,this))},_onMouseMove:function(t){var e=t.latlng;this._tooltip.updatePosition(e),this._mouseMarker.setLatLng(e),this._marker?(e=this._mouseMarker.getLatLng(),this._marker.setLatLng(e)):(this._marker=new L.Marker(e,{icon:this.options.icon,zIndexOffset:this.options.zIndexOffset}),this._marker.on("click",this._onClick,this),this._map.on("click",this._onClick,this).addLayer(this._marker))},_onClick:function(){this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()},_onTouch:function(t){this._onMouseMove(t),this._onClick()},_fireCreatedEvent:function(){var t=new L.Marker.Touch(this._marker.getLatLng(),{icon:this.options.icon});L.Draw.Feature.prototype._fireCreatedEvent.call(this,t)}}),L.Edit=L.Edit||{},L.Edit.Marker=L.Handler.extend({initialize:function(t,e){this._marker=t,L.setOptions(this,e)},addHooks:function(){var t=this._marker;t.dragging.enable(),t.on("dragend",this._onDragEnd,t),this._toggleMarkerHighlight()},removeHooks:function(){var t=this._marker;t.dragging.disable(),t.off("dragend",this._onDragEnd,t),this._toggleMarkerHighlight()},_onDragEnd:function(t){var e=t.target;e.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:e})},_toggleMarkerHighlight:function(){var t=this._marker._icon;t&&(t.style.display="none",L.DomUtil.hasClass(t,"leaflet-edit-marker-selected")?(L.DomUtil.removeClass(t,"leaflet-edit-marker-selected"),this._offsetMarker(t,-4)):(L.DomUtil.addClass(t,"leaflet-edit-marker-selected"),this._offsetMarker(t,4)),t.style.display="")},_offsetMarker:function(t,e){var i=parseInt(t.style.marginTop,10)-e,o=parseInt(t.style.marginLeft,10)-e;t.style.marginTop=i+"px",t.style.marginLeft=o+"px"}}),L.Marker.addInitHook(function(){L.Edit.Marker&&(this.editing=new L.Edit.Marker(this),this.options.editable&&this.editing.enable())}),L.Edit=L.Edit||{},L.Edit.Poly=L.Handler.extend({options:{},initialize:function(t,e){this.latlngs=[t._latlngs],t._holes&&(this.latlngs=this.latlngs.concat(t._holes)),this._poly=t,L.setOptions(this,e),this._poly.on("revert-edited",this._updateLatLngs,this)},_defaultShape:function(){return L.Polyline._flat?L.Polyline._flat(this._poly._latlngs)?this._poly._latlngs:this._poly._latlngs[0]:this._poly._latlngs},_eachVertexHandler:function(t){for(var e=0;e<this._verticesHandlers.length;e++)t(this._verticesHandlers[e])},addHooks:function(){this._initHandlers(),this._eachVertexHandler(function(t){t.addHooks()})},removeHooks:function(){this._eachVertexHandler(function(t){t.removeHooks()})},updateMarkers:function(){this._eachVertexHandler(function(t){t.updateMarkers()})},_initHandlers:function(){this._verticesHandlers=[];for(var t=0;t<this.latlngs.length;t++)this._verticesHandlers.push(new L.Edit.PolyVerticesEdit(this._poly,this.latlngs[t],this.options))},_updateLatLngs:function(t){this.latlngs=[t.layer._latlngs],t.layer._holes&&(this.latlngs=this.latlngs.concat(t.layer._holes))}}),L.Edit.PolyVerticesEdit=L.Handler.extend({options:{icon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon"}),touchIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-touch-icon"}),drawError:{color:"#b00b00",timeout:1e3}},initialize:function(t,e,i){L.Browser.touch&&(this.options.icon=this.options.touchIcon),this._poly=t,i&&i.drawError&&(i.drawError=L.Util.extend({},this.options.drawError,i.drawError)),this._latlngs=e,L.setOptions(this,i)},_defaultShape:function(){return L.Polyline._flat?L.Polyline._flat(this._latlngs)?this._latlngs:this._latlngs[0]:this._latlngs},addHooks:function(){var t=this._poly;t instanceof L.Polygon||(t.options.fill=!1,t.options.editing&&(t.options.editing.fill=!1)),t.setStyle(t.options.editing),this._poly._map&&(this._map=this._poly._map,this._markerGroup||this._initMarkers(),this._poly._map.addLayer(this._markerGroup))},removeHooks:function(){var t=this._poly;t.setStyle(t.options.original),t._map&&(t._map.removeLayer(this._markerGroup),delete this._markerGroup,delete this._markers)},updateMarkers:function(){this._markerGroup.clearLayers(),this._initMarkers()},_initMarkers:function(){this._markerGroup||(this._markerGroup=new L.LayerGroup),this._markers=[];var t,e,i,o,n=this._defaultShape();for(t=0,i=n.length;t<i;t++)o=this._createMarker(n[t],t),o.on("click",this._onMarkerClick,this),this._markers.push(o);var s,a;for(t=0,e=i-1;t<i;e=t++)(0!==t||L.Polygon&&this._poly instanceof L.Polygon)&&(s=this._markers[e],a=this._markers[t],this._createMiddleMarker(s,a),this._updatePrevNext(s,a))},_createMarker:function(t,e){var i=new L.Marker.Touch(t,{draggable:!0,icon:this.options.icon});return i._origLatLng=t,i._index=e,i.on("dragstart",this._onMarkerDragStart,this).on("drag",this._onMarkerDrag,this).on("dragend",this._fireEdit,this).on("touchmove",this._onTouchMove,this).on("touchend",this._fireEdit,this).on("MSPointerMove",this._onTouchMove,this).on("MSPointerUp",this._fireEdit,this),this._markerGroup.addLayer(i),i},_onMarkerDragStart:function(){this._poly.fire("editstart")},_spliceLatLngs:function(){var t=this._defaultShape(),e=[].splice.apply(t,arguments);return this._poly._convertLatLngs(t,!0),this._poly.redraw(),e},_removeMarker:function(t){var e=t._index;this._markerGroup.removeLayer(t),this._markers.splice(e,1),this._spliceLatLngs(e,1),this._updateIndexes(e,-1),t.off("dragstart",this._onMarkerDragStart,this).off("drag",this._onMarkerDrag,this).off("dragend",this._fireEdit,this).off("touchmove",this._onMarkerDrag,this).off("touchend",this._fireEdit,this).off("click",this._onMarkerClick,this).off("MSPointerMove",this._onTouchMove,this).off("MSPointerUp",this._fireEdit,this)},_fireEdit:function(){this._poly.edited=!0,this._poly.fire("edit"),this._poly._map.fire(L.Draw.Event.EDITVERTEX,{layers:this._markerGroup,poly:this._poly})},_onMarkerDrag:function(t){var e=t.target,i=this._poly;if(L.extend(e._origLatLng,e._latlng),e._middleLeft&&e._middleLeft.setLatLng(this._getMiddleLatLng(e._prev,e)),e._middleRight&&e._middleRight.setLatLng(this._getMiddleLatLng(e,e._next)),i.options.poly){var o=i._map._editTooltip;if(!i.options.poly.allowIntersection&&i.intersects()){var n=i.options.color;i.setStyle({color:this.options.drawError.color}),0!==L.version.indexOf("0.7")&&e.dragging._draggable._onUp(t),this._onMarkerClick(t),o&&o.updateContent({text:L.drawLocal.draw.handlers.polyline.error}),setTimeout(function(){i.setStyle({color:n}),o&&o.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext})},1e3)}}this._poly.redraw(),this._poly.fire("editdrag")},_onMarkerClick:function(t){var e=L.Polygon&&this._poly instanceof L.Polygon?4:3,i=t.target;this._defaultShape().length<e||(this._removeMarker(i),this._updatePrevNext(i._prev,i._next),i._middleLeft&&this._markerGroup.removeLayer(i._middleLeft),i._middleRight&&this._markerGroup.removeLayer(i._middleRight),i._prev&&i._next?this._createMiddleMarker(i._prev,i._next):i._prev?i._next||(i._prev._middleRight=null):i._next._middleLeft=null,this._fireEdit())},_onTouchMove:function(t){var e=this._map.mouseEventToLayerPoint(t.originalEvent.touches[0]),i=this._map.layerPointToLatLng(e),o=t.target;L.extend(o._origLatLng,i),o._middleLeft&&o._middleLeft.setLatLng(this._getMiddleLatLng(o._prev,o)),o._middleRight&&o._middleRight.setLatLng(this._getMiddleLatLng(o,o._next)),this._poly.redraw(),this.updateMarkers()},_updateIndexes:function(t,e){this._markerGroup.eachLayer(function(i){i._index>t&&(i._index+=e)})},_createMiddleMarker:function(t,e){var i,o,n,s=this._getMiddleLatLng(t,e),a=this._createMarker(s);a.setOpacity(.6),t._middleRight=e._middleLeft=a,o=function(){a.off("touchmove",o,this);var n=e._index;a._index=n,a.off("click",i,this).on("click",this._onMarkerClick,this),s.lat=a.getLatLng().lat,s.lng=a.getLatLng().lng,this._spliceLatLngs(n,0,s),this._markers.splice(n,0,a),a.setOpacity(1),this._updateIndexes(n,1),e._index++,this._updatePrevNext(t,a),this._updatePrevNext(a,e),this._poly.fire("editstart")},n=function(){a.off("dragstart",o,this),a.off("dragend",n,this),a.off("touchmove",o,this),this._createMiddleMarker(t,a),this._createMiddleMarker(a,e)},i=function(){o.call(this),n.call(this),this._fireEdit()},a.on("click",i,this).on("dragstart",o,this).on("dragend",n,this).on("touchmove",o,this),this._markerGroup.addLayer(a)},_updatePrevNext:function(t,e){t&&(t._next=e),e&&(e._prev=t)},_getMiddleLatLng:function(t,e){var i=this._poly._map,o=i.project(t.getLatLng()),n=i.project(e.getLatLng());return i.unproject(o._add(n)._divideBy(2))}}),L.Polyline.addInitHook(function(){this.editing||(L.Edit.Poly&&(this.editing=new L.Edit.Poly(this,this.options.poly),this.options.editable&&this.editing.enable()),this.on("add",function(){this.editing&&this.editing.enabled()&&this.editing.addHooks()}),this.on("remove",function(){this.editing&&this.editing.enabled()&&this.editing.removeHooks()}))}),L.Edit=L.Edit||{},L.Edit.SimpleShape=L.Handler.extend({options:{moveIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move"}),resizeIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize"}),touchMoveIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move leaflet-touch-icon"}),touchResizeIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize leaflet-touch-icon"})},initialize:function(t,e){L.Browser.touch&&(this.options.moveIcon=this.options.touchMoveIcon,this.options.resizeIcon=this.options.touchResizeIcon),this._shape=t,L.Util.setOptions(this,e)},addHooks:function(){var t=this._shape;this._shape._map&&(this._map=this._shape._map,t.setStyle(t.options.editing),t._map&&(this._map=t._map,this._markerGroup||this._initMarkers(),this._map.addLayer(this._markerGroup)))},removeHooks:function(){var t=this._shape;if(t.setStyle(t.options.original),t._map){this._unbindMarker(this._moveMarker);for(var e=0,i=this._resizeMarkers.length;e<i;e++)this._unbindMarker(this._resizeMarkers[e]);this._resizeMarkers=null,this._map.removeLayer(this._markerGroup),delete this._markerGroup}this._map=null},updateMarkers:function(){this._markerGroup.clearLayers(),this._initMarkers()},_initMarkers:function(){this._markerGroup||(this._markerGroup=new L.LayerGroup),this._createMoveMarker(),this._createResizeMarker()},_createMoveMarker:function(){},_createResizeMarker:function(){},_createMarker:function(t,e){var i=new L.Marker.Touch(t,{draggable:!0,icon:e,zIndexOffset:10});return this._bindMarker(i),this._markerGroup.addLayer(i),i},_bindMarker:function(t){t.on("dragstart",this._onMarkerDragStart,this).on("drag",this._onMarkerDrag,this).on("dragend",this._onMarkerDragEnd,this).on("touchstart",this._onTouchStart,this).on("touchmove",this._onTouchMove,this).on("MSPointerMove",this._onTouchMove,this).on("touchend",this._onTouchEnd,this).on("MSPointerUp",this._onTouchEnd,this)},_unbindMarker:function(t){t.off("dragstart",this._onMarkerDragStart,this).off("drag",this._onMarkerDrag,this).off("dragend",this._onMarkerDragEnd,this).off("touchstart",this._onTouchStart,this).off("touchmove",this._onTouchMove,this).off("MSPointerMove",this._onTouchMove,this).off("touchend",this._onTouchEnd,this).off("MSPointerUp",this._onTouchEnd,this)},_onMarkerDragStart:function(t){t.target.setOpacity(0),this._shape.fire("editstart")},_fireEdit:function(){this._shape.edited=!0,this._shape.fire("edit")},_onMarkerDrag:function(t){var e=t.target,i=e.getLatLng();e===this._moveMarker?this._move(i):this._resize(i),this._shape.redraw(),this._shape.fire("editdrag")},_onMarkerDragEnd:function(t){t.target.setOpacity(1),this._fireEdit()},_onTouchStart:function(t){if(L.Edit.SimpleShape.prototype._onMarkerDragStart.call(this,t),"function"==typeof this._getCorners){var e=this._getCorners(),i=t.target,o=i._cornerIndex;i.setOpacity(0),this._oppositeCorner=e[(o+2)%4],this._toggleCornerMarkers(0,o)}this._shape.fire("editstart")},_onTouchMove:function(t){var e=this._map.mouseEventToLayerPoint(t.originalEvent.touches[0]),i=this._map.layerPointToLatLng(e);return t.target===this._moveMarker?this._move(i):this._resize(i),this._shape.redraw(),!1},_onTouchEnd:function(t){t.target.setOpacity(1),this.updateMarkers(),this._fireEdit()},_move:function(){},_resize:function(){}}),L.Edit=L.Edit||{},L.Edit.Rectangle=L.Edit.SimpleShape.extend({_createMoveMarker:function(){var t=this._shape.getBounds(),e=t.getCenter();this._moveMarker=this._createMarker(e,this.options.moveIcon)},_createResizeMarker:function(){var t=this._getCorners();this._resizeMarkers=[];for(var e=0,i=t.length;e<i;e++)this._resizeMarkers.push(this._createMarker(t[e],this.options.resizeIcon)),this._resizeMarkers[e]._cornerIndex=e},_onMarkerDragStart:function(t){L.Edit.SimpleShape.prototype._onMarkerDragStart.call(this,t);var e=this._getCorners(),i=t.target,o=i._cornerIndex;this._oppositeCorner=e[(o+2)%4],this._toggleCornerMarkers(0,o)},_onMarkerDragEnd:function(t){var e,i,o=t.target;o===this._moveMarker&&(e=this._shape.getBounds(),i=e.getCenter(),o.setLatLng(i)),this._toggleCornerMarkers(1),this._repositionCornerMarkers(),L.Edit.SimpleShape.prototype._onMarkerDragEnd.call(this,t)},_move:function(t){for(var e,i=this._shape._defaultShape?this._shape._defaultShape():this._shape.getLatLngs(),o=this._shape.getBounds(),n=o.getCenter(),s=[],a=0,r=i.length;a<r;a++)e=[i[a].lat-n.lat,i[a].lng-n.lng],s.push([t.lat+e[0],t.lng+e[1]]);this._shape.setLatLngs(s),this._repositionCornerMarkers(),this._map.fire(L.Draw.Event.EDITMOVE,{layer:this._shape})},_resize:function(t){var e;this._shape.setBounds(L.latLngBounds(t,this._oppositeCorner)),e=this._shape.getBounds(),this._moveMarker.setLatLng(e.getCenter()),this._map.fire(L.Draw.Event.EDITRESIZE,{layer:this._shape})},_getCorners:function(){var t=this._shape.getBounds();return[t.getNorthWest(),t.getNorthEast(),t.getSouthEast(),t.getSouthWest()]},_toggleCornerMarkers:function(t){for(var e=0,i=this._resizeMarkers.length;e<i;e++)this._resizeMarkers[e].setOpacity(t)},_repositionCornerMarkers:function(){for(var t=this._getCorners(),e=0,i=this._resizeMarkers.length;e<i;e++)this._resizeMarkers[e].setLatLng(t[e])}}),L.Rectangle.addInitHook(function(){L.Edit.Rectangle&&(this.editing=new L.Edit.Rectangle(this),this.options.editable&&this.editing.enable())}),L.Edit=L.Edit||{},L.Edit.Circle=L.Edit.SimpleShape.extend({_createMoveMarker:function(){var t=this._shape.getLatLng();this._moveMarker=this._createMarker(t,this.options.moveIcon)},_createResizeMarker:function(){var t=this._shape.getLatLng(),e=this._getResizeMarkerPoint(t);this._resizeMarkers=[],this._resizeMarkers.push(this._createMarker(e,this.options.resizeIcon))},_getResizeMarkerPoint:function(t){var e=this._shape._radius*Math.cos(Math.PI/4),i=this._map.project(t);return this._map.unproject([i.x+e,i.y-e])},_move:function(t){var e=this._getResizeMarkerPoint(t);this._resizeMarkers[0].setLatLng(e),this._shape.setLatLng(t),this._map.fire(L.Draw.Event.EDITMOVE,{layer:this._shape})},_resize:function(t){var e=this._moveMarker.getLatLng(),i=e.distanceTo(t);this._shape.setRadius(i),this._map.fire(L.Draw.Event.EDITRESIZE,{layer:this._shape})}}),L.Circle.addInitHook(function(){L.Edit.Circle&&(this.editing=new L.Edit.Circle(this),this.options.editable&&this.editing.enable()),this.on("add",function(){this.editing&&this.editing.enabled()&&this.editing.addHooks()}),this.on("remove",function(){this.editing&&this.editing.enabled()&&this.editing.removeHooks()})}),L.Map.mergeOptions({touchExtend:!0}),L.Map.TouchExtend=L.Handler.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane},addHooks:function(){L.DomEvent.on(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.on(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.on(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.on(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.on(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.on(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.on(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.on(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.on(this._container,"touchleave",this._onTouchLeave,this))},removeHooks:function(){L.DomEvent.off(this._container,"touchstart",this._onTouchStart),L.DomEvent.off(this._container,"touchend",this._onTouchEnd),L.DomEvent.off(this._container,"touchmove",this._onTouchMove),this._detectIE()?(L.DomEvent.off(this._container,"MSPointerDowm",this._onTouchStart),L.DomEvent.off(this._container,"MSPointerUp",this._onTouchEnd),L.DomEvent.off(this._container,"MSPointerMove",this._onTouchMove),L.DomEvent.off(this._container,"MSPointerCancel",this._onTouchCancel)):(L.DomEvent.off(this._container,"touchcancel",this._onTouchCancel),L.DomEvent.off(this._container,"touchleave",this._onTouchLeave))},_touchEvent:function(t,e){var i={};if(void 0!==t.touches){if(!t.touches.length)return;i=t.touches[0]}else{if("touch"!==t.pointerType)return;if(i=t,!this._filterClick(t))return}var o=this._map.mouseEventToContainerPoint(i),n=this._map.mouseEventToLayerPoint(i),s=this._map.layerPointToLatLng(n);this._map.fire(e,{latlng:s,layerPoint:n,containerPoint:o,pageX:i.pageX,pageY:i.pageY,originalEvent:t})},_filterClick:function(t){var e=t.timeStamp||t.originalEvent.timeStamp,i=L.DomEvent._lastClick&&e-L.DomEvent._lastClick;return i&&i>100&&i<500||t.target._simulatedClick&&!t._simulated?(L.DomEvent.stop(t),!1):(L.DomEvent._lastClick=e,!0)},_onTouchStart:function(t){this._map._loaded&&this._touchEvent(t,"touchstart")},_onTouchEnd:function(t){this._map._loaded&&this._touchEvent(t,"touchend")},_onTouchCancel:function(t){if(this._map._loaded){var e="touchcancel";this._detectIE()&&(e="pointercancel"),this._touchEvent(t,e)}},_onTouchLeave:function(t){this._map._loaded&&this._touchEvent(t,"touchleave")},_onTouchMove:function(t){this._map._loaded&&this._touchEvent(t,"touchmove")},_detectIE:function(){var e=t.navigator.userAgent,i=e.indexOf("MSIE ");if(i>0)return parseInt(e.substring(i+5,e.indexOf(".",i)),10);if(e.indexOf("Trident/")>0){var o=e.indexOf("rv:");return parseInt(e.substring(o+3,e.indexOf(".",o)),10)}var n=e.indexOf("Edge/");return n>0&&parseInt(e.substring(n+5,e.indexOf(".",n)),10)}}),L.Map.addInitHook("addHandler","touchExtend",L.Map.TouchExtend),L.Marker.Touch=L.Marker.extend({_initInteraction:function(){return this.addInteractiveTarget?L.Marker.prototype._initInteraction.apply(this):this._initInteractionLegacy()},_initInteractionLegacy:function(){if(this.options.clickable){var t=this._icon,e=["dblclick","mousedown","mouseover","mouseout","contextmenu","touchstart","touchend","touchmove"];this._detectIE?e.concat(["MSPointerDown","MSPointerUp","MSPointerMove","MSPointerCancel"]):e.concat(["touchcancel"]),L.DomUtil.addClass(t,"leaflet-clickable"),L.DomEvent.on(t,"click",this._onMouseClick,this),L.DomEvent.on(t,"keypress",this._onKeyPress,this);for(var i=0;i<e.length;i++)L.DomEvent.on(t,e[i],this._fireMouseEvent,this);L.Handler.MarkerDrag&&(this.dragging=new L.Handler.MarkerDrag(this),this.options.draggable&&this.dragging.enable())}},_detectIE:function(){var e=t.navigator.userAgent,i=e.indexOf("MSIE ");if(i>0)return parseInt(e.substring(i+5,e.indexOf(".",i)),10);if(e.indexOf("Trident/")>0){var o=e.indexOf("rv:");return parseInt(e.substring(o+3,e.indexOf(".",o)),10)}var n=e.indexOf("Edge/");return n>0&&parseInt(e.substring(n+5,e.indexOf(".",n)),10)}}),L.LatLngUtil={cloneLatLngs:function(t){for(var e=[],i=0,o=t.length;i<o;i++)Array.isArray(t[i])?e.push(L.LatLngUtil.cloneLatLngs(t[i])):e.push(this.cloneLatLng(t[i]));return e},cloneLatLng:function(t){return L.latLng(t.lat,t.lng)}},function(){var t={km:2,ha:2,m:0,mi:2,ac:2,yd:0,ft:0,nm:2};L.GeometryUtil=L.extend(L.GeometryUtil||{},{geodesicArea:function(t){var e,i,o=t.length,n=0,s=Math.PI/180;if(o>2){for(var a=0;a<o;a++)e=t[a],i=t[(a+1)%o],n+=(i.lng-e.lng)*s*(2+Math.sin(e.lat*s)+Math.sin(i.lat*s));n=6378137*n*6378137/2}return Math.abs(n)},formattedNumber:function(t,e){var i=t.toFixed(e),o=L.drawLocal.format&&L.drawLocal.format.numeric,n=o&&o.delimiters,s=n&&n.thousands,a=n&&n.decimal;if(s||a){var r=i.split(".");i=s?r[0].replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+s):r[0],a=a||".",r.length>1&&(i=i+a+r[1])}return i},readableArea:function(e,i,o){var n,s;o=L.Util.extend({},t,o);return i?(s=["ha","m"],type=typeof i,"string"===type?s=[i]:"boolean"!==type&&(s=i),n=e>=1e6&&-1!==s.indexOf("km")?L.GeometryUtil.formattedNumber(1e-6*e,o.km)+" km²":e>=1e4&&-1!==s.indexOf("ha")?L.GeometryUtil.formattedNumber(1e-4*e,o.ha)+" ha":L.GeometryUtil.formattedNumber(e,o.m)+" m²"):(e/=.836127,n=e>=3097600?L.GeometryUtil.formattedNumber(e/3097600,o.mi)+" mi²":e>=4840?L.GeometryUtil.formattedNumber(e/4840,o.ac)+" acres":L.GeometryUtil.formattedNumber(e,o.yd)+" yd²"),n},readableDistance:function(e,i,o,n,s){var a;s=L.Util.extend({},t,s);switch(i?"string"==typeof i?i:"metric":o?"feet":n?"nauticalMile":"yards"){case"metric":a=e>1e3?L.GeometryUtil.formattedNumber(e/1e3,s.km)+" km":L.GeometryUtil.formattedNumber(e,s.m)+" m";break;case"feet":e*=3.28083,a=L.GeometryUtil.formattedNumber(e,s.ft)+" ft";break;case"nauticalMile":e*=.53996,a=L.GeometryUtil.formattedNumber(e/1e3,s.nm)+" nm";break;case"yards":default:e*=1.09361,a=e>1760?L.GeometryUtil.formattedNumber(e/1760,s.mi)+" miles":L.GeometryUtil.formattedNumber(e,s.yd)+" yd"}return a}})}(),L.Util.extend(L.LineUtil,{segmentsIntersect:function(t,e,i,o){return this._checkCounterclockwise(t,i,o)!==this._checkCounterclockwise(e,i,o)&&this._checkCounterclockwise(t,e,i)!==this._checkCounterclockwise(t,e,o)},_checkCounterclockwise:function(t,e,i){return(i.y-t.y)*(e.x-t.x)>(e.y-t.y)*(i.x-t.x)}}),L.Polyline.include({intersects:function(){var t,e,i,o=this._getProjectedPoints(),n=o?o.length:0;if(this._tooFewPointsForIntersection())return!1;for(t=n-1;t>=3;t--)if(e=o[t-1],i=o[t],this._lineSegmentsIntersectsRange(e,i,t-2))return!0;return!1},newLatLngIntersects:function(t,e){return!!this._map&&this.newPointIntersects(this._map.latLngToLayerPoint(t),e)},newPointIntersects:function(t,e){var i=this._getProjectedPoints(),o=i?i.length:0,n=i?i[o-1]:null,s=o-2;return!this._tooFewPointsForIntersection(1)&&this._lineSegmentsIntersectsRange(n,t,s,e?1:0)},_tooFewPointsForIntersection:function(t){var e=this._getProjectedPoints(),i=e?e.length:0;return i+=t||0,!e||i<=3},_lineSegmentsIntersectsRange:function(t,e,i,o){var n,s,a=this._getProjectedPoints();o=o||0;for(var r=i;r>o;r--)if(n=a[r-1],s=a[r],L.LineUtil.segmentsIntersect(t,e,n,s))return!0;return!1},_getProjectedPoints:function(){if(!this._defaultShape)return this._originalPoints;for(var t=[],e=this._defaultShape(),i=0;i<e.length;i++)t.push(this._map.latLngToLayerPoint(e[i]));return t}}),L.Polygon.include({intersects:function(){var t,e,i,o,n=this._getProjectedPoints();return!this._tooFewPointsForIntersection()&&(!!L.Polyline.prototype.intersects.call(this)||(t=n.length,e=n[0],i=n[t-1],o=t-2,this._lineSegmentsIntersectsRange(i,e,o,1)))}}),L.Control.Draw=L.Control.extend({options:{position:"topleft",draw:{},edit:!1},initialize:function(t){if(L.version<"0.7")throw new Error("Leaflet.draw 0.2.3+ requires Leaflet 0.7.0+. Download latest from https://github.com/Leaflet/Leaflet/");L.Control.prototype.initialize.call(this,t);var e;this._toolbars={},L.DrawToolbar&&this.options.draw&&(e=new L.DrawToolbar(this.options.draw),this._toolbars[L.DrawToolbar.TYPE]=e,this._toolbars[L.DrawToolbar.TYPE].on("enable",this._toolbarEnabled,this)),L.EditToolbar&&this.options.edit&&(e=new L.EditToolbar(this.options.edit),this._toolbars[L.EditToolbar.TYPE]=e,this._toolbars[L.EditToolbar.TYPE].on("enable",this._toolbarEnabled,this)),L.toolbar=this},onAdd:function(t){var e,i=L.DomUtil.create("div","leaflet-draw"),o=!1;for(var n in this._toolbars)this._toolbars.hasOwnProperty(n)&&(e=this._toolbars[n].addToolbar(t))&&(o||(L.DomUtil.hasClass(e,"leaflet-draw-toolbar-top")||L.DomUtil.addClass(e.childNodes[0],"leaflet-draw-toolbar-top"),o=!0),i.appendChild(e));return i},onRemove:function(){for(var t in this._toolbars)this._toolbars.hasOwnProperty(t)&&this._toolbars[t].removeToolbar()},setDrawingOptions:function(t){for(var e in this._toolbars)this._toolbars[e]instanceof L.DrawToolbar&&this._toolbars[e].setOptions(t)},_toolbarEnabled:function(t){var e=t.target;for(var i in this._toolbars)this._toolbars[i]!==e&&this._toolbars[i].disable()}}),L.Map.mergeOptions({drawControlTooltips:!0,drawControl:!1}),L.Map.addInitHook(function(){this.options.drawControl&&(this.drawControl=new L.Control.Draw,this.addControl(this.drawControl))}),L.Toolbar=L.Class.extend({includes:[L.Mixin.Events],initialize:function(t){L.setOptions(this,t),this._modes={},this._actionButtons=[],this._activeMode=null},enabled:function(){return null!==this._activeMode},disable:function(){this.enabled()&&this._activeMode.handler.disable()},addToolbar:function(t){var e,i=L.DomUtil.create("div","leaflet-draw-section"),o=0,n=this._toolbarClass||"",s=this.getModeHandlers(t);for(this._toolbarContainer=L.DomUtil.create("div","leaflet-draw-toolbar leaflet-bar"),this._map=t,e=0;e<s.length;e++)s[e].enabled&&this._initModeHandler(s[e].handler,this._toolbarContainer,o++,n,s[e].title);if(o)return this._lastButtonIndex=--o,this._actionsContainer=L.DomUtil.create("ul","leaflet-draw-actions"),i.appendChild(this._toolbarContainer),i.appendChild(this._actionsContainer),i},removeToolbar:function(){for(var t in this._modes)this._modes.hasOwnProperty(t)&&(this._disposeButton(this._modes[t].button,this._modes[t].handler.enable,this._modes[t].handler),this._modes[t].handler.disable(),this._modes[t].handler.off("enabled",this._handlerActivated,this).off("disabled",this._handlerDeactivated,this));this._modes={};for(var e=0,i=this._actionButtons.length;e<i;e++)this._disposeButton(this._actionButtons[e].button,this._actionButtons[e].callback,this);this._actionButtons=[],this._actionsContainer=null},_initModeHandler:function(t,e,i,o,n){var s=t.type;this._modes[s]={},this._modes[s].handler=t,this._modes[s].button=this._createButton({type:s,title:n,className:o+"-"+s,container:e,callback:this._modes[s].handler.enable,context:this._modes[s].handler}),this._modes[s].buttonIndex=i,this._modes[s].handler.on("enabled",this._handlerActivated,this).on("disabled",this._handlerDeactivated,this)},_createButton:function(t){var e=L.DomUtil.create("a",t.className||"",t.container),i=L.DomUtil.create("span","sr-only",t.container);return e.href="#",e.appendChild(i),t.title&&(e.title=t.title,i.innerHTML=t.title),t.text&&(e.innerHTML=t.text,i.innerHTML=t.text),L.DomEvent.on(e,"click",L.DomEvent.stopPropagation).on(e,"mousedown",L.DomEvent.stopPropagation).on(e,"dblclick",L.DomEvent.stopPropagation).on(e,"touchstart",L.DomEvent.stopPropagation).on(e,"click",L.DomEvent.preventDefault).on(e,"click",t.callback,t.context),e},_disposeButton:function(t,e){L.DomEvent.off(t,"click",L.DomEvent.stopPropagation).off(t,"mousedown",L.DomEvent.stopPropagation).off(t,"dblclick",L.DomEvent.stopPropagation).off(t,"touchstart",L.DomEvent.stopPropagation).off(t,"click",L.DomEvent.preventDefault).off(t,"click",e)},_handlerActivated:function(t){this.disable(),this._activeMode=this._modes[t.handler],L.DomUtil.addClass(this._activeMode.button,"leaflet-draw-toolbar-button-enabled"),this._showActionsToolbar(),this.fire("enable")},_handlerDeactivated:function(){this._hideActionsToolbar(),L.DomUtil.removeClass(this._activeMode.button,"leaflet-draw-toolbar-button-enabled"),this._activeMode=null,this.fire("disable")},_createActions:function(t){var e,i,o,n,s=this._actionsContainer,a=this.getActions(t),r=a.length;for(i=0,o=this._actionButtons.length;i<o;i++)this._disposeButton(this._actionButtons[i].button,this._actionButtons[i].callback);for(this._actionButtons=[];s.firstChild;)s.removeChild(s.firstChild);for(var l=0;l<r;l++)"enabled"in a[l]&&!a[l].enabled||(e=L.DomUtil.create("li","",s),n=this._createButton({title:a[l].title,text:a[l].text,container:e,callback:a[l].callback,context:a[l].context}),this._actionButtons.push({button:n,callback:a[l].callback}))},_showActionsToolbar:function(){var t=this._activeMode.buttonIndex,e=this._lastButtonIndex,i=this._activeMode.button.offsetTop-1;this._createActions(this._activeMode.handler),this._actionsContainer.style.top=i+"px",0===t&&(L.DomUtil.addClass(this._toolbarContainer,"leaflet-draw-toolbar-notop"),L.DomUtil.addClass(this._actionsContainer,"leaflet-draw-actions-top")),t===e&&(L.DomUtil.addClass(this._toolbarContainer,"leaflet-draw-toolbar-nobottom"),L.DomUtil.addClass(this._actionsContainer,"leaflet-draw-actions-bottom")),this._actionsContainer.style.display="block"},_hideActionsToolbar:function(){this._actionsContainer.style.display="none",L.DomUtil.removeClass(this._toolbarContainer,"leaflet-draw-toolbar-notop"),L.DomUtil.removeClass(this._toolbarContainer,"leaflet-draw-toolbar-nobottom"),L.DomUtil.removeClass(this._actionsContainer,"leaflet-draw-actions-top"),L.DomUtil.removeClass(this._actionsContainer,"leaflet-draw-actions-bottom")}}),L.Draw=L.Draw||{},L.Draw.Tooltip=L.Class.extend({initialize:function(t){this._map=t,this._popupPane=t._panes.popupPane,this._visible=!1,this._container=t.options.drawControlTooltips?L.DomUtil.create("div","leaflet-draw-tooltip",this._popupPane):null,this._singleLineLabel=!1,this._map.on("mouseout",this._onMouseOut,this)},dispose:function(){this._map.off("mouseout",this._onMouseOut,this),this._container&&(this._popupPane.removeChild(this._container),this._container=null)},updateContent:function(t){return this._container?(t.subtext=t.subtext||"",0!==t.subtext.length||this._singleLineLabel?t.subtext.length>0&&this._singleLineLabel&&(L.DomUtil.removeClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!1):(L.DomUtil.addClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!0),this._container.innerHTML=(t.subtext.length>0?'<span class="leaflet-draw-tooltip-subtext">'+t.subtext+"</span><br />":"")+"<span>"+t.text+"</span>",t.text||t.subtext?(this._visible=!0,this._container.style.visibility="inherit"):(this._visible=!1,this._container.style.visibility="hidden"),this):this},updatePosition:function(t){var e=this._map.latLngToLayerPoint(t),i=this._container;return this._container&&(this._visible&&(i.style.visibility="inherit"),L.DomUtil.setPosition(i,e)),this},showAsError:function(){return this._container&&L.DomUtil.addClass(this._container,"leaflet-error-draw-tooltip"),this},removeError:function(){return this._container&&L.DomUtil.removeClass(this._container,"leaflet-error-draw-tooltip"),this},_onMouseOut:function(){this._container&&(this._container.style.visibility="hidden")}}),L.DrawToolbar=L.Toolbar.extend({statics:{TYPE:"draw"},options:{polyline:{},polygon:{},rectangle:{},circle:{},marker:{}},initialize:function(t){for(var e in this.options)this.options.hasOwnProperty(e)&&t[e]&&(t[e]=L.extend({},this.options[e],t[e]));this._toolbarClass="leaflet-draw-draw",L.Toolbar.prototype.initialize.call(this,t)},getModeHandlers:function(t){return[{enabled:this.options.polyline,handler:new L.Draw.Polyline(t,this.options.polyline),title:L.drawLocal.draw.toolbar.buttons.polyline},{enabled:this.options.polygon,handler:new L.Draw.Polygon(t,this.options.polygon),title:L.drawLocal.draw.toolbar.buttons.polygon},{enabled:this.options.rectangle,handler:new L.Draw.Rectangle(t,this.options.rectangle),title:L.drawLocal.draw.toolbar.buttons.rectangle},{enabled:this.options.circle,handler:new L.Draw.Circle(t,this.options.circle),title:L.drawLocal.draw.toolbar.buttons.circle},{enabled:this.options.marker,handler:new L.Draw.Marker(t,this.options.marker),title:L.drawLocal.draw.toolbar.buttons.marker}]},getActions:function(t){return[{enabled:t.completeShape,title:L.drawLocal.draw.toolbar.finish.title,text:L.drawLocal.draw.toolbar.finish.text,callback:t.completeShape,context:t},{enabled:t.deleteLastVertex,title:L.drawLocal.draw.toolbar.undo.title,text:L.drawLocal.draw.toolbar.undo.text,callback:t.deleteLastVertex,context:t},{title:L.drawLocal.draw.toolbar.actions.title,text:L.drawLocal.draw.toolbar.actions.text,callback:this.disable,context:this}]},setOptions:function(t){L.setOptions(this,t);for(var e in this._modes)this._modes.hasOwnProperty(e)&&t.hasOwnProperty(e)&&this._modes[e].handler.setOptions(t[e])}}),L.EditToolbar=L.Toolbar.extend({statics:{TYPE:"edit"},options:{edit:{selectedPathOptions:{dashArray:"10, 10",fill:!0,fillColor:"#fe57a1",fillOpacity:.1,maintainColor:!1}},remove:{},poly:null,featureGroup:null},initialize:function(t){t.edit&&(void 0===t.edit.selectedPathOptions&&(t.edit.selectedPathOptions=this.options.edit.selectedPathOptions),t.edit.selectedPathOptions=L.extend({},this.options.edit.selectedPathOptions,t.edit.selectedPathOptions)),t.remove&&(t.remove=L.extend({},this.options.remove,t.remove)),t.poly&&(t.poly=L.extend({},this.options.poly,t.poly)),this._toolbarClass="leaflet-draw-edit",L.Toolbar.prototype.initialize.call(this,t),this._selectedFeatureCount=0},getModeHandlers:function(t){var e=this.options.featureGroup;return[{enabled:this.options.edit,handler:new L.EditToolbar.Edit(t,{featureGroup:e,selectedPathOptions:this.options.edit.selectedPathOptions,poly:this.options.poly}),title:L.drawLocal.edit.toolbar.buttons.edit},{enabled:this.options.remove,handler:new L.EditToolbar.Delete(t,{featureGroup:e}),title:L.drawLocal.edit.toolbar.buttons.remove}]},getActions:function(){return[{title:L.drawLocal.edit.toolbar.actions.save.title,text:L.drawLocal.edit.toolbar.actions.save.text,callback:this._save,context:this},{title:L.drawLocal.edit.toolbar.actions.cancel.title,text:L.drawLocal.edit.toolbar.actions.cancel.text,callback:this.disable,context:this},{title:L.drawLocal.edit.toolbar.actions.clearAll.title,text:L.drawLocal.edit.toolbar.actions.clearAll.text,callback:this._clearAllLayers,context:this}]},addToolbar:function(t){var e=L.Toolbar.prototype.addToolbar.call(this,t);return this._checkDisabled(),this.options.featureGroup.on("layeradd layerremove",this._checkDisabled,this),e},removeToolbar:function(){this.options.featureGroup.off("layeradd layerremove",this._checkDisabled,this),L.Toolbar.prototype.removeToolbar.call(this)},disable:function(){this.enabled()&&(this._activeMode.handler.revertLayers(),L.Toolbar.prototype.disable.call(this))},_save:function(){this._activeMode.handler.save(),this._activeMode&&this._activeMode.handler.disable()},_clearAllLayers:function(){this._activeMode.handler.removeAllLayers(),this._activeMode&&this._activeMode.handler.disable()},_checkDisabled:function(){var t,e=this.options.featureGroup,i=0!==e.getLayers().length;this.options.edit&&(t=this._modes[L.EditToolbar.Edit.TYPE].button,i?L.DomUtil.removeClass(t,"leaflet-disabled"):L.DomUtil.addClass(t,"leaflet-disabled"),t.setAttribute("title",i?L.drawLocal.edit.toolbar.buttons.edit:L.drawLocal.edit.toolbar.buttons.editDisabled)),this.options.remove&&(t=this._modes[L.EditToolbar.Delete.TYPE].button,i?L.DomUtil.removeClass(t,"leaflet-disabled"):L.DomUtil.addClass(t,"leaflet-disabled"),t.setAttribute("title",i?L.drawLocal.edit.toolbar.buttons.remove:L.drawLocal.edit.toolbar.buttons.removeDisabled))}}),L.EditToolbar.Edit=L.Handler.extend({statics:{TYPE:"edit"},includes:L.Mixin.Events,initialize:function(t,e){if(L.Handler.prototype.initialize.call(this,t),L.setOptions(this,e),this._featureGroup=e.featureGroup,!(this._featureGroup instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this._uneditedLayerProps={},this.type=L.EditToolbar.Edit.TYPE},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.EDITSTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._featureGroup.on("layeradd",this._enableLayerEdit,this).on("layerremove",this._disableLayerEdit,this))},disable:function(){this._enabled&&(this._featureGroup.off("layeradd",this._enableLayerEdit,this).off("layerremove",this._disableLayerEdit,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.EDITSTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var t=this._map;t&&(t.getContainer().focus(),this._featureGroup.eachLayer(this._enableLayerEdit,this),this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}),t._editTooltip=this._tooltip,this._updateTooltip(),this._map.on("mousemove",this._onMouseMove,this).on("touchmove",this._onMouseMove,this).on("MSPointerMove",this._onMouseMove,this).on(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},removeHooks:function(){this._map&&(this._featureGroup.eachLayer(this._disableLayerEdit,this),this._uneditedLayerProps={},this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this).off("touchmove",this._onMouseMove,this).off("MSPointerMove",this._onMouseMove,this).off(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},revertLayers:function(){this._featureGroup.eachLayer(function(t){this._revertLayer(t)},this)},save:function(){var t=new L.LayerGroup;this._featureGroup.eachLayer(function(e){e.edited&&(t.addLayer(e),e.edited=!1)}),this._map.fire(L.Draw.Event.EDITED,{layers:t})},_backupLayer:function(t){var e=L.Util.stamp(t);this._uneditedLayerProps[e]||(t instanceof L.Polyline||t instanceof L.Polygon||t instanceof L.Rectangle?this._uneditedLayerProps[e]={latlngs:L.LatLngUtil.cloneLatLngs(t.getLatLngs())}:t instanceof L.Circle?this._uneditedLayerProps[e]={latlng:L.LatLngUtil.cloneLatLng(t.getLatLng()),radius:t.getRadius()}:t instanceof L.Marker&&(this._uneditedLayerProps[e]={latlng:L.LatLngUtil.cloneLatLng(t.getLatLng())}))},_getTooltipText:function(){return{text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}},_updateTooltip:function(){this._tooltip.updateContent(this._getTooltipText())},_revertLayer:function(t){var e=L.Util.stamp(t);t.edited=!1,this._uneditedLayerProps.hasOwnProperty(e)&&(t instanceof L.Polyline||t instanceof L.Polygon||t instanceof L.Rectangle?t.setLatLngs(this._uneditedLayerProps[e].latlngs):t instanceof L.Circle?(t.setLatLng(this._uneditedLayerProps[e].latlng),t.setRadius(this._uneditedLayerProps[e].radius)):t instanceof L.Marker&&t.setLatLng(this._uneditedLayerProps[e].latlng),t.fire("revert-edited",{layer:t}))},_enableLayerEdit:function(t){var e,i,o=t.layer||t.target||t;this._backupLayer(o),this.options.poly&&(i=L.Util.extend({},this.options.poly),o.options.poly=i),this.options.selectedPathOptions&&(e=L.Util.extend({},this.options.selectedPathOptions),e.maintainColor&&(e.color=o.options.color,e.fillColor=o.options.fillColor),o.options.original=L.extend({},o.options),o.options.editing=e),o instanceof L.Marker?(o.editing&&o.editing.enable(),o.dragging.enable(),o.on("dragend",this._onMarkerDragEnd).on("touchmove",this._onTouchMove,this).on("MSPointerMove",this._onTouchMove,this).on("touchend",this._onMarkerDragEnd,this).on("MSPointerUp",this._onMarkerDragEnd,this)):o.editing.enable()},_disableLayerEdit:function(t){var e=t.layer||t.target||t;e.edited=!1,e.editing&&e.editing.disable(),delete e.options.editing,delete e.options.original,this._selectedPathOptions&&(e instanceof L.Marker?this._toggleMarkerHighlight(e):(e.setStyle(e.options.previousOptions),delete e.options.previousOptions)),e instanceof L.Marker?(e.dragging.disable(),e.off("dragend",this._onMarkerDragEnd,this).off("touchmove",this._onTouchMove,this).off("MSPointerMove",this._onTouchMove,this).off("touchend",this._onMarkerDragEnd,this).off("MSPointerUp",this._onMarkerDragEnd,this)):e.editing.disable()},_onMouseMove:function(t){this._tooltip.updatePosition(t.latlng)},_onMarkerDragEnd:function(t){var e=t.target;e.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:e})},_onTouchMove:function(t){var e=t.originalEvent.changedTouches[0],i=this._map.mouseEventToLayerPoint(e),o=this._map.layerPointToLatLng(i);t.target.setLatLng(o)},_hasAvailableLayers:function(){return 0!==this._featureGroup.getLayers().length}}),L.EditToolbar.Delete=L.Handler.extend({statics:{TYPE:"remove"},includes:L.Mixin.Events,initialize:function(t,e){if(L.Handler.prototype.initialize.call(this,t),L.Util.setOptions(this,e),this._deletableLayers=this.options.featureGroup,!(this._deletableLayers instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this.type=L.EditToolbar.Delete.TYPE},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DELETESTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._deletableLayers.on("layeradd",this._enableLayerDelete,this).on("layerremove",this._disableLayerDelete,this))},disable:function(){this._enabled&&(this._deletableLayers.off("layeradd",this._enableLayerDelete,this).off("layerremove",this._disableLayerDelete,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DELETESTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var t=this._map;t&&(t.getContainer().focus(),this._deletableLayers.eachLayer(this._enableLayerDelete,this),this._deletedLayers=new L.LayerGroup,this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.remove.tooltip.text}),this._map.on("mousemove",this._onMouseMove,this))},removeHooks:function(){this._map&&(this._deletableLayers.eachLayer(this._disableLayerDelete,this),this._deletedLayers=null,this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this))},revertLayers:function(){this._deletedLayers.eachLayer(function(t){this._deletableLayers.addLayer(t),t.fire("revert-deleted",{layer:t})},this)},save:function(){this._map.fire(L.Draw.Event.DELETED,{layers:this._deletedLayers})},removeAllLayers:function(){this._deletableLayers.eachLayer(function(t){this._removeLayer({layer:t})},this),this.save()},_enableLayerDelete:function(t){(t.layer||t.target||t).on("click",this._removeLayer,this)},_disableLayerDelete:function(t){var e=t.layer||t.target||t;e.off("click",this._removeLayer,this),this._deletedLayers.removeLayer(e)},_removeLayer:function(t){var e=t.layer||t.target||t;this._deletableLayers.removeLayer(e),this._deletedLayers.addLayer(e),e.fire("deleted")},_onMouseMove:function(t){this._tooltip.updatePosition(t.latlng)},_hasAvailableLayers:function(){return 0!==this._deletableLayers.getLayers().length}})));var t,e},function(module,exports){L.ResponsivePopup=L.Popup.extend({options:{hasTip:true},_initLayout:function(){var prefix="leaflet-popup",container=this._container=L.DomUtil.create("div",prefix+" "+(this.options.className||"")+" leaflet-zoom-animated");if(this.options.closeButton){var closeButton=this._closeButton=L.DomUtil.create("a",prefix+"-close-button",container);closeButton.href="#close";closeButton.innerHTML="&#215;";L.DomEvent.on(closeButton,"click",this._onCloseButtonClick,this)}var wrapper=this._wrapper=L.DomUtil.create("div",prefix+"-content-wrapper",container);this._contentNode=L.DomUtil.create("div",prefix+"-content",wrapper);L.DomEvent.disableClickPropagation(wrapper).disableScrollPropagation(this._contentNode).on(wrapper,"contextmenu",L.DomEvent.stopPropagation);if(this.options.hasTip){this._tipContainer=L.DomUtil.create("div",prefix+"-tip-container",container);this._tip=L.DomUtil.create("div",prefix+"-tip",this._tipContainer)}},_updatePosition:function(){if(!this._map)return;var pos=this._map.latLngToLayerPoint(this._latlng),basePoint=this._map.layerPointToContainerPoint(pos),containerWidth=this._container.offsetWidth,containerHeight=this._container.offsetHeight,padding=L.point(this.options.autoPanPadding),paddingTL=L.point(this.options.autoPanPaddingTopLeft||padding),paddingBR=L.point(this.options.autoPanPaddingBottomRight||padding),mapSize=this._map.getSize(),anchor=this._getAnchor(),offset=L.point(this.options.offset);var tipHeight=11;var tipWidth=22;var containerRadius=12;var offsetX=Math.abs(offset.x);var offsetY=Math.abs(offset.y);if(this.options.hasTip){offsetX+=tipHeight;offsetY+=tipHeight;L.DomUtil.removeClass(this._container,"leaflet-resp-popup-north");L.DomUtil.removeClass(this._container,"leaflet-resp-popup-south");L.DomUtil.removeClass(this._container,"leaflet-resp-popup-east");L.DomUtil.removeClass(this._container,"leaflet-resp-popup-west");L.DomUtil.removeClass(this._container,"leaflet-resp-popup-north-east");L.DomUtil.removeClass(this._container,"leaflet-resp-popup-north-west");L.DomUtil.removeClass(this._container,"leaflet-resp-popup-south-east");L.DomUtil.removeClass(this._container,"leaflet-resp-popup-south-west");L.DomUtil.removeClass(this._container,"leaflet-resp-popup-east-north");L.DomUtil.removeClass(this._container,"leaflet-resp-popup-east-south");L.DomUtil.removeClass(this._container,"leaflet-resp-popup-west-north");L.DomUtil.removeClass(this._container,"leaflet-resp-popup-west-south")}var canGoTop=true,canGoBottom=true,canGoLeft=true,canGoRight=true,containerPos=false;basePoint.y+anchor.y-offsetY-containerHeight-Math.abs(paddingTL.y)<0&&(canGoTop=false);basePoint.y+anchor.y+offsetY+containerHeight+Math.abs(paddingBR.y)>mapSize.y&&(canGoBottom=false);basePoint.x+anchor.x-offsetX-containerWidth-Math.abs(paddingTL.x)<0&&(canGoLeft=false);basePoint.x+anchor.x+offsetX+containerWidth+Math.abs(paddingBR.x)>mapSize.x&&(canGoRight=false);var subtractX=containerWidth/2-anchor.x,subtractY=containerHeight/2-anchor.y;if(canGoTop||canGoBottom){var containerLeft=basePoint.x+anchor.x-containerWidth/2;var containerRight=basePoint.x+anchor.x+containerWidth/2;containerLeft<Math.abs(paddingTL.x)&&(subtractX=containerWidth/2-anchor.x-Math.abs(paddingTL.x)+containerLeft);containerRight>mapSize.x-Math.abs(paddingBR.x)&&(subtractX=containerWidth/2-anchor.x+containerRight-mapSize.x+Math.abs(paddingBR.x))}if(canGoLeft||canGoRight){var containerTop=basePoint.y+anchor.y-containerHeight/2;var containerBottom=basePoint.y+anchor.y+containerHeight/2;containerTop<Math.abs(paddingTL.y)&&(subtractY=containerHeight/2-anchor.y-Math.abs(paddingTL.y)+containerTop);containerBottom>mapSize.y-Math.abs(paddingBR.y)&&(subtractY=containerHeight/2-anchor.y+containerBottom-mapSize.y+Math.abs(paddingBR.y))}if(canGoTop){containerPos=pos.subtract(L.point(subtractX,-anchor.y+containerHeight+offsetY,true));if(this.options.hasTip)if(basePoint.x+anchor.x<paddingTL.x+containerRadius+tipWidth/2){containerPos.x=pos.x+anchor.x;L.DomUtil.addClass(this._container,"leaflet-resp-popup-north-east");this._tipContainer.style.top=containerHeight+"px";this._tipContainer.style.left="0px"}else if(basePoint.x+anchor.x>mapSize.x-paddingBR.x-containerRadius-tipWidth/2){containerPos.x=pos.x+anchor.x-containerWidth;L.DomUtil.addClass(this._container,"leaflet-resp-popup-north-west");this._tipContainer.style.top=containerHeight+"px";this._tipContainer.style.left=containerWidth+"px"}else{L.DomUtil.addClass(this._container,"leaflet-resp-popup-north");this._tipContainer.style.top=containerHeight+"px";this._tipContainer.style.left=pos.x+anchor.x-containerPos.x+"px"}}else if(canGoLeft){containerPos=pos.subtract(L.point(-anchor.x+containerWidth+offsetX,subtractY,true));if(this.options.hasTip)if(basePoint.y+anchor.y<paddingTL.y+containerRadius+tipWidth/2){containerPos.y=pos.y+anchor.y;L.DomUtil.addClass(this._container,"leaflet-resp-popup-west-south");this._tipContainer.style.top="0px";this._tipContainer.style.left=containerWidth+"px"}else if(basePoint.y+anchor.y>mapSize.y-paddingBR.y-containerRadius-tipWidth/2){containerPos.y=pos.y+anchor.y-containerHeight;L.DomUtil.addClass(this._container,"leaflet-resp-popup-west-north");this._tipContainer.style.top=containerHeight+"px";this._tipContainer.style.left=containerWidth+"px"}else{L.DomUtil.addClass(this._container,"leaflet-resp-popup-west");this._tipContainer.style.top=pos.y+anchor.y-containerPos.y+"px";this._tipContainer.style.left=containerWidth+"px"}}else if(canGoBottom){containerPos=pos.subtract(L.point(subtractX,-anchor.y-offsetY,true));if(this.options.hasTip)if(basePoint.x+anchor.x<paddingTL.x+containerRadius+tipWidth/2){containerPos.x=pos.x+anchor.x;L.DomUtil.addClass(this._container,"leaflet-resp-popup-south-east");this._tipContainer.style.top="0px";this._tipContainer.style.left="0px"}else if(basePoint.x+anchor.x>mapSize.x-paddingBR.x-containerRadius-tipWidth/2){containerPos.x=pos.x+anchor.x-containerWidth;L.DomUtil.addClass(this._container,"leaflet-resp-popup-south-west");this._tipContainer.style.top="0px";this._tipContainer.style.left=containerWidth+"px"}else{L.DomUtil.addClass(this._container,"leaflet-resp-popup-south");this._tipContainer.style.top="0px";this._tipContainer.style.left=pos.x+anchor.x-containerPos.x+"px"}}else if(canGoRight){containerPos=pos.subtract(L.point(-anchor.x-offsetX,subtractY,true));if(this.options.hasTip)if(basePoint.y+anchor.y<paddingTL.y+containerRadius+tipWidth/2){containerPos.y=pos.y+anchor.y;L.DomUtil.addClass(this._container,"leaflet-resp-popup-east-south");this._tipContainer.style.top="0px";this._tipContainer.style.left="0px"}else if(basePoint.y+anchor.y>mapSize.y-paddingBR.y-containerRadius-tipWidth/2){containerPos.y=pos.y+anchor.y-containerHeight;L.DomUtil.addClass(this._container,"leaflet-resp-popup-east-north");this._tipContainer.style.top=containerHeight+"px";this._tipContainer.style.left="0px"}else{L.DomUtil.addClass(this._container,"leaflet-resp-popup-east");this._tipContainer.style.top=pos.y+anchor.y-containerPos.y+"px";this._tipContainer.style.left="0px"}}else{pos=this._map.latLngToLayerPoint(this._map.getCenter());containerPos=pos.subtract(L.point(containerWidth/2,containerHeight/2));this.options.hasTip}basePoint.x<0||basePoint.y<0||basePoint.x>mapSize.x||basePoint.y>mapSize.y;containerWidth-Math.abs(paddingTL.x)-Math.abs(paddingBR.x)>mapSize.x||containerHeight-Math.abs(paddingTL.y)-Math.abs(paddingBR.y)>mapSize.y;L.DomUtil.setPosition(this._container,containerPos)}});L.responsivePopup=function(options,source){return new L.ResponsivePopup(options,source)}},function(module,exports,__webpack_require__){"use strict";__webpack_require__(2240);window.L=module.exports=__webpack_require__(2241);window.L.Browser.touch=false;window.L.Browser.pointer=false;__webpack_require__(865);__webpack_require__(2242);__webpack_require__(862);__webpack_require__(2243);__webpack_require__(863)},function(module,exports){!function(){"use strict";function t(i){return this instanceof t?(this._canvas=i="string"==typeof i?document.getElementById(i):i,this._ctx=i.getContext("2d"),this._width=i.width,this._height=i.height,this._max=1,void this.clear()):new t(i)}t.prototype={defaultRadius:25,defaultGradient:{.4:"blue",.6:"cyan",.7:"lime",.8:"yellow",1:"red"},data:function(t,i){return this._data=t,this},max:function(t){return this._max=t,this},add:function(t){return this._data.push(t),this},clear:function(){return this._data=[],this},radius:function(t,i){i=i||15;var a=this._circle=document.createElement("canvas"),s=a.getContext("2d"),e=this._r=t+i;return a.width=a.height=2*e,s.shadowOffsetX=s.shadowOffsetY=200,s.shadowBlur=i,s.shadowColor="black",s.beginPath(),s.arc(e-200,e-200,t,0,2*Math.PI,!0),s.closePath(),s.fill(),this},gradient:function(t){var i=document.createElement("canvas"),a=i.getContext("2d"),s=a.createLinearGradient(0,0,0,256);i.width=1,i.height=256;for(var e in t)s.addColorStop(e,t[e]);return a.fillStyle=s,a.fillRect(0,0,1,256),this._grad=a.getImageData(0,0,1,256).data,this},draw:function(t){this._circle||this.radius(this.defaultRadius),this._grad||this.gradient(this.defaultGradient);var i=this._ctx;i.clearRect(0,0,this._width,this._height);for(var a,s=0,e=this._data.length;e>s;s++)a=this._data[s],i.globalAlpha=Math.max(a[2]/this._max,t||.05),i.drawImage(this._circle,a[0]-this._r,a[1]-this._r);var n=i.getImageData(0,0,this._width,this._height);return this._colorize(n.data,this._grad),i.putImageData(n,0,0),this},_colorize:function(t,i){for(var a,s=3,e=t.length;e>s;s+=4)a=4*t[s],a&&(t[s-3]=i[a],t[s-2]=i[a+1],t[s-1]=i[a+2])}},window.simpleheat=t}(),L.HeatLayer=(L.Layer?L.Layer:L.Class).extend({initialize:function(t,i){this._latlngs=t,L.setOptions(this,i)},setLatLngs:function(t){return this._latlngs=t,this.redraw()},addLatLng:function(t){return this._latlngs.push(t),this.redraw()},setOptions:function(t){return L.setOptions(this,t),this._heat&&this._updateOptions(),this.redraw()},redraw:function(){return!this._heat||this._frame||this._map._animating||(this._frame=L.Util.requestAnimFrame(this._redraw,this)),this},onAdd:function(t){this._map=t,this._canvas||this._initCanvas(),t._panes.overlayPane.appendChild(this._canvas),t.on("moveend",this._reset,this),t.options.zoomAnimation&&L.Browser.any3d&&t.on("zoomanim",this._animateZoom,this),this._reset()},onRemove:function(t){t.getPanes().overlayPane.removeChild(this._canvas),t.off("moveend",this._reset,this),t.options.zoomAnimation&&t.off("zoomanim",this._animateZoom,this)},addTo:function(t){return t.addLayer(this),this},_initCanvas:function(){var t=this._canvas=L.DomUtil.create("canvas","leaflet-heatmap-layer leaflet-layer"),i=L.DomUtil.testProp(["transformOrigin","WebkitTransformOrigin","msTransformOrigin"]);t.style[i]="50% 50%";var a=this._map.getSize();t.width=a.x,t.height=a.y;var s=this._map.options.zoomAnimation&&L.Browser.any3d;L.DomUtil.addClass(t,"leaflet-zoom-"+(s?"animated":"hide")),this._heat=simpleheat(t),this._updateOptions()},_updateOptions:function(){this._heat.radius(this.options.radius||this._heat.defaultRadius,this.options.blur),this.options.gradient&&this._heat.gradient(this.options.gradient),this.options.max&&this._heat.max(this.options.max)},_reset:function(){var t=this._map.containerPointToLayerPoint([0,0]);L.DomUtil.setPosition(this._canvas,t);var i=this._map.getSize();this._heat._width!==i.x&&(this._canvas.width=this._heat._width=i.x),this._heat._height!==i.y&&(this._canvas.height=this._heat._height=i.y),this._redraw()},_redraw:function(){var t,i,a,s,e,n,h,o,r,d=[],_=this._heat._r,l=this._map.getSize(),m=new L.Bounds(L.point([-_,-_]),l.add([_,_])),c=void 0===this.options.max?1:this.options.max,u=void 0===this.options.maxZoom?this._map.getMaxZoom():this.options.maxZoom,f=1/Math.pow(2,Math.max(0,Math.min(u-this._map.getZoom(),12))),g=_/2,p=[],v=this._map._getMapPanePos(),w=v.x%g,y=v.y%g;for(t=0,i=this._latlngs.length;i>t;t++)if(a=this._map.latLngToContainerPoint(this._latlngs[t]),m.contains(a)){e=Math.floor((a.x-w)/g)+2,n=Math.floor((a.y-y)/g)+2;var x=void 0!==this._latlngs[t].alt?this._latlngs[t].alt:void 0!==this._latlngs[t][2]?+this._latlngs[t][2]:1;r=x*f,p[n]=p[n]||[],s=p[n][e],s?(s[0]=(s[0]*s[2]+a.x*r)/(s[2]+r),s[1]=(s[1]*s[2]+a.y*r)/(s[2]+r),s[2]+=r):p[n][e]=[a.x,a.y,r]}for(t=0,i=p.length;i>t;t++)if(p[t])for(h=0,o=p[t].length;o>h;h++)s=p[t][h],s&&d.push([Math.round(s[0]),Math.round(s[1]),Math.min(s[2],c)]);this._heat.data(d).draw(this.options.minOpacity),this._frame=null},_animateZoom:function(t){var i=this._map.getZoomScale(t.zoom),a=this._map._getCenterOffset(t.center)._multiplyBy(-i).subtract(this._map._getMapPanePos());L.DomUtil.setTransform?L.DomUtil.setTransform(this._canvas,a,i):this._canvas.style[L.DomUtil.TRANSFORM]=L.DomUtil.getTranslateString(a)+" scale("+i+")"}}),L.heatLayer=function(t,i){return new L.HeatLayer(t,i)}},function(module,exports,__webpack_require__){var utils=__webpack_require__(487);module.exports={createCSS:function(document,styles,sheet){var href=sheet.href||"";var id="less:"+(sheet.title||utils.extractId(href));var oldStyleNode=document.getElementById(id);var keepOldStyleNode=false;var styleNode=document.createElement("style");styleNode.setAttribute("type","text/css");sheet.media&&styleNode.setAttribute("media",sheet.media);styleNode.id=id;if(!styleNode.styleSheet){styleNode.appendChild(document.createTextNode(styles));keepOldStyleNode=null!==oldStyleNode&&oldStyleNode.childNodes.length>0&&styleNode.childNodes.length>0&&oldStyleNode.firstChild.nodeValue===styleNode.firstChild.nodeValue}var head=document.getElementsByTagName("head")[0];if(null===oldStyleNode||false===keepOldStyleNode){var nextEl=sheet&&sheet.nextSibling||null;nextEl?nextEl.parentNode.insertBefore(styleNode,nextEl):head.appendChild(styleNode)}oldStyleNode&&false===keepOldStyleNode&&oldStyleNode.parentNode.removeChild(oldStyleNode);if(styleNode.styleSheet)try{styleNode.styleSheet.cssText=styles}catch(e){throw new Error("Couldn't reassign styleSheet.cssText.")}},currentScript:function(window){var document=window.document;return document.currentScript||(scripts=document.getElementsByTagName("script"),scripts[scripts.length-1]);var scripts}}},function(module,exports){module.exports={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),Selector=__webpack_require__(174),Ruleset=__webpack_require__(252);var Directive=function(name,value,rules,index,currentFileInfo,debugInfo,isRooted,visibilityInfo){var i;this.name=name;this.value=value;if(rules){if(Array.isArray(rules))this.rules=rules;else{this.rules=[rules];this.rules[0].selectors=new Selector([],null,null,this.index,currentFileInfo).createEmptySelectors()}for(i=0;i<this.rules.length;i++)this.rules[i].allowImports=true}this.index=index;this.currentFileInfo=currentFileInfo;this.debugInfo=debugInfo;this.isRooted=isRooted||false;this.copyVisibilityInfo(visibilityInfo);this.allowRoot=true};Directive.prototype=new Node;Directive.prototype.type="Directive";Directive.prototype.accept=function(visitor){var value=this.value,rules=this.rules;rules&&(this.rules=visitor.visitArray(rules));value&&(this.value=visitor.visit(value))};Directive.prototype.isRulesetLike=function(){return this.rules||!this.isCharset()};Directive.prototype.isCharset=function(){return"@charset"===this.name};Directive.prototype.genCSS=function(context,output){var value=this.value,rules=this.rules;output.add(this.name,this.currentFileInfo,this.index);if(value){output.add(" ");value.genCSS(context,output)}rules?this.outputRuleset(context,output,rules):output.add(";")};Directive.prototype.eval=function(context){var mediaPathBackup,mediaBlocksBackup,value=this.value,rules=this.rules;mediaPathBackup=context.mediaPath;mediaBlocksBackup=context.mediaBlocks;context.mediaPath=[];context.mediaBlocks=[];value&&(value=value.eval(context));if(rules){rules=[rules[0].eval(context)];rules[0].root=true}context.mediaPath=mediaPathBackup;context.mediaBlocks=mediaBlocksBackup;return new Directive(this.name,value,rules,this.index,this.currentFileInfo,this.debugInfo,this.isRooted,this.visibilityInfo())};Directive.prototype.variable=function(name){if(this.rules)return Ruleset.prototype.variable.call(this.rules[0],name)};Directive.prototype.find=function(){if(this.rules)return Ruleset.prototype.find.apply(this.rules[0],arguments)};Directive.prototype.rulesets=function(){if(this.rules)return Ruleset.prototype.rulesets.apply(this.rules[0])};Directive.prototype.outputRuleset=function(context,output,rules){var i,ruleCnt=rules.length;context.tabLevel=1+(0|context.tabLevel);if(context.compress){output.add("{");for(i=0;i<ruleCnt;i++)rules[i].genCSS(context,output);output.add("}");context.tabLevel--;return}var tabSetStr="\n"+Array(context.tabLevel).join("  "),tabRuleStr=tabSetStr+"  ";if(ruleCnt){output.add(" {"+tabRuleStr);rules[0].genCSS(context,output);for(i=1;i<ruleCnt;i++){output.add(tabRuleStr);rules[i].genCSS(context,output)}output.add(tabSetStr+"}")}else output.add(" {"+tabSetStr+"}");context.tabLevel--};module.exports=Directive},function(module,exports,__webpack_require__){var Node=__webpack_require__(21);var Combinator=function(value){if(" "===value){this.value=" ";this.emptyOrWhitespace=true}else{this.value=value?value.trim():"";this.emptyOrWhitespace=""===this.value}};Combinator.prototype=new Node;Combinator.prototype.type="Combinator";var _noSpaceCombinators={"":true," ":true,"|":true};Combinator.prototype.genCSS=function(context,output){var spaceOrEmpty=context.compress||_noSpaceCombinators[this.value]?"":" ";output.add(spaceOrEmpty+this.value+spaceOrEmpty)};module.exports=Combinator},function(module,exports){var debugInfo=function(context,ctx,lineSeparator){var result="";if(context.dumpLineNumbers&&!context.compress)switch(context.dumpLineNumbers){case"comments":result=debugInfo.asComment(ctx);break;case"mediaquery":result=debugInfo.asMediaQuery(ctx);break;case"all":result=debugInfo.asComment(ctx)+(lineSeparator||"")+debugInfo.asMediaQuery(ctx)}return result};debugInfo.asComment=function(ctx){return"/* line "+ctx.debugInfo.lineNumber+", "+ctx.debugInfo.fileName+" */\n"};debugInfo.asMediaQuery=function(ctx){var filenameWithProtocol=ctx.debugInfo.fileName;/^[a-z]+:\/\//i.test(filenameWithProtocol)||(filenameWithProtocol="file://"+filenameWithProtocol);return"@media -sass-debug-info{filename{font-family:"+filenameWithProtocol.replace(/([.:\/\\])/g,function(a){"\\"==a&&(a="/");return"\\"+a})+"}line{font-family:\\00003"+ctx.debugInfo.lineNumber+"}}\n"};module.exports=debugInfo},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),contexts=__webpack_require__(136);var DetachedRuleset=function(ruleset,frames){this.ruleset=ruleset;this.frames=frames};DetachedRuleset.prototype=new Node;DetachedRuleset.prototype.type="DetachedRuleset";DetachedRuleset.prototype.evalFirst=true;DetachedRuleset.prototype.accept=function(visitor){this.ruleset=visitor.visit(this.ruleset)};DetachedRuleset.prototype.eval=function(context){var frames=this.frames||context.frames.slice(0);return new DetachedRuleset(this.ruleset,frames)};DetachedRuleset.prototype.callEval=function(context){return this.ruleset.eval(this.frames?new contexts.Eval(context,this.frames.concat(context.frames)):context)};module.exports=DetachedRuleset},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),unitConversions=__webpack_require__(488);var Unit=function(numerator,denominator,backupUnit){this.numerator=numerator?numerator.slice(0).sort():[];this.denominator=denominator?denominator.slice(0).sort():[];backupUnit?this.backupUnit=backupUnit:numerator&&numerator.length&&(this.backupUnit=numerator[0])};Unit.prototype=new Node;Unit.prototype.type="Unit";Unit.prototype.clone=function(){return new Unit(this.numerator.slice(0),this.denominator.slice(0),this.backupUnit)};Unit.prototype.genCSS=function(context,output){var strictUnits=context&&context.strictUnits;1===this.numerator.length?output.add(this.numerator[0]):!strictUnits&&this.backupUnit?output.add(this.backupUnit):!strictUnits&&this.denominator.length&&output.add(this.denominator[0])};Unit.prototype.toString=function(){var i,returnStr=this.numerator.join("*");for(i=0;i<this.denominator.length;i++)returnStr+="/"+this.denominator[i];return returnStr};Unit.prototype.compare=function(other){return this.is(other.toString())?0:void 0};Unit.prototype.is=function(unitString){return this.toString().toUpperCase()===unitString.toUpperCase()};Unit.prototype.isLength=function(){return Boolean(this.toCSS().match(/px|em|%|in|cm|mm|pc|pt|ex/))};Unit.prototype.isEmpty=function(){return 0===this.numerator.length&&0===this.denominator.length};Unit.prototype.isSingular=function(){return this.numerator.length<=1&&0===this.denominator.length};Unit.prototype.map=function(callback){var i;for(i=0;i<this.numerator.length;i++)this.numerator[i]=callback(this.numerator[i],false);for(i=0;i<this.denominator.length;i++)this.denominator[i]=callback(this.denominator[i],true)};Unit.prototype.usedUnits=function(){var group,mapUnit,groupName,result={};mapUnit=function(atomicUnit){group.hasOwnProperty(atomicUnit)&&!result[groupName]&&(result[groupName]=atomicUnit);return atomicUnit};for(groupName in unitConversions)if(unitConversions.hasOwnProperty(groupName)){group=unitConversions[groupName];this.map(mapUnit)}return result};Unit.prototype.cancel=function(){var atomicUnit,i,counter={};for(i=0;i<this.numerator.length;i++){atomicUnit=this.numerator[i];counter[atomicUnit]=(counter[atomicUnit]||0)+1}for(i=0;i<this.denominator.length;i++){atomicUnit=this.denominator[i];counter[atomicUnit]=(counter[atomicUnit]||0)-1}this.numerator=[];this.denominator=[];for(atomicUnit in counter)if(counter.hasOwnProperty(atomicUnit)){var count=counter[atomicUnit];if(count>0)for(i=0;i<count;i++)this.numerator.push(atomicUnit);else if(count<0)for(i=0;i<-count;i++)this.denominator.push(atomicUnit)}this.numerator.sort();this.denominator.sort()};module.exports=Unit},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),Variable=__webpack_require__(334);var JsEvalNode=function(){};JsEvalNode.prototype=new Node;JsEvalNode.prototype.evaluateJavaScript=function(expression,context){var result,that=this,evalContext={};if(void 0!==context.javascriptEnabled&&!context.javascriptEnabled)throw{message:"You are using JavaScript, which has been disabled.",filename:this.currentFileInfo.filename,index:this.index};expression=expression.replace(/@\{([\w-]+)\}/g,function(_,name){return that.jsify(new Variable("@"+name,that.index,that.currentFileInfo).eval(context))});try{expression=new Function("return ("+expression+")")}catch(e){throw{message:"JavaScript evaluation error: "+e.message+" from `"+expression+"`",filename:this.currentFileInfo.filename,index:this.index}}var variables=context.frames[0].variables();for(var k in variables)variables.hasOwnProperty(k)&&(evalContext[k.slice(1)]={value:variables[k].value,toJS:function(){return this.value.eval(context).toCSS()}});try{result=expression.call(evalContext)}catch(e){throw{message:"JavaScript evaluation error: '"+e.name+": "+e.message.replace(/["]/g,"'")+"'",filename:this.currentFileInfo.filename,index:this.index}}return result};JsEvalNode.prototype.jsify=function(obj){return Array.isArray(obj.value)&&obj.value.length>1?"["+obj.value.map(function(v){return v.toCSS()}).join(", ")+"]":obj.toCSS()};module.exports=JsEvalNode},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),getDebugInfo=__webpack_require__(870);var Comment=function(value,isLineComment,index,currentFileInfo){this.value=value;this.isLineComment=isLineComment;this.currentFileInfo=currentFileInfo;this.allowRoot=true};Comment.prototype=new Node;Comment.prototype.type="Comment";Comment.prototype.genCSS=function(context,output){this.debugInfo&&output.add(getDebugInfo(context,this),this.currentFileInfo,this.index);output.add(this.value)};Comment.prototype.isSilent=function(context){var isCompressed=context.compress&&"!"!==this.value[2];return this.isLineComment||isCompressed};module.exports=Comment},function(module,exports,__webpack_require__){var Expression=__webpack_require__(253);var functionCaller=function(name,context,index,currentFileInfo){this.name=name.toLowerCase();this.index=index;this.context=context;this.currentFileInfo=currentFileInfo;this.func=context.frames[0].functionRegistry.get(this.name)};functionCaller.prototype.isValid=function(){return Boolean(this.func)};functionCaller.prototype.call=function(args){Array.isArray(args)&&(args=args.filter(function(item){if("Comment"===item.type)return false;return true}).map(function(item){if("Expression"===item.type){var subNodes=item.value.filter(function(item){if("Comment"===item.type)return false;return true});return 1===subNodes.length?subNodes[0]:new Expression(subNodes)}return item}));return this.func.apply(this,args)};module.exports=functionCaller},function(module,exports,__webpack_require__){var Ruleset=__webpack_require__(252),Value=__webpack_require__(490),Selector=__webpack_require__(174),Anonymous=__webpack_require__(138),Expression=__webpack_require__(253),Directive=__webpack_require__(868);var Media=function(value,features,index,currentFileInfo,visibilityInfo){this.index=index;this.currentFileInfo=currentFileInfo;var selectors=new Selector([],null,null,this.index,this.currentFileInfo).createEmptySelectors();this.features=new Value(features);this.rules=[new Ruleset(selectors,value)];this.rules[0].allowImports=true;this.copyVisibilityInfo(visibilityInfo);this.allowRoot=true};Media.prototype=new Directive;Media.prototype.type="Media";Media.prototype.isRulesetLike=true;Media.prototype.accept=function(visitor){this.features&&(this.features=visitor.visit(this.features));this.rules&&(this.rules=visitor.visitArray(this.rules))};Media.prototype.genCSS=function(context,output){output.add("@media ",this.currentFileInfo,this.index);this.features.genCSS(context,output);this.outputRuleset(context,output,this.rules)};Media.prototype.eval=function(context){if(!context.mediaBlocks){context.mediaBlocks=[];context.mediaPath=[]}var media=new Media(null,[],this.index,this.currentFileInfo,this.visibilityInfo());if(this.debugInfo){this.rules[0].debugInfo=this.debugInfo;media.debugInfo=this.debugInfo}var strictMathBypass=false;if(!context.strictMath){strictMathBypass=true;context.strictMath=true}try{media.features=this.features.eval(context)}finally{strictMathBypass&&(context.strictMath=false)}context.mediaPath.push(media);context.mediaBlocks.push(media);this.rules[0].functionRegistry=context.frames[0].functionRegistry.inherit();context.frames.unshift(this.rules[0]);media.rules=[this.rules[0].eval(context)];context.frames.shift();context.mediaPath.pop();return 0===context.mediaPath.length?media.evalTop(context):media.evalNested(context)};Media.prototype.evalTop=function(context){var result=this;if(context.mediaBlocks.length>1){var selectors=new Selector([],null,null,this.index,this.currentFileInfo).createEmptySelectors();result=new Ruleset(selectors,context.mediaBlocks);result.multiMedia=true;result.copyVisibilityInfo(this.visibilityInfo())}delete context.mediaBlocks;delete context.mediaPath;return result};Media.prototype.evalNested=function(context){var i,value,path=context.mediaPath.concat([this]);for(i=0;i<path.length;i++){value=path[i].features instanceof Value?path[i].features.value:path[i].features;path[i]=Array.isArray(value)?value:[value]}this.features=new Value(this.permute(path).map(function(path){path=path.map(function(fragment){return fragment.toCSS?fragment:new Anonymous(fragment)});for(i=path.length-1;i>0;i--)path.splice(i,0,new Anonymous("and"));return new Expression(path)}));return new Ruleset([],[])};Media.prototype.permute=function(arr){if(0===arr.length)return[];if(1===arr.length)return arr[0];var result=[];var rest=this.permute(arr.slice(1));for(var i=0;i<rest.length;i++)for(var j=0;j<arr[0].length;j++)result.push([arr[0][j]].concat(rest[i]));return result};Media.prototype.bubbleSelectors=function(selectors){if(!selectors)return;this.rules=[new Ruleset(selectors.slice(0),[this.rules[0]])]};module.exports=Media},function(module,exports,__webpack_require__){var Selector=__webpack_require__(174),Element=__webpack_require__(331),Ruleset=__webpack_require__(252),Rule=__webpack_require__(489),Expression=__webpack_require__(253),contexts=__webpack_require__(136);var Definition=function(name,params,rules,condition,variadic,frames,visibilityInfo){this.name=name;this.selectors=[new Selector([new Element(null,name,this.index,this.currentFileInfo)])];this.params=params;this.condition=condition;this.variadic=variadic;this.arity=params.length;this.rules=rules;this._lookups={};var optionalParameters=[];this.required=params.reduce(function(count,p){if(!p.name||p.name&&!p.value)return count+1;optionalParameters.push(p.name);return count},0);this.optionalParameters=optionalParameters;this.frames=frames;this.copyVisibilityInfo(visibilityInfo);this.allowRoot=true};Definition.prototype=new Ruleset;Definition.prototype.type="MixinDefinition";Definition.prototype.evalFirst=true;Definition.prototype.accept=function(visitor){this.params&&this.params.length&&(this.params=visitor.visitArray(this.params));this.rules=visitor.visitArray(this.rules);this.condition&&(this.condition=visitor.visit(this.condition))};Definition.prototype.evalParams=function(context,mixinEnv,args,evaldArguments){var varargs,arg,i,j,val,name,isNamedFound,argIndex,frame=new Ruleset(null,null),params=this.params.slice(0),argsLength=0;mixinEnv.frames&&mixinEnv.frames[0]&&mixinEnv.frames[0].functionRegistry&&(frame.functionRegistry=mixinEnv.frames[0].functionRegistry.inherit());mixinEnv=new contexts.Eval(mixinEnv,[frame].concat(mixinEnv.frames));if(args){args=args.slice(0);argsLength=args.length;for(i=0;i<argsLength;i++){arg=args[i];if(name=arg&&arg.name){isNamedFound=false;for(j=0;j<params.length;j++)if(!evaldArguments[j]&&name===params[j].name){evaldArguments[j]=arg.value.eval(context);frame.prependRule(new Rule(name,arg.value.eval(context)));isNamedFound=true;break}if(isNamedFound){args.splice(i,1);i--;continue}throw{type:"Runtime",message:"Named argument for "+this.name+" "+args[i].name+" not found"}}}}argIndex=0;for(i=0;i<params.length;i++){if(evaldArguments[i])continue;arg=args&&args[argIndex];if(name=params[i].name)if(params[i].variadic){varargs=[];for(j=argIndex;j<argsLength;j++)varargs.push(args[j].value.eval(context));frame.prependRule(new Rule(name,new Expression(varargs).eval(context)))}else{val=arg&&arg.value;if(val)val=val.eval(context);else{if(!params[i].value)throw{type:"Runtime",message:"wrong number of arguments for "+this.name+" ("+argsLength+" for "+this.arity+")"};val=params[i].value.eval(mixinEnv);frame.resetCache()}frame.prependRule(new Rule(name,val));evaldArguments[i]=val}if(params[i].variadic&&args)for(j=argIndex;j<argsLength;j++)evaldArguments[j]=args[j].value.eval(context);argIndex++}return frame};Definition.prototype.makeImportant=function(){var rules=this.rules?this.rules.map(function(r){return r.makeImportant?r.makeImportant(true):r}):this.rules;var result=new Definition(this.name,this.params,rules,this.condition,this.variadic,this.frames);return result};Definition.prototype.eval=function(context){return new Definition(this.name,this.params,this.rules,this.condition,this.variadic,this.frames||context.frames.slice(0))};Definition.prototype.evalCall=function(context,args,important){var rules,ruleset,_arguments=[],mixinFrames=this.frames?this.frames.concat(context.frames):context.frames,frame=this.evalParams(context,new contexts.Eval(context,mixinFrames),args,_arguments);frame.prependRule(new Rule("@arguments",new Expression(_arguments).eval(context)));rules=this.rules.slice(0);ruleset=new Ruleset(null,rules);ruleset.originalRuleset=this;ruleset=ruleset.eval(new contexts.Eval(context,[this,frame].concat(mixinFrames)));important&&(ruleset=ruleset.makeImportant());return ruleset};Definition.prototype.matchCondition=function(args,context){if(this.condition&&!this.condition.eval(new contexts.Eval(context,[this.evalParams(context,new contexts.Eval(context,this.frames?this.frames.concat(context.frames):context.frames),args,[])].concat(this.frames||[]).concat(context.frames))))return false;return true};Definition.prototype.matchArgs=function(args,context){var len,allArgsCnt=args&&args.length||0,optionalParameters=this.optionalParameters;var requiredArgsCnt=args?args.reduce(function(count,p){return optionalParameters.indexOf(p.name)<0?count+1:count},0):0;if(this.variadic){if(requiredArgsCnt<this.required-1)return false}else{if(requiredArgsCnt<this.required)return false;if(allArgsCnt>this.params.length)return false}len=Math.min(requiredArgsCnt,this.arity);for(var i=0;i<len;i++)if(!this.params[i].name&&!this.params[i].variadic&&args[i].value.eval(context).toCSS()!=this.params[i].value.eval(context).toCSS())return false;return true};module.exports=Definition},function(module,exports,__webpack_require__){var JsEvalNode=__webpack_require__(873),Dimension=__webpack_require__(121),Quoted=__webpack_require__(137),Anonymous=__webpack_require__(138);var JavaScript=function(string,escaped,index,currentFileInfo){this.escaped=escaped;this.expression=string;this.index=index;this.currentFileInfo=currentFileInfo};JavaScript.prototype=new JsEvalNode;JavaScript.prototype.type="JavaScript";JavaScript.prototype.eval=function(context){var result=this.evaluateJavaScript(this.expression,context);return"number"===typeof result?new Dimension(result):"string"===typeof result?new Quoted('"'+result+'"',result,this.escaped,this.index):Array.isArray(result)?new Anonymous(result.join(", ")):new Anonymous(result)};module.exports=JavaScript},function(module,exports){var abstractFileManager=function(){};abstractFileManager.prototype.getPath=function(filename){var j=filename.lastIndexOf("?");j>0&&(filename=filename.slice(0,j));j=filename.lastIndexOf("/");j<0&&(j=filename.lastIndexOf("\\"));if(j<0)return"";return filename.slice(0,j+1)};abstractFileManager.prototype.tryAppendExtension=function(path,ext){return/(\.[a-z]*$)|([\?;].*)$/.test(path)?path:path+ext};abstractFileManager.prototype.tryAppendLessExtension=function(path){return this.tryAppendExtension(path,".less")};abstractFileManager.prototype.supportsSync=function(){return false};abstractFileManager.prototype.alwaysMakePathsAbsolute=function(){return false};abstractFileManager.prototype.isPathAbsolute=function(filename){return/^(?:[a-z-]+:|\/|\\|#)/i.test(filename)};abstractFileManager.prototype.join=function(basePath,laterPath){if(!basePath)return laterPath;return basePath+laterPath};abstractFileManager.prototype.pathDiff=function pathDiff(url,baseUrl){var i,max,urlDirectories,baseUrlDirectories,urlParts=this.extractUrlParts(url),baseUrlParts=this.extractUrlParts(baseUrl),diff="";if(urlParts.hostPart!==baseUrlParts.hostPart)return"";max=Math.max(baseUrlParts.directories.length,urlParts.directories.length);for(i=0;i<max;i++)if(baseUrlParts.directories[i]!==urlParts.directories[i])break;baseUrlDirectories=baseUrlParts.directories.slice(i);urlDirectories=urlParts.directories.slice(i);for(i=0;i<baseUrlDirectories.length-1;i++)diff+="../";for(i=0;i<urlDirectories.length-1;i++)diff+=urlDirectories[i]+"/";return diff};abstractFileManager.prototype.extractUrlParts=function extractUrlParts(url,baseUrl){var i,baseUrlParts,urlPartsRegex=/^((?:[a-z-]+:)?\/{2}(?:[^\/\?#]*\/)|([\/\\]))?((?:[^\/\\\?#]*[\/\\])*)([^\/\\\?#]*)([#\?].*)?$/i,urlParts=url.match(urlPartsRegex),returner={},directories=[];if(!urlParts)throw new Error("Could not parse sheet href - '"+url+"'");if(baseUrl&&(!urlParts[1]||urlParts[2])){baseUrlParts=baseUrl.match(urlPartsRegex);if(!baseUrlParts)throw new Error("Could not parse page url - '"+baseUrl+"'");urlParts[1]=urlParts[1]||baseUrlParts[1]||"";urlParts[2]||(urlParts[3]=baseUrlParts[3]+urlParts[3])}if(urlParts[3]){directories=urlParts[3].replace(/\\/g,"/").split("/");for(i=0;i<directories.length;i++)if("."===directories[i]){directories.splice(i,1);i-=1}for(i=0;i<directories.length;i++)if(".."===directories[i]&&i>0){directories.splice(i-1,2);i-=2}}returner.hostPart=urlParts[1];returner.directories=directories;returner.path=(urlParts[1]||"")+directories.join("/");returner.fileUrl=returner.path+(urlParts[4]||"");returner.url=returner.fileUrl+(urlParts[5]||"");return returner};module.exports=abstractFileManager},function(module,exports,__webpack_require__){var Dimension=__webpack_require__(121);var MathHelper=function(){};MathHelper._math=function(fn,unit,n){if(!(n instanceof Dimension))throw{type:"Argument",message:"argument must be a number"};null==unit?unit=n.unit:n=n.unify();return new Dimension(fn(parseFloat(n.value)),unit)};module.exports=MathHelper},function(module,exports,__webpack_require__){var contexts=__webpack_require__(136),visitor=__webpack_require__(493),tree=__webpack_require__(172);module.exports=function(root,options){options=options||{};var evaldRoot,variables=options.variables,evalEnv=new contexts.Eval(options);if("object"===typeof variables&&!Array.isArray(variables)){variables=Object.keys(variables).map(function(k){var value=variables[k];if(!(value instanceof tree.Value)){value instanceof tree.Expression||(value=new tree.Expression([value]));value=new tree.Value([value])}return new tree.Rule("@"+k,value,false,null,0)});evalEnv.frames=[new tree.Ruleset(null,variables)]}var i,preEvalVisitors=[],visitors=[new visitor.JoinSelectorVisitor,new visitor.MarkVisibleSelectorsVisitor(true),new visitor.ExtendVisitor,new visitor.ToCSSVisitor({compress:Boolean(options.compress)})];if(options.pluginManager){var pluginVisitors=options.pluginManager.getVisitors();for(i=0;i<pluginVisitors.length;i++){var pluginVisitor=pluginVisitors[i];pluginVisitor.isPreEvalVisitor?preEvalVisitors.push(pluginVisitor):pluginVisitor.isPreVisitor?visitors.splice(0,0,pluginVisitor):visitors.push(pluginVisitor)}}for(i=0;i<preEvalVisitors.length;i++)preEvalVisitors[i].run(root);evaldRoot=root.eval(evalEnv);for(i=0;i<visitors.length;i++)visitors[i].run(evaldRoot);return evaldRoot}},function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(2282)},function(module,exports,__webpack_require__){"use strict";(function(global){module.exports=rawAsap;function rawAsap(task){if(!queue.length){requestFlush();true}queue[queue.length]=task}var queue=[];var requestFlush;var index=0;var capacity=1024;function flush(){while(index<queue.length){var currentIndex=index;index+=1;queue[currentIndex].call();if(index>capacity){for(var scan=0,newLength=queue.length-index;scan<newLength;scan++)queue[scan]=queue[scan+index];queue.length-=index;index=0}}queue.length=0;index=0;false}var scope="undefined"!==typeof global?global:self;var BrowserMutationObserver=scope.MutationObserver||scope.WebKitMutationObserver;requestFlush="function"===typeof BrowserMutationObserver?makeRequestCallFromMutationObserver(flush):makeRequestCallFromTimer(flush);rawAsap.requestFlush=requestFlush;function makeRequestCallFromMutationObserver(callback){var toggle=1;var observer=new BrowserMutationObserver(callback);var node=document.createTextNode("");observer.observe(node,{characterData:true});return function requestCall(){toggle=-toggle;node.data=toggle}}function makeRequestCallFromTimer(callback){return function requestCall(){var timeoutHandle=setTimeout(handleTimer,0);var intervalHandle=setInterval(handleTimer,50);function handleTimer(){clearTimeout(timeoutHandle);clearInterval(intervalHandle);callback()}}}rawAsap.makeRequestCallFromTimer=makeRequestCallFromTimer}).call(this,__webpack_require__(18))},function(module,exports){var PluginManager=function(less){this.less=less;this.visitors=[];this.preProcessors=[];this.postProcessors=[];this.installedPlugins=[];this.fileManagers=[]};PluginManager.prototype.addPlugins=function(plugins){if(plugins)for(var i=0;i<plugins.length;i++)this.addPlugin(plugins[i])};PluginManager.prototype.addPlugin=function(plugin){this.installedPlugins.push(plugin);plugin.install(this.less,this)};PluginManager.prototype.addVisitor=function(visitor){this.visitors.push(visitor)};PluginManager.prototype.addPreProcessor=function(preProcessor,priority){var indexToInsertAt;for(indexToInsertAt=0;indexToInsertAt<this.preProcessors.length;indexToInsertAt++)if(this.preProcessors[indexToInsertAt].priority>=priority)break;this.preProcessors.splice(indexToInsertAt,0,{preProcessor:preProcessor,priority:priority})};PluginManager.prototype.addPostProcessor=function(postProcessor,priority){var indexToInsertAt;for(indexToInsertAt=0;indexToInsertAt<this.postProcessors.length;indexToInsertAt++)if(this.postProcessors[indexToInsertAt].priority>=priority)break;this.postProcessors.splice(indexToInsertAt,0,{postProcessor:postProcessor,priority:priority})};PluginManager.prototype.addFileManager=function(manager){this.fileManagers.push(manager)};PluginManager.prototype.getPreProcessors=function(){var preProcessors=[];for(var i=0;i<this.preProcessors.length;i++)preProcessors.push(this.preProcessors[i].preProcessor);return preProcessors};PluginManager.prototype.getPostProcessors=function(){var postProcessors=[];for(var i=0;i<this.postProcessors.length;i++)postProcessors.push(this.postProcessors[i].postProcessor);return postProcessors};PluginManager.prototype.getVisitors=function(){return this.visitors};PluginManager.prototype.getFileManagers=function(){return this.fileManagers};module.exports=PluginManager},function(module,exports){function isObjectLike(value){return!!value&&"object"==typeof value}module.exports=isObjectLike},function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(2311)},function(module,exports,__webpack_require__){"use strict";module.exports.encode=__webpack_require__(2312);module.exports.decode=__webpack_require__(2313);module.exports.format=__webpack_require__(2314);module.exports.parse=__webpack_require__(2315)},function(module,exports){module.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(module,exports){module.exports=/[\0-\x1F\x7F-\x9F]/},function(module,exports){module.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},function(module,exports,__webpack_require__){"use strict";var attr_name="[a-zA-Z_:][a-zA-Z0-9:._-]*";var unquoted="[^\"'=<>`\\x00-\\x20]+";var single_quoted="'[^']*'";var double_quoted='"[^"]*"';var attr_value="(?:"+unquoted+"|"+single_quoted+"|"+double_quoted+")";var attribute="(?:\\s+"+attr_name+"(?:\\s*=\\s*"+attr_value+")?)";var open_tag="<[A-Za-z][A-Za-z0-9\\-]*"+attribute+"*\\s*\\/?>";var close_tag="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";var comment="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e";var processing="<[?].*?[?]>";var declaration="<![A-Z]+\\s+[^>]*>";var cdata="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";var HTML_TAG_RE=new RegExp("^(?:"+open_tag+"|"+close_tag+"|"+comment+"|"+processing+"|"+declaration+"|"+cdata+")");var HTML_OPEN_CLOSE_TAG_RE=new RegExp("^(?:"+open_tag+"|"+close_tag+")");module.exports.HTML_TAG_RE=HTML_TAG_RE;module.exports.HTML_OPEN_CLOSE_TAG_RE=HTML_OPEN_CLOSE_TAG_RE},function(module,exports,__webpack_require__){"use strict";module.exports.tokenize=function strikethrough(state,silent){var i,scanned,token,len,ch,start=state.pos,marker=state.src.charCodeAt(start);if(silent)return false;if(126!==marker)return false;scanned=state.scanDelims(state.pos,true);len=scanned.length;ch=String.fromCharCode(marker);if(len<2)return false;if(len%2){token=state.push("text","",0);token.content=ch;len--}for(i=0;i<len;i+=2){token=state.push("text","",0);token.content=ch+ch;state.delimiters.push({marker:marker,jump:i,token:state.tokens.length-1,level:state.level,end:-1,open:scanned.can_open,close:scanned.can_close})}state.pos+=scanned.length;return true};module.exports.postProcess=function strikethrough(state){var i,j,startDelim,endDelim,token,loneMarkers=[],delimiters=state.delimiters,max=state.delimiters.length;for(i=0;i<max;i++){startDelim=delimiters[i];if(126!==startDelim.marker)continue;if(-1===startDelim.end)continue;endDelim=delimiters[startDelim.end];token=state.tokens[startDelim.token];token.type="s_open";token.tag="s";token.nesting=1;token.markup="~~";token.content="";token=state.tokens[endDelim.token];token.type="s_close";token.tag="s";token.nesting=-1;token.markup="~~";token.content="";"text"===state.tokens[endDelim.token-1].type&&"~"===state.tokens[endDelim.token-1].content&&loneMarkers.push(endDelim.token-1)}while(loneMarkers.length){i=loneMarkers.pop();j=i+1;while(j<state.tokens.length&&"s_close"===state.tokens[j].type)j++;j--;if(i!==j){token=state.tokens[j];state.tokens[j]=state.tokens[i];state.tokens[i]=token}}}},function(module,exports,__webpack_require__){"use strict";module.exports.tokenize=function emphasis(state,silent){var i,scanned,token,start=state.pos,marker=state.src.charCodeAt(start);if(silent)return false;if(95!==marker&&42!==marker)return false;scanned=state.scanDelims(state.pos,42===marker);for(i=0;i<scanned.length;i++){token=state.push("text","",0);token.content=String.fromCharCode(marker);state.delimiters.push({marker:marker,length:scanned.length,jump:i,token:state.tokens.length-1,level:state.level,end:-1,open:scanned.can_open,close:scanned.can_close})}state.pos+=scanned.length;return true};module.exports.postProcess=function emphasis(state){var i,startDelim,endDelim,token,ch,isStrong,delimiters=state.delimiters,max=state.delimiters.length;for(i=max-1;i>=0;i--){startDelim=delimiters[i];if(95!==startDelim.marker&&42!==startDelim.marker)continue;if(-1===startDelim.end)continue;endDelim=delimiters[startDelim.end];isStrong=i>0&&delimiters[i-1].end===startDelim.end+1&&delimiters[i-1].token===startDelim.token-1&&delimiters[startDelim.end+1].token===endDelim.token+1&&delimiters[i-1].marker===startDelim.marker;ch=String.fromCharCode(startDelim.marker);token=state.tokens[startDelim.token];token.type=isStrong?"strong_open":"em_open";token.tag=isStrong?"strong":"em";token.nesting=1;token.markup=isStrong?ch+ch:ch;token.content="";token=state.tokens[endDelim.token];token.type=isStrong?"strong_close":"em_close";token.tag=isStrong?"strong":"em";token.nesting=-1;token.markup=isStrong?ch+ch:ch;token.content="";if(isStrong){state.tokens[delimiters[i-1].token].content="";state.tokens[delimiters[startDelim.end+1].token].content="";i--}}}},function(module,exports,__webpack_require__){(function(module,global){var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(root){(true,exports)&&exports.nodeType;(true,module)&&module.nodeType;var freeGlobal="object"==typeof global&&global;freeGlobal.global!==freeGlobal&&freeGlobal.window!==freeGlobal&&freeGlobal.self!==freeGlobal||freeGlobal;var punycode,maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexPunycode=/^xn--/,regexNonASCII=/[^\x20-\x7E]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode;function error(type){throw new RangeError(errors[type])}function map(array,fn){var length=array.length;var result=[];while(length--)result[length]=fn(array[length]);return result}function mapDomain(string,fn){var parts=string.split("@");var result="";if(parts.length>1){result=parts[0]+"@";string=parts[1]}string=string.replace(regexSeparators,".");var labels=string.split(".");var encoded=map(labels,fn).join(".");return result+encoded}function ucs2decode(string){var value,extra,output=[],counter=0,length=string.length;while(counter<length){value=string.charCodeAt(counter++);if(value>=55296&&value<=56319&&counter<length){extra=string.charCodeAt(counter++);if(56320==(64512&extra))output.push(((1023&value)<<10)+(1023&extra)+65536);else{output.push(value);counter--}}else output.push(value)}return output}function ucs2encode(array){return map(array,function(value){var output="";if(value>65535){value-=65536;output+=stringFromCharCode(value>>>10&1023|55296);value=56320|1023&value}output+=stringFromCharCode(value);return output}).join("")}function basicToDigit(codePoint){if(codePoint-48<10)return codePoint-22;if(codePoint-65<26)return codePoint-65;if(codePoint-97<26)return codePoint-97;return base}function digitToBasic(digit,flag){return digit+22+75*(digit<26)-((0!=flag)<<5)}function adapt(delta,numPoints,firstTime){var k=0;delta=firstTime?floor(delta/damp):delta>>1;delta+=floor(delta/numPoints);for(;delta>baseMinusTMin*tMax>>1;k+=base)delta=floor(delta/baseMinusTMin);return floor(k+(baseMinusTMin+1)*delta/(delta+skew))}function decode(input){var out,basic,j,index,oldi,w,k,digit,t,baseMinusT,output=[],inputLength=input.length,i=0,n=initialN,bias=initialBias;basic=input.lastIndexOf(delimiter);basic<0&&(basic=0);for(j=0;j<basic;++j){input.charCodeAt(j)>=128&&error("not-basic");output.push(input.charCodeAt(j))}for(index=basic>0?basic+1:0;index<inputLength;){for(oldi=i,w=1,k=base;;k+=base){index>=inputLength&&error("invalid-input");digit=basicToDigit(input.charCodeAt(index++));(digit>=base||digit>floor((maxInt-i)/w))&&error("overflow");i+=digit*w;t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(digit<t)break;baseMinusT=base-t;w>floor(maxInt/baseMinusT)&&error("overflow");w*=baseMinusT}out=output.length+1;bias=adapt(i-oldi,out,0==oldi);floor(i/out)>maxInt-n&&error("overflow");n+=floor(i/out);i%=out;output.splice(i++,0,n)}return ucs2encode(output)}function encode(input){var n,delta,handledCPCount,basicLength,bias,j,m,q,k,t,currentValue,inputLength,handledCPCountPlusOne,baseMinusT,qMinusT,output=[];input=ucs2decode(input);inputLength=input.length;n=initialN;delta=0;bias=initialBias;for(j=0;j<inputLength;++j){currentValue=input[j];currentValue<128&&output.push(stringFromCharCode(currentValue))}handledCPCount=basicLength=output.length;basicLength&&output.push(delimiter);while(handledCPCount<inputLength){for(m=maxInt,j=0;j<inputLength;++j){currentValue=input[j];currentValue>=n&&currentValue<m&&(m=currentValue)}handledCPCountPlusOne=handledCPCount+1;m-n>floor((maxInt-delta)/handledCPCountPlusOne)&&error("overflow");delta+=(m-n)*handledCPCountPlusOne;n=m;for(j=0;j<inputLength;++j){currentValue=input[j];currentValue<n&&++delta>maxInt&&error("overflow");if(currentValue==n){for(q=delta,k=base;;k+=base){t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(q<t)break;qMinusT=q-t;baseMinusT=base-t;output.push(stringFromCharCode(digitToBasic(t+qMinusT%baseMinusT,0)));q=floor(qMinusT/baseMinusT)}output.push(stringFromCharCode(digitToBasic(q,0)));bias=adapt(delta,handledCPCountPlusOne,handledCPCount==basicLength);delta=0;++handledCPCount}}++delta;++n}return output.join("")}function toUnicode(input){return mapDomain(input,function(string){return regexPunycode.test(string)?decode(string.slice(4).toLowerCase()):string})}function toASCII(input){return mapDomain(input,function(string){return regexNonASCII.test(string)?"xn--"+encode(string):string})}punycode={version:"1.4.1",ucs2:{decode:ucs2decode,encode:ucs2encode},decode:decode,encode:encode,toASCII:toASCII,toUnicode:toUnicode};true;!(__WEBPACK_AMD_DEFINE_RESULT__=function(){return punycode}.call(exports,__webpack_require__,exports,module),void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})()}).call(this,__webpack_require__(82)(module),__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=bindToJquery;var _testSubjSelector=__webpack_require__(2365);var _testSubjSelector2=_interopRequireDefault(_testSubjSelector);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function bindToJquery($){$.findTestSubject=function(){return findTestSubject.apply($(document.body),arguments)};$.fn.findTestSubject=findTestSubject;function findTestSubject(){var $els=$();var $context=this;for(var _len=arguments.length,subjectSelectors=Array(_len),_key=0;_key<_len;_key++)subjectSelectors[_key]=arguments[_key];subjectSelectors.forEach(function(selector){$els=$els.add($context.find((0,_testSubjSelector2.default)(selector)))});return $els}}module.exports=exports["default"]},function(module,exports,__webpack_require__){(function(global){__webpack_require__(210).parse;var resolve_url=__webpack_require__(210).resolve;var http=__webpack_require__(500);var https=__webpack_require__(2379);var zlib=__webpack_require__(2380);var stream=__webpack_require__(503);var Response=__webpack_require__(2394);var Headers=__webpack_require__(2416);var Request=__webpack_require__(2417);module.exports=Fetch;function Fetch(url,opts){if(!(this instanceof Fetch))return new Fetch(url,opts);if(!Fetch.Promise)throw new Error("native promise missing, set Fetch.Promise to your favorite alternative");Response.Promise=Fetch.Promise;var self=this;return new Fetch.Promise(function(resolve,reject){var options;try{options=new Request(url,opts)}catch(err){reject(err);return}var send;send="https:"===options.protocol?https.request:http.request;var headers=new Headers(options.headers);options.compress&&headers.set("accept-encoding","gzip,deflate");headers.has("user-agent")||headers.set("user-agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)");headers.has("connection")||headers.set("connection","close");headers.has("accept")||headers.set("accept","*/*");!headers.has("content-type")&&options.body&&"function"===typeof options.body.getBoundary&&headers.set("content-type","multipart/form-data; boundary="+options.body.getBoundary());options.headers=headers.raw();options.headers.host&&(options.headers.host=options.headers.host[0]);var req=send(options);var reqTimeout;options.timeout&&req.once("socket",function(socket){reqTimeout=setTimeout(function(){req.abort();reject(new Error("network timeout at: "+options.url))},options.timeout)});req.on("error",function(err){clearTimeout(reqTimeout);reject(new Error("request to "+options.url+" failed, reason: "+err.message))});req.on("response",function(res){clearTimeout(reqTimeout);if(self.isRedirect(res.statusCode)){if(options.counter>=options.follow){reject(new Error("maximum redirect reached at: "+options.url));return}if(!res.headers.location){reject(new Error("redirect location header missing at: "+options.url));return}options.counter++;resolve(Fetch(resolve_url(options.url,res.headers.location),options));return}var body=res.pipe(new stream.PassThrough);var headers=new Headers(res.headers);if(options.compress&&headers.has("content-encoding")){var name=headers.get("content-encoding");"gzip"==name||"x-gzip"==name?body=body.pipe(zlib.createGunzip()):"deflate"!=name&&"x-deflate"!=name||(body=body.pipe(zlib.createInflate()))}var output=new Response(body,{url:options.url,status:res.statusCode,headers:headers,size:options.size,timeout:options.timeout});resolve(output)});if("string"===typeof options.body){req.write(options.body);req.end()}else"object"===typeof options.body&&options.body.pipe?options.body.pipe(req):req.end()})}Fetch.prototype.isRedirect=function(code){return 301===code||302===code||303===code||307===code||308===code};Fetch.Promise=global.Promise;Fetch.Response=Response;Fetch.Headers=Headers;Fetch.Request=Request}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";var QueryString=exports;var Buffer=__webpack_require__(66).Buffer;QueryString.unescapeBuffer=function(s,decodeSpaces){var out=new Buffer(s.length);var state=0;var n,m,hexchar;for(var inIndex=0,outIndex=0;inIndex<=s.length;inIndex++){var c=inIndex<s.length?s.charCodeAt(inIndex):NaN;switch(state){case 0:switch(c){case 37:n=0;m=0;state=1;break;case 43:decodeSpaces&&(c=32);default:out[outIndex++]=c}break;case 1:hexchar=c;if(c>=48&&c<=57)n=c-48;else if(c>=65&&c<=70)n=c-65+10;else{if(!(c>=97&&c<=102)){out[outIndex++]=37;out[outIndex++]=c;state=0;break}n=c-97+10}state=2;break;case 2:state=0;if(c>=48&&c<=57)m=c-48;else if(c>=65&&c<=70)m=c-65+10;else{if(!(c>=97&&c<=102)){out[outIndex++]=37;out[outIndex++]=hexchar;out[outIndex++]=c;break}m=c-97+10}out[outIndex++]=16*n+m}}return out.slice(0,outIndex-1)};function qsUnescape(s,decodeSpaces){try{return decodeURIComponent(s)}catch(e){return QueryString.unescapeBuffer(s,decodeSpaces).toString()}}QueryString.unescape=qsUnescape;var hexTable=new Array(256);for(var i=0;i<256;++i)hexTable[i]="%"+((i<16?"0":"")+i.toString(16)).toUpperCase();QueryString.escape=function(str){"string"!==typeof str&&(str+="");var out="";var lastPos=0;for(var i=0;i<str.length;++i){var c=str.charCodeAt(i);if(33===c||45===c||46===c||95===c||126===c||c>=39&&c<=42||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122)continue;i-lastPos>0&&(out+=str.slice(lastPos,i));if(c<128){lastPos=i+1;out+=hexTable[c];continue}if(c<2048){lastPos=i+1;out+=hexTable[192|c>>6]+hexTable[128|63&c];continue}if(c<55296||c>=57344){lastPos=i+1;out+=hexTable[224|c>>12]+hexTable[128|c>>6&63]+hexTable[128|63&c];continue}++i;var c2;if(!(i<str.length))throw new URIError("URI malformed");c2=1023&str.charCodeAt(i);lastPos=i+1;c=65536+((1023&c)<<10|c2);out+=hexTable[240|c>>18]+hexTable[128|c>>12&63]+hexTable[128|c>>6&63]+hexTable[128|63&c]}if(0===lastPos)return str;if(lastPos<str.length)return out+str.slice(lastPos);return out};var stringifyPrimitive=function(v){if("string"===typeof v)return v;if("number"===typeof v&&isFinite(v))return""+v;if("boolean"===typeof v)return v?"true":"false";return""};QueryString.stringify=QueryString.encode=function(obj,sep,eq,options){sep=sep||"&";eq=eq||"=";var encode=QueryString.escape;options&&"function"===typeof options.encodeURIComponent&&(encode=options.encodeURIComponent);if(null!==obj&&"object"===typeof obj){var keys=Object.keys(obj);var len=keys.length;var flast=len-1;var fields="";for(var i=0;i<len;++i){var k=keys[i];var v=obj[k];var ks=encode(stringifyPrimitive(k))+eq;if(Array.isArray(v)){var vlen=v.length;var vlast=vlen-1;for(var j=0;j<vlen;++j){fields+=ks+encode(stringifyPrimitive(v[j]));j<vlast&&(fields+=sep)}vlen&&i<flast&&(fields+=sep)}else{fields+=ks+encode(stringifyPrimitive(v));i<flast&&(fields+=sep)}}return fields}return""};QueryString.parse=QueryString.decode=function(qs,sep,eq,options){sep=sep||"&";eq=eq||"=";var obj={};if("string"!==typeof qs||0===qs.length)return obj;"string"!==typeof sep&&(sep+="");var eqLen=eq.length;var sepLen=sep.length;var maxKeys=1e3;options&&"number"===typeof options.maxKeys&&(maxKeys=options.maxKeys);var pairs=Infinity;maxKeys>0&&(pairs=maxKeys);var decode=QueryString.unescape;options&&"function"===typeof options.decodeURIComponent&&(decode=options.decodeURIComponent);var customDecode=decode!==qsUnescape;var keys=[];var lastPos=0;var sepIdx=0;var eqIdx=0;var key="";var value="";var keyEncoded=customDecode;var valEncoded=customDecode;var encodeCheck=0;for(var i=0;i<qs.length;++i){var code=qs.charCodeAt(i);if(code===sep.charCodeAt(sepIdx)){if(++sepIdx===sepLen){var end=i-sepIdx+1;eqIdx<eqLen?lastPos<end&&(key+=qs.slice(lastPos,end)):lastPos<end&&(value+=qs.slice(lastPos,end));keyEncoded&&(key=decodeStr(key,decode));valEncoded&&(value=decodeStr(value,decode));if(-1===keys.indexOf(key)){obj[key]=value;keys[keys.length]=key}else{var curValue=obj[key];curValue instanceof Array?curValue[curValue.length]=value:obj[key]=[curValue,value]}if(0===--pairs)break;keyEncoded=valEncoded=customDecode;encodeCheck=0;key=value="";lastPos=i+1;sepIdx=eqIdx=0}continue}sepIdx=0;valEncoded||(37===code?encodeCheck=1:encodeCheck>0&&(code>=48&&code<=57||code>=65&&code<=70||code>=97&&code<=102)?3===++encodeCheck&&(valEncoded=true):encodeCheck=0);if(eqIdx<eqLen){if(code===eq.charCodeAt(eqIdx)){if(++eqIdx===eqLen){end=i-eqIdx+1;lastPos<end&&(key+=qs.slice(lastPos,end));encodeCheck=0;lastPos=i+1}continue}eqIdx=0;keyEncoded||(37===code?encodeCheck=1:encodeCheck>0&&(code>=48&&code<=57||code>=65&&code<=70||code>=97&&code<=102)?3===++encodeCheck&&(keyEncoded=true):encodeCheck=0)}if(43===code){if(eqIdx<eqLen){i-lastPos>0&&(key+=qs.slice(lastPos,i));key+="%20";keyEncoded=true}else{i-lastPos>0&&(value+=qs.slice(lastPos,i));value+="%20";valEncoded=true}lastPos=i+1}}if(pairs>0&&(lastPos<qs.length||eqIdx>0)){lastPos<qs.length&&(eqIdx<eqLen?key+=qs.slice(lastPos):sepIdx<sepLen&&(value+=qs.slice(lastPos)));keyEncoded&&(key=decodeStr(key,decode));valEncoded&&(value=decodeStr(value,decode));if(-1===keys.indexOf(key)){obj[key]=value;keys[keys.length]=key}else{curValue=obj[key];curValue instanceof Array?curValue[curValue.length]=value:obj[key]=[curValue,value]}}return obj};function decodeStr(s,decoder){try{return decoder(s)}catch(e){return QueryString.unescape(s,true)}}},function(module,exports,__webpack_require__){(function(global){exports.fetch=isFunction(global.fetch)&&isFunction(global.ReadableStream);exports.writableStream=isFunction(global.WritableStream);exports.abortController=isFunction(global.AbortController);exports.blobConstructor=false;try{new Blob([new ArrayBuffer(1)]);exports.blobConstructor=true}catch(e){}var xhr;function getXHR(){if(void 0!==xhr)return xhr;if(global.XMLHttpRequest){xhr=new global.XMLHttpRequest;try{xhr.open("GET",global.XDomainRequest?"/":"https://example.com")}catch(e){xhr=null}}else xhr=null;return xhr}function checkTypeSupport(type){var xhr=getXHR();if(!xhr)return false;try{xhr.responseType=type;return xhr.responseType===type}catch(e){}return false}var haveArrayBuffer="undefined"!==typeof global.ArrayBuffer;var haveSlice=haveArrayBuffer&&isFunction(global.ArrayBuffer.prototype.slice);exports.arraybuffer=exports.fetch||haveArrayBuffer&&checkTypeSupport("arraybuffer");exports.msstream=!exports.fetch&&haveSlice&&checkTypeSupport("ms-stream");exports.mozchunkedarraybuffer=!exports.fetch&&haveArrayBuffer&&checkTypeSupport("moz-chunked-arraybuffer");exports.overrideMimeType=exports.fetch||!!getXHR()&&isFunction(getXHR().overrideMimeType);exports.vbArray=isFunction(global.VBArray);function isFunction(value){return"function"===typeof value}xhr=null}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){(function(process,Buffer,global){var capability=__webpack_require__(898);var inherits=__webpack_require__(122);var stream=__webpack_require__(257);var rStates=exports.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4};var IncomingMessage=exports.IncomingMessage=function(xhr,response,mode){var self=this;stream.Readable.call(self);self._mode=mode;self.headers={};self.rawHeaders=[];self.trailers={};self.rawTrailers=[];self.on("end",function(){process.nextTick(function(){self.emit("close")})});if("fetch"===mode){self._fetchResponse=response;self.url=response.url;self.statusCode=response.status;self.statusMessage=response.statusText;response.headers.forEach(function(header,key){self.headers[key.toLowerCase()]=header;self.rawHeaders.push(key,header)});if(capability.writableStream){var writable=new WritableStream({write:function(chunk){return new Promise(function(resolve,reject){if(self._destroyed)return;self.push(new Buffer(chunk))?resolve():self._resumeFetch=resolve})},close:function(){self._destroyed||self.push(null)},abort:function(err){self._destroyed||self.emit("error",err)}});try{response.body.pipeTo(writable);return}catch(e){}}var reader=response.body.getReader();function read(){reader.read().then(function(result){if(self._destroyed)return;if(result.done){self.push(null);return}self.push(new Buffer(result.value));read()}).catch(function(err){self._destroyed||self.emit("error",err)})}read()}else{self._xhr=xhr;self._pos=0;self.url=xhr.responseURL;self.statusCode=xhr.status;self.statusMessage=xhr.statusText;var headers=xhr.getAllResponseHeaders().split(/\r?\n/);headers.forEach(function(header){var matches=header.match(/^([^:]+):\s*(.*)/);if(matches){var key=matches[1].toLowerCase();if("set-cookie"===key){void 0===self.headers[key]&&(self.headers[key]=[]);self.headers[key].push(matches[2])}else void 0!==self.headers[key]?self.headers[key]+=", "+matches[2]:self.headers[key]=matches[2];self.rawHeaders.push(matches[1],matches[2])}});self._charset="x-user-defined";if(!capability.overrideMimeType){var mimeType=self.rawHeaders["mime-type"];if(mimeType){var charsetMatch=mimeType.match(/;\s*charset=([^;])(;|$)/);charsetMatch&&(self._charset=charsetMatch[1].toLowerCase())}self._charset||(self._charset="utf-8")}}};inherits(IncomingMessage,stream.Readable);IncomingMessage.prototype._read=function(){var self=this;var resolve=self._resumeFetch;if(resolve){self._resumeFetch=null;resolve()}};IncomingMessage.prototype._onXHRProgress=function(){var self=this;var xhr=self._xhr;var response=null;switch(self._mode){case"text:vbarray":if(xhr.readyState!==rStates.DONE)break;try{response=new global.VBArray(xhr.responseBody).toArray()}catch(e){}if(null!==response){self.push(new Buffer(response));break}case"text":try{response=xhr.responseText}catch(e){self._mode="text:vbarray";break}if(response.length>self._pos){var newData=response.substr(self._pos);if("x-user-defined"===self._charset){var buffer=new Buffer(newData.length);for(var i=0;i<newData.length;i++)buffer[i]=255&newData.charCodeAt(i);self.push(buffer)}else self.push(newData,self._charset);self._pos=response.length}break;case"arraybuffer":if(xhr.readyState!==rStates.DONE||!xhr.response)break;response=xhr.response;self.push(new Buffer(new Uint8Array(response)));break;case"moz-chunked-arraybuffer":response=xhr.response;if(xhr.readyState!==rStates.LOADING||!response)break;self.push(new Buffer(new Uint8Array(response)));break;case"ms-stream":response=xhr.response;if(xhr.readyState!==rStates.LOADING)break;var reader=new global.MSStreamReader;reader.onprogress=function(){if(reader.result.byteLength>self._pos){self.push(new Buffer(new Uint8Array(reader.result.slice(self._pos))));self._pos=reader.result.byteLength}};reader.onload=function(){self.push(null)};reader.readAsArrayBuffer(response)}self._xhr.readyState===rStates.DONE&&"ms-stream"!==self._mode&&self.push(null)}}).call(this,__webpack_require__(59),__webpack_require__(66).Buffer,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";(function(global,process){var pna=__webpack_require__(337);module.exports=Readable;var isArray=__webpack_require__(833);var Duplex;Readable.ReadableState=ReadableState;__webpack_require__(329).EventEmitter;var EElistenerCount=function(emitter,type){return emitter.listeners(type).length};var Stream=__webpack_require__(901);var Buffer=__webpack_require__(338).Buffer;var OurUint8Array=global.Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer.from(chunk)}function _isUint8Array(obj){return Buffer.isBuffer(obj)||obj instanceof OurUint8Array}var util=__webpack_require__(258);util.inherits=__webpack_require__(122);var debugUtil=__webpack_require__(2372);var debug=void 0;debug=debugUtil&&debugUtil.debuglog?debugUtil.debuglog("stream"):function(){};var BufferList=__webpack_require__(2373);var destroyImpl=__webpack_require__(902);var StringDecoder;util.inherits(Readable,Stream);var kProxyEvents=["error","close","destroy","pause","resume"];function prependListener(emitter,event,fn){if("function"===typeof emitter.prependListener)return emitter.prependListener(event,fn);emitter._events&&emitter._events[event]?isArray(emitter._events[event])?emitter._events[event].unshift(fn):emitter._events[event]=[fn,emitter._events[event]]:emitter.on(event,fn)}function ReadableState(options,stream){Duplex=Duplex||__webpack_require__(176);options=options||{};var isDuplex=stream instanceof Duplex;this.objectMode=!!options.objectMode;isDuplex&&(this.objectMode=this.objectMode||!!options.readableObjectMode);var hwm=options.highWaterMark;var readableHwm=options.readableHighWaterMark;var defaultHwm=this.objectMode?16:16384;this.highWaterMark=hwm||0===hwm?hwm:isDuplex&&(readableHwm||0===readableHwm)?readableHwm:defaultHwm;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new BufferList;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=options.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(options.encoding){StringDecoder||(StringDecoder=__webpack_require__(502).StringDecoder);this.decoder=new StringDecoder(options.encoding);this.encoding=options.encoding}}function Readable(options){Duplex=Duplex||__webpack_require__(176);if(!(this instanceof Readable))return new Readable(options);this._readableState=new ReadableState(options,this);this.readable=true;if(options){"function"===typeof options.read&&(this._read=options.read);"function"===typeof options.destroy&&(this._destroy=options.destroy)}Stream.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(void 0===this._readableState)return false;return this._readableState.destroyed},set:function(value){if(!this._readableState)return;this._readableState.destroyed=value}});Readable.prototype.destroy=destroyImpl.destroy;Readable.prototype._undestroy=destroyImpl.undestroy;Readable.prototype._destroy=function(err,cb){this.push(null);cb(err)};Readable.prototype.push=function(chunk,encoding){var state=this._readableState;var skipChunkCheck;if(state.objectMode)skipChunkCheck=true;else if("string"===typeof chunk){encoding=encoding||state.defaultEncoding;if(encoding!==state.encoding){chunk=Buffer.from(chunk,encoding);encoding=""}skipChunkCheck=true}return readableAddChunk(this,chunk,encoding,false,skipChunkCheck)};Readable.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,true,false)};function readableAddChunk(stream,chunk,encoding,addToFront,skipChunkCheck){var state=stream._readableState;if(null===chunk){state.reading=false;onEofChunk(stream,state)}else{var er;skipChunkCheck||(er=chunkInvalid(state,chunk));if(er)stream.emit("error",er);else if(state.objectMode||chunk&&chunk.length>0){"string"===typeof chunk||state.objectMode||Object.getPrototypeOf(chunk)===Buffer.prototype||(chunk=_uint8ArrayToBuffer(chunk));if(addToFront)state.endEmitted?stream.emit("error",new Error("stream.unshift() after end event")):addChunk(stream,state,chunk,true);else if(state.ended)stream.emit("error",new Error("stream.push() after EOF"));else{state.reading=false;if(state.decoder&&!encoding){chunk=state.decoder.write(chunk);state.objectMode||0!==chunk.length?addChunk(stream,state,chunk,false):maybeReadMore(stream,state)}else addChunk(stream,state,chunk,false)}}else addToFront||(state.reading=false)}return needMoreData(state)}function addChunk(stream,state,chunk,addToFront){if(state.flowing&&0===state.length&&!state.sync){stream.emit("data",chunk);stream.read(0)}else{state.length+=state.objectMode?1:chunk.length;addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk);state.needReadable&&emitReadable(stream)}maybeReadMore(stream,state)}function chunkInvalid(state,chunk){var er;_isUint8Array(chunk)||"string"===typeof chunk||void 0===chunk||state.objectMode||(er=new TypeError("Invalid non-string/buffer chunk"));return er}function needMoreData(state){return!state.ended&&(state.needReadable||state.length<state.highWaterMark||0===state.length)}Readable.prototype.isPaused=function(){return false===this._readableState.flowing};Readable.prototype.setEncoding=function(enc){StringDecoder||(StringDecoder=__webpack_require__(502).StringDecoder);this._readableState.decoder=new StringDecoder(enc);this._readableState.encoding=enc;return this};var MAX_HWM=8388608;function computeNewHighWaterMark(n){if(n>=MAX_HWM)n=MAX_HWM;else{n--;n|=n>>>1;n|=n>>>2;n|=n>>>4;n|=n>>>8;n|=n>>>16;n++}return n}function howMuchToRead(n,state){if(n<=0||0===state.length&&state.ended)return 0;if(state.objectMode)return 1;if(n!==n)return state.flowing&&state.length?state.buffer.head.data.length:state.length;n>state.highWaterMark&&(state.highWaterMark=computeNewHighWaterMark(n));if(n<=state.length)return n;if(!state.ended){state.needReadable=true;return 0}return state.length}Readable.prototype.read=function(n){debug("read",n);n=parseInt(n,10);var state=this._readableState;var nOrig=n;0!==n&&(state.emittedReadable=false);if(0===n&&state.needReadable&&(state.length>=state.highWaterMark||state.ended)){debug("read: emitReadable",state.length,state.ended);0===state.length&&state.ended?endReadable(this):emitReadable(this);return null}n=howMuchToRead(n,state);if(0===n&&state.ended){0===state.length&&endReadable(this);return null}var doRead=state.needReadable;debug("need readable",doRead);if(0===state.length||state.length-n<state.highWaterMark){doRead=true;debug("length less than watermark",doRead)}if(state.ended||state.reading){doRead=false;debug("reading or ended",doRead)}else if(doRead){debug("do read");state.reading=true;state.sync=true;0===state.length&&(state.needReadable=true);this._read(state.highWaterMark);state.sync=false;state.reading||(n=howMuchToRead(nOrig,state))}var ret;ret=n>0?fromList(n,state):null;if(null===ret){state.needReadable=true;n=0}else state.length-=n;if(0===state.length){state.ended||(state.needReadable=true);nOrig!==n&&state.ended&&endReadable(this)}null!==ret&&this.emit("data",ret);return ret};function onEofChunk(stream,state){if(state.ended)return;if(state.decoder){var chunk=state.decoder.end();if(chunk&&chunk.length){state.buffer.push(chunk);state.length+=state.objectMode?1:chunk.length}}state.ended=true;emitReadable(stream)}function emitReadable(stream){var state=stream._readableState;state.needReadable=false;if(!state.emittedReadable){debug("emitReadable",state.flowing);state.emittedReadable=true;state.sync?pna.nextTick(emitReadable_,stream):emitReadable_(stream)}}function emitReadable_(stream){debug("emit readable");stream.emit("readable");flow(stream)}function maybeReadMore(stream,state){if(!state.readingMore){state.readingMore=true;pna.nextTick(maybeReadMore_,stream,state)}}function maybeReadMore_(stream,state){var len=state.length;while(!state.reading&&!state.flowing&&!state.ended&&state.length<state.highWaterMark){debug("maybeReadMore read 0");stream.read(0);if(len===state.length)break;len=state.length}state.readingMore=false}Readable.prototype._read=function(n){this.emit("error",new Error("_read() is not implemented"))};Readable.prototype.pipe=function(dest,pipeOpts){var src=this;var state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest)}state.pipesCount+=1;debug("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||false!==pipeOpts.end)&&dest!==process.stdout&&dest!==process.stderr;var endFn=doEnd?onend:unpipe;state.endEmitted?pna.nextTick(endFn):src.once("end",endFn);dest.on("unpipe",onunpipe);function onunpipe(readable,unpipeInfo){debug("onunpipe");if(readable===src&&unpipeInfo&&false===unpipeInfo.hasUnpiped){unpipeInfo.hasUnpiped=true;cleanup()}}function onend(){debug("onend");dest.end()}var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=false;function cleanup(){debug("cleanup");dest.removeListener("close",onclose);dest.removeListener("finish",onfinish);dest.removeListener("drain",ondrain);dest.removeListener("error",onerror);dest.removeListener("unpipe",onunpipe);src.removeListener("end",onend);src.removeListener("end",unpipe);src.removeListener("data",ondata);cleanedUp=true;!state.awaitDrain||dest._writableState&&!dest._writableState.needDrain||ondrain()}var increasedAwaitDrain=false;src.on("data",ondata);function ondata(chunk){debug("ondata");increasedAwaitDrain=false;var ret=dest.write(chunk);if(false===ret&&!increasedAwaitDrain){if((1===state.pipesCount&&state.pipes===dest||state.pipesCount>1&&-1!==indexOf(state.pipes,dest))&&!cleanedUp){debug("false write response, pause",src._readableState.awaitDrain);src._readableState.awaitDrain++;increasedAwaitDrain=true}src.pause()}}function onerror(er){debug("onerror",er);unpipe();dest.removeListener("error",onerror);0===EElistenerCount(dest,"error")&&dest.emit("error",er)}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish);unpipe()}dest.once("close",onclose);function onfinish(){debug("onfinish");dest.removeListener("close",onclose);unpipe()}dest.once("finish",onfinish);function unpipe(){debug("unpipe");src.unpipe(dest)}dest.emit("pipe",src);if(!state.flowing){debug("pipe resume");src.resume()}return dest};function pipeOnDrain(src){return function(){var state=src._readableState;debug("pipeOnDrain",state.awaitDrain);state.awaitDrain&&state.awaitDrain--;if(0===state.awaitDrain&&EElistenerCount(src,"data")){state.flowing=true;flow(src)}}}Readable.prototype.unpipe=function(dest){var state=this._readableState;var unpipeInfo={hasUnpiped:false};if(0===state.pipesCount)return this;if(1===state.pipesCount){if(dest&&dest!==state.pipes)return this;dest||(dest=state.pipes);state.pipes=null;state.pipesCount=0;state.flowing=false;dest&&dest.emit("unpipe",this,unpipeInfo);return this}if(!dest){var dests=state.pipes;var len=state.pipesCount;state.pipes=null;state.pipesCount=0;state.flowing=false;for(var i=0;i<len;i++)dests[i].emit("unpipe",this,unpipeInfo);return this}var index=indexOf(state.pipes,dest);if(-1===index)return this;state.pipes.splice(index,1);state.pipesCount-=1;1===state.pipesCount&&(state.pipes=state.pipes[0]);dest.emit("unpipe",this,unpipeInfo);return this};Readable.prototype.on=function(ev,fn){var res=Stream.prototype.on.call(this,ev,fn);if("data"===ev)false!==this._readableState.flowing&&this.resume();else if("readable"===ev){var state=this._readableState;if(!state.endEmitted&&!state.readableListening){state.readableListening=state.needReadable=true;state.emittedReadable=false;state.reading?state.length&&emitReadable(this):pna.nextTick(nReadingNextTick,this)}}return res};Readable.prototype.addListener=Readable.prototype.on;function nReadingNextTick(self){debug("readable nexttick read 0");self.read(0)}Readable.prototype.resume=function(){var state=this._readableState;if(!state.flowing){debug("resume");state.flowing=true;resume(this,state)}return this};function resume(stream,state){if(!state.resumeScheduled){state.resumeScheduled=true;pna.nextTick(resume_,stream,state)}}function resume_(stream,state){if(!state.reading){debug("resume read 0");stream.read(0)}state.resumeScheduled=false;state.awaitDrain=0;stream.emit("resume");flow(stream);state.flowing&&!state.reading&&stream.read(0)}Readable.prototype.pause=function(){debug("call pause flowing=%j",this._readableState.flowing);if(false!==this._readableState.flowing){debug("pause");this._readableState.flowing=false;this.emit("pause")}return this};function flow(stream){var state=stream._readableState;debug("flow",state.flowing);while(state.flowing&&null!==stream.read());}Readable.prototype.wrap=function(stream){var _this=this;var state=this._readableState;var paused=false;stream.on("end",function(){debug("wrapped end");if(state.decoder&&!state.ended){var chunk=state.decoder.end();chunk&&chunk.length&&_this.push(chunk)}_this.push(null)});stream.on("data",function(chunk){debug("wrapped data");state.decoder&&(chunk=state.decoder.write(chunk));if(state.objectMode&&(null===chunk||void 0===chunk))return;if(!state.objectMode&&(!chunk||!chunk.length))return;var ret=_this.push(chunk);if(!ret){paused=true;stream.pause()}});for(var i in stream)void 0===this[i]&&"function"===typeof stream[i]&&(this[i]=function(method){return function(){return stream[method].apply(stream,arguments)}}(i));for(var n=0;n<kProxyEvents.length;n++)stream.on(kProxyEvents[n],this.emit.bind(this,kProxyEvents[n]));this._read=function(n){debug("wrapped _read",n);if(paused){paused=false;stream.resume()}};return this};Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:false,get:function(){return this._readableState.highWaterMark}});Readable._fromList=fromList;function fromList(n,state){if(0===state.length)return null;var ret;if(state.objectMode)ret=state.buffer.shift();else if(!n||n>=state.length){ret=state.decoder?state.buffer.join(""):1===state.buffer.length?state.buffer.head.data:state.buffer.concat(state.length);state.buffer.clear()}else ret=fromListPartial(n,state.buffer,state.decoder);return ret}function fromListPartial(n,list,hasStrings){var ret;if(n<list.head.data.length){ret=list.head.data.slice(0,n);list.head.data=list.head.data.slice(n)}else ret=n===list.head.data.length?list.shift():hasStrings?copyFromBufferString(n,list):copyFromBuffer(n,list);return ret}function copyFromBufferString(n,list){var p=list.head;var c=1;var ret=p.data;n-=ret.length;while(p=p.next){var str=p.data;var nb=n>str.length?str.length:n;nb===str.length?ret+=str:ret+=str.slice(0,n);n-=nb;if(0===n){if(nb===str.length){++c;p.next?list.head=p.next:list.head=list.tail=null}else{list.head=p;p.data=str.slice(nb)}break}++c}list.length-=c;return ret}function copyFromBuffer(n,list){var ret=Buffer.allocUnsafe(n);var p=list.head;var c=1;p.data.copy(ret);n-=p.data.length;while(p=p.next){var buf=p.data;var nb=n>buf.length?buf.length:n;buf.copy(ret,ret.length-n,0,nb);n-=nb;if(0===n){if(nb===buf.length){++c;p.next?list.head=p.next:list.head=list.tail=null}else{list.head=p;p.data=buf.slice(nb)}break}++c}list.length-=c;return ret}function endReadable(stream){var state=stream._readableState;if(state.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!state.endEmitted){state.ended=true;pna.nextTick(endReadableNT,state,stream)}}function endReadableNT(state,stream){if(!state.endEmitted&&0===state.length){state.endEmitted=true;stream.readable=false;stream.emit("end")}}function indexOf(xs,x){for(var i=0,l=xs.length;i<l;i++)if(xs[i]===x)return i;return-1}}).call(this,__webpack_require__(18),__webpack_require__(59))},function(module,exports,__webpack_require__){module.exports=__webpack_require__(329).EventEmitter},function(module,exports,__webpack_require__){"use strict";var pna=__webpack_require__(337);function destroy(err,cb){var _this=this;var readableDestroyed=this._readableState&&this._readableState.destroyed;var writableDestroyed=this._writableState&&this._writableState.destroyed;if(readableDestroyed||writableDestroyed){cb?cb(err):!err||this._writableState&&this._writableState.errorEmitted||pna.nextTick(emitErrorNT,this,err);return this}this._readableState&&(this._readableState.destroyed=true);this._writableState&&(this._writableState.destroyed=true);this._destroy(err||null,function(err){if(!cb&&err){pna.nextTick(emitErrorNT,_this,err);_this._writableState&&(_this._writableState.errorEmitted=true)}else cb&&cb(err)});return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(self,err){self.emit("error",err)}module.exports={destroy:destroy,undestroy:undestroy}},function(module,exports,__webpack_require__){"use strict";module.exports=Transform;var Duplex=__webpack_require__(176);var util=__webpack_require__(258);util.inherits=__webpack_require__(122);util.inherits(Transform,Duplex);function afterTransform(er,data){var ts=this._transformState;ts.transforming=false;var cb=ts.writecb;if(!cb)return this.emit("error",new Error("write callback called multiple times"));ts.writechunk=null;ts.writecb=null;null!=data&&this.push(data);cb(er);var rs=this._readableState;rs.reading=false;(rs.needReadable||rs.length<rs.highWaterMark)&&this._read(rs.highWaterMark)}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex.call(this,options);this._transformState={afterTransform:afterTransform.bind(this),needTransform:false,transforming:false,writecb:null,writechunk:null,writeencoding:null};this._readableState.needReadable=true;this._readableState.sync=false;if(options){"function"===typeof options.transform&&(this._transform=options.transform);"function"===typeof options.flush&&(this._flush=options.flush)}this.on("prefinish",prefinish)}function prefinish(){var _this=this;"function"===typeof this._flush?this._flush(function(er,data){done(_this,er,data)}):done(this,null,null)}Transform.prototype.push=function(chunk,encoding){this._transformState.needTransform=false;return Duplex.prototype.push.call(this,chunk,encoding)};Transform.prototype._transform=function(chunk,encoding,cb){throw new Error("_transform() is not implemented")};Transform.prototype._write=function(chunk,encoding,cb){var ts=this._transformState;ts.writecb=cb;ts.writechunk=chunk;ts.writeencoding=encoding;if(!ts.transforming){var rs=this._readableState;(ts.needTransform||rs.needReadable||rs.length<rs.highWaterMark)&&this._read(rs.highWaterMark)}};Transform.prototype._read=function(n){var ts=this._transformState;if(null!==ts.writechunk&&ts.writecb&&!ts.transforming){ts.transforming=true;this._transform(ts.writechunk,ts.writeencoding,ts.afterTransform)}else ts.needTransform=true};Transform.prototype._destroy=function(err,cb){var _this2=this;Duplex.prototype._destroy.call(this,err,function(err2){cb(err2);_this2.emit("close")})};function done(stream,er,data){if(er)return stream.emit("error",er);null!=data&&stream.push(data);if(stream._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(stream._transformState.transforming)throw new Error("Calling transform done when still transforming");return stream.push(null)}},function(module,exports,__webpack_require__){"use strict";(function(global){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 * @license  MIT
 */
function compare(a,b){if(a===b)return 0;var x=a.length;var y=b.length;for(var i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i];y=b[i];break}if(x<y)return-1;if(y<x)return 1;return 0}function isBuffer(b){if(global.Buffer&&"function"===typeof global.Buffer.isBuffer)return global.Buffer.isBuffer(b);return!!(null!=b&&b._isBuffer)}var util=__webpack_require__(336);var hasOwn=Object.prototype.hasOwnProperty;var pSlice=Array.prototype.slice;var functionsHaveNames="foo"===function foo(){}.name;function pToString(obj){return Object.prototype.toString.call(obj)}function isView(arrbuf){if(isBuffer(arrbuf))return false;if("function"!==typeof global.ArrayBuffer)return false;if("function"===typeof ArrayBuffer.isView)return ArrayBuffer.isView(arrbuf);if(!arrbuf)return false;if(arrbuf instanceof DataView)return true;if(arrbuf.buffer&&arrbuf.buffer instanceof ArrayBuffer)return true;return false}var assert=module.exports=ok;var regex=/\s*function\s+([^\(\s]*)\s*/;function getName(func){if(!util.isFunction(func))return;if(functionsHaveNames)return func.name;var str=func.toString();var match=str.match(regex);return match&&match[1]}assert.AssertionError=function AssertionError(options){this.name="AssertionError";this.actual=options.actual;this.expected=options.expected;this.operator=options.operator;if(options.message){this.message=options.message;this.generatedMessage=false}else{this.message=getMessage(this);this.generatedMessage=true}var stackStartFunction=options.stackStartFunction||fail;if(Error.captureStackTrace)Error.captureStackTrace(this,stackStartFunction);else{var err=new Error;if(err.stack){var out=err.stack;var fn_name=getName(stackStartFunction);var idx=out.indexOf("\n"+fn_name);if(idx>=0){var next_line=out.indexOf("\n",idx+1);out=out.substring(next_line+1)}this.stack=out}}};util.inherits(assert.AssertionError,Error);function truncate(s,n){return"string"===typeof s?s.length<n?s:s.slice(0,n):s}function inspect(something){if(functionsHaveNames||!util.isFunction(something))return util.inspect(something);var rawname=getName(something);var name=rawname?": "+rawname:"";return"[Function"+name+"]"}function getMessage(self){return truncate(inspect(self.actual),128)+" "+self.operator+" "+truncate(inspect(self.expected),128)}function fail(actual,expected,message,operator,stackStartFunction){throw new assert.AssertionError({message:message,actual:actual,expected:expected,operator:operator,stackStartFunction:stackStartFunction})}assert.fail=fail;function ok(value,message){value||fail(value,true,message,"==",assert.ok)}assert.ok=ok;assert.equal=function equal(actual,expected,message){actual!=expected&&fail(actual,expected,message,"==",assert.equal)};assert.notEqual=function notEqual(actual,expected,message){actual==expected&&fail(actual,expected,message,"!=",assert.notEqual)};assert.deepEqual=function deepEqual(actual,expected,message){_deepEqual(actual,expected,false)||fail(actual,expected,message,"deepEqual",assert.deepEqual)};assert.deepStrictEqual=function deepStrictEqual(actual,expected,message){_deepEqual(actual,expected,true)||fail(actual,expected,message,"deepStrictEqual",assert.deepStrictEqual)};function _deepEqual(actual,expected,strict,memos){if(actual===expected)return true;if(isBuffer(actual)&&isBuffer(expected))return 0===compare(actual,expected);if(util.isDate(actual)&&util.isDate(expected))return actual.getTime()===expected.getTime();if(util.isRegExp(actual)&&util.isRegExp(expected))return actual.source===expected.source&&actual.global===expected.global&&actual.multiline===expected.multiline&&actual.lastIndex===expected.lastIndex&&actual.ignoreCase===expected.ignoreCase;if(null!==actual&&"object"===typeof actual||null!==expected&&"object"===typeof expected){if(isView(actual)&&isView(expected)&&pToString(actual)===pToString(expected)&&!(actual instanceof Float32Array||actual instanceof Float64Array))return 0===compare(new Uint8Array(actual.buffer),new Uint8Array(expected.buffer));if(isBuffer(actual)!==isBuffer(expected))return false;memos=memos||{actual:[],expected:[]};var actualIndex=memos.actual.indexOf(actual);if(-1!==actualIndex&&actualIndex===memos.expected.indexOf(expected))return true;memos.actual.push(actual);memos.expected.push(expected);return objEquiv(actual,expected,strict,memos)}return strict?actual===expected:actual==expected}function isArguments(object){return"[object Arguments]"==Object.prototype.toString.call(object)}function objEquiv(a,b,strict,actualVisitedObjects){if(null===a||void 0===a||null===b||void 0===b)return false;if(util.isPrimitive(a)||util.isPrimitive(b))return a===b;if(strict&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(b))return false;var aIsArgs=isArguments(a);var bIsArgs=isArguments(b);if(aIsArgs&&!bIsArgs||!aIsArgs&&bIsArgs)return false;if(aIsArgs){a=pSlice.call(a);b=pSlice.call(b);return _deepEqual(a,b,strict)}var ka=objectKeys(a);var kb=objectKeys(b);var key,i;if(ka.length!==kb.length)return false;ka.sort();kb.sort();for(i=ka.length-1;i>=0;i--)if(ka[i]!==kb[i])return false;for(i=ka.length-1;i>=0;i--){key=ka[i];if(!_deepEqual(a[key],b[key],strict,actualVisitedObjects))return false}return true}assert.notDeepEqual=function notDeepEqual(actual,expected,message){_deepEqual(actual,expected,false)&&fail(actual,expected,message,"notDeepEqual",assert.notDeepEqual)};assert.notDeepStrictEqual=notDeepStrictEqual;function notDeepStrictEqual(actual,expected,message){_deepEqual(actual,expected,true)&&fail(actual,expected,message,"notDeepStrictEqual",notDeepStrictEqual)}assert.strictEqual=function strictEqual(actual,expected,message){actual!==expected&&fail(actual,expected,message,"===",assert.strictEqual)};assert.notStrictEqual=function notStrictEqual(actual,expected,message){actual===expected&&fail(actual,expected,message,"!==",assert.notStrictEqual)};function expectedException(actual,expected){if(!actual||!expected)return false;if("[object RegExp]"==Object.prototype.toString.call(expected))return expected.test(actual);try{if(actual instanceof expected)return true}catch(e){}if(Error.isPrototypeOf(expected))return false;return true===expected.call({},actual)}function _tryBlock(block){var error;try{block()}catch(e){error=e}return error}function _throws(shouldThrow,block,expected,message){var actual;if("function"!==typeof block)throw new TypeError('"block" argument must be a function');if("string"===typeof expected){message=expected;expected=null}actual=_tryBlock(block);message=(expected&&expected.name?" ("+expected.name+").":".")+(message?" "+message:".");shouldThrow&&!actual&&fail(actual,expected,"Missing expected exception"+message);var userProvidedMessage="string"===typeof message;var isUnwantedException=!shouldThrow&&util.isError(actual);var isUnexpectedException=!shouldThrow&&actual&&!expected;(isUnwantedException&&userProvidedMessage&&expectedException(actual,expected)||isUnexpectedException)&&fail(actual,expected,"Got unwanted exception"+message);if(shouldThrow&&actual&&expected&&!expectedException(actual,expected)||!shouldThrow&&actual)throw actual}assert.throws=function(block,error,message){_throws(true,block,error,message)};assert.doesNotThrow=function(block,error,message){_throws(false,block,error,message)};assert.ifError=function(err){if(err)throw err};var objectKeys=Object.keys||function(obj){var keys=[];for(var key in obj)hasOwn.call(obj,key)&&keys.push(key);return keys}}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";function adler32(adler,buf,len,pos){var s1=65535&adler|0,s2=adler>>>16&65535|0,n=0;while(0!==len){n=len>2e3?2e3:len;len-=n;do{s1=s1+buf[pos++]|0;s2=s2+s1|0}while(--n);s1%=65521;s2%=65521}return s1|s2<<16|0}module.exports=adler32},function(module,exports,__webpack_require__){"use strict";function makeTable(){var c,table=[];for(var n=0;n<256;n++){c=n;for(var k=0;k<8;k++)c=1&c?3988292384^c>>>1:c>>>1;table[n]=c}return table}var crcTable=makeTable();function crc32(crc,buf,len,pos){var t=crcTable,end=pos+len;crc^=-1;for(var i=pos;i<end;i++)crc=crc>>>8^t[255&(crc^buf[i])];return-1^crc}module.exports=crc32},function(module){module.exports=[["a140","",62],["a180","",32],["a240","",62],["a280","",32],["a2ab","",5],["a2e3","€"],["a2ef",""],["a2fd",""],["a340","",62],["a380","",31,"　"],["a440","",62],["a480","",32],["a4f4","",10],["a540","",62],["a580","",32],["a5f7","",7],["a640","",62],["a680","",32],["a6b9","",7],["a6d9","",6],["a6ec",""],["a6f3",""],["a6f6","",8],["a740","",62],["a780","",32],["a7c2","",14],["a7f2","",12],["a896","",10],["a8bc",""],["a8bf","ǹ"],["a8c1",""],["a8ea","",20],["a958",""],["a95b",""],["a95d",""],["a989","〾⿰",11],["a997","",12],["a9f0","",14],["aaa1","",93],["aba1","",93],["aca1","",93],["ada1","",93],["aea1","",93],["afa1","",93],["d7fa","",4],["f8a1","",93],["f9a1","",93],["faa1","",93],["fba1","",93],["fca1","",93],["fda1","",93],["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93]]},function(module){module.exports=[["0","\0",127],["a140","　，、。．‧；：？！︰…‥﹐﹑﹒·﹔﹕﹖﹗｜–︱—︳╴︴﹏（）︵︶｛｝︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′＃＆＊※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯￣＿ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡＋－×÷±√＜＞＝≦≧≠∞≒≡﹢",4,"～∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣／"],["a240","＼∕﹨＄￥〒￠￡％＠℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳０",9,"Ⅰ",9,"〡",8,"十卄卅Ａ",25,"ａ",21],["a340","ｗｘｙｚΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],["a3a1","ㄐ",25,"˙ˉˊˇˋ"],["a3e1","€"],["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]]},function(module,exports,__webpack_require__){"use strict";var opcodes={PUSH:0,PUSH_UNDEFINED:1,PUSH_NULL:2,PUSH_FAILED:3,PUSH_EMPTY_ARRAY:4,PUSH_CURR_POS:5,POP:6,POP_CURR_POS:7,POP_N:8,NIP:9,APPEND:10,WRAP:11,TEXT:12,IF:13,IF_ERROR:14,IF_NOT_ERROR:15,WHILE_NOT_ERROR:16,MATCH_ANY:17,MATCH_STRING:18,MATCH_STRING_IC:19,MATCH_REGEXP:20,ACCEPT_N:21,ACCEPT_STRING:22,FAIL:23,LOAD_SAVED_POS:24,UPDATE_SAVED_POS:25,CALL:26,RULE:27,SILENT_FAILS_ON:28,SILENT_FAILS_OFF:29};module.exports=opcodes},function(module,exports,__webpack_require__){"use strict";function hex(ch){return ch.charCodeAt(0).toString(16).toUpperCase()}var javascript={stringEscape:function(s){return s.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(ch){return"\\x0"+hex(ch)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(ch){return"\\x"+hex(ch)}).replace(/[\u0100-\u0FFF]/g,function(ch){return"\\u0"+hex(ch)}).replace(/[\u1000-\uFFFF]/g,function(ch){return"\\u"+hex(ch)})},regexpClassEscape:function(s){return s.replace(/\\/g,"\\\\").replace(/\//g,"\\/").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\v/g,"\\x0B").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x08\x0E\x0F]/g,function(ch){return"\\x0"+hex(ch)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(ch){return"\\x"+hex(ch)}).replace(/[\u0100-\u0FFF]/g,function(ch){return"\\u0"+hex(ch)}).replace(/[\u1000-\uFFFF]/g,function(ch){return"\\u"+hex(ch)})}};module.exports=javascript},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(342);var _propTypes2=_interopRequireDefault(_propTypes);var _lodash=__webpack_require__(232);var _lodash2=_interopRequireDefault(_lodash);var _classnames=__webpack_require__(912);var _classnames2=_interopRequireDefault(_classnames);var _utils=__webpack_require__(260);var _GridItem=__webpack_require__(2434);var _GridItem2=_interopRequireDefault(_GridItem);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var ReactGridLayout=function(_React$Component){_inherits(ReactGridLayout,_React$Component);function ReactGridLayout(props,context){_classCallCheck(this,ReactGridLayout);var _this=_possibleConstructorReturn(this,_React$Component.call(this,props,context));_initialiseProps.call(_this);(0,_utils.autoBindHandlers)(_this,["onDragStart","onDrag","onDragStop","onResizeStart","onResize","onResizeStop"]);return _this}ReactGridLayout.prototype.componentDidMount=function componentDidMount(){this.setState({mounted:true});this.onLayoutMaybeChanged(this.state.layout,this.props.layout)};ReactGridLayout.prototype.componentWillReceiveProps=function componentWillReceiveProps(nextProps){var newLayoutBase=void 0;(0,_lodash2.default)(nextProps.layout,this.props.layout)&&nextProps.compactType===this.props.compactType?(0,_utils.childrenEqual)(this.props.children,nextProps.children)||(newLayoutBase=this.state.layout):newLayoutBase=nextProps.layout;if(newLayoutBase){var newLayout=(0,_utils.synchronizeLayoutWithChildren)(newLayoutBase,nextProps.children,nextProps.cols,this.compactType(nextProps));var _oldLayout=this.state.layout;this.setState({layout:newLayout});this.onLayoutMaybeChanged(newLayout,_oldLayout)}};ReactGridLayout.prototype.containerHeight=function containerHeight(){if(!this.props.autoSize)return;var nbRow=(0,_utils.bottom)(this.state.layout);var containerPaddingY=this.props.containerPadding?this.props.containerPadding[1]:this.props.margin[1];return nbRow*this.props.rowHeight+(nbRow-1)*this.props.margin[1]+2*containerPaddingY+"px"};ReactGridLayout.prototype.compactType=function compactType(props){props||(props=this.props);return false===props.verticalCompact?null:props.compactType};ReactGridLayout.prototype.onDragStart=function onDragStart(i,x,y,_ref){var e=_ref.e,node=_ref.node;var layout=this.state.layout;var l=(0,_utils.getLayoutItem)(layout,i);if(!l)return;this.setState({oldDragItem:(0,_utils.cloneLayoutItem)(l),oldLayout:this.state.layout});return this.props.onDragStart(layout,l,l,null,e,node)};ReactGridLayout.prototype.onDrag=function onDrag(i,x,y,_ref2){var e=_ref2.e,node=_ref2.node;var oldDragItem=this.state.oldDragItem;var layout=this.state.layout;var cols=this.props.cols;var l=(0,_utils.getLayoutItem)(layout,i);if(!l)return;var placeholder={w:l.w,h:l.h,x:l.x,y:l.y,placeholder:true,i:i};var isUserAction=true;layout=(0,_utils.moveElement)(layout,l,x,y,isUserAction,this.props.preventCollision,this.compactType(),cols);this.props.onDrag(layout,oldDragItem,l,placeholder,e,node);this.setState({layout:(0,_utils.compact)(layout,this.compactType(),cols),activeDrag:placeholder})};ReactGridLayout.prototype.onDragStop=function onDragStop(i,x,y,_ref3){var e=_ref3.e,node=_ref3.node;var oldDragItem=this.state.oldDragItem;var layout=this.state.layout;var _props=this.props,cols=_props.cols,preventCollision=_props.preventCollision;var l=(0,_utils.getLayoutItem)(layout,i);if(!l)return;var isUserAction=true;layout=(0,_utils.moveElement)(layout,l,x,y,isUserAction,preventCollision,this.compactType(),cols);this.props.onDragStop(layout,oldDragItem,l,null,e,node);var newLayout=(0,_utils.compact)(layout,this.compactType(),cols);var oldLayout=this.state.oldLayout;this.setState({activeDrag:null,layout:newLayout,oldDragItem:null,oldLayout:null});this.onLayoutMaybeChanged(newLayout,oldLayout)};ReactGridLayout.prototype.onLayoutMaybeChanged=function onLayoutMaybeChanged(newLayout,oldLayout){oldLayout||(oldLayout=this.state.layout);(0,_lodash2.default)(oldLayout,newLayout)||this.props.onLayoutChange(newLayout)};ReactGridLayout.prototype.onResizeStart=function onResizeStart(i,w,h,_ref4){var e=_ref4.e,node=_ref4.node;var layout=this.state.layout;var l=(0,_utils.getLayoutItem)(layout,i);if(!l)return;this.setState({oldResizeItem:(0,_utils.cloneLayoutItem)(l),oldLayout:this.state.layout});this.props.onResizeStart(layout,l,l,null,e,node)};ReactGridLayout.prototype.onResize=function onResize(i,w,h,_ref5){var e=_ref5.e,node=_ref5.node;var _state=this.state,layout=_state.layout,oldResizeItem=_state.oldResizeItem;var _props2=this.props,cols=_props2.cols,preventCollision=_props2.preventCollision;var l=(0,_utils.getLayoutItem)(layout,i);if(!l)return;var hasCollisions=void 0;if(preventCollision){var collisions=(0,_utils.getAllCollisions)(layout,_extends({},l,{w:w,h:h})).filter(function(layoutItem){return layoutItem.i!==l.i});hasCollisions=collisions.length>0;if(hasCollisions){var leastX=Infinity,leastY=Infinity;collisions.forEach(function(layoutItem){layoutItem.x>l.x&&(leastX=Math.min(leastX,layoutItem.x));layoutItem.y>l.y&&(leastY=Math.min(leastY,layoutItem.y))});Number.isFinite(leastX)&&(l.w=leastX-l.x);Number.isFinite(leastY)&&(l.h=leastY-l.y)}}if(!hasCollisions){l.w=w;l.h=h}var placeholder={w:l.w,h:l.h,x:l.x,y:l.y,static:true,i:i};this.props.onResize(layout,oldResizeItem,l,placeholder,e,node);this.setState({layout:(0,_utils.compact)(layout,this.compactType(),cols),activeDrag:placeholder})};ReactGridLayout.prototype.onResizeStop=function onResizeStop(i,w,h,_ref6){var e=_ref6.e,node=_ref6.node;var _state2=this.state,layout=_state2.layout,oldResizeItem=_state2.oldResizeItem;var cols=this.props.cols;var l=(0,_utils.getLayoutItem)(layout,i);this.props.onResizeStop(layout,oldResizeItem,l,null,e,node);var newLayout=(0,_utils.compact)(layout,this.compactType(),cols);var oldLayout=this.state.oldLayout;this.setState({activeDrag:null,layout:newLayout,oldResizeItem:null,oldLayout:null});this.onLayoutMaybeChanged(newLayout,oldLayout)};ReactGridLayout.prototype.placeholder=function placeholder(){var activeDrag=this.state.activeDrag;if(!activeDrag)return null;var _props3=this.props,width=_props3.width,cols=_props3.cols,margin=_props3.margin,containerPadding=_props3.containerPadding,rowHeight=_props3.rowHeight,maxRows=_props3.maxRows,useCSSTransforms=_props3.useCSSTransforms;return _react2.default.createElement(_GridItem2.default,{w:activeDrag.w,h:activeDrag.h,x:activeDrag.x,y:activeDrag.y,i:activeDrag.i,className:"react-grid-placeholder",containerWidth:width,cols:cols,margin:margin,containerPadding:containerPadding||margin,maxRows:maxRows,rowHeight:rowHeight,isDraggable:false,isResizable:false,useCSSTransforms:useCSSTransforms},_react2.default.createElement("div",null))};ReactGridLayout.prototype.processGridItem=function processGridItem(child){if(!child||!child.key)return;var l=(0,_utils.getLayoutItem)(this.state.layout,String(child.key));if(!l)return null;var _props4=this.props,width=_props4.width,cols=_props4.cols,margin=_props4.margin,containerPadding=_props4.containerPadding,rowHeight=_props4.rowHeight,maxRows=_props4.maxRows,isDraggable=_props4.isDraggable,isResizable=_props4.isResizable,useCSSTransforms=_props4.useCSSTransforms,draggableCancel=_props4.draggableCancel,draggableHandle=_props4.draggableHandle;var mounted=this.state.mounted;var draggable=Boolean(!l.static&&isDraggable&&(l.isDraggable||null==l.isDraggable));var resizable=Boolean(!l.static&&isResizable&&(l.isResizable||null==l.isResizable));return _react2.default.createElement(_GridItem2.default,{containerWidth:width,cols:cols,margin:margin,containerPadding:containerPadding||margin,maxRows:maxRows,rowHeight:rowHeight,cancel:draggableCancel,handle:draggableHandle,onDragStop:this.onDragStop,onDragStart:this.onDragStart,onDrag:this.onDrag,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,isDraggable:draggable,isResizable:resizable,useCSSTransforms:useCSSTransforms&&mounted,usePercentages:!mounted,w:l.w,h:l.h,x:l.x,y:l.y,i:l.i,minH:l.minH,minW:l.minW,maxH:l.maxH,maxW:l.maxW,static:l.static},child)};ReactGridLayout.prototype.render=function render(){var _this2=this;var _props5=this.props,className=_props5.className,style=_props5.style;var mergedClassName=(0,_classnames2.default)("react-grid-layout",className);var mergedStyle=_extends({height:this.containerHeight()},style);return _react2.default.createElement("div",{className:mergedClassName,style:mergedStyle},_react2.default.Children.map(this.props.children,function(child){return _this2.processGridItem(child)}),this.placeholder())};return ReactGridLayout}(_react2.default.Component);ReactGridLayout.displayName="ReactGridLayout";ReactGridLayout.propTypes={className:_propTypes2.default.string,style:_propTypes2.default.object,width:_propTypes2.default.number,autoSize:_propTypes2.default.bool,cols:_propTypes2.default.number,draggableCancel:_propTypes2.default.string,draggableHandle:_propTypes2.default.string,verticalCompact:function verticalCompact(props){false===props.verticalCompact&&false},compactType:_propTypes2.default.oneOf(["vertical","horizontal"]),layout:function layout(props){var layout=props.layout;if(void 0===layout)return;(0,_utils.validateLayout)(layout,"layout")},margin:_propTypes2.default.arrayOf(_propTypes2.default.number),containerPadding:_propTypes2.default.arrayOf(_propTypes2.default.number),rowHeight:_propTypes2.default.number,maxRows:_propTypes2.default.number,isDraggable:_propTypes2.default.bool,isResizable:_propTypes2.default.bool,preventCollision:_propTypes2.default.bool,useCSSTransforms:_propTypes2.default.bool,onLayoutChange:_propTypes2.default.func,onDragStart:_propTypes2.default.func,onDrag:_propTypes2.default.func,onDragStop:_propTypes2.default.func,onResizeStart:_propTypes2.default.func,onResize:_propTypes2.default.func,onResizeStop:_propTypes2.default.func,children:function children(props,propName){var children=props[propName];var keys={};_react2.default.Children.forEach(children,function(child){if(keys[child.key])throw new Error('Duplicate child key "'+child.key+'" found! This will cause problems in ReactGridLayout.');keys[child.key]=true})}};ReactGridLayout.defaultProps={autoSize:true,cols:12,className:"",style:{},draggableHandle:"",draggableCancel:"",containerPadding:null,rowHeight:150,maxRows:Infinity,layout:[],margin:[10,10],isDraggable:true,isResizable:true,useCSSTransforms:true,verticalCompact:true,compactType:"vertical",preventCollision:false,onLayoutChange:_utils.noop,onDragStart:_utils.noop,onDrag:_utils.noop,onDragStop:_utils.noop,onResizeStart:_utils.noop,onResize:_utils.noop,onResizeStop:_utils.noop};var _initialiseProps=function _initialiseProps(){this.state={activeDrag:null,layout:(0,_utils.synchronizeLayoutWithChildren)(this.props.layout,this.props.children,this.props.cols,this.compactType()),mounted:false,oldDragItem:null,oldLayout:null,oldResizeItem:null}};exports.default=ReactGridLayout},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;
/*!
  Copyright (c) 2016 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
/*!
  Copyright (c) 2016 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){var classes=[];for(var i=0;i<arguments.length;i++){var arg=arguments[i];if(!arg)continue;var argType=typeof arg;if("string"===argType||"number"===argType)classes.push(arg);else if(Array.isArray(arg))classes.push(classNames.apply(null,arg));else if("object"===argType)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key)}return classes.join(" ")}if(true,module.exports)module.exports=classNames;else{true;!(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}})()},function(module,exports,__webpack_require__){(function webpackUniversalModuleDefinition(root,factory){true;module.exports=factory(__webpack_require__(72),__webpack_require__(0))})(0,function(__WEBPACK_EXTERNAL_MODULE_4__,__WEBPACK_EXTERNAL_MODULE_6__){return function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:false,exports:{}};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.l=true;return module.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:false,enumerable:true,get:getter})};__webpack_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module["default"]}:function getModuleExports(){return module};__webpack_require__.d(getter,"a",getter);return getter};__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)};__webpack_require__.p="";return __webpack_require__(__webpack_require__.s=12)}([function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.findInArray=findInArray;exports.isFunction=isFunction;exports.isNum=isNum;exports.int=int;exports.dontSetMe=dontSetMe;function findInArray(array,callback){for(var i=0,length=array.length;i<length;i++)if(callback.apply(callback,[array[i],i,array]))return array[i]}function isFunction(func){return"function"===typeof func||"[object Function]"===Object.prototype.toString.call(func)}function isNum(num){return"number"===typeof num&&!isNaN(num)}function int(a){return parseInt(a,10)}function dontSetMe(props,propName,componentName){if(props[propName])return new Error("Invalid prop "+propName+" passed to "+componentName+" - do not set this, set it on the child.")}},function(module,exports,__webpack_require__){"use strict";function makeEmptyFunction(arg){return function(){return arg}}var emptyFunction=function emptyFunction(){};emptyFunction.thatReturns=makeEmptyFunction;emptyFunction.thatReturnsFalse=makeEmptyFunction(false);emptyFunction.thatReturnsTrue=makeEmptyFunction(true);emptyFunction.thatReturnsNull=makeEmptyFunction(null);emptyFunction.thatReturnsThis=function(){return this};emptyFunction.thatReturnsArgument=function(arg){return arg};module.exports=emptyFunction},function(module,exports,__webpack_require__){"use strict";var validateFormat=function validateFormat(format){};"production"!==Object({DRAGGABLE_DEBUG:void 0}).NODE_ENV&&(validateFormat=function validateFormat(format){if(void 0===format)throw new Error("invariant requires an error message argument")});function invariant(condition,format,a,b,c,d,e,f){validateFormat(format);if(!condition){var error;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f];var argIndex=0;error=new Error(format.replace(/%s/g,function(){return args[argIndex++]}));error.name="Invariant Violation"}error.framesToPop=1;throw error}}module.exports=invariant},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports){module.exports=__WEBPACK_EXTERNAL_MODULE_4__},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.matchesSelector=matchesSelector;exports.matchesSelectorAndParentsTo=matchesSelectorAndParentsTo;exports.addEvent=addEvent;exports.removeEvent=removeEvent;exports.outerHeight=outerHeight;exports.outerWidth=outerWidth;exports.innerHeight=innerHeight;exports.innerWidth=innerWidth;exports.offsetXYFromParent=offsetXYFromParent;exports.createCSSTransform=createCSSTransform;exports.createSVGTransform=createSVGTransform;exports.getTouch=getTouch;exports.getTouchIdentifier=getTouchIdentifier;exports.addUserSelectStyles=addUserSelectStyles;exports.removeUserSelectStyles=removeUserSelectStyles;exports.styleHacks=styleHacks;exports.addClassName=addClassName;exports.removeClassName=removeClassName;var _shims=__webpack_require__(0);var _getPrefix=__webpack_require__(19);var _getPrefix2=_interopRequireDefault(_getPrefix);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var matchesSelectorFunc="";function matchesSelector(el,selector){matchesSelectorFunc||(matchesSelectorFunc=(0,_shims.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(method){return(0,_shims.isFunction)(el[method])}));if(!(0,_shims.isFunction)(el[matchesSelectorFunc]))return false;return el[matchesSelectorFunc](selector)}function matchesSelectorAndParentsTo(el,selector,baseNode){var node=el;do{if(matchesSelector(node,selector))return true;if(node===baseNode)return false;node=node.parentNode}while(node);return false}function addEvent(el,event,handler){if(!el)return;el.attachEvent?el.attachEvent("on"+event,handler):el.addEventListener?el.addEventListener(event,handler,true):el["on"+event]=handler}function removeEvent(el,event,handler){if(!el)return;el.detachEvent?el.detachEvent("on"+event,handler):el.removeEventListener?el.removeEventListener(event,handler,true):el["on"+event]=null}function outerHeight(node){var height=node.clientHeight;var computedStyle=node.ownerDocument.defaultView.getComputedStyle(node);height+=(0,_shims.int)(computedStyle.borderTopWidth);height+=(0,_shims.int)(computedStyle.borderBottomWidth);return height}function outerWidth(node){var width=node.clientWidth;var computedStyle=node.ownerDocument.defaultView.getComputedStyle(node);width+=(0,_shims.int)(computedStyle.borderLeftWidth);width+=(0,_shims.int)(computedStyle.borderRightWidth);return width}function innerHeight(node){var height=node.clientHeight;var computedStyle=node.ownerDocument.defaultView.getComputedStyle(node);height-=(0,_shims.int)(computedStyle.paddingTop);height-=(0,_shims.int)(computedStyle.paddingBottom);return height}function innerWidth(node){var width=node.clientWidth;var computedStyle=node.ownerDocument.defaultView.getComputedStyle(node);width-=(0,_shims.int)(computedStyle.paddingLeft);width-=(0,_shims.int)(computedStyle.paddingRight);return width}function offsetXYFromParent(evt,offsetParent){var isBody=offsetParent===offsetParent.ownerDocument.body;var offsetParentRect=isBody?{left:0,top:0}:offsetParent.getBoundingClientRect();var x=evt.clientX+offsetParent.scrollLeft-offsetParentRect.left;var y=evt.clientY+offsetParent.scrollTop-offsetParentRect.top;return{x:x,y:y}}function createCSSTransform(_ref){var x=_ref.x,y=_ref.y;return _defineProperty({},(0,_getPrefix.browserPrefixToKey)("transform",_getPrefix2.default),"translate("+x+"px,"+y+"px)")}function createSVGTransform(_ref3){var x=_ref3.x,y=_ref3.y;return"translate("+x+","+y+")"}function getTouch(e,identifier){return e.targetTouches&&(0,_shims.findInArray)(e.targetTouches,function(t){return identifier===t.identifier})||e.changedTouches&&(0,_shims.findInArray)(e.changedTouches,function(t){return identifier===t.identifier})}function getTouchIdentifier(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier}function addUserSelectStyles(doc){if(!doc)return;var styleEl=doc.getElementById("react-draggable-style-el");if(!styleEl){styleEl=doc.createElement("style");styleEl.type="text/css";styleEl.id="react-draggable-style-el";styleEl.innerHTML=".react-draggable-transparent-selection *::-moz-selection {background: transparent;}\n";styleEl.innerHTML+=".react-draggable-transparent-selection *::selection {background: transparent;}\n";doc.getElementsByTagName("head")[0].appendChild(styleEl)}doc.body&&addClassName(doc.body,"react-draggable-transparent-selection")}function removeUserSelectStyles(doc){try{doc&&doc.body&&removeClassName(doc.body,"react-draggable-transparent-selection");window.getSelection().removeAllRanges()}catch(e){}}function styleHacks(){var childStyle=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _extends({touchAction:"none"},childStyle)}function addClassName(el,className){el.classList?el.classList.add(className):el.className.match(new RegExp("(?:^|\\s)"+className+"(?!\\S)"))||(el.className+=" "+className)}function removeClassName(el,className){el.classList?el.classList.remove(className):el.className=el.className.replace(new RegExp("(?:^|\\s)"+className+"(?!\\S)","g"),"")}},function(module,exports){module.exports=__WEBPACK_EXTERNAL_MODULE_6__},function(module,exports,__webpack_require__){if("production"!==Object({DRAGGABLE_DEBUG:void 0}).NODE_ENV){var REACT_ELEMENT_TYPE="function"===typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;var isValidElement=function(object){return"object"===typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE};var throwOnDirectAccess=true;module.exports=__webpack_require__(14)(isValidElement,throwOnDirectAccess)}else module.exports=__webpack_require__(17)()},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(1);var warning=emptyFunction;if("production"!==Object({DRAGGABLE_DEBUG:void 0}).NODE_ENV){var printWarning=function printWarning(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var argIndex=0;var message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});"undefined"!==typeof console&&console.error(message);try{throw new Error(message)}catch(x){}};warning=function warning(condition,format){if(void 0===format)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0===format.indexOf("Failed Composite propType: "))return;if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++)args[_key2-2]=arguments[_key2];printWarning.apply(void 0,[format].concat(args))}}}module.exports=warning},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getBoundPosition=getBoundPosition;exports.snapToGrid=snapToGrid;exports.canDragX=canDragX;exports.canDragY=canDragY;exports.getControlPosition=getControlPosition;exports.createCoreData=createCoreData;exports.createDraggableData=createDraggableData;var _shims=__webpack_require__(0);var _reactDom=__webpack_require__(4);var _reactDom2=_interopRequireDefault(_reactDom);var _domFns=__webpack_require__(5);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function getBoundPosition(draggable,x,y){if(!draggable.props.bounds)return[x,y];var bounds=draggable.props.bounds;bounds="string"===typeof bounds?bounds:cloneBounds(bounds);var node=findDOMNode(draggable);if("string"===typeof bounds){var ownerDocument=node.ownerDocument;var ownerWindow=ownerDocument.defaultView;var boundNode=void 0;boundNode="parent"===bounds?node.parentNode:ownerDocument.querySelector(bounds);if(!(boundNode instanceof HTMLElement))throw new Error('Bounds selector "'+bounds+'" could not find an element.');var nodeStyle=ownerWindow.getComputedStyle(node);var boundNodeStyle=ownerWindow.getComputedStyle(boundNode);bounds={left:-node.offsetLeft+(0,_shims.int)(boundNodeStyle.paddingLeft)+(0,_shims.int)(nodeStyle.marginLeft),top:-node.offsetTop+(0,_shims.int)(boundNodeStyle.paddingTop)+(0,_shims.int)(nodeStyle.marginTop),right:(0,_domFns.innerWidth)(boundNode)-(0,_domFns.outerWidth)(node)-node.offsetLeft+(0,_shims.int)(boundNodeStyle.paddingRight)-(0,_shims.int)(nodeStyle.marginRight),bottom:(0,_domFns.innerHeight)(boundNode)-(0,_domFns.outerHeight)(node)-node.offsetTop+(0,_shims.int)(boundNodeStyle.paddingBottom)-(0,_shims.int)(nodeStyle.marginBottom)}}(0,_shims.isNum)(bounds.right)&&(x=Math.min(x,bounds.right));(0,_shims.isNum)(bounds.bottom)&&(y=Math.min(y,bounds.bottom));(0,_shims.isNum)(bounds.left)&&(x=Math.max(x,bounds.left));(0,_shims.isNum)(bounds.top)&&(y=Math.max(y,bounds.top));return[x,y]}function snapToGrid(grid,pendingX,pendingY){var x=Math.round(pendingX/grid[0])*grid[0];var y=Math.round(pendingY/grid[1])*grid[1];return[x,y]}function canDragX(draggable){return"both"===draggable.props.axis||"x"===draggable.props.axis}function canDragY(draggable){return"both"===draggable.props.axis||"y"===draggable.props.axis}function getControlPosition(e,touchIdentifier,draggableCore){var touchObj="number"===typeof touchIdentifier?(0,_domFns.getTouch)(e,touchIdentifier):null;if("number"===typeof touchIdentifier&&!touchObj)return null;var node=findDOMNode(draggableCore);var offsetParent=draggableCore.props.offsetParent||node.offsetParent||node.ownerDocument.body;return(0,_domFns.offsetXYFromParent)(touchObj||e,offsetParent)}function createCoreData(draggable,x,y){var state=draggable.state;var isStart=!(0,_shims.isNum)(state.lastX);var node=findDOMNode(draggable);return isStart?{node:node,deltaX:0,deltaY:0,lastX:x,lastY:y,x:x,y:y}:{node:node,deltaX:x-state.lastX,deltaY:y-state.lastY,lastX:state.lastX,lastY:state.lastY,x:x,y:y}}function createDraggableData(draggable,coreData){return{node:coreData.node,x:draggable.state.x+coreData.deltaX,y:draggable.state.y+coreData.deltaY,deltaX:coreData.deltaX,deltaY:coreData.deltaY,lastX:draggable.state.x,lastY:draggable.state.y}}function cloneBounds(bounds){return{left:bounds.left,top:bounds.top,right:bounds.right,bottom:bounds.bottom}}function findDOMNode(draggable){var node=_reactDom2.default.findDOMNode(draggable);if(!node)throw new Error("<DraggableCore>: Unmounted during event!");return node}},function(module,exports,__webpack_require__){"use strict";(function(process){Object.defineProperty(exports,"__esModule",{value:true});var _slicedToArray=function(){function sliceIterator(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{!_n&&_i["return"]&&_i["return"]()}finally{if(_d)throw _e}}return _arr}return function(arr,i){if(Array.isArray(arr))return arr;if(Symbol.iterator in Object(arr))return sliceIterator(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(6);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(7);var _propTypes2=_interopRequireDefault(_propTypes);var _reactDom=__webpack_require__(4);var _reactDom2=_interopRequireDefault(_reactDom);var _domFns=__webpack_require__(5);var _positionFns=__webpack_require__(9);var _shims=__webpack_require__(0);var _log=__webpack_require__(11);var _log2=_interopRequireDefault(_log);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var eventsFor={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};var dragEventFor=eventsFor.mouse;var DraggableCore=function(_React$Component){_inherits(DraggableCore,_React$Component);function DraggableCore(){var _ref;var _temp,_this,_ret;_classCallCheck(this,DraggableCore);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=DraggableCore.__proto__||Object.getPrototypeOf(DraggableCore)).call.apply(_ref,[this].concat(args))),_this),_this.state={dragging:false,lastX:NaN,lastY:NaN,touchIdentifier:null},_this.handleDragStart=function(e){_this.props.onMouseDown(e);if(!_this.props.allowAnyClick&&"number"===typeof e.button&&0!==e.button)return false;var thisNode=_reactDom2.default.findDOMNode(_this);if(!thisNode||!thisNode.ownerDocument||!thisNode.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");var ownerDocument=thisNode.ownerDocument;if(_this.props.disabled||!(e.target instanceof ownerDocument.defaultView.Node)||_this.props.handle&&!(0,_domFns.matchesSelectorAndParentsTo)(e.target,_this.props.handle,thisNode)||_this.props.cancel&&(0,_domFns.matchesSelectorAndParentsTo)(e.target,_this.props.cancel,thisNode))return;var touchIdentifier=(0,_domFns.getTouchIdentifier)(e);_this.setState({touchIdentifier:touchIdentifier});var position=(0,_positionFns.getControlPosition)(e,touchIdentifier,_this);if(null==position)return;var x=position.x,y=position.y;var coreEvent=(0,_positionFns.createCoreData)(_this,x,y);(0,_log2.default)("DraggableCore: handleDragStart: %j",coreEvent);(0,_log2.default)("calling",_this.props.onStart);var shouldUpdate=_this.props.onStart(e,coreEvent);if(false===shouldUpdate)return;_this.props.enableUserSelectHack&&(0,_domFns.addUserSelectStyles)(ownerDocument);_this.setState({dragging:true,lastX:x,lastY:y});(0,_domFns.addEvent)(ownerDocument,dragEventFor.move,_this.handleDrag);(0,_domFns.addEvent)(ownerDocument,dragEventFor.stop,_this.handleDragStop)},_this.handleDrag=function(e){"touchmove"===e.type&&e.preventDefault();var position=(0,_positionFns.getControlPosition)(e,_this.state.touchIdentifier,_this);if(null==position)return;var x=position.x,y=position.y;if(Array.isArray(_this.props.grid)){var _deltaX=x-_this.state.lastX,_deltaY=y-_this.state.lastY;var _snapToGrid=(0,_positionFns.snapToGrid)(_this.props.grid,_deltaX,_deltaY);var _snapToGrid2=_slicedToArray(_snapToGrid,2);_deltaX=_snapToGrid2[0];_deltaY=_snapToGrid2[1];if(!_deltaX&&!_deltaY)return;x=_this.state.lastX+_deltaX,y=_this.state.lastY+_deltaY}var coreEvent=(0,_positionFns.createCoreData)(_this,x,y);(0,_log2.default)("DraggableCore: handleDrag: %j",coreEvent);var shouldUpdate=_this.props.onDrag(e,coreEvent);if(false===shouldUpdate){try{_this.handleDragStop(new MouseEvent("mouseup"))}catch(err){var event=document.createEvent("MouseEvents");event.initMouseEvent("mouseup",true,true,window,0,0,0,0,0,false,false,false,false,0,null);_this.handleDragStop(event)}return}_this.setState({lastX:x,lastY:y})},_this.handleDragStop=function(e){if(!_this.state.dragging)return;var position=(0,_positionFns.getControlPosition)(e,_this.state.touchIdentifier,_this);if(null==position)return;var x=position.x,y=position.y;var coreEvent=(0,_positionFns.createCoreData)(_this,x,y);var thisNode=_reactDom2.default.findDOMNode(_this);thisNode&&_this.props.enableUserSelectHack&&(0,_domFns.removeUserSelectStyles)(thisNode.ownerDocument);(0,_log2.default)("DraggableCore: handleDragStop: %j",coreEvent);_this.setState({dragging:false,lastX:NaN,lastY:NaN});_this.props.onStop(e,coreEvent);if(thisNode){(0,_log2.default)("DraggableCore: Removing handlers");(0,_domFns.removeEvent)(thisNode.ownerDocument,dragEventFor.move,_this.handleDrag);(0,_domFns.removeEvent)(thisNode.ownerDocument,dragEventFor.stop,_this.handleDragStop)}},_this.onMouseDown=function(e){dragEventFor=eventsFor.mouse;return _this.handleDragStart(e)},_this.onMouseUp=function(e){dragEventFor=eventsFor.mouse;return _this.handleDragStop(e)},_this.onTouchStart=function(e){dragEventFor=eventsFor.touch;return _this.handleDragStart(e)},_this.onTouchEnd=function(e){dragEventFor=eventsFor.touch;return _this.handleDragStop(e)},_temp),_possibleConstructorReturn(_this,_ret)}_createClass(DraggableCore,[{key:"componentWillUnmount",value:function componentWillUnmount(){var thisNode=_reactDom2.default.findDOMNode(this);if(thisNode){var ownerDocument=thisNode.ownerDocument;(0,_domFns.removeEvent)(ownerDocument,eventsFor.mouse.move,this.handleDrag);(0,_domFns.removeEvent)(ownerDocument,eventsFor.touch.move,this.handleDrag);(0,_domFns.removeEvent)(ownerDocument,eventsFor.mouse.stop,this.handleDragStop);(0,_domFns.removeEvent)(ownerDocument,eventsFor.touch.stop,this.handleDragStop);this.props.enableUserSelectHack&&(0,_domFns.removeUserSelectStyles)(ownerDocument)}}},{key:"render",value:function render(){return _react2.default.cloneElement(_react2.default.Children.only(this.props.children),{style:(0,_domFns.styleHacks)(this.props.children.props.style),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]);return DraggableCore}(_react2.default.Component);DraggableCore.displayName="DraggableCore";DraggableCore.propTypes={allowAnyClick:_propTypes2.default.bool,disabled:_propTypes2.default.bool,enableUserSelectHack:_propTypes2.default.bool,offsetParent:function offsetParent(props,propName){if(true===process.browser&&props[propName]&&1!==props[propName].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:_propTypes2.default.arrayOf(_propTypes2.default.number),handle:_propTypes2.default.string,cancel:_propTypes2.default.string,onStart:_propTypes2.default.func,onDrag:_propTypes2.default.func,onStop:_propTypes2.default.func,onMouseDown:_propTypes2.default.func,className:_shims.dontSetMe,style:_shims.dontSetMe,transform:_shims.dontSetMe};DraggableCore.defaultProps={allowAnyClick:false,cancel:null,disabled:false,enableUserSelectHack:true,offsetParent:null,handle:null,grid:null,transform:null,onStart:function onStart(){},onDrag:function onDrag(){},onStop:function onStop(){},onMouseDown:function onMouseDown(){}};exports.default=DraggableCore}).call(exports,__webpack_require__(20))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=log;function log(){void 0}},function(module,exports,__webpack_require__){"use strict";var Draggable=__webpack_require__(13).default;module.exports=Draggable;module.exports.default=Draggable;module.exports.DraggableCore=__webpack_require__(10).default},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _slicedToArray=function(){function sliceIterator(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{!_n&&_i["return"]&&_i["return"]()}finally{if(_d)throw _e}}return _arr}return function(arr,i){if(Array.isArray(arr))return arr;if(Symbol.iterator in Object(arr))return sliceIterator(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(6);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(7);var _propTypes2=_interopRequireDefault(_propTypes);var _reactDom=__webpack_require__(4);var _reactDom2=_interopRequireDefault(_reactDom);var _classnames=__webpack_require__(18);var _classnames2=_interopRequireDefault(_classnames);var _domFns=__webpack_require__(5);var _positionFns=__webpack_require__(9);var _shims=__webpack_require__(0);var _DraggableCore=__webpack_require__(10);var _DraggableCore2=_interopRequireDefault(_DraggableCore);var _log=__webpack_require__(11);var _log2=_interopRequireDefault(_log);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var Draggable=function(_React$Component){_inherits(Draggable,_React$Component);function Draggable(props){_classCallCheck(this,Draggable);var _this=_possibleConstructorReturn(this,(Draggable.__proto__||Object.getPrototypeOf(Draggable)).call(this,props));_this.onDragStart=function(e,coreData){(0,_log2.default)("Draggable: onDragStart: %j",coreData);var shouldStart=_this.props.onStart(e,(0,_positionFns.createDraggableData)(_this,coreData));if(false===shouldStart)return false;_this.setState({dragging:true,dragged:true})};_this.onDrag=function(e,coreData){if(!_this.state.dragging)return false;(0,_log2.default)("Draggable: onDrag: %j",coreData);var uiData=(0,_positionFns.createDraggableData)(_this,coreData);var newState={x:uiData.x,y:uiData.y};if(_this.props.bounds){var _x=newState.x,_y=newState.y;newState.x+=_this.state.slackX;newState.y+=_this.state.slackY;var _getBoundPosition=(0,_positionFns.getBoundPosition)(_this,newState.x,newState.y),_getBoundPosition2=_slicedToArray(_getBoundPosition,2),newStateX=_getBoundPosition2[0],newStateY=_getBoundPosition2[1];newState.x=newStateX;newState.y=newStateY;newState.slackX=_this.state.slackX+(_x-newState.x);newState.slackY=_this.state.slackY+(_y-newState.y);uiData.x=newState.x;uiData.y=newState.y;uiData.deltaX=newState.x-_this.state.x;uiData.deltaY=newState.y-_this.state.y}var shouldUpdate=_this.props.onDrag(e,uiData);if(false===shouldUpdate)return false;_this.setState(newState)};_this.onDragStop=function(e,coreData){if(!_this.state.dragging)return false;var shouldStop=_this.props.onStop(e,(0,_positionFns.createDraggableData)(_this,coreData));if(false===shouldStop)return false;(0,_log2.default)("Draggable: onDragStop: %j",coreData);var newState={dragging:false,slackX:0,slackY:0};var controlled=Boolean(_this.props.position);if(controlled){var _this$props$position=_this.props.position,_x2=_this$props$position.x,_y2=_this$props$position.y;newState.x=_x2;newState.y=_y2}_this.setState(newState)};_this.state={dragging:false,dragged:false,x:props.position?props.position.x:props.defaultPosition.x,y:props.position?props.position.y:props.defaultPosition.y,slackX:0,slackY:0,isElementSVG:false};return _this}_createClass(Draggable,[{key:"componentWillMount",value:function componentWillMount(){this.props.position&&!(this.props.onDrag||this.props.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}},{key:"componentDidMount",value:function componentDidMount(){"undefined"!==typeof window.SVGElement&&_reactDom2.default.findDOMNode(this)instanceof window.SVGElement&&this.setState({isElementSVG:true})}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){!nextProps.position||this.props.position&&nextProps.position.x===this.props.position.x&&nextProps.position.y===this.props.position.y||this.setState({x:nextProps.position.x,y:nextProps.position.y})}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.setState({dragging:false})}},{key:"render",value:function render(){var _classNames;var style={},svgTransform=null;var controlled=Boolean(this.props.position);var draggable=!controlled||this.state.dragging;var position=this.props.position||this.props.defaultPosition;var transformOpts={x:(0,_positionFns.canDragX)(this)&&draggable?this.state.x:position.x,y:(0,_positionFns.canDragY)(this)&&draggable?this.state.y:position.y};this.state.isElementSVG?svgTransform=(0,_domFns.createSVGTransform)(transformOpts):style=(0,_domFns.createCSSTransform)(transformOpts);var _props=this.props,defaultClassName=_props.defaultClassName,defaultClassNameDragging=_props.defaultClassNameDragging,defaultClassNameDragged=_props.defaultClassNameDragged;var children=_react2.default.Children.only(this.props.children);var className=(0,_classnames2.default)(children.props.className||"",defaultClassName,(_classNames={},_defineProperty(_classNames,defaultClassNameDragging,this.state.dragging),_defineProperty(_classNames,defaultClassNameDragged,this.state.dragged),_classNames));return _react2.default.createElement(_DraggableCore2.default,_extends({},this.props,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),_react2.default.cloneElement(children,{className:className,style:_extends({},children.props.style,style),transform:svgTransform}))}}]);return Draggable}(_react2.default.Component);Draggable.displayName="Draggable";Draggable.propTypes=_extends({},_DraggableCore2.default.propTypes,{axis:_propTypes2.default.oneOf(["both","x","y","none"]),bounds:_propTypes2.default.oneOfType([_propTypes2.default.shape({left:_propTypes2.default.number,right:_propTypes2.default.number,top:_propTypes2.default.number,bottom:_propTypes2.default.number}),_propTypes2.default.string,_propTypes2.default.oneOf([false])]),defaultClassName:_propTypes2.default.string,defaultClassNameDragging:_propTypes2.default.string,defaultClassNameDragged:_propTypes2.default.string,defaultPosition:_propTypes2.default.shape({x:_propTypes2.default.number,y:_propTypes2.default.number}),position:_propTypes2.default.shape({x:_propTypes2.default.number,y:_propTypes2.default.number}),className:_shims.dontSetMe,style:_shims.dontSetMe,transform:_shims.dontSetMe});Draggable.defaultProps=_extends({},_DraggableCore2.default.defaultProps,{axis:"both",bounds:false,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},position:null});exports.default=Draggable},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(1);var invariant=__webpack_require__(2);var warning=__webpack_require__(8);var assign=__webpack_require__(15);var ReactPropTypesSecret=__webpack_require__(3);var checkPropTypes=__webpack_require__(16);module.exports=function(isValidElement,throwOnDirectAccess){var ITERATOR_SYMBOL="function"===typeof Symbol&&Symbol.iterator;var FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){var iteratorFn=maybeIterable&&(ITERATOR_SYMBOL&&maybeIterable[ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL]);if("function"===typeof iteratorFn)return iteratorFn}var ANONYMOUS="<<anonymous>>";var ReactPropTypes={array:createPrimitiveTypeChecker("array"),bool:createPrimitiveTypeChecker("boolean"),func:createPrimitiveTypeChecker("function"),number:createPrimitiveTypeChecker("number"),object:createPrimitiveTypeChecker("object"),string:createPrimitiveTypeChecker("string"),symbol:createPrimitiveTypeChecker("symbol"),any:createAnyTypeChecker(),arrayOf:createArrayOfTypeChecker,element:createElementTypeChecker(),instanceOf:createInstanceTypeChecker,node:createNodeChecker(),objectOf:createObjectOfTypeChecker,oneOf:createEnumTypeChecker,oneOfType:createUnionTypeChecker,shape:createShapeTypeChecker,exact:createStrictShapeTypeChecker};function is(x,y){return x===y?0!==x||1/x===1/y:x!==x&&y!==y}function PropTypeError(message){this.message=message;this.stack=""}PropTypeError.prototype=Error.prototype;function createChainableTypeChecker(validate){if("production"!==Object({DRAGGABLE_DEBUG:void 0}).NODE_ENV){var manualPropTypeCallCache={};var manualPropTypeWarningCount=0}function checkType(isRequired,props,propName,componentName,location,propFullName,secret){componentName=componentName||ANONYMOUS;propFullName=propFullName||propName;if(secret!==ReactPropTypesSecret)if(throwOnDirectAccess)invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==Object({DRAGGABLE_DEBUG:void 0}).NODE_ENV&&"undefined"!==typeof console){var cacheKey=componentName+":"+propName;if(!manualPropTypeCallCache[cacheKey]&&manualPropTypeWarningCount<3){warning(false,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",propFullName,componentName);manualPropTypeCallCache[cacheKey]=true;manualPropTypeWarningCount++}}if(null==props[propName]){if(isRequired){if(null===props[propName])return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required in `"+componentName+"`, but its value is `null`.");return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required in `"+componentName+"`, but its value is `undefined`.")}return null}return validate(props,propName,componentName,location,propFullName)}var chainedCheckType=checkType.bind(null,false);chainedCheckType.isRequired=checkType.bind(null,true);return chainedCheckType}function createPrimitiveTypeChecker(expectedType){function validate(props,propName,componentName,location,propFullName,secret){var propValue=props[propName];var propType=getPropType(propValue);if(propType!==expectedType){var preciseType=getPreciseType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+preciseType+"` supplied to `"+componentName+"`, expected `"+expectedType+"`.")}return null}return createChainableTypeChecker(validate)}function createAnyTypeChecker(){return createChainableTypeChecker(emptyFunction.thatReturnsNull)}function createArrayOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if("function"!==typeof typeChecker)return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside arrayOf.");var propValue=props[propName];if(!Array.isArray(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` supplied to `"+componentName+"`, expected an array.")}for(var i=0;i<propValue.length;i++){var error=typeChecker(propValue,i,componentName,location,propFullName+"["+i+"]",ReactPropTypesSecret);if(error instanceof Error)return error}return null}return createChainableTypeChecker(validate)}function createElementTypeChecker(){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];if(!isValidElement(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` supplied to `"+componentName+"`, expected a single ReactElement.")}return null}return createChainableTypeChecker(validate)}function createInstanceTypeChecker(expectedClass){function validate(props,propName,componentName,location,propFullName){if(!(props[propName]instanceof expectedClass)){var expectedClassName=expectedClass.name||ANONYMOUS;var actualClassName=getClassName(props[propName]);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+actualClassName+"` supplied to `"+componentName+"`, expected instance of `"+expectedClassName+"`.")}return null}return createChainableTypeChecker(validate)}function createEnumTypeChecker(expectedValues){if(!Array.isArray(expectedValues)){"production"!==Object({DRAGGABLE_DEBUG:void 0}).NODE_ENV?warning(false,"Invalid argument supplied to oneOf, expected an instance of array."):void 0;return emptyFunction.thatReturnsNull}function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];for(var i=0;i<expectedValues.length;i++)if(is(propValue,expectedValues[i]))return null;var valuesString=JSON.stringify(expectedValues);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of value `"+propValue+"` supplied to `"+componentName+"`, expected one of "+valuesString+".")}return createChainableTypeChecker(validate)}function createObjectOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if("function"!==typeof typeChecker)return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside objectOf.");var propValue=props[propName];var propType=getPropType(propValue);if("object"!==propType)return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` supplied to `"+componentName+"`, expected an object.");for(var key in propValue)if(propValue.hasOwnProperty(key)){var error=typeChecker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret);if(error instanceof Error)return error}return null}return createChainableTypeChecker(validate)}function createUnionTypeChecker(arrayOfTypeCheckers){if(!Array.isArray(arrayOfTypeCheckers)){"production"!==Object({DRAGGABLE_DEBUG:void 0}).NODE_ENV?warning(false,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0;return emptyFunction.thatReturnsNull}for(var i=0;i<arrayOfTypeCheckers.length;i++){var checker=arrayOfTypeCheckers[i];if("function"!==typeof checker){warning(false,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",getPostfixForTypeWarning(checker),i);return emptyFunction.thatReturnsNull}}function validate(props,propName,componentName,location,propFullName){for(var i=0;i<arrayOfTypeCheckers.length;i++){var checker=arrayOfTypeCheckers[i];if(null==checker(props,propName,componentName,location,propFullName,ReactPropTypesSecret))return null}return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to `"+componentName+"`.")}return createChainableTypeChecker(validate)}function createNodeChecker(){function validate(props,propName,componentName,location,propFullName){if(!isNode(props[propName]))return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to `"+componentName+"`, expected a ReactNode.");return null}return createChainableTypeChecker(validate)}function createShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if("object"!==propType)return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` supplied to `"+componentName+"`, expected `object`.");for(var key in shapeTypes){var checker=shapeTypes[key];if(!checker)continue;var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret);if(error)return error}return null}return createChainableTypeChecker(validate)}function createStrictShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if("object"!==propType)return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` supplied to `"+componentName+"`, expected `object`.");var allKeys=assign({},props[propName],shapeTypes);for(var key in allKeys){var checker=shapeTypes[key];if(!checker)return new PropTypeError("Invalid "+location+" `"+propFullName+"` key `"+key+"` supplied to `"+componentName+"`.\nBad object: "+JSON.stringify(props[propName],null,"  ")+"\nValid keys: "+JSON.stringify(Object.keys(shapeTypes),null,"  "));var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret);if(error)return error}return null}return createChainableTypeChecker(validate)}function isNode(propValue){switch(typeof propValue){case"number":case"string":case"undefined":return true;case"boolean":return!propValue;case"object":if(Array.isArray(propValue))return propValue.every(isNode);if(null===propValue||isValidElement(propValue))return true;var iteratorFn=getIteratorFn(propValue);if(!iteratorFn)return false;var iterator=iteratorFn.call(propValue);var step;if(iteratorFn!==propValue.entries){while(!(step=iterator.next()).done)if(!isNode(step.value))return false}else while(!(step=iterator.next()).done){var entry=step.value;if(entry&&!isNode(entry[1]))return false}return true;default:return false}}function isSymbol(propType,propValue){if("symbol"===propType)return true;if("Symbol"===propValue["@@toStringTag"])return true;if("function"===typeof Symbol&&propValue instanceof Symbol)return true;return false}function getPropType(propValue){var propType=typeof propValue;if(Array.isArray(propValue))return"array";if(propValue instanceof RegExp)return"object";if(isSymbol(propType,propValue))return"symbol";return propType}function getPreciseType(propValue){if("undefined"===typeof propValue||null===propValue)return""+propValue;var propType=getPropType(propValue);if("object"===propType){if(propValue instanceof Date)return"date";if(propValue instanceof RegExp)return"regexp"}return propType}function getPostfixForTypeWarning(value){var type=getPreciseType(value);switch(type){case"array":case"object":return"an "+type;case"boolean":case"date":case"regexp":return"a "+type;default:return type}}function getClassName(propValue){if(!propValue.constructor||!propValue.constructor.name)return ANONYMOUS;return propValue.constructor.name}ReactPropTypes.checkPropTypes=checkPropTypes;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var getOwnPropertySymbols=Object.getOwnPropertySymbols;var hasOwnProperty=Object.prototype.hasOwnProperty;var propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(null===val||void 0===val)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}function shouldUseNative(){try{if(!Object.assign)return false;var test1=new String("abc");test1[5]="de";if("5"===Object.getOwnPropertyNames(test1)[0])return false;var test2={};for(var i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;var order2=Object.getOwnPropertyNames(test2).map(function(n){return test2[n]});if("0123456789"!==order2.join(""))return false;var test3={};"abcdefghijklmnopqrst".split("").forEach(function(letter){test3[letter]=letter});if("abcdefghijklmnopqrst"!==Object.keys(Object.assign({},test3)).join(""))return false;return true}catch(err){return false}}module.exports=shouldUseNative()?Object.assign:function(target,source){var from;var to=toObject(target);var symbols;for(var s=1;s<arguments.length;s++){from=Object(arguments[s]);for(var key in from)hasOwnProperty.call(from,key)&&(to[key]=from[key]);if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from);for(var i=0;i<symbols.length;i++)propIsEnumerable.call(from,symbols[i])&&(to[symbols[i]]=from[symbols[i]])}}return to}},function(module,exports,__webpack_require__){"use strict";if("production"!==Object({DRAGGABLE_DEBUG:void 0}).NODE_ENV){var invariant=__webpack_require__(2);var warning=__webpack_require__(8);var ReactPropTypesSecret=__webpack_require__(3);var loggedTypeFailures={}}function checkPropTypes(typeSpecs,values,location,componentName,getStack){if("production"!==Object({DRAGGABLE_DEBUG:void 0}).NODE_ENV)for(var typeSpecName in typeSpecs)if(typeSpecs.hasOwnProperty(typeSpecName)){var error;try{invariant("function"===typeof typeSpecs[typeSpecName],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",componentName||"React class",location,typeSpecName,typeof typeSpecs[typeSpecName]);error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret)}catch(ex){error=ex}warning(!error||error instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",componentName||"React class",location,typeSpecName,typeof error);if(error instanceof Error&&!(error.message in loggedTypeFailures)){loggedTypeFailures[error.message]=true;var stack=getStack?getStack():"";warning(false,"Failed %s type: %s%s",location,error.message,null!=stack?stack:"")}}}module.exports=checkPropTypes},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(1);var invariant=__webpack_require__(2);var ReactPropTypesSecret=__webpack_require__(3);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;
/*!
  Copyright (c) 2016 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
/*!
  Copyright (c) 2016 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){var classes=[];for(var i=0;i<arguments.length;i++){var arg=arguments[i];if(!arg)continue;var argType=typeof arg;if("string"===argType||"number"===argType)classes.push(arg);else if(Array.isArray(arg))classes.push(classNames.apply(null,arg));else if("object"===argType)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key)}return classes.join(" ")}if("undefined"!==typeof module&&module.exports)module.exports=classNames;else{true;!(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}})()},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getPrefix=getPrefix;exports.browserPrefixToKey=browserPrefixToKey;exports.browserPrefixToStyle=browserPrefixToStyle;var prefixes=["Moz","Webkit","O","ms"];function getPrefix(){var prop=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"===typeof window||"undefined"===typeof window.document)return"";var style=window.document.documentElement.style;if(prop in style)return"";for(var i=0;i<prefixes.length;i++)if(browserPrefixToKey(prop,prefixes[i])in style)return prefixes[i];return""}function browserPrefixToKey(prop,prefix){return prefix?""+prefix+kebabToTitleCase(prop):prop}function browserPrefixToStyle(prop,prefix){return prefix?"-"+prefix.toLowerCase()+"-"+prop:prop}function kebabToTitleCase(str){var out="";var shouldCapitalize=true;for(var i=0;i<str.length;i++)if(shouldCapitalize){out+=str[i].toUpperCase();shouldCapitalize=false}else"-"===str[i]?shouldCapitalize=true:out+=str[i];return out}exports.default=getPrefix()},function(module,exports){var process=module.exports={};var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{cachedSetTimeout="function"===typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"===typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0)}try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker)}try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue)return;draining=false;currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1;queue.length&&drainQueue()}function drainQueue(){if(draining)return;var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1;len=queue.length}currentQueue=null;draining=false;runClearTimeout(timeout)}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args));1!==queue.length||draining||runTimeout(drainQueue)};function Item(fun,array){this.fun=fun;this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process.title="browser";process.browser=true;process.env={};process.argv=[];process.version="";process.versions={};function noop(){}process.on=noop;process.addListener=noop;process.once=noop;process.off=noop;process.removeListener=noop;process.removeAllListeners=noop;process.emit=noop;process.prependListener=noop;process.prependOnceListener=noop;process.listeners=function(name){return[]};process.binding=function(name){throw new Error("process.binding is not supported")};process.cwd=function(){return"/"};process.chdir=function(dir){throw new Error("process.chdir is not supported")};process.umask=function(){return 0}}])})},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(915);var _propTypes2=_interopRequireDefault(_propTypes);var _reactDraggable=__webpack_require__(913);var _cloneElement=__webpack_require__(2438);var _cloneElement2=_interopRequireDefault(_cloneElement);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var Resizable=function(_React$Component){_inherits(Resizable,_React$Component);function Resizable(){var _temp,_this,_ret;_classCallCheck(this,Resizable);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.state={resizing:false,width:_this.props.width,height:_this.props.height,slackW:0,slackH:0},_temp),_possibleConstructorReturn(_this,_ret)}Resizable.prototype.componentWillReceiveProps=function componentWillReceiveProps(nextProps){this.state.resizing||nextProps.width===this.props.width&&nextProps.height===this.props.height||this.setState({width:nextProps.width,height:nextProps.height})};Resizable.prototype.lockAspectRatio=function lockAspectRatio(width,height,aspectRatio){height=width/aspectRatio;width=height*aspectRatio;return[width,height]};Resizable.prototype.runConstraints=function runConstraints(width,height){var _ref=[this.props.minConstraints,this.props.maxConstraints],min=_ref[0],max=_ref[1];if(this.props.lockAspectRatio){var ratio=this.state.width/this.state.height;height=width/ratio;width=height*ratio}if(!min&&!max)return[width,height];var oldW=width,oldH=height;var _state=this.state,slackW=_state.slackW,slackH=_state.slackH;width+=slackW;height+=slackH;if(min){width=Math.max(min[0],width);height=Math.max(min[1],height)}if(max){width=Math.min(max[0],width);height=Math.min(max[1],height)}slackW+=oldW-width;slackH+=oldH-height;slackW===this.state.slackW&&slackH===this.state.slackH||this.setState({slackW:slackW,slackH:slackH});return[width,height]};Resizable.prototype.resizeHandler=function resizeHandler(handlerName){var _this2=this;return function(e,_ref2){var node=_ref2.node,deltaX=_ref2.deltaX,deltaY=_ref2.deltaY;var canDragX="both"===_this2.props.axis||"x"===_this2.props.axis;var canDragY="both"===_this2.props.axis||"y"===_this2.props.axis;var width=_this2.state.width+(canDragX?deltaX:0);var height=_this2.state.height+(canDragY?deltaY:0);var widthChanged=width!==_this2.state.width,heightChanged=height!==_this2.state.height;if("onResize"===handlerName&&!widthChanged&&!heightChanged)return;var _runConstraints=_this2.runConstraints(width,height);width=_runConstraints[0];height=_runConstraints[1];var newState={};if("onResizeStart"===handlerName)newState.resizing=true;else if("onResizeStop"===handlerName){newState.resizing=false;newState.slackW=newState.slackH=0}else{if(width===_this2.state.width&&height===_this2.state.height)return;newState.width=width;newState.height=height}var hasCb="function"===typeof _this2.props[handlerName];if(hasCb){"function"===typeof e.persist&&e.persist();_this2.setState(newState,function(){return _this2.props[handlerName](e,{node:node,size:{width:width,height:height}})})}else _this2.setState(newState)}};Resizable.prototype.render=function render(){var _props=this.props,children=_props.children,draggableOpts=_props.draggableOpts,p=(_props.width,_props.height,_props.handleSize,_props.lockAspectRatio,_props.axis,_props.minConstraints,_props.maxConstraints,_props.onResize,_props.onResizeStop,_props.onResizeStart,_objectWithoutProperties(_props,["children","draggableOpts","width","height","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart"]));var className=p.className?p.className+" react-resizable":"react-resizable";return(0,_cloneElement2.default)(children,_extends({},p,{className:className,children:[children.props.children,_react2.default.createElement(_reactDraggable.DraggableCore,_extends({},draggableOpts,{key:"resizableHandle",onStop:this.resizeHandler("onResizeStop"),onStart:this.resizeHandler("onResizeStart"),onDrag:this.resizeHandler("onResize")}),_react2.default.createElement("span",{className:"react-resizable-handle"}))]}))};return Resizable}(_react2.default.Component);Resizable.propTypes={children:_propTypes2.default.element.isRequired,width:_propTypes2.default.number.isRequired,height:_propTypes2.default.number.isRequired,handleSize:_propTypes2.default.array,lockAspectRatio:_propTypes2.default.bool,axis:_propTypes2.default.oneOf(["both","x","y","none"]),minConstraints:_propTypes2.default.arrayOf(_propTypes2.default.number),maxConstraints:_propTypes2.default.arrayOf(_propTypes2.default.number),onResizeStop:_propTypes2.default.func,onResizeStart:_propTypes2.default.func,onResize:_propTypes2.default.func,draggableOpts:_propTypes2.default.object};Resizable.defaultProps={handleSize:[20,20],lockAspectRatio:false,axis:"both",minConstraints:[20,20],maxConstraints:[Infinity,Infinity]};exports.default=Resizable},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(2436)()},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.getBreakpointFromWidth=getBreakpointFromWidth;exports.getColsFromBreakpoint=getColsFromBreakpoint;exports.findOrGenerateResponsiveLayout=findOrGenerateResponsiveLayout;exports.sortBreakpoints=sortBreakpoints;var _utils=__webpack_require__(260);function getBreakpointFromWidth(breakpoints,width){var sorted=sortBreakpoints(breakpoints);var matching=sorted[0];for(var i=1,len=sorted.length;i<len;i++){var breakpointName=sorted[i];width>breakpoints[breakpointName]&&(matching=breakpointName)}return matching}function getColsFromBreakpoint(breakpoint,cols){if(!cols[breakpoint])throw new Error("ResponsiveReactGridLayout: `cols` entry for breakpoint "+breakpoint+" is missing!");return cols[breakpoint]}function findOrGenerateResponsiveLayout(layouts,breakpoints,breakpoint,lastBreakpoint,cols,compactType){if(layouts[breakpoint])return(0,_utils.cloneLayout)(layouts[breakpoint]);var layout=layouts[lastBreakpoint];var breakpointsSorted=sortBreakpoints(breakpoints);var breakpointsAbove=breakpointsSorted.slice(breakpointsSorted.indexOf(breakpoint));for(var i=0,len=breakpointsAbove.length;i<len;i++){var b=breakpointsAbove[i];if(layouts[b]){layout=layouts[b];break}}layout=(0,_utils.cloneLayout)(layout||[]);return(0,_utils.compact)((0,_utils.correctBounds)(layout,{cols:cols}),compactType,cols)}function sortBreakpoints(breakpoints){var keys=Object.keys(breakpoints);return keys.sort(function(a,b){return breakpoints[a]-breakpoints[b]})}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=Label;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(343);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function Label(props){var labelValue=props.formatLabel?props.formatLabel(props.children,props.type):props.children;return _react2.default.createElement("span",{className:props.classNames[props.type+"Label"]},_react2.default.createElement("span",{className:props.classNames.labelContainer},labelValue))}Label.propTypes={children:_propTypes2.default.node.isRequired,classNames:_propTypes2.default.objectOf(_propTypes2.default.string).isRequired,formatLabel:_propTypes2.default.func,type:_propTypes2.default.string.isRequired};module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";module.exports=alphabetical;function alphabetical(character){var code="string"===typeof character?character.charCodeAt(0):character;return code>=97&&code<=122||code>=65&&code<=90}},function(module,exports,__webpack_require__){"use strict";module.exports={position:true,gfm:true,commonmark:false,footnotes:false,pedantic:false,blocks:__webpack_require__(2489)}},function(module,exports,__webpack_require__){"use strict";module.exports=indentation;var characters={" ":1,"\t":4};function indentation(value){var index=0;var indent=0;var character=value.charAt(index);var stops={};var size;while(character in characters){size=characters[character];indent+=size;size>1&&(indent=Math.floor(indent/size)*size);stops[indent]=index;character=value.charAt(++index)}return{indent:indent,stops:stops}}},function(module,exports,__webpack_require__){"use strict";var attributeName="[a-zA-Z_:][a-zA-Z0-9:._-]*";var unquoted="[^\"'=<>`\\u0000-\\u0020]+";var singleQuoted="'[^']*'";var doubleQuoted='"[^"]*"';var attributeValue="(?:"+unquoted+"|"+singleQuoted+"|"+doubleQuoted+")";var attribute="(?:\\s+"+attributeName+"(?:\\s*=\\s*"+attributeValue+")?)";var openTag="<[A-Za-z][A-Za-z0-9\\-]*"+attribute+"*\\s*\\/?>";var closeTag="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";var comment="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e";var processing="<[?].*?[?]>";var declaration="<![A-Za-z]+\\s+[^>]*>";var cdata="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";exports.openCloseTag=new RegExp("^(?:"+openTag+"|"+closeTag+")");exports.tag=new RegExp("^(?:"+openTag+"|"+closeTag+"|"+comment+"|"+processing+"|"+declaration+"|"+cdata+")")},function(module,exports,__webpack_require__){"use strict";module.exports=locate;function locate(value,fromIndex){return value.indexOf("<",fromIndex)}},function(module,exports,__webpack_require__){"use strict";module.exports=locate;function locate(value,fromIndex){var link=value.indexOf("[",fromIndex);var image=value.indexOf("![",fromIndex);if(-1===image)return link;return link<image?link:image}},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(2540)()},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.storeShape=exports.subscriptionShape=void 0;var _propTypes=__webpack_require__(924);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.subscriptionShape=_propTypes2.default.shape({trySubscribe:_propTypes2.default.func.isRequired,tryUnsubscribe:_propTypes2.default.func.isRequired,notifyNestedSubs:_propTypes2.default.func.isRequired,isSubscribed:_propTypes2.default.func.isRequired});exports.storeShape=_propTypes2.default.shape({subscribe:_propTypes2.default.func.isRequired,dispatch:_propTypes2.default.func.isRequired,getState:_propTypes2.default.func.isRequired})},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.default=connectAdvanced;var _hoistNonReactStatics=__webpack_require__(460);var _hoistNonReactStatics2=_interopRequireDefault(_hoistNonReactStatics);var _invariant=__webpack_require__(123);var _invariant2=_interopRequireDefault(_invariant);var _react=__webpack_require__(0);var _Subscription=__webpack_require__(2542);var _Subscription2=_interopRequireDefault(_Subscription);var _PropTypes=__webpack_require__(925);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var hotReloadingVersion=0;var dummyState={};function noop(){}function makeSelectorStateful(sourceSelector,store){var selector={run:function runComponentSelector(props){try{var nextProps=sourceSelector(store.getState(),props);if(nextProps!==selector.props||selector.error){selector.shouldComponentUpdate=true;selector.props=nextProps;selector.error=null}}catch(error){selector.shouldComponentUpdate=true;selector.error=error}}};return selector}function connectAdvanced(selectorFactory){var _contextTypes,_childContextTypes;var _ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref$getDisplayName=_ref.getDisplayName,getDisplayName=void 0===_ref$getDisplayName?function(name){return"ConnectAdvanced("+name+")"}:_ref$getDisplayName,_ref$methodName=_ref.methodName,methodName=void 0===_ref$methodName?"connectAdvanced":_ref$methodName,_ref$renderCountProp=_ref.renderCountProp,renderCountProp=void 0===_ref$renderCountProp?void 0:_ref$renderCountProp,_ref$shouldHandleStat=_ref.shouldHandleStateChanges,shouldHandleStateChanges=void 0===_ref$shouldHandleStat||_ref$shouldHandleStat,_ref$storeKey=_ref.storeKey,storeKey=void 0===_ref$storeKey?"store":_ref$storeKey,_ref$withRef=_ref.withRef,withRef=void 0!==_ref$withRef&&_ref$withRef,connectOptions=_objectWithoutProperties(_ref,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]);var subscriptionKey=storeKey+"Subscription";var version=hotReloadingVersion++;var contextTypes=(_contextTypes={},_contextTypes[storeKey]=_PropTypes.storeShape,_contextTypes[subscriptionKey]=_PropTypes.subscriptionShape,_contextTypes);var childContextTypes=(_childContextTypes={},_childContextTypes[subscriptionKey]=_PropTypes.subscriptionShape,_childContextTypes);return function wrapWithConnect(WrappedComponent){(0,_invariant2.default)("function"==typeof WrappedComponent,"You must pass a component to the function returned by "+methodName+". Instead received "+JSON.stringify(WrappedComponent));var wrappedComponentName=WrappedComponent.displayName||WrappedComponent.name||"Component";var displayName=getDisplayName(wrappedComponentName);var selectorFactoryOptions=_extends({},connectOptions,{getDisplayName:getDisplayName,methodName:methodName,renderCountProp:renderCountProp,shouldHandleStateChanges:shouldHandleStateChanges,storeKey:storeKey,withRef:withRef,displayName:displayName,wrappedComponentName:wrappedComponentName,WrappedComponent:WrappedComponent});var Connect=function(_Component){_inherits(Connect,_Component);function Connect(props,context){_classCallCheck(this,Connect);var _this=_possibleConstructorReturn(this,_Component.call(this,props,context));_this.version=version;_this.state={};_this.renderCount=0;_this.store=props[storeKey]||context[storeKey];_this.propsMode=Boolean(props[storeKey]);_this.setWrappedInstance=_this.setWrappedInstance.bind(_this);(0,_invariant2.default)(_this.store,'Could not find "'+storeKey+'" in either the context or props of "'+displayName+'". Either wrap the root component in a <Provider>, or explicitly pass "'+storeKey+'" as a prop to "'+displayName+'".');_this.initSelector();_this.initSubscription();return _this}Connect.prototype.getChildContext=function getChildContext(){var _ref2;var subscription=this.propsMode?null:this.subscription;return _ref2={},_ref2[subscriptionKey]=subscription||this.context[subscriptionKey],_ref2};Connect.prototype.componentDidMount=function componentDidMount(){if(!shouldHandleStateChanges)return;this.subscription.trySubscribe();this.selector.run(this.props);this.selector.shouldComponentUpdate&&this.forceUpdate()};Connect.prototype.componentWillReceiveProps=function componentWillReceiveProps(nextProps){this.selector.run(nextProps)};Connect.prototype.shouldComponentUpdate=function shouldComponentUpdate(){return this.selector.shouldComponentUpdate};Connect.prototype.componentWillUnmount=function componentWillUnmount(){this.subscription&&this.subscription.tryUnsubscribe();this.subscription=null;this.notifyNestedSubs=noop;this.store=null;this.selector.run=noop;this.selector.shouldComponentUpdate=false};Connect.prototype.getWrappedInstance=function getWrappedInstance(){(0,_invariant2.default)(withRef,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+methodName+"() call.");return this.wrappedInstance};Connect.prototype.setWrappedInstance=function setWrappedInstance(ref){this.wrappedInstance=ref};Connect.prototype.initSelector=function initSelector(){var sourceSelector=selectorFactory(this.store.dispatch,selectorFactoryOptions);this.selector=makeSelectorStateful(sourceSelector,this.store);this.selector.run(this.props)};Connect.prototype.initSubscription=function initSubscription(){if(!shouldHandleStateChanges)return;var parentSub=(this.propsMode?this.props:this.context)[subscriptionKey];this.subscription=new _Subscription2.default(this.store,parentSub,this.onStateChange.bind(this));this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)};Connect.prototype.onStateChange=function onStateChange(){this.selector.run(this.props);if(this.selector.shouldComponentUpdate){this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate;this.setState(dummyState)}else this.notifyNestedSubs()};Connect.prototype.notifyNestedSubsOnComponentDidUpdate=function notifyNestedSubsOnComponentDidUpdate(){this.componentDidUpdate=void 0;this.notifyNestedSubs()};Connect.prototype.isSubscribed=function isSubscribed(){return Boolean(this.subscription)&&this.subscription.isSubscribed()};Connect.prototype.addExtraProps=function addExtraProps(props){if(!withRef&&!renderCountProp&&!(this.propsMode&&this.subscription))return props;var withExtras=_extends({},props);withRef&&(withExtras.ref=this.setWrappedInstance);renderCountProp&&(withExtras[renderCountProp]=this.renderCount++);this.propsMode&&this.subscription&&(withExtras[subscriptionKey]=this.subscription);return withExtras};Connect.prototype.render=function render(){var selector=this.selector;selector.shouldComponentUpdate=false;if(selector.error)throw selector.error;return(0,_react.createElement)(WrappedComponent,this.addExtraProps(selector.props))};return Connect}(_react.Component);Connect.WrappedComponent=WrappedComponent;Connect.displayName=displayName;Connect.childContextTypes=childContextTypes;Connect.contextTypes=contextTypes;Connect.propTypes=contextTypes;false;return(0,_hoistNonReactStatics2.default)(Connect,WrappedComponent)}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function _interopDefault(ex){return ex&&"object"===typeof ex&&"default"in ex?ex["default"]:ex}var $$observable=_interopDefault(__webpack_require__(2546));var ActionTypes={INIT:"@@redux/INIT"+Math.random().toString(36).substring(7).split("").join("."),REPLACE:"@@redux/REPLACE"+Math.random().toString(36).substring(7).split("").join(".")};var _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};function isPlainObject(obj){if("object"!==("undefined"===typeof obj?"undefined":_typeof(obj))||null===obj)return false;var proto=obj;while(null!==Object.getPrototypeOf(proto))proto=Object.getPrototypeOf(proto);return Object.getPrototypeOf(obj)===proto}function createStore(reducer,preloadedState,enhancer){var _ref2;if("function"===typeof preloadedState&&"undefined"===typeof enhancer){enhancer=preloadedState;preloadedState=void 0}if("undefined"!==typeof enhancer){if("function"!==typeof enhancer)throw new Error("Expected the enhancer to be a function.");return enhancer(createStore)(reducer,preloadedState)}if("function"!==typeof reducer)throw new Error("Expected the reducer to be a function.");var currentReducer=reducer;var currentState=preloadedState;var currentListeners=[];var nextListeners=currentListeners;var isDispatching=false;function ensureCanMutateNextListeners(){nextListeners===currentListeners&&(nextListeners=currentListeners.slice())}function getState(){if(isDispatching)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return currentState}function subscribe(listener){if("function"!==typeof listener)throw new Error("Expected the listener to be a function.");if(isDispatching)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var isSubscribed=true;ensureCanMutateNextListeners();nextListeners.push(listener);return function unsubscribe(){if(!isSubscribed)return;if(isDispatching)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");isSubscribed=false;ensureCanMutateNextListeners();var index=nextListeners.indexOf(listener);nextListeners.splice(index,1)}}function dispatch(action){if(!isPlainObject(action))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof action.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(isDispatching)throw new Error("Reducers may not dispatch actions.");try{isDispatching=true;currentState=currentReducer(currentState,action)}finally{isDispatching=false}var listeners=currentListeners=nextListeners;for(var i=0;i<listeners.length;i++){var listener=listeners[i];listener()}return action}function replaceReducer(nextReducer){if("function"!==typeof nextReducer)throw new Error("Expected the nextReducer to be a function.");currentReducer=nextReducer;dispatch({type:ActionTypes.REPLACE})}function observable(){var _ref;var outerSubscribe=subscribe;return _ref={subscribe:function subscribe(observer){if("object"!==("undefined"===typeof observer?"undefined":_typeof(observer))||null===observer)throw new TypeError("Expected the observer to be an object.");function observeState(){observer.next&&observer.next(getState())}observeState();var unsubscribe=outerSubscribe(observeState);return{unsubscribe:unsubscribe}}},_ref[$$observable]=function(){return this},_ref}dispatch({type:ActionTypes.INIT});return _ref2={dispatch:dispatch,subscribe:subscribe,getState:getState,replaceReducer:replaceReducer},_ref2[$$observable]=observable,_ref2}function getUndefinedStateErrorMessage(key,action){var actionType=action&&action.type;var actionDescription=actionType&&'action "'+String(actionType)+'"'||"an action";return"Given "+actionDescription+', reducer "'+key+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function assertReducerShape(reducers){Object.keys(reducers).forEach(function(key){var reducer=reducers[key];var initialState=reducer(void 0,{type:ActionTypes.INIT});if("undefined"===typeof initialState)throw new Error('Reducer "'+key+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");var type="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"===typeof reducer(void 0,{type:type}))throw new Error('Reducer "'+key+"\" returned undefined when probed with a random type. Don't try to handle "+ActionTypes.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}function combineReducers(reducers){var reducerKeys=Object.keys(reducers);var finalReducers={};for(var i=0;i<reducerKeys.length;i++){var key=reducerKeys[i];false;"function"===typeof reducers[key]&&(finalReducers[key]=reducers[key])}var finalReducerKeys=Object.keys(finalReducers);false;var shapeAssertionError=void 0;try{assertReducerShape(finalReducers)}catch(e){shapeAssertionError=e}return function combination(){var state=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var action=arguments[1];if(shapeAssertionError)throw shapeAssertionError;false;var hasChanged=false;var nextState={};for(var _i=0;_i<finalReducerKeys.length;_i++){var _key=finalReducerKeys[_i];var reducer=finalReducers[_key];var previousStateForKey=state[_key];var nextStateForKey=reducer(previousStateForKey,action);if("undefined"===typeof nextStateForKey){var errorMessage=getUndefinedStateErrorMessage(_key,action);throw new Error(errorMessage)}nextState[_key]=nextStateForKey;hasChanged=hasChanged||nextStateForKey!==previousStateForKey}return hasChanged?nextState:state}}function bindActionCreator(actionCreator,dispatch){return function(){return dispatch(actionCreator.apply(this,arguments))}}function bindActionCreators(actionCreators,dispatch){if("function"===typeof actionCreators)return bindActionCreator(actionCreators,dispatch);if("object"!==("undefined"===typeof actionCreators?"undefined":_typeof(actionCreators))||null===actionCreators)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===actionCreators?"null":"undefined"===typeof actionCreators?"undefined":_typeof(actionCreators))+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var keys=Object.keys(actionCreators);var boundActionCreators={};for(var i=0;i<keys.length;i++){var key=keys[i];var actionCreator=actionCreators[key];"function"===typeof actionCreator&&(boundActionCreators[key]=bindActionCreator(actionCreator,dispatch))}return boundActionCreators}function compose(){for(var _len=arguments.length,funcs=Array(_len),_key=0;_key<_len;_key++)funcs[_key]=arguments[_key];if(0===funcs.length)return function(arg){return arg};if(1===funcs.length)return funcs[0];return funcs.reduce(function(a,b){return function(){return a(b.apply(void 0,arguments))}})}function applyMiddleware(){for(var _len=arguments.length,middlewares=Array(_len),_key=0;_key<_len;_key++)middlewares[_key]=arguments[_key];return function(createStore){return function(){for(var _len2=arguments.length,args=Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];var store=createStore.apply(void 0,args);var _dispatch=function dispatch(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};var middlewareAPI={getState:store.getState,dispatch:function dispatch(){return _dispatch.apply(void 0,arguments)}};var chain=middlewares.map(function(middleware){return middleware(middlewareAPI)});_dispatch=compose.apply(void 0,chain)(store.dispatch);return _extends({},store,{dispatch:_dispatch})}}}false;exports.createStore=createStore;exports.combineReducers=combineReducers;exports.bindActionCreators=bindActionCreators;exports.applyMiddleware=applyMiddleware;exports.compose=compose;exports.__DO_NOT_USE__ActionTypes=ActionTypes},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.wrapMapToPropsConstant=wrapMapToPropsConstant;exports.getDependsOnOwnProps=getDependsOnOwnProps;exports.wrapMapToPropsFunc=wrapMapToPropsFunc;var _verifyPlainObject=__webpack_require__(929);_interopRequireDefault(_verifyPlainObject);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function wrapMapToPropsConstant(getConstant){return function initConstantSelector(dispatch,options){var constant=getConstant(dispatch,options);function constantSelector(){return constant}constantSelector.dependsOnOwnProps=false;return constantSelector}}function getDependsOnOwnProps(mapToProps){return null!==mapToProps.dependsOnOwnProps&&void 0!==mapToProps.dependsOnOwnProps?Boolean(mapToProps.dependsOnOwnProps):1!==mapToProps.length}function wrapMapToPropsFunc(mapToProps,methodName){return function initProxySelector(dispatch,_ref){_ref.displayName;var proxy=function mapToPropsProxy(stateOrDispatch,ownProps){return proxy.dependsOnOwnProps?proxy.mapToProps(stateOrDispatch,ownProps):proxy.mapToProps(stateOrDispatch)};proxy.dependsOnOwnProps=true;proxy.mapToProps=function detectFactoryAndVerify(stateOrDispatch,ownProps){proxy.mapToProps=mapToProps;proxy.dependsOnOwnProps=getDependsOnOwnProps(mapToProps);var props=proxy(stateOrDispatch,ownProps);if("function"===typeof props){proxy.mapToProps=props;proxy.dependsOnOwnProps=getDependsOnOwnProps(props);props=proxy(stateOrDispatch,ownProps)}false;return props};return proxy}}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.default=verifyPlainObject;var _isPlainObject=__webpack_require__(2548);var _isPlainObject2=_interopRequireDefault(_isPlainObject);var _warning=__webpack_require__(512);var _warning2=_interopRequireDefault(_warning);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function verifyPlainObject(value,displayName,methodName){(0,_isPlainObject2.default)(value)||(0,_warning2.default)(methodName+"() in "+displayName+" must return a plain object. Instead received "+value+".")}},function(module,exports,__webpack_require__){var root=__webpack_require__(2550);var Symbol=root.Symbol;module.exports=Symbol},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.canUseDOM=!!("undefined"!==typeof window&&window.document&&window.document.createElement);exports.addEventListener=function addEventListener(node,event,listener){return node.addEventListener?node.addEventListener(event,listener,false):node.attachEvent("on"+event,listener)};exports.removeEventListener=function removeEventListener(node,event,listener){return node.removeEventListener?node.removeEventListener(event,listener,false):node.detachEvent("on"+event,listener)};exports.getConfirmation=function getConfirmation(message,callback){return callback(window.confirm(message))};exports.supportsHistory=function supportsHistory(){var ua=window.navigator.userAgent;if((-1!==ua.indexOf("Android 2.")||-1!==ua.indexOf("Android 4.0"))&&-1!==ua.indexOf("Mobile Safari")&&-1===ua.indexOf("Chrome")&&-1===ua.indexOf("Windows Phone"))return false;return window.history&&"pushState"in window.history};exports.supportsPopStateOnHashChange=function supportsPopStateOnHashChange(){return-1===window.navigator.userAgent.indexOf("Trident")};exports.supportsGoWithoutReloadUsingHash=function supportsGoWithoutReloadUsingHash(){return-1===window.navigator.userAgent.indexOf("Firefox")};exports.isExtraneousPopstateEvent=function isExtraneousPopstateEvent(event){return void 0===event.state&&-1===navigator.userAgent.indexOf("CriOS")}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(347);var _propTypes2=_interopRequireDefault(_propTypes);var _invariant=__webpack_require__(2573);var _invariant2=_interopRequireDefault(_invariant);var _history=__webpack_require__(214);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var isModifiedEvent=function isModifiedEvent(event){return!!(event.metaKey||event.altKey||event.ctrlKey||event.shiftKey)};var Link=function(_React$Component){_inherits(Link,_React$Component);function Link(){var _temp,_this,_ret;_classCallCheck(this,Link);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.handleClick=function(event){_this.props.onClick&&_this.props.onClick(event);if(!event.defaultPrevented&&0===event.button&&!_this.props.target&&!isModifiedEvent(event)){event.preventDefault();var history=_this.context.router.history;var _this$props=_this.props,replace=_this$props.replace,to=_this$props.to;replace?history.replace(to):history.push(to)}},_temp),_possibleConstructorReturn(_this,_ret)}Link.prototype.render=function render(){var _props=this.props,to=(_props.replace,_props.to),innerRef=_props.innerRef,props=_objectWithoutProperties(_props,["replace","to","innerRef"]);(0,_invariant2.default)(this.context.router,"You should not use <Link> outside a <Router>");(0,_invariant2.default)(void 0!==to,'You must specify the "to" property');var history=this.context.router.history;var location="string"===typeof to?(0,_history.createLocation)(to,null,null,history.location):to;var href=history.createHref(location);return _react2.default.createElement("a",_extends({},props,{onClick:this.handleClick,href:href,ref:innerRef}))};return Link}(_react2.default.Component);Link.propTypes={onClick:_propTypes2.default.func,target:_propTypes2.default.string,replace:_propTypes2.default.bool,to:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.object]).isRequired,innerRef:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.func])};Link.defaultProps={replace:false};Link.contextTypes={router:_propTypes2.default.shape({history:_propTypes2.default.shape({push:_propTypes2.default.func.isRequired,replace:_propTypes2.default.func.isRequired,createHref:_propTypes2.default.func.isRequired}).isRequired}).isRequired};exports.default=Link},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _Route=__webpack_require__(934);var _Route2=_interopRequireDefault(_Route);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_Route2.default},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _warning=__webpack_require__(140);var _warning2=_interopRequireDefault(_warning);var _invariant=__webpack_require__(215);var _invariant2=_interopRequireDefault(_invariant);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(141);var _propTypes2=_interopRequireDefault(_propTypes);var _matchPath=__webpack_require__(516);var _matchPath2=_interopRequireDefault(_matchPath);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var isEmptyChildren=function isEmptyChildren(children){return 0===_react2.default.Children.count(children)};var Route=function(_React$Component){_inherits(Route,_React$Component);function Route(){var _temp,_this,_ret;_classCallCheck(this,Route);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.state={match:_this.computeMatch(_this.props,_this.context.router)},_temp),_possibleConstructorReturn(_this,_ret)}Route.prototype.getChildContext=function getChildContext(){return{router:_extends({},this.context.router,{route:{location:this.props.location||this.context.router.route.location,match:this.state.match}})}};Route.prototype.computeMatch=function computeMatch(_ref,router){var computedMatch=_ref.computedMatch,location=_ref.location,path=_ref.path,strict=_ref.strict,exact=_ref.exact,sensitive=_ref.sensitive;if(computedMatch)return computedMatch;(0,_invariant2.default)(router,"You should not use <Route> or withRouter() outside a <Router>");var route=router.route;var pathname=(location||route.location).pathname;return(0,_matchPath2.default)(pathname,{path:path,strict:strict,exact:exact,sensitive:sensitive},route.match)};Route.prototype.componentWillMount=function componentWillMount(){(0,_warning2.default)(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored");(0,_warning2.default)(!(this.props.component&&this.props.children&&!isEmptyChildren(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored");(0,_warning2.default)(!(this.props.render&&this.props.children&&!isEmptyChildren(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")};Route.prototype.componentWillReceiveProps=function componentWillReceiveProps(nextProps,nextContext){(0,_warning2.default)(!(nextProps.location&&!this.props.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.');(0,_warning2.default)(!(!nextProps.location&&this.props.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.');this.setState({match:this.computeMatch(nextProps,nextContext.router)})};Route.prototype.render=function render(){var match=this.state.match;var _props=this.props,children=_props.children,component=_props.component,render=_props.render;var _context$router=this.context.router,history=_context$router.history,route=_context$router.route,staticContext=_context$router.staticContext;var location=this.props.location||route.location;var props={match:match,location:location,history:history,staticContext:staticContext};if(component)return match?_react2.default.createElement(component,props):null;if(render)return match?render(props):null;if("function"===typeof children)return children(props);if(children&&!isEmptyChildren(children))return _react2.default.Children.only(children);return null};return Route}(_react2.default.Component);Route.propTypes={computedMatch:_propTypes2.default.object,path:_propTypes2.default.string,exact:_propTypes2.default.bool,strict:_propTypes2.default.bool,sensitive:_propTypes2.default.bool,component:_propTypes2.default.func,render:_propTypes2.default.func,children:_propTypes2.default.oneOfType([_propTypes2.default.func,_propTypes2.default.node]),location:_propTypes2.default.object};Route.contextTypes={router:_propTypes2.default.shape({history:_propTypes2.default.object.isRequired,route:_propTypes2.default.object.isRequired,staticContext:_propTypes2.default.object})};Route.childContextTypes={router:_propTypes2.default.object.isRequired};exports.default=Route},function(module,exports,__webpack_require__){var isarray=__webpack_require__(2577);module.exports=pathToRegexp;module.exports.parse=parse;module.exports.compile=compile;module.exports.tokensToFunction=tokensToFunction;module.exports.tokensToRegExp=tokensToRegExp;var PATH_REGEXP=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function parse(str,options){var tokens=[];var key=0;var index=0;var path="";var defaultDelimiter=options&&options.delimiter||"/";var res;while(null!=(res=PATH_REGEXP.exec(str))){var m=res[0];var escaped=res[1];var offset=res.index;path+=str.slice(index,offset);index=offset+m.length;if(escaped){path+=escaped[1];continue}var next=str[index];var prefix=res[2];var name=res[3];var capture=res[4];var group=res[5];var modifier=res[6];var asterisk=res[7];if(path){tokens.push(path);path=""}var partial=null!=prefix&&null!=next&&next!==prefix;var repeat="+"===modifier||"*"===modifier;var optional="?"===modifier||"*"===modifier;var delimiter=res[2]||defaultDelimiter;var pattern=capture||group;tokens.push({name:name||key++,prefix:prefix||"",delimiter:delimiter,optional:optional,repeat:repeat,partial:partial,asterisk:!!asterisk,pattern:pattern?escapeGroup(pattern):asterisk?".*":"[^"+escapeString(delimiter)+"]+?"})}index<str.length&&(path+=str.substr(index));path&&tokens.push(path);return tokens}function compile(str,options){return tokensToFunction(parse(str,options))}function encodeURIComponentPretty(str){return encodeURI(str).replace(/[\/?#]/g,function(c){return"%"+c.charCodeAt(0).toString(16).toUpperCase()})}function encodeAsterisk(str){return encodeURI(str).replace(/[?#]/g,function(c){return"%"+c.charCodeAt(0).toString(16).toUpperCase()})}function tokensToFunction(tokens){var matches=new Array(tokens.length);for(var i=0;i<tokens.length;i++)"object"===typeof tokens[i]&&(matches[i]=new RegExp("^(?:"+tokens[i].pattern+")$"));return function(obj,opts){var path="";var data=obj||{};var options=opts||{};var encode=options.pretty?encodeURIComponentPretty:encodeURIComponent;for(var i=0;i<tokens.length;i++){var token=tokens[i];if("string"===typeof token){path+=token;continue}var value=data[token.name];var segment;if(null==value){if(token.optional){token.partial&&(path+=token.prefix);continue}throw new TypeError('Expected "'+token.name+'" to be defined')}if(isarray(value)){if(!token.repeat)throw new TypeError('Expected "'+token.name+'" to not repeat, but received `'+JSON.stringify(value)+"`");if(0===value.length){if(token.optional)continue;throw new TypeError('Expected "'+token.name+'" to not be empty')}for(var j=0;j<value.length;j++){segment=encode(value[j]);if(!matches[i].test(segment))throw new TypeError('Expected all "'+token.name+'" to match "'+token.pattern+'", but received `'+JSON.stringify(segment)+"`");path+=(0===j?token.prefix:token.delimiter)+segment}continue}segment=token.asterisk?encodeAsterisk(value):encode(value);if(!matches[i].test(segment))throw new TypeError('Expected "'+token.name+'" to match "'+token.pattern+'", but received "'+segment+'"');path+=token.prefix+segment}return path}}function escapeString(str){return str.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function escapeGroup(group){return group.replace(/([=!:$\/()])/g,"\\$1")}function attachKeys(re,keys){re.keys=keys;return re}function flags(options){return options.sensitive?"":"i"}function regexpToRegexp(path,keys){var groups=path.source.match(/\((?!\?)/g);if(groups)for(var i=0;i<groups.length;i++)keys.push({name:i,prefix:null,delimiter:null,optional:false,repeat:false,partial:false,asterisk:false,pattern:null});return attachKeys(path,keys)}function arrayToRegexp(path,keys,options){var parts=[];for(var i=0;i<path.length;i++)parts.push(pathToRegexp(path[i],keys,options).source);var regexp=new RegExp("(?:"+parts.join("|")+")",flags(options));return attachKeys(regexp,keys)}function stringToRegexp(path,keys,options){return tokensToRegExp(parse(path,options),keys,options)}function tokensToRegExp(tokens,keys,options){if(!isarray(keys)){options=keys||options;keys=[]}options=options||{};var strict=options.strict;var end=false!==options.end;var route="";for(var i=0;i<tokens.length;i++){var token=tokens[i];if("string"===typeof token)route+=escapeString(token);else{var prefix=escapeString(token.prefix);var capture="(?:"+token.pattern+")";keys.push(token);token.repeat&&(capture+="(?:"+prefix+capture+")*");capture=token.optional?token.partial?prefix+"("+capture+")?":"(?:"+prefix+"("+capture+"))?":prefix+"("+capture+")";route+=capture}}var delimiter=escapeString(options.delimiter||"/");var endsWithDelimiter=route.slice(-delimiter.length)===delimiter;strict||(route=(endsWithDelimiter?route.slice(0,-delimiter.length):route)+"(?:"+delimiter+"(?=$))?");route+=end?"$":strict&&endsWithDelimiter?"":"(?="+delimiter+"|$)";return attachKeys(new RegExp("^"+route,flags(options)),keys)}function pathToRegexp(path,keys,options){if(!isarray(keys)){options=keys||options;keys=[]}options=options||{};if(path instanceof RegExp)return regexpToRegexp(path,keys);if(isarray(path))return arrayToRegexp(path,keys,options);return stringToRegexp(path,keys,options)}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _pathToRegexp=__webpack_require__(935);var _pathToRegexp2=_interopRequireDefault(_pathToRegexp);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var patternCache={};var cacheLimit=1e4;var cacheCount=0;var compileGenerator=function compileGenerator(pattern){var cacheKey=pattern;var cache=patternCache[cacheKey]||(patternCache[cacheKey]={});if(cache[pattern])return cache[pattern];var compiledGenerator=_pathToRegexp2.default.compile(pattern);if(cacheCount<cacheLimit){cache[pattern]=compiledGenerator;cacheCount++}return compiledGenerator};var generatePath=function generatePath(){var pattern=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/";var params=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("/"===pattern)return pattern;var generator=compileGenerator(pattern);return generator(params,{pretty:true})};exports.default=generatePath},function(module,exports,__webpack_require__){var isObject=__webpack_require__(517),now=__webpack_require__(2593),toNumber=__webpack_require__(2595);var FUNC_ERROR_TEXT="Expected a function";var nativeMax=Math.max,nativeMin=Math.min;function debounce(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=false,maxing=false,trailing=true;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);wait=toNumber(wait)||0;if(isObject(options)){leading=!!options.leading;maxing="maxWait"in options;maxWait=maxing?nativeMax(toNumber(options.maxWait)||0,wait):maxWait;trailing="trailing"in options?!!options.trailing:trailing}function invokeFunc(time){var args=lastArgs,thisArg=lastThis;lastArgs=lastThis=void 0;lastInvokeTime=time;result=func.apply(thisArg,args);return result}function leadingEdge(time){lastInvokeTime=time;timerId=setTimeout(timerExpired,wait);return leading?invokeFunc(time):result}function remainingWait(time){var timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime,timeWaiting=wait-timeSinceLastCall;return maxing?nativeMin(timeWaiting,maxWait-timeSinceLastInvoke):timeWaiting}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&timeSinceLastInvoke>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,remainingWait(time))}function trailingEdge(time){timerId=void 0;if(trailing&&lastArgs)return invokeFunc(time);lastArgs=lastThis=void 0;return result}function cancel(){void 0!==timerId&&clearTimeout(timerId);lastInvokeTime=0;lastArgs=lastCallTime=lastThis=timerId=void 0}function flush(){return void 0===timerId?result:trailingEdge(now())}function debounced(){var time=now(),isInvoking=shouldInvoke(time);lastArgs=arguments;lastThis=this;lastCallTime=time;if(isInvoking){if(void 0===timerId)return leadingEdge(lastCallTime);if(maxing){timerId=setTimeout(timerExpired,wait);return invokeFunc(lastCallTime)}}void 0===timerId&&(timerId=setTimeout(timerExpired,wait));return result}debounced.cancel=cancel;debounced.flush=flush;return debounced}module.exports=debounce},function(module,exports,__webpack_require__){var freeGlobal=__webpack_require__(2594);var freeSelf="object"==typeof self&&self&&self.Object===Object&&self;var root=freeGlobal||freeSelf||Function("return this")();module.exports=root},function(module,exports,__webpack_require__){var root=__webpack_require__(938);var Symbol=root.Symbol;module.exports=Symbol},function(module,exports,__webpack_require__){"use strict";var utils=module.exports={};utils.forEach=function(collection,callback){for(var i=0;i<collection.length;i++){var result=callback(collection[i]);if(result)return result}}},function(module,exports,__webpack_require__){"use strict";var detector=module.exports={};detector.isIE=function(version){function isAnyIeVersion(){var agent=navigator.userAgent.toLowerCase();return-1!==agent.indexOf("msie")||-1!==agent.indexOf("trident")||-1!==agent.indexOf(" edge/")}if(!isAnyIeVersion())return false;if(!version)return true;var ieVersion=function(){var undef,v=3,div=document.createElement("div"),all=div.getElementsByTagName("i");do{div.innerHTML="\x3c!--[if gt IE "+ ++v+"]><i></i><![endif]--\x3e"}while(all[0]);return v>4?v:undef}();return version===ieVersion};detector.isLegacyOpera=function(){return!!window.opera}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=createAction;var _identity=__webpack_require__(518);var _identity2=_interopRequireDefault(_identity);var _isFunction=__webpack_require__(216);var _isFunction2=_interopRequireDefault(_isFunction);var _isNull=__webpack_require__(2616);var _isNull2=_interopRequireDefault(_isNull);var _invariant=__webpack_require__(123);var _invariant2=_interopRequireDefault(_invariant);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function createAction(type){var payloadCreator=arguments.length<=1||void 0===arguments[1]?_identity2.default:arguments[1];var metaCreator=arguments[2];(0,_invariant2.default)((0,_isFunction2.default)(payloadCreator)||(0,_isNull2.default)(payloadCreator),"Expected payloadCreator to be a function, undefined or null");var finalPayloadCreator=(0,_isNull2.default)(payloadCreator)||payloadCreator===_identity2.default?_identity2.default:function(head){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return head instanceof Error?head:payloadCreator.apply(void 0,[head].concat(args))};var hasMeta=(0,_isFunction2.default)(metaCreator);var typeString=type.toString();var actionCreator=function actionCreator(){var payload=finalPayloadCreator.apply(void 0,arguments);var action={type:type};payload instanceof Error&&(action.error=true);void 0!==payload&&(action.payload=payload);hasMeta&&(action.meta=metaCreator.apply(void 0,arguments));return action};actionCreator.toString=function(){return typeString};return actionCreator}},function(module,exports,__webpack_require__){(function(global){var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;module.exports=freeGlobal}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _slicedToArray=function(){function sliceIterator(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{!_n&&_i["return"]&&_i["return"]()}finally{if(_d)throw _e}}return _arr}return function(arr,i){if(Array.isArray(arr))return arr;if(Symbol.iterator in Object(arr))return sliceIterator(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();exports.default=handleAction;var _isFunction=__webpack_require__(216);var _isFunction2=_interopRequireDefault(_isFunction);var _isPlainObject=__webpack_require__(350);var _isPlainObject2=_interopRequireDefault(_isPlainObject);var _identity=__webpack_require__(518);var _identity2=_interopRequireDefault(_identity);var _isNil=__webpack_require__(946);var _isNil2=_interopRequireDefault(_isNil);var _isUndefined=__webpack_require__(2618);var _isUndefined2=_interopRequireDefault(_isUndefined);var _includes=__webpack_require__(2619);var _includes2=_interopRequireDefault(_includes);var _invariant=__webpack_require__(123);var _invariant2=_interopRequireDefault(_invariant);var _combineActions=__webpack_require__(954);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function handleAction(type){var reducer=arguments.length<=1||void 0===arguments[1]?_identity2.default:arguments[1];var defaultState=arguments[2];var types=type.toString().split(_combineActions.ACTION_TYPE_DELIMITER);(0,_invariant2.default)(!(0,_isUndefined2.default)(defaultState),"defaultState for reducer handling "+types.join(", ")+" should be defined");(0,_invariant2.default)((0,_isFunction2.default)(reducer)||(0,_isPlainObject2.default)(reducer),"Expected reducer to be a function or object with next and throw reducers");var _ref=(0,_isFunction2.default)(reducer)?[reducer,reducer]:[reducer.next,reducer.throw].map(function(aReducer){return(0,_isNil2.default)(aReducer)?_identity2.default:aReducer});var _ref2=_slicedToArray(_ref,2);var nextReducer=_ref2[0];var throwReducer=_ref2[1];return function(){var state=arguments.length<=0||void 0===arguments[0]?defaultState:arguments[0];var action=arguments[1];var actionType=action.type;if(!actionType||!(0,_includes2.default)(types,actionType.toString()))return state;return(true===action.error?throwReducer:nextReducer)(state,action)}}},function(module,exports){function overArg(func,transform){return function(arg){return func(transform(arg))}}module.exports=overArg},function(module,exports){function isNil(value){return null==value}module.exports=isNil},function(module,exports){var MAX_SAFE_INTEGER=9007199254740991;function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}module.exports=isLength},function(module,exports){function arrayMap(array,iteratee){var index=-1,length=null==array?0:array.length,result=Array(length);while(++index<length)result[index]=iteratee(array[index],index,array);return result}module.exports=arrayMap},function(module,exports,__webpack_require__){var baseIsArguments=__webpack_require__(2632),isObjectLike=__webpack_require__(217);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;var propertyIsEnumerable=objectProto.propertyIsEnumerable;var isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};module.exports=isArguments},function(module,exports,__webpack_require__){(function(module){var root=__webpack_require__(142),stubFalse=__webpack_require__(2633);var freeExports=(true,exports)&&!exports.nodeType&&exports;var freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module;var moduleExports=freeModule&&freeModule.exports===freeExports;var Buffer=moduleExports?root.Buffer:void 0;var nativeIsBuffer=Buffer?Buffer.isBuffer:void 0;var isBuffer=nativeIsBuffer||stubFalse;module.exports=isBuffer}).call(this,__webpack_require__(82)(module))},function(module,exports,__webpack_require__){var baseIsTypedArray=__webpack_require__(2635),baseUnary=__webpack_require__(2636),nodeUtil=__webpack_require__(2637);var nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray;var isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module.exports=isTypedArray},function(module,exports,__webpack_require__){var isPrototype=__webpack_require__(953),nativeKeys=__webpack_require__(2638);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}module.exports=baseKeys},function(module,exports){var objectProto=Object.prototype;function isPrototype(value){var Ctor=value&&value.constructor,proto="function"==typeof Ctor&&Ctor.prototype||objectProto;return value===proto}module.exports=isPrototype},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ACTION_TYPE_DELIMITER=void 0;exports.default=combineActions;var _isString=__webpack_require__(522);var _isString2=_interopRequireDefault(_isString);var _isFunction=__webpack_require__(216);var _isFunction2=_interopRequireDefault(_isFunction);var _isEmpty=__webpack_require__(2639);var _isEmpty2=_interopRequireDefault(_isEmpty);var _toString=__webpack_require__(2650);var _toString2=_interopRequireDefault(_toString);var _isSymbol=__webpack_require__(523);var _isSymbol2=_interopRequireDefault(_isSymbol);var _invariant=__webpack_require__(123);var _invariant2=_interopRequireDefault(_invariant);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ACTION_TYPE_DELIMITER=exports.ACTION_TYPE_DELIMITER="||";function isValidActionType(type){return(0,_isString2.default)(type)||(0,_isFunction2.default)(type)||(0,_isSymbol2.default)(type)}function isValidActionTypes(types){if((0,_isEmpty2.default)(types))return false;return types.every(isValidActionType)}function combineActions(){for(var _len=arguments.length,actionsTypes=Array(_len),_key=0;_key<_len;_key++)actionsTypes[_key]=arguments[_key];(0,_invariant2.default)(isValidActionTypes(actionsTypes),"Expected action types to be strings, symbols, or action creators");var combinedActionType=actionsTypes.map(_toString2.default).join(ACTION_TYPE_DELIMITER);return{toString:function toString(){return combinedActionType}}}},function(module,exports){var funcProto=Function.prototype;var funcToString=funcProto.toString;function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}module.exports=toSource},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.unflattenActionCreators=exports.flattenReducerMap=exports.flattenActionMap=void 0;var _camelCase=__webpack_require__(957);var _camelCase2=_interopRequireDefault(_camelCase);var _ownKeys=__webpack_require__(524);var _ownKeys2=_interopRequireDefault(_ownKeys);var _hasGeneratorInterface=__webpack_require__(2654);var _hasGeneratorInterface2=_interopRequireDefault(_hasGeneratorInterface);var _isPlainObject=__webpack_require__(350);var _isPlainObject2=_interopRequireDefault(_isPlainObject);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var defaultNamespace="/";var flattenWhenNode=function flattenWhenNode(predicate){return function flatten(map){var namespace=arguments.length<=1||void 0===arguments[1]?defaultNamespace:arguments[1];var partialFlatMap=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];var partialFlatActionType=arguments.length<=3||void 0===arguments[3]?"":arguments[3];function connectNamespace(type){return partialFlatActionType?""+partialFlatActionType+namespace+type:type}(0,_ownKeys2.default)(map).forEach(function(type){var nextNamespace=connectNamespace(type);var mapValue=map[type];predicate(mapValue)?flatten(map[type],namespace,partialFlatMap,nextNamespace):partialFlatMap[nextNamespace]=map[type]});return partialFlatMap}};var flattenActionMap=flattenWhenNode(_isPlainObject2.default);var flattenReducerMap=flattenWhenNode(function(node){return(0,_isPlainObject2.default)(node)&&!(0,_hasGeneratorInterface2.default)(node)});function unflattenActionCreators(flatActionCreators){var namespace=arguments.length<=1||void 0===arguments[1]?defaultNamespace:arguments[1];function unflatten(flatActionType){var partialNestedActionCreators=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];var partialFlatActionTypePath=arguments.length<=2||void 0===arguments[2]?[]:arguments[2];var nextNamespace=(0,_camelCase2.default)(partialFlatActionTypePath.shift());if(partialFlatActionTypePath.length){partialNestedActionCreators[nextNamespace]||(partialNestedActionCreators[nextNamespace]={});unflatten(flatActionType,partialNestedActionCreators[nextNamespace],partialFlatActionTypePath)}else partialNestedActionCreators[nextNamespace]=flatActionCreators[flatActionType]}var nestedActionCreators={};Object.getOwnPropertyNames(flatActionCreators).forEach(function(type){return unflatten(type,nestedActionCreators,type.split(namespace))});return nestedActionCreators}exports.flattenActionMap=flattenActionMap;exports.flattenReducerMap=flattenReducerMap;exports.unflattenActionCreators=unflattenActionCreators},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var wordPattern=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\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]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\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\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\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]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\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\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\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\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:(?:1ST|2ND|3RD|(?![123])\dTH)\b)|\d*(?:(?:1st|2nd|3rd|(?![123])\dth)\b)|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g;var namespacer="/";function camelCase(string){return string.match(wordPattern).reduce(function(camelCased,word,index){return camelCased+(0===index?word.toLowerCase():word.charAt(0).toUpperCase()+word.substring(1).toLowerCase())},"")}exports.default=function(type){return type.split(namespacer).map(camelCase).join(namespacer)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var config_1=__webpack_require__(351);var hostReportError_1=__webpack_require__(525);exports.empty={closed:true,next:function(value){},error:function(err){if(config_1.config.useDeprecatedSynchronousErrorHandling)throw err;hostReportError_1.hostReportError(err)},complete:function(){}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function isObject(x){return null!=x&&"object"===typeof x}exports.isObject=isObject},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var UnsubscriptionError=function(_super){__extends(UnsubscriptionError,_super);function UnsubscriptionError(errors){var _this=_super.call(this,errors?errors.length+" errors occurred during unsubscription:\n  "+errors.map(function(err,i){return i+1+") "+err.toString()}).join("\n  "):"")||this;_this.errors=errors;_this.name="UnsubscriptionError";Object.setPrototypeOf(_this,UnsubscriptionError.prototype);return _this}return UnsubscriptionError}(Error);exports.UnsubscriptionError=UnsubscriptionError},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subject_1=__webpack_require__(63);var Observable_1=__webpack_require__(24);var Subscriber_1=__webpack_require__(16);var Subscription_1=__webpack_require__(52);var refCount_1=__webpack_require__(528);var ConnectableObservable=function(_super){__extends(ConnectableObservable,_super);function ConnectableObservable(source,subjectFactory){var _this=_super.call(this)||this;_this.source=source;_this.subjectFactory=subjectFactory;_this._refCount=0;_this._isComplete=false;return _this}ConnectableObservable.prototype._subscribe=function(subscriber){return this.getSubject().subscribe(subscriber)};ConnectableObservable.prototype.getSubject=function(){var subject=this._subject;subject&&!subject.isStopped||(this._subject=this.subjectFactory());return this._subject};ConnectableObservable.prototype.connect=function(){var connection=this._connection;if(!connection){this._isComplete=false;connection=this._connection=new Subscription_1.Subscription;connection.add(this.source.subscribe(new ConnectableSubscriber(this.getSubject(),this)));if(connection.closed){this._connection=null;connection=Subscription_1.Subscription.EMPTY}else this._connection=connection}return connection};ConnectableObservable.prototype.refCount=function(){return refCount_1.refCount()(this)};return ConnectableObservable}(Observable_1.Observable);exports.ConnectableObservable=ConnectableObservable;var connectableProto=ConnectableObservable.prototype;exports.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:true},_subject:{value:null,writable:true},_connection:{value:null,writable:true},_subscribe:{value:connectableProto._subscribe},_isComplete:{value:connectableProto._isComplete,writable:true},getSubject:{value:connectableProto.getSubject},connect:{value:connectableProto.connect},refCount:{value:connectableProto.refCount}};var ConnectableSubscriber=function(_super){__extends(ConnectableSubscriber,_super);function ConnectableSubscriber(destination,connectable){var _this=_super.call(this,destination)||this;_this.connectable=connectable;return _this}ConnectableSubscriber.prototype._error=function(err){this._unsubscribe();_super.prototype._error.call(this,err)};ConnectableSubscriber.prototype._complete=function(){this.connectable._isComplete=true;this._unsubscribe();_super.prototype._complete.call(this)};ConnectableSubscriber.prototype._unsubscribe=function(){var connectable=this.connectable;if(connectable){this.connectable=null;var connection=connectable._connection;connectable._refCount=0;connectable._subject=null;connectable._connection=null;connection&&connection.unsubscribe()}};return ConnectableSubscriber}(Subject_1.SubjectSubscriber);(function(){function RefCountOperator(connectable){this.connectable=connectable}RefCountOperator.prototype.call=function(subscriber,source){var connectable=this.connectable;connectable._refCount++;var refCounter=new RefCountSubscriber(subscriber,connectable);var subscription=source.subscribe(refCounter);refCounter.closed||(refCounter.connection=connectable.connect());return subscription}})();var RefCountSubscriber=function(_super){__extends(RefCountSubscriber,_super);function RefCountSubscriber(destination,connectable){var _this=_super.call(this,destination)||this;_this.connectable=connectable;return _this}RefCountSubscriber.prototype._unsubscribe=function(){var connectable=this.connectable;if(!connectable){this.connection=null;return}this.connectable=null;var refCount=connectable._refCount;if(refCount<=0){this.connection=null;return}connectable._refCount=refCount-1;if(refCount>1){this.connection=null;return}var connection=this.connection;var sharedConnection=connectable._connection;this.connection=null;!sharedConnection||connection&&sharedConnection!==connection||sharedConnection.unsubscribe()};return RefCountSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscription_1=__webpack_require__(52);var SubjectSubscription=function(_super){__extends(SubjectSubscription,_super);function SubjectSubscription(subject,subscriber){var _this=_super.call(this)||this;_this.subject=subject;_this.subscriber=subscriber;_this.closed=false;return _this}SubjectSubscription.prototype.unsubscribe=function(){if(this.closed)return;this.closed=true;var subject=this.subject;var observers=subject.observers;this.subject=null;if(!observers||0===observers.length||subject.isStopped||subject.closed)return;var subscriberIndex=observers.indexOf(this.subscriber);-1!==subscriberIndex&&observers.splice(subscriberIndex,1)};return SubjectSubscription}(Subscription_1.Subscription);exports.SubjectSubscription=SubjectSubscription},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var Subscription_1=__webpack_require__(52);var Observable_1=__webpack_require__(24);var Subject_1=__webpack_require__(63);function groupBy(keySelector,elementSelector,durationSelector,subjectSelector){return function(source){return source.lift(new GroupByOperator(keySelector,elementSelector,durationSelector,subjectSelector))}}exports.groupBy=groupBy;var GroupByOperator=function(){function GroupByOperator(keySelector,elementSelector,durationSelector,subjectSelector){this.keySelector=keySelector;this.elementSelector=elementSelector;this.durationSelector=durationSelector;this.subjectSelector=subjectSelector}GroupByOperator.prototype.call=function(subscriber,source){return source.subscribe(new GroupBySubscriber(subscriber,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))};return GroupByOperator}();var GroupBySubscriber=function(_super){__extends(GroupBySubscriber,_super);function GroupBySubscriber(destination,keySelector,elementSelector,durationSelector,subjectSelector){var _this=_super.call(this,destination)||this;_this.keySelector=keySelector;_this.elementSelector=elementSelector;_this.durationSelector=durationSelector;_this.subjectSelector=subjectSelector;_this.groups=null;_this.attemptedToUnsubscribe=false;_this.count=0;return _this}GroupBySubscriber.prototype._next=function(value){var key;try{key=this.keySelector(value)}catch(err){this.error(err);return}this._group(value,key)};GroupBySubscriber.prototype._group=function(value,key){var groups=this.groups;groups||(groups=this.groups=new Map);var group=groups.get(key);var element;if(this.elementSelector)try{element=this.elementSelector(value)}catch(err){this.error(err)}else element=value;if(!group){group=this.subjectSelector?this.subjectSelector():new Subject_1.Subject;groups.set(key,group);var groupedObservable=new GroupedObservable(key,group,this);this.destination.next(groupedObservable);if(this.durationSelector){var duration=void 0;try{duration=this.durationSelector(new GroupedObservable(key,group))}catch(err){this.error(err);return}this.add(duration.subscribe(new GroupDurationSubscriber(key,group,this)))}}group.closed||group.next(element)};GroupBySubscriber.prototype._error=function(err){var groups=this.groups;if(groups){groups.forEach(function(group,key){group.error(err)});groups.clear()}this.destination.error(err)};GroupBySubscriber.prototype._complete=function(){var groups=this.groups;if(groups){groups.forEach(function(group,key){group.complete()});groups.clear()}this.destination.complete()};GroupBySubscriber.prototype.removeGroup=function(key){this.groups.delete(key)};GroupBySubscriber.prototype.unsubscribe=function(){if(!this.closed){this.attemptedToUnsubscribe=true;0===this.count&&_super.prototype.unsubscribe.call(this)}};return GroupBySubscriber}(Subscriber_1.Subscriber);var GroupDurationSubscriber=function(_super){__extends(GroupDurationSubscriber,_super);function GroupDurationSubscriber(key,group,parent){var _this=_super.call(this,group)||this;_this.key=key;_this.group=group;_this.parent=parent;return _this}GroupDurationSubscriber.prototype._next=function(value){this.complete()};GroupDurationSubscriber.prototype._unsubscribe=function(){var _a=this,parent=_a.parent,key=_a.key;this.key=this.parent=null;parent&&parent.removeGroup(key)};return GroupDurationSubscriber}(Subscriber_1.Subscriber);var GroupedObservable=function(_super){__extends(GroupedObservable,_super);function GroupedObservable(key,groupSubject,refCountSubscription){var _this=_super.call(this)||this;_this.key=key;_this.groupSubject=groupSubject;_this.refCountSubscription=refCountSubscription;return _this}GroupedObservable.prototype._subscribe=function(subscriber){var subscription=new Subscription_1.Subscription;var _a=this,refCountSubscription=_a.refCountSubscription,groupSubject=_a.groupSubject;refCountSubscription&&!refCountSubscription.closed&&subscription.add(new InnerRefCountSubscription(refCountSubscription));subscription.add(groupSubject.subscribe(subscriber));return subscription};return GroupedObservable}(Observable_1.Observable);exports.GroupedObservable=GroupedObservable;var InnerRefCountSubscription=function(_super){__extends(InnerRefCountSubscription,_super);function InnerRefCountSubscription(parent){var _this=_super.call(this)||this;_this.parent=parent;parent.count++;return _this}InnerRefCountSubscription.prototype.unsubscribe=function(){var parent=this.parent;if(!parent.closed&&!this.closed){_super.prototype.unsubscribe.call(this);parent.count-=1;0===parent.count&&parent.attemptedToUnsubscribe&&parent.unsubscribe()}};return InnerRefCountSubscription}(Subscription_1.Subscription)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subject_1=__webpack_require__(63);var ObjectUnsubscribedError_1=__webpack_require__(353);var BehaviorSubject=function(_super){__extends(BehaviorSubject,_super);function BehaviorSubject(_value){var _this=_super.call(this)||this;_this._value=_value;return _this}Object.defineProperty(BehaviorSubject.prototype,"value",{get:function(){return this.getValue()},enumerable:true,configurable:true});BehaviorSubject.prototype._subscribe=function(subscriber){var subscription=_super.prototype._subscribe.call(this,subscriber);subscription&&!subscription.closed&&subscriber.next(this._value);return subscription};BehaviorSubject.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError;return this._value};BehaviorSubject.prototype.next=function(value){_super.prototype.next.call(this,this._value=value)};return BehaviorSubject}(Subject_1.Subject);exports.BehaviorSubject=BehaviorSubject},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var QueueAction_1=__webpack_require__(2664);var QueueScheduler_1=__webpack_require__(2666);exports.queue=new QueueScheduler_1.QueueScheduler(QueueAction_1.QueueAction)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Scheduler=function(){function Scheduler(SchedulerAction,now){void 0===now&&(now=Scheduler.now);this.SchedulerAction=SchedulerAction;this.now=now}Scheduler.prototype.schedule=function(work,delay,state){void 0===delay&&(delay=0);return new this.SchedulerAction(this,work).schedule(state,delay)};Scheduler.now=Date.now?Date.now:function(){return+new Date};return Scheduler}();exports.Scheduler=Scheduler},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var Notification_1=__webpack_require__(354);function observeOn(scheduler,delay){void 0===delay&&(delay=0);return function observeOnOperatorFunction(source){return source.lift(new ObserveOnOperator(scheduler,delay))}}exports.observeOn=observeOn;var ObserveOnOperator=function(){function ObserveOnOperator(scheduler,delay){void 0===delay&&(delay=0);this.scheduler=scheduler;this.delay=delay}ObserveOnOperator.prototype.call=function(subscriber,source){return source.subscribe(new ObserveOnSubscriber(subscriber,this.scheduler,this.delay))};return ObserveOnOperator}();exports.ObserveOnOperator=ObserveOnOperator;var ObserveOnSubscriber=function(_super){__extends(ObserveOnSubscriber,_super);function ObserveOnSubscriber(destination,scheduler,delay){void 0===delay&&(delay=0);var _this=_super.call(this,destination)||this;_this.scheduler=scheduler;_this.delay=delay;return _this}ObserveOnSubscriber.dispatch=function(arg){var notification=arg.notification,destination=arg.destination;notification.observe(destination);this.unsubscribe()};ObserveOnSubscriber.prototype.scheduleMessage=function(notification){this.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch,this.delay,new ObserveOnMessage(notification,this.destination)))};ObserveOnSubscriber.prototype._next=function(value){this.scheduleMessage(Notification_1.Notification.createNext(value))};ObserveOnSubscriber.prototype._error=function(err){this.scheduleMessage(Notification_1.Notification.createError(err))};ObserveOnSubscriber.prototype._complete=function(){this.scheduleMessage(Notification_1.Notification.createComplete())};return ObserveOnSubscriber}(Subscriber_1.Subscriber);exports.ObserveOnSubscriber=ObserveOnSubscriber;var ObserveOnMessage=function(){function ObserveOnMessage(notification,destination){this.notification=notification;this.destination=destination}return ObserveOnMessage}();exports.ObserveOnMessage=ObserveOnMessage},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.subscribeToArray=function(array){return function(subscriber){for(var i=0,len=array.length;i<len&&!subscriber.closed;i++)subscriber.next(array[i]);subscriber.closed||subscriber.complete()}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var AsapAction_1=__webpack_require__(2667);var AsapScheduler_1=__webpack_require__(2669);exports.asap=new AsapScheduler_1.AsapScheduler(AsapAction_1.AsapAction)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var TimeoutError=function(_super){__extends(TimeoutError,_super);function TimeoutError(){var _this=_super.call(this,"Timeout has occurred")||this;_this.name="TimeoutError";Object.setPrototypeOf(_this,TimeoutError.prototype);return _this}return TimeoutError}(Error);exports.TimeoutError=TimeoutError},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var subscribeToArray_1=__webpack_require__(968);var subscribeToPromise_1=__webpack_require__(972);var subscribeToIterable_1=__webpack_require__(973);var subscribeToObservable_1=__webpack_require__(974);var isArrayLike_1=__webpack_require__(975);var isPromise_1=__webpack_require__(976);var isObject_1=__webpack_require__(959);var iterator_1=__webpack_require__(269);var observable_1=__webpack_require__(218);exports.subscribeTo=function(result){if(result instanceof Observable_1.Observable)return function(subscriber){if(result._isScalar){subscriber.next(result.value);subscriber.complete();return}return result.subscribe(subscriber)};if(result&&"function"===typeof result[observable_1.observable])return subscribeToObservable_1.subscribeToObservable(result);if(isArrayLike_1.isArrayLike(result))return subscribeToArray_1.subscribeToArray(result);if(isPromise_1.isPromise(result))return subscribeToPromise_1.subscribeToPromise(result);if(result&&"function"===typeof result[iterator_1.iterator])return subscribeToIterable_1.subscribeToIterable(result);var value=isObject_1.isObject(result)?"an invalid object":"'"+result+"'";var msg="You provided "+value+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(msg)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var hostReportError_1=__webpack_require__(525);exports.subscribeToPromise=function(promise){return function(subscriber){promise.then(function(value){if(!subscriber.closed){subscriber.next(value);subscriber.complete()}},function(err){return subscriber.error(err)}).then(null,hostReportError_1.hostReportError);return subscriber}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var iterator_1=__webpack_require__(269);exports.subscribeToIterable=function(iterable){return function(subscriber){var iterator=iterable[iterator_1.iterator]();do{var item=iterator.next();if(item.done){subscriber.complete();break}subscriber.next(item.value);if(subscriber.closed)break}while(true);"function"===typeof iterator.return&&subscriber.add(function(){iterator.return&&iterator.return()});return subscriber}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var observable_1=__webpack_require__(218);exports.subscribeToObservable=function(obj){return function(subscriber){var obs=obj[observable_1.observable]();if("function"!==typeof obs.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return obs.subscribe(subscriber)}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.isArrayLike=function(x){return x&&"number"===typeof x.length&&"function"!==typeof x}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function isPromise(value){return value&&"function"!==typeof value.subscribe&&"function"===typeof value.then}exports.isPromise=isPromise},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var mergeAll_1=__webpack_require__(534);function concatAll(){return mergeAll_1.mergeAll(1)}exports.concatAll=concatAll},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var isScheduler_1=__webpack_require__(90);var mergeAll_1=__webpack_require__(534);var fromArray_1=__webpack_require__(143);function merge(){var observables=[];for(var _i=0;_i<arguments.length;_i++)observables[_i]=arguments[_i];var concurrent=Number.POSITIVE_INFINITY;var scheduler=null;var last=observables[observables.length-1];if(isScheduler_1.isScheduler(last)){scheduler=observables.pop();observables.length>1&&"number"===typeof observables[observables.length-1]&&(concurrent=observables.pop())}else"number"===typeof last&&(concurrent=observables.pop());if(null===scheduler&&1===observables.length&&observables[0]instanceof Observable_1.Observable)return observables[0];return mergeAll_1.mergeAll(concurrent)(fromArray_1.fromArray(observables,scheduler))}exports.merge=merge},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var noop_1=__webpack_require__(352);exports.NEVER=new Observable_1.Observable(noop_1.noop);function never(){return exports.NEVER}exports.never=never},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var isArray_1=__webpack_require__(68);var fromArray_1=__webpack_require__(143);var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function race(){var observables=[];for(var _i=0;_i<arguments.length;_i++)observables[_i]=arguments[_i];if(1===observables.length){if(!isArray_1.isArray(observables[0]))return observables[0];observables=observables[0]}return fromArray_1.fromArray(observables,void 0).lift(new RaceOperator)}exports.race=race;var RaceOperator=function(){function RaceOperator(){}RaceOperator.prototype.call=function(subscriber,source){return source.subscribe(new RaceSubscriber(subscriber))};return RaceOperator}();exports.RaceOperator=RaceOperator;var RaceSubscriber=function(_super){__extends(RaceSubscriber,_super);function RaceSubscriber(destination){var _this=_super.call(this,destination)||this;_this.hasFirst=false;_this.observables=[];_this.subscriptions=[];return _this}RaceSubscriber.prototype._next=function(observable){this.observables.push(observable)};RaceSubscriber.prototype._complete=function(){var observables=this.observables;var len=observables.length;if(0===len)this.destination.complete();else{for(var i=0;i<len&&!this.hasFirst;i++){var observable=observables[i];var subscription=subscribeToResult_1.subscribeToResult(this,observable,observable,i);this.subscriptions&&this.subscriptions.push(subscription);this.add(subscription)}this.observables=null}};RaceSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){if(!this.hasFirst){this.hasFirst=true;for(var i=0;i<this.subscriptions.length;i++)if(i!==outerIndex){var subscription=this.subscriptions[i];subscription.unsubscribe();this.remove(subscription)}this.subscriptions=null}this.destination.next(innerValue)};return RaceSubscriber}(OuterSubscriber_1.OuterSubscriber);exports.RaceSubscriber=RaceSubscriber},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var async_1=__webpack_require__(70);var isNumeric_1=__webpack_require__(357);var isScheduler_1=__webpack_require__(90);function timer(dueTime,periodOrScheduler,scheduler){void 0===dueTime&&(dueTime=0);var period=-1;isNumeric_1.isNumeric(periodOrScheduler)?period=Number(periodOrScheduler)<1?1:Number(periodOrScheduler):isScheduler_1.isScheduler(periodOrScheduler)&&(scheduler=periodOrScheduler);isScheduler_1.isScheduler(scheduler)||(scheduler=async_1.async);return new Observable_1.Observable(function(subscriber){var due=isNumeric_1.isNumeric(dueTime)?dueTime:+dueTime-scheduler.now();return scheduler.schedule(dispatch,due,{index:0,period:period,subscriber:subscriber})})}exports.timer=timer;function dispatch(state){var index=state.index,period=state.period,subscriber=state.subscriber;subscriber.next(index);if(subscriber.closed)return;if(-1===period)return subscriber.complete();state.index=index+1;this.schedule(state,period)}},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var tryCatch_1=__webpack_require__(99);var errorObject_1=__webpack_require__(89);var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function audit(durationSelector){return function auditOperatorFunction(source){return source.lift(new AuditOperator(durationSelector))}}exports.audit=audit;var AuditOperator=function(){function AuditOperator(durationSelector){this.durationSelector=durationSelector}AuditOperator.prototype.call=function(subscriber,source){return source.subscribe(new AuditSubscriber(subscriber,this.durationSelector))};return AuditOperator}();var AuditSubscriber=function(_super){__extends(AuditSubscriber,_super);function AuditSubscriber(destination,durationSelector){var _this=_super.call(this,destination)||this;_this.durationSelector=durationSelector;_this.hasValue=false;return _this}AuditSubscriber.prototype._next=function(value){this.value=value;this.hasValue=true;if(!this.throttled){var duration=tryCatch_1.tryCatch(this.durationSelector)(value);if(duration===errorObject_1.errorObject)this.destination.error(errorObject_1.errorObject.e);else{var innerSubscription=subscribeToResult_1.subscribeToResult(this,duration);!innerSubscription||innerSubscription.closed?this.clearThrottle():this.add(this.throttled=innerSubscription)}}};AuditSubscriber.prototype.clearThrottle=function(){var _a=this,value=_a.value,hasValue=_a.hasValue,throttled=_a.throttled;if(throttled){this.remove(throttled);this.throttled=null;throttled.unsubscribe()}if(hasValue){this.value=null;this.hasValue=false;this.destination.next(value)}};AuditSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex){this.clearThrottle()};AuditSubscriber.prototype.notifyComplete=function(){this.clearThrottle()};return AuditSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var mergeMap_1=__webpack_require__(270);function concatMap(project,resultSelector){return mergeMap_1.mergeMap(project,resultSelector,1)}exports.concatMap=concatMap},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function isDate(value){return value instanceof Date&&!isNaN(+value)}exports.isDate=isDate},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var tryCatch_1=__webpack_require__(99);var errorObject_1=__webpack_require__(89);function distinctUntilChanged(compare,keySelector){return function(source){return source.lift(new DistinctUntilChangedOperator(compare,keySelector))}}exports.distinctUntilChanged=distinctUntilChanged;var DistinctUntilChangedOperator=function(){function DistinctUntilChangedOperator(compare,keySelector){this.compare=compare;this.keySelector=keySelector}DistinctUntilChangedOperator.prototype.call=function(subscriber,source){return source.subscribe(new DistinctUntilChangedSubscriber(subscriber,this.compare,this.keySelector))};return DistinctUntilChangedOperator}();var DistinctUntilChangedSubscriber=function(_super){__extends(DistinctUntilChangedSubscriber,_super);function DistinctUntilChangedSubscriber(destination,compare,keySelector){var _this=_super.call(this,destination)||this;_this.keySelector=keySelector;_this.hasKey=false;"function"===typeof compare&&(_this.compare=compare);return _this}DistinctUntilChangedSubscriber.prototype.compare=function(x,y){return x===y};DistinctUntilChangedSubscriber.prototype._next=function(value){var keySelector=this.keySelector;var key=value;if(keySelector){key=tryCatch_1.tryCatch(this.keySelector)(value);if(key===errorObject_1.errorObject)return this.destination.error(errorObject_1.errorObject.e)}var result=false;if(this.hasKey){result=tryCatch_1.tryCatch(this.compare)(this.key,key);if(result===errorObject_1.errorObject)return this.destination.error(errorObject_1.errorObject.e)}else this.hasKey=true;if(false===Boolean(result)){this.key=key;this.destination.next(value)}};return DistinctUntilChangedSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var noop_1=__webpack_require__(352);var isFunction_1=__webpack_require__(264);function tap(nextOrObserver,error,complete){return function tapOperatorFunction(source){return source.lift(new DoOperator(nextOrObserver,error,complete))}}exports.tap=tap;var DoOperator=function(){function DoOperator(nextOrObserver,error,complete){this.nextOrObserver=nextOrObserver;this.error=error;this.complete=complete}DoOperator.prototype.call=function(subscriber,source){return source.subscribe(new TapSubscriber(subscriber,this.nextOrObserver,this.error,this.complete))};return DoOperator}();var TapSubscriber=function(_super){__extends(TapSubscriber,_super);function TapSubscriber(destination,observerOrNext,error,complete){var _this=_super.call(this,destination)||this;_this._tapNext=noop_1.noop;_this._tapError=noop_1.noop;_this._tapComplete=noop_1.noop;_this._tapError=error||noop_1.noop;_this._tapComplete=complete||noop_1.noop;if(isFunction_1.isFunction(observerOrNext)){_this._context=_this;_this._tapNext=observerOrNext}else if(observerOrNext){_this._context=observerOrNext;_this._tapNext=observerOrNext.next||noop_1.noop;_this._tapError=observerOrNext.error||noop_1.noop;_this._tapComplete=observerOrNext.complete||noop_1.noop}return _this}TapSubscriber.prototype._next=function(value){try{this._tapNext.call(this._context,value)}catch(err){this.destination.error(err);return}this.destination.next(value)};TapSubscriber.prototype._error=function(err){try{this._tapError.call(this._context,err)}catch(err){this.destination.error(err);return}this.destination.error(err)};TapSubscriber.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(err){this.destination.error(err);return}return this.destination.complete()};return TapSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function find(predicate,thisArg){if("function"!==typeof predicate)throw new TypeError("predicate is not a function");return function(source){return source.lift(new FindValueOperator(predicate,source,false,thisArg))}}exports.find=find;var FindValueOperator=function(){function FindValueOperator(predicate,source,yieldIndex,thisArg){this.predicate=predicate;this.source=source;this.yieldIndex=yieldIndex;this.thisArg=thisArg}FindValueOperator.prototype.call=function(observer,source){return source.subscribe(new FindValueSubscriber(observer,this.predicate,this.source,this.yieldIndex,this.thisArg))};return FindValueOperator}();exports.FindValueOperator=FindValueOperator;var FindValueSubscriber=function(_super){__extends(FindValueSubscriber,_super);function FindValueSubscriber(destination,predicate,source,yieldIndex,thisArg){var _this=_super.call(this,destination)||this;_this.predicate=predicate;_this.source=source;_this.yieldIndex=yieldIndex;_this.thisArg=thisArg;_this.index=0;return _this}FindValueSubscriber.prototype.notifyComplete=function(value){var destination=this.destination;destination.next(value);destination.complete()};FindValueSubscriber.prototype._next=function(value){var _a=this,predicate=_a.predicate,thisArg=_a.thisArg;var index=this.index++;try{var result=predicate.call(thisArg||this,value,index,this.source);result&&this.notifyComplete(this.yieldIndex?index:value)}catch(err){this.destination.error(err)}};FindValueSubscriber.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)};return FindValueSubscriber}(Subscriber_1.Subscriber);exports.FindValueSubscriber=FindValueSubscriber},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);exports.defaultThrottleConfig={leading:true,trailing:false};function throttle(durationSelector,config){void 0===config&&(config=exports.defaultThrottleConfig);return function(source){return source.lift(new ThrottleOperator(durationSelector,config.leading,config.trailing))}}exports.throttle=throttle;var ThrottleOperator=function(){function ThrottleOperator(durationSelector,leading,trailing){this.durationSelector=durationSelector;this.leading=leading;this.trailing=trailing}ThrottleOperator.prototype.call=function(subscriber,source){return source.subscribe(new ThrottleSubscriber(subscriber,this.durationSelector,this.leading,this.trailing))};return ThrottleOperator}();var ThrottleSubscriber=function(_super){__extends(ThrottleSubscriber,_super);function ThrottleSubscriber(destination,durationSelector,_leading,_trailing){var _this=_super.call(this,destination)||this;_this.destination=destination;_this.durationSelector=durationSelector;_this._leading=_leading;_this._trailing=_trailing;_this._hasValue=false;return _this}ThrottleSubscriber.prototype._next=function(value){this._hasValue=true;this._sendValue=value;this._throttled||(this._leading?this.send():this.throttle(value))};ThrottleSubscriber.prototype.send=function(){var _a=this,_hasValue=_a._hasValue,_sendValue=_a._sendValue;if(_hasValue){this.destination.next(_sendValue);this.throttle(_sendValue)}this._hasValue=false;this._sendValue=null};ThrottleSubscriber.prototype.throttle=function(value){var duration=this.tryDurationSelector(value);duration&&this.add(this._throttled=subscribeToResult_1.subscribeToResult(this,duration))};ThrottleSubscriber.prototype.tryDurationSelector=function(value){try{return this.durationSelector(value)}catch(err){this.destination.error(err);return null}};ThrottleSubscriber.prototype.throttlingDone=function(){var _a=this,_throttled=_a._throttled,_trailing=_a._trailing;_throttled&&_throttled.unsubscribe();this._throttled=null;_trailing&&this.send()};ThrottleSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.throttlingDone()};ThrottleSubscriber.prototype.notifyComplete=function(){this.throttlingDone()};return ThrottleSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var async_1=__webpack_require__(70);var isDate_1=__webpack_require__(984);var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function timeoutWith(due,withObservable,scheduler){void 0===scheduler&&(scheduler=async_1.async);return function(source){var absoluteTimeout=isDate_1.isDate(due);var waitFor=absoluteTimeout?+due-scheduler.now():Math.abs(due);return source.lift(new TimeoutWithOperator(waitFor,absoluteTimeout,withObservable,scheduler))}}exports.timeoutWith=timeoutWith;var TimeoutWithOperator=function(){function TimeoutWithOperator(waitFor,absoluteTimeout,withObservable,scheduler){this.waitFor=waitFor;this.absoluteTimeout=absoluteTimeout;this.withObservable=withObservable;this.scheduler=scheduler}TimeoutWithOperator.prototype.call=function(subscriber,source){return source.subscribe(new TimeoutWithSubscriber(subscriber,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))};return TimeoutWithOperator}();var TimeoutWithSubscriber=function(_super){__extends(TimeoutWithSubscriber,_super);function TimeoutWithSubscriber(destination,absoluteTimeout,waitFor,withObservable,scheduler){var _this=_super.call(this,destination)||this;_this.absoluteTimeout=absoluteTimeout;_this.waitFor=waitFor;_this.withObservable=withObservable;_this.scheduler=scheduler;_this.action=null;_this.scheduleTimeout();return _this}TimeoutWithSubscriber.dispatchTimeout=function(subscriber){var withObservable=subscriber.withObservable;subscriber._unsubscribeAndRecycle();subscriber.add(subscribeToResult_1.subscribeToResult(subscriber,withObservable))};TimeoutWithSubscriber.prototype.scheduleTimeout=function(){var action=this.action;action?this.action=action.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(TimeoutWithSubscriber.dispatchTimeout,this.waitFor,this))};TimeoutWithSubscriber.prototype._next=function(value){this.absoluteTimeout||this.scheduleTimeout();_super.prototype._next.call(this,value)};TimeoutWithSubscriber.prototype._unsubscribe=function(){this.action=null;this.scheduler=null;this.withObservable=null};return TimeoutWithSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";module.exports=function lowercase(string){return"string"===typeof string?string.toLowerCase():string}},function(module,exports,__webpack_require__){"use strict";var toMap=__webpack_require__(992);var uris=["background","base","cite","href","longdesc","src","usemap"];module.exports={uris:toMap(uris)}},function(module,exports,__webpack_require__){"use strict";function toMap(list){return list.reduce(asKey,{})}function asKey(accumulator,item){accumulator[item]=true;return accumulator}module.exports=toMap},function(module,exports){
/*!
 * ui-select
 * http://github.com/angular-ui/ui-select
 * Version: 0.19.5 - 2016-10-24T23:13:59.434Z
 * License: MIT
 */
(function(){"use strict";var KEY={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,COMMAND:91,MAP:{91:"COMMAND",8:"BACKSPACE",9:"TAB",13:"ENTER",16:"SHIFT",17:"CTRL",18:"ALT",19:"PAUSEBREAK",20:"CAPSLOCK",27:"ESC",32:"SPACE",33:"PAGE_UP",34:"PAGE_DOWN",35:"END",36:"HOME",37:"LEFT",38:"UP",39:"RIGHT",40:"DOWN",43:"+",44:"PRINTSCREEN",45:"INSERT",46:"DELETE",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NUMLOCK",145:"SCROLLLOCK",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},isControl:function(e){var k=e.which;switch(k){case KEY.COMMAND:case KEY.SHIFT:case KEY.CTRL:case KEY.ALT:return true}if(e.metaKey||e.ctrlKey||e.altKey)return true;return false},isFunctionKey:function(k){k=k.which?k.which:k;return k>=112&&k<=123},isVerticalMovement:function(k){return~[KEY.UP,KEY.DOWN].indexOf(k)},isHorizontalMovement:function(k){return~[KEY.LEFT,KEY.RIGHT,KEY.BACKSPACE,KEY.DELETE].indexOf(k)},toSeparator:function(k){var sep={ENTER:"\n",TAB:"\t",SPACE:" "}[k];if(sep)return sep;return KEY[k]?void 0:k}};void 0===angular.element.prototype.querySelectorAll&&(angular.element.prototype.querySelectorAll=function(selector){return angular.element(this[0].querySelectorAll(selector))});void 0===angular.element.prototype.closest&&(angular.element.prototype.closest=function(selector){var elem=this[0];var matchesSelector=elem.matches||elem.webkitMatchesSelector||elem.mozMatchesSelector||elem.msMatchesSelector;while(elem){if(matchesSelector.bind(elem)(selector))return elem;elem=elem.parentElement}return false});var latestId=0;var uis=angular.module("ui.select",[]).constant("uiSelectConfig",{theme:"bootstrap",searchEnabled:true,sortable:false,placeholder:"",refreshDelay:1e3,closeOnSelect:true,skipFocusser:false,dropdownPosition:"auto",removeSelected:true,resetSearchInput:true,generateId:function(){return latestId++},appendToBody:false,spinnerEnabled:false,spinnerClass:"glyphicon-refresh ui-select-spin"}).service("uiSelectMinErr",function(){var minErr=angular.$$minErr("ui.select");return function(){var error=minErr.apply(this,arguments);var message=error.message.replace(new RegExp("\nhttp://errors.angularjs.org/.*"),"");return new Error(message)}}).directive("uisTranscludeAppend",function(){return{link:function(scope,element,attrs,ctrl,transclude){transclude(scope,function(clone){element.append(clone)})}}}).filter("highlight",function(){function escapeRegexp(queryToEscape){return(""+queryToEscape).replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}return function(matchItem,query){return query&&matchItem?(""+matchItem).replace(new RegExp(escapeRegexp(query),"gi"),'<span class="ui-select-highlight">$&</span>'):matchItem}}).factory("uisOffset",["$document","$window",function($document,$window){return function(element){var boundingClientRect=element[0].getBoundingClientRect();return{width:boundingClientRect.width||element.prop("offsetWidth"),height:boundingClientRect.height||element.prop("offsetHeight"),top:boundingClientRect.top+($window.pageYOffset||$document[0].documentElement.scrollTop),left:boundingClientRect.left+($window.pageXOffset||$document[0].documentElement.scrollLeft)}}}]);uis.directive("uiSelectChoices",["uiSelectConfig","uisRepeatParser","uiSelectMinErr","$compile","$window",function(uiSelectConfig,RepeatParser,uiSelectMinErr,$compile,$window){return{restrict:"EA",require:"^uiSelect",replace:true,transclude:true,templateUrl:function(tElement){tElement.addClass("ui-select-choices");var theme=tElement.parent().attr("theme")||uiSelectConfig.theme;return theme+"/choices.tpl.html"},compile:function(tElement,tAttrs){if(!tAttrs.repeat)throw uiSelectMinErr("repeat","Expected 'repeat' expression.");var groupByExp=tAttrs.groupBy;var groupFilterExp=tAttrs.groupFilter;if(groupByExp){var groups=tElement.querySelectorAll(".ui-select-choices-group");if(1!==groups.length)throw uiSelectMinErr("rows","Expected 1 .ui-select-choices-group but got '{0}'.",groups.length);groups.attr("ng-repeat",RepeatParser.getGroupNgRepeatExpression())}var parserResult=RepeatParser.parse(tAttrs.repeat);var choices=tElement.querySelectorAll(".ui-select-choices-row");if(1!==choices.length)throw uiSelectMinErr("rows","Expected 1 .ui-select-choices-row but got '{0}'.",choices.length);choices.attr("ng-repeat",parserResult.repeatExpression(groupByExp)).attr("ng-if","$select.open");var rowsInner=tElement.querySelectorAll(".ui-select-choices-row-inner");if(1!==rowsInner.length)throw uiSelectMinErr("rows","Expected 1 .ui-select-choices-row-inner but got '{0}'.",rowsInner.length);rowsInner.attr("uis-transclude-append","");var clickTarget=$window.document.addEventListener?choices:rowsInner;clickTarget.attr("ng-click","$select.select("+parserResult.itemName+",$select.skipFocusser,$event)");return function link(scope,element,attrs,$select){$select.parseRepeatAttr(attrs.repeat,groupByExp,groupFilterExp);$select.disableChoiceExpression=attrs.uiDisableChoice;$select.onHighlightCallback=attrs.onHighlight;$select.dropdownPosition=attrs.position?attrs.position.toLowerCase():uiSelectConfig.dropdownPosition;scope.$on("$destroy",function(){choices.remove()});scope.$watch("$select.search",function(newValue){newValue&&!$select.open&&$select.multiple&&$select.activate(false,true);$select.activeIndex=$select.tagging.isActivated?-1:0;!attrs.minimumInputLength||$select.search.length>=attrs.minimumInputLength?$select.refresh(attrs.refresh):$select.items=[]});attrs.$observe("refreshDelay",function(){var refreshDelay=scope.$eval(attrs.refreshDelay);$select.refreshDelay=void 0!==refreshDelay?refreshDelay:uiSelectConfig.refreshDelay});scope.$watch("$select.open",function(open){open?tElement.attr("role","listbox"):tElement.removeAttr("role")})}}}}]);uis.controller("uiSelectCtrl",["$scope","$element","$timeout","$filter","$$uisDebounce","uisRepeatParser","uiSelectMinErr","uiSelectConfig","$parse","$injector","$window",function($scope,$element,$timeout,$filter,$$uisDebounce,RepeatParser,uiSelectMinErr,uiSelectConfig,$parse,$injector,$window){var ctrl=this;var EMPTY_SEARCH="";ctrl.placeholder=uiSelectConfig.placeholder;ctrl.searchEnabled=uiSelectConfig.searchEnabled;ctrl.sortable=uiSelectConfig.sortable;ctrl.refreshDelay=uiSelectConfig.refreshDelay;ctrl.paste=uiSelectConfig.paste;ctrl.resetSearchInput=uiSelectConfig.resetSearchInput;ctrl.refreshing=false;ctrl.spinnerEnabled=uiSelectConfig.spinnerEnabled;ctrl.spinnerClass=uiSelectConfig.spinnerClass;ctrl.removeSelected=uiSelectConfig.removeSelected;ctrl.closeOnSelect=true;ctrl.skipFocusser=false;ctrl.search=EMPTY_SEARCH;ctrl.activeIndex=0;ctrl.items=[];ctrl.open=false;ctrl.focus=false;ctrl.disabled=false;ctrl.selected=void 0;ctrl.dropdownPosition="auto";ctrl.focusser=void 0;ctrl.multiple=void 0;ctrl.disableChoiceExpression=void 0;ctrl.tagging={isActivated:false,fct:void 0};ctrl.taggingTokens={isActivated:false,tokens:void 0};ctrl.lockChoiceExpression=void 0;ctrl.clickTriggeredSelect=false;ctrl.$filter=$filter;ctrl.$element=$element;ctrl.$animate=function(){try{return $injector.get("$animate")}catch(err){return null}}();ctrl.searchInput=$element.querySelectorAll("input.ui-select-search");if(1!==ctrl.searchInput.length)throw uiSelectMinErr("searchInput","Expected 1 input.ui-select-search but got '{0}'.",ctrl.searchInput.length);ctrl.isEmpty=function(){return angular.isUndefined(ctrl.selected)||null===ctrl.selected||""===ctrl.selected||ctrl.multiple&&0===ctrl.selected.length};function _findIndex(collection,predicate,thisArg){if(collection.findIndex)return collection.findIndex(predicate,thisArg);var list=Object(collection);var length=list.length>>>0;var value;for(var i=0;i<length;i++){value=list[i];if(predicate.call(thisArg,value,i,list))return i}return-1}function _resetSearchInput(){if(ctrl.resetSearchInput){ctrl.search=EMPTY_SEARCH;ctrl.selected&&ctrl.items.length&&!ctrl.multiple&&(ctrl.activeIndex=_findIndex(ctrl.items,function(item){return angular.equals(this,item)},ctrl.selected))}}function _groupsFilter(groups,groupNames){var i,j,result=[];for(i=0;i<groupNames.length;i++)for(j=0;j<groups.length;j++)groups[j].name==[groupNames[i]]&&result.push(groups[j]);return result}ctrl.activate=function(initSearchValue,avoidReset){if(ctrl.disabled||ctrl.open)ctrl.open&&!ctrl.searchEnabled&&ctrl.close();else{avoidReset||_resetSearchInput();$scope.$broadcast("uis:activate");ctrl.open=true;ctrl.activeIndex=ctrl.activeIndex>=ctrl.items.length?0:ctrl.activeIndex;-1===ctrl.activeIndex&&false!==ctrl.taggingLabel&&(ctrl.activeIndex=0);var container=$element.querySelectorAll(".ui-select-choices-content");var searchInput=$element.querySelectorAll(".ui-select-search");if(ctrl.$animate&&ctrl.$animate.on&&ctrl.$animate.enabled(container[0])){var animateHandler=function(elem,phase){if("start"===phase&&0===ctrl.items.length){ctrl.$animate.off("removeClass",searchInput[0],animateHandler);$timeout(function(){ctrl.focusSearchInput(initSearchValue)})}else if("close"===phase){ctrl.$animate.off("enter",container[0],animateHandler);$timeout(function(){ctrl.focusSearchInput(initSearchValue)})}};ctrl.items.length>0?ctrl.$animate.on("enter",container[0],animateHandler):ctrl.$animate.on("removeClass",searchInput[0],animateHandler)}else $timeout(function(){ctrl.focusSearchInput(initSearchValue);!ctrl.tagging.isActivated&&ctrl.items.length>1&&_ensureHighlightVisible()})}};ctrl.focusSearchInput=function(initSearchValue){ctrl.search=initSearchValue||ctrl.search;ctrl.searchInput[0].focus()};ctrl.findGroupByName=function(name){return ctrl.groups&&ctrl.groups.filter(function(group){return group.name===name})[0]};ctrl.parseRepeatAttr=function(repeatAttr,groupByExp,groupFilterExp){function updateGroups(items){var groupFn=$scope.$eval(groupByExp);ctrl.groups=[];angular.forEach(items,function(item){var groupName=angular.isFunction(groupFn)?groupFn(item):item[groupFn];var group=ctrl.findGroupByName(groupName);group?group.items.push(item):ctrl.groups.push({name:groupName,items:[item]})});if(groupFilterExp){var groupFilterFn=$scope.$eval(groupFilterExp);angular.isFunction(groupFilterFn)?ctrl.groups=groupFilterFn(ctrl.groups):angular.isArray(groupFilterFn)&&(ctrl.groups=_groupsFilter(ctrl.groups,groupFilterFn))}ctrl.items=[];ctrl.groups.forEach(function(group){ctrl.items=ctrl.items.concat(group.items)})}function setPlainItems(items){ctrl.items=items}ctrl.setItemsFn=groupByExp?updateGroups:setPlainItems;ctrl.parserResult=RepeatParser.parse(repeatAttr);ctrl.isGrouped=!!groupByExp;ctrl.itemProperty=ctrl.parserResult.itemName;var originalSource=ctrl.parserResult.source;var createArrayFromObject=function(){var origSrc=originalSource($scope);$scope.$uisSource=Object.keys(origSrc).map(function(v){var result={};result[ctrl.parserResult.keyName]=v;result.value=origSrc[v];return result})};if(ctrl.parserResult.keyName){createArrayFromObject();ctrl.parserResult.source=$parse("$uisSource"+ctrl.parserResult.filters);$scope.$watch(originalSource,function(newVal,oldVal){newVal!==oldVal&&createArrayFromObject()},true)}ctrl.refreshItems=function(data){data=data||ctrl.parserResult.source($scope);var selectedItems=ctrl.selected;if(ctrl.isEmpty()||angular.isArray(selectedItems)&&!selectedItems.length||!ctrl.multiple||!ctrl.removeSelected)ctrl.setItemsFn(data);else if(void 0!==data&&null!==data){var filteredItems=data.filter(function(i){return angular.isArray(selectedItems)?selectedItems.every(function(selectedItem){return!angular.equals(i,selectedItem)}):!angular.equals(i,selectedItems)});ctrl.setItemsFn(filteredItems)}"auto"!==ctrl.dropdownPosition&&"up"!==ctrl.dropdownPosition||$scope.calculateDropdownPos();$scope.$broadcast("uis:refresh")};$scope.$watchCollection(ctrl.parserResult.source,function(items){if(void 0===items||null===items)ctrl.items=[];else{if(!angular.isArray(items))throw uiSelectMinErr("items","Expected an array but got '{0}'.",items);ctrl.refreshItems(items);angular.isDefined(ctrl.ngModel.$modelValue)&&(ctrl.ngModel.$modelValue=null)}})};var _refreshDelayPromise;ctrl.refresh=function(refreshAttr){if(void 0!==refreshAttr){_refreshDelayPromise&&$timeout.cancel(_refreshDelayPromise);_refreshDelayPromise=$timeout(function(){var refreshPromise=$scope.$eval(refreshAttr);if(refreshPromise&&angular.isFunction(refreshPromise.then)&&!ctrl.refreshing){ctrl.refreshing=true;refreshPromise.then(function(){ctrl.refreshing=false})}},ctrl.refreshDelay)}};ctrl.isActive=function(itemScope){if(!ctrl.open)return false;var itemIndex=ctrl.items.indexOf(itemScope[ctrl.itemProperty]);var isActive=itemIndex==ctrl.activeIndex;if(!isActive||itemIndex<0)return false;isActive&&!angular.isUndefined(ctrl.onHighlightCallback)&&itemScope.$eval(ctrl.onHighlightCallback);return isActive};var _isItemSelected=function(item){return ctrl.selected&&angular.isArray(ctrl.selected)&&ctrl.selected.filter(function(selection){return angular.equals(selection,item)}).length>0};var disabledItems=[];function _updateItemDisabled(item,isDisabled){var disabledItemIndex=disabledItems.indexOf(item);isDisabled&&-1===disabledItemIndex&&disabledItems.push(item);!isDisabled&&disabledItemIndex>-1&&disabledItems.splice(disabledItemIndex,1)}function _isItemDisabled(item){return disabledItems.indexOf(item)>-1}ctrl.isDisabled=function(itemScope){if(!ctrl.open)return;var item=itemScope[ctrl.itemProperty];var itemIndex=ctrl.items.indexOf(item);var isDisabled=false;if(itemIndex>=0&&(angular.isDefined(ctrl.disableChoiceExpression)||ctrl.multiple)){if(item.isTag)return false;ctrl.multiple&&(isDisabled=_isItemSelected(item));!isDisabled&&angular.isDefined(ctrl.disableChoiceExpression)&&(isDisabled=!!itemScope.$eval(ctrl.disableChoiceExpression));_updateItemDisabled(item,isDisabled)}return isDisabled};ctrl.select=function(item,skipFocusser,$event){if(void 0===item||!_isItemDisabled(item)){if(!ctrl.items&&!ctrl.search&&!ctrl.tagging.isActivated)return;if(!item||!_isItemDisabled(item)){ctrl.clickTriggeredSelect=false;$event&&("click"===$event.type||"touchend"===$event.type)&&item&&(ctrl.clickTriggeredSelect=true);if(ctrl.tagging.isActivated&&false===ctrl.clickTriggeredSelect){if(false===ctrl.taggingLabel)if(ctrl.activeIndex<0){void 0===item&&(item=void 0!==ctrl.tagging.fct?ctrl.tagging.fct(ctrl.search):ctrl.search);if(!item||angular.equals(ctrl.items[0],item))return}else item=ctrl.items[ctrl.activeIndex];else if(0===ctrl.activeIndex){if(void 0===item)return;if(void 0!==ctrl.tagging.fct&&"string"===typeof item){item=ctrl.tagging.fct(item);if(!item)return}else"string"===typeof item&&(item=item.replace(ctrl.taggingLabel,"").trim())}if(_isItemSelected(item)){ctrl.close(skipFocusser);return}}_resetSearchInput();$scope.$broadcast("uis:select",item);var locals={};locals[ctrl.parserResult.itemName]=item;$timeout(function(){ctrl.onSelectCallback($scope,{$item:item,$model:ctrl.parserResult.modelMapper($scope,locals)})});ctrl.closeOnSelect&&ctrl.close(skipFocusser)}}};ctrl.close=function(skipFocusser){if(!ctrl.open)return;ctrl.ngModel&&ctrl.ngModel.$setTouched&&ctrl.ngModel.$setTouched();ctrl.open=false;_resetSearchInput();$scope.$broadcast("uis:close",skipFocusser)};ctrl.setFocus=function(){ctrl.focus||ctrl.focusInput[0].focus()};ctrl.clear=function($event){ctrl.select(void 0);$event.stopPropagation();$timeout(function(){ctrl.focusser[0].focus()},0,false)};ctrl.toggle=function(e){if(ctrl.open){ctrl.close();e.preventDefault();e.stopPropagation()}else ctrl.activate()};ctrl.isLocked=function(){return false};$scope.$watch(function(){return angular.isDefined(ctrl.lockChoiceExpression)&&""!==ctrl.lockChoiceExpression},_initaliseLockedChoices);function _initaliseLockedChoices(doInitalise){if(!doInitalise)return;var lockedItems=[];function _updateItemLocked(item,isLocked){var lockedItemIndex=lockedItems.indexOf(item);isLocked&&-1===lockedItemIndex&&lockedItems.push(item);!isLocked&&lockedItemIndex>-1&&lockedItems.splice(lockedItemIndex,0)}function _isItemlocked(item){return lockedItems.indexOf(item)>-1}ctrl.isLocked=function(itemScope,itemIndex){var isLocked=false,item=ctrl.selected[itemIndex];if(item)if(itemScope){isLocked=!!itemScope.$eval(ctrl.lockChoiceExpression);_updateItemLocked(item,isLocked)}else isLocked=_isItemlocked(item);return isLocked}}var sizeWatch=null;var updaterScheduled=false;ctrl.sizeSearchInput=function(){var input=ctrl.searchInput[0],container=ctrl.searchInput.parent().parent()[0],calculateContainerWidth=function(){return container.clientWidth*!!input.offsetParent},updateIfVisible=function(containerWidth){if(0===containerWidth)return false;var inputWidth=containerWidth-input.offsetLeft-10;inputWidth<50&&(inputWidth=containerWidth);ctrl.searchInput.css("width",inputWidth+"px");return true};ctrl.searchInput.css("width","10px");$timeout(function(){null!==sizeWatch||updateIfVisible(calculateContainerWidth())||(sizeWatch=$scope.$watch(function(){if(!updaterScheduled){updaterScheduled=true;$scope.$$postDigest(function(){updaterScheduled=false;if(updateIfVisible(calculateContainerWidth())){sizeWatch();sizeWatch=null}})}},angular.noop))})};function _handleDropDownSelection(key){var processed=true;switch(key){case KEY.DOWN:!ctrl.open&&ctrl.multiple?ctrl.activate(false,true):ctrl.activeIndex<ctrl.items.length-1&&ctrl.activeIndex++;break;case KEY.UP:!ctrl.open&&ctrl.multiple?ctrl.activate(false,true):(ctrl.activeIndex>0||0===ctrl.search.length&&ctrl.tagging.isActivated&&ctrl.activeIndex>-1)&&ctrl.activeIndex--;break;case KEY.TAB:ctrl.multiple&&!ctrl.open||ctrl.select(ctrl.items[ctrl.activeIndex],true);break;case KEY.ENTER:ctrl.open&&(ctrl.tagging.isActivated||ctrl.activeIndex>=0)?ctrl.select(ctrl.items[ctrl.activeIndex],ctrl.skipFocusser):ctrl.activate(false,true);break;case KEY.ESC:ctrl.close();break;default:processed=false}return processed}ctrl.searchInput.on("keydown",function(e){var key=e.which;if(~[KEY.ENTER,KEY.ESC].indexOf(key)){e.preventDefault();e.stopPropagation()}$scope.$apply(function(){var tagged=false;if(ctrl.items.length>0||ctrl.tagging.isActivated){if(!_handleDropDownSelection(key)&&!ctrl.searchEnabled){e.preventDefault();e.stopPropagation()}if(ctrl.taggingTokens.isActivated){for(var i=0;i<ctrl.taggingTokens.tokens.length;i++)ctrl.taggingTokens.tokens[i]===KEY.MAP[e.keyCode]&&ctrl.search.length>0&&(tagged=true);tagged&&$timeout(function(){ctrl.searchInput.triggerHandler("tagged");var newItem=ctrl.search.replace(KEY.MAP[e.keyCode],"").trim();ctrl.tagging.fct&&(newItem=ctrl.tagging.fct(newItem));newItem&&ctrl.select(newItem,true)})}}});KEY.isVerticalMovement(key)&&ctrl.items.length>0&&_ensureHighlightVisible();if(key===KEY.ENTER||key===KEY.ESC){e.preventDefault();e.stopPropagation()}});ctrl.searchInput.on("paste",function(e){var data;data=window.clipboardData&&window.clipboardData.getData?window.clipboardData.getData("Text"):(e.originalEvent||e).clipboardData.getData("text/plain");data=ctrl.search+data;if(data&&data.length>0)if(ctrl.taggingTokens.isActivated){var items=[];for(var i=0;i<ctrl.taggingTokens.tokens.length;i++){var separator=KEY.toSeparator(ctrl.taggingTokens.tokens[i])||ctrl.taggingTokens.tokens[i];if(data.indexOf(separator)>-1){items=data.split(separator);break}}0===items.length&&(items=[data]);var oldsearch=ctrl.search;angular.forEach(items,function(item){var newItem=ctrl.tagging.fct?ctrl.tagging.fct(item):item;newItem&&ctrl.select(newItem,true)});ctrl.search=oldsearch||EMPTY_SEARCH;e.preventDefault();e.stopPropagation()}else if(ctrl.paste){ctrl.paste(data);ctrl.search=EMPTY_SEARCH;e.preventDefault();e.stopPropagation()}});ctrl.searchInput.on("tagged",function(){$timeout(function(){_resetSearchInput()})});function _ensureHighlightVisible(){var container=$element.querySelectorAll(".ui-select-choices-content");var choices=container.querySelectorAll(".ui-select-choices-row");if(choices.length<1)throw uiSelectMinErr("choices","Expected multiple .ui-select-choices-row but got '{0}'.",choices.length);if(ctrl.activeIndex<0)return;var highlighted=choices[ctrl.activeIndex];var posY=highlighted.offsetTop+highlighted.clientHeight-container[0].scrollTop;var height=container[0].offsetHeight;posY>height?container[0].scrollTop+=posY-height:posY<highlighted.clientHeight&&(ctrl.isGrouped&&0===ctrl.activeIndex?container[0].scrollTop=0:container[0].scrollTop-=highlighted.clientHeight-posY)}var onResize=$$uisDebounce(function(){ctrl.sizeSearchInput()},50);angular.element($window).bind("resize",onResize);$scope.$on("$destroy",function(){ctrl.searchInput.off("keyup keydown tagged blur paste");angular.element($window).off("resize",onResize)});$scope.$watch("$select.activeIndex",function(activeIndex){activeIndex&&$element.find("input").attr("aria-activedescendant","ui-select-choices-row-"+ctrl.generatedId+"-"+activeIndex)});$scope.$watch("$select.open",function(open){open||$element.find("input").removeAttr("aria-activedescendant")})}]);uis.directive("uiSelect",["$document","uiSelectConfig","uiSelectMinErr","uisOffset","$compile","$parse","$timeout",function($document,uiSelectConfig,uiSelectMinErr,uisOffset,$compile,$parse,$timeout){return{restrict:"EA",templateUrl:function(tElement,tAttrs){var theme=tAttrs.theme||uiSelectConfig.theme;return theme+(angular.isDefined(tAttrs.multiple)?"/select-multiple.tpl.html":"/select.tpl.html")},replace:true,transclude:true,require:["uiSelect","^ngModel"],scope:true,controller:"uiSelectCtrl",controllerAs:"$select",compile:function(tElement,tAttrs){var match=/{(.*)}\s*{(.*)}/.exec(tAttrs.ngClass);if(match){var combined="{"+match[1]+", "+match[2]+"}";tAttrs.ngClass=combined;tElement.attr("ng-class",combined)}angular.isDefined(tAttrs.multiple)?tElement.append("<ui-select-multiple/>").removeAttr("multiple"):tElement.append("<ui-select-single/>");tAttrs.inputId&&(tElement.querySelectorAll("input.ui-select-search")[0].id=tAttrs.inputId);return function(scope,element,attrs,ctrls,transcludeFn){var $select=ctrls[0];var ngModel=ctrls[1];$select.generatedId=uiSelectConfig.generateId();$select.baseTitle=attrs.title||"Select box";$select.focusserTitle=$select.baseTitle+" focus";$select.focusserId="focusser-"+$select.generatedId;$select.closeOnSelect=angular.isDefined(attrs.closeOnSelect)?$parse(attrs.closeOnSelect)():uiSelectConfig.closeOnSelect;scope.$watch("skipFocusser",function(){var skipFocusser=scope.$eval(attrs.skipFocusser);$select.skipFocusser=void 0!==skipFocusser?skipFocusser:uiSelectConfig.skipFocusser});$select.onSelectCallback=$parse(attrs.onSelect);$select.onRemoveCallback=$parse(attrs.onRemove);$select.ngModel=ngModel;$select.choiceGrouped=function(group){return $select.isGrouped&&group&&group.name};attrs.tabindex&&attrs.$observe("tabindex",function(value){$select.focusInput.attr("tabindex",value);element.removeAttr("tabindex")});scope.$watch(function(){return scope.$eval(attrs.searchEnabled)},function(newVal){$select.searchEnabled=void 0!==newVal?newVal:uiSelectConfig.searchEnabled});scope.$watch("sortable",function(){var sortable=scope.$eval(attrs.sortable);$select.sortable=void 0!==sortable?sortable:uiSelectConfig.sortable});attrs.$observe("limit",function(){$select.limit=angular.isDefined(attrs.limit)?parseInt(attrs.limit,10):void 0});scope.$watch("removeSelected",function(){var removeSelected=scope.$eval(attrs.removeSelected);$select.removeSelected=void 0!==removeSelected?removeSelected:uiSelectConfig.removeSelected});attrs.$observe("disabled",function(){$select.disabled=void 0!==attrs.disabled&&attrs.disabled});attrs.$observe("resetSearchInput",function(){var resetSearchInput=scope.$eval(attrs.resetSearchInput);$select.resetSearchInput=void 0===resetSearchInput||resetSearchInput});attrs.$observe("paste",function(){$select.paste=scope.$eval(attrs.paste)});attrs.$observe("tagging",function(){if(void 0!==attrs.tagging){var taggingEval=scope.$eval(attrs.tagging);$select.tagging={isActivated:true,fct:true!==taggingEval?taggingEval:void 0}}else $select.tagging={isActivated:false,fct:void 0}});attrs.$observe("taggingLabel",function(){void 0!==attrs.tagging&&("false"===attrs.taggingLabel?$select.taggingLabel=false:$select.taggingLabel=void 0!==attrs.taggingLabel?attrs.taggingLabel:"(new)")});attrs.$observe("taggingTokens",function(){if(void 0!==attrs.tagging){var tokens=void 0!==attrs.taggingTokens?attrs.taggingTokens.split("|"):[",","ENTER"];$select.taggingTokens={isActivated:true,tokens:tokens}}});attrs.$observe("spinnerEnabled",function(){var spinnerEnabled=scope.$eval(attrs.spinnerEnabled);$select.spinnerEnabled=void 0!==spinnerEnabled?spinnerEnabled:uiSelectConfig.spinnerEnabled});attrs.$observe("spinnerClass",function(){var spinnerClass=attrs.spinnerClass;$select.spinnerClass=void 0!==spinnerClass?attrs.spinnerClass:uiSelectConfig.spinnerClass});angular.isDefined(attrs.autofocus)&&$timeout(function(){$select.setFocus()});angular.isDefined(attrs.focusOn)&&scope.$on(attrs.focusOn,function(){$timeout(function(){$select.setFocus()})});function onDocumentClick(e){if(!$select.open)return;var contains=false;contains=window.jQuery?window.jQuery.contains(element[0],e.target):element[0].contains(e.target);if(!contains&&!$select.clickTriggeredSelect){var skipFocusser;if($select.skipFocusser)skipFocusser=true;else{var focusableControls=["input","button","textarea","select"];var targetController=angular.element(e.target).controller("uiSelect");skipFocusser=targetController&&targetController!==$select;skipFocusser||(skipFocusser=~focusableControls.indexOf(e.target.tagName.toLowerCase()))}$select.close(skipFocusser);scope.$digest()}$select.clickTriggeredSelect=false}$document.on("click",onDocumentClick);scope.$on("$destroy",function(){$document.off("click",onDocumentClick)});transcludeFn(scope,function(clone){var transcluded=angular.element("<div>").append(clone);var transcludedMatch=transcluded.querySelectorAll(".ui-select-match");transcludedMatch.removeAttr("ui-select-match");transcludedMatch.removeAttr("data-ui-select-match");if(1!==transcludedMatch.length)throw uiSelectMinErr("transcluded","Expected 1 .ui-select-match but got '{0}'.",transcludedMatch.length);element.querySelectorAll(".ui-select-match").replaceWith(transcludedMatch);var transcludedChoices=transcluded.querySelectorAll(".ui-select-choices");transcludedChoices.removeAttr("ui-select-choices");transcludedChoices.removeAttr("data-ui-select-choices");if(1!==transcludedChoices.length)throw uiSelectMinErr("transcluded","Expected 1 .ui-select-choices but got '{0}'.",transcludedChoices.length);element.querySelectorAll(".ui-select-choices").replaceWith(transcludedChoices);var transcludedNoChoice=transcluded.querySelectorAll(".ui-select-no-choice");transcludedNoChoice.removeAttr("ui-select-no-choice");transcludedNoChoice.removeAttr("data-ui-select-no-choice");1==transcludedNoChoice.length&&element.querySelectorAll(".ui-select-no-choice").replaceWith(transcludedNoChoice)});var appendToBody=scope.$eval(attrs.appendToBody);if(void 0!==appendToBody?appendToBody:uiSelectConfig.appendToBody){scope.$watch("$select.open",function(isOpen){isOpen?positionDropdown():resetDropdown()});scope.$on("$destroy",function(){resetDropdown()})}var placeholder=null,originalWidth="";function positionDropdown(){var offset=uisOffset(element);placeholder=angular.element('<div class="ui-select-placeholder"></div>');placeholder[0].style.width=offset.width+"px";placeholder[0].style.height=offset.height+"px";element.after(placeholder);originalWidth=element[0].style.width;$document.find("body").append(element);element[0].style.position="absolute";element[0].style.left=offset.left+"px";element[0].style.top=offset.top+"px";element[0].style.width=offset.width+"px"}function resetDropdown(){if(null===placeholder)return;placeholder.replaceWith(element);placeholder=null;element[0].style.position="";element[0].style.left="";element[0].style.top="";element[0].style.width=originalWidth;$select.setFocus()}var dropdown=null,directionUpClassName="direction-up";scope.$watch("$select.open",function(){"auto"!==$select.dropdownPosition&&"up"!==$select.dropdownPosition||scope.calculateDropdownPos()});var setDropdownPosUp=function(offset,offsetDropdown){offset=offset||uisOffset(element);offsetDropdown=offsetDropdown||uisOffset(dropdown);dropdown[0].style.position="absolute";dropdown[0].style.top=-1*offsetDropdown.height+"px";element.addClass(directionUpClassName)};var setDropdownPosDown=function(offset,offsetDropdown){element.removeClass(directionUpClassName);offset=offset||uisOffset(element);offsetDropdown=offsetDropdown||uisOffset(dropdown);dropdown[0].style.position="";dropdown[0].style.top=""};var calculateDropdownPosAfterAnimation=function(){$timeout(function(){if("up"===$select.dropdownPosition)setDropdownPosUp();else{element.removeClass(directionUpClassName);var offset=uisOffset(element);var offsetDropdown=uisOffset(dropdown);var scrollTop=$document[0].documentElement.scrollTop||$document[0].body.scrollTop;offset.top+offset.height+offsetDropdown.height>scrollTop+$document[0].documentElement.clientHeight?setDropdownPosUp(offset,offsetDropdown):setDropdownPosDown(offset,offsetDropdown)}dropdown[0].style.opacity=1})};var opened=false;scope.calculateDropdownPos=function(){if($select.open){dropdown=angular.element(element).querySelectorAll(".ui-select-dropdown");if(0===dropdown.length)return;if(""===$select.search&&!opened){dropdown[0].style.opacity=0;opened=true}if(!uisOffset(dropdown).height&&$select.$animate&&$select.$animate.on&&$select.$animate.enabled(dropdown)){var needsCalculated=true;$select.$animate.on("enter",dropdown,function(elem,phase){if("close"===phase&&needsCalculated){calculateDropdownPosAfterAnimation();needsCalculated=false}})}else calculateDropdownPosAfterAnimation()}else{if(null===dropdown||0===dropdown.length)return;dropdown[0].style.opacity=0;dropdown[0].style.position="";dropdown[0].style.top="";element.removeClass(directionUpClassName)}}}}}}]);uis.directive("uiSelectMatch",["uiSelectConfig",function(uiSelectConfig){return{restrict:"EA",require:"^uiSelect",replace:true,transclude:true,templateUrl:function(tElement){tElement.addClass("ui-select-match");var parent=tElement.parent();var theme=getAttribute(parent,"theme")||uiSelectConfig.theme;var multi=angular.isDefined(getAttribute(parent,"multiple"));return theme+(multi?"/match-multiple.tpl.html":"/match.tpl.html")},link:function(scope,element,attrs,$select){$select.lockChoiceExpression=attrs.uiLockChoice;attrs.$observe("placeholder",function(placeholder){$select.placeholder=void 0!==placeholder?placeholder:uiSelectConfig.placeholder});function setAllowClear(allow){$select.allowClear=!!angular.isDefined(allow)&&(""===allow||"true"===allow.toLowerCase())}attrs.$observe("allowClear",setAllowClear);setAllowClear(attrs.allowClear);$select.multiple&&$select.sizeSearchInput()}};function getAttribute(elem,attribute){if(elem[0].hasAttribute(attribute))return elem.attr(attribute);if(elem[0].hasAttribute("data-"+attribute))return elem.attr("data-"+attribute);if(elem[0].hasAttribute("x-"+attribute))return elem.attr("x-"+attribute)}}]);uis.directive("uiSelectMultiple",["uiSelectMinErr","$timeout",function(uiSelectMinErr,$timeout){return{restrict:"EA",require:["^uiSelect","^ngModel"],controller:["$scope","$timeout",function($scope,$timeout){var ngModel,ctrl=this,$select=$scope.$select;angular.isUndefined($select.selected)&&($select.selected=[]);$scope.$evalAsync(function(){ngModel=$scope.ngModel});ctrl.activeMatchIndex=-1;ctrl.updateModel=function(){ngModel.$setViewValue(Date.now());ctrl.refreshComponent()};ctrl.refreshComponent=function(){$select.refreshItems&&$select.refreshItems();$select.sizeSearchInput&&$select.sizeSearchInput()};ctrl.removeChoice=function(index){if($select.isLocked(null,index))return false;var removedChoice=$select.selected[index];var locals={};locals[$select.parserResult.itemName]=removedChoice;$select.selected.splice(index,1);ctrl.activeMatchIndex=-1;$select.sizeSearchInput();$timeout(function(){$select.onRemoveCallback($scope,{$item:removedChoice,$model:$select.parserResult.modelMapper($scope,locals)})});ctrl.updateModel();return true};ctrl.getPlaceholder=function(){if($select.selected&&$select.selected.length)return;return $select.placeholder}}],controllerAs:"$selectMultiple",link:function(scope,element,attrs,ctrls){var $select=ctrls[0];var ngModel=scope.ngModel=ctrls[1];var $selectMultiple=scope.$selectMultiple;$select.multiple=true;$select.focusInput=$select.searchInput;ngModel.$isEmpty=function(value){return!value||0===value.length};ngModel.$parsers.unshift(function(){var result,locals={},resultMultiple=[];for(var j=$select.selected.length-1;j>=0;j--){locals={};locals[$select.parserResult.itemName]=$select.selected[j];result=$select.parserResult.modelMapper(scope,locals);resultMultiple.unshift(result)}return resultMultiple});ngModel.$formatters.unshift(function(inputValue){var result,data=$select.parserResult&&$select.parserResult.source(scope,{$select:{search:""}}),locals={};if(!data)return inputValue;var resultMultiple=[];var checkFnMultiple=function(list,value){if(!list||!list.length)return;for(var p=list.length-1;p>=0;p--){locals[$select.parserResult.itemName]=list[p];result=$select.parserResult.modelMapper(scope,locals);if($select.parserResult.trackByExp){var propsItemNameMatches=/(\w*)\./.exec($select.parserResult.trackByExp);var matches=/\.([^\s]+)/.exec($select.parserResult.trackByExp);if(propsItemNameMatches&&propsItemNameMatches.length>0&&propsItemNameMatches[1]==$select.parserResult.itemName&&matches&&matches.length>0&&result[matches[1]]==value[matches[1]]){resultMultiple.unshift(list[p]);return true}}if(angular.equals(result,value)){resultMultiple.unshift(list[p]);return true}}return false};if(!inputValue)return resultMultiple;for(var k=inputValue.length-1;k>=0;k--)checkFnMultiple($select.selected,inputValue[k])||checkFnMultiple(data,inputValue[k])||resultMultiple.unshift(inputValue[k]);return resultMultiple});scope.$watchCollection(function(){return ngModel.$modelValue},function(newValue,oldValue){if(oldValue!=newValue){angular.isDefined(ngModel.$modelValue)&&(ngModel.$modelValue=null);$selectMultiple.refreshComponent()}});ngModel.$render=function(){if(!angular.isArray(ngModel.$viewValue)){if(!angular.isUndefined(ngModel.$viewValue)&&null!==ngModel.$viewValue)throw uiSelectMinErr("multiarr","Expected model value to be array but got '{0}'",ngModel.$viewValue);ngModel.$viewValue=[]}$select.selected=ngModel.$viewValue;$selectMultiple.refreshComponent();scope.$evalAsync()};scope.$on("uis:select",function(event,item){if($select.selected.length>=$select.limit)return;$select.selected.push(item);$selectMultiple.updateModel()});scope.$on("uis:activate",function(){$selectMultiple.activeMatchIndex=-1});scope.$watch("$select.disabled",function(newValue,oldValue){oldValue&&!newValue&&$select.sizeSearchInput()});$select.searchInput.on("keydown",function(e){var key=e.which;scope.$apply(function(){var processed=false;KEY.isHorizontalMovement(key)&&(processed=_handleMatchSelection(key));if(processed&&key!=KEY.TAB){e.preventDefault();e.stopPropagation()}})});function _getCaretPosition(el){return angular.isNumber(el.selectionStart)?el.selectionStart:el.value.length}function _handleMatchSelection(key){var caretPosition=_getCaretPosition($select.searchInput[0]),length=$select.selected.length,first=0,last=length-1,curr=$selectMultiple.activeMatchIndex,next=$selectMultiple.activeMatchIndex+1,prev=$selectMultiple.activeMatchIndex-1,newIndex=curr;if(caretPosition>0||$select.search.length&&key==KEY.RIGHT)return false;$select.close();function getNewActiveMatchIndex(){switch(key){case KEY.LEFT:return~$selectMultiple.activeMatchIndex?prev:last;case KEY.RIGHT:if(~$selectMultiple.activeMatchIndex&&curr!==last)return next;$select.activate();return false;case KEY.BACKSPACE:return~$selectMultiple.activeMatchIndex?$selectMultiple.removeChoice(curr)?prev:curr:last;case KEY.DELETE:if(~$selectMultiple.activeMatchIndex){$selectMultiple.removeChoice($selectMultiple.activeMatchIndex);return curr}return false}}newIndex=getNewActiveMatchIndex();$select.selected.length&&false!==newIndex?$selectMultiple.activeMatchIndex=Math.min(last,Math.max(first,newIndex)):$selectMultiple.activeMatchIndex=-1;return true}$select.searchInput.on("keyup",function(e){KEY.isVerticalMovement(e.which)||scope.$evalAsync(function(){$select.activeIndex=false===$select.taggingLabel?-1:0});if($select.tagging.isActivated&&$select.search.length>0){if(e.which===KEY.TAB||KEY.isControl(e)||KEY.isFunctionKey(e)||e.which===KEY.ESC||KEY.isVerticalMovement(e.which))return;$select.activeIndex=false===$select.taggingLabel?-1:0;if(false===$select.taggingLabel)return;var items=angular.copy($select.items);var stashArr=angular.copy($select.items);var newItem;var item;var hasTag=false;var dupeIndex=-1;var tagItems;var tagItem;if(void 0!==$select.tagging.fct){tagItems=$select.$filter("filter")(items,{isTag:true});tagItems.length>0&&(tagItem=tagItems[0]);if(items.length>0&&tagItem){hasTag=true;items=items.slice(1,items.length);stashArr=stashArr.slice(1,stashArr.length)}newItem=$select.tagging.fct($select.search);if(stashArr.some(function(origItem){return angular.equals(origItem,newItem)})||$select.selected.some(function(origItem){return angular.equals(origItem,newItem)})){scope.$evalAsync(function(){$select.activeIndex=0;$select.items=items});return}newItem&&(newItem.isTag=true)}else{tagItems=$select.$filter("filter")(items,function(item){return item.match($select.taggingLabel)});tagItems.length>0&&(tagItem=tagItems[0]);item=items[0];if(void 0!==item&&items.length>0&&tagItem){hasTag=true;items=items.slice(1,items.length);stashArr=stashArr.slice(1,stashArr.length)}newItem=$select.search+" "+$select.taggingLabel;if(_findApproxDupe($select.selected,$select.search)>-1)return;if(_findCaseInsensitiveDupe(stashArr.concat($select.selected))){if(hasTag){items=stashArr;scope.$evalAsync(function(){$select.activeIndex=0;$select.items=items})}return}if(_findCaseInsensitiveDupe(stashArr)){hasTag&&($select.items=stashArr.slice(1,stashArr.length));return}}hasTag&&(dupeIndex=_findApproxDupe($select.selected,newItem));if(dupeIndex>-1)items=items.slice(dupeIndex+1,items.length-1);else{items=[];newItem&&items.push(newItem);items=items.concat(stashArr)}scope.$evalAsync(function(){$select.activeIndex=0;$select.items=items;if($select.isGrouped){var itemsWithoutTag=newItem?items.slice(1):items;$select.setItemsFn(itemsWithoutTag);if(newItem){$select.items.unshift(newItem);$select.groups.unshift({name:"",items:[newItem],tagging:true})}}})}});function _findCaseInsensitiveDupe(arr){if(void 0===arr||void 0===$select.search)return false;var hasDupe=arr.filter(function(origItem){if(void 0===$select.search.toUpperCase()||void 0===origItem)return false;return origItem.toUpperCase()===$select.search.toUpperCase()}).length>0;return hasDupe}function _findApproxDupe(haystack,needle){var dupeIndex=-1;if(angular.isArray(haystack)){var tempArr=angular.copy(haystack);for(var i=0;i<tempArr.length;i++)if(void 0===$select.tagging.fct)tempArr[i]+" "+$select.taggingLabel===needle&&(dupeIndex=i);else{var mockObj=tempArr[i];angular.isObject(mockObj)&&(mockObj.isTag=true);angular.equals(mockObj,needle)&&(dupeIndex=i)}}return dupeIndex}$select.searchInput.on("blur",function(){$timeout(function(){$selectMultiple.activeMatchIndex=-1})})}}}]);uis.directive("uiSelectNoChoice",["uiSelectConfig",function(uiSelectConfig){return{restrict:"EA",require:"^uiSelect",replace:true,transclude:true,templateUrl:function(tElement){tElement.addClass("ui-select-no-choice");var theme=tElement.parent().attr("theme")||uiSelectConfig.theme;return theme+"/no-choice.tpl.html"}}}]);uis.directive("uiSelectSingle",["$timeout","$compile",function($timeout,$compile){return{restrict:"EA",require:["^uiSelect","^ngModel"],link:function(scope,element,attrs,ctrls){var $select=ctrls[0];var ngModel=ctrls[1];ngModel.$parsers.unshift(function(inputValue){var result,locals={};locals[$select.parserResult.itemName]=inputValue;result=$select.parserResult.modelMapper(scope,locals);return result});ngModel.$formatters.unshift(function(inputValue){var result,data=$select.parserResult&&$select.parserResult.source(scope,{$select:{search:""}}),locals={};if(data){var checkFnSingle=function(d){locals[$select.parserResult.itemName]=d;result=$select.parserResult.modelMapper(scope,locals);return result===inputValue};if($select.selected&&checkFnSingle($select.selected))return $select.selected;for(var i=data.length-1;i>=0;i--)if(checkFnSingle(data[i]))return data[i]}return inputValue});scope.$watch("$select.selected",function(newValue){ngModel.$viewValue!==newValue&&ngModel.$setViewValue(newValue)});ngModel.$render=function(){$select.selected=ngModel.$viewValue};scope.$on("uis:select",function(event,item){$select.selected=item});scope.$on("uis:close",function(event,skipFocusser){$timeout(function(){$select.focusser.prop("disabled",false);skipFocusser||$select.focusser[0].focus()},0,false)});scope.$on("uis:activate",function(){focusser.prop("disabled",true)});var focusser=angular.element("<input ng-disabled='$select.disabled' class='ui-select-focusser ui-select-offscreen' type='text' id='{{ $select.focusserId }}' aria-label='{{ $select.focusserTitle }}' aria-haspopup='true' role='button' />");$compile(focusser)(scope);$select.focusser=focusser;$select.focusInput=focusser;element.parent().append(focusser);focusser.bind("focus",function(){scope.$evalAsync(function(){$select.focus=true})});focusser.bind("blur",function(){scope.$evalAsync(function(){$select.focus=false})});focusser.bind("keydown",function(e){if(e.which===KEY.BACKSPACE){e.preventDefault();e.stopPropagation();$select.select(void 0);scope.$apply();return}if(e.which===KEY.TAB||KEY.isControl(e)||KEY.isFunctionKey(e)||e.which===KEY.ESC)return;if(e.which==KEY.DOWN||e.which==KEY.UP||e.which==KEY.ENTER||e.which==KEY.SPACE){e.preventDefault();e.stopPropagation();$select.activate()}scope.$digest()});focusser.bind("keyup input",function(e){if(e.which===KEY.TAB||KEY.isControl(e)||KEY.isFunctionKey(e)||e.which===KEY.ESC||e.which==KEY.ENTER||e.which===KEY.BACKSPACE)return;$select.activate(focusser.val());focusser.val("");scope.$digest()})}}}]);uis.directive("uiSelectSort",["$timeout","uiSelectConfig","uiSelectMinErr",function($timeout,uiSelectConfig,uiSelectMinErr){return{require:["^^uiSelect","^ngModel"],link:function(scope,element,attrs,ctrls){if(null===scope[attrs.uiSelectSort])throw uiSelectMinErr("sort","Expected a list to sort");var $select=ctrls[0];var $ngModel=ctrls[1];var options=angular.extend({axis:"horizontal"},scope.$eval(attrs.uiSelectSortOptions));var axis=options.axis;var draggingClassName="dragging";var droppingClassName="dropping";var droppingBeforeClassName="dropping-before";var droppingAfterClassName="dropping-after";scope.$watch(function(){return $select.sortable},function(newValue){newValue?element.attr("draggable",true):element.removeAttr("draggable")});element.on("dragstart",function(event){element.addClass(draggingClassName);(event.dataTransfer||event.originalEvent.dataTransfer).setData("text",scope.$index.toString())});element.on("dragend",function(){removeClass(draggingClassName)});var move=function(from,to){this.splice(to,0,this.splice(from,1)[0])};var removeClass=function(className){angular.forEach($select.$element.querySelectorAll("."+className),function(el){angular.element(el).removeClass(className)})};var dragOverHandler=function(event){event.preventDefault();var offset="vertical"===axis?event.offsetY||event.layerY||(event.originalEvent?event.originalEvent.offsetY:0):event.offsetX||event.layerX||(event.originalEvent?event.originalEvent.offsetX:0);if(offset<this["vertical"===axis?"offsetHeight":"offsetWidth"]/2){removeClass(droppingAfterClassName);element.addClass(droppingBeforeClassName)}else{removeClass(droppingBeforeClassName);element.addClass(droppingAfterClassName)}};var dropTimeout;var dropHandler=function(event){event.preventDefault();var droppedItemIndex=parseInt((event.dataTransfer||event.originalEvent.dataTransfer).getData("text"),10);$timeout.cancel(dropTimeout);dropTimeout=$timeout(function(){_dropHandler(droppedItemIndex)},20)};var _dropHandler=function(droppedItemIndex){var theList=scope.$eval(attrs.uiSelectSort);var itemToMove=theList[droppedItemIndex];var newIndex=null;newIndex=element.hasClass(droppingBeforeClassName)?droppedItemIndex<scope.$index?scope.$index-1:scope.$index:droppedItemIndex<scope.$index?scope.$index:scope.$index+1;move.apply(theList,[droppedItemIndex,newIndex]);$ngModel.$setViewValue(Date.now());scope.$apply(function(){scope.$emit("uiSelectSort:change",{array:theList,item:itemToMove,from:droppedItemIndex,to:newIndex})});removeClass(droppingClassName);removeClass(droppingBeforeClassName);removeClass(droppingAfterClassName);element.off("drop",dropHandler)};element.on("dragenter",function(){if(element.hasClass(draggingClassName))return;element.addClass(droppingClassName);element.on("dragover",dragOverHandler);element.on("drop",dropHandler)});element.on("dragleave",function(event){if(event.target!=element)return;removeClass(droppingClassName);removeClass(droppingBeforeClassName);removeClass(droppingAfterClassName);element.off("dragover",dragOverHandler);element.off("drop",dropHandler)})}}}]);uis.factory("$$uisDebounce",["$timeout",function($timeout){return function(callback,debounceTime){var timeoutPromise;return function(){var self=this;var args=Array.prototype.slice.call(arguments);timeoutPromise&&$timeout.cancel(timeoutPromise);timeoutPromise=$timeout(function(){callback.apply(self,args)},debounceTime)}}}]);uis.directive("uisOpenClose",["$parse","$timeout",function($parse,$timeout){return{restrict:"A",require:"uiSelect",link:function(scope,element,attrs,$select){$select.onOpenCloseCallback=$parse(attrs.uisOpenClose);scope.$watch("$select.open",function(isOpen,previousState){isOpen!==previousState&&$timeout(function(){$select.onOpenCloseCallback(scope,{isOpen:isOpen})})})}}}]);uis.service("uisRepeatParser",["uiSelectMinErr","$parse",function(uiSelectMinErr,$parse){var self=this;self.parse=function(expression){var match;match=expression.match(/^\s*(?:([\s\S]+?)\s+as\s+)?(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+(\s*[\s\S]+?)?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!match)throw uiSelectMinErr("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",expression);var source=match[5],filters="";if(match[3]){source=match[5].replace(/(^\()|(\)$)/g,"");var filterMatch=match[5].match(/^\s*(?:[\s\S]+?)(?:[^\|]|\|\|)+([\s\S]*)\s*$/);if(filterMatch&&filterMatch[1].trim()){filters=filterMatch[1];source=source.replace(filters,"")}}return{itemName:match[4]||match[2],keyName:match[3],source:$parse(source),filters:filters,trackByExp:match[6],modelMapper:$parse(match[1]||match[4]||match[2]),repeatExpression:function(grouped){var expression=this.itemName+" in "+(grouped?"$group.items":"$select.items");this.trackByExp&&(expression+=" track by "+this.trackByExp);return expression}}};self.getGroupNgRepeatExpression=function(){return"$group in $select.groups track by $group.name"}}])})();angular.module("ui.select").run(["$templateCache",function($templateCache){$templateCache.put("bootstrap/choices.tpl.html",'<ul class="ui-select-choices ui-select-choices-content ui-select-dropdown dropdown-menu" ng-show="$select.open && $select.items.length > 0"><li class="ui-select-choices-group" id="ui-select-choices-{{ $select.generatedId }}"><div class="divider" ng-show="$select.isGrouped && $index > 0"></div><div ng-show="$select.isGrouped" class="ui-select-choices-group-label dropdown-header" ng-bind="$group.name"></div><div ng-attr-id="ui-select-choices-row-{{ $select.generatedId }}-{{$index}}" class="ui-select-choices-row" ng-class="{active: $select.isActive(this), disabled: $select.isDisabled(this)}" role="option"><span class="ui-select-choices-row-inner"></span></div></li></ul>');$templateCache.put("bootstrap/match-multiple.tpl.html",'<span class="ui-select-match"><span ng-repeat="$item in $select.selected track by $index"><span class="ui-select-match-item btn btn-default btn-xs" tabindex="-1" type="button" ng-disabled="$select.disabled" ng-click="$selectMultiple.activeMatchIndex = $index;" ng-class="{\'btn-primary\':$selectMultiple.activeMatchIndex === $index, \'select-locked\':$select.isLocked(this, $index)}" ui-select-sort="$select.selected"><span class="close ui-select-match-close" ng-hide="$select.disabled" ng-click="$selectMultiple.removeChoice($index)">&nbsp;&times;</span> <span uis-transclude-append=""></span></span></span></span>');$templateCache.put("bootstrap/match.tpl.html",'<div class="ui-select-match" ng-hide="$select.open && $select.searchEnabled" ng-disabled="$select.disabled" ng-class="{\'btn-default-focus\':$select.focus}"><span tabindex="-1" class="btn btn-default form-control ui-select-toggle" aria-label="{{ $select.baseTitle }} activate" ng-disabled="$select.disabled" ng-click="$select.activate()" style="outline: 0;"><span ng-show="$select.isEmpty()" class="ui-select-placeholder text-muted">{{$select.placeholder}}</span> <span ng-hide="$select.isEmpty()" class="ui-select-match-text pull-left" ng-class="{\'ui-select-allow-clear\': $select.allowClear && !$select.isEmpty()}" ng-transclude=""></span> <i class="caret pull-right" ng-click="$select.toggle($event)"></i> <a ng-show="$select.allowClear && !$select.isEmpty() && ($select.disabled !== true)" aria-label="{{ $select.baseTitle }} clear" style="margin-right: 10px" ng-click="$select.clear($event)" class="btn btn-xs btn-link pull-right"><i class="glyphicon glyphicon-remove" aria-hidden="true"></i></a></span></div>');$templateCache.put("bootstrap/no-choice.tpl.html",'<ul class="ui-select-no-choice dropdown-menu" ng-show="$select.items.length == 0"><li ng-transclude=""></li></ul>');$templateCache.put("bootstrap/select-multiple.tpl.html",'<div class="ui-select-container ui-select-multiple ui-select-bootstrap dropdown form-control" ng-class="{open: $select.open}"><div><div class="ui-select-match"></div><input type="search" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="ui-select-search input-xs" placeholder="{{$selectMultiple.getPlaceholder()}}" ng-disabled="$select.disabled" ng-click="$select.activate()" ng-model="$select.search" role="combobox" aria-expanded="{{$select.open}}" aria-label="{{$select.baseTitle}}" ng-class="{\'spinner\': $select.refreshing}" ondrop="return false;"></div><div class="ui-select-choices"></div><div class="ui-select-no-choice"></div></div>');$templateCache.put("bootstrap/select.tpl.html",'<div class="ui-select-container ui-select-bootstrap dropdown" ng-class="{open: $select.open}"><div class="ui-select-match"></div><span ng-show="$select.open && $select.refreshing && $select.spinnerEnabled" class="ui-select-refreshing {{$select.spinnerClass}}"></span> <input type="search" autocomplete="off" tabindex="-1" aria-expanded="true" aria-label="{{ $select.baseTitle }}" aria-owns="ui-select-choices-{{ $select.generatedId }}" class="form-control ui-select-search" ng-class="{ \'ui-select-search-hidden\' : !$select.searchEnabled }" placeholder="{{$select.placeholder}}" ng-model="$select.search" ng-show="$select.open"><div class="ui-select-choices"></div><div class="ui-select-no-choice"></div></div>');$templateCache.put("select2/choices.tpl.html",'<ul tabindex="-1" class="ui-select-choices ui-select-choices-content select2-results"><li class="ui-select-choices-group" ng-class="{\'select2-result-with-children\': $select.choiceGrouped($group) }"><div ng-show="$select.choiceGrouped($group)" class="ui-select-choices-group-label select2-result-label" ng-bind="$group.name"></div><ul id="ui-select-choices-{{ $select.generatedId }}" ng-class="{\'select2-result-sub\': $select.choiceGrouped($group), \'select2-result-single\': !$select.choiceGrouped($group) }"><li role="option" ng-attr-id="ui-select-choices-row-{{ $select.generatedId }}-{{$index}}" class="ui-select-choices-row" ng-class="{\'select2-highlighted\': $select.isActive(this), \'select2-disabled\': $select.isDisabled(this)}"><div class="select2-result-label ui-select-choices-row-inner"></div></li></ul></li></ul>');$templateCache.put("select2/match-multiple.tpl.html",'<span class="ui-select-match"><li class="ui-select-match-item select2-search-choice" ng-repeat="$item in $select.selected track by $index" ng-class="{\'select2-search-choice-focus\':$selectMultiple.activeMatchIndex === $index, \'select2-locked\':$select.isLocked(this, $index)}" ui-select-sort="$select.selected"><span uis-transclude-append=""></span> <a href="javascript:;" class="ui-select-match-close select2-search-choice-close" ng-click="$selectMultiple.removeChoice($index)" tabindex="-1"></a></li></span>');$templateCache.put("select2/match.tpl.html",'<a class="select2-choice ui-select-match" ng-class="{\'select2-default\': $select.isEmpty()}" ng-click="$select.toggle($event)" aria-label="{{ $select.baseTitle }} select"><span ng-show="$select.isEmpty()" class="select2-chosen">{{$select.placeholder}}</span> <span ng-hide="$select.isEmpty()" class="select2-chosen" ng-transclude=""></span> <abbr ng-if="$select.allowClear && !$select.isEmpty()" class="select2-search-choice-close" ng-click="$select.clear($event)"></abbr> <span class="select2-arrow ui-select-toggle"><b></b></span></a>');$templateCache.put("select2/no-choice.tpl.html",'<div class="ui-select-no-choice dropdown" ng-show="$select.items.length == 0"><div class="dropdown-content"><div data-selectable="" ng-transclude=""></div></div></div>');$templateCache.put("select2/select-multiple.tpl.html",'<div class="ui-select-container ui-select-multiple select2 select2-container select2-container-multi" ng-class="{\'select2-container-active select2-dropdown-open open\': $select.open, \'select2-container-disabled\': $select.disabled}"><ul class="select2-choices"><span class="ui-select-match"></span><li class="select2-search-field"><input type="search" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="combobox" aria-expanded="true" aria-owns="ui-select-choices-{{ $select.generatedId }}" aria-label="{{ $select.baseTitle }}" aria-activedescendant="ui-select-choices-row-{{ $select.generatedId }}-{{ $select.activeIndex }}" class="select2-input ui-select-search" placeholder="{{$selectMultiple.getPlaceholder()}}" ng-disabled="$select.disabled" ng-hide="$select.disabled" ng-model="$select.search" ng-click="$select.activate()" style="width: 34px;" ondrop="return false;"></li></ul><div class="ui-select-dropdown select2-drop select2-with-searchbox select2-drop-active" ng-class="{\'select2-display-none\': !$select.open || $select.items.length === 0}"><div class="ui-select-choices"></div></div></div>');$templateCache.put("select2/select.tpl.html",'<div class="ui-select-container select2 select2-container" ng-class="{\'select2-container-active select2-dropdown-open open\': $select.open, \'select2-container-disabled\': $select.disabled, \'select2-container-active\': $select.focus, \'select2-allowclear\': $select.allowClear && !$select.isEmpty()}"><div class="ui-select-match"></div><div class="ui-select-dropdown select2-drop select2-with-searchbox select2-drop-active" ng-class="{\'select2-display-none\': !$select.open}"><div class="search-container" ng-class="{\'ui-select-search-hidden\':!$select.searchEnabled, \'select2-search\':$select.searchEnabled}"><input type="search" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" ng-class="{\'select2-active\': $select.refreshing}" role="combobox" aria-expanded="true" aria-owns="ui-select-choices-{{ $select.generatedId }}" aria-label="{{ $select.baseTitle }}" class="ui-select-search select2-input" ng-model="$select.search"></div><div class="ui-select-choices"></div><div class="ui-select-no-choice"></div></div></div>');$templateCache.put("selectize/choices.tpl.html",'<div ng-show="$select.open" class="ui-select-choices ui-select-dropdown selectize-dropdown" ng-class="{\'single\': !$select.multiple, \'multi\': $select.multiple}"><div class="ui-select-choices-content selectize-dropdown-content"><div class="ui-select-choices-group optgroup"><div ng-show="$select.isGrouped" class="ui-select-choices-group-label optgroup-header" ng-bind="$group.name"></div><div role="option" class="ui-select-choices-row" ng-class="{active: $select.isActive(this), disabled: $select.isDisabled(this)}"><div class="option ui-select-choices-row-inner" data-selectable=""></div></div></div></div></div>');$templateCache.put("selectize/match-multiple.tpl.html",'<div class="ui-select-match" data-value="" ng-repeat="$item in $select.selected track by $index" ng-click="$selectMultiple.activeMatchIndex = $index;" ng-class="{\'active\':$selectMultiple.activeMatchIndex === $index}" ui-select-sort="$select.selected"><span class="ui-select-match-item" ng-class="{\'select-locked\':$select.isLocked(this, $index)}"><span uis-transclude-append=""></span> <span class="remove ui-select-match-close" ng-hide="$select.disabled" ng-click="$selectMultiple.removeChoice($index)">&times;</span></span></div>');$templateCache.put("selectize/match.tpl.html",'<div ng-hide="$select.searchEnabled && ($select.open || $select.isEmpty())" class="ui-select-match"><span ng-show="!$select.searchEnabled && ($select.isEmpty() || $select.open)" class="ui-select-placeholder text-muted">{{$select.placeholder}}</span> <span ng-hide="$select.isEmpty() || $select.open" ng-transclude=""></span></div>');$templateCache.put("selectize/no-choice.tpl.html",'<div class="ui-select-no-choice selectize-dropdown" ng-show="$select.items.length == 0"><div class="selectize-dropdown-content"><div data-selectable="" ng-transclude=""></div></div></div>');$templateCache.put("selectize/select-multiple.tpl.html",'<div class="ui-select-container selectize-control multi plugin-remove_button" ng-class="{\'open\': $select.open}"><div class="selectize-input" ng-class="{\'focus\': $select.open, \'disabled\': $select.disabled, \'selectize-focus\' : $select.focus}" ng-click="$select.open && !$select.searchEnabled ? $select.toggle($event) : $select.activate()"><div class="ui-select-match"></div><input type="search" autocomplete="off" tabindex="-1" class="ui-select-search" ng-class="{\'ui-select-search-hidden\':!$select.searchEnabled}" placeholder="{{$selectMultiple.getPlaceholder()}}" ng-model="$select.search" ng-disabled="$select.disabled" aria-expanded="{{$select.open}}" aria-label="{{ $select.baseTitle }}" ondrop="return false;"></div><div class="ui-select-choices"></div><div class="ui-select-no-choice"></div></div>');$templateCache.put("selectize/select.tpl.html",'<div class="ui-select-container selectize-control single" ng-class="{\'open\': $select.open}"><div class="selectize-input" ng-class="{\'focus\': $select.open, \'disabled\': $select.disabled, \'selectize-focus\' : $select.focus}" ng-click="$select.open && !$select.searchEnabled ? $select.toggle($event) : $select.activate()"><div class="ui-select-match"></div><input type="search" autocomplete="off" tabindex="-1" class="ui-select-search ui-select-toggle" ng-class="{\'ui-select-search-hidden\':!$select.searchEnabled}" ng-click="$select.toggle($event)" placeholder="{{$select.placeholder}}" ng-model="$select.search" ng-hide="!$select.isEmpty() && !$select.open" ng-disabled="$select.disabled" aria-label="{{ $select.baseTitle }}"></div><div class="ui-select-choices"></div><div class="ui-select-no-choice"></div></div>')}])},function(module,exports,__webpack_require__){"use strict";__webpack_require__(2803);__webpack_require__(2804);__webpack_require__(2805);__webpack_require__(2806);__webpack_require__(2807);__webpack_require__(2808);__webpack_require__(2809);__webpack_require__(2810);__webpack_require__(2811);__webpack_require__(2812);__webpack_require__(2813);__webpack_require__(2814);__webpack_require__(2815);__webpack_require__(2816);__webpack_require__(2817);__webpack_require__(2818);__webpack_require__(2819);__webpack_require__(2820);var _alert=__webpack_require__(2821);var _alert2=_interopRequireDefault(_alert);var _backdrop=__webpack_require__(2822);var _backdrop2=_interopRequireDefault(_backdrop);var _window=__webpack_require__(2823);var _window2=_interopRequireDefault(_window);var _pager=__webpack_require__(2824);var _pager2=_interopRequireDefault(_pager);var _pagination=__webpack_require__(2825);var _pagination2=_interopRequireDefault(_pagination);var _tooltipHtmlUnsafePopup=__webpack_require__(2826);var _tooltipHtmlUnsafePopup2=_interopRequireDefault(_tooltipHtmlUnsafePopup);var _tooltipPopup=__webpack_require__(2827);var _tooltipPopup2=_interopRequireDefault(_tooltipPopup);var _popover=__webpack_require__(2828);var _popover2=_interopRequireDefault(_popover);var _bar=__webpack_require__(2829);var _bar2=_interopRequireDefault(_bar);var _progress=__webpack_require__(2830);var _progress2=_interopRequireDefault(_progress);var _progressbar=__webpack_require__(2831);var _progressbar2=_interopRequireDefault(_progressbar);var _rating=__webpack_require__(2832);var _rating2=_interopRequireDefault(_rating);var _tab=__webpack_require__(2833);var _tab2=_interopRequireDefault(_tab);var _tabset=__webpack_require__(2834);var _tabset2=_interopRequireDefault(_tabset);var _timepicker=__webpack_require__(2835);var _timepicker2=_interopRequireDefault(_timepicker);var _typeaheadMatch=__webpack_require__(2836);var _typeaheadMatch2=_interopRequireDefault(_typeaheadMatch);var _typeaheadPopup=__webpack_require__(2837);var _typeaheadPopup2=_interopRequireDefault(_typeaheadPopup);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.transition","ui.bootstrap.collapse","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.buttons","ui.bootstrap.dateparser","ui.bootstrap.position","ui.bootstrap.dropdown","ui.bootstrap.modal","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]);angular.module("ui.bootstrap.tpls",["template/alert/alert.html","template/modal/backdrop.html","template/modal/window.html","template/pagination/pager.html","template/pagination/pagination.html","template/tooltip/tooltip-html-unsafe-popup.html","template/tooltip/tooltip-popup.html","template/popover/popover.html","template/progressbar/bar.html","template/progressbar/progress.html","template/progressbar/progressbar.html","template/rating/rating.html","template/tabs/tab.html","template/tabs/tabset.html","template/timepicker/timepicker.html","template/typeahead/typeahead-match.html","template/typeahead/typeahead-popup.html"]);angular.module("template/alert/alert.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/alert/alert.html",_alert2.default)}]);angular.module("template/modal/backdrop.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/modal/backdrop.html",_backdrop2.default)}]);angular.module("template/modal/window.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/modal/window.html",_window2.default)}]);angular.module("template/pagination/pager.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/pagination/pager.html",_pager2.default)}]);angular.module("template/pagination/pagination.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/pagination/pagination.html",_pagination2.default)}]);angular.module("template/tooltip/tooltip-html-unsafe-popup.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/tooltip/tooltip-html-unsafe-popup.html",_tooltipHtmlUnsafePopup2.default)}]);angular.module("template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/tooltip/tooltip-popup.html",_tooltipPopup2.default)}]);angular.module("template/popover/popover.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/popover/popover.html",_popover2.default)}]);angular.module("template/progressbar/bar.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/progressbar/bar.html",_bar2.default)}]);angular.module("template/progressbar/progress.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/progressbar/progress.html",_progress2.default)}]);angular.module("template/progressbar/progressbar.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/progressbar/progressbar.html",_progressbar2.default)}]);angular.module("template/rating/rating.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/rating/rating.html",_rating2.default)}]);angular.module("template/tabs/tab.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/tabs/tab.html",_tab2.default)}]);angular.module("template/tabs/tabset.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/tabs/tabset.html",_tabset2.default)}]);angular.module("template/timepicker/timepicker.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/timepicker/timepicker.html",_timepicker2.default)}]);angular.module("template/typeahead/typeahead-match.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/typeahead/typeahead-match.html",_typeaheadMatch2.default)}]);angular.module("template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("template/typeahead/typeahead-popup.html",_typeaheadPopup2.default)}])},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildNode",function(){return buildNode});__webpack_require__.d(__webpack_exports__,"buildNodeWithArgumentNodes",function(){return buildNodeWithArgumentNodes});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return toElasticsearchQuery});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);var _functions__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(366);function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function buildNode(functionName){var kueryFunction=_functions__WEBPACK_IMPORTED_MODULE_1__["functions"][functionName];if(lodash__WEBPACK_IMPORTED_MODULE_0___default.a.isUndefined(kueryFunction))throw new Error('Unknown function "'.concat(functionName,'"'));for(var _len=arguments.length,functionArgs=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)functionArgs[_key-1]=arguments[_key];return _objectSpread({type:"function",function:functionName},kueryFunction.buildNodeParams.apply(kueryFunction,functionArgs))}function buildNodeWithArgumentNodes(functionName,argumentNodes){if(lodash__WEBPACK_IMPORTED_MODULE_0___default.a.isUndefined(_functions__WEBPACK_IMPORTED_MODULE_1__["functions"][functionName]))throw new Error('Unknown function "'.concat(functionName,'"'));return{type:"function",function:functionName,arguments:argumentNodes}}function toElasticsearchQuery(node,indexPattern){var kueryFunction=_functions__WEBPACK_IMPORTED_MODULE_1__["functions"][node.function];return kueryFunction.toElasticsearchQuery(node,indexPattern)}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildNodeParams",function(){return buildNodeParams});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return toElasticsearchQuery});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);var _ast__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(37);var _node_types_literal__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(100);var _node_types_wildcard__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(179);var _filters__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(144);var _utils_get_fields__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(365);function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{_n||null==_i["return"]||_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function buildNodeParams(fieldName,value){var isPhrase=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(lodash__WEBPACK_IMPORTED_MODULE_0___default.a.isUndefined(fieldName))throw new Error("fieldName is a required argument");if(lodash__WEBPACK_IMPORTED_MODULE_0___default.a.isUndefined(value))throw new Error("value is a required argument");var fieldNode="string"===typeof fieldName?_ast__WEBPACK_IMPORTED_MODULE_1__["fromLiteralExpression"](fieldName):_node_types_literal__WEBPACK_IMPORTED_MODULE_2__["buildNode"](fieldName);var valueNode="string"===typeof value?_ast__WEBPACK_IMPORTED_MODULE_1__["fromLiteralExpression"](value):_node_types_literal__WEBPACK_IMPORTED_MODULE_2__["buildNode"](value);var isPhraseNode=_node_types_literal__WEBPACK_IMPORTED_MODULE_2__["buildNode"](isPhrase);return{arguments:[fieldNode,valueNode,isPhraseNode]}}function toElasticsearchQuery(node,indexPattern){var _node$arguments=_slicedToArray(node.arguments,3),fieldNameArg=_node$arguments[0],valueArg=_node$arguments[1],isPhraseArg=_node$arguments[2];var fieldName=_ast__WEBPACK_IMPORTED_MODULE_1__["toElasticsearchQuery"](fieldNameArg);var value=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.isUndefined(valueArg)?valueArg:_ast__WEBPACK_IMPORTED_MODULE_1__["toElasticsearchQuery"](valueArg);var type=isPhraseArg.value?"phrase":"best_fields";if(null===fieldNameArg.value){if("wildcard"===valueArg.type)return{query_string:{query:_node_types_wildcard__WEBPACK_IMPORTED_MODULE_3__["toQueryStringQuery"](valueArg)}};return{multi_match:{type:type,query:value,lenient:true}}}var fields=indexPattern?Object(_utils_get_fields__WEBPACK_IMPORTED_MODULE_5__["getFields"])(fieldNameArg,indexPattern):[];fields&&0===fields.length&&fields.push({name:_ast__WEBPACK_IMPORTED_MODULE_1__["toElasticsearchQuery"](fieldNameArg),scripted:false});var isExistsQuery="wildcard"===valueArg.type&&"*"===value;var isAllFieldsQuery="wildcard"===fieldNameArg.type&&"*"===fieldName||fields&&indexPattern&&fields.length===indexPattern.fields.length;var isMatchAllQuery=isExistsQuery&&isAllFieldsQuery;if(isMatchAllQuery)return{match_all:{}};var queries=fields.reduce(function(accumulator,field){if(!field.scripted){if(isExistsQuery)return[].concat(_toConsumableArray(accumulator),[{exists:{field:field.name}}]);if("wildcard"===valueArg.type)return[].concat(_toConsumableArray(accumulator),[{query_string:{fields:[field.name],query:_node_types_wildcard__WEBPACK_IMPORTED_MODULE_3__["toQueryStringQuery"](valueArg)}}]);var queryType="phrase"===type?"match_phrase":"match";return[].concat(_toConsumableArray(accumulator),[_defineProperty({},queryType,_defineProperty({},field.name,value))])}if(!isExistsQuery)return[].concat(_toConsumableArray(accumulator),[{script:_objectSpread({},Object(_filters__WEBPACK_IMPORTED_MODULE_4__["getPhraseScript"])(field,value))}])},[]);return{bool:{should:queries,minimum_should_match:1}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildNodeParams",function(){return buildNodeParams});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return toElasticsearchQuery});var _ast__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(37);function buildNodeParams(children){return{arguments:children}}function toElasticsearchQuery(node,indexPattern){var children=node.arguments||[];return{bool:{filter:children.map(function(child){return _ast__WEBPACK_IMPORTED_MODULE_0__["toElasticsearchQuery"](child,indexPattern)})}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildNodeParams",function(){return buildNodeParams});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return toElasticsearchQuery});var _ast__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(37);function buildNodeParams(children){return{arguments:children}}function toElasticsearchQuery(node,indexPattern){var children=node.arguments||[];return{bool:{should:children.map(function(child){return _ast__WEBPACK_IMPORTED_MODULE_0__["toElasticsearchQuery"](child,indexPattern)}),minimum_should_match:1}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildNodeParams",function(){return buildNodeParams});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return toElasticsearchQuery});var _ast__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(37);function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{_n||null==_i["return"]||_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function buildNodeParams(child){return{arguments:[child]}}function toElasticsearchQuery(node,indexPattern){var _node$arguments=_slicedToArray(node.arguments,1),argument=_node$arguments[0];return{bool:{must_not:_ast__WEBPACK_IMPORTED_MODULE_0__["toElasticsearchQuery"](argument,indexPattern)}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildNodeParams",function(){return buildNodeParams});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return toElasticsearchQuery});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);var _node_types__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(22);var _ast__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(37);var _filters__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(144);var _utils_get_fields__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(365);function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _toArray(arr){return _arrayWithHoles(arr)||_iterableToArray(arr)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function buildNodeParams(fieldName,params){params=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.pick(params,"gt","lt","gte","lte","format");var fieldNameArg="string"===typeof fieldName?_ast__WEBPACK_IMPORTED_MODULE_2__["fromLiteralExpression"](fieldName):_node_types__WEBPACK_IMPORTED_MODULE_1__["nodeTypes"].literal.buildNode(fieldName);var args=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.map(params,function(value,key){return _node_types__WEBPACK_IMPORTED_MODULE_1__["nodeTypes"].namedArg.buildNode(key,value)});return{arguments:[fieldNameArg].concat(_toConsumableArray(args))}}function toElasticsearchQuery(node,indexPattern){var _node$arguments=_toArray(node.arguments),fieldNameArg=_node$arguments[0],args=_node$arguments.slice(1);var fields=indexPattern?Object(_utils_get_fields__WEBPACK_IMPORTED_MODULE_4__["getFields"])(fieldNameArg,indexPattern):[];var namedArgs=extractArguments(args);var queryParams=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.mapValues(namedArgs,_ast__WEBPACK_IMPORTED_MODULE_2__["toElasticsearchQuery"]);fields&&0===fields.length&&fields.push({name:_ast__WEBPACK_IMPORTED_MODULE_2__["toElasticsearchQuery"](fieldNameArg),scripted:false});var queries=fields.map(function(field){if(field.scripted)return{script:Object(_filters__WEBPACK_IMPORTED_MODULE_3__["getRangeScript"])(field,queryParams)};return{range:_defineProperty({},field.name,queryParams)}});return{bool:{should:queries,minimum_should_match:1}}}function extractArguments(args){if(args.gt&&args.gte||args.lt&&args.lte)throw new Error("range ends cannot be both inclusive and exclusive");var unnamedArgOrder=["gte","lte","format"];return args.reduce(function(acc,arg,index){"namedArg"===arg.type?acc[arg.name]=arg.value:acc[unnamedArgOrder[index]]=arg;return acc},{})}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildNodeParams",function(){return buildNodeParams});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return toElasticsearchQuery});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var _node_types_literal__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(100);function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{_n||null==_i["return"]||_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function buildNodeParams(fieldName){return{arguments:[_node_types_literal__WEBPACK_IMPORTED_MODULE_1__["buildNode"](fieldName)]}}function toElasticsearchQuery(node,indexPattern){var _node$arguments=_slicedToArray(node.arguments,1),fieldNameArg=_node$arguments[0];var fieldName=_node_types_literal__WEBPACK_IMPORTED_MODULE_1__["toElasticsearchQuery"](fieldNameArg);var field=Object(lodash__WEBPACK_IMPORTED_MODULE_0__["get"])(indexPattern,"fields",[]).find(function(field){return field.name===fieldName});if(field&&field.scripted)throw new Error("Exists query does not support scripted fields");return{exists:{field:fieldName}}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildNodeParams",function(){return buildNodeParams});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return toElasticsearchQuery});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);var _node_types__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(22);var _ast__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(37);function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _toArray(arr){return _arrayWithHoles(arr)||_iterableToArray(arr)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function buildNodeParams(fieldName,params){params=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.pick(params,"topLeft","bottomRight");var fieldNameArg=_node_types__WEBPACK_IMPORTED_MODULE_1__["nodeTypes"].literal.buildNode(fieldName);var args=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.map(params,function(value,key){var latLon="".concat(value.lat,", ").concat(value.lon);return _node_types__WEBPACK_IMPORTED_MODULE_1__["nodeTypes"].namedArg.buildNode(key,latLon)});return{arguments:[fieldNameArg].concat(_toConsumableArray(args))}}function toElasticsearchQuery(node,indexPattern){var _geo_bounding_box;var _node$arguments=_toArray(node.arguments),fieldNameArg=_node$arguments[0],args=_node$arguments.slice(1);var fieldName=_node_types__WEBPACK_IMPORTED_MODULE_1__["nodeTypes"].literal.toElasticsearchQuery(fieldNameArg);var field=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.get(indexPattern,"fields",[]).find(function(field){return field.name===fieldName});var queryParams=args.reduce(function(acc,arg){var snakeArgName=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.snakeCase(arg.name);return _objectSpread({},acc,_defineProperty({},snakeArgName,_ast__WEBPACK_IMPORTED_MODULE_2__["toElasticsearchQuery"](arg)))},{});if(field&&field.scripted)throw new Error("Geo bounding box query does not support scripted fields");return{geo_bounding_box:(_geo_bounding_box={},_defineProperty(_geo_bounding_box,fieldName,queryParams),_defineProperty(_geo_bounding_box,"ignore_unmapped",true),_geo_bounding_box)}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildNodeParams",function(){return buildNodeParams});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return toElasticsearchQuery});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var _node_types__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(22);var _ast__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(37);function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _toArray(arr){return _arrayWithHoles(arr)||_iterableToArray(arr)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function buildNodeParams(fieldName,points){var fieldNameArg=_node_types__WEBPACK_IMPORTED_MODULE_1__["nodeTypes"].literal.buildNode(fieldName);var args=points.map(function(point){var latLon="".concat(point.lat,", ").concat(point.lon);return _node_types__WEBPACK_IMPORTED_MODULE_1__["nodeTypes"].literal.buildNode(latLon)});return{arguments:[fieldNameArg].concat(_toConsumableArray(args))}}function toElasticsearchQuery(node,indexPattern){var _geo_polygon;var _node$arguments=_toArray(node.arguments),fieldNameArg=_node$arguments[0],points=_node$arguments.slice(1);var fieldName=_node_types__WEBPACK_IMPORTED_MODULE_1__["nodeTypes"].literal.toElasticsearchQuery(fieldNameArg);var field=Object(lodash__WEBPACK_IMPORTED_MODULE_0__["get"])(indexPattern,"fields",[]).find(function(field){return field.name===fieldName});var queryParams={points:points.map(_ast__WEBPACK_IMPORTED_MODULE_2__["toElasticsearchQuery"])};if(field&&field.scripted)throw new Error("Geo polygon query does not support scripted fields");return{geo_polygon:(_geo_polygon={},_defineProperty(_geo_polygon,fieldName,queryParams),_defineProperty(_geo_polygon,"ignore_unmapped",true),_geo_polygon)}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildNode",function(){return buildNode});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return toElasticsearchQuery});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);var _ast__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(37);var _node_types__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(22);function buildNode(name,value){var argumentNode="literal"===lodash__WEBPACK_IMPORTED_MODULE_0___default.a.get(value,"type")?value:_node_types__WEBPACK_IMPORTED_MODULE_2__["nodeTypes"].literal.buildNode(value);return{type:"namedArg",name:name,value:argumentNode}}function toElasticsearchQuery(node){return _ast__WEBPACK_IMPORTED_MODULE_1__["toElasticsearchQuery"](node.value)}},function(module,exports){module.exports=function(){"use strict";function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";"function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,peg$SyntaxError)}peg$subclass(peg$SyntaxError,Error);function peg$parse(input){var peg$result,options=arguments.length>1?arguments[1]:{},peg$FAILED={},peg$startRuleFunctions={start:peg$parsestart},peg$startRuleFunction=peg$parsestart,peg$c0=function peg$c0(query){if("literal"===query.type)return addMeta(nodeTypes.function.buildNode("and",[query]),text(),location());return query},peg$c1=/^[ \t\r\n]/,peg$c2={type:"class",value:"[\\ \\t\\r\\n]",description:"[\\ \\t\\r\\n]"},peg$c3=function peg$c3(whitespace){return addMeta(nodeTypes.function.buildNode("is","*","*",false),text(),location())},peg$c4="or",peg$c5={type:"literal",value:"or",description:'"or"'},peg$c6=function peg$c6(left,right){return addMeta(nodeTypes.function.buildNode("or",[left,right]),text(),location())},peg$c7="and",peg$c8={type:"literal",value:"and",description:'"and"'},peg$c9=function peg$c9(left,right){return addMeta(nodeTypes.function.buildNode("and",[left,right]),text(),location())},peg$c10=/^[!]/,peg$c11={type:"class",value:"[!]",description:"[!]"},peg$c12=function peg$c12(clause){return addMeta(nodeTypes.function.buildNode("not",clause),text(),location())},peg$c13="(",peg$c14={type:"literal",value:"(",description:'"("'},peg$c15=")",peg$c16={type:"literal",value:")",description:'")"'},peg$c17=function peg$c17(subQuery){return subQuery},peg$c18=":",peg$c19={type:"literal",value:":",description:'":"'},peg$c20=function peg$c20(field,value){return addMeta(nodeTypes.function.buildNodeWithArgumentNodes("is",[field,value,nodeTypes.literal.buildNode(true)]),text(),location())},peg$c21=":[",peg$c22={type:"literal",value:":[",description:'":["'},peg$c23="to",peg$c24={type:"literal",value:"to",description:'"to"'},peg$c25="]",peg$c26={type:"literal",value:"]",description:'"]"'},peg$c27=function peg$c27(field,gt,lt){return addMeta(nodeTypes.function.buildNodeWithArgumentNodes("range",[field,gt,lt]),text(),location())},peg$c28=function peg$c28(literal){return literal},peg$c29=/^[a-zA-Z]/,peg$c30={type:"class",value:"[a-zA-Z]",description:"[a-zA-Z]"},peg$c31=/^[.a-zA-Z0-9_\-]/,peg$c32={type:"class",value:"[.a-zA-Z0-9_-]",description:"[.a-zA-Z0-9_-]"},peg$c33=function peg$c33(first,rest){return first.join("")+rest.join("")},peg$c34={type:"other",description:"function"},peg$c35=function peg$c35(name,arg_list){return addMeta(nodeTypes.function.buildNodeWithArgumentNodes(name,arg_list||[]),text(),location())},peg$c36=",",peg$c37={type:"literal",value:",",description:'","'},peg$c38=function peg$c38(first,arg){return arg},peg$c39=function peg$c39(first,rest){return[first].concat(rest)},peg$c40="=",peg$c41={type:"literal",value:"=",description:'"="'},peg$c42=function peg$c42(name,value){return addMeta(nodeTypes.namedArg.buildNode(name,value),text(),location())},peg$c43=function peg$c43(element){return element},peg$c44=function peg$c44(literal){var result=addMeta(nodeTypes.literal.buildNode(literal),text(),location());return result},peg$c45={type:"other",description:"literal"},peg$c46='"',peg$c47={type:"literal",value:'"',description:'"\\""'},peg$c48=function peg$c48(chars){return chars.join("")},peg$c49="'",peg$c50={type:"literal",value:"'",description:'"\'"'},peg$c51="true",peg$c52={type:"literal",value:"true",description:'"true"'},peg$c53=function peg$c53(){return true},peg$c54="false",peg$c55={type:"literal",value:"false",description:'"false"'},peg$c56=function peg$c56(){return false},peg$c57="null",peg$c58={type:"literal",value:"null",description:'"null"'},peg$c59=function peg$c59(){return null},peg$c60=/^[^[\]()"',:= \t]/,peg$c61={type:"class",value:"[^\\[\\]()\"',:=\\ \\t]",description:"[^\\[\\]()\"',:=\\ \\t]"},peg$c62=function peg$c62(string){var result=string.join("");if(isNaN(Number(result)))return result;return Number(result)},peg$c63="\\",peg$c64={type:"literal",value:"\\",description:'"\\\\"'},peg$c65=function peg$c65(sequence){return sequence},peg$c66=/^[^"]/,peg$c67={type:"class",value:'[^"]',description:'[^"]'},peg$c68=/^[^']/,peg$c69={type:"class",value:"[^']",description:"[^']"},peg$currPos=0,peg$savedPos=0,peg$posDetailsCache=[{line:1,column:1,seenCR:false}],peg$maxFailPos=0,peg$maxFailExpected=[],peg$silentFails=0;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions))throw new Error("Can't start parsing from rule \""+options.startRule+'".');peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function location(){return peg$computeLocation(peg$savedPos,peg$currPos)}function peg$computePosDetails(pos){var p,ch,details=peg$posDetailsCache[pos];if(details)return details;p=pos-1;while(!peg$posDetailsCache[p])p--;details=peg$posDetailsCache[p];details={line:details.line,column:details.column,seenCR:details.seenCR};while(p<pos){ch=input.charAt(p);if("\n"===ch){details.seenCR||details.line++;details.column=1;details.seenCR=false}else if("\r"===ch||"\u2028"===ch||"\u2029"===ch){details.line++;details.column=1;details.seenCR=true}else{details.column++;details.seenCR=false}p++}peg$posDetailsCache[pos]=details;return details}function peg$computeLocation(startPos,endPos){var startPosDetails=peg$computePosDetails(startPos),endPosDetails=peg$computePosDetails(endPos);return{start:{offset:startPos,line:startPosDetails.line,column:startPosDetails.column},end:{offset:endPos,line:endPosDetails.line,column:endPosDetails.column}}}function peg$fail(expected){if(peg$currPos<peg$maxFailPos)return;if(peg$currPos>peg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildException(message,expected,found,location){function cleanupExpected(expected){var i=1;expected.sort(function(a,b){return a.description<b.description?-1:a.description>b.description?1:0});while(i<expected.length)expected[i-1]===expected[i]?expected.splice(i,1):i++}function buildMessage(expected,found){function stringEscape(s){function hex(ch){return ch.charCodeAt(0).toString(16).toUpperCase()}return s.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(ch){return"\\x0"+hex(ch)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(ch){return"\\x"+hex(ch)}).replace(/[\u0100-\u0FFF]/g,function(ch){return"\\u0"+hex(ch)}).replace(/[\u1000-\uFFFF]/g,function(ch){return"\\u"+hex(ch)})}var expectedDesc,foundDesc,i,expectedDescs=new Array(expected.length);for(i=0;i<expected.length;i++)expectedDescs[i]=expected[i].description;expectedDesc=expected.length>1?expectedDescs.slice(0,-1).join(", ")+" or "+expectedDescs[expected.length-1]:expectedDescs[0];foundDesc=found?'"'+stringEscape(found)+'"':"end of input";return"Expected "+expectedDesc+" but "+foundDesc+" found."}null!==expected&&cleanupExpected(expected);return new peg$SyntaxError(null!==message?message:buildMessage(expected,found),expected,found,location)}function peg$parsestart(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){s2=peg$parseOrQuery();if(s2!==peg$FAILED){s3=peg$parsespace();s3===peg$FAILED&&(s3=null);if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c1.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c2)}while(s2!==peg$FAILED){s1.push(s2);if(peg$c1.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c2)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c3(s1)}s0=s1}return s0}function peg$parseOrQuery(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseAndQuery();if(s1!==peg$FAILED){s2=peg$parsespace();if(s2!==peg$FAILED){if(input.substr(peg$currPos,2).toLowerCase()===peg$c4){s3=input.substr(peg$currPos,2);peg$currPos+=2}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c5)}if(s3!==peg$FAILED){s4=peg$parsespace();if(s4!==peg$FAILED){s5=peg$parseOrQuery();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c6(s1,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseAndQuery());return s0}function peg$parseAndQuery(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseNegatedClause();if(s1!==peg$FAILED){s2=peg$parsespace();if(s2!==peg$FAILED){if(input.substr(peg$currPos,3).toLowerCase()===peg$c7){s3=input.substr(peg$currPos,3);peg$currPos+=3}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c8)}if(s3!==peg$FAILED){s4=peg$parsespace();if(s4!==peg$FAILED){s5=peg$parseAndQuery();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c9(s1,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNegatedClause();if(s1!==peg$FAILED){s2=peg$parsespace();if(s2!==peg$FAILED){s3=peg$currPos;peg$silentFails++;if(input.substr(peg$currPos,2).toLowerCase()===peg$c4){s4=input.substr(peg$currPos,2);peg$currPos+=2}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c5)}peg$silentFails--;if(s4===peg$FAILED)s3=void 0;else{peg$currPos=s3;s3=peg$FAILED}if(s3!==peg$FAILED){s4=peg$parseAndQuery();if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c9(s1,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseNegatedClause())}return s0}function peg$parseNegatedClause(){var s0,s1,s2;s0=peg$currPos;if(peg$c10.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c11)}if(s1!==peg$FAILED){s2=peg$parseClause();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c12(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseClause());return s0}function peg$parseClause(){var s0,s1,s2,s3;s0=peg$currPos;if(40===input.charCodeAt(peg$currPos)){s1=peg$c13;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c14)}if(s1!==peg$FAILED){s2=peg$parsestart();if(s2!==peg$FAILED){if(41===input.charCodeAt(peg$currPos)){s3=peg$c15;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c16)}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c17(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseTerm());return s0}function peg$parseTerm(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;s1=peg$parseliteral_arg_type();if(s1!==peg$FAILED){if(58===input.charCodeAt(peg$currPos)){s2=peg$c18;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c19)}if(s2!==peg$FAILED){s3=peg$parseliteral_arg_type();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c20(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseliteral_arg_type();if(s1!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c21){s2=peg$c21;peg$currPos+=2}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c22)}if(s2!==peg$FAILED){s3=peg$parsespace();s3===peg$FAILED&&(s3=null);if(s3!==peg$FAILED){s4=peg$parseliteral_arg_type();if(s4!==peg$FAILED){s5=peg$parsespace();if(s5!==peg$FAILED){if(input.substr(peg$currPos,2).toLowerCase()===peg$c23){s6=input.substr(peg$currPos,2);peg$currPos+=2}else{s6=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c24)}if(s6!==peg$FAILED){s7=peg$parsespace();if(s7!==peg$FAILED){s8=peg$parseliteral_arg_type();if(s8!==peg$FAILED){s9=peg$parsespace();s9===peg$FAILED&&(s9=null);if(s9!==peg$FAILED){if(93===input.charCodeAt(peg$currPos)){s10=peg$c25;peg$currPos++}else{s10=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c26)}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c27(s1,s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$parsefunction();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$currPos;peg$silentFails++;s2=peg$parseKeywords();peg$silentFails--;if(s2===peg$FAILED)s1=void 0;else{peg$currPos=s1;s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseliteral_arg_type();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c28(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parsefunction_name(){var s0,s1,s2,s3;s0=peg$currPos;s1=[];if(peg$c29.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c30)}if(s2!==peg$FAILED)while(s2!==peg$FAILED){s1.push(s2);if(peg$c29.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c30)}}else s1=peg$FAILED;if(s1!==peg$FAILED){s2=[];if(peg$c31.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c32)}while(s3!==peg$FAILED){s2.push(s3);if(peg$c31.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c32)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c33(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parsefunction(){var s0,s1,s2,s3,s4,s5,s6,s7;peg$silentFails++;s0=peg$currPos;s1=peg$parsefunction_name();if(s1!==peg$FAILED){s2=peg$parsespace();s2===peg$FAILED&&(s2=null);if(s2!==peg$FAILED){if(40===input.charCodeAt(peg$currPos)){s3=peg$c13;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c14)}if(s3!==peg$FAILED){s4=peg$parsespace();s4===peg$FAILED&&(s4=null);if(s4!==peg$FAILED){s5=peg$parsearg_list();s5===peg$FAILED&&(s5=null);if(s5!==peg$FAILED){s6=peg$parsespace();s6===peg$FAILED&&(s6=null);if(s6!==peg$FAILED){if(41===input.charCodeAt(peg$currPos)){s7=peg$c15;peg$currPos++}else{s7=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c16)}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c35(s1,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c34)}return s0}function peg$parsearg_list(){var s0,s1,s2,s3,s4,s5,s6,s7;s0=peg$currPos;s1=peg$parseargument();if(s1!==peg$FAILED){s2=[];s3=peg$currPos;s4=peg$parsespace();s4===peg$FAILED&&(s4=null);if(s4!==peg$FAILED){if(44===input.charCodeAt(peg$currPos)){s5=peg$c36;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c37)}if(s5!==peg$FAILED){s6=peg$parsespace();s6===peg$FAILED&&(s6=null);if(s6!==peg$FAILED){s7=peg$parseargument();if(s7!==peg$FAILED){peg$savedPos=s3;s4=peg$c38(s1,s7);s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}while(s3!==peg$FAILED){s2.push(s3);s3=peg$currPos;s4=peg$parsespace();s4===peg$FAILED&&(s4=null);if(s4!==peg$FAILED){if(44===input.charCodeAt(peg$currPos)){s5=peg$c36;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c37)}if(s5!==peg$FAILED){s6=peg$parsespace();s6===peg$FAILED&&(s6=null);if(s6!==peg$FAILED){s7=peg$parseargument();if(s7!==peg$FAILED){peg$savedPos=s3;s4=peg$c38(s1,s7);s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}if(s2!==peg$FAILED){s3=peg$parsespace();s3===peg$FAILED&&(s3=null);if(s3!==peg$FAILED){if(44===input.charCodeAt(peg$currPos)){s4=peg$c36;peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c37)}s4===peg$FAILED&&(s4=null);if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c39(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseargument(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parsefunction_name();if(s1!==peg$FAILED){s2=peg$parsespace();s2===peg$FAILED&&(s2=null);if(s2!==peg$FAILED){if(61===input.charCodeAt(peg$currPos)){s3=peg$c40;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c41)}if(s3!==peg$FAILED){s4=peg$parsespace();s4===peg$FAILED&&(s4=null);if(s4!==peg$FAILED){s5=peg$parsearg_type();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c42(s1,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsearg_type();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c43(s1)}s0=s1}return s0}function peg$parsearg_type(){var s0;s0=peg$parseOrQuery();s0===peg$FAILED&&(s0=peg$parseliteral_arg_type());return s0}function peg$parseliteral_arg_type(){var s0,s1;s0=peg$currPos;s1=peg$parseliteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c44(s1)}s0=s1;return s0}function peg$parseKeywords(){var s0;if(input.substr(peg$currPos,3).toLowerCase()===peg$c7){s0=input.substr(peg$currPos,3);peg$currPos+=3}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c8)}if(s0===peg$FAILED)if(input.substr(peg$currPos,2).toLowerCase()===peg$c4){s0=input.substr(peg$currPos,2);peg$currPos+=2}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c5)}return s0}function peg$parseliteral(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;if(34===input.charCodeAt(peg$currPos)){s1=peg$c46;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c47)}if(s1!==peg$FAILED){s2=[];s3=peg$parsedq_char();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parsedq_char()}if(s2!==peg$FAILED){if(34===input.charCodeAt(peg$currPos)){s3=peg$c46;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c47)}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c48(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(39===input.charCodeAt(peg$currPos)){s1=peg$c49;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c50)}if(s1!==peg$FAILED){s2=[];s3=peg$parsesq_char();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parsesq_char()}if(s2!==peg$FAILED){if(39===input.charCodeAt(peg$currPos)){s3=peg$c49;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c50)}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c48(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c51){s1=peg$c51;peg$currPos+=4}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c52)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c53()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c54){s1=peg$c54;peg$currPos+=5}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c55)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c56()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c57){s1=peg$c57;peg$currPos+=4}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c58)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c59()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c60.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c61)}if(s2!==peg$FAILED)while(s2!==peg$FAILED){s1.push(s2);if(peg$c60.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c61)}}else s1=peg$FAILED;if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c62(s1)}s0=s1}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c45)}return s0}function peg$parsespace(){var s0,s1;s0=[];if(peg$c1.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c2)}if(s1!==peg$FAILED)while(s1!==peg$FAILED){s0.push(s1);if(peg$c1.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c2)}}else s0=peg$FAILED;return s0}function peg$parsedq_char(){var s0,s1,s2;s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c63;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c64)}if(s1!==peg$FAILED){if(34===input.charCodeAt(peg$currPos)){s2=peg$c46;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c47)}if(s2===peg$FAILED)if(92===input.charCodeAt(peg$currPos)){s2=peg$c63;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c64)}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c65(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED)if(peg$c66.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c67)}return s0}function peg$parsesq_char(){var s0,s1,s2;s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c63;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c64)}if(s1!==peg$FAILED){if(39===input.charCodeAt(peg$currPos)){s2=peg$c49;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c50)}if(s2===peg$FAILED)if(92===input.charCodeAt(peg$currPos)){s2=peg$c63;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c64)}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c65(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED)if(peg$c68.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c69)}return s0}var nodeTypes=options.helpers.nodeTypes;void 0===options.includeMetadata&&(options.includeMetadata=true);function addMeta(source,text,location){if(options.includeMetadata)return Object.assign({},source,{text:text,location:simpleLocation(location)});return source}function simpleLocation(location){return{min:location.start.offset,max:location.end.offset}}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length)return peg$result;peg$result!==peg$FAILED&&peg$currPos<input.length&&peg$fail({type:"end",description:"end of input"});throw peg$buildException(null,peg$maxFailExpected,peg$maxFailPos<input.length?input.charAt(peg$maxFailPos):null,peg$maxFailPos<input.length?peg$computeLocation(peg$maxFailPos,peg$maxFailPos+1):peg$computeLocation(peg$maxFailPos,peg$maxFailPos))}return{SyntaxError:peg$SyntaxError,parse:peg$parse}}()},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"convertPhraseFilter",function(){return convertPhraseFilter});var _node_types__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(22);function convertPhraseFilter(filter){if("phrase"!==filter.meta.type)throw new Error('Expected filter of type "phrase", got "'.concat(filter.meta.type,'"'));var _filter$meta=filter.meta,key=_filter$meta.key,params=_filter$meta.params;return _node_types__WEBPACK_IMPORTED_MODULE_0__["nodeTypes"].function.buildNode("is",key,params.query)}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"convertRangeFilter",function(){return convertRangeFilter});var _node_types__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(22);function convertRangeFilter(filter){if("range"!==filter.meta.type)throw new Error('Expected filter of type "range", got "'.concat(filter.meta.type,'"'));var _filter$meta=filter.meta,key=_filter$meta.key,params=_filter$meta.params;return _node_types__WEBPACK_IMPORTED_MODULE_0__["nodeTypes"].function.buildNode("range",key,params)}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"convertExistsFilter",function(){return convertExistsFilter});var _node_types__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(22);function convertExistsFilter(filter){if("exists"!==filter.meta.type)throw new Error('Expected filter of type "exists", got "'.concat(filter.meta.type,'"'));var key=filter.meta.key;return _node_types__WEBPACK_IMPORTED_MODULE_0__["nodeTypes"].function.buildNode("exists",key)}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"convertGeoBoundingBox",function(){return convertGeoBoundingBox});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);var _node_types__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(22);function convertGeoBoundingBox(filter){if("geo_bounding_box"!==filter.meta.type)throw new Error('Expected filter of type "geo_bounding_box", got "'.concat(filter.meta.type,'"'));var _filter$meta=filter.meta,key=_filter$meta.key,params=_filter$meta.params;var camelParams=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.mapKeys(params,function(value,key){return lodash__WEBPACK_IMPORTED_MODULE_0___default.a.camelCase(key)});return _node_types__WEBPACK_IMPORTED_MODULE_1__["nodeTypes"].function.buildNode("geoBoundingBox",key,camelParams)}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"convertGeoPolygon",function(){return convertGeoPolygon});var _node_types__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(22);function convertGeoPolygon(filter){if("geo_polygon"!==filter.meta.type)throw new Error('Expected filter of type "geo_polygon", got "'.concat(filter.meta.type,'"'));var _filter$meta=filter.meta,key=_filter$meta.key,points=_filter$meta.params.points;return _node_types__WEBPACK_IMPORTED_MODULE_0__["nodeTypes"].function.buildNode("geoPolygon",key,points)}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildQueryFromKuery",function(){return buildQueryFromKuery});var _kuery__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(178);function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function buildQueryFromKuery(indexPattern){var queries=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];var allowLeadingWildcards=arguments.length>2?arguments[2]:void 0;var queryASTs=queries.map(function(query){try{return Object(_kuery__WEBPACK_IMPORTED_MODULE_0__["fromKueryExpression"])(query.query,{allowLeadingWildcards:allowLeadingWildcards})}catch(parseError){try{Object(_kuery__WEBPACK_IMPORTED_MODULE_0__["fromLegacyKueryExpression"])(query.query)}catch(legacyParseError){throw parseError}throw Error("OutdatedKuerySyntaxError")}});return buildQuery(indexPattern,queryASTs)}function buildQuery(indexPattern,queryASTs){var compoundQueryAST=_kuery__WEBPACK_IMPORTED_MODULE_0__["nodeTypes"].function.buildNode("and",queryASTs);var kueryQuery=Object(_kuery__WEBPACK_IMPORTED_MODULE_0__["toElasticsearchQuery"])(compoundQueryAST,indexPattern);return _objectSpread({must:[],filter:[],should:[],must_not:[]},kueryQuery.bool)}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"buildQueryFromLucene",function(){return buildQueryFromLucene});var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(10);var lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);var _decorate_query__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(363);var _lucene_string_to_dsl__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(364);function buildQueryFromLucene(queries,queryStringOptions){var combinedQueries=lodash__WEBPACK_IMPORTED_MODULE_0___default.a.map(queries,function(query){var queryDsl=Object(_lucene_string_to_dsl__WEBPACK_IMPORTED_MODULE_2__["luceneStringToDsl"])(query.query);return Object(_decorate_query__WEBPACK_IMPORTED_MODULE_1__["decorateQuery"])(queryDsl,queryStringOptions)});return{must:[].concat(combinedQueries),filter:[],should:[],must_not:[]}}},function(module,exports,__webpack_require__){module.exports=__webpack_require__},function(module,exports,__webpack_require__){"use strict";__webpack_require__(1015);__webpack_require__(124);__webpack_require__(1016);__webpack_require__(1017);__webpack_require__(25);__webpack_require__(1926);__webpack_require__(1928);__webpack_require__(574);__webpack_require__(1929);__webpack_require__(1930);__webpack_require__(798);__webpack_require__(1953);__webpack_require__(321);__webpack_require__(1966);__webpack_require__(1989);__webpack_require__(2078);__webpack_require__(2079);__webpack_require__(2081);__webpack_require__(2082);__webpack_require__(831);__webpack_require__(2084);__webpack_require__(2085);__webpack_require__(2086);__webpack_require__(2087);__webpack_require__(287);__webpack_require__(2088);__webpack_require__(832);__webpack_require__(2090);__webpack_require__(2091);__webpack_require__(2096);__webpack_require__(2097);__webpack_require__(66);__webpack_require__(6);__webpack_require__(2100);__webpack_require__(2106);__webpack_require__(2107);__webpack_require__(2108);__webpack_require__(2109);__webpack_require__(2112);__webpack_require__(2113);__webpack_require__(472);__webpack_require__(2116);__webpack_require__(2117);__webpack_require__(2118);__webpack_require__(2120);__webpack_require__(2121);__webpack_require__(2122);__webpack_require__(2123);__webpack_require__(2124);__webpack_require__(2125);__webpack_require__(2126);__webpack_require__(2127);__webpack_require__(2129);__webpack_require__(2130);__webpack_require__(2131);__webpack_require__(2132);__webpack_require__(2133);__webpack_require__(2134);__webpack_require__(2135);__webpack_require__(2136);__webpack_require__(2137);__webpack_require__(2138);__webpack_require__(2139);__webpack_require__(2140);__webpack_require__(2141);__webpack_require__(2142);__webpack_require__(2143);__webpack_require__(2144);__webpack_require__(2145);__webpack_require__(2146);__webpack_require__(2147);__webpack_require__(2148);__webpack_require__(2149);__webpack_require__(2150);__webpack_require__(2151);__webpack_require__(2152);__webpack_require__(2153);__webpack_require__(2155);__webpack_require__(2156);__webpack_require__(2157);__webpack_require__(2158);__webpack_require__(2159);__webpack_require__(2163);__webpack_require__(2164);__webpack_require__(2166);__webpack_require__(2167);__webpack_require__(2168);__webpack_require__(2169);__webpack_require__(2170);__webpack_require__(2171);__webpack_require__(2172);__webpack_require__(2173);__webpack_require__(2174);__webpack_require__(2175);__webpack_require__(2176);__webpack_require__(2177);__webpack_require__(2179);__webpack_require__(2180);__webpack_require__(2181);__webpack_require__(2182);__webpack_require__(2183);__webpack_require__(2184);__webpack_require__(2186);__webpack_require__(2187);__webpack_require__(2188);__webpack_require__(2189);__webpack_require__(2190);__webpack_require__(2191);__webpack_require__(2192);__webpack_require__(2195);__webpack_require__(2196);__webpack_require__(2197);__webpack_require__(2198);__webpack_require__(2199);__webpack_require__(2200);__webpack_require__(2201);__webpack_require__(2202);__webpack_require__(2203);__webpack_require__(2204);__webpack_require__(2205);__webpack_require__(2206);__webpack_require__(2207);__webpack_require__(2208);__webpack_require__(2209);__webpack_require__(2210);__webpack_require__(2211);__webpack_require__(2212);__webpack_require__(2213);__webpack_require__(2214);__webpack_require__(2215);__webpack_require__(2216);__webpack_require__(2217);__webpack_require__(2219);__webpack_require__(2220);__webpack_require__(860);__webpack_require__(2230);__webpack_require__(329);__webpack_require__(2231);__webpack_require__(2232);__webpack_require__(861);__webpack_require__(2238);__webpack_require__(862);__webpack_require__(863);__webpack_require__(2239);__webpack_require__(865);__webpack_require__(2244);__webpack_require__(10);__webpack_require__(2295);__webpack_require__(2303);__webpack_require__(2309);__webpack_require__(542);__webpack_require__(2363);__webpack_require__(2364);__webpack_require__(2368);__webpack_require__(896);__webpack_require__(505);__webpack_require__(2418);__webpack_require__(12);__webpack_require__(897);__webpack_require__(2428);__webpack_require__(2430);__webpack_require__(649);__webpack_require__(650);__webpack_require__(651);__webpack_require__(34);__webpack_require__(652);__webpack_require__(83);__webpack_require__(72);__webpack_require__(2431);__webpack_require__(2442);__webpack_require__(2460);__webpack_require__(2538);__webpack_require__(2561);__webpack_require__(2590);__webpack_require__(0);__webpack_require__(17);__webpack_require__(2613);__webpack_require__(2658);__webpack_require__(927);__webpack_require__(2659);__webpack_require__(2660);__webpack_require__(766);__webpack_require__(2661);__webpack_require__(2662);__webpack_require__(2693);__webpack_require__(503);__webpack_require__(485);__webpack_require__(2776);__webpack_require__(2777);__webpack_require__(2786);__webpack_require__(2787);__webpack_require__(993);__webpack_require__(210);__webpack_require__(336);__webpack_require__(817);__webpack_require__(820);__webpack_require__(2788);__webpack_require__(2791);__webpack_require__(2792);__webpack_require__(2793);__webpack_require__(2794);__webpack_require__(2795);__webpack_require__(2796);__webpack_require__(2797);__webpack_require__(2798);__webpack_require__(2799);__webpack_require__(2800);__webpack_require__(2801);__webpack_require__(2802);__webpack_require__(994);__webpack_require__(895);__webpack_require__(209);__webpack_require__(2838);__webpack_require__(2840);__webpack_require__(175);__webpack_require__(2842);__webpack_require__(2843);__webpack_require__(499);__webpack_require__(864);__webpack_require__(2844);__webpack_require__(53);__webpack_require__(573);__webpack_require__(2847)},function(module,exports,__webpack_require__){"use strict";__webpack_require__.nc=window.__kbnNonce__},function(module){module.exports={paddingSizes:{xs:"4px",s:"8px",m:"16px",l:"24px",xl:"32px"},avatarSizing:{s:{size:"24px",fontSize:"10.8px"},m:{size:"32px",fontSize:"14.4px"},l:{size:"40px",fontSize:"19.200000000000003px"},xl:{size:"64px",fontSize:"25.6px"}},badgeTypes:{default:"rgb(211, 218, 230)",primary:"rgb(105, 178, 228)",secondary:"rgb(112, 218, 209)",warning:"rgb(231, 194, 116)",danger:"rgb(236, 142, 136)",accent:"rgb(237, 198, 217)"},euiBreadcrumbSpacing:"8px",euiBreadcrumbTruncateWidth:"160px",euiBreadcrumbMinWidth:"56px",buttonTypes:{primary:"rgb(0, 107, 180)",secondary:"rgb(1, 125, 115)",warning:"rgb(245, 167, 0)",danger:"rgb(189, 39, 30)",ghost:"rgb(255, 255, 255)",text:"rgb(105, 112, 125)"},euiButtonHeight:"40px",euiButtonHeightSmall:"32px",euiButtonColorDisabled:"rgb(192, 192, 192)",euiButtonToggleBorderColor:"rgb(211, 218, 230)",euiCallOutTypes:{primary:"rgb(0, 107, 180)",success:"rgb(1, 125, 115)",warning:"rgb(245, 167, 0)",danger:"rgb(189, 39, 30)"},callOutTypes:{primary:"rgb(0, 107, 180)",success:"rgb(1, 125, 115)",warning:"rgb(245, 167, 0)",danger:"rgb(189, 39, 30)"},euiCardSpacing:"16px",euiCardTitleSize:"18px",euiCardGraphicHeight:"40px",colorPickerSize:"20px",euiContextMenuWidth:"256px",euiSuperDatePickerWidth:"480px",euiSuperDatePickerButtonWidth:"118px",euiExpressionColors:{subdued:"rgb(152, 162, 179)",primary:"rgb(0, 107, 180)",secondary:"rgb(1, 125, 115)",warning:"rgb(245, 167, 0)",danger:"rgb(189, 39, 30)",accent:"rgb(221, 10, 115)"},gutterTypes:{gutterExtraSmall:"4px",gutterSmall:"8px",gutterMedium:"16px",gutterLarge:"24px",gutterExtraLarge:"40px"},fractions:{fourths:"25%",thirds:"33.3%",halves:"50%",single:"100%"},flyoutSizes:{small:{min:"384px",width:"25vw",max:"575px"},medium:{min:"537.5999999999999px",width:"50vw",max:"768px"},large:{min:"691.2px",width:"75vw",max:"992px"}},euiFormMaxWidth:"400px",euiFormControlHeight:"40px",euiFormControlCompressedHeight:"32px",euiFormControlPadding:"12px",euiFormControlCompressedPadding:"8px",euiRadioSize:"16px",euiCheckBoxSize:"16px",euiSwitchHeight:"20px",euiSwitchWidth:"44px",euiSwitchThumbSize:"20px",euiSwitchIconHeight:"16px",euiFormBackgroundColor:"rgb(251, 252, 253)",euiFormBackgroundDisabledColor:"rgb(238, 242, 247)",euiFormBorderColor:"rgba(0, 0, 0, 0.09999999999999998)",euiFormBorderDisabledColor:"rgba(0, 0, 0, 0.07999999999999996)",euiFormCustomControlDisabledIconColor:"rgb(94, 100, 111)",euiFormControlDisabledColor:"rgb(152, 162, 179)",euiRangeLevelColors:{primary:"rgb(0, 107, 180)",success:"rgb(1, 125, 115)",warning:"rgb(245, 167, 0)",danger:"rgb(189, 39, 30)"},euiRangeTrackColor:"rgb(105, 112, 125)",euiRangeThumbRadius:"50%",euiRangeThumbHeight:"16px",euiRangeThumbWidth:"16px",euiRangeThumbBorderColor:"rgb(105, 112, 125)",euiRangeTrackWidth:"100%",euiRangeTrackHeight:"2px",euiRangeTrackBorderWidth:0,euiRangeTrackBorderColor:"rgb(105, 112, 125)",euiRangeTrackRadius:"4px",textareaResizing:{vertical:"resizeVertical",horizontal:"resizeHorizontal",both:"resizeBoth",none:"resizeNone"},euiHeaderBackgroundColor:"rgb(255, 255, 255)",euiHeaderBreadcrumbColor:"rgb(52, 55, 65)",euiHeaderChildSize:"48px",ruleMargins:{marginXSmall:"8px",marginSmall:"12px",marginMedium:"16px",marginLarge:"24px",marginXLarge:"32px",marginXxLarge:"40px"},euiKeyPadMenuSize:"96px",textColors:{default:"rgb(45, 45, 45)",subdued:"rgb(105, 112, 125)",secondary:"rgb(1, 125, 115)",accent:"rgb(221, 10, 115)",warning:"rgb(245, 167, 0)",danger:"rgb(189, 39, 30)",ghost:"rgb(255, 255, 255)"},euiNavDrawerBackgroundColor:"rgb(255, 255, 255)",euiNavDrawerWidthExpanded:"240px",euiNavDrawerWidthCollapsed:"48px",euiNavDrawerSideShadow:"2px 0 2px -1px rgba(152, 162, 179, 0.3)",euiNavDrawerTopPosition:"49px",euiNavDrawerExpandingDelay:"250ms",euiNavDrawerContractingDelay:"150ms",euiNavDrawerExtendedDelay:"1000ms",euiNavDrawerMenuAddedDelay:"90ms",euiPanelPaddingModifiers:{paddingSmall:"8px",paddingMedium:"16px",paddingLarge:"24px"},euiPanelBorderColor:"rgb(193, 199, 209)",euiPopoverArrowSize:"12px",euiPopoverTranslateDistance:"8px",euiProgressSizes:{xs:"2px",s:"4px",m:"8px",l:"16px"},euiProgressColors:{primary:"rgb(0, 107, 180)",secondary:"rgb(1, 125, 115)",warning:"rgb(245, 167, 0)",danger:"rgb(189, 39, 30)",accent:"rgb(221, 10, 115)",subdued:"rgb(152, 162, 179)"},spacerSizes:{xs:"4px",s:"8px",m:"16px",l:"24px",xl:"32px",xxl:"40px"},euiStepNumberSize:"32px",euiStepNumberMargin:"16px",euiStepStatusColorsToFade:{warning:"rgb(245, 167, 0)",danger:"rgb(189, 39, 30)",disabled:"rgb(105, 112, 125)",incomplete:"rgb(105, 112, 125)"},euiTableCellContentPadding:"8px",euiTableCellContentPaddingCompressed:"4px",euiTableCellCheckboxWidth:"32px",euiTableActionsAreaWidth:"40px",euiTableHoverColor:"rgb(250, 251, 253)",euiTableSelectedColor:"rgb(238, 245, 250)",euiTableHoverSelectedColor:"rgb(230, 240, 248)",euiTableActionsBorderColor:"rgba(152, 162, 179, 0.09999999999999998)",euiTableHoverClickableColor:"rgba(0, 107, 180, 0.050000000000000044)",euiTableFocusClickableColor:"rgba(0, 107, 180, 0.09999999999999998)",euiTabFontSize:"15.99999996px",euiTabFontSizeS:"14px",euiTextConstrainedMaxWidth:"36em",euiToastWidth:"320px",toastTypes:{primary:"rgb(0, 107, 180)",success:"rgb(1, 125, 115)",warning:"rgb(245, 167, 0)",danger:"rgb(189, 39, 30)"},tokenTypes:{tokenTint01:"rgb(0, 107, 180)",tokenTint02:"rgb(221, 10, 115)",tokenTint03:"rgb(73, 0, 146)",tokenTint04:"rgb(249, 133, 16)",tokenTint05:"rgb(49, 133, 252)",tokenTint06:"rgb(230, 194, 32)",tokenTint07:"rgb(0, 179, 164)",tokenTint08:"rgb(146, 0, 0)",tokenTint09:"rgb(255, 0, 255)",tokenTint10:"rgb(38, 171, 0)",tokenTint11:"rgb(76, 22, 4)",tokenTint12:"rgb(102, 102, 102)"},euiTooltipAnimations:{top:"euiToolTipTop",left:"euiToolTipBottom",bottom:"euiToolTipLeft",right:"euiToolTipRight"},euiFocusRingColor:"rgba(0, 107, 180, 0.3)",euiFocusRingAnimStartColor:"rgba(0, 107, 180, 0)",euiFocusRingSize:"2px",euiFocusRingSizeLarge:"4px",euiAnimSlightBounce:"cubic-bezier(0.34, 1.61, 0.7, 1)",euiAnimSlightResistance:"cubic-bezier(0.694, 0.0482, 0.335, 1)",euiAnimSpeedExtraFast:"90ms",euiAnimSpeedFast:"150ms",euiAnimSpeedNormal:"250ms",euiAnimSpeedSlow:"350ms",euiAnimSpeedExtraSlow:"500ms",euiBorderWidthThin:"1px",euiBorderWidthThick:"2px",euiBorderColor:"rgb(211, 218, 230)",euiBorderRadius:"4px",euiBorderThick:"2px solid rgb(211, 218, 230)",euiBorderThin:"1px solid rgb(211, 218, 230)",euiBorderEditable:"2px dotted rgb(211, 218, 230)",euiColorPrimary:"rgb(0, 107, 180)",euiColorSecondary:"rgb(1, 125, 115)",euiColorAccent:"rgb(221, 10, 115)",euiColorHighlight:"rgb(255, 251, 241)",euiColorGhost:"rgb(255, 255, 255)",euiColorSuccess:"rgb(1, 125, 115)",euiColorDanger:"rgb(189, 39, 30)",euiColorWarning:"rgb(245, 167, 0)",euiColorEmptyShade:"rgb(255, 255, 255)",euiColorLightestShade:"rgb(245, 247, 250)",euiColorLightShade:"rgb(211, 218, 230)",euiColorMediumShade:"rgb(152, 162, 179)",euiColorDarkShade:"rgb(105, 112, 125)",euiColorDarkestShade:"rgb(52, 55, 65)",euiColorFullShade:"rgb(0, 0, 0)",euiTextColor:"rgb(45, 45, 45)",euiTitleColor:"rgb(23, 23, 23)",euiLinkColor:"rgb(0, 107, 180)",euiFocusBackgroundColor:"rgb(230, 240, 248)",euiPageBackgroundColor:"rgb(250, 251, 253)",euiColorVis0:"rgb(0, 179, 164)",euiColorVis1:"rgb(49, 133, 252)",euiColorVis2:"rgb(219, 19, 116)",euiColorVis3:"rgb(73, 0, 146)",euiColorVis4:"rgb(254, 182, 219)",euiColorVis5:"rgb(230, 194, 32)",euiColorVis6:"rgb(191, 161, 128)",euiColorVis7:"rgb(249, 133, 16)",euiColorVis8:"rgb(70, 26, 10)",euiColorVis9:"rgb(146, 0, 0)",euiCodeBlockBackgroundColor:"rgb(245, 247, 250)",euiCodeBlockColor:"rgb(45, 45, 45)",euiCodeBlockSelectedBackgroundColor:"inherit",euiCodeBlockCommentColor:"rgb(153, 153, 136)",euiCodeBlockSelectorTagColor:"inherit",euiCodeBlockStringColor:"rgb(221, 10, 115)",euiCodeBlockNumberColor:"rgb(0, 166, 155)",euiCodeBlockKeywordColor:"rgb(51, 51, 51)",euiCodeBlockFunctionTitleColor:"inherit",euiCodeBlockTagColor:"rgb(0, 121, 165)",euiCodeBlockNameColor:"inherit",euiCodeBlockTypeColor:"rgb(0, 121, 165)",euiCodeBlockAttributeColor:"inherit",euiCodeBlockSymbolColor:"rgb(153, 0, 115)",euiCodeBlockParamsColor:"inherit",euiCodeBlockMetaColor:"rgb(153, 153, 153)",euiCodeBlockTitleColor:"rgb(153, 0, 0)",euiCodeBlockRegexpColor:"rgb(0, 153, 38)",euiCodeBlockBuiltInColor:"rgb(0, 134, 179)",euiCodeBlockSectionColor:"rgb(255, 198, 109)",euiCodeBlockAdditionBackgroundColor:"rgb(221, 255, 221)",euiCodeBlockAdditionColor:"inherit",euiCodeBlockDeletionBackgroundColor:"rgb(255, 221, 221)",euiCodeBlockDeletionColor:"inherit",euiCodeBlockSelectorClassColor:"inherit",euiCodeBlockSelectorIdColor:"inherit",euiBreakpoints:{xs:0,s:"575px",m:"768px",l:"992px",xl:"1200px"},euiBreakpointKeys:"'xs', 's', 'm', 'l', 'xl'",euiShadowColor:"rgb(152, 162, 179)",euiShadowColorLarge:"rgb(65, 78, 101)",euiSize:"16px",euiSizeXs:"4px",euiSizeS:"8px",euiSizeM:"12px",euiSizeL:"24px",euiSizeXl:"32px",euiSizeXxl:"40px",euiButtonMinWidth:"112px",euiFontFamily:"'Open Sans', 'Segoe UI', 'Helvetica', 'Arial', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",euiCodeFontFamily:"'Roboto Mono', 'Consolas', 'Menlo', 'Courier', monospace",euiFontFeatureSettings:"calt 1 kern 1 liga 1",euiTextScale:"2.28571429 1.71428571 1.28571429 1.14285714 1 1 0.85714286",euiFontSize:"14px",euiFontSizeXs:"12.00000004px",euiFontSizeS:"14px",euiFontSizeM:"15.99999996px",euiFontSizeL:"18.00000006px",euiFontSizeXl:"23.99999994px",euiFontSizeXxl:"32.00000006px",euiLineHeight:1.5,euiFontWeightLight:600,euiFontWeightRegular:400,euiFontWeightMedium:600,euiFontWeightSemiBold:600,euiFontWeightBold:700,euiZLevel0:0,euiZLevel1:1e3,euiZLevel2:2e3,euiZLevel3:3e3,euiZLevel4:4e3,euiZLevel5:5e3,euiZLevel6:6e3,euiZLevel7:7e3,euiZLevel8:8e3,euiZLevel9:9e3,euiZContent:0,euiZHeader:1e3,euiZContentMenu:2e3,euiZNavigation:4e3,euiZMask:6e3,euiZModal:8e3,euiZComboBox:8001,euiZToastList:9e3}},function(module,exports,__webpack_require__){"use strict";__webpack_require__(3);__webpack_require__(4);__webpack_require__(2);Object.defineProperty(exports,"__esModule",{value:true});var _exportNames={Packages:true};exports.Packages=void 0;var Packages=_interopRequireWildcard(__webpack_require__(551));exports.Packages=Packages;var _components=__webpack_require__(1030);Object.keys(_components).forEach(function(key){if("default"===key||"__esModule"===key)return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _components[key]}})});var _experimental=__webpack_require__(1842);Object.keys(_experimental).forEach(function(key){if("default"===key||"__esModule"===key)return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _experimental[key]}})});var _services=__webpack_require__(25);Object.keys(_services).forEach(function(key){if("default"===key||"__esModule"===key)return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _services[key]}})});var _utils=__webpack_require__(584);Object.keys(_utils).forEach(function(key){if("default"===key||"__esModule"===key)return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _utils[key]}})});function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}},function(module,exports){module.exports=function(done,value){return{value:value,done:!!done}}},function(module,exports,__webpack_require__){"use strict";var create=__webpack_require__(370);var descriptor=__webpack_require__(224);var setToStringTag=__webpack_require__(277);var IteratorPrototype={};__webpack_require__(125)(IteratorPrototype,__webpack_require__(40)("iterator"),function(){return this});module.exports=function(Constructor,NAME,next){Constructor.prototype=create(IteratorPrototype,{next:descriptor(1,next)});setToStringTag(Constructor,NAME+" Iterator")}},function(module,exports,__webpack_require__){var dP=__webpack_require__(76);var anObject=__webpack_require__(77);var getKeys=__webpack_require__(150);module.exports=__webpack_require__(78)?Object.defineProperties:function defineProperties(O,Properties){anObject(O);var keys=getKeys(Properties);var length=keys.length;var i=0;var P;while(length>i)dP.f(O,P=keys[i++],Properties[P]);return O}},function(module,exports,__webpack_require__){"use strict";(function(global){Object.defineProperty(exports,"__esModule",{value:true});function _interopDefault(ex){return ex&&"object"===typeof ex&&"default"in ex?ex["default"]:ex}var React=__webpack_require__(0);var React__default=_interopDefault(React);var PropTypes=_interopDefault(__webpack_require__(1));var classnames=_interopDefault(__webpack_require__(6));var FocusTrap=_interopDefault(__webpack_require__(126));var reactDom=__webpack_require__(72);var moment=_interopDefault(__webpack_require__(53));var _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};var classCallCheck=function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")};var createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var inherits=function(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)};var possibleConstructorReturn=function(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call};var ScreenReaderOnly=function ScreenReaderOnly(_ref){var children=_ref.children;var classes=classnames("react-datepicker__screenReaderOnly",children.props.className);var props=_extends({},children.props,{className:classes});return React.cloneElement(children,props)};ScreenReaderOnly.propTypes={children:PropTypes.node};function generateYears(year,noOfYear,minDate,maxDate){var list=[];for(var i=0;i<2*noOfYear+1;i++){var newYear=year+noOfYear-i;var isInRange=true;minDate&&(isInRange=minDate.year()<=newYear);maxDate&&isInRange&&(isInRange=maxDate.year()>=newYear);isInRange&&list.push(newYear)}return list}var YearDropdownOptions=function(_React$Component){inherits(YearDropdownOptions,_React$Component);function YearDropdownOptions(props){classCallCheck(this,YearDropdownOptions);var _this=possibleConstructorReturn(this,_React$Component.call(this,props));_this.renderOptions=function(){var selectedYear=_this.props.year;var options=_this.state.yearsList.map(function(year){return React__default.createElement("div",{className:classnames("react-datepicker__year-option",{"react-datepicker__year-option--selected_year":selectedYear===year,"react-datepicker__year-option--preselected":_this.props.accessibleMode&&_this.state.preSelection===year}),key:year,ref:function ref(div){_this.props.accessibleMode&&_this.state.preSelection===year&&(_this.preSelectionDiv=div)},onClick:_this.onChange.bind(_this,year)},selectedYear===year?React__default.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",year)});var minYear=_this.props.minDate?_this.props.minDate.year():null;var maxYear=_this.props.maxDate?_this.props.maxDate.year():null;maxYear&&_this.state.yearsList.find(function(year){return year===maxYear})||options.unshift(React__default.createElement("div",{className:"react-datepicker__year-option",ref:"upcoming",key:"upcoming",onClick:_this.incrementYears},React__default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"})));minYear&&_this.state.yearsList.find(function(year){return year===minYear})||options.push(React__default.createElement("div",{className:"react-datepicker__year-option",ref:"previous",key:"previous",onClick:_this.decrementYears},React__default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"})));return options};_this.onFocus=function(){_this.props.accessibleMode&&_this.setState({readInstructions:true})};_this.onChange=function(year){_this.props.onChange(year)};_this.handleClickOutside=function(){_this.props.onCancel()};_this.shiftYears=function(amount){var years=_this.state.yearsList.map(function(year){return year+amount});_this.setState({yearsList:years})};_this.incrementYears=function(){return _this.shiftYears(1)};_this.decrementYears=function(){return _this.shiftYears(-1)};_this.onInputKeyDown=function(event){var eventKey=event.key;var selectionChange=0;switch(eventKey){case"ArrowUp":event.preventDefault();event.stopPropagation();selectionChange=-1;break;case"ArrowDown":event.preventDefault();event.stopPropagation();selectionChange=1;break;case"Escape":event.preventDefault();event.stopPropagation();_this.props.onCancel();break;case" ":case"Enter":event.preventDefault();event.stopPropagation();_this.props.onChange(_this.state.preSelection)}selectionChange&&_this.setState(function(_ref){var preSelection=_ref.preSelection;var maxYear=_this.state.yearsList[0];var minYear=_this.state.yearsList[_this.state.yearsList.length-1];var nextSelection=preSelection+selectionChange;nextSelection<minYear&&(nextSelection=maxYear);nextSelection>maxYear&&(nextSelection=minYear);return{preSelection:nextSelection}})};var yearDropdownItemNumber=props.yearDropdownItemNumber,scrollableYearDropdown=props.scrollableYearDropdown;var noOfYear=yearDropdownItemNumber||(scrollableYearDropdown?10:5);_this.state={yearsList:generateYears(_this.props.year,noOfYear,_this.props.minDate,_this.props.maxDate),preSelection:_this.props.year,readInstructions:false};return _this}YearDropdownOptions.prototype.componentDidMount=function componentDidMount(){this.preSelectionDiv&&this.preSelectionDiv.scrollIntoView({behavior:"instant",block:"nearest",inline:"nearest"})};YearDropdownOptions.prototype.componentDidUpdate=function componentDidUpdate(prevProps,prevState){this.preSelectionDiv&&prevState.preSelection!==this.state.preSelection&&this.preSelectionDiv.scrollIntoView({behavior:"instant",block:"nearest",inline:"nearest"})};YearDropdownOptions.prototype.render=function render(){var dropdownClass=classnames({"react-datepicker__year-dropdown":true,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});var screenReaderInstructions=void 0;this.state.readInstructions&&(screenReaderInstructions=React__default.createElement("p",{"aria-live":true},"You are focused on a year selector menu. Use the up and down arrows to select a year, then hit enter to confirm your selection.",this.state.preSelection," is the currently focused year."));return this.props.accessibleMode?React__default.createElement(FocusTrap,null,React__default.createElement("div",{className:dropdownClass,tabIndex:"0",onKeyDown:this.onInputKeyDown,onFocus:this.onFocus},React__default.createElement(ScreenReaderOnly,null,React__default.createElement("span",null,screenReaderInstructions)),this.renderOptions())):React__default.createElement("div",{className:dropdownClass},this.renderOptions())};return YearDropdownOptions}(React__default.Component);YearDropdownOptions.propTypes={minDate:PropTypes.object,maxDate:PropTypes.object,onCancel:PropTypes.func.isRequired,onChange:PropTypes.func.isRequired,scrollableYearDropdown:PropTypes.bool,year:PropTypes.number.isRequired,yearDropdownItemNumber:PropTypes.number,accessibleMode:PropTypes.bool};function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function isNodeFound(current,componentNode,ignoreClass){if(current===componentNode)return true;if(current.correspondingElement)return current.correspondingElement.classList.contains(ignoreClass);return current.classList.contains(ignoreClass)}function findHighest(current,componentNode,ignoreClass){if(current===componentNode)return true;while(current.parentNode){if(isNodeFound(current,componentNode,ignoreClass))return true;current=current.parentNode}return current}function clickedScrollbar(evt){return document.documentElement.clientWidth<=evt.clientX||document.documentElement.clientHeight<=evt.clientY}var testPassiveEventSupport=function testPassiveEventSupport(){if("undefined"===typeof window||"function"!==typeof window.addEventListener)return;var passive=false;var options=Object.defineProperty({},"passive",{get:function get(){passive=true}});var noop=function noop(){};window.addEventListener("testPassiveEventSupport",noop,options);window.removeEventListener("testPassiveEventSupport",noop,options);return passive};function autoInc(seed){void 0===seed&&(seed=0);return function(){return++seed}}var uid=autoInc();var passiveEventSupport;var handlersMap={};var enabledInstances={};var touchEvents=["touchstart","touchmove"];var IGNORE_CLASS_NAME="ignore-react-onclickoutside";function getEventHandlerOptions(instance,eventName){var handlerOptions=null;var isTouchEvent=-1!==touchEvents.indexOf(eventName);isTouchEvent&&passiveEventSupport&&(handlerOptions={passive:!instance.props.preventDefault});return handlerOptions}function onClickOutsideHOC(WrappedComponent,config){var _class,_temp;return _temp=_class=function(_Component){_inheritsLoose(onClickOutside,_Component);function onClickOutside(props){var _this;_this=_Component.call(this,props)||this;_this.__outsideClickHandler=function(event){if("function"===typeof _this.__clickOutsideHandlerProp){_this.__clickOutsideHandlerProp(event);return}var instance=_this.getInstance();if("function"===typeof instance.props.handleClickOutside){instance.props.handleClickOutside(event);return}if("function"===typeof instance.handleClickOutside){instance.handleClickOutside(event);return}throw new Error("WrappedComponent lacks a handleClickOutside(event) function for processing outside click events.")};_this.enableOnClickOutside=function(){if("undefined"===typeof document||enabledInstances[_this._uid])return;"undefined"===typeof passiveEventSupport&&(passiveEventSupport=testPassiveEventSupport());enabledInstances[_this._uid]=true;var events=_this.props.eventTypes;events.forEach||(events=[events]);handlersMap[_this._uid]=function(event){if(_this.props.disableOnClickOutside)return;if(null===_this.componentNode)return;_this.props.preventDefault&&event.preventDefault();_this.props.stopPropagation&&event.stopPropagation();if(_this.props.excludeScrollbar&&clickedScrollbar(event))return;var current=event.target;if(findHighest(current,_this.componentNode,_this.props.outsideClickIgnoreClass)!==document)return;_this.__outsideClickHandler(event)};events.forEach(function(eventName){document.addEventListener(eventName,handlersMap[_this._uid],getEventHandlerOptions(_this,eventName))})};_this.disableOnClickOutside=function(){delete enabledInstances[_this._uid];var fn=handlersMap[_this._uid];if(fn&&"undefined"!==typeof document){var events=_this.props.eventTypes;events.forEach||(events=[events]);events.forEach(function(eventName){return document.removeEventListener(eventName,fn,getEventHandlerOptions(_this,eventName))});delete handlersMap[_this._uid]}};_this.getRef=function(ref){return _this.instanceRef=ref};_this._uid=uid();return _this}var _proto=onClickOutside.prototype;_proto.getInstance=function getInstance(){if(!WrappedComponent.prototype.isReactComponent)return this;var ref=this.instanceRef;return ref.getInstance?ref.getInstance():ref};_proto.componentDidMount=function componentDidMount(){if("undefined"===typeof document||!document.createElement)return;var instance=this.getInstance();if(config&&"function"===typeof config.handleClickOutside){this.__clickOutsideHandlerProp=config.handleClickOutside(instance);if("function"!==typeof this.__clickOutsideHandlerProp)throw new Error("WrappedComponent lacks a function for processing outside click events specified by the handleClickOutside config option.")}this.componentNode=reactDom.findDOMNode(this.getInstance());this.enableOnClickOutside()};_proto.componentDidUpdate=function componentDidUpdate(){this.componentNode=reactDom.findDOMNode(this.getInstance())};_proto.componentWillUnmount=function componentWillUnmount(){this.disableOnClickOutside()};_proto.render=function render(){var _props=this.props,props=(_props.excludeScrollbar,_objectWithoutProperties(_props,["excludeScrollbar"]));WrappedComponent.prototype.isReactComponent?props.ref=this.getRef:props.wrappedRef=this.getRef;props.disableOnClickOutside=this.disableOnClickOutside;props.enableOnClickOutside=this.enableOnClickOutside;return React.createElement(WrappedComponent,props)};return onClickOutside}(React.Component),_class.displayName="OnClickOutside("+(WrappedComponent.displayName||WrappedComponent.name||"Component")+")",_class.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:config&&config.excludeScrollbar||false,outsideClickIgnoreClass:IGNORE_CLASS_NAME,preventDefault:false,stopPropagation:false},_class.getClass=function(){return WrappedComponent.getClass?WrappedComponent.getClass():WrappedComponent},_temp}var dayOfWeekCodes={1:"mon",2:"tue",3:"wed",4:"thu",5:"fri",6:"sat",7:"sun"};function set$1(date,unit,to){return date.set(unit,to)}function add(date,amount,unit){return date.add(amount,unit)}function subtract(date,amount,unit){return date.subtract(amount,unit)}function get$1(date,unit){return date.get(unit)}function getStartOf(date,unit){return date.startOf(unit)}function newDate(point){return moment(point)}function newDateWithOffset(utcOffset){return moment().utc().utcOffset(utcOffset)}function now(maybeFixedUtcOffset){if(null==maybeFixedUtcOffset)return newDate();return newDateWithOffset(maybeFixedUtcOffset)}function cloneDate(date){return date.clone()}function parseDate(value,_ref){var dateFormat=_ref.dateFormat,locale=_ref.locale;var m=moment(value,dateFormat,locale||moment.locale(),true);return m.isValid()?m:null}function isMoment(date){return moment.isMoment(date)}function isDate(date){return moment.isDate(date)}function formatDate(date,format){return date.format(format)}function safeDateFormat(date,_ref2){var dateFormat=_ref2.dateFormat,locale=_ref2.locale;return date&&date.clone().locale(locale||moment.locale()).format(Array.isArray(dateFormat)?dateFormat[0]:dateFormat)||""}function setTime(date,_ref3){var hour=_ref3.hour,minute=_ref3.minute,second=_ref3.second,millisecond=_ref3.millisecond;date.set({hour:hour,minute:minute,second:second,millisecond:millisecond});return date}function setMonth(date,month){return set$1(date,"month",month)}function setYear(date,year){return set$1(date,"year",year)}function getMillisecond(date){return get$1(date,"millisecond")}function getSecond(date){return get$1(date,"second")}function getMinute(date){return get$1(date,"minute")}function getHour(date){return get$1(date,"hour")}function getDay(date){return get$1(date,"day")}function getWeek(date){return get$1(date,"week")}function getMonth(date){return get$1(date,"month")}function getYear(date){return get$1(date,"year")}function getDate(date){return get$1(date,"date")}function getDayOfWeekCode(day){return dayOfWeekCodes[day.isoWeekday()]}function getStartOfDay(date){return getStartOf(date,"day")}function getStartOfWeek(date){return getStartOf(date,"week")}function getStartOfMonth(date){return getStartOf(date,"month")}function getStartOfDate(date){return getStartOf(date,"date")}function addMinutes(date,amount){return add(date,amount,"minutes")}function addHours(date,amount){return add(date,amount,"hours")}function addDays(date,amount){return add(date,amount,"days")}function addWeeks(date,amount){return add(date,amount,"weeks")}function addMonths(date,amount){return add(date,amount,"months")}function addYears(date,amount){return add(date,amount,"years")}function subtractDays(date,amount){return subtract(date,amount,"days")}function subtractWeeks(date,amount){return subtract(date,amount,"weeks")}function subtractMonths(date,amount){return subtract(date,amount,"months")}function subtractYears(date,amount){return subtract(date,amount,"years")}function isBefore(date1,date2){return date1.isBefore(date2)}function isAfter(date1,date2){return date1.isAfter(date2)}function equals(date1,date2){return date1.isSame(date2)}function isSameYear(date1,date2){return date1&&date2?date1.isSame(date2,"year"):!date1&&!date2}function isSameMonth(date1,date2){return date1&&date2?date1.isSame(date2,"month"):!date1&&!date2}function isSameDay(moment1,moment2){return moment1&&moment2?moment1.isSame(moment2,"day"):!moment1&&!moment2}function isDayInRange(day,startDate,endDate){var before=startDate.clone().startOf("day").subtract(1,"seconds");var after=endDate.clone().startOf("day").add(1,"seconds");return day.clone().startOf("day").isBetween(before,after)}function localizeDate(date,locale){return date.clone().locale(locale||moment.locale())}function getLocaleData(date){return date.localeData()}function getLocaleDataForLocale(locale){return moment.localeData(locale)}function getFormattedWeekdayInLocale(locale,date,formatFunc){return formatFunc(locale.weekdays(date))}function getWeekdayMinInLocale(locale,date){return locale.weekdaysMin(date)}function getWeekdayShortInLocale(locale,date){return locale.weekdaysShort(date)}function getMonthInLocale(locale,date,format){return locale.months(date,format)}function getMonthShortInLocale(locale,date){return locale.monthsShort(date)}function isDayDisabled(day){var _ref4=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},minDate=_ref4.minDate,maxDate=_ref4.maxDate,excludeDates=_ref4.excludeDates,includeDates=_ref4.includeDates,filterDate=_ref4.filterDate;return minDate&&day.isBefore(minDate,"day")||maxDate&&day.isAfter(maxDate,"day")||excludeDates&&excludeDates.some(function(excludeDate){return isSameDay(day,excludeDate)})||includeDates&&!includeDates.some(function(includeDate){return isSameDay(day,includeDate)})||filterDate&&!filterDate(day.clone())||false}function isOutOfBounds(day){var _ref5=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},minDate=_ref5.minDate,maxDate=_ref5.maxDate;return minDate&&day.isBefore(minDate,"day")||maxDate&&day.isAfter(maxDate,"day")}function isTimeDisabled(time,disabledTimes){var l=disabledTimes.length;for(var i=0;i<l;i++)if(disabledTimes[i].get("hours")===time.get("hours")&&disabledTimes[i].get("minutes")===time.get("minutes"))return true;return false}function isTimeInDisabledRange(time,_ref6){var minTime=_ref6.minTime,maxTime=_ref6.maxTime;if(!minTime||!maxTime)throw new Error("Both minTime and maxTime props required");var base=moment().hours(0).minutes(0).seconds(0);var baseTime=base.clone().hours(time.get("hours")).minutes(time.get("minutes"));var min=base.clone().hours(minTime.get("hours")).minutes(minTime.get("minutes"));var max=base.clone().hours(maxTime.get("hours")).minutes(maxTime.get("minutes"));return!(baseTime.isSameOrAfter(min)&&baseTime.isSameOrBefore(max))}function allDaysDisabledBefore(day,unit){var _ref7=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},minDate=_ref7.minDate,includeDates=_ref7.includeDates;var dateBefore=day.clone().subtract(1,unit);return minDate&&dateBefore.isBefore(minDate,unit)||includeDates&&includeDates.every(function(includeDate){return dateBefore.isBefore(includeDate,unit)})||false}function allDaysDisabledAfter(day,unit){var _ref8=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},maxDate=_ref8.maxDate,includeDates=_ref8.includeDates;var dateAfter=day.clone().add(1,unit);return maxDate&&dateAfter.isAfter(maxDate,unit)||includeDates&&includeDates.every(function(includeDate){return dateAfter.isAfter(includeDate,unit)})||false}function getEffectiveMinDate(_ref9){var minDate=_ref9.minDate,includeDates=_ref9.includeDates;return includeDates&&minDate?moment.min(includeDates.filter(function(includeDate){return minDate.isSameOrBefore(includeDate,"day")})):includeDates?moment.min(includeDates):minDate}function getEffectiveMaxDate(_ref10){var maxDate=_ref10.maxDate,includeDates=_ref10.includeDates;return includeDates&&maxDate?moment.max(includeDates.filter(function(includeDate){return maxDate.isSameOrAfter(includeDate,"day")})):includeDates?moment.max(includeDates):maxDate}function getHightLightDaysMap(){var highlightDates=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];var defaultClassName=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted";var dateClasses=new Map;for(var i=0,len=highlightDates.length;i<len;i++){var obj=highlightDates[i];if(isMoment(obj)){var key=obj.format("MM.DD.YYYY");var classNamesArr=dateClasses.get(key)||[];if(!classNamesArr.includes(defaultClassName)){classNamesArr.push(defaultClassName);dateClasses.set(key,classNamesArr)}}else if("object"===("undefined"===typeof obj?"undefined":_typeof(obj))){var keys=Object.keys(obj);var className=keys[0];var arrOfMoments=obj[keys[0]];if("string"===typeof className&&arrOfMoments.constructor===Array)for(var k=0,_len=arrOfMoments.length;k<_len;k++){var _key=arrOfMoments[k].format("MM.DD.YYYY");var _classNamesArr=dateClasses.get(_key)||[];if(!_classNamesArr.includes(className)){_classNamesArr.push(className);dateClasses.set(_key,_classNamesArr)}}}}return dateClasses}function timesToInjectAfter(startOfDay,currentTime,currentMultiplier,intervals,injectedTimes){var l=injectedTimes.length;var times=[];for(var i=0;i<l;i++){var injectedTime=addMinutes(addHours(cloneDate(startOfDay),getHour(injectedTimes[i])),getMinute(injectedTimes[i]));var nextTime=addMinutes(cloneDate(startOfDay),(currentMultiplier+1)*intervals);injectedTime.isBetween(currentTime,nextTime)&&times.push(injectedTimes[i])}return times}var WrappedYearDropdownOptions=onClickOutsideHOC(YearDropdownOptions);var YearDropdown=function(_React$Component){inherits(YearDropdown,_React$Component);function YearDropdown(){var _temp,_this,_ret;classCallCheck(this,YearDropdown);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.state={dropdownVisible:false},_this.setReadViewRef=function(ref){_this.readViewref=ref},_this.onReadViewKeyDown=function(event){var eventKey=event.key;switch(eventKey){case" ":case"Enter":event.preventDefault();event.stopPropagation();_this.toggleDropdown()}},_this.onDropDownKeyDown=function(event){var eventKey=event.key;switch(eventKey){case" ":case"Enter":event.preventDefault();event.stopPropagation();_this.toggleDropdown()}},_this.renderSelectOptions=function(){var minYear=_this.props.minDate?getYear(_this.props.minDate):1900;var maxYear=_this.props.maxDate?getYear(_this.props.maxDate):2100;var options=[];for(var i=minYear;i<=maxYear;i++)options.push(React__default.createElement("option",{key:i,value:i},i));return options},_this.onSelectChange=function(e){_this.onChange(e.target.value)},_this.renderSelectMode=function(){return React__default.createElement("select",{value:_this.props.year,className:"react-datepicker__year-select",onChange:_this.onSelectChange},_this.renderSelectOptions())},_this.renderReadView=function(visible){return React__default.createElement("div",{key:"read",ref:_this.setReadViewRef,style:{visibility:visible?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function onClick(event){return _this.toggleDropdown(event)},onKeyDown:_this.onReadViewKeyDown,tabIndex:_this.props.accessibleMode?"0":void 0,"aria-label":"Button. Open the year selector. "+_this.props.year+" is currently selected."},React__default.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),React__default.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},_this.props.year))},_this.renderDropdown=function(){return React__default.createElement(WrappedYearDropdownOptions,{key:"dropdown",ref:"options",year:_this.props.year,onChange:_this.onChange,onCancel:_this.toggleDropdown,minDate:_this.props.minDate,maxDate:_this.props.maxDate,scrollableYearDropdown:_this.props.scrollableYearDropdown,yearDropdownItemNumber:_this.props.yearDropdownItemNumber,accessibleMode:_this.props.accessibleMode})},_this.renderScrollMode=function(){var dropdownVisible=_this.state.dropdownVisible;var result=[_this.renderReadView(!dropdownVisible)];dropdownVisible&&result.unshift(_this.renderDropdown());return result},_this.onChange=function(year){_this.toggleDropdown();if(year===_this.props.year)return;_this.props.onChange(year)},_this.toggleDropdown=function(event){_this.setState({dropdownVisible:!_this.state.dropdownVisible},function(){_this.props.adjustDateOnChange&&_this.handleYearChange(_this.props.date,event)})},_this.handleYearChange=function(date,event){_this.onSelect(date,event);_this.setOpen()},_this.onSelect=function(date,event){_this.props.onSelect&&_this.props.onSelect(date,event)},_this.setOpen=function(){_this.props.setOpen&&_this.props.setOpen(true)},_temp),possibleConstructorReturn(_this,_ret)}YearDropdown.prototype.componentDidUpdate=function componentDidUpdate(prevProps,prevState){this.props.accessibleMode&&prevState.dropdownVisible!==this.state.dropdownVisible&&false===this.state.dropdownVisible&&this.readViewref.focus()};YearDropdown.prototype.render=function render(){var renderedDropdown=void 0;switch(this.props.dropdownMode){case"scroll":renderedDropdown=this.renderScrollMode();break;case"select":renderedDropdown=this.renderSelectMode()}return React__default.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--"+this.props.dropdownMode},renderedDropdown)};return YearDropdown}(React__default.Component);YearDropdown.propTypes={adjustDateOnChange:PropTypes.bool,dropdownMode:PropTypes.oneOf(["scroll","select"]).isRequired,maxDate:PropTypes.object,minDate:PropTypes.object,onChange:PropTypes.func.isRequired,scrollableYearDropdown:PropTypes.bool,year:PropTypes.number.isRequired,yearDropdownItemNumber:PropTypes.number,date:PropTypes.object,onSelect:PropTypes.func,setOpen:PropTypes.func,accessibleMode:PropTypes.bool};var MonthDropdownOptions=function(_React$Component){inherits(MonthDropdownOptions,_React$Component);function MonthDropdownOptions(){classCallCheck(this,MonthDropdownOptions);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var _this=possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args)));_this.renderOptions=function(){return _this.props.monthNames.map(function(month,i){return React__default.createElement("div",{className:classnames("react-datepicker__month-option",{"react-datepicker__month-option--selected_month":_this.props.month===i,"react-datepicker__month-option--preselected":_this.props.accessibleMode&&_this.state.preSelection===i}),key:month,ref:month,onClick:_this.onChange.bind(_this,i)},_this.props.month===i?React__default.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",month)})};_this.onFocus=function(){_this.props.accessibleMode&&_this.setState({readInstructions:true})};_this.onChange=function(month){return _this.props.onChange(month)};_this.handleClickOutside=function(){return _this.props.onCancel()};_this.onInputKeyDown=function(event){var eventKey=event.key;var selectionChange=0;switch(eventKey){case"ArrowUp":event.preventDefault();event.stopPropagation();selectionChange=-1;break;case"ArrowDown":event.preventDefault();event.stopPropagation();selectionChange=1;break;case"Escape":event.preventDefault();event.stopPropagation();_this.props.onCancel();break;case" ":case"Enter":event.preventDefault();event.stopPropagation();_this.props.onChange(_this.state.preSelection)}selectionChange&&_this.setState(function(_ref){var preSelection=_ref.preSelection;var nextSelection=preSelection+selectionChange;nextSelection<0&&(nextSelection=11);12===nextSelection&&(nextSelection=0);return{preSelection:nextSelection}})};_this.state={preSelection:_this.props.month,readInstructions:false};return _this}MonthDropdownOptions.prototype.render=function render(){var screenReaderInstructions=void 0;this.state.readInstructions&&(screenReaderInstructions=React__default.createElement("p",{"aria-live":true},"You are focused on a month selector menu. Use the up and down arrows to select a year, then hit enter to confirm your selection.",this.props.monthNames[this.state.preSelection]," is the currently focused month."));return this.props.accessibleMode?React__default.createElement(FocusTrap,null,React__default.createElement("div",{className:"react-datepicker__month-dropdown",tabIndex:"0",onKeyDown:this.onInputKeyDown,onFocus:this.onFocus},React__default.createElement(ScreenReaderOnly,null,React__default.createElement("span",null,screenReaderInstructions)),this.renderOptions())):React__default.createElement("div",{className:"react-datepicker__month-dropdown"},this.renderOptions())};return MonthDropdownOptions}(React__default.Component);MonthDropdownOptions.propTypes={onCancel:PropTypes.func.isRequired,onChange:PropTypes.func.isRequired,month:PropTypes.number.isRequired,monthNames:PropTypes.arrayOf(PropTypes.string.isRequired).isRequired,accessibleMode:PropTypes.bool};var WrappedMonthDropdownOptions=onClickOutsideHOC(MonthDropdownOptions);var MonthDropdown=function(_React$Component){inherits(MonthDropdown,_React$Component);function MonthDropdown(props){classCallCheck(this,MonthDropdown);var _this=possibleConstructorReturn(this,_React$Component.call(this,props));_this.setReadViewRef=function(ref){_this.readViewref=ref};_this.onReadViewKeyDown=function(event){var eventKey=event.key;switch(eventKey){case" ":case"Enter":event.preventDefault();event.stopPropagation();_this.toggleDropdown()}};_this.onDropDownKeyDown=function(event){var eventKey=event.key;switch(eventKey){case" ":case"Enter":event.preventDefault();event.stopPropagation();_this.toggleDropdown()}};_this.renderSelectOptions=function(monthNames){return monthNames.map(function(M,i){return React__default.createElement("option",{key:i,value:i},M)})};_this.renderSelectMode=function(monthNames){return React__default.createElement("select",{value:_this.props.month,className:"react-datepicker__month-select",onChange:function onChange(e){return _this.onChange(e.target.value)}},_this.renderSelectOptions(monthNames))};_this.renderReadView=function(visible,monthNames){return React__default.createElement("div",{key:"read",ref:_this.setReadViewRef,style:{visibility:visible?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:_this.toggleDropdown,onKeyDown:_this.onReadViewKeyDown,tabIndex:_this.props.accessibleMode?"0":void 0,"aria-label":"Button. Open the month selector. "+monthNames[_this.props.month]+" is currently selected."},React__default.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),React__default.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},monthNames[_this.props.month]))};_this.renderDropdown=function(monthNames){return React__default.createElement(WrappedMonthDropdownOptions,{key:"dropdown",ref:"options",month:_this.props.month,monthNames:monthNames,onChange:_this.onChange,onCancel:_this.toggleDropdown,accessibleMode:_this.props.accessibleMode})};_this.renderScrollMode=function(monthNames){var dropdownVisible=_this.state.dropdownVisible;var result=[_this.renderReadView(!dropdownVisible,monthNames)];dropdownVisible&&result.unshift(_this.renderDropdown(monthNames));return result};_this.onChange=function(month){_this.toggleDropdown();month!==_this.props.month&&_this.props.onChange(month)};_this.toggleDropdown=function(){return _this.setState({dropdownVisible:!_this.state.dropdownVisible})};_this.localeData=getLocaleDataForLocale(_this.props.locale);_this.monthNames=[0,1,2,3,4,5,6,7,8,9,10,11].map(_this.props.useShortMonthInDropdown?function(M){return getMonthShortInLocale(_this.localeData,newDate({M:M}))}:function(M){return getMonthInLocale(_this.localeData,newDate({M:M}),_this.props.dateFormat)});_this.state={dropdownVisible:false};return _this}MonthDropdown.prototype.componentDidUpdate=function componentDidUpdate(prevProps,prevState){this.props.accessibleMode&&prevState.dropdownVisible!==this.state.dropdownVisible&&false===this.state.dropdownVisible&&this.readViewref.focus()};MonthDropdown.prototype.render=function render(){var renderedDropdown=void 0;switch(this.props.dropdownMode){case"scroll":renderedDropdown=this.renderScrollMode(this.monthNames);break;case"select":renderedDropdown=this.renderSelectMode(this.monthNames)}return React__default.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--"+this.props.dropdownMode},renderedDropdown)};return MonthDropdown}(React__default.Component);MonthDropdown.propTypes={dropdownMode:PropTypes.oneOf(["scroll","select"]).isRequired,locale:PropTypes.string,dateFormat:PropTypes.string.isRequired,month:PropTypes.number.isRequired,onChange:PropTypes.func.isRequired,useShortMonthInDropdown:PropTypes.bool,accessibleMode:PropTypes.bool};function generateMonthYears(minDate,maxDate){var list=[];var currDate=getStartOfMonth(cloneDate(minDate));var lastDate=getStartOfMonth(cloneDate(maxDate));while(!isAfter(currDate,lastDate)){list.push(cloneDate(currDate));addMonths(currDate,1)}return list}var MonthYearDropdownOptions=function(_React$Component){inherits(MonthYearDropdownOptions,_React$Component);function MonthYearDropdownOptions(props){classCallCheck(this,MonthYearDropdownOptions);var _this=possibleConstructorReturn(this,_React$Component.call(this,props));_this.renderOptions=function(){return _this.state.monthYearsList.map(function(monthYear){var monthYearPoint=monthYear.valueOf();var isSameMonthYear=isSameYear(_this.props.date,monthYear)&&isSameMonth(_this.props.date,monthYear);var isPreselectionSameMonthYear=isSameYear(_this.state.preSelection,monthYear)&&isSameMonth(_this.state.preSelection,monthYear);return React__default.createElement("div",{className:classnames("react-datepicker__month-year-option",{"--selected_month-year":isSameMonthYear,"react-datepicker__month-year-option--preselected":_this.props.accessibleMode&&isPreselectionSameMonthYear}),key:monthYearPoint,ref:function ref(div){_this.props.accessibleMode&&isPreselectionSameMonthYear&&(_this.preSelectionDiv=div)},onClick:_this.onChange.bind(_this,monthYearPoint)},isSameMonthYear?React__default.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",formatDate(monthYear,_this.props.dateFormat))})};_this.onFocus=function(){_this.props.accessibleMode&&_this.setState({readInstructions:true})};_this.onChange=function(monthYear){return _this.props.onChange(monthYear)};_this.handleClickOutside=function(){_this.props.onCancel()};_this.onInputKeyDown=function(event){var eventKey=event.key;var newSelection=void 0;switch(eventKey){case"ArrowUp":event.preventDefault();event.stopPropagation();newSelection=addMonths(cloneDate(_this.state.preSelection),-1);break;case"ArrowDown":event.preventDefault();event.stopPropagation();newSelection=addMonths(cloneDate(_this.state.preSelection),1);break;case"Escape":event.preventDefault();event.stopPropagation();_this.props.onCancel();break;case" ":case"Enter":event.preventDefault();event.stopPropagation();_this.props.onChange(_this.state.preSelection.valueOf())}if(newSelection){var minMonthYear=_this.state.monthYearsList[0];var maxMonthYear=_this.state.monthYearsList[_this.state.monthYearsList.length-1];isBefore(newSelection,minMonthYear)&&(newSelection=maxMonthYear);isAfter(newSelection,maxMonthYear)&&(newSelection=minMonthYear);_this.setState({preSelection:newSelection})}};_this.state={monthYearsList:generateMonthYears(_this.props.minDate,_this.props.maxDate),preSelection:getStartOfMonth(cloneDate(_this.props.date)),readInstructions:false};return _this}MonthYearDropdownOptions.prototype.componentDidMount=function componentDidMount(){this.preSelectionDiv&&this.preSelectionDiv.scrollIntoView({behavior:"instant",block:"nearest",inline:"nearest"})};MonthYearDropdownOptions.prototype.componentDidUpdate=function componentDidUpdate(prevProps,prevState){this.preSelectionDiv&&this.preSelectionDiv.scrollIntoView({behavior:"instant",block:"nearest",inline:"nearest"})};MonthYearDropdownOptions.prototype.render=function render(){var dropdownClass=classnames({"react-datepicker__month-year-dropdown":true,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});var screenReaderInstructions=void 0;this.state.readInstructions&&(screenReaderInstructions=React__default.createElement("p",{"aria-live":true},"You are focused on a month / year selector menu. Use the up and down arrows to select a month / year combination, then hit enter to confirm your selection.",formatDate(this.state.preSelection,this.props.dateFormat)," is the currently focused month / year."));return this.props.accessibleMode?React__default.createElement(FocusTrap,null,React__default.createElement("div",{className:dropdownClass,tabIndex:"0",onKeyDown:this.onInputKeyDown,onFocus:this.onFocus},React__default.createElement(ScreenReaderOnly,null,React__default.createElement("span",null,screenReaderInstructions)),this.renderOptions())):React__default.createElement("div",{className:dropdownClass},this.renderOptions())};return MonthYearDropdownOptions}(React__default.Component);MonthYearDropdownOptions.propTypes={minDate:PropTypes.object.isRequired,maxDate:PropTypes.object.isRequired,onCancel:PropTypes.func.isRequired,onChange:PropTypes.func.isRequired,scrollableMonthYearDropdown:PropTypes.bool,date:PropTypes.object.isRequired,dateFormat:PropTypes.string.isRequired,accessibleMode:PropTypes.bool};var WrappedMonthYearDropdownOptions=onClickOutsideHOC(MonthYearDropdownOptions);var MonthYearDropdown=function(_React$Component){inherits(MonthYearDropdown,_React$Component);function MonthYearDropdown(){var _temp,_this,_ret;classCallCheck(this,MonthYearDropdown);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.state={dropdownVisible:false},_this.setReadViewRef=function(ref){_this.readViewref=ref},_this.onReadViewKeyDown=function(event){var eventKey=event.key;switch(eventKey){case" ":case"Enter":event.preventDefault();event.stopPropagation();_this.toggleDropdown()}},_this.onDropDownKeyDown=function(event){var eventKey=event.key;switch(eventKey){case" ":case"Enter":event.preventDefault();event.stopPropagation();_this.toggleDropdown()}},_this.renderSelectOptions=function(){var currDate=getStartOfMonth(localizeDate(_this.props.minDate,_this.props.locale));var lastDate=getStartOfMonth(localizeDate(_this.props.maxDate,_this.props.locale));var options=[];while(!isAfter(currDate,lastDate)){var timepoint=currDate.valueOf();options.push(React__default.createElement("option",{key:timepoint,value:timepoint},formatDate(currDate,_this.props.dateFormat)));addMonths(currDate,1)}return options},_this.onSelectChange=function(e){_this.onChange(e.target.value)},_this.renderSelectMode=function(){return React__default.createElement("select",{value:getStartOfMonth(_this.props.date).valueOf(),className:"react-datepicker__month-year-select",onChange:_this.onSelectChange},_this.renderSelectOptions())},_this.renderReadView=function(visible){var yearMonth=formatDate(localizeDate(newDate(_this.props.date),_this.props.locale),_this.props.dateFormat);return React__default.createElement("div",{key:"read",ref:_this.setReadViewRef,style:{visibility:visible?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:function onClick(event){return _this.toggleDropdown(event)},onKeyDown:_this.onReadViewKeyDown,tabIndex:_this.props.accessibleMode?"0":void 0,"aria-label":"Button. Open the month selector. "+yearMonth+" is currently selected."},React__default.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),React__default.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},yearMonth))},_this.renderDropdown=function(){return React__default.createElement(WrappedMonthYearDropdownOptions,{key:"dropdown",ref:"options",date:_this.props.date,dateFormat:_this.props.dateFormat,onChange:_this.onChange,onCancel:_this.toggleDropdown,minDate:localizeDate(_this.props.minDate,_this.props.locale),maxDate:localizeDate(_this.props.maxDate,_this.props.locale),scrollableMonthYearDropdown:_this.props.scrollableMonthYearDropdown,accessibleMode:_this.props.accessibleMode})},_this.renderScrollMode=function(){var dropdownVisible=_this.state.dropdownVisible;var result=[_this.renderReadView(!dropdownVisible)];dropdownVisible&&result.unshift(_this.renderDropdown());return result},_this.onChange=function(monthYearPoint){_this.toggleDropdown();var changedDate=newDate(parseInt(monthYearPoint));if(isSameYear(_this.props.date,changedDate)&&isSameMonth(_this.props.date,changedDate))return;_this.props.onChange(changedDate)},_this.toggleDropdown=function(){return _this.setState({dropdownVisible:!_this.state.dropdownVisible})},_temp),possibleConstructorReturn(_this,_ret)}MonthYearDropdown.prototype.componentDidUpdate=function componentDidUpdate(prevProps,prevState){this.props.accessibleMode&&prevState.dropdownVisible!==this.state.dropdownVisible&&false===this.state.dropdownVisible&&this.readViewref.focus()};MonthYearDropdown.prototype.render=function render(){var renderedDropdown=void 0;switch(this.props.dropdownMode){case"scroll":renderedDropdown=this.renderScrollMode();break;case"select":renderedDropdown=this.renderSelectMode()}return React__default.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--"+this.props.dropdownMode},renderedDropdown)};return MonthYearDropdown}(React__default.Component);MonthYearDropdown.propTypes={dropdownMode:PropTypes.oneOf(["scroll","select"]).isRequired,dateFormat:PropTypes.string.isRequired,locale:PropTypes.string,maxDate:PropTypes.object.isRequired,minDate:PropTypes.object.isRequired,date:PropTypes.object.isRequired,onChange:PropTypes.func.isRequired,scrollableMonthYearDropdown:PropTypes.bool,accessibleMode:PropTypes.bool};var Day=function(_React$Component){inherits(Day,_React$Component);function Day(){var _temp,_this,_ret;classCallCheck(this,Day);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.handleClick=function(event){!_this.isDisabled()&&_this.props.onClick&&_this.props.onClick(event)},_this.handleMouseEnter=function(event){!_this.isDisabled()&&_this.props.onMouseEnter&&_this.props.onMouseEnter(event)},_this.isSameDay=function(other){return isSameDay(_this.props.day,other)},_this.isKeyboardSelected=function(){return!_this.props.disabledKeyboardNavigation&&(!_this.props.inline||_this.props.accessibleMode)&&!_this.isSameDay(_this.props.selected)&&_this.isSameDay(_this.props.preSelection)},_this.isDisabled=function(){return isDayDisabled(_this.props.day,_this.props)},_this.getHighLightedClass=function(defaultClassName){var _this$props=_this.props,day=_this$props.day,highlightDates=_this$props.highlightDates;if(!highlightDates)return false;var dayStr=day.format("MM.DD.YYYY");return highlightDates.get(dayStr)},_this.isInRange=function(){var _this$props2=_this.props,day=_this$props2.day,startDate=_this$props2.startDate,endDate=_this$props2.endDate;if(!startDate||!endDate)return false;return isDayInRange(day,startDate,endDate)},_this.isInSelectingRange=function(){var _this$props3=_this.props,day=_this$props3.day,selectsStart=_this$props3.selectsStart,selectsEnd=_this$props3.selectsEnd,selectingDate=_this$props3.selectingDate,startDate=_this$props3.startDate,endDate=_this$props3.endDate;if(!(selectsStart||selectsEnd)||!selectingDate||_this.isDisabled())return false;if(selectsStart&&endDate&&selectingDate.isSameOrBefore(endDate))return isDayInRange(day,selectingDate,endDate);if(selectsEnd&&startDate&&selectingDate.isSameOrAfter(startDate))return isDayInRange(day,startDate,selectingDate);return false},_this.isSelectingRangeStart=function(){if(!_this.isInSelectingRange())return false;var _this$props4=_this.props,day=_this$props4.day,selectingDate=_this$props4.selectingDate,startDate=_this$props4.startDate,selectsStart=_this$props4.selectsStart;return isSameDay(day,selectsStart?selectingDate:startDate)},_this.isSelectingRangeEnd=function(){if(!_this.isInSelectingRange())return false;var _this$props5=_this.props,day=_this$props5.day,selectingDate=_this$props5.selectingDate,endDate=_this$props5.endDate,selectsEnd=_this$props5.selectsEnd;return isSameDay(day,selectsEnd?selectingDate:endDate)},_this.isRangeStart=function(){var _this$props6=_this.props,day=_this$props6.day,startDate=_this$props6.startDate,endDate=_this$props6.endDate;if(!startDate||!endDate)return false;return isSameDay(startDate,day)},_this.isRangeEnd=function(){var _this$props7=_this.props,day=_this$props7.day,startDate=_this$props7.startDate,endDate=_this$props7.endDate;if(!startDate||!endDate)return false;return isSameDay(endDate,day)},_this.isWeekend=function(){var weekday=getDay(_this.props.day);return 0===weekday||6===weekday},_this.isOutsideMonth=function(){return void 0!==_this.props.month&&_this.props.month!==getMonth(_this.props.day)},_this.getClassNames=function(date){var dayClassName=_this.props.dayClassName?_this.props.dayClassName(date):void 0;return classnames("react-datepicker__day",dayClassName,"react-datepicker__day--"+getDayOfWeekCode(_this.props.day),{"react-datepicker__day--disabled":_this.isDisabled(),"react-datepicker__day--selected":_this.isSameDay(_this.props.selected),"react-datepicker__day--keyboard-selected":_this.isKeyboardSelected(),"react-datepicker__day--range-start":_this.isRangeStart(),"react-datepicker__day--range-end":_this.isRangeEnd(),"react-datepicker__day--in-range":_this.isInRange(),"react-datepicker__day--in-selecting-range":_this.isInSelectingRange(),"react-datepicker__day--selecting-range-start":_this.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":_this.isSelectingRangeEnd(),"react-datepicker__day--today":_this.isSameDay(now(_this.props.utcOffset)),"react-datepicker__day--weekend":_this.isWeekend(),"react-datepicker__day--outside-month":_this.isOutsideMonth()},_this.getHighLightedClass("react-datepicker__day--highlighted"))},_temp),possibleConstructorReturn(_this,_ret)}Day.prototype.render=function render(){return React__default.createElement("div",{className:this.getClassNames(this.props.day),onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,"aria-label":"day-"+getDate(this.props.day)},this.props.renderDayContents?this.props.renderDayContents(getDate(this.props.day)):getDate(this.props.day))};return Day}(React__default.Component);Day.propTypes={disabledKeyboardNavigation:PropTypes.bool,day:PropTypes.object.isRequired,dayClassName:PropTypes.func,endDate:PropTypes.object,highlightDates:PropTypes.instanceOf(Map),inline:PropTypes.bool,month:PropTypes.number,onClick:PropTypes.func,onMouseEnter:PropTypes.func,preSelection:PropTypes.object,selected:PropTypes.object,selectingDate:PropTypes.object,selectsEnd:PropTypes.bool,selectsStart:PropTypes.bool,startDate:PropTypes.object,utcOffset:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),renderDayContents:PropTypes.func,accessibleMode:PropTypes.bool};var WeekNumber=function(_React$Component){inherits(WeekNumber,_React$Component);function WeekNumber(){var _temp,_this,_ret;classCallCheck(this,WeekNumber);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.handleClick=function(event){_this.props.onClick&&_this.props.onClick(event)},_temp),possibleConstructorReturn(_this,_ret)}WeekNumber.prototype.render=function render(){var weekNumberClasses={"react-datepicker__week-number":true,"react-datepicker__week-number--clickable":!!this.props.onClick};return React__default.createElement("div",{className:classnames(weekNumberClasses),"aria-label":"week-"+this.props.weekNumber,onClick:this.handleClick},this.props.weekNumber)};return WeekNumber}(React__default.Component);WeekNumber.propTypes={weekNumber:PropTypes.number.isRequired,onClick:PropTypes.func};var Week=function(_React$Component){inherits(Week,_React$Component);function Week(){var _temp,_this,_ret;classCallCheck(this,Week);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.handleDayClick=function(day,event){_this.props.onDayClick&&_this.props.onDayClick(day,event)},_this.handleDayMouseEnter=function(day){_this.props.onDayMouseEnter&&_this.props.onDayMouseEnter(day)},_this.handleWeekClick=function(day,weekNumber,event){"function"===typeof _this.props.onWeekSelect&&_this.props.onWeekSelect(day,weekNumber,event);_this.props.shouldCloseOnSelect&&_this.props.setOpen(false)},_this.formatWeekNumber=function(startOfWeek){if(_this.props.formatWeekNumber)return _this.props.formatWeekNumber(startOfWeek);return getWeek(startOfWeek)},_this.renderDays=function(){var startOfWeek=getStartOfWeek(cloneDate(_this.props.day));var days=[];var weekNumber=_this.formatWeekNumber(startOfWeek);if(_this.props.showWeekNumber){var onClickAction=_this.props.onWeekSelect?_this.handleWeekClick.bind(_this,startOfWeek,weekNumber):void 0;days.push(React__default.createElement(WeekNumber,{key:"W",weekNumber:weekNumber,onClick:onClickAction}))}return days.concat([0,1,2,3,4,5,6].map(function(offset){var day=addDays(cloneDate(startOfWeek),offset);return React__default.createElement(Day,{key:offset,day:day,month:_this.props.month,onClick:_this.handleDayClick.bind(_this,day),onMouseEnter:_this.handleDayMouseEnter.bind(_this,day),minDate:_this.props.minDate,maxDate:_this.props.maxDate,excludeDates:_this.props.excludeDates,includeDates:_this.props.includeDates,inline:_this.props.inline,highlightDates:_this.props.highlightDates,selectingDate:_this.props.selectingDate,filterDate:_this.props.filterDate,preSelection:_this.props.preSelection,selected:_this.props.selected,selectsStart:_this.props.selectsStart,selectsEnd:_this.props.selectsEnd,startDate:_this.props.startDate,endDate:_this.props.endDate,dayClassName:_this.props.dayClassName,utcOffset:_this.props.utcOffset,renderDayContents:_this.props.renderDayContents,disabledKeyboardNavigation:_this.props.disabledKeyboardNavigation,accessibleMode:_this.props.accessibleMode})}))},_temp),possibleConstructorReturn(_this,_ret)}Week.prototype.render=function render(){return React__default.createElement("div",{className:"react-datepicker__week"},this.renderDays())};createClass(Week,null,[{key:"defaultProps",get:function get$$1(){return{shouldCloseOnSelect:true}}}]);return Week}(React__default.Component);Week.propTypes={disabledKeyboardNavigation:PropTypes.bool,day:PropTypes.object.isRequired,dayClassName:PropTypes.func,endDate:PropTypes.object,excludeDates:PropTypes.array,filterDate:PropTypes.func,formatWeekNumber:PropTypes.func,highlightDates:PropTypes.instanceOf(Map),includeDates:PropTypes.array,inline:PropTypes.bool,maxDate:PropTypes.object,minDate:PropTypes.object,month:PropTypes.number,onDayClick:PropTypes.func,onDayMouseEnter:PropTypes.func,onWeekSelect:PropTypes.func,preSelection:PropTypes.object,selected:PropTypes.object,selectingDate:PropTypes.object,selectsEnd:PropTypes.bool,selectsStart:PropTypes.bool,showWeekNumber:PropTypes.bool,startDate:PropTypes.object,setOpen:PropTypes.func,shouldCloseOnSelect:PropTypes.bool,utcOffset:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),renderDayContents:PropTypes.func,accessibleMode:PropTypes.bool};var FIXED_HEIGHT_STANDARD_WEEK_COUNT=6;var Month=function(_React$Component){inherits(Month,_React$Component);function Month(props){classCallCheck(this,Month);var _this=possibleConstructorReturn(this,_React$Component.call(this,props));_this.handleDayClick=function(day,event){_this.props.onDayClick&&_this.props.onDayClick(day,event)};_this.handleDayMouseEnter=function(day){_this.props.onDayMouseEnter&&_this.props.onDayMouseEnter(day)};_this.handleMouseLeave=function(){_this.props.onMouseLeave&&_this.props.onMouseLeave()};_this.onFocus=function(){_this.props.accessibleMode&&_this.setState({readInstructions:true})};_this.onInputKeyDown=function(event){var eventKey=event.key;var copy=newDate(_this.props.preSelection);var newSelection=void 0;switch(eventKey){case"ArrowLeft":newSelection=subtractDays(copy,1);break;case"ArrowRight":newSelection=addDays(copy,1);break;case"ArrowUp":newSelection=subtractWeeks(copy,1);break;case"ArrowDown":newSelection=addWeeks(copy,1);break;case"PageUp":newSelection=subtractMonths(copy,1);break;case"PageDown":newSelection=addMonths(copy,1);break;case"Home":newSelection=subtractYears(copy,1);break;case"End":newSelection=addYears(copy,1);break;case" ":case"Enter":event.preventDefault();_this.handleDayClick(_this.props.preSelection,event)}if(!newSelection)return;event.preventDefault();_this.props.updateSelection(newSelection)};_this.isWeekInMonth=function(startOfWeek){var day=_this.props.day;var endOfWeek=addDays(cloneDate(startOfWeek),6);return isSameMonth(startOfWeek,day)||isSameMonth(endOfWeek,day)};_this.renderWeeks=function(){var weeks=[];var isFixedHeight=_this.props.fixedHeight;var currentWeekStart=getStartOfWeek(getStartOfMonth(cloneDate(_this.props.day)));var i=0;var breakAfterNextPush=false;while(true){weeks.push(React__default.createElement(Week,{key:i,day:currentWeekStart,month:getMonth(_this.props.day),onDayClick:_this.handleDayClick,onDayMouseEnter:_this.handleDayMouseEnter,onWeekSelect:_this.props.onWeekSelect,formatWeekNumber:_this.props.formatWeekNumber,minDate:_this.props.minDate,maxDate:_this.props.maxDate,excludeDates:_this.props.excludeDates,includeDates:_this.props.includeDates,inline:_this.props.inline,highlightDates:_this.props.highlightDates,selectingDate:_this.props.selectingDate,filterDate:_this.props.filterDate,preSelection:_this.props.preSelection,selected:_this.props.selected,selectsStart:_this.props.selectsStart,selectsEnd:_this.props.selectsEnd,showWeekNumber:_this.props.showWeekNumbers,startDate:_this.props.startDate,endDate:_this.props.endDate,dayClassName:_this.props.dayClassName,utcOffset:_this.props.utcOffset,setOpen:_this.props.setOpen,shouldCloseOnSelect:_this.props.shouldCloseOnSelect,disabledKeyboardNavigation:_this.props.disabledKeyboardNavigation,renderDayContents:_this.props.renderDayContents,accessibleMode:_this.props.accessibleMode}));if(breakAfterNextPush)break;i++;currentWeekStart=addWeeks(cloneDate(currentWeekStart),1);var isFixedAndFinalWeek=isFixedHeight&&i>=FIXED_HEIGHT_STANDARD_WEEK_COUNT;var isNonFixedAndOutOfMonth=!isFixedHeight&&!_this.isWeekInMonth(currentWeekStart);if(isFixedAndFinalWeek||isNonFixedAndOutOfMonth){if(!_this.props.peekNextMonth)break;breakAfterNextPush=true}}return weeks};_this.getClassNames=function(){var _this$props=_this.props,selectingDate=_this$props.selectingDate,selectsStart=_this$props.selectsStart,selectsEnd=_this$props.selectsEnd;return classnames("react-datepicker__month",{"react-datepicker__month--accessible":_this.props.accessibleMode,"react-datepicker__month--selecting-range":selectingDate&&(selectsStart||selectsEnd)})};_this.dayFormat="MMMM D, YYYY.";_this.state={readInstructions:false};return _this}Month.prototype.render=function render(){var screenReaderInstructions=void 0;this.state.readInstructions&&(screenReaderInstructions=React__default.createElement("p",{"aria-live":true},"You are focused on a calendar. Use the arrow keys to navigate the days in the month. Use the page up and down keys to navigate from month to month. Use the home and end keys to navigate from year to year.",formatDate(this.props.preSelection,this.dayFormat)," is the currently focused date."));return React__default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,role:"listbox","aria-label":"month-"+this.props.day.format("YYYY-MM"),tabIndex:this.props.accessibleMode?0:-1,onKeyDown:this.onInputKeyDown,onFocus:this.onFocus},React__default.createElement(ScreenReaderOnly,null,React__default.createElement("span",null,screenReaderInstructions)),this.renderWeeks())};return Month}(React__default.Component);Month.propTypes={disabledKeyboardNavigation:PropTypes.bool,day:PropTypes.object.isRequired,dayClassName:PropTypes.func,endDate:PropTypes.object,excludeDates:PropTypes.array,filterDate:PropTypes.func,fixedHeight:PropTypes.bool,formatWeekNumber:PropTypes.func,highlightDates:PropTypes.instanceOf(Map),includeDates:PropTypes.array,inline:PropTypes.bool,maxDate:PropTypes.object,minDate:PropTypes.object,onDayClick:PropTypes.func,onDayMouseEnter:PropTypes.func,onMouseLeave:PropTypes.func,onWeekSelect:PropTypes.func,peekNextMonth:PropTypes.bool,preSelection:PropTypes.object,selected:PropTypes.object,selectingDate:PropTypes.object,selectsEnd:PropTypes.bool,selectsStart:PropTypes.bool,showWeekNumbers:PropTypes.bool,startDate:PropTypes.object,setOpen:PropTypes.func,shouldCloseOnSelect:PropTypes.bool,utcOffset:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),renderDayContents:PropTypes.func,updateSelection:PropTypes.func.isRequired,accessibleMode:PropTypes.bool};function doHoursAndMinutesAlign(time1,time2){if(null==time1||null==time2)return false;return getHour(time1)===getHour(time2)&&getMinute(time1)===getMinute(time2)}var Time=function(_React$Component){inherits(Time,_React$Component);createClass(Time,null,[{key:"defaultProps",get:function get$$1(){return{intervals:30,onTimeChange:function onTimeChange(){},todayButton:null,timeCaption:"Time"}}}]);function Time(){classCallCheck(this,Time);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var _this=possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args)));_initialiseProps.call(_this);var times=_this.generateTimes();var preSelection=times.reduce(function(preSelection,time){if(preSelection)return preSelection;if(doHoursAndMinutesAlign(time,_this.props.selected))return time},null);if(null==preSelection){var currH=_this.props.selected?getHour(_this.props.selected):getHour(newDate());var currM=_this.props.selected?getMinute(_this.props.selected):getMinute(newDate());var closestTimeIndex=Math.floor((60*currH+currM)/_this.props.intervals);var closestMinutes=closestTimeIndex*_this.props.intervals;preSelection=setTime(newDate(),{hour:Math.floor(closestMinutes/60),minute:closestMinutes%60,second:0,millisecond:0})}_this.timeFormat="hh:mm A";_this.state={preSelection:preSelection,needsScrollToPreSelection:false,readInstructions:false,isFocused:false};return _this}Time.prototype.componentDidMount=function componentDidMount(){var scrollParent=this.list;scrollParent.scrollTop=Time.calcCenterPosition(this.props.monthRef?this.props.monthRef.clientHeight-this.header.clientHeight:this.list.clientHeight,this.selectedLi||this.preselectedLi)};Time.prototype.componentDidUpdate=function componentDidUpdate(prevProps){if(this.props.selected&&false===this.props.selected.isSame(prevProps.selected)){var scrollToElement=this.selectedLi;scrollToElement&&scrollToElement.scrollIntoView({behavior:"instant",block:"nearest",inline:"nearest"});this.setState({preSelection:this.props.selected})}if(this.state.needsScrollToPreSelection){var _scrollToElement=this.preselectedLi;_scrollToElement&&_scrollToElement.scrollIntoView({behavior:"instant",block:"nearest",inline:"nearest"});this.setState({needsScrollToPreSelection:false})}};Time.prototype.render=function render(){var _this2=this;var height=null;this.props.monthRef&&this.header&&(height=this.props.monthRef.clientHeight-this.header.clientHeight);var classNames=classnames("react-datepicker__time-container",{"react-datepicker__time-container--with-today-button":this.props.todayButton,"react-datepicker__time-container--focus":this.state.isFocused});var timeBoxClassNames=classnames("react-datepicker__time-box",{"react-datepicker__time-box--accessible":this.props.accessibleMode});var screenReaderInstructions=void 0;this.state.readInstructions&&(screenReaderInstructions=React__default.createElement("p",{"aria-live":true},"You are a in a time selector. Use the up and down keys to select from other common times then press enter to confirm.",formatDate(this.state.preSelection,this.timeFormat)," is currently focused."));return React__default.createElement("div",{className:classNames},React__default.createElement("div",{className:"react-datepicker__header react-datepicker__header--time",ref:function ref(header){_this2.header=header}},React__default.createElement("div",{className:"react-datepicker-time__header"},this.props.timeCaption),React__default.createElement(ScreenReaderOnly,null,React__default.createElement("span",null,screenReaderInstructions))),React__default.createElement("div",{className:"react-datepicker__time"},React__default.createElement("div",{className:timeBoxClassNames,tabIndex:this.props.accessibleMode?0:-1,onKeyDown:this.onInputKeyDown,onFocus:this.onFocus,onBlur:this.onBlur},React__default.createElement("ul",{className:"react-datepicker__time-list",ref:function ref(list){_this2.list=list},style:height?{height:height}:{},role:"listbox"},this.renderTimes.bind(this)()))))};return Time}(React__default.Component);Time.propTypes={format:PropTypes.string,includeTimes:PropTypes.array,intervals:PropTypes.number,selected:PropTypes.object,onChange:PropTypes.func,todayButton:PropTypes.node,minTime:PropTypes.object,maxTime:PropTypes.object,excludeTimes:PropTypes.array,monthRef:PropTypes.object,timeCaption:PropTypes.string,injectTimes:PropTypes.array,accessibleMode:PropTypes.bool};Time.calcCenterPosition=function(listHeight,centerLiRef){return centerLiRef.offsetTop-(listHeight/2-centerLiRef.clientHeight/2)};var _initialiseProps=function _initialiseProps(){var _this3=this;this.onFocus=function(){_this3.props.accessibleMode&&_this3.setState({readInstructions:true,isFocused:true})};this.onBlur=function(){_this3.props.accessibleMode&&_this3.setState({isFocused:false})};this.onInputKeyDown=function(event){var eventKey=event.key;var copy=newDate(_this3.state.preSelection);var newSelection=void 0;switch(eventKey){case"ArrowUp":newSelection=addMinutes(copy,-_this3.props.intervals);break;case"ArrowDown":newSelection=addMinutes(copy,_this3.props.intervals);break;case" ":case"Enter":event.preventDefault();_this3.handleClick(_this3.state.preSelection)}if(!newSelection)return;event.preventDefault();_this3.setState({preSelection:newSelection,needsScrollToPreSelection:true})};this.handleClick=function(time){if((_this3.props.minTime||_this3.props.maxTime)&&isTimeInDisabledRange(time,_this3.props)||_this3.props.excludeTimes&&isTimeDisabled(time,_this3.props.excludeTimes)||_this3.props.includeTimes&&!isTimeDisabled(time,_this3.props.includeTimes))return;_this3.props.onChange(time)};this.liClasses=function(time,activeTime){var classes=["react-datepicker__time-list-item"];doHoursAndMinutesAlign(time,activeTime)?classes.push("react-datepicker__time-list-item--selected"):_this3.state.preSelection&&doHoursAndMinutesAlign(time,_this3.state.preSelection)&&classes.push("react-datepicker__time-list-item--preselected");((_this3.props.minTime||_this3.props.maxTime)&&isTimeInDisabledRange(time,_this3.props)||_this3.props.excludeTimes&&isTimeDisabled(time,_this3.props.excludeTimes)||_this3.props.includeTimes&&!isTimeDisabled(time,_this3.props.includeTimes))&&classes.push("react-datepicker__time-list-item--disabled");_this3.props.injectTimes&&(60*getHour(time)+getMinute(time))%_this3.props.intervals!==0&&classes.push("react-datepicker__time-list-item--injected");return classes.join(" ")};this.generateTimes=function(){var times=[];var intervals=_this3.props.intervals;var base=getStartOfDay(newDate());var multiplier=1440/intervals;var sortedInjectTimes=_this3.props.injectTimes&&_this3.props.injectTimes.sort(function(a,b){return a-b});for(var i=0;i<multiplier;i++){var currentTime=addMinutes(cloneDate(base),i*intervals);times.push(currentTime);if(sortedInjectTimes){var timesToInject=timesToInjectAfter(base,currentTime,i,intervals,sortedInjectTimes);times=times.concat(timesToInject)}}return times};this.renderTimes=function(){var times=_this3.generateTimes();var activeTime=_this3.props.selected?_this3.props.selected:newDate();var format=_this3.props.format?_this3.props.format:_this3.timeFormat;getHour(activeTime);getMinute(activeTime);return times.map(function(time,i){return React__default.createElement("li",{key:i,onClick:_this3.handleClick.bind(_this3,time),className:_this3.liClasses(time,activeTime),ref:function ref(li){li&&li.classList.contains("react-datepicker__time-list-item--preselected")&&(_this3.preselectedLi=li);li&&li.classList.contains("react-datepicker__time-list-item--selected")&&(_this3.selectedLi=li)},role:"option",id:i},formatDate(time,format))})}};function CalendarContainer(_ref){var className=_ref.className,children=_ref.children,_ref$arrowProps=_ref.arrowProps,arrowProps=void 0===_ref$arrowProps?{}:_ref$arrowProps;return React__default.createElement("div",{className:className},React__default.createElement("div",_extends({className:"react-datepicker__triangle"},arrowProps)),children)}CalendarContainer.propTypes={className:PropTypes.string,children:PropTypes.node,arrowProps:PropTypes.object};var FocusTrapContainer=React__default.forwardRef(function(props,ref){return React__default.createElement("div",_extends({ref:ref,className:"react-datepicker__focusTrap"},props))});var DROPDOWN_FOCUS_CLASSNAMES=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"];var isDropdownSelect=function isDropdownSelect(){var element=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var classNames=(element.className||"").split(/\s+/);return DROPDOWN_FOCUS_CLASSNAMES.some(function(testClassname){return classNames.indexOf(testClassname)>=0})};var Calendar=function(_React$Component){inherits(Calendar,_React$Component);createClass(Calendar,null,[{key:"defaultProps",get:function get$$1(){return{onDropdownFocus:function onDropdownFocus(){},monthsShown:1,forceShowMonthNavigation:false,timeCaption:"Time"}}}]);function Calendar(props){classCallCheck(this,Calendar);var _this=possibleConstructorReturn(this,_React$Component.call(this,props));_this.handleClickOutside=function(event){_this.props.onClickOutside(event)};_this.handleDropdownFocus=function(event){isDropdownSelect(event.target)&&_this.props.onDropdownFocus()};_this.getDateInView=function(){var _this$props=_this.props,preSelection=_this$props.preSelection,selected=_this$props.selected,openToDate=_this$props.openToDate,utcOffset=_this$props.utcOffset;var minDate=getEffectiveMinDate(_this.props);var maxDate=getEffectiveMaxDate(_this.props);var current=now(utcOffset);var initialDate=openToDate||selected||preSelection;if(initialDate)return initialDate;if(minDate&&isBefore(current,minDate))return minDate;if(maxDate&&isAfter(current,maxDate))return maxDate;return current};_this.localizeDate=function(date){return localizeDate(date,_this.props.locale)};_this.increaseMonth=function(){_this.setState({date:addMonths(cloneDate(_this.state.date),1)},function(){return _this.handleMonthChange(_this.state.date)})};_this.decreaseMonth=function(){_this.setState({date:subtractMonths(cloneDate(_this.state.date),1)},function(){return _this.handleMonthChange(_this.state.date)})};_this.handleDayClick=function(day,event){return _this.props.onSelect(day,event)};_this.handleDayMouseEnter=function(day){return _this.setState({selectingDate:day})};_this.handleMonthMouseLeave=function(){return _this.setState({selectingDate:null})};_this.handleYearChange=function(date){_this.props.onYearChange&&_this.props.onYearChange(date);_this.props.accessibleMode&&_this.props.updateSelection(getStartOfMonth(cloneDate(date)))};_this.handleMonthChange=function(date){_this.props.onMonthChange&&_this.props.onMonthChange(date);if(_this.props.adjustDateOnChange){_this.props.onSelect&&_this.props.onSelect(date);_this.props.setOpen&&_this.props.setOpen(true)}_this.props.accessibleMode&&_this.props.updateSelection(getStartOfMonth(cloneDate(date)))};_this.handleMonthYearChange=function(date){_this.handleYearChange(date);_this.handleMonthChange(date)};_this.changeYear=function(year){_this.setState({date:setYear(cloneDate(_this.state.date),year)},function(){return _this.handleYearChange(_this.state.date)})};_this.changeMonth=function(month){_this.setState({date:setMonth(cloneDate(_this.state.date),month)},function(){return _this.handleMonthChange(_this.state.date)})};_this.changeMonthYear=function(monthYear){_this.setState({date:setYear(setMonth(cloneDate(_this.state.date),getMonth(monthYear)),getYear(monthYear))},function(){return _this.handleMonthYearChange(_this.state.date)})};_this.header=function(){var date=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_this.state.date;var startOfWeek=getStartOfWeek(cloneDate(date));var dayNames=[];_this.props.showWeekNumbers&&dayNames.push(React__default.createElement("div",{key:"W",className:"react-datepicker__day-name"},_this.props.weekLabel||"#"));return dayNames.concat([0,1,2,3,4,5,6].map(function(offset){var day=addDays(cloneDate(startOfWeek),offset);var localeData=getLocaleData(day);var weekDayName=_this.formatWeekday(localeData,day);return React__default.createElement("div",{key:offset,className:"react-datepicker__day-name"},weekDayName)}))};_this.formatWeekday=function(localeData,day){if(_this.props.formatWeekDay)return getFormattedWeekdayInLocale(localeData,day,_this.props.formatWeekDay);return _this.props.useWeekdaysShort?getWeekdayShortInLocale(localeData,day):getWeekdayMinInLocale(localeData,day)};_this.renderPreviousMonthButton=function(){if(_this.props.renderCustomHeader)return;var allPrevDaysDisabled=allDaysDisabledBefore(_this.state.date,"month",_this.props);if(!_this.props.forceShowMonthNavigation&&!_this.props.showDisabledMonthNavigation&&allPrevDaysDisabled||_this.props.showTimeSelectOnly)return;var classes=["react-datepicker__navigation","react-datepicker__navigation--previous"];var clickHandler=_this.decreaseMonth;if(allPrevDaysDisabled&&_this.props.showDisabledMonthNavigation){classes.push("react-datepicker__navigation--previous--disabled");clickHandler=null}return React__default.createElement("button",{type:"button",className:classes.join(" "),onClick:clickHandler},_this.props.previousMonthButtonLabel)};_this.renderNextMonthButton=function(){if(_this.props.renderCustomHeader)return;var allNextDaysDisabled=allDaysDisabledAfter(_this.state.date,"month",_this.props);if(!_this.props.forceShowMonthNavigation&&!_this.props.showDisabledMonthNavigation&&allNextDaysDisabled||_this.props.showTimeSelectOnly)return;var classes=["react-datepicker__navigation","react-datepicker__navigation--next"];_this.props.showTimeSelect&&classes.push("react-datepicker__navigation--next--with-time");_this.props.todayButton&&classes.push("react-datepicker__navigation--next--with-today-button");var clickHandler=_this.increaseMonth;if(allNextDaysDisabled&&_this.props.showDisabledMonthNavigation){classes.push("react-datepicker__navigation--next--disabled");clickHandler=null}return React__default.createElement("button",{type:"button",className:classes.join(" "),onClick:clickHandler},_this.props.nextMonthButtonLabel)};_this.renderCurrentMonth=function(){var date=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_this.state.date;var classes=["react-datepicker__current-month"];_this.props.showYearDropdown&&classes.push("react-datepicker__current-month--hasYearDropdown");_this.props.showMonthDropdown&&classes.push("react-datepicker__current-month--hasMonthDropdown");_this.props.showMonthYearDropdown&&classes.push("react-datepicker__current-month--hasMonthYearDropdown");return React__default.createElement("div",{className:classes.join(" ")},formatDate(date,_this.props.dateFormat))};_this.renderYearDropdown=function(){var overrideHide=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!_this.props.showYearDropdown||overrideHide)return;return React__default.createElement(YearDropdown,{adjustDateOnChange:_this.props.adjustDateOnChange,date:_this.state.date,onSelect:_this.props.onSelect,setOpen:_this.props.setOpen,dropdownMode:_this.props.dropdownMode,onChange:_this.changeYear,minDate:_this.props.minDate,maxDate:_this.props.maxDate,year:getYear(_this.state.date),scrollableYearDropdown:_this.props.scrollableYearDropdown,yearDropdownItemNumber:_this.props.yearDropdownItemNumber,accessibleMode:_this.props.accessibleMode})};_this.renderMonthDropdown=function(){var overrideHide=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!_this.props.showMonthDropdown||overrideHide)return;return React__default.createElement(MonthDropdown,{dropdownMode:_this.props.dropdownMode,locale:_this.props.locale,dateFormat:_this.props.dateFormat,onChange:_this.changeMonth,month:getMonth(_this.state.date),useShortMonthInDropdown:_this.props.useShortMonthInDropdown,accessibleMode:_this.props.accessibleMode})};_this.renderMonthYearDropdown=function(){var overrideHide=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!_this.props.showMonthYearDropdown||overrideHide)return;return React__default.createElement(MonthYearDropdown,{dropdownMode:_this.props.dropdownMode,locale:_this.props.locale,dateFormat:_this.props.dateFormat,onChange:_this.changeMonthYear,minDate:_this.props.minDate,maxDate:_this.props.maxDate,date:_this.state.date,scrollableMonthYearDropdown:_this.props.scrollableMonthYearDropdown,accessibleMode:_this.props.accessibleMode})};_this.renderTodayButton=function(){if(!_this.props.todayButton||_this.props.showTimeSelectOnly)return;return React__default.createElement("div",{className:"react-datepicker__today-button",onClick:function onClick(e){return _this.props.onSelect(getStartOfDate(now(_this.props.utcOffset)),e)}},_this.props.todayButton)};_this.renderDefaultHeader=function(_ref){var monthDate=_ref.monthDate,i=_ref.i;return React__default.createElement("div",{className:"react-datepicker__header"},_this.renderCurrentMonth(monthDate),React__default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--"+_this.props.dropdownMode,onFocus:_this.handleDropdownFocus},_this.renderMonthDropdown(0!==i),_this.renderMonthYearDropdown(0!==i),_this.renderYearDropdown(0!==i)),React__default.createElement("div",{className:"react-datepicker__day-names"},_this.header(monthDate)))};_this.renderCustomHeader=function(_ref2){var monthDate=_ref2.monthDate,i=_ref2.i;if(0!==i)return null;var prevMonthButtonDisabled=allDaysDisabledBefore(_this.state.date,"month",_this.props);var nextMonthButtonDisabled=allDaysDisabledAfter(_this.state.date,"month",_this.props);return React__default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:_this.props.onDropdownFocus},_this.props.renderCustomHeader(_extends({},_this.state,{changeMonth:_this.changeMonth,changeYear:_this.changeYear,decreaseMonth:_this.decreaseMonth,increaseMonth:_this.increaseMonth,prevMonthButtonDisabled:prevMonthButtonDisabled,nextMonthButtonDisabled:nextMonthButtonDisabled})),React__default.createElement("div",{className:"react-datepicker__day-names"},_this.header(monthDate)))};_this.renderMonths=function(){if(_this.props.showTimeSelectOnly)return;var monthList=[];for(var i=0;i<_this.props.monthsShown;++i){var monthDate=addMonths(cloneDate(_this.state.date),i);var monthKey="month-"+i;monthList.push(React__default.createElement("div",{key:monthKey,ref:function ref(div){_this.monthContainer=div},className:"react-datepicker__month-container"},_this.props.renderCustomHeader?_this.renderCustomHeader({monthDate:monthDate,i:i}):_this.renderDefaultHeader({monthDate:monthDate,i:i}),React__default.createElement(Month,{day:monthDate,dayClassName:_this.props.dayClassName,onDayClick:_this.handleDayClick,onDayMouseEnter:_this.handleDayMouseEnter,onMouseLeave:_this.handleMonthMouseLeave,onWeekSelect:_this.props.onWeekSelect,formatWeekNumber:_this.props.formatWeekNumber,minDate:_this.props.minDate,maxDate:_this.props.maxDate,excludeDates:_this.props.excludeDates,highlightDates:_this.props.highlightDates,selectingDate:_this.state.selectingDate,includeDates:_this.props.includeDates,inline:_this.props.inline,fixedHeight:_this.props.fixedHeight,filterDate:_this.props.filterDate,preSelection:_this.props.preSelection,selected:_this.props.selected,selectsStart:_this.props.selectsStart,selectsEnd:_this.props.selectsEnd,showWeekNumbers:_this.props.showWeekNumbers,startDate:_this.props.startDate,endDate:_this.props.endDate,peekNextMonth:_this.props.peekNextMonth,utcOffset:_this.props.utcOffset,setOpen:_this.props.setOpen,shouldCloseOnSelect:_this.props.shouldCloseOnSelect,renderDayContents:_this.props.renderDayContents,disabledKeyboardNavigation:_this.props.disabledKeyboardNavigation,updateSelection:_this.props.updateSelection,accessibleMode:_this.props.accessibleMode})))}return monthList};_this.renderTimeSection=function(){if(_this.props.showTimeSelect&&(_this.state.monthContainer||_this.props.showTimeSelectOnly))return React__default.createElement(Time,{selected:_this.props.selected,onChange:_this.props.onTimeChange,format:_this.props.timeFormat,includeTimes:_this.props.includeTimes,intervals:_this.props.timeIntervals,minTime:_this.props.minTime,maxTime:_this.props.maxTime,excludeTimes:_this.props.excludeTimes,timeCaption:_this.props.timeCaption,todayButton:_this.props.todayButton,showMonthDropdown:_this.props.showMonthDropdown,showMonthYearDropdown:_this.props.showMonthYearDropdown,showYearDropdown:_this.props.showYearDropdown,withPortal:_this.props.withPortal,monthRef:_this.state.monthContainer,injectTimes:_this.props.injectTimes,accessibleMode:_this.props.accessibleMode})};_this.state={date:_this.localizeDate(_this.getDateInView()),selectingDate:null,monthContainer:null};return _this}Calendar.prototype.componentDidMount=function componentDidMount(){var _this2=this;this.props.showTimeSelect&&(this.assignMonthContainer=void _this2.setState({monthContainer:_this2.monthContainer}))};Calendar.prototype.componentDidUpdate=function componentDidUpdate(prevProps){this.props.preSelection&&!isSameDay(this.props.preSelection,prevProps.preSelection)?this.setState({date:this.localizeDate(this.props.preSelection)}):this.props.openToDate&&!isSameDay(this.props.openToDate,prevProps.openToDate)&&this.setState({date:this.localizeDate(this.props.openToDate)})};Calendar.prototype.render=function render(){var _this3=this;var Container=this.props.container||CalendarContainer;var trapFocus=this.props.accessibleMode&&!this.props.inline;var initialFocusTarget=this.props.showTimeSelectOnly?".react-datepicker__time-box--accessible":".react-datepicker__month--accessible";return trapFocus?React__default.createElement(Container,{className:classnames("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly})},React__default.createElement(FocusTrap,{tag:FocusTrapContainer,focusTrapOptions:{onDeactivate:function onDeactivate(){return _this3.props.setOpen(false)},initialFocus:initialFocusTarget}},this.renderPreviousMonthButton(),this.renderNextMonthButton(),this.renderMonths(),this.renderTodayButton(),this.renderTimeSection(),this.props.children)):React__default.createElement(Container,{className:classnames("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly})},this.renderPreviousMonthButton(),this.renderNextMonthButton(),this.renderMonths(),this.renderTodayButton(),this.renderTimeSection(),this.props.children)};return Calendar}(React__default.Component);Calendar.propTypes={adjustDateOnChange:PropTypes.bool,className:PropTypes.string,children:PropTypes.node,container:PropTypes.func,dateFormat:PropTypes.oneOfType([PropTypes.string,PropTypes.array]).isRequired,dayClassName:PropTypes.func,disabledKeyboardNavigation:PropTypes.bool,dropdownMode:PropTypes.oneOf(["scroll","select"]),endDate:PropTypes.object,excludeDates:PropTypes.array,filterDate:PropTypes.func,fixedHeight:PropTypes.bool,formatWeekNumber:PropTypes.func,highlightDates:PropTypes.instanceOf(Map),includeDates:PropTypes.array,includeTimes:PropTypes.array,injectTimes:PropTypes.array,inline:PropTypes.bool,locale:PropTypes.string,maxDate:PropTypes.object,minDate:PropTypes.object,monthsShown:PropTypes.number,onClickOutside:PropTypes.func.isRequired,onMonthChange:PropTypes.func,onYearChange:PropTypes.func,forceShowMonthNavigation:PropTypes.bool,onDropdownFocus:PropTypes.func,onSelect:PropTypes.func.isRequired,onWeekSelect:PropTypes.func,showTimeSelect:PropTypes.bool,showTimeSelectOnly:PropTypes.bool,timeFormat:PropTypes.string,timeIntervals:PropTypes.number,onTimeChange:PropTypes.func,minTime:PropTypes.object,maxTime:PropTypes.object,excludeTimes:PropTypes.array,timeCaption:PropTypes.string,openToDate:PropTypes.object,peekNextMonth:PropTypes.bool,scrollableYearDropdown:PropTypes.bool,scrollableMonthYearDropdown:PropTypes.bool,preSelection:PropTypes.object,selected:PropTypes.object,selectsEnd:PropTypes.bool,selectsStart:PropTypes.bool,showMonthDropdown:PropTypes.bool,showMonthYearDropdown:PropTypes.bool,showWeekNumbers:PropTypes.bool,showYearDropdown:PropTypes.bool,startDate:PropTypes.object,todayButton:PropTypes.node,useWeekdaysShort:PropTypes.bool,formatWeekDay:PropTypes.func,withPortal:PropTypes.bool,utcOffset:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),weekLabel:PropTypes.string,yearDropdownItemNumber:PropTypes.number,setOpen:PropTypes.func,shouldCloseOnSelect:PropTypes.bool,useShortMonthInDropdown:PropTypes.bool,showDisabledMonthNavigation:PropTypes.bool,previousMonthButtonLabel:PropTypes.string,nextMonthButtonLabel:PropTypes.string,renderCustomHeader:PropTypes.func,renderDayContents:PropTypes.func,updateSelection:PropTypes.func.isRequired,accessibleMode:PropTypes.bool};var commonjsGlobal="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};function unwrapExports(x){return x&&x.__esModule&&Object.prototype.hasOwnProperty.call(x,"default")?x["default"]:x}function createCommonjsModule(fn,module){return module={exports:{}},fn(module,module.exports),module.exports}var _global=createCommonjsModule(function(module){var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)});var _core=createCommonjsModule(function(module){var core=module.exports={version:"2.5.1"};"number"==typeof __e&&(__e=core)});_core.version;var _aFunction=function(it){if("function"!=typeof it)throw TypeError(it+" is not a function!");return it};var _aFunction$1=Object.freeze({default:_aFunction,__moduleExports:_aFunction});var aFunction=_aFunction$1&&_aFunction||_aFunction$1;var _ctx=function(fn,that,length){aFunction(fn);if(void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}};var _isObject=function(it){return"object"===typeof it?null!==it:"function"===typeof it};var _anObject=function(it){if(!_isObject(it))throw TypeError(it+" is not an object!");return it};var _fails=function(exec){try{return!!exec()}catch(e){return true}};var _descriptors=!_fails(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a});var document$1=_global.document;var is=_isObject(document$1)&&_isObject(document$1.createElement);var _domCreate=function(it){return is?document$1.createElement(it):{}};var _ie8DomDefine=!_descriptors&&!_fails(function(){return 7!=Object.defineProperty(_domCreate("div"),"a",{get:function(){return 7}}).a});var _toPrimitive=function(it,S){if(!_isObject(it))return it;var fn,val;if(S&&"function"==typeof(fn=it.toString)&&!_isObject(val=fn.call(it)))return val;if("function"==typeof(fn=it.valueOf)&&!_isObject(val=fn.call(it)))return val;if(!S&&"function"==typeof(fn=it.toString)&&!_isObject(val=fn.call(it)))return val;throw TypeError("Can't convert object to primitive value")};var dP=Object.defineProperty;var f=_descriptors?Object.defineProperty:function defineProperty(O,P,Attributes){_anObject(O);P=_toPrimitive(P,true);_anObject(Attributes);if(_ie8DomDefine)try{return dP(O,P,Attributes)}catch(e){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported!");"value"in Attributes&&(O[P]=Attributes.value);return O};var _objectDp={f:f};var _propertyDesc=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}};var _hide=_descriptors?function(object,key,value){return _objectDp.f(object,key,_propertyDesc(1,value))}:function(object,key,value){object[key]=value;return object};var PROTOTYPE="prototype";var $export=function(type,name,source){var IS_FORCED=type&$export.F;var IS_GLOBAL=type&$export.G;var IS_STATIC=type&$export.S;var IS_PROTO=type&$export.P;var IS_BIND=type&$export.B;var IS_WRAP=type&$export.W;var exports=IS_GLOBAL?_core:_core[name]||(_core[name]={});var expProto=exports[PROTOTYPE];var target=IS_GLOBAL?_global:IS_STATIC?_global[name]:(_global[name]||{})[PROTOTYPE];var key,own,out;IS_GLOBAL&&(source=name);for(key in source){own=!IS_FORCED&&target&&void 0!==target[key];if(own&&key in exports)continue;out=own?target[key]:source[key];exports[key]=IS_GLOBAL&&"function"!=typeof target[key]?source[key]:IS_BIND&&own?_ctx(out,_global):IS_WRAP&&target[key]==out?function(C){var F=function(a,b,c){if(this instanceof C){switch(arguments.length){case 0:return new C;case 1:return new C(a);case 2:return new C(a,b)}return new C(a,b,c)}return C.apply(this,arguments)};F[PROTOTYPE]=C[PROTOTYPE];return F}(out):IS_PROTO&&"function"==typeof out?_ctx(Function.call,out):out;if(IS_PROTO){(exports.virtual||(exports.virtual={}))[key]=out;type&$export.R&&expProto&&!expProto[key]&&_hide(expProto,key,out)}}};$export.F=1;$export.G=2;$export.S=4;$export.P=8;$export.B=16;$export.W=32;$export.U=64;$export.R=128;var _export=$export;var hasOwnProperty={}.hasOwnProperty;var _has=function(it,key){return hasOwnProperty.call(it,key)};var toString={}.toString;var _cof=function(it){return toString.call(it).slice(8,-1)};var _iobject=Object("z").propertyIsEnumerable(0)?Object:function(it){return"String"==_cof(it)?it.split(""):Object(it)};var _defined=function(it){if(void 0==it)throw TypeError("Can't call method on  "+it);return it};var _toIobject=function(it){return _iobject(_defined(it))};var ceil=Math.ceil;var floor=Math.floor;var _toInteger=function(it){return isNaN(it=+it)?0:(it>0?floor:ceil)(it)};var min=Math.min;var _toLength=function(it){return it>0?min(_toInteger(it),9007199254740991):0};var max=Math.max;var min$1=Math.min;var _toAbsoluteIndex=function(index,length){index=_toInteger(index);return index<0?max(index+length,0):min$1(index,length)};var _arrayIncludes=function(IS_INCLUDES){return function($this,el,fromIndex){var O=_toIobject($this);var length=_toLength(O.length);var index=_toAbsoluteIndex(fromIndex,length);var value;if(IS_INCLUDES&&el!=el)while(length>index){value=O[index++];if(value!=value)return true}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};var SHARED="__core-js_shared__";var store=_global[SHARED]||(_global[SHARED]={});var _shared=function(key){return store[key]||(store[key]={})};var id=0;var px=Math.random();var _uid=function(key){return"Symbol(".concat(void 0===key?"":key,")_",(++id+px).toString(36))};var shared=_shared("keys");var _sharedKey=function(key){return shared[key]||(shared[key]=_uid(key))};var arrayIndexOf=_arrayIncludes(false);var IE_PROTO=_sharedKey("IE_PROTO");var _objectKeysInternal=function(object,names){var O=_toIobject(object);var i=0;var result=[];var key;for(key in O)key!=IE_PROTO&&_has(O,key)&&result.push(key);while(names.length>i)_has(O,key=names[i++])&&(~arrayIndexOf(result,key)||result.push(key));return result};var _enumBugKeys="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");var _objectKeys=Object.keys||function keys(O){return _objectKeysInternal(O,_enumBugKeys)};var f$1=Object.getOwnPropertySymbols;var _objectGops={f:f$1};var f$2={}.propertyIsEnumerable;var _objectPie={f:f$2};var _toObject=function(it){return Object(_defined(it))};var $assign=Object.assign;var _objectAssign=!$assign||_fails(function(){var A={};var B={};var S=Symbol();var K="abcdefghijklmnopqrst";A[S]=7;K.split("").forEach(function(k){B[k]=k});return 7!=$assign({},A)[S]||Object.keys($assign({},B)).join("")!=K})?function assign(target,source){var T=_toObject(target);var aLen=arguments.length;var index=1;var getSymbols=_objectGops.f;var isEnum=_objectPie.f;while(aLen>index){var S=_iobject(arguments[index++]);var keys=getSymbols?_objectKeys(S).concat(getSymbols(S)):_objectKeys(S);var length=keys.length;var j=0;var key;while(length>j)isEnum.call(S,key=keys[j++])&&(T[key]=S[key])}return T}:$assign;_export(_export.S+_export.F,"Object",{assign:_objectAssign});var assign=_core.Object.assign;var assign$1=Object.freeze({default:assign,__moduleExports:assign});var require$$0=assign$1&&assign||assign$1;var assign$2=createCommonjsModule(function(module){module.exports={default:require$$0,__esModule:true}});unwrapExports(assign$2);var _extends$1=createCommonjsModule(function(module,exports){exports.__esModule=true;var _assign2=_interopRequireDefault(assign$2);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_assign2.default||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target}});var _extends$2=unwrapExports(_extends$1);var classCallCheck$1=createCommonjsModule(function(module,exports){exports.__esModule=true;exports.default=function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}});var _classCallCheck=unwrapExports(classCallCheck$1);var _stringAt=function(TO_STRING){return function(that,pos){var s=String(_defined(that));var i=_toInteger(pos);var l=s.length;var a,b;if(i<0||i>=l)return TO_STRING?"":void 0;a=s.charCodeAt(i);return a<55296||a>56319||i+1===l||(b=s.charCodeAt(i+1))<56320||b>57343?TO_STRING?s.charAt(i):a:TO_STRING?s.slice(i,i+2):b-56320+(a-55296<<10)+65536}};var _library=true;var _redefine=_hide;var _objectDps=_descriptors?Object.defineProperties:function defineProperties(O,Properties){_anObject(O);var keys=_objectKeys(Properties);var length=keys.length;var i=0;var P;while(length>i)_objectDp.f(O,P=keys[i++],Properties[P]);return O};var document$2=_global.document;var _html=document$2&&document$2.documentElement;var IE_PROTO$1=_sharedKey("IE_PROTO");var Empty=function(){};var PROTOTYPE$1="prototype";var createDict=function(){var iframe=_domCreate("iframe");var i=_enumBugKeys.length;var lt="<";var gt=">";var iframeDocument;iframe.style.display="none";_html.appendChild(iframe);iframe.src="javascript:";iframeDocument=iframe.contentWindow.document;iframeDocument.open();iframeDocument.write(lt+"script"+gt+"document.F=Object"+lt+"/script"+gt);iframeDocument.close();createDict=iframeDocument.F;while(i--)delete createDict[PROTOTYPE$1][_enumBugKeys[i]];return createDict()};var _objectCreate=Object.create||function create(O,Properties){var result;if(null!==O){Empty[PROTOTYPE$1]=_anObject(O);result=new Empty;Empty[PROTOTYPE$1]=null;result[IE_PROTO$1]=O}else result=createDict();return void 0===Properties?result:_objectDps(result,Properties)};var _wks=createCommonjsModule(function(module){var store=_shared("wks");var Symbol=_global.Symbol;var USE_SYMBOL="function"==typeof Symbol;var $exports=module.exports=function(name){return store[name]||(store[name]=USE_SYMBOL&&Symbol[name]||(USE_SYMBOL?Symbol:_uid)("Symbol."+name))};$exports.store=store});var def=_objectDp.f;var TAG=_wks("toStringTag");var _setToStringTag=function(it,tag,stat){it&&!_has(it=stat?it:it.prototype,TAG)&&def(it,TAG,{configurable:true,value:tag})};var IteratorPrototype={};_hide(IteratorPrototype,_wks("iterator"),function(){return this});var _iterCreate=function(Constructor,NAME,next){Constructor.prototype=_objectCreate(IteratorPrototype,{next:_propertyDesc(1,next)});_setToStringTag(Constructor,NAME+" Iterator")};var IE_PROTO$2=_sharedKey("IE_PROTO");var ObjectProto=Object.prototype;var _objectGpo=Object.getPrototypeOf||function(O){O=_toObject(O);if(_has(O,IE_PROTO$2))return O[IE_PROTO$2];if("function"==typeof O.constructor&&O instanceof O.constructor)return O.constructor.prototype;return O instanceof Object?ObjectProto:null};var ITERATOR=_wks("iterator");var BUGGY=!([].keys&&"next"in[].keys());var FF_ITERATOR="@@iterator";var KEYS="keys";var VALUES="values";var _iterDefine=function(Base,NAME,Constructor,next,DEFAULT,IS_SET,FORCED){_iterCreate(Constructor,NAME,next);var getMethod=function(kind){if(!BUGGY&&kind in proto)return proto[kind];switch(kind){case KEYS:return function keys(){return new Constructor(this,kind)};case VALUES:return function values(){return new Constructor(this,kind)}}return function entries(){return new Constructor(this,kind)}};var TAG=NAME+" Iterator";var DEF_VALUES=DEFAULT==VALUES;var VALUES_BUG=false;var proto=Base.prototype;var $native=proto[ITERATOR]||proto[FF_ITERATOR]||DEFAULT&&proto[DEFAULT];var $default=$native||getMethod(DEFAULT);var $entries=DEFAULT?DEF_VALUES?getMethod("entries"):$default:void 0;var $anyNative="Array"==NAME&&proto.entries||$native;var methods,key,IteratorPrototype;if($anyNative){IteratorPrototype=_objectGpo($anyNative.call(new Base));IteratorPrototype!==Object.prototype&&IteratorPrototype.next&&_setToStringTag(IteratorPrototype,TAG,true)}if(DEF_VALUES&&$native&&$native.name!==VALUES){VALUES_BUG=true;$default=function values(){return $native.call(this)}}FORCED&&(BUGGY||VALUES_BUG||!proto[ITERATOR])&&_hide(proto,ITERATOR,$default);if(DEFAULT){methods={values:DEF_VALUES?$default:getMethod(VALUES),keys:IS_SET?$default:getMethod(KEYS),entries:$entries};if(FORCED)for(key in methods)key in proto||_redefine(proto,key,methods[key]);else _export(_export.P+_export.F*(BUGGY||VALUES_BUG),NAME,methods)}return methods};var $at=_stringAt(true);_iterDefine(String,"String",function(iterated){this._t=String(iterated);this._i=0},function(){var O=this._t;var index=this._i;var point;if(index>=O.length)return{value:void 0,done:true};point=$at(O,index);this._i+=point.length;return{value:point,done:false}});var _iterStep=function(done,value){return{value:value,done:!!done}};_iterDefine(Array,"Array",function(iterated,kind){this._t=_toIobject(iterated);this._i=0;this._k=kind},function(){var O=this._t;var kind=this._k;var index=this._i++;if(!O||index>=O.length){this._t=void 0;return _iterStep(1)}if("keys"==kind)return _iterStep(0,index);if("values"==kind)return _iterStep(0,O[index]);return _iterStep(0,[index,O[index]])},"values");var TO_STRING_TAG=_wks("toStringTag");var DOMIterables="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(",");for(var i=0;i<DOMIterables.length;i++){var NAME=DOMIterables[i];var Collection=_global[NAME];var proto=Collection&&Collection.prototype;proto&&!proto[TO_STRING_TAG]&&_hide(proto,TO_STRING_TAG,NAME)}var f$3=_wks;var _wksExt={f:f$3};var iterator=_wksExt.f("iterator");var iterator$1=createCommonjsModule(function(module){module.exports={default:iterator,__esModule:true}});unwrapExports(iterator$1);var _meta=createCommonjsModule(function(module){var META=_uid("meta");var setDesc=_objectDp.f;var id=0;var isExtensible=Object.isExtensible||function(){return true};var FREEZE=!_fails(function(){return isExtensible(Object.preventExtensions({}))});var setMeta=function(it){setDesc(it,META,{value:{i:"O"+ ++id,w:{}}})};var fastKey=function(it,create){if(!_isObject(it))return"symbol"==typeof it?it:("string"==typeof it?"S":"P")+it;if(!_has(it,META)){if(!isExtensible(it))return"F";if(!create)return"E";setMeta(it)}return it[META].i};var getWeak=function(it,create){if(!_has(it,META)){if(!isExtensible(it))return true;if(!create)return false;setMeta(it)}return it[META].w};var onFreeze=function(it){FREEZE&&meta.NEED&&isExtensible(it)&&!_has(it,META)&&setMeta(it);return it};var meta=module.exports={KEY:META,NEED:false,fastKey:fastKey,getWeak:getWeak,onFreeze:onFreeze}});_meta.KEY;_meta.NEED;_meta.fastKey;_meta.getWeak;_meta.onFreeze;var defineProperty$1=_objectDp.f;var _wksDefine=function(name){var $Symbol=_core.Symbol||(_core.Symbol=_library?{}:_global.Symbol||{});"_"==name.charAt(0)||name in $Symbol||defineProperty$1($Symbol,name,{value:_wksExt.f(name)})};var _enumKeys=function(it){var result=_objectKeys(it);var getSymbols=_objectGops.f;if(getSymbols){var symbols=getSymbols(it);var isEnum=_objectPie.f;var i=0;var key;while(symbols.length>i)isEnum.call(it,key=symbols[i++])&&result.push(key)}return result};var _isArray=Array.isArray||function isArray(arg){return"Array"==_cof(arg)};var hiddenKeys=_enumBugKeys.concat("length","prototype");var f$4=Object.getOwnPropertyNames||function getOwnPropertyNames(O){return _objectKeysInternal(O,hiddenKeys)};var _objectGopn={f:f$4};var gOPN=_objectGopn.f;var toString$1={}.toString;var windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];var getWindowNames=function(it){try{return gOPN(it)}catch(e){return windowNames.slice()}};var f$5=function getOwnPropertyNames(it){return windowNames&&"[object Window]"==toString$1.call(it)?getWindowNames(it):gOPN(_toIobject(it))};var _objectGopnExt={f:f$5};var gOPD=Object.getOwnPropertyDescriptor;var f$6=_descriptors?gOPD:function getOwnPropertyDescriptor(O,P){O=_toIobject(O);P=_toPrimitive(P,true);if(_ie8DomDefine)try{return gOPD(O,P)}catch(e){}if(_has(O,P))return _propertyDesc(!_objectPie.f.call(O,P),O[P])};var _objectGopd={f:f$6};var META=_meta.KEY;var gOPD$1=_objectGopd.f;var dP$1=_objectDp.f;var gOPN$1=_objectGopnExt.f;var $Symbol=_global.Symbol;var $JSON=_global.JSON;var _stringify=$JSON&&$JSON.stringify;var PROTOTYPE$2="prototype";var HIDDEN=_wks("_hidden");var TO_PRIMITIVE=_wks("toPrimitive");var isEnum={}.propertyIsEnumerable;var SymbolRegistry=_shared("symbol-registry");var AllSymbols=_shared("symbols");var OPSymbols=_shared("op-symbols");var ObjectProto$1=Object[PROTOTYPE$2];var USE_NATIVE="function"==typeof $Symbol;var QObject=_global.QObject;var setter=!QObject||!QObject[PROTOTYPE$2]||!QObject[PROTOTYPE$2].findChild;var setSymbolDesc=_descriptors&&_fails(function(){return 7!=_objectCreate(dP$1({},"a",{get:function(){return dP$1(this,"a",{value:7}).a}})).a})?function(it,key,D){var protoDesc=gOPD$1(ObjectProto$1,key);protoDesc&&delete ObjectProto$1[key];dP$1(it,key,D);protoDesc&&it!==ObjectProto$1&&dP$1(ObjectProto$1,key,protoDesc)}:dP$1;var wrap=function(tag){var sym=AllSymbols[tag]=_objectCreate($Symbol[PROTOTYPE$2]);sym._k=tag;return sym};var isSymbol=USE_NATIVE&&"symbol"==typeof $Symbol.iterator?function(it){return"symbol"==typeof it}:function(it){return it instanceof $Symbol};var $defineProperty=function defineProperty(it,key,D){it===ObjectProto$1&&$defineProperty(OPSymbols,key,D);_anObject(it);key=_toPrimitive(key,true);_anObject(D);if(_has(AllSymbols,key)){if(D.enumerable){_has(it,HIDDEN)&&it[HIDDEN][key]&&(it[HIDDEN][key]=false);D=_objectCreate(D,{enumerable:_propertyDesc(0,false)})}else{_has(it,HIDDEN)||dP$1(it,HIDDEN,_propertyDesc(1,{}));it[HIDDEN][key]=true}return setSymbolDesc(it,key,D)}return dP$1(it,key,D)};var $defineProperties=function defineProperties(it,P){_anObject(it);var keys=_enumKeys(P=_toIobject(P));var i=0;var l=keys.length;var key;while(l>i)$defineProperty(it,key=keys[i++],P[key]);return it};var $create=function create(it,P){return void 0===P?_objectCreate(it):$defineProperties(_objectCreate(it),P)};var $propertyIsEnumerable=function propertyIsEnumerable(key){var E=isEnum.call(this,key=_toPrimitive(key,true));if(this===ObjectProto$1&&_has(AllSymbols,key)&&!_has(OPSymbols,key))return false;return!(E||!_has(this,key)||!_has(AllSymbols,key)||_has(this,HIDDEN)&&this[HIDDEN][key])||E};var $getOwnPropertyDescriptor=function getOwnPropertyDescriptor(it,key){it=_toIobject(it);key=_toPrimitive(key,true);if(it===ObjectProto$1&&_has(AllSymbols,key)&&!_has(OPSymbols,key))return;var D=gOPD$1(it,key);!D||!_has(AllSymbols,key)||_has(it,HIDDEN)&&it[HIDDEN][key]||(D.enumerable=true);return D};var $getOwnPropertyNames=function getOwnPropertyNames(it){var names=gOPN$1(_toIobject(it));var result=[];var i=0;var key;while(names.length>i)_has(AllSymbols,key=names[i++])||key==HIDDEN||key==META||result.push(key);return result};var $getOwnPropertySymbols=function getOwnPropertySymbols(it){var IS_OP=it===ObjectProto$1;var names=gOPN$1(IS_OP?OPSymbols:_toIobject(it));var result=[];var i=0;var key;while(names.length>i)!_has(AllSymbols,key=names[i++])||IS_OP&&!_has(ObjectProto$1,key)||result.push(AllSymbols[key]);return result};if(!USE_NATIVE){$Symbol=function Symbol(){if(this instanceof $Symbol)throw TypeError("Symbol is not a constructor!");var tag=_uid(arguments.length>0?arguments[0]:void 0);var $set=function(value){this===ObjectProto$1&&$set.call(OPSymbols,value);_has(this,HIDDEN)&&_has(this[HIDDEN],tag)&&(this[HIDDEN][tag]=false);setSymbolDesc(this,tag,_propertyDesc(1,value))};_descriptors&&setter&&setSymbolDesc(ObjectProto$1,tag,{configurable:true,set:$set});return wrap(tag)};_redefine($Symbol[PROTOTYPE$2],"toString",function toString(){return this._k});_objectGopd.f=$getOwnPropertyDescriptor;_objectDp.f=$defineProperty;_objectGopn.f=_objectGopnExt.f=$getOwnPropertyNames;_objectPie.f=$propertyIsEnumerable;_objectGops.f=$getOwnPropertySymbols;_descriptors&&!_library&&_redefine(ObjectProto$1,"propertyIsEnumerable",$propertyIsEnumerable,true);_wksExt.f=function(name){return wrap(_wks(name))}}_export(_export.G+_export.W+_export.F*!USE_NATIVE,{Symbol:$Symbol});for(var es6Symbols="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),j=0;es6Symbols.length>j;)_wks(es6Symbols[j++]);for(var wellKnownSymbols=_objectKeys(_wks.store),k=0;wellKnownSymbols.length>k;)_wksDefine(wellKnownSymbols[k++]);_export(_export.S+_export.F*!USE_NATIVE,"Symbol",{for:function(key){return _has(SymbolRegistry,key+="")?SymbolRegistry[key]:SymbolRegistry[key]=$Symbol(key)},keyFor:function keyFor(sym){if(!isSymbol(sym))throw TypeError(sym+" is not a symbol!");for(var key in SymbolRegistry)if(SymbolRegistry[key]===sym)return key},useSetter:function(){setter=true},useSimple:function(){setter=false}});_export(_export.S+_export.F*!USE_NATIVE,"Object",{create:$create,defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor,getOwnPropertyNames:$getOwnPropertyNames,getOwnPropertySymbols:$getOwnPropertySymbols});$JSON&&_export(_export.S+_export.F*(!USE_NATIVE||_fails(function(){var S=$Symbol();return"[null]"!=_stringify([S])||"{}"!=_stringify({a:S})||"{}"!=_stringify(Object(S))})),"JSON",{stringify:function stringify(it){if(void 0===it||isSymbol(it))return;var args=[it];var i=1;var replacer,$replacer;while(arguments.length>i)args.push(arguments[i++]);replacer=args[1];"function"==typeof replacer&&($replacer=replacer);!$replacer&&_isArray(replacer)||(replacer=function(key,value){$replacer&&(value=$replacer.call(this,key,value));if(!isSymbol(value))return value});args[1]=replacer;return _stringify.apply($JSON,args)}});$Symbol[PROTOTYPE$2][TO_PRIMITIVE]||_hide($Symbol[PROTOTYPE$2],TO_PRIMITIVE,$Symbol[PROTOTYPE$2].valueOf);_setToStringTag($Symbol,"Symbol");_setToStringTag(Math,"Math",true);_setToStringTag(_global.JSON,"JSON",true);_wksDefine("asyncIterator");_wksDefine("observable");var symbol=_core.Symbol;var symbol$1=createCommonjsModule(function(module){module.exports={default:symbol,__esModule:true}});unwrapExports(symbol$1);var _typeof_1=createCommonjsModule(function(module,exports){exports.__esModule=true;var _iterator2=_interopRequireDefault(iterator$1);var _symbol2=_interopRequireDefault(symbol$1);var _typeof="function"===typeof _symbol2.default&&"symbol"===typeof _iterator2.default?function(obj){return typeof obj}:function(obj){return obj&&"function"===typeof _symbol2.default&&obj.constructor===_symbol2.default&&obj!==_symbol2.default.prototype?"symbol":typeof obj};function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default="function"===typeof _symbol2.default&&"symbol"===_typeof(_iterator2.default)?function(obj){return"undefined"===typeof obj?"undefined":_typeof(obj)}:function(obj){return obj&&"function"===typeof _symbol2.default&&obj.constructor===_symbol2.default&&obj!==_symbol2.default.prototype?"symbol":"undefined"===typeof obj?"undefined":_typeof(obj)}});unwrapExports(_typeof_1);var possibleConstructorReturn$1=createCommonjsModule(function(module,exports){exports.__esModule=true;var _typeof3=_interopRequireDefault(_typeof_1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=function(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==("undefined"===typeof call?"undefined":(0,_typeof3.default)(call))&&"function"!==typeof call?self:call}});var _possibleConstructorReturn=unwrapExports(possibleConstructorReturn$1);var check=function(O,proto){_anObject(O);if(!_isObject(proto)&&null!==proto)throw TypeError(proto+": can't set as prototype!")};var _setProto={set:Object.setPrototypeOf||("__proto__"in{}?function(test,buggy,set){try{set=_ctx(Function.call,_objectGopd.f(Object.prototype,"__proto__").set,2);set(test,[]);buggy=!(test instanceof Array)}catch(e){buggy=true}return function setPrototypeOf(O,proto){check(O,proto);buggy?O.__proto__=proto:set(O,proto);return O}}({},false):void 0),check:check};_export(_export.S,"Object",{setPrototypeOf:_setProto.set});var setPrototypeOf=_core.Object.setPrototypeOf;var setPrototypeOf$1=createCommonjsModule(function(module){module.exports={default:setPrototypeOf,__esModule:true}});var setPrototypeOf$2=unwrapExports(setPrototypeOf$1);var setPrototypeOf$3=Object.freeze({default:setPrototypeOf$2,__moduleExports:setPrototypeOf$1});_export(_export.S,"Object",{create:_objectCreate});var $Object=_core.Object;var create=function create(P,D){return $Object.create(P,D)};var create$1=createCommonjsModule(function(module){module.exports={default:create,__esModule:true}});unwrapExports(create$1);var _setPrototypeOf=setPrototypeOf$3&&setPrototypeOf$2||setPrototypeOf$3;var inherits$1=createCommonjsModule(function(module,exports){exports.__esModule=true;var _setPrototypeOf2=_interopRequireDefault(_setPrototypeOf);var _create2=_interopRequireDefault(create$1);var _typeof3=_interopRequireDefault(_typeof_1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=function(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof superClass?"undefined":(0,_typeof3.default)(superClass)));subClass.prototype=(0,_create2.default)(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(_setPrototypeOf2.default?(0,_setPrototypeOf2.default)(subClass,superClass):subClass.__proto__=superClass)}});var _inherits=unwrapExports(inherits$1);
/**!
 * @fileOverview Kickass library to create and place poppers near their reference elements.
 * @version 1.14.1
 * @license
 * Copyright (c) 2016 Federico Zivolo and contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */var isBrowser="undefined"!==typeof window&&"undefined"!==typeof document;var longerTimeoutBrowsers=["Edge","Trident","Firefox"];var timeoutDuration=0;for(var i$1=0;i$1<longerTimeoutBrowsers.length;i$1+=1)if(isBrowser&&navigator.userAgent.indexOf(longerTimeoutBrowsers[i$1])>=0){timeoutDuration=1;break}function microtaskDebounce(fn){var called=false;return function(){if(called)return;called=true;window.Promise.resolve().then(function(){called=false;fn()})}}function taskDebounce(fn){var scheduled=false;return function(){if(!scheduled){scheduled=true;setTimeout(function(){scheduled=false;fn()},timeoutDuration)}}}var supportsMicroTasks=isBrowser&&window.Promise;var debounce=supportsMicroTasks?microtaskDebounce:taskDebounce;function isFunction(functionToCheck){var getType={};return functionToCheck&&"[object Function]"===getType.toString.call(functionToCheck)}function getStyleComputedProperty(element,property){if(1!==element.nodeType)return[];var css=getComputedStyle(element,null);return property?css[property]:css}function getParentNode(element){if("HTML"===element.nodeName)return element;return element.parentNode||element.host}function getScrollParent(element){if(!element)return document.body;switch(element.nodeName){case"HTML":case"BODY":return element.ownerDocument.body;case"#document":return element.body}var _getStyleComputedProp=getStyleComputedProperty(element),overflow=_getStyleComputedProp.overflow,overflowX=_getStyleComputedProp.overflowX,overflowY=_getStyleComputedProp.overflowY;if(/(auto|scroll|overlay)/.test(overflow+overflowY+overflowX))return element;return getScrollParent(getParentNode(element))}var cache={};var isIE=function(){var version=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all";version=version.toString();if(cache.hasOwnProperty(version))return cache[version];switch(version){case"11":cache[version]=-1!==navigator.userAgent.indexOf("Trident");break;case"10":cache[version]=-1!==navigator.appVersion.indexOf("MSIE 10");break;case"all":cache[version]=-1!==navigator.userAgent.indexOf("Trident")||-1!==navigator.userAgent.indexOf("MSIE")}cache.all=cache.all||Object.keys(cache).some(function(key){return cache[key]});return cache[version]};function getOffsetParent(element){if(!element)return document.documentElement;var noOffsetParent=isIE(10)?document.body:null;var offsetParent=element.offsetParent;while(offsetParent===noOffsetParent&&element.nextElementSibling)offsetParent=(element=element.nextElementSibling).offsetParent;var nodeName=offsetParent&&offsetParent.nodeName;if(!nodeName||"BODY"===nodeName||"HTML"===nodeName)return element?element.ownerDocument.documentElement:document.documentElement;if(-1!==["TD","TABLE"].indexOf(offsetParent.nodeName)&&"static"===getStyleComputedProperty(offsetParent,"position"))return getOffsetParent(offsetParent);return offsetParent}function isOffsetContainer(element){var nodeName=element.nodeName;if("BODY"===nodeName)return false;return"HTML"===nodeName||getOffsetParent(element.firstElementChild)===element}function getRoot(node){if(null!==node.parentNode)return getRoot(node.parentNode);return node}function findCommonOffsetParent(element1,element2){if(!element1||!element1.nodeType||!element2||!element2.nodeType)return document.documentElement;var order=element1.compareDocumentPosition(element2)&Node.DOCUMENT_POSITION_FOLLOWING;var start=order?element1:element2;var end=order?element2:element1;var range=document.createRange();range.setStart(start,0);range.setEnd(end,0);var commonAncestorContainer=range.commonAncestorContainer;if(element1!==commonAncestorContainer&&element2!==commonAncestorContainer||start.contains(end)){if(isOffsetContainer(commonAncestorContainer))return commonAncestorContainer;return getOffsetParent(commonAncestorContainer)}var element1root=getRoot(element1);return element1root.host?findCommonOffsetParent(element1root.host,element2):findCommonOffsetParent(element1,getRoot(element2).host)}function getScroll(element){var side=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top";var upperSide="top"===side?"scrollTop":"scrollLeft";var nodeName=element.nodeName;if("BODY"===nodeName||"HTML"===nodeName){var html=element.ownerDocument.documentElement;var scrollingElement=element.ownerDocument.scrollingElement||html;return scrollingElement[upperSide]}return element[upperSide]}function includeScroll(rect,element){var subtract=arguments.length>2&&void 0!==arguments[2]&&arguments[2];var scrollTop=getScroll(element,"top");var scrollLeft=getScroll(element,"left");var modifier=subtract?-1:1;rect.top+=scrollTop*modifier;rect.bottom+=scrollTop*modifier;rect.left+=scrollLeft*modifier;rect.right+=scrollLeft*modifier;return rect}function getBordersSize(styles,axis){var sideA="x"===axis?"Left":"Top";var sideB="Left"===sideA?"Right":"Bottom";return parseFloat(styles["border"+sideA+"Width"],10)+parseFloat(styles["border"+sideB+"Width"],10)}function getSize(axis,body,html,computedStyle){return Math.max(body["offset"+axis],body["scroll"+axis],html["client"+axis],html["offset"+axis],html["scroll"+axis],isIE(10)?html["offset"+axis]+computedStyle["margin"+("Height"===axis?"Top":"Left")]+computedStyle["margin"+("Height"===axis?"Bottom":"Right")]:0)}function getWindowSizes(){var body=document.body;var html=document.documentElement;var computedStyle=isIE(10)&&getComputedStyle(html);return{height:getSize("Height",body,html,computedStyle),width:getSize("Width",body,html,computedStyle)}}var classCallCheck$2=function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")};var createClass$1=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var defineProperty$2=function(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj};var _extends$3=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};function getClientRect(offsets){return _extends$3({},offsets,{right:offsets.left+offsets.width,bottom:offsets.top+offsets.height})}function getBoundingClientRect(element){var rect={};try{if(isIE(10)){rect=element.getBoundingClientRect();var scrollTop=getScroll(element,"top");var scrollLeft=getScroll(element,"left");rect.top+=scrollTop;rect.left+=scrollLeft;rect.bottom+=scrollTop;rect.right+=scrollLeft}else rect=element.getBoundingClientRect()}catch(e){}var result={left:rect.left,top:rect.top,width:rect.right-rect.left,height:rect.bottom-rect.top};var sizes="HTML"===element.nodeName?getWindowSizes():{};var width=sizes.width||element.clientWidth||result.right-result.left;var height=sizes.height||element.clientHeight||result.bottom-result.top;var horizScrollbar=element.offsetWidth-width;var vertScrollbar=element.offsetHeight-height;if(horizScrollbar||vertScrollbar){var styles=getStyleComputedProperty(element);horizScrollbar-=getBordersSize(styles,"x");vertScrollbar-=getBordersSize(styles,"y");result.width-=horizScrollbar;result.height-=vertScrollbar}return getClientRect(result)}function getOffsetRectRelativeToArbitraryNode(children,parent){var fixedPosition=arguments.length>2&&void 0!==arguments[2]&&arguments[2];var isIE10=isIE(10);var isHTML="HTML"===parent.nodeName;var childrenRect=getBoundingClientRect(children);var parentRect=getBoundingClientRect(parent);var scrollParent=getScrollParent(children);var styles=getStyleComputedProperty(parent);var borderTopWidth=parseFloat(styles.borderTopWidth,10);var borderLeftWidth=parseFloat(styles.borderLeftWidth,10);if(fixedPosition&&"HTML"===parent.nodeName){parentRect.top=Math.max(parentRect.top,0);parentRect.left=Math.max(parentRect.left,0)}var offsets=getClientRect({top:childrenRect.top-parentRect.top-borderTopWidth,left:childrenRect.left-parentRect.left-borderLeftWidth,width:childrenRect.width,height:childrenRect.height});offsets.marginTop=0;offsets.marginLeft=0;if(!isIE10&&isHTML){var marginTop=parseFloat(styles.marginTop,10);var marginLeft=parseFloat(styles.marginLeft,10);offsets.top-=borderTopWidth-marginTop;offsets.bottom-=borderTopWidth-marginTop;offsets.left-=borderLeftWidth-marginLeft;offsets.right-=borderLeftWidth-marginLeft;offsets.marginTop=marginTop;offsets.marginLeft=marginLeft}(isIE10&&!fixedPosition?parent.contains(scrollParent):parent===scrollParent&&"BODY"!==scrollParent.nodeName)&&(offsets=includeScroll(offsets,parent));return offsets}function getViewportOffsetRectRelativeToArtbitraryNode(element){var excludeScroll=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var html=element.ownerDocument.documentElement;var relativeOffset=getOffsetRectRelativeToArbitraryNode(element,html);var width=Math.max(html.clientWidth,window.innerWidth||0);var height=Math.max(html.clientHeight,window.innerHeight||0);var scrollTop=excludeScroll?0:getScroll(html);var scrollLeft=excludeScroll?0:getScroll(html,"left");var offset={top:scrollTop-relativeOffset.top+relativeOffset.marginTop,left:scrollLeft-relativeOffset.left+relativeOffset.marginLeft,width:width,height:height};return getClientRect(offset)}function isFixed(element){var nodeName=element.nodeName;if("BODY"===nodeName||"HTML"===nodeName)return false;if("fixed"===getStyleComputedProperty(element,"position"))return true;return isFixed(getParentNode(element))}function getFixedPositionOffsetParent(element){if(!element||!element.parentElement||isIE())return document.documentElement;var el=element.parentElement;while(el&&"none"===getStyleComputedProperty(el,"transform"))el=el.parentElement;return el||document.documentElement}function getBoundaries(popper,reference,padding,boundariesElement){var fixedPosition=arguments.length>4&&void 0!==arguments[4]&&arguments[4];var boundaries={top:0,left:0};var offsetParent=fixedPosition?getFixedPositionOffsetParent(popper):findCommonOffsetParent(popper,reference);if("viewport"===boundariesElement)boundaries=getViewportOffsetRectRelativeToArtbitraryNode(offsetParent,fixedPosition);else{var boundariesNode=void 0;if("scrollParent"===boundariesElement){boundariesNode=getScrollParent(getParentNode(reference));"BODY"===boundariesNode.nodeName&&(boundariesNode=popper.ownerDocument.documentElement)}else boundariesNode="window"===boundariesElement?popper.ownerDocument.documentElement:boundariesElement;var offsets=getOffsetRectRelativeToArbitraryNode(boundariesNode,offsetParent,fixedPosition);if("HTML"!==boundariesNode.nodeName||isFixed(offsetParent))boundaries=offsets;else{var _getWindowSizes=getWindowSizes(),height=_getWindowSizes.height,width=_getWindowSizes.width;boundaries.top+=offsets.top-offsets.marginTop;boundaries.bottom=height+offsets.top;boundaries.left+=offsets.left-offsets.marginLeft;boundaries.right=width+offsets.left}}boundaries.left+=padding;boundaries.top+=padding;boundaries.right-=padding;boundaries.bottom-=padding;return boundaries}function getArea(_ref){var width=_ref.width,height=_ref.height;return width*height}function computeAutoPlacement(placement,refRect,popper,reference,boundariesElement){var padding=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===placement.indexOf("auto"))return placement;var boundaries=getBoundaries(popper,reference,padding,boundariesElement);var rects={top:{width:boundaries.width,height:refRect.top-boundaries.top},right:{width:boundaries.right-refRect.right,height:boundaries.height},bottom:{width:boundaries.width,height:boundaries.bottom-refRect.bottom},left:{width:refRect.left-boundaries.left,height:boundaries.height}};var sortedAreas=Object.keys(rects).map(function(key){return _extends$3({key:key},rects[key],{area:getArea(rects[key])})}).sort(function(a,b){return b.area-a.area});var filteredAreas=sortedAreas.filter(function(_ref2){var width=_ref2.width,height=_ref2.height;return width>=popper.clientWidth&&height>=popper.clientHeight});var computedPlacement=filteredAreas.length>0?filteredAreas[0].key:sortedAreas[0].key;var variation=placement.split("-")[1];return computedPlacement+(variation?"-"+variation:"")}function getReferenceOffsets(state,popper,reference){var fixedPosition=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;var commonOffsetParent=fixedPosition?getFixedPositionOffsetParent(popper):findCommonOffsetParent(popper,reference);return getOffsetRectRelativeToArbitraryNode(reference,commonOffsetParent,fixedPosition)}function getOuterSizes(element){var styles=getComputedStyle(element);var x=parseFloat(styles.marginTop)+parseFloat(styles.marginBottom);var y=parseFloat(styles.marginLeft)+parseFloat(styles.marginRight);var result={width:element.offsetWidth+y,height:element.offsetHeight+x};return result}function getOppositePlacement(placement){var hash={left:"right",right:"left",bottom:"top",top:"bottom"};return placement.replace(/left|right|bottom|top/g,function(matched){return hash[matched]})}function getPopperOffsets(popper,referenceOffsets,placement){placement=placement.split("-")[0];var popperRect=getOuterSizes(popper);var popperOffsets={width:popperRect.width,height:popperRect.height};var isHoriz=-1!==["right","left"].indexOf(placement);var mainSide=isHoriz?"top":"left";var secondarySide=isHoriz?"left":"top";var measurement=isHoriz?"height":"width";var secondaryMeasurement=isHoriz?"width":"height";popperOffsets[mainSide]=referenceOffsets[mainSide]+referenceOffsets[measurement]/2-popperRect[measurement]/2;popperOffsets[secondarySide]=placement===secondarySide?referenceOffsets[secondarySide]-popperRect[secondaryMeasurement]:referenceOffsets[getOppositePlacement(secondarySide)];return popperOffsets}function find(arr,check){if(Array.prototype.find)return arr.find(check);return arr.filter(check)[0]}function findIndex(arr,prop,value){if(Array.prototype.findIndex)return arr.findIndex(function(cur){return cur[prop]===value});var match=find(arr,function(obj){return obj[prop]===value});return arr.indexOf(match)}function runModifiers(modifiers,data,ends){var modifiersToRun=void 0===ends?modifiers:modifiers.slice(0,findIndex(modifiers,"name",ends));modifiersToRun.forEach(function(modifier){modifier["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var fn=modifier["function"]||modifier.fn;if(modifier.enabled&&isFunction(fn)){data.offsets.popper=getClientRect(data.offsets.popper);data.offsets.reference=getClientRect(data.offsets.reference);data=fn(data,modifier)}});return data}function update(){if(this.state.isDestroyed)return;var data={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:false,offsets:{}};data.offsets.reference=getReferenceOffsets(this.state,this.popper,this.reference,this.options.positionFixed);data.placement=computeAutoPlacement(this.options.placement,data.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding);data.originalPlacement=data.placement;data.positionFixed=this.options.positionFixed;data.offsets.popper=getPopperOffsets(this.popper,data.offsets.reference,data.placement);data.offsets.popper.position=this.options.positionFixed?"fixed":"absolute";data=runModifiers(this.modifiers,data);if(this.state.isCreated)this.options.onUpdate(data);else{this.state.isCreated=true;this.options.onCreate(data)}}function isModifierEnabled(modifiers,modifierName){return modifiers.some(function(_ref){var name=_ref.name,enabled=_ref.enabled;return enabled&&name===modifierName})}function getSupportedPropertyName(property){var prefixes=[false,"ms","Webkit","Moz","O"];var upperProp=property.charAt(0).toUpperCase()+property.slice(1);for(var i=0;i<prefixes.length;i++){var prefix=prefixes[i];var toCheck=prefix?""+prefix+upperProp:property;if("undefined"!==typeof document.body.style[toCheck])return toCheck}return null}function destroy(){this.state.isDestroyed=true;if(isModifierEnabled(this.modifiers,"applyStyle")){this.popper.removeAttribute("x-placement");this.popper.style.position="";this.popper.style.top="";this.popper.style.left="";this.popper.style.right="";this.popper.style.bottom="";this.popper.style.willChange="";this.popper.style[getSupportedPropertyName("transform")]=""}this.disableEventListeners();this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper);return this}function getWindow(element){var ownerDocument=element.ownerDocument;return ownerDocument?ownerDocument.defaultView:window}function attachToScrollParents(scrollParent,event,callback,scrollParents){var isBody="BODY"===scrollParent.nodeName;var target=isBody?scrollParent.ownerDocument.defaultView:scrollParent;target.addEventListener(event,callback,{passive:true});isBody||attachToScrollParents(getScrollParent(target.parentNode),event,callback,scrollParents);scrollParents.push(target)}function setupEventListeners(reference,options,state,updateBound){state.updateBound=updateBound;getWindow(reference).addEventListener("resize",state.updateBound,{passive:true});var scrollElement=getScrollParent(reference);attachToScrollParents(scrollElement,"scroll",state.updateBound,state.scrollParents);state.scrollElement=scrollElement;state.eventsEnabled=true;return state}function enableEventListeners(){this.state.eventsEnabled||(this.state=setupEventListeners(this.reference,this.options,this.state,this.scheduleUpdate))}function removeEventListeners(reference,state){getWindow(reference).removeEventListener("resize",state.updateBound);state.scrollParents.forEach(function(target){target.removeEventListener("scroll",state.updateBound)});state.updateBound=null;state.scrollParents=[];state.scrollElement=null;state.eventsEnabled=false;return state}function disableEventListeners(){if(this.state.eventsEnabled){cancelAnimationFrame(this.scheduleUpdate);this.state=removeEventListeners(this.reference,this.state)}}function isNumeric(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function setStyles(element,styles){Object.keys(styles).forEach(function(prop){var unit="";-1!==["width","height","top","right","bottom","left"].indexOf(prop)&&isNumeric(styles[prop])&&(unit="px");element.style[prop]=styles[prop]+unit})}function setAttributes(element,attributes){Object.keys(attributes).forEach(function(prop){var value=attributes[prop];false!==value?element.setAttribute(prop,attributes[prop]):element.removeAttribute(prop)})}function applyStyle(data){setStyles(data.instance.popper,data.styles);setAttributes(data.instance.popper,data.attributes);data.arrowElement&&Object.keys(data.arrowStyles).length&&setStyles(data.arrowElement,data.arrowStyles);return data}function applyStyleOnLoad(reference,popper,options,modifierOptions,state){var referenceOffsets=getReferenceOffsets(state,popper,reference,options.positionFixed);var placement=computeAutoPlacement(options.placement,referenceOffsets,popper,reference,options.modifiers.flip.boundariesElement,options.modifiers.flip.padding);popper.setAttribute("x-placement",placement);setStyles(popper,{position:options.positionFixed?"fixed":"absolute"});return options}function computeStyle(data,options){var x=options.x,y=options.y;var popper=data.offsets.popper;var legacyGpuAccelerationOption=find(data.instance.modifiers,function(modifier){return"applyStyle"===modifier.name}).gpuAcceleration;void 0!==legacyGpuAccelerationOption&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var gpuAcceleration=void 0!==legacyGpuAccelerationOption?legacyGpuAccelerationOption:options.gpuAcceleration;var offsetParent=getOffsetParent(data.instance.popper);var offsetParentRect=getBoundingClientRect(offsetParent);var styles={position:popper.position};var offsets={left:Math.floor(popper.left),top:Math.floor(popper.top),bottom:Math.floor(popper.bottom),right:Math.floor(popper.right)};var sideA="bottom"===x?"top":"bottom";var sideB="right"===y?"left":"right";var prefixedProperty=getSupportedPropertyName("transform");var left=void 0,top=void 0;top="bottom"===sideA?-offsetParentRect.height+offsets.bottom:offsets.top;left="right"===sideB?-offsetParentRect.width+offsets.right:offsets.left;if(gpuAcceleration&&prefixedProperty){styles[prefixedProperty]="translate3d("+left+"px, "+top+"px, 0)";styles[sideA]=0;styles[sideB]=0;styles.willChange="transform"}else{var invertTop="bottom"===sideA?-1:1;var invertLeft="right"===sideB?-1:1;styles[sideA]=top*invertTop;styles[sideB]=left*invertLeft;styles.willChange=sideA+", "+sideB}var attributes={"x-placement":data.placement};data.attributes=_extends$3({},attributes,data.attributes);data.styles=_extends$3({},styles,data.styles);data.arrowStyles=_extends$3({},data.offsets.arrow,data.arrowStyles);return data}function isModifierRequired(modifiers,requestingName,requestedName){var requesting=find(modifiers,function(_ref){var name=_ref.name;return name===requestingName});var isRequired=!!requesting&&modifiers.some(function(modifier){return modifier.name===requestedName&&modifier.enabled&&modifier.order<requesting.order});if(!isRequired){var _requesting="`"+requestingName+"`";var requested="`"+requestedName+"`";console.warn(requested+" modifier is required by "+_requesting+" modifier in order to work, be sure to include it before "+_requesting+"!")}return isRequired}function arrow(data,options){var _data$offsets$arrow;if(!isModifierRequired(data.instance.modifiers,"arrow","keepTogether"))return data;var arrowElement=options.element;if("string"===typeof arrowElement){arrowElement=data.instance.popper.querySelector(arrowElement);if(!arrowElement)return data}else if(!data.instance.popper.contains(arrowElement)){console.warn("WARNING: `arrow.element` must be child of its popper element!");return data}var placement=data.placement.split("-")[0];var _data$offsets=data.offsets,popper=_data$offsets.popper,reference=_data$offsets.reference;var isVertical=-1!==["left","right"].indexOf(placement);var len=isVertical?"height":"width";var sideCapitalized=isVertical?"Top":"Left";var side=sideCapitalized.toLowerCase();var altSide=isVertical?"left":"top";var opSide=isVertical?"bottom":"right";var arrowElementSize=getOuterSizes(arrowElement)[len];reference[opSide]-arrowElementSize<popper[side]&&(data.offsets.popper[side]-=popper[side]-(reference[opSide]-arrowElementSize));reference[side]+arrowElementSize>popper[opSide]&&(data.offsets.popper[side]+=reference[side]+arrowElementSize-popper[opSide]);data.offsets.popper=getClientRect(data.offsets.popper);var center=reference[side]+reference[len]/2-arrowElementSize/2;var css=getStyleComputedProperty(data.instance.popper);var popperMarginSide=parseFloat(css["margin"+sideCapitalized],10);var popperBorderSide=parseFloat(css["border"+sideCapitalized+"Width"],10);var sideValue=center-data.offsets.popper[side]-popperMarginSide-popperBorderSide;sideValue=Math.max(Math.min(popper[len]-arrowElementSize,sideValue),0);data.arrowElement=arrowElement;data.offsets.arrow=(_data$offsets$arrow={},defineProperty$2(_data$offsets$arrow,side,Math.round(sideValue)),defineProperty$2(_data$offsets$arrow,altSide,""),_data$offsets$arrow);return data}function getOppositeVariation(variation){if("end"===variation)return"start";if("start"===variation)return"end";return variation}var placements=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"];var validPlacements=placements.slice(3);function clockwise(placement){var counter=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var index=validPlacements.indexOf(placement);var arr=validPlacements.slice(index+1).concat(validPlacements.slice(0,index));return counter?arr.reverse():arr}var BEHAVIORS={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function flip(data,options){if(isModifierEnabled(data.instance.modifiers,"inner"))return data;if(data.flipped&&data.placement===data.originalPlacement)return data;var boundaries=getBoundaries(data.instance.popper,data.instance.reference,options.padding,options.boundariesElement,data.positionFixed);var placement=data.placement.split("-")[0];var placementOpposite=getOppositePlacement(placement);var variation=data.placement.split("-")[1]||"";var flipOrder=[];switch(options.behavior){case BEHAVIORS.FLIP:flipOrder=[placement,placementOpposite];break;case BEHAVIORS.CLOCKWISE:flipOrder=clockwise(placement);break;case BEHAVIORS.COUNTERCLOCKWISE:flipOrder=clockwise(placement,true);break;default:flipOrder=options.behavior}flipOrder.forEach(function(step,index){if(placement!==step||flipOrder.length===index+1)return data;placement=data.placement.split("-")[0];placementOpposite=getOppositePlacement(placement);var popperOffsets=data.offsets.popper;var refOffsets=data.offsets.reference;var floor=Math.floor;var overlapsRef="left"===placement&&floor(popperOffsets.right)>floor(refOffsets.left)||"right"===placement&&floor(popperOffsets.left)<floor(refOffsets.right)||"top"===placement&&floor(popperOffsets.bottom)>floor(refOffsets.top)||"bottom"===placement&&floor(popperOffsets.top)<floor(refOffsets.bottom);var overflowsLeft=floor(popperOffsets.left)<floor(boundaries.left);var overflowsRight=floor(popperOffsets.right)>floor(boundaries.right);var overflowsTop=floor(popperOffsets.top)<floor(boundaries.top);var overflowsBottom=floor(popperOffsets.bottom)>floor(boundaries.bottom);var overflowsBoundaries="left"===placement&&overflowsLeft||"right"===placement&&overflowsRight||"top"===placement&&overflowsTop||"bottom"===placement&&overflowsBottom;var isVertical=-1!==["top","bottom"].indexOf(placement);var flippedVariation=!!options.flipVariations&&(isVertical&&"start"===variation&&overflowsLeft||isVertical&&"end"===variation&&overflowsRight||!isVertical&&"start"===variation&&overflowsTop||!isVertical&&"end"===variation&&overflowsBottom);if(overlapsRef||overflowsBoundaries||flippedVariation){data.flipped=true;(overlapsRef||overflowsBoundaries)&&(placement=flipOrder[index+1]);flippedVariation&&(variation=getOppositeVariation(variation));data.placement=placement+(variation?"-"+variation:"");data.offsets.popper=_extends$3({},data.offsets.popper,getPopperOffsets(data.instance.popper,data.offsets.reference,data.placement));data=runModifiers(data.instance.modifiers,data,"flip")}});return data}function keepTogether(data){var _data$offsets=data.offsets,popper=_data$offsets.popper,reference=_data$offsets.reference;var placement=data.placement.split("-")[0];var floor=Math.floor;var isVertical=-1!==["top","bottom"].indexOf(placement);var side=isVertical?"right":"bottom";var opSide=isVertical?"left":"top";var measurement=isVertical?"width":"height";popper[side]<floor(reference[opSide])&&(data.offsets.popper[opSide]=floor(reference[opSide])-popper[measurement]);popper[opSide]>floor(reference[side])&&(data.offsets.popper[opSide]=floor(reference[side]));return data}function toValue(str,measurement,popperOffsets,referenceOffsets){var split=str.match(/((?:\-|\+)?\d*\.?\d*)(.*)/);var value=+split[1];var unit=split[2];if(!value)return str;if(0===unit.indexOf("%")){var element=void 0;switch(unit){case"%p":element=popperOffsets;break;case"%":case"%r":default:element=referenceOffsets}var rect=getClientRect(element);return rect[measurement]/100*value}if("vh"===unit||"vw"===unit){var size=void 0;size="vh"===unit?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0);return size/100*value}return value}function parseOffset(offset,popperOffsets,referenceOffsets,basePlacement){var offsets=[0,0];var useHeight=-1!==["right","left"].indexOf(basePlacement);var fragments=offset.split(/(\+|\-)/).map(function(frag){return frag.trim()});var divider=fragments.indexOf(find(fragments,function(frag){return-1!==frag.search(/,|\s/)}));fragments[divider]&&-1===fragments[divider].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var splitRegex=/\s*,\s*|\s+/;var ops=-1!==divider?[fragments.slice(0,divider).concat([fragments[divider].split(splitRegex)[0]]),[fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider+1))]:[fragments];ops=ops.map(function(op,index){var measurement=(1===index?!useHeight:useHeight)?"height":"width";var mergeWithPrevious=false;return op.reduce(function(a,b){if(""===a[a.length-1]&&-1!==["+","-"].indexOf(b)){a[a.length-1]=b;mergeWithPrevious=true;return a}if(mergeWithPrevious){a[a.length-1]+=b;mergeWithPrevious=false;return a}return a.concat(b)},[]).map(function(str){return toValue(str,measurement,popperOffsets,referenceOffsets)})});ops.forEach(function(op,index){op.forEach(function(frag,index2){isNumeric(frag)&&(offsets[index]+=frag*("-"===op[index2-1]?-1:1))})});return offsets}function offset(data,_ref){var offset=_ref.offset;var placement=data.placement,_data$offsets=data.offsets,popper=_data$offsets.popper,reference=_data$offsets.reference;var basePlacement=placement.split("-")[0];var offsets=void 0;offsets=isNumeric(+offset)?[+offset,0]:parseOffset(offset,popper,reference,basePlacement);if("left"===basePlacement){popper.top+=offsets[0];popper.left-=offsets[1]}else if("right"===basePlacement){popper.top+=offsets[0];popper.left+=offsets[1]}else if("top"===basePlacement){popper.left+=offsets[0];popper.top-=offsets[1]}else if("bottom"===basePlacement){popper.left+=offsets[0];popper.top+=offsets[1]}data.popper=popper;return data}function preventOverflow(data,options){var boundariesElement=options.boundariesElement||getOffsetParent(data.instance.popper);data.instance.reference===boundariesElement&&(boundariesElement=getOffsetParent(boundariesElement));var boundaries=getBoundaries(data.instance.popper,data.instance.reference,options.padding,boundariesElement,data.positionFixed);options.boundaries=boundaries;var order=options.priority;var popper=data.offsets.popper;var check={primary:function primary(placement){var value=popper[placement];popper[placement]<boundaries[placement]&&!options.escapeWithReference&&(value=Math.max(popper[placement],boundaries[placement]));return defineProperty$2({},placement,value)},secondary:function secondary(placement){var mainSide="right"===placement?"left":"top";var value=popper[mainSide];popper[placement]>boundaries[placement]&&!options.escapeWithReference&&(value=Math.min(popper[mainSide],boundaries[placement]-("right"===placement?popper.width:popper.height)));return defineProperty$2({},mainSide,value)}};order.forEach(function(placement){var side=-1!==["left","top"].indexOf(placement)?"primary":"secondary";popper=_extends$3({},popper,check[side](placement))});data.offsets.popper=popper;return data}function shift(data){var placement=data.placement;var basePlacement=placement.split("-")[0];var shiftvariation=placement.split("-")[1];if(shiftvariation){var _data$offsets=data.offsets,reference=_data$offsets.reference,popper=_data$offsets.popper;var isVertical=-1!==["bottom","top"].indexOf(basePlacement);var side=isVertical?"left":"top";var measurement=isVertical?"width":"height";var shiftOffsets={start:defineProperty$2({},side,reference[side]),end:defineProperty$2({},side,reference[side]+reference[measurement]-popper[measurement])};data.offsets.popper=_extends$3({},popper,shiftOffsets[shiftvariation])}return data}function hide(data){if(!isModifierRequired(data.instance.modifiers,"hide","preventOverflow"))return data;var refRect=data.offsets.reference;var bound=find(data.instance.modifiers,function(modifier){return"preventOverflow"===modifier.name}).boundaries;if(refRect.bottom<bound.top||refRect.left>bound.right||refRect.top>bound.bottom||refRect.right<bound.left){if(true===data.hide)return data;data.hide=true;data.attributes["x-out-of-boundaries"]=""}else{if(false===data.hide)return data;data.hide=false;data.attributes["x-out-of-boundaries"]=false}return data}function inner(data){var placement=data.placement;var basePlacement=placement.split("-")[0];var _data$offsets=data.offsets,popper=_data$offsets.popper,reference=_data$offsets.reference;var isHoriz=-1!==["left","right"].indexOf(basePlacement);var subtractLength=-1===["top","left"].indexOf(basePlacement);popper[isHoriz?"left":"top"]=reference[basePlacement]-(subtractLength?popper[isHoriz?"width":"height"]:0);data.placement=getOppositePlacement(placement);data.offsets.popper=getClientRect(popper);return data}var modifiers={shift:{order:100,enabled:true,fn:shift},offset:{order:200,enabled:true,fn:offset,offset:0},preventOverflow:{order:300,enabled:true,fn:preventOverflow,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:true,fn:keepTogether},arrow:{order:500,enabled:true,fn:arrow,element:"[x-arrow]"},flip:{order:600,enabled:true,fn:flip,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:false,fn:inner},hide:{order:800,enabled:true,fn:hide},computeStyle:{order:850,enabled:true,fn:computeStyle,gpuAcceleration:true,x:"bottom",y:"right"},applyStyle:{order:900,enabled:true,fn:applyStyle,onLoad:applyStyleOnLoad,gpuAcceleration:void 0}};var Defaults={placement:"bottom",positionFixed:false,eventsEnabled:true,removeOnDestroy:false,onCreate:function onCreate(){},onUpdate:function onUpdate(){},modifiers:modifiers};var Popper=function(){function Popper(reference,popper){var _this=this;var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};classCallCheck$2(this,Popper);this.scheduleUpdate=function(){return requestAnimationFrame(_this.update)};this.update=debounce(this.update.bind(this));this.options=_extends$3({},Popper.Defaults,options);this.state={isDestroyed:false,isCreated:false,scrollParents:[]};this.reference=reference&&reference.jquery?reference[0]:reference;this.popper=popper&&popper.jquery?popper[0]:popper;this.options.modifiers={};Object.keys(_extends$3({},Popper.Defaults.modifiers,options.modifiers)).forEach(function(name){_this.options.modifiers[name]=_extends$3({},Popper.Defaults.modifiers[name]||{},options.modifiers?options.modifiers[name]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(name){return _extends$3({name:name},_this.options.modifiers[name])}).sort(function(a,b){return a.order-b.order});this.modifiers.forEach(function(modifierOptions){modifierOptions.enabled&&isFunction(modifierOptions.onLoad)&&modifierOptions.onLoad(_this.reference,_this.popper,_this.options,modifierOptions,_this.state)});this.update();var eventsEnabled=this.options.eventsEnabled;eventsEnabled&&this.enableEventListeners();this.state.eventsEnabled=eventsEnabled}createClass$1(Popper,[{key:"update",value:function update$$1(){return update.call(this)}},{key:"destroy",value:function destroy$$1(){return destroy.call(this)}},{key:"enableEventListeners",value:function enableEventListeners$$1(){return enableEventListeners.call(this)}},{key:"disableEventListeners",value:function disableEventListeners$$1(){return disableEventListeners.call(this)}}]);return Popper}();Popper.Utils=("undefined"!==typeof window?window:global).PopperUtils;Popper.placements=placements;Popper.Defaults=Defaults;var key="__global_unique_id__";var gud=function(){return commonjsGlobal[key]=(commonjsGlobal[key]||0)+1};function makeEmptyFunction(arg){return function(){return arg}}var emptyFunction=function emptyFunction(){};emptyFunction.thatReturns=makeEmptyFunction;emptyFunction.thatReturnsFalse=makeEmptyFunction(false);emptyFunction.thatReturnsTrue=makeEmptyFunction(true);emptyFunction.thatReturnsNull=makeEmptyFunction(null);emptyFunction.thatReturnsThis=function(){return this};emptyFunction.thatReturnsArgument=function(arg){return arg};var emptyFunction_1=emptyFunction;var emptyFunction$1=Object.freeze({default:emptyFunction_1,__moduleExports:emptyFunction_1});var emptyFunction$2=emptyFunction$1&&emptyFunction_1||emptyFunction$1;var warning=emptyFunction$2;false;var warning_1=warning;var implementation=createCommonjsModule(function(module,exports){exports.__esModule=true;_interopRequireDefault(React__default);var _propTypes2=_interopRequireDefault(PropTypes);var _gud2=_interopRequireDefault(gud);_interopRequireDefault(warning_1);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var MAX_SIGNED_31_BIT_INT=1073741823;function objectIs(x,y){return x===y?0!==x||1/x===1/y:x!==x&&y!==y}function createEventEmitter(value){var handlers=[];return{on:function on(handler){handlers.push(handler)},off:function off(handler){handlers=handlers.filter(function(h){return h!==handler})},get:function get(){return value},set:function set(newValue,changedBits){value=newValue;handlers.forEach(function(handler){return handler(value,changedBits)})}}}function onlyChild(children){return Array.isArray(children)?children[0]:children}function createReactContext(defaultValue,calculateChangedBits){var _Provider$childContex,_Consumer$contextType;var contextProp="__create-react-context-"+(0,_gud2.default)()+"__";var Provider=function(_Component){_inherits(Provider,_Component);function Provider(){var _temp,_this,_ret;_classCallCheck(this,Provider);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_Component.call.apply(_Component,[this].concat(args))),_this),_this.emitter=createEventEmitter(_this.props.value),_temp),_possibleConstructorReturn(_this,_ret)}Provider.prototype.getChildContext=function getChildContext(){var _ref;return _ref={},_ref[contextProp]=this.emitter,_ref};Provider.prototype.componentWillReceiveProps=function componentWillReceiveProps(nextProps){if(this.props.value!==nextProps.value){var oldValue=this.props.value;var newValue=nextProps.value;var changedBits=void 0;if(objectIs(oldValue,newValue))changedBits=0;else{changedBits="function"===typeof calculateChangedBits?calculateChangedBits(oldValue,newValue):MAX_SIGNED_31_BIT_INT;false;changedBits|=0;0!==changedBits&&this.emitter.set(nextProps.value,changedBits)}}};Provider.prototype.render=function render(){return this.props.children};return Provider}(React__default.Component);Provider.childContextTypes=(_Provider$childContex={},_Provider$childContex[contextProp]=_propTypes2.default.object.isRequired,_Provider$childContex);var Consumer=function(_Component2){_inherits(Consumer,_Component2);function Consumer(){var _temp2,_this2,_ret2;_classCallCheck(this,Consumer);for(var _len2=arguments.length,args=Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return _ret2=(_temp2=(_this2=_possibleConstructorReturn(this,_Component2.call.apply(_Component2,[this].concat(args))),_this2),_this2.state={value:_this2.getValue()},_this2.onUpdate=function(newValue,changedBits){var observedBits=0|_this2.observedBits;0!==(observedBits&changedBits)&&_this2.setState({value:_this2.getValue()})},_temp2),_possibleConstructorReturn(_this2,_ret2)}Consumer.prototype.componentWillReceiveProps=function componentWillReceiveProps(nextProps){var observedBits=nextProps.observedBits;this.observedBits=void 0===observedBits||null===observedBits?MAX_SIGNED_31_BIT_INT:observedBits};Consumer.prototype.componentDidMount=function componentDidMount(){this.context[contextProp]&&this.context[contextProp].on(this.onUpdate);var observedBits=this.props.observedBits;this.observedBits=void 0===observedBits||null===observedBits?MAX_SIGNED_31_BIT_INT:observedBits};Consumer.prototype.componentWillUnmount=function componentWillUnmount(){this.context[contextProp]&&this.context[contextProp].off(this.onUpdate)};Consumer.prototype.getValue=function getValue(){return this.context[contextProp]?this.context[contextProp].get():defaultValue};Consumer.prototype.render=function render(){return onlyChild(this.props.children)(this.state.value)};return Consumer}(React__default.Component);Consumer.contextTypes=(_Consumer$contextType={},_Consumer$contextType[contextProp]=_propTypes2.default.object,_Consumer$contextType);return{Provider:Provider,Consumer:Consumer}}exports.default=createReactContext;module.exports=exports["default"]});unwrapExports(implementation);var lib=createCommonjsModule(function(module,exports){exports.__esModule=true;var _react2=_interopRequireDefault(React__default);var _implementation2=_interopRequireDefault(implementation);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_react2.default.createContext||_implementation2.default;module.exports=exports["default"]});var createContext=unwrapExports(lib);var ManagerContext=createContext({getReferenceRef:void 0,referenceNode:void 0});var Manager=function(_React$Component){_inherits(Manager,_React$Component);function Manager(){_classCallCheck(this,Manager);var _this=_possibleConstructorReturn(this,_React$Component.call(this));_this.getReferenceRef=function(referenceNode){return _this.setState(function(_ref){var context=_ref.context;return{context:_extends$2({},context,{referenceNode:referenceNode})}})};_this.state={context:{getReferenceRef:_this.getReferenceRef,referenceNode:void 0}};return _this}Manager.prototype.render=function render(){return React.createElement(ManagerContext.Provider,{value:this.state.context},this.props.children)};return Manager}(React.Component);var unwrapArray=function unwrapArray(arg){return Array.isArray(arg)?arg[0]:arg};var safeInvoke=function safeInvoke(fn){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];if("function"===typeof fn)return fn.apply(void 0,args)};var initialStyle={position:"absolute",top:0,left:0,opacity:0,pointerEvents:"none"};var initialArrowStyle={};var InnerPopper=function(_React$Component){_inherits(InnerPopper,_React$Component);function InnerPopper(){var _temp,_this,_ret;_classCallCheck(this,InnerPopper);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.state={data:void 0,placement:void 0},_this.popperNode=null,_this.arrowNode=null,_this.setPopperNode=function(popperNode){if(_this.popperNode===popperNode)return;safeInvoke(_this.props.innerRef,popperNode);_this.popperNode=popperNode;_this.popperInstance||_this.updatePopperInstance()},_this.setArrowNode=function(arrowNode){if(_this.arrowNode===arrowNode)return;_this.arrowNode=arrowNode;_this.popperInstance||_this.updatePopperInstance()},_this.updateStateModifier={enabled:true,order:900,fn:function fn(data){var placement=data.placement;_this.setState({data:data,placement:placement},placement!==_this.state.placement?_this.scheduleUpdate:void 0);return data}},_this.getOptions=function(){return{placement:_this.props.placement,eventsEnabled:_this.props.eventsEnabled,positionFixed:_this.props.positionFixed,modifiers:_extends$2({},_this.props.modifiers,{arrow:{enabled:!!_this.arrowNode,element:_this.arrowNode},applyStyle:{enabled:false},updateStateModifier:_this.updateStateModifier})}},_this.getPopperStyle=function(){return _this.popperNode&&_this.state.data?_extends$2({position:_this.state.data.offsets.popper.position},_this.state.data.styles):initialStyle},_this.getPopperPlacement=function(){return _this.state.data?_this.state.placement:void 0},_this.getArrowStyle=function(){return _this.arrowNode&&_this.state.data?_this.state.data.arrowStyles:initialArrowStyle},_this.getOutOfBoundariesState=function(){return _this.state.data?_this.state.data.hide:void 0},_this.destroyPopperInstance=function(){if(!_this.popperInstance)return;_this.popperInstance.destroy();_this.popperInstance=null},_this.updatePopperInstance=function(){_this.destroyPopperInstance();var _this2=_this,popperNode=_this2.popperNode;var referenceElement=_this.props.referenceElement;if(!referenceElement||!popperNode)return;_this.popperInstance=new Popper(referenceElement,popperNode,_this.getOptions())},_this.scheduleUpdate=function(){_this.popperInstance&&_this.popperInstance.scheduleUpdate()},_temp),_possibleConstructorReturn(_this,_ret)}InnerPopper.prototype.componentDidUpdate=function componentDidUpdate(prevProps,prevState){if(this.props.placement!==prevProps.placement||this.props.eventsEnabled!==prevProps.eventsEnabled||this.props.referenceElement!==prevProps.referenceElement||this.props.positionFixed!==prevProps.positionFixed){this.updatePopperInstance();return}prevState.placement!==this.state.placement&&this.scheduleUpdate()};InnerPopper.prototype.componentWillUnmount=function componentWillUnmount(){this.destroyPopperInstance()};InnerPopper.prototype.render=function render(){return unwrapArray(this.props.children)({ref:this.setPopperNode,style:this.getPopperStyle(),placement:this.getPopperPlacement(),outOfBoundaries:this.getOutOfBoundariesState(),scheduleUpdate:this.scheduleUpdate,arrowProps:{ref:this.setArrowNode,style:this.getArrowStyle()}})};return InnerPopper}(React.Component);InnerPopper.defaultProps={placement:"bottom",eventsEnabled:true,referenceElement:void 0,positionFixed:false};function Popper$1(props){return React.createElement(ManagerContext.Consumer,null,function(_ref){var referenceNode=_ref.referenceNode;return React.createElement(InnerPopper,_extends$2({referenceElement:referenceNode},props))})}var __DEV__=false;var warning$1=function(){};__DEV__&&(warning$1=function(condition,format,args){var len=arguments.length;args=new Array(len>2?len-2:0);for(var key=2;key<len;key++)args[key-2]=arguments[key];if(void 0===format)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(format.length<10||/^[s\W]*$/.test(format))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+format);if(!condition){var argIndex=0;var message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});"undefined"!==typeof console&&console.error(message);try{throw new Error(message)}catch(x){}}});var warning_1$1=warning$1;var InnerReference=function(_React$Component){_inherits(InnerReference,_React$Component);function InnerReference(){var _temp,_this,_ret;_classCallCheck(this,InnerReference);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.refHandler=function(node){safeInvoke(_this.props.innerRef,node);safeInvoke(_this.props.getReferenceRef,node)},_temp),_possibleConstructorReturn(_this,_ret)}InnerReference.prototype.render=function render(){warning_1$1(this.props.getReferenceRef,"`Reference` should not be used outside of a `Manager` component.");return unwrapArray(this.props.children)({ref:this.refHandler})};return InnerReference}(React.Component);function Reference(props){return React.createElement(ManagerContext.Consumer,null,function(_ref){var getReferenceRef=_ref.getReferenceRef;return React.createElement(InnerReference,_extends$2({getReferenceRef:getReferenceRef},props))})}var popperPlacementPositions=["bottom","bottom-end","bottom-start","left","left-end","left-start","right","right-end","right-start","top","top-end","top-start"];var PopperComponent=function(_React$Component){inherits(PopperComponent,_React$Component);function PopperComponent(){classCallCheck(this,PopperComponent);return possibleConstructorReturn(this,_React$Component.apply(this,arguments))}PopperComponent.prototype.render=function render(){var _props=this.props,className=_props.className,hidePopper=_props.hidePopper,popperComponent=_props.popperComponent,popperModifiers=_props.popperModifiers,popperPlacement=_props.popperPlacement,popperProps=_props.popperProps,targetComponent=_props.targetComponent;var popper=void 0;if(!hidePopper){var classes=classnames("react-datepicker-popper",className);popper=React__default.createElement(Popper$1,_extends({modifiers:popperModifiers,placement:popperPlacement},popperProps),function(_ref){var ref=_ref.ref,style=_ref.style,placement=_ref.placement,arrowProps=_ref.arrowProps;return React__default.createElement("div",_extends({ref:ref,style:style},{className:classes,"data-placement":placement}),React__default.cloneElement(popperComponent,{arrowProps:arrowProps}))})}this.props.popperContainer&&(popper=React__default.createElement(this.props.popperContainer,{},popper));return React__default.createElement(Manager,null,React__default.createElement(Reference,null,function(_ref2){var ref=_ref2.ref;return React__default.createElement("div",{ref:ref,className:"react-datepicker-wrapper"},targetComponent)}),popper)};createClass(PopperComponent,null,[{key:"defaultProps",get:function get$$1(){return{hidePopper:true,popperModifiers:{preventOverflow:{enabled:true,escapeWithReference:true,boundariesElement:"viewport"}},popperProps:{},popperPlacement:"bottom-start"}}}]);return PopperComponent}(React__default.Component);PopperComponent.propTypes={className:PropTypes.string,hidePopper:PropTypes.bool,popperComponent:PropTypes.element,popperModifiers:PropTypes.object,popperPlacement:PropTypes.oneOf(popperPlacementPositions),popperContainer:PropTypes.func,popperProps:PropTypes.object,targetComponent:PropTypes.element};var outsideClickIgnoreClass="react-datepicker-ignore-onclickoutside";var WrappedCalendar=onClickOutsideHOC(Calendar);function hasPreSelectionChanged(date1,date2){if(date1&&date2)return getMonth(date1)!==getMonth(date2)||getYear(date1)!==getYear(date2);return date1!==date2}function hasSelectionChanged(date1,date2){if(date1&&date2)return!equals(date1,date2);return false}var INPUT_ERR_1="Date input not valid.";var DatePicker=function(_React$Component){inherits(DatePicker,_React$Component);createClass(DatePicker,null,[{key:"defaultProps",get:function get$$1(){return{allowSameDay:false,dateFormat:"L",dateFormatCalendar:"MMMM YYYY",onChange:function onChange(){},disabled:false,disabledKeyboardNavigation:false,dropdownMode:"scroll",onFocus:function onFocus(){},onBlur:function onBlur(){},onKeyDown:function onKeyDown(){},onInputClick:function onInputClick(){},onSelect:function onSelect(){},onClickOutside:function onClickOutside(){},onMonthChange:function onMonthChange(){},preventOpenOnFocus:false,onYearChange:function onYearChange(){},onInputError:function onInputError(){},monthsShown:1,readOnly:false,withPortal:false,shouldCloseOnSelect:true,showTimeSelect:false,timeIntervals:30,timeCaption:"Time",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next month",renderDayContents:function renderDayContents(date){return date}}}}]);function DatePicker(props){classCallCheck(this,DatePicker);var _this=possibleConstructorReturn(this,_React$Component.call(this,props));_this.getPreSelection=function(){return _this.props.openToDate?newDate(_this.props.openToDate):_this.props.selectsEnd&&_this.props.startDate?newDate(_this.props.startDate):_this.props.selectsStart&&_this.props.endDate?newDate(_this.props.endDate):now(_this.props.utcOffset)};_this.calcInitialState=function(){var defaultPreSelection=_this.getPreSelection();var minDate=getEffectiveMinDate(_this.props);var maxDate=getEffectiveMaxDate(_this.props);var boundedPreSelection=minDate&&isBefore(defaultPreSelection,minDate)?minDate:maxDate&&isAfter(defaultPreSelection,maxDate)?maxDate:defaultPreSelection;return{open:_this.props.startOpen||false,preventFocus:false,preSelection:_this.props.selected?newDate(_this.props.selected):boundedPreSelection,highlightDates:getHightLightDaysMap(_this.props.highlightDates),focused:false}};_this.clearPreventFocusTimeout=function(){_this.preventFocusTimeout&&clearTimeout(_this.preventFocusTimeout)};_this.setFocus=function(){_this.input&&_this.input.focus&&_this.input.focus()};_this.setBlur=function(){_this.input&&_this.input.blur&&_this.input.blur();_this.props.onBlur&&_this.props.onBlur();_this.cancelFocusInput()};_this.setOpen=function(open){var skipSetBlur=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_this.setState({open:open,preSelection:open&&_this.state.open?_this.state.preSelection:_this.calcInitialState().preSelection,lastPreSelectChange:PRESELECT_CHANGE_VIA_NAVIGATE},function(){open||_this.setState(function(prev){return{focused:!!skipSetBlur&&prev.focused}},function(){!skipSetBlur&&_this.setBlur();_this.setState({inputValue:null})})})};_this.inputOk=function(){return isMoment(_this.state.preSelection)||isDate(_this.state.preSelection)};_this.isCalendarOpen=function(){return void 0===_this.props.open?_this.state.open&&!_this.props.disabled&&!_this.props.readOnly:_this.props.open};_this.handleFocus=function(event){if(!_this.state.preventFocus){_this.props.onFocus(event);_this.props.preventOpenOnFocus||_this.props.readOnly||_this.props.accessibleMode||_this.setOpen(true)}_this.setState({focused:true})};_this.cancelFocusInput=function(){clearTimeout(_this.inputFocusTimeout);_this.inputFocusTimeout=null};_this.deferFocusInput=function(){_this.cancelFocusInput();_this.inputFocusTimeout=setTimeout(function(){return _this.setFocus()},1)};_this.handleDropdownFocus=function(){_this.cancelFocusInput()};_this.handleBlur=function(event){if(true===_this.props.accessibleMode)return;_this.state.open&&!_this.props.withPortal?_this.deferFocusInput():_this.props.onBlur(event);_this.setState({focused:false})};_this.handleCalendarClickOutside=function(event){_this.props.inline||_this.setOpen(false);_this.props.onClickOutside(event);_this.props.withPortal&&event.preventDefault()};_this.handleChange=function(){for(var _len=arguments.length,allArgs=Array(_len),_key=0;_key<_len;_key++)allArgs[_key]=arguments[_key];var event=allArgs[0];if(_this.props.onChangeRaw){_this.props.onChangeRaw.apply(_this,allArgs);if("function"!==typeof event.isDefaultPrevented||event.isDefaultPrevented())return}_this.setState({inputValue:event.target.value,lastPreSelectChange:PRESELECT_CHANGE_VIA_INPUT});var date=parseDate(event.target.value,_this.props);!date&&event.target.value||_this.setSelected(date,event,true)};_this.handleSelect=function(date,event){_this.setState({preventFocus:true},function(){_this.preventFocusTimeout=setTimeout(function(){return _this.setState({preventFocus:false})},50);return _this.preventFocusTimeout});_this.setSelected(date,event);!_this.props.shouldCloseOnSelect||_this.props.showTimeSelect?_this.setPreSelection(date):_this.props.inline||_this.setOpen(false)};_this.updateSelection=function(newSelection){_this.props.adjustDateOnChange&&_this.setSelected(newSelection);_this.setPreSelection(newSelection)};_this.setSelected=function(date,event,keepInput){var changedDate=date;if(null!==changedDate&&isDayDisabled(changedDate,_this.props)){if(isOutOfBounds(changedDate,_this.props)){_this.props.onChange(date,event);_this.props.onSelect(changedDate,event)}return}if(!isSameDay(_this.props.selected,changedDate)||_this.props.allowSameDay){if(null!==changedDate){if(_this.props.selected){var selected=_this.props.selected;keepInput&&(selected=newDate(changedDate));changedDate=setTime(newDate(changedDate),{hour:getHour(selected),minute:getMinute(selected),second:getSecond(selected),millisecond:getMillisecond(selected)})}_this.props.inline||_this.setState({preSelection:changedDate})}_this.props.onChange(changedDate,event)}_this.props.onSelect(changedDate,event);keepInput||_this.setState({inputValue:null})};_this.setPreSelection=function(date){var isDateRangePresent="undefined"!==typeof _this.props.minDate&&"undefined"!==typeof _this.props.maxDate;var isValidDateSelection=!isDateRangePresent||!date||isDayInRange(date,_this.props.minDate,_this.props.maxDate);isValidDateSelection&&_this.setState({preSelection:date})};_this.handleTimeChange=function(time){var selected=_this.props.selected?_this.props.selected:_this.getPreSelection();var changedDate=setTime(cloneDate(selected),{hour:getHour(time),minute:getMinute(time),second:0,millisecond:0});_this.setState({preSelection:changedDate});_this.props.onChange(changedDate);_this.props.shouldCloseOnSelect&&_this.setOpen(false);_this.setState({inputValue:null})};_this.onInputClick=function(){_this.props.disabled||_this.props.readOnly||_this.setOpen(true);_this.props.onInputClick()};_this.onAccessibleModeButtonKeyDown=function(event){var eventKey=event.key;if(" "===eventKey||"Enter"===eventKey){event.preventDefault();_this.onInputClick()}};_this.onInputKeyDown=function(event){_this.props.onKeyDown(event);var eventKey=event.key;if(!_this.state.open&&!_this.props.inline&&!_this.props.preventOpenOnFocus){if("ArrowDown"===eventKey||"ArrowUp"===eventKey){event.preventDefault();_this.onInputClick()}return}var copy=newDate(_this.state.preSelection);if("Enter"===eventKey){event.preventDefault();if(_this.inputOk()&&_this.state.lastPreSelectChange===PRESELECT_CHANGE_VIA_NAVIGATE){_this.handleSelect(copy,event);!_this.props.shouldCloseOnSelect&&_this.setPreSelection(copy)}else _this.setOpen(false)}else if("Escape"===eventKey){event.preventDefault();_this.setOpen(false);_this.inputOk()||_this.props.onInputError({code:1,msg:INPUT_ERR_1})}else if("Tab"===eventKey)_this.setOpen(false,true);else if(!_this.props.disabledKeyboardNavigation){var newSelection=void 0;switch(eventKey){case"ArrowLeft":newSelection=subtractDays(copy,1);break;case"ArrowRight":newSelection=addDays(copy,1);break;case"ArrowUp":newSelection=subtractWeeks(copy,1);break;case"ArrowDown":newSelection=addWeeks(copy,1);break;case"PageUp":newSelection=subtractMonths(copy,1);break;case"PageDown":newSelection=addMonths(copy,1);break;case"Home":newSelection=subtractYears(copy,1);break;case"End":newSelection=addYears(copy,1)}if(!newSelection){_this.props.onInputError&&_this.props.onInputError({code:1,msg:INPUT_ERR_1});return}event.preventDefault();_this.setState({lastPreSelectChange:PRESELECT_CHANGE_VIA_NAVIGATE});_this.updateSelection(newSelection)}};_this.onClearClick=function(event){event&&event.preventDefault&&event.preventDefault();_this.props.onChange(null,event);_this.setState({inputValue:null})};_this.clear=function(){_this.onClearClick()};_this.renderCalendar=function(){if(!_this.props.inline&&!_this.isCalendarOpen())return null;var calendar=React__default.createElement(WrappedCalendar,{ref:function ref(elem){_this.calendar=elem},locale:_this.props.locale,adjustDateOnChange:_this.props.adjustDateOnChange,setOpen:_this.setOpen,shouldCloseOnSelect:_this.props.shouldCloseOnSelect,dateFormat:_this.props.dateFormatCalendar,useWeekdaysShort:_this.props.useWeekdaysShort,formatWeekDay:_this.props.formatWeekDay,dropdownMode:_this.props.dropdownMode,selected:_this.props.selected,preSelection:_this.state.preSelection,onSelect:_this.handleSelect,onWeekSelect:_this.props.onWeekSelect,openToDate:_this.props.openToDate,minDate:_this.props.minDate,maxDate:_this.props.maxDate,selectsStart:_this.props.selectsStart,selectsEnd:_this.props.selectsEnd,startDate:_this.props.startDate,endDate:_this.props.endDate,excludeDates:_this.props.excludeDates,filterDate:_this.props.filterDate,onClickOutside:_this.handleCalendarClickOutside,formatWeekNumber:_this.props.formatWeekNumber,highlightDates:_this.state.highlightDates,includeDates:_this.props.includeDates,includeTimes:_this.props.includeTimes,injectTimes:_this.props.injectTimes,inline:_this.props.inline,peekNextMonth:_this.props.peekNextMonth,showMonthDropdown:_this.props.showMonthDropdown,useShortMonthInDropdown:_this.props.useShortMonthInDropdown,showMonthYearDropdown:_this.props.showMonthYearDropdown,showWeekNumbers:_this.props.showWeekNumbers,showYearDropdown:_this.props.showYearDropdown,withPortal:_this.props.withPortal,forceShowMonthNavigation:_this.props.forceShowMonthNavigation,showDisabledMonthNavigation:_this.props.showDisabledMonthNavigation,scrollableYearDropdown:_this.props.scrollableYearDropdown,scrollableMonthYearDropdown:_this.props.scrollableMonthYearDropdown,todayButton:_this.props.todayButton,weekLabel:_this.props.weekLabel,utcOffset:_this.props.utcOffset,outsideClickIgnoreClass:outsideClickIgnoreClass,fixedHeight:_this.props.fixedHeight,monthsShown:_this.props.monthsShown,onDropdownFocus:_this.handleDropdownFocus,onMonthChange:_this.props.onMonthChange,onYearChange:_this.props.onYearChange,dayClassName:_this.props.dayClassName,showTimeSelect:_this.props.showTimeSelect,showTimeSelectOnly:_this.props.showTimeSelectOnly,onTimeChange:_this.handleTimeChange,timeFormat:_this.props.timeFormat,timeIntervals:_this.props.timeIntervals,minTime:_this.props.minTime,maxTime:_this.props.maxTime,excludeTimes:_this.props.excludeTimes,timeCaption:_this.props.timeCaption,className:_this.props.calendarClassName,container:_this.props.calendarContainer,yearDropdownItemNumber:_this.props.yearDropdownItemNumber,previousMonthButtonLabel:_this.props.previousMonthButtonLabel,nextMonthButtonLabel:_this.props.nextMonthButtonLabel,disabledKeyboardNavigation:_this.props.disabledKeyboardNavigation,renderCustomHeader:_this.props.renderCustomHeader,popperProps:_this.props.popperProps,renderDayContents:_this.props.renderDayContents,updateSelection:_this.updateSelection,accessibleMode:_this.props.accessibleMode},_this.props.children);return calendar};_this.renderDateInput=function(){var _classnames,_React$cloneElement;var className=classnames(_this.props.className,(_classnames={},_classnames[outsideClickIgnoreClass]=_this.state.open,_classnames));var customInput=_this.props.customInput||React__default.createElement("input",{type:"text"});var customInputRef=_this.props.customInputRef||"ref";var inputValue="string"===typeof _this.props.value?_this.props.value:"string"===typeof _this.state.inputValue?_this.state.inputValue:safeDateFormat(_this.props.selected,_this.props);return React__default.cloneElement(customInput,(_React$cloneElement={},_React$cloneElement[customInputRef]=function(input){_this.input=input},_React$cloneElement.value=inputValue,_React$cloneElement.onBlur=_this.handleBlur,_React$cloneElement.onChange=_this.handleChange,_React$cloneElement.onClick=_this.onInputClick,_React$cloneElement.onFocus=_this.handleFocus,_React$cloneElement.onKeyDown=_this.onInputKeyDown,_React$cloneElement.id=_this.props.id,_React$cloneElement.name=_this.props.name,_React$cloneElement.autoFocus=_this.props.autoFocus,_React$cloneElement.placeholder=_this.props.placeholderText,_React$cloneElement.disabled=_this.props.disabled,_React$cloneElement.autoComplete=_this.props.autoComplete,_React$cloneElement.className=className,_React$cloneElement.title=_this.props.title,_React$cloneElement.readOnly=_this.props.readOnly,_React$cloneElement.required=_this.props.required,_React$cloneElement.tabIndex=_this.props.tabIndex,_React$cloneElement["aria-label"]=inputValue,_React$cloneElement))};_this.renderClearButton=function(){return _this.props.isClearable&&null!=_this.props.selected?React__default.createElement("button",{type:"button",className:"react-datepicker__close-icon",onClick:_this.onClearClick,title:_this.props.clearButtonTitle,tabIndex:-1}):null};_this.renderAccessibleButton=function(){return null!=_this.props.accessibleModeButton?React__default.cloneElement(_this.props.accessibleModeButton,{onClick:_this.onInputClick,onKeyDown:_this.onAccessibleModeButtonKeyDown,className:classnames(_this.props.accessibleModeButton.props.className,"react-datepicker__accessible-icon"),tabIndex:0}):null};_this.state=_this.calcInitialState();return _this}DatePicker.prototype.componentDidUpdate=function componentDidUpdate(prevProps,prevState){prevProps.inline&&hasPreSelectionChanged(prevProps.selected,this.props.selected)&&this.setPreSelection(this.props.selected);prevProps.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:getHightLightDaysMap(this.props.highlightDates)});!prevState.focused&&hasSelectionChanged(prevProps.selected,this.props.selected)&&this.setState({inputValue:null})};DatePicker.prototype.componentWillUnmount=function componentWillUnmount(){this.clearPreventFocusTimeout()};DatePicker.prototype.render=function render(){var calendar=this.renderCalendar();if(this.props.inline&&!this.props.withPortal)return calendar;if(this.props.withPortal)return React__default.createElement("div",null,this.props.inline?null:React__default.createElement("div",{className:"react-datepicker__input-container"},this.renderDateInput(),this.renderClearButton(),this.renderAccessibleButton()),this.state.open||this.props.inline?React__default.createElement("div",{className:"react-datepicker__portal"},calendar):null);return React__default.createElement(PopperComponent,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),popperModifiers:this.props.popperModifiers,targetComponent:React__default.createElement("div",{className:"react-datepicker__input-container"},this.renderDateInput(),this.renderClearButton(),this.renderAccessibleButton()),popperContainer:this.props.popperContainer,popperComponent:calendar,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps})};return DatePicker}(React__default.Component);DatePicker.propTypes={adjustDateOnChange:PropTypes.bool,allowSameDay:PropTypes.bool,autoComplete:PropTypes.string,autoFocus:PropTypes.bool,calendarClassName:PropTypes.string,calendarContainer:PropTypes.func,children:PropTypes.node,className:PropTypes.string,customInput:PropTypes.element,customInputRef:PropTypes.string,dateFormat:PropTypes.oneOfType([PropTypes.string,PropTypes.array]),dateFormatCalendar:PropTypes.string,dayClassName:PropTypes.func,disabled:PropTypes.bool,disabledKeyboardNavigation:PropTypes.bool,dropdownMode:PropTypes.oneOf(["scroll","select"]).isRequired,endDate:PropTypes.object,excludeDates:PropTypes.array,filterDate:PropTypes.func,fixedHeight:PropTypes.bool,formatWeekNumber:PropTypes.func,highlightDates:PropTypes.array,id:PropTypes.string,includeDates:PropTypes.array,includeTimes:PropTypes.array,injectTimes:PropTypes.array,inline:PropTypes.bool,isClearable:PropTypes.bool,locale:PropTypes.string,maxDate:PropTypes.object,minDate:PropTypes.object,monthsShown:PropTypes.number,name:PropTypes.string,onBlur:PropTypes.func,onChange:PropTypes.func.isRequired,onSelect:PropTypes.func,onWeekSelect:PropTypes.func,onClickOutside:PropTypes.func,onChangeRaw:PropTypes.func,onFocus:PropTypes.func,onInputClick:PropTypes.func,onKeyDown:PropTypes.func,onMonthChange:PropTypes.func,onYearChange:PropTypes.func,onInputError:PropTypes.func,open:PropTypes.bool,openToDate:PropTypes.object,peekNextMonth:PropTypes.bool,placeholderText:PropTypes.string,popperContainer:PropTypes.func,popperClassName:PropTypes.string,popperModifiers:PropTypes.object,popperPlacement:PropTypes.oneOf(popperPlacementPositions),popperProps:PropTypes.object,preventOpenOnFocus:PropTypes.bool,readOnly:PropTypes.bool,required:PropTypes.bool,scrollableYearDropdown:PropTypes.bool,scrollableMonthYearDropdown:PropTypes.bool,selected:PropTypes.object,selectsEnd:PropTypes.bool,selectsStart:PropTypes.bool,showMonthDropdown:PropTypes.bool,showMonthYearDropdown:PropTypes.bool,showWeekNumbers:PropTypes.bool,showYearDropdown:PropTypes.bool,forceShowMonthNavigation:PropTypes.bool,showDisabledMonthNavigation:PropTypes.bool,startDate:PropTypes.object,startOpen:PropTypes.bool,tabIndex:PropTypes.number,timeCaption:PropTypes.string,title:PropTypes.string,todayButton:PropTypes.node,useWeekdaysShort:PropTypes.bool,formatWeekDay:PropTypes.func,utcOffset:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),value:PropTypes.string,weekLabel:PropTypes.string,withPortal:PropTypes.bool,yearDropdownItemNumber:PropTypes.number,shouldCloseOnSelect:PropTypes.bool,showTimeSelect:PropTypes.bool,showTimeSelectOnly:PropTypes.bool,timeFormat:PropTypes.string,timeIntervals:PropTypes.number,minTime:PropTypes.object,maxTime:PropTypes.object,excludeTimes:PropTypes.array,useShortMonthInDropdown:PropTypes.bool,clearButtonTitle:PropTypes.string,previousMonthButtonLabel:PropTypes.string,nextMonthButtonLabel:PropTypes.string,renderCustomHeader:PropTypes.func,renderDayContents:PropTypes.func,accessibleMode:PropTypes.bool,accessibleModeButton:PropTypes.element};var PRESELECT_CHANGE_VIA_INPUT="input";var PRESELECT_CHANGE_VIA_NAVIGATE="navigate";exports.default=DatePicker;exports.CalendarContainer=CalendarContainer}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";
/** @license React v16.6.0
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var k=__webpack_require__(374),n="function"===typeof Symbol&&Symbol.for,p=n?Symbol.for("react.element"):60103,q=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,t=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,v=n?Symbol.for("react.provider"):60109,w=n?Symbol.for("react.context"):60110,x=n?Symbol.for("react.concurrent_mode"):60111,y=n?Symbol.for("react.forward_ref"):60112,z=n?Symbol.for("react.suspense"):60113,A=n?Symbol.for("react.memo"):60115,B=n?Symbol.for("react.lazy"):60116,C="function"===typeof Symbol&&Symbol.iterator;function aa(a,b,e,c,d,g,h,f){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[e,c,d,g,h,f],m=0;a=Error(b.replace(/%s/g,function(){return l[m++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a}}function D(a){for(var b=arguments.length-1,e="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)e+="&args[]="+encodeURIComponent(arguments[c+1]);aa(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F={};function G(a,b,e){this.props=a;this.context=b;this.refs=F;this.updater=e||E}G.prototype.isReactComponent={};G.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?D("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};G.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function H(){}H.prototype=G.prototype;function I(a,b,e){this.props=a;this.context=b;this.refs=F;this.updater=e||E}var J=I.prototype=new H;J.constructor=I;k(J,G.prototype);J.isPureReactComponent=!0;var K={current:null,currentDispatcher:null},L=Object.prototype.hasOwnProperty,M={key:!0,ref:!0,__self:!0,__source:!0};function N(a,b,e){var c=void 0,d={},g=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=""+b.key),b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=b[c]);var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){for(var l=Array(f),m=0;m<f;m++)l[m]=arguments[m+2];d.children=l}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===d[c]&&(d[c]=f[c]);return{$$typeof:p,type:a,key:g,ref:h,props:d,_owner:K.current}}function ba(a,b){return{$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return"object"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var P=/\/+/g,Q=[];function R(a,b,e,c){if(Q.length){var d=Q.pop();d.result=a;d.keyPrefix=b;d.func=e;d.context=c;d.count=0;return d}return{result:a,keyPrefix:b,func:e,context:c,count:0}}function S(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>Q.length&&Q.push(a)}function T(a,b,e,c){var d=typeof a;"undefined"!==d&&"boolean"!==d||(a=null);var g=!1;if(null===a)g=!0;else switch(d){case"string":case"number":g=!0;break;case"object":switch(a.$$typeof){case p:case q:g=!0}}if(g)return e(c,a,""===b?"."+U(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var h=0;h<a.length;h++){d=a[h];var f=b+U(d,h);g+=T(d,f,e,c)}else if(null===a||"object"!==typeof a?f=null:(f=C&&a[C]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),h=0;!(d=a.next()).done;)d=d.value,f=b+U(d,h++),g+=T(d,f,e,c);else"object"===d&&(e=""+a,D("31","[object Object]"===e?"object with keys {"+Object.keys(a).join(", ")+"}":e,""));return g}function V(a,b,e){return null==a?0:T(a,"",b,e)}function U(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function ca(a,b){a.func.call(a.context,b,a.count++)}function da(a,b,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,c,e,function(a){return a}):null!=a&&(O(a)&&(a=ba(a,d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+e)),c.push(a))}function W(a,b,e,c,d){var g="";null!=e&&(g=(""+e).replace(P,"$&/")+"/");b=R(b,g,c,d);V(a,da,b);S(b)}var X={Children:{map:function(a,b,e){if(null==a)return a;var c=[];W(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=R(null,null,b,e);V(a,ca,b);S(b)},count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];W(a,b,null,function(a){return a});return b},only:function(a){O(a)?void 0:D("143");return a}},createRef:function(){return{current:null}},Component:G,PureComponent:I,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:y,render:a}},lazy:function(a){return{$$typeof:B,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:A,type:a,compare:void 0===b?null:b}},Fragment:r,StrictMode:t,unstable_ConcurrentMode:x,Suspense:z,unstable_Profiler:u,createElement:N,cloneElement:function(a,b,e){null===a||void 0===a?D("267",a):void 0;var c=void 0,d=k({},a.props),g=a.key,h=a.ref,f=a._owner;if(null!=b){void 0!==b.ref&&(h=b.ref,f=K.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)d.children=e;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];d.children=l}return{$$typeof:p,type:a.type,key:g,ref:h,props:d,_owner:f}},createFactory:function(a){var b=N.bind(null,a);b.type=a;return b},isValidElement:O,version:"16.6.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:K,assign:k}},Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);var ReactPropTypesSecret=__webpack_require__(1024);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){var tabbable=__webpack_require__(1026);var listeningFocusTrap=null;function focusTrap(element,userOptions){var tabbableNodes=[];var firstTabbableNode=null;var lastTabbableNode=null;var nodeFocusedBeforeActivation=null;var active=false;var paused=false;var tabEvent=null;var container="string"===typeof element?document.querySelector(element):element;var config=userOptions||{};config.returnFocusOnDeactivate=!userOptions||void 0===userOptions.returnFocusOnDeactivate||userOptions.returnFocusOnDeactivate;config.escapeDeactivates=!userOptions||void 0===userOptions.escapeDeactivates||userOptions.escapeDeactivates;var trap={activate:activate,deactivate:deactivate,pause:pause,unpause:unpause};return trap;function activate(activateOptions){if(active)return;var defaultedActivateOptions={onActivate:activateOptions&&void 0!==activateOptions.onActivate?activateOptions.onActivate:config.onActivate};active=true;paused=false;nodeFocusedBeforeActivation=document.activeElement;defaultedActivateOptions.onActivate&&defaultedActivateOptions.onActivate();addListeners();return trap}function deactivate(deactivateOptions){if(!active)return;var defaultedDeactivateOptions={returnFocus:deactivateOptions&&void 0!==deactivateOptions.returnFocus?deactivateOptions.returnFocus:config.returnFocusOnDeactivate,onDeactivate:deactivateOptions&&void 0!==deactivateOptions.onDeactivate?deactivateOptions.onDeactivate:config.onDeactivate};removeListeners();defaultedDeactivateOptions.onDeactivate&&defaultedDeactivateOptions.onDeactivate();defaultedDeactivateOptions.returnFocus&&setTimeout(function(){tryFocus(nodeFocusedBeforeActivation)},0);active=false;paused=false;return this}function pause(){if(paused||!active)return;paused=true;removeListeners()}function unpause(){if(!paused||!active)return;paused=false;addListeners()}function addListeners(){if(!active)return;listeningFocusTrap&&listeningFocusTrap.pause();listeningFocusTrap=trap;updateTabbableNodes();tryFocus(firstFocusNode());document.addEventListener("focus",checkFocus,true);document.addEventListener("click",checkClick,true);document.addEventListener("mousedown",checkPointerDown,true);document.addEventListener("touchstart",checkPointerDown,true);document.addEventListener("keydown",checkKey,true);return trap}function removeListeners(){if(!active||listeningFocusTrap!==trap)return;document.removeEventListener("focus",checkFocus,true);document.removeEventListener("click",checkClick,true);document.removeEventListener("mousedown",checkPointerDown,true);document.removeEventListener("touchstart",checkPointerDown,true);document.removeEventListener("keydown",checkKey,true);listeningFocusTrap=null;return trap}function getNodeForOption(optionName){var optionValue=config[optionName];var node=optionValue;if(!optionValue)return null;if("string"===typeof optionValue){node=document.querySelector(optionValue);if(!node)throw new Error("`"+optionName+"` refers to no known node")}if("function"===typeof optionValue){node=optionValue();if(!node)throw new Error("`"+optionName+"` did not return a node")}return node}function firstFocusNode(){var node;node=null!==getNodeForOption("initialFocus")?getNodeForOption("initialFocus"):container.contains(document.activeElement)?document.activeElement:tabbableNodes[0]||getNodeForOption("fallbackFocus");if(!node)throw new Error("You can't have a focus-trap without at least one focusable element");return node}function checkPointerDown(e){config.clickOutsideDeactivates&&!container.contains(e.target)&&deactivate({returnFocus:false})}function checkClick(e){if(config.clickOutsideDeactivates)return;if(container.contains(e.target))return;e.preventDefault();e.stopImmediatePropagation()}function checkFocus(e){if(container.contains(e.target))return;e.preventDefault();e.stopImmediatePropagation();"function"===typeof e.target.blur&&e.target.blur();tabEvent&&readjustFocus(tabEvent)}function checkKey(e){"Tab"!==e.key&&9!==e.keyCode||handleTab(e);false!==config.escapeDeactivates&&isEscapeEvent(e)&&deactivate()}function handleTab(e){updateTabbableNodes();if(e.target.hasAttribute("tabindex")&&Number(e.target.getAttribute("tabindex"))<0)return tabEvent=e;e.preventDefault();var currentFocusIndex=tabbableNodes.indexOf(e.target);if(e.shiftKey){if(e.target===firstTabbableNode||-1===tabbableNodes.indexOf(e.target))return tryFocus(lastTabbableNode);return tryFocus(tabbableNodes[currentFocusIndex-1])}if(e.target===lastTabbableNode)return tryFocus(firstTabbableNode);tryFocus(tabbableNodes[currentFocusIndex+1])}function updateTabbableNodes(){tabbableNodes=tabbable(container);firstTabbableNode=tabbableNodes[0];lastTabbableNode=tabbableNodes[tabbableNodes.length-1]}function readjustFocus(e){if(e.shiftKey)return tryFocus(lastTabbableNode);tryFocus(firstTabbableNode)}}function isEscapeEvent(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}function tryFocus(node){if(!node||!node.focus)return;if(node===document.activeElement)return;node.focus();"input"===node.tagName.toLowerCase()&&node.select()}module.exports=focusTrap},function(module,exports){module.exports=function(el,options){options=options||{};var elementDocument=el.ownerDocument||el;var basicTabbables=[];var orderedTabbables=[];var isUnavailable=createIsUnavailable(elementDocument);var candidateSelectors=["input","select","a[href]","textarea","button","[tabindex]"];var candidates=el.querySelectorAll(candidateSelectors.join(","));if(options.includeContainer){var matches=Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;if(candidateSelectors.some(function(candidateSelector){return matches.call(el,candidateSelector)})){candidates=Array.prototype.slice.apply(candidates);candidates.unshift(el)}}var candidate,candidateIndex;for(var i=0,l=candidates.length;i<l;i++){candidate=candidates[i];candidateIndex=parseInt(candidate.getAttribute("tabindex"),10)||candidate.tabIndex;if(candidateIndex<0||"INPUT"===candidate.tagName&&"hidden"===candidate.type||candidate.disabled||isUnavailable(candidate,elementDocument))continue;0===candidateIndex?basicTabbables.push(candidate):orderedTabbables.push({index:i,tabIndex:candidateIndex,node:candidate})}var tabbableNodes=orderedTabbables.sort(function(a,b){return a.tabIndex===b.tabIndex?a.index-b.index:a.tabIndex-b.tabIndex}).map(function(a){return a.node});Array.prototype.push.apply(tabbableNodes,basicTabbables);return tabbableNodes};function createIsUnavailable(elementDocument){var isOffCache=[];function isOff(node,nodeComputedStyle){if(node===elementDocument.documentElement)return false;for(var i=0,length=isOffCache.length;i<length;i++)if(isOffCache[i][0]===node)return isOffCache[i][1];nodeComputedStyle=nodeComputedStyle||elementDocument.defaultView.getComputedStyle(node);var result=false;"none"===nodeComputedStyle.display?result=true:node.parentNode&&(result=isOff(node.parentNode));isOffCache.push([node,result]);return result}return function isUnavailable(node){if(node===elementDocument.documentElement)return false;var computedStyle=elementDocument.defaultView.getComputedStyle(node);if(isOff(node,computedStyle))return true;return"hidden"===computedStyle.visibility}}},function(module,exports,__webpack_require__){"use strict";
/** @license React v16.6.0
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var aa=__webpack_require__(0),n=__webpack_require__(374),da=__webpack_require__(1028);function ea(a,b,c,d,e,f,g,h){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var k=[c,d,e,f,g,h],l=0;a=Error(b.replace(/%s/g,function(){return k[l++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a}}function r(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=0;d<b;d++)c+="&args[]="+encodeURIComponent(arguments[d+1]);ea(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",c)}aa?void 0:r("227");function fa(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l)}catch(m){this.onError(m)}}var ha=!1,ia=null,ja=!1,ka=null,la={onError:function(a){ha=!0;ia=a}};function ma(a,b,c,d,e,f,g,h,k){ha=!1;ia=null;fa.apply(la,arguments)}function na(a,b,c,d,e,f,g,h,k){ma.apply(this,arguments);if(ha){if(ha){var l=ia;ha=!1;ia=null}else r("198"),l=void 0;ja||(ja=!0,ka=l)}}var oa=null,pa={};function qa(){if(oa)for(var a in pa){var b=pa[a],c=oa.indexOf(a);-1<c?void 0:r("96",a);if(!ra[c]){b.extractEvents?void 0:r("97",a);ra[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;sa.hasOwnProperty(h)?r("99",h):void 0;sa[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&ta(k[e],g,h);e=!0}else f.registrationName?(ta(f.registrationName,g,h),e=!0):e=!1;e?void 0:r("98",d,a)}}}}function ta(a,b,c){ua[a]?r("100",a):void 0;ua[a]=b;va[a]=b.eventTypes[c].dependencies}var ra=[],sa={},ua={},va={},wa=null,xa=null,ya=null;function za(a,b,c,d){b=a.type||"unknown-event";a.currentTarget=ya(d);na(b,c,void 0,a);a.currentTarget=null}function Aa(a,b){null==b?r("30"):void 0;if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function Ba(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}var Ca=null;function Da(a,b){if(a){var c=a._dispatchListeners,d=a._dispatchInstances;if(Array.isArray(c))for(var e=0;e<c.length&&!a.isPropagationStopped();e++)za(a,b,c[e],d[e]);else c&&za(a,b,c,d);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a)}}function Ea(a){return Da(a,!0)}function Fa(a){return Da(a,!1)}var Ga={injectEventPluginOrder:function(a){oa?r("101"):void 0;oa=Array.prototype.slice.call(a);qa()},injectEventPluginsByName:function(a){var c,b=!1;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];pa.hasOwnProperty(c)&&pa[c]===d||(pa[c]?r("102",c):void 0,pa[c]=d,b=!0)}b&&qa()}};function Ha(a,b){var c=a.stateNode;if(!c)return null;var d=wa(c);if(!d)return null;c=d[b];a:switch(b){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;c&&"function"!==typeof c?r("231",b,typeof c):void 0;return c}function Ia(a,b){null!==a&&(Ca=Aa(Ca,a));a=Ca;Ca=null;if(a&&(Ba(a,b?Ea:Fa),Ca?r("95"):void 0,ja))throw b=ka,ja=!1,ka=null,b}var Ka=Math.random().toString(36).slice(2),La="__reactInternalInstance$"+Ka,Ma="__reactEventHandlers$"+Ka;function Na(a){if(a[La])return a[La];for(;!a[La];){if(!a.parentNode)return null;a=a.parentNode}a=a[La];return 5===a.tag||6===a.tag?a:null}function Oa(a){a=a[La];return!a||5!==a.tag&&6!==a.tag?null:a}function Pa(a){if(5===a.tag||6===a.tag)return a.stateNode;r("33")}function Qa(a){return a[Ma]||null}function Ra(a){do{a=a.return}while(a&&5!==a.tag);return a||null}function Sa(a,b,c){(b=Ha(a,c.dispatchConfig.phasedRegistrationNames[b]))&&(c._dispatchListeners=Aa(c._dispatchListeners,b),c._dispatchInstances=Aa(c._dispatchInstances,a))}function Ta(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=Ra(b);for(b=c.length;0<b--;)Sa(c[b],"captured",a);for(b=0;b<c.length;b++)Sa(c[b],"bubbled",a)}}function Ua(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=Ha(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=Aa(c._dispatchListeners,b),c._dispatchInstances=Aa(c._dispatchInstances,a))}function Va(a){a&&a.dispatchConfig.registrationName&&Ua(a._targetInst,null,a)}function Wa(a){Ba(a,Ta)}var Xa=!("undefined"===typeof window||!window.document||!window.document.createElement);function Ya(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var Za={animationend:Ya("Animation","AnimationEnd"),animationiteration:Ya("Animation","AnimationIteration"),animationstart:Ya("Animation","AnimationStart"),transitionend:Ya("Transition","TransitionEnd")},$a={},ab={};Xa&&(ab=document.createElement("div").style,"AnimationEvent"in window||(delete Za.animationend.animation,delete Za.animationiteration.animation,delete Za.animationstart.animation),"TransitionEvent"in window||delete Za.transitionend.transition);function bb(a){if($a[a])return $a[a];if(!Za[a])return a;var c,b=Za[a];for(c in b)if(b.hasOwnProperty(c)&&c in ab)return $a[a]=b[c];return a}var cb=bb("animationend"),ib=bb("animationiteration"),jb=bb("animationstart"),kb=bb("transitionend"),lb="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mb=null,nb=null,ob=null;function pb(){if(ob)return ob;var a,d,b=nb,c=b.length,e="value"in mb?mb.value:mb.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return ob=e.slice(a,1<d?1-d:void 0)}function qb(){return!0}function rb(){return!1}function y(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):"target"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?qb:rb;this.isPropagationStopped=rb;return this}n(y.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=qb)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=qb)},persist:function(){this.isPersistent=qb},isPersistent:rb,destructor:function(){var b,a=this.constructor.Interface;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=rb;this._dispatchInstances=this._dispatchListeners=null}});y.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};y.extend=function(a){function b(){}function c(){return d.apply(this,arguments)}var d=this;b.prototype=d.prototype;var e=new b;n(e,c.prototype);c.prototype=e;c.prototype.constructor=c;c.Interface=n({},d.Interface,a);c.extend=d.extend;sb(c);return c};sb(y);function tb(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d);return e}return new this(a,b,c,d)}function ub(a){a instanceof this?void 0:r("279");a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function sb(a){a.eventPool=[];a.getPooled=tb;a.release=ub}var vb=y.extend({data:null}),wb=y.extend({data:null}),xb=[9,13,27,32],yb=Xa&&"CompositionEvent"in window,zb=null;Xa&&"documentMode"in document&&(zb=document.documentMode);var Ab=Xa&&"TextEvent"in window&&!zb,Bb=Xa&&(!yb||zb&&8<zb&&11>=zb),Cb=String.fromCharCode(32),Db={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Eb=!1;function Fb(a,b){switch(a){case"keyup":return-1!==xb.indexOf(b.keyCode);case"keydown":return 229!==b.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Gb(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var Hb=!1;function Kb(a,b){switch(a){case"compositionend":return Gb(b);case"keypress":if(32!==b.which)return null;Eb=!0;return Cb;case"textInput":return a=b.data,a===Cb&&Eb?null:a;default:return null}}function Lb(a,b){if(Hb)return"compositionend"===a||!yb&&Fb(a,b)?(a=pb(),ob=nb=mb=null,Hb=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case"compositionend":return Bb&&"ko"!==b.locale?null:b.data;default:return null}}var Mb={eventTypes:Db,extractEvents:function(a,b,c,d){var e=void 0;var f=void 0;if(yb)b:{switch(a){case"compositionstart":e=Db.compositionStart;break b;case"compositionend":e=Db.compositionEnd;break b;case"compositionupdate":e=Db.compositionUpdate;break b}e=void 0}else Hb?Fb(a,c)&&(e=Db.compositionEnd):"keydown"===a&&229===c.keyCode&&(e=Db.compositionStart);e?(Bb&&"ko"!==c.locale&&(Hb||e!==Db.compositionStart?e===Db.compositionEnd&&Hb&&(f=pb()):(mb=d,nb="value"in mb?mb.value:mb.textContent,Hb=!0)),e=vb.getPooled(e,b,c,d),f?e.data=f:(f=Gb(c),null!==f&&(e.data=f)),Wa(e),f=e):f=null;(a=Ab?Kb(a,c):Lb(a,c))?(b=wb.getPooled(Db.beforeInput,b,c,d),b.data=a,Wa(b)):b=null;return null===f?b:null===b?f:[f,b]}},Nb=null,Ob=null,Pb=null;function Vb(a){if(a=xa(a)){"function"!==typeof Nb?r("280"):void 0;var b=wa(a.stateNode);Nb(a.stateNode,a.type,b)}}function Wb(a){Ob?Pb?Pb.push(a):Pb=[a]:Ob=a}function Xb(){if(Ob){var a=Ob,b=Pb;Pb=Ob=null;Vb(a);if(b)for(a=0;a<b.length;a++)Vb(b[a])}}function Yb(a,b){return a(b)}function Zb(a,b,c){return a(b,c)}function $b(){}var ac=!1;function bc(a,b){if(ac)return a(b);ac=!0;try{return Yb(a,b)}finally{(ac=!1,null!==Ob||null!==Pb)&&($b(),Xb())}}var cc={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function dc(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!cc[a.type]:"textarea"===b}function ec(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}function fc(a){if(!Xa)return!1;a="on"+a;var b=a in document;b||(b=document.createElement("div"),b.setAttribute(a,"return;"),b="function"===typeof b[a]);return b}function gc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}function hc(a){var b=gc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=""+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=""+a},stopTracking:function(){a._valueTracker=null;delete a[b]}}}}function ic(a){a._valueTracker||(a._valueTracker=hc(a))}function jc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=gc(a)?a.checked?"true":"false":a.value);a=d;return a!==c&&(b.setValue(a),!0)}var kc=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,lc=/^(.*)[\\\/]/,D="function"===typeof Symbol&&Symbol.for,mc=D?Symbol.for("react.element"):60103,nc=D?Symbol.for("react.portal"):60106,oc=D?Symbol.for("react.fragment"):60107,pc=D?Symbol.for("react.strict_mode"):60108,qc=D?Symbol.for("react.profiler"):60114,rc=D?Symbol.for("react.provider"):60109,sc=D?Symbol.for("react.context"):60110,tc=D?Symbol.for("react.concurrent_mode"):60111,uc=D?Symbol.for("react.forward_ref"):60112,vc=D?Symbol.for("react.suspense"):60113,wc=D?Symbol.for("react.memo"):60115,xc=D?Symbol.for("react.lazy"):60116,yc="function"===typeof Symbol&&Symbol.iterator;function zc(a){if(null===a||"object"!==typeof a)return null;a=yc&&a[yc]||a["@@iterator"];return"function"===typeof a?a:null}function Ac(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case tc:return"ConcurrentMode";case oc:return"Fragment";case nc:return"Portal";case qc:return"Profiler";case pc:return"StrictMode";case vc:return"Suspense"}if("object"===typeof a)switch(a.$$typeof){case sc:return"Context.Consumer";case rc:return"Context.Provider";case uc:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case wc:return Ac(a.type);case xc:if(a=1===a._status?a._result:null)return Ac(a)}return null}function Bc(a){var b="";do{a:switch(a.tag){case 2:case 16:case 0:case 1:case 5:case 8:var c=a._debugOwner,d=a._debugSource,e=Ac(a.type);var f=null;c&&(f=Ac(c.type));c=e;e="";d?e=" (at "+d.fileName.replace(lc,"")+":"+d.lineNumber+")":f&&(e=" (created by "+f+")");f="\n    in "+(c||"Unknown")+e;break a;default:f=""}b+=f;a=a.return}while(a);return b}var Cc=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Dc=Object.prototype.hasOwnProperty,Ec={},Fc={};function Gc(a){if(Dc.call(Fc,a))return!0;if(Dc.call(Ec,a))return!1;if(Cc.test(a))return Fc[a]=!0;Ec[a]=!0;return!1}function Hc(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case"function":case"symbol":return!0;case"boolean":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}function Ic(a,b,c,d){if(null===b||"undefined"===typeof b||Hc(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function F(a,b,c,d,e){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){G[a]=new F(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];G[b]=new F(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){G[a]=new F(a,2,!1,a.toLowerCase(),null)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){G[a]=new F(a,2,!1,a,null)});"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){G[a]=new F(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){G[a]=new F(a,3,!0,a,null)});["capture","download"].forEach(function(a){G[a]=new F(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){G[a]=new F(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){G[a]=new F(a,5,!1,a.toLowerCase(),null)});var Mc=/[\-:]([a-z])/g;function Nc(a){return a[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(Mc,Nc);G[b]=new F(b,1,!1,a,null)});"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Mc,Nc);G[b]=new F(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Mc,Nc);G[b]=new F(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});G.tabIndex=new F("tabIndex",1,!1,"tabindex",null);function Oc(a,b,c,d){var e=G.hasOwnProperty(b)?G[b]:null;var f=null!==e?0===e.type:!d&&(2<b.length&&("o"===b[0]||"O"===b[0])&&("n"===b[1]||"N"===b[1]));f||(Ic(b,c,e,d)&&(c=null),d||null===e?Gc(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3!==e.type&&"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}function Pc(a){switch(typeof a){case"boolean":case"number":case"object":case"string":case"undefined":return a;default:return""}}function Qc(a,b){var c=b.checked;return n({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Rc(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Pc(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value}}function Sc(a,b){b=b.checked;null!=b&&Oc(a,"checked",b,!1)}function Tc(a,b){Sc(a,b);var c=Pc(b.value),d=b.type;if(null!=c)"number"===d?(0===c&&""===a.value||a.value!=c)&&(a.value=""+c):a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?Uc(a,b.type,c):b.hasOwnProperty("defaultValue")&&Uc(a,b.type,Pc(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}function bd(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=b.type;if(!("submit"!==d&&"reset"!==d||void 0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;""!==c&&(a.name="");a.defaultChecked=!a.defaultChecked;a.defaultChecked=!!a._wrapperState.initialChecked;""!==c&&(a.name=c)}function Uc(a,b,c){"number"===b&&a.ownerDocument.activeElement===a||(null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c))}var cd={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function dd(a,b,c){a=y.getPooled(cd.change,a,b,c);a.type="change";Wb(c);Wa(a);return a}var ed=null,fd=null;function gd(a){Ia(a,!1)}function hd(a){var b=Pa(a);if(jc(b))return a}function id(a,b){if("change"===a)return b}var jd=!1;Xa&&(jd=fc("input")&&(!document.documentMode||9<document.documentMode));function kd(){ed&&(ed.detachEvent("onpropertychange",ld),fd=ed=null)}function ld(a){"value"===a.propertyName&&hd(fd)&&(a=dd(fd,a,ec(a)),bc(gd,a))}function md(a,b,c){"focus"===a?(kd(),ed=b,fd=c,ed.attachEvent("onpropertychange",ld)):"blur"===a&&kd()}function nd(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return hd(fd)}function od(a,b){if("click"===a)return hd(b)}function pd(a,b){if("input"===a||"change"===a)return hd(b)}var qd={eventTypes:cd,_isInputEventSupported:jd,extractEvents:function(a,b,c,d){var e=b?Pa(b):window,f=void 0,g=void 0,h=e.nodeName&&e.nodeName.toLowerCase();"select"===h||"input"===h&&"file"===e.type?f=id:dc(e)?jd?f=pd:(f=nd,g=md):(h=e.nodeName)&&"input"===h.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)&&(f=od);if(f&&(f=f(a,b)))return dd(f,c,d);g&&g(a,e,b);"blur"===a&&(a=e._wrapperState)&&a.controlled&&"number"===e.type&&Uc(e,"number",e.value)}},rd=y.extend({view:null,detail:null}),sd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function td(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):!!(a=sd[a])&&!!b[a]}function ud(){return td}var vd=0,wd=0,xd=!1,yd=!1,zd=rd.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:ud,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if("movementX"in a)return a.movementX;var b=vd;vd=a.screenX;return xd?"mousemove"===a.type?a.screenX-b:0:(xd=!0,0)},movementY:function(a){if("movementY"in a)return a.movementY;var b=wd;wd=a.screenY;return yd?"mousemove"===a.type?a.screenY-b:0:(yd=!0,0)}}),Ad=zd.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Bd={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Cd={eventTypes:Bd,extractEvents:function(a,b,c,d){var e="mouseover"===a||"pointerover"===a,f="mouseout"===a||"pointerout"===a;if(e&&(c.relatedTarget||c.fromElement)||!f&&!e)return null;e=d.window===d?d:(e=d.ownerDocument)?e.defaultView||e.parentWindow:window;f?(f=b,b=(b=c.relatedTarget||c.toElement)?Na(b):null):f=null;if(f===b)return null;var g=void 0,h=void 0,k=void 0,l=void 0;"mouseout"===a||"mouseover"===a?(g=zd,h=Bd.mouseLeave,k=Bd.mouseEnter,l="mouse"):"pointerout"!==a&&"pointerover"!==a||(g=Ad,h=Bd.pointerLeave,k=Bd.pointerEnter,l="pointer");var m=null==f?e:Pa(f);e=null==b?e:Pa(b);a=g.getPooled(h,f,c,d);a.type=l+"leave";a.target=m;a.relatedTarget=e;c=g.getPooled(k,b,c,d);c.type=l+"enter";c.target=e;c.relatedTarget=m;d=b;if(f&&d)a:{b=f;e=d;l=0;for(g=b;g;g=Ra(g))l++;g=0;for(k=e;k;k=Ra(k))g++;for(;0<l-g;)b=Ra(b),l--;for(;0<g-l;)e=Ra(e),g--;for(;l--;){if(b===e||b===e.alternate)break a;b=Ra(b);e=Ra(e)}b=null}else b=null;e=b;for(b=[];f&&f!==e;){l=f.alternate;if(null!==l&&l===e)break;b.push(f);f=Ra(f)}for(f=[];d&&d!==e;){l=d.alternate;if(null!==l&&l===e)break;f.push(d);d=Ra(d)}for(d=0;d<b.length;d++)Ua(b[d],"bubbled",a);for(d=f.length;0<d--;)Ua(f[d],"captured",c);return[a,c]}},Dd=Object.prototype.hasOwnProperty;function Ed(a,b){return a===b?0!==a||0!==b||1/a===1/b:a!==a&&b!==b}function Fd(a,b){if(Ed(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!Dd.call(b,c[d])||!Ed(a[c[d]],b[c[d]]))return!1;return!0}function Gd(a){var b=a;if(a.alternate)for(;b.return;)b=b.return;else{if(0!==(2&b.effectTag))return 1;for(;b.return;)if(b=b.return,0!==(2&b.effectTag))return 1}return 3===b.tag?2:3}function Hd(a){2!==Gd(a)?r("188"):void 0}function Id(a){var b=a.alternate;if(!b)return b=Gd(a),3===b?r("188"):void 0,1===b?null:a;for(var c=a,d=b;;){var e=c.return,f=e?e.alternate:null;if(!e||!f)break;if(e.child===f.child){for(var g=e.child;g;){if(g===c)return Hd(e),a;if(g===d)return Hd(e),b;g=g.sibling}r("188")}if(c.return!==d.return)c=e,d=f;else{g=!1;for(var h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}g?void 0:r("189")}}c.alternate!==d?r("190"):void 0}3!==c.tag?r("188"):void 0;return c.stateNode.current===c?a:b}function Jd(a){a=Id(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}var Kd=y.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Ld=y.extend({clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),Md=rd.extend({relatedTarget:null});function Nd(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}var Od={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Pd={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Qd=rd.extend({key:function(a){if(a.key){var b=Od[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=Nd(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?Pd[a.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:ud,charCode:function(a){return"keypress"===a.type?Nd(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===a.type?Nd(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),Rd=zd.extend({dataTransfer:null}),Sd=rd.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:ud}),Td=y.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),Ud=zd.extend({deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null}),Vd=[["abort","abort"],[cb,"animationEnd"],[ib,"animationIteration"],[jb,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[kb,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],Wd={},Xd={};function Yd(a,b){var c=a[0];a=a[1];var d="on"+(a[0].toUpperCase()+a.slice(1));b={phasedRegistrationNames:{bubbled:d,captured:d+"Capture"},dependencies:[c],isInteractive:b};Wd[a]=b;Xd[c]=b}[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(a){Yd(a,!0)});Vd.forEach(function(a){Yd(a,!1)});var Zd={eventTypes:Wd,isInteractiveTopLevelEventType:function(a){a=Xd[a];return void 0!==a&&!0===a.isInteractive},extractEvents:function(a,b,c,d){var e=Xd[a];if(!e)return null;switch(a){case"keypress":if(0===Nd(c))return null;case"keydown":case"keyup":a=Qd;break;case"blur":case"focus":a=Md;break;case"click":if(2===c.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":a=zd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":a=Rd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":a=Sd;break;case cb:case ib:case jb:a=Kd;break;case kb:a=Td;break;case"scroll":a=rd;break;case"wheel":a=Ud;break;case"copy":case"cut":case"paste":a=Ld;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":a=Ad;break;default:a=y}b=a.getPooled(e,b,c,d);Wa(b);return b}},$d=Zd.isInteractiveTopLevelEventType,ae=[];function be(a){var b=a.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d;for(d=c;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo;if(!d)break;a.ancestors.push(c);c=Na(d)}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=ec(a.nativeEvent);d=a.topLevelType;for(var f=a.nativeEvent,g=null,h=0;h<ra.length;h++){var k=ra[h];k&&(k=k.extractEvents(d,b,f,e))&&(g=Aa(g,k))}Ia(g,!1)}}var ce=!0;function H(a,b){if(!b)return null;var c=($d(a)?de:ee).bind(null,a);b.addEventListener(a,c,!1)}function ge(a,b){if(!b)return null;var c=($d(a)?de:ee).bind(null,a);b.addEventListener(a,c,!0)}function de(a,b){Zb(ee,a,b)}function ee(a,b){if(ce){var c=ec(b);c=Na(c);null===c||"number"!==typeof c.tag||2===Gd(c)||(c=null);if(ae.length){var d=ae.pop();d.topLevelType=a;d.nativeEvent=b;d.targetInst=c;a=d}else a={topLevelType:a,nativeEvent:b,targetInst:c,ancestors:[]};try{bc(be,a)}finally{a.topLevelType=null,a.nativeEvent=null,a.targetInst=null,a.ancestors.length=0,10>ae.length&&ae.push(a)}}}var he={},ie=0,je="_reactListenersID"+(""+Math.random()).slice(2);function ke(a){Object.prototype.hasOwnProperty.call(a,je)||(a[je]=ie++,he[a[je]]={});return he[a[je]]}function le(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function me(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function ne(a,b){var c=me(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=me(c)}}function oe(a,b){return!(!a||!b)&&(a===b||(!a||3!==a.nodeType)&&(b&&3===b.nodeType?oe(a,b.parentNode):"contains"in a?a.contains(b):!!a.compareDocumentPosition&&!!(16&a.compareDocumentPosition(b))))}function pe(){for(var a=window,b=le();b instanceof a.HTMLIFrameElement;){try{a=b.contentDocument.defaultView}catch(c){break}b=le(a.document)}return b}function qe(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}var re=Xa&&"documentMode"in document&&11>=document.documentMode,se={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},te=null,ue=null,He=null,Ie=!1;function Je(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(Ie||null==te||te!==le(c))return null;c=te;"selectionStart"in c&&qe(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return He&&Fd(He,c)?null:(He=c,a=y.getPooled(se.select,ue,a,b),a.type="select",a.target=te,Wa(a),a)}var Ke={eventTypes:se,extractEvents:function(a,b,c,d){var f,e=d.window===d?d.document:9===d.nodeType?d:d.ownerDocument;if(!(f=!e)){a:{e=ke(e);f=va.onSelect;for(var g=0;g<f.length;g++){var h=f[g];if(!e.hasOwnProperty(h)||!e[h]){e=!1;break a}}e=!0}f=!e}if(f)return null;e=b?Pa(b):window;switch(a){case"focus":(dc(e)||"true"===e.contentEditable)&&(te=e,ue=b,He=null);break;case"blur":He=ue=te=null;break;case"mousedown":Ie=!0;break;case"contextmenu":case"mouseup":case"dragend":return Ie=!1,Je(c,d);case"selectionchange":if(re)break;case"keydown":case"keyup":return Je(c,d)}return null}};Ga.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));wa=Qa;xa=Oa;ya=Pa;Ga.injectEventPluginsByName({SimpleEventPlugin:Zd,EnterLeaveEventPlugin:Cd,ChangeEventPlugin:qd,SelectEventPlugin:Ke,BeforeInputEventPlugin:Mb});function Le(a){var b="";aa.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function Me(a,b){a=n({children:void 0},b);(b=Le(b.children))&&(a.children=b);return a}function Ne(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+Pc(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}function Oe(a,b){null!=b.dangerouslySetInnerHTML?r("91"):void 0;return n({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function Pe(a,b){var c=b.value;null==c&&(c=b.defaultValue,b=b.children,null!=b&&(null!=c?r("92"):void 0,Array.isArray(b)&&(1>=b.length?void 0:r("93"),b=b[0]),c=b),null==c&&(c=""));a._wrapperState={initialValue:Pc(c)}}function Qe(a,b){var c=Pc(b.value),d=Pc(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d)}function Re(a){var b=a.textContent;b===a._wrapperState.initialValue&&(a.value=b)}var Se={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Te(a){switch(a){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ue(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?Te(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}var Ve=void 0,We=(a=function(a,b){if(a.namespaceURI!==Se.svg||"innerHTML"in a)a.innerHTML=b;else{Ve=Ve||document.createElement("div");Ve.innerHTML="<svg>"+b+"</svg>";for(b=Ve.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a);var a;function Xe(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}var Ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ze=["Webkit","ms","Moz","O"];Object.keys(Ye).forEach(function(a){Ze.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Ye[b]=Ye[a]})});function $e(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--");var e=c;var f=b[c];e=null==f||"boolean"===typeof f||""===f?"":d||"number"!==typeof f||0===f||Ye.hasOwnProperty(e)&&Ye[e]?(""+f).trim():f+"px";"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}var af=n({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function bf(a,b){b&&(af[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML?r("137",a,""):void 0),null!=b.dangerouslySetInnerHTML&&(null!=b.children?r("60"):void 0,"object"===typeof b.dangerouslySetInnerHTML&&"__html"in b.dangerouslySetInnerHTML?void 0:r("61")),null!=b.style&&"object"!==typeof b.style?r("62",""):void 0)}function cf(a,b){if(-1===a.indexOf("-"))return"string"===typeof b.is;switch(a){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function df(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=ke(a);b=va[b];for(var d=0;d<b.length;d++){var e=b[d];if(!c.hasOwnProperty(e)||!c[e]){switch(e){case"scroll":ge("scroll",a);break;case"focus":case"blur":ge("focus",a);ge("blur",a);c.blur=!0;c.focus=!0;break;case"cancel":case"close":fc(e)&&ge(e,a);break;case"invalid":case"submit":case"reset":break;default:-1===lb.indexOf(e)&&H(e,a)}c[e]=!0}}}function ef(){}var ff=null,gf=null;function hf(a,b){switch(a){case"button":case"input":case"select":case"textarea":return!!b.autoFocus}return!1}function jf(a,b){return"textarea"===a||"option"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}var kf=setTimeout,lf=clearTimeout;function mf(a){for(a=a.nextSibling;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a}function nf(a){for(a=a.firstChild;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a}new Set;var of=[],pf=-1;function I(a){0>pf||(a.current=of[pf],of[pf]=null,pf--)}function J(a,b){pf++;of[pf]=a.current;a.current=b}var qf={},K={current:qf},L={current:!1},rf=qf;function sf(a,b){var c=a.type.contextTypes;if(!c)return qf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var f,e={};for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function M(a){a=a.childContextTypes;return null!==a&&void 0!==a}function tf(a){I(L,a);I(K,a)}function uf(a){I(L,a);I(K,a)}function vf(a,b,c){K.current!==qf?r("168"):void 0;J(K,b,a);J(L,c,a)}function wf(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)e in a?void 0:r("108",Ac(b)||"Unknown",e);return n({},c,d)}function xf(a){var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||qf;rf=K.current;J(K,b,a);J(L,L.current,a);return!0}function yf(a,b,c){var d=a.stateNode;d?void 0:r("169");c?(b=wf(a,b,rf),d.__reactInternalMemoizedMergedChildContext=b,I(L,a),I(K,a),J(K,b,a)):I(L,a);J(L,c,a)}var zf=null,Af=null;function Bf(a){return function(b){try{return a(b)}catch(c){}}}function Cf(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{var c=b.inject(a);zf=Bf(function(a){return b.onCommitFiberRoot(c,a)});Af=Bf(function(a){return b.onCommitFiberUnmount(c,a)})}catch(d){}return!0}function Df(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.firstContextDependency=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function N(a,b,c,d){return new Df(a,b,c,d)}function Ef(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Ff(a){if("function"===typeof a)return Ef(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===uc)return 11;if(a===wc)return 14}return 2}function Gf(a,b){var c=a.alternate;null===c?(c=N(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;c.firstContextDependency=a.firstContextDependency;c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}function Hf(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)Ef(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case oc:return If(c.children,e,f,b);case tc:return Jf(c,3|e,f,b);case pc:return Jf(c,2|e,f,b);case qc:return a=N(12,c,b,4|e),a.elementType=qc,a.type=qc,a.expirationTime=f,a;case vc:return a=N(13,c,b,e),a.elementType=vc,a.type=vc,a.expirationTime=f,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case rc:g=10;break a;case sc:g=9;break a;case uc:g=11;break a;case wc:g=14;break a;case xc:g=16;d=null;break a}r("130",null==a?a:typeof a,"")}b=N(g,c,b,e);b.elementType=a;b.type=d;b.expirationTime=f;return b}function If(a,b,c,d){a=N(7,a,d,b);a.expirationTime=c;return a}function Jf(a,b,c,d){a=N(8,a,d,b);b=0===(1&b)?pc:tc;a.elementType=b;a.type=b;a.expirationTime=c;return a}function Kf(a,b,c){a=N(6,a,null,b);a.expirationTime=c;return a}function Lf(a,b,c){b=N(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}function Mf(a,b){a.didError=!1;var c=a.earliestPendingTime;0===c?a.earliestPendingTime=a.latestPendingTime=b:c>b?a.earliestPendingTime=b:a.latestPendingTime<b&&(a.latestPendingTime=b);Nf(b,a)}function Of(a,b){a.didError=!1;var c=a.latestPingedTime;0!==c&&c<=b&&(a.latestPingedTime=0);c=a.earliestPendingTime;var d=a.latestPendingTime;c===b?a.earliestPendingTime=d===b?a.latestPendingTime=0:d:d===b&&(a.latestPendingTime=c);c=a.earliestSuspendedTime;d=a.latestSuspendedTime;0===c?a.earliestSuspendedTime=a.latestSuspendedTime=b:c>b?a.earliestSuspendedTime=b:d<b&&(a.latestSuspendedTime=b);Nf(b,a)}function Pf(a,b){var c=a.earliestPendingTime;a=a.earliestSuspendedTime;(0===b||0!==c&&c<b)&&(b=c);(0===b||0!==a&&a<b)&&(b=a);return b}function Nf(a,b){var c=b.earliestSuspendedTime,d=b.latestSuspendedTime,e=b.earliestPendingTime,f=b.latestPingedTime;e=0!==e?e:f;0===e&&(0===a||d>a)&&(e=d);a=e;0!==a&&0!==c&&c<a&&(a=c);b.nextExpirationTimeToWorkOn=e;b.expirationTime=a}var Qf=!1;function Rf(a){return{baseState:a,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Sf(a){return{baseState:a.baseState,firstUpdate:a.firstUpdate,lastUpdate:a.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Tf(a){return{expirationTime:a,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Uf(a,b){null===a.lastUpdate?a.firstUpdate=a.lastUpdate=b:(a.lastUpdate.next=b,a.lastUpdate=b)}function Vf(a,b){var c=a.alternate;if(null===c){var d=a.updateQueue;var e=null;null===d&&(d=a.updateQueue=Rf(a.memoizedState))}else d=a.updateQueue,e=c.updateQueue,null===d?null===e?(d=a.updateQueue=Rf(a.memoizedState),e=c.updateQueue=Rf(c.memoizedState)):d=a.updateQueue=Sf(e):null===e&&(e=c.updateQueue=Sf(d));null===e||d===e?Uf(d,b):null===d.lastUpdate||null===e.lastUpdate?(Uf(d,b),Uf(e,b)):(Uf(d,b),e.lastUpdate=b)}function Wf(a,b){var c=a.updateQueue;c=null===c?a.updateQueue=Rf(a.memoizedState):Xf(a,c);null===c.lastCapturedUpdate?c.firstCapturedUpdate=c.lastCapturedUpdate=b:(c.lastCapturedUpdate.next=b,c.lastCapturedUpdate=b)}function Xf(a,b){var c=a.alternate;null!==c&&b===c.updateQueue&&(b=a.updateQueue=Sf(b));return b}function Yf(a,b,c,d,e,f){switch(c.tag){case 1:return a=c.payload,"function"===typeof a?a.call(f,d,e):a;case 3:a.effectTag=-1025&a.effectTag|64;case 0:a=c.payload;e="function"===typeof a?a.call(f,d,e):a;if(null===e||void 0===e)break;return n({},d,e);case 2:Qf=!0}return d}function Zf(a,b,c,d,e){Qf=!1;b=Xf(a,b);for(var f=b.baseState,g=null,h=0,k=b.firstUpdate,l=f;null!==k;){var m=k.expirationTime;m>e?(null===g&&(g=k,f=l),0===h||h>m)&&(h=m):(l=Yf(a,b,k,l,c,d),null!==k.callback&&(a.effectTag|=32,k.nextEffect=null,null===b.lastEffect?b.firstEffect=b.lastEffect=k:(b.lastEffect.nextEffect=k,b.lastEffect=k)));k=k.next}m=null;for(k=b.firstCapturedUpdate;null!==k;){var p=k.expirationTime;p>e?(null===m&&(m=k,null===g&&(f=l)),0===h||h>p)&&(h=p):(l=Yf(a,b,k,l,c,d),null!==k.callback&&(a.effectTag|=32,k.nextEffect=null,null===b.lastCapturedEffect?b.firstCapturedEffect=b.lastCapturedEffect=k:(b.lastCapturedEffect.nextEffect=k,b.lastCapturedEffect=k)));k=k.next}null===g&&(b.lastUpdate=null);null===m?b.lastCapturedUpdate=null:a.effectTag|=32;null===g&&null===m&&(f=l);b.baseState=f;b.firstUpdate=g;b.firstCapturedUpdate=m;a.expirationTime=h;a.memoizedState=l}function $f(a,b,c){null!==b.firstCapturedUpdate&&(null!==b.lastUpdate&&(b.lastUpdate.next=b.firstCapturedUpdate,b.lastUpdate=b.lastCapturedUpdate),b.firstCapturedUpdate=b.lastCapturedUpdate=null);ag(b.firstEffect,c);b.firstEffect=b.lastEffect=null;ag(b.firstCapturedEffect,c);b.firstCapturedEffect=b.lastCapturedEffect=null}function ag(a,b){for(;null!==a;){var c=a.callback;if(null!==c){a.callback=null;var d=b;"function"!==typeof c?r("191",c):void 0;c.call(d)}a=a.nextEffect}}function bg(a,b){return{value:a,source:b,stack:Bc(b)}}var cg={current:null},dg=null,eg=null,fg=null;function gg(a,b){var c=a.type._context;J(cg,c._currentValue,a);c._currentValue=b}function hg(a){var b=cg.current;I(cg,a);a.type._context._currentValue=b}function ig(a){dg=a;fg=eg=null;a.firstContextDependency=null}function jg(a,b){if(fg!==a&&!1!==b&&0!==b){"number"===typeof b&&1073741823!==b||(fg=a,b=1073741823);b={context:a,observedBits:b,next:null};null===eg?(null===dg?r("293"):void 0,dg.firstContextDependency=eg=b):eg=eg.next=b}return a._currentValue}var kg={},O={current:kg},lg={current:kg},mg={current:kg};function ng(a){a===kg?r("174"):void 0;return a}function og(a,b){J(mg,b,a);J(lg,a,a);J(O,kg,a);var c=b.nodeType;switch(c){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Ue(null,"");break;default:c=8===c?b.parentNode:b,b=c.namespaceURI||null,c=c.tagName,b=Ue(b,c)}I(O,a);J(O,b,a)}function pg(a){I(O,a);I(lg,a);I(mg,a)}function qg(a){ng(mg.current);var b=ng(O.current);var c=Ue(b,a.type);b!==c&&(J(lg,a,a),J(O,c,a))}function rg(a){lg.current===a&&(I(O,a),I(lg,a))}var sg=kc.ReactCurrentOwner,tg=(new aa.Component).refs;function ug(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:n({},b,c);a.memoizedState=c;d=a.updateQueue;null!==d&&0===a.expirationTime&&(d.baseState=c)}var yg={isMounted:function(a){return!!(a=a._reactInternalFiber)&&2===Gd(a)},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d=vg();d=wg(d,a);var e=Tf(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);Vf(a,e);xg(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=vg();d=wg(d,a);var e=Tf(d);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);Vf(a,e);xg(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=vg();c=wg(c,a);var d=Tf(c);d.tag=2;void 0!==b&&null!==b&&(d.callback=b);Vf(a,d);xg(a,c)}};function zg(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):!b.prototype||!b.prototype.isPureReactComponent||(!Fd(c,d)||!Fd(e,f))}function Ag(a,b,c){var d=!1,e=qf;var f=b.contextType;"object"===typeof f&&null!==f?f=sg.currentDispatcher.readContext(f):(e=M(b)?rf:K.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?sf(a,e):qf);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=yg;a.stateNode=b;b._reactInternalFiber=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}function Bg(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&yg.enqueueReplaceState(b,b.state,null)}function Cg(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=tg;var f=b.contextType;"object"===typeof f&&null!==f?e.context=sg.currentDispatcher.readContext(f):(f=M(b)?rf:K.current,e.context=sf(a,f));f=a.updateQueue;null!==f&&(Zf(a,f,c,e,d),e.state=a.memoizedState);f=b.getDerivedStateFromProps;"function"===typeof f&&(ug(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&yg.enqueueReplaceState(e,e.state,null),f=a.updateQueue,null!==f&&(Zf(a,f,c,e,d),e.state=a.memoizedState));"function"===typeof e.componentDidMount&&(a.effectTag|=4)}var Dg=Array.isArray;function Eg(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;var d=void 0;c&&(1!==c.tag?r("289"):void 0,d=c.stateNode);d?void 0:r("147",a);var e=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===tg&&(b=d.refs={});null===a?delete b[e]:b[e]=a};b._stringRef=e;return b}"string"!==typeof a?r("284"):void 0;c._owner?void 0:r("290",a)}return a}function Fg(a,b){"textarea"!==a.type&&r("31","[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b,"")}function Gg(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b,c){a=Gf(a,b,c);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=Kf(c,a.mode,d),b.return=a,b;b=e(b,c,d);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props,d),d.ref=Eg(a,b,c),d.return=a,d;d=Hf(c.type,c.key,c.props,null,a.mode,d);d.ref=Eg(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=Lf(c,a.mode,d),b.return=a,b;b=e(b,c.children||[],d);b.return=a;return b}function m(a,b,c,d,f){if(null===b||7!==b.tag)return b=If(c,a.mode,d,f),b.return=a,b;b=e(b,c,d);b.return=a;return b}function p(a,b,c){if("string"===typeof b||"number"===typeof b)return b=Kf(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case mc:return c=Hf(b.type,b.key,b.props,null,a.mode,c),c.ref=Eg(a,null,b),c.return=a,c;case nc:return b=Lf(b,a.mode,c),b.return=a,b}if(Dg(b)||zc(b))return b=If(b,a.mode,c,null),b.return=a,b;Fg(a,b)}return null}function v(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case mc:return c.key===e?c.type===oc?m(a,b,c.props.children,d,e):k(a,b,c,d):null;case nc:return c.key===e?l(a,b,c,d):null}if(Dg(c)||zc(c))return null!==e?null:m(a,b,c,d,null);Fg(a,c)}return null}function B(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=a.get(c)||null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case mc:return a=a.get(null===d.key?c:d.key)||null,d.type===oc?m(b,a,d.props.children,e,d.key):k(b,a,d,e);case nc:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(Dg(d)||zc(d))return a=a.get(c)||null,m(b,a,d,e,null);Fg(b,d)}return null}function w(e,g,h,k){for(var l=null,m=null,q=g,u=g=0,A=null;null!==q&&u<h.length;u++){q.index>u?(A=q,q=null):A=q.sibling;var t=v(e,q,h[u],k);if(null===t){null===q&&(q=A);break}a&&q&&null===t.alternate&&b(e,q);g=f(t,g,u);null===m?l=t:m.sibling=t;m=t;q=A}if(u===h.length)return c(e,q),l;if(null===q){for(;u<h.length;u++)(q=p(e,h[u],k))&&(g=f(q,g,u),null===m?l=q:m.sibling=q,m=q);return l}for(q=d(e,q);u<h.length;u++)(A=B(q,e,u,h[u],k))&&(a&&null!==A.alternate&&q.delete(null===A.key?u:A.key),g=f(A,g,u),null===m?l=A:m.sibling=A,m=A);a&&q.forEach(function(a){return b(e,a)});return l}function C(e,g,h,k){var l=zc(h);"function"!==typeof l?r("150"):void 0;h=l.call(h);null==h?r("151"):void 0;for(var m=l=null,q=g,u=g=0,A=null,t=h.next();null!==q&&!t.done;u++,t=h.next()){q.index>u?(A=q,q=null):A=q.sibling;var w=v(e,q,t.value,k);if(null===w){q||(q=A);break}a&&q&&null===w.alternate&&b(e,q);g=f(w,g,u);null===m?l=w:m.sibling=w;m=w;q=A}if(t.done)return c(e,q),l;if(null===q){for(;!t.done;u++,t=h.next())t=p(e,t.value,k),null!==t&&(g=f(t,g,u),null===m?l=t:m.sibling=t,m=t);return l}for(q=d(e,q);!t.done;u++,t=h.next())t=B(q,e,u,t.value,k),null!==t&&(a&&null!==t.alternate&&q.delete(null===t.key?u:t.key),g=f(t,g,u),null===m?l=t:m.sibling=t,m=t);a&&q.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===oc&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case mc:a:{l=f.key;for(k=d;null!==k;){if(k.key===l){if(7===k.tag?f.type===oc:k.elementType===f.type){c(a,k.sibling);d=e(k,f.type===oc?f.props.children:f.props,h);d.ref=Eg(a,k,f);d.return=a;a=d;break a}c(a,k);break}b(a,k);k=k.sibling}f.type===oc?(d=If(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Hf(f.type,f.key,f.props,null,a.mode,h),h.ref=Eg(a,d,f),h.return=a,a=h)}return g(a);case nc:a:{for(k=f.key;null!==d;){if(d.key===k){if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[],h);d.return=a;a=d;break a}c(a,d);break}b(a,d);d=d.sibling}d=Lf(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f,h),d.return=a,a=d):(c(a,d),d=Kf(f,a.mode,h),d.return=a,a=d),g(a);if(Dg(f))return w(a,d,f,h);if(zc(f))return C(a,d,f,h);l&&Fg(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 0:h=a.type,r("152",h.displayName||h.name||"Component")}return c(a,d)}}var Hg=Gg(!0),Ig=Gg(!1),Jg=null,Kg=null,Lg=!1;function Mg(a,b){var c=N(5,null,null,0);c.elementType="DELETED";c.type="DELETED";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function Ng(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b&&(a.stateNode=b,!0);case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b&&(a.stateNode=b,!0);default:return!1}}function Og(a){if(Lg){var b=Kg;if(b){var c=b;if(!Ng(a,b)){b=mf(c);if(!b||!Ng(a,b)){a.effectTag|=2;Lg=!1;Jg=a;return}Mg(Jg,c)}Jg=a;Kg=nf(b)}else a.effectTag|=2,Lg=!1,Jg=a}}function Pg(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag;)a=a.return;Jg=a}function Qg(a){if(a!==Jg)return!1;if(!Lg)return Pg(a),Lg=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!jf(b,a.memoizedProps))for(b=Kg;b;)Mg(a,b),b=mf(b);Pg(a);Kg=Jg?mf(a.stateNode):null;return!0}function Rg(){Kg=Jg=null;Lg=!1}function Sg(a){var b=a._result;switch(a._status){case 1:return b;case 2:case 0:throw b;default:throw a._status=0,b=a._ctor,b=b(),b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)}),a._result=b,b}}var Tg=kc.ReactCurrentOwner;function P(a,b,c,d){b.child=null===a?Ig(b,null,c,d):Hg(b,a.child,c,d)}function Ug(a,b,c,d,e){c=c.render;var f=b.ref;if(!L.current&&b.memoizedProps===d&&f===(null!==a?a.ref:null))return Vg(a,b,e);d=c(d,f);P(a,b,d,e);return b.child}function Wg(a,b,c,d,e,f){if(null===a){var g=c.type;if("function"===typeof g&&!Ef(g)&&void 0===g.defaultProps&&null===c.compare)return b.tag=15,b.type=g,Xg(a,b,g,d,e,f);a=Hf(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if((0===e||e>f)&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:Fd,c(e,d)&&a.ref===b.ref))return Vg(a,b,f);a=Gf(g,d,f);a.ref=b.ref;a.return=b;return b.child=a}function Xg(a,b,c,d,e,f){return null!==a&&(0===e||e>f)&&Fd(a.memoizedProps,d)&&a.ref===b.ref?Vg(a,b,f):Yg(a,b,c,d,f)}function Zg(a,b){var c=b.ref;(null===a&&null!==c||null!==a&&a.ref!==c)&&(b.effectTag|=128)}function Yg(a,b,c,d,e){var f=M(c)?rf:K.current;f=sf(b,f);ig(b,e);c=c(d,f);b.effectTag|=1;P(a,b,c,e);return b.child}function $g(a,b,c,d,e){if(M(c)){var f=!0;xf(b)}else f=!1;ig(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),Ag(b,c,d,e),Cg(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;"object"===typeof l&&null!==l?l=sg.currentDispatcher.readContext(l):(l=M(c)?rf:K.current,l=sf(b,l));var m=c.getDerivedStateFromProps,p="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate;p||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Bg(b,g,d,l);Qf=!1;var v=b.memoizedState;k=g.state=v;var B=b.updateQueue;null!==B&&(Zf(b,B,d,g,e),k=b.memoizedState);h!==d||v!==k||L.current||Qf?("function"===typeof m&&(ug(b,c,m,d),k=b.memoizedState),(h=Qf||zg(b,c,h,d,v,k,l))?(p||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.effectTag|=4)):("function"===typeof g.componentDidMount&&(b.effectTag|=4),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):("function"===typeof g.componentDidMount&&(b.effectTag|=4),d=!1)}else g=b.stateNode,h=b.memoizedProps,g.props=h,k=g.context,l=c.contextType,"object"===typeof l&&null!==l?l=sg.currentDispatcher.readContext(l):(l=M(c)?rf:K.current,l=sf(b,l)),m=c.getDerivedStateFromProps,(p="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate)||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Bg(b,g,d,l),Qf=!1,k=b.memoizedState,v=g.state=k,B=b.updateQueue,null!==B&&(Zf(b,B,d,g,e),v=b.memoizedState),h!==d||k!==v||L.current||Qf?("function"===typeof m&&(ug(b,c,m,d),v=b.memoizedState),(m=Qf||zg(b,c,h,d,k,v,l))?(p||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,v,l),"function"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,v,l)),"function"===typeof g.componentDidUpdate&&(b.effectTag|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.effectTag|=256)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),b.memoizedProps=d,b.memoizedState=v),g.props=d,g.state=v,g.context=l,d=m):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),d=!1);return ah(a,b,c,d,f,e)}function ah(a,b,c,d,e,f){Zg(a,b);var g=0!==(64&b.effectTag);if(!d&&!g)return e&&yf(b,c,!1),Vg(a,b,f);d=b.stateNode;Tg.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.effectTag|=1;null!==a&&g?(b.child=Hg(b,a.child,null,f),b.child=Hg(b,null,h,f)):P(a,b,h,f);b.memoizedState=d.state;e&&yf(b,c,!0);return b.child}function bh(a){var b=a.stateNode;b.pendingContext?vf(a,b.pendingContext,b.pendingContext!==b.context):b.context&&vf(a,b.context,!1);og(a,b.containerInfo)}function ch(a,b){if(a&&a.defaultProps){b=n({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c])}return b}function dh(a,b,c){var d=b.mode,e=b.pendingProps,f=b.memoizedState;null!==f&&(f.alreadyCaptured?null!==a&&f===a.memoizedState?f={alreadyCaptured:!0,didTimeout:!0,timedOutAt:f.timedOutAt}:(f.alreadyCaptured=!0,f.didTimeout=!0):f=null);var g=null!==f&&f.didTimeout;if(null===a)g?(g=e.fallback,e=If(null,d,0,null),d=If(g,d,c,null),e.sibling=d,c=e,c.return=d.return=b):c=d=Ig(b,null,e.children,c);else{var h=a.memoizedState;null!==h&&h.didTimeout?(d=a.child,a=d.sibling,g?(c=e.fallback,d=Gf(d,d.pendingProps,0),d.effectTag|=2,e=d.sibling=Gf(a,c,a.expirationTime),e.effectTag|=2,c=d,d.childExpirationTime=0,d=e,c.return=d.return=b):(g=a.child,d=Hg(b,d.child,e.children,c),Hg(b,g,null,c),c=d)):(a=a.child,g?(g=e.fallback,e=If(null,d,0,null),e.effectTag|=2,e.child=a,a.return=e,d=e.sibling=If(g,d,c,null),d.effectTag|=2,c=e,e.childExpirationTime=0,c.return=d.return=b):d=c=Hg(b,a,e.children,c))}b.memoizedState=f;b.child=c;return d}function Vg(a,b,c){null!==a&&(b.firstContextDependency=a.firstContextDependency);var d=b.childExpirationTime;if(0===d||d>c)return null;null!==a&&b.child!==a.child?r("153"):void 0;if(null!==b.child){a=b.child;c=Gf(a,a.pendingProps,a.expirationTime);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Gf(a,a.pendingProps,a.expirationTime),c.return=b;c.sibling=null}return b.child}function eh(a,b,c){var d=b.expirationTime;if(null!==a&&a.memoizedProps===b.pendingProps&&!L.current&&(0===d||d>c)){switch(b.tag){case 3:bh(b);Rg();break;case 5:qg(b);break;case 1:M(b.type)&&xf(b);break;case 4:og(b,b.stateNode.containerInfo);break;case 10:gg(b,b.memoizedProps.value);break;case 13:if(d=b.memoizedState,null!==d&&d.didTimeout){d=b.child.childExpirationTime;if(0!==d&&d<=c)return dh(a,b,c);b=Vg(a,b,c);return null!==b?b.sibling:null}}return Vg(a,b,c)}b.expirationTime=0;switch(b.tag){case 2:d=b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;var e=sf(b,K.current);ig(b,c);e=d(a,e);b.effectTag|=1;if("object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;if(M(d)){var f=!0;xf(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;var g=d.getDerivedStateFromProps;"function"===typeof g&&ug(b,d,g,a);e.updater=yg;b.stateNode=e;e._reactInternalFiber=b;Cg(b,d,a,c);b=ah(null,b,d,!0,f,c)}else b.tag=0,P(null,b,e,c),b=b.child;return b;case 16:e=b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);f=b.pendingProps;a=Sg(e);b.type=a;e=b.tag=Ff(a);f=ch(a,f);g=void 0;switch(e){case 0:g=Yg(null,b,a,f,c);break;case 1:g=$g(null,b,a,f,c);break;case 11:g=Ug(null,b,a,f,c);break;case 14:g=Wg(null,b,a,ch(a.type,f),d,c);break;default:r("283",a)}return g;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ch(d,e),Yg(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ch(d,e),$g(a,b,d,e,c);case 3:bh(b);d=b.updateQueue;null===d?r("282"):void 0;e=b.memoizedState;e=null!==e?e.element:null;Zf(b,d,b.pendingProps,null,c);d=b.memoizedState.element;if(d===e)Rg(),b=Vg(a,b,c);else{e=b.stateNode;(e=(null===a||null===a.child)&&e.hydrate)&&(Kg=nf(b.stateNode.containerInfo),Jg=b,e=Lg=!0);e?(b.effectTag|=2,b.child=Ig(b,null,d,c)):(P(a,b,d,c),Rg());b=b.child}return b;case 5:return qg(b),null===a&&Og(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,jf(d,e)?g=null:null!==f&&jf(d,f)&&(b.effectTag|=16),Zg(a,b),1073741823!==c&&1&b.mode&&e.hidden?(b.expirationTime=1073741823,b=null):(P(a,b,g,c),b=b.child),b;case 6:return null===a&&Og(b),null;case 13:return dh(a,b,c);case 4:return og(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Hg(b,null,d,c):P(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ch(d,e),Ug(a,b,d,e,c);case 7:return P(a,b,b.pendingProps,c),b.child;case 8:case 12:return P(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;gg(b,f);if(null!==g){var h=g.value;f=h===f&&(0!==h||1/h===1/f)||h!==h&&f!==f?0:0|("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823);if(0===f){if(g.children===e.children&&!L.current){b=Vg(a,b,c);break a}}else for(g=b.child,null!==g&&(g.return=b);null!==g;){h=g.firstContextDependency;if(null!==h)do{if(h.context===d&&0!==(h.observedBits&f)){if(1===g.tag){var k=Tf(c);k.tag=2;Vf(g,k)}(0===g.expirationTime||g.expirationTime>c)&&(g.expirationTime=c);k=g.alternate;null!==k&&(0===k.expirationTime||k.expirationTime>c)&&(k.expirationTime=c);for(var l=g.return;null!==l;){k=l.alternate;if(0===l.childExpirationTime||l.childExpirationTime>c)l.childExpirationTime=c,null!==k&&(0===k.childExpirationTime||k.childExpirationTime>c)&&(k.childExpirationTime=c);else{if(null===k||!(0===k.childExpirationTime||k.childExpirationTime>c))break;k.childExpirationTime=c}l=l.return}}k=g.child;h=h.next}while(null!==h);else k=10===g.tag&&g.type===b.type?null:g.child;if(null!==k)k.return=g;else for(k=g;null!==k;){if(k===b){k=null;break}g=k.sibling;if(null!==g){g.return=k.return;k=g;break}k=k.return}g=k}}P(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,ig(b,c),e=jg(e,f.unstable_observedBits),d=d(e),b.effectTag|=1,P(a,b,d,c),b.child;case 14:return e=b.type,f=ch(e.type,b.pendingProps),Wg(a,b,e,f,d,c);case 15:return Xg(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ch(d,e),null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),b.tag=1,M(d)?(a=!0,xf(b)):a=!1,ig(b,c),Ag(b,d,e,c),Cg(b,d,e,c),ah(null,b,d,!0,a,c);default:r("156")}}function zh(a){a.effectTag|=4}var Ah=void 0,Bh=void 0,Ch=void 0,Dh=void 0;Ah=function(a,b){for(var c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};Bh=function(){};Ch=function(a,b,c,d,e){var f=a.memoizedProps;if(f!==d){var g=b.stateNode;ng(O.current);a=null;switch(c){case"input":f=Qc(g,f);d=Qc(g,d);a=[];break;case"option":f=Me(g,f);d=Me(g,d);a=[];break;case"select":f=n({},f,{value:void 0});d=n({},d,{value:void 0});a=[];break;case"textarea":f=Oe(g,f);d=Oe(g,d);a=[];break;default:"function"!==typeof f.onClick&&"function"===typeof d.onClick&&(g.onclick=ef)}bf(c,d);g=c=void 0;var h=null;for(c in f)if(!d.hasOwnProperty(c)&&f.hasOwnProperty(c)&&null!=f[c])if("style"===c){var k=f[c];for(g in k)k.hasOwnProperty(g)&&(h||(h={}),h[g]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(ua.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in d){var l=d[c];k=null!=f?f[c]:void 0;if(d.hasOwnProperty(c)&&l!==k&&(null!=l||null!=k))if("style"===c)if(k){for(g in k)!k.hasOwnProperty(g)||l&&l.hasOwnProperty(g)||(h||(h={}),h[g]="");for(g in l)l.hasOwnProperty(g)&&k[g]!==l[g]&&(h||(h={}),h[g]=l[g])}else h||(a||(a=[]),a.push(c,h)),h=l;else"dangerouslySetInnerHTML"===c?(l=l?l.__html:void 0,k=k?k.__html:void 0,null!=l&&k!==l&&(a=a||[]).push(c,""+l)):"children"===c?k===l||"string"!==typeof l&&"number"!==typeof l||(a=a||[]).push(c,""+l):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(ua.hasOwnProperty(c)?(null!=l&&df(e,c),a||k===l||(a=[])):(a=a||[]).push(c,l))}h&&(a=a||[]).push("style",h);e=a;(b.updateQueue=e)&&zh(b)}};Dh=function(a,b,c,d){c!==d&&zh(b)};function Eh(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=Bc(c));null!==c&&Ac(c.type);b=b.value;null!==a&&1===a.tag&&Ac(a.type);try{console.error(b)}catch(e){setTimeout(function(){throw e})}}function Fh(a){var b=a.ref;if(null!==b)if("function"===typeof b)try{b(null)}catch(c){Gh(a,c)}else b.current=null}function Hh(a){"function"===typeof Af&&Af(a);switch(a.tag){case 1:Fh(a);var b=a.stateNode;if("function"===typeof b.componentWillUnmount)try{b.props=a.memoizedProps,b.state=a.memoizedState,b.componentWillUnmount()}catch(c){Gh(a,c)}break;case 5:Fh(a);break;case 4:Ih(a)}}function Jh(a){return 5===a.tag||3===a.tag||4===a.tag}function Kh(a){a:{for(var b=a.return;null!==b;){if(Jh(b)){var c=b;break a}b=b.return}r("160");c=void 0}var d=b=void 0;switch(c.tag){case 5:b=c.stateNode;d=!1;break;case 3:case 4:b=c.stateNode.containerInfo;d=!0;break;default:r("161")}16&c.effectTag&&(Xe(b,""),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Jh(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag;){if(2&c.effectTag)continue b;if(null===c.child||4===c.tag)continue b;c.child.return=c,c=c.child}if(!(2&c.effectTag)){c=c.stateNode;break a}}for(var e=a;;){if(5===e.tag||6===e.tag)if(c)if(d){var f=b,g=e.stateNode,h=c;8===f.nodeType?f.parentNode.insertBefore(g,h):f.insertBefore(g,h)}else b.insertBefore(e.stateNode,c);else d?(g=b,h=e.stateNode,8===g.nodeType?(f=g.parentNode,f.insertBefore(h,g)):(f=g,f.appendChild(h)),g=g._reactRootContainer,null!==g&&void 0!==g||null!==f.onclick||(f.onclick=ef)):b.appendChild(e.stateNode);else if(4!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===a)break;for(;null===e.sibling;){if(null===e.return||e.return===a)return;e=e.return}e.sibling.return=e.return;e=e.sibling}}function Ih(a){for(var b=a,c=!1,d=void 0,e=void 0;;){if(!c){c=b.return;a:for(;;){null===c?r("160"):void 0;switch(c.tag){case 5:d=c.stateNode;e=!1;break a;case 3:case 4:d=c.stateNode.containerInfo;e=!0;break a}c=c.return}c=!0}if(5===b.tag||6===b.tag){a:for(var f=b,g=f;;)if(Hh(g),null!==g.child&&4!==g.tag)g.child.return=g,g=g.child;else{if(g===f)break;for(;null===g.sibling;){if(null===g.return||g.return===f)break a;g=g.return}g.sibling.return=g.return;g=g.sibling}e?(f=d,g=b.stateNode,8===f.nodeType?f.parentNode.removeChild(g):f.removeChild(g)):d.removeChild(b.stateNode)}else if(4===b.tag?(d=b.stateNode.containerInfo,e=!0):Hh(b),null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return;b=b.return;4===b.tag&&(c=!1)}b.sibling.return=b.return;b=b.sibling}}function Lh(a,b){switch(b.tag){case 1:break;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[Ma]=d;"input"===a&&"radio"===d.type&&null!=d.name&&Sc(c,d);cf(a,e);b=cf(a,d);for(e=0;e<f.length;e+=2){var g=f[e],h=f[e+1];"style"===g?$e(c,h):"dangerouslySetInnerHTML"===g?We(c,h):"children"===g?Xe(c,h):Oc(c,g,h,b)}switch(a){case"input":Tc(c,d);break;case"textarea":Qe(c,d);break;case"select":a=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,f=d.value,null!=f?Ne(c,!!d.multiple,f,!1):a!==!!d.multiple&&(null!=d.defaultValue?Ne(c,!!d.multiple,d.defaultValue,!0):Ne(c,!!d.multiple,d.multiple?[]:"",!1))}}}break;case 6:null===b.stateNode?r("162"):void 0;b.stateNode.nodeValue=b.memoizedProps;break;case 3:case 12:case 13:case 17:break;default:r("163")}}function Mh(a,b,c){c=Tf(c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Nh(d);Eh(a,b)};return c}function Oh(a,b,c){c=Tf(c);c.tag=3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){return d(e)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){"function"!==typeof d&&(null===Ph?Ph=new Set([this]):Ph.add(this));var c=b.value,e=b.stack;Eh(a,b);this.componentDidCatch(c,{componentStack:null!==e?e:""})});return c}function Qh(a){switch(a.tag){case 1:M(a.type)&&tf(a);var b=a.effectTag;return 1024&b?(a.effectTag=-1025&b|64,a):null;case 3:return pg(a),uf(a),b=a.effectTag,0!==(64&b)?r("285"):void 0,a.effectTag=-1025&b|64,a;case 5:return rg(a),null;case 13:b=a.effectTag;if(1024&b){a.effectTag=-1025&b|64;b=a.alternate;b=null!==b?b.memoizedState:null;var c=a.memoizedState;null===c?c={alreadyCaptured:!0,didTimeout:!1,timedOutAt:0}:b===c?c={alreadyCaptured:!0,didTimeout:c.didTimeout,timedOutAt:c.timedOutAt}:c.alreadyCaptured=!0;a.memoizedState=c;return a}return null;case 4:return pg(a),null;case 10:return hg(a),null;default:return null}}var Rh={readContext:jg},Sh=kc.ReactCurrentOwner,Th=0,Uh=0,Vh=!1,Q=null,R=null,S=0,Wh=-1,Xh=!1,T=null,Yh=!1,Ph=null;function Zh(){if(null!==Q)for(var a=Q.return;null!==a;){var b=a;switch(b.tag){case 1:var c=b.type.childContextTypes;null!==c&&void 0!==c&&tf(b);break;case 3:pg(b);uf(b);break;case 5:rg(b);break;case 4:pg(b);break;case 10:hg(b)}a=a.return}R=null;S=0;Wh=-1;Xh=!1;Q=null}function $h(a){for(;;){var b=a.alternate,c=a.return,d=a.sibling;if(0===(512&a.effectTag)){var e=b;b=a;var f=b.pendingProps;switch(b.tag){case 2:case 16:break;case 15:case 0:break;case 1:M(b.type)&&tf(b);break;case 3:pg(b);uf(b);f=b.stateNode;f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null);null!==e&&null!==e.child||(Qg(b),b.effectTag&=-3);Bh(b);break;case 5:rg(b);var g=ng(mg.current),h=b.type;if(null!==e&&null!=b.stateNode)Ch(e,b,h,f,g),e.ref!==b.ref&&(b.effectTag|=128);else if(f){var k=ng(O.current);if(Qg(b)){f=b;e=f.stateNode;var l=f.type,m=f.memoizedProps,p=g;e[La]=f;e[Ma]=m;h=void 0;g=l;switch(g){case"iframe":case"object":H("load",e);break;case"video":case"audio":for(l=0;l<lb.length;l++)H(lb[l],e);break;case"source":H("error",e);break;case"img":case"image":case"link":H("error",e);H("load",e);break;case"form":H("reset",e);H("submit",e);break;case"details":H("toggle",e);break;case"input":Rc(e,m);H("invalid",e);df(p,"onChange");break;case"select":e._wrapperState={wasMultiple:!!m.multiple};H("invalid",e);df(p,"onChange");break;case"textarea":Pe(e,m),H("invalid",e),df(p,"onChange")}bf(g,m);l=null;for(h in m)m.hasOwnProperty(h)&&(k=m[h],"children"===h?"string"===typeof k?e.textContent!==k&&(l=["children",k]):"number"===typeof k&&e.textContent!==""+k&&(l=["children",""+k]):ua.hasOwnProperty(h)&&null!=k&&df(p,h));switch(g){case"input":ic(e);bd(e,m,!0);break;case"textarea":ic(e);Re(e,m);break;case"select":case"option":break;default:"function"===typeof m.onClick&&(e.onclick=ef)}h=l;f.updateQueue=h;f=null!==h;f&&zh(b)}else{m=b;e=h;p=f;l=9===g.nodeType?g:g.ownerDocument;k===Se.html&&(k=Te(e));k===Se.html?"script"===e?(e=l.createElement("div"),e.innerHTML="<script><\/script>",l=e.removeChild(e.firstChild)):"string"===typeof p.is?l=l.createElement(e,{is:p.is}):(l=l.createElement(e),"select"===e&&p.multiple&&(l.multiple=!0)):l=l.createElementNS(k,e);e=l;e[La]=m;e[Ma]=f;Ah(e,b,!1,!1);p=e;l=h;m=f;var v=g,B=cf(l,m);switch(l){case"iframe":case"object":H("load",p);g=m;break;case"video":case"audio":for(g=0;g<lb.length;g++)H(lb[g],p);g=m;break;case"source":H("error",p);g=m;break;case"img":case"image":case"link":H("error",p);H("load",p);g=m;break;case"form":H("reset",p);H("submit",p);g=m;break;case"details":H("toggle",p);g=m;break;case"input":Rc(p,m);g=Qc(p,m);H("invalid",p);df(v,"onChange");break;case"option":g=Me(p,m);break;case"select":p._wrapperState={wasMultiple:!!m.multiple};g=n({},m,{value:void 0});H("invalid",p);df(v,"onChange");break;case"textarea":Pe(p,m);g=Oe(p,m);H("invalid",p);df(v,"onChange");break;default:g=m}bf(l,g);k=void 0;var w=l,C=p,u=g;for(k in u)if(u.hasOwnProperty(k)){var q=u[k];"style"===k?$e(C,q):"dangerouslySetInnerHTML"===k?(q=q?q.__html:void 0,null!=q&&We(C,q)):"children"===k?"string"===typeof q?("textarea"!==w||""!==q)&&Xe(C,q):"number"===typeof q&&Xe(C,""+q):"suppressContentEditableWarning"!==k&&"suppressHydrationWarning"!==k&&"autoFocus"!==k&&(ua.hasOwnProperty(k)?null!=q&&df(v,k):null!=q&&Oc(C,k,q,B))}switch(l){case"input":ic(p);bd(p,m,!1);break;case"textarea":ic(p);Re(p,m);break;case"option":null!=m.value&&p.setAttribute("value",""+Pc(m.value));break;case"select":g=p;g.multiple=!!m.multiple;p=m.value;null!=p?Ne(g,!!m.multiple,p,!1):null!=m.defaultValue&&Ne(g,!!m.multiple,m.defaultValue,!0);break;default:"function"===typeof g.onClick&&(p.onclick=ef)}(f=hf(h,f))&&zh(b);b.stateNode=e}null!==b.ref&&(b.effectTag|=128)}else null===b.stateNode?r("166"):void 0;break;case 6:e&&null!=b.stateNode?Dh(e,b,e.memoizedProps,f):("string"!==typeof f&&(null===b.stateNode?r("166"):void 0),e=ng(mg.current),ng(O.current),Qg(b)?(f=b,h=f.stateNode,e=f.memoizedProps,h[La]=f,(f=h.nodeValue!==e)&&zh(b)):(h=b,f=(9===e.nodeType?e:e.ownerDocument).createTextNode(f),f[La]=b,h.stateNode=f));break;case 11:break;case 13:f=b.memoizedState;h=null!==e?e.memoizedState:null;(null!==f&&f.didTimeout)!==(null!==h&&h.didTimeout)&&(b.effectTag|=4);break;case 7:case 8:case 12:break;case 4:pg(b);Bh(b);break;case 10:hg(b);break;case 9:case 14:break;case 17:M(b.type)&&tf(b);break;default:r("156")}Q=null;b=a;if(1073741823===S||1073741823!==b.childExpirationTime){f=0;for(h=b.child;null!==h;){e=h.expirationTime;g=h.childExpirationTime;(0===f||0!==e&&e<f)&&(f=e);(0===f||0!==g&&g<f)&&(f=g);h=h.sibling}b.childExpirationTime=f}null!==c&&0===(512&c.effectTag)&&(null===c.firstEffect&&(c.firstEffect=a.firstEffect),null!==a.lastEffect&&(null!==c.lastEffect&&(c.lastEffect.nextEffect=a.firstEffect),c.lastEffect=a.lastEffect),1<a.effectTag&&(null!==c.lastEffect?c.lastEffect.nextEffect=a:c.firstEffect=a,c.lastEffect=a))}else{a=Qh(a,S);if(null!==a)return a.effectTag&=511,a;null!==c&&(c.firstEffect=c.lastEffect=null,c.effectTag|=512)}if(null!==d)return d;if(null===c)break;a=c}return null}function ai(a){var b=eh(a.alternate,a,S);a.memoizedProps=a.pendingProps;null===b&&(b=$h(a));Sh.current=null;return b}function bi(a,b,c){Vh?r("243"):void 0;Vh=!0;Sh.currentDispatcher=Rh;var d=a.nextExpirationTimeToWorkOn;d===S&&a===R&&null!==Q||(Zh(),R=a,S=d,Q=Gf(R.current,null,S),a.pendingCommitExpirationTime=0);var e=!1;do{try{if(b)for(;null!==Q&&!ci();)Q=ai(Q);else for(;null!==Q;)Q=ai(Q)}catch(C){if(null===Q)e=!0,Nh(C);else{null===Q?r("271"):void 0;var f=Q,g=f.return;if(null!==g){a:{var h=a,k=g,l=f,m=C;g=S;l.effectTag|=512;l.firstEffect=l.lastEffect=null;if(null!==m&&"object"===typeof m&&"function"===typeof m.then){var p=m;m=k;var v=-1,B=-1;do{if(13===m.tag){var w=m.alternate;if(null!==w&&(w=w.memoizedState,null!==w&&w.didTimeout)){B=10*(w.timedOutAt-2);break}w=m.pendingProps.maxDuration;"number"===typeof w&&(0>=w?v=0:(-1===v||w<v)&&(v=w))}m=m.return}while(null!==m);m=k;do{(w=13===m.tag)&&(void 0===m.memoizedProps.fallback?w=!1:(w=m.memoizedState,w=null===w||!w.didTimeout));if(w){k=di.bind(null,h,m,l,0===(1&m.mode)?1:g);p.then(k,k);if(0===(1&m.mode)){m.effectTag|=32;P(l.alternate,l,null,g);l.effectTag&=-513;1===l.tag&&(l.effectTag&=-421,null===l.alternate&&(l.tag=17));break a}-1===v?h=1073741823:(-1===B&&(B=10*(Pf(h,g)-2)-5e3),h=B+v);0<=h&&Wh<h&&(Wh=h);m.effectTag|=1024;m.expirationTime=g;break a}m=m.return}while(null!==m);m=Error("An update was suspended, but no placeholder UI was provided.")}Xh=!0;m=bg(m,l);h=k;do{switch(h.tag){case 3:l=m;h.effectTag|=1024;h.expirationTime=g;g=Mh(h,l,g);Wf(h,g);break a;case 1:if(l=m,k=h.type,p=h.stateNode,0===(64&h.effectTag)&&("function"===typeof k.getDerivedStateFromError||null!==p&&"function"===typeof p.componentDidCatch&&(null===Ph||!Ph.has(p)))){h.effectTag|=1024;h.expirationTime=g;g=Oh(h,l,g);Wf(h,g);break a}}h=h.return}while(null!==h)}Q=$h(f);continue}e=!0,Nh(C)}}break}while(1);Vh=!1;fg=eg=dg=Sh.currentDispatcher=null;if(e)R=null,a.finishedWork=null;else if(null!==Q)a.finishedWork=null;else{b=a.current.alternate;null===b?r("281"):void 0;R=null;if(Xh){e=a.latestPendingTime;f=a.latestSuspendedTime;g=a.latestPingedTime;if(0!==e&&e>d||0!==f&&f>d||0!==g&&g>d){Of(a,d);ei(a,b,d,a.expirationTime,-1);return}if(!a.didError&&!c){a.didError=!0;d=a.nextExpirationTimeToWorkOn=d;c=a.expirationTime=1;ei(a,b,d,c,-1);return}}c||-1===Wh?(a.pendingCommitExpirationTime=d,a.finishedWork=b):(Of(a,d),c=10*(Pf(a,d)-2),c<Wh&&(Wh=c),c=10*(vg()-2),c=Wh-c,ei(a,b,d,a.expirationTime,0>c?0:c))}}function Gh(a,b){var c;a:{Vh&&!Yh?r("263"):void 0;for(c=a.return;null!==c;){switch(c.tag){case 1:var d=c.stateNode;if("function"===typeof c.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===Ph||!Ph.has(d))){a=bg(b,a);a=Oh(c,a,1);Vf(c,a);xg(c,1);c=void 0;break a}break;case 3:a=bg(b,a);a=Mh(c,a,1);Vf(c,a);xg(c,1);c=void 0;break a}c=c.return}3===a.tag&&(c=bg(b,a),c=Mh(a,c,1),Vf(a,c),xg(a,1));c=void 0}return c}function wg(a,b){0!==Uh?a=Uh:Vh?a=Yh?1:S:1&b.mode?(a=fi?2+10*(1+((a-2+15)/10|0)):2+25*(1+((a-2+500)/25|0)),null!==R&&a===S&&(a+=1)):a=1;fi&&a>gi&&(gi=a);return a}function di(a,b,c,d){var e=a.earliestSuspendedTime;var f=a.latestSuspendedTime;if(0!==e&&d>=e&&d<=f){f=e=d;a.didError=!1;var g=a.latestPingedTime;(0===g||g<f)&&(a.latestPingedTime=f);Nf(f,a)}else e=vg(),e=wg(e,b),Mf(a,e);0!==(1&b.mode)&&a===R&&S===d&&(R=null);hi(b,e);0===(1&b.mode)&&(hi(c,e),1===c.tag&&null!==c.stateNode&&(b=Tf(e),b.tag=2,Vf(c,b)));c=a.expirationTime;0!==c&&ii(a,c)}function hi(a,b){(0===a.expirationTime||a.expirationTime>b)&&(a.expirationTime=b);var c=a.alternate;null!==c&&(0===c.expirationTime||c.expirationTime>b)&&(c.expirationTime=b);var d=a.return,e=null;if(null===d&&3===a.tag)e=a.stateNode;else for(;null!==d;){c=d.alternate;(0===d.childExpirationTime||d.childExpirationTime>b)&&(d.childExpirationTime=b);null!==c&&(0===c.childExpirationTime||c.childExpirationTime>b)&&(c.childExpirationTime=b);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return}return null===e?null:e}function xg(a,b){a=hi(a,b);null!==a&&(!Vh&&0!==S&&b<S&&Zh(),Mf(a,b),Vh&&!Yh&&R===a||ii(a,a.expirationTime),ji>ki&&(ji=0,r("185")))}function li(a,b,c,d,e){var f=Uh;Uh=1;try{return a(b,c,d,e)}finally{Uh=f}}var U=null,V=null,mi=0,ni=void 0,W=!1,X=null,Y=0,gi=0,oi=!1,pi=!1,qi=null,ri=null,Z=!1,si=!1,fi=!1,ti=null,ui=da.unstable_now(),vi=2+(ui/10|0),wi=vi,ki=50,ji=0,xi=null,yi=1;function zi(){vi=2+((da.unstable_now()-ui)/10|0)}function Ai(a,b){if(0!==mi){if(b>mi)return;null!==ni&&da.unstable_cancelCallback(ni)}mi=b;a=da.unstable_now()-ui;ni=da.unstable_scheduleCallback(Bi,{timeout:10*(b-2)-a})}function ei(a,b,c,d,e){a.expirationTime=d;0!==e||ci()?0<e&&(a.timeoutHandle=kf(Ci.bind(null,a,b,c),e)):(a.pendingCommitExpirationTime=c,a.finishedWork=b)}function Ci(a,b,c){a.pendingCommitExpirationTime=c;a.finishedWork=b;zi();wi=vi;Di(a,c)}function vg(){if(W)return wi;Ei();0!==Y&&1073741823!==Y||(zi(),wi=vi);return wi}function ii(a,b){if(null===a.nextScheduledRoot)a.expirationTime=b,null===V?(U=V=a,a.nextScheduledRoot=a):(V=V.nextScheduledRoot=a,V.nextScheduledRoot=U);else{var c=a.expirationTime;(0===c||b<c)&&(a.expirationTime=b)}W||(Z?si&&(X=a,Y=1,Fi(a,1,!0)):1===b?Gi(1,null):Ai(a,b))}function Ei(){var a=0,b=null;if(null!==V)for(var c=V,d=U;null!==d;){var e=d.expirationTime;if(0===e){null===c||null===V?r("244"):void 0;if(d===d.nextScheduledRoot){U=V=d.nextScheduledRoot=null;break}if(d===U)U=e=d.nextScheduledRoot,V.nextScheduledRoot=e,d.nextScheduledRoot=null;else{if(d===V){V=c;V.nextScheduledRoot=U;d.nextScheduledRoot=null;break}c.nextScheduledRoot=d.nextScheduledRoot,d.nextScheduledRoot=null}d=c.nextScheduledRoot}else{(0===a||e<a)&&(a=e,b=d);if(d===V)break;if(1===a)break;c=d;d=d.nextScheduledRoot}}X=b;Y=a}function Bi(a){if(a.didTimeout&&null!==U){zi();var b=U;do{var c=b.expirationTime;0!==c&&vi>=c&&(b.nextExpirationTimeToWorkOn=vi);b=b.nextScheduledRoot}while(b!==U)}Gi(0,a)}function Gi(a,b){ri=b;Ei();if(null!==ri)for(zi(),wi=vi;null!==X&&0!==Y&&(0===a||a>=Y)&&(!oi||vi>=Y);)Fi(X,Y,vi>=Y),Ei(),zi(),wi=vi;else for(;null!==X&&0!==Y&&(0===a||a>=Y);)Fi(X,Y,!0),Ei();null!==ri&&(mi=0,ni=null);0!==Y&&Ai(X,Y);ri=null;oi=!1;ji=0;xi=null;if(null!==ti)for(a=ti,ti=null,b=0;b<a.length;b++){var c=a[b];try{c._onComplete()}catch(d){pi||(pi=!0,qi=d)}}if(pi)throw a=qi,qi=null,pi=!1,a}function Di(a,b){W?r("253"):void 0;X=a;Y=b;Fi(a,b,!0);Gi(1,null)}function Fi(a,b,c){W?r("245"):void 0;W=!0;if(null===ri||c){var d=a.finishedWork;null!==d?Hi(a,d,b):(a.finishedWork=null,d=a.timeoutHandle,-1!==d&&(a.timeoutHandle=-1,lf(d)),bi(a,!1,c),d=a.finishedWork,null!==d&&Hi(a,d,b))}else d=a.finishedWork,null!==d?Hi(a,d,b):(a.finishedWork=null,d=a.timeoutHandle,-1!==d&&(a.timeoutHandle=-1,lf(d)),bi(a,!0,c),d=a.finishedWork,null!==d&&(ci()?a.finishedWork=d:Hi(a,d,b)));W=!1}function Hi(a,b,c){var d=a.firstBatch;if(null!==d&&d._expirationTime<=c&&(null===ti?ti=[d]:ti.push(d),d._defer)){a.finishedWork=b;a.expirationTime=0;return}a.finishedWork=null;a===xi?ji++:(xi=a,ji=0);Yh=Vh=!0;a.current===b?r("177"):void 0;var e=a.pendingCommitExpirationTime;0===e?r("261"):void 0;a.pendingCommitExpirationTime=0;var f=b.expirationTime,g=b.childExpirationTime,h=0===f||0!==g&&g<f?g:f;a.didError=!1;if(0===h)a.earliestPendingTime=0,a.latestPendingTime=0,a.earliestSuspendedTime=0,a.latestSuspendedTime=0,a.latestPingedTime=0;else{var k=a.latestPendingTime;0!==k&&(k<h?a.earliestPendingTime=a.latestPendingTime=0:a.earliestPendingTime<h&&(a.earliestPendingTime=a.latestPendingTime));var l=a.earliestSuspendedTime;0===l?Mf(a,h):h>a.latestSuspendedTime?(a.earliestSuspendedTime=0,a.latestSuspendedTime=0,a.latestPingedTime=0,Mf(a,h)):h<l&&Mf(a,h)}Nf(0,a);Sh.current=null;if(1<b.effectTag)if(null!==b.lastEffect){b.lastEffect.nextEffect=b;var m=b.firstEffect}else m=b;else m=b.firstEffect;ff=ce;var p=pe();if(qe(p)){if("selectionStart"in p)var v={start:p.selectionStart,end:p.selectionEnd};else a:{var B=p.ownerDocument,w=B&&B.defaultView||window,C=w.getSelection&&w.getSelection();if(C&&0!==C.rangeCount){var u=C.anchorNode,q=C.anchorOffset,A=C.focusNode,fe=C.focusOffset;try{u.nodeType,A.nodeType}catch(db){v=null;break a}var Ib=0,Jc=-1,Kc=-1,Ni=0,Oi=0,t=p,Jb=null;b:for(;;){for(var Lc;;){t!==u||0!==q&&3!==t.nodeType||(Jc=Ib+q);t!==A||0!==fe&&3!==t.nodeType||(Kc=Ib+fe);3===t.nodeType&&(Ib+=t.nodeValue.length);if(null===(Lc=t.firstChild))break;Jb=t;t=Lc}for(;;){if(t===p)break b;Jb===u&&++Ni===q&&(Jc=Ib);Jb===A&&++Oi===fe&&(Kc=Ib);if(null!==(Lc=t.nextSibling))break;t=Jb;Jb=t.parentNode}t=Lc}v=-1===Jc||-1===Kc?null:{start:Jc,end:Kc}}else v=null}var fh=v||{start:0,end:0}}else fh=null;gf={focusedElem:p,selectionRange:fh};ce=!1;for(T=m;null!==T;){var gh=!1,hh=void 0;try{for(;null!==T;){if(256&T.effectTag){var ve=T.alternate;a:{var Qb=T;switch(Qb.tag){case 1:if(256&Qb.effectTag&&null!==ve){var Zi=ve.memoizedProps,$i=ve.memoizedState,Vc=Qb.stateNode;Vc.props=Qb.memoizedProps;Vc.state=Qb.memoizedState;var aj=Vc.getSnapshotBeforeUpdate(Zi,$i);Vc.__reactInternalSnapshotBeforeUpdate=aj}break a;case 3:case 5:case 6:case 4:case 17:break a;default:r("163")}}}T=T.nextEffect}}catch(db){gh=!0,hh=db}gh&&(null===T?r("178"):void 0,Gh(T,hh),null!==T&&(T=T.nextEffect))}for(T=m;null!==T;){var ih=!1,jh=void 0;try{for(;null!==T;){var we=T.effectTag;16&we&&Xe(T.stateNode,"");if(128&we){var kh=T.alternate;if(null!==kh){var Wc=kh.ref;null!==Wc&&("function"===typeof Wc?Wc(null):Wc.current=null)}}switch(14&we){case 2:Kh(T);T.effectTag&=-3;break;case 6:Kh(T);T.effectTag&=-3;Lh(T.alternate,T);break;case 4:Lh(T.alternate,T);break;case 8:var lh=T;Ih(lh);var Rb=lh;Rb.return=null;Rb.child=null;Rb.alternate&&(Rb.alternate.child=null,Rb.alternate.return=null)}T=T.nextEffect}}catch(db){ih=!0,jh=db}ih&&(null===T?r("178"):void 0,Gh(T,jh),null!==T&&(T=T.nextEffect))}var mh=gf,bj=pe(),E=mh.focusedElem,eb=mh.selectionRange;if(bj!==E&&E&&E.ownerDocument&&oe(E.ownerDocument.documentElement,E)){if(null!==eb&&qe(E)){var nh=eb.start,xe=eb.end;void 0===xe&&(xe=nh);if("selectionStart"in E)E.selectionStart=nh,E.selectionEnd=Math.min(xe,E.value.length);else{var ye=E.ownerDocument||document,ba=(ye&&ye.defaultView||window).getSelection(),oh=E.textContent.length,fb=Math.min(eb.start,oh),Sb=void 0===eb.end?fb:Math.min(eb.end,oh);if(!ba.extend&&fb>Sb){var cj=Sb;Sb=fb;fb=cj}var Tb=ne(E,fb),Ja=ne(E,Sb);if(Tb&&Ja&&(1!==ba.rangeCount||ba.anchorNode!==Tb.node||ba.anchorOffset!==Tb.offset||ba.focusNode!==Ja.node||ba.focusOffset!==Ja.offset)){var Xc=ye.createRange();Xc.setStart(Tb.node,Tb.offset);ba.removeAllRanges();fb>Sb?(ba.addRange(Xc),ba.extend(Ja.node,Ja.offset)):(Xc.setEnd(Ja.node,Ja.offset),ba.addRange(Xc))}}}for(var ze=[],gb=E;gb=gb.parentNode;)1===gb.nodeType&&ze.push({element:gb,left:gb.scrollLeft,top:gb.scrollTop});"function"===typeof E.focus&&E.focus();for(var Ae=0;Ae<ze.length;Ae++){var Yc=ze[Ae];Yc.element.scrollLeft=Yc.left;Yc.element.scrollTop=Yc.top}}gf=null;ce=!!ff;ff=null;a.current=b;for(T=m;null!==T;){var ph=!1,qh=void 0;try{for(var dj=e;null!==T;){var rh=T.effectTag;if(36&rh){var Zc=void 0,hb=T.alternate,x=T,sh=dj;switch(x.tag){case 1:var ca=x.stateNode;if(4&x.effectTag)if(null===hb)ca.props=x.memoizedProps,ca.state=x.memoizedState,ca.componentDidMount();else{var ej=hb.memoizedProps,fj=hb.memoizedState;ca.props=x.memoizedProps;ca.state=x.memoizedState;ca.componentDidUpdate(ej,fj,ca.__reactInternalSnapshotBeforeUpdate)}var th=x.updateQueue;null!==th&&(ca.props=x.memoizedProps,ca.state=x.memoizedState,$f(x,th,ca,sh));break;case 3:var uh=x.updateQueue;if(null!==uh){var Be=null;if(null!==x.child)switch(x.child.tag){case 5:Be=x.child.stateNode;break;case 1:Be=x.child.stateNode}$f(x,uh,Be,sh)}break;case 5:var gj=x.stateNode;null===hb&&4&x.effectTag&&hf(x.type,x.memoizedProps)&&gj.focus();break;case 6:case 4:case 12:break;case 13:if(32&x.effectTag){x.memoizedState={alreadyCaptured:!0,didTimeout:!1,timedOutAt:0};xg(x,1);break}var vh=null!==hb?hb.memoizedState:null,Ub=x.memoizedState,hj=null!==vh&&vh.didTimeout,Ce=x;null===Ub?Zc=!1:(Zc=Ub.didTimeout)&&(Ce=x.child,Ub.alreadyCaptured=!1,0===Ub.timedOutAt&&(Ub.timedOutAt=vg()));if(Zc!==hj&&null!==Ce)a:for(var De=Ce,wh=Zc,z=De;;){if(5===z.tag){var ij=z.stateNode;if(wh)ij.style.display="none";else{var jj=z.stateNode,$c=z.memoizedProps.style,kj=void 0!==$c&&null!==$c&&$c.hasOwnProperty("display")?$c.display:null;jj.style.display=kj}}else if(6===z.tag)z.stateNode.nodeValue=wh?"":z.memoizedProps;else if(null!==z.child){z.child.return=z;z=z.child;continue}if(z===De)break a;for(;null===z.sibling;){if(null===z.return||z.return===De)break a;z=z.return}z.sibling.return=z.return;z=z.sibling}break;case 17:break;default:r("163")}}if(128&rh){var ad=T.ref;if(null!==ad){var xh=T.stateNode;switch(T.tag){case 5:var Ee=xh;break;default:Ee=xh}"function"===typeof ad?ad(Ee):ad.current=Ee}}var lj=T.nextEffect;T.nextEffect=null;T=lj}}catch(db){ph=!0,qh=db}ph&&(null===T?r("178"):void 0,Gh(T,qh),null!==T&&(T=T.nextEffect))}Vh=Yh=!1;"function"===typeof zf&&zf(b.stateNode);var Fe=b.expirationTime,Ge=b.childExpirationTime,yh=0===Fe||0!==Ge&&Ge<Fe?Ge:Fe;0===yh&&(Ph=null);a.expirationTime=yh;a.finishedWork=null}function ci(){return!!oi||!(null===ri||ri.timeRemaining()>yi)&&(oi=!0)}function Nh(a){null===X?r("246"):void 0;X.expirationTime=0;pi||(pi=!0,qi=a)}function Ii(a,b){var c=Z;Z=!0;try{return a(b)}finally{(Z=c)||W||Gi(1,null)}}function Ji(a,b){if(Z&&!si){si=!0;try{return a(b)}finally{si=!1}}return a(b)}function Ki(a,b,c){if(fi)return a(b,c);Z||W||0===gi||(Gi(gi,null),gi=0);var d=fi,e=Z;Z=fi=!0;try{return a(b,c)}finally{fi=d,(Z=e)||W||Gi(1,null)}}function Li(a,b,c,d,e){var f=b.current;a:if(c){c=c._reactInternalFiber;b:{2===Gd(c)&&1===c.tag?void 0:r("170");var g=c;do{switch(g.tag){case 3:g=g.stateNode.context;break b;case 1:if(M(g.type)){g=g.stateNode.__reactInternalMemoizedMergedChildContext;break b}}g=g.return}while(null!==g);r("171");g=void 0}if(1===c.tag){var h=c.type;if(M(h)){c=wf(c,h,g);break a}}c=g}else c=qf;null===b.context?b.context=c:b.pendingContext=c;b=e;e=Tf(d);e.payload={element:a};b=void 0===b?null:b;null!==b&&(e.callback=b);Vf(f,e);xg(f,d);return d}function Mi(a,b,c,d){var e=b.current,f=vg();e=wg(f,e);return Li(a,b,c,e,d)}function Pi(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:default:return a.child.stateNode}}function Qi(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:nc,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}}Nb=function(a,b,c){switch(b){case"input":Tc(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Qa(d);e?void 0:r("90");jc(d);Tc(d,e)}}}break;case"textarea":Qe(a,c);break;case"select":b=c.value,null!=b&&Ne(a,!!c.multiple,b,!1)}};function Ri(a){var b=2+25*(1+((vg()-2+500)/25|0));b<=Th&&(b=Th+1);this._expirationTime=Th=b;this._root=a;this._callbacks=this._next=null;this._hasChildren=this._didComplete=!1;this._children=null;this._defer=!0}Ri.prototype.render=function(a){this._defer?void 0:r("250");this._hasChildren=!0;this._children=a;var b=this._root._internalRoot,c=this._expirationTime,d=new Si;Li(a,b,null,c,d._onCommit);return d};Ri.prototype.then=function(a){if(this._didComplete)a();else{var b=this._callbacks;null===b&&(b=this._callbacks=[]);b.push(a)}};Ri.prototype.commit=function(){var a=this._root._internalRoot,b=a.firstBatch;this._defer&&null!==b?void 0:r("251");if(this._hasChildren){var c=this._expirationTime;if(b!==this){this._hasChildren&&(c=this._expirationTime=b._expirationTime,this.render(this._children));for(var d=null,e=b;e!==this;)d=e,e=e._next;null===d?r("251"):void 0;d._next=e._next;this._next=b;a.firstBatch=this}this._defer=!1;Di(a,c);b=this._next;this._next=null;b=a.firstBatch=b;null!==b&&b._hasChildren&&b.render(b._children)}else this._next=null,this._defer=!1};Ri.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var a=this._callbacks;if(null!==a)for(var b=0;b<a.length;b++)(0,a[b])()}};function Si(){this._callbacks=null;this._didCommit=!1;this._onCommit=this._onCommit.bind(this)}Si.prototype.then=function(a){if(this._didCommit)a();else{var b=this._callbacks;null===b&&(b=this._callbacks=[]);b.push(a)}};Si.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var a=this._callbacks;if(null!==a)for(var b=0;b<a.length;b++){var c=a[b];"function"!==typeof c?r("191",c):void 0;c()}}};function Ti(a,b,c){b=N(3,null,null,b?3:0);a={current:b,containerInfo:a,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:c,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null};this._internalRoot=b.stateNode=a}Ti.prototype.render=function(a,b){var c=this._internalRoot,d=new Si;b=void 0===b?null:b;null!==b&&d.then(b);Mi(a,c,null,d._onCommit);return d};Ti.prototype.unmount=function(a){var b=this._internalRoot,c=new Si;a=void 0===a?null:a;null!==a&&c.then(a);Mi(null,b,null,c._onCommit);return c};Ti.prototype.legacy_renderSubtreeIntoContainer=function(a,b,c){var d=this._internalRoot,e=new Si;c=void 0===c?null:c;null!==c&&e.then(c);Mi(b,d,a,e._onCommit);return e};Ti.prototype.createBatch=function(){var a=new Ri(this),b=a._expirationTime,c=this._internalRoot,d=c.firstBatch;if(null===d)c.firstBatch=a,a._next=null;else{for(c=null;null!==d&&d._expirationTime<=b;)c=d,d=d._next;a._next=d;null!==c&&(c._next=a)}return a};function Ui(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}Yb=Ii;Zb=Ki;$b=function(){W||0===gi||(Gi(gi,null),gi=0)};function Vi(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute("data-reactroot")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new Ti(a,!1,b)}function Wi(a,b,c,d,e){Ui(c)?void 0:r("200");var f=c._reactRootContainer;if(f){if("function"===typeof e){var g=e;e=function(){var a=Pi(f._internalRoot);g.call(a)}}null!=a?f.legacy_renderSubtreeIntoContainer(a,b,e):f.render(b,e)}else{f=c._reactRootContainer=Vi(c,d);if("function"===typeof e){var h=e;e=function(){var a=Pi(f._internalRoot);h.call(a)}}Ji(function(){null!=a?f.legacy_renderSubtreeIntoContainer(a,b,e):f.render(b,e)})}return Pi(f._internalRoot)}function Xi(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;Ui(b)?void 0:r("200");return Qi(a,b,null,c)}var Yi={createPortal:Xi,findDOMNode:function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;void 0===b&&("function"===typeof a.render?r("188"):r("268",Object.keys(a)));a=Jd(b);a=null===a?null:a.stateNode;return a},hydrate:function(a,b,c){return Wi(null,a,b,!0,c)},render:function(a,b,c){return Wi(null,a,b,!1,c)},unstable_renderSubtreeIntoContainer:function(a,b,c,d){null==a||void 0===a._reactInternalFiber?r("38"):void 0;return Wi(a,b,c,!1,d)},unmountComponentAtNode:function(a){Ui(a)?void 0:r("40");return!!a._reactRootContainer&&(Ji(function(){Wi(null,null,a,!1,function(){a._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return Xi.apply(void 0,arguments)},unstable_batchedUpdates:Ii,unstable_interactiveUpdates:Ki,flushSync:function(a,b){W?r("187"):void 0;var c=Z;Z=!0;try{return li(a,b)}finally{Z=c,Gi(1,null)}},unstable_flushControlled:function(a){var b=Z;Z=!0;try{li(a)}finally{(Z=b)||W||Gi(1,null)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[Oa,Pa,Qa,Ga.injectEventPluginsByName,sa,Wa,function(a){Ba(a,Va)},Wb,Xb,ee,Ia]},unstable_createRoot:function(a,b){Ui(a)?void 0:r("278");return new Ti(a,!0,null!=b&&!0===b.hydrate)}};(function(a){var b=a.findFiberByHostInstance;return Cf(n({},a,{findHostInstanceByFiber:function(a){a=Jd(a);return null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null}}))})({findFiberByHostInstance:Na,bundleType:0,version:"16.6.0",rendererPackageName:"react-dom"});var mj={default:Yi},nj=mj&&Yi||mj;module.exports=nj.default||nj},function(module,exports,__webpack_require__){"use strict";true;module.exports=__webpack_require__(1029)},function(module,exports,__webpack_require__){"use strict";
/** @license React v16.6.0
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */Object.defineProperty(exports,"__esModule",{value:!0});var c=null,f=3,h=-1,k=-1,l=!1,m=!1,n="object"===typeof performance&&"function"===typeof performance.now,q={timeRemaining:n?function(){if(null!==c&&c.expirationTime<k)return 0;var a=p()-performance.now();return 0<a?a:0}:function(){if(null!==c&&c.expirationTime<k)return 0;var a=p()-Date.now();return 0<a?a:0},didTimeout:!1};function r(){if(!l){var a=c.expirationTime;m?t():m=!0;u(v,a)}}function w(){var a=c,b=c.next;if(c===b)c=null;else{var d=c.previous;c=d.next=b;b.previous=d}a.next=a.previous=null;d=a.callback;b=a.expirationTime;a=a.priorityLevel;var e=f,R=k;f=a;k=b;try{var g=d(q)}finally{f=e,k=R}if("function"===typeof g)if(g={callback:g,priorityLevel:a,expirationTime:b,next:null,previous:null},null===c)c=g.next=g.previous=g;else{d=null;a=c;do{if(a.expirationTime>=b){d=a;break}a=a.next}while(a!==c);null===d?d=c:d===c&&(c=g,r());b=d.previous;b.next=d.previous=g;g.next=d;g.previous=b}}function x(){if(-1===h&&null!==c&&1===c.priorityLevel){l=!0;q.didTimeout=!0;try{do{w()}while(null!==c&&1===c.priorityLevel)}finally{l=!1,null!==c?r():m=!1}}}function v(a){l=!0;q.didTimeout=a;try{if(a)for(;null!==c;){var b=exports.unstable_now();if(!(c.expirationTime<=b))break;do{w()}while(null!==c&&c.expirationTime<=b)}else if(null!==c)do{w()}while(null!==c&&0<p()-exports.unstable_now())}finally{l=!1,null!==c?r():m=!1,x()}}var D,E,y=Date,z="function"===typeof setTimeout?setTimeout:void 0,A="function"===typeof clearTimeout?clearTimeout:void 0,B="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,C="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function F(a){D=B(function(b){A(E);a(b)});E=z(function(){C(D);a(exports.unstable_now())},100)}if(n){var G=performance;exports.unstable_now=function(){return G.now()}}else exports.unstable_now=function(){return y.now()};var u,t,p;if("undefined"!==typeof window&&window._schedMock){var H=window._schedMock;u=H[0];t=H[1];p=H[2]}else if("undefined"===typeof window||"function"!==typeof window.addEventListener){var I=null,J=-1,K=function(a,b){if(null!==I){var d=I;I=null;try{J=b,d(a)}finally{J=-1}}};u=function(a,b){-1!==J?setTimeout(u,0,a,b):(I=a,setTimeout(K,b,!0,b),setTimeout(K,1073741823,!1,1073741823))};t=function(){I=null};p=function(){return Infinity};exports.unstable_now=function(){return-1===J?0:J}}else{"undefined"!==typeof console&&("function"!==typeof B&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof C&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var L=null,M=!1,N=-1,O=!1,P=!1,Q=0,S=33,T=33;p=function(){return Q};var U="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(a){if(a.source===window&&a.data===U){M=!1;a=L;var b=N;L=null;N=-1;var d=exports.unstable_now(),e=!1;if(0>=Q-d){if(!(-1!==b&&b<=d)){O||(O=!0,F(V));L=a;N=b;return}e=!0}if(null!==a){P=!0;try{a(e)}finally{P=!1}}}},!1);var V=function(a){if(null!==L){F(V);var b=a-Q+T;b<T&&S<T?(8>b&&(b=8),T=b<S?S:b):S=b;Q=a+T;M||(M=!0,window.postMessage(U,"*"))}else O=!1};u=function(a,b){L=a;N=b;P||0>b?window.postMessage(U,"*"):O||(O=!0,F(V))};t=function(){L=null;M=!1;N=-1}}exports.unstable_ImmediatePriority=1;exports.unstable_UserBlockingPriority=2;exports.unstable_NormalPriority=3;exports.unstable_IdlePriority=4;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:break;default:a=3}var d=f,e=h;f=a;h=exports.unstable_now();try{return b()}finally{f=d,h=e,x()}};exports.unstable_scheduleCallback=function(a,b){var d=-1!==h?h:exports.unstable_now();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=d+b.timeout;else switch(f){case 1:b=d+-1;break;case 2:b=d+250;break;case 4:b=d+1073741823;break;default:b=d+5e3}a={callback:a,priorityLevel:f,expirationTime:b,next:null,previous:null};if(null===c)c=a.next=a.previous=a,r();else{d=null;var e=c;do{if(e.expirationTime>b){d=e;break}e=e.next}while(e!==c);null===d?d=c:d===c&&(c=a,r());b=d.previous;b.next=d.previous=a;a.next=d;a.previous=b}return a};exports.unstable_cancelCallback=function(a){var b=a.next;if(null!==b){if(b===a)c=null;else{a===c&&(c=b);var d=a.previous;d.next=b;b.previous=d}a.next=a.previous=null}};exports.unstable_wrapCallback=function(a){var b=f;return function(){var d=f,e=h;f=b;h=exports.unstable_now();try{return a.apply(this,arguments)}finally{f=d,h=e,x()}}};exports.unstable_getCurrentPriorityLevel=function(){return f}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiAccordion",{enumerable:true,get:function get(){return _accordion.EuiAccordion}});Object.defineProperty(exports,"EuiAvatar",{enumerable:true,get:function get(){return _avatar.EuiAvatar}});Object.defineProperty(exports,"EuiKeyboardAccessible",{enumerable:true,get:function get(){return _accessibility.EuiKeyboardAccessible}});Object.defineProperty(exports,"EuiScreenReaderOnly",{enumerable:true,get:function get(){return _accessibility.EuiScreenReaderOnly}});Object.defineProperty(exports,"EuiBadge",{enumerable:true,get:function get(){return _badge.EuiBadge}});Object.defineProperty(exports,"EuiBetaBadge",{enumerable:true,get:function get(){return _badge.EuiBetaBadge}});Object.defineProperty(exports,"EuiNotificationBadge",{enumerable:true,get:function get(){return _badge.EuiNotificationBadge}});Object.defineProperty(exports,"EuiBottomBar",{enumerable:true,get:function get(){return _bottom_bar.EuiBottomBar}});Object.defineProperty(exports,"EuiBreadcrumbs",{enumerable:true,get:function get(){return _breadcrumbs.EuiBreadcrumbs}});Object.defineProperty(exports,"EuiButton",{enumerable:true,get:function get(){return _button.EuiButton}});Object.defineProperty(exports,"EuiButtonEmpty",{enumerable:true,get:function get(){return _button.EuiButtonEmpty}});Object.defineProperty(exports,"EuiButtonIcon",{enumerable:true,get:function get(){return _button.EuiButtonIcon}});Object.defineProperty(exports,"EuiButtonToggle",{enumerable:true,get:function get(){return _button.EuiButtonToggle}});Object.defineProperty(exports,"EuiButtonGroup",{enumerable:true,get:function get(){return _button.EuiButtonGroup}});Object.defineProperty(exports,"EuiCallOut",{enumerable:true,get:function get(){return _call_out.EuiCallOut}});Object.defineProperty(exports,"EuiCard",{enumerable:true,get:function get(){return _card.EuiCard}});Object.defineProperty(exports,"EuiCardGraphic",{enumerable:true,get:function get(){return _card.EuiCardGraphic}});Object.defineProperty(exports,"EuiCode",{enumerable:true,get:function get(){return _code.EuiCode}});Object.defineProperty(exports,"EuiCodeBlock",{enumerable:true,get:function get(){return _code.EuiCodeBlock}});Object.defineProperty(exports,"EuiCodeBlockImpl",{enumerable:true,get:function get(){return _code.EuiCodeBlockImpl}});Object.defineProperty(exports,"EuiCodeEditor",{enumerable:true,get:function get(){return _code_editor.EuiCodeEditor}});Object.defineProperty(exports,"EuiColorPicker",{enumerable:true,get:function get(){return _color_picker.EuiColorPicker}});Object.defineProperty(exports,"EuiComboBox",{enumerable:true,get:function get(){return _combo_box.EuiComboBox}});Object.defineProperty(exports,"EuiContext",{enumerable:true,get:function get(){return _context.EuiContext}});Object.defineProperty(exports,"EuiI18nConsumer",{enumerable:true,get:function get(){return _context.EuiI18nConsumer}});Object.defineProperty(exports,"EuiContextMenu",{enumerable:true,get:function get(){return _context_menu.EuiContextMenu}});Object.defineProperty(exports,"EuiContextMenuPanel",{enumerable:true,get:function get(){return _context_menu.EuiContextMenuPanel}});Object.defineProperty(exports,"EuiContextMenuItem",{enumerable:true,get:function get(){return _context_menu.EuiContextMenuItem}});Object.defineProperty(exports,"EuiCopy",{enumerable:true,get:function get(){return _copy.EuiCopy}});Object.defineProperty(exports,"EuiDatePicker",{enumerable:true,get:function get(){return _date_picker.EuiDatePicker}});Object.defineProperty(exports,"EuiDatePickerRange",{enumerable:true,get:function get(){return _date_picker.EuiDatePickerRange}});Object.defineProperty(exports,"EuiSuperDatePicker",{enumerable:true,get:function get(){return _date_picker.EuiSuperDatePicker}});Object.defineProperty(exports,"EuiSuperUpdateButton",{enumerable:true,get:function get(){return _date_picker.EuiSuperUpdateButton}});Object.defineProperty(exports,"EuiDelayHide",{enumerable:true,get:function get(){return _delay_hide.EuiDelayHide}});Object.defineProperty(exports,"EuiDescriptionList",{enumerable:true,get:function get(){return _description_list.EuiDescriptionList}});Object.defineProperty(exports,"EuiDescriptionListTitle",{enumerable:true,get:function get(){return _description_list.EuiDescriptionListTitle}});Object.defineProperty(exports,"EuiDescriptionListDescription",{enumerable:true,get:function get(){return _description_list.EuiDescriptionListDescription}});Object.defineProperty(exports,"EuiEmptyPrompt",{enumerable:true,get:function get(){return _empty_prompt.EuiEmptyPrompt}});Object.defineProperty(exports,"EuiErrorBoundary",{enumerable:true,get:function get(){return _error_boundary.EuiErrorBoundary}});Object.defineProperty(exports,"EuiExpression",{enumerable:true,get:function get(){return _expression.EuiExpression}});Object.defineProperty(exports,"EuiFilterButton",{enumerable:true,get:function get(){return _filter_group.EuiFilterButton}});Object.defineProperty(exports,"EuiFilterGroup",{enumerable:true,get:function get(){return _filter_group.EuiFilterGroup}});Object.defineProperty(exports,"EuiFilterSelectItem",{enumerable:true,get:function get(){return _filter_group.EuiFilterSelectItem}});Object.defineProperty(exports,"EuiFacetButton",{enumerable:true,get:function get(){return _facet.EuiFacetButton}});Object.defineProperty(exports,"EuiFacetGroup",{enumerable:true,get:function get(){return _facet.EuiFacetGroup}});Object.defineProperty(exports,"EuiFlexGroup",{enumerable:true,get:function get(){return _flex.EuiFlexGroup}});Object.defineProperty(exports,"EuiFlexGrid",{enumerable:true,get:function get(){return _flex.EuiFlexGrid}});Object.defineProperty(exports,"EuiFlexItem",{enumerable:true,get:function get(){return _flex.EuiFlexItem}});Object.defineProperty(exports,"EuiFlyout",{enumerable:true,get:function get(){return _flyout.EuiFlyout}});Object.defineProperty(exports,"EuiFlyoutBody",{enumerable:true,get:function get(){return _flyout.EuiFlyoutBody}});Object.defineProperty(exports,"EuiFlyoutFooter",{enumerable:true,get:function get(){return _flyout.EuiFlyoutFooter}});Object.defineProperty(exports,"EuiFlyoutHeader",{enumerable:true,get:function get(){return _flyout.EuiFlyoutHeader}});Object.defineProperty(exports,"EuiCheckbox",{enumerable:true,get:function get(){return _form.EuiCheckbox}});Object.defineProperty(exports,"EuiCheckboxGroup",{enumerable:true,get:function get(){return _form.EuiCheckboxGroup}});Object.defineProperty(exports,"EuiDescribedFormGroup",{enumerable:true,get:function get(){return _form.EuiDescribedFormGroup}});Object.defineProperty(exports,"EuiFieldNumber",{enumerable:true,get:function get(){return _form.EuiFieldNumber}});Object.defineProperty(exports,"EuiFieldPassword",{enumerable:true,get:function get(){return _form.EuiFieldPassword}});Object.defineProperty(exports,"EuiFieldSearch",{enumerable:true,get:function get(){return _form.EuiFieldSearch}});Object.defineProperty(exports,"EuiFieldText",{enumerable:true,get:function get(){return _form.EuiFieldText}});Object.defineProperty(exports,"EuiFilePicker",{enumerable:true,get:function get(){return _form.EuiFilePicker}});Object.defineProperty(exports,"EuiForm",{enumerable:true,get:function get(){return _form.EuiForm}});Object.defineProperty(exports,"EuiFormControlLayout",{enumerable:true,get:function get(){return _form.EuiFormControlLayout}});Object.defineProperty(exports,"EuiFormErrorText",{enumerable:true,get:function get(){return _form.EuiFormErrorText}});Object.defineProperty(exports,"EuiFormHelpText",{enumerable:true,get:function get(){return _form.EuiFormHelpText}});Object.defineProperty(exports,"EuiFormLabel",{enumerable:true,get:function get(){return _form.EuiFormLabel}});Object.defineProperty(exports,"EuiFormRow",{enumerable:true,get:function get(){return _form.EuiFormRow}});Object.defineProperty(exports,"EuiRadio",{enumerable:true,get:function get(){return _form.EuiRadio}});Object.defineProperty(exports,"EuiRadioGroup",{enumerable:true,get:function get(){return _form.EuiRadioGroup}});Object.defineProperty(exports,"EuiRange",{enumerable:true,get:function get(){return _form.EuiRange}});Object.defineProperty(exports,"EuiSelect",{enumerable:true,get:function get(){return _form.EuiSelect}});Object.defineProperty(exports,"EuiSuperSelect",{enumerable:true,get:function get(){return _form.EuiSuperSelect}});Object.defineProperty(exports,"EuiSuperSelectControl",{enumerable:true,get:function get(){return _form.EuiSuperSelectControl}});Object.defineProperty(exports,"EuiSwitch",{enumerable:true,get:function get(){return _form.EuiSwitch}});Object.defineProperty(exports,"EuiTextArea",{enumerable:true,get:function get(){return _form.EuiTextArea}});Object.defineProperty(exports,"EuiValidatableControl",{enumerable:true,get:function get(){return _form.EuiValidatableControl}});Object.defineProperty(exports,"EuiHeader",{enumerable:true,get:function get(){return _header.EuiHeader}});Object.defineProperty(exports,"EuiHeaderAlert",{enumerable:true,get:function get(){return _header.EuiHeaderAlert}});Object.defineProperty(exports,"EuiHeaderBreadcrumbs",{enumerable:true,get:function get(){return _header.EuiHeaderBreadcrumbs}});Object.defineProperty(exports,"EuiHeaderLink",{enumerable:true,get:function get(){return _header.EuiHeaderLink}});Object.defineProperty(exports,"EuiHeaderLinks",{enumerable:true,get:function get(){return _header.EuiHeaderLinks}});Object.defineProperty(exports,"EuiHeaderLogo",{enumerable:true,get:function get(){return _header.EuiHeaderLogo}});Object.defineProperty(exports,"EuiHeaderSection",{enumerable:true,get:function get(){return _header.EuiHeaderSection}});Object.defineProperty(exports,"EuiHeaderSectionItem",{enumerable:true,get:function get(){return _header.EuiHeaderSectionItem}});Object.defineProperty(exports,"EuiHeaderSectionItemButton",{enumerable:true,get:function get(){return _header.EuiHeaderSectionItemButton}});Object.defineProperty(exports,"EuiHealth",{enumerable:true,get:function get(){return _health.EuiHealth}});Object.defineProperty(exports,"EuiHighlight",{enumerable:true,get:function get(){return _highlight.EuiHighlight}});Object.defineProperty(exports,"EuiHorizontalRule",{enumerable:true,get:function get(){return _horizontal_rule.EuiHorizontalRule}});Object.defineProperty(exports,"ICON_TYPES",{enumerable:true,get:function get(){return _icon.ICON_TYPES}});Object.defineProperty(exports,"EuiIcon",{enumerable:true,get:function get(){return _icon.EuiIcon}});Object.defineProperty(exports,"EuiImage",{enumerable:true,get:function get(){return _image.EuiImage}});Object.defineProperty(exports,"EuiI18n",{enumerable:true,get:function get(){return _i18n.EuiI18n}});Object.defineProperty(exports,"EuiI18nNumber",{enumerable:true,get:function get(){return _i18n.EuiI18nNumber}});Object.defineProperty(exports,"EuiLoadingKibana",{enumerable:true,get:function get(){return _loading.EuiLoadingKibana}});Object.defineProperty(exports,"EuiLoadingChart",{enumerable:true,get:function get(){return _loading.EuiLoadingChart}});Object.defineProperty(exports,"EuiLoadingSpinner",{enumerable:true,get:function get(){return _loading.EuiLoadingSpinner}});Object.defineProperty(exports,"EuiKeyPadMenu",{enumerable:true,get:function get(){return _key_pad_menu.EuiKeyPadMenu}});Object.defineProperty(exports,"EuiKeyPadMenuItem",{enumerable:true,get:function get(){return _key_pad_menu.EuiKeyPadMenuItem}});Object.defineProperty(exports,"EuiKeyPadMenuItemButton",{enumerable:true,get:function get(){return _key_pad_menu.EuiKeyPadMenuItemButton}});Object.defineProperty(exports,"EuiLink",{enumerable:true,get:function get(){return _link.EuiLink}});Object.defineProperty(exports,"EuiListGroup",{enumerable:true,get:function get(){return _list_group.EuiListGroup}});Object.defineProperty(exports,"EuiListGroupItem",{enumerable:true,get:function get(){return _list_group.EuiListGroupItem}});Object.defineProperty(exports,"EUI_MODAL_CANCEL_BUTTON",{enumerable:true,get:function get(){return _modal.EUI_MODAL_CANCEL_BUTTON}});Object.defineProperty(exports,"EUI_MODAL_CONFIRM_BUTTON",{enumerable:true,get:function get(){return _modal.EUI_MODAL_CONFIRM_BUTTON}});Object.defineProperty(exports,"EuiConfirmModal",{enumerable:true,get:function get(){return _modal.EuiConfirmModal}});Object.defineProperty(exports,"EuiModal",{enumerable:true,get:function get(){return _modal.EuiModal}});Object.defineProperty(exports,"EuiModalBody",{enumerable:true,get:function get(){return _modal.EuiModalBody}});Object.defineProperty(exports,"EuiModalFooter",{enumerable:true,get:function get(){return _modal.EuiModalFooter}});Object.defineProperty(exports,"EuiModalHeader",{enumerable:true,get:function get(){return _modal.EuiModalHeader}});Object.defineProperty(exports,"EuiModalHeaderTitle",{enumerable:true,get:function get(){return _modal.EuiModalHeaderTitle}});Object.defineProperty(exports,"EuiMutationObserver",{enumerable:true,get:function get(){return _mutation_observer.EuiMutationObserver}});Object.defineProperty(exports,"EuiNavDrawer",{enumerable:true,get:function get(){return _nav_drawer.EuiNavDrawer}});Object.defineProperty(exports,"EuiNavDrawerGroup",{enumerable:true,get:function get(){return _nav_drawer.EuiNavDrawerGroup}});Object.defineProperty(exports,"EuiNavDrawerFlyout",{enumerable:true,get:function get(){return _nav_drawer.EuiNavDrawerFlyout}});Object.defineProperty(exports,"EuiOutsideClickDetector",{enumerable:true,get:function get(){return _outside_click_detector.EuiOutsideClickDetector}});Object.defineProperty(exports,"EuiOverlayMask",{enumerable:true,get:function get(){return _overlay_mask.EuiOverlayMask}});Object.defineProperty(exports,"EuiPage",{enumerable:true,get:function get(){return _page.EuiPage}});Object.defineProperty(exports,"EuiPageBody",{enumerable:true,get:function get(){return _page.EuiPageBody}});Object.defineProperty(exports,"EuiPageContent",{enumerable:true,get:function get(){return _page.EuiPageContent}});Object.defineProperty(exports,"EuiPageContentBody",{enumerable:true,get:function get(){return _page.EuiPageContentBody}});Object.defineProperty(exports,"EuiPageContentHeader",{enumerable:true,get:function get(){return _page.EuiPageContentHeader}});Object.defineProperty(exports,"EuiPageContentHeaderSection",{enumerable:true,get:function get(){return _page.EuiPageContentHeaderSection}});Object.defineProperty(exports,"EuiPageHeader",{enumerable:true,get:function get(){return _page.EuiPageHeader}});Object.defineProperty(exports,"EuiPageHeaderSection",{enumerable:true,get:function get(){return _page.EuiPageHeaderSection}});Object.defineProperty(exports,"EuiPageSideBar",{enumerable:true,get:function get(){return _page.EuiPageSideBar}});Object.defineProperty(exports,"EuiPagination",{enumerable:true,get:function get(){return _pagination.EuiPagination}});Object.defineProperty(exports,"EuiPaginationButton",{enumerable:true,get:function get(){return _pagination.EuiPaginationButton}});Object.defineProperty(exports,"EuiPanel",{enumerable:true,get:function get(){return _panel.EuiPanel}});Object.defineProperty(exports,"EuiPopover",{enumerable:true,get:function get(){return _popover.EuiPopover}});Object.defineProperty(exports,"EuiPopoverTitle",{enumerable:true,get:function get(){return _popover.EuiPopoverTitle}});Object.defineProperty(exports,"EuiWrappingPopover",{enumerable:true,get:function get(){return _popover.EuiWrappingPopover}});Object.defineProperty(exports,"EuiPortal",{enumerable:true,get:function get(){return _portal.EuiPortal}});Object.defineProperty(exports,"EuiProgress",{enumerable:true,get:function get(){return _progress.EuiProgress}});Object.defineProperty(exports,"EuiSearchBar",{enumerable:true,get:function get(){return _search_bar.EuiSearchBar}});Object.defineProperty(exports,"Query",{enumerable:true,get:function get(){return _search_bar.Query}});Object.defineProperty(exports,"Ast",{enumerable:true,get:function get(){return _search_bar.Ast}});Object.defineProperty(exports,"EuiSideNav",{enumerable:true,get:function get(){return _side_nav.EuiSideNav}});Object.defineProperty(exports,"EuiSpacer",{enumerable:true,get:function get(){return _spacer.EuiSpacer}});Object.defineProperty(exports,"EuiStat",{enumerable:true,get:function get(){return _stat.EuiStat}});Object.defineProperty(exports,"EuiStep",{enumerable:true,get:function get(){return _steps.EuiStep}});Object.defineProperty(exports,"EuiSteps",{enumerable:true,get:function get(){return _steps.EuiSteps}});Object.defineProperty(exports,"EuiSubSteps",{enumerable:true,get:function get(){return _steps.EuiSubSteps}});Object.defineProperty(exports,"EuiStepsHorizontal",{enumerable:true,get:function get(){return _steps.EuiStepsHorizontal}});Object.defineProperty(exports,"EuiTable",{enumerable:true,get:function get(){return _table.EuiTable}});Object.defineProperty(exports,"EuiTableBody",{enumerable:true,get:function get(){return _table.EuiTableBody}});Object.defineProperty(exports,"EuiTableFooter",{enumerable:true,get:function get(){return _table.EuiTableFooter}});Object.defineProperty(exports,"EuiTableFooterCell",{enumerable:true,get:function get(){return _table.EuiTableFooterCell}});Object.defineProperty(exports,"EuiTableHeader",{enumerable:true,get:function get(){return _table.EuiTableHeader}});Object.defineProperty(exports,"EuiTableHeaderButton",{enumerable:true,get:function get(){return _table.EuiTableHeaderButton}});Object.defineProperty(exports,"EuiTableHeaderCell",{enumerable:true,get:function get(){return _table.EuiTableHeaderCell}});Object.defineProperty(exports,"EuiTableHeaderCellCheckbox",{enumerable:true,get:function get(){return _table.EuiTableHeaderCellCheckbox}});Object.defineProperty(exports,"EuiTablePagination",{enumerable:true,get:function get(){return _table.EuiTablePagination}});Object.defineProperty(exports,"EuiTableRow",{enumerable:true,get:function get(){return _table.EuiTableRow}});Object.defineProperty(exports,"EuiTableRowCell",{enumerable:true,get:function get(){return _table.EuiTableRowCell}});Object.defineProperty(exports,"EuiTableRowCellCheckbox",{enumerable:true,get:function get(){return _table.EuiTableRowCellCheckbox}});Object.defineProperty(exports,"EuiTableHeaderMobile",{enumerable:true,get:function get(){return _table.EuiTableHeaderMobile}});Object.defineProperty(exports,"EuiTableSortMobile",{enumerable:true,get:function get(){return _table.EuiTableSortMobile}});Object.defineProperty(exports,"EuiTableSortMobileItem",{enumerable:true,get:function get(){return _table.EuiTableSortMobileItem}});Object.defineProperty(exports,"EuiToken",{enumerable:true,get:function get(){return _token.EuiToken}});Object.defineProperty(exports,"EuiBasicTable",{enumerable:true,get:function get(){return _basic_table.EuiBasicTable}});Object.defineProperty(exports,"EuiInMemoryTable",{enumerable:true,get:function get(){return _basic_table.EuiInMemoryTable}});Object.defineProperty(exports,"EuiTab",{enumerable:true,get:function get(){return _tabs.EuiTab}});Object.defineProperty(exports,"EuiTabs",{enumerable:true,get:function get(){return _tabs.EuiTabs}});Object.defineProperty(exports,"EuiTabbedContent",{enumerable:true,get:function get(){return _tabs.EuiTabbedContent}});Object.defineProperty(exports,"EuiText",{enumerable:true,get:function get(){return _text.EuiText}});Object.defineProperty(exports,"EuiTextColor",{enumerable:true,get:function get(){return _text.EuiTextColor}});Object.defineProperty(exports,"EuiTextAlign",{enumerable:true,get:function get(){return _text.EuiTextAlign}});Object.defineProperty(exports,"EuiTitle",{enumerable:true,get:function get(){return _title.EuiTitle}});Object.defineProperty(exports,"EuiGlobalToastList",{enumerable:true,get:function get(){return _toast.EuiGlobalToastList}});Object.defineProperty(exports,"EuiGlobalToastListItem",{enumerable:true,get:function get(){return _toast.EuiGlobalToastListItem}});Object.defineProperty(exports,"EuiToast",{enumerable:true,get:function get(){return _toast.EuiToast}});Object.defineProperty(exports,"EuiToggle",{enumerable:true,get:function get(){return _toggle.EuiToggle}});Object.defineProperty(exports,"EuiIconTip",{enumerable:true,get:function get(){return _tool_tip.EuiIconTip}});Object.defineProperty(exports,"EuiToolTip",{enumerable:true,get:function get(){return _tool_tip.EuiToolTip}});Object.defineProperty(exports,"EuiHideFor",{enumerable:true,get:function get(){return _responsive.EuiHideFor}});Object.defineProperty(exports,"EuiShowFor",{enumerable:true,get:function get(){return _responsive.EuiShowFor}});var _accordion=__webpack_require__(1031);var _avatar=__webpack_require__(1038);var _accessibility=__webpack_require__(73);var _badge=__webpack_require__(384);var _bottom_bar=__webpack_require__(1090);var _breadcrumbs=__webpack_require__(588);var _button=__webpack_require__(43);var _call_out=__webpack_require__(594);var _card=__webpack_require__(1110);var _code=__webpack_require__(598);var _code_editor=__webpack_require__(1294);var _color_picker=__webpack_require__(1303);var _combo_box=__webpack_require__(1550);var _context=__webpack_require__(385);var _context_menu=__webpack_require__(187);var _copy=__webpack_require__(1708);var _date_picker=__webpack_require__(1710);var _delay_hide=__webpack_require__(1727);var _description_list=__webpack_require__(1729);var _empty_prompt=__webpack_require__(715);var _error_boundary=__webpack_require__(705);var _expression=__webpack_require__(1732);var _filter_group=__webpack_require__(190);var _facet=__webpack_require__(1737);var _flex=__webpack_require__(54);var _flyout=__webpack_require__(1740);var _form=__webpack_require__(157);var _header=__webpack_require__(1745);var _health=__webpack_require__(1758);var _highlight=__webpack_require__(702);var _horizontal_rule=__webpack_require__(316);var _icon=__webpack_require__(20);var _image=__webpack_require__(1760);var _i18n=__webpack_require__(30);var _loading=__webpack_require__(183);var _key_pad_menu=__webpack_require__(1762);var _link=__webpack_require__(284);var _list_group=__webpack_require__(717);var _modal=__webpack_require__(1765);var _mutation_observer=__webpack_require__(281);var _nav_drawer=__webpack_require__(1767);var _outside_click_detector=__webpack_require__(303);var _overlay_mask=__webpack_require__(286);var _page=__webpack_require__(1769);var _pagination=__webpack_require__(726);var _panel=__webpack_require__(414);var _popover=__webpack_require__(115);var _portal=__webpack_require__(182);var _progress=__webpack_require__(1784);var _search_bar=__webpack_require__(728);var _side_nav=__webpack_require__(1812);var _spacer=__webpack_require__(161);var _stat=__webpack_require__(1815);var _steps=__webpack_require__(1817);var _table=__webpack_require__(736);var _token=__webpack_require__(1825);var _basic_table=__webpack_require__(1828);var _tabs=__webpack_require__(710);var _text=__webpack_require__(74);var _title=__webpack_require__(113);var _toast=__webpack_require__(1835);var _toggle=__webpack_require__(387);var _tool_tip=__webpack_require__(112);var _responsive=__webpack_require__(1839)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiAccordion",{enumerable:true,get:function get(){return _accordion.EuiAccordion}});var _accordion=__webpack_require__(1032)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiAccordion=exports.PADDING_SIZES=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(9);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _icon=__webpack_require__(20);var _flex=__webpack_require__(54);var _mutation_observer=__webpack_require__(281);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var paddingSizeToClassNameMap={none:null,xs:"euiAccordion__padding--xs",s:"euiAccordion__padding--s",m:"euiAccordion__padding--m",l:"euiAccordion__padding--l",xl:"euiAccordion__padding--xl"};var PADDING_SIZES=Object.keys(paddingSizeToClassNameMap);exports.PADDING_SIZES=PADDING_SIZES;var EuiAccordion=function(_Component){_inherits(EuiAccordion,_Component);function EuiAccordion(props){var _this;_classCallCheck(this,EuiAccordion);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiAccordion).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setChildContentHeight",function(){requestAnimationFrame(function(){var height=_this.childContent&&_this.state.isOpen?_this.childContent.clientHeight:0;_this.childWrapper&&_this.childWrapper.setAttribute("style","height: ".concat(height,"px"))})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setChildContentRef",function(node){_this.childContent=node});_this.state={isOpen:props.initialIsOpen};_this.onToggle=_this.onToggle.bind(_assertThisInitialized(_assertThisInitialized(_this)));return _this}_createClass(EuiAccordion,[{key:"componentDidMount",value:function componentDidMount(){this.setChildContentHeight()}},{key:"componentDidUpdate",value:function componentDidUpdate(){this.setChildContentHeight()}},{key:"onToggle",value:function onToggle(){this.setState(function(prevState){return{isOpen:!prevState.isOpen}})}},{key:"render",value:function render(){var _this2=this;var _this$props=this.props,children=_this$props.children,buttonContent=_this$props.buttonContent,className=_this$props.className,id=_this$props.id,buttonClassName=_this$props.buttonClassName,buttonContentClassName=_this$props.buttonContentClassName,extraAction=_this$props.extraAction,paddingSize=_this$props.paddingSize,rest=(_this$props.initialIsOpen,_objectWithoutProperties(_this$props,["children","buttonContent","className","id","buttonClassName","buttonContentClassName","extraAction","paddingSize","initialIsOpen"]));var classes=(0,_classnames.default)("euiAccordion",{"euiAccordion-isOpen":this.state.isOpen},className);var paddingClass=(0,_classnames.default)(paddingSizeToClassNameMap[paddingSize]);var buttonClasses=(0,_classnames.default)("euiAccordion__button",buttonClassName);var buttonContentClasses=(0,_classnames.default)("euiAccordion__buttonContent",buttonContentClassName);var icon=_react.default.createElement(_icon.EuiIcon,{type:this.state.isOpen?"arrowDown":"arrowRight",size:"m"});var optionalAction=null;extraAction&&(optionalAction=_react.default.createElement(_flex.EuiFlexItem,{grow:false},extraAction));return _react.default.createElement("div",_extends({className:classes},rest),_react.default.createElement(_flex.EuiFlexGroup,{gutterSize:"none",alignItems:"center"},_react.default.createElement(_flex.EuiFlexItem,null,_react.default.createElement("button",{"aria-controls":id,"aria-expanded":!!this.state.isOpen,onClick:this.onToggle,className:buttonClasses,type:"button"},_react.default.createElement(_flex.EuiFlexGroup,{gutterSize:"s",alignItems:"center",responsive:false},_react.default.createElement(_flex.EuiFlexItem,{grow:false,className:"euiAccordion__iconWrapper"},icon),_react.default.createElement(_flex.EuiFlexItem,{className:buttonContentClasses},buttonContent)))),optionalAction),_react.default.createElement("div",{className:"euiAccordion__childWrapper",ref:function ref(node){_this2.childWrapper=node},id:id},_react.default.createElement(_mutation_observer.EuiMutationObserver,{observerOptions:{childList:true,subtree:true},onMutation:this.setChildContentHeight},function(mutationRef){return _react.default.createElement("div",{ref:function ref(_ref){_this2.setChildContentRef(_ref);mutationRef(_ref)}},_react.default.createElement("div",{className:paddingClass},children))})))}}]);return EuiAccordion}(_react.Component);exports.EuiAccordion=EuiAccordion;EuiAccordion.propTypes={children:_propTypes.default.node,id:_propTypes.default.string.isRequired,className:_propTypes.default.string,buttonContentClassName:_propTypes.default.string,buttonContent:_propTypes.default.node,extraAction:_propTypes.default.node,initialIsOpen:_propTypes.default.bool,paddingSize:_propTypes.default.oneOf(PADDING_SIZES)};EuiAccordion.defaultProps={initialIsOpen:false,paddingSize:"none"};EuiAccordion.__docgenInfo={description:"",methods:[{name:"setChildContentHeight",docblock:null,modifiers:[],params:[],returns:null},{name:"onToggle",docblock:null,modifiers:[],params:[],returns:null},{name:"setChildContentRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null}],displayName:"EuiAccordion",props:{initialIsOpen:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"The accordion will start in the open state."},paddingSize:{defaultValue:{value:"'none'",computed:false},type:{name:"enum",value:[{value:'"none"',computed:false},{value:'"xs"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false},{value:'"xl"',computed:false}]},required:false,description:"The padding around the exposed accordion content."},children:{type:{name:"node"},required:false,description:"The content of the exposed accordion."},id:{type:{name:"string"},required:true,description:""},className:{type:{name:"string"},required:false,description:"Class that will apply to the entire accordion."},buttonContentClassName:{type:{name:"string"},required:false,description:"Class that will apply to the trigger for the accordion."},buttonContent:{type:{name:"node"},required:false,description:"The content of the clickable trigger"},extraAction:{type:{name:"node"},required:false,description:"Will appear right aligned against the button. Useful for separate actions like deletions."}}}},function(module,exports,__webpack_require__){var getKeys=__webpack_require__(150);var gOPS=__webpack_require__(375);var pIE=__webpack_require__(227);module.exports=function(it){var result=getKeys(it);var getSymbols=gOPS.f;if(getSymbols){var symbols=getSymbols(it);var isEnum=pIE.f;var i=0;var key;while(symbols.length>i)isEnum.call(it,key=symbols[i++])&&result.push(key)}return result}},function(module,exports,__webpack_require__){var toIObject=__webpack_require__(146);var gOPN=__webpack_require__(278).f;var toString={}.toString;var windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];var getWindowNames=function(it){try{return gOPN(it)}catch(e){return windowNames.slice()}};module.exports.f=function getOwnPropertyNames(it){return windowNames&&"[object Window]"==toString.call(it)?getWindowNames(it):gOPN(toIObject(it))}},function(module,exports,__webpack_require__){"use strict";var getKeys=__webpack_require__(150);var gOPS=__webpack_require__(375);var pIE=__webpack_require__(227);var toObject=__webpack_require__(151);var IObject=__webpack_require__(369);var $assign=Object.assign;module.exports=!$assign||__webpack_require__(64)(function(){var A={};var B={};var S=Symbol();var K="abcdefghijklmnopqrst";A[S]=7;K.split("").forEach(function(k){B[k]=k});return 7!=$assign({},A)[S]||Object.keys($assign({},B)).join("")!=K})?function assign(target,source){var T=toObject(target);var aLen=arguments.length;var index=1;var getSymbols=gOPS.f;var isEnum=pIE.f;while(aLen>index){var S=IObject(arguments[index++]);var keys=getSymbols?getKeys(S).concat(getSymbols(S)):getKeys(S);var length=keys.length;var j=0;var key;while(length>j)isEnum.call(S,key=keys[j++])&&(T[key]=S[key])}return T}:$assign},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFlexGrid=exports.COLUMNS=exports.GUTTER_SIZES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var gutterSizeToClassNameMap={none:null,s:"euiFlexGrid--gutterSmall",m:"euiFlexGrid--gutterMedium",l:"euiFlexGrid--gutterLarge",xl:"euiFlexGrid--gutterXLarge"};var GUTTER_SIZES=Object.keys(gutterSizeToClassNameMap);exports.GUTTER_SIZES=GUTTER_SIZES;var columnsToClassNameMap={0:"euiFlexGrid--wrap",1:"euiFlexGrid--single",2:"euiFlexGrid--halves",3:"euiFlexGrid--thirds",4:"euiFlexGrid--fourths"};var COLUMNS=Object.keys(columnsToClassNameMap).map(function(columns){return parseInt(columns,10)});exports.COLUMNS=COLUMNS;var EuiFlexGrid=function EuiFlexGrid(_ref){var children=_ref.children,className=_ref.className,gutterSize=_ref.gutterSize,responsive=_ref.responsive,columns=_ref.columns,rest=_objectWithoutProperties(_ref,["children","className","gutterSize","responsive","columns"]);var classes=(0,_classnames.default)("euiFlexGrid",gutterSizeToClassNameMap[gutterSize],columnsToClassNameMap[columns],{"euiFlexGrid--responsive":responsive},className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiFlexGrid=EuiFlexGrid;EuiFlexGrid.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,gutterSize:_propTypes.default.oneOf(GUTTER_SIZES),columns:_propTypes.default.oneOf(COLUMNS).isRequired,responsive:_propTypes.default.bool};EuiFlexGrid.defaultProps={gutterSize:"l",columns:0,responsive:true};EuiFlexGrid.__docgenInfo={description:"",methods:[],displayName:"EuiFlexGrid",props:{gutterSize:{defaultValue:{value:"'l'",computed:false},type:{name:"enum",value:[{value:'"none"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false},{value:'"xl"',computed:false}]},required:false,description:""},columns:{defaultValue:{value:"0",computed:false},type:{name:"enum",computed:true,value:"COLUMNS"},required:false,description:"Number of columns to show in the grid. Up to 4."},responsive:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Allow grid items display at block level on small screens"},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiMutationObserver=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);var _react=__webpack_require__(0);var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiMutationObserver=function(_Component){_inherits(EuiMutationObserver,_Component);function EuiMutationObserver(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiMutationObserver);for(var _len=arguments.length,_args=new Array(_len),_key=0;_key<_len;_key++)_args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiMutationObserver)).call.apply(_getPrototypeOf2,[this].concat(_args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"updateChildNode",function(ref){if(_this.childNode===ref)return;_this.childNode=ref;if(null!=_this.observer){_this.observer.disconnect();_this.observer=null}if(null!=_this.childNode){_this.observer=new MutationObserver(_this.onMutation);_this.observer.observe(_this.childNode,_this.props.observerOptions)}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onMutation",function(){var _this$props;(_this$props=_this.props).onMutation.apply(_this$props,arguments)});_this.childNode=null;_this.observer=null;return _this}_createClass(EuiMutationObserver,[{key:"componentDidMount",value:function componentDidMount(){if(null==this.childNode)throw new Error("EuiMutationObserver did not receive a ref")}},{key:"render",value:function render(){return this.props.children(this.updateChildNode)}}]);return EuiMutationObserver}(_react.Component);exports.EuiMutationObserver=EuiMutationObserver;EuiMutationObserver.propTypes={children:_propTypes.default.func.isRequired,observerOptions:_propTypes.default.shape({attributeFilter:_propTypes.default.arrayOf(_propTypes.default.string),attributeOldValue:_propTypes.default.bool,attributes:_propTypes.default.bool,characterData:_propTypes.default.bool,characterDataOldValue:_propTypes.default.bool,childList:_propTypes.default.bool,subtree:_propTypes.default.bool}).isRequired,onMutation:_propTypes.default.func.isRequired};EuiMutationObserver.__docgenInfo={description:"",methods:[{name:"updateChildNode",docblock:null,modifiers:[],params:[{name:"ref",type:null}],returns:null},{name:"onMutation",docblock:null,modifiers:[],params:[{name:"...args",type:null}],returns:null}],displayName:"EuiMutationObserver",props:{children:{type:{name:"func"},required:true,description:""},observerOptions:{type:{name:"shape",value:{attributeFilter:{name:"arrayOf",value:{name:"string"},required:false},attributeOldValue:{name:"bool",required:false},attributes:{name:"bool",required:false},characterData:{name:"bool",required:false},characterDataOldValue:{name:"bool",required:false},childList:{name:"bool",required:false},subtree:{name:"bool",required:false}}},required:true,description:""},onMutation:{type:{name:"func"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiAvatar",{enumerable:true,get:function get(){return _avatar.EuiAvatar}});var _avatar=__webpack_require__(1039)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiAvatar=exports.TYPES=exports.SIZES=void 0;__webpack_require__(5);__webpack_require__(79);__webpack_require__(80);__webpack_require__(42);__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _common=__webpack_require__(376);var _classnames=_interopRequireDefault(__webpack_require__(6));var _color=__webpack_require__(379);var _services=__webpack_require__(25);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var sizeToClassNameMap={none:null,s:"euiAvatar--s",m:"euiAvatar--m",l:"euiAvatar--l",xl:"euiAvatar--xl"};var SIZES=(0,_common.keysOf)(sizeToClassNameMap);exports.SIZES=SIZES;var typeToClassNameMap={space:"euiAvatar--space",user:"euiAvatar--user"};var TYPES=(0,_common.keysOf)(typeToClassNameMap);exports.TYPES=TYPES;var EuiAvatar=function EuiAvatar(_ref){var className=_ref.className,color=_ref.color,imageUrl=_ref.imageUrl,initials=_ref.initials,initialsLength=_ref.initialsLength,name=_ref.name,_ref$size=_ref.size,size=void 0===_ref$size?"m":_ref$size,_ref$type=_ref.type,type=void 0===_ref$type?"user":_ref$type,rest=_objectWithoutProperties(_ref,["className","color","imageUrl","initials","initialsLength","name","size","type"]);var classes=(0,_classnames.default)("euiAvatar",sizeToClassNameMap[size],typeToClassNameMap[type],className);checkValidColor(color);checkValidInitials(initials);var optionalInitial;if(name&&!imageUrl){var calculatedInitials=(0,_services.toInitials)(name,initialsLength,initials);optionalInitial=_react.default.createElement("span",{"aria-hidden":"true"},calculatedInitials)}var assignedColor=color||_services.VISUALIZATION_COLORS[Math.floor(name.length%_services.VISUALIZATION_COLORS.length)];var textColor=_color.isColorDark.apply(void 0,_toConsumableArray((0,_color.hexToRgb)(assignedColor)))?"#FFFFFF":"#000000";var avatarStyle={backgroundImage:imageUrl?"url(".concat(imageUrl,")"):"none",backgroundColor:assignedColor,color:textColor};return _react.default.createElement("div",_extends({className:classes,style:avatarStyle,"aria-label":name,title:name},rest),optionalInitial)};exports.EuiAvatar=EuiAvatar;EuiAvatar.propTypes={className:_propTypes.default.string,"aria-label":_propTypes.default.string,"data-test-subj":_propTypes.default.string,name:_propTypes.default.string.isRequired,color:_propTypes.default.string,initials:_propTypes.default.string,initialsLength:_propTypes.default.oneOf([1,2]),type:_propTypes.default.oneOf(["space","user"]),imageUrl:_propTypes.default.string,size:_propTypes.default.oneOf(["none","s","m","l","xl"])};function checkValidColor(color){var validHex=color&&/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(color);if(color&&!validHex)throw new Error("EuiAvatar needs to pass a valid color. This can either be a three or six character hex value")}function checkValidInitials(initials){initials&&initials.length>2&&console.warn("EuiAvatar only accepts a max of 2 characters for the initials as a string. It is displaying only the first 2 characters.")}EuiAvatar.__docgenInfo={description:"",methods:[],displayName:"EuiAvatar",props:{size:{defaultValue:{value:"'m'",computed:false},type:{name:"enum",value:[{value:'"none"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false},{value:'"xl"',computed:false}]},required:false,description:""},type:{defaultValue:{value:"'user'",computed:false},type:{name:"enum",value:[{value:'"space"',computed:false},{value:'"user"',computed:false}]},required:false,description:"The type of avatar this is displaying"},className:{type:{name:"string"},required:false,description:""},"aria-label":{type:{name:"string"},required:false,description:""},"data-test-subj":{type:{name:"string"},required:false,description:""},name:{type:{name:"string"},required:true,description:"Full name of avatar for title attribute and calculating initial if not provided"},color:{type:{name:"string"},required:false,description:"Accepts hex value `#FFFFFF`, `#000` otherwise a viz palette color will be assigned"},initials:{type:{name:"string"},required:false,description:"Custom initials (max 2 characters).\nBy default will take the first character (of each word)."},initialsLength:{type:{name:"enum",value:[{value:"1",computed:false},{value:"2",computed:false}]},required:false,description:"Specify how many characters to show (max 2 allowed).\nBy default, will show based on number of words."},imageUrl:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(371);var defined=__webpack_require__(148);module.exports=function(TO_STRING){return function(that,pos){var s=String(defined(that));var i=toInteger(pos);var l=s.length;var a,b;if(i<0||i>=l)return TO_STRING?"":void 0;a=s.charCodeAt(i);return a<55296||a>56319||i+1===l||(b=s.charCodeAt(i+1))<56320||b>57343?TO_STRING?s.charAt(i):a:TO_STRING?s.slice(i,i+2):b-56320+(a-55296<<10)+65536}}},function(module,exports,__webpack_require__){"use strict";var $defineProperty=__webpack_require__(76);var createDesc=__webpack_require__(224);module.exports=function(object,index,value){index in object?$defineProperty.f(object,index,createDesc(0,value)):object[index]=value}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.isColorDark=isColorDark;__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{_n||null==_i["return"]||_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function isColorDark(red,green,blue){var _map$map=[red,green,blue].map(function(c){return c/255}).map(function(c){return c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)}),_map$map2=_slicedToArray(_map$map,3),r=_map$map2[0],g=_map$map2[1],b=_map$map2[2];var luminance=.2126*r+.7152*g+.0722*b;return luminance<=.179}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.rgbToHex=rgbToHex;__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(81);__webpack_require__(228);__webpack_require__(42);function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{_n||null==_i["return"]||_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function asHex(value){var hex=parseInt(value,10).toString(16);return 1===hex.length?"0".concat(hex):hex}function rgbToHex(rgb){var withoutWhitespace=rgb.replace(/\s+/g,"");var rgbMatch=withoutWhitespace.match(/^rgba?\((\d+),(\d+),(\d+)(?:,(?:1(?:\.0*)?|0(?:\.\d+)?))?\)$/i);if(!rgbMatch)return"";var _rgbMatch=_slicedToArray(rgbMatch,4),r=_rgbMatch[1],g=_rgbMatch[2],b=_rgbMatch[3];return"#".concat(asHex(r)).concat(asHex(g)).concat(asHex(b))}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.calculateLuminance=calculateLuminance;exports.calculateContrast=calculateContrast;function calculateLuminance(r,g,b){var a=[r,g,b].map(function(v){v/=255;return v<=.03928?v/12.92:Math.pow((v+.055)/1.055,2.4)});return.2126*a[0]+.7152*a[1]+.0722*a[2]}function calculateContrast(rgb1,rgb2){var contrast=(calculateLuminance(rgb1[0],rgb1[1],rgb1[2])+.05)/(calculateLuminance(rgb2[0],rgb2[1],rgb2[2])+.05);contrast<1&&(contrast=1/contrast);return contrast}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.DEFAULT_VISUALIZATION_COLOR=exports.VISUALIZATION_COLORS=void 0;var VISUALIZATION_COLORS=["#00B3A4","#3185FC","#DB1374","#490092","#FEB6DB","#E6C220","#F98510","#BFA180","#461A0A","#920000"];exports.VISUALIZATION_COLORS=VISUALIZATION_COLORS;var DEFAULT_VISUALIZATION_COLOR=VISUALIZATION_COLORS[1];exports.DEFAULT_VISUALIZATION_COLOR=DEFAULT_VISUALIZATION_COLOR},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.colorPalette=colorPalette;__webpack_require__(42);var _hex_to_rgb=__webpack_require__(564);function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var Color=function Color(r,g,b){_classCallCheck(this,Color);this.r=r;this.g=g;this.b=b;_defineProperty(this,"collection",void 0);_defineProperty(this,"text",void 0);this.collection=[r,g,b];this.text=createHex(this.collection)};function colorPalette(hexStart,hexEnd){var len=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;if(isHex(hexStart)&&isHex(hexEnd)){var colorArray=[];var hexPalette=[];var count=len-1;var startHex=(0,_hex_to_rgb.hexToRgb)(hexStart);var endHex=(0,_hex_to_rgb.hexToRgb)(hexEnd);colorArray[0]=new Color(startHex[0],startHex[1],startHex[2]);colorArray[count]=new Color(endHex[0],endHex[1],endHex[2]);var step=stepCalc(count,colorArray[0],colorArray[count]);hexPalette[0]=colorArray[0].text;for(var i=1;i<count;i++){var _r=colorArray[0].r+step[0]*i;var _g=colorArray[0].g+step[1]*i;var _b=colorArray[0].b+step[2]*i;colorArray[i]=new Color(_r,_g,_b);hexPalette[i]=colorArray[i].text}hexPalette[count]=colorArray[count].text;return hexPalette}throw new Error("Please provide two valid hex color codes.")}function isHex(value){return/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(value)}function createHex(rgbValues){var result="";var val=0;var piece;var base=16;for(var k=0;k<3;k++){val=Math.round(rgbValues[k]);piece=val.toString(base);piece.length<2&&(piece="0".concat(piece));result+=piece}result="#".concat(result.toUpperCase());return result}function stepCalc(st,cStart,cEnd){var steps=st;var step=[(cEnd.r-cStart.r)/steps,(cEnd.g-cStart.g)/steps,(cEnd.b-cStart.b)/steps];return step}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.palettes=void 0;var euiPaletteColorBlind={colors:["#1EA593","#2B70F7","#CE0060","#38007E","#FCA5D3","#F37020","#E49E29","#B0916F","#7B000B","#34130C"]};var euiPaletteForLightBackground={colors:["#006BB4","#017D73","#F5A700","#BD271E","#DD0A73"]};var euiPaletteForDarkBackground={colors:["#4DA1C0","#01B2A4","#C06C4C","#BF4D4D","#F5258C"]};var euiPaletteForStatus={colors:["#58BA6D","#6ECE67","#A5E26A","#D2E26A","#EBDF61","#EBD361","#EBC461","#D99D4C","#D97E4C","#D75949"]};var palettes={euiPaletteColorBlind:euiPaletteColorBlind,euiPaletteForLightBackground:euiPaletteForLightBackground,euiPaletteForDarkBackground:euiPaletteForDarkBackground,euiPaletteForStatus:euiPaletteForStatus};exports.palettes=palettes},function(module,exports,__webpack_require__){"use strict"},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.accessibleClickKeys=void 0;var _key_codes=__webpack_require__(152);var _accessibleClickKeys;function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var accessibleClickKeys=(_accessibleClickKeys={},_defineProperty(_accessibleClickKeys,_key_codes.ENTER,"enter"),_defineProperty(_accessibleClickKeys,_key_codes.SPACE,"space"),_accessibleClickKeys);exports.accessibleClickKeys=accessibleClickKeys},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.cascadingMenuKeyCodes=void 0;var _key_codes=__webpack_require__(152);var cascadingMenuKeyCodes={DOWN:_key_codes.DOWN,ESCAPE:_key_codes.ESCAPE,LEFT:_key_codes.LEFT,RIGHT:_key_codes.RIGHT,UP:_key_codes.UP,TAB:_key_codes.TAB};exports.cascadingMenuKeyCodes=cascadingMenuKeyCodes},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.comboBoxKeyCodes=void 0;var _key_codes=__webpack_require__(152);var comboBoxKeyCodes={DOWN:_key_codes.DOWN,ENTER:_key_codes.ENTER,ESCAPE:_key_codes.ESCAPE,TAB:_key_codes.TAB,UP:_key_codes.UP};exports.comboBoxKeyCodes=comboBoxKeyCodes},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.htmlIdGenerator=htmlIdGenerator;var _uuid=_interopRequireDefault(__webpack_require__(1053));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function htmlIdGenerator(idPrefix){var prefix=idPrefix||"i".concat(_uuid.default.v1());return function(suffix){return"".concat(prefix,"_").concat(suffix||_uuid.default.v1())}}},function(module,exports,__webpack_require__){var v1=__webpack_require__(1054);var v4=__webpack_require__(1055);var uuid=v4;uuid.v1=v1;uuid.v4=v4;module.exports=uuid},function(module,exports,__webpack_require__){var rng=__webpack_require__(566);var bytesToUuid=__webpack_require__(567);var _nodeId;var _clockseq;var _lastMSecs=0;var _lastNSecs=0;function v1(options,buf,offset){var i=buf&&offset||0;var b=buf||[];options=options||{};var node=options.node||_nodeId;var clockseq=void 0!==options.clockseq?options.clockseq:_clockseq;if(null==node||null==clockseq){var seedBytes=rng();null==node&&(node=_nodeId=[1|seedBytes[0],seedBytes[1],seedBytes[2],seedBytes[3],seedBytes[4],seedBytes[5]]);null==clockseq&&(clockseq=_clockseq=16383&(seedBytes[6]<<8|seedBytes[7]))}var msecs=void 0!==options.msecs?options.msecs:(new Date).getTime();var nsecs=void 0!==options.nsecs?options.nsecs:_lastNSecs+1;var dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;dt<0&&void 0===options.clockseq&&(clockseq=clockseq+1&16383);(dt<0||msecs>_lastMSecs)&&void 0===options.nsecs&&(nsecs=0);if(nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs;_lastNSecs=nsecs;_clockseq=clockseq;msecs+=122192928e5;var tl=(1e4*(268435455&msecs)+nsecs)%4294967296;b[i++]=tl>>>24&255;b[i++]=tl>>>16&255;b[i++]=tl>>>8&255;b[i++]=255&tl;var tmh=msecs/4294967296*1e4&268435455;b[i++]=tmh>>>8&255;b[i++]=255&tmh;b[i++]=tmh>>>24&15|16;b[i++]=tmh>>>16&255;b[i++]=clockseq>>>8|128;b[i++]=255&clockseq;for(var n=0;n<6;++n)b[i+n]=node[n];return buf||bytesToUuid(b)}module.exports=v1},function(module,exports,__webpack_require__){var rng=__webpack_require__(566);var bytesToUuid=__webpack_require__(567);function v4(options,buf,offset){var i=buf&&offset||0;if("string"==typeof options){buf="binary"===options?new Array(16):null;options=null}options=options||{};var rnds=options.random||(options.rng||rng)();rnds[6]=15&rnds[6]|64;rnds[8]=63&rnds[8]|128;if(buf)for(var ii=0;ii<16;++ii)buf[i+ii]=rnds[ii];return buf||bytesToUuid(rnds)}module.exports=v4},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.CENTER_ALIGNMENT=exports.RIGHT_ALIGNMENT=exports.LEFT_ALIGNMENT=void 0;var LEFT_ALIGNMENT="left";exports.LEFT_ALIGNMENT=LEFT_ALIGNMENT;var RIGHT_ALIGNMENT="right";exports.RIGHT_ALIGNMENT=RIGHT_ALIGNMENT;var CENTER_ALIGNMENT="center";exports.CENTER_ALIGNMENT=CENTER_ALIGNMENT},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.copyToClipboard=copyToClipboard;function createHiddenTextElement(text){var textElement=document.createElement("span");textElement.textContent=text;textElement.style.all="unset";textElement.style.position="fixed";textElement.style.top="0";textElement.style.clip="rect(0, 0, 0, 0)";textElement.style.whiteSpace="pre";textElement.style.webkitUserSelect="text";textElement.style.MozUserSelect="text";textElement.style.msUserSelect="text";textElement.style.userSelect="text";return textElement}function copyToClipboard(text){var isCopied=true;var range=document.createRange();var selection=window.getSelection();var elementToBeCopied=createHiddenTextElement(text);document.body.appendChild(elementToBeCopied);range.selectNode(elementToBeCopied);selection.removeAllRanges();selection.addRange(range);if(!document.execCommand("copy")){isCopied=false;console.warn("Unable to copy to clipboard.")}selection&&("function"===typeof selection.removeRange?selection.removeRange(range):selection.removeAllRanges());document.body.removeChild(elementToBeCopied);return isCopied}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.formatAuto=void 0;var _predicate=__webpack_require__(38);var _format_boolean=__webpack_require__(570);var _format_date=__webpack_require__(571);var _format_number=__webpack_require__(572);var _format_text=__webpack_require__(575);var formatAuto=function formatAuto(value){if((0,_predicate.isNil)(value)||(0,_predicate.isNaN)(value))return"";if((0,_predicate.isString)(value))return(0,_format_text.formatText)(value);if((0,_predicate.isDate)(value))return(0,_format_date.formatDate)(value);if((0,_predicate.isBoolean)(value))return(0,_format_boolean.formatBoolean)(value);if((0,_predicate.isNumber)(value))return(0,_format_number.formatNumber)(value);if((0,_predicate.isArray)(value))return Array.isArray(value)?value.map(function(item){return formatAuto(item)}).join(", "):formatAuto(value);return JSON.stringify(value)};exports.formatAuto=formatAuto},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.isDateLike=exports.isDate=exports.isMoment=exports.isNil=exports.isNull=exports.isUndefined=exports.never=exports.always=void 0;var _moment=_interopRequireDefault(__webpack_require__(53));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var always=function always(value){return true};exports.always=always;var never=function never(value){return false};exports.never=never;var isUndefined=function isUndefined(value){return void 0===value};exports.isUndefined=isUndefined;var isNull=function isNull(value){return null===value};exports.isNull=isNull;var isNil=function isNil(value){return isUndefined(value)||isNull(value)};exports.isNil=isNil;var isMoment=function isMoment(value){return _moment.default.isMoment(value)};exports.isMoment=isMoment;var isDate=function isDate(value){return _moment.default.isDate(value)};exports.isDate=isDate;var isDateLike=function isDateLike(value){return isMoment(value)||isDate(value)};exports.isDateLike=isDateLike},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Pager",{enumerable:true,get:function get(){return _pager.Pager}});var _pager=__webpack_require__(1061)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Pager=void 0;var _predicate=__webpack_require__(38);function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var Pager=function Pager(_totalItems,_itemsPerPage){var _this=this;var initialPageIndex=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;_classCallCheck(this,Pager);_defineProperty(this,"currentPageIndex",void 0);_defineProperty(this,"firstItemIndex",void 0);_defineProperty(this,"itemsPerPage",void 0);_defineProperty(this,"lastItemIndex",void 0);_defineProperty(this,"totalItems",void 0);_defineProperty(this,"totalPages",void 0);_defineProperty(this,"setTotalItems",function(totalItems){_this.totalItems=totalItems;_this.update()});_defineProperty(this,"setItemsPerPage",function(itemsPerPage){_this.itemsPerPage=itemsPerPage;_this.update()});_defineProperty(this,"isPageable",function(){return-1!==_this.firstItemIndex});_defineProperty(this,"getTotalPages",function(){return _this.totalPages});_defineProperty(this,"getCurrentPageIndex",function(){return _this.currentPageIndex});_defineProperty(this,"getFirstItemIndex",function(){return _this.firstItemIndex});_defineProperty(this,"getLastItemIndex",function(){return _this.lastItemIndex});_defineProperty(this,"hasNextPage",function(){return _this.currentPageIndex<_this.totalPages-1});_defineProperty(this,"hasPreviousPage",function(){return _this.currentPageIndex>0});_defineProperty(this,"goToNextPage",function(){_this.goToPageIndex(_this.currentPageIndex+1)});_defineProperty(this,"goToPreviousPage",function(){_this.goToPageIndex(_this.currentPageIndex-1)});_defineProperty(this,"goToPageIndex",function(pageIndex){_this.currentPageIndex=pageIndex;_this.update()});_defineProperty(this,"update",function(){if(_this.totalItems<=0){_this.totalPages=0;_this.currentPageIndex=0;_this.firstItemIndex=-1;_this.lastItemIndex=-1;return}_this.totalPages=Math.ceil(_this.totalItems/_this.itemsPerPage);_this.currentPageIndex=Math.min(Math.max(0,_this.currentPageIndex),_this.totalPages-1);_this.firstItemIndex=_this.currentPageIndex*_this.itemsPerPage;_this.lastItemIndex=Math.min(_this.firstItemIndex+_this.itemsPerPage,_this.totalItems)-1});if(!(0,_predicate.isNumber)(_totalItems)||isNaN(_totalItems))throw new Error("Please provide a number of totalItems");if(!(0,_predicate.isNumber)(_itemsPerPage)||isNaN(_itemsPerPage))throw new Error("Please provide a number of itemsPerPage");if(!(0,_predicate.isNumber)(initialPageIndex)||isNaN(initialPageIndex))throw new Error("Please provide a number of initialPageIndex");this.currentPageIndex=initialPageIndex;this.firstItemIndex=-1;this.itemsPerPage=_itemsPerPage;this.lastItemIndex=-1;this.totalItems=_totalItems;this.totalPages=0;this.update()};exports.Pager=Pager},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Random=void 0;__webpack_require__(79);__webpack_require__(80);__webpack_require__(42);__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(153);var _moment=_interopRequireDefault(__webpack_require__(53));var _predicate=__webpack_require__(38);var _utils=__webpack_require__(1065);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var defaultRand=Math.random;var Random=function Random(){var _this=this;var rand=arguments.length>0&&void 0!==arguments[0]?arguments[0]:defaultRand;_classCallCheck(this,Random);_defineProperty(this,"rand",void 0);_defineProperty(this,"boolean",function(){return _this.rand()>.5});_defineProperty(this,"number",function(){var options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return min=(0,_predicate.isNil)(options.min)?Number.MIN_VALUE:options.min,max=(0,_predicate.isNil)(options.max)?Number.MAX_VALUE:options.max,delta=_this.rand()*(max-min),min+delta;var min,max,delta});_defineProperty(this,"integer",function(){var options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return min=Math.ceil((0,_predicate.isNil)(options.min)?Number.MIN_VALUE:options.min),max=Math.floor((0,_predicate.isNil)(options.max)?Number.MAX_VALUE:options.max),delta=Math.floor(_this.rand()*(max-min+1)),min+delta;var min,max,delta});_defineProperty(this,"oneOf",function(values){return values[Math.floor(_this.rand()*values.length)]});_defineProperty(this,"oneToOne",function(values,index){return values[index]});_defineProperty(this,"setOf",function(values){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var count=_this.integer(_objectSpread({min:0,max:values.length},options));var copy=_toConsumableArray(values);return(0,_utils.times)(count,function(){var value=_this.oneOf(copy);copy.splice(copy.indexOf(value),1);return value})});_defineProperty(this,"date",function(){var options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return min=(0,_predicate.isNil)(options.min)?new Date(0):options.min,max=(0,_predicate.isNil)(options.max)?new Date(Date.now()):options.max,minMls=min.getTime(),maxMls=max.getTime(),time=_this.integer({min:minMls,max:maxMls}),new Date(time);var min,max,minMls,maxMls,time});_defineProperty(this,"moment",function(){var options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return min=(0,_predicate.isNil)(options.min)?(0,_moment.default)(0):options.min,max=(0,_predicate.isNil)(options.max)?(0,_moment.default)():options.max,minMls=+min,maxMls=+max,time=_this.integer({min:minMls,max:maxMls}),(0,_moment.default)(time);var min,max,minMls,maxMls,time});this.rand=rand};exports.Random=Random},function(module,exports,__webpack_require__){var $export=__webpack_require__(41);var defined=__webpack_require__(148);var fails=__webpack_require__(64);var spaces=__webpack_require__(1064);var space="["+spaces+"]";var non="​";var ltrim=RegExp("^"+space+space+"*");var rtrim=RegExp(space+space+"*$");var exporter=function(KEY,exec,ALIAS){var exp={};var FORCE=fails(function(){return!!spaces[KEY]()||non[KEY]()!=non});var fn=exp[KEY]=FORCE?exec(trim):spaces[KEY];ALIAS&&(exp[ALIAS]=fn);$export($export.P+$export.F*FORCE,"String",exp)};var trim=exporter.trim=function(string,TYPE){string=String(defined(string));1&TYPE&&(string=string.replace(ltrim,""));2&TYPE&&(string=string.replace(rtrim,""));return string};module.exports=exporter},function(module,exports){module.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"times",{enumerable:true,get:function get(){return _lodash.times}});Object.defineProperty(exports,"memoize",{enumerable:true,get:function get(){return _lodash.memoize}});exports.browserTick=void 0;var _lodash=__webpack_require__(10);var browserTick=function browserTick(callback){requestAnimationFrame(callback)};exports.browserTick=browserTick},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"getSecureRelForTarget",{enumerable:true,get:function get(){return _get_secure_rel_for_target.getSecureRelForTarget}});var _get_secure_rel_for_target=__webpack_require__(1067)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getSecureRelForTarget=void 0;__webpack_require__(229);__webpack_require__(380);__webpack_require__(92);__webpack_require__(93);var _lodash=_interopRequireDefault(__webpack_require__(10));var _url=__webpack_require__(1069);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var filter=_lodash.default.filter;var getSecureRelForTarget=function getSecureRelForTarget(_ref){var href=_ref.href,target=_ref.target,rel=_ref.rel;if(!target||!target.includes("_blank"))return rel;var isElasticHref=!!href&&(0,_url.isDomainSecure)(href);var relParts=!rel?[]:filter(rel.split(" "),function(part){return!!part.length&&"noreferrer"!==part});-1===relParts.indexOf("noopener")&&relParts.push("noopener");isElasticHref||relParts.push("noreferrer");return relParts.sort().join(" ").trim()};exports.getSecureRelForTarget=getSecureRelForTarget},function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__(64);module.exports=function(method,arg){return!!method&&fails(function(){arg?method.call(null,function(){},1):method.call(null)})}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.isDomainSecure=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(81);function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{_n||null==_i["return"]||_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}var isElasticDomain=/(https?:\/\/(.+?\.)?elastic\.co((\/|\?)[A-Za-z0-9\-\._~:\/\?#\[\]@!$&'\(\)\*\+,;\=]*)?)/g;var isDomainSecure=function isDomainSecure(){var url=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";var matches=url.match(isElasticDomain);if(!matches)return false;var _matches=_slicedToArray(matches,1),match=_matches[0];return match.length===url.length};exports.isDomainSecure=isDomainSecure},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"toInitials",{enumerable:true,get:function get(){return _to_initials.toInitials}});var _to_initials=__webpack_require__(1071)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.toInitials=toInitials;exports.MAX_INITIALS=void 0;__webpack_require__(81);__webpack_require__(380);var MAX_INITIALS=2;exports.MAX_INITIALS=MAX_INITIALS;function toInitials(name,initialsLength,initials){var calculatedInitialsLength=initials?initials.split(" ").length:name.split(" ").length;calculatedInitialsLength=calculatedInitialsLength>MAX_INITIALS?MAX_INITIALS:calculatedInitialsLength;initialsLength&&(calculatedInitialsLength=initialsLength<=MAX_INITIALS?initialsLength:MAX_INITIALS);var calculatedInitials;if(initials)calculatedInitials=initials.substring(0,calculatedInitialsLength);else if(name.trim()&&name.split(" ").length>1){calculatedInitials=name.match(/\b(\w)/g);calculatedInitials=calculatedInitials&&calculatedInitials.join("").substring(0,calculatedInitialsLength)}else calculatedInitials=name.substring(0,calculatedInitialsLength);return calculatedInitials}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SortableProperties=void 0;__webpack_require__(79);__webpack_require__(80);__webpack_require__(42);__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(19);__webpack_require__(94);__webpack_require__(229);var _comparators=__webpack_require__(581);function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var SortableProperties=function(){function SortableProperties(sortableProperties,initialSortablePropertyName){_classCallCheck(this,SortableProperties);_defineProperty(this,"sortableProperties",void 0);_defineProperty(this,"currentSortedProperty",void 0);this.sortableProperties=sortableProperties;var currentSortedProperty=this.getSortablePropertyByName(initialSortablePropertyName);if(!currentSortedProperty)throw new Error("No property with the name ".concat(initialSortablePropertyName));this.currentSortedProperty=currentSortedProperty}_createClass(SortableProperties,[{key:"getSortedProperty",value:function getSortedProperty(){return this.currentSortedProperty}},{key:"sortItems",value:function sortItems(items){var copy=_toConsumableArray(items);var comparator=_comparators.Comparators.value(this.getSortedProperty().getValue);this.isCurrentSortAscending()||(comparator=_comparators.Comparators.reverse(comparator));copy.sort(comparator);return copy}},{key:"getSortablePropertyByName",value:function getSortablePropertyByName(propertyName){return this.sortableProperties.find(function(property){return property.name===propertyName})}},{key:"sortOn",value:function sortOn(propertyName){var newSortedProperty=this.getSortablePropertyByName(propertyName);if(!newSortedProperty)throw new Error("No property with the name ".concat(propertyName));var sortedProperty=this.getSortedProperty();sortedProperty.name===newSortedProperty.name?this.flipCurrentSortOrder():this.currentSortedProperty=newSortedProperty}},{key:"isCurrentSortAscending",value:function isCurrentSortAscending(){var sortedProperty=this.getSortedProperty();return!!sortedProperty&&this.isAscendingByName(sortedProperty.name)}},{key:"isAscendingByName",value:function isAscendingByName(propertyName){var sortedProperty=this.getSortablePropertyByName(propertyName);return!!sortedProperty&&sortedProperty.isAscending}},{key:"flipCurrentSortOrder",value:function flipCurrentSortOrder(){this.currentSortedProperty.isAscending=!this.currentSortedProperty.isAscending}}]);return SortableProperties}();exports.SortableProperties=SortableProperties},function(module,exports,__webpack_require__){var speciesConstructor=__webpack_require__(1074);module.exports=function(original,length){return new(speciesConstructor(original))(length)}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(71);var isArray=__webpack_require__(555);var SPECIES=__webpack_require__(40)("species");module.exports=function(original){var C;if(isArray(original)){C=original.constructor;"function"!=typeof C||C!==Array&&!isArray(C.prototype)||(C=void 0);if(isObject(C)){C=C[SPECIES];null===C&&(C=void 0)}}return void 0===C?Array:C}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.PropertySortType=void 0;var _propTypes=_interopRequireDefault(__webpack_require__(1));var _sort_direction=__webpack_require__(382);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var PropertySortType=_propTypes.default.shape({field:_propTypes.default.string.isRequired,direction:_sort_direction.SortDirectionType.isRequired});exports.PropertySortType=PropertySortType},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"calculatePopoverPosition",{enumerable:true,get:function get(){return _calculate_popover_position.calculatePopoverPosition}});Object.defineProperty(exports,"findPopoverPosition",{enumerable:true,get:function get(){return _popover_positioning.findPopoverPosition}});var _calculate_popover_position=__webpack_require__(1077);var _popover_positioning=__webpack_require__(583)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.calculatePopoverPosition=calculatePopoverPosition;__webpack_require__(3);__webpack_require__(4);__webpack_require__(2);function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var getVisibleArea=function getVisibleArea(bounds,windowWidth,windowHeight){var left=bounds.left,top=bounds.top,width=bounds.width,height=bounds.height;var dx=Math.min(left+width,windowWidth)-Math.max(left,0);var dy=Math.min(top+height,windowHeight)-Math.max(top,0);return dx*dy};var positionAtTop=function positionAtTop(anchorBounds,width,height,buffer){var widthDifference=width-anchorBounds.width;var left=anchorBounds.left-.5*widthDifference;var top=anchorBounds.top-height-buffer;return{left:left,top:top,width:width,height:height}};var positionAtRight=function positionAtRight(anchorBounds,width,height,buffer){var left=anchorBounds.right+buffer;var heightDifference=height-anchorBounds.height;var top=anchorBounds.top-.5*heightDifference;return{left:left,top:top,width:width,height:height}};var positionAtBottom=function positionAtBottom(anchorBounds,width,height,buffer){var widthDifference=width-anchorBounds.width;var left=anchorBounds.left-.5*widthDifference;var top=anchorBounds.bottom+buffer;return{left:left,top:top,width:width,height:height}};var positionAtLeft=function positionAtLeft(anchorBounds,width,height,buffer){var left=anchorBounds.left-width-buffer;var heightDifference=height-anchorBounds.height;var top=anchorBounds.top-.5*heightDifference;return{left:left,top:top,width:width,height:height}};var positionToPositionerMap={top:positionAtTop,right:positionAtRight,bottom:positionAtBottom,left:positionAtLeft};function calculatePopoverPosition(anchorBounds,popoverBounds,requestedPosition){var buffer=arguments.length>3&&void 0!==arguments[3]?arguments[3]:16;var positions=arguments.length>4&&void 0!==arguments[4]?arguments[4]:["top","right","bottom","left"];if("number"!==typeof buffer)throw new Error("calculatePopoverPosition received a buffer argument of ".concat(buffer,"' but expected a number"));var windowWidth=window.innerWidth;var windowHeight=window.innerHeight;var popoverWidth=popoverBounds.width,popoverHeight=popoverBounds.height;var positionToBoundsMap={};var positionToVisibleAreaMap={};positions.forEach(function(position){var bounds=positionToPositionerMap[position](anchorBounds,popoverWidth,popoverHeight,buffer);positionToBoundsMap[position]=bounds;positionToVisibleAreaMap[position]=getVisibleArea(bounds,windowWidth,windowHeight)});var calculatedPopoverPosition=positions.reduce(function(mostVisiblePosition,position){if(positionToVisibleAreaMap[position]>positionToVisibleAreaMap[mostVisiblePosition])return position;return mostVisiblePosition},requestedPosition);return _objectSpread({position:calculatedPopoverPosition},positionToBoundsMap[calculatedPopoverPosition])}},function(module,exports,__webpack_require__){var $export=__webpack_require__(41);var fails=__webpack_require__(64);var defined=__webpack_require__(148);var quot=/"/g;var createHTML=function(string,tag,attribute,value){var S=String(defined(string));var p1="<"+tag;""!==attribute&&(p1+=" "+attribute+'="'+String(value).replace(quot,"&quot;")+'"');return p1+">"+S+"</"+tag+">"};module.exports=function(NAME,exec){var O={};O[NAME]=exec(createHTML);$export($export.P+$export.F*fails(function(){var test=""[NAME]('"');return test!==test.toLowerCase()||test.split('"').length>3}),"String",O)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiWindowEvent",{enumerable:true,get:function get(){return _window_event.EuiWindowEvent}});var _window_event=__webpack_require__(1080)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiWindowEvent=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);var _react=__webpack_require__(0);var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var EuiWindowEvent=function(_Component){_inherits(EuiWindowEvent,_Component);function EuiWindowEvent(){_classCallCheck(this,EuiWindowEvent);return _possibleConstructorReturn(this,_getPrototypeOf(EuiWindowEvent).apply(this,arguments))}_createClass(EuiWindowEvent,[{key:"componentDidMount",value:function componentDidMount(){this.addEvent(this.props)}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){if(prevProps.event!==this.props.event||prevProps.handler!==this.props.handler){this.removeEvent(prevProps);this.addEvent(this.props)}}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.removeEvent(this.props)}},{key:"addEvent",value:function addEvent(_ref){var event=_ref.event,handler=_ref.handler;window.addEventListener(event,handler)}},{key:"removeEvent",value:function removeEvent(_ref2){var event=_ref2.event,handler=_ref2.handler;window.removeEventListener(event,handler)}},{key:"render",value:function render(){return null}}]);return EuiWindowEvent}(_react.Component);exports.EuiWindowEvent=EuiWindowEvent;EuiWindowEvent.propTypes={event:_propTypes.default.any.isRequired,handler:_propTypes.default.func.isRequired};EuiWindowEvent.__docgenInfo={description:"",methods:[{name:"addEvent",docblock:null,modifiers:[],params:[{name:"{\n  event,\n  handler\n}",type:null}],returns:null},{name:"removeEvent",docblock:null,modifiers:[],params:[{name:"{\n  event,\n  handler\n}",type:null}],returns:null}],displayName:"EuiWindowEvent",props:{event:{type:{name:"any"},required:true,description:""},handler:{type:{name:"func"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiKeyboardAccessible=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=__webpack_require__(0);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _services=__webpack_require__(25);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiKeyboardAccessible=function(_Component){_inherits(EuiKeyboardAccessible,_Component);function EuiKeyboardAccessible(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiKeyboardAccessible);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiKeyboardAccessible)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onKeyDown",function(e){e.keyCode===_services.keyCodes.SPACE&&e.preventDefault();_this.props.children.props.onKeyDown&&_this.props.children.props.onKeyDown(e)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onKeyUp",function(e){e.keyCode!==_services.keyCodes.ENTER&&e.keyCode!==_services.keyCodes.SPACE||_this.props.children.props.onClick(e);_this.props.children.props.onKeyUp&&_this.props.children.props.onKeyUp(e)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"applyKeyboardAccessibility",function(child){var props=_objectSpread({tabIndex:"0",role:"button"},child.props,{onKeyDown:_this.onKeyDown,onKeyUp:_this.onKeyUp});return(0,_react.cloneElement)(child,props)});return _this}_createClass(EuiKeyboardAccessible,[{key:"render",value:function render(){return this.applyKeyboardAccessibility(this.props.children)}}]);return EuiKeyboardAccessible}(_react.Component);exports.EuiKeyboardAccessible=EuiKeyboardAccessible;EuiKeyboardAccessible.propTypes={children:_propTypes.default.element.isRequired};EuiKeyboardAccessible.propTypes={children:keyboardInaccessibleElement};function keyboardInaccessibleElement(props,propName,componentName){var child=props.children;if(!child)throw new Error("".concat(componentName," needs to wrap an element with which the user interacts."));if("button"===child.type)throw new Error("".concat(componentName," doesn't need to be used on a button."));if("a"===child.type&&void 0!==child.props.href)throw new Error("".concat(componentName," doesn't need to be used on a link if it has a href attribute."));if(!child.props.onClick)throw new Error("".concat(componentName," needs to wrap an element which has an onClick prop assigned."));if("function"!==typeof child.props.onClick)throw new Error("".concat(componentName,"'s child's onClick prop needs to be a function."))}EuiKeyboardAccessible.__docgenInfo={description:"",methods:[{name:"onKeyDown",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null},{name:"onKeyUp",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null},{name:"applyKeyboardAccessibility",docblock:null,modifiers:[],params:[{name:"child",type:null}],returns:null}],displayName:"EuiKeyboardAccessible",props:{children:{type:{name:"element"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiScreenReaderOnly=void 0;__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=__webpack_require__(0);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiScreenReaderOnly=function EuiScreenReaderOnly(_ref){var children=_ref.children;var classes=(0,_classnames.default)("euiScreenReaderOnly",children.props.className);var props=_objectSpread({},children.props,{className:classes});return(0,_react.cloneElement)(children,props)};exports.EuiScreenReaderOnly=EuiScreenReaderOnly;EuiScreenReaderOnly.propTypes={children:_propTypes.default.element.isRequired}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiBadge=exports.ICON_SIDES=exports.COLORS=void 0;__webpack_require__(5);__webpack_require__(79);__webpack_require__(80);__webpack_require__(42);__webpack_require__(7);__webpack_require__(8);__webpack_require__(92);__webpack_require__(93);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _utils=__webpack_require__(584);var _color=__webpack_require__(379);var _accessibility=__webpack_require__(73);var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var colorToClassNameMap={default:"euiBadge--default",primary:"euiBadge--primary",secondary:"euiBadge--secondary",accent:"euiBadge--accent",warning:"euiBadge--warning",danger:"euiBadge--danger",hollow:"euiBadge--hollow"};var COLORS=Object.keys(colorToClassNameMap);exports.COLORS=COLORS;var iconSideToClassNameMap={left:"",right:"euiBadge--iconRight"};var ICON_SIDES=Object.keys(iconSideToClassNameMap);exports.ICON_SIDES=ICON_SIDES;var EuiBadge=function EuiBadge(_ref){var children=_ref.children,color=_ref.color,iconType=_ref.iconType,iconSide=_ref.iconSide,className=_ref.className,onClick=_ref.onClick,iconOnClick=_ref.iconOnClick,onClickAriaLabel=_ref.onClickAriaLabel,iconOnClickAriaLabel=_ref.iconOnClickAriaLabel,closeButtonProps=_ref.closeButtonProps,rest=_objectWithoutProperties(_ref,["children","color","iconType","iconSide","className","onClick","iconOnClick","onClickAriaLabel","iconOnClickAriaLabel","closeButtonProps"]);var optionalColorClass=null;var optionalCustomStyles=null;var textColor=null;if(COLORS.indexOf(color)>-1)optionalColorClass=colorToClassNameMap[color];else{textColor=_color.isColorDark.apply(void 0,_toConsumableArray((0,_color.hexToRgb)(color)))?"#FFFFFF":"#000000";optionalCustomStyles={backgroundColor:color,color:textColor}}var classes=(0,_classnames.default)("euiBadge",iconSideToClassNameMap[iconSide],optionalColorClass,className);var closeClassNames=(0,_classnames.default)("euiBadge__icon",closeButtonProps&&closeButtonProps.className);var optionalIcon=null;iconType&&(optionalIcon=iconOnClick?_react.default.createElement(_accessibility.EuiKeyboardAccessible,null,_react.default.createElement(_icon.EuiIcon,_extends({onClick:iconOnClick,type:iconType,size:"s","aria-label":iconOnClickAriaLabel},closeButtonProps,{className:closeClassNames}))):_react.default.createElement(_icon.EuiIcon,{type:iconType,size:"s",className:"euiBadge__icon"}));return onClick?_react.default.createElement("button",_extends({className:classes,style:optionalCustomStyles,onClick:onClick,"aria-label":onClickAriaLabel},rest),_react.default.createElement("span",{className:"euiBadge__content"},optionalIcon,_react.default.createElement("span",null,children))):_react.default.createElement("span",_extends({className:classes,style:optionalCustomStyles},rest),_react.default.createElement("span",{className:"euiBadge__content"},optionalIcon,_react.default.createElement("span",{className:"euiBadge__text"},children)))};exports.EuiBadge=EuiBadge;function checkValidColor(props,propName,componentName){var validHex=/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(props.color);if(props.color&&!validHex&&!COLORS.includes(props.color))throw new Error("".concat(componentName," needs to pass a valid color. This can either be a three ")+"or six character hex value or one of the following: ".concat(COLORS))}EuiBadge.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,iconType:_propTypes.default.oneOf(_icon.ICON_TYPES),iconSide:_propTypes.default.string,iconOnClick:_utils.EuiPropTypes.withRequiredProp(_propTypes.default.func,"iconOnClickAriaLabel","Please provide an aria label to complement your iconOnClick"),iconOnClickAriaLabel:_propTypes.default.string,onClick:_utils.EuiPropTypes.withRequiredProp(_propTypes.default.func,"onClickAriaLabel","Please provide an aria label to complement your onClick"),onClickAriaLabel:_propTypes.default.string,color:checkValidColor,closeButtonProps:_propTypes.default.object};EuiBadge.defaultProps={color:"default",iconSide:"left"};EuiBadge.__docgenInfo={description:"",methods:[],displayName:"EuiBadge",props:{color:{defaultValue:{value:"'default'",computed:false},type:{name:"custom",raw:"checkValidColor"},required:false,description:"Accepts either our palette colors (primary, secondary ..etc) or a hex value `#FFFFFF`, `#000`."},iconSide:{defaultValue:{value:"'left'",computed:false},type:{name:"string"},required:false,description:"The side of the badge the icon should sit"},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},iconType:{type:{name:"enum",computed:true,value:"ICON_TYPES"},required:false,description:"Accepts any string from our icon library"},iconOnClick:{type:{name:"custom",raw:"EuiPropTypes.withRequiredProp(\n  PropTypes.func,\n  'iconOnClickAriaLabel',\n  'Please provide an aria label to complement your iconOnClick'\n)"},required:false,description:"Will apply an onclick to icon within the badge"},iconOnClickAriaLabel:{type:{name:"string"},required:false,description:"Aria label applied to the iconOnClick button"},onClick:{type:{name:"custom",raw:"EuiPropTypes.withRequiredProp(\n  PropTypes.func,\n  'onClickAriaLabel',\n  'Please provide an aria label to complement your onClick'\n)"},required:false,description:"Will apply an onclick to the badge itself"},onClickAriaLabel:{type:{name:"string"},required:false,description:"Aria label applied to the onClick button"},closeButtonProps:{type:{name:"object"},required:false,description:"Props passed to the close button."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.is=void 0;var _predicate=__webpack_require__(38);var is=function is(expectedValue){var validator=function validator(props,propName,componentName){var compName=componentName||"ANONYMOUS";var value=props[propName];if(value!==expectedValue)return new Error("[".concat(propName,"] property in [").concat(compName,"] component is expected to equal [").concat(expectedValue,"] but \n         [").concat(value,"] was provided instead."));return null};validator.isRequired=function(props,propName,componentName){var compName=componentName||"ANONYMOUS";var value=props[propName];if((0,_predicate.isNil)(value))return new Error("[".concat(propName,"] property in [").concat(compName,"] component is required but seems to be missing"));return validator(props,propName,componentName)};return validator};exports.is=is},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiBetaBadge=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _tool_tip=__webpack_require__(112);var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiBetaBadge=function EuiBetaBadge(_ref){var className=_ref.className,label=_ref.label,tooltipContent=_ref.tooltipContent,tooltipPosition=_ref.tooltipPosition,title=_ref.title,iconType=_ref.iconType,rest=_objectWithoutProperties(_ref,["className","label","tooltipContent","tooltipPosition","title","iconType"]);var classes=(0,_classnames.default)("euiBetaBadge",{"euiBetaBadge--iconOnly":iconType},className);var icon;iconType&&(icon=_react.default.createElement(_icon.EuiIcon,{className:"euiBetaBadge__icon",type:iconType,size:"m","aria-hidden":"true"}));return tooltipContent?_react.default.createElement(_tool_tip.EuiToolTip,{position:tooltipPosition,content:tooltipContent,title:title||label},_react.default.createElement("span",_extends({className:classes},rest),icon||label)):_react.default.createElement("span",_extends({className:classes,title:title||label},rest),icon||label)};exports.EuiBetaBadge=EuiBetaBadge;EuiBetaBadge.propTypes={className:_propTypes.default.string,label:_propTypes.default.node.isRequired,iconType:_propTypes.default.oneOf(_icon.ICON_TYPES),tooltipContent:_propTypes.default.node,tooltipPosition:_propTypes.default.string,title:_propTypes.default.string};EuiBetaBadge.defaultProps={tooltipPosition:"top"};EuiBetaBadge.__docgenInfo={description:"",methods:[],displayName:"EuiBetaBadge",props:{tooltipPosition:{defaultValue:{value:"'top'",computed:false},type:{name:"string"},required:false,description:"Custom position of the tooltip"},className:{type:{name:"string"},required:false,description:""},label:{type:{name:"node"},required:true,description:'One word label like "Beta" or "Lab"'},iconType:{type:{name:"enum",computed:true,value:"ICON_TYPES"},required:false,description:"Supply an icon type if the badge should just be an icon"},tooltipContent:{type:{name:"node"},required:false,description:"Content for the tooltip"},title:{type:{name:"string"},required:false,description:"Optional title will be supplied as tooltip title or title attribute otherwise the label will be used"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPortal=exports.INSERT_POSITIONS=exports.insertPositions=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=__webpack_require__(0);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactDom=__webpack_require__(72);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var insertPositions={after:"afterend",before:"beforebegin"};exports.insertPositions=insertPositions;var INSERT_POSITIONS=Object.keys(insertPositions);exports.INSERT_POSITIONS=INSERT_POSITIONS;var EuiPortal=function(_Component){_inherits(EuiPortal,_Component);function EuiPortal(props){var _this;_classCallCheck(this,EuiPortal);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiPortal).call(this,props));var _this$props=_this.props,insert=(_this$props.children,_this$props.insert);_this.portalNode=document.createElement("div");null==insert?document.body.appendChild(_this.portalNode):insert.sibling.insertAdjacentElement(insertPositions[insert.position],_this.portalNode);return _this}_createClass(EuiPortal,[{key:"componentDidMount",value:function componentDidMount(){this.updatePortalRef()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.portalNode.parentNode.removeChild(this.portalNode);this.portalNode=null;this.updatePortalRef()}},{key:"updatePortalRef",value:function updatePortalRef(){this.props.portalRef&&this.props.portalRef(this.portalNode)}},{key:"render",value:function render(){return(0,_reactDom.createPortal)(this.props.children,this.portalNode)}}]);return EuiPortal}(_react.Component);exports.EuiPortal=EuiPortal;EuiPortal.propTypes={children:_propTypes.default.node,insert:_propTypes.default.shape({sibling:_propTypes.default.instanceOf(HTMLElement).isRequired,position:_propTypes.default.oneOf(INSERT_POSITIONS).isRequired}),portalRef:_propTypes.default.func};EuiPortal.__docgenInfo={description:"",methods:[{name:"updatePortalRef",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiPortal",props:{children:{type:{name:"node"},required:false,description:""},insert:{type:{name:"shape",value:{sibling:{name:"instanceOf",value:"HTMLElement",required:true},position:{name:"enum",value:[{value:'"after"',computed:false},{value:'"before"',computed:false}],required:true}}},required:false,description:"`{sibling: HTMLElement, position: 'before'|'after'}`"},portalRef:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiToolTipPopover=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiToolTipPopover=function(_Component){_inherits(EuiToolTipPopover,_Component);function EuiToolTipPopover(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiToolTipPopover);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiToolTipPopover)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"updateDimensions",function(){requestAnimationFrame(function(){_this.popover&&_this.props.positionToolTip(_this.popover.getBoundingClientRect())})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setPopoverRef",function(ref){_this.popover=ref;_this.props.popoverRef&&_this.props.popoverRef(ref)});return _this}_createClass(EuiToolTipPopover,[{key:"componentDidMount",value:function componentDidMount(){document.body.classList.add("euiBody-hasPortalContent");this.updateDimensions();window.addEventListener("resize",this.updateDimensions)}},{key:"componentWillUnmount",value:function componentWillUnmount(){document.body.classList.remove("euiBody-hasPortalContent");window.removeEventListener("resize",this.updateDimensions)}},{key:"render",value:function render(){var _this$props=this.props,children=_this$props.children,title=_this$props.title,className=_this$props.className,rest=(_this$props.positionToolTip,_this$props.popoverRef,_objectWithoutProperties(_this$props,["children","title","className","positionToolTip","popoverRef"]));var classes=(0,_classnames.default)("euiToolTipPopover",className);var optionalTitle;title&&(optionalTitle=_react.default.createElement("div",{className:"euiToolTip__title"},title));return _react.default.createElement("div",_extends({className:classes,ref:this.setPopoverRef},rest),optionalTitle,children)}}]);return EuiToolTipPopover}(_react.Component);exports.EuiToolTipPopover=EuiToolTipPopover;_defineProperty(EuiToolTipPopover,"propTypes",{children:_propTypes.default.node,className:_propTypes.default.string,title:_propTypes.default.node,positionToolTip:_propTypes.default.func.isRequired,popoverRef:_propTypes.default.func});EuiToolTipPopover.__docgenInfo={description:"",methods:[{name:"updateDimensions",docblock:null,modifiers:[],params:[],returns:null},{name:"setPopoverRef",docblock:null,modifiers:[],params:[{name:"ref",type:null}],returns:null}],displayName:"EuiToolTipPopover",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},title:{type:{name:"node"},required:false,description:""},positionToolTip:{type:{name:"func"},required:true,description:""},popoverRef:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiIconTip=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _icon=__webpack_require__(20);var _tool_tip=__webpack_require__(586);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiIconTip=function EuiIconTip(_ref){var type=_ref.type,ariaLabel=_ref["aria-label"],color=_ref.color,size=_ref.size,iconProps=_ref.iconProps,rest=_objectWithoutProperties(_ref,["type","aria-label","color","size","iconProps"]);return _react.default.createElement(_tool_tip.EuiToolTip,rest,_react.default.createElement(_icon.EuiIcon,_extends({tabIndex:"0",type:type,color:color,size:size,"aria-label":ariaLabel},iconProps)))};exports.EuiIconTip=EuiIconTip;EuiIconTip.propTypes={type:_propTypes.default.string,color:_propTypes.default.string,size:_propTypes.default.string,"aria-label":_propTypes.default.string,iconProps:_propTypes.default.object};EuiIconTip.defaultProps={type:"questionInCircle","aria-label":"Info"};EuiIconTip.__docgenInfo={description:"",methods:[],displayName:"EuiIconTip",props:{type:{defaultValue:{value:"'questionInCircle'",computed:false},type:{name:"string"},required:false,description:"The icon type."},"aria-label":{defaultValue:{value:"'Info'",computed:false},type:{name:"string"},required:false,description:"Explain what this icon means for screen readers."},color:{type:{name:"string"},required:false,description:"The icon color."},size:{type:{name:"string"},required:false,description:"The icon size."},iconProps:{type:{name:"object"},required:false,description:"Pass certain props down to `EuiIcon`"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiNotificationBadge=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiNotificationBadge=function EuiNotificationBadge(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiNotificationBadge",className);return _react.default.createElement("span",_extends({className:classes},rest),children)};exports.EuiNotificationBadge=EuiNotificationBadge;EuiNotificationBadge.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,"aria-label":_propTypes.default.string,"data-test-subj":_propTypes.default.string};EuiNotificationBadge.__docgenInfo={description:"",methods:[],displayName:"EuiNotificationBadge",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},"aria-label":{type:{name:"string"},required:false,description:""},"data-test-subj":{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiBottomBar",{enumerable:true,get:function get(){return _bottom_bar.EuiBottomBar}});var _bottom_bar=__webpack_require__(1091)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiBottomBar=exports.PADDING_SIZES=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(9);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _portal=__webpack_require__(182);var _accessibility=__webpack_require__(73);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var paddingSizeToClassNameMap={none:null,s:"euiBottomBar--paddingSmall",m:"euiBottomBar--paddingMedium",l:"euiBottomBar--paddingLarge"};var PADDING_SIZES=Object.keys(paddingSizeToClassNameMap);exports.PADDING_SIZES=PADDING_SIZES;var EuiBottomBar=function(_Component){_inherits(EuiBottomBar,_Component);function EuiBottomBar(){_classCallCheck(this,EuiBottomBar);return _possibleConstructorReturn(this,_getPrototypeOf(EuiBottomBar).apply(this,arguments))}_createClass(EuiBottomBar,[{key:"componentDidMount",value:function componentDidMount(){var height=this.bar.clientHeight;document.body.style.paddingBottom="".concat(height,"px");this.props.bodyClassName&&document.body.classList.add(this.props.bodyClassName)}},{key:"componentWillUnmount",value:function componentWillUnmount(){document.body.style.paddingBottom=null;this.props.bodyClassName&&document.body.classList.remove(this.props.bodyClassName)}},{key:"render",value:function render(){var _this=this;var _this$props=this.props,children=_this$props.children,className=_this$props.className,paddingSize=_this$props.paddingSize,rest=(_this$props.bodyClassName,_objectWithoutProperties(_this$props,["children","className","paddingSize","bodyClassName"]));var classes=(0,_classnames.default)("euiBottomBar",paddingSizeToClassNameMap[paddingSize],className);return _react.default.createElement(_portal.EuiPortal,null,_react.default.createElement(_accessibility.EuiScreenReaderOnly,null,_react.default.createElement("p",{"aria-live":"assertive"},_react.default.createElement(_i18n.EuiI18n,{token:"euiBottomBar.screenReaderAnnouncement",default:"There is a new menu opening with page level controls at the bottom of the document."}))),_react.default.createElement("div",_extends({className:classes,ref:function ref(node){_this.bar=node}},rest),children))}}]);return EuiBottomBar}(_react.Component);exports.EuiBottomBar=EuiBottomBar;EuiBottomBar.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,bodyClassName:_propTypes.default.string,paddingSize:_propTypes.default.oneOf(PADDING_SIZES)};EuiBottomBar.defaultProps={paddingSize:"m"};EuiBottomBar.__docgenInfo={description:"",methods:[],displayName:"EuiBottomBar",props:{paddingSize:{defaultValue:{value:"'m'",computed:false},type:{name:"enum",value:[{value:'"none"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false}]},required:false,description:"Padding applied to the bar"},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:"Optional class applied to the bar iteself"},bodyClassName:{type:{name:"string"},required:false,description:"Optional class applied to the body class"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiI18n=void 0;__webpack_require__(2);__webpack_require__(3);var _react=_interopRequireWildcard(__webpack_require__(0));var _context=__webpack_require__(385);var _i18n_util=__webpack_require__(1094);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function throwError(){throw new Error("asdf")}function lookupToken(token,i18nMapping,valueDefault,values){var renderable=i18nMapping&&i18nMapping[token]||valueDefault;if("function"===typeof renderable)return void 0===values?throwError():renderable(values);if(void 0===values||"string"!==typeof renderable)return renderable;var children=(0,_i18n_util.processStringToChildren)(renderable,values);if("string"===typeof children)return children;var Component=function Component(){return _react.default.createElement(_react.Fragment,null,children)};return _react.default.createElement(Component,values)}function hasTokens(x){return null!=x.tokens}var EuiI18n=function EuiI18n(props){return _react.default.createElement(_context.EuiI18nConsumer,null,function(i18nConfig){var mapping=i18nConfig.mapping;if(hasTokens(props))return props.children(props.tokens.map(function(token,idx){return lookupToken(token,mapping,props.defaults[idx])}));var tokenValue=lookupToken(props.token,mapping,props.default,props.values);return props.children?props.children(tokenValue):tokenValue})};exports.EuiI18n=EuiI18n;EuiI18n.__docgenInfo={description:"",methods:[],displayName:"EuiI18n"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiI18nConsumer=exports.EuiContext=void 0;var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}var I18nContext=(0,_react.createContext)({});var EuiI18nProvider=I18nContext.Provider,EuiI18nConsumer=I18nContext.Consumer;exports.EuiI18nConsumer=EuiI18nConsumer;var EuiContext=function EuiContext(_ref){var _ref$i18n=_ref.i18n,i18n=void 0===_ref$i18n?{}:_ref$i18n,children=_ref.children;return _react.default.createElement(EuiI18nProvider,{value:i18n},children)};exports.EuiContext=EuiContext;EuiContext.propTypes={i18n:_propTypes.default.shape({mapping:_propTypes.default.shape({}),formatNumber:_propTypes.default.func,formatDateTime:_propTypes.default.func}).isRequired,children:_propTypes.default.node.isRequired};EuiContext.__docgenInfo={description:"",methods:[],displayName:"EuiContext",props:{i18n:{defaultValue:{value:"{}",computed:false},type:{name:"shape",value:{mapping:{name:"shape",value:{},required:false},formatNumber:{name:"func",required:false},formatDateTime:{name:"func",required:false}}},required:false,description:""},children:{type:{name:"node"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.processStringToChildren=processStringToChildren;__webpack_require__(7);__webpack_require__(8);var _react=__webpack_require__(0);var _lodash_predicates=__webpack_require__(569);var _reactIs=__webpack_require__(1095);function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function isPrimitive(value){return(0,_lodash_predicates.isBoolean)(value)||(0,_lodash_predicates.isString)(value)||(0,_lodash_predicates.isNumber)(value)}function hasPropName(child){return"object"===_typeof(child)&&child.hasOwnProperty("propName")}function processStringToChildren(input,values){var children=[];var child;function appendCharToChild(char){void 0===child?child=char:"string"===typeof child?child+=char:hasPropName(child)&&(child.propName=child.propName+char)}function appendValueToChildren(value){if(void 0===value)return;(0,_reactIs.isElement)(value)?children.push((0,_react.cloneElement)(value,{key:children.length})):hasPropName(value)||children.push(value)}var encounteredNonPrimitive=false;for(var i=0;i<input.length;i++){var char=input[i];if("\\"===char){var nextChar=input[i+1];var charToAdd=char;if("{"===nextChar||"}"===nextChar){i+=1;charToAdd=input[i]}appendCharToChild(charToAdd)}else if("{"===char){appendValueToChildren(child);child={propName:""}}else if("}"===char){var _propName=child.propName;if(!values.hasOwnProperty(_propName))throw new Error('Key "'.concat(_propName,'" not found in ').concat(JSON.stringify(values,null,2)));var propValue=values[_propName];encounteredNonPrimitive=encounteredNonPrimitive||!isPrimitive(propValue);appendValueToChildren(propValue);child=void 0}else appendCharToChild(char)}appendValueToChildren(child);return encounteredNonPrimitive?children:children.join("")}},function(module,exports,__webpack_require__){"use strict";true;module.exports=__webpack_require__(1096)},function(module,exports,__webpack_require__){"use strict";
/** @license React v16.3.2
 * react-is.production.min.js
 *
 * Copyright (c) 2013-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */Object.defineProperty(exports,"__esModule",{value:!0});var b="function"===typeof Symbol&&Symbol["for"],c=b?Symbol["for"]("react.element"):60103,d=b?Symbol["for"]("react.portal"):60106,e=b?Symbol["for"]("react.fragment"):60107,f=b?Symbol["for"]("react.strict_mode"):60108,g=b?Symbol["for"]("react.provider"):60109,h=b?Symbol["for"]("react.context"):60110,k=b?Symbol["for"]("react.async_mode"):60111,l=b?Symbol["for"]("react.forward_ref"):60112;function m(a){if("object"===typeof a&&null!==a){var n=a.$$typeof;switch(n){case c:switch(a=a.type,a){case k:case e:case f:return a;default:switch(a=a&&a.$$typeof,a){case h:case l:case g:return a;default:return n}}case d:return n}}}exports.typeOf=m;exports.AsyncMode=k;exports.ContextConsumer=h;exports.ContextProvider=g;exports.Element=c;exports.ForwardRef=l;exports.Fragment=e;exports.Portal=d;exports.StrictMode=f;exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===k||a===f||"object"===typeof a&&null!==a&&(a.$$typeof===g||a.$$typeof===h||a.$$typeof===l)};exports.isAsyncMode=function(a){return m(a)===k};exports.isContextConsumer=function(a){return m(a)===h};exports.isContextProvider=function(a){return m(a)===g};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return m(a)===l};exports.isFragment=function(a){return m(a)===e};exports.isPortal=function(a){return m(a)===d};exports.isStrictMode=function(a){return m(a)===f}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiI18nNumber=void 0;__webpack_require__(2);var _propTypes=_interopRequireDefault(__webpack_require__(1));__webpack_require__(3);var _react=_interopRequireDefault(__webpack_require__(0));var _context=__webpack_require__(385);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var defaultFormatter=new Intl.NumberFormat("en");function defaultFormatNumber(value){return defaultFormatter.format(value)}function hasValues(x){return null!=x.values}var EuiI18nNumber=function EuiI18nNumber(props){return _react.default.createElement(_context.EuiI18nConsumer,null,function(i18nConfig){var formatNumber=i18nConfig.formatNumber||defaultFormatNumber;if(hasValues(props))return props.children(props.values.map(function(value){return formatNumber(value)}));var formattedValue=(formatNumber||defaultFormatNumber)(props.value);return props.children?props.children(formattedValue):formattedValue})};exports.EuiI18nNumber=EuiI18nNumber;EuiI18nNumber.propTypes={value:_propTypes.default.number,children:_propTypes.default.oneOfType([_propTypes.default.func,_propTypes.default.func.isRequired]),values:_propTypes.default.arrayOf(_propTypes.default.number.isRequired)};EuiI18nNumber.__docgenInfo={description:"",methods:[],displayName:"EuiI18nNumber",props:{value:{type:{name:"number"},required:false,description:""},children:{type:{name:"union",value:[{name:"func"},{name:"func"}]},required:false,description:""},values:{type:{name:"arrayOf",value:{name:"number"}},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiBreadcrumbs=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _link=__webpack_require__(284);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var limitBreadcrumbs=function limitBreadcrumbs(breadcrumbs,max){var breadcrumbsAtStart=[];var breadcrumbsAtEnd=[];var limit=Math.min(max,breadcrumbs.length);for(var i=0;i<limit;i++){var isEven=i%2===0;var normalizedIndex=Math.floor(.5*i);var indexOfBreadcrumb=isEven?breadcrumbs.length-1-normalizedIndex:normalizedIndex;var breadcrumb=breadcrumbs[indexOfBreadcrumb];isEven?breadcrumbsAtEnd.unshift(breadcrumb):breadcrumbsAtStart.push(breadcrumb)}max<breadcrumbs.length&&breadcrumbsAtStart.push(_react.default.createElement(EuiBreadcrumbCollapsed,{key:"collapsed"}));return breadcrumbsAtStart.concat(breadcrumbsAtEnd)};var EuiBreadcrumbCollapsed=function EuiBreadcrumbCollapsed(){return _react.default.createElement(_react.Fragment,null,_react.default.createElement("div",{className:"euiBreadcrumb euiBreadcrumb--collapsed"},"…"),_react.default.createElement(EuiBreadcrumbSeparator,null))};var EuiBreadcrumbSeparator=function EuiBreadcrumbSeparator(){return _react.default.createElement("div",{className:"euiBreadcrumbSeparator"})};var EuiBreadcrumbs=function EuiBreadcrumbs(_ref){var breadcrumbs=_ref.breadcrumbs,className=_ref.className,responsive=_ref.responsive,truncate=_ref.truncate,max=_ref.max,rest=_objectWithoutProperties(_ref,["breadcrumbs","className","responsive","truncate","max"]);var breadcrumbElements=breadcrumbs.map(function(breadcrumb,index){var text=breadcrumb.text,href=breadcrumb.href,onClick=breadcrumb.onClick,truncate=breadcrumb.truncate,breadcrumbClassName=breadcrumb.className,breadcrumbRest=_objectWithoutProperties(breadcrumb,["text","href","onClick","truncate","className"]);var isLastBreadcrumb=index===breadcrumbs.length-1;var breadcrumbClasses=(0,_classnames.default)("euiBreadcrumb",breadcrumbClassName,{"euiBreadcrumb--last":isLastBreadcrumb,"euiBreadcrumb--truncate":truncate});var link;link=isLastBreadcrumb?_react.default.createElement("span",_extends({className:breadcrumbClasses,title:text,"aria-current":"page"},breadcrumbRest),text):_react.default.createElement(_link.EuiLink,_extends({color:"subdued",href:href,onClick:onClick,className:breadcrumbClasses,title:text},breadcrumbRest),text);var separator;isLastBreadcrumb||(separator=_react.default.createElement(EuiBreadcrumbSeparator,null));return _react.default.createElement(_react.Fragment,{key:index},link,separator)});var limitedBreadcrumbs=max?limitBreadcrumbs(breadcrumbElements,max):breadcrumbElements;var classes=(0,_classnames.default)("euiBreadcrumbs",className,{"euiBreadcrumbs--truncate":truncate,"euiBreadcrumbs--responsive":responsive});return _react.default.createElement("nav",_extends({"aria-label":"breadcrumb",className:classes},rest),limitedBreadcrumbs)};exports.EuiBreadcrumbs=EuiBreadcrumbs;EuiBreadcrumbs.propTypes={className:_propTypes.default.string,responsive:_propTypes.default.bool,truncate:_propTypes.default.bool,max:_propTypes.default.number,breadcrumbs:_propTypes.default.arrayOf(_propTypes.default.shape({text:_propTypes.default.node.isRequired,href:_propTypes.default.string,onClick:_propTypes.default.func,truncate:_propTypes.default.bool})).isRequired};EuiBreadcrumbs.defaultProps={responsive:true,truncate:true,max:5};EuiBreadcrumbs.__docgenInfo={description:"",methods:[],displayName:"EuiBreadcrumbs",props:{responsive:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Hides left most breadcrumbs as window gets smaller"},truncate:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Forces all breadcrumbs to single line and\ntruncates each breadcrumb to a particular width,\nexcept for the last item"},max:{defaultValue:{value:"5",computed:false},type:{name:"number"},required:false,description:"Condenses the inner items past the maximum set here\ninto a single ellipses item"},className:{type:{name:"string"},required:false,description:""},breadcrumbs:{type:{name:"arrayOf",value:{name:"shape",value:{text:{name:"node",required:true},href:{name:"string",required:false},onClick:{name:"func",required:false},truncate:{name:"bool",required:false}}}},required:true,description:"The array of individual breadcrumbs, takes the following props.\n`text` (node) (required): visible label of the breadcrumb,\n`href` or `onClick`: provide only one (last breadcrumb will not apply either),\n`truncate` (bool): Force a max-width on the breadcrumb text"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiLink=exports.COLORS=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _services=__webpack_require__(25);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var colorsToClassNameMap={primary:"euiLink--primary",subdued:"euiLink--subdued",secondary:"euiLink--secondary",accent:"euiLink--accent",danger:"euiLink--danger",warning:"euiLink--warning",ghost:"euiLink--ghost"};var COLORS=Object.keys(colorsToClassNameMap);exports.COLORS=COLORS;var EuiLink=function EuiLink(_ref){var children=_ref.children,color=_ref.color,className=_ref.className,href=_ref.href,target=_ref.target,rel=_ref.rel,type=_ref.type,onClick=_ref.onClick,rest=_objectWithoutProperties(_ref,["children","color","className","href","target","rel","type","onClick"]);var classes=(0,_classnames.default)("euiLink",colorsToClassNameMap[color],className);if(void 0===href)return _react.default.createElement("button",_extends({className:classes,type:type,onClick:onClick},rest),children);var secureRel=(0,_services.getSecureRelForTarget)({href:href,target:target,rel:rel});return _react.default.createElement("a",_extends({className:classes,href:href,target:target,rel:secureRel,onClick:onClick},rest),children)};exports.EuiLink=EuiLink;EuiLink.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,href:_propTypes.default.string,target:_propTypes.default.string,rel:_propTypes.default.string,onClick:_propTypes.default.func,type:_propTypes.default.string,color:_propTypes.default.oneOf(COLORS)};EuiLink.defaultProps={color:"primary",type:"button"};EuiLink.__docgenInfo={description:"",methods:[],displayName:"EuiLink",props:{color:{defaultValue:{value:"'primary'",computed:false},type:{name:"enum",value:[{value:'"primary"',computed:false},{value:'"subdued"',computed:false},{value:'"secondary"',computed:false},{value:'"accent"',computed:false},{value:'"danger"',computed:false},{value:'"warning"',computed:false},{value:'"ghost"',computed:false}]},required:false,description:""},type:{defaultValue:{value:"'button'",computed:false},type:{name:"string"},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},href:{type:{name:"string"},required:false,description:""},target:{type:{name:"string"},required:false,description:""},rel:{type:{name:"string"},required:false,description:""},onClick:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";var toObject=__webpack_require__(151);var toAbsoluteIndex=__webpack_require__(547);var toLength=__webpack_require__(180);module.exports=function fill(value){var O=toObject(this);var length=toLength(O.length);var aLen=arguments.length;var index=toAbsoluteIndex(aLen>1?arguments[1]:void 0,length);var end=aLen>2?arguments[2]:void 0;var endPos=void 0===end?length:toAbsoluteIndex(end,length);while(endPos>index)O[index++]=value;return O}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiLoadingKibana=exports.SIZES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var sizeToClassNameMap={m:"euiLoadingKibana--medium",l:"euiLoadingKibana--large",xl:"euiLoadingKibana--xLarge"};var SIZES=Object.keys(sizeToClassNameMap);exports.SIZES=SIZES;var EuiLoadingKibana=function EuiLoadingKibana(_ref){var children=_ref.children,size=_ref.size,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","size","className"]);var classes=(0,_classnames.default)("euiLoadingKibana",sizeToClassNameMap[size],className);return _react.default.createElement("div",_extends({className:classes},rest),_react.default.createElement("div",{className:"euiLoadingKibana__icon"},_react.default.createElement(_icon.EuiIcon,{type:"logoKibana",size:size})),children)};exports.EuiLoadingKibana=EuiLoadingKibana;EuiLoadingKibana.propTypes={size:_propTypes.default.oneOf(SIZES)};EuiLoadingKibana.__docgenInfo={description:"",methods:[],displayName:"EuiLoadingKibana",props:{size:{type:{name:"enum",value:[{value:'"m"',computed:false},{value:'"l"',computed:false},{value:'"xl"',computed:false}]},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiLoadingSpinner=exports.SIZES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var sizeToClassNameMap={s:"euiLoadingSpinner--small",m:"euiLoadingSpinner--medium",l:"euiLoadingSpinner--large",xl:"euiLoadingSpinner--xLarge"};var SIZES=Object.keys(sizeToClassNameMap);exports.SIZES=SIZES;var EuiLoadingSpinner=function EuiLoadingSpinner(_ref){var children=_ref.children,size=_ref.size,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","size","className"]);var classes=(0,_classnames.default)("euiLoadingSpinner",sizeToClassNameMap[size],className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiLoadingSpinner=EuiLoadingSpinner;EuiLoadingSpinner.propTypes={size:_propTypes.default.oneOf(SIZES)};EuiLoadingSpinner.__docgenInfo={description:"",methods:[],displayName:"EuiLoadingSpinner",props:{size:{type:{name:"enum",value:[{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false},{value:'"xl"',computed:false}]},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiButtonEmpty=exports.FLUSH_TYPES=exports.ICON_SIDES=exports.SIZES=exports.COLORS=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _loading=__webpack_require__(183);var _services=__webpack_require__(25);var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var colorToClassNameMap={primary:"euiButtonEmpty--primary",danger:"euiButtonEmpty--danger",disabled:"euiButtonEmpty--disabled",text:"euiButtonEmpty--text",ghost:"euiButtonEmpty--ghost"};var COLORS=Object.keys(colorToClassNameMap);exports.COLORS=COLORS;var sizeToClassNameMap={xs:"euiButtonEmpty--xSmall",s:"euiButtonEmpty--small",l:"euiButtonEmpty--large"};var SIZES=Object.keys(sizeToClassNameMap);exports.SIZES=SIZES;var iconSideToClassNameMap={left:"",right:"euiButtonEmpty--iconRight"};var ICON_SIDES=Object.keys(iconSideToClassNameMap);exports.ICON_SIDES=ICON_SIDES;var flushTypeToClassNameMap={left:"euiButtonEmpty--flushLeft",right:"euiButtonEmpty--flushRight"};var FLUSH_TYPES=Object.keys(flushTypeToClassNameMap);exports.FLUSH_TYPES=FLUSH_TYPES;var EuiButtonEmpty=function EuiButtonEmpty(_ref){var children=_ref.children,className=_ref.className,iconType=_ref.iconType,iconSide=_ref.iconSide,color=_ref.color,size=_ref.size,flush=_ref.flush,isDisabled=_ref.isDisabled,isLoading=_ref.isLoading,href=_ref.href,target=_ref.target,rel=_ref.rel,type=_ref.type,buttonRef=_ref.buttonRef,contentProps=_ref.contentProps,textProps=_ref.textProps,rest=_objectWithoutProperties(_ref,["children","className","iconType","iconSide","color","size","flush","isDisabled","isLoading","href","target","rel","type","buttonRef","contentProps","textProps"]);isDisabled=!!isLoading||isDisabled;var classes=(0,_classnames.default)("euiButtonEmpty",colorToClassNameMap[color],sizeToClassNameMap[size],iconSideToClassNameMap[iconSide],flushTypeToClassNameMap[flush],className);var contentClassNames=(0,_classnames.default)("euiButtonEmpty__content",contentProps&&contentProps.className);var textClassNames=(0,_classnames.default)("euiButtonEmpty__text",textProps&&textProps.className);var buttonIcon;isLoading?buttonIcon=_react.default.createElement(_loading.EuiLoadingSpinner,{className:"euiButton__spinner",size:"m"}):iconType&&(buttonIcon=_react.default.createElement(_icon.EuiIcon,{className:"euiButtonEmpty__icon",type:iconType,size:"m","aria-hidden":"true"}));var innerNode=_react.default.createElement("span",_extends({},contentProps,{className:contentClassNames}),buttonIcon,_react.default.createElement("span",_extends({},textProps,{className:textClassNames}),children));if(href&&!isDisabled){var secureRel=(0,_services.getSecureRelForTarget)({href:href,target:target,rel:rel});return _react.default.createElement("a",_extends({className:classes,href:href,target:target,rel:secureRel,ref:buttonRef},rest),innerNode)}return _react.default.createElement("button",_extends({disabled:isDisabled,className:classes,type:type,ref:buttonRef},rest),innerNode)};exports.EuiButtonEmpty=EuiButtonEmpty;EuiButtonEmpty.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,iconType:_propTypes.default.oneOf(_icon.ICON_TYPES),iconSide:_propTypes.default.oneOf(ICON_SIDES),color:_propTypes.default.oneOf(COLORS),size:_propTypes.default.oneOf(SIZES),flush:_propTypes.default.oneOf(FLUSH_TYPES),isDisabled:_propTypes.default.bool,href:_propTypes.default.string,target:_propTypes.default.string,rel:_propTypes.default.string,onClick:_propTypes.default.func,isLoading:_propTypes.default.bool,type:_propTypes.default.string,buttonRef:_propTypes.default.func,contentProps:_propTypes.default.object,textProps:_propTypes.default.object};EuiButtonEmpty.defaultProps={type:"button",iconSide:"left",color:"primary"};EuiButtonEmpty.__docgenInfo={description:"",methods:[],displayName:"EuiButtonEmpty",props:{type:{defaultValue:{value:"'button'",computed:false},type:{name:"string"},required:false,description:""},iconSide:{defaultValue:{value:"'left'",computed:false},type:{name:"enum",value:[{value:'"left"',computed:false},{value:'"right"',computed:false}]},required:false,description:""},color:{defaultValue:{value:"'primary'",computed:false},type:{name:"enum",value:[{value:'"primary"',computed:false},{value:'"danger"',computed:false},{value:'"disabled"',computed:false},{value:'"text"',computed:false},{value:'"ghost"',computed:false}]},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},iconType:{type:{name:"enum",computed:true,value:"ICON_TYPES"},required:false,description:""},size:{type:{name:"enum",value:[{value:'"xs"',computed:false},{value:'"s"',computed:false},{value:'"l"',computed:false}]},required:false,description:""},flush:{type:{name:"enum",value:[{value:'"left"',computed:false},{value:'"right"',computed:false}]},required:false,description:""},isDisabled:{type:{name:"bool"},required:false,description:""},href:{type:{name:"string"},required:false,description:""},target:{type:{name:"string"},required:false,description:""},rel:{type:{name:"string"},required:false,description:""},onClick:{type:{name:"func"},required:false,description:""},isLoading:{type:{name:"bool"},required:false,description:"Adds/swaps for loading spinner & disables"},buttonRef:{type:{name:"func"},required:false,description:""},contentProps:{type:{name:"object"},required:false,description:"Passes props to `euiButtonEmpty__content` span"},textProps:{type:{name:"object"},required:false,description:"Passes props to `euiButtonEmpty__text` span"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiButtonIcon",{enumerable:true,get:function get(){return _button_icon.EuiButtonIcon}});var _button_icon=__webpack_require__(592)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiButtonToggle=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _toggle=__webpack_require__(387);var _button=__webpack_require__(589);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiButtonToggle=function EuiButtonToggle(_ref){var className=_ref.className,color=_ref.color,isDisabled=_ref.isDisabled,isEmpty=_ref.isEmpty,isIconOnly=_ref.isIconOnly,isSelected=_ref.isSelected,label=_ref.label,name=_ref.name,onChange=_ref.onChange,toggleClassName=_ref.toggleClassName,type=_ref.type,value=_ref.value,rest=_objectWithoutProperties(_ref,["className","color","isDisabled","isEmpty","isIconOnly","isSelected","label","name","onChange","toggleClassName","type","value"]);var classes=(0,_classnames.default)("euiButtonToggle",{"euiButtonToggle--isIconOnly":isIconOnly,"euiButtonToggle--isEmpty":isEmpty},className);var wrapperClasses=(0,_classnames.default)("euiButtonToggle__wrapper",{"euiButtonToggle--isDisabled":isDisabled},toggleClassName);var buttonContent=isIconOnly?"":label;return _react.default.createElement(_toggle.EuiToggle,{className:wrapperClasses,inputClassName:"euiButtonToggle__input",checked:isSelected,isDisabled:isDisabled,label:label,name:name,onChange:onChange,type:type,title:label,value:value},_react.default.createElement(_button.EuiButton,_extends({tabIndex:"-1",className:classes,color:color,disabled:isDisabled,size:isIconOnly?"s":void 0},rest),buttonContent))};exports.EuiButtonToggle=EuiButtonToggle;EuiButtonToggle.propTypes={className:_propTypes.default.string,label:_propTypes.default.string.isRequired,onChange:_propTypes.default.func,color:_propTypes.default.string,isDisabled:_propTypes.default.bool,isIconOnly:_propTypes.default.bool,isEmpty:_propTypes.default.bool,toggleClassName:_propTypes.default.string,type:_propTypes.default.oneOf(_toggle.TOGGLE_TYPES)};EuiButtonToggle.defaultProps={color:"primary"};EuiButtonToggle.__docgenInfo={description:"",methods:[],displayName:"EuiButtonToggle",props:{color:{defaultValue:{value:"'primary'",computed:false},type:{name:"string"},required:false,description:"See `EuiButton`"},className:{type:{name:"string"},required:false,description:""},label:{type:{name:"string"},required:true,description:"Button label, which is also passed to `EuiToggle` as the input's label"},onChange:{type:{name:"func"},required:false,description:""},isDisabled:{type:{name:"bool"},required:false,description:""},isIconOnly:{type:{name:"bool"},required:false,description:"Hides the label from the button content and only displays the icon"},isEmpty:{type:{name:"bool"},required:false,description:"Simulates a `EuiButtonEmpty`"},toggleClassName:{type:{name:"string"},required:false,description:"Classnames to add to `EuiToggle` instead of the `EuiButton`"},type:{type:{name:"enum",computed:true,value:"TOGGLE_TYPES"},required:false,description:"Is the button a single action or part of a group (multi)?\nUsed primarily for `EuiButtonGroup`"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiToggle=exports.TYPES=void 0;__webpack_require__(5);__webpack_require__(19);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var typeToInputTypeMap={single:"radio",multi:"checkbox"};var TYPES=Object.keys(typeToInputTypeMap);exports.TYPES=TYPES;var EuiToggle=function EuiToggle(_ref){var id=_ref.id,className=_ref.className,checked=_ref.checked,children=_ref.children,inputClassName=_ref.inputClassName,isDisabled=_ref.isDisabled,label=_ref.label,name=_ref.name,onChange=_ref.onChange,title=_ref.title,type=_ref.type,value=_ref.value,rest=_objectWithoutProperties(_ref,["id","className","checked","children","inputClassName","isDisabled","label","name","onChange","title","type","value"]);var classes=(0,_classnames.default)("euiToggle",{"euiToggle--checked":checked},className);var inputClasses=(0,_classnames.default)("euiToggle__input",inputClassName);return _react.default.createElement("div",_extends({className:classes},rest),_react.default.createElement("input",{id:id,className:inputClasses,"aria-label":label,checked:checked,disabled:isDisabled,name:name,onChange:onChange,title:title,type:typeToInputTypeMap[type],value:value}),children)};exports.EuiToggle=EuiToggle;EuiToggle.propTypes={id:_propTypes.default.string,checked:_propTypes.default.bool,onChange:_propTypes.default.func,isDisabled:_propTypes.default.bool,children:_propTypes.default.node,type:_propTypes.default.oneOf(TYPES),label:_propTypes.default.string.isRequired,inputClassName:_propTypes.default.string};EuiToggle.defaultProps={type:"multi"};EuiToggle.__docgenInfo={description:"",methods:[],displayName:"EuiToggle",props:{type:{defaultValue:{value:"'multi'",computed:false},type:{name:"enum",value:[{value:'"single"',computed:false},{value:'"multi"',computed:false}]},required:false,description:"Determines the input type based on multiple or single item(s)"},id:{type:{name:"string"},required:false,description:""},checked:{type:{name:"bool"},required:false,description:"Initial state of the toggle"},onChange:{type:{name:"func"},required:false,description:"For handling the onChange event of the input"},isDisabled:{type:{name:"bool"},required:false,description:""},children:{type:{name:"node"},required:false,description:"Use your own logic to pass the child you want according to\nthe checked state of your component"},label:{type:{name:"string"},required:true,description:"What would typically be the input's label. Required for accessibility."},inputClassName:{type:{name:"string"},required:false,description:"Additional classNames for the input itself"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiButtonGroup",{enumerable:true,get:function get(){return _button_group.EuiButtonGroup}});var _button_group=__webpack_require__(1108)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiButtonGroup=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _accessibility=__webpack_require__(73);var _button_toggle=__webpack_require__(593);var _toggle=__webpack_require__(387);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiButtonGroup=function EuiButtonGroup(_ref){var className=_ref.className,buttonSize=_ref.buttonSize,color=_ref.color,idSelected=_ref.idSelected,idToSelectedMap=_ref.idToSelectedMap,isDisabled=_ref.isDisabled,isFullWidth=_ref.isFullWidth,isIconOnly=_ref.isIconOnly,name=_ref.name,legend=_ref.legend,onChange=_ref.onChange,options=_ref.options,type=_ref.type,rest=_objectWithoutProperties(_ref,["className","buttonSize","color","idSelected","idToSelectedMap","isDisabled","isFullWidth","isIconOnly","name","legend","onChange","options","type"]);var classes=(0,_classnames.default)("euiButtonGroup",{"euiButtonGroup--fullWidth":isFullWidth},className);var legendNode;legend&&(legendNode=_react.default.createElement(_accessibility.EuiScreenReaderOnly,null,_react.default.createElement("legend",null,legend)));return _react.default.createElement("fieldset",null,legendNode,_react.default.createElement("div",_extends({className:classes},rest),options.map(function(option,index){var isSelectedState;isSelectedState="multi"===type?idToSelectedMap[option.id]||false:option.id===idSelected;return _react.default.createElement(_button_toggle.EuiButtonToggle,{className:"euiButtonGroup__button",color:color,fill:isSelectedState,iconSide:option.iconSide,iconType:option.iconType,id:option.id,isDisabled:isDisabled||option.isDisabled,isIconOnly:isIconOnly,isSelected:isSelectedState,key:index,label:option.label,name:option.name||name,onChange:onChange.bind(null,option.id,option.value),size:buttonSize,toggleClassName:"euiButtonGroup__toggle",type:type,value:option.value})})))};exports.EuiButtonGroup=EuiButtonGroup;EuiButtonGroup.propTypes={options:_propTypes.default.arrayOf(_propTypes.default.shape({id:_propTypes.default.string.isRequired,label:_propTypes.default.string.isRequired,isDisabled:_propTypes.default.bool})).isRequired,onChange:_propTypes.default.func.isRequired,color:_propTypes.default.string,buttonSize:_propTypes.default.string,isIconOnly:_propTypes.default.bool,isDisabled:_propTypes.default.bool,isFullWidth:_propTypes.default.bool,type:_propTypes.default.oneOf(_toggle.TOGGLE_TYPES),idSelected:_propTypes.default.string,idToSelectedMap:_propTypes.default.objectOf(_propTypes.default.bool),legend:_propTypes.default.string};EuiButtonGroup.defaultProps={buttonSize:"s",color:"text",idToSelectedMap:{},options:[],type:"single"};EuiButtonGroup.__docgenInfo={description:"",methods:[],displayName:"EuiButtonGroup",props:{buttonSize:{defaultValue:{value:"'s'",computed:false},type:{name:"string"},required:false,description:"Most button groups should be the small button size,\nbut if you NEED to bump it to regular, change this to 'm'"},color:{defaultValue:{value:"'text'",computed:false},type:{name:"string"},required:false,description:"See `EuiButton`"},idToSelectedMap:{defaultValue:{value:"{}",computed:false},type:{name:"objectOf",value:{name:"bool"}},required:false,description:'Map of ids of selected options for `type="multi"`'},options:{defaultValue:{value:"[]",computed:false},type:{name:"arrayOf",value:{name:"shape",value:{id:{name:"string",required:true},label:{name:"string",required:true},isDisabled:{name:"bool",required:false}}}},required:false,description:""},type:{defaultValue:{value:"'single'",computed:false},type:{name:"enum",computed:true,value:"TOGGLE_TYPES"},required:false,description:'Can only a "single" option be selected or "multi"ple?'},onChange:{type:{name:"func"},required:true,description:""},isIconOnly:{type:{name:"bool"},required:false,description:"Hides the label from the button content and only displays the icon"},isDisabled:{type:{name:"bool"},required:false,description:""},isFullWidth:{type:{name:"bool"},required:false,description:"Makes the whole group 100% of it's parent"},idSelected:{type:{name:"string"},required:false,description:'Id of selected option for `type="single"`'},legend:{type:{name:"string"},required:false,description:"Adds a hidden legend to the group for accessiblity"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiCallOut=exports.SIZES=exports.COLORS=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _icon=__webpack_require__(20);var _text=__webpack_require__(74);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var colorToClassNameMap={primary:"euiCallOut--primary",success:"euiCallOut--success",warning:"euiCallOut--warning",danger:"euiCallOut--danger"};var COLORS=Object.keys(colorToClassNameMap);exports.COLORS=COLORS;var sizeToClassNameMap={s:"euiCallOut--small",m:""};var SIZES=Object.keys(sizeToClassNameMap);exports.SIZES=SIZES;var EuiCallOut=function EuiCallOut(_ref){var title=_ref.title,color=_ref.color,size=_ref.size,iconType=_ref.iconType,children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["title","color","size","iconType","children","className"]);var classes=(0,_classnames.default)("euiCallOut",colorToClassNameMap[color],sizeToClassNameMap[size],className);var headerIcon;iconType&&(headerIcon=_react.default.createElement(_icon.EuiIcon,{className:"euiCallOutHeader__icon",type:iconType,size:"m","aria-hidden":"true"}));var optionalChildren;children&&"s"===size?optionalChildren=_react.default.createElement(_text.EuiText,{size:"xs"},children):children&&(optionalChildren=_react.default.createElement(_text.EuiText,{size:"s"},children));return _react.default.createElement("div",_extends({className:classes},rest),_react.default.createElement("div",{className:"euiCallOutHeader"},headerIcon,_react.default.createElement("span",{className:"euiCallOutHeader__title"},title)),optionalChildren)};exports.EuiCallOut=EuiCallOut;EuiCallOut.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,title:_propTypes.default.node,iconType:_propTypes.default.oneOf(_icon.ICON_TYPES),color:_propTypes.default.oneOf(COLORS),size:_propTypes.default.oneOf(SIZES)};EuiCallOut.defaultProps={color:"primary",size:"m"};EuiCallOut.__docgenInfo={description:"",methods:[],displayName:"EuiCallOut",props:{color:{defaultValue:{value:"'primary'",computed:false},type:{name:"enum",value:[{value:'"primary"',computed:false},{value:'"success"',computed:false},{value:'"warning"',computed:false},{value:'"danger"',computed:false}]},required:false,description:""},size:{defaultValue:{value:"'m'",computed:false},type:{name:"enum",value:[{value:'"s"',computed:false},{value:'"m"',computed:false}]},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},title:{type:{name:"node"},required:false,description:""},iconType:{type:{name:"enum",computed:true,value:"ICON_TYPES"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiCard",{enumerable:true,get:function get(){return _card.EuiCard}});Object.defineProperty(exports,"EuiCardGraphic",{enumerable:true,get:function get(){return _card_graphic.EuiCardGraphic}});var _card=__webpack_require__(1111);var _card_graphic=__webpack_require__(1112)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiCard=exports.LAYOUT_ALIGNMENTS=exports.ALIGNMENTS=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _services=__webpack_require__(25);var _text=__webpack_require__(74);var _title=__webpack_require__(113);var _beta_badge=__webpack_require__(283);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var textAlignToClassNameMap={left:"euiCard--leftAligned",center:"euiCard--centerAligned",right:"euiCard--rightAligned"};var ALIGNMENTS=Object.keys(textAlignToClassNameMap);exports.ALIGNMENTS=ALIGNMENTS;var layoutToClassNameMap={vertical:"",horizontal:"euiCard--horizontal"};var LAYOUT_ALIGNMENTS=Object.keys(layoutToClassNameMap);exports.LAYOUT_ALIGNMENTS=LAYOUT_ALIGNMENTS;var oneOfLayouts=_propTypes.default.oneOf(LAYOUT_ALIGNMENTS);var cardLayout=function cardLayout(props,propName,componentName){for(var _len=arguments.length,rest=new Array(_len>3?_len-3:0),_key=3;_key<_len;_key++)rest[_key-3]=arguments[_key];var oneOfResult=oneOfLayouts.apply(void 0,[props,propName,componentName].concat(rest));if(oneOfResult)return oneOfResult;if("horizontal"===props[propName]&&(props.image||props.footer))return new Error("".concat(componentName,": '").concat(propName," = horizontal' cannot be used in conjunction with 'image', 'footer', or 'textAlign'."))};var EuiCard=function EuiCard(_ref){var className=_ref.className,description=_ref.description,title=_ref.title,titleElement=_ref.titleElement,icon=_ref.icon,image=_ref.image,footer=_ref.footer,onClick=_ref.onClick,href=_ref.href,rel=_ref.rel,target=_ref.target,textAlign=_ref.textAlign,isClickable=_ref.isClickable,betaBadgeLabel=_ref.betaBadgeLabel,betaBadgeTooltipContent=_ref.betaBadgeTooltipContent,betaBadgeTitle=_ref.betaBadgeTitle,layout=_ref.layout,bottomGraphic=_ref.bottomGraphic,rest=_objectWithoutProperties(_ref,["className","description","title","titleElement","icon","image","footer","onClick","href","rel","target","textAlign","isClickable","betaBadgeLabel","betaBadgeTooltipContent","betaBadgeTitle","layout","bottomGraphic"]);var classes=(0,_classnames.default)("euiCard",textAlignToClassNameMap[textAlign],layoutToClassNameMap[layout],{"euiCard--isClickable":onClick||href||isClickable,"euiCard--hasBetaBadge":betaBadgeLabel,"euiCard--hasIcon":icon,"euiCard--hasBottomGraphic":bottomGraphic},className);var secureRel;href&&(secureRel=(0,_services.getSecureRelForTarget)({href:href,target:target,rel:rel}));var imageNode;image&&"vertical"===layout&&(imageNode=_react.default.createElement("img",{className:"euiCard__image",src:image,alt:""}));var iconNode;icon&&(iconNode=_react.default.cloneElement(icon,{className:(0,_classnames.default)(icon.props.className,"euiCard__icon")}));var OuterElement="div";href?OuterElement="a":onClick&&(OuterElement="button");var TitleElement=titleElement;"button"===OuterElement&&(TitleElement="span");var optionalCardTop;(imageNode||iconNode)&&(optionalCardTop=_react.default.createElement("span",{className:"euiCard__top"},imageNode,iconNode));var optionalBetaBadge;betaBadgeLabel&&(optionalBetaBadge=_react.default.createElement("span",{className:"euiCard__betaBadgeWrapper"},_react.default.createElement(_beta_badge.EuiBetaBadge,{label:betaBadgeLabel,title:betaBadgeTitle,tooltipContent:betaBadgeTooltipContent,className:"euiCard__betaBadge"})));var optionalBottomGraphic;bottomGraphic&&(optionalBottomGraphic=_react.default.createElement("span",{className:"euiCard__graphic"},bottomGraphic));return _react.default.createElement(OuterElement,_extends({onClick:onClick,className:classes,href:href,target:target,rel:secureRel},rest),optionalBetaBadge,optionalCardTop,_react.default.createElement("span",{className:"euiCard__content"},_react.default.createElement(_title.EuiTitle,{className:"euiCard__title"},_react.default.createElement(TitleElement,null,title)),_react.default.createElement(_text.EuiText,{size:"s",className:"euiCard__description"},_react.default.createElement("p",null,description))),"vertical"===layout&&_react.default.createElement("span",{className:"euiCard__footer"},footer),optionalBottomGraphic)};exports.EuiCard=EuiCard;EuiCard.propTypes={className:_propTypes.default.string,title:_propTypes.default.node.isRequired,titleElement:_propTypes.default.oneOf(["h2","h3","h4","h5","h6","span"]),description:_propTypes.default.node.isRequired,icon:_propTypes.default.node,image:_propTypes.default.string,footer:_propTypes.default.node,onClick:_propTypes.default.func,href:_propTypes.default.string,target:_propTypes.default.string,rel:_propTypes.default.string,textAlign:_propTypes.default.oneOf(ALIGNMENTS),layout:cardLayout,betaBadgeLabel:_propTypes.default.string,betaBadgeTooltipContent:_propTypes.default.node,betaBadgeTitle:_propTypes.default.string,bottomGraphic:_propTypes.default.node};EuiCard.defaultProps={textAlign:"center",layout:"vertical",titleElement:"span"};EuiCard.__docgenInfo={description:"",methods:[],displayName:"EuiCard",props:{textAlign:{defaultValue:{value:"'center'",computed:false},type:{name:"enum",value:[{value:'"left"',computed:false},{value:'"center"',computed:false},{value:'"right"',computed:false}]},required:false,description:""},layout:{defaultValue:{value:"'vertical'",computed:false},type:{name:"custom",raw:"cardLayout"},required:false,description:'Change to "horizontal" if you need the icon to be left of the content'},titleElement:{defaultValue:{value:"'span'",computed:false},type:{name:"enum",value:[{value:"'h2'",computed:false},{value:"'h3'",computed:false},{value:"'h4'",computed:false},{value:"'h5'",computed:false},{value:"'h6'",computed:false},{value:"'span'",computed:false}]},required:false,description:"Determines the title's heading element. Will force to 'span' if\nthe card is a button."},className:{type:{name:"string"},required:false,description:""},title:{type:{name:"node"},required:true,description:""},description:{type:{name:"node"},required:true,description:""},icon:{type:{name:"node"},required:false,description:"Requires a <EuiIcon> node"},image:{type:{name:"string"},required:false,description:"Accepts a url in string form"},footer:{type:{name:"node"},required:false,description:"Accepts any combination of elements"},onClick:{type:{name:"func"},required:false,description:"Use only if you want to forego a button in the footer and make the whole card clickable"},href:{type:{name:"string"},required:false,description:""},target:{type:{name:"string"},required:false,description:""},rel:{type:{name:"string"},required:false,description:""},betaBadgeLabel:{type:{name:"string"},required:false,description:'Add a badge to the card to label it as "Beta" or other non-GA state'},betaBadgeTooltipContent:{type:{name:"node"},required:false,description:"Add a description to the beta badge (will appear in a tooltip)"},betaBadgeTitle:{type:{name:"string"},required:false,description:"Optional title will be supplied as tooltip title or title attribute otherwise the label will be used"},bottomGraphic:{type:{name:"node"},required:false,description:"Add a decorative bottom graphic to the card.\nThis should be used sparingly, consult the Kibana Design team before use."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiCardGraphic=exports.GRAPHIC_COLORS=void 0;__webpack_require__(94);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var graphicColorsToCodes=[{color:"blue",start:"#0079A5",end:"#3185FC",path:"M3.79856147e-10,22.9906998 C127.450324,22.9906998 159.656579,4 213.348797,4 C267.041016,4 288.265625,13.4882812 700,17.0470661 L700,40 L108.569037,40 L0,40 L3.79856147e-10,22.9906998 Z",pathLight:"M1.35371469e-08,7.95601173 C127.450324,7.95601173 102.647209,17.9667644 174.198268,17.9667644 C245.749327,17.9667644 298.768469,2.23349117e-13 700,1.42108547e-14 L700,37 C700,38.6568542 358.656854,40 357,40 L108.569037,40 L3,40 C1.34314575,40 -3.74826549e-09,38.6568543 -4.14273948e-09,37 L1.35371469e-08,7.95601173 Z"},{color:"green",start:"#017F75",end:"#00B3A4",path:"M3.14689825e-06,13.6239758 C26.8316503,17.6239758 55.6152344,25 116.542969,25 C177.470703,25 263.972656,4 297.017578,4 C330.0625,4 348.589288,7.23392617 700.000003,9 L700.000003,40 L108.56904,40 L3.14689058e-06,40 L3.14689825e-06,13.6239758 Z",pathLight:"M3.1372994e-06,24.4746094 C127.450326,24.4746094 108.698941,3 180.25,3 C251.801058,3 298.76847,17.4941406 700,17.4941406 L700.000003,40 L108.569039,39.5058594 L3.01365718,39.9862837 C1.35682009,39.9938246 0.00757513054,38.6568059 3.42096185e-05,36.9999688 C1.34947659e-05,36.9954175 3.13729938e-06,36.9908661 3.13729938e-06,36.9863147 L3.1372994e-06,24.4746094 Z"},{color:"purple",start:"#490092",end:"#DD0A73",path:"M0,5 C85.1894531,9 157.96592,25.9853066 223.281971,25.9853638 C288.598022,25.9854211 306.490234,12.5448566 700,12.5448566 L700,40 L108.569037,40 L0,40 L0,5 Z",pathLight:"M700,21.4746094 L700,40 L1.76214598e-12,40 L1.12746648e-08,18.4941406 C9.35694419,18.5359805 41.1418261,21.0181774 102.519531,21.4746094 C163.897236,21.9310414 216.210205,5 260.105102,5 C304,5 339.77443,21.6752984 700,21.4746094 Z"}];var GRAPHIC_COLORS=graphicColorsToCodes.map(function(_ref){var color=_ref.color;return color});exports.GRAPHIC_COLORS=GRAPHIC_COLORS;var EuiCardGraphic=function EuiCardGraphic(_ref2){var color=_ref2.color;var graphicStartColor=graphicColorsToCodes.find(function(w){return w.color===color}).start;var graphicEndColor=graphicColorsToCodes.find(function(x){return x.color===color}).end;var graphicSVGPath=graphicColorsToCodes.find(function(y){return y.color===color}).path;var graphicSVGPathLight=graphicColorsToCodes.find(function(z){return z.color===color}).pathLight;return _react.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"40",viewBox:"0 0 300 40",preserveAspectRatio:"none"},_react.default.createElement("defs",null,_react.default.createElement("linearGradient",{id:"wave-".concat(color),x1:"0%",y1:"50%",y2:"50%"},_react.default.createElement("stop",{offset:"0%",stopColor:graphicStartColor}),_react.default.createElement("stop",{offset:"40%",stopColor:graphicEndColor}))),_react.default.createElement("g",{fill:"none",fillRule:"evenodd"},_react.default.createElement("path",{fill:"#C4C4C4",fillOpacity:".13",fillRule:"evenodd",d:graphicSVGPathLight}),_react.default.createElement("path",{fill:"url(#wave-".concat(color,")"),fillOpacity:".83",fillRule:"evenodd",d:graphicSVGPath})))};exports.EuiCardGraphic=EuiCardGraphic;EuiCardGraphic.propTypes={color:_propTypes.default.oneOf(GRAPHIC_COLORS)};EuiCardGraphic.defaultProps={color:"blue"};EuiCardGraphic.__docgenInfo={description:"",methods:[],displayName:"EuiCardGraphic",props:{color:{defaultValue:{value:"'blue'",computed:false},type:{name:"enum",computed:true,value:"GRAPHIC_COLORS"},required:false,description:"Determines the brand-driven color codes used in the SVG"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiCode=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _code_block=__webpack_require__(388);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiCode=function EuiCode(_ref){_ref.inline;var rest=_objectWithoutProperties(_ref,["inline"]);return _react.default.createElement(_code_block.EuiCodeBlockImpl,_extends({inline:true},rest))};exports.EuiCode=EuiCode;EuiCode.propTypes=_objectSpread({},_code_block.EuiCodeBlockImpl.propTypes);EuiCode.__docgenInfo={description:"",methods:[],displayName:"EuiCode",composes:["./_code_block"]}},function(module,exports,__webpack_require__){var hljs=__webpack_require__(1115);hljs.registerLanguage("1c",__webpack_require__(1116));hljs.registerLanguage("abnf",__webpack_require__(1117));hljs.registerLanguage("accesslog",__webpack_require__(1118));hljs.registerLanguage("actionscript",__webpack_require__(1119));hljs.registerLanguage("ada",__webpack_require__(1120));hljs.registerLanguage("apache",__webpack_require__(1121));hljs.registerLanguage("applescript",__webpack_require__(1122));hljs.registerLanguage("cpp",__webpack_require__(1123));hljs.registerLanguage("arduino",__webpack_require__(1124));hljs.registerLanguage("armasm",__webpack_require__(1125));hljs.registerLanguage("xml",__webpack_require__(1126));hljs.registerLanguage("asciidoc",__webpack_require__(1127));hljs.registerLanguage("aspectj",__webpack_require__(1128));hljs.registerLanguage("autohotkey",__webpack_require__(1129));hljs.registerLanguage("autoit",__webpack_require__(1130));hljs.registerLanguage("avrasm",__webpack_require__(1131));hljs.registerLanguage("awk",__webpack_require__(1132));hljs.registerLanguage("axapta",__webpack_require__(1133));hljs.registerLanguage("bash",__webpack_require__(1134));hljs.registerLanguage("basic",__webpack_require__(1135));hljs.registerLanguage("bnf",__webpack_require__(1136));hljs.registerLanguage("brainfuck",__webpack_require__(1137));hljs.registerLanguage("cal",__webpack_require__(1138));hljs.registerLanguage("capnproto",__webpack_require__(1139));hljs.registerLanguage("ceylon",__webpack_require__(1140));hljs.registerLanguage("clean",__webpack_require__(1141));hljs.registerLanguage("clojure",__webpack_require__(1142));hljs.registerLanguage("clojure-repl",__webpack_require__(1143));hljs.registerLanguage("cmake",__webpack_require__(1144));hljs.registerLanguage("coffeescript",__webpack_require__(1145));hljs.registerLanguage("coq",__webpack_require__(1146));hljs.registerLanguage("cos",__webpack_require__(1147));hljs.registerLanguage("crmsh",__webpack_require__(1148));hljs.registerLanguage("crystal",__webpack_require__(1149));hljs.registerLanguage("cs",__webpack_require__(1150));hljs.registerLanguage("csp",__webpack_require__(1151));hljs.registerLanguage("css",__webpack_require__(1152));hljs.registerLanguage("d",__webpack_require__(1153));hljs.registerLanguage("markdown",__webpack_require__(1154));hljs.registerLanguage("dart",__webpack_require__(1155));hljs.registerLanguage("delphi",__webpack_require__(1156));hljs.registerLanguage("diff",__webpack_require__(1157));hljs.registerLanguage("django",__webpack_require__(1158));hljs.registerLanguage("dns",__webpack_require__(1159));hljs.registerLanguage("dockerfile",__webpack_require__(1160));hljs.registerLanguage("dos",__webpack_require__(1161));hljs.registerLanguage("dsconfig",__webpack_require__(1162));hljs.registerLanguage("dts",__webpack_require__(1163));hljs.registerLanguage("dust",__webpack_require__(1164));hljs.registerLanguage("ebnf",__webpack_require__(1165));hljs.registerLanguage("elixir",__webpack_require__(1166));hljs.registerLanguage("elm",__webpack_require__(1167));hljs.registerLanguage("ruby",__webpack_require__(1168));hljs.registerLanguage("erb",__webpack_require__(1169));hljs.registerLanguage("erlang-repl",__webpack_require__(1170));hljs.registerLanguage("erlang",__webpack_require__(1171));hljs.registerLanguage("excel",__webpack_require__(1172));hljs.registerLanguage("fix",__webpack_require__(1173));hljs.registerLanguage("flix",__webpack_require__(1174));hljs.registerLanguage("fortran",__webpack_require__(1175));hljs.registerLanguage("fsharp",__webpack_require__(1176));hljs.registerLanguage("gams",__webpack_require__(1177));hljs.registerLanguage("gauss",__webpack_require__(1178));hljs.registerLanguage("gcode",__webpack_require__(1179));hljs.registerLanguage("gherkin",__webpack_require__(1180));hljs.registerLanguage("glsl",__webpack_require__(1181));hljs.registerLanguage("go",__webpack_require__(1182));hljs.registerLanguage("golo",__webpack_require__(1183));hljs.registerLanguage("gradle",__webpack_require__(1184));hljs.registerLanguage("groovy",__webpack_require__(1185));hljs.registerLanguage("haml",__webpack_require__(1186));hljs.registerLanguage("handlebars",__webpack_require__(1187));hljs.registerLanguage("haskell",__webpack_require__(1188));hljs.registerLanguage("haxe",__webpack_require__(1189));hljs.registerLanguage("hsp",__webpack_require__(1190));hljs.registerLanguage("htmlbars",__webpack_require__(1191));hljs.registerLanguage("http",__webpack_require__(1192));hljs.registerLanguage("hy",__webpack_require__(1193));hljs.registerLanguage("inform7",__webpack_require__(1194));hljs.registerLanguage("ini",__webpack_require__(1195));hljs.registerLanguage("irpf90",__webpack_require__(1196));hljs.registerLanguage("java",__webpack_require__(1197));hljs.registerLanguage("javascript",__webpack_require__(1198));hljs.registerLanguage("jboss-cli",__webpack_require__(1199));hljs.registerLanguage("json",__webpack_require__(1200));hljs.registerLanguage("julia",__webpack_require__(1201));hljs.registerLanguage("julia-repl",__webpack_require__(1202));hljs.registerLanguage("kotlin",__webpack_require__(1203));hljs.registerLanguage("lasso",__webpack_require__(1204));hljs.registerLanguage("ldif",__webpack_require__(1205));hljs.registerLanguage("leaf",__webpack_require__(1206));hljs.registerLanguage("less",__webpack_require__(1207));hljs.registerLanguage("lisp",__webpack_require__(1208));hljs.registerLanguage("livecodeserver",__webpack_require__(1209));hljs.registerLanguage("livescript",__webpack_require__(1210));hljs.registerLanguage("llvm",__webpack_require__(1211));hljs.registerLanguage("lsl",__webpack_require__(1212));hljs.registerLanguage("lua",__webpack_require__(1213));hljs.registerLanguage("makefile",__webpack_require__(1214));hljs.registerLanguage("mathematica",__webpack_require__(1215));hljs.registerLanguage("matlab",__webpack_require__(1216));hljs.registerLanguage("maxima",__webpack_require__(1217));hljs.registerLanguage("mel",__webpack_require__(1218));hljs.registerLanguage("mercury",__webpack_require__(1219));hljs.registerLanguage("mipsasm",__webpack_require__(1220));hljs.registerLanguage("mizar",__webpack_require__(1221));hljs.registerLanguage("perl",__webpack_require__(1222));hljs.registerLanguage("mojolicious",__webpack_require__(1223));hljs.registerLanguage("monkey",__webpack_require__(1224));hljs.registerLanguage("moonscript",__webpack_require__(1225));hljs.registerLanguage("n1ql",__webpack_require__(1226));hljs.registerLanguage("nginx",__webpack_require__(1227));hljs.registerLanguage("nimrod",__webpack_require__(1228));hljs.registerLanguage("nix",__webpack_require__(1229));hljs.registerLanguage("nsis",__webpack_require__(1230));hljs.registerLanguage("objectivec",__webpack_require__(1231));hljs.registerLanguage("ocaml",__webpack_require__(1232));hljs.registerLanguage("openscad",__webpack_require__(1233));hljs.registerLanguage("oxygene",__webpack_require__(1234));hljs.registerLanguage("parser3",__webpack_require__(1235));hljs.registerLanguage("pf",__webpack_require__(1236));hljs.registerLanguage("php",__webpack_require__(1237));hljs.registerLanguage("pony",__webpack_require__(1238));hljs.registerLanguage("powershell",__webpack_require__(1239));hljs.registerLanguage("processing",__webpack_require__(1240));hljs.registerLanguage("profile",__webpack_require__(1241));hljs.registerLanguage("prolog",__webpack_require__(1242));hljs.registerLanguage("protobuf",__webpack_require__(1243));hljs.registerLanguage("puppet",__webpack_require__(1244));hljs.registerLanguage("purebasic",__webpack_require__(1245));hljs.registerLanguage("python",__webpack_require__(1246));hljs.registerLanguage("q",__webpack_require__(1247));hljs.registerLanguage("qml",__webpack_require__(1248));hljs.registerLanguage("r",__webpack_require__(1249));hljs.registerLanguage("rib",__webpack_require__(1250));hljs.registerLanguage("roboconf",__webpack_require__(1251));hljs.registerLanguage("routeros",__webpack_require__(1252));hljs.registerLanguage("rsl",__webpack_require__(1253));hljs.registerLanguage("ruleslanguage",__webpack_require__(1254));hljs.registerLanguage("rust",__webpack_require__(1255));hljs.registerLanguage("scala",__webpack_require__(1256));hljs.registerLanguage("scheme",__webpack_require__(1257));hljs.registerLanguage("scilab",__webpack_require__(1258));hljs.registerLanguage("scss",__webpack_require__(1259));hljs.registerLanguage("shell",__webpack_require__(1260));hljs.registerLanguage("smali",__webpack_require__(1261));hljs.registerLanguage("smalltalk",__webpack_require__(1262));hljs.registerLanguage("sml",__webpack_require__(1263));hljs.registerLanguage("sqf",__webpack_require__(1264));hljs.registerLanguage("sql",__webpack_require__(1265));hljs.registerLanguage("stan",__webpack_require__(1266));hljs.registerLanguage("stata",__webpack_require__(1267));hljs.registerLanguage("step21",__webpack_require__(1268));hljs.registerLanguage("stylus",__webpack_require__(1269));hljs.registerLanguage("subunit",__webpack_require__(1270));hljs.registerLanguage("swift",__webpack_require__(1271));hljs.registerLanguage("taggerscript",__webpack_require__(1272));hljs.registerLanguage("yaml",__webpack_require__(1273));hljs.registerLanguage("tap",__webpack_require__(1274));hljs.registerLanguage("tcl",__webpack_require__(1275));hljs.registerLanguage("tex",__webpack_require__(1276));hljs.registerLanguage("thrift",__webpack_require__(1277));hljs.registerLanguage("tp",__webpack_require__(1278));hljs.registerLanguage("twig",__webpack_require__(1279));hljs.registerLanguage("typescript",__webpack_require__(1280));hljs.registerLanguage("vala",__webpack_require__(1281));hljs.registerLanguage("vbnet",__webpack_require__(1282));hljs.registerLanguage("vbscript",__webpack_require__(1283));hljs.registerLanguage("vbscript-html",__webpack_require__(1284));hljs.registerLanguage("verilog",__webpack_require__(1285));hljs.registerLanguage("vhdl",__webpack_require__(1286));hljs.registerLanguage("vim",__webpack_require__(1287));hljs.registerLanguage("x86asm",__webpack_require__(1288));hljs.registerLanguage("xl",__webpack_require__(1289));hljs.registerLanguage("xquery",__webpack_require__(1290));hljs.registerLanguage("zephir",__webpack_require__(1291));module.exports=hljs},function(module,exports,__webpack_require__){(function(factory){"object"===typeof window&&window||"object"===typeof self&&self;true;factory(exports)})(function(hljs){var ArrayProto=[],objectKeys=Object.keys;var languages={},aliases={};var noHighlightRe=/^(no-?highlight|plain|text)$/i,languagePrefixRe=/\blang(?:uage)?-([\w-]+)\b/i,fixMarkupRe=/((^(<[^>]+>|\t|)+|(?:\n)))/gm;var spanEndTag="</span>";var options={classPrefix:"hljs-",tabReplace:null,useBR:false,languages:void 0};function escape(value){return value.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function tag(node){return node.nodeName.toLowerCase()}function testRe(re,lexeme){var match=re&&re.exec(lexeme);return match&&0===match.index}function isNotHighlighted(language){return noHighlightRe.test(language)}function blockLanguage(block){var i,match,length,_class;var classes=block.className+" ";classes+=block.parentNode?block.parentNode.className:"";match=languagePrefixRe.exec(classes);if(match)return getLanguage(match[1])?match[1]:"no-highlight";classes=classes.split(/\s+/);for(i=0,length=classes.length;i<length;i++){_class=classes[i];if(isNotHighlighted(_class)||getLanguage(_class))return _class}}function inherit(parent){var key;var result={};var objects=Array.prototype.slice.call(arguments,1);for(key in parent)result[key]=parent[key];objects.forEach(function(obj){for(key in obj)result[key]=obj[key]});return result}function nodeStream(node){var result=[];(function _nodeStream(node,offset){for(var child=node.firstChild;child;child=child.nextSibling)if(3===child.nodeType)offset+=child.nodeValue.length;else if(1===child.nodeType){result.push({event:"start",offset:offset,node:child});offset=_nodeStream(child,offset);tag(child).match(/br|hr|img|input/)||result.push({event:"stop",offset:offset,node:child})}return offset})(node,0);return result}function mergeStreams(original,highlighted,value){var processed=0;var result="";var nodeStack=[];function selectStream(){if(!original.length||!highlighted.length)return original.length?original:highlighted;if(original[0].offset!==highlighted[0].offset)return original[0].offset<highlighted[0].offset?original:highlighted;return"start"===highlighted[0].event?original:highlighted}function open(node){function attr_str(a){return" "+a.nodeName+'="'+escape(a.value).replace('"',"&quot;")+'"'}result+="<"+tag(node)+ArrayProto.map.call(node.attributes,attr_str).join("")+">"}function close(node){result+="</"+tag(node)+">"}function render(event){("start"===event.event?open:close)(event.node)}while(original.length||highlighted.length){var stream=selectStream();result+=escape(value.substring(processed,stream[0].offset));processed=stream[0].offset;if(stream===original){nodeStack.reverse().forEach(close);do{render(stream.splice(0,1)[0]);stream=selectStream()}while(stream===original&&stream.length&&stream[0].offset===processed);nodeStack.reverse().forEach(open)}else{"start"===stream[0].event?nodeStack.push(stream[0].node):nodeStack.pop();render(stream.splice(0,1)[0])}}return result+escape(value.substr(processed))}function expand_mode(mode){mode.variants&&!mode.cached_variants&&(mode.cached_variants=mode.variants.map(function(variant){return inherit(mode,{variants:null},variant)}));return mode.cached_variants||mode.endsWithParent&&[inherit(mode)]||[mode]}function compileLanguage(language){function reStr(re){return re&&re.source||re}function langRe(value,global){return new RegExp(reStr(value),"m"+(language.case_insensitive?"i":"")+(global?"g":""))}function compileMode(mode,parent){if(mode.compiled)return;mode.compiled=true;mode.keywords=mode.keywords||mode.beginKeywords;if(mode.keywords){var compiled_keywords={};var flatten=function(className,str){language.case_insensitive&&(str=str.toLowerCase());str.split(" ").forEach(function(kw){var pair=kw.split("|");compiled_keywords[pair[0]]=[className,pair[1]?Number(pair[1]):1]})};"string"===typeof mode.keywords?flatten("keyword",mode.keywords):objectKeys(mode.keywords).forEach(function(className){flatten(className,mode.keywords[className])});mode.keywords=compiled_keywords}mode.lexemesRe=langRe(mode.lexemes||/\w+/,true);if(parent){mode.beginKeywords&&(mode.begin="\\b("+mode.beginKeywords.split(" ").join("|")+")\\b");mode.begin||(mode.begin=/\B|\b/);mode.beginRe=langRe(mode.begin);mode.end||mode.endsWithParent||(mode.end=/\B|\b/);mode.end&&(mode.endRe=langRe(mode.end));mode.terminator_end=reStr(mode.end)||"";mode.endsWithParent&&parent.terminator_end&&(mode.terminator_end+=(mode.end?"|":"")+parent.terminator_end)}mode.illegal&&(mode.illegalRe=langRe(mode.illegal));null==mode.relevance&&(mode.relevance=1);mode.contains||(mode.contains=[]);mode.contains=Array.prototype.concat.apply([],mode.contains.map(function(c){return expand_mode("self"===c?mode:c)}));mode.contains.forEach(function(c){compileMode(c,mode)});mode.starts&&compileMode(mode.starts,parent);var terminators=mode.contains.map(function(c){return c.beginKeywords?"\\.?("+c.begin+")\\.?":c.begin}).concat([mode.terminator_end,mode.illegal]).map(reStr).filter(Boolean);mode.terminators=terminators.length?langRe(terminators.join("|"),true):{exec:function(){return null}}}compileMode(language)}function highlight(name,value,ignore_illegals,continuation){function subMode(lexeme,mode){var i,length;for(i=0,length=mode.contains.length;i<length;i++)if(testRe(mode.contains[i].beginRe,lexeme))return mode.contains[i]}function endOfMode(mode,lexeme){if(testRe(mode.endRe,lexeme)){while(mode.endsParent&&mode.parent)mode=mode.parent;return mode}if(mode.endsWithParent)return endOfMode(mode.parent,lexeme)}function isIllegal(lexeme,mode){return!ignore_illegals&&testRe(mode.illegalRe,lexeme)}function keywordMatch(mode,match){var match_str=language.case_insensitive?match[0].toLowerCase():match[0];return mode.keywords.hasOwnProperty(match_str)&&mode.keywords[match_str]}function buildSpan(classname,insideSpan,leaveOpen,noPrefix){var classPrefix=noPrefix?"":options.classPrefix,openSpan='<span class="'+classPrefix,closeSpan=leaveOpen?"":spanEndTag;openSpan+=classname+'">';return openSpan+insideSpan+closeSpan}function processKeywords(){var keyword_match,last_index,match,result;if(!top.keywords)return escape(mode_buffer);result="";last_index=0;top.lexemesRe.lastIndex=0;match=top.lexemesRe.exec(mode_buffer);while(match){result+=escape(mode_buffer.substring(last_index,match.index));keyword_match=keywordMatch(top,match);if(keyword_match){relevance+=keyword_match[1];result+=buildSpan(keyword_match[0],escape(match[0]))}else result+=escape(match[0]);last_index=top.lexemesRe.lastIndex;match=top.lexemesRe.exec(mode_buffer)}return result+escape(mode_buffer.substr(last_index))}function processSubLanguage(){var explicit="string"===typeof top.subLanguage;if(explicit&&!languages[top.subLanguage])return escape(mode_buffer);var result=explicit?highlight(top.subLanguage,mode_buffer,true,continuations[top.subLanguage]):highlightAuto(mode_buffer,top.subLanguage.length?top.subLanguage:void 0);top.relevance>0&&(relevance+=result.relevance);explicit&&(continuations[top.subLanguage]=result.top);return buildSpan(result.language,result.value,false,true)}function processBuffer(){result+=null!=top.subLanguage?processSubLanguage():processKeywords();mode_buffer=""}function startNewMode(mode){result+=mode.className?buildSpan(mode.className,"",true):"";top=Object.create(mode,{parent:{value:top}})}function processLexeme(buffer,lexeme){mode_buffer+=buffer;if(null==lexeme){processBuffer();return 0}var new_mode=subMode(lexeme,top);if(new_mode){if(new_mode.skip)mode_buffer+=lexeme;else{new_mode.excludeBegin&&(mode_buffer+=lexeme);processBuffer();new_mode.returnBegin||new_mode.excludeBegin||(mode_buffer=lexeme)}startNewMode(new_mode,lexeme);return new_mode.returnBegin?0:lexeme.length}var end_mode=endOfMode(top,lexeme);if(end_mode){var origin=top;if(origin.skip)mode_buffer+=lexeme;else{origin.returnEnd||origin.excludeEnd||(mode_buffer+=lexeme);processBuffer();origin.excludeEnd&&(mode_buffer=lexeme)}do{top.className&&(result+=spanEndTag);top.skip||(relevance+=top.relevance);top=top.parent}while(top!==end_mode.parent);end_mode.starts&&startNewMode(end_mode.starts,"");return origin.returnEnd?0:lexeme.length}if(isIllegal(lexeme,top))throw new Error('Illegal lexeme "'+lexeme+'" for mode "'+(top.className||"<unnamed>")+'"');mode_buffer+=lexeme;return lexeme.length||1}var language=getLanguage(name);if(!language)throw new Error('Unknown language: "'+name+'"');compileLanguage(language);var top=continuation||language;var continuations={};var current,result="";for(current=top;current!==language;current=current.parent)current.className&&(result=buildSpan(current.className,"",true)+result);var mode_buffer="";var relevance=0;try{var match,count,index=0;while(true){top.terminators.lastIndex=index;match=top.terminators.exec(value);if(!match)break;count=processLexeme(value.substring(index,match.index),match[0]);index=match.index+count}processLexeme(value.substr(index));for(current=top;current.parent;current=current.parent)current.className&&(result+=spanEndTag);return{relevance:relevance,value:result,language:name,top:top}}catch(e){if(e.message&&-1!==e.message.indexOf("Illegal"))return{relevance:0,value:escape(value)};throw e}}function highlightAuto(text,languageSubset){languageSubset=languageSubset||options.languages||objectKeys(languages);var result={relevance:0,value:escape(text)};var second_best=result;languageSubset.filter(getLanguage).forEach(function(name){var current=highlight(name,text,false);current.language=name;current.relevance>second_best.relevance&&(second_best=current);if(current.relevance>result.relevance){second_best=result;result=current}});second_best.language&&(result.second_best=second_best);return result}function fixMarkup(value){return options.tabReplace||options.useBR?value.replace(fixMarkupRe,function(match,p1){if(options.useBR&&"\n"===match)return"<br>";if(options.tabReplace)return p1.replace(/\t/g,options.tabReplace);return""}):value}function buildClassName(prevClassName,currentLang,resultLang){var language=currentLang?aliases[currentLang]:resultLang,result=[prevClassName.trim()];prevClassName.match(/\bhljs\b/)||result.push("hljs");-1===prevClassName.indexOf(language)&&result.push(language);return result.join(" ").trim()}function highlightBlock(block){var node,originalStream,result,resultNode,text;var language=blockLanguage(block);if(isNotHighlighted(language))return;if(options.useBR){node=document.createElementNS("http://www.w3.org/1999/xhtml","div");node.innerHTML=block.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")}else node=block;text=node.textContent;result=language?highlight(language,text,true):highlightAuto(text);originalStream=nodeStream(node);if(originalStream.length){resultNode=document.createElementNS("http://www.w3.org/1999/xhtml","div");resultNode.innerHTML=result.value;result.value=mergeStreams(originalStream,nodeStream(resultNode),text)}result.value=fixMarkup(result.value);block.innerHTML=result.value;block.className=buildClassName(block.className,language,result.language);block.result={language:result.language,re:result.relevance};result.second_best&&(block.second_best={language:result.second_best.language,re:result.second_best.relevance})}function configure(user_options){options=inherit(options,user_options)}function initHighlighting(){if(initHighlighting.called)return;initHighlighting.called=true;var blocks=document.querySelectorAll("pre code");ArrayProto.forEach.call(blocks,highlightBlock)}function initHighlightingOnLoad(){addEventListener("DOMContentLoaded",initHighlighting,false);addEventListener("load",initHighlighting,false)}function registerLanguage(name,language){var lang=languages[name]=language(hljs);lang.aliases&&lang.aliases.forEach(function(alias){aliases[alias]=name})}function listLanguages(){return objectKeys(languages)}function getLanguage(name){name=(name||"").toLowerCase();return languages[name]||languages[aliases[name]]}hljs.highlight=highlight;hljs.highlightAuto=highlightAuto;hljs.fixMarkup=fixMarkup;hljs.highlightBlock=highlightBlock;hljs.configure=configure;hljs.initHighlighting=initHighlighting;hljs.initHighlightingOnLoad=initHighlightingOnLoad;hljs.registerLanguage=registerLanguage;hljs.listLanguages=listLanguages;hljs.getLanguage=getLanguage;hljs.inherit=inherit;hljs.IDENT_RE="[a-zA-Z]\\w*";hljs.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*";hljs.NUMBER_RE="\\b\\d+(\\.\\d+)?";hljs.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";hljs.BINARY_NUMBER_RE="\\b(0b[01]+)";hljs.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";hljs.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0};hljs.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[hljs.BACKSLASH_ESCAPE]};hljs.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[hljs.BACKSLASH_ESCAPE]};hljs.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/};hljs.COMMENT=function(begin,end,inherits){var mode=hljs.inherit({className:"comment",begin:begin,end:end,contains:[]},inherits||{});mode.contains.push(hljs.PHRASAL_WORDS_MODE);mode.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0});return mode};hljs.C_LINE_COMMENT_MODE=hljs.COMMENT("//","$");hljs.C_BLOCK_COMMENT_MODE=hljs.COMMENT("/\\*","\\*/");hljs.HASH_COMMENT_MODE=hljs.COMMENT("#","$");hljs.NUMBER_MODE={className:"number",begin:hljs.NUMBER_RE,relevance:0};hljs.C_NUMBER_MODE={className:"number",begin:hljs.C_NUMBER_RE,relevance:0};hljs.BINARY_NUMBER_MODE={className:"number",begin:hljs.BINARY_NUMBER_RE,relevance:0};hljs.CSS_NUMBER_MODE={className:"number",begin:hljs.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0};hljs.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[hljs.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[hljs.BACKSLASH_ESCAPE]}]};hljs.TITLE_MODE={className:"title",begin:hljs.IDENT_RE,relevance:0};hljs.UNDERSCORE_TITLE_MODE={className:"title",begin:hljs.UNDERSCORE_IDENT_RE,relevance:0};hljs.METHOD_GUARD={begin:"\\.\\s*"+hljs.UNDERSCORE_IDENT_RE,relevance:0};return hljs})},function(module,exports){module.exports=function(hljs){var UNDERSCORE_IDENT_RE="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+";var v7_keywords="далее ";var v8_keywords="возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ";var KEYWORD=v7_keywords+v8_keywords;var v7_meta_keywords="загрузитьизфайла ";var v8_meta_keywords="вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ";var METAKEYWORD=v7_meta_keywords+v8_meta_keywords;var v7_system_constants="разделительстраниц разделительстрок символтабуляции ";var v7_global_context_methods="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ";var v8_global_context_methods="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ";var v8_global_context_property="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ";var BUILTIN=v7_system_constants+v7_global_context_methods+v8_global_context_methods+v8_global_context_property;var v8_system_sets_of_values="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ";var v8_system_enums_interface="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ";var v8_system_enums_objects_properties="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ";var v8_system_enums_exchange_plans="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ";var v8_system_enums_tabular_document="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ";var v8_system_enums_sheduler="отображениевремениэлементовпланировщика ";var v8_system_enums_formatted_document="типфайлаформатированногодокумента ";var v8_system_enums_query="обходрезультатазапроса типзаписизапроса ";var v8_system_enums_report_builder="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ";var v8_system_enums_files="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ";var v8_system_enums_query_builder="типизмеренияпостроителязапроса ";var v8_system_enums_data_analysis="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ";var v8_system_enums_xml_json_xs_dom_xdto_ws="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ";var v8_system_enums_data_composition_system="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ";var v8_system_enums_email="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ";var v8_system_enums_logbook="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ";var v8_system_enums_cryptography="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ";var v8_system_enums_zip="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ";var v8_system_enums_other="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ";var v8_system_enums_request_schema="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ";var v8_system_enums_properties_of_metadata_objects="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ";var v8_system_enums_differents="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты";var CLASS=v8_system_sets_of_values+v8_system_enums_interface+v8_system_enums_objects_properties+v8_system_enums_exchange_plans+v8_system_enums_tabular_document+v8_system_enums_sheduler+v8_system_enums_formatted_document+v8_system_enums_query+v8_system_enums_report_builder+v8_system_enums_files+v8_system_enums_query_builder+v8_system_enums_data_analysis+v8_system_enums_xml_json_xs_dom_xdto_ws+v8_system_enums_data_composition_system+v8_system_enums_email+v8_system_enums_logbook+v8_system_enums_cryptography+v8_system_enums_zip+v8_system_enums_other+v8_system_enums_request_schema+v8_system_enums_properties_of_metadata_objects+v8_system_enums_differents;var v8_shared_object="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных ";var v8_universal_collection="comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ";var TYPE=v8_shared_object+v8_universal_collection;var LITERAL="null истина ложь неопределено";var NUMBERS=hljs.inherit(hljs.NUMBER_MODE);var STRINGS={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]};var DATE={begin:"'",end:"'",excludeBegin:true,excludeEnd:true,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]};var COMMENTS=hljs.inherit(hljs.C_LINE_COMMENT_MODE);var META={className:"meta",lexemes:UNDERSCORE_IDENT_RE,begin:"#|&",end:"$",keywords:{"meta-keyword":KEYWORD+METAKEYWORD},contains:[COMMENTS]};var SYMBOL={className:"symbol",begin:"~",end:";|:",excludeEnd:true};var FUNCTION={className:"function",lexemes:UNDERSCORE_IDENT_RE,variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:true,contains:[{className:"params",lexemes:UNDERSCORE_IDENT_RE,begin:UNDERSCORE_IDENT_RE,end:",",excludeEnd:true,endsWithParent:true,keywords:{keyword:"знач",literal:LITERAL},contains:[NUMBERS,STRINGS,DATE]},COMMENTS]},hljs.inherit(hljs.TITLE_MODE,{begin:UNDERSCORE_IDENT_RE})]};return{case_insensitive:true,lexemes:UNDERSCORE_IDENT_RE,keywords:{keyword:KEYWORD,built_in:BUILTIN,class:CLASS,type:TYPE,literal:LITERAL},contains:[META,FUNCTION,COMMENTS,SYMBOL,NUMBERS,STRINGS,DATE]}}},function(module,exports){module.exports=function(hljs){var regexes={ruleDeclaration:"^[a-zA-Z][a-zA-Z0-9-]*",unexpectedChars:"[!@#$^&',?+~`|:]"};var keywords=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"];var commentMode=hljs.COMMENT(";","$");var terminalBinaryMode={className:"symbol",begin:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+){0,1}/};var terminalDecimalMode={className:"symbol",begin:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+){0,1}/};var terminalHexadecimalMode={className:"symbol",begin:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+){0,1}/};var caseSensitivityIndicatorMode={className:"symbol",begin:/%[si]/};var ruleDeclarationMode={begin:regexes.ruleDeclaration+"\\s*=",returnBegin:true,end:/=/,relevance:0,contains:[{className:"attribute",begin:regexes.ruleDeclaration}]};return{illegal:regexes.unexpectedChars,keywords:keywords.join(" "),contains:[ruleDeclarationMode,commentMode,terminalBinaryMode,terminalDecimalMode,terminalHexadecimalMode,caseSensitivityIndicatorMode,hljs.QUOTE_STRING_MODE,hljs.NUMBER_MODE]}}},function(module,exports){module.exports=function(hljs){return{contains:[{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+\\b",relevance:0},{className:"string",begin:'"(GET|POST|HEAD|PUT|DELETE|CONNECT|OPTIONS|PATCH|TRACE)',end:'"',keywords:"GET POST HEAD PUT DELETE CONNECT OPTIONS PATCH TRACE",illegal:"\\n",relevance:10},{className:"string",begin:/\[/,end:/\]/,illegal:"\\n"},{className:"string",begin:'"',end:'"',illegal:"\\n"}]}}},function(module,exports){module.exports=function(hljs){var IDENT_RE="[a-zA-Z_$][a-zA-Z0-9_$]*";var IDENT_FUNC_RETURN_TYPE_RE="([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)";var AS3_REST_ARG_MODE={className:"rest_arg",begin:"[.]{3}",end:IDENT_RE,relevance:10};return{aliases:["as"],keywords:{keyword:"as break case catch class const continue default delete do dynamic each else extends final finally for function get if implements import in include instanceof interface internal is namespace native new override package private protected public return set static super switch this throw try typeof use var void while with",literal:"true false null undefined"},contains:[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.C_NUMBER_MODE,{className:"class",beginKeywords:"package",end:"{",contains:[hljs.TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:true,contains:[{beginKeywords:"extends implements"},hljs.TITLE_MODE]},{className:"meta",beginKeywords:"import include",end:";",keywords:{"meta-keyword":"import include"}},{className:"function",beginKeywords:"function",end:"[{;]",excludeEnd:true,illegal:"\\S",contains:[hljs.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,AS3_REST_ARG_MODE]},{begin:":\\s*"+IDENT_FUNC_RETURN_TYPE_RE}]},hljs.METHOD_GUARD],illegal:/#/}}},function(module,exports){module.exports=function(hljs){var INTEGER_RE="\\d(_|\\d)*";var EXPONENT_RE="[eE][-+]?"+INTEGER_RE;var DECIMAL_LITERAL_RE=INTEGER_RE+"(\\."+INTEGER_RE+")?("+EXPONENT_RE+")?";var BASED_INTEGER_RE="\\w+";var BASED_LITERAL_RE=INTEGER_RE+"#"+BASED_INTEGER_RE+"(\\."+BASED_INTEGER_RE+")?#("+EXPONENT_RE+")?";var NUMBER_RE="\\b("+BASED_LITERAL_RE+"|"+DECIMAL_LITERAL_RE+")";var ID_REGEX="[A-Za-z](_?[A-Za-z0-9.])*";var BAD_CHARS="[]{}%#'\"";var COMMENTS=hljs.COMMENT("--","$");var VAR_DECLS={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:BAD_CHARS,contains:[{beginKeywords:"loop for declare others",endsParent:true},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:ID_REGEX,endsParent:true,relevance:0}]};return{case_insensitive:true,keywords:{keyword:"abort else new return abs elsif not reverse abstract end accept entry select access exception of separate aliased exit or some all others subtype and for out synchronized array function overriding at tagged generic package task begin goto pragma terminate body private then if procedure type case in protected constant interface is raise use declare range delay limited record when delta loop rem while digits renames with do mod requeue xor",literal:"True False"},contains:[COMMENTS,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:NUMBER_RE,relevance:0},{className:"symbol",begin:"'"+ID_REGEX},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:true,excludeEnd:true,illegal:BAD_CHARS},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:true,contains:[COMMENTS,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:true,excludeEnd:true,illegal:BAD_CHARS},VAR_DECLS,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:true,excludeEnd:true,endsParent:true,illegal:BAD_CHARS}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:true,illegal:BAD_CHARS},VAR_DECLS]}}},function(module,exports){module.exports=function(hljs){var NUMBER={className:"number",begin:"[\\$%]\\d+"};return{aliases:["apacheconf"],case_insensitive:true,contains:[hljs.HASH_COMMENT_MODE,{className:"section",begin:"</?",end:">"},{className:"attribute",begin:/\w+/,relevance:0,keywords:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{end:/$/,relevance:0,keywords:{literal:"on off all"},contains:[{className:"meta",begin:"\\s\\[",end:"\\]$"},{className:"variable",begin:"[\\$%]\\{",end:"\\}",contains:["self",NUMBER]},NUMBER,hljs.QUOTE_STRING_MODE]}}],illegal:/\S/}}},function(module,exports){module.exports=function(hljs){var STRING=hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:""});var PARAMS={className:"params",begin:"\\(",end:"\\)",contains:["self",hljs.C_NUMBER_MODE,STRING]};var COMMENT_MODE_1=hljs.COMMENT("--","$");var COMMENT_MODE_2=hljs.COMMENT("\\(\\*","\\*\\)",{contains:["self",COMMENT_MODE_1]});var COMMENTS=[COMMENT_MODE_1,COMMENT_MODE_2,hljs.HASH_COMMENT_MODE];return{aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year"},contains:[STRING,hljs.C_NUMBER_MODE,{className:"built_in",begin:"\\b(clipboard info|the clipboard|info for|list (disks|folder)|mount volume|path to|(close|open for) access|(get|set) eof|current date|do shell script|get volume settings|random number|set volume|system attribute|system info|time to GMT|(load|run|store) script|scripting components|ASCII (character|number)|localized string|choose (application|color|file|file name|folder|from list|remote application|URL)|display (alert|dialog))\\b|^\\s*return\\b"},{className:"literal",begin:"\\b(text item delimiters|current application|missing value)\\b"},{className:"keyword",begin:"\\b(apart from|aside from|instead of|out of|greater than|isn't|(doesn't|does not) (equal|come before|come after|contain)|(greater|less) than( or equal)?|(starts?|ends|begins?) with|contained by|comes (before|after)|a (ref|reference)|POSIX file|POSIX path|(date|time) string|quoted form)\\b"},{beginKeywords:"on",illegal:"[${=;\\n]",contains:[hljs.UNDERSCORE_TITLE_MODE,PARAMS]}].concat(COMMENTS),illegal:"//|->|=>|\\[\\["}}},function(module,exports){module.exports=function(hljs){var CPP_PRIMITIVE_TYPES={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"};var STRINGS={className:"string",variants:[{begin:'(u8?|U)?L?"',end:'"',illegal:"\\n",contains:[hljs.BACKSLASH_ESCAPE]},{begin:'(u8?|U)?R"',end:'"',contains:[hljs.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]};var NUMBERS={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0};var PREPROCESSOR={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},hljs.inherit(STRINGS,{className:"meta-string"}),{className:"meta-string",begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]};var FUNCTION_TITLE=hljs.IDENT_RE+"\\s*\\(";var CPP_KEYWORDS={keyword:"int float while private char catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignof constexpr decltype noexcept static_assert thread_local restrict _Bool complex _Complex _Imaginary atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and or not",built_in:"std string cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr",literal:"true false nullptr NULL"};var EXPRESSION_CONTAINS=[CPP_PRIMITIVE_TYPES,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,NUMBERS,STRINGS];return{aliases:["c","cc","h","c++","h++","hpp"],keywords:CPP_KEYWORDS,illegal:"</",contains:EXPRESSION_CONTAINS.concat([PREPROCESSOR,{begin:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:CPP_KEYWORDS,contains:["self",CPP_PRIMITIVE_TYPES]},{begin:hljs.IDENT_RE+"::",keywords:CPP_KEYWORDS},{variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:CPP_KEYWORDS,contains:EXPRESSION_CONTAINS.concat([{begin:/\(/,end:/\)/,keywords:CPP_KEYWORDS,contains:EXPRESSION_CONTAINS.concat(["self"]),relevance:0}]),relevance:0},{className:"function",begin:"("+hljs.IDENT_RE+"[\\*&\\s]+)+"+FUNCTION_TITLE,returnBegin:true,end:/[{;=]/,excludeEnd:true,keywords:CPP_KEYWORDS,illegal:/[^\w\s\*&]/,contains:[{begin:FUNCTION_TITLE,returnBegin:true,contains:[hljs.TITLE_MODE],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:CPP_KEYWORDS,relevance:0,contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,STRINGS,NUMBERS,CPP_PRIMITIVE_TYPES]},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,PREPROCESSOR]},{className:"class",beginKeywords:"class struct",end:/[{;:]/,contains:[{begin:/</,end:/>/,contains:["self"]},hljs.TITLE_MODE]}]),exports:{preprocessor:PREPROCESSOR,strings:STRINGS,keywords:CPP_KEYWORDS}}}},function(module,exports){module.exports=function(hljs){var CPP=hljs.getLanguage("cpp").exports;return{keywords:{keyword:"boolean byte word string String array "+CPP.keywords.keyword,built_in:"setup loop while catch for if do goto try switch case else default break continue return KeyboardController MouseController SoftwareSerial EthernetServer EthernetClient LiquidCrystal RobotControl GSMVoiceCall EthernetUDP EsploraTFT HttpClient RobotMotor WiFiClient GSMScanner FileSystem Scheduler GSMServer YunClient YunServer IPAddress GSMClient GSMModem Keyboard Ethernet Console GSMBand Esplora Stepper Process WiFiUDP GSM_SMS Mailbox USBHost Firmata PImage Client Server GSMPIN FileIO Bridge Serial EEPROM Stream Mouse Audio Servo File Task GPRS WiFi Wire TFT GSM SPI SD runShellCommandAsynchronously analogWriteResolution retrieveCallingNumber printFirmwareVersion analogReadResolution sendDigitalPortPair noListenOnLocalhost readJoystickButton setFirmwareVersion readJoystickSwitch scrollDisplayRight getVoiceCallStatus scrollDisplayLeft writeMicroseconds delayMicroseconds beginTransmission getSignalStrength runAsynchronously getAsynchronously listenOnLocalhost getCurrentCarrier readAccelerometer messageAvailable sendDigitalPorts lineFollowConfig countryNameWrite runShellCommand readStringUntil rewindDirectory readTemperature setClockDivider readLightSensor endTransmission analogReference detachInterrupt countryNameRead attachInterrupt encryptionType readBytesUntil robotNameWrite readMicrophone robotNameRead cityNameWrite userNameWrite readJoystickY readJoystickX mouseReleased openNextFile scanNetworks noInterrupts digitalWrite beginSpeaker mousePressed isActionDone mouseDragged displayLogos noAutoscroll addParameter remoteNumber getModifiers keyboardRead userNameRead waitContinue processInput parseCommand printVersion readNetworks writeMessage blinkVersion cityNameRead readMessage setDataMode parsePacket isListening setBitOrder beginPacket isDirectory motorsWrite drawCompass digitalRead clearScreen serialEvent rightToLeft setTextSize leftToRight requestFrom keyReleased compassRead analogWrite interrupts WiFiServer disconnect playMelody parseFloat autoscroll getPINUsed setPINUsed setTimeout sendAnalog readSlider analogRead beginWrite createChar motorsStop keyPressed tempoWrite readButton subnetMask debugPrint macAddress writeGreen randomSeed attachGPRS readString sendString remotePort releaseAll mouseMoved background getXChange getYChange answerCall getResult voiceCall endPacket constrain getSocket writeJSON getButton available connected findUntil readBytes exitValue readGreen writeBlue startLoop IPAddress isPressed sendSysex pauseMode gatewayIP setCursor getOemKey tuneWrite noDisplay loadImage switchPIN onRequest onReceive changePIN playFile noBuffer parseInt overflow checkPIN knobRead beginTFT bitClear updateIR bitWrite position writeRGB highByte writeRed setSpeed readBlue noStroke remoteIP transfer shutdown hangCall beginSMS endWrite attached maintain noCursor checkReg checkPUK shiftOut isValid shiftIn pulseIn connect println localIP pinMode getIMEI display noBlink process getBand running beginSD drawBMP lowByte setBand release bitRead prepare pointTo readRed setMode noFill remove listen stroke detach attach noTone exists buffer height bitSet circle config cursor random IRread setDNS endSMS getKey micros millis begin print write ready flush width isPIN blink clear press mkdir rmdir close point yield image BSSID click delay read text move peek beep rect line open seek fill size turn stop home find step tone sqrt RSSI SSID end bit tan cos sin pow map abs max min get run put",literal:"DIGITAL_MESSAGE FIRMATA_STRING ANALOG_MESSAGE REPORT_DIGITAL REPORT_ANALOG INPUT_PULLUP SET_PIN_MODE INTERNAL2V56 SYSTEM_RESET LED_BUILTIN INTERNAL1V1 SYSEX_START INTERNAL EXTERNAL DEFAULT OUTPUT INPUT HIGH LOW"},contains:[CPP.preprocessor,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE]}}},function(module,exports){module.exports=function(hljs){return{case_insensitive:true,aliases:["arm"],lexemes:"\\.?"+hljs.IDENT_RE,keywords:{meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?",end:"\\s"},hljs.COMMENT("[;@]","$",{relevance:0}),hljs.C_BLOCK_COMMENT_MODE,hljs.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"[=#]\\w+"}],relevance:0}]}}},function(module,exports){module.exports=function(hljs){var XML_IDENT_RE="[A-Za-z0-9\\._:-]+";var TAG_INTERNALS={endsWithParent:true,illegal:/</,relevance:0,contains:[{className:"attr",begin:XML_IDENT_RE,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:true,variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],case_insensitive:true,contains:[{className:"meta",begin:"<!DOCTYPE",end:">",relevance:10,contains:[{begin:"\\[",end:"\\]"}]},hljs.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},{begin:/<\?(php)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:true}]},{className:"tag",begin:"<style(?=\\s|>|$)",end:">",keywords:{name:"style"},contains:[TAG_INTERNALS],starts:{end:"</style>",returnEnd:true,subLanguage:["css","xml"]}},{className:"tag",begin:"<script(?=\\s|>|$)",end:">",keywords:{name:"script"},contains:[TAG_INTERNALS],starts:{end:"<\/script>",returnEnd:true,subLanguage:["actionscript","javascript","handlebars","xml"]}},{className:"meta",variants:[{begin:/<\?xml/,end:/\?>/,relevance:10},{begin:/<\?\w+/,end:/\?>/}]},{className:"tag",begin:"</?",end:"/?>",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},TAG_INTERNALS]}]}}},function(module,exports){module.exports=function(hljs){return{aliases:["adoc"],contains:[hljs.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),hljs.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,5}) .+?( \\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:true,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},{className:"bullet",begin:"^(\\*+|\\-+|\\.+|[^\\n]+?::)\\s+"},{className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},{className:"strong",begin:"\\B\\*(?![\\*\\s])",end:"(\\n{2}|\\*)",contains:[{begin:"\\\\*\\w",relevance:0}]},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0},{className:"emphasis",begin:"_(?![_\\s])",end:"(\\n{2}|_)",relevance:0},{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},{begin:"^'{3,}[ \\t]*$",relevance:10},{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+\\[.*?\\]",returnBegin:true,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:true,excludeEnd:true,relevance:0}],relevance:10}]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else extends implements break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws privileged aspectOf adviceexecution proceed cflowbelow cflow initialization preinitialization staticinitialization withincode target within execution getWithinTypeName handler thisJoinPoint thisJoinPointStaticPart thisEnclosingJoinPointStaticPart declare parents warning error soft precedence thisAspectInstance";var SHORTKEYS="get set args call";return{keywords:KEYWORDS,illegal:/<\/|#/,contains:[hljs.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:true,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},hljs.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:KEYWORDS+" "+SHORTKEYS,excludeEnd:false}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:true,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},hljs.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:false,illegal:/["\[\]]/,contains:[{begin:hljs.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:true,contains:[hljs.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:true,end:/[{;]/,relevance:0,excludeEnd:false,keywords:KEYWORDS,illegal:/["\[\]]/,contains:[{begin:hljs.UNDERSCORE_IDENT_RE+"\\s*\\(",keywords:KEYWORDS+" "+SHORTKEYS,relevance:0},hljs.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.)?\w+\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:true,end:/[{;=]/,keywords:KEYWORDS,excludeEnd:true,contains:[{begin:hljs.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:true,relevance:0,contains:[hljs.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:KEYWORDS,contains:[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,hljs.C_BLOCK_COMMENT_MODE]},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]},hljs.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}},function(module,exports){module.exports=function(hljs){var BACKTICK_ESCAPE={begin:"`[\\s\\S]"};return{case_insensitive:true,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"A|0 true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[{className:"built_in",begin:"A_[a-zA-Z0-9]+"},BACKTICK_ESCAPE,hljs.inherit(hljs.QUOTE_STRING_MODE,{contains:[BACKTICK_ESCAPE]}),hljs.COMMENT(";","$",{relevance:0}),hljs.C_BLOCK_COMMENT_MODE,{className:"number",begin:hljs.NUMBER_RE,relevance:0},{className:"subst",begin:"%(?=[a-zA-Z0-9#_$@])",end:"%",illegal:"[^a-zA-Z0-9#_$@]"},{className:"built_in",begin:"^\\s*\\w+\\s*,"},{className:"meta",begin:"^\\s*#w+",end:"$",relevance:0},{className:"symbol",contains:[BACKTICK_ESCAPE],variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{begin:",\\s*,"}]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS="ByRef Case Const ContinueCase ContinueLoop Default Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",LITERAL="True False And Null Not Or",BUILT_IN="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait",COMMENT={variants:[hljs.COMMENT(";","$",{relevance:0}),hljs.COMMENT("#cs","#ce"),hljs.COMMENT("#comments-start","#comments-end")]},VARIABLE={begin:"\\$[A-z0-9_]+"},STRING={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},NUMBER={variants:[hljs.BINARY_NUMBER_MODE,hljs.C_NUMBER_MODE]},PREPROCESSOR={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"comments include include-once NoTrayIcon OnAutoItStartRegister pragma compile RequireAdmin"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{"meta-keyword":"include"},end:"$",contains:[STRING,{className:"meta-string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},STRING,COMMENT]},CONSTANT={className:"symbol",begin:"@[A-z0-9_]+"},FUNCTION={className:"function",beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[hljs.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[VARIABLE,STRING,NUMBER]}]};return{case_insensitive:true,illegal:/\/\*/,keywords:{keyword:KEYWORDS,built_in:BUILT_IN,literal:LITERAL},contains:[COMMENT,VARIABLE,STRING,NUMBER,PREPROCESSOR,CONSTANT,FUNCTION]}}},function(module,exports){module.exports=function(hljs){return{case_insensitive:true,lexemes:"\\.?"+hljs.IDENT_RE,keywords:{keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[hljs.C_BLOCK_COMMENT_MODE,hljs.COMMENT(";","$",{relevance:0}),hljs.C_NUMBER_MODE,hljs.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},hljs.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}},function(module,exports){module.exports=function(hljs){var VARIABLE={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)}/}]};var KEYWORDS="BEGIN END if else while do for in break continue delete next nextfile function func exit|10";var STRING={className:"string",contains:[hljs.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE]};return{keywords:{keyword:KEYWORDS},contains:[VARIABLE,STRING,hljs.REGEXP_MODE,hljs.HASH_COMMENT_MODE,hljs.NUMBER_MODE]}}},function(module,exports){module.exports=function(hljs){return{keywords:"false int abstract private char boolean static null if for true while long throw finally protected final return void enum else break new catch byte super case short default double public try this switch continue reverse firstfast firstonly forupdate nofetch sum avg minof maxof count order group by asc desc index hint like dispaly edit client server ttsbegin ttscommit str real date container anytype common div mod",contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:true,illegal:":",contains:[{beginKeywords:"extends implements"},hljs.UNDERSCORE_TITLE_MODE]}]}}},function(module,exports){module.exports=function(hljs){var VAR={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)}/}]};var QUOTE_STRING={className:"string",begin:/"/,end:/"/,contains:[hljs.BACKSLASH_ESCAPE,VAR,{className:"variable",begin:/\$\(/,end:/\)/,contains:[hljs.BACKSLASH_ESCAPE]}]};var APOS_STRING={className:"string",begin:/'/,end:/'/};return{aliases:["sh","zsh"],lexemes:/\b-?[a-z\._]+\b/,keywords:{keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},contains:[{className:"meta",begin:/^#![^\n]+sh\s*$/,relevance:10},{className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:true,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},hljs.HASH_COMMENT_MODE,QUOTE_STRING,APOS_STRING,VAR]}}},function(module,exports){module.exports=function(hljs){return{case_insensitive:true,illegal:"^.",lexemes:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keywords:{keyword:"ABS ASC AND ATN AUTO|0 BEEP BLOAD|10 BSAVE|10 CALL CALLS CDBL CHAIN CHDIR CHR$|10 CINT CIRCLE CLEAR CLOSE CLS COLOR COM COMMON CONT COS CSNG CSRLIN CVD CVI CVS DATA DATE$ DEFDBL DEFINT DEFSNG DEFSTR DEF|0 SEG USR DELETE DIM DRAW EDIT END ENVIRON ENVIRON$ EOF EQV ERASE ERDEV ERDEV$ ERL ERR ERROR EXP FIELD FILES FIX FOR|0 FRE GET GOSUB|10 GOTO HEX$ IF|0 THEN ELSE|0 INKEY$ INP INPUT INPUT# INPUT$ INSTR IMP INT IOCTL IOCTL$ KEY ON OFF LIST KILL LEFT$ LEN LET LINE LLIST LOAD LOC LOCATE LOF LOG LPRINT USING LSET MERGE MID$ MKDIR MKD$ MKI$ MKS$ MOD NAME NEW NEXT NOISE NOT OCT$ ON OR PEN PLAY STRIG OPEN OPTION BASE OUT PAINT PALETTE PCOPY PEEK PMAP POINT POKE POS PRINT PRINT] PSET PRESET PUT RANDOMIZE READ REM RENUM RESET|0 RESTORE RESUME RETURN|0 RIGHT$ RMDIR RND RSET RUN SAVE SCREEN SGN SHELL SIN SOUND SPACE$ SPC SQR STEP STICK STOP STR$ STRING$ SWAP SYSTEM TAB TAN TIME$ TIMER TROFF TRON TO USR VAL VARPTR VARPTR$ VIEW WAIT WHILE WEND WIDTH WINDOW WRITE XOR"},contains:[hljs.QUOTE_STRING_MODE,hljs.COMMENT("REM","$",{relevance:10}),hljs.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b([0-9]+[0-9edED.]*[#!]?)",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}},function(module,exports){module.exports=function(hljs){return{contains:[{className:"attribute",begin:/</,end:/>/},{begin:/::=/,starts:{end:/$/,contains:[{begin:/</,end:/>/},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE]}}]}}},function(module,exports){module.exports=function(hljs){var LITERAL={className:"literal",begin:"[\\+\\-]",relevance:0};return{aliases:["bf"],contains:[hljs.COMMENT("[^\\[\\]\\.,\\+\\-<> \r\n]","[\\[\\]\\.,\\+\\-<> \r\n]",{returnEnd:true,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/\+\+|\-\-/,returnBegin:true,contains:[LITERAL]},LITERAL]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS="div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var";var LITERALS="false true";var COMMENT_MODES=[hljs.C_LINE_COMMENT_MODE,hljs.COMMENT(/\{/,/\}/,{relevance:0}),hljs.COMMENT(/\(\*/,/\*\)/,{relevance:10})];var STRING={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]};var CHAR_STRING={className:"string",begin:/(#\d+)+/};var DATE={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0};var DBL_QUOTED_VARIABLE={className:"string",begin:'"',end:'"'};var PROCEDURE={className:"function",beginKeywords:"procedure",end:/[:;]/,keywords:"procedure|10",contains:[hljs.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:KEYWORDS,contains:[STRING,CHAR_STRING]}].concat(COMMENT_MODES)};var OBJECT={className:"class",begin:"OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)",returnBegin:true,contains:[hljs.TITLE_MODE,PROCEDURE]};return{case_insensitive:true,keywords:{keyword:KEYWORDS,literal:LITERALS},illegal:/\/\*/,contains:[STRING,CHAR_STRING,DATE,DBL_QUOTED_VARIABLE,hljs.NUMBER_MODE,OBJECT,PROCEDURE]}}},function(module,exports){module.exports=function(hljs){return{aliases:["capnp"],keywords:{keyword:"struct enum interface union group import using const annotation extends in of on as with from fixed",built_in:"Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 Text Data AnyPointer AnyStruct Capability List",literal:"true false"},contains:[hljs.QUOTE_STRING_MODE,hljs.NUMBER_MODE,hljs.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},{className:"class",beginKeywords:"struct enum",end:/\{/,illegal:/\n/,contains:[hljs.inherit(hljs.TITLE_MODE,{starts:{endsWithParent:true,excludeEnd:true}})]},{className:"class",beginKeywords:"interface",end:/\{/,illegal:/\n/,contains:[hljs.inherit(hljs.TITLE_MODE,{starts:{endsWithParent:true,excludeEnd:true}})]}]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS="assembly module package import alias class interface object given value assign void function new of extends satisfies abstracts in out return break continue throw assert dynamic if else switch case for while try catch finally then let this outer super is exists nonempty";var DECLARATION_MODIFIERS="shared abstract formal default actual variable late native deprecatedfinal sealed annotation suppressWarnings small";var DOCUMENTATION="doc by license see throws tagged";var SUBST={className:"subst",excludeBegin:true,excludeEnd:true,begin:/``/,end:/``/,keywords:KEYWORDS,relevance:10};var EXPRESSIONS=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[SUBST]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];SUBST.contains=EXPRESSIONS;return{keywords:{keyword:KEYWORDS+" "+DECLARATION_MODIFIERS,meta:DOCUMENTATION},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[hljs.C_LINE_COMMENT_MODE,hljs.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?:\\:"[^"]*")?'}].concat(EXPRESSIONS)}}},function(module,exports){module.exports=function(hljs){return{aliases:["clean","icl","dcl"],keywords:{keyword:"if let in with where case of class instance otherwise implementation definition system module from import qualified as special code inline foreign export ccall stdcall generic derive infix infixl infixr",literal:"True False"},contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,{begin:"->|<-[|:]?|::|#!?|>>=|\\{\\||\\|\\}|:==|=:|\\.\\.|<>|`"}]}}},function(module,exports){module.exports=function(hljs){var keywords={"builtin-name":"def defonce cond apply if-not if-let if not not= = < > <= >= == + / * - rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit defmacro defn defn- macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy defstruct first rest cons defprotocol cast coll deftype defrecord last butlast sigs reify second ffirst fnext nfirst nnext defmulti defmethod meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"};var SYMBOLSTART="a-zA-Z_\\-!.?+*=<>&#'";var SYMBOL_RE="["+SYMBOLSTART+"]["+SYMBOLSTART+"0-9/;:]*";var SIMPLE_NUMBER_RE="[-+]?\\d+(\\.\\d+)?";var SYMBOL={begin:SYMBOL_RE,relevance:0};var NUMBER={className:"number",begin:SIMPLE_NUMBER_RE,relevance:0};var STRING=hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null});var COMMENT=hljs.COMMENT(";","$",{relevance:0});var LITERAL={className:"literal",begin:/\b(true|false|nil)\b/};var COLLECTION={begin:"[\\[\\{]",end:"[\\]\\}]"};var HINT={className:"comment",begin:"\\^"+SYMBOL_RE};var HINT_COL=hljs.COMMENT("\\^\\{","\\}");var KEY={className:"symbol",begin:"[:]{1,2}"+SYMBOL_RE};var LIST={begin:"\\(",end:"\\)"};var BODY={endsWithParent:true,relevance:0};var NAME={keywords:keywords,lexemes:SYMBOL_RE,className:"name",begin:SYMBOL_RE,starts:BODY};var DEFAULT_CONTAINS=[LIST,STRING,HINT,HINT_COL,COMMENT,KEY,COLLECTION,NUMBER,LITERAL,SYMBOL];LIST.contains=[hljs.COMMENT("comment",""),NAME,BODY];BODY.contains=DEFAULT_CONTAINS;COLLECTION.contains=DEFAULT_CONTAINS;HINT_COL.contains=[COLLECTION];return{aliases:["clj"],illegal:/\S/,contains:[LIST,STRING,HINT,HINT_COL,COMMENT,KEY,COLLECTION,NUMBER,LITERAL]}}},function(module,exports){module.exports=function(hljs){return{contains:[{className:"meta",begin:/^([\w.-]+|\s*#_)=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}},function(module,exports){module.exports=function(hljs){return{aliases:["cmake.in"],case_insensitive:true,keywords:{keyword:"add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_subdirectory add_test aux_source_directory break build_command cmake_minimum_required cmake_policy configure_file create_test_sourcelist define_property else elseif enable_language enable_testing endforeach endfunction endif endmacro endwhile execute_process export find_file find_library find_package find_path find_program fltk_wrap_ui foreach function get_cmake_property get_directory_property get_filename_component get_property get_source_file_property get_target_property get_test_property if include include_directories include_external_msproject include_regular_expression install link_directories load_cache load_command macro mark_as_advanced message option output_required_files project qt_wrap_cpp qt_wrap_ui remove_definitions return separate_arguments set set_directory_properties set_property set_source_files_properties set_target_properties set_tests_properties site_name source_group string target_link_libraries try_compile try_run unset variable_watch while build_name exec_program export_library_dependencies install_files install_programs install_targets link_libraries make_directory remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or equal less greater strless strgreater strequal matches"},contains:[{className:"variable",begin:"\\${",end:"}"},hljs.HASH_COMMENT_MODE,hljs.QUOTE_STRING_MODE,hljs.NUMBER_MODE]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super yield import export from as default await then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",built_in:"npm require console print module global window document"};var JS_IDENT_RE="[A-Za-z$_][0-9A-Za-z$_]*";var SUBST={className:"subst",begin:/#\{/,end:/}/,keywords:KEYWORDS};var EXPRESSIONS=[hljs.BINARY_NUMBER_MODE,hljs.inherit(hljs.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[hljs.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[hljs.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[hljs.BACKSLASH_ESCAPE,SUBST]},{begin:/"/,end:/"/,contains:[hljs.BACKSLASH_ESCAPE,SUBST]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[SUBST,hljs.HASH_COMMENT_MODE]},{begin:"//[gim]*",relevance:0},{begin:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{begin:"@"+JS_IDENT_RE},{subLanguage:"javascript",excludeBegin:true,excludeEnd:true,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];SUBST.contains=EXPRESSIONS;var TITLE=hljs.inherit(hljs.TITLE_MODE,{begin:JS_IDENT_RE});var PARAMS_RE="(\\(.*\\))?\\s*\\B[-=]>";var PARAMS={className:"params",begin:"\\([^\\(]",returnBegin:true,contains:[{begin:/\(/,end:/\)/,keywords:KEYWORDS,contains:["self"].concat(EXPRESSIONS)}]};return{aliases:["coffee","cson","iced"],keywords:KEYWORDS,illegal:/\/\*/,contains:EXPRESSIONS.concat([hljs.COMMENT("###","###"),hljs.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+JS_IDENT_RE+"\\s*=\\s*"+PARAMS_RE,end:"[-=]>",returnBegin:true,contains:[TITLE,PARAMS]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:PARAMS_RE,end:"[-=]>",returnBegin:true,contains:[PARAMS]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:true,illegal:/[:="\[\]]/,contains:[TITLE]},TITLE]},{begin:JS_IDENT_RE+":",end:":",returnBegin:true,returnEnd:true,relevance:0}])}}},function(module,exports){module.exports=function(hljs){return{keywords:{keyword:"_ as at cofix else end exists exists2 fix for forall fun if IF in let match mod Prop return Set then Type using where with Abort About Add Admit Admitted All Arguments Assumptions Axiom Back BackTo Backtrack Bind Blacklist Canonical Cd Check Class Classes Close Coercion Coercions CoFixpoint CoInductive Collection Combined Compute Conjecture Conjectures Constant constr Constraint Constructors Context Corollary CreateHintDb Cut Declare Defined Definition Delimit Dependencies DependentDerive Drop eauto End Equality Eval Example Existential Existentials Existing Export exporting Extern Extract Extraction Fact Field Fields File Fixpoint Focus for From Function Functional Generalizable Global Goal Grab Grammar Graph Guarded Heap Hint HintDb Hints Hypotheses Hypothesis ident Identity If Immediate Implicit Import Include Inductive Infix Info Initial Inline Inspect Instance Instances Intro Intros Inversion Inversion_clear Language Left Lemma Let Libraries Library Load LoadPath Local Locate Ltac ML Mode Module Modules Monomorphic Morphism Next NoInline Notation Obligation Obligations Opaque Open Optimize Options Parameter Parameters Parametric Path Paths pattern Polymorphic Preterm Print Printing Program Projections Proof Proposition Pwd Qed Quit Rec Record Recursive Redirect Relation Remark Remove Require Reserved Reset Resolve Restart Rewrite Right Ring Rings Save Scheme Scope Scopes Script Search SearchAbout SearchHead SearchPattern SearchRewrite Section Separate Set Setoid Show Solve Sorted Step Strategies Strategy Structure SubClass Table Tables Tactic Term Test Theorem Time Timeout Transparent Type Typeclasses Types Undelimit Undo Unfocus Unfocused Unfold Universe Universes Unset Unshelve using Variable Variables Variant Verbose Visibility where with",built_in:"abstract absurd admit after apply as assert assumption at auto autorewrite autounfold before bottom btauto by case case_eq cbn cbv change classical_left classical_right clear clearbody cofix compare compute congruence constr_eq constructor contradict contradiction cut cutrewrite cycle decide decompose dependent destruct destruction dintuition discriminate discrR do double dtauto eapply eassumption eauto ecase econstructor edestruct ediscriminate eelim eexact eexists einduction einjection eleft elim elimtype enough equality erewrite eright esimplify_eq esplit evar exact exactly_once exfalso exists f_equal fail field field_simplify field_simplify_eq first firstorder fix fold fourier functional generalize generalizing gfail give_up has_evar hnf idtac in induction injection instantiate intro intro_pattern intros intuition inversion inversion_clear is_evar is_var lapply lazy left lia lra move native_compute nia nsatz omega once pattern pose progress proof psatz quote record red refine reflexivity remember rename repeat replace revert revgoals rewrite rewrite_strat right ring ring_simplify rtauto set setoid_reflexivity setoid_replace setoid_rewrite setoid_symmetry setoid_transitivity shelve shelve_unifiable simpl simple simplify_eq solve specialize split split_Rabs split_Rmult stepl stepr subst sum swap symmetry tactic tauto time timeout top transitivity trivial try tryif unfold unify until using vm_compute with"},contains:[hljs.QUOTE_STRING_MODE,hljs.COMMENT("\\(\\*","\\*\\)"),hljs.C_NUMBER_MODE,{className:"type",excludeBegin:true,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}},function(module,exports){module.exports=function cos(hljs){var STRINGS={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]};var NUMBERS={className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0};var COS_KEYWORDS="property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii";return{case_insensitive:true,aliases:["cos","cls"],keywords:COS_KEYWORDS,contains:[NUMBERS,STRINGS,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:true,excludeEnd:true,subLanguage:"sql"},{begin:/&(js|jscript|javascript)</,end:/>/,excludeBegin:true,excludeEnd:true,subLanguage:"javascript"},{begin:/&html<\s*</,end:/>\s*>/,subLanguage:"xml"}]}}},function(module,exports){module.exports=function(hljs){var RESOURCES="primitive rsc_template";var COMMANDS="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";var PROPERTY_SETS="property rsc_defaults op_defaults";var KEYWORDS="params meta operations op rule attributes utilization";var OPERATORS="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\";var TYPES="number string";var LITERALS="Master Started Slave Stopped start promote demote stop monitor true false";return{aliases:["crm","pcmk"],case_insensitive:true,keywords:{keyword:KEYWORDS+" "+OPERATORS+" "+TYPES,literal:LITERALS},contains:[hljs.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:RESOURCES,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+COMMANDS.split(" ").join("|")+")\\s+",keywords:COMMANDS,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:PROPERTY_SETS,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},hljs.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z\$_\#][\w_-]+)=/,relevance:0},{className:"tag",begin:"</?",end:"/?>",relevance:0}]}}},function(module,exports){module.exports=function(hljs){var NUM_SUFFIX="(_[uif](8|16|32|64))?";var CRYSTAL_IDENT_RE="[a-zA-Z_]\\w*[!?=]?";var RE_STARTER="!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";var CRYSTAL_METHOD_RE="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\][=?]?";var CRYSTAL_KEYWORDS={keyword:"abstract alias as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"};var SUBST={className:"subst",begin:"#{",end:"}",keywords:CRYSTAL_KEYWORDS};var EXPANSION={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:CRYSTAL_KEYWORDS};function recursiveParen(begin,end){var contains=[{begin:begin,end:end}];contains[0].contains=contains;return contains}var STRING={className:"string",contains:[hljs.BACKSLASH_ESCAPE,SUBST],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%w?\\(",end:"\\)",contains:recursiveParen("\\(","\\)")},{begin:"%w?\\[",end:"\\]",contains:recursiveParen("\\[","\\]")},{begin:"%w?{",end:"}",contains:recursiveParen("{","}")},{begin:"%w?<",end:">",contains:recursiveParen("<",">")},{begin:"%w?/",end:"/"},{begin:"%w?%",end:"%"},{begin:"%w?-",end:"-"},{begin:"%w?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0};var Q_STRING={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:recursiveParen("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:recursiveParen("\\[","\\]")},{begin:"%q{",end:"}",contains:recursiveParen("{","}")},{begin:"%q<",end:">",contains:recursiveParen("<",">")},{begin:"%q/",end:"/"},{begin:"%q%",end:"%"},{begin:"%q-",end:"-"},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0};var REGEXP={begin:"("+RE_STARTER+")\\s*",contains:[{className:"regexp",contains:[hljs.BACKSLASH_ESCAPE,SUBST],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/",end:"/[a-z]*"},{begin:"%r\\(",end:"\\)",contains:recursiveParen("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:recursiveParen("\\[","\\]")},{begin:"%r{",end:"}",contains:recursiveParen("{","}")},{begin:"%r<",end:">",contains:recursiveParen("<",">")},{begin:"%r/",end:"/"},{begin:"%r%",end:"%"},{begin:"%r-",end:"-"},{begin:"%r\\|",end:"\\|"}]}],relevance:0};var REGEXP2={className:"regexp",contains:[hljs.BACKSLASH_ESCAPE,SUBST],variants:[{begin:"%r\\(",end:"\\)",contains:recursiveParen("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:recursiveParen("\\[","\\]")},{begin:"%r{",end:"}",contains:recursiveParen("{","}")},{begin:"%r<",end:">",contains:recursiveParen("<",">")},{begin:"%r/",end:"/"},{begin:"%r%",end:"%"},{begin:"%r-",end:"-"},{begin:"%r\\|",end:"\\|"}],relevance:0};var ATTRIBUTE={className:"meta",begin:"@\\[",end:"\\]",contains:[hljs.inherit(hljs.QUOTE_STRING_MODE,{className:"meta-string"})]};var CRYSTAL_DEFAULT_CONTAINS=[EXPANSION,STRING,Q_STRING,REGEXP,REGEXP2,ATTRIBUTE,hljs.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[hljs.HASH_COMMENT_MODE,hljs.inherit(hljs.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[hljs.HASH_COMMENT_MODE,hljs.inherit(hljs.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"})],relevance:10},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:CRYSTAL_METHOD_RE,endsParent:true})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:CRYSTAL_METHOD_RE,endsParent:true})],relevance:5},{className:"symbol",begin:hljs.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[STRING,{begin:CRYSTAL_METHOD_RE}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]*[01])"+NUM_SUFFIX},{begin:"\\b0o([0-7_]*[0-7])"+NUM_SUFFIX},{begin:"\\b0x([A-Fa-f0-9_]*[A-Fa-f0-9])"+NUM_SUFFIX},{begin:"\\b(([0-9][0-9_]*[0-9]|[0-9])(\\.[0-9_]*[0-9])?([eE][+-]?[0-9_]*[0-9])?)"+NUM_SUFFIX}],relevance:0}];SUBST.contains=CRYSTAL_DEFAULT_CONTAINS;EXPANSION.contains=CRYSTAL_DEFAULT_CONTAINS.slice(1);return{aliases:["cr"],lexemes:CRYSTAL_IDENT_RE,keywords:CRYSTAL_KEYWORDS,contains:CRYSTAL_DEFAULT_CONTAINS}}},function(module,exports){module.exports=function(hljs){var KEYWORDS={keyword:"abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long nameof object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let on orderby partial remove select set value var where yield",literal:"null false true"};var VERBATIM_STRING={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]};var VERBATIM_STRING_NO_LF=hljs.inherit(VERBATIM_STRING,{illegal:/\n/});var SUBST={className:"subst",begin:"{",end:"}",keywords:KEYWORDS};var SUBST_NO_LF=hljs.inherit(SUBST,{illegal:/\n/});var INTERPOLATED_STRING={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:"{{"},{begin:"}}"},hljs.BACKSLASH_ESCAPE,SUBST_NO_LF]};var INTERPOLATED_VERBATIM_STRING={className:"string",begin:/\$@"/,end:'"',contains:[{begin:"{{"},{begin:"}}"},{begin:'""'},SUBST]};var INTERPOLATED_VERBATIM_STRING_NO_LF=hljs.inherit(INTERPOLATED_VERBATIM_STRING,{illegal:/\n/,contains:[{begin:"{{"},{begin:"}}"},{begin:'""'},SUBST_NO_LF]});SUBST.contains=[INTERPOLATED_VERBATIM_STRING,INTERPOLATED_STRING,VERBATIM_STRING,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,hljs.C_BLOCK_COMMENT_MODE];SUBST_NO_LF.contains=[INTERPOLATED_VERBATIM_STRING_NO_LF,INTERPOLATED_STRING,VERBATIM_STRING_NO_LF,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,hljs.inherit(hljs.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];var STRING={variants:[INTERPOLATED_VERBATIM_STRING,INTERPOLATED_STRING,VERBATIM_STRING,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE]};var TYPE_IDENT_RE=hljs.IDENT_RE+"(<"+hljs.IDENT_RE+"(\\s*,\\s*"+hljs.IDENT_RE+")*>)?(\\[\\])?";return{aliases:["csharp"],keywords:KEYWORDS,illegal:/::/,contains:[hljs.COMMENT("///","$",{returnBegin:true,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},STRING,hljs.C_NUMBER_MODE,{beginKeywords:"class interface",end:/[{;=]/,illegal:/[^\s:]/,contains:[hljs.TITLE_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",end:/[{;=]/,illegal:/[^\s:]/,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[",excludeBegin:true,end:"\\]",excludeEnd:true,contains:[{className:"meta-string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+TYPE_IDENT_RE+"\\s+)+"+hljs.IDENT_RE+"\\s*\\(",returnBegin:true,end:/[{;=]/,excludeEnd:true,keywords:KEYWORDS,contains:[{begin:hljs.IDENT_RE+"\\s*\\(",returnBegin:true,contains:[hljs.TITLE_MODE],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:true,excludeEnd:true,keywords:KEYWORDS,relevance:0,contains:[STRING,hljs.C_NUMBER_MODE,hljs.C_BLOCK_COMMENT_MODE]},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]}]}}},function(module,exports){module.exports=function(hljs){return{case_insensitive:false,lexemes:"[a-zA-Z][a-zA-Z0-9_-]*",keywords:{keyword:"base-uri child-src connect-src default-src font-src form-action frame-ancestors frame-src img-src media-src object-src plugin-types report-uri sandbox script-src style-src"},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:true}]}}},function(module,exports){module.exports=function(hljs){var IDENT_RE="[a-zA-Z-][a-zA-Z0-9_-]*";var RULE={begin:/[A-Z\_\.\-]+\s*:/,returnBegin:true,end:";",endsWithParent:true,contains:[{className:"attribute",begin:/\S/,end:":",excludeEnd:true,starts:{endsWithParent:true,excludeEnd:true,contains:[{begin:/[\w-]+\(/,returnBegin:true,contains:[{className:"built_in",begin:/[\w-]+/},{begin:/\(/,end:/\)/,contains:[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE]}]},hljs.CSS_NUMBER_MODE,hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"number",begin:"#[0-9A-Fa-f]+"},{className:"meta",begin:"!important"}]}}]};return{case_insensitive:true,illegal:/[=\/|'\$]/,contains:[hljs.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/},{className:"selector-class",begin:/\.[A-Za-z0-9_-]+/},{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$"},{className:"selector-pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"@(font-face|page)",lexemes:"[a-z-]+",keywords:"font-face page"},{begin:"@",end:"[{;]",illegal:/:/,contains:[{className:"keyword",begin:/\w+/},{begin:/\s/,endsWithParent:true,excludeEnd:true,relevance:0,contains:[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:IDENT_RE,relevance:0},{begin:"{",end:"}",illegal:/\S/,contains:[hljs.C_BLOCK_COMMENT_MODE,RULE]}]}}},function(module,exports){module.exports=function(hljs){var D_KEYWORDS={keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"};var decimal_integer_re="(0|[1-9][\\d_]*)",decimal_integer_nosus_re="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",binary_integer_re="0[bB][01_]+",hexadecimal_digits_re="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",hexadecimal_integer_re="0[xX]"+hexadecimal_digits_re,decimal_exponent_re="([eE][+-]?"+decimal_integer_nosus_re+")",decimal_float_re="("+decimal_integer_nosus_re+"(\\.\\d*|"+decimal_exponent_re+")|\\d+\\."+decimal_integer_nosus_re+decimal_integer_nosus_re+"|\\."+decimal_integer_re+decimal_exponent_re+"?)",hexadecimal_float_re="(0[xX]("+hexadecimal_digits_re+"\\."+hexadecimal_digits_re+"|\\.?"+hexadecimal_digits_re+")[pP][+-]?"+decimal_integer_nosus_re+")",integer_re="("+decimal_integer_re+"|"+binary_integer_re+"|"+hexadecimal_integer_re+")",float_re="("+hexadecimal_float_re+"|"+decimal_float_re+")";var escape_sequence_re="\\\\(['\"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};";var D_INTEGER_MODE={className:"number",begin:"\\b"+integer_re+"(L|u|U|Lu|LU|uL|UL)?",relevance:0};var D_FLOAT_MODE={className:"number",begin:"\\b("+float_re+"([fF]|L|i|[fF]i|Li)?|"+integer_re+"(i|[fF]i|Li))",relevance:0};var D_CHARACTER_MODE={className:"string",begin:"'("+escape_sequence_re+"|.)",end:"'",illegal:"."};var D_ESCAPE_SEQUENCE={begin:escape_sequence_re,relevance:0};var D_STRING_MODE={className:"string",begin:'"',contains:[D_ESCAPE_SEQUENCE],end:'"[cwd]?'};var D_WYSIWYG_DELIMITED_STRING_MODE={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5};var D_ALTERNATE_WYSIWYG_STRING_MODE={className:"string",begin:"`",end:"`[cwd]?"};var D_HEX_STRING_MODE={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10};var D_TOKEN_STRING_MODE={className:"string",begin:'q"\\{',end:'\\}"'};var D_HASHBANG_MODE={className:"meta",begin:"^#!",end:"$",relevance:5};var D_SPECIAL_TOKEN_SEQUENCE_MODE={className:"meta",begin:"#(line)",end:"$",relevance:5};var D_ATTRIBUTE_MODE={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"};var D_NESTING_COMMENT_MODE=hljs.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{lexemes:hljs.UNDERSCORE_IDENT_RE,keywords:D_KEYWORDS,contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,D_NESTING_COMMENT_MODE,D_HEX_STRING_MODE,D_STRING_MODE,D_WYSIWYG_DELIMITED_STRING_MODE,D_ALTERNATE_WYSIWYG_STRING_MODE,D_TOKEN_STRING_MODE,D_FLOAT_MODE,D_INTEGER_MODE,D_CHARACTER_MODE,D_HASHBANG_MODE,D_SPECIAL_TOKEN_SEQUENCE_MODE,D_ATTRIBUTE_MODE]}}},function(module,exports){module.exports=function(hljs){return{aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$"},{begin:"^.+?\\n[=-]{2,}$"}]},{begin:"<",end:">",subLanguage:"xml",relevance:0},{className:"bullet",begin:"^([*+-]|(\\d+\\.))\\s+"},{className:"strong",begin:"[*_]{2}.+?[*_]{2}"},{className:"emphasis",variants:[{begin:"\\*.+?\\*"},{begin:"_.+?_",relevance:0}]},{className:"quote",begin:"^>\\s+",end:"$"},{className:"code",variants:[{begin:"^```w*s*$",end:"^```s*$"},{begin:"`.+?`"},{begin:"^( {4}|\t)",end:"$",relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},{begin:"\\[.+?\\][\\(\\[].*?[\\)\\]]",returnBegin:true,contains:[{className:"string",begin:"\\[",end:"\\]",excludeBegin:true,returnEnd:true,relevance:0},{className:"link",begin:"\\]\\(",end:"\\)",excludeBegin:true,excludeEnd:true},{className:"symbol",begin:"\\]\\[",end:"\\]",excludeBegin:true,excludeEnd:true}],relevance:10},{begin:/^\[[^\n]+\]:/,returnBegin:true,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:true,excludeEnd:true},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:true}]}]}}},function(module,exports){module.exports=function(hljs){var SUBST={className:"subst",begin:"\\$\\{",end:"}",keywords:"true false null this is new super"};var STRING={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[hljs.BACKSLASH_ESCAPE,SUBST]},{begin:'"""',end:'"""',contains:[hljs.BACKSLASH_ESCAPE,SUBST]},{begin:"'",end:"'",illegal:"\\n",contains:[hljs.BACKSLASH_ESCAPE,SUBST]},{begin:'"',end:'"',illegal:"\\n",contains:[hljs.BACKSLASH_ESCAPE,SUBST]}]};SUBST.contains=[hljs.C_NUMBER_MODE,STRING];var KEYWORDS={keyword:"assert async await break case catch class const continue default do else enum extends false final finally for if in is new null rethrow return super switch sync this throw true try var void while with yield abstract as dynamic export external factory get implements import library operator part set static typedef",built_in:"print Comparable DateTime Duration Function Iterable Iterator List Map Match Null Object Pattern RegExp Set Stopwatch String StringBuffer StringSink Symbol Type Uri bool double int num document window querySelector querySelectorAll Element ElementList"};return{keywords:KEYWORDS,contains:[STRING,hljs.COMMENT("/\\*\\*","\\*/",{subLanguage:"markdown"}),hljs.COMMENT("///","$",{subLanguage:"markdown"}),hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:true,contains:[{beginKeywords:"extends implements"},hljs.UNDERSCORE_TITLE_MODE]},hljs.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS="exports register file shl array record property for mod while set ally label uses raise not stored class safecall var interface or private static exit index inherited to else stdcall override shr asm far resourcestring finalization packed virtual out and protected library do xorwrite goto near function end div overload object unit begin string on inline repeat until destructor write message program with read initialization except default nil if case cdecl in downto threadvar of try pascal const external constructor type public then implementation finally published procedure absolute reintroduce operator as is abstract alias assembler bitpacked break continue cppdecl cvar enumerator experimental platform deprecated unimplemented dynamic export far16 forward generic helper implements interrupt iochecks local name nodefault noreturn nostackframe oldfpccall otherwise saveregisters softfloat specialize strict unaligned varargs ";var COMMENT_MODES=[hljs.C_LINE_COMMENT_MODE,hljs.COMMENT(/\{/,/\}/,{relevance:0}),hljs.COMMENT(/\(\*/,/\*\)/,{relevance:10})];var DIRECTIVE={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]};var STRING={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]};var CHAR_STRING={className:"string",begin:/(#\d+)+/};var CLASS={begin:hljs.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:true,contains:[hljs.TITLE_MODE]};var FUNCTION={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[hljs.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:KEYWORDS,contains:[STRING,CHAR_STRING,DIRECTIVE].concat(COMMENT_MODES)},DIRECTIVE].concat(COMMENT_MODES)};return{aliases:["dpr","dfm","pas","pascal","freepascal","lazarus","lpr","lfm"],case_insensitive:true,keywords:KEYWORDS,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[STRING,CHAR_STRING,hljs.NUMBER_MODE,CLASS,FUNCTION,DIRECTIVE].concat(COMMENT_MODES)}}},function(module,exports){module.exports=function(hljs){return{aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^\-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/\*{5}/,end:/\*{5}$/}]},{className:"addition",begin:"^\\+",end:"$"},{className:"deletion",begin:"^\\-",end:"$"},{className:"addition",begin:"^\\!",end:"$"}]}}},function(module,exports){module.exports=function(hljs){var FILTER={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE]};return{aliases:["jinja"],case_insensitive:true,subLanguage:"xml",contains:[hljs.COMMENT(/\{%\s*comment\s*%}/,/\{%\s*endcomment\s*%}/),hljs.COMMENT(/\{#/,/#}/),{className:"template-tag",begin:/\{%/,end:/%}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:true,keywords:"in by as",contains:[FILTER],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/}}/,contains:[FILTER]}]}}},function(module,exports){module.exports=function(hljs){return{aliases:["bind","zone"],keywords:{keyword:"IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT"},contains:[hljs.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},hljs.inherit(hljs.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}},function(module,exports){module.exports=function(hljs){return{aliases:["docker"],case_insensitive:true,keywords:"from maintainer expose env arg user onbuild stopsignal",contains:[hljs.HASH_COMMENT_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]\n/,subLanguage:"bash"}}],illegal:"</"}}},function(module,exports){module.exports=function(hljs){var COMMENT=hljs.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10});var LABEL={className:"symbol",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",relevance:0};return{aliases:["bat","cmd"],case_insensitive:true,illegal:/\/\*/,keywords:{keyword:"if else goto for in do call exit not exist errorlevel defined equ neq lss leq gtr geq",built_in:"prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux shift cd dir echo setlocal endlocal set pause copy append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color comp compact convert date dir diskcomp diskcopy doskey erase fs find findstr format ftype graftabl help keyb label md mkdir mode more move path pause print popd pushd promt rd recover rem rename replace restore rmdir shiftsort start subst time title tree type ver verify vol ping net ipconfig taskkill xcopy ren del"},contains:[{className:"variable",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:LABEL.begin,end:"goto:eof",contains:[hljs.inherit(hljs.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),COMMENT]},{className:"number",begin:"\\b\\d+",relevance:0},COMMENT]}}},function(module,exports){module.exports=function(hljs){var QUOTED_PROPERTY={className:"string",begin:/"/,end:/"/};var APOS_PROPERTY={className:"string",begin:/'/,end:/'/};var UNQUOTED_PROPERTY={className:"string",begin:"[\\w-?]+:\\w+",end:"\\W",relevance:0};var VALUELESS_PROPERTY={className:"string",begin:"\\w+-?\\w+",end:"\\W",relevance:0};return{keywords:"dsconfig",contains:[{className:"keyword",begin:"^dsconfig",end:"\\s",excludeEnd:true,relevance:10},{className:"built_in",begin:"(list|create|get|set|delete)-(\\w+)",end:"\\s",excludeEnd:true,illegal:"!@#$%^&*()",relevance:10},{className:"built_in",begin:"--(\\w+)",end:"\\s",excludeEnd:true},QUOTED_PROPERTY,APOS_PROPERTY,UNQUOTED_PROPERTY,VALUELESS_PROPERTY,hljs.HASH_COMMENT_MODE]}}},function(module,exports){module.exports=function(hljs){var STRINGS={className:"string",variants:[hljs.inherit(hljs.QUOTE_STRING_MODE,{begin:'((u8?|U)|L)?"'}),{begin:'(u8?|U)?R"',end:'"',contains:[hljs.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]};var NUMBERS={className:"number",variants:[{begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{begin:hljs.C_NUMBER_RE}],relevance:0};var PREPROCESSOR={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef ifdef ifndef"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{"meta-keyword":"include"},contains:[hljs.inherit(STRINGS,{className:"meta-string"}),{className:"meta-string",begin:"<",end:">",illegal:"\\n"}]},STRINGS,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]};var DTS_REFERENCE={className:"variable",begin:"\\&[a-z\\d_]*\\b"};var DTS_KEYWORD={className:"meta-keyword",begin:"/[a-z][a-z\\d-]*/"};var DTS_LABEL={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"};var DTS_CELL_PROPERTY={className:"params",begin:"<",end:">",contains:[NUMBERS,DTS_REFERENCE]};var DTS_NODE={className:"class",begin:/[a-zA-Z_][a-zA-Z\d_@]*\s{/,end:/[{;=]/,returnBegin:true,excludeEnd:true};var DTS_ROOT_NODE={className:"class",begin:"/\\s*{",end:"};",relevance:10,contains:[DTS_REFERENCE,DTS_KEYWORD,DTS_LABEL,DTS_NODE,DTS_CELL_PROPERTY,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,NUMBERS,STRINGS]};return{keywords:"",contains:[DTS_ROOT_NODE,DTS_REFERENCE,DTS_KEYWORD,DTS_LABEL,DTS_NODE,DTS_CELL_PROPERTY,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,NUMBERS,STRINGS,PREPROCESSOR,{begin:hljs.IDENT_RE+"::",keywords:""}]}}},function(module,exports){module.exports=function(hljs){var EXPRESSION_KEYWORDS="if eq ne lt lte gt gte select default math sep";return{aliases:["dst"],case_insensitive:true,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:true,relevance:0,contains:[hljs.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:EXPRESSION_KEYWORDS}]}}},function(module,exports){module.exports=function(hljs){var commentMode=hljs.COMMENT(/\(\*/,/\*\)/);var nonTerminalMode={className:"attribute",begin:/^[ ]*[a-zA-Z][a-zA-Z-]*([\s-]+[a-zA-Z][a-zA-Z]*)*/};var specialSequenceMode={className:"meta",begin:/\?.*\?/};var ruleBodyMode={begin:/=/,end:/;/,contains:[commentMode,specialSequenceMode,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE]};return{illegal:/\S/,contains:[commentMode,nonTerminalMode,ruleBodyMode]}}},function(module,exports){module.exports=function(hljs){var ELIXIR_IDENT_RE="[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?";var ELIXIR_METHOD_RE="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?";var ELIXIR_KEYWORDS="and false then defined module in return redo retry end for true self when next until do begin unless nil break not case cond alias while ensure or include use alias fn quote";var SUBST={className:"subst",begin:"#\\{",end:"}",lexemes:ELIXIR_IDENT_RE,keywords:ELIXIR_KEYWORDS};var STRING={className:"string",contains:[hljs.BACKSLASH_ESCAPE,SUBST],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};var FUNCTION={className:"function",beginKeywords:"def defp defmacro",end:/\B\b/,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:ELIXIR_IDENT_RE,endsParent:true})]};var CLASS=hljs.inherit(FUNCTION,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/});var ELIXIR_DEFAULT_CONTAINS=[STRING,hljs.HASH_COMMENT_MODE,CLASS,FUNCTION,{className:"symbol",begin:":(?!\\s)",contains:[STRING,{begin:ELIXIR_METHOD_RE}],relevance:0},{className:"symbol",begin:ELIXIR_IDENT_RE+":",relevance:0},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{begin:"->"},{begin:"("+hljs.RE_STARTERS_RE+")\\s*",contains:[hljs.HASH_COMMENT_MODE,{className:"regexp",illegal:"\\n",contains:[hljs.BACKSLASH_ESCAPE,SUBST],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}],relevance:0}];SUBST.contains=ELIXIR_DEFAULT_CONTAINS;return{lexemes:ELIXIR_IDENT_RE,keywords:ELIXIR_KEYWORDS,contains:ELIXIR_DEFAULT_CONTAINS}}},function(module,exports){module.exports=function(hljs){var COMMENT={variants:[hljs.COMMENT("--","$"),hljs.COMMENT("{-","-}",{contains:["self"]})]};var CONSTRUCTOR={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0};var LIST={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},COMMENT]};var RECORD={begin:"{",end:"}",contains:LIST.contains};return{keywords:"let in if then else case of where module import exposing type alias as infix infixl infixr port effect command subscription",contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[LIST,COMMENT],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[LIST,COMMENT],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[CONSTRUCTOR,LIST,RECORD,COMMENT]},{beginKeywords:"infix infixl infixr",end:"$",contains:[hljs.C_NUMBER_MODE,COMMENT]},{begin:"port",end:"$",keywords:"port",contains:[COMMENT]},hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,CONSTRUCTOR,hljs.inherit(hljs.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),COMMENT,{begin:"->|<-"}],illegal:/;/}}},function(module,exports){module.exports=function(hljs){var RUBY_METHOD_RE="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?";var RUBY_KEYWORDS={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"};var YARDOCTAG={className:"doctag",begin:"@[A-Za-z]+"};var IRB_OBJECT={begin:"#<",end:">"};var COMMENT_MODES=[hljs.COMMENT("#","$",{contains:[YARDOCTAG]}),hljs.COMMENT("^\\=begin","^\\=end",{contains:[YARDOCTAG],relevance:10}),hljs.COMMENT("^__END__","\\n$")];var SUBST={className:"subst",begin:"#\\{",end:"}",keywords:RUBY_KEYWORDS};var STRING={className:"string",contains:[hljs.BACKSLASH_ESCAPE,SUBST],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[qQwWx]?\\(",end:"\\)"},{begin:"%[qQwWx]?\\[",end:"\\]"},{begin:"%[qQwWx]?{",end:"}"},{begin:"%[qQwWx]?<",end:">"},{begin:"%[qQwWx]?/",end:"/"},{begin:"%[qQwWx]?%",end:"%"},{begin:"%[qQwWx]?-",end:"-"},{begin:"%[qQwWx]?\\|",end:"\\|"},{begin:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{begin:/<<(-?)\w+$/,end:/^\s*\w+$/}]};var PARAMS={className:"params",begin:"\\(",end:"\\)",endsParent:true,keywords:RUBY_KEYWORDS};var RUBY_DEFAULT_CONTAINS=[STRING,IRB_OBJECT,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{begin:"<\\s*",contains:[{begin:"("+hljs.IDENT_RE+"::)?"+hljs.IDENT_RE}]}].concat(COMMENT_MODES)},{className:"function",beginKeywords:"def",end:"$|;",contains:[hljs.inherit(hljs.TITLE_MODE,{begin:RUBY_METHOD_RE}),PARAMS].concat(COMMENT_MODES)},{begin:hljs.IDENT_RE+"::"},{className:"symbol",begin:hljs.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[STRING,{begin:RUBY_METHOD_RE}],relevance:0},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{className:"params",begin:/\|/,end:/\|/,keywords:RUBY_KEYWORDS},{begin:"("+hljs.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[IRB_OBJECT,{className:"regexp",contains:[hljs.BACKSLASH_ESCAPE,SUBST],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r{",end:"}[a-z]*"},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(COMMENT_MODES),relevance:0}].concat(COMMENT_MODES);SUBST.contains=RUBY_DEFAULT_CONTAINS;PARAMS.contains=RUBY_DEFAULT_CONTAINS;var SIMPLE_PROMPT="[>?]>";var DEFAULT_PROMPT="[\\w#]+\\(\\w+\\):\\d+:\\d+>";var RVM_PROMPT="(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>";var IRB_DEFAULT=[{begin:/^\s*=>/,starts:{end:"$",contains:RUBY_DEFAULT_CONTAINS}},{className:"meta",begin:"^("+SIMPLE_PROMPT+"|"+DEFAULT_PROMPT+"|"+RVM_PROMPT+")",starts:{end:"$",contains:RUBY_DEFAULT_CONTAINS}}];return{aliases:["rb","gemspec","podspec","thor","irb"],keywords:RUBY_KEYWORDS,illegal:/\/\*/,contains:COMMENT_MODES.concat(IRB_DEFAULT).concat(RUBY_DEFAULT_CONTAINS)}}},function(module,exports){module.exports=function(hljs){return{subLanguage:"xml",contains:[hljs.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:true,excludeEnd:true}]}}},function(module,exports){module.exports=function(hljs){return{keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta",begin:"^[0-9]+> ",relevance:10},hljs.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)",relevance:0},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,{begin:"\\?(::)?([A-Z]\\w*(::)?)+"},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}},function(module,exports){module.exports=function(hljs){var BASIC_ATOM_RE="[a-z'][a-zA-Z0-9_']*";var FUNCTION_NAME_RE="("+BASIC_ATOM_RE+":"+BASIC_ATOM_RE+"|"+BASIC_ATOM_RE+")";var ERLANG_RESERVED={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"};var COMMENT=hljs.COMMENT("%","$");var NUMBER={className:"number",begin:"\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)",relevance:0};var NAMED_FUN={begin:"fun\\s+"+BASIC_ATOM_RE+"/\\d+"};var FUNCTION_CALL={begin:FUNCTION_NAME_RE+"\\(",end:"\\)",returnBegin:true,relevance:0,contains:[{begin:FUNCTION_NAME_RE,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:true,returnEnd:true,relevance:0}]};var TUPLE={begin:"{",end:"}",relevance:0};var VAR1={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0};var VAR2={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0};var RECORD_ACCESS={begin:"#"+hljs.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:true,contains:[{begin:"#"+hljs.UNDERSCORE_IDENT_RE,relevance:0},{begin:"{",end:"}",relevance:0}]};var BLOCK_STATEMENTS={beginKeywords:"fun receive if try case",end:"end",keywords:ERLANG_RESERVED};BLOCK_STATEMENTS.contains=[COMMENT,NAMED_FUN,hljs.inherit(hljs.APOS_STRING_MODE,{className:""}),BLOCK_STATEMENTS,FUNCTION_CALL,hljs.QUOTE_STRING_MODE,NUMBER,TUPLE,VAR1,VAR2,RECORD_ACCESS];var BASIC_MODES=[COMMENT,NAMED_FUN,BLOCK_STATEMENTS,FUNCTION_CALL,hljs.QUOTE_STRING_MODE,NUMBER,TUPLE,VAR1,VAR2,RECORD_ACCESS];FUNCTION_CALL.contains[1].contains=BASIC_MODES;TUPLE.contains=BASIC_MODES;RECORD_ACCESS.contains[1].contains=BASIC_MODES;var PARAMS={className:"params",begin:"\\(",end:"\\)",contains:BASIC_MODES};return{aliases:["erl"],keywords:ERLANG_RESERVED,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+BASIC_ATOM_RE+"\\s*\\(",end:"->",returnBegin:true,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[PARAMS,hljs.inherit(hljs.TITLE_MODE,{begin:BASIC_ATOM_RE})],starts:{end:";|\\.",keywords:ERLANG_RESERVED,contains:BASIC_MODES}},COMMENT,{begin:"^-",end:"\\.",relevance:0,excludeEnd:true,returnBegin:true,lexemes:"-"+hljs.IDENT_RE,keywords:"-module -record -undef -export -ifdef -ifndef -author -copyright -doc -vsn -import -include -include_lib -compile -define -else -endif -file -behaviour -behavior -spec",contains:[PARAMS]},NUMBER,hljs.QUOTE_STRING_MODE,RECORD_ACCESS,VAR1,VAR2,TUPLE,{begin:/\.$/}]}}},function(module,exports){module.exports=function(hljs){return{aliases:["xlsx","xls"],case_insensitive:true,lexemes:/[a-zA-Z][\w\.]*/,keywords:{built_in:"ABS ACCRINT ACCRINTM ACOS ACOSH ACOT ACOTH AGGREGATE ADDRESS AMORDEGRC AMORLINC AND ARABIC AREAS ASC ASIN ASINH ATAN ATAN2 ATANH AVEDEV AVERAGE AVERAGEA AVERAGEIF AVERAGEIFS BAHTTEXT BASE BESSELI BESSELJ BESSELK BESSELY BETADIST BETA.DIST BETAINV BETA.INV BIN2DEC BIN2HEX BIN2OCT BINOMDIST BINOM.DIST BINOM.DIST.RANGE BINOM.INV BITAND BITLSHIFT BITOR BITRSHIFT BITXOR CALL CEILING CEILING.MATH CEILING.PRECISE CELL CHAR CHIDIST CHIINV CHITEST CHISQ.DIST CHISQ.DIST.RT CHISQ.INV CHISQ.INV.RT CHISQ.TEST CHOOSE CLEAN CODE COLUMN COLUMNS COMBIN COMBINA COMPLEX CONCAT CONCATENATE CONFIDENCE CONFIDENCE.NORM CONFIDENCE.T CONVERT CORREL COS COSH COT COTH COUNT COUNTA COUNTBLANK COUNTIF COUNTIFS COUPDAYBS COUPDAYS COUPDAYSNC COUPNCD COUPNUM COUPPCD COVAR COVARIANCE.P COVARIANCE.S CRITBINOM CSC CSCH CUBEKPIMEMBER CUBEMEMBER CUBEMEMBERPROPERTY CUBERANKEDMEMBER CUBESET CUBESETCOUNT CUBEVALUE CUMIPMT CUMPRINC DATE DATEDIF DATEVALUE DAVERAGE DAY DAYS DAYS360 DB DBCS DCOUNT DCOUNTA DDB DEC2BIN DEC2HEX DEC2OCT DECIMAL DEGREES DELTA DEVSQ DGET DISC DMAX DMIN DOLLAR DOLLARDE DOLLARFR DPRODUCT DSTDEV DSTDEVP DSUM DURATION DVAR DVARP EDATE EFFECT ENCODEURL EOMONTH ERF ERF.PRECISE ERFC ERFC.PRECISE ERROR.TYPE EUROCONVERT EVEN EXACT EXP EXPON.DIST EXPONDIST FACT FACTDOUBLE FALSE|0 F.DIST FDIST F.DIST.RT FILTERXML FIND FINDB F.INV F.INV.RT FINV FISHER FISHERINV FIXED FLOOR FLOOR.MATH FLOOR.PRECISE FORECAST FORECAST.ETS FORECAST.ETS.CONFINT FORECAST.ETS.SEASONALITY FORECAST.ETS.STAT FORECAST.LINEAR FORMULATEXT FREQUENCY F.TEST FTEST FV FVSCHEDULE GAMMA GAMMA.DIST GAMMADIST GAMMA.INV GAMMAINV GAMMALN GAMMALN.PRECISE GAUSS GCD GEOMEAN GESTEP GETPIVOTDATA GROWTH HARMEAN HEX2BIN HEX2DEC HEX2OCT HLOOKUP HOUR HYPERLINK HYPGEOM.DIST HYPGEOMDIST IF|0 IFERROR IFNA IFS IMABS IMAGINARY IMARGUMENT IMCONJUGATE IMCOS IMCOSH IMCOT IMCSC IMCSCH IMDIV IMEXP IMLN IMLOG10 IMLOG2 IMPOWER IMPRODUCT IMREAL IMSEC IMSECH IMSIN IMSINH IMSQRT IMSUB IMSUM IMTAN INDEX INDIRECT INFO INT INTERCEPT INTRATE IPMT IRR ISBLANK ISERR ISERROR ISEVEN ISFORMULA ISLOGICAL ISNA ISNONTEXT ISNUMBER ISODD ISREF ISTEXT ISO.CEILING ISOWEEKNUM ISPMT JIS KURT LARGE LCM LEFT LEFTB LEN LENB LINEST LN LOG LOG10 LOGEST LOGINV LOGNORM.DIST LOGNORMDIST LOGNORM.INV LOOKUP LOWER MATCH MAX MAXA MAXIFS MDETERM MDURATION MEDIAN MID MIDBs MIN MINIFS MINA MINUTE MINVERSE MIRR MMULT MOD MODE MODE.MULT MODE.SNGL MONTH MROUND MULTINOMIAL MUNIT N NA NEGBINOM.DIST NEGBINOMDIST NETWORKDAYS NETWORKDAYS.INTL NOMINAL NORM.DIST NORMDIST NORMINV NORM.INV NORM.S.DIST NORMSDIST NORM.S.INV NORMSINV NOT NOW NPER NPV NUMBERVALUE OCT2BIN OCT2DEC OCT2HEX ODD ODDFPRICE ODDFYIELD ODDLPRICE ODDLYIELD OFFSET OR PDURATION PEARSON PERCENTILE.EXC PERCENTILE.INC PERCENTILE PERCENTRANK.EXC PERCENTRANK.INC PERCENTRANK PERMUT PERMUTATIONA PHI PHONETIC PI PMT POISSON.DIST POISSON POWER PPMT PRICE PRICEDISC PRICEMAT PROB PRODUCT PROPER PV QUARTILE QUARTILE.EXC QUARTILE.INC QUOTIENT RADIANS RAND RANDBETWEEN RANK.AVG RANK.EQ RANK RATE RECEIVED REGISTER.ID REPLACE REPLACEB REPT RIGHT RIGHTB ROMAN ROUND ROUNDDOWN ROUNDUP ROW ROWS RRI RSQ RTD SEARCH SEARCHB SEC SECH SECOND SERIESSUM SHEET SHEETS SIGN SIN SINH SKEW SKEW.P SLN SLOPE SMALL SQL.REQUEST SQRT SQRTPI STANDARDIZE STDEV STDEV.P STDEV.S STDEVA STDEVP STDEVPA STEYX SUBSTITUTE SUBTOTAL SUM SUMIF SUMIFS SUMPRODUCT SUMSQ SUMX2MY2 SUMX2PY2 SUMXMY2 SWITCH SYD T TAN TANH TBILLEQ TBILLPRICE TBILLYIELD T.DIST T.DIST.2T T.DIST.RT TDIST TEXT TEXTJOIN TIME TIMEVALUE T.INV T.INV.2T TINV TODAY TRANSPOSE TREND TRIM TRIMMEAN TRUE|0 TRUNC T.TEST TTEST TYPE UNICHAR UNICODE UPPER VALUE VAR VAR.P VAR.S VARA VARP VARPA VDB VLOOKUP WEBSERVICE WEEKDAY WEEKNUM WEIBULL WEIBULL.DIST WORKDAY WORKDAY.INTL XIRR XNPV XOR YEAR YEARFRAC YIELD YIELDDISC YIELDMAT Z.TEST ZTEST"},contains:[{begin:/^=/,end:/[^=]/,returnEnd:true,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:true,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},hljs.BACKSLASH_ESCAPE,hljs.QUOTE_STRING_MODE,{className:"number",begin:hljs.NUMBER_RE+"(%)?",relevance:0},hljs.COMMENT(/\bN\(/,/\)/,{excludeBegin:true,excludeEnd:true,illegal:/\n/})]}}},function(module,exports){module.exports=function(hljs){return{contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:true,returnBegin:true,returnEnd:false,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:true,returnBegin:false,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:true,excludeBegin:true,className:"string"}]}],case_insensitive:true}}},function(module,exports){module.exports=function(hljs){var CHAR={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/};var STRING={className:"string",variants:[{begin:'"',end:'"'}]};var NAME={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/};var METHOD={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:true,contains:[NAME]};return{keywords:{literal:"true false",keyword:"case class def else enum if impl import in lat rel index let match namespace switch type yield with"},contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,CHAR,STRING,METHOD,hljs.C_NUMBER_MODE]}}},function(module,exports){module.exports=function(hljs){var PARAMS={className:"params",begin:"\\(",end:"\\)"};var F_KEYWORDS={literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated  c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_ofacosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image"};return{case_insensitive:true,aliases:["f90","f95"],keywords:F_KEYWORDS,illegal:/\/\*/,contains:[hljs.inherit(hljs.APOS_STRING_MODE,{className:"string",relevance:0}),hljs.inherit(hljs.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[hljs.UNDERSCORE_TITLE_MODE,PARAMS]},hljs.COMMENT("!","$",{relevance:0}),{className:"number",begin:"(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?",relevance:0}]}}},function(module,exports){module.exports=function(hljs){var TYPEPARAM={begin:"<",end:">",contains:[hljs.inherit(hljs.TITLE_MODE,{begin:/'[a-zA-Z0-9_]+/})]};return{aliases:["fs"],keywords:"abstract and as assert base begin class default delegate do done downcast downto elif else end exception extern false finally for fun function global if in inherit inline interface internal lazy let match member module mutable namespace new null of open or override private public rec return sig static struct then to true try type upcast use val void when while with yield",illegal:/\/\*/,contains:[{className:"keyword",begin:/\b(yield|return|let|do)!/},{className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:'"""',end:'"""'},hljs.COMMENT("\\(\\*","\\*\\)"),{className:"class",beginKeywords:"type",end:"\\(|=|$",excludeEnd:true,contains:[hljs.UNDERSCORE_TITLE_MODE,TYPEPARAM]},{className:"meta",begin:"\\[<",end:">\\]",relevance:10},{className:"symbol",begin:"\\B('[A-Za-z])\\b",contains:[hljs.BACKSLASH_ESCAPE]},hljs.C_LINE_COMMENT_MODE,hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null}),hljs.C_NUMBER_MODE]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na","built-in":"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"};var PARAMS={className:"params",begin:/\(/,end:/\)/,excludeBegin:true,excludeEnd:true};var SYMBOLS={className:"symbol",variants:[{begin:/\=[lgenxc]=/},{begin:/\$/}]};var QSTR={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[hljs.BACKSLASH_ESCAPE]};var ASSIGNMENT={begin:"/",end:"/",keywords:KEYWORDS,contains:[QSTR,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,hljs.C_NUMBER_MODE]};var DESCTEXT={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:true,end:"$",endsWithParent:true,contains:[QSTR,ASSIGNMENT,{className:"comment",begin:/([ ]*[a-z0-9&#*=?@>\\<:\-,()$\[\]_.{}!+%^]+)+/,relevance:0}]};return{aliases:["gms"],case_insensitive:true,keywords:KEYWORDS,contains:[hljs.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:true,contains:[{className:"meta-keyword",begin:"^\\$[a-z0-9]+"}]},hljs.COMMENT("^\\*","$"),hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[hljs.COMMENT("^\\*","$"),hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,ASSIGNMENT,DESCTEXT]},{beginKeywords:"table",end:";",returnBegin:true,contains:[{beginKeywords:"table",end:"$",contains:[DESCTEXT]},hljs.COMMENT("^\\*","$"),hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,hljs.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:true,contains:[{className:"title",begin:/^[a-z0-9_]+/},PARAMS,SYMBOLS]},hljs.C_NUMBER_MODE,SYMBOLS]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS={keyword:"and bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new not open or output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname threadBegin threadEnd threadEndFor threadFor threadJoin threadStat time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin strtrim sylvester",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS"};var PREPROCESSOR={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{"meta-keyword":"include"},contains:[{className:"meta-string",begin:'"',end:'"',illegal:"\\n"}]},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]};var FUNCTION_TITLE=hljs.UNDERSCORE_IDENT_RE+"\\s*\\(?";var PARSE_PARAMS=[{className:"params",begin:/\(/,end:/\)/,keywords:KEYWORDS,relevance:0,contains:[hljs.C_NUMBER_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]}];return{aliases:["gss"],case_insensitive:true,keywords:KEYWORDS,illegal:"(\\{[%#]|[%#]\\})",contains:[hljs.C_NUMBER_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.COMMENT("@","@"),PREPROCESSOR,{className:"string",begin:'"',end:'"',contains:[hljs.BACKSLASH_ESCAPE]},{className:"function",beginKeywords:"proc keyword",end:";",excludeEnd:true,keywords:KEYWORDS,contains:[{begin:FUNCTION_TITLE,returnBegin:true,contains:[hljs.UNDERSCORE_TITLE_MODE],relevance:0},hljs.C_NUMBER_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,PREPROCESSOR].concat(PARSE_PARAMS)},{className:"function",beginKeywords:"fn",end:";",excludeEnd:true,keywords:KEYWORDS,contains:[{begin:FUNCTION_TITLE+hljs.IDENT_RE+"\\)?\\s*\\=\\s*",returnBegin:true,contains:[hljs.UNDERSCORE_TITLE_MODE],relevance:0},hljs.C_NUMBER_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE].concat(PARSE_PARAMS)},{className:"function",begin:"\\bexternal (proc|keyword|fn)\\s+",end:";",excludeEnd:true,keywords:KEYWORDS,contains:[{begin:FUNCTION_TITLE,returnBegin:true,contains:[hljs.UNDERSCORE_TITLE_MODE],relevance:0},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]},{className:"function",begin:"\\bexternal (matrix|string|array|sparse matrix|struct "+hljs.IDENT_RE+")\\s+",end:";",excludeEnd:true,keywords:KEYWORDS,contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]}]}}},function(module,exports){module.exports=function(hljs){var GCODE_IDENT_RE="[A-Z_][A-Z0-9_.]*";var GCODE_CLOSE_RE="\\%";var GCODE_KEYWORDS="IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR";var GCODE_START={className:"meta",begin:"([O])([0-9]+)"};var GCODE_CODE=[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.COMMENT(/\(/,/\)/),hljs.inherit(hljs.C_NUMBER_MODE,{begin:"([-+]?([0-9]*\\.?[0-9]+\\.?))|"+hljs.C_NUMBER_RE}),hljs.inherit(hljs.APOS_STRING_MODE,{illegal:null}),hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",end:"([-+]?([0-9]*\\.?[0-9]+\\.?))(\\])"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{aliases:["nc"],case_insensitive:true,lexemes:GCODE_IDENT_RE,keywords:GCODE_KEYWORDS,contains:[{className:"meta",begin:GCODE_CLOSE_RE},GCODE_START].concat(GCODE_CODE)}}},function(module,exports){module.exports=function(hljs){return{aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},hljs.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},hljs.QUOTE_STRING_MODE]}}},function(module,exports){module.exports=function(hljs){return{keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBufferiimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}},function(module,exports){module.exports=function(hljs){var GO_KEYWORDS={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{aliases:["golang"],keywords:GO_KEYWORDS,illegal:"</",contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"string",variants:[hljs.QUOTE_STRING_MODE,{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"`"}]},{className:"number",variants:[{begin:hljs.C_NUMBER_RE+"[dflsi]",relevance:1},hljs.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:/\s*\{/,excludeEnd:true,contains:[hljs.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:GO_KEYWORDS,illegal:/["']/}]}]}}},function(module,exports){module.exports=function(hljs){return{keywords:{keyword:"println readln print import module function local return let var while for foreach times in case when match with break continue augment augmentation each find filter reduce if then else otherwise try catch finally raise throw orIfNull DynamicObject|10 DynamicVariable struct Observable map set vector list array",literal:"true false null"},contains:[hljs.HASH_COMMENT_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}},function(module,exports){module.exports=function(hljs){return{case_insensitive:true,keywords:{keyword:"task project allprojects subprojects artifacts buildscript configurations dependencies repositories sourceSets description delete from into include exclude source classpath destinationDir includes options sourceCompatibility targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant def abstract break case catch continue default do else extends final finally for if implements instanceof native new private protected public return static switch synchronized throw throws transient try volatile while strictfp package import false null super this true antlrtask checkstyle codenarc copy boolean byte char class double float int interface long short void compile runTime file fileTree abs any append asList asWritable call collect compareTo count div dump each eachByte eachFile eachLine every find findAll flatten getAt getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter newReader newWriter next plus pop power previous print println push putAt read readBytes readLines reverse reverseEach round size sort splitEachLine step subMap times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader withStream withWriter withWriterAppend write writeLine"},contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.NUMBER_MODE,hljs.REGEXP_MODE]}}},function(module,exports){module.exports=function(hljs){return{keywords:{literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait super this abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[hljs.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},{className:"string",begin:"'''",end:"'''"},{className:"string",begin:"\\$/",end:"/\\$",relevance:10},hljs.APOS_STRING_MODE,{className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[hljs.BACKSLASH_ESCAPE]},hljs.QUOTE_STRING_MODE,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},hljs.BINARY_NUMBER_MODE,{className:"class",beginKeywords:"class interface trait enum",end:"{",illegal:":",contains:[{beginKeywords:"extends implements"},hljs.UNDERSCORE_TITLE_MODE]},hljs.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{className:"string",begin:/[^\?]{0}[A-Za-z0-9_$]+ *:/},{begin:/\?/,end:/\:/},{className:"symbol",begin:"^\\s*[A-Za-z0-9_$]+:",relevance:0}],illegal:/#|<\//}}},function(module,exports){module.exports=function(hljs){return{case_insensitive:true,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},hljs.COMMENT("^\\s*(!=#|=#|-#|/).*$",false,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",starts:{end:"\\n",subLanguage:"ruby"}},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:"{\\s*",end:"\\s*}",contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:true,endsWithParent:true,contains:[{className:"attr",begin:":\\w+"},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:true,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:true,endsWithParent:true,contains:[{className:"attr",begin:"\\w+",relevance:0},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:"#{",starts:{end:"}",subLanguage:"ruby"}}]}}},function(module,exports){module.exports=function(hljs){var BUILT_INS={"builtin-name":"each in with if else unless bindattr action collection debugger log outlet template unbound view yield"};return{aliases:["hbs","html.hbs","html.handlebars"],case_insensitive:true,subLanguage:"xml",contains:[hljs.COMMENT("{{!(--)?","(--)?}}"),{className:"template-tag",begin:/\{\{[#\/]/,end:/\}\}/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,keywords:BUILT_INS,starts:{endsWithParent:true,relevance:0,contains:[hljs.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,keywords:BUILT_INS}]}}},function(module,exports){module.exports=function(hljs){var COMMENT={variants:[hljs.COMMENT("--","$"),hljs.COMMENT("{-","-}",{contains:["self"]})]};var PRAGMA={className:"meta",begin:"{-#",end:"#-}"};var PREPROCESSOR={className:"meta",begin:"^#",end:"$"};var CONSTRUCTOR={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0};var LIST={begin:"\\(",end:"\\)",illegal:'"',contains:[PRAGMA,PREPROCESSOR,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},hljs.inherit(hljs.TITLE_MODE,{begin:"[_a-z][\\w']*"}),COMMENT]};var RECORD={begin:"{",end:"}",contains:LIST.contains};return{aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[LIST,COMMENT],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[LIST,COMMENT],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[CONSTRUCTOR,LIST,COMMENT]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[PRAGMA,CONSTRUCTOR,LIST,RECORD,COMMENT]},{beginKeywords:"default",end:"$",contains:[CONSTRUCTOR,LIST,COMMENT]},{beginKeywords:"infix infixl infixr",end:"$",contains:[hljs.C_NUMBER_MODE,COMMENT]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[CONSTRUCTOR,hljs.QUOTE_STRING_MODE,COMMENT]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},PRAGMA,PREPROCESSOR,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,CONSTRUCTOR,hljs.inherit(hljs.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),COMMENT,{begin:"->|<-"}]}}},function(module,exports){module.exports=function(hljs){var HAXE_BASIC_TYPES="Int Float String Bool Dynamic Void Array ";return{aliases:["hx"],keywords:{keyword:"break case cast catch continue default do dynamic else enum extern for function here if import in inline never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+HAXE_BASIC_TYPES,built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[hljs.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"},{className:"subst",begin:"\\$",end:"\\W}"}]},hljs.QUOTE_STRING_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.C_NUMBER_MODE,{className:"meta",begin:"@:",end:"$"},{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elseif end error"}},{className:"type",begin:":[ \t]*",end:"[^A-Za-z0-9_ \t\\->]",excludeBegin:true,excludeEnd:true,relevance:0},{className:"type",begin:":[ \t]*",end:"\\W",excludeBegin:true,excludeEnd:true},{className:"type",begin:"new *",end:"\\W",excludeBegin:true,excludeEnd:true},{className:"class",beginKeywords:"enum",end:"\\{",contains:[hljs.TITLE_MODE]},{className:"class",beginKeywords:"abstract",end:"[\\{$]",contains:[{className:"type",begin:"\\(",end:"\\)",excludeBegin:true,excludeEnd:true},{className:"type",begin:"from +",end:"\\W",excludeBegin:true,excludeEnd:true},{className:"type",begin:"to +",end:"\\W",excludeBegin:true,excludeEnd:true},hljs.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"class",begin:"\\b(class|interface) +",end:"[\\{$]",excludeEnd:true,keywords:"class interface",contains:[{className:"keyword",begin:"\\b(extends|implements) +",keywords:"extends implements",contains:[{className:"type",begin:hljs.IDENT_RE,relevance:0}]},hljs.TITLE_MODE]},{className:"function",beginKeywords:"function",end:"\\(",excludeEnd:true,illegal:"\\S",contains:[hljs.TITLE_MODE]}],illegal:/<\//}}},function(module,exports){module.exports=function(hljs){return{case_insensitive:true,lexemes:/[\w\._]+/,keywords:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop",contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,{className:"string",begin:'{"',end:'"}',contains:[hljs.BACKSLASH_ESCAPE]},hljs.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[hljs.inherit(hljs.QUOTE_STRING_MODE,{className:"meta-string"}),hljs.NUMBER_MODE,hljs.C_NUMBER_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},hljs.NUMBER_MODE,hljs.C_NUMBER_MODE]}}},function(module,exports){module.exports=function(hljs){var BUILT_INS="action collection component concat debugger each each-in else get hash if input link-to loc log mut outlet partial query-params render textarea unbound unless with yield view";var ATTR_ASSIGNMENT={illegal:/\}\}/,begin:/[a-zA-Z0-9_]+=/,returnBegin:true,relevance:0,contains:[{className:"attr",begin:/[a-zA-Z0-9_]+/}]};hljs.QUOTE_STRING_MODE;var TAG_INNARDS={endsWithParent:true,relevance:0,keywords:{keyword:"as",built_in:BUILT_INS},contains:[hljs.QUOTE_STRING_MODE,ATTR_ASSIGNMENT,hljs.NUMBER_MODE]};return{case_insensitive:true,subLanguage:"xml",contains:[hljs.COMMENT("{{!(--)?","(--)?}}"),{className:"template-tag",begin:/\{\{[#\/]/,end:/\}\}/,contains:[{className:"name",begin:/[a-zA-Z\.\-]+/,keywords:{"builtin-name":BUILT_INS},starts:TAG_INNARDS}]},{className:"template-variable",begin:/\{\{[a-zA-Z][a-zA-Z\-]+/,end:/\}\}/,keywords:{keyword:"as",built_in:BUILT_INS},contains:[hljs.QUOTE_STRING_MODE]}]}}},function(module,exports){module.exports=function(hljs){var VERSION="HTTP/[0-9\\.]+";return{aliases:["https"],illegal:"\\S",contains:[{begin:"^"+VERSION,end:"$",contains:[{className:"number",begin:"\\b\\d{3}\\b"}]},{begin:"^[A-Z]+ (.*?) "+VERSION+"$",returnBegin:true,end:"$",contains:[{className:"string",begin:" ",end:" ",excludeBegin:true,excludeEnd:true},{begin:VERSION},{className:"keyword",begin:"[A-Z]+"}]},{className:"attribute",begin:"^\\w",end:": ",excludeEnd:true,illegal:"\\n|\\s|=",starts:{end:"$",relevance:0}},{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:true}}]}}},function(module,exports){module.exports=function(hljs){var keywords={"builtin-name":"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"};var SYMBOLSTART="a-zA-Z_\\-!.?+*=<>&#'";var SYMBOL_RE="["+SYMBOLSTART+"]["+SYMBOLSTART+"0-9/;:]*";var SIMPLE_NUMBER_RE="[-+]?\\d+(\\.\\d+)?";var SHEBANG={className:"meta",begin:"^#!",end:"$"};var SYMBOL={begin:SYMBOL_RE,relevance:0};var NUMBER={className:"number",begin:SIMPLE_NUMBER_RE,relevance:0};var STRING=hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null});var COMMENT=hljs.COMMENT(";","$",{relevance:0});var LITERAL={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/};var COLLECTION={begin:"[\\[\\{]",end:"[\\]\\}]"};var HINT={className:"comment",begin:"\\^"+SYMBOL_RE};var HINT_COL=hljs.COMMENT("\\^\\{","\\}");var KEY={className:"symbol",begin:"[:]{1,2}"+SYMBOL_RE};var LIST={begin:"\\(",end:"\\)"};var BODY={endsWithParent:true,relevance:0};var NAME={keywords:keywords,lexemes:SYMBOL_RE,className:"name",begin:SYMBOL_RE,starts:BODY};var DEFAULT_CONTAINS=[LIST,STRING,HINT,HINT_COL,COMMENT,KEY,COLLECTION,NUMBER,LITERAL,SYMBOL];LIST.contains=[hljs.COMMENT("comment",""),NAME,BODY];BODY.contains=DEFAULT_CONTAINS;COLLECTION.contains=DEFAULT_CONTAINS;return{aliases:["hylang"],illegal:/\S/,contains:[SHEBANG,LIST,STRING,HINT,HINT_COL,COMMENT,KEY,COLLECTION,NUMBER,LITERAL]}}},function(module,exports){module.exports=function(hljs){var START_BRACKET="\\[";var END_BRACKET="\\]";return{aliases:["i7"],case_insensitive:true,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:START_BRACKET,end:END_BRACKET}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:START_BRACKET,end:END_BRACKET,contains:["self"]}]}}},function(module,exports){module.exports=function(hljs){var STRING={className:"string",contains:[hljs.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]};return{aliases:["toml"],case_insensitive:true,illegal:/\S/,contains:[hljs.COMMENT(";","$"),hljs.HASH_COMMENT_MODE,{className:"section",begin:/^\s*\[+/,end:/\]+/},{begin:/^[a-z0-9\[\]_-]+\s*=\s*/,end:"$",returnBegin:true,contains:[{className:"attr",begin:/[a-z0-9\[\]_-]+/},{begin:/=/,endsWithParent:true,relevance:0,contains:[{className:"literal",begin:/\bon|off|true|false|yes|no\b/},{className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)}/}]},STRING,{className:"number",begin:/([\+\-]+)?[\d]+_[\d_]+/},hljs.NUMBER_MODE]}]}]}}},function(module,exports){module.exports=function(hljs){var PARAMS={className:"params",begin:"\\(",end:"\\)"};var F_KEYWORDS={literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated  c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_ofacosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"};return{case_insensitive:true,keywords:F_KEYWORDS,illegal:/\/\*/,contains:[hljs.inherit(hljs.APOS_STRING_MODE,{className:"string",relevance:0}),hljs.inherit(hljs.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[hljs.UNDERSCORE_TITLE_MODE,PARAMS]},hljs.COMMENT("!","$",{relevance:0}),hljs.COMMENT("begin_doc","end_doc",{relevance:10}),{className:"number",begin:"(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?",relevance:0}]}}},function(module,exports){module.exports=function(hljs){var JAVA_IDENT_RE="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*";var GENERIC_IDENT_RE=JAVA_IDENT_RE+"(<"+JAVA_IDENT_RE+"(\\s*,\\s*"+JAVA_IDENT_RE+")*>)?";var KEYWORDS="false synchronized int abstract float private char boolean static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do";var JAVA_NUMBER_RE="\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?";var JAVA_NUMBER_MODE={className:"number",begin:JAVA_NUMBER_RE,relevance:0};return{aliases:["jsp"],keywords:KEYWORDS,illegal:/<\/|#/,contains:[hljs.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:true,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},hljs.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"function",begin:"("+GENERIC_IDENT_RE+"\\s+)+"+hljs.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:true,end:/[{;=]/,excludeEnd:true,keywords:KEYWORDS,contains:[{begin:hljs.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:true,relevance:0,contains:[hljs.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:KEYWORDS,relevance:0,contains:[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,hljs.C_BLOCK_COMMENT_MODE]},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]},JAVA_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}},function(module,exports){module.exports=function(hljs){var IDENT_RE="[A-Za-z$_][0-9A-Za-z$_]*";var KEYWORDS={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"};var NUMBER={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:hljs.C_NUMBER_RE}],relevance:0};var SUBST={className:"subst",begin:"\\$\\{",end:"\\}",keywords:KEYWORDS,contains:[]};var TEMPLATE_STRING={className:"string",begin:"`",end:"`",contains:[hljs.BACKSLASH_ESCAPE,SUBST]};SUBST.contains=[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,TEMPLATE_STRING,NUMBER,hljs.REGEXP_MODE];var PARAMS_CONTAINS=SUBST.contains.concat([hljs.C_BLOCK_COMMENT_MODE,hljs.C_LINE_COMMENT_MODE]);return{aliases:["js","jsx"],keywords:KEYWORDS,contains:[{className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},{className:"meta",begin:/^#!/,end:/$/},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,TEMPLATE_STRING,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,NUMBER,{begin:/[{,]\s*/,relevance:0,contains:[{begin:IDENT_RE+"\\s*:",returnBegin:true,relevance:0,contains:[{className:"attr",begin:IDENT_RE,relevance:0}]}]},{begin:"("+hljs.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+IDENT_RE+")\\s*=>",returnBegin:true,end:"\\s*=>",contains:[{className:"params",variants:[{begin:IDENT_RE},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:true,excludeEnd:true,keywords:KEYWORDS,contains:PARAMS_CONTAINS}]}]},{begin:/</,end:/(\/\w+|\w+\/)>/,subLanguage:"xml",contains:[{begin:/<\w+\s*\/>/,skip:true},{begin:/<\w+/,end:/(\/\w+|\w+\/)>/,skip:true,contains:[{begin:/<\w+\s*\/>/,skip:true},"self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:true,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:true,excludeEnd:true,contains:PARAMS_CONTAINS}],illegal:/\[|%/},{begin:/\$[(.]/},hljs.METHOD_GUARD,{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:true,illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends"},hljs.UNDERSCORE_TITLE_MODE]},{beginKeywords:"constructor",end:/\{/,excludeEnd:true}],illegal:/#(?!!)/}}},function(module,exports){module.exports=function(hljs){var PARAM={begin:/[\w-]+ *=/,returnBegin:true,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]};var PARAMSBLOCK={className:"params",begin:/\(/,end:/\)/,contains:[PARAM],relevance:0};var OPERATION={className:"function",begin:/:[\w\-.]+/,relevance:0};var PATH={className:"string",begin:/\B(([\/.])[\w\-.\/=]+)+/};var COMMAND_PARAMS={className:"params",begin:/--[\w\-=\/]+/};return{aliases:["wildfly-cli"],lexemes:"[a-z-]+",keywords:{keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[hljs.HASH_COMMENT_MODE,hljs.QUOTE_STRING_MODE,COMMAND_PARAMS,OPERATION,PATH,PARAMSBLOCK]}}},function(module,exports){module.exports=function(hljs){var LITERALS={literal:"true false null"};var TYPES=[hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE];var VALUE_CONTAINER={end:",",endsWithParent:true,excludeEnd:true,contains:TYPES,keywords:LITERALS};var OBJECT={begin:"{",end:"}",contains:[{className:"attr",begin:/"/,end:/"/,contains:[hljs.BACKSLASH_ESCAPE],illegal:"\\n"},hljs.inherit(VALUE_CONTAINER,{begin:/:/})],illegal:"\\S"};var ARRAY={begin:"\\[",end:"\\]",contains:[hljs.inherit(VALUE_CONTAINER)],illegal:"\\S"};TYPES.splice(TYPES.length,0,OBJECT,ARRAY);return{contains:TYPES,keywords:LITERALS,illegal:"\\S"}}},function(module,exports){module.exports=function(hljs){var KEYWORDS={keyword:"in isa where baremodule begin break catch ccall const continue do else elseif end export false finally for function global if import importall let local macro module quote return true try using while type immutable abstract bitstype typealias ",literal:"true false ARGS C_NULL DevNull ENDIAN_BOM ENV I Inf Inf16 Inf32 Inf64 InsertionSort JULIA_HOME LOAD_PATH MergeSort NaN NaN16 NaN32 NaN64 PROGRAM_FILE QuickSort RoundDown RoundFromZero RoundNearest RoundNearestTiesAway RoundNearestTiesUp RoundToZero RoundUp STDERR STDIN STDOUT VERSION catalan e|0 eu|0 eulergamma golden im nothing pi γ π φ ",built_in:"ANY AbstractArray AbstractChannel AbstractFloat AbstractMatrix AbstractRNG AbstractSerializer AbstractSet AbstractSparseArray AbstractSparseMatrix AbstractSparseVector AbstractString AbstractUnitRange AbstractVecOrMat AbstractVector Any ArgumentError Array AssertionError Associative Base64DecodePipe Base64EncodePipe Bidiagonal BigFloat BigInt BitArray BitMatrix BitVector Bool BoundsError BufferStream CachingPool CapturedException CartesianIndex CartesianRange Cchar Cdouble Cfloat Channel Char Cint Cintmax_t Clong Clonglong ClusterManager Cmd CodeInfo Colon Complex Complex128 Complex32 Complex64 CompositeException Condition ConjArray ConjMatrix ConjVector Cptrdiff_t Cshort Csize_t Cssize_t Cstring Cuchar Cuint Cuintmax_t Culong Culonglong Cushort Cwchar_t Cwstring DataType Date DateFormat DateTime DenseArray DenseMatrix DenseVecOrMat DenseVector Diagonal Dict DimensionMismatch Dims DirectIndexString Display DivideError DomainError EOFError EachLine Enum Enumerate ErrorException Exception ExponentialBackOff Expr Factorization FileMonitor Float16 Float32 Float64 Function Future GlobalRef GotoNode HTML Hermitian IO IOBuffer IOContext IOStream IPAddr IPv4 IPv6 IndexCartesian IndexLinear IndexStyle InexactError InitError Int Int128 Int16 Int32 Int64 Int8 IntSet Integer InterruptException InvalidStateException Irrational KeyError LabelNode LinSpace LineNumberNode LoadError LowerTriangular MIME Matrix MersenneTwister Method MethodError MethodTable Module NTuple NewvarNode NullException Nullable Number ObjectIdDict OrdinalRange OutOfMemoryError OverflowError Pair ParseError PartialQuickSort PermutedDimsArray Pipe PollingFileWatcher ProcessExitedException Ptr QuoteNode RandomDevice Range RangeIndex Rational RawFD ReadOnlyMemoryError Real ReentrantLock Ref Regex RegexMatch RemoteChannel RemoteException RevString RoundingMode RowVector SSAValue SegmentationFault SerializationState Set SharedArray SharedMatrix SharedVector Signed SimpleVector Slot SlotNumber SparseMatrixCSC SparseVector StackFrame StackOverflowError StackTrace StepRange StepRangeLen StridedArray StridedMatrix StridedVecOrMat StridedVector String SubArray SubString SymTridiagonal Symbol Symmetric SystemError TCPSocket Task Text TextDisplay Timer Tridiagonal Tuple Type TypeError TypeMapEntry TypeMapLevel TypeName TypeVar TypedSlot UDPSocket UInt UInt128 UInt16 UInt32 UInt64 UInt8 UndefRefError UndefVarError UnicodeError UniformScaling Union UnionAll UnitRange Unsigned UpperTriangular Val Vararg VecElement VecOrMat Vector VersionNumber Void WeakKeyDict WeakRef WorkerConfig WorkerPool "};var VARIABLE_NAME_RE="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*";var DEFAULT={lexemes:VARIABLE_NAME_RE,keywords:KEYWORDS,illegal:/<\//};var NUMBER={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0};var CHAR={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/};var INTERPOLATION={className:"subst",begin:/\$\(/,end:/\)/,keywords:KEYWORDS};var INTERPOLATED_VARIABLE={className:"variable",begin:"\\$"+VARIABLE_NAME_RE};var STRING={className:"string",contains:[hljs.BACKSLASH_ESCAPE,INTERPOLATION,INTERPOLATED_VARIABLE],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]};var COMMAND={className:"string",contains:[hljs.BACKSLASH_ESCAPE,INTERPOLATION,INTERPOLATED_VARIABLE],begin:"`",end:"`"};var MACROCALL={className:"meta",begin:"@"+VARIABLE_NAME_RE};var COMMENT={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};DEFAULT.contains=[NUMBER,CHAR,STRING,COMMAND,MACROCALL,COMMENT,hljs.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}];INTERPOLATION.contains=DEFAULT.contains;return DEFAULT}},function(module,exports){module.exports=function(hljs){return{contains:[{className:"meta",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"},aliases:["jldoctest"]}]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit initinterface annotation data sealed internal infix operator out by constructor super trait volatile transient native default",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"};var KEYWORDS_WITH_LABEL={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}};var LABEL={className:"symbol",begin:hljs.UNDERSCORE_IDENT_RE+"@"};var SUBST={className:"subst",begin:"\\${",end:"}",contains:[hljs.APOS_STRING_MODE,hljs.C_NUMBER_MODE]};var VARIABLE={className:"variable",begin:"\\$"+hljs.UNDERSCORE_IDENT_RE};var STRING={className:"string",variants:[{begin:'"""',end:'"""',contains:[VARIABLE,SUBST]},{begin:"'",end:"'",illegal:/\n/,contains:[hljs.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[hljs.BACKSLASH_ESCAPE,VARIABLE,SUBST]}]};var ANNOTATION_USE_SITE={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+hljs.UNDERSCORE_IDENT_RE+")?"};var ANNOTATION={className:"meta",begin:"@"+hljs.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[hljs.inherit(STRING,{className:"meta-string"})]}]};return{keywords:KEYWORDS,contains:[hljs.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,KEYWORDS_WITH_LABEL,LABEL,ANNOTATION_USE_SITE,ANNOTATION,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:true,excludeEnd:true,keywords:KEYWORDS,illegal:/fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,relevance:5,contains:[{begin:hljs.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:true,relevance:0,contains:[hljs.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:true,keywords:KEYWORDS,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:true,contains:[{className:"type",begin:hljs.UNDERSCORE_IDENT_RE},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE],relevance:0},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,ANNOTATION_USE_SITE,ANNOTATION,STRING,hljs.C_NUMBER_MODE]},hljs.C_BLOCK_COMMENT_MODE]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:true,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},hljs.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:true,excludeEnd:true,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:true,returnEnd:true},ANNOTATION_USE_SITE,ANNOTATION]},STRING,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},hljs.C_NUMBER_MODE]}}},function(module,exports){module.exports=function(hljs){var LASSO_IDENT_RE="[a-zA-Z_][\\w.]*";var LASSO_ANGLE_RE="<\\?(lasso(script)?|=)";var LASSO_CLOSE_RE="\\]|\\?>";var LASSO_KEYWORDS={literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"};var HTML_COMMENT=hljs.COMMENT("\x3c!--","--\x3e",{relevance:0});var LASSO_NOPROCESS={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:true,contains:[HTML_COMMENT]}};var LASSO_START={className:"meta",begin:"\\[/noprocess|"+LASSO_ANGLE_RE};var LASSO_DATAMEMBER={className:"symbol",begin:"'"+LASSO_IDENT_RE+"'"};var LASSO_CODE=[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.inherit(hljs.C_NUMBER_MODE,{begin:hljs.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),hljs.inherit(hljs.APOS_STRING_MODE,{illegal:null}),hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+LASSO_IDENT_RE},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:LASSO_IDENT_RE,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+LASSO_IDENT_RE,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[LASSO_DATAMEMBER]},{className:"class",beginKeywords:"define",returnEnd:true,end:"\\(|=>",contains:[hljs.inherit(hljs.TITLE_MODE,{begin:LASSO_IDENT_RE+"(=(?!>))?|[-+*/%](?!>)"})]}];return{aliases:["ls","lassoscript"],case_insensitive:true,lexemes:LASSO_IDENT_RE+"|&[lg]t;",keywords:LASSO_KEYWORDS,contains:[{className:"meta",begin:LASSO_CLOSE_RE,relevance:0,starts:{end:"\\[|"+LASSO_ANGLE_RE,returnEnd:true,relevance:0,contains:[HTML_COMMENT]}},LASSO_NOPROCESS,LASSO_START,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",lexemes:LASSO_IDENT_RE+"|&[lg]t;",keywords:LASSO_KEYWORDS,contains:[{className:"meta",begin:LASSO_CLOSE_RE,relevance:0,starts:{end:"\\[noprocess\\]|"+LASSO_ANGLE_RE,returnEnd:true,contains:[HTML_COMMENT]}},LASSO_NOPROCESS,LASSO_START].concat(LASSO_CODE)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(LASSO_CODE)}}},function(module,exports){module.exports=function(hljs){return{contains:[{className:"attribute",begin:"^dn",end:": ",excludeEnd:true,starts:{end:"$",relevance:0},relevance:10},{className:"attribute",begin:"^\\w",end:": ",excludeEnd:true,starts:{end:"$",relevance:0}},{className:"literal",begin:"^-",end:"$"},hljs.HASH_COMMENT_MODE]}}},function(module,exports){module.exports=function(hljs){return{contains:[{className:"function",begin:"#+[A-Za-z_0-9]*\\(",end:" {",returnBegin:true,excludeEnd:true,contains:[{className:"keyword",begin:"#+"},{className:"title",begin:"[A-Za-z_][A-Za-z_0-9]*"},{className:"params",begin:"\\(",end:"\\)",endsParent:true,contains:[{className:"string",begin:'"',end:'"'},{className:"variable",begin:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]}}},function(module,exports){module.exports=function(hljs){var IDENT_RE="[\\w-]+";var INTERP_IDENT_RE="("+IDENT_RE+"|@{"+IDENT_RE+"})";var RULES=[],VALUE=[];var STRING_MODE=function(c){return{className:"string",begin:"~?"+c+".*?"+c}};var IDENT_MODE=function(name,begin,relevance){return{className:name,begin:begin,relevance:relevance}};var PARENS_MODE={begin:"\\(",end:"\\)",contains:VALUE,relevance:0};VALUE.push(hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,STRING_MODE("'"),STRING_MODE('"'),hljs.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:true}},IDENT_MODE("number","#[0-9A-Fa-f]+\\b"),PARENS_MODE,IDENT_MODE("variable","@@?"+IDENT_RE,10),IDENT_MODE("variable","@{"+IDENT_RE+"}"),IDENT_MODE("built_in","~?`[^`]*?`"),{className:"attribute",begin:IDENT_RE+"\\s*:",end:":",returnBegin:true,excludeEnd:true},{className:"meta",begin:"!important"});var VALUE_WITH_RULESETS=VALUE.concat({begin:"{",end:"}",contains:RULES});var MIXIN_GUARD_MODE={beginKeywords:"when",endsWithParent:true,contains:[{beginKeywords:"and not"}].concat(VALUE)};var RULE_MODE={begin:INTERP_IDENT_RE+"\\s*:",returnBegin:true,end:"[;}]",relevance:0,contains:[{className:"attribute",begin:INTERP_IDENT_RE,end:":",excludeEnd:true,starts:{endsWithParent:true,illegal:"[<=$]",relevance:0,contains:VALUE}}]};var AT_RULE_MODE={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",returnEnd:true,contains:VALUE,relevance:0}};var VAR_RULE_MODE={className:"variable",variants:[{begin:"@"+IDENT_RE+"\\s*:",relevance:15},{begin:"@"+IDENT_RE}],starts:{end:"[;}]",returnEnd:true,contains:VALUE_WITH_RULESETS}};var SELECTOR_MODE={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:INTERP_IDENT_RE,end:"{"}],returnBegin:true,returnEnd:true,illegal:"[<='$\"]",relevance:0,contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,MIXIN_GUARD_MODE,IDENT_MODE("keyword","all\\b"),IDENT_MODE("variable","@{"+IDENT_RE+"}"),IDENT_MODE("selector-tag",INTERP_IDENT_RE+"%?",0),IDENT_MODE("selector-id","#"+INTERP_IDENT_RE),IDENT_MODE("selector-class","\\."+INTERP_IDENT_RE,0),IDENT_MODE("selector-tag","&",0),{className:"selector-attr",begin:"\\[",end:"\\]"},{className:"selector-pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"\\(",end:"\\)",contains:VALUE_WITH_RULESETS},{begin:"!important"}]};RULES.push(hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,AT_RULE_MODE,VAR_RULE_MODE,RULE_MODE,SELECTOR_MODE);return{case_insensitive:true,illegal:"[=>'/<($\"]",contains:RULES}}},function(module,exports){module.exports=function(hljs){var LISP_IDENT_RE="[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*";var MEC_RE="\\|[^]*?\\|";var LISP_SIMPLE_NUMBER_RE="(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|\\-)?\\d+)?";var SHEBANG={className:"meta",begin:"^#!",end:"$"};var LITERAL={className:"literal",begin:"\\b(t{1}|nil)\\b"};var NUMBER={className:"number",variants:[{begin:LISP_SIMPLE_NUMBER_RE,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+LISP_SIMPLE_NUMBER_RE+" +"+LISP_SIMPLE_NUMBER_RE,end:"\\)"}]};var STRING=hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null});var COMMENT=hljs.COMMENT(";","$",{relevance:0});var VARIABLE={begin:"\\*",end:"\\*"};var KEYWORD={className:"symbol",begin:"[:&]"+LISP_IDENT_RE};var IDENT={begin:LISP_IDENT_RE,relevance:0};var MEC={begin:MEC_RE};var QUOTED_LIST={begin:"\\(",end:"\\)",contains:["self",LITERAL,STRING,NUMBER,IDENT]};var QUOTED={contains:[NUMBER,STRING,VARIABLE,KEYWORD,QUOTED_LIST,IDENT],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+MEC_RE}]};var QUOTED_ATOM={variants:[{begin:"'"+LISP_IDENT_RE},{begin:"#'"+LISP_IDENT_RE+"(::"+LISP_IDENT_RE+")*"}]};var LIST={begin:"\\(\\s*",end:"\\)"};var BODY={endsWithParent:true,relevance:0};LIST.contains=[{className:"name",variants:[{begin:LISP_IDENT_RE},{begin:MEC_RE}]},BODY];BODY.contains=[QUOTED,QUOTED_ATOM,LIST,LITERAL,NUMBER,STRING,COMMENT,VARIABLE,KEYWORD,MEC,IDENT];return{illegal:/\S/,contains:[NUMBER,SHEBANG,LITERAL,STRING,COMMENT,QUOTED,QUOTED_ATOM,LIST,IDENT]}}},function(module,exports){module.exports=function(hljs){var VARIABLE={begin:"\\b[gtps][A-Z]+[A-Za-z0-9_\\-]*\\b|\\$_[A-Z]+",relevance:0};var COMMENT_MODES=[hljs.C_BLOCK_COMMENT_MODE,hljs.HASH_COMMENT_MODE,hljs.COMMENT("--","$"),hljs.COMMENT("[^:]//","$")];var TITLE1=hljs.inherit(hljs.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z]+[A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]});var TITLE2=hljs.inherit(hljs.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{case_insensitive:false,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract union unload wait write"},contains:[VARIABLE,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[VARIABLE,TITLE2,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.BINARY_NUMBER_MODE,hljs.C_NUMBER_MODE,TITLE1]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[TITLE2,TITLE1],relevance:0},{beginKeywords:"command on",end:"$",contains:[VARIABLE,TITLE2,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.BINARY_NUMBER_MODE,hljs.C_NUMBER_MODE,TITLE1]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.BINARY_NUMBER_MODE,hljs.C_NUMBER_MODE,TITLE1].concat(COMMENT_MODES),illegal:";$|^\\[|^=|&|{"}}},function(module,exports){module.exports=function(hljs){var KEYWORDS={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger case default function var with then unless until loop of by when and or is isnt not it that otherwise from to til fallthrough super case default function var void const let enum export import native __hasProp __extends __slice __bind __indexOf",literal:"true false null undefined yes no on off it that void",built_in:"npm require console print module global window document"};var JS_IDENT_RE="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*";var TITLE=hljs.inherit(hljs.TITLE_MODE,{begin:JS_IDENT_RE});var SUBST={className:"subst",begin:/#\{/,end:/}/,keywords:KEYWORDS};var SUBST_SIMPLE={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:\-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:KEYWORDS};var EXPRESSIONS=[hljs.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[hljs.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[hljs.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[hljs.BACKSLASH_ESCAPE,SUBST,SUBST_SIMPLE]},{begin:/"/,end:/"/,contains:[hljs.BACKSLASH_ESCAPE,SUBST,SUBST_SIMPLE]},{begin:/\\/,end:/(\s|$)/,excludeEnd:true}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[SUBST,hljs.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{begin:"@"+JS_IDENT_RE},{begin:"``",end:"``",excludeBegin:true,excludeEnd:true,subLanguage:"javascript"}];SUBST.contains=EXPRESSIONS;var PARAMS={className:"params",begin:"\\(",returnBegin:true,contains:[{begin:/\(/,end:/\)/,keywords:KEYWORDS,contains:["self"].concat(EXPRESSIONS)}]};return{aliases:["ls"],keywords:KEYWORDS,illegal:/\/\*/,contains:EXPRESSIONS.concat([hljs.COMMENT("\\/\\*","\\*\\/"),hljs.HASH_COMMENT_MODE,{className:"function",contains:[TITLE,PARAMS],returnBegin:true,variants:[{begin:"("+JS_IDENT_RE+"\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B\\->\\*?",end:"\\->\\*?"},{begin:"("+JS_IDENT_RE+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\))?\\s*\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+JS_IDENT_RE+"\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:true,illegal:/[:="\[\]]/,contains:[TITLE]},TITLE]},{begin:JS_IDENT_RE+":",end:":",returnBegin:true,returnEnd:true,relevance:0}])}}},function(module,exports){module.exports=function(hljs){var identifier="([-a-zA-Z$._][\\w\\-$.]*)";return{keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[{className:"keyword",begin:"i\\d+"},hljs.COMMENT(";","\\n",{relevance:0}),hljs.QUOTE_STRING_MODE,{className:"string",variants:[{begin:'"',end:'[^\\\\]"'}],relevance:0},{className:"title",variants:[{begin:"@"+identifier},{begin:"@\\d+"},{begin:"!"+identifier},{begin:"!\\d+"+identifier}]},{className:"symbol",variants:[{begin:"%"+identifier},{begin:"%\\d+"},{begin:"#\\d+"}]},{className:"number",variants:[{begin:"0[xX][a-fA-F0-9]+"},{begin:"-?\\d+(?:[.]\\d+)?(?:[eE][-+]?\\d+(?:[.]\\d+)?)?"}],relevance:0}]}}},function(module,exports){module.exports=function(hljs){var LSL_STRING_ESCAPE_CHARS={className:"subst",begin:/\\[tn"\\]/};var LSL_STRINGS={className:"string",begin:'"',end:'"',contains:[LSL_STRING_ESCAPE_CHARS]};var LSL_NUMBERS={className:"number",begin:hljs.C_NUMBER_RE};var LSL_CONSTANTS={className:"literal",variants:[{begin:"\\b(?:PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(?:XP_ERROR_(?:EXPERIENCES_DISABLED|EXPERIENCE_(?:DISABLED|SUSPENDED)|INVALID_(?:EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(?:FOUND|PERMITTED(?:_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(?:PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(?:_OBJECT)?|(?:DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(?:FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(?:_(?:BY_(?:LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(?:PARCEL(?:_OWNER)?|REGION)))?|CAMERA_(?:PITCH|DISTANCE|BEHINDNESS_(?:ANGLE|LAG)|(?:FOCUS|POSITION)(?:_(?:THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(?:ROOT|SET|ALL_(?:OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(?:IVE|_(?:ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(?:FWD|BACK|(?:ROT_)?(?:LEFT|RIGHT)|UP|DOWN|(?:ML_)?LBUTTON)|PERMISSION_(?:RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(?:CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(?:TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(?:INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(?:_START)?|TELEPORT|MEDIA)|OBJECT_(?:CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(?:PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_ON_REZ|NAME|DESC|POS|PRIM_(?:COUNT|EQUIVALENCE)|RETURN_(?:PARCEL(?:_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP|CREATOR|ATTACHED_POINT|RENDER_WEIGHT|(?:BODY_SHAPE|PATHFINDING)_TYPE|(?:RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(?:MEMORY|TIME))|TYPE_(?:INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(?:DEBUG|PUBLIC)_CHANNEL|ATTACH_(?:AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](?:SHOULDER|HAND|FOOT|EAR|EYE|[UL](?:ARM|LEG)|HIP)|(?:LEFT|RIGHT)_PEC|HUD_(?:CENTER_[12]|TOP_(?:RIGHT|CENTER|LEFT)|BOTTOM(?:_(?:RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(?:BASE|TIP)|[LR]WING|FACE_(?:JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(?:LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(?:ONLINE|NAME|BORN|SIM_(?:POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(?:ON_FILE|USED)|REMOTE_DATA_(?:CHANNEL|REQUEST|REPLY)|PSYS_(?:PART_(?:BF_(?:ZERO|ONE(?:_MINUS_(?:DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(?:START|END)_(?:COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(?:RIBBON|WIND|INTERP_(?:COLOR|SCALE)|BOUNCE|FOLLOW_(?:SRC|VELOCITY)|TARGET_(?:POS|LINEAR)|EMISSIVE)_MASK)|SRC_(?:MAX_AGE|PATTERN|ANGLE_(?:BEGIN|END)|BURST_(?:RATE|PART_COUNT|RADIUS|SPEED_(?:MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(?:DROP|EXPLODE|ANGLE(?:_CONE(?:_EMPTY)?)?)))|VEHICLE_(?:REFERENCE_FRAME|TYPE_(?:NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(?:LINEAR|ANGULAR)_(?:FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(?:HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(?:LINEAR|ANGULAR)_(?:DEFLECTION_(?:EFFICIENCY|TIMESCALE)|MOTOR_(?:DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(?:EFFICIENCY|TIMESCALE)|BANKING_(?:EFFICIENCY|MIX|TIMESCALE)|FLAG_(?:NO_DEFLECTION_UP|LIMIT_(?:ROLL_ONLY|MOTOR_UP)|HOVER_(?:(?:WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(?:STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(?:ALPHA_MODE(?:_(?:BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(?:_(?:BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(?:DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(?:_(?:STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(?:NONE|LOW|MEDIUM|HIGH)|BUMP_(?:NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(?:DEFAULT|PLANAR)|SCULPT_(?:TYPE_(?:SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(?:MIRROR|INVERT))|PHYSICS(?:_(?:SHAPE_(?:CONVEX|NONE|PRIM|TYPE)))?|(?:POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(?:ALT_IMAGE_ENABLE|CONTROLS|(?:CURRENT|HOME)_URL|AUTO_(?:LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(?:WIDTH|HEIGHT)_PIXELS|WHITELIST(?:_ENABLE)?|PERMS_(?:INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(?:STANDARD|MINI)|PERM_(?:NONE|OWNER|GROUP|ANYONE)|MAX_(?:URL_LENGTH|WHITELIST_(?:SIZE|COUNT)|(?:WIDTH|HEIGHT)_PIXELS)))|MASK_(?:BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(?:TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(?:MEDIA_COMMAND_(?:STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(?:ALLOW_(?:FLY|(?:GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(?:GROUP_)?OBJECTS)|USE_(?:ACCESS_(?:GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(?:GROUP|ALL)_OBJECT_ENTRY)|COUNT_(?:TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(?:NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(?:MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(?:_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(?:HIDE|DEFAULT)|REGION_FLAG_(?:ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(?:COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(?:METHOD|MIMETYPE|BODY_(?:MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|STRING_(?:TRIM(?:_(?:HEAD|TAIL))?)|CLICK_ACTION_(?:NONE|TOUCH|SIT|BUY|PAY|OPEN(?:_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(?:NONE|SCRIPT_MEMORY)|RC_(?:DATA_FLAGS|DETECT_PHANTOM|GET_(?:LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(?:TYPES|AGENTS|(?:NON)?PHYSICAL|LAND))|RCERR_(?:CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(?:ALLOWED_(?:AGENT|GROUP)_(?:ADD|REMOVE)|BANNED_AGENT_(?:ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(?:COMMAND|CMD_(?:PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(?:GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(?:CMD_(?:(?:SMOOTH_)?STOP|JUMP)|DESIRED_(?:TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(?:_(?:[ABCD]|NONE))?|MAX_(?:DECEL|TURN_RADIUS|(?:ACCEL|SPEED)))|PURSUIT_(?:OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(?:CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(?:EVADE_(?:HIDDEN|SPOTTED)|FAILURE_(?:DYNAMIC_PATHFINDING_DISABLED|INVALID_(?:GOAL|START)|NO_(?:NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(?:PARCEL_)?UNREACHABLE)|(?:GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(?:_(?:FAST|NONE|SLOW))?|CONTENT_TYPE_(?:ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(?:RADIUS|STATIC)|(?:PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(?:AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(?:FALSE|TRUE)\\b"},{begin:"\\b(?:ZERO_ROTATION)\\b"},{begin:"\\b(?:EOF|JSON_(?:ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(?:BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(?:GRANTED|DENIED))\\b"},{begin:"\\b(?:ZERO_VECTOR|TOUCH_INVALID_(?:TEXCOORD|VECTOR))\\b"}]};var LSL_FUNCTIONS={className:"built_in",begin:"\\b(?:ll(?:AgentInExperience|(?:Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(?:Details|ErrorMessage)|ReturnObjectsBy(?:ID|Owner)|Json(?:2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(?:Mag|Norm|Dist)|Rot(?:Between|2(?:Euler|Fwd|Left|Up))|(?:Euler|Axes)2Rot|Whisper|(?:Region|Owner)?Say|Shout|Listen(?:Control|Remove)?|Sensor(?:Repeat|Remove)?|Detected(?:Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|(?:[GS]et)(?:AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(?:Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(?:Scale|Offset|Rotate)Texture|(?:Rot)?Target(?:Remove)?|(?:Stop)?MoveToTarget|Apply(?:Rotational)?Impulse|Set(?:KeyframedMotion|ContentType|RegionPos|(?:Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(?:Queueing|Radius)|Vehicle(?:Type|(?:Float|Vector|Rotation)Param)|(?:Touch|Sit)?Text|Camera(?:Eye|At)Offset|PrimitiveParams|ClickAction|Link(?:Alpha|Color|PrimitiveParams(?:Fast)?|Texture(?:Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get(?:(?:Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(?:PrimitiveParams|Number(?:OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(?:Details|PermMask|PrimCount)|Parcel(?:MaxPrims|Details|Prim(?:Count|Owners))|Attached(?:List)?|(?:SPMax|Free|Used)Memory|Region(?:Name|TimeDilation|FPS|Corner|AgentCount)|Root(?:Position|Rotation)|UnixTime|(?:Parcel|Region)Flags|(?:Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(?:Prims|NotecardLines|Sides)|Animation(?:List)?|(?:Camera|Local)(?:Pos|Rot)|Vel|Accel|Omega|Time(?:stamp|OfDay)|(?:Object|CenterOf)?Mass|MassMKS|Energy|Owner|(?:Owner)?Key|SunDirection|Texture(?:Offset|Scale|Rot)|Inventory(?:Number|Name|Key|Type|Creator|PermMask)|Permissions(?:Key)?|StartParameter|List(?:Length|EntryType)|Date|Agent(?:Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(?:Name|State))|(?:Get|Reset|GetAndReset)Time|PlaySound(?:Slave)?|LoopSound(?:Master|Slave)?|(?:Trigger|Stop|Preload)Sound|(?:(?:Get|Delete)Sub|Insert)String|To(?:Upper|Lower)|Give(?:InventoryList|Money)|RezObject|(?:Stop)?LookAt|Sleep|CollisionFilter|(?:Take|Release)Controls|DetachFromAvatar|AttachToAvatar(?:Temp)?|InstantMessage|(?:GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(?:Length|Trim)|(?:Start|Stop)Animation|TargetOmega|Request(?:Experience)?Permissions|(?:Create|Break)Link|BreakAllLinks|(?:Give|Remove)Inventory|Water|PassTouches|Request(?:Agent|Inventory)Data|TeleportAgent(?:Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(?:Axis|Angle)|A(?:cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(?:CSV|Integer|Json|Float|String|Key|Vector|Rot|List(?:Strided)?)|DeleteSubList|List(?:Statistics|Sort|Randomize|(?:Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(?:CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(?:Slope|Normal|Contour)|GroundRepel|(?:Set|Remove)VehicleFlags|(?:AvatarOn)?(?:Link)?SitTarget|Script(?:Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(?:Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(?:Integer|String)ToBase64|XorBase64|Log(?:10)?|Base64To(?:String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(?:Load|Release|(?:E|Une)scape)URL|ParcelMedia(?:CommandList|Query)|ModPow|MapDestination|(?:RemoveFrom|AddTo|Reset)Land(?:Pass|Ban)List|(?:Set|Clear)CameraParams|HTTP(?:Request|Response)|TextBox|DetectedTouch(?:UV|Face|Pos|(?:N|Bin)ormal|ST)|(?:MD5|SHA1|DumpList2)String|Request(?:Secure)?URL|Clear(?:Prim|Link)Media|(?:Link)?ParticleSystem|(?:Get|Request)(?:Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(?:Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{illegal:":",contains:[LSL_STRINGS,{className:"comment",variants:[hljs.COMMENT("//","$"),hljs.COMMENT("/\\*","\\*/")]},LSL_NUMBERS,{className:"section",variants:[{begin:"\\b(?:state|default)\\b"},{begin:"\\b(?:state_(?:entry|exit)|touch(?:_(?:start|end))?|(?:land_)?collision(?:_(?:start|end))?|timer|listen|(?:no_)?sensor|control|(?:not_)?at_(?:rot_)?target|money|email|experience_permissions(?:_denied)?|run_time_permissions|changed|attach|dataserver|moving_(?:start|end)|link_message|(?:on|object)_rez|remote_data|http_re(?:sponse|quest)|path_update|transaction_result)\\b"}]},LSL_FUNCTIONS,LSL_CONSTANTS,{className:"type",begin:"\\b(?:integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}},function(module,exports){module.exports=function(hljs){var OPENING_LONG_BRACKET="\\[=*\\[";var CLOSING_LONG_BRACKET="\\]=*\\]";var LONG_BRACKETS={begin:OPENING_LONG_BRACKET,end:CLOSING_LONG_BRACKET,contains:["self"]};var COMMENTS=[hljs.COMMENT("--(?!"+OPENING_LONG_BRACKET+")","$"),hljs.COMMENT("--"+OPENING_LONG_BRACKET,CLOSING_LONG_BRACKET,{contains:[LONG_BRACKETS],relevance:10})];return{lexemes:hljs.UNDERSCORE_IDENT_RE,keywords:{literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstringmodule next pairs pcall print rawequal rawget rawset require select setfenvsetmetatable tonumber tostring type unpack xpcall arg selfcoroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:COMMENTS.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[hljs.inherit(hljs.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:true,contains:COMMENTS}].concat(COMMENTS)},hljs.C_NUMBER_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,{className:"string",begin:OPENING_LONG_BRACKET,end:CLOSING_LONG_BRACKET,contains:[LONG_BRACKETS],relevance:5}])}}},function(module,exports){module.exports=function(hljs){var VARIABLE={className:"variable",variants:[{begin:"\\$\\("+hljs.UNDERSCORE_IDENT_RE+"\\)",contains:[hljs.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]};var QUOTE_STRING={className:"string",begin:/"/,end:/"/,contains:[hljs.BACKSLASH_ESCAPE,VARIABLE]};var FUNC={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[VARIABLE]};var VAR_ASSIG={begin:"^"+hljs.UNDERSCORE_IDENT_RE+"\\s*[:+?]?=",illegal:"\\n",returnBegin:true,contains:[{begin:"^"+hljs.UNDERSCORE_IDENT_RE,end:"[:+?]?=",excludeEnd:true}]};var META={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{"meta-keyword":".PHONY"},lexemes:/[\.\w]+/};var TARGET={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[VARIABLE]};return{aliases:["mk","mak"],keywords:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath",lexemes:/[\w-]+/,contains:[hljs.HASH_COMMENT_MODE,VARIABLE,QUOTE_STRING,FUNC,VAR_ASSIG,META,TARGET]}}},function(module,exports){module.exports=function(hljs){return{aliases:["mma"],lexemes:"(\\$|\\b)"+hljs.IDENT_RE+"\\b",keywords:"AbelianGroup Abort AbortKernels AbortProtect Above Abs Absolute AbsoluteCorrelation AbsoluteCorrelationFunction AbsoluteCurrentValue AbsoluteDashing AbsoluteFileName AbsoluteOptions AbsolutePointSize AbsoluteThickness AbsoluteTime AbsoluteTiming AccountingForm Accumulate Accuracy AccuracyGoal ActionDelay ActionMenu ActionMenuBox ActionMenuBoxOptions Active ActiveItem ActiveStyle AcyclicGraphQ AddOnHelpPath AddTo AdjacencyGraph AdjacencyList AdjacencyMatrix AdjustmentBox AdjustmentBoxOptions AdjustTimeSeriesForecast AffineTransform After AiryAi AiryAiPrime AiryAiZero AiryBi AiryBiPrime AiryBiZero AlgebraicIntegerQ AlgebraicNumber AlgebraicNumberDenominator AlgebraicNumberNorm AlgebraicNumberPolynomial AlgebraicNumberTrace AlgebraicRules AlgebraicRulesData Algebraics AlgebraicUnitQ Alignment AlignmentMarker AlignmentPoint All AllowedDimensions AllowGroupClose AllowInlineCells AllowKernelInitialization AllowReverseGroupClose AllowScriptLevelChange AlphaChannel AlternatingGroup AlternativeHypothesis Alternatives AmbientLight Analytic AnchoredSearch And AndersonDarlingTest AngerJ AngleBracket AngularGauge Animate AnimationCycleOffset AnimationCycleRepetitions AnimationDirection AnimationDisplayTime AnimationRate AnimationRepetitions AnimationRunning Animator AnimatorBox AnimatorBoxOptions AnimatorElements Annotation Annuity AnnuityDue Antialiasing Antisymmetric Apart ApartSquareFree Appearance AppearanceElements AppellF1 Append AppendTo Apply ArcCos ArcCosh ArcCot ArcCoth ArcCsc ArcCsch ArcSec ArcSech ArcSin ArcSinDistribution ArcSinh ArcTan ArcTanh Arg ArgMax ArgMin ArgumentCountQ ARIMAProcess ArithmeticGeometricMean ARMAProcess ARProcess Array ArrayComponents ArrayDepth ArrayFlatten ArrayPad ArrayPlot ArrayQ ArrayReshape ArrayRules Arrays Arrow Arrow3DBox ArrowBox Arrowheads AspectRatio AspectRatioFixed Assert Assuming Assumptions AstronomicalData Asynchronous AsynchronousTaskObject AsynchronousTasks AtomQ Attributes AugmentedSymmetricPolynomial AutoAction AutoDelete AutoEvaluateEvents AutoGeneratedPackage AutoIndent AutoIndentSpacings AutoItalicWords AutoloadPath AutoMatch Automatic AutomaticImageSize AutoMultiplicationSymbol AutoNumberFormatting AutoOpenNotebooks AutoOpenPalettes AutorunSequencing AutoScaling AutoScroll AutoSpacing AutoStyleOptions AutoStyleWords Axes AxesEdge AxesLabel AxesOrigin AxesStyle Axis BabyMonsterGroupB Back Background BackgroundTasksSettings Backslash Backsubstitution Backward Band BandpassFilter BandstopFilter BarabasiAlbertGraphDistribution BarChart BarChart3D BarLegend BarlowProschanImportance BarnesG BarOrigin BarSpacing BartlettHannWindow BartlettWindow BaseForm Baseline BaselinePosition BaseStyle BatesDistribution BattleLemarieWavelet Because BeckmannDistribution Beep Before Begin BeginDialogPacket BeginFrontEndInteractionPacket BeginPackage BellB BellY Below BenfordDistribution BeniniDistribution BenktanderGibratDistribution BenktanderWeibullDistribution BernoulliB BernoulliDistribution BernoulliGraphDistribution BernoulliProcess BernsteinBasis BesselFilterModel BesselI BesselJ BesselJZero BesselK BesselY BesselYZero Beta BetaBinomialDistribution BetaDistribution BetaNegativeBinomialDistribution BetaPrimeDistribution BetaRegularized BetweennessCentrality BezierCurve BezierCurve3DBox BezierCurve3DBoxOptions BezierCurveBox BezierCurveBoxOptions BezierFunction BilateralFilter Binarize BinaryFormat BinaryImageQ BinaryRead BinaryReadList BinaryWrite BinCounts BinLists Binomial BinomialDistribution BinomialProcess BinormalDistribution BiorthogonalSplineWavelet BipartiteGraphQ BirnbaumImportance BirnbaumSaundersDistribution BitAnd BitClear BitGet BitLength BitNot BitOr BitSet BitShiftLeft BitShiftRight BitXor Black BlackmanHarrisWindow BlackmanNuttallWindow BlackmanWindow Blank BlankForm BlankNullSequence BlankSequence Blend Block BlockRandom BlomqvistBeta BlomqvistBetaTest Blue Blur BodePlot BohmanWindow Bold Bookmarks Boole BooleanConsecutiveFunction BooleanConvert BooleanCountingFunction BooleanFunction BooleanGraph BooleanMaxterms BooleanMinimize BooleanMinterms Booleans BooleanTable BooleanVariables BorderDimensions BorelTannerDistribution Bottom BottomHatTransform BoundaryStyle Bounds Box BoxBaselineShift BoxData BoxDimensions Boxed Boxes BoxForm BoxFormFormatTypes BoxFrame BoxID BoxMargins BoxMatrix BoxRatios BoxRotation BoxRotationPoint BoxStyle BoxWhiskerChart Bra BracketingBar BraKet BrayCurtisDistance BreadthFirstScan Break Brown BrownForsytheTest BrownianBridgeProcess BrowserCategory BSplineBasis BSplineCurve BSplineCurve3DBox BSplineCurveBox BSplineCurveBoxOptions BSplineFunction BSplineSurface BSplineSurface3DBox BubbleChart BubbleChart3D BubbleScale BubbleSizes BulletGauge BusinessDayQ ButterflyGraph ButterworthFilterModel Button ButtonBar ButtonBox ButtonBoxOptions ButtonCell ButtonContents ButtonData ButtonEvaluator ButtonExpandable ButtonFrame ButtonFunction ButtonMargins ButtonMinHeight ButtonNote ButtonNotebook ButtonSource ButtonStyle ButtonStyleMenuListing Byte ByteCount ByteOrdering C CachedValue CacheGraphics CalendarData CalendarType CallPacket CanberraDistance Cancel CancelButton CandlestickChart Cap CapForm CapitalDifferentialD CardinalBSplineBasis CarmichaelLambda Cases Cashflow Casoratian Catalan CatalanNumber Catch CauchyDistribution CauchyWindow CayleyGraph CDF CDFDeploy CDFInformation CDFWavelet Ceiling Cell CellAutoOverwrite CellBaseline CellBoundingBox CellBracketOptions CellChangeTimes CellContents CellContext CellDingbat CellDynamicExpression CellEditDuplicate CellElementsBoundingBox CellElementSpacings CellEpilog CellEvaluationDuplicate CellEvaluationFunction CellEventActions CellFrame CellFrameColor CellFrameLabelMargins CellFrameLabels CellFrameMargins CellGroup CellGroupData CellGrouping CellGroupingRules CellHorizontalScrolling CellID CellLabel CellLabelAutoDelete CellLabelMargins CellLabelPositioning CellMargins CellObject CellOpen CellPrint CellProlog Cells CellSize CellStyle CellTags CellularAutomaton CensoredDistribution Censoring Center CenterDot CentralMoment CentralMomentGeneratingFunction CForm ChampernowneNumber ChanVeseBinarize Character CharacterEncoding CharacterEncodingsPath CharacteristicFunction CharacteristicPolynomial CharacterRange Characters ChartBaseStyle ChartElementData ChartElementDataFunction ChartElementFunction ChartElements ChartLabels ChartLayout ChartLegends ChartStyle Chebyshev1FilterModel Chebyshev2FilterModel ChebyshevDistance ChebyshevT ChebyshevU Check CheckAbort CheckAll Checkbox CheckboxBar CheckboxBox CheckboxBoxOptions ChemicalData ChessboardDistance ChiDistribution ChineseRemainder ChiSquareDistribution ChoiceButtons ChoiceDialog CholeskyDecomposition Chop Circle CircleBox CircleDot CircleMinus CirclePlus CircleTimes CirculantGraph CityData Clear ClearAll ClearAttributes ClearSystemCache ClebschGordan ClickPane Clip ClipboardNotebook ClipFill ClippingStyle ClipPlanes ClipRange Clock ClockGauge ClockwiseContourIntegral Close Closed CloseKernels ClosenessCentrality Closing ClosingAutoSave ClosingEvent ClusteringComponents CMYKColor Coarse Coefficient CoefficientArrays CoefficientDomain CoefficientList CoefficientRules CoifletWavelet Collect Colon ColonForm ColorCombine ColorConvert ColorData ColorDataFunction ColorFunction ColorFunctionScaling Colorize ColorNegate ColorOutput ColorProfileData ColorQuantize ColorReplace ColorRules ColorSelectorSettings ColorSeparate ColorSetter ColorSetterBox ColorSetterBoxOptions ColorSlider ColorSpace Column ColumnAlignments ColumnBackgrounds ColumnForm ColumnLines ColumnsEqual ColumnSpacings ColumnWidths CommonDefaultFormatTypes Commonest CommonestFilter CommonUnits CommunityBoundaryStyle CommunityGraphPlot CommunityLabels CommunityRegionStyle CompatibleUnitQ CompilationOptions CompilationTarget Compile Compiled CompiledFunction Complement CompleteGraph CompleteGraphQ CompleteKaryTree CompletionsListPacket Complex Complexes ComplexExpand ComplexInfinity ComplexityFunction ComponentMeasurements ComponentwiseContextMenu Compose ComposeList ComposeSeries Composition CompoundExpression CompoundPoissonDistribution CompoundPoissonProcess CompoundRenewalProcess Compress CompressedData Condition ConditionalExpression Conditioned Cone ConeBox ConfidenceLevel ConfidenceRange ConfidenceTransform ConfigurationPath Congruent Conjugate ConjugateTranspose Conjunction Connect ConnectedComponents ConnectedGraphQ ConnesWindow ConoverTest ConsoleMessage ConsoleMessagePacket ConsolePrint Constant ConstantArray Constants ConstrainedMax ConstrainedMin ContentPadding ContentsBoundingBox ContentSelectable ContentSize Context ContextMenu Contexts ContextToFilename ContextToFileName Continuation Continue ContinuedFraction ContinuedFractionK ContinuousAction ContinuousMarkovProcess ContinuousTimeModelQ ContinuousWaveletData ContinuousWaveletTransform ContourDetect ContourGraphics ContourIntegral ContourLabels ContourLines ContourPlot ContourPlot3D Contours ContourShading ContourSmoothing ContourStyle ContraharmonicMean Control ControlActive ControlAlignment ControllabilityGramian ControllabilityMatrix ControllableDecomposition ControllableModelQ ControllerDuration ControllerInformation ControllerInformationData ControllerLinking ControllerManipulate ControllerMethod ControllerPath ControllerState ControlPlacement ControlsRendering ControlType Convergents ConversionOptions ConversionRules ConvertToBitmapPacket ConvertToPostScript ConvertToPostScriptPacket Convolve ConwayGroupCo1 ConwayGroupCo2 ConwayGroupCo3 CoordinateChartData CoordinatesToolOptions CoordinateTransform CoordinateTransformData CoprimeQ Coproduct CopulaDistribution Copyable CopyDirectory CopyFile CopyTag CopyToClipboard CornerFilter CornerNeighbors Correlation CorrelationDistance CorrelationFunction CorrelationTest Cos Cosh CoshIntegral CosineDistance CosineWindow CosIntegral Cot Coth Count CounterAssignments CounterBox CounterBoxOptions CounterClockwiseContourIntegral CounterEvaluator CounterFunction CounterIncrements CounterStyle CounterStyleMenuListing CountRoots CountryData Covariance CovarianceEstimatorFunction CovarianceFunction CoxianDistribution CoxIngersollRossProcess CoxModel CoxModelFit CramerVonMisesTest CreateArchive CreateDialog CreateDirectory CreateDocument CreateIntermediateDirectories CreatePalette CreatePalettePacket CreateScheduledTask CreateTemporary CreateWindow CriticalityFailureImportance CriticalitySuccessImportance CriticalSection Cross CrossingDetect CrossMatrix Csc Csch CubeRoot Cubics Cuboid CuboidBox Cumulant CumulantGeneratingFunction Cup CupCap Curl CurlyDoubleQuote CurlyQuote CurrentImage CurrentlySpeakingPacket CurrentValue CurvatureFlowFilter CurveClosed Cyan CycleGraph CycleIndexPolynomial Cycles CyclicGroup Cyclotomic Cylinder CylinderBox CylindricalDecomposition D DagumDistribution DamerauLevenshteinDistance DampingFactor Darker Dashed Dashing DataCompression DataDistribution DataRange DataReversed Date DateDelimiters DateDifference DateFunction DateList DateListLogPlot DateListPlot DatePattern DatePlus DateRange DateString DateTicksFormat DaubechiesWavelet DavisDistribution DawsonF DayCount DayCountConvention DayMatchQ DayName DayPlus DayRange DayRound DeBruijnGraph Debug DebugTag Decimal DeclareKnownSymbols DeclarePackage Decompose Decrement DedekindEta Default DefaultAxesStyle DefaultBaseStyle DefaultBoxStyle DefaultButton DefaultColor DefaultControlPlacement DefaultDuplicateCellStyle DefaultDuration DefaultElement DefaultFaceGridsStyle DefaultFieldHintStyle DefaultFont DefaultFontProperties DefaultFormatType DefaultFormatTypeForStyle DefaultFrameStyle DefaultFrameTicksStyle DefaultGridLinesStyle DefaultInlineFormatType DefaultInputFormatType DefaultLabelStyle DefaultMenuStyle DefaultNaturalLanguage DefaultNewCellStyle DefaultNewInlineCellStyle DefaultNotebook DefaultOptions DefaultOutputFormatType DefaultStyle DefaultStyleDefinitions DefaultTextFormatType DefaultTextInlineFormatType DefaultTicksStyle DefaultTooltipStyle DefaultValues Defer DefineExternal DefineInputStreamMethod DefineOutputStreamMethod Definition Degree DegreeCentrality DegreeGraphDistribution DegreeLexicographic DegreeReverseLexicographic Deinitialization Del Deletable Delete DeleteBorderComponents DeleteCases DeleteContents DeleteDirectory DeleteDuplicates DeleteFile DeleteSmallComponents DeleteWithContents DeletionWarning Delimiter DelimiterFlashTime DelimiterMatching Delimiters Denominator DensityGraphics DensityHistogram DensityPlot DependentVariables Deploy Deployed Depth DepthFirstScan Derivative DerivativeFilter DescriptorStateSpace DesignMatrix Det DGaussianWavelet DiacriticalPositioning Diagonal DiagonalMatrix Dialog DialogIndent DialogInput DialogLevel DialogNotebook DialogProlog DialogReturn DialogSymbols Diamond DiamondMatrix DiceDissimilarity DictionaryLookup DifferenceDelta DifferenceOrder DifferenceRoot DifferenceRootReduce Differences DifferentialD DifferentialRoot DifferentialRootReduce DifferentiatorFilter DigitBlock DigitBlockMinimum DigitCharacter DigitCount DigitQ DihedralGroup Dilation Dimensions DiracComb DiracDelta DirectedEdge DirectedEdges DirectedGraph DirectedGraphQ DirectedInfinity Direction Directive Directory DirectoryName DirectoryQ DirectoryStack DirichletCharacter DirichletConvolve DirichletDistribution DirichletL DirichletTransform DirichletWindow DisableConsolePrintPacket DiscreteChirpZTransform DiscreteConvolve DiscreteDelta DiscreteHadamardTransform DiscreteIndicator DiscreteLQEstimatorGains DiscreteLQRegulatorGains DiscreteLyapunovSolve DiscreteMarkovProcess DiscretePlot DiscretePlot3D DiscreteRatio DiscreteRiccatiSolve DiscreteShift DiscreteTimeModelQ DiscreteUniformDistribution DiscreteVariables DiscreteWaveletData DiscreteWaveletPacketTransform DiscreteWaveletTransform Discriminant Disjunction Disk DiskBox DiskMatrix Dispatch DispersionEstimatorFunction Display DisplayAllSteps DisplayEndPacket DisplayFlushImagePacket DisplayForm DisplayFunction DisplayPacket DisplayRules DisplaySetSizePacket DisplayString DisplayTemporary DisplayWith DisplayWithRef DisplayWithVariable DistanceFunction DistanceTransform Distribute Distributed DistributedContexts DistributeDefinitions DistributionChart DistributionDomain DistributionFitTest DistributionParameterAssumptions DistributionParameterQ Dithering Div Divergence Divide DivideBy Dividers Divisible Divisors DivisorSigma DivisorSum DMSList DMSString Do DockedCells DocumentNotebook DominantColors DOSTextFormat Dot DotDashed DotEqual Dotted DoubleBracketingBar DoubleContourIntegral DoubleDownArrow DoubleLeftArrow DoubleLeftRightArrow DoubleLeftTee DoubleLongLeftArrow DoubleLongLeftRightArrow DoubleLongRightArrow DoubleRightArrow DoubleRightTee DoubleUpArrow DoubleUpDownArrow DoubleVerticalBar DoublyInfinite Down DownArrow DownArrowBar DownArrowUpArrow DownLeftRightVector DownLeftTeeVector DownLeftVector DownLeftVectorBar DownRightTeeVector DownRightVector DownRightVectorBar Downsample DownTee DownTeeArrow DownValues DragAndDrop DrawEdges DrawFrontFaces DrawHighlighted Drop DSolve Dt DualLinearProgramming DualSystemsModel DumpGet DumpSave DuplicateFreeQ Dynamic DynamicBox DynamicBoxOptions DynamicEvaluationTimeout DynamicLocation DynamicModule DynamicModuleBox DynamicModuleBoxOptions DynamicModuleParent DynamicModuleValues DynamicName DynamicNamespace DynamicReference DynamicSetting DynamicUpdating DynamicWrapper DynamicWrapperBox DynamicWrapperBoxOptions E EccentricityCentrality EdgeAdd EdgeBetweennessCentrality EdgeCapacity EdgeCapForm EdgeColor EdgeConnectivity EdgeCost EdgeCount EdgeCoverQ EdgeDashing EdgeDelete EdgeDetect EdgeForm EdgeIndex EdgeJoinForm EdgeLabeling EdgeLabels EdgeLabelStyle EdgeList EdgeOpacity EdgeQ EdgeRenderingFunction EdgeRules EdgeShapeFunction EdgeStyle EdgeThickness EdgeWeight Editable EditButtonSettings EditCellTagsSettings EditDistance EffectiveInterest Eigensystem Eigenvalues EigenvectorCentrality Eigenvectors Element ElementData Eliminate EliminationOrder EllipticE EllipticExp EllipticExpPrime EllipticF EllipticFilterModel EllipticK EllipticLog EllipticNomeQ EllipticPi EllipticReducedHalfPeriods EllipticTheta EllipticThetaPrime EmitSound EmphasizeSyntaxErrors EmpiricalDistribution Empty EmptyGraphQ EnableConsolePrintPacket Enabled Encode End EndAdd EndDialogPacket EndFrontEndInteractionPacket EndOfFile EndOfLine EndOfString EndPackage EngineeringForm Enter EnterExpressionPacket EnterTextPacket Entropy EntropyFilter Environment Epilog Equal EqualColumns EqualRows EqualTilde EquatedTo Equilibrium EquirippleFilterKernel Equivalent Erf Erfc Erfi ErlangB ErlangC ErlangDistribution Erosion ErrorBox ErrorBoxOptions ErrorNorm ErrorPacket ErrorsDialogSettings EstimatedDistribution EstimatedProcess EstimatorGains EstimatorRegulator EuclideanDistance EulerE EulerGamma EulerianGraphQ EulerPhi Evaluatable Evaluate Evaluated EvaluatePacket EvaluationCell EvaluationCompletionAction EvaluationElements EvaluationMode EvaluationMonitor EvaluationNotebook EvaluationObject EvaluationOrder Evaluator EvaluatorNames EvenQ EventData EventEvaluator EventHandler EventHandlerTag EventLabels ExactBlackmanWindow ExactNumberQ ExactRootIsolation ExampleData Except ExcludedForms ExcludePods Exclusions ExclusionsStyle Exists Exit ExitDialog Exp Expand ExpandAll ExpandDenominator ExpandFileName ExpandNumerator Expectation ExpectationE ExpectedValue ExpGammaDistribution ExpIntegralE ExpIntegralEi Exponent ExponentFunction ExponentialDistribution ExponentialFamily ExponentialGeneratingFunction ExponentialMovingAverage ExponentialPowerDistribution ExponentPosition ExponentStep Export ExportAutoReplacements ExportPacket ExportString Expression ExpressionCell ExpressionPacket ExpToTrig ExtendedGCD Extension ExtentElementFunction ExtentMarkers ExtentSize ExternalCall ExternalDataCharacterEncoding Extract ExtractArchive ExtremeValueDistribution FaceForm FaceGrids FaceGridsStyle Factor FactorComplete Factorial Factorial2 FactorialMoment FactorialMomentGeneratingFunction FactorialPower FactorInteger FactorList FactorSquareFree FactorSquareFreeList FactorTerms FactorTermsList Fail FailureDistribution False FARIMAProcess FEDisableConsolePrintPacket FeedbackSector FeedbackSectorStyle FeedbackType FEEnableConsolePrintPacket Fibonacci FieldHint FieldHintStyle FieldMasked FieldSize File FileBaseName FileByteCount FileDate FileExistsQ FileExtension FileFormat FileHash FileInformation FileName FileNameDepth FileNameDialogSettings FileNameDrop FileNameJoin FileNames FileNameSetter FileNameSplit FileNameTake FilePrint FileType FilledCurve FilledCurveBox Filling FillingStyle FillingTransform FilterRules FinancialBond FinancialData FinancialDerivative FinancialIndicator Find FindArgMax FindArgMin FindClique FindClusters FindCurvePath FindDistributionParameters FindDivisions FindEdgeCover FindEdgeCut FindEulerianCycle FindFaces FindFile FindFit FindGeneratingFunction FindGeoLocation FindGeometricTransform FindGraphCommunities FindGraphIsomorphism FindGraphPartition FindHamiltonianCycle FindIndependentEdgeSet FindIndependentVertexSet FindInstance FindIntegerNullVector FindKClan FindKClique FindKClub FindKPlex FindLibrary FindLinearRecurrence FindList FindMaximum FindMaximumFlow FindMaxValue FindMinimum FindMinimumCostFlow FindMinimumCut FindMinValue FindPermutation FindPostmanTour FindProcessParameters FindRoot FindSequenceFunction FindSettings FindShortestPath FindShortestTour FindThreshold FindVertexCover FindVertexCut Fine FinishDynamic FiniteAbelianGroupCount FiniteGroupCount FiniteGroupData First FirstPassageTimeDistribution FischerGroupFi22 FischerGroupFi23 FischerGroupFi24Prime FisherHypergeometricDistribution FisherRatioTest FisherZDistribution Fit FitAll FittedModel FixedPoint FixedPointList FlashSelection Flat Flatten FlattenAt FlatTopWindow FlipView Floor FlushPrintOutputPacket Fold FoldList Font FontColor FontFamily FontForm FontName FontOpacity FontPostScriptName FontProperties FontReencoding FontSize FontSlant FontSubstitutions FontTracking FontVariations FontWeight For ForAll Format FormatRules FormatType FormatTypeAutoConvert FormatValues FormBox FormBoxOptions FortranForm Forward ForwardBackward Fourier FourierCoefficient FourierCosCoefficient FourierCosSeries FourierCosTransform FourierDCT FourierDCTFilter FourierDCTMatrix FourierDST FourierDSTMatrix FourierMatrix FourierParameters FourierSequenceTransform FourierSeries FourierSinCoefficient FourierSinSeries FourierSinTransform FourierTransform FourierTrigSeries FractionalBrownianMotionProcess FractionalPart FractionBox FractionBoxOptions FractionLine Frame FrameBox FrameBoxOptions Framed FrameInset FrameLabel Frameless FrameMargins FrameStyle FrameTicks FrameTicksStyle FRatioDistribution FrechetDistribution FreeQ FrequencySamplingFilterKernel FresnelC FresnelS Friday FrobeniusNumber FrobeniusSolve FromCharacterCode FromCoefficientRules FromContinuedFraction FromDate FromDigits FromDMS Front FrontEndDynamicExpression FrontEndEventActions FrontEndExecute FrontEndObject FrontEndResource FrontEndResourceString FrontEndStackSize FrontEndToken FrontEndTokenExecute FrontEndValueCache FrontEndVersion FrontFaceColor FrontFaceOpacity Full FullAxes FullDefinition FullForm FullGraphics FullOptions FullSimplify Function FunctionExpand FunctionInterpolation FunctionSpace FussellVeselyImportance GaborFilter GaborMatrix GaborWavelet GainMargins GainPhaseMargins Gamma GammaDistribution GammaRegularized GapPenalty Gather GatherBy GaugeFaceElementFunction GaugeFaceStyle GaugeFrameElementFunction GaugeFrameSize GaugeFrameStyle GaugeLabels GaugeMarkers GaugeStyle GaussianFilter GaussianIntegers GaussianMatrix GaussianWindow GCD GegenbauerC General GeneralizedLinearModelFit GenerateConditions GeneratedCell GeneratedParameters GeneratingFunction Generic GenericCylindricalDecomposition GenomeData GenomeLookup GeodesicClosing GeodesicDilation GeodesicErosion GeodesicOpening GeoDestination GeodesyData GeoDirection GeoDistance GeoGridPosition GeometricBrownianMotionProcess GeometricDistribution GeometricMean GeometricMeanFilter GeometricTransformation GeometricTransformation3DBox GeometricTransformation3DBoxOptions GeometricTransformationBox GeometricTransformationBoxOptions GeoPosition GeoPositionENU GeoPositionXYZ GeoProjectionData GestureHandler GestureHandlerTag Get GetBoundingBoxSizePacket GetContext GetEnvironment GetFileName GetFrontEndOptionsDataPacket GetLinebreakInformationPacket GetMenusPacket GetPageBreakInformationPacket Glaisher GlobalClusteringCoefficient GlobalPreferences GlobalSession Glow GoldenRatio GompertzMakehamDistribution GoodmanKruskalGamma GoodmanKruskalGammaTest Goto Grad Gradient GradientFilter GradientOrientationFilter Graph GraphAssortativity GraphCenter GraphComplement GraphData GraphDensity GraphDiameter GraphDifference GraphDisjointUnion GraphDistance GraphDistanceMatrix GraphElementData GraphEmbedding GraphHighlight GraphHighlightStyle GraphHub Graphics Graphics3D Graphics3DBox Graphics3DBoxOptions GraphicsArray GraphicsBaseline GraphicsBox GraphicsBoxOptions GraphicsColor GraphicsColumn GraphicsComplex GraphicsComplex3DBox GraphicsComplex3DBoxOptions GraphicsComplexBox GraphicsComplexBoxOptions GraphicsContents GraphicsData GraphicsGrid GraphicsGridBox GraphicsGroup GraphicsGroup3DBox GraphicsGroup3DBoxOptions GraphicsGroupBox GraphicsGroupBoxOptions GraphicsGrouping GraphicsHighlightColor GraphicsRow GraphicsSpacing GraphicsStyle GraphIntersection GraphLayout GraphLinkEfficiency GraphPeriphery GraphPlot GraphPlot3D GraphPower GraphPropertyDistribution GraphQ GraphRadius GraphReciprocity GraphRoot GraphStyle GraphUnion Gray GrayLevel GreatCircleDistance Greater GreaterEqual GreaterEqualLess GreaterFullEqual GreaterGreater GreaterLess GreaterSlantEqual GreaterTilde Green Grid GridBaseline GridBox GridBoxAlignment GridBoxBackground GridBoxDividers GridBoxFrame GridBoxItemSize GridBoxItemStyle GridBoxOptions GridBoxSpacings GridCreationSettings GridDefaultElement GridElementStyleOptions GridFrame GridFrameMargins GridGraph GridLines GridLinesStyle GroebnerBasis GroupActionBase GroupCentralizer GroupElementFromWord GroupElementPosition GroupElementQ GroupElements GroupElementToWord GroupGenerators GroupMultiplicationTable GroupOrbits GroupOrder GroupPageBreakWithin GroupSetwiseStabilizer GroupStabilizer GroupStabilizerChain Gudermannian GumbelDistribution HaarWavelet HadamardMatrix HalfNormalDistribution HamiltonianGraphQ HammingDistance HammingWindow HankelH1 HankelH2 HankelMatrix HannPoissonWindow HannWindow HaradaNortonGroupHN HararyGraph HarmonicMean HarmonicMeanFilter HarmonicNumber Hash HashTable Haversine HazardFunction Head HeadCompose Heads HeavisideLambda HeavisidePi HeavisideTheta HeldGroupHe HeldPart HelpBrowserLookup HelpBrowserNotebook HelpBrowserSettings HermiteDecomposition HermiteH HermitianMatrixQ HessenbergDecomposition Hessian HexadecimalCharacter Hexahedron HexahedronBox HexahedronBoxOptions HiddenSurface HighlightGraph HighlightImage HighpassFilter HigmanSimsGroupHS HilbertFilter HilbertMatrix Histogram Histogram3D HistogramDistribution HistogramList HistogramTransform HistogramTransformInterpolation HitMissTransform HITSCentrality HodgeDual HoeffdingD HoeffdingDTest Hold HoldAll HoldAllComplete HoldComplete HoldFirst HoldForm HoldPattern HoldRest HolidayCalendar HomeDirectory HomePage Horizontal HorizontalForm HorizontalGauge HorizontalScrollPosition HornerForm HotellingTSquareDistribution HoytDistribution HTMLSave Hue HumpDownHump HumpEqual HurwitzLerchPhi HurwitzZeta HyperbolicDistribution HypercubeGraph HyperexponentialDistribution Hyperfactorial Hypergeometric0F1 Hypergeometric0F1Regularized Hypergeometric1F1 Hypergeometric1F1Regularized Hypergeometric2F1 Hypergeometric2F1Regularized HypergeometricDistribution HypergeometricPFQ HypergeometricPFQRegularized HypergeometricU Hyperlink HyperlinkCreationSettings Hyphenation HyphenationOptions HypoexponentialDistribution HypothesisTestData I Identity IdentityMatrix If IgnoreCase Im Image Image3D Image3DSlices ImageAccumulate ImageAdd ImageAdjust ImageAlign ImageApply ImageAspectRatio ImageAssemble ImageCache ImageCacheValid ImageCapture ImageChannels ImageClip ImageColorSpace ImageCompose ImageConvolve ImageCooccurrence ImageCorners ImageCorrelate ImageCorrespondingPoints ImageCrop ImageData ImageDataPacket ImageDeconvolve ImageDemosaic ImageDifference ImageDimensions ImageDistance ImageEffect ImageFeatureTrack ImageFileApply ImageFileFilter ImageFileScan ImageFilter ImageForestingComponents ImageForwardTransformation ImageHistogram ImageKeypoints ImageLevels ImageLines ImageMargins ImageMarkers ImageMeasurements ImageMultiply ImageOffset ImagePad ImagePadding ImagePartition ImagePeriodogram ImagePerspectiveTransformation ImageQ ImageRangeCache ImageReflect ImageRegion ImageResize ImageResolution ImageRotate ImageRotated ImageScaled ImageScan ImageSize ImageSizeAction ImageSizeCache ImageSizeMultipliers ImageSizeRaw ImageSubtract ImageTake ImageTransformation ImageTrim ImageType ImageValue ImageValuePositions Implies Import ImportAutoReplacements ImportString ImprovementImportance In IncidenceGraph IncidenceList IncidenceMatrix IncludeConstantBasis IncludeFileExtension IncludePods IncludeSingularTerm Increment Indent IndentingNewlineSpacings IndentMaxFraction IndependenceTest IndependentEdgeSetQ IndependentUnit IndependentVertexSetQ Indeterminate IndexCreationOptions Indexed IndexGraph IndexTag Inequality InexactNumberQ InexactNumbers Infinity Infix Information Inherited InheritScope Initialization InitializationCell InitializationCellEvaluation InitializationCellWarning InlineCounterAssignments InlineCounterIncrements InlineRules Inner Inpaint Input InputAliases InputAssumptions InputAutoReplacements InputField InputFieldBox InputFieldBoxOptions InputForm InputGrouping InputNamePacket InputNotebook InputPacket InputSettings InputStream InputString InputStringPacket InputToBoxFormPacket Insert InsertionPointObject InsertResults Inset Inset3DBox Inset3DBoxOptions InsetBox InsetBoxOptions Install InstallService InString Integer IntegerDigits IntegerExponent IntegerLength IntegerPart IntegerPartitions IntegerQ Integers IntegerString Integral Integrate Interactive InteractiveTradingChart Interlaced Interleaving InternallyBalancedDecomposition InterpolatingFunction InterpolatingPolynomial Interpolation InterpolationOrder InterpolationPoints InterpolationPrecision Interpretation InterpretationBox InterpretationBoxOptions InterpretationFunction InterpretTemplate InterquartileRange Interrupt InterruptSettings Intersection Interval IntervalIntersection IntervalMemberQ IntervalUnion Inverse InverseBetaRegularized InverseCDF InverseChiSquareDistribution InverseContinuousWaveletTransform InverseDistanceTransform InverseEllipticNomeQ InverseErf InverseErfc InverseFourier InverseFourierCosTransform InverseFourierSequenceTransform InverseFourierSinTransform InverseFourierTransform InverseFunction InverseFunctions InverseGammaDistribution InverseGammaRegularized InverseGaussianDistribution InverseGudermannian InverseHaversine InverseJacobiCD InverseJacobiCN InverseJacobiCS InverseJacobiDC InverseJacobiDN InverseJacobiDS InverseJacobiNC InverseJacobiND InverseJacobiNS InverseJacobiSC InverseJacobiSD InverseJacobiSN InverseLaplaceTransform InversePermutation InverseRadon InverseSeries InverseSurvivalFunction InverseWaveletTransform InverseWeierstrassP InverseZTransform Invisible InvisibleApplication InvisibleTimes IrreduciblePolynomialQ IsolatingInterval IsomorphicGraphQ IsotopeData Italic Item ItemBox ItemBoxOptions ItemSize ItemStyle ItoProcess JaccardDissimilarity JacobiAmplitude Jacobian JacobiCD JacobiCN JacobiCS JacobiDC JacobiDN JacobiDS JacobiNC JacobiND JacobiNS JacobiP JacobiSC JacobiSD JacobiSN JacobiSymbol JacobiZeta JankoGroupJ1 JankoGroupJ2 JankoGroupJ3 JankoGroupJ4 JarqueBeraALMTest JohnsonDistribution Join Joined JoinedCurve JoinedCurveBox JoinForm JordanDecomposition JordanModelDecomposition K KagiChart KaiserBesselWindow KaiserWindow KalmanEstimator KalmanFilter KarhunenLoeveDecomposition KaryTree KatzCentrality KCoreComponents KDistribution KelvinBei KelvinBer KelvinKei KelvinKer KendallTau KendallTauTest KernelExecute KernelMixtureDistribution KernelObject Kernels Ket Khinchin KirchhoffGraph KirchhoffMatrix KleinInvariantJ KnightTourGraph KnotData KnownUnitQ KolmogorovSmirnovTest KroneckerDelta KroneckerModelDecomposition KroneckerProduct KroneckerSymbol KuiperTest KumaraswamyDistribution Kurtosis KuwaharaFilter Label Labeled LabeledSlider LabelingFunction LabelStyle LaguerreL LambdaComponents LambertW LanczosWindow LandauDistribution Language LanguageCategory LaplaceDistribution LaplaceTransform Laplacian LaplacianFilter LaplacianGaussianFilter Large Larger Last Latitude LatitudeLongitude LatticeData LatticeReduce Launch LaunchKernels LayeredGraphPlot LayerSizeFunction LayoutInformation LCM LeafCount LeapYearQ LeastSquares LeastSquaresFilterKernel Left LeftArrow LeftArrowBar LeftArrowRightArrow LeftDownTeeVector LeftDownVector LeftDownVectorBar LeftRightArrow LeftRightVector LeftTee LeftTeeArrow LeftTeeVector LeftTriangle LeftTriangleBar LeftTriangleEqual LeftUpDownVector LeftUpTeeVector LeftUpVector LeftUpVectorBar LeftVector LeftVectorBar LegendAppearance Legended LegendFunction LegendLabel LegendLayout LegendMargins LegendMarkers LegendMarkerSize LegendreP LegendreQ LegendreType Length LengthWhile LerchPhi Less LessEqual LessEqualGreater LessFullEqual LessGreater LessLess LessSlantEqual LessTilde LetterCharacter LetterQ Level LeveneTest LeviCivitaTensor LevyDistribution Lexicographic LibraryFunction LibraryFunctionError LibraryFunctionInformation LibraryFunctionLoad LibraryFunctionUnload LibraryLoad LibraryUnload LicenseID LiftingFilterData LiftingWaveletTransform LightBlue LightBrown LightCyan Lighter LightGray LightGreen Lighting LightingAngle LightMagenta LightOrange LightPink LightPurple LightRed LightSources LightYellow Likelihood Limit LimitsPositioning LimitsPositioningTokens LindleyDistribution Line Line3DBox LinearFilter LinearFractionalTransform LinearModelFit LinearOffsetFunction LinearProgramming LinearRecurrence LinearSolve LinearSolveFunction LineBox LineBreak LinebreakAdjustments LineBreakChart LineBreakWithin LineColor LineForm LineGraph LineIndent LineIndentMaxFraction LineIntegralConvolutionPlot LineIntegralConvolutionScale LineLegend LineOpacity LineSpacing LineWrapParts LinkActivate LinkClose LinkConnect LinkConnectedQ LinkCreate LinkError LinkFlush LinkFunction LinkHost LinkInterrupt LinkLaunch LinkMode LinkObject LinkOpen LinkOptions LinkPatterns LinkProtocol LinkRead LinkReadHeld LinkReadyQ Links LinkWrite LinkWriteHeld LiouvilleLambda List Listable ListAnimate ListContourPlot ListContourPlot3D ListConvolve ListCorrelate ListCurvePathPlot ListDeconvolve ListDensityPlot Listen ListFourierSequenceTransform ListInterpolation ListLineIntegralConvolutionPlot ListLinePlot ListLogLinearPlot ListLogLogPlot ListLogPlot ListPicker ListPickerBox ListPickerBoxBackground ListPickerBoxOptions ListPlay ListPlot ListPlot3D ListPointPlot3D ListPolarPlot ListQ ListStreamDensityPlot ListStreamPlot ListSurfacePlot3D ListVectorDensityPlot ListVectorPlot ListVectorPlot3D ListZTransform Literal LiteralSearch LocalClusteringCoefficient LocalizeVariables LocationEquivalenceTest LocationTest Locator LocatorAutoCreate LocatorBox LocatorBoxOptions LocatorCentering LocatorPane LocatorPaneBox LocatorPaneBoxOptions LocatorRegion Locked Log Log10 Log2 LogBarnesG LogGamma LogGammaDistribution LogicalExpand LogIntegral LogisticDistribution LogitModelFit LogLikelihood LogLinearPlot LogLogisticDistribution LogLogPlot LogMultinormalDistribution LogNormalDistribution LogPlot LogRankTest LogSeriesDistribution LongEqual Longest LongestAscendingSequence LongestCommonSequence LongestCommonSequencePositions LongestCommonSubsequence LongestCommonSubsequencePositions LongestMatch LongForm Longitude LongLeftArrow LongLeftRightArrow LongRightArrow Loopback LoopFreeGraphQ LowerCaseQ LowerLeftArrow LowerRightArrow LowerTriangularize LowpassFilter LQEstimatorGains LQGRegulator LQOutputRegulatorGains LQRegulatorGains LUBackSubstitution LucasL LuccioSamiComponents LUDecomposition LyapunovSolve LyonsGroupLy MachineID MachineName MachineNumberQ MachinePrecision MacintoshSystemPageSetup Magenta Magnification Magnify MainSolve MaintainDynamicCaches Majority MakeBoxes MakeExpression MakeRules MangoldtLambda ManhattanDistance Manipulate Manipulator MannWhitneyTest MantissaExponent Manual Map MapAll MapAt MapIndexed MAProcess MapThread MarcumQ MardiaCombinedTest MardiaKurtosisTest MardiaSkewnessTest MarginalDistribution MarkovProcessProperties Masking MatchingDissimilarity MatchLocalNameQ MatchLocalNames MatchQ Material MathematicaNotation MathieuC MathieuCharacteristicA MathieuCharacteristicB MathieuCharacteristicExponent MathieuCPrime MathieuGroupM11 MathieuGroupM12 MathieuGroupM22 MathieuGroupM23 MathieuGroupM24 MathieuS MathieuSPrime MathMLForm MathMLText Matrices MatrixExp MatrixForm MatrixFunction MatrixLog MatrixPlot MatrixPower MatrixQ MatrixRank Max MaxBend MaxDetect MaxExtraBandwidths MaxExtraConditions MaxFeatures MaxFilter Maximize MaxIterations MaxMemoryUsed MaxMixtureKernels MaxPlotPoints MaxPoints MaxRecursion MaxStableDistribution MaxStepFraction MaxSteps MaxStepSize MaxValue MaxwellDistribution McLaughlinGroupMcL Mean MeanClusteringCoefficient MeanDegreeConnectivity MeanDeviation MeanFilter MeanGraphDistance MeanNeighborDegree MeanShift MeanShiftFilter Median MedianDeviation MedianFilter Medium MeijerG MeixnerDistribution MemberQ MemoryConstrained MemoryInUse Menu MenuAppearance MenuCommandKey MenuEvaluator MenuItem MenuPacket MenuSortingValue MenuStyle MenuView MergeDifferences Mesh MeshFunctions MeshRange MeshShading MeshStyle Message MessageDialog MessageList MessageName MessageOptions MessagePacket Messages MessagesNotebook MetaCharacters MetaInformation Method MethodOptions MexicanHatWavelet MeyerWavelet Min MinDetect MinFilter MinimalPolynomial MinimalStateSpaceModel Minimize Minors MinRecursion MinSize MinStableDistribution Minus MinusPlus MinValue Missing MissingDataMethod MittagLefflerE MixedRadix MixedRadixQuantity MixtureDistribution Mod Modal Mode Modular ModularLambda Module Modulus MoebiusMu Moment Momentary MomentConvert MomentEvaluate MomentGeneratingFunction Monday Monitor MonomialList MonomialOrder MonsterGroupM MorletWavelet MorphologicalBinarize MorphologicalBranchPoints MorphologicalComponents MorphologicalEulerNumber MorphologicalGraph MorphologicalPerimeter MorphologicalTransform Most MouseAnnotation MouseAppearance MouseAppearanceTag MouseButtons Mouseover MousePointerNote MousePosition MovingAverage MovingMedian MoyalDistribution MultiedgeStyle MultilaunchWarning MultiLetterItalics MultiLetterStyle MultilineFunction Multinomial MultinomialDistribution MultinormalDistribution MultiplicativeOrder Multiplicity Multiselection MultivariateHypergeometricDistribution MultivariatePoissonDistribution MultivariateTDistribution N NakagamiDistribution NameQ Names NamespaceBox Nand NArgMax NArgMin NBernoulliB NCache NDSolve NDSolveValue Nearest NearestFunction NeedCurrentFrontEndPackagePacket NeedCurrentFrontEndSymbolsPacket NeedlemanWunschSimilarity Needs Negative NegativeBinomialDistribution NegativeMultinomialDistribution NeighborhoodGraph Nest NestedGreaterGreater NestedLessLess NestedScriptRules NestList NestWhile NestWhileList NevilleThetaC NevilleThetaD NevilleThetaN NevilleThetaS NewPrimitiveStyle NExpectation Next NextPrime NHoldAll NHoldFirst NHoldRest NicholsGridLines NicholsPlot NIntegrate NMaximize NMaxValue NMinimize NMinValue NominalVariables NonAssociative NoncentralBetaDistribution NoncentralChiSquareDistribution NoncentralFRatioDistribution NoncentralStudentTDistribution NonCommutativeMultiply NonConstants None NonlinearModelFit NonlocalMeansFilter NonNegative NonPositive Nor NorlundB Norm Normal NormalDistribution NormalGrouping Normalize NormalizedSquaredEuclideanDistance NormalsFunction NormFunction Not NotCongruent NotCupCap NotDoubleVerticalBar Notebook NotebookApply NotebookAutoSave NotebookClose NotebookConvertSettings NotebookCreate NotebookCreateReturnObject NotebookDefault NotebookDelete NotebookDirectory NotebookDynamicExpression NotebookEvaluate NotebookEventActions NotebookFileName NotebookFind NotebookFindReturnObject NotebookGet NotebookGetLayoutInformationPacket NotebookGetMisspellingsPacket NotebookInformation NotebookInterfaceObject NotebookLocate NotebookObject NotebookOpen NotebookOpenReturnObject NotebookPath NotebookPrint NotebookPut NotebookPutReturnObject NotebookRead NotebookResetGeneratedCells Notebooks NotebookSave NotebookSaveAs NotebookSelection NotebookSetupLayoutInformationPacket NotebooksMenu NotebookWrite NotElement NotEqualTilde NotExists NotGreater NotGreaterEqual NotGreaterFullEqual NotGreaterGreater NotGreaterLess NotGreaterSlantEqual NotGreaterTilde NotHumpDownHump NotHumpEqual NotLeftTriangle NotLeftTriangleBar NotLeftTriangleEqual NotLess NotLessEqual NotLessFullEqual NotLessGreater NotLessLess NotLessSlantEqual NotLessTilde NotNestedGreaterGreater NotNestedLessLess NotPrecedes NotPrecedesEqual NotPrecedesSlantEqual NotPrecedesTilde NotReverseElement NotRightTriangle NotRightTriangleBar NotRightTriangleEqual NotSquareSubset NotSquareSubsetEqual NotSquareSuperset NotSquareSupersetEqual NotSubset NotSubsetEqual NotSucceeds NotSucceedsEqual NotSucceedsSlantEqual NotSucceedsTilde NotSuperset NotSupersetEqual NotTilde NotTildeEqual NotTildeFullEqual NotTildeTilde NotVerticalBar NProbability NProduct NProductFactors NRoots NSolve NSum NSumTerms Null NullRecords NullSpace NullWords Number NumberFieldClassNumber NumberFieldDiscriminant NumberFieldFundamentalUnits NumberFieldIntegralBasis NumberFieldNormRepresentatives NumberFieldRegulator NumberFieldRootsOfUnity NumberFieldSignature NumberForm NumberFormat NumberMarks NumberMultiplier NumberPadding NumberPoint NumberQ NumberSeparator NumberSigns NumberString Numerator NumericFunction NumericQ NuttallWindow NValues NyquistGridLines NyquistPlot O ObservabilityGramian ObservabilityMatrix ObservableDecomposition ObservableModelQ OddQ Off Offset OLEData On ONanGroupON OneIdentity Opacity Open OpenAppend Opener OpenerBox OpenerBoxOptions OpenerView OpenFunctionInspectorPacket Opening OpenRead OpenSpecialOptions OpenTemporary OpenWrite Operate OperatingSystem OptimumFlowData Optional OptionInspectorSettings OptionQ Options OptionsPacket OptionsPattern OptionValue OptionValueBox OptionValueBoxOptions Or Orange Order OrderDistribution OrderedQ Ordering Orderless OrnsteinUhlenbeckProcess Orthogonalize Out Outer OutputAutoOverwrite OutputControllabilityMatrix OutputControllableModelQ OutputForm OutputFormData OutputGrouping OutputMathEditExpression OutputNamePacket OutputResponse OutputSizeLimit OutputStream Over OverBar OverDot Overflow OverHat Overlaps Overlay OverlayBox OverlayBoxOptions Overscript OverscriptBox OverscriptBoxOptions OverTilde OverVector OwenT OwnValues PackingMethod PaddedForm Padding PadeApproximant PadLeft PadRight PageBreakAbove PageBreakBelow PageBreakWithin PageFooterLines PageFooters PageHeaderLines PageHeaders PageHeight PageRankCentrality PageWidth PairedBarChart PairedHistogram PairedSmoothHistogram PairedTTest PairedZTest PaletteNotebook PalettePath Pane PaneBox PaneBoxOptions Panel PanelBox PanelBoxOptions Paneled PaneSelector PaneSelectorBox PaneSelectorBoxOptions PaperWidth ParabolicCylinderD ParagraphIndent ParagraphSpacing ParallelArray ParallelCombine ParallelDo ParallelEvaluate Parallelization Parallelize ParallelMap ParallelNeeds ParallelProduct ParallelSubmit ParallelSum ParallelTable ParallelTry Parameter ParameterEstimator ParameterMixtureDistribution ParameterVariables ParametricFunction ParametricNDSolve ParametricNDSolveValue ParametricPlot ParametricPlot3D ParentConnect ParentDirectory ParentForm Parenthesize ParentList ParetoDistribution Part PartialCorrelationFunction PartialD ParticleData Partition PartitionsP PartitionsQ ParzenWindow PascalDistribution PassEventsDown PassEventsUp Paste PasteBoxFormInlineCells PasteButton Path PathGraph PathGraphQ Pattern PatternSequence PatternTest PauliMatrix PaulWavelet Pause PausedTime PDF PearsonChiSquareTest PearsonCorrelationTest PearsonDistribution PerformanceGoal PeriodicInterpolation Periodogram PeriodogramArray PermutationCycles PermutationCyclesQ PermutationGroup PermutationLength PermutationList PermutationListQ PermutationMax PermutationMin PermutationOrder PermutationPower PermutationProduct PermutationReplace Permutations PermutationSupport Permute PeronaMalikFilter Perpendicular PERTDistribution PetersenGraph PhaseMargins Pi Pick PIDData PIDDerivativeFilter PIDFeedforward PIDTune Piecewise PiecewiseExpand PieChart PieChart3D PillaiTrace PillaiTraceTest Pink Pivoting PixelConstrained PixelValue PixelValuePositions Placed Placeholder PlaceholderReplace Plain PlanarGraphQ Play PlayRange Plot Plot3D Plot3Matrix PlotDivision PlotJoined PlotLabel PlotLayout PlotLegends PlotMarkers PlotPoints PlotRange PlotRangeClipping PlotRangePadding PlotRegion PlotStyle Plus PlusMinus Pochhammer PodStates PodWidth Point Point3DBox PointBox PointFigureChart PointForm PointLegend PointSize PoissonConsulDistribution PoissonDistribution PoissonProcess PoissonWindow PolarAxes PolarAxesOrigin PolarGridLines PolarPlot PolarTicks PoleZeroMarkers PolyaAeppliDistribution PolyGamma Polygon Polygon3DBox Polygon3DBoxOptions PolygonBox PolygonBoxOptions PolygonHoleScale PolygonIntersections PolygonScale PolyhedronData PolyLog PolynomialExtendedGCD PolynomialForm PolynomialGCD PolynomialLCM PolynomialMod PolynomialQ PolynomialQuotient PolynomialQuotientRemainder PolynomialReduce PolynomialRemainder Polynomials PopupMenu PopupMenuBox PopupMenuBoxOptions PopupView PopupWindow Position Positive PositiveDefiniteMatrixQ PossibleZeroQ Postfix PostScript Power PowerDistribution PowerExpand PowerMod PowerModList PowerSpectralDensity PowersRepresentations PowerSymmetricPolynomial Precedence PrecedenceForm Precedes PrecedesEqual PrecedesSlantEqual PrecedesTilde Precision PrecisionGoal PreDecrement PredictionRoot PreemptProtect PreferencesPath Prefix PreIncrement Prepend PrependTo PreserveImageOptions Previous PriceGraphDistribution PrimaryPlaceholder Prime PrimeNu PrimeOmega PrimePi PrimePowerQ PrimeQ Primes PrimeZetaP PrimitiveRoot PrincipalComponents PrincipalValue Print PrintAction PrintForm PrintingCopies PrintingOptions PrintingPageRange PrintingStartingPageNumber PrintingStyleEnvironment PrintPrecision PrintTemporary Prism PrismBox PrismBoxOptions PrivateCellOptions PrivateEvaluationOptions PrivateFontOptions PrivateFrontEndOptions PrivateNotebookOptions PrivatePaths Probability ProbabilityDistribution ProbabilityPlot ProbabilityPr ProbabilityScalePlot ProbitModelFit ProcessEstimator ProcessParameterAssumptions ProcessParameterQ ProcessStateDomain ProcessTimeDomain Product ProductDistribution ProductLog ProgressIndicator ProgressIndicatorBox ProgressIndicatorBoxOptions Projection Prolog PromptForm Properties Property PropertyList PropertyValue Proportion Proportional Protect Protected ProteinData Pruning PseudoInverse Purple Put PutAppend Pyramid PyramidBox PyramidBoxOptions QBinomial QFactorial QGamma QHypergeometricPFQ QPochhammer QPolyGamma QRDecomposition QuadraticIrrationalQ Quantile QuantilePlot Quantity QuantityForm QuantityMagnitude QuantityQ QuantityUnit Quartics QuartileDeviation Quartiles QuartileSkewness QueueingNetworkProcess QueueingProcess QueueProperties Quiet Quit Quotient QuotientRemainder RadialityCentrality RadicalBox RadicalBoxOptions RadioButton RadioButtonBar RadioButtonBox RadioButtonBoxOptions Radon RamanujanTau RamanujanTauL RamanujanTauTheta RamanujanTauZ Random RandomChoice RandomComplex RandomFunction RandomGraph RandomImage RandomInteger RandomPermutation RandomPrime RandomReal RandomSample RandomSeed RandomVariate RandomWalkProcess Range RangeFilter RangeSpecification RankedMax RankedMin Raster Raster3D Raster3DBox Raster3DBoxOptions RasterArray RasterBox RasterBoxOptions Rasterize RasterSize Rational RationalFunctions Rationalize Rationals Ratios Raw RawArray RawBoxes RawData RawMedium RayleighDistribution Re Read ReadList ReadProtected Real RealBlockDiagonalForm RealDigits RealExponent Reals Reap Record RecordLists RecordSeparators Rectangle RectangleBox RectangleBoxOptions RectangleChart RectangleChart3D RecurrenceFilter RecurrenceTable RecurringDigitsForm Red Reduce RefBox ReferenceLineStyle ReferenceMarkers ReferenceMarkerStyle Refine ReflectionMatrix ReflectionTransform Refresh RefreshRate RegionBinarize RegionFunction RegionPlot RegionPlot3D RegularExpression Regularization Reinstall Release ReleaseHold ReliabilityDistribution ReliefImage ReliefPlot Remove RemoveAlphaChannel RemoveAsynchronousTask Removed RemoveInputStreamMethod RemoveOutputStreamMethod RemoveProperty RemoveScheduledTask RenameDirectory RenameFile RenderAll RenderingOptions RenewalProcess RenkoChart Repeated RepeatedNull RepeatedString Replace ReplaceAll ReplaceHeldPart ReplaceImageValue ReplaceList ReplacePart ReplacePixelValue ReplaceRepeated Resampling Rescale RescalingTransform ResetDirectory ResetMenusPacket ResetScheduledTask Residue Resolve Rest Resultant ResumePacket Return ReturnExpressionPacket ReturnInputFormPacket ReturnPacket ReturnTextPacket Reverse ReverseBiorthogonalSplineWavelet ReverseElement ReverseEquilibrium ReverseGraph ReverseUpEquilibrium RevolutionAxis RevolutionPlot3D RGBColor RiccatiSolve RiceDistribution RidgeFilter RiemannR RiemannSiegelTheta RiemannSiegelZ Riffle Right RightArrow RightArrowBar RightArrowLeftArrow RightCosetRepresentative RightDownTeeVector RightDownVector RightDownVectorBar RightTee RightTeeArrow RightTeeVector RightTriangle RightTriangleBar RightTriangleEqual RightUpDownVector RightUpTeeVector RightUpVector RightUpVectorBar RightVector RightVectorBar RiskAchievementImportance RiskReductionImportance RogersTanimotoDissimilarity Root RootApproximant RootIntervals RootLocusPlot RootMeanSquare RootOfUnityQ RootReduce Roots RootSum Rotate RotateLabel RotateLeft RotateRight RotationAction RotationBox RotationBoxOptions RotationMatrix RotationTransform Round RoundImplies RoundingRadius Row RowAlignments RowBackgrounds RowBox RowHeights RowLines RowMinHeight RowReduce RowsEqual RowSpacings RSolve RudvalisGroupRu Rule RuleCondition RuleDelayed RuleForm RulerUnits Run RunScheduledTask RunThrough RuntimeAttributes RuntimeOptions RussellRaoDissimilarity SameQ SameTest SampleDepth SampledSoundFunction SampledSoundList SampleRate SamplingPeriod SARIMAProcess SARMAProcess SatisfiabilityCount SatisfiabilityInstances SatisfiableQ Saturday Save Saveable SaveAutoDelete SaveDefinitions SawtoothWave Scale Scaled ScaleDivisions ScaledMousePosition ScaleOrigin ScalePadding ScaleRanges ScaleRangeStyle ScalingFunctions ScalingMatrix ScalingTransform Scan ScheduledTaskActiveQ ScheduledTaskData ScheduledTaskObject ScheduledTasks SchurDecomposition ScientificForm ScreenRectangle ScreenStyleEnvironment ScriptBaselineShifts ScriptLevel ScriptMinSize ScriptRules ScriptSizeMultipliers Scrollbars ScrollingOptions ScrollPosition Sec Sech SechDistribution SectionGrouping SectorChart SectorChart3D SectorOrigin SectorSpacing SeedRandom Select Selectable SelectComponents SelectedCells SelectedNotebook Selection SelectionAnimate SelectionCell SelectionCellCreateCell SelectionCellDefaultStyle SelectionCellParentStyle SelectionCreateCell SelectionDebuggerTag SelectionDuplicateCell SelectionEvaluate SelectionEvaluateCreateCell SelectionMove SelectionPlaceholder SelectionSetStyle SelectWithContents SelfLoops SelfLoopStyle SemialgebraicComponentInstances SendMail Sequence SequenceAlignment SequenceForm SequenceHold SequenceLimit Series SeriesCoefficient SeriesData SessionTime Set SetAccuracy SetAlphaChannel SetAttributes Setbacks SetBoxFormNamesPacket SetDelayed SetDirectory SetEnvironment SetEvaluationNotebook SetFileDate SetFileLoadingContext SetNotebookStatusLine SetOptions SetOptionsPacket SetPrecision SetProperty SetSelectedNotebook SetSharedFunction SetSharedVariable SetSpeechParametersPacket SetStreamPosition SetSystemOptions Setter SetterBar SetterBox SetterBoxOptions Setting SetValue Shading Shallow ShannonWavelet ShapiroWilkTest Share Sharpen ShearingMatrix ShearingTransform ShenCastanMatrix Short ShortDownArrow Shortest ShortestMatch ShortestPathFunction ShortLeftArrow ShortRightArrow ShortUpArrow Show ShowAutoStyles ShowCellBracket ShowCellLabel ShowCellTags ShowClosedCellArea ShowContents ShowControls ShowCursorTracker ShowGroupOpenCloseIcon ShowGroupOpener ShowInvisibleCharacters ShowPageBreaks ShowPredictiveInterface ShowSelection ShowShortBoxForm ShowSpecialCharacters ShowStringCharacters ShowSyntaxStyles ShrinkingDelay ShrinkWrapBoundingBox SiegelTheta SiegelTukeyTest Sign Signature SignedRankTest SignificanceLevel SignPadding SignTest SimilarityRules SimpleGraph SimpleGraphQ Simplify Sin Sinc SinghMaddalaDistribution SingleEvaluation SingleLetterItalics SingleLetterStyle SingularValueDecomposition SingularValueList SingularValuePlot SingularValues Sinh SinhIntegral SinIntegral SixJSymbol Skeleton SkeletonTransform SkellamDistribution Skewness SkewNormalDistribution Skip SliceDistribution Slider Slider2D Slider2DBox Slider2DBoxOptions SliderBox SliderBoxOptions SlideView Slot SlotSequence Small SmallCircle Smaller SmithDelayCompensator SmithWatermanSimilarity SmoothDensityHistogram SmoothHistogram SmoothHistogram3D SmoothKernelDistribution SocialMediaData Socket SokalSneathDissimilarity Solve SolveAlways SolveDelayed Sort SortBy Sound SoundAndGraphics SoundNote SoundVolume Sow Space SpaceForm Spacer Spacings Span SpanAdjustments SpanCharacterRounding SpanFromAbove SpanFromBoth SpanFromLeft SpanLineThickness SpanMaxSize SpanMinSize SpanningCharacters SpanSymmetric SparseArray SpatialGraphDistribution Speak SpeakTextPacket SpearmanRankTest SpearmanRho Spectrogram SpectrogramArray Specularity SpellingCorrection SpellingDictionaries SpellingDictionariesPath SpellingOptions SpellingSuggestionsPacket Sphere SphereBox SphericalBesselJ SphericalBesselY SphericalHankelH1 SphericalHankelH2 SphericalHarmonicY SphericalPlot3D SphericalRegion SpheroidalEigenvalue SpheroidalJoiningFactor SpheroidalPS SpheroidalPSPrime SpheroidalQS SpheroidalQSPrime SpheroidalRadialFactor SpheroidalS1 SpheroidalS1Prime SpheroidalS2 SpheroidalS2Prime Splice SplicedDistribution SplineClosed SplineDegree SplineKnots SplineWeights Split SplitBy SpokenString Sqrt SqrtBox SqrtBoxOptions Square SquaredEuclideanDistance SquareFreeQ SquareIntersection SquaresR SquareSubset SquareSubsetEqual SquareSuperset SquareSupersetEqual SquareUnion SquareWave StabilityMargins StabilityMarginsStyle StableDistribution Stack StackBegin StackComplete StackInhibit StandardDeviation StandardDeviationFilter StandardForm Standardize StandbyDistribution Star StarGraph StartAsynchronousTask StartingStepSize StartOfLine StartOfString StartScheduledTask StartupSound StateDimensions StateFeedbackGains StateOutputEstimator StateResponse StateSpaceModel StateSpaceRealization StateSpaceTransform StationaryDistribution StationaryWaveletPacketTransform StationaryWaveletTransform StatusArea StatusCentrality StepMonitor StieltjesGamma StirlingS1 StirlingS2 StopAsynchronousTask StopScheduledTask StrataVariables StratonovichProcess StreamColorFunction StreamColorFunctionScaling StreamDensityPlot StreamPlot StreamPoints StreamPosition Streams StreamScale StreamStyle String StringBreak StringByteCount StringCases StringCount StringDrop StringExpression StringForm StringFormat StringFreeQ StringInsert StringJoin StringLength StringMatchQ StringPosition StringQ StringReplace StringReplaceList StringReplacePart StringReverse StringRotateLeft StringRotateRight StringSkeleton StringSplit StringTake StringToStream StringTrim StripBoxes StripOnInput StripWrapperBoxes StrokeForm StructuralImportance StructuredArray StructuredSelection StruveH StruveL Stub StudentTDistribution Style StyleBox StyleBoxAutoDelete StyleBoxOptions StyleData StyleDefinitions StyleForm StyleKeyMapping StyleMenuListing StyleNameDialogSettings StyleNames StylePrint StyleSheetPath Subfactorial Subgraph SubMinus SubPlus SubresultantPolynomialRemainders SubresultantPolynomials Subresultants Subscript SubscriptBox SubscriptBoxOptions Subscripted Subset SubsetEqual Subsets SubStar Subsuperscript SubsuperscriptBox SubsuperscriptBoxOptions Subtract SubtractFrom SubValues Succeeds SucceedsEqual SucceedsSlantEqual SucceedsTilde SuchThat Sum SumConvergence Sunday SuperDagger SuperMinus SuperPlus Superscript SuperscriptBox SuperscriptBoxOptions Superset SupersetEqual SuperStar Surd SurdForm SurfaceColor SurfaceGraphics SurvivalDistribution SurvivalFunction SurvivalModel SurvivalModelFit SuspendPacket SuzukiDistribution SuzukiGroupSuz SwatchLegend Switch Symbol SymbolName SymletWavelet Symmetric SymmetricGroup SymmetricMatrixQ SymmetricPolynomial SymmetricReduction Symmetrize SymmetrizedArray SymmetrizedArrayRules SymmetrizedDependentComponents SymmetrizedIndependentComponents SymmetrizedReplacePart SynchronousInitialization SynchronousUpdating Syntax SyntaxForm SyntaxInformation SyntaxLength SyntaxPacket SyntaxQ SystemDialogInput SystemException SystemHelpPath SystemInformation SystemInformationData SystemOpen SystemOptions SystemsModelDelay SystemsModelDelayApproximate SystemsModelDelete SystemsModelDimensions SystemsModelExtract SystemsModelFeedbackConnect SystemsModelLabels SystemsModelOrder SystemsModelParallelConnect SystemsModelSeriesConnect SystemsModelStateFeedbackConnect SystemStub Tab TabFilling Table TableAlignments TableDepth TableDirections TableForm TableHeadings TableSpacing TableView TableViewBox TabSpacings TabView TabViewBox TabViewBoxOptions TagBox TagBoxNote TagBoxOptions TaggingRules TagSet TagSetDelayed TagStyle TagUnset Take TakeWhile Tally Tan Tanh TargetFunctions TargetUnits TautologyQ TelegraphProcess TemplateBox TemplateBoxOptions TemplateSlotSequence TemporalData Temporary TemporaryVariable TensorContract TensorDimensions TensorExpand TensorProduct TensorQ TensorRank TensorReduce TensorSymmetry TensorTranspose TensorWedge Tetrahedron TetrahedronBox TetrahedronBoxOptions TeXForm TeXSave Text Text3DBox Text3DBoxOptions TextAlignment TextBand TextBoundingBox TextBox TextCell TextClipboardType TextData TextForm TextJustification TextLine TextPacket TextParagraph TextRecognize TextRendering TextStyle Texture TextureCoordinateFunction TextureCoordinateScaling Therefore ThermometerGauge Thick Thickness Thin Thinning ThisLink ThompsonGroupTh Thread ThreeJSymbol Threshold Through Throw Thumbnail Thursday Ticks TicksStyle Tilde TildeEqual TildeFullEqual TildeTilde TimeConstrained TimeConstraint Times TimesBy TimeSeriesForecast TimeSeriesInvertibility TimeUsed TimeValue TimeZone Timing Tiny TitleGrouping TitsGroupT ToBoxes ToCharacterCode ToColor ToContinuousTimeModel ToDate ToDiscreteTimeModel ToeplitzMatrix ToExpression ToFileName Together Toggle ToggleFalse Toggler TogglerBar TogglerBox TogglerBoxOptions ToHeldExpression ToInvertibleTimeSeries TokenWords Tolerance ToLowerCase ToNumberField TooBig Tooltip TooltipBox TooltipBoxOptions TooltipDelay TooltipStyle Top TopHatTransform TopologicalSort ToRadicals ToRules ToString Total TotalHeight TotalVariationFilter TotalWidth TouchscreenAutoZoom TouchscreenControlPlacement ToUpperCase Tr Trace TraceAbove TraceAction TraceBackward TraceDepth TraceDialog TraceForward TraceInternal TraceLevel TraceOff TraceOn TraceOriginal TracePrint TraceScan TrackedSymbols TradingChart TraditionalForm TraditionalFunctionNotation TraditionalNotation TraditionalOrder TransferFunctionCancel TransferFunctionExpand TransferFunctionFactor TransferFunctionModel TransferFunctionPoles TransferFunctionTransform TransferFunctionZeros TransformationFunction TransformationFunctions TransformationMatrix TransformedDistribution TransformedField Translate TranslationTransform TransparentColor Transpose TreeForm TreeGraph TreeGraphQ TreePlot TrendStyle TriangleWave TriangularDistribution Trig TrigExpand TrigFactor TrigFactorList Trigger TrigReduce TrigToExp TrimmedMean True TrueQ TruncatedDistribution TsallisQExponentialDistribution TsallisQGaussianDistribution TTest Tube TubeBezierCurveBox TubeBezierCurveBoxOptions TubeBox TubeBSplineCurveBox TubeBSplineCurveBoxOptions Tuesday TukeyLambdaDistribution TukeyWindow Tuples TuranGraph TuringMachine Transparent UnateQ Uncompress Undefined UnderBar Underflow Underlined Underoverscript UnderoverscriptBox UnderoverscriptBoxOptions Underscript UnderscriptBox UnderscriptBoxOptions UndirectedEdge UndirectedGraph UndirectedGraphQ UndocumentedTestFEParserPacket UndocumentedTestGetSelectionPacket Unequal Unevaluated UniformDistribution UniformGraphDistribution UniformSumDistribution Uninstall Union UnionPlus Unique UnitBox UnitConvert UnitDimensions Unitize UnitRootTest UnitSimplify UnitStep UnitTriangle UnitVector Unprotect UnsameQ UnsavedVariables Unset UnsetShared UntrackedVariables Up UpArrow UpArrowBar UpArrowDownArrow Update UpdateDynamicObjects UpdateDynamicObjectsSynchronous UpdateInterval UpDownArrow UpEquilibrium UpperCaseQ UpperLeftArrow UpperRightArrow UpperTriangularize Upsample UpSet UpSetDelayed UpTee UpTeeArrow UpValues URL URLFetch URLFetchAsynchronous URLSave URLSaveAsynchronous UseGraphicsRange Using UsingFrontEnd V2Get ValidationLength Value ValueBox ValueBoxOptions ValueForm ValueQ ValuesData Variables Variance VarianceEquivalenceTest VarianceEstimatorFunction VarianceGammaDistribution VarianceTest VectorAngle VectorColorFunction VectorColorFunctionScaling VectorDensityPlot VectorGlyphData VectorPlot VectorPlot3D VectorPoints VectorQ Vectors VectorScale VectorStyle Vee Verbatim Verbose VerboseConvertToPostScriptPacket VerifyConvergence VerifySolutions VerifyTestAssumptions Version VersionNumber VertexAdd VertexCapacity VertexColors VertexComponent VertexConnectivity VertexCoordinateRules VertexCoordinates VertexCorrelationSimilarity VertexCosineSimilarity VertexCount VertexCoverQ VertexDataCoordinates VertexDegree VertexDelete VertexDiceSimilarity VertexEccentricity VertexInComponent VertexInDegree VertexIndex VertexJaccardSimilarity VertexLabeling VertexLabels VertexLabelStyle VertexList VertexNormals VertexOutComponent VertexOutDegree VertexQ VertexRenderingFunction VertexReplace VertexShape VertexShapeFunction VertexSize VertexStyle VertexTextureCoordinates VertexWeight Vertical VerticalBar VerticalForm VerticalGauge VerticalSeparator VerticalSlider VerticalTilde ViewAngle ViewCenter ViewMatrix ViewPoint ViewPointSelectorSettings ViewPort ViewRange ViewVector ViewVertical VirtualGroupData Visible VisibleCell VoigtDistribution VonMisesDistribution WaitAll WaitAsynchronousTask WaitNext WaitUntil WakebyDistribution WalleniusHypergeometricDistribution WaringYuleDistribution WatershedComponents WatsonUSquareTest WattsStrogatzGraphDistribution WaveletBestBasis WaveletFilterCoefficients WaveletImagePlot WaveletListPlot WaveletMapIndexed WaveletMatrixPlot WaveletPhi WaveletPsi WaveletScale WaveletScalogram WaveletThreshold WeaklyConnectedComponents WeaklyConnectedGraphQ WeakStationarity WeatherData WeberE Wedge Wednesday WeibullDistribution WeierstrassHalfPeriods WeierstrassInvariants WeierstrassP WeierstrassPPrime WeierstrassSigma WeierstrassZeta WeightedAdjacencyGraph WeightedAdjacencyMatrix WeightedData WeightedGraphQ Weights WelchWindow WheelGraph WhenEvent Which While White Whitespace WhitespaceCharacter WhittakerM WhittakerW WienerFilter WienerProcess WignerD WignerSemicircleDistribution WilksW WilksWTest WindowClickSelect WindowElements WindowFloating WindowFrame WindowFrameElements WindowMargins WindowMovable WindowOpacity WindowSelected WindowSize WindowStatusArea WindowTitle WindowToolbars WindowWidth With WolframAlpha WolframAlphaDate WolframAlphaQuantity WolframAlphaResult Word WordBoundary WordCharacter WordData WordSearch WordSeparators WorkingPrecision Write WriteString Wronskian XMLElement XMLObject Xnor Xor Yellow YuleDissimilarity ZernikeR ZeroSymmetric ZeroTest ZeroWidthTimes Zeta ZetaZero ZipfDistribution ZTest ZTransform $Aborted $ActivationGroupID $ActivationKey $ActivationUserRegistered $AddOnsDirectory $AssertFunction $Assumptions $AsynchronousTask $BaseDirectory $BatchInput $BatchOutput $BoxForms $ByteOrdering $Canceled $CharacterEncoding $CharacterEncodings $CommandLine $CompilationTarget $ConditionHold $ConfiguredKernels $Context $ContextPath $ControlActiveSetting $CreationDate $CurrentLink $DateStringFormat $DefaultFont $DefaultFrontEnd $DefaultImagingDevice $DefaultPath $Display $DisplayFunction $DistributedContexts $DynamicEvaluation $Echo $Epilog $ExportFormats $Failed $FinancialDataSource $FormatType $FrontEnd $FrontEndSession $GeoLocation $HistoryLength $HomeDirectory $HTTPCookies $IgnoreEOF $ImagingDevices $ImportFormats $InitialDirectory $Input $InputFileName $InputStreamMethods $Inspector $InstallationDate $InstallationDirectory $InterfaceEnvironment $IterationLimit $KernelCount $KernelID $Language $LaunchDirectory $LibraryPath $LicenseExpirationDate $LicenseID $LicenseProcesses $LicenseServer $LicenseSubprocesses $LicenseType $Line $Linked $LinkSupported $LoadedFiles $MachineAddresses $MachineDomain $MachineDomains $MachineEpsilon $MachineID $MachineName $MachinePrecision $MachineType $MaxExtraPrecision $MaxLicenseProcesses $MaxLicenseSubprocesses $MaxMachineNumber $MaxNumber $MaxPiecewiseCases $MaxPrecision $MaxRootDegree $MessageGroups $MessageList $MessagePrePrint $Messages $MinMachineNumber $MinNumber $MinorReleaseNumber $MinPrecision $ModuleNumber $NetworkLicense $NewMessage $NewSymbol $Notebooks $NumberMarks $Off $OperatingSystem $Output $OutputForms $OutputSizeLimit $OutputStreamMethods $Packages $ParentLink $ParentProcessID $PasswordFile $PatchLevelID $Path $PathnameSeparator $PerformanceGoal $PipeSupported $Post $Pre $PreferencesDirectory $PrePrint $PreRead $PrintForms $PrintLiteral $ProcessID $ProcessorCount $ProcessorType $ProductInformation $ProgramName $RandomState $RecursionLimit $ReleaseNumber $RootDirectory $ScheduledTask $ScriptCommandLine $SessionID $SetParentLink $SharedFunctions $SharedVariables $SoundDisplay $SoundDisplayFunction $SuppressInputFormHeads $SynchronousEvaluation $SyntaxHandler $System $SystemCharacterEncoding $SystemID $SystemWordLength $TemporaryDirectory $TemporaryPrefix $TextStyle $TimedOut $TimeUnit $TimeZone $TopDirectory $TraceOff $TraceOn $TracePattern $TracePostAction $TracePreAction $Urgent $UserAddOnsDirectory $UserBaseDirectory $UserDocumentsDirectory $UserName $Version $VersionNumber",contains:[{className:"comment",begin:/\(\*/,end:/\*\)/},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,{begin:/\{/,end:/\}/,illegal:/:/}]}}},function(module,exports){module.exports=function(hljs){var COMMON_CONTAINS=[hljs.C_NUMBER_MODE,{className:"string",begin:"'",end:"'",contains:[hljs.BACKSLASH_ESCAPE,{begin:"''"}]}];var TRANSPOSE={relevance:0,contains:[{begin:/'['\.]*/}]};return{keywords:{keyword:"break case catch classdef continue else elseif end enumerated events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i inf nan isnan isinf isfinite j why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson"},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[hljs.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{begin:/[a-zA-Z_][a-zA-Z_0-9]*'['\.]*/,returnBegin:true,relevance:0,contains:[{begin:/[a-zA-Z_][a-zA-Z_0-9]*/,relevance:0},TRANSPOSE.contains[0]]},{begin:"\\[",end:"\\]",contains:COMMON_CONTAINS,relevance:0,starts:TRANSPOSE},{begin:"\\{",end:/}/,contains:COMMON_CONTAINS,relevance:0,starts:TRANSPOSE},{begin:/\)/,relevance:0,starts:TRANSPOSE},hljs.COMMENT("^\\s*\\%\\{\\s*$","^\\s*\\%\\}\\s*$"),hljs.COMMENT("\\%","$")].concat(COMMON_CONTAINS)}}},function(module,exports){module.exports=function(hljs){var KEYWORDS="if then else elseif for thru do while unless step in and or not";var LITERALS="true false unknown inf minf ind und %e %i %pi %phi %gamma";var BUILTIN_FUNCTIONS=" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest";var SYMBOLS="_ __ %|0 %%|0";return{lexemes:"[A-Za-z_%][0-9A-Za-z_%]*",keywords:{keyword:KEYWORDS,literal:LITERALS,built_in:BUILTIN_FUNCTIONS,symbol:SYMBOLS},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},hljs.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}},function(module,exports){module.exports=function(hljs){return{keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:"</",contains:[hljs.C_NUMBER_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[hljs.BACKSLASH_ESCAPE]},{begin:"[\\$\\%\\@](\\^\\w\\b|#\\w+|[^\\s\\w{]|{\\w+}|\\w+)"},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS={keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",meta:"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"};var COMMENT=hljs.COMMENT("%","$");var NUMCODE={className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"};var ATOM=hljs.inherit(hljs.APOS_STRING_MODE,{relevance:0});var STRING=hljs.inherit(hljs.QUOTE_STRING_MODE,{relevance:0});var STRING_FMT={className:"subst",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0};STRING.contains.push(STRING_FMT);var IMPLICATION={className:"built_in",variants:[{begin:"<=>"},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]};var HEAD_BODY_CONJUNCTION={className:"built_in",variants:[{begin:":-\\|--\x3e"},{begin:"=",relevance:0}]};return{aliases:["m","moo"],keywords:KEYWORDS,contains:[IMPLICATION,HEAD_BODY_CONJUNCTION,COMMENT,hljs.C_BLOCK_COMMENT_MODE,NUMCODE,hljs.NUMBER_MODE,ATOM,STRING,{begin:/:-/}]}}},function(module,exports){module.exports=function(hljs){return{case_insensitive:true,aliases:["mips"],lexemes:"\\.?"+hljs.IDENT_RE,keywords:{meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$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 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(.hb)?|jr(.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs.[sd]|add.[sd]|alnv.ps|bc1[ft]l?|c.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et]).[sd]|(ceil|floor|round|trunc).[lw].[sd]|cfc1|cvt.d.[lsw]|cvt.l.[dsw]|cvt.ps.s|cvt.s.[dlw]|cvt.s.p[lu]|cvt.w.[dls]|div.[ds]|ldx?c1|luxc1|lwx?c1|madd.[sd]|mfc1|mov[fntz]?.[ds]|msub.[sd]|mth?c1|mul.[ds]|neg.[ds]|nmadd.[ds]|nmsub.[ds]|p[lu][lu].ps|recip.fmt|r?sqrt.[ds]|sdx?c1|sub.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},hljs.COMMENT("[;#]","$"),hljs.C_BLOCK_COMMENT_MODE,hljs.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:"/"}}},function(module,exports){module.exports=function(hljs){return{keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[hljs.COMMENT("::","$")]}}},function(module,exports){module.exports=function(hljs){var PERL_KEYWORDS="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when";var SUBST={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:PERL_KEYWORDS};var METHOD={begin:"->{",end:"}"};var VAR={variants:[{begin:/\$\d/},{begin:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{begin:/[\$%@][^\s\w{]/,relevance:0}]};var STRING_CONTAINS=[hljs.BACKSLASH_ESCAPE,SUBST,VAR];var PERL_DEFAULT_CONTAINS=[VAR,hljs.HASH_COMMENT_MODE,hljs.COMMENT("^\\=\\w","\\=cut",{endsWithParent:true}),METHOD,{className:"string",contains:STRING_CONTAINS,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*\\<",end:"\\>",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[hljs.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[hljs.BACKSLASH_ESCAPE]},{begin:"{\\w+}",contains:[],relevance:0},{begin:"-?\\w+\\s*\\=\\>",contains:[],relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+hljs.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[hljs.HASH_COMMENT_MODE,{className:"regexp",begin:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",relevance:10},{className:"regexp",begin:"(m|qr)?/",end:"/[a-z]*",contains:[hljs.BACKSLASH_ESCAPE],relevance:0}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:true,relevance:5,contains:[hljs.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];SUBST.contains=PERL_DEFAULT_CONTAINS;METHOD.contains=PERL_DEFAULT_CONTAINS;return{aliases:["pl","pm"],lexemes:/[\w\.]+/,keywords:PERL_KEYWORDS,contains:PERL_DEFAULT_CONTAINS}}},function(module,exports){module.exports=function(hljs){return{subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:true,excludeEnd:true}]}}},function(module,exports){module.exports=function(hljs){var NUMBER={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},hljs.NUMBER_MODE]};return{case_insensitive:true,keywords:{keyword:"public private property continue exit extern new try catch eachin not abstract final select case default const local global field end if then else elseif endif while wend repeat until forever for to step next return module inline throw import",built_in:"DebugLog DebugStop Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI",literal:"true false null and or shl shr mod"},illegal:/\/\*/,contains:[hljs.COMMENT("#rem","#end"),hljs.COMMENT("'","$",{relevance:0}),{className:"function",beginKeywords:"function method",end:"[(=:]|$",illegal:/\n/,contains:[hljs.UNDERSCORE_TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:"$",contains:[{beginKeywords:"extends implements"},hljs.UNDERSCORE_TITLE_MODE]},{className:"built_in",begin:"\\b(self|super)\\b"},{className:"meta",begin:"\\s*#",end:"$",keywords:{"meta-keyword":"if else elseif endif end then"}},{className:"meta",begin:"^\\s*strict\\b"},{beginKeywords:"alias",end:"=",contains:[hljs.UNDERSCORE_TITLE_MODE]},hljs.QUOTE_STRING_MODE,NUMBER]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"};var JS_IDENT_RE="[A-Za-z$_][0-9A-Za-z$_]*";var SUBST={className:"subst",begin:/#\{/,end:/}/,keywords:KEYWORDS};var EXPRESSIONS=[hljs.inherit(hljs.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[hljs.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[hljs.BACKSLASH_ESCAPE,SUBST]}]},{className:"built_in",begin:"@__"+hljs.IDENT_RE},{begin:"@"+hljs.IDENT_RE},{begin:hljs.IDENT_RE+"\\\\"+hljs.IDENT_RE}];SUBST.contains=EXPRESSIONS;var TITLE=hljs.inherit(hljs.TITLE_MODE,{begin:JS_IDENT_RE});var PARAMS_RE="(\\(.*\\))?\\s*\\B[-=]>";var PARAMS={className:"params",begin:"\\([^\\(]",returnBegin:true,contains:[{begin:/\(/,end:/\)/,keywords:KEYWORDS,contains:["self"].concat(EXPRESSIONS)}]};return{aliases:["moon"],keywords:KEYWORDS,illegal:/\/\*/,contains:EXPRESSIONS.concat([hljs.COMMENT("--","$"),{className:"function",begin:"^\\s*"+JS_IDENT_RE+"\\s*=\\s*"+PARAMS_RE,end:"[-=]>",returnBegin:true,contains:[TITLE,PARAMS]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:PARAMS_RE,end:"[-=]>",returnBegin:true,contains:[PARAMS]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:true,illegal:/[:="\[\]]/,contains:[TITLE]},TITLE]},{className:"name",begin:JS_IDENT_RE+":",end:":",returnBegin:true,returnEnd:true,relevance:0}])}}},function(module,exports){module.exports=function(hljs){return{case_insensitive:true,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,endsWithParent:true,keywords:{keyword:"all alter analyze and any array as asc begin between binary boolean break bucket build by call case cast cluster collate collection commit connect continue correlate cover create database dataset datastore declare decrement delete derived desc describe distinct do drop each element else end every except exclude execute exists explain fetch first flatten for force from function grant group gsi having if ignore ilike in include increment index infer inline inner insert intersect into is join key keys keyspace known last left let letting like limit lsm map mapping matched materialized merge minus namespace nest not number object offset on option or order outer over parse partition password path pool prepare primary private privilege procedure public raw realm reduce rename return returning revoke right role rollback satisfies schema select self semi set show some start statistics string system then to transaction trigger truncate under union unique unknown unnest unset update upsert use user using validate value valued values via view when where while with within work xor",literal:"true false null missing|5",built_in:"array_agg array_append array_concat array_contains array_count array_distinct array_ifnull array_length array_max array_min array_position array_prepend array_put array_range array_remove array_repeat array_replace array_reverse array_sort array_sum avg count max min sum greatest least ifmissing ifmissingornull ifnull missingif nullif ifinf ifnan ifnanorinf naninf neginfif posinfif clock_millis clock_str date_add_millis date_add_str date_diff_millis date_diff_str date_part_millis date_part_str date_trunc_millis date_trunc_str duration_to_str millis str_to_millis millis_to_str millis_to_utc millis_to_zone_name now_millis now_str str_to_duration str_to_utc str_to_zone_name decode_json encode_json encoded_size poly_length base64 base64_encode base64_decode meta uuid abs acos asin atan atan2 ceil cos degrees e exp ln log floor pi power radians random round sign sin sqrt tan trunc object_length object_names object_pairs object_inner_pairs object_values object_inner_values object_add object_put object_remove object_unwrap regexp_contains regexp_like regexp_position regexp_replace contains initcap length lower ltrim position repeat replace rtrim split substr title trim upper isarray isatom isboolean isnumber isobject isstring type toarray toatom toboolean tonumber toobject tostring"},contains:[{className:"string",begin:"'",end:"'",contains:[hljs.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"',end:'"',contains:[hljs.BACKSLASH_ESCAPE],relevance:0},{className:"symbol",begin:"`",end:"`",contains:[hljs.BACKSLASH_ESCAPE],relevance:2},hljs.C_NUMBER_MODE,hljs.C_BLOCK_COMMENT_MODE]},hljs.C_BLOCK_COMMENT_MODE]}}},function(module,exports){module.exports=function(hljs){var VAR={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{/,end:/}/},{begin:"[\\$\\@]"+hljs.UNDERSCORE_IDENT_RE}]};var DEFAULT={endsWithParent:true,lexemes:"[a-z/_]+",keywords:{literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},relevance:0,illegal:"=>",contains:[hljs.HASH_COMMENT_MODE,{className:"string",contains:[hljs.BACKSLASH_ESCAPE,VAR],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:true,excludeEnd:true,contains:[VAR]},{className:"regexp",contains:[hljs.BACKSLASH_ESCAPE,VAR],variants:[{begin:"\\s\\^",end:"\\s|{|;",returnEnd:true},{begin:"~\\*?\\s+",end:"\\s|{|;",returnEnd:true},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]*\\b",relevance:0},VAR]};return{aliases:["nginxconf"],contains:[hljs.HASH_COMMENT_MODE,{begin:hljs.UNDERSCORE_IDENT_RE+"\\s+{",returnBegin:true,end:"{",contains:[{className:"section",begin:hljs.UNDERSCORE_IDENT_RE}],relevance:0},{begin:hljs.UNDERSCORE_IDENT_RE+"\\s",end:";|{",returnBegin:true,contains:[{className:"attribute",begin:hljs.UNDERSCORE_IDENT_RE,starts:DEFAULT}],relevance:0}],illegal:"[^\\s\\}]"}}},function(module,exports){module.exports=function(hljs){return{aliases:["nim"],keywords:{keyword:"addr and as asm bind block break case cast const continue converter discard distinct div do elif else end enum except export finally for from generic if import in include interface is isnot iterator let macro method mixin mod nil not notin object of or out proc ptr raise ref return shl shr static template try tuple type using var when while with without xor yield",literal:"shared guarded stdin stdout stderr result true false",built_in:"int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 bool char string cstring pointer expr stmt void auto any range array openarray varargs seq set clong culong cchar cschar cshort cint csize clonglong cfloat cdouble clongdouble cuchar cushort cuint culonglong cstringarray semistatic"},contains:[{className:"meta",begin:/{\./,end:/\.}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},hljs.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},hljs.HASH_COMMENT_MODE]}}},function(module,exports){module.exports=function(hljs){var NIX_KEYWORDS={keyword:"rec with let in inherit assert if else then",literal:"true false or and null",built_in:"import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation"};var ANTIQUOTE={className:"subst",begin:/\$\{/,end:/}/,keywords:NIX_KEYWORDS};var ATTRS={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:true,relevance:0,contains:[{className:"attr",begin:/\S+/}]};var STRING={className:"string",contains:[ANTIQUOTE],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]};var EXPRESSIONS=[hljs.NUMBER_MODE,hljs.HASH_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,STRING,ATTRS];ANTIQUOTE.contains=EXPRESSIONS;return{aliases:["nixos"],keywords:NIX_KEYWORDS,contains:EXPRESSIONS}}},function(module,exports){module.exports=function(hljs){var CONSTANTS={className:"variable",begin:/\$(ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES32|COMMONFILES64|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES32|PROGRAMFILES64|PROGRAMFILES|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)/};var DEFINES={className:"variable",begin:/\$+{[\w\.:-]+}/};var VARIABLES={className:"variable",begin:/\$+\w+/,illegal:/\(\){}/};var LANGUAGES={className:"variable",begin:/\$+\([\w\^\.:-]+\)/};var PARAMETERS={className:"params",begin:"(ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)"};var COMPILER={className:"keyword",begin:/\!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversionsystem|ifdef|ifmacrodef|ifmacrondef|ifndef|if|include|insertmacro|macroend|macro|makensis|packhdr|searchparse|searchreplace|tempfile|undef|verbose|warning)/};var METACHARS={className:"subst",begin:/\$(\\[nrt]|\$)/};var PLUGINS={className:"class",begin:/\w+\:\:\w+/};var STRING={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[METACHARS,CONSTANTS,DEFINES,VARIABLES,LANGUAGES]};return{case_insensitive:false,keywords:{keyword:"Abort AddBrandingImage AddSize AllowRootDirInstall AllowSkipFiles AutoCloseWindow BGFont BGGradient BrandingText BringToFront Call CallInstDLL Caption ChangeUI CheckBitmap ClearErrors CompletedText ComponentText CopyFiles CRCCheck CreateDirectory CreateFont CreateShortCut Delete DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue DetailPrint DetailsButtonText DirText DirVar DirVerify EnableWindow EnumRegKey EnumRegValue Exch Exec ExecShell ExecWait ExpandEnvStrings File FileBufSize FileClose FileErrorText FileOpen FileRead FileReadByte FileReadUTF16LE FileReadWord FileSeek FileWrite FileWriteByte FileWriteUTF16LE FileWriteWord FindClose FindFirst FindNext FindWindow FlushINI FunctionEnd GetCurInstType GetCurrentAddress GetDlgItem GetDLLVersion GetDLLVersionLocal GetErrorLevel GetFileTime GetFileTimeLocal GetFullPathName GetFunctionAddress GetInstDirError GetLabelAddress GetTempFileName Goto HideWindow Icon IfAbort IfErrors IfFileExists IfRebootFlag IfSilent InitPluginsDir InstallButtonText InstallColors InstallDir InstallDirRegKey InstProgressFlags InstType InstTypeGetText InstTypeSetText IntCmp IntCmpU IntFmt IntOp IsWindow LangString LicenseBkColor LicenseData LicenseForceSelection LicenseLangString LicenseText LoadLanguageFile LockWindow LogSet LogText ManifestDPIAware ManifestSupportedOS MessageBox MiscButtonText Name Nop OutFile Page PageCallbacks PageExEnd Pop Push Quit ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr Reboot RegDLL Rename RequestExecutionLevel ReserveFile Return RMDir SearchPath SectionEnd SectionGetFlags SectionGetInstTypes SectionGetSize SectionGetText SectionGroupEnd SectionIn SectionSetFlags SectionSetInstTypes SectionSetSize SectionSetText SendMessage SetAutoClose SetBrandingImage SetCompress SetCompressor SetCompressorDictSize SetCtlColors SetCurInstType SetDatablockOptimize SetDateSave SetDetailsPrint SetDetailsView SetErrorLevel SetErrors SetFileAttributes SetFont SetOutPath SetOverwrite SetRebootFlag SetRegView SetShellVarContext SetSilent ShowInstDetails ShowUninstDetails ShowWindow SilentInstall SilentUnInstall Sleep SpaceTexts StrCmp StrCmpS StrCpy StrLen SubCaption Unicode UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText UninstPage UnRegDLL Var VIAddVersionKey VIFileVersion VIProductVersion WindowIcon WriteINIStr WriteRegBin WriteRegDWORD WriteRegExpandStr WriteRegStr WriteUninstaller XPStyle",literal:"admin all auto both bottom bzip2 colored components current custom directory false force hide highest ifdiff ifnewer instfiles lastused leave left license listonly lzma nevershow none normal notset off on open print right show silent silentlog smooth textonly top true try un.components un.custom un.directory un.instfiles un.license uninstConfirm user Win10 Win7 Win8 WinVista zlib"},contains:[hljs.HASH_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.COMMENT(";","$",{relevance:0}),{className:"function",beginKeywords:"Function PageEx Section SectionGroup",end:"$"},STRING,COMPILER,DEFINES,VARIABLES,LANGUAGES,PARAMETERS,PLUGINS,hljs.NUMBER_MODE]}}},function(module,exports){module.exports=function(hljs){var API_CLASS={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"};var OBJC_KEYWORDS={keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"};var LEXEMES=/[a-zA-Z@][a-zA-Z0-9_]*/;var CLASS_KEYWORDS="@interface @class @protocol @implementation";return{aliases:["mm","objc","obj-c"],keywords:OBJC_KEYWORDS,lexemes:LEXEMES,illegal:"</",contains:[API_CLASS,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.C_NUMBER_MODE,hljs.QUOTE_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[hljs.BACKSLASH_ESCAPE]},{begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"}]},{className:"meta",begin:"#",end:"$",contains:[{className:"meta-string",variants:[{begin:'"',end:'"'},{begin:"<",end:">"}]}]},{className:"class",begin:"("+CLASS_KEYWORDS.split(" ").join("|")+")\\b",end:"({|$)",excludeEnd:true,keywords:CLASS_KEYWORDS,lexemes:LEXEMES,contains:[hljs.UNDERSCORE_TITLE_MODE]},{begin:"\\."+hljs.UNDERSCORE_IDENT_RE,relevance:0}]}}},function(module,exports){module.exports=function(hljs){return{aliases:["ml"],keywords:{keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,lexemes:"[a-z_]\\w*!?",contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},hljs.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},hljs.inherit(hljs.APOS_STRING_MODE,{className:"string",relevance:0}),hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}},function(module,exports){module.exports=function(hljs){var SPECIAL_VARS={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},LITERALS={className:"literal",begin:"false|true|PI|undef"},NUMBERS={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},STRING=hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null}),PREPRO={className:"meta",keywords:{"meta-keyword":"include use"},begin:"include|use <",end:">"},PARAMS={className:"params",begin:"\\(",end:"\\)",contains:["self",NUMBERS,STRING,SPECIAL_VARS,LITERALS]},MODIFIERS={begin:"[*!#%]",relevance:0},FUNCTIONS={className:"function",beginKeywords:"module function",end:"\\=|\\{",contains:[PARAMS,hljs.UNDERSCORE_TITLE_MODE]};return{aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,NUMBERS,PREPRO,STRING,SPECIAL_VARS,MODIFIERS,FUNCTIONS]}}},function(module,exports){module.exports=function(hljs){var OXYGENE_KEYWORDS="abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained";var CURLY_COMMENT=hljs.COMMENT("{","}",{relevance:0});var PAREN_COMMENT=hljs.COMMENT("\\(\\*","\\*\\)",{relevance:10});var STRING={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]};var CHAR_STRING={className:"string",begin:"(#\\d+)+"};var FUNCTION={className:"function",beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[hljs.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",keywords:OXYGENE_KEYWORDS,contains:[STRING,CHAR_STRING]},CURLY_COMMENT,PAREN_COMMENT]};return{case_insensitive:true,lexemes:/\.?\w+/,keywords:OXYGENE_KEYWORDS,illegal:'("|\\$[G-Zg-z]|\\/\\*|</|=>|->)',contains:[CURLY_COMMENT,PAREN_COMMENT,hljs.C_LINE_COMMENT_MODE,STRING,CHAR_STRING,hljs.NUMBER_MODE,FUNCTION,{className:"class",begin:"=\\bclass\\b",end:"end;",keywords:OXYGENE_KEYWORDS,contains:[STRING,CHAR_STRING,CURLY_COMMENT,PAREN_COMMENT,hljs.C_LINE_COMMENT_MODE,FUNCTION]}]}}},function(module,exports){module.exports=function(hljs){var CURLY_SUBCOMMENT=hljs.COMMENT("{","}",{contains:["self"]});return{subLanguage:"xml",relevance:0,contains:[hljs.COMMENT("^#","$"),hljs.COMMENT("\\^rem{","}",{relevance:10,contains:[CURLY_SUBCOMMENT]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:"\\$\\{?[\\w\\-\\.\\:]+\\}?"},{className:"keyword",begin:"\\^[\\w\\-\\.\\:]+"},{className:"number",begin:"\\^#[0-9a-fA-F]+"},hljs.C_NUMBER_MODE]}}},function(module,exports){module.exports=function(hljs){var MACRO={className:"variable",begin:/\$[\w\d#@][\w\d_]*/};var TABLE={className:"variable",begin:/<(?!\/)/,end:/>/};return{aliases:["pf.conf"],lexemes:/[a-z0-9_<>-]+/,keywords:{built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to routeallow-opts divert-packet divert-reply divert-to flags group icmp-typeicmp6-type label once probability recieved-on rtable prio queuetos tag tagged user keep fragment for os dropaf-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robinsource-hash static-portdup-to reply-to route-toparent bandwidth default min max qlimitblock-policy debug fingerprints hostid limit loginterface optimizationreassemble ruleset-optimization basic none profile skip state-defaultsstate-policy timeoutconst counters persistno modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppysource-track global rule max-src-nodes max-src-states max-src-connmax-src-conn-rate overload flushscrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[hljs.HASH_COMMENT_MODE,hljs.NUMBER_MODE,hljs.QUOTE_STRING_MODE,MACRO,TABLE]}}},function(module,exports){module.exports=function(hljs){var VARIABLE={begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"};var PREPROCESSOR={className:"meta",begin:/<\?(php)?|\?>/};var STRING={className:"string",contains:[hljs.BACKSLASH_ESCAPE,PREPROCESSOR],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},hljs.inherit(hljs.APOS_STRING_MODE,{illegal:null}),hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null})]};var NUMBER={variants:[hljs.BINARY_NUMBER_MODE,hljs.C_NUMBER_MODE]};return{aliases:["php3","php4","php5","php6"],case_insensitive:true,keywords:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",contains:[hljs.HASH_COMMENT_MODE,hljs.COMMENT("//","$",{contains:[PREPROCESSOR]}),hljs.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),hljs.COMMENT("__halt_compiler.+?;",false,{endsWithParent:true,keywords:"__halt_compiler",lexemes:hljs.UNDERSCORE_IDENT_RE}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;?$/,contains:[hljs.BACKSLASH_ESCAPE,{className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]}]},PREPROCESSOR,{className:"keyword",begin:/\$this\b/},VARIABLE,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function",end:/[;{]/,excludeEnd:true,illegal:"\\$|\\[|%",contains:[hljs.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:["self",VARIABLE,hljs.C_BLOCK_COMMENT_MODE,STRING,NUMBER]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:true,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},hljs.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[hljs.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[hljs.UNDERSCORE_TITLE_MODE]},{begin:"=>"},STRING,NUMBER]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS={keyword:"actor addressof and as be break class compile_error compile_intrinsicconsume continue delegate digestof do else elseif embed end errorfor fun if ifdef in interface is isnt lambda let match new not objector primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"};var TRIPLE_QUOTE_STRING_MODE={className:"string",begin:'"""',end:'"""',relevance:10};var QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',contains:[hljs.BACKSLASH_ESCAPE]};var SINGLE_QUOTE_CHAR_MODE={className:"string",begin:"'",end:"'",contains:[hljs.BACKSLASH_ESCAPE],relevance:0};var TYPE_NAME={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0};var PRIMED_NAME={begin:hljs.IDENT_RE+"'",relevance:0};var CLASS={className:"class",beginKeywords:"class actor",end:"$",contains:[hljs.TITLE_MODE,hljs.C_LINE_COMMENT_MODE]};var FUNCTION={className:"function",beginKeywords:"new fun",end:"=>",contains:[hljs.TITLE_MODE,{begin:/\(/,end:/\)/,contains:[TYPE_NAME,PRIMED_NAME,hljs.C_NUMBER_MODE,hljs.C_BLOCK_COMMENT_MODE]},{begin:/:/,endsWithParent:true,contains:[TYPE_NAME]},hljs.C_LINE_COMMENT_MODE]};return{keywords:KEYWORDS,contains:[CLASS,FUNCTION,TYPE_NAME,TRIPLE_QUOTE_STRING_MODE,QUOTE_STRING_MODE,SINGLE_QUOTE_CHAR_MODE,PRIMED_NAME,hljs.C_NUMBER_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]}}},function(module,exports){module.exports=function(hljs){var BACKTICK_ESCAPE={begin:"`[\\s\\S]",relevance:0};var VAR={className:"variable",variants:[{begin:/\$[\w\d][\w\d_:]*/}]};var LITERAL={className:"literal",begin:/\$(null|true|false)\b/};var QUOTE_STRING={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[BACKTICK_ESCAPE,VAR,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]};var APOS_STRING={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]};var PS_HELPTAGS={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]};var PS_COMMENT=hljs.inherit(hljs.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[PS_HELPTAGS]});return{aliases:["ps"],lexemes:/-?[A-z\.\-]+/,case_insensitive:true,keywords:{keyword:"if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch",built_in:"Add-Computer Add-Content Add-History Add-JobTrigger Add-Member Add-PSSnapin Add-Type Checkpoint-Computer Clear-Content Clear-EventLog Clear-History Clear-Host Clear-Item Clear-ItemProperty Clear-Variable Compare-Object Complete-Transaction Connect-PSSession Connect-WSMan Convert-Path ConvertFrom-Csv ConvertFrom-Json ConvertFrom-SecureString ConvertFrom-StringData ConvertTo-Csv ConvertTo-Html ConvertTo-Json ConvertTo-SecureString ConvertTo-Xml Copy-Item Copy-ItemProperty Debug-Process Disable-ComputerRestore Disable-JobTrigger Disable-PSBreakpoint Disable-PSRemoting Disable-PSSessionConfiguration Disable-WSManCredSSP Disconnect-PSSession Disconnect-WSMan Disable-ScheduledJob Enable-ComputerRestore Enable-JobTrigger Enable-PSBreakpoint Enable-PSRemoting Enable-PSSessionConfiguration Enable-ScheduledJob Enable-WSManCredSSP Enter-PSSession Exit-PSSession Export-Alias Export-Clixml Export-Console Export-Counter Export-Csv Export-FormatData Export-ModuleMember Export-PSSession ForEach-Object Format-Custom Format-List Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command Get-ComputerRestorePoint Get-Content Get-ControlPanelItem Get-Counter Get-Credential Get-Culture Get-Date Get-Event Get-EventLog Get-EventSubscriber Get-ExecutionPolicy Get-FormatData Get-Host Get-HotFix Get-Help Get-History Get-IseSnippet Get-Item Get-ItemProperty Get-Job Get-JobTrigger Get-Location Get-Member Get-Module Get-PfxCertificate Get-Process Get-PSBreakpoint Get-PSCallStack Get-PSDrive Get-PSProvider Get-PSSession Get-PSSessionConfiguration Get-PSSnapin Get-Random Get-ScheduledJob Get-ScheduledJobOption Get-Service Get-TraceSource Get-Transaction Get-TypeData Get-UICulture Get-Unique Get-Variable Get-Verb Get-WinEvent Get-WmiObject Get-WSManCredSSP Get-WSManInstance Group-Object Import-Alias Import-Clixml Import-Counter Import-Csv Import-IseSnippet Import-LocalizedData Import-PSSession Import-Module Invoke-AsWorkflow Invoke-Command Invoke-Expression Invoke-History Invoke-Item Invoke-RestMethod Invoke-WebRequest Invoke-WmiMethod Invoke-WSManAction Join-Path Limit-EventLog Measure-Command Measure-Object Move-Item Move-ItemProperty New-Alias New-Event New-EventLog New-IseSnippet New-Item New-ItemProperty New-JobTrigger New-Object New-Module New-ModuleManifest New-PSDrive New-PSSession New-PSSessionConfigurationFile New-PSSessionOption New-PSTransportOption New-PSWorkflowExecutionOption New-PSWorkflowSession New-ScheduledJobOption New-Service New-TimeSpan New-Variable New-WebServiceProxy New-WinEvent New-WSManInstance New-WSManSessionOption Out-Default Out-File Out-GridView Out-Host Out-Null Out-Printer Out-String Pop-Location Push-Location Read-Host Receive-Job Register-EngineEvent Register-ObjectEvent Register-PSSessionConfiguration Register-ScheduledJob Register-WmiEvent Remove-Computer Remove-Event Remove-EventLog Remove-Item Remove-ItemProperty Remove-Job Remove-JobTrigger Remove-Module Remove-PSBreakpoint Remove-PSDrive Remove-PSSession Remove-PSSnapin Remove-TypeData Remove-Variable Remove-WmiObject Remove-WSManInstance Rename-Computer Rename-Item Rename-ItemProperty Reset-ComputerMachinePassword Resolve-Path Restart-Computer Restart-Service Restore-Computer Resume-Job Resume-Service Save-Help Select-Object Select-String Select-Xml Send-MailMessage Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-JobTrigger Set-Location Set-PSBreakpoint Set-PSDebug Set-PSSessionConfiguration Set-ScheduledJob Set-ScheduledJobOption Set-Service Set-StrictMode Set-TraceSource Set-Variable Set-WmiInstance Set-WSManInstance Set-WSManQuickConfig Show-Command Show-ControlPanelItem Show-EventLog Sort-Object Split-Path Start-Job Start-Process Start-Service Start-Sleep Start-Transaction Start-Transcript Stop-Computer Stop-Job Stop-Process Stop-Service Stop-Transcript Suspend-Job Suspend-Service Tee-Object Test-ComputerSecureChannel Test-Connection Test-ModuleManifest Test-Path Test-PSSessionConfigurationFile Trace-Command Unblock-File Undo-Transaction Unregister-Event Unregister-PSSessionConfiguration Unregister-ScheduledJob Update-FormatData Update-Help Update-List Update-TypeData Use-Transaction Wait-Event Wait-Job Wait-Process Where-Object Write-Debug Write-Error Write-EventLog Write-Host Write-Output Write-Progress Write-Verbose Write-Warning Add-MDTPersistentDrive Disable-MDTMonitorService Enable-MDTMonitorService Get-MDTDeploymentShareStatistics Get-MDTMonitorData Get-MDTOperatingSystemCatalog Get-MDTPersistentDrive Import-MDTApplication Import-MDTDriver Import-MDTOperatingSystem Import-MDTPackage Import-MDTTaskSequence New-MDTDatabase Remove-MDTMonitorData Remove-MDTPersistentDrive Restore-MDTPersistentDrive Set-MDTMonitorData Test-MDTDeploymentShare Test-MDTMonitorData Update-MDTDatabaseSchema Update-MDTDeploymentShare Update-MDTLinkedDS Update-MDTMedia Update-MDTMedia Add-VamtProductKey Export-VamtData Find-VamtManagedMachine Get-VamtConfirmationId Get-VamtProduct Get-VamtProductKey Import-VamtData Initialize-VamtData Install-VamtConfirmationId Install-VamtProductActivation Install-VamtProductKey Update-VamtProduct",nomarkup:"-ne -eq -lt -gt -ge -le -not -like -notlike -match -notmatch -contains -notcontains -in -notin -replace"},contains:[BACKTICK_ESCAPE,hljs.NUMBER_MODE,QUOTE_STRING,APOS_STRING,LITERAL,VAR,PS_COMMENT]}}},function(module,exports){module.exports=function(hljs){return{keywords:{keyword:"BufferedReader PVector PFont PImage PGraphics HashMap boolean byte char color double float int long String Array FloatDict FloatList IntDict IntList JSONArray JSONObject Object StringDict StringList Table TableRow XML false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private",literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI",title:"setup draw",built_in:"displayHeight displayWidth mouseY mouseX mousePressed pmouseX pmouseY key keyCode pixels focused frameCount frameRate height width size createGraphics beginDraw createShape loadShape PShape arc ellipse line point quad rect triangle bezier bezierDetail bezierPoint bezierTangent curve curveDetail curvePoint curveTangent curveTightness shape shapeMode beginContour beginShape bezierVertex curveVertex endContour endShape quadraticVertex vertex ellipseMode noSmooth rectMode smooth strokeCap strokeJoin strokeWeight mouseClicked mouseDragged mouseMoved mousePressed mouseReleased mouseWheel keyPressed keyPressedkeyReleased keyTyped print println save saveFrame day hour millis minute month second year background clear colorMode fill noFill noStroke stroke alpha blue brightness color green hue lerpColor red saturation modelX modelY modelZ screenX screenY screenZ ambient emissive shininess specular add createImage beginCamera camera endCamera frustum ortho perspective printCamera printProjection cursor frameRate noCursor exit loop noLoop popStyle pushStyle redraw binary boolean byte char float hex int str unbinary unhex join match matchAll nf nfc nfp nfs split splitTokens trim append arrayCopy concat expand reverse shorten sort splice subset box sphere sphereDetail createInput createReader loadBytes loadJSONArray loadJSONObject loadStrings loadTable loadXML open parseXML saveTable selectFolder selectInput beginRaw beginRecord createOutput createWriter endRaw endRecord PrintWritersaveBytes saveJSONArray saveJSONObject saveStream saveStrings saveXML selectOutput popMatrix printMatrix pushMatrix resetMatrix rotate rotateX rotateY rotateZ scale shearX shearY translate ambientLight directionalLight lightFalloff lights lightSpecular noLights normal pointLight spotLight image imageMode loadImage noTint requestImage tint texture textureMode textureWrap blend copy filter get loadPixels set updatePixels blendMode loadShader PShaderresetShader shader createFont loadFont text textFont textAlign textLeading textMode textSize textWidth textAscent textDescent abs ceil constrain dist exp floor lerp log mag map max min norm pow round sq sqrt acos asin atan atan2 cos degrees radians sin tan noise noiseDetail noiseSeed random randomGaussian randomSeed"},contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE]}}},function(module,exports){module.exports=function(hljs){return{contains:[hljs.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:true},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[hljs.C_NUMBER_MODE],relevance:10},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:true,excludeEnd:true,relevance:0}]}}},function(module,exports){module.exports=function(hljs){var ATOM={begin:/[a-z][A-Za-z0-9_]*/,relevance:0};var VAR={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0};var PARENTED={begin:/\(/,end:/\)/,relevance:0};var LIST={begin:/\[/,end:/\]/};var LINE_COMMENT={className:"comment",begin:/%/,end:/$/,contains:[hljs.PHRASAL_WORDS_MODE]};var BACKTICK_STRING={className:"string",begin:/`/,end:/`/,contains:[hljs.BACKSLASH_ESCAPE]};var CHAR_CODE={className:"string",begin:/0\'(\\\'|.)/};var SPACE_CODE={className:"string",begin:/0\'\\s/};var PRED_OP={begin:/:-/};var inner=[ATOM,VAR,PARENTED,PRED_OP,LIST,LINE_COMMENT,hljs.C_BLOCK_COMMENT_MODE,hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,BACKTICK_STRING,CHAR_CODE,SPACE_CODE,hljs.C_NUMBER_MODE];PARENTED.contains=inner;LIST.contains=inner;return{contains:inner.concat([{begin:/\.$/}])}}},function(module,exports){module.exports=function(hljs){return{keywords:{keyword:"package import option optional required repeated group",built_in:"double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes",literal:"true false"},contains:[hljs.QUOTE_STRING_MODE,hljs.NUMBER_MODE,hljs.C_LINE_COMMENT_MODE,{className:"class",beginKeywords:"message enum service",end:/\{/,illegal:/\n/,contains:[hljs.inherit(hljs.TITLE_MODE,{starts:{endsWithParent:true,excludeEnd:true}})]},{className:"function",beginKeywords:"rpc",end:/;/,excludeEnd:true,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+/,end:/\s*=/,excludeEnd:true}]}}},function(module,exports){module.exports=function(hljs){var PUPPET_KEYWORDS={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"};var COMMENT=hljs.COMMENT("#","$");var IDENT_RE="([A-Za-z_]|::)(\\w|::)*";var TITLE=hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE});var VARIABLE={className:"variable",begin:"\\$"+IDENT_RE};var STRING={className:"string",contains:[hljs.BACKSLASH_ESCAPE,VARIABLE],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{aliases:["pp"],contains:[COMMENT,VARIABLE,STRING,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[TITLE,COMMENT]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:hljs.IDENT_RE,endsParent:true}]},{begin:hljs.IDENT_RE+"\\s+\\{",returnBegin:true,end:/\S/,contains:[{className:"keyword",begin:hljs.IDENT_RE},{begin:/\{/,end:/\}/,keywords:PUPPET_KEYWORDS,relevance:0,contains:[STRING,COMMENT,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:true,end:"=>",contains:[{className:"attr",begin:hljs.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},VARIABLE]}],relevance:0}]}}},function(module,exports){module.exports=function(hljs){var STRINGS={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"};var CONSTANTS={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{aliases:["pb","pbi"],keywords:"And As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect Continue Data DataSection EndDataSection Debug DebugLevel Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndEnumeration EndIf EndImport EndInterface EndMacro EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration Extends FakeReturn For Next ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface Macro NewList Not Or ProcedureReturn Protected Prototype PrototypeC Read ReDim Repeat Until Restore Return Select Shared Static Step Structure StructureUnion Swap To Wend While With XIncludeFile XOr Procedure ProcedureC ProcedureCDLL ProcedureDLL Declare DeclareC DeclareCDLL DeclareDLL",contains:[hljs.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:true,returnBegin:true,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:true},{className:"type",begin:"\\.\\w*"},hljs.UNDERSCORE_TITLE_MODE]},STRINGS,CONSTANTS]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS={keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10 None True False",built_in:"Ellipsis NotImplemented"};var PROMPT={className:"meta",begin:/^(>>>|\.\.\.) /};var SUBST={className:"subst",begin:/\{/,end:/\}/,keywords:KEYWORDS,illegal:/#/};var STRING={className:"string",contains:[hljs.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,contains:[PROMPT],relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,contains:[PROMPT],relevance:10},{begin:/(fr|rf|f)'''/,end:/'''/,contains:[PROMPT,SUBST]},{begin:/(fr|rf|f)"""/,end:/"""/,contains:[PROMPT,SUBST]},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},{begin:/(fr|rf|f)'/,end:/'/,contains:[SUBST]},{begin:/(fr|rf|f)"/,end:/"/,contains:[SUBST]},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE]};var NUMBER={className:"number",relevance:0,variants:[{begin:hljs.BINARY_NUMBER_RE+"[lLjJ]?"},{begin:"\\b(0o[0-7]+)[lLjJ]?"},{begin:hljs.C_NUMBER_RE+"[lLjJ]?"}]};var PARAMS={className:"params",begin:/\(/,end:/\)/,contains:["self",PROMPT,NUMBER,STRING]};SUBST.contains=[STRING,NUMBER,PROMPT];return{aliases:["py","gyp"],keywords:KEYWORDS,illegal:/(<\/|->|\?)|=>/,contains:[PROMPT,NUMBER,STRING,hljs.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[hljs.UNDERSCORE_TITLE_MODE,PARAMS,{begin:/->/,endsWithParent:true,keywords:"None"}]},{className:"meta",begin:/^[\t ]*@/,end:/$/},{begin:/\b(print|exec)\(/}]}}},function(module,exports){module.exports=function(hljs){var Q_KEYWORDS={keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"};return{aliases:["k","kdb"],keywords:Q_KEYWORDS,lexemes:/(`?)[A-Za-z0-9_]+\b/,contains:[hljs.C_LINE_COMMENT_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4dPromise"};var QML_IDENT_RE="[a-zA-Z_][a-zA-Z0-9\\._]*";var PROPERTY={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:true}};var SIGNAL={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:true}};var ID_ID={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:QML_IDENT_RE,returnEnd:false}};var QML_ATTRIBUTE={begin:QML_IDENT_RE+"\\s*:",returnBegin:true,contains:[{className:"attribute",begin:QML_IDENT_RE,end:"\\s*:",excludeEnd:true,relevance:0}],relevance:0};var QML_OBJECT={begin:QML_IDENT_RE+"\\s*{",end:"{",returnBegin:true,relevance:0,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:QML_IDENT_RE})]};return{aliases:["qt"],case_insensitive:false,keywords:KEYWORDS,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[hljs.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:hljs.C_NUMBER_RE}],relevance:0},{begin:"("+hljs.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.REGEXP_MODE,{begin:/</,end:/>\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},SIGNAL,PROPERTY,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:true,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:true,excludeEnd:true,contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+hljs.IDENT_RE,relevance:0},ID_ID,QML_ATTRIBUTE,QML_OBJECT],illegal:/#/}}},function(module,exports){module.exports=function(hljs){var IDENT_RE="([a-zA-Z]|\\.[a-zA-Z.])[a-zA-Z0-9._]*";return{contains:[hljs.HASH_COMMENT_MODE,{begin:IDENT_RE,lexemes:IDENT_RE,keywords:{keyword:"function if in break next repeat else for return switch while try tryCatch stop warning require library attach detach source setMethod setGeneric setGroupGeneric setClass ...",literal:"NULL NA TRUE FALSE T F Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10"},relevance:0},{className:"number",begin:"0[xX][0-9a-fA-F]+[Li]?\\b",relevance:0},{className:"number",begin:"\\d+(?:[eE][+\\-]?\\d*)?L\\b",relevance:0},{className:"number",begin:"\\d+\\.(?!\\d)(?:i\\b)?",relevance:0},{className:"number",begin:"\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{className:"number",begin:"\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{begin:"`",end:"`",relevance:0},{className:"string",contains:[hljs.BACKSLASH_ESCAPE],variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]}]}}},function(module,exports){module.exports=function(hljs){return{keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"</",contains:[hljs.HASH_COMMENT_MODE,hljs.C_NUMBER_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE]}}},function(module,exports){module.exports=function(hljs){var IDENTIFIER="[a-zA-Z-_][^\\n{]+\\{";var PROPERTY={className:"attribute",begin:/[a-zA-Z-_]+/,end:/\s*:/,excludeEnd:true,starts:{end:";",relevance:0,contains:[{className:"variable",begin:/\.[a-zA-Z-_]+/},{className:"keyword",begin:/\(optional\)/}]}};return{aliases:["graph","instances"],case_insensitive:true,keywords:"import",contains:[{begin:"^facet "+IDENTIFIER,end:"}",keywords:"facet",contains:[PROPERTY,hljs.HASH_COMMENT_MODE]},{begin:"^\\s*instance of "+IDENTIFIER,end:"}",keywords:"name count channels instance-data instance-state instance of",illegal:/\S/,contains:["self",PROPERTY,hljs.HASH_COMMENT_MODE]},{begin:"^"+IDENTIFIER,end:"}",contains:[PROPERTY,hljs.HASH_COMMENT_MODE]},hljs.HASH_COMMENT_MODE]}}},function(module,exports){module.exports=function(hljs){var STATEMENTS="foreach do while for if from to step else on-error and or not in";var GLOBAL_COMMANDS="global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime";var COMMON_COMMANDS="add remove enable disable set get print export edit find run debug error info warning";var LITERALS="true false yes no nothing nil null";var OBJECTS="traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firewall firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw";var VAR={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)}/}]};var QUOTE_STRING={className:"string",begin:/"/,end:/"/,contains:[hljs.BACKSLASH_ESCAPE,VAR,{className:"variable",begin:/\$\(/,end:/\)/,contains:[hljs.BACKSLASH_ESCAPE]}]};var APOS_STRING={className:"string",begin:/'/,end:/'/};return{aliases:["routeros","mikrotik"],case_insensitive:true,lexemes:/:?[\w-]+/,keywords:{literal:LITERALS,keyword:STATEMENTS+" :"+STATEMENTS.split(" ").join(" :")+" :"+GLOBAL_COMMANDS.split(" ").join(" :")},contains:[{variants:[{begin:/^@/,end:/$/},{begin:/\/\*/,end:/\*\//},{begin:/%%/,end:/$/},{begin:/^'/,end:/$/},{begin:/^\s*\/[\w-]+=/,end:/$/},{begin:/\/\//,end:/$/},{begin:/^\[\</,end:/\>\]$/},{begin:/<\//,end:/>/},{begin:/^facet /,end:/\}/},{begin:"^1\\.\\.(\\d+)$",end:/$/}],illegal:/./},hljs.COMMENT("^#","$"),QUOTE_STRING,APOS_STRING,VAR,{begin:/[\w-]+\=([^\s\{\}\[\]\(\)]+)/,relevance:0,returnBegin:true,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:true,relevance:0,contains:[QUOTE_STRING,APOS_STRING,VAR,{className:"literal",begin:"\\b("+LITERALS.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s\{\}\[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+COMMON_COMMANDS.split(" ").join("|")+")([\\s[(]|])",returnBegin:true,contains:[{className:"builtin-name",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+OBJECTS.split(" ").join("|")+");?\\s)+",relevance:10},{begin:/\.\./}]}]}}},function(module,exports){module.exports=function(hljs){return{keywords:{keyword:"float color point normal vector matrix while for if do return else break extern continue",built_in:"abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp faceforward filterstep floor format fresnel incident length lightsource log match max min mod noise normalize ntransform opposite option phong pnoise pow printf ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan texture textureinfo trace transform vtransform xcomp ycomp zcomp"},illegal:"</",contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,hljs.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},{className:"class",beginKeywords:"surface displacement light volume imager",end:"\\("},{beginKeywords:"illuminate illuminance gather",end:"\\("}]}}},function(module,exports){module.exports=function(hljs){return{keywords:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,{className:"literal",variants:[{begin:"#\\s+[a-zA-Z\\ \\.]*",relevance:0},{begin:"#[a-zA-Z\\ \\.]+"}]}]}}},function(module,exports){module.exports=function(hljs){var NUM_SUFFIX="([ui](8|16|32|64|128|size)|f(32|64))?";var KEYWORDS="alignof as be box break const continue crate do else enum extern false fn for if impl in let loop match mod mut offsetof once priv proc pub pure ref return self Self sizeof static struct super trait true type typeof unsafe unsized use virtual while where yield move default";var BUILTINS="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!";return{aliases:["rs"],keywords:{keyword:KEYWORDS,literal:"true false Some None Ok Err",built_in:BUILTINS},lexemes:hljs.IDENT_RE+"!?",illegal:"</",contains:[hljs.C_LINE_COMMENT_MODE,hljs.COMMENT("/\\*","\\*/",{contains:["self"]}),hljs.inherit(hljs.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+NUM_SUFFIX},{begin:"\\b0o([0-7_]+)"+NUM_SUFFIX},{begin:"\\b0x([A-Fa-f0-9_]+)"+NUM_SUFFIX},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+NUM_SUFFIX}],relevance:0},{className:"function",beginKeywords:"fn",end:"(\\(|<)",excludeEnd:true,contains:[hljs.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"#\\!?\\[",end:"\\]",contains:[{className:"meta-string",begin:/"/,end:/"/}]},{className:"class",beginKeywords:"type",end:";",contains:[hljs.inherit(hljs.UNDERSCORE_TITLE_MODE,{endsParent:true})],illegal:"\\S"},{className:"class",beginKeywords:"trait enum struct union",end:"{",contains:[hljs.inherit(hljs.UNDERSCORE_TITLE_MODE,{endsParent:true})],illegal:"[\\w\\d]"},{begin:hljs.IDENT_RE+"::",keywords:{built_in:BUILTINS}},{begin:"->"}]}}},function(module,exports){module.exports=function(hljs){var ANNOTATION={className:"meta",begin:"@[A-Za-z]+"};var SUBST={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:"\\${",end:"}"}]};var STRING={className:"string",variants:[{begin:'"',end:'"',illegal:"\\n",contains:[hljs.BACKSLASH_ESCAPE]},{begin:'"""',end:'"""',relevance:10},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[hljs.BACKSLASH_ESCAPE,SUBST]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[SUBST],relevance:10}]};var SYMBOL={className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"};var TYPE={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0};var NAME={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0};var CLASS={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:true,contains:[{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:true,excludeEnd:true,relevance:0,contains:[TYPE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:true,excludeEnd:true,relevance:0,contains:[TYPE]},NAME]};var METHOD={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:true,contains:[NAME]};return{keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,STRING,SYMBOL,TYPE,METHOD,CLASS,hljs.C_NUMBER_MODE,ANNOTATION]}}},function(module,exports){module.exports=function(hljs){var SCHEME_IDENT_RE="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+";var SCHEME_SIMPLE_NUMBER_RE="(\\-|\\+)?\\d+([./]\\d+)?";var SCHEME_COMPLEX_NUMBER_RE=SCHEME_SIMPLE_NUMBER_RE+"[+\\-]"+SCHEME_SIMPLE_NUMBER_RE+"i";var BUILTINS={"builtin-name":"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"};var SHEBANG={className:"meta",begin:"^#!",end:"$"};var LITERAL={className:"literal",begin:"(#t|#f|#\\\\"+SCHEME_IDENT_RE+"|#\\\\.)"};var NUMBER={className:"number",variants:[{begin:SCHEME_SIMPLE_NUMBER_RE,relevance:0},{begin:SCHEME_COMPLEX_NUMBER_RE,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]};var STRING=hljs.QUOTE_STRING_MODE;var COMMENT_MODES=[hljs.COMMENT(";","$",{relevance:0}),hljs.COMMENT("#\\|","\\|#")];var IDENT={begin:SCHEME_IDENT_RE,relevance:0};var QUOTED_IDENT={className:"symbol",begin:"'"+SCHEME_IDENT_RE};var BODY={endsWithParent:true,relevance:0};var QUOTED_LIST={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",LITERAL,STRING,NUMBER,IDENT,QUOTED_IDENT]}]};var NAME={className:"name",begin:SCHEME_IDENT_RE,lexemes:SCHEME_IDENT_RE,keywords:BUILTINS};var LAMBDA={begin:/lambda/,endsWithParent:true,returnBegin:true,contains:[NAME,{begin:/\(/,end:/\)/,endsParent:true,contains:[IDENT]}]};var LIST={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[LAMBDA,NAME,BODY]};BODY.contains=[LITERAL,NUMBER,STRING,IDENT,QUOTED_IDENT,QUOTED_LIST,LIST].concat(COMMENT_MODES);return{illegal:/\S/,contains:[SHEBANG,NUMBER,STRING,QUOTED_IDENT,QUOTED_LIST,LIST].concat(COMMENT_MODES)}}},function(module,exports){module.exports=function(hljs){var COMMON_CONTAINS=[hljs.C_NUMBER_MODE,{className:"string",begin:"'|\"",end:"'|\"",contains:[hljs.BACKSLASH_ESCAPE,{begin:"''"}]}];return{aliases:["sci"],lexemes:/%?\w+/,keywords:{keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[hljs.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*('+[\\.']*|[\\.']+)",end:"",relevance:0},{begin:"\\[",end:"\\]'*[\\.']*",relevance:0,contains:COMMON_CONTAINS},hljs.COMMENT("//","$")].concat(COMMON_CONTAINS)}}},function(module,exports){module.exports=function(hljs){var IDENT_RE="[a-zA-Z-][a-zA-Z0-9_-]*";var VARIABLE={className:"variable",begin:"(\\$"+IDENT_RE+")\\b"};var HEXCOLOR={className:"number",begin:"#[0-9A-Fa-f]+"};hljs.CSS_NUMBER_MODE,hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,hljs.C_BLOCK_COMMENT_MODE;return{case_insensitive:true,illegal:"[=/|']",contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"\\#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},{className:"selector-attr",begin:"\\[",end:"\\]",illegal:"$"},{className:"selector-tag",begin:"\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",relevance:0},{begin:":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)"},{begin:"::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)"},VARIABLE,{className:"attribute",begin:"\\b(z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b",illegal:"[^\\s]"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[VARIABLE,HEXCOLOR,hljs.CSS_NUMBER_MODE,hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,{className:"meta",begin:"!important"}]},{begin:"@",end:"[{;]",keywords:"mixin include extend for if else each while charset import debug media page content font-face namespace warn",contains:[VARIABLE,hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,HEXCOLOR,hljs.CSS_NUMBER_MODE,{begin:"\\s[A-Za-z0-9_.-]+",relevance:0}]}]}}},function(module,exports){module.exports=function(hljs){return{aliases:["console"],contains:[{className:"meta",begin:"^\\s{0,3}[\\w\\d\\[\\]()@-]*[>%$#]",starts:{end:"$",subLanguage:"bash"}}]}}},function(module,exports){module.exports=function(hljs){var smali_instr_low_prio=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"];var smali_instr_high_prio=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"];var smali_keywords=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{aliases:["smali"],contains:[{className:"string",begin:'"',end:'"',relevance:0},hljs.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+smali_keywords.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+smali_instr_low_prio.join("|")+")\\s"},{begin:"\\s("+smali_instr_low_prio.join("|")+")((\\-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+smali_instr_high_prio.join("|")+")((\\-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:"L[^(;:\n]*;",relevance:0},{begin:"[vp][0-9]+"}]}}},function(module,exports){module.exports=function(hljs){var VAR_IDENT_RE="[a-z][a-zA-Z0-9_]*";var CHAR={className:"string",begin:"\\$.{1}"};var SYMBOL={className:"symbol",begin:"#"+hljs.UNDERSCORE_IDENT_RE};return{aliases:["st"],keywords:"self super nil true false thisContext",contains:[hljs.COMMENT('"','"'),hljs.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:VAR_IDENT_RE+":",relevance:0},hljs.C_NUMBER_MODE,SYMBOL,CHAR,{begin:"\\|[ ]*"+VAR_IDENT_RE+"([ ]+"+VAR_IDENT_RE+")*[ ]*\\|",returnBegin:true,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+VAR_IDENT_RE}]},{begin:"\\#\\(",end:"\\)",contains:[hljs.APOS_STRING_MODE,CHAR,hljs.C_NUMBER_MODE,SYMBOL]}]}}},function(module,exports){module.exports=function(hljs){return{aliases:["ml"],keywords:{keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,lexemes:"[a-z_]\\w*!?",contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},hljs.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},hljs.inherit(hljs.APOS_STRING_MODE,{className:"string",relevance:0}),hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}},function(module,exports){module.exports=function(hljs){var CPP=hljs.getLanguage("cpp").exports;var VARIABLE={className:"variable",begin:/\b_+[a-zA-Z_]\w*/};var FUNCTION={className:"title",begin:/[a-zA-Z][a-zA-Z0-9]+_fnc_\w*/};var STRINGS={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]};return{aliases:["sqf"],case_insensitive:true,keywords:{keyword:"case catch default do else exit exitWith for forEach from if switch then throw to try waitUntil while with",built_in:"abs accTime acos action actionIDs actionKeys actionKeysImages actionKeysNames actionKeysNamesArray actionName actionParams activateAddons activatedAddons activateKey add3DENConnection add3DENEventHandler add3DENLayer addAction addBackpack addBackpackCargo addBackpackCargoGlobal addBackpackGlobal addCamShake addCuratorAddons addCuratorCameraArea addCuratorEditableObjects addCuratorEditingArea addCuratorPoints addEditorObject addEventHandler addGoggles addGroupIcon addHandgunItem addHeadgear addItem addItemCargo addItemCargoGlobal addItemPool addItemToBackpack addItemToUniform addItemToVest addLiveStats addMagazine addMagazineAmmoCargo addMagazineCargo addMagazineCargoGlobal addMagazineGlobal addMagazinePool addMagazines addMagazineTurret addMenu addMenuItem addMissionEventHandler addMPEventHandler addMusicEventHandler addOwnedMine addPlayerScores addPrimaryWeaponItem addPublicVariableEventHandler addRating addResources addScore addScoreSide addSecondaryWeaponItem addSwitchableUnit addTeamMember addToRemainsCollector addUniform addVehicle addVest addWaypoint addWeapon addWeaponCargo addWeaponCargoGlobal addWeaponGlobal addWeaponItem addWeaponPool addWeaponTurret agent agents AGLToASL aimedAtTarget aimPos airDensityRTD airportSide AISFinishHeal alive all3DENEntities allControls allCurators allCutLayers allDead allDeadMen allDisplays allGroups allMapMarkers allMines allMissionObjects allow3DMode allowCrewInImmobile allowCuratorLogicIgnoreAreas allowDamage allowDammage allowFileOperations allowFleeing allowGetIn allowSprint allPlayers allSites allTurrets allUnits allUnitsUAV allVariables ammo and animate animateDoor animateSource animationNames animationPhase animationSourcePhase animationState append apply armoryPoints arrayIntersect asin ASLToAGL ASLToATL assert assignAsCargo assignAsCargoIndex assignAsCommander assignAsDriver assignAsGunner assignAsTurret assignCurator assignedCargo assignedCommander assignedDriver assignedGunner assignedItems assignedTarget assignedTeam assignedVehicle assignedVehicleRole assignItem assignTeam assignToAirport atan atan2 atg ATLToASL attachedObject attachedObjects attachedTo attachObject attachTo attackEnabled backpack backpackCargo backpackContainer backpackItems backpackMagazines backpackSpaceFor behaviour benchmark binocular blufor boundingBox boundingBoxReal boundingCenter breakOut breakTo briefingName buildingExit buildingPos buttonAction buttonSetAction cadetMode call callExtension camCommand camCommit camCommitPrepared camCommitted camConstuctionSetParams camCreate camDestroy cameraEffect cameraEffectEnableHUD cameraInterest cameraOn cameraView campaignConfigFile camPreload camPreloaded camPrepareBank camPrepareDir camPrepareDive camPrepareFocus camPrepareFov camPrepareFovRange camPreparePos camPrepareRelPos camPrepareTarget camSetBank camSetDir camSetDive camSetFocus camSetFov camSetFovRange camSetPos camSetRelPos camSetTarget camTarget camUseNVG canAdd canAddItemToBackpack canAddItemToUniform canAddItemToVest cancelSimpleTaskDestination canFire canMove canSlingLoad canStand canSuspend canUnloadInCombat canVehicleCargo captive captiveNum cbChecked cbSetChecked ceil channelEnabled cheatsEnabled checkAIFeature checkVisibility civilian className clearAllItemsFromBackpack clearBackpackCargo clearBackpackCargoGlobal clearGroupIcons clearItemCargo clearItemCargoGlobal clearItemPool clearMagazineCargo clearMagazineCargoGlobal clearMagazinePool clearOverlay clearRadio clearWeaponCargo clearWeaponCargoGlobal clearWeaponPool clientOwner closeDialog closeDisplay closeOverlay collapseObjectTree collect3DENHistory combatMode commandArtilleryFire commandChat commander commandFire commandFollow commandFSM commandGetOut commandingMenu commandMove commandRadio commandStop commandSuppressiveFire commandTarget commandWatch comment commitOverlay compile compileFinal completedFSM composeText configClasses configFile configHierarchy configName configNull configProperties configSourceAddonList configSourceMod configSourceModList connectTerminalToUAV controlNull controlsGroupCtrl copyFromClipboard copyToClipboard copyWaypoints cos count countEnemy countFriendly countSide countType countUnknown create3DENComposition create3DENEntity createAgent createCenter createDialog createDiaryLink createDiaryRecord createDiarySubject createDisplay createGearDialog createGroup createGuardedPoint createLocation createMarker createMarkerLocal createMenu createMine createMissionDisplay createMPCampaignDisplay createSimpleObject createSimpleTask createSite createSoundSource createTask createTeam createTrigger createUnit createVehicle createVehicleCrew createVehicleLocal crew ctrlActivate ctrlAddEventHandler ctrlAngle ctrlAutoScrollDelay ctrlAutoScrollRewind ctrlAutoScrollSpeed ctrlChecked ctrlClassName ctrlCommit ctrlCommitted ctrlCreate ctrlDelete ctrlEnable ctrlEnabled ctrlFade ctrlHTMLLoaded ctrlIDC ctrlIDD ctrlMapAnimAdd ctrlMapAnimClear ctrlMapAnimCommit ctrlMapAnimDone ctrlMapCursor ctrlMapMouseOver ctrlMapScale ctrlMapScreenToWorld ctrlMapWorldToScreen ctrlModel ctrlModelDirAndUp ctrlModelScale ctrlParent ctrlParentControlsGroup ctrlPosition ctrlRemoveAllEventHandlers ctrlRemoveEventHandler ctrlScale ctrlSetActiveColor ctrlSetAngle ctrlSetAutoScrollDelay ctrlSetAutoScrollRewind ctrlSetAutoScrollSpeed ctrlSetBackgroundColor ctrlSetChecked ctrlSetEventHandler ctrlSetFade ctrlSetFocus ctrlSetFont ctrlSetFontH1 ctrlSetFontH1B ctrlSetFontH2 ctrlSetFontH2B ctrlSetFontH3 ctrlSetFontH3B ctrlSetFontH4 ctrlSetFontH4B ctrlSetFontH5 ctrlSetFontH5B ctrlSetFontH6 ctrlSetFontH6B ctrlSetFontHeight ctrlSetFontHeightH1 ctrlSetFontHeightH2 ctrlSetFontHeightH3 ctrlSetFontHeightH4 ctrlSetFontHeightH5 ctrlSetFontHeightH6 ctrlSetFontHeightSecondary ctrlSetFontP ctrlSetFontPB ctrlSetFontSecondary ctrlSetForegroundColor ctrlSetModel ctrlSetModelDirAndUp ctrlSetModelScale ctrlSetPosition ctrlSetScale ctrlSetStructuredText ctrlSetText ctrlSetTextColor ctrlSetTooltip ctrlSetTooltipColorBox ctrlSetTooltipColorShade ctrlSetTooltipColorText ctrlShow ctrlShown ctrlText ctrlTextHeight ctrlType ctrlVisible curatorAddons curatorCamera curatorCameraArea curatorCameraAreaCeiling curatorCoef curatorEditableObjects curatorEditingArea curatorEditingAreaType curatorMouseOver curatorPoints curatorRegisteredObjects curatorSelected curatorWaypointCost current3DENOperation currentChannel currentCommand currentMagazine currentMagazineDetail currentMagazineDetailTurret currentMagazineTurret currentMuzzle currentNamespace currentTask currentTasks currentThrowable currentVisionMode currentWaypoint currentWeapon currentWeaponMode currentWeaponTurret currentZeroing cursorObject cursorTarget customChat customRadio cutFadeOut cutObj cutRsc cutText damage date dateToNumber daytime deActivateKey debriefingText debugFSM debugLog deg delete3DENEntities deleteAt deleteCenter deleteCollection deleteEditorObject deleteGroup deleteIdentity deleteLocation deleteMarker deleteMarkerLocal deleteRange deleteResources deleteSite deleteStatus deleteTeam deleteVehicle deleteVehicleCrew deleteWaypoint detach detectedMines diag_activeMissionFSMs diag_activeScripts diag_activeSQFScripts diag_activeSQSScripts diag_captureFrame diag_captureSlowFrame diag_codePerformance diag_drawMode diag_enable diag_enabled diag_fps diag_fpsMin diag_frameNo diag_list diag_log diag_logSlowFrame diag_mergeConfigFile diag_recordTurretLimits diag_tickTime diag_toggle dialog diarySubjectExists didJIP didJIPOwner difficulty difficultyEnabled difficultyEnabledRTD difficultyOption direction directSay disableAI disableCollisionWith disableConversation disableDebriefingStats disableNVGEquipment disableRemoteSensors disableSerialization disableTIEquipment disableUAVConnectability disableUserInput displayAddEventHandler displayCtrl displayNull displayParent displayRemoveAllEventHandlers displayRemoveEventHandler displaySetEventHandler dissolveTeam distance distance2D distanceSqr distributionRegion do3DENAction doArtilleryFire doFire doFollow doFSM doGetOut doMove doorPhase doStop doSuppressiveFire doTarget doWatch drawArrow drawEllipse drawIcon drawIcon3D drawLine drawLine3D drawLink drawLocation drawPolygon drawRectangle driver drop east echo edit3DENMissionAttributes editObject editorSetEventHandler effectiveCommander emptyPositions enableAI enableAIFeature enableAimPrecision enableAttack enableAudioFeature enableCamShake enableCaustics enableChannel enableCollisionWith enableCopilot enableDebriefingStats enableDiagLegend enableEndDialog enableEngineArtillery enableEnvironment enableFatigue enableGunLights enableIRLasers enableMimics enablePersonTurret enableRadio enableReload enableRopeAttach enableSatNormalOnDetail enableSaving enableSentences enableSimulation enableSimulationGlobal enableStamina enableTeamSwitch enableUAVConnectability enableUAVWaypoints enableVehicleCargo endLoadingScreen endMission engineOn enginesIsOnRTD enginesRpmRTD enginesTorqueRTD entities estimatedEndServerTime estimatedTimeLeft evalObjectArgument everyBackpack everyContainer exec execEditorScript execFSM execVM exp expectedDestination exportJIPMessages eyeDirection eyePos face faction fadeMusic fadeRadio fadeSound fadeSpeech failMission fillWeaponsFromPool find findCover findDisplay findEditorObject findEmptyPosition findEmptyPositionReady findNearestEnemy finishMissionInit finite fire fireAtTarget firstBackpack flag flagOwner flagSide flagTexture fleeing floor flyInHeight flyInHeightASL fog fogForecast fogParams forceAddUniform forcedMap forceEnd forceMap forceRespawn forceSpeed forceWalk forceWeaponFire forceWeatherChange forEachMember forEachMemberAgent forEachMemberTeam format formation formationDirection formationLeader formationMembers formationPosition formationTask formatText formLeader freeLook fromEditor fuel fullCrew gearIDCAmmoCount gearSlotAmmoCount gearSlotData get3DENActionState get3DENAttribute get3DENCamera get3DENConnections get3DENEntity get3DENEntityID get3DENGrid get3DENIconsVisible get3DENLayerEntities get3DENLinesVisible get3DENMissionAttribute get3DENMouseOver get3DENSelected getAimingCoef getAllHitPointsDamage getAllOwnedMines getAmmoCargo getAnimAimPrecision getAnimSpeedCoef getArray getArtilleryAmmo getArtilleryComputerSettings getArtilleryETA getAssignedCuratorLogic getAssignedCuratorUnit getBackpackCargo getBleedingRemaining getBurningValue getCameraViewDirection getCargoIndex getCenterOfMass getClientState getClientStateNumber getConnectedUAV getCustomAimingCoef getDammage getDescription getDir getDirVisual getDLCs getEditorCamera getEditorMode getEditorObjectScope getElevationOffset getFatigue getFriend getFSMVariable getFuelCargo getGroupIcon getGroupIconParams getGroupIcons getHideFrom getHit getHitIndex getHitPointDamage getItemCargo getMagazineCargo getMarkerColor getMarkerPos getMarkerSize getMarkerType getMass getMissionConfig getMissionConfigValue getMissionDLCs getMissionLayerEntities getModelInfo getMousePosition getNumber getObjectArgument getObjectChildren getObjectDLC getObjectMaterials getObjectProxy getObjectTextures getObjectType getObjectViewDistance getOxygenRemaining getPersonUsedDLCs getPilotCameraDirection getPilotCameraPosition getPilotCameraRotation getPilotCameraTarget getPlayerChannel getPlayerScores getPlayerUID getPos getPosASL getPosASLVisual getPosASLW getPosATL getPosATLVisual getPosVisual getPosWorld getRelDir getRelPos getRemoteSensorsDisabled getRepairCargo getResolution getShadowDistance getShotParents getSlingLoad getSpeed getStamina getStatValue getSuppression getTerrainHeightASL getText getUnitLoadout getUnitTrait getVariable getVehicleCargo getWeaponCargo getWeaponSway getWPPos glanceAt globalChat globalRadio goggles goto group groupChat groupFromNetId groupIconSelectable groupIconsVisible groupId groupOwner groupRadio groupSelectedUnits groupSelectUnit grpNull gunner gusts halt handgunItems handgunMagazine handgunWeapon handsHit hasInterface hasPilotCamera hasWeapon hcAllGroups hcGroupParams hcLeader hcRemoveAllGroups hcRemoveGroup hcSelected hcSelectGroup hcSetGroup hcShowBar hcShownBar headgear hideBody hideObject hideObjectGlobal hideSelection hint hintC hintCadet hintSilent hmd hostMission htmlLoad HUDMovementLevels humidity image importAllGroups importance in inArea inAreaArray incapacitatedState independent inflame inflamed inGameUISetEventHandler inheritsFrom initAmbientLife inPolygon inputAction inRangeOfArtillery insertEditorObject intersect is3DEN is3DENMultiplayer isAbleToBreathe isAgent isArray isAutoHoverOn isAutonomous isAutotest isBleeding isBurning isClass isCollisionLightOn isCopilotEnabled isDedicated isDLCAvailable isEngineOn isEqualTo isEqualType isEqualTypeAll isEqualTypeAny isEqualTypeArray isEqualTypeParams isFilePatchingEnabled isFlashlightOn isFlatEmpty isForcedWalk isFormationLeader isHidden isInRemainsCollector isInstructorFigureEnabled isIRLaserOn isKeyActive isKindOf isLightOn isLocalized isManualFire isMarkedForCollection isMultiplayer isMultiplayerSolo isNil isNull isNumber isObjectHidden isObjectRTD isOnRoad isPipEnabled isPlayer isRealTime isRemoteExecuted isRemoteExecutedJIP isServer isShowing3DIcons isSprintAllowed isStaminaEnabled isSteamMission isStreamFriendlyUIEnabled isText isTouchingGround isTurnedOut isTutHintsEnabled isUAVConnectable isUAVConnected isUniformAllowed isVehicleCargo isWalking isWeaponDeployed isWeaponRested itemCargo items itemsWithMagazines join joinAs joinAsSilent joinSilent joinString kbAddDatabase kbAddDatabaseTargets kbAddTopic kbHasTopic kbReact kbRemoveTopic kbTell kbWasSaid keyImage keyName knowsAbout land landAt landResult language laserTarget lbAdd lbClear lbColor lbCurSel lbData lbDelete lbIsSelected lbPicture lbSelection lbSetColor lbSetCurSel lbSetData lbSetPicture lbSetPictureColor lbSetPictureColorDisabled lbSetPictureColorSelected lbSetSelectColor lbSetSelectColorRight lbSetSelected lbSetTooltip lbSetValue lbSize lbSort lbSortByValue lbText lbValue leader leaderboardDeInit leaderboardGetRows leaderboardInit leaveVehicle libraryCredits libraryDisclaimers lifeState lightAttachObject lightDetachObject lightIsOn lightnings limitSpeed linearConversion lineBreak lineIntersects lineIntersectsObjs lineIntersectsSurfaces lineIntersectsWith linkItem list listObjects ln lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbText lnbValue load loadAbs loadBackpack loadFile loadGame loadIdentity loadMagazine loadOverlay loadStatus loadUniform loadVest local localize locationNull locationPosition lock lockCameraTo lockCargo lockDriver locked lockedCargo lockedDriver lockedTurret lockIdentity lockTurret lockWP log logEntities logNetwork logNetworkTerminate lookAt lookAtPos magazineCargo magazines magazinesAllTurrets magazinesAmmo magazinesAmmoCargo magazinesAmmoFull magazinesDetail magazinesDetailBackpack magazinesDetailUniform magazinesDetailVest magazinesTurret magazineTurretAmmo mapAnimAdd mapAnimClear mapAnimCommit mapAnimDone mapCenterOnCamera mapGridPosition markAsFinishedOnSteam markerAlpha markerBrush markerColor markerDir markerPos markerShape markerSize markerText markerType max members menuAction menuAdd menuChecked menuClear menuCollapse menuData menuDelete menuEnable menuEnabled menuExpand menuHover menuPicture menuSetAction menuSetCheck menuSetData menuSetPicture menuSetValue menuShortcut menuShortcutText menuSize menuSort menuText menuURL menuValue min mineActive mineDetectedBy missionConfigFile missionDifficulty missionName missionNamespace missionStart missionVersion mod modelToWorld modelToWorldVisual modParams moonIntensity moonPhase morale move move3DENCamera moveInAny moveInCargo moveInCommander moveInDriver moveInGunner moveInTurret moveObjectToEnd moveOut moveTime moveTo moveToCompleted moveToFailed musicVolume name nameSound nearEntities nearestBuilding nearestLocation nearestLocations nearestLocationWithDubbing nearestObject nearestObjects nearestTerrainObjects nearObjects nearObjectsReady nearRoads nearSupplies nearTargets needReload netId netObjNull newOverlay nextMenuItemIndex nextWeatherChange nMenuItems not numberToDate objectCurators objectFromNetId objectParent objNull objStatus onBriefingGroup onBriefingNotes onBriefingPlan onBriefingTeamSwitch onCommandModeChanged onDoubleClick onEachFrame onGroupIconClick onGroupIconOverEnter onGroupIconOverLeave onHCGroupSelectionChanged onMapSingleClick onPlayerConnected onPlayerDisconnected onPreloadFinished onPreloadStarted onShowNewObject onTeamSwitch openCuratorInterface openDLCPage openMap openYoutubeVideo opfor or orderGetIn overcast overcastForecast owner param params parseNumber parseText parsingNamespace particlesQuality pi pickWeaponPool pitch pixelGrid pixelGridBase pixelGridNoUIScale pixelH pixelW playableSlotsNumber playableUnits playAction playActionNow player playerRespawnTime playerSide playersNumber playGesture playMission playMove playMoveNow playMusic playScriptedMission playSound playSound3D position positionCameraToWorld posScreenToWorld posWorldToScreen ppEffectAdjust ppEffectCommit ppEffectCommitted ppEffectCreate ppEffectDestroy ppEffectEnable ppEffectEnabled ppEffectForceInNVG precision preloadCamera preloadObject preloadSound preloadTitleObj preloadTitleRsc preprocessFile preprocessFileLineNumbers primaryWeapon primaryWeaponItems primaryWeaponMagazine priority private processDiaryLink productVersion profileName profileNamespace profileNameSteam progressLoadingScreen progressPosition progressSetPosition publicVariable publicVariableClient publicVariableServer pushBack pushBackUnique putWeaponPool queryItemsPool queryMagazinePool queryWeaponPool rad radioChannelAdd radioChannelCreate radioChannelRemove radioChannelSetCallSign radioChannelSetLabel radioVolume rain rainbow random rank rankId rating rectangular registeredTasks registerTask reload reloadEnabled remoteControl remoteExec remoteExecCall remove3DENConnection remove3DENEventHandler remove3DENLayer removeAction removeAll3DENEventHandlers removeAllActions removeAllAssignedItems removeAllContainers removeAllCuratorAddons removeAllCuratorCameraAreas removeAllCuratorEditingAreas removeAllEventHandlers removeAllHandgunItems removeAllItems removeAllItemsWithMagazines removeAllMissionEventHandlers removeAllMPEventHandlers removeAllMusicEventHandlers removeAllOwnedMines removeAllPrimaryWeaponItems removeAllWeapons removeBackpack removeBackpackGlobal removeCuratorAddons removeCuratorCameraArea removeCuratorEditableObjects removeCuratorEditingArea removeDrawIcon removeDrawLinks removeEventHandler removeFromRemainsCollector removeGoggles removeGroupIcon removeHandgunItem removeHeadgear removeItem removeItemFromBackpack removeItemFromUniform removeItemFromVest removeItems removeMagazine removeMagazineGlobal removeMagazines removeMagazinesTurret removeMagazineTurret removeMenuItem removeMissionEventHandler removeMPEventHandler removeMusicEventHandler removeOwnedMine removePrimaryWeaponItem removeSecondaryWeaponItem removeSimpleTask removeSwitchableUnit removeTeamMember removeUniform removeVest removeWeapon removeWeaponGlobal removeWeaponTurret requiredVersion resetCamShake resetSubgroupDirection resistance resize resources respawnVehicle restartEditorCamera reveal revealMine reverse reversedMouseY roadAt roadsConnectedTo roleDescription ropeAttachedObjects ropeAttachedTo ropeAttachEnabled ropeAttachTo ropeCreate ropeCut ropeDestroy ropeDetach ropeEndPosition ropeLength ropes ropeUnwind ropeUnwound rotorsForcesRTD rotorsRpmRTD round runInitScript safeZoneH safeZoneW safeZoneWAbs safeZoneX safeZoneXAbs safeZoneY save3DENInventory saveGame saveIdentity saveJoysticks saveOverlay saveProfileNamespace saveStatus saveVar savingEnabled say say2D say3D scopeName score scoreSide screenshot screenToWorld scriptDone scriptName scriptNull scudState secondaryWeapon secondaryWeaponItems secondaryWeaponMagazine select selectBestPlaces selectDiarySubject selectedEditorObjects selectEditorObject selectionNames selectionPosition selectLeader selectMax selectMin selectNoPlayer selectPlayer selectRandom selectWeapon selectWeaponTurret sendAUMessage sendSimpleCommand sendTask sendTaskResult sendUDPMessage serverCommand serverCommandAvailable serverCommandExecutable serverName serverTime set set3DENAttribute set3DENAttributes set3DENGrid set3DENIconsVisible set3DENLayer set3DENLinesVisible set3DENMissionAttributes set3DENModelsVisible set3DENObjectType set3DENSelected setAccTime setAirportSide setAmmo setAmmoCargo setAnimSpeedCoef setAperture setApertureNew setArmoryPoints setAttributes setAutonomous setBehaviour setBleedingRemaining setCameraInterest setCamShakeDefParams setCamShakeParams setCamUseTi setCaptive setCenterOfMass setCollisionLight setCombatMode setCompassOscillation setCuratorCameraAreaCeiling setCuratorCoef setCuratorEditingAreaType setCuratorWaypointCost setCurrentChannel setCurrentTask setCurrentWaypoint setCustomAimCoef setDamage setDammage setDate setDebriefingText setDefaultCamera setDestination setDetailMapBlendPars setDir setDirection setDrawIcon setDropInterval setEditorMode setEditorObjectScope setEffectCondition setFace setFaceAnimation setFatigue setFlagOwner setFlagSide setFlagTexture setFog setFormation setFormationTask setFormDir setFriend setFromEditor setFSMVariable setFuel setFuelCargo setGroupIcon setGroupIconParams setGroupIconsSelectable setGroupIconsVisible setGroupId setGroupIdGlobal setGroupOwner setGusts setHideBehind setHit setHitIndex setHitPointDamage setHorizonParallaxCoef setHUDMovementLevels setIdentity setImportance setLeader setLightAmbient setLightAttenuation setLightBrightness setLightColor setLightDayLight setLightFlareMaxDistance setLightFlareSize setLightIntensity setLightnings setLightUseFlare setLocalWindParams setMagazineTurretAmmo setMarkerAlpha setMarkerAlphaLocal setMarkerBrush setMarkerBrushLocal setMarkerColor setMarkerColorLocal setMarkerDir setMarkerDirLocal setMarkerPos setMarkerPosLocal setMarkerShape setMarkerShapeLocal setMarkerSize setMarkerSizeLocal setMarkerText setMarkerTextLocal setMarkerType setMarkerTypeLocal setMass setMimic setMousePosition setMusicEffect setMusicEventHandler setName setNameSound setObjectArguments setObjectMaterial setObjectMaterialGlobal setObjectProxy setObjectTexture setObjectTextureGlobal setObjectViewDistance setOvercast setOwner setOxygenRemaining setParticleCircle setParticleClass setParticleFire setParticleParams setParticleRandom setPilotCameraDirection setPilotCameraRotation setPilotCameraTarget setPilotLight setPiPEffect setPitch setPlayable setPlayerRespawnTime setPos setPosASL setPosASL2 setPosASLW setPosATL setPosition setPosWorld setRadioMsg setRain setRainbow setRandomLip setRank setRectangular setRepairCargo setShadowDistance setShotParents setSide setSimpleTaskAlwaysVisible setSimpleTaskCustomData setSimpleTaskDescription setSimpleTaskDestination setSimpleTaskTarget setSimpleTaskType setSimulWeatherLayers setSize setSkill setSlingLoad setSoundEffect setSpeaker setSpeech setSpeedMode setStamina setStaminaScheme setStatValue setSuppression setSystemOfUnits setTargetAge setTaskResult setTaskState setTerrainGrid setText setTimeMultiplier setTitleEffect setTriggerActivation setTriggerArea setTriggerStatements setTriggerText setTriggerTimeout setTriggerType setType setUnconscious setUnitAbility setUnitLoadout setUnitPos setUnitPosWeak setUnitRank setUnitRecoilCoefficient setUnitTrait setUnloadInCombat setUserActionText setVariable setVectorDir setVectorDirAndUp setVectorUp setVehicleAmmo setVehicleAmmoDef setVehicleArmor setVehicleCargo setVehicleId setVehicleLock setVehiclePosition setVehicleTiPars setVehicleVarName setVelocity setVelocityTransformation setViewDistance setVisibleIfTreeCollapsed setWaves setWaypointBehaviour setWaypointCombatMode setWaypointCompletionRadius setWaypointDescription setWaypointForceBehaviour setWaypointFormation setWaypointHousePosition setWaypointLoiterRadius setWaypointLoiterType setWaypointName setWaypointPosition setWaypointScript setWaypointSpeed setWaypointStatements setWaypointTimeout setWaypointType setWaypointVisible setWeaponReloadingTime setWind setWindDir setWindForce setWindStr setWPPos show3DIcons showChat showCinemaBorder showCommandingMenu showCompass showCuratorCompass showGPS showHUD showLegend showMap shownArtilleryComputer shownChat shownCompass shownCuratorCompass showNewEditorObject shownGPS shownHUD shownMap shownPad shownRadio shownScoretable shownUAVFeed shownWarrant shownWatch showPad showRadio showScoretable showSubtitles showUAVFeed showWarrant showWatch showWaypoint showWaypoints side sideAmbientLife sideChat sideEmpty sideEnemy sideFriendly sideLogic sideRadio sideUnknown simpleTasks simulationEnabled simulCloudDensity simulCloudOcclusion simulInClouds simulWeatherSync sin size sizeOf skill skillFinal skipTime sleep sliderPosition sliderRange sliderSetPosition sliderSetRange sliderSetSpeed sliderSpeed slingLoadAssistantShown soldierMagazines someAmmo sort soundVolume spawn speaker speed speedMode splitString sqrt squadParams stance startLoadingScreen step stop stopEngineRTD stopped str sunOrMoon supportInfo suppressFor surfaceIsWater surfaceNormal surfaceType swimInDepth switchableUnits switchAction switchCamera switchGesture switchLight switchMove synchronizedObjects synchronizedTriggers synchronizedWaypoints synchronizeObjectsAdd synchronizeObjectsRemove synchronizeTrigger synchronizeWaypoint systemChat systemOfUnits tan targetKnowledge targetsAggregate targetsQuery taskAlwaysVisible taskChildren taskCompleted taskCustomData taskDescription taskDestination taskHint taskMarkerOffset taskNull taskParent taskResult taskState taskType teamMember teamMemberNull teamName teams teamSwitch teamSwitchEnabled teamType terminate terrainIntersect terrainIntersectASL text textLog textLogFormat tg time timeMultiplier titleCut titleFadeOut titleObj titleRsc titleText toArray toFixed toLower toString toUpper triggerActivated triggerActivation triggerArea triggerAttachedVehicle triggerAttachObject triggerAttachVehicle triggerStatements triggerText triggerTimeout triggerTimeoutCurrent triggerType turretLocal turretOwner turretUnit tvAdd tvClear tvCollapse tvCount tvCurSel tvData tvDelete tvExpand tvPicture tvSetCurSel tvSetData tvSetPicture tvSetPictureColor tvSetPictureColorDisabled tvSetPictureColorSelected tvSetPictureRight tvSetPictureRightColor tvSetPictureRightColorDisabled tvSetPictureRightColorSelected tvSetText tvSetTooltip tvSetValue tvSort tvSortByValue tvText tvTooltip tvValue type typeName typeOf UAVControl uiNamespace uiSleep unassignCurator unassignItem unassignTeam unassignVehicle underwater uniform uniformContainer uniformItems uniformMagazines unitAddons unitAimPosition unitAimPositionVisual unitBackpack unitIsUAV unitPos unitReady unitRecoilCoefficient units unitsBelowHeight unlinkItem unlockAchievement unregisterTask updateDrawIcon updateMenuItem updateObjectTree useAISteeringComponent useAudioTimeForMoves vectorAdd vectorCos vectorCrossProduct vectorDiff vectorDir vectorDirVisual vectorDistance vectorDistanceSqr vectorDotProduct vectorFromTo vectorMagnitude vectorMagnitudeSqr vectorMultiply vectorNormalized vectorUp vectorUpVisual vehicle vehicleCargoEnabled vehicleChat vehicleRadio vehicles vehicleVarName velocity velocityModelSpace verifySignature vest vestContainer vestItems vestMagazines viewDistance visibleCompass visibleGPS visibleMap visiblePosition visiblePositionASL visibleScoretable visibleWatch waves waypointAttachedObject waypointAttachedVehicle waypointAttachObject waypointAttachVehicle waypointBehaviour waypointCombatMode waypointCompletionRadius waypointDescription waypointForceBehaviour waypointFormation waypointHousePosition waypointLoiterRadius waypointLoiterType waypointName waypointPosition waypoints waypointScript waypointsEnabledUAV waypointShow waypointSpeed waypointStatements waypointTimeout waypointTimeoutCurrent waypointType waypointVisible weaponAccessories weaponAccessoriesCargo weaponCargo weaponDirection weaponInertia weaponLowered weapons weaponsItems weaponsItemsCargo weaponState weaponsTurret weightRTD west WFSideText wind",literal:"true false nil"},contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.NUMBER_MODE,VARIABLE,FUNCTION,STRINGS,CPP.preprocessor],illegal:/#/}}},function(module,exports){module.exports=function(hljs){var COMMENT_MODE=hljs.COMMENT("--","$");return{case_insensitive:true,illegal:/[<>{}*#]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment",end:/;/,endsWithParent:true,lexemes:/[\w\.]+/,keywords:{keyword:"abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select self sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null",built_in:"array bigint binary bit blob boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text varchar varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[hljs.BACKSLASH_ESCAPE,{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[hljs.BACKSLASH_ESCAPE,{begin:'""'}]},{className:"string",begin:"`",end:"`",contains:[hljs.BACKSLASH_ESCAPE]},hljs.C_NUMBER_MODE,hljs.C_BLOCK_COMMENT_MODE,COMMENT_MODE]},hljs.C_BLOCK_COMMENT_MODE,COMMENT_MODE]}}},function(module,exports){module.exports=function(hljs){return{contains:[hljs.HASH_COMMENT_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{begin:hljs.UNDERSCORE_IDENT_RE,lexemes:hljs.UNDERSCORE_IDENT_RE,keywords:{name:"for in while repeat until if then else",symbol:"bernoulli bernoulli_logit binomial binomial_logit beta_binomial hypergeometric categorical categorical_logit ordered_logistic neg_binomial neg_binomial_2 neg_binomial_2_log poisson poisson_log multinomial normal exp_mod_normal skew_normal student_t cauchy double_exponential logistic gumbel lognormal chi_square inv_chi_square scaled_inv_chi_square exponential inv_gamma weibull frechet rayleigh wiener pareto pareto_type_2 von_mises uniform multi_normal multi_normal_prec multi_normal_cholesky multi_gp multi_gp_cholesky multi_student_t gaussian_dlm_obs dirichlet lkj_corr lkj_corr_cholesky wishart inv_wishart","selector-tag":"int real vector simplex unit_vector ordered positive_ordered row_vector matrix cholesky_factor_corr cholesky_factor_cov corr_matrix cov_matrix",title:"functions model data parameters quantities transformed generated",literal:"true false"},relevance:0},{className:"number",begin:"0[xX][0-9a-fA-F]+[Li]?\\b",relevance:0},{className:"number",begin:"0[xX][0-9a-fA-F]+[Li]?\\b",relevance:0},{className:"number",begin:"\\d+(?:[eE][+\\-]?\\d*)?L\\b",relevance:0},{className:"number",begin:"\\d+\\.(?!\\d)(?:i\\b)?",relevance:0},{className:"number",begin:"\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{className:"number",begin:"\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0}]}}},function(module,exports){module.exports=function(hljs){return{aliases:["do","ado"],case_insensitive:true,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize meqparse mer merg merge mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/},{className:"string",variants:[{begin:'`"[^\r\n]*?"\''},{begin:'"[^\r\n"]*"'}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\(|$)"}]},hljs.COMMENT("^[ \t]*\\*.*$",false),hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]}}},function(module,exports){module.exports=function(hljs){var STEP21_IDENT_RE="[A-Z_][A-Z0-9_.]*";var STEP21_KEYWORDS={keyword:"HEADER ENDSEC DATA"};var STEP21_START={className:"meta",begin:"ISO-10303-21;",relevance:10};var STEP21_CLOSE={className:"meta",begin:"END-ISO-10303-21;",relevance:10};return{aliases:["p21","step","stp"],case_insensitive:true,lexemes:STEP21_IDENT_RE,keywords:STEP21_KEYWORDS,contains:[STEP21_START,STEP21_CLOSE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.COMMENT("/\\*\\*!","\\*/"),hljs.C_NUMBER_MODE,hljs.inherit(hljs.APOS_STRING_MODE,{illegal:null}),hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}},function(module,exports){module.exports=function(hljs){var VARIABLE={className:"variable",begin:"\\$"+hljs.IDENT_RE};var HEX_COLOR={className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"};var AT_KEYWORDS=["charset","css","debug","extend","font-face","for","import","include","media","mixin","page","warn","while"];var PSEUDO_SELECTORS=["after","before","first-letter","first-line","active","first-child","focus","hover","lang","link","visited"];var TAGS=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"];var TAG_END="[\\.\\s\\n\\[\\:,]";var ATTRIBUTES=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-variant-ligatures","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"];var ILLEGAL=["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"];return{aliases:["styl"],case_insensitive:false,keywords:"if else for in",illegal:"("+ILLEGAL.join("|")+")",contains:[hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,HEX_COLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+TAG_END,returnBegin:true,contains:[{className:"selector-class",begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"}]},{begin:"\\#[a-zA-Z][a-zA-Z0-9_-]*"+TAG_END,returnBegin:true,contains:[{className:"selector-id",begin:"\\#[a-zA-Z][a-zA-Z0-9_-]*"}]},{begin:"\\b("+TAGS.join("|")+")"+TAG_END,returnBegin:true,contains:[{className:"selector-tag",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"}]},{begin:"&?:?:\\b("+PSEUDO_SELECTORS.join("|")+")"+TAG_END},{begin:"@("+AT_KEYWORDS.join("|")+")\\b"},VARIABLE,hljs.CSS_NUMBER_MODE,hljs.NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:true,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[HEX_COLOR,VARIABLE,hljs.APOS_STRING_MODE,hljs.CSS_NUMBER_MODE,hljs.NUMBER_MODE,hljs.QUOTE_STRING_MODE]}]},{className:"attribute",begin:"\\b("+ATTRIBUTES.reverse().join("|")+")\\b",starts:{end:/;|$/,contains:[HEX_COLOR,VARIABLE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.CSS_NUMBER_MODE,hljs.NUMBER_MODE,hljs.C_BLOCK_COMMENT_MODE],illegal:/\./,relevance:0}}]}}},function(module,exports){module.exports=function(hljs){var DETAILS={className:"string",begin:"\\[\n(multipart)?",end:"\\]\n"};var TIME={className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"};var PROGRESSVALUE={className:"string",begin:"(\\+|-)\\d+"};var KEYWORDS={className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]};return{case_insensitive:true,contains:[DETAILS,TIME,PROGRESSVALUE,KEYWORDS]}}},function(module,exports){module.exports=function(hljs){var SWIFT_KEYWORDS={keyword:"__COLUMN__ __FILE__ __FUNCTION__ __LINE__ as as! as? associativity break case catch class continue convenience default defer deinit didSet do dynamic dynamicType else enum extension fallthrough false fileprivate final for func get guard if import in indirect infix init inout internal is lazy left let mutating nil none nonmutating open operator optional override postfix precedence prefix private protocol Protocol public repeat required rethrows return right self Self set static struct subscript super switch throw throws true try try! try? Type typealias unowned var weak where while willSet",literal:"true false nil",built_in:"abs advance alignof alignofValue anyGenerator assert assertionFailure bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal fatalError filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare map max maxElement min minElement numericCast overlaps partition posix precondition preconditionFailure print println quickSort readLine reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith stride strideof strideofValue swap toString transcode underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers withUnsafePointer withUnsafePointers withVaList zip"};var TYPE={className:"type",begin:"\\b[A-Z][\\wÀ-ʸ']*",relevance:0};var BLOCK_COMMENT=hljs.COMMENT("/\\*","\\*/",{contains:["self"]});var SUBST={className:"subst",begin:/\\\(/,end:"\\)",keywords:SWIFT_KEYWORDS,contains:[]};var NUMBERS={className:"number",begin:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",relevance:0};var QUOTE_STRING_MODE=hljs.inherit(hljs.QUOTE_STRING_MODE,{contains:[SUBST,hljs.BACKSLASH_ESCAPE]});SUBST.contains=[NUMBERS];return{keywords:SWIFT_KEYWORDS,contains:[QUOTE_STRING_MODE,hljs.C_LINE_COMMENT_MODE,BLOCK_COMMENT,TYPE,NUMBERS,{className:"function",beginKeywords:"func",end:"{",excludeEnd:true,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{begin:/</,end:/>/},{className:"params",begin:/\(/,end:/\)/,endsParent:true,keywords:SWIFT_KEYWORDS,contains:["self",NUMBERS,QUOTE_STRING_MODE,hljs.C_BLOCK_COMMENT_MODE,{begin:":"}],illegal:/["']/}],illegal:/\[|%/},{className:"class",beginKeywords:"struct protocol class extension enum",keywords:SWIFT_KEYWORDS,end:"\\{",excludeEnd:true,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/})]},{className:"meta",begin:"(@warn_unused_result|@exported|@lazy|@noescape|@NSCopying|@NSManaged|@objc|@convention|@required|@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|@infix|@prefix|@postfix|@autoclosure|@testable|@available|@nonobjc|@NSApplicationMain|@UIApplicationMain)"},{beginKeywords:"import",end:/$/,contains:[hljs.C_LINE_COMMENT_MODE,BLOCK_COMMENT]}]}}},function(module,exports){module.exports=function(hljs){var COMMENT={className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\(/,end:/\)/,contains:["self",{begin:/\\./}]}],relevance:10};var FUNCTION={className:"keyword",begin:/\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,end:/\(/,excludeEnd:true};var VARIABLE={className:"variable",begin:/%[_a-zA-Z0-9:]*/,end:"%"};var ESCAPE_SEQUENCE={className:"symbol",begin:/\\./};return{contains:[COMMENT,FUNCTION,VARIABLE,ESCAPE_SEQUENCE]}}},function(module,exports){module.exports=function(hljs){var LITERALS="true false yes no null";var keyPrefix="^[ \\-]*";var keyName="[a-zA-Z_][\\w\\-]*";var KEY={className:"attr",variants:[{begin:keyPrefix+keyName+":"},{begin:keyPrefix+'"'+keyName+'":'},{begin:keyPrefix+"'"+keyName+"':"}]};var TEMPLATE_VARIABLES={className:"template-variable",variants:[{begin:"{{",end:"}}"},{begin:"%{",end:"}"}]};var STRING={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[hljs.BACKSLASH_ESCAPE,TEMPLATE_VARIABLES]};return{case_insensitive:true,aliases:["yml","YAML","yaml"],contains:[KEY,{className:"meta",begin:"^---s*$",relevance:10},{className:"string",begin:"[\\|>] *$",returnEnd:true,contains:STRING.contains,end:KEY.variants[0].begin},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:true,excludeEnd:true,relevance:0},{className:"type",begin:"!!"+hljs.UNDERSCORE_IDENT_RE},{className:"meta",begin:"&"+hljs.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+hljs.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"^ *-",relevance:0},hljs.HASH_COMMENT_MODE,{beginKeywords:LITERALS,keywords:{literal:LITERALS}},hljs.C_NUMBER_MODE,STRING]}}},function(module,exports){module.exports=function(hljs){return{case_insensitive:true,contains:[hljs.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:"(s+)?---$",end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}},function(module,exports){module.exports=function(hljs){return{aliases:["tk"],keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",contains:[hljs.COMMENT(";[ \\t]*#","$"),hljs.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:true,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:true,excludeEnd:true}]},{excludeEnd:true,variants:[{begin:"\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*\\(([a-zA-Z0-9_])*\\)",end:"[^a-zA-Z0-9_\\}\\$]"},{begin:"\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"(\\))?[^a-zA-Z0-9_\\}\\$]"}]},{className:"string",contains:[hljs.BACKSLASH_ESCAPE],variants:[hljs.inherit(hljs.APOS_STRING_MODE,{illegal:null}),hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null})]},{className:"number",variants:[hljs.BINARY_NUMBER_MODE,hljs.C_NUMBER_MODE]}]}}},function(module,exports){module.exports=function(hljs){var COMMAND={className:"tag",begin:/\\/,relevance:0,contains:[{className:"name",variants:[{begin:/[a-zA-Zа-яА-я]+[*]?/},{begin:/[^a-zA-Zа-яА-я0-9]/}],starts:{endsWithParent:true,relevance:0,contains:[{className:"string",variants:[{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/}]},{begin:/\s*=\s*/,endsWithParent:true,relevance:0,contains:[{className:"number",begin:/-?\d*\.?\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?/}]}]}}]};return{contains:[COMMAND,{className:"formula",contains:[COMMAND],relevance:0,variants:[{begin:/\$\$/,end:/\$\$/},{begin:/\$/,end:/\$/}]},hljs.COMMENT("%","$",{relevance:0})]}}},function(module,exports){module.exports=function(hljs){var BUILT_IN_TYPES="bool byte i16 i32 i64 double string binary";return{keywords:{keyword:"namespace const typedef struct enum service exception void oneway set list map required optional",built_in:BUILT_IN_TYPES,literal:"true false"},contains:[hljs.QUOTE_STRING_MODE,hljs.NUMBER_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[hljs.inherit(hljs.TITLE_MODE,{starts:{endsWithParent:true,excludeEnd:true}})]},{begin:"\\b(set|list|map)\\s*<",end:">",keywords:BUILT_IN_TYPES,contains:["self"]}]}}},function(module,exports){module.exports=function(hljs){var TPID={className:"number",begin:"[1-9][0-9]*",relevance:0};var TPLABEL={className:"symbol",begin:":[^\\]]+"};var TPDATA={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|    TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",TPID,TPLABEL]};var TPIO={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",TPID,hljs.QUOTE_STRING_MODE,TPLABEL]};return{keywords:{keyword:"ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN SUBSTR FINDSTR VOFFSET PROG ATTR MN POS",literal:"ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET"},contains:[TPDATA,TPIO,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},hljs.COMMENT("//","[;$]"),hljs.COMMENT("!","[;$]"),hljs.COMMENT("--eg:","$"),hljs.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},hljs.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}},function(module,exports){module.exports=function(hljs){var PARAMS={className:"params",begin:"\\(",end:"\\)"};var FUNCTION_NAMES="attribute block constant cycle date dump include max min parent random range source template_from_string";var FUNCTIONS={beginKeywords:FUNCTION_NAMES,keywords:{name:FUNCTION_NAMES},relevance:0,contains:[PARAMS]};var FILTER={begin:/\|[A-Za-z_]+:?/,keywords:"abs batch capitalize convert_encoding date date_modify default escape first format join json_encode keys last length lower merge nl2br number_format raw replace reverse round slice sort split striptags title trim upper url_encode",contains:[FUNCTIONS]};var TAGS="autoescape block do embed extends filter flush for if import include macro sandbox set spaceless use verbatim";TAGS=TAGS+" "+TAGS.split(" ").map(function(t){return"end"+t}).join(" ");return{aliases:["craftcms"],case_insensitive:true,subLanguage:"xml",contains:[hljs.COMMENT(/\{#/,/#}/),{className:"template-tag",begin:/\{%/,end:/%}/,contains:[{className:"name",begin:/\w+/,keywords:TAGS,starts:{endsWithParent:true,contains:[FILTER,FUNCTIONS],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/}}/,contains:["self",FILTER,FUNCTIONS]}]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS={keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class public private protected get set super static implements enum export import declare type namespace abstract as from extends async await",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document any number boolean string void Promise"};return{aliases:["ts"],keywords:KEYWORDS,contains:[{className:"meta",begin:/^\s*['"]use strict['"]/},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[hljs.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:hljs.C_NUMBER_RE}],relevance:0},{begin:"("+hljs.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+hljs.IDENT_RE+")\\s*=>",returnBegin:true,end:"\\s*=>",contains:[{className:"params",variants:[{begin:hljs.IDENT_RE},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:true,excludeEnd:true,keywords:KEYWORDS,contains:["self",hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]}]}]}],relevance:0},{className:"function",begin:"function",end:/[\{;]/,excludeEnd:true,keywords:KEYWORDS,contains:["self",hljs.inherit(hljs.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:true,excludeEnd:true,keywords:KEYWORDS,contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE],illegal:/["'\(]/}],illegal:/%/,relevance:0},{beginKeywords:"constructor",end:/\{/,excludeEnd:true,contains:["self",{className:"params",begin:/\(/,end:/\)/,excludeBegin:true,excludeEnd:true,keywords:KEYWORDS,contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE],illegal:/["'\(]/}]},{begin:/module\./,keywords:{built_in:"module"},relevance:0},{beginKeywords:"module",end:/\{/,excludeEnd:true},{beginKeywords:"interface",end:/\{/,excludeEnd:true,keywords:"interface extends"},{begin:/\$[(.]/},{begin:"\\."+hljs.IDENT_RE,relevance:0},{className:"meta",begin:"@[A-Za-z]+"}]}}},function(module,exports){module.exports=function(hljs){return{keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:"{",excludeEnd:true,illegal:"[^,:\\n\\s\\.]",contains:[hljs.UNDERSCORE_TITLE_MODE]},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$",relevance:2}]}}},function(module,exports){module.exports=function(hljs){return{aliases:["vb"],case_insensitive:true,keywords:{keyword:"addhandler addressof alias and andalso aggregate ansi as assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into is isfalse isnot istrue join key let lib like loop me mid mod module mustinherit mustoverride mybase myclass namespace narrowing new next not notinheritable notoverridable of off on operator option optional or order orelse overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim rem removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly xor",built_in:"boolean byte cbool cbyte cchar cdate cdec cdbl char cint clng cobj csbyte cshort csng cstr ctype date decimal directcast double gettype getxmlnamespace iif integer long object sbyte short single string trycast typeof uinteger ulong ushort",literal:"true false nothing"},illegal:"//|{|}|endif|gosub|variant|wend",contains:[hljs.inherit(hljs.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),hljs.COMMENT("'","$",{returnBegin:true,contains:[{className:"doctag",begin:"'''|\x3c!--|--\x3e",contains:[hljs.PHRASAL_WORDS_MODE]},{className:"doctag",begin:"</?",end:">",contains:[hljs.PHRASAL_WORDS_MODE]}]}),hljs.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elseif end region externalsource"}}]}}},function(module,exports){module.exports=function(hljs){return{aliases:["vbs"],case_insensitive:true,keywords:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:"lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid scriptenginebuildversion scriptengine split scriptengineminorversion cint sin datepart ltrim sqr scriptenginemajorversion time derived eval date formatpercent exp inputbox left ascw chrw regexp server response request cstr err",literal:"true false null nothing empty"},illegal:"//",contains:[hljs.inherit(hljs.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),hljs.COMMENT(/'/,/$/,{relevance:0}),hljs.C_NUMBER_MODE]}}},function(module,exports){module.exports=function(hljs){return{subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}},function(module,exports){module.exports=function(hljs){var SV_KEYWORDS={keyword:"accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor",literal:"null",built_in:"$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale $bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat $realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson $assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff $assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk $fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control $coverage_get $coverage_save $set_coverage_db_name $rose $stable $past $rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display $coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename $unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow $floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning $dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh $tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random $dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson $dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array $async$nand$array $async$or$array $async$nor$array $sync$and$array $sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf $async$and$plane $async$nand$plane $async$or$plane $async$nor$plane $sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system $display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo $write $readmemb $readmemh $writememh $value$plusargs $dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit $writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb $dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall $dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo $fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh $swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb $fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat $sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror"};return{aliases:["v","sv","svh"],case_insensitive:false,keywords:SV_KEYWORDS,lexemes:/[\w\$]+/,contains:[hljs.C_BLOCK_COMMENT_MODE,hljs.C_LINE_COMMENT_MODE,hljs.QUOTE_STRING_MODE,{className:"number",contains:[hljs.BACKSLASH_ESCAPE],variants:[{begin:"\\b((\\d+'(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\B(('(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\b([0-9_])+",relevance:0}]},{className:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{className:"meta",begin:"`",end:"$",keywords:{"meta-keyword":"define __FILE__ __LINE__ begin_keywords celldefine default_nettype define else elsif end_keywords endcelldefine endif ifdef ifndef include line nounconnected_drive pragma resetall timescale unconnected_drive undef undefineall"},relevance:0}]}}},function(module,exports){module.exports=function(hljs){var INTEGER_RE="\\d(_|\\d)*";var EXPONENT_RE="[eE][-+]?"+INTEGER_RE;var DECIMAL_LITERAL_RE=INTEGER_RE+"(\\."+INTEGER_RE+")?("+EXPONENT_RE+")?";var BASED_INTEGER_RE="\\w+";var BASED_LITERAL_RE=INTEGER_RE+"#"+BASED_INTEGER_RE+"(\\."+BASED_INTEGER_RE+")?#("+EXPONENT_RE+")?";var NUMBER_RE="\\b("+BASED_LITERAL_RE+"|"+DECIMAL_LITERAL_RE+")";return{case_insensitive:true,keywords:{keyword:"abs access after alias all and architecture array assert assume assume_guarantee attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable vmode vprop vunit wait when while with xnor xor",built_in:"boolean bit character integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_logic std_logic_vector unsigned signed boolean_vector integer_vector std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signedreal_vector time_vector",literal:"false true note warning error failure line text side width"},illegal:"{",contains:[hljs.C_BLOCK_COMMENT_MODE,hljs.COMMENT("--","$"),hljs.QUOTE_STRING_MODE,{className:"number",begin:NUMBER_RE,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[hljs.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[hljs.BACKSLASH_ESCAPE]}]}}},function(module,exports){module.exports=function(hljs){return{lexemes:/[!#@\w]+/,keywords:{keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[hljs.NUMBER_MODE,hljs.APOS_STRING_MODE,{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},hljs.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]*/},{className:"function",beginKeywords:"function function!",end:"$",relevance:0,contains:[hljs.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}},function(module,exports){module.exports=function(hljs){return{case_insensitive:true,lexemes:"[.%]?"+hljs.IDENT_RE,keywords:{keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0  xmm1  xmm2  xmm3  xmm4  xmm5  xmm6  xmm7  xmm8  xmm9 xmm10  xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0  ymm1  ymm2  ymm3  ymm4  ymm5  ymm6  ymm7  ymm8  ymm9 ymm10  ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0  zmm1  zmm2  zmm3  zmm4  zmm5  zmm6  zmm7  zmm8  zmm9 zmm10  zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__  __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__  __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[hljs.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*\\.?[0-9_]*(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},hljs.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}},function(module,exports){module.exports=function(hljs){var BUILTIN_MODULES="ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts";var XL_KEYWORDS={keyword:"if then else do while until for loop import with is as where when by data constant integer real text name boolean symbol infix prefix postfix block tree",literal:"true false nil",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons "+BUILTIN_MODULES};var DOUBLE_QUOTE_TEXT={className:"string",begin:'"',end:'"',illegal:"\\n"};var SINGLE_QUOTE_TEXT={className:"string",begin:"'",end:"'",illegal:"\\n"};var LONG_TEXT={className:"string",begin:"<<",end:">>"};var BASED_NUMBER={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"};var IMPORT={beginKeywords:"import",end:"$",keywords:XL_KEYWORDS,contains:[DOUBLE_QUOTE_TEXT]};var FUNCTION_DEFINITION={className:"function",begin:/[a-z][^\n]*->/,returnBegin:true,end:/->/,contains:[hljs.inherit(hljs.TITLE_MODE,{starts:{endsWithParent:true,keywords:XL_KEYWORDS}})]};return{aliases:["tao"],lexemes:/[a-zA-Z][a-zA-Z0-9_?]*/,keywords:XL_KEYWORDS,contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,DOUBLE_QUOTE_TEXT,SINGLE_QUOTE_TEXT,LONG_TEXT,FUNCTION_DEFINITION,IMPORT,BASED_NUMBER,hljs.NUMBER_MODE]}}},function(module,exports){module.exports=function(hljs){var KEYWORDS="for let if while then else return where group by xquery encoding versionmodule namespace boundary-space preserve strip default collation base-uri orderingcopy-namespaces order declare import schema namespace function option in allowing emptyat tumbling window sliding window start when only end when previous next stable ascendingdescending empty greatest least some every satisfies switch case typeswitch try catch andor to union intersect instance of treat as castable cast map array delete insert intoreplace value rename copy modify update";var LITERAL="false true xs:string xs:integer element item xs:date xs:datetime xs:float xs:double xs:decimal QName xs:anyURI xs:long xs:int xs:short xs:byte attribute";var VAR={begin:/\$[a-zA-Z0-9\-]+/};var NUMBER={className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0};var STRING={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]};var ANNOTATION={className:"meta",begin:"%\\w+"};var COMMENT={className:"comment",begin:"\\(:",end:":\\)",relevance:10,contains:[{className:"doctag",begin:"@\\w+"}]};var METHOD={begin:"{",end:"}"};var CONTAINS=[VAR,STRING,NUMBER,COMMENT,ANNOTATION,METHOD];METHOD.contains=CONTAINS;return{aliases:["xpath","xq"],case_insensitive:false,lexemes:/[a-zA-Z\$][a-zA-Z0-9_:\-]*/,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{keyword:KEYWORDS,literal:LITERAL},contains:CONTAINS}}},function(module,exports){module.exports=function(hljs){var STRING={className:"string",contains:[hljs.BACKSLASH_ESCAPE],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},hljs.inherit(hljs.APOS_STRING_MODE,{illegal:null}),hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null})]};var NUMBER={variants:[hljs.BINARY_NUMBER_MODE,hljs.C_NUMBER_MODE]};return{aliases:["zep"],case_insensitive:true,keywords:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var let while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally int uint long ulong char uchar double float bool boolean stringlikely unlikely",contains:[hljs.C_LINE_COMMENT_MODE,hljs.HASH_COMMENT_MODE,hljs.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),hljs.COMMENT("__halt_compiler.+?;",false,{endsWithParent:true,keywords:"__halt_compiler",lexemes:hljs.UNDERSCORE_IDENT_RE}),{className:"string",begin:"<<<['\"]?\\w+['\"]?$",end:"^\\w+;",contains:[hljs.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function",end:/[;{]/,excludeEnd:true,illegal:"\\$|\\[|%",contains:[hljs.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:["self",hljs.C_BLOCK_COMMENT_MODE,STRING,NUMBER]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:true,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},hljs.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[hljs.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[hljs.UNDERSCORE_TITLE_MODE]},{begin:"=>"},STRING,NUMBER]}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiOverlayMask=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);__webpack_require__(3);__webpack_require__(4);__webpack_require__(2);var _react=__webpack_require__(0);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactDom=__webpack_require__(72);var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var EuiOverlayMask=function(_Component){_inherits(EuiOverlayMask,_Component);function EuiOverlayMask(props){var _this;_classCallCheck(this,EuiOverlayMask);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiOverlayMask).call(this,props));var _this$props=_this.props,className=_this$props.className,onClick=(_this$props.children,_this$props.onClick),rest=_objectWithoutProperties(_this$props,["className","children","onClick"]);_this.overlayMaskNode=document.createElement("div");_this.overlayMaskNode.className=(0,_classnames.default)("euiOverlayMask",className);onClick&&_this.overlayMaskNode.addEventListener("click",onClick);Object.keys(rest).forEach(function(key){if("string"!==typeof rest[key])throw new Error("Unhandled property type. EuiOverlayMask property ".concat(key," is not a string."));_this.overlayMaskNode.setAttribute(key,rest[key])});document.body.appendChild(_this.overlayMaskNode);return _this}_createClass(EuiOverlayMask,[{key:"componentDidMount",value:function componentDidMount(){document.body.classList.add("euiBody-hasOverlayMask")}},{key:"componentWillUnmount",value:function componentWillUnmount(){document.body.classList.remove("euiBody-hasOverlayMask");this.props.onClick&&this.overlayMaskNode.removeEventListener("click",this.props.onClick);document.body.removeChild(this.overlayMaskNode);this.overlayMaskNode=null}},{key:"render",value:function render(){return(0,_reactDom.createPortal)(this.props.children,this.overlayMaskNode)}}]);return EuiOverlayMask}(_react.Component);exports.EuiOverlayMask=EuiOverlayMask;EuiOverlayMask.propTypes={className:_propTypes.default.string,children:_propTypes.default.node,onClick:_propTypes.default.func};EuiOverlayMask.__docgenInfo={description:"",methods:[],displayName:"EuiOverlayMask",props:{className:{type:{name:"string"},required:false,description:""},children:{type:{name:"node"},required:false,description:""},onClick:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiCodeBlock=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _code_block=__webpack_require__(388);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiCodeBlock=function EuiCodeBlock(_ref){_ref.inline;var rest=_objectWithoutProperties(_ref,["inline"]);return _react.default.createElement(_code_block.EuiCodeBlockImpl,_extends({inline:false},rest))};exports.EuiCodeBlock=EuiCodeBlock;EuiCodeBlock.propTypes=_objectSpread({},_code_block.EuiCodeBlockImpl.propTypes);EuiCodeBlock.__docgenInfo={description:"",methods:[],displayName:"EuiCodeBlock",composes:["./_code_block"]}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiCodeEditor",{enumerable:true,get:function get(){return _code_editor.EuiCodeEditor}});var _code_editor=__webpack_require__(1295)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiCodeEditor=void 0;__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);__webpack_require__(5);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _reactAce=_interopRequireDefault(__webpack_require__(1296));var _services=__webpack_require__(25);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function setOrRemoveAttribute(element,attributeName,value){null===value||void 0===value?element.removeAttribute(attributeName):element.setAttribute(attributeName,value)}var EuiCodeEditor=function(_Component){_inherits(EuiCodeEditor,_Component);function EuiCodeEditor(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiCodeEditor);for(var _len=arguments.length,_args=new Array(_len),_key=0;_key<_len;_key++)_args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiCodeEditor)).call.apply(_getPrototypeOf2,[this].concat(_args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"state",{isHintActive:true,isEditing:false});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"idGenerator",(0,_services.htmlIdGenerator)());_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"aceEditorRef",function(aceEditor){if(aceEditor){_this.aceEditor=aceEditor;var textbox=aceEditor.editor.textInput.getElement();textbox.tabIndex=-1;textbox.addEventListener("keydown",_this.onKeydownAce);setOrRemoveAttribute(textbox,"aria-label",_this.props["aria-label"]);setOrRemoveAttribute(textbox,"aria-labelledby",_this.props["aria-labelledby"]);setOrRemoveAttribute(textbox,"aria-describedby",_this.props["aria-describedby"])}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onKeydownAce",function(ev){if(ev.keyCode===_services.keyCodes.ESCAPE&&!_this.aceEditor.editor.completer){ev.preventDefault();ev.stopPropagation();_this.stopEditing();_this.editorHint.focus()}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onFocusAce",function(){_this.setState({isEditing:true});if(_this.props.onFocus){var _this$props;(_this$props=_this.props).onFocus.apply(_this$props,arguments)}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onBlurAce",function(){_this.stopEditing();if(_this.props.onBlur){var _this$props2;(_this$props2=_this.props).onBlur.apply(_this$props2,arguments)}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onKeyDownHint",function(ev){if(ev.keyCode===_services.keyCodes.ENTER){ev.preventDefault();_this.startEditing()}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"startEditing",function(){_this.setState({isHintActive:false});_this.aceEditor.editor.textInput.focus()});return _this}_createClass(EuiCodeEditor,[{key:"stopEditing",value:function stopEditing(){this.setState({isHintActive:true,isEditing:false})}},{key:"isCustomMode",value:function isCustomMode(){return"object"===_typeof(this.props.mode)}},{key:"setCustomMode",value:function setCustomMode(){this.aceEditor.editor.getSession().setMode(this.props.mode)}},{key:"componentDidMount",value:function componentDidMount(){this.isCustomMode()&&this.setCustomMode()}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){this.props.mode!==prevProps.mode&&this.isCustomMode()&&this.setCustomMode()}},{key:"render",value:function render(){var _this2=this;var _this$props3=this.props,width=_this$props3.width,height=_this$props3.height,isReadOnly=(_this$props3.onBlur,_this$props3.isReadOnly),setOptions=_this$props3.setOptions,cursorStart=_this$props3.cursorStart,rest=_objectWithoutProperties(_this$props3,["width","height","onBlur","isReadOnly","setOptions","cursorStart"]);var classes=(0,_classnames.default)("euiCodeEditorWrapper",{"euiCodeEditorWrapper-isEditing":this.state.isEditing});var promptClasses=(0,_classnames.default)("euiCodeEditorKeyboardHint",{"euiCodeEditorKeyboardHint-isInactive":!this.state.isHintActive});var filteredCursorStart;var options=_objectSpread({},setOptions);if(isReadOnly){filteredCursorStart=-1;Object.assign(options,{readOnly:true,highlightActiveLine:false,highlightGutterLine:false})}else filteredCursorStart=cursorStart;var prompt=_react.default.createElement("div",{className:promptClasses,id:this.idGenerator("codeEditor"),ref:function ref(hint){_this2.editorHint=hint},tabIndex:"0",role:"button",onClick:this.startEditing,onKeyDown:this.onKeyDownHint,"data-test-subj":"codeEditorHint"},_react.default.createElement("p",{className:"euiText"},isReadOnly?_react.default.createElement(_i18n.EuiI18n,{token:"euiCodeEditor.startInteracting",default:"Press Enter to start interacting with the code."}):_react.default.createElement(_i18n.EuiI18n,{token:"euiCodeEditor.startEditing",default:"Press Enter to start editing."})),_react.default.createElement("p",{className:"euiText"},isReadOnly?_react.default.createElement(_i18n.EuiI18n,{token:"euiCodeEditor.stopInteracting",default:"When you're done, press Escape to stop interacting with the code."}):_react.default.createElement(_i18n.EuiI18n,{token:"euiCodeEditor.stopEditing",default:"When you're done, press Escape to stop editing."})));this.isCustomMode()&&delete rest.mode;return _react.default.createElement("div",{className:classes,style:{width:width,height:height},"data-test-subj":"codeEditorContainer"},prompt,_react.default.createElement(_reactAce.default,_extends({ref:this.aceEditorRef,width:width,height:height,onFocus:this.onFocusAce,onBlur:this.onBlurAce,setOptions:options,editorProps:{$blockScrolling:Infinity},cursorStart:filteredCursorStart},rest)))}}]);return EuiCodeEditor}(_react.Component);exports.EuiCodeEditor=EuiCodeEditor;EuiCodeEditor.propTypes={width:_propTypes.default.string,height:_propTypes.default.string,onBlur:_propTypes.default.func,isReadOnly:_propTypes.default.bool,setOptions:_propTypes.default.object,cursorStart:_propTypes.default.number,mode:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.object])};EuiCodeEditor.defaultProps={setOptions:{}};EuiCodeEditor.__docgenInfo={description:"",methods:[{name:"aceEditorRef",docblock:null,modifiers:[],params:[{name:"aceEditor",type:null}],returns:null},{name:"onKeydownAce",docblock:null,modifiers:[],params:[{name:"ev",type:null}],returns:null},{name:"onFocusAce",docblock:null,modifiers:[],params:[{name:"...args",type:null}],returns:null},{name:"onBlurAce",docblock:null,modifiers:[],params:[{name:"...args",type:null}],returns:null},{name:"onKeyDownHint",docblock:null,modifiers:[],params:[{name:"ev",type:null}],returns:null},{name:"startEditing",docblock:null,modifiers:[],params:[],returns:null},{name:"stopEditing",docblock:null,modifiers:[],params:[],returns:null},{name:"isCustomMode",docblock:null,modifiers:[],params:[],returns:null},{name:"setCustomMode",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiCodeEditor",props:{setOptions:{defaultValue:{value:"{}",computed:false},type:{name:"object"},required:false,description:""},width:{type:{name:"string"},required:false,description:""},height:{type:{name:"string"},required:false,description:""},onBlur:{type:{name:"func"},required:false,description:""},isReadOnly:{type:{name:"bool"},required:false,description:""},cursorStart:{type:{name:"number"},required:false,description:""},mode:{type:{name:"union",value:[{name:"string"},{name:"object"}]},required:false,description:"Use string for a built-in mode or object for a custom mode"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.split=void 0;var _ace=__webpack_require__(1297);var _ace2=_interopRequireDefault(_ace);var _split=__webpack_require__(1300);var _split2=_interopRequireDefault(_split);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.split=_split2.default;exports.default=_ace2.default},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _brace=__webpack_require__(287);var _brace2=_interopRequireDefault(_brace);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(599);var _propTypes2=_interopRequireDefault(_propTypes);var _lodash=__webpack_require__(232);var _lodash2=_interopRequireDefault(_lodash);var _editorOptions=__webpack_require__(600);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _ace$acequire=_brace2.default.acequire("ace/range"),Range=_ace$acequire.Range;var ReactAce=function(_Component){_inherits(ReactAce,_Component);function ReactAce(props){_classCallCheck(this,ReactAce);var _this=_possibleConstructorReturn(this,(ReactAce.__proto__||Object.getPrototypeOf(ReactAce)).call(this,props));_editorOptions.editorEvents.forEach(function(method){_this[method]=_this[method].bind(_this)});return _this}_createClass(ReactAce,[{key:"componentDidMount",value:function componentDidMount(){var _this2=this;var _props=this.props,className=_props.className,onBeforeLoad=_props.onBeforeLoad,onValidate=_props.onValidate,mode=_props.mode,focus=_props.focus,theme=_props.theme,fontSize=_props.fontSize,value=_props.value,defaultValue=_props.defaultValue,cursorStart=_props.cursorStart,showGutter=_props.showGutter,wrapEnabled=_props.wrapEnabled,showPrintMargin=_props.showPrintMargin,_props$scrollMargin=_props.scrollMargin,scrollMargin=void 0===_props$scrollMargin?[0,0,0,0]:_props$scrollMargin,keyboardHandler=_props.keyboardHandler,onLoad=_props.onLoad,commands=_props.commands,annotations=_props.annotations,markers=_props.markers;this.editor=_brace2.default.edit(this.refEditor);onBeforeLoad&&onBeforeLoad(_brace2.default);var editorProps=Object.keys(this.props.editorProps);for(var i=0;i<editorProps.length;i++)this.editor[editorProps[i]]=this.props.editorProps[editorProps[i]];this.props.debounceChangePeriod&&(this.onChange=this.debounce(this.onChange,this.props.debounceChangePeriod));this.editor.renderer.setScrollMargin(scrollMargin[0],scrollMargin[1],scrollMargin[2],scrollMargin[3]);this.editor.getSession().setMode("ace/mode/"+mode);this.editor.setTheme("ace/theme/"+theme);this.editor.setFontSize(fontSize);this.editor.getSession().setValue(defaultValue||value,cursorStart);this.editor.navigateFileEnd();this.editor.renderer.setShowGutter(showGutter);this.editor.getSession().setUseWrapMode(wrapEnabled);this.editor.setShowPrintMargin(showPrintMargin);this.editor.on("focus",this.onFocus);this.editor.on("blur",this.onBlur);this.editor.on("copy",this.onCopy);this.editor.on("paste",this.onPaste);this.editor.on("change",this.onChange);this.editor.on("input",this.onInput);this.editor.getSession().selection.on("changeSelection",this.onSelectionChange);this.editor.getSession().selection.on("changeCursor",this.onCursorChange);onValidate&&this.editor.getSession().on("changeAnnotation",function(){var annotations=_this2.editor.getSession().getAnnotations();_this2.props.onValidate(annotations)});this.editor.session.on("changeScrollTop",this.onScroll);this.editor.getSession().setAnnotations(annotations||[]);markers&&markers.length>0&&this.handleMarkers(markers);var availableOptions=this.editor.$options;for(var _i=0;_i<_editorOptions.editorOptions.length;_i++){var option=_editorOptions.editorOptions[_i];availableOptions.hasOwnProperty(option)?this.editor.setOption(option,this.props[option]):this.props[option]&&console.warn("ReaceAce: editor option "+option+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")}this.handleOptions(this.props);Array.isArray(commands)&&commands.forEach(function(command){"string"==typeof command.exec?_this2.editor.commands.bindKey(command.bindKey,command.exec):_this2.editor.commands.addCommand(command)});keyboardHandler&&this.editor.setKeyboardHandler("ace/keyboard/"+keyboardHandler);className&&(this.refEditor.className+=" "+className);focus&&this.editor.focus();onLoad&&onLoad(this.editor);this.editor.resize()}},{key:"debounce",value:function debounce(fn,delay){var timer=null;return function(){var context=this,args=arguments;clearTimeout(timer);timer=setTimeout(function(){fn.apply(context,args)},delay)}}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){var oldProps=this.props;for(var i=0;i<_editorOptions.editorOptions.length;i++){var option=_editorOptions.editorOptions[i];nextProps[option]!==oldProps[option]&&this.editor.setOption(option,nextProps[option])}if(nextProps.className!==oldProps.className){var appliedClasses=this.refEditor.className;var appliedClassesArray=appliedClasses.trim().split(" ");var oldClassesArray=oldProps.className.trim().split(" ");oldClassesArray.forEach(function(oldClass){var index=appliedClassesArray.indexOf(oldClass);appliedClassesArray.splice(index,1)});this.refEditor.className=" "+nextProps.className+" "+appliedClassesArray.join(" ")}nextProps.mode!==oldProps.mode&&this.editor.getSession().setMode("ace/mode/"+nextProps.mode);nextProps.theme!==oldProps.theme&&this.editor.setTheme("ace/theme/"+nextProps.theme);nextProps.keyboardHandler!==oldProps.keyboardHandler&&(nextProps.keyboardHandler?this.editor.setKeyboardHandler("ace/keyboard/"+nextProps.keyboardHandler):this.editor.setKeyboardHandler(null));nextProps.fontSize!==oldProps.fontSize&&this.editor.setFontSize(nextProps.fontSize);nextProps.wrapEnabled!==oldProps.wrapEnabled&&this.editor.getSession().setUseWrapMode(nextProps.wrapEnabled);nextProps.showPrintMargin!==oldProps.showPrintMargin&&this.editor.setShowPrintMargin(nextProps.showPrintMargin);nextProps.showGutter!==oldProps.showGutter&&this.editor.renderer.setShowGutter(nextProps.showGutter);(0,_lodash2.default)(nextProps.setOptions,oldProps.setOptions)||this.handleOptions(nextProps);(0,_lodash2.default)(nextProps.annotations,oldProps.annotations)||this.editor.getSession().setAnnotations(nextProps.annotations||[]);!(0,_lodash2.default)(nextProps.markers,oldProps.markers)&&Array.isArray(nextProps.markers)&&this.handleMarkers(nextProps.markers);(0,_lodash2.default)(nextProps.scrollMargin,oldProps.scrollMargin)||this.handleScrollMargins(nextProps.scrollMargin);if(this.editor&&this.editor.getValue()!==nextProps.value){this.silent=true;var pos=this.editor.session.selection.toJSON();this.editor.setValue(nextProps.value,nextProps.cursorStart);this.editor.session.selection.fromJSON(pos);this.silent=false}nextProps.focus&&!oldProps.focus&&this.editor.focus()}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){prevProps.height===this.props.height&&prevProps.width===this.props.width||this.editor.resize()}},{key:"handleScrollMargins",value:function handleScrollMargins(){var margins=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[0,0,0,0];this.editor.renderer.setScrollMargins(margins[0],margins[1],margins[2],margins[3])}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.editor.destroy();this.editor=null}},{key:"onChange",value:function onChange(event){if(this.props.onChange&&!this.silent){var value=this.editor.getValue();this.props.onChange(value,event)}}},{key:"onSelectionChange",value:function onSelectionChange(event){if(this.props.onSelectionChange){var value=this.editor.getSelection();this.props.onSelectionChange(value,event)}}},{key:"onCursorChange",value:function onCursorChange(event){if(this.props.onCursorChange){var value=this.editor.getSelection();this.props.onCursorChange(value,event)}}},{key:"onInput",value:function onInput(event){this.props.onInput&&this.props.onInput(event)}},{key:"onFocus",value:function onFocus(event){this.props.onFocus&&this.props.onFocus(event)}},{key:"onBlur",value:function onBlur(event){this.props.onBlur&&this.props.onBlur(event,this.editor)}},{key:"onCopy",value:function onCopy(text){this.props.onCopy&&this.props.onCopy(text)}},{key:"onPaste",value:function onPaste(text){this.props.onPaste&&this.props.onPaste(text)}},{key:"onScroll",value:function onScroll(){this.props.onScroll&&this.props.onScroll(this.editor)}},{key:"handleOptions",value:function handleOptions(props){var setOptions=Object.keys(props.setOptions);for(var y=0;y<setOptions.length;y++)this.editor.setOption(setOptions[y],props.setOptions[setOptions[y]])}},{key:"handleMarkers",value:function handleMarkers(markers){var _this3=this;var currentMarkers=this.editor.getSession().getMarkers(true);for(var i in currentMarkers)currentMarkers.hasOwnProperty(i)&&this.editor.getSession().removeMarker(currentMarkers[i].id);currentMarkers=this.editor.getSession().getMarkers(false);for(var _i2 in currentMarkers)currentMarkers.hasOwnProperty(_i2)&&this.editor.getSession().removeMarker(currentMarkers[_i2].id);markers.forEach(function(_ref){var startRow=_ref.startRow,startCol=_ref.startCol,endRow=_ref.endRow,endCol=_ref.endCol,className=_ref.className,type=_ref.type,_ref$inFront=_ref.inFront,inFront=void 0!==_ref$inFront&&_ref$inFront;var range=new Range(startRow,startCol,endRow,endCol);_this3.editor.getSession().addMarker(range,className,type,inFront)})}},{key:"updateRef",value:function updateRef(item){this.refEditor=item}},{key:"render",value:function render(){var _props2=this.props,name=_props2.name,width=_props2.width,height=_props2.height,style=_props2.style;var divStyle=_extends({width:width,height:height},style);return _react2.default.createElement("div",{ref:this.updateRef,id:name,style:divStyle})}}]);return ReactAce}(_react.Component);exports.default=ReactAce;ReactAce.propTypes={mode:_propTypes2.default.string,focus:_propTypes2.default.bool,theme:_propTypes2.default.string,name:_propTypes2.default.string,className:_propTypes2.default.string,height:_propTypes2.default.string,width:_propTypes2.default.string,fontSize:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string]),showGutter:_propTypes2.default.bool,onChange:_propTypes2.default.func,onCopy:_propTypes2.default.func,onPaste:_propTypes2.default.func,onFocus:_propTypes2.default.func,onInput:_propTypes2.default.func,onBlur:_propTypes2.default.func,onScroll:_propTypes2.default.func,value:_propTypes2.default.string,defaultValue:_propTypes2.default.string,onLoad:_propTypes2.default.func,onSelectionChange:_propTypes2.default.func,onCursorChange:_propTypes2.default.func,onBeforeLoad:_propTypes2.default.func,onValidate:_propTypes2.default.func,minLines:_propTypes2.default.number,maxLines:_propTypes2.default.number,readOnly:_propTypes2.default.bool,highlightActiveLine:_propTypes2.default.bool,tabSize:_propTypes2.default.number,showPrintMargin:_propTypes2.default.bool,cursorStart:_propTypes2.default.number,debounceChangePeriod:_propTypes2.default.number,editorProps:_propTypes2.default.object,setOptions:_propTypes2.default.object,style:_propTypes2.default.object,scrollMargin:_propTypes2.default.array,annotations:_propTypes2.default.array,markers:_propTypes2.default.array,keyboardHandler:_propTypes2.default.string,wrapEnabled:_propTypes2.default.bool,enableBasicAutocompletion:_propTypes2.default.oneOfType([_propTypes2.default.bool,_propTypes2.default.array]),enableLiveAutocompletion:_propTypes2.default.oneOfType([_propTypes2.default.bool,_propTypes2.default.array]),commands:_propTypes2.default.array};ReactAce.defaultProps={name:"brace-editor",focus:false,mode:"",theme:"",height:"500px",width:"500px",value:"",fontSize:12,showGutter:true,onChange:null,onPaste:null,onLoad:null,onScroll:null,minLines:null,maxLines:null,readOnly:false,highlightActiveLine:true,showPrintMargin:true,tabSize:4,cursorStart:1,editorProps:{},style:{},scrollMargin:[0,0,0,0],setOptions:{},wrapEnabled:false,enableBasicAutocompletion:false,enableLiveAutocompletion:false}},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);var ReactPropTypesSecret=__webpack_require__(1299);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _brace=__webpack_require__(287);var _brace2=_interopRequireDefault(_brace);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(599);var _propTypes2=_interopRequireDefault(_propTypes);var _lodash=__webpack_require__(232);var _lodash2=_interopRequireDefault(_lodash);var _lodash3=__webpack_require__(1301);var _lodash4=_interopRequireDefault(_lodash3);var _editorOptions=__webpack_require__(600);__webpack_require__(1302);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _ace$acequire=_brace2.default.acequire("ace/range"),Range=_ace$acequire.Range;var _ace$acequire2=_brace2.default.acequire("ace/split"),Split=_ace$acequire2.Split;var SplitComponent=function(_Component){_inherits(SplitComponent,_Component);function SplitComponent(props){_classCallCheck(this,SplitComponent);var _this=_possibleConstructorReturn(this,(SplitComponent.__proto__||Object.getPrototypeOf(SplitComponent)).call(this,props));_editorOptions.editorEvents.forEach(function(method){_this[method]=_this[method].bind(_this)});return _this}_createClass(SplitComponent,[{key:"componentDidMount",value:function componentDidMount(){var _this2=this;var _props=this.props,className=_props.className,onBeforeLoad=_props.onBeforeLoad,mode=_props.mode,focus=_props.focus,theme=_props.theme,fontSize=_props.fontSize,value=_props.value,defaultValue=_props.defaultValue,cursorStart=_props.cursorStart,showGutter=_props.showGutter,wrapEnabled=_props.wrapEnabled,showPrintMargin=_props.showPrintMargin,_props$scrollMargin=_props.scrollMargin,scrollMargin=void 0===_props$scrollMargin?[0,0,0,0]:_props$scrollMargin,keyboardHandler=_props.keyboardHandler,onLoad=_props.onLoad,commands=_props.commands,annotations=_props.annotations,markers=_props.markers,splits=_props.splits;this.editor=_brace2.default.edit(this.refEditor);onBeforeLoad&&onBeforeLoad(_brace2.default);var editorProps=Object.keys(this.props.editorProps);var split=new Split(this.editor.container,"ace/theme/"+theme,splits);this.editor.env.split=split;this.splitEditor=split.getEditor(0);this.split=split;this.editor.setShowPrintMargin(false);this.editor.renderer.setShowGutter(false);var availableOptions=this.splitEditor.$options;split.forEach(function(editor,index){for(var i=0;i<editorProps.length;i++)editor[editorProps[i]]=_this2.props.editorProps[editorProps[i]];var defaultValueForEditor=(0,_lodash4.default)(defaultValue,index);var valueForEditor=(0,_lodash4.default)(value,index,"");editor.session.setUndoManager(new _brace.UndoManager);editor.setTheme("ace/theme/"+theme);editor.renderer.setScrollMargin(scrollMargin[0],scrollMargin[1],scrollMargin[2],scrollMargin[3]);editor.getSession().setMode("ace/mode/"+mode);editor.setFontSize(fontSize);editor.renderer.setShowGutter(showGutter);editor.getSession().setUseWrapMode(wrapEnabled);editor.setShowPrintMargin(showPrintMargin);editor.on("focus",_this2.onFocus);editor.on("blur",_this2.onBlur);editor.on("input",_this2.onInput);editor.on("copy",_this2.onCopy);editor.on("paste",_this2.onPaste);editor.on("change",_this2.onChange);editor.getSession().selection.on("changeSelection",_this2.onSelectionChange);editor.getSession().selection.on("changeCursor",_this2.onCursorChange);editor.session.on("changeScrollTop",_this2.onScroll);editor.setValue(void 0===defaultValueForEditor?valueForEditor:defaultValueForEditor,cursorStart);var newAnnotations=(0,_lodash4.default)(annotations,index,[]);var newMarkers=(0,_lodash4.default)(markers,index,[]);editor.getSession().setAnnotations(newAnnotations);newMarkers&&newMarkers.length>0&&_this2.handleMarkers(newMarkers,editor);for(var _i=0;_i<_editorOptions.editorOptions.length;_i++){var option=_editorOptions.editorOptions[_i];availableOptions.hasOwnProperty(option)?editor.setOption(option,_this2.props[option]):_this2.props[option]&&console.warn("ReaceAce: editor option "+option+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")}_this2.handleOptions(_this2.props,editor);Array.isArray(commands)&&commands.forEach(function(command){"string"==typeof command.exec?editor.commands.bindKey(command.bindKey,command.exec):editor.commands.addCommand(command)});keyboardHandler&&editor.setKeyboardHandler("ace/keyboard/"+keyboardHandler)});className&&(this.refEditor.className+=" "+className);focus&&this.splitEditor.focus();var sp=this.editor.env.split;sp.setOrientation("below"===this.props.orientation?sp.BELOW:sp.BESIDE);sp.resize(true);onLoad&&onLoad(sp)}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){var _this3=this;var oldProps=this.props;var split=this.editor.env.split;nextProps.splits!==oldProps.splits&&split.setSplits(nextProps.splits);nextProps.orientation!==oldProps.orientation&&split.setOrientation("below"===nextProps.orientation?split.BELOW:split.BESIDE);split.forEach(function(editor,index){nextProps.mode!==oldProps.mode&&editor.getSession().setMode("ace/mode/"+nextProps.mode);nextProps.keyboardHandler!==oldProps.keyboardHandler&&(nextProps.keyboardHandler?editor.setKeyboardHandler("ace/keyboard/"+nextProps.keyboardHandler):editor.setKeyboardHandler(null));nextProps.fontSize!==oldProps.fontSize&&editor.setFontSize(nextProps.fontSize);nextProps.wrapEnabled!==oldProps.wrapEnabled&&editor.getSession().setUseWrapMode(nextProps.wrapEnabled);nextProps.showPrintMargin!==oldProps.showPrintMargin&&editor.setShowPrintMargin(nextProps.showPrintMargin);nextProps.showGutter!==oldProps.showGutter&&editor.renderer.setShowGutter(nextProps.showGutter);for(var i=0;i<_editorOptions.editorOptions.length;i++){var option=_editorOptions.editorOptions[i];nextProps[option]!==oldProps[option]&&editor.setOption(option,nextProps[option])}(0,_lodash2.default)(nextProps.setOptions,oldProps.setOptions)||_this3.handleOptions(nextProps,editor);var nextValue=(0,_lodash4.default)(nextProps.value,index,"");if(editor.getValue()!==nextValue){_this3.silent=true;var pos=editor.session.selection.toJSON();editor.setValue(nextValue,nextProps.cursorStart);editor.session.selection.fromJSON(pos);_this3.silent=false}var newAnnotations=(0,_lodash4.default)(nextProps.annotations,index,[]);var oldAnnotations=(0,_lodash4.default)(oldProps.annotations,index,[]);(0,_lodash2.default)(newAnnotations,oldAnnotations)||editor.getSession().setAnnotations(newAnnotations);var newMarkers=(0,_lodash4.default)(nextProps.markers,index,[]);var oldMarkers=(0,_lodash4.default)(oldProps.markers,index,[]);!(0,_lodash2.default)(newMarkers,oldMarkers)&&Array.isArray(newMarkers)&&_this3.handleMarkers(newMarkers,editor)});if(nextProps.className!==oldProps.className){var appliedClasses=this.refEditor.className;var appliedClassesArray=appliedClasses.trim().split(" ");var oldClassesArray=oldProps.className.trim().split(" ");oldClassesArray.forEach(function(oldClass){var index=appliedClassesArray.indexOf(oldClass);appliedClassesArray.splice(index,1)});this.refEditor.className=" "+nextProps.className+" "+appliedClassesArray.join(" ")}nextProps.theme!==oldProps.theme&&split.setTheme("ace/theme/"+nextProps.theme);nextProps.focus&&!oldProps.focus&&this.splitEditor.focus();nextProps.height===this.props.height&&nextProps.width===this.props.width||this.editor.resize()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.editor.destroy();this.editor=null}},{key:"onChange",value:function onChange(event){if(this.props.onChange&&!this.silent){var value=[];this.editor.env.split.forEach(function(editor){value.push(editor.getValue())});this.props.onChange(value,event)}}},{key:"onSelectionChange",value:function onSelectionChange(event){if(this.props.onSelectionChange){var value=[];this.editor.env.split.forEach(function(editor){value.push(editor.getSelection())});this.props.onSelectionChange(value,event)}}},{key:"onCursorChange",value:function onCursorChange(event){if(this.props.onCursorChange){var value=[];this.editor.env.split.forEach(function(editor){value.push(editor.getSelection())});this.props.onCursorChange(value,event)}}},{key:"onFocus",value:function onFocus(event){this.props.onFocus&&this.props.onFocus(event)}},{key:"onInput",value:function onInput(event){this.props.onInput&&this.props.onInput(event)}},{key:"onBlur",value:function onBlur(event){this.props.onBlur&&this.props.onBlur(event)}},{key:"onCopy",value:function onCopy(text){this.props.onCopy&&this.props.onCopy(text)}},{key:"onPaste",value:function onPaste(text){this.props.onPaste&&this.props.onPaste(text)}},{key:"onScroll",value:function onScroll(){this.props.onScroll&&this.props.onScroll(this.editor)}},{key:"handleOptions",value:function handleOptions(props,editor){var setOptions=Object.keys(props.setOptions);for(var y=0;y<setOptions.length;y++)editor.setOption(setOptions[y],props.setOptions[setOptions[y]])}},{key:"handleMarkers",value:function handleMarkers(markers,editor){var currentMarkers=editor.getSession().getMarkers(true);for(var i in currentMarkers)currentMarkers.hasOwnProperty(i)&&editor.getSession().removeMarker(currentMarkers[i].id);currentMarkers=editor.getSession().getMarkers(false);for(var _i2 in currentMarkers)currentMarkers.hasOwnProperty(_i2)&&editor.getSession().removeMarker(currentMarkers[_i2].id);markers.forEach(function(_ref){var startRow=_ref.startRow,startCol=_ref.startCol,endRow=_ref.endRow,endCol=_ref.endCol,className=_ref.className,type=_ref.type,_ref$inFront=_ref.inFront,inFront=void 0!==_ref$inFront&&_ref$inFront;var range=new Range(startRow,startCol,endRow,endCol);editor.getSession().addMarker(range,className,type,inFront)})}},{key:"updateRef",value:function updateRef(item){this.refEditor=item}},{key:"render",value:function render(){var _props2=this.props,name=_props2.name,width=_props2.width,height=_props2.height,style=_props2.style;var divStyle=_extends({width:width,height:height},style);return _react2.default.createElement("div",{ref:this.updateRef,id:name,style:divStyle})}}]);return SplitComponent}(_react.Component);exports.default=SplitComponent;SplitComponent.propTypes={mode:_propTypes2.default.string,splits:_propTypes2.default.number,orientation:_propTypes2.default.string,focus:_propTypes2.default.bool,theme:_propTypes2.default.string,name:_propTypes2.default.string,className:_propTypes2.default.string,height:_propTypes2.default.string,width:_propTypes2.default.string,fontSize:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string]),showGutter:_propTypes2.default.bool,onChange:_propTypes2.default.func,onCopy:_propTypes2.default.func,onPaste:_propTypes2.default.func,onFocus:_propTypes2.default.func,onInput:_propTypes2.default.func,onBlur:_propTypes2.default.func,onScroll:_propTypes2.default.func,value:_propTypes2.default.arrayOf(_propTypes2.default.string),defaultValue:_propTypes2.default.arrayOf(_propTypes2.default.string),onLoad:_propTypes2.default.func,onSelectionChange:_propTypes2.default.func,onCursorChange:_propTypes2.default.func,onBeforeLoad:_propTypes2.default.func,minLines:_propTypes2.default.number,maxLines:_propTypes2.default.number,readOnly:_propTypes2.default.bool,highlightActiveLine:_propTypes2.default.bool,tabSize:_propTypes2.default.number,showPrintMargin:_propTypes2.default.bool,cursorStart:_propTypes2.default.number,editorProps:_propTypes2.default.object,setOptions:_propTypes2.default.object,style:_propTypes2.default.object,scrollMargin:_propTypes2.default.array,annotations:_propTypes2.default.array,markers:_propTypes2.default.array,keyboardHandler:_propTypes2.default.string,wrapEnabled:_propTypes2.default.bool,enableBasicAutocompletion:_propTypes2.default.oneOfType([_propTypes2.default.bool,_propTypes2.default.array]),enableLiveAutocompletion:_propTypes2.default.oneOfType([_propTypes2.default.bool,_propTypes2.default.array]),commands:_propTypes2.default.array};SplitComponent.defaultProps={name:"brace-editor",focus:false,orientation:"beside",splits:2,mode:"",theme:"",height:"500px",width:"500px",value:[],fontSize:12,showGutter:true,onChange:null,onPaste:null,onLoad:null,onScroll:null,minLines:null,maxLines:null,readOnly:false,highlightActiveLine:true,showPrintMargin:true,tabSize:4,cursorStart:1,editorProps:{},style:{},scrollMargin:[0,0,0,0],setOptions:{},wrapEnabled:false,enableBasicAutocompletion:false,enableLiveAutocompletion:false}},function(module,exports,__webpack_require__){(function(global){var FUNC_ERROR_TEXT="Expected a function";var HASH_UNDEFINED="__lodash_hash_undefined__";var INFINITY=1/0;var funcTag="[object Function]",genTag="[object GeneratorFunction]",symbolTag="[object Symbol]";var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/,reLeadingDot=/^\./,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var reRegExpChar=/[\\^$.*+?()[\]{}|]/g;var reEscapeChar=/\\(\\)?/g;var reIsHostCtor=/^\[object .+?Constructor\]$/;var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;var freeSelf="object"==typeof self&&self&&self.Object===Object&&self;var root=freeGlobal||freeSelf||Function("return this")();function getValue(object,key){return null==object?void 0:object[key]}function isHostObject(value){var result=false;if(null!=value&&"function"!=typeof value.toString)try{result=!!(value+"")}catch(e){}return result}var arrayProto=Array.prototype,funcProto=Function.prototype,objectProto=Object.prototype;var coreJsData=root["__core-js_shared__"];var maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""),uid?"Symbol(src)_1."+uid:"");var uid;var funcToString=funcProto.toString;var hasOwnProperty=objectProto.hasOwnProperty;var objectToString=objectProto.toString;var reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Symbol=root.Symbol,splice=arrayProto.splice;var Map=getNative(root,"Map"),nativeCreate=getNative(Object,"create");var symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function Hash(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{}}function hashDelete(key){return this.has(key)&&delete this.__data__[key]}function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}function hashHas(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty.call(data,key)}function hashSet(key,value){var data=this.__data__;data[key]=nativeCreate&&void 0===value?HASH_UNDEFINED:value;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function listCacheClear(){this.__data__=[]}function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0)return false;var lastIndex=data.length-1;index==lastIndex?data.pop():splice.call(data,index,1);return true}function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);index<0?data.push([key,value]):data[index][1]=value;return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function mapCacheClear(){this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}function mapCacheDelete(key){return getMapData(this,key)["delete"](key)}function mapCacheGet(key){return getMapData(this,key).get(key)}function mapCacheHas(key){return getMapData(this,key).has(key)}function mapCacheSet(key,value){getMapData(this,key).set(key,value);return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function assocIndexOf(array,key){var length=array.length;while(length--)if(eq(array[length][0],key))return length;return-1}function baseGet(object,path){path=isKey(path,object)?[path]:castPath(path);var index=0,length=path.length;while(null!=object&&index<length)object=object[toKey(path[index++])];return index&&index==length?object:void 0}function baseIsNative(value){if(!isObject(value)||isMasked(value))return false;var pattern=isFunction(value)||isHostObject(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value))}function baseToString(value){if("string"==typeof value)return value;if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return"0"==result&&1/value==-INFINITY?"-0":result}function castPath(value){return isArray(value)?value:stringToPath(value)}function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data["string"==typeof key?"string":"hash"]:data.map}function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}function isKey(value,object){if(isArray(value))return false;var type=typeof value;if("number"==type||"symbol"==type||"boolean"==type||null==value||isSymbol(value))return true;return reIsPlainProp.test(value)||!reIsDeepProp.test(value)||null!=object&&value in Object(object)}function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}var stringToPath=memoize(function(string){string=toString(string);var result=[];reLeadingDot.test(string)&&result.push("");string.replace(rePropName,function(match,number,quote,string){result.push(quote?string.replace(reEscapeChar,"$1"):number||match)});return result});function toKey(value){if("string"==typeof value||isSymbol(value))return value;var result=value+"";return"0"==result&&1/value==-INFINITY?"-0":result}function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}function memoize(func,resolver){if("function"!=typeof func||resolver&&"function"!=typeof resolver)throw new TypeError(FUNC_ERROR_TEXT);var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);memoized.cache=cache.set(key,result);return result};memoized.cache=new(memoize.Cache||MapCache);return memoized}memoize.Cache=MapCache;function eq(value,other){return value===other||value!==value&&other!==other}var isArray=Array.isArray;function isFunction(value){var tag=isObject(value)?objectToString.call(value):"";return tag==funcTag||tag==genTag}function isObject(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}function isObjectLike(value){return!!value&&"object"==typeof value}function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&objectToString.call(value)==symbolTag}function toString(value){return null==value?"":baseToString(value)}function get(object,path,defaultValue){var result=null==object?void 0:baseGet(object,path);return void 0===result?defaultValue:result}module.exports=get}).call(this,__webpack_require__(18))},function(module,exports){ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],function(acequire,exports,module){"use strict";var oop=acequire("./lib/oop");var lang=acequire("./lib/lang");var EventEmitter=acequire("./lib/event_emitter").EventEmitter;var Editor=acequire("./editor").Editor;var Renderer=acequire("./virtual_renderer").VirtualRenderer;var EditSession=acequire("./edit_session").EditSession;var Split=function(container,theme,splits){this.BELOW=1;this.BESIDE=0;this.$container=container;this.$theme=theme;this.$splits=0;this.$editorCSS="";this.$editors=[];this.$orientation=this.BESIDE;this.setSplits(splits||1);this.$cEditor=this.$editors[0];this.on("focus",function(editor){this.$cEditor=editor}.bind(this))};(function(){oop.implement(this,EventEmitter);this.$createEditor=function(){var el=document.createElement("div");el.className=this.$editorCSS;el.style.cssText="position: absolute; top:0px; bottom:0px";this.$container.appendChild(el);var editor=new Editor(new Renderer(el,this.$theme));editor.on("focus",function(){this._emit("focus",editor)}.bind(this));this.$editors.push(editor);editor.setFontSize(this.$fontSize);return editor};this.setSplits=function(splits){var editor;if(splits<1)throw"The number of splits have to be > 0!";if(splits==this.$splits)return;if(splits>this.$splits){while(this.$splits<this.$editors.length&&this.$splits<splits){editor=this.$editors[this.$splits];this.$container.appendChild(editor.container);editor.setFontSize(this.$fontSize);this.$splits++}while(this.$splits<splits){this.$createEditor();this.$splits++}}else while(this.$splits>splits){editor=this.$editors[this.$splits-1];this.$container.removeChild(editor.container);this.$splits--}this.resize()};this.getSplits=function(){return this.$splits};this.getEditor=function(idx){return this.$editors[idx]};this.getCurrentEditor=function(){return this.$cEditor};this.focus=function(){this.$cEditor.focus()};this.blur=function(){this.$cEditor.blur()};this.setTheme=function(theme){this.$editors.forEach(function(editor){editor.setTheme(theme)})};this.setKeyboardHandler=function(keybinding){this.$editors.forEach(function(editor){editor.setKeyboardHandler(keybinding)})};this.forEach=function(callback,scope){this.$editors.forEach(callback,scope)};this.$fontSize="";this.setFontSize=function(size){this.$fontSize=size;this.forEach(function(editor){editor.setFontSize(size)})};this.$cloneSession=function(session){var s=new EditSession(session.getDocument(),session.getMode());var undoManager=session.getUndoManager();if(undoManager){var undoManagerProxy=new UndoManagerProxy(undoManager,s);s.setUndoManager(undoManagerProxy)}s.$informUndoManager=lang.delayedCall(function(){s.$deltas=[]});s.setTabSize(session.getTabSize());s.setUseSoftTabs(session.getUseSoftTabs());s.setOverwrite(session.getOverwrite());s.setBreakpoints(session.getBreakpoints());s.setUseWrapMode(session.getUseWrapMode());s.setUseWorker(session.getUseWorker());s.setWrapLimitRange(session.$wrapLimitRange.min,session.$wrapLimitRange.max);s.$foldData=session.$cloneFoldData();return s};this.setSession=function(session,idx){var editor;editor=null==idx?this.$cEditor:this.$editors[idx];var isUsed=this.$editors.some(function(editor){return editor.session===session});isUsed&&(session=this.$cloneSession(session));editor.setSession(session);return session};this.getOrientation=function(){return this.$orientation};this.setOrientation=function(orientation){if(this.$orientation==orientation)return;this.$orientation=orientation;this.resize()};this.resize=function(){var width=this.$container.clientWidth;var height=this.$container.clientHeight;var editor;if(this.$orientation==this.BESIDE){var editorWidth=width/this.$splits;for(var i=0;i<this.$splits;i++){editor=this.$editors[i];editor.container.style.width=editorWidth+"px";editor.container.style.top="0px";editor.container.style.left=i*editorWidth+"px";editor.container.style.height=height+"px";editor.resize()}}else{var editorHeight=height/this.$splits;for(i=0;i<this.$splits;i++){editor=this.$editors[i];editor.container.style.width=width+"px";editor.container.style.top=i*editorHeight+"px";editor.container.style.left="0px";editor.container.style.height=editorHeight+"px";editor.resize()}}}}).call(Split.prototype);function UndoManagerProxy(undoManager,session){this.$u=undoManager;this.$doc=session}(function(){this.execute=function(options){this.$u.execute(options)};this.undo=function(){var selectionRange=this.$u.undo(true);selectionRange&&this.$doc.selection.setSelectionRange(selectionRange)};this.redo=function(){var selectionRange=this.$u.redo(true);selectionRange&&this.$doc.selection.setSelectionRange(selectionRange)};this.reset=function(){this.$u.reset()};this.hasUndo=function(){return this.$u.hasUndo()};this.hasRedo=function(){return this.$u.hasRedo()}}).call(UndoManagerProxy.prototype);exports.Split=Split});ace.define("ace/ext/split",["require","exports","module","ace/split"],function(acequire,exports,module){"use strict";module.exports=acequire("../split")});void ace.acequire(["ace/ext/split"],function(){})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiColorPicker",{enumerable:true,get:function get(){return _color_picker.EuiColorPicker}});var _color_picker=__webpack_require__(1304)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiColorPicker=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _reactColor=__webpack_require__(1305);var _outside_click_detector=__webpack_require__(303);var _color_picker_swatch=__webpack_require__(1548);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiColorPicker=function(_Component){_inherits(EuiColorPicker,_Component);function EuiColorPicker(props){var _this;_classCallCheck(this,EuiColorPicker);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiColorPicker).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"closeColorSelector",function(){_this.setState({showColorSelector:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"toggleColorSelector",function(){_this.setState({showColorSelector:!_this.state.showColorSelector})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"handleColorSelection",function(color){_this.props.onChange(color.hex)});_this.state={showColorSelector:false};return _this}_createClass(EuiColorPicker,[{key:"getColorLabel",value:function getColorLabel(){var _this2=this;return _react.default.createElement(_i18n.EuiI18n,{token:"euiColorPicker.transparentColor",default:"transparent"},function(transparentColor){var color=_this2.props.color;var colorValue=null===color?"(".concat(transparentColor,")"):color;return _react.default.createElement(_i18n.EuiI18n,{token:"euiColorPicker.colorSelectionLabel",default:"Color selection is {colorValue}",values:{colorValue:colorValue}},function(colorSelectionLabel){return _react.default.createElement("div",{className:"euiColorPicker__label","aria-label":colorSelectionLabel},colorValue)})})}},{key:"render",value:function render(){var _this$props=this.props,color=_this$props.color,className=_this$props.className,showColorLabel=_this$props.showColorLabel;var classes=(0,_classnames.default)("euiColorPicker",className);return _react.default.createElement(_outside_click_detector.EuiOutsideClickDetector,{isDisabled:!this.state.showColorSelector,onOutsideClick:this.closeColorSelector},_react.default.createElement("div",{className:classes,"data-test-subj":this.props["data-test-subj"]},_react.default.createElement("div",{className:"euiColorPicker__preview",onClick:this.toggleColorSelector},_react.default.createElement(_color_picker_swatch.EuiColorPickerSwatch,{color:color,"aria-label":this.props["aria-label"]}),showColorLabel?this.getColorLabel():null),this.state.showColorSelector?_react.default.createElement("div",{className:"euiColorPickerPopUp","data-test-subj":"colorPickerPopup"},_react.default.createElement(_reactColor.ChromePicker,{color:color||"#ffffff",disableAlpha:true,onChange:this.handleColorSelection})):null))}}]);return EuiColorPicker}(_react.Component);exports.EuiColorPicker=EuiColorPicker;EuiColorPicker.propTypes={className:_propTypes.default.string,color:_propTypes.default.string,onChange:_propTypes.default.func.isRequired,showColorLabel:_propTypes.default.bool};EuiColorPicker.defaultProps={"aria-label":"Select a color",showColorLabel:true};EuiColorPicker.__docgenInfo={description:"",methods:[{name:"closeColorSelector",docblock:null,modifiers:[],params:[],returns:null},{name:"toggleColorSelector",docblock:null,modifiers:[],params:[],returns:null},{name:"handleColorSelection",docblock:null,modifiers:[],params:[{name:"color",type:null}],returns:null},{name:"getColorLabel",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiColorPicker",props:{"aria-label":{defaultValue:{value:"'Select a color'",computed:false},required:false},showColorLabel:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},color:{type:{name:"string"},required:false,description:""},onChange:{type:{name:"func"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.CustomPicker=exports.TwitterPicker=exports.SwatchesPicker=exports.SliderPicker=exports.SketchPicker=exports.PhotoshopPicker=exports.MaterialPicker=exports.HuePicker=exports.GithubPicker=exports.CompactPicker=exports.ChromePicker=exports.default=exports.CirclePicker=exports.BlockPicker=exports.AlphaPicker=void 0;var _Alpha=__webpack_require__(1306);Object.defineProperty(exports,"AlphaPicker",{enumerable:true,get:function get(){return _interopRequireDefault(_Alpha).default}});var _Block=__webpack_require__(1452);Object.defineProperty(exports,"BlockPicker",{enumerable:true,get:function get(){return _interopRequireDefault(_Block).default}});var _Circle=__webpack_require__(1520);Object.defineProperty(exports,"CirclePicker",{enumerable:true,get:function get(){return _interopRequireDefault(_Circle).default}});var _Chrome=__webpack_require__(1522);Object.defineProperty(exports,"ChromePicker",{enumerable:true,get:function get(){return _interopRequireDefault(_Chrome).default}});var _Compact=__webpack_require__(1523);Object.defineProperty(exports,"CompactPicker",{enumerable:true,get:function get(){return _interopRequireDefault(_Compact).default}});var _Github=__webpack_require__(1525);Object.defineProperty(exports,"GithubPicker",{enumerable:true,get:function get(){return _interopRequireDefault(_Github).default}});var _Hue=__webpack_require__(1527);Object.defineProperty(exports,"HuePicker",{enumerable:true,get:function get(){return _interopRequireDefault(_Hue).default}});var _Material=__webpack_require__(1529);Object.defineProperty(exports,"MaterialPicker",{enumerable:true,get:function get(){return _interopRequireDefault(_Material).default}});var _Photoshop=__webpack_require__(1530);Object.defineProperty(exports,"PhotoshopPicker",{enumerable:true,get:function get(){return _interopRequireDefault(_Photoshop).default}});var _Sketch=__webpack_require__(1536);Object.defineProperty(exports,"SketchPicker",{enumerable:true,get:function get(){return _interopRequireDefault(_Sketch).default}});var _Slider=__webpack_require__(1539);Object.defineProperty(exports,"SliderPicker",{enumerable:true,get:function get(){return _interopRequireDefault(_Slider).default}});var _Swatches=__webpack_require__(1543);Object.defineProperty(exports,"SwatchesPicker",{enumerable:true,get:function get(){return _interopRequireDefault(_Swatches).default}});var _Twitter=__webpack_require__(1546);Object.defineProperty(exports,"TwitterPicker",{enumerable:true,get:function get(){return _interopRequireDefault(_Twitter).default}});var _ColorWrap=__webpack_require__(630);Object.defineProperty(exports,"CustomPicker",{enumerable:true,get:function get(){return _interopRequireDefault(_ColorWrap).default}});var _Chrome2=_interopRequireDefault(_Chrome);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_Chrome2.default},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.AlphaPicker=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _common=__webpack_require__(34);var _AlphaPointer=__webpack_require__(1451);var _AlphaPointer2=_interopRequireDefault(_AlphaPointer);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var AlphaPicker=exports.AlphaPicker=function AlphaPicker(_ref){var rgb=_ref.rgb,hsl=_ref.hsl,width=_ref.width,height=_ref.height,onChange=_ref.onChange,direction=_ref.direction,style=_ref.style,renderers=_ref.renderers,pointer=_ref.pointer,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className;var styles=(0,_reactcss2.default)({default:{picker:{position:"relative",width:width,height:height},alpha:{radius:"2px",style:style}}});return _react2.default.createElement("div",{style:styles.picker,className:"alpha-picker "+className},_react2.default.createElement(_common.Alpha,_extends({},styles.alpha,{rgb:rgb,hsl:hsl,pointer:pointer,renderers:renderers,onChange:onChange,direction:direction})))};AlphaPicker.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:_AlphaPointer2.default};exports.default=(0,_common.ColorWrap)(AlphaPicker)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.flattenNames=void 0;var _isString2=__webpack_require__(1308);var _isString3=_interopRequireDefault(_isString2);var _forOwn2=__webpack_require__(390);var _forOwn3=_interopRequireDefault(_forOwn2);var _isPlainObject2=__webpack_require__(1320);var _isPlainObject3=_interopRequireDefault(_isPlainObject2);var _map2=__webpack_require__(1321);var _map3=_interopRequireDefault(_map2);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var flattenNames=exports.flattenNames=function flattenNames(){var things=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];var names=[];(0,_map3.default)(things,function(thing){Array.isArray(thing)?flattenNames(thing).map(function(name){return names.push(name)}):(0,_isPlainObject3.default)(thing)?(0,_forOwn3.default)(thing,function(value,key){true===value&&names.push(key);names.push(key+"-"+value)}):(0,_isString3.default)(thing)&&names.push(thing)});return names};exports.default=flattenNames},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(154),isArray=__webpack_require__(95),isObjectLike=__webpack_require__(114);var stringTag="[object String]";function isString(value){return"string"==typeof value||!isArray(value)&&isObjectLike(value)&&baseGetTag(value)==stringTag}module.exports=isString},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(233);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;var nativeObjectToString=objectProto.toString;var symToStringTag=Symbol?Symbol.toStringTag:void 0;function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=true}catch(e){}var result=nativeObjectToString.call(value);unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]);return result}module.exports=getRawTag},function(module,exports){var objectProto=Object.prototype;var nativeObjectToString=objectProto.toString;function objectToString(value){return nativeObjectToString.call(value)}module.exports=objectToString},function(module,exports,__webpack_require__){var createBaseFor=__webpack_require__(1312);var baseFor=createBaseFor();module.exports=baseFor},function(module,exports){function createBaseFor(fromRight){return function(object,iteratee,keysFunc){var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;while(length--){var key=props[fromRight?length:++index];if(false===iteratee(iterable[key],key,iterable))break}return object}}module.exports=createBaseFor},function(module,exports){function baseTimes(n,iteratee){var index=-1,result=Array(n);while(++index<n)result[index]=iteratee(index);return result}module.exports=baseTimes},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(154),isObjectLike=__webpack_require__(114);var argsTag="[object Arguments]";function baseIsArguments(value){return isObjectLike(value)&&baseGetTag(value)==argsTag}module.exports=baseIsArguments},function(module,exports){function stubFalse(){return false}module.exports=stubFalse},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(154),isLength=__webpack_require__(392),isObjectLike=__webpack_require__(114);var argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]";var arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";var typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=true;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=false;function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}module.exports=baseIsTypedArray},function(module,exports,__webpack_require__){var isPrototype=__webpack_require__(395),nativeKeys=__webpack_require__(1318);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}module.exports=baseKeys},function(module,exports,__webpack_require__){var overArg=__webpack_require__(607);var nativeKeys=overArg(Object.keys,Object);module.exports=nativeKeys},function(module,exports,__webpack_require__){var identity=__webpack_require__(609);function castFunction(value){return"function"==typeof value?value:identity}module.exports=castFunction},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(154),getPrototype=__webpack_require__(396),isObjectLike=__webpack_require__(114);var objectTag="[object Object]";var funcProto=Function.prototype,objectProto=Object.prototype;var funcToString=funcProto.toString;var hasOwnProperty=objectProto.hasOwnProperty;var objectCtorString=funcToString.call(Object);function isPlainObject(value){if(!isObjectLike(value)||baseGetTag(value)!=objectTag)return false;var proto=getPrototype(value);if(null===proto)return true;var Ctor=hasOwnProperty.call(proto,"constructor")&&proto.constructor;return"function"==typeof Ctor&&Ctor instanceof Ctor&&funcToString.call(Ctor)==objectCtorString}module.exports=isPlainObject},function(module,exports,__webpack_require__){var arrayMap=__webpack_require__(610),baseIteratee=__webpack_require__(1322),baseMap=__webpack_require__(1380),isArray=__webpack_require__(95);function map(collection,iteratee){var func=isArray(collection)?arrayMap:baseMap;return func(collection,baseIteratee(iteratee,3))}module.exports=map},function(module,exports,__webpack_require__){var baseMatches=__webpack_require__(1323),baseMatchesProperty=__webpack_require__(1367),identity=__webpack_require__(609),isArray=__webpack_require__(95),property=__webpack_require__(1377);function baseIteratee(value){if("function"==typeof value)return value;if(null==value)return identity;if("object"==typeof value)return isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value);return property(value)}module.exports=baseIteratee},function(module,exports,__webpack_require__){var baseIsMatch=__webpack_require__(1324),getMatchData=__webpack_require__(1366),matchesStrictComparable=__webpack_require__(620);function baseMatches(source){var matchData=getMatchData(source);if(1==matchData.length&&matchData[0][2])return matchesStrictComparable(matchData[0][0],matchData[0][1]);return function(object){return object===source||baseIsMatch(object,source,matchData)}}module.exports=baseMatches},function(module,exports,__webpack_require__){var Stack=__webpack_require__(397),baseIsEqual=__webpack_require__(612);var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(null==object)return!length;object=Object(object);while(index--){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return false}while(++index<length){data=matchData[index];var key=data[0],objValue=object[key],srcValue=data[1];if(noCustomizer&&data[2]){if(void 0===objValue&&!(key in object))return false}else{var stack=new Stack;if(customizer)var result=customizer(objValue,srcValue,key,object,source,stack);if(!(void 0===result?baseIsEqual(srcValue,objValue,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG,customizer,stack):result))return false}}return true}module.exports=baseIsMatch},function(module,exports){function listCacheClear(){this.__data__=[];this.size=0}module.exports=listCacheClear},function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__(290);var arrayProto=Array.prototype;var splice=arrayProto.splice;function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0)return false;var lastIndex=data.length-1;index==lastIndex?data.pop():splice.call(data,index,1);--this.size;return true}module.exports=listCacheDelete},function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__(290);function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}module.exports=listCacheGet},function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__(290);function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}module.exports=listCacheHas},function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__(290);function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){++this.size;data.push([key,value])}else data[index][1]=value;return this}module.exports=listCacheSet},function(module,exports,__webpack_require__){var ListCache=__webpack_require__(289);function stackClear(){this.__data__=new ListCache;this.size=0}module.exports=stackClear},function(module,exports){function stackDelete(key){var data=this.__data__,result=data["delete"](key);this.size=data.size;return result}module.exports=stackDelete},function(module,exports){function stackGet(key){return this.__data__.get(key)}module.exports=stackGet},function(module,exports){function stackHas(key){return this.__data__.has(key)}module.exports=stackHas},function(module,exports,__webpack_require__){var ListCache=__webpack_require__(289),Map=__webpack_require__(399),MapCache=__webpack_require__(400);var LARGE_ARRAY_SIZE=200;function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<LARGE_ARRAY_SIZE-1){pairs.push([key,value]);this.size=++data.size;return this}data=this.__data__=new MapCache(pairs)}data.set(key,value);this.size=data.size;return this}module.exports=stackSet},function(module,exports,__webpack_require__){var isFunction=__webpack_require__(608),isMasked=__webpack_require__(1336),isObject=__webpack_require__(184),toSource=__webpack_require__(611);var reRegExpChar=/[\\^$.*+?()[\]{}|]/g;var reIsHostCtor=/^\[object .+?Constructor\]$/;var funcProto=Function.prototype,objectProto=Object.prototype;var funcToString=funcProto.toString;var hasOwnProperty=objectProto.hasOwnProperty;var reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(value){if(!isObject(value)||isMasked(value))return false;var pattern=isFunction(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value))}module.exports=baseIsNative},function(module,exports,__webpack_require__){var coreJsData=__webpack_require__(1337);var maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""),uid?"Symbol(src)_1."+uid:"");var uid;function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}module.exports=isMasked},function(module,exports,__webpack_require__){var root=__webpack_require__(101);var coreJsData=root["__core-js_shared__"];module.exports=coreJsData},function(module,exports){function getValue(object,key){return null==object?void 0:object[key]}module.exports=getValue},function(module,exports,__webpack_require__){var Hash=__webpack_require__(1340),ListCache=__webpack_require__(289),Map=__webpack_require__(399);function mapCacheClear(){this.size=0;this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}module.exports=mapCacheClear},function(module,exports,__webpack_require__){var hashClear=__webpack_require__(1341),hashDelete=__webpack_require__(1342),hashGet=__webpack_require__(1343),hashHas=__webpack_require__(1344),hashSet=__webpack_require__(1345);function Hash(entries){var index=-1,length=null==entries?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;module.exports=Hash},function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__(291);function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{};this.size=0}module.exports=hashClear},function(module,exports){function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];this.size-=result?1:0;return result}module.exports=hashDelete},function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__(291);var HASH_UNDEFINED="__lodash_hash_undefined__";var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}module.exports=hashGet},function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__(291);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function hashHas(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty.call(data,key)}module.exports=hashHas},function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__(291);var HASH_UNDEFINED="__lodash_hash_undefined__";function hashSet(key,value){var data=this.__data__;this.size+=this.has(key)?0:1;data[key]=nativeCreate&&void 0===value?HASH_UNDEFINED:value;return this}module.exports=hashSet},function(module,exports,__webpack_require__){var getMapData=__webpack_require__(292);function mapCacheDelete(key){var result=getMapData(this,key)["delete"](key);this.size-=result?1:0;return result}module.exports=mapCacheDelete},function(module,exports){function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}module.exports=isKeyable},function(module,exports,__webpack_require__){var getMapData=__webpack_require__(292);function mapCacheGet(key){return getMapData(this,key).get(key)}module.exports=mapCacheGet},function(module,exports,__webpack_require__){var getMapData=__webpack_require__(292);function mapCacheHas(key){return getMapData(this,key).has(key)}module.exports=mapCacheHas},function(module,exports,__webpack_require__){var getMapData=__webpack_require__(292);function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;data.set(key,value);this.size+=data.size==size?0:1;return this}module.exports=mapCacheSet},function(module,exports,__webpack_require__){var Stack=__webpack_require__(397),equalArrays=__webpack_require__(613),equalByTag=__webpack_require__(1357),equalObjects=__webpack_require__(1360),getTag=__webpack_require__(293),isArray=__webpack_require__(95),isBuffer=__webpack_require__(391),isTypedArray=__webpack_require__(606);var COMPARE_PARTIAL_FLAG=1;var argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]";var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=objIsArr?arrayTag:getTag(object),othTag=othIsArr?arrayTag:getTag(other);objTag=objTag==argsTag?objectTag:objTag;othTag=othTag==argsTag?objectTag:othTag;var objIsObj=objTag==objectTag,othIsObj=othTag==objectTag,isSameTag=objTag==othTag;if(isSameTag&&isBuffer(object)){if(!isBuffer(other))return false;objIsArr=true;objIsObj=false}if(isSameTag&&!objIsObj){stack||(stack=new Stack);return objIsArr||isTypedArray(object)?equalArrays(object,other,bitmask,customizer,equalFunc,stack):equalByTag(object,other,objTag,bitmask,customizer,equalFunc,stack)}if(!(bitmask&COMPARE_PARTIAL_FLAG)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;stack||(stack=new Stack);return equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}if(!isSameTag)return false;stack||(stack=new Stack);return equalObjects(object,other,bitmask,customizer,equalFunc,stack)}module.exports=baseIsEqualDeep},function(module,exports,__webpack_require__){var MapCache=__webpack_require__(400),setCacheAdd=__webpack_require__(1353),setCacheHas=__webpack_require__(1354);function SetCache(values){var index=-1,length=null==values?0:values.length;this.__data__=new MapCache;while(++index<length)this.add(values[index])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;module.exports=SetCache},function(module,exports){var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(value){this.__data__.set(value,HASH_UNDEFINED);return this}module.exports=setCacheAdd},function(module,exports){function setCacheHas(value){return this.__data__.has(value)}module.exports=setCacheHas},function(module,exports){function arraySome(array,predicate){var index=-1,length=null==array?0:array.length;while(++index<length)if(predicate(array[index],index,array))return true;return false}module.exports=arraySome},function(module,exports){function cacheHas(cache,key){return cache.has(key)}module.exports=cacheHas},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(233),Uint8Array=__webpack_require__(614),eq=__webpack_require__(398),equalArrays=__webpack_require__(613),mapToArray=__webpack_require__(1358),setToArray=__webpack_require__(1359);var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;var boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]";var arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]";var symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case dataViewTag:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return false;object=object.buffer;other=other.buffer;case arrayBufferTag:if(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array(object),new Uint8Array(other)))return false;return true;case boolTag:case dateTag:case numberTag:return eq(+object,+other);case errorTag:return object.name==other.name&&object.message==other.message;case regexpTag:case stringTag:return object==other+"";case mapTag:var convert=mapToArray;case setTag:var isPartial=bitmask&COMPARE_PARTIAL_FLAG;convert||(convert=setToArray);if(object.size!=other.size&&!isPartial)return false;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=COMPARE_UNORDERED_FLAG;stack.set(object,other);var result=equalArrays(convert(object),convert(other),bitmask,customizer,equalFunc,stack);stack["delete"](object);return result;case symbolTag:if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return false}module.exports=equalByTag},function(module,exports){function mapToArray(map){var index=-1,result=Array(map.size);map.forEach(function(value,key){result[++index]=[key,value]});return result}module.exports=mapToArray},function(module,exports){function setToArray(set){var index=-1,result=Array(set.size);set.forEach(function(value){result[++index]=value});return result}module.exports=setToArray},function(module,exports,__webpack_require__){var getAllKeys=__webpack_require__(615);var COMPARE_PARTIAL_FLAG=1;var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,objProps=getAllKeys(object),objLength=objProps.length,othProps=getAllKeys(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return false;var index=objLength;while(index--){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return false}var stacked=stack.get(object);if(stacked&&stack.get(other))return stacked==other;var result=true;stack.set(object,other);stack.set(other,object);var skipCtor=isPartial;while(++index<objLength){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(void 0===compared?objValue===othValue||equalFunc(objValue,othValue,bitmask,customizer,stack):compared)){result=false;break}skipCtor||(skipCtor="constructor"==key)}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!("function"==typeof objCtor&&objCtor instanceof objCtor&&"function"==typeof othCtor&&othCtor instanceof othCtor)&&(result=false)}stack["delete"](object);stack["delete"](other);return result}module.exports=equalObjects},function(module,exports){function arrayFilter(array,predicate){var index=-1,length=null==array?0:array.length,resIndex=0,result=[];while(++index<length){var value=array[index];predicate(value,index,array)&&(result[resIndex++]=value)}return result}module.exports=arrayFilter},function(module,exports,__webpack_require__){var getNative=__webpack_require__(155),root=__webpack_require__(101);var DataView=getNative(root,"DataView");module.exports=DataView},function(module,exports,__webpack_require__){var getNative=__webpack_require__(155),root=__webpack_require__(101);var Promise=getNative(root,"Promise");module.exports=Promise},function(module,exports,__webpack_require__){var getNative=__webpack_require__(155),root=__webpack_require__(101);var Set=getNative(root,"Set");module.exports=Set},function(module,exports,__webpack_require__){var getNative=__webpack_require__(155),root=__webpack_require__(101);var WeakMap=getNative(root,"WeakMap");module.exports=WeakMap},function(module,exports,__webpack_require__){var isStrictComparable=__webpack_require__(619),keys=__webpack_require__(234);function getMatchData(object){var result=keys(object),length=result.length;while(length--){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)]}return result}module.exports=getMatchData},function(module,exports,__webpack_require__){var baseIsEqual=__webpack_require__(612),get=__webpack_require__(1368),hasIn=__webpack_require__(1374),isKey=__webpack_require__(402),isStrictComparable=__webpack_require__(619),matchesStrictComparable=__webpack_require__(620),toKey=__webpack_require__(294);var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty(path,srcValue){if(isKey(path)&&isStrictComparable(srcValue))return matchesStrictComparable(toKey(path),srcValue);return function(object){var objValue=get(object,path);return void 0===objValue&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}module.exports=baseMatchesProperty},function(module,exports,__webpack_require__){var baseGet=__webpack_require__(621);function get(object,path,defaultValue){var result=null==object?void 0:baseGet(object,path);return void 0===result?defaultValue:result}module.exports=get},function(module,exports,__webpack_require__){var memoizeCapped=__webpack_require__(1370);var rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var reEscapeChar=/\\(\\)?/g;var stringToPath=memoizeCapped(function(string){var result=[];46===string.charCodeAt(0)&&result.push("");string.replace(rePropName,function(match,number,quote,subString){result.push(quote?subString.replace(reEscapeChar,"$1"):number||match)});return result});module.exports=stringToPath},function(module,exports,__webpack_require__){var memoize=__webpack_require__(1371);var MAX_MEMOIZE_SIZE=500;function memoizeCapped(func){var result=memoize(func,function(key){cache.size===MAX_MEMOIZE_SIZE&&cache.clear();return key});var cache=result.cache;return result}module.exports=memoizeCapped},function(module,exports,__webpack_require__){var MapCache=__webpack_require__(400);var FUNC_ERROR_TEXT="Expected a function";function memoize(func,resolver){if("function"!=typeof func||null!=resolver&&"function"!=typeof resolver)throw new TypeError(FUNC_ERROR_TEXT);var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);memoized.cache=cache.set(key,result)||cache;return result};memoized.cache=new(memoize.Cache||MapCache);return memoized}memoize.Cache=MapCache;module.exports=memoize},function(module,exports,__webpack_require__){var baseToString=__webpack_require__(1373);function toString(value){return null==value?"":baseToString(value)}module.exports=toString},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(233),arrayMap=__webpack_require__(610),isArray=__webpack_require__(95),isSymbol=__webpack_require__(403);var INFINITY=1/0;var symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString(value){if("string"==typeof value)return value;if(isArray(value))return arrayMap(value,baseToString)+"";if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return"0"==result&&1/value==-INFINITY?"-0":result}module.exports=baseToString},function(module,exports,__webpack_require__){var baseHasIn=__webpack_require__(1375),hasPath=__webpack_require__(1376);function hasIn(object,path){return null!=object&&hasPath(object,path,baseHasIn)}module.exports=hasIn},function(module,exports){function baseHasIn(object,key){return null!=object&&key in Object(object)}module.exports=baseHasIn},function(module,exports,__webpack_require__){var castPath=__webpack_require__(622),isArguments=__webpack_require__(604),isArray=__webpack_require__(95),isIndex=__webpack_require__(605),isLength=__webpack_require__(392),toKey=__webpack_require__(294);function hasPath(object,path,hasFunc){path=castPath(path,object);var index=-1,length=path.length,result=false;while(++index<length){var key=toKey(path[index]);if(!(result=null!=object&&hasFunc(object,key)))break;object=object[key]}if(result||++index!=length)return result;length=null==object?0:object.length;return!!length&&isLength(length)&&isIndex(key,length)&&(isArray(object)||isArguments(object))}module.exports=hasPath},function(module,exports,__webpack_require__){var baseProperty=__webpack_require__(1378),basePropertyDeep=__webpack_require__(1379),isKey=__webpack_require__(402),toKey=__webpack_require__(294);function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}module.exports=property},function(module,exports){function baseProperty(key){return function(object){return null==object?void 0:object[key]}}module.exports=baseProperty},function(module,exports,__webpack_require__){var baseGet=__webpack_require__(621);function basePropertyDeep(path){return function(object){return baseGet(object,path)}}module.exports=basePropertyDeep},function(module,exports,__webpack_require__){var baseEach=__webpack_require__(1381),isArrayLike=__webpack_require__(288);function baseMap(collection,iteratee){var index=-1,result=isArrayLike(collection)?Array(collection.length):[];baseEach(collection,function(value,key,collection){result[++index]=iteratee(value,key,collection)});return result}module.exports=baseMap},function(module,exports,__webpack_require__){var baseForOwn=__webpack_require__(602),createBaseEach=__webpack_require__(1382);var baseEach=createBaseEach(baseForOwn);module.exports=baseEach},function(module,exports,__webpack_require__){var isArrayLike=__webpack_require__(288);function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){if(null==collection)return collection;if(!isArrayLike(collection))return eachFunc(collection,iteratee);var length=collection.length,index=fromRight?length:-1,iterable=Object(collection);while(fromRight?index--:++index<length)if(false===iteratee(iterable[index],index,iterable))break;return collection}}module.exports=createBaseEach},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.mergeClasses=void 0;var _forOwn2=__webpack_require__(390);var _forOwn3=_interopRequireDefault(_forOwn2);var _cloneDeep2=__webpack_require__(1384);var _cloneDeep3=_interopRequireDefault(_cloneDeep2);var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var mergeClasses=exports.mergeClasses=function mergeClasses(classes){var activeNames=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];var styles=classes.default&&(0,_cloneDeep3.default)(classes.default)||{};activeNames.map(function(name){var toMerge=classes[name];toMerge&&(0,_forOwn3.default)(toMerge,function(value,key){styles[key]||(styles[key]={});styles[key]=_extends({},styles[key],toMerge[key])});return name});return styles};exports.default=mergeClasses},function(module,exports,__webpack_require__){var baseClone=__webpack_require__(1385);var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(value){return baseClone(value,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}module.exports=cloneDeep},function(module,exports,__webpack_require__){var Stack=__webpack_require__(397),arrayEach=__webpack_require__(1386),assignValue=__webpack_require__(623),baseAssign=__webpack_require__(1388),baseAssignIn=__webpack_require__(1389),cloneBuffer=__webpack_require__(1392),copyArray=__webpack_require__(1393),copySymbols=__webpack_require__(1394),copySymbolsIn=__webpack_require__(1395),getAllKeys=__webpack_require__(615),getAllKeysIn=__webpack_require__(1396),getTag=__webpack_require__(293),initCloneArray=__webpack_require__(1397),initCloneByTag=__webpack_require__(1398),initCloneObject=__webpack_require__(1403),isArray=__webpack_require__(95),isBuffer=__webpack_require__(391),isMap=__webpack_require__(1405),isObject=__webpack_require__(184),isSet=__webpack_require__(1407),keys=__webpack_require__(234);var CLONE_DEEP_FLAG=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG=4;var argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",weakMapTag="[object WeakMap]";var arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";var cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=true;cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=false;function baseClone(value,bitmask,customizer,key,object,stack){var result,isDeep=bitmask&CLONE_DEEP_FLAG,isFlat=bitmask&CLONE_FLAT_FLAG,isFull=bitmask&CLONE_SYMBOLS_FLAG;customizer&&(result=object?customizer(value,key,object,stack):customizer(value));if(void 0!==result)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){result=initCloneArray(value);if(!isDeep)return copyArray(value,result)}else{var tag=getTag(value),isFunc=tag==funcTag||tag==genTag;if(isBuffer(value))return cloneBuffer(value,isDeep);if(tag==objectTag||tag==argsTag||isFunc&&!object){result=isFlat||isFunc?{}:initCloneObject(value);if(!isDeep)return isFlat?copySymbolsIn(value,baseAssignIn(result,value)):copySymbols(value,baseAssign(result,value))}else{if(!cloneableTags[tag])return object?value:{};result=initCloneByTag(value,tag,isDeep)}}stack||(stack=new Stack);var stacked=stack.get(value);if(stacked)return stacked;stack.set(value,result);if(isSet(value)){value.forEach(function(subValue){result.add(baseClone(subValue,bitmask,customizer,subValue,value,stack))});return result}if(isMap(value)){value.forEach(function(subValue,key){result.set(key,baseClone(subValue,bitmask,customizer,key,value,stack))});return result}var keysFunc=isFull?isFlat?getAllKeysIn:getAllKeys:isFlat?keysIn:keys;var props=isArr?void 0:keysFunc(value);arrayEach(props||value,function(subValue,key){if(props){key=subValue;subValue=value[key]}assignValue(result,key,baseClone(subValue,bitmask,customizer,key,value,stack))});return result}module.exports=baseClone},function(module,exports){function arrayEach(array,iteratee){var index=-1,length=null==array?0:array.length;while(++index<length)if(false===iteratee(array[index],index,array))break;return array}module.exports=arrayEach},function(module,exports,__webpack_require__){var getNative=__webpack_require__(155);var defineProperty=function(){try{var func=getNative(Object,"defineProperty");func({},"",{});return func}catch(e){}}();module.exports=defineProperty},function(module,exports,__webpack_require__){var copyObject=__webpack_require__(295),keys=__webpack_require__(234);function baseAssign(object,source){return object&&copyObject(source,keys(source),object)}module.exports=baseAssign},function(module,exports,__webpack_require__){var copyObject=__webpack_require__(295),keysIn=__webpack_require__(625);function baseAssignIn(object,source){return object&&copyObject(source,keysIn(source),object)}module.exports=baseAssignIn},function(module,exports,__webpack_require__){var isObject=__webpack_require__(184),isPrototype=__webpack_require__(395),nativeKeysIn=__webpack_require__(1391);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function baseKeysIn(object){if(!isObject(object))return nativeKeysIn(object);var isProto=isPrototype(object),result=[];for(var key in object)"constructor"==key&&(isProto||!hasOwnProperty.call(object,key))||result.push(key);return result}module.exports=baseKeysIn},function(module,exports){function nativeKeysIn(object){var result=[];if(null!=object)for(var key in Object(object))result.push(key);return result}module.exports=nativeKeysIn},function(module,exports,__webpack_require__){(function(module){var root=__webpack_require__(101);var freeExports=(true,exports)&&!exports.nodeType&&exports;var freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module;var moduleExports=freeModule&&freeModule.exports===freeExports;var Buffer=moduleExports?root.Buffer:void 0,allocUnsafe=Buffer?Buffer.allocUnsafe:void 0;function cloneBuffer(buffer,isDeep){if(isDeep)return buffer.slice();var length=buffer.length,result=allocUnsafe?allocUnsafe(length):new buffer.constructor(length);buffer.copy(result);return result}module.exports=cloneBuffer}).call(this,__webpack_require__(82)(module))},function(module,exports){function copyArray(source,array){var index=-1,length=source.length;array||(array=Array(length));while(++index<length)array[index]=source[index];return array}module.exports=copyArray},function(module,exports,__webpack_require__){var copyObject=__webpack_require__(295),getSymbols=__webpack_require__(401);function copySymbols(source,object){return copyObject(source,getSymbols(source),object)}module.exports=copySymbols},function(module,exports,__webpack_require__){var copyObject=__webpack_require__(295),getSymbolsIn=__webpack_require__(626);function copySymbolsIn(source,object){return copyObject(source,getSymbolsIn(source),object)}module.exports=copySymbolsIn},function(module,exports,__webpack_require__){var baseGetAllKeys=__webpack_require__(616),getSymbolsIn=__webpack_require__(626),keysIn=__webpack_require__(625);function getAllKeysIn(object){return baseGetAllKeys(object,keysIn,getSymbolsIn)}module.exports=getAllKeysIn},function(module,exports){var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function initCloneArray(array){var length=array.length,result=new array.constructor(length);if(length&&"string"==typeof array[0]&&hasOwnProperty.call(array,"index")){result.index=array.index;result.input=array.input}return result}module.exports=initCloneArray},function(module,exports,__webpack_require__){var cloneArrayBuffer=__webpack_require__(404),cloneDataView=__webpack_require__(1399),cloneRegExp=__webpack_require__(1400),cloneSymbol=__webpack_require__(1401),cloneTypedArray=__webpack_require__(1402);var boolTag="[object Boolean]",dateTag="[object Date]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]";var arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";function initCloneByTag(object,tag,isDeep){var Ctor=object.constructor;switch(tag){case arrayBufferTag:return cloneArrayBuffer(object);case boolTag:case dateTag:return new Ctor(+object);case dataViewTag:return cloneDataView(object,isDeep);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case uint8ClampedTag:case uint16Tag:case uint32Tag:return cloneTypedArray(object,isDeep);case mapTag:return new Ctor;case numberTag:case stringTag:return new Ctor(object);case regexpTag:return cloneRegExp(object);case setTag:return new Ctor;case symbolTag:return cloneSymbol(object)}}module.exports=initCloneByTag},function(module,exports,__webpack_require__){var cloneArrayBuffer=__webpack_require__(404);function cloneDataView(dataView,isDeep){var buffer=isDeep?cloneArrayBuffer(dataView.buffer):dataView.buffer;return new dataView.constructor(buffer,dataView.byteOffset,dataView.byteLength)}module.exports=cloneDataView},function(module,exports){var reFlags=/\w*$/;function cloneRegExp(regexp){var result=new regexp.constructor(regexp.source,reFlags.exec(regexp));result.lastIndex=regexp.lastIndex;return result}module.exports=cloneRegExp},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(233);var symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function cloneSymbol(symbol){return symbolValueOf?Object(symbolValueOf.call(symbol)):{}}module.exports=cloneSymbol},function(module,exports,__webpack_require__){var cloneArrayBuffer=__webpack_require__(404);function cloneTypedArray(typedArray,isDeep){var buffer=isDeep?cloneArrayBuffer(typedArray.buffer):typedArray.buffer;return new typedArray.constructor(buffer,typedArray.byteOffset,typedArray.length)}module.exports=cloneTypedArray},function(module,exports,__webpack_require__){var baseCreate=__webpack_require__(1404),getPrototype=__webpack_require__(396),isPrototype=__webpack_require__(395);function initCloneObject(object){return"function"!=typeof object.constructor||isPrototype(object)?{}:baseCreate(getPrototype(object))}module.exports=initCloneObject},function(module,exports,__webpack_require__){var isObject=__webpack_require__(184);var objectCreate=Object.create;var baseCreate=function(){function object(){}return function(proto){if(!isObject(proto))return{};if(objectCreate)return objectCreate(proto);object.prototype=proto;var result=new object;object.prototype=void 0;return result}}();module.exports=baseCreate},function(module,exports,__webpack_require__){var baseIsMap=__webpack_require__(1406),baseUnary=__webpack_require__(393),nodeUtil=__webpack_require__(394);var nodeIsMap=nodeUtil&&nodeUtil.isMap;var isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;module.exports=isMap},function(module,exports,__webpack_require__){var getTag=__webpack_require__(293),isObjectLike=__webpack_require__(114);var mapTag="[object Map]";function baseIsMap(value){return isObjectLike(value)&&getTag(value)==mapTag}module.exports=baseIsMap},function(module,exports,__webpack_require__){var baseIsSet=__webpack_require__(1408),baseUnary=__webpack_require__(393),nodeUtil=__webpack_require__(394);var nodeIsSet=nodeUtil&&nodeUtil.isSet;var isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;module.exports=isSet},function(module,exports,__webpack_require__){var getTag=__webpack_require__(293),isObjectLike=__webpack_require__(114);var setTag="[object Set]";function baseIsSet(value){return isObjectLike(value)&&getTag(value)==setTag}module.exports=baseIsSet},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.autoprefix=void 0;var _forOwn2=__webpack_require__(390);var _forOwn3=_interopRequireDefault(_forOwn2);var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var transforms={borderRadius:function borderRadius(value){return{msBorderRadius:value,MozBorderRadius:value,OBorderRadius:value,WebkitBorderRadius:value,borderRadius:value}},boxShadow:function boxShadow(value){return{msBoxShadow:value,MozBoxShadow:value,OBoxShadow:value,WebkitBoxShadow:value,boxShadow:value}},userSelect:function userSelect(value){return{WebkitTouchCallout:value,KhtmlUserSelect:value,MozUserSelect:value,msUserSelect:value,WebkitUserSelect:value,userSelect:value}},flex:function flex(value){return{WebkitBoxFlex:value,MozBoxFlex:value,WebkitFlex:value,msFlex:value,flex:value}},flexBasis:function flexBasis(value){return{WebkitFlexBasis:value,flexBasis:value}},justifyContent:function justifyContent(value){return{WebkitJustifyContent:value,justifyContent:value}},transition:function transition(value){return{msTransition:value,MozTransition:value,OTransition:value,WebkitTransition:value,transition:value}},transform:function transform(value){return{msTransform:value,MozTransform:value,OTransform:value,WebkitTransform:value,transform:value}},absolute:function absolute(value){var direction=value&&value.split(" ");return{position:"absolute",top:direction&&direction[0],right:direction&&direction[1],bottom:direction&&direction[2],left:direction&&direction[3]}},extend:function extend(name,otherElementStyles){var otherStyle=otherElementStyles[name];if(otherStyle)return otherStyle;return{extend:name}}};var autoprefix=exports.autoprefix=function autoprefix(elements){var prefixed={};(0,_forOwn3.default)(elements,function(styles,element){var expanded={};(0,_forOwn3.default)(styles,function(value,key){var transform=transforms[key];transform?expanded=_extends({},expanded,transform(value)):expanded[key]=value});prefixed[element]=expanded});return prefixed};exports.default=autoprefix},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.hover=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var hover=exports.hover=function hover(Component){var Span=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(_React$Component){_inherits(Hover,_React$Component);function Hover(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Hover);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Hover.__proto__||Object.getPrototypeOf(Hover)).call.apply(_ref,[this].concat(args))),_this),_this.state={hover:false},_this.handleMouseOver=function(){return _this.setState({hover:true})},_this.handleMouseOut=function(){return _this.setState({hover:false})},_this.render=function(){return _react2.default.createElement(Span,{onMouseOver:_this.handleMouseOver,onMouseOut:_this.handleMouseOut},_react2.default.createElement(Component,_extends({},_this.props,_this.state)))},_temp),_possibleConstructorReturn(_this,_ret)}return Hover}(_react2.default.Component)};exports.default=hover},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.active=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var active=exports.active=function active(Component){var Span=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(_React$Component){_inherits(Active,_React$Component);function Active(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Active);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Active.__proto__||Object.getPrototypeOf(Active)).call.apply(_ref,[this].concat(args))),_this),_this.state={active:false},_this.handleMouseDown=function(){return _this.setState({active:true})},_this.handleMouseUp=function(){return _this.setState({active:false})},_this.render=function(){return _react2.default.createElement(Span,{onMouseDown:_this.handleMouseDown,onMouseUp:_this.handleMouseUp},_react2.default.createElement(Component,_extends({},_this.props,_this.state)))},_temp),_possibleConstructorReturn(_this,_ret)}return Active}(_react2.default.Component)};exports.default=active},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var loopable=function loopable(i,length){var props={};var setProp=function setProp(name){var value=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];props[name]=value};0===i&&setProp("first-child");i===length-1&&setProp("last-child");(0===i||i%2===0)&&setProp("even");1===Math.abs(i%2)&&setProp("odd");setProp("nth-child",i);return props};exports.default=loopable},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Alpha=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _alpha=__webpack_require__(1414);var alpha=_interopRequireWildcard(_alpha);var _Checkboard=__webpack_require__(627);var _Checkboard2=_interopRequireDefault(_Checkboard);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var Alpha=exports.Alpha=function(_ref){_inherits(Alpha,_ref);function Alpha(){var _ref2;var _temp,_this,_ret;_classCallCheck(this,Alpha);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref2=Alpha.__proto__||Object.getPrototypeOf(Alpha)).call.apply(_ref2,[this].concat(args))),_this),_this.handleChange=function(e,skip){var change=alpha.calculateChange(e,skip,_this.props,_this.container);change&&_this.props.onChange&&_this.props.onChange(change,e)},_this.handleMouseDown=function(e){_this.handleChange(e,true);window.addEventListener("mousemove",_this.handleChange);window.addEventListener("mouseup",_this.handleMouseUp)},_this.handleMouseUp=function(){_this.unbindEventListeners()},_this.unbindEventListeners=function(){window.removeEventListener("mousemove",_this.handleChange);window.removeEventListener("mouseup",_this.handleMouseUp)},_temp),_possibleConstructorReturn(_this,_ret)}_createClass(Alpha,[{key:"componentWillUnmount",value:function componentWillUnmount(){this.unbindEventListeners()}},{key:"render",value:function render(){var _this2=this;var rgb=this.props.rgb;var styles=(0,_reactcss2.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+rgb.r+","+rgb.g+","+rgb.b+", 0) 0%,\n           rgba("+rgb.r+","+rgb.g+","+rgb.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*rgb.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+rgb.r+","+rgb.g+","+rgb.b+", 0) 0%,\n           rgba("+rgb.r+","+rgb.g+","+rgb.b+", 1) 100%)"},pointer:{left:0,top:100*rgb.a+"%"}},overwrite:_extends({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:true});return _react2.default.createElement("div",{style:styles.alpha},_react2.default.createElement("div",{style:styles.checkboard},_react2.default.createElement(_Checkboard2.default,{renderers:this.props.renderers})),_react2.default.createElement("div",{style:styles.gradient}),_react2.default.createElement("div",{style:styles.container,ref:function ref(container){return _this2.container=container},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},_react2.default.createElement("div",{style:styles.pointer},this.props.pointer?_react2.default.createElement(this.props.pointer,this.props):_react2.default.createElement("div",{style:styles.slider}))))}}]);return Alpha}(_react.PureComponent||_react.Component);exports.default=Alpha},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.calculateChange=function calculateChange(e,skip,props,container){e.preventDefault();var containerWidth=container.clientWidth;var containerHeight=container.clientHeight;var x="number"===typeof e.pageX?e.pageX:e.touches[0].pageX;var y="number"===typeof e.pageY?e.pageY:e.touches[0].pageY;var left=x-(container.getBoundingClientRect().left+window.pageXOffset);var top=y-(container.getBoundingClientRect().top+window.pageYOffset);if("vertical"===props.direction){var a=void 0;a=top<0?0:top>containerHeight?1:Math.round(100*top/containerHeight)/100;if(props.hsl.a!==a)return{h:props.hsl.h,s:props.hsl.s,l:props.hsl.l,a:a,source:"rgb"}}else{var _a=void 0;_a=left<0?0:left>containerWidth?1:Math.round(100*left/containerWidth)/100;if(props.a!==_a)return{h:props.hsl.h,s:props.hsl.s,l:props.hsl.l,a:_a,source:"rgb"}}return null}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var checkboardCache={};var render=exports.render=function render(c1,c2,size,serverCanvas){if("undefined"===typeof document&&!serverCanvas)return null;var canvas=serverCanvas?new serverCanvas:document.createElement("canvas");canvas.width=2*size;canvas.height=2*size;var ctx=canvas.getContext("2d");if(!ctx)return null;ctx.fillStyle=c1;ctx.fillRect(0,0,canvas.width,canvas.height);ctx.fillStyle=c2;ctx.fillRect(0,0,size,size);ctx.translate(size,size);ctx.fillRect(0,0,size,size);return canvas.toDataURL()};exports.get=function get(c1,c2,size,serverCanvas){var key=c1+"-"+c2+"-"+size+(serverCanvas?"-server":"");var checkboard=render(c1,c2,size,serverCanvas);if(checkboardCache[key])return checkboardCache[key];checkboardCache[key]=checkboard;return checkboard}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EditableInput=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var EditableInput=exports.EditableInput=function(_ref){_inherits(EditableInput,_ref);function EditableInput(props){_classCallCheck(this,EditableInput);var _this=_possibleConstructorReturn(this,(EditableInput.__proto__||Object.getPrototypeOf(EditableInput)).call(this));_this.handleBlur=function(){_this.state.blurValue&&_this.setState({value:_this.state.blurValue,blurValue:null})};_this.handleChange=function(e){_this.props.label?_this.props.onChange&&_this.props.onChange(_defineProperty({},_this.props.label,e.target.value),e):_this.props.onChange&&_this.props.onChange(e.target.value,e);_this.setState({value:e.target.value})};_this.handleKeyDown=function(e){var stringValue=String(e.target.value);var isPercentage=stringValue.indexOf("%")>-1;var number=Number(stringValue.replace(/%/g,""));if(!isNaN(number)){var amount=_this.props.arrowOffset||1;if(38===e.keyCode){null!==_this.props.label?_this.props.onChange&&_this.props.onChange(_defineProperty({},_this.props.label,number+amount),e):_this.props.onChange&&_this.props.onChange(number+amount,e);isPercentage?_this.setState({value:number+amount+"%"}):_this.setState({value:number+amount})}if(40===e.keyCode){null!==_this.props.label?_this.props.onChange&&_this.props.onChange(_defineProperty({},_this.props.label,number-amount),e):_this.props.onChange&&_this.props.onChange(number-amount,e);isPercentage?_this.setState({value:number-amount+"%"}):_this.setState({value:number-amount})}}};_this.handleDrag=function(e){if(_this.props.dragLabel){var newValue=Math.round(_this.props.value+e.movementX);newValue>=0&&newValue<=_this.props.dragMax&&_this.props.onChange&&_this.props.onChange(_defineProperty({},_this.props.label,newValue),e)}};_this.handleMouseDown=function(e){if(_this.props.dragLabel){e.preventDefault();_this.handleDrag(e);window.addEventListener("mousemove",_this.handleDrag);window.addEventListener("mouseup",_this.handleMouseUp)}};_this.handleMouseUp=function(){_this.unbindEventListeners()};_this.unbindEventListeners=function(){window.removeEventListener("mousemove",_this.handleDrag);window.removeEventListener("mouseup",_this.handleMouseUp)};_this.state={value:String(props.value).toUpperCase(),blurValue:String(props.value).toUpperCase()};return _this}_createClass(EditableInput,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){var input=this.input;nextProps.value!==this.state.value&&(input===document.activeElement?this.setState({blurValue:String(nextProps.value).toUpperCase()}):this.setState({value:String(nextProps.value).toUpperCase(),blurValue:!this.state.blurValue&&String(nextProps.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.unbindEventListeners()}},{key:"render",value:function render(){var _this2=this;var styles=(0,_reactcss2.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":true},this.props);return _react2.default.createElement("div",{style:styles.wrap},_react2.default.createElement("input",{style:styles.input,ref:function ref(input){return _this2.input=input},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?_react2.default.createElement("span",{style:styles.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]);return EditableInput}(_react.PureComponent||_react.Component);exports.default=EditableInput},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Hue=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _hue=__webpack_require__(1418);var hue=_interopRequireWildcard(_hue);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var Hue=exports.Hue=function(_ref){_inherits(Hue,_ref);function Hue(){var _ref2;var _temp,_this,_ret;_classCallCheck(this,Hue);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref2=Hue.__proto__||Object.getPrototypeOf(Hue)).call.apply(_ref2,[this].concat(args))),_this),_this.handleChange=function(e,skip){var change=hue.calculateChange(e,skip,_this.props,_this.container);change&&_this.props.onChange&&_this.props.onChange(change,e)},_this.handleMouseDown=function(e){_this.handleChange(e,true);window.addEventListener("mousemove",_this.handleChange);window.addEventListener("mouseup",_this.handleMouseUp)},_this.handleMouseUp=function(){_this.unbindEventListeners()},_temp),_possibleConstructorReturn(_this,_ret)}_createClass(Hue,[{key:"componentWillUnmount",value:function componentWillUnmount(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange);window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function render(){var _this2=this;var _props$direction=this.props.direction,direction=void 0===_props$direction?"horizontal":_props$direction;var styles=(0,_reactcss2.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===direction});return _react2.default.createElement("div",{style:styles.hue},_react2.default.createElement("div",{className:"hue-"+direction,style:styles.container,ref:function ref(container){return _this2.container=container},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},_react2.default.createElement("style",null,"\n            .hue-horizontal {\n              background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n                33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n                17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n\n            .hue-vertical {\n              background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n                #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n                #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n          "),_react2.default.createElement("div",{style:styles.pointer},this.props.pointer?_react2.default.createElement(this.props.pointer,this.props):_react2.default.createElement("div",{style:styles.slider}))))}}]);return Hue}(_react.PureComponent||_react.Component);exports.default=Hue},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.calculateChange=function calculateChange(e,skip,props,container){e.preventDefault();var containerWidth=container.clientWidth;var containerHeight=container.clientHeight;var x="number"===typeof e.pageX?e.pageX:e.touches[0].pageX;var y="number"===typeof e.pageY?e.pageY:e.touches[0].pageY;var left=x-(container.getBoundingClientRect().left+window.pageXOffset);var top=y-(container.getBoundingClientRect().top+window.pageYOffset);if("vertical"===props.direction){var h=void 0;if(top<0)h=359;else if(top>containerHeight)h=0;else{var percent=-100*top/containerHeight+100;h=360*percent/100}if(props.hsl.h!==h)return{h:h,s:props.hsl.s,l:props.hsl.l,a:props.hsl.a,source:"rgb"}}else{var _h=void 0;if(left<0)_h=0;else if(left>containerWidth)_h=359;else{var _percent=100*left/containerWidth;_h=360*_percent/100}if(props.hsl.h!==_h)return{h:_h,s:props.hsl.s,l:props.hsl.l,a:props.hsl.a,source:"rgb"}}return null}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Raised=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(96);var _propTypes2=_interopRequireDefault(_propTypes);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Raised=exports.Raised=function Raised(_ref){var zDepth=_ref.zDepth,radius=_ref.radius,background=_ref.background,children=_ref.children;var styles=(0,_reactcss2.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+zDepth+"px "+4*zDepth+"px rgba(0,0,0,.24)",borderRadius:radius,background:background}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},{"zDepth-1":1===zDepth});return _react2.default.createElement("div",{style:styles.wrap},_react2.default.createElement("div",{style:styles.bg}),_react2.default.createElement("div",{style:styles.content},children))};Raised.propTypes={background:_propTypes2.default.string,zDepth:_propTypes2.default.oneOf([0,1,2,3,4,5]),radius:_propTypes2.default.number};Raised.defaultProps={background:"#fff",zDepth:1,radius:2};exports.default=Raised},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);var ReactPropTypesSecret=__webpack_require__(1421);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Saturation=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _throttle=__webpack_require__(1423);var _throttle2=_interopRequireDefault(_throttle);var _saturation=__webpack_require__(1428);var saturation=_interopRequireWildcard(_saturation);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var Saturation=exports.Saturation=function(_ref){_inherits(Saturation,_ref);function Saturation(props){_classCallCheck(this,Saturation);var _this=_possibleConstructorReturn(this,(Saturation.__proto__||Object.getPrototypeOf(Saturation)).call(this,props));_this.handleChange=function(e,skip){_this.props.onChange&&_this.throttle(_this.props.onChange,saturation.calculateChange(e,skip,_this.props,_this.container),e)};_this.handleMouseDown=function(e){_this.handleChange(e,true);window.addEventListener("mousemove",_this.handleChange);window.addEventListener("mouseup",_this.handleMouseUp)};_this.handleMouseUp=function(){_this.unbindEventListeners()};_this.throttle=(0,_throttle2.default)(function(fn,data,e){fn(data,e)},50);return _this}_createClass(Saturation,[{key:"componentWillUnmount",value:function componentWillUnmount(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function unbindEventListeners(){window.removeEventListener("mousemove",this.handleChange);window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function render(){var _this2=this;var _ref2=this.props.style||{},color=_ref2.color,white=_ref2.white,black=_ref2.black,pointer=_ref2.pointer,circle=_ref2.circle;var styles=(0,_reactcss2.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n            0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:color,white:white,black:black,pointer:pointer,circle:circle}},{custom:!!this.props.style});return _react2.default.createElement("div",{style:styles.color,ref:function ref(container){return _this2.container=container},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},_react2.default.createElement("style",null,"\n          .saturation-white {\n            background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n            background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n          }\n          .saturation-black {\n            background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n            background: linear-gradient(to top, #000, rgba(0,0,0,0));\n          }\n        "),_react2.default.createElement("div",{style:styles.white,className:"saturation-white"},_react2.default.createElement("div",{style:styles.black,className:"saturation-black"}),_react2.default.createElement("div",{style:styles.pointer},this.props.pointer?_react2.default.createElement(this.props.pointer,this.props):_react2.default.createElement("div",{style:styles.circle}))))}}]);return Saturation}(_react.PureComponent||_react.Component);exports.default=Saturation},function(module,exports,__webpack_require__){var debounce=__webpack_require__(628),isObject=__webpack_require__(185);var FUNC_ERROR_TEXT="Expected a function";function throttle(func,wait,options){var leading=true,trailing=true;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);if(isObject(options)){leading="leading"in options?!!options.leading:leading;trailing="trailing"in options?!!options.trailing:trailing}return debounce(func,wait,{leading:leading,maxWait:wait,trailing:trailing})}module.exports=throttle},function(module,exports,__webpack_require__){var root=__webpack_require__(102);var now=function(){return root.Date.now()};module.exports=now},function(module,exports,__webpack_require__){var isObject=__webpack_require__(185),isSymbol=__webpack_require__(296);var NAN=NaN;var reTrim=/^\s+|\s+$/g;var reIsBadHex=/^[-+]0x[0-9a-f]+$/i;var reIsBinary=/^0b[01]+$/i;var reIsOctal=/^0o[0-7]+$/i;var freeParseInt=parseInt;function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NAN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=value.replace(reTrim,"");var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NAN:+value}module.exports=toNumber},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(297);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;var nativeObjectToString=objectProto.toString;var symToStringTag=Symbol?Symbol.toStringTag:void 0;function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=true}catch(e){}var result=nativeObjectToString.call(value);unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]);return result}module.exports=getRawTag},function(module,exports){var objectProto=Object.prototype;var nativeObjectToString=objectProto.toString;function objectToString(value){return nativeObjectToString.call(value)}module.exports=objectToString},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.calculateChange=function calculateChange(e,skip,props,container){e.preventDefault();var _container$getBoundin=container.getBoundingClientRect(),containerWidth=_container$getBoundin.width,containerHeight=_container$getBoundin.height;var x="number"===typeof e.pageX?e.pageX:e.touches[0].pageX;var y="number"===typeof e.pageY?e.pageY:e.touches[0].pageY;var left=x-(container.getBoundingClientRect().left+window.pageXOffset);var top=y-(container.getBoundingClientRect().top+window.pageYOffset);left<0?left=0:left>containerWidth?left=containerWidth:top<0?top=0:top>containerHeight&&(top=containerHeight);var saturation=100*left/containerWidth;var bright=-100*top/containerHeight+100;return{h:props.hsl.h,s:saturation,v:bright,a:props.hsl.a,source:"rgb"}}},function(module,exports,__webpack_require__){module.exports=__webpack_require__(1430)},function(module,exports,__webpack_require__){var arrayEach=__webpack_require__(1431),baseEach=__webpack_require__(631),castFunction=__webpack_require__(1447),isArray=__webpack_require__(103);function forEach(collection,iteratee){var func=isArray(collection)?arrayEach:baseEach;return func(collection,castFunction(iteratee))}module.exports=forEach},function(module,exports){function arrayEach(array,iteratee){var index=-1,length=null==array?0:array.length;while(++index<length)if(false===iteratee(array[index],index,array))break;return array}module.exports=arrayEach},function(module,exports,__webpack_require__){var baseFor=__webpack_require__(1433),keys=__webpack_require__(405);function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}module.exports=baseForOwn},function(module,exports,__webpack_require__){var createBaseFor=__webpack_require__(1434);var baseFor=createBaseFor();module.exports=baseFor},function(module,exports){function createBaseFor(fromRight){return function(object,iteratee,keysFunc){var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;while(length--){var key=props[fromRight?length:++index];if(false===iteratee(iterable[key],key,iterable))break}return object}}module.exports=createBaseFor},function(module,exports,__webpack_require__){var baseTimes=__webpack_require__(1436),isArguments=__webpack_require__(632),isArray=__webpack_require__(103),isBuffer=__webpack_require__(633),isIndex=__webpack_require__(634),isTypedArray=__webpack_require__(635);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)!inherited&&!hasOwnProperty.call(value,key)||skipIndexes&&("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length))||result.push(key);return result}module.exports=arrayLikeKeys},function(module,exports){function baseTimes(n,iteratee){var index=-1,result=Array(n);while(++index<n)result[index]=iteratee(index);return result}module.exports=baseTimes},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(235),isObjectLike=__webpack_require__(236);var argsTag="[object Arguments]";function baseIsArguments(value){return isObjectLike(value)&&baseGetTag(value)==argsTag}module.exports=baseIsArguments},function(module,exports){function stubFalse(){return false}module.exports=stubFalse},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(235),isLength=__webpack_require__(406),isObjectLike=__webpack_require__(236);var argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]";var arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";var typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=true;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=false;function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}module.exports=baseIsTypedArray},function(module,exports){function baseUnary(func){return function(value){return func(value)}}module.exports=baseUnary},function(module,exports,__webpack_require__){(function(module){var freeGlobal=__webpack_require__(629);var freeExports=(true,exports)&&!exports.nodeType&&exports;var freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module;var moduleExports=freeModule&&freeModule.exports===freeExports;var freeProcess=moduleExports&&freeGlobal.process;var nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;if(types)return types;return freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();module.exports=nodeUtil}).call(this,__webpack_require__(82)(module))},function(module,exports,__webpack_require__){var isPrototype=__webpack_require__(1443),nativeKeys=__webpack_require__(1444);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}module.exports=baseKeys},function(module,exports){var objectProto=Object.prototype;function isPrototype(value){var Ctor=value&&value.constructor,proto="function"==typeof Ctor&&Ctor.prototype||objectProto;return value===proto}module.exports=isPrototype},function(module,exports,__webpack_require__){var overArg=__webpack_require__(1445);var nativeKeys=overArg(Object.keys,Object);module.exports=nativeKeys},function(module,exports){function overArg(func,transform){return function(arg){return func(transform(arg))}}module.exports=overArg},function(module,exports,__webpack_require__){var isArrayLike=__webpack_require__(407);function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){if(null==collection)return collection;if(!isArrayLike(collection))return eachFunc(collection,iteratee);var length=collection.length,index=fromRight?length:-1,iterable=Object(collection);while(fromRight?index--:++index<length)if(false===iteratee(iterable[index],index,iterable))break;return collection}}module.exports=createBaseEach},function(module,exports,__webpack_require__){var identity=__webpack_require__(637);function castFunction(value){return"function"==typeof value?value:identity}module.exports=castFunction},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;(function(Math){var trimLeft=/^\s+/,trimRight=/\s+$/,tinyCounter=0,mathRound=Math.round,mathMin=Math.min,mathMax=Math.max,mathRandom=Math.random;function tinycolor(color,opts){color=color||"";opts=opts||{};if(color instanceof tinycolor)return color;if(!(this instanceof tinycolor))return new tinycolor(color,opts);var rgb=inputToRGB(color);this._originalInput=color,this._r=rgb.r,this._g=rgb.g,this._b=rgb.b,this._a=rgb.a,this._roundA=mathRound(100*this._a)/100,this._format=opts.format||rgb.format;this._gradientType=opts.gradientType;this._r<1&&(this._r=mathRound(this._r));this._g<1&&(this._g=mathRound(this._g));this._b<1&&(this._b=mathRound(this._b));this._ok=rgb.ok;this._tc_id=tinyCounter++}tinycolor.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var rgb=this.toRgb();return(299*rgb.r+587*rgb.g+114*rgb.b)/1e3},getLuminance:function(){var rgb=this.toRgb();var RsRGB,GsRGB,BsRGB,R,G,B;RsRGB=rgb.r/255;GsRGB=rgb.g/255;BsRGB=rgb.b/255;R=RsRGB<=.03928?RsRGB/12.92:Math.pow((RsRGB+.055)/1.055,2.4);G=GsRGB<=.03928?GsRGB/12.92:Math.pow((GsRGB+.055)/1.055,2.4);B=BsRGB<=.03928?BsRGB/12.92:Math.pow((BsRGB+.055)/1.055,2.4);return.2126*R+.7152*G+.0722*B},setAlpha:function(value){this._a=boundAlpha(value);this._roundA=mathRound(100*this._a)/100;return this},toHsv:function(){var hsv=rgbToHsv(this._r,this._g,this._b);return{h:360*hsv.h,s:hsv.s,v:hsv.v,a:this._a}},toHsvString:function(){var hsv=rgbToHsv(this._r,this._g,this._b);var h=mathRound(360*hsv.h),s=mathRound(100*hsv.s),v=mathRound(100*hsv.v);return 1==this._a?"hsv("+h+", "+s+"%, "+v+"%)":"hsva("+h+", "+s+"%, "+v+"%, "+this._roundA+")"},toHsl:function(){var hsl=rgbToHsl(this._r,this._g,this._b);return{h:360*hsl.h,s:hsl.s,l:hsl.l,a:this._a}},toHslString:function(){var hsl=rgbToHsl(this._r,this._g,this._b);var h=mathRound(360*hsl.h),s=mathRound(100*hsl.s),l=mathRound(100*hsl.l);return 1==this._a?"hsl("+h+", "+s+"%, "+l+"%)":"hsla("+h+", "+s+"%, "+l+"%, "+this._roundA+")"},toHex:function(allow3Char){return rgbToHex(this._r,this._g,this._b,allow3Char)},toHexString:function(allow3Char){return"#"+this.toHex(allow3Char)},toHex8:function(allow4Char){return rgbaToHex(this._r,this._g,this._b,this._a,allow4Char)},toHex8String:function(allow4Char){return"#"+this.toHex8(allow4Char)},toRgb:function(){return{r:mathRound(this._r),g:mathRound(this._g),b:mathRound(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+mathRound(this._r)+", "+mathRound(this._g)+", "+mathRound(this._b)+")":"rgba("+mathRound(this._r)+", "+mathRound(this._g)+", "+mathRound(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:mathRound(100*bound01(this._r,255))+"%",g:mathRound(100*bound01(this._g,255))+"%",b:mathRound(100*bound01(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+mathRound(100*bound01(this._r,255))+"%, "+mathRound(100*bound01(this._g,255))+"%, "+mathRound(100*bound01(this._b,255))+"%)":"rgba("+mathRound(100*bound01(this._r,255))+"%, "+mathRound(100*bound01(this._g,255))+"%, "+mathRound(100*bound01(this._b,255))+"%, "+this._roundA+")"},toName:function(){if(0===this._a)return"transparent";if(this._a<1)return false;return hexNames[rgbToHex(this._r,this._g,this._b,true)]||false},toFilter:function(secondColor){var hex8String="#"+rgbaToArgbHex(this._r,this._g,this._b,this._a);var secondHex8String=hex8String;var gradientType=this._gradientType?"GradientType = 1, ":"";if(secondColor){var s=tinycolor(secondColor);secondHex8String="#"+rgbaToArgbHex(s._r,s._g,s._b,s._a)}return"progid:DXImageTransform.Microsoft.gradient("+gradientType+"startColorstr="+hex8String+",endColorstr="+secondHex8String+")"},toString:function(format){var formatSet=!!format;format=format||this._format;var formattedString=false;var hasAlpha=this._a<1&&this._a>=0;var needsAlphaFormat=!formatSet&&hasAlpha&&("hex"===format||"hex6"===format||"hex3"===format||"hex4"===format||"hex8"===format||"name"===format);if(needsAlphaFormat){if("name"===format&&0===this._a)return this.toName();return this.toRgbString()}"rgb"===format&&(formattedString=this.toRgbString());"prgb"===format&&(formattedString=this.toPercentageRgbString());"hex"!==format&&"hex6"!==format||(formattedString=this.toHexString());"hex3"===format&&(formattedString=this.toHexString(true));"hex4"===format&&(formattedString=this.toHex8String(true));"hex8"===format&&(formattedString=this.toHex8String());"name"===format&&(formattedString=this.toName());"hsl"===format&&(formattedString=this.toHslString());"hsv"===format&&(formattedString=this.toHsvString());return formattedString||this.toHexString()},clone:function(){return tinycolor(this.toString())},_applyModification:function(fn,args){var color=fn.apply(null,[this].concat([].slice.call(args)));this._r=color._r;this._g=color._g;this._b=color._b;this.setAlpha(color._a);return this},lighten:function(){return this._applyModification(lighten,arguments)},brighten:function(){return this._applyModification(brighten,arguments)},darken:function(){return this._applyModification(darken,arguments)},desaturate:function(){return this._applyModification(desaturate,arguments)},saturate:function(){return this._applyModification(saturate,arguments)},greyscale:function(){return this._applyModification(greyscale,arguments)},spin:function(){return this._applyModification(spin,arguments)},_applyCombination:function(fn,args){return fn.apply(null,[this].concat([].slice.call(args)))},analogous:function(){return this._applyCombination(analogous,arguments)},complement:function(){return this._applyCombination(complement,arguments)},monochromatic:function(){return this._applyCombination(monochromatic,arguments)},splitcomplement:function(){return this._applyCombination(splitcomplement,arguments)},triad:function(){return this._applyCombination(triad,arguments)},tetrad:function(){return this._applyCombination(tetrad,arguments)}};tinycolor.fromRatio=function(color,opts){if("object"==typeof color){var newColor={};for(var i in color)color.hasOwnProperty(i)&&(newColor[i]="a"===i?color[i]:convertToPercentage(color[i]));color=newColor}return tinycolor(color,opts)};function inputToRGB(color){var rgb={r:0,g:0,b:0};var a=1;var s=null;var v=null;var l=null;var ok=false;var format=false;"string"==typeof color&&(color=stringInputToObject(color));if("object"==typeof color){if(isValidCSSUnit(color.r)&&isValidCSSUnit(color.g)&&isValidCSSUnit(color.b)){rgb=rgbToRgb(color.r,color.g,color.b);ok=true;format="%"===String(color.r).substr(-1)?"prgb":"rgb"}else if(isValidCSSUnit(color.h)&&isValidCSSUnit(color.s)&&isValidCSSUnit(color.v)){s=convertToPercentage(color.s);v=convertToPercentage(color.v);rgb=hsvToRgb(color.h,s,v);ok=true;format="hsv"}else if(isValidCSSUnit(color.h)&&isValidCSSUnit(color.s)&&isValidCSSUnit(color.l)){s=convertToPercentage(color.s);l=convertToPercentage(color.l);rgb=hslToRgb(color.h,s,l);ok=true;format="hsl"}color.hasOwnProperty("a")&&(a=color.a)}a=boundAlpha(a);return{ok:ok,format:color.format||format,r:mathMin(255,mathMax(rgb.r,0)),g:mathMin(255,mathMax(rgb.g,0)),b:mathMin(255,mathMax(rgb.b,0)),a:a}}function rgbToRgb(r,g,b){return{r:255*bound01(r,255),g:255*bound01(g,255),b:255*bound01(b,255)}}function rgbToHsl(r,g,b){r=bound01(r,255);g=bound01(g,255);b=bound01(b,255);var max=mathMax(r,g,b),min=mathMin(r,g,b);var h,s,l=(max+min)/2;if(max==min)h=s=0;else{var d=max-min;s=l>.5?d/(2-max-min):d/(max+min);switch(max){case r:h=(g-b)/d+(g<b?6:0);break;case g:h=(b-r)/d+2;break;case b:h=(r-g)/d+4}h/=6}return{h:h,s:s,l:l}}function hslToRgb(h,s,l){var r,g,b;h=bound01(h,360);s=bound01(s,100);l=bound01(l,100);function hue2rgb(p,q,t){t<0&&(t+=1);t>1&&(t-=1);if(t<1/6)return p+6*(q-p)*t;if(t<.5)return q;if(t<2/3)return p+(q-p)*(2/3-t)*6;return p}if(0===s)r=g=b=l;else{var q=l<.5?l*(1+s):l+s-l*s;var p=2*l-q;r=hue2rgb(p,q,h+1/3);g=hue2rgb(p,q,h);b=hue2rgb(p,q,h-1/3)}return{r:255*r,g:255*g,b:255*b}}function rgbToHsv(r,g,b){r=bound01(r,255);g=bound01(g,255);b=bound01(b,255);var max=mathMax(r,g,b),min=mathMin(r,g,b);var h,s,v=max;var d=max-min;s=0===max?0:d/max;if(max==min)h=0;else{switch(max){case r:h=(g-b)/d+(g<b?6:0);break;case g:h=(b-r)/d+2;break;case b:h=(r-g)/d+4}h/=6}return{h:h,s:s,v:v}}function hsvToRgb(h,s,v){h=6*bound01(h,360);s=bound01(s,100);v=bound01(v,100);var i=Math.floor(h),f=h-i,p=v*(1-s),q=v*(1-f*s),t=v*(1-(1-f)*s),mod=i%6,r=[v,q,p,p,t,v][mod],g=[t,v,v,q,p,p][mod],b=[p,p,t,v,v,q][mod];return{r:255*r,g:255*g,b:255*b}}function rgbToHex(r,g,b,allow3Char){var hex=[pad2(mathRound(r).toString(16)),pad2(mathRound(g).toString(16)),pad2(mathRound(b).toString(16))];if(allow3Char&&hex[0].charAt(0)==hex[0].charAt(1)&&hex[1].charAt(0)==hex[1].charAt(1)&&hex[2].charAt(0)==hex[2].charAt(1))return hex[0].charAt(0)+hex[1].charAt(0)+hex[2].charAt(0);return hex.join("")}function rgbaToHex(r,g,b,a,allow4Char){var hex=[pad2(mathRound(r).toString(16)),pad2(mathRound(g).toString(16)),pad2(mathRound(b).toString(16)),pad2(convertDecimalToHex(a))];if(allow4Char&&hex[0].charAt(0)==hex[0].charAt(1)&&hex[1].charAt(0)==hex[1].charAt(1)&&hex[2].charAt(0)==hex[2].charAt(1)&&hex[3].charAt(0)==hex[3].charAt(1))return hex[0].charAt(0)+hex[1].charAt(0)+hex[2].charAt(0)+hex[3].charAt(0);return hex.join("")}function rgbaToArgbHex(r,g,b,a){var hex=[pad2(convertDecimalToHex(a)),pad2(mathRound(r).toString(16)),pad2(mathRound(g).toString(16)),pad2(mathRound(b).toString(16))];return hex.join("")}tinycolor.equals=function(color1,color2){if(!color1||!color2)return false;return tinycolor(color1).toRgbString()==tinycolor(color2).toRgbString()};tinycolor.random=function(){return tinycolor.fromRatio({r:mathRandom(),g:mathRandom(),b:mathRandom()})};function desaturate(color,amount){amount=0===amount?0:amount||10;var hsl=tinycolor(color).toHsl();hsl.s-=amount/100;hsl.s=clamp01(hsl.s);return tinycolor(hsl)}function saturate(color,amount){amount=0===amount?0:amount||10;var hsl=tinycolor(color).toHsl();hsl.s+=amount/100;hsl.s=clamp01(hsl.s);return tinycolor(hsl)}function greyscale(color){return tinycolor(color).desaturate(100)}function lighten(color,amount){amount=0===amount?0:amount||10;var hsl=tinycolor(color).toHsl();hsl.l+=amount/100;hsl.l=clamp01(hsl.l);return tinycolor(hsl)}function brighten(color,amount){amount=0===amount?0:amount||10;var rgb=tinycolor(color).toRgb();rgb.r=mathMax(0,mathMin(255,rgb.r-mathRound(-amount/100*255)));rgb.g=mathMax(0,mathMin(255,rgb.g-mathRound(-amount/100*255)));rgb.b=mathMax(0,mathMin(255,rgb.b-mathRound(-amount/100*255)));return tinycolor(rgb)}function darken(color,amount){amount=0===amount?0:amount||10;var hsl=tinycolor(color).toHsl();hsl.l-=amount/100;hsl.l=clamp01(hsl.l);return tinycolor(hsl)}function spin(color,amount){var hsl=tinycolor(color).toHsl();var hue=(hsl.h+amount)%360;hsl.h=hue<0?360+hue:hue;return tinycolor(hsl)}function complement(color){var hsl=tinycolor(color).toHsl();hsl.h=(hsl.h+180)%360;return tinycolor(hsl)}function triad(color){var hsl=tinycolor(color).toHsl();var h=hsl.h;return[tinycolor(color),tinycolor({h:(h+120)%360,s:hsl.s,l:hsl.l}),tinycolor({h:(h+240)%360,s:hsl.s,l:hsl.l})]}function tetrad(color){var hsl=tinycolor(color).toHsl();var h=hsl.h;return[tinycolor(color),tinycolor({h:(h+90)%360,s:hsl.s,l:hsl.l}),tinycolor({h:(h+180)%360,s:hsl.s,l:hsl.l}),tinycolor({h:(h+270)%360,s:hsl.s,l:hsl.l})]}function splitcomplement(color){var hsl=tinycolor(color).toHsl();var h=hsl.h;return[tinycolor(color),tinycolor({h:(h+72)%360,s:hsl.s,l:hsl.l}),tinycolor({h:(h+216)%360,s:hsl.s,l:hsl.l})]}function analogous(color,results,slices){results=results||6;slices=slices||30;var hsl=tinycolor(color).toHsl();var part=360/slices;var ret=[tinycolor(color)];for(hsl.h=(hsl.h-(part*results>>1)+720)%360;--results;){hsl.h=(hsl.h+part)%360;ret.push(tinycolor(hsl))}return ret}function monochromatic(color,results){results=results||6;var hsv=tinycolor(color).toHsv();var h=hsv.h,s=hsv.s,v=hsv.v;var ret=[];var modification=1/results;while(results--){ret.push(tinycolor({h:h,s:s,v:v}));v=(v+modification)%1}return ret}tinycolor.mix=function(color1,color2,amount){amount=0===amount?0:amount||50;var rgb1=tinycolor(color1).toRgb();var rgb2=tinycolor(color2).toRgb();var p=amount/100;var rgba={r:(rgb2.r-rgb1.r)*p+rgb1.r,g:(rgb2.g-rgb1.g)*p+rgb1.g,b:(rgb2.b-rgb1.b)*p+rgb1.b,a:(rgb2.a-rgb1.a)*p+rgb1.a};return tinycolor(rgba)};tinycolor.readability=function(color1,color2){var c1=tinycolor(color1);var c2=tinycolor(color2);return(Math.max(c1.getLuminance(),c2.getLuminance())+.05)/(Math.min(c1.getLuminance(),c2.getLuminance())+.05)};tinycolor.isReadable=function(color1,color2,wcag2){var readability=tinycolor.readability(color1,color2);var wcag2Parms,out;out=false;wcag2Parms=validateWCAG2Parms(wcag2);switch(wcag2Parms.level+wcag2Parms.size){case"AAsmall":case"AAAlarge":out=readability>=4.5;break;case"AAlarge":out=readability>=3;break;case"AAAsmall":out=readability>=7}return out};tinycolor.mostReadable=function(baseColor,colorList,args){var bestColor=null;var bestScore=0;var readability;var includeFallbackColors,level,size;args=args||{};includeFallbackColors=args.includeFallbackColors;level=args.level;size=args.size;for(var i=0;i<colorList.length;i++){readability=tinycolor.readability(baseColor,colorList[i]);if(readability>bestScore){bestScore=readability;bestColor=tinycolor(colorList[i])}}if(tinycolor.isReadable(baseColor,bestColor,{level:level,size:size})||!includeFallbackColors)return bestColor;args.includeFallbackColors=false;return tinycolor.mostReadable(baseColor,["#fff","#000"],args)};var names=tinycolor.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var hexNames=tinycolor.hexNames=flip(names);function flip(o){var flipped={};for(var i in o)o.hasOwnProperty(i)&&(flipped[o[i]]=i);return flipped}function boundAlpha(a){a=parseFloat(a);(isNaN(a)||a<0||a>1)&&(a=1);return a}function bound01(n,max){isOnePointZero(n)&&(n="100%");var processPercent=isPercentage(n);n=mathMin(max,mathMax(0,parseFloat(n)));processPercent&&(n=parseInt(n*max,10)/100);if(Math.abs(n-max)<1e-6)return 1;return n%max/parseFloat(max)}function clamp01(val){return mathMin(1,mathMax(0,val))}function parseIntFromHex(val){return parseInt(val,16)}function isOnePointZero(n){return"string"==typeof n&&-1!=n.indexOf(".")&&1===parseFloat(n)}function isPercentage(n){return"string"===typeof n&&-1!=n.indexOf("%")}function pad2(c){return 1==c.length?"0"+c:""+c}function convertToPercentage(n){n<=1&&(n=100*n+"%");return n}function convertDecimalToHex(d){return Math.round(255*parseFloat(d)).toString(16)}function convertHexToDecimal(h){return parseIntFromHex(h)/255}var matchers=(CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:"+CSS_NUMBER+")|(?:"+CSS_INTEGER+")",PERMISSIVE_MATCH3="[\\s|\\(]+("+CSS_UNIT+")[,|\\s]+("+CSS_UNIT+")[,|\\s]+("+CSS_UNIT+")\\s*\\)?",PERMISSIVE_MATCH4="[\\s|\\(]+("+CSS_UNIT+")[,|\\s]+("+CSS_UNIT+")[,|\\s]+("+CSS_UNIT+")[,|\\s]+("+CSS_UNIT+")\\s*\\)?",{CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});var CSS_INTEGER,CSS_NUMBER,CSS_UNIT,PERMISSIVE_MATCH3,PERMISSIVE_MATCH4;function isValidCSSUnit(color){return!!matchers.CSS_UNIT.exec(color)}function stringInputToObject(color){color=color.replace(trimLeft,"").replace(trimRight,"").toLowerCase();var named=false;if(names[color]){color=names[color];named=true}else if("transparent"==color)return{r:0,g:0,b:0,a:0,format:"name"};var match;if(match=matchers.rgb.exec(color))return{r:match[1],g:match[2],b:match[3]};if(match=matchers.rgba.exec(color))return{r:match[1],g:match[2],b:match[3],a:match[4]};if(match=matchers.hsl.exec(color))return{h:match[1],s:match[2],l:match[3]};if(match=matchers.hsla.exec(color))return{h:match[1],s:match[2],l:match[3],a:match[4]};if(match=matchers.hsv.exec(color))return{h:match[1],s:match[2],v:match[3]};if(match=matchers.hsva.exec(color))return{h:match[1],s:match[2],v:match[3],a:match[4]};if(match=matchers.hex8.exec(color))return{r:parseIntFromHex(match[1]),g:parseIntFromHex(match[2]),b:parseIntFromHex(match[3]),a:convertHexToDecimal(match[4]),format:named?"name":"hex8"};if(match=matchers.hex6.exec(color))return{r:parseIntFromHex(match[1]),g:parseIntFromHex(match[2]),b:parseIntFromHex(match[3]),format:named?"name":"hex"};if(match=matchers.hex4.exec(color))return{r:parseIntFromHex(match[1]+""+match[1]),g:parseIntFromHex(match[2]+""+match[2]),b:parseIntFromHex(match[3]+""+match[3]),a:convertHexToDecimal(match[4]+""+match[4]),format:named?"name":"hex8"};if(match=matchers.hex3.exec(color))return{r:parseIntFromHex(match[1]+""+match[1]),g:parseIntFromHex(match[2]+""+match[2]),b:parseIntFromHex(match[3]+""+match[3]),format:named?"name":"hex"};return false}function validateWCAG2Parms(parms){var level,size;parms=parms||{level:"AA",size:"small"};level=(parms.level||"AA").toUpperCase();size=(parms.size||"small").toLowerCase();"AA"!==level&&"AAA"!==level&&(level="AA");"small"!==size&&"large"!==size&&(size="small");return{level:level,size:size}}if(true,module.exports)module.exports=tinycolor;else{true;!(__WEBPACK_AMD_DEFINE_RESULT__=function(){return tinycolor}.call(exports,__webpack_require__,exports,module),void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}})(Math)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Swatch=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _interaction=__webpack_require__(1450);var _=__webpack_require__(34);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ENTER=13;var Swatch=exports.Swatch=function Swatch(_ref){var color=_ref.color,style=_ref.style,_ref$onClick=_ref.onClick,onClick=void 0===_ref$onClick?function(){}:_ref$onClick,onHover=_ref.onHover,_ref$title=_ref.title,title=void 0===_ref$title?color:_ref$title,children=_ref.children,focus=_ref.focus,_ref$focusStyle=_ref.focusStyle,focusStyle=void 0===_ref$focusStyle?{}:_ref$focusStyle;var transparent="transparent"===color;var styles=(0,_reactcss2.default)({default:{swatch:_extends({background:color,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},style,focus?focusStyle:{})}});var handleClick=function handleClick(e){return onClick(color,e)};var handleKeyDown=function handleKeyDown(e){return e.keyCode===ENTER&&onClick(color,e)};var handleHover=function handleHover(e){return onHover(color,e)};var optionalEvents={};onHover&&(optionalEvents.onMouseOver=handleHover);return _react2.default.createElement("div",_extends({style:styles.swatch,onClick:handleClick,title:title,tabIndex:0,onKeyDown:handleKeyDown},optionalEvents),children,transparent&&_react2.default.createElement(_.Checkboard,{borderRadius:styles.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};exports.default=(0,_interaction.handleFocus)(Swatch)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.handleFocus=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}exports.handleFocus=function handleFocus(Component){var Span=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(_React$Component){_inherits(Focus,_React$Component);function Focus(){var _ref;var _temp,_this,_ret;_classCallCheck(this,Focus);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=Focus.__proto__||Object.getPrototypeOf(Focus)).call.apply(_ref,[this].concat(args))),_this),_this.state={focus:false},_this.handleFocus=function(){return _this.setState({focus:true})},_this.handleBlur=function(){return _this.setState({focus:false})},_temp),_possibleConstructorReturn(_this,_ret)}_createClass(Focus,[{key:"render",value:function render(){return _react2.default.createElement(Span,{onFocus:this.handleFocus,onBlur:this.handleBlur},_react2.default.createElement(Component,_extends({},this.props,this.state)))}}]);return Focus}(_react2.default.Component)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.AlphaPointer=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var AlphaPointer=exports.AlphaPointer=function AlphaPointer(_ref){var direction=_ref.direction;var styles=(0,_reactcss2.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===direction});return _react2.default.createElement("div",{style:styles.picker})};exports.default=AlphaPointer},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Block=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(96);var _propTypes2=_interopRequireDefault(_propTypes);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _color=__webpack_require__(83);var _color2=_interopRequireDefault(_color);var _common=__webpack_require__(34);var _BlockSwatches=__webpack_require__(1453);var _BlockSwatches2=_interopRequireDefault(_BlockSwatches);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Block=exports.Block=function Block(_ref){var onChange=_ref.onChange,onSwatchHover=_ref.onSwatchHover,hex=_ref.hex,colors=_ref.colors,width=_ref.width,triangle=_ref.triangle,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className;var transparent="transparent"===hex;var handleChange=function handleChange(hexCode,e){_color2.default.isValidHex(hexCode)&&onChange({hex:hexCode,source:"hex"},e)};var styles=(0,_reactcss2.default)({default:{card:{width:width,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:hex,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:_color2.default.getContrastingColor(hex),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+hex+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},{"hide-triangle":"hide"===triangle});return _react2.default.createElement("div",{style:styles.card,className:"block-picker "+className},_react2.default.createElement("div",{style:styles.triangle}),_react2.default.createElement("div",{style:styles.head},transparent&&_react2.default.createElement(_common.Checkboard,{borderRadius:"6px 6px 0 0"}),_react2.default.createElement("div",{style:styles.label},hex)),_react2.default.createElement("div",{style:styles.body},_react2.default.createElement(_BlockSwatches2.default,{colors:colors,onClick:handleChange,onSwatchHover:onSwatchHover}),_react2.default.createElement(_common.EditableInput,{style:{input:styles.input},value:hex,onChange:handleChange})))};Block.propTypes={width:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.number]),colors:_propTypes2.default.arrayOf(_propTypes2.default.string),triangle:_propTypes2.default.oneOf(["top","hide"])};Block.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top"};exports.default=(0,_common.ColorWrap)(Block)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.BlockSwatches=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _map=__webpack_require__(156);var _map2=_interopRequireDefault(_map);var _common=__webpack_require__(34);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var BlockSwatches=exports.BlockSwatches=function BlockSwatches(_ref){var colors=_ref.colors,onClick=_ref.onClick,onSwatchHover=_ref.onSwatchHover;var styles=(0,_reactcss2.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return _react2.default.createElement("div",{style:styles.swatches},(0,_map2.default)(colors,function(c){return _react2.default.createElement(_common.Swatch,{key:c,color:c,style:styles.swatch,onClick:onClick,onHover:onSwatchHover,focusStyle:{boxShadow:"0 0 4px "+c}})}),_react2.default.createElement("div",{style:styles.clear}))};exports.default=BlockSwatches},function(module,exports,__webpack_require__){var baseMatches=__webpack_require__(1455),baseMatchesProperty=__webpack_require__(1506),identity=__webpack_require__(637),isArray=__webpack_require__(103),property=__webpack_require__(1516);function baseIteratee(value){if("function"==typeof value)return value;if(null==value)return identity;if("object"==typeof value)return isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value);return property(value)}module.exports=baseIteratee},function(module,exports,__webpack_require__){var baseIsMatch=__webpack_require__(1456),getMatchData=__webpack_require__(1505),matchesStrictComparable=__webpack_require__(645);function baseMatches(source){var matchData=getMatchData(source);if(1==matchData.length&&matchData[0][2])return matchesStrictComparable(matchData[0][0],matchData[0][1]);return function(object){return object===source||baseIsMatch(object,source,matchData)}}module.exports=baseMatches},function(module,exports,__webpack_require__){var Stack=__webpack_require__(639),baseIsEqual=__webpack_require__(642);var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(null==object)return!length;object=Object(object);while(index--){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return false}while(++index<length){data=matchData[index];var key=data[0],objValue=object[key],srcValue=data[1];if(noCustomizer&&data[2]){if(void 0===objValue&&!(key in object))return false}else{var stack=new Stack;if(customizer)var result=customizer(objValue,srcValue,key,object,source,stack);if(!(void 0===result?baseIsEqual(srcValue,objValue,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG,customizer,stack):result))return false}}return true}module.exports=baseIsMatch},function(module,exports){function listCacheClear(){this.__data__=[];this.size=0}module.exports=listCacheClear},function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__(299);var arrayProto=Array.prototype;var splice=arrayProto.splice;function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0)return false;var lastIndex=data.length-1;index==lastIndex?data.pop():splice.call(data,index,1);--this.size;return true}module.exports=listCacheDelete},function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__(299);function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}module.exports=listCacheGet},function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__(299);function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}module.exports=listCacheHas},function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__(299);function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){++this.size;data.push([key,value])}else data[index][1]=value;return this}module.exports=listCacheSet},function(module,exports,__webpack_require__){var ListCache=__webpack_require__(298);function stackClear(){this.__data__=new ListCache;this.size=0}module.exports=stackClear},function(module,exports){function stackDelete(key){var data=this.__data__,result=data["delete"](key);this.size=data.size;return result}module.exports=stackDelete},function(module,exports){function stackGet(key){return this.__data__.get(key)}module.exports=stackGet},function(module,exports){function stackHas(key){return this.__data__.has(key)}module.exports=stackHas},function(module,exports,__webpack_require__){var ListCache=__webpack_require__(298),Map=__webpack_require__(408),MapCache=__webpack_require__(409);var LARGE_ARRAY_SIZE=200;function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<LARGE_ARRAY_SIZE-1){pairs.push([key,value]);this.size=++data.size;return this}data=this.__data__=new MapCache(pairs)}data.set(key,value);this.size=data.size;return this}module.exports=stackSet},function(module,exports,__webpack_require__){var isFunction=__webpack_require__(636),isMasked=__webpack_require__(1468),isObject=__webpack_require__(185),toSource=__webpack_require__(641);var reRegExpChar=/[\\^$.*+?()[\]{}|]/g;var reIsHostCtor=/^\[object .+?Constructor\]$/;var funcProto=Function.prototype,objectProto=Object.prototype;var funcToString=funcProto.toString;var hasOwnProperty=objectProto.hasOwnProperty;var reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(value){if(!isObject(value)||isMasked(value))return false;var pattern=isFunction(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value))}module.exports=baseIsNative},function(module,exports,__webpack_require__){var coreJsData=__webpack_require__(1469);var maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""),uid?"Symbol(src)_1."+uid:"");var uid;function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}module.exports=isMasked},function(module,exports,__webpack_require__){var root=__webpack_require__(102);var coreJsData=root["__core-js_shared__"];module.exports=coreJsData},function(module,exports){function getValue(object,key){return null==object?void 0:object[key]}module.exports=getValue},function(module,exports,__webpack_require__){var Hash=__webpack_require__(1472),ListCache=__webpack_require__(298),Map=__webpack_require__(408);function mapCacheClear(){this.size=0;this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}module.exports=mapCacheClear},function(module,exports,__webpack_require__){var hashClear=__webpack_require__(1473),hashDelete=__webpack_require__(1474),hashGet=__webpack_require__(1475),hashHas=__webpack_require__(1476),hashSet=__webpack_require__(1477);function Hash(entries){var index=-1,length=null==entries?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;module.exports=Hash},function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__(300);function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{};this.size=0}module.exports=hashClear},function(module,exports){function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];this.size-=result?1:0;return result}module.exports=hashDelete},function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__(300);var HASH_UNDEFINED="__lodash_hash_undefined__";var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}module.exports=hashGet},function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__(300);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function hashHas(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty.call(data,key)}module.exports=hashHas},function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__(300);var HASH_UNDEFINED="__lodash_hash_undefined__";function hashSet(key,value){var data=this.__data__;this.size+=this.has(key)?0:1;data[key]=nativeCreate&&void 0===value?HASH_UNDEFINED:value;return this}module.exports=hashSet},function(module,exports,__webpack_require__){var getMapData=__webpack_require__(301);function mapCacheDelete(key){var result=getMapData(this,key)["delete"](key);this.size-=result?1:0;return result}module.exports=mapCacheDelete},function(module,exports){function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}module.exports=isKeyable},function(module,exports,__webpack_require__){var getMapData=__webpack_require__(301);function mapCacheGet(key){return getMapData(this,key).get(key)}module.exports=mapCacheGet},function(module,exports,__webpack_require__){var getMapData=__webpack_require__(301);function mapCacheHas(key){return getMapData(this,key).has(key)}module.exports=mapCacheHas},function(module,exports,__webpack_require__){var getMapData=__webpack_require__(301);function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;data.set(key,value);this.size+=data.size==size?0:1;return this}module.exports=mapCacheSet},function(module,exports,__webpack_require__){var Stack=__webpack_require__(639),equalArrays=__webpack_require__(643),equalByTag=__webpack_require__(1489),equalObjects=__webpack_require__(1493),getTag=__webpack_require__(1500),isArray=__webpack_require__(103),isBuffer=__webpack_require__(633),isTypedArray=__webpack_require__(635);var COMPARE_PARTIAL_FLAG=1;var argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]";var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=objIsArr?arrayTag:getTag(object),othTag=othIsArr?arrayTag:getTag(other);objTag=objTag==argsTag?objectTag:objTag;othTag=othTag==argsTag?objectTag:othTag;var objIsObj=objTag==objectTag,othIsObj=othTag==objectTag,isSameTag=objTag==othTag;if(isSameTag&&isBuffer(object)){if(!isBuffer(other))return false;objIsArr=true;objIsObj=false}if(isSameTag&&!objIsObj){stack||(stack=new Stack);return objIsArr||isTypedArray(object)?equalArrays(object,other,bitmask,customizer,equalFunc,stack):equalByTag(object,other,objTag,bitmask,customizer,equalFunc,stack)}if(!(bitmask&COMPARE_PARTIAL_FLAG)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;stack||(stack=new Stack);return equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}if(!isSameTag)return false;stack||(stack=new Stack);return equalObjects(object,other,bitmask,customizer,equalFunc,stack)}module.exports=baseIsEqualDeep},function(module,exports,__webpack_require__){var MapCache=__webpack_require__(409),setCacheAdd=__webpack_require__(1485),setCacheHas=__webpack_require__(1486);function SetCache(values){var index=-1,length=null==values?0:values.length;this.__data__=new MapCache;while(++index<length)this.add(values[index])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;module.exports=SetCache},function(module,exports){var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(value){this.__data__.set(value,HASH_UNDEFINED);return this}module.exports=setCacheAdd},function(module,exports){function setCacheHas(value){return this.__data__.has(value)}module.exports=setCacheHas},function(module,exports){function arraySome(array,predicate){var index=-1,length=null==array?0:array.length;while(++index<length)if(predicate(array[index],index,array))return true;return false}module.exports=arraySome},function(module,exports){function cacheHas(cache,key){return cache.has(key)}module.exports=cacheHas},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(297),Uint8Array=__webpack_require__(1490),eq=__webpack_require__(640),equalArrays=__webpack_require__(643),mapToArray=__webpack_require__(1491),setToArray=__webpack_require__(1492);var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;var boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]";var arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]";var symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case dataViewTag:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return false;object=object.buffer;other=other.buffer;case arrayBufferTag:if(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array(object),new Uint8Array(other)))return false;return true;case boolTag:case dateTag:case numberTag:return eq(+object,+other);case errorTag:return object.name==other.name&&object.message==other.message;case regexpTag:case stringTag:return object==other+"";case mapTag:var convert=mapToArray;case setTag:var isPartial=bitmask&COMPARE_PARTIAL_FLAG;convert||(convert=setToArray);if(object.size!=other.size&&!isPartial)return false;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=COMPARE_UNORDERED_FLAG;stack.set(object,other);var result=equalArrays(convert(object),convert(other),bitmask,customizer,equalFunc,stack);stack["delete"](object);return result;case symbolTag:if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return false}module.exports=equalByTag},function(module,exports,__webpack_require__){var root=__webpack_require__(102);var Uint8Array=root.Uint8Array;module.exports=Uint8Array},function(module,exports){function mapToArray(map){var index=-1,result=Array(map.size);map.forEach(function(value,key){result[++index]=[key,value]});return result}module.exports=mapToArray},function(module,exports){function setToArray(set){var index=-1,result=Array(set.size);set.forEach(function(value){result[++index]=value});return result}module.exports=setToArray},function(module,exports,__webpack_require__){var getAllKeys=__webpack_require__(1494);var COMPARE_PARTIAL_FLAG=1;var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,objProps=getAllKeys(object),objLength=objProps.length,othProps=getAllKeys(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return false;var index=objLength;while(index--){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return false}var stacked=stack.get(object);if(stacked&&stack.get(other))return stacked==other;var result=true;stack.set(object,other);stack.set(other,object);var skipCtor=isPartial;while(++index<objLength){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(void 0===compared?objValue===othValue||equalFunc(objValue,othValue,bitmask,customizer,stack):compared)){result=false;break}skipCtor||(skipCtor="constructor"==key)}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!("function"==typeof objCtor&&objCtor instanceof objCtor&&"function"==typeof othCtor&&othCtor instanceof othCtor)&&(result=false)}stack["delete"](object);stack["delete"](other);return result}module.exports=equalObjects},function(module,exports,__webpack_require__){var baseGetAllKeys=__webpack_require__(1495),getSymbols=__webpack_require__(1497),keys=__webpack_require__(405);function getAllKeys(object){return baseGetAllKeys(object,keys,getSymbols)}module.exports=getAllKeys},function(module,exports,__webpack_require__){var arrayPush=__webpack_require__(1496),isArray=__webpack_require__(103);function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray(object)?result:arrayPush(result,symbolsFunc(object))}module.exports=baseGetAllKeys},function(module,exports){function arrayPush(array,values){var index=-1,length=values.length,offset=array.length;while(++index<length)array[offset+index]=values[index];return array}module.exports=arrayPush},function(module,exports,__webpack_require__){var arrayFilter=__webpack_require__(1498),stubArray=__webpack_require__(1499);var objectProto=Object.prototype;var propertyIsEnumerable=objectProto.propertyIsEnumerable;var nativeGetSymbols=Object.getOwnPropertySymbols;var getSymbols=nativeGetSymbols?function(object){if(null==object)return[];object=Object(object);return arrayFilter(nativeGetSymbols(object),function(symbol){return propertyIsEnumerable.call(object,symbol)})}:stubArray;module.exports=getSymbols},function(module,exports){function arrayFilter(array,predicate){var index=-1,length=null==array?0:array.length,resIndex=0,result=[];while(++index<length){var value=array[index];predicate(value,index,array)&&(result[resIndex++]=value)}return result}module.exports=arrayFilter},function(module,exports){function stubArray(){return[]}module.exports=stubArray},function(module,exports,__webpack_require__){var DataView=__webpack_require__(1501),Map=__webpack_require__(408),Promise=__webpack_require__(1502),Set=__webpack_require__(1503),WeakMap=__webpack_require__(1504),baseGetTag=__webpack_require__(235),toSource=__webpack_require__(641);var mapTag="[object Map]",objectTag="[object Object]",promiseTag="[object Promise]",setTag="[object Set]",weakMapTag="[object WeakMap]";var dataViewTag="[object DataView]";var dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap);var getTag=baseGetTag;(DataView&&getTag(new DataView(new ArrayBuffer(1)))!=dataViewTag||Map&&getTag(new Map)!=mapTag||Promise&&getTag(Promise.resolve())!=promiseTag||Set&&getTag(new Set)!=setTag||WeakMap&&getTag(new WeakMap)!=weakMapTag)&&(getTag=function(value){var result=baseGetTag(value),Ctor=result==objectTag?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag}return result});module.exports=getTag},function(module,exports,__webpack_require__){var getNative=__webpack_require__(186),root=__webpack_require__(102);var DataView=getNative(root,"DataView");module.exports=DataView},function(module,exports,__webpack_require__){var getNative=__webpack_require__(186),root=__webpack_require__(102);var Promise=getNative(root,"Promise");module.exports=Promise},function(module,exports,__webpack_require__){var getNative=__webpack_require__(186),root=__webpack_require__(102);var Set=getNative(root,"Set");module.exports=Set},function(module,exports,__webpack_require__){var getNative=__webpack_require__(186),root=__webpack_require__(102);var WeakMap=getNative(root,"WeakMap");module.exports=WeakMap},function(module,exports,__webpack_require__){var isStrictComparable=__webpack_require__(644),keys=__webpack_require__(405);function getMatchData(object){var result=keys(object),length=result.length;while(length--){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)]}return result}module.exports=getMatchData},function(module,exports,__webpack_require__){var baseIsEqual=__webpack_require__(642),get=__webpack_require__(1507),hasIn=__webpack_require__(1513),isKey=__webpack_require__(410),isStrictComparable=__webpack_require__(644),matchesStrictComparable=__webpack_require__(645),toKey=__webpack_require__(302);var COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty(path,srcValue){if(isKey(path)&&isStrictComparable(srcValue))return matchesStrictComparable(toKey(path),srcValue);return function(object){var objValue=get(object,path);return void 0===objValue&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}module.exports=baseMatchesProperty},function(module,exports,__webpack_require__){var baseGet=__webpack_require__(646);function get(object,path,defaultValue){var result=null==object?void 0:baseGet(object,path);return void 0===result?defaultValue:result}module.exports=get},function(module,exports,__webpack_require__){var memoizeCapped=__webpack_require__(1509);var rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var reEscapeChar=/\\(\\)?/g;var stringToPath=memoizeCapped(function(string){var result=[];46===string.charCodeAt(0)&&result.push("");string.replace(rePropName,function(match,number,quote,subString){result.push(quote?subString.replace(reEscapeChar,"$1"):number||match)});return result});module.exports=stringToPath},function(module,exports,__webpack_require__){var memoize=__webpack_require__(1510);var MAX_MEMOIZE_SIZE=500;function memoizeCapped(func){var result=memoize(func,function(key){cache.size===MAX_MEMOIZE_SIZE&&cache.clear();return key});var cache=result.cache;return result}module.exports=memoizeCapped},function(module,exports,__webpack_require__){var MapCache=__webpack_require__(409);var FUNC_ERROR_TEXT="Expected a function";function memoize(func,resolver){if("function"!=typeof func||null!=resolver&&"function"!=typeof resolver)throw new TypeError(FUNC_ERROR_TEXT);var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);memoized.cache=cache.set(key,result)||cache;return result};memoized.cache=new(memoize.Cache||MapCache);return memoized}memoize.Cache=MapCache;module.exports=memoize},function(module,exports,__webpack_require__){var baseToString=__webpack_require__(1512);function toString(value){return null==value?"":baseToString(value)}module.exports=toString},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(297),arrayMap=__webpack_require__(638),isArray=__webpack_require__(103),isSymbol=__webpack_require__(296);var INFINITY=1/0;var symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString(value){if("string"==typeof value)return value;if(isArray(value))return arrayMap(value,baseToString)+"";if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return"0"==result&&1/value==-INFINITY?"-0":result}module.exports=baseToString},function(module,exports,__webpack_require__){var baseHasIn=__webpack_require__(1514),hasPath=__webpack_require__(1515);function hasIn(object,path){return null!=object&&hasPath(object,path,baseHasIn)}module.exports=hasIn},function(module,exports){function baseHasIn(object,key){return null!=object&&key in Object(object)}module.exports=baseHasIn},function(module,exports,__webpack_require__){var castPath=__webpack_require__(647),isArguments=__webpack_require__(632),isArray=__webpack_require__(103),isIndex=__webpack_require__(634),isLength=__webpack_require__(406),toKey=__webpack_require__(302);function hasPath(object,path,hasFunc){path=castPath(path,object);var index=-1,length=path.length,result=false;while(++index<length){var key=toKey(path[index]);if(!(result=null!=object&&hasFunc(object,key)))break;object=object[key]}if(result||++index!=length)return result;length=null==object?0:object.length;return!!length&&isLength(length)&&isIndex(key,length)&&(isArray(object)||isArguments(object))}module.exports=hasPath},function(module,exports,__webpack_require__){var baseProperty=__webpack_require__(1517),basePropertyDeep=__webpack_require__(1518),isKey=__webpack_require__(410),toKey=__webpack_require__(302);function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}module.exports=property},function(module,exports){function baseProperty(key){return function(object){return null==object?void 0:object[key]}}module.exports=baseProperty},function(module,exports,__webpack_require__){var baseGet=__webpack_require__(646);function basePropertyDeep(path){return function(object){return baseGet(object,path)}}module.exports=basePropertyDeep},function(module,exports,__webpack_require__){var baseEach=__webpack_require__(631),isArrayLike=__webpack_require__(407);function baseMap(collection,iteratee){var index=-1,result=isArrayLike(collection)?Array(collection.length):[];baseEach(collection,function(value,key,collection){result[++index]=iteratee(value,key,collection)});return result}module.exports=baseMap},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Circle=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(96);var _propTypes2=_interopRequireDefault(_propTypes);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _map=__webpack_require__(156);var _map2=_interopRequireDefault(_map);var _materialColors=__webpack_require__(648);var material=_interopRequireWildcard(_materialColors);var _common=__webpack_require__(34);var _CircleSwatch=__webpack_require__(1521);var _CircleSwatch2=_interopRequireDefault(_CircleSwatch);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Circle=exports.Circle=function Circle(_ref){var width=_ref.width,onChange=_ref.onChange,onSwatchHover=_ref.onSwatchHover,colors=_ref.colors,hex=_ref.hex,circleSize=_ref.circleSize,circleSpacing=_ref.circleSpacing,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className;var styles=(0,_reactcss2.default)({default:{card:{width:width,display:"flex",flexWrap:"wrap",marginRight:-circleSpacing,marginBottom:-circleSpacing}}});var handleChange=function handleChange(hexCode,e){return onChange({hex:hexCode,source:"hex"},e)};return _react2.default.createElement("div",{style:styles.card,className:"circle-picker "+className},(0,_map2.default)(colors,function(c){return _react2.default.createElement(_CircleSwatch2.default,{key:c,color:c,onClick:handleChange,onSwatchHover:onSwatchHover,active:hex===c.toLowerCase(),circleSize:circleSize,circleSpacing:circleSpacing})}))};Circle.propTypes={width:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.number]),circleSize:_propTypes2.default.number,circleSpacing:_propTypes2.default.number};Circle.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[material.red["500"],material.pink["500"],material.purple["500"],material.deepPurple["500"],material.indigo["500"],material.blue["500"],material.lightBlue["500"],material.cyan["500"],material.teal["500"],material.green["500"],material.lightGreen["500"],material.lime["500"],material.yellow["500"],material.amber["500"],material.orange["500"],material.deepOrange["500"],material.brown["500"],material.blueGrey["500"]]};exports.default=(0,_common.ColorWrap)(Circle)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.CircleSwatch=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _common=__webpack_require__(34);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var CircleSwatch=exports.CircleSwatch=function CircleSwatch(_ref){var color=_ref.color,onClick=_ref.onClick,onSwatchHover=_ref.onSwatchHover,hover=_ref.hover,active=_ref.active,circleSize=_ref.circleSize,circleSpacing=_ref.circleSpacing;var styles=(0,_reactcss2.default)({default:{swatch:{width:circleSize,height:circleSize,marginRight:circleSpacing,marginBottom:circleSpacing,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+circleSize/2+"px "+color,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+color}}},{hover:hover,active:active});return _react2.default.createElement("div",{style:styles.swatch},_react2.default.createElement(_common.Swatch,{style:styles.Swatch,color:color,onClick:onClick,onHover:onSwatchHover,focusStyle:{boxShadow:styles.Swatch.boxShadow+", 0 0 5px "+color}}))};CircleSwatch.defaultProps={circleSize:28,circleSpacing:14};exports.default=(0,_reactcss.handleHover)(CircleSwatch)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Chrome=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(96);var _propTypes2=_interopRequireDefault(_propTypes);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _common=__webpack_require__(34);var _ChromeFields=__webpack_require__(649);var _ChromeFields2=_interopRequireDefault(_ChromeFields);var _ChromePointer=__webpack_require__(650);var _ChromePointer2=_interopRequireDefault(_ChromePointer);var _ChromePointerCircle=__webpack_require__(651);var _ChromePointerCircle2=_interopRequireDefault(_ChromePointerCircle);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Chrome=exports.Chrome=function Chrome(_ref){var onChange=_ref.onChange,disableAlpha=_ref.disableAlpha,rgb=_ref.rgb,hsl=_ref.hsl,hsv=_ref.hsv,hex=_ref.hex,renderers=_ref.renderers,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className;var styles=(0,_reactcss2.default)({default:{picker:{background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",width:"225px",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+rgb.r+", "+rgb.g+", "+rgb.b+", "+rgb.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},{disableAlpha:disableAlpha});return _react2.default.createElement("div",{style:styles.picker,className:"chrome-picker "+className},_react2.default.createElement("div",{style:styles.saturation},_react2.default.createElement(_common.Saturation,{style:styles.Saturation,hsl:hsl,hsv:hsv,pointer:_ChromePointerCircle2.default,onChange:onChange})),_react2.default.createElement("div",{style:styles.body},_react2.default.createElement("div",{style:styles.controls,className:"flexbox-fix"},_react2.default.createElement("div",{style:styles.color},_react2.default.createElement("div",{style:styles.swatch},_react2.default.createElement("div",{style:styles.active}),_react2.default.createElement(_common.Checkboard,{renderers:renderers}))),_react2.default.createElement("div",{style:styles.toggles},_react2.default.createElement("div",{style:styles.hue},_react2.default.createElement(_common.Hue,{style:styles.Hue,hsl:hsl,pointer:_ChromePointer2.default,onChange:onChange})),_react2.default.createElement("div",{style:styles.alpha},_react2.default.createElement(_common.Alpha,{style:styles.Alpha,rgb:rgb,hsl:hsl,pointer:_ChromePointer2.default,renderers:renderers,onChange:onChange})))),_react2.default.createElement(_ChromeFields2.default,{rgb:rgb,hsl:hsl,hex:hex,onChange:onChange,disableAlpha:disableAlpha})))};Chrome.propTypes={disableAlpha:_propTypes2.default.bool};Chrome.defaultProps={disableAlpha:false};exports.default=(0,_common.ColorWrap)(Chrome)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Compact=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(96);var _propTypes2=_interopRequireDefault(_propTypes);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _map=__webpack_require__(156);var _map2=_interopRequireDefault(_map);var _color=__webpack_require__(83);var _color2=_interopRequireDefault(_color);var _common=__webpack_require__(34);var _CompactColor=__webpack_require__(652);var _CompactColor2=_interopRequireDefault(_CompactColor);var _CompactFields=__webpack_require__(1524);var _CompactFields2=_interopRequireDefault(_CompactFields);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Compact=exports.Compact=function Compact(_ref){var onChange=_ref.onChange,onSwatchHover=_ref.onSwatchHover,colors=_ref.colors,hex=_ref.hex,rgb=_ref.rgb,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className;var styles=(0,_reactcss2.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}});var handleChange=function handleChange(data,e){data.hex?_color2.default.isValidHex(data.hex)&&onChange({hex:data.hex,source:"hex"},e):onChange(data,e)};return _react2.default.createElement(_common.Raised,{style:styles.Compact},_react2.default.createElement("div",{style:styles.compact,className:"compact-picker "+className},_react2.default.createElement("div",null,(0,_map2.default)(colors,function(c){return _react2.default.createElement(_CompactColor2.default,{key:c,color:c,active:c.toLowerCase()===hex,onClick:handleChange,onSwatchHover:onSwatchHover})}),_react2.default.createElement("div",{style:styles.clear})),_react2.default.createElement(_CompactFields2.default,{hex:hex,rgb:rgb,onChange:handleChange})))};Compact.propTypes={colors:_propTypes2.default.arrayOf(_propTypes2.default.string)};Compact.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"]};exports.default=(0,_common.ColorWrap)(Compact)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.CompactFields=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _common=__webpack_require__(34);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var CompactFields=exports.CompactFields=function CompactFields(_ref){var hex=_ref.hex,rgb=_ref.rgb,onChange=_ref.onChange;var styles=(0,_reactcss2.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:hex},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}});var handleChange=function handleChange(data,e){data.r||data.g||data.b?onChange({r:data.r||rgb.r,g:data.g||rgb.g,b:data.b||rgb.b,source:"rgb"},e):onChange({hex:data.hex,source:"hex"},e)};return _react2.default.createElement("div",{style:styles.fields,className:"flexbox-fix"},_react2.default.createElement("div",{style:styles.active}),_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.HEXwrap,input:styles.HEXinput,label:styles.HEXlabel},label:"hex",value:hex,onChange:handleChange}),_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.RGBwrap,input:styles.RGBinput,label:styles.RGBlabel},label:"r",value:rgb.r,onChange:handleChange}),_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.RGBwrap,input:styles.RGBinput,label:styles.RGBlabel},label:"g",value:rgb.g,onChange:handleChange}),_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.RGBwrap,input:styles.RGBinput,label:styles.RGBlabel},label:"b",value:rgb.b,onChange:handleChange}))};exports.default=CompactFields},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Github=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(96);var _propTypes2=_interopRequireDefault(_propTypes);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _map=__webpack_require__(156);var _map2=_interopRequireDefault(_map);var _common=__webpack_require__(34);var _GithubSwatch=__webpack_require__(1526);var _GithubSwatch2=_interopRequireDefault(_GithubSwatch);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Github=exports.Github=function Github(_ref){var width=_ref.width,colors=_ref.colors,onChange=_ref.onChange,onSwatchHover=_ref.onSwatchHover,triangle=_ref.triangle,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className;var styles=(0,_reactcss2.default)({default:{card:{width:width,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},{"hide-triangle":"hide"===triangle,"top-left-triangle":"top-left"===triangle,"top-right-triangle":"top-right"===triangle,"bottom-left-triangle":"bottom-left"==triangle,"bottom-right-triangle":"bottom-right"===triangle});var handleChange=function handleChange(hex,e){return onChange({hex:hex,source:"hex"},e)};return _react2.default.createElement("div",{style:styles.card,className:"github-picker "+className},_react2.default.createElement("div",{style:styles.triangleShadow}),_react2.default.createElement("div",{style:styles.triangle}),(0,_map2.default)(colors,function(c){return _react2.default.createElement(_GithubSwatch2.default,{color:c,key:c,onClick:handleChange,onSwatchHover:onSwatchHover})}))};Github.propTypes={width:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.number]),colors:_propTypes2.default.arrayOf(_propTypes2.default.string),triangle:_propTypes2.default.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"])};Github.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left"};exports.default=(0,_common.ColorWrap)(Github)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.GithubSwatch=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _common=__webpack_require__(34);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var GithubSwatch=exports.GithubSwatch=function GithubSwatch(_ref){var hover=_ref.hover,color=_ref.color,onClick=_ref.onClick,onSwatchHover=_ref.onSwatchHover;var hoverSwatch={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"};var styles=(0,_reactcss2.default)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:hoverSwatch}},{hover:hover});return _react2.default.createElement("div",{style:styles.swatch},_react2.default.createElement(_common.Swatch,{color:color,onClick:onClick,onHover:onSwatchHover,focusStyle:hoverSwatch}))};exports.default=(0,_reactcss.handleHover)(GithubSwatch)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.HuePicker=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _common=__webpack_require__(34);var _HuePointer=__webpack_require__(1528);var _HuePointer2=_interopRequireDefault(_HuePointer);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var HuePicker=exports.HuePicker=function HuePicker(_ref){var width=_ref.width,height=_ref.height,onChange=_ref.onChange,hsl=_ref.hsl,direction=_ref.direction,pointer=_ref.pointer,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className;var styles=(0,_reactcss2.default)({default:{picker:{position:"relative",width:width,height:height},hue:{radius:"2px"}}});var handleChange=function handleChange(data){return onChange({a:1,h:data.h,l:.5,s:1})};return _react2.default.createElement("div",{style:styles.picker,className:"hue-picker "+className},_react2.default.createElement(_common.Hue,_extends({},styles.hue,{hsl:hsl,pointer:pointer,onChange:handleChange,direction:direction})))};HuePicker.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:_HuePointer2.default};exports.default=(0,_common.ColorWrap)(HuePicker)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SliderPointer=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var SliderPointer=exports.SliderPointer=function SliderPointer(_ref){var direction=_ref.direction;var styles=(0,_reactcss2.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===direction});return _react2.default.createElement("div",{style:styles.picker})};exports.default=SliderPointer},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Material=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _color=__webpack_require__(83);var _color2=_interopRequireDefault(_color);var _common=__webpack_require__(34);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Material=exports.Material=function Material(_ref){var onChange=_ref.onChange,hex=_ref.hex,rgb=_ref.rgb,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className;var styles=(0,_reactcss2.default)({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+hex,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}});var handleChange=function handleChange(data,e){data.hex?_color2.default.isValidHex(data.hex)&&onChange({hex:data.hex,source:"hex"},e):(data.r||data.g||data.b)&&onChange({r:data.r||rgb.r,g:data.g||rgb.g,b:data.b||rgb.b,source:"rgb"},e)};return _react2.default.createElement(_common.Raised,null,_react2.default.createElement("div",{style:styles.material,className:"material-picker "+className},_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.HEXwrap,input:styles.HEXinput,label:styles.HEXlabel},label:"hex",value:hex,onChange:handleChange}),_react2.default.createElement("div",{style:styles.split,className:"flexbox-fix"},_react2.default.createElement("div",{style:styles.third},_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.RGBwrap,input:styles.RGBinput,label:styles.RGBlabel},label:"r",value:rgb.r,onChange:handleChange})),_react2.default.createElement("div",{style:styles.third},_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.RGBwrap,input:styles.RGBinput,label:styles.RGBlabel},label:"g",value:rgb.g,onChange:handleChange})),_react2.default.createElement("div",{style:styles.third},_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.RGBwrap,input:styles.RGBinput,label:styles.RGBlabel},label:"b",value:rgb.b,onChange:handleChange})))))};exports.default=(0,_common.ColorWrap)(Material)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Photoshop=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(96);var _propTypes2=_interopRequireDefault(_propTypes);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _common=__webpack_require__(34);var _PhotoshopFields=__webpack_require__(1531);var _PhotoshopFields2=_interopRequireDefault(_PhotoshopFields);var _PhotoshopPointerCircle=__webpack_require__(1532);var _PhotoshopPointerCircle2=_interopRequireDefault(_PhotoshopPointerCircle);var _PhotoshopPointer=__webpack_require__(1533);var _PhotoshopPointer2=_interopRequireDefault(_PhotoshopPointer);var _PhotoshopButton=__webpack_require__(1534);var _PhotoshopButton2=_interopRequireDefault(_PhotoshopButton);var _PhotoshopPreviews=__webpack_require__(1535);var _PhotoshopPreviews2=_interopRequireDefault(_PhotoshopPreviews);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var Photoshop=exports.Photoshop=function(_React$Component){_inherits(Photoshop,_React$Component);function Photoshop(props){_classCallCheck(this,Photoshop);var _this=_possibleConstructorReturn(this,(Photoshop.__proto__||Object.getPrototypeOf(Photoshop)).call(this));_this.state={currentColor:props.hex};return _this}_createClass(Photoshop,[{key:"render",value:function render(){var _props$className=this.props.className,className=void 0===_props$className?"":_props$className;var styles=(0,_reactcss2.default)({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}});return _react2.default.createElement("div",{style:styles.picker,className:"photoshop-picker "+className},_react2.default.createElement("div",{style:styles.head},this.props.header),_react2.default.createElement("div",{style:styles.body,className:"flexbox-fix"},_react2.default.createElement("div",{style:styles.saturation},_react2.default.createElement(_common.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:_PhotoshopPointerCircle2.default,onChange:this.props.onChange})),_react2.default.createElement("div",{style:styles.hue},_react2.default.createElement(_common.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:_PhotoshopPointer2.default,onChange:this.props.onChange})),_react2.default.createElement("div",{style:styles.controls},_react2.default.createElement("div",{style:styles.top,className:"flexbox-fix"},_react2.default.createElement("div",{style:styles.previews},_react2.default.createElement(_PhotoshopPreviews2.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),_react2.default.createElement("div",{style:styles.actions},_react2.default.createElement(_PhotoshopButton2.default,{label:"OK",onClick:this.props.onAccept,active:true}),_react2.default.createElement(_PhotoshopButton2.default,{label:"Cancel",onClick:this.props.onCancel}),_react2.default.createElement(_PhotoshopFields2.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]);return Photoshop}(_react2.default.Component);Photoshop.propTypes={header:_propTypes2.default.string};Photoshop.defaultProps={header:"Color Picker"};exports.default=(0,_common.ColorWrap)(Photoshop)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.PhotoshopPicker=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _color=__webpack_require__(83);var _color2=_interopRequireDefault(_color);var _common=__webpack_require__(34);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var PhotoshopPicker=exports.PhotoshopPicker=function PhotoshopPicker(_ref){var onChange=_ref.onChange,rgb=_ref.rgb,hsv=_ref.hsv,hex=_ref.hex;var styles=(0,_reactcss2.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}});var handleChange=function handleChange(data,e){data["#"]?_color2.default.isValidHex(data["#"])&&onChange({hex:data["#"],source:"hex"},e):data.r||data.g||data.b?onChange({r:data.r||rgb.r,g:data.g||rgb.g,b:data.b||rgb.b,source:"rgb"},e):(data.h||data.s||data.v)&&onChange({h:data.h||hsv.h,s:data.s||hsv.s,v:data.v||hsv.v,source:"hsv"},e)};return _react2.default.createElement("div",{style:styles.fields},_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.RGBwrap,input:styles.RGBinput,label:styles.RGBlabel},label:"h",value:Math.round(hsv.h),onChange:handleChange}),_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.RGBwrap,input:styles.RGBinput,label:styles.RGBlabel},label:"s",value:Math.round(100*hsv.s),onChange:handleChange}),_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.RGBwrap,input:styles.RGBinput,label:styles.RGBlabel},label:"v",value:Math.round(100*hsv.v),onChange:handleChange}),_react2.default.createElement("div",{style:styles.divider}),_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.RGBwrap,input:styles.RGBinput,label:styles.RGBlabel},label:"r",value:rgb.r,onChange:handleChange}),_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.RGBwrap,input:styles.RGBinput,label:styles.RGBlabel},label:"g",value:rgb.g,onChange:handleChange}),_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.RGBwrap,input:styles.RGBinput,label:styles.RGBlabel},label:"b",value:rgb.b,onChange:handleChange}),_react2.default.createElement("div",{style:styles.divider}),_react2.default.createElement(_common.EditableInput,{style:{wrap:styles.HEXwrap,input:styles.HEXinput,label:styles.HEXlabel},label:"#",value:hex.replace("#",""),onChange:handleChange}),_react2.default.createElement("div",{style:styles.fieldSymbols},_react2.default.createElement("div",{style:styles.symbol},"°"),_react2.default.createElement("div",{style:styles.symbol},"%"),_react2.default.createElement("div",{style:styles.symbol},"%")))};exports.default=PhotoshopPicker},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.PhotoshopPointerCircle=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var PhotoshopPointerCircle=exports.PhotoshopPointerCircle=function PhotoshopPointerCircle(_ref){var hsl=_ref.hsl;var styles=(0,_reactcss2.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":hsl.l>.5});return _react2.default.createElement("div",{style:styles.picker})};exports.default=PhotoshopPointerCircle},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.PhotoshopPointerCircle=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var PhotoshopPointerCircle=exports.PhotoshopPointerCircle=function PhotoshopPointerCircle(){var styles=(0,_reactcss2.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return _react2.default.createElement("div",{style:styles.pointer},_react2.default.createElement("div",{style:styles.left},_react2.default.createElement("div",{style:styles.leftInside})),_react2.default.createElement("div",{style:styles.right},_react2.default.createElement("div",{style:styles.rightInside})))};exports.default=PhotoshopPointerCircle},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.PhotoshopBotton=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var PhotoshopBotton=exports.PhotoshopBotton=function PhotoshopBotton(_ref){var onClick=_ref.onClick,label=_ref.label,children=_ref.children,active=_ref.active;var styles=(0,_reactcss2.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:active});return _react2.default.createElement("div",{style:styles.button,onClick:onClick},label||children)};exports.default=PhotoshopBotton},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.PhotoshopPreviews=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var PhotoshopPreviews=exports.PhotoshopPreviews=function PhotoshopPreviews(_ref){var rgb=_ref.rgb,currentColor=_ref.currentColor;var styles=(0,_reactcss2.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+rgb.r+","+rgb.g+", "+rgb.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:currentColor,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return _react2.default.createElement("div",null,_react2.default.createElement("div",{style:styles.label},"new"),_react2.default.createElement("div",{style:styles.swatches},_react2.default.createElement("div",{style:styles.new}),_react2.default.createElement("div",{style:styles.current})),_react2.default.createElement("div",{style:styles.label},"current"))};exports.default=PhotoshopPreviews},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Sketch=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(96);var _propTypes2=_interopRequireDefault(_propTypes);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _common=__webpack_require__(34);var _SketchFields=__webpack_require__(1537);var _SketchFields2=_interopRequireDefault(_SketchFields);var _SketchPresetColors=__webpack_require__(1538);var _SketchPresetColors2=_interopRequireDefault(_SketchPresetColors);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Sketch=exports.Sketch=function Sketch(_ref){var width=_ref.width,rgb=_ref.rgb,hex=_ref.hex,hsv=_ref.hsv,hsl=_ref.hsl,onChange=_ref.onChange,onSwatchHover=_ref.onSwatchHover,disableAlpha=_ref.disableAlpha,presetColors=_ref.presetColors,renderers=_ref.renderers,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className;var styles=(0,_reactcss2.default)({default:{picker:{width:width,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+rgb.r+","+rgb.g+","+rgb.b+","+rgb.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},{disableAlpha:disableAlpha});return _react2.default.createElement("div",{style:styles.picker,className:"sketch-picker "+className},_react2.default.createElement("div",{style:styles.saturation},_react2.default.createElement(_common.Saturation,{style:styles.Saturation,hsl:hsl,hsv:hsv,onChange:onChange})),_react2.default.createElement("div",{style:styles.controls,className:"flexbox-fix"},_react2.default.createElement("div",{style:styles.sliders},_react2.default.createElement("div",{style:styles.hue},_react2.default.createElement(_common.Hue,{style:styles.Hue,hsl:hsl,onChange:onChange})),_react2.default.createElement("div",{style:styles.alpha},_react2.default.createElement(_common.Alpha,{style:styles.Alpha,rgb:rgb,hsl:hsl,renderers:renderers,onChange:onChange}))),_react2.default.createElement("div",{style:styles.color},_react2.default.createElement(_common.Checkboard,null),_react2.default.createElement("div",{style:styles.activeColor}))),_react2.default.createElement(_SketchFields2.default,{rgb:rgb,hsl:hsl,hex:hex,onChange:onChange,disableAlpha:disableAlpha}),_react2.default.createElement(_SketchPresetColors2.default,{colors:presetColors,onClick:onChange,onSwatchHover:onSwatchHover}))};Sketch.propTypes={disableAlpha:_propTypes2.default.bool,width:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.number])};Sketch.defaultProps={disableAlpha:false,width:200,presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]};exports.default=(0,_common.ColorWrap)(Sketch)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SketchFields=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _color=__webpack_require__(83);var _color2=_interopRequireDefault(_color);var _common=__webpack_require__(34);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var SketchFields=exports.SketchFields=function SketchFields(_ref){var onChange=_ref.onChange,rgb=_ref.rgb,hsl=_ref.hsl,hex=_ref.hex,disableAlpha=_ref.disableAlpha;var styles=(0,_reactcss2.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:disableAlpha});var handleChange=function handleChange(data,e){if(data.hex)_color2.default.isValidHex(data.hex)&&onChange({hex:data.hex,source:"hex"},e);else if(data.r||data.g||data.b)onChange({r:data.r||rgb.r,g:data.g||rgb.g,b:data.b||rgb.b,a:rgb.a,source:"rgb"},e);else if(data.a){data.a<0?data.a=0:data.a>100&&(data.a=100);data.a/=100;onChange({h:hsl.h,s:hsl.s,l:hsl.l,a:data.a,source:"rgb"},e)}};return _react2.default.createElement("div",{style:styles.fields,className:"flexbox-fix"},_react2.default.createElement("div",{style:styles.double},_react2.default.createElement(_common.EditableInput,{style:{input:styles.input,label:styles.label},label:"hex",value:hex.replace("#",""),onChange:handleChange})),_react2.default.createElement("div",{style:styles.single},_react2.default.createElement(_common.EditableInput,{style:{input:styles.input,label:styles.label},label:"r",value:rgb.r,onChange:handleChange,dragLabel:"true",dragMax:"255"})),_react2.default.createElement("div",{style:styles.single},_react2.default.createElement(_common.EditableInput,{style:{input:styles.input,label:styles.label},label:"g",value:rgb.g,onChange:handleChange,dragLabel:"true",dragMax:"255"})),_react2.default.createElement("div",{style:styles.single},_react2.default.createElement(_common.EditableInput,{style:{input:styles.input,label:styles.label},label:"b",value:rgb.b,onChange:handleChange,dragLabel:"true",dragMax:"255"})),_react2.default.createElement("div",{style:styles.alpha},_react2.default.createElement(_common.EditableInput,{style:{input:styles.input,label:styles.label},label:"a",value:Math.round(100*rgb.a),onChange:handleChange,dragLabel:"true",dragMax:"100"})))};exports.default=SketchFields},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SketchPresetColors=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(96);var _propTypes2=_interopRequireDefault(_propTypes);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _common=__webpack_require__(34);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var SketchPresetColors=exports.SketchPresetColors=function SketchPresetColors(_ref){var colors=_ref.colors,_ref$onClick=_ref.onClick,onClick=void 0===_ref$onClick?function(){}:_ref$onClick,onSwatchHover=_ref.onSwatchHover;var styles=(0,_reactcss2.default)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!colors||!colors.length});var handleClick=function handleClick(hex,e){onClick({hex:hex,source:"hex"},e)};return _react2.default.createElement("div",{style:styles.colors,className:"flexbox-fix"},colors.map(function(colorObjOrString){var c="string"===typeof colorObjOrString?{color:colorObjOrString}:colorObjOrString;var key=""+c.color+(c.title||"");return _react2.default.createElement("div",{key:key,style:styles.swatchWrap},_react2.default.createElement(_common.Swatch,_extends({},c,{style:styles.swatch,onClick:handleClick,onHover:onSwatchHover,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+c.color}})))}))};SketchPresetColors.propTypes={colors:_propTypes2.default.arrayOf(_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.shape({color:_propTypes2.default.string,title:_propTypes2.default.string})])).isRequired};exports.default=SketchPresetColors},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Slider=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _common=__webpack_require__(34);var _SliderSwatches=__webpack_require__(1540);var _SliderSwatches2=_interopRequireDefault(_SliderSwatches);var _SliderPointer=__webpack_require__(1542);var _SliderPointer2=_interopRequireDefault(_SliderPointer);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Slider=exports.Slider=function Slider(_ref){var hsl=_ref.hsl,onChange=_ref.onChange,pointer=_ref.pointer,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className;var styles=(0,_reactcss2.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}});return _react2.default.createElement("div",{className:"slider-picker "+className},_react2.default.createElement("div",{style:styles.hue},_react2.default.createElement(_common.Hue,{style:styles.Hue,hsl:hsl,pointer:pointer,onChange:onChange})),_react2.default.createElement("div",{style:styles.swatches},_react2.default.createElement(_SliderSwatches2.default,{hsl:hsl,onClick:onChange})))};Slider.defaultProps={pointer:_SliderPointer2.default};exports.default=(0,_common.ColorWrap)(Slider)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SliderSwatches=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _SliderSwatch=__webpack_require__(1541);var _SliderSwatch2=_interopRequireDefault(_SliderSwatch);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var SliderSwatches=exports.SliderSwatches=function SliderSwatches(_ref){var onClick=_ref.onClick,hsl=_ref.hsl;var styles=(0,_reactcss2.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return _react2.default.createElement("div",{style:styles.swatches},_react2.default.createElement("div",{style:styles.swatch},_react2.default.createElement(_SliderSwatch2.default,{hsl:hsl,offset:".80",active:Math.round(100*hsl.l)/100===.8&&Math.round(100*hsl.s)/100===.5,onClick:onClick,first:true})),_react2.default.createElement("div",{style:styles.swatch},_react2.default.createElement(_SliderSwatch2.default,{hsl:hsl,offset:".65",active:Math.round(100*hsl.l)/100===.65&&Math.round(100*hsl.s)/100===.5,onClick:onClick})),_react2.default.createElement("div",{style:styles.swatch},_react2.default.createElement(_SliderSwatch2.default,{hsl:hsl,offset:".50",active:Math.round(100*hsl.l)/100===.5&&Math.round(100*hsl.s)/100===.5,onClick:onClick})),_react2.default.createElement("div",{style:styles.swatch},_react2.default.createElement(_SliderSwatch2.default,{hsl:hsl,offset:".35",active:Math.round(100*hsl.l)/100===.35&&Math.round(100*hsl.s)/100===.5,onClick:onClick})),_react2.default.createElement("div",{style:styles.swatch},_react2.default.createElement(_SliderSwatch2.default,{hsl:hsl,offset:".20",active:Math.round(100*hsl.l)/100===.2&&Math.round(100*hsl.s)/100===.5,onClick:onClick,last:true})),_react2.default.createElement("div",{style:styles.clear}))};exports.default=SliderSwatches},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SliderSwatch=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var SliderSwatch=exports.SliderSwatch=function SliderSwatch(_ref){var hsl=_ref.hsl,offset=_ref.offset,_ref$onClick=_ref.onClick,onClick=void 0===_ref$onClick?function(){}:_ref$onClick,active=_ref.active,first=_ref.first,last=_ref.last;var styles=(0,_reactcss2.default)({default:{swatch:{height:"12px",background:"hsl("+hsl.h+", 50%, "+100*offset+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:active,first:first,last:last});var handleClick=function handleClick(e){return onClick({h:hsl.h,s:.5,l:offset,source:"hsl"},e)};return _react2.default.createElement("div",{style:styles.swatch,onClick:handleClick})};exports.default=SliderSwatch},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SliderPointer=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var SliderPointer=exports.SliderPointer=function SliderPointer(){var styles=(0,_reactcss2.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return _react2.default.createElement("div",{style:styles.picker})};exports.default=SliderPointer},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Swatches=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(96);var _propTypes2=_interopRequireDefault(_propTypes);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _map=__webpack_require__(156);var _map2=_interopRequireDefault(_map);var _color=__webpack_require__(83);var _color2=_interopRequireDefault(_color);var _materialColors=__webpack_require__(648);var material=_interopRequireWildcard(_materialColors);var _common=__webpack_require__(34);var _SwatchesGroup=__webpack_require__(1544);var _SwatchesGroup2=_interopRequireDefault(_SwatchesGroup);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Swatches=exports.Swatches=function Swatches(_ref){var width=_ref.width,height=_ref.height,onChange=_ref.onChange,onSwatchHover=_ref.onSwatchHover,colors=_ref.colors,hex=_ref.hex,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className;var styles=(0,_reactcss2.default)({default:{picker:{width:width,height:height},overflow:{height:height,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}});var handleChange=function handleChange(data,e){_color2.default.isValidHex(data)&&onChange({hex:data,source:"hex"},e)};return _react2.default.createElement("div",{style:styles.picker,className:"swatches-picker "+className},_react2.default.createElement(_common.Raised,null,_react2.default.createElement("div",{style:styles.overflow},_react2.default.createElement("div",{style:styles.body},(0,_map2.default)(colors,function(group){return _react2.default.createElement(_SwatchesGroup2.default,{key:group.toString(),group:group,active:hex,onClick:handleChange,onSwatchHover:onSwatchHover})}),_react2.default.createElement("div",{style:styles.clear})))))};Swatches.propTypes={width:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.number]),height:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.number]),colors:_propTypes2.default.arrayOf(_propTypes2.default.arrayOf(_propTypes2.default.string))};Swatches.defaultProps={width:320,height:240,colors:[[material.red["900"],material.red["700"],material.red["500"],material.red["300"],material.red["100"]],[material.pink["900"],material.pink["700"],material.pink["500"],material.pink["300"],material.pink["100"]],[material.purple["900"],material.purple["700"],material.purple["500"],material.purple["300"],material.purple["100"]],[material.deepPurple["900"],material.deepPurple["700"],material.deepPurple["500"],material.deepPurple["300"],material.deepPurple["100"]],[material.indigo["900"],material.indigo["700"],material.indigo["500"],material.indigo["300"],material.indigo["100"]],[material.blue["900"],material.blue["700"],material.blue["500"],material.blue["300"],material.blue["100"]],[material.lightBlue["900"],material.lightBlue["700"],material.lightBlue["500"],material.lightBlue["300"],material.lightBlue["100"]],[material.cyan["900"],material.cyan["700"],material.cyan["500"],material.cyan["300"],material.cyan["100"]],[material.teal["900"],material.teal["700"],material.teal["500"],material.teal["300"],material.teal["100"]],["#194D33",material.green["700"],material.green["500"],material.green["300"],material.green["100"]],[material.lightGreen["900"],material.lightGreen["700"],material.lightGreen["500"],material.lightGreen["300"],material.lightGreen["100"]],[material.lime["900"],material.lime["700"],material.lime["500"],material.lime["300"],material.lime["100"]],[material.yellow["900"],material.yellow["700"],material.yellow["500"],material.yellow["300"],material.yellow["100"]],[material.amber["900"],material.amber["700"],material.amber["500"],material.amber["300"],material.amber["100"]],[material.orange["900"],material.orange["700"],material.orange["500"],material.orange["300"],material.orange["100"]],[material.deepOrange["900"],material.deepOrange["700"],material.deepOrange["500"],material.deepOrange["300"],material.deepOrange["100"]],[material.brown["900"],material.brown["700"],material.brown["500"],material.brown["300"],material.brown["100"]],[material.blueGrey["900"],material.blueGrey["700"],material.blueGrey["500"],material.blueGrey["300"],material.blueGrey["100"]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]]};exports.default=(0,_common.ColorWrap)(Swatches)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SwatchesGroup=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _map=__webpack_require__(156);var _map2=_interopRequireDefault(_map);var _SwatchesColor=__webpack_require__(1545);var _SwatchesColor2=_interopRequireDefault(_SwatchesColor);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var SwatchesGroup=exports.SwatchesGroup=function SwatchesGroup(_ref){var onClick=_ref.onClick,onSwatchHover=_ref.onSwatchHover,group=_ref.group,active=_ref.active;var styles=(0,_reactcss2.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return _react2.default.createElement("div",{style:styles.group},(0,_map2.default)(group,function(color,i){return _react2.default.createElement(_SwatchesColor2.default,{key:color,color:color,active:color.toLowerCase()===active,first:0===i,last:i===group.length-1,onClick:onClick,onSwatchHover:onSwatchHover})}))};exports.default=SwatchesGroup},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SwatchesColor=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _color=__webpack_require__(83);var _color2=_interopRequireDefault(_color);var _common=__webpack_require__(34);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var SwatchesColor=exports.SwatchesColor=function SwatchesColor(_ref){var color=_ref.color,_ref$onClick=_ref.onClick,onClick=void 0===_ref$onClick?function(){}:_ref$onClick,onSwatchHover=_ref.onSwatchHover,first=_ref.first,last=_ref.last,active=_ref.active;var styles=(0,_reactcss2.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:color,marginBottom:"1px"},check:{fill:_color2.default.getContrastingColor(color),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{fill:"#333"}},transparent:{check:{fill:"#333"}}},{first:first,last:last,active:active,"color-#FFFFFF":"#FFFFFF"===color,transparent:"transparent"===color});return _react2.default.createElement(_common.Swatch,{color:color,style:styles.color,onClick:onClick,onHover:onSwatchHover,focusStyle:{boxShadow:"0 0 4px "+color}},_react2.default.createElement("div",{style:styles.check},_react2.default.createElement("svg",{style:{width:"24px",height:"24px"},viewBox:"0 0 24 24"},_react2.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))))};exports.default=SwatchesColor},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Twitter=void 0;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(96);var _propTypes2=_interopRequireDefault(_propTypes);var _reactcss=__webpack_require__(17);var _reactcss2=_interopRequireDefault(_reactcss);var _map=__webpack_require__(156);var _map2=_interopRequireDefault(_map);var _color=__webpack_require__(83);var _color2=_interopRequireDefault(_color);var _common=__webpack_require__(34);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Twitter=exports.Twitter=function Twitter(_ref){var onChange=_ref.onChange,onSwatchHover=_ref.onSwatchHover,hex=_ref.hex,colors=_ref.colors,width=_ref.width,triangle=_ref.triangle,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className;var styles=(0,_reactcss2.default)({default:{card:{width:width,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},{"hide-triangle":"hide"===triangle,"top-left-triangle":"top-left"===triangle,"top-right-triangle":"top-right"===triangle});var handleChange=function handleChange(hexcode,e){_color2.default.isValidHex(hexcode)&&onChange({hex:hexcode,source:"hex"},e)};return _react2.default.createElement("div",{style:styles.card,className:"twitter-picker "+className},_react2.default.createElement("div",{style:styles.triangleShadow}),_react2.default.createElement("div",{style:styles.triangle}),_react2.default.createElement("div",{style:styles.body},(0,_map2.default)(colors,function(c,i){return _react2.default.createElement(_common.Swatch,{key:i,color:c,hex:c,style:styles.swatch,onClick:handleChange,onHover:onSwatchHover,focusStyle:{boxShadow:"0 0 4px "+c}})}),_react2.default.createElement("div",{style:styles.hash},"#"),_react2.default.createElement(_common.EditableInput,{style:{input:styles.input},value:hex.replace("#",""),onChange:handleChange}),_react2.default.createElement("div",{style:styles.clear})))};Twitter.propTypes={width:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.number]),triangle:_propTypes2.default.oneOf(["hide","top-left","top-right"]),colors:_propTypes2.default.arrayOf(_propTypes2.default.string)};Twitter.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left"};exports.default=(0,_common.ColorWrap)(Twitter)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiOutsideClickDetector=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(92);__webpack_require__(93);var _react=__webpack_require__(0);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _accessibility=__webpack_require__(565);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiOutsideClickDetector=function(_Component){_inherits(EuiOutsideClickDetector,_Component);function EuiOutsideClickDetector(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiOutsideClickDetector);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiOutsideClickDetector)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onClickOutside",function(event){var _this$props=_this.props,isDisabled=_this$props.isDisabled,onOutsideClick=_this$props.onOutsideClick;if(isDisabled){_this.capturedDownIds=[];return}if(event.euiGeneratedBy&&event.euiGeneratedBy.includes(_this.id)||_this.capturedDownIds.includes(_this.id)){_this.capturedDownIds=[];return}_this.capturedDownIds=[];return onOutsideClick(event)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onChildClick",function(event,cb){event.nativeEvent.hasOwnProperty("euiGeneratedBy")?event.nativeEvent.euiGeneratedBy.push(_this.id):event.nativeEvent.euiGeneratedBy=[_this.id];cb&&cb(event)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onChildMouseDown",function(event){_this.onChildClick(event,function(e){_this.capturedDownIds=e.nativeEvent.euiGeneratedBy;_this.props.onMouseDown&&_this.props.onMouseDown(e);_this.props.onTouchStart&&_this.props.onTouchStart(e)})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onChildMouseUp",function(event){_this.onChildClick(event,function(e){_this.props.onMouseUp&&_this.props.onMouseUp(e);_this.props.onTouchEnd&&_this.props.onTouchEnd(e)})});_this.id=(0,_accessibility.htmlIdGenerator)()();_this.capturedDownIds=[];return _this}_createClass(EuiOutsideClickDetector,[{key:"componentDidMount",value:function componentDidMount(){document.addEventListener("mouseup",this.onClickOutside);document.addEventListener("touchend",this.onClickOutside)}},{key:"componentWillUnmount",value:function componentWillUnmount(){document.removeEventListener("mouseup",this.onClickOutside);document.removeEventListener("touchend",this.onClickOutside)}},{key:"render",value:function render(){var props=_objectSpread({},this.props.children.props,{onMouseDown:this.onChildMouseDown,onTouchStart:this.onChildMouseDown,onMouseUp:this.onChildMouseUp,onTouchEnd:this.onChildMouseUp});var child=_react.Children.only(this.props.children);return(0,_react.cloneElement)(child,props)}}]);return EuiOutsideClickDetector}(_react.Component);exports.EuiOutsideClickDetector=EuiOutsideClickDetector;_defineProperty(EuiOutsideClickDetector,"propTypes",{children:_propTypes.default.node.isRequired,onOutsideClick:_propTypes.default.func.isRequired,isDisabled:_propTypes.default.bool});EuiOutsideClickDetector.__docgenInfo={description:"",methods:[{name:"onClickOutside",docblock:null,modifiers:[],params:[{name:"event",type:null}],returns:null},{name:"onChildClick",docblock:null,modifiers:[],params:[{name:"event",type:null},{name:"cb",type:null}],returns:null},{name:"onChildMouseDown",docblock:null,modifiers:[],params:[{name:"event",type:null}],returns:null},{name:"onChildMouseUp",docblock:null,modifiers:[],params:[{name:"event",type:null}],returns:null}],displayName:"EuiOutsideClickDetector",props:{children:{type:{name:"node"},required:true,description:""},onOutsideClick:{type:{name:"func"},required:true,description:""},isDisabled:{type:{name:"bool"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiColorPickerSwatch=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _color_picker_empty_swatch=__webpack_require__(1549);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiColorPickerSwatch=function EuiColorPickerSwatch(_ref){var color=_ref.color,className=_ref.className,rest=_objectWithoutProperties(_ref,["color","className"]);var isClear=!color;var classes=(0,_classnames.default)("euiColorPicker__swatch",className,{euiColorPicker__emptySwatch:isClear});var children;isClear&&(children=_react.default.createElement(_color_picker_empty_swatch.EuiColorPickerEmptySwatch,null));return _react.default.createElement("div",_extends({className:classes,"data-test-subj":"colorSwatch",style:{background:color||""}},rest),children)};exports.EuiColorPickerSwatch=EuiColorPickerSwatch;EuiColorPickerSwatch.propTypes={color:_propTypes.default.string};EuiColorPickerSwatch.__docgenInfo={description:"",methods:[],displayName:"EuiColorPickerSwatch",props:{color:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiColorPickerEmptySwatch=void 0;var _react=_interopRequireDefault(__webpack_require__(0));_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var EuiColorPickerEmptySwatch=function EuiColorPickerEmptySwatch(){return _react.default.createElement("svg",null,_react.default.createElement("line",{x1:"0",y1:"100%",x2:"100%",y2:"0"}))};exports.EuiColorPickerEmptySwatch=EuiColorPickerEmptySwatch;EuiColorPickerEmptySwatch.propTypes={};EuiColorPickerEmptySwatch.__docgenInfo={description:"",methods:[],displayName:"EuiColorPickerEmptySwatch"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiComboBox",{enumerable:true,get:function get(){return _combo_box.EuiComboBox}});var _combo_box=__webpack_require__(1551)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiComboBox=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(92);__webpack_require__(93);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _services=__webpack_require__(25);var _key_codes=__webpack_require__(152);var _portal=__webpack_require__(182);var _combo_box_input=__webpack_require__(1552);var _combo_box_options_list=__webpack_require__(1598);var _matching_options=__webpack_require__(1707);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiComboBox=function(_Component){_inherits(EuiComboBox,_Component);function EuiComboBox(props){var _this;_classCallCheck(this,EuiComboBox);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiComboBox).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"openList",function(){_this.setState({isListOpen:true})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"closeList",function(){_this.clearActiveOption();_this.setState({isListOpen:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"updateListPosition",function(){var listElement=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_this.state.listElement;if(!_this._isMounted)return;if(!_this.state.isListOpen)return;if(!listElement)return;var listElementBounds=listElement.getBoundingClientRect();if(0===listElementBounds.width||0===listElementBounds.height)return;var comboBoxBounds=_this.comboBox.getBoundingClientRect();var _findPopoverPosition=(0,_services.findPopoverPosition)({anchor:_this.comboBox,popover:listElement,position:"bottom",allowCrossAxis:false}),position=_findPopoverPosition.position,top=_findPopoverPosition.top;_this.optionsList.style.top="".concat(top,"px");_this.optionsList.style.left="".concat(comboBoxBounds.left+window.pageXOffset,"px");_this.optionsList.style.width="".concat(comboBoxBounds.width,"px");_this.setState({listElement:listElement,width:comboBoxBounds.width,listPosition:position})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"incrementActiveOptionIndex",function(amount){if(!_this.state.matchingOptions.length)return;_this.setState(function(_ref){var activeOptionIndex=_ref.activeOptionIndex,matchingOptions=_ref.matchingOptions;var nextActiveOptionIndex;if(activeOptionIndex<0)nextActiveOptionIndex=amount<0?matchingOptions.length-1:0;else{nextActiveOptionIndex=activeOptionIndex+amount;nextActiveOptionIndex<0?nextActiveOptionIndex=matchingOptions.length-1:nextActiveOptionIndex===matchingOptions.length&&(nextActiveOptionIndex=0)}var direction=amount>0?1:-1;while(matchingOptions[nextActiveOptionIndex].isGroupLabelOption){nextActiveOptionIndex+=direction;nextActiveOptionIndex<0?nextActiveOptionIndex=matchingOptions.length-1:nextActiveOptionIndex===matchingOptions.length&&(nextActiveOptionIndex=0)}return{activeOptionIndex:nextActiveOptionIndex}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"hasActiveOption",function(){return _this.state.activeOptionIndex>-1&&_this.state.activeOptionIndex<_this.state.matchingOptions.length});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"clearActiveOption",function(){_this.setState({activeOptionIndex:-1})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"clearSearchValue",function(){_this.onSearchChange("")});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"removeLastOption",function(){if(!_this.props.selectedOptions.length)return;if(_this.state.searchValue.length)return;_this.onRemoveOption(_this.props.selectedOptions[_this.props.selectedOptions.length-1])});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"addCustomOption",function(){var _this$props=_this.props,options=_this$props.options,selectedOptions=_this$props.selectedOptions,onCreateOption=_this$props.onCreateOption;var _this$state=_this.state,searchValue=_this$state.searchValue,matchingOptions=_this$state.matchingOptions;if(_this.doesSearchMatchOnlyOption()){_this.onAddOption(matchingOptions[0]);return}if(!onCreateOption)return;if(!searchValue)return;if((0,_matching_options.getSelectedOptionForSearchValue)(searchValue,selectedOptions))return;var isOptionCreated=_this.props.onCreateOption(searchValue,(0,_matching_options.flattenOptionGroups)(options));if(false===isOptionCreated)return;_this.clearSearchValue()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"doesSearchMatchOnlyOption",function(){var searchValue=_this.state.searchValue;if(1!==_this.state.matchingOptions.length)return false;return _this.state.matchingOptions[0].label.toLowerCase()===searchValue.toLowerCase()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"areAllOptionsSelected",function(){var _this$props2=_this.props,options=_this$props2.options,selectedOptions=_this$props2.selectedOptions,async=_this$props2.async;if(async)return false;return(0,_matching_options.flattenOptionGroups)(options).length===selectedOptions.length});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onComboBoxFocus",function(){_this.props.onFocus&&_this.props.onFocus();_this.openList();_this.setState({hasFocus:true})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onContainerBlur",function(e){var focusedInOptionsList=_this.optionsList&&_this.optionsList.contains(e.relatedTarget);var focusedInInput=_this.comboBox&&_this.comboBox.contains(e.relatedTarget);focusedInOptionsList||focusedInInput||_this.closeList();_this.hasActiveOption()||focusedInInput||focusedInOptionsList||_this.addCustomOption()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onComboBoxBlur",function(){_this.props.onBlur&&_this.props.onBlur();_this.setState({hasFocus:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onKeyDown",function(e){switch(e.keyCode){case _services.comboBoxKeyCodes.UP:e.preventDefault();e.stopPropagation();_this.state.isListOpen?_this.incrementActiveOptionIndex(-1):_this.openList();break;case _services.comboBoxKeyCodes.DOWN:e.preventDefault();e.stopPropagation();_this.state.isListOpen?_this.incrementActiveOptionIndex(1):_this.openList();break;case _key_codes.BACKSPACE:e.stopPropagation();_this.removeLastOption();break;case _key_codes.ESCAPE:e.stopPropagation();_this.closeList();break;case _services.comboBoxKeyCodes.ENTER:e.stopPropagation();_this.hasActiveOption()?_this.onAddOption(_this.state.matchingOptions[_this.state.activeOptionIndex]):_this.addCustomOption();break;case _key_codes.TAB:if(_this.hasActiveOption()){e.preventDefault();e.stopPropagation()}break;default:_this.props.onKeyDown&&_this.props.onKeyDown(e)}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onOptionEnterKey",function(option){_this.onAddOption(option)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onOptionClick",function(option){_this.onAddOption(option)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onAddOption",function(addedOption){if(addedOption.disabled)return;var _this$props3=_this.props,onChange=_this$props3.onChange,selectedOptions=_this$props3.selectedOptions,singleSelection=_this$props3.singleSelection;onChange(singleSelection?[addedOption]:selectedOptions.concat(addedOption));_this.clearSearchValue();if(singleSelection){_this.closeList();_this.searchInput.blur();return}_this.clearActiveOption();_this.searchInput.focus()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onRemoveOption",function(removedOption){var _this$props4=_this.props,onChange=_this$props4.onChange,selectedOptions=_this$props4.selectedOptions;onChange(selectedOptions.filter(function(option){return option!==removedOption}));_this.clearActiveOption()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"clearSelectedOptions",function(){_this.props.onChange([]);_this.searchInput.focus()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onComboBoxClick",function(){_this.searchInput.focus();_this.props.singleSelection&&1===_this.props.selectedOptions.length?_this.setState({activeOptionIndex:_this.state.matchingOptions.indexOf(_this.props.selectedOptions[0])}):_this.clearActiveOption()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onOpenListClick",function(){_this.searchInput.focus()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onCloseListClick",function(){_this.closeList()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onSearchChange",function(searchValue){_this.props.onSearchChange&&_this.props.onSearchChange(searchValue);_this.setState({searchValue:searchValue},function(){searchValue&&false===_this.state.isListOpen&&_this.openList()})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"comboBoxRef",function(node){null!=_this.comboBox&&_this.comboBox.removeEventListener("focusout",_this.onContainerBlur);_this.comboBox=node;if(_this.comboBox){_this.comboBox.addEventListener("focusout",_this.onContainerBlur);var comboBoxBounds=_this.comboBox.getBoundingClientRect();_this.setState({width:comboBoxBounds.width})}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"autoSizeInputRef",function(node){_this.autoSizeInput=node});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"searchInputRef",function(node){_this.searchInput=node;_this.props.inputRef&&_this.props.inputRef(node)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"optionsListRef",function(node){_this.optionsList=node});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"optionRef",function(index,node){_this.options[index]=node});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"toggleButtonRef",function(node){_this.toggleButton=node});var initialSearchValue="";var _options=props.options,_selectedOptions=props.selectedOptions,_singleSelection=props.singleSelection;_this.state={matchingOptions:(0,_matching_options.getMatchingOptions)(_options,_selectedOptions,initialSearchValue,props.async,_singleSelection),listElement:void 0,searchValue:initialSearchValue,isListOpen:false,listPosition:"bottom",activeOptionIndex:-1,hasFocus:false};_this.rootId=(0,_services.htmlIdGenerator)();_this.comboBox=void 0;_this.autoSizeInput=void 0;_this.searchInput=void 0;_this.optionsList=void 0;_this.options=[];return _this}_createClass(EuiComboBox,[{key:"componentDidMount",value:function componentDidMount(){var _this2=this;this._isMounted=true;setTimeout(function(){_this2.autoSizeInput&&_this2.autoSizeInput.copyInputStyles()},100)}},{key:"updateMatchingOptionsIfDifferent",value:function updateMatchingOptionsIfDifferent(newMatchingOptions){var _this$state2=this.state,matchingOptions=_this$state2.matchingOptions,activeOptionIndex=_this$state2.activeOptionIndex;var _this$props5=this.props,singleSelection=_this$props5.singleSelection,selectedOptions=_this$props5.selectedOptions;var areOptionsDifferent=false;if(matchingOptions.length!==newMatchingOptions.length)areOptionsDifferent=true;else for(var i=0;i<matchingOptions.length;i++)if(matchingOptions[i].label!==newMatchingOptions[i].label){areOptionsDifferent=true;break}if(areOptionsDifferent){this.options=[];var nextActiveOptionIndex=activeOptionIndex;singleSelection&&1===selectedOptions.length&&newMatchingOptions.includes(selectedOptions[0])&&(nextActiveOptionIndex=newMatchingOptions.indexOf(selectedOptions[0]));this.setState({matchingOptions:newMatchingOptions,activeOptionIndex:nextActiveOptionIndex});newMatchingOptions.length||this.hasActiveOption()&&this.clearActiveOption()}}},{key:"componentDidUpdate",value:function componentDidUpdate(){var _this$props6=this.props,options=_this$props6.options,selectedOptions=_this$props6.selectedOptions,singleSelection=_this$props6.singleSelection;var searchValue=this.state.searchValue;this.updateMatchingOptionsIfDifferent((0,_matching_options.getMatchingOptions)(options,selectedOptions,searchValue,this.props.async,singleSelection))}},{key:"componentWillUnmount",value:function componentWillUnmount(){this._isMounted=false}},{key:"render",value:function render(){var _this$props7=this.props,id=_this$props7.id,isDisabled=_this$props7.isDisabled,className=_this$props7.className,isLoading=_this$props7.isLoading,options=_this$props7.options,selectedOptions=_this$props7.selectedOptions,onCreateOption=_this$props7.onCreateOption,placeholder=_this$props7.placeholder,noSuggestions=_this$props7.noSuggestions,renderOption=_this$props7.renderOption,singleSelection=_this$props7.singleSelection,isInvalid=(_this$props7.onChange,_this$props7.onSearchChange,_this$props7.async,_this$props7.isInvalid),rowHeight=_this$props7.rowHeight,isClearable=_this$props7.isClearable,fullWidth=_this$props7.fullWidth,compressed=_this$props7.compressed,dataTestSubj=_this$props7["data-test-subj"],rest=_objectWithoutProperties(_this$props7,["id","isDisabled","className","isLoading","options","selectedOptions","onCreateOption","placeholder","noSuggestions","renderOption","singleSelection","onChange","onSearchChange","async","isInvalid","rowHeight","isClearable","fullWidth","compressed","data-test-subj"]);var _this$state3=this.state,hasFocus=_this$state3.hasFocus,searchValue=_this$state3.searchValue,isListOpen=_this$state3.isListOpen,listPosition=_this$state3.listPosition,width=_this$state3.width,activeOptionIndex=_this$state3.activeOptionIndex;var markAsInvalid=isInvalid||false===hasFocus&&searchValue;var classes=(0,_classnames.default)("euiComboBox",className,{"euiComboBox-isOpen":isListOpen,"euiComboBox-isInvalid":markAsInvalid,"euiComboBox-isDisabled":isDisabled,"euiComboBox--fullWidth":fullWidth,"euiComboBox--compressed":compressed});var value=selectedOptions.map(function(selectedOption){return selectedOption.label}).join(", ");var optionsList;if(!noSuggestions&&isListOpen){var optionsListDataTestSubj=dataTestSubj?"".concat(dataTestSubj,"-optionsList"):void 0;optionsList=_react.default.createElement(_portal.EuiPortal,null,_react.default.createElement(_combo_box_options_list.EuiComboBoxOptionsList,{isLoading:isLoading,options:options,selectedOptions:selectedOptions,onCreateOption:onCreateOption,searchValue:searchValue,matchingOptions:this.state.matchingOptions,activeOptionIndex:this.state.activeOptionIndex,listRef:this.optionsListRef,optionRef:this.optionRef,onOptionClick:this.onOptionClick,onOptionEnterKey:this.onOptionEnterKey,areAllOptionsSelected:this.areAllOptionsSelected(),getSelectedOptionForSearchValue:_matching_options.getSelectedOptionForSearchValue,updatePosition:this.updateListPosition,position:listPosition,renderOption:renderOption,width:width,scrollToIndex:activeOptionIndex,rowHeight:rowHeight,"data-test-subj":optionsListDataTestSubj,fullWidth:fullWidth,rootId:this.rootId}))}return _react.default.createElement("div",_extends({},rest,{className:classes,onKeyDown:this.onKeyDown,ref:this.comboBoxRef,"data-test-subj":dataTestSubj,role:"combobox","aria-haspopup":"listbox","aria-expanded":isListOpen}),_react.default.createElement(_combo_box_input.EuiComboBoxInput,{id:id,placeholder:placeholder,selectedOptions:selectedOptions,onRemoveOption:this.onRemoveOption,onBlur:this.onComboBoxBlur,onClick:this.onComboBoxClick,onChange:this.onSearchChange,onFocus:this.onComboBoxFocus,value:value,searchValue:searchValue,autoSizeInputRef:this.autoSizeInputRef,inputRef:this.searchInputRef,updatePosition:this.updateListPosition,onClear:isClearable&&!isDisabled?this.clearSelectedOptions:void 0,hasSelectedOptions:selectedOptions.length>0,isListOpen:isListOpen,onOpenListClick:this.onOpenListClick,onCloseListClick:this.onCloseListClick,singleSelection:singleSelection,isDisabled:isDisabled,toggleButtonRef:this.toggleButtonRef,fullWidth:fullWidth,noIcon:!!noSuggestions,rootId:this.rootId,focusedOptionId:this.hasActiveOption()?this.rootId("_option-".concat(this.state.activeOptionIndex)):null,compressed:compressed}),optionsList)}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,prevState){var options=nextProps.options,selectedOptions=nextProps.selectedOptions,singleSelection=nextProps.singleSelection;var activeOptionIndex=prevState.activeOptionIndex,searchValue=prevState.searchValue;var matchingOptions=(0,_matching_options.getMatchingOptions)(options,selectedOptions,searchValue,nextProps.async,singleSelection);var stateUpdate={matchingOptions:matchingOptions};activeOptionIndex>=matchingOptions.length&&(stateUpdate.activeOptionIndex=-1);return stateUpdate}}]);return EuiComboBox}(_react.Component);exports.EuiComboBox=EuiComboBox;_defineProperty(EuiComboBox,"propTypes",{id:_propTypes.default.string,isDisabled:_propTypes.default.bool,className:_propTypes.default.string,placeholder:_propTypes.default.string,isLoading:_propTypes.default.bool,async:_propTypes.default.bool,singleSelection:_propTypes.default.oneOfType([_propTypes.default.bool,_propTypes.default.shape({asPlainText:_propTypes.default.bool})]),noSuggestions:_propTypes.default.bool,options:_propTypes.default.array,selectedOptions:_propTypes.default.array,onBlur:_propTypes.default.func,onChange:_propTypes.default.func,onFocus:_propTypes.default.func,onSearchChange:_propTypes.default.func,onCreateOption:_propTypes.default.func,renderOption:_propTypes.default.func,isInvalid:_propTypes.default.bool,rowHeight:_propTypes.default.number,isClearable:_propTypes.default.bool,fullWidth:_propTypes.default.bool,compressed:_propTypes.default.bool,inputRef:_propTypes.default.func});_defineProperty(EuiComboBox,"defaultProps",{options:[],selectedOptions:[],isClearable:true,singleSelection:false,fullWidth:false,compressed:false});EuiComboBox.__docgenInfo={description:"",methods:[{name:"openList",docblock:null,modifiers:[],params:[],returns:null},{name:"closeList",docblock:null,modifiers:[],params:[],returns:null},{name:"updateListPosition",docblock:null,modifiers:[],params:[{name:"listElement",type:null}],returns:null},{name:"incrementActiveOptionIndex",docblock:null,modifiers:[],params:[{name:"amount",type:null}],returns:null},{name:"hasActiveOption",docblock:null,modifiers:[],params:[],returns:null},{name:"clearActiveOption",docblock:null,modifiers:[],params:[],returns:null},{name:"clearSearchValue",docblock:null,modifiers:[],params:[],returns:null},{name:"removeLastOption",docblock:null,modifiers:[],params:[],returns:null},{name:"addCustomOption",docblock:null,modifiers:[],params:[],returns:null},{name:"doesSearchMatchOnlyOption",docblock:null,modifiers:[],params:[],returns:null},{name:"areAllOptionsSelected",docblock:null,modifiers:[],params:[],returns:null},{name:"onComboBoxFocus",docblock:null,modifiers:[],params:[],returns:null},{name:"onContainerBlur",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null},{name:"onComboBoxBlur",docblock:null,modifiers:[],params:[],returns:null},{name:"onKeyDown",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null},{name:"onOptionEnterKey",docblock:null,modifiers:[],params:[{name:"option",type:null}],returns:null},{name:"onOptionClick",docblock:null,modifiers:[],params:[{name:"option",type:null}],returns:null},{name:"onAddOption",docblock:null,modifiers:[],params:[{name:"addedOption",type:null}],returns:null},{name:"onRemoveOption",docblock:null,modifiers:[],params:[{name:"removedOption",type:null}],returns:null},{name:"clearSelectedOptions",docblock:null,modifiers:[],params:[],returns:null},{name:"onComboBoxClick",docblock:null,modifiers:[],params:[],returns:null},{name:"onOpenListClick",docblock:null,modifiers:[],params:[],returns:null},{name:"onCloseListClick",docblock:null,modifiers:[],params:[],returns:null},{name:"onSearchChange",docblock:null,modifiers:[],params:[{name:"searchValue",type:null}],returns:null},{name:"comboBoxRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null},{name:"autoSizeInputRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null},{name:"searchInputRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null},{name:"optionsListRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null},{name:"optionRef",docblock:null,modifiers:[],params:[{name:"index",type:null},{name:"node",type:null}],returns:null},{name:"toggleButtonRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null},{name:"getDerivedStateFromProps",docblock:null,modifiers:["static"],params:[{name:"nextProps",type:null},{name:"prevState",type:null}],returns:null},{name:"updateMatchingOptionsIfDifferent",docblock:null,modifiers:[],params:[{name:"newMatchingOptions",type:null}],returns:null}],displayName:"EuiComboBox",props:{options:{defaultValue:{value:"[]",computed:false},type:{name:"array"},required:false,description:""},selectedOptions:{defaultValue:{value:"[]",computed:false},type:{name:"array"},required:false,description:""},isClearable:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:""},singleSelection:{defaultValue:{value:"false",computed:false},type:{name:"union",value:[{name:"bool"},{name:"shape",value:{asPlainText:{name:"bool",required:false}}}]},required:false,description:""},fullWidth:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},compressed:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},id:{type:{name:"string"},required:false,description:""},isDisabled:{type:{name:"bool"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},placeholder:{type:{name:"string"},required:false,description:""},isLoading:{type:{name:"bool"},required:false,description:""},async:{type:{name:"bool"},required:false,description:""},noSuggestions:{type:{name:"bool"},required:false,description:""},onBlur:{type:{name:"func"},required:false,description:""},onChange:{type:{name:"func"},required:false,description:""},onFocus:{type:{name:"func"},required:false,description:""},onSearchChange:{type:{name:"func"},required:false,description:""},onCreateOption:{type:{name:"func"},required:false,description:""},renderOption:{type:{name:"func"},required:false,description:""},isInvalid:{type:{name:"bool"},required:false,description:""},rowHeight:{type:{name:"number"},required:false,description:""},inputRef:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiComboBoxInput",{enumerable:true,get:function get(){return _combo_box_input.EuiComboBoxInput}});var _combo_box_input=__webpack_require__(1553)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiComboBoxInput=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactInputAutosize=_interopRequireDefault(__webpack_require__(1554));var _accessibility=__webpack_require__(73);var _form=__webpack_require__(157);var _combo_box_pill=__webpack_require__(1597);var _services=__webpack_require__(25);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var makeId=(0,_services.htmlIdGenerator)();var EuiComboBoxInput=function(_Component){_inherits(EuiComboBoxInput,_Component);function EuiComboBoxInput(props){var _this;_classCallCheck(this,EuiComboBoxInput);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiComboBoxInput).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"updatePosition",function(){requestAnimationFrame(function(){_this.props.updatePosition()})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onFocus",function(){_this.props.onFocus();_this.setState({hasFocus:true})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onBlur",function(){_this.props.onBlur&&_this.props.onBlur();_this.setState({hasFocus:false})});_this.state={hasFocus:false};return _this}_createClass(EuiComboBoxInput,[{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){var searchValue=prevProps.searchValue;searchValue!==this.props.searchValue&&this.updatePosition()}},{key:"render",value:function render(){var _this$props=this.props,id=_this$props.id,placeholder=_this$props.placeholder,selectedOptions=_this$props.selectedOptions,onRemoveOption=_this$props.onRemoveOption,onClick=_this$props.onClick,_onChange=_this$props.onChange,value=_this$props.value,searchValue=_this$props.searchValue,autoSizeInputRef=_this$props.autoSizeInputRef,inputRef=_this$props.inputRef,onClear=_this$props.onClear,hasSelectedOptions=_this$props.hasSelectedOptions,isListOpen=_this$props.isListOpen,onOpenListClick=_this$props.onOpenListClick,onCloseListClick=_this$props.onCloseListClick,singleSelection=_this$props.singleSelection,isDisabled=_this$props.isDisabled,toggleButtonRef=_this$props.toggleButtonRef,fullWidth=_this$props.fullWidth,noIcon=_this$props.noIcon,rootId=_this$props.rootId,focusedOptionId=_this$props.focusedOptionId,compressed=_this$props.compressed;var pills=selectedOptions.map(function(option){var label=option.label,color=option.color,onClick=option.onClick,rest=_objectWithoutProperties(option,["label","color","onClick"]);var asPlainText=singleSelection&&singleSelection.asPlainText;return _react.default.createElement(_combo_box_pill.EuiComboBoxPill,_extends({option:option,onClose:isDisabled||singleSelection||onClick?null:onRemoveOption,key:label.toLowerCase(),color:color,onClick:onClick,onClickAriaLabel:onClick?"Change":null,asPlainText:asPlainText},rest),label)});var removeOptionMessage;var removeOptionMessageId;if(this.state.hasFocus){var removeOptionMessageContent="Combo box. Selected. ".concat(searchValue?"".concat(searchValue,". Selected. "):"").concat(selectedOptions.length?"".concat(value,". Press Backspace to delete ").concat(selectedOptions[selectedOptions.length-1].label,". "):"","You are currently on a combo box. Type text or, to display a list of choices, press Down Arrow. ")+"To exit the list of choices, press Escape.";removeOptionMessageId=makeId();removeOptionMessage=_react.default.createElement(_accessibility.EuiScreenReaderOnly,null,_react.default.createElement("span",{"aria-live":"assertive",id:removeOptionMessageId},removeOptionMessageContent))}var placeholderMessage;!placeholder||selectedOptions.length||searchValue||(placeholderMessage=_react.default.createElement("p",{className:"euiComboBoxPlaceholder"},placeholder));var clickProps={};!isDisabled&&onClear&&hasSelectedOptions&&(clickProps.clear={onClick:onClear,"data-test-subj":"comboBoxClearButton"});var icon;noIcon||(icon={type:"arrowDown",side:"right",onClick:isListOpen&&!isDisabled?onCloseListClick:onOpenListClick,ref:toggleButtonRef,"aria-label":isListOpen?"Close list of options":"Open list of options",disabled:isDisabled,"data-test-subj":"comboBoxToggleListButton"});var wrapClasses=(0,_classnames.default)("euiComboBox__inputWrap",{"euiComboBox__inputWrap--compressed":compressed,"euiComboBox__inputWrap--fullWidth":fullWidth,"euiComboBox__inputWrap--noWrap":singleSelection,"euiComboBox__inputWrap-isClearable":onClear});return _react.default.createElement(_form.EuiFormControlLayout,_extends({icon:icon},clickProps,{fullWidth:fullWidth,compressed:compressed}),_react.default.createElement("div",{className:wrapClasses,onClick:onClick,tabIndex:"-1","data-test-subj":"comboBoxInput"},singleSelection&&searchValue?null:pills,placeholderMessage,_react.default.createElement(_reactInputAutosize.default,{role:"textbox","aria-controls":isListOpen?rootId("listbox"):null,"aria-activedescendant":focusedOptionId,id:id,style:{fontSize:14},className:"euiComboBox__input",onFocus:this.onFocus,onBlur:this.onBlur,onChange:function onChange(e){return _onChange(e.target.value)},value:searchValue,ref:autoSizeInputRef,inputRef:inputRef,disabled:isDisabled,"data-test-subj":"comboBoxSearchInput"}),removeOptionMessage))}}]);return EuiComboBoxInput}(_react.Component);exports.EuiComboBoxInput=EuiComboBoxInput;_defineProperty(EuiComboBoxInput,"propTypes",{id:_propTypes.default.string,placeholder:_propTypes.default.string,selectedOptions:_propTypes.default.array,onRemoveOption:_propTypes.default.func,onBlur:_propTypes.default.func,onClick:_propTypes.default.func,onFocus:_propTypes.default.func.isRequired,onChange:_propTypes.default.func,value:_propTypes.default.string,searchValue:_propTypes.default.string,autoSizeInputRef:_propTypes.default.func,inputRef:_propTypes.default.func,updatePosition:_propTypes.default.func.isRequired,onClear:_propTypes.default.func,hasSelectedOptions:_propTypes.default.bool.isRequired,isListOpen:_propTypes.default.bool.isRequired,noIcon:_propTypes.default.bool.isRequired,onOpenListClick:_propTypes.default.func.isRequired,onCloseListClick:_propTypes.default.func.isRequired,singleSelection:_propTypes.default.oneOfType([_propTypes.default.bool,_propTypes.default.shape({asPlainText:_propTypes.default.bool})]),isDisabled:_propTypes.default.bool,toggleButtonRef:_propTypes.default.func,fullWidth:_propTypes.default.bool,rootId:_propTypes.default.func.isRequired,focusedOptionId:_propTypes.default.string,compressed:_propTypes.default.bool.isRequired});EuiComboBoxInput.__docgenInfo={description:"",methods:[{name:"updatePosition",docblock:null,modifiers:[],params:[],returns:null},{name:"onFocus",docblock:null,modifiers:[],params:[],returns:null},{name:"onBlur",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiComboBoxInput",props:{id:{type:{name:"string"},required:false,description:""},placeholder:{type:{name:"string"},required:false,description:""},selectedOptions:{type:{name:"array"},required:false,description:""},onRemoveOption:{type:{name:"func"},required:false,description:""},onBlur:{type:{name:"func"},required:false,description:""},onClick:{type:{name:"func"},required:false,description:""},onFocus:{type:{name:"func"},required:true,description:""},onChange:{type:{name:"func"},required:false,description:""},value:{type:{name:"string"},required:false,description:""},searchValue:{type:{name:"string"},required:false,description:""},autoSizeInputRef:{type:{name:"func"},required:false,description:""},inputRef:{type:{name:"func"},required:false,description:""},updatePosition:{type:{name:"func"},required:true,description:""},onClear:{type:{name:"func"},required:false,description:""},hasSelectedOptions:{type:{name:"bool"},required:true,description:""},isListOpen:{type:{name:"bool"},required:true,description:""},noIcon:{type:{name:"bool"},required:true,description:""},onOpenListClick:{type:{name:"func"},required:true,description:""},onCloseListClick:{type:{name:"func"},required:true,description:""},singleSelection:{type:{name:"union",value:[{name:"bool"},{name:"shape",value:{asPlainText:{name:"bool",required:false}}}]},required:false,description:""},isDisabled:{type:{name:"bool"},required:false,description:""},toggleButtonRef:{type:{name:"func"},required:false,description:""},fullWidth:{type:{name:"bool"},required:false,description:""},rootId:{type:{name:"func"},required:true,description:""},focusedOptionId:{type:{name:"string"},required:false,description:""},compressed:{type:{name:"bool"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(1555);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var sizerStyle={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"};var INPUT_PROPS_BLACKLIST=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"];var cleanInputProps=function cleanInputProps(inputProps){INPUT_PROPS_BLACKLIST.forEach(function(field){return delete inputProps[field]});return inputProps};var copyStyles=function copyStyles(styles,node){node.style.fontSize=styles.fontSize;node.style.fontFamily=styles.fontFamily;node.style.fontWeight=styles.fontWeight;node.style.fontStyle=styles.fontStyle;node.style.letterSpacing=styles.letterSpacing;node.style.textTransform=styles.textTransform};var isIE=!("undefined"===typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent);var generateId=function generateId(){return isIE?"_"+Math.random().toString(36).substr(2,12):void 0};var AutosizeInput=function(_Component){_inherits(AutosizeInput,_Component);function AutosizeInput(props){_classCallCheck(this,AutosizeInput);var _this=_possibleConstructorReturn(this,(AutosizeInput.__proto__||Object.getPrototypeOf(AutosizeInput)).call(this,props));_this.inputRef=function(el){_this.input=el;"function"===typeof _this.props.inputRef&&_this.props.inputRef(el)};_this.placeHolderSizerRef=function(el){_this.placeHolderSizer=el};_this.sizerRef=function(el){_this.sizer=el};_this.state={inputWidth:props.minWidth,inputId:props.id||generateId()};return _this}_createClass(AutosizeInput,[{key:"componentDidMount",value:function componentDidMount(){this.mounted=true;this.copyInputStyles();this.updateInputWidth()}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){var id=nextProps.id;id!==this.props.id&&this.setState({inputId:id||generateId()})}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps,prevState){prevState.inputWidth!==this.state.inputWidth&&"function"===typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth);this.updateInputWidth()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.mounted=false}},{key:"copyInputStyles",value:function copyInputStyles(){if(!this.mounted||!window.getComputedStyle)return;var inputStyles=this.input&&window.getComputedStyle(this.input);if(!inputStyles)return;copyStyles(inputStyles,this.sizer);this.placeHolderSizer&&copyStyles(inputStyles,this.placeHolderSizer)}},{key:"updateInputWidth",value:function updateInputWidth(){if(!this.mounted||!this.sizer||"undefined"===typeof this.sizer.scrollWidth)return;var newInputWidth=void 0;newInputWidth=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2;var extraWidth="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0;newInputWidth+=extraWidth;newInputWidth<this.props.minWidth&&(newInputWidth=this.props.minWidth);newInputWidth!==this.state.inputWidth&&this.setState({inputWidth:newInputWidth})}},{key:"getInput",value:function getInput(){return this.input}},{key:"focus",value:function focus(){this.input.focus()}},{key:"blur",value:function blur(){this.input.blur()}},{key:"select",value:function select(){this.input.select()}},{key:"renderStyles",value:function renderStyles(){var injectStyles=this.props.injectStyles;return isIE&&injectStyles?_react2.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function render(){var sizerValue=[this.props.defaultValue,this.props.value,""].reduce(function(previousValue,currentValue){if(null!==previousValue&&void 0!==previousValue)return previousValue;return currentValue});var wrapperStyle=_extends({},this.props.style);wrapperStyle.display||(wrapperStyle.display="inline-block");var inputStyle=_extends({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle);var inputProps=_objectWithoutProperties(this.props,[]);cleanInputProps(inputProps);inputProps.className=this.props.inputClassName;inputProps.id=this.state.inputId;inputProps.style=inputStyle;return _react2.default.createElement("div",{className:this.props.className,style:wrapperStyle},this.renderStyles(),_react2.default.createElement("input",_extends({},inputProps,{ref:this.inputRef})),_react2.default.createElement("div",{ref:this.sizerRef,style:sizerStyle},sizerValue),this.props.placeholder?_react2.default.createElement("div",{ref:this.placeHolderSizerRef,style:sizerStyle},this.props.placeholder):null)}}]);return AutosizeInput}(_react.Component);AutosizeInput.propTypes={className:_propTypes2.default.string,defaultValue:_propTypes2.default.any,extraWidth:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string]),id:_propTypes2.default.string,injectStyles:_propTypes2.default.bool,inputClassName:_propTypes2.default.string,inputRef:_propTypes2.default.func,inputStyle:_propTypes2.default.object,minWidth:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string]),onAutosize:_propTypes2.default.func,onChange:_propTypes2.default.func,placeholder:_propTypes2.default.string,placeholderIsMinWidth:_propTypes2.default.bool,style:_propTypes2.default.object,value:_propTypes2.default.any};AutosizeInput.defaultProps={minWidth:1,injectStyles:true};exports.default=AutosizeInput},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(1556)()},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);var ReactPropTypesSecret=__webpack_require__(1557);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiCheckbox",{enumerable:true,get:function get(){return _checkbox.EuiCheckbox}});Object.defineProperty(exports,"EuiCheckboxGroup",{enumerable:true,get:function get(){return _checkbox_group.EuiCheckboxGroup}});var _checkbox=__webpack_require__(411);var _checkbox_group=__webpack_require__(1559)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiCheckboxGroup=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _checkbox=__webpack_require__(411);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiCheckboxGroup=function EuiCheckboxGroup(_ref){var options=_ref.options,idToSelectedMap=_ref.idToSelectedMap,onChange=_ref.onChange,className=_ref.className,disabled=_ref.disabled,compressed=_ref.compressed,rest=_objectWithoutProperties(_ref,["options","idToSelectedMap","onChange","className","disabled","compressed"]);return _react.default.createElement("div",_extends({className:className},rest),options.map(function(option,index){return _react.default.createElement(_checkbox.EuiCheckbox,{className:"euiCheckboxGroup__item",key:index,id:option.id,checked:idToSelectedMap[option.id],label:option.label,disabled:disabled,onChange:onChange.bind(null,option.id),compressed:compressed})}))};exports.EuiCheckboxGroup=EuiCheckboxGroup;EuiCheckboxGroup.propTypes={options:_propTypes.default.arrayOf(_propTypes.default.shape({id:_propTypes.default.string.isRequired,label:_propTypes.default.node})).isRequired,idToSelectedMap:_propTypes.default.objectOf(_propTypes.default.bool).isRequired,onChange:_propTypes.default.func.isRequired,compressed:_propTypes.default.bool};EuiCheckboxGroup.defaultProps={options:[],idToSelectedMap:{}};EuiCheckboxGroup.__docgenInfo={description:"",methods:[],displayName:"EuiCheckboxGroup",props:{options:{defaultValue:{value:"[]",computed:false},type:{name:"arrayOf",value:{name:"shape",value:{id:{name:"string",required:true},label:{name:"node",required:false}}}},required:false,description:""},idToSelectedMap:{defaultValue:{value:"{}",computed:false},type:{name:"objectOf",value:{name:"bool"}},required:false,description:""},onChange:{type:{name:"func"},required:true,description:""},compressed:{type:{name:"bool"},required:false,description:"Tightens up the spacing between checkbox rows and sends down the\ncompressed prop to the checkbox itself"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiDescribedFormGroup",{enumerable:true,get:function get(){return _described_form_group.EuiDescribedFormGroup}});var _described_form_group=__webpack_require__(1561)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiDescribedFormGroup=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _title=__webpack_require__(285);var _text=__webpack_require__(595);var _flex=__webpack_require__(54);var _flex_group=__webpack_require__(377);var _make_id=_interopRequireDefault(__webpack_require__(231));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var paddingSizeToClassNameMap={xxxs:"euiDescribedFormGroup__fieldPadding--xxxsmall",xxs:"euiDescribedFormGroup__fieldPadding--xxsmall",xs:"euiDescribedFormGroup__fieldPadding--xsmall",s:"euiDescribedFormGroup__fieldPadding--small",m:"euiDescribedFormGroup__fieldPadding--medium",l:"euiDescribedFormGroup__fieldPadding--large"};var EuiDescribedFormGroup=function(_Component){_inherits(EuiDescribedFormGroup,_Component);function EuiDescribedFormGroup(props){var _this;_classCallCheck(this,EuiDescribedFormGroup);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiDescribedFormGroup).call(this,props));_this.ariaId=props.idAria||(0,_make_id.default)();return _this}_createClass(EuiDescribedFormGroup,[{key:"render",value:function render(){var _this$props=this.props,children=_this$props.children,className=_this$props.className,gutterSize=_this$props.gutterSize,fullWidth=_this$props.fullWidth,titleSize=_this$props.titleSize,title=_this$props.title,description=_this$props.description,userAriaId=_this$props.idAria,rest=_objectWithoutProperties(_this$props,["children","className","gutterSize","fullWidth","titleSize","title","description","idAria"]);var ariaId=this.ariaId;var classes=(0,_classnames.default)("euiDescribedFormGroup",{"euiDescribedFormGroup--fullWidth":fullWidth},className);var fieldClasses=(0,_classnames.default)("euiDescribedFormGroup__fields",paddingSizeToClassNameMap[titleSize]);var ariaProps={"aria-labelledby":"".concat(ariaId,"-title")};var renderedDescription;if(description){renderedDescription=_react.default.createElement(_text.EuiText,{id:ariaId,size:"s",color:"subdued",className:"euiDescribedFormGroup__description"},description);ariaProps["aria-describedby"]=userAriaId?null:ariaId}return _react.default.createElement("div",_extends({role:"group",className:classes},ariaProps,rest),_react.default.createElement(_flex.EuiFlexGroup,{gutterSize:gutterSize},_react.default.createElement(_flex.EuiFlexItem,null,_react.default.createElement(_title.EuiTitle,{id:"".concat(ariaId,"-title"),size:titleSize,className:"euiDescribedFormGroup__title"},title),renderedDescription),_react.default.createElement(_flex.EuiFlexItem,{className:fieldClasses},children)))}}]);return EuiDescribedFormGroup}(_react.Component);exports.EuiDescribedFormGroup=EuiDescribedFormGroup;EuiDescribedFormGroup.propTypes={children:_propTypes.default.node.isRequired,className:_propTypes.default.string,gutterSize:_propTypes.default.oneOf(_flex_group.GUTTER_SIZES),fullWidth:_propTypes.default.bool,titleSize:_propTypes.default.oneOf(_title.TITLE_SIZES),title:_propTypes.default.node.isRequired,description:_propTypes.default.node,idAria:_propTypes.default.string};EuiDescribedFormGroup.defaultProps={gutterSize:"l",titleSize:"xs",fullWidth:false};EuiDescribedFormGroup.__docgenInfo={description:"",methods:[],displayName:"EuiDescribedFormGroup",props:{gutterSize:{defaultValue:{value:"'l'",computed:false},type:{name:"enum",computed:true,value:"GUTTER_SIZES"},required:false,description:"Passed to `EuiFlexGroup`"},titleSize:{defaultValue:{value:"'xs'",computed:false},type:{name:"enum",computed:true,value:"TITLE_SIZES"},required:false,description:""},fullWidth:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},children:{type:{name:"node"},required:true,description:"One or more `EuiFormRow`s"},className:{type:{name:"string"},required:false,description:""},title:{type:{name:"node"},required:true,description:""},description:{type:{name:"node"},required:false,description:""},idAria:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFieldNumber=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _form_control_layout=__webpack_require__(127);var _validatable_control=__webpack_require__(128);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiFieldNumber=function EuiFieldNumber(_ref){var className=_ref.className,icon=_ref.icon,id=_ref.id,placeholder=_ref.placeholder,name=_ref.name,min=_ref.min,max=_ref.max,value=_ref.value,isInvalid=_ref.isInvalid,fullWidth=_ref.fullWidth,isLoading=_ref.isLoading,compressed=_ref.compressed,prepend=_ref.prepend,append=_ref.append,inputRef=_ref.inputRef,rest=_objectWithoutProperties(_ref,["className","icon","id","placeholder","name","min","max","value","isInvalid","fullWidth","isLoading","compressed","prepend","append","inputRef"]);var classes=(0,_classnames.default)("euiFieldNumber",className,{"euiFieldNumber--withIcon":icon,"euiFieldNumber--fullWidth":fullWidth,"euiFieldNumber--compressed":compressed,"euiFieldNumber--inGroup":prepend||append,"euiFieldNumber-isLoading":isLoading});return _react.default.createElement(_form_control_layout.EuiFormControlLayout,{icon:icon,fullWidth:fullWidth,isLoading:isLoading,compressed:compressed,prepend:prepend,append:append},_react.default.createElement(_validatable_control.EuiValidatableControl,{isInvalid:isInvalid},_react.default.createElement("input",_extends({type:"number",id:id,min:min,max:max,name:name,value:value,placeholder:placeholder,className:classes,ref:inputRef},rest))))};exports.EuiFieldNumber=EuiFieldNumber;function numberOrEmptyString(props,propName,componentName){componentName=componentName||"ANONYMOUS";if(props[propName]){var value=props[propName];if("string"===typeof value&&""!==value)return new Error("Invalid prop '".concat(propName,"' of type 'string' supplied to '").concat(componentName,"',")+" expected empty string or type 'number', you supplied a string with the contents '".concat(value,"'."));if("number"!==typeof value)return new Error("Invalid prop '".concat(propName,"' of type '").concat(_typeof(value),"' supplied to '").concat(componentName,"',")+" expected empty string or type 'number'.")}return null}EuiFieldNumber.propTypes={id:_propTypes.default.string,name:_propTypes.default.string,min:_propTypes.default.number,max:_propTypes.default.number,step:_propTypes.default.number,value:numberOrEmptyString,icon:_propTypes.default.string,isInvalid:_propTypes.default.bool,fullWidth:_propTypes.default.bool,isLoading:_propTypes.default.bool,compressed:_propTypes.default.bool,prepend:_propTypes.default.oneOfType([_propTypes.default.node,_propTypes.default.arrayOf(_propTypes.default.node)]),append:_propTypes.default.oneOfType([_propTypes.default.node,_propTypes.default.arrayOf(_propTypes.default.node)])};EuiFieldNumber.defaultProps={value:void 0,fullWidth:false,isLoading:false,compressed:false};EuiFieldNumber.__docgenInfo={description:"",methods:[],displayName:"EuiFieldNumber",props:{value:{defaultValue:{value:"undefined",computed:true},type:{name:"custom",raw:"numberOrEmptyString"},required:false,description:""},fullWidth:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},isLoading:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},compressed:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"when `true` creates a shorter height input"},id:{type:{name:"string"},required:false,description:""},name:{type:{name:"string"},required:false,description:""},min:{type:{name:"number"},required:false,description:""},max:{type:{name:"number"},required:false,description:""},step:{type:{name:"number"},required:false,description:""},icon:{type:{name:"string"},required:false,description:""},isInvalid:{type:{name:"bool"},required:false,description:""},prepend:{type:{name:"union",value:[{name:"node"},{name:"arrayOf",value:{name:"node"}}]},required:false,description:"Creates an input group with element(s) coming before input"},append:{type:{name:"union",value:[{name:"node"},{name:"arrayOf",value:{name:"node"}}]},required:false,description:"Creates an input group with element(s) coming after input"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFormControlLayout=exports.ICON_SIDES=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _form_control_layout_icons=__webpack_require__(1564);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var ICON_SIDES=["left","right"];exports.ICON_SIDES=ICON_SIDES;var EuiFormControlLayout=function(_Component){_inherits(EuiFormControlLayout,_Component);function EuiFormControlLayout(){_classCallCheck(this,EuiFormControlLayout);return _possibleConstructorReturn(this,_getPrototypeOf(EuiFormControlLayout).apply(this,arguments))}_createClass(EuiFormControlLayout,[{key:"render",value:function render(){var _this$props=this.props,children=_this$props.children,icon=_this$props.icon,clear=_this$props.clear,fullWidth=_this$props.fullWidth,isLoading=_this$props.isLoading,compressed=_this$props.compressed,className=_this$props.className,prepend=_this$props.prepend,append=_this$props.append,rest=_objectWithoutProperties(_this$props,["children","icon","clear","fullWidth","isLoading","compressed","className","prepend","append"]);var classes=(0,_classnames.default)("euiFormControlLayout",{"euiFormControlLayout--fullWidth":fullWidth,"euiFormControlLayout--compressed":compressed,"euiFormControlLayout--group":prepend||append},className);var prependNodes=this.renderPrepends();var appendNodes=this.renderAppends();var clonedChildren;(prepend||append)&&children&&(clonedChildren=(0,_react.cloneElement)(children,{className:"".concat(children.props.className," euiFormControlLayout__child--noStyle")}));return _react.default.createElement("div",_extends({className:classes},rest),prependNodes,_react.default.createElement("div",{className:"euiFormControlLayout__childrenWrapper"},clonedChildren||children,_react.default.createElement(_form_control_layout_icons.EuiFormControlLayoutIcons,{icon:icon,clear:clear,isLoading:isLoading})),appendNodes)}},{key:"renderPrepends",value:function renderPrepends(){var _this=this;var prepend=this.props.prepend;if(!prepend)return;var prependNodes;prependNodes=Array.isArray(prepend)?prepend.map(function(item,index){return _this.createSideNode(item,"prepend",index)}):this.createSideNode(prepend,"prepend");return prependNodes}},{key:"renderAppends",value:function renderAppends(){var _this2=this;var append=this.props.append;if(!append)return;var appendNodes;appendNodes=Array.isArray(append)?append.map(function(item,index){return _this2.createSideNode(item,"append",index)}):this.createSideNode(append,"append");return appendNodes}},{key:"createSideNode",value:function createSideNode(node,side,key){return(0,_react.cloneElement)(node,{className:"euiFormControlLayout__".concat(side),key:key})}}]);return EuiFormControlLayout}(_react.Component);exports.EuiFormControlLayout=EuiFormControlLayout;EuiFormControlLayout.propTypes={children:_propTypes.default.node,icon:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.shape({type:_propTypes.default.string,side:_propTypes.default.oneOf(ICON_SIDES),onClick:_propTypes.default.func})]),clear:_propTypes.default.shape({onClick:_propTypes.default.func}),fullWidth:_propTypes.default.bool,isLoading:_propTypes.default.bool,className:_propTypes.default.string,compressed:_propTypes.default.bool,prepend:_propTypes.default.oneOfType([_propTypes.default.node,_propTypes.default.arrayOf(_propTypes.default.node)]),append:_propTypes.default.oneOfType([_propTypes.default.node,_propTypes.default.arrayOf(_propTypes.default.node)])};EuiFormControlLayout.defaultProps={isLoading:false,compressed:false};EuiFormControlLayout.__docgenInfo={description:"",methods:[{name:"renderPrepends",docblock:null,modifiers:[],params:[],returns:null},{name:"renderAppends",docblock:null,modifiers:[],params:[],returns:null},{name:"createSideNode",docblock:null,modifiers:[],params:[{name:"node",type:null},{name:"side",type:null},{name:"key",type:null}],returns:null}],displayName:"EuiFormControlLayout",props:{isLoading:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},compressed:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},children:{type:{name:"node"},required:false,description:""},icon:{type:{name:"union",value:[{name:"string"},{name:"shape",value:{type:{name:"string",required:false},side:{name:"enum",value:[{value:"'left'",computed:false},{value:"'right'",computed:false}],required:false},onClick:{name:"func",required:false}}}]},required:false,description:""},clear:{type:{name:"shape",value:{onClick:{name:"func",required:false}}},required:false,description:""},fullWidth:{type:{name:"bool"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},prepend:{type:{name:"union",value:[{name:"node"},{name:"arrayOf",value:{name:"node"}}]},required:false,description:"Creates an input group with element(s) coming before children"},append:{type:{name:"union",value:[{name:"node"},{name:"arrayOf",value:{name:"node"}}]},required:false,description:"Creates an input group with element(s) coming after children"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFormControlLayoutIcons=exports.ICON_SIDES=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _loading=__webpack_require__(183);var _form_control_layout_clear_button=__webpack_require__(1565);var _form_control_layout_custom_icon=__webpack_require__(1566);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var ICON_SIDES=["left","right"];exports.ICON_SIDES=ICON_SIDES;var EuiFormControlLayoutIcons=function(_Component){_inherits(EuiFormControlLayoutIcons,_Component);function EuiFormControlLayoutIcons(){_classCallCheck(this,EuiFormControlLayoutIcons);return _possibleConstructorReturn(this,_getPrototypeOf(EuiFormControlLayoutIcons).apply(this,arguments))}_createClass(EuiFormControlLayoutIcons,[{key:"render",value:function render(){var icon=this.props.icon;var iconSide=icon&&icon.side?icon.side:"left";var customIcon=this.renderCustomIcon();var loadingSpinner=this.renderLoadingSpinner();var clearButton=this.renderClearButton();var leftIcons;customIcon&&"left"===iconSide&&(leftIcons=_react.default.createElement("div",{className:"euiFormControlLayoutIcons"},customIcon));var rightIcons;(clearButton||loadingSpinner||customIcon&&"right"===iconSide)&&(rightIcons=_react.default.createElement("div",{className:"euiFormControlLayoutIcons euiFormControlLayoutIcons--right"},clearButton,loadingSpinner,"right"===iconSide?customIcon:void 0));return _react.default.createElement(_react.Fragment,null,leftIcons,rightIcons)}},{key:"renderCustomIcon",value:function renderCustomIcon(){var icon=this.props.icon;if(!icon)return null;var iconProps="string"===typeof icon?{type:icon}:icon;var iconRef=iconProps.ref,iconRest=(iconProps.side,_objectWithoutProperties(iconProps,["ref","side"]));return _react.default.createElement(_form_control_layout_custom_icon.EuiFormControlLayoutCustomIcon,_extends({iconRef:iconRef},iconRest))}},{key:"renderLoadingSpinner",value:function renderLoadingSpinner(){var isLoading=this.props.isLoading;if(!isLoading)return null;return _react.default.createElement(_loading.EuiLoadingSpinner,{size:"m"})}},{key:"renderClearButton",value:function renderClearButton(){var clear=this.props.clear;if(!clear)return null;return _react.default.createElement(_form_control_layout_clear_button.EuiFormControlLayoutClearButton,clear)}}]);return EuiFormControlLayoutIcons}(_react.Component);exports.EuiFormControlLayoutIcons=EuiFormControlLayoutIcons;EuiFormControlLayoutIcons.propTypes={icon:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.shape({type:_propTypes.default.string,side:_propTypes.default.oneOf(ICON_SIDES),onClick:_propTypes.default.func})]),clear:_propTypes.default.shape({onClick:_propTypes.default.func}),isLoading:_propTypes.default.bool};EuiFormControlLayoutIcons.__docgenInfo={description:"",methods:[{name:"renderCustomIcon",docblock:null,modifiers:[],params:[],returns:null},{name:"renderLoadingSpinner",docblock:null,modifiers:[],params:[],returns:null},{name:"renderClearButton",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiFormControlLayoutIcons",props:{icon:{type:{name:"union",value:[{name:"string"},{name:"shape",value:{type:{name:"string",required:false},side:{name:"enum",value:[{value:"'left'",computed:false},{value:"'right'",computed:false}],required:false},onClick:{name:"func",required:false}}}]},required:false,description:""},clear:{type:{name:"shape",value:{onClick:{name:"func",required:false}}},required:false,description:""},isLoading:{type:{name:"bool"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFormControlLayoutClearButton=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _icon=__webpack_require__(20);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiFormControlLayoutClearButton=function EuiFormControlLayoutClearButton(_ref){var className=_ref.className,onClick=_ref.onClick,rest=_objectWithoutProperties(_ref,["className","onClick"]);var classes=(0,_classnames.default)("euiFormControlLayoutClearButton",className);return _react.default.createElement(_i18n.EuiI18n,{token:"euiFormControlLayoutClearButton.label",default:"Clear input"},function(label){return _react.default.createElement("button",_extends({className:classes,onClick:onClick,"aria-label":label},rest),_react.default.createElement(_icon.EuiIcon,{className:"euiFormControlLayoutClearButton__icon",type:"cross"}))})};exports.EuiFormControlLayoutClearButton=EuiFormControlLayoutClearButton;EuiFormControlLayoutClearButton.propTypes={className:_propTypes.default.string,onClick:_propTypes.default.func};EuiFormControlLayoutClearButton.__docgenInfo={description:"",methods:[],displayName:"EuiFormControlLayoutClearButton",props:{className:{type:{name:"string"},required:false,description:""},onClick:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFormControlLayoutCustomIcon=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiFormControlLayoutCustomIcon=function EuiFormControlLayoutCustomIcon(_ref){var className=_ref.className,onClick=_ref.onClick,type=_ref.type,iconRef=_ref.iconRef,rest=_objectWithoutProperties(_ref,["className","onClick","type","iconRef"]);var classes=(0,_classnames.default)("euiFormControlLayoutCustomIcon",className,{"euiFormControlLayoutCustomIcon--clickable":onClick});if(onClick)return _react.default.createElement("button",_extends({onClick:onClick,className:classes,ref:iconRef},rest),_react.default.createElement(_icon.EuiIcon,{className:"euiFormControlLayoutCustomIcon__icon","aria-hidden":"true",type:type}));return _react.default.createElement("span",_extends({className:classes,ref:iconRef},rest),_react.default.createElement(_icon.EuiIcon,{className:"euiFormControlLayoutCustomIcon__icon","aria-hidden":"true",type:type}))};exports.EuiFormControlLayoutCustomIcon=EuiFormControlLayoutCustomIcon;EuiFormControlLayoutCustomIcon.propTypes={className:_propTypes.default.string,onClick:_propTypes.default.func,type:_propTypes.default.string,iconRef:_propTypes.default.func};EuiFormControlLayoutCustomIcon.__docgenInfo={description:"",methods:[],displayName:"EuiFormControlLayoutCustomIcon",props:{className:{type:{name:"string"},required:false,description:""},onClick:{type:{name:"func"},required:false,description:""},type:{type:{name:"string"},required:false,description:""},iconRef:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiValidatableControl=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);var _react=__webpack_require__(0);var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiValidatableControl=function(_Component){_inherits(EuiValidatableControl,_Component);function EuiValidatableControl(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiValidatableControl);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiValidatableControl)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setRef",function(node){_this.control=node;var ref=_this.props.children.ref;"function"===typeof ref&&ref(node)});return _this}_createClass(EuiValidatableControl,[{key:"updateValidity",value:function updateValidity(){if(null==this.control||"function"!==typeof this.control.setCustomValidity)return;this.props.isInvalid?this.control.setCustomValidity("Invalid"):this.control.setCustomValidity("")}},{key:"componentDidMount",value:function componentDidMount(){this.updateValidity()}},{key:"componentDidUpdate",value:function componentDidUpdate(){this.updateValidity()}},{key:"render",value:function render(){return(0,_react.cloneElement)(this.props.children,{ref:this.setRef})}}]);return EuiValidatableControl}(_react.Component);exports.EuiValidatableControl=EuiValidatableControl;_defineProperty(EuiValidatableControl,"propTypes",{children:_propTypes.default.node,isInvalid:_propTypes.default.bool});EuiValidatableControl.__docgenInfo={description:"",methods:[{name:"updateValidity",docblock:null,modifiers:[],params:[],returns:null},{name:"setRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null}],displayName:"EuiValidatableControl",props:{children:{type:{name:"node"},required:false,description:""},isInvalid:{type:{name:"bool"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiFieldPassword",{enumerable:true,get:function get(){return _field_password.EuiFieldPassword}});var _field_password=__webpack_require__(1569)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFieldPassword=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _form_control_layout=__webpack_require__(127);var _validatable_control=__webpack_require__(128);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiFieldPassword=function EuiFieldPassword(_ref){var className=_ref.className,id=_ref.id,name=_ref.name,placeholder=_ref.placeholder,value=_ref.value,isInvalid=_ref.isInvalid,fullWidth=_ref.fullWidth,isLoading=_ref.isLoading,compressed=_ref.compressed,inputRef=_ref.inputRef,rest=_objectWithoutProperties(_ref,["className","id","name","placeholder","value","isInvalid","fullWidth","isLoading","compressed","inputRef"]);var classes=(0,_classnames.default)("euiFieldPassword",{"euiFieldPassword--fullWidth":fullWidth,"euiFieldPassword--compressed":compressed,"euiFieldPassword-isLoading":isLoading},className);return _react.default.createElement(_form_control_layout.EuiFormControlLayout,{icon:"lock",fullWidth:fullWidth,isLoading:isLoading,compressed:compressed},_react.default.createElement(_validatable_control.EuiValidatableControl,{isInvalid:isInvalid},_react.default.createElement("input",_extends({type:"password",id:id,name:name,placeholder:placeholder,className:classes,value:value,ref:inputRef},rest))))};exports.EuiFieldPassword=EuiFieldPassword;EuiFieldPassword.propTypes={name:_propTypes.default.string,id:_propTypes.default.string,placeholder:_propTypes.default.string,value:_propTypes.default.string,isInvalid:_propTypes.default.bool,fullWidth:_propTypes.default.bool,inputRef:_propTypes.default.func,isLoading:_propTypes.default.bool,compressed:_propTypes.default.bool};EuiFieldPassword.defaultProps={value:void 0,fullWidth:false,isLoading:false,compressed:false};EuiFieldPassword.__docgenInfo={description:"",methods:[],displayName:"EuiFieldPassword",props:{value:{defaultValue:{value:"undefined",computed:true},type:{name:"string"},required:false,description:""},fullWidth:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},isLoading:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},compressed:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"when `true` creates a shorter height input"},name:{type:{name:"string"},required:false,description:""},id:{type:{name:"string"},required:false,description:""},placeholder:{type:{name:"string"},required:false,description:""},isInvalid:{type:{name:"bool"},required:false,description:""},inputRef:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiFieldSearch",{enumerable:true,get:function get(){return _field_search.EuiFieldSearch}});var _field_search=__webpack_require__(412)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Browser",{enumerable:true,get:function get(){return _browser.Browser}});var _browser=__webpack_require__(1572)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Browser=void 0;__webpack_require__(181);var BrowserImpl={isEventSupported:function isEventSupported(name,element){return"on".concat(name)in element}};var Browser=Object.freeze(BrowserImpl);exports.Browser=Browser},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiFieldText",{enumerable:true,get:function get(){return _field_text.EuiFieldText}});var _field_text=__webpack_require__(1574)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFieldText=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _form_control_layout=__webpack_require__(127);var _validatable_control=__webpack_require__(128);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiFieldText=function EuiFieldText(_ref){var id=_ref.id,name=_ref.name,placeholder=_ref.placeholder,value=_ref.value,className=_ref.className,icon=_ref.icon,isInvalid=_ref.isInvalid,inputRef=_ref.inputRef,fullWidth=_ref.fullWidth,isLoading=_ref.isLoading,compressed=_ref.compressed,prepend=_ref.prepend,append=_ref.append,rest=_objectWithoutProperties(_ref,["id","name","placeholder","value","className","icon","isInvalid","inputRef","fullWidth","isLoading","compressed","prepend","append"]);var classes=(0,_classnames.default)("euiFieldText",className,{"euiFieldText--withIcon":icon,"euiFieldText--fullWidth":fullWidth,"euiFieldText--compressed":compressed,"euiFieldText--inGroup":prepend||append,"euiFieldText-isLoading":isLoading});return _react.default.createElement(_form_control_layout.EuiFormControlLayout,{icon:icon,fullWidth:fullWidth,isLoading:isLoading,compressed:compressed,prepend:prepend,append:append},_react.default.createElement(_validatable_control.EuiValidatableControl,{isInvalid:isInvalid},_react.default.createElement("input",_extends({type:"text",id:id,name:name,placeholder:placeholder,className:classes,value:value,ref:inputRef},rest))))};exports.EuiFieldText=EuiFieldText;EuiFieldText.propTypes={name:_propTypes.default.string,id:_propTypes.default.string,placeholder:_propTypes.default.string,value:_propTypes.default.string,icon:_propTypes.default.string,isInvalid:_propTypes.default.bool,inputRef:_propTypes.default.func,fullWidth:_propTypes.default.bool,isLoading:_propTypes.default.bool,compressed:_propTypes.default.bool,prepend:_propTypes.default.oneOfType([_propTypes.default.node,_propTypes.default.arrayOf(_propTypes.default.node)]),append:_propTypes.default.oneOfType([_propTypes.default.node,_propTypes.default.arrayOf(_propTypes.default.node)])};EuiFieldText.defaultProps={value:void 0,fullWidth:false,isLoading:false,compressed:false};EuiFieldText.__docgenInfo={description:"",methods:[],displayName:"EuiFieldText",props:{value:{defaultValue:{value:"undefined",computed:true},type:{name:"string"},required:false,description:""},fullWidth:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},isLoading:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},compressed:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"when `true` creates a shorter height input"},name:{type:{name:"string"},required:false,description:""},id:{type:{name:"string"},required:false,description:""},placeholder:{type:{name:"string"},required:false,description:""},icon:{type:{name:"string"},required:false,description:""},isInvalid:{type:{name:"bool"},required:false,description:""},inputRef:{type:{name:"func"},required:false,description:""},prepend:{type:{name:"union",value:[{name:"node"},{name:"arrayOf",value:{name:"node"}}]},required:false,description:"Creates an input group with element(s) coming before input"},append:{type:{name:"union",value:[{name:"node"},{name:"arrayOf",value:{name:"node"}}]},required:false,description:"Creates an input group with element(s) coming after input"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiFilePicker",{enumerable:true,get:function get(){return _file_picker.EuiFilePicker}});var _file_picker=__webpack_require__(1576)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFilePicker=void 0;__webpack_require__(5);__webpack_require__(3);__webpack_require__(4);__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(9);__webpack_require__(19);__webpack_require__(380);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _button=__webpack_require__(43);var _icon=__webpack_require__(20);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{_n||null==_i["return"]||_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiFilePicker=function(_Component){_inherits(EuiFilePicker,_Component);function EuiFilePicker(props){var _this;_classCallCheck(this,EuiFilePicker);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiFilePicker).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"handleChange",function(filesSelected){_this.fileInput.files&&_this.fileInput.files.length>1?_this.setState({promptText:"".concat(_this.fileInput.files.length," ").concat(filesSelected)}):0===_this.fileInput.files.length?_this.setState({promptText:_this.props.initialPromptText}):_this.setState({promptText:_this.fileInput.value.split("\\").pop()});var onChange=_this.props.onChange;onChange&&onChange(_this.fileInput.files)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"removeFiles",function(e){e.stopPropagation();e.preventDefault();_this.fileInput.value=null;_this.handleChange()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"showDrop",function(){_this.props.disabled||_this.setState({isHoveringDrop:true})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"hideDrop",function(){_this.setState({isHoveringDrop:false})});_this.state={promptText:_this.props.initialPromptText,isHoveringDrop:false};return _this}_createClass(EuiFilePicker,[{key:"render",value:function render(){var _this2=this;return _react.default.createElement(_i18n.EuiI18n,{tokens:["euiFilePicker.clearSelectedFiles","euiFilePicker.filesSelected"],defaults:["Clear selected files","files selected"]},function(_ref){var _ref2=_slicedToArray(_ref,2),clearSelectedFiles=_ref2[0],filesSelected=_ref2[1];var _this2$props=_this2.props,id=_this2$props.id,name=_this2$props.name,initialPromptText=_this2$props.initialPromptText,className=_this2$props.className,disabled=_this2$props.disabled,compressed=_this2$props.compressed,rest=(_this2$props.onChange,_objectWithoutProperties(_this2$props,["id","name","initialPromptText","className","disabled","compressed","onChange"]));var classes=(0,_classnames.default)("euiFilePicker",{euiFilePicker__showDrop:_this2.state.isHoveringDrop,"euiFilePicker--compressed":compressed,"euiFilePicker-hasFiles":_this2.state.promptText!==initialPromptText},className);var clearButton;clearButton=_this2.state.promptText!==initialPromptText?compressed?_react.default.createElement("button",{"aria-label":clearSelectedFiles,className:"euiFilePicker__clearButton",onClick:_this2.removeFiles},_react.default.createElement(_icon.EuiIcon,{className:"euiFilePicker__clearIcon",type:"cross"})):_react.default.createElement(_button.EuiButtonEmpty,{"aria-label":clearSelectedFiles,className:"euiFilePicker__clearButton",size:"xs",onClick:_this2.removeFiles},"Remove"):null;return _react.default.createElement("div",{className:classes},_react.default.createElement("div",{className:"euiFilePicker__wrap"},_react.default.createElement("input",_extends({type:"file",id:id,name:name,className:"euiFilePicker__input",onChange:function onChange(){return _this2.handleChange(filesSelected)},ref:function ref(input){_this2.fileInput=input},onDragOver:_this2.showDrop,onDragLeave:_this2.hideDrop,onDrop:_this2.hideDrop,disabled:disabled},rest)),_react.default.createElement("div",{className:"euiFilePicker__prompt"},_react.default.createElement(_icon.EuiIcon,{className:"euiFilePicker__icon",type:"importAction",size:compressed?"m":"l","aria-hidden":"true"}),_react.default.createElement("div",{className:"euiFilePicker__promptText"},_this2.state.promptText),clearButton)))})}}]);return EuiFilePicker}(_react.Component);exports.EuiFilePicker=EuiFilePicker;_defineProperty(EuiFilePicker,"propTypes",{id:_propTypes.default.string,name:_propTypes.default.string,className:_propTypes.default.string,initialPromptText:_propTypes.default.node,onChange:_propTypes.default.func,compressed:_propTypes.default.bool});_defineProperty(EuiFilePicker,"defaultProps",{initialPromptText:"Select or drag and drop a file",compressed:false});EuiFilePicker.__docgenInfo={description:"",methods:[{name:"handleChange",docblock:null,modifiers:[],params:[{name:"filesSelected",type:null}],returns:null},{name:"removeFiles",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null},{name:"showDrop",docblock:null,modifiers:[],params:[],returns:null},{name:"hideDrop",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiFilePicker",props:{initialPromptText:{defaultValue:{value:"'Select or drag and drop a file'",computed:false},type:{name:"node"},required:false,description:"The content that appears in the dropzone if no file is attached"},compressed:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Reduces the size to a typical (compressed) input"},id:{type:{name:"string"},required:false,description:""},name:{type:{name:"string"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},onChange:{type:{name:"func"},required:false,description:"Use as a callback to access the HTML FileList API"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiForm=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _call_out=__webpack_require__(594);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiForm=function EuiForm(_ref){var children=_ref.children,className=_ref.className,isInvalid=_ref.isInvalid,error=_ref.error,rest=_objectWithoutProperties(_ref,["children","className","isInvalid","error"]);var classes=(0,_classnames.default)("euiForm",className);var optionalErrors;if(error){var errorTexts=Array.isArray(error)?error:[error];optionalErrors=_react.default.createElement("ul",null,errorTexts.map(function(error){return _react.default.createElement("li",{className:"euiForm__error",key:error},error)}))}var optionalErrorAlert;isInvalid&&(optionalErrorAlert=_react.default.createElement(_i18n.EuiI18n,{token:"euiForm.addressFormErrors",default:"Please address the errors in your form."},function(addressFormErrors){return _react.default.createElement(_call_out.EuiCallOut,{className:"euiForm__errors",title:addressFormErrors,color:"danger"},optionalErrors)}));return _react.default.createElement("div",_extends({className:classes},rest),optionalErrorAlert,children)};exports.EuiForm=EuiForm;EuiForm.propTypes={isInvalid:_propTypes.default.bool,error:_propTypes.default.oneOfType([_propTypes.default.node,_propTypes.default.arrayOf(_propTypes.default.node)])};EuiForm.__docgenInfo={description:"",methods:[],displayName:"EuiForm",props:{isInvalid:{type:{name:"bool"},required:false,description:""},error:{type:{name:"union",value:[{name:"node"},{name:"arrayOf",value:{name:"node"}}]},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFormErrorText=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiFormErrorText=function EuiFormErrorText(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiFormErrorText",className);return _react.default.createElement("div",_extends({className:classes,"aria-live":"polite"},rest),children)};exports.EuiFormErrorText=EuiFormErrorText;EuiFormErrorText.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiFormErrorText.__docgenInfo={description:"",methods:[],displayName:"EuiFormErrorText",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFormHelpText=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiFormHelpText=function EuiFormHelpText(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiFormHelpText",className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiFormHelpText=EuiFormHelpText;EuiFormHelpText.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiFormHelpText.__docgenInfo={description:"",methods:[],displayName:"EuiFormHelpText",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFormLabel=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiFormLabel=function EuiFormLabel(_ref){var children=_ref.children,isFocused=_ref.isFocused,isInvalid=_ref.isInvalid,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","isFocused","isInvalid","className"]);var classes=(0,_classnames.default)("euiFormLabel",className,{"euiFormLabel-isFocused":isFocused,"euiFormLabel-isInvalid":isInvalid});return _react.default.createElement("label",_extends({className:classes},rest),children)};exports.EuiFormLabel=EuiFormLabel;EuiFormLabel.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,isFocused:_propTypes.default.bool,isInvalid:_propTypes.default.bool};EuiFormLabel.__docgenInfo={description:"",methods:[],displayName:"EuiFormLabel",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},isFocused:{type:{name:"bool"},required:false,description:""},isInvalid:{type:{name:"bool"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiFormRow",{enumerable:true,get:function get(){return _form_row.EuiFormRow}});var _form_row=__webpack_require__(1582)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFormRow=void 0;__webpack_require__(5);__webpack_require__(79);__webpack_require__(80);__webpack_require__(42);__webpack_require__(7);__webpack_require__(8);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(2);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _lodash=__webpack_require__(10);var _form_help_text=__webpack_require__(655);var _form_error_text=__webpack_require__(654);var _form_label=__webpack_require__(656);var _make_id=_interopRequireDefault(__webpack_require__(231));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}var EuiFormRow=function(_Component){_inherits(EuiFormRow,_Component);function EuiFormRow(props){var _this;_classCallCheck(this,EuiFormRow);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiFormRow).call(this,props));_this.state={isFocused:false,id:props.id||(0,_make_id.default)()};_this.onFocus=_this.onFocus.bind(_assertThisInitialized(_assertThisInitialized(_this)));_this.onBlur=_this.onBlur.bind(_assertThisInitialized(_assertThisInitialized(_this)));return _this}_createClass(EuiFormRow,[{key:"onFocus",value:function onFocus(){var onChildFocus=(0,_lodash.get)(this.props,"children.props.onFocus");onChildFocus&&onChildFocus.apply(void 0,arguments);this.setState({isFocused:true})}},{key:"onBlur",value:function onBlur(){var onChildBlur=(0,_lodash.get)(this.props,"children.props.onBlur");onChildBlur&&onChildBlur.apply(void 0,arguments);this.setState({isFocused:false})}},{key:"render",value:function render(){var _this$props=this.props,children=_this$props.children,helpText=_this$props.helpText,isInvalid=_this$props.isInvalid,error=_this$props.error,label=_this$props.label,hasEmptyLabelSpace=_this$props.hasEmptyLabelSpace,fullWidth=_this$props.fullWidth,className=_this$props.className,describedByIds=_this$props.describedByIds,compressed=_this$props.compressed,rest=_objectWithoutProperties(_this$props,["children","helpText","isInvalid","error","label","hasEmptyLabelSpace","fullWidth","className","describedByIds","compressed"]);var id=this.state.id;var classes=(0,_classnames.default)("euiFormRow",{"euiFormRow--hasEmptyLabelSpace":hasEmptyLabelSpace,"euiFormRow--fullWidth":fullWidth,"euiFormRow--compressed":compressed},className);var optionalHelpText;helpText&&(optionalHelpText=_react.default.createElement(_form_help_text.EuiFormHelpText,{id:"".concat(id,"-help"),className:"euiFormRow__text"},helpText));var optionalErrors;if(error&&isInvalid){var errorTexts=Array.isArray(error)?error:[error];optionalErrors=errorTexts.map(function(error,i){return _react.default.createElement(_form_error_text.EuiFormErrorText,{key:error,id:"".concat(id,"-error-").concat(i),className:"euiFormRow__text"},error)})}var optionalLabel;label&&(optionalLabel=_react.default.createElement(_form_label.EuiFormLabel,{isFocused:this.state.isFocused,isInvalid:isInvalid,"aria-invalid":isInvalid,htmlFor:id},label));var optionalProps={};var describingIds=_toConsumableArray(describedByIds);optionalHelpText&&describingIds.push(optionalHelpText.props.id);optionalErrors&&optionalErrors.forEach(function(error){return describingIds.push(error.props.id)});describingIds.length>0&&(optionalProps["aria-describedby"]=describingIds.join(" "));var field=(0,_react.cloneElement)(children,_objectSpread({id:id,onFocus:this.onFocus,onBlur:this.onBlur,compressed:compressed},optionalProps));return _react.default.createElement("div",_extends({className:classes},rest,{id:"".concat(id,"-row")}),optionalLabel,field,optionalErrors,optionalHelpText)}}]);return EuiFormRow}(_react.Component);exports.EuiFormRow=EuiFormRow;EuiFormRow.propTypes={children:_propTypes.default.node.isRequired,className:_propTypes.default.string,label:_propTypes.default.node,id:_propTypes.default.string,isInvalid:_propTypes.default.bool,error:_propTypes.default.oneOfType([_propTypes.default.node,_propTypes.default.arrayOf(_propTypes.default.node)]),helpText:_propTypes.default.node,hasEmptyLabelSpace:_propTypes.default.bool,fullWidth:_propTypes.default.bool,describedByIds:_propTypes.default.array,compressed:_propTypes.default.bool};EuiFormRow.defaultProps={hasEmptyLabelSpace:false,fullWidth:false,describedByIds:[]};EuiFormRow.__docgenInfo={description:"",methods:[{name:"onFocus",docblock:null,modifiers:[],params:[{name:"...args",type:null}],returns:null},{name:"onBlur",docblock:null,modifiers:[],params:[{name:"...args",type:null}],returns:null}],displayName:"EuiFormRow",props:{hasEmptyLabelSpace:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},fullWidth:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},describedByIds:{defaultValue:{value:"[]",computed:false},type:{name:"array"},required:false,description:"IDs of additional elements that should be part of children's `aria-describedby`"},children:{type:{name:"node"},required:true,description:""},className:{type:{name:"string"},required:false,description:""},label:{type:{name:"node"},required:false,description:""},id:{type:{name:"string"},required:false,description:""},isInvalid:{type:{name:"bool"},required:false,description:""},error:{type:{name:"union",value:[{name:"node"},{name:"arrayOf",value:{name:"node"}}]},required:false,description:""},helpText:{type:{name:"node"},required:false,description:""},compressed:{type:{name:"bool"},required:false,description:"Tightens up the spacing and sends down the\ncompressed prop to the input"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiRadio",{enumerable:true,get:function get(){return _radio.EuiRadio}});Object.defineProperty(exports,"EuiRadioGroup",{enumerable:true,get:function get(){return _radio_group.EuiRadioGroup}});var _radio=__webpack_require__(657);var _radio_group=__webpack_require__(1584)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiRadioGroup=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _radio=__webpack_require__(657);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiRadioGroup=function EuiRadioGroup(_ref){var options=_ref.options,idSelected=_ref.idSelected,onChange=_ref.onChange,name=_ref.name,className=_ref.className,disabled=_ref.disabled,compressed=_ref.compressed,rest=_objectWithoutProperties(_ref,["options","idSelected","onChange","name","className","disabled","compressed"]);return _react.default.createElement("div",_extends({className:className},rest),options.map(function(option,index){var isOptionDisabled=option.disabled,optionRest=_objectWithoutProperties(option,["disabled"]);return _react.default.createElement(_radio.EuiRadio,_extends({className:"euiRadioGroup__item",key:index,name:name,checked:option.id===idSelected,disabled:disabled||isOptionDisabled,onChange:onChange.bind(null,option.id,option.value),compressed:compressed},optionRest))}))};exports.EuiRadioGroup=EuiRadioGroup;EuiRadioGroup.propTypes={disabled:_propTypes.default.bool,name:_propTypes.default.string,options:_propTypes.default.arrayOf(_propTypes.default.shape({id:_propTypes.default.string.isRequired,label:_propTypes.default.node,value:_propTypes.default.string,disabled:_propTypes.default.bool})).isRequired,idSelected:_propTypes.default.string,onChange:_propTypes.default.func.isRequired,compressed:_propTypes.default.bool};EuiRadioGroup.defaultProps={options:[]};EuiRadioGroup.__docgenInfo={description:"",methods:[],displayName:"EuiRadioGroup",props:{options:{defaultValue:{value:"[]",computed:false},type:{name:"arrayOf",value:{name:"shape",value:{id:{name:"string",required:true},label:{name:"node",required:false},value:{name:"string",required:false},disabled:{name:"bool",required:false}}}},required:false,description:""},disabled:{type:{name:"bool"},required:false,description:""},name:{type:{name:"string"},required:false,description:""},idSelected:{type:{name:"string"},required:false,description:""},onChange:{type:{name:"func"},required:true,description:""},compressed:{type:{name:"bool"},required:false,description:"Tightens up the spacing between radio rows and sends down the\ncompressed prop to the radio itself"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiRange",{enumerable:true,get:function get(){return _range.EuiRange}});var _range=__webpack_require__(1586)},function(module,exports,__webpack_require__){"use strict";__webpack_require__(94);Object.defineProperty(exports,"__esModule",{value:true});exports.EuiRange=exports.LEVEL_COLORS=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(153);__webpack_require__(19);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _lodash=__webpack_require__(10);var _field_number=__webpack_require__(653);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var LEVEL_COLORS=["primary","success","warning","danger"];exports.LEVEL_COLORS=LEVEL_COLORS;var EuiRange=function(_Component){_inherits(EuiRange,_Component);function EuiRange(props){var _this;_classCallCheck(this,EuiRange);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiRange).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"renderLabel",function(side){var showLabels=_this.props.showLabels;if(!showLabels)return;return _react.default.createElement("label",{className:"euiRange__".concat(side,"Label")},_this.props[side])});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"renderTicks",function(tickObject){var _this$props=_this.props,disabled=_this$props.disabled,onChange=_this$props.onChange,showTicks=_this$props.showTicks,ticks=_this$props.ticks,value=_this$props.value,max=_this$props.max;if(!showTicks)return;var ticksStyle=!ticks?{margin:"0 ".concat(tickObject.percentageWidth/-2,"%"),left:0,right:0}:void 0;return _react.default.createElement("div",{className:"euiRange__ticks",style:ticksStyle},tickObject.sequence.map(function(tickValue){var tickStyle={};var customTick;if(ticks){customTick=(0,_lodash.find)(ticks,function(o){return o.value===tickValue});if(null==customTick)return;tickStyle.left="".concat(customTick.value/max*100,"%")}else tickStyle.width="".concat(tickObject.percentageWidth,"%");var tickClasses=(0,_classnames.default)("euiRange__tick",{"euiRange__tick--selected":value===tickValue,"euiRange__tick-isCustom":customTick});return _react.default.createElement("button",{type:"button",className:tickClasses,key:tickValue,value:tickValue,disabled:disabled,onClick:onChange,style:tickStyle,tabIndex:"-1"},customTick?customTick.label:tickValue)}))});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"renderRange",function(){var _this$props2=_this.props,showRange=_this$props2.showRange,value=_this$props2.value,max=_this$props2.max,min=_this$props2.min;if(!showRange)return;var rangeWidth=(value-min)/(max-min);var rangeWidthStyle={width:"".concat(100*rangeWidth,"%")};return _react.default.createElement("div",{className:"euiRange__range"},_react.default.createElement("div",{className:"euiRange__range__progress",style:rangeWidthStyle}))});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"renderValue",function(){var _this$props3=_this.props,showValue=_this$props3.showValue,value=_this$props3.value,valueAppend=_this$props3.valueAppend,max=_this$props3.max,min=_this$props3.min,name=_this$props3.name;if(!showValue)return;var decimal=(value-min)/(max-min);var valuePosition=decimal<=1?decimal:1;valuePosition=valuePosition>=0?valuePosition:0;var valuePositionSide;valuePositionSide=valuePosition>.5?"left":"right";var valuePositionStyle={left:"".concat(100*valuePosition,"%")};var valueClasses=(0,_classnames.default)("euiRange__value","euiRange__value--".concat(valuePositionSide));return _react.default.createElement("div",{className:"euiRange__valueWrapper"},_react.default.createElement("output",{className:valueClasses,htmlFor:name,style:valuePositionStyle},value,valueAppend))});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"renderLevels",function(){var _this$props4=_this.props,levels=_this$props4.levels,max=_this$props4.max,min=_this$props4.min;if(levels.length<1)return;return _react.default.createElement("div",{className:"euiRange__levels"},levels.map(function(level,index){var range=level.max-level.min;var width=range/(max-min)*100;return _react.default.createElement("span",{key:index,style:{width:"".concat(width,"%")},className:"euiRange__level--".concat(level.color)})}))});return _this}_createClass(EuiRange,[{key:"render",value:function render(){var _this$props5=this.props,className=_this$props5.className,compressed=_this$props5.compressed,disabled=_this$props5.disabled,fullWidth=_this$props5.fullWidth,id=_this$props5.id,max=_this$props5.max,min=_this$props5.min,name=_this$props5.name,step=_this$props5.step,showLabels=_this$props5.showLabels,showInput=_this$props5.showInput,showTicks=_this$props5.showTicks,tickInterval=_this$props5.tickInterval,levels=(_this$props5.ticks,_this$props5.levels),showRange=_this$props5.showRange,showValue=_this$props5.showValue,onChange=(_this$props5.valueAppend,_this$props5.onChange),value=_this$props5.value,style=_this$props5.style,rest=_objectWithoutProperties(_this$props5,["className","compressed","disabled","fullWidth","id","max","min","name","step","showLabels","showInput","showTicks","tickInterval","ticks","levels","showRange","showValue","valueAppend","onChange","value","style"]);var classes=(0,_classnames.default)("euiRange",{"euiRange--fullWidth":fullWidth,"euiRange--compressed":compressed},className);var wrapperClasses=(0,_classnames.default)("euiRange__wrapper",{"euiRange__wrapper--fullWidth":fullWidth,"euiRange__wrapper--compressed":compressed,"euiRange__wrapper--disabled":disabled,"euiRange__wrapper--hasLabels":showLabels,"euiRange__wrapper--hasLevels":levels.length,"euiRange__wrapper--hasRange":showRange,"euiRange__wrapper--hasTicks":showTicks,"euiRange__wrapper--hasValue":showValue});var sliderTabIndex;var extraInputNode;if(showInput){var maxWidthStyle={maxWidth:"".concat(Math.max(String(min).length,String(max).length)+2,"em")};sliderTabIndex="-1";extraInputNode=_react.default.createElement(_field_number.EuiFieldNumber,_extends({name:name,className:"euiRange__extraInput",min:min,max:max,step:step,value:Number(value),disabled:disabled,compressed:compressed,onChange:onChange,style:maxWidthStyle},rest))}var tickObject;var inputWrapperStyle={};if(showTicks){tickObject=calculateTicksObject(min,max,tickInterval||step||1);var lengthOfMinLabel=String(tickObject.sequence[0]).length;var lenghtOfMaxLabel=String(tickObject.sequence[tickObject.sequence.length-1]).length;var isLastTickTheMax=tickObject.sequence[tickObject.sequence.length-1]===max;lengthOfMinLabel>2&&(inputWrapperStyle.marginLeft="".concat(lengthOfMinLabel/5,"em"));isLastTickTheMax&&lenghtOfMaxLabel>2&&(inputWrapperStyle.marginRight="".concat(lenghtOfMaxLabel/5,"em"))}return _react.default.createElement("div",{className:wrapperClasses},this.renderLabel("min"),_react.default.createElement("div",{className:"euiRange__inputWrapper",style:inputWrapperStyle},_react.default.createElement("input",_extends({type:"range",id:id,name:name,className:classes,min:min,max:max,step:step,value:value,disabled:disabled,onChange:onChange,style:style,tabIndex:sliderTabIndex},rest)),this.renderValue(),this.renderRange(),this.renderLevels(),this.renderTicks(tickObject)),this.renderLabel("max"),extraInputNode)}}]);return EuiRange}(_react.Component);exports.EuiRange=EuiRange;function calculateTicksObject(min,max,interval){var tickWidthDecimal=interval/(max-min+interval);var tickWidthPercentage=100*tickWidthDecimal;var toBeInclusive=1e-9;var sequence=(0,_lodash.range)(min,max+toBeInclusive,interval);return{decimalWidth:tickWidthDecimal,percentageWidth:tickWidthPercentage,sequence:sequence}}EuiRange.propTypes={name:_propTypes.default.string,id:_propTypes.default.string,min:_propTypes.default.number.isRequired,max:_propTypes.default.number.isRequired,step:_propTypes.default.number,value:_propTypes.default.oneOfType([_propTypes.default.number,_propTypes.default.string]),fullWidth:_propTypes.default.bool,compressed:_propTypes.default.bool,showLabels:_propTypes.default.bool,showInput:_propTypes.default.bool,showTicks:_propTypes.default.bool,tickInterval:_propTypes.default.number,ticks:_propTypes.default.arrayOf(_propTypes.default.shape({value:_propTypes.default.number.isRequired,label:_propTypes.default.node.isRequired})),onChange:_propTypes.default.func,levels:_propTypes.default.arrayOf(_propTypes.default.shape({min:_propTypes.default.number,max:_propTypes.default.number,color:_propTypes.default.oneOf(LEVEL_COLORS)})),showRange:_propTypes.default.bool,showValue:_propTypes.default.bool,valueAppend:_propTypes.default.node};EuiRange.defaultProps={min:1,max:100,fullWidth:false,compressed:false,showLabels:false,showInput:false,showTicks:false,showValue:false,levels:[]};EuiRange.__docgenInfo={description:"",methods:[{name:"renderLabel",docblock:null,modifiers:[],params:[{name:"side",type:null}],returns:null},{name:"renderTicks",docblock:null,modifiers:[],params:[{name:"tickObject",type:null}],returns:null},{name:"renderRange",docblock:null,modifiers:[],params:[],returns:null},{name:"renderValue",docblock:null,modifiers:[],params:[],returns:null},{name:"renderLevels",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiRange",props:{min:{defaultValue:{value:"1",computed:false},type:{name:"number"},required:false,description:""},max:{defaultValue:{value:"100",computed:false},type:{name:"number"},required:false,description:""},fullWidth:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},compressed:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},showLabels:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Shows static min/max labels on the sides of the range slider"},showInput:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Displays an extra input control for direct manipulation"},showTicks:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Shows clickable tick marks and labels at the given interval (`step`/`tickInterval`)"},showValue:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Shows a tooltip styled value"},levels:{defaultValue:{value:"[]",computed:false},type:{name:"arrayOf",value:{name:"shape",value:{min:{name:"number",required:false},max:{name:"number",required:false},color:{name:"enum",value:[{value:"'primary'",computed:false},{value:"'success'",computed:false},{value:"'warning'",computed:false},{value:"'danger'",computed:false}],required:false}}}},required:false,description:"Create colored indicators for certain intervals"},name:{type:{name:"string"},required:false,description:""},id:{type:{name:"string"},required:false,description:""},step:{type:{name:"number"},required:false,description:""},value:{type:{name:"union",value:[{name:"number"},{name:"string"}]},required:false,description:""},tickInterval:{type:{name:"number"},required:false,description:"Modifies the number of tick marks and at what interval"},ticks:{type:{name:"arrayOf",value:{name:"shape",value:{value:{name:"number",required:true},label:{name:"node",required:true}}}},required:false,description:"Specified ticks at specified values"},onChange:{type:{name:"func"},required:false,description:""},showRange:{type:{name:"bool"},required:false,description:"Shows a thick line from min to value"},valueAppend:{type:{name:"node"},required:false,description:"Shows a tooltip styled value"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiSelect",{enumerable:true,get:function get(){return _select.EuiSelect}});var _select=__webpack_require__(1588)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSelect=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _form_control_layout=__webpack_require__(127);var _validatable_control=__webpack_require__(128);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiSelect=function EuiSelect(_ref){var className=_ref.className,options=_ref.options,id=_ref.id,name=_ref.name,inputRef=_ref.inputRef,isInvalid=_ref.isInvalid,fullWidth=_ref.fullWidth,isLoading=_ref.isLoading,hasNoInitialSelection=_ref.hasNoInitialSelection,defaultValue=_ref.defaultValue,compressed=_ref.compressed,value=_ref.value,prepend=_ref.prepend,append=_ref.append,rest=_objectWithoutProperties(_ref,["className","options","id","name","inputRef","isInvalid","fullWidth","isLoading","hasNoInitialSelection","defaultValue","compressed","value","prepend","append"]);var classes=(0,_classnames.default)("euiSelect",{"euiSelect--fullWidth":fullWidth,"euiSelect--compressed":compressed,"euiSelect--inGroup":prepend||append,"euiSelect-isLoading":isLoading},className);var emptyOptionNode;hasNoInitialSelection&&(emptyOptionNode=_react.default.createElement("option",{value:"",disabled:true,hidden:true,style:{display:"none"}}," "));var selectDefaultValue;null==value&&(selectDefaultValue=defaultValue||"");var icon={type:"arrowDown",side:"right"};return _react.default.createElement(_form_control_layout.EuiFormControlLayout,{icon:icon,fullWidth:fullWidth,isLoading:isLoading,compressed:compressed,prepend:prepend,append:append},_react.default.createElement(_validatable_control.EuiValidatableControl,{isInvalid:isInvalid},_react.default.createElement("select",_extends({id:id,name:name,className:classes,ref:inputRef,defaultValue:selectDefaultValue,value:value},rest),emptyOptionNode,options.map(function(option,index){var text=option.text,rest=_objectWithoutProperties(option,["text"]);return _react.default.createElement("option",_extends({},rest,{key:index}),text)}))))};exports.EuiSelect=EuiSelect;EuiSelect.propTypes={name:_propTypes.default.string,id:_propTypes.default.string,options:_propTypes.default.arrayOf(_propTypes.default.shape({text:_propTypes.default.node.isRequired})).isRequired,isInvalid:_propTypes.default.bool,fullWidth:_propTypes.default.bool,isLoading:_propTypes.default.bool,hasNoInitialSelection:_propTypes.default.bool,inputRef:_propTypes.default.func,compressed:_propTypes.default.bool,prepend:_propTypes.default.oneOfType([_propTypes.default.node,_propTypes.default.arrayOf(_propTypes.default.node)]),append:_propTypes.default.oneOfType([_propTypes.default.node,_propTypes.default.arrayOf(_propTypes.default.node)])};EuiSelect.defaultProps={options:[],fullWidth:false,isLoading:false,hasNoInitialSelection:false,compressed:false};EuiSelect.__docgenInfo={description:"",methods:[],displayName:"EuiSelect",props:{options:{defaultValue:{value:"[]",computed:false},type:{name:"arrayOf",value:{name:"shape",value:{text:{name:"node",required:true}}}},required:false,description:""},fullWidth:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},isLoading:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},hasNoInitialSelection:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Simulates no selection by creating an empty, selected, hidden first option"},compressed:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"when `true` creates a shorter height input"},name:{type:{name:"string"},required:false,description:""},id:{type:{name:"string"},required:false,description:""},isInvalid:{type:{name:"bool"},required:false,description:""},inputRef:{type:{name:"func"},required:false,description:""},prepend:{type:{name:"union",value:[{name:"node"},{name:"arrayOf",value:{name:"node"}}]},required:false,description:"Creates an input group with element(s) coming before select"},append:{type:{name:"union",value:[{name:"node"},{name:"arrayOf",value:{name:"node"}}]},required:false,description:"Creates an input group with element(s) coming after select"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiSuperSelect",{enumerable:true,get:function get(){return _super_select.EuiSuperSelect}});Object.defineProperty(exports,"EuiSuperSelectControl",{enumerable:true,get:function get(){return _super_select_control.EuiSuperSelectControl}});var _super_select=__webpack_require__(1590);var _super_select_control=__webpack_require__(658)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSuperSelect=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _accessibility=__webpack_require__(73);var _super_select_control=__webpack_require__(658);var _popover=__webpack_require__(115);var _context_menu=__webpack_require__(187);var _services=__webpack_require__(25);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var SHIFT_BACK="back";var SHIFT_FORWARD="forward";var EuiSuperSelect=function(_Component){_inherits(EuiSuperSelect,_Component);function EuiSuperSelect(props){var _this;_classCallCheck(this,EuiSuperSelect);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiSuperSelect).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setItemNode",function(node,index){_this.itemNodes[index]=node});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setPopoverRef",function(ref){_this.popoverRef=ref});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"openPopover",function(){_this.setState({isPopoverOpen:true});var focusSelected=function focusSelected(){var indexOfSelected=_this.props.options.reduce(function(indexOfSelected,option,index){if(null!=indexOfSelected)return indexOfSelected;if(null==option)return null;return option.value===_this.props.valueOfSelected?index:null},null);requestAnimationFrame(function(){if(!_this._isMounted)return;_this.setState({menuWidth:_this.popoverRef.getBoundingClientRect().width-2});null!=_this.props.valueOfSelected&&(null!=indexOfSelected?_this.focusItemAt(indexOfSelected):focusSelected())})};requestAnimationFrame(focusSelected)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"closePopover",function(){_this.setState({isPopoverOpen:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"itemClicked",function(value){_this.setState({isPopoverOpen:false});_this.props.onChange(value)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onSelectKeyDown",function(e){if(e.keyCode===_services.keyCodes.UP||e.keyCode===_services.keyCodes.DOWN){e.preventDefault();e.stopPropagation();_this.openPopover()}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onItemKeyDown",function(e){switch(e.keyCode){case _services.keyCodes.ESCAPE:e.preventDefault();e.stopPropagation();_this.closePopover();break;case _services.keyCodes.TAB:e.preventDefault();e.stopPropagation();break;case _services.keyCodes.UP:e.preventDefault();e.stopPropagation();_this.shiftFocus(SHIFT_BACK);break;case _services.keyCodes.DOWN:e.preventDefault();e.stopPropagation();_this.shiftFocus(SHIFT_FORWARD)}});_this.itemNodes=[];_this.state={isPopoverOpen:props.isOpen||false,menuWidth:null};return _this}_createClass(EuiSuperSelect,[{key:"componentDidMount",value:function componentDidMount(){this._isMounted=true}},{key:"componentWillUnmount",value:function componentWillUnmount(){this._isMounted=false}},{key:"focusItemAt",value:function focusItemAt(index){var targetElement=this.itemNodes[index];null!=targetElement&&targetElement.focus()}},{key:"shiftFocus",value:function shiftFocus(direction){var currentIndex=this.itemNodes.indexOf(document.activeElement);var targetElementIndex;targetElementIndex=-1===currentIndex?0:direction===SHIFT_BACK?0===currentIndex?this.itemNodes.length-1:currentIndex-1:currentIndex===this.itemNodes.length-1?0:currentIndex+1;this.focusItemAt(targetElementIndex)}},{key:"render",value:function render(){var _this2=this;var _this$props=this.props,className=_this$props.className,options=_this$props.options,valueOfSelected=_this$props.valueOfSelected,onChange=_this$props.onChange,isOpen=_this$props.isOpen,hasDividers=_this$props.hasDividers,itemClassName=_this$props.itemClassName,itemLayoutAlign=_this$props.itemLayoutAlign,fullWidth=_this$props.fullWidth,popoverClassName=_this$props.popoverClassName,rest=_objectWithoutProperties(_this$props,["className","options","valueOfSelected","onChange","isOpen","hasDividers","itemClassName","itemLayoutAlign","fullWidth","popoverClassName"]);var popoverClasses=(0,_classnames.default)("euiSuperSelect",{"euiSuperSelect--fullWidth":fullWidth},popoverClassName);var buttonClasses=(0,_classnames.default)({"euiSuperSelect--isOpen__button":this.state.isPopoverOpen},className);var itemClasses=(0,_classnames.default)("euiSuperSelect__item",{"euiSuperSelect__item--hasDividers":hasDividers},itemClassName);var button=_react.default.createElement(_super_select_control.EuiSuperSelectControl,_extends({options:options,value:valueOfSelected,onChange:onChange,onClick:this.state.isPopoverOpen?this.closePopover:this.openPopover,onKeyDown:this.onSelectKeyDown,className:buttonClasses,fullWidth:fullWidth},rest));var items=options.map(function(option,index){var value=option.value,dropdownDisplay=option.dropdownDisplay,inputDisplay=option.inputDisplay,optionRest=_objectWithoutProperties(option,["value","dropdownDisplay","inputDisplay"]);return _react.default.createElement(_context_menu.EuiContextMenuItem,_extends({key:index,className:itemClasses,icon:valueOfSelected===value?"check":"empty",onClick:function onClick(){return _this2.itemClicked(value)},onKeyDown:_this2.onItemKeyDown,layoutAlign:itemLayoutAlign,buttonRef:function buttonRef(node){return _this2.setItemNode(node,index)},style:{width:_this2.state.menuWidth},role:"option",id:value},optionRest),dropdownDisplay||inputDisplay)});return _react.default.createElement(_popover.EuiPopover,{className:popoverClasses,anchorClassName:"euiSuperSelect__popoverAnchor",panelClassName:"euiSuperSelect__popoverPanel",button:button,isOpen:isOpen||this.state.isPopoverOpen,closePopover:this.closePopover,panelPaddingSize:"none",anchorPosition:"downCenter",ownFocus:false,popoverRef:this.setPopoverRef,hasArrow:false},_react.default.createElement(_accessibility.EuiScreenReaderOnly,null,_react.default.createElement("p",{role:"alert"},_react.default.createElement(_i18n.EuiI18n,{token:"euiSuperSelect.screenReaderAnnouncement",default:"You are in a form selector of {optionsCount} items and must select a single option. Use the up and down keys to navigate or escape to close.",values:{optionsCount:options.length}}))),_react.default.createElement("div",{role:"listbox","aria-activedescendant":valueOfSelected},items))}}]);return EuiSuperSelect}(_react.Component);exports.EuiSuperSelect=EuiSuperSelect;EuiSuperSelect.propTypes={className:_propTypes.default.string,itemClassName:_propTypes.default.string,onChange:_propTypes.default.func,options:_propTypes.default.arrayOf(_propTypes.default.shape({value:_propTypes.default.string.isRequired,inputDisplay:_propTypes.default.node,dropdownDisplay:_propTypes.default.node})).isRequired,valueOfSelected:_propTypes.default.string,hasDividers:_propTypes.default.bool,itemLayoutAlign:_propTypes.default.string,fullWidth:_propTypes.default.bool,compressed:_propTypes.default.bool,popoverClassName:_propTypes.default.string};EuiSuperSelect.defaultProps={hasDividers:false,fullWidth:false,compressed:false,options:[]};EuiSuperSelect.__docgenInfo={description:"",methods:[{name:"setItemNode",docblock:null,modifiers:[],params:[{name:"node",type:null},{name:"index",type:null}],returns:null},{name:"setPopoverRef",docblock:null,modifiers:[],params:[{name:"ref",type:null}],returns:null},{name:"openPopover",docblock:null,modifiers:[],params:[],returns:null},{name:"closePopover",docblock:null,modifiers:[],params:[],returns:null},{name:"itemClicked",docblock:null,modifiers:[],params:[{name:"value",type:null}],returns:null},{name:"onSelectKeyDown",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null},{name:"onItemKeyDown",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null},{name:"focusItemAt",docblock:null,modifiers:[],params:[{name:"index",type:null}],returns:null},{name:"shiftFocus",docblock:null,modifiers:[],params:[{name:"direction",type:null}],returns:null}],displayName:"EuiSuperSelect",props:{hasDividers:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Change to `true` if you want horizontal lines between options.\nThis is best used when options are multi-line."},fullWidth:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Make it wide"},compressed:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Make it short"},options:{defaultValue:{value:"[]",computed:false},type:{name:"arrayOf",value:{name:"shape",value:{value:{name:"string",required:true},inputDisplay:{name:"node",required:false},dropdownDisplay:{name:"node",required:false}}}},required:false,description:"Pass an array of options that must at least include:\n`value`: storing unique value of item,\n`inputDisplay`: what shows inside the form input when selected\n`dropdownDisplay` (optional): what shows for the item in the dropdown"},className:{type:{name:"string"},required:false,description:"Classes (and `...rest`) will be applied to the control"},itemClassName:{type:{name:"string"},required:false,description:"Classes for the context menu item"},onChange:{type:{name:"func"},required:false,description:"You must pass an `onChange` function to handle the update of the value"},valueOfSelected:{type:{name:"string"},required:false,description:""},itemLayoutAlign:{type:{name:"string"},required:false,description:"Change `EuiContextMenuItem` layout position of icon"},popoverClassName:{type:{name:"string"},required:false,description:"Applied to the outermost wrapper (popover)"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiWrappingPopover=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(383);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _popover=__webpack_require__(413);var _portal=__webpack_require__(182);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiWrappingPopover=function(_Component){_inherits(EuiWrappingPopover,_Component);function EuiWrappingPopover(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiWrappingPopover);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiWrappingPopover)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setPortalRef",function(node){_this.portal=node});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setAnchorRef",function(node){_this.anchor=node});_this.portal=null;_this.anchor=null;return _this}_createClass(EuiWrappingPopover,[{key:"componentDidMount",value:function componentDidMount(){this.anchor.insertAdjacentElement("beforebegin",this.props.button)}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.props.button.parentNode&&this.portal.insertAdjacentElement("beforebegin",this.props.button)}},{key:"render",value:function render(){var _this$props=this.props,rest=(_this$props.button,_objectWithoutProperties(_this$props,["button"]));return _react.default.createElement(_portal.EuiPortal,{portalRef:this.setPortalRef,insert:{sibling:this.props.button,position:"after"}},_react.default.createElement(_popover.EuiPopover,_extends({},rest,{button:_react.default.createElement("div",{ref:this.setAnchorRef,className:"euiWrappingPopover__anchor"})})))}}]);return EuiWrappingPopover}(_react.Component);exports.EuiWrappingPopover=EuiWrappingPopover;EuiWrappingPopover.propTypes={button:_propTypes.default.instanceOf(HTMLElement)};EuiWrappingPopover.__docgenInfo={description:"Injects the EuiPopover next to the button via EuiPortal\nthen the button element is moved into the popover dom.\nOn unmount, the button is moved back to its original location.",methods:[{name:"setPortalRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null},{name:"setAnchorRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null}],displayName:"EuiWrappingPopover",props:{button:{type:{name:"instanceOf",value:"HTMLElement"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiContextMenu=exports.EuiContextMenuPanelShape=exports.EuiContextMenuPanelItemShape=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(19);__webpack_require__(662);__webpack_require__(2);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _context_menu_panel=__webpack_require__(663);var _context_menu_item=__webpack_require__(664);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function mapIdsToPanels(panels){var map={};panels.forEach(function(panel){map[panel.id]=panel});return map}function mapIdsToPreviousPanels(panels){var idToPreviousPanelIdMap={};panels.forEach(function(panel){Array.isArray(panel.items)&&panel.items.forEach(function(item){var isCloseable=void 0!==item.panel;isCloseable&&(idToPreviousPanelIdMap[item.panel]=panel.id)})});return idToPreviousPanelIdMap}function mapPanelItemsToPanels(panels){var idAndItemIndexToPanelIdMap={};panels.forEach(function(panel){idAndItemIndexToPanelIdMap[panel.id]={};panel.items&&panel.items.forEach(function(item,index){item.panel&&(idAndItemIndexToPanelIdMap[panel.id][index]=item.panel)})});return idAndItemIndexToPanelIdMap}var EuiContextMenuPanelItemShape=_propTypes.default.shape({name:_propTypes.default.string,icon:_propTypes.default.node,onClick:_propTypes.default.func,panel:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number]),disabled:_propTypes.default.bool});exports.EuiContextMenuPanelItemShape=EuiContextMenuPanelItemShape;var EuiContextMenuPanelShape=_propTypes.default.shape({id:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number]),width:_propTypes.default.number,content:_propTypes.default.node,items:_propTypes.default.arrayOf(EuiContextMenuPanelItemShape),title:_propTypes.default.string});exports.EuiContextMenuPanelShape=EuiContextMenuPanelShape;var EuiContextMenu=function(_Component){_inherits(EuiContextMenu,_Component);_createClass(EuiContextMenu,null,[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,prevState){var panels=nextProps.panels;if(prevState.prevProps.panels!==panels)return{prevProps:{panels:panels},idToPanelMap:mapIdsToPanels(panels),idToPreviousPanelIdMap:mapIdsToPreviousPanels(panels),idAndItemIndexToPanelIdMap:mapPanelItemsToPanels(panels)};return null}}]);function EuiContextMenu(props){var _this;_classCallCheck(this,EuiContextMenu);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiContextMenu).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"hasPreviousPanel",function(panelId){var previousPanelId=_this.state.idToPreviousPanelIdMap[panelId];return"undefined"!==typeof previousPanelId});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"showNextPanel",function(itemIndex){var nextPanelId=_this.state.idAndItemIndexToPanelIdMap[_this.state.incomingPanelId][itemIndex];if(nextPanelId){_this.state.isUsingKeyboardToNavigate&&_this.setState({focusedItemIndex:0});_this.showPanel(nextPanelId,"next")}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"showPreviousPanel",function(){if(_this.hasPreviousPanel(_this.state.incomingPanelId)){var previousPanelId=_this.state.idToPreviousPanelIdMap[_this.state.incomingPanelId];var previousPanel=_this.state.idToPanelMap[previousPanelId];var focusedItemIndex=previousPanel.items.findIndex(function(item){return item.panel===_this.state.incomingPanelId});-1!==focusedItemIndex&&_this.setState({focusedItemIndex:focusedItemIndex});_this.showPanel(previousPanelId,"previous")}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onIncomingPanelHeightChange",function(height){_this.setState(function(_ref){var prevHeight=_ref.height;return height===prevHeight?null:{height:height}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onOutGoingPanelTransitionComplete",function(){_this.setState({isOutgoingPanelVisible:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onUseKeyboardToNavigate",function(){_this.state.isUsingKeyboardToNavigate||_this.setState({isUsingKeyboardToNavigate:true})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"mapIdsToRenderedItems",function(panels){var idToRenderedItemsMap={};panels.forEach(function(panel){idToRenderedItemsMap[panel.id]=_this.renderItems(panel.items)});return idToRenderedItemsMap});_this.state={prevProps:{},idToPanelMap:{},idToPreviousPanelIdMap:{},idAndItemIndexToPanelIdMap:{},idToRenderedItemsMap:_this.mapIdsToRenderedItems(_this.props.panels),height:void 0,outgoingPanelId:void 0,incomingPanelId:props.initialPanelId,transitionDirection:void 0,isOutgoingPanelVisible:false,focusedItemIndex:void 0,isUsingKeyboardToNavigate:false};return _this}_createClass(EuiContextMenu,[{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){prevProps.panels!==this.props.panels&&this.setState({idToRenderedItemsMap:this.mapIdsToRenderedItems(this.props.panels)})}},{key:"showPanel",value:function showPanel(panelId,direction){this.setState({outgoingPanelId:this.state.incomingPanelId,incomingPanelId:panelId,transitionDirection:direction,isOutgoingPanelVisible:true})}},{key:"renderItems",value:function renderItems(){var _this2=this;var items=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return items.map(function(item,index){var panel=item.panel,name=item.name,icon=item.icon,onClick=item.onClick,toolTipTitle=item.toolTipTitle,toolTipContent=item.toolTipContent,rest=_objectWithoutProperties(item,["panel","name","icon","onClick","toolTipTitle","toolTipContent"]);var onClickHandler=panel?function(event){onClick&&event&&event.persist();window.requestAnimationFrame(function(){onClick&&onClick(event);_this2.showNextPanel(index)})}:onClick;return _react.default.createElement(_context_menu_item.EuiContextMenuItem,_extends({key:name,icon:icon,onClick:onClickHandler,hasPanel:Boolean(panel),toolTipTitle:toolTipTitle,toolTipContent:toolTipContent},rest),name)})}},{key:"renderPanel",value:function renderPanel(panelId,transitionType){var _this3=this;var panel=this.state.idToPanelMap[panelId];if(!panel)return;var onClose;this.hasPreviousPanel(panelId)&&(onClose=function onClose(){return window.requestAnimationFrame(_this3.showPreviousPanel)});return _react.default.createElement(_context_menu_panel.EuiContextMenuPanel,{key:panelId,className:"euiContextMenu__panel",onHeightChange:"in"===transitionType?this.onIncomingPanelHeightChange:void 0,onTransitionComplete:"out"===transitionType?this.onOutGoingPanelTransitionComplete:void 0,title:panel.title,onClose:onClose,transitionType:this.state.isOutgoingPanelVisible?transitionType:void 0,transitionDirection:this.state.isOutgoingPanelVisible?this.state.transitionDirection:void 0,hasFocus:"in"===transitionType,items:this.state.idToRenderedItemsMap[panelId],initialFocusedItemIndex:this.state.isUsingKeyboardToNavigate?this.state.focusedItemIndex:void 0,onUseKeyboardToNavigate:this.onUseKeyboardToNavigate,showNextPanel:this.showNextPanel,showPreviousPanel:this.showPreviousPanel},panel.content)}},{key:"render",value:function render(){var _this$props=this.props,className=(_this$props.panels,_this$props.className),rest=(_this$props.initialPanelId,_objectWithoutProperties(_this$props,["panels","className","initialPanelId"]));var incomingPanel=this.renderPanel(this.state.incomingPanelId,"in");var outgoingPanel;this.state.isOutgoingPanelVisible&&(outgoingPanel=this.renderPanel(this.state.outgoingPanelId,"out"));var width=this.state.idToPanelMap[this.state.incomingPanelId]&&this.state.idToPanelMap[this.state.incomingPanelId].width?this.state.idToPanelMap[this.state.incomingPanelId].width:void 0;var classes=(0,_classnames.default)("euiContextMenu",className);return _react.default.createElement("div",_extends({className:classes,style:{height:this.state.height,width:width}},rest),outgoingPanel,incomingPanel)}}]);return EuiContextMenu}(_react.Component);exports.EuiContextMenu=EuiContextMenu;_defineProperty(EuiContextMenu,"propTypes",{className:_propTypes.default.string,panels:_propTypes.default.arrayOf(EuiContextMenuPanelShape),initialPanelId:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number])});_defineProperty(EuiContextMenu,"defaultProps",{panels:[]});EuiContextMenu.__docgenInfo={description:"",methods:[{name:"getDerivedStateFromProps",docblock:null,modifiers:["static"],params:[{name:"nextProps",type:null},{name:"prevState",type:null}],returns:null},{name:"hasPreviousPanel",docblock:null,modifiers:[],params:[{name:"panelId",type:null}],returns:null},{name:"showPanel",docblock:null,modifiers:[],params:[{name:"panelId",type:null},{name:"direction",type:null}],returns:null},{name:"showNextPanel",docblock:null,modifiers:[],params:[{name:"itemIndex",type:null}],returns:null},{name:"showPreviousPanel",docblock:null,modifiers:[],params:[],returns:null},{name:"onIncomingPanelHeightChange",docblock:null,modifiers:[],params:[{name:"height",type:null}],returns:null},{name:"onOutGoingPanelTransitionComplete",docblock:null,modifiers:[],params:[],returns:null},{name:"onUseKeyboardToNavigate",docblock:null,modifiers:[],params:[],returns:null},{name:"mapIdsToRenderedItems",docblock:null,modifiers:[],params:[{name:"panels",type:null}],returns:null},{name:"renderItems",docblock:null,modifiers:[],params:[{name:"items",type:null}],returns:null},{name:"renderPanel",docblock:null,modifiers:[],params:[{name:"panelId",type:null},{name:"transitionType",type:null}],returns:null}],displayName:"EuiContextMenu",props:{panels:{defaultValue:{value:"[]",computed:false},type:{name:"arrayOf",value:{name:"custom",raw:"EuiContextMenuPanelShape"}},required:false,description:""},className:{type:{name:"string"},required:false,description:""},initialPanelId:{type:{name:"union",value:[{name:"string"},{name:"number"}]},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiSwitch",{enumerable:true,get:function get(){return _switch.EuiSwitch}});var _switch=__webpack_require__(1594)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSwitch=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _make_id=_interopRequireDefault(__webpack_require__(231));var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var EuiSwitch=function(_Component){_inherits(EuiSwitch,_Component);function EuiSwitch(props){var _this;_classCallCheck(this,EuiSwitch);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiSwitch).call(this,props));_this.state={switchId:props.id||(0,_make_id.default)()};return _this}_createClass(EuiSwitch,[{key:"render",value:function render(){var _this$props=this.props,label=_this$props.label,name=(_this$props.id,_this$props.name),checked=_this$props.checked,disabled=_this$props.disabled,compressed=_this$props.compressed,onChange=_this$props.onChange,className=_this$props.className,rest=_objectWithoutProperties(_this$props,["label","id","name","checked","disabled","compressed","onChange","className"]);var switchId=this.state.switchId;var classes=(0,_classnames.default)("euiSwitch",{"euiSwitch--compressed":compressed},className);return _react.default.createElement("div",{className:classes},_react.default.createElement("input",_extends({className:"euiSwitch__input",name:name,id:switchId,type:"checkbox",checked:checked,disabled:disabled,onChange:onChange},rest)),_react.default.createElement("span",{className:"euiSwitch__body"},_react.default.createElement("span",{className:"euiSwitch__thumb"}),_react.default.createElement("span",{className:"euiSwitch__track"},_react.default.createElement(_icon.EuiIcon,{type:"cross",size:"m",className:"euiSwitch__icon"}),_react.default.createElement(_icon.EuiIcon,{type:"check",size:"m",className:"euiSwitch__icon euiSwitch__icon--checked"}))),label&&_react.default.createElement("label",{className:"euiSwitch__label",htmlFor:switchId},label))}}]);return EuiSwitch}(_react.Component);exports.EuiSwitch=EuiSwitch;EuiSwitch.propTypes={name:_propTypes.default.string,id:_propTypes.default.string,label:_propTypes.default.node,checked:_propTypes.default.bool,onChange:_propTypes.default.func,disabled:_propTypes.default.bool,compressed:_propTypes.default.bool};EuiSwitch.__docgenInfo={description:"",methods:[],displayName:"EuiSwitch",props:{name:{type:{name:"string"},required:false,description:""},id:{type:{name:"string"},required:false,description:""},label:{type:{name:"node"},required:false,description:""},checked:{type:{name:"bool"},required:false,description:""},onChange:{type:{name:"func"},required:false,description:""},disabled:{type:{name:"bool"},required:false,description:""},compressed:{type:{name:"bool"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiTextArea",{enumerable:true,get:function get(){return _text_area.EuiTextArea}});var _text_area=__webpack_require__(1596)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTextArea=exports.RESIZE=void 0;__webpack_require__(5);__webpack_require__(19);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _validatable_control=__webpack_require__(128);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var resizeToClassNameMap={vertical:"euiTextArea--resizeVertical",horizontal:"euiTextArea--resizeHorizontal",both:"euiTextArea--resizeBoth",none:"euiTextArea--resizeNone"};var RESIZE=Object.keys(resizeToClassNameMap);exports.RESIZE=RESIZE;var EuiTextArea=function EuiTextArea(_ref){var children=_ref.children,className=_ref.className,compressed=_ref.compressed,fullWidth=_ref.fullWidth,id=_ref.id,inputRef=_ref.inputRef,isInvalid=_ref.isInvalid,name=_ref.name,placeholder=_ref.placeholder,resize=_ref.resize,rows=_ref.rows,rest=_objectWithoutProperties(_ref,["children","className","compressed","fullWidth","id","inputRef","isInvalid","name","placeholder","resize","rows"]);var classes=(0,_classnames.default)("euiTextArea",resizeToClassNameMap[resize],{"euiTextArea--fullWidth":fullWidth,"euiTextArea--compressed":compressed},className);var definedRows;definedRows=rows||(compressed?3:6);return _react.default.createElement(_validatable_control.EuiValidatableControl,{isInvalid:isInvalid},_react.default.createElement("textarea",_extends({className:classes},rest,{rows:definedRows,name:name,id:id,ref:inputRef,placeholder:placeholder}),children))};exports.EuiTextArea=EuiTextArea;EuiTextArea.propTypes={name:_propTypes.default.string,id:_propTypes.default.string,placeholder:_propTypes.default.string,rows:_propTypes.default.number,isInvalid:_propTypes.default.bool,fullWidth:_propTypes.default.bool,compressed:_propTypes.default.bool,resize:_propTypes.default.oneOf(RESIZE)};EuiTextArea.defaultProps={fullWidth:false,resize:"vertical"};EuiTextArea.__docgenInfo={description:"",methods:[],displayName:"EuiTextArea",props:{fullWidth:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},resize:{defaultValue:{value:"'vertical'",computed:false},type:{name:"enum",value:[{value:'"vertical"',computed:false},{value:'"horizontal"',computed:false},{value:'"both"',computed:false},{value:'"none"',computed:false}]},required:false,description:"Which direction, if at all, should the textarea resize"},name:{type:{name:"string"},required:false,description:""},id:{type:{name:"string"},required:false,description:""},placeholder:{type:{name:"string"},required:false,description:""},rows:{type:{name:"number"},required:false,description:""},isInvalid:{type:{name:"bool"},required:false,description:""},compressed:{type:{name:"bool"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiComboBoxPill=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _badge=__webpack_require__(384);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiComboBoxPill=function(_Component){_inherits(EuiComboBoxPill,_Component);function EuiComboBoxPill(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiComboBoxPill);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiComboBoxPill)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onCloseButtonClick",function(){var _this$props=_this.props,onClose=_this$props.onClose,option=_this$props.option;onClose(option)});return _this}_createClass(EuiComboBoxPill,[{key:"render",value:function render(){var _this2=this;var _this$props2=this.props,children=_this$props2.children,className=_this$props2.className,onClose=(_this$props2.option,_this$props2.onClose),color=_this$props2.color,onClick=_this$props2.onClick,onClickAriaLabel=_this$props2.onClickAriaLabel,asPlainText=_this$props2.asPlainText,rest=_objectWithoutProperties(_this$props2,["children","className","option","onClose","color","onClick","onClickAriaLabel","asPlainText"]);var classes=(0,_classnames.default)("euiComboBoxPill",{"euiComboBoxPill--plainText":asPlainText},className);if(onClose)return _react.default.createElement(_i18n.EuiI18n,{token:"euiComboBoxPill.removeSelection",default:"Remove {children} from selection in this group",values:{children:children}},function(removeSelection){return _react.default.createElement(_badge.EuiBadge,_extends({className:classes,title:children,iconOnClick:_this2.onCloseButtonClick,iconOnClickAriaLabel:removeSelection,iconType:"cross",iconSide:"right",color:color,closeButtonProps:{tabIndex:"-1"},onClick:onClick,onClickAriaLabel:onClickAriaLabel},rest),children)});if(asPlainText)return _react.default.createElement("span",_extends({className:classes},rest),children);return _react.default.createElement(_badge.EuiBadge,_extends({className:classes,title:children,color:color},rest,{onClick:onClick,onClickAriaLabel:onClickAriaLabel}),children)}}]);return EuiComboBoxPill}(_react.Component);exports.EuiComboBoxPill=EuiComboBoxPill;_defineProperty(EuiComboBoxPill,"propTypes",{option:_propTypes.default.object.isRequired,children:_propTypes.default.string,className:_propTypes.default.string,color:_propTypes.default.string,onClose:_propTypes.default.func,asPlainText:_propTypes.default.bool,onClick:_propTypes.default.func,onClickAriaLabel:_propTypes.default.string});_defineProperty(EuiComboBoxPill,"defaultProps",{color:"hollow"});EuiComboBoxPill.__docgenInfo={description:"",methods:[{name:"onCloseButtonClick",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiComboBoxPill",props:{color:{defaultValue:{value:"'hollow'",computed:false},type:{name:"string"},required:false,description:""},option:{type:{name:"object"},required:true,description:""},children:{type:{name:"string"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},onClose:{type:{name:"func"},required:false,description:""},asPlainText:{type:{name:"bool"},required:false,description:""},onClick:{type:{name:"func"},required:false,description:""},onClickAriaLabel:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiComboBoxOptionsList",{enumerable:true,get:function get(){return _combo_box_options_list.EuiComboBoxOptionsList}});var _combo_box_options_list=__webpack_require__(1599)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiComboBoxOptionsList=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(9);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _reactVirtualized=__webpack_require__(1600);var _code=__webpack_require__(598);var _flex=__webpack_require__(54);var _highlight=__webpack_require__(702);var _panel=__webpack_require__(414);var _text=__webpack_require__(74);var _loading=__webpack_require__(183);var _combo_box_option=__webpack_require__(1705);var _combo_box_title=__webpack_require__(1706);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var positionToClassNameMap={top:"euiComboBoxOptionsList--top",bottom:"euiComboBoxOptionsList--bottom"};var POSITIONS=Object.keys(positionToClassNameMap);var OPTION_CONTENT_CLASSNAME="euiComboBoxOption__content";var EuiComboBoxOptionsList=function(_Component){_inherits(EuiComboBoxOptionsList,_Component);function EuiComboBoxOptionsList(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiComboBoxOptionsList);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiComboBoxOptionsList)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"updatePosition",function(){requestAnimationFrame(function(){_this.props.updatePosition(_this.list)})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"listRef",function(node){_this.props.listRef(node);_this.list=node});return _this}_createClass(EuiComboBoxOptionsList,[{key:"componentDidMount",value:function componentDidMount(){requestAnimationFrame(function(){document.body.classList.add("euiBody-hasPortalContent")});this.updatePosition();window.addEventListener("resize",this.updatePosition)}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){var options=prevProps.options,selectedOptions=prevProps.selectedOptions,searchValue=prevProps.searchValue;searchValue===this.props.searchValue&&options===this.props.options&&selectedOptions===this.props.selectedOptions||this.updatePosition()}},{key:"componentWillUnmount",value:function componentWillUnmount(){document.body.classList.remove("euiBody-hasPortalContent");window.removeEventListener("resize",this.updatePosition)}},{key:"render",value:function render(){var _this2=this;var _this$props=this.props,options=_this$props.options,isLoading=_this$props.isLoading,selectedOptions=_this$props.selectedOptions,onCreateOption=_this$props.onCreateOption,searchValue=_this$props.searchValue,matchingOptions=_this$props.matchingOptions,optionRef=_this$props.optionRef,onOptionClick=_this$props.onOptionClick,onOptionEnterKey=_this$props.onOptionEnterKey,areAllOptionsSelected=_this$props.areAllOptionsSelected,getSelectedOptionForSearchValue=_this$props.getSelectedOptionForSearchValue,position=_this$props.position,renderOption=_this$props.renderOption,width=(_this$props.listRef,_this$props.updatePosition,_this$props.width),scrollToIndex=_this$props.scrollToIndex,onScroll=_this$props.onScroll,rowHeight=_this$props.rowHeight,fullWidth=_this$props.fullWidth,dataTestSubj=_this$props["data-test-subj"],activeOptionIndex=_this$props.activeOptionIndex,rootId=_this$props.rootId,rest=_objectWithoutProperties(_this$props,["options","isLoading","selectedOptions","onCreateOption","searchValue","matchingOptions","optionRef","onOptionClick","onOptionEnterKey","areAllOptionsSelected","getSelectedOptionForSearchValue","position","renderOption","listRef","updatePosition","width","scrollToIndex","onScroll","rowHeight","fullWidth","data-test-subj","activeOptionIndex","rootId"]);var emptyStateContent;if(isLoading)emptyStateContent=_react.default.createElement(_flex.EuiFlexGroup,{gutterSize:"s",justifyContent:"center"},_react.default.createElement(_flex.EuiFlexItem,{grow:false},_react.default.createElement(_loading.EuiLoadingSpinner,{size:"m"})),_react.default.createElement(_flex.EuiFlexItem,{grow:false},_react.default.createElement(_i18n.EuiI18n,{token:"euiComboBoxOptionsList.loadingOptions",default:"Loading options"})));else if(searchValue&&0===matchingOptions.length)if(onCreateOption){var selectedOptionForValue=getSelectedOptionForSearchValue(searchValue,selectedOptions);emptyStateContent=selectedOptionForValue?_react.default.createElement("p",null,_react.default.createElement(_i18n.EuiI18n,{token:"euiComboBoxOptionsList.alreadyAdded",default:"{label} has already been added",values:{label:_react.default.createElement("strong",null,selectedOptionForValue.label)}})):_react.default.createElement("p",null,_react.default.createElement(_i18n.EuiI18n,{token:"euiComboBoxOptionsList.createCustomOption",default:"Hit {key} to add {searchValue} as a custom option",values:{key:_react.default.createElement(_code.EuiCode,null,"ENTER"),searchValue:_react.default.createElement("strong",null,searchValue)}}))}else emptyStateContent=_react.default.createElement("p",null,_react.default.createElement(_i18n.EuiI18n,{token:"euiComboBoxOptionsList.noMatchingOptions",default:"{searchValue} doesn't match any options",values:{searchValue:_react.default.createElement("strong",null,searchValue)}}));else options.length?areAllOptionsSelected&&(emptyStateContent=_react.default.createElement("p",null,_react.default.createElement(_i18n.EuiI18n,{token:"euiComboBoxOptionsList.allOptionsSelected",default:"You've selected all available options"}))):emptyStateContent=_react.default.createElement("p",null,_react.default.createElement(_i18n.EuiI18n,{token:"euiComboBoxOptionsList.noAvailableOptions",default:"There aren't any options available"}));var emptyState=emptyStateContent?_react.default.createElement(_text.EuiText,{size:"xs",className:"euiComboBoxOptionsList__empty"},emptyStateContent):void 0;var numVisibleOptions=matchingOptions.length<7?matchingOptions.length:7;var height=numVisibleOptions*rowHeight;var optionsList=_react.default.createElement(_reactVirtualized.List,{id:rootId("listbox"),role:"listbox",width:width,height:height,rowCount:matchingOptions.length,rowHeight:rowHeight,scrollToIndex:scrollToIndex,onScroll:onScroll,rowRenderer:function rowRenderer(_ref){var key=_ref.key,index=_ref.index,style=_ref.style;var option=matchingOptions[index];option.value;var label=option.label,isGroupLabelOption=option.isGroupLabelOption,rest=_objectWithoutProperties(option,["value","label","isGroupLabelOption"]);if(isGroupLabelOption)return _react.default.createElement("div",{key:key,style:style},_react.default.createElement(_combo_box_title.EuiComboBoxTitle,null,label));return _react.default.createElement(_combo_box_option.EuiComboBoxOption,_extends({style:style,option:option,key:option.label.toLowerCase(),onClick:onOptionClick,onEnterKey:onOptionEnterKey,optionRef:optionRef.bind(_this2,index),isFocused:activeOptionIndex===index,id:rootId("_option-".concat(index))},rest),renderOption?renderOption(option,searchValue,OPTION_CONTENT_CLASSNAME):_react.default.createElement(_highlight.EuiHighlight,{search:searchValue,className:OPTION_CONTENT_CLASSNAME},label))}});var classes=(0,_classnames.default)("euiComboBoxOptionsList",positionToClassNameMap[position],{"euiComboBoxOptionsList--fullWidth":fullWidth});return _react.default.createElement(_panel.EuiPanel,_extends({paddingSize:"none",className:classes,panelRef:this.listRef,"data-test-subj":"comboBoxOptionsList ".concat(dataTestSubj)},rest),_react.default.createElement("div",{className:"euiComboBoxOptionsList__rowWrap"},emptyState||optionsList))}}]);return EuiComboBoxOptionsList}(_react.Component);exports.EuiComboBoxOptionsList=EuiComboBoxOptionsList;_defineProperty(EuiComboBoxOptionsList,"propTypes",{options:_propTypes.default.array,isLoading:_propTypes.default.bool,selectedOptions:_propTypes.default.array,onCreateOption:_propTypes.default.func,searchValue:_propTypes.default.string,matchingOptions:_propTypes.default.array,optionRef:_propTypes.default.func,onOptionClick:_propTypes.default.func,onOptionEnterKey:_propTypes.default.func,areAllOptionsSelected:_propTypes.default.bool,getSelectedOptionForSearchValue:_propTypes.default.func,updatePosition:_propTypes.default.func.isRequired,position:_propTypes.default.oneOf(POSITIONS),listRef:_propTypes.default.func.isRequired,renderOption:_propTypes.default.func,width:_propTypes.default.number,scrollToIndex:_propTypes.default.number,onScroll:_propTypes.default.func,rowHeight:_propTypes.default.number,fullWidth:_propTypes.default.bool,activeOptionIndex:_propTypes.default.number,rootId:_propTypes.default.func.isRequired});_defineProperty(EuiComboBoxOptionsList,"defaultProps",{rowHeight:27,"data-test-subj":""});EuiComboBoxOptionsList.__docgenInfo={description:"",methods:[{name:"updatePosition",docblock:null,modifiers:[],params:[],returns:null},{name:"listRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null}],displayName:"EuiComboBoxOptionsList",props:{rowHeight:{defaultValue:{value:"27",computed:false},type:{name:"number"},required:false,description:""},"data-test-subj":{defaultValue:{value:"''",computed:false},required:false},options:{type:{name:"array"},required:false,description:""},isLoading:{type:{name:"bool"},required:false,description:""},selectedOptions:{type:{name:"array"},required:false,description:""},onCreateOption:{type:{name:"func"},required:false,description:""},searchValue:{type:{name:"string"},required:false,description:""},matchingOptions:{type:{name:"array"},required:false,description:""},optionRef:{type:{name:"func"},required:false,description:""},onOptionClick:{type:{name:"func"},required:false,description:""},onOptionEnterKey:{type:{name:"func"},required:false,description:""},areAllOptionsSelected:{type:{name:"bool"},required:false,description:""},getSelectedOptionForSearchValue:{type:{name:"func"},required:false,description:""},updatePosition:{type:{name:"func"},required:true,description:""},position:{type:{name:"enum",value:[{value:'"top"',computed:false},{value:'"bottom"',computed:false}]},required:false,description:""},listRef:{type:{name:"func"},required:true,description:""},renderOption:{type:{name:"func"},required:false,description:""},width:{type:{name:"number"},required:false,description:""},scrollToIndex:{type:{name:"number"},required:false,description:""},onScroll:{type:{name:"func"},required:false,description:""},fullWidth:{type:{name:"bool"},required:false,description:""},activeOptionIndex:{type:{name:"number"},required:false,description:""},rootId:{type:{name:"func"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _ArrowKeyStepper=__webpack_require__(1601);Object.defineProperty(exports,"ArrowKeyStepper",{enumerable:true,get:function get(){return _ArrowKeyStepper.ArrowKeyStepper}});var _AutoSizer=__webpack_require__(1661);Object.defineProperty(exports,"AutoSizer",{enumerable:true,get:function get(){return _AutoSizer.AutoSizer}});var _CellMeasurer=__webpack_require__(689);Object.defineProperty(exports,"CellMeasurer",{enumerable:true,get:function get(){return _CellMeasurer.CellMeasurer}});Object.defineProperty(exports,"CellMeasurerCache",{enumerable:true,get:function get(){return _CellMeasurer.CellMeasurerCache}});var _Collection=__webpack_require__(1665);Object.defineProperty(exports,"Collection",{enumerable:true,get:function get(){return _Collection.Collection}});var _ColumnSizer=__webpack_require__(1672);Object.defineProperty(exports,"ColumnSizer",{enumerable:true,get:function get(){return _ColumnSizer.ColumnSizer}});var _Grid=__webpack_require__(242);Object.defineProperty(exports,"accessibilityOverscanIndicesGetter",{enumerable:true,get:function get(){return _Grid.accessibilityOverscanIndicesGetter}});Object.defineProperty(exports,"defaultCellRangeRenderer",{enumerable:true,get:function get(){return _Grid.defaultCellRangeRenderer}});Object.defineProperty(exports,"defaultOverscanIndicesGetter",{enumerable:true,get:function get(){return _Grid.defaultOverscanIndicesGetter}});Object.defineProperty(exports,"Grid",{enumerable:true,get:function get(){return _Grid.Grid}});var _InfiniteLoader=__webpack_require__(1674);Object.defineProperty(exports,"InfiniteLoader",{enumerable:true,get:function get(){return _InfiniteLoader.InfiniteLoader}});var _List=__webpack_require__(1676);Object.defineProperty(exports,"List",{enumerable:true,get:function get(){return _List.List}});var _Masonry=__webpack_require__(1681);Object.defineProperty(exports,"createMasonryCellPositioner",{enumerable:true,get:function get(){return _Masonry.createCellPositioner}});Object.defineProperty(exports,"Masonry",{enumerable:true,get:function get(){return _Masonry.Masonry}});var _MultiGrid=__webpack_require__(1693);Object.defineProperty(exports,"MultiGrid",{enumerable:true,get:function get(){return _MultiGrid.MultiGrid}});var _ScrollSync=__webpack_require__(1696);Object.defineProperty(exports,"ScrollSync",{enumerable:true,get:function get(){return _ScrollSync.ScrollSync}});var _Table=__webpack_require__(1698);Object.defineProperty(exports,"createTableMultiSort",{enumerable:true,get:function get(){return _Table.createMultiSort}});Object.defineProperty(exports,"defaultTableCellDataGetter",{enumerable:true,get:function get(){return _Table.defaultCellDataGetter}});Object.defineProperty(exports,"defaultTableCellRenderer",{enumerable:true,get:function get(){return _Table.defaultCellRenderer}});Object.defineProperty(exports,"defaultTableHeaderRenderer",{enumerable:true,get:function get(){return _Table.defaultHeaderRenderer}});Object.defineProperty(exports,"defaultTableHeaderRowRenderer",{enumerable:true,get:function get(){return _Table.defaultHeaderRowRenderer}});Object.defineProperty(exports,"defaultTableRowRenderer",{enumerable:true,get:function get(){return _Table.defaultRowRenderer}});Object.defineProperty(exports,"Table",{enumerable:true,get:function get(){return _Table.Table}});Object.defineProperty(exports,"Column",{enumerable:true,get:function get(){return _Table.Column}});Object.defineProperty(exports,"SortDirection",{enumerable:true,get:function get(){return _Table.SortDirection}});Object.defineProperty(exports,"SortIndicator",{enumerable:true,get:function get(){return _Table.SortIndicator}});var _WindowScroller=__webpack_require__(1701);Object.defineProperty(exports,"WindowScroller",{enumerable:true,get:function get(){return _WindowScroller.WindowScroller}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.bpfrpt_proptype_ScrollIndices=exports.ArrowKeyStepper=exports.default=void 0;var _ArrowKeyStepper=__webpack_require__(1602);Object.defineProperty(exports,"default",{enumerable:true,get:function get(){return _interopRequireDefault(_ArrowKeyStepper).default}});Object.defineProperty(exports,"ArrowKeyStepper",{enumerable:true,get:function get(){return _interopRequireDefault(_ArrowKeyStepper).default}});var _types=__webpack_require__(687);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.bpfrpt_proptype_ScrollIndices=_types.bpfrpt_proptype_ScrollIndices},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _reactLifecyclesCompat=__webpack_require__(241);__webpack_require__(242);__webpack_require__(687);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ArrowKeyStepper=function(_React$PureComponent){(0,_inherits3.default)(ArrowKeyStepper,_React$PureComponent);function ArrowKeyStepper(){var _ref;var _temp,_this,_ret;(0,_classCallCheck3.default)(this,ArrowKeyStepper);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=(0,_possibleConstructorReturn3.default)(this,(_ref=ArrowKeyStepper.__proto__||(0,_getPrototypeOf2.default)(ArrowKeyStepper)).call.apply(_ref,[this].concat(args))),_this),_this.state={scrollToColumn:0,scrollToRow:0},_this._columnStartIndex=0,_this._columnStopIndex=0,_this._rowStartIndex=0,_this._rowStopIndex=0,_this._onKeyDown=function(event){var _this$props=_this.props,columnCount=_this$props.columnCount,disabled=_this$props.disabled,mode=_this$props.mode,rowCount=_this$props.rowCount;if(disabled)return;var _this$_getScrollState=_this._getScrollState(),scrollToColumnPrevious=_this$_getScrollState.scrollToColumn,scrollToRowPrevious=_this$_getScrollState.scrollToRow;var _this$_getScrollState2=_this._getScrollState(),scrollToColumn=_this$_getScrollState2.scrollToColumn,scrollToRow=_this$_getScrollState2.scrollToRow;switch(event.key){case"ArrowDown":scrollToRow="cells"===mode?Math.min(scrollToRow+1,rowCount-1):Math.min(_this._rowStopIndex+1,rowCount-1);break;case"ArrowLeft":scrollToColumn="cells"===mode?Math.max(scrollToColumn-1,0):Math.max(_this._columnStartIndex-1,0);break;case"ArrowRight":scrollToColumn="cells"===mode?Math.min(scrollToColumn+1,columnCount-1):Math.min(_this._columnStopIndex+1,columnCount-1);break;case"ArrowUp":scrollToRow="cells"===mode?Math.max(scrollToRow-1,0):Math.max(_this._rowStartIndex-1,0)}if(scrollToColumn!==scrollToColumnPrevious||scrollToRow!==scrollToRowPrevious){event.preventDefault();_this._updateScrollState({scrollToColumn:scrollToColumn,scrollToRow:scrollToRow})}},_this._onSectionRendered=function(_ref2){var columnStartIndex=_ref2.columnStartIndex,columnStopIndex=_ref2.columnStopIndex,rowStartIndex=_ref2.rowStartIndex,rowStopIndex=_ref2.rowStopIndex;_this._columnStartIndex=columnStartIndex;_this._columnStopIndex=columnStopIndex;_this._rowStartIndex=rowStartIndex;_this._rowStopIndex=rowStopIndex},_temp),(0,_possibleConstructorReturn3.default)(_this,_ret)}(0,_createClass3.default)(ArrowKeyStepper,[{key:"setScrollIndexes",value:function setScrollIndexes(_ref3){var scrollToColumn=_ref3.scrollToColumn,scrollToRow=_ref3.scrollToRow;this.setState({scrollToRow:scrollToRow,scrollToColumn:scrollToColumn})}},{key:"render",value:function render(){var _props=this.props,className=_props.className,children=_props.children;var _getScrollState2=this._getScrollState(),scrollToColumn=_getScrollState2.scrollToColumn,scrollToRow=_getScrollState2.scrollToRow;return React.createElement("div",{className:className,onKeyDown:this._onKeyDown},children({onSectionRendered:this._onSectionRendered,scrollToColumn:scrollToColumn,scrollToRow:scrollToRow}))}},{key:"_getScrollState",value:function _getScrollState(){return this.props.isControlled?this.props:this.state}},{key:"_updateScrollState",value:function _updateScrollState(_ref4){var scrollToColumn=_ref4.scrollToColumn,scrollToRow=_ref4.scrollToRow;var _props2=this.props,isControlled=_props2.isControlled,onScrollToChange=_props2.onScrollToChange;"function"===typeof onScrollToChange&&onScrollToChange({scrollToColumn:scrollToColumn,scrollToRow:scrollToRow});isControlled||this.setState({scrollToColumn:scrollToColumn,scrollToRow:scrollToRow})}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,prevState){if(nextProps.isControlled)return null;if(nextProps.scrollToColumn!==prevState.scrollToColumn||nextProps.scrollToRow!==prevState.scrollToRow)return{scrollToColumn:nextProps.scrollToColumn,scrollToRow:nextProps.scrollToRow};return null}}]);return ArrowKeyStepper}(React.PureComponent);ArrowKeyStepper.defaultProps={disabled:false,isControlled:false,mode:"edges",scrollToColumn:0,scrollToRow:0};ArrowKeyStepper.propTypes=null;(0,_reactLifecyclesCompat.polyfill)(ArrowKeyStepper);exports.default=ArrowKeyStepper},function(module,exports,__webpack_require__){__webpack_require__(1604);module.exports=__webpack_require__(46).Object.getPrototypeOf},function(module,exports,__webpack_require__){var toObject=__webpack_require__(304);var $getPrototypeOf=__webpack_require__(665);__webpack_require__(418)("getPrototypeOf",function(){return function getPrototypeOf(it){return $getPrototypeOf(toObject(it))}})},function(module,exports,__webpack_require__){__webpack_require__(1606);var $Object=__webpack_require__(46).Object;module.exports=function defineProperty(it,key,desc){return $Object.defineProperty(it,key,desc)}},function(module,exports,__webpack_require__){var $export=__webpack_require__(104);$export($export.S+$export.F*!__webpack_require__(131),"Object",{defineProperty:__webpack_require__(129).f})},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(1608),__esModule:true}},function(module,exports,__webpack_require__){__webpack_require__(308);__webpack_require__(311);module.exports=__webpack_require__(424).f("iterator")},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(421);var defined=__webpack_require__(415);module.exports=function(TO_STRING){return function(that,pos){var s=String(defined(that));var i=toInteger(pos);var l=s.length;var a,b;if(i<0||i>=l)return TO_STRING?"":void 0;a=s.charCodeAt(i);return a<55296||a>56319||i+1===l||(b=s.charCodeAt(i+1))<56320||b>57343?TO_STRING?s.charAt(i):a:TO_STRING?s.slice(i,i+2):b-56320+(a-55296<<10)+65536}}},function(module,exports,__webpack_require__){"use strict";var create=__webpack_require__(422);var descriptor=__webpack_require__(307);var setToStringTag=__webpack_require__(310);var IteratorPrototype={};__webpack_require__(159)(IteratorPrototype,__webpack_require__(65)("iterator"),function(){return this});module.exports=function(Constructor,NAME,next){Constructor.prototype=create(IteratorPrototype,{next:descriptor(1,next)});setToStringTag(Constructor,NAME+" Iterator")}},function(module,exports,__webpack_require__){var dP=__webpack_require__(129);var anObject=__webpack_require__(105);var getKeys=__webpack_require__(239);module.exports=__webpack_require__(131)?Object.defineProperties:function defineProperties(O,Properties){anObject(O);var keys=getKeys(Properties);var length=keys.length;var i=0;var P;while(length>i)dP.f(O,P=keys[i++],Properties[P]);return O}},function(module,exports,__webpack_require__){var toIObject=__webpack_require__(160);var toLength=__webpack_require__(672);var toAbsoluteIndex=__webpack_require__(1613);module.exports=function(IS_INCLUDES){return function($this,el,fromIndex){var O=toIObject($this);var length=toLength(O.length);var index=toAbsoluteIndex(fromIndex,length);var value;if(IS_INCLUDES&&el!=el)while(length>index){value=O[index++];if(value!=value)return true}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(421);var max=Math.max;var min=Math.min;module.exports=function(index,length){index=toInteger(index);return index<0?max(index+length,0):min(index,length)}},function(module,exports,__webpack_require__){"use strict";var addToUnscopables=__webpack_require__(1615);var step=__webpack_require__(1616);var Iterators=__webpack_require__(189);var toIObject=__webpack_require__(160);module.exports=__webpack_require__(668)(Array,"Array",function(iterated,kind){this._t=toIObject(iterated);this._i=0;this._k=kind},function(){var O=this._t;var kind=this._k;var index=this._i++;if(!O||index>=O.length){this._t=void 0;return step(1)}if("keys"==kind)return step(0,index);if("values"==kind)return step(0,O[index]);return step(0,[index,O[index]])},"values");Iterators.Arguments=Iterators.Array;addToUnscopables("keys");addToUnscopables("values");addToUnscopables("entries")},function(module,exports){module.exports=function(){}},function(module,exports){module.exports=function(done,value){return{value:value,done:!!done}}},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(1618),__esModule:true}},function(module,exports,__webpack_require__){__webpack_require__(1619);__webpack_require__(675);__webpack_require__(1624);__webpack_require__(1625);module.exports=__webpack_require__(46).Symbol},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(75);var has=__webpack_require__(158);var DESCRIPTORS=__webpack_require__(131);var $export=__webpack_require__(104);var redefine=__webpack_require__(669);var META=__webpack_require__(1620).KEY;var $fails=__webpack_require__(188);var shared=__webpack_require__(417);var setToStringTag=__webpack_require__(310);var uid=__webpack_require__(305);var wks=__webpack_require__(65);var wksExt=__webpack_require__(424);var wksDefine=__webpack_require__(425);var enumKeys=__webpack_require__(1621);var isArray=__webpack_require__(1622);var anObject=__webpack_require__(105);var isObject=__webpack_require__(130);var toIObject=__webpack_require__(160);var toPrimitive=__webpack_require__(420);var createDesc=__webpack_require__(307);var _create=__webpack_require__(422);var gOPNExt=__webpack_require__(1623);var $GOPD=__webpack_require__(427);var $DP=__webpack_require__(129);var $keys=__webpack_require__(239);var gOPD=$GOPD.f;var dP=$DP.f;var gOPN=gOPNExt.f;var $Symbol=global.Symbol;var $JSON=global.JSON;var _stringify=$JSON&&$JSON.stringify;var PROTOTYPE="prototype";var HIDDEN=wks("_hidden");var TO_PRIMITIVE=wks("toPrimitive");var isEnum={}.propertyIsEnumerable;var SymbolRegistry=shared("symbol-registry");var AllSymbols=shared("symbols");var OPSymbols=shared("op-symbols");var ObjectProto=Object[PROTOTYPE];var USE_NATIVE="function"==typeof $Symbol;var QObject=global.QObject;var setter=!QObject||!QObject[PROTOTYPE]||!QObject[PROTOTYPE].findChild;var setSymbolDesc=DESCRIPTORS&&$fails(function(){return 7!=_create(dP({},"a",{get:function(){return dP(this,"a",{value:7}).a}})).a})?function(it,key,D){var protoDesc=gOPD(ObjectProto,key);protoDesc&&delete ObjectProto[key];dP(it,key,D);protoDesc&&it!==ObjectProto&&dP(ObjectProto,key,protoDesc)}:dP;var wrap=function(tag){var sym=AllSymbols[tag]=_create($Symbol[PROTOTYPE]);sym._k=tag;return sym};var isSymbol=USE_NATIVE&&"symbol"==typeof $Symbol.iterator?function(it){return"symbol"==typeof it}:function(it){return it instanceof $Symbol};var $defineProperty=function defineProperty(it,key,D){it===ObjectProto&&$defineProperty(OPSymbols,key,D);anObject(it);key=toPrimitive(key,true);anObject(D);if(has(AllSymbols,key)){if(D.enumerable){has(it,HIDDEN)&&it[HIDDEN][key]&&(it[HIDDEN][key]=false);D=_create(D,{enumerable:createDesc(0,false)})}else{has(it,HIDDEN)||dP(it,HIDDEN,createDesc(1,{}));it[HIDDEN][key]=true}return setSymbolDesc(it,key,D)}return dP(it,key,D)};var $defineProperties=function defineProperties(it,P){anObject(it);var keys=enumKeys(P=toIObject(P));var i=0;var l=keys.length;var key;while(l>i)$defineProperty(it,key=keys[i++],P[key]);return it};var $create=function create(it,P){return void 0===P?_create(it):$defineProperties(_create(it),P)};var $propertyIsEnumerable=function propertyIsEnumerable(key){var E=isEnum.call(this,key=toPrimitive(key,true));if(this===ObjectProto&&has(AllSymbols,key)&&!has(OPSymbols,key))return false;return!(E||!has(this,key)||!has(AllSymbols,key)||has(this,HIDDEN)&&this[HIDDEN][key])||E};var $getOwnPropertyDescriptor=function getOwnPropertyDescriptor(it,key){it=toIObject(it);key=toPrimitive(key,true);if(it===ObjectProto&&has(AllSymbols,key)&&!has(OPSymbols,key))return;var D=gOPD(it,key);!D||!has(AllSymbols,key)||has(it,HIDDEN)&&it[HIDDEN][key]||(D.enumerable=true);return D};var $getOwnPropertyNames=function getOwnPropertyNames(it){var names=gOPN(toIObject(it));var result=[];var i=0;var key;while(names.length>i)has(AllSymbols,key=names[i++])||key==HIDDEN||key==META||result.push(key);return result};var $getOwnPropertySymbols=function getOwnPropertySymbols(it){var IS_OP=it===ObjectProto;var names=gOPN(IS_OP?OPSymbols:toIObject(it));var result=[];var i=0;var key;while(names.length>i)!has(AllSymbols,key=names[i++])||IS_OP&&!has(ObjectProto,key)||result.push(AllSymbols[key]);return result};if(!USE_NATIVE){$Symbol=function Symbol(){if(this instanceof $Symbol)throw TypeError("Symbol is not a constructor!");var tag=uid(arguments.length>0?arguments[0]:void 0);var $set=function(value){this===ObjectProto&&$set.call(OPSymbols,value);has(this,HIDDEN)&&has(this[HIDDEN],tag)&&(this[HIDDEN][tag]=false);setSymbolDesc(this,tag,createDesc(1,value))};DESCRIPTORS&&setter&&setSymbolDesc(ObjectProto,tag,{configurable:true,set:$set});return wrap(tag)};redefine($Symbol[PROTOTYPE],"toString",function toString(){return this._k});$GOPD.f=$getOwnPropertyDescriptor;$DP.f=$defineProperty;__webpack_require__(674).f=gOPNExt.f=$getOwnPropertyNames;__webpack_require__(312).f=$propertyIsEnumerable;__webpack_require__(426).f=$getOwnPropertySymbols;DESCRIPTORS&&!__webpack_require__(309)&&redefine(ObjectProto,"propertyIsEnumerable",$propertyIsEnumerable,true);wksExt.f=function(name){return wrap(wks(name))}}$export($export.G+$export.W+$export.F*!USE_NATIVE,{Symbol:$Symbol});for(var es6Symbols="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),j=0;es6Symbols.length>j;)wks(es6Symbols[j++]);for(var wellKnownSymbols=$keys(wks.store),k=0;wellKnownSymbols.length>k;)wksDefine(wellKnownSymbols[k++]);$export($export.S+$export.F*!USE_NATIVE,"Symbol",{for:function(key){return has(SymbolRegistry,key+="")?SymbolRegistry[key]:SymbolRegistry[key]=$Symbol(key)},keyFor:function keyFor(sym){if(!isSymbol(sym))throw TypeError(sym+" is not a symbol!");for(var key in SymbolRegistry)if(SymbolRegistry[key]===sym)return key},useSetter:function(){setter=true},useSimple:function(){setter=false}});$export($export.S+$export.F*!USE_NATIVE,"Object",{create:$create,defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor,getOwnPropertyNames:$getOwnPropertyNames,getOwnPropertySymbols:$getOwnPropertySymbols});$JSON&&$export($export.S+$export.F*(!USE_NATIVE||$fails(function(){var S=$Symbol();return"[null]"!=_stringify([S])||"{}"!=_stringify({a:S})||"{}"!=_stringify(Object(S))})),"JSON",{stringify:function stringify(it){var args=[it];var i=1;var replacer,$replacer;while(arguments.length>i)args.push(arguments[i++]);$replacer=replacer=args[1];if(!isObject(replacer)&&void 0===it||isSymbol(it))return;isArray(replacer)||(replacer=function(key,value){"function"==typeof $replacer&&(value=$replacer.call(this,key,value));if(!isSymbol(value))return value});args[1]=replacer;return _stringify.apply($JSON,args)}});$Symbol[PROTOTYPE][TO_PRIMITIVE]||__webpack_require__(159)($Symbol[PROTOTYPE],TO_PRIMITIVE,$Symbol[PROTOTYPE].valueOf);setToStringTag($Symbol,"Symbol");setToStringTag(Math,"Math",true);setToStringTag(global.JSON,"JSON",true)},function(module,exports,__webpack_require__){var META=__webpack_require__(305)("meta");var isObject=__webpack_require__(130);var has=__webpack_require__(158);var setDesc=__webpack_require__(129).f;var id=0;var isExtensible=Object.isExtensible||function(){return true};var FREEZE=!__webpack_require__(188)(function(){return isExtensible(Object.preventExtensions({}))});var setMeta=function(it){setDesc(it,META,{value:{i:"O"+ ++id,w:{}}})};var fastKey=function(it,create){if(!isObject(it))return"symbol"==typeof it?it:("string"==typeof it?"S":"P")+it;if(!has(it,META)){if(!isExtensible(it))return"F";if(!create)return"E";setMeta(it)}return it[META].i};var getWeak=function(it,create){if(!has(it,META)){if(!isExtensible(it))return true;if(!create)return false;setMeta(it)}return it[META].w};var onFreeze=function(it){FREEZE&&meta.NEED&&isExtensible(it)&&!has(it,META)&&setMeta(it);return it};var meta=module.exports={KEY:META,NEED:false,fastKey:fastKey,getWeak:getWeak,onFreeze:onFreeze}},function(module,exports,__webpack_require__){var getKeys=__webpack_require__(239);var gOPS=__webpack_require__(426);var pIE=__webpack_require__(312);module.exports=function(it){var result=getKeys(it);var getSymbols=gOPS.f;if(getSymbols){var symbols=getSymbols(it);var isEnum=pIE.f;var i=0;var key;while(symbols.length>i)isEnum.call(it,key=symbols[i++])&&result.push(key)}return result}},function(module,exports,__webpack_require__){var cof=__webpack_require__(240);module.exports=Array.isArray||function isArray(arg){return"Array"==cof(arg)}},function(module,exports,__webpack_require__){var toIObject=__webpack_require__(160);var gOPN=__webpack_require__(674).f;var toString={}.toString;var windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];var getWindowNames=function(it){try{return gOPN(it)}catch(e){return windowNames.slice()}};module.exports.f=function getOwnPropertyNames(it){return windowNames&&"[object Window]"==toString.call(it)?getWindowNames(it):gOPN(toIObject(it))}},function(module,exports,__webpack_require__){__webpack_require__(425)("asyncIterator")},function(module,exports,__webpack_require__){__webpack_require__(425)("observable")},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(1627),__esModule:true}},function(module,exports,__webpack_require__){__webpack_require__(1628);module.exports=__webpack_require__(46).Object.setPrototypeOf},function(module,exports,__webpack_require__){var $export=__webpack_require__(104);$export($export.S,"Object",{setPrototypeOf:__webpack_require__(1629).set})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(130);var anObject=__webpack_require__(105);var check=function(O,proto){anObject(O);if(!isObject(proto)&&null!==proto)throw TypeError(proto+": can't set as prototype!")};module.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(test,buggy,set){try{set=__webpack_require__(237)(Function.call,__webpack_require__(427).f(Object.prototype,"__proto__").set,2);set(test,[]);buggy=!(test instanceof Array)}catch(e){buggy=true}return function setPrototypeOf(O,proto){check(O,proto);buggy?O.__proto__=proto:set(O,proto);return O}}({},false):void 0),check:check}},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(1631),__esModule:true}},function(module,exports,__webpack_require__){__webpack_require__(1632);var $Object=__webpack_require__(46).Object;module.exports=function create(P,D){return $Object.create(P,D)}},function(module,exports,__webpack_require__){var $export=__webpack_require__(104);$export($export.S,"Object",{create:__webpack_require__(422)})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.DEFAULT_SCROLLING_RESET_TIME_INTERVAL=void 0;var _assign=__webpack_require__(676);var _assign2=_interopRequireDefault(_assign);var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _classnames=__webpack_require__(6);var _classnames2=_interopRequireDefault(_classnames);var _calculateSizeAndPositionDataAndUpdateScrollOffset=__webpack_require__(1637);var _calculateSizeAndPositionDataAndUpdateScrollOffset2=_interopRequireDefault(_calculateSizeAndPositionDataAndUpdateScrollOffset);var _ScalingCellSizeAndPositionManager=__webpack_require__(428);var _ScalingCellSizeAndPositionManager2=_interopRequireDefault(_ScalingCellSizeAndPositionManager);var _createCallbackMemoizer=__webpack_require__(430);var _createCallbackMemoizer2=_interopRequireDefault(_createCallbackMemoizer);var _defaultOverscanIndicesGetter=__webpack_require__(678);var _defaultOverscanIndicesGetter2=_interopRequireDefault(_defaultOverscanIndicesGetter);var _updateScrollIndexHelper=__webpack_require__(1644);var _updateScrollIndexHelper2=_interopRequireDefault(_updateScrollIndexHelper);var _defaultCellRangeRenderer=__webpack_require__(679);var _defaultCellRangeRenderer2=_interopRequireDefault(_defaultCellRangeRenderer);var _scrollbarSize=__webpack_require__(680);var _scrollbarSize2=_interopRequireDefault(_scrollbarSize);var _reactLifecyclesCompat=__webpack_require__(241);var _requestAnimationTimeout=__webpack_require__(431);__webpack_require__(132);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var DEFAULT_SCROLLING_RESET_TIME_INTERVAL=exports.DEFAULT_SCROLLING_RESET_TIME_INTERVAL=150;var SCROLL_POSITION_CHANGE_REASONS={OBSERVED:"observed",REQUESTED:"requested"};var renderNull=function renderNull(){return null};var Grid=function(_React$PureComponent){(0,_inherits3.default)(Grid,_React$PureComponent);function Grid(props){(0,_classCallCheck3.default)(this,Grid);var _this=(0,_possibleConstructorReturn3.default)(this,(Grid.__proto__||(0,_getPrototypeOf2.default)(Grid)).call(this,props));_this._onGridRenderedMemoizer=(0,_createCallbackMemoizer2.default)();_this._onScrollMemoizer=(0,_createCallbackMemoizer2.default)(false);_this._deferredInvalidateColumnIndex=null;_this._deferredInvalidateRowIndex=null;_this._recomputeScrollLeftFlag=false;_this._recomputeScrollTopFlag=false;_this._horizontalScrollBarSize=0;_this._verticalScrollBarSize=0;_this._scrollbarPresenceChanged=false;_this._renderedColumnStartIndex=0;_this._renderedColumnStopIndex=0;_this._renderedRowStartIndex=0;_this._renderedRowStopIndex=0;_this._styleCache={};_this._cellCache={};_this._debounceScrollEndedCallback=function(){_this._disablePointerEventsTimeoutId=null;_this.setState({isScrolling:false,needToResetStyleCache:false})};_this._invokeOnGridRenderedHelper=function(){var onSectionRendered=_this.props.onSectionRendered;_this._onGridRenderedMemoizer({callback:onSectionRendered,indices:{columnOverscanStartIndex:_this._columnStartIndex,columnOverscanStopIndex:_this._columnStopIndex,columnStartIndex:_this._renderedColumnStartIndex,columnStopIndex:_this._renderedColumnStopIndex,rowOverscanStartIndex:_this._rowStartIndex,rowOverscanStopIndex:_this._rowStopIndex,rowStartIndex:_this._renderedRowStartIndex,rowStopIndex:_this._renderedRowStopIndex}})};_this._setScrollingContainerRef=function(ref){_this._scrollingContainer=ref};_this._onScroll=function(event){event.target===_this._scrollingContainer&&_this.handleScrollEvent(event.target)};var columnSizeAndPositionManager=new _ScalingCellSizeAndPositionManager2.default({cellCount:props.columnCount,cellSizeGetter:function cellSizeGetter(params){return Grid._wrapSizeGetter(props.columnWidth)(params)},estimatedCellSize:Grid._getEstimatedColumnSize(props)});var rowSizeAndPositionManager=new _ScalingCellSizeAndPositionManager2.default({cellCount:props.rowCount,cellSizeGetter:function cellSizeGetter(params){return Grid._wrapSizeGetter(props.rowHeight)(params)},estimatedCellSize:Grid._getEstimatedRowSize(props)});_this.state={instanceProps:{columnSizeAndPositionManager:columnSizeAndPositionManager,rowSizeAndPositionManager:rowSizeAndPositionManager,prevColumnWidth:props.columnWidth,prevRowHeight:props.rowHeight,prevColumnCount:props.columnCount,prevRowCount:props.rowCount,prevIsScrolling:true===props.isScrolling,prevScrollToColumn:props.scrollToColumn,prevScrollToRow:props.scrollToRow,scrollbarSize:0,scrollbarSizeMeasured:false},isScrolling:false,scrollDirectionHorizontal:_defaultOverscanIndicesGetter.SCROLL_DIRECTION_FORWARD,scrollDirectionVertical:_defaultOverscanIndicesGetter.SCROLL_DIRECTION_FORWARD,scrollLeft:0,scrollTop:0,scrollPositionChangeReason:null,needToResetStyleCache:false};props.scrollToRow>0&&(_this._initialScrollTop=_this._getCalculatedScrollTop(props,_this.state));props.scrollToColumn>0&&(_this._initialScrollLeft=_this._getCalculatedScrollLeft(props,_this.state));return _this}(0,_createClass3.default)(Grid,[{key:"getOffsetForCell",value:function getOffsetForCell(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref$alignment=_ref.alignment,alignment=void 0===_ref$alignment?this.props.scrollToAlignment:_ref$alignment,_ref$columnIndex=_ref.columnIndex,columnIndex=void 0===_ref$columnIndex?this.props.scrollToColumn:_ref$columnIndex,_ref$rowIndex=_ref.rowIndex,rowIndex=void 0===_ref$rowIndex?this.props.scrollToRow:_ref$rowIndex;var offsetProps=(0,_extends3.default)({},this.props,{scrollToAlignment:alignment,scrollToColumn:columnIndex,scrollToRow:rowIndex});return{scrollLeft:this._getCalculatedScrollLeft(offsetProps),scrollTop:this._getCalculatedScrollTop(offsetProps)}}},{key:"getTotalRowsHeight",value:function getTotalRowsHeight(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function getTotalColumnsWidth(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function handleScrollEvent(_ref2){var _ref2$scrollLeft=_ref2.scrollLeft,scrollLeftParam=void 0===_ref2$scrollLeft?0:_ref2$scrollLeft,_ref2$scrollTop=_ref2.scrollTop,scrollTopParam=void 0===_ref2$scrollTop?0:_ref2$scrollTop;if(scrollTopParam<0)return;this._debounceScrollEnded();var _props=this.props,autoHeight=_props.autoHeight,autoWidth=_props.autoWidth,height=_props.height,width=_props.width;var instanceProps=this.state.instanceProps;var scrollbarSize=instanceProps.scrollbarSize;var totalRowsHeight=instanceProps.rowSizeAndPositionManager.getTotalSize();var totalColumnsWidth=instanceProps.columnSizeAndPositionManager.getTotalSize();var scrollLeft=Math.min(Math.max(0,totalColumnsWidth-width+scrollbarSize),scrollLeftParam);var scrollTop=Math.min(Math.max(0,totalRowsHeight-height+scrollbarSize),scrollTopParam);if(this.state.scrollLeft!==scrollLeft||this.state.scrollTop!==scrollTop){var _scrollDirectionHorizontal=scrollLeft!==this.state.scrollLeft?scrollLeft>this.state.scrollLeft?_defaultOverscanIndicesGetter.SCROLL_DIRECTION_FORWARD:_defaultOverscanIndicesGetter.SCROLL_DIRECTION_BACKWARD:this.state.scrollDirectionHorizontal;var _scrollDirectionVertical=scrollTop!==this.state.scrollTop?scrollTop>this.state.scrollTop?_defaultOverscanIndicesGetter.SCROLL_DIRECTION_FORWARD:_defaultOverscanIndicesGetter.SCROLL_DIRECTION_BACKWARD:this.state.scrollDirectionVertical;var newState={isScrolling:true,scrollDirectionHorizontal:_scrollDirectionHorizontal,scrollDirectionVertical:_scrollDirectionVertical,scrollPositionChangeReason:SCROLL_POSITION_CHANGE_REASONS.OBSERVED};autoHeight||(newState.scrollTop=scrollTop);autoWidth||(newState.scrollLeft=scrollLeft);newState.needToResetStyleCache=false;this.setState(newState)}this._invokeOnScrollMemoizer({scrollLeft:scrollLeft,scrollTop:scrollTop,totalColumnsWidth:totalColumnsWidth,totalRowsHeight:totalRowsHeight})}},{key:"invalidateCellSizeAfterRender",value:function invalidateCellSizeAfterRender(_ref3){var columnIndex=_ref3.columnIndex,rowIndex=_ref3.rowIndex;this._deferredInvalidateColumnIndex="number"===typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,columnIndex):columnIndex;this._deferredInvalidateRowIndex="number"===typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,rowIndex):rowIndex}},{key:"measureAllCells",value:function measureAllCells(){var _props2=this.props,columnCount=_props2.columnCount,rowCount=_props2.rowCount;var instanceProps=this.state.instanceProps;instanceProps.columnSizeAndPositionManager.getSizeAndPositionOfCell(columnCount-1);instanceProps.rowSizeAndPositionManager.getSizeAndPositionOfCell(rowCount-1)}},{key:"recomputeGridSize",value:function recomputeGridSize(){var _ref4=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref4$columnIndex=_ref4.columnIndex,columnIndex=void 0===_ref4$columnIndex?0:_ref4$columnIndex,_ref4$rowIndex=_ref4.rowIndex,rowIndex=void 0===_ref4$rowIndex?0:_ref4$rowIndex;var _props3=this.props,scrollToColumn=_props3.scrollToColumn,scrollToRow=_props3.scrollToRow;var instanceProps=this.state.instanceProps;instanceProps.columnSizeAndPositionManager.resetCell(columnIndex);instanceProps.rowSizeAndPositionManager.resetCell(rowIndex);this._recomputeScrollLeftFlag=scrollToColumn>=0&&(this.state.scrollDirectionHorizontal===_defaultOverscanIndicesGetter.SCROLL_DIRECTION_FORWARD?columnIndex<=scrollToColumn:columnIndex>=scrollToColumn);this._recomputeScrollTopFlag=scrollToRow>=0&&(this.state.scrollDirectionVertical===_defaultOverscanIndicesGetter.SCROLL_DIRECTION_FORWARD?rowIndex<=scrollToRow:rowIndex>=scrollToRow);this._styleCache={};this._cellCache={};this.forceUpdate()}},{key:"scrollToCell",value:function scrollToCell(_ref5){var columnIndex=_ref5.columnIndex,rowIndex=_ref5.rowIndex;var columnCount=this.props.columnCount;var props=this.props;columnCount>1&&void 0!==columnIndex&&this._updateScrollLeftForScrollToColumn((0,_extends3.default)({},props,{scrollToColumn:columnIndex}));void 0!==rowIndex&&this._updateScrollTopForScrollToRow((0,_extends3.default)({},props,{scrollToRow:rowIndex}))}},{key:"componentDidMount",value:function componentDidMount(){var _props4=this.props,getScrollbarSize=_props4.getScrollbarSize,height=_props4.height,scrollLeft=_props4.scrollLeft,scrollToColumn=_props4.scrollToColumn,scrollTop=_props4.scrollTop,scrollToRow=_props4.scrollToRow,width=_props4.width;var instanceProps=this.state.instanceProps;this._initialScrollTop=0;this._initialScrollLeft=0;this._handleInvalidatedGridSize();instanceProps.scrollbarSizeMeasured||this.setState(function(prevState){var stateUpdate=(0,_extends3.default)({},prevState,{needToResetStyleCache:false});stateUpdate.instanceProps.scrollbarSize=getScrollbarSize();stateUpdate.instanceProps.scrollbarSizeMeasured=true;return stateUpdate});if("number"===typeof scrollLeft&&scrollLeft>=0||"number"===typeof scrollTop&&scrollTop>=0){var stateUpdate=Grid._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:scrollLeft,scrollTop:scrollTop});if(stateUpdate){stateUpdate.needToResetStyleCache=false;this.setState(stateUpdate)}}if(this._scrollingContainer){this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft);this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop)}var sizeIsBiggerThanZero=height>0&&width>0;scrollToColumn>=0&&sizeIsBiggerThanZero&&this._updateScrollLeftForScrollToColumn();scrollToRow>=0&&sizeIsBiggerThanZero&&this._updateScrollTopForScrollToRow();this._invokeOnGridRenderedHelper();this._invokeOnScrollMemoizer({scrollLeft:scrollLeft||0,scrollTop:scrollTop||0,totalColumnsWidth:instanceProps.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:instanceProps.rowSizeAndPositionManager.getTotalSize()});this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps,prevState){var _this2=this;var _props5=this.props,autoHeight=_props5.autoHeight,autoWidth=_props5.autoWidth,columnCount=_props5.columnCount,height=_props5.height,rowCount=_props5.rowCount,scrollToAlignment=_props5.scrollToAlignment,scrollToColumn=_props5.scrollToColumn,scrollToRow=_props5.scrollToRow,width=_props5.width;var _state=this.state,scrollLeft=_state.scrollLeft,scrollPositionChangeReason=_state.scrollPositionChangeReason,scrollTop=_state.scrollTop,instanceProps=_state.instanceProps;this._handleInvalidatedGridSize();var columnOrRowCountJustIncreasedFromZero=columnCount>0&&0===prevProps.columnCount||rowCount>0&&0===prevProps.rowCount;if(scrollPositionChangeReason===SCROLL_POSITION_CHANGE_REASONS.REQUESTED){!autoWidth&&scrollLeft>=0&&(scrollLeft!==this._scrollingContainer.scrollLeft||columnOrRowCountJustIncreasedFromZero)&&(this._scrollingContainer.scrollLeft=scrollLeft);!autoHeight&&scrollTop>=0&&(scrollTop!==this._scrollingContainer.scrollTop||columnOrRowCountJustIncreasedFromZero)&&(this._scrollingContainer.scrollTop=scrollTop)}var sizeJustIncreasedFromZero=(0===prevProps.width||0===prevProps.height)&&height>0&&width>0;if(this._recomputeScrollLeftFlag){this._recomputeScrollLeftFlag=false;this._updateScrollLeftForScrollToColumn(this.props)}else(0,_updateScrollIndexHelper2.default)({cellSizeAndPositionManager:instanceProps.columnSizeAndPositionManager,previousCellsCount:prevProps.columnCount,previousCellSize:prevProps.columnWidth,previousScrollToAlignment:prevProps.scrollToAlignment,previousScrollToIndex:prevProps.scrollToColumn,previousSize:prevProps.width,scrollOffset:scrollLeft,scrollToAlignment:scrollToAlignment,scrollToIndex:scrollToColumn,size:width,sizeJustIncreasedFromZero:sizeJustIncreasedFromZero,updateScrollIndexCallback:function updateScrollIndexCallback(){return _this2._updateScrollLeftForScrollToColumn(_this2.props)}});if(this._recomputeScrollTopFlag){this._recomputeScrollTopFlag=false;this._updateScrollTopForScrollToRow(this.props)}else(0,_updateScrollIndexHelper2.default)({cellSizeAndPositionManager:instanceProps.rowSizeAndPositionManager,previousCellsCount:prevProps.rowCount,previousCellSize:prevProps.rowHeight,previousScrollToAlignment:prevProps.scrollToAlignment,previousScrollToIndex:prevProps.scrollToRow,previousSize:prevProps.height,scrollOffset:scrollTop,scrollToAlignment:scrollToAlignment,scrollToIndex:scrollToRow,size:height,sizeJustIncreasedFromZero:sizeJustIncreasedFromZero,updateScrollIndexCallback:function updateScrollIndexCallback(){return _this2._updateScrollTopForScrollToRow(_this2.props)}});this._invokeOnGridRenderedHelper();if(scrollLeft!==prevState.scrollLeft||scrollTop!==prevState.scrollTop){var totalRowsHeight=instanceProps.rowSizeAndPositionManager.getTotalSize();var totalColumnsWidth=instanceProps.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:scrollLeft,scrollTop:scrollTop,totalColumnsWidth:totalColumnsWidth,totalRowsHeight:totalRowsHeight})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this._disablePointerEventsTimeoutId&&(0,_requestAnimationTimeout.cancelAnimationTimeout)(this._disablePointerEventsTimeoutId)}},{key:"render",value:function render(){var _props6=this.props,autoContainerWidth=_props6.autoContainerWidth,autoHeight=_props6.autoHeight,autoWidth=_props6.autoWidth,className=_props6.className,containerProps=_props6.containerProps,containerRole=_props6.containerRole,containerStyle=_props6.containerStyle,height=_props6.height,id=_props6.id,noContentRenderer=_props6.noContentRenderer,role=_props6.role,style=_props6.style,tabIndex=_props6.tabIndex,width=_props6.width;var _state2=this.state,instanceProps=_state2.instanceProps,needToResetStyleCache=_state2.needToResetStyleCache;var isScrolling=this._isScrolling();var gridStyle={boxSizing:"border-box",direction:"ltr",height:autoHeight?"auto":height,position:"relative",width:autoWidth?"auto":width,WebkitOverflowScrolling:"touch",willChange:"transform"};needToResetStyleCache&&(this._styleCache={});this.state.isScrolling||this._resetStyleCache();this._calculateChildrenToRender(this.props,this.state);var totalColumnsWidth=instanceProps.columnSizeAndPositionManager.getTotalSize();var totalRowsHeight=instanceProps.rowSizeAndPositionManager.getTotalSize();var verticalScrollBarSize=totalRowsHeight>height?instanceProps.scrollbarSize:0;var horizontalScrollBarSize=totalColumnsWidth>width?instanceProps.scrollbarSize:0;if(horizontalScrollBarSize!==this._horizontalScrollBarSize||verticalScrollBarSize!==this._verticalScrollBarSize){this._horizontalScrollBarSize=horizontalScrollBarSize;this._verticalScrollBarSize=verticalScrollBarSize;this._scrollbarPresenceChanged=true}gridStyle.overflowX=totalColumnsWidth+verticalScrollBarSize<=width?"hidden":"auto";gridStyle.overflowY=totalRowsHeight+horizontalScrollBarSize<=height?"hidden":"auto";var childrenToDisplay=this._childrenToDisplay;var showNoContentRenderer=0===childrenToDisplay.length&&height>0&&width>0;return React.createElement("div",(0,_extends3.default)({ref:this._setScrollingContainerRef},containerProps,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:(0,_classnames2.default)("ReactVirtualized__Grid",className),id:id,onScroll:this._onScroll,role:role,style:(0,_extends3.default)({},gridStyle,style),tabIndex:tabIndex}),childrenToDisplay.length>0&&React.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:containerRole,style:(0,_extends3.default)({width:autoContainerWidth?"auto":totalColumnsWidth,height:totalRowsHeight,maxWidth:totalColumnsWidth,maxHeight:totalRowsHeight,overflow:"hidden",pointerEvents:isScrolling?"none":"",position:"relative"},containerStyle)},childrenToDisplay),showNoContentRenderer&&noContentRenderer())}},{key:"_calculateChildrenToRender",value:function _calculateChildrenToRender(){var props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;var state=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;var cellRenderer=props.cellRenderer,cellRangeRenderer=props.cellRangeRenderer,columnCount=props.columnCount,deferredMeasurementCache=props.deferredMeasurementCache,height=props.height,overscanColumnCount=props.overscanColumnCount,overscanIndicesGetter=props.overscanIndicesGetter,overscanRowCount=props.overscanRowCount,rowCount=props.rowCount,width=props.width,isScrollingOptOut=props.isScrollingOptOut;var scrollDirectionHorizontal=state.scrollDirectionHorizontal,scrollDirectionVertical=state.scrollDirectionVertical,instanceProps=state.instanceProps;var scrollTop=this._initialScrollTop>0?this._initialScrollTop:state.scrollTop;var scrollLeft=this._initialScrollLeft>0?this._initialScrollLeft:state.scrollLeft;var isScrolling=this._isScrolling(props,state);this._childrenToDisplay=[];if(height>0&&width>0){var visibleColumnIndices=instanceProps.columnSizeAndPositionManager.getVisibleCellRange({containerSize:width,offset:scrollLeft});var visibleRowIndices=instanceProps.rowSizeAndPositionManager.getVisibleCellRange({containerSize:height,offset:scrollTop});var horizontalOffsetAdjustment=instanceProps.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:width,offset:scrollLeft});var verticalOffsetAdjustment=instanceProps.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:height,offset:scrollTop});this._renderedColumnStartIndex=visibleColumnIndices.start;this._renderedColumnStopIndex=visibleColumnIndices.stop;this._renderedRowStartIndex=visibleRowIndices.start;this._renderedRowStopIndex=visibleRowIndices.stop;var overscanColumnIndices=overscanIndicesGetter({direction:"horizontal",cellCount:columnCount,overscanCellsCount:overscanColumnCount,scrollDirection:scrollDirectionHorizontal,startIndex:"number"===typeof visibleColumnIndices.start?visibleColumnIndices.start:0,stopIndex:"number"===typeof visibleColumnIndices.stop?visibleColumnIndices.stop:-1});var overscanRowIndices=overscanIndicesGetter({direction:"vertical",cellCount:rowCount,overscanCellsCount:overscanRowCount,scrollDirection:scrollDirectionVertical,startIndex:"number"===typeof visibleRowIndices.start?visibleRowIndices.start:0,stopIndex:"number"===typeof visibleRowIndices.stop?visibleRowIndices.stop:-1});var columnStartIndex=overscanColumnIndices.overscanStartIndex;var columnStopIndex=overscanColumnIndices.overscanStopIndex;var rowStartIndex=overscanRowIndices.overscanStartIndex;var rowStopIndex=overscanRowIndices.overscanStopIndex;if(deferredMeasurementCache){if(!deferredMeasurementCache.hasFixedHeight())for(var rowIndex=rowStartIndex;rowIndex<=rowStopIndex;rowIndex++)if(!deferredMeasurementCache.has(rowIndex,0)){columnStartIndex=0;columnStopIndex=columnCount-1;break}if(!deferredMeasurementCache.hasFixedWidth())for(var columnIndex=columnStartIndex;columnIndex<=columnStopIndex;columnIndex++)if(!deferredMeasurementCache.has(0,columnIndex)){rowStartIndex=0;rowStopIndex=rowCount-1;break}}this._childrenToDisplay=cellRangeRenderer({cellCache:this._cellCache,cellRenderer:cellRenderer,columnSizeAndPositionManager:instanceProps.columnSizeAndPositionManager,columnStartIndex:columnStartIndex,columnStopIndex:columnStopIndex,deferredMeasurementCache:deferredMeasurementCache,horizontalOffsetAdjustment:horizontalOffsetAdjustment,isScrolling:isScrolling,isScrollingOptOut:isScrollingOptOut,parent:this,rowSizeAndPositionManager:instanceProps.rowSizeAndPositionManager,rowStartIndex:rowStartIndex,rowStopIndex:rowStopIndex,scrollLeft:scrollLeft,scrollTop:scrollTop,styleCache:this._styleCache,verticalOffsetAdjustment:verticalOffsetAdjustment,visibleColumnIndices:visibleColumnIndices,visibleRowIndices:visibleRowIndices});this._columnStartIndex=columnStartIndex;this._columnStopIndex=columnStopIndex;this._rowStartIndex=rowStartIndex;this._rowStopIndex=rowStopIndex}}},{key:"_debounceScrollEnded",value:function _debounceScrollEnded(){var scrollingResetTimeInterval=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&(0,_requestAnimationTimeout.cancelAnimationTimeout)(this._disablePointerEventsTimeoutId);this._disablePointerEventsTimeoutId=(0,_requestAnimationTimeout.requestAnimationTimeout)(this._debounceScrollEndedCallback,scrollingResetTimeInterval)}},{key:"_handleInvalidatedGridSize",value:function _handleInvalidatedGridSize(){if("number"===typeof this._deferredInvalidateColumnIndex&&"number"===typeof this._deferredInvalidateRowIndex){var columnIndex=this._deferredInvalidateColumnIndex;var rowIndex=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null;this._deferredInvalidateRowIndex=null;this.recomputeGridSize({columnIndex:columnIndex,rowIndex:rowIndex})}}},{key:"_invokeOnScrollMemoizer",value:function _invokeOnScrollMemoizer(_ref6){var _this3=this;var scrollLeft=_ref6.scrollLeft,scrollTop=_ref6.scrollTop,totalColumnsWidth=_ref6.totalColumnsWidth,totalRowsHeight=_ref6.totalRowsHeight;this._onScrollMemoizer({callback:function callback(_ref7){var scrollLeft=_ref7.scrollLeft,scrollTop=_ref7.scrollTop;var _props7=_this3.props,height=_props7.height,onScroll=_props7.onScroll,width=_props7.width;onScroll({clientHeight:height,clientWidth:width,scrollHeight:totalRowsHeight,scrollLeft:scrollLeft,scrollTop:scrollTop,scrollWidth:totalColumnsWidth})},indices:{scrollLeft:scrollLeft,scrollTop:scrollTop}})}},{key:"_isScrolling",value:function _isScrolling(){var props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;var state=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(props,"isScrolling")?Boolean(props.isScrolling):Boolean(state.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function _maybeCallOnScrollbarPresenceChange(){if(this._scrollbarPresenceChanged){var _onScrollbarPresenceChange=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=false;_onScrollbarPresenceChange({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function scrollToPosition(_ref8){var scrollLeft=_ref8.scrollLeft,scrollTop=_ref8.scrollTop;var stateUpdate=Grid._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:scrollLeft,scrollTop:scrollTop});if(stateUpdate){stateUpdate.needToResetStyleCache=false;this.setState(stateUpdate)}}},{key:"_getCalculatedScrollLeft",value:function _getCalculatedScrollLeft(){var props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;var state=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Grid._getCalculatedScrollLeft(props,state)}},{key:"_updateScrollLeftForScrollToColumn",value:function _updateScrollLeftForScrollToColumn(){var props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;var state=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;var stateUpdate=Grid._getScrollLeftForScrollToColumnStateUpdate(props,state);if(stateUpdate){stateUpdate.needToResetStyleCache=false;this.setState(stateUpdate)}}},{key:"_getCalculatedScrollTop",value:function _getCalculatedScrollTop(){var props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;var state=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Grid._getCalculatedScrollTop(props,state)}},{key:"_resetStyleCache",value:function _resetStyleCache(){var styleCache=this._styleCache;var cellCache=this._cellCache;var isScrollingOptOut=this.props.isScrollingOptOut;this._cellCache={};this._styleCache={};for(var rowIndex=this._rowStartIndex;rowIndex<=this._rowStopIndex;rowIndex++)for(var columnIndex=this._columnStartIndex;columnIndex<=this._columnStopIndex;columnIndex++){var key=rowIndex+"-"+columnIndex;this._styleCache[key]=styleCache[key];isScrollingOptOut&&(this._cellCache[key]=cellCache[key])}}},{key:"_updateScrollTopForScrollToRow",value:function _updateScrollTopForScrollToRow(){var props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;var state=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;var stateUpdate=Grid._getScrollTopForScrollToRowStateUpdate(props,state);if(stateUpdate){stateUpdate.needToResetStyleCache=false;this.setState(stateUpdate)}}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,prevState){var newState={};if(0===nextProps.columnCount&&0!==prevState.scrollLeft||0===nextProps.rowCount&&0!==prevState.scrollTop){newState.scrollLeft=0;newState.scrollTop=0}else(nextProps.scrollLeft!==prevState.scrollLeft&&nextProps.scrollToColumn<0||nextProps.scrollTop!==prevState.scrollTop&&nextProps.scrollToRow<0)&&(0,_assign2.default)(newState,Grid._getScrollToPositionStateUpdate({prevState:prevState,scrollLeft:nextProps.scrollLeft,scrollTop:nextProps.scrollTop}));var instanceProps=prevState.instanceProps;newState.needToResetStyleCache=false;nextProps.columnWidth===instanceProps.prevColumnWidth&&nextProps.rowHeight===instanceProps.prevRowHeight||(newState.needToResetStyleCache=true);instanceProps.columnSizeAndPositionManager.configure({cellCount:nextProps.columnCount,estimatedCellSize:Grid._getEstimatedColumnSize(nextProps),cellSizeGetter:Grid._wrapSizeGetter(nextProps.columnWidth)});instanceProps.rowSizeAndPositionManager.configure({cellCount:nextProps.rowCount,estimatedCellSize:Grid._getEstimatedRowSize(nextProps),cellSizeGetter:Grid._wrapSizeGetter(nextProps.rowHeight)});if(0===instanceProps.prevColumnCount||0===instanceProps.prevRowCount){instanceProps.prevColumnCount=0;instanceProps.prevRowCount=0}nextProps.autoHeight&&false===nextProps.isScrolling&&true===instanceProps.prevIsScrolling&&(0,_assign2.default)(newState,{isScrolling:false});var maybeStateA=void 0;var maybeStateB=void 0;(0,_calculateSizeAndPositionDataAndUpdateScrollOffset2.default)({cellCount:instanceProps.prevColumnCount,cellSize:"number"===typeof instanceProps.prevColumnWidth?instanceProps.prevColumnWidth:null,computeMetadataCallback:function computeMetadataCallback(){return instanceProps.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:nextProps,nextCellsCount:nextProps.columnCount,nextCellSize:"number"===typeof nextProps.columnWidth?nextProps.columnWidth:null,nextScrollToIndex:nextProps.scrollToColumn,scrollToIndex:instanceProps.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function updateScrollOffsetForScrollToIndex(){maybeStateA=Grid._getScrollLeftForScrollToColumnStateUpdate(nextProps,prevState)}});(0,_calculateSizeAndPositionDataAndUpdateScrollOffset2.default)({cellCount:instanceProps.prevRowCount,cellSize:"number"===typeof instanceProps.prevRowHeight?instanceProps.prevRowHeight:null,computeMetadataCallback:function computeMetadataCallback(){return instanceProps.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:nextProps,nextCellsCount:nextProps.rowCount,nextCellSize:"number"===typeof nextProps.rowHeight?nextProps.rowHeight:null,nextScrollToIndex:nextProps.scrollToRow,scrollToIndex:instanceProps.prevScrollToRow,updateScrollOffsetForScrollToIndex:function updateScrollOffsetForScrollToIndex(){maybeStateB=Grid._getScrollTopForScrollToRowStateUpdate(nextProps,prevState)}});instanceProps.prevColumnCount=nextProps.columnCount;instanceProps.prevColumnWidth=nextProps.columnWidth;instanceProps.prevIsScrolling=true===nextProps.isScrolling;instanceProps.prevRowCount=nextProps.rowCount;instanceProps.prevRowHeight=nextProps.rowHeight;instanceProps.prevScrollToColumn=nextProps.scrollToColumn;instanceProps.prevScrollToRow=nextProps.scrollToRow;instanceProps.scrollbarSize=nextProps.getScrollbarSize();if(void 0===instanceProps.scrollbarSize){instanceProps.scrollbarSizeMeasured=false;instanceProps.scrollbarSize=0}else instanceProps.scrollbarSizeMeasured=true;newState.instanceProps=instanceProps;return(0,_extends3.default)({},newState,maybeStateA,maybeStateB)}},{key:"_getEstimatedColumnSize",value:function _getEstimatedColumnSize(props){return"number"===typeof props.columnWidth?props.columnWidth:props.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function _getEstimatedRowSize(props){return"number"===typeof props.rowHeight?props.rowHeight:props.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function _getScrollToPositionStateUpdate(_ref9){var prevState=_ref9.prevState,scrollLeft=_ref9.scrollLeft,scrollTop=_ref9.scrollTop;var newState={scrollPositionChangeReason:SCROLL_POSITION_CHANGE_REASONS.REQUESTED};if("number"===typeof scrollLeft&&scrollLeft>=0){newState.scrollDirectionHorizontal=scrollLeft>prevState.scrollLeft?_defaultOverscanIndicesGetter.SCROLL_DIRECTION_FORWARD:_defaultOverscanIndicesGetter.SCROLL_DIRECTION_BACKWARD;newState.scrollLeft=scrollLeft}if("number"===typeof scrollTop&&scrollTop>=0){newState.scrollDirectionVertical=scrollTop>prevState.scrollTop?_defaultOverscanIndicesGetter.SCROLL_DIRECTION_FORWARD:_defaultOverscanIndicesGetter.SCROLL_DIRECTION_BACKWARD;newState.scrollTop=scrollTop}if("number"===typeof scrollLeft&&scrollLeft>=0&&scrollLeft!==prevState.scrollLeft||"number"===typeof scrollTop&&scrollTop>=0&&scrollTop!==prevState.scrollTop)return newState;return null}},{key:"_wrapSizeGetter",value:function _wrapSizeGetter(value){return"function"===typeof value?value:function(){return value}}},{key:"_getCalculatedScrollLeft",value:function _getCalculatedScrollLeft(nextProps,prevState){var columnCount=nextProps.columnCount,height=nextProps.height,scrollToAlignment=nextProps.scrollToAlignment,scrollToColumn=nextProps.scrollToColumn,width=nextProps.width;var scrollLeft=prevState.scrollLeft,instanceProps=prevState.instanceProps;if(columnCount>0){var finalColumn=columnCount-1;var targetIndex=scrollToColumn<0?finalColumn:Math.min(finalColumn,scrollToColumn);var totalRowsHeight=instanceProps.rowSizeAndPositionManager.getTotalSize();var scrollBarSize=instanceProps.scrollbarSizeMeasured&&totalRowsHeight>height?instanceProps.scrollbarSize:0;return instanceProps.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:scrollToAlignment,containerSize:width-scrollBarSize,currentOffset:scrollLeft,targetIndex:targetIndex})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function _getScrollLeftForScrollToColumnStateUpdate(nextProps,prevState){var scrollLeft=prevState.scrollLeft;var calculatedScrollLeft=Grid._getCalculatedScrollLeft(nextProps,prevState);if("number"===typeof calculatedScrollLeft&&calculatedScrollLeft>=0&&scrollLeft!==calculatedScrollLeft)return Grid._getScrollToPositionStateUpdate({prevState:prevState,scrollLeft:calculatedScrollLeft,scrollTop:-1});return null}},{key:"_getCalculatedScrollTop",value:function _getCalculatedScrollTop(nextProps,prevState){var height=nextProps.height,rowCount=nextProps.rowCount,scrollToAlignment=nextProps.scrollToAlignment,scrollToRow=nextProps.scrollToRow,width=nextProps.width;var scrollTop=prevState.scrollTop,instanceProps=prevState.instanceProps;if(rowCount>0){var finalRow=rowCount-1;var targetIndex=scrollToRow<0?finalRow:Math.min(finalRow,scrollToRow);var totalColumnsWidth=instanceProps.columnSizeAndPositionManager.getTotalSize();var scrollBarSize=instanceProps.scrollbarSizeMeasured&&totalColumnsWidth>width?instanceProps.scrollbarSize:0;return instanceProps.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:scrollToAlignment,containerSize:height-scrollBarSize,currentOffset:scrollTop,targetIndex:targetIndex})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function _getScrollTopForScrollToRowStateUpdate(nextProps,prevState){var scrollTop=prevState.scrollTop;var calculatedScrollTop=Grid._getCalculatedScrollTop(nextProps,prevState);if("number"===typeof calculatedScrollTop&&calculatedScrollTop>=0&&scrollTop!==calculatedScrollTop)return Grid._getScrollToPositionStateUpdate({prevState:prevState,scrollLeft:-1,scrollTop:calculatedScrollTop});return null}}]);return Grid}(React.PureComponent);Grid.defaultProps={"aria-label":"grid","aria-readonly":true,autoContainerWidth:false,autoHeight:false,autoWidth:false,cellRangeRenderer:_defaultCellRangeRenderer2.default,containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:_scrollbarSize2.default,noContentRenderer:renderNull,onScroll:function onScroll(){},onScrollbarPresenceChange:function onScrollbarPresenceChange(){},onSectionRendered:function onSectionRendered(){},overscanColumnCount:0,overscanIndicesGetter:_defaultOverscanIndicesGetter2.default,overscanRowCount:10,role:"grid",scrollingResetTimeInterval:DEFAULT_SCROLLING_RESET_TIME_INTERVAL,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:false};Grid.propTypes=null;(0,_reactLifecyclesCompat.polyfill)(Grid);exports.default=Grid},function(module,exports,__webpack_require__){__webpack_require__(1635);module.exports=__webpack_require__(46).Object.assign},function(module,exports,__webpack_require__){var $export=__webpack_require__(104);$export($export.S+$export.F,"Object",{assign:__webpack_require__(1636)})},function(module,exports,__webpack_require__){"use strict";var getKeys=__webpack_require__(239);var gOPS=__webpack_require__(426);var pIE=__webpack_require__(312);var toObject=__webpack_require__(304);var IObject=__webpack_require__(671);var $assign=Object.assign;module.exports=!$assign||__webpack_require__(188)(function(){var A={};var B={};var S=Symbol();var K="abcdefghijklmnopqrst";A[S]=7;K.split("").forEach(function(k){B[k]=k});return 7!=$assign({},A)[S]||Object.keys($assign({},B)).join("")!=K})?function assign(target,source){var T=toObject(target);var aLen=arguments.length;var index=1;var getSymbols=gOPS.f;var isEnum=pIE.f;while(aLen>index){var S=IObject(arguments[index++]);var keys=getSymbols?getKeys(S).concat(getSymbols(S)):getKeys(S);var length=keys.length;var j=0;var key;while(length>j)isEnum.call(S,key=keys[j++])&&(T[key]=S[key])}return T}:$assign},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=calculateSizeAndPositionDataAndUpdateScrollOffset;function calculateSizeAndPositionDataAndUpdateScrollOffset(_ref){var cellCount=_ref.cellCount,cellSize=_ref.cellSize,computeMetadataCallback=_ref.computeMetadataCallback,computeMetadataCallbackProps=_ref.computeMetadataCallbackProps,nextCellsCount=_ref.nextCellsCount,nextCellSize=_ref.nextCellSize,nextScrollToIndex=_ref.nextScrollToIndex,scrollToIndex=_ref.scrollToIndex,updateScrollOffsetForScrollToIndex=_ref.updateScrollOffsetForScrollToIndex;if(cellCount!==nextCellsCount||("number"===typeof cellSize||"number"===typeof nextCellSize)&&cellSize!==nextCellSize){computeMetadataCallback(computeMetadataCallbackProps);scrollToIndex>=0&&scrollToIndex===nextScrollToIndex&&updateScrollOffsetForScrollToIndex()}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);__webpack_require__(132);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var CellSizeAndPositionManager=function(){function CellSizeAndPositionManager(_ref){var cellCount=_ref.cellCount,cellSizeGetter=_ref.cellSizeGetter,estimatedCellSize=_ref.estimatedCellSize;(0,_classCallCheck3.default)(this,CellSizeAndPositionManager);this._cellSizeAndPositionData={};this._lastMeasuredIndex=-1;this._lastBatchedIndex=-1;this._cellSizeGetter=cellSizeGetter;this._cellCount=cellCount;this._estimatedCellSize=estimatedCellSize}(0,_createClass3.default)(CellSizeAndPositionManager,[{key:"areOffsetsAdjusted",value:function areOffsetsAdjusted(){return false}},{key:"configure",value:function configure(_ref2){var cellCount=_ref2.cellCount,estimatedCellSize=_ref2.estimatedCellSize,cellSizeGetter=_ref2.cellSizeGetter;this._cellCount=cellCount;this._estimatedCellSize=estimatedCellSize;this._cellSizeGetter=cellSizeGetter}},{key:"getCellCount",value:function getCellCount(){return this._cellCount}},{key:"getEstimatedCellSize",value:function getEstimatedCellSize(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function getLastMeasuredIndex(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function getOffsetAdjustment(){return 0}},{key:"getSizeAndPositionOfCell",value:function getSizeAndPositionOfCell(index){if(index<0||index>=this._cellCount)throw Error("Requested index "+index+" is outside of range 0.."+this._cellCount);if(index>this._lastMeasuredIndex){var lastMeasuredCellSizeAndPosition=this.getSizeAndPositionOfLastMeasuredCell();var _offset=lastMeasuredCellSizeAndPosition.offset+lastMeasuredCellSizeAndPosition.size;for(var i=this._lastMeasuredIndex+1;i<=index;i++){var _size=this._cellSizeGetter({index:i});if(void 0===_size||isNaN(_size))throw Error("Invalid size returned for cell "+i+" of value "+_size);if(null===_size){this._cellSizeAndPositionData[i]={offset:_offset,size:0};this._lastBatchedIndex=index}else{this._cellSizeAndPositionData[i]={offset:_offset,size:_size};_offset+=_size;this._lastMeasuredIndex=index}}}return this._cellSizeAndPositionData[index]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function getSizeAndPositionOfLastMeasuredCell(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function getTotalSize(){var lastMeasuredCellSizeAndPosition=this.getSizeAndPositionOfLastMeasuredCell();var totalSizeOfMeasuredCells=lastMeasuredCellSizeAndPosition.offset+lastMeasuredCellSizeAndPosition.size;var numUnmeasuredCells=this._cellCount-this._lastMeasuredIndex-1;var totalSizeOfUnmeasuredCells=numUnmeasuredCells*this._estimatedCellSize;return totalSizeOfMeasuredCells+totalSizeOfUnmeasuredCells}},{key:"getUpdatedOffsetForIndex",value:function getUpdatedOffsetForIndex(_ref3){var _ref3$align=_ref3.align,align=void 0===_ref3$align?"auto":_ref3$align,containerSize=_ref3.containerSize,currentOffset=_ref3.currentOffset,targetIndex=_ref3.targetIndex;if(containerSize<=0)return 0;var datum=this.getSizeAndPositionOfCell(targetIndex);var maxOffset=datum.offset;var minOffset=maxOffset-containerSize+datum.size;var idealOffset=void 0;switch(align){case"start":idealOffset=maxOffset;break;case"end":idealOffset=minOffset;break;case"center":idealOffset=maxOffset-(containerSize-datum.size)/2;break;default:idealOffset=Math.max(minOffset,Math.min(maxOffset,currentOffset))}var totalSize=this.getTotalSize();return Math.max(0,Math.min(totalSize-containerSize,idealOffset))}},{key:"getVisibleCellRange",value:function getVisibleCellRange(params){var containerSize=params.containerSize,offset=params.offset;var totalSize=this.getTotalSize();if(0===totalSize)return{};var maxOffset=offset+containerSize;var start=this._findNearestCell(offset);var datum=this.getSizeAndPositionOfCell(start);offset=datum.offset+datum.size;var stop=start;while(offset<maxOffset&&stop<this._cellCount-1){stop++;offset+=this.getSizeAndPositionOfCell(stop).size}return{start:start,stop:stop}}},{key:"resetCell",value:function resetCell(index){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,index-1)}},{key:"_binarySearch",value:function _binarySearch(high,low,offset){while(low<=high){var middle=low+Math.floor((high-low)/2);var _currentOffset=this.getSizeAndPositionOfCell(middle).offset;if(_currentOffset===offset)return middle;_currentOffset<offset?low=middle+1:_currentOffset>offset&&(high=middle-1)}return low>0?low-1:0}},{key:"_exponentialSearch",value:function _exponentialSearch(index,offset){var interval=1;while(index<this._cellCount&&this.getSizeAndPositionOfCell(index).offset<offset){index+=interval;interval*=2}return this._binarySearch(Math.min(index,this._cellCount-1),Math.floor(index/2),offset)}},{key:"_findNearestCell",value:function _findNearestCell(offset){if(isNaN(offset))throw Error("Invalid offset "+offset+" specified");offset=Math.max(0,offset);var lastMeasuredCellSizeAndPosition=this.getSizeAndPositionOfLastMeasuredCell();var lastMeasuredIndex=Math.max(0,this._lastMeasuredIndex);return lastMeasuredCellSizeAndPosition.offset>=offset?this._binarySearch(lastMeasuredIndex,0,offset):this._exponentialSearch(lastMeasuredIndex,offset)}}]);return CellSizeAndPositionManager}();exports.default=CellSizeAndPositionManager},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);var ReactPropTypesSecret=__webpack_require__(1640);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var DEFAULT_MAX_ELEMENT_SIZE=15e5;var CHROME_MAX_ELEMENT_SIZE=16777100;var isBrowser=function isBrowser(){return"undefined"!==typeof window};var isChrome=function isChrome(){return!!window.chrome&&!!window.chrome.webstore};exports.getMaxElementSize=function getMaxElementSize(){if(isBrowser()&&isChrome())return CHROME_MAX_ELEMENT_SIZE;return DEFAULT_MAX_ELEMENT_SIZE}},function(module,exports,__webpack_require__){__webpack_require__(1643);module.exports=__webpack_require__(46).Object.keys},function(module,exports,__webpack_require__){var toObject=__webpack_require__(304);var $keys=__webpack_require__(239);__webpack_require__(418)("keys",function(){return function keys(it){return $keys(toObject(it))}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=updateScrollIndexHelper;var _ScalingCellSizeAndPositionManager=__webpack_require__(428);_interopRequireDefault(_ScalingCellSizeAndPositionManager);__webpack_require__(132);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function updateScrollIndexHelper(_ref){var cellSize=_ref.cellSize,cellSizeAndPositionManager=_ref.cellSizeAndPositionManager,previousCellsCount=_ref.previousCellsCount,previousCellSize=_ref.previousCellSize,previousScrollToAlignment=_ref.previousScrollToAlignment,previousScrollToIndex=_ref.previousScrollToIndex,previousSize=_ref.previousSize,scrollOffset=_ref.scrollOffset,scrollToAlignment=_ref.scrollToAlignment,scrollToIndex=_ref.scrollToIndex,size=_ref.size,sizeJustIncreasedFromZero=_ref.sizeJustIncreasedFromZero,updateScrollIndexCallback=_ref.updateScrollIndexCallback;var cellCount=cellSizeAndPositionManager.getCellCount();var hasScrollToIndex=scrollToIndex>=0&&scrollToIndex<cellCount;var sizeHasChanged=size!==previousSize||sizeJustIncreasedFromZero||!previousCellSize||"number"===typeof cellSize&&cellSize!==previousCellSize;hasScrollToIndex&&(sizeHasChanged||scrollToAlignment!==previousScrollToAlignment||scrollToIndex!==previousScrollToIndex)?updateScrollIndexCallback(scrollToIndex):!hasScrollToIndex&&cellCount>0&&(size<previousSize||cellCount<previousCellsCount)&&scrollOffset>cellSizeAndPositionManager.getTotalSize()-size&&updateScrollIndexCallback(cellCount-1)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=!!("undefined"!==typeof window&&window.document&&window.document.createElement);module.exports=exports["default"]},function(module,exports,__webpack_require__){__webpack_require__(675);__webpack_require__(308);__webpack_require__(311);__webpack_require__(1647);__webpack_require__(1657);__webpack_require__(1658);module.exports=__webpack_require__(46).Promise},function(module,exports,__webpack_require__){"use strict";var LIBRARY=__webpack_require__(309);var global=__webpack_require__(75);var ctx=__webpack_require__(237);var classof=__webpack_require__(432);var $export=__webpack_require__(104);var isObject=__webpack_require__(130);var aFunction=__webpack_require__(306);var anInstance=__webpack_require__(1648);var forOf=__webpack_require__(1649);var speciesConstructor=__webpack_require__(683);var task=__webpack_require__(684).set;var microtask=__webpack_require__(1653)();var newPromiseCapabilityModule=__webpack_require__(433);var perform=__webpack_require__(685);var promiseResolve=__webpack_require__(686);var PROMISE="Promise";var TypeError=global.TypeError;var process=global.process;var $Promise=global[PROMISE];var isNode="process"==classof(process);var empty=function(){};var Internal,newGenericPromiseCapability,OwnPromiseCapability,Wrapper;var newPromiseCapability=newGenericPromiseCapability=newPromiseCapabilityModule.f;var USE_NATIVE=!!function(){try{var promise=$Promise.resolve(1);var FakePromise=(promise.constructor={})[__webpack_require__(65)("species")]=function(exec){exec(empty,empty)};return(isNode||"function"==typeof PromiseRejectionEvent)&&promise.then(empty)instanceof FakePromise}catch(e){}}();var isThenable=function(it){var then;return!(!isObject(it)||"function"!=typeof(then=it.then))&&then};var notify=function(promise,isReject){if(promise._n)return;promise._n=true;var chain=promise._c;microtask(function(){var value=promise._v;var ok=1==promise._s;var i=0;var run=function(reaction){var handler=ok?reaction.ok:reaction.fail;var resolve=reaction.resolve;var reject=reaction.reject;var domain=reaction.domain;var result,then;try{if(handler){if(!ok){2==promise._h&&onHandleUnhandled(promise);promise._h=1}if(true===handler)result=value;else{domain&&domain.enter();result=handler(value);domain&&domain.exit()}result===reaction.promise?reject(TypeError("Promise-chain cycle")):(then=isThenable(result))?then.call(result,resolve,reject):resolve(result)}else reject(value)}catch(e){reject(e)}};while(chain.length>i)run(chain[i++]);promise._c=[];promise._n=false;isReject&&!promise._h&&onUnhandled(promise)})};var onUnhandled=function(promise){task.call(global,function(){var value=promise._v;var unhandled=isUnhandled(promise);var result,handler,console;if(unhandled){result=perform(function(){isNode?process.emit("unhandledRejection",value,promise):(handler=global.onunhandledrejection)?handler({promise:promise,reason:value}):(console=global.console)&&console.error&&console.error("Unhandled promise rejection",value)});promise._h=isNode||isUnhandled(promise)?2:1}promise._a=void 0;if(unhandled&&result.e)throw result.v})};var isUnhandled=function(promise){return 1!==promise._h&&0===(promise._a||promise._c).length};var onHandleUnhandled=function(promise){task.call(global,function(){var handler;isNode?process.emit("rejectionHandled",promise):(handler=global.onrejectionhandled)&&handler({promise:promise,reason:promise._v})})};var $reject=function(value){var promise=this;if(promise._d)return;promise._d=true;promise=promise._w||promise;promise._v=value;promise._s=2;promise._a||(promise._a=promise._c.slice());notify(promise,true)};var $resolve=function(value){var promise=this;var then;if(promise._d)return;promise._d=true;promise=promise._w||promise;try{if(promise===value)throw TypeError("Promise can't be resolved itself");if(then=isThenable(value))microtask(function(){var wrapper={_w:promise,_d:false};try{then.call(value,ctx($resolve,wrapper,1),ctx($reject,wrapper,1))}catch(e){$reject.call(wrapper,e)}});else{promise._v=value;promise._s=1;notify(promise,false)}}catch(e){$reject.call({_w:promise,_d:false},e)}};if(!USE_NATIVE){$Promise=function Promise(executor){anInstance(this,$Promise,PROMISE,"_h");aFunction(executor);Internal.call(this);try{executor(ctx($resolve,this,1),ctx($reject,this,1))}catch(err){$reject.call(this,err)}};Internal=function Promise(executor){this._c=[];this._a=void 0;this._s=0;this._d=false;this._v=void 0;this._h=0;this._n=false};Internal.prototype=__webpack_require__(1654)($Promise.prototype,{then:function then(onFulfilled,onRejected){var reaction=newPromiseCapability(speciesConstructor(this,$Promise));reaction.ok="function"!=typeof onFulfilled||onFulfilled;reaction.fail="function"==typeof onRejected&&onRejected;reaction.domain=isNode?process.domain:void 0;this._c.push(reaction);this._a&&this._a.push(reaction);this._s&&notify(this,false);return reaction.promise},catch:function(onRejected){return this.then(void 0,onRejected)}});OwnPromiseCapability=function(){var promise=new Internal;this.promise=promise;this.resolve=ctx($resolve,promise,1);this.reject=ctx($reject,promise,1)};newPromiseCapabilityModule.f=newPromiseCapability=function(C){return C===$Promise||C===Wrapper?new OwnPromiseCapability(C):newGenericPromiseCapability(C)}}$export($export.G+$export.W+$export.F*!USE_NATIVE,{Promise:$Promise});__webpack_require__(310)($Promise,PROMISE);__webpack_require__(1655)(PROMISE);Wrapper=__webpack_require__(46)[PROMISE];$export($export.S+$export.F*!USE_NATIVE,PROMISE,{reject:function reject(r){var capability=newPromiseCapability(this);var $$reject=capability.reject;$$reject(r);return capability.promise}});$export($export.S+$export.F*(LIBRARY||!USE_NATIVE),PROMISE,{resolve:function resolve(x){return promiseResolve(LIBRARY&&this===Wrapper?$Promise:this,x)}});$export($export.S+$export.F*!(USE_NATIVE&&__webpack_require__(1656)(function(iter){$Promise.all(iter)["catch"](empty)})),PROMISE,{all:function all(iterable){var C=this;var capability=newPromiseCapability(C);var resolve=capability.resolve;var reject=capability.reject;var result=perform(function(){var values=[];var index=0;var remaining=1;forOf(iterable,false,function(promise){var $index=index++;var alreadyCalled=false;values.push(void 0);remaining++;C.resolve(promise).then(function(value){if(alreadyCalled)return;alreadyCalled=true;values[$index]=value;--remaining||resolve(values)},reject)});--remaining||resolve(values)});result.e&&reject(result.v);return capability.promise},race:function race(iterable){var C=this;var capability=newPromiseCapability(C);var reject=capability.reject;var result=perform(function(){forOf(iterable,false,function(promise){C.resolve(promise).then(capability.resolve,reject)})});result.e&&reject(result.v);return capability.promise}})},function(module,exports){module.exports=function(it,Constructor,name,forbiddenField){if(!(it instanceof Constructor)||void 0!==forbiddenField&&forbiddenField in it)throw TypeError(name+": incorrect invocation!");return it}},function(module,exports,__webpack_require__){var ctx=__webpack_require__(237);var call=__webpack_require__(1650);var isArrayIter=__webpack_require__(1651);var anObject=__webpack_require__(105);var toLength=__webpack_require__(672);var getIterFn=__webpack_require__(682);var BREAK={};var RETURN={};exports=module.exports=function(iterable,entries,fn,that,ITERATOR){var iterFn=ITERATOR?function(){return iterable}:getIterFn(iterable);var f=ctx(fn,that,entries?2:1);var index=0;var length,step,iterator,result;if("function"!=typeof iterFn)throw TypeError(iterable+" is not iterable!");if(isArrayIter(iterFn))for(length=toLength(iterable.length);length>index;index++){result=entries?f(anObject(step=iterable[index])[0],step[1]):f(iterable[index]);if(result===BREAK||result===RETURN)return result}else for(iterator=iterFn.call(iterable);!(step=iterator.next()).done;){result=call(iterator,f,step.value,entries);if(result===BREAK||result===RETURN)return result}};exports.BREAK=BREAK;exports.RETURN=RETURN},function(module,exports,__webpack_require__){var anObject=__webpack_require__(105);module.exports=function(iterator,fn,value,entries){try{return entries?fn(anObject(value)[0],value[1]):fn(value)}catch(e){var ret=iterator["return"];void 0!==ret&&anObject(ret.call(iterator));throw e}}},function(module,exports,__webpack_require__){var Iterators=__webpack_require__(189);var ITERATOR=__webpack_require__(65)("iterator");var ArrayProto=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayProto[ITERATOR]===it)}},function(module,exports){module.exports=function(fn,args,that){var un=void 0===that;switch(args.length){case 0:return un?fn():fn.call(that);case 1:return un?fn(args[0]):fn.call(that,args[0]);case 2:return un?fn(args[0],args[1]):fn.call(that,args[0],args[1]);case 3:return un?fn(args[0],args[1],args[2]):fn.call(that,args[0],args[1],args[2]);case 4:return un?fn(args[0],args[1],args[2],args[3]):fn.call(that,args[0],args[1],args[2],args[3])}return fn.apply(that,args)}},function(module,exports,__webpack_require__){var global=__webpack_require__(75);var macrotask=__webpack_require__(684).set;var Observer=global.MutationObserver||global.WebKitMutationObserver;var process=global.process;var Promise=global.Promise;var isNode="process"==__webpack_require__(240)(process);module.exports=function(){var head,last,notify;var flush=function(){var parent,fn;isNode&&(parent=process.domain)&&parent.exit();while(head){fn=head.fn;head=head.next;try{fn()}catch(e){head?notify():last=void 0;throw e}}last=void 0;parent&&parent.enter()};if(isNode)notify=function(){process.nextTick(flush)};else if(!Observer||global.navigator&&global.navigator.standalone)if(Promise&&Promise.resolve){var promise=Promise.resolve();notify=function(){promise.then(flush)}}else notify=function(){macrotask.call(global,flush)};else{var toggle=true;var node=document.createTextNode("");new Observer(flush).observe(node,{characterData:true});notify=function(){node.data=toggle=!toggle}}return function(fn){var task={fn:fn,next:void 0};last&&(last.next=task);if(!head){head=task;notify()}last=task}}},function(module,exports,__webpack_require__){var hide=__webpack_require__(159);module.exports=function(target,src,safe){for(var key in src)safe&&target[key]?target[key]=src[key]:hide(target,key,src[key]);return target}},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(75);var core=__webpack_require__(46);var dP=__webpack_require__(129);var DESCRIPTORS=__webpack_require__(131);var SPECIES=__webpack_require__(65)("species");module.exports=function(KEY){var C="function"==typeof core[KEY]?core[KEY]:global[KEY];DESCRIPTORS&&C&&!C[SPECIES]&&dP.f(C,SPECIES,{configurable:true,get:function(){return this}})}},function(module,exports,__webpack_require__){var ITERATOR=__webpack_require__(65)("iterator");var SAFE_CLOSING=false;try{var riter=[7][ITERATOR]();riter["return"]=function(){SAFE_CLOSING=true};Array.from(riter,function(){throw 2})}catch(e){}module.exports=function(exec,skipClosing){if(!skipClosing&&!SAFE_CLOSING)return false;var safe=false;try{var arr=[7];var iter=arr[ITERATOR]();iter.next=function(){return{done:safe=true}};arr[ITERATOR]=function(){return iter};exec(arr)}catch(e){}return safe}},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(104);var core=__webpack_require__(46);var global=__webpack_require__(75);var speciesConstructor=__webpack_require__(683);var promiseResolve=__webpack_require__(686);$export($export.P+$export.R,"Promise",{finally:function(onFinally){var C=speciesConstructor(this,core.Promise||global.Promise);var isFunction="function"==typeof onFinally;return this.then(isFunction?function(x){return promiseResolve(C,onFinally()).then(function(){return x})}:onFinally,isFunction?function(e){return promiseResolve(C,onFinally()).then(function(){throw e})}:onFinally)}})},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(104);var newPromiseCapability=__webpack_require__(433);var perform=__webpack_require__(685);$export($export.S,"Promise",{try:function(callbackfn){var promiseCapability=newPromiseCapability.f(this);var result=perform(callbackfn);(result.e?promiseCapability.reject:promiseCapability.resolve)(result.v);return promiseCapability.promise}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var win=void 0;win="undefined"!==typeof window?window:"undefined"!==typeof self?self:{};var request=win.requestAnimationFrame||win.webkitRequestAnimationFrame||win.mozRequestAnimationFrame||win.oRequestAnimationFrame||win.msRequestAnimationFrame||function(callback){return win.setTimeout(callback,1e3/60)};var cancel=win.cancelAnimationFrame||win.webkitCancelAnimationFrame||win.mozCancelAnimationFrame||win.oCancelAnimationFrame||win.msCancelAnimationFrame||function(id){win.clearTimeout(id)};exports.raf=request;exports.caf=cancel},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SCROLL_DIRECTION_VERTICAL=exports.SCROLL_DIRECTION_HORIZONTAL=exports.SCROLL_DIRECTION_FORWARD=exports.SCROLL_DIRECTION_BACKWARD=void 0;exports.default=defaultOverscanIndicesGetter;__webpack_require__(132);exports.SCROLL_DIRECTION_BACKWARD=-1;var SCROLL_DIRECTION_FORWARD=exports.SCROLL_DIRECTION_FORWARD=1;exports.SCROLL_DIRECTION_HORIZONTAL="horizontal";exports.SCROLL_DIRECTION_VERTICAL="vertical";function defaultOverscanIndicesGetter(_ref){var cellCount=_ref.cellCount,overscanCellsCount=_ref.overscanCellsCount,scrollDirection=_ref.scrollDirection,startIndex=_ref.startIndex,stopIndex=_ref.stopIndex;overscanCellsCount=Math.max(1,overscanCellsCount);return scrollDirection===SCROLL_DIRECTION_FORWARD?{overscanStartIndex:Math.max(0,startIndex-1),overscanStopIndex:Math.min(cellCount-1,stopIndex+overscanCellsCount)}:{overscanStartIndex:Math.max(0,startIndex-overscanCellsCount),overscanStopIndex:Math.min(cellCount-1,stopIndex+1)}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _AutoSizer=__webpack_require__(1662);Object.defineProperty(exports,"default",{enumerable:true,get:function get(){return _interopRequireDefault(_AutoSizer).default}});Object.defineProperty(exports,"AutoSizer",{enumerable:true,get:function get(){return _interopRequireDefault(_AutoSizer).default}});function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _detectElementResize=__webpack_require__(688);var _detectElementResize2=_interopRequireDefault(_detectElementResize);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var AutoSizer=function(_React$PureComponent){(0,_inherits3.default)(AutoSizer,_React$PureComponent);function AutoSizer(){var _ref;var _temp,_this,_ret;(0,_classCallCheck3.default)(this,AutoSizer);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=(0,_possibleConstructorReturn3.default)(this,(_ref=AutoSizer.__proto__||(0,_getPrototypeOf2.default)(AutoSizer)).call.apply(_ref,[this].concat(args))),_this),_this.state={height:_this.props.defaultHeight||0,width:_this.props.defaultWidth||0},_this._onResize=function(){var _this$props=_this.props,disableHeight=_this$props.disableHeight,disableWidth=_this$props.disableWidth,onResize=_this$props.onResize;if(_this._parentNode){var _height=_this._parentNode.offsetHeight||0;var _width=_this._parentNode.offsetWidth||0;var _style=window.getComputedStyle(_this._parentNode)||{};var paddingLeft=parseInt(_style.paddingLeft,10)||0;var paddingRight=parseInt(_style.paddingRight,10)||0;var paddingTop=parseInt(_style.paddingTop,10)||0;var paddingBottom=parseInt(_style.paddingBottom,10)||0;var newHeight=_height-paddingTop-paddingBottom;var newWidth=_width-paddingLeft-paddingRight;if(!disableHeight&&_this.state.height!==newHeight||!disableWidth&&_this.state.width!==newWidth){_this.setState({height:_height-paddingTop-paddingBottom,width:_width-paddingLeft-paddingRight});onResize({height:_height,width:_width})}}},_this._setRef=function(autoSizer){_this._autoSizer=autoSizer},_temp),(0,_possibleConstructorReturn3.default)(_this,_ret)}(0,_createClass3.default)(AutoSizer,[{key:"componentDidMount",value:function componentDidMount(){var nonce=this.props.nonce;if(this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement){this._parentNode=this._autoSizer.parentNode;this._detectElementResize=(0,_detectElementResize2.default)(nonce);this._detectElementResize.addResizeListener(this._parentNode,this._onResize);this._onResize()}}},{key:"componentWillUnmount",value:function componentWillUnmount(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function render(){var _props=this.props,children=_props.children,className=_props.className,disableHeight=_props.disableHeight,disableWidth=_props.disableWidth,style=_props.style;var _state=this.state,height=_state.height,width=_state.width;var outerStyle={overflow:"visible"};var childParams={};if(!disableHeight){outerStyle.height=0;childParams.height=height}if(!disableWidth){outerStyle.width=0;childParams.width=width}return React.createElement("div",{className:className,ref:this._setRef,style:(0,_extends3.default)({},outerStyle,style)},children(childParams))}}]);return AutoSizer}(React.PureComponent);AutoSizer.defaultProps={onResize:function onResize(){},disableHeight:false,disableWidth:false,style:{}};AutoSizer.propTypes=null;exports.default=AutoSizer},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _reactDom=__webpack_require__(72);__webpack_require__(690);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var CellMeasurer=function(_React$PureComponent){(0,_inherits3.default)(CellMeasurer,_React$PureComponent);function CellMeasurer(){var _ref;var _temp,_this,_ret;(0,_classCallCheck3.default)(this,CellMeasurer);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=(0,_possibleConstructorReturn3.default)(this,(_ref=CellMeasurer.__proto__||(0,_getPrototypeOf2.default)(CellMeasurer)).call.apply(_ref,[this].concat(args))),_this),_this._measure=function(){var _this$props=_this.props,cache=_this$props.cache,_this$props$columnInd=_this$props.columnIndex,columnIndex=void 0===_this$props$columnInd?0:_this$props$columnInd,parent=_this$props.parent,_this$props$rowIndex=_this$props.rowIndex,rowIndex=void 0===_this$props$rowIndex?_this.props.index||0:_this$props$rowIndex;var _this$_getCellMeasure=_this._getCellMeasurements(),height=_this$_getCellMeasure.height,width=_this$_getCellMeasure.width;if(height!==cache.getHeight(rowIndex,columnIndex)||width!==cache.getWidth(rowIndex,columnIndex)){cache.set(rowIndex,columnIndex,width,height);parent&&"function"===typeof parent.recomputeGridSize&&parent.recomputeGridSize({columnIndex:columnIndex,rowIndex:rowIndex})}},_temp),(0,_possibleConstructorReturn3.default)(_this,_ret)}(0,_createClass3.default)(CellMeasurer,[{key:"componentDidMount",value:function componentDidMount(){this._maybeMeasureCell()}},{key:"componentDidUpdate",value:function componentDidUpdate(){this._maybeMeasureCell()}},{key:"render",value:function render(){var children=this.props.children;return"function"===typeof children?children({measure:this._measure}):children}},{key:"_getCellMeasurements",value:function _getCellMeasurements(){var cache=this.props.cache;var node=(0,_reactDom.findDOMNode)(this);if(node&&node.ownerDocument&&node.ownerDocument.defaultView&&node instanceof node.ownerDocument.defaultView.HTMLElement){var styleWidth=node.style.width;var styleHeight=node.style.height;cache.hasFixedWidth()||(node.style.width="auto");cache.hasFixedHeight()||(node.style.height="auto");var height=Math.ceil(node.offsetHeight);var width=Math.ceil(node.offsetWidth);styleWidth&&(node.style.width=styleWidth);styleHeight&&(node.style.height=styleHeight);return{height:height,width:width}}return{height:0,width:0}}},{key:"_maybeMeasureCell",value:function _maybeMeasureCell(){var _props=this.props,cache=_props.cache,_props$columnIndex=_props.columnIndex,columnIndex=void 0===_props$columnIndex?0:_props$columnIndex,parent=_props.parent,_props$rowIndex=_props.rowIndex,rowIndex=void 0===_props$rowIndex?this.props.index||0:_props$rowIndex;if(!cache.has(rowIndex,columnIndex)){var _getCellMeasurements2=this._getCellMeasurements(),height=_getCellMeasurements2.height,width=_getCellMeasurements2.width;cache.set(rowIndex,columnIndex,width,height);parent&&"function"===typeof parent.invalidateCellSizeAfterRender&&parent.invalidateCellSizeAfterRender({columnIndex:columnIndex,rowIndex:rowIndex})}}}]);return CellMeasurer}(React.PureComponent);CellMeasurer.__internalCellMeasurerFlag=false;CellMeasurer.propTypes=null;exports.default=CellMeasurer;false},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.DEFAULT_WIDTH=exports.DEFAULT_HEIGHT=void 0;var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);__webpack_require__(690);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var DEFAULT_HEIGHT=exports.DEFAULT_HEIGHT=30;var DEFAULT_WIDTH=exports.DEFAULT_WIDTH=100;var CellMeasurerCache=function(){function CellMeasurerCache(){var _this=this;var params=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,_classCallCheck3.default)(this,CellMeasurerCache);this._cellHeightCache={};this._cellWidthCache={};this._columnWidthCache={};this._rowHeightCache={};this._columnCount=0;this._rowCount=0;this.columnWidth=function(_ref){var index=_ref.index;var key=_this._keyMapper(0,index);return _this._columnWidthCache.hasOwnProperty(key)?_this._columnWidthCache[key]:_this._defaultWidth};this.rowHeight=function(_ref2){var index=_ref2.index;var key=_this._keyMapper(index,0);return _this._rowHeightCache.hasOwnProperty(key)?_this._rowHeightCache[key]:_this._defaultHeight};var defaultHeight=params.defaultHeight,defaultWidth=params.defaultWidth,fixedHeight=params.fixedHeight,fixedWidth=params.fixedWidth,keyMapper=params.keyMapper,minHeight=params.minHeight,minWidth=params.minWidth;this._hasFixedHeight=true===fixedHeight;this._hasFixedWidth=true===fixedWidth;this._minHeight=minHeight||0;this._minWidth=minWidth||0;this._keyMapper=keyMapper||defaultKeyMapper;this._defaultHeight=Math.max(this._minHeight,"number"===typeof defaultHeight?defaultHeight:DEFAULT_HEIGHT);this._defaultWidth=Math.max(this._minWidth,"number"===typeof defaultWidth?defaultWidth:DEFAULT_WIDTH);false}(0,_createClass3.default)(CellMeasurerCache,[{key:"clear",value:function clear(rowIndex){var columnIndex=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;var key=this._keyMapper(rowIndex,columnIndex);delete this._cellHeightCache[key];delete this._cellWidthCache[key];this._updateCachedColumnAndRowSizes(rowIndex,columnIndex)}},{key:"clearAll",value:function clearAll(){this._cellHeightCache={};this._cellWidthCache={};this._columnWidthCache={};this._rowHeightCache={};this._rowCount=0;this._columnCount=0}},{key:"hasFixedHeight",value:function hasFixedHeight(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function hasFixedWidth(){return this._hasFixedWidth}},{key:"getHeight",value:function getHeight(rowIndex){var columnIndex=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var _key=this._keyMapper(rowIndex,columnIndex);return this._cellHeightCache.hasOwnProperty(_key)?Math.max(this._minHeight,this._cellHeightCache[_key]):this._defaultHeight}},{key:"getWidth",value:function getWidth(rowIndex){var columnIndex=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var _key2=this._keyMapper(rowIndex,columnIndex);return this._cellWidthCache.hasOwnProperty(_key2)?Math.max(this._minWidth,this._cellWidthCache[_key2]):this._defaultWidth}},{key:"has",value:function has(rowIndex){var columnIndex=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;var key=this._keyMapper(rowIndex,columnIndex);return this._cellHeightCache.hasOwnProperty(key)}},{key:"set",value:function set(rowIndex,columnIndex,width,height){var key=this._keyMapper(rowIndex,columnIndex);columnIndex>=this._columnCount&&(this._columnCount=columnIndex+1);rowIndex>=this._rowCount&&(this._rowCount=rowIndex+1);this._cellHeightCache[key]=height;this._cellWidthCache[key]=width;this._updateCachedColumnAndRowSizes(rowIndex,columnIndex)}},{key:"_updateCachedColumnAndRowSizes",value:function _updateCachedColumnAndRowSizes(rowIndex,columnIndex){if(!this._hasFixedWidth){var columnWidth=0;for(var i=0;i<this._rowCount;i++)columnWidth=Math.max(columnWidth,this.getWidth(i,columnIndex));var columnKey=this._keyMapper(0,columnIndex);this._columnWidthCache[columnKey]=columnWidth}if(!this._hasFixedHeight){var rowHeight=0;for(var _i=0;_i<this._columnCount;_i++)rowHeight=Math.max(rowHeight,this.getHeight(rowIndex,_i));var rowKey=this._keyMapper(rowIndex,0);this._rowHeightCache[rowKey]=rowHeight}}},{key:"defaultHeight",get:function get(){return this._defaultHeight}},{key:"defaultWidth",get:function get(){return this._defaultWidth}}]);return CellMeasurerCache}();exports.default=CellMeasurerCache;function defaultKeyMapper(rowIndex,columnIndex){return rowIndex+"-"+columnIndex}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Collection=void 0;var _Collection=__webpack_require__(1666);var _Collection2=_interopRequireDefault(_Collection);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_Collection2.default;exports.Collection=_Collection2.default},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);var _objectWithoutProperties2=__webpack_require__(429);var _objectWithoutProperties3=_interopRequireDefault(_objectWithoutProperties2);var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _CollectionView=__webpack_require__(1667);var _CollectionView2=_interopRequireDefault(_CollectionView);var _calculateSizeAndPositionData2=__webpack_require__(1668);var _calculateSizeAndPositionData3=_interopRequireDefault(_calculateSizeAndPositionData2);var _getUpdatedOffsetForIndex=__webpack_require__(1671);var _getUpdatedOffsetForIndex2=_interopRequireDefault(_getUpdatedOffsetForIndex);__webpack_require__(434);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Collection=function(_React$PureComponent){(0,_inherits3.default)(Collection,_React$PureComponent);function Collection(props,context){(0,_classCallCheck3.default)(this,Collection);var _this=(0,_possibleConstructorReturn3.default)(this,(Collection.__proto__||(0,_getPrototypeOf2.default)(Collection)).call(this,props,context));_this._cellMetadata=[];_this._lastRenderedCellIndices=[];_this._cellCache=[];_this._isScrollingChange=_this._isScrollingChange.bind(_this);_this._setCollectionViewRef=_this._setCollectionViewRef.bind(_this);return _this}(0,_createClass3.default)(Collection,[{key:"forceUpdate",value:function forceUpdate(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function recomputeCellSizesAndPositions(){this._cellCache=[];this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function render(){var props=(0,_objectWithoutProperties3.default)(this.props,[]);return React.createElement(_CollectionView2.default,(0,_extends3.default)({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},props))}},{key:"calculateSizeAndPositionData",value:function calculateSizeAndPositionData(){var _props=this.props,cellCount=_props.cellCount,cellSizeAndPositionGetter=_props.cellSizeAndPositionGetter,sectionSize=_props.sectionSize;var data=(0,_calculateSizeAndPositionData3.default)({cellCount:cellCount,cellSizeAndPositionGetter:cellSizeAndPositionGetter,sectionSize:sectionSize});this._cellMetadata=data.cellMetadata;this._sectionManager=data.sectionManager;this._height=data.height;this._width=data.width}},{key:"getLastRenderedIndices",value:function getLastRenderedIndices(){return this._lastRenderedCellIndices}},{key:"getScrollPositionForCell",value:function getScrollPositionForCell(_ref){var align=_ref.align,cellIndex=_ref.cellIndex,height=_ref.height,scrollLeft=_ref.scrollLeft,scrollTop=_ref.scrollTop,width=_ref.width;var cellCount=this.props.cellCount;if(cellIndex>=0&&cellIndex<cellCount){var cellMetadata=this._cellMetadata[cellIndex];scrollLeft=(0,_getUpdatedOffsetForIndex2.default)({align:align,cellOffset:cellMetadata.x,cellSize:cellMetadata.width,containerSize:width,currentOffset:scrollLeft,targetIndex:cellIndex});scrollTop=(0,_getUpdatedOffsetForIndex2.default)({align:align,cellOffset:cellMetadata.y,cellSize:cellMetadata.height,containerSize:height,currentOffset:scrollTop,targetIndex:cellIndex})}return{scrollLeft:scrollLeft,scrollTop:scrollTop}}},{key:"getTotalSize",value:function getTotalSize(){return{height:this._height,width:this._width}}},{key:"cellRenderers",value:function cellRenderers(_ref2){var _this2=this;var height=_ref2.height,isScrolling=_ref2.isScrolling,width=_ref2.width,x=_ref2.x,y=_ref2.y;var _props2=this.props,cellGroupRenderer=_props2.cellGroupRenderer,cellRenderer=_props2.cellRenderer;this._lastRenderedCellIndices=this._sectionManager.getCellIndices({height:height,width:width,x:x,y:y});return cellGroupRenderer({cellCache:this._cellCache,cellRenderer:cellRenderer,cellSizeAndPositionGetter:function cellSizeAndPositionGetter(_ref3){var index=_ref3.index;return _this2._sectionManager.getCellMetadata({index:index})},indices:this._lastRenderedCellIndices,isScrolling:isScrolling})}},{key:"_isScrollingChange",value:function _isScrollingChange(isScrolling){isScrolling||(this._cellCache=[])}},{key:"_setCollectionViewRef",value:function _setCollectionViewRef(ref){this._collectionView=ref}}]);return Collection}(React.PureComponent);Collection.defaultProps={"aria-label":"grid",cellGroupRenderer:defaultCellGroupRenderer};exports.default=Collection;Collection.propTypes={};function defaultCellGroupRenderer(_ref4){var cellCache=_ref4.cellCache,cellRenderer=_ref4.cellRenderer,cellSizeAndPositionGetter=_ref4.cellSizeAndPositionGetter,indices=_ref4.indices,isScrolling=_ref4.isScrolling;return indices.map(function(index){var cellMetadata=cellSizeAndPositionGetter({index:index});var cellRendererProps={index:index,isScrolling:isScrolling,key:index,style:{height:cellMetadata.height,left:cellMetadata.x,position:"absolute",top:cellMetadata.y,width:cellMetadata.width}};if(isScrolling){index in cellCache||(cellCache[index]=cellRenderer(cellRendererProps));return cellCache[index]}return cellRenderer(cellRendererProps)}).filter(function(renderedCell){return!!renderedCell})}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _classnames=__webpack_require__(6);var _classnames2=_interopRequireDefault(_classnames);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _reactLifecyclesCompat=__webpack_require__(241);var _createCallbackMemoizer=__webpack_require__(430);var _createCallbackMemoizer2=_interopRequireDefault(_createCallbackMemoizer);var _scrollbarSize=__webpack_require__(680);var _scrollbarSize2=_interopRequireDefault(_scrollbarSize);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var IS_SCROLLING_TIMEOUT=150;var SCROLL_POSITION_CHANGE_REASONS={OBSERVED:"observed",REQUESTED:"requested"};var CollectionView=function(_React$PureComponent){(0,_inherits3.default)(CollectionView,_React$PureComponent);function CollectionView(){var _ref;(0,_classCallCheck3.default)(this,CollectionView);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var _this=(0,_possibleConstructorReturn3.default)(this,(_ref=CollectionView.__proto__||(0,_getPrototypeOf2.default)(CollectionView)).call.apply(_ref,[this].concat(args)));_this.state={isScrolling:false,scrollLeft:0,scrollTop:0};_this._calculateSizeAndPositionDataOnNextUpdate=false;_this._onSectionRenderedMemoizer=(0,_createCallbackMemoizer2.default)();_this._onScrollMemoizer=(0,_createCallbackMemoizer2.default)(false);_this._invokeOnSectionRenderedHelper=function(){var _this$props=_this.props,cellLayoutManager=_this$props.cellLayoutManager,onSectionRendered=_this$props.onSectionRendered;_this._onSectionRenderedMemoizer({callback:onSectionRendered,indices:{indices:cellLayoutManager.getLastRenderedIndices()}})};_this._setScrollingContainerRef=function(ref){_this._scrollingContainer=ref};_this._updateScrollPositionForScrollToCell=function(){var _this$props2=_this.props,cellLayoutManager=_this$props2.cellLayoutManager,height=_this$props2.height,scrollToAlignment=_this$props2.scrollToAlignment,scrollToCell=_this$props2.scrollToCell,width=_this$props2.width;var _this$state=_this.state,scrollLeft=_this$state.scrollLeft,scrollTop=_this$state.scrollTop;if(scrollToCell>=0){var scrollPosition=cellLayoutManager.getScrollPositionForCell({align:scrollToAlignment,cellIndex:scrollToCell,height:height,scrollLeft:scrollLeft,scrollTop:scrollTop,width:width});scrollPosition.scrollLeft===scrollLeft&&scrollPosition.scrollTop===scrollTop||_this._setScrollPosition(scrollPosition)}};_this._onScroll=function(event){if(event.target!==_this._scrollingContainer)return;_this._enablePointerEventsAfterDelay();var _this$props3=_this.props,cellLayoutManager=_this$props3.cellLayoutManager,height=_this$props3.height,isScrollingChange=_this$props3.isScrollingChange,width=_this$props3.width;var scrollbarSize=_this._scrollbarSize;var _cellLayoutManager$ge=cellLayoutManager.getTotalSize(),totalHeight=_cellLayoutManager$ge.height,totalWidth=_cellLayoutManager$ge.width;var scrollLeft=Math.max(0,Math.min(totalWidth-width+scrollbarSize,event.target.scrollLeft));var scrollTop=Math.max(0,Math.min(totalHeight-height+scrollbarSize,event.target.scrollTop));if(_this.state.scrollLeft!==scrollLeft||_this.state.scrollTop!==scrollTop){var scrollPositionChangeReason=event.cancelable?SCROLL_POSITION_CHANGE_REASONS.OBSERVED:SCROLL_POSITION_CHANGE_REASONS.REQUESTED;_this.state.isScrolling||isScrollingChange(true);_this.setState({isScrolling:true,scrollLeft:scrollLeft,scrollPositionChangeReason:scrollPositionChangeReason,scrollTop:scrollTop})}_this._invokeOnScrollMemoizer({scrollLeft:scrollLeft,scrollTop:scrollTop,totalWidth:totalWidth,totalHeight:totalHeight})};_this._scrollbarSize=(0,_scrollbarSize2.default)();if(void 0===_this._scrollbarSize){_this._scrollbarSizeMeasured=false;_this._scrollbarSize=0}else _this._scrollbarSizeMeasured=true;return _this}(0,_createClass3.default)(CollectionView,[{key:"recomputeCellSizesAndPositions",value:function recomputeCellSizesAndPositions(){this._calculateSizeAndPositionDataOnNextUpdate=true;this.forceUpdate()}},{key:"componentDidMount",value:function componentDidMount(){var _props=this.props,cellLayoutManager=_props.cellLayoutManager,scrollLeft=_props.scrollLeft,scrollToCell=_props.scrollToCell,scrollTop=_props.scrollTop;if(!this._scrollbarSizeMeasured){this._scrollbarSize=(0,_scrollbarSize2.default)();this._scrollbarSizeMeasured=true;this.setState({})}scrollToCell>=0?this._updateScrollPositionForScrollToCell():(scrollLeft>=0||scrollTop>=0)&&this._setScrollPosition({scrollLeft:scrollLeft,scrollTop:scrollTop});this._invokeOnSectionRenderedHelper();var _cellLayoutManager$ge2=cellLayoutManager.getTotalSize(),totalHeight=_cellLayoutManager$ge2.height,totalWidth=_cellLayoutManager$ge2.width;this._invokeOnScrollMemoizer({scrollLeft:scrollLeft||0,scrollTop:scrollTop||0,totalHeight:totalHeight,totalWidth:totalWidth})}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps,prevState){var _props2=this.props,height=_props2.height,scrollToAlignment=_props2.scrollToAlignment,scrollToCell=_props2.scrollToCell,width=_props2.width;var _state=this.state,scrollLeft=_state.scrollLeft,scrollPositionChangeReason=_state.scrollPositionChangeReason,scrollTop=_state.scrollTop;if(scrollPositionChangeReason===SCROLL_POSITION_CHANGE_REASONS.REQUESTED){scrollLeft>=0&&scrollLeft!==prevState.scrollLeft&&scrollLeft!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=scrollLeft);scrollTop>=0&&scrollTop!==prevState.scrollTop&&scrollTop!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=scrollTop)}height===prevProps.height&&scrollToAlignment===prevProps.scrollToAlignment&&scrollToCell===prevProps.scrollToCell&&width===prevProps.width||this._updateScrollPositionForScrollToCell();this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function render(){var _props3=this.props,autoHeight=_props3.autoHeight,cellCount=_props3.cellCount,cellLayoutManager=_props3.cellLayoutManager,className=_props3.className,height=_props3.height,horizontalOverscanSize=_props3.horizontalOverscanSize,id=_props3.id,noContentRenderer=_props3.noContentRenderer,style=_props3.style,verticalOverscanSize=_props3.verticalOverscanSize,width=_props3.width;var _state2=this.state,isScrolling=_state2.isScrolling,scrollLeft=_state2.scrollLeft,scrollTop=_state2.scrollTop;if(this._lastRenderedCellCount!==cellCount||this._lastRenderedCellLayoutManager!==cellLayoutManager||this._calculateSizeAndPositionDataOnNextUpdate){this._lastRenderedCellCount=cellCount;this._lastRenderedCellLayoutManager=cellLayoutManager;this._calculateSizeAndPositionDataOnNextUpdate=false;cellLayoutManager.calculateSizeAndPositionData()}var _cellLayoutManager$ge3=cellLayoutManager.getTotalSize(),totalHeight=_cellLayoutManager$ge3.height,totalWidth=_cellLayoutManager$ge3.width;var left=Math.max(0,scrollLeft-horizontalOverscanSize);var top=Math.max(0,scrollTop-verticalOverscanSize);var right=Math.min(totalWidth,scrollLeft+width+horizontalOverscanSize);var bottom=Math.min(totalHeight,scrollTop+height+verticalOverscanSize);var childrenToDisplay=height>0&&width>0?cellLayoutManager.cellRenderers({height:bottom-top,isScrolling:isScrolling,width:right-left,x:left,y:top}):[];var collectionStyle={boxSizing:"border-box",direction:"ltr",height:autoHeight?"auto":height,position:"relative",WebkitOverflowScrolling:"touch",width:width,willChange:"transform"};var verticalScrollBarSize=totalHeight>height?this._scrollbarSize:0;var horizontalScrollBarSize=totalWidth>width?this._scrollbarSize:0;collectionStyle.overflowX=totalWidth+verticalScrollBarSize<=width?"hidden":"auto";collectionStyle.overflowY=totalHeight+horizontalScrollBarSize<=height?"hidden":"auto";return React.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:(0,_classnames2.default)("ReactVirtualized__Collection",className),id:id,onScroll:this._onScroll,role:"grid",style:(0,_extends3.default)({},collectionStyle,style),tabIndex:0},cellCount>0&&React.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:totalHeight,maxHeight:totalHeight,maxWidth:totalWidth,overflow:"hidden",pointerEvents:isScrolling?"none":"",width:totalWidth}},childrenToDisplay),0===cellCount&&noContentRenderer())}},{key:"_enablePointerEventsAfterDelay",value:function _enablePointerEventsAfterDelay(){var _this2=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId);this._disablePointerEventsTimeoutId=setTimeout(function(){var isScrollingChange=_this2.props.isScrollingChange;isScrollingChange(false);_this2._disablePointerEventsTimeoutId=null;_this2.setState({isScrolling:false})},IS_SCROLLING_TIMEOUT)}},{key:"_invokeOnScrollMemoizer",value:function _invokeOnScrollMemoizer(_ref2){var _this3=this;var scrollLeft=_ref2.scrollLeft,scrollTop=_ref2.scrollTop,totalHeight=_ref2.totalHeight,totalWidth=_ref2.totalWidth;this._onScrollMemoizer({callback:function callback(_ref3){var scrollLeft=_ref3.scrollLeft,scrollTop=_ref3.scrollTop;var _props4=_this3.props,height=_props4.height,onScroll=_props4.onScroll,width=_props4.width;onScroll({clientHeight:height,clientWidth:width,scrollHeight:totalHeight,scrollLeft:scrollLeft,scrollTop:scrollTop,scrollWidth:totalWidth})},indices:{scrollLeft:scrollLeft,scrollTop:scrollTop}})}},{key:"_setScrollPosition",value:function _setScrollPosition(_ref4){var scrollLeft=_ref4.scrollLeft,scrollTop=_ref4.scrollTop;var newState={scrollPositionChangeReason:SCROLL_POSITION_CHANGE_REASONS.REQUESTED};scrollLeft>=0&&(newState.scrollLeft=scrollLeft);scrollTop>=0&&(newState.scrollTop=scrollTop);(scrollLeft>=0&&scrollLeft!==this.state.scrollLeft||scrollTop>=0&&scrollTop!==this.state.scrollTop)&&this.setState(newState)}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,prevState){if(0===nextProps.cellCount&&(0!==prevState.scrollLeft||0!==prevState.scrollTop))return{scrollLeft:0,scrollTop:0};if(nextProps.scrollLeft!==prevState.scrollLeft||nextProps.scrollTop!==prevState.scrollTop)return{scrollLeft:null!=nextProps.scrollLeft?nextProps.scrollLeft:prevState.scrollLeft,scrollTop:null!=nextProps.scrollTop?nextProps.scrollTop:prevState.scrollTop};return null}}]);return CollectionView}(React.PureComponent);CollectionView.defaultProps={"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function noContentRenderer(){return null},onScroll:function onScroll(){return null},onSectionRendered:function onSectionRendered(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0};CollectionView.propTypes={};(0,_reactLifecyclesCompat.polyfill)(CollectionView);exports.default=CollectionView},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=calculateSizeAndPositionData;var _SectionManager=__webpack_require__(1669);var _SectionManager2=_interopRequireDefault(_SectionManager);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function calculateSizeAndPositionData(_ref){var cellCount=_ref.cellCount,cellSizeAndPositionGetter=_ref.cellSizeAndPositionGetter,sectionSize=_ref.sectionSize;var cellMetadata=[];var sectionManager=new _SectionManager2.default(sectionSize);var height=0;var width=0;for(var index=0;index<cellCount;index++){var cellMetadatum=cellSizeAndPositionGetter({index:index});if(null==cellMetadatum.height||isNaN(cellMetadatum.height)||null==cellMetadatum.width||isNaN(cellMetadatum.width)||null==cellMetadatum.x||isNaN(cellMetadatum.x)||null==cellMetadatum.y||isNaN(cellMetadatum.y))throw Error("Invalid metadata returned for cell "+index+":\n        x:"+cellMetadatum.x+", y:"+cellMetadatum.y+", width:"+cellMetadatum.width+", height:"+cellMetadatum.height);height=Math.max(height,cellMetadatum.y+cellMetadatum.height);width=Math.max(width,cellMetadatum.x+cellMetadatum.width);cellMetadata[index]=cellMetadatum;sectionManager.registerCell({cellMetadatum:cellMetadatum,index:index})}return{cellMetadata:cellMetadata,height:height,sectionManager:sectionManager,width:width}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _keys=__webpack_require__(677);var _keys2=_interopRequireDefault(_keys);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _Section=__webpack_require__(1670);var _Section2=_interopRequireDefault(_Section);__webpack_require__(434);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var SECTION_SIZE=100;var SectionManager=function(){function SectionManager(){var sectionSize=arguments.length>0&&void 0!==arguments[0]?arguments[0]:SECTION_SIZE;(0,_classCallCheck3.default)(this,SectionManager);this._sectionSize=sectionSize;this._cellMetadata=[];this._sections={}}(0,_createClass3.default)(SectionManager,[{key:"getCellIndices",value:function getCellIndices(_ref){var height=_ref.height,width=_ref.width,x=_ref.x,y=_ref.y;var indices={};this.getSections({height:height,width:width,x:x,y:y}).forEach(function(section){return section.getCellIndices().forEach(function(index){indices[index]=index})});return(0,_keys2.default)(indices).map(function(index){return indices[index]})}},{key:"getCellMetadata",value:function getCellMetadata(_ref2){var index=_ref2.index;return this._cellMetadata[index]}},{key:"getSections",value:function getSections(_ref3){var height=_ref3.height,width=_ref3.width,x=_ref3.x,y=_ref3.y;var sectionXStart=Math.floor(x/this._sectionSize);var sectionXStop=Math.floor((x+width-1)/this._sectionSize);var sectionYStart=Math.floor(y/this._sectionSize);var sectionYStop=Math.floor((y+height-1)/this._sectionSize);var sections=[];for(var sectionX=sectionXStart;sectionX<=sectionXStop;sectionX++)for(var sectionY=sectionYStart;sectionY<=sectionYStop;sectionY++){var key=sectionX+"."+sectionY;this._sections[key]||(this._sections[key]=new _Section2.default({height:this._sectionSize,width:this._sectionSize,x:sectionX*this._sectionSize,y:sectionY*this._sectionSize}));sections.push(this._sections[key])}return sections}},{key:"getTotalSectionCount",value:function getTotalSectionCount(){return(0,_keys2.default)(this._sections).length}},{key:"toString",value:function toString(){var _this=this;return(0,_keys2.default)(this._sections).map(function(index){return _this._sections[index].toString()})}},{key:"registerCell",value:function registerCell(_ref4){var cellMetadatum=_ref4.cellMetadatum,index=_ref4.index;this._cellMetadata[index]=cellMetadatum;this.getSections(cellMetadatum).forEach(function(section){return section.addCellIndex({index:index})})}}]);return SectionManager}();exports.default=SectionManager},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);__webpack_require__(434);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Section=function(){function Section(_ref){var height=_ref.height,width=_ref.width,x=_ref.x,y=_ref.y;(0,_classCallCheck3.default)(this,Section);this.height=height;this.width=width;this.x=x;this.y=y;this._indexMap={};this._indices=[]}(0,_createClass3.default)(Section,[{key:"addCellIndex",value:function addCellIndex(_ref2){var index=_ref2.index;if(!this._indexMap[index]){this._indexMap[index]=true;this._indices.push(index)}}},{key:"getCellIndices",value:function getCellIndices(){return this._indices}},{key:"toString",value:function toString(){return this.x+","+this.y+" "+this.width+"x"+this.height}}]);return Section}();exports.default=Section},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=getUpdatedOffsetForIndex;function getUpdatedOffsetForIndex(_ref){var _ref$align=_ref.align,align=void 0===_ref$align?"auto":_ref$align,cellOffset=_ref.cellOffset,cellSize=_ref.cellSize,containerSize=_ref.containerSize,currentOffset=_ref.currentOffset;var maxOffset=cellOffset;var minOffset=maxOffset-containerSize+cellSize;switch(align){case"start":return maxOffset;case"end":return minOffset;case"center":return maxOffset-(containerSize-cellSize)/2;default:return Math.max(minOffset,Math.min(maxOffset,currentOffset))}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ColumnSizer=void 0;var _ColumnSizer=__webpack_require__(1673);var _ColumnSizer2=_interopRequireDefault(_ColumnSizer);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_ColumnSizer2.default;exports.ColumnSizer=_ColumnSizer2.default},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ColumnSizer=function(_React$PureComponent){(0,_inherits3.default)(ColumnSizer,_React$PureComponent);function ColumnSizer(props,context){(0,_classCallCheck3.default)(this,ColumnSizer);var _this=(0,_possibleConstructorReturn3.default)(this,(ColumnSizer.__proto__||(0,_getPrototypeOf2.default)(ColumnSizer)).call(this,props,context));_this._registerChild=_this._registerChild.bind(_this);return _this}(0,_createClass3.default)(ColumnSizer,[{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){var _props=this.props,columnMaxWidth=_props.columnMaxWidth,columnMinWidth=_props.columnMinWidth,columnCount=_props.columnCount,width=_props.width;columnMaxWidth===prevProps.columnMaxWidth&&columnMinWidth===prevProps.columnMinWidth&&columnCount===prevProps.columnCount&&width===prevProps.width||this._registeredChild&&this._registeredChild.recomputeGridSize()}},{key:"render",value:function render(){var _props2=this.props,children=_props2.children,columnMaxWidth=_props2.columnMaxWidth,columnMinWidth=_props2.columnMinWidth,columnCount=_props2.columnCount,width=_props2.width;var safeColumnMinWidth=columnMinWidth||1;var safeColumnMaxWidth=columnMaxWidth?Math.min(columnMaxWidth,width):width;var columnWidth=width/columnCount;columnWidth=Math.max(safeColumnMinWidth,columnWidth);columnWidth=Math.min(safeColumnMaxWidth,columnWidth);columnWidth=Math.floor(columnWidth);var adjustedWidth=Math.min(width,columnWidth*columnCount);return children({adjustedWidth:adjustedWidth,columnWidth:columnWidth,getColumnWidth:function getColumnWidth(){return columnWidth},registerChild:this._registerChild})}},{key:"_registerChild",value:function _registerChild(child){if(child&&"function"!==typeof child.recomputeGridSize)throw Error("Unexpected child type registered; only Grid/MultiGrid children are supported.");this._registeredChild=child;this._registeredChild&&this._registeredChild.recomputeGridSize()}}]);return ColumnSizer}(React.PureComponent);exports.default=ColumnSizer;ColumnSizer.propTypes={}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.InfiniteLoader=void 0;var _InfiniteLoader=__webpack_require__(1675);var _InfiniteLoader2=_interopRequireDefault(_InfiniteLoader);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_InfiniteLoader2.default;exports.InfiniteLoader=_InfiniteLoader2.default},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);exports.isRangeVisible=isRangeVisible;exports.scanForUnloadedRanges=scanForUnloadedRanges;exports.forceUpdateReactVirtualizedComponent=forceUpdateReactVirtualizedComponent;var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);var _createCallbackMemoizer=__webpack_require__(430);var _createCallbackMemoizer2=_interopRequireDefault(_createCallbackMemoizer);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var InfiniteLoader=function(_React$PureComponent){(0,_inherits3.default)(InfiniteLoader,_React$PureComponent);function InfiniteLoader(props,context){(0,_classCallCheck3.default)(this,InfiniteLoader);var _this=(0,_possibleConstructorReturn3.default)(this,(InfiniteLoader.__proto__||(0,_getPrototypeOf2.default)(InfiniteLoader)).call(this,props,context));_this._loadMoreRowsMemoizer=(0,_createCallbackMemoizer2.default)();_this._onRowsRendered=_this._onRowsRendered.bind(_this);_this._registerChild=_this._registerChild.bind(_this);return _this}(0,_createClass3.default)(InfiniteLoader,[{key:"resetLoadMoreRowsCache",value:function resetLoadMoreRowsCache(autoReload){this._loadMoreRowsMemoizer=(0,_createCallbackMemoizer2.default)();autoReload&&this._doStuff(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"render",value:function render(){var children=this.props.children;return children({onRowsRendered:this._onRowsRendered,registerChild:this._registerChild})}},{key:"_loadUnloadedRanges",value:function _loadUnloadedRanges(unloadedRanges){var _this2=this;var loadMoreRows=this.props.loadMoreRows;unloadedRanges.forEach(function(unloadedRange){var promise=loadMoreRows(unloadedRange);promise&&promise.then(function(){isRangeVisible({lastRenderedStartIndex:_this2._lastRenderedStartIndex,lastRenderedStopIndex:_this2._lastRenderedStopIndex,startIndex:unloadedRange.startIndex,stopIndex:unloadedRange.stopIndex})&&_this2._registeredChild&&forceUpdateReactVirtualizedComponent(_this2._registeredChild,_this2._lastRenderedStartIndex)})})}},{key:"_onRowsRendered",value:function _onRowsRendered(_ref){var startIndex=_ref.startIndex,stopIndex=_ref.stopIndex;this._lastRenderedStartIndex=startIndex;this._lastRenderedStopIndex=stopIndex;this._doStuff(startIndex,stopIndex)}},{key:"_doStuff",value:function _doStuff(startIndex,stopIndex){var _this3=this;var _props=this.props,isRowLoaded=_props.isRowLoaded,minimumBatchSize=_props.minimumBatchSize,rowCount=_props.rowCount,threshold=_props.threshold;var unloadedRanges=scanForUnloadedRanges({isRowLoaded:isRowLoaded,minimumBatchSize:minimumBatchSize,rowCount:rowCount,startIndex:Math.max(0,startIndex-threshold),stopIndex:Math.min(rowCount-1,stopIndex+threshold)});var squashedUnloadedRanges=unloadedRanges.reduce(function(reduced,unloadedRange){return reduced.concat([unloadedRange.startIndex,unloadedRange.stopIndex])},[]);this._loadMoreRowsMemoizer({callback:function callback(){_this3._loadUnloadedRanges(unloadedRanges)},indices:{squashedUnloadedRanges:squashedUnloadedRanges}})}},{key:"_registerChild",value:function _registerChild(registeredChild){this._registeredChild=registeredChild}}]);return InfiniteLoader}(React.PureComponent);InfiniteLoader.defaultProps={minimumBatchSize:10,rowCount:0,threshold:15};exports.default=InfiniteLoader;InfiniteLoader.propTypes={};function isRangeVisible(_ref2){var lastRenderedStartIndex=_ref2.lastRenderedStartIndex,lastRenderedStopIndex=_ref2.lastRenderedStopIndex,startIndex=_ref2.startIndex,stopIndex=_ref2.stopIndex;return!(startIndex>lastRenderedStopIndex||stopIndex<lastRenderedStartIndex)}function scanForUnloadedRanges(_ref3){var isRowLoaded=_ref3.isRowLoaded,minimumBatchSize=_ref3.minimumBatchSize,rowCount=_ref3.rowCount,startIndex=_ref3.startIndex,stopIndex=_ref3.stopIndex;var unloadedRanges=[];var rangeStartIndex=null;var rangeStopIndex=null;for(var index=startIndex;index<=stopIndex;index++){var loaded=isRowLoaded({index:index});if(loaded){if(null!==rangeStopIndex){unloadedRanges.push({startIndex:rangeStartIndex,stopIndex:rangeStopIndex});rangeStartIndex=rangeStopIndex=null}}else{rangeStopIndex=index;null===rangeStartIndex&&(rangeStartIndex=index)}}if(null!==rangeStopIndex){var potentialStopIndex=Math.min(Math.max(rangeStopIndex,rangeStartIndex+minimumBatchSize-1),rowCount-1);for(var _index=rangeStopIndex+1;_index<=potentialStopIndex;_index++){if(isRowLoaded({index:_index}))break;rangeStopIndex=_index}unloadedRanges.push({startIndex:rangeStartIndex,stopIndex:rangeStopIndex})}if(unloadedRanges.length){var firstUnloadedRange=unloadedRanges[0];while(firstUnloadedRange.stopIndex-firstUnloadedRange.startIndex+1<minimumBatchSize&&firstUnloadedRange.startIndex>0){var _index2=firstUnloadedRange.startIndex-1;if(isRowLoaded({index:_index2}))break;firstUnloadedRange.startIndex=_index2}}return unloadedRanges}function forceUpdateReactVirtualizedComponent(component){var currentIndex=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;var recomputeSize="function"===typeof component.recomputeGridSize?component.recomputeGridSize:component.recomputeRowHeights;recomputeSize?recomputeSize.call(component,currentIndex):component.forceUpdate()}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.bpfrpt_proptype_RowRendererParams=exports.List=exports.default=void 0;var _List=__webpack_require__(1677);Object.defineProperty(exports,"default",{enumerable:true,get:function get(){return _interopRequireDefault(_List).default}});Object.defineProperty(exports,"List",{enumerable:true,get:function get(){return _interopRequireDefault(_List).default}});var _types=__webpack_require__(691);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.bpfrpt_proptype_RowRendererParams=_types.bpfrpt_proptype_RowRendererParams},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);var _getOwnPropertyDescriptor=__webpack_require__(1678);var _getOwnPropertyDescriptor2=_interopRequireDefault(_getOwnPropertyDescriptor);var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _Grid=__webpack_require__(242);var _Grid2=_interopRequireDefault(_Grid);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _classnames=__webpack_require__(6);var _classnames2=_interopRequireDefault(_classnames);__webpack_require__(691);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var List=function(_React$PureComponent){(0,_inherits3.default)(List,_React$PureComponent);function List(){var _ref;var _temp,_this,_ret;(0,_classCallCheck3.default)(this,List);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=(0,_possibleConstructorReturn3.default)(this,(_ref=List.__proto__||(0,_getPrototypeOf2.default)(List)).call.apply(_ref,[this].concat(args))),_this),_this._cellRenderer=function(_ref2){var parent=_ref2.parent,rowIndex=_ref2.rowIndex,style=_ref2.style,isScrolling=_ref2.isScrolling,isVisible=_ref2.isVisible,key=_ref2.key;var rowRenderer=_this.props.rowRenderer;var _Object$getOwnPropert=(0,_getOwnPropertyDescriptor2.default)(style,"width"),writable=_Object$getOwnPropert.writable;writable&&(style.width="100%");return rowRenderer({index:rowIndex,style:style,isScrolling:isScrolling,isVisible:isVisible,key:key,parent:parent})},_this._setRef=function(ref){_this.Grid=ref},_this._onScroll=function(_ref3){var clientHeight=_ref3.clientHeight,scrollHeight=_ref3.scrollHeight,scrollTop=_ref3.scrollTop;var onScroll=_this.props.onScroll;onScroll({clientHeight:clientHeight,scrollHeight:scrollHeight,scrollTop:scrollTop})},_this._onSectionRendered=function(_ref4){var rowOverscanStartIndex=_ref4.rowOverscanStartIndex,rowOverscanStopIndex=_ref4.rowOverscanStopIndex,rowStartIndex=_ref4.rowStartIndex,rowStopIndex=_ref4.rowStopIndex;var onRowsRendered=_this.props.onRowsRendered;onRowsRendered({overscanStartIndex:rowOverscanStartIndex,overscanStopIndex:rowOverscanStopIndex,startIndex:rowStartIndex,stopIndex:rowStopIndex})},_temp),(0,_possibleConstructorReturn3.default)(_this,_ret)}(0,_createClass3.default)(List,[{key:"forceUpdateGrid",value:function forceUpdateGrid(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function getOffsetForRow(_ref5){var alignment=_ref5.alignment,index=_ref5.index;if(this.Grid){var _Grid$getOffsetForCel=this.Grid.getOffsetForCell({alignment:alignment,rowIndex:index,columnIndex:0}),_scrollTop=_Grid$getOffsetForCel.scrollTop;return _scrollTop}return 0}},{key:"invalidateCellSizeAfterRender",value:function invalidateCellSizeAfterRender(_ref6){var columnIndex=_ref6.columnIndex,rowIndex=_ref6.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:rowIndex,columnIndex:columnIndex})}},{key:"measureAllRows",value:function measureAllRows(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function recomputeGridSize(){var _ref7=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref7$columnIndex=_ref7.columnIndex,columnIndex=void 0===_ref7$columnIndex?0:_ref7$columnIndex,_ref7$rowIndex=_ref7.rowIndex,rowIndex=void 0===_ref7$rowIndex?0:_ref7$rowIndex;this.Grid&&this.Grid.recomputeGridSize({rowIndex:rowIndex,columnIndex:columnIndex})}},{key:"recomputeRowHeights",value:function recomputeRowHeights(){var index=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:index,columnIndex:0})}},{key:"scrollToPosition",value:function scrollToPosition(){var scrollTop=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:scrollTop})}},{key:"scrollToRow",value:function scrollToRow(){var index=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:index})}},{key:"render",value:function render(){var _props=this.props,className=_props.className,noRowsRenderer=_props.noRowsRenderer,scrollToIndex=_props.scrollToIndex,width=_props.width;var classNames=(0,_classnames2.default)("ReactVirtualized__List",className);return React.createElement(_Grid2.default,(0,_extends3.default)({},this.props,{autoContainerWidth:true,cellRenderer:this._cellRenderer,className:classNames,columnWidth:width,columnCount:1,noContentRenderer:noRowsRenderer,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:scrollToIndex}))}}]);return List}(React.PureComponent);List.defaultProps={autoHeight:false,estimatedRowSize:30,onScroll:function onScroll(){},noRowsRenderer:function noRowsRenderer(){return null},onRowsRendered:function onRowsRendered(){},overscanIndicesGetter:_Grid.accessibilityOverscanIndicesGetter,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}};List.propTypes=null;exports.default=List},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(1679),__esModule:true}},function(module,exports,__webpack_require__){__webpack_require__(1680);var $Object=__webpack_require__(46).Object;module.exports=function getOwnPropertyDescriptor(it,key){return $Object.getOwnPropertyDescriptor(it,key)}},function(module,exports,__webpack_require__){var toIObject=__webpack_require__(160);var $getOwnPropertyDescriptor=__webpack_require__(427).f;__webpack_require__(418)("getOwnPropertyDescriptor",function(){return function getOwnPropertyDescriptor(it,key){return $getOwnPropertyDescriptor(toIObject(it),key)}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Masonry=exports.createCellPositioner=void 0;var _createCellPositioner=__webpack_require__(1682);var _createCellPositioner2=_interopRequireDefault(_createCellPositioner);var _Masonry=__webpack_require__(692);var _Masonry2=_interopRequireDefault(_Masonry);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_Masonry2.default;exports.createCellPositioner=_createCellPositioner2.default;exports.Masonry=_Masonry2.default},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=createCellPositioner;__webpack_require__(692);function createCellPositioner(_ref){var cellMeasurerCache=_ref.cellMeasurerCache,columnCount=_ref.columnCount,columnWidth=_ref.columnWidth,_ref$spacer=_ref.spacer,spacer=void 0===_ref$spacer?0:_ref$spacer;var columnHeights=void 0;initOrResetDerivedValues();function cellPositioner(index){var columnIndex=0;for(var i=1;i<columnHeights.length;i++)columnHeights[i]<columnHeights[columnIndex]&&(columnIndex=i);var left=columnIndex*(columnWidth+spacer);var top=columnHeights[columnIndex]||0;columnHeights[columnIndex]=top+cellMeasurerCache.getHeight(index)+spacer;return{left:left,top:top}}function initOrResetDerivedValues(){columnHeights=[];for(var i=0;i<columnCount;i++)columnHeights[i]=0}function reset(params){columnCount=params.columnCount;columnWidth=params.columnWidth;spacer=params.spacer;initOrResetDerivedValues()}cellPositioner.reset=reset;return cellPositioner}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _slicedToArray2=__webpack_require__(1684);var _slicedToArray3=_interopRequireDefault(_slicedToArray2);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _intervalTree=__webpack_require__(1691);var _intervalTree2=_interopRequireDefault(_intervalTree);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var PositionCache=function(){function PositionCache(){(0,_classCallCheck3.default)(this,PositionCache);this._columnSizeMap={};this._intervalTree=(0,_intervalTree2.default)();this._leftMap={}}(0,_createClass3.default)(PositionCache,[{key:"estimateTotalHeight",value:function estimateTotalHeight(cellCount,columnCount,defaultCellHeight){var unmeasuredCellCount=cellCount-this.count;return this.tallestColumnSize+Math.ceil(unmeasuredCellCount/columnCount)*defaultCellHeight}},{key:"range",value:function range(scrollTop,clientHeight,renderCallback){var _this=this;this._intervalTree.queryInterval(scrollTop,scrollTop+clientHeight,function(_ref){var _ref2=(0,_slicedToArray3.default)(_ref,3),top=_ref2[0],index=(_ref2[1],_ref2[2]);return renderCallback(index,_this._leftMap[index],top)})}},{key:"setPosition",value:function setPosition(index,left,top,height){this._intervalTree.insert([top,top+height,index]);this._leftMap[index]=left;var columnSizeMap=this._columnSizeMap;var columnHeight=columnSizeMap[left];columnSizeMap[left]=void 0===columnHeight?top+height:Math.max(columnHeight,top+height)}},{key:"count",get:function get(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function get(){var columnSizeMap=this._columnSizeMap;var size=0;for(var i in columnSizeMap){var height=columnSizeMap[i];size=0===size?height:Math.min(size,height)}return size}},{key:"tallestColumnSize",get:function get(){var columnSizeMap=this._columnSizeMap;var size=0;for(var i in columnSizeMap){var height=columnSizeMap[i];size=Math.max(size,height)}return size}}]);return PositionCache}();exports.default=PositionCache},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _isIterable2=__webpack_require__(1685);var _isIterable3=_interopRequireDefault(_isIterable2);var _getIterator2=__webpack_require__(1688);var _getIterator3=_interopRequireDefault(_getIterator2);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=function(){function sliceIterator(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=(0,_getIterator3.default)(arr);!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{!_n&&_i["return"]&&_i["return"]()}finally{if(_d)throw _e}}return _arr}return function(arr,i){if(Array.isArray(arr))return arr;if((0,_isIterable3.default)(Object(arr)))return sliceIterator(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(1686),__esModule:true}},function(module,exports,__webpack_require__){__webpack_require__(311);__webpack_require__(308);module.exports=__webpack_require__(1687)},function(module,exports,__webpack_require__){var classof=__webpack_require__(432);var ITERATOR=__webpack_require__(65)("iterator");var Iterators=__webpack_require__(189);module.exports=__webpack_require__(46).isIterable=function(it){var O=Object(it);return void 0!==O[ITERATOR]||"@@iterator"in O||Iterators.hasOwnProperty(classof(O))}},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(1689),__esModule:true}},function(module,exports,__webpack_require__){__webpack_require__(311);__webpack_require__(308);module.exports=__webpack_require__(1690)},function(module,exports,__webpack_require__){var anObject=__webpack_require__(105);var get=__webpack_require__(682);module.exports=__webpack_require__(46).getIterator=function(it){var iterFn=get(it);if("function"!=typeof iterFn)throw TypeError(it+" is not iterable!");return anObject(iterFn.call(it))}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=createWrapper;var _binarySearchBounds=__webpack_require__(1692);var _binarySearchBounds2=_interopRequireDefault(_binarySearchBounds);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var NOT_FOUND=0;var SUCCESS=1;var EMPTY=2;function IntervalTreeNode(mid,left,right,leftPoints,rightPoints){this.mid=mid;this.left=left;this.right=right;this.leftPoints=leftPoints;this.rightPoints=rightPoints;this.count=(left?left.count:0)+(right?right.count:0)+leftPoints.length}var proto=IntervalTreeNode.prototype;function copy(a,b){a.mid=b.mid;a.left=b.left;a.right=b.right;a.leftPoints=b.leftPoints;a.rightPoints=b.rightPoints;a.count=b.count}function rebuild(node,intervals){var ntree=createIntervalTree(intervals);node.mid=ntree.mid;node.left=ntree.left;node.right=ntree.right;node.leftPoints=ntree.leftPoints;node.rightPoints=ntree.rightPoints;node.count=ntree.count}function rebuildWithInterval(node,interval){var intervals=node.intervals([]);intervals.push(interval);rebuild(node,intervals)}function rebuildWithoutInterval(node,interval){var intervals=node.intervals([]);var idx=intervals.indexOf(interval);if(idx<0)return NOT_FOUND;intervals.splice(idx,1);rebuild(node,intervals);return SUCCESS}proto.intervals=function(result){result.push.apply(result,this.leftPoints);this.left&&this.left.intervals(result);this.right&&this.right.intervals(result);return result};proto.insert=function(interval){var weight=this.count-this.leftPoints.length;this.count+=1;if(interval[1]<this.mid)this.left?4*(this.left.count+1)>3*(weight+1)?rebuildWithInterval(this,interval):this.left.insert(interval):this.left=createIntervalTree([interval]);else if(interval[0]>this.mid)this.right?4*(this.right.count+1)>3*(weight+1)?rebuildWithInterval(this,interval):this.right.insert(interval):this.right=createIntervalTree([interval]);else{var l=_binarySearchBounds2.default.ge(this.leftPoints,interval,compareBegin);var r=_binarySearchBounds2.default.ge(this.rightPoints,interval,compareEnd);this.leftPoints.splice(l,0,interval);this.rightPoints.splice(r,0,interval)}};proto.remove=function(interval){var weight=this.count-this.leftPoints;if(interval[1]<this.mid){if(!this.left)return NOT_FOUND;var rw=this.right?this.right.count:0;if(4*rw>3*(weight-1))return rebuildWithoutInterval(this,interval);var r=this.left.remove(interval);if(r===EMPTY){this.left=null;this.count-=1;return SUCCESS}r===SUCCESS&&(this.count-=1);return r}if(interval[0]>this.mid){if(!this.right)return NOT_FOUND;var lw=this.left?this.left.count:0;if(4*lw>3*(weight-1))return rebuildWithoutInterval(this,interval);r=this.right.remove(interval);if(r===EMPTY){this.right=null;this.count-=1;return SUCCESS}r===SUCCESS&&(this.count-=1);return r}if(1===this.count)return this.leftPoints[0]===interval?EMPTY:NOT_FOUND;if(1===this.leftPoints.length&&this.leftPoints[0]===interval){if(this.left&&this.right){var p=this;var n=this.left;while(n.right){p=n;n=n.right}if(p===this)n.right=this.right;else{var l=this.left;r=this.right;p.count-=n.count;p.right=n.left;n.left=l;n.right=r}copy(this,n);this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?copy(this,this.left):copy(this,this.right);return SUCCESS}for(l=_binarySearchBounds2.default.ge(this.leftPoints,interval,compareBegin);l<this.leftPoints.length;++l){if(this.leftPoints[l][0]!==interval[0])break;if(this.leftPoints[l]===interval){this.count-=1;this.leftPoints.splice(l,1);for(r=_binarySearchBounds2.default.ge(this.rightPoints,interval,compareEnd);r<this.rightPoints.length;++r){if(this.rightPoints[r][1]!==interval[1])break;if(this.rightPoints[r]===interval){this.rightPoints.splice(r,1);return SUCCESS}}}}return NOT_FOUND};function reportLeftRange(arr,hi,cb){for(var i=0;i<arr.length&&arr[i][0]<=hi;++i){var r=cb(arr[i]);if(r)return r}}function reportRightRange(arr,lo,cb){for(var i=arr.length-1;i>=0&&arr[i][1]>=lo;--i){var r=cb(arr[i]);if(r)return r}}function reportRange(arr,cb){for(var i=0;i<arr.length;++i){var r=cb(arr[i]);if(r)return r}}proto.queryPoint=function(x,cb){if(x<this.mid){if(this.left){var r=this.left.queryPoint(x,cb);if(r)return r}return reportLeftRange(this.leftPoints,x,cb)}if(x>this.mid){if(this.right){r=this.right.queryPoint(x,cb);if(r)return r}return reportRightRange(this.rightPoints,x,cb)}return reportRange(this.leftPoints,cb)};proto.queryInterval=function(lo,hi,cb){if(lo<this.mid&&this.left){var r=this.left.queryInterval(lo,hi,cb);if(r)return r}if(hi>this.mid&&this.right){r=this.right.queryInterval(lo,hi,cb);if(r)return r}return hi<this.mid?reportLeftRange(this.leftPoints,hi,cb):lo>this.mid?reportRightRange(this.rightPoints,lo,cb):reportRange(this.leftPoints,cb)};function compareNumbers(a,b){return a-b}function compareBegin(a,b){var d=a[0]-b[0];if(d)return d;return a[1]-b[1]}function compareEnd(a,b){var d=a[1]-b[1];if(d)return d;return a[0]-b[0]}function createIntervalTree(intervals){if(0===intervals.length)return null;var pts=[];for(var i=0;i<intervals.length;++i)pts.push(intervals[i][0],intervals[i][1]);pts.sort(compareNumbers);var mid=pts[pts.length>>1];var leftIntervals=[];var rightIntervals=[];var centerIntervals=[];for(i=0;i<intervals.length;++i){var s=intervals[i];s[1]<mid?leftIntervals.push(s):mid<s[0]?rightIntervals.push(s):centerIntervals.push(s)}var leftPoints=centerIntervals;var rightPoints=centerIntervals.slice();leftPoints.sort(compareBegin);rightPoints.sort(compareEnd);return new IntervalTreeNode(mid,createIntervalTree(leftIntervals),createIntervalTree(rightIntervals),leftPoints,rightPoints)}function IntervalTree(root){this.root=root}var tproto=IntervalTree.prototype;tproto.insert=function(interval){this.root?this.root.insert(interval):this.root=new IntervalTreeNode(interval[0],null,null,[interval],[interval])};tproto.remove=function(interval){if(this.root){var r=this.root.remove(interval);r===EMPTY&&(this.root=null);return r!==NOT_FOUND}return false};tproto.queryPoint=function(p,cb){if(this.root)return this.root.queryPoint(p,cb)};tproto.queryInterval=function(lo,hi,cb){if(lo<=hi&&this.root)return this.root.queryInterval(lo,hi,cb)};Object.defineProperty(tproto,"count",{get:function get(){if(this.root)return this.root.count;return 0}});Object.defineProperty(tproto,"intervals",{get:function get(){if(this.root)return this.root.intervals([]);return[]}});function createWrapper(intervals){if(!intervals||0===intervals.length)return new IntervalTree(null);return new IntervalTree(createIntervalTree(intervals))}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function _GEA(a,l,h,y){var i=h+1;while(l<=h){var m=l+h>>>1,x=a[m];if(x>=y){i=m;h=m-1}else l=m+1}return i}function _GEP(a,l,h,y,c){var i=h+1;while(l<=h){var m=l+h>>>1,x=a[m];if(c(x,y)>=0){i=m;h=m-1}else l=m+1}return i}function dispatchBsearchGE(a,y,c,l,h){return"function"===typeof c?_GEP(a,void 0===l?0:0|l,void 0===h?a.length-1:0|h,y,c):_GEA(a,void 0===c?0:0|c,void 0===l?a.length-1:0|l,y)}function _GTA(a,l,h,y){var i=h+1;while(l<=h){var m=l+h>>>1,x=a[m];if(x>y){i=m;h=m-1}else l=m+1}return i}function _GTP(a,l,h,y,c){var i=h+1;while(l<=h){var m=l+h>>>1,x=a[m];if(c(x,y)>0){i=m;h=m-1}else l=m+1}return i}function dispatchBsearchGT(a,y,c,l,h){return"function"===typeof c?_GTP(a,void 0===l?0:0|l,void 0===h?a.length-1:0|h,y,c):_GTA(a,void 0===c?0:0|c,void 0===l?a.length-1:0|l,y)}function _LTA(a,l,h,y){var i=l-1;while(l<=h){var m=l+h>>>1,x=a[m];if(x<y){i=m;l=m+1}else h=m-1}return i}function _LTP(a,l,h,y,c){var i=l-1;while(l<=h){var m=l+h>>>1,x=a[m];if(c(x,y)<0){i=m;l=m+1}else h=m-1}return i}function dispatchBsearchLT(a,y,c,l,h){return"function"===typeof c?_LTP(a,void 0===l?0:0|l,void 0===h?a.length-1:0|h,y,c):_LTA(a,void 0===c?0:0|c,void 0===l?a.length-1:0|l,y)}function _LEA(a,l,h,y){var i=l-1;while(l<=h){var m=l+h>>>1,x=a[m];if(x<=y){i=m;l=m+1}else h=m-1}return i}function _LEP(a,l,h,y,c){var i=l-1;while(l<=h){var m=l+h>>>1,x=a[m];if(c(x,y)<=0){i=m;l=m+1}else h=m-1}return i}function dispatchBsearchLE(a,y,c,l,h){return"function"===typeof c?_LEP(a,void 0===l?0:0|l,void 0===h?a.length-1:0|h,y,c):_LEA(a,void 0===c?0:0|c,void 0===l?a.length-1:0|l,y)}function _EQA(a,l,h,y){l-1;while(l<=h){var m=l+h>>>1,x=a[m];if(x===y)return m;x<=y?l=m+1:h=m-1}return-1}function _EQP(a,l,h,y,c){l-1;while(l<=h){var m=l+h>>>1,x=a[m];var p=c(x,y);if(0===p)return m;p<=0?l=m+1:h=m-1}return-1}function dispatchBsearchEQ(a,y,c,l,h){return"function"===typeof c?_EQP(a,void 0===l?0:0|l,void 0===h?a.length-1:0|h,y,c):_EQA(a,void 0===c?0:0|c,void 0===l?a.length-1:0|l,y)}exports.default={ge:dispatchBsearchGE,gt:dispatchBsearchGT,lt:dispatchBsearchLT,le:dispatchBsearchLE,eq:dispatchBsearchEQ}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.MultiGrid=void 0;var _MultiGrid=__webpack_require__(1694);var _MultiGrid2=_interopRequireDefault(_MultiGrid);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_MultiGrid2.default;exports.MultiGrid=_MultiGrid2.default},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);var _objectWithoutProperties2=__webpack_require__(429);var _objectWithoutProperties3=_interopRequireDefault(_objectWithoutProperties2);var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _reactLifecyclesCompat=__webpack_require__(241);var _CellMeasurerCacheDecorator=__webpack_require__(1695);var _CellMeasurerCacheDecorator2=_interopRequireDefault(_CellMeasurerCacheDecorator);var _Grid=__webpack_require__(242);var _Grid2=_interopRequireDefault(_Grid);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var SCROLLBAR_SIZE_BUFFER=20;var MultiGrid=function(_React$PureComponent){(0,_inherits3.default)(MultiGrid,_React$PureComponent);function MultiGrid(props,context){(0,_classCallCheck3.default)(this,MultiGrid);var _this=(0,_possibleConstructorReturn3.default)(this,(MultiGrid.__proto__||(0,_getPrototypeOf2.default)(MultiGrid)).call(this,props,context));_initialiseProps.call(_this);var deferredMeasurementCache=props.deferredMeasurementCache,fixedColumnCount=props.fixedColumnCount,fixedRowCount=props.fixedRowCount;_this._maybeCalculateCachedStyles(true);if(deferredMeasurementCache){_this._deferredMeasurementCacheBottomLeftGrid=fixedRowCount>0?new _CellMeasurerCacheDecorator2.default({cellMeasurerCache:deferredMeasurementCache,columnIndexOffset:0,rowIndexOffset:fixedRowCount}):deferredMeasurementCache;_this._deferredMeasurementCacheBottomRightGrid=fixedColumnCount>0||fixedRowCount>0?new _CellMeasurerCacheDecorator2.default({cellMeasurerCache:deferredMeasurementCache,columnIndexOffset:fixedColumnCount,rowIndexOffset:fixedRowCount}):deferredMeasurementCache;_this._deferredMeasurementCacheTopRightGrid=fixedColumnCount>0?new _CellMeasurerCacheDecorator2.default({cellMeasurerCache:deferredMeasurementCache,columnIndexOffset:fixedColumnCount,rowIndexOffset:0}):deferredMeasurementCache}return _this}(0,_createClass3.default)(MultiGrid,[{key:"forceUpdateGrids",value:function forceUpdateGrids(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate();this._bottomRightGrid&&this._bottomRightGrid.forceUpdate();this._topLeftGrid&&this._topLeftGrid.forceUpdate();this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function invalidateCellSizeAfterRender(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref$columnIndex=_ref.columnIndex,columnIndex=void 0===_ref$columnIndex?0:_ref$columnIndex,_ref$rowIndex=_ref.rowIndex,rowIndex=void 0===_ref$rowIndex?0:_ref$rowIndex;this._deferredInvalidateColumnIndex="number"===typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,columnIndex):columnIndex;this._deferredInvalidateRowIndex="number"===typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,rowIndex):rowIndex}},{key:"measureAllCells",value:function measureAllCells(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells();this._bottomRightGrid&&this._bottomRightGrid.measureAllCells();this._topLeftGrid&&this._topLeftGrid.measureAllCells();this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function recomputeGridSize(){var _ref2=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref2$columnIndex=_ref2.columnIndex,columnIndex=void 0===_ref2$columnIndex?0:_ref2$columnIndex,_ref2$rowIndex=_ref2.rowIndex,rowIndex=void 0===_ref2$rowIndex?0:_ref2$rowIndex;var _props=this.props,fixedColumnCount=_props.fixedColumnCount,fixedRowCount=_props.fixedRowCount;var adjustedColumnIndex=Math.max(0,columnIndex-fixedColumnCount);var adjustedRowIndex=Math.max(0,rowIndex-fixedRowCount);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:columnIndex,rowIndex:adjustedRowIndex});this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:adjustedColumnIndex,rowIndex:adjustedRowIndex});this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:columnIndex,rowIndex:rowIndex});this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:adjustedColumnIndex,rowIndex:rowIndex});this._leftGridWidth=null;this._topGridHeight=null;this._maybeCalculateCachedStyles(true)}},{key:"componentDidMount",value:function componentDidMount(){var _props2=this.props,scrollLeft=_props2.scrollLeft,scrollTop=_props2.scrollTop;if(scrollLeft>0||scrollTop>0){var newState={};scrollLeft>0&&(newState.scrollLeft=scrollLeft);scrollTop>0&&(newState.scrollTop=scrollTop);this.setState(newState)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function componentDidUpdate(){this._handleInvalidatedGridSize()}},{key:"render",value:function render(){var _props3=this.props,onScroll=_props3.onScroll,onSectionRendered=_props3.onSectionRendered,scrollToColumn=(_props3.onScrollbarPresenceChange,_props3.scrollLeft,_props3.scrollToColumn),scrollToRow=(_props3.scrollTop,_props3.scrollToRow),rest=(0,_objectWithoutProperties3.default)(_props3,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);this._prepareForRender();if(0===this.props.width||0===this.props.height)return null;var _state=this.state,scrollLeft=_state.scrollLeft,scrollTop=_state.scrollTop;return React.createElement("div",{style:this._containerOuterStyle},React.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(rest),this._renderTopRightGrid((0,_extends3.default)({},rest,{onScroll:onScroll,scrollLeft:scrollLeft}))),React.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid((0,_extends3.default)({},rest,{onScroll:onScroll,scrollTop:scrollTop})),this._renderBottomRightGrid((0,_extends3.default)({},rest,{onScroll:onScroll,onSectionRendered:onSectionRendered,scrollLeft:scrollLeft,scrollToColumn:scrollToColumn,scrollToRow:scrollToRow,scrollTop:scrollTop}))))}},{key:"_getBottomGridHeight",value:function _getBottomGridHeight(props){var height=props.height;var topGridHeight=this._getTopGridHeight(props);return height-topGridHeight}},{key:"_getLeftGridWidth",value:function _getLeftGridWidth(props){var fixedColumnCount=props.fixedColumnCount,columnWidth=props.columnWidth;if(null==this._leftGridWidth)if("function"===typeof columnWidth){var leftGridWidth=0;for(var index=0;index<fixedColumnCount;index++)leftGridWidth+=columnWidth({index:index});this._leftGridWidth=leftGridWidth}else this._leftGridWidth=columnWidth*fixedColumnCount;return this._leftGridWidth}},{key:"_getRightGridWidth",value:function _getRightGridWidth(props){var width=props.width;var leftGridWidth=this._getLeftGridWidth(props);return width-leftGridWidth}},{key:"_getTopGridHeight",value:function _getTopGridHeight(props){var fixedRowCount=props.fixedRowCount,rowHeight=props.rowHeight;if(null==this._topGridHeight)if("function"===typeof rowHeight){var topGridHeight=0;for(var index=0;index<fixedRowCount;index++)topGridHeight+=rowHeight({index:index});this._topGridHeight=topGridHeight}else this._topGridHeight=rowHeight*fixedRowCount;return this._topGridHeight}},{key:"_handleInvalidatedGridSize",value:function _handleInvalidatedGridSize(){if("number"===typeof this._deferredInvalidateColumnIndex){var columnIndex=this._deferredInvalidateColumnIndex;var rowIndex=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null;this._deferredInvalidateRowIndex=null;this.recomputeGridSize({columnIndex:columnIndex,rowIndex:rowIndex});this.forceUpdate()}}},{key:"_maybeCalculateCachedStyles",value:function _maybeCalculateCachedStyles(resetAll){var _props4=this.props,columnWidth=_props4.columnWidth,enableFixedColumnScroll=_props4.enableFixedColumnScroll,enableFixedRowScroll=_props4.enableFixedRowScroll,height=_props4.height,fixedColumnCount=_props4.fixedColumnCount,fixedRowCount=_props4.fixedRowCount,rowHeight=_props4.rowHeight,style=_props4.style,styleBottomLeftGrid=_props4.styleBottomLeftGrid,styleBottomRightGrid=_props4.styleBottomRightGrid,styleTopLeftGrid=_props4.styleTopLeftGrid,styleTopRightGrid=_props4.styleTopRightGrid,width=_props4.width;var sizeChange=resetAll||height!==this._lastRenderedHeight||width!==this._lastRenderedWidth;var leftSizeChange=resetAll||columnWidth!==this._lastRenderedColumnWidth||fixedColumnCount!==this._lastRenderedFixedColumnCount;var topSizeChange=resetAll||fixedRowCount!==this._lastRenderedFixedRowCount||rowHeight!==this._lastRenderedRowHeight;(resetAll||sizeChange||style!==this._lastRenderedStyle)&&(this._containerOuterStyle=(0,_extends3.default)({height:height,overflow:"visible",width:width},style));if(resetAll||sizeChange||topSizeChange){this._containerTopStyle={height:this._getTopGridHeight(this.props),position:"relative",width:width};this._containerBottomStyle={height:height-this._getTopGridHeight(this.props),overflow:"visible",position:"relative",width:width}}(resetAll||styleBottomLeftGrid!==this._lastRenderedStyleBottomLeftGrid)&&(this._bottomLeftGridStyle=(0,_extends3.default)({left:0,overflowX:"hidden",overflowY:enableFixedColumnScroll?"auto":"hidden",position:"absolute"},styleBottomLeftGrid));(resetAll||leftSizeChange||styleBottomRightGrid!==this._lastRenderedStyleBottomRightGrid)&&(this._bottomRightGridStyle=(0,_extends3.default)({left:this._getLeftGridWidth(this.props),position:"absolute"},styleBottomRightGrid));(resetAll||styleTopLeftGrid!==this._lastRenderedStyleTopLeftGrid)&&(this._topLeftGridStyle=(0,_extends3.default)({left:0,overflowX:"hidden",overflowY:"hidden",position:"absolute",top:0},styleTopLeftGrid));(resetAll||leftSizeChange||styleTopRightGrid!==this._lastRenderedStyleTopRightGrid)&&(this._topRightGridStyle=(0,_extends3.default)({left:this._getLeftGridWidth(this.props),overflowX:enableFixedRowScroll?"auto":"hidden",overflowY:"hidden",position:"absolute",top:0},styleTopRightGrid));this._lastRenderedColumnWidth=columnWidth;this._lastRenderedFixedColumnCount=fixedColumnCount;this._lastRenderedFixedRowCount=fixedRowCount;this._lastRenderedHeight=height;this._lastRenderedRowHeight=rowHeight;this._lastRenderedStyle=style;this._lastRenderedStyleBottomLeftGrid=styleBottomLeftGrid;this._lastRenderedStyleBottomRightGrid=styleBottomRightGrid;this._lastRenderedStyleTopLeftGrid=styleTopLeftGrid;this._lastRenderedStyleTopRightGrid=styleTopRightGrid;this._lastRenderedWidth=width}},{key:"_prepareForRender",value:function _prepareForRender(){this._lastRenderedColumnWidth===this.props.columnWidth&&this._lastRenderedFixedColumnCount===this.props.fixedColumnCount||(this._leftGridWidth=null);this._lastRenderedFixedRowCount===this.props.fixedRowCount&&this._lastRenderedRowHeight===this.props.rowHeight||(this._topGridHeight=null);this._maybeCalculateCachedStyles();this._lastRenderedColumnWidth=this.props.columnWidth;this._lastRenderedFixedColumnCount=this.props.fixedColumnCount;this._lastRenderedFixedRowCount=this.props.fixedRowCount;this._lastRenderedRowHeight=this.props.rowHeight}},{key:"_renderBottomLeftGrid",value:function _renderBottomLeftGrid(props){var enableFixedColumnScroll=props.enableFixedColumnScroll,fixedColumnCount=props.fixedColumnCount,fixedRowCount=props.fixedRowCount,rowCount=props.rowCount,hideBottomLeftGridScrollbar=props.hideBottomLeftGridScrollbar;var showVerticalScrollbar=this.state.showVerticalScrollbar;if(!fixedColumnCount)return null;var additionalRowCount=showVerticalScrollbar?1:0,height=this._getBottomGridHeight(props),width=this._getLeftGridWidth(props),scrollbarSize=this.state.showVerticalScrollbar?this.state.scrollbarSize:0,gridWidth=hideBottomLeftGridScrollbar?width+scrollbarSize:width;var bottomLeftGrid=React.createElement(_Grid2.default,(0,_extends3.default)({},props,{cellRenderer:this._cellRendererBottomLeftGrid,className:this.props.classNameBottomLeftGrid,columnCount:fixedColumnCount,deferredMeasurementCache:this._deferredMeasurementCacheBottomLeftGrid,height:height,onScroll:enableFixedColumnScroll?this._onScrollTop:void 0,ref:this._bottomLeftGridRef,rowCount:Math.max(0,rowCount-fixedRowCount)+additionalRowCount,rowHeight:this._rowHeightBottomGrid,style:this._bottomLeftGridStyle,tabIndex:null,width:gridWidth}));if(hideBottomLeftGridScrollbar)return React.createElement("div",{className:"BottomLeftGrid_ScrollWrapper",style:(0,_extends3.default)({},this._bottomLeftGridStyle,{height:height,width:width,overflowY:"hidden"})},bottomLeftGrid);return bottomLeftGrid}},{key:"_renderBottomRightGrid",value:function _renderBottomRightGrid(props){var columnCount=props.columnCount,fixedColumnCount=props.fixedColumnCount,fixedRowCount=props.fixedRowCount,rowCount=props.rowCount,scrollToColumn=props.scrollToColumn,scrollToRow=props.scrollToRow;return React.createElement(_Grid2.default,(0,_extends3.default)({},props,{cellRenderer:this._cellRendererBottomRightGrid,className:this.props.classNameBottomRightGrid,columnCount:Math.max(0,columnCount-fixedColumnCount),columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheBottomRightGrid,height:this._getBottomGridHeight(props),onScroll:this._onScroll,onScrollbarPresenceChange:this._onScrollbarPresenceChange,ref:this._bottomRightGridRef,rowCount:Math.max(0,rowCount-fixedRowCount),rowHeight:this._rowHeightBottomGrid,scrollToColumn:scrollToColumn-fixedColumnCount,scrollToRow:scrollToRow-fixedRowCount,style:this._bottomRightGridStyle,width:this._getRightGridWidth(props)}))}},{key:"_renderTopLeftGrid",value:function _renderTopLeftGrid(props){var fixedColumnCount=props.fixedColumnCount,fixedRowCount=props.fixedRowCount;if(!fixedColumnCount||!fixedRowCount)return null;return React.createElement(_Grid2.default,(0,_extends3.default)({},props,{className:this.props.classNameTopLeftGrid,columnCount:fixedColumnCount,height:this._getTopGridHeight(props),ref:this._topLeftGridRef,rowCount:fixedRowCount,style:this._topLeftGridStyle,tabIndex:null,width:this._getLeftGridWidth(props)}))}},{key:"_renderTopRightGrid",value:function _renderTopRightGrid(props){var columnCount=props.columnCount,enableFixedRowScroll=props.enableFixedRowScroll,fixedColumnCount=props.fixedColumnCount,fixedRowCount=props.fixedRowCount,scrollLeft=props.scrollLeft,hideTopRightGridScrollbar=props.hideTopRightGridScrollbar;var _state2=this.state,showHorizontalScrollbar=_state2.showHorizontalScrollbar,scrollbarSize=_state2.scrollbarSize;if(!fixedRowCount)return null;var additionalColumnCount=showHorizontalScrollbar?1:0,height=this._getTopGridHeight(props),width=this._getRightGridWidth(props),additionalHeight=showHorizontalScrollbar?scrollbarSize:0;var gridHeight=height,style=this._topRightGridStyle;if(hideTopRightGridScrollbar){gridHeight=height+additionalHeight;style=(0,_extends3.default)({},this._topRightGridStyle,{left:0})}var topRightGrid=React.createElement(_Grid2.default,(0,_extends3.default)({},props,{cellRenderer:this._cellRendererTopRightGrid,className:this.props.classNameTopRightGrid,columnCount:Math.max(0,columnCount-fixedColumnCount)+additionalColumnCount,columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheTopRightGrid,height:gridHeight,onScroll:enableFixedRowScroll?this._onScrollLeft:void 0,ref:this._topRightGridRef,rowCount:fixedRowCount,scrollLeft:scrollLeft,style:style,tabIndex:null,width:width}));if(hideTopRightGridScrollbar)return React.createElement("div",{className:"TopRightGrid_ScrollWrapper",style:(0,_extends3.default)({},this._topRightGridStyle,{height:height,width:width,overflowX:"hidden"})},topRightGrid);return topRightGrid}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,prevState){if(nextProps.scrollLeft!==prevState.scrollLeft||nextProps.scrollTop!==prevState.scrollTop)return{scrollLeft:null!=nextProps.scrollLeft&&nextProps.scrollLeft>=0?nextProps.scrollLeft:prevState.scrollLeft,scrollTop:null!=nextProps.scrollTop&&nextProps.scrollTop>=0?nextProps.scrollTop:prevState.scrollTop};return null}}]);return MultiGrid}(React.PureComponent);MultiGrid.defaultProps={classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:false,enableFixedRowScroll:false,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:false,hideBottomLeftGridScrollbar:false};var _initialiseProps=function _initialiseProps(){var _this2=this;this.state={scrollLeft:0,scrollTop:0,scrollbarSize:0,showHorizontalScrollbar:false,showVerticalScrollbar:false};this._deferredInvalidateColumnIndex=null;this._deferredInvalidateRowIndex=null;this._bottomLeftGridRef=function(ref){_this2._bottomLeftGrid=ref};this._bottomRightGridRef=function(ref){_this2._bottomRightGrid=ref};this._cellRendererBottomLeftGrid=function(_ref3){var rowIndex=_ref3.rowIndex,rest=(0,_objectWithoutProperties3.default)(_ref3,["rowIndex"]);var _props5=_this2.props,cellRenderer=_props5.cellRenderer,fixedRowCount=_props5.fixedRowCount,rowCount=_props5.rowCount;return rowIndex===rowCount-fixedRowCount?React.createElement("div",{key:rest.key,style:(0,_extends3.default)({},rest.style,{height:SCROLLBAR_SIZE_BUFFER})}):cellRenderer((0,_extends3.default)({},rest,{parent:_this2,rowIndex:rowIndex+fixedRowCount}))};this._cellRendererBottomRightGrid=function(_ref4){var columnIndex=_ref4.columnIndex,rowIndex=_ref4.rowIndex,rest=(0,_objectWithoutProperties3.default)(_ref4,["columnIndex","rowIndex"]);var _props6=_this2.props,cellRenderer=_props6.cellRenderer,fixedColumnCount=_props6.fixedColumnCount,fixedRowCount=_props6.fixedRowCount;return cellRenderer((0,_extends3.default)({},rest,{columnIndex:columnIndex+fixedColumnCount,parent:_this2,rowIndex:rowIndex+fixedRowCount}))};this._cellRendererTopRightGrid=function(_ref5){var columnIndex=_ref5.columnIndex,rest=(0,_objectWithoutProperties3.default)(_ref5,["columnIndex"]);var _props7=_this2.props,cellRenderer=_props7.cellRenderer,columnCount=_props7.columnCount,fixedColumnCount=_props7.fixedColumnCount;return columnIndex===columnCount-fixedColumnCount?React.createElement("div",{key:rest.key,style:(0,_extends3.default)({},rest.style,{width:SCROLLBAR_SIZE_BUFFER})}):cellRenderer((0,_extends3.default)({},rest,{columnIndex:columnIndex+fixedColumnCount,parent:_this2}))};this._columnWidthRightGrid=function(_ref6){var index=_ref6.index;var _props8=_this2.props,columnCount=_props8.columnCount,fixedColumnCount=_props8.fixedColumnCount,columnWidth=_props8.columnWidth;var _state3=_this2.state,scrollbarSize=_state3.scrollbarSize,showHorizontalScrollbar=_state3.showHorizontalScrollbar;if(showHorizontalScrollbar&&index===columnCount-fixedColumnCount)return scrollbarSize;return"function"===typeof columnWidth?columnWidth({index:index+fixedColumnCount}):columnWidth};this._onScroll=function(scrollInfo){var scrollLeft=scrollInfo.scrollLeft,scrollTop=scrollInfo.scrollTop;_this2.setState({scrollLeft:scrollLeft,scrollTop:scrollTop});var onScroll=_this2.props.onScroll;onScroll&&onScroll(scrollInfo)};this._onScrollbarPresenceChange=function(_ref7){var horizontal=_ref7.horizontal,size=_ref7.size,vertical=_ref7.vertical;var _state4=_this2.state,showHorizontalScrollbar=_state4.showHorizontalScrollbar,showVerticalScrollbar=_state4.showVerticalScrollbar;if(horizontal!==showHorizontalScrollbar||vertical!==showVerticalScrollbar){_this2.setState({scrollbarSize:size,showHorizontalScrollbar:horizontal,showVerticalScrollbar:vertical});var onScrollbarPresenceChange=_this2.props.onScrollbarPresenceChange;"function"===typeof onScrollbarPresenceChange&&onScrollbarPresenceChange({horizontal:horizontal,size:size,vertical:vertical})}};this._onScrollLeft=function(scrollInfo){var scrollLeft=scrollInfo.scrollLeft;_this2._onScroll({scrollLeft:scrollLeft,scrollTop:_this2.state.scrollTop})};this._onScrollTop=function(scrollInfo){var scrollTop=scrollInfo.scrollTop;_this2._onScroll({scrollTop:scrollTop,scrollLeft:_this2.state.scrollLeft})};this._rowHeightBottomGrid=function(_ref8){var index=_ref8.index;var _props9=_this2.props,fixedRowCount=_props9.fixedRowCount,rowCount=_props9.rowCount,rowHeight=_props9.rowHeight;var _state5=_this2.state,scrollbarSize=_state5.scrollbarSize,showVerticalScrollbar=_state5.showVerticalScrollbar;if(showVerticalScrollbar&&index===rowCount-fixedRowCount)return scrollbarSize;return"function"===typeof rowHeight?rowHeight({index:index+fixedRowCount}):rowHeight};this._topLeftGridRef=function(ref){_this2._topLeftGrid=ref};this._topRightGridRef=function(ref){_this2._topRightGrid=ref}};MultiGrid.propTypes={};(0,_reactLifecyclesCompat.polyfill)(MultiGrid);exports.default=MultiGrid},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);__webpack_require__(689);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var CellMeasurerCacheDecorator=function(){function CellMeasurerCacheDecorator(){var _this=this;var params=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,_classCallCheck3.default)(this,CellMeasurerCacheDecorator);this.columnWidth=function(_ref){var index=_ref.index;_this._cellMeasurerCache.columnWidth({index:index+_this._columnIndexOffset})};this.rowHeight=function(_ref2){var index=_ref2.index;_this._cellMeasurerCache.rowHeight({index:index+_this._rowIndexOffset})};var cellMeasurerCache=params.cellMeasurerCache,_params$columnIndexOf=params.columnIndexOffset,columnIndexOffset=void 0===_params$columnIndexOf?0:_params$columnIndexOf,_params$rowIndexOffse=params.rowIndexOffset,rowIndexOffset=void 0===_params$rowIndexOffse?0:_params$rowIndexOffse;this._cellMeasurerCache=cellMeasurerCache;this._columnIndexOffset=columnIndexOffset;this._rowIndexOffset=rowIndexOffset}(0,_createClass3.default)(CellMeasurerCacheDecorator,[{key:"clear",value:function clear(rowIndex,columnIndex){this._cellMeasurerCache.clear(rowIndex+this._rowIndexOffset,columnIndex+this._columnIndexOffset)}},{key:"clearAll",value:function clearAll(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function hasFixedHeight(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function hasFixedWidth(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function getHeight(rowIndex){var columnIndex=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(rowIndex+this._rowIndexOffset,columnIndex+this._columnIndexOffset)}},{key:"getWidth",value:function getWidth(rowIndex){var columnIndex=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(rowIndex+this._rowIndexOffset,columnIndex+this._columnIndexOffset)}},{key:"has",value:function has(rowIndex){var columnIndex=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(rowIndex+this._rowIndexOffset,columnIndex+this._columnIndexOffset)}},{key:"set",value:function set(rowIndex,columnIndex,width,height){this._cellMeasurerCache.set(rowIndex+this._rowIndexOffset,columnIndex+this._columnIndexOffset,width,height)}},{key:"defaultHeight",get:function get(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function get(){return this._cellMeasurerCache.defaultWidth}}]);return CellMeasurerCacheDecorator}();exports.default=CellMeasurerCacheDecorator},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ScrollSync=void 0;var _ScrollSync=__webpack_require__(1697);var _ScrollSync2=_interopRequireDefault(_ScrollSync);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_ScrollSync2.default;exports.ScrollSync=_ScrollSync2.default},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ScrollSync=function(_React$PureComponent){(0,_inherits3.default)(ScrollSync,_React$PureComponent);function ScrollSync(props,context){(0,_classCallCheck3.default)(this,ScrollSync);var _this=(0,_possibleConstructorReturn3.default)(this,(ScrollSync.__proto__||(0,_getPrototypeOf2.default)(ScrollSync)).call(this,props,context));_this.state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0};_this._onScroll=_this._onScroll.bind(_this);return _this}(0,_createClass3.default)(ScrollSync,[{key:"render",value:function render(){var children=this.props.children;var _state=this.state,clientHeight=_state.clientHeight,clientWidth=_state.clientWidth,scrollHeight=_state.scrollHeight,scrollLeft=_state.scrollLeft,scrollTop=_state.scrollTop,scrollWidth=_state.scrollWidth;return children({clientHeight:clientHeight,clientWidth:clientWidth,onScroll:this._onScroll,scrollHeight:scrollHeight,scrollLeft:scrollLeft,scrollTop:scrollTop,scrollWidth:scrollWidth})}},{key:"_onScroll",value:function _onScroll(_ref){var clientHeight=_ref.clientHeight,clientWidth=_ref.clientWidth,scrollHeight=_ref.scrollHeight,scrollLeft=_ref.scrollLeft,scrollTop=_ref.scrollTop,scrollWidth=_ref.scrollWidth;this.setState({clientHeight:clientHeight,clientWidth:clientWidth,scrollHeight:scrollHeight,scrollLeft:scrollLeft,scrollTop:scrollTop,scrollWidth:scrollWidth})}}]);return ScrollSync}(React.PureComponent);exports.default=ScrollSync;ScrollSync.propTypes={}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Table=exports.SortIndicator=exports.SortDirection=exports.Column=exports.defaultRowRenderer=exports.defaultHeaderRenderer=exports.defaultHeaderRowRenderer=exports.defaultCellRenderer=exports.defaultCellDataGetter=exports.createMultiSort=void 0;var _createMultiSort=__webpack_require__(1699);var _createMultiSort2=_interopRequireDefault(_createMultiSort);var _defaultCellDataGetter=__webpack_require__(694);var _defaultCellDataGetter2=_interopRequireDefault(_defaultCellDataGetter);var _defaultCellRenderer=__webpack_require__(695);var _defaultCellRenderer2=_interopRequireDefault(_defaultCellRenderer);var _defaultHeaderRowRenderer=__webpack_require__(696);var _defaultHeaderRowRenderer2=_interopRequireDefault(_defaultHeaderRowRenderer);var _defaultHeaderRenderer=__webpack_require__(697);var _defaultHeaderRenderer2=_interopRequireDefault(_defaultHeaderRenderer);var _defaultRowRenderer=__webpack_require__(699);var _defaultRowRenderer2=_interopRequireDefault(_defaultRowRenderer);var _Column=__webpack_require__(700);var _Column2=_interopRequireDefault(_Column);var _SortDirection=__webpack_require__(313);var _SortDirection2=_interopRequireDefault(_SortDirection);var _SortIndicator=__webpack_require__(698);var _SortIndicator2=_interopRequireDefault(_SortIndicator);var _Table=__webpack_require__(1700);var _Table2=_interopRequireDefault(_Table);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_Table2.default;exports.createMultiSort=_createMultiSort2.default;exports.defaultCellDataGetter=_defaultCellDataGetter2.default;exports.defaultCellRenderer=_defaultCellRenderer2.default;exports.defaultHeaderRowRenderer=_defaultHeaderRowRenderer2.default;exports.defaultHeaderRenderer=_defaultHeaderRenderer2.default;exports.defaultRowRenderer=_defaultRowRenderer2.default;exports.Column=_Column2.default;exports.SortDirection=_SortDirection2.default;exports.SortIndicator=_SortIndicator2.default;exports.Table=_Table2.default},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=createMultiSort;function createMultiSort(sortCallback){var _ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},defaultSortBy=_ref.defaultSortBy,_ref$defaultSortDirec=_ref.defaultSortDirection,defaultSortDirection=void 0===_ref$defaultSortDirec?{}:_ref$defaultSortDirec;if(!sortCallback)throw Error('Required parameter "sortCallback" not specified');var sortBy=defaultSortBy||[];var sortDirection={};sortBy.forEach(function(dataKey){sortDirection[dataKey]=defaultSortDirection.hasOwnProperty(dataKey)?defaultSortDirection[dataKey]:"ASC"});function sort(_ref2){var defaultSortDirection=_ref2.defaultSortDirection,event=_ref2.event,dataKey=_ref2.sortBy;if(event.shiftKey)if(sortDirection.hasOwnProperty(dataKey))sortDirection[dataKey]="ASC"===sortDirection[dataKey]?"DESC":"ASC";else{sortDirection[dataKey]=defaultSortDirection;sortBy.push(dataKey)}else if(event.ctrlKey||event.metaKey){var index=sortBy.indexOf(dataKey);if(index>=0){sortBy.splice(index,1);delete sortDirection[dataKey]}}else{sortBy.length=0;sortBy.push(dataKey);sortDirection.hasOwnProperty(dataKey)?sortDirection[dataKey]="ASC"===sortDirection[dataKey]?"DESC":"ASC":sortDirection[dataKey]=defaultSortDirection}sortCallback({sortBy:sortBy,sortDirection:sortDirection})}return{sort:sort,sortBy:sortBy,sortDirection:sortDirection}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);var _getPrototypeOf=__webpack_require__(61);var _getPrototypeOf2=_interopRequireDefault(_getPrototypeOf);var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _classnames=__webpack_require__(6);var _classnames2=_interopRequireDefault(_classnames);var _Column=__webpack_require__(700);_interopRequireDefault(_Column);var _propTypes=__webpack_require__(32);_interopRequireDefault(_propTypes);var _react=__webpack_require__(0);var React=_interopRequireWildcard(_react);var _reactDom=__webpack_require__(72);var _Grid2=__webpack_require__(242);var _Grid3=_interopRequireDefault(_Grid2);var _defaultRowRenderer=__webpack_require__(699);var _defaultRowRenderer2=_interopRequireDefault(_defaultRowRenderer);var _defaultHeaderRowRenderer=__webpack_require__(696);var _defaultHeaderRowRenderer2=_interopRequireDefault(_defaultHeaderRowRenderer);var _SortDirection=__webpack_require__(313);var _SortDirection2=_interopRequireDefault(_SortDirection);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var Table=function(_React$PureComponent){(0,_inherits3.default)(Table,_React$PureComponent);function Table(props){(0,_classCallCheck3.default)(this,Table);var _this=(0,_possibleConstructorReturn3.default)(this,(Table.__proto__||(0,_getPrototypeOf2.default)(Table)).call(this,props));_this.state={scrollbarWidth:0};_this._createColumn=_this._createColumn.bind(_this);_this._createRow=_this._createRow.bind(_this);_this._onScroll=_this._onScroll.bind(_this);_this._onSectionRendered=_this._onSectionRendered.bind(_this);_this._setRef=_this._setRef.bind(_this);return _this}(0,_createClass3.default)(Table,[{key:"forceUpdateGrid",value:function forceUpdateGrid(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function getOffsetForRow(_ref){var alignment=_ref.alignment,index=_ref.index;if(this.Grid){var _Grid$getOffsetForCel=this.Grid.getOffsetForCell({alignment:alignment,rowIndex:index}),scrollTop=_Grid$getOffsetForCel.scrollTop;return scrollTop}return 0}},{key:"invalidateCellSizeAfterRender",value:function invalidateCellSizeAfterRender(_ref2){var columnIndex=_ref2.columnIndex,rowIndex=_ref2.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:rowIndex,columnIndex:columnIndex})}},{key:"measureAllRows",value:function measureAllRows(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function recomputeGridSize(){var _ref3=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref3$columnIndex=_ref3.columnIndex,columnIndex=void 0===_ref3$columnIndex?0:_ref3$columnIndex,_ref3$rowIndex=_ref3.rowIndex,rowIndex=void 0===_ref3$rowIndex?0:_ref3$rowIndex;this.Grid&&this.Grid.recomputeGridSize({rowIndex:rowIndex,columnIndex:columnIndex})}},{key:"recomputeRowHeights",value:function recomputeRowHeights(){var index=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:index})}},{key:"scrollToPosition",value:function scrollToPosition(){var scrollTop=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:scrollTop})}},{key:"scrollToRow",value:function scrollToRow(){var index=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:index})}},{key:"componentDidMount",value:function componentDidMount(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function componentDidUpdate(){this._setScrollbarWidth()}},{key:"render",value:function render(){var _this2=this;var _props=this.props,children=_props.children,className=_props.className,disableHeader=_props.disableHeader,gridClassName=_props.gridClassName,gridStyle=_props.gridStyle,headerHeight=_props.headerHeight,headerRowRenderer=_props.headerRowRenderer,height=_props.height,id=_props.id,noRowsRenderer=_props.noRowsRenderer,rowClassName=_props.rowClassName,rowStyle=_props.rowStyle,scrollToIndex=_props.scrollToIndex,style=_props.style,width=_props.width;var scrollbarWidth=this.state.scrollbarWidth;var availableRowsHeight=disableHeader?height:height-headerHeight;var rowClass="function"===typeof rowClassName?rowClassName({index:-1}):rowClassName;var rowStyleObject="function"===typeof rowStyle?rowStyle({index:-1}):rowStyle;this._cachedColumnStyles=[];React.Children.toArray(children).forEach(function(column,index){var flexStyles=_this2._getFlexStyleForColumn(column,column.props.style);_this2._cachedColumnStyles[index]=(0,_extends3.default)({},flexStyles,{overflow:"hidden"})});return React.createElement("div",{className:(0,_classnames2.default)("ReactVirtualized__Table",className),id:id,role:"grid",style:style},!disableHeader&&headerRowRenderer({className:(0,_classnames2.default)("ReactVirtualized__Table__headerRow",rowClass),columns:this._getHeaderColumns(),style:(0,_extends3.default)({},rowStyleObject,{height:headerHeight,overflow:"hidden",paddingRight:scrollbarWidth,width:width})}),React.createElement(_Grid3.default,(0,_extends3.default)({},this.props,{autoContainerWidth:true,className:(0,_classnames2.default)("ReactVirtualized__Table__Grid",gridClassName),cellRenderer:this._createRow,columnWidth:width,columnCount:1,height:availableRowsHeight,id:void 0,noContentRenderer:noRowsRenderer,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:scrollbarWidth,scrollToRow:scrollToIndex,style:(0,_extends3.default)({},gridStyle,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function _createColumn(_ref4){var column=_ref4.column,columnIndex=_ref4.columnIndex,isScrolling=_ref4.isScrolling,parent=_ref4.parent,rowData=_ref4.rowData,rowIndex=_ref4.rowIndex;var _column$props=column.props,cellDataGetter=_column$props.cellDataGetter,cellRenderer=_column$props.cellRenderer,className=_column$props.className,columnData=_column$props.columnData,dataKey=_column$props.dataKey,id=_column$props.id;var cellData=cellDataGetter({columnData:columnData,dataKey:dataKey,rowData:rowData});var renderedCell=cellRenderer({cellData:cellData,columnData:columnData,columnIndex:columnIndex,dataKey:dataKey,isScrolling:isScrolling,parent:parent,rowData:rowData,rowIndex:rowIndex});var style=this._cachedColumnStyles[columnIndex];var title="string"===typeof renderedCell?renderedCell:null;return React.createElement("div",{"aria-describedby":id,className:(0,_classnames2.default)("ReactVirtualized__Table__rowColumn",className),key:"Row"+rowIndex+"-Col"+columnIndex,role:"gridcell",style:style,title:title},renderedCell)}},{key:"_createHeader",value:function _createHeader(_ref5){var column=_ref5.column,index=_ref5.index;var _props2=this.props,headerClassName=_props2.headerClassName,headerStyle=_props2.headerStyle,onHeaderClick=_props2.onHeaderClick,sort=_props2.sort,sortBy=_props2.sortBy,sortDirection=_props2.sortDirection;var _column$props2=column.props,columnData=_column$props2.columnData,dataKey=_column$props2.dataKey,defaultSortDirection=_column$props2.defaultSortDirection,disableSort=_column$props2.disableSort,headerRenderer=_column$props2.headerRenderer,id=_column$props2.id,label=_column$props2.label;var sortEnabled=!disableSort&&sort;var classNames=(0,_classnames2.default)("ReactVirtualized__Table__headerColumn",headerClassName,column.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:sortEnabled});var style=this._getFlexStyleForColumn(column,(0,_extends3.default)({},headerStyle,column.props.headerStyle));var renderedHeader=headerRenderer({columnData:columnData,dataKey:dataKey,disableSort:disableSort,label:label,sortBy:sortBy,sortDirection:sortDirection});var headerOnClick=void 0,headerOnKeyDown=void 0,headerTabIndex=void 0,headerAriaSort=void 0,headerAriaLabel=void 0;if(sortEnabled||onHeaderClick){var isFirstTimeSort=sortBy!==dataKey;var newSortDirection=isFirstTimeSort?defaultSortDirection:sortDirection===_SortDirection2.default.DESC?_SortDirection2.default.ASC:_SortDirection2.default.DESC;var onClick=function onClick(event){sortEnabled&&sort({defaultSortDirection:defaultSortDirection,event:event,sortBy:dataKey,sortDirection:newSortDirection});onHeaderClick&&onHeaderClick({columnData:columnData,dataKey:dataKey,event:event})};var onKeyDown=function onKeyDown(event){"Enter"!==event.key&&" "!==event.key||onClick(event)};headerAriaLabel=column.props["aria-label"]||label||dataKey;headerTabIndex=0;headerOnClick=onClick;headerOnKeyDown=onKeyDown}sortBy===dataKey&&(headerAriaSort=sortDirection===_SortDirection2.default.ASC?"ascending":"descending");return React.createElement("div",{"aria-label":headerAriaLabel,"aria-sort":headerAriaSort,className:classNames,id:id,key:"Header-Col"+index,onClick:headerOnClick,onKeyDown:headerOnKeyDown,role:"columnheader",style:style,tabIndex:headerTabIndex},renderedHeader)}},{key:"_createRow",value:function _createRow(_ref6){var _this3=this;var index=_ref6.rowIndex,isScrolling=_ref6.isScrolling,key=_ref6.key,parent=_ref6.parent,style=_ref6.style;var _props3=this.props,children=_props3.children,onRowClick=_props3.onRowClick,onRowDoubleClick=_props3.onRowDoubleClick,onRowRightClick=_props3.onRowRightClick,onRowMouseOver=_props3.onRowMouseOver,onRowMouseOut=_props3.onRowMouseOut,rowClassName=_props3.rowClassName,rowGetter=_props3.rowGetter,rowRenderer=_props3.rowRenderer,rowStyle=_props3.rowStyle;var scrollbarWidth=this.state.scrollbarWidth;var rowClass="function"===typeof rowClassName?rowClassName({index:index}):rowClassName;var rowStyleObject="function"===typeof rowStyle?rowStyle({index:index}):rowStyle;var rowData=rowGetter({index:index});var columns=React.Children.toArray(children).map(function(column,columnIndex){return _this3._createColumn({column:column,columnIndex:columnIndex,isScrolling:isScrolling,parent:parent,rowData:rowData,rowIndex:index,scrollbarWidth:scrollbarWidth})});var className=(0,_classnames2.default)("ReactVirtualized__Table__row",rowClass);var flattenedStyle=(0,_extends3.default)({},style,rowStyleObject,{height:this._getRowHeight(index),overflow:"hidden",paddingRight:scrollbarWidth});return rowRenderer({className:className,columns:columns,index:index,isScrolling:isScrolling,key:key,onRowClick:onRowClick,onRowDoubleClick:onRowDoubleClick,onRowRightClick:onRowRightClick,onRowMouseOver:onRowMouseOver,onRowMouseOut:onRowMouseOut,rowData:rowData,style:flattenedStyle})}},{key:"_getFlexStyleForColumn",value:function _getFlexStyleForColumn(column){var customStyle=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var flexValue=column.props.flexGrow+" "+column.props.flexShrink+" "+column.props.width+"px";var style=(0,_extends3.default)({},customStyle,{flex:flexValue,msFlex:flexValue,WebkitFlex:flexValue});column.props.maxWidth&&(style.maxWidth=column.props.maxWidth);column.props.minWidth&&(style.minWidth=column.props.minWidth);return style}},{key:"_getHeaderColumns",value:function _getHeaderColumns(){var _this4=this;var _props4=this.props,children=_props4.children,disableHeader=_props4.disableHeader;var items=disableHeader?[]:React.Children.toArray(children);return items.map(function(column,index){return _this4._createHeader({column:column,index:index})})}},{key:"_getRowHeight",value:function _getRowHeight(rowIndex){var rowHeight=this.props.rowHeight;return"function"===typeof rowHeight?rowHeight({index:rowIndex}):rowHeight}},{key:"_onScroll",value:function _onScroll(_ref7){var clientHeight=_ref7.clientHeight,scrollHeight=_ref7.scrollHeight,scrollTop=_ref7.scrollTop;var onScroll=this.props.onScroll;onScroll({clientHeight:clientHeight,scrollHeight:scrollHeight,scrollTop:scrollTop})}},{key:"_onSectionRendered",value:function _onSectionRendered(_ref8){var rowOverscanStartIndex=_ref8.rowOverscanStartIndex,rowOverscanStopIndex=_ref8.rowOverscanStopIndex,rowStartIndex=_ref8.rowStartIndex,rowStopIndex=_ref8.rowStopIndex;var onRowsRendered=this.props.onRowsRendered;onRowsRendered({overscanStartIndex:rowOverscanStartIndex,overscanStopIndex:rowOverscanStopIndex,startIndex:rowStartIndex,stopIndex:rowStopIndex})}},{key:"_setRef",value:function _setRef(ref){this.Grid=ref}},{key:"_setScrollbarWidth",value:function _setScrollbarWidth(){if(this.Grid){var _Grid=(0,_reactDom.findDOMNode)(this.Grid);var clientWidth=_Grid.clientWidth||0;var offsetWidth=_Grid.offsetWidth||0;var scrollbarWidth=offsetWidth-clientWidth;this.setState({scrollbarWidth:scrollbarWidth})}}}]);return Table}(React.PureComponent);Table.defaultProps={disableHeader:false,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function noRowsRenderer(){return null},onRowsRendered:function onRowsRendered(){return null},onScroll:function onScroll(){return null},overscanIndicesGetter:_Grid2.accessibilityOverscanIndicesGetter,overscanRowCount:10,rowRenderer:_defaultRowRenderer2.default,headerRowRenderer:_defaultHeaderRowRenderer2.default,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}};exports.default=Table;Table.propTypes={}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.IS_SCROLLING_TIMEOUT=exports.WindowScroller=void 0;var _WindowScroller=__webpack_require__(701);var _WindowScroller2=_interopRequireDefault(_WindowScroller);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_WindowScroller2.default;exports.WindowScroller=_WindowScroller2.default;exports.IS_SCROLLING_TIMEOUT=_WindowScroller.IS_SCROLLING_TIMEOUT},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.registerScrollListener=registerScrollListener;exports.unregisterScrollListener=unregisterScrollListener;var _requestAnimationTimeout=__webpack_require__(431);__webpack_require__(701);var mountedInstances=[];var originalBodyPointerEvents=null;var disablePointerEventsTimeoutId=null;function enablePointerEventsIfDisabled(){if(disablePointerEventsTimeoutId){disablePointerEventsTimeoutId=null;document.body&&null!=originalBodyPointerEvents&&(document.body.style.pointerEvents=originalBodyPointerEvents);originalBodyPointerEvents=null}}function enablePointerEventsAfterDelayCallback(){enablePointerEventsIfDisabled();mountedInstances.forEach(function(instance){return instance.__resetIsScrolling()})}function enablePointerEventsAfterDelay(){disablePointerEventsTimeoutId&&(0,_requestAnimationTimeout.cancelAnimationTimeout)(disablePointerEventsTimeoutId);var maximumTimeout=0;mountedInstances.forEach(function(instance){maximumTimeout=Math.max(maximumTimeout,instance.props.scrollingResetTimeInterval)});disablePointerEventsTimeoutId=(0,_requestAnimationTimeout.requestAnimationTimeout)(enablePointerEventsAfterDelayCallback,maximumTimeout)}function onScrollWindow(event){if(event.currentTarget===window&&null==originalBodyPointerEvents&&document.body){originalBodyPointerEvents=document.body.style.pointerEvents;document.body.style.pointerEvents="none"}enablePointerEventsAfterDelay();mountedInstances.forEach(function(instance){instance.props.scrollElement===event.currentTarget&&instance.__handleWindowScrollEvent()})}function registerScrollListener(component,element){mountedInstances.some(function(instance){return instance.props.scrollElement===element})||element.addEventListener("scroll",onScrollWindow);mountedInstances.push(component)}function unregisterScrollListener(component,element){mountedInstances=mountedInstances.filter(function(instance){return instance!==component});if(!mountedInstances.length){element.removeEventListener("scroll",onScrollWindow);if(disablePointerEventsTimeoutId){(0,_requestAnimationTimeout.cancelAnimationTimeout)(disablePointerEventsTimeoutId);enablePointerEventsIfDisabled()}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getDimensions=getDimensions;exports.getPositionOffset=getPositionOffset;exports.getScrollOffset=getScrollOffset;var isWindow=function isWindow(element){return element===window};var getBoundingBox=function getBoundingBox(element){return element.getBoundingClientRect()};function getDimensions(scrollElement,props){if(scrollElement){if(isWindow(scrollElement)){var _window=window,innerHeight=_window.innerHeight,innerWidth=_window.innerWidth;return{height:"number"===typeof innerHeight?innerHeight:0,width:"number"===typeof innerWidth?innerWidth:0}}return getBoundingBox(scrollElement)}return{height:props.serverHeight,width:props.serverWidth}}function getPositionOffset(element,container){if(isWindow(container)&&document.documentElement){var containerElement=document.documentElement;var elementRect=getBoundingBox(element);var containerRect=getBoundingBox(containerElement);return{top:elementRect.top-containerRect.top,left:elementRect.left-containerRect.left}}var scrollOffset=getScrollOffset(container);var _elementRect=getBoundingBox(element);var _containerRect=getBoundingBox(container);return{top:_elementRect.top+scrollOffset.top-_containerRect.top,left:_elementRect.left+scrollOffset.left-_containerRect.left}}function getScrollOffset(element){return isWindow(element)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:element.scrollTop,left:element.scrollLeft}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHighlight=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(703);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var highlight=function highlight(searchSubject,searchValue){var isStrict=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!searchValue)return searchSubject;var normalizedSearchSubject=isStrict?searchSubject:searchSubject.toLowerCase();var normalizedSearchValue=isStrict?searchValue:searchValue.toLowerCase();var indexOfMatch=normalizedSearchSubject.indexOf(normalizedSearchValue);if(-1===indexOfMatch)return searchSubject;var preMatch=searchSubject.substr(0,indexOfMatch);var match=searchSubject.substr(indexOfMatch,searchValue.length);var postMatch=searchSubject.substr(indexOfMatch+searchValue.length);return _react.default.createElement(_react.Fragment,null,preMatch,_react.default.createElement("strong",null,match),postMatch)};var EuiHighlight=function EuiHighlight(_ref){var children=_ref.children,className=_ref.className,search=_ref.search,strict=_ref.strict,rest=_objectWithoutProperties(_ref,["children","className","search","strict"]);return _react.default.createElement("span",_extends({className:className},rest),highlight(children,search,strict))};exports.EuiHighlight=EuiHighlight;EuiHighlight.propTypes={children:_propTypes.default.string.isRequired,className:_propTypes.default.string,search:_propTypes.default.string.isRequired,strict:_propTypes.default.bool};EuiHighlight.__docgenInfo={description:"",methods:[],displayName:"EuiHighlight",props:{children:{type:{name:"string"},required:true,description:""},className:{type:{name:"string"},required:false,description:""},search:{type:{name:"string"},required:true,description:""},strict:{type:{name:"bool"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiComboBoxOption=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _key_codes=__webpack_require__(152);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiComboBoxOption=function(_Component){_inherits(EuiComboBoxOption,_Component);function EuiComboBoxOption(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiComboBoxOption);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiComboBoxOption)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onClick",function(){var _this$props=_this.props,onClick=_this$props.onClick,option=_this$props.option,disabled=_this$props.disabled;if(disabled)return;onClick(option)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onKeyDown",function(e){if(e.keyCode===_key_codes.ENTER||e.keyCode===_key_codes.SPACE){e.preventDefault();e.stopPropagation();var _this$props2=_this.props,onEnterKey=_this$props2.onEnterKey,option=_this$props2.option,disabled=_this$props2.disabled;if(disabled)return;onEnterKey(option)}});return _this}_createClass(EuiComboBoxOption,[{key:"render",value:function render(){var _this$props3=this.props,children=_this$props3.children,className=_this$props3.className,optionRef=_this$props3.optionRef,option=_this$props3.option,disabled=(_this$props3.onClick,_this$props3.onEnterKey,_this$props3.disabled),isFocused=_this$props3.isFocused,rest=_objectWithoutProperties(_this$props3,["children","className","optionRef","option","onClick","onEnterKey","disabled","isFocused"]);var classes=(0,_classnames.default)("euiComboBoxOption",className,{"euiComboBoxOption-isDisabled":disabled,"euiComboBoxOption-isFocused":isFocused});var label=option.label;return _react.default.createElement("button",_extends({role:"option",type:"button","aria-selected":isFocused,className:classes,onClick:this.onClick,onKeyDown:this.onKeyDown,ref:optionRef,"aria-disabled":disabled,title:label},rest),children)}}]);return EuiComboBoxOption}(_react.Component);exports.EuiComboBoxOption=EuiComboBoxOption;_defineProperty(EuiComboBoxOption,"propTypes",{option:_propTypes.default.object.isRequired,children:_propTypes.default.node,className:_propTypes.default.string,optionRef:_propTypes.default.func,onClick:_propTypes.default.func.isRequired,onEnterKey:_propTypes.default.func.isRequired,disabled:_propTypes.default.bool,isFocused:_propTypes.default.bool.isRequired});EuiComboBoxOption.__docgenInfo={description:"",methods:[{name:"onClick",docblock:null,modifiers:[],params:[],returns:null},{name:"onKeyDown",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null}],displayName:"EuiComboBoxOption",props:{option:{type:{name:"object"},required:true,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},optionRef:{type:{name:"func"},required:false,description:""},onClick:{type:{name:"func"},required:true,description:""},onEnterKey:{type:{name:"func"},required:true,description:""},disabled:{type:{name:"bool"},required:false,description:""},isFocused:{type:{name:"bool"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiComboBoxTitle=void 0;var _react=_interopRequireDefault(__webpack_require__(0));_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var EuiComboBoxTitle=function EuiComboBoxTitle(_ref){var children=_ref.children;return _react.default.createElement("div",{className:"euiComboBoxTitle"},children)};exports.EuiComboBoxTitle=EuiComboBoxTitle;EuiComboBoxTitle.propTypes={};EuiComboBoxTitle.__docgenInfo={description:"",methods:[],displayName:"EuiComboBoxTitle"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getMatchingOptions=exports.getSelectedOptionForSearchValue=exports.flattenOptionGroups=void 0;__webpack_require__(79);__webpack_require__(80);__webpack_require__(42);__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(92);__webpack_require__(93);__webpack_require__(94);function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}var flattenOptionGroups=function flattenOptionGroups(optionsOrGroups){return optionsOrGroups.reduce(function(options,optionOrGroup){optionOrGroup.options?options.push.apply(options,_toConsumableArray(optionOrGroup.options)):options.push(optionOrGroup);return options},[])};exports.flattenOptionGroups=flattenOptionGroups;var getSelectedOptionForSearchValue=function getSelectedOptionForSearchValue(searchValue,selectedOptions){var normalizedSearchValue=searchValue.toLowerCase();return selectedOptions.find(function(option){return option.label.toLowerCase()===normalizedSearchValue})};exports.getSelectedOptionForSearchValue=getSelectedOptionForSearchValue;var collectMatchingOption=function collectMatchingOption(accumulator,option,selectedOptions,normalizedSearchValue,isPreFiltered,showPrevSelected){var selectedOption=getSelectedOptionForSearchValue(option.label,selectedOptions);if(selectedOption&&!showPrevSelected)return false;if(isPreFiltered){accumulator.push(option);return}if(!normalizedSearchValue){accumulator.push(option);return}var normalizedOption=option.label.trim().toLowerCase();normalizedOption.includes(normalizedSearchValue)&&accumulator.push(option)};var getMatchingOptions=function getMatchingOptions(options,selectedOptions,searchValue,isPreFiltered,showPrevSelected){var normalizedSearchValue=searchValue.trim().toLowerCase();var matchingOptions=[];options.forEach(function(option){if(option.options){var matchingOptionsForGroup=[];option.options.forEach(function(groupOption){collectMatchingOption(matchingOptionsForGroup,groupOption,selectedOptions,normalizedSearchValue,isPreFiltered,showPrevSelected)});if(matchingOptionsForGroup.length>0){matchingOptions.push({label:option.label,isGroupLabelOption:true});matchingOptions.push.apply(matchingOptions,matchingOptionsForGroup)}}else collectMatchingOption(matchingOptions,option,selectedOptions,normalizedSearchValue,isPreFiltered,showPrevSelected)});return matchingOptions};exports.getMatchingOptions=getMatchingOptions},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiCopy",{enumerable:true,get:function get(){return _copy.EuiCopy}});var _copy=__webpack_require__(1709)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiCopy=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _services=__webpack_require__(25);var _tool_tip=__webpack_require__(112);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiCopy=function(_React$Component){_inherits(EuiCopy,_React$Component);function EuiCopy(props){var _this;_classCallCheck(this,EuiCopy);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiCopy).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"copy",function(){var isCopied=(0,_services.copyToClipboard)(_this.props.textToCopy);isCopied&&_this.setState({tooltipText:_this.props.afterMessage})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"resetTooltipText",function(){_this.setState({tooltipText:_this.props.beforeMessage})});_this.state={tooltipText:_this.props.beforeMessage};return _this}_createClass(EuiCopy,[{key:"render",value:function render(){var _this$props=this.props,children=_this$props.children,rest=(_this$props.textToCopy,_this$props.beforeMessage,_this$props.afterMessage,_objectWithoutProperties(_this$props,["children","textToCopy","beforeMessage","afterMessage"]));return _react.default.createElement(_tool_tip.EuiToolTip,_extends({content:this.state.tooltipText,onMouseOut:this.resetTooltipText},rest),children(this.copy))}}]);return EuiCopy}(_react.default.Component);exports.EuiCopy=EuiCopy;EuiCopy.propTypes={textToCopy:_propTypes.default.string.isRequired,beforeMessage:_propTypes.default.string,afterMessage:_propTypes.default.string.isRequired,children:_propTypes.default.func.isRequired};EuiCopy.defaultProps={afterMessage:"Copied"};EuiCopy.__docgenInfo={description:"",methods:[{name:"copy",docblock:null,modifiers:[],params:[],returns:null},{name:"resetTooltipText",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiCopy",props:{afterMessage:{defaultValue:{value:"'Copied'",computed:false},type:{name:"string"},required:false,description:"Tooltip message displayed after copy function is called that lets the user know that\n'textToCopy' has been copied to the clipboard."},textToCopy:{type:{name:"string"},required:true,description:"Text that will be copied to clipboard when copy function is executed."},beforeMessage:{type:{name:"string"},required:false,description:"Tooltip message displayed before copy function is called."},children:{type:{name:"func"},required:true,description:"Function that must return a Component. First argument is 'copy' function.\nUse your own logic to create the component that user's interactact with when triggering copy."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiDatePicker",{enumerable:true,get:function get(){return _date_picker.EuiDatePicker}});Object.defineProperty(exports,"EuiDatePickerRange",{enumerable:true,get:function get(){return _date_picker_range.EuiDatePickerRange}});Object.defineProperty(exports,"EuiSuperDatePicker",{enumerable:true,get:function get(){return _super_date_picker.EuiSuperDatePicker}});Object.defineProperty(exports,"EuiSuperUpdateButton",{enumerable:true,get:function get(){return _super_date_picker.EuiSuperUpdateButton}});var _date_picker=__webpack_require__(704);var _date_picker_range=__webpack_require__(706);var _super_date_picker=__webpack_require__(1712)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiErrorBoundary=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _text=__webpack_require__(74);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiErrorBoundary=function(_Component){_inherits(EuiErrorBoundary,_Component);function EuiErrorBoundary(props){var _this;_classCallCheck(this,EuiErrorBoundary);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiErrorBoundary).call(this,props));_this.state={hasError:false,error:void 0};return _this}_createClass(EuiErrorBoundary,[{key:"componentDidCatch",value:function componentDidCatch(error){this.setState({hasError:true,error:error})}},{key:"render",value:function render(){var _this$props=this.props,children=_this$props.children,rest=_objectWithoutProperties(_this$props,["children"]);if(this.state.hasError)return _react.default.createElement("div",_extends({className:"euiErrorBoundary"},rest),_react.default.createElement("div",{className:"euiErrorBoundary__text"},_react.default.createElement(_text.EuiText,{size:"xs"},_react.default.createElement("h1",null,"Error"),_react.default.createElement("pre",{className:"euiErrorBoundary__stack"},_react.default.createElement("p",null,this.state.error&&this.state.error.stack)))));return children}}]);return EuiErrorBoundary}(_react.Component);exports.EuiErrorBoundary=EuiErrorBoundary;_defineProperty(EuiErrorBoundary,"propTypes",{children:_propTypes.default.node});EuiErrorBoundary.__docgenInfo={description:"",methods:[{name:"componentDidCatch",docblock:null,modifiers:[],params:[{name:"error",type:null}],returns:null}],displayName:"EuiErrorBoundary",props:{children:{type:{name:"node"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiSuperDatePicker",{enumerable:true,get:function get(){return _super_date_picker.EuiSuperDatePicker}});Object.defineProperty(exports,"EuiSuperUpdateButton",{enumerable:true,get:function get(){return _super_update_button.EuiSuperUpdateButton}});var _super_date_picker=__webpack_require__(1713);var _super_update_button=__webpack_require__(709)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSuperDatePicker=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _react=_interopRequireWildcard(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));var _types=__webpack_require__(314);var _pretty_duration=__webpack_require__(435);var _pretty_interval=__webpack_require__(1714);var _datemath=_interopRequireDefault(__webpack_require__(124));var _super_update_button=__webpack_require__(709);var _quick_select_popover=__webpack_require__(1715);var _date_popover_button=__webpack_require__(1721);var _date_picker_range=__webpack_require__(706);var _form=__webpack_require__(157);var _flex=__webpack_require__(54);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function isRangeInvalid(start,end){if("now"===start&&"now"===end)return true;var startMoment=_datemath.default.parse(start);var endMoment=_datemath.default.parse(end,{roundUp:true});if(!startMoment||!endMoment||!startMoment.isValid()||!endMoment.isValid())return true;if(startMoment.isAfter(endMoment))return true;return false}var EuiSuperDatePicker=function(_Component){_inherits(EuiSuperDatePicker,_Component);_createClass(EuiSuperDatePicker,null,[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,prevState){if(nextProps.start!==prevState.prevProps.start||nextProps.end!==prevState.prevProps.end)return{prevProps:{start:nextProps.start,end:nextProps.end},start:nextProps.start,end:nextProps.end,isInvalid:isRangeInvalid(nextProps.start,nextProps.end),hasChanged:false,showPrettyDuration:(0,_pretty_duration.showPrettyDuration)(nextProps.start,nextProps.end,nextProps.commonlyUsedRanges)};return null}}]);function EuiSuperDatePicker(props){var _this;_classCallCheck(this,EuiSuperDatePicker);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiSuperDatePicker).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setTime",function(_ref){var start=_ref.start,end=_ref.end;var isInvalid=isRangeInvalid(start,end);_this.setState({start:start,end:end,isInvalid:isInvalid,hasChanged:true});_this.props.showUpdateButton||_this.props.onTimeChange({start:start,end:end,isQuickSelection:false,isInvalid:isInvalid})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setStart",function(start){_this.setTime({start:start,end:_this.state.end})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"setEnd",function(end){_this.setTime({start:_this.state.start,end:end})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"applyTime",function(){_this.props.onTimeChange({start:_this.state.start,end:_this.state.end,isQuickSelection:false,isInvalid:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"applyQuickTime",function(_ref2){var start=_ref2.start,end=_ref2.end;_this.setState({showPrettyDuration:(0,_pretty_duration.showPrettyDuration)(start,end,_this.props.commonlyUsedRanges)});_this.props.onTimeChange({start:start,end:end,isQuickSelection:true,isInvalid:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"hidePrettyDuration",function(){_this.setState({showPrettyDuration:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onStartDatePopoverToggle",function(){_this.setState(function(prevState){return{isStartDatePopoverOpen:!prevState.isStartDatePopoverOpen}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onStartDatePopoverClose",function(){_this.setState({isStartDatePopoverOpen:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onEndDatePopoverToggle",function(){_this.setState(function(prevState){return{isEndDatePopoverOpen:!prevState.isEndDatePopoverOpen}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onEndDatePopoverClose",function(){_this.setState({isEndDatePopoverOpen:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"renderDatePickerRange",function(){var _this$state=_this.state,start=_this$state.start,end=_this$state.end,hasChanged=_this$state.hasChanged,isInvalid=_this$state.isInvalid;if(_this.props.isAutoRefreshOnly)return _react.default.createElement(_date_picker_range.EuiDatePickerRange,{className:"euiDatePickerRange--inGroup",iconType:false,isCustom:true,startDateControl:_react.default.createElement("div",null),endDateControl:_react.default.createElement("div",null),readOnly:true},_react.default.createElement("span",{className:"euiSuperDatePicker__prettyFormat"},(0,_pretty_interval.prettyInterval)(_this.props.isPaused,_this.props.refreshInterval)));if(_this.state.showPrettyDuration&&!_this.state.isStartDatePopoverOpen&&!_this.state.isEndDatePopoverOpen)return _react.default.createElement(_date_picker_range.EuiDatePickerRange,{className:"euiDatePickerRange--inGroup",iconType:false,isCustom:true,startDateControl:_react.default.createElement("div",null),endDateControl:_react.default.createElement("div",null)},_react.default.createElement("button",{className:"euiSuperDatePicker__prettyFormat","data-test-subj":"superDatePickerShowDatesButton",onClick:_this.hidePrettyDuration},(0,_pretty_duration.prettyDuration)(start,end,_this.props.commonlyUsedRanges,_this.props.dateFormat),_react.default.createElement("span",{className:"euiSuperDatePicker__prettyFormatLink"},"Show dates")));return _react.default.createElement(_date_picker_range.EuiDatePickerRange,{className:"euiDatePickerRange--inGroup",iconType:false,isCustom:true,startDateControl:_react.default.createElement(_date_popover_button.EuiDatePopoverButton,{position:"start",needsUpdating:hasChanged,isInvalid:isInvalid,onChange:_this.setStart,value:start,dateFormat:_this.props.dateFormat,isOpen:_this.state.isStartDatePopoverOpen,onPopoverToggle:_this.onStartDatePopoverToggle,onPopoverClose:_this.onStartDatePopoverClose}),endDateControl:_react.default.createElement(_date_popover_button.EuiDatePopoverButton,{position:"end",needsUpdating:hasChanged,isInvalid:isInvalid,onChange:_this.setEnd,value:end,dateFormat:_this.props.dateFormat,roundUp:true,isOpen:_this.state.isEndDatePopoverOpen,onPopoverToggle:_this.onEndDatePopoverToggle,onPopoverClose:_this.onEndDatePopoverClose})})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"renderUpdateButton",function(){if(!_this.props.showUpdateButton||_this.props.isAutoRefreshOnly)return;return _react.default.createElement(_flex.EuiFlexItem,{grow:false},_react.default.createElement(_super_update_button.EuiSuperUpdateButton,{needsUpdate:_this.state.hasChanged,isLoading:_this.props.isLoading,isDisabled:_this.state.isInvalid,onClick:_this.applyTime,"data-test-subj":"superDatePickerApplyTimeButton"}))});var _this$props=_this.props,_start=_this$props.start,_end=_this$props.end,commonlyUsedRanges=_this$props.commonlyUsedRanges;_this.state={prevProps:{start:props.start,end:props.end},start:_start,end:_end,isInvalid:isRangeInvalid(_start,_end),hasChanged:false,showPrettyDuration:(0,_pretty_duration.showPrettyDuration)(_start,_end,commonlyUsedRanges),isStartDatePopoverOpen:false,isEndDatePopoverOpen:false};return _this}_createClass(EuiSuperDatePicker,[{key:"render",value:function render(){var quickSelect=_react.default.createElement(_quick_select_popover.EuiQuickSelectPopover,{applyTime:this.applyQuickTime,start:this.props.start,end:this.props.end,applyRefreshInterval:this.props.onRefreshChange,isPaused:this.props.isPaused,refreshInterval:this.props.refreshInterval,commonlyUsedRanges:this.props.commonlyUsedRanges,dateFormat:this.props.dateFormat,recentlyUsedRanges:this.props.recentlyUsedRanges,isAutoRefreshOnly:this.props.isAutoRefreshOnly});var flexWrapperClasses=(0,_classnames.default)("euiSuperDatePicker__flexWrapper",{"euiSuperDatePicker__flexWrapper--noUpdateButton":!this.props.showUpdateButton,"euiSuperDatePicker__flexWrapper--isAutoRefreshOnly":this.props.isAutoRefreshOnly});return _react.default.createElement(_flex.EuiFlexGroup,{gutterSize:"s",responsive:false,className:flexWrapperClasses},_react.default.createElement(_flex.EuiFlexItem,null,_react.default.createElement(_form.EuiFormControlLayout,{className:"euiSuperDatePicker",prepend:quickSelect},this.renderDatePickerRange())),this.renderUpdateButton())}}]);return EuiSuperDatePicker}(_react.Component);exports.EuiSuperDatePicker=EuiSuperDatePicker;_defineProperty(EuiSuperDatePicker,"propTypes",{isLoading:_propTypes.default.bool,start:_propTypes.default.string,end:_propTypes.default.string,onTimeChange:_propTypes.default.func.isRequired,isPaused:_propTypes.default.bool,refreshInterval:_propTypes.default.number,onRefreshChange:_propTypes.default.func,commonlyUsedRanges:_propTypes.default.arrayOf(_types.commonlyUsedRangeShape),dateFormat:_propTypes.default.string,recentlyUsedRanges:_propTypes.default.arrayOf(_types.recentlyUsedRangeShape),showUpdateButton:_propTypes.default.bool,isAutoRefreshOnly:_propTypes.default.bool});_defineProperty(EuiSuperDatePicker,"defaultProps",{start:"now-15m",end:"now",isPaused:true,refreshInterval:0,commonlyUsedRanges:[{start:"now/d",end:"now/d",label:"Today"},{start:"now-1d/d",end:"now-1d/d",label:"Yesterday"},{start:"now/w",end:"now/w",label:"This week"},{start:"now/w",end:"now",label:"Week to date"},{start:"now/M",end:"now/M",label:"This month"},{start:"now/M",end:"now",label:"Month to date"},{start:"now/y",end:"now/y",label:"This year"},{start:"now/y",end:"now",label:"Year to date"}],dateFormat:"MMM D, YYYY @ HH:mm:ss.SSS",recentlyUsedRanges:[],showUpdateButton:true,isAutoRefreshOnly:false});EuiSuperDatePicker.__docgenInfo={description:"",methods:[{name:"getDerivedStateFromProps",docblock:null,modifiers:["static"],params:[{name:"nextProps",type:null},{name:"prevState",type:null}],returns:null},{name:"setTime",docblock:null,modifiers:[],params:[{name:"{ start, end }",type:null}],returns:null},{name:"setStart",docblock:null,modifiers:[],params:[{name:"start",type:null}],returns:null},{name:"setEnd",docblock:null,modifiers:[],params:[{name:"end",type:null}],returns:null},{name:"applyTime",docblock:null,modifiers:[],params:[],returns:null},{name:"applyQuickTime",docblock:null,modifiers:[],params:[{name:"{ start, end }",type:null}],returns:null},{name:"hidePrettyDuration",docblock:null,modifiers:[],params:[],returns:null},{name:"onStartDatePopoverToggle",docblock:null,modifiers:[],params:[],returns:null},{name:"onStartDatePopoverClose",docblock:null,modifiers:[],params:[],returns:null},{name:"onEndDatePopoverToggle",docblock:null,modifiers:[],params:[],returns:null},{name:"onEndDatePopoverClose",docblock:null,modifiers:[],params:[],returns:null},{name:"renderDatePickerRange",docblock:null,modifiers:[],params:[],returns:null},{name:"renderUpdateButton",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiSuperDatePicker",props:{start:{defaultValue:{value:"'now-15m'",computed:false},type:{name:"string"},required:false,description:"String as either datemath (e.g.: now, now-15m, now-15m/m) or\nabsolute date in the format 'YYYY-MM-DDTHH:mm:ss.sssZ'"},end:{defaultValue:{value:"'now'",computed:false},type:{name:"string"},required:false,description:"String as either datemath (e.g.: now, now-15m, now-15m/m) or\nabsolute date in the format 'YYYY-MM-DDTHH:mm:ss.sssZ'"},isPaused:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:""},refreshInterval:{defaultValue:{value:"0",computed:false},type:{name:"number"},required:false,description:"Refresh interval in milliseconds"},commonlyUsedRanges:{defaultValue:{value:"[\n  { start: 'now/d', end: 'now/d', label: 'Today' },\n  { start: 'now-1d/d', end: 'now-1d/d', label: 'Yesterday' },\n  { start: 'now/w', end: 'now/w', label: 'This week' },\n  { start: 'now/w', end: 'now', label: 'Week to date' },\n  { start: 'now/M', end: 'now/M', label: 'This month' },\n  { start: 'now/M', end: 'now', label: 'Month to date' },\n  { start: 'now/y', end: 'now/y', label: 'This year' },\n  { start: 'now/y', end: 'now', label: 'Year to date' },\n]",computed:false},type:{name:"arrayOf",value:{name:"custom",raw:"commonlyUsedRangeShape"}},required:false,description:"'start' and 'end' must be string as either datemath (e.g.: now, now-15m, now-15m/m) or\nabsolute date in the format 'YYYY-MM-DDTHH:mm:ss.sssZ'"},dateFormat:{defaultValue:{value:"'MMM D, YYYY @ HH:mm:ss.SSS'",computed:false},type:{name:"string"},required:false,description:""},recentlyUsedRanges:{defaultValue:{value:"[]",computed:false},type:{name:"arrayOf",value:{name:"custom",raw:"recentlyUsedRangeShape"}},required:false,description:"'start' and 'end' must be string as either datemath (e.g.: now, now-15m, now-15m/m) or\nabsolute date in the format 'YYYY-MM-DDTHH:mm:ss.sssZ'"},showUpdateButton:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Set showUpdateButton to false to immediately invoke onTimeChange for all start and end changes."},isAutoRefreshOnly:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Set isAutoRefreshOnly to true to limit the component to only display auto refresh content."},isLoading:{type:{name:"bool"},required:false,description:""},onTimeChange:{type:{name:"func"},required:true,description:"Callback for when the time changes. Called with { start, end, isQuickSelection, isInvalid }"},onRefreshChange:{type:{name:"func"},required:false,description:"Callback for when the refresh interval changes. Called with { isPaused, refreshInterval }\nSupply onRefreshChange to show refresh interval inputs in quick select popover"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.prettyInterval=prettyInterval;var MS_IN_SECOND=1e3;var MS_IN_MINUTE=60*MS_IN_SECOND;var MS_IN_HOUR=60*MS_IN_MINUTE;var MS_IN_DAY=24*MS_IN_HOUR;function prettyInterval(isPaused,intervalInMs){if(isPaused||0===intervalInMs)return"Off";if(intervalInMs<MS_IN_MINUTE){var intervalInSeconds=Math.round(intervalInMs/MS_IN_SECOND);var _units=intervalInSeconds>1?"seconds":"second";return"".concat(intervalInSeconds," ").concat(_units)}if(intervalInMs<MS_IN_HOUR){var intervalInMinutes=Math.round(intervalInMs/MS_IN_MINUTE);var _units2=intervalInMinutes>1?"minutes":"minute";return"".concat(intervalInMinutes," ").concat(_units2)}if(intervalInMs<MS_IN_DAY){var intervalInHours=Math.round(intervalInMs/MS_IN_HOUR);var _units3=intervalInHours>1?"hours":"hour";return"".concat(intervalInHours," ").concat(_units3)}var intervalInDays=Math.round(intervalInMs/MS_IN_DAY);var units=intervalInDays>1?"days":"day";return"".concat(intervalInDays," ").concat(units)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiQuickSelectPopover=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _react=_interopRequireWildcard(__webpack_require__(0));var _types=__webpack_require__(314);var _button=__webpack_require__(43);var _icon=__webpack_require__(20);var _popover=__webpack_require__(115);var _quick_select=__webpack_require__(1716);var _commonly_used_time_ranges=__webpack_require__(1718);var _recently_used=__webpack_require__(1719);var _refresh_interval=__webpack_require__(1720);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiQuickSelectPopover=function(_Component){_inherits(EuiQuickSelectPopover,_Component);function EuiQuickSelectPopover(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiQuickSelectPopover);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiQuickSelectPopover)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"state",{isOpen:false});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"closePopover",function(){_this.setState({isOpen:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"togglePopover",function(){_this.setState(function(prevState){return{isOpen:!prevState.isOpen}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"applyTime",function(_ref){var start=_ref.start,end=_ref.end,quickSelect=_ref.quickSelect,_ref$keepPopoverOpen=_ref.keepPopoverOpen,keepPopoverOpen=void 0!==_ref$keepPopoverOpen&&_ref$keepPopoverOpen;_this.props.applyTime({start:start,end:end});quickSelect&&_this.setState({prevQuickSelect:quickSelect});keepPopoverOpen||_this.closePopover()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"renderDateTimeSections",function(){if(_this.props.isAutoRefreshOnly)return null;return _react.default.createElement(_react.Fragment,null,_react.default.createElement(_quick_select.EuiQuickSelect,{applyTime:_this.applyTime,start:_this.props.start,end:_this.props.end,prevQuickSelect:_this.state.prevQuickSelect}),_react.default.createElement(_commonly_used_time_ranges.EuiCommonlyUsedTimeRanges,{applyTime:_this.applyTime,commonlyUsedRanges:_this.props.commonlyUsedRanges}),_react.default.createElement(_recently_used.EuiRecentlyUsed,{applyTime:_this.applyTime,commonlyUsedRanges:_this.props.commonlyUsedRanges,dateFormat:_this.props.dateFormat,recentlyUsedRanges:_this.props.recentlyUsedRanges}))});return _this}_createClass(EuiQuickSelectPopover,[{key:"render",value:function render(){var quickSelectButton=_react.default.createElement(_button.EuiButtonEmpty,{className:"euiFormControlLayout__prepend",textProps:{className:"euiQuickSelectPopover__buttonText"},onClick:this.togglePopover,"aria-label":"Date quick select",size:"xs",iconType:"arrowDown",iconSide:"right","data-test-subj":"superDatePickerToggleQuickMenuButton"},_react.default.createElement(_icon.EuiIcon,{type:!this.props.isAutoRefreshOnly&&this.props.isPaused?"calendar":"clock"}));return _react.default.createElement(_popover.EuiPopover,{id:"QuickSelectPopover",button:quickSelectButton,isOpen:this.state.isOpen,closePopover:this.closePopover,anchorPosition:"downLeft",ownFocus:true},_react.default.createElement("div",{className:"euiQuickSelectPopover__content","data-test-subj":"superDatePickerQuickMenu"},this.renderDateTimeSections(),_react.default.createElement(_refresh_interval.EuiRefreshInterval,{applyRefreshInterval:this.props.applyRefreshInterval,isPaused:this.props.isPaused,refreshInterval:this.props.refreshInterval})))}}]);return EuiQuickSelectPopover}(_react.Component);exports.EuiQuickSelectPopover=EuiQuickSelectPopover;EuiQuickSelectPopover.propTypes={applyTime:_propTypes.default.func.isRequired,start:_propTypes.default.string.isRequired,end:_propTypes.default.string.isRequired,applyRefreshInterval:_propTypes.default.func,isPaused:_propTypes.default.bool.isRequired,refreshInterval:_propTypes.default.number.isRequired,commonlyUsedRanges:_propTypes.default.arrayOf(_types.commonlyUsedRangeShape).isRequired,dateFormat:_propTypes.default.string.isRequired,recentlyUsedRanges:_propTypes.default.arrayOf(_types.recentlyUsedRangeShape).isRequired,isAutoRefreshOnly:_propTypes.default.bool.isRequired};EuiQuickSelectPopover.__docgenInfo={description:"",methods:[{name:"closePopover",docblock:null,modifiers:[],params:[],returns:null},{name:"togglePopover",docblock:null,modifiers:[],params:[],returns:null},{name:"applyTime",docblock:null,modifiers:[],params:[{name:"{ start, end, quickSelect, keepPopoverOpen = false }",type:null}],returns:null},{name:"renderDateTimeSections",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiQuickSelectPopover",props:{applyTime:{type:{name:"func"},required:true,description:""},start:{type:{name:"string"},required:true,description:""},end:{type:{name:"string"},required:true,description:""},applyRefreshInterval:{type:{name:"func"},required:false,description:""},isPaused:{type:{name:"bool"},required:true,description:""},refreshInterval:{type:{name:"number"},required:true,description:""},commonlyUsedRanges:{type:{name:"arrayOf",value:{name:"custom",raw:"commonlyUsedRangeShape"}},required:true,description:""},dateFormat:{type:{name:"string"},required:true,description:""},recentlyUsedRanges:{type:{name:"arrayOf",value:{name:"custom",raw:"recentlyUsedRangeShape"}},required:true,description:""},isAutoRefreshOnly:{type:{name:"bool"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiQuickSelect=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _react=_interopRequireWildcard(__webpack_require__(0));var _moment=_interopRequireDefault(__webpack_require__(53));var _datemath=_interopRequireDefault(__webpack_require__(124));var _button=__webpack_require__(43);var _flex=__webpack_require__(54);var _title=__webpack_require__(113);var _spacer=__webpack_require__(161);var _form=__webpack_require__(157);var _tool_tip=__webpack_require__(112);var _horizontal_rule=__webpack_require__(316);var _time_units=__webpack_require__(315);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var LAST="last";var NEXT="next";var timeTenseOptions=[{value:LAST,text:"Last"},{value:NEXT,text:"Next"}];var timeUnitsOptions=Object.keys(_time_units.timeUnits).map(function(key){return{value:key,text:"".concat(_time_units.timeUnits[key],"s")}});var EuiQuickSelect=function(_Component){_inherits(EuiQuickSelect,_Component);function EuiQuickSelect(props){var _this;_classCallCheck(this,EuiQuickSelect);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiQuickSelect).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onTimeTenseChange",function(evt){_this.setState({timeTense:evt.target.value})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onTimeValueChange",function(evt){var sanitizedValue=parseInt(evt.target.value,10);_this.setState({timeValue:isNaN(sanitizedValue)?"":sanitizedValue})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onTimeUnitsChange",function(evt){_this.setState({timeUnits:evt.target.value})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"applyQuickSelect",function(){var _this$state=_this.state,timeTense=_this$state.timeTense,timeValue=_this$state.timeValue,timeUnits=_this$state.timeUnits;if(timeTense===NEXT){_this.props.applyTime({start:"now",end:"now+".concat(timeValue).concat(timeUnits),quickSelect:_objectSpread({},_this.state)});return}_this.props.applyTime({start:"now-".concat(timeValue).concat(timeUnits),end:"now",quickSelect:_objectSpread({},_this.state)})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"getBounds",function(){var startMoment=_datemath.default.parse(_this.props.start);var endMoment=_datemath.default.parse(_this.props.end,{roundUp:true});return{min:startMoment&&startMoment.isValid()?startMoment:(0,_moment.default)().subtract(15,"minute"),max:endMoment&&endMoment.isValid()?endMoment:(0,_moment.default)()}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"stepForward",function(){var _this$getBounds=_this.getBounds(),min=_this$getBounds.min,max=_this$getBounds.max;var diff=max.diff(min);_this.props.applyTime({start:(0,_moment.default)(max).add(1,"ms").toISOString(),end:(0,_moment.default)(max).add(diff+1,"ms").toISOString(),keepPopoverOpen:true})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"stepBackward",function(){var _this$getBounds2=_this.getBounds(),min=_this$getBounds2.min,max=_this$getBounds2.max;var diff=max.diff(min);_this.props.applyTime({start:(0,_moment.default)(min).subtract(diff+1,"ms").toISOString(),end:(0,_moment.default)(min).subtract(1,"ms").toISOString(),keepPopoverOpen:true})});var _this$props$prevQuick=_this.props.prevQuickSelect,_timeTense=_this$props$prevQuick.timeTense,_timeValue=_this$props$prevQuick.timeValue,_timeUnits=_this$props$prevQuick.timeUnits;_this.state={timeTense:_timeTense||LAST,timeValue:_timeValue||15,timeUnits:_timeUnits||"m"};return _this}_createClass(EuiQuickSelect,[{key:"render",value:function render(){return _react.default.createElement(_react.Fragment,null,_react.default.createElement(_flex.EuiFlexGroup,{responsive:false,alignItems:"center",gutterSize:"s"},_react.default.createElement(_flex.EuiFlexItem,null,_react.default.createElement(_title.EuiTitle,{size:"xxxs"},_react.default.createElement("span",null,"Quick select"))),_react.default.createElement(_flex.EuiFlexItem,{grow:false},_react.default.createElement(_tool_tip.EuiToolTip,{content:"Previous time window"},_react.default.createElement(_button.EuiButtonIcon,{"aria-label":"Previous time window",iconType:"arrowLeft",onClick:this.stepBackward}))),_react.default.createElement(_flex.EuiFlexItem,{grow:false},_react.default.createElement(_tool_tip.EuiToolTip,{content:"Next time window"},_react.default.createElement(_button.EuiButtonIcon,{"aria-label":"Next time window",iconType:"arrowRight",onClick:this.stepForward})))),_react.default.createElement(_spacer.EuiSpacer,{size:"s"}),_react.default.createElement(_flex.EuiFlexGroup,{gutterSize:"s",responsive:false},_react.default.createElement(_flex.EuiFlexItem,null,_react.default.createElement(_form.EuiFormRow,{compressed:true},_react.default.createElement(_form.EuiSelect,{"aria-label":"Quick time tense",value:this.state.timeTense,options:timeTenseOptions,onChange:this.onTimeTenseChange}))),_react.default.createElement(_flex.EuiFlexItem,null,_react.default.createElement(_form.EuiFormRow,{compressed:true},_react.default.createElement(_form.EuiFieldNumber,{"aria-label":"Quick time value",value:this.state.timeValue,onChange:this.onTimeValueChange}))),_react.default.createElement(_flex.EuiFlexItem,null,_react.default.createElement(_form.EuiFormRow,{compressed:true},_react.default.createElement(_form.EuiSelect,{"aria-label":"Quick time units",value:this.state.timeUnits,options:timeUnitsOptions,onChange:this.onTimeUnitsChange}))),_react.default.createElement(_flex.EuiFlexItem,{grow:false},_react.default.createElement(_form.EuiFormRow,null,_react.default.createElement(_button.EuiButton,{className:"euiQuickSelect__applyButton",size:"s",onClick:this.applyQuickSelect,disabled:""===this.state.timeValue||this.state.timeValue<=0},"Apply")))),_react.default.createElement(_horizontal_rule.EuiHorizontalRule,{margin:"s"}))}}]);return EuiQuickSelect}(_react.Component);exports.EuiQuickSelect=EuiQuickSelect;EuiQuickSelect.propTypes={applyTime:_propTypes.default.func.isRequired,start:_propTypes.default.string.isRequired,end:_propTypes.default.string.isRequired,prevQuickSelect:_propTypes.default.object};EuiQuickSelect.defaultProps={prevQuickSelect:{}};EuiQuickSelect.__docgenInfo={description:"",methods:[{name:"onTimeTenseChange",docblock:null,modifiers:[],params:[{name:"evt",type:null}],returns:null},{name:"onTimeValueChange",docblock:null,modifiers:[],params:[{name:"evt",type:null}],returns:null},{name:"onTimeUnitsChange",docblock:null,modifiers:[],params:[{name:"evt",type:null}],returns:null},{name:"applyQuickSelect",docblock:null,modifiers:[],params:[],returns:null},{name:"getBounds",docblock:null,modifiers:[],params:[],returns:null},{name:"stepForward",docblock:null,modifiers:[],params:[],returns:null},{name:"stepBackward",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiQuickSelect",props:{prevQuickSelect:{defaultValue:{value:"{}",computed:false},type:{name:"object"},required:false,description:""},applyTime:{type:{name:"func"},required:true,description:""},start:{type:{name:"string"},required:true,description:""},end:{type:{name:"string"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHorizontalRule=exports.MARGINS=exports.SIZES=void 0;__webpack_require__(5);__webpack_require__(2);var _propTypes=_interopRequireDefault(__webpack_require__(1));__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var sizeToClassNameMap={full:"euiHorizontalRule--full",half:"euiHorizontalRule--half",quarter:"euiHorizontalRule--quarter"};var SIZES=Object.keys(sizeToClassNameMap);exports.SIZES=SIZES;var marginToClassNameMap={none:null,xs:"euiHorizontalRule--marginXSmall",s:"euiHorizontalRule--marginSmall",m:"euiHorizontalRule--marginMedium",l:"euiHorizontalRule--marginLarge",xl:"euiHorizontalRule--marginXLarge",xxl:"euiHorizontalRule--marginXXLarge"};var MARGINS=Object.keys(marginToClassNameMap);exports.MARGINS=MARGINS;var EuiHorizontalRule=function EuiHorizontalRule(_ref){var className=_ref.className,size=_ref.size,margin=_ref.margin,rest=_objectWithoutProperties(_ref,["className","size","margin"]);var classes=(0,_classnames.default)("euiHorizontalRule",size?sizeToClassNameMap[size]:void 0,margin?marginToClassNameMap[margin]:void 0,className);return _react.default.createElement("hr",_extends({className:classes},rest))};exports.EuiHorizontalRule=EuiHorizontalRule;EuiHorizontalRule.propTypes={className:_propTypes.default.string,"aria-label":_propTypes.default.string,"data-test-subj":_propTypes.default.string,size:_propTypes.default.oneOf(["full","half","quarter"]),margin:_propTypes.default.oneOf(["none","xs","s","m","l","xl","xxl"])};EuiHorizontalRule.defaultProps={size:"full",margin:"l"};EuiHorizontalRule.__docgenInfo={description:"",methods:[],displayName:"EuiHorizontalRule",props:{size:{defaultValue:{value:"'full'",computed:false},type:{name:"enum",value:[{value:'"full"',computed:false},{value:'"half"',computed:false},{value:'"quarter"',computed:false}]},required:false,description:"Defines the width of the HR."},margin:{defaultValue:{value:"'l'",computed:false},type:{name:"enum",value:[{value:'"none"',computed:false},{value:'"xs"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false},{value:'"xl"',computed:false},{value:'"xxl"',computed:false}]},required:false,description:""},className:{type:{name:"string"},required:false,description:""},"aria-label":{type:{name:"string"},required:false,description:""},"data-test-subj":{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiCommonlyUsedTimeRanges=EuiCommonlyUsedTimeRanges;__webpack_require__(228);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _react=_interopRequireWildcard(__webpack_require__(0));var _types=__webpack_require__(314);var _flex=__webpack_require__(54);var _title=__webpack_require__(113);var _spacer=__webpack_require__(161);var _link=__webpack_require__(284);var _text=__webpack_require__(74);var _horizontal_rule=__webpack_require__(316);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function EuiCommonlyUsedTimeRanges(_ref){var applyTime=_ref.applyTime,commonlyUsedRanges=_ref.commonlyUsedRanges;var links=commonlyUsedRanges.map(function(_ref2){var start=_ref2.start,end=_ref2.end,label=_ref2.label;var applyCommonlyUsed=function applyCommonlyUsed(){applyTime({start:start,end:end})};return _react.default.createElement(_flex.EuiFlexItem,{key:label},_react.default.createElement(_link.EuiLink,{onClick:applyCommonlyUsed,"data-test-subj":"superDatePickerCommonlyUsed_".concat(label.replace(" ","_"))},label))});return _react.default.createElement(_react.Fragment,null,_react.default.createElement(_title.EuiTitle,{size:"xxxs"},_react.default.createElement("span",null,"Commonly used")),_react.default.createElement(_spacer.EuiSpacer,{size:"s"}),_react.default.createElement(_text.EuiText,{size:"s",className:"euiQuickSelectPopover__section"},_react.default.createElement(_flex.EuiFlexGrid,{gutterSize:"s",columns:2,responsive:false},links)),_react.default.createElement(_horizontal_rule.EuiHorizontalRule,{margin:"s"}))}EuiCommonlyUsedTimeRanges.propTypes={applyTime:_propTypes.default.func.isRequired,commonlyUsedRanges:_propTypes.default.arrayOf(_types.commonlyUsedRangeShape).isRequired};EuiCommonlyUsedTimeRanges.__docgenInfo={description:"",methods:[],displayName:"EuiCommonlyUsedTimeRanges",props:{applyTime:{type:{name:"func"},required:true,description:""},commonlyUsedRanges:{type:{name:"arrayOf",value:{name:"custom",raw:"commonlyUsedRangeShape"}},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiRecentlyUsed=EuiRecentlyUsed;var _propTypes=_interopRequireDefault(__webpack_require__(1));var _react=_interopRequireWildcard(__webpack_require__(0));var _types=__webpack_require__(314);var _pretty_duration=__webpack_require__(435);var _flex=__webpack_require__(54);var _title=__webpack_require__(113);var _spacer=__webpack_require__(161);var _link=__webpack_require__(284);var _text=__webpack_require__(74);var _horizontal_rule=__webpack_require__(316);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function EuiRecentlyUsed(_ref){var applyTime=_ref.applyTime,commonlyUsedRanges=_ref.commonlyUsedRanges,dateFormat=_ref.dateFormat,recentlyUsedRanges=_ref.recentlyUsedRanges;if(0===recentlyUsedRanges.length)return null;var links=recentlyUsedRanges.map(function(_ref2){var start=_ref2.start,end=_ref2.end;var applyRecentlyUsed=function applyRecentlyUsed(){applyTime({start:start,end:end})};return _react.default.createElement(_flex.EuiFlexItem,{grow:false,key:"".concat(start,"-").concat(end)},_react.default.createElement(_link.EuiLink,{onClick:applyRecentlyUsed},(0,_pretty_duration.prettyDuration)(start,end,commonlyUsedRanges,dateFormat)))});return _react.default.createElement(_react.Fragment,null,_react.default.createElement(_title.EuiTitle,{size:"xxxs"},_react.default.createElement("span",null,"Recently used date ranges")),_react.default.createElement(_spacer.EuiSpacer,{size:"s"}),_react.default.createElement(_text.EuiText,{size:"s",className:"euiQuickSelectPopover__section"},_react.default.createElement(_flex.EuiFlexGroup,{gutterSize:"s",direction:"column"},links)),_react.default.createElement(_horizontal_rule.EuiHorizontalRule,{margin:"s"}))}EuiRecentlyUsed.propTypes={applyTime:_propTypes.default.func.isRequired,commonlyUsedRanges:_propTypes.default.arrayOf(_types.commonlyUsedRangeShape).isRequired,dateFormat:_propTypes.default.string.isRequired,recentlyUsedRanges:_propTypes.default.arrayOf(_types.recentlyUsedRangeShape)};EuiRecentlyUsed.defaultProps={recentlyUsedRanges:[]};EuiRecentlyUsed.__docgenInfo={description:"",methods:[],displayName:"EuiRecentlyUsed",props:{recentlyUsedRanges:{defaultValue:{value:"[]",computed:false},type:{name:"arrayOf",value:{name:"custom",raw:"recentlyUsedRangeShape"}},required:false,description:""},applyTime:{type:{name:"func"},required:true,description:""},commonlyUsedRanges:{type:{name:"arrayOf",value:{name:"custom",raw:"commonlyUsedRangeShape"}},required:true,description:""},dateFormat:{type:{name:"string"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiRefreshInterval=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _react=_interopRequireWildcard(__webpack_require__(0));var _time_units=__webpack_require__(315);var _flex=__webpack_require__(54);var _title=__webpack_require__(113);var _spacer=__webpack_require__(161);var _form=__webpack_require__(157);var _button=__webpack_require__(43);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var refreshUnitsOptions=Object.keys(_time_units.timeUnits).filter(function(timeUnit){return"h"===timeUnit||"m"===timeUnit||"s"===timeUnit}).map(function(timeUnit){return{value:timeUnit,text:_time_units.timeUnitsPlural[timeUnit]}});var MILLISECONDS_IN_SECOND=1e3;var MILLISECONDS_IN_MINUTE=60*MILLISECONDS_IN_SECOND;var MILLISECONDS_IN_HOUR=60*MILLISECONDS_IN_MINUTE;function fromMilliseconds(milliseconds){function round(value){return parseFloat(value.toFixed(2))}if(milliseconds>MILLISECONDS_IN_HOUR)return{units:"h",value:round(milliseconds/MILLISECONDS_IN_HOUR)};if(milliseconds>MILLISECONDS_IN_MINUTE)return{units:"m",value:round(milliseconds/MILLISECONDS_IN_MINUTE)};return{units:"s",value:round(milliseconds/MILLISECONDS_IN_SECOND)}}function toMilliseconds(units,value){switch(units){case"h":return Math.round(value*MILLISECONDS_IN_HOUR);case"m":return Math.round(value*MILLISECONDS_IN_MINUTE);case"s":default:return Math.round(value*MILLISECONDS_IN_SECOND)}}var EuiRefreshInterval=function(_Component){_inherits(EuiRefreshInterval,_Component);function EuiRefreshInterval(props){var _this;_classCallCheck(this,EuiRefreshInterval);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiRefreshInterval).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onValueChange",function(evt){var sanitizedValue=parseFloat(evt.target.value);_this.setState({value:isNaN(sanitizedValue)?"":sanitizedValue},_this.applyRefreshInterval)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onUnitsChange",function(evt){_this.setState({units:evt.target.value},_this.applyRefreshInterval)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"applyRefreshInterval",function(){if(""===_this.state.value)return;var valueInMilliSeconds=toMilliseconds(_this.state.units,_this.state.value);_this.props.applyRefreshInterval({refreshInterval:valueInMilliSeconds,isPaused:valueInMilliSeconds<=0||_this.props.isPaused})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"toogleRefresh",function(){_this.props.applyRefreshInterval({refreshInterval:toMilliseconds(_this.state.units,_this.state.value),isPaused:!_this.props.isPaused})});var _fromMilliseconds=fromMilliseconds(props.refreshInterval),value=_fromMilliseconds.value,units=_fromMilliseconds.units;_this.state={value:value,units:units};return _this}_createClass(EuiRefreshInterval,[{key:"render",value:function render(){if(!this.props.applyRefreshInterval)return null;return _react.default.createElement(_react.Fragment,null,_react.default.createElement(_title.EuiTitle,{size:"xxxs"},_react.default.createElement("span",null,"Refresh every")),_react.default.createElement(_spacer.EuiSpacer,{size:"s"}),_react.default.createElement(_flex.EuiFlexGroup,{gutterSize:"s",responsive:false},_react.default.createElement(_flex.EuiFlexItem,null,_react.default.createElement(_form.EuiFormRow,{compressed:true},_react.default.createElement(_form.EuiFieldNumber,{value:this.state.value,onChange:this.onValueChange,"aria-label":"Refresh interval value","data-test-subj":"superDatePickerRefreshIntervalInput"}))),_react.default.createElement(_flex.EuiFlexItem,null,_react.default.createElement(_form.EuiFormRow,{compressed:true},_react.default.createElement(_form.EuiSelect,{"aria-label":"Refresh interval units",value:this.state.units,options:refreshUnitsOptions,onChange:this.onUnitsChange,"data-test-subj":"superDatePickerRefreshIntervalUnitsSelect"}))),_react.default.createElement(_flex.EuiFlexItem,{grow:false},_react.default.createElement(_form.EuiFormRow,null,_react.default.createElement(_button.EuiButton,{className:"euiRefreshInterval__startButton",iconType:this.props.isPaused?"play":"stop",size:"s",onClick:this.toogleRefresh,disabled:""===this.state.value||this.state.value<=0,"data-test-subj":"superDatePickerToggleRefreshButton"},this.props.isPaused?"Start":"Stop")))))}}]);return EuiRefreshInterval}(_react.Component);exports.EuiRefreshInterval=EuiRefreshInterval;EuiRefreshInterval.propTypes={applyRefreshInterval:_propTypes.default.func,isPaused:_propTypes.default.bool.isRequired,refreshInterval:_propTypes.default.number.isRequired};EuiRefreshInterval.__docgenInfo={description:"",methods:[{name:"onValueChange",docblock:null,modifiers:[],params:[{name:"evt",type:null}],returns:null},{name:"onUnitsChange",docblock:null,modifiers:[],params:[{name:"evt",type:null}],returns:null},{name:"applyRefreshInterval",docblock:null,modifiers:[],params:[],returns:null},{name:"toogleRefresh",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiRefreshInterval",props:{applyRefreshInterval:{type:{name:"func"},required:false,description:""},isPaused:{type:{name:"bool"},required:true,description:""},refreshInterval:{type:{name:"number"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiDatePopoverButton=EuiDatePopoverButton;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _react=_interopRequireDefault(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));var _popover=__webpack_require__(115);var _pretty_duration=__webpack_require__(435);var _date_popover_content=__webpack_require__(1722);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function EuiDatePopoverButton(props){var position=props.position,isInvalid=props.isInvalid,needsUpdating=props.needsUpdating,value=props.value,buttonProps=props.buttonProps,roundUp=props.roundUp,onChange=props.onChange,dateFormat=props.dateFormat,isOpen=props.isOpen,onPopoverToggle=props.onPopoverToggle,onPopoverClose=props.onPopoverClose,rest=_objectWithoutProperties(props,["position","isInvalid","needsUpdating","value","buttonProps","roundUp","onChange","dateFormat","isOpen","onPopoverToggle","onPopoverClose"]);var classes=(0,_classnames.default)(["euiDatePopoverButton","euiDatePopoverButton--".concat(position),{"euiDatePopoverButton-isSelected":isOpen,"euiDatePopoverButton-isInvalid":isInvalid,"euiDatePopoverButton-needsUpdating":needsUpdating}]);var title=value;isInvalid?title="Invalid date: ".concat(title):needsUpdating&&(title="Update needed: ".concat(title));var button=_react.default.createElement("button",_extends({onClick:onPopoverToggle,className:classes,title:title,"data-test-subj":"superDatePicker".concat(position,"DatePopoverButton")},buttonProps),(0,_pretty_duration.formatTimeString)(value,dateFormat,roundUp));return _react.default.createElement(_popover.EuiPopover,_extends({className:"euiDatePopoverButton__popover",button:button,isOpen:isOpen,closePopover:onPopoverClose,anchorPosition:"start"===position?"downLeft":"downRight",anchorClassName:"euiDatePopoverButton__popoverAnchor",panelPaddingSize:"none",ownFocus:true},rest),_react.default.createElement(_date_popover_content.EuiDatePopoverContent,{value:value,roundUp:roundUp,onChange:onChange,dateFormat:dateFormat}))}EuiDatePopoverButton.propTypes={position:_propTypes.default.oneOf(["start","end"]),isInvalid:_propTypes.default.bool,needsUpdating:_propTypes.default.bool,value:_propTypes.default.string.isRequired,onChange:_propTypes.default.func.isRequired,dateFormat:_propTypes.default.string.isRequired,roundUp:_propTypes.default.bool,isOpen:_propTypes.default.bool.isRequired,onPopoverToggle:_propTypes.default.func.isRequired,onPopoverClose:_propTypes.default.func.isRequired};EuiDatePopoverButton.__docgenInfo={description:"",methods:[],displayName:"EuiDatePopoverButton",props:{position:{type:{name:"enum",value:[{value:"'start'",computed:false},{value:"'end'",computed:false}]},required:false,description:""},isInvalid:{type:{name:"bool"},required:false,description:""},needsUpdating:{type:{name:"bool"},required:false,description:""},value:{type:{name:"string"},required:true,description:""},onChange:{type:{name:"func"},required:true,description:""},dateFormat:{type:{name:"string"},required:true,description:""},roundUp:{type:{name:"bool"},required:false,description:""},isOpen:{type:{name:"bool"},required:true,description:""},onPopoverToggle:{type:{name:"func"},required:true,description:""},onPopoverClose:{type:{name:"func"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiDatePopoverContent=EuiDatePopoverContent;var _propTypes=_interopRequireDefault(__webpack_require__(1));var _react=_interopRequireDefault(__webpack_require__(0));var _tabs=__webpack_require__(710);var _text=__webpack_require__(74);var _button=__webpack_require__(43);var _absolute_tab=__webpack_require__(1725);var _relative_tab=__webpack_require__(1726);var _date_modes=__webpack_require__(707);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function EuiDatePopoverContent(_ref){var value=_ref.value,roundUp=_ref.roundUp,onChange=_ref.onChange,dateFormat=_ref.dateFormat;var onTabClick=function onTabClick(selectedTab){switch(selectedTab.id){case _date_modes.DATE_MODES.ABSOLUTE:onChange((0,_date_modes.toAbsoluteString)(value,roundUp));break;case _date_modes.DATE_MODES.RELATIVE:onChange((0,_date_modes.toRelativeString)(value))}};var renderTabs=function renderTabs(){return[{id:_date_modes.DATE_MODES.ABSOLUTE,name:"Absolute",content:_react.default.createElement(_absolute_tab.EuiAbsoluteTab,{dateFormat:dateFormat,value:value,onChange:onChange,roundUp:roundUp}),"data-test-subj":"superDatePickerAbsoluteTab"},{id:_date_modes.DATE_MODES.RELATIVE,name:"Relative",content:_react.default.createElement(_relative_tab.EuiRelativeTab,{dateFormat:dateFormat,value:value,onChange:onChange}),"data-test-subj":"superDatePickerRelativeTab"},{id:_date_modes.DATE_MODES.NOW,name:"Now",content:_react.default.createElement(_text.EuiText,{size:"s",color:"subdued",className:"euiDatePopoverContent__padded--large"},_react.default.createElement("p",null,'Setting the time to "now" means that on every refresh this time will be set to the time of the refresh.'),_react.default.createElement(_button.EuiButton,{"data-test-subj":"superDatePickerNowButton",onClick:function onClick(){return onChange("now")},fullWidth:true,size:"s",fill:true},"Set date and time to now")),"data-test-subj":"superDatePickerNowTab"}]};return _react.default.createElement(_tabs.EuiTabbedContent,{className:"euiDatePopoverContent",tabs:renderTabs(),initialSelectedTab:{id:(0,_date_modes.getDateMode)(value)},onTabClick:onTabClick,size:"s",expand:true})}EuiDatePopoverContent.propTypes={value:_propTypes.default.string.isRequired,onChange:_propTypes.default.func.isRequired,roundUp:_propTypes.default.bool,dateFormat:_propTypes.default.string.isRequired};EuiDatePopoverContent.defaultProps={roundUp:false};EuiDatePopoverContent.__docgenInfo={description:"",methods:[],displayName:"EuiDatePopoverContent",props:{roundUp:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},value:{type:{name:"string"},required:true,description:""},onChange:{type:{name:"func"},required:true,description:""},dateFormat:{type:{name:"string"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiTabbedContent",{enumerable:true,get:function get(){return _tabbed_content.EuiTabbedContent}});var _tabbed_content=__webpack_require__(1724)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTabbedContent=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(19);__webpack_require__(94);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _services=__webpack_require__(25);var _tabs=__webpack_require__(712);var _tab=__webpack_require__(711);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var makeId=(0,_services.htmlIdGenerator)();var EuiTabbedContent=function(_Component){_inherits(EuiTabbedContent,_Component);function EuiTabbedContent(props){var _this;_classCallCheck(this,EuiTabbedContent);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiTabbedContent).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onTabClick",function(selectedTab){var _this$props=_this.props,onTabClick=_this$props.onTabClick,externalSelectedTab=_this$props.selectedTab;onTabClick&&onTabClick(selectedTab);externalSelectedTab||_this.setState({selectedTabId:selectedTab.id})});var initialSelectedTab=props.initialSelectedTab,_selectedTab=props.selectedTab,tabs=props.tabs;_this.rootId=makeId();_selectedTab||(_this.state={selectedTabId:initialSelectedTab&&initialSelectedTab.id||tabs[0].id});return _this}_createClass(EuiTabbedContent,[{key:"render",value:function render(){var _this2=this;var _this$props2=this.props,className=_this$props2.className,tabs=_this$props2.tabs,externalSelectedTab=(_this$props2.onTabClick,_this$props2.initialSelectedTab,_this$props2.selectedTab),size=_this$props2.size,expand=_this$props2.expand,rest=_objectWithoutProperties(_this$props2,["className","tabs","onTabClick","initialSelectedTab","selectedTab","size","expand"]);var selectedTab=externalSelectedTab||tabs.find(function(tab){return tab.id===_this2.state.selectedTabId});var selectedTabContent=selectedTab.content,selectedTabId=selectedTab.id;return _react.default.createElement("div",_extends({className:className},rest),_react.default.createElement(_tabs.EuiTabs,{size:size,expand:expand},tabs.map(function(tab){var id=tab.id,name=tab.name,tabProps=(tab.content,_objectWithoutProperties(tab,["id","name","content"]));var props=_objectSpread({key:id,id:id},tabProps,{onClick:function onClick(){return _this2.onTabClick(tab)},isSelected:tab===selectedTab,"aria-controls":"".concat(_this2.rootId)});return _react.default.createElement(_tab.EuiTab,props,name)})),_react.default.createElement("div",{role:"tabpanel",id:"".concat(this.rootId),"aria-labelledby":selectedTabId},selectedTabContent))}}]);return EuiTabbedContent}(_react.Component);exports.EuiTabbedContent=EuiTabbedContent;_defineProperty(EuiTabbedContent,"propTypes",{className:_propTypes.default.string,tabs:_propTypes.default.arrayOf(_propTypes.default.shape({id:_propTypes.default.string.isRequired,name:_propTypes.default.string.isRequired,content:_propTypes.default.node.isRequired})).isRequired,onTabClick:_propTypes.default.func,selectedTab:_propTypes.default.object,initialSelectedTab:_propTypes.default.object,size:_propTypes.default.oneOf(_tabs.SIZES),expand:_propTypes.default.bool});EuiTabbedContent.__docgenInfo={description:"",methods:[{name:"onTabClick",docblock:null,modifiers:[],params:[{name:"selectedTab",type:null}],returns:null}],displayName:"EuiTabbedContent",props:{className:{type:{name:"string"},required:false,description:""},tabs:{type:{name:"arrayOf",value:{name:"shape",value:{id:{name:"string",required:true},name:{name:"string",required:true},content:{name:"node",required:true}}}},required:true,description:"Each tab needs id and content properties, so we can associate it with its panel for accessibility.\nThe name property is also required to display to the user."},onTabClick:{type:{name:"func"},required:false,description:""},selectedTab:{type:{name:"object"},required:false,description:"Use this prop if you want to control selection state within the owner component"},initialSelectedTab:{type:{name:"object"},required:false,description:"Use this prop to set the initially selected tab while letting the tabbed content component\ncontrol selection state internally"},size:{type:{name:"enum",computed:true,value:"SIZES"},required:false,description:""},expand:{type:{name:"bool"},required:false,description:"Evenly stretches each tab to fill the horizontal space"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiAbsoluteTab=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _react=_interopRequireWildcard(__webpack_require__(0));var _moment=_interopRequireDefault(__webpack_require__(53));var _datemath=_interopRequireDefault(__webpack_require__(124));var _date_picker=__webpack_require__(704);var _form=__webpack_require__(157);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var INPUT_DATE_FORMAT="YYYY-MM-DD HH:mm:ss.SSS";var EuiAbsoluteTab=function(_Component){_inherits(EuiAbsoluteTab,_Component);function EuiAbsoluteTab(props){var _this;_classCallCheck(this,EuiAbsoluteTab);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiAbsoluteTab).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"handleChange",function(date){_this.props.onChange(date.toISOString());_this.setState({valueAsMoment:date,textInputValue:date.format(INPUT_DATE_FORMAT),isTextInvalid:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"handleTextChange",function(evt){var date=(0,_moment.default)(evt.target.value,INPUT_DATE_FORMAT,true);var updatedState={textInputValue:evt.target.value,isTextInvalid:!date.isValid()};if(date.isValid()){_this.props.onChange(date.toISOString());updatedState.valueAsMoment=date}_this.setState(updatedState)});var parsedValue=_datemath.default.parse(props.value,{roundUp:props.roundUp});var valueAsMoment=parsedValue&&parsedValue.isValid()?parsedValue:(0,_moment.default)();_this.state={valueAsMoment:valueAsMoment,textInputValue:valueAsMoment.format(INPUT_DATE_FORMAT),isTextInvalid:false};return _this}_createClass(EuiAbsoluteTab,[{key:"render",value:function render(){return _react.default.createElement("div",null,_react.default.createElement(_date_picker.EuiDatePicker,{inline:true,showTimeSelect:true,shadow:false,selected:this.state.valueAsMoment,onChange:this.handleChange}),_react.default.createElement(_form.EuiFormRow,{className:"euiDatePopoverContent__padded",isInvalid:this.state.isTextInvalid,error:this.state.isTextInvalid?"Expected format ".concat(INPUT_DATE_FORMAT):void 0},_react.default.createElement(_form.EuiFieldText,{isInvalid:this.state.isTextInvalid,value:this.state.textInputValue,onChange:this.handleTextChange,"data-test-subj":"superDatePickerAbsoluteDateInput"})))}}]);return EuiAbsoluteTab}(_react.Component);exports.EuiAbsoluteTab=EuiAbsoluteTab;EuiAbsoluteTab.propTypes={dateFormat:_propTypes.default.string.isRequired,value:_propTypes.default.string.isRequired,onChange:_propTypes.default.func.isRequired,roundUp:_propTypes.default.bool.isRequired};EuiAbsoluteTab.__docgenInfo={description:"",methods:[{name:"handleChange",docblock:null,modifiers:[],params:[{name:"date",type:null}],returns:null},{name:"handleTextChange",docblock:null,modifiers:[],params:[{name:"evt",type:null}],returns:null}],displayName:"EuiAbsoluteTab",props:{dateFormat:{type:{name:"string"},required:true,description:""},value:{type:{name:"string"},required:true,description:""},onChange:{type:{name:"func"},required:true,description:""},roundUp:{type:{name:"bool"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiRelativeTab=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _react=_interopRequireWildcard(__webpack_require__(0));var _datemath=_interopRequireDefault(__webpack_require__(124));var _flex=__webpack_require__(54);var _form=__webpack_require__(157);var _time_units=__webpack_require__(315);var _relative_options=__webpack_require__(708);var _relative_utils=__webpack_require__(436);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiRelativeTab=function(_Component){_inherits(EuiRelativeTab,_Component);function EuiRelativeTab(props){var _this;_classCallCheck(this,EuiRelativeTab);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiRelativeTab).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onCountChange",function(evt){var sanitizedValue=parseInt(evt.target.value,10);_this.setState({count:isNaN(sanitizedValue)?"":sanitizedValue},_this.handleChange)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onUnitChange",function(evt){_this.setState({unit:evt.target.value},_this.handleChange)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onRoundChange",function(evt){_this.setState({round:evt.target.checked},_this.handleChange)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"handleChange",function(){if(""===_this.state.count||_this.state.count<0)return;_this.props.onChange((0,_relative_utils.toRelativeStringFromParts)(_this.state))});_this.state=_objectSpread({},(0,_relative_utils.parseRelativeParts)(_this.props.value));return _this}_createClass(EuiRelativeTab,[{key:"render",value:function render(){var isInvalid=this.state.count<0;var parsedValue=_datemath.default.parse(this.props.value);var formatedValue=!isInvalid&&parsedValue&&parsedValue.isValid()?parsedValue.format(this.props.dateFormat):"";return _react.default.createElement(_form.EuiForm,{className:"euiDatePopoverContent__padded"},_react.default.createElement(_flex.EuiFlexGroup,{gutterSize:"s",responsive:false},_react.default.createElement(_flex.EuiFlexItem,null,_react.default.createElement(_form.EuiFormRow,{isInvalid:isInvalid,error:isInvalid?"Must be >= 0":null},_react.default.createElement(_form.EuiFieldNumber,{"aria-label":"Count of",value:this.state.count,onChange:this.onCountChange,isInvalid:isInvalid}))),_react.default.createElement(_flex.EuiFlexItem,null,_react.default.createElement(_form.EuiFormRow,null,_react.default.createElement(_form.EuiSelect,{value:this.state.unit,options:_relative_options.relativeOptions,onChange:this.onUnitChange})))),_react.default.createElement(_form.EuiFormRow,null,_react.default.createElement(_form.EuiFieldText,{value:formatedValue,readOnly:true})),_react.default.createElement(_form.EuiFormRow,null,_react.default.createElement(_form.EuiSwitch,{label:"Round to the ".concat(_time_units.timeUnits[this.state.unit.substring(0,1)]),checked:this.state.round,onChange:this.onRoundChange})))}}]);return EuiRelativeTab}(_react.Component);exports.EuiRelativeTab=EuiRelativeTab;EuiRelativeTab.propTypes={dateFormat:_propTypes.default.string.isRequired,value:_propTypes.default.string.isRequired,onChange:_propTypes.default.func.isRequired};EuiRelativeTab.__docgenInfo={description:"",methods:[{name:"onCountChange",docblock:null,modifiers:[],params:[{name:"evt",type:null}],returns:null},{name:"onUnitChange",docblock:null,modifiers:[],params:[{name:"evt",type:null}],returns:null},{name:"onRoundChange",docblock:null,modifiers:[],params:[{name:"evt",type:null}],returns:null},{name:"handleChange",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiRelativeTab",props:{dateFormat:{type:{name:"string"},required:true,description:""},value:{type:{name:"string"},required:true,description:""},onChange:{type:{name:"func"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiDelayHide",{enumerable:true,get:function get(){return _delay_hide.EuiDelayHide}});var _delay_hide=__webpack_require__(1728)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiDelayHide=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);var _react=__webpack_require__(0);var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function isComponentBecomingVisible(){var prevHide=arguments.length>0&&void 0!==arguments[0]&&arguments[0];var nextHide=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return true===prevHide&&false===nextHide}var EuiDelayHide=function(_Component){_inherits(EuiDelayHide,_Component);function EuiDelayHide(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiDelayHide);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiDelayHide)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"state",{hide:_this.props.hide,countdownExpired:_this.props.hide});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"timeoutId",void 0);_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"startCountdown",function(){null==_this.timeoutId&&(_this.timeoutId=setTimeout(_this.finishCountdown,_this.props.minimumDuration))});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"finishCountdown",function(){_this.timeoutId=void 0;_this.setState({countdownExpired:true})});return _this}_createClass(EuiDelayHide,[{key:"componentDidMount",value:function componentDidMount(){false===this.props.hide&&this.startCountdown()}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){var isBecomingVisible=isComponentBecomingVisible(prevProps.hide,this.props.hide);isBecomingVisible&&this.startCountdown()}},{key:"componentWillUnmount",value:function componentWillUnmount(){null!=this.timeoutId&&clearTimeout(this.timeoutId)}},{key:"render",value:function render(){var shouldHideContent=true===this.props.hide&&this.state.countdownExpired;return shouldHideContent?null:this.props.render()}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,prevState){var isBecomingVisible=isComponentBecomingVisible(prevState.hide,nextProps.hide);return{hide:nextProps.hide,countdownExpired:!isBecomingVisible&&prevState.countdownExpired}}}]);return EuiDelayHide}(_react.Component);exports.EuiDelayHide=EuiDelayHide;_defineProperty(EuiDelayHide,"defaultProps",{hide:false,minimumDuration:1e3});EuiDelayHide.propTypes={hide:_propTypes.default.bool,minimumDuration:_propTypes.default.number,render:_propTypes.default.func.isRequired};EuiDelayHide.__docgenInfo={description:"",methods:[{name:"getDerivedStateFromProps",docblock:null,modifiers:["static"],params:[{name:"nextProps",type:null},{name:"prevState",type:null}],returns:null},{name:"startCountdown",docblock:null,modifiers:[],params:[],returns:null},{name:"finishCountdown",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiDelayHide",props:{hide:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},minimumDuration:{defaultValue:{value:"1000",computed:false},type:{name:"number"},required:false,description:""},render:{type:{name:"func"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiDescriptionList",{enumerable:true,get:function get(){return _description_list.EuiDescriptionList}});Object.defineProperty(exports,"EuiDescriptionListTitle",{enumerable:true,get:function get(){return _description_list_title.EuiDescriptionListTitle}});Object.defineProperty(exports,"EuiDescriptionListDescription",{enumerable:true,get:function get(){return _description_list_description.EuiDescriptionListDescription}});var _description_list=__webpack_require__(1730);var _description_list_title=__webpack_require__(713);var _description_list_description=__webpack_require__(714)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiDescriptionList=exports.TEXT_STYLES=exports.ALIGNMENTS=exports.TYPES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _description_list_title=__webpack_require__(713);var _description_list_description=__webpack_require__(714);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var typesToClassNameMap={row:"euiDescriptionList--row",column:"euiDescriptionList--column",inline:"euiDescriptionList--inline"};var TYPES=Object.keys(typesToClassNameMap);exports.TYPES=TYPES;var alignmentsToClassNameMap={center:"euiDescriptionList--center",left:""};var ALIGNMENTS=Object.keys(alignmentsToClassNameMap);exports.ALIGNMENTS=ALIGNMENTS;var textStylesToClassNameMap={normal:"",reverse:"euiDescriptionList--reverse"};var TEXT_STYLES=Object.keys(textStylesToClassNameMap);exports.TEXT_STYLES=TEXT_STYLES;var EuiDescriptionList=function EuiDescriptionList(_ref){var align=_ref.align,children=_ref.children,className=_ref.className,compressed=_ref.compressed,descriptionProps=_ref.descriptionProps,listItems=_ref.listItems,textStyle=_ref.textStyle,titleProps=_ref.titleProps,type=_ref.type,rest=_objectWithoutProperties(_ref,["align","children","className","compressed","descriptionProps","listItems","textStyle","titleProps","type"]);var classes=(0,_classnames.default)("euiDescriptionList",typesToClassNameMap[type],alignmentsToClassNameMap[align],textStylesToClassNameMap[textStyle],{"euiDescriptionList--compressed":compressed},className);var childrenOrListItems=null;childrenOrListItems=listItems?listItems.map(function(item,index){return[_react.default.createElement(_description_list_title.EuiDescriptionListTitle,_extends({key:"title-".concat(index)},titleProps),item.title),_react.default.createElement(_description_list_description.EuiDescriptionListDescription,_extends({key:"description-".concat(index)},descriptionProps),item.description)]}):children;return _react.default.createElement("dl",_extends({className:classes},rest),childrenOrListItems)};exports.EuiDescriptionList=EuiDescriptionList;EuiDescriptionList.propTypes={listItems:_propTypes.default.arrayOf(_propTypes.default.shape({title:_propTypes.default.node,description:_propTypes.default.node})),children:_propTypes.default.node,className:_propTypes.default.string,align:_propTypes.default.oneOf(ALIGNMENTS),compressed:_propTypes.default.bool,textStyle:_propTypes.default.oneOf(TEXT_STYLES),type:_propTypes.default.oneOf(TYPES),titleProps:_propTypes.default.object,descriptionProps:_propTypes.default.object};EuiDescriptionList.defaultProps={align:"left",compressed:false,textStyle:"normal",type:"row"};EuiDescriptionList.__docgenInfo={description:"",methods:[],displayName:"EuiDescriptionList",props:{align:{defaultValue:{value:"'left'",computed:false},type:{name:"enum",value:[{value:'"center"',computed:false},{value:'"left"',computed:false}]},required:false,description:"Text alignment"},compressed:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Smaller text and condensed spacing"},textStyle:{defaultValue:{value:"'normal'",computed:false},type:{name:"enum",value:[{value:'"normal"',computed:false},{value:'"reverse"',computed:false}]},required:false,description:"How should the content be styled, by default\nthis will emphasize the title"},type:{defaultValue:{value:"'row'",computed:false},type:{name:"enum",value:[{value:'"row"',computed:false},{value:'"column"',computed:false},{value:'"inline"',computed:false}]},required:false,description:"How each item should be layed out"},listItems:{type:{name:"arrayOf",value:{name:"shape",value:{title:{name:"node",required:false},description:{name:"node",required:false}}}},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},titleProps:{type:{name:"object"},required:false,description:"Props object to be passed to `EuiDescriptionListTitle`"},descriptionProps:{type:{name:"object"},required:false,description:"Props object to be passed to `EuiDescriptionListDescription`"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiEmptyPrompt=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _title=__webpack_require__(285);var _flex=__webpack_require__(54);var _spacer=__webpack_require__(161);var _icon=__webpack_require__(280);var _text=__webpack_require__(74);var _title2=__webpack_require__(113);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiEmptyPrompt=function EuiEmptyPrompt(_ref){var iconType=_ref.iconType,iconColor=_ref.iconColor,title=_ref.title,titleSize=_ref.titleSize,body=_ref.body,actions=_ref.actions,className=_ref.className,rest=_objectWithoutProperties(_ref,["iconType","iconColor","title","titleSize","body","actions","className"]);var classes=(0,_classnames.default)("euiEmptyPrompt",className);var icon;iconType&&(icon=_react.default.createElement(_react.Fragment,null,_react.default.createElement(_icon.EuiIcon,{type:iconType,size:"xxl",color:iconColor}),_react.default.createElement(_spacer.EuiSpacer,{size:"s"})));var content;if(body||title){var titleEl;title&&(titleEl=_react.default.createElement(_react.Fragment,null,_react.default.createElement(_title2.EuiTitle,{size:titleSize},title),_react.default.createElement(_spacer.EuiSpacer,{size:"m"})));var bodyEl;body&&(bodyEl=_react.default.createElement(_react.Fragment,null,_react.default.createElement(_text.EuiText,null,body)));content=_react.default.createElement(_text.EuiTextColor,{color:"subdued"},titleEl,bodyEl)}var actionsEl;if(actions){var actionsRow;actionsRow=Array.isArray(actions)?_react.default.createElement(_flex.EuiFlexGroup,{gutterSize:"m",alignItems:"center",justifyContent:"center",direction:"column"},actions.map(function(action,index){return _react.default.createElement(_flex.EuiFlexItem,{key:index,grow:false},action)})):actions;actionsEl=_react.default.createElement(_react.Fragment,null,_react.default.createElement(_spacer.EuiSpacer,{size:"s"}),actionsRow)}return _react.default.createElement("div",_extends({className:classes},rest),icon,content,body&&actions&&_react.default.createElement(_spacer.EuiSpacer,{size:"l"}),actionsEl)};exports.EuiEmptyPrompt=EuiEmptyPrompt;EuiEmptyPrompt.propTypes={iconType:_propTypes.default.oneOf(_icon.TYPES),iconColor:_propTypes.default.oneOf(_icon.COLORS),title:_propTypes.default.node,titleSize:_propTypes.default.oneOf(_title.TITLE_SIZES),body:_propTypes.default.node,actions:_propTypes.default.node,className:_propTypes.default.string};EuiEmptyPrompt.defaultProps={iconColor:"subdued"};EuiEmptyPrompt.__docgenInfo={description:"",methods:[],displayName:"EuiEmptyPrompt",props:{iconColor:{defaultValue:{value:"'subdued'",computed:false},type:{name:"enum",computed:true,value:"COLORS"},required:false,description:"Pass `null` to use original icon color"},iconType:{type:{name:"enum",computed:true,value:"TYPES"},required:false,description:""},title:{type:{name:"node"},required:false,description:""},titleSize:{type:{name:"enum",computed:true,value:"TITLE_SIZES"},required:false,description:""},body:{type:{name:"node"},required:false,description:""},actions:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiExpression",{enumerable:true,get:function get(){return _expression.EuiExpression}});var _expression=__webpack_require__(1733)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiExpression=exports.COLORS=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _common=__webpack_require__(376);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var colorToClassNameMap={subdued:"euiExpression--subdued",primary:"euiExpression--primary",secondary:"euiExpression--secondary",accent:"euiExpression--accent",warning:"euiExpression--warning",danger:"euiExpression--danger"};var COLORS=(0,_common.keysOf)(colorToClassNameMap);exports.COLORS=COLORS;var EuiExpression=function EuiExpression(_ref){var className=_ref.className,description=_ref.description,descriptionProps=_ref.descriptionProps,value=_ref.value,valueProps=_ref.valueProps,color=_ref.color,uppercase=_ref.uppercase,isActive=_ref.isActive,onClick=_ref.onClick,rest=_objectWithoutProperties(_ref,["className","description","descriptionProps","value","valueProps","color","uppercase","isActive","onClick"]);var classes=(0,_classnames.default)("euiExpression",className,{"euiExpression-isActive":isActive,"euiExpression-isClickable":onClick,"euiExpression-isUppercase":uppercase},color?colorToClassNameMap[color]:void 0);var Component=onClick?"button":"span";return _react.default.createElement(Component,_extends({className:classes,onClick:onClick},rest),_react.default.createElement("span",_extends({className:"euiExpression__description"},descriptionProps),description)," ",_react.default.createElement("span",_extends({className:"euiExpression__value"},valueProps),value))};exports.EuiExpression=EuiExpression;EuiExpression.propTypes={className:_propTypes.default.string,"aria-label":_propTypes.default.string,"data-test-subj":_propTypes.default.string,description:_propTypes.default.node.isRequired,descriptionProps:_propTypes.default.any,value:_propTypes.default.node.isRequired,valueProps:_propTypes.default.any,color:_propTypes.default.oneOf(["subdued","primary","secondary","accent","warning","danger"]),uppercase:_propTypes.default.bool,isActive:_propTypes.default.bool,onClick:_propTypes.default.oneOfType([_propTypes.default.oneOfType([_propTypes.default.func,_propTypes.default.func.isRequired]),_propTypes.default.func])};EuiExpression.defaultProps={color:"secondary",uppercase:true,isActive:false};EuiExpression.__docgenInfo={description:"",methods:[],displayName:"EuiExpression",props:{color:{defaultValue:{value:"'secondary'",computed:false},type:{name:"enum",value:[{value:'"subdued"',computed:false},{value:'"primary"',computed:false},{value:'"secondary"',computed:false},{value:'"accent"',computed:false},{value:'"warning"',computed:false},{value:'"danger"',computed:false}]},required:false,description:"Color of the `description`"},uppercase:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Should the `description` auto-uppercase?"},isActive:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Adds an solid border at the bottom"},className:{type:{name:"string"},required:false,description:""},"aria-label":{type:{name:"string"},required:false,description:""},"data-test-subj":{type:{name:"string"},required:false,description:""},description:{type:{name:"node"},required:true,description:"First part of the expression"},descriptionProps:{type:{name:"any"},required:false,description:""},value:{type:{name:"node"},required:true,description:"Second part of the expression"},valueProps:{type:{name:"any"},required:false,description:""},onClick:{type:{name:"union",value:[{name:"union",value:[{name:"func"},{name:"func"}]},{name:"func"}]},required:false,description:"Turns the component into a button and adds an editable style border at the bottom"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFilterGroup=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiFilterGroup=function EuiFilterGroup(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiFilterGroup",className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiFilterGroup=EuiFilterGroup;EuiFilterGroup.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiFilterGroup.__docgenInfo={description:"",methods:[],displayName:"EuiFilterGroup",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFilterButton=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _notification_badge=__webpack_require__(587);var _button_empty=__webpack_require__(386);var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiFilterButton=function EuiFilterButton(_ref){var children=_ref.children,className=_ref.className,iconType=_ref.iconType,iconSide=_ref.iconSide,color=_ref.color,hasActiveFilters=_ref.hasActiveFilters,numFilters=_ref.numFilters,isDisabled=_ref.isDisabled,isSelected=_ref.isSelected,type=_ref.type,grow=_ref.grow,noDivider=_ref.noDivider,textProps=_ref.textProps,rest=_objectWithoutProperties(_ref,["children","className","iconType","iconSide","color","hasActiveFilters","numFilters","isDisabled","isSelected","type","grow","noDivider","textProps"]);var classes=(0,_classnames.default)("euiFilterButton",{"euiFilterButton-isSelected":isSelected,"euiFilterButton-hasActiveFilters":hasActiveFilters,"euiFilterButton--grow":grow,"euiFilterButton--noDivider":noDivider},className);var numFiltersDefined=null!=numFilters;var buttonTextClassNames=(0,_classnames.default)({"euiFilterButton__text-hasNotification":numFiltersDefined},textProps&&textProps.className);var buttonContents=_react.default.createElement(_react.Fragment,null,_react.default.createElement("span",{className:"euiFilterButton__textShift","data-text":children},children),numFiltersDefined&&_react.default.createElement(_notification_badge.EuiNotificationBadge,{className:"euiFilterButton__notification"},numFilters));return _react.default.createElement(_button_empty.EuiButtonEmpty,_extends({className:classes,color:color,isDisabled:isDisabled,iconSide:iconSide,iconType:iconType,type:type,textProps:_objectSpread({},textProps,{className:buttonTextClassNames})},rest),buttonContents)};exports.EuiFilterButton=EuiFilterButton;EuiFilterButton.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,onClick:_propTypes.default.func,iconType:_propTypes.default.oneOf(_icon.ICON_TYPES),iconSide:_propTypes.default.oneOf(_button_empty.ICON_SIDES),color:_propTypes.default.oneOf(_button_empty.COLORS),hasActiveFilters:_propTypes.default.bool,numFilters:_propTypes.default.number,isSelected:_propTypes.default.bool,isDisabled:_propTypes.default.bool,type:_propTypes.default.string,grow:_propTypes.default.bool,noDivider:_propTypes.default.bool};EuiFilterButton.defaultProps={type:"button",iconSide:"right",color:"text",grow:false};EuiFilterButton.__docgenInfo={description:"",methods:[],displayName:"EuiFilterButton",props:{type:{defaultValue:{value:"'button'",computed:false},type:{name:"string"},required:false,description:"Defines html button input type"},iconSide:{defaultValue:{value:"'right'",computed:false},type:{name:"enum",computed:true,value:"ICON_SIDES"},required:false,description:""},color:{defaultValue:{value:"'text'",computed:false},type:{name:"enum",computed:true,value:"COLORS"},required:false,description:""},grow:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Should the button grow to fill it's container, best used for dropdown buttons"},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},onClick:{type:{name:"func"},required:false,description:""},iconType:{type:{name:"enum",computed:true,value:"ICON_TYPES"},required:false,description:"Use any one of our icons"},hasActiveFilters:{type:{name:"bool"},required:false,description:"Bolds the button if true"},numFilters:{type:{name:"number"},required:false,description:"Adds a notification with number"},isSelected:{type:{name:"bool"},required:false,description:"Applies a visual state to the button useful when using with a popover."},isDisabled:{type:{name:"bool"},required:false,description:""},noDivider:{type:{name:"bool"},required:false,description:"Remove border after button, good for opposite filters"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFilterSelectItem=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _flex=__webpack_require__(54);var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var CHECKED_ON="on";var CHECKED_OFF="off";var resolveIconAndColor=function resolveIconAndColor(checked){if(!checked)return{icon:"empty"};return checked===CHECKED_ON?{icon:"check",color:"text"}:{icon:"cross",color:"text"}};var EuiFilterSelectItem=function(_Component){_inherits(EuiFilterSelectItem,_Component);function EuiFilterSelectItem(props){var _this;_classCallCheck(this,EuiFilterSelectItem);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiFilterSelectItem).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"focus",function(){_this.buttonRef&&_this.buttonRef.focus()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onFocus",function(){_this.mounted&&_this.setState({hasFocus:true})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onBlur",function(){_this.mounted&&_this.setState({hasFocus:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"hasFocus",function(){return _this.state.hasFocus});_this.state={hasFocus:false};return _this}_createClass(EuiFilterSelectItem,[{key:"render",value:function render(){var _this2=this;var _this$props=this.props,children=_this$props.children,className=_this$props.className,disabled=_this$props.disabled,checked=_this$props.checked,rest=_objectWithoutProperties(_this$props,["children","className","disabled","checked"]);var classes=(0,_classnames.default)("euiFilterSelectItem",className);var _resolveIconAndColor=resolveIconAndColor(checked),icon=_resolveIconAndColor.icon,color=_resolveIconAndColor.color;return _react.default.createElement("button",_extends({ref:function ref(_ref){return _this2.buttonRef=_ref},className:classes,type:"button",disabled:disabled},rest),_react.default.createElement(_flex.EuiFlexGroup,{alignItems:"center",gutterSize:"s",component:"span",responsive:false},_react.default.createElement(_flex.EuiFlexItem,{grow:false},_react.default.createElement(_icon.EuiIcon,{color:color,type:icon})),_react.default.createElement(_flex.EuiFlexItem,null,children)))}}]);return EuiFilterSelectItem}(_react.Component);exports.EuiFilterSelectItem=EuiFilterSelectItem;EuiFilterSelectItem.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,checked:_propTypes.default.oneOf([CHECKED_ON,CHECKED_OFF])};EuiFilterSelectItem.__docgenInfo={description:"",methods:[{name:"focus",docblock:null,modifiers:[],params:[],returns:null},{name:"onFocus",docblock:null,modifiers:[],params:[],returns:null},{name:"onBlur",docblock:null,modifiers:[],params:[],returns:null},{name:"hasFocus",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiFilterSelectItem",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},checked:{type:{name:"enum",value:[{value:"'on'",computed:false},{value:"'off'",computed:false}]},required:false,description:"Applies an icon and visual styling to activated items"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiFacetButton",{enumerable:true,get:function get(){return _facet_button.EuiFacetButton}});Object.defineProperty(exports,"EuiFacetGroup",{enumerable:true,get:function get(){return _facet_group.EuiFacetGroup}});var _facet_button=__webpack_require__(1738);var _facet_group=__webpack_require__(1739)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFacetButton=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _badge=__webpack_require__(384);var _loading=__webpack_require__(183);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiFacetButton=function EuiFacetButton(_ref){var children=_ref.children,className=_ref.className,icon=_ref.icon,isDisabled=_ref.isDisabled,isLoading=_ref.isLoading,isSelected=_ref.isSelected,quantity=_ref.quantity,buttonRef=_ref.buttonRef,rest=_objectWithoutProperties(_ref,["children","className","icon","isDisabled","isLoading","isSelected","quantity","buttonRef"]);isDisabled=!!isLoading||isDisabled;var classes=(0,_classnames.default)("euiFacetButton",{"euiFacetButton--isSelected":isSelected,"euiFacetButton--unSelected":!isSelected},className);var buttonQuantity;isLoading?buttonQuantity=_react.default.createElement(_loading.EuiLoadingSpinner,{className:"euiFacetButton__spinner",size:"m"}):"number"===typeof quantity&&(buttonQuantity=_react.default.createElement(_badge.EuiNotificationBadge,{className:"euiFacetButton__quantity"},quantity));var buttonIcon;icon&&(buttonIcon=_react.default.cloneElement(icon,{className:"euiFacetButton__icon"}));return _react.default.createElement("button",_extends({disabled:isDisabled,className:classes,type:"button",ref:buttonRef},rest),_react.default.createElement("span",{className:"euiFacetButton__content"},buttonIcon,_react.default.createElement("span",{className:"euiFacetButton__text"},children),buttonQuantity))};exports.EuiFacetButton=EuiFacetButton;EuiFacetButton.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,icon:_propTypes.default.node,isDisabled:_propTypes.default.bool,onClick:_propTypes.default.func,isLoading:_propTypes.default.bool,isSelected:_propTypes.default.bool,quantity:_propTypes.default.number,buttonRef:_propTypes.default.func};EuiFacetButton.defaultProps={isDisabled:false,isLoading:false,isSelected:false};EuiFacetButton.__docgenInfo={description:"",methods:[],displayName:"EuiFacetButton",props:{isDisabled:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},isLoading:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Adds/swaps for loading spinner & disables"},isSelected:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Changes visual of button to indicate it's currently selected"},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},icon:{type:{name:"node"},required:false,description:""},onClick:{type:{name:"func"},required:false,description:""},quantity:{type:{name:"number"},required:false,description:"Adds a notification indicator for displaying the quantity provided"},buttonRef:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFacetGroup=exports.LAYOUTS=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _flex=__webpack_require__(54);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var layoutToClassNameMap={vertical:"euiFacetGroup--vertical",horizontal:"euiFacetGroup--horizontal"};var LAYOUTS=Object.keys(layoutToClassNameMap);exports.LAYOUTS=LAYOUTS;var EuiFacetGroup=function EuiFacetGroup(_ref){var children=_ref.children,className=_ref.className,layout=_ref.layout,rest=_objectWithoutProperties(_ref,["children","className","layout"]);var classes=(0,_classnames.default)("euiFacetGroup",layoutToClassNameMap[layout],className);var direction="vertical"===layout?"column":"row";var wrap="vertical"!==layout;return _react.default.createElement(_flex.EuiFlexGroup,_extends({className:classes,direction:direction,wrap:wrap,gutterSize:"none"},rest),children)};exports.EuiFacetGroup=EuiFacetGroup;EuiFacetGroup.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,layout:_propTypes.default.oneOf(LAYOUTS)};EuiFacetGroup.defaultProps={layout:"vertical"};EuiFacetGroup.__docgenInfo={description:"",methods:[],displayName:"EuiFacetGroup",props:{layout:{defaultValue:{value:"'vertical'",computed:false},type:{name:"enum",value:[{value:'"vertical"',computed:false},{value:'"horizontal"',computed:false}]},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiFlyout",{enumerable:true,get:function get(){return _flyout.EuiFlyout}});Object.defineProperty(exports,"SIZES",{enumerable:true,get:function get(){return _flyout.SIZES}});Object.defineProperty(exports,"EuiFlyoutBody",{enumerable:true,get:function get(){return _flyout_body.EuiFlyoutBody}});Object.defineProperty(exports,"EuiFlyoutFooter",{enumerable:true,get:function get(){return _flyout_footer.EuiFlyoutFooter}});Object.defineProperty(exports,"EuiFlyoutHeader",{enumerable:true,get:function get(){return _flyout_header.EuiFlyoutHeader}});var _flyout=__webpack_require__(1741);var _flyout_body=__webpack_require__(1742);var _flyout_footer=__webpack_require__(1743);var _flyout_header=__webpack_require__(1744)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFlyout=exports.SIZES=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(9);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _focusTrapReact=_interopRequireDefault(__webpack_require__(126));var _services=__webpack_require__(25);var _overlay_mask=__webpack_require__(286);var _button=__webpack_require__(43);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var sizeToClassNameMap={s:"euiFlyout--small",m:"euiFlyout--medium",l:"euiFlyout--large"};var SIZES=Object.keys(sizeToClassNameMap);exports.SIZES=SIZES;var EuiFlyout=function(_Component){_inherits(EuiFlyout,_Component);function EuiFlyout(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiFlyout);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiFlyout)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onKeyDown",function(event){if(event.keyCode===_services.keyCodes.ESCAPE){event.preventDefault();_this.props.onClose()}});return _this}_createClass(EuiFlyout,[{key:"render",value:function render(){var _this2=this;var _this$props=this.props,className=_this$props.className,children=_this$props.children,hideCloseButton=_this$props.hideCloseButton,onClose=_this$props.onClose,ownFocus=_this$props.ownFocus,size=_this$props.size,closeButtonAriaLabel=_this$props.closeButtonAriaLabel,maxWidth=_this$props.maxWidth,style=_this$props.style,rest=_objectWithoutProperties(_this$props,["className","children","hideCloseButton","onClose","ownFocus","size","closeButtonAriaLabel","maxWidth","style"]);var newStyle;var widthClassName;if(true===maxWidth)widthClassName="euiFlyout--maxWidth-default";else if(false!==maxWidth){var value="number"===typeof maxWidth?"".concat(maxWidth,"px"):maxWidth;newStyle=_objectSpread({},style,{maxWidth:value})}var classes=(0,_classnames.default)("euiFlyout",sizeToClassNameMap[size],widthClassName,className);var closeButton;onClose&&!hideCloseButton&&(closeButton=_react.default.createElement(_button.EuiButtonIcon,{className:"euiFlyout__closeButton",iconType:"cross",color:"text","aria-label":closeButtonAriaLabel,onClick:onClose,"data-test-subj":"euiFlyoutCloseButton"}));var flyoutContent=_react.default.createElement("div",_extends({role:"dialog",ref:function ref(node){_this2.flyout=node},className:classes,tabIndex:0,style:newStyle||style},rest),closeButton,children);var optionalOverlay;ownFocus&&(optionalOverlay=_react.default.createElement(_overlay_mask.EuiOverlayMask,{onClick:onClose}));return _react.default.createElement("span",null,_react.default.createElement(_services.EuiWindowEvent,{event:"keydown",handler:this.onKeyDown}),optionalOverlay,_react.default.createElement(_focusTrapReact.default,{focusTrapOptions:{fallbackFocus:function fallbackFocus(){return _this2.flyout},clickOutsideDeactivates:true}},flyoutContent))}}]);return EuiFlyout}(_react.Component);exports.EuiFlyout=EuiFlyout;EuiFlyout.propTypes={className:_propTypes.default.string,children:_propTypes.default.node,onClose:_propTypes.default.func.isRequired,size:_propTypes.default.oneOf(SIZES),hideCloseButton:_propTypes.default.bool,ownFocus:_propTypes.default.bool,closeButtonAriaLabel:_propTypes.default.string,maxWidth:_propTypes.default.oneOfType([_propTypes.default.bool,_propTypes.default.number,_propTypes.default.string])};EuiFlyout.defaultProps={size:"m",hideCloseButton:false,ownFocus:false,closeButtonAriaLabel:"Closes this dialog",maxWidth:false};EuiFlyout.__docgenInfo={description:"",methods:[{name:"onKeyDown",docblock:null,modifiers:[],params:[{name:"event",type:null}],returns:null}],displayName:"EuiFlyout",props:{size:{defaultValue:{value:"'m'",computed:false},type:{name:"enum",value:[{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false}]},required:false,description:""},hideCloseButton:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Hides the default close button. You must provide another close button somewhere within the flyout."},ownFocus:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Locks the mouse / keyboard focus to within the flyout"},closeButtonAriaLabel:{defaultValue:{value:"'Closes this dialog'",computed:false},type:{name:"string"},required:false,description:"Specify an aria-label for the close button of the flyout"},maxWidth:{defaultValue:{value:"false",computed:false},type:{name:"union",value:[{name:"bool"},{name:"number"},{name:"string"}]},required:false,description:"Sets the max-width of the page,\nset to `true` to use the default size,\nset to `false` to not restrict the width,\nset to a number for a custom width in px,\nset to a string for a custom width in custom measurement."},className:{type:{name:"string"},required:false,description:""},children:{type:{name:"node"},required:false,description:""},onClose:{type:{name:"func"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFlyoutBody=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiFlyoutBody=function EuiFlyoutBody(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiFlyoutBody",className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiFlyoutBody=EuiFlyoutBody;EuiFlyoutBody.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiFlyoutBody.__docgenInfo={description:"",methods:[],displayName:"EuiFlyoutBody",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFlyoutFooter=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiFlyoutFooter=function EuiFlyoutFooter(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiFlyoutFooter",className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiFlyoutFooter=EuiFlyoutFooter;EuiFlyoutFooter.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiFlyoutFooter.__docgenInfo={description:"",methods:[],displayName:"EuiFlyoutFooter",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiFlyoutHeader=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiFlyoutHeader=function EuiFlyoutHeader(_ref){var children=_ref.children,className=_ref.className,hasBorder=_ref.hasBorder,rest=_objectWithoutProperties(_ref,["children","className","hasBorder"]);var classes=(0,_classnames.default)("euiFlyoutHeader",{"euiFlyoutHeader--hasBorder":hasBorder},className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiFlyoutHeader=EuiFlyoutHeader;EuiFlyoutHeader.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,hasBorder:_propTypes.default.bool};EuiFlyoutHeader.defaultProps={hasBorder:false};EuiFlyoutHeader.__docgenInfo={description:"",methods:[],displayName:"EuiFlyoutHeader",props:{hasBorder:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Adds a bottom border to the header to divide header from body"},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiHeader",{enumerable:true,get:function get(){return _header.EuiHeader}});Object.defineProperty(exports,"EuiHeaderAlert",{enumerable:true,get:function get(){return _header_alert.EuiHeaderAlert}});Object.defineProperty(exports,"EuiHeaderBreadcrumbs",{enumerable:true,get:function get(){return _header_breadcrumbs.EuiHeaderBreadcrumbs}});Object.defineProperty(exports,"EuiHeaderLink",{enumerable:true,get:function get(){return _header_links.EuiHeaderLink}});Object.defineProperty(exports,"EuiHeaderLinks",{enumerable:true,get:function get(){return _header_links.EuiHeaderLinks}});Object.defineProperty(exports,"EuiHeaderLogo",{enumerable:true,get:function get(){return _header_logo.EuiHeaderLogo}});Object.defineProperty(exports,"EuiHeaderSection",{enumerable:true,get:function get(){return _header_section.EuiHeaderSection}});Object.defineProperty(exports,"EuiHeaderSectionItem",{enumerable:true,get:function get(){return _header_section.EuiHeaderSectionItem}});Object.defineProperty(exports,"EuiHeaderSectionItemButton",{enumerable:true,get:function get(){return _header_section.EuiHeaderSectionItemButton}});var _header=__webpack_require__(1746);var _header_alert=__webpack_require__(1747);var _header_breadcrumbs=__webpack_require__(1749);var _header_links=__webpack_require__(1751);var _header_logo=__webpack_require__(1757);var _header_section=__webpack_require__(716)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHeader=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiHeader=function EuiHeader(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiHeader",className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiHeader=EuiHeader;EuiHeader.__docgenInfo={description:"",methods:[],displayName:"EuiHeader"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiHeaderAlert",{enumerable:true,get:function get(){return _header_alert.EuiHeaderAlert}});var _header_alert=__webpack_require__(1748)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHeaderAlert=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _button=__webpack_require__(43);var _flex=__webpack_require__(54);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiHeaderAlert=function EuiHeaderAlert(_ref){var action=_ref.action,className=_ref.className,date=_ref.date,text=_ref.text,title=_ref.title,rest=_objectWithoutProperties(_ref,["action","className","date","text","title"]);var classes=(0,_classnames.default)("euiHeaderAlert",className);return _react.default.createElement(_i18n.EuiI18n,{token:"euiHeaderAlert.dismiss",default:"Dismiss"},function(dismiss){return _react.default.createElement("div",_extends({className:classes},rest),_react.default.createElement(_button.EuiButtonIcon,{"aria-label":dismiss,iconType:"cross",size:"s",className:"euiHeaderAlert__dismiss"}),_react.default.createElement("div",{className:"euiHeaderAlert__title"},title),_react.default.createElement("div",{className:"euiHeaderAlert__text"},text),_react.default.createElement(_flex.EuiFlexGroup,{justifyContent:"spaceBetween"},_react.default.createElement(_flex.EuiFlexItem,{grow:false},_react.default.createElement("div",{className:"euiHeaderAlert__action euiLink"},action)),_react.default.createElement(_flex.EuiFlexItem,{grow:false},_react.default.createElement("div",{className:"euiHeaderAlert__date"},date))))})};exports.EuiHeaderAlert=EuiHeaderAlert;EuiHeaderAlert.propTypes={action:_propTypes.default.node,className:_propTypes.default.string,date:_propTypes.default.node.isRequired,text:_propTypes.default.node,title:_propTypes.default.node.isRequired};EuiHeaderAlert.__docgenInfo={description:"",methods:[],displayName:"EuiHeaderAlert",props:{action:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},date:{type:{name:"node"},required:true,description:""},text:{type:{name:"node"},required:false,description:""},title:{type:{name:"node"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiHeaderBreadcrumbs",{enumerable:true,get:function get(){return _header_breadcrumbs.EuiHeaderBreadcrumbs}});var _header_breadcrumbs=__webpack_require__(1750)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHeaderBreadcrumbs=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));var _breadcrumbs=__webpack_require__(588);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiHeaderBreadcrumbs=function EuiHeaderBreadcrumbs(_ref){var className=_ref.className,breadcrumbs=_ref.breadcrumbs,rest=_objectWithoutProperties(_ref,["className","breadcrumbs"]);var classes=(0,_classnames.default)("euiHeaderBreadcrumbs",className);return _react.default.createElement(_breadcrumbs.EuiBreadcrumbs,_extends({max:4,truncate:true,breadcrumbs:breadcrumbs,className:classes},rest))};exports.EuiHeaderBreadcrumbs=EuiHeaderBreadcrumbs;EuiHeaderBreadcrumbs.__docgenInfo={description:"",methods:[],displayName:"EuiHeaderBreadcrumbs"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiHeaderLink",{enumerable:true,get:function get(){return _header_link.EuiHeaderLink}});Object.defineProperty(exports,"EuiHeaderLinks",{enumerable:true,get:function get(){return _header_links.EuiHeaderLinks}});var _header_link=__webpack_require__(1752);var _header_links=__webpack_require__(1753)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHeaderLink=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _button=__webpack_require__(43);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiHeaderLink=function EuiHeaderLink(_ref){var href=_ref.href,onClick=_ref.onClick,iconType=_ref.iconType,isActive=_ref.isActive,children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["href","onClick","iconType","isActive","children","className"]);var classes=(0,_classnames.default)("euiHeaderLink",className);return _react.default.createElement(_button.EuiButtonEmpty,_extends({className:classes,href:href,onClick:onClick,iconType:iconType,color:isActive?"primary":"text"},rest),children)};exports.EuiHeaderLink=EuiHeaderLink;EuiHeaderLink.propTypes={href:_propTypes.default.string,children:_propTypes.default.node,isActive:_propTypes.default.bool};EuiHeaderLink.__docgenInfo={description:"",methods:[],displayName:"EuiHeaderLink",props:{href:{type:{name:"string"},required:false,description:""},children:{type:{name:"node"},required:false,description:""},isActive:{type:{name:"bool"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHeaderLinks=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _icon=__webpack_require__(20);var _popover=__webpack_require__(115);var _i18n=__webpack_require__(30);var _header_section=__webpack_require__(716);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiHeaderLinks=function(_Component){_inherits(EuiHeaderLinks,_Component);function EuiHeaderLinks(props){var _this;_classCallCheck(this,EuiHeaderLinks);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiHeaderLinks).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onMenuButtonClick",function(){_this.setState({isOpen:!_this.state.isOpen})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"closeMenu",function(){_this.setState({isOpen:false})});_this.state={isOpen:false};return _this}_createClass(EuiHeaderLinks,[{key:"render",value:function render(){var _this2=this;var _this$props=this.props,children=_this$props.children,className=_this$props.className,rest=_objectWithoutProperties(_this$props,["children","className"]);var classes=(0,_classnames.default)("euiHeaderLinks",className);var button=_react.default.createElement(_header_section.EuiHeaderSectionItem,{border:"left"},_react.default.createElement(_i18n.EuiI18n,{token:"euiHeaderLinks.openNavigationMenu",default:"Open navigation menu"},function(openNavigationMenu){return _react.default.createElement(_header_section.EuiHeaderSectionItemButton,{"aria-label":openNavigationMenu,onClick:_this2.onMenuButtonClick},_react.default.createElement(_icon.EuiIcon,{type:"apps",size:"m"}))}));return _react.default.createElement(_i18n.EuiI18n,{token:"euiHeaderLinks.appNavigation",default:"App navigation"},function(appNavigation){return _react.default.createElement("nav",_extends({className:classes,"aria-label":appNavigation},rest),_react.default.createElement("div",{className:"euiHeaderLinks__list",role:"navigation"},children),_react.default.createElement(_popover.EuiPopover,{className:"euiHeaderLinks__mobile",ownFocus:true,button:button,isOpen:_this2.state.isOpen,anchorPosition:"downRight",closePopover:_this2.closeMenu,panelClassName:"euiHeaderLinks__mobileList",panelPaddingSize:"none"},children))})}}]);return EuiHeaderLinks}(_react.Component);exports.EuiHeaderLinks=EuiHeaderLinks;EuiHeaderLinks.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiHeaderLinks.__docgenInfo={description:"",methods:[{name:"onMenuButtonClick",docblock:null,modifiers:[],params:[],returns:null},{name:"closeMenu",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiHeaderLinks",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHeaderSection=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var sideToClassNameMap={left:"euiHeaderSection--left",right:"euiHeaderSection--right"};var SIDES=Object.keys(sideToClassNameMap);var EuiHeaderSection=function EuiHeaderSection(_ref){var side=_ref.side,children=_ref.children,className=_ref.className,grow=_ref.grow,rest=_objectWithoutProperties(_ref,["side","children","className","grow"]);var classes=(0,_classnames.default)("euiHeaderSection",{"euiHeaderSection--grow":grow,"euiHeaderSection--dontGrow":!grow},sideToClassNameMap[side],className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiHeaderSection=EuiHeaderSection;EuiHeaderSection.propTypes={side:_propTypes.default.oneOf(SIDES),grow:_propTypes.default.bool};EuiHeaderSection.defaultProps={side:"left",grow:false};EuiHeaderSection.__docgenInfo={description:"",methods:[],displayName:"EuiHeaderSection",props:{side:{defaultValue:{value:"'left'",computed:false},type:{name:"enum",value:[{value:'"left"',computed:false},{value:'"right"',computed:false}]},required:false,description:""},grow:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHeaderSectionItem=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var borderToClassNameMap={left:"euiHeaderSectionItem--borderLeft",right:"euiHeaderSectionItem--borderRight",none:void 0};var BORDERS=Object.keys(borderToClassNameMap);var EuiHeaderSectionItem=function EuiHeaderSectionItem(_ref){var border=_ref.border,children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["border","children","className"]);var classes=(0,_classnames.default)("euiHeaderSectionItem",borderToClassNameMap[border],className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiHeaderSectionItem=EuiHeaderSectionItem;EuiHeaderSectionItem.propTypes={border:_propTypes.default.oneOf(BORDERS)};EuiHeaderSectionItem.defaultProps={border:"left"};EuiHeaderSectionItem.__docgenInfo={description:"",methods:[],displayName:"EuiHeaderSectionItem",props:{border:{defaultValue:{value:"'left'",computed:false},type:{name:"enum",value:[{value:'"left"',computed:false},{value:'"right"',computed:false},{value:'"none"',computed:false}]},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHeaderSectionItemButton=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiHeaderSectionItemButton=function EuiHeaderSectionItemButton(_ref){var onClick=_ref.onClick,children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["onClick","children","className"]);var classes=(0,_classnames.default)("euiHeaderSectionItem__button",className);return _react.default.createElement("button",_extends({className:classes,onClick:onClick,type:"button"},rest),children)};exports.EuiHeaderSectionItemButton=EuiHeaderSectionItemButton;EuiHeaderSectionItemButton.propTypes={onClick:_propTypes.default.func};EuiHeaderSectionItemButton.__docgenInfo={description:"",methods:[],displayName:"EuiHeaderSectionItemButton",props:{onClick:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHeaderLogo=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiHeaderLogo=function EuiHeaderLogo(_ref){var iconType=_ref.iconType,iconTitle=_ref.iconTitle,href=_ref.href,children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["iconType","iconTitle","href","children","className"]);var classes=(0,_classnames.default)("euiHeaderLogo",className);return _react.default.createElement("a",_extends({href:href,className:classes},rest),_react.default.createElement(_icon.EuiIcon,{className:"euiHeaderLogo__icon",size:"l",type:iconType,title:iconTitle}),children&&_react.default.createElement("span",{className:"euiHeaderLogo__text"},children))};exports.EuiHeaderLogo=EuiHeaderLogo;EuiHeaderLogo.propTypes={href:_propTypes.default.string,children:_propTypes.default.node,iconType:_propTypes.default.string,iconTitle:_propTypes.default.string};EuiHeaderLogo.defaultProps={iconType:"logoElastic",iconTitle:"Elastic"};EuiHeaderLogo.__docgenInfo={description:"",methods:[],displayName:"EuiHeaderLogo",props:{iconType:{defaultValue:{value:"'logoElastic'",computed:false},type:{name:"string"},required:false,description:""},iconTitle:{defaultValue:{value:"'Elastic'",computed:false},type:{name:"string"},required:false,description:""},href:{type:{name:"string"},required:false,description:""},children:{type:{name:"node"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiHealth",{enumerable:true,get:function get(){return _health.EuiHealth}});var _health=__webpack_require__(1759)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHealth=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _icon=__webpack_require__(20);var _flex=__webpack_require__(54);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiHealth=function EuiHealth(_ref){var children=_ref.children,className=_ref.className,color=_ref.color,rest=_objectWithoutProperties(_ref,["children","className","color"]);var classes=(0,_classnames.default)("euiHealth",className);return _react.default.createElement("div",_extends({className:classes},rest),_react.default.createElement(_flex.EuiFlexGroup,{gutterSize:"xs",alignItems:"center",responsive:false},_react.default.createElement(_flex.EuiFlexItem,{grow:false},_react.default.createElement(_icon.EuiIcon,{type:"dot",color:color})),_react.default.createElement(_flex.EuiFlexItem,{grow:false},children)))};exports.EuiHealth=EuiHealth;EuiHealth.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiHealth.__docgenInfo={description:"",methods:[],displayName:"EuiHealth",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiImage",{enumerable:true,get:function get(){return _image.EuiImage}});var _image=__webpack_require__(1761)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiImage=exports.SIZES=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(9);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _focusTrapReact=_interopRequireDefault(__webpack_require__(126));var _overlay_mask=__webpack_require__(286);var _icon=__webpack_require__(20);var _services=__webpack_require__(25);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var sizeToClassNameMap={s:"euiImage--small",m:"euiImage--medium",l:"euiImage--large",xl:"euiImage--xlarge",fullWidth:"euiImage--fullWidth",original:""};var SIZES=Object.keys(sizeToClassNameMap);exports.SIZES=SIZES;var fullScreenIconColorMap={light:"ghost",dark:"default"};var EuiImage=function(_Component){_inherits(EuiImage,_Component);function EuiImage(props){var _this;_classCallCheck(this,EuiImage);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiImage).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onKeyDown",function(event){if(event.keyCode===_services.keyCodes.ESCAPE){event.preventDefault();event.stopPropagation();_this.closeFullScreen()}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"closeFullScreen",function(){_this.setState({isFullScreen:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"openFullScreen",function(){_this.setState({isFullScreen:true})});_this.state={isFullScreen:false};return _this}_createClass(EuiImage,[{key:"render",value:function render(){var _this2=this;var _this$props=this.props,className=_this$props.className,url=_this$props.url,size=_this$props.size,caption=_this$props.caption,hasShadow=_this$props.hasShadow,allowFullScreen=_this$props.allowFullScreen,fullScreenIconColor=_this$props.fullScreenIconColor,alt=_this$props.alt,rest=_objectWithoutProperties(_this$props,["className","url","size","caption","hasShadow","allowFullScreen","fullScreenIconColor","alt"]);var classes=(0,_classnames.default)("euiImage",sizeToClassNameMap[size],{"euiImage--hasShadow":hasShadow,"euiImage--allowFullScreen":allowFullScreen},className);var optionalCaption;caption&&(optionalCaption=_react.default.createElement("figcaption",{className:"euiImage__caption"},caption));var optionalIcon;allowFullScreen&&(optionalIcon=_react.default.createElement(_icon.EuiIcon,{type:"fullScreen",color:fullScreenIconColorMap[fullScreenIconColor],className:"euiImage__icon"}));var fullScreenDisplay;this.state.isFullScreen&&(fullScreenDisplay=_react.default.createElement(_focusTrapReact.default,{focusTrapOptions:{clickOutsideDeactivates:true,initialFocus:function initialFocus(){return _this2.figure}}},_react.default.createElement(_overlay_mask.EuiOverlayMask,{onClick:this.closeFullScreen},_react.default.createElement("figure",{ref:function ref(node){_this2.figure=node},className:"euiImageFullScreen",onClick:this.closeFullScreen,tabIndex:0,onKeyDown:this.onKeyDown},_react.default.createElement("img",{src:url,className:"euiImageFullScreen__img",alt:alt}),optionalCaption))));return _react.default.createElement("figure",_extends({className:classes,onClick:allowFullScreen?this.openFullScreen:void 0},rest),_react.default.createElement("img",{src:url,className:"euiImage__img",alt:alt}),optionalCaption,optionalIcon,fullScreenDisplay)}}]);return EuiImage}(_react.Component);exports.EuiImage=EuiImage;EuiImage.propTypes={alt:_propTypes.default.string.isRequired,size:_propTypes.default.string.isRequired,fullScreenIconColor:_propTypes.default.string};EuiImage.defaultProps={size:"original",fullScreenIconColor:"light"};EuiImage.__docgenInfo={description:"",methods:[{name:"onKeyDown",docblock:null,modifiers:[],params:[{name:"event",type:null}],returns:null},{name:"closeFullScreen",docblock:null,modifiers:[],params:[],returns:null},{name:"openFullScreen",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiImage",props:{size:{defaultValue:{value:"'original'",computed:false},type:{name:"string"},required:false,description:""},fullScreenIconColor:{defaultValue:{value:"'light'",computed:false},type:{name:"string"},required:false,description:""},alt:{type:{name:"string"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiKeyPadMenu",{enumerable:true,get:function get(){return _key_pad_menu.EuiKeyPadMenu}});Object.defineProperty(exports,"EuiKeyPadMenuItem",{enumerable:true,get:function get(){return _key_pad_menu_item.EuiKeyPadMenuItem}});Object.defineProperty(exports,"EuiKeyPadMenuItemButton",{enumerable:true,get:function get(){return _key_pad_menu_item.EuiKeyPadMenuItemButton}});var _key_pad_menu=__webpack_require__(1763);var _key_pad_menu_item=__webpack_require__(1764)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiKeyPadMenu=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiKeyPadMenu=function EuiKeyPadMenu(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiKeyPadMenu",className);return _react.default.createElement("div",_extends({className:classes,role:"menu"},rest),children)};exports.EuiKeyPadMenu=EuiKeyPadMenu;EuiKeyPadMenu.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiKeyPadMenu.__docgenInfo={description:"",methods:[],displayName:"EuiKeyPadMenu",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiKeyPadMenuItemButton=exports.EuiKeyPadMenuItem=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _beta_badge=__webpack_require__(283);var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var renderContent=function renderContent(children,label,betaBadgeLabel,betaBadgeTooltipContent,betaBadgeIconType){return _react.default.createElement("div",{className:"euiKeyPadMenuItem__inner"},betaBadgeLabel&&_react.default.createElement("span",{className:"euiKeyPadMenuItem__betaBadgeWrapper"},_react.default.createElement(_beta_badge.EuiBetaBadge,{className:"euiKeyPadMenuItem__betaBadge",label:betaBadgeLabel,iconType:betaBadgeIconType,tooltipContent:betaBadgeTooltipContent})),_react.default.createElement("div",{className:"euiKeyPadMenuItem__icon"},children),_react.default.createElement("p",{className:"euiKeyPadMenuItem__label"},label))};var commonPropTypes={children:_propTypes.default.node.isRequired,label:_propTypes.default.node.isRequired,betaBadgeLabel:_propTypes.default.string,betaBadgeIconType:_propTypes.default.oneOf(_icon.ICON_TYPES),betaBadgeTooltipContent:_propTypes.default.node};var EuiKeyPadMenuItem=function EuiKeyPadMenuItem(_ref){var href=_ref.href,label=_ref.label,children=_ref.children,className=_ref.className,betaBadgeLabel=_ref.betaBadgeLabel,betaBadgeTooltipContent=_ref.betaBadgeTooltipContent,betaBadgeIconType=_ref.betaBadgeIconType,rest=_objectWithoutProperties(_ref,["href","label","children","className","betaBadgeLabel","betaBadgeTooltipContent","betaBadgeIconType"]);var classes=(0,_classnames.default)("euiKeyPadMenuItem",{"euiKeyPadMenuItem--hasBetaBadge":betaBadgeLabel},className);return _react.default.createElement("a",_extends({href:href,className:classes,role:"menuitem"},rest),renderContent(children,label,betaBadgeLabel,betaBadgeTooltipContent,betaBadgeIconType))};exports.EuiKeyPadMenuItem=EuiKeyPadMenuItem;EuiKeyPadMenuItem.propTypes=_objectSpread({},{href:_propTypes.default.string},commonPropTypes);var EuiKeyPadMenuItemButton=function EuiKeyPadMenuItemButton(_ref2){var onClick=_ref2.onClick,label=_ref2.label,children=_ref2.children,className=_ref2.className,betaBadgeLabel=_ref2.betaBadgeLabel,betaBadgeTooltipContent=_ref2.betaBadgeTooltipContent,betaBadgeIconType=_ref2.betaBadgeIconType,rest=_objectWithoutProperties(_ref2,["onClick","label","children","className","betaBadgeLabel","betaBadgeTooltipContent","betaBadgeIconType"]);var classes=(0,_classnames.default)("euiKeyPadMenuItem",{"euiKeyPadMenuItem--hasBetaBadge":betaBadgeLabel},className);return _react.default.createElement("button",_extends({type:"button",onClick:onClick,className:classes},rest),renderContent(children,label,betaBadgeLabel,betaBadgeTooltipContent,betaBadgeIconType))};exports.EuiKeyPadMenuItemButton=EuiKeyPadMenuItemButton;EuiKeyPadMenuItemButton.propTypes=_objectSpread({},{onClick:_propTypes.default.func},commonPropTypes);EuiKeyPadMenuItem.__docgenInfo={description:"",methods:[],displayName:"EuiKeyPadMenuItem",props:{href:{type:{name:"string"},required:false,description:""},children:{type:{name:"node"},required:true,description:""},label:{type:{name:"node"},required:true,description:""},betaBadgeLabel:{type:{name:"string"},required:false,description:'Add a badge to the card to label it as "Beta" or other non-GA state'},betaBadgeIconType:{type:{name:"enum",computed:true,value:"ICON_TYPES"},required:false,description:"Supply an icon type if the badge should just be an icon"},betaBadgeTooltipContent:{type:{name:"node"},required:false,description:"Add a description to the beta badge (will appear in a tooltip)"}}};EuiKeyPadMenuItemButton.__docgenInfo={description:"",methods:[],displayName:"EuiKeyPadMenuItemButton",props:{onClick:{type:{name:"func"},required:false,description:""},children:{type:{name:"node"},required:true,description:""},label:{type:{name:"node"},required:true,description:""},betaBadgeLabel:{type:{name:"string"},required:false,description:'Add a badge to the card to label it as "Beta" or other non-GA state'},betaBadgeIconType:{type:{name:"enum",computed:true,value:"ICON_TYPES"},required:false,description:"Supply an icon type if the badge should just be an icon"},betaBadgeTooltipContent:{type:{name:"node"},required:false,description:"Add a description to the beta badge (will appear in a tooltip)"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiConfirmModal",{enumerable:true,get:function get(){return _confirm_modal.EuiConfirmModal}});Object.defineProperty(exports,"EUI_MODAL_CONFIRM_BUTTON",{enumerable:true,get:function get(){return _confirm_modal.CONFIRM_BUTTON}});Object.defineProperty(exports,"EUI_MODAL_CANCEL_BUTTON",{enumerable:true,get:function get(){return _confirm_modal.CANCEL_BUTTON}});Object.defineProperty(exports,"EuiModal",{enumerable:true,get:function get(){return _modal.EuiModal}});Object.defineProperty(exports,"EuiModalFooter",{enumerable:true,get:function get(){return _modal_footer.EuiModalFooter}});Object.defineProperty(exports,"EuiModalHeader",{enumerable:true,get:function get(){return _modal_header.EuiModalHeader}});Object.defineProperty(exports,"EuiModalBody",{enumerable:true,get:function get(){return _modal_body.EuiModalBody}});Object.defineProperty(exports,"EuiModalHeaderTitle",{enumerable:true,get:function get(){return _modal_header_title.EuiModalHeaderTitle}});var _confirm_modal=__webpack_require__(1766);var _modal=__webpack_require__(719);var _modal_footer=__webpack_require__(720);var _modal_header=__webpack_require__(721);var _modal_body=__webpack_require__(723);var _modal_header_title=__webpack_require__(722)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiConfirmModal=exports.CANCEL_BUTTON=exports.CONFIRM_BUTTON=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _modal=__webpack_require__(719);var _modal_footer=__webpack_require__(720);var _modal_header=__webpack_require__(721);var _modal_header_title=__webpack_require__(722);var _modal_body=__webpack_require__(723);var _button=__webpack_require__(43);var _text=__webpack_require__(74);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var CONFIRM_BUTTON="confirm";exports.CONFIRM_BUTTON=CONFIRM_BUTTON;var CANCEL_BUTTON="cancel";exports.CANCEL_BUTTON=CANCEL_BUTTON;var CONFIRM_MODAL_BUTTONS=[CONFIRM_BUTTON,CANCEL_BUTTON];var EuiConfirmModal=function(_Component){_inherits(EuiConfirmModal,_Component);function EuiConfirmModal(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiConfirmModal);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiConfirmModal)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"confirmRef",function(node){return _this.confirmButton=node});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"cancelRef",function(node){return _this.cancelButton=node});return _this}_createClass(EuiConfirmModal,[{key:"componentDidMount",value:function componentDidMount(){var _this2=this;var defaultFocusedButton=this.props.defaultFocusedButton;requestAnimationFrame(function(){defaultFocusedButton===CANCEL_BUTTON&&_this2.cancelButton?_this2.cancelButton.focus():defaultFocusedButton===CONFIRM_BUTTON&&_this2.confirmButton&&_this2.confirmButton.focus()})}},{key:"render",value:function render(){var _this$props=this.props,children=_this$props.children,title=_this$props.title,onCancel=_this$props.onCancel,onConfirm=_this$props.onConfirm,cancelButtonText=_this$props.cancelButtonText,confirmButtonText=_this$props.confirmButtonText,className=_this$props.className,buttonColor=_this$props.buttonColor,rest=(_this$props.defaultFocusedButton,_objectWithoutProperties(_this$props,["children","title","onCancel","onConfirm","cancelButtonText","confirmButtonText","className","buttonColor","defaultFocusedButton"]));var classes=(0,_classnames.default)("euiModal--confirmation",className);var modalTitle;title&&(modalTitle=_react.default.createElement(_modal_header.EuiModalHeader,null,_react.default.createElement(_modal_header_title.EuiModalHeaderTitle,{"data-test-subj":"confirmModalTitleText"},title)));var message;message="string"===typeof children&&children.length>0?_react.default.createElement("p",null,children):children;return _react.default.createElement(_modal.EuiModal,_extends({className:classes,onClose:onCancel},rest),modalTitle,message&&_react.default.createElement(_modal_body.EuiModalBody,null,_react.default.createElement(_text.EuiText,{"data-test-subj":"confirmModalBodyText"},message)),_react.default.createElement(_modal_footer.EuiModalFooter,null,_react.default.createElement(_button.EuiButtonEmpty,{"data-test-subj":"confirmModalCancelButton",onClick:onCancel,buttonRef:this.cancelRef},cancelButtonText),_react.default.createElement(_button.EuiButton,{"data-test-subj":"confirmModalConfirmButton",onClick:onConfirm,fill:true,buttonRef:this.confirmRef,color:buttonColor},confirmButtonText)))}}]);return EuiConfirmModal}(_react.Component);exports.EuiConfirmModal=EuiConfirmModal;EuiConfirmModal.propTypes={children:_propTypes.default.node,title:_propTypes.default.node,cancelButtonText:_propTypes.default.node,confirmButtonText:_propTypes.default.node,onCancel:_propTypes.default.func,onConfirm:_propTypes.default.func,className:_propTypes.default.string,defaultFocusedButton:_propTypes.default.oneOf(CONFIRM_MODAL_BUTTONS),buttonColor:_propTypes.default.string,maxWidth:_propTypes.default.oneOfType([_propTypes.default.bool,_propTypes.default.number,_propTypes.default.string])};EuiConfirmModal.defaultProps={buttonColor:"primary"};EuiConfirmModal.__docgenInfo={description:"",methods:[{name:"confirmRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null},{name:"cancelRef",docblock:null,modifiers:[],params:[{name:"node",type:null}],returns:null}],displayName:"EuiConfirmModal",props:{buttonColor:{defaultValue:{value:"'primary'",computed:false},type:{name:"string"},required:false,description:""},children:{type:{name:"node"},required:false,description:""},title:{type:{name:"node"},required:false,description:""},cancelButtonText:{type:{name:"node"},required:false,description:""},confirmButtonText:{type:{name:"node"},required:false,description:""},onCancel:{type:{name:"func"},required:false,description:""},onConfirm:{type:{name:"func"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},defaultFocusedButton:{type:{name:"enum",value:[{value:"'confirm'",computed:false},{value:"'cancel'",computed:false}]},required:false,description:""},maxWidth:{type:{name:"union",value:[{name:"bool"},{name:"number"},{name:"string"}]},required:false,description:"Sets the max-width of the modal.\nSet to `true` to use the default (`euiBreakpoints 'm'`),\nset to `false` to not restrict the width,\nset to a number for a custom width in px,\nset to a string for a custom width in custom measurement."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiNavDrawer",{enumerable:true,get:function get(){return _nav_drawer.EuiNavDrawer}});Object.defineProperty(exports,"EuiNavDrawerGroup",{enumerable:true,get:function get(){return _nav_drawer_group.EuiNavDrawerGroup}});Object.defineProperty(exports,"EuiNavDrawerFlyout",{enumerable:true,get:function get(){return _nav_drawer_flyout.EuiNavDrawerFlyout}});var _nav_drawer=__webpack_require__(1768);var _nav_drawer_group=__webpack_require__(725);var _nav_drawer_flyout=__webpack_require__(724)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiNavDrawer=void 0;__webpack_require__(5);__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _list_group=__webpack_require__(717);var _nav_drawer_flyout=__webpack_require__(724);var _outside_click_detector=__webpack_require__(303);var _i18n=__webpack_require__(30);var _flex=__webpack_require__(54);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{_n||null==_i["return"]||_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiNavDrawer=function(_Component){_inherits(EuiNavDrawer,_Component);function EuiNavDrawer(props){var _this;_classCallCheck(this,EuiNavDrawer);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiNavDrawer).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"timeoutID",void 0);_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"toggleOpen",function(){_this.setState({isCollapsed:!_this.state.isCollapsed});setTimeout(function(){_this.setState({outsideClickDisabled:!!_this.state.isCollapsed,toolTipsEnabled:!!_this.state.isCollapsed})},150)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"expandDrawer",function(){_this.setState({isCollapsed:false,outsideClickDisabled:false});setTimeout(function(){_this.setState({toolTipsEnabled:false})},150)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"collapseDrawer",function(){_this.setState({isCollapsed:true,outsideClickDisabled:!!_this.state.flyoutIsCollapsed,toolTipsEnabled:true});setTimeout(function(){document.getElementById("navDrawerMenu").scrollTop=0},50)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"manageFocus",function(){clearTimeout(_this.timeoutID);_this.state.isManagingFocus||_this.setState({isManagingFocus:true})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"focusOut",function(){_this.timeoutID=setTimeout(function(){if(_this.state.isManagingFocus){_this.setState({isManagingFocus:false});_this.closeBoth()}},0)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"expandFlyout",function(links,title){var content=links;_this.state.navFlyoutTitle===title?_this.collapseFlyout():_this.setState({flyoutIsCollapsed:false,navFlyoutTitle:title,navFlyoutContent:content,isCollapsed:true,toolTipsEnabled:false,outsideClickDisabled:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"collapseFlyout",function(){_this.setState({flyoutIsCollapsed:true,navFlyoutTitle:null,navFlyoutContent:null,toolTipsEnabled:true})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"closeBoth",function(){_this.collapseDrawer();_this.collapseFlyout()});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"handleDrawerMenuClick",function(e){var element=e.target;while(void 0!==element&&element!==document.body&&("A"!==element.tagName||void 0===element.getAttribute("href")))element=element.parentElement;element!==document.body&&_this.closeBoth()});_this.state={isCollapsed:true,flyoutIsCollapsed:true,outsideClickDisabled:true,isManagingFocus:false,toolTipsEnabled:true};return _this}_createClass(EuiNavDrawer,[{key:"render",value:function render(){var _this2=this;var _this$props=this.props,children=_this$props.children,className=_this$props.className,showExpandButton=_this$props.showExpandButton,showToolTips=_this$props.showToolTips,rest=_objectWithoutProperties(_this$props,["children","className","showExpandButton","showToolTips"]);var classes=(0,_classnames.default)("euiNavDrawer",{"euiNavDrawer-isCollapsed":this.state.isCollapsed,"euiNavDrawer-isExpanded":!this.state.isCollapsed,"euiNavDrawer-flyoutIsCollapsed":this.state.flyoutIsCollapsed,"euiNavDrawer-flyoutIsExpanded":!this.state.flyoutIsCollapsed},className);var footerContent;showExpandButton&&(footerContent=_react.default.createElement(_list_group.EuiListGroup,{className:"euiNavDrawer__expandButton",flush:true},_react.default.createElement(_i18n.EuiI18n,{tokens:["euiNavDrawer.sideNavCollapse","euiNavDrawer.sideNavExpand"],defaults:["Collapse","Expand"]},function(_ref){var _ref2=_slicedToArray(_ref,2),sideNavCollapse=_ref2[0],sideNavExpand=_ref2[1];return _react.default.createElement(_list_group.EuiListGroupItem,{label:_this2.state.isCollapsed?sideNavExpand:sideNavCollapse,iconType:_this2.state.isCollapsed?"sortRight":"sortLeft",size:"s",showToolTip:_this2.state.isCollapsed,onClick:_this2.state.isCollapsed?function(){_this2.expandDrawer();_this2.collapseFlyout()}:function(){return _this2.collapseDrawer()},"data-test-subj":_this2.state.isCollapsed?"navDrawerExpandButton-isCollapsed":"navDrawerExpandButton-isExpanded"})})));var flyoutContent=_react.default.createElement(_nav_drawer_flyout.EuiNavDrawerFlyout,{id:"navDrawerFlyout",title:this.state.navFlyoutTitle,isCollapsed:this.state.flyoutIsCollapsed,listItems:this.state.navFlyoutContent,wrapText:true});var modifiedChildren=children;modifiedChildren=_react.default.Children.map(this.props.children,function(child){if("EuiNavDrawerGroup"===child.type.name){var item=_react.default.cloneElement(child,{flyoutMenuButtonClick:_this2.expandFlyout,showToolTips:_this2.state.toolTipsEnabled&&showToolTips});return item}return child});var menuClasses=(0,_classnames.default)("euiNavDrawerMenu",{"euiNavDrawerMenu-hasFooter":footerContent});return _react.default.createElement(_outside_click_detector.EuiOutsideClickDetector,{onOutsideClick:function onOutsideClick(){return _this2.closeBoth()},isDisabled:this.state.outsideClickDisabled},_react.default.createElement("div",_extends({className:classes,onBlur:this.focusOut,onFocus:this.manageFocus},rest),_react.default.createElement(_flex.EuiFlexItem,{grow:false},_react.default.createElement("div",{id:"navDrawerMenu",className:menuClasses,onClick:this.handleDrawerMenuClick},footerContent,modifiedChildren)),flyoutContent))}}]);return EuiNavDrawer}(_react.Component);exports.EuiNavDrawer=EuiNavDrawer;EuiNavDrawer.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,showExpandButton:_propTypes.default.bool,showToolTips:_propTypes.default.bool};EuiNavDrawer.defaultProps={showExpandButton:true,showToolTips:true};EuiNavDrawer.__docgenInfo={description:"",methods:[{name:"toggleOpen",docblock:null,modifiers:[],params:[],returns:null},{name:"expandDrawer",docblock:null,modifiers:[],params:[],returns:null},{name:"collapseDrawer",docblock:null,modifiers:[],params:[],returns:null},{name:"manageFocus",docblock:null,modifiers:[],params:[],returns:null},{name:"focusOut",docblock:null,modifiers:[],params:[],returns:null},{name:"expandFlyout",docblock:null,modifiers:[],params:[{name:"links",type:null},{name:"title",type:null}],returns:null},{name:"collapseFlyout",docblock:null,modifiers:[],params:[],returns:null},{name:"closeBoth",docblock:null,modifiers:[],params:[],returns:null},{name:"handleDrawerMenuClick",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null}],displayName:"EuiNavDrawer",props:{showExpandButton:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Adds fixed toggle button to bottom of menu area"},showToolTips:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Display tooltips on side nav items"},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiPage",{enumerable:true,get:function get(){return _page.EuiPage}});Object.defineProperty(exports,"EuiPageBody",{enumerable:true,get:function get(){return _page_body.EuiPageBody}});Object.defineProperty(exports,"EuiPageContent",{enumerable:true,get:function get(){return _page_content.EuiPageContent}});Object.defineProperty(exports,"EuiPageContentBody",{enumerable:true,get:function get(){return _page_content.EuiPageContentBody}});Object.defineProperty(exports,"EuiPageContentHeader",{enumerable:true,get:function get(){return _page_content.EuiPageContentHeader}});Object.defineProperty(exports,"EuiPageContentHeaderSection",{enumerable:true,get:function get(){return _page_content.EuiPageContentHeaderSection}});Object.defineProperty(exports,"EuiPageHeader",{enumerable:true,get:function get(){return _page_header.EuiPageHeader}});Object.defineProperty(exports,"EuiPageHeaderSection",{enumerable:true,get:function get(){return _page_header.EuiPageHeaderSection}});Object.defineProperty(exports,"EuiPageSideBar",{enumerable:true,get:function get(){return _page_side_bar.EuiPageSideBar}});var _page=__webpack_require__(1770);var _page_body=__webpack_require__(1771);var _page_content=__webpack_require__(1773);var _page_header=__webpack_require__(1778);var _page_side_bar=__webpack_require__(1781)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPage=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiPage=function EuiPage(_ref){var children=_ref.children,className=_ref.className,restrictWidth=_ref.restrictWidth,style=_ref.style,rest=_objectWithoutProperties(_ref,["children","className","restrictWidth","style"]);var widthClassname;var newStyle;if(true===restrictWidth)widthClassname="euiPage--restrictWidth-default";else if(false!==restrictWidth){widthClassname="euiPage--restrictWidth-custom";var value="number"===typeof maxWidth?"".concat(restrictWidth,"px"):restrictWidth;newStyle=_objectSpread({},style,{maxWidth:value})}var classes=(0,_classnames.default)("euiPage",widthClassname,className);return _react.default.createElement("div",_extends({className:classes,style:newStyle||style},rest),children)};exports.EuiPage=EuiPage;EuiPage.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,restrictWidth:_propTypes.default.oneOfType([_propTypes.default.bool,_propTypes.default.number,_propTypes.default.string])};EuiPage.defaultProps={restrictWidth:false};EuiPage.__docgenInfo={description:"",methods:[],displayName:"EuiPage",props:{restrictWidth:{defaultValue:{value:"false",computed:false},type:{name:"union",value:[{name:"bool"},{name:"number"},{name:"string"}]},required:false,description:"Sets the max-width of the page,\nset to `true` to use the default size,\nset to `false` to not restrict the width,\nset to a number for a custom width in px,\nset to a string for a custom width in custom measurement."},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiPageBody",{enumerable:true,get:function get(){return _page_body.EuiPageBody}});var _page_body=__webpack_require__(1772)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPageBody=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiPageBody=function EuiPageBody(_ref){var children=_ref.children,restrictWidth=_ref.restrictWidth,style=_ref.style,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","restrictWidth","style","className"]);var widthClassname;var newStyle;if(true===restrictWidth)widthClassname="euiPageBody--restrictWidth-default";else if(false!==restrictWidth){widthClassname="euiPageBody--restrictWidth-custom";var value="number"===typeof maxWidth?"".concat(restrictWidth,"px"):restrictWidth;newStyle=_objectSpread({},style,{maxWidth:value})}var classes=(0,_classnames.default)("euiPageBody",widthClassname,className);return _react.default.createElement("div",_extends({className:classes,style:newStyle||style},rest),children)};exports.EuiPageBody=EuiPageBody;EuiPageBody.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,restrictWidth:_propTypes.default.oneOfType([_propTypes.default.bool,_propTypes.default.number,_propTypes.default.string])};EuiPageBody.defaultProps={restrictWidth:false};EuiPageBody.__docgenInfo={description:"",methods:[],displayName:"EuiPageBody",props:{restrictWidth:{defaultValue:{value:"false",computed:false},type:{name:"union",value:[{name:"bool"},{name:"number"},{name:"string"}]},required:false,description:"Sets the max-width of the page,\nset to `true` to use the default size,\nset to `false` to not restrict the width,\nset to a number for a custom width in px,\nset to a string for a custom width in custom measurement."},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiPageContent",{enumerable:true,get:function get(){return _page_content.EuiPageContent}});Object.defineProperty(exports,"EuiPageContentBody",{enumerable:true,get:function get(){return _page_content_body.EuiPageContentBody}});Object.defineProperty(exports,"EuiPageContentHeader",{enumerable:true,get:function get(){return _page_content_header.EuiPageContentHeader}});Object.defineProperty(exports,"EuiPageContentHeaderSection",{enumerable:true,get:function get(){return _page_content_header_section.EuiPageContentHeaderSection}});var _page_content=__webpack_require__(1774);var _page_content_body=__webpack_require__(1775);var _page_content_header=__webpack_require__(1776);var _page_content_header_section=__webpack_require__(1777)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPageContent=exports.HORIZONTAL_POSITIONS=exports.VERTICAL_POSITIONS=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _panel=__webpack_require__(660);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var verticalPositionToClassNameMap={center:"euiPageContent--verticalCenter"};var horizontalPositionToClassNameMap={center:"euiPageContent--horizontalCenter"};var VERTICAL_POSITIONS=Object.keys(verticalPositionToClassNameMap);exports.VERTICAL_POSITIONS=VERTICAL_POSITIONS;var HORIZONTAL_POSITIONS=Object.keys(horizontalPositionToClassNameMap);exports.HORIZONTAL_POSITIONS=HORIZONTAL_POSITIONS;var EuiPageContent=function EuiPageContent(_ref){var verticalPosition=_ref.verticalPosition,horizontalPosition=_ref.horizontalPosition,panelPaddingSize=_ref.panelPaddingSize,children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["verticalPosition","horizontalPosition","panelPaddingSize","children","className"]);var classes=(0,_classnames.default)("euiPageContent",className,verticalPositionToClassNameMap[verticalPosition],horizontalPositionToClassNameMap[horizontalPosition]);return _react.default.createElement(_panel.EuiPanel,_extends({className:classes,paddingSize:panelPaddingSize},rest),children)};exports.EuiPageContent=EuiPageContent;EuiPageContent.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,panelPaddingSize:_propTypes.default.oneOf(_panel.SIZES),verticalPosition:_propTypes.default.oneOf(VERTICAL_POSITIONS),horizontalPosition:_propTypes.default.oneOf(HORIZONTAL_POSITIONS)};EuiPageContent.defaultProps={panelPaddingSize:"l"};EuiPageContent.__docgenInfo={description:"",methods:[],displayName:"EuiPageContent",props:{panelPaddingSize:{defaultValue:{value:"'l'",computed:false},type:{name:"enum",computed:true,value:"SIZES"},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},verticalPosition:{type:{name:"enum",value:[{value:'"center"',computed:false}]},required:false,description:""},horizontalPosition:{type:{name:"enum",value:[{value:'"center"',computed:false}]},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPageContentBody=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiPageContentBody=function EuiPageContentBody(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiPageContentBody",className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiPageContentBody=EuiPageContentBody;EuiPageContentBody.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiPageContentBody.__docgenInfo={description:"",methods:[],displayName:"EuiPageContentBody",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPageContentHeader=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiPageContentHeader=function EuiPageContentHeader(_ref){var children=_ref.children,className=_ref.className,responsive=_ref.responsive,rest=_objectWithoutProperties(_ref,["children","className","responsive"]);var classes=(0,_classnames.default)("euiPageContentHeader",{"euiPageContentHeader--responsive":responsive},className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiPageContentHeader=EuiPageContentHeader;EuiPageContentHeader.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,responsive:_propTypes.default.bool};EuiPageContentHeader.defaultProps={responsive:true};EuiPageContentHeader.__docgenInfo={description:"",methods:[],displayName:"EuiPageContentHeader",props:{responsive:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Set to false if you don't want the children to stack\nat small screen sizes."},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPageContentHeaderSection=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiPageContentHeaderSection=function EuiPageContentHeaderSection(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiPageContentHeaderSection",className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiPageContentHeaderSection=EuiPageContentHeaderSection;EuiPageContentHeaderSection.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiPageContentHeaderSection.__docgenInfo={description:"",methods:[],displayName:"EuiPageContentHeaderSection",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiPageHeader",{enumerable:true,get:function get(){return _page_header.EuiPageHeader}});Object.defineProperty(exports,"EuiPageHeaderSection",{enumerable:true,get:function get(){return _page_header_section.EuiPageHeaderSection}});var _page_header=__webpack_require__(1779);var _page_header_section=__webpack_require__(1780)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPageHeader=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiPageHeader=function EuiPageHeader(_ref){var children=_ref.children,className=_ref.className,responsive=_ref.responsive,rest=_objectWithoutProperties(_ref,["children","className","responsive"]);var classes=(0,_classnames.default)("euiPageHeader",{"euiPageHeader--responsive":responsive},className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiPageHeader=EuiPageHeader;EuiPageHeader.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,responsive:_propTypes.default.bool};EuiPageHeader.defaultProps={responsive:true};EuiPageHeader.__docgenInfo={description:"",methods:[],displayName:"EuiPageHeader",props:{responsive:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Set to false if you don't want the children to stack\nat small screen sizes."},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPageHeaderSection=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiPageHeaderSection=function EuiPageHeaderSection(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiPageHeaderSection",className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiPageHeaderSection=EuiPageHeaderSection;EuiPageHeaderSection.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiPageHeaderSection.__docgenInfo={description:"",methods:[],displayName:"EuiPageHeaderSection",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiPageSideBar",{enumerable:true,get:function get(){return _page_side_bar.EuiPageSideBar}});var _page_side_bar=__webpack_require__(1782)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPageSideBar=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiPageSideBar=function EuiPageSideBar(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiPageSideBar",className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiPageSideBar=EuiPageSideBar;EuiPageSideBar.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiPageSideBar.__docgenInfo={description:"",methods:[],displayName:"EuiPageSideBar",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiPagination=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _pagination_button=__webpack_require__(727);var _button=__webpack_require__(43);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var MAX_VISIBLE_PAGES=5;var NUMBER_SURROUNDING_PAGES=Math.floor(.5*MAX_VISIBLE_PAGES);var EuiPagination=function EuiPagination(_ref){var className=_ref.className,pageCount=_ref.pageCount,activePage=_ref.activePage,onPageClick=_ref.onPageClick,compressed=_ref.compressed,rest=_objectWithoutProperties(_ref,["className","pageCount","activePage","onPageClick","compressed"]);var classes=(0,_classnames.default)("euiPagination",className);var pages=[];var firstPageInRange=Math.max(0,Math.min(activePage-NUMBER_SURROUNDING_PAGES,pageCount-MAX_VISIBLE_PAGES));var lastPageInRange=Math.min(pageCount,firstPageInRange+MAX_VISIBLE_PAGES);var _loop=function _loop(i,index){pages.push(_react.default.createElement(_i18n.EuiI18n,{key:index,token:"euiPagination.pageOfTotal",default:"Page {page} of {total}",values:{page:i+1,total:lastPageInRange}},function(pageOfTotal){return _react.default.createElement(_pagination_button.EuiPaginationButton,{isActive:i===activePage,onClick:onPageClick.bind(null,i),hideOnMobile:true,"aria-label":pageOfTotal,"data-test-subj":"pagination-button-".concat(i)},i+1)}))};for(var i=firstPageInRange,index=0;i<lastPageInRange;i++,index++)_loop(i,index);var previousButton=_react.default.createElement(_i18n.EuiI18n,{token:"euiPagination.previousPage",default:"Previous page"},function(previousPage){return _react.default.createElement(_button.EuiButtonIcon,{onClick:onPageClick.bind(null,activePage-1),iconType:"arrowLeft",disabled:0===activePage,color:"text","aria-label":previousPage,"data-test-subj":"pagination-button-previous"})});var firstPageButtons=[];if(firstPageInRange>0){firstPageButtons.push(_react.default.createElement(_i18n.EuiI18n,{key:"0",token:"euiPagination.pageOfTotal",default:"Page {page} of {total}",values:{page:1,total:lastPageInRange}},function(pageOfTotal){return _react.default.createElement(_pagination_button.EuiPaginationButton,{onClick:onPageClick.bind(null,0),hideOnMobile:true,"aria-label":pageOfTotal},"1")}));firstPageInRange>1&&firstPageButtons.push(_react.default.createElement(_pagination_button.EuiPaginationButton,{key:"beginningEllipsis",isPlaceholder:true,hideOnMobile:true,"aria-hidden":true},_react.default.createElement("span",null,"…")))}var lastPageButtons=[];if(lastPageInRange<pageCount){lastPageInRange<pageCount-1&&lastPageButtons.push(_react.default.createElement(_pagination_button.EuiPaginationButton,{key:"endingEllipsis",isPlaceholder:true,hideOnMobile:true,"aria-hidden":true},_react.default.createElement("span",null,"…")));lastPageButtons.push(_react.default.createElement(_i18n.EuiI18n,{key:pageCount-1,token:"euiPagination.jumpToLastPage",default:"Jump to the last page, number {pageCount}",values:{pageCount:pageCount}},function(jumpToLastPage){return _react.default.createElement(_pagination_button.EuiPaginationButton,{onClick:onPageClick.bind(null,pageCount-1),hideOnMobile:true,"aria-label":jumpToLastPage},pageCount)}))}var nextButton=_react.default.createElement(_i18n.EuiI18n,{token:"euiPagination.nextPage",default:"Next page"},function(nextPage){return _react.default.createElement(_button.EuiButtonIcon,{onClick:onPageClick.bind(null,activePage+1),iconType:"arrowRight","aria-label":nextPage,disabled:activePage===pageCount-1,color:"text","data-test-subj":"pagination-button-next"})});if(pages.length>1){var selectablePages=pages;return compressed?_react.default.createElement("div",_extends({className:classes},rest),previousButton,nextButton):_react.default.createElement("div",_extends({className:classes,role:"group"},rest),previousButton,firstPageButtons,selectablePages,lastPageButtons,nextButton)}return _react.default.createElement("span",null)};exports.EuiPagination=EuiPagination;EuiPagination.propTypes={className:_propTypes.default.string,pageCount:_propTypes.default.number,activePage:_propTypes.default.number,onPageClick:_propTypes.default.func,compressed:_propTypes.default.bool};EuiPagination.__docgenInfo={description:"",methods:[],displayName:"EuiPagination",props:{className:{type:{name:"string"},required:false,description:""},pageCount:{type:{name:"number"},required:false,description:"The total number of pages"},activePage:{type:{name:"number"},required:false,description:""},onPageClick:{type:{name:"func"},required:false,description:""},compressed:{type:{name:"bool"},required:false,description:"If true, will only show next/prev arrows instead of page numbers."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiProgress",{enumerable:true,get:function get(){return _progress.EuiProgress}});var _progress=__webpack_require__(1785)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiProgress=exports.POSITIONS=exports.COLORS=exports.SIZES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var sizeToClassNameMap={xs:"euiProgress--xs",s:"euiProgress--s",m:"euiProgress--m",l:"euiProgress--l"};var SIZES=Object.keys(sizeToClassNameMap);exports.SIZES=SIZES;var colorToClassNameMap={primary:"euiProgress--primary",secondary:"euiProgress--secondary",danger:"euiProgress--danger",subdued:"euiProgress--subdued",accent:"euiProgress--accent"};var COLORS=Object.keys(colorToClassNameMap);exports.COLORS=COLORS;var positionsToClassNameMap={fixed:"euiProgress--fixed",absolute:"euiProgress--absolute",static:""};var POSITIONS=Object.keys(positionsToClassNameMap);exports.POSITIONS=POSITIONS;var EuiProgress=function EuiProgress(_ref){var className=_ref.className,color=_ref.color,value=_ref.value,max=_ref.max,size=_ref.size,position=_ref.position,rest=_objectWithoutProperties(_ref,["className","color","value","max","size","position"]);var indeterminate=null===max;var classes=(0,_classnames.default)("euiProgress",{"euiProgress--indeterminate":indeterminate,"euiProgress--native":!indeterminate},sizeToClassNameMap[size],colorToClassNameMap[color],positionsToClassNameMap[position],className);if(indeterminate)return _react.default.createElement("div",_extends({className:classes},rest));return _react.default.createElement("progress",_extends({className:classes,value:value,max:max},rest))};exports.EuiProgress=EuiProgress;EuiProgress.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,size:_propTypes.default.oneOf(SIZES),color:_propTypes.default.oneOf(COLORS),position:_propTypes.default.oneOf(POSITIONS),max:_propTypes.default.number};EuiProgress.defaultProps={max:null,size:"m",color:"secondary",position:"static"};EuiProgress.__docgenInfo={description:"",methods:[],displayName:"EuiProgress",props:{max:{defaultValue:{value:"null",computed:false},type:{name:"number"},required:false,description:""},size:{defaultValue:{value:"'m'",computed:false},type:{name:"enum",value:[{value:'"xs"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false}]},required:false,description:""},color:{defaultValue:{value:"'secondary'",computed:false},type:{name:"enum",value:[{value:'"primary"',computed:false},{value:'"secondary"',computed:false},{value:'"danger"',computed:false},{value:'"subdued"',computed:false},{value:'"accent"',computed:false}]},required:false,description:""},position:{defaultValue:{value:"'static'",computed:false},type:{name:"enum",value:[{value:'"fixed"',computed:false},{value:'"absolute"',computed:false},{value:'"static"',computed:false}]},required:false,description:""},children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Query",{enumerable:true,get:function get(){return _query2.Query}});Object.defineProperty(exports,"Ast",{enumerable:true,get:function get(){return _query2.AST}});exports.EuiSearchBar=exports.SearchBarPropTypes=exports.QueryType=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _predicate=__webpack_require__(38);var _flex_group=__webpack_require__(377);var _search_box=__webpack_require__(729);var _search_filters=__webpack_require__(730);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _query2=__webpack_require__(191);var _flex_item=__webpack_require__(557);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var QueryType=_propTypes.default.oneOfType([_propTypes.default.instanceOf(_query2.Query),_propTypes.default.string]);exports.QueryType=QueryType;var SearchBarPropTypes={onChange:_propTypes.default.func.isRequired,defaultQuery:QueryType,query:QueryType,box:_propTypes.default.shape(_search_box.SearchBoxConfigPropTypes),filters:_search_filters.SearchFiltersFiltersType,toolsLeft:_propTypes.default.node,toolsRight:_propTypes.default.node,dateFormat:_propTypes.default.object};exports.SearchBarPropTypes=SearchBarPropTypes;var parseQuery=function parseQuery(query,props){var schema=props.box?props.box.schema:void 0;var dateFormat=props.dateFormat;var parseOptions={schema:schema,dateFormat:dateFormat};if(!query)return _query2.Query.parse("",parseOptions);return(0,_predicate.isString)(query)?_query2.Query.parse(query,parseOptions):query};var EuiSearchBar=function(_Component){_inherits(EuiSearchBar,_Component);function EuiSearchBar(props){var _this;_classCallCheck(this,EuiSearchBar);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiSearchBar).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onSearch",function(queryText){try{var query=parseQuery(queryText,_this.props);_this.notifyControllingParent({query:query,queryText:queryText,error:null});_this.setState({query:query,queryText:queryText,error:null})}catch(e){var error={message:e.message};_this.notifyControllingParent({query:null,queryText:queryText,error:error});_this.setState({queryText:queryText,error:error})}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onFiltersChange",function(query){_this.notifyControllingParent({query:query,queryText:query.text,error:null});_this.setState({query:query,queryText:query.text,error:null})});var _query=parseQuery(props.defaultQuery||props.query,props);_this.state={query:_query,queryText:_query.text,error:null};return _this}_createClass(EuiSearchBar,[{key:"notifyControllingParent",value:function notifyControllingParent(newState){var oldState=this.state;var query=newState.query,queryText=newState.queryText,error=newState.error;var isQueryDifferent=oldState.queryText!==queryText;var oldError=oldState.error?oldState.error.message:null;var newError=error?error.message:null;var isErrorDifferent=oldError!==newError;(isQueryDifferent||isErrorDifferent)&&this.props.onChange({query:query,queryText:queryText,error:error})}},{key:"renderTools",value:function renderTools(tools){if(!tools)return;if(Array.isArray(tools))return tools.map(function(tool){return _react.default.createElement(_flex_item.EuiFlexItem,{grow:false,key:tool.key},tool)});return _react.default.createElement(_flex_item.EuiFlexItem,{grow:false},tools)}},{key:"render",value:function render(){var _this$state=this.state,query=_this$state.query,queryText=_this$state.queryText,error=_this$state.error;var _this$props=this.props,box=_this$props.box,filters=_this$props.filters,toolsLeft=_this$props.toolsLeft,toolsRight=_this$props.toolsRight;var toolsLeftEl=this.renderTools(toolsLeft);var filtersBar=filters?_react.default.createElement(_flex_item.EuiFlexItem,{grow:false},_react.default.createElement(_search_filters.EuiSearchFilters,{filters:filters,query:query,onChange:this.onFiltersChange})):void 0;var toolsRightEl=this.renderTools(toolsRight);return _react.default.createElement(_flex_group.EuiFlexGroup,{gutterSize:"m",alignItems:"center"},toolsLeftEl,_react.default.createElement(_flex_item.EuiFlexItem,{grow:true},_react.default.createElement(_search_box.EuiSearchBox,_extends({},box,{query:queryText,onSearch:this.onSearch,isInvalid:!!error,title:error?error.message:void 0}))),filtersBar,toolsRightEl)}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,prevState){if(nextProps.query&&(!prevState.query||nextProps.query.text!==prevState.query.text)){var query=parseQuery(nextProps.query,nextProps);return{query:query,queryText:query.text,error:null}}return null}}]);return EuiSearchBar}(_react.Component);exports.EuiSearchBar=EuiSearchBar;_defineProperty(EuiSearchBar,"propTypes",SearchBarPropTypes);_defineProperty(EuiSearchBar,"Query",_query2.Query);EuiSearchBar.__docgenInfo={description:"",methods:[{name:"getDerivedStateFromProps",docblock:null,modifiers:["static"],params:[{name:"nextProps",type:null},{name:"prevState",type:null}],returns:null},{name:"notifyControllingParent",docblock:null,modifiers:[],params:[{name:"newState",type:null}],returns:null},{name:"onSearch",docblock:null,modifiers:[],params:[{name:"queryText",type:null}],returns:null},{name:"onFiltersChange",docblock:null,modifiers:[],params:[{name:"query",type:null}],returns:null},{name:"renderTools",docblock:null,modifiers:[],params:[{name:"tools",type:null}],returns:null}],displayName:"EuiSearchBar",props:{onChange:{type:{name:"func"},required:true,description:"(query?: Query, queryText: string, error?: string) => void"},defaultQuery:{type:{name:"custom",raw:"QueryType"},required:false,description:"The initial query the bar will hold when first mounted"},query:{type:{name:"custom",raw:"QueryType"},required:false,description:"If you wish to use the search bar as a controlled component, continuously pass the query\n   via this prop"},box:{type:{name:"shape",value:"import {\n  EuiSearchBox,\n  SearchBoxConfigPropTypes\n} from './search_box';",computed:true},required:false,description:"Configures the search box. Set `placeholder` to change the placeholder text in the box and\n   `incremental` to support incremental (as you type) search."},filters:{type:{name:"custom",raw:"SearchFiltersFiltersType"},required:false,description:"An array of search filters."},toolsLeft:{type:{name:"node"},required:false,description:"Tools which go to the left of the search bar."},toolsRight:{type:{name:"node"},required:false,description:"Tools which go to the right of the search bar."},dateFormat:{type:{name:"object"},required:false,description:"Date formatter to use when parsing date values"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"createFilter",{enumerable:true,get:function get(){return _filters.createFilter}});Object.defineProperty(exports,"FilterConfigType",{enumerable:true,get:function get(){return _filters.FilterConfigType}});var _filters=__webpack_require__(1788)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.FilterConfigType=exports.createFilter=void 0;var _react=_interopRequireDefault(__webpack_require__(0));var _is_filter=__webpack_require__(1789);var _field_value_selection_filter=__webpack_require__(1798);var _field_value_toggle_filter=__webpack_require__(1810);var _field_value_toggle_group_filter=__webpack_require__(1811);var _propTypes=_interopRequireDefault(__webpack_require__(1));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var createFilter=function createFilter(index,config,query,onChange){var props={index:index,config:config,query:query,onChange:onChange};switch(config.type){case"is":return _react.default.createElement(_is_filter.IsFilter,props);case"field_value_selection":return _react.default.createElement(_field_value_selection_filter.FieldValueSelectionFilter,props);case"field_value_toggle":return _react.default.createElement(_field_value_toggle_filter.FieldValueToggleFilter,props);case"field_value_toggle_group":return _react.default.createElement(_field_value_toggle_group_filter.FieldValueToggleGroupFilter,props);default:throw new Error("Unknown search filter type [".concat(config.type,"]"))}};exports.createFilter=createFilter;var FilterConfigType=_propTypes.default.oneOfType([_is_filter.IsFilterConfigType,_field_value_selection_filter.FieldValueSelectionFilterConfigType,_field_value_toggle_filter.FieldValueToggleFilterConfigType,_field_value_toggle_group_filter.FieldValueToggleGroupFilterConfigType]);exports.FilterConfigType=FilterConfigType;createFilter.__docgenInfo={description:"",methods:[],displayName:"createFilter"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.IsFilter=exports.IsFilterConfigType=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _filter_group=__webpack_require__(190);var _predicate=__webpack_require__(38);var _prop_types=__webpack_require__(230);var _query=__webpack_require__(191);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var IsFilterConfigType=_propTypes.default.shape({type:_prop_types.EuiPropTypes.is("is").isRequired,field:_propTypes.default.string.isRequired,name:_propTypes.default.string.isRequired,negatedName:_propTypes.default.string,available:_propTypes.default.func});exports.IsFilterConfigType=IsFilterConfigType;var IsFilterPropTypes={index:_propTypes.default.number.isRequired,config:IsFilterConfigType.isRequired,query:_propTypes.default.any.isRequired,onChange:_propTypes.default.func.isRequired};var IsFilter=function(_Component){_inherits(IsFilter,_Component);function IsFilter(props){_classCallCheck(this,IsFilter);return _possibleConstructorReturn(this,_getPrototypeOf(IsFilter).call(this,props))}_createClass(IsFilter,[{key:"resolveDisplay",value:function resolveDisplay(clause){var _this$props$config=this.props.config,name=_this$props$config.name,negatedName=_this$props$config.negatedName;if((0,_predicate.isNil)(clause))return{hasActiveFilters:false,name:name};return _query.Query.isMust(clause)?{hasActiveFilters:true,name:name}:{hasActiveFilters:true,name:negatedName||"Not ".concat(name)}}},{key:"valueChanged",value:function valueChanged(field,checked){var query=checked?this.props.query.removeIsClause(field):this.props.query.addMustIsClause(field);this.props.onChange(query)}},{key:"render",value:function render(){var _this=this;var _this$props=this.props,query=_this$props.query,config=_this$props.config;var clause=query.getIsClause(config.field);var checked=!(0,_predicate.isNil)(clause);var _this$resolveDisplay=this.resolveDisplay(clause),hasActiveFilters=_this$resolveDisplay.hasActiveFilters,name=_this$resolveDisplay.name;var onClick=function onClick(){_this.valueChanged(config.field,checked)};return _react.default.createElement(_filter_group.EuiFilterButton,{onClick:onClick,hasActiveFilters:hasActiveFilters},name)}}]);return IsFilter}(_react.Component);exports.IsFilter=IsFilter;_defineProperty(IsFilter,"propTypes",IsFilterPropTypes);IsFilter.__docgenInfo={description:"",methods:[{name:"resolveDisplay",docblock:null,modifiers:[],params:[{name:"clause",type:null}],returns:null},{name:"valueChanged",docblock:null,modifiers:[],params:[{name:"field",type:null},{name:"checked",type:null}],returns:null}],displayName:"IsFilter",props:{index:{type:{name:"number"},required:true,description:""},config:{type:{name:"custom",raw:"IsFilterConfigType.isRequired"},required:false,description:""},query:{type:{name:"any"},required:true,description:""},onChange:{type:{name:"func"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Query=void 0;var _default_syntax=__webpack_require__(1791);var _execute_ast=__webpack_require__(1794);var _predicate=__webpack_require__(38);var _ast_to_es_query_dsl=__webpack_require__(1796);var _ast_to_es_query_string=__webpack_require__(1797);var _date_value=__webpack_require__(162);var _ast=__webpack_require__(192);function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var Query=function(){_createClass(Query,null,[{key:"parse",value:function parse(text,options){var syntax=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_default_syntax.defaultSyntax;return new Query(syntax.parse(text,options),syntax,text)}},{key:"parseDateValue",value:function parseDateValue(value){var format=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return(0,_date_value.dateValueParser)(format)(value)}},{key:"isMust",value:function isMust(clause){return _ast.AST.Match.isMustClause(clause)}},{key:"isTerm",value:function isTerm(clause){return _ast.AST.Term.isInstance(clause)}},{key:"isIs",value:function isIs(clause){return _ast.AST.Is.isInstance(clause)}},{key:"isField",value:function isField(clause){return _ast.AST.Field.isInstance(clause)}}]);function Query(ast){var syntax=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_default_syntax.defaultSyntax;var text=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;_classCallCheck(this,Query);this.ast=ast;this.text=text||syntax.print(ast);this.syntax=syntax}_createClass(Query,[{key:"hasSimpleFieldClause",value:function hasSimpleFieldClause(field){var value=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.ast.hasSimpleFieldClause(field,value)}},{key:"getSimpleFieldClause",value:function getSimpleFieldClause(field,value){return this.ast.getSimpleFieldClause(field,value)}},{key:"removeSimpleFieldClauses",value:function removeSimpleFieldClauses(field){var ast=this.ast.removeSimpleFieldClauses(field);return new Query(ast,this.syntax)}},{key:"addSimpleFieldValue",value:function addSimpleFieldValue(field,value){var must=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];var ast=this.ast.addSimpleFieldValue(field,value,must);return new Query(ast,this.syntax)}},{key:"removeSimpleFieldValue",value:function removeSimpleFieldValue(field,value){var ast=this.ast.removeSimpleFieldValue(field,value);return new Query(ast,this.syntax)}},{key:"hasOrFieldClause",value:function hasOrFieldClause(field){var value=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.ast.hasOrFieldClause(field,value)}},{key:"getOrFieldClause",value:function getOrFieldClause(field,value){return this.ast.getOrFieldClause(field,value)}},{key:"addOrFieldValue",value:function addOrFieldValue(field,value){var must=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];var ast=this.ast.addOrFieldValue(field,value,must);return new Query(ast,this.syntax)}},{key:"removeOrFieldValue",value:function removeOrFieldValue(field,value){var ast=this.ast.removeOrFieldValue(field,value);return new Query(ast,this.syntax)}},{key:"removeOrFieldClauses",value:function removeOrFieldClauses(field){var ast=this.ast.removeOrFieldClauses(field);return new Query(ast,this.syntax)}},{key:"hasIsClause",value:function hasIsClause(flag){return!(0,_predicate.isNil)(this.ast.getIsClause(flag))}},{key:"getIsClause",value:function getIsClause(flag){return this.ast.getIsClause(flag)}},{key:"addMustIsClause",value:function addMustIsClause(flag){var ast=this.ast.addClause(_ast.AST.Is.must(flag));return new Query(ast,this.syntax)}},{key:"addMustNotIsClause",value:function addMustNotIsClause(flag){var ast=this.ast.addClause(_ast.AST.Is.mustNot(flag));return new Query(ast,this.syntax)}},{key:"removeIsClause",value:function removeIsClause(flag){var ast=this.ast.removeIsClause(flag);return new Query(ast,this.syntax)}}],[{key:"execute",value:function execute(query,items){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var q=(0,_predicate.isString)(query)?Query.parse(query):query;return(0,_execute_ast.executeAst)(q.ast,items,options)}},{key:"toESQuery",value:function toESQuery(query){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var q=(0,_predicate.isString)(query)?Query.parse(query):query;return(0,_ast_to_es_query_dsl.astToEsQueryDsl)(q.ast,options)}},{key:"toESQueryString",value:function toESQueryString(query){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var q=(0,_predicate.isString)(query)?Query.parse(query):query;return(0,_ast_to_es_query_string.astToEsQueryString)(q.ast,options)}}]);return Query}();exports.Query=Query;_defineProperty(Query,"MATCH_ALL",Query.parse(""))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.defaultSyntax=void 0;__webpack_require__(3);__webpack_require__(4);__webpack_require__(79);__webpack_require__(80);__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(181);__webpack_require__(81);__webpack_require__(1792);__webpack_require__(153);__webpack_require__(92);__webpack_require__(93);__webpack_require__(563);__webpack_require__(5);__webpack_require__(229);__webpack_require__(228);__webpack_require__(42);var _ast=__webpack_require__(192);var _predicate=__webpack_require__(38);var _date_format=__webpack_require__(244);var _date_value=__webpack_require__(162);function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}var parser=function(){function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";"function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,peg$SyntaxError)}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function literal(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function _class(expectation){var i,escapedParts="";for(i=0;i<expectation.parts.length;i++)escapedParts+=expectation.parts[i]instanceof Array?classEscape(expectation.parts[i][0])+"-"+classEscape(expectation.parts[i][1]):classEscape(expectation.parts[i]);return"["+(expectation.inverted?"^":"")+escapedParts+"]"},any:function any(expectation){return"any character"},end:function end(expectation){return"end of input"},other:function other(expectation){return expectation.description}};function hex(ch){return ch.charCodeAt(0).toString(16).toUpperCase()}function literalEscape(s){return s.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(ch){return"\\x0"+hex(ch)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(ch){return"\\x"+hex(ch)})}function classEscape(s){return s.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(ch){return"\\x0"+hex(ch)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(ch){return"\\x"+hex(ch)})}function describeExpectation(expectation){return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation)}function describeExpected(expected){var i,j,descriptions=new Array(expected.length);for(i=0;i<expected.length;i++)descriptions[i]=describeExpectation(expected[i]);descriptions.sort();if(descriptions.length>0){for(i=1,j=1;i<descriptions.length;i++)if(descriptions[i-1]!==descriptions[i]){descriptions[j]=descriptions[i];j++}descriptions.length=j}switch(descriptions.length){case 1:return descriptions[0];case 2:return descriptions[0]+" or "+descriptions[1];default:return descriptions.slice(0,-1).join(", ")+", or "+descriptions[descriptions.length-1]}}function describeFound(found){return found?'"'+literalEscape(found)+'"':"end of input"}return"Expected "+describeExpected(expected)+" but "+describeFound(found)+" found."};function peg$parse(input,options){options=void 0!==options?options:{};var peg$result,peg$FAILED={},peg$startRuleFunctions={Query:peg$parseQuery},peg$startRuleFunction=peg$parseQuery,peg$c0=function peg$c0(clauses){return clauses},peg$c1=function peg$c1(){return[]},peg$c2=function peg$c2(head,clause){return clause},peg$c3=function peg$c3(head,tail){return[head].concat(_toConsumableArray(tail))},peg$c4="-",peg$c5=peg$literalExpectation("-",false),peg$c6=function peg$c6(value){return AST.Term.mustNot(value)},peg$c7=function peg$c7(value){return AST.Term.must(value)},peg$c8=function peg$c8(flag){return AST.Is.mustNot(flag)},peg$c9=function peg$c9(flag){return AST.Is.must(flag)},peg$c10="is:",peg$c11=peg$literalExpectation("is:",false),peg$c12=function peg$c12(flag){validateFlag(flag,location(),ctx);return flag},peg$c13=function peg$c13(fv){return AST.Field.mustNot.eq(fv.field,fv.value)},peg$c14=function peg$c14(fv){return AST.Field.mustNot.gt(fv.field,fv.value)},peg$c15=function peg$c15(fv){return AST.Field.mustNot.gte(fv.field,fv.value)},peg$c16=function peg$c16(fv){return AST.Field.mustNot.lt(fv.field,fv.value)},peg$c17=function peg$c17(fv){return AST.Field.mustNot.lte(fv.field,fv.value)},peg$c18=function peg$c18(fv){return AST.Field.must.eq(fv.field,fv.value)},peg$c19=function peg$c19(fv){return AST.Field.must.gt(fv.field,fv.value)},peg$c20=function peg$c20(fv){return AST.Field.must.gte(fv.field,fv.value)},peg$c21=function peg$c21(fv){return AST.Field.must.lt(fv.field,fv.value)},peg$c22=function peg$c22(fv){return AST.Field.must.lte(fv.field,fv.value)},peg$c23=":",peg$c24=peg$literalExpectation(":",false),peg$c25=function peg$c25(field,valueExpression){return{field:field,value:resolveFieldValue(field,valueExpression,ctx)}},peg$c26=">",peg$c27=peg$literalExpectation(">",false),peg$c28=function peg$c28(field,valueExpression){return{field:field,value:resolveFieldValue(field,valueExpression,ctx)}},peg$c29=">=",peg$c30=peg$literalExpectation(">=",false),peg$c31="<",peg$c32=peg$literalExpectation("<",false),peg$c33="<=",peg$c34=peg$literalExpectation("<=",false),peg$c35=peg$otherExpectation("flag name"),peg$c36=peg$otherExpectation("field name"),peg$c37=function peg$c37(){return unescapeValue(text())},peg$c38=/^[\-_]/,peg$c39=peg$classExpectation(["-","_"],false,false),peg$c40=peg$otherExpectation("field value"),peg$c41=peg$otherExpectation("term"),peg$c42=function peg$c42(value){return value.expression},peg$c43="(",peg$c44=peg$literalExpectation("(",false),peg$c45=/^[oO]/,peg$c46=peg$classExpectation(["o","O"],false,false),peg$c47=/^[rR]/,peg$c48=peg$classExpectation(["r","R"],false,false),peg$c49=function peg$c49(head,value){return value},peg$c50=")",peg$c51=peg$literalExpectation(")",false),peg$c52=function peg$c52(head,tail){return[head].concat(_toConsumableArray(tail))},peg$c53='"',peg$c54=peg$literalExpectation('"',false),peg$c55=function peg$c55(phrase){return Exp.string(phrase,location())},peg$c56=function peg$c56(){return Exp.string(unescapeValue(text()),location())},peg$c57=/^[\-_*:]/,peg$c58=peg$classExpectation(["-","_","*",":"],false,false),peg$c59=/^[\xC0-\uFFFF]/,peg$c60=peg$classExpectation([["À",""]],false,false),peg$c61="\\",peg$c62=peg$literalExpectation("\\",false),peg$c63=/^[\-:\\]/,peg$c64=peg$classExpectation(["-",":","\\"],false,false),peg$c65=function peg$c65(bool){return bool},peg$c66=peg$anyExpectation(),peg$c67=/^[tT]/,peg$c68=peg$classExpectation(["t","T"],false,false),peg$c69=/^[uU]/,peg$c70=peg$classExpectation(["u","U"],false,false),peg$c71=/^[eE]/,peg$c72=peg$classExpectation(["e","E"],false,false),peg$c73=function peg$c73(){return Exp.boolean(text(),location())},peg$c74=/^[fF]/,peg$c75=peg$classExpectation(["f","F"],false,false),peg$c76=/^[aA]/,peg$c77=peg$classExpectation(["a","A"],false,false),peg$c78=/^[lL]/,peg$c79=peg$classExpectation(["l","L"],false,false),peg$c80=/^[sS]/,peg$c81=peg$classExpectation(["s","S"],false,false),peg$c82=/^[yY]/,peg$c83=peg$classExpectation(["y","Y"],false,false),peg$c84=/^[nN]/,peg$c85=peg$classExpectation(["n","N"],false,false),peg$c86=/^[\-]/,peg$c87=peg$classExpectation(["-"],false,false),peg$c88=/^[0-9]/,peg$c89=peg$classExpectation([["0","9"]],false,false),peg$c90=".",peg$c91=peg$literalExpectation(".",false),peg$c92=function peg$c92(){return Exp.number(text(),location())},peg$c93=function peg$c93(num){return num},peg$c94="'",peg$c95=peg$literalExpectation("'",false),peg$c96=function peg$c96(){return text()},peg$c97=function peg$c97(expression){return Exp.date(expression,location())},peg$c98=peg$otherExpectation("alpha numeric"),peg$c99=/^[a-zA-Z0-9.]/,peg$c100=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"."],false,false),peg$c101=peg$otherExpectation("whitespace"),peg$c102=/^[ \t\n\r]/,peg$c103=peg$classExpectation([" ","\t","\n","\r"],false,false),peg$currPos=0,peg$savedPos=0,peg$posDetailsCache=[{line:1,column:1}],peg$maxFailPos=0,peg$maxFailExpected=[],peg$silentFails=0;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions))throw new Error("Can't start parsing from rule \""+options.startRule+'".');peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function location(){return peg$computeLocation(peg$savedPos,peg$currPos)}function error(message,location){location=void 0!==location?location:peg$computeLocation(peg$savedPos,peg$currPos);throw peg$buildSimpleError(message,location)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var p,details=peg$posDetailsCache[pos];if(details)return details;p=pos-1;while(!peg$posDetailsCache[p])p--;details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(p<pos){if(10===input.charCodeAt(p)){details.line++;details.column=1}else details.column++;p++}peg$posDetailsCache[pos]=details;return details}function peg$computeLocation(startPos,endPos){var startPosDetails=peg$computePosDetails(startPos),endPosDetails=peg$computePosDetails(endPos);return{start:{offset:startPos,line:startPosDetails.line,column:startPosDetails.column},end:{offset:endPos,line:endPosDetails.line,column:endPosDetails.column}}}function peg$fail(expected){if(peg$currPos<peg$maxFailPos)return;if(peg$currPos>peg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildSimpleError(message,location){return new peg$SyntaxError(message,null,null,location)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseQuery(){var s0,s1;s0=peg$currPos;s1=peg$parseClauses();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1()}s0=s1}return s0}function peg$parseClauses(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){s2=peg$parseClause();if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parsespace();if(s5!==peg$FAILED){s6=peg$parseClause();if(s6!==peg$FAILED){peg$savedPos=s4;s5=peg$c2(s2,s6);s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parsespace();if(s5!==peg$FAILED){s6=peg$parseClause();if(s6!==peg$FAILED){peg$savedPos=s4;s5=peg$c2(s2,s6);s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parsespace();s4===peg$FAILED&&(s4=null);if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c3(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseClause(){var s0;s0=peg$parseIsClause();if(s0===peg$FAILED){s0=peg$parseFieldClause();s0===peg$FAILED&&(s0=peg$parseTermClause())}return s0}function peg$parseTermClause(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){if(45===input.charCodeAt(peg$currPos)){s2=peg$c4;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c5)}if(s2!==peg$FAILED){s3=peg$parsetermValue();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c6(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){s2=peg$parsetermValue();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c7(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseIsClause(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){if(45===input.charCodeAt(peg$currPos)){s2=peg$c4;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c5)}if(s2!==peg$FAILED){s3=peg$parseIsFlag();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c8(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){s2=peg$parseIsFlag();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c9(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseIsFlag(){var s0,s1,s2;s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c10){s1=peg$c10;peg$currPos+=3}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c11)}if(s1!==peg$FAILED){s2=peg$parseflagName();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c12(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFieldClause(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){if(45===input.charCodeAt(peg$currPos)){s2=peg$c4;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c5)}if(s2!==peg$FAILED){s3=peg$parseFieldEQValue();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c13(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){if(45===input.charCodeAt(peg$currPos)){s2=peg$c4;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c5)}if(s2!==peg$FAILED){s3=peg$parseFieldGTValue();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c14(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){if(45===input.charCodeAt(peg$currPos)){s2=peg$c4;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c5)}if(s2!==peg$FAILED){s3=peg$parseFieldGTEValue();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){if(45===input.charCodeAt(peg$currPos)){s2=peg$c4;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c5)}if(s2!==peg$FAILED){s3=peg$parseFieldLTValue();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){if(45===input.charCodeAt(peg$currPos)){s2=peg$c4;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c5)}if(s2!==peg$FAILED){s3=peg$parseFieldLTEValue();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c17(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){s2=peg$parseFieldEQValue();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c18(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){s2=peg$parseFieldGTValue();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c19(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){s2=peg$parseFieldGTEValue();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c20(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){s2=peg$parseFieldLTValue();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c21(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsespace();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){s2=peg$parseFieldLTEValue();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c22(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}}}}}}}return s0}function peg$parseFieldEQValue(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parsefieldName();if(s1!==peg$FAILED){if(58===input.charCodeAt(peg$currPos)){s2=peg$c23;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c24)}if(s2!==peg$FAILED){s3=peg$parsefieldContainsValue();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c25(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFieldGTValue(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parsefieldName();if(s1!==peg$FAILED){if(62===input.charCodeAt(peg$currPos)){s2=peg$c26;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c27)}if(s2!==peg$FAILED){s3=peg$parserangeValue();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c28(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFieldGTEValue(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parsefieldName();if(s1!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c29){s2=peg$c29;peg$currPos+=2}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c30)}if(s2!==peg$FAILED){s3=peg$parserangeValue();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c28(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFieldLTValue(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parsefieldName();if(s1!==peg$FAILED){if(60===input.charCodeAt(peg$currPos)){s2=peg$c31;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c32)}if(s2!==peg$FAILED){s3=peg$parserangeValue();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c28(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFieldLTEValue(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parsefieldName();if(s1!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c33){s2=peg$c33;peg$currPos+=2}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c34)}if(s2!==peg$FAILED){s3=peg$parserangeValue();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c28(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseflagName(){var s0;peg$silentFails++;s0=peg$parseidentifier();peg$silentFails--;if(s0===peg$FAILED){peg$FAILED;0===peg$silentFails&&peg$fail(peg$c35)}return s0}function peg$parsefieldName(){var s0;peg$silentFails++;s0=peg$parseidentifier();peg$silentFails--;if(s0===peg$FAILED){peg$FAILED;0===peg$silentFails&&peg$fail(peg$c36)}return s0}function peg$parseidentifier(){var s0,s1,s2;s0=peg$currPos;s1=[];s2=peg$parseidentifierChar();if(s2!==peg$FAILED)while(s2!==peg$FAILED){s1.push(s2);s2=peg$parseidentifierChar()}else s1=peg$FAILED;if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c37()}s0=s1;return s0}function peg$parseidentifierChar(){var s0;s0=peg$parsealnum();if(s0===peg$FAILED){if(peg$c38.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c39)}s0===peg$FAILED&&(s0=peg$parseescapedChar())}return s0}function peg$parsefieldContainsValue(){var s0;peg$silentFails++;s0=peg$parsecontainsOrValues();s0===peg$FAILED&&(s0=peg$parsecontainsValue());peg$silentFails--;if(s0===peg$FAILED){peg$FAILED;0===peg$silentFails&&peg$fail(peg$c40)}return s0}function peg$parsetermValue(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parsecontainsValue();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c42(s1)}s0=s1;peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c41)}return s0}function peg$parsecontainsOrValues(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;if(40===input.charCodeAt(peg$currPos)){s1=peg$c43;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c44)}if(s1!==peg$FAILED){s2=peg$parsespace();s2===peg$FAILED&&(s2=null);if(s2!==peg$FAILED){s3=peg$parsecontainsValue();if(s3!==peg$FAILED){s4=[];s5=peg$currPos;s6=peg$parsespace();if(s6!==peg$FAILED){s7=peg$currPos;if(peg$c45.test(input.charAt(peg$currPos))){s8=input.charAt(peg$currPos);peg$currPos++}else{s8=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c46)}if(s8!==peg$FAILED){if(peg$c47.test(input.charAt(peg$currPos))){s9=input.charAt(peg$currPos);peg$currPos++}else{s9=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c48)}if(s9!==peg$FAILED){s8=[s8,s9];s7=s8}else{peg$currPos=s7;s7=peg$FAILED}}else{peg$currPos=s7;s7=peg$FAILED}if(s7!==peg$FAILED){s8=peg$parsespace();if(s8!==peg$FAILED){s9=peg$parsecontainsValue();if(s9!==peg$FAILED){peg$savedPos=s5;s6=peg$c49(s3,s9);s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}while(s5!==peg$FAILED){s4.push(s5);s5=peg$currPos;s6=peg$parsespace();if(s6!==peg$FAILED){s7=peg$currPos;if(peg$c45.test(input.charAt(peg$currPos))){s8=input.charAt(peg$currPos);peg$currPos++}else{s8=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c46)}if(s8!==peg$FAILED){if(peg$c47.test(input.charAt(peg$currPos))){s9=input.charAt(peg$currPos);peg$currPos++}else{s9=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c48)}if(s9!==peg$FAILED){s8=[s8,s9];s7=s8}else{peg$currPos=s7;s7=peg$FAILED}}else{peg$currPos=s7;s7=peg$FAILED}if(s7!==peg$FAILED){s8=peg$parsespace();if(s8!==peg$FAILED){s9=peg$parsecontainsValue();if(s9!==peg$FAILED){peg$savedPos=s5;s6=peg$c49(s3,s9);s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}if(s4!==peg$FAILED){s5=peg$parsespace();s5===peg$FAILED&&(s5=null);if(s5!==peg$FAILED){if(41===input.charCodeAt(peg$currPos)){s6=peg$c50;peg$currPos++}else{s6=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c51)}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c52(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parserangeValue(){var s0;s0=peg$parsenumberWord();s0===peg$FAILED&&(s0=peg$parsedate());return s0}function peg$parsecontainsValue(){var s0;s0=peg$parsenumberWord();if(s0===peg$FAILED){s0=peg$parsedate();if(s0===peg$FAILED){s0=peg$parsebooleanWord();if(s0===peg$FAILED){s0=peg$parseword();s0===peg$FAILED&&(s0=peg$parsephrase())}}}return s0}function peg$parsephrase(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(34===input.charCodeAt(peg$currPos)){s1=peg$c53;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c54)}if(s1!==peg$FAILED){s2=peg$parsespace();s2===peg$FAILED&&(s2=null);if(s2!==peg$FAILED){s3=peg$currPos;s4=peg$parseword();if(s4!==peg$FAILED){s5=[];s6=peg$currPos;s7=peg$parsespace();if(s7!==peg$FAILED){s8=peg$parseword();if(s8!==peg$FAILED){s7=[s7,s8];s6=s7}else{peg$currPos=s6;s6=peg$FAILED}}else{peg$currPos=s6;s6=peg$FAILED}while(s6!==peg$FAILED){s5.push(s6);s6=peg$currPos;s7=peg$parsespace();if(s7!==peg$FAILED){s8=peg$parseword();if(s8!==peg$FAILED){s7=[s7,s8];s6=s7}else{peg$currPos=s6;s6=peg$FAILED}}else{peg$currPos=s6;s6=peg$FAILED}}if(s5!==peg$FAILED){peg$savedPos=s3;s4=peg$c37();s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}if(s3!==peg$FAILED){s4=peg$parsespace();s4===peg$FAILED&&(s4=null);if(s4!==peg$FAILED){if(34===input.charCodeAt(peg$currPos)){s5=peg$c53;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c54)}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c55(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseword(){var s0,s1,s2;s0=peg$currPos;s1=[];s2=peg$parsewordChar();if(s2!==peg$FAILED)while(s2!==peg$FAILED){s1.push(s2);s2=peg$parsewordChar()}else s1=peg$FAILED;if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c56()}s0=s1;return s0}function peg$parsewordChar(){var s0;s0=peg$parsealnum();if(s0===peg$FAILED){if(peg$c57.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c58)}if(s0===peg$FAILED){s0=peg$parseescapedChar();s0===peg$FAILED&&(s0=peg$parseextendedGlyph())}}return s0}function peg$parseextendedGlyph(){var s0;if(peg$c59.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c60)}return s0}function peg$parseescapedChar(){var s0,s1,s2;s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c61;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c62)}if(s1!==peg$FAILED){s2=peg$parsereservedChar();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parsereservedChar(){var s0;if(peg$c63.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c64)}return s0}function peg$parsebooleanWord(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseboolean();if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parsespace();peg$silentFails--;if(s3!==peg$FAILED){peg$currPos=s2;s2=void 0}else s2=peg$FAILED;if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c65(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseboolean();if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c66)}peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c65(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseboolean(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(peg$c67.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c68)}if(s1!==peg$FAILED){if(peg$c47.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c48)}if(s2!==peg$FAILED){if(peg$c69.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c70)}if(s3!==peg$FAILED){if(peg$c71.test(input.charAt(peg$currPos))){s4=input.charAt(peg$currPos);peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c72)}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c73();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(peg$c74.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c75)}if(s1!==peg$FAILED){if(peg$c76.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c77)}if(s2!==peg$FAILED){if(peg$c78.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c79)}if(s3!==peg$FAILED){if(peg$c80.test(input.charAt(peg$currPos))){s4=input.charAt(peg$currPos);peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c81)}if(s4!==peg$FAILED){if(peg$c71.test(input.charAt(peg$currPos))){s5=input.charAt(peg$currPos);peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c72)}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c73();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(peg$c82.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c83)}if(s1!==peg$FAILED){if(peg$c71.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c72)}if(s2!==peg$FAILED){if(peg$c80.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c81)}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c73();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(peg$c84.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c85)}if(s1!==peg$FAILED){if(peg$c45.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c46)}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c73();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(peg$c45.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c46)}if(s1!==peg$FAILED){if(peg$c84.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c85)}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c73();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(peg$c45.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c46)}if(s1!==peg$FAILED){if(peg$c74.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c75)}if(s2!==peg$FAILED){if(peg$c74.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c75)}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c73();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}}}return s0}function peg$parsenumber(){var s0,s1,s2,s3,s4,s5,s6,s7;s0=peg$currPos;if(peg$c86.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c87)}s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){s2=[];if(peg$c88.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c89)}if(s3!==peg$FAILED)while(s3!==peg$FAILED){s2.push(s3);if(peg$c88.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c89)}}else s2=peg$FAILED;if(s2!==peg$FAILED){s3=[];s4=peg$currPos;if(46===input.charCodeAt(peg$currPos)){s5=peg$c90;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c91)}if(s5!==peg$FAILED){s6=[];if(peg$c88.test(input.charAt(peg$currPos))){s7=input.charAt(peg$currPos);peg$currPos++}else{s7=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c89)}if(s7!==peg$FAILED)while(s7!==peg$FAILED){s6.push(s7);if(peg$c88.test(input.charAt(peg$currPos))){s7=input.charAt(peg$currPos);peg$currPos++}else{s7=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c89)}}else s6=peg$FAILED;if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;if(46===input.charCodeAt(peg$currPos)){s5=peg$c90;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c91)}if(s5!==peg$FAILED){s6=[];if(peg$c88.test(input.charAt(peg$currPos))){s7=input.charAt(peg$currPos);peg$currPos++}else{s7=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c89)}if(s7!==peg$FAILED)while(s7!==peg$FAILED){s6.push(s7);if(peg$c88.test(input.charAt(peg$currPos))){s7=input.charAt(peg$currPos);peg$currPos++}else{s7=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c89)}}else s6=peg$FAILED;if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c92();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parsenumberWord(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parsenumber();if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parsespace();peg$silentFails--;if(s3!==peg$FAILED){peg$currPos=s2;s2=void 0}else s2=peg$FAILED;if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c93(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsenumber();if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c66)}peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c93(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parsedate(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(39===input.charCodeAt(peg$currPos)){s1=peg$c94;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c95)}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$currPos;s5=peg$currPos;peg$silentFails++;if(39===input.charCodeAt(peg$currPos)){s6=peg$c94;peg$currPos++}else{s6=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c95)}peg$silentFails--;if(s6===peg$FAILED)s5=void 0;else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){if(input.length>peg$currPos){s6=input.charAt(peg$currPos);peg$currPos++}else{s6=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c66)}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}if(s4!==peg$FAILED)while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$currPos;peg$silentFails++;if(39===input.charCodeAt(peg$currPos)){s6=peg$c94;peg$currPos++}else{s6=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c95)}peg$silentFails--;if(s6===peg$FAILED)s5=void 0;else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){if(input.length>peg$currPos){s6=input.charAt(peg$currPos);peg$currPos++}else{s6=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c66)}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}else s3=peg$FAILED;if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c96()}s2=s3;if(s2!==peg$FAILED){if(39===input.charCodeAt(peg$currPos)){s3=peg$c94;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c95)}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c97(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parsealnum(){var s0;peg$silentFails++;if(peg$c99.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c100)}peg$silentFails--;if(s0===peg$FAILED){peg$FAILED;0===peg$silentFails&&peg$fail(peg$c98)}return s0}function peg$parsespace(){var s0,s1;peg$silentFails++;s0=[];if(peg$c102.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c103)}if(s1!==peg$FAILED)while(s1!==peg$FAILED){s0.push(s1);if(peg$c102.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c103)}}else s0=peg$FAILED;peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c101)}return s0}var _options=options,AST=_options.AST,Exp=_options.Exp,unescapeValue=_options.unescapeValue,resolveFieldValue=_options.resolveFieldValue;var ctx=Object.assign({error:error},options);peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length)return peg$result;peg$result!==peg$FAILED&&peg$currPos<input.length&&peg$fail(peg$endExpectation());throw peg$buildStructuredError(peg$maxFailExpected,peg$maxFailPos<input.length?input.charAt(peg$maxFailPos):null,peg$maxFailPos<input.length?peg$computeLocation(peg$maxFailPos,peg$maxFailPos+1):peg$computeLocation(peg$maxFailPos,peg$maxFailPos))}return{SyntaxError:peg$SyntaxError,parse:peg$parse}}();var unescapeValue=function unescapeValue(value){return value.replace(/\\([:\-\\])/g,"$1")};var escapeValue=function escapeValue(value){return value.replace(/([:\-\\])/g,"\\$1")};var escapeFieldValue=function escapeFieldValue(value){return value.replace(/(\\)/g,"\\$1")};var Exp={date:function date(expression,location){return{type:"date",expression:expression,location:location}},number:function number(expression,location){return{type:"number",expression:expression,location:location}},string:function string(expression,location){return{type:"string",expression:expression,location:location}},boolean:function boolean(expression,location){return{type:"boolean",expression:expression,location:location}}};var validateFlag=function validateFlag(flag,location,ctx){if(ctx.schema&&ctx.schema.strict){if(ctx.schema.flags&&ctx.schema.flags.includes(flag))return;if(ctx.schema.fields&&ctx.schema.fields[flag]&&"boolean"===ctx.schema.fields[flag].type)return;ctx.error("Unknown flag `".concat(flag,"`"))}};var validateFieldValue=function validateFieldValue(field,schemaField,expression,value,location,error){if(schemaField&&schemaField.validate)try{schemaField.validate(value)}catch(e){error("Invalid value `".concat(expression,"` set for field `").concat(field,"` - ").concat(e.message),location)}};var resolveFieldValue=function resolveFieldValue(field,valueExpression,ctx){var schema=ctx.schema,error=ctx.error,parseDate=ctx.parseDate;if((0,_predicate.isArray)(valueExpression))return valueExpression.map(function(exp){return resolveFieldValue(field,exp,ctx)});var location=valueExpression.location;var type=valueExpression.type,expression=valueExpression.expression;schema&&!schema.fields[field]&&schema.strict&&error("Unknown field `".concat(field,"`"),location);var schemaField=schema&&schema.fields[field];if(schemaField&&schemaField.type!==type&&schema.strict)if("string"===schemaField.type){expression=valueExpression.expression=expression.toString();type=valueExpression.type="string"}else{var valueDesc=schemaField.valueDescription||"a ".concat(schemaField.type," value");error("Expected ".concat(valueDesc," for field `").concat(field,"`, but found `").concat(expression,"`"),location)}switch(type){case"date":var date=null;try{date=parseDate(expression)}catch(e){error("Invalid data `".concat(expression,"` set for field `").concat(field,"`"),location)}validateFieldValue(field,schemaField,expression,date,location,error);return date;case"number":var number=Number(expression);Number.isNaN(number)&&error("Invalid number `".concat(expression,"` set for field `").concat(field,"`"),location);validateFieldValue(field,schemaField,expression,number,location,error);return number;case"boolean":var boolean=!!expression.match(/true|yes|on/i);validateFieldValue(field,schemaField,expression,boolean,location,error);return boolean;default:validateFieldValue(field,schemaField,expression,expression,location,error);return expression}};var printValue=function printValue(value,options){if((0,_date_value.isDateValue)(value))return"'".concat(value.text,"'");if((0,_predicate.isDateLike)(value)){var dateFormat=options.dateFormat||_date_format.dateFormat;return"'".concat(dateFormat.print(value),"'")}if(!(0,_predicate.isString)(value))return value.toString();var escapeFn=options.escapeValue||escapeValue;if(value.match(/\s/))return'"'.concat(escapeFn(value),'"');return escapeFn(value)};var resolveOperator=function resolveOperator(operator){switch(operator){case _ast.AST.Operator.EQ:return":";case _ast.AST.Operator.GT:return">";case _ast.AST.Operator.GTE:return">=";case _ast.AST.Operator.LT:return"<";case _ast.AST.Operator.LTE:return"<=";default:throw new Error("unknown field/value operator [".concat(operator,"]"))}};var defaultSyntax=Object.freeze({parse:function parse(query){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var dateFormat=options.dateFormat||_date_format.dateFormat;var parseDate=(0,_date_value.dateValueParser)(dateFormat);var schema=options.schema||{};var clauses=parser.parse(query,{AST:_ast.AST,Exp:Exp,unescapeValue:unescapeValue,parseDate:parseDate,resolveFieldValue:resolveFieldValue,validateFlag:validateFlag,schema:_objectSpread({strict:false,flags:[],fields:{}},schema)});return _ast.AST.create(clauses)},print:function print(ast){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ast.clauses.reduce(function(text,clause){var prefix=_ast.AST.Match.isMustClause(clause)?"":"-";switch(clause.type){case _ast.AST.Field.TYPE:var op=resolveOperator(clause.operator);var printFieldValueOptions=_objectSpread({},options,{escapeValue:escapeFieldValue});if((0,_predicate.isArray)(clause.value))return"".concat(text," ").concat(prefix).concat(escapeValue(clause.field)).concat(op,"(").concat(clause.value.map(function(val){return printValue(val,printFieldValueOptions)}).join(" or "),")");return"".concat(text," ").concat(prefix).concat(escapeValue(clause.field)).concat(op).concat(printValue(clause.value,printFieldValueOptions));case _ast.AST.Is.TYPE:return"".concat(text," ").concat(prefix,"is:").concat(escapeValue(clause.flag));case _ast.AST.Term.TYPE:return"".concat(text," ").concat(prefix).concat(printValue(clause.value,options));default:return text}},"").trim()}});exports.defaultSyntax=defaultSyntax},function(module,exports,__webpack_require__){var $export=__webpack_require__(41);$export($export.S,"Number",{isNaN:function isNaN(number){return number!=number}})},function(module,exports,__webpack_require__){var getKeys=__webpack_require__(150);var toIObject=__webpack_require__(146);var isEnum=__webpack_require__(227).f;module.exports=function(isEntries){return function(it){var O=toIObject(it);var keys=getKeys(O);var length=keys.length;var i=0;var result=[];var key;while(length>i)isEnum.call(O,key=keys[i++])&&result.push(isEntries?[key,O[key]]:O[key]);return result}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.executeAst=exports.createFilter=void 0;__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(81);var _lodash=__webpack_require__(10);var _predicate=__webpack_require__(38);var _operators=__webpack_require__(1795);var _ast=__webpack_require__(192);var _nameToOperatorMap;function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EXPLAIN_FIELD="__explain";var nameToOperatorMap=(_nameToOperatorMap={},_defineProperty(_nameToOperatorMap,_ast.AST.Operator.EQ,_operators.eq),_defineProperty(_nameToOperatorMap,_ast.AST.Operator.GT,_operators.gt),_defineProperty(_nameToOperatorMap,_ast.AST.Operator.GTE,_operators.gte),_defineProperty(_nameToOperatorMap,_ast.AST.Operator.LT,_operators.lt),_defineProperty(_nameToOperatorMap,_ast.AST.Operator.LTE,_operators.lte),_nameToOperatorMap);var defaultIsClauseMatcher=function defaultIsClauseMatcher(item,clause,explain){var type=clause.type,flag=clause.flag,match=clause.match;var value=(0,_lodash.get)(item,clause.flag);var must=_ast.AST.Match.isMustClause(clause);var hit=!!value===must;explain&&hit&&explain.push({hit:hit,type:type,flag:flag,match:match});return hit};var fieldClauseMatcher=function fieldClauseMatcher(item,field){var clauses=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];var explain=arguments.length>3?arguments[3]:void 0;return clauses.every(function(clause){var type=clause.type,value=clause.value,match=clause.match;var operator=nameToOperatorMap[clause.operator];if(!operator)return true;_ast.AST.Match.isMust(match)||(operator=function operator(value,token){return!nameToOperatorMap[clause.operator](value,token)});var itemValue=(0,_lodash.get)(item,field);var hit=(0,_predicate.isArray)(value)?value.some(function(v){return operator(itemValue,v)}):operator(itemValue,value);explain&&hit&&explain.push({hit:hit,type:type,field:field,value:value,match:match,operator:operator});return hit})};var extractStringFieldsFromItem=function extractStringFieldsFromItem(item){return Object.keys(item).reduce(function(fields,key){(0,_predicate.isString)(item[key])&&fields.push(key);return fields},[])};var termClauseMatcher=function termClauseMatcher(item,fields){var clauses=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];var explain=arguments.length>3?arguments[3]:void 0;var searchableFields=fields||extractStringFieldsFromItem(item);return clauses.every(function(clause){var type=clause.type,value=clause.value,match=clause.match;var isMustClause=_ast.AST.Match.isMustClause(clause);var equals=nameToOperatorMap[_ast.AST.Operator.EQ];var containsMatches=searchableFields.some(function(field){var itemValue=(0,_lodash.get)(item,field);var isMatch=equals(itemValue,value);if(explain){var hit=isMustClause&&isMatch||!isMustClause&&!isMatch;hit&&explain.push({hit:hit,type:type,field:field,match:match,value:value})}return isMatch});if(isMustClause)return containsMatches;return!containsMatches})};var createFilter=function createFilter(ast,defaultFields){var isClauseMatcher=arguments.length>2&&void 0!==arguments[2]?arguments[2]:defaultIsClauseMatcher;var explain=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(item){var explainLines=explain?[]:void 0;explainLines&&(item[EXPLAIN_FIELD]=explainLines);var termClauses=ast.getTermClauses();var fields=ast.getFieldNames();var isClauses=ast.getIsClauses();var isTermMatch=termClauseMatcher(item,defaultFields,termClauses,explainLines);if(!isTermMatch)return false;var isFieldsMatch=fields.every(function(field){return fieldClauseMatcher(item,field,ast.getFieldClauses(field),explainLines)});if(!isFieldsMatch)return false;var isIsMatch=isClauses.every(function(clause){return isClauseMatcher(item,clause,explainLines)});if(!isIsMatch)return false;return true}};exports.createFilter=createFilter;var executeAst=function executeAst(ast,items){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var isClauseMatcher=options.isClauseMatcher,defaultFields=options.defaultFields,explain=options.explain;var filter=createFilter(ast,defaultFields,isClauseMatcher,explain);return items.filter(filter)};exports.executeAst=executeAst},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.lte=exports.lt=exports.gte=exports.gt=exports.eq=void 0;__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(153);__webpack_require__(92);__webpack_require__(93);__webpack_require__(42);var _date_format=__webpack_require__(244);var _date_value=__webpack_require__(162);var _predicate=__webpack_require__(38);var _moment=_interopRequireDefault(__webpack_require__(53));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var utc=_moment.default.utc;var resolveValueAsDate=function resolveValueAsDate(value){if(_moment.default.isMoment(value))return value;if(_moment.default.isDate(value)||(0,_predicate.isNumber)(value))return(0,_moment.default)(value);return _date_format.dateFormat.parse(value.toString())};var defaultEqOptions={ignoreCase:true};var eq=function eq(fieldValue,clauseValue){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};options=_objectSpread({},defaultEqOptions,options);if((0,_predicate.isNil)(fieldValue)||(0,_predicate.isNil)(clauseValue))return fieldValue===clauseValue;if((0,_date_value.isDateValue)(clauseValue)){var dateFieldValue=resolveValueAsDate(fieldValue);if(clauseValue.granularity)return clauseValue.granularity.isSame(dateFieldValue,clauseValue.resolve());return dateFieldValue.isSame(clauseValue.resolve())}if((0,_predicate.isString)(fieldValue))return options.ignoreCase?fieldValue.toLowerCase().includes(clauseValue.toString().toLowerCase()):fieldValue.includes(clauseValue.toString());if((0,_predicate.isNumber)(fieldValue)){clauseValue=Number(clauseValue);return fieldValue===clauseValue}if((0,_predicate.isBoolean)(fieldValue))return clauseValue===fieldValue;if((0,_predicate.isDateLike)(fieldValue)){var date=resolveValueAsDate(clauseValue);if(!date.isValid())return false;var granularity=(0,_date_format.dateGranularity)(date);if(!granularity)return utc(fieldValue).isSame(date);return granularity.isSame(fieldValue,date)}if((0,_predicate.isArray)(fieldValue))return fieldValue.some(function(item){return eq(item,clauseValue,options)});return false};exports.eq=eq;var greaterThen=function greaterThen(fieldValue,clauseValue){var inclusive=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if((0,_date_value.isDateValue)(clauseValue)){var clauseDateValue=clauseValue.resolve();if(!clauseValue.granularity)return inclusive?utc(fieldValue).isSameOrAfter(clauseDateValue):utc(fieldValue).isAfter(clauseDateValue);if(inclusive)return utc(fieldValue).isSameOrAfter(clauseValue.granularity.start(clauseDateValue));return utc(fieldValue).isSameOrAfter(clauseValue.granularity.startOfNext(clauseDateValue))}if((0,_predicate.isString)(fieldValue)){var str=clauseValue.toString();return inclusive?fieldValue>=str:fieldValue>str}if((0,_predicate.isNumber)(fieldValue)){var number=Number(clauseValue);return inclusive?fieldValue>=number:fieldValue>number}if((0,_predicate.isDateLike)(fieldValue)){var date=resolveValueAsDate(clauseValue);var granularity=(0,_date_format.dateGranularity)(date);if(!granularity)return inclusive?utc(fieldValue).isSameOrAfter(date):utc(fieldValue).isAfter(date);if(inclusive)return utc(fieldValue).isSameOrAfter(granularity.start(date));return utc(fieldValue).isSameOrAfter(granularity.startOfNext(date))}if((0,_predicate.isArray)(fieldValue))return fieldValue.all(function(item){return greaterThen(item,clauseValue,inclusive)});return false};var gt=function gt(fieldValue,clauseValue){if((0,_predicate.isNil)(fieldValue)||(0,_predicate.isNil)(clauseValue))return false;return greaterThen(fieldValue,clauseValue)};exports.gt=gt;var gte=function gte(fieldValue,clauseValue){if((0,_predicate.isNil)(fieldValue)||(0,_predicate.isNil)(clauseValue))return fieldValue===clauseValue;return greaterThen(fieldValue,clauseValue,true)};exports.gte=gte;var lt=function lt(fieldValue,clauseValue){if((0,_predicate.isNil)(fieldValue)||(0,_predicate.isNil)(clauseValue))return false;return!greaterThen(fieldValue,clauseValue,true)};exports.lt=lt;var lte=function lte(fieldValue,clauseValue){if((0,_predicate.isNil)(fieldValue)||(0,_predicate.isNil)(clauseValue))return fieldValue===clauseValue;return!greaterThen(fieldValue,clauseValue)};exports.lte=lte},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.astToEsQueryDsl=exports._isFlagToQuery=exports._fieldValuesToQuery=exports._termValuesToQuery=void 0;__webpack_require__(79);__webpack_require__(80);__webpack_require__(42);__webpack_require__(7);__webpack_require__(8);__webpack_require__(81);__webpack_require__(3);__webpack_require__(4);__webpack_require__(2);var _date_format=__webpack_require__(244);var _date_value=__webpack_require__(162);var _ast=__webpack_require__(192);var _predicate=__webpack_require__(38);function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var processDateOperation=function processDateOperation(value,operator){var granularity=value.granularity,resolve=value.resolve;var expression=(0,_date_format.printIso8601)(resolve());if(!granularity)return{operator:operator,expression:expression};switch(operator){case _ast.AST.Operator.GT:expression="".concat(expression,"||+1").concat(granularity.es,"/").concat(granularity.es);return{operator:_ast.AST.Operator.GTE,expression:expression};case _ast.AST.Operator.GTE:case _ast.AST.Operator.LT:expression="".concat(expression,"||/").concat(granularity.es);return{operator:operator,expression:expression};case _ast.AST.Operator.LTE:expression="".concat(expression,"||+1").concat(granularity.es,"/").concat(granularity.es);return{operator:_ast.AST.Operator.LT,expression:expression};default:expression="".concat(expression,"||/").concat(granularity.es);return{expression:expression}}};var _termValuesToQuery=function _termValuesToQuery(values,options){var body={query:values.join(" ")};if(""===body.query)return;options.defaultFields&&(body.fields=options.defaultFields);return{simple_query_string:body}};exports._termValuesToQuery=_termValuesToQuery;var _fieldValuesToQuery=function _fieldValuesToQuery(field,operations,andOr){var queries=[];Object.keys(operations).forEach(function(operator){var values=operations[operator];switch(operator){case _ast.AST.Operator.EQ:var _values$reduce=values.reduce(function(tokenTypes,value){(0,_date_value.isDateValue)(value)?tokenTypes.dates.push(value):(0,_predicate.isDateLike)(value)?tokenTypes.dates.push((0,_date_value.dateValue)(value)):(0,_predicate.isString)(value)&&value.match(/\s/)?tokenTypes.phrases.push(value):tokenTypes.terms.push(value);return tokenTypes},{terms:[],phrases:[],dates:[]}),terms=_values$reduce.terms,phrases=_values$reduce.phrases,dates=_values$reduce.dates;terms.length>0&&queries.push({match:_defineProperty({},field,{query:terms.join(" "),operator:andOr})});phrases.length>0&&queries.push.apply(queries,_toConsumableArray(phrases.map(function(phrase){return{match_phrase:_defineProperty({},field,phrase)}})));dates.length>0&&queries.push.apply(queries,_toConsumableArray(dates.map(function(value){return{match:_defineProperty({},field,processDateOperation(value).expression)}})));break;default:values.forEach(function(value){if((0,_date_value.isDateValue)(value)){var operation=processDateOperation(value,operator);queries.push({range:_defineProperty({},field,_defineProperty({},operation.operator,operation.expression))})}else queries.push({range:_defineProperty({},field,_defineProperty({},operator,value))})})}});if(1===queries.length)return queries[0];var key="and"===andOr?"must":"should";return{bool:_defineProperty({},key,queries.concat())}};exports._fieldValuesToQuery=_fieldValuesToQuery;var _isFlagToQuery=function _isFlagToQuery(flag,on){return{term:_defineProperty({},flag,on)}};exports._isFlagToQuery=_isFlagToQuery;var collectTerms=function collectTerms(ast){return ast.getTermClauses().reduce(function(values,clause){_ast.AST.Match.isMustClause(clause)?values.must.push(clause.value):values.mustNot.push(clause.value);return values},{must:[],mustNot:[]})};var collectFields=function collectFields(ast){var fieldArray=function fieldArray(obj,field,operator){obj[field]||(obj[field]={});obj[field][operator]||(obj[field][operator]=[]);return obj[field][operator]};return ast.getFieldClauses().reduce(function(fields,clause){if(_ast.AST.Match.isMustClause(clause))if((0,_predicate.isArray)(clause.value)){var _fieldArray;(_fieldArray=fieldArray(fields.must.or,clause.field,clause.operator)).push.apply(_fieldArray,_toConsumableArray(clause.value))}else fieldArray(fields.must.and,clause.field,clause.operator).push(clause.value);else if((0,_predicate.isArray)(clause.value)){var _fieldArray2;(_fieldArray2=fieldArray(fields.mustNot.or,clause.field,clause.operator)).push.apply(_fieldArray2,_toConsumableArray(clause.value))}else fieldArray(fields.mustNot.and,clause.field,clause.operator).push(clause.value);return fields},{must:{and:{},or:{}},mustNot:{and:{},or:{}}})};var astToEsQueryDsl=function astToEsQueryDsl(ast){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(0===ast.clauses.length)return{match_all:{}};var extraMustQueries=options.extraMustQueries||[];var extraMustNotQueries=options.extraMustNotQueries||[];var termValuesToQuery=options.termValuesToQuery||_termValuesToQuery;var fieldValuesToQuery=options.fieldValuesToQuery||_fieldValuesToQuery;var isFlagToQuery=options.isFlagToQuery||_isFlagToQuery;var terms=collectTerms(ast);var fields=collectFields(ast);var must=[];must.push.apply(must,_toConsumableArray(extraMustQueries));var termMustQuery=termValuesToQuery(terms.must,options);termMustQuery&&must.push(termMustQuery);Object.keys(fields.must.and).forEach(function(field){must.push(fieldValuesToQuery(field,fields.must.and[field],"and"))});Object.keys(fields.must.or).forEach(function(field){must.push(fieldValuesToQuery(field,fields.must.or[field],"or"))});ast.getIsClauses().forEach(function(clause){must.push(isFlagToQuery(clause.flag,_ast.AST.Match.isMustClause(clause)))});var mustNot=[];mustNot.push.apply(mustNot,_toConsumableArray(extraMustNotQueries));var termMustNotQuery=termValuesToQuery(terms.mustNot,options);termMustNotQuery&&mustNot.push(termMustNotQuery);Object.keys(fields.mustNot.and).forEach(function(field){mustNot.push(fieldValuesToQuery(field,fields.mustNot.and[field],"and"))});Object.keys(fields.mustNot.or).forEach(function(field){mustNot.push(fieldValuesToQuery(field,fields.mustNot.or[field],"or"))});var bool={};0!==must.length&&(bool.must=must);0!==mustNot.length&&(bool.must_not=mustNot);return{bool:bool}};exports.astToEsQueryDsl=astToEsQueryDsl},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.astToEsQueryString=void 0;__webpack_require__(81);var _date_format=__webpack_require__(244);var _date_value=__webpack_require__(162);var _ast=__webpack_require__(192);var _predicate=__webpack_require__(38);var emitMatch=function emitMatch(match){if(!match)return"";return _ast.AST.Match.isMust(match)?"+":"-"};var emitFieldDateLikeClause=function emitFieldDateLikeClause(field,value,operator,match){var matchOp=emitMatch(match);switch(operator){case _ast.Operator.EQ:return"".concat(matchOp).concat(field,":").concat((0,_date_format.printIso8601)(value));case _ast.Operator.GT:return"".concat(matchOp).concat(field,":>").concat((0,_date_format.printIso8601)(value));case _ast.Operator.GTE:return"".concat(matchOp).concat(field,":>=").concat((0,_date_format.printIso8601)(value));case _ast.Operator.LT:return"".concat(matchOp).concat(field,":<").concat((0,_date_format.printIso8601)(value));case _ast.Operator.LTE:return"".concat(matchOp).concat(field,":<=").concat((0,_date_format.printIso8601)(value));default:throw new Error("unknown operator [".concat(operator,"]"))}};var emitFieldDateValueClause=function emitFieldDateValueClause(field,value,operator,match){var matchOp=emitMatch(match);var granularity=value.granularity,resolve=value.resolve;var date=resolve();if(granularity)switch(operator){case _ast.Operator.EQ:var gte=granularity.iso8601(granularity.start(date));var lt=granularity.iso8601(granularity.startOfNext(date));return"".concat(matchOp).concat(field,":(>=").concat(gte," AND <").concat(lt,")");case _ast.Operator.GT:return"".concat(matchOp).concat(field,":>=").concat(granularity.iso8601(granularity.startOfNext(date)));case _ast.Operator.GTE:return"".concat(matchOp).concat(field,":>=").concat(granularity.iso8601(granularity.start(date)));case _ast.Operator.LT:return"".concat(matchOp).concat(field,":<").concat(granularity.iso8601(granularity.start(date)));case _ast.Operator.LTE:return"".concat(matchOp).concat(field,":<").concat(granularity.iso8601(granularity.startOfNext(date)));default:throw new Error("unknown operator [".concat(operator,"]"))}return emitFieldDateLikeClause(field,date,operator,match)};var emitFieldNumericClause=function emitFieldNumericClause(field,value,operator,match){var matchOp=emitMatch(match);switch(operator){case _ast.Operator.EQ:return"".concat(matchOp).concat(field,":").concat(value);case _ast.Operator.GT:return"".concat(matchOp).concat(field,":>").concat(value);case _ast.Operator.GTE:return"".concat(matchOp).concat(field,":>=").concat(value);case _ast.Operator.LT:return"".concat(matchOp).concat(field,":<").concat(value);case _ast.Operator.LTE:return"".concat(matchOp).concat(field,":<=").concat(value);default:throw new Error("unknown operator [".concat(operator,"]"))}};var emitFieldStringClause=function emitFieldStringClause(field,value,match){var matchOp=emitMatch(match);if(value.match(/\s/))return"".concat(matchOp).concat(field,':"').concat(value,'"');return"".concat(matchOp).concat(field,":").concat(value)};var emitFieldBooleanClause=function emitFieldBooleanClause(field,value,match){var matchOp=emitMatch(match);return"".concat(matchOp).concat(field,":").concat(value)};var emitFieldSingleValueClause=function emitFieldSingleValueClause(field,value,operator,match){if((0,_date_value.isDateValue)(value))return emitFieldDateValueClause(field,value,operator,match);if((0,_predicate.isDateLike)(value))return emitFieldDateLikeClause(field,value,operator,match);if((0,_predicate.isString)(value))return emitFieldStringClause(field,value,match);if((0,_predicate.isNumber)(value))return emitFieldNumericClause(field,value,operator,match);if((0,_predicate.isBoolean)(value))return emitFieldBooleanClause(field,value,match);throw new Error("unknown type of field value [".concat(value,"]"))};var emitFieldClause=function emitFieldClause(clause){var field=clause.field,value=clause.value,operator=clause.operator,match=clause.match;if(!(0,_predicate.isArray)(value))return emitFieldSingleValueClause(field,value,operator,match);var matchOp=emitMatch(match);var clauses=value.map(function(v){return emitFieldSingleValueClause(field,v,operator)}).join(" OR ");return"".concat(matchOp,"(").concat(clauses,")")};var emitTermClause=function emitTermClause(clause){var value=clause.value,match=clause.match;var matchOp=emitMatch(match);return"".concat(matchOp).concat(value)};var emitIsClause=function emitIsClause(clause){var flag=clause.flag,match=clause.match;return _ast.AST.Match.isMust(match)?"+".concat(flag,":true"):"+".concat(flag,":false")};var astToEsQueryString=function astToEsQueryString(ast){if(0===ast.clauses.length)return"";return ast.clauses.map(function(clause){if(_ast.AST.Field.isInstance(clause))return emitFieldClause(clause);if(_ast.AST.Term.isInstance(clause))return emitTermClause(clause);if(_ast.AST.Is.isInstance(clause))return emitIsClause(clause);throw new Error("unknown clause type [".concat(JSON.stringify(clause),"]"))}).join(" ")};exports.astToEsQueryString=astToEsQueryString},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.FieldValueSelectionFilter=exports.FieldValueSelectionFilterConfigType=void 0;__webpack_require__(79);__webpack_require__(80);__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(42);__webpack_require__(19);__webpack_require__(1799);__webpack_require__(1809);__webpack_require__(92);__webpack_require__(93);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _predicate=__webpack_require__(38);var _services=__webpack_require__(25);var _prop_types=__webpack_require__(230);var _popover=__webpack_require__(413);var _popover_title=__webpack_require__(661);var _field_search=__webpack_require__(412);var _filter_group=__webpack_require__(190);var _loading_chart=__webpack_require__(591);var _spacer=__webpack_require__(437);var _icon=__webpack_require__(280);var _query3=__webpack_require__(191);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var FieldValueOptionType=_propTypes.default.shape({field:_propTypes.default.string,value:_propTypes.default.any.isRequired,name:_propTypes.default.string,view:_propTypes.default.node});var FieldValueOptionsType=_propTypes.default.oneOfType([_propTypes.default.func,_propTypes.default.arrayOf(FieldValueOptionType)]);var FieldValueSelectionFilterConfigType=_propTypes.default.shape({type:_prop_types.EuiPropTypes.is("field_value_selection").isRequired,field:_propTypes.default.string,autoClose:_propTypes.default.boolean,name:_propTypes.default.string.isRequired,options:FieldValueOptionsType.isRequired,filterWith:_propTypes.default.oneOfType([_propTypes.default.func,_propTypes.default.oneOf(["prefix","includes"])]),cache:_propTypes.default.number,multiSelect:_propTypes.default.oneOfType([_propTypes.default.bool,_propTypes.default.oneOf(["and","or"])]),loadingMessage:_propTypes.default.string,noOptionsMessage:_propTypes.default.string,searchThreshold:_propTypes.default.number,available:_propTypes.default.func});exports.FieldValueSelectionFilterConfigType=FieldValueSelectionFilterConfigType;var FieldValueSelectionFilterPropTypes={index:_propTypes.default.number.isRequired,config:FieldValueSelectionFilterConfigType.isRequired,query:_propTypes.default.any.isRequired,onChange:_propTypes.default.func.isRequired};var defaults={config:{multiSelect:true,filterWith:"prefix",loadingMessage:"Loading...",noOptionsMessage:"No options found",searchThreshold:10}};var FieldValueSelectionFilter=function(_Component){_inherits(FieldValueSelectionFilter,_Component);function FieldValueSelectionFilter(props){var _this;_classCallCheck(this,FieldValueSelectionFilter);_this=_possibleConstructorReturn(this,_getPrototypeOf(FieldValueSelectionFilter).call(this,props));_this.selectItems=[];_this.state={popoverOpen:false,options:null,error:null};return _this}_createClass(FieldValueSelectionFilter,[{key:"closePopover",value:function closePopover(){this.setState({popoverOpen:false,options:null})}},{key:"onButtonClick",value:function onButtonClick(){var _this2=this;this.setState(function(prevState){prevState.popoverOpen||window.requestAnimationFrame(function(){_this2.loadOptions()});return{options:null,error:void 0,popoverOpen:!prevState.popoverOpen}})}},{key:"loadOptions",value:function loadOptions(){var _this3=this;var loader=this.resolveOptionsLoader();this.setState({options:null,error:void 0});loader().then(function(options){_this3.setState({error:void 0,options:{all:options,shown:options}})}).catch(function(){_this3.setState({options:null,error:"Could not load options"})})}},{key:"filterOptions",value:function filterOptions(){var _this4=this;var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.setState(function(prevState){if((0,_predicate.isNil)(prevState.options))return{};var predicate=_this4.getOptionFilter();return{options:_objectSpread({},prevState.options,{shown:prevState.options.all.filter(function(option,i,options){var name=_this4.resolveOptionName(option).toLowerCase();var query=q.toLowerCase();return predicate(name,query,options)})})}})}},{key:"getOptionFilter",value:function getOptionFilter(){var filterWith=this.props.config.filterWith||defaults.config.filterWith;if("function"===typeof filterWith)return filterWith;if("includes"===filterWith)return function(name,query){return name.includes(query)};return function(name,query){return name.startsWith(query)}}},{key:"resolveOptionsLoader",value:function resolveOptionsLoader(){var _this5=this;var options=this.props.config.options;if((0,_predicate.isArray)(options))return function(){return Promise.resolve(options)};if((0,_predicate.isNil)(this.props.config.cache)||this.props.config.cache<=0)return options;return function(){var cachedOptions=_this5.state.cachedOptions;if(cachedOptions)return Promise.resolve(cachedOptions);if(_this5.props.config.cache>0)return new Promise(function(resolve,reject){return options().then(function(opts){_this5.setState({cachedOptions:opts});_this5.timeoutId=setTimeout(function(){_this5.setState({cachedOptions:null})},_this5.props.config.cache);resolve(opts)}).catch(function(error){reject(error)})})}}},{key:"resolveOptionName",value:function resolveOptionName(option){return option.name||option.value.toString()}},{key:"onOptionClick",value:function onOptionClick(field,value,checked){var multiSelect=this.resolveMultiSelect();var autoClose=this.props.autoClose;if(!multiSelect&&autoClose){this.closePopover();var query=checked?this.props.query.removeSimpleFieldClauses(field):this.props.query.removeSimpleFieldClauses(field).addSimpleFieldValue(field,value);this.props.onChange(query)}else if("or"===multiSelect){var _query=checked?this.props.query.removeOrFieldValue(field,value):this.props.query.addOrFieldValue(field,value);this.props.onChange(_query)}else{var _query2=checked?this.props.query.removeSimpleFieldValue(field,value):this.props.query.addSimpleFieldValue(field,value);this.props.onChange(_query2)}}},{key:"onKeyDown",value:function onKeyDown(index,event){switch(event.keyCode){case _services.keyCodes.DOWN:if(index<this.selectItems.length-1){event.preventDefault();this.selectItems[index+1].focus()}break;case _services.keyCodes.UP:if(index<0)return;if(0===index&&this.searchInput){event.preventDefault();this.searchInput.focus()}else if(index>0){event.preventDefault();this.selectItems[index-1].focus()}}}},{key:"resolveMultiSelect",value:function resolveMultiSelect(){var config=this.props.config;return(0,_predicate.isNil)(config.multiSelect)?defaults.config.multiSelect:config.multiSelect}},{key:"render",value:function render(){var _this6=this;var _this$props=this.props,index=_this$props.index,query=_this$props.query,config=_this$props.config;var multiSelect=this.resolveMultiSelect();var activeTop=this.isActiveField(config.field);var activeItem=!!this.state.options&&this.state.options.all.some(function(item){return _this6.isActiveField(item.field)});var active=activeTop||activeItem;var button=_react.default.createElement(_filter_group.EuiFilterButton,{iconType:"arrowDown",iconSide:"right",onClick:this.onButtonClick.bind(this),hasActiveFilters:active,grow:true},config.name);var searchBox=this.renderSearchBox();var content=this.renderContent(config.field,query,config,multiSelect);var threshold=this.props.config.searchThreshold||defaults.config.searchThreshold;var withTitle=this.state.options&&this.state.options.all.length>=threshold;return _react.default.createElement(_popover.EuiPopover,{id:"".concat(config.type,"_").concat(index),ownFocus:true,button:button,isOpen:this.state.popoverOpen,closePopover:this.closePopover.bind(this),panelPaddingSize:"none",withTitle:withTitle,anchorPosition:"downCenter",panelClassName:"euiFilterGroup__popoverPanel"},searchBox,content)}},{key:"renderSearchBox",value:function renderSearchBox(){var _this7=this;var threshold=this.props.config.searchThreshold||defaults.config.searchThreshold;if(this.state.options&&this.state.options.all.length>=threshold){var disabled=this.state.error;return _react.default.createElement(_popover_title.EuiPopoverTitle,null,_react.default.createElement(_field_search.EuiFieldSearch,{inputRef:function inputRef(ref){return _this7.searchInput=ref},disabled:disabled,incremental:true,onSearch:function onSearch(query){return _this7.filterOptions(query)},onKeyDown:this.onKeyDown.bind(this,-1)}))}}},{key:"renderContent",value:function renderContent(field,query,config,multiSelect){var _this8=this;if(this.state.error)return this.renderError(this.state.error);if((0,_predicate.isNil)(this.state.options))return this.renderLoader();if(0===this.state.options.shown.length)return this.renderNoOptions();var items=this.state.options.shown.reduce(function(items,option,index){var optionField=option.field||field;var clause="or"===multiSelect?query.getOrFieldClause(optionField,option.value):query.getSimpleFieldClause(optionField,option.value);var checked=_this8.resolveChecked(clause);var onClick=function onClick(){_this8.onOptionClick(optionField,option.value,checked)};var item=_react.default.createElement(_filter_group.EuiFilterSelectItem,{key:index,checked:checked,onClick:onClick,ref:function ref(_ref){return _this8.selectItems[index]=_ref},onKeyDown:_this8.onKeyDown.bind(_this8,index)},option.view?option.view:_this8.resolveOptionName(option));checked?"on"===checked?items.on.push(item):items.off.push(item):items.rest.push(item);return items},{on:[],off:[],rest:[]});return _react.default.createElement("div",{className:"euiFilterSelect__items"},_toConsumableArray(items.on).concat(_toConsumableArray(items.off),_toConsumableArray(items.rest)))}},{key:"resolveChecked",value:function resolveChecked(clause){if(clause)return _query3.Query.isMust(clause)?"on":"off"}},{key:"renderLoader",value:function renderLoader(){var message=this.props.config.loadingMessage||defaults.config.loadingMessage;return _react.default.createElement("div",{className:"euiFilterSelect__note"},_react.default.createElement("div",{className:"euiFilterSelect__noteContent"},_react.default.createElement(_loading_chart.EuiLoadingChart,{size:"m"}),_react.default.createElement(_spacer.EuiSpacer,{size:"xs"}),_react.default.createElement("p",null,message)))}},{key:"renderError",value:function renderError(message){return _react.default.createElement("div",{className:"euiFilterSelect__note"},_react.default.createElement("div",{className:"euiFilterSelect__noteContent"},_react.default.createElement(_icon.EuiIcon,{size:"m",type:"faceSad",color:"danger"}),_react.default.createElement(_spacer.EuiSpacer,{size:"xs"}),_react.default.createElement("p",null,message)))}},{key:"renderNoOptions",value:function renderNoOptions(){var message=this.props.config.noOptionsMessage||defaults.config.noOptionsMessage;return _react.default.createElement("div",{className:"euiFilterSelect__note"},_react.default.createElement("div",{className:"euiFilterSelect__noteContent"},_react.default.createElement(_icon.EuiIcon,{type:"minusInCircle"}),_react.default.createElement(_spacer.EuiSpacer,{size:"xs"}),_react.default.createElement("p",null,message)))}},{key:"isActiveField",value:function isActiveField(field){var query=this.props.query;var multiSelect=this.resolveMultiSelect();if("or"===multiSelect)return query.hasOrFieldClause(field);return query.hasSimpleFieldClause(field)}}]);return FieldValueSelectionFilter}(_react.Component);exports.FieldValueSelectionFilter=FieldValueSelectionFilter;_defineProperty(FieldValueSelectionFilter,"propTypes",FieldValueSelectionFilterPropTypes);_defineProperty(FieldValueSelectionFilter,"defaultProps",{autoClose:true});FieldValueSelectionFilter.__docgenInfo={description:"",methods:[{name:"closePopover",docblock:null,modifiers:[],params:[],returns:null},{name:"onButtonClick",docblock:null,modifiers:[],params:[],returns:null},{name:"loadOptions",docblock:null,modifiers:[],params:[],returns:null},{name:"filterOptions",docblock:null,modifiers:[],params:[{name:"q",type:null}],returns:null},{name:"getOptionFilter",docblock:null,modifiers:[],params:[],returns:null},{name:"resolveOptionsLoader",docblock:null,modifiers:[],params:[],returns:null},{name:"resolveOptionName",docblock:null,modifiers:[],params:[{name:"option",type:null}],returns:null},{name:"onOptionClick",docblock:null,modifiers:[],params:[{name:"field",type:null},{name:"value",type:null},{name:"checked",type:null}],returns:null},{name:"onKeyDown",docblock:null,modifiers:[],params:[{name:"index",type:null},{name:"event",type:null}],returns:null},{name:"resolveMultiSelect",docblock:null,modifiers:[],params:[],returns:null},{name:"renderSearchBox",docblock:null,modifiers:[],params:[],returns:null},{name:"renderContent",docblock:null,modifiers:[],params:[{name:"field",type:null},{name:"query",type:null},{name:"config",type:null},{name:"multiSelect",type:null}],returns:null},{name:"resolveChecked",docblock:null,modifiers:[],params:[{name:"clause",type:null}],returns:null},{name:"renderLoader",docblock:null,modifiers:[],params:[],returns:null},{name:"renderError",docblock:null,modifiers:[],params:[{name:"message",type:null}],returns:null},{name:"renderNoOptions",docblock:null,modifiers:[],params:[],returns:null},{name:"isActiveField",docblock:null,modifiers:[],params:[{name:"field",type:null}],returns:null}],displayName:"FieldValueSelectionFilter",props:{autoClose:{defaultValue:{value:"true",computed:false},required:false},index:{type:{name:"number"},required:true,description:""},config:{type:{name:"custom",raw:"FieldValueSelectionFilterConfigType.isRequired"},required:false,description:""},query:{type:{name:"any"},required:true,description:""},onChange:{type:{name:"func"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";var LIBRARY=__webpack_require__(222);var global=__webpack_require__(55);var ctx=__webpack_require__(149);var classof=__webpack_require__(561);var $export=__webpack_require__(41);var isObject=__webpack_require__(71);var aFunction=__webpack_require__(226);var anInstance=__webpack_require__(1800);var forOf=__webpack_require__(1801);var speciesConstructor=__webpack_require__(1802);var task=__webpack_require__(731).set;var microtask=__webpack_require__(1804)();var newPromiseCapabilityModule=__webpack_require__(732);var perform=__webpack_require__(1805);var userAgent=__webpack_require__(1806);var promiseResolve=__webpack_require__(1807);var PROMISE="Promise";var TypeError=global.TypeError;var process=global.process;var versions=process&&process.versions;var v8=versions&&versions.v8||"";var $Promise=global[PROMISE];var isNode="process"==classof(process);var empty=function(){};var Internal,newGenericPromiseCapability,OwnPromiseCapability,Wrapper;var newPromiseCapability=newGenericPromiseCapability=newPromiseCapabilityModule.f;var USE_NATIVE=!!function(){try{var promise=$Promise.resolve(1);var FakePromise=(promise.constructor={})[__webpack_require__(40)("species")]=function(exec){exec(empty,empty)};return(isNode||"function"==typeof PromiseRejectionEvent)&&promise.then(empty)instanceof FakePromise&&0!==v8.indexOf("6.6")&&-1===userAgent.indexOf("Chrome/66")}catch(e){}}();var isThenable=function(it){var then;return!(!isObject(it)||"function"!=typeof(then=it.then))&&then};var notify=function(promise,isReject){if(promise._n)return;promise._n=true;var chain=promise._c;microtask(function(){var value=promise._v;var ok=1==promise._s;var i=0;var run=function(reaction){var handler=ok?reaction.ok:reaction.fail;var resolve=reaction.resolve;var reject=reaction.reject;var domain=reaction.domain;var result,then,exited;try{if(handler){if(!ok){2==promise._h&&onHandleUnhandled(promise);promise._h=1}if(true===handler)result=value;else{domain&&domain.enter();result=handler(value);if(domain){domain.exit();exited=true}}result===reaction.promise?reject(TypeError("Promise-chain cycle")):(then=isThenable(result))?then.call(result,resolve,reject):resolve(result)}else reject(value)}catch(e){domain&&!exited&&domain.exit();reject(e)}};while(chain.length>i)run(chain[i++]);promise._c=[];promise._n=false;isReject&&!promise._h&&onUnhandled(promise)})};var onUnhandled=function(promise){task.call(global,function(){var value=promise._v;var unhandled=isUnhandled(promise);var result,handler,console;if(unhandled){result=perform(function(){isNode?process.emit("unhandledRejection",value,promise):(handler=global.onunhandledrejection)?handler({promise:promise,reason:value}):(console=global.console)&&console.error&&console.error("Unhandled promise rejection",value)});promise._h=isNode||isUnhandled(promise)?2:1}promise._a=void 0;if(unhandled&&result.e)throw result.v})};var isUnhandled=function(promise){return 1!==promise._h&&0===(promise._a||promise._c).length};var onHandleUnhandled=function(promise){task.call(global,function(){var handler;isNode?process.emit("rejectionHandled",promise):(handler=global.onrejectionhandled)&&handler({promise:promise,reason:promise._v})})};var $reject=function(value){var promise=this;if(promise._d)return;promise._d=true;promise=promise._w||promise;promise._v=value;promise._s=2;promise._a||(promise._a=promise._c.slice());notify(promise,true)};var $resolve=function(value){var promise=this;var then;if(promise._d)return;promise._d=true;promise=promise._w||promise;try{if(promise===value)throw TypeError("Promise can't be resolved itself");if(then=isThenable(value))microtask(function(){var wrapper={_w:promise,_d:false};try{then.call(value,ctx($resolve,wrapper,1),ctx($reject,wrapper,1))}catch(e){$reject.call(wrapper,e)}});else{promise._v=value;promise._s=1;notify(promise,false)}}catch(e){$reject.call({_w:promise,_d:false},e)}};if(!USE_NATIVE){$Promise=function Promise(executor){anInstance(this,$Promise,PROMISE,"_h");aFunction(executor);Internal.call(this);try{executor(ctx($resolve,this,1),ctx($reject,this,1))}catch(err){$reject.call(this,err)}};Internal=function Promise(executor){this._c=[];this._a=void 0;this._s=0;this._d=false;this._v=void 0;this._h=0;this._n=false};Internal.prototype=__webpack_require__(1808)($Promise.prototype,{then:function then(onFulfilled,onRejected){var reaction=newPromiseCapability(speciesConstructor(this,$Promise));reaction.ok="function"!=typeof onFulfilled||onFulfilled;reaction.fail="function"==typeof onRejected&&onRejected;reaction.domain=isNode?process.domain:void 0;this._c.push(reaction);this._a&&this._a.push(reaction);this._s&&notify(this,false);return reaction.promise},catch:function(onRejected){return this.then(void 0,onRejected)}});OwnPromiseCapability=function(){var promise=new Internal;this.promise=promise;this.resolve=ctx($resolve,promise,1);this.reject=ctx($reject,promise,1)};newPromiseCapabilityModule.f=newPromiseCapability=function(C){return C===$Promise||C===Wrapper?new OwnPromiseCapability(C):newGenericPromiseCapability(C)}}$export($export.G+$export.W+$export.F*!USE_NATIVE,{Promise:$Promise});__webpack_require__(277)($Promise,PROMISE);__webpack_require__(733)(PROMISE);Wrapper=__webpack_require__(145)[PROMISE];$export($export.S+$export.F*!USE_NATIVE,PROMISE,{reject:function reject(r){var capability=newPromiseCapability(this);var $$reject=capability.reject;$$reject(r);return capability.promise}});$export($export.S+$export.F*(LIBRARY||!USE_NATIVE),PROMISE,{resolve:function resolve(x){return promiseResolve(LIBRARY&&this===Wrapper?$Promise:this,x)}});$export($export.S+$export.F*!(USE_NATIVE&&__webpack_require__(562)(function(iter){$Promise.all(iter)["catch"](empty)})),PROMISE,{all:function all(iterable){var C=this;var capability=newPromiseCapability(C);var resolve=capability.resolve;var reject=capability.reject;var result=perform(function(){var values=[];var index=0;var remaining=1;forOf(iterable,false,function(promise){var $index=index++;var alreadyCalled=false;values.push(void 0);remaining++;C.resolve(promise).then(function(value){if(alreadyCalled)return;alreadyCalled=true;values[$index]=value;--remaining||resolve(values)},reject)});--remaining||resolve(values)});result.e&&reject(result.v);return capability.promise},race:function race(iterable){var C=this;var capability=newPromiseCapability(C);var reject=capability.reject;var result=perform(function(){forOf(iterable,false,function(promise){C.resolve(promise).then(capability.resolve,reject)})});result.e&&reject(result.v);return capability.promise}})},function(module,exports){module.exports=function(it,Constructor,name,forbiddenField){if(!(it instanceof Constructor)||void 0!==forbiddenField&&forbiddenField in it)throw TypeError(name+": incorrect invocation!");return it}},function(module,exports,__webpack_require__){var ctx=__webpack_require__(149);var call=__webpack_require__(558);var isArrayIter=__webpack_require__(559);var anObject=__webpack_require__(77);var toLength=__webpack_require__(180);var getIterFn=__webpack_require__(560);var BREAK={};var RETURN={};exports=module.exports=function(iterable,entries,fn,that,ITERATOR){var iterFn=ITERATOR?function(){return iterable}:getIterFn(iterable);var f=ctx(fn,that,entries?2:1);var index=0;var length,step,iterator,result;if("function"!=typeof iterFn)throw TypeError(iterable+" is not iterable!");if(isArrayIter(iterFn))for(length=toLength(iterable.length);length>index;index++){result=entries?f(anObject(step=iterable[index])[0],step[1]):f(iterable[index]);if(result===BREAK||result===RETURN)return result}else for(iterator=iterFn.call(iterable);!(step=iterator.next()).done;){result=call(iterator,f,step.value,entries);if(result===BREAK||result===RETURN)return result}};exports.BREAK=BREAK;exports.RETURN=RETURN},function(module,exports,__webpack_require__){var anObject=__webpack_require__(77);var aFunction=__webpack_require__(226);var SPECIES=__webpack_require__(40)("species");module.exports=function(O,D){var C=anObject(O).constructor;var S;return void 0===C||void 0==(S=anObject(C)[SPECIES])?D:aFunction(S)}},function(module,exports){module.exports=function(fn,args,that){var un=void 0===that;switch(args.length){case 0:return un?fn():fn.call(that);case 1:return un?fn(args[0]):fn.call(that,args[0]);case 2:return un?fn(args[0],args[1]):fn.call(that,args[0],args[1]);case 3:return un?fn(args[0],args[1],args[2]):fn.call(that,args[0],args[1],args[2]);case 4:return un?fn(args[0],args[1],args[2],args[3]):fn.call(that,args[0],args[1],args[2],args[3])}return fn.apply(that,args)}},function(module,exports,__webpack_require__){var global=__webpack_require__(55);var macrotask=__webpack_require__(731).set;var Observer=global.MutationObserver||global.WebKitMutationObserver;var process=global.process;var Promise=global.Promise;var isNode="process"==__webpack_require__(147)(process);module.exports=function(){var head,last,notify;var flush=function(){var parent,fn;isNode&&(parent=process.domain)&&parent.exit();while(head){fn=head.fn;head=head.next;try{fn()}catch(e){head?notify():last=void 0;throw e}}last=void 0;parent&&parent.enter()};if(isNode)notify=function(){process.nextTick(flush)};else if(!Observer||global.navigator&&global.navigator.standalone)if(Promise&&Promise.resolve){var promise=Promise.resolve(void 0);notify=function(){promise.then(flush)}}else notify=function(){macrotask.call(global,flush)};else{var toggle=true;var node=document.createTextNode("");new Observer(flush).observe(node,{characterData:true});notify=function(){node.data=toggle=!toggle}}return function(fn){var task={fn:fn,next:void 0};last&&(last.next=task);if(!head){head=task;notify()}last=task}}},function(module,exports){module.exports=function(exec){try{return{e:false,v:exec()}}catch(e){return{e:true,v:e}}}},function(module,exports,__webpack_require__){var global=__webpack_require__(55);var navigator=global.navigator;module.exports=navigator&&navigator.userAgent||""},function(module,exports,__webpack_require__){var anObject=__webpack_require__(77);var isObject=__webpack_require__(71);var newPromiseCapability=__webpack_require__(732);module.exports=function(C,x){anObject(C);if(isObject(x)&&x.constructor===C)return x;var promiseCapability=newPromiseCapability.f(C);var resolve=promiseCapability.resolve;resolve(x);return promiseCapability.promise}},function(module,exports,__webpack_require__){var redefine=__webpack_require__(110);module.exports=function(target,src,safe){for(var key in src)redefine(target,key,src[key],safe);return target}},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(41);var toLength=__webpack_require__(180);var context=__webpack_require__(577);var STARTS_WITH="startsWith";var $startsWith=""[STARTS_WITH];$export($export.P+$export.F*__webpack_require__(578)(STARTS_WITH),"String",{startsWith:function startsWith(searchString){var that=context(this,searchString,STARTS_WITH);var index=toLength(Math.min(arguments.length>1?arguments[1]:void 0,that.length));var search=String(searchString);return $startsWith?$startsWith.call(that,search,index):that.slice(index,index+search.length)===search}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.FieldValueToggleFilter=exports.FieldValueToggleFilterConfigType=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _filter_group=__webpack_require__(190);var _predicate=__webpack_require__(38);var _prop_types=__webpack_require__(230);var _query=__webpack_require__(191);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var FieldValueToggleFilterConfigType=_propTypes.default.shape({type:_prop_types.EuiPropTypes.is("field_value_toggle").isRequired,field:_propTypes.default.string.isRequired,value:_propTypes.default.string.isRequired,name:_propTypes.default.string.isRequired,negatedName:_propTypes.default.string,available:_propTypes.default.func});exports.FieldValueToggleFilterConfigType=FieldValueToggleFilterConfigType;var FieldValueToggleFilterPropTypes={index:_propTypes.default.number.isRequired,config:FieldValueToggleFilterConfigType.isRequired,query:_propTypes.default.any.isRequired,onChange:_propTypes.default.func.isRequired};var FieldValueToggleFilter=function(_Component){_inherits(FieldValueToggleFilter,_Component);function FieldValueToggleFilter(props){_classCallCheck(this,FieldValueToggleFilter);return _possibleConstructorReturn(this,_getPrototypeOf(FieldValueToggleFilter).call(this,props))}_createClass(FieldValueToggleFilter,[{key:"resolveDisplay",value:function resolveDisplay(clause){var _this$props$config=this.props.config,name=_this$props$config.name,negatedName=_this$props$config.negatedName;if((0,_predicate.isNil)(clause))return{hasActiveFilters:false,name:name};return _query.Query.isMust(clause)?{hasActiveFilters:true,name:name}:{hasActiveFilters:true,name:negatedName||"Not ".concat(name)}}},{key:"valueChanged",value:function valueChanged(checked){var _this$props$config2=this.props.config,field=_this$props$config2.field,value=_this$props$config2.value;var query=checked?this.props.query.removeSimpleFieldValue(field,value):this.props.query.addSimpleFieldValue(field,value);this.props.onChange(query)}},{key:"render",value:function render(){var _this=this;var _this$props=this.props,query=_this$props.query,config=_this$props.config;var clause=query.getSimpleFieldClause(config.field,config.value);var checked=!(0,_predicate.isNil)(clause);var _this$resolveDisplay=this.resolveDisplay(clause),hasActiveFilters=_this$resolveDisplay.hasActiveFilters,name=_this$resolveDisplay.name;var onClick=function onClick(){_this.valueChanged(checked)};return _react.default.createElement(_filter_group.EuiFilterButton,{onClick:onClick,hasActiveFilters:hasActiveFilters},name)}}]);return FieldValueToggleFilter}(_react.Component);exports.FieldValueToggleFilter=FieldValueToggleFilter;_defineProperty(FieldValueToggleFilter,"propTypes",FieldValueToggleFilterPropTypes);FieldValueToggleFilter.__docgenInfo={description:"",methods:[{name:"resolveDisplay",docblock:null,modifiers:[],params:[{name:"clause",type:null}],returns:null},{name:"valueChanged",docblock:null,modifiers:[],params:[{name:"checked",type:null}],returns:null}],displayName:"FieldValueToggleFilter",props:{index:{type:{name:"number"},required:true,description:""},config:{type:{name:"custom",raw:"FieldValueToggleFilterConfigType.isRequired"},required:false,description:""},query:{type:{name:"any"},required:true,description:""},onChange:{type:{name:"func"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.FieldValueToggleGroupFilter=exports.FieldValueToggleGroupFilterConfigType=exports.FieldValueToggleGroupFilterItemType=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _filter_group=__webpack_require__(190);var _prop_types=__webpack_require__(230);var _query=__webpack_require__(191);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var FieldValueToggleGroupFilterItemType=_propTypes.default.shape({value:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number,_propTypes.default.bool]).isRequired,name:_propTypes.default.string.isRequired,negatedName:_propTypes.default.string});exports.FieldValueToggleGroupFilterItemType=FieldValueToggleGroupFilterItemType;var FieldValueToggleGroupFilterConfigType=_propTypes.default.shape({type:_prop_types.EuiPropTypes.is("field_value_toggle_group").isRequired,field:_propTypes.default.string.isRequired,items:_propTypes.default.arrayOf(FieldValueToggleGroupFilterItemType).isRequired,available:_propTypes.default.func});exports.FieldValueToggleGroupFilterConfigType=FieldValueToggleGroupFilterConfigType;var FieldValueToggleGroupFilterPropTypes={index:_propTypes.default.number.isRequired,config:FieldValueToggleGroupFilterConfigType.isRequired,query:_propTypes.default.any.isRequired,onChange:_propTypes.default.func.isRequired};var FieldValueToggleGroupFilter=function(_Component){_inherits(FieldValueToggleGroupFilter,_Component);function FieldValueToggleGroupFilter(props){_classCallCheck(this,FieldValueToggleGroupFilter);return _possibleConstructorReturn(this,_getPrototypeOf(FieldValueToggleGroupFilter).call(this,props))}_createClass(FieldValueToggleGroupFilter,[{key:"resolveDisplay",value:function resolveDisplay(config,query,item){var clause=query.getSimpleFieldClause(config.field,item.value);if(clause){if(_query.Query.isMust(clause))return{active:true,name:item.name};return{active:true,name:item.negatedName?item.negatedName:"Not ".concat(item.name)}}return{active:false,name:item.name}}},{key:"valueChanged",value:function valueChanged(item,active){var field=this.props.config.field;var value=item.value;var query=active?this.props.query.removeSimpleFieldClauses(field):this.props.query.removeSimpleFieldClauses(field).addSimpleFieldValue(field,value);this.props.onChange(query)}},{key:"render",value:function render(){var _this=this;var _this$props=this.props,config=_this$props.config,query=_this$props.query;return config.items.map(function(item,index){var _this$resolveDisplay=_this.resolveDisplay(config,query,item),active=_this$resolveDisplay.active,name=_this$resolveDisplay.name;var onClick=function onClick(){_this.valueChanged(item,active)};var key="field_value_toggle_filter_item_".concat(index);var isLastItem=index===config.items.length-1;return _react.default.createElement(_filter_group.EuiFilterButton,{key:key,onClick:onClick,hasActiveFilters:active,noDivider:!isLastItem},name)})}}]);return FieldValueToggleGroupFilter}(_react.Component);exports.FieldValueToggleGroupFilter=FieldValueToggleGroupFilter;_defineProperty(FieldValueToggleGroupFilter,"propTypes",FieldValueToggleGroupFilterPropTypes);FieldValueToggleGroupFilter.__docgenInfo={description:"",methods:[{name:"resolveDisplay",docblock:null,modifiers:[],params:[{name:"config",type:null},{name:"query",type:null},{name:"item",type:null}],returns:null},{name:"valueChanged",docblock:null,modifiers:[],params:[{name:"item",type:null},{name:"active",type:null}],returns:null}],displayName:"FieldValueToggleGroupFilter",props:{index:{type:{name:"number"},required:true,description:""},config:{type:{name:"custom",raw:"FieldValueToggleGroupFilterConfigType.isRequired"},required:false,description:""},query:{type:{name:"any"},required:true,description:""},onChange:{type:{name:"func"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiSideNav",{enumerable:true,get:function get(){return _side_nav.EuiSideNav}});var _side_nav=__webpack_require__(1813)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSideNav=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _icon=__webpack_require__(20);var _side_nav_item=__webpack_require__(1814);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiSideNav=function(_Component){_inherits(EuiSideNav,_Component);function EuiSideNav(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiSideNav);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiSideNav)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"isItemOpen",function(item){if(item.forceOpen)return true;if(item.isSelected)return true;if(item.items)return item.items.some(_this.isItemOpen)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"renderTree",function(items){var depth=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;var renderItem=_this.props.renderItem;return items.map(function(item){var id=item.id,name=item.name,isSelected=item.isSelected,childItems=item.items,icon=item.icon,onClick=item.onClick,href=item.href,rest=(item.forceOpen,_objectWithoutProperties(item,["id","name","isSelected","items","icon","onClick","href","forceOpen"]));var isOpen=0===depth||_this.isItemOpen(item);var renderedItems;childItems&&(renderedItems=_this.renderTree(childItems,depth+1));return _react.default.createElement(_side_nav_item.EuiSideNavItem,_extends({isOpen:isOpen,isSelected:isSelected,isParent:!!childItems,icon:icon,onClick:onClick,href:href,items:renderedItems,key:id,depth:depth,renderItem:renderItem},rest),name)})});return _this}_createClass(EuiSideNav,[{key:"render",value:function render(){var _this$props=this.props,className=_this$props.className,items=_this$props.items,toggleOpenOnMobile=_this$props.toggleOpenOnMobile,isOpenOnMobile=_this$props.isOpenOnMobile,mobileTitle=_this$props.mobileTitle,rest=(_this$props.renderItem,_objectWithoutProperties(_this$props,["className","items","toggleOpenOnMobile","isOpenOnMobile","mobileTitle","renderItem"]));var classes=(0,_classnames.default)("euiSideNav",className,{"euiSideNav-isOpenMobile":isOpenOnMobile});var nav=this.renderTree(items);return _react.default.createElement("nav",_extends({className:classes},rest),_react.default.createElement("button",{type:"button",className:"euiSideNav__mobileToggle euiLink",onClick:toggleOpenOnMobile},_react.default.createElement("span",{className:"euiSideNav__mobileWrap"},_react.default.createElement("span",{className:"euiSideNav__mobileTitle"},mobileTitle),_react.default.createElement(_icon.EuiIcon,{className:"euiSideNav__mobileIcon",type:"apps",size:"m","aria-hidden":"true"}))),_react.default.createElement("div",{className:"euiSideNav__content",role:"menubar"},nav))}}]);return EuiSideNav}(_react.Component);exports.EuiSideNav=EuiSideNav;EuiSideNav.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,toggleOpenOnMobile:_propTypes.default.func,isOpenOnMobile:_propTypes.default.bool,mobileTitle:_propTypes.default.node,items:_propTypes.default.array,renderItem:_propTypes.default.func};EuiSideNav.defaultProps={items:[]};EuiSideNav.__docgenInfo={description:"",methods:[{name:"isItemOpen",docblock:null,modifiers:[],params:[{name:"item",type:null}],returns:null},{name:"renderTree",docblock:null,modifiers:[],params:[{name:"items",type:null},{name:"depth",type:null}],returns:null}],displayName:"EuiSideNav",props:{items:{defaultValue:{value:"[]",computed:false},type:{name:"array"},required:false,description:'`items` is an array of objects (navigation menu `item`s).\nEach `item` may contain the following properties (this is an incomplete list):\n`item.forceOpen` is an optional boolean; if set to true it will force the item to display in an "open" state at all times.\n`item.href` is an optional string to be passed as the navigaiton item\'s `href` prop, and by default it will force rendering of the item as an `<a>`.\n`item.icon` is an optional React node which will be rendered as a small icon to the left of the navigation item text.\n`item.isSelected` is an optional boolean; if set to true it will render the item in a visible "selected" state, and will force all ancestor navigation items to render in an "open" state.\n`item.items` is an optional array containing additional item objects, representing nested children of this navigation item.\n`item.name` is a required React node representing the text to render for this item (usually a string will suffice).\n`item.onClick` is an optional callback function to be passed as the navigaiton item\'s `onClick` prop, and by default it will force rendering of the item as a `<button>` instead of a link.\n`item.renderItem` is an optional function overriding default rendering for this navigation item — when called, it should return a React node representing a replacement navigation item.'},children:{type:{name:"node"},required:false,description:"`children` are not rendered. Use `items` to specify navigation items instead."},className:{type:{name:"string"},required:false,description:"Class names to be merged into the final `className` property."},toggleOpenOnMobile:{type:{name:"func"},required:false,description:"When called, toggles visibility of the navigation menu at mobile responsive widths. The callback should set the `isOpenOnMobile` prop to actually toggle navigation visibility."},isOpenOnMobile:{type:{name:"bool"},required:false,description:"If `true`, the navigation menu will be open at mobile device widths. Use in conjunction with the `toggleOpenOnMobile` prop."},mobileTitle:{type:{name:"node"},required:false,description:"A React node to render at mobile responsive widths, representing the title of this navigation menu."},renderItem:{type:{name:"func"},required:false,description:"Overrides default navigation menu item rendering. When called, it should return a React node representing a replacement navigation item."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSideNavItem=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var defaultRenderItem=function defaultRenderItem(_ref){var href=_ref.href,onClick=_ref.onClick,className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["href","onClick","className","children"]);if(href)return _react.default.createElement("a",_extends({className:className,href:href,onClick:onClick,role:"menuitem"},rest),children);if(onClick)return _react.default.createElement("button",_extends({className:className,onClick:onClick,role:"menuitem"},rest),children);return _react.default.createElement("div",_extends({className:className,"aria-label":children},rest),children)};var EuiSideNavItem=function EuiSideNavItem(_ref2){var isOpen=_ref2.isOpen,isSelected=_ref2.isSelected,isParent=_ref2.isParent,icon=_ref2.icon,onClick=_ref2.onClick,href=_ref2.href,items=_ref2.items,children=_ref2.children,depth=_ref2.depth,_ref2$renderItem=_ref2.renderItem,renderItem=void 0===_ref2$renderItem?defaultRenderItem:_ref2$renderItem,rest=_objectWithoutProperties(_ref2,["isOpen","isSelected","isParent","icon","onClick","href","items","children","depth","renderItem"]);var childItems;items&&isOpen&&(childItems=_react.default.createElement("div",{className:"euiSideNavItem__items"},items));var buttonIcon;icon&&(buttonIcon=(0,_react.cloneElement)(icon,{className:"euiSideNavItemButton__icon"}));var classes=(0,_classnames.default)("euiSideNavItem",{"euiSideNavItem--root":0===depth,"euiSideNavItem--rootIcon":0===depth&&icon,"euiSideNavItem--trunk":1===depth,"euiSideNavItem--branch":depth>1,"euiSideNavItem--hasChildItems":!!childItems});var buttonClasses=(0,_classnames.default)("euiSideNavItemButton",{"euiSideNavItemButton--isClickable":onClick||href,"euiSideNavItemButton-isOpen":depth>0&&isOpen&&!isSelected,"euiSideNavItemButton-isSelected":isSelected});var caret;depth>0&&isParent&&!isOpen&&!isSelected&&(caret=_react.default.createElement(_icon.EuiIcon,{type:"arrowDown",color:"subdued",size:"s"}));var buttonContent=_react.default.createElement("span",{className:"euiSideNavItemButton__content"},buttonIcon,_react.default.createElement("span",{className:"euiSideNavItemButton__label"},children),caret);return _react.default.createElement("div",{className:classes},renderItem(_objectSpread({href:href,onClick:onClick,className:buttonClasses,children:buttonContent},rest)),childItems)};exports.EuiSideNavItem=EuiSideNavItem;EuiSideNavItem.propTypes={isOpen:_propTypes.default.bool,isSelected:_propTypes.default.bool,isParent:_propTypes.default.bool,icon:_propTypes.default.node,onClick:_propTypes.default.func,href:_propTypes.default.string,items:_propTypes.default.node,children:_propTypes.default.node,depth:_propTypes.default.number,renderItem:_propTypes.default.func};EuiSideNavItem.__docgenInfo={description:"",methods:[],displayName:"EuiSideNavItem",props:{renderItem:{defaultValue:{value:'({ href, onClick, className, children, ...rest }) => {\n  if (href) {\n    return (\n      <a\n        className={className}\n        href={href}\n        onClick={onClick}\n        role="menuitem"\n        {...rest}\n      >\n        {children}\n      </a>\n    );\n  }\n\n  if (onClick) {\n    return (\n      <button\n        className={className}\n        onClick={onClick}\n        role="menuitem"\n        {...rest}\n      >\n        {children}\n      </button>\n    );\n  }\n\n  return (\n    <div\n      className={className}\n      aria-label={children}\n      {...rest}\n    >\n      {children}\n    </div>\n  );\n}',computed:false},type:{name:"func"},required:false,description:""},isOpen:{type:{name:"bool"},required:false,description:""},isSelected:{type:{name:"bool"},required:false,description:""},isParent:{type:{name:"bool"},required:false,description:""},icon:{type:{name:"node"},required:false,description:""},onClick:{type:{name:"func"},required:false,description:""},href:{type:{name:"string"},required:false,description:""},items:{type:{name:"node"},required:false,description:""},children:{type:{name:"node"},required:false,description:""},depth:{type:{name:"number"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiStat",{enumerable:true,get:function get(){return _stat.EuiStat}});var _stat=__webpack_require__(1816)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiStat=exports.ALIGNMENTS=exports.COLORS=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _text=__webpack_require__(74);var _title=__webpack_require__(285);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var colorToClassNameMap={default:null,subdued:"euiStat__title--dark",primary:"euiStat__title--primary",secondary:"euiStat__title--secondary",danger:"euiStat__title--danger",accent:"euiStat__title--accent"};var COLORS=Object.keys(colorToClassNameMap);exports.COLORS=COLORS;var textAlignToClassNameMap={left:"euiStat--leftAligned",center:"euiStat--centerAligned",right:"euiStat--rightAligned"};var ALIGNMENTS=Object.keys(textAlignToClassNameMap);exports.ALIGNMENTS=ALIGNMENTS;var EuiStat=function EuiStat(_ref){var children=_ref.children,className=_ref.className,description=_ref.description,title=_ref.title,titleSize=_ref.titleSize,titleColor=_ref.titleColor,textAlign=_ref.textAlign,reverse=_ref.reverse,rest=_objectWithoutProperties(_ref,["children","className","description","title","titleSize","titleColor","textAlign","reverse"]);var classes=(0,_classnames.default)("euiStat",textAlignToClassNameMap[textAlign],className);var titleClasses=(0,_classnames.default)("euiStat__title",colorToClassNameMap[titleColor]);var descriptionDisplay=_react.default.createElement(_text.EuiText,{size:"s",className:"euiStat__description"},_react.default.createElement("p",null,description));var titleDisplay=_react.default.createElement(_title.EuiTitle,{size:titleSize,className:titleClasses},_react.default.createElement("p",null,title));var statDisplay;statDisplay=reverse?_react.default.createElement(_react.Fragment,null,titleDisplay,descriptionDisplay):_react.default.createElement(_react.Fragment,null,descriptionDisplay,titleDisplay);return _react.default.createElement("div",_extends({className:classes},rest),statDisplay,children)};exports.EuiStat=EuiStat;EuiStat.propTypes={title:_propTypes.default.node.isRequired,description:_propTypes.default.node.isRequired,reverse:_propTypes.default.bool.isRequired,titleSize:_propTypes.default.oneOf(_title.TITLE_SIZES),titleColor:_propTypes.default.oneOf(COLORS),textAlign:_propTypes.default.oneOf(ALIGNMENTS),className:_propTypes.default.string,children:_propTypes.default.node};EuiStat.defaultProps={titleColor:"default",textAlign:"left",titleSize:"l",reverse:false};EuiStat.__docgenInfo={description:"",methods:[],displayName:"EuiStat",props:{titleColor:{defaultValue:{value:"'default'",computed:false},type:{name:"enum",value:[{value:'"default"',computed:false},{value:'"subdued"',computed:false},{value:'"primary"',computed:false},{value:'"secondary"',computed:false},{value:'"danger"',computed:false},{value:'"accent"',computed:false}]},required:false,description:"Define the color of the title text"},textAlign:{defaultValue:{value:"'left'",computed:false},type:{name:"enum",value:[{value:'"left"',computed:false},{value:'"center"',computed:false},{value:'"right"',computed:false}]},required:false,description:"Define how you want the content aligned"},titleSize:{defaultValue:{value:"'l'",computed:false},type:{name:"enum",computed:true,value:"TITLE_SIZES"},required:false,description:"Define the size of the title text. See EuiTitle for sizing options ('s', 'm', 'l'... etc)"},reverse:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Places the title (value) above the description (label)"},title:{type:{name:"node"},required:true,description:"Set the title (value) text"},description:{type:{name:"node"},required:true,description:"Set the description (label) text"},className:{type:{name:"string"},required:false,description:"Appends additional classes to parent"},children:{type:{name:"node"},required:false,description:"Additional content that appears after the title and description"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiStep",{enumerable:true,get:function get(){return _step.EuiStep}});Object.defineProperty(exports,"EuiSteps",{enumerable:true,get:function get(){return _steps.EuiSteps}});Object.defineProperty(exports,"EuiSubSteps",{enumerable:true,get:function get(){return _sub_steps.EuiSubSteps}});Object.defineProperty(exports,"EuiStepsHorizontal",{enumerable:true,get:function get(){return _steps_horizontal.EuiStepsHorizontal}});var _step=__webpack_require__(734);var _steps=__webpack_require__(1818);var _sub_steps=__webpack_require__(1819);var _steps_horizontal=__webpack_require__(1820)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSteps=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _step=__webpack_require__(734);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function renderSteps(steps,firstStepNumber,headingElement){return steps.map(function(step,index){var className=step.className,children=step.children,title=step.title,status=step.status,rest=_objectWithoutProperties(step,["className","children","title","status"]);return _react.default.createElement(_step.EuiStep,_extends({className:className,key:index,headingElement:headingElement,step:firstStepNumber+index,title:title,status:status},rest),children)})}var EuiSteps=function EuiSteps(_ref){var className=_ref.className,firstStepNumber=_ref.firstStepNumber,headingElement=_ref.headingElement,steps=_ref.steps,rest=_objectWithoutProperties(_ref,["className","firstStepNumber","headingElement","steps"]);var classes=(0,_classnames.default)("euiSteps",className);return _react.default.createElement("div",_extends({className:classes},rest),renderSteps(steps,firstStepNumber,headingElement))};exports.EuiSteps=EuiSteps;var stepPropType=_propTypes.default.shape({title:_propTypes.default.string.isRequired,children:_propTypes.default.node});EuiSteps.propTypes={className:_propTypes.default.string,firstStepNumber:_propTypes.default.number,headingElement:_propTypes.default.string,steps:_propTypes.default.arrayOf(stepPropType).isRequired};EuiSteps.defaultProps={firstStepNumber:1,headingElement:"p"};EuiSteps.__docgenInfo={description:"",methods:[],displayName:"EuiSteps",props:{firstStepNumber:{defaultValue:{value:"1",computed:false},type:{name:"number"},required:false,description:"The number the steps should begin from"},headingElement:{defaultValue:{value:"'p'",computed:false},type:{name:"string"},required:false,description:"The HTML tag used for the title"},className:{type:{name:"string"},required:false,description:""},steps:{type:{name:"arrayOf",value:{name:"custom",raw:"stepPropType"}},required:true,description:"An array of individal step objects"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSubSteps=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiSubSteps=function EuiSubSteps(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames.default)("euiSubSteps",className);return _react.default.createElement("div",_extends({className:classes},rest),children)};exports.EuiSubSteps=EuiSubSteps;EuiSubSteps.propTypes={children:_propTypes.default.node,className:_propTypes.default.string};EuiSubSteps.__docgenInfo={description:"",methods:[],displayName:"EuiSubSteps",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiStepsHorizontal=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _step_horizontal=__webpack_require__(1821);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function renderHorizontalSteps(steps){return steps.map(function(step,index){var children=step.children,className=step.className,disabled=step.disabled,isSelected=step.isSelected,onClick=step.onClick,rest=_objectWithoutProperties(step,["children","className","disabled","isSelected","onClick"]);return _react.default.createElement(_step_horizontal.EuiStepHorizontal,_extends({className:className,key:index,step:index+1,disabled:disabled,isSelected:isSelected,onClick:onClick},rest),children)})}var EuiStepsHorizontal=function EuiStepsHorizontal(_ref){var className=_ref.className,steps=_ref.steps,rest=_objectWithoutProperties(_ref,["className","steps"]);var classes=(0,_classnames.default)("euiStepsHorizontal",className);return _react.default.createElement("div",_extends({role:"tablist",className:classes},rest),renderHorizontalSteps(steps))};exports.EuiStepsHorizontal=EuiStepsHorizontal;var stepPropType=_propTypes.default.shape({isSelected:_propTypes.default.bool,disabled:_propTypes.default.bool,children:_propTypes.default.node});EuiStepsHorizontal.propTypes={className:_propTypes.default.string,steps:_propTypes.default.arrayOf(stepPropType).isRequired};EuiStepsHorizontal.__docgenInfo={description:"",methods:[],displayName:"EuiStepsHorizontal",props:{className:{type:{name:"string"},required:false,description:""},steps:{type:{name:"arrayOf",value:{name:"custom",raw:"stepPropType"}},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiStepHorizontal=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _accessibility=__webpack_require__(73);var _i18n=__webpack_require__(30);var _step_number=__webpack_require__(735);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiStepHorizontal=function EuiStepHorizontal(_ref){var className=_ref.className,step=_ref.step,title=_ref.title,isSelected=_ref.isSelected,isComplete=_ref.isComplete,onClick=_ref.onClick,disabled=_ref.disabled,status=_ref.status,rest=_objectWithoutProperties(_ref,["className","step","title","isSelected","isComplete","onClick","disabled","status"]);var classes=(0,_classnames.default)("euiStepHorizontal",className,{"euiStepHorizontal-isSelected":isSelected,"euiStepHorizontal-isComplete":isComplete,"euiStepHorizontal-isIncomplete":!isSelected&&!isComplete,"euiStepHorizontal-isDisabled":disabled});disabled?status="disabled":isComplete?status="complete":isSelected?status=status:isComplete||status||(status="incomplete");var onStepClick=function onStepClick(e){if(disabled)return;onClick(e)};return _react.default.createElement(_i18n.EuiI18n,{token:"euiStepHorizontal.buttonTitle",default:function _default(_ref2){var step=_ref2.step,title=_ref2.title,disabled=_ref2.disabled,isComplete=_ref2.isComplete;var titleAppendix="";disabled?titleAppendix=" is disabled":isComplete&&(titleAppendix=" is complete");return"Step ".concat(step,": ").concat(title).concat(titleAppendix)},values:{step:step,title:title,disabled:disabled,isComplete:isComplete}},function(buttonTitle){return _react.default.createElement(_accessibility.EuiKeyboardAccessible,null,_react.default.createElement("div",_extends({role:"tab","aria-selected":!!isSelected,"aria-disabled":!!disabled,className:classes,onClick:onStepClick,tabIndex:disabled?"-1":"0",title:buttonTitle},rest),_react.default.createElement(_accessibility.EuiScreenReaderOnly,null,_react.default.createElement("div",null,_react.default.createElement(_i18n.EuiI18n,{token:"euiStepHorizontal.step",default:"Step"}))),_react.default.createElement(_step_number.EuiStepNumber,{className:"euiStepHorizontal__number",status:status,number:step}),_react.default.createElement("div",{className:"euiStepHorizontal__title"},title)))})};exports.EuiStepHorizontal=EuiStepHorizontal;EuiStepHorizontal.propTypes={isSelected:_propTypes.default.bool,isComplete:_propTypes.default.bool,onClick:_propTypes.default.func.isRequired,step:_propTypes.default.number.isRequired,title:_propTypes.default.node,className:_propTypes.default.string,disabled:_propTypes.default.bool,status:_propTypes.default.oneOf(_step_number.STATUS)};EuiStepHorizontal.defaultProps={isSelected:false,isComplete:false,disabled:false};EuiStepHorizontal.__docgenInfo={description:"",methods:[],displayName:"EuiStepHorizontal",props:{isSelected:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},isComplete:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},disabled:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},onClick:{type:{name:"func"},required:true,description:""},step:{type:{name:"number"},required:true,description:""},title:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},status:{type:{name:"enum",computed:true,value:"STATUS"},required:false,description:"Will replace the number provided in props.step with alternate styling.\nOptions: `complete`, `incomplete`, `warning`, `danger`, `disabled`.\nThe `isSelected`, `isComplete`, and `disabled` props will override these."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTableHeaderButton=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _icon=__webpack_require__(20);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var EuiTableHeaderButton=function EuiTableHeaderButton(_ref){var children=_ref.children,className=_ref.className,iconType=_ref.iconType,rest=_objectWithoutProperties(_ref,["children","className","iconType"]);var classes=(0,_classnames.default)("euiTableHeaderButton",className);var buttonIcon;iconType&&(buttonIcon=_react.default.createElement(_icon.EuiIcon,{className:"euiTableHeaderButton__icon",type:iconType,size:"m","aria-hidden":"true"}));return _react.default.createElement("button",_extends({type:"button",className:classes},rest),_react.default.createElement("span",null,children),buttonIcon)};exports.EuiTableHeaderButton=EuiTableHeaderButton;EuiTableHeaderButton.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,iconType:_propTypes.default.oneOf(_icon.ICON_TYPES)};EuiTableHeaderButton.__docgenInfo={description:"",methods:[],displayName:"EuiTableHeaderButton",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},iconType:{type:{name:"enum",computed:true,value:"ICON_TYPES"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiTablePagination",{enumerable:true,get:function get(){return _table_pagination.EuiTablePagination}});var _table_pagination=__webpack_require__(1824)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiTablePagination=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _button=__webpack_require__(43);var _context_menu=__webpack_require__(187);var _flex=__webpack_require__(54);var _pagination=__webpack_require__(726);var _popover=__webpack_require__(115);var _i18n=__webpack_require__(30);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiTablePagination=function(_Component){_inherits(EuiTablePagination,_Component);function EuiTablePagination(props){var _this;_classCallCheck(this,EuiTablePagination);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiTablePagination).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onButtonClick",function(){_this.setState({isPopoverOpen:!_this.state.isPopoverOpen})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"closePopover",function(){_this.setState({isPopoverOpen:false})});_this.state={isPopoverOpen:false};return _this}_createClass(EuiTablePagination,[{key:"render",value:function render(){var _this2=this;var _this$props=this.props,activePage=_this$props.activePage,itemsPerPage=_this$props.itemsPerPage,itemsPerPageOptions=_this$props.itemsPerPageOptions,hidePerPageOptions=_this$props.hidePerPageOptions,onChangeItemsPerPage=_this$props.onChangeItemsPerPage,onChangePage=_this$props.onChangePage,pageCount=_this$props.pageCount;var button=_react.default.createElement(_button.EuiButtonEmpty,{size:"xs",color:"text",iconType:"arrowDown",iconSide:"right",onClick:this.onButtonClick},_react.default.createElement(_i18n.EuiI18n,{token:"euiTablePagination.rowsPerPage",default:"Rows per page"}),": ",itemsPerPage);var items=itemsPerPageOptions.map(function(itemsPerPageOption){return _react.default.createElement(_context_menu.EuiContextMenuItem,{key:itemsPerPageOption,icon:itemsPerPageOption===itemsPerPage?"check":"empty",onClick:function onClick(){_this2.closePopover();onChangeItemsPerPage(itemsPerPageOption)}},"".concat(itemsPerPageOption," rows"))});var itemsPerPagePopover=_react.default.createElement(_popover.EuiPopover,{id:"customizablePagination",button:button,isOpen:this.state.isPopoverOpen,closePopover:this.closePopover,panelPaddingSize:"none",withTitle:true,anchorPosition:"upRight"},_react.default.createElement(_context_menu.EuiContextMenuPanel,{items:items}));return _react.default.createElement(_flex.EuiFlexGroup,{justifyContent:"spaceBetween",alignItems:"center",responsive:false},_react.default.createElement(_flex.EuiFlexItem,{grow:false},hidePerPageOptions?null:itemsPerPagePopover),_react.default.createElement(_flex.EuiFlexItem,{grow:false},_react.default.createElement(_pagination.EuiPagination,{pageCount:pageCount,activePage:activePage,onPageClick:onChangePage})))}}]);return EuiTablePagination}(_react.Component);exports.EuiTablePagination=EuiTablePagination;EuiTablePagination.propTypes={activePage:_propTypes.default.number,itemsPerPage:_propTypes.default.number,itemsPerPageOptions:_propTypes.default.arrayOf(_propTypes.default.number),hidePerPageOptions:_propTypes.default.bool,onChangeItemsPerPage:_propTypes.default.func,onChangePage:_propTypes.default.func,pageCount:_propTypes.default.number};EuiTablePagination.defaultProps={itemsPerPage:50,itemsPerPageOptions:[10,20,50,100],hidePerPageOptions:false};EuiTablePagination.__docgenInfo={description:"",methods:[{name:"onButtonClick",docblock:null,modifiers:[],params:[],returns:null},{name:"closePopover",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiTablePagination",props:{itemsPerPage:{defaultValue:{value:"50",computed:false},type:{name:"number"},required:false,description:""},itemsPerPageOptions:{defaultValue:{value:"[10, 20, 50, 100]",computed:false},type:{name:"arrayOf",value:{name:"number"}},required:false,description:""},hidePerPageOptions:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},activePage:{type:{name:"number"},required:false,description:""},onChangeItemsPerPage:{type:{name:"func"},required:false,description:""},onChangePage:{type:{name:"func"},required:false,description:""},pageCount:{type:{name:"number"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiToken",{enumerable:true,get:function get(){return _token.EuiToken}});Object.defineProperty(exports,"TOKEN_SIZES",{enumerable:true,get:function get(){return _token.SIZES}});Object.defineProperty(exports,"TOKEN_SHAPES",{enumerable:true,get:function get(){return _token.SHAPES}});Object.defineProperty(exports,"TOKEN_COLORS",{enumerable:true,get:function get(){return _token.COLORS}});var _token=__webpack_require__(1826)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiToken=exports.COLORS=exports.SHAPES=exports.SIZES=void 0;__webpack_require__(5);__webpack_require__(590);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _icon=__webpack_require__(20);var _token_map=__webpack_require__(1827);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var sizeToClassMap={s:"euiToken--small",m:"euiToken--medium",l:"euiToken--large"};var SIZES=Object.keys(sizeToClassMap);exports.SIZES=SIZES;var shapeToClassMap={circle:"euiToken--circle",square:"euiToken--square",rectangle:"euiToken--rectangle"};var SHAPES=Object.keys(shapeToClassMap);exports.SHAPES=SHAPES;var colorToClassMap={tokenTint01:"euiToken--tokenTint01",tokenTint02:"euiToken--tokenTint02",tokenTint03:"euiToken--tokenTint03",tokenTint04:"euiToken--tokenTint04",tokenTint05:"euiToken--tokenTint05",tokenTint06:"euiToken--tokenTint06",tokenTint07:"euiToken--tokenTint07",tokenTint08:"euiToken--tokenTint08",tokenTint09:"euiToken--tokenTint09",tokenTint10:"euiToken--tokenTint10",tokenTint11:"euiToken--tokenTint11",tokenTint12:"euiToken--tokenTint12"};var COLORS=Object.keys(colorToClassMap);exports.COLORS=COLORS;var EuiToken=function EuiToken(_ref){var iconType=_ref.iconType,displayOptions=_ref.displayOptions,size=_ref.size,className=_ref.className,rest=_objectWithoutProperties(_ref,["iconType","displayOptions","size","className"]);var displayOptionsIsEmpty=0===Object.keys(displayOptions).length&&displayOptions.constructor===Object;var tokenShape;var tokenColor;var fill;var tokenHidesBorder;if(iconType in _token_map.TOKEN_MAP&&displayOptionsIsEmpty){tokenShape=_token_map.TOKEN_MAP[iconType].shape;tokenColor=_token_map.TOKEN_MAP[iconType].color;fill=!!_token_map.TOKEN_MAP[iconType].fill;tokenHidesBorder=!!_token_map.TOKEN_MAP[iconType].hideBorder}else{tokenShape=displayOptions.shape?displayOptions.shape:"square";tokenColor=displayOptions.color?displayOptions.color:"tokenTint01";fill=!!displayOptions.fill;tokenHidesBorder=!!displayOptions.hideBorder}var classes=(0,_classnames.default)("euiToken",colorToClassMap[tokenColor],shapeToClassMap[tokenShape],sizeToClassMap[size],{"euiToken--fill":fill,"euiToken--no-border":tokenHidesBorder},className);return _react.default.createElement("div",_extends({className:classes},rest),_react.default.createElement(_icon.EuiIcon,{type:iconType}))};exports.EuiToken=EuiToken;EuiToken.propTypes={iconType:_propTypes.default.oneOf(_icon.ICON_TYPES).isRequired,size:_propTypes.default.oneOf(SIZES),displayOptions:_propTypes.default.shape({color:_propTypes.default.oneOf(COLORS),shape:_propTypes.default.oneOf(SHAPES),fill:_propTypes.default.boolean,hideBorder:_propTypes.default.boolean})};EuiToken.defaultProps={size:"s",displayOptions:{}};EuiToken.__docgenInfo={description:"",methods:[],displayName:"EuiToken",props:{size:{defaultValue:{value:"'s'",computed:false},type:{name:"enum",value:[{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false}]},required:false,description:"Size of the token"},displayOptions:{defaultValue:{value:"{}",computed:false},type:{name:"shape",value:{color:{name:"enum",value:[{value:'"tokenTint01"',computed:false},{value:'"tokenTint02"',computed:false},{value:'"tokenTint03"',computed:false},{value:'"tokenTint04"',computed:false},{value:'"tokenTint05"',computed:false},{value:'"tokenTint06"',computed:false},{value:'"tokenTint07"',computed:false},{value:'"tokenTint08"',computed:false},{value:'"tokenTint09"',computed:false},{value:'"tokenTint10"',computed:false},{value:'"tokenTint11"',computed:false},{value:'"tokenTint12"',computed:false}],required:false},shape:{name:"enum",value:[{value:'"circle"',computed:false},{value:'"square"',computed:false},{value:'"rectangle"',computed:false}],required:false},fill:{name:"custom",raw:"PropTypes.boolean",required:false},hideBorder:{name:"custom",raw:"PropTypes.boolean",required:false}}},required:false,description:"By default EUI will auto color tokens. You can can however control it\n- `color`: can be `tokenTint01` thru `tokenTint10`\n- `shape`: square, circle, rectangle as options\n- `fill`: makes it a solid color\n- `hideBorder`: disables the outer border"},iconType:{type:{name:"enum",computed:true,value:"ICON_TYPES"},required:true,description:"An EUI icon type"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.TOKEN_MAP=void 0;var TOKEN_MAP={tokenClass:{shape:"circle",color:"tokenTint01"},tokenProperty:{shape:"circle",color:"tokenTint02"},tokenEnum:{shape:"circle",color:"tokenTint03"},tokenVariable:{shape:"circle",color:"tokenTint04"},tokenMethod:{shape:"square",color:"tokenTint02"},tokenAnnotation:{shape:"square",color:"tokenTint06"},tokenException:{shape:"circle",color:"tokenTint07"},tokenInterface:{shape:"circle",color:"tokenTint08"},tokenParameter:{shape:"square",color:"tokenTint09"},tokenField:{shape:"circle",color:"tokenTint10"},tokenElement:{shape:"square",color:"tokenTint03"},tokenFunction:{shape:"circle",color:"tokenTint02"},tokenBoolean:{shape:"square",color:"tokenTint05"},tokenString:{shape:"square",color:"tokenTint07"},tokenArray:{shape:"square",color:"tokenTint04"},tokenNumber:{shape:"circle",color:"tokenTint05"},tokenConstant:{shape:"circle",color:"tokenTint07"},tokenObject:{shape:"square",color:"tokenTint03"},tokenEvent:{shape:"circle",color:"tokenTint09"},tokenKey:{shape:"circle",color:"tokenTint06"},tokenNull:{shape:"square",color:"tokenTint02"},tokenStruct:{shape:"square",color:"tokenTint07"},tokenPackage:{shape:"square",color:"tokenTint10"},tokenOperator:{shape:"circle",color:"tokenTint09"},tokenEnumMember:{shape:"square",color:"tokenTint04"},tokenRepo:{shape:"rectangle",color:"tokenTint05",fill:true},tokenSymbol:{shape:"rectangle",color:"tokenTint07",fill:true},tokenFile:{shape:"rectangle",color:"tokenTint12",fill:true}};exports.TOKEN_MAP=TOKEN_MAP},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiBasicTable",{enumerable:true,get:function get(){return _basic_table.EuiBasicTable}});Object.defineProperty(exports,"EuiInMemoryTable",{enumerable:true,get:function get(){return _in_memory_table.EuiInMemoryTable}});var _basic_table=__webpack_require__(749);var _in_memory_table=__webpack_require__(1834)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.CollapsedItemActions=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireWildcard(__webpack_require__(0));var _context_menu=__webpack_require__(187);var _popover=__webpack_require__(115);var _button=__webpack_require__(43);var _tool_tip=__webpack_require__(112);var _i18n=__webpack_require__(30);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var CollapsedItemActions=function(_Component){_inherits(CollapsedItemActions,_Component);function CollapsedItemActions(props){var _this;_classCallCheck(this,CollapsedItemActions);_this=_possibleConstructorReturn(this,_getPrototypeOf(CollapsedItemActions).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"togglePopover",function(){_this.setState(function(prevState){return{popoverOpen:!prevState.popoverOpen}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"closePopover",function(){_this.setState({popoverOpen:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onPopoverBlur",function(){window.requestAnimationFrame(function(){_this.popoverDiv.contains(document.activeElement)||_this.props.onBlur()})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"registerPopoverDiv",function(popoverDiv){if(!_this.popoverDiv){_this.popoverDiv=popoverDiv;_this.popoverDiv.addEventListener("focusout",_this.onPopoverBlur)}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onClickItem",function(onClickAction){_this.closePopover();onClickAction()});_this.state={popoverOpen:false};return _this}_createClass(CollapsedItemActions,[{key:"componentWillUnmount",value:function componentWillUnmount(){this.popoverDiv&&this.popoverDiv.removeEventListener("focusout",this.onPopoverBlur)}},{key:"render",value:function render(){var _this2=this;var _this$props=this.props,actions=_this$props.actions,itemId=_this$props.itemId,item=_this$props.item,actionEnabled=_this$props.actionEnabled,onFocus=_this$props.onFocus,className=_this$props.className;var isOpen=this.state.popoverOpen;var allDisabled=true;var controls=actions.reduce(function(controls,action,index){var key="action_".concat(itemId,"_").concat(index);var available=!action.available||action.available(item);if(!available)return controls;var enabled=actionEnabled(action);allDisabled=allDisabled&&!enabled;if(action.render){var actionControl=action.render(item,enabled);var actionControlOnClick=actionControl&&actionControl.props&&actionControl.props.onClick;controls.push(_react.default.createElement(_context_menu.EuiContextMenuItem,{key:key,onClick:actionControlOnClick?actionControlOnClick.bind(null,item):function(){}},actionControl))}else controls.push(_react.default.createElement(_context_menu.EuiContextMenuItem,{key:key,disabled:!enabled,icon:action.icon,onClick:_this2.onClickItem.bind(null,action.onClick.bind(null,item))},action.name));return controls},[]);var popoverButton=_react.default.createElement(_i18n.EuiI18n,{token:"euiCollapsedItemActions.allActions",default:"All actions"},function(allActions){return _react.default.createElement(_button.EuiButtonIcon,{className:className,"aria-label":allActions,iconType:"boxesHorizontal",color:"text",isDisabled:allDisabled,onClick:_this2.togglePopover.bind(_this2),onFocus:onFocus})});var withTooltip=!allDisabled&&_react.default.createElement(_i18n.EuiI18n,{token:"euiCollapsedItemActions.allActions",default:"All actions"},function(allActions){return _react.default.createElement(_tool_tip.EuiToolTip,{content:allActions,delay:"long"},popoverButton)});return _react.default.createElement(_popover.EuiPopover,{className:className,popoverRef:this.registerPopoverDiv,id:"".concat(itemId,"-actions"),isOpen:isOpen,button:withTooltip||popoverButton,closePopover:this.closePopover,panelPaddingSize:"none",anchorPosition:"leftCenter"},_react.default.createElement(_context_menu.EuiContextMenuPanel,{items:controls}))}}]);return CollapsedItemActions}(_react.Component);exports.CollapsedItemActions=CollapsedItemActions;CollapsedItemActions.__docgenInfo={description:"",methods:[{name:"togglePopover",docblock:null,modifiers:[],params:[],returns:null},{name:"closePopover",docblock:null,modifiers:[],params:[],returns:null},{name:"onPopoverBlur",docblock:null,modifiers:[],params:[],returns:null},{name:"registerPopoverDiv",docblock:null,modifiers:[],params:[{name:"popoverDiv",type:null}],returns:null},{name:"onClickItem",docblock:null,modifiers:[],params:[{name:"onClickAction",type:null}],returns:null}],displayName:"CollapsedItemActions"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ExpandedItemActions=void 0;var _react=_interopRequireDefault(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));var _default_item_action=__webpack_require__(1831);var _custom_item_action=__webpack_require__(1832);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ExpandedItemActions=function ExpandedItemActions(_ref){var actions=_ref.actions,itemId=_ref.itemId,item=_ref.item,actionEnabled=_ref.actionEnabled,className=_ref.className;var moreThanThree=actions.length>2;return actions.reduce(function(tools,action,index){var available=!action.available||action.available(item);if(!available)return tools;var enabled=actionEnabled(action);var key="item_action_".concat(itemId,"_").concat(index);var classes=(0,_classnames.default)(className,{expandedItemActions__completelyHide:moreThanThree&&index<2});action.render?tools.push(_react.default.createElement(_custom_item_action.CustomItemAction,{key:key,className:classes,index:index,action:action,enabled:enabled,itemId:itemId,item:item})):tools.push(_react.default.createElement(_default_item_action.DefaultItemAction,{key:key,className:classes,index:index,action:action,enabled:enabled,itemId:itemId,item:item}));return tools},[])};exports.ExpandedItemActions=ExpandedItemActions},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.DefaultItemAction=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireWildcard(__webpack_require__(0));var _predicate=__webpack_require__(38);var _button=__webpack_require__(43);var _tool_tip=__webpack_require__(112);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var defaults={color:"primary"};var DefaultItemAction=function(_Component){_inherits(DefaultItemAction,_Component);function DefaultItemAction(props){_classCallCheck(this,DefaultItemAction);return _possibleConstructorReturn(this,_getPrototypeOf(DefaultItemAction).call(this,props))}_createClass(DefaultItemAction,[{key:"render",value:function render(){var _this$props=this.props,action=_this$props.action,enabled=_this$props.enabled,item=_this$props.item,className=_this$props.className;if(!action.onClick&&!action.href)throw new Error("Cannot render item action [".concat(action.name,"]. Missing required 'onClick' callback\n        or 'href' string. If you want to provide a custom action control, make sure to define the 'render' callback"));var onClick=action.onClick?function(){return action.onClick(item)}:void 0;var color=this.resolveActionColor();var icon=this.resolveActionIcon();var button;if("icon"===action.type){if(!icon)throw new Error("Cannot render item action [".concat(action.name,"]. It is configured to render as an icon but no\n        icon is provided. Make sure to set the 'icon' property of the action"));button=_react.default.createElement(_button.EuiButtonIcon,{className:className,"aria-label":action.name,isDisabled:!enabled,color:color,iconType:icon,onClick:onClick,href:action.href,target:action.target})}else button=_react.default.createElement(_button.EuiButtonEmpty,{className:className,size:"s",isDisabled:!enabled,color:color,iconType:icon,onClick:onClick,href:action.href,target:action.target,flush:"right"},action.name);return enabled&&action.description?_react.default.createElement(_tool_tip.EuiToolTip,{content:action.description,delay:"long"},button):button}},{key:"resolveActionIcon",value:function resolveActionIcon(){var _this$props2=this.props,action=_this$props2.action,item=_this$props2.item;if(action.icon)return(0,_predicate.isString)(action.icon)?action.icon:action.icon(item)}},{key:"resolveActionColor",value:function resolveActionColor(){var _this$props3=this.props,action=_this$props3.action,item=_this$props3.item;if(action.color)return(0,_predicate.isString)(action.color)?action.color:action.color(item);return defaults.color}}]);return DefaultItemAction}(_react.Component);exports.DefaultItemAction=DefaultItemAction;DefaultItemAction.__docgenInfo={description:"",methods:[{name:"resolveActionIcon",docblock:null,modifiers:[],params:[],returns:null},{name:"resolveActionColor",docblock:null,modifiers:[],params:[],returns:null}],displayName:"DefaultItemAction"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.CustomItemAction=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);var _react=_interopRequireWildcard(__webpack_require__(0));function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var CustomItemAction=function(_Component){_inherits(CustomItemAction,_Component);function CustomItemAction(props){var _this;_classCallCheck(this,CustomItemAction);_this=_possibleConstructorReturn(this,_getPrototypeOf(CustomItemAction).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onFocus",function(){_this.mounted&&_this.setState({hasFocus:true})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onBlur",function(){_this.mounted&&_this.setState({hasFocus:false})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"hasFocus",function(){return _this.state.hasFocus});_this.state={hasFocus:false};_this.mounted=false;return _this}_createClass(CustomItemAction,[{key:"componentDidMount",value:function componentDidMount(){this.mounted=true}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.mounted=false}},{key:"render",value:function render(){var _this$props=this.props,action=_this$props.action,enabled=_this$props.enabled,item=_this$props.item,className=_this$props.className;var tool=action.render(item,enabled);var clonedTool=(0,_react.cloneElement)(tool,{onFocus:this.onFocus,onBlur:this.onBlur});var style=this.hasFocus()?{opacity:1}:null;return _react.default.createElement("div",{style:style,className:className},clonedTool)}}]);return CustomItemAction}(_react.Component);exports.CustomItemAction=CustomItemAction;CustomItemAction.__docgenInfo={description:"",methods:[{name:"onFocus",docblock:null,modifiers:[],params:[],returns:null},{name:"onBlur",docblock:null,modifiers:[],params:[],returns:null},{name:"hasFocus",docblock:null,modifiers:[],params:[],returns:null}],displayName:"CustomItemAction"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.LoadingTableBody=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);__webpack_require__(2);var _react=_interopRequireWildcard(__webpack_require__(0));var _table_body=__webpack_require__(440);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var LoadingTableBody=function(_Component){_inherits(LoadingTableBody,_Component);function LoadingTableBody(props){var _this;_classCallCheck(this,LoadingTableBody);_this=_possibleConstructorReturn(this,_getPrototypeOf(LoadingTableBody).call(this,props));_this.cleanups=[];return _this}_createClass(LoadingTableBody,[{key:"componentDidMount",value:function componentDidMount(){var _this2=this;var listener=function listener(event){event.stopPropagation();event.preventDefault()};["mousedown","mouseup","mouseover","mouseout","mouseenter","mouseleave","click","dblclick","keydown","keyup","keypress"].forEach(function(event){_this2.tbody.addEventListener(event,listener,true);_this2.cleanups.push(function(){return _this2.tbody.removeEventListener(event,listener)})})}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.cleanups.forEach(function(cleanup){return cleanup()})}},{key:"render",value:function render(){var _this3=this;return _react.default.createElement(_table_body.EuiTableBody,{bodyRef:function bodyRef(tbody){_this3.tbody=tbody}},this.props.children)}}]);return LoadingTableBody}(_react.Component);exports.LoadingTableBody=LoadingTableBody;LoadingTableBody.__docgenInfo={description:"",methods:[],displayName:"LoadingTableBody"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiInMemoryTable=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(9);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(94);__webpack_require__(703);__webpack_require__(229);__webpack_require__(92);__webpack_require__(93);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _basic_table=__webpack_require__(749);var _pagination_bar=__webpack_require__(750);var _predicate=__webpack_require__(38);var _sort=__webpack_require__(579);var _search_bar=__webpack_require__(728);var _spacer=__webpack_require__(437);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var ColumnType=_propTypes.default.oneOfType([_propTypes.default.shape(_objectSpread({},_basic_table.FieldDataColumnTypeShape,{sortable:_propTypes.default.oneOfType([_propTypes.default.bool,_propTypes.default.func])})),_basic_table.ComputedColumnType,_basic_table.ActionsColumnType]);var InMemoryTablePropTypes={columns:_propTypes.default.arrayOf(ColumnType).isRequired,items:_propTypes.default.array,loading:_propTypes.default.bool,message:_propTypes.default.node,error:_propTypes.default.string,compressed:_propTypes.default.bool,search:_propTypes.default.oneOfType([_propTypes.default.bool,_propTypes.default.shape({defaultQuery:_search_bar.QueryType,box:_propTypes.default.shape(_objectSpread({},_search_bar.SearchBoxConfigPropTypes,{schema:_propTypes.default.oneOfType([_propTypes.default.bool,_search_bar.SearchBoxConfigPropTypes.schema])})),filters:_search_bar.SearchFiltersFiltersType,onChange:_propTypes.default.func,executeQueryOptions:_propTypes.default.shape({defaultFields:_propTypes.default.arrayOf(_propTypes.default.string),isClauseMatcher:_propTypes.default.func,explain:_propTypes.default.bool})})]),pagination:_propTypes.default.oneOfType([_propTypes.default.bool,_propTypes.default.shape({pageSizeOptions:_propTypes.default.arrayOf(_propTypes.default.number)}),_propTypes.default.shape({initialPageSize:_propTypes.default.number,pageSizeOptions:_propTypes.default.arrayOf(_propTypes.default.number)})]),sorting:_propTypes.default.oneOfType([_propTypes.default.bool,_propTypes.default.shape({sort:_sort.PropertySortType})]),selection:_basic_table.SelectionType,itemId:_basic_table.ItemIdType,rowProps:_propTypes.default.oneOfType([_propTypes.default.func,_propTypes.default.object]),cellProps:_propTypes.default.oneOfType([_propTypes.default.func,_propTypes.default.object]),onTableChange:_propTypes.default.func};var getInitialQuery=function getInitialQuery(search){if(!search)return;var query=search.defaultQuery||"";return(0,_predicate.isString)(query)?_search_bar.EuiSearchBar.Query.parse(query):query};var getInitialPagination=function getInitialPagination(pagination){if(!pagination)return{pageIndex:void 0,pageSize:void 0};var initialPageSize=pagination.initialPageSize,_pagination$pageSizeO=pagination.pageSizeOptions,pageSizeOptions=void 0===_pagination$pageSizeO?_pagination_bar.defaults.pageSizeOptions:_pagination$pageSizeO,hidePerPageOptions=pagination.hidePerPageOptions;if(!hidePerPageOptions&&initialPageSize&&(!pageSizeOptions||!pageSizeOptions.includes(initialPageSize)))throw new Error("EuiInMemoryTable received initialPageSize ".concat(initialPageSize,", which wasn't provided within pageSizeOptions."));var defaultPageSize=pageSizeOptions?pageSizeOptions[0]:_pagination_bar.defaults.pageSizeOptions[0];return{pageIndex:0,pageSize:initialPageSize||defaultPageSize,pageSizeOptions:pageSizeOptions,hidePerPageOptions:hidePerPageOptions}};var getInitialSorting=function getInitialSorting(sorting){if(!sorting||!sorting.sort)return{sortField:void 0,sortDirection:void 0};var _sorting$sort=sorting.sort,sortField=_sorting$sort.field,sortDirection=_sorting$sort.direction;return{sortField:sortField,sortDirection:sortDirection}};var EuiInMemoryTable=function(_Component){_inherits(EuiInMemoryTable,_Component);_createClass(EuiInMemoryTable,null,[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,prevState){return nextProps.items!==prevState.prevProps.items?{prevProps:{items:nextProps.items},pageIndex:0}:null}}]);function EuiInMemoryTable(props){var _this;_classCallCheck(this,EuiInMemoryTable);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiInMemoryTable).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onTableChange",function(_ref){var _ref$page=_ref.page,page=void 0===_ref$page?{}:_ref$page,_ref$sort=_ref.sort,sort=void 0===_ref$sort?{}:_ref$sort;_this.props.onTableChange&&_this.props.onTableChange({page:page,sort:sort});var pageIndex=page.index,pageSize=page.size;var sortField=sort.field,sortDirection=sort.direction;_this.setState({pageIndex:pageIndex,pageSize:pageSize,sortField:sortField,sortDirection:sortDirection})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onQueryChange",function(_ref2){var query=_ref2.query,queryText=_ref2.queryText,error=_ref2.error;if(_this.props.search.onChange){var shouldQueryInMemory=_this.props.search.onChange({query:query,queryText:queryText,error:error});if(!shouldQueryInMemory)return}_this.setState({query:query,pageIndex:0})});var search=props.search,pagination=props.pagination,sorting=props.sorting;var _getInitialPagination=getInitialPagination(pagination),_pageIndex=_getInitialPagination.pageIndex,_pageSize=_getInitialPagination.pageSize,pageSizeOptions=_getInitialPagination.pageSizeOptions,hidePerPageOptions=_getInitialPagination.hidePerPageOptions;var _getInitialSorting=getInitialSorting(sorting),_sortField=_getInitialSorting.sortField,_sortDirection=_getInitialSorting.sortDirection;_this.state={prevProps:{items:props.items},query:getInitialQuery(search),pageIndex:_pageIndex,pageSize:_pageSize,pageSizeOptions:pageSizeOptions,sortField:_sortField,sortDirection:_sortDirection,hidePerPageOptions:hidePerPageOptions};return _this}_createClass(EuiInMemoryTable,[{key:"renderSearchBar",value:function renderSearchBar(){var search=this.props.search;if(search){var _ref3=(0,_predicate.isBoolean)(search)?{}:search,searchBarProps=(_ref3.onChange,_objectWithoutProperties(_ref3,["onChange"]));searchBarProps.box&&true===searchBarProps.box.schema&&(searchBarProps.box.schema=this.resolveSearchSchema());return _react.default.createElement(_search_bar.EuiSearchBar,_extends({onChange:this.onQueryChange},searchBarProps))}}},{key:"resolveSearchSchema",value:function resolveSearchSchema(){var columns=this.props.columns;return columns.reduce(function(schema,column){if(column.field){var type=column.dataType||"string";schema.fields[column.field]={type:type}}return schema},{strict:true,fields:{}})}},{key:"getItemSorter",value:function getItemSorter(){var _this$state=this.state,sortField=_this$state.sortField,sortDirection=_this$state.sortDirection;var columns=this.props.columns;var sortColumn=columns.find(function(_ref4){var field=_ref4.field;return field===sortField});var sortable=sortColumn.sortable;if("function"===typeof sortable)return _sort.Comparators.value(sortable,_sort.Comparators.default(sortDirection));return _sort.Comparators.property(sortField,_sort.Comparators.default(sortDirection))}},{key:"getItems",value:function getItems(){var executeQueryOptions=this.props.executeQueryOptions;var items=this.state.prevProps.items;if(!items.length)return{items:[],totalItemCount:0};var _this$state2=this.state,query=_this$state2.query,sortField=_this$state2.sortField,pageIndex=_this$state2.pageIndex,pageSize=_this$state2.pageSize;var matchingItems=query?_search_bar.EuiSearchBar.Query.execute(query,items,executeQueryOptions):items;var sortedItems=sortField?matchingItems.slice(0).sort(this.getItemSorter()):matchingItems;var visibleItems=pageSize?(startIndex=pageIndex*pageSize,sortedItems.slice(startIndex,Math.min(startIndex+pageSize,sortedItems.length))):sortedItems;var startIndex;return{items:visibleItems,totalItemCount:matchingItems.length}}},{key:"render",value:function render(){var _this$props=this.props,columns=_this$props.columns,loading=_this$props.loading,message=_this$props.message,error=_this$props.error,selection=_this$props.selection,isSelectable=_this$props.isSelectable,hasActions=_this$props.hasActions,compressed=_this$props.compressed,hasPagination=_this$props.pagination,hasSorting=_this$props.sorting,itemIdToExpandedRowMap=_this$props.itemIdToExpandedRowMap,itemId=_this$props.itemId,rowProps=_this$props.rowProps,cellProps=_this$props.cellProps,rest=(_this$props.items,_this$props.search,_this$props.onTableChange,_this$props.executeQueryOptions,_objectWithoutProperties(_this$props,["columns","loading","message","error","selection","isSelectable","hasActions","compressed","pagination","sorting","itemIdToExpandedRowMap","itemId","rowProps","cellProps","items","search","onTableChange","executeQueryOptions"]));var _this$state3=this.state,pageIndex=_this$state3.pageIndex,pageSize=_this$state3.pageSize,pageSizeOptions=_this$state3.pageSizeOptions,sortField=_this$state3.sortField,sortDirection=_this$state3.sortDirection,hidePerPageOptions=_this$state3.hidePerPageOptions;var _this$getItems=this.getItems(),items=_this$getItems.items,totalItemCount=_this$getItems.totalItemCount;var pagination=hasPagination?{pageIndex:pageIndex,pageSize:pageSize,pageSizeOptions:pageSizeOptions,totalItemCount:totalItemCount,hidePerPageOptions:hidePerPageOptions}:void 0;var sorting=hasSorting?{sort:sortField||sortDirection?{field:sortField,direction:sortDirection}:void 0}:void 0;var searchBar=this.renderSearchBar();var mappedColumns=columns.map(function(column){return _objectSpread({},column,{sortable:!!column.sortable})});var table=_react.default.createElement(_basic_table.EuiBasicTable,_extends({items:items,itemId:itemId,rowProps:rowProps,cellProps:cellProps,columns:mappedColumns,pagination:pagination,sorting:sorting,selection:selection,isSelectable:isSelectable,hasActions:hasActions,onChange:this.onTableChange,error:error,loading:loading,noItemsMessage:message,compressed:compressed,itemIdToExpandedRowMap:itemIdToExpandedRowMap},rest));if(!searchBar)return table;return _react.default.createElement("div",null,searchBar,_react.default.createElement(_spacer.EuiSpacer,{size:"l"}),table)}}]);return EuiInMemoryTable}(_react.Component);exports.EuiInMemoryTable=EuiInMemoryTable;_defineProperty(EuiInMemoryTable,"propTypes",InMemoryTablePropTypes);_defineProperty(EuiInMemoryTable,"defaultProps",{items:[],pagination:false,sorting:false,responsive:true,executeQueryOptions:{}});EuiInMemoryTable.__docgenInfo={description:"",methods:[{name:"getDerivedStateFromProps",docblock:null,modifiers:["static"],params:[{name:"nextProps",type:null},{name:"prevState",type:null}],returns:null},{name:"onTableChange",docblock:null,modifiers:[],params:[{name:"{ page = {}, sort = {} }",type:null}],returns:null},{name:"onQueryChange",docblock:null,modifiers:[],params:[{name:"{ query, queryText, error }",type:null}],returns:null},{name:"renderSearchBar",docblock:null,modifiers:[],params:[],returns:null},{name:"resolveSearchSchema",docblock:null,modifiers:[],params:[],returns:null},{name:"getItemSorter",docblock:null,modifiers:[],params:[],returns:null},{name:"getItems",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiInMemoryTable",props:{items:{defaultValue:{value:"[]",computed:false},type:{name:"array"},required:false,description:""},pagination:{defaultValue:{value:"false",computed:false},type:{name:"union",value:[{name:"bool"},{name:"shape",value:{pageSizeOptions:{name:"arrayOf",value:{name:"number"},required:false}}},{name:"shape",value:{initialPageSize:{name:"number",required:false},pageSizeOptions:{name:"arrayOf",value:{name:"number"},required:false}}}]},required:false,description:""},sorting:{defaultValue:{value:"false",computed:false},type:{name:"union",value:[{name:"bool"},{name:"shape",value:{sort:{name:"custom",raw:"PropertySortType",required:false}}}]},required:false,description:""},responsive:{defaultValue:{value:"true",computed:false},required:false},executeQueryOptions:{defaultValue:{value:"{}",computed:false},required:false},columns:{type:{name:"arrayOf",value:{name:"custom",raw:"ColumnType"}},required:true,description:""},loading:{type:{name:"bool"},required:false,description:""},message:{type:{name:"node"},required:false,description:""},error:{type:{name:"string"},required:false,description:""},compressed:{type:{name:"bool"},required:false,description:""},search:{type:{name:"union",value:[{name:"bool"},{name:"shape",value:{defaultQuery:{name:"custom",raw:"QueryType",required:false},box:{name:"shape",value:{schema:{name:"union",value:[{name:"bool"},{name:"custom",raw:"SearchBoxConfigPropTypes.schema"}],required:false}},required:false},filters:{name:"custom",raw:"SearchFiltersFiltersType",required:false},onChange:{name:"func",required:false},executeQueryOptions:{name:"shape",value:{defaultFields:{name:"arrayOf",value:{name:"string"},required:false},isClauseMatcher:{name:"func",required:false},explain:{name:"bool",required:false}},required:false}}}]},required:false,description:""},selection:{type:{name:"custom",raw:"SelectionType"},required:false,description:""},itemId:{type:{name:"custom",raw:"ItemIdType"},required:false,description:""},rowProps:{type:{name:"union",value:[{name:"func"},{name:"object"}]},required:false,description:""},cellProps:{type:{name:"union",value:[{name:"func"},{name:"object"}]},required:false,description:""},onTableChange:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiToast",{enumerable:true,get:function get(){return _toast.EuiToast}});Object.defineProperty(exports,"EuiGlobalToastList",{enumerable:true,get:function get(){return _global_toast_list.EuiGlobalToastList}});Object.defineProperty(exports,"EuiGlobalToastListItem",{enumerable:true,get:function get(){return _global_toast_list_item.EuiGlobalToastListItem}});var _toast=__webpack_require__(751);var _global_toast_list=__webpack_require__(1836);var _global_toast_list_item=__webpack_require__(752)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiGlobalToastList=exports.TOAST_FADE_OUT_MS=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(2);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));var _time=__webpack_require__(1837);var _global_toast_list_item=__webpack_require__(752);var _toast=__webpack_require__(751);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var TOAST_FADE_OUT_MS=250;exports.TOAST_FADE_OUT_MS=TOAST_FADE_OUT_MS;var EuiGlobalToastList=function(_Component){_inherits(EuiGlobalToastList,_Component);function EuiGlobalToastList(props){var _this;_classCallCheck(this,EuiGlobalToastList);_this=_possibleConstructorReturn(this,_getPrototypeOf(EuiGlobalToastList).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onMouseEnter",function(){_this.isScrollingToBottom=false;_this.isUserInteracting=true;for(var toastId in _this.toastIdToTimerMap)if(_this.toastIdToTimerMap.hasOwnProperty(toastId)){var timer=_this.toastIdToTimerMap[toastId];timer.pause()}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onMouseLeave",function(){_this.isUserInteracting=false;for(var toastId in _this.toastIdToTimerMap)if(_this.toastIdToTimerMap.hasOwnProperty(toastId)){var timer=_this.toastIdToTimerMap[toastId];timer.resume()}});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onScroll",function(){_this.isScrolledToBottom=_this.listElement.scrollHeight-_this.listElement.scrollTop===_this.listElement.clientHeight});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"scheduleAllToastsForDismissal",function(){_this.props.toasts.forEach(function(toast){_this.toastIdToTimerMap[toast.id]||_this.scheduleToastForDismissal(toast)})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"scheduleToastForDismissal",function(toast){_this.toastIdToTimerMap[toast.id]=new _time.Timer(_this.dismissToast.bind(_assertThisInitialized(_assertThisInitialized(_this)),toast),_this.props.toastLifeTimeMs)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"dismissToast",function(toast){_this.dismissTimeoutIds.push(setTimeout(function(){if(_this.toastIdToTimerMap.hasOwnProperty(toast.id)){_this.props.dismissToast(toast);_this.toastIdToTimerMap[toast.id].clear();delete _this.toastIdToTimerMap[toast.id];_this.setState(function(prevState){var toastIdToDismissedMap=_objectSpread({},prevState.toastIdToDismissedMap);delete toastIdToDismissedMap[toast.id];return{toastIdToDismissedMap:toastIdToDismissedMap}})}},TOAST_FADE_OUT_MS));_this.setState(function(prevState){var toastIdToDismissedMap=_objectSpread({},prevState.toastIdToDismissedMap,_defineProperty({},toast.id,true));return{toastIdToDismissedMap:toastIdToDismissedMap}})});_this.state={toastIdToDismissedMap:{}};_this.dismissTimeoutIds=[];_this.toastIdToTimerMap={};_this.isScrollingToBottom=false;_this.isScrolledToBottom=true;return _this}_createClass(EuiGlobalToastList,[{key:"startScrollingToBottom",value:function startScrollingToBottom(){var _this2=this;this.isScrollingToBottom=true;var scrollToBottom=function scrollToBottom(){var position=_this2.listElement.scrollTop;var destination=_this2.listElement.scrollHeight-_this2.listElement.clientHeight;var distanceToDestination=destination-position;if(distanceToDestination<5){_this2.listElement.scrollTop=destination;_this2.isScrollingToBottom=false;_this2.isScrolledToBottom=true;return}_this2.listElement.scrollTop=position+.25*distanceToDestination;_this2.isScrollingToBottom&&window.requestAnimationFrame(scrollToBottom)};window.requestAnimationFrame(scrollToBottom)}},{key:"componentDidMount",value:function componentDidMount(){this.listElement.addEventListener("scroll",this.onScroll);this.listElement.addEventListener("mouseenter",this.onMouseEnter);this.listElement.addEventListener("mouseleave",this.onMouseLeave);this.scheduleAllToastsForDismissal()}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){this.scheduleAllToastsForDismissal();this.isUserInteracting||this.isScrolledToBottom&&prevProps.toasts.length<this.props.toasts.length&&this.startScrollingToBottom()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.listElement.removeEventListener("scroll",this.onScroll);this.listElement.removeEventListener("mouseenter",this.onMouseEnter);this.listElement.removeEventListener("mouseleave",this.onMouseLeave);this.dismissTimeoutIds.forEach(clearTimeout);for(var toastId in this.toastIdToTimerMap)if(this.toastIdToTimerMap.hasOwnProperty(toastId)){var timer=this.toastIdToTimerMap[toastId];timer.clear()}}},{key:"render",value:function render(){var _this3=this;var _this$props=this.props,className=_this$props.className,toasts=_this$props.toasts,rest=(_this$props.dismissToast,_this$props.toastLifeTimeMs,_objectWithoutProperties(_this$props,["className","toasts","dismissToast","toastLifeTimeMs"]));var renderedToasts=toasts.map(function(toast){var text=toast.text,rest=_objectWithoutProperties(toast,["text"]);return _react.default.createElement(_global_toast_list_item.EuiGlobalToastListItem,{key:toast.id,isDismissed:_this3.state.toastIdToDismissedMap[toast.id]},_react.default.createElement(_toast.EuiToast,_extends({onClose:_this3.dismissToast.bind(_this3,toast)},rest),text))});var classes=(0,_classnames.default)("euiGlobalToastList",className);return _react.default.createElement("div",_extends({ref:function ref(element){_this3.listElement=element},className:classes},rest),renderedToasts)}}]);return EuiGlobalToastList}(_react.Component);exports.EuiGlobalToastList=EuiGlobalToastList;_defineProperty(EuiGlobalToastList,"propTypes",{className:_propTypes.default.string,toasts:_propTypes.default.array,dismissToast:_propTypes.default.func.isRequired,toastLifeTimeMs:_propTypes.default.number.isRequired});_defineProperty(EuiGlobalToastList,"defaultProps",{toasts:[]});EuiGlobalToastList.__docgenInfo={description:"",methods:[{name:"startScrollingToBottom",docblock:null,modifiers:[],params:[],returns:null},{name:"onMouseEnter",docblock:null,modifiers:[],params:[],returns:null},{name:"onMouseLeave",docblock:null,modifiers:[],params:[],returns:null},{name:"onScroll",docblock:null,modifiers:[],params:[],returns:null},{name:"scheduleAllToastsForDismissal",docblock:null,modifiers:[],params:[],returns:null},{name:"scheduleToastForDismissal",docblock:null,modifiers:[],params:[{name:"toast",type:null}],returns:null},{name:"dismissToast",docblock:null,modifiers:[],params:[{name:"toast",type:null}],returns:null}],displayName:"EuiGlobalToastList",props:{toasts:{defaultValue:{value:"[]",computed:false},type:{name:"array"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},dismissToast:{type:{name:"func"},required:true,description:""},toastLifeTimeMs:{type:{name:"number"},required:true,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"Timer",{enumerable:true,get:function get(){return _timer.Timer}});var _timer=__webpack_require__(1838)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Timer=void 0;function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var Timer=function Timer(callback,timeMs){var _this=this;_classCallCheck(this,Timer);_defineProperty(this,"id",void 0);_defineProperty(this,"callback",void 0);_defineProperty(this,"finishTime",void 0);_defineProperty(this,"timeRemaining",void 0);_defineProperty(this,"pause",function(){clearTimeout(_this.id);_this.id=void 0;_this.timeRemaining=(_this.finishTime||0)-Date.now()});_defineProperty(this,"resume",function(){_this.id=setTimeout(_this.finish,_this.timeRemaining);_this.finishTime=Date.now()+(_this.timeRemaining||0);_this.timeRemaining=void 0});_defineProperty(this,"clear",function(){clearTimeout(_this.id);_this.id=void 0;_this.callback=void 0;_this.finishTime=void 0;_this.timeRemaining=void 0});_defineProperty(this,"finish",function(){_this.callback&&_this.callback();_this.clear()});this.id=setTimeout(this.finish,timeMs);this.callback=callback;this.finishTime=Date.now()+timeMs;this.timeRemaining=void 0};exports.Timer=Timer},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiHideFor",{enumerable:true,get:function get(){return _hide_from.EuiHideFor}});Object.defineProperty(exports,"EuiShowFor",{enumerable:true,get:function get(){return _show_for.EuiShowFor}});var _hide_from=__webpack_require__(1840);var _show_for=__webpack_require__(1841)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHideFor=exports.RESPONSIVE_SIZES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var responsiveSizesToClassNameMap={xs:"eui-hideFor--xs",s:"eui-hideFor--s",m:"eui-hideFor--m",l:"eui-hideFor--l",xl:"eui-hideFor--xl"};var RESPONSIVE_SIZES=Object.keys(responsiveSizesToClassNameMap);exports.RESPONSIVE_SIZES=RESPONSIVE_SIZES;var EuiHideFor=function EuiHideFor(_ref){var children=_ref.children,className=_ref.className,sizes=_ref.sizes,rest=_objectWithoutProperties(_ref,["children","className","sizes"]);var sizingClasses=sizes.map(function(item){return responsiveSizesToClassNameMap[item]});var classes=(0,_classnames.default)("euiHideFor",sizingClasses,className);return _react.default.createElement("span",_extends({className:classes},rest),children)};exports.EuiHideFor=EuiHideFor;EuiHideFor.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,sizes:_propTypes.default.arrayOf(_propTypes.default.oneOf(RESPONSIVE_SIZES)).isRequired};EuiHideFor.__docgenInfo={description:"",methods:[],displayName:"EuiHideFor",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},sizes:{type:{name:"arrayOf",value:{name:"enum",value:[{value:'"xs"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false},{value:'"xl"',computed:false}]}},required:true,description:"List of all the responsive sizes to hide the children from"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiShowFor=exports.RESPONSIVE_SIZES=void 0;__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}var responsiveSizesToClassNameMap={xs:"eui-showFor--xs",s:"eui-showFor--s",m:"eui-showFor--m",l:"eui-showFor--l",xl:"eui-showFor--xl"};var RESPONSIVE_SIZES=Object.keys(responsiveSizesToClassNameMap);exports.RESPONSIVE_SIZES=RESPONSIVE_SIZES;var EuiShowFor=function EuiShowFor(_ref){var children=_ref.children,className=_ref.className,sizes=_ref.sizes,rest=_objectWithoutProperties(_ref,["children","className","sizes"]);var sizingClasses=sizes.map(function(item){return responsiveSizesToClassNameMap[item]});var classes=(0,_classnames.default)("euiShowFor",sizingClasses,className);return _react.default.createElement("span",_extends({className:classes},rest),children)};exports.EuiShowFor=EuiShowFor;EuiShowFor.propTypes={children:_propTypes.default.node,className:_propTypes.default.string,sizes:_propTypes.default.arrayOf(_propTypes.default.oneOf(RESPONSIVE_SIZES)).isRequired};EuiShowFor.__docgenInfo={description:"",methods:[],displayName:"EuiShowFor",props:{children:{type:{name:"node"},required:false,description:""},className:{type:{name:"string"},required:false,description:""},sizes:{type:{name:"arrayOf",value:{name:"enum",value:[{value:'"xs"',computed:false},{value:'"s"',computed:false},{value:'"m"',computed:false},{value:'"l"',computed:false},{value:'"xl"',computed:false}]}},required:true,description:"List of all the responsive sizes to show the children for"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiSeriesChart",{enumerable:true,get:function get(){return _series_chart.EuiSeriesChart}});Object.defineProperty(exports,"EuiSeriesChartUtils",{enumerable:true,get:function get(){return _series_chart.EuiSeriesChartUtils}});Object.defineProperty(exports,"EuiSeriesChartAxisUtils",{enumerable:true,get:function get(){return _series_chart.EuiSeriesChartAxisUtils}});Object.defineProperty(exports,"EuiSeriesChartTextUtils",{enumerable:true,get:function get(){return _series_chart.EuiSeriesChartTextUtils}});Object.defineProperty(exports,"EuiLineSeries",{enumerable:true,get:function get(){return _series_chart.EuiLineSeries}});Object.defineProperty(exports,"EuiAreaSeries",{enumerable:true,get:function get(){return _series_chart.EuiAreaSeries}});Object.defineProperty(exports,"EuiBarSeries",{enumerable:true,get:function get(){return _series_chart.EuiBarSeries}});Object.defineProperty(exports,"EuiHistogramSeries",{enumerable:true,get:function get(){return _series_chart.EuiHistogramSeries}});Object.defineProperty(exports,"EuiVerticalBarSeries",{enumerable:true,get:function get(){return _series_chart.EuiVerticalBarSeries}});Object.defineProperty(exports,"EuiHorizontalBarSeries",{enumerable:true,get:function get(){return _series_chart.EuiHorizontalBarSeries}});Object.defineProperty(exports,"EuiVerticalRectSeries",{enumerable:true,get:function get(){return _series_chart.EuiVerticalRectSeries}});Object.defineProperty(exports,"EuiHorizontalRectSeries",{enumerable:true,get:function get(){return _series_chart.EuiHorizontalRectSeries}});Object.defineProperty(exports,"EuiDefaultAxis",{enumerable:true,get:function get(){return _series_chart.EuiDefaultAxis}});Object.defineProperty(exports,"EuiXAxis",{enumerable:true,get:function get(){return _series_chart.EuiXAxis}});Object.defineProperty(exports,"EuiYAxis",{enumerable:true,get:function get(){return _series_chart.EuiYAxis}});Object.defineProperty(exports,"EuiCrosshairX",{enumerable:true,get:function get(){return _series_chart.EuiCrosshairX}});Object.defineProperty(exports,"EuiCrosshairY",{enumerable:true,get:function get(){return _series_chart.EuiCrosshairY}});Object.defineProperty(exports,"EuiLineAnnotation",{enumerable:true,get:function get(){return _series_chart.EuiLineAnnotation}});var _series_chart=__webpack_require__(1843)},function(module,exports,__webpack_require__){"use strict";__webpack_require__(3);__webpack_require__(4);__webpack_require__(2);Object.defineProperty(exports,"__esModule",{value:true});var _exportNames={EuiSeriesChart:true,EuiLineAnnotation:true};Object.defineProperty(exports,"EuiSeriesChart",{enumerable:true,get:function get(){return _series_chart.EuiSeriesChart}});Object.defineProperty(exports,"EuiLineAnnotation",{enumerable:true,get:function get(){return _line_annotation.EuiLineAnnotation}});var _series_chart=__webpack_require__(1844);var _line_annotation=__webpack_require__(1911);var _series=__webpack_require__(1912);Object.keys(_series).forEach(function(key){if("default"===key||"__esModule"===key)return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _series[key]}})});var _axis=__webpack_require__(1921);Object.keys(_axis).forEach(function(key){if("default"===key||"__esModule"===key)return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _axis[key]}})});var _utils=__webpack_require__(1922);Object.keys(_utils).forEach(function(key){if("default"===key||"__esModule"===key)return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _utils[key]}})});var _crosshairs=__webpack_require__(1925);Object.keys(_crosshairs).forEach(function(key){if("default"===key||"__esModule"===key)return;if(Object.prototype.hasOwnProperty.call(_exportNames,key))return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _crosshairs[key]}})})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSeriesChart=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireWildcard(__webpack_require__(0));var _classnames=_interopRequireDefault(__webpack_require__(6));var _reactVis=__webpack_require__(49);var _flexible=__webpack_require__(1909);var _propTypes=_interopRequireDefault(__webpack_require__(1));var _empty_prompt=__webpack_require__(715);var _selection_brush=__webpack_require__(1910);var _default_axis=__webpack_require__(767);var _crosshair_x=__webpack_require__(772);var _crosshair_y=__webpack_require__(774);var _services=__webpack_require__(25);var _chart_utils=__webpack_require__(97);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var HORIZONTAL=_chart_utils.ORIENTATION.HORIZONTAL,VERTICAL=_chart_utils.ORIENTATION.VERTICAL,BOTH=_chart_utils.ORIENTATION.BOTH;var LINEAR=_chart_utils.SCALE.LINEAR,ORDINAL=_chart_utils.SCALE.ORDINAL,CATEGORY=_chart_utils.SCALE.CATEGORY,TIME=_chart_utils.SCALE.TIME,TIME_UTC=_chart_utils.SCALE.TIME_UTC,LOG=_chart_utils.SCALE.LOG,LITERAL=_chart_utils.SCALE.LITERAL;var DEFAULT_MARGINS={left:40,right:10,top:10,bottom:40};var XYChart=function(_PureComponent){_inherits(XYChart,_PureComponent);function XYChart(){var _getPrototypeOf2;var _this;_classCallCheck(this,XYChart);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(XYChart)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"state",{mouseOver:false});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"colorIterator",0);_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_xyPlotRef",_react.default.createRef());_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_getSeriesNames",function(children){return _react.default.Children.toArray(children).filter(_this._isAbstractSeries).map(function(_ref){var name=_ref.props.name;return name})});return _this}_createClass(XYChart,[{key:"_isEmptyPlot",value:function _isEmptyPlot(children){return 0===_react.default.Children.toArray(children).filter(this._isAbstractSeries).filter(function(child){return child.props.data&&child.props.data.length>0}).length}},{key:"_isAbstractSeries",value:function _isAbstractSeries(child){var prototype=child.type.prototype;return prototype instanceof _reactVis.AbstractSeries}},{key:"_renderChildren",value:function _renderChildren(children){var _this2=this;var colorIterator=0;return _react.default.Children.map(children,function(child,i){if(!_this2._isAbstractSeries(child))return child;var props={id:"chart-".concat(i)};if(!child.props.color){props.color=_services.VISUALIZATION_COLORS[colorIterator%_services.VISUALIZATION_COLORS.length];colorIterator++}props._orientation=_this2.props.orientation;return _react.default.cloneElement(child,props)})}},{key:"render",value:function render(){var _this$props=this.props,children=_this$props.children,width=_this$props.width,height=_this$props.height,margins=_this$props.margins,xType=_this$props.xType,xCrosshairFormat=_this$props.xCrosshairFormat,yCrosshairFormat=_this$props.yCrosshairFormat,yType=_this$props.yType,stackBy=_this$props.stackBy,statusText=_this$props.statusText,xDomain=_this$props.xDomain,yDomain=_this$props.yDomain,yPadding=_this$props.yPadding,xPadding=_this$props.xPadding,animateData=_this$props.animateData,showDefaultAxis=_this$props.showDefaultAxis,showCrosshair=_this$props.showCrosshair,enableSelectionBrush=_this$props.enableSelectionBrush,selectionBrushOrientation=_this$props.selectionBrushOrientation,onSelectionBrushEnd=_this$props.onSelectionBrushEnd,orientation=_this$props.orientation,crosshairValue=_this$props.crosshairValue,onCrosshairUpdate=_this$props.onCrosshairUpdate,className=_this$props.className,rest=_objectWithoutProperties(_this$props,["children","width","height","margins","xType","xCrosshairFormat","yCrosshairFormat","yType","stackBy","statusText","xDomain","yDomain","yPadding","xPadding","animateData","showDefaultAxis","showCrosshair","enableSelectionBrush","selectionBrushOrientation","onSelectionBrushEnd","orientation","crosshairValue","onCrosshairUpdate","className"]);if(this._isEmptyPlot(children))return _react.default.createElement(_empty_prompt.EuiEmptyPrompt,{className:"euiSeriesChartContainer__emptyPrompt",iconType:"visualizeApp",title:_react.default.createElement("span",null,"Chart not available"),body:_react.default.createElement("p",null,statusText)});var Crosshair=orientation===HORIZONTAL?_crosshair_y.EuiCrosshairY:_crosshair_x.EuiCrosshairX;var seriesNames=this._getSeriesNames(children);var classes=(0,_classnames.default)(className,"euiSeriesChartContainer");return _react.default.createElement("div",_extends({className:classes},rest),_react.default.createElement(_reactVis.XYPlot,{ref:this._xyPlotRef,dontCheckIfEmpty:true,width:width,animation:animateData,height:height,margin:margins,xType:xType,yType:yType,xDomain:xDomain,yDomain:yDomain,stackBy:stackBy,yPadding:yPadding,xPadding:xPadding,style:{width:"100%",height:"100%"}},this._renderChildren(children),showDefaultAxis&&_react.default.createElement(_default_axis.EuiDefaultAxis,{orientation:orientation}),showCrosshair&&_react.default.createElement(Crosshair,{seriesNames:seriesNames,crosshairValue:crosshairValue,onCrosshairUpdate:onCrosshairUpdate,xCrosshairFormat:xCrosshairFormat,yCrosshairFormat:yCrosshairFormat}),enableSelectionBrush&&_react.default.createElement(_selection_brush.EuiSelectionBrush,{onBrushEnd:onSelectionBrushEnd,orientation:selectionBrushOrientation})))}}]);return XYChart}(_react.PureComponent);XYChart.displayName="EuiSeriesChart";XYChart.propTypes={width:_propTypes.default.number.isRequired,height:_propTypes.default.number.isRequired,orientation:_propTypes.default.oneOf([HORIZONTAL,VERTICAL]),animateData:_propTypes.default.bool,stackBy:_propTypes.default.string,xType:_propTypes.default.oneOf([LINEAR,ORDINAL,CATEGORY,TIME,TIME_UTC,LOG,LITERAL]),xCrosshairFormat:_propTypes.default.string,yCrosshairFormat:_propTypes.default.string,yType:_propTypes.default.oneOf([LINEAR,ORDINAL,CATEGORY,TIME,TIME_UTC,LOG,LITERAL]),xDomain:_propTypes.default.array,yDomain:_propTypes.default.array,xPadding:_propTypes.default.number,yPadding:_propTypes.default.number,statusText:_propTypes.default.string,showCrosshair:_propTypes.default.bool,crosshairValue:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number]),onCrosshairUpdate:_propTypes.default.func,showDefaultAxis:_propTypes.default.bool,enableSelectionBrush:_propTypes.default.bool,selectionBrushOrientation:_propTypes.default.oneOf([HORIZONTAL,VERTICAL,BOTH]),onSelectionBrushEnd:_propTypes.default.func};XYChart.defaultProps={animateData:true,xType:"linear",yType:"linear",yPadding:0,xPadding:0,orientation:VERTICAL,showCrosshair:true,showDefaultAxis:true,enableSelectionBrush:false,selectionBrushOrientation:HORIZONTAL,margins:DEFAULT_MARGINS};var EuiSeriesChart=(0,_flexible.makeFlexible)(XYChart);exports.EuiSeriesChart=EuiSeriesChart;XYChart.__docgenInfo={description:"The root component of any XY chart.\nIt renders an react-vis XYPlot including default axis and a valid crosshair.\nYou can also enable the Selection Brush.",methods:[{name:"_isEmptyPlot",docblock:"Checks if the plot is empty, looking at existing series and data props.",modifiers:[],params:[{name:"children"}],returns:null,description:"Checks if the plot is empty, looking at existing series and data props."},{name:"_isAbstractSeries",docblock:"Checks if a react child is an AbstractSeries",modifiers:[],params:[{name:"child"}],returns:null,description:"Checks if a react child is an AbstractSeries"},{name:"_renderChildren",docblock:"Render children adding a valid EUI visualization color if the color prop is not specified.",modifiers:[],params:[{name:"children"}],returns:null,description:"Render children adding a valid EUI visualization color if the color prop is not specified."},{name:"_getSeriesNames",docblock:null,modifiers:[],params:[{name:"children",type:null}],returns:null}],displayName:"EuiSeriesChart",props:{animateData:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"If the chart animates on data changes."},xType:{defaultValue:{value:"'linear'",computed:false},type:{name:"enum",value:[{value:"SCALE.LINEAR",computed:true},{value:"SCALE.ORDINAL",computed:true},{value:"SCALE.CATEGORY",computed:true},{value:"SCALE.TIME",computed:true},{value:"SCALE.TIME_UTC",computed:true},{value:"SCALE.LOG",computed:true},{value:"SCALE.LITERAL",computed:true}]},required:false,description:"The main x axis scale type. See https://github.com/uber/react-vis/blob/master/docs/scales-and-data.md"},yType:{defaultValue:{value:"'linear'",computed:false},type:{name:"enum",value:[{value:"SCALE.LINEAR",computed:true},{value:"SCALE.ORDINAL",computed:true},{value:"SCALE.CATEGORY",computed:true},{value:"SCALE.TIME",computed:true},{value:"SCALE.TIME_UTC",computed:true},{value:"SCALE.LOG",computed:true},{value:"SCALE.LITERAL",computed:true}]},required:false,description:"The main y axis scale type. See https://github.com/uber/react-vis/blob/master/docs/scales-and-data.md"},yPadding:{defaultValue:{value:"0",computed:false},type:{name:"number"},required:false,description:"The vertical padding between the chart borders and chart elements."},xPadding:{defaultValue:{value:"0",computed:false},type:{name:"number"},required:false,description:"The horizontal padding between the chart borders and chart elements."},orientation:{defaultValue:{value:"ORIENTATION.VERTICAL",computed:true},type:{name:"enum",value:[{value:"ORIENTATION.HORIZONTAL",computed:true},{value:"ORIENTATION.VERTICAL",computed:true}]},required:false,description:"**experimental** The orientation of the chart."},showCrosshair:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Shows the crosshair tooltip on mouse move."},showDefaultAxis:{defaultValue:{value:"true",computed:false},type:{name:"bool"},required:false,description:"Show the default X and Y axis."},enableSelectionBrush:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:"Enable the brush tool"},selectionBrushOrientation:{defaultValue:{value:"ORIENTATION.HORIZONTAL",computed:true},type:{name:"enum",value:[{value:"ORIENTATION.HORIZONTAL",computed:true},{value:"ORIENTATION.VERTICAL",computed:true},{value:"ORIENTATION.BOTH",computed:true}]},required:false,description:"Specify the brush orientation"},margins:{defaultValue:{value:"{\n  left: 40,\n  right: 10,\n  top: 10,\n  bottom: 40,\n}",computed:false},required:false},width:{type:{name:"number"},required:true,description:"The initial width of the chart."},height:{type:{name:"number"},required:true,description:"The initial height of the chart."},stackBy:{type:{name:"string"},required:false,description:"TODO"},xCrosshairFormat:{type:{name:"string"},required:false,description:"The formatting string for the X-axis."},yCrosshairFormat:{type:{name:"string"},required:false,description:"The formatting string for the Y-axis."},xDomain:{type:{name:"array"},required:false,description:"Manually specify the domain of x axis."},yDomain:{type:{name:"array"},required:false,description:"Manually specify the domain of y axis."},statusText:{type:{name:"string"},required:false,description:"Add an additional status text above the graph status message"},crosshairValue:{type:{name:"union",value:[{name:"string"},{name:"number"}]},required:false,description:"Specify the axis value where to display crosshair based on chart orientation value."},onCrosshairUpdate:{type:{name:"func"},required:false,description:"Callback when the crosshair position is updated."},onSelectionBrushEnd:{type:{name:"func"},required:false,description:"Callback on brush end event with { begin, end } object returned."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.FlexibleXYPlot=exports.FlexibleHeightXYPlot=exports.FlexibleWidthXYPlot=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();exports.makeHeightFlexible=makeHeightFlexible;exports.makeVisFlexible=makeVisFlexible;exports.makeWidthFlexible=makeWidthFlexible;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _window=__webpack_require__(1846);var _window2=_interopRequireDefault(_window);var _xyPlot=__webpack_require__(133);var _xyPlot2=_interopRequireDefault(_xyPlot);var _reactUtils=__webpack_require__(245);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var CONTAINER_REF="container";var resizeSubscribers=[];var DEBOUNCE_DURATION=100;var timeoutId=null;function debounceEmitResize(){_window2.default.clearTimeout(timeoutId);timeoutId=_window2.default.setTimeout(emitResize,DEBOUNCE_DURATION)}function emitResize(){resizeSubscribers.forEach(function(cb){return cb()})}function subscribeToDebouncedResize(cb){resizeSubscribers.push(cb);1===resizeSubscribers.length&&_window2.default.addEventListener("resize",debounceEmitResize);return function unsubscribe(){removeSubscriber(cb);if(0===resizeSubscribers.length){_window2.default.clearTimeout(timeoutId);_window2.default.removeEventListener("resize",debounceEmitResize)}}}function removeSubscriber(cb){var index=resizeSubscribers.indexOf(cb);index>-1&&resizeSubscribers.splice(index,1)}function getDisplayName(Component){return Component.displayName||Component.name||"Component"}function makeFlexible(Component,isWidthFlexible,isHeightFlexible){var ResultClass=function(_React$Component){_inherits(ResultClass,_React$Component);_createClass(ResultClass,null,[{key:"propTypes",get:function get(){var _Component$propTypes=Component.propTypes,otherPropTypes=(_Component$propTypes.height,_Component$propTypes.width,_objectWithoutProperties(_Component$propTypes,["height","width"]));return otherPropTypes}}]);function ResultClass(props){_classCallCheck(this,ResultClass);var _this=_possibleConstructorReturn(this,(ResultClass.__proto__||Object.getPrototypeOf(ResultClass)).call(this,props));_this.state={height:0,width:0};_this._onResize=_this._onResize.bind(_this);return _this}_createClass(ResultClass,[{key:"_onResize",value:function _onResize(){var containerElement=(0,_reactUtils.getDOMNode)(this[CONTAINER_REF]);var offsetHeight=containerElement.offsetHeight,offsetWidth=containerElement.offsetWidth;var newHeight=this.state.height===offsetHeight?{}:{height:offsetHeight};var newWidth=this.state.width===offsetWidth?{}:{width:offsetWidth};this.setState(_extends({},newHeight,newWidth))}},{key:"componentDidMount",value:function componentDidMount(){this._onResize();this.cancelSubscription=subscribeToDebouncedResize(this._onResize)}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(){this._onResize()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.cancelSubscription()}},{key:"render",value:function render(){var _this2=this;var _state=this.state,height=_state.height,width=_state.width;var props=_extends({},this.props,{animation:0===height&&0===width?null:this.props.animation});var updatedDimensions=_extends({},isHeightFlexible?{height:height}:{},isWidthFlexible?{width:width}:{});return _react2.default.createElement("div",{ref:function ref(_ref){return _this2[CONTAINER_REF]=_ref},style:{width:"100%",height:"100%"}},_react2.default.createElement(Component,_extends({},updatedDimensions,props)))}}]);return ResultClass}(_react2.default.Component);ResultClass.displayName="Flexible"+getDisplayName(Component);return ResultClass}function makeHeightFlexible(component){return makeFlexible(component,false,true)}function makeVisFlexible(component){return makeFlexible(component,true,true)}function makeWidthFlexible(component){return makeFlexible(component,true,false)}exports.FlexibleWidthXYPlot=makeWidthFlexible(_xyPlot2.default);exports.FlexibleHeightXYPlot=makeHeightFlexible(_xyPlot2.default);exports.FlexibleXYPlot=makeVisFlexible(_xyPlot2.default)},function(module,exports,__webpack_require__){(function(global){var win;win="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};module.exports=win}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);var ReactPropTypesSecret=__webpack_require__(1848);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){var pSlice=Array.prototype.slice;var objectKeys=__webpack_require__(1850);var isArguments=__webpack_require__(1851);var deepEqual=module.exports=function(actual,expected,opts){opts||(opts={});return actual===expected||(actual instanceof Date&&expected instanceof Date?actual.getTime()===expected.getTime():!actual||!expected||"object"!=typeof actual&&"object"!=typeof expected?opts.strict?actual===expected:actual==expected:objEquiv(actual,expected,opts))};function isUndefinedOrNull(value){return null===value||void 0===value}function isBuffer(x){if(!x||"object"!==typeof x||"number"!==typeof x.length)return false;if("function"!==typeof x.copy||"function"!==typeof x.slice)return false;if(x.length>0&&"number"!==typeof x[0])return false;return true}function objEquiv(a,b,opts){var i,key;if(isUndefinedOrNull(a)||isUndefinedOrNull(b))return false;if(a.prototype!==b.prototype)return false;if(isArguments(a)){if(!isArguments(b))return false;a=pSlice.call(a);b=pSlice.call(b);return deepEqual(a,b,opts)}if(isBuffer(a)){if(!isBuffer(b))return false;if(a.length!==b.length)return false;for(i=0;i<a.length;i++)if(a[i]!==b[i])return false;return true}try{var ka=objectKeys(a),kb=objectKeys(b)}catch(e){return false}if(ka.length!=kb.length)return false;ka.sort();kb.sort();for(i=ka.length-1;i>=0;i--)if(ka[i]!=kb[i])return false;for(i=ka.length-1;i>=0;i--){key=ka[i];if(!deepEqual(a[key],b[key],opts))return false}return typeof a===typeof b}},function(module,exports){exports=module.exports="function"===typeof Object.keys?Object.keys:shim;exports.shim=shim;function shim(obj){var keys=[];for(var key in obj)keys.push(key);return keys}},function(module,exports){var supportsArgumentsClass="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();exports=module.exports=supportsArgumentsClass?supported:unsupported;exports.supported=supported;function supported(object){return"[object Arguments]"==Object.prototype.toString.call(object)}exports.unsupported=unsupported;function unsupported(object){return object&&"object"==typeof object&&"number"==typeof object.length&&Object.prototype.hasOwnProperty.call(object,"callee")&&!Object.prototype.propertyIsEnumerable.call(object,"callee")||false}},function(module,exports,__webpack_require__){0,factory=function(exports,d3Time){"use strict";function localDate(d){if(0<=d.y&&d.y<100){var date=new Date(-1,d.m,d.d,d.H,d.M,d.S,d.L);date.setFullYear(d.y);return date}return new Date(d.y,d.m,d.d,d.H,d.M,d.S,d.L)}function utcDate(d){if(0<=d.y&&d.y<100){var date=new Date(Date.UTC(-1,d.m,d.d,d.H,d.M,d.S,d.L));date.setUTCFullYear(d.y);return date}return new Date(Date.UTC(d.y,d.m,d.d,d.H,d.M,d.S,d.L))}function newYear(y){return{y:y,m:0,d:1,H:0,M:0,S:0,L:0}}function formatLocale(locale){var locale_dateTime=locale.dateTime,locale_date=locale.date,locale_time=locale.time,locale_periods=locale.periods,locale_weekdays=locale.days,locale_shortWeekdays=locale.shortDays,locale_months=locale.months,locale_shortMonths=locale.shortMonths;var periodRe=formatRe(locale_periods),periodLookup=formatLookup(locale_periods),weekdayRe=formatRe(locale_weekdays),weekdayLookup=formatLookup(locale_weekdays),shortWeekdayRe=formatRe(locale_shortWeekdays),shortWeekdayLookup=formatLookup(locale_shortWeekdays),monthRe=formatRe(locale_months),monthLookup=formatLookup(locale_months),shortMonthRe=formatRe(locale_shortMonths),shortMonthLookup=formatLookup(locale_shortMonths);var formats={a:formatShortWeekday,A:formatWeekday,b:formatShortMonth,B:formatMonth,c:null,d:formatDayOfMonth,e:formatDayOfMonth,f:formatMicroseconds,H:formatHour24,I:formatHour12,j:formatDayOfYear,L:formatMilliseconds,m:formatMonthNumber,M:formatMinutes,p:formatPeriod,Q:formatUnixTimestamp,s:formatUnixTimestampSeconds,S:formatSeconds,u:formatWeekdayNumberMonday,U:formatWeekNumberSunday,V:formatWeekNumberISO,w:formatWeekdayNumberSunday,W:formatWeekNumberMonday,x:null,X:null,y:formatYear,Y:formatFullYear,Z:formatZone,"%":formatLiteralPercent};var utcFormats={a:formatUTCShortWeekday,A:formatUTCWeekday,b:formatUTCShortMonth,B:formatUTCMonth,c:null,d:formatUTCDayOfMonth,e:formatUTCDayOfMonth,f:formatUTCMicroseconds,H:formatUTCHour24,I:formatUTCHour12,j:formatUTCDayOfYear,L:formatUTCMilliseconds,m:formatUTCMonthNumber,M:formatUTCMinutes,p:formatUTCPeriod,Q:formatUnixTimestamp,s:formatUnixTimestampSeconds,S:formatUTCSeconds,u:formatUTCWeekdayNumberMonday,U:formatUTCWeekNumberSunday,V:formatUTCWeekNumberISO,w:formatUTCWeekdayNumberSunday,W:formatUTCWeekNumberMonday,x:null,X:null,y:formatUTCYear,Y:formatUTCFullYear,Z:formatUTCZone,"%":formatLiteralPercent};var parses={a:parseShortWeekday,A:parseWeekday,b:parseShortMonth,B:parseMonth,c:parseLocaleDateTime,d:parseDayOfMonth,e:parseDayOfMonth,f:parseMicroseconds,H:parseHour24,I:parseHour24,j:parseDayOfYear,L:parseMilliseconds,m:parseMonthNumber,M:parseMinutes,p:parsePeriod,Q:parseUnixTimestamp,s:parseUnixTimestampSeconds,S:parseSeconds,u:parseWeekdayNumberMonday,U:parseWeekNumberSunday,V:parseWeekNumberISO,w:parseWeekdayNumberSunday,W:parseWeekNumberMonday,x:parseLocaleDate,X:parseLocaleTime,y:parseYear,Y:parseFullYear,Z:parseZone,"%":parseLiteralPercent};formats.x=newFormat(locale_date,formats);formats.X=newFormat(locale_time,formats);formats.c=newFormat(locale_dateTime,formats);utcFormats.x=newFormat(locale_date,utcFormats);utcFormats.X=newFormat(locale_time,utcFormats);utcFormats.c=newFormat(locale_dateTime,utcFormats);function newFormat(specifier,formats){return function(date){var c,pad,format,string=[],i=-1,j=0,n=specifier.length;date instanceof Date||(date=new Date(+date));while(++i<n)if(37===specifier.charCodeAt(i)){string.push(specifier.slice(j,i));null!=(pad=pads[c=specifier.charAt(++i)])?c=specifier.charAt(++i):pad="e"===c?" ":"0";(format=formats[c])&&(c=format(date,pad));string.push(c);j=i+1}string.push(specifier.slice(j,i));return string.join("")}}function newParse(specifier,newDate){return function(string){var week,day,d=newYear(1900),i=parseSpecifier(d,specifier,string+="",0);if(i!=string.length)return null;if("Q"in d)return new Date(d.Q);"p"in d&&(d.H=d.H%12+12*d.p);if("V"in d){if(d.V<1||d.V>53)return null;"w"in d||(d.w=1);if("Z"in d){week=utcDate(newYear(d.y)),day=week.getUTCDay();week=day>4||0===day?d3Time.utcMonday.ceil(week):d3Time.utcMonday(week);week=d3Time.utcDay.offset(week,7*(d.V-1));d.y=week.getUTCFullYear();d.m=week.getUTCMonth();d.d=week.getUTCDate()+(d.w+6)%7}else{week=newDate(newYear(d.y)),day=week.getDay();week=day>4||0===day?d3Time.timeMonday.ceil(week):d3Time.timeMonday(week);week=d3Time.timeDay.offset(week,7*(d.V-1));d.y=week.getFullYear();d.m=week.getMonth();d.d=week.getDate()+(d.w+6)%7}}else if("W"in d||"U"in d){"w"in d||(d.w="u"in d?d.u%7:"W"in d?1:0);day="Z"in d?utcDate(newYear(d.y)).getUTCDay():newDate(newYear(d.y)).getDay();d.m=0;d.d="W"in d?(d.w+6)%7+7*d.W-(day+5)%7:d.w+7*d.U-(day+6)%7}if("Z"in d){d.H+=d.Z/100|0;d.M+=d.Z%100;return utcDate(d)}return newDate(d)}}function parseSpecifier(d,specifier,string,j){var c,parse,i=0,n=specifier.length,m=string.length;while(i<n){if(j>=m)return-1;c=specifier.charCodeAt(i++);if(37===c){c=specifier.charAt(i++);parse=parses[c in pads?specifier.charAt(i++):c];if(!parse||(j=parse(d,string,j))<0)return-1}else if(c!=string.charCodeAt(j++))return-1}return j}function parsePeriod(d,string,i){var n=periodRe.exec(string.slice(i));return n?(d.p=periodLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseShortWeekday(d,string,i){var n=shortWeekdayRe.exec(string.slice(i));return n?(d.w=shortWeekdayLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseWeekday(d,string,i){var n=weekdayRe.exec(string.slice(i));return n?(d.w=weekdayLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseShortMonth(d,string,i){var n=shortMonthRe.exec(string.slice(i));return n?(d.m=shortMonthLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseMonth(d,string,i){var n=monthRe.exec(string.slice(i));return n?(d.m=monthLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseLocaleDateTime(d,string,i){return parseSpecifier(d,locale_dateTime,string,i)}function parseLocaleDate(d,string,i){return parseSpecifier(d,locale_date,string,i)}function parseLocaleTime(d,string,i){return parseSpecifier(d,locale_time,string,i)}function formatShortWeekday(d){return locale_shortWeekdays[d.getDay()]}function formatWeekday(d){return locale_weekdays[d.getDay()]}function formatShortMonth(d){return locale_shortMonths[d.getMonth()]}function formatMonth(d){return locale_months[d.getMonth()]}function formatPeriod(d){return locale_periods[+(d.getHours()>=12)]}function formatUTCShortWeekday(d){return locale_shortWeekdays[d.getUTCDay()]}function formatUTCWeekday(d){return locale_weekdays[d.getUTCDay()]}function formatUTCShortMonth(d){return locale_shortMonths[d.getUTCMonth()]}function formatUTCMonth(d){return locale_months[d.getUTCMonth()]}function formatUTCPeriod(d){return locale_periods[+(d.getUTCHours()>=12)]}return{format:function(specifier){var f=newFormat(specifier+="",formats);f.toString=function(){return specifier};return f},parse:function(specifier){var p=newParse(specifier+="",localDate);p.toString=function(){return specifier};return p},utcFormat:function(specifier){var f=newFormat(specifier+="",utcFormats);f.toString=function(){return specifier};return f},utcParse:function(specifier){var p=newParse(specifier,utcDate);p.toString=function(){return specifier};return p}}}var pads={"-":"",_:" ",0:"0"};var numberRe=/^\s*\d+/;var percentRe=/^%/;var requoteRe=/[\\^$*+?|[\]().{}]/g;function pad(value,fill,width){var sign=value<0?"-":"",string=(sign?-value:value)+"",length=string.length;return sign+(length<width?new Array(width-length+1).join(fill)+string:string)}function requote(s){return s.replace(requoteRe,"\\$&")}function formatRe(names){return new RegExp("^(?:"+names.map(requote).join("|")+")","i")}function formatLookup(names){var map={},i=-1,n=names.length;while(++i<n)map[names[i].toLowerCase()]=i;return map}function parseWeekdayNumberSunday(d,string,i){var n=numberRe.exec(string.slice(i,i+1));return n?(d.w=+n[0],i+n[0].length):-1}function parseWeekdayNumberMonday(d,string,i){var n=numberRe.exec(string.slice(i,i+1));return n?(d.u=+n[0],i+n[0].length):-1}function parseWeekNumberSunday(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.U=+n[0],i+n[0].length):-1}function parseWeekNumberISO(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.V=+n[0],i+n[0].length):-1}function parseWeekNumberMonday(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.W=+n[0],i+n[0].length):-1}function parseFullYear(d,string,i){var n=numberRe.exec(string.slice(i,i+4));return n?(d.y=+n[0],i+n[0].length):-1}function parseYear(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.y=+n[0]+(+n[0]>68?1900:2e3),i+n[0].length):-1}function parseZone(d,string,i){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(string.slice(i,i+6));return n?(d.Z=n[1]?0:-(n[2]+(n[3]||"00")),i+n[0].length):-1}function parseMonthNumber(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.m=n[0]-1,i+n[0].length):-1}function parseDayOfMonth(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.d=+n[0],i+n[0].length):-1}function parseDayOfYear(d,string,i){var n=numberRe.exec(string.slice(i,i+3));return n?(d.m=0,d.d=+n[0],i+n[0].length):-1}function parseHour24(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.H=+n[0],i+n[0].length):-1}function parseMinutes(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.M=+n[0],i+n[0].length):-1}function parseSeconds(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.S=+n[0],i+n[0].length):-1}function parseMilliseconds(d,string,i){var n=numberRe.exec(string.slice(i,i+3));return n?(d.L=+n[0],i+n[0].length):-1}function parseMicroseconds(d,string,i){var n=numberRe.exec(string.slice(i,i+6));return n?(d.L=Math.floor(n[0]/1e3),i+n[0].length):-1}function parseLiteralPercent(d,string,i){var n=percentRe.exec(string.slice(i,i+1));return n?i+n[0].length:-1}function parseUnixTimestamp(d,string,i){var n=numberRe.exec(string.slice(i));return n?(d.Q=+n[0],i+n[0].length):-1}function parseUnixTimestampSeconds(d,string,i){var n=numberRe.exec(string.slice(i));return n?(d.Q=1e3*+n[0],i+n[0].length):-1}function formatDayOfMonth(d,p){return pad(d.getDate(),p,2)}function formatHour24(d,p){return pad(d.getHours(),p,2)}function formatHour12(d,p){return pad(d.getHours()%12||12,p,2)}function formatDayOfYear(d,p){return pad(1+d3Time.timeDay.count(d3Time.timeYear(d),d),p,3)}function formatMilliseconds(d,p){return pad(d.getMilliseconds(),p,3)}function formatMicroseconds(d,p){return formatMilliseconds(d,p)+"000"}function formatMonthNumber(d,p){return pad(d.getMonth()+1,p,2)}function formatMinutes(d,p){return pad(d.getMinutes(),p,2)}function formatSeconds(d,p){return pad(d.getSeconds(),p,2)}function formatWeekdayNumberMonday(d){var day=d.getDay();return 0===day?7:day}function formatWeekNumberSunday(d,p){return pad(d3Time.timeSunday.count(d3Time.timeYear(d),d),p,2)}function formatWeekNumberISO(d,p){var day=d.getDay();d=day>=4||0===day?d3Time.timeThursday(d):d3Time.timeThursday.ceil(d);return pad(d3Time.timeThursday.count(d3Time.timeYear(d),d)+(4===d3Time.timeYear(d).getDay()),p,2)}function formatWeekdayNumberSunday(d){return d.getDay()}function formatWeekNumberMonday(d,p){return pad(d3Time.timeMonday.count(d3Time.timeYear(d),d),p,2)}function formatYear(d,p){return pad(d.getFullYear()%100,p,2)}function formatFullYear(d,p){return pad(d.getFullYear()%1e4,p,4)}function formatZone(d){var z=d.getTimezoneOffset();return(z>0?"-":(z*=-1,"+"))+pad(z/60|0,"0",2)+pad(z%60,"0",2)}function formatUTCDayOfMonth(d,p){return pad(d.getUTCDate(),p,2)}function formatUTCHour24(d,p){return pad(d.getUTCHours(),p,2)}function formatUTCHour12(d,p){return pad(d.getUTCHours()%12||12,p,2)}function formatUTCDayOfYear(d,p){return pad(1+d3Time.utcDay.count(d3Time.utcYear(d),d),p,3)}function formatUTCMilliseconds(d,p){return pad(d.getUTCMilliseconds(),p,3)}function formatUTCMicroseconds(d,p){return formatUTCMilliseconds(d,p)+"000"}function formatUTCMonthNumber(d,p){return pad(d.getUTCMonth()+1,p,2)}function formatUTCMinutes(d,p){return pad(d.getUTCMinutes(),p,2)}function formatUTCSeconds(d,p){return pad(d.getUTCSeconds(),p,2)}function formatUTCWeekdayNumberMonday(d){var dow=d.getUTCDay();return 0===dow?7:dow}function formatUTCWeekNumberSunday(d,p){return pad(d3Time.utcSunday.count(d3Time.utcYear(d),d),p,2)}function formatUTCWeekNumberISO(d,p){var day=d.getUTCDay();d=day>=4||0===day?d3Time.utcThursday(d):d3Time.utcThursday.ceil(d);return pad(d3Time.utcThursday.count(d3Time.utcYear(d),d)+(4===d3Time.utcYear(d).getUTCDay()),p,2)}function formatUTCWeekdayNumberSunday(d){return d.getUTCDay()}function formatUTCWeekNumberMonday(d,p){return pad(d3Time.utcMonday.count(d3Time.utcYear(d),d),p,2)}function formatUTCYear(d,p){return pad(d.getUTCFullYear()%100,p,2)}function formatUTCFullYear(d,p){return pad(d.getUTCFullYear()%1e4,p,4)}function formatUTCZone(){return"+0000"}function formatLiteralPercent(){return"%"}function formatUnixTimestamp(d){return+d}function formatUnixTimestampSeconds(d){return Math.floor(+d/1e3)}var locale;defaultLocale({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",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 defaultLocale(definition){locale=formatLocale(definition);exports.timeFormat=locale.format;exports.timeParse=locale.parse;exports.utcFormat=locale.utcFormat;exports.utcParse=locale.utcParse;return locale}var isoSpecifier="%Y-%m-%dT%H:%M:%S.%LZ";function formatIsoNative(date){return date.toISOString()}var formatIso=Date.prototype.toISOString?formatIsoNative:exports.utcFormat(isoSpecifier);function parseIsoNative(string){var date=new Date(string);return isNaN(date)?null:date}var parseIso=+new Date("2000-01-01T00:00:00.000Z")?parseIsoNative:exports.utcParse(isoSpecifier);exports.timeFormatDefaultLocale=defaultLocale;exports.timeFormatLocale=formatLocale;exports.isoFormat=formatIso;exports.isoParse=parseIso;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports,__webpack_require__(753));var factory},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getUniquePropertyValues=getUniquePropertyValues;exports.addValueToArray=addValueToArray;function getUniquePropertyValues(arr,accessor){var setOfValues=new Set(arr.map(accessor));return Array.from(setOfValues)}function addValueToArray(arr,value){var result=[].concat(arr);result[0]>value&&(result[0]=value);result[result.length-1]<value&&(result[result.length-1]=value);return result}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;function _interopRequire(obj){return obj&&obj.__esModule?obj["default"]:obj}var _Motion=__webpack_require__(1855);exports.Motion=_interopRequire(_Motion);var _StaggeredMotion=__webpack_require__(1859);exports.StaggeredMotion=_interopRequire(_StaggeredMotion);var _TransitionMotion=__webpack_require__(1860);exports.TransitionMotion=_interopRequire(_TransitionMotion);var _spring=__webpack_require__(1862);exports.spring=_interopRequire(_spring);var _presets=__webpack_require__(755);exports.presets=_interopRequire(_presets);var _stripStyle=__webpack_require__(318);exports.stripStyle=_interopRequire(_stripStyle);var _reorderKeys=__webpack_require__(1863);exports.reorderKeys=_interopRequire(_reorderKeys)},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _mapToZero=__webpack_require__(443);var _mapToZero2=_interopRequireDefault(_mapToZero);var _stripStyle=__webpack_require__(318);var _stripStyle2=_interopRequireDefault(_stripStyle);var _stepper3=__webpack_require__(444);var _stepper4=_interopRequireDefault(_stepper3);var _performanceNow=__webpack_require__(445);var _performanceNow2=_interopRequireDefault(_performanceNow);var _raf=__webpack_require__(446);var _raf2=_interopRequireDefault(_raf);var _shouldStopAnimation=__webpack_require__(447);var _shouldStopAnimation2=_interopRequireDefault(_shouldStopAnimation);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(448);var _propTypes2=_interopRequireDefault(_propTypes);var msPerFrame=1e3/60;var Motion=function(_React$Component){_inherits(Motion,_React$Component);_createClass(Motion,null,[{key:"propTypes",value:{defaultStyle:_propTypes2["default"].objectOf(_propTypes2["default"].number),style:_propTypes2["default"].objectOf(_propTypes2["default"].oneOfType([_propTypes2["default"].number,_propTypes2["default"].object])).isRequired,children:_propTypes2["default"].func.isRequired,onRest:_propTypes2["default"].func},enumerable:true}]);function Motion(props){var _this=this;_classCallCheck(this,Motion);_React$Component.call(this,props);this.wasAnimating=false;this.animationID=null;this.prevTime=0;this.accumulatedTime=0;this.unreadPropStyle=null;this.clearUnreadPropStyle=function(destStyle){var dirty=false;var _state=_this.state;var currentStyle=_state.currentStyle;var currentVelocity=_state.currentVelocity;var lastIdealStyle=_state.lastIdealStyle;var lastIdealVelocity=_state.lastIdealVelocity;for(var key in destStyle){if(!Object.prototype.hasOwnProperty.call(destStyle,key))continue;var styleValue=destStyle[key];if("number"===typeof styleValue){if(!dirty){dirty=true;currentStyle=_extends({},currentStyle);currentVelocity=_extends({},currentVelocity);lastIdealStyle=_extends({},lastIdealStyle);lastIdealVelocity=_extends({},lastIdealVelocity)}currentStyle[key]=styleValue;currentVelocity[key]=0;lastIdealStyle[key]=styleValue;lastIdealVelocity[key]=0}}dirty&&_this.setState({currentStyle:currentStyle,currentVelocity:currentVelocity,lastIdealStyle:lastIdealStyle,lastIdealVelocity:lastIdealVelocity})};this.startAnimationIfNecessary=function(){_this.animationID=_raf2["default"](function(timestamp){var propsStyle=_this.props.style;if(_shouldStopAnimation2["default"](_this.state.currentStyle,propsStyle,_this.state.currentVelocity)){_this.wasAnimating&&_this.props.onRest&&_this.props.onRest();_this.animationID=null;_this.wasAnimating=false;_this.accumulatedTime=0;return}_this.wasAnimating=true;var currentTime=timestamp||_performanceNow2["default"]();var timeDelta=currentTime-_this.prevTime;_this.prevTime=currentTime;_this.accumulatedTime=_this.accumulatedTime+timeDelta;_this.accumulatedTime>10*msPerFrame&&(_this.accumulatedTime=0);if(0===_this.accumulatedTime){_this.animationID=null;_this.startAnimationIfNecessary();return}var currentFrameCompletion=(_this.accumulatedTime-Math.floor(_this.accumulatedTime/msPerFrame)*msPerFrame)/msPerFrame;var framesToCatchUp=Math.floor(_this.accumulatedTime/msPerFrame);var newLastIdealStyle={};var newLastIdealVelocity={};var newCurrentStyle={};var newCurrentVelocity={};for(var key in propsStyle){if(!Object.prototype.hasOwnProperty.call(propsStyle,key))continue;var styleValue=propsStyle[key];if("number"===typeof styleValue){newCurrentStyle[key]=styleValue;newCurrentVelocity[key]=0;newLastIdealStyle[key]=styleValue;newLastIdealVelocity[key]=0}else{var newLastIdealStyleValue=_this.state.lastIdealStyle[key];var newLastIdealVelocityValue=_this.state.lastIdealVelocity[key];for(var i=0;i<framesToCatchUp;i++){var _stepper=_stepper4["default"](msPerFrame/1e3,newLastIdealStyleValue,newLastIdealVelocityValue,styleValue.val,styleValue.stiffness,styleValue.damping,styleValue.precision);newLastIdealStyleValue=_stepper[0];newLastIdealVelocityValue=_stepper[1]}var _stepper2=_stepper4["default"](msPerFrame/1e3,newLastIdealStyleValue,newLastIdealVelocityValue,styleValue.val,styleValue.stiffness,styleValue.damping,styleValue.precision);var nextIdealX=_stepper2[0];var nextIdealV=_stepper2[1];newCurrentStyle[key]=newLastIdealStyleValue+(nextIdealX-newLastIdealStyleValue)*currentFrameCompletion;newCurrentVelocity[key]=newLastIdealVelocityValue+(nextIdealV-newLastIdealVelocityValue)*currentFrameCompletion;newLastIdealStyle[key]=newLastIdealStyleValue;newLastIdealVelocity[key]=newLastIdealVelocityValue}}_this.animationID=null;_this.accumulatedTime-=framesToCatchUp*msPerFrame;_this.setState({currentStyle:newCurrentStyle,currentVelocity:newCurrentVelocity,lastIdealStyle:newLastIdealStyle,lastIdealVelocity:newLastIdealVelocity});_this.unreadPropStyle=null;_this.startAnimationIfNecessary()})};this.state=this.defaultState()}Motion.prototype.defaultState=function defaultState(){var _props=this.props;var defaultStyle=_props.defaultStyle;var style=_props.style;var currentStyle=defaultStyle||_stripStyle2["default"](style);var currentVelocity=_mapToZero2["default"](currentStyle);return{currentStyle:currentStyle,currentVelocity:currentVelocity,lastIdealStyle:currentStyle,lastIdealVelocity:currentVelocity}};Motion.prototype.componentDidMount=function componentDidMount(){this.prevTime=_performanceNow2["default"]();this.startAnimationIfNecessary()};Motion.prototype.componentWillReceiveProps=function componentWillReceiveProps(props){null!=this.unreadPropStyle&&this.clearUnreadPropStyle(this.unreadPropStyle);this.unreadPropStyle=props.style;if(null==this.animationID){this.prevTime=_performanceNow2["default"]();this.startAnimationIfNecessary()}};Motion.prototype.componentWillUnmount=function componentWillUnmount(){if(null!=this.animationID){_raf2["default"].cancel(this.animationID);this.animationID=null}};Motion.prototype.render=function render(){var renderedChildren=this.props.children(this.state.currentStyle);return renderedChildren&&_react2["default"].Children.only(renderedChildren)};return Motion}(_react2["default"].Component);exports["default"]=Motion;module.exports=exports["default"]},function(module,exports,__webpack_require__){(function(process){(function(){var getNanoSeconds,hrtime,loadTime,moduleLoadTime,nodeLoadTime,upTime;if("undefined"!==typeof performance&&null!==performance&&performance.now)module.exports=function(){return performance.now()};else if("undefined"!==typeof process&&null!==process&&process.hrtime){module.exports=function(){return(getNanoSeconds()-nodeLoadTime)/1e6};hrtime=process.hrtime;getNanoSeconds=function(){var hr;hr=hrtime();return 1e9*hr[0]+hr[1]};moduleLoadTime=getNanoSeconds();upTime=1e9*process.uptime();nodeLoadTime=moduleLoadTime-upTime}else if(Date.now){module.exports=function(){return Date.now()-loadTime};loadTime=Date.now()}else{module.exports=function(){return(new Date).getTime()-loadTime};loadTime=(new Date).getTime()}}).call(this)}).call(this,__webpack_require__(59))},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);var ReactPropTypesSecret=__webpack_require__(1858);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _mapToZero=__webpack_require__(443);var _mapToZero2=_interopRequireDefault(_mapToZero);var _stripStyle=__webpack_require__(318);var _stripStyle2=_interopRequireDefault(_stripStyle);var _stepper3=__webpack_require__(444);var _stepper4=_interopRequireDefault(_stepper3);var _performanceNow=__webpack_require__(445);var _performanceNow2=_interopRequireDefault(_performanceNow);var _raf=__webpack_require__(446);var _raf2=_interopRequireDefault(_raf);var _shouldStopAnimation=__webpack_require__(447);var _shouldStopAnimation2=_interopRequireDefault(_shouldStopAnimation);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(448);var _propTypes2=_interopRequireDefault(_propTypes);var msPerFrame=1e3/60;function shouldStopAnimationAll(currentStyles,styles,currentVelocities){for(var i=0;i<currentStyles.length;i++)if(!_shouldStopAnimation2["default"](currentStyles[i],styles[i],currentVelocities[i]))return false;return true}var StaggeredMotion=function(_React$Component){_inherits(StaggeredMotion,_React$Component);_createClass(StaggeredMotion,null,[{key:"propTypes",value:{defaultStyles:_propTypes2["default"].arrayOf(_propTypes2["default"].objectOf(_propTypes2["default"].number)),styles:_propTypes2["default"].func.isRequired,children:_propTypes2["default"].func.isRequired},enumerable:true}]);function StaggeredMotion(props){var _this=this;_classCallCheck(this,StaggeredMotion);_React$Component.call(this,props);this.animationID=null;this.prevTime=0;this.accumulatedTime=0;this.unreadPropStyles=null;this.clearUnreadPropStyle=function(unreadPropStyles){var _state=_this.state;var currentStyles=_state.currentStyles;var currentVelocities=_state.currentVelocities;var lastIdealStyles=_state.lastIdealStyles;var lastIdealVelocities=_state.lastIdealVelocities;var someDirty=false;for(var i=0;i<unreadPropStyles.length;i++){var unreadPropStyle=unreadPropStyles[i];var dirty=false;for(var key in unreadPropStyle){if(!Object.prototype.hasOwnProperty.call(unreadPropStyle,key))continue;var styleValue=unreadPropStyle[key];if("number"===typeof styleValue){if(!dirty){dirty=true;someDirty=true;currentStyles[i]=_extends({},currentStyles[i]);currentVelocities[i]=_extends({},currentVelocities[i]);lastIdealStyles[i]=_extends({},lastIdealStyles[i]);lastIdealVelocities[i]=_extends({},lastIdealVelocities[i])}currentStyles[i][key]=styleValue;currentVelocities[i][key]=0;lastIdealStyles[i][key]=styleValue;lastIdealVelocities[i][key]=0}}}someDirty&&_this.setState({currentStyles:currentStyles,currentVelocities:currentVelocities,lastIdealStyles:lastIdealStyles,lastIdealVelocities:lastIdealVelocities})};this.startAnimationIfNecessary=function(){_this.animationID=_raf2["default"](function(timestamp){var destStyles=_this.props.styles(_this.state.lastIdealStyles);if(shouldStopAnimationAll(_this.state.currentStyles,destStyles,_this.state.currentVelocities)){_this.animationID=null;_this.accumulatedTime=0;return}var currentTime=timestamp||_performanceNow2["default"]();var timeDelta=currentTime-_this.prevTime;_this.prevTime=currentTime;_this.accumulatedTime=_this.accumulatedTime+timeDelta;_this.accumulatedTime>10*msPerFrame&&(_this.accumulatedTime=0);if(0===_this.accumulatedTime){_this.animationID=null;_this.startAnimationIfNecessary();return}var currentFrameCompletion=(_this.accumulatedTime-Math.floor(_this.accumulatedTime/msPerFrame)*msPerFrame)/msPerFrame;var framesToCatchUp=Math.floor(_this.accumulatedTime/msPerFrame);var newLastIdealStyles=[];var newLastIdealVelocities=[];var newCurrentStyles=[];var newCurrentVelocities=[];for(var i=0;i<destStyles.length;i++){var destStyle=destStyles[i];var newCurrentStyle={};var newCurrentVelocity={};var newLastIdealStyle={};var newLastIdealVelocity={};for(var key in destStyle){if(!Object.prototype.hasOwnProperty.call(destStyle,key))continue;var styleValue=destStyle[key];if("number"===typeof styleValue){newCurrentStyle[key]=styleValue;newCurrentVelocity[key]=0;newLastIdealStyle[key]=styleValue;newLastIdealVelocity[key]=0}else{var newLastIdealStyleValue=_this.state.lastIdealStyles[i][key];var newLastIdealVelocityValue=_this.state.lastIdealVelocities[i][key];for(var j=0;j<framesToCatchUp;j++){var _stepper=_stepper4["default"](msPerFrame/1e3,newLastIdealStyleValue,newLastIdealVelocityValue,styleValue.val,styleValue.stiffness,styleValue.damping,styleValue.precision);newLastIdealStyleValue=_stepper[0];newLastIdealVelocityValue=_stepper[1]}var _stepper2=_stepper4["default"](msPerFrame/1e3,newLastIdealStyleValue,newLastIdealVelocityValue,styleValue.val,styleValue.stiffness,styleValue.damping,styleValue.precision);var nextIdealX=_stepper2[0];var nextIdealV=_stepper2[1];newCurrentStyle[key]=newLastIdealStyleValue+(nextIdealX-newLastIdealStyleValue)*currentFrameCompletion;newCurrentVelocity[key]=newLastIdealVelocityValue+(nextIdealV-newLastIdealVelocityValue)*currentFrameCompletion;newLastIdealStyle[key]=newLastIdealStyleValue;newLastIdealVelocity[key]=newLastIdealVelocityValue}}newCurrentStyles[i]=newCurrentStyle;newCurrentVelocities[i]=newCurrentVelocity;newLastIdealStyles[i]=newLastIdealStyle;newLastIdealVelocities[i]=newLastIdealVelocity}_this.animationID=null;_this.accumulatedTime-=framesToCatchUp*msPerFrame;_this.setState({currentStyles:newCurrentStyles,currentVelocities:newCurrentVelocities,lastIdealStyles:newLastIdealStyles,lastIdealVelocities:newLastIdealVelocities});_this.unreadPropStyles=null;_this.startAnimationIfNecessary()})};this.state=this.defaultState()}StaggeredMotion.prototype.defaultState=function defaultState(){var _props=this.props;var defaultStyles=_props.defaultStyles;var styles=_props.styles;var currentStyles=defaultStyles||styles().map(_stripStyle2["default"]);var currentVelocities=currentStyles.map(function(currentStyle){return _mapToZero2["default"](currentStyle)});return{currentStyles:currentStyles,currentVelocities:currentVelocities,lastIdealStyles:currentStyles,lastIdealVelocities:currentVelocities}};StaggeredMotion.prototype.componentDidMount=function componentDidMount(){this.prevTime=_performanceNow2["default"]();this.startAnimationIfNecessary()};StaggeredMotion.prototype.componentWillReceiveProps=function componentWillReceiveProps(props){null!=this.unreadPropStyles&&this.clearUnreadPropStyle(this.unreadPropStyles);this.unreadPropStyles=props.styles(this.state.lastIdealStyles);if(null==this.animationID){this.prevTime=_performanceNow2["default"]();this.startAnimationIfNecessary()}};StaggeredMotion.prototype.componentWillUnmount=function componentWillUnmount(){if(null!=this.animationID){_raf2["default"].cancel(this.animationID);this.animationID=null}};StaggeredMotion.prototype.render=function render(){var renderedChildren=this.props.children(this.state.currentStyles);return renderedChildren&&_react2["default"].Children.only(renderedChildren)};return StaggeredMotion}(_react2["default"].Component);exports["default"]=StaggeredMotion;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _mapToZero=__webpack_require__(443);var _mapToZero2=_interopRequireDefault(_mapToZero);var _stripStyle=__webpack_require__(318);var _stripStyle2=_interopRequireDefault(_stripStyle);var _stepper3=__webpack_require__(444);var _stepper4=_interopRequireDefault(_stepper3);var _mergeDiff=__webpack_require__(1861);var _mergeDiff2=_interopRequireDefault(_mergeDiff);var _performanceNow=__webpack_require__(445);var _performanceNow2=_interopRequireDefault(_performanceNow);var _raf=__webpack_require__(446);var _raf2=_interopRequireDefault(_raf);var _shouldStopAnimation=__webpack_require__(447);var _shouldStopAnimation2=_interopRequireDefault(_shouldStopAnimation);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(448);var _propTypes2=_interopRequireDefault(_propTypes);var msPerFrame=1e3/60;function rehydrateStyles(mergedPropsStyles,unreadPropStyles,plainStyles){var cUnreadPropStyles=unreadPropStyles;if(null==cUnreadPropStyles)return mergedPropsStyles.map(function(mergedPropsStyle,i){return{key:mergedPropsStyle.key,data:mergedPropsStyle.data,style:plainStyles[i]}});return mergedPropsStyles.map(function(mergedPropsStyle,i){for(var j=0;j<cUnreadPropStyles.length;j++)if(cUnreadPropStyles[j].key===mergedPropsStyle.key)return{key:cUnreadPropStyles[j].key,data:cUnreadPropStyles[j].data,style:plainStyles[i]};return{key:mergedPropsStyle.key,data:mergedPropsStyle.data,style:plainStyles[i]}})}function shouldStopAnimationAll(currentStyles,destStyles,currentVelocities,mergedPropsStyles){if(mergedPropsStyles.length!==destStyles.length)return false;for(var i=0;i<mergedPropsStyles.length;i++)if(mergedPropsStyles[i].key!==destStyles[i].key)return false;for(i=0;i<mergedPropsStyles.length;i++)if(!_shouldStopAnimation2["default"](currentStyles[i],destStyles[i].style,currentVelocities[i]))return false;return true}function mergeAndSync(willEnter,willLeave,didLeave,oldMergedPropsStyles,destStyles,oldCurrentStyles,oldCurrentVelocities,oldLastIdealStyles,oldLastIdealVelocities){var newMergedPropsStyles=_mergeDiff2["default"](oldMergedPropsStyles,destStyles,function(oldIndex,oldMergedPropsStyle){var leavingStyle=willLeave(oldMergedPropsStyle);if(null==leavingStyle){didLeave({key:oldMergedPropsStyle.key,data:oldMergedPropsStyle.data});return null}if(_shouldStopAnimation2["default"](oldCurrentStyles[oldIndex],leavingStyle,oldCurrentVelocities[oldIndex])){didLeave({key:oldMergedPropsStyle.key,data:oldMergedPropsStyle.data});return null}return{key:oldMergedPropsStyle.key,data:oldMergedPropsStyle.data,style:leavingStyle}});var newCurrentStyles=[];var newCurrentVelocities=[];var newLastIdealStyles=[];var newLastIdealVelocities=[];for(var i=0;i<newMergedPropsStyles.length;i++){var newMergedPropsStyleCell=newMergedPropsStyles[i];var foundOldIndex=null;for(var j=0;j<oldMergedPropsStyles.length;j++)if(oldMergedPropsStyles[j].key===newMergedPropsStyleCell.key){foundOldIndex=j;break}if(null==foundOldIndex){var plainStyle=willEnter(newMergedPropsStyleCell);newCurrentStyles[i]=plainStyle;newLastIdealStyles[i]=plainStyle;var velocity=_mapToZero2["default"](newMergedPropsStyleCell.style);newCurrentVelocities[i]=velocity;newLastIdealVelocities[i]=velocity}else{newCurrentStyles[i]=oldCurrentStyles[foundOldIndex];newLastIdealStyles[i]=oldLastIdealStyles[foundOldIndex];newCurrentVelocities[i]=oldCurrentVelocities[foundOldIndex];newLastIdealVelocities[i]=oldLastIdealVelocities[foundOldIndex]}}return[newMergedPropsStyles,newCurrentStyles,newCurrentVelocities,newLastIdealStyles,newLastIdealVelocities]}var TransitionMotion=function(_React$Component){_inherits(TransitionMotion,_React$Component);_createClass(TransitionMotion,null,[{key:"propTypes",value:{defaultStyles:_propTypes2["default"].arrayOf(_propTypes2["default"].shape({key:_propTypes2["default"].string.isRequired,data:_propTypes2["default"].any,style:_propTypes2["default"].objectOf(_propTypes2["default"].number).isRequired})),styles:_propTypes2["default"].oneOfType([_propTypes2["default"].func,_propTypes2["default"].arrayOf(_propTypes2["default"].shape({key:_propTypes2["default"].string.isRequired,data:_propTypes2["default"].any,style:_propTypes2["default"].objectOf(_propTypes2["default"].oneOfType([_propTypes2["default"].number,_propTypes2["default"].object])).isRequired}))]).isRequired,children:_propTypes2["default"].func.isRequired,willEnter:_propTypes2["default"].func,willLeave:_propTypes2["default"].func,didLeave:_propTypes2["default"].func},enumerable:true},{key:"defaultProps",value:{willEnter:function willEnter(styleThatEntered){return _stripStyle2["default"](styleThatEntered.style)},willLeave:function willLeave(){return null},didLeave:function didLeave(){}},enumerable:true}]);function TransitionMotion(props){var _this=this;_classCallCheck(this,TransitionMotion);_React$Component.call(this,props);this.unmounting=false;this.animationID=null;this.prevTime=0;this.accumulatedTime=0;this.unreadPropStyles=null;this.clearUnreadPropStyle=function(unreadPropStyles){var _mergeAndSync=mergeAndSync(_this.props.willEnter,_this.props.willLeave,_this.props.didLeave,_this.state.mergedPropsStyles,unreadPropStyles,_this.state.currentStyles,_this.state.currentVelocities,_this.state.lastIdealStyles,_this.state.lastIdealVelocities);var mergedPropsStyles=_mergeAndSync[0];var currentStyles=_mergeAndSync[1];var currentVelocities=_mergeAndSync[2];var lastIdealStyles=_mergeAndSync[3];var lastIdealVelocities=_mergeAndSync[4];for(var i=0;i<unreadPropStyles.length;i++){var unreadPropStyle=unreadPropStyles[i].style;var dirty=false;for(var key in unreadPropStyle){if(!Object.prototype.hasOwnProperty.call(unreadPropStyle,key))continue;var styleValue=unreadPropStyle[key];if("number"===typeof styleValue){if(!dirty){dirty=true;currentStyles[i]=_extends({},currentStyles[i]);currentVelocities[i]=_extends({},currentVelocities[i]);lastIdealStyles[i]=_extends({},lastIdealStyles[i]);lastIdealVelocities[i]=_extends({},lastIdealVelocities[i]);mergedPropsStyles[i]={key:mergedPropsStyles[i].key,data:mergedPropsStyles[i].data,style:_extends({},mergedPropsStyles[i].style)}}currentStyles[i][key]=styleValue;currentVelocities[i][key]=0;lastIdealStyles[i][key]=styleValue;lastIdealVelocities[i][key]=0;mergedPropsStyles[i].style[key]=styleValue}}}_this.setState({currentStyles:currentStyles,currentVelocities:currentVelocities,mergedPropsStyles:mergedPropsStyles,lastIdealStyles:lastIdealStyles,lastIdealVelocities:lastIdealVelocities})};this.startAnimationIfNecessary=function(){if(_this.unmounting)return;_this.animationID=_raf2["default"](function(timestamp){if(_this.unmounting)return;var propStyles=_this.props.styles;var destStyles="function"===typeof propStyles?propStyles(rehydrateStyles(_this.state.mergedPropsStyles,_this.unreadPropStyles,_this.state.lastIdealStyles)):propStyles;if(shouldStopAnimationAll(_this.state.currentStyles,destStyles,_this.state.currentVelocities,_this.state.mergedPropsStyles)){_this.animationID=null;_this.accumulatedTime=0;return}var currentTime=timestamp||_performanceNow2["default"]();var timeDelta=currentTime-_this.prevTime;_this.prevTime=currentTime;_this.accumulatedTime=_this.accumulatedTime+timeDelta;_this.accumulatedTime>10*msPerFrame&&(_this.accumulatedTime=0);if(0===_this.accumulatedTime){_this.animationID=null;_this.startAnimationIfNecessary();return}var currentFrameCompletion=(_this.accumulatedTime-Math.floor(_this.accumulatedTime/msPerFrame)*msPerFrame)/msPerFrame;var framesToCatchUp=Math.floor(_this.accumulatedTime/msPerFrame);var _mergeAndSync2=mergeAndSync(_this.props.willEnter,_this.props.willLeave,_this.props.didLeave,_this.state.mergedPropsStyles,destStyles,_this.state.currentStyles,_this.state.currentVelocities,_this.state.lastIdealStyles,_this.state.lastIdealVelocities);var newMergedPropsStyles=_mergeAndSync2[0];var newCurrentStyles=_mergeAndSync2[1];var newCurrentVelocities=_mergeAndSync2[2];var newLastIdealStyles=_mergeAndSync2[3];var newLastIdealVelocities=_mergeAndSync2[4];for(var i=0;i<newMergedPropsStyles.length;i++){var newMergedPropsStyle=newMergedPropsStyles[i].style;var newCurrentStyle={};var newCurrentVelocity={};var newLastIdealStyle={};var newLastIdealVelocity={};for(var key in newMergedPropsStyle){if(!Object.prototype.hasOwnProperty.call(newMergedPropsStyle,key))continue;var styleValue=newMergedPropsStyle[key];if("number"===typeof styleValue){newCurrentStyle[key]=styleValue;newCurrentVelocity[key]=0;newLastIdealStyle[key]=styleValue;newLastIdealVelocity[key]=0}else{var newLastIdealStyleValue=newLastIdealStyles[i][key];var newLastIdealVelocityValue=newLastIdealVelocities[i][key];for(var j=0;j<framesToCatchUp;j++){var _stepper=_stepper4["default"](msPerFrame/1e3,newLastIdealStyleValue,newLastIdealVelocityValue,styleValue.val,styleValue.stiffness,styleValue.damping,styleValue.precision);newLastIdealStyleValue=_stepper[0];newLastIdealVelocityValue=_stepper[1]}var _stepper2=_stepper4["default"](msPerFrame/1e3,newLastIdealStyleValue,newLastIdealVelocityValue,styleValue.val,styleValue.stiffness,styleValue.damping,styleValue.precision);var nextIdealX=_stepper2[0];var nextIdealV=_stepper2[1];newCurrentStyle[key]=newLastIdealStyleValue+(nextIdealX-newLastIdealStyleValue)*currentFrameCompletion;newCurrentVelocity[key]=newLastIdealVelocityValue+(nextIdealV-newLastIdealVelocityValue)*currentFrameCompletion;newLastIdealStyle[key]=newLastIdealStyleValue;newLastIdealVelocity[key]=newLastIdealVelocityValue}}newLastIdealStyles[i]=newLastIdealStyle;newLastIdealVelocities[i]=newLastIdealVelocity;newCurrentStyles[i]=newCurrentStyle;newCurrentVelocities[i]=newCurrentVelocity}_this.animationID=null;_this.accumulatedTime-=framesToCatchUp*msPerFrame;_this.setState({currentStyles:newCurrentStyles,currentVelocities:newCurrentVelocities,lastIdealStyles:newLastIdealStyles,lastIdealVelocities:newLastIdealVelocities,mergedPropsStyles:newMergedPropsStyles});_this.unreadPropStyles=null;_this.startAnimationIfNecessary()})};this.state=this.defaultState()}TransitionMotion.prototype.defaultState=function defaultState(){var _props=this.props;var defaultStyles=_props.defaultStyles;var styles=_props.styles;var willEnter=_props.willEnter;var willLeave=_props.willLeave;var didLeave=_props.didLeave;var destStyles="function"===typeof styles?styles(defaultStyles):styles;var oldMergedPropsStyles=void 0;oldMergedPropsStyles=null==defaultStyles?destStyles:defaultStyles.map(function(defaultStyleCell){for(var i=0;i<destStyles.length;i++)if(destStyles[i].key===defaultStyleCell.key)return destStyles[i];return defaultStyleCell});var oldCurrentStyles=null==defaultStyles?destStyles.map(function(s){return _stripStyle2["default"](s.style)}):defaultStyles.map(function(s){return _stripStyle2["default"](s.style)});var oldCurrentVelocities=null==defaultStyles?destStyles.map(function(s){return _mapToZero2["default"](s.style)}):defaultStyles.map(function(s){return _mapToZero2["default"](s.style)});var _mergeAndSync3=mergeAndSync(willEnter,willLeave,didLeave,oldMergedPropsStyles,destStyles,oldCurrentStyles,oldCurrentVelocities,oldCurrentStyles,oldCurrentVelocities);var mergedPropsStyles=_mergeAndSync3[0];var currentStyles=_mergeAndSync3[1];var currentVelocities=_mergeAndSync3[2];var lastIdealStyles=_mergeAndSync3[3];var lastIdealVelocities=_mergeAndSync3[4];return{currentStyles:currentStyles,currentVelocities:currentVelocities,lastIdealStyles:lastIdealStyles,lastIdealVelocities:lastIdealVelocities,mergedPropsStyles:mergedPropsStyles}};TransitionMotion.prototype.componentDidMount=function componentDidMount(){this.prevTime=_performanceNow2["default"]();this.startAnimationIfNecessary()};TransitionMotion.prototype.componentWillReceiveProps=function componentWillReceiveProps(props){this.unreadPropStyles&&this.clearUnreadPropStyle(this.unreadPropStyles);var styles=props.styles;this.unreadPropStyles="function"===typeof styles?styles(rehydrateStyles(this.state.mergedPropsStyles,this.unreadPropStyles,this.state.lastIdealStyles)):styles;if(null==this.animationID){this.prevTime=_performanceNow2["default"]();this.startAnimationIfNecessary()}};TransitionMotion.prototype.componentWillUnmount=function componentWillUnmount(){this.unmounting=true;if(null!=this.animationID){_raf2["default"].cancel(this.animationID);this.animationID=null}};TransitionMotion.prototype.render=function render(){var hydratedStyles=rehydrateStyles(this.state.mergedPropsStyles,this.unreadPropStyles,this.state.currentStyles);var renderedChildren=this.props.children(hydratedStyles);return renderedChildren&&_react2["default"].Children.only(renderedChildren)};return TransitionMotion}(_react2["default"].Component);exports["default"]=TransitionMotion;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports["default"]=mergeDiff;function mergeDiff(prev,next,onRemove){var prevKeyIndex={};for(var i=0;i<prev.length;i++)prevKeyIndex[prev[i].key]=i;var nextKeyIndex={};for(i=0;i<next.length;i++)nextKeyIndex[next[i].key]=i;var ret=[];for(i=0;i<next.length;i++)ret[i]=next[i];for(i=0;i<prev.length;i++)if(!Object.prototype.hasOwnProperty.call(nextKeyIndex,prev[i].key)){var fill=onRemove(i,prev[i]);null!=fill&&ret.push(fill)}return ret.sort(function(a,b){var nextOrderA=nextKeyIndex[a.key];var nextOrderB=nextKeyIndex[b.key];var prevOrderA=prevKeyIndex[a.key];var prevOrderB=prevKeyIndex[b.key];if(null!=nextOrderA&&null!=nextOrderB)return nextKeyIndex[a.key]-nextKeyIndex[b.key];if(null!=prevOrderA&&null!=prevOrderB)return prevKeyIndex[a.key]-prevKeyIndex[b.key];if(null!=nextOrderA){for(var i=0;i<next.length;i++){var pivot=next[i].key;if(!Object.prototype.hasOwnProperty.call(prevKeyIndex,pivot))continue;if(nextOrderA<nextKeyIndex[pivot]&&prevOrderB>prevKeyIndex[pivot])return-1;if(nextOrderA>nextKeyIndex[pivot]&&prevOrderB<prevKeyIndex[pivot])return 1}return 1}for(i=0;i<next.length;i++){pivot=next[i].key;if(!Object.prototype.hasOwnProperty.call(prevKeyIndex,pivot))continue;if(nextOrderB<nextKeyIndex[pivot]&&prevOrderA>prevKeyIndex[pivot])return 1;if(nextOrderB>nextKeyIndex[pivot]&&prevOrderA<prevKeyIndex[pivot])return-1}return-1})}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports["default"]=spring;function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _presets=__webpack_require__(755);var _presets2=_interopRequireDefault(_presets);var defaultConfig=_extends({},_presets2["default"].noWobble,{precision:.01});function spring(val,config){return _extends({},defaultConfig,config,{val:val})}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports["default"]=reorderKeys;function reorderKeys(){false}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Interpolate=__webpack_require__(442);var _animation=__webpack_require__(33);var _seriesUtils=__webpack_require__(50);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var MAX_DRAWS=30;function engageDrawLoop(ctx,height,width,layers){var drawIteration=0;var drawCycle=setInterval(function(){if(!ctx){clearInterval(drawCycle);return}drawLayers(ctx,height,width,layers,drawIteration);drawIteration>MAX_DRAWS&&clearInterval(drawCycle);drawIteration+=1},1)}function drawLayers(ctx,height,width,layers,drawIteration){ctx.clearRect(0,0,width,height);layers.forEach(function(layer){var interpolator=layer.interpolator,newProps=layer.newProps,animation=layer.animation;var interpolatedProps=animation?interpolator?interpolator(drawIteration/MAX_DRAWS):interpolator:function(){return{}};layer.renderLayer(_extends({},newProps,interpolatedProps),ctx)})}function buildLayers(newChildren,oldChildren){return newChildren.map(function(child,index){var oldProps=oldChildren[index]?oldChildren[index].props:{};var newProps=child.props;var oldAnimatedProps=(0,_animation.extractAnimatedPropValues)(_extends({},oldProps,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS}));var newAnimatedProps=newProps?(0,_animation.extractAnimatedPropValues)(_extends({},newProps,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS})):null;var interpolator=(0,_d3Interpolate.interpolate)(oldAnimatedProps,newAnimatedProps);return{renderLayer:child.type.renderLayer,newProps:child.props,animation:child.props.animation,interpolator:interpolator}})}var CanvasWrapper=function(_Component){_inherits(CanvasWrapper,_Component);function CanvasWrapper(){_classCallCheck(this,CanvasWrapper);return _possibleConstructorReturn(this,(CanvasWrapper.__proto__||Object.getPrototypeOf(CanvasWrapper)).apply(this,arguments))}_createClass(CanvasWrapper,[{key:"componentDidMount",value:function componentDidMount(){var ctx=this.canvas.getContext("2d");if(!ctx)return;var pixelRatio=this.props.pixelRatio;if(!ctx)return;ctx.scale(pixelRatio,pixelRatio);this.drawChildren(this.props,null,ctx)}},{key:"componentDidUpdate",value:function componentDidUpdate(nextProps){this.drawChildren(nextProps,this.props,this.canvas.getContext("2d"))}},{key:"drawChildren",value:function drawChildren(newProps,oldProps,ctx){var children=newProps.children,innerHeight=newProps.innerHeight,innerWidth=newProps.innerWidth,marginBottom=newProps.marginBottom,marginLeft=newProps.marginLeft,marginRight=newProps.marginRight,marginTop=newProps.marginTop;if(!ctx)return;var childrenShouldAnimate=children.find(function(child){return child.props.animation});var height=innerHeight+marginTop+marginBottom;var width=innerWidth+marginLeft+marginRight;var layers=buildLayers(newProps.children,oldProps?oldProps.children:[]);if(!childrenShouldAnimate){drawLayers(ctx,height,width,layers);return}engageDrawLoop(ctx,height,width,layers)}},{key:"render",value:function render(){var _this2=this;var _props=this.props,innerHeight=_props.innerHeight,innerWidth=_props.innerWidth,marginBottom=_props.marginBottom,marginLeft=_props.marginLeft,marginRight=_props.marginRight,marginTop=_props.marginTop,pixelRatio=_props.pixelRatio;var height=innerHeight+marginTop+marginBottom;var width=innerWidth+marginLeft+marginRight;return _react2.default.createElement("div",{style:{left:0,top:0},className:"rv-xy-canvas"},_react2.default.createElement("canvas",{className:"rv-xy-canvas-element",height:height*pixelRatio,width:width*pixelRatio,style:{height:height+"px",width:width+"px"},ref:function ref(_ref){return _this2.canvas=_ref}}))}}],[{key:"defaultProps",get:function get(){return{pixelRatio:window&&window.devicePixelRatio||1}}}]);return CanvasWrapper}(_react.Component);CanvasWrapper.displayName="CanvasWrapper";CanvasWrapper.propTypes={marginBottom:_propTypes2.default.number.isRequired,marginLeft:_propTypes2.default.number.isRequired,marginRight:_propTypes2.default.number.isRequired,marginTop:_propTypes2.default.number.isRequired,innerHeight:_propTypes2.default.number.isRequired,innerWidth:_propTypes2.default.number.isRequired,pixelRatio:_propTypes2.default.number.isRequired};exports.default=CanvasWrapper},function(module,exports,__webpack_require__){0,factory=function(exports){"use strict";var pi=Math.PI;var tau=2*pi;var epsilon=1e-6;var tauEpsilon=tau-epsilon;function Path(){this._x0=this._y0=this._x1=this._y1=null;this._=""}function path(){return new Path}Path.prototype=path.prototype={constructor:Path,moveTo:function(x,y){this._+="M"+(this._x0=this._x1=+x)+","+(this._y0=this._y1=+y)},closePath:function(){if(null!==this._x1){this._x1=this._x0,this._y1=this._y0;this._+="Z"}},lineTo:function(x,y){this._+="L"+(this._x1=+x)+","+(this._y1=+y)},quadraticCurveTo:function(x1,y1,x,y){this._+="Q"+ +x1+","+ +y1+","+(this._x1=+x)+","+(this._y1=+y)},bezierCurveTo:function(x1,y1,x2,y2,x,y){this._+="C"+ +x1+","+ +y1+","+ +x2+","+ +y2+","+(this._x1=+x)+","+(this._y1=+y)},arcTo:function(x1,y1,x2,y2,r){x1=+x1,y1=+y1,x2=+x2,y2=+y2,r=+r;var x0=this._x1,y0=this._y1,x21=x2-x1,y21=y2-y1,x01=x0-x1,y01=y0-y1,l01_2=x01*x01+y01*y01;if(r<0)throw new Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=x1)+","+(this._y1=y1);else if(l01_2>epsilon)if(Math.abs(y01*x21-y21*x01)>epsilon&&r){var x20=x2-x0,y20=y2-y0,l21_2=x21*x21+y21*y21,l20_2=x20*x20+y20*y20,l21=Math.sqrt(l21_2),l01=Math.sqrt(l01_2),l=r*Math.tan((pi-Math.acos((l21_2+l01_2-l20_2)/(2*l21*l01)))/2),t01=l/l01,t21=l/l21;Math.abs(t01-1)>epsilon&&(this._+="L"+(x1+t01*x01)+","+(y1+t01*y01));this._+="A"+r+","+r+",0,0,"+ +(y01*x20>x01*y20)+","+(this._x1=x1+t21*x21)+","+(this._y1=y1+t21*y21)}else this._+="L"+(this._x1=x1)+","+(this._y1=y1);else;},arc:function(x,y,r,a0,a1,ccw){x=+x,y=+y,r=+r;var dx=r*Math.cos(a0),dy=r*Math.sin(a0),x0=x+dx,y0=y+dy,cw=1^ccw,da=ccw?a0-a1:a1-a0;if(r<0)throw new Error("negative radius: "+r);null===this._x1?this._+="M"+x0+","+y0:(Math.abs(this._x1-x0)>epsilon||Math.abs(this._y1-y0)>epsilon)&&(this._+="L"+x0+","+y0);if(!r)return;da<0&&(da=da%tau+tau);da>tauEpsilon?this._+="A"+r+","+r+",0,1,"+cw+","+(x-dx)+","+(y-dy)+"A"+r+","+r+",0,1,"+cw+","+(this._x1=x0)+","+(this._y1=y0):da>epsilon&&(this._+="A"+r+","+r+",0,"+ +(da>=pi)+","+cw+","+(this._x1=x+r*Math.cos(a1))+","+(this._y1=y+r*Math.sin(a1)))},rect:function(x,y,w,h){this._+="M"+(this._x0=this._x1=+x)+","+(this._y0=this._y1=+y)+"h"+ +w+"v"+ +h+"h"+-w+"Z"},toString:function(){return this._}};exports.path=path;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports);var factory},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _barSeries=__webpack_require__(757);var _barSeries2=_interopRequireDefault(_barSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var HorizontalBarSeries=function(_AbstractSeries){_inherits(HorizontalBarSeries,_AbstractSeries);function HorizontalBarSeries(){_classCallCheck(this,HorizontalBarSeries);return _possibleConstructorReturn(this,(HorizontalBarSeries.__proto__||Object.getPrototypeOf(HorizontalBarSeries)).apply(this,arguments))}_createClass(HorizontalBarSeries,[{key:"render",value:function render(){return _react2.default.createElement(_barSeries2.default,_extends({},this.props,{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}))}}],[{key:"getParentConfig",value:function getParentConfig(attr){var isDomainAdjustmentNeeded="y"===attr;var zeroBaseValue="x"===attr;return{isDomainAdjustmentNeeded:isDomainAdjustmentNeeded,zeroBaseValue:zeroBaseValue}}}]);return HorizontalBarSeries}(_abstractSeries2.default);HorizontalBarSeries.displayName="HorizontalBarSeries";exports.default=HorizontalBarSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _barSeriesCanvas=__webpack_require__(758);var _barSeriesCanvas2=_interopRequireDefault(_barSeriesCanvas);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var HorizontalBarSeriesCanvas=function(_AbstractSeries){_inherits(HorizontalBarSeriesCanvas,_AbstractSeries);function HorizontalBarSeriesCanvas(){_classCallCheck(this,HorizontalBarSeriesCanvas);return _possibleConstructorReturn(this,(HorizontalBarSeriesCanvas.__proto__||Object.getPrototypeOf(HorizontalBarSeriesCanvas)).apply(this,arguments))}_createClass(HorizontalBarSeriesCanvas,[{key:"render",value:function render(){return null}}],[{key:"getParentConfig",value:function getParentConfig(attr){var isDomainAdjustmentNeeded="y"===attr;var zeroBaseValue="x"===attr;return{isDomainAdjustmentNeeded:isDomainAdjustmentNeeded,zeroBaseValue:zeroBaseValue}}},{key:"renderLayer",value:function renderLayer(props,ctx){_barSeriesCanvas2.default.renderLayer(_extends({},props,{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}),ctx)}},{key:"requiresSVG",get:function get(){return false}},{key:"isCanvas",get:function get(){return true}}]);return HorizontalBarSeriesCanvas}(_abstractSeries2.default);HorizontalBarSeriesCanvas.displayName="HorizontalBarSeriesCanvas";HorizontalBarSeriesCanvas.propTypes=_extends({},_abstractSeries2.default.propTypes);exports.default=HorizontalBarSeriesCanvas},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _barSeries=__webpack_require__(757);var _barSeries2=_interopRequireDefault(_barSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var VerticalBarSeries=function(_AbstractSeries){_inherits(VerticalBarSeries,_AbstractSeries);function VerticalBarSeries(){_classCallCheck(this,VerticalBarSeries);return _possibleConstructorReturn(this,(VerticalBarSeries.__proto__||Object.getPrototypeOf(VerticalBarSeries)).apply(this,arguments))}_createClass(VerticalBarSeries,[{key:"render",value:function render(){return _react2.default.createElement(_barSeries2.default,_extends({},this.props,{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}))}}],[{key:"getParentConfig",value:function getParentConfig(attr){var isDomainAdjustmentNeeded="x"===attr;var zeroBaseValue="y"===attr;return{isDomainAdjustmentNeeded:isDomainAdjustmentNeeded,zeroBaseValue:zeroBaseValue}}}]);return VerticalBarSeries}(_abstractSeries2.default);VerticalBarSeries.displayName="VerticalBarSeries";exports.default=VerticalBarSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _barSeriesCanvas=__webpack_require__(758);var _barSeriesCanvas2=_interopRequireDefault(_barSeriesCanvas);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var HorizontalBarSeriesCanvas=function(_AbstractSeries){_inherits(HorizontalBarSeriesCanvas,_AbstractSeries);function HorizontalBarSeriesCanvas(){_classCallCheck(this,HorizontalBarSeriesCanvas);return _possibleConstructorReturn(this,(HorizontalBarSeriesCanvas.__proto__||Object.getPrototypeOf(HorizontalBarSeriesCanvas)).apply(this,arguments))}_createClass(HorizontalBarSeriesCanvas,[{key:"render",value:function render(){return null}}],[{key:"getParentConfig",value:function getParentConfig(attr){var isDomainAdjustmentNeeded="x"===attr;var zeroBaseValue="y"===attr;return{isDomainAdjustmentNeeded:isDomainAdjustmentNeeded,zeroBaseValue:zeroBaseValue}}},{key:"renderLayer",value:function renderLayer(props,ctx){_barSeriesCanvas2.default.renderLayer(_extends({},props,{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}),ctx)}},{key:"requiresSVG",get:function get(){return false}},{key:"isCanvas",get:function get(){return true}}]);return HorizontalBarSeriesCanvas}(_abstractSeries2.default);HorizontalBarSeriesCanvas.displayName="HorizontalBarSeriesCanvas";HorizontalBarSeriesCanvas.propTypes=_extends({},_abstractSeries2.default.propTypes);exports.default=HorizontalBarSeriesCanvas},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _rectSeriesCanvas=__webpack_require__(451);var _rectSeriesCanvas2=_interopRequireDefault(_rectSeriesCanvas);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var HorizontalRectSeriesCanvas=function(_AbstractSeries){_inherits(HorizontalRectSeriesCanvas,_AbstractSeries);function HorizontalRectSeriesCanvas(){_classCallCheck(this,HorizontalRectSeriesCanvas);return _possibleConstructorReturn(this,(HorizontalRectSeriesCanvas.__proto__||Object.getPrototypeOf(HorizontalRectSeriesCanvas)).apply(this,arguments))}_createClass(HorizontalRectSeriesCanvas,[{key:"render",value:function render(){return null}}],[{key:"getParentConfig",value:function getParentConfig(attr){var isDomainAdjustmentNeeded=false;var zeroBaseValue="y"===attr;return{isDomainAdjustmentNeeded:isDomainAdjustmentNeeded,zeroBaseValue:zeroBaseValue}}},{key:"renderLayer",value:function renderLayer(props,ctx){_rectSeriesCanvas2.default.renderLayer(_extends({},props,{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}),ctx)}},{key:"requiresSVG",get:function get(){return false}},{key:"isCanvas",get:function get(){return true}}]);return HorizontalRectSeriesCanvas}(_abstractSeries2.default);HorizontalRectSeriesCanvas.displayName="HorizontalRectSeriesCanvas";HorizontalRectSeriesCanvas.propTypes=_extends({},_abstractSeries2.default.propTypes);exports.default=HorizontalRectSeriesCanvas},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _rectSeries=__webpack_require__(450);var _rectSeries2=_interopRequireDefault(_rectSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var HorizontalRectSeries=function(_AbstractSeries){_inherits(HorizontalRectSeries,_AbstractSeries);function HorizontalRectSeries(){_classCallCheck(this,HorizontalRectSeries);return _possibleConstructorReturn(this,(HorizontalRectSeries.__proto__||Object.getPrototypeOf(HorizontalRectSeries)).apply(this,arguments))}_createClass(HorizontalRectSeries,[{key:"render",value:function render(){return _react2.default.createElement(_rectSeries2.default,_extends({},this.props,{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}))}}],[{key:"getParentConfig",value:function getParentConfig(attr){var isDomainAdjustmentNeeded=false;var zeroBaseValue="x"===attr;return{isDomainAdjustmentNeeded:isDomainAdjustmentNeeded,zeroBaseValue:zeroBaseValue}}}]);return HorizontalRectSeries}(_abstractSeries2.default);HorizontalRectSeries.displayName="HorizontalRectSeries";exports.default=HorizontalRectSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _rectSeriesCanvas=__webpack_require__(451);var _rectSeriesCanvas2=_interopRequireDefault(_rectSeriesCanvas);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var HorizontalRectSeriesCanvas=function(_AbstractSeries){_inherits(HorizontalRectSeriesCanvas,_AbstractSeries);function HorizontalRectSeriesCanvas(){_classCallCheck(this,HorizontalRectSeriesCanvas);return _possibleConstructorReturn(this,(HorizontalRectSeriesCanvas.__proto__||Object.getPrototypeOf(HorizontalRectSeriesCanvas)).apply(this,arguments))}_createClass(HorizontalRectSeriesCanvas,[{key:"render",value:function render(){return null}}],[{key:"getParentConfig",value:function getParentConfig(attr){var isDomainAdjustmentNeeded=false;var zeroBaseValue="x"===attr;return{isDomainAdjustmentNeeded:isDomainAdjustmentNeeded,zeroBaseValue:zeroBaseValue}}},{key:"renderLayer",value:function renderLayer(props,ctx){_rectSeriesCanvas2.default.renderLayer(_extends({},props,{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}),ctx)}},{key:"requiresSVG",get:function get(){return false}},{key:"isCanvas",get:function get(){return true}}]);return HorizontalRectSeriesCanvas}(_abstractSeries2.default);HorizontalRectSeriesCanvas.displayName="HorizontalRectSeriesCanvas";HorizontalRectSeriesCanvas.propTypes=_extends({},_abstractSeries2.default.propTypes);exports.default=HorizontalRectSeriesCanvas},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _seriesUtils=__webpack_require__(50);var _theme=__webpack_require__(44);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-xy-plot__series rv-xy-plot__series--whisker";var DEFAULT_STROKE_WIDTH=1;var DEFAULT_CROSS_BAR_WIDTH=6;var renderWhiskerMark=function renderWhiskerMark(whiskerMarkProps){return function(d,i){var crossBarWidth=whiskerMarkProps.crossBarWidth,opacityFunctor=whiskerMarkProps.opacityFunctor,sizeFunctor=whiskerMarkProps.sizeFunctor,strokeFunctor=whiskerMarkProps.strokeFunctor,strokeWidth=whiskerMarkProps.strokeWidth,style=whiskerMarkProps.style,valueClickHandler=whiskerMarkProps.valueClickHandler,valueMouseOutHandler=whiskerMarkProps.valueMouseOutHandler,valueMouseOverHandler=whiskerMarkProps.valueMouseOverHandler,valueRightClickHandler=whiskerMarkProps.valueRightClickHandler,xFunctor=whiskerMarkProps.xFunctor,yFunctor=whiskerMarkProps.yFunctor;var r=sizeFunctor?sizeFunctor(d):0;var cx=xFunctor(d);var cy=yFunctor(d);var positiveXVariance=xFunctor({x:d.x+d.xVariance/2});var negativeXVariance=xFunctor({x:d.x-d.xVariance/2});var positiveYVariance=yFunctor({y:d.y+d.yVariance/2});var negativeYVariance=yFunctor({y:d.y-d.yVariance/2});var hasXWhiskers=positiveXVariance&&cx+r<positiveXVariance;var hasYWhiskers=positiveYVariance&&cy-r>positiveYVariance;if(!hasXWhiskers&&!hasYWhiskers)return null;var styleAttr=_extends({opacity:opacityFunctor?opacityFunctor(d):_theme.DEFAULT_OPACITY,stroke:strokeFunctor&&strokeFunctor(d),strokeWidth:strokeWidth||DEFAULT_STROKE_WIDTH},style);var crossBarExtension=crossBarWidth/2;var rightLineAttrs={x1:cx+r,y1:cy,x2:positiveXVariance,y2:cy,style:styleAttr};var leftLineAttrs={x1:cx-r,y1:cy,x2:negativeXVariance,y2:cy,style:styleAttr};var rightCrossBarAttrs={x1:positiveXVariance,y1:cy-crossBarExtension,x2:positiveXVariance,y2:cy+crossBarExtension,style:styleAttr};var leftCrossBarAttrs={x1:negativeXVariance,y1:cy-crossBarExtension,x2:negativeXVariance,y2:cy+crossBarExtension,style:styleAttr};var upperLineAttrs={x1:cx,y1:cy-r,x2:cx,y2:positiveYVariance,style:styleAttr};var lowerLineAttrs={x1:cx,y1:cy+r,x2:cx,y2:negativeYVariance,style:styleAttr};var upperCrossBarAttrs={x1:cx-crossBarExtension,y1:positiveYVariance,x2:cx+crossBarExtension,y2:positiveYVariance,style:styleAttr};var lowerCrossBarAttrs={x1:cx-crossBarExtension,y1:negativeYVariance,x2:cx+crossBarExtension,y2:negativeYVariance,style:styleAttr};return _react2.default.createElement("g",{className:"mark-whiskers",key:i,onClick:function onClick(e){return valueClickHandler(d,e)},onContextMenu:function onContextMenu(e){return valueRightClickHandler(d,e)},onMouseOver:function onMouseOver(e){return valueMouseOverHandler(d,e)},onMouseOut:function onMouseOut(e){return valueMouseOutHandler(d,e)}},hasXWhiskers?_react2.default.createElement("g",{className:"x-whiskers"},_react2.default.createElement("line",rightLineAttrs),_react2.default.createElement("line",leftLineAttrs),_react2.default.createElement("line",rightCrossBarAttrs),_react2.default.createElement("line",leftCrossBarAttrs)):null,hasYWhiskers?_react2.default.createElement("g",{className:"y-whiskers"},_react2.default.createElement("line",upperLineAttrs),_react2.default.createElement("line",lowerLineAttrs),_react2.default.createElement("line",upperCrossBarAttrs),_react2.default.createElement("line",lowerCrossBarAttrs)):null)}};var WhiskerSeries=function(_AbstractSeries){_inherits(WhiskerSeries,_AbstractSeries);function WhiskerSeries(){_classCallCheck(this,WhiskerSeries);return _possibleConstructorReturn(this,(WhiskerSeries.__proto__||Object.getPrototypeOf(WhiskerSeries)).apply(this,arguments))}_createClass(WhiskerSeries,[{key:"render",value:function render(){var _props=this.props,animation=_props.animation,className=_props.className,crossBarWidth=_props.crossBarWidth,data=_props.data,marginLeft=_props.marginLeft,marginTop=_props.marginTop,strokeWidth=_props.strokeWidth,style=_props.style;if(!data)return null;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS}),_react2.default.createElement(WhiskerSeries,_extends({},this.props,{animation:null})));var whiskerMarkProps={crossBarWidth:crossBarWidth,opacityFunctor:this._getAttributeFunctor("opacity"),sizeFunctor:this._getAttributeFunctor("size"),strokeFunctor:this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),strokeWidth:strokeWidth,style:style,xFunctor:this._getAttributeFunctor("x"),yFunctor:this._getAttributeFunctor("y"),valueClickHandler:this._valueClickHandler,valueRightClickHandler:this._valueRightClickHandler,valueMouseOverHandler:this._valueMouseOverHandler,valueMouseOutHandler:this._valueMouseOutHandler};return _react2.default.createElement("g",{className:predefinedClassName+" "+className,transform:"translate("+marginLeft+","+marginTop+")"},data.map(renderWhiskerMark(whiskerMarkProps)))}}]);return WhiskerSeries}(_abstractSeries2.default);WhiskerSeries.displayName="WhiskerSeries";WhiskerSeries.propTypes=_extends({},_abstractSeries2.default.propTypes,{strokeWidth:_propTypes2.default.number});WhiskerSeries.defaultProps=_extends({},_abstractSeries2.default.defaultProps,{crossBarWidth:DEFAULT_CROSS_BAR_WIDTH,size:0,strokeWidth:DEFAULT_STROKE_WIDTH});exports.default=WhiskerSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _seriesUtils=__webpack_require__(50);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-xy-plot__series rv-xy-plot__series--heatmap";var HeatmapSeries=function(_AbstractSeries){_inherits(HeatmapSeries,_AbstractSeries);function HeatmapSeries(){_classCallCheck(this,HeatmapSeries);return _possibleConstructorReturn(this,(HeatmapSeries.__proto__||Object.getPrototypeOf(HeatmapSeries)).apply(this,arguments))}_createClass(HeatmapSeries,[{key:"render",value:function render(){var _this2=this;var _props=this.props,animation=_props.animation,className=_props.className,data=_props.data,marginLeft=_props.marginLeft,marginTop=_props.marginTop,style=_props.style;if(!data)return null;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS}),_react2.default.createElement(HeatmapSeries,_extends({},this.props,{animation:null})));var xFunctor=this._getAttributeFunctor("x");var yFunctor=this._getAttributeFunctor("y");var opacityFunctor=this._getAttributeFunctor("opacity");var fillFunctor=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color");var strokeFunctor=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color");var xDistance=this._getScaleDistance("x");var yDistance=this._getScaleDistance("y");return _react2.default.createElement("g",{className:predefinedClassName+" "+className,transform:"translate("+marginLeft+","+marginTop+")"},data.map(function(d,i){var attrs={style:_extends({stroke:strokeFunctor&&strokeFunctor(d),fill:fillFunctor&&fillFunctor(d),opacity:opacityFunctor&&opacityFunctor(d)},style),x:xFunctor(d)-xDistance/2,y:yFunctor(d)-yDistance/2,width:xDistance,height:yDistance,key:i,onClick:function onClick(e){return _this2._valueClickHandler(d,e)},onContextMenu:function onContextMenu(e){return _this2._valueRightClickHandler(d,e)},onMouseOver:function onMouseOver(e){return _this2._valueMouseOverHandler(d,e)},onMouseOut:function onMouseOut(e){return _this2._valueMouseOutHandler(d,e)}};return _react2.default.createElement("rect",attrs)}))}}],[{key:"getParentConfig",value:function getParentConfig(attr){var isDomainAdjustmentNeeded="x"===attr||"y"===attr;return{isDomainAdjustmentNeeded:isDomainAdjustmentNeeded}}}]);return HeatmapSeries}(_abstractSeries2.default);HeatmapSeries.propTypes=_extends({},_abstractSeries2.default.propTypes);HeatmapSeries.displayName="HeatmapSeries";exports.default=HeatmapSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Contour=__webpack_require__(1876);var _d3Geo=__webpack_require__(1877);var _d3Scale=__webpack_require__(193);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _seriesUtils=__webpack_require__(50);var _theme=__webpack_require__(44);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-xy-plot__series rv-xy-plot__series--contour";function getDomain(data){return data.reduce(function(acc,row){return{min:Math.min(acc.min,row.value),max:Math.max(acc.max,row.value)}},{min:Infinity,max:-Infinity})}var ContourSeries=function(_AbstractSeries){_inherits(ContourSeries,_AbstractSeries);function ContourSeries(){_classCallCheck(this,ContourSeries);return _possibleConstructorReturn(this,(ContourSeries.__proto__||Object.getPrototypeOf(ContourSeries)).apply(this,arguments))}_createClass(ContourSeries,[{key:"render",value:function render(){var _props=this.props,animation=_props.animation,bandwidth=_props.bandwidth,className=_props.className,colorRange=_props.colorRange,data=_props.data,innerHeight=_props.innerHeight,innerWidth=_props.innerWidth,marginLeft=_props.marginLeft,marginTop=_props.marginTop,style=_props.style;if(!data||!innerWidth||!innerHeight)return null;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS}),_react2.default.createElement(ContourSeries,_extends({},this.props,{animation:null})));var x=this._getAttributeFunctor("x");var y=this._getAttributeFunctor("y");var contouredData=(0,_d3Contour.contourDensity)().x(function(d){return x(d)}).y(function(d){return y(d)}).size([innerWidth,innerHeight]).bandwidth(bandwidth)(data);var geo=(0,_d3Geo.geoPath)();var _getDomain=getDomain(contouredData),min=_getDomain.min,max=_getDomain.max;var colorScale=(0,_d3Scale.scaleLinear)().domain([min,max]).range(colorRange||_theme.CONTINUOUS_COLOR_RANGE);return _react2.default.createElement("g",{className:predefinedClassName+" "+className,transform:"translate("+marginLeft+","+marginTop+")"},contouredData.map(function(polygon,index){return _react2.default.createElement("path",{className:"rv-xy-plot__series--contour-line",key:"rv-xy-plot__series--contour-line-"+index,d:geo(polygon),style:_extends({fill:colorScale(polygon.value)},style)})}))}}]);return ContourSeries}(_abstractSeries2.default);ContourSeries.propTypes=_extends({},_abstractSeries2.default.propTypes,{animation:_propTypes2.default.bool,bandwidth:_propTypes2.default.number,className:_propTypes2.default.string,marginLeft:_propTypes2.default.number,marginTop:_propTypes2.default.number,style:_propTypes2.default.object});ContourSeries.defaultProps=_extends({},_abstractSeries2.default.defaultProps,{bandwidth:40,style:{}});exports.default=ContourSeries},function(module,exports,__webpack_require__){0,factory=function(exports,d3Array){"use strict";var array=Array.prototype;var slice=array.slice;var ascending=function(a,b){return a-b};var area=function(ring){var i=0,n=ring.length,area=ring[n-1][1]*ring[0][0]-ring[n-1][0]*ring[0][1];while(++i<n)area+=ring[i-1][1]*ring[i][0]-ring[i-1][0]*ring[i][1];return area};var constant=function(x){return function(){return x}};var contains=function(ring,hole){var c,i=-1,n=hole.length;while(++i<n)if(c=ringContains(ring,hole[i]))return c;return 0};function ringContains(ring,point){var x=point[0],y=point[1],contains=-1;for(var i=0,n=ring.length,j=n-1;i<n;j=i++){var pi=ring[i],xi=pi[0],yi=pi[1],pj=ring[j],xj=pj[0],yj=pj[1];if(segmentContains(pi,pj,point))return 0;yi>y!==yj>y&&x<(xj-xi)*(y-yi)/(yj-yi)+xi&&(contains=-contains)}return contains}function segmentContains(a,b,c){var i;return collinear(a,b,c)&&within(a[i=+(a[0]===b[0])],c[i],b[i])}function collinear(a,b,c){return(b[0]-a[0])*(c[1]-a[1])===(c[0]-a[0])*(b[1]-a[1])}function within(p,q,r){return p<=q&&q<=r||r<=q&&q<=p}var noop=function(){};var cases=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];var contours=function(){var dx=1,dy=1,threshold=d3Array.thresholdSturges,smooth=smoothLinear;function contours(values){var tz=threshold(values);if(Array.isArray(tz))tz=tz.slice().sort(ascending);else{var domain=d3Array.extent(values),start=domain[0],stop=domain[1];tz=d3Array.tickStep(start,stop,tz);tz=d3Array.range(Math.floor(start/tz)*tz,Math.floor(stop/tz)*tz,tz)}var layers=tz.map(function(value){var polygons=[],holes=[];isorings(values,value,function(ring){smooth(ring,values,value);area(ring)>0?polygons.push([ring]):holes.push(ring)});holes.forEach(function(hole){for(var polygon,i=0,n=polygons.length;i<n;++i)if(-1!==contains((polygon=polygons[i])[0],hole)){polygon.push(hole);return}});return polygons});return layers.map(function(polygons,i){return{type:"MultiPolygon",value:tz[i],coordinates:polygons}})}function isorings(values,value,callback){var x,y,t0,t1,t2,t3,fragmentByStart=new Array,fragmentByEnd=new Array;x=y=-1;t1=values[0]>=value;cases[t1<<1].forEach(stitch);while(++x<dx-1){t0=t1,t1=values[x+1]>=value;cases[t0|t1<<1].forEach(stitch)}cases[t1<<0].forEach(stitch);while(++y<dy-1){x=-1;t1=values[y*dx+dx]>=value;t2=values[y*dx]>=value;cases[t1<<1|t2<<2].forEach(stitch);while(++x<dx-1){t0=t1,t1=values[y*dx+dx+x+1]>=value;t3=t2,t2=values[y*dx+x+1]>=value;cases[t0|t1<<1|t2<<2|t3<<3].forEach(stitch)}cases[t1|t2<<3].forEach(stitch)}x=-1;t2=values[y*dx]>=value;cases[t2<<2].forEach(stitch);while(++x<dx-1){t3=t2,t2=values[y*dx+x+1]>=value;cases[t2<<2|t3<<3].forEach(stitch)}cases[t2<<3].forEach(stitch);function stitch(line){var f,g,start=[line[0][0]+x,line[0][1]+y],end=[line[1][0]+x,line[1][1]+y],startIndex=index(start),endIndex=index(end);if(f=fragmentByEnd[startIndex])if(g=fragmentByStart[endIndex]){delete fragmentByEnd[f.end];delete fragmentByStart[g.start];if(f===g){f.ring.push(end);callback(f.ring)}else fragmentByStart[f.start]=fragmentByEnd[g.end]={start:f.start,end:g.end,ring:f.ring.concat(g.ring)}}else{delete fragmentByEnd[f.end];f.ring.push(end);fragmentByEnd[f.end=endIndex]=f}else if(f=fragmentByStart[endIndex])if(g=fragmentByEnd[startIndex]){delete fragmentByStart[f.start];delete fragmentByEnd[g.end];if(f===g){f.ring.push(end);callback(f.ring)}else fragmentByStart[g.start]=fragmentByEnd[f.end]={start:g.start,end:f.end,ring:g.ring.concat(f.ring)}}else{delete fragmentByStart[f.start];f.ring.unshift(start);fragmentByStart[f.start=startIndex]=f}else fragmentByStart[startIndex]=fragmentByEnd[endIndex]={start:startIndex,end:endIndex,ring:[start,end]}}}function index(point){return 2*point[0]+point[1]*(dx+1)*4}function smoothLinear(ring,values,value){ring.forEach(function(point){var v0,x=point[0],y=point[1],xt=0|x,yt=0|y,v1=values[yt*dx+xt];if(x>0&&x<dx&&xt===x){v0=values[yt*dx+xt-1];point[0]=x+(value-v0)/(v1-v0)-.5}if(y>0&&y<dy&&yt===y){v0=values[(yt-1)*dx+xt];point[1]=y+(value-v0)/(v1-v0)-.5}})}contours.size=function(_){if(!arguments.length)return[dx,dy];var _0=Math.ceil(_[0]),_1=Math.ceil(_[1]);if(!(_0>0)||!(_1>0))throw new Error("invalid size");return dx=_0,dy=_1,contours};contours.thresholds=function(_){return arguments.length?(threshold="function"===typeof _?_:Array.isArray(_)?constant(slice.call(_)):constant(_),contours):threshold};contours.smooth=function(_){return arguments.length?(smooth=_?smoothLinear:noop,contours):smooth===smoothLinear};return contours};function blurX(source,target,r){var n=source.width,m=source.height,w=1+(r<<1);for(var j=0;j<m;++j)for(var i=0,sr=0;i<n+r;++i){i<n&&(sr+=source.data[i+j*n]);if(i>=r){i>=w&&(sr-=source.data[i-w+j*n]);target.data[i-r+j*n]=sr/Math.min(i+1,n-1+w-i,w)}}}function blurY(source,target,r){var n=source.width,m=source.height,w=1+(r<<1);for(var i=0;i<n;++i)for(var j=0,sr=0;j<m+r;++j){j<m&&(sr+=source.data[i+j*n]);if(j>=r){j>=w&&(sr-=source.data[i+(j-w)*n]);target.data[i+(j-r)*n]=sr/Math.min(j+1,m-1+w-j,w)}}}function defaultX(d){return d[0]}function defaultY(d){return d[1]}var density=function(){var x=defaultX,y=defaultY,dx=960,dy=500,r=20,k=2,o=3*r,n=dx+2*o>>k,m=dy+2*o>>k,threshold=constant(20);function density(data){var values0=new Float32Array(n*m),values1=new Float32Array(n*m);data.forEach(function(d,i,data){var xi=x(d,i,data)+o>>k,yi=y(d,i,data)+o>>k;xi>=0&&xi<n&&yi>=0&&yi<m&&++values0[xi+yi*n]});blurX({width:n,height:m,data:values0},{width:n,height:m,data:values1},r>>k);blurY({width:n,height:m,data:values1},{width:n,height:m,data:values0},r>>k);blurX({width:n,height:m,data:values0},{width:n,height:m,data:values1},r>>k);blurY({width:n,height:m,data:values1},{width:n,height:m,data:values0},r>>k);blurX({width:n,height:m,data:values0},{width:n,height:m,data:values1},r>>k);blurY({width:n,height:m,data:values1},{width:n,height:m,data:values0},r>>k);var tz=threshold(values0);if(!Array.isArray(tz)){var stop=d3Array.max(values0);tz=d3Array.tickStep(0,stop,tz);tz=d3Array.range(0,Math.floor(stop/tz)*tz,tz);tz.shift()}return contours().thresholds(tz).size([n,m])(values0).map(transform)}function transform(geometry){geometry.value*=Math.pow(2,-2*k);geometry.coordinates.forEach(transformPolygon);return geometry}function transformPolygon(coordinates){coordinates.forEach(transformRing)}function transformRing(coordinates){coordinates.forEach(transformPoint)}function transformPoint(coordinates){coordinates[0]=coordinates[0]*Math.pow(2,k)-o;coordinates[1]=coordinates[1]*Math.pow(2,k)-o}function resize(){o=3*r;n=dx+2*o>>k;m=dy+2*o>>k;return density}density.x=function(_){return arguments.length?(x="function"===typeof _?_:constant(+_),density):x};density.y=function(_){return arguments.length?(y="function"===typeof _?_:constant(+_),density):y};density.size=function(_){if(!arguments.length)return[dx,dy];var _0=Math.ceil(_[0]),_1=Math.ceil(_[1]);if(!(_0>=0)&&!(_0>=0))throw new Error("invalid size");return dx=_0,dy=_1,resize()};density.cellSize=function(_){if(!arguments.length)return 1<<k;if(!((_=+_)>=1))throw new Error("invalid cell size");return k=Math.floor(Math.log(_)/Math.LN2),resize()};density.thresholds=function(_){return arguments.length?(threshold="function"===typeof _?_:Array.isArray(_)?constant(slice.call(_)):constant(_),density):threshold};density.bandwidth=function(_){if(!arguments.length)return Math.sqrt(r*(r+1));if(!((_=+_)>=0))throw new Error("invalid bandwidth");return r=Math.round((Math.sqrt(4*_*_+1)-1)/2),resize()};return density};exports.contours=contours;exports.contourDensity=density;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports,__webpack_require__(194));var factory},function(module,exports,__webpack_require__){0,factory=function(exports,d3Array){"use strict";var adder=function(){return new Adder};function Adder(){this.reset()}Adder.prototype={constructor:Adder,reset:function(){this.s=this.t=0},add:function(y){add(temp,y,this.t);add(this,temp.s,this.s);this.s?this.t+=temp.t:this.s=temp.t},valueOf:function(){return this.s}};var temp=new Adder;function add(adder,a,b){var x=adder.s=a+b,bv=x-a,av=x-bv;adder.t=a-av+(b-bv)}var epsilon=1e-6;var epsilon2=1e-12;var pi=Math.PI;var halfPi=pi/2;var quarterPi=pi/4;var tau=2*pi;var degrees=180/pi;var radians=pi/180;var abs=Math.abs;var atan=Math.atan;var atan2=Math.atan2;var cos=Math.cos;var ceil=Math.ceil;var exp=Math.exp;var log=Math.log;var pow=Math.pow;var sin=Math.sin;var sign=Math.sign||function(x){return x>0?1:x<0?-1:0};var sqrt=Math.sqrt;var tan=Math.tan;function acos(x){return x>1?0:x<-1?pi:Math.acos(x)}function asin(x){return x>1?halfPi:x<-1?-halfPi:Math.asin(x)}function haversin(x){return(x=sin(x/2))*x}function noop(){}function streamGeometry(geometry,stream){geometry&&streamGeometryType.hasOwnProperty(geometry.type)&&streamGeometryType[geometry.type](geometry,stream)}var streamObjectType={Feature:function(object,stream){streamGeometry(object.geometry,stream)},FeatureCollection:function(object,stream){var features=object.features,i=-1,n=features.length;while(++i<n)streamGeometry(features[i].geometry,stream)}};var streamGeometryType={Sphere:function(object,stream){stream.sphere()},Point:function(object,stream){object=object.coordinates;stream.point(object[0],object[1],object[2])},MultiPoint:function(object,stream){var coordinates=object.coordinates,i=-1,n=coordinates.length;while(++i<n)object=coordinates[i],stream.point(object[0],object[1],object[2])},LineString:function(object,stream){streamLine(object.coordinates,stream,0)},MultiLineString:function(object,stream){var coordinates=object.coordinates,i=-1,n=coordinates.length;while(++i<n)streamLine(coordinates[i],stream,0)},Polygon:function(object,stream){streamPolygon(object.coordinates,stream)},MultiPolygon:function(object,stream){var coordinates=object.coordinates,i=-1,n=coordinates.length;while(++i<n)streamPolygon(coordinates[i],stream)},GeometryCollection:function(object,stream){var geometries=object.geometries,i=-1,n=geometries.length;while(++i<n)streamGeometry(geometries[i],stream)}};function streamLine(coordinates,stream,closed){var coordinate,i=-1,n=coordinates.length-closed;stream.lineStart();while(++i<n)coordinate=coordinates[i],stream.point(coordinate[0],coordinate[1],coordinate[2]);stream.lineEnd()}function streamPolygon(coordinates,stream){var i=-1,n=coordinates.length;stream.polygonStart();while(++i<n)streamLine(coordinates[i],stream,1);stream.polygonEnd()}var geoStream=function(object,stream){object&&streamObjectType.hasOwnProperty(object.type)?streamObjectType[object.type](object,stream):streamGeometry(object,stream)};var areaRingSum=adder();var areaSum=adder();var lambda00;var phi00;var lambda0;var cosPhi0;var sinPhi0;var areaStream={point:noop,lineStart:noop,lineEnd:noop,polygonStart:function(){areaRingSum.reset();areaStream.lineStart=areaRingStart;areaStream.lineEnd=areaRingEnd},polygonEnd:function(){var areaRing=+areaRingSum;areaSum.add(areaRing<0?tau+areaRing:areaRing);this.lineStart=this.lineEnd=this.point=noop},sphere:function(){areaSum.add(tau)}};function areaRingStart(){areaStream.point=areaPointFirst}function areaRingEnd(){areaPoint(lambda00,phi00)}function areaPointFirst(lambda,phi){areaStream.point=areaPoint;lambda00=lambda,phi00=phi;lambda*=radians,phi*=radians;lambda0=lambda,cosPhi0=cos(phi=phi/2+quarterPi),sinPhi0=sin(phi)}function areaPoint(lambda,phi){lambda*=radians,phi*=radians;phi=phi/2+quarterPi;var dLambda=lambda-lambda0,sdLambda=dLambda>=0?1:-1,adLambda=sdLambda*dLambda,cosPhi=cos(phi),sinPhi=sin(phi),k=sinPhi0*sinPhi,u=cosPhi0*cosPhi+k*cos(adLambda),v=k*sdLambda*sin(adLambda);areaRingSum.add(atan2(v,u));lambda0=lambda,cosPhi0=cosPhi,sinPhi0=sinPhi}var area=function(object){areaSum.reset();geoStream(object,areaStream);return 2*areaSum};function spherical(cartesian){return[atan2(cartesian[1],cartesian[0]),asin(cartesian[2])]}function cartesian(spherical){var lambda=spherical[0],phi=spherical[1],cosPhi=cos(phi);return[cosPhi*cos(lambda),cosPhi*sin(lambda),sin(phi)]}function cartesianDot(a,b){return a[0]*b[0]+a[1]*b[1]+a[2]*b[2]}function cartesianCross(a,b){return[a[1]*b[2]-a[2]*b[1],a[2]*b[0]-a[0]*b[2],a[0]*b[1]-a[1]*b[0]]}function cartesianAddInPlace(a,b){a[0]+=b[0],a[1]+=b[1],a[2]+=b[2]}function cartesianScale(vector,k){return[vector[0]*k,vector[1]*k,vector[2]*k]}function cartesianNormalizeInPlace(d){var l=sqrt(d[0]*d[0]+d[1]*d[1]+d[2]*d[2]);d[0]/=l,d[1]/=l,d[2]/=l}var lambda0$1;var phi0;var lambda1;var phi1;var lambda2;var lambda00$1;var phi00$1;var p0;var deltaSum=adder();var ranges;var range$1;var boundsStream={point:boundsPoint,lineStart:boundsLineStart,lineEnd:boundsLineEnd,polygonStart:function(){boundsStream.point=boundsRingPoint;boundsStream.lineStart=boundsRingStart;boundsStream.lineEnd=boundsRingEnd;deltaSum.reset();areaStream.polygonStart()},polygonEnd:function(){areaStream.polygonEnd();boundsStream.point=boundsPoint;boundsStream.lineStart=boundsLineStart;boundsStream.lineEnd=boundsLineEnd;areaRingSum<0?(lambda0$1=-(lambda1=180),phi0=-(phi1=90)):deltaSum>epsilon?phi1=90:deltaSum<-epsilon&&(phi0=-90);range$1[0]=lambda0$1,range$1[1]=lambda1}};function boundsPoint(lambda,phi){ranges.push(range$1=[lambda0$1=lambda,lambda1=lambda]);phi<phi0&&(phi0=phi);phi>phi1&&(phi1=phi)}function linePoint(lambda,phi){var p=cartesian([lambda*radians,phi*radians]);if(p0){var normal=cartesianCross(p0,p),equatorial=[normal[1],-normal[0],0],inflection=cartesianCross(equatorial,normal);cartesianNormalizeInPlace(inflection);inflection=spherical(inflection);var phii,delta=lambda-lambda2,sign$$1=delta>0?1:-1,lambdai=inflection[0]*degrees*sign$$1,antimeridian=abs(delta)>180;if(antimeridian^(sign$$1*lambda2<lambdai&&lambdai<sign$$1*lambda)){phii=inflection[1]*degrees;phii>phi1&&(phi1=phii)}else if(lambdai=(lambdai+360)%360-180,antimeridian^(sign$$1*lambda2<lambdai&&lambdai<sign$$1*lambda)){phii=-inflection[1]*degrees;phii<phi0&&(phi0=phii)}else{phi<phi0&&(phi0=phi);phi>phi1&&(phi1=phi)}if(antimeridian)lambda<lambda2?angle(lambda0$1,lambda)>angle(lambda0$1,lambda1)&&(lambda1=lambda):angle(lambda,lambda1)>angle(lambda0$1,lambda1)&&(lambda0$1=lambda);else if(lambda1>=lambda0$1){lambda<lambda0$1&&(lambda0$1=lambda);lambda>lambda1&&(lambda1=lambda)}else lambda>lambda2?angle(lambda0$1,lambda)>angle(lambda0$1,lambda1)&&(lambda1=lambda):angle(lambda,lambda1)>angle(lambda0$1,lambda1)&&(lambda0$1=lambda)}else ranges.push(range$1=[lambda0$1=lambda,lambda1=lambda]);phi<phi0&&(phi0=phi);phi>phi1&&(phi1=phi);p0=p,lambda2=lambda}function boundsLineStart(){boundsStream.point=linePoint}function boundsLineEnd(){range$1[0]=lambda0$1,range$1[1]=lambda1;boundsStream.point=boundsPoint;p0=null}function boundsRingPoint(lambda,phi){if(p0){var delta=lambda-lambda2;deltaSum.add(abs(delta)>180?delta+(delta>0?360:-360):delta)}else lambda00$1=lambda,phi00$1=phi;areaStream.point(lambda,phi);linePoint(lambda,phi)}function boundsRingStart(){areaStream.lineStart()}function boundsRingEnd(){boundsRingPoint(lambda00$1,phi00$1);areaStream.lineEnd();abs(deltaSum)>epsilon&&(lambda0$1=-(lambda1=180));range$1[0]=lambda0$1,range$1[1]=lambda1;p0=null}function angle(lambda0,lambda1){return(lambda1-=lambda0)<0?lambda1+360:lambda1}function rangeCompare(a,b){return a[0]-b[0]}function rangeContains(range$$1,x){return range$$1[0]<=range$$1[1]?range$$1[0]<=x&&x<=range$$1[1]:x<range$$1[0]||range$$1[1]<x}var bounds=function(feature){var i,n,a,b,merged,deltaMax,delta;phi1=lambda1=-(lambda0$1=phi0=Infinity);ranges=[];geoStream(feature,boundsStream);if(n=ranges.length){ranges.sort(rangeCompare);for(i=1,a=ranges[0],merged=[a];i<n;++i){b=ranges[i];if(rangeContains(a,b[0])||rangeContains(a,b[1])){angle(a[0],b[1])>angle(a[0],a[1])&&(a[1]=b[1]);angle(b[0],a[1])>angle(a[0],a[1])&&(a[0]=b[0])}else merged.push(a=b)}for(deltaMax=-Infinity,n=merged.length-1,i=0,a=merged[n];i<=n;a=b,++i){b=merged[i];(delta=angle(a[1],b[0]))>deltaMax&&(deltaMax=delta,lambda0$1=b[0],lambda1=a[1])}}ranges=range$1=null;return Infinity===lambda0$1||Infinity===phi0?[[NaN,NaN],[NaN,NaN]]:[[lambda0$1,phi0],[lambda1,phi1]]};var W0;var W1;var X0;var Y0;var Z0;var X1;var Y1;var Z1;var X2;var Y2;var Z2;var lambda00$2;var phi00$2;var x0;var y0;var z0;var centroidStream={sphere:noop,point:centroidPoint,lineStart:centroidLineStart,lineEnd:centroidLineEnd,polygonStart:function(){centroidStream.lineStart=centroidRingStart;centroidStream.lineEnd=centroidRingEnd},polygonEnd:function(){centroidStream.lineStart=centroidLineStart;centroidStream.lineEnd=centroidLineEnd}};function centroidPoint(lambda,phi){lambda*=radians,phi*=radians;var cosPhi=cos(phi);centroidPointCartesian(cosPhi*cos(lambda),cosPhi*sin(lambda),sin(phi))}function centroidPointCartesian(x,y,z){++W0;X0+=(x-X0)/W0;Y0+=(y-Y0)/W0;Z0+=(z-Z0)/W0}function centroidLineStart(){centroidStream.point=centroidLinePointFirst}function centroidLinePointFirst(lambda,phi){lambda*=radians,phi*=radians;var cosPhi=cos(phi);x0=cosPhi*cos(lambda);y0=cosPhi*sin(lambda);z0=sin(phi);centroidStream.point=centroidLinePoint;centroidPointCartesian(x0,y0,z0)}function centroidLinePoint(lambda,phi){lambda*=radians,phi*=radians;var cosPhi=cos(phi),x=cosPhi*cos(lambda),y=cosPhi*sin(lambda),z=sin(phi),w=atan2(sqrt((w=y0*z-z0*y)*w+(w=z0*x-x0*z)*w+(w=x0*y-y0*x)*w),x0*x+y0*y+z0*z);W1+=w;X1+=w*(x0+(x0=x));Y1+=w*(y0+(y0=y));Z1+=w*(z0+(z0=z));centroidPointCartesian(x0,y0,z0)}function centroidLineEnd(){centroidStream.point=centroidPoint}function centroidRingStart(){centroidStream.point=centroidRingPointFirst}function centroidRingEnd(){centroidRingPoint(lambda00$2,phi00$2);centroidStream.point=centroidPoint}function centroidRingPointFirst(lambda,phi){lambda00$2=lambda,phi00$2=phi;lambda*=radians,phi*=radians;centroidStream.point=centroidRingPoint;var cosPhi=cos(phi);x0=cosPhi*cos(lambda);y0=cosPhi*sin(lambda);z0=sin(phi);centroidPointCartesian(x0,y0,z0)}function centroidRingPoint(lambda,phi){lambda*=radians,phi*=radians;var cosPhi=cos(phi),x=cosPhi*cos(lambda),y=cosPhi*sin(lambda),z=sin(phi),cx=y0*z-z0*y,cy=z0*x-x0*z,cz=x0*y-y0*x,m=sqrt(cx*cx+cy*cy+cz*cz),w=asin(m),v=m&&-w/m;X2+=v*cx;Y2+=v*cy;Z2+=v*cz;W1+=w;X1+=w*(x0+(x0=x));Y1+=w*(y0+(y0=y));Z1+=w*(z0+(z0=z));centroidPointCartesian(x0,y0,z0)}var centroid=function(object){W0=W1=X0=Y0=Z0=X1=Y1=Z1=X2=Y2=Z2=0;geoStream(object,centroidStream);var x=X2,y=Y2,z=Z2,m=x*x+y*y+z*z;if(m<epsilon2){x=X1,y=Y1,z=Z1;W1<epsilon&&(x=X0,y=Y0,z=Z0);m=x*x+y*y+z*z;if(m<epsilon2)return[NaN,NaN]}return[atan2(y,x)*degrees,asin(z/sqrt(m))*degrees]};var constant=function(x){return function(){return x}};var compose=function(a,b){function compose(x,y){return x=a(x,y),b(x[0],x[1])}a.invert&&b.invert&&(compose.invert=function(x,y){return x=b.invert(x,y),x&&a.invert(x[0],x[1])});return compose};function rotationIdentity(lambda,phi){return[lambda>pi?lambda-tau:lambda<-pi?lambda+tau:lambda,phi]}rotationIdentity.invert=rotationIdentity;function rotateRadians(deltaLambda,deltaPhi,deltaGamma){return(deltaLambda%=tau)?deltaPhi||deltaGamma?compose(rotationLambda(deltaLambda),rotationPhiGamma(deltaPhi,deltaGamma)):rotationLambda(deltaLambda):deltaPhi||deltaGamma?rotationPhiGamma(deltaPhi,deltaGamma):rotationIdentity}function forwardRotationLambda(deltaLambda){return function(lambda,phi){return lambda+=deltaLambda,[lambda>pi?lambda-tau:lambda<-pi?lambda+tau:lambda,phi]}}function rotationLambda(deltaLambda){var rotation=forwardRotationLambda(deltaLambda);rotation.invert=forwardRotationLambda(-deltaLambda);return rotation}function rotationPhiGamma(deltaPhi,deltaGamma){var cosDeltaPhi=cos(deltaPhi),sinDeltaPhi=sin(deltaPhi),cosDeltaGamma=cos(deltaGamma),sinDeltaGamma=sin(deltaGamma);function rotation(lambda,phi){var cosPhi=cos(phi),x=cos(lambda)*cosPhi,y=sin(lambda)*cosPhi,z=sin(phi),k=z*cosDeltaPhi+x*sinDeltaPhi;return[atan2(y*cosDeltaGamma-k*sinDeltaGamma,x*cosDeltaPhi-z*sinDeltaPhi),asin(k*cosDeltaGamma+y*sinDeltaGamma)]}rotation.invert=function(lambda,phi){var cosPhi=cos(phi),x=cos(lambda)*cosPhi,y=sin(lambda)*cosPhi,z=sin(phi),k=z*cosDeltaGamma-y*sinDeltaGamma;return[atan2(y*cosDeltaGamma+z*sinDeltaGamma,x*cosDeltaPhi+k*sinDeltaPhi),asin(k*cosDeltaPhi-x*sinDeltaPhi)]};return rotation}var rotation=function(rotate){rotate=rotateRadians(rotate[0]*radians,rotate[1]*radians,rotate.length>2?rotate[2]*radians:0);function forward(coordinates){coordinates=rotate(coordinates[0]*radians,coordinates[1]*radians);return coordinates[0]*=degrees,coordinates[1]*=degrees,coordinates}forward.invert=function(coordinates){coordinates=rotate.invert(coordinates[0]*radians,coordinates[1]*radians);return coordinates[0]*=degrees,coordinates[1]*=degrees,coordinates};return forward};function circleStream(stream,radius,delta,direction,t0,t1){if(!delta)return;var cosRadius=cos(radius),sinRadius=sin(radius),step=direction*delta;if(null==t0){t0=radius+direction*tau;t1=radius-step/2}else{t0=circleRadius(cosRadius,t0);t1=circleRadius(cosRadius,t1);(direction>0?t0<t1:t0>t1)&&(t0+=direction*tau)}for(var point,t=t0;direction>0?t>t1:t<t1;t-=step){point=spherical([cosRadius,-sinRadius*cos(t),-sinRadius*sin(t)]);stream.point(point[0],point[1])}}function circleRadius(cosRadius,point){point=cartesian(point),point[0]-=cosRadius;cartesianNormalizeInPlace(point);var radius=acos(-point[1]);return((-point[2]<0?-radius:radius)+tau-epsilon)%tau}var circle=function(){var ring,rotate,center=constant([0,0]),radius=constant(90),precision=constant(6),stream={point:point};function point(x,y){ring.push(x=rotate(x,y));x[0]*=degrees,x[1]*=degrees}function circle(){var c=center.apply(this,arguments),r=radius.apply(this,arguments)*radians,p=precision.apply(this,arguments)*radians;ring=[];rotate=rotateRadians(-c[0]*radians,-c[1]*radians,0).invert;circleStream(stream,r,p,1);c={type:"Polygon",coordinates:[ring]};ring=rotate=null;return c}circle.center=function(_){return arguments.length?(center="function"===typeof _?_:constant([+_[0],+_[1]]),circle):center};circle.radius=function(_){return arguments.length?(radius="function"===typeof _?_:constant(+_),circle):radius};circle.precision=function(_){return arguments.length?(precision="function"===typeof _?_:constant(+_),circle):precision};return circle};var clipBuffer=function(){var line,lines=[];return{point:function(x,y){line.push([x,y])},lineStart:function(){lines.push(line=[])},lineEnd:noop,rejoin:function(){lines.length>1&&lines.push(lines.pop().concat(lines.shift()))},result:function(){var result=lines;lines=[];line=null;return result}}};var pointEqual=function(a,b){return abs(a[0]-b[0])<epsilon&&abs(a[1]-b[1])<epsilon};function Intersection(point,points,other,entry){this.x=point;this.z=points;this.o=other;this.e=entry;this.v=false;this.n=this.p=null}var clipRejoin=function(segments,compareIntersection,startInside,interpolate,stream){var i,n,subject=[],clip=[];segments.forEach(function(segment){if((n=segment.length-1)<=0)return;var n,x,p0=segment[0],p1=segment[n];if(pointEqual(p0,p1)){stream.lineStart();for(i=0;i<n;++i)stream.point((p0=segment[i])[0],p0[1]);stream.lineEnd();return}subject.push(x=new Intersection(p0,segment,null,true));clip.push(x.o=new Intersection(p0,null,x,false));subject.push(x=new Intersection(p1,segment,null,false));clip.push(x.o=new Intersection(p1,null,x,true))});if(!subject.length)return;clip.sort(compareIntersection);link(subject);link(clip);for(i=0,n=clip.length;i<n;++i)clip[i].e=startInside=!startInside;var points,point,start=subject[0];while(1){var current=start,isSubject=true;while(current.v)if((current=current.n)===start)return;points=current.z;stream.lineStart();do{current.v=current.o.v=true;if(current.e){if(isSubject)for(i=0,n=points.length;i<n;++i)stream.point((point=points[i])[0],point[1]);else interpolate(current.x,current.n.x,1,stream);current=current.n}else{if(isSubject){points=current.p.z;for(i=points.length-1;i>=0;--i)stream.point((point=points[i])[0],point[1])}else interpolate(current.x,current.p.x,-1,stream);current=current.p}current=current.o;points=current.z;isSubject=!isSubject}while(!current.v);stream.lineEnd()}};function link(array){if(!(n=array.length))return;var n,b,i=0,a=array[0];while(++i<n){a.n=b=array[i];b.p=a;a=b}a.n=b=array[0];b.p=a}var sum=adder();var polygonContains=function(polygon,point){var lambda=point[0],phi=point[1],normal=[sin(lambda),-cos(lambda),0],angle=0,winding=0;sum.reset();for(var i=0,n=polygon.length;i<n;++i){if(!(m=(ring=polygon[i]).length))continue;var ring,m,point0=ring[m-1],lambda0=point0[0],phi0=point0[1]/2+quarterPi,sinPhi0=sin(phi0),cosPhi0=cos(phi0);for(var j=0;j<m;++j,lambda0=lambda1,sinPhi0=sinPhi1,cosPhi0=cosPhi1,point0=point1){var point1=ring[j],lambda1=point1[0],phi1=point1[1]/2+quarterPi,sinPhi1=sin(phi1),cosPhi1=cos(phi1),delta=lambda1-lambda0,sign$$1=delta>=0?1:-1,absDelta=sign$$1*delta,antimeridian=absDelta>pi,k=sinPhi0*sinPhi1;sum.add(atan2(k*sign$$1*sin(absDelta),cosPhi0*cosPhi1+k*cos(absDelta)));angle+=antimeridian?delta+sign$$1*tau:delta;if(antimeridian^lambda0>=lambda^lambda1>=lambda){var arc=cartesianCross(cartesian(point0),cartesian(point1));cartesianNormalizeInPlace(arc);var intersection=cartesianCross(normal,arc);cartesianNormalizeInPlace(intersection);var phiArc=(antimeridian^delta>=0?-1:1)*asin(intersection[2]);(phi>phiArc||phi===phiArc&&(arc[0]||arc[1]))&&(winding+=antimeridian^delta>=0?1:-1)}}}return(angle<-epsilon||angle<epsilon&&sum<-epsilon)^1&winding};var clip=function(pointVisible,clipLine,interpolate,start){return function(sink){var polygon,segments,ring,line=clipLine(sink),ringBuffer=clipBuffer(),ringSink=clipLine(ringBuffer),polygonStarted=false;var clip={point:point,lineStart:lineStart,lineEnd:lineEnd,polygonStart:function(){clip.point=pointRing;clip.lineStart=ringStart;clip.lineEnd=ringEnd;segments=[];polygon=[]},polygonEnd:function(){clip.point=point;clip.lineStart=lineStart;clip.lineEnd=lineEnd;segments=d3Array.merge(segments);var startInside=polygonContains(polygon,start);if(segments.length){polygonStarted||(sink.polygonStart(),polygonStarted=true);clipRejoin(segments,compareIntersection,startInside,interpolate,sink)}else if(startInside){polygonStarted||(sink.polygonStart(),polygonStarted=true);sink.lineStart();interpolate(null,null,1,sink);sink.lineEnd()}polygonStarted&&(sink.polygonEnd(),polygonStarted=false);segments=polygon=null},sphere:function(){sink.polygonStart();sink.lineStart();interpolate(null,null,1,sink);sink.lineEnd();sink.polygonEnd()}};function point(lambda,phi){pointVisible(lambda,phi)&&sink.point(lambda,phi)}function pointLine(lambda,phi){line.point(lambda,phi)}function lineStart(){clip.point=pointLine;line.lineStart()}function lineEnd(){clip.point=point;line.lineEnd()}function pointRing(lambda,phi){ring.push([lambda,phi]);ringSink.point(lambda,phi)}function ringStart(){ringSink.lineStart();ring=[]}function ringEnd(){pointRing(ring[0][0],ring[0][1]);ringSink.lineEnd();var i,m,segment,point,clean=ringSink.clean(),ringSegments=ringBuffer.result(),n=ringSegments.length;ring.pop();polygon.push(ring);ring=null;if(!n)return;if(1&clean){segment=ringSegments[0];if((m=segment.length-1)>0){polygonStarted||(sink.polygonStart(),polygonStarted=true);sink.lineStart();for(i=0;i<m;++i)sink.point((point=segment[i])[0],point[1]);sink.lineEnd()}return}n>1&&2&clean&&ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));segments.push(ringSegments.filter(validSegment))}return clip}};function validSegment(segment){return segment.length>1}function compareIntersection(a,b){return((a=a.x)[0]<0?a[1]-halfPi-epsilon:halfPi-a[1])-((b=b.x)[0]<0?b[1]-halfPi-epsilon:halfPi-b[1])}var clipAntimeridian=clip(function(){return true},clipAntimeridianLine,clipAntimeridianInterpolate,[-pi,-halfPi]);function clipAntimeridianLine(stream){var clean,lambda0=NaN,phi0=NaN,sign0=NaN;return{lineStart:function(){stream.lineStart();clean=1},point:function(lambda1,phi1){var sign1=lambda1>0?pi:-pi,delta=abs(lambda1-lambda0);if(abs(delta-pi)<epsilon){stream.point(lambda0,phi0=(phi0+phi1)/2>0?halfPi:-halfPi);stream.point(sign0,phi0);stream.lineEnd();stream.lineStart();stream.point(sign1,phi0);stream.point(lambda1,phi0);clean=0}else if(sign0!==sign1&&delta>=pi){abs(lambda0-sign0)<epsilon&&(lambda0-=sign0*epsilon);abs(lambda1-sign1)<epsilon&&(lambda1-=sign1*epsilon);phi0=clipAntimeridianIntersect(lambda0,phi0,lambda1,phi1);stream.point(sign0,phi0);stream.lineEnd();stream.lineStart();stream.point(sign1,phi0);clean=0}stream.point(lambda0=lambda1,phi0=phi1);sign0=sign1},lineEnd:function(){stream.lineEnd();lambda0=phi0=NaN},clean:function(){return 2-clean}}}function clipAntimeridianIntersect(lambda0,phi0,lambda1,phi1){var cosPhi0,cosPhi1,sinLambda0Lambda1=sin(lambda0-lambda1);return abs(sinLambda0Lambda1)>epsilon?atan((sin(phi0)*(cosPhi1=cos(phi1))*sin(lambda1)-sin(phi1)*(cosPhi0=cos(phi0))*sin(lambda0))/(cosPhi0*cosPhi1*sinLambda0Lambda1)):(phi0+phi1)/2}function clipAntimeridianInterpolate(from,to,direction,stream){var phi;if(null==from){phi=direction*halfPi;stream.point(-pi,phi);stream.point(0,phi);stream.point(pi,phi);stream.point(pi,0);stream.point(pi,-phi);stream.point(0,-phi);stream.point(-pi,-phi);stream.point(-pi,0);stream.point(-pi,phi)}else if(abs(from[0]-to[0])>epsilon){var lambda=from[0]<to[0]?pi:-pi;phi=direction*lambda/2;stream.point(-lambda,phi);stream.point(0,phi);stream.point(lambda,phi)}else stream.point(to[0],to[1])}var clipCircle=function(radius){var cr=cos(radius),delta=6*radians,smallRadius=cr>0,notHemisphere=abs(cr)>epsilon;function interpolate(from,to,direction,stream){circleStream(stream,radius,delta,direction,from,to)}function visible(lambda,phi){return cos(lambda)*cos(phi)>cr}function clipLine(stream){var point0,c0,v0,v00,clean;return{lineStart:function(){v00=v0=false;clean=1},point:function(lambda,phi){var point2,point1=[lambda,phi],v=visible(lambda,phi),c=smallRadius?v?0:code(lambda,phi):v?code(lambda+(lambda<0?pi:-pi),phi):0;!point0&&(v00=v0=v)&&stream.lineStart();if(v!==v0){point2=intersect(point0,point1);if(!point2||pointEqual(point0,point2)||pointEqual(point1,point2)){point1[0]+=epsilon;point1[1]+=epsilon;v=visible(point1[0],point1[1])}}if(v!==v0){clean=0;if(v){stream.lineStart();point2=intersect(point1,point0);stream.point(point2[0],point2[1])}else{point2=intersect(point0,point1);stream.point(point2[0],point2[1]);stream.lineEnd()}point0=point2}else if(notHemisphere&&point0&&smallRadius^v){var t;if(!(c&c0)&&(t=intersect(point1,point0,true))){clean=0;if(smallRadius){stream.lineStart();stream.point(t[0][0],t[0][1]);stream.point(t[1][0],t[1][1]);stream.lineEnd()}else{stream.point(t[1][0],t[1][1]);stream.lineEnd();stream.lineStart();stream.point(t[0][0],t[0][1])}}}!v||point0&&pointEqual(point0,point1)||stream.point(point1[0],point1[1]);point0=point1,v0=v,c0=c},lineEnd:function(){v0&&stream.lineEnd();point0=null},clean:function(){return clean|(v00&&v0)<<1}}}function intersect(a,b,two){var pa=cartesian(a),pb=cartesian(b);var n1=[1,0,0],n2=cartesianCross(pa,pb),n2n2=cartesianDot(n2,n2),n1n2=n2[0],determinant=n2n2-n1n2*n1n2;if(!determinant)return!two&&a;var c1=cr*n2n2/determinant,c2=-cr*n1n2/determinant,n1xn2=cartesianCross(n1,n2),A=cartesianScale(n1,c1),B=cartesianScale(n2,c2);cartesianAddInPlace(A,B);var u=n1xn2,w=cartesianDot(A,u),uu=cartesianDot(u,u),t2=w*w-uu*(cartesianDot(A,A)-1);if(t2<0)return;var t=sqrt(t2),q=cartesianScale(u,(-w-t)/uu);cartesianAddInPlace(q,A);q=spherical(q);if(!two)return q;var z,lambda0=a[0],lambda1=b[0],phi0=a[1],phi1=b[1];lambda1<lambda0&&(z=lambda0,lambda0=lambda1,lambda1=z);var delta=lambda1-lambda0,polar=abs(delta-pi)<epsilon,meridian=polar||delta<epsilon;!polar&&phi1<phi0&&(z=phi0,phi0=phi1,phi1=z);if(meridian?polar?phi0+phi1>0^q[1]<(abs(q[0]-lambda0)<epsilon?phi0:phi1):phi0<=q[1]&&q[1]<=phi1:delta>pi^(lambda0<=q[0]&&q[0]<=lambda1)){var q1=cartesianScale(u,(-w+t)/uu);cartesianAddInPlace(q1,A);return[q,spherical(q1)]}}function code(lambda,phi){var r=smallRadius?radius:pi-radius,code=0;lambda<-r?code|=1:lambda>r&&(code|=2);phi<-r?code|=4:phi>r&&(code|=8);return code}return clip(visible,clipLine,interpolate,smallRadius?[0,-radius]:[-pi,radius-pi])};var clipLine=function(a,b,x0,y0,x1,y1){var r,ax=a[0],ay=a[1],bx=b[0],by=b[1],t0=0,t1=1,dx=bx-ax,dy=by-ay;r=x0-ax;if(!dx&&r>0)return;r/=dx;if(dx<0){if(r<t0)return;r<t1&&(t1=r)}else if(dx>0){if(r>t1)return;r>t0&&(t0=r)}r=x1-ax;if(!dx&&r<0)return;r/=dx;if(dx<0){if(r>t1)return;r>t0&&(t0=r)}else if(dx>0){if(r<t0)return;r<t1&&(t1=r)}r=y0-ay;if(!dy&&r>0)return;r/=dy;if(dy<0){if(r<t0)return;r<t1&&(t1=r)}else if(dy>0){if(r>t1)return;r>t0&&(t0=r)}r=y1-ay;if(!dy&&r<0)return;r/=dy;if(dy<0){if(r>t1)return;r>t0&&(t0=r)}else if(dy>0){if(r<t0)return;r<t1&&(t1=r)}t0>0&&(a[0]=ax+t0*dx,a[1]=ay+t0*dy);t1<1&&(b[0]=ax+t1*dx,b[1]=ay+t1*dy);return true};var clipMax=1e9;var clipMin=-clipMax;function clipRectangle(x0,y0,x1,y1){function visible(x,y){return x0<=x&&x<=x1&&y0<=y&&y<=y1}function interpolate(from,to,direction,stream){var a=0,a1=0;if(null==from||(a=corner(from,direction))!==(a1=corner(to,direction))||comparePoint(from,to)<0^direction>0)do{stream.point(0===a||3===a?x0:x1,a>1?y1:y0)}while((a=(a+direction+4)%4)!==a1);else stream.point(to[0],to[1])}function corner(p,direction){return abs(p[0]-x0)<epsilon?direction>0?0:3:abs(p[0]-x1)<epsilon?direction>0?2:1:abs(p[1]-y0)<epsilon?direction>0?1:0:direction>0?3:2}function compareIntersection(a,b){return comparePoint(a.x,b.x)}function comparePoint(a,b){var ca=corner(a,1),cb=corner(b,1);return ca!==cb?ca-cb:0===ca?b[1]-a[1]:1===ca?a[0]-b[0]:2===ca?a[1]-b[1]:b[0]-a[0]}return function(stream){var segments,polygon,ring,x__,y__,v__,x_,y_,v_,first,clean,activeStream=stream,bufferStream=clipBuffer();var clipStream={point:point,lineStart:lineStart,lineEnd:lineEnd,polygonStart:polygonStart,polygonEnd:polygonEnd};function point(x,y){visible(x,y)&&activeStream.point(x,y)}function polygonInside(){var winding=0;for(var i=0,n=polygon.length;i<n;++i)for(var a0,a1,ring=polygon[i],j=1,m=ring.length,point=ring[0],b0=point[0],b1=point[1];j<m;++j){a0=b0,a1=b1,point=ring[j],b0=point[0],b1=point[1];a1<=y1?b1>y1&&(b0-a0)*(y1-a1)>(b1-a1)*(x0-a0)&&++winding:b1<=y1&&(b0-a0)*(y1-a1)<(b1-a1)*(x0-a0)&&--winding}return winding}function polygonStart(){activeStream=bufferStream,segments=[],polygon=[],clean=true}function polygonEnd(){var startInside=polygonInside(),cleanInside=clean&&startInside,visible=(segments=d3Array.merge(segments)).length;if(cleanInside||visible){stream.polygonStart();if(cleanInside){stream.lineStart();interpolate(null,null,1,stream);stream.lineEnd()}visible&&clipRejoin(segments,compareIntersection,startInside,interpolate,stream);stream.polygonEnd()}activeStream=stream,segments=polygon=ring=null}function lineStart(){clipStream.point=linePoint;polygon&&polygon.push(ring=[]);first=true;v_=false;x_=y_=NaN}function lineEnd(){if(segments){linePoint(x__,y__);v__&&v_&&bufferStream.rejoin();segments.push(bufferStream.result())}clipStream.point=point;v_&&activeStream.lineEnd()}function linePoint(x,y){var v=visible(x,y);polygon&&ring.push([x,y]);if(first){x__=x,y__=y,v__=v;first=false;if(v){activeStream.lineStart();activeStream.point(x,y)}}else if(v&&v_)activeStream.point(x,y);else{var a=[x_=Math.max(clipMin,Math.min(clipMax,x_)),y_=Math.max(clipMin,Math.min(clipMax,y_))],b=[x=Math.max(clipMin,Math.min(clipMax,x)),y=Math.max(clipMin,Math.min(clipMax,y))];if(clipLine(a,b,x0,y0,x1,y1)){if(!v_){activeStream.lineStart();activeStream.point(a[0],a[1])}activeStream.point(b[0],b[1]);v||activeStream.lineEnd();clean=false}else if(v){activeStream.lineStart();activeStream.point(x,y);clean=false}}x_=x,y_=y,v_=v}return clipStream}}var extent=function(){var cache,cacheStream,clip,x0=0,y0=0,x1=960,y1=500;return clip={stream:function(stream){return cache&&cacheStream===stream?cache:cache=clipRectangle(x0,y0,x1,y1)(cacheStream=stream)},extent:function(_){return arguments.length?(x0=+_[0][0],y0=+_[0][1],x1=+_[1][0],y1=+_[1][1],cache=cacheStream=null,clip):[[x0,y0],[x1,y1]]}}};var lengthSum=adder();var lambda0$2;var sinPhi0$1;var cosPhi0$1;var lengthStream={sphere:noop,point:noop,lineStart:lengthLineStart,lineEnd:noop,polygonStart:noop,polygonEnd:noop};function lengthLineStart(){lengthStream.point=lengthPointFirst;lengthStream.lineEnd=lengthLineEnd}function lengthLineEnd(){lengthStream.point=lengthStream.lineEnd=noop}function lengthPointFirst(lambda,phi){lambda*=radians,phi*=radians;lambda0$2=lambda,sinPhi0$1=sin(phi),cosPhi0$1=cos(phi);lengthStream.point=lengthPoint}function lengthPoint(lambda,phi){lambda*=radians,phi*=radians;var sinPhi=sin(phi),cosPhi=cos(phi),delta=abs(lambda-lambda0$2),cosDelta=cos(delta),sinDelta=sin(delta),x=cosPhi*sinDelta,y=cosPhi0$1*sinPhi-sinPhi0$1*cosPhi*cosDelta,z=sinPhi0$1*sinPhi+cosPhi0$1*cosPhi*cosDelta;lengthSum.add(atan2(sqrt(x*x+y*y),z));lambda0$2=lambda,sinPhi0$1=sinPhi,cosPhi0$1=cosPhi}var length=function(object){lengthSum.reset();geoStream(object,lengthStream);return+lengthSum};var coordinates=[null,null];var object={type:"LineString",coordinates:coordinates};var distance=function(a,b){coordinates[0]=a;coordinates[1]=b;return length(object)};var containsObjectType={Feature:function(object,point){return containsGeometry(object.geometry,point)},FeatureCollection:function(object,point){var features=object.features,i=-1,n=features.length;while(++i<n)if(containsGeometry(features[i].geometry,point))return true;return false}};var containsGeometryType={Sphere:function(){return true},Point:function(object,point){return containsPoint(object.coordinates,point)},MultiPoint:function(object,point){var coordinates=object.coordinates,i=-1,n=coordinates.length;while(++i<n)if(containsPoint(coordinates[i],point))return true;return false},LineString:function(object,point){return containsLine(object.coordinates,point)},MultiLineString:function(object,point){var coordinates=object.coordinates,i=-1,n=coordinates.length;while(++i<n)if(containsLine(coordinates[i],point))return true;return false},Polygon:function(object,point){return containsPolygon(object.coordinates,point)},MultiPolygon:function(object,point){var coordinates=object.coordinates,i=-1,n=coordinates.length;while(++i<n)if(containsPolygon(coordinates[i],point))return true;return false},GeometryCollection:function(object,point){var geometries=object.geometries,i=-1,n=geometries.length;while(++i<n)if(containsGeometry(geometries[i],point))return true;return false}};function containsGeometry(geometry,point){return!(!geometry||!containsGeometryType.hasOwnProperty(geometry.type))&&containsGeometryType[geometry.type](geometry,point)}function containsPoint(coordinates,point){return 0===distance(coordinates,point)}function containsLine(coordinates,point){var ab=distance(coordinates[0],coordinates[1]),ao=distance(coordinates[0],point),ob=distance(point,coordinates[1]);return ao+ob<=ab+epsilon}function containsPolygon(coordinates,point){return!!polygonContains(coordinates.map(ringRadians),pointRadians(point))}function ringRadians(ring){return ring=ring.map(pointRadians),ring.pop(),ring}function pointRadians(point){return[point[0]*radians,point[1]*radians]}var contains=function(object,point){return(object&&containsObjectType.hasOwnProperty(object.type)?containsObjectType[object.type]:containsGeometry)(object,point)};function graticuleX(y0,y1,dy){var y=d3Array.range(y0,y1-epsilon,dy).concat(y1);return function(x){return y.map(function(y){return[x,y]})}}function graticuleY(x0,x1,dx){var x=d3Array.range(x0,x1-epsilon,dx).concat(x1);return function(y){return x.map(function(x){return[x,y]})}}function graticule(){var x1,x0,X1,X0,y1,y0,Y1,Y0,x,y,X,Y,dx=10,dy=dx,DX=90,DY=360,precision=2.5;function graticule(){return{type:"MultiLineString",coordinates:lines()}}function lines(){return d3Array.range(ceil(X0/DX)*DX,X1,DX).map(X).concat(d3Array.range(ceil(Y0/DY)*DY,Y1,DY).map(Y)).concat(d3Array.range(ceil(x0/dx)*dx,x1,dx).filter(function(x){return abs(x%DX)>epsilon}).map(x)).concat(d3Array.range(ceil(y0/dy)*dy,y1,dy).filter(function(y){return abs(y%DY)>epsilon}).map(y))}graticule.lines=function(){return lines().map(function(coordinates){return{type:"LineString",coordinates:coordinates}})};graticule.outline=function(){return{type:"Polygon",coordinates:[X(X0).concat(Y(Y1).slice(1),X(X1).reverse().slice(1),Y(Y0).reverse().slice(1))]}};graticule.extent=function(_){if(!arguments.length)return graticule.extentMinor();return graticule.extentMajor(_).extentMinor(_)};graticule.extentMajor=function(_){if(!arguments.length)return[[X0,Y0],[X1,Y1]];X0=+_[0][0],X1=+_[1][0];Y0=+_[0][1],Y1=+_[1][1];X0>X1&&(_=X0,X0=X1,X1=_);Y0>Y1&&(_=Y0,Y0=Y1,Y1=_);return graticule.precision(precision)};graticule.extentMinor=function(_){if(!arguments.length)return[[x0,y0],[x1,y1]];x0=+_[0][0],x1=+_[1][0];y0=+_[0][1],y1=+_[1][1];x0>x1&&(_=x0,x0=x1,x1=_);y0>y1&&(_=y0,y0=y1,y1=_);return graticule.precision(precision)};graticule.step=function(_){if(!arguments.length)return graticule.stepMinor();return graticule.stepMajor(_).stepMinor(_)};graticule.stepMajor=function(_){if(!arguments.length)return[DX,DY];DX=+_[0],DY=+_[1];return graticule};graticule.stepMinor=function(_){if(!arguments.length)return[dx,dy];dx=+_[0],dy=+_[1];return graticule};graticule.precision=function(_){if(!arguments.length)return precision;precision=+_;x=graticuleX(y0,y1,90);y=graticuleY(x0,x1,precision);X=graticuleX(Y0,Y1,90);Y=graticuleY(X0,X1,precision);return graticule};return graticule.extentMajor([[-180,-90+epsilon],[180,90-epsilon]]).extentMinor([[-180,-80-epsilon],[180,80+epsilon]])}function graticule10(){return graticule()()}var interpolate=function(a,b){var x0=a[0]*radians,y0=a[1]*radians,x1=b[0]*radians,y1=b[1]*radians,cy0=cos(y0),sy0=sin(y0),cy1=cos(y1),sy1=sin(y1),kx0=cy0*cos(x0),ky0=cy0*sin(x0),kx1=cy1*cos(x1),ky1=cy1*sin(x1),d=2*asin(sqrt(haversin(y1-y0)+cy0*cy1*haversin(x1-x0))),k=sin(d);var interpolate=d?function(t){var B=sin(t*=d)/k,A=sin(d-t)/k,x=A*kx0+B*kx1,y=A*ky0+B*ky1,z=A*sy0+B*sy1;return[atan2(y,x)*degrees,atan2(z,sqrt(x*x+y*y))*degrees]}:function(){return[x0*degrees,y0*degrees]};interpolate.distance=d;return interpolate};var identity=function(x){return x};var areaSum$1=adder();var areaRingSum$1=adder();var x00;var y00;var x0$1;var y0$1;var areaStream$1={point:noop,lineStart:noop,lineEnd:noop,polygonStart:function(){areaStream$1.lineStart=areaRingStart$1;areaStream$1.lineEnd=areaRingEnd$1},polygonEnd:function(){areaStream$1.lineStart=areaStream$1.lineEnd=areaStream$1.point=noop;areaSum$1.add(abs(areaRingSum$1));areaRingSum$1.reset()},result:function(){var area=areaSum$1/2;areaSum$1.reset();return area}};function areaRingStart$1(){areaStream$1.point=areaPointFirst$1}function areaPointFirst$1(x,y){areaStream$1.point=areaPoint$1;x00=x0$1=x,y00=y0$1=y}function areaPoint$1(x,y){areaRingSum$1.add(y0$1*x-x0$1*y);x0$1=x,y0$1=y}function areaRingEnd$1(){areaPoint$1(x00,y00)}var x0$2=Infinity;var y0$2=x0$2;var x1=-x0$2;var y1=x1;var boundsStream$1={point:boundsPoint$1,lineStart:noop,lineEnd:noop,polygonStart:noop,polygonEnd:noop,result:function(){var bounds=[[x0$2,y0$2],[x1,y1]];x1=y1=-(y0$2=x0$2=Infinity);return bounds}};function boundsPoint$1(x,y){x<x0$2&&(x0$2=x);x>x1&&(x1=x);y<y0$2&&(y0$2=y);y>y1&&(y1=y)}var X0$1=0;var Y0$1=0;var Z0$1=0;var X1$1=0;var Y1$1=0;var Z1$1=0;var X2$1=0;var Y2$1=0;var Z2$1=0;var x00$1;var y00$1;var x0$3;var y0$3;var centroidStream$1={point:centroidPoint$1,lineStart:centroidLineStart$1,lineEnd:centroidLineEnd$1,polygonStart:function(){centroidStream$1.lineStart=centroidRingStart$1;centroidStream$1.lineEnd=centroidRingEnd$1},polygonEnd:function(){centroidStream$1.point=centroidPoint$1;centroidStream$1.lineStart=centroidLineStart$1;centroidStream$1.lineEnd=centroidLineEnd$1},result:function(){var centroid=Z2$1?[X2$1/Z2$1,Y2$1/Z2$1]:Z1$1?[X1$1/Z1$1,Y1$1/Z1$1]:Z0$1?[X0$1/Z0$1,Y0$1/Z0$1]:[NaN,NaN];X0$1=Y0$1=Z0$1=X1$1=Y1$1=Z1$1=X2$1=Y2$1=Z2$1=0;return centroid}};function centroidPoint$1(x,y){X0$1+=x;Y0$1+=y;++Z0$1}function centroidLineStart$1(){centroidStream$1.point=centroidPointFirstLine}function centroidPointFirstLine(x,y){centroidStream$1.point=centroidPointLine;centroidPoint$1(x0$3=x,y0$3=y)}function centroidPointLine(x,y){var dx=x-x0$3,dy=y-y0$3,z=sqrt(dx*dx+dy*dy);X1$1+=z*(x0$3+x)/2;Y1$1+=z*(y0$3+y)/2;Z1$1+=z;centroidPoint$1(x0$3=x,y0$3=y)}function centroidLineEnd$1(){centroidStream$1.point=centroidPoint$1}function centroidRingStart$1(){centroidStream$1.point=centroidPointFirstRing}function centroidRingEnd$1(){centroidPointRing(x00$1,y00$1)}function centroidPointFirstRing(x,y){centroidStream$1.point=centroidPointRing;centroidPoint$1(x00$1=x0$3=x,y00$1=y0$3=y)}function centroidPointRing(x,y){var dx=x-x0$3,dy=y-y0$3,z=sqrt(dx*dx+dy*dy);X1$1+=z*(x0$3+x)/2;Y1$1+=z*(y0$3+y)/2;Z1$1+=z;z=y0$3*x-x0$3*y;X2$1+=z*(x0$3+x);Y2$1+=z*(y0$3+y);Z2$1+=3*z;centroidPoint$1(x0$3=x,y0$3=y)}function PathContext(context){this._context=context}PathContext.prototype={_radius:4.5,pointRadius:function(_){return this._radius=_,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath();this._point=NaN},point:function(x,y){switch(this._point){case 0:this._context.moveTo(x,y);this._point=1;break;case 1:this._context.lineTo(x,y);break;default:this._context.moveTo(x+this._radius,y);this._context.arc(x,y,this._radius,0,tau)}},result:noop};var lengthSum$1=adder();var lengthRing;var x00$2;var y00$2;var x0$4;var y0$4;var lengthStream$1={point:noop,lineStart:function(){lengthStream$1.point=lengthPointFirst$1},lineEnd:function(){lengthRing&&lengthPoint$1(x00$2,y00$2);lengthStream$1.point=noop},polygonStart:function(){lengthRing=true},polygonEnd:function(){lengthRing=null},result:function(){var length=+lengthSum$1;lengthSum$1.reset();return length}};function lengthPointFirst$1(x,y){lengthStream$1.point=lengthPoint$1;x00$2=x0$4=x,y00$2=y0$4=y}function lengthPoint$1(x,y){x0$4-=x,y0$4-=y;lengthSum$1.add(sqrt(x0$4*x0$4+y0$4*y0$4));x0$4=x,y0$4=y}function PathString(){this._string=[]}PathString.prototype={_radius:4.5,_circle:circle$1(4.5),pointRadius:function(_){(_=+_)!==this._radius&&(this._radius=_,this._circle=null);return this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z");this._point=NaN},point:function(x,y){switch(this._point){case 0:this._string.push("M",x,",",y);this._point=1;break;case 1:this._string.push("L",x,",",y);break;default:null==this._circle&&(this._circle=circle$1(this._radius));this._string.push("M",x,",",y,this._circle)}},result:function(){if(this._string.length){var result=this._string.join("");this._string=[];return result}return null}};function circle$1(radius){return"m0,"+radius+"a"+radius+","+radius+" 0 1,1 0,"+-2*radius+"a"+radius+","+radius+" 0 1,1 0,"+2*radius+"z"}var index=function(projection,context){var projectionStream,contextStream,pointRadius=4.5;function path(object){if(object){"function"===typeof pointRadius&&contextStream.pointRadius(+pointRadius.apply(this,arguments));geoStream(object,projectionStream(contextStream))}return contextStream.result()}path.area=function(object){geoStream(object,projectionStream(areaStream$1));return areaStream$1.result()};path.measure=function(object){geoStream(object,projectionStream(lengthStream$1));return lengthStream$1.result()};path.bounds=function(object){geoStream(object,projectionStream(boundsStream$1));return boundsStream$1.result()};path.centroid=function(object){geoStream(object,projectionStream(centroidStream$1));return centroidStream$1.result()};path.projection=function(_){return arguments.length?(projectionStream=null==_?(projection=null,identity):(projection=_).stream,path):projection};path.context=function(_){if(!arguments.length)return context;contextStream=null==_?(context=null,new PathString):new PathContext(context=_);"function"!==typeof pointRadius&&contextStream.pointRadius(pointRadius);return path};path.pointRadius=function(_){if(!arguments.length)return pointRadius;pointRadius="function"===typeof _?_:(contextStream.pointRadius(+_),+_);return path};return path.projection(projection).context(context)};var transform=function(methods){return{stream:transformer(methods)}};function transformer(methods){return function(stream){var s=new TransformStream;for(var key in methods)s[key]=methods[key];s.stream=stream;return s}}function TransformStream(){}TransformStream.prototype={constructor:TransformStream,point:function(x,y){this.stream.point(x,y)},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()}};function fit(projection,fitBounds,object){var clip=projection.clipExtent&&projection.clipExtent();projection.scale(150).translate([0,0]);null!=clip&&projection.clipExtent(null);geoStream(object,projection.stream(boundsStream$1));fitBounds(boundsStream$1.result());null!=clip&&projection.clipExtent(clip);return projection}function fitExtent(projection,extent,object){return fit(projection,function(b){var w=extent[1][0]-extent[0][0],h=extent[1][1]-extent[0][1],k=Math.min(w/(b[1][0]-b[0][0]),h/(b[1][1]-b[0][1])),x=+extent[0][0]+(w-k*(b[1][0]+b[0][0]))/2,y=+extent[0][1]+(h-k*(b[1][1]+b[0][1]))/2;projection.scale(150*k).translate([x,y])},object)}function fitSize(projection,size,object){return fitExtent(projection,[[0,0],size],object)}function fitWidth(projection,width,object){return fit(projection,function(b){var w=+width,k=w/(b[1][0]-b[0][0]),x=(w-k*(b[1][0]+b[0][0]))/2,y=-k*b[0][1];projection.scale(150*k).translate([x,y])},object)}function fitHeight(projection,height,object){return fit(projection,function(b){var h=+height,k=h/(b[1][1]-b[0][1]),x=-k*b[0][0],y=(h-k*(b[1][1]+b[0][1]))/2;projection.scale(150*k).translate([x,y])},object)}var maxDepth=16;var cosMinDistance=cos(30*radians);var resample=function(project,delta2){return+delta2?resample$1(project,delta2):resampleNone(project)};function resampleNone(project){return transformer({point:function(x,y){x=project(x,y);this.stream.point(x[0],x[1])}})}function resample$1(project,delta2){function resampleLineTo(x0,y0,lambda0,a0,b0,c0,x1,y1,lambda1,a1,b1,c1,depth,stream){var dx=x1-x0,dy=y1-y0,d2=dx*dx+dy*dy;if(d2>4*delta2&&depth--){var a=a0+a1,b=b0+b1,c=c0+c1,m=sqrt(a*a+b*b+c*c),phi2=asin(c/=m),lambda2=abs(abs(c)-1)<epsilon||abs(lambda0-lambda1)<epsilon?(lambda0+lambda1)/2:atan2(b,a),p=project(lambda2,phi2),x2=p[0],y2=p[1],dx2=x2-x0,dy2=y2-y0,dz=dy*dx2-dx*dy2;if(dz*dz/d2>delta2||abs((dx*dx2+dy*dy2)/d2-.5)>.3||a0*a1+b0*b1+c0*c1<cosMinDistance){resampleLineTo(x0,y0,lambda0,a0,b0,c0,x2,y2,lambda2,a/=m,b/=m,c,depth,stream);stream.point(x2,y2);resampleLineTo(x2,y2,lambda2,a,b,c,x1,y1,lambda1,a1,b1,c1,depth,stream)}}}return function(stream){var lambda00,x00,y00,a00,b00,c00,lambda0,x0,y0,a0,b0,c0;var resampleStream={point:point,lineStart:lineStart,lineEnd:lineEnd,polygonStart:function(){stream.polygonStart();resampleStream.lineStart=ringStart},polygonEnd:function(){stream.polygonEnd();resampleStream.lineStart=lineStart}};function point(x,y){x=project(x,y);stream.point(x[0],x[1])}function lineStart(){x0=NaN;resampleStream.point=linePoint;stream.lineStart()}function linePoint(lambda,phi){var c=cartesian([lambda,phi]),p=project(lambda,phi);resampleLineTo(x0,y0,lambda0,a0,b0,c0,x0=p[0],y0=p[1],lambda0=lambda,a0=c[0],b0=c[1],c0=c[2],maxDepth,stream);stream.point(x0,y0)}function lineEnd(){resampleStream.point=point;stream.lineEnd()}function ringStart(){lineStart();resampleStream.point=ringPoint;resampleStream.lineEnd=ringEnd}function ringPoint(lambda,phi){linePoint(lambda00=lambda,phi),x00=x0,y00=y0,a00=a0,b00=b0,c00=c0;resampleStream.point=linePoint}function ringEnd(){resampleLineTo(x0,y0,lambda0,a0,b0,c0,x00,y00,lambda00,a00,b00,c00,maxDepth,stream);resampleStream.lineEnd=lineEnd;lineEnd()}return resampleStream}}var transformRadians=transformer({point:function(x,y){this.stream.point(x*radians,y*radians)}});function transformRotate(rotate){return transformer({point:function(x,y){var r=rotate(x,y);return this.stream.point(r[0],r[1])}})}function projection(project){return projectionMutator(function(){return project})()}function projectionMutator(projectAt){var project,dx,dy,rotate,projectRotate,y0,x1,y1,cache,cacheStream,k=150,x=480,y=250,lambda=0,phi=0,deltaLambda=0,deltaPhi=0,deltaGamma=0,theta=null,preclip=clipAntimeridian,x0=null,postclip=identity,delta2=.5,projectResample=resample(projectTransform,delta2);function projection(point){point=projectRotate(point[0]*radians,point[1]*radians);return[point[0]*k+dx,dy-point[1]*k]}function invert(point){point=projectRotate.invert((point[0]-dx)/k,(dy-point[1])/k);return point&&[point[0]*degrees,point[1]*degrees]}function projectTransform(x,y){return x=project(x,y),[x[0]*k+dx,dy-x[1]*k]}projection.stream=function(stream){return cache&&cacheStream===stream?cache:cache=transformRadians(transformRotate(rotate)(preclip(projectResample(postclip(cacheStream=stream)))))};projection.preclip=function(_){return arguments.length?(preclip=_,theta=void 0,reset()):preclip};projection.postclip=function(_){return arguments.length?(postclip=_,x0=y0=x1=y1=null,reset()):postclip};projection.clipAngle=function(_){return arguments.length?(preclip=+_?clipCircle(theta=_*radians):(theta=null,clipAntimeridian),reset()):theta*degrees};projection.clipExtent=function(_){return arguments.length?(postclip=null==_?(x0=y0=x1=y1=null,identity):clipRectangle(x0=+_[0][0],y0=+_[0][1],x1=+_[1][0],y1=+_[1][1]),reset()):null==x0?null:[[x0,y0],[x1,y1]]};projection.scale=function(_){return arguments.length?(k=+_,recenter()):k};projection.translate=function(_){return arguments.length?(x=+_[0],y=+_[1],recenter()):[x,y]};projection.center=function(_){return arguments.length?(lambda=_[0]%360*radians,phi=_[1]%360*radians,recenter()):[lambda*degrees,phi*degrees]};projection.rotate=function(_){return arguments.length?(deltaLambda=_[0]%360*radians,deltaPhi=_[1]%360*radians,deltaGamma=_.length>2?_[2]%360*radians:0,recenter()):[deltaLambda*degrees,deltaPhi*degrees,deltaGamma*degrees]};projection.precision=function(_){return arguments.length?(projectResample=resample(projectTransform,delta2=_*_),reset()):sqrt(delta2)};projection.fitExtent=function(extent,object){return fitExtent(projection,extent,object)};projection.fitSize=function(size,object){return fitSize(projection,size,object)};projection.fitWidth=function(width,object){return fitWidth(projection,width,object)};projection.fitHeight=function(height,object){return fitHeight(projection,height,object)};function recenter(){projectRotate=compose(rotate=rotateRadians(deltaLambda,deltaPhi,deltaGamma),project);var center=project(lambda,phi);dx=x-center[0]*k;dy=y+center[1]*k;return reset()}function reset(){cache=cacheStream=null;return projection}return function(){project=projectAt.apply(this,arguments);projection.invert=project.invert&&invert;return recenter()}}function conicProjection(projectAt){var phi0=0,phi1=pi/3,m=projectionMutator(projectAt),p=m(phi0,phi1);p.parallels=function(_){return arguments.length?m(phi0=_[0]*radians,phi1=_[1]*radians):[phi0*degrees,phi1*degrees]};return p}function cylindricalEqualAreaRaw(phi0){var cosPhi0=cos(phi0);function forward(lambda,phi){return[lambda*cosPhi0,sin(phi)/cosPhi0]}forward.invert=function(x,y){return[x/cosPhi0,asin(y*cosPhi0)]};return forward}function conicEqualAreaRaw(y0,y1){var sy0=sin(y0),n=(sy0+sin(y1))/2;if(abs(n)<epsilon)return cylindricalEqualAreaRaw(y0);var c=1+sy0*(2*n-sy0),r0=sqrt(c)/n;function project(x,y){var r=sqrt(c-2*n*sin(y))/n;return[r*sin(x*=n),r0-r*cos(x)]}project.invert=function(x,y){var r0y=r0-y;return[atan2(x,abs(r0y))/n*sign(r0y),asin((c-(x*x+r0y*r0y)*n*n)/(2*n))]};return project}var conicEqualArea=function(){return conicProjection(conicEqualAreaRaw).scale(155.424).center([0,33.6442])};var albers=function(){return conicEqualArea().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};function multiplex(streams){var n=streams.length;return{point:function(x,y){var i=-1;while(++i<n)streams[i].point(x,y)},sphere:function(){var i=-1;while(++i<n)streams[i].sphere()},lineStart:function(){var i=-1;while(++i<n)streams[i].lineStart()},lineEnd:function(){var i=-1;while(++i<n)streams[i].lineEnd()},polygonStart:function(){var i=-1;while(++i<n)streams[i].polygonStart()},polygonEnd:function(){var i=-1;while(++i<n)streams[i].polygonEnd()}}}var albersUsa=function(){var cache,cacheStream,lower48Point,alaskaPoint,hawaiiPoint,point,lower48=albers(),alaska=conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),hawaii=conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),pointStream={point:function(x,y){point=[x,y]}};function albersUsa(coordinates){var x=coordinates[0],y=coordinates[1];return point=null,(lower48Point.point(x,y),point)||(alaskaPoint.point(x,y),point)||(hawaiiPoint.point(x,y),point)}albersUsa.invert=function(coordinates){var k=lower48.scale(),t=lower48.translate(),x=(coordinates[0]-t[0])/k,y=(coordinates[1]-t[1])/k;return(y>=.12&&y<.234&&x>=-.425&&x<-.214?alaska:y>=.166&&y<.234&&x>=-.214&&x<-.115?hawaii:lower48).invert(coordinates)};albersUsa.stream=function(stream){return cache&&cacheStream===stream?cache:cache=multiplex([lower48.stream(cacheStream=stream),alaska.stream(stream),hawaii.stream(stream)])};albersUsa.precision=function(_){if(!arguments.length)return lower48.precision();lower48.precision(_),alaska.precision(_),hawaii.precision(_);return reset()};albersUsa.scale=function(_){if(!arguments.length)return lower48.scale();lower48.scale(_),alaska.scale(.35*_),hawaii.scale(_);return albersUsa.translate(lower48.translate())};albersUsa.translate=function(_){if(!arguments.length)return lower48.translate();var k=lower48.scale(),x=+_[0],y=+_[1];lower48Point=lower48.translate(_).clipExtent([[x-.455*k,y-.238*k],[x+.455*k,y+.238*k]]).stream(pointStream);alaskaPoint=alaska.translate([x-.307*k,y+.201*k]).clipExtent([[x-.425*k+epsilon,y+.12*k+epsilon],[x-.214*k-epsilon,y+.234*k-epsilon]]).stream(pointStream);hawaiiPoint=hawaii.translate([x-.205*k,y+.212*k]).clipExtent([[x-.214*k+epsilon,y+.166*k+epsilon],[x-.115*k-epsilon,y+.234*k-epsilon]]).stream(pointStream);return reset()};albersUsa.fitExtent=function(extent,object){return fitExtent(albersUsa,extent,object)};albersUsa.fitSize=function(size,object){return fitSize(albersUsa,size,object)};albersUsa.fitWidth=function(width,object){return fitWidth(albersUsa,width,object)};albersUsa.fitHeight=function(height,object){return fitHeight(albersUsa,height,object)};function reset(){cache=cacheStream=null;return albersUsa}return albersUsa.scale(1070)};function azimuthalRaw(scale){return function(x,y){var cx=cos(x),cy=cos(y),k=scale(cx*cy);return[k*cy*sin(x),k*sin(y)]}}function azimuthalInvert(angle){return function(x,y){var z=sqrt(x*x+y*y),c=angle(z),sc=sin(c),cc=cos(c);return[atan2(x*sc,z*cc),asin(z&&y*sc/z)]}}var azimuthalEqualAreaRaw=azimuthalRaw(function(cxcy){return sqrt(2/(1+cxcy))});azimuthalEqualAreaRaw.invert=azimuthalInvert(function(z){return 2*asin(z/2)});var azimuthalEqualArea=function(){return projection(azimuthalEqualAreaRaw).scale(124.75).clipAngle(179.999)};var azimuthalEquidistantRaw=azimuthalRaw(function(c){return(c=acos(c))&&c/sin(c)});azimuthalEquidistantRaw.invert=azimuthalInvert(function(z){return z});var azimuthalEquidistant=function(){return projection(azimuthalEquidistantRaw).scale(79.4188).clipAngle(179.999)};function mercatorRaw(lambda,phi){return[lambda,log(tan((halfPi+phi)/2))]}mercatorRaw.invert=function(x,y){return[x,2*atan(exp(y))-halfPi]};var mercator=function(){return mercatorProjection(mercatorRaw).scale(961/tau)};function mercatorProjection(project){var y0,x1,y1,m=projection(project),center=m.center,scale=m.scale,translate=m.translate,clipExtent=m.clipExtent,x0=null;m.scale=function(_){return arguments.length?(scale(_),reclip()):scale()};m.translate=function(_){return arguments.length?(translate(_),reclip()):translate()};m.center=function(_){return arguments.length?(center(_),reclip()):center()};m.clipExtent=function(_){return arguments.length?(null==_?x0=y0=x1=y1=null:(x0=+_[0][0],y0=+_[0][1],x1=+_[1][0],y1=+_[1][1]),reclip()):null==x0?null:[[x0,y0],[x1,y1]]};function reclip(){var k=pi*scale(),t=m(rotation(m.rotate()).invert([0,0]));return clipExtent(null==x0?[[t[0]-k,t[1]-k],[t[0]+k,t[1]+k]]:project===mercatorRaw?[[Math.max(t[0]-k,x0),y0],[Math.min(t[0]+k,x1),y1]]:[[x0,Math.max(t[1]-k,y0)],[x1,Math.min(t[1]+k,y1)]])}return reclip()}function tany(y){return tan((halfPi+y)/2)}function conicConformalRaw(y0,y1){var cy0=cos(y0),n=y0===y1?sin(y0):log(cy0/cos(y1))/log(tany(y1)/tany(y0)),f=cy0*pow(tany(y0),n)/n;if(!n)return mercatorRaw;function project(x,y){f>0?y<-halfPi+epsilon&&(y=-halfPi+epsilon):y>halfPi-epsilon&&(y=halfPi-epsilon);var r=f/pow(tany(y),n);return[r*sin(n*x),f-r*cos(n*x)]}project.invert=function(x,y){var fy=f-y,r=sign(n)*sqrt(x*x+fy*fy);return[atan2(x,abs(fy))/n*sign(fy),2*atan(pow(f/r,1/n))-halfPi]};return project}var conicConformal=function(){return conicProjection(conicConformalRaw).scale(109.5).parallels([30,30])};function equirectangularRaw(lambda,phi){return[lambda,phi]}equirectangularRaw.invert=equirectangularRaw;var equirectangular=function(){return projection(equirectangularRaw).scale(152.63)};function conicEquidistantRaw(y0,y1){var cy0=cos(y0),n=y0===y1?sin(y0):(cy0-cos(y1))/(y1-y0),g=cy0/n+y0;if(abs(n)<epsilon)return equirectangularRaw;function project(x,y){var gy=g-y,nx=n*x;return[gy*sin(nx),g-gy*cos(nx)]}project.invert=function(x,y){var gy=g-y;return[atan2(x,abs(gy))/n*sign(gy),g-sign(n)*sqrt(x*x+gy*gy)]};return project}var conicEquidistant=function(){return conicProjection(conicEquidistantRaw).scale(131.154).center([0,13.9389])};function gnomonicRaw(x,y){var cy=cos(y),k=cos(x)*cy;return[cy*sin(x)/k,sin(y)/k]}gnomonicRaw.invert=azimuthalInvert(atan);var gnomonic=function(){return projection(gnomonicRaw).scale(144.049).clipAngle(60)};function scaleTranslate(kx,ky,tx,ty){return 1===kx&&1===ky&&0===tx&&0===ty?identity:transformer({point:function(x,y){this.stream.point(x*kx+tx,y*ky+ty)}})}var identity$1=function(){var y0,x1,y1,cache,cacheStream,projection,k=1,tx=0,ty=0,sx=1,sy=1,transform$$1=identity,x0=null,postclip=identity;function reset(){cache=cacheStream=null;return projection}return projection={stream:function(stream){return cache&&cacheStream===stream?cache:cache=transform$$1(postclip(cacheStream=stream))},postclip:function(_){return arguments.length?(postclip=_,x0=y0=x1=y1=null,reset()):postclip},clipExtent:function(_){return arguments.length?(postclip=null==_?(x0=y0=x1=y1=null,identity):clipRectangle(x0=+_[0][0],y0=+_[0][1],x1=+_[1][0],y1=+_[1][1]),reset()):null==x0?null:[[x0,y0],[x1,y1]]},scale:function(_){return arguments.length?(transform$$1=scaleTranslate((k=+_)*sx,k*sy,tx,ty),reset()):k},translate:function(_){return arguments.length?(transform$$1=scaleTranslate(k*sx,k*sy,tx=+_[0],ty=+_[1]),reset()):[tx,ty]},reflectX:function(_){return arguments.length?(transform$$1=scaleTranslate(k*(sx=_?-1:1),k*sy,tx,ty),reset()):sx<0},reflectY:function(_){return arguments.length?(transform$$1=scaleTranslate(k*sx,k*(sy=_?-1:1),tx,ty),reset()):sy<0},fitExtent:function(extent,object){return fitExtent(projection,extent,object)},fitSize:function(size,object){return fitSize(projection,size,object)},fitWidth:function(width,object){return fitWidth(projection,width,object)},fitHeight:function(height,object){return fitHeight(projection,height,object)}}};function naturalEarth1Raw(lambda,phi){var phi2=phi*phi,phi4=phi2*phi2;return[lambda*(.8707-.131979*phi2+phi4*(phi4*(.003971*phi2-.001529*phi4)-.013791)),phi*(1.007226+phi2*(.015085+phi4*(.028874*phi2-.044475-.005916*phi4)))]}naturalEarth1Raw.invert=function(x,y){var delta,phi=y,i=25;do{var phi2=phi*phi,phi4=phi2*phi2;phi-=delta=(phi*(1.007226+phi2*(.015085+phi4*(.028874*phi2-.044475-.005916*phi4)))-y)/(1.007226+phi2*(.045255+phi4*(.259866*phi2-.311325-.005916*11*phi4)))}while(abs(delta)>epsilon&&--i>0);return[x/(.8707+(phi2=phi*phi)*(phi2*(phi2*phi2*phi2*(.003971-.001529*phi2)-.013791)-.131979)),phi]};var naturalEarth1=function(){return projection(naturalEarth1Raw).scale(175.295)};function orthographicRaw(x,y){return[cos(y)*sin(x),sin(y)]}orthographicRaw.invert=azimuthalInvert(asin);var orthographic=function(){return projection(orthographicRaw).scale(249.5).clipAngle(90+epsilon)};function stereographicRaw(x,y){var cy=cos(y),k=1+cos(x)*cy;return[cy*sin(x)/k,sin(y)/k]}stereographicRaw.invert=azimuthalInvert(function(z){return 2*atan(z)});var stereographic=function(){return projection(stereographicRaw).scale(250).clipAngle(142)};function transverseMercatorRaw(lambda,phi){return[log(tan((halfPi+phi)/2)),-lambda]}transverseMercatorRaw.invert=function(x,y){return[-y,2*atan(exp(x))-halfPi]};var transverseMercator=function(){var m=mercatorProjection(transverseMercatorRaw),center=m.center,rotate=m.rotate;m.center=function(_){return arguments.length?center([-_[1],_[0]]):(_=center(),[_[1],-_[0]])};m.rotate=function(_){return arguments.length?rotate([_[0],_[1],_.length>2?_[2]+90:90]):(_=rotate(),[_[0],_[1],_[2]-90])};return rotate([0,0,90]).scale(159.155)};exports.geoArea=area;exports.geoBounds=bounds;exports.geoCentroid=centroid;exports.geoCircle=circle;exports.geoClipAntimeridian=clipAntimeridian;exports.geoClipCircle=clipCircle;exports.geoClipExtent=extent;exports.geoClipRectangle=clipRectangle;exports.geoContains=contains;exports.geoDistance=distance;exports.geoGraticule=graticule;exports.geoGraticule10=graticule10;exports.geoInterpolate=interpolate;exports.geoLength=length;exports.geoPath=index;exports.geoAlbers=albers;exports.geoAlbersUsa=albersUsa;exports.geoAzimuthalEqualArea=azimuthalEqualArea;exports.geoAzimuthalEqualAreaRaw=azimuthalEqualAreaRaw;exports.geoAzimuthalEquidistant=azimuthalEquidistant;exports.geoAzimuthalEquidistantRaw=azimuthalEquidistantRaw;exports.geoConicConformal=conicConformal;exports.geoConicConformalRaw=conicConformalRaw;exports.geoConicEqualArea=conicEqualArea;exports.geoConicEqualAreaRaw=conicEqualAreaRaw;exports.geoConicEquidistant=conicEquidistant;exports.geoConicEquidistantRaw=conicEquidistantRaw;exports.geoEquirectangular=equirectangular;exports.geoEquirectangularRaw=equirectangularRaw;exports.geoGnomonic=gnomonic;exports.geoGnomonicRaw=gnomonicRaw;exports.geoIdentity=identity$1;exports.geoProjection=projection;exports.geoProjectionMutator=projectionMutator;exports.geoMercator=mercator;exports.geoMercatorRaw=mercatorRaw;exports.geoNaturalEarth1=naturalEarth1;exports.geoNaturalEarth1Raw=naturalEarth1Raw;exports.geoOrthographic=orthographic;exports.geoOrthographicRaw=orthographicRaw;exports.geoStereographic=stereographic;exports.geoStereographicRaw=stereographicRaw;exports.geoTransverseMercator=transverseMercator;exports.geoTransverseMercatorRaw=transverseMercatorRaw;exports.geoRotation=rotation;exports.geoStream=geoStream;exports.geoTransform=transform;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports,__webpack_require__(194));var factory},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _seriesUtils=__webpack_require__(50);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return Array.from(arr)}var predefinedClassName="rv-xy-plot__series rv-xy-plot__series--custom-svg-wrapper";var DEFAULT_STYLE={stroke:"blue",fill:"blue"};function predefinedComponents(type){var size=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;var style=arguments.length>2&&void 0!==arguments[2]?arguments[2]:DEFAULT_STYLE;switch(type){case"diamond":return _react2.default.createElement("polygon",{style:style,points:"0 0 "+size/2+" "+size/2+" 0 "+size+" "+-size/2+" "+size/2+" 0 0"});case"star":var starPoints=[].concat(_toConsumableArray(new Array(5))).map(function(c,index){var angle=index/5*Math.PI*2;var innerAngle=angle+Math.PI/10;var outerAngle=angle-Math.PI/10;var innerRadius=size/2.61;return"\n        "+Math.cos(outerAngle)*size+" "+Math.sin(outerAngle)*size+"\n        "+Math.cos(innerAngle)*innerRadius+" "+Math.sin(innerAngle)*innerRadius+"\n      "}).join(" ");return _react2.default.createElement("polygon",{points:starPoints,x:"0",y:"0",height:size,width:size,style:style});case"square":return _react2.default.createElement("rect",{x:""+-size/2,y:""+-size/2,height:size,width:size,style:style});default:case"circle":return _react2.default.createElement("circle",{cx:"0",cy:"0",r:size/2,style:style})}}function getInnerComponent(_ref){var customComponent=_ref.customComponent,defaultType=_ref.defaultType,positionInPixels=_ref.positionInPixels,style=(_ref.positionFunctions,_ref.style);var size=customComponent.size;var aggStyle=_extends({},style,customComponent.style||{});var innerComponent=customComponent.customComponent;if(!innerComponent&&"string"===typeof defaultType)return predefinedComponents(defaultType,size,aggStyle);if(!innerComponent)return defaultType(customComponent,positionInPixels,aggStyle);if("string"===typeof innerComponent)return predefinedComponents(innerComponent||defaultType,size,aggStyle);return innerComponent(customComponent,positionInPixels,aggStyle)}var CustomSVGSeries=function(_AbstractSeries){_inherits(CustomSVGSeries,_AbstractSeries);function CustomSVGSeries(){_classCallCheck(this,CustomSVGSeries);return _possibleConstructorReturn(this,(CustomSVGSeries.__proto__||Object.getPrototypeOf(CustomSVGSeries)).apply(this,arguments))}_createClass(CustomSVGSeries,[{key:"render",value:function render(){var _props=this.props,animation=_props.animation,className=_props.className,customComponent=_props.customComponent,data=_props.data,innerHeight=_props.innerHeight,innerWidth=_props.innerWidth,marginLeft=_props.marginLeft,marginTop=_props.marginTop,style=_props.style;if(!data||!innerWidth||!innerHeight)return null;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS}),_react2.default.createElement(CustomSVGSeries,_extends({},this.props,{animation:false})));var x=this._getAttributeFunctor("x");var y=this._getAttributeFunctor("y");var contents=data.map(function(seriesComponent,index){var positionInPixels={x:x({x:seriesComponent.x}),y:y({y:seriesComponent.y})};var innerComponent=getInnerComponent({customComponent:seriesComponent,positionInPixels:positionInPixels,defaultType:customComponent,positionFunctions:{x:x,y:y},style:style});return _react2.default.createElement("g",{className:"rv-xy-plot__series--custom-svg",key:"rv-xy-plot__series--custom-svg-"+index,transform:"translate("+positionInPixels.x+","+positionInPixels.y+")"},innerComponent)});return _react2.default.createElement("g",{className:predefinedClassName+" "+className,transform:"translate("+marginLeft+","+marginTop+")"},contents)}}]);return CustomSVGSeries}(_abstractSeries2.default);CustomSVGSeries.propTypes={animation:_propTypes2.default.bool,className:_propTypes2.default.string,customComponent:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.func]),data:_propTypes2.default.arrayOf(_propTypes2.default.shape({x:_propTypes2.default.number.isRequired,y:_propTypes2.default.number.isRequired})).isRequired,marginLeft:_propTypes2.default.number,marginTop:_propTypes2.default.number,style:_propTypes2.default.object};CustomSVGSeries.defaultProps=_extends({},_abstractSeries2.default.defaultProps,{animation:false,customComponent:"circle",style:{}});exports.default=CustomSVGSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Shape=__webpack_require__(246);var d3Shape=_interopRequireWildcard(_d3Shape);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _theme=__webpack_require__(44);var _seriesUtils=__webpack_require__(50);var _reactUtils=__webpack_require__(245);var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-xy-plot__series rv-xy-plot__series--line";var AreaSeries=function(_AbstractSeries){_inherits(AreaSeries,_AbstractSeries);function AreaSeries(){_classCallCheck(this,AreaSeries);return _possibleConstructorReturn(this,(AreaSeries.__proto__||Object.getPrototypeOf(AreaSeries)).apply(this,arguments))}_createClass(AreaSeries,[{key:"_renderArea",value:function _renderArea(data,x,y0,y,curve,getNull){var area=d3Shape.area();null!==curve&&("string"===typeof curve&&d3Shape[curve]?area=area.curve(d3Shape[curve]):"function"===typeof curve&&(area=area.curve(curve)));area=area.defined(getNull);area=area.x(x).y0(y0).y1(y);return area(data)}},{key:"render",value:function render(){var _props=this.props,animation=_props.animation,className=_props.className,curve=_props.curve,data=_props.data,marginLeft=_props.marginLeft,marginTop=_props.marginTop,style=_props.style;this.props.nullAccessor&&(0,_reactUtils.warning)("nullAccessor has been renamed to getNull",true);if(!data)return null;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS}),_react2.default.createElement(AreaSeries,_extends({},this.props,{animation:null})));var x=this._getAttributeFunctor("x");var y=this._getAttributeFunctor("y");var y0=this._getAttr0Functor("y");var stroke=this._getAttributeValue("stroke")||this._getAttributeValue("color");var fill=this._getAttributeValue("fill")||this._getAttributeValue("color");var newOpacity=this._getAttributeValue("opacity");var opacity=Number.isFinite(newOpacity)?newOpacity:_theme.DEFAULT_OPACITY;var getNull=this.props.nullAccessor||this.props.getNull;var d=this._renderArea(data,x,y0,y,curve,getNull);return _react2.default.createElement("path",{d:d,className:predefinedClassName+" "+className,transform:"translate("+marginLeft+","+marginTop+")",onMouseOver:this._seriesMouseOverHandler,onMouseOut:this._seriesMouseOutHandler,onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,style:_extends({opacity:opacity,stroke:stroke,fill:fill},style)})}}]);return AreaSeries}(_abstractSeries2.default);AreaSeries.displayName="AreaSeries";AreaSeries.propTypes=_extends({},_abstractSeries2.default.propTypes,{getNull:_propTypes2.default.func});AreaSeries.defaultProps=_extends({},_abstractSeries2.default.defaultProps,{getNull:function getNull(){return true}});exports.default=AreaSeries},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _abstractSeries=__webpack_require__(28);var _abstractSeries2=_interopRequireDefault(_abstractSeries);var _markSeriesCanvas=__webpack_require__(760);var _markSeriesCanvas2=_interopRequireDefault(_markSeriesCanvas);var _lineSeriesCanvas=__webpack_require__(756);var _lineSeriesCanvas2=_interopRequireDefault(_lineSeriesCanvas);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var LineMarkSeriesCanvas=function(_AbstractSeries){_inherits(LineMarkSeriesCanvas,_AbstractSeries);function LineMarkSeriesCanvas(){_classCallCheck(this,LineMarkSeriesCanvas);return _possibleConstructorReturn(this,(LineMarkSeriesCanvas.__proto__||Object.getPrototypeOf(LineMarkSeriesCanvas)).apply(this,arguments))}_createClass(LineMarkSeriesCanvas,[{key:"render",value:function render(){return null}}],[{key:"renderLayer",value:function renderLayer(props,ctx){_lineSeriesCanvas2.default.renderLayer(props,ctx);_markSeriesCanvas2.default.renderLayer(props,ctx)}},{key:"requiresSVG",get:function get(){return false}},{key:"isCanvas",get:function get(){return true}}]);return LineMarkSeriesCanvas}(_abstractSeries2.default);LineMarkSeriesCanvas.displayName="LineMarkSeriesCanvas";LineMarkSeriesCanvas.propTypes=_extends({},_abstractSeries2.default.propTypes);exports.default=LineMarkSeriesCanvas},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _scalesUtils=__webpack_require__(58);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var ALIGN={AUTO:"auto",LEFT:"left",RIGHT:"right",LEFT_EDGE:"leftEdge",RIGHT_EDGE:"rightEdge",BOTTOM:"bottom",TOP:"top",BOTTOM_EDGE:"bottomEdge",TOP_EDGE:"topEdge"};var ORIENTATION={BOTTOM_LEFT:"bottomleft",BOTTOM_RIGHT:"bottomright",TOP_LEFT:"topleft",TOP_RIGHT:"topright"};function defaultFormat(value){return Object.keys(value).map(function getProp(key){return{title:key,value:value[key]}})}var Hint=function(_PureComponent){_inherits(Hint,_PureComponent);function Hint(){_classCallCheck(this,Hint);return _possibleConstructorReturn(this,(Hint.__proto__||Object.getPrototypeOf(Hint)).apply(this,arguments))}_createClass(Hint,[{key:"_getCSSRight",value:function _getCSSRight(x){if(void 0===x||null===x)return{right:0};var _props=this.props,innerWidth=_props.innerWidth,marginRight=_props.marginRight;return{right:marginRight+innerWidth-x}}},{key:"_getCSSLeft",value:function _getCSSLeft(x){if(void 0===x||null===x)return{left:0};var marginLeft=this.props.marginLeft;return{left:marginLeft+x}}},{key:"_getCSSBottom",value:function _getCSSBottom(y){if(void 0===y||null===y)return{bottom:0};var _props2=this.props,innerHeight=_props2.innerHeight,marginBottom=_props2.marginBottom;return{bottom:marginBottom+innerHeight-y}}},{key:"_getCSSTop",value:function _getCSSTop(y){if(void 0===y||null===y)return{top:0};var marginTop=this.props.marginTop;return{top:marginTop+y}}},{key:"_mapOrientationToAlign",value:function _mapOrientationToAlign(orientation){switch(orientation){case ORIENTATION.BOTTOM_LEFT:return{horizontal:ALIGN.LEFT,vertical:ALIGN.BOTTOM};case ORIENTATION.BOTTOM_RIGHT:return{horizontal:ALIGN.RIGHT,vertical:ALIGN.BOTTOM};case ORIENTATION.TOP_LEFT:return{horizontal:ALIGN.LEFT,vertical:ALIGN.TOP};case ORIENTATION.TOP_RIGHT:return{horizontal:ALIGN.RIGHT,vertical:ALIGN.TOP}}}},{key:"_getAlign",value:function _getAlign(x,y){var _props3=this.props,innerWidth=_props3.innerWidth,innerHeight=_props3.innerHeight,orientation=_props3.orientation,_props3$align=_props3.align,horizontal=_props3$align.horizontal,vertical=_props3$align.vertical;var align=orientation?this._mapOrientationToAlign(orientation):{horizontal:horizontal,vertical:vertical};horizontal===ALIGN.AUTO&&(align.horizontal=x>innerWidth/2?ALIGN.LEFT:ALIGN.RIGHT);vertical===ALIGN.AUTO&&(align.vertical=y>innerHeight/2?ALIGN.TOP:ALIGN.BOTTOM);return align}},{key:"_getAlignStyle",value:function _getAlignStyle(align,x,y){return _extends({},this._getXCSS(align.horizontal,x),this._getYCSS(align.vertical,y))}},{key:"_getYCSS",value:function _getYCSS(verticalAlign,y){switch(verticalAlign){case ALIGN.TOP_EDGE:return this._getCSSTop(null);case ALIGN.BOTTOM_EDGE:return this._getCSSBottom(null);case ALIGN.BOTTOM:return this._getCSSTop(y);case ALIGN.TOP:default:return this._getCSSBottom(y)}}},{key:"_getXCSS",value:function _getXCSS(horizontal,x){switch(horizontal){case ALIGN.LEFT_EDGE:return this._getCSSLeft(null);case ALIGN.RIGHT_EDGE:return this._getCSSRight(null);case ALIGN.LEFT:return this._getCSSRight(x);case ALIGN.RIGHT:default:return this._getCSSLeft(x)}}},{key:"_getAlignClassNames",value:function _getAlignClassNames(align){var orientation=this.props.orientation;var orientationClass=orientation?"rv-hint--orientation-"+orientation:"";return orientationClass+" rv-hint--horizontalAlign-"+align.horizontal+"\n     rv-hint--verticalAlign-"+align.vertical}},{key:"_getPositionInfo",value:function _getPositionInfo(){var _props4=this.props,value=_props4.value,getAlignStyle=_props4.getAlignStyle;var x=(0,_scalesUtils.getAttributeFunctor)(this.props,"x")(value);var y=(0,_scalesUtils.getAttributeFunctor)(this.props,"y")(value);var align=this._getAlign(x,y);return{position:getAlignStyle?getAlignStyle(align,x,y):this._getAlignStyle(align,x,y),className:this._getAlignClassNames(align)}}},{key:"render",value:function render(){var _props5=this.props,value=_props5.value,format=_props5.format,children=_props5.children,style=_props5.style;var _getPositionInfo2=this._getPositionInfo(),position=_getPositionInfo2.position,className=_getPositionInfo2.className;return _react2.default.createElement("div",{className:"rv-hint "+className,style:_extends({},style,position,{position:"absolute"})},children||_react2.default.createElement("div",{className:"rv-hint__content",style:style.content},format(value).map(function(formattedProp,i){return _react2.default.createElement("div",{key:"rv-hint"+i,style:style.row},_react2.default.createElement("span",{className:"rv-hint__title",style:style.title},formattedProp.title),": ",_react2.default.createElement("span",{className:"rv-hint__value",style:style.value},formattedProp.value))})))}}],[{key:"propTypes",get:function get(){return{marginTop:_propTypes2.default.number,marginLeft:_propTypes2.default.number,innerWidth:_propTypes2.default.number,innerHeight:_propTypes2.default.number,scales:_propTypes2.default.object,value:_propTypes2.default.object,format:_propTypes2.default.func,style:_propTypes2.default.object,align:_propTypes2.default.shape({horizontal:_propTypes2.default.oneOf([ALIGN.AUTO,ALIGN.LEFT,ALIGN.RIGHT,ALIGN.LEFT_EDGE,ALIGN.RIGHT_EDGE]),vertical:_propTypes2.default.oneOf([ALIGN.AUTO,ALIGN.BOTTOM,ALIGN.TOP,ALIGN.BOTTOM_EDGE,ALIGN.TOP_EDGE])}),getAlignStyle:_propTypes2.default.func,orientation:_propTypes2.default.oneOf([ORIENTATION.BOTTOM_LEFT,ORIENTATION.BOTTOM_RIGHT,ORIENTATION.TOP_LEFT,ORIENTATION.TOP_RIGHT])}}},{key:"defaultProps",get:function get(){return{format:defaultFormat,align:{horizontal:ALIGN.AUTO,vertical:ALIGN.AUTO},style:{}}}}]);return Hint}(_react.PureComponent);Hint.displayName="Hint";Hint.ORIENTATION=ORIENTATION;Hint.ALIGN=ALIGN;exports.default=Hint},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var propTypes={style:_propTypes2.default.shape({bottom:_propTypes2.default.object,left:_propTypes2.default.object,right:_propTypes2.default.object,top:_propTypes2.default.object}),marginTop:_propTypes2.default.number,marginBottom:_propTypes2.default.number,marginLeft:_propTypes2.default.number,marginRight:_propTypes2.default.number,innerWidth:_propTypes2.default.number,innerHeight:_propTypes2.default.number};var CLASSES={bottom:"rv-xy-plot__borders-bottom",container:"rv-xy-plot__borders",left:"rv-xy-plot__borders-left",right:"rv-xy-plot__borders-right",top:"rv-xy-plot__borders-top"};var Borders=function(_PureComponent){_inherits(Borders,_PureComponent);function Borders(){_classCallCheck(this,Borders);return _possibleConstructorReturn(this,(Borders.__proto__||Object.getPrototypeOf(Borders)).apply(this,arguments))}_createClass(Borders,[{key:"render",value:function render(){var _props=this.props,marginTop=_props.marginTop,marginBottom=_props.marginBottom,marginLeft=_props.marginLeft,marginRight=_props.marginRight,innerWidth=_props.innerWidth,innerHeight=_props.innerHeight,style=_props.style,className=_props.className;var height=innerHeight+marginTop+marginBottom;var width=innerWidth+marginLeft+marginRight;return _react2.default.createElement("g",{className:CLASSES.container+" "+className},_react2.default.createElement("rect",{className:CLASSES.bottom+" "+className+"-bottom",style:_extends({},style.all,style.bottom),x:0,y:height-marginBottom,width:width,height:marginBottom}),_react2.default.createElement("rect",{className:CLASSES.left+" "+className+"-left",style:_extends({},style.all,style.left),x:0,y:0,width:marginLeft,height:height}),_react2.default.createElement("rect",{className:CLASSES.right+" "+className+"-right",style:_extends({},style.all,style.right),x:width-marginRight,y:0,width:marginRight,height:height}),_react2.default.createElement("rect",{className:CLASSES.top+" "+className+"-top",style:_extends({},style.all,style.top),x:0,y:0,width:width,height:marginTop}))}}]);return Borders}(_react.PureComponent);Borders.displayName="Borders";Borders.defaultProps={className:"",style:{all:{},bottom:{},left:{},right:{},top:{}}};Borders.propTypes=propTypes;Borders.requiresSVG=true;exports.default=Borders},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _scalesUtils=__webpack_require__(58);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function defaultTitleFormat(values){var value=getFirstNonEmptyValue(values);if(value)return{title:"x",value:value.x}}function defaultItemsFormat(values){return values.map(function(v,i){if(v)return{value:v.y,title:i}})}function getFirstNonEmptyValue(values){return(values||[]).find(function(v){return Boolean(v)})}var Crosshair=function(_PureComponent){_inherits(Crosshair,_PureComponent);function Crosshair(){_classCallCheck(this,Crosshair);return _possibleConstructorReturn(this,(Crosshair.__proto__||Object.getPrototypeOf(Crosshair)).apply(this,arguments))}_createClass(Crosshair,[{key:"_renderCrosshairTitle",value:function _renderCrosshairTitle(){var _props=this.props,values=_props.values,titleFormat=_props.titleFormat,style=_props.style;var titleItem=titleFormat(values);if(!titleItem)return null;return _react2.default.createElement("div",{className:"rv-crosshair__title",key:"title",style:style.title},_react2.default.createElement("span",{className:"rv-crosshair__title__title"},titleItem.title),": ",_react2.default.createElement("span",{className:"rv-crosshair__title__value"},titleItem.value))}},{key:"_renderCrosshairItems",value:function _renderCrosshairItems(){var _props2=this.props,values=_props2.values,itemsFormat=_props2.itemsFormat;var items=itemsFormat(values);if(!items)return null;return items.filter(function(i){return i}).map(function renderValue(item,i){return _react2.default.createElement("div",{className:"rv-crosshair__item",key:"item"+i},_react2.default.createElement("span",{className:"rv-crosshair__item__title"},item.title),": ",_react2.default.createElement("span",{className:"rv-crosshair__item__value"},item.value))})}},{key:"render",value:function render(){var _props3=this.props,children=_props3.children,className=_props3.className,values=_props3.values,marginTop=_props3.marginTop,marginLeft=_props3.marginLeft,innerWidth=_props3.innerWidth,innerHeight=_props3.innerHeight,style=_props3.style;var value=getFirstNonEmptyValue(values);if(!value)return null;var x=(0,_scalesUtils.getAttributeFunctor)(this.props,"x");var innerLeft=x(value);var _props$orientation=this.props.orientation,orientation=void 0===_props$orientation?innerLeft>innerWidth/2?"left":"right":_props$orientation;var left=marginLeft+innerLeft;var top=marginTop;var innerClassName="rv-crosshair__inner rv-crosshair__inner--"+orientation;return _react2.default.createElement("div",{className:"rv-crosshair "+className,style:{left:left+"px",top:top+"px"}},_react2.default.createElement("div",{className:"rv-crosshair__line",style:_extends({height:innerHeight+"px"},style.line)}),_react2.default.createElement("div",{className:innerClassName},children||_react2.default.createElement("div",{className:"rv-crosshair__inner__content",style:style.box},_react2.default.createElement("div",null,this._renderCrosshairTitle(),this._renderCrosshairItems()))))}}],[{key:"propTypes",get:function get(){return{className:_propTypes2.default.string,values:_propTypes2.default.array,series:_propTypes2.default.object,innerWidth:_propTypes2.default.number,innerHeight:_propTypes2.default.number,marginLeft:_propTypes2.default.number,marginTop:_propTypes2.default.number,orientation:_propTypes2.default.oneOf(["left","right"]),itemsFormat:_propTypes2.default.func,titleFormat:_propTypes2.default.func,style:_propTypes2.default.shape({line:_propTypes2.default.object,title:_propTypes2.default.object,box:_propTypes2.default.object})}}},{key:"defaultProps",get:function get(){return{titleFormat:defaultTitleFormat,itemsFormat:defaultItemsFormat,style:{line:{},title:{},box:{}}}}}]);return Crosshair}(_react.PureComponent);Crosshair.displayName="Crosshair";exports.default=Crosshair},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.default=decorativeAxisTick;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _axisUtils=__webpack_require__(84);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function decorativeAxisTick(props){var axisDomain=props.axisDomain,numberOfTicks=props.numberOfTicks,axisStart=props.axisStart,axisEnd=props.axisEnd,tickValue=props.tickValue,tickSize=props.tickSize,style=props.style;var _generatePoints=(0,_axisUtils.generatePoints)({axisStart:axisStart,axisEnd:axisEnd,numberOfTicks:numberOfTicks,axisDomain:axisDomain}),points=_generatePoints.points;var tickAngle=(0,_axisUtils.getAxisAngle)(axisStart,axisEnd)+Math.PI/2;return points.map(function(point,index){var tickProps=_extends({x1:0,y1:0,x2:tickSize*Math.cos(tickAngle),y2:tickSize*Math.sin(tickAngle)},style.ticks);var textProps=_extends({x:tickSize*Math.cos(tickAngle),y:tickSize*Math.sin(tickAngle),textAnchor:"start"},style.text);return _react2.default.createElement("g",{key:index,transform:"translate("+point.x+", "+point.y+")",className:"rv-xy-plot__axis__tick"},_react2.default.createElement("line",_extends({},tickProps,{className:"rv-xy-plot__axis__tick__line"})),_react2.default.createElement("text",_extends({},textProps,{className:"rv-xy-plot__axis__tick__text"}),tickValue(point.text)))})}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _axisUtils=__webpack_require__(84);var _axis=__webpack_require__(762);var _axis2=_interopRequireDefault(_axis);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var TOP=_axisUtils.ORIENTATION.TOP,BOTTOM=_axisUtils.ORIENTATION.BOTTOM;var propTypes=_extends({},_axis2.default.propTypes,{orientation:_propTypes2.default.oneOf([TOP,BOTTOM])});var defaultProps={orientation:BOTTOM,attr:"x",attrAxis:"y"};function XAxis(props){return _react2.default.createElement(_axis2.default,props)}XAxis.displayName="XAxis";XAxis.propTypes=propTypes;XAxis.defaultProps=defaultProps;XAxis.requiresSVG=true;exports.default=XAxis},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _axisUtils=__webpack_require__(84);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var LEFT=_axisUtils.ORIENTATION.LEFT,RIGHT=_axisUtils.ORIENTATION.RIGHT,TOP=_axisUtils.ORIENTATION.TOP,BOTTOM=_axisUtils.ORIENTATION.BOTTOM;var propTypes={height:_propTypes2.default.number.isRequired,style:_propTypes2.default.object,orientation:_propTypes2.default.oneOf([LEFT,RIGHT,TOP,BOTTOM]).isRequired,width:_propTypes2.default.number.isRequired};var defaultProps={style:{}};function AxisLine(_ref){var orientation=_ref.orientation,width=_ref.width,height=_ref.height,style=_ref.style;var lineProps=void 0;lineProps=orientation===LEFT?{x1:width,x2:width,y1:0,y2:height}:orientation===RIGHT?{x1:0,x2:0,y1:0,y2:height}:orientation===TOP?{x1:0,x2:width,y1:height,y2:height}:{x1:0,x2:width,y1:0,y2:0};return _react2.default.createElement("line",_extends({},lineProps,{className:"rv-xy-plot__axis__line",style:style}))}AxisLine.defaultProps=defaultProps;AxisLine.displayName="AxisLine";AxisLine.propTypes=propTypes;exports.default=AxisLine},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _axisUtils=__webpack_require__(84);var _scalesUtils=__webpack_require__(58);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var LEFT=_axisUtils.ORIENTATION.LEFT,RIGHT=_axisUtils.ORIENTATION.RIGHT,TOP=_axisUtils.ORIENTATION.TOP,BOTTOM=_axisUtils.ORIENTATION.BOTTOM;var propTypes={height:_propTypes2.default.number.isRequired,orientation:_propTypes2.default.oneOf([LEFT,RIGHT,TOP,BOTTOM]).isRequired,style:_propTypes2.default.object,width:_propTypes2.default.number.isRequired};var defaultProps={style:{}};function _getTickFormatFn(scale,tickTotal,tickFormat){return tickFormat||(scale.tickFormat?scale.tickFormat(tickTotal):function(v){return v})}var AxisTicks=function(_React$Component){_inherits(AxisTicks,_React$Component);function AxisTicks(){_classCallCheck(this,AxisTicks);return _possibleConstructorReturn(this,(AxisTicks.__proto__||Object.getPrototypeOf(AxisTicks)).apply(this,arguments))}_createClass(AxisTicks,[{key:"_isAxisVertical",value:function _isAxisVertical(){var orientation=this.props.orientation;return orientation===LEFT||orientation===RIGHT}},{key:"_areTicksWrapped",value:function _areTicksWrapped(){var orientation=this.props.orientation;return orientation===LEFT||orientation===TOP}},{key:"_getTickContainerPropsGetterFn",value:function _getTickContainerPropsGetterFn(){if(this._isAxisVertical())return function(pos){return{transform:"translate(0, "+pos+")"}};return function(pos){return{transform:"translate("+pos+", 0)"}}}},{key:"_getTickLineProps",value:function _getTickLineProps(){var _ref;var _props=this.props,tickSize=_props.tickSize,_props$tickSizeOuter=_props.tickSizeOuter,tickSizeOuter=void 0===_props$tickSizeOuter?tickSize:_props$tickSizeOuter,_props$tickSizeInner=_props.tickSizeInner,tickSizeInner=void 0===_props$tickSizeInner?tickSize:_props$tickSizeInner;var isVertical=this._isAxisVertical();var tickXAttr=isVertical?"y":"x";var tickYAttr=isVertical?"x":"y";var wrap=this._areTicksWrapped()?-1:1;return _ref={},_defineProperty(_ref,tickXAttr+"1",0),_defineProperty(_ref,tickXAttr+"2",0),_defineProperty(_ref,tickYAttr+"1",-wrap*tickSizeInner),_defineProperty(_ref,tickYAttr+"2",wrap*tickSizeOuter),_ref}},{key:"_getTickLabelProps",value:function _getTickLabelProps(){var _props2=this.props,orientation=_props2.orientation,tickLabelAngle=_props2.tickLabelAngle,tickSize=_props2.tickSize,_props2$tickSizeOuter=_props2.tickSizeOuter,tickSizeOuter=void 0===_props2$tickSizeOuter?tickSize:_props2$tickSizeOuter,_props2$tickPadding=_props2.tickPadding,tickPadding=void 0===_props2$tickPadding?tickSize:_props2$tickPadding;var textAnchor=void 0;textAnchor=orientation===LEFT||orientation===BOTTOM&&tickLabelAngle?"end":orientation===RIGHT||orientation===TOP&&tickLabelAngle?"start":"middle";var isVertical=this._isAxisVertical();var wrap=this._areTicksWrapped()?-1:1;var labelOffset=wrap*(tickSizeOuter+tickPadding);var transform=(isVertical?"translate("+labelOffset+", 0)":"translate(0, "+labelOffset+")")+(tickLabelAngle?" rotate("+tickLabelAngle+")":"");var dy=orientation===TOP||tickLabelAngle?"0":orientation===BOTTOM?"0.72em":"0.32em";return{textAnchor:textAnchor,dy:dy,transform:transform}}},{key:"render",value:function render(){var _props3=this.props,attr=_props3.attr,orientation=_props3.orientation,width=_props3.width,height=_props3.height,style=_props3.style,tickFormat=_props3.tickFormat,tickTotal=_props3.tickTotal,tickValues=_props3.tickValues;var x=orientation===LEFT?width:0;var y=orientation===TOP?height:0;var scale=(0,_scalesUtils.getAttributeScale)(this.props,attr);var values=(0,_axisUtils.getTickValues)(scale,tickTotal,tickValues);var tickFormatFn=_getTickFormatFn(scale,tickTotal,tickFormat);var translateFn=this._getTickContainerPropsGetterFn();var pathProps=this._getTickLineProps();var textProps=this._getTickLabelProps();var ticks=values.map(function(v,i){var pos=scale(v);var text=tickFormatFn(v,i,scale,tickTotal);return _react2.default.createElement("g",_extends({key:i},translateFn(pos,0),{className:"rv-xy-plot__axis__tick",style:style}),_react2.default.createElement("line",_extends({},pathProps,{className:"rv-xy-plot__axis__tick__line",style:_extends({},style,style.line)})),_react2.default.createElement("text",_extends({},textProps,{className:"rv-xy-plot__axis__tick__text",style:_extends({},style,style.text)}),text))});return _react2.default.createElement("g",{transform:"translate("+x+", "+y+")",className:"rv-xy-plot__axis__ticks"},ticks)}}]);return AxisTicks}(_react2.default.Component);AxisTicks.defaultProps=defaultProps;AxisTicks.displayName="AxisTicks";AxisTicks.propTypes=propTypes;AxisTicks.requiresSVG=true;exports.default=AxisTicks},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _axisUtils=__webpack_require__(84);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var ADJUSTMENT_FOR_TEXT_SIZE=16;var MARGIN=6;var LEFT=_axisUtils.ORIENTATION.LEFT,RIGHT=_axisUtils.ORIENTATION.RIGHT,TOP=_axisUtils.ORIENTATION.TOP,BOTTOM=_axisUtils.ORIENTATION.BOTTOM;var defaultProps={position:"end"};var transformation=function transformation(width,height){var _ref;return _ref={},_defineProperty(_ref,LEFT,{end:{x:ADJUSTMENT_FOR_TEXT_SIZE,y:MARGIN,rotation:-90,textAnchor:"end"},middle:{x:ADJUSTMENT_FOR_TEXT_SIZE,y:height/2-MARGIN,rotation:-90,textAnchor:"middle"},start:{x:ADJUSTMENT_FOR_TEXT_SIZE,y:height-MARGIN,rotation:-90,textAnchor:"start"}}),_defineProperty(_ref,RIGHT,{end:{x:-.5*ADJUSTMENT_FOR_TEXT_SIZE,y:MARGIN,rotation:-90,textAnchor:"end"},middle:{x:-.5*ADJUSTMENT_FOR_TEXT_SIZE,y:height/2-MARGIN,rotation:-90,textAnchor:"middle"},start:{x:-.5*ADJUSTMENT_FOR_TEXT_SIZE,y:height-MARGIN,rotation:-90,textAnchor:"start"}}),_defineProperty(_ref,TOP,{start:{x:MARGIN,y:ADJUSTMENT_FOR_TEXT_SIZE,rotation:0,textAnchor:"start"},middle:{x:width/2-MARGIN,y:ADJUSTMENT_FOR_TEXT_SIZE,rotation:0,textAnchor:"middle"},end:{x:width-MARGIN,y:ADJUSTMENT_FOR_TEXT_SIZE,rotation:0,textAnchor:"end"}}),_defineProperty(_ref,BOTTOM,{start:{x:MARGIN,y:-MARGIN,rotation:0,textAnchor:"start"},middle:{x:width/2-MARGIN,y:-MARGIN,rotation:0,textAnchor:"middle"},end:{x:width-MARGIN,y:-MARGIN,rotation:0,textAnchor:"end"}}),_ref};var propTypes={width:_propTypes2.default.number.isRequired,height:_propTypes2.default.number.isRequired,orientation:_propTypes2.default.oneOf([LEFT,RIGHT,TOP,BOTTOM]).isRequired,style:_propTypes2.default.object,title:_propTypes2.default.string.isRequired};function AxisTitle(_ref2){var orientation=_ref2.orientation,position=_ref2.position,width=_ref2.width,height=_ref2.height,style=_ref2.style,title=_ref2.title;var outerGroupTranslateX=orientation===LEFT?width:0;var outerGroupTranslateY=orientation===TOP?height:0;var outerGroupTransform="translate("+outerGroupTranslateX+", "+outerGroupTranslateY+")";var _transformation$orien=transformation(width,height)[orientation][position],x=_transformation$orien.x,y=_transformation$orien.y,rotation=_transformation$orien.rotation,textAnchor=_transformation$orien.textAnchor;var innerGroupTransform="translate("+x+", "+y+") rotate("+rotation+")";return _react2.default.createElement("g",{transform:outerGroupTransform,className:"rv-xy-plot__axis__title"},_react2.default.createElement("g",{style:_extends({textAnchor:textAnchor},style),transform:innerGroupTransform},_react2.default.createElement("text",{style:style},title)))}AxisTitle.displayName="AxisTitle";AxisTitle.propTypes=propTypes;AxisTitle.defaultProps=defaultProps;exports.default=AxisTitle},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _axisUtils=__webpack_require__(84);var _axis=__webpack_require__(762);var _axis2=_interopRequireDefault(_axis);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var LEFT=_axisUtils.ORIENTATION.LEFT,RIGHT=_axisUtils.ORIENTATION.RIGHT;var propTypes=_extends({},_axis2.default.propTypes,{orientation:_propTypes2.default.oneOf([LEFT,RIGHT])});var defaultProps={orientation:LEFT,attr:"y",attrAxis:"x"};function YAxis(props){return _react2.default.createElement(_axis2.default,props)}YAxis.displayName="YAxis";YAxis.propTypes=propTypes;YAxis.defaultProps=defaultProps;YAxis.requiresSVG=true;exports.default=YAxis},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _scalesUtils=__webpack_require__(58);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _axisUtils=__webpack_require__(84);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var animatedProps=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickTotal"];var CircularGridLines=function(_PureComponent){_inherits(CircularGridLines,_PureComponent);function CircularGridLines(){_classCallCheck(this,CircularGridLines);return _possibleConstructorReturn(this,(CircularGridLines.__proto__||Object.getPrototypeOf(CircularGridLines)).apply(this,arguments))}_createClass(CircularGridLines,[{key:"_getDefaultProps",value:function _getDefaultProps(){var _props=this.props,innerWidth=_props.innerWidth,innerHeight=_props.innerHeight,marginTop=_props.marginTop,marginLeft=_props.marginLeft;return{left:marginLeft,top:marginTop,width:innerWidth,height:innerHeight,style:{},tickTotal:(0,_axisUtils.getTicksTotalFromSize)(Math.min(innerWidth,innerHeight))}}},{key:"render",value:function render(){var _props2=this.props,animation=_props2.animation,centerX=_props2.centerX,centerY=_props2.centerY;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:animatedProps}),_react2.default.createElement(CircularGridLines,_extends({},this.props,{animation:null})));var props=_extends({},this._getDefaultProps(),this.props);var tickTotal=props.tickTotal,tickValues=props.tickValues,marginLeft=props.marginLeft,marginTop=props.marginTop,rRange=props.rRange,style=props.style;var xScale=(0,_scalesUtils.getAttributeScale)(props,"x");var yScale=(0,_scalesUtils.getAttributeScale)(props,"y");var values=(0,_axisUtils.getTickValues)(xScale,tickTotal,tickValues);return _react2.default.createElement("g",{transform:"translate("+(xScale(centerX)+marginLeft)+","+(yScale(centerY)+marginTop)+")",className:"rv-xy-plot__circular-grid-lines"},values.reduce(function(res,value,index){var radius=xScale(value);if(rRange&&(radius<rRange[0]||radius>rRange[1]))return res;return res.concat([_react2.default.createElement("circle",_extends({cx:0,cy:0,r:radius},{key:index,className:"rv-xy-plot__circular-grid-lines__line",style:style}))])},[]))}}]);return CircularGridLines}(_react.PureComponent);CircularGridLines.displayName="CircularGridLines";CircularGridLines.propTypes={centerX:_propTypes2.default.number,centerY:_propTypes2.default.number,width:_propTypes2.default.number,height:_propTypes2.default.number,top:_propTypes2.default.number,left:_propTypes2.default.number,rRange:_propTypes2.default.arrayOf(_propTypes2.default.number),style:_propTypes2.default.object,tickValues:_propTypes2.default.arrayOf(_propTypes2.default.number),tickTotal:_propTypes2.default.number,animation:_animation.AnimationPropType,marginTop:_propTypes2.default.number,marginBottom:_propTypes2.default.number,marginLeft:_propTypes2.default.number,marginRight:_propTypes2.default.number,innerWidth:_propTypes2.default.number,innerHeight:_propTypes2.default.number};CircularGridLines.defaultProps={centerX:0,centerY:0};CircularGridLines.requiresSVG=true;exports.default=CircularGridLines},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-gradient-defs";var GradientDefs=function(_PureComponent){_inherits(GradientDefs,_PureComponent);function GradientDefs(){_classCallCheck(this,GradientDefs);return _possibleConstructorReturn(this,(GradientDefs.__proto__||Object.getPrototypeOf(GradientDefs)).apply(this,arguments))}_createClass(GradientDefs,[{key:"render",value:function render(){var className=this.props.className;return _react2.default.createElement("defs",{className:predefinedClassName+" "+className},this.props.children)}}]);return GradientDefs}(_react.PureComponent);GradientDefs.displayName="GradientDefs";GradientDefs.requiresSVG=true;GradientDefs.propTypes={className:_propTypes2.default.string};GradientDefs.defaultProps={className:""};exports.default=GradientDefs},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _gridLines=__webpack_require__(456);var _gridLines2=_interopRequireDefault(_gridLines);var _axisUtils=__webpack_require__(84);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var VERTICAL=_axisUtils.DIRECTION.VERTICAL;var propTypes=_extends({},_gridLines2.default.propTypes,{direction:_propTypes2.default.oneOf([VERTICAL])});var defaultProps={direction:VERTICAL,attr:"x"};function VerticalGridLines(props){return _react2.default.createElement(_gridLines2.default,props)}VerticalGridLines.displayName="VerticalGridLines";VerticalGridLines.propTypes=propTypes;VerticalGridLines.defaultProps=defaultProps;VerticalGridLines.requiresSVG=true;exports.default=VerticalGridLines},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _axisUtils=__webpack_require__(84);var _gridLines=__webpack_require__(456);var _gridLines2=_interopRequireDefault(_gridLines);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var HORIZONTAL=_axisUtils.DIRECTION.HORIZONTAL;var propTypes=_extends({},_gridLines2.default.propTypes,{direction:_propTypes2.default.oneOf([HORIZONTAL])});var defaultProps={direction:HORIZONTAL,attr:"y"};function HorizontalGridLines(props){return _react2.default.createElement(_gridLines2.default,props)}HorizontalGridLines.displayName="HorizontalGridLines";HorizontalGridLines.propTypes=propTypes;HorizontalGridLines.defaultProps=defaultProps;HorizontalGridLines.requiresSVG=true;exports.default=HorizontalGridLines},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function DiscreteColorLegendItem(_ref){var color=_ref.color,disabled=_ref.disabled,onClick=_ref.onClick,orientation=_ref.orientation,onMouseEnter=_ref.onMouseEnter,onMouseLeave=_ref.onMouseLeave,title=_ref.title;var className="rv-discrete-color-legend-item "+orientation;disabled&&(className+=" disabled");onClick&&(className+=" clickable");return _react2.default.createElement("div",{className:className,onClick:onClick,onMouseEnter:onMouseEnter,onMouseLeave:onMouseLeave},_react2.default.createElement("span",{className:"rv-discrete-color-legend-item__color",style:disabled?null:{background:color}}),_react2.default.createElement("span",{className:"rv-discrete-color-legend-item__title"},title))}DiscreteColorLegendItem.propTypes={color:_propTypes2.default.string.isRequired,disabled:_propTypes2.default.bool,title:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.element]).isRequired,onClick:_propTypes2.default.func,onMouseEnter:_propTypes2.default.func,onMouseLeave:_propTypes2.default.func,orientation:_propTypes2.default.oneOf(["vertical","horizontal"]).isRequired};DiscreteColorLegendItem.defaultProps={disabled:false};DiscreteColorLegendItem.displayName="DiscreteColorLegendItem";exports.default=DiscreteColorLegendItem},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _discreteColorLegend=__webpack_require__(764);var _discreteColorLegend2=_interopRequireDefault(_discreteColorLegend);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var propTypes=_extends({},_discreteColorLegend2.default.propTypes,{searchText:_propTypes2.default.string,onSearchChange:_propTypes2.default.func,searchPlaceholder:_propTypes2.default.string,searchFn:_propTypes2.default.func});var defaultProps={className:"",searchText:"",searchFn:function searchFn(items,s){return items.filter(function(item){return-1!==String(item.title||item).toLowerCase().indexOf(s)})}};function SearchableDiscreteColorLegend(props){var className=props.className,colors=props.colors,height=props.height,items=props.items,onItemClick=props.onItemClick,onSearchChange=props.onSearchChange,orientation=props.orientation,searchFn=props.searchFn,searchPlaceholder=props.searchPlaceholder,searchText=props.searchText,width=props.width;var onChange=onSearchChange?function(_ref){var value=_ref.target.value;return onSearchChange(value)}:null;var filteredItems=searchFn(items,searchText);return _react2.default.createElement("div",{className:"rv-search-wrapper "+className,style:{width:width,height:height}},_react2.default.createElement("form",{className:"rv-search-wrapper__form"},_react2.default.createElement("input",{type:"search",placeholder:searchPlaceholder,className:"rv-search-wrapper__form__input",value:searchText,onChange:onChange})),_react2.default.createElement("div",{className:"rv-search-wrapper__contents"},_react2.default.createElement(_discreteColorLegend2.default,{colors:colors,items:filteredItems,onItemClick:onItemClick,orientation:orientation})))}SearchableDiscreteColorLegend.propTypes=propTypes;SearchableDiscreteColorLegend.defaultProps=defaultProps;SearchableDiscreteColorLegend.displayName="SearchableDiscreteColorLegend";exports.default=SearchableDiscreteColorLegend},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _theme=__webpack_require__(44);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var propTypes={className:_propTypes2.default.string,height:_propTypes2.default.number,endColor:_propTypes2.default.string,endTitle:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string]).isRequired,midColor:_propTypes2.default.string,midTitle:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string]),startColor:_propTypes2.default.string,startTitle:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string]).isRequired,width:_propTypes2.default.number};var defaultProps={className:"",startColor:_theme.CONTINUOUS_COLOR_RANGE[0],endColor:_theme.CONTINUOUS_COLOR_RANGE[1]};function ContinuousColorLegend(_ref){var startColor=_ref.startColor,midColor=_ref.midColor,endColor=_ref.endColor,startTitle=_ref.startTitle,midTitle=_ref.midTitle,endTitle=_ref.endTitle,height=_ref.height,width=_ref.width,className=_ref.className;var colors=[startColor];midColor&&colors.push(midColor);colors.push(endColor);return _react2.default.createElement("div",{className:"rv-continuous-color-legend "+className,style:{width:width,height:height}},_react2.default.createElement("div",{className:"rv-gradient",style:{background:"linear-gradient(to right, "+colors.join(",")+")"}}),_react2.default.createElement("div",{className:"rv-legend-titles"},_react2.default.createElement("span",{className:"rv-legend-titles__left"},startTitle),_react2.default.createElement("span",{className:"rv-legend-titles__right"},endTitle),midTitle?_react2.default.createElement("span",{className:"rv-legend-titles__center"},midTitle):null))}ContinuousColorLegend.displayName="ContinuousColorLegend";ContinuousColorLegend.propTypes=propTypes;ContinuousColorLegend.defaultProps=defaultProps;exports.default=ContinuousColorLegend},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var propTypes={className:_propTypes2.default.string,circlesTotal:_propTypes2.default.number,endSize:_propTypes2.default.number,endTitle:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string]).isRequired,height:_propTypes2.default.number,startSize:_propTypes2.default.number,startTitle:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.string]).isRequired,width:_propTypes2.default.number};var defaultProps={circlesTotal:10,className:"",endSize:20,startSize:2};function ContinuousSizeLegend(_ref){var startTitle=_ref.startTitle,endTitle=_ref.endTitle,startSize=_ref.startSize,endSize=_ref.endSize,circlesTotal=_ref.circlesTotal,height=_ref.height,width=_ref.width,className=_ref.className;var circles=[];var step=(endSize-startSize)/(circlesTotal-1);for(var i=0;i<circlesTotal;i++){var size=step*i+startSize;circles.push(_react2.default.createElement("div",{key:i,className:"rv-bubble",style:{width:size,height:size,borderRadius:size/2}}));circles.push(" ")}return _react2.default.createElement("div",{className:"rv-continuous-size-legend "+className,style:{width:width,height:height}},_react2.default.createElement("div",{className:"rv-bubbles",style:{height:endSize}},circles,_react2.default.createElement("div",{className:"rv-spacer"})),_react2.default.createElement("div",{className:"rv-legend-titles"},_react2.default.createElement("span",{className:"rv-legend-titles__left"},startTitle),_react2.default.createElement("span",{className:"rv-legend-titles__right"},endTitle)))}ContinuousSizeLegend.displayName="ContinuousSizeLegend";ContinuousSizeLegend.propTypes=propTypes;ContinuousSizeLegend.defaultProps=defaultProps;exports.default=ContinuousSizeLegend},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Hierarchy=__webpack_require__(765);var _theme=__webpack_require__(44);var _animation=__webpack_require__(33);var _scalesUtils=__webpack_require__(58);var _chartUtils=__webpack_require__(164);var _treemapDom=__webpack_require__(1899);var _treemapDom2=_interopRequireDefault(_treemapDom);var _treemapSvg=__webpack_require__(1901);var _treemapSvg2=_interopRequireDefault(_treemapSvg);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var TREEMAP_TILE_MODES={squarify:_d3Hierarchy.treemapSquarify,resquarify:_d3Hierarchy.treemapResquarify,slice:_d3Hierarchy.treemapSlice,dice:_d3Hierarchy.treemapDice,slicedice:_d3Hierarchy.treemapSliceDice,binary:_d3Hierarchy.treemapBinary};var TREEMAP_LAYOUT_MODES=["circlePack","partition","partition-pivot"];var NOOP=function NOOP(d){return d};var ATTRIBUTES=["opacity","color"];var DEFAULT_MARGINS={left:40,right:10,top:10,bottom:40};function _getScaleFns(props){var data=props.data;var allData=data.children||[];var compatibleProps=_extends({},props,(0,_scalesUtils.getMissingScaleProps)(props,allData,ATTRIBUTES),{_allData:allData});return{opacity:(0,_scalesUtils.getAttributeFunctor)(compatibleProps,"opacity"),color:(0,_scalesUtils.getAttributeFunctor)(compatibleProps,"color")}}var Treemap=function(_React$Component){_inherits(Treemap,_React$Component);function Treemap(props){_classCallCheck(this,Treemap);var _this=_possibleConstructorReturn(this,(Treemap.__proto__||Object.getPrototypeOf(Treemap)).call(this,props));_this.state=_extends({scales:_getScaleFns(props)},(0,_chartUtils.getInnerDimensions)(props,props.margin));return _this}_createClass(Treemap,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(props){this.setState(_extends({scales:_getScaleFns(props)},(0,_chartUtils.getInnerDimensions)(props,props.margin)))}},{key:"_getNodesToRender",value:function _getNodesToRender(){var _state=this.state,innerWidth=_state.innerWidth,innerHeight=_state.innerHeight;var _props=this.props,data=_props.data,mode=_props.mode,padding=_props.padding,sortFunction=_props.sortFunction,getSize=_props.getSize;if(!data)return[];if("partition"===mode||"partition-pivot"===mode){var partitionFunction=(0,_d3Hierarchy.partition)().size("partition-pivot"===mode?[innerHeight,innerWidth]:[innerWidth,innerHeight]).padding(padding);var _structuredInput=(0,_d3Hierarchy.hierarchy)(data).sum(getSize).sort(function(a,b){return sortFunction(a,b,getSize)});var mappedNodes=partitionFunction(_structuredInput).descendants();if("partition-pivot"===mode)return mappedNodes.map(function(node){return _extends({},node,{x0:node.y0,x1:node.y1,y0:node.x0,y1:node.x1})});return mappedNodes}if("circlePack"===mode){var packingFunction=(0,_d3Hierarchy.pack)().size([innerWidth,innerHeight]).padding(padding);var _structuredInput2=(0,_d3Hierarchy.hierarchy)(data).sum(getSize).sort(function(a,b){return sortFunction(a,b,getSize)});return packingFunction(_structuredInput2).descendants()}var tileFn=TREEMAP_TILE_MODES[mode];var treemapingFunction=(0,_d3Hierarchy.treemap)(tileFn).tile(tileFn).size([innerWidth,innerHeight]).padding(padding);var structuredInput=(0,_d3Hierarchy.hierarchy)(data).sum(getSize).sort(function(a,b){return sortFunction(a,b,getSize)});return treemapingFunction(structuredInput).descendants()}},{key:"render",value:function render(){var renderMode=this.props.renderMode;var scales=this.state.scales;var nodes=this._getNodesToRender();var TreemapElement="SVG"===renderMode?_treemapSvg2.default:_treemapDom2.default;return _react2.default.createElement(TreemapElement,_extends({},this.props,{nodes:nodes,scales:scales}))}}]);return Treemap}(_react2.default.Component);Treemap.displayName="Treemap";Treemap.propTypes={animation:_animation.AnimationPropType,className:_propTypes2.default.string,data:_propTypes2.default.object.isRequired,height:_propTypes2.default.number.isRequired,hideRootNode:_propTypes2.default.bool,margin:_chartUtils.MarginPropType,mode:_propTypes2.default.oneOf(Object.keys(TREEMAP_TILE_MODES).concat(TREEMAP_LAYOUT_MODES)),onLeafClick:_propTypes2.default.func,onLeafMouseOver:_propTypes2.default.func,onLeafMouseOut:_propTypes2.default.func,useCirclePacking:_propTypes2.default.bool,padding:_propTypes2.default.number.isRequired,sortFunction:_propTypes2.default.func,width:_propTypes2.default.number.isRequired,getSize:_propTypes2.default.func,getColor:_propTypes2.default.func};Treemap.defaultProps={className:"",colorRange:_theme.CONTINUOUS_COLOR_RANGE,_colorValue:_theme.DEFAULT_COLOR,data:{children:[]},hideRootNode:false,margin:DEFAULT_MARGINS,mode:"squarify",onLeafClick:NOOP,onLeafMouseOver:NOOP,onLeafMouseOut:NOOP,opacityType:_theme.OPACITY_TYPE,_opacityValue:_theme.DEFAULT_OPACITY,padding:1,sortFunction:function sortFunction(a,b,accessor){if(!accessor)return 0;return accessor(a)-accessor(b)},getSize:function getSize(d){return d.size},getColor:function getColor(d){return d.color},getLabel:function getLabel(d){return d.title}};exports.default=Treemap},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _treemapLeaf=__webpack_require__(1900);var _treemapLeaf2=_interopRequireDefault(_treemapLeaf);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var TreemapDOM=function(_React$Component){_inherits(TreemapDOM,_React$Component);function TreemapDOM(){_classCallCheck(this,TreemapDOM);return _possibleConstructorReturn(this,(TreemapDOM.__proto__||Object.getPrototypeOf(TreemapDOM)).apply(this,arguments))}_createClass(TreemapDOM,[{key:"render",value:function render(){var _this2=this;var _props=this.props,animation=_props.animation,className=_props.className,height=_props.height,hideRootNode=_props.hideRootNode,getLabel=_props.getLabel,mode=_props.mode,nodes=_props.nodes,width=_props.width,scales=_props.scales,style=_props.style;var useCirclePacking="circlePack"===mode;return _react2.default.createElement("div",{className:"rv-treemap "+(useCirclePacking?"rv-treemap-circle-packed":"")+" "+className,style:{height:height,width:width}},nodes.map(function(node,index){if(hideRootNode&&!index)return null;var nodeProps=_extends({animation:animation,node:node,getLabel:getLabel},_this2.props,{x0:useCirclePacking?node.x:node.x0,x1:useCirclePacking?node.x:node.x1,y0:useCirclePacking?node.y:node.y0,y1:useCirclePacking?node.y:node.y1,r:useCirclePacking?node.r:1,scales:scales,style:style});return _react2.default.createElement(_treemapLeaf2.default,_extends({},nodeProps,{key:"leaf-"+index}))}))}}]);return TreemapDOM}(_react2.default.Component);TreemapDOM.displayName="TreemapDOM";exports.default=TreemapDOM},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _scalesUtils=__webpack_require__(58);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var ANIMATED_PROPS=["colorRange","colorDomain","color","opacityRange","opacityDomain","opacity","x0","x1","y0","y1","r"];var TreemapLeaf=function(_React$Component){_inherits(TreemapLeaf,_React$Component);function TreemapLeaf(){_classCallCheck(this,TreemapLeaf);return _possibleConstructorReturn(this,(TreemapLeaf.__proto__||Object.getPrototypeOf(TreemapLeaf)).apply(this,arguments))}_createClass(TreemapLeaf,[{key:"render",value:function render(){var _props=this.props,animation=_props.animation,getLabel=_props.getLabel,mode=_props.mode,node=_props.node,onLeafClick=_props.onLeafClick,onLeafMouseOver=_props.onLeafMouseOver,onLeafMouseOut=_props.onLeafMouseOut,r=_props.r,scales=_props.scales,x0=_props.x0,x1=_props.x1,y0=_props.y0,y1=_props.y1,style=_props.style;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:ANIMATED_PROPS}),_react2.default.createElement(TreemapLeaf,_extends({},this.props,{animation:null})));var useCirclePacking="circlePack"===mode;var background=scales.color(node);var opacity=scales.opacity(node);var color=(0,_scalesUtils.getFontColorFromBackground)(background);var data=node.data;var title=getLabel(data);var leafStyle=_extends({top:useCirclePacking?y0-r:y0,left:useCirclePacking?x0-r:x0,width:useCirclePacking?2*r:x1-x0,height:useCirclePacking?2*r:y1-y0,background:background,opacity:opacity,color:color},style,node.data.style);return _react2.default.createElement("div",{className:"rv-treemap__leaf "+(useCirclePacking?"rv-treemap__leaf--circle":""),onMouseEnter:function onMouseEnter(event){return onLeafMouseOver(node,event)},onMouseLeave:function onMouseLeave(event){return onLeafMouseOut(node,event)},onClick:function onClick(event){return onLeafClick(node,event)},style:leafStyle},_react2.default.createElement("div",{className:"rv-treemap__leaf__content"},title))}}]);return TreemapLeaf}(_react2.default.Component);TreemapLeaf.propTypes={animation:_animation.AnimationPropType,height:_propTypes2.default.number.isRequired,mode:_propTypes2.default.string,node:_propTypes2.default.object.isRequired,onLeafClick:_propTypes2.default.func,onLeafMouseOver:_propTypes2.default.func,onLeafMouseOut:_propTypes2.default.func,scales:_propTypes2.default.object.isRequired,width:_propTypes2.default.number.isRequired,r:_propTypes2.default.number.isRequired,x0:_propTypes2.default.number.isRequired,x1:_propTypes2.default.number.isRequired,y0:_propTypes2.default.number.isRequired,y1:_propTypes2.default.number.isRequired};exports.default=TreemapLeaf},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _xyPlot=__webpack_require__(133);var _xyPlot2=_interopRequireDefault(_xyPlot);var _polygonSeries=__webpack_require__(452);var _polygonSeries2=_interopRequireDefault(_polygonSeries);var _markSeries=__webpack_require__(453);var _markSeries2=_interopRequireDefault(_markSeries);var _labelSeries=__webpack_require__(165);var _labelSeries2=_interopRequireDefault(_labelSeries);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var MARGIN_ADJUST=1.2;var TreemapSVG=function(_React$Component){_inherits(TreemapSVG,_React$Component);function TreemapSVG(){_classCallCheck(this,TreemapSVG);return _possibleConstructorReturn(this,(TreemapSVG.__proto__||Object.getPrototypeOf(TreemapSVG)).apply(this,arguments))}_createClass(TreemapSVG,[{key:"getCircularNodes",value:function getCircularNodes(){var _props=this.props,animation=_props.animation,hideRootNode=_props.hideRootNode,nodes=_props.nodes,onLeafMouseOver=_props.onLeafMouseOver,onLeafMouseOut=_props.onLeafMouseOut,onLeafClick=_props.onLeafClick,scales=_props.scales,style=_props.style;var _nodes$reduce=nodes.reduce(function(acc,node,index){if(!index&&hideRootNode)return acc;var x=node.x,y=node.y,r=node.r;return{maxY:Math.max(y+r,acc.maxY),minY:Math.min(y-r,acc.minY),maxX:Math.max(x+MARGIN_ADJUST*r,acc.maxX),minX:Math.min(x-MARGIN_ADJUST*r,acc.minX),rows:acc.rows.concat([{x:x,y:y,size:r,color:scales.color(node)}])}},{rows:[],maxY:-Infinity,minY:Infinity,maxX:-Infinity,minX:Infinity}),rows=_nodes$reduce.rows,minY=_nodes$reduce.minY,maxY=_nodes$reduce.maxY,minX=_nodes$reduce.minX,maxX=_nodes$reduce.maxX;return{updatedNodes:_react2.default.createElement(_markSeries2.default,{animation:animation,className:"rv-treemap__leaf rv-treemap__leaf--circle",onSeriesMouseEnter:onLeafMouseOver,onSeriesMouseLeave:onLeafMouseOut,onSeriesClick:onLeafClick,data:rows,colorType:"literal",getColor:function getColor(d){return d.color},sizeType:"literal",getSize:function getSize(d){return d.size},style:style}),minY:minY,maxY:maxY,minX:minX,maxX:maxX}}},{key:"getNonCircularNodes",value:function getNonCircularNodes(){var _props2=this.props,animation=_props2.animation,hideRootNode=_props2.hideRootNode,nodes=_props2.nodes,onLeafMouseOver=_props2.onLeafMouseOver,onLeafMouseOut=_props2.onLeafMouseOut,onLeafClick=_props2.onLeafClick,scales=_props2.scales,style=_props2.style;var color=scales.color;return nodes.reduce(function(acc,node,index){if(!index&&hideRootNode)return acc;var x0=node.x0,x1=node.x1,y1=node.y1,y0=node.y0;var x=x0;var y=y0;var nodeHeight=y1-y0;var nodeWidth=x1-x0;acc.maxY=Math.max(y+nodeHeight,acc.maxY);acc.minY=Math.min(y,acc.minY);acc.maxX=Math.max(x+nodeWidth,acc.maxX);acc.minX=Math.min(x,acc.minX);var data=[{x:x,y:y},{x:x,y:y+nodeHeight},{x:x+nodeWidth,y:y+nodeHeight},{x:x+nodeWidth,y:y}];acc.updatedNodes=acc.updatedNodes.concat([_react2.default.createElement(_polygonSeries2.default,{animation:animation,className:"rv-treemap__leaf",key:index,color:color(node),type:"literal",onSeriesMouseEnter:onLeafMouseOver,onSeriesMouseLeave:onLeafMouseOut,onSeriesClick:onLeafClick,data:data,style:_extends({},style,node.style)})]);return acc},{updatedNodes:[],maxY:-Infinity,minY:Infinity,maxX:-Infinity,minX:Infinity})}},{key:"render",value:function render(){var _props3=this.props,className=_props3.className,height=_props3.height,mode=_props3.mode,nodes=_props3.nodes,width=_props3.width;var useCirclePacking="circlePack"===mode;var _ref=useCirclePacking?this.getCircularNodes():this.getNonCircularNodes(),minY=_ref.minY,maxY=_ref.maxY,minX=_ref.minX,maxX=_ref.maxX,updatedNodes=_ref.updatedNodes;var labels=nodes.reduce(function(acc,node){if(!node.data.title)return acc;return acc.concat(_extends({},node.data,{x:node.x0||node.x,y:node.y0||node.y,label:""+node.data.title}))},[]);return _react2.default.createElement(_xyPlot2.default,_extends({className:"rv-treemap "+(useCirclePacking?"rv-treemap-circle-packed":"")+" "+className,width:width,height:height,yDomain:[maxY,minY],xDomain:[minX,maxX],colorType:"literal",hasTreeStructure:true},this.props),updatedNodes,_react2.default.createElement(_labelSeries2.default,{data:labels}))}}]);return TreemapSVG}(_react2.default.Component);TreemapSVG.displayName="TreemapSVG";exports.default=TreemapSVG},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Shape=__webpack_require__(246);var _animation=__webpack_require__(33);var _arcSeries=__webpack_require__(454);var _arcSeries2=_interopRequireDefault(_arcSeries);var _labelSeries=__webpack_require__(165);var _labelSeries2=_interopRequireDefault(_labelSeries);var _xyPlot=__webpack_require__(133);var _xyPlot2=_interopRequireDefault(_xyPlot);var _theme=__webpack_require__(44);var _chartUtils=__webpack_require__(164);var _seriesUtils=__webpack_require__(50);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-radial-chart";var DEFAULT_RADIUS_MARGIN=15;function getWedgesToRender(_ref){var data=_ref.data,getAngle=_ref.getAngle;var pie=(0,_d3Shape.pie)().sort(null).value(getAngle);var pieData=pie(data).reverse();return pieData.map(function(row,index){return _extends({},row.data,{angle0:row.startAngle,angle:row.endAngle,radius0:row.data.innerRadius||0,radius:row.data.radius||1,color:row.data.color||index})})}function generateLabels(mappedData,accessors){var labelsRadiusMultiplier=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1.1;var getLabel=accessors.getLabel,getSubLabel=accessors.getSubLabel;return mappedData.reduce(function(res,row){var angle=row.angle,angle0=row.angle0,radius=row.radius;var centeredAngle=(angle+angle0)/2;var updatedAngle=-1*centeredAngle+Math.PI/2;var newLabels=[];getLabel(row)&&newLabels.push({angle:updatedAngle,radius:radius*labelsRadiusMultiplier,label:getLabel(row)});getSubLabel(row)&&newLabels.push({angle:updatedAngle,radius:radius*labelsRadiusMultiplier,label:getSubLabel(row),style:{fontSize:10},yOffset:12});return res.concat(newLabels)},[])}function getMaxRadius(width,height){return Math.min(width,height)/2-DEFAULT_RADIUS_MARGIN}var RadialChart=function(_Component){_inherits(RadialChart,_Component);function RadialChart(){_classCallCheck(this,RadialChart);return _possibleConstructorReturn(this,(RadialChart.__proto__||Object.getPrototypeOf(RadialChart)).apply(this,arguments))}_createClass(RadialChart,[{key:"render",value:function render(){var _props=this.props,animation=_props.animation,className=_props.className,children=_props.children,colorType=_props.colorType,data=_props.data,getAngle=_props.getAngle,getLabel=_props.getLabel,getSubLabel=_props.getSubLabel,height=_props.height,hideRootNode=_props.hideRootNode,innerRadius=_props.innerRadius,labelsAboveChildren=_props.labelsAboveChildren,labelsRadiusMultiplier=_props.labelsRadiusMultiplier,labelsStyle=_props.labelsStyle,margin=_props.margin,onMouseLeave=_props.onMouseLeave,onMouseEnter=_props.onMouseEnter,radius=_props.radius,showLabels=_props.showLabels,style=_props.style,width=_props.width;var mappedData=getWedgesToRender({data:data,height:height,hideRootNode:hideRootNode,width:width,getAngle:getAngle});var radialDomain=(0,_seriesUtils.getRadialDomain)(mappedData);var arcProps=_extends({colorType:colorType},this.props,{animation:animation,radiusDomain:[0,radialDomain],data:mappedData,radiusNoFallBack:true,style:style,arcClassName:"rv-radial-chart__series--pie__slice"});if(radius){arcProps.radiusDomain=[0,1];arcProps.radiusRange=[innerRadius||0,radius];arcProps.radiusType="linear"}var maxRadius=radius||getMaxRadius(width,height);var defaultMargin=(0,_chartUtils.getRadialLayoutMargin)(width,height,maxRadius);var labels=generateLabels(mappedData,{getLabel:getLabel,getSubLabel:getSubLabel},labelsRadiusMultiplier);return _react2.default.createElement(_xyPlot2.default,{height:height,width:width,margin:_extends({},margin,defaultMargin),className:className+" "+predefinedClassName,onMouseLeave:onMouseLeave,onMouseEnter:onMouseEnter,xDomain:[-radialDomain,radialDomain],yDomain:[-radialDomain,radialDomain]},_react2.default.createElement(_arcSeries2.default,_extends({},arcProps,{getAngle:function getAngle(d){return d.angle}})),showLabels&&!labelsAboveChildren&&_react2.default.createElement(_labelSeries2.default,{data:labels,style:labelsStyle}),children,showLabels&&labelsAboveChildren&&_react2.default.createElement(_labelSeries2.default,{data:labels,style:labelsStyle}))}}]);return RadialChart}(_react.Component);RadialChart.displayName="RadialChart";RadialChart.propTypes={animation:_animation.AnimationPropType,className:_propTypes2.default.string,colorType:_propTypes2.default.string,data:_propTypes2.default.arrayOf(_propTypes2.default.shape({angle:_propTypes2.default.number,className:_propTypes2.default.string,label:_propTypes2.default.string,radius:_propTypes2.default.number,style:_propTypes2.default.object})).isRequired,getAngle:_propTypes2.default.func,getAngle0:_propTypes2.default.func,getRadius:_propTypes2.default.func,getRadius0:_propTypes2.default.func,getLabel:_propTypes2.default.func,height:_propTypes2.default.number.isRequired,labelsAboveChildren:_propTypes2.default.bool,labelsStyle:_propTypes2.default.object,margin:_chartUtils.MarginPropType,onValueClick:_propTypes2.default.func,onValueMouseOver:_propTypes2.default.func,onValueMouseOut:_propTypes2.default.func,showLabels:_propTypes2.default.bool,style:_propTypes2.default.object,subLabel:_propTypes2.default.func,width:_propTypes2.default.number.isRequired};RadialChart.defaultProps={className:"",colorType:"category",colorRange:_theme.DISCRETE_COLOR_RANGE,getAngle:function getAngle(d){return d.angle},getAngle0:function getAngle0(d){return d.angle0},getRadius:function getRadius(d){return d.radius},getRadius0:function getRadius0(d){return d.radius0},getLabel:function getLabel(d){return d.label},getSubLabel:function getSubLabel(d){return d.subLabel}};exports.default=RadialChart},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Scale=__webpack_require__(193);var _d3Format=__webpack_require__(317);var _animation=__webpack_require__(33);var _xyPlot=__webpack_require__(133);var _xyPlot2=_interopRequireDefault(_xyPlot);var _theme=__webpack_require__(44);var _chartUtils=__webpack_require__(164);var _polygonSeries=__webpack_require__(452);var _polygonSeries2=_interopRequireDefault(_polygonSeries);var _labelSeries=__webpack_require__(165);var _labelSeries2=_interopRequireDefault(_labelSeries);var _decorativeAxis=__webpack_require__(455);var _decorativeAxis2=_interopRequireDefault(_decorativeAxis);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-radar-chart";var DEFAULT_FORMAT=(0,_d3Format.format)(".2r");function getAxes(props){var animation=props.animation,domains=props.domains,startingAngle=props.startingAngle,style=props.style,tickFormat=props.tickFormat,hideInnerMostValues=props.hideInnerMostValues;return domains.map(function(domain,index){var angle=index/domains.length*Math.PI*2+startingAngle;var sortedDomain=domain.domain;var domainTickFormat=function domainTickFormat(t){if(hideInnerMostValues&&t===sortedDomain[0])return"";return domain.tickFormat?domain.tickFormat(t):tickFormat(t)};return _react2.default.createElement(_decorativeAxis2.default,{animation:animation,key:index+"-axis",axisStart:{x:0,y:0},axisEnd:{x:getCoordinate(Math.cos(angle)),y:getCoordinate(Math.sin(angle))},axisDomain:sortedDomain,numberOfTicks:5,tickValue:domainTickFormat,style:style.axes})})}function getCoordinate(axisEndPoint){var epsilon=1e-12;Math.abs(axisEndPoint)<=epsilon?axisEndPoint=0:axisEndPoint>0?Math.abs(axisEndPoint-.5)<=epsilon&&(axisEndPoint=.5):axisEndPoint<0&&Math.abs(axisEndPoint+.5)<=epsilon&&(axisEndPoint=-.5);return axisEndPoint}function getLabels(props){var domains=props.domains,startingAngle=props.startingAngle,style=props.style;return domains.map(function(_ref,index){var name=_ref.name;var angle=index/domains.length*Math.PI*2+startingAngle;var radius=1.2;return{x:radius*Math.cos(angle),y:radius*Math.sin(angle),label:name,style:style}})}function getPolygons(props){var animation=props.animation,colorRange=props.colorRange,domains=props.domains,data=props.data,style=props.style,startingAngle=props.startingAngle;var scales=domains.reduce(function(acc,_ref2){var domain=_ref2.domain,name=_ref2.name;acc[name]=(0,_d3Scale.scaleLinear)().domain(domain).range([0,1]);return acc},{});return data.map(function(row,rowIndex){var mappedData=domains.map(function(_ref3,index){var name=_ref3.name,getValue=_ref3.getValue;var dataPoint=getValue?getValue(row):row[name];var angle=index/domains.length*Math.PI*2+startingAngle;var radius=Math.max(scales[name](dataPoint),0);return{x:radius*Math.cos(angle),y:radius*Math.sin(angle)}});return _react2.default.createElement(_polygonSeries2.default,{animation:animation,className:predefinedClassName+"-polygon",key:rowIndex+"-polygon",data:mappedData,style:_extends({stroke:row.color||row.stroke||colorRange[rowIndex%colorRange.length],fill:row.color||row.fill||colorRange[rowIndex%colorRange.length]},style.polygons)})})}var RadarChart=function(_Component){_inherits(RadarChart,_Component);function RadarChart(){_classCallCheck(this,RadarChart);return _possibleConstructorReturn(this,(RadarChart.__proto__||Object.getPrototypeOf(RadarChart)).apply(this,arguments))}_createClass(RadarChart,[{key:"render",value:function render(){var _props=this.props,animation=_props.animation,className=_props.className,children=_props.children,colorRange=_props.colorRange,data=_props.data,domains=_props.domains,height=_props.height,hideInnerMostValues=_props.hideInnerMostValues,margin=_props.margin,onMouseLeave=_props.onMouseLeave,onMouseEnter=_props.onMouseEnter,startingAngle=_props.startingAngle,style=_props.style,tickFormat=_props.tickFormat,width=_props.width;var axes=getAxes({domains:domains,animation:animation,hideInnerMostValues:hideInnerMostValues,startingAngle:startingAngle,style:style,tickFormat:tickFormat});var polygons=getPolygons({animation:animation,colorRange:colorRange,domains:domains,data:data,startingAngle:startingAngle,style:style});var labelSeries=_react2.default.createElement(_labelSeries2.default,{animation:animation,key:className,className:predefinedClassName+"-label",data:getLabels({domains:domains,style:style.labels,startingAngle:startingAngle})});return _react2.default.createElement(_xyPlot2.default,{height:height,width:width,margin:margin,dontCheckIfEmpty:true,className:className+" "+predefinedClassName,onMouseLeave:onMouseLeave,onMouseEnter:onMouseEnter,xDomain:[-1,1],yDomain:[-1,1]},children,axes.concat(polygons).concat(labelSeries))}}]);return RadarChart}(_react.Component);RadarChart.displayName="RadarChart";RadarChart.propTypes={animation:_animation.AnimationPropType,className:_propTypes2.default.string,colorType:_propTypes2.default.string,colorRange:_propTypes2.default.arrayOf(_propTypes2.default.string),data:_propTypes2.default.arrayOf(_propTypes2.default.object).isRequired,domains:_propTypes2.default.arrayOf(_propTypes2.default.shape({name:_propTypes2.default.string.isRequired,domain:_propTypes2.default.arrayOf(_propTypes2.default.number).isRequired,tickFormat:_propTypes2.default.func})).isRequired,height:_propTypes2.default.number.isRequired,hideInnerMostValues:_propTypes2.default.bool,margin:_chartUtils.MarginPropType,startingAngle:_propTypes2.default.number,style:_propTypes2.default.shape({axes:_propTypes2.default.object,labels:_propTypes2.default.object,polygons:_propTypes2.default.object}),tickFormat:_propTypes2.default.func,width:_propTypes2.default.number.isRequired};RadarChart.defaultProps={className:"",colorType:"category",colorRange:_theme.DISCRETE_COLOR_RANGE,hideInnerMostValues:true,startingAngle:Math.PI/2,style:{axes:{line:{},ticks:{},text:{}},labels:{fontSize:10,textAnchor:"middle"},polygons:{strokeWidth:.5,strokeOpacity:1,fillOpacity:.1}},tickFormat:DEFAULT_FORMAT};exports.default=RadarChart},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Scale=__webpack_require__(193);var _d3Format=__webpack_require__(317);var _animation=__webpack_require__(33);var _xyPlot=__webpack_require__(133);var _xyPlot2=_interopRequireDefault(_xyPlot);var _theme=__webpack_require__(44);var _chartUtils=__webpack_require__(164);var _lineSeries=__webpack_require__(449);var _lineSeries2=_interopRequireDefault(_lineSeries);var _lineMarkSeries=__webpack_require__(761);var _lineMarkSeries2=_interopRequireDefault(_lineMarkSeries);var _labelSeries=__webpack_require__(165);var _labelSeries2=_interopRequireDefault(_labelSeries);var _decorativeAxis=__webpack_require__(455);var _decorativeAxis2=_interopRequireDefault(_decorativeAxis);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-parallel-coordinates-chart";var DEFAULT_FORMAT=(0,_d3Format.format)(".2r");function getAxes(props){var animation=props.animation,domains=props.domains,style=props.style,tickFormat=props.tickFormat;return domains.map(function(domain,index){var sortedDomain=domain.domain;var domainTickFormat=function domainTickFormat(t){return domain.tickFormat?domain.tickFormat(t):tickFormat(t)};return _react2.default.createElement(_decorativeAxis2.default,{animation:animation,key:index+"-axis",axisStart:{x:domain.name,y:0},axisEnd:{x:domain.name,y:1},axisDomain:sortedDomain,numberOfTicks:5,tickValue:domainTickFormat,style:style.axes})})}function getLabels(props){var domains=props.domains,style=props.style;return domains.map(function(domain,index){return{x:domain.name,y:1.1,label:domain.name,style:style}})}function getLines(props){var animation=props.animation,colorRange=props.colorRange,domains=props.domains,data=props.data,style=props.style,showMarks=props.showMarks;var scales=domains.reduce(function(acc,_ref){var domain=_ref.domain,name=_ref.name;acc[name]=(0,_d3Scale.scaleLinear)().domain(domain).range([0,1]);return acc},{});return data.map(function(row,rowIndex){var mappedData=domains.map(function(domain,index){var getValue=domain.getValue,name=domain.name;return{x:name,y:scales[name](getValue?getValue(row):row[name])}});var lineProps={animation:animation,className:predefinedClassName+"-line",key:rowIndex+"-polygon",data:mappedData,color:row.color||colorRange[rowIndex%colorRange.length],style:style.lines};return showMarks?_react2.default.createElement(_lineMarkSeries2.default,lineProps):_react2.default.createElement(_lineSeries2.default,lineProps)})}var ParallelCoordinates=function(_Component){_inherits(ParallelCoordinates,_Component);function ParallelCoordinates(){_classCallCheck(this,ParallelCoordinates);return _possibleConstructorReturn(this,(ParallelCoordinates.__proto__||Object.getPrototypeOf(ParallelCoordinates)).apply(this,arguments))}_createClass(ParallelCoordinates,[{key:"render",value:function render(){var _props=this.props,animation=_props.animation,className=_props.className,children=_props.children,colorRange=_props.colorRange,data=_props.data,domains=_props.domains,height=_props.height,hideInnerMostValues=_props.hideInnerMostValues,margin=_props.margin,onMouseLeave=_props.onMouseLeave,onMouseEnter=_props.onMouseEnter,showMarks=_props.showMarks,style=_props.style,tickFormat=_props.tickFormat,width=_props.width;var axes=getAxes({domains:domains,animation:animation,hideInnerMostValues:hideInnerMostValues,style:style,tickFormat:tickFormat});var lines=getLines({animation:animation,colorRange:colorRange,domains:domains,data:data,showMarks:showMarks,style:style});var labelSeries=_react2.default.createElement(_labelSeries2.default,{animation:true,key:className,className:predefinedClassName+"-label",data:getLabels({domains:domains,style:style.labels})});return _react2.default.createElement(_xyPlot2.default,{height:height,width:width,margin:margin,dontCheckIfEmpty:true,className:className+" "+predefinedClassName,onMouseLeave:onMouseLeave,onMouseEnter:onMouseEnter,xType:"ordinal",yDomain:[0,1]},children,axes.concat(lines).concat(labelSeries))}}]);return ParallelCoordinates}(_react.Component);ParallelCoordinates.displayName="ParallelCoordinates";ParallelCoordinates.propTypes={animation:_animation.AnimationPropType,className:_propTypes2.default.string,colorType:_propTypes2.default.string,colorRange:_propTypes2.default.arrayOf(_propTypes2.default.string),data:_propTypes2.default.arrayOf(_propTypes2.default.object).isRequired,domains:_propTypes2.default.arrayOf(_propTypes2.default.shape({name:_propTypes2.default.string.isRequired,domain:_propTypes2.default.arrayOf(_propTypes2.default.number).isRequired,tickFormat:_propTypes2.default.func})).isRequired,height:_propTypes2.default.number.isRequired,margin:_chartUtils.MarginPropType,style:_propTypes2.default.shape({axes:_propTypes2.default.object,labels:_propTypes2.default.object,lines:_propTypes2.default.object}),showMarks:_propTypes2.default.bool,tickFormat:_propTypes2.default.func,width:_propTypes2.default.number.isRequired};ParallelCoordinates.defaultProps={className:"",colorType:"category",colorRange:_theme.DISCRETE_COLOR_RANGE,style:{axes:{line:{},ticks:{},text:{}},labels:{fontSize:10,textAnchor:"middle"},lines:{strokeWidth:1,strokeOpacity:1}},tickFormat:DEFAULT_FORMAT};exports.default=ParallelCoordinates},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Sankey=__webpack_require__(1906);var _xyPlot=__webpack_require__(133);var _xyPlot2=_interopRequireDefault(_xyPlot);var _chartUtils=__webpack_require__(164);var _verticalRectSeries=__webpack_require__(759);var _verticalRectSeries2=_interopRequireDefault(_verticalRectSeries);var _labelSeries=__webpack_require__(165);var _labelSeries2=_interopRequireDefault(_labelSeries);var _voronoi=__webpack_require__(763);var _voronoi2=_interopRequireDefault(_voronoi);var _theme=__webpack_require__(44);var _sankeyLink=__webpack_require__(1907);var _sankeyLink2=_interopRequireDefault(_sankeyLink);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return Array.from(arr)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var NOOP=function NOOP(f){return f};var ALIGNMENTS={justify:_d3Sankey.sankeyJustify,center:_d3Sankey.sankeyCenter,left:_d3Sankey.sankeyLeft,right:_d3Sankey.sankeyRight};var DEFAULT_MARGINS={top:20,left:20,right:20,bottom:20};var Sankey=function(_Component){_inherits(Sankey,_Component);function Sankey(){_classCallCheck(this,Sankey);return _possibleConstructorReturn(this,(Sankey.__proto__||Object.getPrototypeOf(Sankey)).apply(this,arguments))}_createClass(Sankey,[{key:"render",value:function render(){var _props=this.props,align=_props.align,animation=_props.animation,children=_props.children,className=_props.className,hasVoronoi=_props.hasVoronoi,height=_props.height,hideLabels=_props.hideLabels,layout=_props.layout,links=_props.links,linkOpacity=_props.linkOpacity,margin=_props.margin,nodePadding=_props.nodePadding,nodes=_props.nodes,nodeWidth=_props.nodeWidth,onValueClick=_props.onValueClick,onValueMouseOver=_props.onValueMouseOver,onValueMouseOut=_props.onValueMouseOut,onLinkClick=_props.onLinkClick,onLinkMouseOver=_props.onLinkMouseOver,onLinkMouseOut=_props.onLinkMouseOut,style=_props.style,width=_props.width;var nodesCopy=[].concat(_toConsumableArray(new Array(nodes.length))).map(function(e,i){return _extends({},nodes[i])});var linksCopy=[].concat(_toConsumableArray(new Array(links.length))).map(function(e,i){return _extends({},links[i])});var _getInnerDimensions=(0,_chartUtils.getInnerDimensions)({margin:margin,height:height,width:width},DEFAULT_MARGINS),marginLeft=_getInnerDimensions.marginLeft,marginTop=_getInnerDimensions.marginTop,marginRight=_getInnerDimensions.marginRight,marginBottom=_getInnerDimensions.marginBottom;var sankeyInstance=(0,_d3Sankey.sankey)().extent([[marginLeft,marginTop],[width-marginRight,height-marginBottom-marginTop]]).nodeWidth(nodeWidth).nodePadding(nodePadding).nodes(nodesCopy).links(linksCopy).nodeAlign(ALIGNMENTS[align]).iterations(layout);sankeyInstance(nodesCopy);var nWidth=sankeyInstance.nodeWidth();var path=(0,_d3Sankey.sankeyLinkHorizontal)();return _react2.default.createElement(_xyPlot2.default,_extends({},this.props,{yType:"literal",className:"rv-sankey "+className}),linksCopy.map(function(link,i){return _react2.default.createElement(_sankeyLink2.default,{style:style.links,data:path(link),opacity:link.opacity||linkOpacity,color:link.color,onLinkClick:onLinkClick,onLinkMouseOver:onLinkMouseOver,onLinkMouseOut:onLinkMouseOut,strokeWidth:Math.max(link.width,1),node:link,nWidth:nWidth,key:"link-"+i})}),_react2.default.createElement(_verticalRectSeries2.default,{animation:animation,className:className+" rv-sankey__node",data:nodesCopy.map(function(node){return _extends({},node,{y:node.y1-marginTop,y0:node.y0-marginTop,x:node.x1,x0:node.x0,color:node.color||_theme.DISCRETE_COLOR_RANGE[0],sourceLinks:null,targetLinks:null})}),style:style.rects,onValueClick:onValueClick,onValueMouseOver:onValueMouseOver,onValueMouseOut:onValueMouseOut,colorType:"literal"}),!hideLabels&&_react2.default.createElement(_labelSeries2.default,{animation:animation,className:className,data:nodesCopy.map(function(node){return{x:node.x0+(node.x0<width/2?nWidth+10:-10),y:(node.y0+node.y1)/2-marginTop,label:node.name,style:_extends({dy:"-.5em"},style.labels)}})}),hasVoronoi&&_react2.default.createElement(_voronoi2.default,{className:"rv-sankey__voronoi",extent:[[-marginLeft,-marginTop],[width+marginRight,height+marginBottom]],nodes:nodesCopy,onClick:onValueClick,onHover:onValueMouseOver,onBlur:onValueMouseOut,x:function x(d){return d.x0+(d.x1-d.x0)/2},y:function y(d){return d.y0+(d.y1-d.y0)/2}}),children)}}]);return Sankey}(_react.Component);Sankey.defaultProps={align:"justify",className:"",hasVoronoi:false,hideLabels:false,layout:50,margin:DEFAULT_MARGINS,nodePadding:10,nodeWidth:10,onValueMouseOver:NOOP,onValueClick:NOOP,onValueMouseOut:NOOP,onLinkClick:NOOP,onLinkMouseOver:NOOP,onLinkMouseOut:NOOP,style:{links:{},rects:{},labels:{}}};Sankey.propTypes={align:_propTypes2.default.oneOf(["justify","left","right","center"]),className:_propTypes2.default.string,hasVoronoi:_propTypes2.default.bool,height:_propTypes2.default.number.isRequired,hideLabels:_propTypes2.default.bool,layout:_propTypes2.default.number,links:_propTypes2.default.arrayOf(_propTypes2.default.shape({source:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.object]).isRequired,target:_propTypes2.default.oneOfType([_propTypes2.default.number,_propTypes2.default.object]).isRequired})).isRequired,margin:_chartUtils.MarginPropType,nodePadding:_propTypes2.default.number,nodes:_propTypes2.default.arrayOf(_propTypes2.default.object).isRequired,nodeWidth:_propTypes2.default.number,onValueMouseOver:_propTypes2.default.func,onValueClick:_propTypes2.default.func,onValueMouseOut:_propTypes2.default.func,onLinkClick:_propTypes2.default.func,onLinkMouseOver:_propTypes2.default.func,onLinkMouseOut:_propTypes2.default.func,style:_propTypes2.default.shape({links:_propTypes2.default.object,rects:_propTypes2.default.object,labels:_propTypes2.default.object}),width:_propTypes2.default.number.isRequired};exports.default=Sankey},function(module,exports,__webpack_require__){0,factory=function(exports,d3Array,d3Collection,d3Shape){"use strict";function targetDepth(d){return d.target.depth}function left(node){return node.depth}function right(node,n){return n-1-node.height}function justify(node,n){return node.sourceLinks.length?node.depth:n-1}function center(node){return node.targetLinks.length?node.depth:node.sourceLinks.length?d3Array.min(node.sourceLinks,targetDepth)-1:0}function constant(x){return function(){return x}}function ascendingSourceBreadth(a,b){return ascendingBreadth(a.source,b.source)||a.index-b.index}function ascendingTargetBreadth(a,b){return ascendingBreadth(a.target,b.target)||a.index-b.index}function ascendingBreadth(a,b){return a.y0-b.y0}function value(d){return d.value}function nodeCenter(node){return(node.y0+node.y1)/2}function weightedSource(link){return nodeCenter(link.source)*link.value}function weightedTarget(link){return nodeCenter(link.target)*link.value}function defaultId(d){return d.index}function defaultNodes(graph){return graph.nodes}function defaultLinks(graph){return graph.links}function find(nodeById,id){var node=nodeById.get(id);if(!node)throw new Error("missing: "+id);return node}var sankey=function(){var x0=0,y0=0,x1=1,y1=1,dx=24,py=8,id=defaultId,align=justify,nodes=defaultNodes,links=defaultLinks,iterations=32;function sankey(){var graph={nodes:nodes.apply(null,arguments),links:links.apply(null,arguments)};computeNodeLinks(graph);computeNodeValues(graph);computeNodeDepths(graph);computeNodeBreadths(graph,iterations);computeLinkBreadths(graph);return graph}sankey.update=function(graph){computeLinkBreadths(graph);return graph};sankey.nodeId=function(_){return arguments.length?(id="function"===typeof _?_:constant(_),sankey):id};sankey.nodeAlign=function(_){return arguments.length?(align="function"===typeof _?_:constant(_),sankey):align};sankey.nodeWidth=function(_){return arguments.length?(dx=+_,sankey):dx};sankey.nodePadding=function(_){return arguments.length?(py=+_,sankey):py};sankey.nodes=function(_){return arguments.length?(nodes="function"===typeof _?_:constant(_),sankey):nodes};sankey.links=function(_){return arguments.length?(links="function"===typeof _?_:constant(_),sankey):links};sankey.size=function(_){return arguments.length?(x0=y0=0,x1=+_[0],y1=+_[1],sankey):[x1-x0,y1-y0]};sankey.extent=function(_){return arguments.length?(x0=+_[0][0],x1=+_[1][0],y0=+_[0][1],y1=+_[1][1],sankey):[[x0,y0],[x1,y1]]};sankey.iterations=function(_){return arguments.length?(iterations=+_,sankey):iterations};function computeNodeLinks(graph){graph.nodes.forEach(function(node,i){node.index=i;node.sourceLinks=[];node.targetLinks=[]});var nodeById=d3Collection.map(graph.nodes,id);graph.links.forEach(function(link,i){link.index=i;var source=link.source,target=link.target;"object"!==typeof source&&(source=link.source=find(nodeById,source));"object"!==typeof target&&(target=link.target=find(nodeById,target));source.sourceLinks.push(link);target.targetLinks.push(link)})}function computeNodeValues(graph){graph.nodes.forEach(function(node){node.value=Math.max(d3Array.sum(node.sourceLinks,value),d3Array.sum(node.targetLinks,value))})}function computeNodeDepths(graph){var nodes,next,x;for(nodes=graph.nodes,next=[],x=0;nodes.length;++x,nodes=next,next=[])nodes.forEach(function(node){node.depth=x;node.sourceLinks.forEach(function(link){next.indexOf(link.target)<0&&next.push(link.target)})});for(nodes=graph.nodes,next=[],x=0;nodes.length;++x,nodes=next,next=[])nodes.forEach(function(node){node.height=x;node.targetLinks.forEach(function(link){next.indexOf(link.source)<0&&next.push(link.source)})});var kx=(x1-x0-dx)/(x-1);graph.nodes.forEach(function(node){node.x1=(node.x0=x0+Math.max(0,Math.min(x-1,Math.floor(align.call(null,node,x))))*kx)+dx})}function computeNodeBreadths(graph){var columns=d3Collection.nest().key(function(d){return d.x0}).sortKeys(d3Array.ascending).entries(graph.nodes).map(function(d){return d.values});initializeNodeBreadth();resolveCollisions();for(var alpha=1,n=iterations;n>0;--n){relaxRightToLeft(alpha*=.99);resolveCollisions();relaxLeftToRight(alpha);resolveCollisions()}function initializeNodeBreadth(){var ky=d3Array.min(columns,function(nodes){return(y1-y0-(nodes.length-1)*py)/d3Array.sum(nodes,value)});columns.forEach(function(nodes){nodes.forEach(function(node,i){node.y1=(node.y0=i)+node.value*ky})});graph.links.forEach(function(link){link.width=link.value*ky})}function relaxLeftToRight(alpha){columns.forEach(function(nodes){nodes.forEach(function(node){if(node.targetLinks.length){var dy=(d3Array.sum(node.targetLinks,weightedSource)/d3Array.sum(node.targetLinks,value)-nodeCenter(node))*alpha;node.y0+=dy,node.y1+=dy}})})}function relaxRightToLeft(alpha){columns.slice().reverse().forEach(function(nodes){nodes.forEach(function(node){if(node.sourceLinks.length){var dy=(d3Array.sum(node.sourceLinks,weightedTarget)/d3Array.sum(node.sourceLinks,value)-nodeCenter(node))*alpha;node.y0+=dy,node.y1+=dy}})})}function resolveCollisions(){columns.forEach(function(nodes){var node,dy,i,y=y0,n=nodes.length;nodes.sort(ascendingBreadth);for(i=0;i<n;++i){node=nodes[i];dy=y-node.y0;dy>0&&(node.y0+=dy,node.y1+=dy);y=node.y1+py}dy=y-py-y1;if(dy>0){y=node.y0-=dy,node.y1-=dy;for(i=n-2;i>=0;--i){node=nodes[i];dy=node.y1+py-y;dy>0&&(node.y0-=dy,node.y1-=dy);y=node.y0}}})}}function computeLinkBreadths(graph){graph.nodes.forEach(function(node){node.sourceLinks.sort(ascendingTargetBreadth);node.targetLinks.sort(ascendingSourceBreadth)});graph.nodes.forEach(function(node){var y0=node.y0,y1=y0;node.sourceLinks.forEach(function(link){link.y0=y0+link.width/2,y0+=link.width});node.targetLinks.forEach(function(link){link.y1=y1+link.width/2,y1+=link.width})})}return sankey};function horizontalSource(d){return[d.source.x1,d.y0]}function horizontalTarget(d){return[d.target.x0,d.y1]}var sankeyLinkHorizontal=function(){return d3Shape.linkHorizontal().source(horizontalSource).target(horizontalTarget)};exports.sankey=sankey;exports.sankeyCenter=center;exports.sankeyLeft=left;exports.sankeyRight=right;exports.sankeyJustify=justify;exports.sankeyLinkHorizontal=sankeyLinkHorizontal;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports,__webpack_require__(194),__webpack_require__(441),__webpack_require__(246));var factory},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _theme=__webpack_require__(44);var _animation=__webpack_require__(33);var _animation2=_interopRequireDefault(_animation);var _seriesUtils=__webpack_require__(50);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var DEFAULT_LINK_COLOR=_theme.DISCRETE_COLOR_RANGE[1];var DEFAULT_LINK_OPACITY=.7;var SankeyLink=function(_PureComponent){_inherits(SankeyLink,_PureComponent);function SankeyLink(){_classCallCheck(this,SankeyLink);return _possibleConstructorReturn(this,(SankeyLink.__proto__||Object.getPrototypeOf(SankeyLink)).apply(this,arguments))}_createClass(SankeyLink,[{key:"render",value:function render(){var _props=this.props,animation=_props.animation,data=_props.data,node=_props.node,opacity=_props.opacity,color=_props.color,strokeWidth=_props.strokeWidth,style=_props.style,onLinkClick=_props.onLinkClick,onLinkMouseOver=_props.onLinkMouseOver,onLinkMouseOut=_props.onLinkMouseOut;if(animation)return _react2.default.createElement(_animation2.default,_extends({},this.props,{animatedProps:_seriesUtils.ANIMATED_SERIES_PROPS}),_react2.default.createElement(SankeyLink,_extends({},this.props,{animation:null})));return _react2.default.createElement("path",_extends({d:data},style,{className:"rv-sankey__link",opacity:Number.isFinite(opacity)?opacity:DEFAULT_LINK_OPACITY,stroke:color||DEFAULT_LINK_COLOR,onClick:function onClick(e){return onLinkClick(node,e)},onMouseOver:function onMouseOver(e){return onLinkMouseOver(node,e)},onMouseOut:function onMouseOut(e){return onLinkMouseOut(node,e)},strokeWidth:strokeWidth,fill:"none"}))}}]);return SankeyLink}(_react.PureComponent);SankeyLink.displayName="SankeyLink";SankeyLink.requiresSVG=true;exports.default=SankeyLink},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(15);var _propTypes2=_interopRequireDefault(_propTypes);var _d3Hierarchy=__webpack_require__(765);var _d3Scale=__webpack_require__(193);var _animation=__webpack_require__(33);var _labelSeries=__webpack_require__(165);var _labelSeries2=_interopRequireDefault(_labelSeries);var _arcSeries=__webpack_require__(454);var _arcSeries2=_interopRequireDefault(_arcSeries);var _xyPlot=__webpack_require__(133);var _xyPlot2=_interopRequireDefault(_xyPlot);var _seriesUtils=__webpack_require__(50);var _chartUtils=__webpack_require__(164);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var predefinedClassName="rv-sunburst";var LISTENERS_TO_OVERWRITE=["onValueMouseOver","onValueMouseOut","onValueClick","onValueRightClick","onSeriesMouseOver","onSeriesMouseOut","onSeriesClick","onSeriesRightClick"];function getNodesToRender(_ref){var data=_ref.data,height=_ref.height,hideRootNode=_ref.hideRootNode,width=_ref.width,getSize=_ref.getSize;var partitionFunction=(0,_d3Hierarchy.partition)();var structuredInput=(0,_d3Hierarchy.hierarchy)(data).sum(getSize);var radius=Math.min(width,height)/2-10;var x=(0,_d3Scale.scaleLinear)().range([0,2*Math.PI]);var y=(0,_d3Scale.scaleSqrt)().range([0,radius]);return partitionFunction(structuredInput).descendants().reduce(function(res,cell,index){if(hideRootNode&&0===index)return res;return res.concat([_extends({angle0:Math.max(0,Math.min(2*Math.PI,x(cell.x0))),angle:Math.max(0,Math.min(2*Math.PI,x(cell.x1))),radius0:Math.max(0,y(cell.y0)),radius:Math.max(0,y(cell.y1)),depth:cell.depth,parent:cell.parent},cell.data)])},[])}function buildLabels(mappedData,accessors){var getAngle=accessors.getAngle,getAngle0=accessors.getAngle0,getLabel=accessors.getLabel,getRadius0=accessors.getRadius0;return mappedData.filter(getLabel).map(function(row){var truedAngle=-1*getAngle(row)+Math.PI/2;var truedAngle0=-1*getAngle0(row)+Math.PI/2;var angle=(truedAngle0+truedAngle)/2;var rotateLabels=!row.dontRotateLabel;var rotAngle=-angle/(2*Math.PI)*360;return _extends({},row,{children:null,angle:null,radius:null,x:getRadius0(row)*Math.cos(angle),y:getRadius0(row)*Math.sin(angle),style:_extends({textAnchor:rotAngle>90?"end":"start"},row.labelStyle),rotation:rotateLabels?rotAngle>90?rotAngle+180:90===rotAngle?90:rotAngle:null})})}var NOOP=function NOOP(){};var Sunburst=function(_React$Component){_inherits(Sunburst,_React$Component);function Sunburst(){_classCallCheck(this,Sunburst);return _possibleConstructorReturn(this,(Sunburst.__proto__||Object.getPrototypeOf(Sunburst)).apply(this,arguments))}_createClass(Sunburst,[{key:"render",value:function render(){var _this2=this;var _props=this.props,getAngle=_props.getAngle,getAngle0=_props.getAngle0,animation=_props.animation,className=_props.className,children=_props.children,data=_props.data,height=_props.height,hideRootNode=_props.hideRootNode,getLabel=_props.getLabel,width=_props.width,getSize=_props.getSize,colorType=_props.colorType;var mappedData=getNodesToRender({data:data,height:height,hideRootNode:hideRootNode,width:width,getSize:getSize});var radialDomain=(0,_seriesUtils.getRadialDomain)(mappedData);var margin=(0,_chartUtils.getRadialLayoutMargin)(width,height,radialDomain);var labelData=buildLabels(mappedData,{getAngle:getAngle,getAngle0:getAngle0,getLabel:getLabel,getRadius0:function getRadius0(d){return d.radius0}});var hofBuilder=function hofBuilder(f){return function(e,i){return f?f(mappedData[e.index],i):NOOP}};return _react2.default.createElement(_xyPlot2.default,{height:height,hasTreeStructure:true,width:width,className:predefinedClassName+" "+className,margin:margin,xDomain:[-radialDomain,radialDomain],yDomain:[-radialDomain,radialDomain]},_react2.default.createElement(_arcSeries2.default,_extends({colorType:colorType},this.props,{animation:animation,radiusDomain:[0,radialDomain],data:animation?mappedData.map(function(row,index){return _extends({},row,{parent:null,children:null,index:index})}):mappedData,_data:animation?mappedData:null,arcClassName:predefinedClassName+"__series--radial__arc"},LISTENERS_TO_OVERWRITE.reduce(function(acc,propName){var prop=_this2.props[propName];acc[propName]=animation?hofBuilder(prop):prop;return acc},{}))),labelData.length>0&&_react2.default.createElement(_labelSeries2.default,{data:labelData,getLabel:getLabel}),children)}}]);return Sunburst}(_react2.default.Component);Sunburst.displayName="Sunburst";Sunburst.propTypes={animation:_animation.AnimationPropType,getAngle:_propTypes2.default.func,getAngle0:_propTypes2.default.func,className:_propTypes2.default.string,colorType:_propTypes2.default.string,data:_propTypes2.default.object.isRequired,height:_propTypes2.default.number.isRequired,hideRootNode:_propTypes2.default.bool,getLabel:_propTypes2.default.func,onValueClick:_propTypes2.default.func,onValueMouseOver:_propTypes2.default.func,onValueMouseOut:_propTypes2.default.func,getSize:_propTypes2.default.func,width:_propTypes2.default.number.isRequired};Sunburst.defaultProps={getAngle:function getAngle(d){return d.angle},getAngle0:function getAngle0(d){return d.angle0},className:"",colorType:"literal",getColor:function getColor(d){return d.color},hideRootNode:false,getLabel:function getLabel(d){return d.label},getSize:function getSize(d){return d.size}};exports.default=Sunburst},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.makeFlexible=makeFlexible;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(9);__webpack_require__(2);var _react=_interopRequireWildcard(__webpack_require__(0));var _resizeObserverPolyfill=_interopRequireDefault(__webpack_require__(766));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function makeFlexible(WrappedComponent){return function(_PureComponent){_inherits(FlexibleEuiSeriesChart,_PureComponent);function FlexibleEuiSeriesChart(props){var _this;_classCallCheck(this,FlexibleEuiSeriesChart);_this=_possibleConstructorReturn(this,_getPrototypeOf(FlexibleEuiSeriesChart).call(this,props));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"onResize",function(entries){entries.forEach(function(entry){var _entry$contentRect=entry.contentRect,width=_entry$contentRect.width,height=_entry$contentRect.height;var notifyWidth=_this.state.width!==width;var notifyHeight=_this.state.height!==height;(notifyWidth||notifyHeight)&&_this.setState({width:width,height:height})})});_this.state={height:0,width:0};_this.containerRef=_react.default.createRef();_this.ro=new _resizeObserverPolyfill.default(_this.onResize);return _this}_createClass(FlexibleEuiSeriesChart,[{key:"componentDidMount",value:function componentDidMount(){this.ro.observe(this.containerRef.current)}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.ro.unobserve(this.containerRef.current)}},{key:"render",value:function render(){return _react.default.createElement("div",{ref:this.containerRef,style:{width:"100%",height:"100%"}},_react.default.createElement(WrappedComponent,_extends({},this.state,this.props)))}}]);return FlexibleEuiSeriesChart}(_react.PureComponent)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSelectionBrush=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactVis=__webpack_require__(49);var _chart_utils=__webpack_require__(97);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var HORIZONTAL=_chart_utils.ORIENTATION.HORIZONTAL,VERTICAL=_chart_utils.ORIENTATION.VERTICAL,BOTH=_chart_utils.ORIENTATION.BOTH;var DEFAULT_AREAS={areaSize:0,drawArea:{x0:0,x1:0,y0:0,y1:0},rectArea:{x:0,y:0,width:0,height:0}};var EuiSelectionBrush=function(_AbstractSeries){_inherits(EuiSelectionBrush,_AbstractSeries);function EuiSelectionBrush(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiSelectionBrush);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiSelectionBrush)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"state",_objectSpread({drawing:false},DEFAULT_AREAS));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_startDrawing",function(e){var onBrushStart=_this.props.onBrushStart;var _e$nativeEvent=e.nativeEvent,offsetX=_e$nativeEvent.offsetX,offsetY=_e$nativeEvent.offsetY;var drawAndRectAreas=_this._getDrawArea(offsetX,offsetY,true);_this.setState(function(){return _objectSpread({drawing:true},drawAndRectAreas)});onBrushStart&&onBrushStart(drawAndRectAreas)});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_brushing",function(e){var onBrushing=_this.props.onBrushing;var drawing=_this.state.drawing;var _e$nativeEvent2=e.nativeEvent,offsetX=_e$nativeEvent2.offsetX,offsetY=_e$nativeEvent2.offsetY;if(drawing){var drawAndRectAreas=_this._getDrawArea(offsetX,offsetY);_this.setState(function(){return _objectSpread({},drawAndRectAreas)});onBrushing&&onBrushing(drawAndRectAreas)}else _this.setState(function(){return _objectSpread({drawing:false},DEFAULT_AREAS)})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_stopDrawing",function(){var drawing=_this.state.drawing;if(!drawing)return;_this.setState(function(){return _objectSpread({drawing:false},DEFAULT_AREAS)});var areaSize=_this.state.areaSize;if(areaSize<25)return;var drawArea=_this.state.drawArea;var x0=drawArea.x0,y0=drawArea.y0,x1=drawArea.x1,y1=drawArea.y1;var _this$props=_this.props,xType=_this$props.xType,yType=_this$props.yType,onBrushEnd=_this$props.onBrushEnd;var xScale=_reactVis.ScaleUtils.getAttributeScale(_this.props,"x");var yScale=_reactVis.ScaleUtils.getAttributeScale(_this.props,"y");var xValues=_this._getScaledValue(xScale,xType,x0,x1);var yValues=_this._getScaledValue(yScale,yType,y0,y1);var domainArea={startX:xValues[0],endX:xValues[1],startY:yValues[1],endY:yValues[0]};onBrushEnd&&onBrushEnd({domainArea:domainArea,drawArea:drawArea})});return _this}_createClass(EuiSelectionBrush,[{key:"onParentMouseDown",value:function onParentMouseDown(e){this._startDrawing(e)}},{key:"onParentMouseMove",value:function onParentMouseMove(e){this._brushing(e)}},{key:"onParentMouseUp",value:function onParentMouseUp(){this._stopDrawing()}},{key:"onParentMouseLeave",value:function onParentMouseLeave(){this._stopDrawing()}},{key:"_getDrawArea",value:function _getDrawArea(offsetX,offsetY,isStartingPoint){var _this$props2=this.props,orientation=_this$props2.orientation,marginTop=_this$props2.marginTop,marginLeft=_this$props2.marginLeft,innerHeight=_this$props2.innerHeight,innerWidth=_this$props2.innerWidth;var yLocation=offsetY-marginTop;var xLocation=offsetX-marginLeft;var x0;var y0;if(isStartingPoint){x0=orientation===VERTICAL?0:xLocation;y0=orientation===HORIZONTAL?0:yLocation}else{x0=this.state.drawArea.x0;y0=this.state.drawArea.y0}var x1=orientation===VERTICAL?innerWidth:xLocation;var y1=orientation===HORIZONTAL?innerHeight:yLocation;var areaSize=Math.abs(x0-x1)*Math.abs(y0-y1);return{areaSize:areaSize,drawArea:{x0:x0,x1:x1,y0:y0,y1:y1},rectArea:{x:x0<x1?x0:x1,y:y0<y1?y0:y1,width:x0<x1?x1-x0:x0-x1,height:y0<y1?y1-y0:y0-y1}}}},{key:"_getScaledValue",value:function _getScaledValue(scale,scaleType,value0,value1){switch(scaleType){case _chart_utils.SCALE.ORDINAL:return[0,0];default:return[scale.invert(value0<value1?value0:value1),scale.invert(value0<value1?value1:value0)]}}},{key:"render",value:function render(){var _this$props3=this.props,marginLeft=_this$props3.marginLeft,marginTop=_this$props3.marginTop,color=_this$props3.color,opacity=_this$props3.opacity;var _this$state$rectArea=this.state.rectArea,x=_this$state$rectArea.x,y=_this$state$rectArea.y,width=_this$state$rectArea.width,height=_this$state$rectArea.height;return _react.default.createElement("g",{transform:"translate(".concat(marginLeft,", ").concat(marginTop,")"),style:{pointerEvents:"none"}},_react.default.createElement("rect",{opacity:opacity,fill:color,x:x,y:y,width:width,height:height}))}}]);return EuiSelectionBrush}(_reactVis.AbstractSeries);exports.EuiSelectionBrush=EuiSelectionBrush;EuiSelectionBrush.displayName="EuiSelectionBrush";EuiSelectionBrush.propTypes={orientation:_propTypes.default.oneOf([HORIZONTAL,VERTICAL,BOTH]),onBrushStart:_propTypes.default.func,onBrushing:_propTypes.default.func,onBrushEnd:_propTypes.default.func.isRequired,color:_propTypes.default.string,opacity:_propTypes.default.number};EuiSelectionBrush.defaultProps={orientation:HORIZONTAL,color:"black",opacity:.2};EuiSelectionBrush.__docgenInfo={description:"",methods:[{name:"onParentMouseDown",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null},{name:"onParentMouseMove",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null},{name:"onParentMouseUp",docblock:null,modifiers:[],params:[],returns:null},{name:"onParentMouseLeave",docblock:null,modifiers:[],params:[],returns:null},{name:"_getDrawArea",docblock:null,modifiers:[],params:[{name:"offsetX",type:null},{name:"offsetY",type:null},{name:"isStartingPoint",type:null}],returns:null},{name:"_getScaledValue",docblock:null,modifiers:[],params:[{name:"scale",type:null},{name:"scaleType",type:null},{name:"value0",type:null},{name:"value1",type:null}],returns:null},{name:"_startDrawing",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null},{name:"_brushing",docblock:null,modifiers:[],params:[{name:"e",type:null}],returns:null},{name:"_stopDrawing",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiSelectionBrush",props:{orientation:{defaultValue:{value:"ORIENTATION.HORIZONTAL",computed:true},type:{name:"enum",value:[{value:"ORIENTATION.HORIZONTAL",computed:true},{value:"ORIENTATION.VERTICAL",computed:true},{value:"ORIENTATION.BOTH",computed:true}]},required:false,description:"Specify the brush orientation"},color:{defaultValue:{value:"'black'",computed:false},type:{name:"string"},required:false,description:"The color of the brush rectangle"},opacity:{defaultValue:{value:"0.2",computed:false},type:{name:"number"},required:false,description:"The opacity of the brush rectangle"},onBrushStart:{type:{name:"func"},required:false,description:"Callback on brush start event."},onBrushing:{type:{name:"func"},required:false,description:"Callback on every mouse move event."},onBrushEnd:{type:{name:"func"},required:true,description:"Callback on brush end event."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiLineAnnotation=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(9);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactVis=__webpack_require__(49);var _chart_utils=__webpack_require__(97);var _axis_utils=__webpack_require__(319);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var _EuiSeriesChartUtils$=_chart_utils.EuiSeriesChartUtils.ORIENTATION,HORIZONTAL=_EuiSeriesChartUtils$.HORIZONTAL,VERTICAL=_EuiSeriesChartUtils$.VERTICAL;var _EuiSeriesChartAxisUt=_axis_utils.EuiSeriesChartAxisUtils.TITLE_POSITION,START=_EuiSeriesChartAxisUt.START,MIDDLE=_EuiSeriesChartAxisUt.MIDDLE,END=_EuiSeriesChartAxisUt.END;var EuiLineAnnotation=function(_AbstractSeries){_inherits(EuiLineAnnotation,_AbstractSeries);function EuiLineAnnotation(){_classCallCheck(this,EuiLineAnnotation);return _possibleConstructorReturn(this,_getPrototypeOf(EuiLineAnnotation).apply(this,arguments))}_createClass(EuiLineAnnotation,[{key:"_getAttributeFunctor",value:function _getAttributeFunctor(attr){return _reactVis.ScaleUtils.getAttributeFunctor(this.props,attr)}},{key:"_getAttributeValue",value:function _getAttributeValue(attr){return _reactVis.ScaleUtils.getAttributeValue(this.props,attr)}},{key:"_getTextXY",value:function _getTextXY(textPosition,min,max){switch(textPosition){case END:return min;case START:return max;case MIDDLE:return Math.abs((max-min)/2)}}},{key:"render",value:function render(){var _this=this;var _this$props=this.props,data=_this$props.data,orientation=_this$props.orientation,textPosition=_this$props.textPosition,innerHeight=_this$props.innerHeight,innerWidth=_this$props.innerWidth,marginLeft=_this$props.marginLeft,marginTop=_this$props.marginTop;var axis=orientation===HORIZONTAL?"y":"x";var scale=this._getAttributeFunctor(axis);return _react.default.createElement("g",{className:"euiLineAnnotations",transform:"translate(".concat(marginLeft,",").concat(marginTop,")")},_react.default.createElement("g",{className:"euiLineAnnotations__linesGroup"},data.map(function(d,i){var value=d.value;var position=scale(_defineProperty({},axis,value));return _react.default.createElement("line",{key:"annotation-".concat(i),className:"euiLineAnnotations__line",x1:orientation===VERTICAL?position:0,y1:orientation===VERTICAL?0:position,x2:orientation===VERTICAL?position:innerWidth,y2:orientation===VERTICAL?innerHeight:position})})),_react.default.createElement("g",{className:"euiLineAnnotations__textGroup"},data.filter(function(d){return d.text}).map(function(d,i){var value=d.value;var x=0;var y=0;var rotation=0;if(orientation===VERTICAL){x=scale(_defineProperty({},axis,value));y=_this._getTextXY(textPosition,0,innerHeight);rotation="-90"}else{x=_this._getTextXY(textPosition,innerWidth,0);y=scale(_defineProperty({},axis,value))}return _react.default.createElement("text",{key:"annotation-".concat(i),className:"euiLineAnnotations__text",x:0,y:0,textAnchor:textPosition,transform:"translate(".concat(x,",").concat(y,") rotate(").concat(rotation,")")},d.text)})))}}]);return EuiLineAnnotation}(_reactVis.AbstractSeries);exports.EuiLineAnnotation=EuiLineAnnotation;EuiLineAnnotation.displayName="EuiLineAnnotation";EuiLineAnnotation.propTypes={data:_propTypes.default.arrayOf(_propTypes.default.shape({value:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number]),text:_propTypes.default.string})).isRequired,orientation:_propTypes.default.oneOf([HORIZONTAL,VERTICAL]),textPosition:_propTypes.default.oneOf([START,MIDDLE,END])};EuiLineAnnotation.defaultProps={orientation:VERTICAL,textPosition:START};EuiLineAnnotation.__docgenInfo={description:"Draw simple line annotation into the chart. Currently it's a work in progress\nbut will be extented to add text and tooltips if required.\nThe basic usage is for displaying the current time marker.",methods:[{name:"_getAttributeFunctor",docblock:"Get attribute functor.\n@param {string} attr Attribute name\n@returns {*} Functor.\n@protected",modifiers:[],params:[{name:"attr",description:"Attribute name",type:{name:"string"},optional:false}],returns:{description:"Functor.",type:{name:"mixed"}},description:"Get attribute functor."},{name:"_getAttributeValue",docblock:"Get the attribute value if it is available.\n@param {string} attr Attribute name.\n@returns {*} Attribute value if available, fallback value or undefined\notherwise.\n@protected",modifiers:[],params:[{name:"attr",description:"Attribute name.",type:{name:"string"},optional:false}],returns:{description:"Attribute value if available, fallback value or undefined\notherwise.",type:{name:"mixed"}},description:"Get the attribute value if it is available."},{name:"_getTextXY",docblock:null,modifiers:[],params:[{name:"textPosition",type:null},{name:"min",type:null},{name:"max",type:null}],returns:null}],displayName:"EuiLineAnnotation",props:{orientation:{defaultValue:{value:"EuiSeriesChartUtils.ORIENTATION.VERTICAL",computed:true},type:{name:"enum",value:[{value:"EuiSeriesChartUtils.ORIENTATION.HORIZONTAL",computed:true},{value:"EuiSeriesChartUtils.ORIENTATION.VERTICAL",computed:true}]},required:false,description:"The orientation of the annotation."},textPosition:{defaultValue:{value:"EuiSeriesChartAxisUtils.TITLE_POSITION.START",computed:true},type:{name:"enum",value:[{value:"EuiSeriesChartAxisUtils.TITLE_POSITION.START",computed:true},{value:"EuiSeriesChartAxisUtils.TITLE_POSITION.MIDDLE",computed:true},{value:"EuiSeriesChartAxisUtils.TITLE_POSITION.END",computed:true}]},required:false,description:""},data:{type:{name:"arrayOf",value:{name:"shape",value:{value:{name:"union",value:[{name:"string"},{name:"number"}],required:false},text:{name:"string",required:false}}}},required:true,description:"An annotation data Array<{value: string|number, text: string}>"}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiLineSeries",{enumerable:true,get:function get(){return _line_series.EuiLineSeries}});Object.defineProperty(exports,"EuiAreaSeries",{enumerable:true,get:function get(){return _area_series.EuiAreaSeries}});Object.defineProperty(exports,"EuiBarSeries",{enumerable:true,get:function get(){return _bar_series.EuiBarSeries}});Object.defineProperty(exports,"EuiHistogramSeries",{enumerable:true,get:function get(){return _histogram_series.EuiHistogramSeries}});Object.defineProperty(exports,"EuiVerticalBarSeries",{enumerable:true,get:function get(){return _vertical_bar_series.EuiVerticalBarSeries}});Object.defineProperty(exports,"EuiHorizontalBarSeries",{enumerable:true,get:function get(){return _horizontal_bar_series.EuiHorizontalBarSeries}});Object.defineProperty(exports,"EuiVerticalRectSeries",{enumerable:true,get:function get(){return _vertical_rect_series.EuiVerticalRectSeries}});Object.defineProperty(exports,"EuiHorizontalRectSeries",{enumerable:true,get:function get(){return _horizontal_rect_series.EuiHorizontalRectSeries}});var _line_series=__webpack_require__(1913);var _area_series=__webpack_require__(1914);var _bar_series=__webpack_require__(1915);var _histogram_series=__webpack_require__(1916);var _vertical_bar_series=__webpack_require__(1917);var _horizontal_bar_series=__webpack_require__(1918);var _vertical_rect_series=__webpack_require__(1919);var _horizontal_rect_series=__webpack_require__(1920)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiLineSeries=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(4);__webpack_require__(9);__webpack_require__(2);__webpack_require__(3);__webpack_require__(439);__webpack_require__(19);var _react=_interopRequireWildcard(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactVis=__webpack_require__(49);var _chart_utils=__webpack_require__(97);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}var EuiLineSeries=function(_AbstractSeries){_inherits(EuiLineSeries,_AbstractSeries);function EuiLineSeries(){_classCallCheck(this,EuiLineSeries);return _possibleConstructorReturn(this,_getPrototypeOf(EuiLineSeries).apply(this,arguments))}_createClass(EuiLineSeries,[{key:"render",value:function render(){var _this$props=this.props,data=_this$props.data,name=_this$props.name,curve=_this$props.curve,onSeriesClick=_this$props.onSeriesClick,onValueClick=_this$props.onValueClick,showLineMarks=_this$props.showLineMarks,lineSize=_this$props.lineSize,lineMarkColor=_this$props.lineMarkColor,lineMarkSize=_this$props.lineMarkSize,color=_this$props.color,borderOpacity=_this$props.borderOpacity,rest=_objectWithoutProperties(_this$props,["data","name","curve","onSeriesClick","onValueClick","showLineMarks","lineSize","lineMarkColor","lineMarkSize","color","borderOpacity"]);return _react.default.createElement(_react.Fragment,null,_react.default.createElement(_reactVis.LineSeries,_extends({},rest,{key:"".concat(name,"-border"),curve:curve,data:data,onSeriesClick:onSeriesClick,style:{pointerEvents:"visiblestroke",strokeWidth:lineSize+2,opacity:borderOpacity},_colorValue:"white"})),_react.default.createElement(_reactVis.LineSeries,_extends({},rest,{key:name,curve:curve,data:data,opacity:1,style:{pointerEvents:"visiblestroke",strokeWidth:lineSize},color:color})),showLineMarks&&_react.default.createElement(_reactVis.MarkSeries,_extends({},rest,{key:"".concat(name,"-mark"),data:data,color:color||lineMarkColor,size:lineMarkSize,stroke:"white",opacity:1,onValueClick:onValueClick,strokeWidth:2})))}}]);return EuiLineSeries}(_reactVis.AbstractSeries);exports.EuiLineSeries=EuiLineSeries;EuiLineSeries.displayName="EuiLineSeries";EuiLineSeries.propTypes={name:_propTypes.default.string.isRequired,data:_propTypes.default.arrayOf(_propTypes.default.shape({x:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number]),y:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number])})).isRequired,color:_propTypes.default.string,curve:_propTypes.default.oneOf(Object.values(_chart_utils.CURVE)),showLineMarks:_propTypes.default.bool,lineSize:_propTypes.default.number,lineMarkColor:_propTypes.default.string,lineMarkSize:_propTypes.default.number,onSeriesClick:_propTypes.default.func,onValueClick:_propTypes.default.func,borderOpacity:_propTypes.default.number};EuiLineSeries.defaultProps={curve:_chart_utils.CURVE.LINEAR,showLineMarks:false,lineSize:1,lineMarkSize:0,borderOpacity:1};EuiLineSeries.__docgenInfo={description:"",methods:[],displayName:"EuiLineSeries",props:{curve:{defaultValue:{value:"CURVE.LINEAR",computed:true},type:{name:"enum",computed:true,value:"Object.values(CURVE)"},required:false,description:""},showLineMarks:{defaultValue:{value:"false",computed:false},type:{name:"bool"},required:false,description:""},lineSize:{defaultValue:{value:"1",computed:false},type:{name:"number"},required:false,description:""},lineMarkSize:{defaultValue:{value:"0",computed:false},type:{name:"number"},required:false,description:""},borderOpacity:{defaultValue:{value:"1",computed:false},type:{name:"number"},required:false,description:""},name:{type:{name:"string"},required:true,description:"The name used to define the data in tooltips and legends"},data:{type:{name:"arrayOf",value:{name:"shape",value:{x:{name:"union",value:[{name:"string"},{name:"number"}],required:false},y:{name:"union",value:[{name:"string"},{name:"number"}],required:false}}}},required:true,description:"Array<{x: string|number, y: string|number}>"},color:{type:{name:"string"},required:false,description:"See eui_palettes.js or colorPalette service for recommended colors"},lineMarkColor:{type:{name:"string"},required:false,description:""},onSeriesClick:{type:{name:"func"},required:false,description:""},onValueClick:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiAreaSeries=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(4);__webpack_require__(9);__webpack_require__(2);__webpack_require__(3);__webpack_require__(439);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactVis=__webpack_require__(49);var _chart_utils=__webpack_require__(97);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiAreaSeries=function(_AbstractSeries){_inherits(EuiAreaSeries,_AbstractSeries);function EuiAreaSeries(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiAreaSeries);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiAreaSeries)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"state",{isMouseOverSeries:false});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_onSeriesMouseOver",function(){_this.setState(function(){return{isMouseOverSeries:true}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_onSeriesMouseOut",function(){_this.setState(function(){return{isMouseOverSeries:false}})});return _this}_createClass(EuiAreaSeries,[{key:"render",value:function render(){var isMouseOverSeries=this.state.isMouseOverSeries;var _this$props=this.props,name=_this$props.name,data=_this$props.data,curve=_this$props.curve,color=_this$props.color,lineSize=_this$props.lineSize,onSeriesClick=_this$props.onSeriesClick,fillOpacity=_this$props.fillOpacity,rest=_objectWithoutProperties(_this$props,["name","data","curve","color","lineSize","onSeriesClick","fillOpacity"]);return _react.default.createElement(_react.default.Fragment,null,_react.default.createElement(_reactVis.LineSeries,_extends({},rest,{key:"".concat(name,"-line"),curve:curve,data:data,opacity:1,onSeriesClick:onSeriesClick,color:color,style:{pointerEvents:"visiblestroke",strokeWidth:lineSize}})),_react.default.createElement(_reactVis.AreaSeries,_extends({key:"".concat(name,"-area"),className:"euiAreaSeries",curve:curve,color:color,data:data,onSeriesClick:onSeriesClick,onSeriesMouseOver:this._onSeriesMouseOver,onSeriesMouseOut:this._onSeriesMouseOut,style:{cursor:isMouseOverSeries&&onSeriesClick?"pointer":"default",opacity:fillOpacity}},rest)))}}]);return EuiAreaSeries}(_reactVis.AbstractSeries);exports.EuiAreaSeries=EuiAreaSeries;EuiAreaSeries.displayName="EuiAreaSeries";EuiAreaSeries.propTypes={name:_propTypes.default.string.isRequired,data:_propTypes.default.arrayOf(_propTypes.default.shape({x:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number]),y:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number])})).isRequired,color:_propTypes.default.string,curve:_propTypes.default.oneOf(Object.values(_chart_utils.CURVE)),onSeriesClick:_propTypes.default.func,lineSize:_propTypes.default.number,fillOpacity:_propTypes.default.number};EuiAreaSeries.defaultProps={curve:_chart_utils.CURVE.LINEAR,lineSize:1,fillOpacity:1};EuiAreaSeries.__docgenInfo={description:"",methods:[{name:"_onSeriesMouseOver",docblock:null,modifiers:[],params:[],returns:null},{name:"_onSeriesMouseOut",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiAreaSeries",props:{curve:{defaultValue:{value:"CURVE.LINEAR",computed:true},type:{name:"enum",computed:true,value:"Object.values(CURVE)"},required:false,description:""},lineSize:{defaultValue:{value:"1",computed:false},type:{name:"number"},required:false,description:""},fillOpacity:{defaultValue:{value:"1",computed:false},type:{name:"number"},required:false,description:""},name:{type:{name:"string"},required:true,description:"The name used to define the data in tooltips and legends"},data:{type:{name:"arrayOf",value:{name:"shape",value:{x:{name:"union",value:[{name:"string"},{name:"number"}],required:false},y:{name:"union",value:[{name:"string"},{name:"number"}],required:false}}}},required:true,description:"Array<{x: string|number, y: string|number}>"},color:{type:{name:"string"},required:false,description:"See eui_palettes.js or colorPalette service for recommended colors"},onSeriesClick:{type:{name:"func"},required:false,description:""}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiBarSeries=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactVis=__webpack_require__(49);var _chart_utils=__webpack_require__(97);var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiBarSeries=function(_AbstractSeries){_inherits(EuiBarSeries,_AbstractSeries);function EuiBarSeries(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiBarSeries);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiBarSeries)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"state",{isMouseOverValue:false});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_onValueMouseOver",function(){_this.setState(function(){return{isMouseOverValue:true}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_onValueMouseOut",function(){_this.setState(function(){return{isMouseOverValue:false}})});return _this}_createClass(EuiBarSeries,[{key:"render",value:function render(){var _this$props=this.props,_orientation=_this$props._orientation,name=_this$props.name,data=_this$props.data,color=_this$props.color,onValueClick=_this$props.onValueClick,rest=_objectWithoutProperties(_this$props,["_orientation","name","data","color","onValueClick"]);var isMouseOverValue=this.state.isMouseOverValue;var isHighDataVolume=data.length>80;var classes=(0,_classnames.default)("euiBarSeries",isHighDataVolume&&"euiBarSeries--highDataVolume",isMouseOverValue&&onValueClick&&"euiBarSeries--hoverEnabled");var BarSeriesComponent=_orientation===_chart_utils.ORIENTATION.HORIZONTAL?_reactVis.HorizontalBarSeries:_reactVis.VerticalBarSeries;return _react.default.createElement(BarSeriesComponent,_extends({name:name,className:classes,onValueClick:onValueClick,onValueMouseOver:this._onValueMouseOver,onValueMouseOut:this._onValueMouseOut,color:color,data:data},rest))}}],[{key:"getParentConfig",value:function getParentConfig(attr,props){var _orientation=props._orientation;return _orientation===_chart_utils.ORIENTATION.HORIZONTAL?_reactVis.HorizontalBarSeries.getParentConfig(attr):_reactVis.VerticalBarSeries.getParentConfig(attr)}}]);return EuiBarSeries}(_reactVis.AbstractSeries);exports.EuiBarSeries=EuiBarSeries;EuiBarSeries.displayName="EuiBarSeries";EuiBarSeries.propTypes={name:_propTypes.default.string.isRequired,data:_propTypes.default.arrayOf(_propTypes.default.shape({x:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number]),y:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number])})).isRequired,color:_propTypes.default.string,onValueClick:_propTypes.default.func};EuiBarSeries.defaultProps={};EuiBarSeries.__docgenInfo={description:"",methods:[{name:"getParentConfig",docblock:null,modifiers:["static"],params:[{name:"attr",type:null},{name:"props",type:null}],returns:null},{name:"_onValueMouseOver",docblock:null,modifiers:[],params:[],returns:null},{name:"_onValueMouseOut",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiBarSeries",props:{name:{type:{name:"string"},required:true,description:"The name used to define the data in tooltips and legends"},data:{type:{name:"arrayOf",value:{name:"shape",value:{x:{name:"union",value:[{name:"string"},{name:"number"}],required:false},y:{name:"union",value:[{name:"string"},{name:"number"}],required:false}}}},required:true,description:"Array<{x: string|number, y: string|number}> depending on XYChart xType scale and yType scale"},color:{type:{name:"string"},required:false,description:"See eui_palettes.js or colorPalette service for recommended colors"},onValueClick:{type:{name:"func"},required:false,description:"Callback when clicking on a bar. Returns { x, y } object."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHistogramSeries=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactVis=__webpack_require__(49);var _chart_utils=__webpack_require__(97);var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiHistogramSeries=function(_AbstractSeries){_inherits(EuiHistogramSeries,_AbstractSeries);function EuiHistogramSeries(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiHistogramSeries);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiHistogramSeries)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"state",{isMouseOverValue:false});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_onValueMouseOver",function(){_this.setState(function(){return{isMouseOverValue:true}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_onValueMouseOut",function(){_this.setState(function(){return{isMouseOverValue:false}})});return _this}_createClass(EuiHistogramSeries,[{key:"render",value:function render(){var _this$props=this.props,_orientation=_this$props._orientation,name=_this$props.name,data=_this$props.data,color=_this$props.color,onValueClick=_this$props.onValueClick,rest=_objectWithoutProperties(_this$props,["_orientation","name","data","color","onValueClick"]);var isMouseOverValue=this.state.isMouseOverValue;var isHighDataVolume=data.length>80;var classes=(0,_classnames.default)("euiHistogramSeries",isHighDataVolume&&"euiHistogramSeries--highDataVolume",isMouseOverValue&&onValueClick&&"euiHistogramSeries--hoverEnabled");var HistogramSeriesComponent=_orientation===_chart_utils.ORIENTATION.HORIZONTAL?_reactVis.HorizontalRectSeries:_reactVis.VerticalRectSeries;return _react.default.createElement(HistogramSeriesComponent,_extends({name:name,className:classes,onValueClick:onValueClick,onValueMouseOver:this._onValueMouseOver,onValueMouseOut:this._onValueMouseOut,color:color,data:data},rest))}}],[{key:"getParentConfig",value:function getParentConfig(attr,props){var _orientation=props._orientation;return _orientation===_chart_utils.ORIENTATION.HORIZONTAL?_reactVis.HorizontalRectSeries.getParentConfig(attr):_reactVis.VerticalRectSeries.getParentConfig(attr)}}]);return EuiHistogramSeries}(_reactVis.AbstractSeries);exports.EuiHistogramSeries=EuiHistogramSeries;EuiHistogramSeries.displayName="EuiHistogramSeries";EuiHistogramSeries.propTypes={name:_propTypes.default.string.isRequired,data:_propTypes.default.arrayOf(_propTypes.default.shape({x:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number]),y:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number])})).isRequired,color:_propTypes.default.string,onValueClick:_propTypes.default.func};EuiHistogramSeries.defaultProps={};EuiHistogramSeries.__docgenInfo={description:"",methods:[{name:"getParentConfig",docblock:null,modifiers:["static"],params:[{name:"attr",type:null},{name:"props",type:null}],returns:null},{name:"_onValueMouseOver",docblock:null,modifiers:[],params:[],returns:null},{name:"_onValueMouseOut",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiHistogramSeries",props:{name:{type:{name:"string"},required:true,description:"The name used to define the data in tooltips and legends"},data:{type:{name:"arrayOf",value:{name:"shape",value:{x:{name:"union",value:[{name:"string"},{name:"number"}],required:false},y:{name:"union",value:[{name:"string"},{name:"number"}],required:false}}}},required:true,description:"Array<{x: number, y: string|number}>"},color:{type:{name:"string"},required:false,description:"See eui_palettes.js or colorPalette service for recommended colors"},onValueClick:{type:{name:"func"},required:false,description:"Callback when clicking on a bar. Returns { x, y } object."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiVerticalBarSeries=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactVis=__webpack_require__(49);var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiVerticalBarSeries=function(_VerticalBarSeries){_inherits(EuiVerticalBarSeries,_VerticalBarSeries);function EuiVerticalBarSeries(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiVerticalBarSeries);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiVerticalBarSeries)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"state",{isMouseOverValue:false});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_onValueMouseOver",function(){_this.setState(function(){return{isMouseOverValue:true}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_onValueMouseOut",function(){_this.setState(function(){return{isMouseOverValue:false}})});return _this}_createClass(EuiVerticalBarSeries,[{key:"render",value:function render(){var isMouseOverValue=this.state.isMouseOverValue;var _this$props=this.props,name=_this$props.name,data=_this$props.data,color=_this$props.color,onValueClick=_this$props.onValueClick,rest=_objectWithoutProperties(_this$props,["name","data","color","onValueClick"]);var isHighDataVolume=data.length>80;var classes=(0,_classnames.default)("euiBarSeries",isHighDataVolume&&"euiBarSeries--highDataVolume",isMouseOverValue&&onValueClick&&"euiBarSeries--hoverEnabled");return _react.default.createElement(_reactVis.VerticalBarSeries,_extends({key:name,className:classes,onValueClick:onValueClick,onValueMouseOver:this._onValueMouseOver,onValueMouseOut:this._onValueMouseOut,color:color,data:data},rest))}}]);return EuiVerticalBarSeries}(_reactVis.VerticalBarSeries);exports.EuiVerticalBarSeries=EuiVerticalBarSeries;EuiVerticalBarSeries.displayName="EuiVerticalBarSeries";EuiVerticalBarSeries.propTypes={name:_propTypes.default.string.isRequired,data:_propTypes.default.arrayOf(_propTypes.default.shape({x:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number]),y:_propTypes.default.number})).isRequired,color:_propTypes.default.string,onValueClick:_propTypes.default.func};EuiVerticalBarSeries.defaultProps={};EuiVerticalBarSeries.__docgenInfo={description:"",methods:[{name:"_onValueMouseOver",docblock:null,modifiers:[],params:[],returns:null},{name:"_onValueMouseOut",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiVerticalBarSeries",props:{name:{type:{name:"string"},required:true,description:"The name used to define the data in tooltips and legends"},data:{type:{name:"arrayOf",value:{name:"shape",value:{x:{name:"union",value:[{name:"string"},{name:"number"}],required:false},y:{name:"number",required:false}}}},required:true,description:"Array<{x: string|number, y: number}>"},color:{type:{name:"string"},required:false,description:"See eui_palettes.js or colorPalette service for recommended colors"},onValueClick:{type:{name:"func"},required:false,description:"Callback when clicking on a bar. Returns { x, y } object."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHorizontalBarSeries=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactVis=__webpack_require__(49);var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiHorizontalBarSeries=function(_HorizontalBarSeries){_inherits(EuiHorizontalBarSeries,_HorizontalBarSeries);function EuiHorizontalBarSeries(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiHorizontalBarSeries);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiHorizontalBarSeries)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"state",{isMouseOverValue:false});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_onValueMouseOver",function(){_this.setState(function(){return{isMouseOverValue:true}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_onValueMouseOut",function(){_this.setState(function(){return{isMouseOverValue:false}})});return _this}_createClass(EuiHorizontalBarSeries,[{key:"render",value:function render(){var isMouseOverValue=this.state.isMouseOverValue;var _this$props=this.props,name=_this$props.name,data=_this$props.data,color=_this$props.color,onValueClick=_this$props.onValueClick,rest=_objectWithoutProperties(_this$props,["name","data","color","onValueClick"]);var isHighDataVolume=data.length>80;var classes=(0,_classnames.default)("euiBarSeries",isHighDataVolume&&"euiBarSeries--highDataVolume",isMouseOverValue&&onValueClick&&"euiBarSeries--hoverEnabled");return _react.default.createElement(_reactVis.HorizontalBarSeries,_extends({key:name,className:classes,onValueClick:onValueClick,onValueMouseOver:this._onValueMouseOver,onValueMouseOut:this._onValueMouseOut,color:color,data:data},rest))}}]);return EuiHorizontalBarSeries}(_reactVis.HorizontalBarSeries);exports.EuiHorizontalBarSeries=EuiHorizontalBarSeries;EuiHorizontalBarSeries.displayName="EuiHorizontalBarSeries";EuiHorizontalBarSeries.propTypes={name:_propTypes.default.string.isRequired,data:_propTypes.default.arrayOf(_propTypes.default.shape({x:_propTypes.default.number,y:_propTypes.default.oneOfType([_propTypes.default.string,_propTypes.default.number])})).isRequired,color:_propTypes.default.string,onValueClick:_propTypes.default.func};EuiHorizontalBarSeries.defaultProps={};EuiHorizontalBarSeries.__docgenInfo={description:"",methods:[{name:"_onValueMouseOver",docblock:null,modifiers:[],params:[],returns:null},{name:"_onValueMouseOut",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiHorizontalBarSeries",props:{name:{type:{name:"string"},required:true,description:"The name used to define the data in tooltips and legends"},data:{type:{name:"arrayOf",value:{name:"shape",value:{x:{name:"number",required:false},y:{name:"union",value:[{name:"string"},{name:"number"}],required:false}}}},required:true,description:"Array<{x: number, y: string|number}>"},color:{type:{name:"string"},required:false,description:"See eui_palettes.js or colorPalette service for recommended colors"},onValueClick:{type:{name:"func"},required:false,description:"Callback when clicking on a bar. Returns { x, y } object."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiVerticalRectSeries=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactVis=__webpack_require__(49);var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiVerticalRectSeries=function(_VerticalRectSeries){_inherits(EuiVerticalRectSeries,_VerticalRectSeries);function EuiVerticalRectSeries(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiVerticalRectSeries);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiVerticalRectSeries)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"state",{isMouseOverValue:false});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_onValueMouseOver",function(){_this.setState(function(){return{isMouseOverValue:true}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_onValueMouseOut",function(){_this.setState(function(){return{isMouseOverValue:false}})});return _this}_createClass(EuiVerticalRectSeries,[{key:"render",value:function render(){var isMouseOverValue=this.state.isMouseOverValue;var _this$props=this.props,name=_this$props.name,data=_this$props.data,color=_this$props.color,onValueClick=_this$props.onValueClick,rest=_objectWithoutProperties(_this$props,["name","data","color","onValueClick"]);var isHighDataVolume=data.length>80;var classes=(0,_classnames.default)("euiHistogramSeries",isHighDataVolume&&"euiHistogramSeries--highDataVolume",isMouseOverValue&&onValueClick&&"euiHistogramSeries--hoverEnabled");return _react.default.createElement(_reactVis.VerticalRectSeries,_extends({key:name,className:classes,onValueClick:onValueClick,onValueMouseOver:this._onValueMouseOver,onValueMouseOut:this._onValueMouseOut,color:color,data:data},rest))}}]);return EuiVerticalRectSeries}(_reactVis.VerticalRectSeries);exports.EuiVerticalRectSeries=EuiVerticalRectSeries;EuiVerticalRectSeries.displayName="EuiVerticalRectSeries";EuiVerticalRectSeries.propTypes={name:_propTypes.default.string.isRequired,data:_propTypes.default.arrayOf(_propTypes.default.shape({x0:_propTypes.default.number,x:_propTypes.default.number,y:_propTypes.default.number})).isRequired,color:_propTypes.default.string,onValueClick:_propTypes.default.func};EuiVerticalRectSeries.defaultProps={};EuiVerticalRectSeries.__docgenInfo={description:"",methods:[{name:"_onValueMouseOver",docblock:null,modifiers:[],params:[],returns:null},{name:"_onValueMouseOut",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiVerticalRectSeries",props:{name:{type:{name:"string"},required:true,description:"The name used to define the data in tooltips and legends"},data:{type:{name:"arrayOf",value:{name:"shape",value:{x0:{name:"number",required:false},x:{name:"number",required:false},y:{name:"number",required:false}}}},required:true,description:"Array<{x0: number, x: number, y: number}>"},color:{type:{name:"string"},required:false,description:"See eui_palettes.js or colorPalette service for recommended colors"},onValueClick:{type:{name:"func"},required:false,description:"Callback when clicking on a bar. Returns { x, y } object."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiHorizontalRectSeries=void 0;__webpack_require__(7);__webpack_require__(8);__webpack_require__(5);__webpack_require__(2);__webpack_require__(3);__webpack_require__(4);__webpack_require__(9);__webpack_require__(19);var _react=_interopRequireDefault(__webpack_require__(0));var _propTypes=_interopRequireDefault(__webpack_require__(1));var _reactVis=__webpack_require__(49);var _classnames=_interopRequireDefault(__webpack_require__(6));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _extends(){_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};return _extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key]}}return target}function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EuiHorizontalRectSeries=function(_HorizontalRectSeries){_inherits(EuiHorizontalRectSeries,_HorizontalRectSeries);function EuiHorizontalRectSeries(){var _getPrototypeOf2;var _this;_classCallCheck(this,EuiHorizontalRectSeries);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];_this=_possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(EuiHorizontalRectSeries)).call.apply(_getPrototypeOf2,[this].concat(args)));_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"state",{isMouseOverValue:false});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_onValueMouseOver",function(){_this.setState(function(){return{isMouseOverValue:true}})});_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)),"_onValueMouseOut",function(){_this.setState(function(){return{isMouseOverValue:false}})});return _this}_createClass(EuiHorizontalRectSeries,[{key:"render",value:function render(){var isMouseOverValue=this.state.isMouseOverValue;var _this$props=this.props,name=_this$props.name,data=_this$props.data,color=_this$props.color,onValueClick=_this$props.onValueClick,rest=_objectWithoutProperties(_this$props,["name","data","color","onValueClick"]);var isHighDataVolume=data.length>80;var classes=(0,_classnames.default)("euiHistogramSeries",isHighDataVolume&&"euiHistogramSeries--highDataVolume",isMouseOverValue&&onValueClick&&"euiHistogramSeries--hoverEnabled");return _react.default.createElement(_reactVis.HorizontalRectSeries,_extends({key:name,className:classes,onValueClick:onValueClick,onValueMouseOver:this._onValueMouseOver,onValueMouseOut:this._onValueMouseOut,color:color,data:data},rest))}}]);return EuiHorizontalRectSeries}(_reactVis.HorizontalRectSeries);exports.EuiHorizontalRectSeries=EuiHorizontalRectSeries;EuiHorizontalRectSeries.displayName="EuiHorizontalRectSeries";EuiHorizontalRectSeries.propTypes={name:_propTypes.default.string.isRequired,data:_propTypes.default.arrayOf(_propTypes.default.shape({x:_propTypes.default.number,y:_propTypes.default.number,y0:_propTypes.default.number})).isRequired,color:_propTypes.default.string,onValueClick:_propTypes.default.func};EuiHorizontalRectSeries.defaultProps={};EuiHorizontalRectSeries.__docgenInfo={description:"",methods:[{name:"_onValueMouseOver",docblock:null,modifiers:[],params:[],returns:null},{name:"_onValueMouseOut",docblock:null,modifiers:[],params:[],returns:null}],displayName:"EuiHorizontalRectSeries",props:{name:{type:{name:"string"},required:true,description:"The name used to define the data in tooltips and legends"},data:{type:{name:"arrayOf",value:{name:"shape",value:{x:{name:"number",required:false},y:{name:"number",required:false},y0:{name:"number",required:false}}}},required:true,description:"Array<{x: number, y: number, y0: number}>"},color:{type:{name:"string"},required:false,description:"See eui_palettes.js or colorPalette service for recommended colors"},onValueClick:{type:{name:"func"},required:false,description:"Callback when clicking on a bar. Returns { x, y } object."}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiDefaultAxis",{enumerable:true,get:function get(){return _default_axis.EuiDefaultAxis}});Object.defineProperty(exports,"EuiXAxis",{enumerable:true,get:function get(){return _x_axis.EuiXAxis}});Object.defineProperty(exports,"EuiYAxis",{enumerable:true,get:function get(){return _y_axis.EuiYAxis}});Object.defineProperty(exports,"EuiHorizontalGrid",{enumerable:true,get:function get(){return _horizontal_grid.EuiHorizontalGrid}});Object.defineProperty(exports,"EuiVerticalGrid",{enumerable:true,get:function get(){return _vertical_grid.EuiVerticalGrid}});var _default_axis=__webpack_require__(767);var _x_axis=__webpack_require__(768);var _y_axis=__webpack_require__(769);var _horizontal_grid=__webpack_require__(770);var _vertical_grid=__webpack_require__(771)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiSeriesChartUtils",{enumerable:true,get:function get(){return _chart_utils.EuiSeriesChartUtils}});Object.defineProperty(exports,"EuiSeriesChartAxisUtils",{enumerable:true,get:function get(){return _axis_utils.EuiSeriesChartAxisUtils}});Object.defineProperty(exports,"EuiSeriesChartTextUtils",{enumerable:true,get:function get(){return _text_utils.EuiSeriesChartTextUtils}});var _chart_utils=__webpack_require__(97);var _axis_utils=__webpack_require__(319);var _text_utils=__webpack_require__(1923)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.EuiSeriesChartTextUtils=void 0;__webpack_require__(1924);__webpack_require__(81);var _react=_interopRequireWildcard(__webpack_require__(0));function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function labelWordWrap(text,width){var pieces=wordWrap(text,width);return _react.default.createElement(_react.Fragment,null,pieces.map(function(piece,i){return _react.default.createElement("tspan",{x:0,dy:"1em",key:"text-span-".concat(i)},piece)}))}function wordWrap(text){var width=arguments.length>1&&void 0!==arguments[1]?arguments[1]:75;var cut=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!text)return text;var regex=".{1,".concat(width,"}(s|$)").concat(cut?"|.{".concat(width,"}|.+$"):"|S+?(s|$)");return text.match(RegExp(regex,"g"))}var EuiSeriesChartTextUtils={labelWordWrap:labelWordWrap};exports.EuiSeriesChartTextUtils=EuiSeriesChartTextUtils},function(module,exports,__webpack_require__){var global=__webpack_require__(55);var inheritIfRequired=__webpack_require__(576);var dP=__webpack_require__(76).f;var gOPN=__webpack_require__(278).f;var isRegExp=__webpack_require__(381);var $flags=__webpack_require__(378);var $RegExp=global.RegExp;var Base=$RegExp;var proto=$RegExp.prototype;var re1=/a/g;var re2=/a/g;var CORRECT_NEW=new $RegExp(re1)!==re1;if(__webpack_require__(78)&&(!CORRECT_NEW||__webpack_require__(64)(function(){re2[__webpack_require__(40)("match")]=false;return $RegExp(re1)!=re1||$RegExp(re2)==re2||"/a/i"!=$RegExp(re1,"i")}))){$RegExp=function RegExp(p,f){var tiRE=this instanceof $RegExp;var piRE=isRegExp(p);var fiU=void 0===f;return!tiRE&&piRE&&p.constructor===$RegExp&&fiU?p:inheritIfRequired(CORRECT_NEW?new Base(piRE&&!fiU?p.source:p,f):Base((piRE=p instanceof $RegExp)?p.source:p,piRE&&fiU?$flags.call(p):f),tiRE?this:proto,$RegExp)};var proxy=function(key){key in $RegExp||dP($RegExp,key,{configurable:true,get:function(){return Base[key]},set:function(it){Base[key]=it}})};for(var keys=gOPN(Base),i=0;keys.length>i;)proxy(keys[i++]);proto.constructor=$RegExp;$RegExp.prototype=proto;__webpack_require__(110)(global,"RegExp",$RegExp)}__webpack_require__(733)("RegExp")},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"EuiCrosshairX",{enumerable:true,get:function get(){return _crosshair_x.EuiCrosshairX}});Object.defineProperty(exports,"EuiCrosshairY",{enumerable:true,get:function get(){return _crosshair_y.EuiCrosshairY}});var _crosshair_x=__webpack_require__(772);var _crosshair_y=__webpack_require__(774)},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */var saveAs=saveAs||function(view){"use strict";if("undefined"!==typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))return;var doc=view.document,get_URL=function(){return view.URL||view.webkitURL||view},save_link=doc.createElementNS("http://www.w3.org/1999/xhtml","a"),can_use_save_link="download"in save_link,click=function(node){var event=new MouseEvent("click");node.dispatchEvent(event)},webkit_req_fs=view.webkitRequestFileSystem,req_fs=view.requestFileSystem||webkit_req_fs||view.mozRequestFileSystem,throw_outside=function(ex){(view.setImmediate||view.setTimeout)(function(){throw ex},0)},force_saveable_type="application/octet-stream",fs_min_size=0,arbitrary_revoke_timeout=500,revoke=function(file){var revoker=function(){"string"===typeof file?get_URL().revokeObjectURL(file):file.remove()};view.chrome?revoker():setTimeout(revoker,arbitrary_revoke_timeout)},dispatch=function(filesaver,event_types,event){event_types=[].concat(event_types);var i=event_types.length;while(i--){var listener=filesaver["on"+event_types[i]];if("function"===typeof listener)try{listener.call(filesaver,event||filesaver)}catch(ex){throw_outside(ex)}}},auto_bom=function(blob){if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(blob.type))return new Blob(["\ufeff",blob],{type:blob.type});return blob},FileSaver=function(blob,name,no_auto_bom){no_auto_bom||(blob=auto_bom(blob));var object_url,target_view,slice,filesaver=this,type=blob.type,blob_changed=false,dispatch_all=function(){dispatch(filesaver,"writestart progress write writeend".split(" "))},fs_error=function(){!blob_changed&&object_url||(object_url=get_URL().createObjectURL(blob));if(target_view)target_view.location.href=object_url;else{var new_tab=view.open(object_url,"_blank");void 0==new_tab&&"undefined"!==typeof safari&&(view.location.href=object_url)}filesaver.readyState=filesaver.DONE;dispatch_all();revoke(object_url)},abortable=function(func){return function(){if(filesaver.readyState!==filesaver.DONE)return func.apply(this,arguments)}},create_if_not_found={create:true,exclusive:false};filesaver.readyState=filesaver.INIT;name||(name="download");if(can_use_save_link){object_url=get_URL().createObjectURL(blob);save_link.href=object_url;save_link.download=name;setTimeout(function(){click(save_link);dispatch_all();revoke(object_url);filesaver.readyState=filesaver.DONE});return}if(view.chrome&&type&&type!==force_saveable_type){slice=blob.slice||blob.webkitSlice;blob=slice.call(blob,0,blob.size,force_saveable_type);blob_changed=true}webkit_req_fs&&"download"!==name&&(name+=".download");(type===force_saveable_type||webkit_req_fs)&&(target_view=view);if(!req_fs){fs_error();return}fs_min_size+=blob.size;req_fs(view.TEMPORARY,fs_min_size,abortable(function(fs){fs.root.getDirectory("saved",create_if_not_found,abortable(function(dir){var save=function(){dir.getFile(name,create_if_not_found,abortable(function(file){file.createWriter(abortable(function(writer){writer.onwriteend=function(event){target_view.location.href=file.toURL();filesaver.readyState=filesaver.DONE;dispatch(filesaver,"writeend",event);revoke(file)};writer.onerror=function(){var error=writer.error;error.code!==error.ABORT_ERR&&fs_error()};"writestart progress write abort".split(" ").forEach(function(event){writer["on"+event]=filesaver["on"+event]});writer.write(blob);filesaver.abort=function(){writer.abort();filesaver.readyState=filesaver.DONE};filesaver.readyState=filesaver.WRITING}),fs_error)}),fs_error)};dir.getFile(name,{create:false},abortable(function(file){file.remove();save()}),abortable(function(ex){ex.code===ex.NOT_FOUND_ERR?save():fs_error()}))}),fs_error)}),fs_error)},FS_proto=FileSaver.prototype,saveAs=function(blob,name,no_auto_bom){return new FileSaver(blob,name,no_auto_bom)};if("undefined"!==typeof navigator&&navigator.msSaveOrOpenBlob)return function(blob,name,no_auto_bom){no_auto_bom||(blob=auto_bom(blob));return navigator.msSaveOrOpenBlob(blob,name||"download")};FS_proto.abort=function(){var filesaver=this;filesaver.readyState=filesaver.DONE;dispatch(filesaver,"abort")};FS_proto.readyState=FS_proto.INIT=0;FS_proto.WRITING=1;FS_proto.DONE=2;FS_proto.error=FS_proto.onwritestart=FS_proto.onprogress=FS_proto.onwrite=FS_proto.onabort=FS_proto.onerror=FS_proto.onwriteend=null;return saveAs}("undefined"!==typeof self&&self||"undefined"!==typeof window&&window||this.content);true,module.exports?module.exports.saveAs=saveAs:(true,null!==__webpack_require__(389))&&null!=__webpack_require__(1927)&&!(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return saveAs}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))},function(module,exports){(function(__webpack_amd_options__){module.exports=__webpack_amd_options__}).call(this,{})},function(module,exports){module.exports=[{id:"be-nl",name:"belgium-dutch (be-nl)",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:" mln",billion:" mld",trillion:" bln"},ordinal:function(number){var remainder=number%100;return 0!==number&&remainder<=1||8===remainder||remainder>=20?"ste":"de"},currency:{symbol:"€ "}}},{id:"chs",name:"simplified chinese",lang:{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百万",billion:"十亿",trillion:"兆"},ordinal:function(number){return"."},currency:{symbol:"¥"}}},{id:"cs",name:"czech (cs)",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"tis.",million:"mil.",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"Kč"}}},{id:"da-dk",name:"danish denmark (dk)",lang:{delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mio",billion:"mia",trillion:"b"},ordinal:function(number){return"."},currency:{symbol:"DKK"}}},{id:"de-ch",name:"German in Switzerland (de-ch)",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(number){return"."},currency:{symbol:"CHF"}}},{id:"de",name:"German (de) – generally useful in Germany, Austria, Luxembourg, Belgium",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(number){return"."},currency:{symbol:"€"}}},{id:"en-gb",name:"english united kingdom (uk)",lang:{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(number){var b=number%10;return 1===~~(number%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th"},currency:{symbol:"£"}}},{id:"es-ES",name:"spanish Spain",lang:{delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(number){var b=number%10;return 1===b||3===b?"er":2===b?"do":7===b||0===b?"mo":8===b?"vo":9===b?"no":"to"},currency:{symbol:"€"}}},{id:"es",name:"spanish",lang:{delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(number){var b=number%10;return 1===b||3===b?"er":2===b?"do":7===b||0===b?"mo":8===b?"vo":9===b?"no":"to"},currency:{symbol:"$"}}},{id:"et",name:"Estonian",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:" tuh",million:" mln",billion:" mld",trillion:" trl"},ordinal:function(number){return"."},currency:{symbol:"€"}}},{id:"fi",name:"Finnish",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"M",billion:"G",trillion:"T"},ordinal:function(number){return"."},currency:{symbol:"€"}}},{id:"fr-CA",name:"french (Canada) (fr-CA)",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"M",billion:"G",trillion:"T"},ordinal:function(number){return 1===number?"er":"e"},currency:{symbol:"$"}}},{id:"fr-ch",name:"french (fr-ch)",lang:{delimiters:{thousands:"'",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(number){return 1===number?"er":"e"},currency:{symbol:"CHF"}}},{id:"fr",name:"french (fr)",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(number){return 1===number?"er":"e"},currency:{symbol:"€"}}},{id:"hu",name:"Hungarian (hu)",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"E",million:"M",billion:"Mrd",trillion:"T"},ordinal:function(number){return"."},currency:{symbol:" Ft"}}},{id:"it",name:"italian Italy (it)",lang:{delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mila",million:"mil",billion:"b",trillion:"t"},ordinal:function(number){return"º"},currency:{symbol:"€"}}},{id:"ja",name:"japanese",lang:{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百万",billion:"十億",trillion:"兆"},ordinal:function(number){return"."},currency:{symbol:"¥"}}},{id:"nl-nl",name:"netherlands-dutch (nl-nl)",lang:{delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mln",billion:"mrd",trillion:"bln"},ordinal:function(number){var remainder=number%100;return 0!==number&&remainder<=1||8===remainder||remainder>=20?"ste":"de"},currency:{symbol:"€ "}}},{id:"pl",name:"polish (pl)",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"tys.",million:"mln",billion:"mld",trillion:"bln"},ordinal:function(number){return"."},currency:{symbol:"PLN"}}},{id:"pt-br",name:"portuguese brazil (pt-br)",lang:{delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mil",million:"milhões",billion:"b",trillion:"t"},ordinal:function(number){return"º"},currency:{symbol:"R$"}}},{id:"pt-pt",name:"portuguese (pt-pt)",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(number){return"º"},currency:{symbol:"€"}}},{id:"ru-UA",name:"Russian for the Ukraine (ru-UA)",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"тыс.",million:"млн",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"₴"}}},{id:"ru",name:"russian (ru)",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"тыс.",million:"млн",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"руб."}}},{id:"sk",name:"slovak (sk)",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"tis.",million:"mil.",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"€"}}},{id:"th",name:"thai (th)",lang:{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"พัน",million:"ล้าน",billion:"พันล้าน",trillion:"ล้านล้าน"},ordinal:function(number){return"."},currency:{symbol:"฿"}}},{id:"tr",name:"turkish (tr)",lang:{delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"bin",million:"milyon",billion:"milyar",trillion:"trilyon"},ordinal:(suffixes={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ı"},function(number){if(0===number)return"'ıncı";var a=number%10,b=number%100-a,c=number>=100?100:null;return suffixes[a]||suffixes[b]||suffixes[c]}),currency:{symbol:"₺"}}},{id:"uk-UA",name:"Ukrainian for the Ukraine (uk-UA)",lang:{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"тис.",million:"млн",billion:"млрд",trillion:"блн"},ordinal:function(){return""},currency:{symbol:"₴"}}}];var suffixes},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _kuery__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(178);__webpack_require__.d(__webpack_exports__,"filterToKueryAST",function(){return _kuery__WEBPACK_IMPORTED_MODULE_0__["filterToKueryAST"]});__webpack_require__.d(__webpack_exports__,"nodeTypes",function(){return _kuery__WEBPACK_IMPORTED_MODULE_0__["nodeTypes"]});__webpack_require__.d(__webpack_exports__,"fromLiteralExpression",function(){return _kuery__WEBPACK_IMPORTED_MODULE_0__["fromLiteralExpression"]});__webpack_require__.d(__webpack_exports__,"fromLegacyKueryExpression",function(){return _kuery__WEBPACK_IMPORTED_MODULE_0__["fromLegacyKueryExpression"]});__webpack_require__.d(__webpack_exports__,"fromKueryExpression",function(){return _kuery__WEBPACK_IMPORTED_MODULE_0__["fromKueryExpression"]});__webpack_require__.d(__webpack_exports__,"toElasticsearchQuery",function(){return _kuery__WEBPACK_IMPORTED_MODULE_0__["toElasticsearchQuery"]});__webpack_require__.d(__webpack_exports__,"doesKueryExpressionHaveLuceneSyntaxError",function(){return _kuery__WEBPACK_IMPORTED_MODULE_0__["doesKueryExpressionHaveLuceneSyntaxError"]});var _filters__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(144);__webpack_require__.d(__webpack_exports__,"buildExistsFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["buildExistsFilter"]});__webpack_require__.d(__webpack_exports__,"buildPhraseFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["buildPhraseFilter"]});__webpack_require__.d(__webpack_exports__,"getPhraseScript",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["getPhraseScript"]});__webpack_require__.d(__webpack_exports__,"getConvertedValueForField",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["getConvertedValueForField"]});__webpack_require__.d(__webpack_exports__,"buildInlineScriptForPhraseFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["buildInlineScriptForPhraseFilter"]});__webpack_require__.d(__webpack_exports__,"buildPhrasesFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["buildPhrasesFilter"]});__webpack_require__.d(__webpack_exports__,"buildQueryFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["buildQueryFilter"]});__webpack_require__.d(__webpack_exports__,"buildRangeFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["buildRangeFilter"]});__webpack_require__.d(__webpack_exports__,"getRangeScript",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["getRangeScript"]});__webpack_require__.d(__webpack_exports__,"CustomFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["CustomFilter"]});__webpack_require__.d(__webpack_exports__,"ExistsFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["ExistsFilter"]});__webpack_require__.d(__webpack_exports__,"GeoBoundingBoxFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["GeoBoundingBoxFilter"]});__webpack_require__.d(__webpack_exports__,"GeoPolygonFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["GeoPolygonFilter"]});__webpack_require__.d(__webpack_exports__,"PhraseFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["PhraseFilter"]});__webpack_require__.d(__webpack_exports__,"PhrasesFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["PhrasesFilter"]});__webpack_require__.d(__webpack_exports__,"QueryStringFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["QueryStringFilter"]});__webpack_require__.d(__webpack_exports__,"RangeFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["RangeFilter"]});__webpack_require__.d(__webpack_exports__,"FilterStateStore",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["FilterStateStore"]});__webpack_require__.d(__webpack_exports__,"buildEmptyFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["buildEmptyFilter"]});__webpack_require__.d(__webpack_exports__,"isFilterPinned",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["isFilterPinned"]});__webpack_require__.d(__webpack_exports__,"toggleFilterDisabled",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["toggleFilterDisabled"]});__webpack_require__.d(__webpack_exports__,"toggleFilterNegated",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["toggleFilterNegated"]});__webpack_require__.d(__webpack_exports__,"toggleFilterPinned",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["toggleFilterPinned"]});__webpack_require__.d(__webpack_exports__,"enableFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["enableFilter"]});__webpack_require__.d(__webpack_exports__,"disableFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["disableFilter"]});__webpack_require__.d(__webpack_exports__,"pinFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["pinFilter"]});__webpack_require__.d(__webpack_exports__,"unpinFilter",function(){return _filters__WEBPACK_IMPORTED_MODULE_1__["unpinFilter"]});var _es_query__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(791);__webpack_require__.d(__webpack_exports__,"buildEsQuery",function(){return _es_query__WEBPACK_IMPORTED_MODULE_2__["buildEsQuery"]});__webpack_require__.d(__webpack_exports__,"buildQueryFromFilters",function(){return _es_query__WEBPACK_IMPORTED_MODULE_2__["buildQueryFromFilters"]});__webpack_require__.d(__webpack_exports__,"luceneStringToDsl",function(){return _es_query__WEBPACK_IMPORTED_MODULE_2__["luceneStringToDsl"]});__webpack_require__.d(__webpack_exports__,"migrateFilter",function(){return _es_query__WEBPACK_IMPORTED_MODULE_2__["migrateFilter"]});__webpack_require__.d(__webpack_exports__,"decorateQuery",function(){return _es_query__WEBPACK_IMPORTED_MODULE_2__["decorateQuery"]});__webpack_require__.d(__webpack_exports__,"filterMatchesIndex",function(){return _es_query__WEBPACK_IMPORTED_MODULE_2__["filterMatchesIndex"]});__webpack_require__.d(__webpack_exports__,"getEsQueryConfig",function(){return _es_query__WEBPACK_IMPORTED_MODULE_2__["getEsQueryConfig"]})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"I18nProvider",{enumerable:true,get:function get(){return _provider.I18nProvider}});Object.defineProperty(exports,"I18nServiceType",{enumerable:true,get:function get(){return _provider.I18nServiceType}});Object.defineProperty(exports,"i18nFilter",{enumerable:true,get:function get(){return _filter.i18nFilter}});Object.defineProperty(exports,"i18nDirective",{enumerable:true,get:function get(){return _directive.i18nDirective}});var _provider=__webpack_require__(1931);var _filter=__webpack_require__(1951);var _directive=__webpack_require__(1952)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.I18nProvider=void 0;var i18n=_interopRequireWildcard(__webpack_require__(457));function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var I18nProvider=function I18nProvider(){_classCallCheck(this,I18nProvider);_defineProperty(this,"addTranslation",i18n.addTranslation);_defineProperty(this,"getTranslation",i18n.getTranslation);_defineProperty(this,"setLocale",i18n.setLocale);_defineProperty(this,"getLocale",i18n.getLocale);_defineProperty(this,"setDefaultLocale",i18n.setDefaultLocale);_defineProperty(this,"getDefaultLocale",i18n.getDefaultLocale);_defineProperty(this,"setFormats",i18n.setFormats);_defineProperty(this,"getFormats",i18n.getFormats);_defineProperty(this,"getRegisteredLocales",i18n.getRegisteredLocales);_defineProperty(this,"init",i18n.init);_defineProperty(this,"load",i18n.load);_defineProperty(this,"$get",function(){return i18n.translate})};exports.I18nProvider=I18nProvider},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.addTranslation=addTranslation;exports.getTranslation=getTranslation;exports.setLocale=setLocale;exports.getLocale=getLocale;exports.setDefaultLocale=setDefaultLocale;exports.getDefaultLocale=getDefaultLocale;exports.setFormats=setFormats;exports.getFormats=getFormats;exports.getRegisteredLocales=getRegisteredLocales;exports.translate=translate;exports.init=init;exports.load=load;var _intlFormatCache=_interopRequireDefault(__webpack_require__(795));var _intlMessageformat=_interopRequireDefault(__webpack_require__(320));var _intlRelativeformat=_interopRequireDefault(__webpack_require__(458));var _formats=__webpack_require__(794);var _helper=__webpack_require__(1949);var _pseudo_locale=__webpack_require__(797);__webpack_require__(1950);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value}catch(error){reject(error);return}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)})}}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}var EN_LOCALE="en";var translationsForLocale={};var getMessageFormat=(0,_intlFormatCache.default)(_intlMessageformat.default);var defaultLocale=EN_LOCALE;var currentLocale=EN_LOCALE;var formats=_formats.formats;_intlMessageformat.default.defaultLocale=defaultLocale;_intlRelativeformat.default.defaultLocale=defaultLocale;function getMessageById(id){var translation=getTranslation();return translation.messages?translation.messages[id]:void 0}function normalizeLocale(locale){return locale.toLowerCase()}function addTranslation(newTranslation){var locale=arguments.length>1&&void 0!==arguments[1]?arguments[1]:newTranslation.locale;if(!locale||!(0,_helper.isString)(locale))throw new Error("[I18n] A `locale` must be a non-empty string to add messages.");if(newTranslation.locale&&newTranslation.locale!==locale)throw new Error("[I18n] A `locale` in the translation object is different from the one provided as a second argument.");var normalizedLocale=normalizeLocale(locale);var existingTranslation=translationsForLocale[normalizedLocale]||{messages:{}};translationsForLocale[normalizedLocale]={formats:newTranslation.formats||existingTranslation.formats,locale:newTranslation.locale||existingTranslation.locale,messages:_objectSpread({},existingTranslation.messages,newTranslation.messages)}}function getTranslation(){return translationsForLocale[currentLocale]||{messages:{}}}function setLocale(locale){if(!locale||!(0,_helper.isString)(locale))throw new Error("[I18n] A `locale` must be a non-empty string.");currentLocale=normalizeLocale(locale)}function getLocale(){return currentLocale}function setDefaultLocale(locale){if(!locale||!(0,_helper.isString)(locale))throw new Error("[I18n] A `locale` must be a non-empty string.");defaultLocale=normalizeLocale(locale);_intlMessageformat.default.defaultLocale=defaultLocale;_intlRelativeformat.default.defaultLocale=defaultLocale}function getDefaultLocale(){return defaultLocale}function setFormats(newFormats){if(!(0,_helper.isObject)(newFormats)||!(0,_helper.hasValues)(newFormats))throw new Error("[I18n] A `formats` must be a non-empty object.");formats=(0,_helper.mergeAll)(formats,newFormats)}function getFormats(){return formats}function getRegisteredLocales(){return Object.keys(translationsForLocale)}function translate(id,_ref){var _ref$values=_ref.values,values=void 0===_ref$values?{}:_ref$values,defaultMessage=_ref.defaultMessage;var shouldUsePseudoLocale=(0,_pseudo_locale.isPseudoLocale)(currentLocale);if(!id||!(0,_helper.isString)(id))throw new Error("[I18n] An `id` must be a non-empty string to translate a message.");var message=shouldUsePseudoLocale?defaultMessage:getMessageById(id);if(!message&&!defaultMessage)throw new Error('[I18n] Cannot format message: "'.concat(id,'". Default message must be provided.'));if(message)try{var formattedMessage=getMessageFormat(message,getLocale(),getFormats()).format(values);return shouldUsePseudoLocale?(0,_pseudo_locale.translateUsingPseudoLocale)(formattedMessage):formattedMessage}catch(e){throw new Error('[I18n] Error formatting message: "'.concat(id,'" for locale: "').concat(getLocale(),'".\n').concat(e))}try{var msg=getMessageFormat(defaultMessage,getDefaultLocale(),getFormats());return msg.format(values)}catch(e){throw new Error('[I18n] Error formatting the default message for: "'.concat(id,'".\n').concat(e))}}function init(newTranslation){if(!newTranslation)return;addTranslation(newTranslation);newTranslation.locale&&setLocale(newTranslation.locale);newTranslation.formats&&setFormats(newTranslation.formats)}function load(_x){return _load.apply(this,arguments)}function _load(){_load=_asyncToGenerator(regeneratorRuntime.mark(function _callee(translationsUrl){var response;return regeneratorRuntime.wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.next=2;return fetch(translationsUrl,{credentials:"same-origin"});case 2:response=_context.sent;if(!(response.status>=300)){_context.next=5;break}throw new Error("Translations request failed with status code: ".concat(response.status));case 5:_context.t0=init;_context.next=8;return response.json();case 8:_context.t1=_context.sent;(0,_context.t0)(_context.t1);case 10:case"end":return _context.stop()}},_callee,this)}));return _load.apply(this,arguments)}},function(module,exports,__webpack_require__){"use strict";var src$es5$$=__webpack_require__(1934);exports["default"]=createFormatCache;function createFormatCache(FormatConstructor){var cache=src$es5$$.objCreate(null);return function(){var args=Array.prototype.slice.call(arguments);var cacheId=getCacheId(args);var format=cacheId&&cache[cacheId];if(!format){format=new(src$es5$$.bind.apply(FormatConstructor,[null].concat(args)));cacheId&&(cache[cacheId]=format)}return format}}function getCacheId(inputs){if("undefined"===typeof JSON)return;var cacheId=[];var i,len,input;for(i=0,len=inputs.length;i<len;i+=1){input=inputs[i];input&&"object"===typeof input?cacheId.push(orderedProps(input)):cacheId.push(input)}return JSON.stringify(cacheId)}function orderedProps(obj){var props=[],keys=[];var key,i,len,prop;for(key in obj)obj.hasOwnProperty(key)&&keys.push(key);var orderedKeys=keys.sort();for(i=0,len=orderedKeys.length;i<len;i+=1){key=orderedKeys[i];prop={};prop[key]=obj[key];props[i]=prop}return props}},function(module,exports,__webpack_require__){"use strict";var bind=Function.prototype.bind||function(oThis){if("function"!==typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var aArgs=Array.prototype.slice.call(arguments,1),fToBind=this,fNOP=function(){},fBound=function(){return fToBind.apply(this instanceof fNOP?this:oThis,aArgs.concat(Array.prototype.slice.call(arguments)))};this.prototype&&(fNOP.prototype=this.prototype);fBound.prototype=new fNOP;return fBound};var hop=Object.prototype.hasOwnProperty;var realDefineProp=function(){try{return!!Object.defineProperty({},"a",{})}catch(e){return false}}();!realDefineProp&&Object.prototype.__defineGetter__;var defineProperty=realDefineProp?Object.defineProperty:function(obj,name,desc){"get"in desc&&obj.__defineGetter__?obj.__defineGetter__(name,desc.get):(!hop.call(obj,name)||"value"in desc)&&(obj[name]=desc.value)};var objCreate=Object.create||function(proto,props){var obj,k;function F(){}F.prototype=proto;obj=new F;for(k in props)hop.call(props,k)&&defineProperty(obj,k,props[k]);return obj};exports.bind=bind,exports.defineProperty=defineProperty,exports.objCreate=objCreate},function(module,exports,__webpack_require__){"use strict";var src$core$$=__webpack_require__(1936),src$en$$=__webpack_require__(1941);src$core$$["default"].__addLocaleData(src$en$$["default"]);src$core$$["default"].defaultLocale="en";exports["default"]=src$core$$["default"]},function(module,exports,__webpack_require__){"use strict";var src$utils$$=__webpack_require__(796),src$es5$$=__webpack_require__(1937),src$compiler$$=__webpack_require__(1938),intl$messageformat$parser$$=__webpack_require__(1939);exports["default"]=MessageFormat;function MessageFormat(message,locales,formats){var ast="string"===typeof message?MessageFormat.__parse(message):message;if(!(ast&&"messageFormatPattern"===ast.type))throw new TypeError("A message must be provided as a String or AST.");formats=this._mergeFormats(MessageFormat.formats,formats);src$es5$$.defineProperty(this,"_locale",{value:this._resolveLocale(locales)});var pluralFn=this._findPluralRuleFunction(this._locale);var pattern=this._compilePattern(ast,locales,formats,pluralFn);var messageFormat=this;this.format=function(values){try{return messageFormat._format(pattern,values)}catch(e){throw e.variableId?new Error("The intl string context variable '"+e.variableId+"' was not provided to the string '"+message+"'"):e}}}src$es5$$.defineProperty(MessageFormat,"formats",{enumerable:true,value:{number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}});src$es5$$.defineProperty(MessageFormat,"__localeData__",{value:src$es5$$.objCreate(null)});src$es5$$.defineProperty(MessageFormat,"__addLocaleData",{value:function(data){if(!(data&&data.locale))throw new Error("Locale data provided to IntlMessageFormat is missing a `locale` property");MessageFormat.__localeData__[data.locale.toLowerCase()]=data}});src$es5$$.defineProperty(MessageFormat,"__parse",{value:intl$messageformat$parser$$["default"].parse});src$es5$$.defineProperty(MessageFormat,"defaultLocale",{enumerable:true,writable:true,value:void 0});MessageFormat.prototype.resolvedOptions=function(){return{locale:this._locale}};MessageFormat.prototype._compilePattern=function(ast,locales,formats,pluralFn){var compiler=new src$compiler$$["default"](locales,formats,pluralFn);return compiler.compile(ast)};MessageFormat.prototype._findPluralRuleFunction=function(locale){var localeData=MessageFormat.__localeData__;var data=localeData[locale.toLowerCase()];while(data){if(data.pluralRuleFunction)return data.pluralRuleFunction;data=data.parentLocale&&localeData[data.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlMessageFormat is missing a `pluralRuleFunction` for :"+locale)};MessageFormat.prototype._format=function(pattern,values){var i,len,part,id,value,err,result="";for(i=0,len=pattern.length;i<len;i+=1){part=pattern[i];if("string"===typeof part){result+=part;continue}id=part.id;if(!(values&&src$utils$$.hop.call(values,id))){err=new Error("A value must be provided for: "+id);err.variableId=id;throw err}value=values[id];part.options?result+=this._format(part.getOption(value),values):result+=part.format(value)}return result};MessageFormat.prototype._mergeFormats=function(defaults,formats){var type,mergedType,mergedFormats={};for(type in defaults){if(!src$utils$$.hop.call(defaults,type))continue;mergedFormats[type]=mergedType=src$es5$$.objCreate(defaults[type]);formats&&src$utils$$.hop.call(formats,type)&&src$utils$$.extend(mergedType,formats[type])}return mergedFormats};MessageFormat.prototype._resolveLocale=function(locales){"string"===typeof locales&&(locales=[locales]);locales=(locales||[]).concat(MessageFormat.defaultLocale);var localeData=MessageFormat.__localeData__;var i,len,localeParts,data;for(i=0,len=locales.length;i<len;i+=1){localeParts=locales[i].toLowerCase().split("-");while(localeParts.length){data=localeData[localeParts.join("-")];if(data)return data.locale;localeParts.pop()}}var defaultLocale=locales.pop();throw new Error("No locale data has been added to IntlMessageFormat for: "+locales.join(", ")+", or the default locale: "+defaultLocale)}},function(module,exports,__webpack_require__){"use strict";var src$utils$$=__webpack_require__(796);var realDefineProp=function(){try{return!!Object.defineProperty({},"a",{})}catch(e){return false}}();!realDefineProp&&Object.prototype.__defineGetter__;var defineProperty=realDefineProp?Object.defineProperty:function(obj,name,desc){"get"in desc&&obj.__defineGetter__?obj.__defineGetter__(name,desc.get):(!src$utils$$.hop.call(obj,name)||"value"in desc)&&(obj[name]=desc.value)};var objCreate=Object.create||function(proto,props){var obj,k;function F(){}F.prototype=proto;obj=new F;for(k in props)src$utils$$.hop.call(props,k)&&defineProperty(obj,k,props[k]);return obj};exports.defineProperty=defineProperty,exports.objCreate=objCreate},function(module,exports,__webpack_require__){"use strict";exports["default"]=Compiler;function Compiler(locales,formats,pluralFn){this.locales=locales;this.formats=formats;this.pluralFn=pluralFn}Compiler.prototype.compile=function(ast){this.pluralStack=[];this.currentPlural=null;this.pluralNumberFormat=null;return this.compileMessage(ast)};Compiler.prototype.compileMessage=function(ast){if(!(ast&&"messageFormatPattern"===ast.type))throw new Error('Message AST is not of type: "messageFormatPattern"');var elements=ast.elements,pattern=[];var i,len,element;for(i=0,len=elements.length;i<len;i+=1){element=elements[i];switch(element.type){case"messageTextElement":pattern.push(this.compileMessageText(element));break;case"argumentElement":pattern.push(this.compileArgument(element));break;default:throw new Error("Message element does not have a valid type")}}return pattern};Compiler.prototype.compileMessageText=function(element){if(this.currentPlural&&/(^|[^\\])#/g.test(element.value)){this.pluralNumberFormat||(this.pluralNumberFormat=new Intl.NumberFormat(this.locales));return new PluralOffsetString(this.currentPlural.id,this.currentPlural.format.offset,this.pluralNumberFormat,element.value)}return element.value.replace(/\\#/g,"#")};Compiler.prototype.compileArgument=function(element){var format=element.format;if(!format)return new StringFormat(element.id);var options,formats=this.formats,locales=this.locales,pluralFn=this.pluralFn;switch(format.type){case"numberFormat":options=formats.number[format.style];return{id:element.id,format:new Intl.NumberFormat(locales,options).format};case"dateFormat":options=formats.date[format.style];return{id:element.id,format:new Intl.DateTimeFormat(locales,options).format};case"timeFormat":options=formats.time[format.style];return{id:element.id,format:new Intl.DateTimeFormat(locales,options).format};case"pluralFormat":options=this.compileOptions(element);return new PluralFormat(element.id,format.ordinal,format.offset,options,pluralFn);case"selectFormat":options=this.compileOptions(element);return new SelectFormat(element.id,options);default:throw new Error("Message element does not have a valid format type")}};Compiler.prototype.compileOptions=function(element){var format=element.format,options=format.options,optionsHash={};this.pluralStack.push(this.currentPlural);this.currentPlural="pluralFormat"===format.type?element:null;var i,len,option;for(i=0,len=options.length;i<len;i+=1){option=options[i];optionsHash[option.selector]=this.compileMessage(option.value)}this.currentPlural=this.pluralStack.pop();return optionsHash};function StringFormat(id){this.id=id}StringFormat.prototype.format=function(value){if(!value&&"number"!==typeof value)return"";return"string"===typeof value?value:String(value)};function PluralFormat(id,useOrdinal,offset,options,pluralFn){this.id=id;this.useOrdinal=useOrdinal;this.offset=offset;this.options=options;this.pluralFn=pluralFn}PluralFormat.prototype.getOption=function(value){var options=this.options;var option=options["="+value]||options[this.pluralFn(value-this.offset,this.useOrdinal)];return option||options.other};function PluralOffsetString(id,offset,numberFormat,string){this.id=id;this.offset=offset;this.numberFormat=numberFormat;this.string=string}PluralOffsetString.prototype.format=function(value){var number=this.numberFormat.format(value-this.offset);return this.string.replace(/(^|[^\\])#/g,"$1"+number).replace(/\\#/g,"#")};function SelectFormat(id,options){this.id=id;this.options=options}SelectFormat.prototype.getOption=function(value){var options=this.options;return options[value]||options.other}},function(module,exports,__webpack_require__){"use strict";exports=module.exports=__webpack_require__(1940)["default"];exports["default"]=exports},function(module,exports,__webpack_require__){"use strict";exports["default"]=function(){function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";"function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,peg$SyntaxError)}peg$subclass(peg$SyntaxError,Error);function peg$parse(input){var peg$result,options=arguments.length>1?arguments[1]:{},peg$FAILED={},peg$startRuleFunctions={start:peg$parsestart},peg$startRuleFunction=peg$parsestart,peg$c0=function(elements){return{type:"messageFormatPattern",elements:elements,location:location()}},peg$c1=function(text){var i,j,outerLen,inner,innerLen,string="";for(i=0,outerLen=text.length;i<outerLen;i+=1){inner=text[i];for(j=0,innerLen=inner.length;j<innerLen;j+=1)string+=inner[j]}return string},peg$c2=function(messageText){return{type:"messageTextElement",value:messageText,location:location()}},peg$c3=/^[^ \t\n\r,.+={}#]/,peg$c4={type:"class",value:"[^ \\t\\n\\r,.+={}#]",description:"[^ \\t\\n\\r,.+={}#]"},peg$c5="{",peg$c6={type:"literal",value:"{",description:'"{"'},peg$c7=",",peg$c8={type:"literal",value:",",description:'","'},peg$c9="}",peg$c10={type:"literal",value:"}",description:'"}"'},peg$c11=function(id,format){return{type:"argumentElement",id:id,format:format&&format[2],location:location()}},peg$c12="number",peg$c13={type:"literal",value:"number",description:'"number"'},peg$c14="date",peg$c15={type:"literal",value:"date",description:'"date"'},peg$c16="time",peg$c17={type:"literal",value:"time",description:'"time"'},peg$c18=function(type,style){return{type:type+"Format",style:style&&style[2],location:location()}},peg$c19="plural",peg$c20={type:"literal",value:"plural",description:'"plural"'},peg$c21=function(pluralStyle){return{type:pluralStyle.type,ordinal:false,offset:pluralStyle.offset||0,options:pluralStyle.options,location:location()}},peg$c22="selectordinal",peg$c23={type:"literal",value:"selectordinal",description:'"selectordinal"'},peg$c24=function(pluralStyle){return{type:pluralStyle.type,ordinal:true,offset:pluralStyle.offset||0,options:pluralStyle.options,location:location()}},peg$c25="select",peg$c26={type:"literal",value:"select",description:'"select"'},peg$c27=function(options){return{type:"selectFormat",options:options,location:location()}},peg$c28="=",peg$c29={type:"literal",value:"=",description:'"="'},peg$c30=function(selector,pattern){return{type:"optionalFormatPattern",selector:selector,value:pattern,location:location()}},peg$c31="offset:",peg$c32={type:"literal",value:"offset:",description:'"offset:"'},peg$c33=function(number){return number},peg$c34=function(offset,options){return{type:"pluralFormat",offset:offset,options:options,location:location()}},peg$c35={type:"other",description:"whitespace"},peg$c36=/^[ \t\n\r]/,peg$c37={type:"class",value:"[ \\t\\n\\r]",description:"[ \\t\\n\\r]"},peg$c38={type:"other",description:"optionalWhitespace"},peg$c39=/^[0-9]/,peg$c40={type:"class",value:"[0-9]",description:"[0-9]"},peg$c41=/^[0-9a-f]/i,peg$c42={type:"class",value:"[0-9a-f]i",description:"[0-9a-f]i"},peg$c43="0",peg$c44={type:"literal",value:"0",description:'"0"'},peg$c45=/^[1-9]/,peg$c46={type:"class",value:"[1-9]",description:"[1-9]"},peg$c47=function(digits){return parseInt(digits,10)},peg$c48=/^[^{}\\\0-\x1F \t\n\r]/,peg$c49={type:"class",value:"[^{}\\\\\\0-\\x1F\\x7f \\t\\n\\r]",description:"[^{}\\\\\\0-\\x1F\\x7f \\t\\n\\r]"},peg$c50="\\\\",peg$c51={type:"literal",value:"\\\\",description:'"\\\\\\\\"'},peg$c52=function(){return"\\"},peg$c53="\\#",peg$c54={type:"literal",value:"\\#",description:'"\\\\#"'},peg$c55=function(){return"\\#"},peg$c56="\\{",peg$c57={type:"literal",value:"\\{",description:'"\\\\{"'},peg$c58=function(){return"{"},peg$c59="\\}",peg$c60={type:"literal",value:"\\}",description:'"\\\\}"'},peg$c61=function(){return"}"},peg$c62="\\u",peg$c63={type:"literal",value:"\\u",description:'"\\\\u"'},peg$c64=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c65=function(chars){return chars.join("")},peg$currPos=0,peg$savedPos=0,peg$posDetailsCache=[{line:1,column:1,seenCR:false}],peg$maxFailPos=0,peg$maxFailExpected=[],peg$silentFails=0;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions))throw new Error("Can't start parsing from rule \""+options.startRule+'".');peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function location(){return peg$computeLocation(peg$savedPos,peg$currPos)}function peg$computePosDetails(pos){var p,ch,details=peg$posDetailsCache[pos];if(details)return details;p=pos-1;while(!peg$posDetailsCache[p])p--;details=peg$posDetailsCache[p];details={line:details.line,column:details.column,seenCR:details.seenCR};while(p<pos){ch=input.charAt(p);if("\n"===ch){details.seenCR||details.line++;details.column=1;details.seenCR=false}else if("\r"===ch||"\u2028"===ch||"\u2029"===ch){details.line++;details.column=1;details.seenCR=true}else{details.column++;details.seenCR=false}p++}peg$posDetailsCache[pos]=details;return details}function peg$computeLocation(startPos,endPos){var startPosDetails=peg$computePosDetails(startPos),endPosDetails=peg$computePosDetails(endPos);return{start:{offset:startPos,line:startPosDetails.line,column:startPosDetails.column},end:{offset:endPos,line:endPosDetails.line,column:endPosDetails.column}}}function peg$fail(expected){if(peg$currPos<peg$maxFailPos)return;if(peg$currPos>peg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildException(message,expected,found,location){function cleanupExpected(expected){var i=1;expected.sort(function(a,b){return a.description<b.description?-1:a.description>b.description?1:0});while(i<expected.length)expected[i-1]===expected[i]?expected.splice(i,1):i++}function buildMessage(expected,found){function stringEscape(s){function hex(ch){return ch.charCodeAt(0).toString(16).toUpperCase()}return s.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(ch){return"\\x0"+hex(ch)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(ch){return"\\x"+hex(ch)}).replace(/[\u0100-\u0FFF]/g,function(ch){return"\\u0"+hex(ch)}).replace(/[\u1000-\uFFFF]/g,function(ch){return"\\u"+hex(ch)})}var expectedDesc,foundDesc,i,expectedDescs=new Array(expected.length);for(i=0;i<expected.length;i++)expectedDescs[i]=expected[i].description;expectedDesc=expected.length>1?expectedDescs.slice(0,-1).join(", ")+" or "+expectedDescs[expected.length-1]:expectedDescs[0];foundDesc=found?'"'+stringEscape(found)+'"':"end of input";return"Expected "+expectedDesc+" but "+foundDesc+" found."}null!==expected&&cleanupExpected(expected);return new peg$SyntaxError(null!==message?message:buildMessage(expected,found),expected,found,location)}function peg$parsestart(){var s0;s0=peg$parsemessageFormatPattern();return s0}function peg$parsemessageFormatPattern(){var s0,s1,s2;s0=peg$currPos;s1=[];s2=peg$parsemessageFormatElement();while(s2!==peg$FAILED){s1.push(s2);s2=peg$parsemessageFormatElement()}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s1)}s0=s1;return s0}function peg$parsemessageFormatElement(){var s0;s0=peg$parsemessageTextElement();s0===peg$FAILED&&(s0=peg$parseargumentElement());return s0}function peg$parsemessageText(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=[];s2=peg$currPos;s3=peg$parse_();if(s3!==peg$FAILED){s4=peg$parsechars();if(s4!==peg$FAILED){s5=peg$parse_();if(s5!==peg$FAILED){s3=[s3,s4,s5];s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED)while(s2!==peg$FAILED){s1.push(s2);s2=peg$currPos;s3=peg$parse_();if(s3!==peg$FAILED){s4=peg$parsechars();if(s4!==peg$FAILED){s5=peg$parse_();if(s5!==peg$FAILED){s3=[s3,s4,s5];s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}else s1=peg$FAILED;if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parsews();s0=s1!==peg$FAILED?input.substring(s0,peg$currPos):s1}return s0}function peg$parsemessageTextElement(){var s0,s1;s0=peg$currPos;s1=peg$parsemessageText();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c2(s1)}s0=s1;return s0}function peg$parseargument(){var s0,s1,s2;s0=peg$parsenumber();if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c3.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c4)}if(s2!==peg$FAILED)while(s2!==peg$FAILED){s1.push(s2);if(peg$c3.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c4)}}else s1=peg$FAILED;s0=s1!==peg$FAILED?input.substring(s0,peg$currPos):s1}return s0}function peg$parseargumentElement(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(123===input.charCodeAt(peg$currPos)){s1=peg$c5;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c6)}if(s1!==peg$FAILED){s2=peg$parse_();if(s2!==peg$FAILED){s3=peg$parseargument();if(s3!==peg$FAILED){s4=peg$parse_();if(s4!==peg$FAILED){s5=peg$currPos;if(44===input.charCodeAt(peg$currPos)){s6=peg$c7;peg$currPos++}else{s6=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c8)}if(s6!==peg$FAILED){s7=peg$parse_();if(s7!==peg$FAILED){s8=peg$parseelementFormat();if(s8!==peg$FAILED){s6=[s6,s7,s8];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}s5===peg$FAILED&&(s5=null);if(s5!==peg$FAILED){s6=peg$parse_();if(s6!==peg$FAILED){if(125===input.charCodeAt(peg$currPos)){s7=peg$c9;peg$currPos++}else{s7=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c10)}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c11(s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseelementFormat(){var s0;s0=peg$parsesimpleFormat();if(s0===peg$FAILED){s0=peg$parsepluralFormat();if(s0===peg$FAILED){s0=peg$parseselectOrdinalFormat();s0===peg$FAILED&&(s0=peg$parseselectFormat())}}return s0}function peg$parsesimpleFormat(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c12){s1=peg$c12;peg$currPos+=6}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c13)}if(s1===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c14){s1=peg$c14;peg$currPos+=4}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c15)}if(s1===peg$FAILED)if(input.substr(peg$currPos,4)===peg$c16){s1=peg$c16;peg$currPos+=4}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c17)}}if(s1!==peg$FAILED){s2=peg$parse_();if(s2!==peg$FAILED){s3=peg$currPos;if(44===input.charCodeAt(peg$currPos)){s4=peg$c7;peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c8)}if(s4!==peg$FAILED){s5=peg$parse_();if(s5!==peg$FAILED){s6=peg$parsechars();if(s6!==peg$FAILED){s4=[s4,s5,s6];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}s3===peg$FAILED&&(s3=null);if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c18(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parsepluralFormat(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c19){s1=peg$c19;peg$currPos+=6}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c20)}if(s1!==peg$FAILED){s2=peg$parse_();if(s2!==peg$FAILED){if(44===input.charCodeAt(peg$currPos)){s3=peg$c7;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c8)}if(s3!==peg$FAILED){s4=peg$parse_();if(s4!==peg$FAILED){s5=peg$parsepluralStyle();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c21(s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseselectOrdinalFormat(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c22){s1=peg$c22;peg$currPos+=13}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c23)}if(s1!==peg$FAILED){s2=peg$parse_();if(s2!==peg$FAILED){if(44===input.charCodeAt(peg$currPos)){s3=peg$c7;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c8)}if(s3!==peg$FAILED){s4=peg$parse_();if(s4!==peg$FAILED){s5=peg$parsepluralStyle();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c24(s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseselectFormat(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c25){s1=peg$c25;peg$currPos+=6}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c26)}if(s1!==peg$FAILED){s2=peg$parse_();if(s2!==peg$FAILED){if(44===input.charCodeAt(peg$currPos)){s3=peg$c7;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c8)}if(s3!==peg$FAILED){s4=peg$parse_();if(s4!==peg$FAILED){s5=[];s6=peg$parseoptionalFormatPattern();if(s6!==peg$FAILED)while(s6!==peg$FAILED){s5.push(s6);s6=peg$parseoptionalFormatPattern()}else s5=peg$FAILED;if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c27(s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseselector(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$currPos;if(61===input.charCodeAt(peg$currPos)){s2=peg$c28;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c29)}if(s2!==peg$FAILED){s3=peg$parsenumber();if(s3!==peg$FAILED){s2=[s2,s3];s1=s2}else{peg$currPos=s1;s1=peg$FAILED}}else{peg$currPos=s1;s1=peg$FAILED}s0=s1!==peg$FAILED?input.substring(s0,peg$currPos):s1;s0===peg$FAILED&&(s0=peg$parsechars());return s0}function peg$parseoptionalFormatPattern(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;s1=peg$parse_();if(s1!==peg$FAILED){s2=peg$parseselector();if(s2!==peg$FAILED){s3=peg$parse_();if(s3!==peg$FAILED){if(123===input.charCodeAt(peg$currPos)){s4=peg$c5;peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c6)}if(s4!==peg$FAILED){s5=peg$parse_();if(s5!==peg$FAILED){s6=peg$parsemessageFormatPattern();if(s6!==peg$FAILED){s7=peg$parse_();if(s7!==peg$FAILED){if(125===input.charCodeAt(peg$currPos)){s8=peg$c9;peg$currPos++}else{s8=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c10)}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c30(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseoffset(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c31){s1=peg$c31;peg$currPos+=7}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c32)}if(s1!==peg$FAILED){s2=peg$parse_();if(s2!==peg$FAILED){s3=peg$parsenumber();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c33(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parsepluralStyle(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseoffset();s1===peg$FAILED&&(s1=null);if(s1!==peg$FAILED){s2=peg$parse_();if(s2!==peg$FAILED){s3=[];s4=peg$parseoptionalFormatPattern();if(s4!==peg$FAILED)while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseoptionalFormatPattern()}else s3=peg$FAILED;if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c34(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parsews(){var s0,s1;peg$silentFails++;s0=[];if(peg$c36.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c37)}if(s1!==peg$FAILED)while(s1!==peg$FAILED){s0.push(s1);if(peg$c36.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c37)}}else s0=peg$FAILED;peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c35)}return s0}function peg$parse_(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=[];s2=peg$parsews();while(s2!==peg$FAILED){s1.push(s2);s2=peg$parsews()}s0=s1!==peg$FAILED?input.substring(s0,peg$currPos):s1;peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c38)}return s0}function peg$parsedigit(){var s0;if(peg$c39.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c40)}return s0}function peg$parsehexDigit(){var s0;if(peg$c41.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c42)}return s0}function peg$parsenumber(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(48===input.charCodeAt(peg$currPos)){s1=peg$c43;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c44)}if(s1===peg$FAILED){s1=peg$currPos;s2=peg$currPos;if(peg$c45.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c46)}if(s3!==peg$FAILED){s4=[];s5=peg$parsedigit();while(s5!==peg$FAILED){s4.push(s5);s5=peg$parsedigit()}if(s4!==peg$FAILED){s3=[s3,s4];s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}s1=s2!==peg$FAILED?input.substring(s1,peg$currPos):s2}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c47(s1)}s0=s1;return s0}function peg$parsechar(){var s0,s1,s2,s3,s4,s5,s6,s7;if(peg$c48.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c49)}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c50){s1=peg$c50;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c51)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c52()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c53){s1=peg$c53;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c54)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c55()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c56){s1=peg$c56;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c57)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c58()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c59){s1=peg$c59;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c60)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c61()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c62){s1=peg$c62;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c63)}if(s1!==peg$FAILED){s2=peg$currPos;s3=peg$currPos;s4=peg$parsehexDigit();if(s4!==peg$FAILED){s5=peg$parsehexDigit();if(s5!==peg$FAILED){s6=peg$parsehexDigit();if(s6!==peg$FAILED){s7=peg$parsehexDigit();if(s7!==peg$FAILED){s4=[s4,s5,s6,s7];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}s2=s3!==peg$FAILED?input.substring(s2,peg$currPos):s3;if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c64(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}}}return s0}function peg$parsechars(){var s0,s1,s2;s0=peg$currPos;s1=[];s2=peg$parsechar();if(s2!==peg$FAILED)while(s2!==peg$FAILED){s1.push(s2);s2=peg$parsechar()}else s1=peg$FAILED;if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c65(s1)}s0=s1;return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length)return peg$result;peg$result!==peg$FAILED&&peg$currPos<input.length&&peg$fail({type:"end",description:"end of input"});throw peg$buildException(null,peg$maxFailExpected,peg$maxFailPos<input.length?input.charAt(peg$maxFailPos):null,peg$maxFailPos<input.length?peg$computeLocation(peg$maxFailPos,peg$maxFailPos+1):peg$computeLocation(peg$maxFailPos,peg$maxFailPos))}return{SyntaxError:peg$SyntaxError,parse:peg$parse}}()},function(module,exports,__webpack_require__){"use strict";exports["default"]={locale:"en",pluralRuleFunction:function(n,ord){var s=String(n).split("."),v0=!s[1],t0=Number(s[0])==n,n10=t0&&s[0].slice(-1),n100=t0&&s[0].slice(-2);if(ord)return 1==n10&&11!=n100?"one":2==n10&&12!=n100?"two":3==n10&&13!=n100?"few":"other";return 1==n&&v0?"one":"other"}}},function(module,exports){},function(module,exports,__webpack_require__){"use strict";var src$core$$=__webpack_require__(1944),src$en$$=__webpack_require__(1947);src$core$$["default"].__addLocaleData(src$en$$["default"]);src$core$$["default"].defaultLocale="en";exports["default"]=src$core$$["default"]},function(module,exports,__webpack_require__){"use strict";var intl$messageformat$$=__webpack_require__(320),src$diff$$=__webpack_require__(1945),src$es5$$=__webpack_require__(1946);exports["default"]=RelativeFormat;var FIELDS=["second","second-short","minute","minute-short","hour","hour-short","day","day-short","month","month-short","year","year-short"];var STYLES=["best fit","numeric"];function RelativeFormat(locales,options){options=options||{};src$es5$$.isArray(locales)&&(locales=locales.concat());src$es5$$.defineProperty(this,"_locale",{value:this._resolveLocale(locales)});src$es5$$.defineProperty(this,"_options",{value:{style:this._resolveStyle(options.style),units:this._isValidUnits(options.units)&&options.units}});src$es5$$.defineProperty(this,"_locales",{value:locales});src$es5$$.defineProperty(this,"_fields",{value:this._findFields(this._locale)});src$es5$$.defineProperty(this,"_messages",{value:src$es5$$.objCreate(null)});var relativeFormat=this;this.format=function format(date,options){return relativeFormat._format(date,options)}}src$es5$$.defineProperty(RelativeFormat,"__localeData__",{value:src$es5$$.objCreate(null)});src$es5$$.defineProperty(RelativeFormat,"__addLocaleData",{value:function(data){if(!(data&&data.locale))throw new Error("Locale data provided to IntlRelativeFormat is missing a `locale` property value");RelativeFormat.__localeData__[data.locale.toLowerCase()]=data;intl$messageformat$$["default"].__addLocaleData(data)}});src$es5$$.defineProperty(RelativeFormat,"defaultLocale",{enumerable:true,writable:true,value:void 0});src$es5$$.defineProperty(RelativeFormat,"thresholds",{enumerable:true,value:{second:45,"second-short":45,minute:45,"minute-short":45,hour:22,"hour-short":22,day:26,"day-short":26,month:11,"month-short":11}});RelativeFormat.prototype.resolvedOptions=function(){return{locale:this._locale,style:this._options.style,units:this._options.units}};RelativeFormat.prototype._compileMessage=function(units){var locales=this._locales;this._locale;var field=this._fields[units];var relativeTime=field.relativeTime;var future="";var past="";var i;for(i in relativeTime.future)relativeTime.future.hasOwnProperty(i)&&(future+=" "+i+" {"+relativeTime.future[i].replace("{0}","#")+"}");for(i in relativeTime.past)relativeTime.past.hasOwnProperty(i)&&(past+=" "+i+" {"+relativeTime.past[i].replace("{0}","#")+"}");var message="{when, select, future {{0, plural, "+future+"}}past {{0, plural, "+past+"}}}";return new intl$messageformat$$["default"](message,locales)};RelativeFormat.prototype._getMessage=function(units){var messages=this._messages;messages[units]||(messages[units]=this._compileMessage(units));return messages[units]};RelativeFormat.prototype._getRelativeUnits=function(diff,units){var field=this._fields[units];if(field.relative)return field.relative[diff]};RelativeFormat.prototype._findFields=function(locale){var localeData=RelativeFormat.__localeData__;var data=localeData[locale.toLowerCase()];while(data){if(data.fields)return data.fields;data=data.parentLocale&&localeData[data.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlRelativeFormat is missing `fields` for :"+locale)};RelativeFormat.prototype._format=function(date,options){var now=options&&void 0!==options.now?options.now:src$es5$$.dateNow();void 0===date&&(date=now);if(!isFinite(now))throw new RangeError("The `now` option provided to IntlRelativeFormat#format() is not in valid range.");if(!isFinite(date))throw new RangeError("The date value provided to IntlRelativeFormat#format() is not in valid range.");var diffReport=src$diff$$["default"](now,date);var units=this._options.units||this._selectUnits(diffReport);var diffInUnits=diffReport[units];if("numeric"!==this._options.style){var relativeUnits=this._getRelativeUnits(diffInUnits,units);if(relativeUnits)return relativeUnits}return this._getMessage(units).format({0:Math.abs(diffInUnits),when:diffInUnits<0?"past":"future"})};RelativeFormat.prototype._isValidUnits=function(units){if(!units||src$es5$$.arrIndexOf.call(FIELDS,units)>=0)return true;if("string"===typeof units){var suggestion=/s$/.test(units)&&units.substr(0,units.length-1);if(suggestion&&src$es5$$.arrIndexOf.call(FIELDS,suggestion)>=0)throw new Error('"'+units+'" is not a valid IntlRelativeFormat `units` value, did you mean: '+suggestion)}throw new Error('"'+units+'" is not a valid IntlRelativeFormat `units` value, it must be one of: "'+FIELDS.join('", "')+'"')};RelativeFormat.prototype._resolveLocale=function(locales){"string"===typeof locales&&(locales=[locales]);locales=(locales||[]).concat(RelativeFormat.defaultLocale);var localeData=RelativeFormat.__localeData__;var i,len,localeParts,data;for(i=0,len=locales.length;i<len;i+=1){localeParts=locales[i].toLowerCase().split("-");while(localeParts.length){data=localeData[localeParts.join("-")];if(data)return data.locale;localeParts.pop()}}var defaultLocale=locales.pop();throw new Error("No locale data has been added to IntlRelativeFormat for: "+locales.join(", ")+", or the default locale: "+defaultLocale)};RelativeFormat.prototype._resolveStyle=function(style){if(!style)return STYLES[0];if(src$es5$$.arrIndexOf.call(STYLES,style)>=0)return style;throw new Error('"'+style+'" is not a valid IntlRelativeFormat `style` value, it must be one of: "'+STYLES.join('", "')+'"')};RelativeFormat.prototype._selectUnits=function(diffReport){var i,l,units;var fields=FIELDS.filter(function(field){return field.indexOf("-short")<1});for(i=0,l=fields.length;i<l;i+=1){units=fields[i];if(Math.abs(diffReport[units])<RelativeFormat.thresholds[units])break}return units}},function(module,exports,__webpack_require__){"use strict";var round=Math.round;function daysToYears(days){return 400*days/146097}exports["default"]=function(from,to){from=+from;to=+to;var millisecond=round(to-from),second=round(millisecond/1e3),minute=round(second/60),hour=round(minute/60),day=round(hour/24),week=round(day/7);var rawYears=daysToYears(day),month=round(12*rawYears),year=round(rawYears);return{millisecond:millisecond,second:second,"second-short":second,minute:minute,"minute-short":minute,hour:hour,"hour-short":hour,day:day,"day-short":day,week:week,"week-short":week,month:month,"month-short":month,year:year,"year-short":year}}},function(module,exports,__webpack_require__){"use strict";var hop=Object.prototype.hasOwnProperty;var toString=Object.prototype.toString;var realDefineProp=function(){try{return!!Object.defineProperty({},"a",{})}catch(e){return false}}();!realDefineProp&&Object.prototype.__defineGetter__;var defineProperty=realDefineProp?Object.defineProperty:function(obj,name,desc){"get"in desc&&obj.__defineGetter__?obj.__defineGetter__(name,desc.get):(!hop.call(obj,name)||"value"in desc)&&(obj[name]=desc.value)};var objCreate=Object.create||function(proto,props){var obj,k;function F(){}F.prototype=proto;obj=new F;for(k in props)hop.call(props,k)&&defineProperty(obj,k,props[k]);return obj};var arrIndexOf=Array.prototype.indexOf||function(search,fromIndex){var arr=this;if(!arr.length)return-1;for(var i=fromIndex||0,max=arr.length;i<max;i++)if(arr[i]===search)return i;return-1};var isArray=Array.isArray||function(obj){return"[object Array]"===toString.call(obj)};var dateNow=Date.now||function(){return(new Date).getTime()};exports.defineProperty=defineProperty,exports.objCreate=objCreate,exports.arrIndexOf=arrIndexOf,exports.isArray=isArray,exports.dateNow=dateNow},function(module,exports,__webpack_require__){"use strict";exports["default"]={locale:"en",pluralRuleFunction:function(n,ord){var s=String(n).split("."),v0=!s[1],t0=Number(s[0])==n,n10=t0&&s[0].slice(-1),n100=t0&&s[0].slice(-2);if(ord)return 1==n10&&11!=n100?"one":2==n10&&12!=n100?"two":3==n10&&13!=n100?"few":"other";return 1==n&&v0?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}}}},function(module,exports){},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.mergeAll=exports.unique=exports.hasValues=exports.isObject=exports.isString=void 0;function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};var ownKeys=Object.keys(source);"function"===typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable})));ownKeys.forEach(function(key){_defineProperty(target,key,source[key])})}return target}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}var isString=function isString(value){return"string"===typeof value};exports.isString=isString;var isObject=function isObject(value){return"object"===_typeof(value)&&null!==value};exports.isObject=isObject;var hasValues=function hasValues(values){return Object.keys(values).length>0};exports.hasValues=hasValues;var unique=function unique(){var arr=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return _toConsumableArray(new Set(arr))};exports.unique=unique;var merge=function merge(a,b){return unique([].concat(_toConsumableArray(Object.keys(a)),_toConsumableArray(Object.keys(b)))).reduce(function(acc,key){if(isObject(a[key])&&isObject(b[key])&&!Array.isArray(a[key])&&!Array.isArray(b[key]))return _objectSpread({},acc,_defineProperty({},key,merge(a[key],b[key])));return _objectSpread({},acc,_defineProperty({},key,void 0===b[key]?a[key]:b[key]))},{})};var mergeAll=function mergeAll(){for(var _len=arguments.length,sources=new Array(_len),_key=0;_key<_len;_key++)sources[_key]=arguments[_key];return sources.filter(isObject).reduce(function(acc,source){return merge(acc,source)})};exports.mergeAll=mergeAll},function(module,exports,__webpack_require__){"use strict";var _intlMessageformat=_interopRequireDefault(__webpack_require__(320));var _intlRelativeformat=_interopRequireDefault(__webpack_require__(458));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function addLocaleData(localeData){_intlMessageformat.default.__addLocaleData(localeData);_intlRelativeformat.default.__addLocaleData(localeData)}addLocaleData({locale:"en",pluralRuleFunction:function pluralRuleFunction(n,ord){var s=String(n).split("."),v0=!s[1],t0=Number(s[0])==n,n10=t0&&s[0].slice(-1),n100=t0&&s[0].slice(-2);if(ord)return 1==n10&&11!=n100?"one":2==n10&&12!=n100?"two":3==n10&&13!=n100?"few":"other";return 1==n&&v0?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}}});addLocaleData({locale:"en-US",parentLocale:"en"});addLocaleData({locale:"en-xa",pluralRuleFunction:function pluralRuleFunction(n,ord){var s=String(n).split("."),v0=!s[1],t0=Number(s[0])==n,n10=t0&&s[0].slice(-1),n100=t0&&s[0].slice(-2);if(ord)return 1==n10&&11!=n100?"one":2==n10&&12!=n100?"two":3==n10&&13!=n100?"few":"other";return 1==n&&v0?"one":"other"},fields:{year:{displayName:"ýéààŕ",relative:{0:"ţĥîîš ýééàŕ",1:"ñéẋẋţ ýééàŕ","-1":"ļàššţ ýééàŕ"},relativeTime:{future:{one:"îñ {0} ýýéàŕŕ",other:"îñ {0} ýýéàŕŕš"},past:{one:"{0} ýéààŕ àĝĝô",other:"{0} ýéààŕš ààĝô"}}},"year-short":{displayName:"ýŕ.",relative:{0:"ţĥîîš ýŕŕ.",1:"ñéẋẋţ ýŕŕ.","-1":"ļàššţ ýŕŕ."},relativeTime:{future:{one:"îñ {0} ýýŕ.",other:"îñ {0} ýýŕ."},past:{one:"{0} ýŕ. ààĝô",other:"{0} ýŕ. ààĝô"}}},month:{displayName:"ɱôññţĥ",relative:{0:"ţĥîîš ɱôôñţĥĥ",1:"ñéẋẋţ ɱôôñţĥĥ","-1":"ļàššţ ɱôôñţĥĥ"},relativeTime:{future:{one:"îñ {0} ɱɱôñţţĥ",other:"îñ {0} ɱɱôñţţĥš"},past:{one:"{0} ɱôññţĥ ààĝô",other:"{0} ɱôññţĥšš àĝôô"}}},"month-short":{displayName:"ɱô.",relative:{0:"ţĥîîš ɱôô.",1:"ñéẋẋţ ɱôô.","-1":"ļàššţ ɱôô."},relativeTime:{future:{one:"îñ {0} ɱɱô.",other:"îñ {0} ɱɱô."},past:{one:"{0} ɱô. ààĝô",other:"{0} ɱô. ààĝô"}}},day:{displayName:"ðàýý",relative:{0:"ţôððàý",1:"ţôɱɱôŕŕŕôŵ","-1":"ýéššţéŕŕðàýý"},relativeTime:{future:{one:"îñ {0} ððàý",other:"îñ {0} ððàýšš"},past:{one:"{0} ðàýý àĝôô",other:"{0} ðàýýš àĝĝô"}}},"day-short":{displayName:"ðàýý",relative:{0:"ţôððàý",1:"ţôɱɱôŕŕŕôŵ","-1":"ýéššţéŕŕðàýý"},relativeTime:{future:{one:"îñ {0} ððàý",other:"îñ {0} ððàýšš"},past:{one:"{0} ðàýý àĝôô",other:"{0} ðàýýš àĝĝô"}}},hour:{displayName:"ĥôûûŕ",relative:{0:"ţĥîîš ĥôôûŕ"},relativeTime:{future:{one:"îñ {0} ĥĥôûŕŕ",other:"îñ {0} ĥĥôûŕŕš"},past:{one:"{0} ĥôûûŕ àĝĝô",other:"{0} ĥôûûŕš ààĝô"}}},"hour-short":{displayName:"ĥŕ.",relative:{0:"ţĥîîš ĥôôûŕ"},relativeTime:{future:{one:"îñ {0} ĥĥŕ.",other:"îñ {0} ĥĥŕ."},past:{one:"{0} ĥŕ. ààĝô",other:"{0} ĥŕ. ààĝô"}}},minute:{displayName:"ɱîññûţéé",relative:{0:"ţĥîîš ɱîîñûţţé"},relativeTime:{future:{one:"îñ {0} ɱɱîñûûţé",other:"îñ {0} ɱɱîñûûţéšš"},past:{one:"{0} ɱîññûţéé àĝôô",other:"{0} ɱîññûţééš àĝĝô"}}},"minute-short":{displayName:"ɱîññ.",relative:{0:"ţĥîîš ɱîîñûţţé"},relativeTime:{future:{one:"îñ {0} ɱɱîñ.",other:"îñ {0} ɱɱîñ."},past:{one:"{0} ɱîññ. àĝôô",other:"{0} ɱîññ. àĝôô"}}},second:{displayName:"šéççôñðð",relative:{0:"ñôŵŵ"},relativeTime:{future:{one:"îñ {0} ššéçôôñð",other:"îñ {0} ššéçôôñðšš"},past:{one:"{0} šéççôñðð àĝôô",other:"{0} šéççôñððš àĝĝô"}}},"second-short":{displayName:"šéçç.",relative:{0:"ñôŵŵ"},relativeTime:{future:{one:"îñ {0} ššéç.",other:"îñ {0} ššéç."},past:{one:"{0} šéçç. àĝôô",other:"{0} šéçç. àĝôô"}}}}});addLocaleData({locale:"es",pluralRuleFunction:function pluralRuleFunction(n,ord){if(ord)return"other";return 1==n?"one":"other"},fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},"year-short":{displayName:"a",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} a",other:"dentro de {0} a"},past:{one:"hace {0} a",other:"hace {0} a"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},"month-short":{displayName:"m",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} m",other:"dentro de {0} m"},past:{one:"hace {0} m",other:"hace {0} m"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},"day-short":{displayName:"d",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},"hour-short":{displayName:"h",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} h",other:"dentro de {0} h"},past:{one:"hace {0} h",other:"hace {0} h"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},"minute-short":{displayName:"min",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} min",other:"dentro de {0} min"},past:{one:"hace {0} min",other:"hace {0} min"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}},"second-short":{displayName:"s",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} s",other:"dentro de {0} s"},past:{one:"hace {0} s",other:"hace {0} s"}}}}});addLocaleData({locale:"es-LA",parentLocale:"es"});addLocaleData({locale:"fr",pluralRuleFunction:function pluralRuleFunction(n,ord){if(ord)return 1==n?"one":"other";return n>=0&&n<2?"one":"other"},fields:{year:{displayName:"année",relative:{0:"cette année",1:"l’année prochaine","-1":"l’année dernière"},relativeTime:{future:{one:"dans {0} an",other:"dans {0} ans"},past:{one:"il y a {0} an",other:"il y a {0} ans"}}},"year-short":{displayName:"an",relative:{0:"cette année",1:"l’année prochaine","-1":"l’année dernière"},relativeTime:{future:{one:"dans {0} a",other:"dans {0} a"},past:{one:"il y a {0} a",other:"il y a {0} a"}}},month:{displayName:"mois",relative:{0:"ce mois-ci",1:"le mois prochain","-1":"le mois dernier"},relativeTime:{future:{one:"dans {0} mois",other:"dans {0} mois"},past:{one:"il y a {0} mois",other:"il y a {0} mois"}}},"month-short":{displayName:"m.",relative:{0:"ce mois-ci",1:"le mois prochain","-1":"le mois dernier"},relativeTime:{future:{one:"dans {0} m.",other:"dans {0} m."},past:{one:"il y a {0} m.",other:"il y a {0} m."}}},day:{displayName:"jour",relative:{0:"aujourd’hui",1:"demain",2:"après-demain","-2":"avant-hier","-1":"hier"},relativeTime:{future:{one:"dans {0} jour",other:"dans {0} jours"},past:{one:"il y a {0} jour",other:"il y a {0} jours"}}},"day-short":{displayName:"j",relative:{0:"aujourd’hui",1:"demain",2:"après-demain","-2":"avant-hier","-1":"hier"},relativeTime:{future:{one:"dans {0} j",other:"dans {0} j"},past:{one:"il y a {0} j",other:"il y a {0} j"}}},hour:{displayName:"heure",relative:{0:"cette heure-ci"},relativeTime:{future:{one:"dans {0} heure",other:"dans {0} heures"},past:{one:"il y a {0} heure",other:"il y a {0} heures"}}},"hour-short":{displayName:"h",relative:{0:"cette heure-ci"},relativeTime:{future:{one:"dans {0} h",other:"dans {0} h"},past:{one:"il y a {0} h",other:"il y a {0} h"}}},minute:{displayName:"minute",relative:{0:"cette minute-ci"},relativeTime:{future:{one:"dans {0} minute",other:"dans {0} minutes"},past:{one:"il y a {0} minute",other:"il y a {0} minutes"}}},"minute-short":{displayName:"min",relative:{0:"cette minute-ci"},relativeTime:{future:{one:"dans {0} min",other:"dans {0} min"},past:{one:"il y a {0} min",other:"il y a {0} min"}}},second:{displayName:"seconde",relative:{0:"maintenant"},relativeTime:{future:{one:"dans {0} seconde",other:"dans {0} secondes"},past:{one:"il y a {0} seconde",other:"il y a {0} secondes"}}},"second-short":{displayName:"s",relative:{0:"maintenant"},relativeTime:{future:{one:"dans {0} s",other:"dans {0} s"},past:{one:"il y a {0} s",other:"il y a {0} s"}}}}});addLocaleData({locale:"fr-FR",parentLocale:"fr"});addLocaleData({locale:"de",pluralRuleFunction:function pluralRuleFunction(n,ord){var s=String(n).split("."),v0=!s[1];if(ord)return"other";return 1==n&&v0?"one":"other"},fields:{year:{displayName:"Jahr",relative:{0:"dieses Jahr",1:"nächstes Jahr","-1":"letztes Jahr"},relativeTime:{future:{one:"in {0} Jahr",other:"in {0} Jahren"},past:{one:"vor {0} Jahr",other:"vor {0} Jahren"}}},"year-short":{displayName:"Jahr",relative:{0:"dieses Jahr",1:"nächstes Jahr","-1":"letztes Jahr"},relativeTime:{future:{one:"in {0} Jahr",other:"in {0} Jahren"},past:{one:"vor {0} Jahr",other:"vor {0} Jahren"}}},month:{displayName:"Monat",relative:{0:"diesen Monat",1:"nächsten Monat","-1":"letzten Monat"},relativeTime:{future:{one:"in {0} Monat",other:"in {0} Monaten"},past:{one:"vor {0} Monat",other:"vor {0} Monaten"}}},"month-short":{displayName:"Monat",relative:{0:"diesen Monat",1:"nächsten Monat","-1":"letzten Monat"},relativeTime:{future:{one:"in {0} Monat",other:"in {0} Monaten"},past:{one:"vor {0} Monat",other:"vor {0} Monaten"}}},day:{displayName:"Tag",relative:{0:"heute",1:"morgen",2:"übermorgen","-2":"vorgestern","-1":"gestern"},relativeTime:{future:{one:"in {0} Tag",other:"in {0} Tagen"},past:{one:"vor {0} Tag",other:"vor {0} Tagen"}}},"day-short":{displayName:"Tag",relative:{0:"heute",1:"morgen",2:"übermorgen","-2":"vorgestern","-1":"gestern"},relativeTime:{future:{one:"in {0} Tag",other:"in {0} Tagen"},past:{one:"vor {0} Tag",other:"vor {0} Tagen"}}},hour:{displayName:"Stunde",relative:{0:"in dieser Stunde"},relativeTime:{future:{one:"in {0} Stunde",other:"in {0} Stunden"},past:{one:"vor {0} Stunde",other:"vor {0} Stunden"}}},"hour-short":{displayName:"Std.",relative:{0:"in dieser Stunde"},relativeTime:{future:{one:"in {0} Std.",other:"in {0} Std."},past:{one:"vor {0} Std.",other:"vor {0} Std."}}},minute:{displayName:"Minute",relative:{0:"in dieser Minute"},relativeTime:{future:{one:"in {0} Minute",other:"in {0} Minuten"},past:{one:"vor {0} Minute",other:"vor {0} Minuten"}}},"minute-short":{displayName:"Min.",relative:{0:"in dieser Minute"},relativeTime:{future:{one:"in {0} Min.",other:"in {0} Min."},past:{one:"vor {0} Min.",other:"vor {0} Min."}}},second:{displayName:"Sekunde",relative:{0:"jetzt"},relativeTime:{future:{one:"in {0} Sekunde",other:"in {0} Sekunden"},past:{one:"vor {0} Sekunde",other:"vor {0} Sekunden"}}},"second-short":{displayName:"Sek.",relative:{0:"jetzt"},relativeTime:{future:{one:"in {0} Sek.",other:"in {0} Sek."},past:{one:"vor {0} Sek.",other:"vor {0} Sek."}}}}});addLocaleData({locale:"de-DE",parentLocale:"de"});addLocaleData({locale:"ja",pluralRuleFunction:function pluralRuleFunction(n,ord){if(ord)return"other";return"other"},fields:{year:{displayName:"年",relative:{0:"今年",1:"翌年","-1":"昨年"},relativeTime:{future:{other:"{0} 年後"},past:{other:"{0} 年前"}}},"year-short":{displayName:"年",relative:{0:"今年",1:"翌年","-1":"昨年"},relativeTime:{future:{other:"{0} 年後"},past:{other:"{0} 年前"}}},month:{displayName:"月",relative:{0:"今月",1:"翌月","-1":"先月"},relativeTime:{future:{other:"{0} か月後"},past:{other:"{0} か月前"}}},"month-short":{displayName:"月",relative:{0:"今月",1:"翌月","-1":"先月"},relativeTime:{future:{other:"{0} か月後"},past:{other:"{0} か月前"}}},day:{displayName:"日",relative:{0:"今日",1:"明日",2:"明後日","-2":"一昨日","-1":"昨日"},relativeTime:{future:{other:"{0} 日後"},past:{other:"{0} 日前"}}},"day-short":{displayName:"日",relative:{0:"今日",1:"明日",2:"明後日","-2":"一昨日","-1":"昨日"},relativeTime:{future:{other:"{0} 日後"},past:{other:"{0} 日前"}}},hour:{displayName:"時",relative:{0:"1 時間以内"},relativeTime:{future:{other:"{0} 時間後"},past:{other:"{0} 時間前"}}},"hour-short":{displayName:"時",relative:{0:"1 時間以内"},relativeTime:{future:{other:"{0} 時間後"},past:{other:"{0} 時間前"}}},minute:{displayName:"分",relative:{0:"1 分以内"},relativeTime:{future:{other:"{0} 分後"},past:{other:"{0} 分前"}}},"minute-short":{displayName:"分",relative:{0:"1 分以内"},relativeTime:{future:{other:"{0} 分後"},past:{other:"{0} 分前"}}},second:{displayName:"秒",relative:{0:"今"},relativeTime:{future:{other:"{0} 秒後"},past:{other:"{0} 秒前"}}},"second-short":{displayName:"秒",relative:{0:"今"},relativeTime:{future:{other:"{0} 秒後"},past:{other:"{0} 秒前"}}}}});addLocaleData({locale:"ja-JP",parentLocale:"ja"});addLocaleData({locale:"ko",pluralRuleFunction:function pluralRuleFunction(n,ord){if(ord)return"other";return"other"},fields:{year:{displayName:"년",relative:{0:"올해",1:"내년","-1":"작년"},relativeTime:{future:{other:"{0}년 후"},past:{other:"{0}년 전"}}},"year-short":{displayName:"년",relative:{0:"올해",1:"내년","-1":"작년"},relativeTime:{future:{other:"{0}년 후"},past:{other:"{0}년 전"}}},month:{displayName:"월",relative:{0:"이번 달",1:"다음 달","-1":"지난달"},relativeTime:{future:{other:"{0}개월 후"},past:{other:"{0}개월 전"}}},"month-short":{displayName:"월",relative:{0:"이번 달",1:"다음 달","-1":"지난달"},relativeTime:{future:{other:"{0}개월 후"},past:{other:"{0}개월 전"}}},day:{displayName:"일",relative:{0:"오늘",1:"내일",2:"모레","-2":"그저께","-1":"어제"},relativeTime:{future:{other:"{0}일 후"},past:{other:"{0}일 전"}}},"day-short":{displayName:"일",relative:{0:"오늘",1:"내일",2:"모레","-2":"그저께","-1":"어제"},relativeTime:{future:{other:"{0}일 후"},past:{other:"{0}일 전"}}},hour:{displayName:"시",relative:{0:"현재 시간"},relativeTime:{future:{other:"{0}시간 후"},past:{other:"{0}시간 전"}}},"hour-short":{displayName:"시",relative:{0:"현재 시간"},relativeTime:{future:{other:"{0}시간 후"},past:{other:"{0}시간 전"}}},minute:{displayName:"분",relative:{0:"현재 분"},relativeTime:{future:{other:"{0}분 후"},past:{other:"{0}분 전"}}},"minute-short":{displayName:"분",relative:{0:"현재 분"},relativeTime:{future:{other:"{0}분 후"},past:{other:"{0}분 전"}}},second:{displayName:"초",relative:{0:"지금"},relativeTime:{future:{other:"{0}초 후"},past:{other:"{0}초 전"}}},"second-short":{displayName:"초",relative:{0:"지금"},relativeTime:{future:{other:"{0}초 후"},past:{other:"{0}초 전"}}}}});addLocaleData({locale:"ko-KR",parentLocale:"ko"});addLocaleData({locale:"zh",pluralRuleFunction:function pluralRuleFunction(n,ord){if(ord)return"other";return"other"},fields:{year:{displayName:"年",relative:{0:"今年",1:"明年","-1":"去年"},relativeTime:{future:{other:"{0}年后"},past:{other:"{0}年前"}}},"year-short":{displayName:"年",relative:{0:"今年",1:"明年","-1":"去年"},relativeTime:{future:{other:"{0}年后"},past:{other:"{0}年前"}}},month:{displayName:"月",relative:{0:"本月",1:"下个月","-1":"上个月"},relativeTime:{future:{other:"{0}个月后"},past:{other:"{0}个月前"}}},"month-short":{displayName:"月",relative:{0:"本月",1:"下个月","-1":"上个月"},relativeTime:{future:{other:"{0}个月后"},past:{other:"{0}个月前"}}},day:{displayName:"日",relative:{0:"今天",1:"明天",2:"后天","-2":"前天","-1":"昨天"},relativeTime:{future:{other:"{0}天后"},past:{other:"{0}天前"}}},"day-short":{displayName:"日",relative:{0:"今天",1:"明天",2:"后天","-2":"前天","-1":"昨天"},relativeTime:{future:{other:"{0}天后"},past:{other:"{0}天前"}}},hour:{displayName:"小时",relative:{0:"这一时间 / 此时"},relativeTime:{future:{other:"{0}小时后"},past:{other:"{0}小时前"}}},"hour-short":{displayName:"小时",relative:{0:"这一时间 / 此时"},relativeTime:{future:{other:"{0}小时后"},past:{other:"{0}小时前"}}},minute:{displayName:"分钟",relative:{0:"此刻"},relativeTime:{future:{other:"{0}分钟后"},past:{other:"{0}分钟前"}}},"minute-short":{displayName:"分",relative:{0:"此刻"},relativeTime:{future:{other:"{0}分钟后"},past:{other:"{0}分钟前"}}},second:{displayName:"秒",relative:{0:"现在"},relativeTime:{future:{other:"{0}秒钟后"},past:{other:"{0}秒钟前"}}},"second-short":{displayName:"秒",relative:{0:"现在"},relativeTime:{future:{other:"{0}秒后"},past:{other:"{0}秒前"}}}}});addLocaleData({locale:"zh-CN",parentLocale:"zh"})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.i18nFilter=i18nFilter;function i18nFilter(i18n){return function(id){var _ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref$defaultMessage=_ref.defaultMessage,defaultMessage=void 0===_ref$defaultMessage?"":_ref$defaultMessage,_ref$values=_ref.values,values=void 0===_ref$values?{}:_ref$values;return i18n(id,{values:values,defaultMessage:defaultMessage})}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.i18nDirective=i18nDirective;function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{_n||null==_i["return"]||_i["return"]()}finally{if(_d)throw _e}}return _arr}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}var HTML_KEY_PREFIX="html_";var PLACEHOLDER_SEPARATOR="@I18N@";function i18nDirective(i18n,$sanitize){return{restrict:"A",scope:{id:"@i18nId",defaultMessage:"@i18nDefaultMessage",values:"<?i18nValues"},link:function link($scope,$element){$scope.values?$scope.$watchCollection("values",function(){setContent($element,$scope,$sanitize,i18n)}):setContent($element,$scope,$sanitize,i18n)}}}function setContent($element,$scope,$sanitize,i18n){var originalValues=$scope.values;var valuesWithPlaceholders={};var hasValuesWithPlaceholders=false;if(originalValues){var _arr=Object.entries(originalValues);for(var _i=0;_i<_arr.length;_i++){var _arr$_i=_slicedToArray(_arr[_i],2),key=_arr$_i[0],value=_arr$_i[1];if(key.startsWith(HTML_KEY_PREFIX)){valuesWithPlaceholders[key.slice(HTML_KEY_PREFIX.length)]="".concat(PLACEHOLDER_SEPARATOR).concat(key).concat(PLACEHOLDER_SEPARATOR);hasValuesWithPlaceholders=true}else valuesWithPlaceholders[key]=value}}var label=i18n($scope.id,{values:valuesWithPlaceholders,defaultMessage:$scope.defaultMessage});if(hasValuesWithPlaceholders){$element.empty();var _iteratorNormalCompletion=true;var _didIteratorError=false;var _iteratorError=void 0;try{for(var _step,_iterator=label.split(PLACEHOLDER_SEPARATOR)[Symbol.iterator]();!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=true){var contentOrPlaceholder=_step.value;if(!contentOrPlaceholder)continue;$element.append(originalValues.hasOwnProperty(contentOrPlaceholder)?$sanitize(originalValues[contentOrPlaceholder]):document.createTextNode(contentOrPlaceholder))}}catch(err){_didIteratorError=true;_iteratorError=err}finally{try{_iteratorNormalCompletion||null==_iterator.return||_iterator.return()}finally{if(_didIteratorError)throw _iteratorError}}}else $element.text(label)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"intlShape",{enumerable:true,get:function get(){return _reactIntl.intlShape}});Object.defineProperty(exports,"InjectedIntl",{enumerable:true,get:function get(){return _reactIntl.InjectedIntl}});Object.defineProperty(exports,"FormattedDate",{enumerable:true,get:function get(){return _reactIntl.FormattedDate}});Object.defineProperty(exports,"FormattedTime",{enumerable:true,get:function get(){return _reactIntl.FormattedTime}});Object.defineProperty(exports,"FormattedRelative",{enumerable:true,get:function get(){return _reactIntl.FormattedRelative}});Object.defineProperty(exports,"FormattedNumber",{enumerable:true,get:function get(){return _reactIntl.FormattedNumber}});Object.defineProperty(exports,"FormattedPlural",{enumerable:true,get:function get(){return _reactIntl.FormattedPlural}});Object.defineProperty(exports,"FormattedMessage",{enumerable:true,get:function get(){return _reactIntl.FormattedMessage}});Object.defineProperty(exports,"FormattedHTMLMessage",{enumerable:true,get:function get(){return _reactIntl.FormattedHTMLMessage}});Object.defineProperty(exports,"I18nProvider",{enumerable:true,get:function get(){return _provider.I18nProvider}});Object.defineProperty(exports,"injectI18n",{enumerable:true,get:function get(){return _inject.injectI18n}});var _reactIntl=__webpack_require__(459);var _provider=__webpack_require__(1958);var _inject=__webpack_require__(800)},function(module,exports){},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret=__webpack_require__(1956);function emptyFunction(){}module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;var err=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");err.name="Invariant Violation";throw err}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){"use strict";var invariant=function(condition,format,a,b,c,d,e,f){false;if(!condition){var error;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f];var argIndex=0;error=new Error(format.replace(/%s/g,function(){return args[argIndex++]}));error.name="Invariant Violation"}error.framesToPop=1;throw error}};module.exports=invariant},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.I18nProvider=void 0;var PropTypes=_interopRequireWildcard(__webpack_require__(799));var React=_interopRequireWildcard(__webpack_require__(0));var _reactIntl=__webpack_require__(459);var i18n=_interopRequireWildcard(__webpack_require__(457));var _pseudo_locale=__webpack_require__(797);var _inject=__webpack_require__(800);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};desc.get||desc.set?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj;return newObj}function _typeof(obj){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};return _typeof(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){protoProps&&_defineProperties(Constructor.prototype,protoProps);staticProps&&_defineProperties(Constructor,staticProps);return Constructor}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"===typeof call))return call;return _assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)};return _getPrototypeOf(o)}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){o.__proto__=p;return o};return _setPrototypeOf(o,p)}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function translateFormattedMessageUsingPseudoLocale(message){var formattedMessageDelimiter=message.match(/@__.{10}__@/);if(null!==formattedMessageDelimiter)return message.split(formattedMessageDelimiter[0]).map(function(part){return part.startsWith("ELEMENT-")?part:(0,_pseudo_locale.translateUsingPseudoLocale)(part)}).join(formattedMessageDelimiter[0]);return(0,_pseudo_locale.translateUsingPseudoLocale)(message)}function wrapIntlFormatMessage(child){return React.createElement((0,_inject.injectI18n)(function(_ref){var intl=_ref.intl;var formatMessage=intl.formatMessage;intl.formatMessage=function(){return translateFormattedMessageUsingPseudoLocale(formatMessage.apply(void 0,arguments))};return React.Children.only(child)}))}var I18nProvider=function(_React$PureComponent){_inherits(I18nProvider,_React$PureComponent);function I18nProvider(){_classCallCheck(this,I18nProvider);return _possibleConstructorReturn(this,_getPrototypeOf(I18nProvider).apply(this,arguments))}_createClass(I18nProvider,[{key:"render",value:function render(){return React.createElement(_reactIntl.IntlProvider,{locale:i18n.getLocale(),messages:i18n.getTranslation().messages,defaultLocale:i18n.getDefaultLocale(),formats:i18n.getFormats(),textComponent:React.Fragment},(0,_pseudo_locale.isPseudoLocale)(i18n.getLocale())?wrapIntlFormatMessage(this.props.children):this.props.children)}}]);return I18nProvider}(React.PureComponent);exports.I18nProvider=I18nProvider;_defineProperty(I18nProvider,"propTypes",{children:PropTypes.element.isRequired})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.FunctionsRegistry=void 0;var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _registry=__webpack_require__(461);var _fn=__webpack_require__(802);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.FunctionsRegistry=function(_Registry){(0,_inherits3.default)(FunctionsRegistry,_Registry);function FunctionsRegistry(){(0,_classCallCheck3.default)(this,FunctionsRegistry);return(0,_possibleConstructorReturn3.default)(this,(FunctionsRegistry.__proto__||Object.getPrototypeOf(FunctionsRegistry)).apply(this,arguments))}(0,_createClass3.default)(FunctionsRegistry,[{key:"wrapper",value:function wrapper(obj){return new _fn.Fn(obj)}}]);return FunctionsRegistry}(_registry.Registry)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Arg=Arg;var _lodash=__webpack_require__(10);function Arg(config){var _this=this;if("_"===config.name)throw Error("Arg names must not be _. Use it in aliases instead.");this.name=config.name;this.required=config.required||false;this.help=config.help||"";this.types=config.types||[];this.default=config.default;this.aliases=config.aliases||[];this.multi=null!=config.multi&&config.multi;this.resolve=null==config.resolve||config.resolve;this.options=config.options||[];this.accepts=function(type){if(!_this.types.length)return true;return(0,_lodash.includes)(config.types,type)}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.TypesRegistry=void 0;var _classCallCheck2=__webpack_require__(31);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(35);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(47);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(48);var _inherits3=_interopRequireDefault(_inherits2);var _registry=__webpack_require__(461);var _type=__webpack_require__(1962);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.TypesRegistry=function(_Registry){(0,_inherits3.default)(TypesRegistry,_Registry);function TypesRegistry(){(0,_classCallCheck3.default)(this,TypesRegistry);return(0,_possibleConstructorReturn3.default)(this,(TypesRegistry.__proto__||Object.getPrototypeOf(TypesRegistry)).apply(this,arguments))}(0,_createClass3.default)(TypesRegistry,[{key:"wrapper",value:function wrapper(obj){return new _type.Type(obj)}}]);return TypesRegistry}(_registry.Registry)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Type=Type;var _lodash=__webpack_require__(10);var _get_type=__webpack_require__(195);function Type(config){var _this=this;this.name=config.name;this.help=config.help||"";this.validate=config.validate||function validate(){};this.create=config.create;this.serialize=config.serialize;this.deserialize=config.deserialize;var getToFn=function getToFn(type){return(0,_lodash.get)(config,["to",type])||(0,_lodash.get)(config,["to","*"])};var getFromFn=function getFromFn(type){return(0,_lodash.get)(config,["from",type])||(0,_lodash.get)(config,["from","*"])};this.castsTo=function(type){return"function"===typeof getToFn(type)};this.castsFrom=function(type){return"function"===typeof getFromFn(type)};this.to=function(node,toTypeName,types){var typeName=(0,_get_type.getType)(node);if(typeName!==_this.name)throw new Error("Can not cast object of type '"+typeName+"' using '"+_this.name+"'");if(!_this.castsTo(toTypeName))throw new Error("Can not cast '"+typeName+"' to '"+toTypeName+"'");return getToFn(toTypeName)(node,types)};this.from=function(node,types){var typeName=(0,_get_type.getType)(node);if(!_this.castsFrom(typeName))throw new Error("Can not cast '"+_this.name+"' from "+typeName);return getFromFn(typeName)(node,types)}}},function(module,exports,__webpack_require__){var g=function(){return this}()||Function("return this")();var hadRuntime=g.regeneratorRuntime&&Object.getOwnPropertyNames(g).indexOf("regeneratorRuntime")>=0;var oldRuntime=hadRuntime&&g.regeneratorRuntime;g.regeneratorRuntime=void 0;module.exports=__webpack_require__(1964);if(hadRuntime)g.regeneratorRuntime=oldRuntime;else try{delete g.regeneratorRuntime}catch(e){g.regeneratorRuntime=void 0}},function(module,exports){!function(global){"use strict";var Op=Object.prototype;var hasOwn=Op.hasOwnProperty;var undefined;var $Symbol="function"===typeof Symbol?Symbol:{};var iteratorSymbol=$Symbol.iterator||"@@iterator";var asyncIteratorSymbol=$Symbol.asyncIterator||"@@asyncIterator";var toStringTagSymbol=$Symbol.toStringTag||"@@toStringTag";var inModule="object"===typeof module;var runtime=global.regeneratorRuntime;if(runtime){inModule&&(module.exports=runtime);return}runtime=global.regeneratorRuntime=inModule?module.exports:{};function wrap(innerFn,outerFn,self,tryLocsList){var protoGenerator=outerFn&&outerFn.prototype instanceof Generator?outerFn:Generator;var generator=Object.create(protoGenerator.prototype);var context=new Context(tryLocsList||[]);generator._invoke=makeInvokeMethod(innerFn,self,context);return generator}runtime.wrap=wrap;function tryCatch(fn,obj,arg){try{return{type:"normal",arg:fn.call(obj,arg)}}catch(err){return{type:"throw",arg:err}}}var GenStateSuspendedStart="suspendedStart";var GenStateSuspendedYield="suspendedYield";var GenStateExecuting="executing";var GenStateCompleted="completed";var ContinueSentinel={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var IteratorPrototype={};IteratorPrototype[iteratorSymbol]=function(){return this};var getProto=Object.getPrototypeOf;var NativeIteratorPrototype=getProto&&getProto(getProto(values([])));NativeIteratorPrototype&&NativeIteratorPrototype!==Op&&hasOwn.call(NativeIteratorPrototype,iteratorSymbol)&&(IteratorPrototype=NativeIteratorPrototype);var Gp=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(IteratorPrototype);GeneratorFunction.prototype=Gp.constructor=GeneratorFunctionPrototype;GeneratorFunctionPrototype.constructor=GeneratorFunction;GeneratorFunctionPrototype[toStringTagSymbol]=GeneratorFunction.displayName="GeneratorFunction";function defineIteratorMethods(prototype){["next","throw","return"].forEach(function(method){prototype[method]=function(arg){return this._invoke(method,arg)}})}runtime.isGeneratorFunction=function(genFun){var ctor="function"===typeof genFun&&genFun.constructor;return!!ctor&&(ctor===GeneratorFunction||"GeneratorFunction"===(ctor.displayName||ctor.name))};runtime.mark=function(genFun){if(Object.setPrototypeOf)Object.setPrototypeOf(genFun,GeneratorFunctionPrototype);else{genFun.__proto__=GeneratorFunctionPrototype;toStringTagSymbol in genFun||(genFun[toStringTagSymbol]="GeneratorFunction")}genFun.prototype=Object.create(Gp);return genFun};runtime.awrap=function(arg){return{__await:arg}};function AsyncIterator(generator){function invoke(method,arg,resolve,reject){var record=tryCatch(generator[method],generator,arg);if("throw"!==record.type){var result=record.arg;var value=result.value;if(value&&"object"===typeof value&&hasOwn.call(value,"__await"))return Promise.resolve(value.__await).then(function(value){invoke("next",value,resolve,reject)},function(err){invoke("throw",err,resolve,reject)});return Promise.resolve(value).then(function(unwrapped){result.value=unwrapped;resolve(result)},reject)}reject(record.arg)}var previousPromise;function enqueue(method,arg){function callInvokeWithMethodAndArg(){return new Promise(function(resolve,reject){invoke(method,arg,resolve,reject)})}return previousPromise=previousPromise?previousPromise.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}this._invoke=enqueue}defineIteratorMethods(AsyncIterator.prototype);AsyncIterator.prototype[asyncIteratorSymbol]=function(){return this};runtime.AsyncIterator=AsyncIterator;runtime.async=function(innerFn,outerFn,self,tryLocsList){var iter=new AsyncIterator(wrap(innerFn,outerFn,self,tryLocsList));return runtime.isGeneratorFunction(outerFn)?iter:iter.next().then(function(result){return result.done?result.value:iter.next()})};function makeInvokeMethod(innerFn,self,context){var state=GenStateSuspendedStart;return function invoke(method,arg){if(state===GenStateExecuting)throw new Error("Generator is already running");if(state===GenStateCompleted){if("throw"===method)throw arg;return doneResult()}context.method=method;context.arg=arg;while(true){var delegate=context.delegate;if(delegate){var delegateResult=maybeInvokeDelegate(delegate,context);if(delegateResult){if(delegateResult===ContinueSentinel)continue;return delegateResult}}if("next"===context.method)context.sent=context._sent=context.arg;else if("throw"===context.method){if(state===GenStateSuspendedStart){state=GenStateCompleted;throw context.arg}context.dispatchException(context.arg)}else"return"===context.method&&context.abrupt("return",context.arg);state=GenStateExecuting;var record=tryCatch(innerFn,self,context);if("normal"===record.type){state=context.done?GenStateCompleted:GenStateSuspendedYield;if(record.arg===ContinueSentinel)continue;return{value:record.arg,done:context.done}}if("throw"===record.type){state=GenStateCompleted;context.method="throw";context.arg=record.arg}}}}function maybeInvokeDelegate(delegate,context){var method=delegate.iterator[context.method];if(method===undefined){context.delegate=null;if("throw"===context.method){if(delegate.iterator.return){context.method="return";context.arg=undefined;maybeInvokeDelegate(delegate,context);if("throw"===context.method)return ContinueSentinel}context.method="throw";context.arg=new TypeError("The iterator does not provide a 'throw' method")}return ContinueSentinel}var record=tryCatch(method,delegate.iterator,context.arg);if("throw"===record.type){context.method="throw";context.arg=record.arg;context.delegate=null;return ContinueSentinel}var info=record.arg;if(!info){context.method="throw";context.arg=new TypeError("iterator result is not an object");context.delegate=null;return ContinueSentinel}if(!info.done)return info;context[delegate.resultName]=info.value;context.next=delegate.nextLoc;if("return"!==context.method){context.method="next";context.arg=undefined}context.delegate=null;return ContinueSentinel}defineIteratorMethods(Gp);Gp[toStringTagSymbol]="Generator";Gp[iteratorSymbol]=function(){return this};Gp.toString=function(){return"[object Generator]"};function pushTryEntry(locs){var entry={tryLoc:locs[0]};1 in locs&&(entry.catchLoc=locs[1]);if(2 in locs){entry.finallyLoc=locs[2];entry.afterLoc=locs[3]}this.tryEntries.push(entry)}function resetTryEntry(entry){var record=entry.completion||{};record.type="normal";delete record.arg;entry.completion=record}function Context(tryLocsList){this.tryEntries=[{tryLoc:"root"}];tryLocsList.forEach(pushTryEntry,this);this.reset(true)}runtime.keys=function(object){var keys=[];for(var key in object)keys.push(key);keys.reverse();return function next(){while(keys.length){var key=keys.pop();if(key in object){next.value=key;next.done=false;return next}}next.done=true;return next}};function values(iterable){if(iterable){var iteratorMethod=iterable[iteratorSymbol];if(iteratorMethod)return iteratorMethod.call(iterable);if("function"===typeof iterable.next)return iterable;if(!isNaN(iterable.length)){var i=-1,next=function next(){while(++i<iterable.length)if(hasOwn.call(iterable,i)){next.value=iterable[i];next.done=false;return next}next.value=undefined;next.done=true;return next};return next.next=next}}return{next:doneResult}}runtime.values=values;function doneResult(){return{value:undefined,done:true}}Context.prototype={constructor:Context,reset:function(skipTempReset){this.prev=0;this.next=0;this.sent=this._sent=undefined;this.done=false;this.delegate=null;this.method="next";this.arg=undefined;this.tryEntries.forEach(resetTryEntry);if(!skipTempReset)for(var name in this)"t"===name.charAt(0)&&hasOwn.call(this,name)&&!isNaN(+name.slice(1))&&(this[name]=undefined)},stop:function(){this.done=true;var rootEntry=this.tryEntries[0];var rootRecord=rootEntry.completion;if("throw"===rootRecord.type)throw rootRecord.arg;return this.rval},dispatchException:function(exception){if(this.done)throw exception;var context=this;function handle(loc,caught){record.type="throw";record.arg=exception;context.next=loc;if(caught){context.method="next";context.arg=undefined}return!!caught}for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];var record=entry.completion;if("root"===entry.tryLoc)return handle("end");if(entry.tryLoc<=this.prev){var hasCatch=hasOwn.call(entry,"catchLoc");var hasFinally=hasOwn.call(entry,"finallyLoc");if(hasCatch&&hasFinally){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,true);if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}else if(hasCatch){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,true)}else{if(!hasFinally)throw new Error("try statement without catch or finally");if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}}}},abrupt:function(type,arg){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc<=this.prev&&hasOwn.call(entry,"finallyLoc")&&this.prev<entry.finallyLoc){var finallyEntry=entry;break}}finallyEntry&&("break"===type||"continue"===type)&&finallyEntry.tryLoc<=arg&&arg<=finallyEntry.finallyLoc&&(finallyEntry=null);var record=finallyEntry?finallyEntry.completion:{};record.type=type;record.arg=arg;if(finallyEntry){this.method="next";this.next=finallyEntry.finallyLoc;return ContinueSentinel}return this.complete(record)},complete:function(record,afterLoc){if("throw"===record.type)throw record.arg;if("break"===record.type||"continue"===record.type)this.next=record.arg;else if("return"===record.type){this.rval=this.arg=record.arg;this.method="return";this.next="end"}else"normal"===record.type&&afterLoc&&(this.next=afterLoc);return ContinueSentinel},finish:function(finallyLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.finallyLoc===finallyLoc){this.complete(entry.completion,entry.afterLoc);resetTryEntry(entry);return ContinueSentinel}}},catch:function(tryLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc===tryLoc){var record=entry.completion;if("throw"===record.type){var thrown=record.arg;resetTryEntry(entry)}return thrown}}throw new Error("illegal catch attempt")},delegateYield:function(iterable,resultName,nextLoc){this.delegate={iterator:values(iterable),resultName:resultName,nextLoc:nextLoc};"next"===this.method&&(this.arg=undefined);return ContinueSentinel}}}(function(){return this}()||Function("return this")())},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.addRegistries=addRegistries;function addRegistries(registries,newRegistries){Object.keys(newRegistries).forEach(function(registryName){if(registries[registryName])throw new Error('There is already a registry named "'+registryName+'".');registries[registryName]=newRegistries[registryName]});return registries}function _register(registries,specs){Object.keys(specs).forEach(function(registryName){if(!registries[registryName])throw new Error('There is no registry named "'+registryName+'".');if(!registries[registryName].register)throw new Error('Registry "'+registryName+'" must have a register function.');specs[registryName].forEach(function(f){return registries[registryName].register(f)})});return registries}exports.register=_register;function registryFactory(_registries){return{registries:function registries(){return _registries},register:function register(specs){return _register(_registries,specs)}}}exports.registryFactory=registryFactory},function(module,exports,__webpack_require__){"use strict";(function(global){Object.defineProperty(exports,"__esModule",{value:true});exports.registries=exports.RenderFunctionsRegistry=exports.initializeInterpreter=void 0;var _interpreter=__webpack_require__(1967);Object.defineProperty(exports,"initializeInterpreter",{enumerable:true,get:function get(){return _interpreter.initializeInterpreter}});var _render_functions_registry=__webpack_require__(811);Object.defineProperty(exports,"RenderFunctionsRegistry",{enumerable:true,get:function get(){return _render_functions_registry.RenderFunctionsRegistry}});var _registries=__webpack_require__(1971);Object.defineProperty(exports,"registries",{enumerable:true,get:function get(){return _registries.registries}});var _common=__webpack_require__(321);global.kbnInterpreter=Object.assign(global.kbnInterpreter||{},(0,_common.registryFactory)(_registries.registries))}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.initializeInterpreter=void 0;var _regenerator=__webpack_require__(462);var _regenerator2=_interopRequireDefault(_regenerator);var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);var _asyncToGenerator2=__webpack_require__(463);var _asyncToGenerator3=_interopRequireDefault(_asyncToGenerator2);exports.initializeInterpreter=(_ref=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2(kfetch,typesRegistry,functionsRegistry){var _this=this;var serverFunctionList,types,_serializeProvider,serialize,batch,interpretAst;return _regenerator2.default.wrap(function _callee2$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return kfetch({pathname:_consts.FUNCTIONS_URL});case 2:serverFunctionList=_context2.sent;types=typesRegistry.toJS();_serializeProvider=(0,_serialize.serializeProvider)(types),serialize=_serializeProvider.serialize;batch=(0,_batched_fetch.batchedFetch)({kfetch:kfetch,serialize:serialize});Object.keys(serverFunctionList).forEach(function(functionName){functionsRegistry.register(function(){return(0,_extends3.default)({},serverFunctionList[functionName],{fn:function fn(context,args){return batch({functionName:functionName,args:args,context:context})}})})});interpretAst=function(){var _ref2=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function _callee(ast,context,handlers){var interpretFn;return _regenerator2.default.wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.next=2;return(0,_interpret.interpreterProvider)({types:typesRegistry.toJS(),handlers:(0,_extends3.default)({},handlers,(0,_create_handlers.createHandlers)()),functions:functionsRegistry.toJS()});case 2:interpretFn=_context.sent;return _context.abrupt("return",interpretFn(ast,context));case 4:case"end":return _context.stop()}},_callee,_this)}));return function interpretAst(_x4,_x5,_x6){return _ref2.apply(this,arguments)}}();return _context2.abrupt("return",{interpretAst:interpretAst});case 9:case"end":return _context2.stop()}},_callee2,this)})),function initializeInterpreter(_x,_x2,_x3){return _ref.apply(this,arguments)});var _ref;var _interpret=__webpack_require__(804);var _serialize=__webpack_require__(809);var _create_handlers=__webpack_require__(1968);var _batched_fetch=__webpack_require__(1969);var _consts=__webpack_require__(810);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.createHandlers=createHandlers;function createHandlers(){return{environment:"client"}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _regenerator=__webpack_require__(462);var _regenerator2=_interopRequireDefault(_regenerator);var _asyncToGenerator2=__webpack_require__(463);var _asyncToGenerator3=_interopRequireDefault(_asyncToGenerator2);var processBatch=(_ref3=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function _callee(kfetch,batch){var _ref4,results;return _regenerator2.default.wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return kfetch({pathname:_consts.FUNCTIONS_URL,method:"POST",body:JSON.stringify({functions:Object.values(batch).map(function(_ref5){var request=_ref5.request;return request})})});case 3:_ref4=_context.sent;results=_ref4.results;results.forEach(function(_ref6){var id=_ref6.id,result=_ref6.result;var future=batch[id].future;result.statusCode&&result.err?future.reject(result):future.resolve(result)});_context.next=11;break;case 8:_context.prev=8;_context.t0=_context["catch"](0);Object.values(batch).forEach(function(_ref7){var future=_ref7.future;future.reject(_context.t0)});case 11:case"end":return _context.stop()}},_callee,this,[[0,8]])})),function processBatch(_x,_x2){return _ref3.apply(this,arguments)});var _ref3;exports.batchedFetch=batchedFetch;var _consts=__webpack_require__(810);var _lodash=__webpack_require__(10);var _lodash2=_interopRequireDefault(_lodash);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function batchedFetch(_ref){var kfetch=_ref.kfetch,serialize=_ref.serialize,_ref$ms=_ref.ms,ms=void 0===_ref$ms?10:_ref$ms;var id=0;var batch={};var timeout=void 0;var nextId=function nextId(){return++id};var reset=function reset(){id=0;batch={};timeout=void 0};var runBatch=function runBatch(){processBatch(kfetch,batch);reset()};return function(_ref2){var functionName=_ref2.functionName,context=_ref2.context,args=_ref2.args;timeout||(timeout=setTimeout(runBatch,ms));var request={functionName:functionName,args:args,context:serialize(context)};var duplicate=Object.values(batch).find(function(batchedRequest){return _lodash2.default.isMatch(batchedRequest.request,request)});if(duplicate)return duplicate.future.promise;var future=createFuture();var id=nextId();request.id=id;batch[id]={future:future,request:request};return future.promise}}function createFuture(){var _resolve=void 0;var _reject=void 0;return{resolve:function resolve(val){return _resolve(val)},reject:function reject(val){return _reject(val)},promise:new Promise(function(res,rej){_resolve=res;_reject=rej})}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.RenderFunction=RenderFunction;function RenderFunction(config){this.name=config.name;this.displayName=config.displayName||this.name;this.help=config.help;this.validate=config.validate||function validate(){};this.reuseDomNode=Boolean(config.reuseDomNode);this.render=config.render||function render(domNode,data,done){done()}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.registries=void 0;var _common=__webpack_require__(321);var _render_functions_registry=__webpack_require__(811);var _browser=__webpack_require__(1972);var _types=__webpack_require__(1974);var registries=exports.registries={browserFunctions:new _common.FunctionsRegistry,renderers:new _render_functions_registry.RenderFunctionsRegistry,types:new _common.TypesRegistry};(0,_common.register)(registries,{browserFunctions:_browser.browserFunctions,types:_types.typeSpecs})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.browserFunctions=void 0;var _clog=__webpack_require__(1973);exports.browserFunctions=[_clog.clog]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.clog=function clog(){return{name:"clog",help:"Outputs the context to the console",fn:function fn(context){console.log(context);return context}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.typeSpecs=void 0;var _boolean=__webpack_require__(1975);var _datatable=__webpack_require__(1976);var _error=__webpack_require__(1977);var _filter=__webpack_require__(1978);var _image=__webpack_require__(1979);var _null=__webpack_require__(1980);var _number=__webpack_require__(1981);var _pointseries=__webpack_require__(1982);var _render=__webpack_require__(1983);var _shape=__webpack_require__(1984);var _string=__webpack_require__(1985);var _style=__webpack_require__(1986);var _kibana_context=__webpack_require__(1987);var _kibana_datatable=__webpack_require__(1988);exports.typeSpecs=[_boolean.boolean,_datatable.datatable,_error.error,_filter.filter,_image.image,_number.number,_null.nullType,_pointseries.pointseries,_render.render,_shape.shape,_string.string,_style.style,_kibana_context.kibanaContext,_kibana_datatable.kibanaDatatable]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.boolean=function boolean(){return{name:"boolean",from:{null:function _null(){return false},number:function number(n){return Boolean(n)},string:function string(s){return Boolean(s)}},to:{render:function render(value){var text=""+value;return{type:"render",as:"text",value:{text:text}}},datatable:function datatable(value){return{type:"datatable",columns:[{name:"value",type:"boolean"}],rows:[{value:value}]}}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.datatable=void 0;var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);var _lodash=__webpack_require__(10);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.datatable=function datatable(){return{name:"datatable",validate:function validate(datatable){if(!datatable.columns)throw new Error("datatable must have a columns array, even if it is empty");if(!datatable.rows)throw new Error("datatable must have a rows array, even if it is empty")},serialize:function serialize(datatable){var columns=datatable.columns,rows=datatable.rows;return(0,_extends3.default)({},datatable,{rows:rows.map(function(row){return columns.map(function(column){return row[column.name]})})})},deserialize:function deserialize(datatable){var columns=datatable.columns,rows=datatable.rows;return(0,_extends3.default)({},datatable,{rows:rows.map(function(row){return(0,_lodash.zipObject)((0,_lodash.map)(columns,"name"),row)})})},from:{null:function _null(){return{type:"datatable",rows:[],columns:[]}},pointseries:function pointseries(context){return{type:"datatable",rows:context.rows,columns:(0,_lodash.map)(context.columns,function(val,name){return{name:name,type:val.type,role:val.role}})}}},to:{render:function render(datatable){return{type:"render",as:"table",value:{datatable:datatable,paginate:true,perPage:10,showHeader:true}}},pointseries:function pointseries(datatable){var validFields=["x","y","color","size","text"];var columns=datatable.columns.filter(function(column){return validFields.includes(column.name)});var rows=datatable.rows.map(function(row){return(0,_lodash.pick)(row,validFields)});return{type:"pointseries",columns:columns.reduce(function(acc,column){acc[column.name]={type:column.type,expression:column.name,role:"dimension"};return acc},{}),rows:rows}}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.error=function error(){return{name:"error",to:{render:function render(input){var error=input.error,info=input.info;return{type:"render",as:"error",value:{error:error,info:info}}}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.filter=function filter(){return{name:"filter",from:{null:function _null(){return{type:"filter",meta:{},and:[]}}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.image=function image(){return{name:"image",to:{render:function render(input){return{type:"render",as:"image",value:input}}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.nullType=function nullType(){return{name:"null",from:{"*":function _(){return null}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.number=function number(){return{name:"number",from:{null:function _null(){return 0},boolean:function boolean(b){return Number(b)},string:function string(n){return Number(n)}},to:{render:function render(value){var text=""+value;return{type:"render",as:"text",value:{text:text}}},datatable:function datatable(value){return{type:"datatable",columns:[{name:"value",type:"number"}],rows:[{value:value}]}}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.pointseries=function pointseries(){return{name:"pointseries",from:{null:function _null(){return{type:"pointseries",rows:[],columns:{}}}},to:{render:function render(pointseries,types){var datatable=types.datatable.from(pointseries,types);return{type:"render",as:"table",value:{datatable:datatable,showHeader:true}}}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.render=function render(){return{name:"render",from:{"*":function _(v){return{type:"render",as:"debug",value:v}}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.shape=function shape(){return{name:"shape",to:{render:function render(input){return{type:"render",as:"shape",value:input}}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.string=function string(){return{name:"string",from:{null:function _null(){return""},boolean:function boolean(b){return String(b)},number:function number(n){return String(n)}},to:{render:function render(text){return{type:"render",as:"text",value:{text:text}}},datatable:function datatable(value){return{type:"datatable",columns:[{name:"value",type:"string"}],rows:[{value:value}]}}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.style=function style(){return{name:"style",from:{null:function _null(){return{type:"style",spec:{},css:""}}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.kibanaContext=function kibanaContext(){return{name:"kibana_context",from:{null:function _null(){return{type:"kibana_context"}}},to:{null:function _null(){return{type:"null"}}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.kibanaDatatable=void 0;var _extends2=__webpack_require__(57);var _extends3=_interopRequireDefault(_extends2);var _lodash=__webpack_require__(10);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.kibanaDatatable=function kibanaDatatable(){return{name:"kibana_datatable",from:{datatable:function datatable(context){context.columns.forEach(function(c){return c.id=c.name});return{type:"kibana_datatable",rows:context.rows,columns:context.columns}},pointseries:function pointseries(context){var columns=(0,_lodash.map)(context.columns,function(column,name){return(0,_extends3.default)({id:name,name:name},column)});return{type:"kibana_datatable",rows:context.rows,columns:columns}}}}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _components=__webpack_require__(116);Object.keys(_components).forEach(function(key){if("default"===key||"__esModule"===key)return;Object.defineProperty(exports,key,{enumerable:true,get:function get(){return _components[key]}})})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _bar_section=__webpack_require__(1991);Object.defineProperty(exports,"KuiBarSection",{enumerable:true,get:function get(){return _bar_section.KuiBarSection}});var _bar=__webpack_require__(1995);Object.defineProperty(exports,"KuiBar",{enumerable:true,get:function get(){return _bar.KuiBar}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiBarSection=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiBarSection=function KuiBarSection(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiBarSection",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiBarSection=KuiBarSection;KuiBarSection.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);module.exports=function(){function shim(){invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";
/** @license React v16.2.0
 * react.production.min.js
 *
 * Copyright (c) 2013-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var m=__webpack_require__(374),n=__webpack_require__(1994),p=__webpack_require__(56),q="function"===typeof Symbol&&Symbol["for"],r=q?Symbol["for"]("react.element"):60103,t=q?Symbol["for"]("react.call"):60104,u=q?Symbol["for"]("react.return"):60105,v=q?Symbol["for"]("react.portal"):60106,w=q?Symbol["for"]("react.fragment"):60107,x="function"===typeof Symbol&&Symbol.iterator;function y(a){for(var b=arguments.length-1,e="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)e+="&args[]="+encodeURIComponent(arguments[c+1]);b=Error(e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b}var z={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function A(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||z}A.prototype.isReactComponent={};A.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?y("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};A.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function B(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||z}function C(){}C.prototype=A.prototype;var D=B.prototype=new C;D.constructor=B;m(D,A.prototype);D.isPureReactComponent=!0;function E(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||z}var F=E.prototype=new C;F.constructor=E;m(F,A.prototype);F.unstable_isAsyncReactComponent=!0;F.render=function(){return this.props.children};var G={current:null},H=Object.prototype.hasOwnProperty,I={key:!0,ref:!0,__self:!0,__source:!0};function J(a,b,e){var c,d={},g=null,k=null;if(null!=b)for(c in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(g=""+b.key),b)H.call(b,c)&&!I.hasOwnProperty(c)&&(d[c]=b[c]);var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){for(var h=Array(f),l=0;l<f;l++)h[l]=arguments[l+2];d.children=h}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===d[c]&&(d[c]=f[c]);return{$$typeof:r,type:a,key:g,ref:k,props:d,_owner:G.current}}function K(a){return"object"===typeof a&&null!==a&&a.$$typeof===r}function escape(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var L=/\/+/g,M=[];function N(a,b,e,c){if(M.length){var d=M.pop();d.result=a;d.keyPrefix=b;d.func=e;d.context=c;d.count=0;return d}return{result:a,keyPrefix:b,func:e,context:c,count:0}}function O(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>M.length&&M.push(a)}function P(a,b,e,c){var d=typeof a;"undefined"!==d&&"boolean"!==d||(a=null);var g=!1;if(null===a)g=!0;else switch(d){case"string":case"number":g=!0;break;case"object":switch(a.$$typeof){case r:case t:case u:case v:g=!0}}if(g)return e(c,a,""===b?"."+Q(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){d=a[k];var f=b+Q(d,k);g+=P(d,f,e,c)}else if(null===a||"undefined"===typeof a?f=null:(f=x&&a[x]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),k=0;!(d=a.next()).done;)d=d.value,f=b+Q(d,k++),g+=P(d,f,e,c);else"object"===d&&(e=""+a,y("31","[object Object]"===e?"object with keys {"+Object.keys(a).join(", ")+"}":e,""));return g}function Q(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function R(a,b){a.func.call(a.context,b,a.count++)}function S(a,b,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?T(a,c,e,p.thatReturnsArgument):null!=a&&(K(a)&&(b=d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(L,"$&/")+"/")+e,a={$$typeof:r,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}),c.push(a))}function T(a,b,e,c,d){var g="";null!=e&&(g=(""+e).replace(L,"$&/")+"/");b=N(b,g,c,d);null==a||P(a,"",S,b);O(b)}var U={Children:{map:function(a,b,e){if(null==a)return a;var c=[];T(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=N(null,null,b,e);null==a||P(a,"",R,b);O(b)},count:function(a){return null==a?0:P(a,"",p.thatReturnsNull,null)},toArray:function(a){var b=[];T(a,b,null,p.thatReturnsArgument);return b},only:function(a){K(a)?void 0:y("143");return a}},Component:A,PureComponent:B,unstable_AsyncComponent:E,Fragment:w,createElement:J,cloneElement:function(a,b,e){var c=m({},a.props),d=a.key,g=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,k=G.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(h in b)H.call(b,h)&&!I.hasOwnProperty(h)&&(c[h]=void 0===b[h]&&void 0!==f?f[h]:b[h])}var h=arguments.length-2;if(1===h)c.children=e;else if(1<h){f=Array(h);for(var l=0;l<h;l++)f[l]=arguments[l+2];c.children=f}return{$$typeof:r,type:a.type,key:d,ref:g,props:c,_owner:k}},createFactory:function(a){var b=J.bind(null,a);b.type=a;return b},isValidElement:K,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:G,assign:m}},V=Object.freeze({default:U}),W=V&&U||V;module.exports=W["default"]?W["default"]:W},function(module,exports,__webpack_require__){"use strict";var emptyObject={};false;module.exports=emptyObject},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiBar=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiBar=function KuiBar(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiBar",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiBar=KuiBar;KuiBar.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiSubmitButton=exports.KuiLinkButton=exports.KuiButton=exports.BUTTON_TYPES=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _button_icon=__webpack_require__(813);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var accessibleIconButton=function accessibleIconButton(props,propName,componentName){if(props.children)return;if(props["aria-label"])return;if(props["aria-labelledby"])return;throw new Error(componentName+" requires aria-label or aria-labelledby to be specified if it does not have children. This is because we're assuming you're creating an icon-only button, which is screen-reader-inaccessible.")};var BUTTON_TYPES=["basic","hollow","danger","warning","primary","secondary"];var ICON_POSITIONS=["left","right"];var DEFAULT_ICON_POSITION="left";var buttonTypeToClassNameMap={basic:"kuiButton--basic",hollow:"kuiButton--hollow",danger:"kuiButton--danger",warning:"kuiButton--warning",primary:"kuiButton--primary",secondary:"kuiButton--secondary"};var getClassName=function getClassName(_ref){var className=_ref.className,buttonType=_ref.buttonType,_ref$hasIcon=_ref.hasIcon,hasIcon=void 0!==_ref$hasIcon&&_ref$hasIcon;return(0,_classnames2.default)("kuiButton",className,buttonTypeToClassNameMap[buttonType],{"kuiButton--iconText":hasIcon})};var ContentWithIcon=function ContentWithIcon(_ref2){var children=_ref2.children,icon=_ref2.icon,iconPosition=_ref2.iconPosition,isLoading=_ref2.isLoading;var iconOrLoading=isLoading?_react2.default.createElement(_button_icon.KuiButtonIcon,{type:"loading"}):icon;var wrappedChildren=children?_react2.default.createElement("span",null,children):void 0;switch(iconPosition){case"left":return _react2.default.createElement("span",{className:"kuiButton__inner"},iconOrLoading,wrappedChildren);case"right":return _react2.default.createElement("span",{className:"kuiButton__inner"},wrappedChildren,iconOrLoading)}};var KuiButton=function KuiButton(_ref3){var isLoading=_ref3.isLoading,_ref3$iconPosition=_ref3.iconPosition,iconPosition=void 0===_ref3$iconPosition?DEFAULT_ICON_POSITION:_ref3$iconPosition,className=_ref3.className,buttonType=_ref3.buttonType,icon=_ref3.icon,children=_ref3.children,rest=_objectWithoutProperties(_ref3,["isLoading","iconPosition","className","buttonType","icon","children"]);return _react2.default.createElement("button",_extends({className:getClassName({className:className,buttonType:buttonType,hasIcon:icon||isLoading})},rest),_react2.default.createElement(ContentWithIcon,{icon:icon,iconPosition:iconPosition,isLoading:isLoading},children))};KuiButton.propTypes={icon:_propTypes2.default.node,iconPosition:_propTypes2.default.oneOf(ICON_POSITIONS),children:_propTypes2.default.node,isLoading:_propTypes2.default.bool,buttonType:_propTypes2.default.oneOf(BUTTON_TYPES),className:_propTypes2.default.string,"aria-label":accessibleIconButton};var KuiLinkButton=function KuiLinkButton(_ref4){var isLoading=_ref4.isLoading,icon=_ref4.icon,_ref4$iconPosition=_ref4.iconPosition,iconPosition=void 0===_ref4$iconPosition?DEFAULT_ICON_POSITION:_ref4$iconPosition,className=_ref4.className,disabled=_ref4.disabled,buttonType=_ref4.buttonType,children=_ref4.children,rest=_objectWithoutProperties(_ref4,["isLoading","icon","iconPosition","className","disabled","buttonType","children"]);var onClick=function onClick(e){disabled&&e.preventDefault()};var classes=(0,_classnames2.default)(getClassName({className:className,buttonType:buttonType,hasIcon:icon||isLoading}),{"kuiButton-isDisabled":disabled});return _react2.default.createElement("a",_extends({className:classes,onClick:onClick},rest),_react2.default.createElement(ContentWithIcon,{icon:icon,iconPosition:iconPosition,isLoading:isLoading},children))};KuiLinkButton.propTypes={icon:_propTypes2.default.node,iconPosition:_propTypes2.default.oneOf(ICON_POSITIONS),isLoading:_propTypes2.default.bool,buttonType:_propTypes2.default.oneOf(BUTTON_TYPES),className:_propTypes2.default.string,children:_propTypes2.default.node,"aria-label":accessibleIconButton};var KuiSubmitButton=function KuiSubmitButton(_ref5){var className=_ref5.className,buttonType=_ref5.buttonType,children=_ref5.children,rest=_objectWithoutProperties(_ref5,["className","buttonType","children"]);return _react2.default.createElement("input",_extends({type:"submit",value:children,className:getClassName({className:className,buttonType:buttonType})},rest))};KuiSubmitButton.propTypes={children:_propTypes2.default.string,buttonType:_propTypes2.default.oneOf(BUTTON_TYPES),className:_propTypes2.default.string};exports.BUTTON_TYPES=BUTTON_TYPES;exports.KuiButton=KuiButton;exports.KuiLinkButton=KuiLinkButton;exports.KuiSubmitButton=KuiSubmitButton},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiButtonGroup=void 0;var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var KuiButtonGroup=function KuiButtonGroup(props){var classes=(0,_classnames2.default)("kuiButtonGroup",{"kuiButtonGroup--united":props.isUnited});return _react2.default.createElement("div",{className:classes,role:"group"},props.children)};KuiButtonGroup.propTypes={children:_propTypes2.default.node,isUnited:_propTypes2.default.bool};exports.KuiButtonGroup=KuiButtonGroup},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _collapse_button=__webpack_require__(1999);Object.defineProperty(exports,"KuiCollapseButton",{enumerable:true,get:function get(){return _collapse_button.KuiCollapseButton}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiCollapseButton=exports.DIRECTIONS=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var DIRECTIONS=["down","up","left","right"];var directionToClassNameMap={down:"fa-chevron-circle-down",up:"fa-chevron-circle-up",left:"fa-chevron-circle-left",right:"fa-chevron-circle-right"};var KuiCollapseButton=function KuiCollapseButton(_ref){var className=_ref.className,direction=_ref.direction,rest=_objectWithoutProperties(_ref,["className","direction"]);var classes=(0,_classnames2.default)("kuiCollapseButton",className);var childClasses=(0,_classnames2.default)("kuiIcon",directionToClassNameMap[direction]);return _react2.default.createElement("button",_extends({type:"button",className:classes},rest),_react2.default.createElement("span",{className:childClasses}))};KuiCollapseButton.propTypes={className:_propTypes2.default.string,direction:_propTypes2.default.oneOf(DIRECTIONS).isRequired};exports.DIRECTIONS=DIRECTIONS;exports.KuiCollapseButton=KuiCollapseButton},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _empty_table_prompt_message=__webpack_require__(814);Object.defineProperty(exports,"KuiEmptyTablePromptMessage",{enumerable:true,get:function get(){return _empty_table_prompt_message.KuiEmptyTablePromptMessage}});var _empty_table_prompt_panel=__webpack_require__(2001);Object.defineProperty(exports,"KuiEmptyTablePromptPanel",{enumerable:true,get:function get(){return _empty_table_prompt_panel.KuiEmptyTablePromptPanel}});var _empty_table_prompt=__webpack_require__(2002);Object.defineProperty(exports,"KuiEmptyTablePrompt",{enumerable:true,get:function get(){return _empty_table_prompt.KuiEmptyTablePrompt}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiEmptyTablePromptPanel=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiEmptyTablePromptPanel=function KuiEmptyTablePromptPanel(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiPanel kuiPanel--centered kuiPanel--withToolBar",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiEmptyTablePromptPanel=KuiEmptyTablePromptPanel;KuiEmptyTablePromptPanel.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiEmptyTablePrompt=KuiEmptyTablePrompt;var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _empty_table_prompt_message=__webpack_require__(814);var _empty_table_prompt_actions=__webpack_require__(2003);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiEmptyTablePrompt(_ref){var actions=_ref.actions,message=_ref.message,className=_ref.className,rest=_objectWithoutProperties(_ref,["actions","message","className"]);var classes=(0,_classnames2.default)("kuiEmptyTablePrompt",className);return _react2.default.createElement("div",_extends({className:classes},rest),_react2.default.createElement(_empty_table_prompt_message.KuiEmptyTablePromptMessage,null,message),_react2.default.createElement(_empty_table_prompt_actions.KuiEmptyTablePromptActions,null,actions))}KuiEmptyTablePrompt.propTypes={message:_propTypes2.default.string.isRequired,actions:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiEmptyTablePromptActions=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiEmptyTablePromptActions=function KuiEmptyTablePromptActions(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiEmptyTablePrompt__actions",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiEmptyTablePromptActions=KuiEmptyTablePromptActions;KuiEmptyTablePromptActions.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _expression=__webpack_require__(2005);Object.defineProperty(exports,"KuiExpression",{enumerable:true,get:function get(){return _expression.KuiExpression}});var _expression_button=__webpack_require__(2006);Object.defineProperty(exports,"KuiExpressionButton",{enumerable:true,get:function get(){return _expression_button.KuiExpressionButton}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiExpression=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiExpression=function KuiExpression(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiExpression",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiExpression=KuiExpression;KuiExpression.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiExpressionButton=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiExpressionButton=function KuiExpressionButton(_ref){var className=_ref.className,description=_ref.description,buttonValue=_ref.buttonValue,isActive=_ref.isActive,onClick=_ref.onClick,rest=_objectWithoutProperties(_ref,["className","description","buttonValue","isActive","onClick"]);var classes=(0,_classnames2.default)("kuiExpressionButton",className,{"kuiExpressionButton-isActive":isActive});return _react2.default.createElement("button",_extends({className:classes,onClick:onClick},rest),_react2.default.createElement("span",{className:"kuiExpressionButton__description"},description)," ",_react2.default.createElement("span",{className:"kuiExpressionButton__value"},buttonValue))};exports.KuiExpressionButton=KuiExpressionButton;KuiExpressionButton.propTypes={className:_propTypes2.default.string,description:_propTypes2.default.string.isRequired,buttonValue:_propTypes2.default.string.isRequired,isActive:_propTypes2.default.bool.isRequired,onClick:_propTypes2.default.func.isRequired};KuiExpressionButton.defaultProps={isActive:false}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _field_group=__webpack_require__(2008);Object.defineProperty(exports,"KuiFieldGroup",{enumerable:true,get:function get(){return _field_group.KuiFieldGroup}});var _field_group_section=__webpack_require__(2009);Object.defineProperty(exports,"KuiFieldGroupSection",{enumerable:true,get:function get(){return _field_group_section.KuiFieldGroupSection}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiFieldGroup=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiFieldGroup=function KuiFieldGroup(_ref){var isAlignedTop=_ref.isAlignedTop,children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["isAlignedTop","children","className"]);var classes=(0,_classnames2.default)("kuiFieldGroup",className,{"kuiFieldGroup--alignTop":isAlignedTop});return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiFieldGroup=KuiFieldGroup;KuiFieldGroup.defaultProps={isAlignedTop:false};KuiFieldGroup.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string,isAlignedTop:_propTypes2.default.bool}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiFieldGroupSection=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiFieldGroupSection=function KuiFieldGroupSection(_ref){var isWide=_ref.isWide,children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["isWide","children","className"]);var classes=(0,_classnames2.default)("kuiFieldGroupSection",className,{"kuiFieldGroupSection--wide":isWide});return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiFieldGroupSection=KuiFieldGroupSection;KuiFieldGroupSection.defaultProps={isWide:false};KuiFieldGroupSection.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string,isWide:_propTypes2.default.bool}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _label=__webpack_require__(2011);Object.defineProperty(exports,"KuiLabel",{enumerable:true,get:function get(){return _label.KuiLabel}});var _text_input=__webpack_require__(2013);Object.defineProperty(exports,"KuiTextInput",{enumerable:true,get:function get(){return _text_input.KuiTextInput}});var _text_area=__webpack_require__(2015);Object.defineProperty(exports,"KuiTextArea",{enumerable:true,get:function get(){return _text_area.KuiTextArea}});var _select=__webpack_require__(2017);Object.defineProperty(exports,"KuiSelect",{enumerable:true,get:function get(){return _select.KuiSelect}});var _check_box=__webpack_require__(2019);Object.defineProperty(exports,"KuiCheckBox",{enumerable:true,get:function get(){return _check_box.KuiCheckBox}});Object.defineProperty(exports,"KuiCheckBoxLabel",{enumerable:true,get:function get(){return _check_box.KuiCheckBoxLabel}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _label=__webpack_require__(2012);Object.defineProperty(exports,"KuiLabel",{enumerable:true,get:function get(){return _label.KuiLabel}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiLabel=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiLabel=function KuiLabel(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);var classes=(0,_classnames2.default)("kuiLabel",className);return _react2.default.createElement("label",_extends({className:classes},rest),children)};exports.KuiLabel=KuiLabel;KuiLabel.propTypes={className:_propTypes2.default.string,children:_propTypes2.default.node}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _text_input=__webpack_require__(2014);Object.defineProperty(exports,"KuiTextInput",{enumerable:true,get:function get(){return _text_input.KuiTextInput}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiTextInput=exports.TEXTINPUT_SIZE=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var sizeToClassNameMap={small:"kuiTextInput--small",medium:void 0,large:"kuiTextInput--large"};var TEXTINPUT_SIZE=exports.TEXTINPUT_SIZE=Object.keys(sizeToClassNameMap);var KuiTextInput=function KuiTextInput(_ref){var className=_ref.className,onChange=_ref.onChange,isInvalid=_ref.isInvalid,isDisabled=_ref.isDisabled,size=_ref.size,rest=_objectWithoutProperties(_ref,["className","onChange","isInvalid","isDisabled","size"]);var classes=(0,_classnames2.default)("kuiTextInput",className,{"kuiTextInput-isInvalid":isInvalid},sizeToClassNameMap[size]);return _react2.default.createElement("input",_extends({type:"text",className:classes,onChange:onChange,disabled:isDisabled},rest))};exports.KuiTextInput=KuiTextInput;KuiTextInput.defaultProps={isInvalid:false,isDisabled:false,size:"medium"};KuiTextInput.propTypes={className:_propTypes2.default.string,onChange:_propTypes2.default.func.isRequired,isInvalid:_propTypes2.default.bool,isDisabled:_propTypes2.default.bool,size:_propTypes2.default.oneOf(TEXTINPUT_SIZE)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _text_area=__webpack_require__(2016);Object.defineProperty(exports,"KuiTextArea",{enumerable:true,get:function get(){return _text_area.KuiTextArea}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiTextArea=exports.TEXTAREA_SIZE=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var sizeToClassNameMap={small:"kuiTextArea--small",medium:void 0,large:"kuiTextArea--large"};var TEXTAREA_SIZE=exports.TEXTAREA_SIZE=Object.keys(sizeToClassNameMap);var KuiTextArea=function KuiTextArea(_ref){var className=_ref.className,onChange=_ref.onChange,isInvalid=_ref.isInvalid,isNonResizable=_ref.isNonResizable,isDisabled=_ref.isDisabled,size=_ref.size,rest=_objectWithoutProperties(_ref,["className","onChange","isInvalid","isNonResizable","isDisabled","size"]);var classes=(0,_classnames2.default)("kuiTextArea",className,{"kuiTextArea-isInvalid":isInvalid,"kuiTextArea--nonResizable":isNonResizable},sizeToClassNameMap[size]);return _react2.default.createElement("textarea",_extends({className:classes,onChange:onChange,disabled:isDisabled},rest))};exports.KuiTextArea=KuiTextArea;KuiTextArea.defaultProps={isInvalid:false,isNonResizable:false,isDisabled:false,size:"medium"};KuiTextArea.propTypes={className:_propTypes2.default.string,onChange:_propTypes2.default.func.isRequired,isInvalid:_propTypes2.default.bool,isNonResizable:_propTypes2.default.bool,isDisabled:_propTypes2.default.bool,size:_propTypes2.default.oneOf(TEXTAREA_SIZE)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _select=__webpack_require__(2018);Object.defineProperty(exports,"KuiSelect",{enumerable:true,get:function get(){return _select.KuiSelect}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiSelect=exports.SELECT_SIZE=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var sizeToClassNameMap={small:"kuiSelect--small",medium:void 0,large:"kuiSelect--large"};var SELECT_SIZE=exports.SELECT_SIZE=Object.keys(sizeToClassNameMap);var KuiSelect=function KuiSelect(_ref){var className=_ref.className,onChange=_ref.onChange,isInvalid=_ref.isInvalid,isDisabled=_ref.isDisabled,size=_ref.size,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","onChange","isInvalid","isDisabled","size","children"]);var classes=(0,_classnames2.default)("kuiSelect",className,{"kuiSelect-isInvalid":isInvalid},sizeToClassNameMap[size]);return _react2.default.createElement("select",_extends({className:classes,onChange:onChange,disabled:isDisabled},rest),children)};exports.KuiSelect=KuiSelect;KuiSelect.defaultProps={isInvalid:false,isDisabled:false,size:"medium"};KuiSelect.propTypes={className:_propTypes2.default.string,onChange:_propTypes2.default.func.isRequired,isInvalid:_propTypes2.default.bool,isDisabled:_propTypes2.default.bool,size:_propTypes2.default.oneOf(SELECT_SIZE),children:_propTypes2.default.node}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _check_box=__webpack_require__(815);Object.defineProperty(exports,"KuiCheckBox",{enumerable:true,get:function get(){return _check_box.KuiCheckBox}});var _check_box_label=__webpack_require__(2020);Object.defineProperty(exports,"KuiCheckBoxLabel",{enumerable:true,get:function get(){return _check_box_label.KuiCheckBoxLabel}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiCheckBoxLabel=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _check_box=__webpack_require__(815);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiCheckBoxLabel=function KuiCheckBoxLabel(_ref){var className=_ref.className,text=_ref.text,isChecked=_ref.isChecked,isDisabled=_ref.isDisabled,onChange=_ref.onChange,rest=_objectWithoutProperties(_ref,["className","text","isChecked","isDisabled","onChange"]);var classes=(0,_classnames2.default)("kuiCheckBoxLabel",className);return _react2.default.createElement("label",_extends({className:classes},rest),_react2.default.createElement(_check_box.KuiCheckBox,{isChecked:isChecked,isDisabled:isDisabled,onChange:onChange}),_react2.default.createElement("span",{className:"kuiCheckBoxLabel__text"},text))};exports.KuiCheckBoxLabel=KuiCheckBoxLabel;KuiCheckBoxLabel.defaultProps={isChecked:false,isDisabled:false};KuiCheckBoxLabel.propTypes={className:_propTypes2.default.string,text:_propTypes2.default.string,isChecked:_propTypes2.default.bool,isDisabled:_propTypes2.default.bool,onChange:_propTypes2.default.func.isRequired}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _local_nav=__webpack_require__(2022);Object.defineProperty(exports,"KuiLocalNav",{enumerable:true,get:function get(){return _local_nav.KuiLocalNav}});var _local_nav_row=__webpack_require__(2023);Object.defineProperty(exports,"KuiLocalNavRow",{enumerable:true,get:function get(){return _local_nav_row.KuiLocalNavRow}});var _local_nav_row_section=__webpack_require__(2024);Object.defineProperty(exports,"KuiLocalNavRowSection",{enumerable:true,get:function get(){return _local_nav_row_section.KuiLocalNavRowSection}});var _local_tab=__webpack_require__(2025);Object.defineProperty(exports,"KuiLocalTab",{enumerable:true,get:function get(){return _local_tab.KuiLocalTab}});var _local_tabs=__webpack_require__(2026);Object.defineProperty(exports,"KuiLocalTabs",{enumerable:true,get:function get(){return _local_tabs.KuiLocalTabs}});var _local_title=__webpack_require__(2027);Object.defineProperty(exports,"KuiLocalTitle",{enumerable:true,get:function get(){return _local_title.KuiLocalTitle}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiLocalNav=KuiLocalNav;var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiLocalNav(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);var classes=(0,_classnames2.default)("kuiLocalNav",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)}KuiLocalNav.propTypes={className:_propTypes2.default.string,children:_propTypes2.default.node}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiLocalNavRow=KuiLocalNavRow;var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiLocalNavRow(_ref){var className=_ref.className,children=_ref.children,isSecondary=_ref.isSecondary,rest=_objectWithoutProperties(_ref,["className","children","isSecondary"]);var classes=(0,_classnames2.default)("kuiLocalNavRow",className,{"kuiLocalNavRow--secondary":isSecondary});return _react2.default.createElement("div",_extends({className:classes},rest),children)}KuiLocalNavRow.propTypes={className:_propTypes2.default.string,children:_propTypes2.default.node,isSecondary:_propTypes2.default.bool};KuiLocalNavRow.defaultProps={isSecondary:false}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiLocalNavRowSection=KuiLocalNavRowSection;var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiLocalNavRowSection(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);var classes=(0,_classnames2.default)("kuiLocalNavRow__section",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)}KuiLocalNavRowSection.propTypes={className:_propTypes2.default.string,children:_propTypes2.default.node}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiLocalTab=KuiLocalTab;var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiLocalTab(_ref){var className=_ref.className,children=_ref.children,isDisabled=_ref.isDisabled,isSelected=_ref.isSelected,rest=_objectWithoutProperties(_ref,["className","children","isDisabled","isSelected"]);var classes=(0,_classnames2.default)("kuiLocalTab",className,{"kuiLocalTab-isDisabled":isDisabled,"kuiLocalTab-isSelected":isSelected});return _react2.default.createElement("a",_extends({className:classes},rest),children)}KuiLocalTab.propTypes={className:_propTypes2.default.string,children:_propTypes2.default.node,isDisabled:_propTypes2.default.bool,isSelected:_propTypes2.default.bool};KuiLocalTab.defaultProps={isDisabled:false,isSelected:false}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiLocalTabs=KuiLocalTabs;var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiLocalTabs(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);var classes=(0,_classnames2.default)("kuiLocalTabs",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)}KuiLocalTabs.propTypes={className:_propTypes2.default.string,children:_propTypes2.default.node}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiLocalTitle=KuiLocalTitle;var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiLocalTitle(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);var classes=(0,_classnames2.default)("kuiLocalTitle",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)}KuiLocalTitle.propTypes={className:_propTypes2.default.string,children:_propTypes2.default.node}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _menu=__webpack_require__(2029);Object.defineProperty(exports,"KuiMenu",{enumerable:true,get:function get(){return _menu.KuiMenu}});var _menu_item=__webpack_require__(2030);Object.defineProperty(exports,"KuiMenuItem",{enumerable:true,get:function get(){return _menu_item.KuiMenuItem}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiMenu=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiMenu=function KuiMenu(_ref){var contained=_ref.contained,className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["contained","className","children"]);var classes=(0,_classnames2.default)("kuiMenu",className,{"kuiMenu--contained":contained});return _react2.default.createElement("ul",_extends({className:classes},rest),children)};exports.KuiMenu=KuiMenu;KuiMenu.propTypes={contained:_propTypes2.default.bool,className:_propTypes2.default.string,children:_propTypes2.default.node}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiMenuItem=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiMenuItem=function KuiMenuItem(_ref){var className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["className","children"]);return _react2.default.createElement("li",_extends({className:(0,_classnames2.default)("kuiMenuItem",className)},rest),children)};exports.KuiMenuItem=KuiMenuItem;KuiMenuItem.propTypes={className:_propTypes2.default.string,children:_propTypes2.default.node}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _confirm_modal=__webpack_require__(2032);Object.defineProperty(exports,"KuiConfirmModal",{enumerable:true,get:function get(){return _confirm_modal.KuiConfirmModal}});Object.defineProperty(exports,"KUI_MODAL_CONFIRM_BUTTON",{enumerable:true,get:function get(){return _confirm_modal.CONFIRM_BUTTON}});Object.defineProperty(exports,"KUI_MODAL_CANCEL_BUTTON",{enumerable:true,get:function get(){return _confirm_modal.CANCEL_BUTTON}});var _modal=__webpack_require__(816);Object.defineProperty(exports,"KuiModal",{enumerable:true,get:function get(){return _modal.KuiModal}});var _modal_footer=__webpack_require__(821);Object.defineProperty(exports,"KuiModalFooter",{enumerable:true,get:function get(){return _modal_footer.KuiModalFooter}});var _modal_header=__webpack_require__(822);Object.defineProperty(exports,"KuiModalHeader",{enumerable:true,get:function get(){return _modal_header.KuiModalHeader}});var _modal_overlay=__webpack_require__(2042);Object.defineProperty(exports,"KuiModalOverlay",{enumerable:true,get:function get(){return _modal_overlay.KuiModalOverlay}});var _modal_body=__webpack_require__(824);Object.defineProperty(exports,"KuiModalBody",{enumerable:true,get:function get(){return _modal_body.KuiModalBody}});var _modal_header_title=__webpack_require__(823);Object.defineProperty(exports,"KuiModalHeaderTitle",{enumerable:true,get:function get(){return _modal_header_title.KuiModalHeaderTitle}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.CANCEL_BUTTON=exports.CONFIRM_BUTTON=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiConfirmModal=KuiConfirmModal;var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _modal=__webpack_require__(816);var _modal_footer=__webpack_require__(821);var _modal_header=__webpack_require__(822);var _modal_header_title=__webpack_require__(823);var _modal_body=__webpack_require__(824);var _components=__webpack_require__(116);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var CONFIRM_BUTTON=exports.CONFIRM_BUTTON="confirm";var CANCEL_BUTTON=exports.CANCEL_BUTTON="cancel";var CONFIRM_MODAL_BUTTONS=[CONFIRM_BUTTON,CANCEL_BUTTON];function KuiConfirmModal(_ref){var children=_ref.children,title=_ref.title,onCancel=_ref.onCancel,onConfirm=_ref.onConfirm,cancelButtonText=_ref.cancelButtonText,confirmButtonText=_ref.confirmButtonText,className=_ref.className,defaultFocusedButton=_ref.defaultFocusedButton,rest=_objectWithoutProperties(_ref,["children","title","onCancel","onConfirm","cancelButtonText","confirmButtonText","className","defaultFocusedButton"]);var classes=(0,_classnames2.default)("kuiModal--confirmation",className);var modalTitle=void 0;title&&(modalTitle=_react2.default.createElement(_modal_header.KuiModalHeader,null,_react2.default.createElement(_modal_header_title.KuiModalHeaderTitle,{"data-test-subj":"confirmModalTitleText"},title)));var message=void 0;message="string"===typeof children?_react2.default.createElement("p",{className:"kuiText"},children):children;return _react2.default.createElement(_modal.KuiModal,_extends({className:classes,onClose:onCancel},rest),modalTitle,_react2.default.createElement(_modal_body.KuiModalBody,null,_react2.default.createElement("div",{"data-test-subj":"confirmModalBodyText"},message)),_react2.default.createElement(_modal_footer.KuiModalFooter,null,_react2.default.createElement(_components.KuiButton,{buttonType:"hollow",autoFocus:defaultFocusedButton===CANCEL_BUTTON,"data-test-subj":"confirmModalCancelButton",onClick:onCancel},cancelButtonText),_react2.default.createElement(_components.KuiButton,{buttonType:"primary",autoFocus:defaultFocusedButton===CONFIRM_BUTTON,"data-test-subj":"confirmModalConfirmButton",onClick:onConfirm},confirmButtonText)))}KuiConfirmModal.propTypes={children:_propTypes2.default.node,title:_propTypes2.default.string,cancelButtonText:_propTypes2.default.string,confirmButtonText:_propTypes2.default.string,onCancel:_propTypes2.default.func.isRequired,onConfirm:_propTypes2.default.func,className:_propTypes2.default.string,defaultFocusedButton:_propTypes2.default.oneOf(CONFIRM_MODAL_BUTTONS)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _accessible_click_keys=__webpack_require__(2034);Object.defineProperty(exports,"accessibleClickKeys",{enumerable:true,get:function get(){return _accessible_click_keys.accessibleClickKeys}});var _cascading_menu_key_codes=__webpack_require__(2035);Object.defineProperty(exports,"cascadingMenuKeyCodes",{enumerable:true,get:function get(){return _cascading_menu_key_codes.cascadingMenuKeyCodes}});var _combo_box_key_codes=__webpack_require__(2036);Object.defineProperty(exports,"comboBoxKeyCodes",{enumerable:true,get:function get(){return _combo_box_key_codes.comboBoxKeyCodes}});var _html_id_generator=__webpack_require__(2037);Object.defineProperty(exports,"htmlIdGenerator",{enumerable:true,get:function get(){return _html_id_generator.htmlIdGenerator}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.accessibleClickKeys=void 0;var _accessibleClickKeys;var _key_codes=__webpack_require__(322);function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}exports.accessibleClickKeys=(_accessibleClickKeys={},_defineProperty(_accessibleClickKeys,_key_codes.ENTER,"enter"),_defineProperty(_accessibleClickKeys,_key_codes.SPACE,"space"),_accessibleClickKeys)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.cascadingMenuKeyCodes=void 0;var _key_codes=__webpack_require__(322);exports.cascadingMenuKeyCodes={DOWN:_key_codes.DOWN,ESCAPE:_key_codes.ESCAPE,LEFT:_key_codes.LEFT,RIGHT:_key_codes.RIGHT,TAB:_key_codes.TAB,UP:_key_codes.UP}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.comboBoxKeyCodes=void 0;var _key_codes=__webpack_require__(322);exports.comboBoxKeyCodes={DOWN:_key_codes.DOWN,ENTER:_key_codes.ENTER,ESCAPE:_key_codes.ESCAPE,TAB:_key_codes.TAB,UP:_key_codes.UP}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.htmlIdGenerator=htmlIdGenerator;var _uuid=__webpack_require__(817);var _uuid2=_interopRequireDefault(_uuid);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function htmlIdGenerator(idPrefix){var prefix=idPrefix||_uuid2.default.v1();return function(suffix){return prefix+"_"+(suffix||_uuid2.default.v1())}}},function(module,exports,__webpack_require__){var rng=__webpack_require__(818);var bytesToUuid=__webpack_require__(819);var _seedBytes=rng();var _nodeId=[1|_seedBytes[0],_seedBytes[1],_seedBytes[2],_seedBytes[3],_seedBytes[4],_seedBytes[5]];var _clockseq=16383&(_seedBytes[6]<<8|_seedBytes[7]);var _lastMSecs=0,_lastNSecs=0;function v1(options,buf,offset){var i=buf&&offset||0;var b=buf||[];options=options||{};var clockseq=void 0!==options.clockseq?options.clockseq:_clockseq;var msecs=void 0!==options.msecs?options.msecs:(new Date).getTime();var nsecs=void 0!==options.nsecs?options.nsecs:_lastNSecs+1;var dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;dt<0&&void 0===options.clockseq&&(clockseq=clockseq+1&16383);(dt<0||msecs>_lastMSecs)&&void 0===options.nsecs&&(nsecs=0);if(nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs;_lastNSecs=nsecs;_clockseq=clockseq;msecs+=122192928e5;var tl=(1e4*(268435455&msecs)+nsecs)%4294967296;b[i++]=tl>>>24&255;b[i++]=tl>>>16&255;b[i++]=tl>>>8&255;b[i++]=255&tl;var tmh=msecs/4294967296*1e4&268435455;b[i++]=tmh>>>8&255;b[i++]=255&tmh;b[i++]=tmh>>>24&15|16;b[i++]=tmh>>>16&255;b[i++]=clockseq>>>8|128;b[i++]=255&clockseq;var node=options.node||_nodeId;for(var n=0;n<6;++n)b[i+n]=node[n];return buf||bytesToUuid(b)}module.exports=v1},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _sortable_properties=__webpack_require__(2040);Object.defineProperty(exports,"SortableProperties",{enumerable:true,get:function get(){return _sortable_properties.SortableProperties}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SortableProperties=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _lodash=__webpack_require__(10);var _lodash2=_interopRequireDefault(_lodash);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}exports.SortableProperties=function(){function SortableProperties(sortableProperties,initialSortablePropertyName){_classCallCheck(this,SortableProperties);this.sortableProperties=sortableProperties;this.currentSortedProperty=this.getSortablePropertyByName(initialSortablePropertyName);if(!this.currentSortedProperty)throw new Error("No property with the name "+initialSortablePropertyName)}_createClass(SortableProperties,[{key:"getSortedProperty",value:function getSortedProperty(){return this.currentSortedProperty}},{key:"sortItems",value:function sortItems(items){return this.isCurrentSortAscending()?_lodash2.default.sortBy(items,this.getSortedProperty().getValue):_lodash2.default.sortBy(items,this.getSortedProperty().getValue).reverse()}},{key:"getSortablePropertyByName",value:function getSortablePropertyByName(propertyName){return this.sortableProperties.find(function(property){return property.name===propertyName})}},{key:"sortOn",value:function sortOn(propertyName){var newSortedProperty=this.getSortablePropertyByName(propertyName);var sortedProperty=this.getSortedProperty();sortedProperty.name===newSortedProperty.name?this.flipCurrentSortOrder():this.currentSortedProperty=newSortedProperty}},{key:"isCurrentSortAscending",value:function isCurrentSortAscending(){var sortedProperty=this.getSortedProperty();return!!sortedProperty&&this.isAscendingByName(sortedProperty.name)}},{key:"isAscendingByName",value:function isAscendingByName(propertyName){var sortedProperty=this.getSortablePropertyByName(propertyName);return!!sortedProperty&&sortedProperty.isAscending}},{key:"flipCurrentSortOrder",value:function flipCurrentSortOrder(){this.currentSortedProperty.isAscending=!this.currentSortedProperty.isAscending}}]);return SortableProperties}()},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.LEFT_ALIGNMENT="left";exports.RIGHT_ALIGNMENT="right"},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiModalOverlay=KuiModalOverlay;var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiModalOverlay(_ref){var className=_ref.className,rest=_objectWithoutProperties(_ref,["className"]);var classes=(0,_classnames2.default)("kuiModalOverlay",className);return _react2.default.createElement("div",_extends({className:classes},rest))}KuiModalOverlay.propTypes={className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiOutsideClickDetector=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(13);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var KuiOutsideClickDetector=exports.KuiOutsideClickDetector=function(_Component){_inherits(KuiOutsideClickDetector,_Component);function KuiOutsideClickDetector(){var _ref;var _temp,_this,_ret;_classCallCheck(this,KuiOutsideClickDetector);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=KuiOutsideClickDetector.__proto__||Object.getPrototypeOf(KuiOutsideClickDetector)).call.apply(_ref,[this].concat(args))),_this),_this.onClickOutside=function(event){if(!_this.wrapperRef)return;if(_this.wrapperRef===event.target)return;if(_this.wrapperRef.contains(event.target))return;_this.props.onOutsideClick()},_temp),_possibleConstructorReturn(_this,_ret)}_createClass(KuiOutsideClickDetector,[{key:"componentDidMount",value:function componentDidMount(){document.addEventListener("mousedown",this.onClickOutside)}},{key:"componentWillUnmount",value:function componentWillUnmount(){document.removeEventListener("mousedown",this.onClickOutside)}},{key:"render",value:function render(){var _this2=this;var props=_extends({},this.props.children.props,{ref:function ref(node){_this2.wrapperRef=node}});var child=_react.Children.only(this.props.children);return(0,_react.cloneElement)(child,props)}}]);return KuiOutsideClickDetector}(_react.Component);KuiOutsideClickDetector.propTypes={children:_propTypes2.default.node.isRequired,onOutsideClick:_propTypes2.default.func.isRequired}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _pager=__webpack_require__(2045);Object.defineProperty(exports,"KuiPager",{enumerable:true,get:function get(){return _pager.KuiPager}});var _pager_button_group=__webpack_require__(826);Object.defineProperty(exports,"KuiPagerButtonGroup",{enumerable:true,get:function get(){return _pager_button_group.KuiPagerButtonGroup}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiPager=KuiPager;var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _pager_button_group=__webpack_require__(826);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiPager(_ref){var className=_ref.className,startNumber=_ref.startNumber,endNumber=_ref.endNumber,totalItems=_ref.totalItems,hasPreviousPage=_ref.hasPreviousPage,hasNextPage=_ref.hasNextPage,onNextPage=_ref.onNextPage,onPreviousPage=_ref.onPreviousPage,rest=_objectWithoutProperties(_ref,["className","startNumber","endNumber","totalItems","hasPreviousPage","hasNextPage","onNextPage","onPreviousPage"]);var classes=(0,_classnames2.default)("kuiPager",className);return _react2.default.createElement("div",_extends({className:classes},rest),_react2.default.createElement("div",{className:"kuiPagerText"},startNumber,"–",endNumber," of ",totalItems),1===startNumber&&endNumber===totalItems?null:_react2.default.createElement(_pager_button_group.KuiPagerButtonGroup,{hasNext:hasNextPage,hasPrevious:hasPreviousPage,onNext:onNextPage,onPrevious:onPreviousPage}))}KuiPager.propTypes={startNumber:_propTypes2.default.number.isRequired,endNumber:_propTypes2.default.number.isRequired,totalItems:_propTypes2.default.number.isRequired,hasPreviousPage:_propTypes2.default.bool.isRequired,hasNextPage:_propTypes2.default.bool.isRequired,onNextPage:_propTypes2.default.func.isRequired,onPreviousPage:_propTypes2.default.func.isRequired,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiPanelSimple=exports.SIZES=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var paddingSizeToClassNameMap={none:null,s:"kuiPanelSimple--paddingSmall",m:"kuiPanelSimple--paddingMedium",l:"kuiPanelSimple--paddingLarge"};var SIZES=exports.SIZES=Object.keys(paddingSizeToClassNameMap);var KuiPanelSimple=function KuiPanelSimple(_ref){var children=_ref.children,className=_ref.className,paddingSize=_ref.paddingSize,hasShadow=_ref.hasShadow,grow=_ref.grow,panelRef=_ref.panelRef,rest=_objectWithoutProperties(_ref,["children","className","paddingSize","hasShadow","grow","panelRef"]);var classes=(0,_classnames2.default)("kuiPanelSimple",paddingSizeToClassNameMap[paddingSize],{"kuiPanelSimple--shadow":hasShadow,"kuiPanelSimple--flexGrowZero":!grow},className);return _react2.default.createElement("div",_extends({ref:panelRef,className:classes},rest),children)};exports.KuiPanelSimple=KuiPanelSimple;KuiPanelSimple.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string,hasShadow:_propTypes2.default.bool,paddingSize:_propTypes2.default.oneOf(SIZES),grow:_propTypes2.default.bool,panelRef:_propTypes2.default.func};KuiPanelSimple.defaultProps={paddingSize:"m",hasShadow:false,grow:true}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _popover=__webpack_require__(2048);Object.defineProperty(exports,"KuiPopover",{enumerable:true,get:function get(){return _popover.KuiPopover}});var _popover_title=__webpack_require__(2050);Object.defineProperty(exports,"KuiPopoverTitle",{enumerable:true,get:function get(){return _popover_title.KuiPopoverTitle}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiPopover=exports.ANCHOR_POSITIONS=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _focusTrapReact=__webpack_require__(126);var _focusTrapReact2=_interopRequireDefault(_focusTrapReact);var _tabbable=__webpack_require__(2049);var _tabbable2=_interopRequireDefault(_tabbable);var _services=__webpack_require__(196);var _outside_click_detector=__webpack_require__(825);var _panel_simple=__webpack_require__(827);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var anchorPositionToClassNameMap={center:"",left:"kuiPopover--anchorLeft",right:"kuiPopover--anchorRight"};var ANCHOR_POSITIONS=exports.ANCHOR_POSITIONS=Object.keys(anchorPositionToClassNameMap);var KuiPopover=exports.KuiPopover=function(_Component){_inherits(KuiPopover,_Component);function KuiPopover(props){_classCallCheck(this,KuiPopover);var _this=_possibleConstructorReturn(this,(KuiPopover.__proto__||Object.getPrototypeOf(KuiPopover)).call(this,props));_this.onKeyDown=function(e){e.keyCode===_services.cascadingMenuKeyCodes.ESCAPE&&_this.props.closePopover()};_this.panelRef=function(node){_this.props.ownFocus&&(_this.panel=node)};_this.closingTransitionTimeout=void 0;_this.state={isClosing:false,isOpening:false};return _this}_createClass(KuiPopover,[{key:"updateFocus",value:function updateFocus(){var _this2=this;window.requestAnimationFrame(function(){if(!_this2.panel)return;if(_this2.panel.contains(document.activeElement))return;var tabbableItems=(0,_tabbable2.default)(_this2.panel);tabbableItems.length&&tabbableItems[0].focus()})}},{key:"componentDidMount",value:function componentDidMount(){this.updateFocus()}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){var _this3=this;if(!this.props.isOpen&&nextProps.isOpen){clearTimeout(this.closingTransitionTimeout);window.requestAnimationFrame(function(){_this3.setState({isOpening:true})})}if(this.props.isOpen&&!nextProps.isOpen){this.setState({isClosing:true,isOpening:false});this.closingTransitionTimeout=setTimeout(function(){_this3.setState({isClosing:false})},250)}}},{key:"componentDidUpdate",value:function componentDidUpdate(){this.updateFocus()}},{key:"componentWillUnmount",value:function componentWillUnmount(){clearTimeout(this.closingTransitionTimeout)}},{key:"render",value:function render(){var _this4=this;var _props=this.props,anchorPosition=_props.anchorPosition,button=_props.button,isOpen=_props.isOpen,ownFocus=_props.ownFocus,withTitle=_props.withTitle,children=_props.children,className=_props.className,closePopover=_props.closePopover,panelClassName=_props.panelClassName,panelPaddingSize=_props.panelPaddingSize,rest=_objectWithoutProperties(_props,["anchorPosition","button","isOpen","ownFocus","withTitle","children","className","closePopover","panelClassName","panelPaddingSize"]);var classes=(0,_classnames2.default)("kuiPopover",anchorPositionToClassNameMap[anchorPosition],className,{"kuiPopover-isOpen":this.state.isOpening,"kuiPopover--withTitle":withTitle});var panelClasses=(0,_classnames2.default)("kuiPopover__panel",panelClassName);var panel=void 0;if(isOpen||this.state.isClosing){var tabIndex=void 0;var initialFocus=void 0;if(ownFocus){tabIndex="0";initialFocus=function initialFocus(){return _this4.panel}}panel=_react2.default.createElement(_focusTrapReact2.default,{focusTrapOptions:{clickOutsideDeactivates:true,initialFocus:initialFocus}},_react2.default.createElement(_panel_simple.KuiPanelSimple,{panelRef:this.panelRef,className:panelClasses,paddingSize:panelPaddingSize,tabIndex:tabIndex,hasShadow:true},children))}return _react2.default.createElement(_outside_click_detector.KuiOutsideClickDetector,{onOutsideClick:closePopover},_react2.default.createElement("div",_extends({className:classes,onKeyDown:this.onKeyDown},rest),button,panel))}}]);return KuiPopover}(_react.Component);KuiPopover.propTypes={isOpen:_propTypes2.default.bool,ownFocus:_propTypes2.default.bool,withTitle:_propTypes2.default.bool,closePopover:_propTypes2.default.func.isRequired,button:_propTypes2.default.node.isRequired,children:_propTypes2.default.node,anchorPosition:_propTypes2.default.oneOf(ANCHOR_POSITIONS),panelClassName:_propTypes2.default.string,panelPaddingSize:_propTypes2.default.oneOf(_panel_simple.SIZES)};KuiPopover.defaultProps={isOpen:false,ownFocus:false,anchorPosition:"center",panelPaddingSize:"m"}},function(module,exports){module.exports=function(el,options){options=options||{};var elementDocument=el.ownerDocument;var basicTabbables=[];var orderedTabbables=[];var isUnavailable=createIsUnavailable(elementDocument);var candidateSelectors=["input","select","a[href]","textarea","button","[tabindex]"];var candidates=el.querySelectorAll(candidateSelectors);if(options.includeContainer){var matches=Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;if(candidateSelectors.some(function(candidateSelector){return matches.call(el,candidateSelector)})){candidates=Array.prototype.slice.apply(candidates);candidates.unshift(el)}}var candidate,candidateIndex;for(var i=0,l=candidates.length;i<l;i++){candidate=candidates[i];candidateIndex=parseInt(candidate.getAttribute("tabindex"),10)||candidate.tabIndex;if(candidateIndex<0||"INPUT"===candidate.tagName&&"hidden"===candidate.type||candidate.disabled||isUnavailable(candidate,elementDocument))continue;0===candidateIndex?basicTabbables.push(candidate):orderedTabbables.push({index:i,tabIndex:candidateIndex,node:candidate})}var tabbableNodes=orderedTabbables.sort(function(a,b){return a.tabIndex===b.tabIndex?a.index-b.index:a.tabIndex-b.tabIndex}).map(function(a){return a.node});Array.prototype.push.apply(tabbableNodes,basicTabbables);return tabbableNodes};function createIsUnavailable(elementDocument){var isOffCache=[];function isOff(node,nodeComputedStyle){if(node===elementDocument.documentElement)return false;for(var i=0,length=isOffCache.length;i<length;i++)if(isOffCache[i][0]===node)return isOffCache[i][1];nodeComputedStyle=nodeComputedStyle||elementDocument.defaultView.getComputedStyle(node);var result=false;"none"===nodeComputedStyle.display?result=true:node.parentNode&&(result=isOff(node.parentNode));isOffCache.push([node,result]);return result}return function isUnavailable(node){if(node===elementDocument.documentElement)return false;var computedStyle=elementDocument.defaultView.getComputedStyle(node);if(isOff(node,computedStyle))return true;return"hidden"===computedStyle.visibility}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiPopoverTitle=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiPopoverTitle=function KuiPopoverTitle(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiPopoverTitle",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiPopoverTitle=KuiPopoverTitle;KuiPopoverTitle.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _tabs=__webpack_require__(2052);Object.defineProperty(exports,"KuiTabs",{enumerable:true,get:function get(){return _tabs.KuiTabs}});var _tab=__webpack_require__(2053);Object.defineProperty(exports,"KuiTab",{enumerable:true,get:function get(){return _tab.KuiTab}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiTabs=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiTabs=function KuiTabs(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiTabs",className);return _react2.default.createElement("div",_extends({role:"tablist",className:classes},rest),children)};exports.KuiTabs=KuiTabs;KuiTabs.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiTab=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiTab=function KuiTab(_ref){var isSelected=_ref.isSelected,onClick=_ref.onClick,children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["isSelected","onClick","children","className"]);var classes=(0,_classnames2.default)("kuiTab",className,{"kuiTab-isSelected":isSelected});return _react2.default.createElement("button",_extends({role:"tab","aria-selected":!!isSelected,className:classes,onClick:onClick},rest),children)};exports.KuiTab=KuiTab;KuiTab.defaultProps={isSelected:false};KuiTab.propTypes={isSelected:_propTypes2.default.bool,onClick:_propTypes2.default.func.isRequired,children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiTable=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiTable=function KuiTable(_ref){var children=_ref.children,shrinkToContent=_ref.shrinkToContent,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","shrinkToContent","className"]);var classes=(0,_classnames2.default)("kuiTable",className,{"kuiTable--fluid":shrinkToContent});return _react2.default.createElement("table",_extends({className:classes},rest),children)};exports.KuiTable=KuiTable;KuiTable.propTypes={shrinkToContent:_propTypes2.default.bool,children:_propTypes2.default.node,className:_propTypes2.default.string};KuiTable.defaultProps={shrinkToContent:false}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiTableRow=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiTableRow=function KuiTableRow(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiTableRow",className);return _react2.default.createElement("tr",_extends({className:classes},rest),children)};exports.KuiTableRow=KuiTableRow;KuiTableRow.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiControlledTable=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiControlledTable=function KuiControlledTable(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiControlledTable",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiControlledTable=KuiControlledTable;KuiControlledTable.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiTableInfo=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiTableInfo=function KuiTableInfo(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiTableInfo",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiTableInfo=KuiTableInfo;KuiTableInfo.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiTableRowCheckBoxCell=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _table_row_cell=__webpack_require__(830);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiTableRowCheckBoxCell=function KuiTableRowCheckBoxCell(_ref){var onChange=_ref.onChange,isChecked=_ref.isChecked,className=_ref.className,rest=_objectWithoutProperties(_ref,["onChange","isChecked","className"]);var classes=(0,_classnames2.default)("kuiTableRowCell--checkBox",className);return _react2.default.createElement(_table_row_cell.KuiTableRowCell,_extends({className:classes},rest),_react2.default.createElement("input",{type:"checkbox",className:"kuiCheckBox",onChange:onChange,checked:isChecked,"aria-label":(isChecked?"Deselect":"Select")+" row"}))};exports.KuiTableRowCheckBoxCell=KuiTableRowCheckBoxCell;KuiTableRowCheckBoxCell.propTypes={isChecked:_propTypes2.default.bool,onChange:_propTypes2.default.func,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiTableHeaderCheckBoxCell=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);var _table_header_cell=__webpack_require__(829);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiTableHeaderCheckBoxCell=function KuiTableHeaderCheckBoxCell(_ref){var onChange=_ref.onChange,isChecked=_ref.isChecked,className=_ref.className,rest=_objectWithoutProperties(_ref,["onChange","isChecked","className"]);var classes=(0,_classnames2.default)("kuiTableHeaderCell--checkBox",className);return _react2.default.createElement(_table_header_cell.KuiTableHeaderCell,_extends({className:classes},rest),_react2.default.createElement("input",{type:"checkbox",className:"kuiCheckBox",onChange:onChange,checked:isChecked,"aria-label":(isChecked?"Deselect":"Select")+" all rows"}))};exports.KuiTableHeaderCheckBoxCell=KuiTableHeaderCheckBoxCell;KuiTableHeaderCheckBoxCell.propTypes={isChecked:_propTypes2.default.bool,onChange:_propTypes2.default.func,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiTableBody=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiTableBody=function KuiTableBody(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);return _react2.default.createElement("tbody",_extends({className:className},rest),children)};exports.KuiTableBody=KuiTableBody;KuiTableBody.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiTableHeader=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiTableHeader=function KuiTableHeader(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);return _react2.default.createElement("thead",_extends({className:className},rest),_react2.default.createElement("tr",null,children))};exports.KuiTableHeader=KuiTableHeader;KuiTableHeader.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _listing_table=__webpack_require__(2063);Object.defineProperty(exports,"KuiListingTable",{enumerable:true,get:function get(){return _listing_table.KuiListingTable}});var _listing_table_create_button=__webpack_require__(2067);Object.defineProperty(exports,"KuiListingTableCreateButton",{enumerable:true,get:function get(){return _listing_table_create_button.KuiListingTableCreateButton}});var _listing_table_delete_button=__webpack_require__(2068);Object.defineProperty(exports,"KuiListingTableDeleteButton",{enumerable:true,get:function get(){return _listing_table_delete_button.KuiListingTableDeleteButton}});var _listing_table_no_matches_prompt=__webpack_require__(2069);Object.defineProperty(exports,"KuiListingTableNoMatchesPrompt",{enumerable:true,get:function get(){return _listing_table_no_matches_prompt.KuiListingTableNoMatchesPrompt}});var _listing_table_loading_prompt=__webpack_require__(2070);Object.defineProperty(exports,"KuiListingTableLoadingPrompt",{enumerable:true,get:function get(){return _listing_table_loading_prompt.KuiListingTableLoadingPrompt}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiListingTable=KuiListingTable;var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _lodash=__webpack_require__(10);var _lodash2=_interopRequireDefault(_lodash);var _listing_table_tool_bar=__webpack_require__(2064);var _listing_table_tool_bar_footer=__webpack_require__(2065);var _listing_table_row=__webpack_require__(2066);var _index=__webpack_require__(116);var _services=__webpack_require__(196);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return Array.from(arr)}function KuiListingTable(_ref){var rows=_ref.rows,header=_ref.header,pager=_ref.pager,toolBarActions=_ref.toolBarActions,onFilter=_ref.onFilter,onItemSelectionChanged=_ref.onItemSelectionChanged,selectedRowIds=_ref.selectedRowIds,filter=_ref.filter,prompt=_ref.prompt;function areAllRowsSelected(){return rows.length>0&&rows.length===selectedRowIds.length}function toggleAll(){areAllRowsSelected()?onItemSelectionChanged([]):onItemSelectionChanged(rows.map(function(row){return row.id}))}function toggleRow(rowId){var selectedRowIndex=selectedRowIds.indexOf(rowId);onItemSelectionChanged(selectedRowIndex>=0?selectedRowIds.filter(function(item,index){return index!==selectedRowIndex}):[].concat(_toConsumableArray(selectedRowIds),[rowId]))}function renderTableRows(){return rows.map(function(row,rowIndex){return _react2.default.createElement(_listing_table_row.KuiListingTableRow,{key:rowIndex,isSelected:selectedRowIds.indexOf(row.id)>=0,onSelectionChanged:toggleRow,row:row})})}function renderHeader(){return header.map(function(cell,index){var content=cell.content,props=_objectWithoutProperties(cell,["content"]);if(_react2.default.isValidElement(cell)||!_lodash2.default.isObject(cell)){props=[];content=cell}return _react2.default.createElement(_index.KuiTableHeaderCell,_extends({key:index},props),content)})}function renderInnerTable(){return _react2.default.createElement(_index.KuiTable,null,_react2.default.createElement(_index.KuiTableHeader,null,_react2.default.createElement(_index.KuiTableHeaderCheckBoxCell,{isChecked:areAllRowsSelected(),onChange:toggleAll}),renderHeader()),_react2.default.createElement(_index.KuiTableBody,null,renderTableRows()))}return _react2.default.createElement(_index.KuiControlledTable,null,_react2.default.createElement(_listing_table_tool_bar.KuiListingTableToolBar,{actions:toolBarActions,pager:pager,onFilter:onFilter,filter:filter}),prompt||renderInnerTable(),_react2.default.createElement(_listing_table_tool_bar_footer.KuiListingTableToolBarFooter,{itemsSelectedCount:selectedRowIds.length,pager:pager}))}KuiListingTable.propTypes={header:_propTypes2.default.arrayOf(_propTypes2.default.oneOfType([_propTypes2.default.node,_propTypes2.default.shape({content:_propTypes2.default.node,align:_propTypes2.default.oneOf([_services.LEFT_ALIGNMENT,_services.RIGHT_ALIGNMENT]),onSort:_propTypes2.default.func,isSortAscending:_propTypes2.default.bool,isSorted:_propTypes2.default.bool})])),rows:_propTypes2.default.arrayOf(_propTypes2.default.shape({id:_propTypes2.default.string,cells:_propTypes2.default.arrayOf(_propTypes2.default.oneOfType([_propTypes2.default.node,_propTypes2.default.shape({content:_propTypes2.default.node,align:_propTypes2.default.oneOf([_services.LEFT_ALIGNMENT,_services.RIGHT_ALIGNMENT])})]))})),pager:_propTypes2.default.node,onItemSelectionChanged:_propTypes2.default.func.isRequired,selectedRowIds:_propTypes2.default.array,prompt:_propTypes2.default.node,onFilter:_propTypes2.default.func,toolBarActions:_propTypes2.default.node,filter:_propTypes2.default.string};KuiListingTable.defaultProps={rows:[],selectedRowIds:[]}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiListingTableToolBar=KuiListingTableToolBar;var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _=__webpack_require__(116);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function KuiListingTableToolBar(_ref){var pager=_ref.pager,actions=_ref.actions,onFilter=_ref.onFilter,filter=_ref.filter;var actionsSection=void 0;actions&&(actionsSection=_react2.default.createElement(_.KuiToolBarSection,null,actions));var pagerSection=void 0;pager&&(pagerSection=_react2.default.createElement(_.KuiToolBarSection,null,pager));return _react2.default.createElement(_.KuiToolBar,null,_react2.default.createElement(_.KuiToolBarSearchBox,{onFilter:onFilter,filter:filter}),actionsSection,pagerSection)}KuiListingTableToolBar.propTypes={filter:_propTypes2.default.string,onFilter:_propTypes2.default.func.isRequired,pager:_propTypes2.default.node,actions:_propTypes2.default.node}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiListingTableToolBarFooter=KuiListingTableToolBarFooter;var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _=__webpack_require__(116);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function KuiListingTableToolBarFooter(_ref){var pager=_ref.pager,itemsSelectedCount=_ref.itemsSelectedCount;var renderText=function renderText(){if(1===itemsSelectedCount)return"1 item selected";return itemsSelectedCount+" items selected"};var pagerSection=void 0;pager&&(pagerSection=_react2.default.createElement(_.KuiToolBarFooterSection,null,pager));return _react2.default.createElement(_.KuiToolBarFooter,null,_react2.default.createElement(_.KuiToolBarFooterSection,null,_react2.default.createElement(_.KuiToolBarText,null,renderText())),pagerSection)}KuiListingTableToolBarFooter.propTypes={pager:_propTypes2.default.node,itemsSelectedCount:_propTypes2.default.number}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiListingTableRow=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _lodash=__webpack_require__(10);var _lodash2=_interopRequireDefault(_lodash);var _2=__webpack_require__(828);var _services=__webpack_require__(196);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var KuiListingTableRow=exports.KuiListingTableRow=function(_React$PureComponent){_inherits(KuiListingTableRow,_React$PureComponent);function KuiListingTableRow(){var _ref;var _temp,_this,_ret;_classCallCheck(this,KuiListingTableRow);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,(_ref=KuiListingTableRow.__proto__||Object.getPrototypeOf(KuiListingTableRow)).call.apply(_ref,[this].concat(args))),_this),_this.onSelectionChanged=function(){_this.props.onSelectionChanged(_this.props.row.id)},_temp),_possibleConstructorReturn(_this,_ret)}_createClass(KuiListingTableRow,[{key:"renderCells",value:function renderCells(){return this.props.row.cells.map(function(cell,index){var content=cell.content,props=_objectWithoutProperties(cell,["content"]);if(_react2.default.isValidElement(cell)||!_lodash2.default.isObject(cell)){props=[];content=cell}return _react2.default.createElement(_2.KuiTableRowCell,_extends({key:index},props),content)})}},{key:"render",value:function render(){var isSelected=this.props.isSelected;return _react2.default.createElement(_2.KuiTableRow,null,_react2.default.createElement(_2.KuiTableRowCheckBoxCell,{isChecked:isSelected,onChange:this.onSelectionChanged}),this.renderCells())}}]);return KuiListingTableRow}(_react2.default.PureComponent);KuiListingTableRow.propTypes={row:_propTypes2.default.shape({id:_propTypes2.default.string,cells:_propTypes2.default.arrayOf(_propTypes2.default.oneOfType([_propTypes2.default.node,_propTypes2.default.shape({content:_propTypes2.default.node,align:_propTypes2.default.oneOf([_services.LEFT_ALIGNMENT,_services.RIGHT_ALIGNMENT])})]))}).isRequired,onSelectionChanged:_propTypes2.default.func.isRequired,isSelected:_propTypes2.default.bool}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiListingTableCreateButton=KuiListingTableCreateButton;var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _=__webpack_require__(116);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiListingTableCreateButton(_ref){var onCreate=_ref.onCreate,props=_objectWithoutProperties(_ref,["onCreate"]);return _react2.default.createElement(_.KuiButton,_extends({},props,{buttonType:"primary",onClick:onCreate,icon:_react2.default.createElement(_.KuiButtonIcon,{type:"create"})}))}KuiListingTableCreateButton.propTypes={onCreate:_propTypes2.default.func}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiListingTableDeleteButton=KuiListingTableDeleteButton;var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _=__webpack_require__(116);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiListingTableDeleteButton(_ref){var onDelete=_ref.onDelete,props=_objectWithoutProperties(_ref,["onDelete"]);return _react2.default.createElement(_.KuiButton,_extends({},props,{buttonType:"danger",onClick:onDelete,icon:_react2.default.createElement(_.KuiButtonIcon,{type:"delete"})}))}KuiListingTableDeleteButton.propTypes={onDelete:_propTypes2.default.func}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiListingTableNoMatchesPrompt=KuiListingTableNoMatchesPrompt;var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _=__webpack_require__(116);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function KuiListingTableNoMatchesPrompt(){return _react2.default.createElement(_.KuiEmptyTablePromptPanel,null,_react2.default.createElement(_.KuiTableInfo,null,"No items matched your search."))}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiListingTableLoadingPrompt=KuiListingTableLoadingPrompt;var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _=__webpack_require__(116);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function KuiListingTableLoadingPrompt(){return _react2.default.createElement(_.KuiEmptyTablePromptPanel,null,_react2.default.createElement(_.KuiTableInfo,null,"Loading..."))}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _tool_bar_search_box=__webpack_require__(2072);Object.defineProperty(exports,"KuiToolBarSearchBox",{enumerable:true,get:function get(){return _tool_bar_search_box.KuiToolBarSearchBox}});var _tool_bar=__webpack_require__(2073);Object.defineProperty(exports,"KuiToolBar",{enumerable:true,get:function get(){return _tool_bar.KuiToolBar}});var _tool_bar_footer=__webpack_require__(2074);Object.defineProperty(exports,"KuiToolBarFooter",{enumerable:true,get:function get(){return _tool_bar_footer.KuiToolBarFooter}});var _tool_bar_section=__webpack_require__(2075);Object.defineProperty(exports,"KuiToolBarSection",{enumerable:true,get:function get(){return _tool_bar_section.KuiToolBarSection}});var _tool_bar_footer_section=__webpack_require__(2076);Object.defineProperty(exports,"KuiToolBarFooterSection",{enumerable:true,get:function get(){return _tool_bar_footer_section.KuiToolBarFooterSection}});var _tool_bar_text=__webpack_require__(2077);Object.defineProperty(exports,"KuiToolBarText",{enumerable:true,get:function get(){return _tool_bar_text.KuiToolBarText}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.KuiToolBarSearchBox=KuiToolBarSearchBox;var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function KuiToolBarSearchBox(_ref){var defaultValue=_ref.defaultValue,filter=_ref.filter,onFilter=_ref.onFilter,placeholder=_ref.placeholder,className=_ref.className,rest=_objectWithoutProperties(_ref,["defaultValue","filter","onFilter","placeholder","className"]);function onChange(event){onFilter(event.target.value)}var classes=(0,_classnames2.default)("kuiToolBarSearch",className);return _react2.default.createElement("div",_extends({className:classes},rest),_react2.default.createElement("div",{className:"kuiToolBarSearchBox"},_react2.default.createElement("div",{className:"kuiToolBarSearchBox__icon kuiIcon fa-search"}),_react2.default.createElement("input",{defaultValue:defaultValue,className:"kuiToolBarSearchBox__input",type:"text",placeholder:placeholder,"aria-label":"Filter",value:filter,onChange:onChange})))}KuiToolBarSearchBox.propTypes={defaultValue:_propTypes2.default.string,filter:_propTypes2.default.string,onFilter:_propTypes2.default.func.isRequired};KuiToolBarSearchBox.defaultProps={placeholder:"Search..."}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiToolBar=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiToolBar=function KuiToolBar(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiToolBar",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiToolBar=KuiToolBar;KuiToolBar.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiToolBarFooter=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiToolBarFooter=function KuiToolBarFooter(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiToolBarFooter",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiToolBarFooter=KuiToolBarFooter;KuiToolBarFooter.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiToolBarSection=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiToolBarSection=function KuiToolBarSection(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiToolBarSection",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiToolBarSection=KuiToolBarSection;KuiToolBarSection.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiToolBarFooterSection=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiToolBarFooterSection=function KuiToolBarFooterSection(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiToolBarFooterSection",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiToolBarFooterSection=KuiToolBarFooterSection;KuiToolBarFooterSection.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.KuiToolBarText=void 0;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _react=__webpack_require__(13);var _react2=_interopRequireDefault(_react);var _classnames=__webpack_require__(14);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var KuiToolBarText=function KuiToolBarText(_ref){var children=_ref.children,className=_ref.className,rest=_objectWithoutProperties(_ref,["children","className"]);var classes=(0,_classnames2.default)("kuiToolBarText",className);return _react2.default.createElement("div",_extends({className:classes},rest),children)};exports.KuiToolBarText=KuiToolBarText;KuiToolBarText.propTypes={children:_propTypes2.default.node,className:_propTypes2.default.string}},function(module,exports,__webpack_require__){(function(global){0,factory=function(){"use strict";var classCallCheck=function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")};var createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var get=function get(object,property,receiver){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,property);if(void 0===desc){var parent=Object.getPrototypeOf(object);return null===parent?void 0:get(parent,property,receiver)}if("value"in desc)return desc.value;var getter=desc.get;if(void 0===getter)return;return getter.call(receiver)};var inherits=function(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)};var possibleConstructorReturn=function(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call};var Emitter=function(){function Emitter(){classCallCheck(this,Emitter);this.listeners={}}createClass(Emitter,[{key:"addEventListener",value:function addEventListener(type,callback){type in this.listeners||(this.listeners[type]=[]);this.listeners[type].push(callback)}},{key:"removeEventListener",value:function removeEventListener(type,callback){if(!(type in this.listeners))return;var stack=this.listeners[type];for(var i=0,l=stack.length;i<l;i++)if(stack[i]===callback){stack.splice(i,1);return}}},{key:"dispatchEvent",value:function dispatchEvent(event){var _this=this;if(!(event.type in this.listeners))return;var debounce=function debounce(callback){setTimeout(function(){return callback.call(_this,event)})};var stack=this.listeners[event.type];for(var i=0,l=stack.length;i<l;i++)debounce(stack[i]);return!event.defaultPrevented}}]);return Emitter}();var AbortSignal=function(_Emitter){inherits(AbortSignal,_Emitter);function AbortSignal(){classCallCheck(this,AbortSignal);var _this2=possibleConstructorReturn(this,(AbortSignal.__proto__||Object.getPrototypeOf(AbortSignal)).call(this));_this2.aborted=false;_this2.onabort=null;return _this2}createClass(AbortSignal,[{key:"toString",value:function toString(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function dispatchEvent(event){if("abort"===event.type){this.aborted=true;"function"===typeof this.onabort&&this.onabort.call(this,event)}get(AbortSignal.prototype.__proto__||Object.getPrototypeOf(AbortSignal.prototype),"dispatchEvent",this).call(this,event)}}]);return AbortSignal}(Emitter);var AbortController=function(){function AbortController(){classCallCheck(this,AbortController);this.signal=new AbortSignal}createClass(AbortController,[{key:"abort",value:function abort(){var event=void 0;try{event=new Event("abort")}catch(e){if("undefined"!==typeof document){event=document.createEvent("Event");event.initEvent("abort",false,false)}else event={type:"abort",bubbles:false,cancelable:false}}this.signal.dispatchEvent(event)}},{key:"toString",value:function toString(){return"[object AbortController]"}}]);return AbortController}();if("undefined"!==typeof Symbol&&Symbol.toStringTag){AbortController.prototype[Symbol.toStringTag]="AbortController";AbortSignal.prototype[Symbol.toStringTag]="AbortSignal"}function abortableFetchDecorator(patchTargets){"function"===typeof patchTargets&&(patchTargets={fetch:patchTargets});var _patchTargets=patchTargets,fetch=_patchTargets.fetch,_patchTargets$Request=_patchTargets.Request,NativeRequest=void 0===_patchTargets$Request?fetch.Request:_patchTargets$Request,_patchTargets$AbortCo=_patchTargets.AbortController,NativeAbortController=void 0===_patchTargets$AbortCo?AbortController:_patchTargets$AbortCo;var Request=NativeRequest;if(Request){var controller=new NativeAbortController;var signal=controller.signal;var request=new Request("/",{signal:signal});if(request.signal)return{fetch:fetch,Request:Request};Request=function Request(input,init){var request=new NativeRequest(input,init);init&&init.signal&&(request.signal=init.signal);return request};Request.prototype=NativeRequest.prototype}var realFetch=fetch;var abortableFetch=function abortableFetch(input,init){var signal=Request&&Request.prototype.isPrototypeOf(input)?input.signal:init?init.signal:void 0;if(signal){var abortError=void 0;try{abortError=new DOMException("Aborted","AbortError")}catch(err){abortError=new Error("Aborted");abortError.name="AbortError"}if(signal.aborted)return Promise.reject(abortError);var cancellation=new Promise(function(_,reject){signal.addEventListener("abort",function(){return reject(abortError)},{once:true})});return Promise.race([cancellation,realFetch(input,init)])}return realFetch(input,init)};return{fetch:abortableFetch,Request:Request}}(function(self){if(self.AbortController)return;self.AbortController=AbortController;self.AbortSignal=AbortSignal;if(!self.fetch){console.warn("fetch() is not available, cannot install abortcontroller-polyfill");return}var _abortableFetch=abortableFetchDecorator(self),fetch=_abortableFetch.fetch,Request=_abortableFetch.Request;self.fetch=fetch;self.Request=Request})("undefined"!==typeof self?self:global)},void factory();var factory}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){__webpack_require__(2080);module.exports="ngAria"},function(module,exports){
/**
 * @license AngularJS v1.6.6
 * (c) 2010-2017 Google, Inc. http://angularjs.org
 * License: MIT
 */
(function(window,angular){"use strict";var ngAriaModule=angular.module("ngAria",["ng"]).info({angularVersion:"1.6.6"}).provider("$aria",$AriaProvider);var nodeBlackList=["BUTTON","A","INPUT","TEXTAREA","SELECT","DETAILS","SUMMARY"];var isNodeOneOf=function(elem,nodeTypeArray){if(-1!==nodeTypeArray.indexOf(elem[0].nodeName))return true};function $AriaProvider(){var config={ariaHidden:true,ariaChecked:true,ariaReadonly:true,ariaDisabled:true,ariaRequired:true,ariaInvalid:true,ariaValue:true,tabindex:true,bindKeydown:true,bindRoleForClick:true};this.config=function(newConfig){config=angular.extend(config,newConfig)};function watchExpr(attrName,ariaAttr,nodeBlackList,negate){return function(scope,elem,attr){var ariaCamelName=attr.$normalize(ariaAttr);!config[ariaCamelName]||isNodeOneOf(elem,nodeBlackList)||attr[ariaCamelName]||scope.$watch(attr[attrName],function(boolVal){boolVal=negate?!boolVal:!!boolVal;elem.attr(ariaAttr,boolVal)})}}this.$get=function(){return{config:function(key){return config[key]},$$watchExpr:watchExpr}}}ngAriaModule.directive("ngShow",["$aria",function($aria){return $aria.$$watchExpr("ngShow","aria-hidden",[],true)}]).directive("ngHide",["$aria",function($aria){return $aria.$$watchExpr("ngHide","aria-hidden",[],false)}]).directive("ngValue",["$aria",function($aria){return $aria.$$watchExpr("ngValue","aria-checked",nodeBlackList,false)}]).directive("ngChecked",["$aria",function($aria){return $aria.$$watchExpr("ngChecked","aria-checked",nodeBlackList,false)}]).directive("ngReadonly",["$aria",function($aria){return $aria.$$watchExpr("ngReadonly","aria-readonly",nodeBlackList,false)}]).directive("ngRequired",["$aria",function($aria){return $aria.$$watchExpr("ngRequired","aria-required",nodeBlackList,false)}]).directive("ngModel",["$aria",function($aria){function shouldAttachAttr(attr,normalizedAttr,elem,allowBlacklistEls){return $aria.config(normalizedAttr)&&!elem.attr(attr)&&(allowBlacklistEls||!isNodeOneOf(elem,nodeBlackList))}function shouldAttachRole(role,elem){return!elem.attr("role")&&elem.attr("type")===role&&!isNodeOneOf(elem,nodeBlackList)}function getShape(attr,elem){var type=attr.type,role=attr.role;return"checkbox"===(type||role)||"menuitemcheckbox"===role?"checkbox":"radio"===(type||role)||"menuitemradio"===role?"radio":"range"===type||"progressbar"===role||"slider"===role?"range":""}return{restrict:"A",require:"ngModel",priority:200,compile:function(elem,attr){var shape=getShape(attr,elem);return{post:function(scope,elem,attr,ngModel){var needsTabIndex=shouldAttachAttr("tabindex","tabindex",elem,false);function ngAriaWatchModelValue(){return ngModel.$modelValue}function getRadioReaction(newVal){var boolVal=attr.value==ngModel.$viewValue;elem.attr("aria-checked",boolVal)}function getCheckboxReaction(){elem.attr("aria-checked",!ngModel.$isEmpty(ngModel.$viewValue))}switch(shape){case"radio":case"checkbox":shouldAttachRole(shape,elem)&&elem.attr("role",shape);shouldAttachAttr("aria-checked","ariaChecked",elem,false)&&scope.$watch(ngAriaWatchModelValue,"radio"===shape?getRadioReaction:getCheckboxReaction);needsTabIndex&&elem.attr("tabindex",0);break;case"range":shouldAttachRole(shape,elem)&&elem.attr("role","slider");if($aria.config("ariaValue")){var needsAriaValuemin=!elem.attr("aria-valuemin")&&(attr.hasOwnProperty("min")||attr.hasOwnProperty("ngMin"));var needsAriaValuemax=!elem.attr("aria-valuemax")&&(attr.hasOwnProperty("max")||attr.hasOwnProperty("ngMax"));var needsAriaValuenow=!elem.attr("aria-valuenow");needsAriaValuemin&&attr.$observe("min",function ngAriaValueMinReaction(newVal){elem.attr("aria-valuemin",newVal)});needsAriaValuemax&&attr.$observe("max",function ngAriaValueMinReaction(newVal){elem.attr("aria-valuemax",newVal)});needsAriaValuenow&&scope.$watch(ngAriaWatchModelValue,function ngAriaValueNowReaction(newVal){elem.attr("aria-valuenow",newVal)})}needsTabIndex&&elem.attr("tabindex",0)}!attr.hasOwnProperty("ngRequired")&&ngModel.$validators.required&&shouldAttachAttr("aria-required","ariaRequired",elem,false)&&attr.$observe("required",function(){elem.attr("aria-required",!!attr["required"])});shouldAttachAttr("aria-invalid","ariaInvalid",elem,true)&&scope.$watch(function ngAriaInvalidWatch(){return ngModel.$invalid},function ngAriaInvalidReaction(newVal){elem.attr("aria-invalid",!!newVal)})}}}}}]).directive("ngDisabled",["$aria",function($aria){return $aria.$$watchExpr("ngDisabled","aria-disabled",nodeBlackList,false)}]).directive("ngMessages",function(){return{restrict:"A",require:"?ngMessages",link:function(scope,elem,attr,ngMessages){elem.attr("aria-live")||elem.attr("aria-live","assertive")}}}).directive("ngClick",["$aria","$parse",function($aria,$parse){return{restrict:"A",compile:function(elem,attr){var fn=$parse(attr.ngClick);return function(scope,elem,attr){if(!isNodeOneOf(elem,nodeBlackList)){$aria.config("bindRoleForClick")&&!elem.attr("role")&&elem.attr("role","button");$aria.config("tabindex")&&!elem.attr("tabindex")&&elem.attr("tabindex",0);!$aria.config("bindKeydown")||attr.ngKeydown||attr.ngKeypress||attr.ngKeyup||elem.on("keydown",function(event){var keyCode=event.which||event.keyCode;32!==keyCode&&13!==keyCode||scope.$apply(callback);function callback(){fn(scope,{$event:event})}})}}}}}]).directive("ngDblclick",["$aria",function($aria){return function(scope,elem,attr){!$aria.config("tabindex")||elem.attr("tabindex")||isNodeOneOf(elem,nodeBlackList)||elem.attr("tabindex",0)}}])})(window,window.angular)},function(module,exports){
/* 
 * An Angular service which helps with creating recursive directives.
 * @author Mark Lagendijk
 * @license MIT
 */
angular.module("RecursionHelper",[]).factory("RecursionHelper",["$compile",function($compile){return{compile:function(element,link){angular.isFunction(link)&&(link={post:link});var contents=element.contents().remove();var compiledContents;return{pre:link&&link.pre?link.pre:null,post:function(scope,element){compiledContents||(compiledContents=$compile(contents));compiledContents(scope,function(clone){element.append(clone)});link&&link.post&&link.post.apply(null,arguments)}}}}}])},function(module,exports){
/**
 * @license AngularJS v1.4.7
 * (c) 2010-2015 Google, Inc. http://angularjs.org
 * License: MIT
 */
(function(window,angular,undefined){"use strict";var ngRouteModule=angular.module("ngRoute",["ng"]).provider("$route",$RouteProvider),$routeMinErr=angular.$$minErr("ngRoute");function $RouteProvider(){function inherit(parent,extra){return angular.extend(Object.create(parent),extra)}var routes={};this.when=function(path,route){var routeCopy=angular.copy(route);angular.isUndefined(routeCopy.reloadOnSearch)&&(routeCopy.reloadOnSearch=true);angular.isUndefined(routeCopy.caseInsensitiveMatch)&&(routeCopy.caseInsensitiveMatch=this.caseInsensitiveMatch);routes[path]=angular.extend(routeCopy,path&&pathRegExp(path,routeCopy));if(path){var redirectPath="/"==path[path.length-1]?path.substr(0,path.length-1):path+"/";routes[redirectPath]=angular.extend({redirectTo:path},pathRegExp(redirectPath,routeCopy))}return this};this.caseInsensitiveMatch=false;function pathRegExp(path,opts){var insensitive=opts.caseInsensitiveMatch,ret={originalPath:path,regexp:path},keys=ret.keys=[];path=path.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(_,slash,key,option){var optional="?"===option?option:null;var star="*"===option?option:null;keys.push({name:key,optional:!!optional});slash=slash||"";return(optional?"":slash)+"(?:"+(optional?slash:"")+(star?"(.+?)":"([^/]+)")+(optional||"")+")"+(optional||"")}).replace(/([\/$\*])/g,"\\$1");ret.regexp=new RegExp("^"+path+"$",insensitive?"i":"");return ret}this.otherwise=function(params){"string"===typeof params&&(params={redirectTo:params});this.when(null,params);return this};this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function($rootScope,$location,$routeParams,$q,$injector,$templateRequest,$sce){var preparedRoute,preparedRouteIsUpdateOnly,forceReload=false,$route={routes:routes,reload:function(){forceReload=true;$rootScope.$evalAsync(function(){prepareRoute();commitRoute()})},updateParams:function(newParams){if(!this.current||!this.current.$$route)throw $routeMinErr("norout","Tried updating route when with no current route");newParams=angular.extend({},this.current.params,newParams);$location.path(interpolate(this.current.$$route.originalPath,newParams));$location.search(newParams)}};$rootScope.$on("$locationChangeStart",prepareRoute);$rootScope.$on("$locationChangeSuccess",commitRoute);return $route;function switchRouteMatcher(on,route){var keys=route.keys,params={};if(!route.regexp)return null;var m=route.regexp.exec(on);if(!m)return null;for(var i=1,len=m.length;i<len;++i){var key=keys[i-1];var val=m[i];key&&val&&(params[key.name]=val)}return params}function prepareRoute($locationEvent){var lastRoute=$route.current;preparedRoute=parseRoute();preparedRouteIsUpdateOnly=preparedRoute&&lastRoute&&preparedRoute.$$route===lastRoute.$$route&&angular.equals(preparedRoute.pathParams,lastRoute.pathParams)&&!preparedRoute.reloadOnSearch&&!forceReload;preparedRouteIsUpdateOnly||!lastRoute&&!preparedRoute||$rootScope.$broadcast("$routeChangeStart",preparedRoute,lastRoute).defaultPrevented&&$locationEvent&&$locationEvent.preventDefault()}function commitRoute(){var lastRoute=$route.current;var nextRoute=preparedRoute;if(preparedRouteIsUpdateOnly){lastRoute.params=nextRoute.params;angular.copy(lastRoute.params,$routeParams);$rootScope.$broadcast("$routeUpdate",lastRoute)}else if(nextRoute||lastRoute){forceReload=false;$route.current=nextRoute;nextRoute&&nextRoute.redirectTo&&(angular.isString(nextRoute.redirectTo)?$location.path(interpolate(nextRoute.redirectTo,nextRoute.params)).search(nextRoute.params).replace():$location.url(nextRoute.redirectTo(nextRoute.pathParams,$location.path(),$location.search())).replace());$q.when(nextRoute).then(function(){if(nextRoute){var template,templateUrl,locals=angular.extend({},nextRoute.resolve);angular.forEach(locals,function(value,key){locals[key]=angular.isString(value)?$injector.get(value):$injector.invoke(value,null,null,key)});if(angular.isDefined(template=nextRoute.template))angular.isFunction(template)&&(template=template(nextRoute.params));else if(angular.isDefined(templateUrl=nextRoute.templateUrl)){angular.isFunction(templateUrl)&&(templateUrl=templateUrl(nextRoute.params));if(angular.isDefined(templateUrl)){nextRoute.loadedTemplateUrl=$sce.valueOf(templateUrl);template=$templateRequest(templateUrl)}}angular.isDefined(template)&&(locals["$template"]=template);return $q.all(locals)}}).then(function(locals){if(nextRoute==$route.current){if(nextRoute){nextRoute.locals=locals;angular.copy(nextRoute.params,$routeParams)}$rootScope.$broadcast("$routeChangeSuccess",nextRoute,lastRoute)}},function(error){nextRoute==$route.current&&$rootScope.$broadcast("$routeChangeError",nextRoute,lastRoute,error)})}}function parseRoute(){var params,match;angular.forEach(routes,function(route,path){if(!match&&(params=switchRouteMatcher($location.path(),route))){match=inherit(route,{params:angular.extend({},$location.search(),params),pathParams:params});match.$$route=route}});return match||routes[null]&&inherit(routes[null],{params:{},pathParams:{}})}function interpolate(string,params){var result=[];angular.forEach((string||"").split(":"),function(segment,i){if(0===i)result.push(segment);else{var segmentMatch=segment.match(/(\w+)(?:[?*])?(.*)/);var key=segmentMatch[1];result.push(params[key]);result.push(segmentMatch[2]||"");delete params[key]}});return result.join("")}}]}ngRouteModule.provider("$routeParams",$RouteParamsProvider);function $RouteParamsProvider(){this.$get=function(){return{}}}ngRouteModule.directive("ngView",ngViewFactory);ngRouteModule.directive("ngView",ngViewFillContentFactory);ngViewFactory.$inject=["$route","$anchorScroll","$animate"];function ngViewFactory($route,$anchorScroll,$animate){return{restrict:"ECA",terminal:true,priority:400,transclude:"element",link:function(scope,$element,attr,ctrl,$transclude){var currentScope,currentElement,previousLeaveAnimation,autoScrollExp=attr.autoscroll,onloadExp=attr.onload||"";scope.$on("$routeChangeSuccess",update);update();function cleanupLastView(){if(previousLeaveAnimation){$animate.cancel(previousLeaveAnimation);previousLeaveAnimation=null}if(currentScope){currentScope.$destroy();currentScope=null}if(currentElement){previousLeaveAnimation=$animate.leave(currentElement);previousLeaveAnimation.then(function(){previousLeaveAnimation=null});currentElement=null}}function update(){var locals=$route.current&&$route.current.locals,template=locals&&locals.$template;if(angular.isDefined(template)){var newScope=scope.$new();var current=$route.current;var clone=$transclude(newScope,function(clone){$animate.enter(clone,null,currentElement||$element).then(function onNgViewEnter(){!angular.isDefined(autoScrollExp)||autoScrollExp&&!scope.$eval(autoScrollExp)||$anchorScroll()});cleanupLastView()});currentElement=clone;currentScope=current.scope=newScope;currentScope.$emit("$viewContentLoaded");currentScope.$eval(onloadExp)}else cleanupLastView()}}}}ngViewFillContentFactory.$inject=["$compile","$controller","$route"];function ngViewFillContentFactory($compile,$controller,$route){return{restrict:"ECA",priority:-400,link:function(scope,$element){var current=$route.current,locals=current.locals;$element.html(locals.$template);var link=$compile($element.contents());if(current.controller){locals.$scope=scope;var controller=$controller(current.controller,locals);current.controllerAs&&(scope[current.controllerAs]=controller);$element.data("$ngControllerController",controller);$element.children().data("$ngControllerController",controller)}link(scope)}}}})(window,window.angular)},function(module,exports){
/**
 * @license AngularJS v1.6.5
 * (c) 2010-2017 Google, Inc. http://angularjs.org
 * License: MIT
 */
(function(window,angular){"use strict";var $sanitizeMinErr=angular.$$minErr("$sanitize");var bind;var extend;var forEach;var isDefined;var lowercase;var noop;var nodeContains;var htmlParser;var htmlSanitizeWriter;function $SanitizeProvider(){var svgEnabled=false;this.$get=["$$sanitizeUri",function($$sanitizeUri){svgEnabled&&extend(validElements,svgElements);return function(html){var buf=[];htmlParser(html,htmlSanitizeWriter(buf,function(uri,isImage){return!/^unsafe:/.test($$sanitizeUri(uri,isImage))}));return buf.join("")}}];this.enableSvg=function(enableSvg){if(isDefined(enableSvg)){svgEnabled=enableSvg;return this}return svgEnabled};bind=angular.bind;extend=angular.extend;forEach=angular.forEach;isDefined=angular.isDefined;lowercase=angular.lowercase;noop=angular.noop;htmlParser=htmlParserImpl;htmlSanitizeWriter=htmlSanitizeWriterImpl;nodeContains=window.Node.prototype.contains||function(arg){return!!(16&this.compareDocumentPosition(arg))};var SURROGATE_PAIR_REGEXP=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,NON_ALPHANUMERIC_REGEXP=/([^#-~ |!])/g;var voidElements=toMap("area,br,col,hr,img,wbr");var optionalEndTagBlockElements=toMap("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),optionalEndTagInlineElements=toMap("rp,rt"),optionalEndTagElements=extend({},optionalEndTagInlineElements,optionalEndTagBlockElements);var blockElements=extend({},optionalEndTagBlockElements,toMap("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul"));var inlineElements=extend({},optionalEndTagInlineElements,toMap("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var"));var svgElements=toMap("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan");var blockedElements=toMap("script,style");var validElements=extend({},voidElements,blockElements,inlineElements,optionalEndTagElements);var uriAttrs=toMap("background,cite,href,longdesc,src,xlink:href");var htmlAttrs=toMap("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width");var svgAttrs=toMap("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",true);var validAttrs=extend({},uriAttrs,svgAttrs,htmlAttrs);function toMap(str,lowercaseKeys){var i,obj={},items=str.split(",");for(i=0;i<items.length;i++)obj[lowercaseKeys?lowercase(items[i]):items[i]]=true;return obj}var getInertBodyElement=function(window,document){var inertDocument;if(!document||!document.implementation)throw $sanitizeMinErr("noinert","Can't create an inert html document");inertDocument=document.implementation.createHTMLDocument("inert");var inertBodyElement=(inertDocument.documentElement||inertDocument.getDocumentElement()).querySelector("body");inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>';if(inertBodyElement.querySelector("svg")){inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">';return inertBodyElement.querySelector("svg img")?getInertBodyElement_DOMParser:getInertBodyElement_InertDocument}return getInertBodyElement_XHR;function getInertBodyElement_XHR(html){html="<remove></remove>"+html;try{html=encodeURI(html)}catch(e){return}var xhr=new window.XMLHttpRequest;xhr.responseType="document";xhr.open("GET","data:text/html;charset=utf-8,"+html,false);xhr.send(null);var body=xhr.response.body;body.firstChild.remove();return body}function getInertBodyElement_DOMParser(html){html="<remove></remove>"+html;try{var body=(new window.DOMParser).parseFromString(html,"text/html").body;body.firstChild.remove();return body}catch(e){return}}function getInertBodyElement_InertDocument(html){inertBodyElement.innerHTML=html;document.documentMode&&stripCustomNsAttrs(inertBodyElement);return inertBodyElement}}(window,window.document);function htmlParserImpl(html,handler){null===html||void 0===html?html="":"string"!==typeof html&&(html=""+html);var inertBodyElement=getInertBodyElement(html);if(!inertBodyElement)return"";var mXSSAttempts=5;do{if(0===mXSSAttempts)throw $sanitizeMinErr("uinput","Failed to sanitize html because the input is unstable");mXSSAttempts--;html=inertBodyElement.innerHTML;inertBodyElement=getInertBodyElement(html)}while(html!==inertBodyElement.innerHTML);var node=inertBodyElement.firstChild;while(node){switch(node.nodeType){case 1:handler.start(node.nodeName.toLowerCase(),attrToMap(node.attributes));break;case 3:handler.chars(node.textContent)}var nextNode;if(!(nextNode=node.firstChild)){1===node.nodeType&&handler.end(node.nodeName.toLowerCase());nextNode=getNonDescendant("nextSibling",node);if(!nextNode)while(null==nextNode){node=getNonDescendant("parentNode",node);if(node===inertBodyElement)break;nextNode=getNonDescendant("nextSibling",node);1===node.nodeType&&handler.end(node.nodeName.toLowerCase())}}node=nextNode}while(node=inertBodyElement.firstChild)inertBodyElement.removeChild(node)}function attrToMap(attrs){var map={};for(var i=0,ii=attrs.length;i<ii;i++){var attr=attrs[i];map[attr.name]=attr.value}return map}function encodeEntities(value){return value.replace(/&/g,"&amp;").replace(SURROGATE_PAIR_REGEXP,function(value){var hi=value.charCodeAt(0);var low=value.charCodeAt(1);return"&#"+(1024*(hi-55296)+(low-56320)+65536)+";"}).replace(NON_ALPHANUMERIC_REGEXP,function(value){return"&#"+value.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function htmlSanitizeWriterImpl(buf,uriValidator){var ignoreCurrentElement=false;var out=bind(buf,buf.push);return{start:function(tag,attrs){tag=lowercase(tag);!ignoreCurrentElement&&blockedElements[tag]&&(ignoreCurrentElement=tag);if(!ignoreCurrentElement&&true===validElements[tag]){out("<");out(tag);forEach(attrs,function(value,key){var lkey=lowercase(key);var isImage="img"===tag&&"src"===lkey||"background"===lkey;if(true===validAttrs[lkey]&&(true!==uriAttrs[lkey]||uriValidator(value,isImage))){out(" ");out(key);out('="');out(encodeEntities(value));out('"')}});out(">")}},end:function(tag){tag=lowercase(tag);if(!ignoreCurrentElement&&true===validElements[tag]&&true!==voidElements[tag]){out("</");out(tag);out(">")}tag==ignoreCurrentElement&&(ignoreCurrentElement=false)},chars:function(chars){ignoreCurrentElement||out(encodeEntities(chars))}}}function stripCustomNsAttrs(node){while(node){if(node.nodeType===window.Node.ELEMENT_NODE){var attrs=node.attributes;for(var i=0,l=attrs.length;i<l;i++){var attrNode=attrs[i];var attrName=attrNode.name.toLowerCase();if("xmlns:ns1"===attrName||0===attrName.lastIndexOf("ns1:",0)){node.removeAttributeNode(attrNode);i--;l--}}}var nextNode=node.firstChild;nextNode&&stripCustomNsAttrs(nextNode);node=getNonDescendant("nextSibling",node)}}function getNonDescendant(propName,node){var nextNode=node[propName];if(nextNode&&nodeContains.call(node,nextNode))throw $sanitizeMinErr("elclob","Failed to sanitize html because the element is clobbered: {0}",node.outerHTML||node.outerText);return nextNode}}function sanitizeText(chars){var buf=[];var writer=htmlSanitizeWriter(buf,noop);writer.chars(chars);return buf.join("")}angular.module("ngSanitize",[]).provider("$sanitize",$SanitizeProvider).info({angularVersion:"1.6.5"});angular.module("ngSanitize").filter("linky",["$sanitize",function($sanitize){var LINKY_URL_REGEXP=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,MAILTO_REGEXP=/^mailto:/i;var linkyMinErr=angular.$$minErr("linky");var isDefined=angular.isDefined;var isFunction=angular.isFunction;var isObject=angular.isObject;var isString=angular.isString;return function(text,target,attributes){if(null==text||""===text)return text;if(!isString(text))throw linkyMinErr("notstring","Expected string but received: {0}",text);var attributesFn=isFunction(attributes)?attributes:isObject(attributes)?function getAttributesObject(){return attributes}:function getEmptyAttributesObject(){return{}};var match;var raw=text;var html=[];var url;var i;while(match=raw.match(LINKY_URL_REGEXP)){url=match[0];match[2]||match[4]||(url=(match[3]?"http://":"mailto:")+url);i=match.index;addText(raw.substr(0,i));addLink(url,match[0].replace(MAILTO_REGEXP,""));raw=raw.substring(i+match[0].length)}addText(raw);return $sanitize(html.join(""));function addText(text){if(!text)return;html.push(sanitizeText(text))}function addLink(url,text){var key,linkAttributes=attributesFn(url);html.push("<a ");for(key in linkAttributes)html.push(key+'="'+linkAttributes[key]+'" ');!isDefined(target)||"target"in linkAttributes||html.push('target="',target,'" ');html.push('href="',url.replace(/"/g,"&quot;"),'">');addText(text);html.push("</a>")}}}])})(window,window.angular)},function(module,exports){(function(window,angular){"use strict";var module=angular.module("angular-sortable-view",[]);module.directive("svRoot",[function(){function shouldBeAfter(elem,pointer,isGrid){return isGrid?elem.x-pointer.x<0:elem.y-pointer.y<0}function getSortableElements(key){return ROOTS_MAP[key]}function removeSortableElements(key){delete ROOTS_MAP[key]}var sortingInProgress;var ROOTS_MAP=Object.create(null);return{restrict:"A",controller:["$scope","$attrs","$interpolate","$parse",function($scope,$attrs,$interpolate,$parse){var mapKey=$interpolate($attrs.svRoot)($scope)||$scope.$id;ROOTS_MAP[mapKey]||(ROOTS_MAP[mapKey]=[]);var candidates;var $placeholder;var $helper;var $original;var $target;var isGrid=false;var onSort=$parse($attrs.svOnSort);$attrs.svOnStart=$attrs.$$element[0].attributes["sv-on-start"];$attrs.svOnStart=$attrs.svOnStart&&$attrs.svOnStart.value;$attrs.svOnStop=$attrs.$$element[0].attributes["sv-on-stop"];$attrs.svOnStop=$attrs.svOnStop&&$attrs.svOnStop.value;var onStart=$parse($attrs.svOnStart);var onStop=$parse($attrs.svOnStop);this.sortingInProgress=function(){return sortingInProgress};if($attrs.svGrid){isGrid="true"===$attrs.svGrid||"false"!==$attrs.svGrid&&null;if(null===isGrid)throw"Invalid value of sv-grid attribute"}else $scope.$watchCollection(function(){return getSortableElements(mapKey)},function(collection){isGrid=false;var array=collection.filter(function(item){return!item.container}).map(function(item){return{part:item.getPart().id,y:item.element[0].getBoundingClientRect().top}});var dict=Object.create(null);array.forEach(function(item){dict[item.part]?dict[item.part].push(item.y):dict[item.part]=[item.y]});Object.keys(dict).forEach(function(key){dict[key].sort();dict[key].forEach(function(item,index){index<dict[key].length-1&&item>0&&item===dict[key][index+1]&&(isGrid=true)})})});this.$moveUpdate=function(opts,mouse,svElement,svOriginal,svPlaceholder,originatingPart,originatingIndex){var svRect=svElement[0].getBoundingClientRect();"element"===opts.tolerance&&(mouse={x:~~(svRect.left+svRect.width/2),y:~~(svRect.top+svRect.height/2)});sortingInProgress=true;candidates=[];if(!$placeholder){if(svPlaceholder){$placeholder=svPlaceholder.clone();$placeholder.removeClass("ng-hide")}else{$placeholder=svOriginal.clone();$placeholder.addClass("sv-visibility-hidden");$placeholder.addClass("sv-placeholder");$placeholder.css({height:svRect.height+"px",width:svRect.width+"px"})}svOriginal.after($placeholder);svOriginal.addClass("ng-hide");$original=svOriginal;opts;$helper=svElement;onStart($scope,{$helper:{element:$helper},$part:originatingPart.model(originatingPart.scope),$index:originatingIndex,$item:originatingPart.model(originatingPart.scope)[originatingIndex]});$scope.$root&&$scope.$root.$$phase||$scope.$apply()}$helper[0].reposition({x:mouse.x+document.body.scrollLeft-mouse.offset.x*svRect.width,y:mouse.y+document.body.scrollTop-mouse.offset.y*svRect.height});getSortableElements(mapKey).forEach(function(se,index){if(null!=opts.containment&&!elementMatchesSelector(se.element,opts.containment)&&!elementMatchesSelector(se.element,opts.containment+" *"))return;var rect=se.element[0].getBoundingClientRect();var center={x:~~(rect.left+rect.width/2),y:~~(rect.top+rect.height/2)};se.container||!se.element[0].scrollHeight&&!se.element[0].scrollWidth||candidates.push({element:se.element,q:(center.x-mouse.x)*(center.x-mouse.x)+(center.y-mouse.y)*(center.y-mouse.y),view:se.getPart(),targetIndex:se.getIndex(),after:shouldBeAfter(center,mouse,isGrid)});se.container&&!se.element[0].querySelector("[sv-element]:not(.sv-placeholder):not(.sv-source)")&&candidates.push({element:se.element,q:(center.x-mouse.x)*(center.x-mouse.x)+(center.y-mouse.y)*(center.y-mouse.y),view:se.getPart(),targetIndex:0,container:true})});var pRect=$placeholder[0].getBoundingClientRect();var pCenter={x:~~(pRect.left+pRect.width/2),y:~~(pRect.top+pRect.height/2)};candidates.push({q:(pCenter.x-mouse.x)*(pCenter.x-mouse.x)+(pCenter.y-mouse.y)*(pCenter.y-mouse.y),element:$placeholder,placeholder:true});candidates.sort(function(a,b){return a.q-b.q});candidates.forEach(function(cand,index){if(0!==index||cand.placeholder||cand.container)if(0===index&&cand.container){$target=cand;cand.element.append($placeholder)}else cand.element.removeClass("sv-candidate");else{$target=cand;cand.element.addClass("sv-candidate");cand.after?cand.element.after($placeholder):insertElementBefore(cand.element,$placeholder)}})};this.$drop=function(originatingPart,index,options){if(!$placeholder)return;if(options.revert){var placeholderRect=$placeholder[0].getBoundingClientRect();var helperRect=$helper[0].getBoundingClientRect();var distance=Math.sqrt(Math.pow(helperRect.top-placeholderRect.top,2)+Math.pow(helperRect.left-placeholderRect.left,2));var duration=+options.revert*distance/200;duration=Math.min(duration,+options.revert);["-webkit-","-moz-","-ms-","-o-",""].forEach(function(prefix){"undefined"!==typeof $helper[0].style[prefix+"transition"]&&($helper[0].style[prefix+"transition"]="all "+duration+"ms ease")});setTimeout(afterRevert,duration);$helper.css({top:placeholderRect.top+document.body.scrollTop+"px",left:placeholderRect.left+document.body.scrollLeft+"px"})}else afterRevert();function afterRevert(){sortingInProgress=false;$placeholder.remove();$helper.remove();$original.removeClass("ng-hide");candidates=void 0;$placeholder=void 0;options=void 0;$helper=void 0;$original=void 0;onStop($scope,{$part:originatingPart.model(originatingPart.scope),$index:index,$item:originatingPart.model(originatingPart.scope)[index]});if($target){$target.element.removeClass("sv-candidate");var spliced=originatingPart.model(originatingPart.scope).splice(index,1);var targetIndex=$target.targetIndex;$target.view===originatingPart&&$target.targetIndex>index&&targetIndex--;$target.after&&targetIndex++;$target.view.model($target.view.scope).splice(targetIndex,0,spliced[0]);$target.view===originatingPart&&index===targetIndex||onSort($scope,{$partTo:$target.view.model($target.view.scope),$partFrom:originatingPart.model(originatingPart.scope),$item:spliced[0],$indexTo:targetIndex,$indexFrom:index})}$target=void 0;$scope.$root&&$scope.$root.$$phase||$scope.$apply()}};this.addToSortableElements=function(se){getSortableElements(mapKey).push(se)};this.removeFromSortableElements=function(se){var elems=getSortableElements(mapKey);var index=elems.indexOf(se);if(index>-1){elems.splice(index,1);0===elems.length&&removeSortableElements(mapKey)}}}]}}]);module.directive("svPart",["$parse",function($parse){return{restrict:"A",require:"^svRoot",controller:["$scope",function($scope){$scope.$ctrl=this;this.getPart=function(){return $scope.part};this.$drop=function(index,options){$scope.$sortableRoot.$drop($scope.part,index,options)}}],scope:true,link:function($scope,$element,$attrs,$sortable){if(!$attrs.svPart)throw new Error("no model provided");var model=$parse($attrs.svPart);if(!model.assign)throw new Error("model not assignable");$scope.part={id:$scope.$id,element:$element,model:model,scope:$scope};$scope.$sortableRoot=$sortable;var sortablePart={element:$element,getPart:$scope.$ctrl.getPart,container:true};$sortable.addToSortableElements(sortablePart);$scope.$on("$destroy",function(){$sortable.removeFromSortableElements(sortablePart)})}}}]);module.directive("svElement",["$parse",function($parse){return{restrict:"A",require:["^svPart","^svRoot"],controller:["$scope",function($scope){$scope.$ctrl=this}],link:function($scope,$element,$attrs,$controllers){var sortableElement={element:$element,getPart:$controllers[0].getPart,getIndex:function(){return $scope.$index}};$controllers[1].addToSortableElements(sortableElement);$scope.$on("$destroy",function(){$controllers[1].removeFromSortableElements(sortableElement)});var handle=$element;handle.on("mousedown touchstart",onMousedown);$scope.$watch("$ctrl.handle",function(customHandle){if(customHandle){handle.off("mousedown touchstart",onMousedown);handle=customHandle;handle.on("mousedown touchstart",onMousedown)}});var helper;$scope.$watch("$ctrl.helper",function(customHelper){customHelper&&(helper=customHelper)});var placeholder;$scope.$watch("$ctrl.placeholder",function(customPlaceholder){customPlaceholder&&(placeholder=customPlaceholder)});angular.element(document.body);var html=angular.element(document.documentElement);var moveExecuted;function onMousedown(e){touchFix(e);if($controllers[1].sortingInProgress())return;if(0!=e.button&&"mousedown"===e.type)return;moveExecuted=false;var opts=$parse($attrs.svElement)($scope);opts=angular.extend({},{tolerance:"pointer",revert:200,containment:"html"},opts);if(opts.containment)var containmentRect=closestElement.call($element,opts.containment)[0].getBoundingClientRect();var target=$element;var clientRect=$element[0].getBoundingClientRect();var clone;helper||(helper=$controllers[0].helper);placeholder||(placeholder=$controllers[0].placeholder);if(helper){clone=helper.clone();clone.removeClass("ng-hide");clone.css({left:clientRect.left+document.body.scrollLeft+"px",top:clientRect.top+document.body.scrollTop+"px"});target.addClass("sv-visibility-hidden")}else{clone=target.clone();clone.addClass("sv-helper").css({left:clientRect.left+document.body.scrollLeft+"px",top:clientRect.top+document.body.scrollTop+"px",width:clientRect.width+"px"})}clone[0].reposition=function(coords){var targetLeft=coords.x;var targetTop=coords.y;var helperRect=clone[0].getBoundingClientRect();var body=document.body;if(containmentRect){targetTop<containmentRect.top+body.scrollTop&&(targetTop=containmentRect.top+body.scrollTop);targetTop+helperRect.height>containmentRect.top+body.scrollTop+containmentRect.height&&(targetTop=containmentRect.top+body.scrollTop+containmentRect.height-helperRect.height);targetLeft<containmentRect.left+body.scrollLeft&&(targetLeft=containmentRect.left+body.scrollLeft);targetLeft+helperRect.width>containmentRect.left+body.scrollLeft+containmentRect.width&&(targetLeft=containmentRect.left+body.scrollLeft+containmentRect.width-helperRect.width)}this.style.left=targetLeft-body.scrollLeft+"px";this.style.top=targetTop-body.scrollTop+"px"};var pointerOffset={x:(e.clientX-clientRect.left)/clientRect.width,y:(e.clientY-clientRect.top)/clientRect.height};html.addClass("sv-sorting-in-progress");html.on("mousemove touchmove",onMousemove).on("mouseup touchend touchcancel",function mouseup(e){html.off("mousemove touchmove",onMousemove);html.off("mouseup touchend",mouseup);html.removeClass("sv-sorting-in-progress");moveExecuted&&$controllers[0].$drop($scope.$index,opts);$element.removeClass("sv-visibility-hidden")});function onMousemove(e){touchFix(e);if(!moveExecuted){$element.parent().prepend(clone);moveExecuted=true}$controllers[1].$moveUpdate(opts,{x:e.clientX,y:e.clientY,offset:pointerOffset},clone,$element,placeholder,$controllers[0].getPart(),$scope.$index)}}}}}]);module.directive("svHandle",function(){return{require:"?^svElement",link:function($scope,$element,$attrs,$ctrl){$ctrl&&($ctrl.handle=$element.add($ctrl.handle))}}});module.directive("svHelper",function(){return{require:["?^svPart","?^svElement"],link:function($scope,$element,$attrs,$ctrl){$element.addClass("sv-helper").addClass("ng-hide");$ctrl[1]?$ctrl[1].helper=$element:$ctrl[0]&&($ctrl[0].helper=$element)}}});module.directive("svPlaceholder",function(){return{require:["?^svPart","?^svElement"],link:function($scope,$element,$attrs,$ctrl){$element.addClass("sv-placeholder").addClass("ng-hide");$ctrl[1]?$ctrl[1].placeholder=$element:$ctrl[0]&&($ctrl[0].placeholder=$element)}}});angular.element(document.head).append(["<style>.sv-helper{position: fixed !important;z-index: 99999;margin: 0 !important;}.sv-candidate{}.sv-placeholder{}.sv-sorting-in-progress{-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}.sv-visibility-hidden{visibility: hidden !important;opacity: 0 !important;}</style>"].join(""));function touchFix(e){if(!("clientX"in e)&&!("clientY"in e)){var touches=e.touches||e.originalEvent.touches;if(touches&&touches.length){e.clientX=touches[0].clientX;e.clientY=touches[0].clientY}e.preventDefault()}}function getPreviousSibling(element){element=element[0];if(element.previousElementSibling)return angular.element(element.previousElementSibling);var sib=element.previousSibling;while(null!=sib&&1!=sib.nodeType)sib=sib.previousSibling;return angular.element(sib)}function insertElementBefore(element,newElement){var prevSibl=getPreviousSibling(element);prevSibl.length>0?prevSibl.after(newElement):element.parent().prepend(newElement)}var dde=document.documentElement,matchingFunction=dde.matches?"matches":dde.matchesSelector?"matchesSelector":dde.webkitMatches?"webkitMatches":dde.webkitMatchesSelector?"webkitMatchesSelector":dde.msMatches?"msMatches":dde.msMatchesSelector?"msMatchesSelector":dde.mozMatches?"mozMatches":dde.mozMatchesSelector?"mozMatchesSelector":null;if(null==matchingFunction)throw"This browser doesn't support the HTMLElement.matches method";function elementMatchesSelector(element,selector){element instanceof angular.element&&(element=element[0]);if(null!==matchingFunction)return element[matchingFunction](selector)}var closestElement=angular.element.prototype.closest||function(selector){var el=this[0].parentNode;while(el!==document.documentElement&&!el[matchingFunction](selector))el=el.parentNode;return el[matchingFunction](selector)?angular.element(el):angular.element()};"function"!==typeof angular.element.prototype.add&&(angular.element.prototype.add=function(elem){var i,res=angular.element();elem=angular.element(elem);for(i=0;i<this.length;i++)res.push(this[i]);for(i=0;i<elem.length;i++)res.push(elem[i]);return res})})(window,window.angular)},function(module,exports){require("./angular");module.exports=angular},function(module,exports){ace.define("ace/snippets",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/anchor","ace/keyboard/hash_handler","ace/tokenizer","ace/lib/dom","ace/editor"],function(acequire,exports,module){"use strict";var oop=acequire("./lib/oop");var EventEmitter=acequire("./lib/event_emitter").EventEmitter;var lang=acequire("./lib/lang");var Range=acequire("./range").Range;var Anchor=acequire("./anchor").Anchor;var HashHandler=acequire("./keyboard/hash_handler").HashHandler;var Tokenizer=acequire("./tokenizer").Tokenizer;var comparePoints=Range.comparePoints;var SnippetManager=function(){this.snippetMap={};this.snippetNameMap={}};(function(){oop.implement(this,EventEmitter);this.getTokenizer=function(){function TabstopToken(str,_,stack){str=str.substr(1);if(/^\d+$/.test(str)&&!stack.inFormatString)return[{tabstopId:parseInt(str,10)}];return[{text:str}]}function escape(ch){return"(?:[^\\\\"+ch+"]|\\\\.)"}SnippetManager.$tokenizer=new Tokenizer({start:[{regex:/:/,onMatch:function(val,state,stack){if(stack.length&&stack[0].expectIf){stack[0].expectIf=false;stack[0].elseBranch=stack[0];return[stack[0]]}return":"}},{regex:/\\./,onMatch:function(val,state,stack){var ch=val[1];"}"==ch&&stack.length?val=ch:-1!="`$\\".indexOf(ch)?val=ch:stack.inFormatString&&("n"==ch?val="\n":"t"==ch?val="\n":-1!="ulULE".indexOf(ch)&&(val={changeCase:ch,local:ch>"a"}));return[val]}},{regex:/}/,onMatch:function(val,state,stack){return[stack.length?stack.shift():val]}},{regex:/\$(?:\d+|\w+)/,onMatch:TabstopToken},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(str,state,stack){var t=TabstopToken(str.substr(1),state,stack);stack.unshift(t[0]);return t},next:"snippetVar"},{regex:/\n/,token:"newline",merge:false}],snippetVar:[{regex:"\\|"+escape("\\|")+"*\\|",onMatch:function(val,state,stack){stack[0].choices=val.slice(1,-1).split(",")},next:"start"},{regex:"/("+escape("/")+"+)/(?:("+escape("/")+"*)/)(\\w*):?",onMatch:function(val,state,stack){var ts=stack[0];ts.fmtString=val;val=this.splitRegex.exec(val);ts.guard=val[1];ts.fmt=val[2];ts.flag=val[3];return""},next:"start"},{regex:"`"+escape("`")+"*`",onMatch:function(val,state,stack){stack[0].code=val.splice(1,-1);return""},next:"start"},{regex:"\\?",onMatch:function(val,state,stack){stack[0]&&(stack[0].expectIf=true)},next:"start"},{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:"/("+escape("/")+"+)/",token:"regex"},{regex:"",onMatch:function(val,state,stack){stack.inFormatString=true},next:"start"}]});SnippetManager.prototype.getTokenizer=function(){return SnippetManager.$tokenizer};return SnippetManager.$tokenizer};this.tokenizeTmSnippet=function(str,startState){return this.getTokenizer().getLineTokens(str,startState).tokens.map(function(x){return x.value||x})};this.$getDefaultValue=function(editor,name){if(/^[A-Z]\d+$/.test(name)){var i=name.substr(1);return(this.variables[name[0]+"__"]||{})[i]}if(/^\d+$/.test(name))return(this.variables.__||{})[name];name=name.replace(/^TM_/,"");if(!editor)return;var s=editor.session;switch(name){case"CURRENT_WORD":var r=s.getWordRange();case"SELECTION":case"SELECTED_TEXT":return s.getTextRange(r);case"CURRENT_LINE":return s.getLine(editor.getCursorPosition().row);case"PREV_LINE":return s.getLine(editor.getCursorPosition().row-1);case"LINE_INDEX":return editor.getCursorPosition().column;case"LINE_NUMBER":return editor.getCursorPosition().row+1;case"SOFT_TABS":return s.getUseSoftTabs()?"YES":"NO";case"TAB_SIZE":return s.getTabSize();case"FILENAME":case"FILEPATH":return"";case"FULLNAME":return"Ace"}};this.variables={};this.getVariableValue=function(editor,varName){if(this.variables.hasOwnProperty(varName))return this.variables[varName](editor,varName)||"";return this.$getDefaultValue(editor,varName)||""};this.tmStrFormat=function(str,ch,editor){var flag=ch.flag||"";var re=ch.guard;re=new RegExp(re,flag.replace(/[^gi]/,""));var fmtTokens=this.tokenizeTmSnippet(ch.fmt,"formatString");var _self=this;var formatted=str.replace(re,function(){_self.variables.__=arguments;var fmtParts=_self.resolveVariables(fmtTokens,editor);var gChangeCase="E";for(var i=0;i<fmtParts.length;i++){var ch=fmtParts[i];if("object"==typeof ch){fmtParts[i]="";if(ch.changeCase&&ch.local){var next=fmtParts[i+1];if(next&&"string"==typeof next){"u"==ch.changeCase?fmtParts[i]=next[0].toUpperCase():fmtParts[i]=next[0].toLowerCase();fmtParts[i+1]=next.substr(1)}}else ch.changeCase&&(gChangeCase=ch.changeCase)}else"U"==gChangeCase?fmtParts[i]=ch.toUpperCase():"L"==gChangeCase&&(fmtParts[i]=ch.toLowerCase())}return fmtParts.join("")});this.variables.__=null;return formatted};this.resolveVariables=function(snippet,editor){var result=[];for(var i=0;i<snippet.length;i++){var ch=snippet[i];if("string"==typeof ch)result.push(ch);else{if("object"!=typeof ch)continue;if(ch.skip)gotoNext(ch);else{if(ch.processed<i)continue;if(ch.text){var value=this.getVariableValue(editor,ch.text);value&&ch.fmtString&&(value=this.tmStrFormat(value,ch));ch.processed=i;if(null==ch.expectIf){if(value){result.push(value);gotoNext(ch)}}else value?ch.skip=ch.elseBranch:gotoNext(ch)}else null!=ch.tabstopId?result.push(ch):null!=ch.changeCase&&result.push(ch)}}}function gotoNext(ch){var i1=snippet.indexOf(ch,i+1);-1!=i1&&(i=i1)}return result};this.insertSnippetForSelection=function(editor,snippetText){var cursor=editor.getCursorPosition();var line=editor.session.getLine(cursor.row);var tabString=editor.session.getTabString();var indentString=line.match(/^\s*/)[0];cursor.column<indentString.length&&(indentString=indentString.slice(0,cursor.column));snippetText=snippetText.replace(/\r/g,"");var tokens=this.tokenizeTmSnippet(snippetText);tokens=this.resolveVariables(tokens,editor);tokens=tokens.map(function(x){if("\n"==x)return x+indentString;if("string"==typeof x)return x.replace(/\t/g,tabString);return x});var tabstops=[];tokens.forEach(function(p,i){if("object"!=typeof p)return;var id=p.tabstopId;var ts=tabstops[id];if(!ts){ts=tabstops[id]=[];ts.index=id;ts.value=""}if(-1!==ts.indexOf(p))return;ts.push(p);var i1=tokens.indexOf(p,i+1);if(-1===i1)return;var value=tokens.slice(i+1,i1);var isNested=value.some(function(t){return"object"===typeof t});isNested&&!ts.value?ts.value=value:!value.length||ts.value&&"string"===typeof ts.value||(ts.value=value.join(""))});tabstops.forEach(function(ts){ts.length=0});var expanding={};function copyValue(val){var copy=[];for(var i=0;i<val.length;i++){var p=val[i];if("object"==typeof p){if(expanding[p.tabstopId])continue;var j=val.lastIndexOf(p,i-1);p=copy[j]||{tabstopId:p.tabstopId}}copy[i]=p}return copy}for(var i=0;i<tokens.length;i++){var p=tokens[i];if("object"!=typeof p)continue;var id=p.tabstopId;var i1=tokens.indexOf(p,i+1);if(expanding[id]){expanding[id]===p&&(expanding[id]=null);continue}var ts=tabstops[id];var arg="string"==typeof ts.value?[ts.value]:copyValue(ts.value);arg.unshift(i+1,Math.max(0,i1-i));arg.push(p);expanding[id]=p;tokens.splice.apply(tokens,arg);-1===ts.indexOf(p)&&ts.push(p)}var row=0,column=0;var text="";tokens.forEach(function(t){if("string"===typeof t){var lines=t.split("\n");if(lines.length>1){column=lines[lines.length-1].length;row+=lines.length-1}else column+=t.length;text+=t}else t.start?t.end={row:row,column:column}:t.start={row:row,column:column}});var range=editor.getSelectionRange();var end=editor.session.replace(range,text);var tabstopManager=new TabstopManager(editor);var selectionId=editor.inVirtualSelectionMode&&editor.selection.index;tabstopManager.addTabstops(tabstops,range.start,end,selectionId)};this.insertSnippet=function(editor,snippetText){var self=this;if(editor.inVirtualSelectionMode)return self.insertSnippetForSelection(editor,snippetText);editor.forEachSelection(function(){self.insertSnippetForSelection(editor,snippetText)},null,{keepOrder:true});editor.tabstopManager&&editor.tabstopManager.tabNext()};this.$getScope=function(editor){var scope=editor.session.$mode.$id||"";scope=scope.split("/").pop();if("html"===scope||"php"===scope){"php"!==scope||editor.session.$mode.inlinePhp||(scope="html");var c=editor.getCursorPosition();var state=editor.session.getState(c.row);"object"===typeof state&&(state=state[0]);state.substring&&("js-"==state.substring(0,3)?scope="javascript":"css-"==state.substring(0,4)?scope="css":"php-"==state.substring(0,4)&&(scope="php"))}return scope};this.getActiveScopes=function(editor){var scope=this.$getScope(editor);var scopes=[scope];var snippetMap=this.snippetMap;snippetMap[scope]&&snippetMap[scope].includeScopes&&scopes.push.apply(scopes,snippetMap[scope].includeScopes);scopes.push("_");return scopes};this.expandWithTab=function(editor,options){var self=this;var result=editor.forEachSelection(function(){return self.expandSnippetForSelection(editor,options)},null,{keepOrder:true});result&&editor.tabstopManager&&editor.tabstopManager.tabNext();return result};this.expandSnippetForSelection=function(editor,options){var cursor=editor.getCursorPosition();var line=editor.session.getLine(cursor.row);var before=line.substring(0,cursor.column);var after=line.substr(cursor.column);var snippetMap=this.snippetMap;var snippet;this.getActiveScopes(editor).some(function(scope){var snippets=snippetMap[scope];snippets&&(snippet=this.findMatchingSnippet(snippets,before,after));return!!snippet},this);if(!snippet)return false;if(options&&options.dryRun)return true;editor.session.doc.removeInLine(cursor.row,cursor.column-snippet.replaceBefore.length,cursor.column+snippet.replaceAfter.length);this.variables.M__=snippet.matchBefore;this.variables.T__=snippet.matchAfter;this.insertSnippetForSelection(editor,snippet.content);this.variables.M__=this.variables.T__=null;return true};this.findMatchingSnippet=function(snippetList,before,after){for(var i=snippetList.length;i--;){var s=snippetList[i];if(s.startRe&&!s.startRe.test(before))continue;if(s.endRe&&!s.endRe.test(after))continue;if(!s.startRe&&!s.endRe)continue;s.matchBefore=s.startRe?s.startRe.exec(before):[""];s.matchAfter=s.endRe?s.endRe.exec(after):[""];s.replaceBefore=s.triggerRe?s.triggerRe.exec(before)[0]:"";s.replaceAfter=s.endTriggerRe?s.endTriggerRe.exec(after)[0]:"";return s}};this.snippetMap={};this.snippetNameMap={};this.register=function(snippets,scope){var snippetMap=this.snippetMap;var snippetNameMap=this.snippetNameMap;var self=this;snippets||(snippets=[]);function wrapRegexp(src){src&&!/^\^?\(.*\)\$?$|^\\b$/.test(src)&&(src="(?:"+src+")");return src||""}function guardedRegexp(re,guard,opening){re=wrapRegexp(re);guard=wrapRegexp(guard);if(opening){re=guard+re;re&&"$"!=re[re.length-1]&&(re+="$")}else{re+=guard;re&&"^"!=re[0]&&(re="^"+re)}return new RegExp(re)}function addSnippet(s){s.scope||(s.scope=scope||"_");scope=s.scope;if(!snippetMap[scope]){snippetMap[scope]=[];snippetNameMap[scope]={}}var map=snippetNameMap[scope];if(s.name){var old=map[s.name];old&&self.unregister(old);map[s.name]=s}snippetMap[scope].push(s);if(s.tabTrigger&&!s.trigger){!s.guard&&/^\w/.test(s.tabTrigger)&&(s.guard="\\b");s.trigger=lang.escapeRegExp(s.tabTrigger)}if(!s.trigger&&!s.guard&&!s.endTrigger&&!s.endGuard)return;s.startRe=guardedRegexp(s.trigger,s.guard,true);s.triggerRe=new RegExp(s.trigger,"",true);s.endRe=guardedRegexp(s.endTrigger,s.endGuard,true);s.endTriggerRe=new RegExp(s.endTrigger,"",true)}snippets&&snippets.content?addSnippet(snippets):Array.isArray(snippets)&&snippets.forEach(addSnippet);this._signal("registerSnippets",{scope:scope})};this.unregister=function(snippets,scope){var snippetMap=this.snippetMap;var snippetNameMap=this.snippetNameMap;function removeSnippet(s){var nameMap=snippetNameMap[s.scope||scope];if(nameMap&&nameMap[s.name]){delete nameMap[s.name];var map=snippetMap[s.scope||scope];var i=map&&map.indexOf(s);i>=0&&map.splice(i,1)}}snippets.content?removeSnippet(snippets):Array.isArray(snippets)&&snippets.forEach(removeSnippet)};this.parseSnippetFile=function(str){str=str.replace(/\r/g,"");var list=[],snippet={};var re=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm;var m;while(m=re.exec(str)){if(m[1])try{snippet=JSON.parse(m[1]);list.push(snippet)}catch(e){}if(m[4]){snippet.content=m[4].replace(/^\t/gm,"");list.push(snippet);snippet={}}else{var key=m[2],val=m[3];if("regex"==key){var guardRe=/\/((?:[^\/\\]|\\.)*)|$/g;snippet.guard=guardRe.exec(val)[1];snippet.trigger=guardRe.exec(val)[1];snippet.endTrigger=guardRe.exec(val)[1];snippet.endGuard=guardRe.exec(val)[1]}else if("snippet"==key){snippet.tabTrigger=val.match(/^\S*/)[0];snippet.name||(snippet.name=val)}else snippet[key]=val}}return list};this.getSnippetByName=function(name,editor){var snippetMap=this.snippetNameMap;var snippet;this.getActiveScopes(editor).some(function(scope){var snippets=snippetMap[scope];snippets&&(snippet=snippets[name]);return!!snippet},this);return snippet}}).call(SnippetManager.prototype);var TabstopManager=function(editor){if(editor.tabstopManager)return editor.tabstopManager;editor.tabstopManager=this;this.$onChange=this.onChange.bind(this);this.$onChangeSelection=lang.delayedCall(this.onChangeSelection.bind(this)).schedule;this.$onChangeSession=this.onChangeSession.bind(this);this.$onAfterExec=this.onAfterExec.bind(this);this.attach(editor)};(function(){this.attach=function(editor){this.index=0;this.ranges=[];this.tabstops=[];this.$openTabstops=null;this.selectedTabstop=null;this.editor=editor;this.editor.on("change",this.$onChange);this.editor.on("changeSelection",this.$onChangeSelection);this.editor.on("changeSession",this.$onChangeSession);this.editor.commands.on("afterExec",this.$onAfterExec);this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)};this.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this);this.ranges=null;this.tabstops=null;this.selectedTabstop=null;this.editor.removeListener("change",this.$onChange);this.editor.removeListener("changeSelection",this.$onChangeSelection);this.editor.removeListener("changeSession",this.$onChangeSession);this.editor.commands.removeListener("afterExec",this.$onAfterExec);this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler);this.editor.tabstopManager=null;this.editor=null};this.onChange=function(delta){var isRemove="r"==delta.action[0];var start=delta.start;var end=delta.end;var startRow=start.row;var endRow=end.row;var lineDif=endRow-startRow;var colDiff=end.column-start.column;if(isRemove){lineDif=-lineDif;colDiff=-colDiff}if(!this.$inChange&&isRemove){var ts=this.selectedTabstop;var changedOutside=ts&&!ts.some(function(r){return comparePoints(r.start,start)<=0&&comparePoints(r.end,end)>=0});if(changedOutside)return this.detach()}var ranges=this.ranges;for(var i=0;i<ranges.length;i++){var r=ranges[i];if(r.end.row<start.row)continue;if(isRemove&&comparePoints(start,r.start)<0&&comparePoints(end,r.end)>0){this.removeRange(r);i--;continue}r.start.row==startRow&&r.start.column>start.column&&(r.start.column+=colDiff);r.end.row==startRow&&r.end.column>=start.column&&(r.end.column+=colDiff);r.start.row>=startRow&&(r.start.row+=lineDif);r.end.row>=startRow&&(r.end.row+=lineDif);comparePoints(r.start,r.end)>0&&this.removeRange(r)}ranges.length||this.detach()};this.updateLinkedFields=function(){var ts=this.selectedTabstop;if(!ts||!ts.hasLinkedRanges)return;this.$inChange=true;var session=this.editor.session;var text=session.getTextRange(ts.firstNonLinked);for(var i=ts.length;i--;){var range=ts[i];if(!range.linked)continue;var fmt=exports.snippetManager.tmStrFormat(text,range.original);session.replace(range,fmt)}this.$inChange=false};this.onAfterExec=function(e){e.command&&!e.command.readOnly&&this.updateLinkedFields()};this.onChangeSelection=function(){if(!this.editor)return;var lead=this.editor.selection.lead;var anchor=this.editor.selection.anchor;var isEmpty=this.editor.selection.isEmpty();for(var i=this.ranges.length;i--;){if(this.ranges[i].linked)continue;var containsLead=this.ranges[i].contains(lead.row,lead.column);var containsAnchor=isEmpty||this.ranges[i].contains(anchor.row,anchor.column);if(containsLead&&containsAnchor)return}this.detach()};this.onChangeSession=function(){this.detach()};this.tabNext=function(dir){var max=this.tabstops.length;var index=this.index+(dir||1);index=Math.min(Math.max(index,1),max);index==max&&(index=0);this.selectTabstop(index);0===index&&this.detach()};this.selectTabstop=function(index){this.$openTabstops=null;var ts=this.tabstops[this.index];ts&&this.addTabstopMarkers(ts);this.index=index;ts=this.tabstops[this.index];if(!ts||!ts.length)return;this.selectedTabstop=ts;if(this.editor.inVirtualSelectionMode)this.editor.selection.setRange(ts.firstNonLinked);else{var sel=this.editor.multiSelect;sel.toSingleRange(ts.firstNonLinked.clone());for(var i=ts.length;i--;){if(ts.hasLinkedRanges&&ts[i].linked)continue;sel.addRange(ts[i].clone(),true)}sel.ranges[0]&&sel.addRange(sel.ranges[0].clone())}this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)};this.addTabstops=function(tabstops,start,end){this.$openTabstops||(this.$openTabstops=[]);if(!tabstops[0]){var p=Range.fromPoints(end,end);moveRelative(p.start,start);moveRelative(p.end,start);tabstops[0]=[p];tabstops[0].index=0}var i=this.index;var arg=[i+1,0];var ranges=this.ranges;tabstops.forEach(function(ts,index){var dest=this.$openTabstops[index]||ts;for(var i=ts.length;i--;){var p=ts[i];var range=Range.fromPoints(p.start,p.end||p.start);movePoint(range.start,start);movePoint(range.end,start);range.original=p;range.tabstop=dest;ranges.push(range);dest!=ts?dest.unshift(range):dest[i]=range;if(p.fmtString){range.linked=true;dest.hasLinkedRanges=true}else dest.firstNonLinked||(dest.firstNonLinked=range)}dest.firstNonLinked||(dest.hasLinkedRanges=false);if(dest===ts){arg.push(dest);this.$openTabstops[index]=dest}this.addTabstopMarkers(dest)},this);if(arg.length>2){this.tabstops.length&&arg.push(arg.splice(2,1)[0]);this.tabstops.splice.apply(this.tabstops,arg)}};this.addTabstopMarkers=function(ts){var session=this.editor.session;ts.forEach(function(range){range.markerId||(range.markerId=session.addMarker(range,"ace_snippet-marker","text"))})};this.removeTabstopMarkers=function(ts){var session=this.editor.session;ts.forEach(function(range){session.removeMarker(range.markerId);range.markerId=null})};this.removeRange=function(range){var i=range.tabstop.indexOf(range);range.tabstop.splice(i,1);i=this.ranges.indexOf(range);this.ranges.splice(i,1);this.editor.session.removeMarker(range.markerId);if(!range.tabstop.length){i=this.tabstops.indexOf(range.tabstop);-1!=i&&this.tabstops.splice(i,1);this.tabstops.length||this.detach()}};this.keyboardHandler=new HashHandler;this.keyboardHandler.bindKeys({Tab:function(ed){if(exports.snippetManager&&exports.snippetManager.expandWithTab(ed))return;ed.tabstopManager.tabNext(1)},"Shift-Tab":function(ed){ed.tabstopManager.tabNext(-1)},Esc:function(ed){ed.tabstopManager.detach()},Return:function(ed){return false}})}).call(TabstopManager.prototype);var changeTracker={};changeTracker.onChange=Anchor.prototype.onChange;changeTracker.setPosition=function(row,column){this.pos.row=row;this.pos.column=column};changeTracker.update=function(pos,delta,$insertRight){this.$insertRight=$insertRight;this.pos=pos;this.onChange(delta)};var movePoint=function(point,diff){0==point.row&&(point.column+=diff.column);point.row+=diff.row};var moveRelative=function(point,start){point.row==start.row&&(point.column-=start.column);point.row-=start.row};acequire("./lib/dom").importCssString(".ace_snippet-marker {    -moz-box-sizing: border-box;    box-sizing: border-box;    background: rgba(194, 193, 208, 0.09);    border: 1px dotted rgba(211, 208, 235, 0.62);    position: absolute;}");exports.snippetManager=new SnippetManager;var Editor=acequire("./editor").Editor;(function(){this.insertSnippet=function(content,options){return exports.snippetManager.insertSnippet(this,content,options)};this.expandSnippet=function(options){return exports.snippetManager.expandWithTab(this,options)}}).call(Editor.prototype)});ace.define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/event","ace/lib/lang","ace/lib/dom"],function(acequire,exports,module){"use strict";var Renderer=acequire("../virtual_renderer").VirtualRenderer;var Editor=acequire("../editor").Editor;var Range=acequire("../range").Range;var event=acequire("../lib/event");var lang=acequire("../lib/lang");var dom=acequire("../lib/dom");var $singleLineEditor=function(el){var renderer=new Renderer(el);renderer.$maxLines=4;var editor=new Editor(renderer);editor.setHighlightActiveLine(false);editor.setShowPrintMargin(false);editor.renderer.setShowGutter(false);editor.renderer.setHighlightGutterLine(false);editor.$mouseHandler.$focusWaitTimout=0;editor.$highlightTagPending=true;return editor};var AcePopup=function(parentNode){var el=dom.createElement("div");var popup=new $singleLineEditor(el);parentNode&&parentNode.appendChild(el);el.style.display="none";popup.renderer.content.style.cursor="default";popup.renderer.setStyle("ace_autocomplete");popup.setOption("displayIndentGuides",false);popup.setOption("dragDelay",150);var noop=function(){};popup.focus=noop;popup.$isFocused=true;popup.renderer.$cursorLayer.restartTimer=noop;popup.renderer.$cursorLayer.element.style.opacity=0;popup.renderer.$maxLines=8;popup.renderer.$keepTextAreaAtCursor=false;popup.setHighlightActiveLine(false);popup.session.highlight("");popup.session.$searchHighlight.clazz="ace_highlight-marker";popup.on("mousedown",function(e){var pos=e.getDocumentPosition();popup.selection.moveToPosition(pos);selectionMarker.start.row=selectionMarker.end.row=pos.row;e.stop()});var lastMouseEvent;var hoverMarker=new Range(-1,0,-1,Infinity);var selectionMarker=new Range(-1,0,-1,Infinity);selectionMarker.id=popup.session.addMarker(selectionMarker,"ace_active-line","fullLine");popup.setSelectOnHover=function(val){if(val){if(hoverMarker.id){popup.session.removeMarker(hoverMarker.id);hoverMarker.id=null}}else hoverMarker.id=popup.session.addMarker(hoverMarker,"ace_line-hover","fullLine")};popup.setSelectOnHover(false);popup.on("mousemove",function(e){if(!lastMouseEvent){lastMouseEvent=e;return}if(lastMouseEvent.x==e.x&&lastMouseEvent.y==e.y)return;lastMouseEvent=e;lastMouseEvent.scrollTop=popup.renderer.scrollTop;var row=lastMouseEvent.getDocumentPosition().row;if(hoverMarker.start.row!=row){hoverMarker.id||popup.setRow(row);setHoverMarker(row)}});popup.renderer.on("beforeRender",function(){if(lastMouseEvent&&-1!=hoverMarker.start.row){lastMouseEvent.$pos=null;var row=lastMouseEvent.getDocumentPosition().row;hoverMarker.id||popup.setRow(row);setHoverMarker(row,true)}});popup.renderer.on("afterRender",function(){var row=popup.getRow();var t=popup.renderer.$textLayer;var selected=t.element.childNodes[row-t.config.firstRow];if(selected==t.selectedNode)return;t.selectedNode&&dom.removeCssClass(t.selectedNode,"ace_selected");t.selectedNode=selected;selected&&dom.addCssClass(selected,"ace_selected")});var hideHoverMarker=function(){setHoverMarker(-1)};var setHoverMarker=function(row,suppressRedraw){if(row!==hoverMarker.start.row){hoverMarker.start.row=hoverMarker.end.row=row;suppressRedraw||popup.session._emit("changeBackMarker");popup._emit("changeHoverMarker")}};popup.getHoveredRow=function(){return hoverMarker.start.row};event.addListener(popup.container,"mouseout",hideHoverMarker);popup.on("hide",hideHoverMarker);popup.on("changeSelection",hideHoverMarker);popup.session.doc.getLength=function(){return popup.data.length};popup.session.doc.getLine=function(i){var data=popup.data[i];if("string"==typeof data)return data;return data&&data.value||""};var bgTokenizer=popup.session.bgTokenizer;bgTokenizer.$tokenizeRow=function(row){var data=popup.data[row];var tokens=[];if(!data)return tokens;"string"==typeof data&&(data={value:data});data.caption||(data.caption=data.value||data.name);var last=-1;var flag,c;for(var i=0;i<data.caption.length;i++){c=data.caption[i];flag=data.matchMask&1<<i?1:0;if(last!==flag){tokens.push({type:data.className||(flag?"completion-highlight":""),value:c});last=flag}else tokens[tokens.length-1].value+=c}if(data.meta){var maxW=popup.renderer.$size.scrollerWidth/popup.renderer.layerConfig.characterWidth;var metaData=data.meta;metaData.length+data.caption.length>maxW-2&&(metaData=metaData.substr(0,maxW-data.caption.length-3)+"…");tokens.push({type:"rightAlignedText",value:metaData})}return tokens};bgTokenizer.$updateOnChange=noop;bgTokenizer.start=noop;popup.session.$computeWidth=function(){return this.screenWidth=0};popup.$blockScrolling=Infinity;popup.isOpen=false;popup.isTopdown=false;popup.autoSelect=true;popup.data=[];popup.setData=function(list){popup.setValue(lang.stringRepeat("\n",list.length),-1);popup.data=list||[];popup.setRow(0)};popup.getData=function(row){return popup.data[row]};popup.getRow=function(){return selectionMarker.start.row};popup.setRow=function(line){line=Math.max(this.autoSelect?0:-1,Math.min(this.data.length,line));if(selectionMarker.start.row!=line){popup.selection.clearSelection();selectionMarker.start.row=selectionMarker.end.row=line||0;popup.session._emit("changeBackMarker");popup.moveCursorTo(line||0,0);popup.isOpen&&popup._signal("select")}};popup.on("changeSelection",function(){popup.isOpen&&popup.setRow(popup.selection.lead.row);popup.renderer.scrollCursorIntoView()});popup.hide=function(){this.container.style.display="none";this._signal("hide");popup.isOpen=false};popup.show=function(pos,lineHeight,topdownOnly){var el=this.container;var screenHeight=window.innerHeight;var screenWidth=window.innerWidth;var renderer=this.renderer;var maxH=renderer.$maxLines*lineHeight*1.4;var top=pos.top+this.$borderSize;var allowTopdown=top>screenHeight/2&&!topdownOnly;if(allowTopdown&&top+lineHeight+maxH>screenHeight){renderer.$maxPixelHeight=top-2*this.$borderSize;el.style.top="";el.style.bottom=screenHeight-top+"px";popup.isTopdown=false}else{top+=lineHeight;renderer.$maxPixelHeight=screenHeight-top-.2*lineHeight;el.style.top=top+"px";el.style.bottom="";popup.isTopdown=true}el.style.display="";this.renderer.$textLayer.checkForSizeChanges();var left=pos.left;left+el.offsetWidth>screenWidth&&(left=screenWidth-el.offsetWidth);el.style.left=left+"px";this._signal("show");lastMouseEvent=null;popup.isOpen=true};popup.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize};popup.$imageSize=0;popup.$borderSize=1;return popup};dom.importCssString(".ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {    background-color: #CAD6FA;    z-index: 1;}.ace_editor.ace_autocomplete .ace_line-hover {    border: 1px solid #abbffe;    margin-top: -1px;    background: rgba(233,233,253,0.4);}.ace_editor.ace_autocomplete .ace_line-hover {    position: absolute;    z-index: 2;}.ace_editor.ace_autocomplete .ace_scroller {   background: none;   border: none;   box-shadow: none;}.ace_rightAlignedText {    color: gray;    display: inline-block;    position: absolute;    right: 4px;    text-align: right;    z-index: -1;}.ace_editor.ace_autocomplete .ace_completion-highlight{    color: #000;    text-shadow: 0 0 0.01em;}.ace_editor.ace_autocomplete {    width: 280px;    z-index: 200000;    background: #fbfbfb;    color: #444;    border: 1px lightgray solid;    position: fixed;    box-shadow: 2px 3px 5px rgba(0,0,0,.2);    line-height: 1.4;}");exports.AcePopup=AcePopup});ace.define("ace/autocomplete/util",["require","exports","module"],function(acequire,exports,module){"use strict";exports.parForEach=function(array,fn,callback){var completed=0;var arLength=array.length;0===arLength&&callback();for(var i=0;i<arLength;i++)fn(array[i],function(result,err){completed++;completed===arLength&&callback(result,err)})};var ID_REGEX=/[a-zA-Z_0-9\$\-\u00A2-\uFFFF]/;exports.retrievePrecedingIdentifier=function(text,pos,regex){regex=regex||ID_REGEX;var buf=[];for(var i=pos-1;i>=0;i--){if(!regex.test(text[i]))break;buf.push(text[i])}return buf.reverse().join("")};exports.retrieveFollowingIdentifier=function(text,pos,regex){regex=regex||ID_REGEX;var buf=[];for(var i=pos;i<text.length;i++){if(!regex.test(text[i]))break;buf.push(text[i])}return buf};exports.getCompletionPrefix=function(editor){var pos=editor.getCursorPosition();var line=editor.session.getLine(pos.row);var prefix;editor.completers.forEach(function(completer){completer.identifierRegexps&&completer.identifierRegexps.forEach(function(identifierRegex){!prefix&&identifierRegex&&(prefix=this.retrievePrecedingIdentifier(line,pos.column,identifierRegex))}.bind(this))}.bind(this));return prefix||this.retrievePrecedingIdentifier(line,pos.column)}});ace.define("ace/autocomplete",["require","exports","module","ace/keyboard/hash_handler","ace/autocomplete/popup","ace/autocomplete/util","ace/lib/event","ace/lib/lang","ace/lib/dom","ace/snippets"],function(acequire,exports,module){"use strict";var HashHandler=acequire("./keyboard/hash_handler").HashHandler;var AcePopup=acequire("./autocomplete/popup").AcePopup;var util=acequire("./autocomplete/util");acequire("./lib/event");var lang=acequire("./lib/lang");var dom=acequire("./lib/dom");var snippetManager=acequire("./snippets").snippetManager;var Autocomplete=function(){this.autoInsert=false;this.autoSelect=true;this.exactMatch=false;this.gatherCompletionsId=0;this.keyboardHandler=new HashHandler;this.keyboardHandler.bindKeys(this.commands);this.blurListener=this.blurListener.bind(this);this.changeListener=this.changeListener.bind(this);this.mousedownListener=this.mousedownListener.bind(this);this.mousewheelListener=this.mousewheelListener.bind(this);this.changeTimer=lang.delayedCall(function(){this.updateCompletions(true)}.bind(this));this.tooltipTimer=lang.delayedCall(this.updateDocTooltip.bind(this),50)};(function(){this.$init=function(){this.popup=new AcePopup(document.body||document.documentElement);this.popup.on("click",function(e){this.insertMatch();e.stop()}.bind(this));this.popup.focus=this.editor.focus.bind(this.editor);this.popup.on("show",this.tooltipTimer.bind(null,null));this.popup.on("select",this.tooltipTimer.bind(null,null));this.popup.on("changeHoverMarker",this.tooltipTimer.bind(null,null));return this.popup};this.getPopup=function(){return this.popup||this.$init()};this.openPopup=function(editor,prefix,keepPopupPosition){this.popup||this.$init();this.popup.autoSelect=this.autoSelect;this.popup.setData(this.completions.filtered);editor.keyBinding.addKeyboardHandler(this.keyboardHandler);var renderer=editor.renderer;this.popup.setRow(this.autoSelect?0:-1);if(keepPopupPosition)keepPopupPosition&&!prefix&&this.detach();else{this.popup.setTheme(editor.getTheme());this.popup.setFontSize(editor.getFontSize());var lineHeight=renderer.layerConfig.lineHeight;var pos=renderer.$cursorLayer.getPixelPosition(this.base,true);pos.left-=this.popup.getTextLeftOffset();var rect=editor.container.getBoundingClientRect();pos.top+=rect.top-renderer.layerConfig.offset;pos.left+=rect.left-editor.renderer.scrollLeft;pos.left+=renderer.gutterWidth;this.popup.show(pos,lineHeight)}};this.detach=function(){this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler);this.editor.off("changeSelection",this.changeListener);this.editor.off("blur",this.blurListener);this.editor.off("mousedown",this.mousedownListener);this.editor.off("mousewheel",this.mousewheelListener);this.changeTimer.cancel();this.hideDocTooltip();this.gatherCompletionsId+=1;this.popup&&this.popup.isOpen&&this.popup.hide();this.base&&this.base.detach();this.activated=false;this.completions=this.base=null};this.changeListener=function(e){var cursor=this.editor.selection.lead;(cursor.row!=this.base.row||cursor.column<this.base.column)&&this.detach();this.activated?this.changeTimer.schedule():this.detach()};this.blurListener=function(e){var el=document.activeElement;var text=this.editor.textInput.getElement();var fromTooltip=e.relatedTarget&&this.tooltipNode&&this.tooltipNode.contains(e.relatedTarget);var container=this.popup&&this.popup.container;el==text||el.parentNode==container||fromTooltip||el==this.tooltipNode||e.relatedTarget==text||this.detach()};this.mousedownListener=function(e){this.detach()};this.mousewheelListener=function(e){this.detach()};this.goTo=function(where){var row=this.popup.getRow();var max=this.popup.session.getLength()-1;switch(where){case"up":row=row<=0?max:row-1;break;case"down":row=row>=max?-1:row+1;break;case"start":row=0;break;case"end":row=max}this.popup.setRow(row)};this.insertMatch=function(data,options){data||(data=this.popup.getData(this.popup.getRow()));if(!data)return false;if(data.completer&&data.completer.insertMatch)data.completer.insertMatch(this.editor,data);else{if(this.completions.filterText){var ranges=this.editor.selection.getAllRanges();for(var range,i=0;range=ranges[i];i++){range.start.column-=this.completions.filterText.length;this.editor.session.remove(range)}}data.snippet?snippetManager.insertSnippet(this.editor,data.snippet):this.editor.execCommand("insertstring",data.value||data)}this.detach()};this.commands={Up:function(editor){editor.completer.goTo("up")},Down:function(editor){editor.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(editor){editor.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(editor){editor.completer.goTo("end")},Esc:function(editor){editor.completer.detach()},Return:function(editor){return editor.completer.insertMatch()},"Shift-Return":function(editor){editor.completer.insertMatch(null,{deleteSuffix:true})},Tab:function(editor){var result=editor.completer.insertMatch();if(result||editor.tabstopManager)return result;editor.completer.goTo("down")},PageUp:function(editor){editor.completer.popup.gotoPageUp()},PageDown:function(editor){editor.completer.popup.gotoPageDown()}};this.gatherCompletions=function(editor,callback){var session=editor.getSession();var pos=editor.getCursorPosition();var prefix=util.getCompletionPrefix(editor);this.base=session.doc.createAnchor(pos.row,pos.column-prefix.length);this.base.$insertRight=true;var matches=[];var total=editor.completers.length;editor.completers.forEach(function(completer,i){completer.getCompletions(editor,session,pos,prefix,function(err,results){!err&&results&&(matches=matches.concat(results));callback(null,{prefix:util.getCompletionPrefix(editor),matches:matches,finished:0===--total})})});return true};this.showPopup=function(editor){this.editor&&this.detach();this.activated=true;this.editor=editor;if(editor.completer!=this){editor.completer&&editor.completer.detach();editor.completer=this}editor.on("changeSelection",this.changeListener);editor.on("blur",this.blurListener);editor.on("mousedown",this.mousedownListener);editor.on("mousewheel",this.mousewheelListener);this.updateCompletions()};this.updateCompletions=function(keepPopupPosition){if(keepPopupPosition&&this.base&&this.completions){var pos=this.editor.getCursorPosition();var prefix=this.editor.session.getTextRange({start:this.base,end:pos});if(prefix==this.completions.filterText)return;this.completions.setFilter(prefix);if(!this.completions.filtered.length)return this.detach();if(1==this.completions.filtered.length&&this.completions.filtered[0].value==prefix&&!this.completions.filtered[0].snippet)return this.detach();this.openPopup(this.editor,prefix,keepPopupPosition);return}var _id=this.gatherCompletionsId;this.gatherCompletions(this.editor,function(err,results){var detachIfFinished=function(){if(!results.finished)return;return this.detach()}.bind(this);var prefix=results.prefix;var matches=results&&results.matches;if(!matches||!matches.length)return detachIfFinished();if(0!==prefix.indexOf(results.prefix)||_id!=this.gatherCompletionsId)return;this.completions=new FilteredList(matches);this.exactMatch&&(this.completions.exactMatch=true);this.completions.setFilter(prefix);var filtered=this.completions.filtered;if(!filtered.length)return detachIfFinished();if(1==filtered.length&&filtered[0].value==prefix&&!filtered[0].snippet)return detachIfFinished();if(this.autoInsert&&1==filtered.length&&results.finished)return this.insertMatch(filtered[0]);this.openPopup(this.editor,prefix,keepPopupPosition)}.bind(this))};this.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()};this.updateDocTooltip=function(){var popup=this.popup;var all=popup.data;var selected=all&&(all[popup.getHoveredRow()]||all[popup.getRow()]);var doc=null;if(!selected||!this.editor||!this.popup.isOpen)return this.hideDocTooltip();this.editor.completers.some(function(completer){completer.getDocTooltip&&(doc=completer.getDocTooltip(selected));return doc});doc||(doc=selected);"string"==typeof doc&&(doc={docText:doc});if(!doc||!(doc.docHTML||doc.docText))return this.hideDocTooltip();this.showDocTooltip(doc)};this.showDocTooltip=function(item){if(!this.tooltipNode){this.tooltipNode=dom.createElement("div");this.tooltipNode.className="ace_tooltip ace_doc-tooltip";this.tooltipNode.style.margin=0;this.tooltipNode.style.pointerEvents="auto";this.tooltipNode.tabIndex=-1;this.tooltipNode.onblur=this.blurListener.bind(this);this.tooltipNode.onclick=this.onTooltipClick.bind(this)}var tooltipNode=this.tooltipNode;item.docHTML?tooltipNode.innerHTML=item.docHTML:item.docText&&(tooltipNode.textContent=item.docText);tooltipNode.parentNode||document.body.appendChild(tooltipNode);var popup=this.popup;var rect=popup.container.getBoundingClientRect();tooltipNode.style.top=popup.container.style.top;tooltipNode.style.bottom=popup.container.style.bottom;if(window.innerWidth-rect.right<320){tooltipNode.style.right=window.innerWidth-rect.left+"px";tooltipNode.style.left=""}else{tooltipNode.style.left=rect.right+1+"px";tooltipNode.style.right=""}tooltipNode.style.display="block"};this.hideDocTooltip=function(){this.tooltipTimer.cancel();if(!this.tooltipNode)return;var el=this.tooltipNode;this.editor.isFocused()||document.activeElement!=el||this.editor.focus();this.tooltipNode=null;el.parentNode&&el.parentNode.removeChild(el)};this.onTooltipClick=function(e){var a=e.target;while(a&&a!=this.tooltipNode){if("A"==a.nodeName&&a.href){a.rel="noreferrer";a.target="_blank";break}a=a.parentNode}}}).call(Autocomplete.prototype);Autocomplete.startCommand={name:"startAutocomplete",exec:function(editor){editor.completer||(editor.completer=new Autocomplete);editor.completer.autoInsert=false;editor.completer.autoSelect=true;editor.completer.showPopup(editor);editor.completer.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var FilteredList=function(array,filterText){this.all=array;this.filtered=array;this.filterText=filterText||"";this.exactMatch=false};(function(){this.setFilter=function(str){if(str.length>this.filterText&&0===str.lastIndexOf(this.filterText,0))var matches=this.filtered;else matches=this.all;this.filterText=str;matches=this.filterCompletions(matches,this.filterText);matches=matches.sort(function(a,b){return b.exactMatch-a.exactMatch||b.score-a.score});var prev=null;matches=matches.filter(function(item){var caption=item.snippet||item.caption||item.value;if(caption===prev)return false;prev=caption;return true});this.filtered=matches};this.filterCompletions=function(items,needle){var results=[];var upper=needle.toUpperCase();var lower=needle.toLowerCase();loop:for(var item,i=0;item=items[i];i++){var caption=item.value||item.caption||item.snippet;if(!caption)continue;var lastIndex=-1;var matchMask=0;var penalty=0;var index,distance;if(this.exactMatch){if(needle!==caption.substr(0,needle.length))continue loop}else for(var j=0;j<needle.length;j++){var i1=caption.indexOf(lower[j],lastIndex+1);var i2=caption.indexOf(upper[j],lastIndex+1);index=i1>=0&&(i2<0||i1<i2)?i1:i2;if(index<0)continue loop;distance=index-lastIndex-1;if(distance>0){-1===lastIndex&&(penalty+=10);penalty+=distance}matchMask|=1<<index;lastIndex=index}item.matchMask=matchMask;item.exactMatch=penalty?0:1;item.score=(item.score||0)-penalty;results.push(item)}return results}}).call(FilteredList.prototype);exports.Autocomplete=Autocomplete;exports.FilteredList=FilteredList});ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],function(acequire,exports,module){var Range=acequire("../range").Range;var splitRegex=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;function getWordIndex(doc,pos){var textBefore=doc.getTextRange(Range.fromPoints({row:0,column:0},pos));return textBefore.split(splitRegex).length-1}function wordDistance(doc,pos){var prefixPos=getWordIndex(doc,pos);var words=doc.getValue().split(splitRegex);var wordScores=Object.create(null);var currentWord=words[prefixPos];words.forEach(function(word,idx){if(!word||word===currentWord)return;var distance=Math.abs(prefixPos-idx);var score=words.length-distance;wordScores[word]?wordScores[word]=Math.max(score,wordScores[word]):wordScores[word]=score});return wordScores}exports.getCompletions=function(editor,session,pos,prefix,callback){var wordScore=wordDistance(session,pos,prefix);var wordList=Object.keys(wordScore);callback(null,wordList.map(function(word){return{caption:word,value:word,score:wordScore[word],meta:"local"}}))}});ace.define("ace/ext/language_tools",["require","exports","module","ace/snippets","ace/autocomplete","ace/config","ace/lib/lang","ace/autocomplete/util","ace/autocomplete/text_completer","ace/editor","ace/config"],function(acequire,exports,module){"use strict";var snippetManager=acequire("../snippets").snippetManager;var Autocomplete=acequire("../autocomplete").Autocomplete;var config=acequire("../config");var lang=acequire("../lib/lang");var util=acequire("../autocomplete/util");var textCompleter=acequire("../autocomplete/text_completer");var keyWordCompleter={getCompletions:function(editor,session,pos,prefix,callback){if(session.$mode.completer)return session.$mode.completer.getCompletions(editor,session,pos,prefix,callback);var state=editor.session.getState(pos.row);var completions=session.$mode.getCompletions(state,session,pos,prefix);callback(null,completions)}};var snippetCompleter={getCompletions:function(editor,session,pos,prefix,callback){var snippetMap=snippetManager.snippetMap;var completions=[];snippetManager.getActiveScopes(editor).forEach(function(scope){var snippets=snippetMap[scope]||[];for(var i=snippets.length;i--;){var s=snippets[i];var caption=s.name||s.tabTrigger;if(!caption)continue;completions.push({caption:caption,snippet:s.content,meta:s.tabTrigger&&!s.name?s.tabTrigger+"⇥ ":"snippet",type:"snippet"})}},this);callback(null,completions)},getDocTooltip:function(item){"snippet"!=item.type||item.docHTML||(item.docHTML=["<b>",lang.escapeHTML(item.caption),"</b>","<hr></hr>",lang.escapeHTML(item.snippet)].join(""))}};var completers=[snippetCompleter,textCompleter,keyWordCompleter];exports.setCompleters=function(val){completers.length=0;val&&completers.push.apply(completers,val)};exports.addCompleter=function(completer){completers.push(completer)};exports.textCompleter=textCompleter;exports.keyWordCompleter=keyWordCompleter;exports.snippetCompleter=snippetCompleter;var expandSnippet={name:"expandSnippet",exec:function(editor){return snippetManager.expandWithTab(editor)},bindKey:"Tab"};var onChangeMode=function(e,editor){loadSnippetsForMode(editor.session.$mode)};var loadSnippetsForMode=function(mode){var id=mode.$id;snippetManager.files||(snippetManager.files={});loadSnippetFile(id);mode.modes&&mode.modes.forEach(loadSnippetsForMode)};var loadSnippetFile=function(id){if(!id||snippetManager.files[id])return;var snippetFilePath=id.replace("mode","snippets");snippetManager.files[id]={};config.loadModule(snippetFilePath,function(m){if(m){snippetManager.files[id]=m;!m.snippets&&m.snippetText&&(m.snippets=snippetManager.parseSnippetFile(m.snippetText));snippetManager.register(m.snippets||[],m.scope);if(m.includeScopes){snippetManager.snippetMap[m.scope].includeScopes=m.includeScopes;m.includeScopes.forEach(function(x){loadSnippetFile("ace/mode/"+x)})}}})};var doLiveAutocomplete=function(e){var editor=e.editor;var hasCompleter=editor.completer&&editor.completer.activated;if("backspace"===e.command.name)hasCompleter&&!util.getCompletionPrefix(editor)&&editor.completer.detach();else if("insertstring"===e.command.name){var prefix=util.getCompletionPrefix(editor);if(prefix&&!hasCompleter){editor.completer||(editor.completer=new Autocomplete);editor.completer.autoInsert=false;editor.completer.showPopup(editor)}}};var Editor=acequire("../editor").Editor;acequire("../config").defineOptions(Editor.prototype,"editor",{enableBasicAutocompletion:{set:function(val){if(val){this.completers||(this.completers=Array.isArray(val)?val:completers);this.commands.addCommand(Autocomplete.startCommand)}else this.commands.removeCommand(Autocomplete.startCommand)},value:false},enableLiveAutocompletion:{set:function(val){if(val){this.completers||(this.completers=Array.isArray(val)?val:completers);this.commands.on("afterExec",doLiveAutocomplete)}else this.commands.removeListener("afterExec",doLiveAutocomplete)},value:false},enableSnippets:{set:function(val){if(val){this.commands.addCommand(expandSnippet);this.on("changeMode",onChangeMode);onChangeMode(null,this)}else{this.commands.removeCommand(expandSnippet);this.off("changeMode",onChangeMode)}},value:false}})});void ace.acequire(["ace/ext/language_tools"],function(){})},function(module,exports){ace.define("ace/ext/searchbox",["require","exports","module","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/keyboard/hash_handler","ace/lib/keys"],function(acequire,exports,module){"use strict";var dom=acequire("../lib/dom");var lang=acequire("../lib/lang");var event=acequire("../lib/event");var searchboxCss='.ace_search {background-color: #ddd;color: #666;border: 1px solid #cbcbcb;border-top: 0 none;overflow: hidden;margin: 0;padding: 4px 6px 0 4px;position: absolute;top: 0;z-index: 99;white-space: normal;}.ace_search.left {border-left: 0 none;border-radius: 0px 0px 5px 0px;left: 0;}.ace_search.right {border-radius: 0px 0px 0px 5px;border-right: 0 none;right: 0;}.ace_search_form, .ace_replace_form {margin: 0 20px 4px 0;overflow: hidden;line-height: 1.9;}.ace_replace_form {margin-right: 0;}.ace_search_form.ace_nomatch {outline: 1px solid red;}.ace_search_field {border-radius: 3px 0 0 3px;background-color: white;color: black;border: 1px solid #cbcbcb;border-right: 0 none;box-sizing: border-box!important;outline: 0;padding: 0;font-size: inherit;margin: 0;line-height: inherit;padding: 0 6px;min-width: 17em;vertical-align: top;}.ace_searchbtn {border: 1px solid #cbcbcb;line-height: inherit;display: inline-block;padding: 0 6px;background: #fff;border-right: 0 none;border-left: 1px solid #dcdcdc;cursor: pointer;margin: 0;position: relative;box-sizing: content-box!important;color: #666;}.ace_searchbtn:last-child {border-radius: 0 3px 3px 0;border-right: 1px solid #cbcbcb;}.ace_searchbtn:disabled {background: none;cursor: default;}.ace_searchbtn:hover {background-color: #eef1f6;}.ace_searchbtn.prev, .ace_searchbtn.next {padding: 0px 0.7em}.ace_searchbtn.prev:after, .ace_searchbtn.next:after {content: "";border: solid 2px #888;width: 0.5em;height: 0.5em;border-width:  2px 0 0 2px;display:inline-block;transform: rotate(-45deg);}.ace_searchbtn.next:after {border-width: 0 2px 2px 0 ;}.ace_searchbtn_close {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;border-radius: 50%;border: 0 none;color: #656565;cursor: pointer;font: 16px/16px Arial;padding: 0;height: 14px;width: 14px;top: 9px;right: 7px;position: absolute;}.ace_searchbtn_close:hover {background-color: #656565;background-position: 50% 100%;color: white;}.ace_button {margin-left: 2px;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-o-user-select: none;-ms-user-select: none;user-select: none;overflow: hidden;opacity: 0.7;border: 1px solid rgba(100,100,100,0.23);padding: 1px;box-sizing:    border-box!important;color: black;}.ace_button:hover {background-color: #eee;opacity:1;}.ace_button:active {background-color: #ddd;}.ace_button.checked {border-color: #3399ff;opacity:1;}.ace_search_options{margin-bottom: 3px;text-align: right;-webkit-user-select: none;-moz-user-select: none;-o-user-select: none;-ms-user-select: none;user-select: none;clear: both;}.ace_search_counter {float: left;font-family: arial;padding: 0 8px;}';var HashHandler=acequire("../keyboard/hash_handler").HashHandler;var keyUtil=acequire("../lib/keys");var MAX_COUNT=999;dom.importCssString(searchboxCss,"ace_searchbox");var html='<div class="ace_search right">    <span action="hide" class="ace_searchbtn_close"></span>    <div class="ace_search_form">        <input class="ace_search_field" placeholder="Search for" spellcheck="false"></input>        <span action="findPrev" class="ace_searchbtn prev"></span>        <span action="findNext" class="ace_searchbtn next"></span>        <span action="findAll" class="ace_searchbtn" title="Alt-Enter">All</span>    </div>    <div class="ace_replace_form">        <input class="ace_search_field" placeholder="Replace with" spellcheck="false"></input>        <span action="replaceAndFindNext" class="ace_searchbtn">Replace</span>        <span action="replaceAll" class="ace_searchbtn">All</span>    </div>    <div class="ace_search_options">        <span action="toggleReplace" class="ace_button" title="Toggel Replace mode"            style="float:left;margin-top:-2px;padding:0 5px;">+</span>        <span class="ace_search_counter"></span>        <span action="toggleRegexpMode" class="ace_button" title="RegExp Search">.*</span>        <span action="toggleCaseSensitive" class="ace_button" title="CaseSensitive Search">Aa</span>        <span action="toggleWholeWords" class="ace_button" title="Whole Word Search">\\b</span>        <span action="searchInSelection" class="ace_button" title="Search In Selection">S</span>    </div></div>'.replace(/> +/g,">");var SearchBox=function(editor,range,showReplaceForm){var div=dom.createElement("div");div.innerHTML=html;this.element=div.firstChild;this.setSession=this.setSession.bind(this);this.$init();this.setEditor(editor)};(function(){this.setEditor=function(editor){editor.searchBox=this;editor.renderer.scroller.appendChild(this.element);this.editor=editor};this.setSession=function(e){this.searchRange=null;this.$syncOptions(true)};this.$initElements=function(sb){this.searchBox=sb.querySelector(".ace_search_form");this.replaceBox=sb.querySelector(".ace_replace_form");this.searchOption=sb.querySelector("[action=searchInSelection]");this.replaceOption=sb.querySelector("[action=toggleReplace]");this.regExpOption=sb.querySelector("[action=toggleRegexpMode]");this.caseSensitiveOption=sb.querySelector("[action=toggleCaseSensitive]");this.wholeWordOption=sb.querySelector("[action=toggleWholeWords]");this.searchInput=this.searchBox.querySelector(".ace_search_field");this.replaceInput=this.replaceBox.querySelector(".ace_search_field");this.searchCounter=sb.querySelector(".ace_search_counter")};this.$init=function(){var sb=this.element;this.$initElements(sb);var _this=this;event.addListener(sb,"mousedown",function(e){setTimeout(function(){_this.activeInput.focus()},0);event.stopPropagation(e)});event.addListener(sb,"click",function(e){var t=e.target||e.srcElement;var action=t.getAttribute("action");action&&_this[action]?_this[action]():_this.$searchBarKb.commands[action]&&_this.$searchBarKb.commands[action].exec(_this);event.stopPropagation(e)});event.addCommandKeyListener(sb,function(e,hashId,keyCode){var keyString=keyUtil.keyCodeToString(keyCode);var command=_this.$searchBarKb.findKeyCommand(hashId,keyString);if(command&&command.exec){command.exec(_this);event.stopEvent(e)}});this.$onChange=lang.delayedCall(function(){_this.find(false,false)});event.addListener(this.searchInput,"input",function(){_this.$onChange.schedule(20)});event.addListener(this.searchInput,"focus",function(){_this.activeInput=_this.searchInput;_this.searchInput.value&&_this.highlight()});event.addListener(this.replaceInput,"focus",function(){_this.activeInput=_this.replaceInput;_this.searchInput.value&&_this.highlight()})};this.$closeSearchBarKb=new HashHandler([{bindKey:"Esc",name:"closeSearchBar",exec:function(editor){editor.searchBox.hide()}}]);this.$searchBarKb=new HashHandler;this.$searchBarKb.bindKeys({"Ctrl-f|Command-f":function(sb){var isReplace=sb.isReplace=!sb.isReplace;sb.replaceBox.style.display=isReplace?"":"none";sb.replaceOption.checked=false;sb.$syncOptions();sb.searchInput.focus()},"Ctrl-H|Command-Option-F":function(sb){sb.replaceOption.checked=true;sb.$syncOptions();sb.replaceInput.focus()},"Ctrl-G|Command-G":function(sb){sb.findNext()},"Ctrl-Shift-G|Command-Shift-G":function(sb){sb.findPrev()},esc:function(sb){setTimeout(function(){sb.hide()})},Return:function(sb){sb.activeInput==sb.replaceInput&&sb.replace();sb.findNext()},"Shift-Return":function(sb){sb.activeInput==sb.replaceInput&&sb.replace();sb.findPrev()},"Alt-Return":function(sb){sb.activeInput==sb.replaceInput&&sb.replaceAll();sb.findAll()},Tab:function(sb){(sb.activeInput==sb.replaceInput?sb.searchInput:sb.replaceInput).focus()}});this.$searchBarKb.addCommands([{name:"toggleRegexpMode",bindKey:{win:"Alt-R|Alt-/",mac:"Ctrl-Alt-R|Ctrl-Alt-/"},exec:function(sb){sb.regExpOption.checked=!sb.regExpOption.checked;sb.$syncOptions()}},{name:"toggleCaseSensitive",bindKey:{win:"Alt-C|Alt-I",mac:"Ctrl-Alt-R|Ctrl-Alt-I"},exec:function(sb){sb.caseSensitiveOption.checked=!sb.caseSensitiveOption.checked;sb.$syncOptions()}},{name:"toggleWholeWords",bindKey:{win:"Alt-B|Alt-W",mac:"Ctrl-Alt-B|Ctrl-Alt-W"},exec:function(sb){sb.wholeWordOption.checked=!sb.wholeWordOption.checked;sb.$syncOptions()}},{name:"toggleReplace",exec:function(sb){sb.replaceOption.checked=!sb.replaceOption.checked;sb.$syncOptions()}},{name:"searchInSelection",exec:function(sb){sb.searchOption.checked=!sb.searchRange;sb.setSearchRange(sb.searchOption.checked&&sb.editor.getSelectionRange());sb.$syncOptions()}}]);this.setSearchRange=function(range){this.searchRange=range;if(range)this.searchRangeMarker=this.editor.session.addMarker(range,"ace_active-line");else if(this.searchRangeMarker){this.editor.session.removeMarker(this.searchRangeMarker);this.searchRangeMarker=null}};this.$syncOptions=function(preventScroll){dom.setCssClass(this.replaceOption,"checked",this.searchRange);dom.setCssClass(this.searchOption,"checked",this.searchOption.checked);this.replaceOption.textContent=this.replaceOption.checked?"-":"+";dom.setCssClass(this.regExpOption,"checked",this.regExpOption.checked);dom.setCssClass(this.wholeWordOption,"checked",this.wholeWordOption.checked);dom.setCssClass(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked);this.replaceBox.style.display=this.replaceOption.checked?"":"none";this.find(false,false,preventScroll)};this.highlight=function(re){this.editor.session.highlight(re||this.editor.$search.$options.re);this.editor.renderer.updateBackMarkers()};this.find=function(skipCurrent,backwards,preventScroll){var range=this.editor.find(this.searchInput.value,{skipCurrent:skipCurrent,backwards:backwards,wrap:true,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked,preventScroll:preventScroll,range:this.searchRange});var noMatch=!range&&this.searchInput.value;dom.setCssClass(this.searchBox,"ace_nomatch",noMatch);this.editor._emit("findSearchBox",{match:!noMatch});this.highlight();this.updateCounter()};this.updateCounter=function(){var editor=this.editor;var regex=editor.$search.$options.re;var all=0;var before=0;if(regex){var value=this.searchRange?editor.session.getTextRange(this.searchRange):editor.getValue();var offset=editor.session.doc.positionToIndex(editor.selection.anchor);this.searchRange&&(offset-=editor.session.doc.positionToIndex(this.searchRange.start));var last=regex.lastIndex=0;var m;while(m=regex.exec(value)){all++;last=m.index;last<=offset&&before++;if(all>MAX_COUNT)break;if(!m[0]){regex.lastIndex=last+=1;if(last>=value.length)break}}}this.searchCounter.textContent=before+" of "+(all>MAX_COUNT?MAX_COUNT+"+":all)};this.findNext=function(){this.find(true,false)};this.findPrev=function(){this.find(true,true)};this.findAll=function(){var range=this.editor.findAll(this.searchInput.value,{regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked});var noMatch=!range&&this.searchInput.value;dom.setCssClass(this.searchBox,"ace_nomatch",noMatch);this.editor._emit("findSearchBox",{match:!noMatch});this.highlight();this.hide()};this.replace=function(){this.editor.getReadOnly()||this.editor.replace(this.replaceInput.value)};this.replaceAndFindNext=function(){if(!this.editor.getReadOnly()){this.editor.replace(this.replaceInput.value);this.findNext()}};this.replaceAll=function(){this.editor.getReadOnly()||this.editor.replaceAll(this.replaceInput.value)};this.hide=function(){this.active=false;this.setSearchRange(null);this.editor.off("changeSession",this.setSession);this.element.style.display="none";this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb);this.editor.focus()};this.show=function(value,isReplace){this.active=true;this.editor.on("changeSession",this.setSession);this.element.style.display="";this.replaceOption.checked=isReplace;value&&(this.searchInput.value=value);this.searchInput.focus();this.searchInput.select();this.editor.keyBinding.addKeyboardHandler(this.$closeSearchBarKb);this.$syncOptions(true)};this.isFocused=function(){var el=document.activeElement;return el==this.searchInput||el==this.replaceInput}}).call(SearchBox.prototype);exports.SearchBox=SearchBox;exports.Search=function(editor,isReplace){var sb=editor.searchBox||new SearchBox(editor);sb.show(editor.session.getTextRange(),isReplace)}});void ace.acequire(["ace/ext/searchbox"],function(){})},function(module,exports){ace.define("ace/mode/hjson_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var TextHighlightRules=acequire("./text_highlight_rules").TextHighlightRules;var HjsonHighlightRules=function(){this.$rules={start:[{include:"#comments"},{include:"#rootObject"},{include:"#value"}],"#array":[{token:"paren.lparen",regex:/\[/,push:[{token:"paren.rparen",regex:/\]/,next:"pop"},{include:"#value"},{include:"#comments"},{token:"text",regex:/,|$/},{token:"invalid.illegal",regex:/[^\s\]]/},{defaultToken:"array"}]}],"#comments":[{token:["comment.punctuation","comment.line"],regex:/(#)(.*$)/},{token:"comment.punctuation",regex:/\/\*/,push:[{token:"comment.punctuation",regex:/\*\//,next:"pop"},{defaultToken:"comment.block"}]},{token:["comment.punctuation","comment.line"],regex:/(\/\/)(.*$)/}],"#constant":[{token:"constant",regex:/\b(?:true|false|null)\b/}],"#keyname":[{token:"keyword",regex:/(?:[^,\{\[\}\]\s]+|"(?:[^"\\]|\\.)*")\s*(?=:)/}],"#mstring":[{token:"string",regex:/'''/,push:[{token:"string",regex:/'''/,next:"pop"},{defaultToken:"string"}]}],"#number":[{token:"constant.numeric",regex:/-?(?:0|[1-9]\d*)(?:(?:\.\d+)?(?:[eE][+-]?\d+)?)?/,comment:"handles integer and decimal numbers"}],"#object":[{token:"paren.lparen",regex:/\{/,push:[{token:"paren.rparen",regex:/\}/,next:"pop"},{include:"#keyname"},{include:"#value"},{token:"text",regex:/:/},{token:"text",regex:/,/},{defaultToken:"paren"}]}],"#rootObject":[{token:"paren",regex:/(?=\s*(?:[^,\{\[\}\]\s]+|"(?:[^"\\]|\\.)*")\s*:)/,push:[{token:"paren.rparen",regex:/---none---/,next:"pop"},{include:"#keyname"},{include:"#value"},{token:"text",regex:/:/},{token:"text",regex:/,/},{defaultToken:"paren"}]}],"#string":[{token:"string",regex:/"/,push:[{token:"string",regex:/"/,next:"pop"},{token:"constant.language.escape",regex:/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/},{token:"invalid.illegal",regex:/\\./},{defaultToken:"string"}]}],"#ustring":[{token:"string",regex:/\b[^:,0-9\-\{\[\}\]\s].*$/}],"#value":[{include:"#constant"},{include:"#number"},{include:"#string"},{include:"#array"},{include:"#object"},{include:"#comments"},{include:"#mstring"},{include:"#ustring"}]};this.normalizeRules()};HjsonHighlightRules.metaData={fileTypes:["hjson"],foldingStartMarker:"(?x:     # turn on extended mode\n              ^    # a line beginning with\n              \\s*    # some optional space\n              [{\\[]  # the start of an object or array\n              (?!    # but not followed by\n              .*   # whatever\n              [}\\]]  # and the close of an object or array\n              ,?   # an optional comma\n              \\s*  # some optional space\n              $    # at the end of the line\n              )\n              |    # ...or...\n              [{\\[]  # the start of an object or array\n              \\s*    # some optional space\n              $    # at the end of the line\n            )",foldingStopMarker:"(?x:   # turn on extended mode\n             ^    # a line beginning with\n             \\s*  # some optional space\n             [}\\]]  # and the close of an object or array\n             )",keyEquivalent:"^~J",name:"Hjson",scopeName:"source.hjson"};oop.inherits(HjsonHighlightRules,TextHighlightRules);exports.HjsonHighlightRules=HjsonHighlightRules});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(acequire,exports,module){"use strict";var oop=acequire("../../lib/oop");var Range=acequire("../../range").Range;var BaseFoldMode=acequire("./fold_mode").FoldMode;var FoldMode=exports.FoldMode=function(commentRegex){if(commentRegex){this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+commentRegex.start));this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+commentRegex.end))}};oop.inherits(FoldMode,BaseFoldMode);(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/;this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/;this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/;this._getFoldWidgetBase=this.getFoldWidget;this.getFoldWidget=function(session,foldStyle,row){var line=session.getLine(row);if(this.singleLineBlockCommentRe.test(line)&&!this.startRegionRe.test(line)&&!this.tripleStarBlockCommentRe.test(line))return"";var fw=this._getFoldWidgetBase(session,foldStyle,row);if(!fw&&this.startRegionRe.test(line))return"start";return fw};this.getFoldWidgetRange=function(session,foldStyle,row,forceMultiline){var line=session.getLine(row);if(this.startRegionRe.test(line))return this.getCommentRegionBlock(session,line,row);var match=line.match(this.foldingStartMarker);if(match){var i=match.index;if(match[1])return this.openingBracketBlock(session,match[1],row,i);var range=session.getCommentFoldRange(row,i+match[0].length,1);range&&!range.isMultiLine()&&(forceMultiline?range=this.getSectionRange(session,row):"all"!=foldStyle&&(range=null));return range}if("markbegin"===foldStyle)return;match=line.match(this.foldingStopMarker);if(match){i=match.index+match[0].length;if(match[1])return this.closingBracketBlock(session,match[1],row,i);return session.getCommentFoldRange(row,i,-1)}};this.getSectionRange=function(session,row){var line=session.getLine(row);var startIndent=line.search(/\S/);var startRow=row;var startColumn=line.length;row+=1;var endRow=row;var maxRow=session.getLength();while(++row<maxRow){line=session.getLine(row);var indent=line.search(/\S/);if(-1===indent)continue;if(startIndent>indent)break;var subRange=this.getFoldWidgetRange(session,"all",row);if(subRange){if(subRange.start.row<=startRow)break;if(subRange.isMultiLine())row=subRange.end.row;else if(startIndent==indent)break}endRow=row}return new Range(startRow,startColumn,endRow,session.getLine(endRow).length)};this.getCommentRegionBlock=function(session,line,row){var startColumn=line.search(/\s*$/);var maxRow=session.getLength();var startRow=row;var re=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;var depth=1;while(++row<maxRow){line=session.getLine(row);var m=re.exec(line);if(!m)continue;m[1]?depth--:depth++;if(!depth)break}var endRow=row;if(endRow>startRow)return new Range(startRow,startColumn,endRow,line.length)}}).call(FoldMode.prototype)});ace.define("ace/mode/hjson",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/hjson_highlight_rules","ace/mode/folding/cstyle"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var TextMode=acequire("./text").Mode;var HjsonHighlightRules=acequire("./hjson_highlight_rules").HjsonHighlightRules;var FoldMode=acequire("./folding/cstyle").FoldMode;var Mode=function(){this.HighlightRules=HjsonHighlightRules;this.foldingRules=new FoldMode};oop.inherits(Mode,TextMode);(function(){this.lineCommentStart="//";this.blockComment={start:"/*",end:"*/"};this.$id="ace/mode/hjson"}).call(Mode.prototype);exports.Mode=Mode})},function(module,exports){module.exports.id="ace/mode/json_worker";module.exports.src='"no use strict";!function(window){function resolveModuleId(id,paths){for(var testPath=id,tail="";testPath;){var alias=paths[testPath];if("string"==typeof alias)return alias+tail;if(alias)return alias.location.replace(/\\/*$/,"/")+(tail||alias.main||alias.name);if(alias===!1)return"";var i=testPath.lastIndexOf("/");if(-1===i)break;tail=testPath.substr(i)+tail,testPath=testPath.slice(0,i)}return id}if(!(void 0!==window.window&&window.document||window.acequire&&window.define)){window.console||(window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console),window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:"error",data:{message:message,data:err.data,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf("!")){var chunks=moduleName.split("!");return window.normalizeModule(parentId,chunks[0])+"!"+window.normalizeModule(parentId,chunks[1])}if("."==moduleName.charAt(0)){var base=parentId.split("/").slice(0,-1).join("/");for(moduleName=(base?base+"/":"")+moduleName;-1!==moduleName.indexOf(".")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,"").replace(/\\/\\.\\//,"/").replace(/[^\\/]+\\/\\.\\.\\//,"")}}return moduleName},window.acequire=function acequire(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error("worker.js acequire() accepts only (parentId, id) as arguments");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;if(!window.acequire.tlns)return console.log("unable to load "+id);var path=resolveModuleId(id,window.acequire.tlns);return".js"!=path.slice(-3)&&(path+=".js"),window.acequire.id=id,window.acequire.modules[id]={},importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,"string"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),"function"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=["require","exports","module"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case"require":return req;case"exports":return module.exports;case"module":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},acequire.tlns={},window.initBaseUrls=function(topLevelNamespaces){for(var i in topLevelNamespaces)acequire.tlns[i]=topLevelNamespaces[i]},window.initSender=function(){var EventEmitter=window.acequire("ace/lib/event_emitter").EventEmitter,oop=window.acequire("ace/lib/oop"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:"call",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:"event",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.event&&sender)sender._signal(msg.event,msg.data);else if(msg.command)if(main[msg.command])main[msg.command].apply(main,msg.args);else{if(!window[msg.command])throw Error("Unknown command:"+msg.command);window[msg.command].apply(window,msg.args)}else if(msg.init){window.initBaseUrls(msg.tlns),acequire("ace/lib/es5-shim"),sender=window.sender=window.initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}}}}(this),ace.define("ace/lib/oop",["require","exports","module"],function(acequire,exports){"use strict";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define("ace/range",["require","exports","module"],function(acequire,exports){"use strict";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/apply_delta",["require","exports","module"],function(acequire,exports){"use strict";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||"";switch(delta.action){case"insert":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case"remove":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.column<point2.column;return point1.row<point2.row||point1.row==point2.row&&bColIsAfter}function $getTransformedPoint(delta,point,moveIfEqual){var deltaIsInsert="insert"==delta.action,deltaRowShift=(deltaIsInsert?1:-1)*(delta.end.row-delta.start.row),deltaColShift=(deltaIsInsert?1:-1)*(delta.end.column-delta.start.column),deltaStart=delta.start,deltaEnd=deltaIsInsert?deltaStart:delta.end;return $pointsInOrder(point,deltaStart,moveIfEqual)?{row:point.row,column:point.column}:$pointsInOrder(deltaEnd,point,!moveIfEqual)?{row:point.row+deltaRowShift,column:point.column+(point.row==deltaEnd.row?deltaColShift:0)}:{row:deltaStart.row,column:deltaStart.column}}oop.implement(this,EventEmitter),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(delta){if(!(delta.start.row==delta.end.row&&delta.start.row!=this.row||delta.start.row>this.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),applyDelta=acequire("./apply_delta").applyDelta,EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(textOrLines){this.$lines=[""],0===textOrLines.length?this.$lines=[""]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:"\\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\\r\\n";case"unix":return"\\n";default:return this.$autoNewLine||"\\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, [\'\', \'\']) instead."),this.insertMergedLines(position,["",""])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:"insert",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([""]),column=0):(lines=[""].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:"insert",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:"remove",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:"remove",lines:["",""]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert="insert"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal("change",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(""),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:"insert"==delta.action?"remove":"insert",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if("object"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}if("[object Object]"!==Object.prototype.toString.call(obj))return obj;copy={};for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/\'/g,"&#39;").replace(/</g,"&#60;")},exports.getMatchOffsets=function(string,regExp){var matches=[];return string.replace(regExp,function(str){matches.push({offset:arguments[arguments.length-2],length:str.length})}),matches},exports.deferredCall=function(fcn){var timer=null,callback=function(){timer=null,fcn()},deferred=function(timeout){return deferred.cancel(),timer=setTimeout(callback,timeout||0),deferred};return deferred.schedule=deferred,deferred.call=function(){return this.cancel(),fcn(),deferred},deferred.cancel=function(){return clearTimeout(timer),timer=null,deferred},deferred.isPending=function(){return timer},deferred},exports.delayedCall=function(fcn,defaultTimeout){var timer=null,callback=function(){timer=null,fcn()},_self=function(timeout){null==timer&&(timer=setTimeout(callback,timeout||defaultTimeout))};return _self.delay=function(timeout){timer&&clearTimeout(timer),timer=setTimeout(callback,timeout||defaultTimeout)},_self.schedule=_self,_self.call=function(){this.cancel(),fcn()},_self.cancel=function(){timer&&clearTimeout(timer),timer=null},_self.isPending=function(){return timer},_self}}),ace.define("ace/worker/mirror",["require","exports","module","ace/range","ace/document","ace/lib/lang"],function(acequire,exports){"use strict";acequire("../range").Range;var Document=acequire("../document").Document,lang=acequire("../lib/lang"),Mirror=exports.Mirror=function(sender){this.sender=sender;var doc=this.doc=new Document(""),deferredUpdate=this.deferredUpdate=lang.delayedCall(this.onUpdate.bind(this)),_self=this;sender.on("change",function(e){var data=e.data;if(data[0].start)doc.applyDeltas(data);else for(var i=0;data.length>i;i+=2){if(Array.isArray(data[i+1]))var d={action:"insert",start:data[i],lines:data[i+1]};else var d={action:"remove",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define("ace/mode/json/json_parse",["require","exports","module"],function(){"use strict";var at,ch,text,value,escapee={\'"\':\'"\',"\\\\":"\\\\","/":"/",b:"\\b",f:"\\f",n:"\\n",r:"\\r",t:"\t"},error=function(m){throw{name:"SyntaxError",message:m,at:at,text:text}},next=function(c){return c&&c!==ch&&error("Expected \'"+c+"\' instead of \'"+ch+"\'"),ch=text.charAt(at),at+=1,ch},number=function(){var number,string="";for("-"===ch&&(string="-",next("-"));ch>="0"&&"9">=ch;)string+=ch,next();if("."===ch)for(string+=".";next()&&ch>="0"&&"9">=ch;)string+=ch;if("e"===ch||"E"===ch)for(string+=ch,next(),("-"===ch||"+"===ch)&&(string+=ch,next());ch>="0"&&"9">=ch;)string+=ch,next();return number=+string,isNaN(number)?(error("Bad number"),void 0):number},string=function(){var hex,i,uffff,string="";if(\'"\'===ch)for(;next();){if(\'"\'===ch)return next(),string;if("\\\\"===ch)if(next(),"u"===ch){for(uffff=0,i=0;4>i&&(hex=parseInt(next(),16),isFinite(hex));i+=1)uffff=16*uffff+hex;string+=String.fromCharCode(uffff)}else{if("string"!=typeof escapee[ch])break;string+=escapee[ch]}else string+=ch}error("Bad string")},white=function(){for(;ch&&" ">=ch;)next()},word=function(){switch(ch){case"t":return next("t"),next("r"),next("u"),next("e"),!0;case"f":return next("f"),next("a"),next("l"),next("s"),next("e"),!1;case"n":return next("n"),next("u"),next("l"),next("l"),null}error("Unexpected \'"+ch+"\'")},array=function(){var array=[];if("["===ch){if(next("["),white(),"]"===ch)return next("]"),array;for(;ch;){if(array.push(value()),white(),"]"===ch)return next("]"),array;next(","),white()}}error("Bad array")},object=function(){var key,object={};if("{"===ch){if(next("{"),white(),"}"===ch)return next("}"),object;for(;ch;){if(key=string(),white(),next(":"),Object.hasOwnProperty.call(object,key)&&error(\'Duplicate key "\'+key+\'"\'),object[key]=value(),white(),"}"===ch)return next("}"),object;next(","),white()}}error("Bad object")};return value=function(){switch(white(),ch){case"{":return object();case"[":return array();case\'"\':return string();case"-":return number();default:return ch>="0"&&"9">=ch?number():word()}},function(source,reviver){var result;return text=source,at=0,ch=" ",result=value(),white(),ch&&error("Syntax error"),"function"==typeof reviver?function walk(holder,key){var k,v,value=holder[key];if(value&&"object"==typeof value)for(k in value)Object.hasOwnProperty.call(value,k)&&(v=walk(value,k),void 0!==v?value[k]=v:delete value[k]);return reviver.call(holder,key,value)}({"":result},""):result}}),ace.define("ace/mode/json_worker",["require","exports","module","ace/lib/oop","ace/worker/mirror","ace/mode/json/json_parse"],function(acequire,exports){"use strict";var oop=acequire("../lib/oop"),Mirror=acequire("../worker/mirror").Mirror,parse=acequire("./json/json_parse"),JsonWorker=exports.JsonWorker=function(sender){Mirror.call(this,sender),this.setTimeout(200)};oop.inherits(JsonWorker,Mirror),function(){this.onUpdate=function(){var value=this.doc.getValue(),errors=[];try{value&&parse(value)}catch(e){var pos=this.doc.indexToPosition(e.at-1);errors.push({row:pos.row,column:pos.column,text:e.message,type:"error"})}this.sender.emit("annotate",errors)}}.call(JsonWorker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0\n}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != \'object\'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws="\t\\n\v\\f\\r   ᠎             　\\u2028\\u2029\ufeff";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can\'t convert "+o+" to object");return Object(o)}});'},function(module,exports){ace.define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");acequire("../lib/lang");var TextHighlightRules=acequire("./text_highlight_rules").TextHighlightRules;var supportType=exports.supportType="align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-repeat|background-size|border|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-shadow|box-sizing|caption-side|clear|clip|color|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|font|font-family|font-size|font-size-adjust|font-stretch|font-style|font-variant|font-weight|hanging-punctuation|height|justify-content|left|letter-spacing|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-bottom|margin-left|margin-right|margin-top|max-height|max-width|min-height|min-width|nav-down|nav-index|nav-left|nav-right|nav-up|opacity|order|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-x|overflow-y|padding|padding-bottom|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|perspective|perspective-origin|position|quotes|resize|right|tab-size|table-layout|text-align|text-align-last|text-decoration|text-decoration-color|text-decoration-line|text-decoration-style|text-indent|text-justify|text-overflow|text-shadow|text-transform|top|transform|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|unicode-bidi|vertical-align|visibility|white-space|width|word-break|word-spacing|word-wrap|z-index";var supportFunction=exports.supportFunction="rgb|rgba|url|attr|counter|counters";var supportConstant=exports.supportConstant="absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row-resize|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|z-index|zero";var supportConstantColor=exports.supportConstantColor="aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen";var supportConstantFonts=exports.supportConstantFonts="arial|century|comic|courier|cursive|fantasy|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace";var numRe=exports.numRe="\\-?(?:(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+))";var pseudoElements=exports.pseudoElements="(\\:+)\\b(after|before|first-letter|first-line|moz-selection|selection)\\b";var pseudoClasses=exports.pseudoClasses="(:)\\b(active|checked|disabled|empty|enabled|first-child|first-of-type|focus|hover|indeterminate|invalid|last-child|last-of-type|link|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|only-child|only-of-type|acequired|root|target|valid|visited)\\b";var CssHighlightRules=function(){var keywordMapper=this.createKeywordMapper({"support.function":supportFunction,"support.constant":supportConstant,"support.type":supportType,"support.constant.color":supportConstantColor,"support.constant.fonts":supportConstantFonts},"text",true);this.$rules={start:[{include:["strings","url","comments"]},{token:"paren.lparen",regex:"\\{",next:"ruleset"},{token:"paren.rparen",regex:"\\}"},{token:"string",regex:"@",next:"media"},{token:"keyword",regex:"#[a-z0-9-_]+"},{token:"keyword",regex:"%"},{token:"variable",regex:"\\.[a-z0-9-_]+"},{token:"string",regex:":[a-z0-9-_]+"},{token:"constant.numeric",regex:numRe},{token:"constant",regex:"[a-z0-9-_]+"},{caseInsensitive:true}],media:[{include:["strings","url","comments"]},{token:"paren.lparen",regex:"\\{",next:"start"},{token:"paren.rparen",regex:"\\}",next:"start"},{token:"string",regex:";",next:"start"},{token:"keyword",regex:"(?:media|supports|document|charset|import|namespace|media|supports|document|page|font|keyframes|viewport|counter-style|font-feature-values|swash|ornaments|annotation|stylistic|styleset|character-variant)"}],comments:[{token:"comment",regex:"\\/\\*",push:[{token:"comment",regex:"\\*\\/",next:"pop"},{defaultToken:"comment"}]}],ruleset:[{regex:"-(webkit|ms|moz|o)-",token:"text"},{token:"paren.rparen",regex:"\\}",next:"start"},{include:["strings","url","comments"]},{token:["constant.numeric","keyword"],regex:"("+numRe+")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vm|vw|%)"},{token:"constant.numeric",regex:numRe},{token:"constant.numeric",regex:"#[a-f0-9]{6}"},{token:"constant.numeric",regex:"#[a-f0-9]{3}"},{token:["punctuation","entity.other.attribute-name.pseudo-element.css"],regex:pseudoElements},{token:["punctuation","entity.other.attribute-name.pseudo-class.css"],regex:pseudoClasses},{include:"url"},{token:keywordMapper,regex:"\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"},{caseInsensitive:true}],url:[{token:"support.function",regex:"(?:url(:?-prefix)?|domain|regexp)\\(",push:[{token:"support.function",regex:"\\)",next:"pop"},{defaultToken:"string"}]}],strings:[{token:"string.start",regex:"'",push:[{token:"string.end",regex:"'|$",next:"pop"},{include:"escapes"},{token:"constant.language.escape",regex:/\\$/,consumeLineEnd:true},{defaultToken:"string"}]},{token:"string.start",regex:'"',push:[{token:"string.end",regex:'"|$',next:"pop"},{include:"escapes"},{token:"constant.language.escape",regex:/\\$/,consumeLineEnd:true},{defaultToken:"string"}]}],escapes:[{token:"constant.language.escape",regex:/\\([a-fA-F\d]{1,6}|[^a-fA-F\d])/}]};this.normalizeRules()};oop.inherits(CssHighlightRules,TextHighlightRules);exports.CssHighlightRules=CssHighlightRules});ace.define("ace/mode/less_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules","ace/mode/css_highlight_rules"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var TextHighlightRules=acequire("./text_highlight_rules").TextHighlightRules;var CssHighlightRules=acequire("./css_highlight_rules");var LessHighlightRules=function(){var keywordList="@import|@media|@font-face|@keyframes|@-webkit-keyframes|@supports|@charset|@plugin|@namespace|@document|@page|@viewport|@-ms-viewport|or|and|when|not";var keywords=keywordList.split("|");var properties=CssHighlightRules.supportType.split("|");var keywordMapper=this.createKeywordMapper({"support.constant":CssHighlightRules.supportConstant,keyword:keywordList,"support.constant.color":CssHighlightRules.supportConstantColor,"support.constant.fonts":CssHighlightRules.supportConstantFonts},"identifier",true);var numRe="\\-?(?:(?:[0-9]+)|(?:[0-9]*\\.[0-9]+))";this.$rules={start:[{token:"comment",regex:"\\/\\/.*$"},{token:"comment",regex:"\\/\\*",next:"comment"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:["constant.numeric","keyword"],regex:"("+numRe+")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vm|vw|%)"},{token:"constant.numeric",regex:"#[a-f0-9]{6}"},{token:"constant.numeric",regex:"#[a-f0-9]{3}"},{token:"constant.numeric",regex:numRe},{token:["support.function","paren.lparen","string","paren.rparen"],regex:"(url)(\\()(.*)(\\))"},{token:["support.function","paren.lparen"],regex:"(:extend|[a-z0-9_\\-]+)(\\()"},{token:function(value){return keywords.indexOf(value.toLowerCase())>-1?"keyword":"variable"},regex:"[@\\$][a-z0-9_\\-@\\$]*\\b"},{token:"variable",regex:"[@\\$]\\{[a-z0-9_\\-@\\$]*\\}"},{token:function(first,second){return properties.indexOf(first.toLowerCase())>-1?["support.type.property","text"]:["support.type.unknownProperty","text"]},regex:"([a-z0-9-_]+)(\\s*:)"},{token:"keyword",regex:"&"},{token:keywordMapper,regex:"\\-?[@a-z_][@a-z0-9_\\-]*"},{token:"variable.language",regex:"#[a-z0-9-_]+"},{token:"variable.language",regex:"\\.[a-z0-9-_]+"},{token:"variable.language",regex:":[a-z_][a-z0-9-_]*"},{token:"constant",regex:"[a-z0-9-_]+"},{token:"keyword.operator",regex:"<|>|<=|>=|=|!=|-|%|\\+|\\*"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"},{caseInsensitive:true}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]};this.normalizeRules()};oop.inherits(LessHighlightRules,TextHighlightRules);exports.LessHighlightRules=LessHighlightRules});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(acequire,exports,module){"use strict";var Range=acequire("../range").Range;var MatchingBraceOutdent=function(){};(function(){this.checkOutdent=function(line,input){if(!/^\s+$/.test(line))return false;return/^\s*\}/.test(input)};this.autoOutdent=function(doc,row){var line=doc.getLine(row);var match=line.match(/^(\s*\})/);if(!match)return 0;var column=match[1].length;var openBracePos=doc.findMatchingBracket({row:row,column:column});if(!openBracePos||openBracePos.row==row)return 0;var indent=this.$getIndent(doc.getLine(openBracePos.row));doc.replace(new Range(row,0,row,column-1),indent)};this.$getIndent=function(line){return line.match(/^\s*/)[0]}}).call(MatchingBraceOutdent.prototype);exports.MatchingBraceOutdent=MatchingBraceOutdent});ace.define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"],function(acequire,exports,module){"use strict";var oop=acequire("../../lib/oop");acequire("../behaviour").Behaviour;var CstyleBehaviour=acequire("./cstyle").CstyleBehaviour;var TokenIterator=acequire("../../token_iterator").TokenIterator;var CssBehaviour=function(){this.inherit(CstyleBehaviour);this.add("colon","insertion",function(state,action,editor,session,text){if(":"===text){var cursor=editor.getCursorPosition();var iterator=new TokenIterator(session,cursor.row,cursor.column);var token=iterator.getCurrentToken();token&&token.value.match(/\s+/)&&(token=iterator.stepBackward());if(token&&"support.type"===token.type){var line=session.doc.getLine(cursor.row);var rightChar=line.substring(cursor.column,cursor.column+1);if(":"===rightChar)return{text:"",selection:[1,1]};if(!line.substring(cursor.column).match(/^\s*;/))return{text:":;",selection:[1,1]}}}});this.add("colon","deletion",function(state,action,editor,session,range){var selected=session.doc.getTextRange(range);if(!range.isMultiLine()&&":"===selected){var cursor=editor.getCursorPosition();var iterator=new TokenIterator(session,cursor.row,cursor.column);var token=iterator.getCurrentToken();token&&token.value.match(/\s+/)&&(token=iterator.stepBackward());if(token&&"support.type"===token.type){var line=session.doc.getLine(range.start.row);var rightChar=line.substring(range.end.column,range.end.column+1);if(";"===rightChar){range.end.column++;return range}}}});this.add("semicolon","insertion",function(state,action,editor,session,text){if(";"===text){var cursor=editor.getCursorPosition();var line=session.doc.getLine(cursor.row);var rightChar=line.substring(cursor.column,cursor.column+1);if(";"===rightChar)return{text:"",selection:[1,1]}}})};oop.inherits(CssBehaviour,CstyleBehaviour);exports.CssBehaviour=CssBehaviour});ace.define("ace/mode/css_completions",["require","exports","module"],function(acequire,exports,module){"use strict";var propertyMap={background:{"#$0":1},"background-color":{"#$0":1,transparent:1,fixed:1},"background-image":{"url('/$0')":1},"background-repeat":{repeat:1,"repeat-x":1,"repeat-y":1,"no-repeat":1,inherit:1},"background-position":{bottom:2,center:2,left:2,right:2,top:2,inherit:2},"background-attachment":{scroll:1,fixed:1},"background-size":{cover:1,contain:1},"background-clip":{"border-box":1,"padding-box":1,"content-box":1},"background-origin":{"border-box":1,"padding-box":1,"content-box":1},border:{"solid $0":1,"dashed $0":1,"dotted $0":1,"#$0":1},"border-color":{"#$0":1},"border-style":{solid:2,dashed:2,dotted:2,double:2,groove:2,hidden:2,inherit:2,inset:2,none:2,outset:2,ridged:2},"border-collapse":{collapse:1,separate:1},bottom:{px:1,em:1,"%":1},clear:{left:1,right:1,both:1,none:1},color:{"#$0":1,"rgb(#$00,0,0)":1},cursor:{default:1,pointer:1,move:1,text:1,wait:1,help:1,progress:1,"n-resize":1,"ne-resize":1,"e-resize":1,"se-resize":1,"s-resize":1,"sw-resize":1,"w-resize":1,"nw-resize":1},display:{none:1,block:1,inline:1,"inline-block":1,"table-cell":1},"empty-cells":{show:1,hide:1},float:{left:1,right:1,none:1},"font-family":{Arial:2,"Comic Sans MS":2,Consolas:2,"Courier New":2,Courier:2,Georgia:2,Monospace:2,"Sans-Serif":2,"Segoe UI":2,Tahoma:2,"Times New Roman":2,"Trebuchet MS":2,Verdana:1},"font-size":{px:1,em:1,"%":1},"font-weight":{bold:1,normal:1},"font-style":{italic:1,normal:1},"font-variant":{normal:1,"small-caps":1},height:{px:1,em:1,"%":1},left:{px:1,em:1,"%":1},"letter-spacing":{normal:1},"line-height":{normal:1},"list-style-type":{none:1,disc:1,circle:1,square:1,decimal:1,"decimal-leading-zero":1,"lower-roman":1,"upper-roman":1,"lower-greek":1,"lower-latin":1,"upper-latin":1,georgian:1,"lower-alpha":1,"upper-alpha":1},margin:{px:1,em:1,"%":1},"margin-right":{px:1,em:1,"%":1},"margin-left":{px:1,em:1,"%":1},"margin-top":{px:1,em:1,"%":1},"margin-bottom":{px:1,em:1,"%":1},"max-height":{px:1,em:1,"%":1},"max-width":{px:1,em:1,"%":1},"min-height":{px:1,em:1,"%":1},"min-width":{px:1,em:1,"%":1},overflow:{hidden:1,visible:1,auto:1,scroll:1},"overflow-x":{hidden:1,visible:1,auto:1,scroll:1},"overflow-y":{hidden:1,visible:1,auto:1,scroll:1},padding:{px:1,em:1,"%":1},"padding-top":{px:1,em:1,"%":1},"padding-right":{px:1,em:1,"%":1},"padding-bottom":{px:1,em:1,"%":1},"padding-left":{px:1,em:1,"%":1},"page-break-after":{auto:1,always:1,avoid:1,left:1,right:1},"page-break-before":{auto:1,always:1,avoid:1,left:1,right:1},position:{absolute:1,relative:1,fixed:1,static:1},right:{px:1,em:1,"%":1},"table-layout":{fixed:1,auto:1},"text-decoration":{none:1,underline:1,"line-through":1,blink:1},"text-align":{left:1,right:1,center:1,justify:1},"text-transform":{capitalize:1,uppercase:1,lowercase:1,none:1},top:{px:1,em:1,"%":1},"vertical-align":{top:1,bottom:1},visibility:{hidden:1,visible:1},"white-space":{nowrap:1,normal:1,pre:1,"pre-line":1,"pre-wrap":1},width:{px:1,em:1,"%":1},"word-spacing":{normal:1},filter:{"alpha(opacity=$0100)":1},"text-shadow":{"$02px 2px 2px #777":1},"text-overflow":{"ellipsis-word":1,clip:1,ellipsis:1},"-moz-border-radius":1,"-moz-border-radius-topright":1,"-moz-border-radius-bottomright":1,"-moz-border-radius-topleft":1,"-moz-border-radius-bottomleft":1,"-webkit-border-radius":1,"-webkit-border-top-right-radius":1,"-webkit-border-top-left-radius":1,"-webkit-border-bottom-right-radius":1,"-webkit-border-bottom-left-radius":1,"-moz-box-shadow":1,"-webkit-box-shadow":1,transform:{"rotate($00deg)":1,"skew($00deg)":1},"-moz-transform":{"rotate($00deg)":1,"skew($00deg)":1},"-webkit-transform":{"rotate($00deg)":1,"skew($00deg)":1}};var CssCompletions=function(){};(function(){this.completionsDefined=false;this.defineCompletions=function(){if(document){var style=document.createElement("c").style;for(var i in style){if("string"!==typeof style[i])continue;var name=i.replace(/[A-Z]/g,function(x){return"-"+x.toLowerCase()});propertyMap.hasOwnProperty(name)||(propertyMap[name]=1)}}this.completionsDefined=true};this.getCompletions=function(state,session,pos,prefix){this.completionsDefined||this.defineCompletions();var token=session.getTokenAt(pos.row,pos.column);if(!token)return[];if("ruleset"===state){var line=session.getLine(pos.row).substr(0,pos.column);if(/:[^;]+$/.test(line)){/([\w\-]+):[^:]*$/.test(line);return this.getPropertyValueCompletions(state,session,pos,prefix)}return this.getPropertyCompletions(state,session,pos,prefix)}return[]};this.getPropertyCompletions=function(state,session,pos,prefix){var properties=Object.keys(propertyMap);return properties.map(function(property){return{caption:property,snippet:property+": $0;",meta:"property",score:Number.MAX_VALUE}})};this.getPropertyValueCompletions=function(state,session,pos,prefix){var line=session.getLine(pos.row).substr(0,pos.column);var property=(/([\w\-]+):[^:]*$/.exec(line)||{})[1];if(!property)return[];var values=[];property in propertyMap&&"object"===typeof propertyMap[property]&&(values=Object.keys(propertyMap[property]));return values.map(function(value){return{caption:value,snippet:value,meta:"property value",score:Number.MAX_VALUE}})}}).call(CssCompletions.prototype);exports.CssCompletions=CssCompletions});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(acequire,exports,module){"use strict";var oop=acequire("../../lib/oop");var Range=acequire("../../range").Range;var BaseFoldMode=acequire("./fold_mode").FoldMode;var FoldMode=exports.FoldMode=function(commentRegex){if(commentRegex){this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+commentRegex.start));this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+commentRegex.end))}};oop.inherits(FoldMode,BaseFoldMode);(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/;this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/;this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/;this._getFoldWidgetBase=this.getFoldWidget;this.getFoldWidget=function(session,foldStyle,row){var line=session.getLine(row);if(this.singleLineBlockCommentRe.test(line)&&!this.startRegionRe.test(line)&&!this.tripleStarBlockCommentRe.test(line))return"";var fw=this._getFoldWidgetBase(session,foldStyle,row);if(!fw&&this.startRegionRe.test(line))return"start";return fw};this.getFoldWidgetRange=function(session,foldStyle,row,forceMultiline){var line=session.getLine(row);if(this.startRegionRe.test(line))return this.getCommentRegionBlock(session,line,row);var match=line.match(this.foldingStartMarker);if(match){var i=match.index;if(match[1])return this.openingBracketBlock(session,match[1],row,i);var range=session.getCommentFoldRange(row,i+match[0].length,1);range&&!range.isMultiLine()&&(forceMultiline?range=this.getSectionRange(session,row):"all"!=foldStyle&&(range=null));return range}if("markbegin"===foldStyle)return;match=line.match(this.foldingStopMarker);if(match){i=match.index+match[0].length;if(match[1])return this.closingBracketBlock(session,match[1],row,i);return session.getCommentFoldRange(row,i,-1)}};this.getSectionRange=function(session,row){var line=session.getLine(row);var startIndent=line.search(/\S/);var startRow=row;var startColumn=line.length;row+=1;var endRow=row;var maxRow=session.getLength();while(++row<maxRow){line=session.getLine(row);var indent=line.search(/\S/);if(-1===indent)continue;if(startIndent>indent)break;var subRange=this.getFoldWidgetRange(session,"all",row);if(subRange){if(subRange.start.row<=startRow)break;if(subRange.isMultiLine())row=subRange.end.row;else if(startIndent==indent)break}endRow=row}return new Range(startRow,startColumn,endRow,session.getLine(endRow).length)};this.getCommentRegionBlock=function(session,line,row){var startColumn=line.search(/\s*$/);var maxRow=session.getLength();var startRow=row;var re=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;var depth=1;while(++row<maxRow){line=session.getLine(row);var m=re.exec(line);if(!m)continue;m[1]?depth--:depth++;if(!depth)break}var endRow=row;if(endRow>startRow)return new Range(startRow,startColumn,endRow,line.length)}}).call(FoldMode.prototype)});ace.define("ace/mode/less",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/less_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/css","ace/mode/css_completions","ace/mode/folding/cstyle"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var TextMode=acequire("./text").Mode;var LessHighlightRules=acequire("./less_highlight_rules").LessHighlightRules;var MatchingBraceOutdent=acequire("./matching_brace_outdent").MatchingBraceOutdent;var CssBehaviour=acequire("./behaviour/css").CssBehaviour;var CssCompletions=acequire("./css_completions").CssCompletions;var CStyleFoldMode=acequire("./folding/cstyle").FoldMode;var Mode=function(){this.HighlightRules=LessHighlightRules;this.$outdent=new MatchingBraceOutdent;this.$behaviour=new CssBehaviour;this.$completer=new CssCompletions;this.foldingRules=new CStyleFoldMode};oop.inherits(Mode,TextMode);(function(){this.lineCommentStart="//";this.blockComment={start:"/*",end:"*/"};this.getNextLineIndent=function(state,line,tab){var indent=this.$getIndent(line);var tokens=this.getTokenizer().getLineTokens(line,state).tokens;if(tokens.length&&"comment"==tokens[tokens.length-1].type)return indent;var match=line.match(/^.*\{\s*$/);match&&(indent+=tab);return indent};this.checkOutdent=function(state,line,input){return this.$outdent.checkOutdent(line,input)};this.autoOutdent=function(state,doc,row){this.$outdent.autoOutdent(doc,row)};this.getCompletions=function(state,session,pos,prefix){return this.$completer.getCompletions("ruleset",session,pos,prefix)};this.$id="ace/mode/less"}).call(Mode.prototype);exports.Mode=Mode})},function(module,exports,__webpack_require__){ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var TextHighlightRules=acequire("./text_highlight_rules").TextHighlightRules;var DocCommentHighlightRules=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},DocCommentHighlightRules.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:true}]}};oop.inherits(DocCommentHighlightRules,TextHighlightRules);DocCommentHighlightRules.getTagRule=function(start){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}};DocCommentHighlightRules.getStartRule=function(start){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:start}};DocCommentHighlightRules.getEndRule=function(start){return{token:"comment.doc",regex:"\\*\\/",next:start}};exports.DocCommentHighlightRules=DocCommentHighlightRules});ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var DocCommentHighlightRules=acequire("./doc_comment_highlight_rules").DocCommentHighlightRules;var TextHighlightRules=acequire("./text_highlight_rules").TextHighlightRules;var identifierRe="[a-zA-Z\\$_¡-][a-zA-Z\\d\\$_¡-]*";var JavaScriptHighlightRules=function(options){var keywordMapper=this.createKeywordMapper({"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},"identifier");var kwBeforeRe="case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void";var escapedRe="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)";this.$rules={no_regex:[DocCommentHighlightRules.getStartRule("doc-start"),comments("no_regex"),{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:["storage.type","punctuation.operator","support.function","punctuation.operator","entity.name.function","text","keyword.operator"],regex:"("+identifierRe+")(\\.)(prototype)(\\.)("+identifierRe+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+identifierRe+")(\\.)("+identifierRe+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+identifierRe+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+identifierRe+")(\\.)("+identifierRe+")(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function)(\\s+)("+identifierRe+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+identifierRe+")(\\s*)(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:"from(?=\\s*('|\"))"},{token:"keyword",regex:"(?:"+kwBeforeRe+")\\b",next:"start"},{token:["support.constant"],regex:/that\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|time|trace|timeEnd|assert)\b/},{token:keywordMapper,regex:identifierRe},{token:"punctuation.operator",regex:/[.](?![.])/,next:"property"},{token:"storage.type",regex:/=>/},{token:"keyword.operator",regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:"start"},{token:"punctuation.operator",regex:/[?:,;.]/,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"comment",regex:/^#!.*$/}],property:[{token:"text",regex:"\\s+"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+identifierRe+")(\\.)("+identifierRe+")(\\s*)(=)(\\s*)(function)(?:(\\s+)(\\w+))?(\\s*)(\\()",next:"function_arguments"},{token:"punctuation.operator",regex:/[.](?![.])/},{token:"support.function",regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:"support.function.dom",regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:"support.constant",regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:"identifier",regex:identifierRe},{regex:"",token:"empty",next:"no_regex"}],start:[DocCommentHighlightRules.getStartRule("doc-start"),comments("start"),{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],function_arguments:[{token:"variable.parameter",regex:identifierRe},{token:"punctuation.operator",regex:"[, ]+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],qqstring:[{token:"constant.language.escape",regex:escapedRe},{token:"string",regex:"\\\\$",consumeLineEnd:true},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:escapedRe},{token:"string",regex:"\\\\$",consumeLineEnd:true},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]};if(!options||!options.noES6){this.$rules.no_regex.unshift({regex:"[{}]",onMatch:function(val,state,stack){this.next="{"==val?this.nextState:"";if("{"==val&&stack.length)stack.unshift("start",state);else if("}"==val&&stack.length){stack.shift();this.next=stack.shift();if(-1!=this.next.indexOf("string")||-1!=this.next.indexOf("jsx"))return"paren.quasi.end"}return"{"==val?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.quasi.start",regex:/`/,push:[{token:"constant.language.escape",regex:escapedRe},{token:"paren.quasi.start",regex:/\${/,push:"start"},{token:"string.quasi.end",regex:/`/,next:"pop"},{defaultToken:"string.quasi"}]});options&&false==options.jsx||JSX.call(this)}this.embedRules(DocCommentHighlightRules,"doc-",[DocCommentHighlightRules.getEndRule("no_regex")]);this.normalizeRules()};oop.inherits(JavaScriptHighlightRules,TextHighlightRules);function JSX(){var tagRegex=identifierRe.replace("\\d","\\d\\-");var jsxTag={onMatch:function(val,state,stack){var offset="/"==val.charAt(1)?2:1;if(1==offset){state!=this.nextState?stack.unshift(this.next,this.nextState,0):stack.unshift(this.next);stack[2]++}else if(2==offset&&state==this.nextState){stack[1]--;if(!stack[1]||stack[1]<0){stack.shift();stack.shift()}}return[{type:"meta.tag.punctuation."+(1==offset?"":"end-")+"tag-open.xml",value:val.slice(0,offset)},{type:"meta.tag.tag-name.xml",value:val.substr(offset)}]},regex:"</?"+tagRegex,next:"jsxAttributes",nextState:"jsx"};this.$rules.start.unshift(jsxTag);var jsxJsRule={regex:"{",token:"paren.quasi.start",push:"start"};this.$rules.jsx=[jsxJsRule,jsxTag,{include:"reference"},{defaultToken:"string"}];this.$rules.jsxAttributes=[{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",onMatch:function(value,currentState,stack){currentState==stack[0]&&stack.shift();if(2==value.length){stack[0]==this.nextState&&stack[1]--;(!stack[1]||stack[1]<0)&&stack.splice(0,2)}this.next=stack[0]||"start";return[{type:this.token,value:value}]},nextState:"jsx"},jsxJsRule,comments("jsxAttributes"),{token:"entity.other.attribute-name.xml",regex:tagRegex},{token:"keyword.operator.attribute-equals.xml",regex:"="},{token:"text.tag-whitespace.xml",regex:"\\s+"},{token:"string.attribute-value.xml",regex:"'",stateName:"jsx_attr_q",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',stateName:"jsx_attr_qq",push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},jsxTag];this.$rules.reference=[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}]}function comments(next){return[{token:"comment",regex:/\/\*/,next:[DocCommentHighlightRules.getTagRule(),{token:"comment",regex:"\\*\\/",next:next||"pop"},{defaultToken:"comment",caseInsensitive:true}]},{token:"comment",regex:"\\/\\/",next:[DocCommentHighlightRules.getTagRule(),{token:"comment",regex:"$|^",next:next||"pop"},{defaultToken:"comment",caseInsensitive:true}]}]}exports.JavaScriptHighlightRules=JavaScriptHighlightRules});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(acequire,exports,module){"use strict";var Range=acequire("../range").Range;var MatchingBraceOutdent=function(){};(function(){this.checkOutdent=function(line,input){if(!/^\s+$/.test(line))return false;return/^\s*\}/.test(input)};this.autoOutdent=function(doc,row){var line=doc.getLine(row);var match=line.match(/^(\s*\})/);if(!match)return 0;var column=match[1].length;var openBracePos=doc.findMatchingBracket({row:row,column:column});if(!openBracePos||openBracePos.row==row)return 0;var indent=this.$getIndent(doc.getLine(openBracePos.row));doc.replace(new Range(row,0,row,column-1),indent)};this.$getIndent=function(line){return line.match(/^\s*/)[0]}}).call(MatchingBraceOutdent.prototype);exports.MatchingBraceOutdent=MatchingBraceOutdent});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(acequire,exports,module){"use strict";var oop=acequire("../../lib/oop");var Range=acequire("../../range").Range;var BaseFoldMode=acequire("./fold_mode").FoldMode;var FoldMode=exports.FoldMode=function(commentRegex){if(commentRegex){this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+commentRegex.start));this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+commentRegex.end))}};oop.inherits(FoldMode,BaseFoldMode);(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/;this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/;this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/;this._getFoldWidgetBase=this.getFoldWidget;this.getFoldWidget=function(session,foldStyle,row){var line=session.getLine(row);if(this.singleLineBlockCommentRe.test(line)&&!this.startRegionRe.test(line)&&!this.tripleStarBlockCommentRe.test(line))return"";var fw=this._getFoldWidgetBase(session,foldStyle,row);if(!fw&&this.startRegionRe.test(line))return"start";return fw};this.getFoldWidgetRange=function(session,foldStyle,row,forceMultiline){var line=session.getLine(row);if(this.startRegionRe.test(line))return this.getCommentRegionBlock(session,line,row);var match=line.match(this.foldingStartMarker);if(match){var i=match.index;if(match[1])return this.openingBracketBlock(session,match[1],row,i);var range=session.getCommentFoldRange(row,i+match[0].length,1);range&&!range.isMultiLine()&&(forceMultiline?range=this.getSectionRange(session,row):"all"!=foldStyle&&(range=null));return range}if("markbegin"===foldStyle)return;match=line.match(this.foldingStopMarker);if(match){i=match.index+match[0].length;if(match[1])return this.closingBracketBlock(session,match[1],row,i);return session.getCommentFoldRange(row,i,-1)}};this.getSectionRange=function(session,row){var line=session.getLine(row);var startIndent=line.search(/\S/);var startRow=row;var startColumn=line.length;row+=1;var endRow=row;var maxRow=session.getLength();while(++row<maxRow){line=session.getLine(row);var indent=line.search(/\S/);if(-1===indent)continue;if(startIndent>indent)break;var subRange=this.getFoldWidgetRange(session,"all",row);if(subRange){if(subRange.start.row<=startRow)break;if(subRange.isMultiLine())row=subRange.end.row;else if(startIndent==indent)break}endRow=row}return new Range(startRow,startColumn,endRow,session.getLine(endRow).length)};this.getCommentRegionBlock=function(session,line,row){var startColumn=line.search(/\s*$/);var maxRow=session.getLength();var startRow=row;var re=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;var depth=1;while(++row<maxRow){line=session.getLine(row);var m=re.exec(line);if(!m)continue;m[1]?depth--:depth++;if(!depth)break}var endRow=row;if(endRow>startRow)return new Range(startRow,startColumn,endRow,line.length)}}).call(FoldMode.prototype)});ace.define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var TextMode=acequire("./text").Mode;var JavaScriptHighlightRules=acequire("./javascript_highlight_rules").JavaScriptHighlightRules;var MatchingBraceOutdent=acequire("./matching_brace_outdent").MatchingBraceOutdent;var WorkerClient=acequire("../worker/worker_client").WorkerClient;var CstyleBehaviour=acequire("./behaviour/cstyle").CstyleBehaviour;var CStyleFoldMode=acequire("./folding/cstyle").FoldMode;var Mode=function(){this.HighlightRules=JavaScriptHighlightRules;this.$outdent=new MatchingBraceOutdent;this.$behaviour=new CstyleBehaviour;this.foldingRules=new CStyleFoldMode};oop.inherits(Mode,TextMode);(function(){this.lineCommentStart="//";this.blockComment={start:"/*",end:"*/"};this.$quotes={'"':'"',"'":"'","`":"`"};this.getNextLineIndent=function(state,line,tab){var indent=this.$getIndent(line);var tokenizedLine=this.getTokenizer().getLineTokens(line,state);var tokens=tokenizedLine.tokens;var endState=tokenizedLine.state;if(tokens.length&&"comment"==tokens[tokens.length-1].type)return indent;if("start"==state||"no_regex"==state){var match=line.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/);match&&(indent+=tab)}else if("doc-start"==state){if("start"==endState||"no_regex"==endState)return"";match=line.match(/^\s*(\/?)\*/);if(match){match[1]&&(indent+=" ");indent+="* "}}return indent};this.checkOutdent=function(state,line,input){return this.$outdent.checkOutdent(line,input)};this.autoOutdent=function(state,doc,row){this.$outdent.autoOutdent(doc,row)};this.createWorker=function(session){var worker=new WorkerClient(["ace"],__webpack_require__(2092),"JavaScriptWorker");worker.attachToDocument(session.getDocument());worker.on("annotate",function(results){session.setAnnotations(results.data)});worker.on("terminate",function(){session.clearAnnotations()});return worker};this.$id="ace/mode/javascript"}).call(Mode.prototype);exports.Mode=Mode});ace.define("ace/mode/xml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var TextHighlightRules=acequire("./text_highlight_rules").TextHighlightRules;var XmlHighlightRules=function(normalize){var tagRegex="[_:a-zA-ZÀ-][-_:.a-zA-Z0-9À-]*";this.$rules={start:[{token:"string.cdata.xml",regex:"<\\!\\[CDATA\\[",next:"cdata"},{token:["punctuation.instruction.xml","keyword.instruction.xml"],regex:"(<\\?)("+tagRegex+")",next:"processing_instruction"},{token:"comment.start.xml",regex:"<\\!--",next:"comment"},{token:["xml-pe.doctype.xml","xml-pe.doctype.xml"],regex:"(<\\!)(DOCTYPE)(?=[\\s])",next:"doctype",caseInsensitive:true},{include:"tag"},{token:"text.end-tag-open.xml",regex:"</"},{token:"text.tag-open.xml",regex:"<"},{include:"reference"},{defaultToken:"text.xml"}],processing_instruction:[{token:"entity.other.attribute-name.decl-attribute-name.xml",regex:tagRegex},{token:"keyword.operator.decl-attribute-equals.xml",regex:"="},{include:"whitespace"},{include:"string"},{token:"punctuation.xml-decl.xml",regex:"\\?>",next:"start"}],doctype:[{include:"whitespace"},{include:"string"},{token:"xml-pe.doctype.xml",regex:">",next:"start"},{token:"xml-pe.xml",regex:"[-_a-zA-Z0-9:]+"},{token:"punctuation.int-subset",regex:"\\[",push:"int_subset"}],int_subset:[{token:"text.xml",regex:"\\s+"},{token:"punctuation.int-subset.xml",regex:"]",next:"pop"},{token:["punctuation.markup-decl.xml","keyword.markup-decl.xml"],regex:"(<\\!)("+tagRegex+")",push:[{token:"text",regex:"\\s+"},{token:"punctuation.markup-decl.xml",regex:">",next:"pop"},{include:"string"}]}],cdata:[{token:"string.cdata.xml",regex:"\\]\\]>",next:"start"},{token:"text.xml",regex:"\\s+"},{token:"text.xml",regex:"(?:[^\\]]|\\](?!\\]>))+"}],comment:[{token:"comment.end.xml",regex:"--\x3e",next:"start"},{defaultToken:"comment.xml"}],reference:[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}],attr_reference:[{token:"constant.language.escape.reference.attribute-value.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}],tag:[{token:["meta.tag.punctuation.tag-open.xml","meta.tag.punctuation.end-tag-open.xml","meta.tag.tag-name.xml"],regex:"(?:(<)|(</))((?:"+tagRegex+":)?"+tagRegex+")",next:[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:"start"}]}],tag_whitespace:[{token:"text.tag-whitespace.xml",regex:"\\s+"}],whitespace:[{token:"text.whitespace.xml",regex:"\\s+"}],string:[{token:"string.xml",regex:"'",push:[{token:"string.xml",regex:"'",next:"pop"},{defaultToken:"string.xml"}]},{token:"string.xml",regex:'"',push:[{token:"string.xml",regex:'"',next:"pop"},{defaultToken:"string.xml"}]}],attributes:[{token:"entity.other.attribute-name.xml",regex:tagRegex},{token:"keyword.operator.attribute-equals.xml",regex:"="},{include:"tag_whitespace"},{include:"attribute_value"}],attribute_value:[{token:"string.attribute-value.xml",regex:"'",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"attr_reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"attr_reference"},{defaultToken:"string.attribute-value.xml"}]}]};this.constructor===XmlHighlightRules&&this.normalizeRules()};(function(){this.embedTagRules=function(HighlightRules,prefix,tag){this.$rules.tag.unshift({token:["meta.tag.punctuation.tag-open.xml","meta.tag."+tag+".tag-name.xml"],regex:"(<)("+tag+"(?=\\s|>|$))",next:[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:prefix+"start"}]});this.$rules[tag+"-end"]=[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:"start",onMatch:function(value,currentState,stack){stack.splice(0);return this.token}}];this.embedRules(HighlightRules,prefix,[{token:["meta.tag.punctuation.end-tag-open.xml","meta.tag."+tag+".tag-name.xml"],regex:"(</)("+tag+"(?=\\s|>|$))",next:tag+"-end"},{token:"string.cdata.xml",regex:"<\\!\\[CDATA\\["},{token:"string.cdata.xml",regex:"\\]\\]>"}])}}).call(TextHighlightRules.prototype);oop.inherits(XmlHighlightRules,TextHighlightRules);exports.XmlHighlightRules=XmlHighlightRules});ace.define("ace/mode/behaviour/xml",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(acequire,exports,module){"use strict";var oop=acequire("../../lib/oop");var Behaviour=acequire("../behaviour").Behaviour;var TokenIterator=acequire("../../token_iterator").TokenIterator;acequire("../../lib/lang");function is(token,type){return token.type.lastIndexOf(type+".xml")>-1}var XmlBehaviour=function(){this.add("string_dquotes","insertion",function(state,action,editor,session,text){if('"'==text||"'"==text){var quote=text;var selected=session.doc.getTextRange(editor.getSelectionRange());if(""!==selected&&"'"!==selected&&'"'!=selected&&editor.getWrapBehavioursEnabled())return{text:quote+selected+quote,selection:false};var cursor=editor.getCursorPosition();var line=session.doc.getLine(cursor.row);var rightChar=line.substring(cursor.column,cursor.column+1);var iterator=new TokenIterator(session,cursor.row,cursor.column);var token=iterator.getCurrentToken();if(rightChar==quote&&(is(token,"attribute-value")||is(token,"string")))return{text:"",selection:[1,1]};token||(token=iterator.stepBackward());if(!token)return;while(is(token,"tag-whitespace")||is(token,"whitespace"))token=iterator.stepBackward();var rightSpace=!rightChar||rightChar.match(/\s/);if(is(token,"attribute-equals")&&(rightSpace||">"==rightChar)||is(token,"decl-attribute-equals")&&(rightSpace||"?"==rightChar))return{text:quote+quote,selection:[1,1]}}});this.add("string_dquotes","deletion",function(state,action,editor,session,range){var selected=session.doc.getTextRange(range);if(!range.isMultiLine()&&('"'==selected||"'"==selected)){var line=session.doc.getLine(range.start.row);var rightChar=line.substring(range.start.column+1,range.start.column+2);if(rightChar==selected){range.end.column++;return range}}});this.add("autoclosing","insertion",function(state,action,editor,session,text){if(">"==text){var position=editor.getSelectionRange().start;var iterator=new TokenIterator(session,position.row,position.column);var token=iterator.getCurrentToken()||iterator.stepBackward();if(!token||!(is(token,"tag-name")||is(token,"tag-whitespace")||is(token,"attribute-name")||is(token,"attribute-equals")||is(token,"attribute-value")))return;if(is(token,"reference.attribute-value"))return;if(is(token,"attribute-value")){var firstChar=token.value.charAt(0);if('"'==firstChar||"'"==firstChar){var lastChar=token.value.charAt(token.value.length-1);var tokenEnd=iterator.getCurrentTokenColumn()+token.value.length;if(tokenEnd>position.column||tokenEnd==position.column&&firstChar!=lastChar)return}}while(!is(token,"tag-name")){token=iterator.stepBackward();if("<"==token.value){token=iterator.stepForward();break}}var tokenRow=iterator.getCurrentTokenRow();var tokenColumn=iterator.getCurrentTokenColumn();if(is(iterator.stepBackward(),"end-tag-open"))return;var element=token.value;tokenRow==position.row&&(element=element.substring(0,position.column-tokenColumn));if(this.voidElements.hasOwnProperty(element.toLowerCase()))return;return{text:"></"+element+">",selection:[1,1]}}});this.add("autoindent","insertion",function(state,action,editor,session,text){if("\n"==text){var cursor=editor.getCursorPosition();var line=session.getLine(cursor.row);var iterator=new TokenIterator(session,cursor.row,cursor.column);var token=iterator.getCurrentToken();if(token&&-1!==token.type.indexOf("tag-close")){if("/>"==token.value)return;while(token&&-1===token.type.indexOf("tag-name"))token=iterator.stepBackward();if(!token)return;var tag=token.value;var row=iterator.getCurrentTokenRow();token=iterator.stepBackward();if(!token||-1!==token.type.indexOf("end-tag"))return;if(this.voidElements&&!this.voidElements[tag]){var nextToken=session.getTokenAt(cursor.row,cursor.column+1);line=session.getLine(row);var nextIndent=this.$getIndent(line);var indent=nextIndent+session.getTabString();return nextToken&&"</"===nextToken.value?{text:"\n"+indent+"\n"+nextIndent,selection:[1,indent.length,1,indent.length]}:{text:"\n"+indent}}}}})};oop.inherits(XmlBehaviour,Behaviour);exports.XmlBehaviour=XmlBehaviour});ace.define("ace/mode/folding/xml",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/range","ace/mode/folding/fold_mode","ace/token_iterator"],function(acequire,exports,module){"use strict";var oop=acequire("../../lib/oop");acequire("../../lib/lang");var Range=acequire("../../range").Range;var BaseFoldMode=acequire("./fold_mode").FoldMode;var TokenIterator=acequire("../../token_iterator").TokenIterator;var FoldMode=exports.FoldMode=function(voidElements,optionalEndTags){BaseFoldMode.call(this);this.voidElements=voidElements||{};this.optionalEndTags=oop.mixin({},this.voidElements);optionalEndTags&&oop.mixin(this.optionalEndTags,optionalEndTags)};oop.inherits(FoldMode,BaseFoldMode);var Tag=function(){this.tagName="";this.closing=false;this.selfClosing=false;this.start={row:0,column:0};this.end={row:0,column:0}};function is(token,type){return token.type.lastIndexOf(type+".xml")>-1}(function(){this.getFoldWidget=function(session,foldStyle,row){var tag=this._getFirstTagInLine(session,row);if(!tag)return this.getCommentFoldWidget(session,row);if(tag.closing||!tag.tagName&&tag.selfClosing)return"markbeginend"==foldStyle?"end":"";if(!tag.tagName||tag.selfClosing||this.voidElements.hasOwnProperty(tag.tagName.toLowerCase()))return"";if(this._findEndTagInLine(session,row,tag.tagName,tag.end.column))return"";return"start"};this.getCommentFoldWidget=function(session,row){if(/comment/.test(session.getState(row))&&/<!-/.test(session.getLine(row)))return"start";return""};this._getFirstTagInLine=function(session,row){var tokens=session.getTokens(row);var tag=new Tag;for(var i=0;i<tokens.length;i++){var token=tokens[i];if(is(token,"tag-open")){tag.end.column=tag.start.column+token.value.length;tag.closing=is(token,"end-tag-open");token=tokens[++i];if(!token)return null;tag.tagName=token.value;tag.end.column+=token.value.length;for(i++;i<tokens.length;i++){token=tokens[i];tag.end.column+=token.value.length;if(is(token,"tag-close")){tag.selfClosing="/>"==token.value;break}}return tag}if(is(token,"tag-close")){tag.selfClosing="/>"==token.value;return tag}tag.start.column+=token.value.length}return null};this._findEndTagInLine=function(session,row,tagName,startColumn){var tokens=session.getTokens(row);var column=0;for(var i=0;i<tokens.length;i++){var token=tokens[i];column+=token.value.length;if(column<startColumn)continue;if(is(token,"end-tag-open")){token=tokens[i+1];if(token&&token.value==tagName)return true}}return false};this._readTagForward=function(iterator){var token=iterator.getCurrentToken();if(!token)return null;var tag=new Tag;do{if(is(token,"tag-open")){tag.closing=is(token,"end-tag-open");tag.start.row=iterator.getCurrentTokenRow();tag.start.column=iterator.getCurrentTokenColumn()}else if(is(token,"tag-name"))tag.tagName=token.value;else if(is(token,"tag-close")){tag.selfClosing="/>"==token.value;tag.end.row=iterator.getCurrentTokenRow();tag.end.column=iterator.getCurrentTokenColumn()+token.value.length;iterator.stepForward();return tag}}while(token=iterator.stepForward());return null};this._readTagBackward=function(iterator){var token=iterator.getCurrentToken();if(!token)return null;var tag=new Tag;do{if(is(token,"tag-open")){tag.closing=is(token,"end-tag-open");tag.start.row=iterator.getCurrentTokenRow();tag.start.column=iterator.getCurrentTokenColumn();iterator.stepBackward();return tag}if(is(token,"tag-name"))tag.tagName=token.value;else if(is(token,"tag-close")){tag.selfClosing="/>"==token.value;tag.end.row=iterator.getCurrentTokenRow();tag.end.column=iterator.getCurrentTokenColumn()+token.value.length}}while(token=iterator.stepBackward());return null};this._pop=function(stack,tag){while(stack.length){var top=stack[stack.length-1];if(tag&&top.tagName!=tag.tagName){if(this.optionalEndTags.hasOwnProperty(top.tagName)){stack.pop();continue}return null}return stack.pop()}};this.getFoldWidgetRange=function(session,foldStyle,row){var firstTag=this._getFirstTagInLine(session,row);if(!firstTag)return this.getCommentFoldWidget(session,row)&&session.getCommentFoldRange(row,session.getLine(row).length);var isBackward=firstTag.closing||firstTag.selfClosing;var stack=[];var tag;if(isBackward){iterator=new TokenIterator(session,row,firstTag.end.column);var end={row:row,column:firstTag.start.column};while(tag=this._readTagBackward(iterator)){if(tag.selfClosing){if(stack.length)continue;tag.start.column+=tag.tagName.length+2;tag.end.column-=2;return Range.fromPoints(tag.start,tag.end)}if(tag.closing)stack.push(tag);else{this._pop(stack,tag);if(0==stack.length){tag.start.column+=tag.tagName.length+2;tag.start.row==tag.end.row&&tag.start.column<tag.end.column&&(tag.start.column=tag.end.column);return Range.fromPoints(tag.start,end)}}}}else{var iterator=new TokenIterator(session,row,firstTag.start.column);var start={row:row,column:firstTag.start.column+firstTag.tagName.length+2};firstTag.start.row==firstTag.end.row&&(start.column=firstTag.end.column);while(tag=this._readTagForward(iterator)){if(tag.selfClosing){if(stack.length)continue;tag.start.column+=tag.tagName.length+2;tag.end.column-=2;return Range.fromPoints(tag.start,tag.end)}if(tag.closing){this._pop(stack,tag);if(0==stack.length)return Range.fromPoints(start,tag.start)}else stack.push(tag)}}}}).call(FoldMode.prototype)});ace.define("ace/mode/xml",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/xml_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/xml","ace/worker/worker_client"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var lang=acequire("../lib/lang");var TextMode=acequire("./text").Mode;var XmlHighlightRules=acequire("./xml_highlight_rules").XmlHighlightRules;var XmlBehaviour=acequire("./behaviour/xml").XmlBehaviour;var XmlFoldMode=acequire("./folding/xml").FoldMode;var WorkerClient=acequire("../worker/worker_client").WorkerClient;var Mode=function(){this.HighlightRules=XmlHighlightRules;this.$behaviour=new XmlBehaviour;this.foldingRules=new XmlFoldMode};oop.inherits(Mode,TextMode);(function(){this.voidElements=lang.arrayToMap([]);this.blockComment={start:"\x3c!--",end:"--\x3e"};this.createWorker=function(session){var worker=new WorkerClient(["ace"],__webpack_require__(2093),"Worker");worker.attachToDocument(session.getDocument());worker.on("error",function(e){session.setAnnotations(e.data)});worker.on("terminate",function(){session.clearAnnotations()});return worker};this.$id="ace/mode/xml"}).call(Mode.prototype);exports.Mode=Mode});ace.define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");acequire("../lib/lang");var TextHighlightRules=acequire("./text_highlight_rules").TextHighlightRules;var supportType=exports.supportType="align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-repeat|background-size|border|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-shadow|box-sizing|caption-side|clear|clip|color|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|font|font-family|font-size|font-size-adjust|font-stretch|font-style|font-variant|font-weight|hanging-punctuation|height|justify-content|left|letter-spacing|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-bottom|margin-left|margin-right|margin-top|max-height|max-width|min-height|min-width|nav-down|nav-index|nav-left|nav-right|nav-up|opacity|order|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-x|overflow-y|padding|padding-bottom|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|perspective|perspective-origin|position|quotes|resize|right|tab-size|table-layout|text-align|text-align-last|text-decoration|text-decoration-color|text-decoration-line|text-decoration-style|text-indent|text-justify|text-overflow|text-shadow|text-transform|top|transform|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|unicode-bidi|vertical-align|visibility|white-space|width|word-break|word-spacing|word-wrap|z-index";var supportFunction=exports.supportFunction="rgb|rgba|url|attr|counter|counters";var supportConstant=exports.supportConstant="absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row-resize|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|z-index|zero";var supportConstantColor=exports.supportConstantColor="aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen";var supportConstantFonts=exports.supportConstantFonts="arial|century|comic|courier|cursive|fantasy|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace";var numRe=exports.numRe="\\-?(?:(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+))";var pseudoElements=exports.pseudoElements="(\\:+)\\b(after|before|first-letter|first-line|moz-selection|selection)\\b";var pseudoClasses=exports.pseudoClasses="(:)\\b(active|checked|disabled|empty|enabled|first-child|first-of-type|focus|hover|indeterminate|invalid|last-child|last-of-type|link|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|only-child|only-of-type|acequired|root|target|valid|visited)\\b";var CssHighlightRules=function(){var keywordMapper=this.createKeywordMapper({"support.function":supportFunction,"support.constant":supportConstant,"support.type":supportType,"support.constant.color":supportConstantColor,"support.constant.fonts":supportConstantFonts},"text",true);this.$rules={start:[{include:["strings","url","comments"]},{token:"paren.lparen",regex:"\\{",next:"ruleset"},{token:"paren.rparen",regex:"\\}"},{token:"string",regex:"@",next:"media"},{token:"keyword",regex:"#[a-z0-9-_]+"},{token:"keyword",regex:"%"},{token:"variable",regex:"\\.[a-z0-9-_]+"},{token:"string",regex:":[a-z0-9-_]+"},{token:"constant.numeric",regex:numRe},{token:"constant",regex:"[a-z0-9-_]+"},{caseInsensitive:true}],media:[{include:["strings","url","comments"]},{token:"paren.lparen",regex:"\\{",next:"start"},{token:"paren.rparen",regex:"\\}",next:"start"},{token:"string",regex:";",next:"start"},{token:"keyword",regex:"(?:media|supports|document|charset|import|namespace|media|supports|document|page|font|keyframes|viewport|counter-style|font-feature-values|swash|ornaments|annotation|stylistic|styleset|character-variant)"}],comments:[{token:"comment",regex:"\\/\\*",push:[{token:"comment",regex:"\\*\\/",next:"pop"},{defaultToken:"comment"}]}],ruleset:[{regex:"-(webkit|ms|moz|o)-",token:"text"},{token:"paren.rparen",regex:"\\}",next:"start"},{include:["strings","url","comments"]},{token:["constant.numeric","keyword"],regex:"("+numRe+")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vm|vw|%)"},{token:"constant.numeric",regex:numRe},{token:"constant.numeric",regex:"#[a-f0-9]{6}"},{token:"constant.numeric",regex:"#[a-f0-9]{3}"},{token:["punctuation","entity.other.attribute-name.pseudo-element.css"],regex:pseudoElements},{token:["punctuation","entity.other.attribute-name.pseudo-class.css"],regex:pseudoClasses},{include:"url"},{token:keywordMapper,regex:"\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"},{caseInsensitive:true}],url:[{token:"support.function",regex:"(?:url(:?-prefix)?|domain|regexp)\\(",push:[{token:"support.function",regex:"\\)",next:"pop"},{defaultToken:"string"}]}],strings:[{token:"string.start",regex:"'",push:[{token:"string.end",regex:"'|$",next:"pop"},{include:"escapes"},{token:"constant.language.escape",regex:/\\$/,consumeLineEnd:true},{defaultToken:"string"}]},{token:"string.start",regex:'"',push:[{token:"string.end",regex:'"|$',next:"pop"},{include:"escapes"},{token:"constant.language.escape",regex:/\\$/,consumeLineEnd:true},{defaultToken:"string"}]}],escapes:[{token:"constant.language.escape",regex:/\\([a-fA-F\d]{1,6}|[^a-fA-F\d])/}]};this.normalizeRules()};oop.inherits(CssHighlightRules,TextHighlightRules);exports.CssHighlightRules=CssHighlightRules});ace.define("ace/mode/css_completions",["require","exports","module"],function(acequire,exports,module){"use strict";var propertyMap={background:{"#$0":1},"background-color":{"#$0":1,transparent:1,fixed:1},"background-image":{"url('/$0')":1},"background-repeat":{repeat:1,"repeat-x":1,"repeat-y":1,"no-repeat":1,inherit:1},"background-position":{bottom:2,center:2,left:2,right:2,top:2,inherit:2},"background-attachment":{scroll:1,fixed:1},"background-size":{cover:1,contain:1},"background-clip":{"border-box":1,"padding-box":1,"content-box":1},"background-origin":{"border-box":1,"padding-box":1,"content-box":1},border:{"solid $0":1,"dashed $0":1,"dotted $0":1,"#$0":1},"border-color":{"#$0":1},"border-style":{solid:2,dashed:2,dotted:2,double:2,groove:2,hidden:2,inherit:2,inset:2,none:2,outset:2,ridged:2},"border-collapse":{collapse:1,separate:1},bottom:{px:1,em:1,"%":1},clear:{left:1,right:1,both:1,none:1},color:{"#$0":1,"rgb(#$00,0,0)":1},cursor:{default:1,pointer:1,move:1,text:1,wait:1,help:1,progress:1,"n-resize":1,"ne-resize":1,"e-resize":1,"se-resize":1,"s-resize":1,"sw-resize":1,"w-resize":1,"nw-resize":1},display:{none:1,block:1,inline:1,"inline-block":1,"table-cell":1},"empty-cells":{show:1,hide:1},float:{left:1,right:1,none:1},"font-family":{Arial:2,"Comic Sans MS":2,Consolas:2,"Courier New":2,Courier:2,Georgia:2,Monospace:2,"Sans-Serif":2,"Segoe UI":2,Tahoma:2,"Times New Roman":2,"Trebuchet MS":2,Verdana:1},"font-size":{px:1,em:1,"%":1},"font-weight":{bold:1,normal:1},"font-style":{italic:1,normal:1},"font-variant":{normal:1,"small-caps":1},height:{px:1,em:1,"%":1},left:{px:1,em:1,"%":1},"letter-spacing":{normal:1},"line-height":{normal:1},"list-style-type":{none:1,disc:1,circle:1,square:1,decimal:1,"decimal-leading-zero":1,"lower-roman":1,"upper-roman":1,"lower-greek":1,"lower-latin":1,"upper-latin":1,georgian:1,"lower-alpha":1,"upper-alpha":1},margin:{px:1,em:1,"%":1},"margin-right":{px:1,em:1,"%":1},"margin-left":{px:1,em:1,"%":1},"margin-top":{px:1,em:1,"%":1},"margin-bottom":{px:1,em:1,"%":1},"max-height":{px:1,em:1,"%":1},"max-width":{px:1,em:1,"%":1},"min-height":{px:1,em:1,"%":1},"min-width":{px:1,em:1,"%":1},overflow:{hidden:1,visible:1,auto:1,scroll:1},"overflow-x":{hidden:1,visible:1,auto:1,scroll:1},"overflow-y":{hidden:1,visible:1,auto:1,scroll:1},padding:{px:1,em:1,"%":1},"padding-top":{px:1,em:1,"%":1},"padding-right":{px:1,em:1,"%":1},"padding-bottom":{px:1,em:1,"%":1},"padding-left":{px:1,em:1,"%":1},"page-break-after":{auto:1,always:1,avoid:1,left:1,right:1},"page-break-before":{auto:1,always:1,avoid:1,left:1,right:1},position:{absolute:1,relative:1,fixed:1,static:1},right:{px:1,em:1,"%":1},"table-layout":{fixed:1,auto:1},"text-decoration":{none:1,underline:1,"line-through":1,blink:1},"text-align":{left:1,right:1,center:1,justify:1},"text-transform":{capitalize:1,uppercase:1,lowercase:1,none:1},top:{px:1,em:1,"%":1},"vertical-align":{top:1,bottom:1},visibility:{hidden:1,visible:1},"white-space":{nowrap:1,normal:1,pre:1,"pre-line":1,"pre-wrap":1},width:{px:1,em:1,"%":1},"word-spacing":{normal:1},filter:{"alpha(opacity=$0100)":1},"text-shadow":{"$02px 2px 2px #777":1},"text-overflow":{"ellipsis-word":1,clip:1,ellipsis:1},"-moz-border-radius":1,"-moz-border-radius-topright":1,"-moz-border-radius-bottomright":1,"-moz-border-radius-topleft":1,"-moz-border-radius-bottomleft":1,"-webkit-border-radius":1,"-webkit-border-top-right-radius":1,"-webkit-border-top-left-radius":1,"-webkit-border-bottom-right-radius":1,"-webkit-border-bottom-left-radius":1,"-moz-box-shadow":1,"-webkit-box-shadow":1,transform:{"rotate($00deg)":1,"skew($00deg)":1},"-moz-transform":{"rotate($00deg)":1,"skew($00deg)":1},"-webkit-transform":{"rotate($00deg)":1,"skew($00deg)":1}};var CssCompletions=function(){};(function(){this.completionsDefined=false;this.defineCompletions=function(){if(document){var style=document.createElement("c").style;for(var i in style){if("string"!==typeof style[i])continue;var name=i.replace(/[A-Z]/g,function(x){return"-"+x.toLowerCase()});propertyMap.hasOwnProperty(name)||(propertyMap[name]=1)}}this.completionsDefined=true};this.getCompletions=function(state,session,pos,prefix){this.completionsDefined||this.defineCompletions();var token=session.getTokenAt(pos.row,pos.column);if(!token)return[];if("ruleset"===state){var line=session.getLine(pos.row).substr(0,pos.column);if(/:[^;]+$/.test(line)){/([\w\-]+):[^:]*$/.test(line);return this.getPropertyValueCompletions(state,session,pos,prefix)}return this.getPropertyCompletions(state,session,pos,prefix)}return[]};this.getPropertyCompletions=function(state,session,pos,prefix){var properties=Object.keys(propertyMap);return properties.map(function(property){return{caption:property,snippet:property+": $0;",meta:"property",score:Number.MAX_VALUE}})};this.getPropertyValueCompletions=function(state,session,pos,prefix){var line=session.getLine(pos.row).substr(0,pos.column);var property=(/([\w\-]+):[^:]*$/.exec(line)||{})[1];if(!property)return[];var values=[];property in propertyMap&&"object"===typeof propertyMap[property]&&(values=Object.keys(propertyMap[property]));return values.map(function(value){return{caption:value,snippet:value,meta:"property value",score:Number.MAX_VALUE}})}}).call(CssCompletions.prototype);exports.CssCompletions=CssCompletions});ace.define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"],function(acequire,exports,module){"use strict";var oop=acequire("../../lib/oop");acequire("../behaviour").Behaviour;var CstyleBehaviour=acequire("./cstyle").CstyleBehaviour;var TokenIterator=acequire("../../token_iterator").TokenIterator;var CssBehaviour=function(){this.inherit(CstyleBehaviour);this.add("colon","insertion",function(state,action,editor,session,text){if(":"===text){var cursor=editor.getCursorPosition();var iterator=new TokenIterator(session,cursor.row,cursor.column);var token=iterator.getCurrentToken();token&&token.value.match(/\s+/)&&(token=iterator.stepBackward());if(token&&"support.type"===token.type){var line=session.doc.getLine(cursor.row);var rightChar=line.substring(cursor.column,cursor.column+1);if(":"===rightChar)return{text:"",selection:[1,1]};if(!line.substring(cursor.column).match(/^\s*;/))return{text:":;",selection:[1,1]}}}});this.add("colon","deletion",function(state,action,editor,session,range){var selected=session.doc.getTextRange(range);if(!range.isMultiLine()&&":"===selected){var cursor=editor.getCursorPosition();var iterator=new TokenIterator(session,cursor.row,cursor.column);var token=iterator.getCurrentToken();token&&token.value.match(/\s+/)&&(token=iterator.stepBackward());if(token&&"support.type"===token.type){var line=session.doc.getLine(range.start.row);var rightChar=line.substring(range.end.column,range.end.column+1);if(";"===rightChar){range.end.column++;return range}}}});this.add("semicolon","insertion",function(state,action,editor,session,text){if(";"===text){var cursor=editor.getCursorPosition();var line=session.doc.getLine(cursor.row);var rightChar=line.substring(cursor.column,cursor.column+1);if(";"===rightChar)return{text:"",selection:[1,1]}}})};oop.inherits(CssBehaviour,CstyleBehaviour);exports.CssBehaviour=CssBehaviour});ace.define("ace/mode/css",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/css_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/css_completions","ace/mode/behaviour/css","ace/mode/folding/cstyle"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var TextMode=acequire("./text").Mode;var CssHighlightRules=acequire("./css_highlight_rules").CssHighlightRules;var MatchingBraceOutdent=acequire("./matching_brace_outdent").MatchingBraceOutdent;var WorkerClient=acequire("../worker/worker_client").WorkerClient;var CssCompletions=acequire("./css_completions").CssCompletions;var CssBehaviour=acequire("./behaviour/css").CssBehaviour;var CStyleFoldMode=acequire("./folding/cstyle").FoldMode;var Mode=function(){this.HighlightRules=CssHighlightRules;this.$outdent=new MatchingBraceOutdent;this.$behaviour=new CssBehaviour;this.$completer=new CssCompletions;this.foldingRules=new CStyleFoldMode};oop.inherits(Mode,TextMode);(function(){this.foldingRules="cStyle";this.blockComment={start:"/*",end:"*/"};this.getNextLineIndent=function(state,line,tab){var indent=this.$getIndent(line);var tokens=this.getTokenizer().getLineTokens(line,state).tokens;if(tokens.length&&"comment"==tokens[tokens.length-1].type)return indent;var match=line.match(/^.*\{\s*$/);match&&(indent+=tab);return indent};this.checkOutdent=function(state,line,input){return this.$outdent.checkOutdent(line,input)};this.autoOutdent=function(state,doc,row){this.$outdent.autoOutdent(doc,row)};this.getCompletions=function(state,session,pos,prefix){return this.$completer.getCompletions(state,session,pos,prefix)};this.createWorker=function(session){var worker=new WorkerClient(["ace"],__webpack_require__(2094),"Worker");worker.attachToDocument(session.getDocument());worker.on("annotate",function(e){session.setAnnotations(e.data)});worker.on("terminate",function(){session.clearAnnotations()});return worker};this.$id="ace/mode/css"}).call(Mode.prototype);exports.Mode=Mode});ace.define("ace/mode/html_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/css_highlight_rules","ace/mode/javascript_highlight_rules","ace/mode/xml_highlight_rules"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var lang=acequire("../lib/lang");var CssHighlightRules=acequire("./css_highlight_rules").CssHighlightRules;var JavaScriptHighlightRules=acequire("./javascript_highlight_rules").JavaScriptHighlightRules;var XmlHighlightRules=acequire("./xml_highlight_rules").XmlHighlightRules;var tagMap=lang.createMap({a:"anchor",button:"form",form:"form",img:"image",input:"form",label:"form",option:"form",script:"script",select:"form",textarea:"form",style:"style",table:"table",tbody:"table",td:"table",tfoot:"table",th:"table",tr:"table"});var HtmlHighlightRules=function(){XmlHighlightRules.call(this);this.addRules({attributes:[{include:"tag_whitespace"},{token:"entity.other.attribute-name.xml",regex:"[-_a-zA-Z0-9:.]+"},{token:"keyword.operator.attribute-equals.xml",regex:"=",push:[{include:"tag_whitespace"},{token:"string.unquoted.attribute-value.html",regex:"[^<>='\"`\\s]+",next:"pop"},{token:"empty",regex:"",next:"pop"}]},{include:"attribute_value"}],tag:[{token:function(start,tag){var group=tagMap[tag];return["meta.tag.punctuation."+("<"==start?"":"end-")+"tag-open.xml","meta.tag"+(group?"."+group:"")+".tag-name.xml"]},regex:"(</?)([-_a-zA-Z0-9:.]+)",next:"tag_stuff"}],tag_stuff:[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:"start"}]});this.embedTagRules(CssHighlightRules,"css-","style");this.embedTagRules(new JavaScriptHighlightRules({jsx:false}).getRules(),"js-","script");this.constructor===HtmlHighlightRules&&this.normalizeRules()};oop.inherits(HtmlHighlightRules,XmlHighlightRules);exports.HtmlHighlightRules=HtmlHighlightRules});ace.define("ace/mode/folding/mixed",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode"],function(acequire,exports,module){"use strict";var oop=acequire("../../lib/oop");var BaseFoldMode=acequire("./fold_mode").FoldMode;var FoldMode=exports.FoldMode=function(defaultMode,subModes){this.defaultMode=defaultMode;this.subModes=subModes};oop.inherits(FoldMode,BaseFoldMode);(function(){this.$getMode=function(state){"string"!=typeof state&&(state=state[0]);for(var key in this.subModes)if(0===state.indexOf(key))return this.subModes[key];return null};this.$tryMode=function(state,session,foldStyle,row){var mode=this.$getMode(state);return mode?mode.getFoldWidget(session,foldStyle,row):""};this.getFoldWidget=function(session,foldStyle,row){return this.$tryMode(session.getState(row-1),session,foldStyle,row)||this.$tryMode(session.getState(row),session,foldStyle,row)||this.defaultMode.getFoldWidget(session,foldStyle,row)};this.getFoldWidgetRange=function(session,foldStyle,row){var mode=this.$getMode(session.getState(row-1));mode&&mode.getFoldWidget(session,foldStyle,row)||(mode=this.$getMode(session.getState(row)));mode&&mode.getFoldWidget(session,foldStyle,row)||(mode=this.defaultMode);return mode.getFoldWidgetRange(session,foldStyle,row)}}).call(FoldMode.prototype)});ace.define("ace/mode/folding/html",["require","exports","module","ace/lib/oop","ace/mode/folding/mixed","ace/mode/folding/xml","ace/mode/folding/cstyle"],function(acequire,exports,module){"use strict";var oop=acequire("../../lib/oop");var MixedFoldMode=acequire("./mixed").FoldMode;var XmlFoldMode=acequire("./xml").FoldMode;var CStyleFoldMode=acequire("./cstyle").FoldMode;var FoldMode=exports.FoldMode=function(voidElements,optionalTags){MixedFoldMode.call(this,new XmlFoldMode(voidElements,optionalTags),{"js-":new CStyleFoldMode,"css-":new CStyleFoldMode})};oop.inherits(FoldMode,MixedFoldMode)});ace.define("ace/mode/html_completions",["require","exports","module","ace/token_iterator"],function(acequire,exports,module){"use strict";var TokenIterator=acequire("../token_iterator").TokenIterator;var commonAttributes=["accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","inert","itemid","itemprop","itemref","itemscope","itemtype","lang","spellcheck","style","tabindex","title","translate"];var eventAttributes=["onabort","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncuechange","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onpause","onplay","onplaying","onprogress","onratechange","onreset","onscroll","onseeked","onseeking","onselect","onshow","onstalled","onsubmit","onsuspend","ontimeupdate","onvolumechange","onwaiting"];var globalAttributes=commonAttributes.concat(eventAttributes);var attributeMap={html:{manifest:1},head:{},title:{},base:{href:1,target:1},link:{href:1,hreflang:1,rel:{stylesheet:1,icon:1},media:{all:1,screen:1,print:1},type:{"text/css":1,"image/png":1,"image/jpeg":1,"image/gif":1},sizes:1},meta:{"http-equiv":{"content-type":1},name:{description:1,keywords:1},content:{"text/html; charset=UTF-8":1},charset:1},style:{type:1,media:{all:1,screen:1,print:1},scoped:1},script:{charset:1,type:{"text/javascript":1},src:1,defer:1,async:1},noscript:{href:1},body:{onafterprint:1,onbeforeprint:1,onbeforeunload:1,onhashchange:1,onmessage:1,onoffline:1,onpopstate:1,onredo:1,onresize:1,onstorage:1,onundo:1,onunload:1},section:{},nav:{},article:{pubdate:1},aside:{},h1:{},h2:{},h3:{},h4:{},h5:{},h6:{},header:{},footer:{},address:{},main:{},p:{},hr:{},pre:{},blockquote:{cite:1},ol:{start:1,reversed:1},ul:{},li:{value:1},dl:{},dt:{},dd:{},figure:{},figcaption:{},div:{},a:{href:1,target:{_blank:1,top:1},ping:1,rel:{nofollow:1,alternate:1,author:1,bookmark:1,help:1,license:1,next:1,noreferrer:1,prefetch:1,prev:1,search:1,tag:1},media:1,hreflang:1,type:1},em:{},strong:{},small:{},s:{},cite:{},q:{cite:1},dfn:{},abbr:{},data:{},time:{datetime:1},code:{},var:{},samp:{},kbd:{},sub:{},sup:{},i:{},b:{},u:{},mark:{},ruby:{},rt:{},rp:{},bdi:{},bdo:{},span:{},br:{},wbr:{},ins:{cite:1,datetime:1},del:{cite:1,datetime:1},img:{alt:1,src:1,height:1,width:1,usemap:1,ismap:1},iframe:{name:1,src:1,height:1,width:1,sandbox:{"allow-same-origin":1,"allow-top-navigation":1,"allow-forms":1,"allow-scripts":1},seamless:{seamless:1}},embed:{src:1,height:1,width:1,type:1},object:{param:1,data:1,type:1,height:1,width:1,usemap:1,name:1,form:1,classid:1},param:{name:1,value:1},video:{src:1,autobuffer:1,autoplay:{autoplay:1},loop:{loop:1},controls:{controls:1},width:1,height:1,poster:1,muted:{muted:1},preload:{auto:1,metadata:1,none:1}},audio:{src:1,autobuffer:1,autoplay:{autoplay:1},loop:{loop:1},controls:{controls:1},muted:{muted:1},preload:{auto:1,metadata:1,none:1}},source:{src:1,type:1,media:1},track:{kind:1,src:1,srclang:1,label:1,default:1},canvas:{width:1,height:1},map:{name:1},area:{shape:1,coords:1,href:1,hreflang:1,alt:1,target:1,media:1,rel:1,ping:1,type:1},svg:{},math:{},table:{summary:1},caption:{},colgroup:{span:1},col:{span:1},tbody:{},thead:{},tfoot:{},tr:{},td:{headers:1,rowspan:1,colspan:1},th:{headers:1,rowspan:1,colspan:1,scope:1},form:{"accept-charset":1,action:1,autocomplete:1,enctype:{"multipart/form-data":1,"application/x-www-form-urlencoded":1},method:{get:1,post:1},name:1,novalidate:1,target:{_blank:1,top:1}},fieldset:{disabled:1,form:1,name:1},legend:{},label:{form:1,for:1},input:{type:{text:1,password:1,hidden:1,checkbox:1,submit:1,radio:1,file:1,button:1,reset:1,image:31,color:1,date:1,datetime:1,"datetime-local":1,email:1,month:1,number:1,range:1,search:1,tel:1,time:1,url:1,week:1},accept:1,alt:1,autocomplete:{on:1,off:1},autofocus:{autofocus:1},checked:{checked:1},disabled:{disabled:1},form:1,formaction:1,formenctype:{"application/x-www-form-urlencoded":1,"multipart/form-data":1,"text/plain":1},formmethod:{get:1,post:1},formnovalidate:{formnovalidate:1},formtarget:{_blank:1,_self:1,_parent:1,_top:1},height:1,list:1,max:1,maxlength:1,min:1,multiple:{multiple:1},name:1,pattern:1,placeholder:1,readonly:{readonly:1},acequired:{acequired:1},size:1,src:1,step:1,width:1,files:1,value:1},button:{autofocus:1,disabled:{disabled:1},form:1,formaction:1,formenctype:1,formmethod:1,formnovalidate:1,formtarget:1,name:1,value:1,type:{button:1,submit:1}},select:{autofocus:1,disabled:1,form:1,multiple:{multiple:1},name:1,size:1,readonly:{readonly:1}},datalist:{},optgroup:{disabled:1,label:1},option:{disabled:1,selected:1,label:1,value:1},textarea:{autofocus:{autofocus:1},disabled:{disabled:1},form:1,maxlength:1,name:1,placeholder:1,readonly:{readonly:1},acequired:{acequired:1},rows:1,cols:1,wrap:{on:1,off:1,hard:1,soft:1}},keygen:{autofocus:1,challenge:{challenge:1},disabled:{disabled:1},form:1,keytype:{rsa:1,dsa:1,ec:1},name:1},output:{for:1,form:1,name:1},progress:{value:1,max:1},meter:{value:1,min:1,max:1,low:1,high:1,optimum:1},details:{open:1},summary:{},command:{type:1,label:1,icon:1,disabled:1,checked:1,radiogroup:1,command:1},menu:{type:1,label:1},dialog:{open:1}};var elements=Object.keys(attributeMap);function is(token,type){return token.type.lastIndexOf(type+".xml")>-1}function findTagName(session,pos){var iterator=new TokenIterator(session,pos.row,pos.column);var token=iterator.getCurrentToken();while(token&&!is(token,"tag-name"))token=iterator.stepBackward();if(token)return token.value}function findAttributeName(session,pos){var iterator=new TokenIterator(session,pos.row,pos.column);var token=iterator.getCurrentToken();while(token&&!is(token,"attribute-name"))token=iterator.stepBackward();if(token)return token.value}var HtmlCompletions=function(){};(function(){this.getCompletions=function(state,session,pos,prefix){var token=session.getTokenAt(pos.row,pos.column);if(!token)return[];if(is(token,"tag-name")||is(token,"tag-open")||is(token,"end-tag-open"))return this.getTagCompletions(state,session,pos,prefix);if(is(token,"tag-whitespace")||is(token,"attribute-name"))return this.getAttributeCompletions(state,session,pos,prefix);if(is(token,"attribute-value"))return this.getAttributeValueCompletions(state,session,pos,prefix);var line=session.getLine(pos.row).substr(0,pos.column);if(/&[a-z]*$/i.test(line))return this.getHTMLEntityCompletions(state,session,pos,prefix);return[]};this.getTagCompletions=function(state,session,pos,prefix){return elements.map(function(element){return{value:element,meta:"tag",score:Number.MAX_VALUE}})};this.getAttributeCompletions=function(state,session,pos,prefix){var tagName=findTagName(session,pos);if(!tagName)return[];var attributes=globalAttributes;tagName in attributeMap&&(attributes=attributes.concat(Object.keys(attributeMap[tagName])));return attributes.map(function(attribute){return{caption:attribute,snippet:attribute+'="$0"',meta:"attribute",score:Number.MAX_VALUE}})};this.getAttributeValueCompletions=function(state,session,pos,prefix){var tagName=findTagName(session,pos);var attributeName=findAttributeName(session,pos);if(!tagName)return[];var values=[];tagName in attributeMap&&attributeName in attributeMap[tagName]&&"object"===typeof attributeMap[tagName][attributeName]&&(values=Object.keys(attributeMap[tagName][attributeName]));return values.map(function(value){return{caption:value,snippet:value,meta:"attribute value",score:Number.MAX_VALUE}})};this.getHTMLEntityCompletions=function(state,session,pos,prefix){var values=["Aacute;","aacute;","Acirc;","acirc;","acute;","AElig;","aelig;","Agrave;","agrave;","alefsym;","Alpha;","alpha;","amp;","and;","ang;","Aring;","aring;","asymp;","Atilde;","atilde;","Auml;","auml;","bdquo;","Beta;","beta;","brvbar;","bull;","cap;","Ccedil;","ccedil;","cedil;","cent;","Chi;","chi;","circ;","clubs;","cong;","copy;","crarr;","cup;","curren;","Dagger;","dagger;","dArr;","darr;","deg;","Delta;","delta;","diams;","divide;","Eacute;","eacute;","Ecirc;","ecirc;","Egrave;","egrave;","empty;","emsp;","ensp;","Epsilon;","epsilon;","equiv;","Eta;","eta;","ETH;","eth;","Euml;","euml;","euro;","exist;","fnof;","forall;","frac12;","frac14;","frac34;","frasl;","Gamma;","gamma;","ge;","gt;","hArr;","harr;","hearts;","hellip;","Iacute;","iacute;","Icirc;","icirc;","iexcl;","Igrave;","igrave;","image;","infin;","int;","Iota;","iota;","iquest;","isin;","Iuml;","iuml;","Kappa;","kappa;","Lambda;","lambda;","lang;","laquo;","lArr;","larr;","lceil;","ldquo;","le;","lfloor;","lowast;","loz;","lrm;","lsaquo;","lsquo;","lt;","macr;","mdash;","micro;","middot;","minus;","Mu;","mu;","nabla;","nbsp;","ndash;","ne;","ni;","not;","notin;","nsub;","Ntilde;","ntilde;","Nu;","nu;","Oacute;","oacute;","Ocirc;","ocirc;","OElig;","oelig;","Ograve;","ograve;","oline;","Omega;","omega;","Omicron;","omicron;","oplus;","or;","ordf;","ordm;","Oslash;","oslash;","Otilde;","otilde;","otimes;","Ouml;","ouml;","para;","part;","permil;","perp;","Phi;","phi;","Pi;","pi;","piv;","plusmn;","pound;","Prime;","prime;","prod;","prop;","Psi;","psi;","quot;","radic;","rang;","raquo;","rArr;","rarr;","rceil;","rdquo;","real;","reg;","rfloor;","Rho;","rho;","rlm;","rsaquo;","rsquo;","sbquo;","Scaron;","scaron;","sdot;","sect;","shy;","Sigma;","sigma;","sigmaf;","sim;","spades;","sub;","sube;","sum;","sup;","sup1;","sup2;","sup3;","supe;","szlig;","Tau;","tau;","there4;","Theta;","theta;","thetasym;","thinsp;","THORN;","thorn;","tilde;","times;","trade;","Uacute;","uacute;","uArr;","uarr;","Ucirc;","ucirc;","Ugrave;","ugrave;","uml;","upsih;","Upsilon;","upsilon;","Uuml;","uuml;","weierp;","Xi;","xi;","Yacute;","yacute;","yen;","Yuml;","yuml;","Zeta;","zeta;","zwj;","zwnj;"];return values.map(function(value){return{caption:value,snippet:value,meta:"html entity",score:Number.MAX_VALUE}})}}).call(HtmlCompletions.prototype);exports.HtmlCompletions=HtmlCompletions});ace.define("ace/mode/html",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/javascript","ace/mode/css","ace/mode/html_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/html","ace/mode/html_completions","ace/worker/worker_client"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var lang=acequire("../lib/lang");var TextMode=acequire("./text").Mode;var JavaScriptMode=acequire("./javascript").Mode;var CssMode=acequire("./css").Mode;var HtmlHighlightRules=acequire("./html_highlight_rules").HtmlHighlightRules;var XmlBehaviour=acequire("./behaviour/xml").XmlBehaviour;var HtmlFoldMode=acequire("./folding/html").FoldMode;var HtmlCompletions=acequire("./html_completions").HtmlCompletions;var WorkerClient=acequire("../worker/worker_client").WorkerClient;var voidElements=["area","base","br","col","embed","hr","img","input","keygen","link","meta","menuitem","param","source","track","wbr"];var optionalEndTags=["li","dt","dd","p","rt","rp","optgroup","option","colgroup","td","th"];var Mode=function(options){this.fragmentContext=options&&options.fragmentContext;this.HighlightRules=HtmlHighlightRules;this.$behaviour=new XmlBehaviour;this.$completer=new HtmlCompletions;this.createModeDelegates({"js-":JavaScriptMode,"css-":CssMode});this.foldingRules=new HtmlFoldMode(this.voidElements,lang.arrayToMap(optionalEndTags))};oop.inherits(Mode,TextMode);(function(){this.blockComment={start:"\x3c!--",end:"--\x3e"};this.voidElements=lang.arrayToMap(voidElements);this.getNextLineIndent=function(state,line,tab){return this.$getIndent(line)};this.checkOutdent=function(state,line,input){return false};this.getCompletions=function(state,session,pos,prefix){return this.$completer.getCompletions(state,session,pos,prefix)};this.createWorker=function(session){if(this.constructor!=Mode)return;var worker=new WorkerClient(["ace"],__webpack_require__(2095),"Worker");worker.attachToDocument(session.getDocument());this.fragmentContext&&worker.call("setOptions",[{context:this.fragmentContext}]);worker.on("error",function(e){session.setAnnotations(e.data)});worker.on("terminate",function(){session.clearAnnotations()});return worker};this.$id="ace/mode/html"}).call(Mode.prototype);exports.Mode=Mode});ace.define("ace/mode/markdown_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules","ace/mode/javascript_highlight_rules","ace/mode/xml_highlight_rules","ace/mode/html_highlight_rules","ace/mode/css_highlight_rules"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var lang=acequire("../lib/lang");var TextHighlightRules=acequire("./text_highlight_rules").TextHighlightRules;var JavaScriptHighlightRules=acequire("./javascript_highlight_rules").JavaScriptHighlightRules;var XmlHighlightRules=acequire("./xml_highlight_rules").XmlHighlightRules;var HtmlHighlightRules=acequire("./html_highlight_rules").HtmlHighlightRules;var CssHighlightRules=acequire("./css_highlight_rules").CssHighlightRules;var escaped=function(ch){return"(?:[^"+lang.escapeRegExp(ch)+"\\\\]|\\\\.)*"};function github_embed(tag,prefix){return{token:"support.function",regex:"^\\s*```"+tag+"\\s*$",push:prefix+"start"}}var MarkdownHighlightRules=function(){HtmlHighlightRules.call(this);this.$rules["start"].unshift({token:"empty_line",regex:"^$",next:"allowBlock"},{token:"markup.heading.1",regex:"^=+(?=\\s*$)"},{token:"markup.heading.2",regex:"^\\-+(?=\\s*$)"},{token:function(value){return"markup.heading."+value.length},regex:/^#{1,6}(?=\s*[^ #]|\s+#.)/,next:"header"},github_embed("(?:javascript|js)","jscode-"),github_embed("xml","xmlcode-"),github_embed("html","htmlcode-"),github_embed("css","csscode-"),{token:"support.function",regex:"^\\s*```\\s*\\S*(?:{.*?\\})?\\s*$",next:"githubblock"},{token:"string.blockquote",regex:"^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+",next:"blockquote"},{token:"constant",regex:"^ {0,2}(?:(?: ?\\* ?){3,}|(?: ?\\- ?){3,}|(?: ?\\_ ?){3,})\\s*$",next:"allowBlock"},{token:"markup.list",regex:"^\\s{0,3}(?:[*+-]|\\d+\\.)\\s+",next:"listblock-start"},{include:"basic"});this.addRules({basic:[{token:"constant.language.escape",regex:/\\[\\`*_{}\[\]()#+\-.!]/},{token:"support.function",regex:"(`+)(.*?[^`])(\\1)"},{token:["text","constant","text","url","string","text"],regex:'^([ ]{0,3}\\[)([^\\]]+)(\\]:\\s*)([^ ]+)(\\s*(?:["][^"]+["])?(\\s*))$'},{token:["text","string","text","constant","text"],regex:"(\\[)("+escaped("]")+")(\\]\\s*\\[)("+escaped("]")+")(\\])"},{token:["text","string","text","markup.underline","string","text"],regex:"(\\[)("+escaped("]")+')(\\]\\()((?:[^\\)\\s\\\\]|\\\\.|\\s(?=[^"]))*)(\\s*"'+escaped('"')+'"\\s*)?(\\))'},{token:"string.strong",regex:"([*]{2}|[_]{2}(?=\\S))(.*?\\S[*_]*)(\\1)"},{token:"string.emphasis",regex:"([*]|[_](?=\\S))(.*?\\S[*_]*)(\\1)"},{token:["text","url","text"],regex:"(<)((?:https?|ftp|dict):[^'\">\\s]+|(?:mailto:)?[-.\\w]+\\@[-a-z0-9]+(?:\\.[-a-z0-9]+)*\\.[a-z]+)(>)"}],allowBlock:[{token:"support.function",regex:"^ {4}.+",next:"allowBlock"},{token:"empty_line",regex:"^$",next:"allowBlock"},{token:"empty",regex:"",next:"start"}],header:[{regex:"$",next:"start"},{include:"basic"},{defaultToken:"heading"}],"listblock-start":[{token:"support.variable",regex:/(?:\[[ x]\])?/,next:"listblock"}],listblock:[{token:"empty_line",regex:"^$",next:"start"},{token:"markup.list",regex:"^\\s{0,3}(?:[*+-]|\\d+\\.)\\s+",next:"listblock-start"},{include:"basic",noEscape:true},{token:"support.function",regex:"^\\s*```\\s*[a-zA-Z]*(?:{.*?\\})?\\s*$",next:"githubblock"},{defaultToken:"list"}],blockquote:[{token:"empty_line",regex:"^\\s*$",next:"start"},{token:"string.blockquote",regex:"^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+",next:"blockquote"},{include:"basic",noEscape:true},{defaultToken:"string.blockquote"}],githubblock:[{token:"support.function",regex:"^\\s*```",next:"start"},{defaultToken:"support.function"}]});this.embedRules(JavaScriptHighlightRules,"jscode-",[{token:"support.function",regex:"^\\s*```",next:"pop"}]);this.embedRules(HtmlHighlightRules,"htmlcode-",[{token:"support.function",regex:"^\\s*```",next:"pop"}]);this.embedRules(CssHighlightRules,"csscode-",[{token:"support.function",regex:"^\\s*```",next:"pop"}]);this.embedRules(XmlHighlightRules,"xmlcode-",[{token:"support.function",regex:"^\\s*```",next:"pop"}]);this.normalizeRules()};oop.inherits(MarkdownHighlightRules,TextHighlightRules);exports.MarkdownHighlightRules=MarkdownHighlightRules});ace.define("ace/mode/folding/markdown",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(acequire,exports,module){"use strict";var oop=acequire("../../lib/oop");var BaseFoldMode=acequire("./fold_mode").FoldMode;var Range=acequire("../../range").Range;var FoldMode=exports.FoldMode=function(){};oop.inherits(FoldMode,BaseFoldMode);(function(){this.foldingStartMarker=/^(?:[=-]+\s*$|#{1,6} |`{3})/;this.getFoldWidget=function(session,foldStyle,row){var line=session.getLine(row);if(!this.foldingStartMarker.test(line))return"";if("`"==line[0]){if("start"==session.bgTokenizer.getState(row))return"end";return"start"}return"start"};this.getFoldWidgetRange=function(session,foldStyle,row){var line=session.getLine(row);var startColumn=line.length;var maxRow=session.getLength();var startRow=row;var endRow=row;if(!line.match(this.foldingStartMarker))return;if("`"==line[0]){if("start"!==session.bgTokenizer.getState(row)){while(++row<maxRow){line=session.getLine(row);if("`"==line[0]&"```"==line.substring(0,3))break}return new Range(startRow,startColumn,row,0)}while(row-- >0){line=session.getLine(row);if("`"==line[0]&"```"==line.substring(0,3))break}return new Range(row,line.length,startRow,0)}var token;function isHeading(row){token=session.getTokens(row)[0];return token&&0===token.type.lastIndexOf(heading,0)}var heading="markup.heading";function getLevel(){var ch=token.value[0];if("="==ch)return 6;if("-"==ch)return 5;return 7-token.value.search(/[^#]/)}if(isHeading(row)){var startHeadingLevel=getLevel();while(++row<maxRow){if(!isHeading(row))continue;var level=getLevel();if(level>=startHeadingLevel)break}endRow=row-(token&&-1!=["=","-"].indexOf(token.value[0])?2:1);if(endRow>startRow)while(endRow>startRow&&/^\s*$/.test(session.getLine(endRow)))endRow--;if(endRow>startRow){var endColumn=session.getLine(endRow).length;return new Range(startRow,startColumn,endRow,endColumn)}}}}).call(FoldMode.prototype)});ace.define("ace/mode/markdown",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript","ace/mode/xml","ace/mode/html","ace/mode/markdown_highlight_rules","ace/mode/folding/markdown"],function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var TextMode=acequire("./text").Mode;var JavaScriptMode=acequire("./javascript").Mode;var XmlMode=acequire("./xml").Mode;var HtmlMode=acequire("./html").Mode;var MarkdownHighlightRules=acequire("./markdown_highlight_rules").MarkdownHighlightRules;var MarkdownFoldMode=acequire("./folding/markdown").FoldMode;var Mode=function(){this.HighlightRules=MarkdownHighlightRules;this.createModeDelegates({"js-":JavaScriptMode,"xml-":XmlMode,"html-":HtmlMode});this.foldingRules=new MarkdownFoldMode;this.$behaviour=this.$defaultBehaviour};oop.inherits(Mode,TextMode);(function(){this.type="text";this.blockComment={start:"\x3c!--",end:"--\x3e"};this.getNextLineIndent=function(state,line,tab){if("listblock"==state){var match=/^(\s*)(?:([-+*])|(\d+)\.)(\s+)/.exec(line);if(!match)return"";var marker=match[2];marker||(marker=parseInt(match[3],10)+1+".");return match[1]+marker+match[4]}return this.$getIndent(line)};this.$id="ace/mode/markdown"}).call(Mode.prototype);exports.Mode=Mode})},function(module,exports){module.exports.id="ace/mode/javascript_worker";module.exports.src='"no use strict";!function(window){function resolveModuleId(id,paths){for(var testPath=id,tail="";testPath;){var alias=paths[testPath];if("string"==typeof alias)return alias+tail;if(alias)return alias.location.replace(/\\/*$/,"/")+(tail||alias.main||alias.name);if(alias===!1)return"";var i=testPath.lastIndexOf("/");if(-1===i)break;tail=testPath.substr(i)+tail,testPath=testPath.slice(0,i)}return id}if(!(void 0!==window.window&&window.document||window.acequire&&window.define)){window.console||(window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console),window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:"error",data:{message:message,data:err.data,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf("!")){var chunks=moduleName.split("!");return window.normalizeModule(parentId,chunks[0])+"!"+window.normalizeModule(parentId,chunks[1])}if("."==moduleName.charAt(0)){var base=parentId.split("/").slice(0,-1).join("/");for(moduleName=(base?base+"/":"")+moduleName;-1!==moduleName.indexOf(".")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,"").replace(/\\/\\.\\//,"/").replace(/[^\\/]+\\/\\.\\.\\//,"")}}return moduleName},window.acequire=function acequire(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error("worker.js acequire() accepts only (parentId, id) as arguments");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;if(!window.acequire.tlns)return console.log("unable to load "+id);var path=resolveModuleId(id,window.acequire.tlns);return".js"!=path.slice(-3)&&(path+=".js"),window.acequire.id=id,window.acequire.modules[id]={},importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,"string"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),"function"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=["require","exports","module"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case"require":return req;case"exports":return module.exports;case"module":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},acequire.tlns={},window.initBaseUrls=function(topLevelNamespaces){for(var i in topLevelNamespaces)acequire.tlns[i]=topLevelNamespaces[i]},window.initSender=function(){var EventEmitter=window.acequire("ace/lib/event_emitter").EventEmitter,oop=window.acequire("ace/lib/oop"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:"call",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:"event",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.event&&sender)sender._signal(msg.event,msg.data);else if(msg.command)if(main[msg.command])main[msg.command].apply(main,msg.args);else{if(!window[msg.command])throw Error("Unknown command:"+msg.command);window[msg.command].apply(window,msg.args)}else if(msg.init){window.initBaseUrls(msg.tlns),acequire("ace/lib/es5-shim"),sender=window.sender=window.initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}}}}(this),ace.define("ace/lib/oop",["require","exports","module"],function(acequire,exports){"use strict";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define("ace/range",["require","exports","module"],function(acequire,exports){"use strict";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/apply_delta",["require","exports","module"],function(acequire,exports){"use strict";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||"";switch(delta.action){case"insert":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case"remove":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.column<point2.column;return point1.row<point2.row||point1.row==point2.row&&bColIsAfter}function $getTransformedPoint(delta,point,moveIfEqual){var deltaIsInsert="insert"==delta.action,deltaRowShift=(deltaIsInsert?1:-1)*(delta.end.row-delta.start.row),deltaColShift=(deltaIsInsert?1:-1)*(delta.end.column-delta.start.column),deltaStart=delta.start,deltaEnd=deltaIsInsert?deltaStart:delta.end;return $pointsInOrder(point,deltaStart,moveIfEqual)?{row:point.row,column:point.column}:$pointsInOrder(deltaEnd,point,!moveIfEqual)?{row:point.row+deltaRowShift,column:point.column+(point.row==deltaEnd.row?deltaColShift:0)}:{row:deltaStart.row,column:deltaStart.column}}oop.implement(this,EventEmitter),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(delta){if(!(delta.start.row==delta.end.row&&delta.start.row!=this.row||delta.start.row>this.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),applyDelta=acequire("./apply_delta").applyDelta,EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(textOrLines){this.$lines=[""],0===textOrLines.length?this.$lines=[""]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:"\\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\\r\\n";case"unix":return"\\n";default:return this.$autoNewLine||"\\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, [\'\', \'\']) instead."),this.insertMergedLines(position,["",""])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:"insert",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([""]),column=0):(lines=[""].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:"insert",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:"remove",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:"remove",lines:["",""]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert="insert"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal("change",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(""),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:"insert"==delta.action?"remove":"insert",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if("object"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}if("[object Object]"!==Object.prototype.toString.call(obj))return obj;copy={};for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/\'/g,"&#39;").replace(/</g,"&#60;")},exports.getMatchOffsets=function(string,regExp){var matches=[];return string.replace(regExp,function(str){matches.push({offset:arguments[arguments.length-2],length:str.length})}),matches},exports.deferredCall=function(fcn){var timer=null,callback=function(){timer=null,fcn()},deferred=function(timeout){return deferred.cancel(),timer=setTimeout(callback,timeout||0),deferred};return deferred.schedule=deferred,deferred.call=function(){return this.cancel(),fcn(),deferred},deferred.cancel=function(){return clearTimeout(timer),timer=null,deferred},deferred.isPending=function(){return timer},deferred},exports.delayedCall=function(fcn,defaultTimeout){var timer=null,callback=function(){timer=null,fcn()},_self=function(timeout){null==timer&&(timer=setTimeout(callback,timeout||defaultTimeout))};return _self.delay=function(timeout){timer&&clearTimeout(timer),timer=setTimeout(callback,timeout||defaultTimeout)},_self.schedule=_self,_self.call=function(){this.cancel(),fcn()},_self.cancel=function(){timer&&clearTimeout(timer),timer=null},_self.isPending=function(){return timer},_self}}),ace.define("ace/worker/mirror",["require","exports","module","ace/range","ace/document","ace/lib/lang"],function(acequire,exports){"use strict";acequire("../range").Range;var Document=acequire("../document").Document,lang=acequire("../lib/lang"),Mirror=exports.Mirror=function(sender){this.sender=sender;var doc=this.doc=new Document(""),deferredUpdate=this.deferredUpdate=lang.delayedCall(this.onUpdate.bind(this)),_self=this;sender.on("change",function(e){var data=e.data;if(data[0].start)doc.applyDeltas(data);else for(var i=0;data.length>i;i+=2){if(Array.isArray(data[i+1]))var d={action:"insert",start:data[i],lines:data[i+1]};else var d={action:"remove",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define("ace/mode/javascript/jshint",["require","exports","module"],function(acequire,exports,module){module.exports=function outer(modules,cache,entry){function newRequire(name,jumped){if(!cache[name]){if(!modules[name]){var currentRequire="function"==typeof acequire&&acequire;if(!jumped&&currentRequire)return currentRequire(name,!0);if(previousRequire)return previousRequire(name,!0);var err=Error("Cannot find module \'"+name+"\'");throw err.code="MODULE_NOT_FOUND",err}var m=cache[name]={exports:{}};modules[name][0].call(m.exports,function(x){var id=modules[name][1][x];return newRequire(id?id:x)},m,m.exports,outer,modules,cache,entry)}return cache[name].exports}for(var previousRequire="function"==typeof acequire&&acequire,i=0;entry.length>i;i++)newRequire(entry[i]);return newRequire(entry[0])}({"/node_modules/browserify/node_modules/events/events.js":[function(_dereq_,module){function EventEmitter(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function isFunction(arg){return"function"==typeof arg}function isNumber(arg){return"number"==typeof arg}function isObject(arg){return"object"==typeof arg&&null!==arg}function isUndefined(arg){return void 0===arg}module.exports=EventEmitter,EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.prototype.setMaxListeners=function(n){if(!isNumber(n)||0>n||isNaN(n))throw TypeError("n must be a positive number");return this._maxListeners=n,this},EventEmitter.prototype.emit=function(type){var er,handler,len,args,i,listeners;if(this._events||(this._events={}),"error"===type&&(!this._events.error||isObject(this._events.error)&&!this._events.error.length)){if(er=arguments[1],er instanceof Error)throw er;throw TypeError(\'Uncaught, unspecified "error" event.\')}if(handler=this._events[type],isUndefined(handler))return!1;if(isFunction(handler))switch(arguments.length){case 1:handler.call(this);break;case 2:handler.call(this,arguments[1]);break;case 3:handler.call(this,arguments[1],arguments[2]);break;default:for(len=arguments.length,args=Array(len-1),i=1;len>i;i++)args[i-1]=arguments[i];handler.apply(this,args)}else if(isObject(handler)){for(len=arguments.length,args=Array(len-1),i=1;len>i;i++)args[i-1]=arguments[i];for(listeners=handler.slice(),len=listeners.length,i=0;len>i;i++)listeners[i].apply(this,args)}return!0},EventEmitter.prototype.addListener=function(type,listener){var m;if(!isFunction(listener))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",type,isFunction(listener.listener)?listener.listener:listener),this._events[type]?isObject(this._events[type])?this._events[type].push(listener):this._events[type]=[this._events[type],listener]:this._events[type]=listener,isObject(this._events[type])&&!this._events[type].warned){var m;m=isUndefined(this._maxListeners)?EventEmitter.defaultMaxListeners:this._maxListeners,m&&m>0&&this._events[type].length>m&&(this._events[type].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[type].length),"function"==typeof console.trace&&console.trace())}return this},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.once=function(type,listener){function g(){this.removeListener(type,g),fired||(fired=!0,listener.apply(this,arguments))}if(!isFunction(listener))throw TypeError("listener must be a function");var fired=!1;return g.listener=listener,this.on(type,g),this},EventEmitter.prototype.removeListener=function(type,listener){var list,position,length,i;if(!isFunction(listener))throw TypeError("listener must be a function");if(!this._events||!this._events[type])return this;if(list=this._events[type],length=list.length,position=-1,list===listener||isFunction(list.listener)&&list.listener===listener)delete this._events[type],this._events.removeListener&&this.emit("removeListener",type,listener);else if(isObject(list)){for(i=length;i--\x3e0;)if(list[i]===listener||list[i].listener&&list[i].listener===listener){position=i;break}if(0>position)return this;1===list.length?(list.length=0,delete this._events[type]):list.splice(position,1),this._events.removeListener&&this.emit("removeListener",type,listener)}return this},EventEmitter.prototype.removeAllListeners=function(type){var key,listeners;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[type]&&delete this._events[type],this;if(0===arguments.length){for(key in this._events)"removeListener"!==key&&this.removeAllListeners(key);return this.removeAllListeners("removeListener"),this._events={},this\n}if(listeners=this._events[type],isFunction(listeners))this.removeListener(type,listeners);else for(;listeners.length;)this.removeListener(type,listeners[listeners.length-1]);return delete this._events[type],this},EventEmitter.prototype.listeners=function(type){var ret;return ret=this._events&&this._events[type]?isFunction(this._events[type])?[this._events[type]]:this._events[type].slice():[]},EventEmitter.listenerCount=function(emitter,type){var ret;return ret=emitter._events&&emitter._events[type]?isFunction(emitter._events[type])?1:emitter._events[type].length:0}},{}],"/node_modules/jshint/data/ascii-identifier-data.js":[function(_dereq_,module){for(var identifierStartTable=[],i=0;128>i;i++)identifierStartTable[i]=36===i||i>=65&&90>=i||95===i||i>=97&&122>=i;for(var identifierPartTable=[],i=0;128>i;i++)identifierPartTable[i]=identifierStartTable[i]||i>=48&&57>=i;module.exports={asciiIdentifierStartTable:identifierStartTable,asciiIdentifierPartTable:identifierPartTable}},{}],"/node_modules/jshint/lodash.js":[function(_dereq_,module,exports){(function(global){(function(){function baseFindIndex(array,predicate,fromRight){for(var length=array.length,index=fromRight?length:-1;fromRight?index--:length>++index;)if(predicate(array[index],index,array))return index;return-1}function baseIndexOf(array,value,fromIndex){if(value!==value)return indexOfNaN(array,fromIndex);for(var index=fromIndex-1,length=array.length;length>++index;)if(array[index]===value)return index;return-1}function baseIsFunction(value){return"function"==typeof value||!1}function baseToString(value){return"string"==typeof value?value:null==value?"":value+""}function indexOfNaN(array,fromIndex,fromRight){for(var length=array.length,index=fromIndex+(fromRight?0:-1);fromRight?index--:length>++index;){var other=array[index];if(other!==other)return index}return-1}function isObjectLike(value){return!!value&&"object"==typeof value}function lodash(){}function arrayCopy(source,array){var index=-1,length=source.length;for(array||(array=Array(length));length>++index;)array[index]=source[index];return array}function arrayEach(array,iteratee){for(var index=-1,length=array.length;length>++index&&iteratee(array[index],index,array)!==!1;);return array}function arrayFilter(array,predicate){for(var index=-1,length=array.length,resIndex=-1,result=[];length>++index;){var value=array[index];predicate(value,index,array)&&(result[++resIndex]=value)}return result}function arrayMap(array,iteratee){for(var index=-1,length=array.length,result=Array(length);length>++index;)result[index]=iteratee(array[index],index,array);return result}function arrayMax(array){for(var index=-1,length=array.length,result=NEGATIVE_INFINITY;length>++index;){var value=array[index];value>result&&(result=value)}return result}function arraySome(array,predicate){for(var index=-1,length=array.length;length>++index;)if(predicate(array[index],index,array))return!0;return!1}function assignWith(object,source,customizer){var props=keys(source);push.apply(props,getSymbols(source));for(var index=-1,length=props.length;length>++index;){var key=props[index],value=object[key],result=customizer(value,source[key],key,object,source);(result===result?result===value:value!==value)&&(value!==undefined||key in object)||(object[key]=result)}return object}function baseCopy(source,props,object){object||(object={});for(var index=-1,length=props.length;length>++index;){var key=props[index];object[key]=source[key]}return object}function baseCallback(func,thisArg,argCount){var type=typeof func;return"function"==type?thisArg===undefined?func:bindCallback(func,thisArg,argCount):null==func?identity:"object"==type?baseMatches(func):thisArg===undefined?property(func):baseMatchesProperty(func,thisArg)}function baseClone(value,isDeep,customizer,key,object,stackA,stackB){var result;if(customizer&&(result=object?customizer(value,key,object):customizer(value)),result!==undefined)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){if(result=initCloneArray(value),!isDeep)return arrayCopy(value,result)}else{var tag=objToString.call(value),isFunc=tag==funcTag;if(tag!=objectTag&&tag!=argsTag&&(!isFunc||object))return cloneableTags[tag]?initCloneByTag(value,tag,isDeep):object?value:{};if(result=initCloneObject(isFunc?{}:value),!isDeep)return baseAssign(result,value)}stackA||(stackA=[]),stackB||(stackB=[]);for(var length=stackA.length;length--;)if(stackA[length]==value)return stackB[length];return stackA.push(value),stackB.push(result),(isArr?arrayEach:baseForOwn)(value,function(subValue,key){result[key]=baseClone(subValue,isDeep,customizer,key,value,stackA,stackB)}),result}function baseFilter(collection,predicate){var result=[];return baseEach(collection,function(value,index,collection){predicate(value,index,collection)&&result.push(value)}),result}function baseForIn(object,iteratee){return baseFor(object,iteratee,keysIn)}function baseForOwn(object,iteratee){return baseFor(object,iteratee,keys)}function baseGet(object,path,pathKey){if(null!=object){pathKey!==undefined&&pathKey in toObject(object)&&(path=[pathKey]);for(var index=-1,length=path.length;null!=object&&length>++index;)var result=object=object[path[index]];return result}}function baseIsEqual(value,other,customizer,isLoose,stackA,stackB){if(value===other)return 0!==value||1/value==1/other;var valType=typeof value,othType=typeof other;return"function"!=valType&&"object"!=valType&&"function"!=othType&&"object"!=othType||null==value||null==other?value!==value&&other!==other:baseIsEqualDeep(value,other,baseIsEqual,customizer,isLoose,stackA,stackB)}function baseIsEqualDeep(object,other,equalFunc,customizer,isLoose,stackA,stackB){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=arrayTag,othTag=arrayTag;objIsArr||(objTag=objToString.call(object),objTag==argsTag?objTag=objectTag:objTag!=objectTag&&(objIsArr=isTypedArray(object))),othIsArr||(othTag=objToString.call(other),othTag==argsTag?othTag=objectTag:othTag!=objectTag&&(othIsArr=isTypedArray(other)));var objIsObj=objTag==objectTag,othIsObj=othTag==objectTag,isSameTag=objTag==othTag;if(isSameTag&&!objIsArr&&!objIsObj)return equalByTag(object,other,objTag);if(!isLoose){var valWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(valWrapped||othWrapped)return equalFunc(valWrapped?object.value():object,othWrapped?other.value():other,customizer,isLoose,stackA,stackB)}if(!isSameTag)return!1;stackA||(stackA=[]),stackB||(stackB=[]);for(var length=stackA.length;length--;)if(stackA[length]==object)return stackB[length]==other;stackA.push(object),stackB.push(other);var result=(objIsArr?equalArrays:equalObjects)(object,other,equalFunc,customizer,isLoose,stackA,stackB);return stackA.pop(),stackB.pop(),result}function baseIsMatch(object,props,values,strictCompareFlags,customizer){for(var index=-1,length=props.length,noCustomizer=!customizer;length>++index;)if(noCustomizer&&strictCompareFlags[index]?values[index]!==object[props[index]]:!(props[index]in object))return!1;for(index=-1;length>++index;){var key=props[index],objValue=object[key],srcValue=values[index];if(noCustomizer&&strictCompareFlags[index])var result=objValue!==undefined||key in object;else result=customizer?customizer(objValue,srcValue,key):undefined,result===undefined&&(result=baseIsEqual(srcValue,objValue,customizer,!0));if(!result)return!1}return!0}function baseMatches(source){var props=keys(source),length=props.length;if(!length)return constant(!0);if(1==length){var key=props[0],value=source[key];if(isStrictComparable(value))return function(object){return null==object?!1:object[key]===value&&(value!==undefined||key in toObject(object))}}for(var values=Array(length),strictCompareFlags=Array(length);length--;)value=source[props[length]],values[length]=value,strictCompareFlags[length]=isStrictComparable(value);return function(object){return null!=object&&baseIsMatch(toObject(object),props,values,strictCompareFlags)}}function baseMatchesProperty(path,value){var isArr=isArray(path),isCommon=isKey(path)&&isStrictComparable(value),pathKey=path+"";return path=toPath(path),function(object){if(null==object)return!1;var key=pathKey;if(object=toObject(object),!(!isArr&&isCommon||key in object)){if(object=1==path.length?object:baseGet(object,baseSlice(path,0,-1)),null==object)return!1;key=last(path),object=toObject(object)}return object[key]===value?value!==undefined||key in object:baseIsEqual(value,object[key],null,!0)}}function baseMerge(object,source,customizer,stackA,stackB){if(!isObject(object))return object;var isSrcArr=isLength(source.length)&&(isArray(source)||isTypedArray(source));if(!isSrcArr){var props=keys(source);push.apply(props,getSymbols(source))}return arrayEach(props||source,function(srcValue,key){if(props&&(key=srcValue,srcValue=source[key]),isObjectLike(srcValue))stackA||(stackA=[]),stackB||(stackB=[]),baseMergeDeep(object,source,key,baseMerge,customizer,stackA,stackB);else{var value=object[key],result=customizer?customizer(value,srcValue,key,object,source):undefined,isCommon=result===undefined;isCommon&&(result=srcValue),!isSrcArr&&result===undefined||!isCommon&&(result===result?result===value:value!==value)||(object[key]=result)}}),object}function baseMergeDeep(object,source,key,mergeFunc,customizer,stackA,stackB){for(var length=stackA.length,srcValue=source[key];length--;)if(stackA[length]==srcValue)return object[key]=stackB[length],undefined;var value=object[key],result=customizer?customizer(value,srcValue,key,object,source):undefined,isCommon=result===undefined;isCommon&&(result=srcValue,isLength(srcValue.length)&&(isArray(srcValue)||isTypedArray(srcValue))?result=isArray(value)?value:getLength(value)?arrayCopy(value):[]:isPlainObject(srcValue)||isArguments(srcValue)?result=isArguments(value)?toPlainObject(value):isPlainObject(value)?value:{}:isCommon=!1),stackA.push(srcValue),stackB.push(result),isCommon?object[key]=mergeFunc(result,srcValue,customizer,stackA,stackB):(result===result?result!==value:value===value)&&(object[key]=result)}function baseProperty(key){return function(object){return null==object?undefined:object[key]}}function basePropertyDeep(path){var pathKey=path+"";return path=toPath(path),function(object){return baseGet(object,path,pathKey)}}function baseSlice(array,start,end){var index=-1,length=array.length;start=null==start?0:+start||0,0>start&&(start=-start>length?0:length+start),end=end===undefined||end>length?length:+end||0,0>end&&(end+=length),length=start>end?0:end-start>>>0,start>>>=0;for(var result=Array(length);length>++index;)result[index]=array[index+start];return result}function baseSome(collection,predicate){var result;return baseEach(collection,function(value,index,collection){return result=predicate(value,index,collection),!result}),!!result}function baseValues(object,props){for(var index=-1,length=props.length,result=Array(length);length>++index;)result[index]=object[props[index]];return result}function binaryIndex(array,value,retHighest){var low=0,high=array?array.length:low;if("number"==typeof value&&value===value&&HALF_MAX_ARRAY_LENGTH>=high){for(;high>low;){var mid=low+high>>>1,computed=array[mid];(retHighest?value>=computed:value>computed)?low=mid+1:high=mid}return high}return binaryIndexBy(array,value,identity,retHighest)}function binaryIndexBy(array,value,iteratee,retHighest){value=iteratee(value);for(var low=0,high=array?array.length:0,valIsNaN=value!==value,valIsUndef=value===undefined;high>low;){var mid=floor((low+high)/2),computed=iteratee(array[mid]),isReflexive=computed===computed;if(valIsNaN)var setLow=isReflexive||retHighest;else setLow=valIsUndef?isReflexive&&(retHighest||computed!==undefined):retHighest?value>=computed:value>computed;setLow?low=mid+1:high=mid}return nativeMin(high,MAX_ARRAY_INDEX)}function bindCallback(func,thisArg,argCount){if("function"!=typeof func)return identity;if(thisArg===undefined)return func;switch(argCount){case 1:return function(value){return func.call(thisArg,value)};case 3:return function(value,index,collection){return func.call(thisArg,value,index,collection)};case 4:return function(accumulator,value,index,collection){return func.call(thisArg,accumulator,value,index,collection)};case 5:return function(value,other,key,object,source){return func.call(thisArg,value,other,key,object,source)}}return function(){return func.apply(thisArg,arguments)}}function bufferClone(buffer){return bufferSlice.call(buffer,0)}function createAssigner(assigner){return restParam(function(object,sources){var index=-1,length=null==object?0:sources.length,customizer=length>2&&sources[length-2],guard=length>2&&sources[2],thisArg=length>1&&sources[length-1];for("function"==typeof customizer?(customizer=bindCallback(customizer,thisArg,5),length-=2):(customizer="function"==typeof thisArg?thisArg:null,length-=customizer?1:0),guard&&isIterateeCall(sources[0],sources[1],guard)&&(customizer=3>length?null:customizer,length=1);length>++index;){var source=sources[index];source&&assigner(object,source,customizer)}return object})}function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){var length=collection?getLength(collection):0;if(!isLength(length))return eachFunc(collection,iteratee);for(var index=fromRight?length:-1,iterable=toObject(collection);(fromRight?index--:length>++index)&&iteratee(iterable[index],index,iterable)!==!1;);return collection}}function createBaseFor(fromRight){return function(object,iteratee,keysFunc){for(var iterable=toObject(object),props=keysFunc(object),length=props.length,index=fromRight?length:-1;fromRight?index--:length>++index;){var key=props[index];if(iteratee(iterable[key],key,iterable)===!1)break}return object}}function createFindIndex(fromRight){return function(array,predicate,thisArg){return array&&array.length?(predicate=getCallback(predicate,thisArg,3),baseFindIndex(array,predicate,fromRight)):-1}}function createForEach(arrayFunc,eachFunc){return function(collection,iteratee,thisArg){return"function"==typeof iteratee&&thisArg===undefined&&isArray(collection)?arrayFunc(collection,iteratee):eachFunc(collection,bindCallback(iteratee,thisArg,3))}}function equalArrays(array,other,equalFunc,customizer,isLoose,stackA,stackB){var index=-1,arrLength=array.length,othLength=other.length,result=!0;if(arrLength!=othLength&&!(isLoose&&othLength>arrLength))return!1;for(;result&&arrLength>++index;){var arrValue=array[index],othValue=other[index];if(result=undefined,customizer&&(result=isLoose?customizer(othValue,arrValue,index):customizer(arrValue,othValue,index)),result===undefined)if(isLoose)for(var othIndex=othLength;othIndex--&&(othValue=other[othIndex],!(result=arrValue&&arrValue===othValue||equalFunc(arrValue,othValue,customizer,isLoose,stackA,stackB))););else result=arrValue&&arrValue===othValue||equalFunc(arrValue,othValue,customizer,isLoose,stackA,stackB)}return!!result}function equalByTag(object,other,tag){switch(tag){case boolTag:case dateTag:return+object==+other;case errorTag:return object.name==other.name&&object.message==other.message;case numberTag:return object!=+object?other!=+other:0==object?1/object==1/other:object==+other;case regexpTag:case stringTag:return object==other+""}return!1}function equalObjects(object,other,equalFunc,customizer,isLoose,stackA,stackB){var objProps=keys(object),objLength=objProps.length,othProps=keys(other),othLength=othProps.length;if(objLength!=othLength&&!isLoose)return!1;for(var skipCtor=isLoose,index=-1;objLength>++index;){var key=objProps[index],result=isLoose?key in other:hasOwnProperty.call(other,key);if(result){var objValue=object[key],othValue=other[key];result=undefined,customizer&&(result=isLoose?customizer(othValue,objValue,key):customizer(objValue,othValue,key)),result===undefined&&(result=objValue&&objValue===othValue||equalFunc(objValue,othValue,customizer,isLoose,stackA,stackB))}if(!result)return!1;skipCtor||(skipCtor="constructor"==key)}if(!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;if(objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!("function"==typeof objCtor&&objCtor instanceof objCtor&&"function"==typeof othCtor&&othCtor instanceof othCtor))return!1}return!0}function getCallback(func,thisArg,argCount){var result=lodash.callback||callback;return result=result===callback?baseCallback:result,argCount?result(func,thisArg,argCount):result}function getIndexOf(collection,target,fromIndex){var result=lodash.indexOf||indexOf;return result=result===indexOf?baseIndexOf:result,collection?result(collection,target,fromIndex):result}function initCloneArray(array){var length=array.length,result=new array.constructor(length);return length&&"string"==typeof array[0]&&hasOwnProperty.call(array,"index")&&(result.index=array.index,result.input=array.input),result}function initCloneObject(object){var Ctor=object.constructor;return"function"==typeof Ctor&&Ctor instanceof Ctor||(Ctor=Object),new Ctor}function initCloneByTag(object,tag,isDeep){var Ctor=object.constructor;switch(tag){case arrayBufferTag:return bufferClone(object);case boolTag:case dateTag:return new Ctor(+object);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case uint8ClampedTag:case uint16Tag:case uint32Tag:var buffer=object.buffer;return new Ctor(isDeep?bufferClone(buffer):buffer,object.byteOffset,object.length);case numberTag:case stringTag:return new Ctor(object);case regexpTag:var result=new Ctor(object.source,reFlags.exec(object));result.lastIndex=object.lastIndex}return result}function isIndex(value,length){return value=+value,length=null==length?MAX_SAFE_INTEGER:length,value>-1&&0==value%1&&length>value}function isIterateeCall(value,index,object){if(!isObject(object))return!1;var type=typeof index;if("number"==type)var length=getLength(object),prereq=isLength(length)&&isIndex(index,length);else prereq="string"==type&&index in object;if(prereq){var other=object[index];return value===value?value===other:other!==other}return!1}function isKey(value,object){var type=typeof value;if("string"==type&&reIsPlainProp.test(value)||"number"==type)return!0;if(isArray(value))return!1;var result=!reIsDeepProp.test(value);return result||null!=object&&value in toObject(object)}function isLength(value){return"number"==typeof value&&value>-1&&0==value%1&&MAX_SAFE_INTEGER>=value}function isStrictComparable(value){return value===value&&(0===value?1/value>0:!isObject(value))}function shimIsPlainObject(value){var Ctor;if(lodash.support,!isObjectLike(value)||objToString.call(value)!=objectTag||!hasOwnProperty.call(value,"constructor")&&(Ctor=value.constructor,"function"==typeof Ctor&&!(Ctor instanceof Ctor)))return!1;var result;return baseForIn(value,function(subValue,key){result=key}),result===undefined||hasOwnProperty.call(value,result)}function shimKeys(object){for(var props=keysIn(object),propsLength=props.length,length=propsLength&&object.length,support=lodash.support,allowIndexes=length&&isLength(length)&&(isArray(object)||support.nonEnumArgs&&isArguments(object)),index=-1,result=[];propsLength>++index;){var key=props[index];(allowIndexes&&isIndex(key,length)||hasOwnProperty.call(object,key))&&result.push(key)}return result}function toObject(value){return isObject(value)?value:Object(value)}function toPath(value){if(isArray(value))return value;var result=[];return baseToString(value).replace(rePropName,function(match,number,quote,string){result.push(quote?string.replace(reEscapeChar,"$1"):number||match)}),result}function indexOf(array,value,fromIndex){var length=array?array.length:0;if(!length)return-1;if("number"==typeof fromIndex)fromIndex=0>fromIndex?nativeMax(length+fromIndex,0):fromIndex;else if(fromIndex){var index=binaryIndex(array,value),other=array[index];return(value===value?value===other:other!==other)?index:-1}return baseIndexOf(array,value,fromIndex||0)}function last(array){var length=array?array.length:0;return length?array[length-1]:undefined}function slice(array,start,end){var length=array?array.length:0;return length?(end&&"number"!=typeof end&&isIterateeCall(array,start,end)&&(start=0,end=length),baseSlice(array,start,end)):[]}function unzip(array){for(var index=-1,length=(array&&array.length&&arrayMax(arrayMap(array,getLength)))>>>0,result=Array(length);length>++index;)result[index]=arrayMap(array,baseProperty(index));return result}function includes(collection,target,fromIndex,guard){var length=collection?getLength(collection):0;return isLength(length)||(collection=values(collection),length=collection.length),length?(fromIndex="number"!=typeof fromIndex||guard&&isIterateeCall(target,fromIndex,guard)?0:0>fromIndex?nativeMax(length+fromIndex,0):fromIndex||0,"string"==typeof collection||!isArray(collection)&&isString(collection)?length>fromIndex&&collection.indexOf(target,fromIndex)>-1:getIndexOf(collection,target,fromIndex)>-1):!1}function reject(collection,predicate,thisArg){var func=isArray(collection)?arrayFilter:baseFilter;return predicate=getCallback(predicate,thisArg,3),func(collection,function(value,index,collection){return!predicate(value,index,collection)})}function some(collection,predicate,thisArg){var func=isArray(collection)?arraySome:baseSome;return thisArg&&isIterateeCall(collection,predicate,thisArg)&&(predicate=null),("function"!=typeof predicate||thisArg!==undefined)&&(predicate=getCallback(predicate,thisArg,3)),func(collection,predicate)}function restParam(func,start){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return start=nativeMax(start===undefined?func.length-1:+start||0,0),function(){for(var args=arguments,index=-1,length=nativeMax(args.length-start,0),rest=Array(length);length>++index;)rest[index]=args[start+index];switch(start){case 0:return func.call(this,rest);case 1:return func.call(this,args[0],rest);case 2:return func.call(this,args[0],args[1],rest)}var otherArgs=Array(start+1);for(index=-1;start>++index;)otherArgs[index]=args[index];return otherArgs[start]=rest,func.apply(this,otherArgs)}}function clone(value,isDeep,customizer,thisArg){return isDeep&&"boolean"!=typeof isDeep&&isIterateeCall(value,isDeep,customizer)?isDeep=!1:"function"==typeof isDeep&&(thisArg=customizer,customizer=isDeep,isDeep=!1),customizer="function"==typeof customizer&&bindCallback(customizer,thisArg,1),baseClone(value,isDeep,customizer)}function isArguments(value){var length=isObjectLike(value)?value.length:undefined;return isLength(length)&&objToString.call(value)==argsTag}function isEmpty(value){if(null==value)return!0;var length=getLength(value);return isLength(length)&&(isArray(value)||isString(value)||isArguments(value)||isObjectLike(value)&&isFunction(value.splice))?!length:!keys(value).length}function isObject(value){var type=typeof value;return"function"==type||!!value&&"object"==type}function isNative(value){return null==value?!1:objToString.call(value)==funcTag?reIsNative.test(fnToString.call(value)):isObjectLike(value)&&reIsHostCtor.test(value)}function isNumber(value){return"number"==typeof value||isObjectLike(value)&&objToString.call(value)==numberTag}function isString(value){return"string"==typeof value||isObjectLike(value)&&objToString.call(value)==stringTag}function isTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[objToString.call(value)]}function toPlainObject(value){return baseCopy(value,keysIn(value))}function has(object,path){if(null==object)return!1;var result=hasOwnProperty.call(object,path);return result||isKey(path)||(path=toPath(path),object=1==path.length?object:baseGet(object,baseSlice(path,0,-1)),path=last(path),result=null!=object&&hasOwnProperty.call(object,path)),result}function keysIn(object){if(null==object)return[];isObject(object)||(object=Object(object));var length=object.length;length=length&&isLength(length)&&(isArray(object)||support.nonEnumArgs&&isArguments(object))&&length||0;for(var Ctor=object.constructor,index=-1,isProto="function"==typeof Ctor&&Ctor.prototype===object,result=Array(length),skipIndexes=length>0;length>++index;)result[index]=index+"";for(var key in object)skipIndexes&&isIndex(key,length)||"constructor"==key&&(isProto||!hasOwnProperty.call(object,key))||result.push(key);return result}function values(object){return baseValues(object,keys(object))}function escapeRegExp(string){return string=baseToString(string),string&&reHasRegExpChars.test(string)?string.replace(reRegExpChars,"\\\\$&"):string}function callback(func,thisArg,guard){return guard&&isIterateeCall(func,thisArg,guard)&&(thisArg=null),baseCallback(func,thisArg)}function constant(value){return function(){return value}}function identity(value){return value}function property(path){return isKey(path)?baseProperty(path):basePropertyDeep(path)}var undefined,VERSION="3.7.0",FUNC_ERROR_TEXT="Expected a function",argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",reIsDeepProp=/\\.|\\[(?:[^[\\]]+|(["\'])(?:(?!\\1)[^\\n\\\\]|\\\\.)*?)\\1\\]/,reIsPlainProp=/^\\w*$/,rePropName=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|(["\'])((?:(?!\\2)[^\\n\\\\]|\\\\.)*?)\\2)\\]/g,reRegExpChars=/[.*+?^${}()|[\\]\\/\\\\]/g,reHasRegExpChars=RegExp(reRegExpChars.source),reEscapeChar=/\\\\(\\\\)?/g,reFlags=/\\w*$/,reIsHostCtor=/^\\[object .+?Constructor\\]$/,typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;var cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[stringTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0,cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[mapTag]=cloneableTags[setTag]=cloneableTags[weakMapTag]=!1;var objectTypes={"function":!0,object:!0},freeExports=objectTypes[typeof exports]&&exports&&!exports.nodeType&&exports,freeModule=objectTypes[typeof module]&&module&&!module.nodeType&&module,freeGlobal=freeExports&&freeModule&&"object"==typeof global&&global&&global.Object&&global,freeSelf=objectTypes[typeof self]&&self&&self.Object&&self,freeWindow=objectTypes[typeof window]&&window&&window.Object&&window,moduleExports=freeModule&&freeModule.exports===freeExports&&freeExports,root=freeGlobal||freeWindow!==(this&&this.window)&&freeWindow||freeSelf||this,arrayProto=Array.prototype,objectProto=Object.prototype,fnToString=Function.prototype.toString,hasOwnProperty=objectProto.hasOwnProperty,objToString=objectProto.toString,reIsNative=RegExp("^"+escapeRegExp(objToString).replace(/toString|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,"$1.*?")+"$"),ArrayBuffer=isNative(ArrayBuffer=root.ArrayBuffer)&&ArrayBuffer,bufferSlice=isNative(bufferSlice=ArrayBuffer&&new ArrayBuffer(0).slice)&&bufferSlice,floor=Math.floor,getOwnPropertySymbols=isNative(getOwnPropertySymbols=Object.getOwnPropertySymbols)&&getOwnPropertySymbols,getPrototypeOf=isNative(getPrototypeOf=Object.getPrototypeOf)&&getPrototypeOf,push=arrayProto.push,preventExtensions=isNative(Object.preventExtensions=Object.preventExtensions)&&preventExtensions,propertyIsEnumerable=objectProto.propertyIsEnumerable,Uint8Array=isNative(Uint8Array=root.Uint8Array)&&Uint8Array,Float64Array=function(){try{var func=isNative(func=root.Float64Array)&&func,result=new func(new ArrayBuffer(10),0,1)&&func}catch(e){}return result}(),nativeAssign=function(){var object={1:0},func=preventExtensions&&isNative(func=Object.assign)&&func;try{func(preventExtensions(object),"xo")}catch(e){}return!object[1]&&func}(),nativeIsArray=isNative(nativeIsArray=Array.isArray)&&nativeIsArray,nativeKeys=isNative(nativeKeys=Object.keys)&&nativeKeys,nativeMax=Math.max,nativeMin=Math.min,NEGATIVE_INFINITY=Number.NEGATIVE_INFINITY,MAX_ARRAY_LENGTH=Math.pow(2,32)-1,MAX_ARRAY_INDEX=MAX_ARRAY_LENGTH-1,HALF_MAX_ARRAY_LENGTH=MAX_ARRAY_LENGTH>>>1,FLOAT64_BYTES_PER_ELEMENT=Float64Array?Float64Array.BYTES_PER_ELEMENT:0,MAX_SAFE_INTEGER=Math.pow(2,53)-1,support=lodash.support={};(function(x){var Ctor=function(){this.x=x},props=[];Ctor.prototype={valueOf:x,y:x};for(var key in new Ctor)props.push(key);support.funcDecomp=/\\bthis\\b/.test(function(){return this}),support.funcNames="string"==typeof Function.name;try{support.nonEnumArgs=!propertyIsEnumerable.call(arguments,1)}catch(e){support.nonEnumArgs=!0}})(1,0);var baseAssign=nativeAssign||function(object,source){return null==source?object:baseCopy(source,getSymbols(source),baseCopy(source,keys(source),object))},baseEach=createBaseEach(baseForOwn),baseFor=createBaseFor();bufferSlice||(bufferClone=ArrayBuffer&&Uint8Array?function(buffer){var byteLength=buffer.byteLength,floatLength=Float64Array?floor(byteLength/FLOAT64_BYTES_PER_ELEMENT):0,offset=floatLength*FLOAT64_BYTES_PER_ELEMENT,result=new ArrayBuffer(byteLength);if(floatLength){var view=new Float64Array(result,0,floatLength);view.set(new Float64Array(buffer,0,floatLength))}return byteLength!=offset&&(view=new Uint8Array(result,offset),view.set(new Uint8Array(buffer,offset))),result}:constant(null));var getLength=baseProperty("length"),getSymbols=getOwnPropertySymbols?function(object){return getOwnPropertySymbols(toObject(object))}:constant([]),findLastIndex=createFindIndex(!0),zip=restParam(unzip),forEach=createForEach(arrayEach,baseEach),isArray=nativeIsArray||function(value){return isObjectLike(value)&&isLength(value.length)&&objToString.call(value)==arrayTag},isFunction=baseIsFunction(/x/)||Uint8Array&&!baseIsFunction(Uint8Array)?function(value){return objToString.call(value)==funcTag}:baseIsFunction,isPlainObject=getPrototypeOf?function(value){if(!value||objToString.call(value)!=objectTag)return!1;var valueOf=value.valueOf,objProto=isNative(valueOf)&&(objProto=getPrototypeOf(valueOf))&&getPrototypeOf(objProto);return objProto?value==objProto||getPrototypeOf(value)==objProto:shimIsPlainObject(value)}:shimIsPlainObject,assign=createAssigner(function(object,source,customizer){return customizer?assignWith(object,source,customizer):baseAssign(object,source)}),keys=nativeKeys?function(object){if(object)var Ctor=object.constructor,length=object.length;return"function"==typeof Ctor&&Ctor.prototype===object||"function"!=typeof object&&isLength(length)?shimKeys(object):isObject(object)?nativeKeys(object):[]}:shimKeys,merge=createAssigner(baseMerge);lodash.assign=assign,lodash.callback=callback,lodash.constant=constant,lodash.forEach=forEach,lodash.keys=keys,lodash.keysIn=keysIn,lodash.merge=merge,lodash.property=property,lodash.reject=reject,lodash.restParam=restParam,lodash.slice=slice,lodash.toPlainObject=toPlainObject,lodash.unzip=unzip,lodash.values=values,lodash.zip=zip,lodash.each=forEach,lodash.extend=assign,lodash.iteratee=callback,lodash.clone=clone,lodash.escapeRegExp=escapeRegExp,lodash.findLastIndex=findLastIndex,lodash.has=has,lodash.identity=identity,lodash.includes=includes,lodash.indexOf=indexOf,lodash.isArguments=isArguments,lodash.isArray=isArray,lodash.isEmpty=isEmpty,lodash.isFunction=isFunction,lodash.isNative=isNative,lodash.isNumber=isNumber,lodash.isObject=isObject,lodash.isPlainObject=isPlainObject,lodash.isString=isString,lodash.isTypedArray=isTypedArray,lodash.last=last,lodash.some=some,lodash.any=some,lodash.contains=includes,lodash.include=includes,lodash.VERSION=VERSION,freeExports&&freeModule?moduleExports?(freeModule.exports=lodash)._=lodash:freeExports._=lodash:root._=lodash\n}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],"/node_modules/jshint/src/jshint.js":[function(_dereq_,module,exports){var _=_dereq_("../lodash"),events=_dereq_("events"),vars=_dereq_("./vars.js"),messages=_dereq_("./messages.js"),Lexer=_dereq_("./lex.js").Lexer,reg=_dereq_("./reg.js"),state=_dereq_("./state.js").state,style=_dereq_("./style.js"),options=_dereq_("./options.js"),scopeManager=_dereq_("./scope-manager.js"),JSHINT=function(){"use strict";function checkOption(name,t){return name=name.trim(),/^[+-]W\\d{3}$/g.test(name)?!0:-1!==options.validNames.indexOf(name)||"jslint"===t.type||_.has(options.removed,name)?!0:(error("E001",t,name),!1)}function isString(obj){return"[object String]"===Object.prototype.toString.call(obj)}function isIdentifier(tkn,value){return tkn?tkn.identifier&&tkn.value===value?!0:!1:!1}function isReserved(token){if(!token.reserved)return!1;var meta=token.meta;if(meta&&meta.isFutureReservedWord&&state.inES5()){if(!meta.es5)return!1;if(meta.strictOnly&&!state.option.strict&&!state.isStrict())return!1;if(token.isProperty)return!1}return!0}function supplant(str,data){return str.replace(/\\{([^{}]*)\\}/g,function(a,b){var r=data[b];return"string"==typeof r||"number"==typeof r?r:a})}function combine(dest,src){Object.keys(src).forEach(function(name){_.has(JSHINT.blacklist,name)||(dest[name]=src[name])})}function processenforceall(){if(state.option.enforceall){for(var enforceopt in options.bool.enforcing)void 0!==state.option[enforceopt]||options.noenforceall[enforceopt]||(state.option[enforceopt]=!0);for(var relaxopt in options.bool.relaxing)void 0===state.option[relaxopt]&&(state.option[relaxopt]=!1)}}function assume(){processenforceall(),state.option.esversion||state.option.moz||(state.option.esversion=state.option.es3?3:state.option.esnext?6:5),state.inES5()&&combine(predefined,vars.ecmaIdentifiers[5]),state.inES6()&&combine(predefined,vars.ecmaIdentifiers[6]),state.option.module&&(state.option.strict===!0&&(state.option.strict="global"),state.inES6()||warning("W134",state.tokens.next,"module",6)),state.option.couch&&combine(predefined,vars.couch),state.option.qunit&&combine(predefined,vars.qunit),state.option.rhino&&combine(predefined,vars.rhino),state.option.shelljs&&(combine(predefined,vars.shelljs),combine(predefined,vars.node)),state.option.typed&&combine(predefined,vars.typed),state.option.phantom&&(combine(predefined,vars.phantom),state.option.strict===!0&&(state.option.strict="global")),state.option.prototypejs&&combine(predefined,vars.prototypejs),state.option.node&&(combine(predefined,vars.node),combine(predefined,vars.typed),state.option.strict===!0&&(state.option.strict="global")),state.option.devel&&combine(predefined,vars.devel),state.option.dojo&&combine(predefined,vars.dojo),state.option.browser&&(combine(predefined,vars.browser),combine(predefined,vars.typed)),state.option.browserify&&(combine(predefined,vars.browser),combine(predefined,vars.typed),combine(predefined,vars.browserify),state.option.strict===!0&&(state.option.strict="global")),state.option.nonstandard&&combine(predefined,vars.nonstandard),state.option.jasmine&&combine(predefined,vars.jasmine),state.option.jquery&&combine(predefined,vars.jquery),state.option.mootools&&combine(predefined,vars.mootools),state.option.worker&&combine(predefined,vars.worker),state.option.wsh&&combine(predefined,vars.wsh),state.option.globalstrict&&state.option.strict!==!1&&(state.option.strict="global"),state.option.yui&&combine(predefined,vars.yui),state.option.mocha&&combine(predefined,vars.mocha)}function quit(code,line,chr){var percentage=Math.floor(100*(line/state.lines.length)),message=messages.errors[code].desc;throw{name:"JSHintError",line:line,character:chr,message:message+" ("+percentage+"% scanned).",raw:message,code:code}}function removeIgnoredMessages(){var ignored=state.ignoredLines;_.isEmpty(ignored)||(JSHINT.errors=_.reject(JSHINT.errors,function(err){return ignored[err.line]}))}function warning(code,t,a,b,c,d){var ch,l,w,msg;if(/^W\\d{3}$/.test(code)){if(state.ignored[code])return;msg=messages.warnings[code]}else/E\\d{3}/.test(code)?msg=messages.errors[code]:/I\\d{3}/.test(code)&&(msg=messages.info[code]);return t=t||state.tokens.next||{},"(end)"===t.id&&(t=state.tokens.curr),l=t.line||0,ch=t.from||0,w={id:"(error)",raw:msg.desc,code:msg.code,evidence:state.lines[l-1]||"",line:l,character:ch,scope:JSHINT.scope,a:a,b:b,c:c,d:d},w.reason=supplant(msg.desc,w),JSHINT.errors.push(w),removeIgnoredMessages(),JSHINT.errors.length>=state.option.maxerr&&quit("E043",l,ch),w}function warningAt(m,l,ch,a,b,c,d){return warning(m,{line:l,from:ch},a,b,c,d)}function error(m,t,a,b,c,d){warning(m,t,a,b,c,d)}function errorAt(m,l,ch,a,b,c,d){return error(m,{line:l,from:ch},a,b,c,d)}function addInternalSrc(elem,src){var i;return i={id:"(internal)",elem:elem,value:src},JSHINT.internals.push(i),i}function doOption(){var nt=state.tokens.next,body=nt.body.match(/(-\\s+)?[^\\s,:]+(?:\\s*:\\s*(-\\s+)?[^\\s,]+)?/g)||[],predef={};if("globals"===nt.type){body.forEach(function(g,idx){g=g.split(":");var key=(g[0]||"").trim(),val=(g[1]||"").trim();if("-"===key||!key.length){if(idx>0&&idx===body.length-1)return;return error("E002",nt),void 0}"-"===key.charAt(0)?(key=key.slice(1),val=!1,JSHINT.blacklist[key]=key,delete predefined[key]):predef[key]="true"===val}),combine(predefined,predef);for(var key in predef)_.has(predef,key)&&(declared[key]=nt)}"exported"===nt.type&&body.forEach(function(e,idx){if(!e.length){if(idx>0&&idx===body.length-1)return;return error("E002",nt),void 0}state.funct["(scope)"].addExported(e)}),"members"===nt.type&&(membersOnly=membersOnly||{},body.forEach(function(m){var ch1=m.charAt(0),ch2=m.charAt(m.length-1);ch1!==ch2||\'"\'!==ch1&&"\'"!==ch1||(m=m.substr(1,m.length-2).replace(\'\\\\"\',\'"\')),membersOnly[m]=!1}));var numvals=["maxstatements","maxparams","maxdepth","maxcomplexity","maxerr","maxlen","indent"];("jshint"===nt.type||"jslint"===nt.type)&&(body.forEach(function(g){g=g.split(":");var key=(g[0]||"").trim(),val=(g[1]||"").trim();if(checkOption(key,nt))if(numvals.indexOf(key)>=0)if("false"!==val){if(val=+val,"number"!=typeof val||!isFinite(val)||0>=val||Math.floor(val)!==val)return error("E032",nt,g[1].trim()),void 0;state.option[key]=val}else state.option[key]="indent"===key?4:!1;else{if("validthis"===key)return state.funct["(global)"]?void error("E009"):"true"!==val&&"false"!==val?void error("E002",nt):(state.option.validthis="true"===val,void 0);if("quotmark"!==key)if("shadow"!==key)if("unused"!==key)if("latedef"!==key)if("ignore"!==key)if("strict"!==key){"module"===key&&(hasParsedCode(state.funct)||error("E055",state.tokens.next,"module"));var esversions={es3:3,es5:5,esnext:6};if(!_.has(esversions,key)){if("esversion"===key){switch(val){case"5":state.inES5(!0)&&warning("I003");case"3":case"6":state.option.moz=!1,state.option.esversion=+val;break;case"2015":state.option.moz=!1,state.option.esversion=6;break;default:error("E002",nt)}return hasParsedCode(state.funct)||error("E055",state.tokens.next,"esversion"),void 0}var match=/^([+-])(W\\d{3})$/g.exec(key);if(match)return state.ignored[match[2]]="-"===match[1],void 0;var tn;return"true"===val||"false"===val?("jslint"===nt.type?(tn=options.renamed[key]||key,state.option[tn]="true"===val,void 0!==options.inverted[tn]&&(state.option[tn]=!state.option[tn])):state.option[key]="true"===val,"newcap"===key&&(state.option["(explicitNewcap)"]=!0),void 0):(error("E002",nt),void 0)}switch(val){case"true":state.option.moz=!1,state.option.esversion=esversions[key];break;case"false":state.option.moz||(state.option.esversion=5);break;default:error("E002",nt)}}else switch(val){case"true":state.option.strict=!0;break;case"false":state.option.strict=!1;break;case"func":case"global":case"implied":state.option.strict=val;break;default:error("E002",nt)}else switch(val){case"line":state.ignoredLines[nt.line]=!0,removeIgnoredMessages();break;default:error("E002",nt)}else switch(val){case"true":state.option.latedef=!0;break;case"false":state.option.latedef=!1;break;case"nofunc":state.option.latedef="nofunc";break;default:error("E002",nt)}else switch(val){case"true":state.option.unused=!0;break;case"false":state.option.unused=!1;break;case"vars":case"strict":state.option.unused=val;break;default:error("E002",nt)}else switch(val){case"true":state.option.shadow=!0;break;case"outer":state.option.shadow="outer";break;case"false":case"inner":state.option.shadow="inner";break;default:error("E002",nt)}else switch(val){case"true":case"false":state.option.quotmark="true"===val;break;case"double":case"single":state.option.quotmark=val;break;default:error("E002",nt)}}}),assume())}function peek(p){var t,i=p||0,j=lookahead.length;if(j>i)return lookahead[i];for(;i>=j;)t=lookahead[j],t||(t=lookahead[j]=lex.token()),j+=1;return t||"(end)"!==state.tokens.next.id?t:state.tokens.next}function peekIgnoreEOL(){var t,i=0;do t=peek(i++);while("(endline)"===t.id);return t}function advance(id,t){switch(state.tokens.curr.id){case"(number)":"."===state.tokens.next.id&&warning("W005",state.tokens.curr);break;case"-":("-"===state.tokens.next.id||"--"===state.tokens.next.id)&&warning("W006");break;case"+":("+"===state.tokens.next.id||"++"===state.tokens.next.id)&&warning("W007")}for(id&&state.tokens.next.id!==id&&(t?"(end)"===state.tokens.next.id?error("E019",t,t.id):error("E020",state.tokens.next,id,t.id,t.line,state.tokens.next.value):("(identifier)"!==state.tokens.next.type||state.tokens.next.value!==id)&&warning("W116",state.tokens.next,id,state.tokens.next.value)),state.tokens.prev=state.tokens.curr,state.tokens.curr=state.tokens.next;;){if(state.tokens.next=lookahead.shift()||lex.token(),state.tokens.next||quit("E041",state.tokens.curr.line),"(end)"===state.tokens.next.id||"(error)"===state.tokens.next.id)return;if(state.tokens.next.check&&state.tokens.next.check(),state.tokens.next.isSpecial)"falls through"===state.tokens.next.type?state.tokens.curr.caseFallsThrough=!0:doOption();else if("(endline)"!==state.tokens.next.id)break}}function isInfix(token){return token.infix||!token.identifier&&!token.template&&!!token.led}function isEndOfExpr(){var curr=state.tokens.curr,next=state.tokens.next;return";"===next.id||"}"===next.id||":"===next.id?!0:isInfix(next)===isInfix(curr)||"yield"===curr.id&&state.inMoz()?curr.line!==startLine(next):!1}function isBeginOfExpr(prev){return!prev.left&&"unary"!==prev.arity}function expression(rbp,initial){var left,isArray=!1,isObject=!1,isLetExpr=!1;state.nameStack.push(),initial||"let"!==state.tokens.next.value||"("!==peek(0).value||(state.inMoz()||warning("W118",state.tokens.next,"let expressions"),isLetExpr=!0,state.funct["(scope)"].stack(),advance("let"),advance("("),state.tokens.prev.fud(),advance(")")),"(end)"===state.tokens.next.id&&error("E006",state.tokens.curr);var isDangerous=state.option.asi&&state.tokens.prev.line!==startLine(state.tokens.curr)&&_.contains(["]",")"],state.tokens.prev.id)&&_.contains(["[","("],state.tokens.curr.id);if(isDangerous&&warning("W014",state.tokens.curr,state.tokens.curr.id),advance(),initial&&(state.funct["(verb)"]=state.tokens.curr.value,state.tokens.curr.beginsStmt=!0),initial===!0&&state.tokens.curr.fud)left=state.tokens.curr.fud();else for(state.tokens.curr.nud?left=state.tokens.curr.nud():error("E030",state.tokens.curr,state.tokens.curr.id);(state.tokens.next.lbp>rbp||"(template)"===state.tokens.next.type)&&!isEndOfExpr();)isArray="Array"===state.tokens.curr.value,isObject="Object"===state.tokens.curr.value,left&&(left.value||left.first&&left.first.value)&&("new"!==left.value||left.first&&left.first.value&&"."===left.first.value)&&(isArray=!1,left.value!==state.tokens.curr.value&&(isObject=!1)),advance(),isArray&&"("===state.tokens.curr.id&&")"===state.tokens.next.id&&warning("W009",state.tokens.curr),isObject&&"("===state.tokens.curr.id&&")"===state.tokens.next.id&&warning("W010",state.tokens.curr),left&&state.tokens.curr.led?left=state.tokens.curr.led(left):error("E033",state.tokens.curr,state.tokens.curr.id);return isLetExpr&&state.funct["(scope)"].unstack(),state.nameStack.pop(),left}function startLine(token){return token.startLine||token.line}function nobreaknonadjacent(left,right){left=left||state.tokens.curr,right=right||state.tokens.next,state.option.laxbreak||left.line===startLine(right)||warning("W014",right,right.value)}function nolinebreak(t){t=t||state.tokens.curr,t.line!==startLine(state.tokens.next)&&warning("E022",t,t.value)}function nobreakcomma(left,right){left.line!==startLine(right)&&(state.option.laxcomma||(comma.first&&(warning("I001"),comma.first=!1),warning("W014",left,right.value)))}function comma(opts){if(opts=opts||{},opts.peek?nobreakcomma(state.tokens.prev,state.tokens.curr):(nobreakcomma(state.tokens.curr,state.tokens.next),advance(",")),state.tokens.next.identifier&&(!opts.property||!state.inES5()))switch(state.tokens.next.value){case"break":case"case":case"catch":case"continue":case"default":case"do":case"else":case"finally":case"for":case"if":case"in":case"instanceof":case"return":case"switch":case"throw":case"try":case"var":case"let":case"while":case"with":return error("E024",state.tokens.next,state.tokens.next.value),!1}if("(punctuator)"===state.tokens.next.type)switch(state.tokens.next.value){case"}":case"]":case",":if(opts.allowTrailing)return!0;case")":return error("E024",state.tokens.next,state.tokens.next.value),!1}return!0}function symbol(s,p){var x=state.syntax[s];return x&&"object"==typeof x||(state.syntax[s]=x={id:s,lbp:p,value:s}),x}function delim(s){var x=symbol(s,0);return x.delim=!0,x}function stmt(s,f){var x=delim(s);return x.identifier=x.reserved=!0,x.fud=f,x}function blockstmt(s,f){var x=stmt(s,f);return x.block=!0,x}function reserveName(x){var c=x.id.charAt(0);return(c>="a"&&"z">=c||c>="A"&&"Z">=c)&&(x.identifier=x.reserved=!0),x}function prefix(s,f){var x=symbol(s,150);return reserveName(x),x.nud="function"==typeof f?f:function(){return this.arity="unary",this.right=expression(150),("++"===this.id||"--"===this.id)&&(state.option.plusplus?warning("W016",this,this.id):!this.right||this.right.identifier&&!isReserved(this.right)||"."===this.right.id||"["===this.right.id||warning("W017",this),this.right&&this.right.isMetaProperty?error("E031",this):this.right&&this.right.identifier&&state.funct["(scope)"].block.modify(this.right.value,this)),this},x}function type(s,f){var x=delim(s);return x.type=s,x.nud=f,x}function reserve(name,func){var x=type(name,func);return x.identifier=!0,x.reserved=!0,x}function FutureReservedWord(name,meta){var x=type(name,meta&&meta.nud||function(){return this});return meta=meta||{},meta.isFutureReservedWord=!0,x.value=name,x.identifier=!0,x.reserved=!0,x.meta=meta,x}function reservevar(s,v){return reserve(s,function(){return"function"==typeof v&&v(this),this})}function infix(s,f,p,w){var x=symbol(s,p);return reserveName(x),x.infix=!0,x.led=function(left){return w||nobreaknonadjacent(state.tokens.prev,state.tokens.curr),"in"!==s&&"instanceof"!==s||"!"!==left.id||warning("W018",left,"!"),"function"==typeof f?f(left,this):(this.left=left,this.right=expression(p),this)},x}function application(s){var x=symbol(s,42);return x.led=function(left){return nobreaknonadjacent(state.tokens.prev,state.tokens.curr),this.left=left,this.right=doFunction({type:"arrow",loneArg:left}),this},x}function relation(s,f){var x=symbol(s,100);return x.led=function(left){nobreaknonadjacent(state.tokens.prev,state.tokens.curr),this.left=left;var right=this.right=expression(100);return isIdentifier(left,"NaN")||isIdentifier(right,"NaN")?warning("W019",this):f&&f.apply(this,[left,right]),left&&right||quit("E041",state.tokens.curr.line),"!"===left.id&&warning("W018",left,"!"),"!"===right.id&&warning("W018",right,"!"),this},x}function isPoorRelation(node){return node&&("(number)"===node.type&&0===+node.value||"(string)"===node.type&&""===node.value||"null"===node.type&&!state.option.eqnull||"true"===node.type||"false"===node.type||"undefined"===node.type)}function isTypoTypeof(left,right,state){var values;return state.option.notypeof?!1:left&&right?(values=state.inES6()?typeofValues.es6:typeofValues.es3,"(identifier)"===right.type&&"typeof"===right.value&&"(string)"===left.type?!_.contains(values,left.value):!1):!1}function isGlobalEval(left,state){var isGlobal=!1;return"this"===left.type&&null===state.funct["(context)"]?isGlobal=!0:"(identifier)"===left.type&&(state.option.node&&"global"===left.value?isGlobal=!0:!state.option.browser||"window"!==left.value&&"document"!==left.value||(isGlobal=!0)),isGlobal}function findNativePrototype(left){function walkPrototype(obj){return"object"==typeof obj?"prototype"===obj.right?obj:walkPrototype(obj.left):void 0}function walkNative(obj){for(;!obj.identifier&&"object"==typeof obj.left;)obj=obj.left;return obj.identifier&&natives.indexOf(obj.value)>=0?obj.value:void 0}var natives=["Array","ArrayBuffer","Boolean","Collator","DataView","Date","DateTimeFormat","Error","EvalError","Float32Array","Float64Array","Function","Infinity","Intl","Int16Array","Int32Array","Int8Array","Iterator","Number","NumberFormat","Object","RangeError","ReferenceError","RegExp","StopIteration","String","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","URIError"],prototype=walkPrototype(left);return prototype?walkNative(prototype):void 0}function checkLeftSideAssign(left,assignToken,options){var allowDestructuring=options&&options.allowDestructuring;if(assignToken=assignToken||left,state.option.freeze){var nativeObject=findNativePrototype(left);nativeObject&&warning("W121",left,nativeObject)}return left.identifier&&!left.isMetaProperty&&state.funct["(scope)"].block.reassign(left.value,left),"."===left.id?((!left.left||"arguments"===left.left.value&&!state.isStrict())&&warning("E031",assignToken),state.nameStack.set(state.tokens.prev),!0):"{"===left.id||"["===left.id?(allowDestructuring&&state.tokens.curr.left.destructAssign?state.tokens.curr.left.destructAssign.forEach(function(t){t.id&&state.funct["(scope)"].block.modify(t.id,t.token)}):"{"!==left.id&&left.left?"arguments"!==left.left.value||state.isStrict()||warning("E031",assignToken):warning("E031",assignToken),"["===left.id&&state.nameStack.set(left.right),!0):left.isMetaProperty?(error("E031",assignToken),!0):left.identifier&&!isReserved(left)?("exception"===state.funct["(scope)"].labeltype(left.value)&&warning("W022",left),state.nameStack.set(left),!0):(left===state.syntax["function"]&&warning("W023",state.tokens.curr),!1)}function assignop(s,f,p){var x=infix(s,"function"==typeof f?f:function(left,that){return that.left=left,left&&checkLeftSideAssign(left,that,{allowDestructuring:!0})?(that.right=expression(10),that):(error("E031",that),void 0)},p);return x.exps=!0,x.assign=!0,x}function bitwise(s,f,p){var x=symbol(s,p);return reserveName(x),x.led="function"==typeof f?f:function(left){return state.option.bitwise&&warning("W016",this,this.id),this.left=left,this.right=expression(p),this},x}function bitwiseassignop(s){return assignop(s,function(left,that){return state.option.bitwise&&warning("W016",that,that.id),left&&checkLeftSideAssign(left,that)?(that.right=expression(10),that):(error("E031",that),void 0)},20)}function suffix(s){var x=symbol(s,150);return x.led=function(left){return state.option.plusplus?warning("W016",this,this.id):left.identifier&&!isReserved(left)||"."===left.id||"["===left.id||warning("W017",this),left.isMetaProperty?error("E031",this):left&&left.identifier&&state.funct["(scope)"].block.modify(left.value,left),this.left=left,this},x}function optionalidentifier(fnparam,prop,preserve){if(state.tokens.next.identifier){preserve||advance();var curr=state.tokens.curr,val=state.tokens.curr.value;return isReserved(curr)?prop&&state.inES5()?val:fnparam&&"undefined"===val?val:(warning("W024",state.tokens.curr,state.tokens.curr.id),val):val}}function identifier(fnparam,prop){var i=optionalidentifier(fnparam,prop,!1);if(i)return i;if("..."===state.tokens.next.value){if(state.inES6(!0)||warning("W119",state.tokens.next,"spread/rest operator","6"),advance(),checkPunctuator(state.tokens.next,"..."))for(warning("E024",state.tokens.next,"...");checkPunctuator(state.tokens.next,"...");)advance();return state.tokens.next.identifier?identifier(fnparam,prop):(warning("E024",state.tokens.curr,"..."),void 0)}error("E030",state.tokens.next,state.tokens.next.value),";"!==state.tokens.next.id&&advance()}function reachable(controlToken){var t,i=0;if(";"===state.tokens.next.id&&!controlToken.inBracelessBlock)for(;;){do t=peek(i),i+=1;while("(end)"!==t.id&&"(comment)"===t.id);if(t.reach)return;if("(endline)"!==t.id){if("function"===t.id){state.option.latedef===!0&&warning("W026",t);break}warning("W027",t,t.value,controlToken.value);break}}}function parseFinalSemicolon(){if(";"!==state.tokens.next.id){if(state.tokens.next.isUnclosed)return advance();var sameLine=startLine(state.tokens.next)===state.tokens.curr.line&&"(end)"!==state.tokens.next.id,blockEnd=checkPunctuator(state.tokens.next,"}");sameLine&&!blockEnd?errorAt("E058",state.tokens.curr.line,state.tokens.curr.character):state.option.asi||(blockEnd&&!state.option.lastsemic||!sameLine)&&warningAt("W033",state.tokens.curr.line,state.tokens.curr.character)}else advance(";")}function statement(){var r,i=indent,t=state.tokens.next,hasOwnScope=!1;if(";"===t.id)return advance(";"),void 0;var res=isReserved(t);if(res&&t.meta&&t.meta.isFutureReservedWord&&":"===peek().id&&(warning("W024",t,t.id),res=!1),t.identifier&&!res&&":"===peek().id&&(advance(),advance(":"),hasOwnScope=!0,state.funct["(scope)"].stack(),state.funct["(scope)"].block.addBreakLabel(t.value,{token:state.tokens.curr}),state.tokens.next.labelled||"{"===state.tokens.next.value||warning("W028",state.tokens.next,t.value,state.tokens.next.value),state.tokens.next.label=t.value,t=state.tokens.next),"{"===t.id){var iscase="case"===state.funct["(verb)"]&&":"===state.tokens.curr.value;return block(!0,!0,!1,!1,iscase),void 0}return r=expression(0,!0),!r||r.identifier&&"function"===r.value||"(punctuator)"===r.type&&r.left&&r.left.identifier&&"function"===r.left.value||state.isStrict()||"global"!==state.option.strict||warning("E007"),t.block||(state.option.expr||r&&r.exps?state.option.nonew&&r&&r.left&&"("===r.id&&"new"===r.left.id&&warning("W031",t):warning("W030",state.tokens.curr),parseFinalSemicolon()),indent=i,hasOwnScope&&state.funct["(scope)"].unstack(),r}function statements(){for(var p,a=[];!state.tokens.next.reach&&"(end)"!==state.tokens.next.id;)";"===state.tokens.next.id?(p=peek(),(!p||"("!==p.id&&"["!==p.id)&&warning("W032"),advance(";")):a.push(statement());return a}function directives(){for(var i,p,pn;"(string)"===state.tokens.next.id;){if(p=peek(0),"(endline)"===p.id){i=1;do pn=peek(i++);while("(endline)"===pn.id);if(";"===pn.id)p=pn;else{if("["===pn.value||"."===pn.value)break;state.option.asi&&"("!==pn.value||warning("W033",state.tokens.next)}}else{if("."===p.id||"["===p.id)break;";"!==p.id&&warning("W033",p)}advance();var directive=state.tokens.curr.value;(state.directive[directive]||"use strict"===directive&&"implied"===state.option.strict)&&warning("W034",state.tokens.curr,directive),state.directive[directive]=!0,";"===p.id&&advance(";")}state.isStrict()&&(state.option["(explicitNewcap)"]||(state.option.newcap=!0),state.option.undef=!0)}function block(ordinary,stmt,isfunc,isfatarrow,iscase){var a,m,t,line,d,b=inblock,old_indent=indent;inblock=ordinary,t=state.tokens.next;var metrics=state.funct["(metrics)"];if(metrics.nestedBlockDepth+=1,metrics.verifyMaxNestedBlockDepthPerFunction(),"{"===state.tokens.next.id){if(advance("{"),state.funct["(scope)"].stack(),line=state.tokens.curr.line,"}"!==state.tokens.next.id){for(indent+=state.option.indent;!ordinary&&state.tokens.next.from>indent;)indent+=state.option.indent;if(isfunc){m={};for(d in state.directive)_.has(state.directive,d)&&(m[d]=state.directive[d]);directives(),state.option.strict&&state.funct["(context)"]["(global)"]&&(m["use strict"]||state.isStrict()||warning("E007"))}a=statements(),metrics.statementCount+=a.length,indent-=state.option.indent}advance("}",t),isfunc&&(state.funct["(scope)"].validateParams(),m&&(state.directive=m)),state.funct["(scope)"].unstack(),indent=old_indent}else if(ordinary)state.funct["(noblockscopedvar)"]="for"!==state.tokens.next.id,state.funct["(scope)"].stack(),(!stmt||state.option.curly)&&warning("W116",state.tokens.next,"{",state.tokens.next.value),state.tokens.next.inBracelessBlock=!0,indent+=state.option.indent,a=[statement()],indent-=state.option.indent,state.funct["(scope)"].unstack(),delete state.funct["(noblockscopedvar)"];else if(isfunc){if(state.funct["(scope)"].stack(),m={},!stmt||isfatarrow||state.inMoz()||error("W118",state.tokens.curr,"function closure expressions"),!stmt)for(d in state.directive)_.has(state.directive,d)&&(m[d]=state.directive[d]);expression(10),state.option.strict&&state.funct["(context)"]["(global)"]&&(m["use strict"]||state.isStrict()||warning("E007")),state.funct["(scope)"].unstack()}else error("E021",state.tokens.next,"{",state.tokens.next.value);switch(state.funct["(verb)"]){case"break":case"continue":case"return":case"throw":if(iscase)break;default:state.funct["(verb)"]=null}return inblock=b,!ordinary||!state.option.noempty||a&&0!==a.length||warning("W035",state.tokens.prev),metrics.nestedBlockDepth-=1,a}function countMember(m){membersOnly&&"boolean"!=typeof membersOnly[m]&&warning("W036",state.tokens.curr,m),"number"==typeof member[m]?member[m]+=1:member[m]=1}function comprehensiveArrayExpression(){var res={};res.exps=!0,state.funct["(comparray)"].stack();var reversed=!1;return"for"!==state.tokens.next.value&&(reversed=!0,state.inMoz()||warning("W116",state.tokens.next,"for",state.tokens.next.value),state.funct["(comparray)"].setState("use"),res.right=expression(10)),advance("for"),"each"===state.tokens.next.value&&(advance("each"),state.inMoz()||warning("W118",state.tokens.curr,"for each")),advance("("),state.funct["(comparray)"].setState("define"),res.left=expression(130),_.contains(["in","of"],state.tokens.next.value)?advance():error("E045",state.tokens.curr),state.funct["(comparray)"].setState("generate"),expression(10),advance(")"),"if"===state.tokens.next.value&&(advance("if"),advance("("),state.funct["(comparray)"].setState("filter"),res.filter=expression(10),advance(")")),reversed||(state.funct["(comparray)"].setState("use"),res.right=expression(10)),advance("]"),state.funct["(comparray)"].unstack(),res}function isMethod(){return state.funct["(statement)"]&&"class"===state.funct["(statement)"].type||state.funct["(context)"]&&"class"===state.funct["(context)"]["(verb)"]}function isPropertyName(token){return token.identifier||"(string)"===token.id||"(number)"===token.id}function propertyName(preserveOrToken){var id,preserve=!0;return"object"==typeof preserveOrToken?id=preserveOrToken:(preserve=preserveOrToken,id=optionalidentifier(!1,!0,preserve)),id?"object"==typeof id&&("(string)"===id.id||"(identifier)"===id.id?id=id.value:"(number)"===id.id&&(id=""+id.value)):"(string)"===state.tokens.next.id?(id=state.tokens.next.value,preserve||advance()):"(number)"===state.tokens.next.id&&(id=""+state.tokens.next.value,preserve||advance()),"hasOwnProperty"===id&&warning("W001"),id}function functionparams(options){function addParam(addParamArgs){state.funct["(scope)"].addParam.apply(state.funct["(scope)"],addParamArgs)}var next,ident,t,paramsIds=[],tokens=[],pastDefault=!1,pastRest=!1,arity=0,loneArg=options&&options.loneArg;if(loneArg&&loneArg.identifier===!0)return state.funct["(scope)"].addParam(loneArg.value,loneArg),{arity:1,params:[loneArg.value]};if(next=state.tokens.next,options&&options.parsedOpening||advance("("),")"===state.tokens.next.id)return advance(")"),void 0;for(;;){arity++;var currentParams=[];if(_.contains(["{","["],state.tokens.next.id)){tokens=destructuringPattern();for(t in tokens)t=tokens[t],t.id&&(paramsIds.push(t.id),currentParams.push([t.id,t.token]))}else if(checkPunctuator(state.tokens.next,"...")&&(pastRest=!0),ident=identifier(!0))paramsIds.push(ident),currentParams.push([ident,state.tokens.curr]);else for(;!checkPunctuators(state.tokens.next,[",",")"]);)advance();if(pastDefault&&"="!==state.tokens.next.id&&error("W138",state.tokens.current),"="===state.tokens.next.id&&(state.inES6()||warning("W119",state.tokens.next,"default parameters","6"),advance("="),pastDefault=!0,expression(10)),currentParams.forEach(addParam),","!==state.tokens.next.id)return advance(")",next),{arity:arity,params:paramsIds};pastRest&&warning("W131",state.tokens.next),comma()}}function functor(name,token,overwrites){var funct={"(name)":name,"(breakage)":0,"(loopage)":0,"(tokens)":{},"(properties)":{},"(catch)":!1,"(global)":!1,"(line)":null,"(character)":null,"(metrics)":null,"(statement)":null,"(context)":null,"(scope)":null,"(comparray)":null,"(generator)":null,"(arrow)":null,"(params)":null};return token&&_.extend(funct,{"(line)":token.line,"(character)":token.character,"(metrics)":createMetrics(token)}),_.extend(funct,overwrites),funct["(context)"]&&(funct["(scope)"]=funct["(context)"]["(scope)"],funct["(comparray)"]=funct["(context)"]["(comparray)"]),funct}function isFunctor(token){return"(scope)"in token}function hasParsedCode(funct){return funct["(global)"]&&!funct["(verb)"]}function doTemplateLiteral(left){function end(){if(state.tokens.curr.template&&state.tokens.curr.tail&&state.tokens.curr.context===ctx)return!0;var complete=state.tokens.next.template&&state.tokens.next.tail&&state.tokens.next.context===ctx;return complete&&advance(),complete||state.tokens.next.isUnclosed}var ctx=this.context,noSubst=this.noSubst,depth=this.depth;if(!noSubst)for(;!end();)!state.tokens.next.template||state.tokens.next.depth>depth?expression(0):advance();return{id:"(template)",type:"(template)",tag:left}}function doFunction(options){var f,token,name,statement,classExprBinding,isGenerator,isArrow,ignoreLoopFunc,oldOption=state.option,oldIgnored=state.ignored;options&&(name=options.name,statement=options.statement,classExprBinding=options.classExprBinding,isGenerator="generator"===options.type,isArrow="arrow"===options.type,ignoreLoopFunc=options.ignoreLoopFunc),state.option=Object.create(state.option),state.ignored=Object.create(state.ignored),state.funct=functor(name||state.nameStack.infer(),state.tokens.next,{"(statement)":statement,"(context)":state.funct,"(arrow)":isArrow,"(generator)":isGenerator}),f=state.funct,token=state.tokens.curr,token.funct=state.funct,functions.push(state.funct),state.funct["(scope)"].stack("functionouter");var internallyAccessibleName=name||classExprBinding;internallyAccessibleName&&state.funct["(scope)"].block.add(internallyAccessibleName,classExprBinding?"class":"function",state.tokens.curr,!1),state.funct["(scope)"].stack("functionparams");var paramsInfo=functionparams(options);return paramsInfo?(state.funct["(params)"]=paramsInfo.params,state.funct["(metrics)"].arity=paramsInfo.arity,state.funct["(metrics)"].verifyMaxParametersPerFunction()):state.funct["(metrics)"].arity=0,isArrow&&(state.inES6(!0)||warning("W119",state.tokens.curr,"arrow function syntax (=>)","6"),options.loneArg||advance("=>")),block(!1,!0,!0,isArrow),!state.option.noyield&&isGenerator&&"yielded"!==state.funct["(generator)"]&&warning("W124",state.tokens.curr),state.funct["(metrics)"].verifyMaxStatementsPerFunction(),state.funct["(metrics)"].verifyMaxComplexityPerFunction(),state.funct["(unusedOption)"]=state.option.unused,state.option=oldOption,state.ignored=oldIgnored,state.funct["(last)"]=state.tokens.curr.line,state.funct["(lastcharacter)"]=state.tokens.curr.character,state.funct["(scope)"].unstack(),state.funct["(scope)"].unstack(),state.funct=state.funct["(context)"],ignoreLoopFunc||state.option.loopfunc||!state.funct["(loopage)"]||f["(isCapturing)"]&&warning("W083",token),f}function createMetrics(functionStartToken){return{statementCount:0,nestedBlockDepth:-1,ComplexityCount:1,arity:0,verifyMaxStatementsPerFunction:function(){state.option.maxstatements&&this.statementCount>state.option.maxstatements&&warning("W071",functionStartToken,this.statementCount)\n},verifyMaxParametersPerFunction:function(){_.isNumber(state.option.maxparams)&&this.arity>state.option.maxparams&&warning("W072",functionStartToken,this.arity)},verifyMaxNestedBlockDepthPerFunction:function(){state.option.maxdepth&&this.nestedBlockDepth>0&&this.nestedBlockDepth===state.option.maxdepth+1&&warning("W073",null,this.nestedBlockDepth)},verifyMaxComplexityPerFunction:function(){var max=state.option.maxcomplexity,cc=this.ComplexityCount;max&&cc>max&&warning("W074",functionStartToken,cc)}}}function increaseComplexityCount(){state.funct["(metrics)"].ComplexityCount+=1}function checkCondAssignment(expr){var id,paren;switch(expr&&(id=expr.id,paren=expr.paren,","===id&&(expr=expr.exprs[expr.exprs.length-1])&&(id=expr.id,paren=paren||expr.paren)),id){case"=":case"+=":case"-=":case"*=":case"%=":case"&=":case"|=":case"^=":case"/=":paren||state.option.boss||warning("W084")}}function checkProperties(props){if(state.inES5())for(var name in props)props[name]&&props[name].setterToken&&!props[name].getterToken&&warning("W078",props[name].setterToken)}function metaProperty(name,c){if(checkPunctuator(state.tokens.next,".")){var left=state.tokens.curr.id;advance(".");var id=identifier();return state.tokens.curr.isMetaProperty=!0,name!==id?error("E057",state.tokens.prev,left,id):c(),state.tokens.curr}}function destructuringPattern(options){var isAssignment=options&&options.assignment;return state.inES6()||warning("W104",state.tokens.curr,isAssignment?"destructuring assignment":"destructuring binding","6"),destructuringPatternRecursive(options)}function destructuringPatternRecursive(options){var ids,identifiers=[],openingParsed=options&&options.openingParsed,isAssignment=options&&options.assignment,recursiveOptions=isAssignment?{assignment:isAssignment}:null,firstToken=openingParsed?state.tokens.curr:state.tokens.next,nextInnerDE=function(){var ident;if(checkPunctuators(state.tokens.next,["[","{"])){ids=destructuringPatternRecursive(recursiveOptions);for(var id in ids)id=ids[id],identifiers.push({id:id.id,token:id.token})}else if(checkPunctuator(state.tokens.next,","))identifiers.push({id:null,token:state.tokens.curr});else{if(!checkPunctuator(state.tokens.next,"(")){var is_rest=checkPunctuator(state.tokens.next,"...");if(isAssignment){var identifierToken=is_rest?peek(0):state.tokens.next;identifierToken.identifier||warning("E030",identifierToken,identifierToken.value);var assignTarget=expression(155);assignTarget&&(checkLeftSideAssign(assignTarget),assignTarget.identifier&&(ident=assignTarget.value))}else ident=identifier();return ident&&identifiers.push({id:ident,token:state.tokens.curr}),is_rest}advance("("),nextInnerDE(),advance(")")}return!1},assignmentProperty=function(){var id;checkPunctuator(state.tokens.next,"[")?(advance("["),expression(10),advance("]"),advance(":"),nextInnerDE()):"(string)"===state.tokens.next.id||"(number)"===state.tokens.next.id?(advance(),advance(":"),nextInnerDE()):(id=identifier(),checkPunctuator(state.tokens.next,":")?(advance(":"),nextInnerDE()):id&&(isAssignment&&checkLeftSideAssign(state.tokens.curr),identifiers.push({id:id,token:state.tokens.curr})))};if(checkPunctuator(firstToken,"[")){openingParsed||advance("["),checkPunctuator(state.tokens.next,"]")&&warning("W137",state.tokens.curr);for(var element_after_rest=!1;!checkPunctuator(state.tokens.next,"]");)nextInnerDE()&&!element_after_rest&&checkPunctuator(state.tokens.next,",")&&(warning("W130",state.tokens.next),element_after_rest=!0),checkPunctuator(state.tokens.next,"=")&&(checkPunctuator(state.tokens.prev,"...")?advance("]"):advance("="),"undefined"===state.tokens.next.id&&warning("W080",state.tokens.prev,state.tokens.prev.value),expression(10)),checkPunctuator(state.tokens.next,"]")||advance(",");advance("]")}else if(checkPunctuator(firstToken,"{")){for(openingParsed||advance("{"),checkPunctuator(state.tokens.next,"}")&&warning("W137",state.tokens.curr);!checkPunctuator(state.tokens.next,"}")&&(assignmentProperty(),checkPunctuator(state.tokens.next,"=")&&(advance("="),"undefined"===state.tokens.next.id&&warning("W080",state.tokens.prev,state.tokens.prev.value),expression(10)),checkPunctuator(state.tokens.next,"}")||(advance(","),!checkPunctuator(state.tokens.next,"}"))););advance("}")}return identifiers}function destructuringPatternMatch(tokens,value){var first=value.first;first&&_.zip(tokens,Array.isArray(first)?first:[first]).forEach(function(val){var token=val[0],value=val[1];token&&value?token.first=value:token&&token.first&&!value&&warning("W080",token.first,token.first.value)})}function blockVariableStatement(type,statement,context){var tokens,lone,value,letblock,prefix=context&&context.prefix,inexport=context&&context.inexport,isLet="let"===type,isConst="const"===type;for(state.inES6()||warning("W104",state.tokens.curr,type,"6"),isLet&&"("===state.tokens.next.value?(state.inMoz()||warning("W118",state.tokens.next,"let block"),advance("("),state.funct["(scope)"].stack(),letblock=!0):state.funct["(noblockscopedvar)"]&&error("E048",state.tokens.curr,isConst?"Const":"Let"),statement.first=[];;){var names=[];_.contains(["{","["],state.tokens.next.value)?(tokens=destructuringPattern(),lone=!1):(tokens=[{id:identifier(),token:state.tokens.curr}],lone=!0),!prefix&&isConst&&"="!==state.tokens.next.id&&warning("E012",state.tokens.curr,state.tokens.curr.value);for(var t in tokens)tokens.hasOwnProperty(t)&&(t=tokens[t],state.funct["(scope)"].block.isGlobal()&&predefined[t.id]===!1&&warning("W079",t.token,t.id),t.id&&!state.funct["(noblockscopedvar)"]&&(state.funct["(scope)"].addlabel(t.id,{type:type,token:t.token}),names.push(t.token),lone&&inexport&&state.funct["(scope)"].setExported(t.token.value,t.token)));if("="===state.tokens.next.id&&(advance("="),prefix||"undefined"!==state.tokens.next.id||warning("W080",state.tokens.prev,state.tokens.prev.value),!prefix&&"="===peek(0).id&&state.tokens.next.identifier&&warning("W120",state.tokens.next,state.tokens.next.value),value=expression(prefix?120:10),lone?tokens[0].first=value:destructuringPatternMatch(names,value)),statement.first=statement.first.concat(names),","!==state.tokens.next.id)break;comma()}return letblock&&(advance(")"),block(!0,!0),statement.block=!0,state.funct["(scope)"].unstack()),statement}function classdef(isStatement){return state.inES6()||warning("W104",state.tokens.curr,"class","6"),isStatement?(this.name=identifier(),state.funct["(scope)"].addlabel(this.name,{type:"class",token:state.tokens.curr})):state.tokens.next.identifier&&"extends"!==state.tokens.next.value?(this.name=identifier(),this.namedExpr=!0):this.name=state.nameStack.infer(),classtail(this),this}function classtail(c){var wasInClassBody=state.inClassBody;"extends"===state.tokens.next.value&&(advance("extends"),c.heritage=expression(10)),state.inClassBody=!0,advance("{"),c.body=classbody(c),advance("}"),state.inClassBody=wasInClassBody}function classbody(c){for(var name,isStatic,isGenerator,getset,computed,props=Object.create(null),staticProps=Object.create(null),i=0;"}"!==state.tokens.next.id;++i)if(name=state.tokens.next,isStatic=!1,isGenerator=!1,getset=null,";"!==name.id){if("*"===name.id&&(isGenerator=!0,advance("*"),name=state.tokens.next),"["===name.id)name=computedPropertyName(),computed=!0;else{if(!isPropertyName(name)){warning("W052",state.tokens.next,state.tokens.next.value||state.tokens.next.type),advance();continue}advance(),computed=!1,name.identifier&&"static"===name.value&&(checkPunctuator(state.tokens.next,"*")&&(isGenerator=!0,advance("*")),(isPropertyName(state.tokens.next)||"["===state.tokens.next.id)&&(computed="["===state.tokens.next.id,isStatic=!0,name=state.tokens.next,"["===state.tokens.next.id?name=computedPropertyName():advance())),!name.identifier||"get"!==name.value&&"set"!==name.value||(isPropertyName(state.tokens.next)||"["===state.tokens.next.id)&&(computed="["===state.tokens.next.id,getset=name,name=state.tokens.next,"["===state.tokens.next.id?name=computedPropertyName():advance())}if(!checkPunctuator(state.tokens.next,"(")){for(error("E054",state.tokens.next,state.tokens.next.value);"}"!==state.tokens.next.id&&!checkPunctuator(state.tokens.next,"(");)advance();"("!==state.tokens.next.value&&doFunction({statement:c})}if(computed||(getset?saveAccessor(getset.value,isStatic?staticProps:props,name.value,name,!0,isStatic):("constructor"===name.value?state.nameStack.set(c):state.nameStack.set(name),saveProperty(isStatic?staticProps:props,name.value,name,!0,isStatic))),getset&&"constructor"===name.value){var propDesc="get"===getset.value?"class getter method":"class setter method";error("E049",name,propDesc,"constructor")}else"prototype"===name.value&&error("E049",name,"class method","prototype");propertyName(name),doFunction({statement:c,type:isGenerator?"generator":null,classExprBinding:c.namedExpr?c.name:null})}else warning("W032"),advance(";");checkProperties(props)}function saveProperty(props,name,tkn,isClass,isStatic){var msg=["key","class method","static class method"];msg=msg[(isClass||!1)+(isStatic||!1)],tkn.identifier&&(name=tkn.value),props[name]&&"__proto__"!==name?warning("W075",state.tokens.next,msg,name):props[name]=Object.create(null),props[name].basic=!0,props[name].basictkn=tkn}function saveAccessor(accessorType,props,name,tkn,isClass,isStatic){var flagName="get"===accessorType?"getterToken":"setterToken",msg="";isClass?(isStatic&&(msg+="static "),msg+=accessorType+"ter method"):msg="key",state.tokens.curr.accessorType=accessorType,state.nameStack.set(tkn),props[name]?(props[name].basic||props[name][flagName])&&"__proto__"!==name&&warning("W075",state.tokens.next,msg,name):props[name]=Object.create(null),props[name][flagName]=tkn}function computedPropertyName(){advance("["),state.inES6()||warning("W119",state.tokens.curr,"computed property names","6");var value=expression(10);return advance("]"),value}function checkPunctuators(token,values){return"(punctuator)"===token.type?_.contains(values,token.value):!1}function checkPunctuator(token,value){return"(punctuator)"===token.type&&token.value===value}function destructuringAssignOrJsonValue(){var block=lookupBlockType();block.notJson?(!state.inES6()&&block.isDestAssign&&warning("W104",state.tokens.curr,"destructuring assignment","6"),statements()):(state.option.laxbreak=!0,state.jsonMode=!0,jsonValue())}function jsonValue(){function jsonObject(){var o={},t=state.tokens.next;if(advance("{"),"}"!==state.tokens.next.id)for(;;){if("(end)"===state.tokens.next.id)error("E026",state.tokens.next,t.line);else{if("}"===state.tokens.next.id){warning("W094",state.tokens.curr);break}","===state.tokens.next.id?error("E028",state.tokens.next):"(string)"!==state.tokens.next.id&&warning("W095",state.tokens.next,state.tokens.next.value)}if(o[state.tokens.next.value]===!0?warning("W075",state.tokens.next,"key",state.tokens.next.value):"__proto__"===state.tokens.next.value&&!state.option.proto||"__iterator__"===state.tokens.next.value&&!state.option.iterator?warning("W096",state.tokens.next,state.tokens.next.value):o[state.tokens.next.value]=!0,advance(),advance(":"),jsonValue(),","!==state.tokens.next.id)break;advance(",")}advance("}")}function jsonArray(){var t=state.tokens.next;if(advance("["),"]"!==state.tokens.next.id)for(;;){if("(end)"===state.tokens.next.id)error("E027",state.tokens.next,t.line);else{if("]"===state.tokens.next.id){warning("W094",state.tokens.curr);break}","===state.tokens.next.id&&error("E028",state.tokens.next)}if(jsonValue(),","!==state.tokens.next.id)break;advance(",")}advance("]")}switch(state.tokens.next.id){case"{":jsonObject();break;case"[":jsonArray();break;case"true":case"false":case"null":case"(number)":case"(string)":advance();break;case"-":advance("-"),advance("(number)");break;default:error("E003",state.tokens.next)}}var api,declared,functions,inblock,indent,lookahead,lex,member,membersOnly,predefined,stack,urls,bang={"<":!0,"<=":!0,"==":!0,"===":!0,"!==":!0,"!=":!0,">":!0,">=":!0,"+":!0,"-":!0,"*":!0,"/":!0,"%":!0},functionicity=["closure","exception","global","label","outer","unused","var"],extraModules=[],emitter=new events.EventEmitter,typeofValues={};typeofValues.legacy=["xml","unknown"],typeofValues.es3=["undefined","boolean","number","string","function","object"],typeofValues.es3=typeofValues.es3.concat(typeofValues.legacy),typeofValues.es6=typeofValues.es3.concat("symbol"),type("(number)",function(){return this}),type("(string)",function(){return this}),state.syntax["(identifier)"]={type:"(identifier)",lbp:0,identifier:!0,nud:function(){var v=this.value;return"=>"===state.tokens.next.id?this:(state.funct["(comparray)"].check(v)||state.funct["(scope)"].block.use(v,state.tokens.curr),this)},led:function(){error("E033",state.tokens.next,state.tokens.next.value)}};var baseTemplateSyntax={lbp:0,identifier:!1,template:!0};state.syntax["(template)"]=_.extend({type:"(template)",nud:doTemplateLiteral,led:doTemplateLiteral,noSubst:!1},baseTemplateSyntax),state.syntax["(template middle)"]=_.extend({type:"(template middle)",middle:!0,noSubst:!1},baseTemplateSyntax),state.syntax["(template tail)"]=_.extend({type:"(template tail)",tail:!0,noSubst:!1},baseTemplateSyntax),state.syntax["(no subst template)"]=_.extend({type:"(template)",nud:doTemplateLiteral,led:doTemplateLiteral,noSubst:!0,tail:!0},baseTemplateSyntax),type("(regexp)",function(){return this}),delim("(endline)"),delim("(begin)"),delim("(end)").reach=!0,delim("(error)").reach=!0,delim("}").reach=!0,delim(")"),delim("]"),delim(\'"\').reach=!0,delim("\'").reach=!0,delim(";"),delim(":").reach=!0,delim("#"),reserve("else"),reserve("case").reach=!0,reserve("catch"),reserve("default").reach=!0,reserve("finally"),reservevar("arguments",function(x){state.isStrict()&&state.funct["(global)"]&&warning("E008",x)}),reservevar("eval"),reservevar("false"),reservevar("Infinity"),reservevar("null"),reservevar("this",function(x){state.isStrict()&&!isMethod()&&!state.option.validthis&&(state.funct["(statement)"]&&state.funct["(name)"].charAt(0)>"Z"||state.funct["(global)"])&&warning("W040",x)}),reservevar("true"),reservevar("undefined"),assignop("=","assign",20),assignop("+=","assignadd",20),assignop("-=","assignsub",20),assignop("*=","assignmult",20),assignop("/=","assigndiv",20).nud=function(){error("E014")},assignop("%=","assignmod",20),bitwiseassignop("&="),bitwiseassignop("|="),bitwiseassignop("^="),bitwiseassignop("<<="),bitwiseassignop(">>="),bitwiseassignop(">>>="),infix(",",function(left,that){var expr;if(that.exprs=[left],state.option.nocomma&&warning("W127"),!comma({peek:!0}))return that;for(;;){if(!(expr=expression(10)))break;if(that.exprs.push(expr),","!==state.tokens.next.value||!comma())break}return that},10,!0),infix("?",function(left,that){return increaseComplexityCount(),that.left=left,that.right=expression(10),advance(":"),that["else"]=expression(10),that},30);var orPrecendence=40;infix("||",function(left,that){return increaseComplexityCount(),that.left=left,that.right=expression(orPrecendence),that},orPrecendence),infix("&&","and",50),bitwise("|","bitor",70),bitwise("^","bitxor",80),bitwise("&","bitand",90),relation("==",function(left,right){var eqnull=state.option.eqnull&&("null"===(left&&left.value)||"null"===(right&&right.value));switch(!0){case!eqnull&&state.option.eqeqeq:this.from=this.character,warning("W116",this,"===","==");break;case isPoorRelation(left):warning("W041",this,"===",left.value);break;case isPoorRelation(right):warning("W041",this,"===",right.value);break;case isTypoTypeof(right,left,state):warning("W122",this,right.value);break;case isTypoTypeof(left,right,state):warning("W122",this,left.value)}return this}),relation("===",function(left,right){return isTypoTypeof(right,left,state)?warning("W122",this,right.value):isTypoTypeof(left,right,state)&&warning("W122",this,left.value),this}),relation("!=",function(left,right){var eqnull=state.option.eqnull&&("null"===(left&&left.value)||"null"===(right&&right.value));return!eqnull&&state.option.eqeqeq?(this.from=this.character,warning("W116",this,"!==","!=")):isPoorRelation(left)?warning("W041",this,"!==",left.value):isPoorRelation(right)?warning("W041",this,"!==",right.value):isTypoTypeof(right,left,state)?warning("W122",this,right.value):isTypoTypeof(left,right,state)&&warning("W122",this,left.value),this}),relation("!==",function(left,right){return isTypoTypeof(right,left,state)?warning("W122",this,right.value):isTypoTypeof(left,right,state)&&warning("W122",this,left.value),this}),relation("<"),relation(">"),relation("<="),relation(">="),bitwise("<<","shiftleft",120),bitwise(">>","shiftright",120),bitwise(">>>","shiftrightunsigned",120),infix("in","in",120),infix("instanceof","instanceof",120),infix("+",function(left,that){var right;return that.left=left,that.right=right=expression(130),left&&right&&"(string)"===left.id&&"(string)"===right.id?(left.value+=right.value,left.character=right.character,!state.option.scripturl&&reg.javascriptURL.test(left.value)&&warning("W050",left),left):that},130),prefix("+","num"),prefix("+++",function(){return warning("W007"),this.arity="unary",this.right=expression(150),this}),infix("+++",function(left){return warning("W007"),this.left=left,this.right=expression(130),this},130),infix("-","sub",130),prefix("-","neg"),prefix("---",function(){return warning("W006"),this.arity="unary",this.right=expression(150),this}),infix("---",function(left){return warning("W006"),this.left=left,this.right=expression(130),this},130),infix("*","mult",140),infix("/","div",140),infix("%","mod",140),suffix("++"),prefix("++","preinc"),state.syntax["++"].exps=!0,suffix("--"),prefix("--","predec"),state.syntax["--"].exps=!0,prefix("delete",function(){var p=expression(10);return p?("."!==p.id&&"["!==p.id&&warning("W051"),this.first=p,p.identifier&&!state.isStrict()&&(p.forgiveUndef=!0),this):this}).exps=!0,prefix("~",function(){return state.option.bitwise&&warning("W016",this,"~"),this.arity="unary",this.right=expression(150),this}),prefix("...",function(){return state.inES6(!0)||warning("W119",this,"spread/rest operator","6"),state.tokens.next.identifier||"(string)"===state.tokens.next.type||checkPunctuators(state.tokens.next,["[","("])||error("E030",state.tokens.next,state.tokens.next.value),expression(150),this}),prefix("!",function(){return this.arity="unary",this.right=expression(150),this.right||quit("E041",this.line||0),bang[this.right.id]===!0&&warning("W018",this,"!"),this}),prefix("typeof",function(){var p=expression(150);return this.first=this.right=p,p||quit("E041",this.line||0,this.character||0),p.identifier&&(p.forgiveUndef=!0),this}),prefix("new",function(){var mp=metaProperty("target",function(){state.inES6(!0)||warning("W119",state.tokens.prev,"new.target","6");for(var inFunction,c=state.funct;c&&(inFunction=!c["(global)"],c["(arrow)"]);)c=c["(context)"];inFunction||warning("W136",state.tokens.prev,"new.target")});if(mp)return mp;var i,c=expression(155);if(c&&"function"!==c.id)if(c.identifier)switch(c["new"]=!0,c.value){case"Number":case"String":case"Boolean":case"Math":case"JSON":warning("W053",state.tokens.prev,c.value);break;case"Symbol":state.inES6()&&warning("W053",state.tokens.prev,c.value);break;case"Function":state.option.evil||warning("W054");break;case"Date":case"RegExp":case"this":break;default:"function"!==c.id&&(i=c.value.substr(0,1),state.option.newcap&&("A">i||i>"Z")&&!state.funct["(scope)"].isPredefined(c.value)&&warning("W055",state.tokens.curr))}else"."!==c.id&&"["!==c.id&&"("!==c.id&&warning("W056",state.tokens.curr);else state.option.supernew||warning("W057",this);return"("===state.tokens.next.id||state.option.supernew||warning("W058",state.tokens.curr,state.tokens.curr.value),this.first=this.right=c,this}),state.syntax["new"].exps=!0,prefix("void").exps=!0,infix(".",function(left,that){var m=identifier(!1,!0);return"string"==typeof m&&countMember(m),that.left=left,that.right=m,m&&"hasOwnProperty"===m&&"="===state.tokens.next.value&&warning("W001"),!left||"arguments"!==left.value||"callee"!==m&&"caller"!==m?state.option.evil||!left||"document"!==left.value||"write"!==m&&"writeln"!==m||warning("W060",left):state.option.noarg?warning("W059",left,m):state.isStrict()&&error("E008"),state.option.evil||"eval"!==m&&"execScript"!==m||isGlobalEval(left,state)&&warning("W061"),that},160,!0),infix("(",function(left,that){state.option.immed&&left&&!left.immed&&"function"===left.id&&warning("W062");var n=0,p=[];if(left&&"(identifier)"===left.type&&left.value.match(/^[A-Z]([A-Z0-9_$]*[a-z][A-Za-z0-9_$]*)?$/)&&-1==="Array Number String Boolean Date Object Error Symbol".indexOf(left.value)&&("Math"===left.value?warning("W063",left):state.option.newcap&&warning("W064",left)),")"!==state.tokens.next.id)for(;p[p.length]=expression(10),n+=1,","===state.tokens.next.id;)comma();return advance(")"),"object"==typeof left&&(state.inES5()||"parseInt"!==left.value||1!==n||warning("W065",state.tokens.curr),state.option.evil||("eval"===left.value||"Function"===left.value||"execScript"===left.value?(warning("W061",left),p[0]&&"(string)"===[0].id&&addInternalSrc(left,p[0].value)):!p[0]||"(string)"!==p[0].id||"setTimeout"!==left.value&&"setInterval"!==left.value?!p[0]||"(string)"!==p[0].id||"."!==left.value||"window"!==left.left.value||"setTimeout"!==left.right&&"setInterval"!==left.right||(warning("W066",left),addInternalSrc(left,p[0].value)):(warning("W066",left),addInternalSrc(left,p[0].value))),left.identifier||"."===left.id||"["===left.id||"=>"===left.id||"("===left.id||"&&"===left.id||"||"===left.id||"?"===left.id||state.inES6()&&left["(name)"]||warning("W067",that)),that.left=left,that},155,!0).exps=!0,prefix("(",function(){var pn1,ret,triggerFnExpr,first,last,pn=state.tokens.next,i=-1,parens=1,opening=state.tokens.curr,preceeding=state.tokens.prev,isNecessary=!state.option.singleGroups;do"("===pn.value?parens+=1:")"===pn.value&&(parens-=1),i+=1,pn1=pn,pn=peek(i);while((0!==parens||")"!==pn1.value)&&";"!==pn.value&&"(end)"!==pn.type);if("function"===state.tokens.next.id&&(triggerFnExpr=state.tokens.next.immed=!0),"=>"===pn.value)return doFunction({type:"arrow",parsedOpening:!0});var exprs=[];if(")"!==state.tokens.next.id)for(;exprs.push(expression(10)),","===state.tokens.next.id;)state.option.nocomma&&warning("W127"),comma();return advance(")",this),state.option.immed&&exprs[0]&&"function"===exprs[0].id&&"("!==state.tokens.next.id&&"."!==state.tokens.next.id&&"["!==state.tokens.next.id&&warning("W068",this),exprs.length?(exprs.length>1?(ret=Object.create(state.syntax[","]),ret.exprs=exprs,first=exprs[0],last=exprs[exprs.length-1],isNecessary||(isNecessary=preceeding.assign||preceeding.delim)):(ret=first=last=exprs[0],isNecessary||(isNecessary=opening.beginsStmt&&("{"===ret.id||triggerFnExpr||isFunctor(ret))||triggerFnExpr&&(!isEndOfExpr()||"}"!==state.tokens.prev.id)||isFunctor(ret)&&!isEndOfExpr()||"{"===ret.id&&"=>"===preceeding.id||"(number)"===ret.type&&checkPunctuator(pn,".")&&/^\\d+$/.test(ret.value))),ret&&(!isNecessary&&(first.left||first.right||ret.exprs)&&(isNecessary=!isBeginOfExpr(preceeding)&&first.lbp<=preceeding.lbp||!isEndOfExpr()&&last.lbp<state.tokens.next.lbp),isNecessary||warning("W126",opening),ret.paren=!0),ret):void 0}),application("=>"),infix("[",function(left,that){var s,e=expression(10);return e&&"(string)"===e.type&&(state.option.evil||"eval"!==e.value&&"execScript"!==e.value||isGlobalEval(left,state)&&warning("W061"),countMember(e.value),!state.option.sub&&reg.identifier.test(e.value)&&(s=state.syntax[e.value],s&&isReserved(s)||warning("W069",state.tokens.prev,e.value))),advance("]",that),e&&"hasOwnProperty"===e.value&&"="===state.tokens.next.value&&warning("W001"),that.left=left,that.right=e,that},160,!0),prefix("[",function(){var blocktype=lookupBlockType();if(blocktype.isCompArray)return state.option.esnext||state.inMoz()||warning("W118",state.tokens.curr,"array comprehension"),comprehensiveArrayExpression();if(blocktype.isDestAssign)return this.destructAssign=destructuringPattern({openingParsed:!0,assignment:!0}),this;var b=state.tokens.curr.line!==startLine(state.tokens.next);for(this.first=[],b&&(indent+=state.option.indent,state.tokens.next.from===indent+state.option.indent&&(indent+=state.option.indent));"(end)"!==state.tokens.next.id;){for(;","===state.tokens.next.id;){if(!state.option.elision){if(state.inES5()){warning("W128");do advance(",");while(","===state.tokens.next.id);continue}warning("W070")}advance(",")}if("]"===state.tokens.next.id)break;if(this.first.push(expression(10)),","!==state.tokens.next.id)break;if(comma({allowTrailing:!0}),"]"===state.tokens.next.id&&!state.inES5()){warning("W070",state.tokens.curr);break}}return b&&(indent-=state.option.indent),advance("]",this),this}),function(x){x.nud=function(){var b,f,i,p,t,nextVal,isGeneratorMethod=!1,props=Object.create(null);b=state.tokens.curr.line!==startLine(state.tokens.next),b&&(indent+=state.option.indent,state.tokens.next.from===indent+state.option.indent&&(indent+=state.option.indent));var blocktype=lookupBlockType();if(blocktype.isDestAssign)return this.destructAssign=destructuringPattern({openingParsed:!0,assignment:!0}),this;for(;"}"!==state.tokens.next.id;){if(nextVal=state.tokens.next.value,!state.tokens.next.identifier||","!==peekIgnoreEOL().id&&"}"!==peekIgnoreEOL().id)if(":"===peek().id||"get"!==nextVal&&"set"!==nextVal){if("*"===state.tokens.next.value&&"(punctuator)"===state.tokens.next.type?(state.inES6()||warning("W104",state.tokens.next,"generator functions","6"),advance("*"),isGeneratorMethod=!0):isGeneratorMethod=!1,"["===state.tokens.next.id)i=computedPropertyName(),state.nameStack.set(i);else if(state.nameStack.set(state.tokens.next),i=propertyName(),saveProperty(props,i,state.tokens.next),"string"!=typeof i)break;"("===state.tokens.next.value?(state.inES6()||warning("W104",state.tokens.curr,"concise methods","6"),doFunction({type:isGeneratorMethod?"generator":null})):(advance(":"),expression(10))}else advance(nextVal),state.inES5()||error("E034"),i=propertyName(),i||state.inES6()||error("E035"),i&&saveAccessor(nextVal,props,i,state.tokens.curr),t=state.tokens.next,f=doFunction(),p=f["(params)"],"get"===nextVal&&i&&p?warning("W076",t,p[0],i):"set"!==nextVal||!i||p&&1===p.length||warning("W077",t,i);else state.inES6()||warning("W104",state.tokens.next,"object short notation","6"),i=propertyName(!0),saveProperty(props,i,state.tokens.next),expression(10);if(countMember(i),","!==state.tokens.next.id)break;comma({allowTrailing:!0,property:!0}),","===state.tokens.next.id?warning("W070",state.tokens.curr):"}"!==state.tokens.next.id||state.inES5()||warning("W070",state.tokens.curr)}return b&&(indent-=state.option.indent),advance("}",this),checkProperties(props),this},x.fud=function(){error("E036",state.tokens.curr)}}(delim("{"));var conststatement=stmt("const",function(context){return blockVariableStatement("const",this,context)});conststatement.exps=!0;var letstatement=stmt("let",function(context){return blockVariableStatement("let",this,context)});letstatement.exps=!0;var varstatement=stmt("var",function(context){var tokens,lone,value,prefix=context&&context.prefix,inexport=context&&context.inexport,implied=context&&context.implied,report=!(context&&context.ignore);for(this.first=[];;){var names=[];_.contains(["{","["],state.tokens.next.value)?(tokens=destructuringPattern(),lone=!1):(tokens=[{id:identifier(),token:state.tokens.curr}],lone=!0),prefix&&implied||!report||!state.option.varstmt||warning("W132",this),this.first=this.first.concat(names);for(var t in tokens)tokens.hasOwnProperty(t)&&(t=tokens[t],!implied&&state.funct["(global)"]&&(predefined[t.id]===!1?warning("W079",t.token,t.id):state.option.futurehostile===!1&&(!state.inES5()&&vars.ecmaIdentifiers[5][t.id]===!1||!state.inES6()&&vars.ecmaIdentifiers[6][t.id]===!1)&&warning("W129",t.token,t.id)),t.id&&("for"===implied?(state.funct["(scope)"].has(t.id)||report&&warning("W088",t.token,t.id),state.funct["(scope)"].block.use(t.id,t.token)):(state.funct["(scope)"].addlabel(t.id,{type:"var",token:t.token}),lone&&inexport&&state.funct["(scope)"].setExported(t.id,t.token)),names.push(t.token)));if("="===state.tokens.next.id&&(state.nameStack.set(state.tokens.curr),advance("="),prefix||!report||state.funct["(loopage)"]||"undefined"!==state.tokens.next.id||warning("W080",state.tokens.prev,state.tokens.prev.value),"="===peek(0).id&&state.tokens.next.identifier&&(!prefix&&report&&!state.funct["(params)"]||-1===state.funct["(params)"].indexOf(state.tokens.next.value))&&warning("W120",state.tokens.next,state.tokens.next.value),value=expression(prefix?120:10),lone?tokens[0].first=value:destructuringPatternMatch(names,value)),","!==state.tokens.next.id)break;comma()}return this});varstatement.exps=!0,blockstmt("class",function(){return classdef.call(this,!0)}),blockstmt("function",function(context){var inexport=context&&context.inexport,generator=!1;"*"===state.tokens.next.value&&(advance("*"),state.inES6({strict:!0})?generator=!0:warning("W119",state.tokens.curr,"function*","6")),inblock&&warning("W082",state.tokens.curr);var i=optionalidentifier();return state.funct["(scope)"].addlabel(i,{type:"function",token:state.tokens.curr}),void 0===i?warning("W025"):inexport&&state.funct["(scope)"].setExported(i,state.tokens.prev),doFunction({name:i,statement:this,type:generator?"generator":null,ignoreLoopFunc:inblock}),"("===state.tokens.next.id&&state.tokens.next.line===state.tokens.curr.line&&error("E039"),this}),prefix("function",function(){var generator=!1;"*"===state.tokens.next.value&&(state.inES6()||warning("W119",state.tokens.curr,"function*","6"),advance("*"),generator=!0);var i=optionalidentifier();return doFunction({name:i,type:generator?"generator":null}),this}),blockstmt("if",function(){var t=state.tokens.next;increaseComplexityCount(),state.condition=!0,advance("(");var expr=expression(0);checkCondAssignment(expr);var forinifcheck=null;state.option.forin&&state.forinifcheckneeded&&(state.forinifcheckneeded=!1,forinifcheck=state.forinifchecks[state.forinifchecks.length-1],forinifcheck.type="(punctuator)"===expr.type&&"!"===expr.value?"(negative)":"(positive)"),advance(")",t),state.condition=!1;var s=block(!0,!0);return forinifcheck&&"(negative)"===forinifcheck.type&&s&&s[0]&&"(identifier)"===s[0].type&&"continue"===s[0].value&&(forinifcheck.type="(negative-with-continue)"),"else"===state.tokens.next.id&&(advance("else"),"if"===state.tokens.next.id||"switch"===state.tokens.next.id?statement():block(!0,!0)),this}),blockstmt("try",function(){function doCatch(){if(advance("catch"),advance("("),state.funct["(scope)"].stack("catchparams"),checkPunctuators(state.tokens.next,["[","{"])){var tokens=destructuringPattern();_.each(tokens,function(token){token.id&&state.funct["(scope)"].addParam(token.id,token,"exception")})}else"(identifier)"!==state.tokens.next.type?warning("E030",state.tokens.next,state.tokens.next.value):state.funct["(scope)"].addParam(identifier(),state.tokens.curr,"exception");"if"===state.tokens.next.value&&(state.inMoz()||warning("W118",state.tokens.curr,"catch filter"),advance("if"),expression(0)),advance(")"),block(!1),state.funct["(scope)"].unstack()}var b;for(block(!0);"catch"===state.tokens.next.id;)increaseComplexityCount(),b&&!state.inMoz()&&warning("W118",state.tokens.next,"multiple catch blocks"),doCatch(),b=!0;return"finally"===state.tokens.next.id?(advance("finally"),block(!0),void 0):(b||error("E021",state.tokens.next,"catch",state.tokens.next.value),this)}),blockstmt("while",function(){var t=state.tokens.next;return state.funct["(breakage)"]+=1,state.funct["(loopage)"]+=1,increaseComplexityCount(),advance("("),checkCondAssignment(expression(0)),advance(")",t),block(!0,!0),state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1,this}).labelled=!0,blockstmt("with",function(){var t=state.tokens.next;return state.isStrict()?error("E010",state.tokens.curr):state.option.withstmt||warning("W085",state.tokens.curr),advance("("),expression(0),advance(")",t),block(!0,!0),this}),blockstmt("switch",function(){var t=state.tokens.next,g=!1,noindent=!1;\nfor(state.funct["(breakage)"]+=1,advance("("),checkCondAssignment(expression(0)),advance(")",t),t=state.tokens.next,advance("{"),state.tokens.next.from===indent&&(noindent=!0),noindent||(indent+=state.option.indent),this.cases=[];;)switch(state.tokens.next.id){case"case":switch(state.funct["(verb)"]){case"yield":case"break":case"case":case"continue":case"return":case"switch":case"throw":break;default:state.tokens.curr.caseFallsThrough||warning("W086",state.tokens.curr,"case")}advance("case"),this.cases.push(expression(0)),increaseComplexityCount(),g=!0,advance(":"),state.funct["(verb)"]="case";break;case"default":switch(state.funct["(verb)"]){case"yield":case"break":case"continue":case"return":case"throw":break;default:this.cases.length&&(state.tokens.curr.caseFallsThrough||warning("W086",state.tokens.curr,"default"))}advance("default"),g=!0,advance(":");break;case"}":return noindent||(indent-=state.option.indent),advance("}",t),state.funct["(breakage)"]-=1,state.funct["(verb)"]=void 0,void 0;case"(end)":return error("E023",state.tokens.next,"}"),void 0;default:if(indent+=state.option.indent,g)switch(state.tokens.curr.id){case",":return error("E040"),void 0;case":":g=!1,statements();break;default:return error("E025",state.tokens.curr),void 0}else{if(":"!==state.tokens.curr.id)return error("E021",state.tokens.next,"case",state.tokens.next.value),void 0;advance(":"),error("E024",state.tokens.curr,":"),statements()}indent-=state.option.indent}return this}).labelled=!0,stmt("debugger",function(){return state.option.debug||warning("W087",this),this}).exps=!0,function(){var x=stmt("do",function(){state.funct["(breakage)"]+=1,state.funct["(loopage)"]+=1,increaseComplexityCount(),this.first=block(!0,!0),advance("while");var t=state.tokens.next;return advance("("),checkCondAssignment(expression(0)),advance(")",t),state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1,this});x.labelled=!0,x.exps=!0}(),blockstmt("for",function(){var s,t=state.tokens.next,letscope=!1,foreachtok=null;"each"===t.value&&(foreachtok=t,advance("each"),state.inMoz()||warning("W118",state.tokens.curr,"for each")),increaseComplexityCount(),advance("(");var nextop,comma,initializer,i=0,inof=["in","of"],level=0;checkPunctuators(state.tokens.next,["{","["])&&++level;do{if(nextop=peek(i),++i,checkPunctuators(nextop,["{","["])?++level:checkPunctuators(nextop,["}","]"])&&--level,0>level)break;0===level&&(!comma&&checkPunctuator(nextop,",")?comma=nextop:!initializer&&checkPunctuator(nextop,"=")&&(initializer=nextop))}while(level>0||!_.contains(inof,nextop.value)&&";"!==nextop.value&&"(end)"!==nextop.type);if(_.contains(inof,nextop.value)){state.inES6()||"of"!==nextop.value||warning("W104",nextop,"for of","6");var ok=!(initializer||comma);if(initializer&&error("W133",comma,nextop.value,"initializer is forbidden"),comma&&error("W133",comma,nextop.value,"more than one ForBinding"),"var"===state.tokens.next.id?(advance("var"),state.tokens.curr.fud({prefix:!0})):"let"===state.tokens.next.id||"const"===state.tokens.next.id?(advance(state.tokens.next.id),letscope=!0,state.funct["(scope)"].stack(),state.tokens.curr.fud({prefix:!0})):Object.create(varstatement).fud({prefix:!0,implied:"for",ignore:!ok}),advance(nextop.value),expression(20),advance(")",t),"in"===nextop.value&&state.option.forin&&(state.forinifcheckneeded=!0,void 0===state.forinifchecks&&(state.forinifchecks=[]),state.forinifchecks.push({type:"(none)"})),state.funct["(breakage)"]+=1,state.funct["(loopage)"]+=1,s=block(!0,!0),"in"===nextop.value&&state.option.forin){if(state.forinifchecks&&state.forinifchecks.length>0){var check=state.forinifchecks.pop();(s&&s.length>0&&("object"!=typeof s[0]||"if"!==s[0].value)||"(positive)"===check.type&&s.length>1||"(negative)"===check.type)&&warning("W089",this)}state.forinifcheckneeded=!1}state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1}else{if(foreachtok&&error("E045",foreachtok),";"!==state.tokens.next.id)if("var"===state.tokens.next.id)advance("var"),state.tokens.curr.fud();else if("let"===state.tokens.next.id)advance("let"),letscope=!0,state.funct["(scope)"].stack(),state.tokens.curr.fud();else for(;expression(0,"for"),","===state.tokens.next.id;)comma();if(nolinebreak(state.tokens.curr),advance(";"),state.funct["(loopage)"]+=1,";"!==state.tokens.next.id&&checkCondAssignment(expression(0)),nolinebreak(state.tokens.curr),advance(";"),";"===state.tokens.next.id&&error("E021",state.tokens.next,")",";"),")"!==state.tokens.next.id)for(;expression(0,"for"),","===state.tokens.next.id;)comma();advance(")",t),state.funct["(breakage)"]+=1,block(!0,!0),state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1}return letscope&&state.funct["(scope)"].unstack(),this}).labelled=!0,stmt("break",function(){var v=state.tokens.next.value;return state.option.asi||nolinebreak(this),";"===state.tokens.next.id||state.tokens.next.reach||state.tokens.curr.line!==startLine(state.tokens.next)?0===state.funct["(breakage)"]&&warning("W052",state.tokens.next,this.value):(state.funct["(scope)"].funct.hasBreakLabel(v)||warning("W090",state.tokens.next,v),this.first=state.tokens.next,advance()),reachable(this),this}).exps=!0,stmt("continue",function(){var v=state.tokens.next.value;return 0===state.funct["(breakage)"]&&warning("W052",state.tokens.next,this.value),state.funct["(loopage)"]||warning("W052",state.tokens.next,this.value),state.option.asi||nolinebreak(this),";"===state.tokens.next.id||state.tokens.next.reach||state.tokens.curr.line===startLine(state.tokens.next)&&(state.funct["(scope)"].funct.hasBreakLabel(v)||warning("W090",state.tokens.next,v),this.first=state.tokens.next,advance()),reachable(this),this}).exps=!0,stmt("return",function(){return this.line===startLine(state.tokens.next)?";"===state.tokens.next.id||state.tokens.next.reach||(this.first=expression(0),!this.first||"(punctuator)"!==this.first.type||"="!==this.first.value||this.first.paren||state.option.boss||warningAt("W093",this.first.line,this.first.character)):"(punctuator)"===state.tokens.next.type&&["[","{","+","-"].indexOf(state.tokens.next.value)>-1&&nolinebreak(this),reachable(this),this}).exps=!0,function(x){x.exps=!0,x.lbp=25}(prefix("yield",function(){var prev=state.tokens.prev;state.inES6(!0)&&!state.funct["(generator)"]?"(catch)"===state.funct["(name)"]&&state.funct["(context)"]["(generator)"]||error("E046",state.tokens.curr,"yield"):state.inES6()||warning("W104",state.tokens.curr,"yield","6"),state.funct["(generator)"]="yielded";var delegatingYield=!1;return"*"===state.tokens.next.value&&(delegatingYield=!0,advance("*")),this.line!==startLine(state.tokens.next)&&state.inMoz()?state.option.asi||nolinebreak(this):((delegatingYield||";"!==state.tokens.next.id&&!state.option.asi&&!state.tokens.next.reach&&state.tokens.next.nud)&&(nobreaknonadjacent(state.tokens.curr,state.tokens.next),this.first=expression(10),"(punctuator)"!==this.first.type||"="!==this.first.value||this.first.paren||state.option.boss||warningAt("W093",this.first.line,this.first.character)),state.inMoz()&&")"!==state.tokens.next.id&&(prev.lbp>30||!prev.assign&&!isEndOfExpr()||"yield"===prev.id)&&error("E050",this)),this})),stmt("throw",function(){return nolinebreak(this),this.first=expression(20),reachable(this),this}).exps=!0,stmt("import",function(){if(state.inES6()||warning("W119",state.tokens.curr,"import","6"),"(string)"===state.tokens.next.type)return advance("(string)"),this;if(state.tokens.next.identifier){if(this.name=identifier(),state.funct["(scope)"].addlabel(this.name,{type:"const",token:state.tokens.curr}),","!==state.tokens.next.value)return advance("from"),advance("(string)"),this;advance(",")}if("*"===state.tokens.next.id)advance("*"),advance("as"),state.tokens.next.identifier&&(this.name=identifier(),state.funct["(scope)"].addlabel(this.name,{type:"const",token:state.tokens.curr}));else for(advance("{");;){if("}"===state.tokens.next.value){advance("}");break}var importName;if("default"===state.tokens.next.type?(importName="default",advance("default")):importName=identifier(),"as"===state.tokens.next.value&&(advance("as"),importName=identifier()),state.funct["(scope)"].addlabel(importName,{type:"const",token:state.tokens.curr}),","!==state.tokens.next.value){if("}"===state.tokens.next.value){advance("}");break}error("E024",state.tokens.next,state.tokens.next.value);break}advance(",")}return advance("from"),advance("(string)"),this}).exps=!0,stmt("export",function(){var token,identifier,ok=!0;if(state.inES6()||(warning("W119",state.tokens.curr,"export","6"),ok=!1),state.funct["(scope)"].block.isGlobal()||(error("E053",state.tokens.curr),ok=!1),"*"===state.tokens.next.value)return advance("*"),advance("from"),advance("(string)"),this;if("default"===state.tokens.next.type){state.nameStack.set(state.tokens.next),advance("default");var exportType=state.tokens.next.id;return("function"===exportType||"class"===exportType)&&(this.block=!0),token=peek(),expression(10),identifier=token.value,this.block&&(state.funct["(scope)"].addlabel(identifier,{type:exportType,token:token}),state.funct["(scope)"].setExported(identifier,token)),this}if("{"===state.tokens.next.value){advance("{");for(var exportedTokens=[];;){if(state.tokens.next.identifier||error("E030",state.tokens.next,state.tokens.next.value),advance(),exportedTokens.push(state.tokens.curr),"as"===state.tokens.next.value&&(advance("as"),state.tokens.next.identifier||error("E030",state.tokens.next,state.tokens.next.value),advance()),","!==state.tokens.next.value){if("}"===state.tokens.next.value){advance("}");break}error("E024",state.tokens.next,state.tokens.next.value);break}advance(",")}return"from"===state.tokens.next.value?(advance("from"),advance("(string)")):ok&&exportedTokens.forEach(function(token){state.funct["(scope)"].setExported(token.value,token)}),this}if("var"===state.tokens.next.id)advance("var"),state.tokens.curr.fud({inexport:!0});else if("let"===state.tokens.next.id)advance("let"),state.tokens.curr.fud({inexport:!0});else if("const"===state.tokens.next.id)advance("const"),state.tokens.curr.fud({inexport:!0});else if("function"===state.tokens.next.id)this.block=!0,advance("function"),state.syntax["function"].fud({inexport:!0});else if("class"===state.tokens.next.id){this.block=!0,advance("class");var classNameToken=state.tokens.next;state.syntax["class"].fud(),state.funct["(scope)"].setExported(classNameToken.value,classNameToken)}else error("E024",state.tokens.next,state.tokens.next.value);return this}).exps=!0,FutureReservedWord("abstract"),FutureReservedWord("boolean"),FutureReservedWord("byte"),FutureReservedWord("char"),FutureReservedWord("class",{es5:!0,nud:classdef}),FutureReservedWord("double"),FutureReservedWord("enum",{es5:!0}),FutureReservedWord("export",{es5:!0}),FutureReservedWord("extends",{es5:!0}),FutureReservedWord("final"),FutureReservedWord("float"),FutureReservedWord("goto"),FutureReservedWord("implements",{es5:!0,strictOnly:!0}),FutureReservedWord("import",{es5:!0}),FutureReservedWord("int"),FutureReservedWord("interface",{es5:!0,strictOnly:!0}),FutureReservedWord("long"),FutureReservedWord("native"),FutureReservedWord("package",{es5:!0,strictOnly:!0}),FutureReservedWord("private",{es5:!0,strictOnly:!0}),FutureReservedWord("protected",{es5:!0,strictOnly:!0}),FutureReservedWord("public",{es5:!0,strictOnly:!0}),FutureReservedWord("short"),FutureReservedWord("static",{es5:!0,strictOnly:!0}),FutureReservedWord("super",{es5:!0}),FutureReservedWord("synchronized"),FutureReservedWord("transient"),FutureReservedWord("volatile");var lookupBlockType=function(){var pn,pn1,prev,i=-1,bracketStack=0,ret={};checkPunctuators(state.tokens.curr,["[","{"])&&(bracketStack+=1);do{if(prev=-1===i?state.tokens.curr:pn,pn=-1===i?state.tokens.next:peek(i),pn1=peek(i+1),i+=1,checkPunctuators(pn,["[","{"])?bracketStack+=1:checkPunctuators(pn,["]","}"])&&(bracketStack-=1),1===bracketStack&&pn.identifier&&"for"===pn.value&&!checkPunctuator(prev,".")){ret.isCompArray=!0,ret.notJson=!0;break}if(0===bracketStack&&checkPunctuators(pn,["}","]"])){if("="===pn1.value){ret.isDestAssign=!0,ret.notJson=!0;break}if("."===pn1.value){ret.notJson=!0;break}}checkPunctuator(pn,";")&&(ret.isBlock=!0,ret.notJson=!0)}while(bracketStack>0&&"(end)"!==pn.id);return ret},arrayComprehension=function(){function declare(v){var l=_current.variables.filter(function(elt){return elt.value===v?(elt.undef=!1,v):void 0}).length;return 0!==l}function use(v){var l=_current.variables.filter(function(elt){return elt.value!==v||elt.undef?void 0:(elt.unused===!0&&(elt.unused=!1),v)}).length;return 0===l}var _current,CompArray=function(){this.mode="use",this.variables=[]},_carrays=[];return{stack:function(){_current=new CompArray,_carrays.push(_current)},unstack:function(){_current.variables.filter(function(v){v.unused&&warning("W098",v.token,v.raw_text||v.value),v.undef&&state.funct["(scope)"].block.use(v.value,v.token)}),_carrays.splice(-1,1),_current=_carrays[_carrays.length-1]},setState:function(s){_.contains(["use","define","generate","filter"],s)&&(_current.mode=s)},check:function(v){return _current?_current&&"use"===_current.mode?(use(v)&&_current.variables.push({funct:state.funct,token:state.tokens.curr,value:v,undef:!0,unused:!1}),!0):_current&&"define"===_current.mode?(declare(v)||_current.variables.push({funct:state.funct,token:state.tokens.curr,value:v,undef:!1,unused:!0}),!0):_current&&"generate"===_current.mode?(state.funct["(scope)"].block.use(v,state.tokens.curr),!0):_current&&"filter"===_current.mode?(use(v)&&state.funct["(scope)"].block.use(v,state.tokens.curr),!0):!1:void 0}}},escapeRegex=function(str){return str.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,"\\\\$&")},itself=function(s,o,g){function each(obj,cb){obj&&(Array.isArray(obj)||"object"!=typeof obj||(obj=Object.keys(obj)),obj.forEach(cb))}var i,k,x,reIgnoreStr,reIgnore,optionKeys,newOptionObj={},newIgnoredObj={};o=_.clone(o),state.reset(),o&&o.scope?JSHINT.scope=o.scope:(JSHINT.errors=[],JSHINT.undefs=[],JSHINT.internals=[],JSHINT.blacklist={},JSHINT.scope="(main)"),predefined=Object.create(null),combine(predefined,vars.ecmaIdentifiers[3]),combine(predefined,vars.reservedVars),combine(predefined,g||{}),declared=Object.create(null);var exported=Object.create(null);if(o)for(each(o.predef||null,function(item){var slice,prop;"-"===item[0]?(slice=item.slice(1),JSHINT.blacklist[slice]=slice,delete predefined[slice]):(prop=Object.getOwnPropertyDescriptor(o.predef,item),predefined[item]=prop?prop.value:!1)}),each(o.exported||null,function(item){exported[item]=!0}),delete o.predef,delete o.exported,optionKeys=Object.keys(o),x=0;optionKeys.length>x;x++)if(/^-W\\d{3}$/g.test(optionKeys[x]))newIgnoredObj[optionKeys[x].slice(1)]=!0;else{var optionKey=optionKeys[x];newOptionObj[optionKey]=o[optionKey],("esversion"===optionKey&&5===o[optionKey]||"es5"===optionKey&&o[optionKey])&&warning("I003"),"newcap"===optionKeys[x]&&o[optionKey]===!1&&(newOptionObj["(explicitNewcap)"]=!0)}state.option=newOptionObj,state.ignored=newIgnoredObj,state.option.indent=state.option.indent||4,state.option.maxerr=state.option.maxerr||50,indent=1;var scopeManagerInst=scopeManager(state,predefined,exported,declared);if(scopeManagerInst.on("warning",function(ev){warning.apply(null,[ev.code,ev.token].concat(ev.data))}),scopeManagerInst.on("error",function(ev){error.apply(null,[ev.code,ev.token].concat(ev.data))}),state.funct=functor("(global)",null,{"(global)":!0,"(scope)":scopeManagerInst,"(comparray)":arrayComprehension(),"(metrics)":createMetrics(state.tokens.next)}),functions=[state.funct],urls=[],stack=null,member={},membersOnly=null,inblock=!1,lookahead=[],!isString(s)&&!Array.isArray(s))return errorAt("E004",0),!1;api={get isJSON(){return state.jsonMode},getOption:function(name){return state.option[name]||null},getCache:function(name){return state.cache[name]},setCache:function(name,value){state.cache[name]=value},warn:function(code,data){warningAt.apply(null,[code,data.line,data.char].concat(data.data))},on:function(names,listener){names.split(" ").forEach(function(name){emitter.on(name,listener)}.bind(this))}},emitter.removeAllListeners(),(extraModules||[]).forEach(function(func){func(api)}),state.tokens.prev=state.tokens.curr=state.tokens.next=state.syntax["(begin)"],o&&o.ignoreDelimiters&&(Array.isArray(o.ignoreDelimiters)||(o.ignoreDelimiters=[o.ignoreDelimiters]),o.ignoreDelimiters.forEach(function(delimiterPair){delimiterPair.start&&delimiterPair.end&&(reIgnoreStr=escapeRegex(delimiterPair.start)+"[\\\\s\\\\S]*?"+escapeRegex(delimiterPair.end),reIgnore=RegExp(reIgnoreStr,"ig"),s=s.replace(reIgnore,function(match){return match.replace(/./g," ")}))})),lex=new Lexer(s),lex.on("warning",function(ev){warningAt.apply(null,[ev.code,ev.line,ev.character].concat(ev.data))}),lex.on("error",function(ev){errorAt.apply(null,[ev.code,ev.line,ev.character].concat(ev.data))}),lex.on("fatal",function(ev){quit("E041",ev.line,ev.from)}),lex.on("Identifier",function(ev){emitter.emit("Identifier",ev)}),lex.on("String",function(ev){emitter.emit("String",ev)}),lex.on("Number",function(ev){emitter.emit("Number",ev)}),lex.start();for(var name in o)_.has(o,name)&&checkOption(name,state.tokens.curr);assume(),combine(predefined,g||{}),comma.first=!0;try{switch(advance(),state.tokens.next.id){case"{":case"[":destructuringAssignOrJsonValue();break;default:directives(),state.directive["use strict"]&&"global"!==state.option.strict&&warning("W097",state.tokens.prev),statements()}"(end)"!==state.tokens.next.id&&quit("E041",state.tokens.curr.line),state.funct["(scope)"].unstack()}catch(err){if(!err||"JSHintError"!==err.name)throw err;var nt=state.tokens.next||{};JSHINT.errors.push({scope:"(main)",raw:err.raw,code:err.code,reason:err.message,line:err.line||nt.line,character:err.character||nt.from},null)}if("(main)"===JSHINT.scope)for(o=o||{},i=0;JSHINT.internals.length>i;i+=1)k=JSHINT.internals[i],o.scope=k.elem,itself(k.value,o,g);return 0===JSHINT.errors.length};return itself.addModule=function(func){extraModules.push(func)},itself.addModule(style.register),itself.data=function(){var fu,f,i,j,n,globals,data={functions:[],options:state.option};itself.errors.length&&(data.errors=itself.errors),state.jsonMode&&(data.json=!0);var impliedGlobals=state.funct["(scope)"].getImpliedGlobals();for(impliedGlobals.length>0&&(data.implieds=impliedGlobals),urls.length>0&&(data.urls=urls),globals=state.funct["(scope)"].getUsedOrDefinedGlobals(),globals.length>0&&(data.globals=globals),i=1;functions.length>i;i+=1){for(f=functions[i],fu={},j=0;functionicity.length>j;j+=1)fu[functionicity[j]]=[];for(j=0;functionicity.length>j;j+=1)0===fu[functionicity[j]].length&&delete fu[functionicity[j]];fu.name=f["(name)"],fu.param=f["(params)"],fu.line=f["(line)"],fu.character=f["(character)"],fu.last=f["(last)"],fu.lastcharacter=f["(lastcharacter)"],fu.metrics={complexity:f["(metrics)"].ComplexityCount,parameters:f["(metrics)"].arity,statements:f["(metrics)"].statementCount},data.functions.push(fu)}var unuseds=state.funct["(scope)"].getUnuseds();unuseds.length>0&&(data.unused=unuseds);for(n in member)if("number"==typeof member[n]){data.member=member;break}return data},itself.jshint=itself,itself}();"object"==typeof exports&&exports&&(exports.JSHINT=JSHINT)},{"../lodash":"/node_modules/jshint/lodash.js","./lex.js":"/node_modules/jshint/src/lex.js","./messages.js":"/node_modules/jshint/src/messages.js","./options.js":"/node_modules/jshint/src/options.js","./reg.js":"/node_modules/jshint/src/reg.js","./scope-manager.js":"/node_modules/jshint/src/scope-manager.js","./state.js":"/node_modules/jshint/src/state.js","./style.js":"/node_modules/jshint/src/style.js","./vars.js":"/node_modules/jshint/src/vars.js",events:"/node_modules/browserify/node_modules/events/events.js"}],"/node_modules/jshint/src/lex.js":[function(_dereq_,module,exports){"use strict";function asyncTrigger(){var _checks=[];return{push:function(fn){_checks.push(fn)},check:function(){for(var check=0;_checks.length>check;++check)_checks[check]();_checks.splice(0,_checks.length)}}}function Lexer(source){var lines=source;"string"==typeof lines&&(lines=lines.replace(/\\r\\n/g,"\\n").replace(/\\r/g,"\\n").split("\\n")),lines[0]&&"#!"===lines[0].substr(0,2)&&(-1!==lines[0].indexOf("node")&&(state.option.node=!0),lines[0]=""),this.emitter=new events.EventEmitter,this.source=source,this.setLines(lines),this.prereg=!0,this.line=0,this.char=1,this.from=1,this.input="",this.inComment=!1,this.context=[],this.templateStarts=[];for(var i=0;state.option.indent>i;i+=1)state.tab+=" ";this.ignoreLinterErrors=!1}var _=_dereq_("../lodash"),events=_dereq_("events"),reg=_dereq_("./reg.js"),state=_dereq_("./state.js").state,unicodeData=_dereq_("../data/ascii-identifier-data.js"),asciiIdentifierStartTable=unicodeData.asciiIdentifierStartTable,asciiIdentifierPartTable=unicodeData.asciiIdentifierPartTable,Token={Identifier:1,Punctuator:2,NumericLiteral:3,StringLiteral:4,Comment:5,Keyword:6,NullLiteral:7,BooleanLiteral:8,RegExp:9,TemplateHead:10,TemplateMiddle:11,TemplateTail:12,NoSubstTemplate:13},Context={Block:1,Template:2};Lexer.prototype={_lines:[],inContext:function(ctxType){return this.context.length>0&&this.context[this.context.length-1].type===ctxType},pushContext:function(ctxType){this.context.push({type:ctxType})},popContext:function(){return this.context.pop()},isContext:function(context){return this.context.length>0&&this.context[this.context.length-1]===context},currentContext:function(){return this.context.length>0&&this.context[this.context.length-1]},getLines:function(){return this._lines=state.lines,this._lines},setLines:function(val){this._lines=val,state.lines=this._lines},peek:function(i){return this.input.charAt(i||0)},skip:function(i){i=i||1,this.char+=i,this.input=this.input.slice(i)},on:function(names,listener){names.split(" ").forEach(function(name){this.emitter.on(name,listener)}.bind(this))},trigger:function(){this.emitter.emit.apply(this.emitter,Array.prototype.slice.call(arguments))},triggerAsync:function(type,args,checks,fn){checks.push(function(){fn()&&this.trigger(type,args)}.bind(this))},scanPunctuator:function(){var ch2,ch3,ch4,ch1=this.peek();switch(ch1){case".":if(/^[0-9]$/.test(this.peek(1)))return null;if("."===this.peek(1)&&"."===this.peek(2))return{type:Token.Punctuator,value:"..."};case"(":case")":case";":case",":case"[":case"]":case":":case"~":case"?":return{type:Token.Punctuator,value:ch1};case"{":return this.pushContext(Context.Block),{type:Token.Punctuator,value:ch1};case"}":return this.inContext(Context.Block)&&this.popContext(),{type:Token.Punctuator,value:ch1};case"#":return{type:Token.Punctuator,value:ch1};case"":return null}return ch2=this.peek(1),ch3=this.peek(2),ch4=this.peek(3),">"===ch1&&">"===ch2&&">"===ch3&&"="===ch4?{type:Token.Punctuator,value:">>>="}:"="===ch1&&"="===ch2&&"="===ch3?{type:Token.Punctuator,value:"==="}:"!"===ch1&&"="===ch2&&"="===ch3?{type:Token.Punctuator,value:"!=="}:">"===ch1&&">"===ch2&&">"===ch3?{type:Token.Punctuator,value:">>>"}:"<"===ch1&&"<"===ch2&&"="===ch3?{type:Token.Punctuator,value:"<<="}:">"===ch1&&">"===ch2&&"="===ch3?{type:Token.Punctuator,value:">>="}:"="===ch1&&">"===ch2?{type:Token.Punctuator,value:ch1+ch2}:ch1===ch2&&"+-<>&|".indexOf(ch1)>=0?{type:Token.Punctuator,value:ch1+ch2}:"<>=!+-*%&|^".indexOf(ch1)>=0?"="===ch2?{type:Token.Punctuator,value:ch1+ch2}:{type:Token.Punctuator,value:ch1}:"/"===ch1?"="===ch2?{type:Token.Punctuator,value:"/="}:{type:Token.Punctuator,value:"/"}:null},scanComments:function(){function commentToken(label,body,opt){var special=["jshint","jslint","members","member","globals","global","exported"],isSpecial=!1,value=label+body,commentType="plain";return opt=opt||{},opt.isMultiline&&(value+="*/"),body=body.replace(/\\n/g," "),"/*"===label&&reg.fallsThrough.test(body)&&(isSpecial=!0,commentType="falls through"),special.forEach(function(str){if(!isSpecial&&("//"!==label||"jshint"===str)&&(" "===body.charAt(str.length)&&body.substr(0,str.length)===str&&(isSpecial=!0,label+=str,body=body.substr(str.length)),isSpecial||" "!==body.charAt(0)||" "!==body.charAt(str.length+1)||body.substr(1,str.length)!==str||(isSpecial=!0,label=label+" "+str,body=body.substr(str.length+1)),isSpecial))switch(str){case"member":commentType="members";break;case"global":commentType="globals";break;default:var options=body.split(":").map(function(v){return v.replace(/^\\s+/,"").replace(/\\s+$/,"")});if(2===options.length)switch(options[0]){case"ignore":switch(options[1]){case"start":self.ignoringLinterErrors=!0,isSpecial=!1;break;case"end":self.ignoringLinterErrors=!1,isSpecial=!1}}commentType=str}}),{type:Token.Comment,commentType:commentType,value:value,body:body,isSpecial:isSpecial,isMultiline:opt.isMultiline||!1,isMalformed:opt.isMalformed||!1}}var ch1=this.peek(),ch2=this.peek(1),rest=this.input.substr(2),startLine=this.line,startChar=this.char,self=this;if("*"===ch1&&"/"===ch2)return this.trigger("error",{code:"E018",line:startLine,character:startChar}),this.skip(2),null;if("/"!==ch1||"*"!==ch2&&"/"!==ch2)return null;if("/"===ch2)return this.skip(this.input.length),commentToken("//",rest);var body="";if("*"===ch2){for(this.inComment=!0,this.skip(2);"*"!==this.peek()||"/"!==this.peek(1);)if(""===this.peek()){if(body+="\\n",!this.nextLine())return this.trigger("error",{code:"E017",line:startLine,character:startChar}),this.inComment=!1,commentToken("/*",body,{isMultiline:!0,isMalformed:!0})}else body+=this.peek(),this.skip();return this.skip(2),this.inComment=!1,commentToken("/*",body,{isMultiline:!0})}},scanKeyword:function(){var result=/^[a-zA-Z_$][a-zA-Z0-9_$]*/.exec(this.input),keywords=["if","in","do","var","for","new","try","let","this","else","case","void","with","enum","while","break","catch","throw","const","yield","class","super","return","typeof","delete","switch","export","import","default","finally","extends","function","continue","debugger","instanceof"];return result&&keywords.indexOf(result[0])>=0?{type:Token.Keyword,value:result[0]}:null},scanIdentifier:function(){function isNonAsciiIdentifierStart(code){return code>256}function isNonAsciiIdentifierPart(code){return code>256}function isHexDigit(str){return/^[0-9a-fA-F]$/.test(str)}function removeEscapeSequences(id){return id.replace(/\\\\u([0-9a-fA-F]{4})/g,function(m0,codepoint){return String.fromCharCode(parseInt(codepoint,16))})}var type,char,id="",index=0,readUnicodeEscapeSequence=function(){if(index+=1,"u"!==this.peek(index))return null;var code,ch1=this.peek(index+1),ch2=this.peek(index+2),ch3=this.peek(index+3),ch4=this.peek(index+4);return isHexDigit(ch1)&&isHexDigit(ch2)&&isHexDigit(ch3)&&isHexDigit(ch4)?(code=parseInt(ch1+ch2+ch3+ch4,16),asciiIdentifierPartTable[code]||isNonAsciiIdentifierPart(code)?(index+=5,"\\\\u"+ch1+ch2+ch3+ch4):null):null}.bind(this),getIdentifierStart=function(){var chr=this.peek(index),code=chr.charCodeAt(0);return 92===code?readUnicodeEscapeSequence():128>code?asciiIdentifierStartTable[code]?(index+=1,chr):null:isNonAsciiIdentifierStart(code)?(index+=1,chr):null}.bind(this),getIdentifierPart=function(){var chr=this.peek(index),code=chr.charCodeAt(0);return 92===code?readUnicodeEscapeSequence():128>code?asciiIdentifierPartTable[code]?(index+=1,chr):null:isNonAsciiIdentifierPart(code)?(index+=1,chr):null}.bind(this);if(char=getIdentifierStart(),null===char)return null;for(id=char;char=getIdentifierPart(),null!==char;)id+=char;switch(id){case"true":case"false":type=Token.BooleanLiteral;break;case"null":type=Token.NullLiteral;break;default:type=Token.Identifier}return{type:type,value:removeEscapeSequences(id),text:id,tokenLength:id.length}},scanNumericLiteral:function(){function isDecimalDigit(str){return/^[0-9]$/.test(str)}function isOctalDigit(str){return/^[0-7]$/.test(str)}function isBinaryDigit(str){return/^[01]$/.test(str)}function isHexDigit(str){return/^[0-9a-fA-F]$/.test(str)}function isIdentifierStart(ch){return"$"===ch||"_"===ch||"\\\\"===ch||ch>="a"&&"z">=ch||ch>="A"&&"Z">=ch}var bad,index=0,value="",length=this.input.length,char=this.peek(index),isAllowedDigit=isDecimalDigit,base=10,isLegacy=!1;if("."!==char&&!isDecimalDigit(char))return null;if("."!==char){for(value=this.peek(index),index+=1,char=this.peek(index),"0"===value&&(("x"===char||"X"===char)&&(isAllowedDigit=isHexDigit,base=16,index+=1,value+=char),("o"===char||"O"===char)&&(isAllowedDigit=isOctalDigit,base=8,state.inES6(!0)||this.trigger("warning",{code:"W119",line:this.line,character:this.char,data:["Octal integer literal","6"]}),index+=1,value+=char),("b"===char||"B"===char)&&(isAllowedDigit=isBinaryDigit,base=2,state.inES6(!0)||this.trigger("warning",{code:"W119",line:this.line,character:this.char,data:["Binary integer literal","6"]}),index+=1,value+=char),isOctalDigit(char)&&(isAllowedDigit=isOctalDigit,base=8,isLegacy=!0,bad=!1,index+=1,value+=char),!isOctalDigit(char)&&isDecimalDigit(char)&&(index+=1,value+=char));length>index;){if(char=this.peek(index),isLegacy&&isDecimalDigit(char))bad=!0;else if(!isAllowedDigit(char))break;value+=char,index+=1}if(isAllowedDigit!==isDecimalDigit)return!isLegacy&&2>=value.length?{type:Token.NumericLiteral,value:value,isMalformed:!0}:length>index&&(char=this.peek(index),isIdentifierStart(char))?null:{type:Token.NumericLiteral,value:value,base:base,isLegacy:isLegacy,isMalformed:!1}}if("."===char)for(value+=char,index+=1;length>index&&(char=this.peek(index),isDecimalDigit(char));)value+=char,index+=1;if("e"===char||"E"===char){if(value+=char,index+=1,char=this.peek(index),("+"===char||"-"===char)&&(value+=this.peek(index),index+=1),char=this.peek(index),!isDecimalDigit(char))return null;for(value+=char,index+=1;length>index&&(char=this.peek(index),isDecimalDigit(char));)value+=char,index+=1}return length>index&&(char=this.peek(index),isIdentifierStart(char))?null:{type:Token.NumericLiteral,value:value,base:base,isMalformed:!isFinite(value)}},scanEscapeSequence:function(checks){var allowNewLine=!1,jump=1;this.skip();var char=this.peek();switch(char){case"\'":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\\\\'"]},checks,function(){return state.jsonMode});break;case"b":char="\\\\b";break;case"f":char="\\\\f";break;case"n":char="\\\\n";break;case"r":char="\\\\r";break;case"t":char="\\\\t";break;case"0":char="\\\\0";var n=parseInt(this.peek(1),10);this.triggerAsync("warning",{code:"W115",line:this.line,character:this.char},checks,function(){return n>=0&&7>=n&&state.isStrict()});break;case"u":var hexCode=this.input.substr(1,4),code=parseInt(hexCode,16);isNaN(code)&&this.trigger("warning",{code:"W052",line:this.line,character:this.char,data:["u"+hexCode]}),char=String.fromCharCode(code),jump=5;break;case"v":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\\\v"]},checks,function(){return state.jsonMode}),char="\v";break;case"x":var x=parseInt(this.input.substr(1,2),16);this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\\\x-"]},checks,function(){return state.jsonMode}),char=String.fromCharCode(x),jump=3;break;case"\\\\":char="\\\\\\\\";break;case\'"\':char=\'\\\\"\';break;case"/":break;case"":allowNewLine=!0,char=""}return{"char":char,jump:jump,allowNewLine:allowNewLine}},scanTemplateLiteral:function(checks){var tokenType,ch,value="",startLine=this.line,startChar=this.char,depth=this.templateStarts.length;if(!state.inES6(!0))return null;if("`"===this.peek())tokenType=Token.TemplateHead,this.templateStarts.push({line:this.line,"char":this.char}),depth=this.templateStarts.length,this.skip(1),this.pushContext(Context.Template);else{if(!this.inContext(Context.Template)||"}"!==this.peek())return null;tokenType=Token.TemplateMiddle}for(;"`"!==this.peek();){for(;""===(ch=this.peek());)if(value+="\\n",!this.nextLine()){var startPos=this.templateStarts.pop();return this.trigger("error",{code:"E052",line:startPos.line,character:startPos.char}),{type:tokenType,value:value,startLine:startLine,startChar:startChar,isUnclosed:!0,depth:depth,context:this.popContext()}}if("$"===ch&&"{"===this.peek(1))return value+="${",this.skip(2),{type:tokenType,value:value,startLine:startLine,startChar:startChar,isUnclosed:!1,depth:depth,context:this.currentContext()};\nif("\\\\"===ch){var escape=this.scanEscapeSequence(checks);value+=escape.char,this.skip(escape.jump)}else"`"!==ch&&(value+=ch,this.skip(1))}return tokenType=tokenType===Token.TemplateHead?Token.NoSubstTemplate:Token.TemplateTail,this.skip(1),this.templateStarts.pop(),{type:tokenType,value:value,startLine:startLine,startChar:startChar,isUnclosed:!1,depth:depth,context:this.popContext()}},scanStringLiteral:function(checks){var quote=this.peek();if(\'"\'!==quote&&"\'"!==quote)return null;this.triggerAsync("warning",{code:"W108",line:this.line,character:this.char},checks,function(){return state.jsonMode&&\'"\'!==quote});var value="",startLine=this.line,startChar=this.char,allowNewLine=!1;for(this.skip();this.peek()!==quote;)if(""===this.peek()){if(allowNewLine?(allowNewLine=!1,this.triggerAsync("warning",{code:"W043",line:this.line,character:this.char},checks,function(){return!state.option.multistr}),this.triggerAsync("warning",{code:"W042",line:this.line,character:this.char},checks,function(){return state.jsonMode&&state.option.multistr})):this.trigger("warning",{code:"W112",line:this.line,character:this.char}),!this.nextLine())return this.trigger("error",{code:"E029",line:startLine,character:startChar}),{type:Token.StringLiteral,value:value,startLine:startLine,startChar:startChar,isUnclosed:!0,quote:quote}}else{allowNewLine=!1;var char=this.peek(),jump=1;if(" ">char&&this.trigger("warning",{code:"W113",line:this.line,character:this.char,data:["<non-printable>"]}),"\\\\"===char){var parsed=this.scanEscapeSequence(checks);char=parsed.char,jump=parsed.jump,allowNewLine=parsed.allowNewLine}value+=char,this.skip(jump)}return this.skip(),{type:Token.StringLiteral,value:value,startLine:startLine,startChar:startChar,isUnclosed:!1,quote:quote}},scanRegExp:function(){var terminated,index=0,length=this.input.length,char=this.peek(),value=char,body="",flags=[],malformed=!1,isCharSet=!1,scanUnexpectedChars=function(){" ">char&&(malformed=!0,this.trigger("warning",{code:"W048",line:this.line,character:this.char})),"<"===char&&(malformed=!0,this.trigger("warning",{code:"W049",line:this.line,character:this.char,data:[char]}))}.bind(this);if(!this.prereg||"/"!==char)return null;for(index+=1,terminated=!1;length>index;)if(char=this.peek(index),value+=char,body+=char,isCharSet)"]"===char&&("\\\\"!==this.peek(index-1)||"\\\\"===this.peek(index-2))&&(isCharSet=!1),"\\\\"===char&&(index+=1,char=this.peek(index),body+=char,value+=char,scanUnexpectedChars()),index+=1;else{if("\\\\"===char){if(index+=1,char=this.peek(index),body+=char,value+=char,scanUnexpectedChars(),"/"===char){index+=1;continue}if("["===char){index+=1;continue}}if("["!==char){if("/"===char){body=body.substr(0,body.length-1),terminated=!0,index+=1;break}index+=1}else isCharSet=!0,index+=1}if(!terminated)return this.trigger("error",{code:"E015",line:this.line,character:this.from}),void this.trigger("fatal",{line:this.line,from:this.from});for(;length>index&&(char=this.peek(index),/[gim]/.test(char));)flags.push(char),value+=char,index+=1;try{RegExp(body,flags.join(""))}catch(err){malformed=!0,this.trigger("error",{code:"E016",line:this.line,character:this.char,data:[err.message]})}return{type:Token.RegExp,value:value,flags:flags,isMalformed:malformed}},scanNonBreakingSpaces:function(){return state.option.nonbsp?this.input.search(/(\\u00A0)/):-1},scanUnsafeChars:function(){return this.input.search(reg.unsafeChars)},next:function(checks){this.from=this.char;var start;if(/\\s/.test(this.peek()))for(start=this.char;/\\s/.test(this.peek());)this.from+=1,this.skip();var match=this.scanComments()||this.scanStringLiteral(checks)||this.scanTemplateLiteral(checks);return match?match:(match=this.scanRegExp()||this.scanPunctuator()||this.scanKeyword()||this.scanIdentifier()||this.scanNumericLiteral(),match?(this.skip(match.tokenLength||match.value.length),match):null)},nextLine:function(){var char;if(this.line>=this.getLines().length)return!1;this.input=this.getLines()[this.line],this.line+=1,this.char=1,this.from=1;var inputTrimmed=this.input.trim(),startsWith=function(){return _.some(arguments,function(prefix){return 0===inputTrimmed.indexOf(prefix)})},endsWith=function(){return _.some(arguments,function(suffix){return-1!==inputTrimmed.indexOf(suffix,inputTrimmed.length-suffix.length)})};if(this.ignoringLinterErrors===!0&&(startsWith("/*","//")||this.inComment&&endsWith("*/")||(this.input="")),char=this.scanNonBreakingSpaces(),char>=0&&this.trigger("warning",{code:"W125",line:this.line,character:char+1}),this.input=this.input.replace(/\\t/g,state.tab),char=this.scanUnsafeChars(),char>=0&&this.trigger("warning",{code:"W100",line:this.line,character:char}),!this.ignoringLinterErrors&&state.option.maxlen&&state.option.maxlen<this.input.length){var inComment=this.inComment||startsWith.call(inputTrimmed,"//")||startsWith.call(inputTrimmed,"/*"),shouldTriggerError=!inComment||!reg.maxlenException.test(inputTrimmed);shouldTriggerError&&this.trigger("warning",{code:"W101",line:this.line,character:this.input.length})}return!0},start:function(){this.nextLine()},token:function(){function isReserved(token,isProperty){if(!token.reserved)return!1;var meta=token.meta;if(meta&&meta.isFutureReservedWord&&state.inES5()){if(!meta.es5)return!1;if(meta.strictOnly&&!state.option.strict&&!state.isStrict())return!1;if(isProperty)return!1}return!0}for(var token,checks=asyncTrigger(),create=function(type,value,isProperty,token){var obj;if("(endline)"!==type&&"(end)"!==type&&(this.prereg=!1),"(punctuator)"===type){switch(value){case".":case")":case"~":case"#":case"]":case"++":case"--":this.prereg=!1;break;default:this.prereg=!0}obj=Object.create(state.syntax[value]||state.syntax["(error)"])}return"(identifier)"===type&&(("return"===value||"case"===value||"typeof"===value)&&(this.prereg=!0),_.has(state.syntax,value)&&(obj=Object.create(state.syntax[value]||state.syntax["(error)"]),isReserved(obj,isProperty&&"(identifier)"===type)||(obj=null))),obj||(obj=Object.create(state.syntax[type])),obj.identifier="(identifier)"===type,obj.type=obj.type||type,obj.value=value,obj.line=this.line,obj.character=this.char,obj.from=this.from,obj.identifier&&token&&(obj.raw_text=token.text||token.value),token&&token.startLine&&token.startLine!==this.line&&(obj.startLine=token.startLine),token&&token.context&&(obj.context=token.context),token&&token.depth&&(obj.depth=token.depth),token&&token.isUnclosed&&(obj.isUnclosed=token.isUnclosed),isProperty&&obj.identifier&&(obj.isProperty=isProperty),obj.check=checks.check,obj}.bind(this);;){if(!this.input.length)return this.nextLine()?create("(endline)",""):this.exhausted?null:(this.exhausted=!0,create("(end)",""));if(token=this.next(checks))switch(token.type){case Token.StringLiteral:return this.triggerAsync("String",{line:this.line,"char":this.char,from:this.from,startLine:token.startLine,startChar:token.startChar,value:token.value,quote:token.quote},checks,function(){return!0}),create("(string)",token.value,null,token);case Token.TemplateHead:return this.trigger("TemplateHead",{line:this.line,"char":this.char,from:this.from,startLine:token.startLine,startChar:token.startChar,value:token.value}),create("(template)",token.value,null,token);case Token.TemplateMiddle:return this.trigger("TemplateMiddle",{line:this.line,"char":this.char,from:this.from,startLine:token.startLine,startChar:token.startChar,value:token.value}),create("(template middle)",token.value,null,token);case Token.TemplateTail:return this.trigger("TemplateTail",{line:this.line,"char":this.char,from:this.from,startLine:token.startLine,startChar:token.startChar,value:token.value}),create("(template tail)",token.value,null,token);case Token.NoSubstTemplate:return this.trigger("NoSubstTemplate",{line:this.line,"char":this.char,from:this.from,startLine:token.startLine,startChar:token.startChar,value:token.value}),create("(no subst template)",token.value,null,token);case Token.Identifier:this.triggerAsync("Identifier",{line:this.line,"char":this.char,from:this.form,name:token.value,raw_name:token.text,isProperty:"."===state.tokens.curr.id},checks,function(){return!0});case Token.Keyword:case Token.NullLiteral:case Token.BooleanLiteral:return create("(identifier)",token.value,"."===state.tokens.curr.id,token);case Token.NumericLiteral:return token.isMalformed&&this.trigger("warning",{code:"W045",line:this.line,character:this.char,data:[token.value]}),this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["0x-"]},checks,function(){return 16===token.base&&state.jsonMode}),this.triggerAsync("warning",{code:"W115",line:this.line,character:this.char},checks,function(){return state.isStrict()&&8===token.base&&token.isLegacy}),this.trigger("Number",{line:this.line,"char":this.char,from:this.from,value:token.value,base:token.base,isMalformed:token.malformed}),create("(number)",token.value);case Token.RegExp:return create("(regexp)",token.value);case Token.Comment:if(state.tokens.curr.comment=!0,token.isSpecial)return{id:"(comment)",value:token.value,body:token.body,type:token.commentType,isSpecial:token.isSpecial,line:this.line,character:this.char,from:this.from};break;case"":break;default:return create("(punctuator)",token.value)}else this.input.length&&(this.trigger("error",{code:"E024",line:this.line,character:this.char,data:[this.peek()]}),this.input="")}}},exports.Lexer=Lexer,exports.Context=Context},{"../data/ascii-identifier-data.js":"/node_modules/jshint/data/ascii-identifier-data.js","../lodash":"/node_modules/jshint/lodash.js","./reg.js":"/node_modules/jshint/src/reg.js","./state.js":"/node_modules/jshint/src/state.js",events:"/node_modules/browserify/node_modules/events/events.js"}],"/node_modules/jshint/src/messages.js":[function(_dereq_,module,exports){"use strict";var _=_dereq_("../lodash"),errors={E001:"Bad option: \'{a}\'.",E002:"Bad option value.",E003:"Expected a JSON value.",E004:"Input is neither a string nor an array of strings.",E005:"Input is empty.",E006:"Unexpected early end of program.",E007:\'Missing "use strict" statement.\',E008:"Strict violation.",E009:"Option \'validthis\' can\'t be used in a global scope.",E010:"\'with\' is not allowed in strict mode.",E011:"\'{a}\' has already been declared.",E012:"const \'{a}\' is initialized to \'undefined\'.",E013:"Attempting to override \'{a}\' which is a constant.",E014:"A regular expression literal can be confused with \'/=\'.",E015:"Unclosed regular expression.",E016:"Invalid regular expression.",E017:"Unclosed comment.",E018:"Unbegun comment.",E019:"Unmatched \'{a}\'.",E020:"Expected \'{a}\' to match \'{b}\' from line {c} and instead saw \'{d}\'.",E021:"Expected \'{a}\' and instead saw \'{b}\'.",E022:"Line breaking error \'{a}\'.",E023:"Missing \'{a}\'.",E024:"Unexpected \'{a}\'.",E025:"Missing \':\' on a case clause.",E026:"Missing \'}\' to match \'{\' from line {a}.",E027:"Missing \']\' to match \'[\' from line {a}.",E028:"Illegal comma.",E029:"Unclosed string.",E030:"Expected an identifier and instead saw \'{a}\'.",E031:"Bad assignment.",E032:"Expected a small integer or \'false\' and instead saw \'{a}\'.",E033:"Expected an operator and instead saw \'{a}\'.",E034:"get/set are ES5 features.",E035:"Missing property name.",E036:"Expected to see a statement and instead saw a block.",E037:null,E038:null,E039:"Function declarations are not invocable. Wrap the whole function invocation in parens.",E040:"Each value should have its own case label.",E041:"Unrecoverable syntax error.",E042:"Stopping.",E043:"Too many errors.",E044:null,E045:"Invalid for each loop.",E046:"A yield statement shall be within a generator function (with syntax: `function*`)",E047:null,E048:"{a} declaration not directly within block.",E049:"A {a} cannot be named \'{b}\'.",E050:"Mozilla acequires the yield expression to be parenthesized here.",E051:null,E052:"Unclosed template literal.",E053:"Export declaration must be in global scope.",E054:"Class properties must be methods. Expected \'(\' but instead saw \'{a}\'.",E055:"The \'{a}\' option cannot be set after any executable code.",E056:"\'{a}\' was used before it was declared, which is illegal for \'{b}\' variables.",E057:"Invalid meta property: \'{a}.{b}\'.",E058:"Missing semicolon."},warnings={W001:"\'hasOwnProperty\' is a really bad name.",W002:"Value of \'{a}\' may be overwritten in IE 8 and earlier.",W003:"\'{a}\' was used before it was defined.",W004:"\'{a}\' is already defined.",W005:"A dot following a number can be confused with a decimal point.",W006:"Confusing minuses.",W007:"Confusing plusses.",W008:"A leading decimal point can be confused with a dot: \'{a}\'.",W009:"The array literal notation [] is preferable.",W010:"The object literal notation {} is preferable.",W011:null,W012:null,W013:null,W014:"Bad line breaking before \'{a}\'.",W015:null,W016:"Unexpected use of \'{a}\'.",W017:"Bad operand.",W018:"Confusing use of \'{a}\'.",W019:"Use the isNaN function to compare with NaN.",W020:"Read only.",W021:"Reassignment of \'{a}\', which is is a {b}. Use \'var\' or \'let\' to declare bindings that may change.",W022:"Do not assign to the exception parameter.",W023:"Expected an identifier in an assignment and instead saw a function invocation.",W024:"Expected an identifier and instead saw \'{a}\' (a reserved word).",W025:"Missing name in function declaration.",W026:"Inner functions should be listed at the top of the outer function.",W027:"Unreachable \'{a}\' after \'{b}\'.",W028:"Label \'{a}\' on {b} statement.",W030:"Expected an assignment or function call and instead saw an expression.",W031:"Do not use \'new\' for side effects.",W032:"Unnecessary semicolon.",W033:"Missing semicolon.",W034:\'Unnecessary directive "{a}".\',W035:"Empty block.",W036:"Unexpected /*member \'{a}\'.",W037:"\'{a}\' is a statement label.",W038:"\'{a}\' used out of scope.",W039:"\'{a}\' is not allowed.",W040:"Possible strict violation.",W041:"Use \'{a}\' to compare with \'{b}\'.",W042:"Avoid EOL escaping.",W043:"Bad escaping of EOL. Use option multistr if needed.",W044:"Bad or unnecessary escaping.",W045:"Bad number \'{a}\'.",W046:"Don\'t use extra leading zeros \'{a}\'.",W047:"A trailing decimal point can be confused with a dot: \'{a}\'.",W048:"Unexpected control character in regular expression.",W049:"Unexpected escaped character \'{a}\' in regular expression.",W050:"JavaScript URL.",W051:"Variables should not be deleted.",W052:"Unexpected \'{a}\'.",W053:"Do not use {a} as a constructor.",W054:"The Function constructor is a form of eval.",W055:"A constructor name should start with an uppercase letter.",W056:"Bad constructor.",W057:"Weird construction. Is \'new\' necessary?",W058:"Missing \'()\' invoking a constructor.",W059:"Avoid arguments.{a}.",W060:"document.write can be a form of eval.",W061:"eval can be harmful.",W062:"Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.",W063:"Math is not a function.",W064:"Missing \'new\' prefix when invoking a constructor.",W065:"Missing radix parameter.",W066:"Implied eval. Consider passing a function instead of a string.",W067:"Bad invocation.",W068:"Wrapping non-IIFE function literals in parens is unnecessary.",W069:"[\'{a}\'] is better written in dot notation.",W070:"Extra comma. (it breaks older versions of IE)",W071:"This function has too many statements. ({a})",W072:"This function has too many parameters. ({a})",W073:"Blocks are nested too deeply. ({a})",W074:"This function\'s cyclomatic complexity is too high. ({a})",W075:"Duplicate {a} \'{b}\'.",W076:"Unexpected parameter \'{a}\' in get {b} function.",W077:"Expected a single parameter in set {a} function.",W078:"Setter is defined without getter.",W079:"Redefinition of \'{a}\'.",W080:"It\'s not necessary to initialize \'{a}\' to \'undefined\'.",W081:null,W082:"Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function.",W083:"Don\'t make functions within a loop.",W084:"Assignment in conditional expression",W085:"Don\'t use \'with\'.",W086:"Expected a \'break\' statement before \'{a}\'.",W087:"Forgotten \'debugger\' statement?",W088:"Creating global \'for\' variable. Should be \'for (var {a} ...\'.",W089:"The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.",W090:"\'{a}\' is not a statement label.",W091:null,W093:"Did you mean to return a conditional instead of an assignment?",W094:"Unexpected comma.",W095:"Expected a string and instead saw {a}.",W096:"The \'{a}\' key may produce unexpected results.",W097:\'Use the function form of "use strict".\',W098:"\'{a}\' is defined but never used.",W099:null,W100:"This character may get silently deleted by one or more browsers.",W101:"Line is too long.",W102:null,W103:"The \'{a}\' property is deprecated.",W104:"\'{a}\' is available in ES{b} (use \'esversion: {b}\') or Mozilla JS extensions (use moz).",W105:"Unexpected {a} in \'{b}\'.",W106:"Identifier \'{a}\' is not in camel case.",W107:"Script URL.",W108:"Strings must use doublequote.",W109:"Strings must use singlequote.",W110:"Mixed double and single quotes.",W112:"Unclosed string.",W113:"Control character in string: {a}.",W114:"Avoid {a}.",W115:"Octal literals are not allowed in strict mode.",W116:"Expected \'{a}\' and instead saw \'{b}\'.",W117:"\'{a}\' is not defined.",W118:"\'{a}\' is only available in Mozilla JavaScript extensions (use moz option).",W119:"\'{a}\' is only available in ES{b} (use \'esversion: {b}\').",W120:"You might be leaking a variable ({a}) here.",W121:"Extending prototype of native object: \'{a}\'.",W122:"Invalid typeof value \'{a}\'",W123:"\'{a}\' is already defined in outer scope.",W124:"A generator function shall contain a yield statement.",W125:"This line contains non-breaking spaces: http://jshint.com/doc/options/#nonbsp",W126:"Unnecessary grouping operator.",W127:"Unexpected use of a comma operator.",W128:"Empty array elements acequire elision=true.",W129:"\'{a}\' is defined in a future version of JavaScript. Use a different variable name to avoid migration issues.",W130:"Invalid element after rest element.",W131:"Invalid parameter after rest parameter.",W132:"`var` declarations are forbidden. Use `let` or `const` instead.",W133:"Invalid for-{a} loop left-hand-side: {b}.",W134:"The \'{a}\' option is only available when linting ECMAScript {b} code.",W135:"{a} may not be supported by non-browser environments.",W136:"\'{a}\' must be in function scope.",W137:"Empty destructuring.",W138:"Regular parameters should not come after default parameters."},info={I001:"Comma warnings can be turned off with \'laxcomma\'.",I002:null,I003:"ES5 option is now set per default"};exports.errors={},exports.warnings={},exports.info={},_.each(errors,function(desc,code){exports.errors[code]={code:code,desc:desc}}),_.each(warnings,function(desc,code){exports.warnings[code]={code:code,desc:desc}}),_.each(info,function(desc,code){exports.info[code]={code:code,desc:desc}})},{"../lodash":"/node_modules/jshint/lodash.js"}],"/node_modules/jshint/src/name-stack.js":[function(_dereq_,module){"use strict";function NameStack(){this._stack=[]}Object.defineProperty(NameStack.prototype,"length",{get:function(){return this._stack.length}}),NameStack.prototype.push=function(){this._stack.push(null)},NameStack.prototype.pop=function(){this._stack.pop()},NameStack.prototype.set=function(token){this._stack[this.length-1]=token},NameStack.prototype.infer=function(){var type,nameToken=this._stack[this.length-1],prefix="";return nameToken&&"class"!==nameToken.type||(nameToken=this._stack[this.length-2]),nameToken?(type=nameToken.type,"(string)"!==type&&"(number)"!==type&&"(identifier)"!==type&&"default"!==type?"(expression)":(nameToken.accessorType&&(prefix=nameToken.accessorType+" "),prefix+nameToken.value)):"(empty)"},module.exports=NameStack},{}],"/node_modules/jshint/src/options.js":[function(_dereq_,module,exports){"use strict";exports.bool={enforcing:{bitwise:!0,freeze:!0,camelcase:!0,curly:!0,eqeqeq:!0,futurehostile:!0,notypeof:!0,es3:!0,es5:!0,forin:!0,funcscope:!0,immed:!0,iterator:!0,newcap:!0,noarg:!0,nocomma:!0,noempty:!0,nonbsp:!0,nonew:!0,undef:!0,singleGroups:!1,varstmt:!1,enforceall:!1},relaxing:{asi:!0,multistr:!0,debug:!0,boss:!0,evil:!0,globalstrict:!0,plusplus:!0,proto:!0,scripturl:!0,sub:!0,supernew:!0,laxbreak:!0,laxcomma:!0,validthis:!0,withstmt:!0,moz:!0,noyield:!0,eqnull:!0,lastsemic:!0,loopfunc:!0,expr:!0,esnext:!0,elision:!0},environments:{mootools:!0,couch:!0,jasmine:!0,jquery:!0,node:!0,qunit:!0,rhino:!0,shelljs:!0,prototypejs:!0,yui:!0,mocha:!0,module:!0,wsh:!0,worker:!0,nonstandard:!0,browser:!0,browserify:!0,devel:!0,dojo:!0,typed:!0,phantom:!0},obsolete:{onecase:!0,regexp:!0,regexdash:!0}},exports.val={maxlen:!1,indent:!1,maxerr:!1,predef:!1,globals:!1,quotmark:!1,scope:!1,maxstatements:!1,maxdepth:!1,maxparams:!1,maxcomplexity:!1,shadow:!1,strict:!0,unused:!0,latedef:!1,ignore:!1,ignoreDelimiters:!1,esversion:5},exports.inverted={bitwise:!0,forin:!0,newcap:!0,plusplus:!0,regexp:!0,undef:!0,eqeqeq:!0,strict:!0},exports.validNames=Object.keys(exports.val).concat(Object.keys(exports.bool.relaxing)).concat(Object.keys(exports.bool.enforcing)).concat(Object.keys(exports.bool.obsolete)).concat(Object.keys(exports.bool.environments)),exports.renamed={eqeq:"eqeqeq",windows:"wsh",sloppy:"strict"},exports.removed={nomen:!0,onevar:!0,passfail:!0,white:!0,gcl:!0,smarttabs:!0,trailing:!0},exports.noenforceall={varstmt:!0,strict:!0}},{}],"/node_modules/jshint/src/reg.js":[function(_dereq_,module,exports){"use strict";exports.unsafeString=/@cc|<\\/?|script|\\]\\s*\\]|<\\s*!|&lt/i,exports.unsafeChars=/[\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/,exports.needEsc=/[\\u0000-\\u001f&<"\\/\\\\\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/,exports.needEscGlobal=/[\\u0000-\\u001f&<"\\/\\\\\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,exports.starSlash=/\\*\\//,exports.identifier=/^([a-zA-Z_$][a-zA-Z0-9_$]*)$/,exports.javascriptURL=/^(?:javascript|jscript|ecmascript|vbscript|livescript)\\s*:/i,exports.fallsThrough=/^\\s*falls?\\sthrough\\s*$/,exports.maxlenException=/^(?:(?:\\/\\/|\\/\\*|\\*) ?)?[^ ]+$/},{}],"/node_modules/jshint/src/scope-manager.js":[function(_dereq_,module){"use strict";var _=_dereq_("../lodash"),events=_dereq_("events"),marker={},scopeManager=function(state,predefined,exported,declared){function _newScope(type){_current={"(labels)":Object.create(null),"(usages)":Object.create(null),"(breakLabels)":Object.create(null),"(parent)":_current,"(type)":type,"(params)":"functionparams"===type||"catchparams"===type?[]:null},_scopeStack.push(_current)}function warning(code,token){emitter.emit("warning",{code:code,token:token,data:_.slice(arguments,2)})}function error(code,token){emitter.emit("warning",{code:code,token:token,data:_.slice(arguments,2)})}function _setupUsages(labelName){_current["(usages)"][labelName]||(_current["(usages)"][labelName]={"(modified)":[],"(reassigned)":[],"(tokens)":[]})}function _checkForUnused(){if("functionparams"===_current["(type)"])return _checkParams(),void 0;var curentLabels=_current["(labels)"];for(var labelName in curentLabels)curentLabels[labelName]&&"exception"!==curentLabels[labelName]["(type)"]&&curentLabels[labelName]["(unused)"]&&_warnUnused(labelName,curentLabels[labelName]["(token)"],"var")}function _checkParams(){var params=_current["(params)"];if(params)for(var unused_opt,param=params.pop();param;){var label=_current["(labels)"][param];if(unused_opt=_getUnusedOption(state.funct["(unusedOption)"]),"undefined"===param)return;if(label["(unused)"])_warnUnused(param,label["(token)"],"param",state.funct["(unusedOption)"]);else if("last-param"===unused_opt)return;param=params.pop()}}function _getLabel(labelName){for(var i=_scopeStack.length-1;i>=0;--i){var scopeLabels=_scopeStack[i]["(labels)"];if(scopeLabels[labelName])return scopeLabels}}function usedSoFarInCurrentFunction(labelName){for(var i=_scopeStack.length-1;i>=0;i--){var current=_scopeStack[i];if(current["(usages)"][labelName])return current["(usages)"][labelName];if(current===_currentFunctBody)break}return!1}function _checkOuterShadow(labelName,token){if("outer"===state.option.shadow)for(var isGlobal="global"===_currentFunctBody["(type)"],isNewFunction="functionparams"===_current["(type)"],outsideCurrentFunction=!isGlobal,i=0;_scopeStack.length>i;i++){var stackItem=_scopeStack[i];isNewFunction||_scopeStack[i+1]!==_currentFunctBody||(outsideCurrentFunction=!1),outsideCurrentFunction&&stackItem["(labels)"][labelName]&&warning("W123",token,labelName),stackItem["(breakLabels)"][labelName]&&warning("W123",token,labelName)}}function _latedefWarning(type,labelName,token){state.option.latedef&&(state.option.latedef===!0&&"function"===type||"function"!==type)&&warning("W003",token,labelName)}var _current,_scopeStack=[];_newScope("global"),_current["(predefined)"]=predefined;var _currentFunctBody=_current,usedPredefinedAndGlobals=Object.create(null),impliedGlobals=Object.create(null),unuseds=[],emitter=new events.EventEmitter,_getUnusedOption=function(unused_opt){return void 0===unused_opt&&(unused_opt=state.option.unused),unused_opt===!0&&(unused_opt="last-param"),unused_opt},_warnUnused=function(name,tkn,type,unused_opt){var line=tkn.line,chr=tkn.from,raw_name=tkn.raw_text||name;unused_opt=_getUnusedOption(unused_opt);var warnable_types={vars:["var"],"last-param":["var","param"],strict:["var","param","last-param"]};unused_opt&&warnable_types[unused_opt]&&-1!==warnable_types[unused_opt].indexOf(type)&&warning("W098",{line:line,from:chr},raw_name),(unused_opt||"var"===type)&&unuseds.push({name:name,line:line,character:chr})},scopeManagerInst={on:function(names,listener){names.split(" ").forEach(function(name){emitter.on(name,listener)})},isPredefined:function(labelName){return!this.has(labelName)&&_.has(_scopeStack[0]["(predefined)"],labelName)},stack:function(type){var previousScope=_current;_newScope(type),type||"functionparams"!==previousScope["(type)"]||(_current["(isFuncBody)"]=!0,_current["(context)"]=_currentFunctBody,_currentFunctBody=_current)},unstack:function(){var i,j,subScope=_scopeStack.length>1?_scopeStack[_scopeStack.length-2]:null,isUnstackingFunctionBody=_current===_currentFunctBody,isUnstackingFunctionParams="functionparams"===_current["(type)"],isUnstackingFunctionOuter="functionouter"===_current["(type)"],currentUsages=_current["(usages)"],currentLabels=_current["(labels)"],usedLabelNameList=Object.keys(currentUsages);for(currentUsages.__proto__&&-1===usedLabelNameList.indexOf("__proto__")&&usedLabelNameList.push("__proto__"),i=0;usedLabelNameList.length>i;i++){var usedLabelName=usedLabelNameList[i],usage=currentUsages[usedLabelName],usedLabel=currentLabels[usedLabelName];if(usedLabel){var usedLabelType=usedLabel["(type)"];if(usedLabel["(useOutsideOfScope)"]&&!state.option.funcscope){var usedTokens=usage["(tokens)"];if(usedTokens)for(j=0;usedTokens.length>j;j++)usedLabel["(function)"]===usedTokens[j]["(function)"]&&error("W038",usedTokens[j],usedLabelName)}if(_current["(labels)"][usedLabelName]["(unused)"]=!1,"const"===usedLabelType&&usage["(modified)"])for(j=0;usage["(modified)"].length>j;j++)error("E013",usage["(modified)"][j],usedLabelName);if(("function"===usedLabelType||"class"===usedLabelType)&&usage["(reassigned)"])for(j=0;usage["(reassigned)"].length>j;j++)error("W021",usage["(reassigned)"][j],usedLabelName,usedLabelType)}else if(isUnstackingFunctionOuter&&(state.funct["(isCapturing)"]=!0),subScope)if(subScope["(usages)"][usedLabelName]){var subScopeUsage=subScope["(usages)"][usedLabelName];subScopeUsage["(modified)"]=subScopeUsage["(modified)"].concat(usage["(modified)"]),subScopeUsage["(tokens)"]=subScopeUsage["(tokens)"].concat(usage["(tokens)"]),subScopeUsage["(reassigned)"]=subScopeUsage["(reassigned)"].concat(usage["(reassigned)"]),subScopeUsage["(onlyUsedSubFunction)"]=!1}else subScope["(usages)"][usedLabelName]=usage,isUnstackingFunctionBody&&(subScope["(usages)"][usedLabelName]["(onlyUsedSubFunction)"]=!0);else if("boolean"==typeof _current["(predefined)"][usedLabelName]){if(delete declared[usedLabelName],usedPredefinedAndGlobals[usedLabelName]=marker,_current["(predefined)"][usedLabelName]===!1&&usage["(reassigned)"])for(j=0;usage["(reassigned)"].length>j;j++)warning("W020",usage["(reassigned)"][j])}else if(usage["(tokens)"])for(j=0;usage["(tokens)"].length>j;j++){var undefinedToken=usage["(tokens)"][j];undefinedToken.forgiveUndef||(state.option.undef&&!undefinedToken.ignoreUndef&&warning("W117",undefinedToken,usedLabelName),impliedGlobals[usedLabelName]?impliedGlobals[usedLabelName].line.push(undefinedToken.line):impliedGlobals[usedLabelName]={name:usedLabelName,line:[undefinedToken.line]})}}if(subScope||Object.keys(declared).forEach(function(labelNotUsed){_warnUnused(labelNotUsed,declared[labelNotUsed],"var")}),subScope&&!isUnstackingFunctionBody&&!isUnstackingFunctionParams&&!isUnstackingFunctionOuter){var labelNames=Object.keys(currentLabels);for(i=0;labelNames.length>i;i++){var defLabelName=labelNames[i];currentLabels[defLabelName]["(blockscoped)"]||"exception"===currentLabels[defLabelName]["(type)"]||this.funct.has(defLabelName,{excludeCurrent:!0})||(subScope["(labels)"][defLabelName]=currentLabels[defLabelName],"global"!==_currentFunctBody["(type)"]&&(subScope["(labels)"][defLabelName]["(useOutsideOfScope)"]=!0),delete currentLabels[defLabelName])}}_checkForUnused(),_scopeStack.pop(),isUnstackingFunctionBody&&(_currentFunctBody=_scopeStack[_.findLastIndex(_scopeStack,function(scope){return scope["(isFuncBody)"]||"global"===scope["(type)"]})]),_current=subScope},addParam:function(labelName,token,type){if(type=type||"param","exception"===type){var previouslyDefinedLabelType=this.funct.labeltype(labelName);previouslyDefinedLabelType&&"exception"!==previouslyDefinedLabelType&&(state.option.node||warning("W002",state.tokens.next,labelName))}if(_.has(_current["(labels)"],labelName)?_current["(labels)"][labelName].duplicated=!0:(_checkOuterShadow(labelName,token,type),_current["(labels)"][labelName]={"(type)":type,"(token)":token,"(unused)":!0},_current["(params)"].push(labelName)),_.has(_current["(usages)"],labelName)){var usage=_current["(usages)"][labelName];usage["(onlyUsedSubFunction)"]?_latedefWarning(type,labelName,token):warning("E056",token,labelName,type)}},validateParams:function(){if("global"!==_currentFunctBody["(type)"]){var isStrict=state.isStrict(),currentFunctParamScope=_currentFunctBody["(parent)"];currentFunctParamScope["(params)"]&&currentFunctParamScope["(params)"].forEach(function(labelName){var label=currentFunctParamScope["(labels)"][labelName];label&&label.duplicated&&(isStrict?warning("E011",label["(token)"],labelName):state.option.shadow!==!0&&warning("W004",label["(token)"],labelName))})}},getUsedOrDefinedGlobals:function(){var list=Object.keys(usedPredefinedAndGlobals);return usedPredefinedAndGlobals.__proto__===marker&&-1===list.indexOf("__proto__")&&list.push("__proto__"),list},getImpliedGlobals:function(){var values=_.values(impliedGlobals),hasProto=!1;return impliedGlobals.__proto__&&(hasProto=values.some(function(value){return"__proto__"===value.name}),hasProto||values.push(impliedGlobals.__proto__)),values},getUnuseds:function(){return unuseds},has:function(labelName){return Boolean(_getLabel(labelName))},labeltype:function(labelName){var scopeLabels=_getLabel(labelName);return scopeLabels?scopeLabels[labelName]["(type)"]:null},addExported:function(labelName){var globalLabels=_scopeStack[0]["(labels)"];if(_.has(declared,labelName))delete declared[labelName];else if(_.has(globalLabels,labelName))globalLabels[labelName]["(unused)"]=!1;else{for(var i=1;_scopeStack.length>i;i++){var scope=_scopeStack[i];if(scope["(type)"])break;if(_.has(scope["(labels)"],labelName)&&!scope["(labels)"][labelName]["(blockscoped)"])return scope["(labels)"][labelName]["(unused)"]=!1,void 0}exported[labelName]=!0}},setExported:function(labelName,token){this.block.use(labelName,token)\n},addlabel:function(labelName,opts){var type=opts.type,token=opts.token,isblockscoped="let"===type||"const"===type||"class"===type,isexported="global"===(isblockscoped?_current:_currentFunctBody)["(type)"]&&_.has(exported,labelName);if(_checkOuterShadow(labelName,token,type),isblockscoped){var declaredInCurrentScope=_current["(labels)"][labelName];if(declaredInCurrentScope||_current!==_currentFunctBody||"global"===_current["(type)"]||(declaredInCurrentScope=!!_currentFunctBody["(parent)"]["(labels)"][labelName]),!declaredInCurrentScope&&_current["(usages)"][labelName]){var usage=_current["(usages)"][labelName];usage["(onlyUsedSubFunction)"]?_latedefWarning(type,labelName,token):warning("E056",token,labelName,type)}declaredInCurrentScope?warning("E011",token,labelName):"outer"===state.option.shadow&&scopeManagerInst.funct.has(labelName)&&warning("W004",token,labelName),scopeManagerInst.block.add(labelName,type,token,!isexported)}else{var declaredInCurrentFunctionScope=scopeManagerInst.funct.has(labelName);!declaredInCurrentFunctionScope&&usedSoFarInCurrentFunction(labelName)&&_latedefWarning(type,labelName,token),scopeManagerInst.funct.has(labelName,{onlyBlockscoped:!0})?warning("E011",token,labelName):state.option.shadow!==!0&&declaredInCurrentFunctionScope&&"__proto__"!==labelName&&"global"!==_currentFunctBody["(type)"]&&warning("W004",token,labelName),scopeManagerInst.funct.add(labelName,type,token,!isexported),"global"===_currentFunctBody["(type)"]&&(usedPredefinedAndGlobals[labelName]=marker)}},funct:{labeltype:function(labelName,options){for(var onlyBlockscoped=options&&options.onlyBlockscoped,excludeParams=options&&options.excludeParams,currentScopeIndex=_scopeStack.length-(options&&options.excludeCurrent?2:1),i=currentScopeIndex;i>=0;i--){var current=_scopeStack[i];if(current["(labels)"][labelName]&&(!onlyBlockscoped||current["(labels)"][labelName]["(blockscoped)"]))return current["(labels)"][labelName]["(type)"];var scopeCheck=excludeParams?_scopeStack[i-1]:current;if(scopeCheck&&"functionparams"===scopeCheck["(type)"])return null}return null},hasBreakLabel:function(labelName){for(var i=_scopeStack.length-1;i>=0;i--){var current=_scopeStack[i];if(current["(breakLabels)"][labelName])return!0;if("functionparams"===current["(type)"])return!1}return!1},has:function(labelName,options){return Boolean(this.labeltype(labelName,options))},add:function(labelName,type,tok,unused){_current["(labels)"][labelName]={"(type)":type,"(token)":tok,"(blockscoped)":!1,"(function)":_currentFunctBody,"(unused)":unused}}},block:{isGlobal:function(){return"global"===_current["(type)"]},use:function(labelName,token){var paramScope=_currentFunctBody["(parent)"];paramScope&&paramScope["(labels)"][labelName]&&"param"===paramScope["(labels)"][labelName]["(type)"]&&(scopeManagerInst.funct.has(labelName,{excludeParams:!0,onlyBlockscoped:!0})||(paramScope["(labels)"][labelName]["(unused)"]=!1)),token&&(state.ignored.W117||state.option.undef===!1)&&(token.ignoreUndef=!0),_setupUsages(labelName),token&&(token["(function)"]=_currentFunctBody,_current["(usages)"][labelName]["(tokens)"].push(token))},reassign:function(labelName,token){this.modify(labelName,token),_current["(usages)"][labelName]["(reassigned)"].push(token)},modify:function(labelName,token){_setupUsages(labelName),_current["(usages)"][labelName]["(modified)"].push(token)},add:function(labelName,type,tok,unused){_current["(labels)"][labelName]={"(type)":type,"(token)":tok,"(blockscoped)":!0,"(unused)":unused}},addBreakLabel:function(labelName,opts){var token=opts.token;scopeManagerInst.funct.hasBreakLabel(labelName)?warning("E011",token,labelName):"outer"===state.option.shadow&&(scopeManagerInst.funct.has(labelName)?warning("W004",token,labelName):_checkOuterShadow(labelName,token)),_current["(breakLabels)"][labelName]=token}}};return scopeManagerInst};module.exports=scopeManager},{"../lodash":"/node_modules/jshint/lodash.js",events:"/node_modules/browserify/node_modules/events/events.js"}],"/node_modules/jshint/src/state.js":[function(_dereq_,module,exports){"use strict";var NameStack=_dereq_("./name-stack.js"),state={syntax:{},isStrict:function(){return this.directive["use strict"]||this.inClassBody||this.option.module||"implied"===this.option.strict},inMoz:function(){return this.option.moz},inES6:function(){return this.option.moz||this.option.esversion>=6},inES5:function(strict){return strict?!(this.option.esversion&&5!==this.option.esversion||this.option.moz):!this.option.esversion||this.option.esversion>=5||this.option.moz},reset:function(){this.tokens={prev:null,next:null,curr:null},this.option={},this.funct=null,this.ignored={},this.directive={},this.jsonMode=!1,this.jsonWarnings=[],this.lines=[],this.tab="",this.cache={},this.ignoredLines={},this.forinifcheckneeded=!1,this.nameStack=new NameStack,this.inClassBody=!1}};exports.state=state},{"./name-stack.js":"/node_modules/jshint/src/name-stack.js"}],"/node_modules/jshint/src/style.js":[function(_dereq_,module,exports){"use strict";exports.register=function(linter){linter.on("Identifier",function(data){linter.getOption("proto")||"__proto__"===data.name&&linter.warn("W103",{line:data.line,"char":data.char,data:[data.name,"6"]})}),linter.on("Identifier",function(data){linter.getOption("iterator")||"__iterator__"===data.name&&linter.warn("W103",{line:data.line,"char":data.char,data:[data.name]})}),linter.on("Identifier",function(data){linter.getOption("camelcase")&&data.name.replace(/^_+|_+$/g,"").indexOf("_")>-1&&!data.name.match(/^[A-Z0-9_]*$/)&&linter.warn("W106",{line:data.line,"char":data.from,data:[data.name]})}),linter.on("String",function(data){var code,quotmark=linter.getOption("quotmark");quotmark&&("single"===quotmark&&"\'"!==data.quote&&(code="W109"),"double"===quotmark&&\'"\'!==data.quote&&(code="W108"),quotmark===!0&&(linter.getCache("quotmark")||linter.setCache("quotmark",data.quote),linter.getCache("quotmark")!==data.quote&&(code="W110")),code&&linter.warn(code,{line:data.line,"char":data.char}))}),linter.on("Number",function(data){"."===data.value.charAt(0)&&linter.warn("W008",{line:data.line,"char":data.char,data:[data.value]}),"."===data.value.substr(data.value.length-1)&&linter.warn("W047",{line:data.line,"char":data.char,data:[data.value]}),/^00+/.test(data.value)&&linter.warn("W046",{line:data.line,"char":data.char,data:[data.value]})}),linter.on("String",function(data){var re=/^(?:javascript|jscript|ecmascript|vbscript|livescript)\\s*:/i;linter.getOption("scripturl")||re.test(data.value)&&linter.warn("W107",{line:data.line,"char":data.char})})}},{}],"/node_modules/jshint/src/vars.js":[function(_dereq_,module,exports){"use strict";exports.reservedVars={arguments:!1,NaN:!1},exports.ecmaIdentifiers={3:{Array:!1,Boolean:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,isFinite:!1,isNaN:!1,Math:!1,Number:!1,Object:!1,parseInt:!1,parseFloat:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,TypeError:!1,URIError:!1},5:{JSON:!1},6:{Map:!1,Promise:!1,Proxy:!1,Reflect:!1,Set:!1,Symbol:!1,WeakMap:!1,WeakSet:!1}},exports.browser={Audio:!1,Blob:!1,addEventListener:!1,applicationCache:!1,atob:!1,blur:!1,btoa:!1,cancelAnimationFrame:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,CSS:!1,clearInterval:!1,clearTimeout:!1,close:!1,closed:!1,Comment:!1,CustomEvent:!1,DOMParser:!1,defaultStatus:!1,Document:!1,document:!1,DocumentFragment:!1,Element:!1,ElementTimeControl:!1,Event:!1,event:!1,fetch:!1,FileReader:!1,FormData:!1,focus:!1,frames:!1,getComputedStyle:!1,HTMLElement:!1,HTMLAnchorElement:!1,HTMLBaseElement:!1,HTMLBlockquoteElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLIsIndexElement:!1,HTMLLabelElement:!1,HTMLLayerElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPreElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTitleElement:!1,HTMLUListElement:!1,HTMLVideoElement:!1,history:!1,Image:!1,Intl:!1,length:!1,localStorage:!1,location:!1,matchMedia:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationObserver:!1,name:!1,Node:!1,NodeFilter:!1,NodeList:!1,Notification:!1,navigator:!1,onbeforeunload:!0,onblur:!0,onerror:!0,onfocus:!0,onload:!0,onresize:!0,onunload:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,parent:!1,performance:!1,print:!1,Range:!1,requestAnimationFrame:!1,removeEventListener:!1,resizeBy:!1,resizeTo:!1,screen:!1,scroll:!1,scrollBy:!1,scrollTo:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,SharedWorker:!1,status:!1,SVGAElement:!1,SVGAltGlyphDefElement:!1,SVGAltGlyphElement:!1,SVGAltGlyphItemElement:!1,SVGAngle:!1,SVGAnimateColorElement:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPathData:!1,SVGAnimatedPoints:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimationElement:!1,SVGCSSRule:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGColor:!1,SVGColorProfileElement:!1,SVGColorProfileRule:!1,SVGComponentTransferFunctionElement:!1,SVGCursorElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDocument:!1,SVGElement:!1,SVGElementInstance:!1,SVGElementInstanceList:!1,SVGEllipseElement:!1,SVGExternalResourcesRequired:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGFilterPrimitiveStandardAttributes:!1,SVGFitToViewBox:!1,SVGFontElement:!1,SVGFontFaceElement:!1,SVGFontFaceFormatElement:!1,SVGFontFaceNameElement:!1,SVGFontFaceSrcElement:!1,SVGFontFaceUriElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGlyphElement:!1,SVGGlyphRefElement:!1,SVGGradientElement:!1,SVGHKernElement:!1,SVGICCColor:!1,SVGImageElement:!1,SVGLangSpace:!1,SVGLength:!1,SVGLengthList:!1,SVGLineElement:!1,SVGLinearGradientElement:!1,SVGLocatable:!1,SVGMPathElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMissingGlyphElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPaint:!1,SVGPathElement:!1,SVGPathSeg:!1,SVGPathSegArcAbs:!1,SVGPathSegArcRel:!1,SVGPathSegClosePath:!1,SVGPathSegCurvetoCubicAbs:!1,SVGPathSegCurvetoCubicRel:!1,SVGPathSegCurvetoCubicSmoothAbs:!1,SVGPathSegCurvetoCubicSmoothRel:!1,SVGPathSegCurvetoQuadraticAbs:!1,SVGPathSegCurvetoQuadraticRel:!1,SVGPathSegCurvetoQuadraticSmoothAbs:!1,SVGPathSegCurvetoQuadraticSmoothRel:!1,SVGPathSegLinetoAbs:!1,SVGPathSegLinetoHorizontalAbs:!1,SVGPathSegLinetoHorizontalRel:!1,SVGPathSegLinetoRel:!1,SVGPathSegLinetoVerticalAbs:!1,SVGPathSegLinetoVerticalRel:!1,SVGPathSegList:!1,SVGPathSegMovetoAbs:!1,SVGPathSegMovetoRel:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGRenderingIntent:!1,SVGSVGElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStylable:!1,SVGStyleElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTRefElement:!1,SVGTSpanElement:!1,SVGTests:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTransformable:!1,SVGURIReference:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGVKernElement:!1,SVGViewElement:!1,SVGViewSpec:!1,SVGZoomAndPan:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TimeEvent:!1,top:!1,URL:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLTexture:!1,WebGLUniformLocation:!1,WebSocket:!1,window:!1,Window:!1,Worker:!1,XDomainRequest:!1,XMLHttpRequest:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathException:!1,XPathExpression:!1,XPathNamespace:!1,XPathNSResolver:!1,XPathResult:!1},exports.devel={alert:!1,confirm:!1,console:!1,Debug:!1,opera:!1,prompt:!1},exports.worker={importScripts:!0,postMessage:!0,self:!0,FileReaderSync:!0},exports.nonstandard={escape:!1,unescape:!1},exports.couch={require:!1,respond:!1,getRow:!1,emit:!1,send:!1,start:!1,sum:!1,log:!1,exports:!1,module:!1,provides:!1},exports.node={__filename:!1,__dirname:!1,GLOBAL:!1,global:!1,module:!1,acequire:!1,Buffer:!0,console:!0,exports:!0,process:!0,setTimeout:!0,clearTimeout:!0,setInterval:!0,clearInterval:!0,setImmediate:!0,clearImmediate:!0},exports.browserify={__filename:!1,__dirname:!1,global:!1,module:!1,acequire:!1,Buffer:!0,exports:!0,process:!0},exports.phantom={phantom:!0,acequire:!0,WebPage:!0,console:!0,exports:!0},exports.qunit={asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,"throws":!1},exports.rhino={defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},exports.shelljs={target:!1,echo:!1,exit:!1,cd:!1,pwd:!1,ls:!1,find:!1,cp:!1,rm:!1,mv:!1,mkdir:!1,test:!1,cat:!1,sed:!1,grep:!1,which:!1,dirs:!1,pushd:!1,popd:!1,env:!1,exec:!1,chmod:!1,config:!1,error:!1,tempdir:!1},exports.typed={ArrayBuffer:!1,ArrayBufferView:!1,DataView:!1,Float32Array:!1,Float64Array:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1},exports.wsh={ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WSH:!0,WScript:!0,XDomainRequest:!0},exports.dojo={dojo:!1,dijit:!1,dojox:!1,define:!1,require:!1},exports.jquery={$:!1,jQuery:!1},exports.mootools={$:!1,$$:!1,Asset:!1,Browser:!1,Chain:!1,Class:!1,Color:!1,Cookie:!1,Core:!1,Document:!1,DomReady:!1,DOMEvent:!1,DOMReady:!1,Drag:!1,Element:!1,Elements:!1,Event:!1,Events:!1,Fx:!1,Group:!1,Hash:!1,HtmlTable:!1,IFrame:!1,IframeShim:!1,InputValidator:!1,instanceOf:!1,Keyboard:!1,Locale:!1,Mask:!1,MooTools:!1,Native:!1,Options:!1,OverText:!1,Request:!1,Scroller:!1,Slick:!1,Slider:!1,Sortables:!1,Spinner:!1,Swiff:!1,Tips:!1,Type:!1,typeOf:!1,URI:!1,Window:!1},exports.prototypejs={$:!1,$$:!1,$A:!1,$F:!1,$H:!1,$R:!1,$break:!1,$continue:!1,$w:!1,Abstract:!1,Ajax:!1,Class:!1,Enumerable:!1,Element:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Selector:!1,Template:!1,Toggle:!1,Try:!1,Autocompleter:!1,Builder:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Scriptaculous:!1},exports.yui={YUI:!1,Y:!1,YUI_config:!1},exports.mocha={mocha:!1,describe:!1,xdescribe:!1,it:!1,xit:!1,context:!1,xcontext:!1,before:!1,after:!1,beforeEach:!1,afterEach:!1,suite:!1,test:!1,setup:!1,teardown:!1,suiteSetup:!1,suiteTeardown:!1},exports.jasmine={jasmine:!1,describe:!1,xdescribe:!1,it:!1,xit:!1,beforeEach:!1,afterEach:!1,setFixtures:!1,loadFixtures:!1,spyOn:!1,expect:!1,runs:!1,waitsFor:!1,waits:!1,beforeAll:!1,afterAll:!1,fail:!1,fdescribe:!1,fit:!1,pending:!1}},{}]},{},["/node_modules/jshint/src/jshint.js"])}),ace.define("ace/mode/javascript_worker",["require","exports","module","ace/lib/oop","ace/worker/mirror","ace/mode/javascript/jshint"],function(acequire,exports,module){"use strict";function startRegex(arr){return RegExp("^("+arr.join("|")+")")}var oop=acequire("../lib/oop"),Mirror=acequire("../worker/mirror").Mirror,lint=acequire("./javascript/jshint").JSHINT,disabledWarningsRe=startRegex(["Bad for in variable \'(.+)\'.",\'Missing "use strict"\']),errorsRe=startRegex(["Unexpected","Expected ","Confusing (plus|minus)","\\\\{a\\\\} unterminated regular expression","Unclosed ","Unmatched ","Unbegun comment","Bad invocation","Missing space after","Missing operator at"]),infoRe=startRegex(["Expected an assignment","Bad escapement of EOL","Unexpected comma","Unexpected space","Missing radix parameter.","A leading decimal point can","\\\\[\'{a}\'\\\\] is better written in dot notation.","\'{a}\' used out of scope"]),JavaScriptWorker=exports.JavaScriptWorker=function(sender){Mirror.call(this,sender),this.setTimeout(500),this.setOptions()};oop.inherits(JavaScriptWorker,Mirror),function(){this.setOptions=function(options){this.options=options||{esnext:!0,moz:!0,devel:!0,browser:!0,node:!0,laxcomma:!0,laxbreak:!0,lastsemic:!0,onevar:!1,passfail:!1,maxerr:100,expr:!0,multistr:!0,globalstrict:!0},this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.changeOptions=function(newOptions){oop.mixin(this.options,newOptions),this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.isValidJS=function(str){try{eval("throw 0;"+str)}catch(e){if(0===e)return!0}return!1},this.onUpdate=function(){var value=this.doc.getValue();if(value=value.replace(/^#!.*\\n/,"\\n"),!value)return this.sender.emit("annotate",[]);var errors=[],maxErrorLevel=this.isValidJS(value)?"warning":"error";lint(value,this.options,this.options.globals);for(var results=lint.errors,errorAdded=!1,i=0;results.length>i;i++){var error=results[i];if(error){var raw=error.raw,type="warning";if("Missing semicolon."==raw){var str=error.evidence.substr(error.character);str=str.charAt(str.search(/\\S/)),"error"==maxErrorLevel&&str&&/[\\w\\d{([\'"]/.test(str)?(error.reason=\'Missing ";" before statement\',type="error"):type="info"}else{if(disabledWarningsRe.test(raw))continue;infoRe.test(raw)?type="info":errorsRe.test(raw)?(errorAdded=!0,type=maxErrorLevel):"\'{a}\' is not defined."==raw?type="warning":"\'{a}\' is defined but never used."==raw&&(type="info")}errors.push({row:error.line-1,column:error.character-1,text:error.reason,type:type,raw:raw})}}this.sender.emit("annotate",errors)}}.call(JavaScriptWorker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != \'object\'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws="\t\\n\v\\f\\r   ᠎             　\\u2028\\u2029\ufeff";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can\'t convert "+o+" to object");return Object(o)}});'},function(module,exports){module.exports.id="ace/mode/xml_worker";module.exports.src='"no use strict";!function(window){function resolveModuleId(id,paths){for(var testPath=id,tail="";testPath;){var alias=paths[testPath];if("string"==typeof alias)return alias+tail;if(alias)return alias.location.replace(/\\/*$/,"/")+(tail||alias.main||alias.name);if(alias===!1)return"";var i=testPath.lastIndexOf("/");if(-1===i)break;tail=testPath.substr(i)+tail,testPath=testPath.slice(0,i)}return id}if(!(void 0!==window.window&&window.document||window.acequire&&window.define)){window.console||(window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console),window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:"error",data:{message:message,data:err.data,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf("!")){var chunks=moduleName.split("!");return window.normalizeModule(parentId,chunks[0])+"!"+window.normalizeModule(parentId,chunks[1])}if("."==moduleName.charAt(0)){var base=parentId.split("/").slice(0,-1).join("/");for(moduleName=(base?base+"/":"")+moduleName;-1!==moduleName.indexOf(".")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,"").replace(/\\/\\.\\//,"/").replace(/[^\\/]+\\/\\.\\.\\//,"")}}return moduleName},window.acequire=function acequire(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error("worker.js acequire() accepts only (parentId, id) as arguments");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;if(!window.acequire.tlns)return console.log("unable to load "+id);var path=resolveModuleId(id,window.acequire.tlns);return".js"!=path.slice(-3)&&(path+=".js"),window.acequire.id=id,window.acequire.modules[id]={},importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,"string"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),"function"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=["require","exports","module"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case"require":return req;case"exports":return module.exports;case"module":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},acequire.tlns={},window.initBaseUrls=function(topLevelNamespaces){for(var i in topLevelNamespaces)acequire.tlns[i]=topLevelNamespaces[i]},window.initSender=function(){var EventEmitter=window.acequire("ace/lib/event_emitter").EventEmitter,oop=window.acequire("ace/lib/oop"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:"call",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:"event",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.event&&sender)sender._signal(msg.event,msg.data);else if(msg.command)if(main[msg.command])main[msg.command].apply(main,msg.args);else{if(!window[msg.command])throw Error("Unknown command:"+msg.command);window[msg.command].apply(window,msg.args)}else if(msg.init){window.initBaseUrls(msg.tlns),acequire("ace/lib/es5-shim"),sender=window.sender=window.initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}}}}(this),ace.define("ace/lib/oop",["require","exports","module"],function(acequire,exports){"use strict";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if("object"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}if("[object Object]"!==Object.prototype.toString.call(obj))return obj;copy={};for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/\'/g,"&#39;").replace(/</g,"&#60;")},exports.getMatchOffsets=function(string,regExp){var matches=[];return string.replace(regExp,function(str){matches.push({offset:arguments[arguments.length-2],length:str.length})}),matches},exports.deferredCall=function(fcn){var timer=null,callback=function(){timer=null,fcn()},deferred=function(timeout){return deferred.cancel(),timer=setTimeout(callback,timeout||0),deferred};return deferred.schedule=deferred,deferred.call=function(){return this.cancel(),fcn(),deferred},deferred.cancel=function(){return clearTimeout(timer),timer=null,deferred},deferred.isPending=function(){return timer},deferred},exports.delayedCall=function(fcn,defaultTimeout){var timer=null,callback=function(){timer=null,fcn()},_self=function(timeout){null==timer&&(timer=setTimeout(callback,timeout||defaultTimeout))};return _self.delay=function(timeout){timer&&clearTimeout(timer),timer=setTimeout(callback,timeout||defaultTimeout)},_self.schedule=_self,_self.call=function(){this.cancel(),fcn()},_self.cancel=function(){timer&&clearTimeout(timer),timer=null},_self.isPending=function(){return timer},_self}}),ace.define("ace/range",["require","exports","module"],function(acequire,exports){"use strict";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/apply_delta",["require","exports","module"],function(acequire,exports){"use strict";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||"";switch(delta.action){case"insert":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case"remove":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.column<point2.column;return point1.row<point2.row||point1.row==point2.row&&bColIsAfter}function $getTransformedPoint(delta,point,moveIfEqual){var deltaIsInsert="insert"==delta.action,deltaRowShift=(deltaIsInsert?1:-1)*(delta.end.row-delta.start.row),deltaColShift=(deltaIsInsert?1:-1)*(delta.end.column-delta.start.column),deltaStart=delta.start,deltaEnd=deltaIsInsert?deltaStart:delta.end;return $pointsInOrder(point,deltaStart,moveIfEqual)?{row:point.row,column:point.column}:$pointsInOrder(deltaEnd,point,!moveIfEqual)?{row:point.row+deltaRowShift,column:point.column+(point.row==deltaEnd.row?deltaColShift:0)}:{row:deltaStart.row,column:deltaStart.column}}oop.implement(this,EventEmitter),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(delta){if(!(delta.start.row==delta.end.row&&delta.start.row!=this.row||delta.start.row>this.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),applyDelta=acequire("./apply_delta").applyDelta,EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(textOrLines){this.$lines=[""],0===textOrLines.length?this.$lines=[""]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:"\\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\\r\\n";case"unix":return"\\n";default:return this.$autoNewLine||"\\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, [\'\', \'\']) instead."),this.insertMergedLines(position,["",""])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:"insert",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([""]),column=0):(lines=[""].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:"insert",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:"remove",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:"remove",lines:["",""]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert="insert"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal("change",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(""),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:"insert"==delta.action?"remove":"insert",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/worker/mirror",["require","exports","module","ace/range","ace/document","ace/lib/lang"],function(acequire,exports){"use strict";acequire("../range").Range;var Document=acequire("../document").Document,lang=acequire("../lib/lang"),Mirror=exports.Mirror=function(sender){this.sender=sender;var doc=this.doc=new Document(""),deferredUpdate=this.deferredUpdate=lang.delayedCall(this.onUpdate.bind(this)),_self=this;sender.on("change",function(e){var data=e.data;if(data[0].start)doc.applyDeltas(data);else for(var i=0;data.length>i;i+=2){if(Array.isArray(data[i+1]))var d={action:"insert",start:data[i],lines:data[i+1]};else var d={action:"remove",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define("ace/mode/xml/sax",["require","exports","module"],function(){function XMLReader(){}function parse(source,defaultNSMapCopy,entityMap,domBuilder,errorHandler){function fixedFromCharCode(code){if(code>65535){code-=65536;var surrogate1=55296+(code>>10),surrogate2=56320+(1023&code);return String.fromCharCode(surrogate1,surrogate2)}return String.fromCharCode(code)}function entityReplacer(a){var k=a.slice(1,-1);return k in entityMap?entityMap[k]:"#"===k.charAt(0)?fixedFromCharCode(parseInt(k.substr(1).replace("x","0x"))):(errorHandler.error("entity not found:"+a),a)}function appendText(end){var xt=source.substring(start,end).replace(/&#?\\w+;/g,entityReplacer);locator&&position(start),domBuilder.characters(xt,0,end-start),start=end}function position(start,m){for(;start>=endPos&&(m=linePattern.exec(source));)startPos=m.index,endPos=startPos+m[0].length,locator.lineNumber++;locator.columnNumber=start-startPos+1}for(var startPos=0,endPos=0,linePattern=/.+(?:\\r\\n?|\\n)|.*$/g,locator=domBuilder.locator,parseStack=[{currentNSMap:defaultNSMapCopy}],closeMap={},start=0;;){var i=source.indexOf("<",start);if(0>i){if(!source.substr(start).match(/^\\s*$/)){var doc=domBuilder.document,text=doc.createTextNode(source.substr(start));doc.appendChild(text),domBuilder.currentElement=text}return}switch(i>start&&appendText(i),source.charAt(i+1)){case"/":var config,end=source.indexOf(">",i+3),tagName=source.substring(i+2,end);if(!(parseStack.length>1)){errorHandler.fatalError("end tag name not found for: "+tagName);break}config=parseStack.pop();var localNSMap=config.localNSMap;if(config.tagName!=tagName&&errorHandler.fatalError("end tag name: "+tagName+" does not match the current start tagName: "+config.tagName),domBuilder.endElement(config.uri,config.localName,tagName),localNSMap)for(var prefix in localNSMap)domBuilder.endPrefixMapping(prefix);end++;break;case"?":locator&&position(i),end=parseInstruction(source,i,domBuilder);break;case"!":locator&&position(i),end=parseDCC(source,i,domBuilder,errorHandler);break;default:try{locator&&position(i);var el=new ElementAttributes,end=parseElementStartPart(source,i,el,entityReplacer,errorHandler),len=el.length;if(len&&locator){for(var backup=copyLocator(locator,{}),i=0;len>i;i++){var a=el[i];position(a.offset),a.offset=copyLocator(locator,{})}copyLocator(backup,locator)}!el.closed&&fixSelfClosed(source,end,el.tagName,closeMap)&&(el.closed=!0,entityMap.nbsp||errorHandler.warning("unclosed xml attribute")),appendElement(el,domBuilder,parseStack),"http://www.w3.org/1999/xhtml"!==el.uri||el.closed?end++:end=parseHtmlSpecialContent(source,end,el.tagName,entityReplacer,domBuilder)}catch(e){errorHandler.error("element parse error: "+e),end=-1}}0>end?appendText(i+1):start=end}}function copyLocator(f,t){return t.lineNumber=f.lineNumber,t.columnNumber=f.columnNumber,t}function parseElementStartPart(source,start,el,entityReplacer,errorHandler){for(var attrName,value,p=++start,s=S_TAG;;){var c=source.charAt(p);switch(c){case"=":if(s===S_ATTR)attrName=source.slice(start,p),s=S_EQ;else{if(s!==S_ATTR_S)throw Error("attribute equal must after attrName");s=S_EQ}break;case"\'":case\'"\':if(s===S_EQ){if(start=p+1,p=source.indexOf(c,start),!(p>0))throw Error("attribute value no end \'"+c+"\' match");value=source.slice(start,p).replace(/&#?\\w+;/g,entityReplacer),el.add(attrName,value,start-1),s=S_E}else{if(s!=S_V)throw Error(\'attribute value must after "="\');value=source.slice(start,p).replace(/&#?\\w+;/g,entityReplacer),el.add(attrName,value,start),errorHandler.warning(\'attribute "\'+attrName+\'" missed start quot(\'+c+")!!"),start=p+1,s=S_E}break;case"/":switch(s){case S_TAG:el.setTagName(source.slice(start,p));case S_E:case S_S:case S_C:s=S_C,el.closed=!0;case S_V:case S_ATTR:case S_ATTR_S:break;default:throw Error("attribute invalid close char(\'/\')")}break;case"":errorHandler.error("unexpected end of input");case">":switch(s){case S_TAG:el.setTagName(source.slice(start,p));case S_E:case S_S:case S_C:break;case S_V:case S_ATTR:value=source.slice(start,p),"/"===value.slice(-1)&&(el.closed=!0,value=value.slice(0,-1));case S_ATTR_S:s===S_ATTR_S&&(value=attrName),s==S_V?(errorHandler.warning(\'attribute "\'+value+\'" missed quot(")!!\'),el.add(attrName,value.replace(/&#?\\w+;/g,entityReplacer),start)):(errorHandler.warning(\'attribute "\'+value+\'" missed value!! "\'+value+\'" instead!!\'),el.add(value,value,start));break;case S_EQ:throw Error("attribute value missed!!")}return p;case"":c=" ";default:if(" ">=c)switch(s){case S_TAG:el.setTagName(source.slice(start,p)),s=S_S;break;case S_ATTR:attrName=source.slice(start,p),s=S_ATTR_S;break;case S_V:var value=source.slice(start,p).replace(/&#?\\w+;/g,entityReplacer);errorHandler.warning(\'attribute "\'+value+\'" missed quot(")!!\'),el.add(attrName,value,start);case S_E:s=S_S}else switch(s){case S_ATTR_S:errorHandler.warning(\'attribute "\'+attrName+\'" missed value!! "\'+attrName+\'" instead!!\'),el.add(attrName,attrName,start),start=p,s=S_ATTR;\nbreak;case S_E:errorHandler.warning(\'attribute space is acequired"\'+attrName+\'"!!\');case S_S:s=S_ATTR,start=p;break;case S_EQ:s=S_V,start=p;break;case S_C:throw Error("elements closed character \'/\' and \'>\' must be connected to")}}p++}}function appendElement(el,domBuilder,parseStack){for(var tagName=el.tagName,localNSMap=null,currentNSMap=parseStack[parseStack.length-1].currentNSMap,i=el.length;i--;){var a=el[i],qName=a.qName,value=a.value,nsp=qName.indexOf(":");if(nsp>0)var prefix=a.prefix=qName.slice(0,nsp),localName=qName.slice(nsp+1),nsPrefix="xmlns"===prefix&&localName;else localName=qName,prefix=null,nsPrefix="xmlns"===qName&&"";a.localName=localName,nsPrefix!==!1&&(null==localNSMap&&(localNSMap={},_copy(currentNSMap,currentNSMap={})),currentNSMap[nsPrefix]=localNSMap[nsPrefix]=value,a.uri="http://www.w3.org/2000/xmlns/",domBuilder.startPrefixMapping(nsPrefix,value))}for(var i=el.length;i--;){a=el[i];var prefix=a.prefix;prefix&&("xml"===prefix&&(a.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==prefix&&(a.uri=currentNSMap[prefix]))}var nsp=tagName.indexOf(":");nsp>0?(prefix=el.prefix=tagName.slice(0,nsp),localName=el.localName=tagName.slice(nsp+1)):(prefix=null,localName=el.localName=tagName);var ns=el.uri=currentNSMap[prefix||""];if(domBuilder.startElement(ns,localName,tagName,el),el.closed){if(domBuilder.endElement(ns,localName,tagName),localNSMap)for(prefix in localNSMap)domBuilder.endPrefixMapping(prefix)}else el.currentNSMap=currentNSMap,el.localNSMap=localNSMap,parseStack.push(el)}function parseHtmlSpecialContent(source,elStartEnd,tagName,entityReplacer,domBuilder){if(/^(?:script|textarea)$/i.test(tagName)){var elEndStart=source.indexOf("</"+tagName+">",elStartEnd),text=source.substring(elStartEnd+1,elEndStart);if(/[&<]/.test(text))return/^script$/i.test(tagName)?(domBuilder.characters(text,0,text.length),elEndStart):(text=text.replace(/&#?\\w+;/g,entityReplacer),domBuilder.characters(text,0,text.length),elEndStart)}return elStartEnd+1}function fixSelfClosed(source,elStartEnd,tagName,closeMap){var pos=closeMap[tagName];return null==pos&&(pos=closeMap[tagName]=source.lastIndexOf("</"+tagName+">")),elStartEnd>pos}function _copy(source,target){for(var n in source)target[n]=source[n]}function parseDCC(source,start,domBuilder,errorHandler){var next=source.charAt(start+2);switch(next){case"-":if("-"===source.charAt(start+3)){var end=source.indexOf("--\x3e",start+4);return end>start?(domBuilder.comment(source,start+4,end-start-4),end+3):(errorHandler.error("Unclosed comment"),-1)}return-1;default:if("CDATA["==source.substr(start+3,6)){var end=source.indexOf("]]>",start+9);return domBuilder.startCDATA(),domBuilder.characters(source,start+9,end-start-9),domBuilder.endCDATA(),end+3}var matchs=split(source,start),len=matchs.length;if(len>1&&/!doctype/i.test(matchs[0][0])){var name=matchs[1][0],pubid=len>3&&/^public$/i.test(matchs[2][0])&&matchs[3][0],sysid=len>4&&matchs[4][0],lastMatch=matchs[len-1];return domBuilder.startDTD(name,pubid&&pubid.replace(/^([\'"])(.*?)\\1$/,"$2"),sysid&&sysid.replace(/^([\'"])(.*?)\\1$/,"$2")),domBuilder.endDTD(),lastMatch.index+lastMatch[0].length}}return-1}function parseInstruction(source,start,domBuilder){var end=source.indexOf("?>",start);if(end){var match=source.substring(start,end).match(/^<\\?(\\S*)\\s*([\\s\\S]*?)\\s*$/);return match?(match[0].length,domBuilder.processingInstruction(match[1],match[2]),end+2):-1}return-1}function ElementAttributes(){}function _set_proto_(thiz,parent){return thiz.__proto__=parent,thiz}function split(source,start){var match,buf=[],reg=/\'[^\']+\'|"[^"]+"|[^\\s<>\\/=]+=?|(\\/?\\s*>|<)/g;for(reg.lastIndex=start,reg.exec(source);match=reg.exec(source);)if(buf.push(match),match[1])return buf}var nameStartChar=/[A-Z_a-z\\xC0-\\xD6\\xD8-\\xF6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]/,nameChar=RegExp("[\\\\-\\\\.0-9"+nameStartChar.source.slice(1,-1)+"·̀-ͯ\\\\ux203F-⁀]"),tagNamePattern=RegExp("^"+nameStartChar.source+nameChar.source+"*(?::"+nameStartChar.source+nameChar.source+"*)?$"),S_TAG=0,S_ATTR=1,S_ATTR_S=2,S_EQ=3,S_V=4,S_E=5,S_S=6,S_C=7;return XMLReader.prototype={parse:function(source,defaultNSMap,entityMap){var domBuilder=this.domBuilder;domBuilder.startDocument(),_copy(defaultNSMap,defaultNSMap={}),parse(source,defaultNSMap,entityMap,domBuilder,this.errorHandler),domBuilder.endDocument()}},ElementAttributes.prototype={setTagName:function(tagName){if(!tagNamePattern.test(tagName))throw Error("invalid tagName:"+tagName);this.tagName=tagName},add:function(qName,value,offset){if(!tagNamePattern.test(qName))throw Error("invalid attribute:"+qName);this[this.length++]={qName:qName,value:value,offset:offset}},length:0,getLocalName:function(i){return this[i].localName},getOffset:function(i){return this[i].offset},getQName:function(i){return this[i].qName},getURI:function(i){return this[i].uri},getValue:function(i){return this[i].value}},_set_proto_({},_set_proto_.prototype)instanceof _set_proto_||(_set_proto_=function(thiz,parent){function p(){}p.prototype=parent,p=new p;for(parent in thiz)p[parent]=thiz[parent];return p}),XMLReader}),ace.define("ace/mode/xml/dom",["require","exports","module"],function(){function copy(src,dest){for(var p in src)dest[p]=src[p]}function _extends(Class,Super){function t(){}var pt=Class.prototype;if(Object.create){var ppt=Object.create(Super.prototype);pt.__proto__=ppt}pt instanceof Super||(t.prototype=Super.prototype,t=new t,copy(pt,t),Class.prototype=pt=t),pt.constructor!=Class&&("function"!=typeof Class&&console.error("unknow Class:"+Class),pt.constructor=Class)}function DOMException(code,message){if(message instanceof Error)var error=message;else error=this,Error.call(this,ExceptionMessage[code]),this.message=ExceptionMessage[code],Error.captureStackTrace&&Error.captureStackTrace(this,DOMException);return error.code=code,message&&(this.message=this.message+": "+message),error}function NodeList(){}function LiveNodeList(node,refresh){this._node=node,this._refresh=refresh,_updateLiveList(this)}function _updateLiveList(list){var inc=list._node._inc||list._node.ownerDocument._inc;if(list._inc!=inc){var ls=list._refresh(list._node);__set__(list,"length",ls.length),copy(ls,list),list._inc=inc}}function NamedNodeMap(){}function _findNodeIndex(list,node){for(var i=list.length;i--;)if(list[i]===node)return i}function _addNamedNode(el,list,newAttr,oldAttr){if(oldAttr?list[_findNodeIndex(list,oldAttr)]=newAttr:list[list.length++]=newAttr,el){newAttr.ownerElement=el;var doc=el.ownerDocument;doc&&(oldAttr&&_onRemoveAttribute(doc,el,oldAttr),_onAddAttribute(doc,el,newAttr))}}function _removeNamedNode(el,list,attr){var i=_findNodeIndex(list,attr);if(!(i>=0))throw DOMException(NOT_FOUND_ERR,Error());for(var lastIndex=list.length-1;lastIndex>i;)list[i]=list[++i];if(list.length=lastIndex,el){var doc=el.ownerDocument;doc&&(_onRemoveAttribute(doc,el,attr),attr.ownerElement=null)}}function DOMImplementation(features){if(this._features={},features)for(var feature in features)this._features=features[feature]}function Node(){}function _xmlEncoder(c){return"<"==c&&"&lt;"||">"==c&&"&gt;"||"&"==c&&"&amp;"||\'"\'==c&&"&quot;"||"&#"+c.charCodeAt()+";"}function _visitNode(node,callback){if(callback(node))return!0;if(node=node.firstChild)do if(_visitNode(node,callback))return!0;while(node=node.nextSibling)}function Document(){}function _onAddAttribute(doc,el,newAttr){doc&&doc._inc++;var ns=newAttr.namespaceURI;"http://www.w3.org/2000/xmlns/"==ns&&(el._nsMap[newAttr.prefix?newAttr.localName:""]=newAttr.value)}function _onRemoveAttribute(doc,el,newAttr){doc&&doc._inc++;var ns=newAttr.namespaceURI;"http://www.w3.org/2000/xmlns/"==ns&&delete el._nsMap[newAttr.prefix?newAttr.localName:""]}function _onUpdateChild(doc,el,newChild){if(doc&&doc._inc){doc._inc++;var cs=el.childNodes;if(newChild)cs[cs.length++]=newChild;else{for(var child=el.firstChild,i=0;child;)cs[i++]=child,child=child.nextSibling;cs.length=i}}}function _removeChild(parentNode,child){var previous=child.previousSibling,next=child.nextSibling;return previous?previous.nextSibling=next:parentNode.firstChild=next,next?next.previousSibling=previous:parentNode.lastChild=previous,_onUpdateChild(parentNode.ownerDocument,parentNode),child}function _insertBefore(parentNode,newChild,nextChild){var cp=newChild.parentNode;if(cp&&cp.removeChild(newChild),newChild.nodeType===DOCUMENT_FRAGMENT_NODE){var newFirst=newChild.firstChild;if(null==newFirst)return newChild;var newLast=newChild.lastChild}else newFirst=newLast=newChild;var pre=nextChild?nextChild.previousSibling:parentNode.lastChild;newFirst.previousSibling=pre,newLast.nextSibling=nextChild,pre?pre.nextSibling=newFirst:parentNode.firstChild=newFirst,null==nextChild?parentNode.lastChild=newLast:nextChild.previousSibling=newLast;do newFirst.parentNode=parentNode;while(newFirst!==newLast&&(newFirst=newFirst.nextSibling));return _onUpdateChild(parentNode.ownerDocument||parentNode,parentNode),newChild.nodeType==DOCUMENT_FRAGMENT_NODE&&(newChild.firstChild=newChild.lastChild=null),newChild}function _appendSingleChild(parentNode,newChild){var cp=newChild.parentNode;if(cp){var pre=parentNode.lastChild;cp.removeChild(newChild);var pre=parentNode.lastChild}var pre=parentNode.lastChild;return newChild.parentNode=parentNode,newChild.previousSibling=pre,newChild.nextSibling=null,pre?pre.nextSibling=newChild:parentNode.firstChild=newChild,parentNode.lastChild=newChild,_onUpdateChild(parentNode.ownerDocument,parentNode,newChild),newChild}function Element(){this._nsMap={}}function Attr(){}function CharacterData(){}function Text(){}function Comment(){}function CDATASection(){}function DocumentType(){}function Notation(){}function Entity(){}function EntityReference(){}function DocumentFragment(){}function ProcessingInstruction(){}function XMLSerializer(){}function serializeToString(node,buf){switch(node.nodeType){case ELEMENT_NODE:var attrs=node.attributes,len=attrs.length,child=node.firstChild,nodeName=node.tagName,isHTML=htmlns===node.namespaceURI;buf.push("<",nodeName);for(var i=0;len>i;i++)serializeToString(attrs.item(i),buf,isHTML);if(child||isHTML&&!/^(?:meta|link|img|br|hr|input|button)$/i.test(nodeName)){if(buf.push(">"),isHTML&&/^script$/i.test(nodeName))child&&buf.push(child.data);else for(;child;)serializeToString(child,buf),child=child.nextSibling;buf.push("</",nodeName,">")}else buf.push("/>");return;case DOCUMENT_NODE:case DOCUMENT_FRAGMENT_NODE:for(var child=node.firstChild;child;)serializeToString(child,buf),child=child.nextSibling;return;case ATTRIBUTE_NODE:return buf.push(" ",node.name,\'="\',node.value.replace(/[<&"]/g,_xmlEncoder),\'"\');case TEXT_NODE:return buf.push(node.data.replace(/[<&]/g,_xmlEncoder));case CDATA_SECTION_NODE:return buf.push("<![CDATA[",node.data,"]]>");case COMMENT_NODE:return buf.push("\x3c!--",node.data,"--\x3e");case DOCUMENT_TYPE_NODE:var pubid=node.publicId,sysid=node.systemId;if(buf.push("<!DOCTYPE ",node.name),pubid)buf.push(\' PUBLIC "\',pubid),sysid&&"."!=sysid&&buf.push(\'" "\',sysid),buf.push(\'">\');else if(sysid&&"."!=sysid)buf.push(\' SYSTEM "\',sysid,\'">\');else{var sub=node.internalSubset;sub&&buf.push(" [",sub,"]"),buf.push(">")}return;case PROCESSING_INSTRUCTION_NODE:return buf.push("<?",node.target," ",node.data,"?>");case ENTITY_REFERENCE_NODE:return buf.push("&",node.nodeName,";");default:buf.push("??",node.nodeName)}}function importNode(doc,node,deep){var node2;switch(node.nodeType){case ELEMENT_NODE:node2=node.cloneNode(!1),node2.ownerDocument=doc;case DOCUMENT_FRAGMENT_NODE:break;case ATTRIBUTE_NODE:deep=!0}if(node2||(node2=node.cloneNode(!1)),node2.ownerDocument=doc,node2.parentNode=null,deep)for(var child=node.firstChild;child;)node2.appendChild(importNode(doc,child,deep)),child=child.nextSibling;return node2}function cloneNode(doc,node,deep){var node2=new node.constructor;for(var n in node){var v=node[n];"object"!=typeof v&&v!=node2[n]&&(node2[n]=v)}switch(node.childNodes&&(node2.childNodes=new NodeList),node2.ownerDocument=doc,node2.nodeType){case ELEMENT_NODE:var attrs=node.attributes,attrs2=node2.attributes=new NamedNodeMap,len=attrs.length;attrs2._ownerElement=node2;for(var i=0;len>i;i++)node2.setAttributeNode(cloneNode(doc,attrs.item(i),!0));break;case ATTRIBUTE_NODE:deep=!0}if(deep)for(var child=node.firstChild;child;)node2.appendChild(cloneNode(doc,child,deep)),child=child.nextSibling;return node2}function __set__(object,key,value){object[key]=value}function getTextContent(node){switch(node.nodeType){case 1:case 11:var buf=[];for(node=node.firstChild;node;)7!==node.nodeType&&8!==node.nodeType&&buf.push(getTextContent(node)),node=node.nextSibling;return buf.join("");default:return node.nodeValue}}var htmlns="http://www.w3.org/1999/xhtml",NodeType={},ELEMENT_NODE=NodeType.ELEMENT_NODE=1,ATTRIBUTE_NODE=NodeType.ATTRIBUTE_NODE=2,TEXT_NODE=NodeType.TEXT_NODE=3,CDATA_SECTION_NODE=NodeType.CDATA_SECTION_NODE=4,ENTITY_REFERENCE_NODE=NodeType.ENTITY_REFERENCE_NODE=5,ENTITY_NODE=NodeType.ENTITY_NODE=6,PROCESSING_INSTRUCTION_NODE=NodeType.PROCESSING_INSTRUCTION_NODE=7,COMMENT_NODE=NodeType.COMMENT_NODE=8,DOCUMENT_NODE=NodeType.DOCUMENT_NODE=9,DOCUMENT_TYPE_NODE=NodeType.DOCUMENT_TYPE_NODE=10,DOCUMENT_FRAGMENT_NODE=NodeType.DOCUMENT_FRAGMENT_NODE=11,NOTATION_NODE=NodeType.NOTATION_NODE=12,ExceptionCode={},ExceptionMessage={};ExceptionCode.INDEX_SIZE_ERR=(ExceptionMessage[1]="Index size error",1),ExceptionCode.DOMSTRING_SIZE_ERR=(ExceptionMessage[2]="DOMString size error",2),ExceptionCode.HIERARCHY_REQUEST_ERR=(ExceptionMessage[3]="Hierarchy request error",3),ExceptionCode.WRONG_DOCUMENT_ERR=(ExceptionMessage[4]="Wrong document",4),ExceptionCode.INVALID_CHARACTER_ERR=(ExceptionMessage[5]="Invalid character",5),ExceptionCode.NO_DATA_ALLOWED_ERR=(ExceptionMessage[6]="No data allowed",6),ExceptionCode.NO_MODIFICATION_ALLOWED_ERR=(ExceptionMessage[7]="No modification allowed",7);var NOT_FOUND_ERR=ExceptionCode.NOT_FOUND_ERR=(ExceptionMessage[8]="Not found",8);ExceptionCode.NOT_SUPPORTED_ERR=(ExceptionMessage[9]="Not supported",9);var INUSE_ATTRIBUTE_ERR=ExceptionCode.INUSE_ATTRIBUTE_ERR=(ExceptionMessage[10]="Attribute in use",10);ExceptionCode.INVALID_STATE_ERR=(ExceptionMessage[11]="Invalid state",11),ExceptionCode.SYNTAX_ERR=(ExceptionMessage[12]="Syntax error",12),ExceptionCode.INVALID_MODIFICATION_ERR=(ExceptionMessage[13]="Invalid modification",13),ExceptionCode.NAMESPACE_ERR=(ExceptionMessage[14]="Invalid namespace",14),ExceptionCode.INVALID_ACCESS_ERR=(ExceptionMessage[15]="Invalid access",15),DOMException.prototype=Error.prototype,copy(ExceptionCode,DOMException),NodeList.prototype={length:0,item:function(index){return this[index]||null}},LiveNodeList.prototype.item=function(i){return _updateLiveList(this),this[i]},_extends(LiveNodeList,NodeList),NamedNodeMap.prototype={length:0,item:NodeList.prototype.item,getNamedItem:function(key){for(var i=this.length;i--;){var attr=this[i];if(attr.nodeName==key)return attr}},setNamedItem:function(attr){var el=attr.ownerElement;if(el&&el!=this._ownerElement)throw new DOMException(INUSE_ATTRIBUTE_ERR);var oldAttr=this.getNamedItem(attr.nodeName);return _addNamedNode(this._ownerElement,this,attr,oldAttr),oldAttr},setNamedItemNS:function(attr){var oldAttr,el=attr.ownerElement;if(el&&el!=this._ownerElement)throw new DOMException(INUSE_ATTRIBUTE_ERR);return oldAttr=this.getNamedItemNS(attr.namespaceURI,attr.localName),_addNamedNode(this._ownerElement,this,attr,oldAttr),oldAttr},removeNamedItem:function(key){var attr=this.getNamedItem(key);return _removeNamedNode(this._ownerElement,this,attr),attr},removeNamedItemNS:function(namespaceURI,localName){var attr=this.getNamedItemNS(namespaceURI,localName);return _removeNamedNode(this._ownerElement,this,attr),attr},getNamedItemNS:function(namespaceURI,localName){for(var i=this.length;i--;){var node=this[i];if(node.localName==localName&&node.namespaceURI==namespaceURI)return node}return null}},DOMImplementation.prototype={hasFeature:function(feature,version){var versions=this._features[feature.toLowerCase()];return versions&&(!version||version in versions)?!0:!1},createDocument:function(namespaceURI,qualifiedName,doctype){var doc=new Document;if(doc.implementation=this,doc.childNodes=new NodeList,doc.doctype=doctype,doctype&&doc.appendChild(doctype),qualifiedName){var root=doc.createElementNS(namespaceURI,qualifiedName);doc.appendChild(root)}return doc},createDocumentType:function(qualifiedName,publicId,systemId){var node=new DocumentType;return node.name=qualifiedName,node.nodeName=qualifiedName,node.publicId=publicId,node.systemId=systemId,node}},Node.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(newChild,refChild){return _insertBefore(this,newChild,refChild)},replaceChild:function(newChild,oldChild){this.insertBefore(newChild,oldChild),oldChild&&this.removeChild(oldChild)},removeChild:function(oldChild){return _removeChild(this,oldChild)},appendChild:function(newChild){return this.insertBefore(newChild,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(deep){return cloneNode(this.ownerDocument||this,this,deep)},normalize:function(){for(var child=this.firstChild;child;){var next=child.nextSibling;next&&next.nodeType==TEXT_NODE&&child.nodeType==TEXT_NODE?(this.removeChild(next),child.appendData(next.data)):(child.normalize(),child=next)}},isSupported:function(feature,version){return this.ownerDocument.implementation.hasFeature(feature,version)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(namespaceURI){for(var el=this;el;){var map=el._nsMap;if(map)for(var n in map)if(map[n]==namespaceURI)return n;el=2==el.nodeType?el.ownerDocument:el.parentNode}return null},lookupNamespaceURI:function(prefix){for(var el=this;el;){var map=el._nsMap;if(map&&prefix in map)return map[prefix];el=2==el.nodeType?el.ownerDocument:el.parentNode}return null},isDefaultNamespace:function(namespaceURI){var prefix=this.lookupPrefix(namespaceURI);return null==prefix}},copy(NodeType,Node),copy(NodeType,Node.prototype),Document.prototype={nodeName:"#document",nodeType:DOCUMENT_NODE,doctype:null,documentElement:null,_inc:1,insertBefore:function(newChild,refChild){if(newChild.nodeType==DOCUMENT_FRAGMENT_NODE){for(var child=newChild.firstChild;child;){var next=child.nextSibling;this.insertBefore(child,refChild),child=next}return newChild}return null==this.documentElement&&1==newChild.nodeType&&(this.documentElement=newChild),_insertBefore(this,newChild,refChild),newChild.ownerDocument=this,newChild},removeChild:function(oldChild){return this.documentElement==oldChild&&(this.documentElement=null),_removeChild(this,oldChild)},importNode:function(importedNode,deep){return importNode(this,importedNode,deep)},getElementById:function(id){var rtv=null;return _visitNode(this.documentElement,function(node){return 1==node.nodeType&&node.getAttribute("id")==id?(rtv=node,!0):void 0}),rtv},createElement:function(tagName){var node=new Element;node.ownerDocument=this,node.nodeName=tagName,node.tagName=tagName,node.childNodes=new NodeList;var attrs=node.attributes=new NamedNodeMap;return attrs._ownerElement=node,node},createDocumentFragment:function(){var node=new DocumentFragment;return node.ownerDocument=this,node.childNodes=new NodeList,node},createTextNode:function(data){var node=new Text;return node.ownerDocument=this,node.appendData(data),node},createComment:function(data){var node=new Comment;return node.ownerDocument=this,node.appendData(data),node},createCDATASection:function(data){var node=new CDATASection;return node.ownerDocument=this,node.appendData(data),node},createProcessingInstruction:function(target,data){var node=new ProcessingInstruction;return node.ownerDocument=this,node.tagName=node.target=target,node.nodeValue=node.data=data,node},createAttribute:function(name){var node=new Attr;return node.ownerDocument=this,node.name=name,node.nodeName=name,node.localName=name,node.specified=!0,node},createEntityReference:function(name){var node=new EntityReference;return node.ownerDocument=this,node.nodeName=name,node},createElementNS:function(namespaceURI,qualifiedName){var node=new Element,pl=qualifiedName.split(":"),attrs=node.attributes=new NamedNodeMap;return node.childNodes=new NodeList,node.ownerDocument=this,node.nodeName=qualifiedName,node.tagName=qualifiedName,node.namespaceURI=namespaceURI,2==pl.length?(node.prefix=pl[0],node.localName=pl[1]):node.localName=qualifiedName,attrs._ownerElement=node,node},createAttributeNS:function(namespaceURI,qualifiedName){var node=new Attr,pl=qualifiedName.split(":");return node.ownerDocument=this,node.nodeName=qualifiedName,node.name=qualifiedName,node.namespaceURI=namespaceURI,node.specified=!0,2==pl.length?(node.prefix=pl[0],node.localName=pl[1]):node.localName=qualifiedName,node}},_extends(Document,Node),Element.prototype={nodeType:ELEMENT_NODE,hasAttribute:function(name){return null!=this.getAttributeNode(name)},getAttribute:function(name){var attr=this.getAttributeNode(name);return attr&&attr.value||""},getAttributeNode:function(name){return this.attributes.getNamedItem(name)},setAttribute:function(name,value){var attr=this.ownerDocument.createAttribute(name);attr.value=attr.nodeValue=""+value,this.setAttributeNode(attr)},removeAttribute:function(name){var attr=this.getAttributeNode(name);attr&&this.removeAttributeNode(attr)},appendChild:function(newChild){return newChild.nodeType===DOCUMENT_FRAGMENT_NODE?this.insertBefore(newChild,null):_appendSingleChild(this,newChild)},setAttributeNode:function(newAttr){return this.attributes.setNamedItem(newAttr)},setAttributeNodeNS:function(newAttr){return this.attributes.setNamedItemNS(newAttr)},removeAttributeNode:function(oldAttr){return this.attributes.removeNamedItem(oldAttr.nodeName)},removeAttributeNS:function(namespaceURI,localName){var old=this.getAttributeNodeNS(namespaceURI,localName);old&&this.removeAttributeNode(old)},hasAttributeNS:function(namespaceURI,localName){return null!=this.getAttributeNodeNS(namespaceURI,localName)},getAttributeNS:function(namespaceURI,localName){var attr=this.getAttributeNodeNS(namespaceURI,localName);return attr&&attr.value||""},setAttributeNS:function(namespaceURI,qualifiedName,value){var attr=this.ownerDocument.createAttributeNS(namespaceURI,qualifiedName);attr.value=attr.nodeValue=""+value,this.setAttributeNode(attr)},getAttributeNodeNS:function(namespaceURI,localName){return this.attributes.getNamedItemNS(namespaceURI,localName)},getElementsByTagName:function(tagName){return new LiveNodeList(this,function(base){var ls=[];return _visitNode(base,function(node){node===base||node.nodeType!=ELEMENT_NODE||"*"!==tagName&&node.tagName!=tagName||ls.push(node)}),ls})},getElementsByTagNameNS:function(namespaceURI,localName){return new LiveNodeList(this,function(base){var ls=[];return _visitNode(base,function(node){node===base||node.nodeType!==ELEMENT_NODE||"*"!==namespaceURI&&node.namespaceURI!==namespaceURI||"*"!==localName&&node.localName!=localName||ls.push(node)}),ls})}},Document.prototype.getElementsByTagName=Element.prototype.getElementsByTagName,Document.prototype.getElementsByTagNameNS=Element.prototype.getElementsByTagNameNS,_extends(Element,Node),Attr.prototype.nodeType=ATTRIBUTE_NODE,_extends(Attr,Node),CharacterData.prototype={data:"",substringData:function(offset,count){return this.data.substring(offset,offset+count)},appendData:function(text){text=this.data+text,this.nodeValue=this.data=text,this.length=text.length},insertData:function(offset,text){this.replaceData(offset,0,text)},appendChild:function(){throw Error(ExceptionMessage[3])},deleteData:function(offset,count){this.replaceData(offset,count,"")},replaceData:function(offset,count,text){var start=this.data.substring(0,offset),end=this.data.substring(offset+count);text=start+text+end,this.nodeValue=this.data=text,this.length=text.length}},_extends(CharacterData,Node),Text.prototype={nodeName:"#text",nodeType:TEXT_NODE,splitText:function(offset){var text=this.data,newText=text.substring(offset);text=text.substring(0,offset),this.data=this.nodeValue=text,this.length=text.length;var newNode=this.ownerDocument.createTextNode(newText);return this.parentNode&&this.parentNode.insertBefore(newNode,this.nextSibling),newNode}},_extends(Text,CharacterData),Comment.prototype={nodeName:"#comment",nodeType:COMMENT_NODE},_extends(Comment,CharacterData),CDATASection.prototype={nodeName:"#cdata-section",nodeType:CDATA_SECTION_NODE},_extends(CDATASection,CharacterData),DocumentType.prototype.nodeType=DOCUMENT_TYPE_NODE,_extends(DocumentType,Node),Notation.prototype.nodeType=NOTATION_NODE,_extends(Notation,Node),Entity.prototype.nodeType=ENTITY_NODE,_extends(Entity,Node),EntityReference.prototype.nodeType=ENTITY_REFERENCE_NODE,_extends(EntityReference,Node),DocumentFragment.prototype.nodeName="#document-fragment",DocumentFragment.prototype.nodeType=DOCUMENT_FRAGMENT_NODE,_extends(DocumentFragment,Node),ProcessingInstruction.prototype.nodeType=PROCESSING_INSTRUCTION_NODE,_extends(ProcessingInstruction,Node),XMLSerializer.prototype.serializeToString=function(node){var buf=[];return serializeToString(node,buf),buf.join("")},Node.prototype.toString=function(){return XMLSerializer.prototype.serializeToString(this)};try{Object.defineProperty&&(Object.defineProperty(LiveNodeList.prototype,"length",{get:function(){return _updateLiveList(this),this.$$length}}),Object.defineProperty(Node.prototype,"textContent",{get:function(){return getTextContent(this)},set:function(data){switch(this.nodeType){case 1:case 11:for(;this.firstChild;)this.removeChild(this.firstChild);(data||data+"")&&this.appendChild(this.ownerDocument.createTextNode(data));break;default:this.data=data,this.value=value,this.nodeValue=data}}}),__set__=function(object,key,value){object["$$"+key]=value})}catch(e){}return DOMImplementation}),ace.define("ace/mode/xml/dom-parser",["require","exports","module","ace/mode/xml/sax","ace/mode/xml/dom"],function(acequire){"use strict";function DOMParser(options){this.options=options||{locator:{}}}function buildErrorHandler(errorImpl,domBuilder,locator){function build(key){var fn=errorImpl[key];if(!fn)if(isCallback)fn=2==errorImpl.length?function(msg){errorImpl(key,msg)}:errorImpl;else for(var i=arguments.length;--i&&!(fn=errorImpl[arguments[i]]););errorHandler[key]=fn&&function(msg){fn(msg+_locator(locator),msg,locator)}||function(){}}if(!errorImpl){if(domBuilder instanceof DOMHandler)return domBuilder;errorImpl=domBuilder}var errorHandler={},isCallback=errorImpl instanceof Function;return locator=locator||{},build("warning","warn"),build("error","warn","warning"),build("fatalError","warn","warning","error"),errorHandler}function DOMHandler(){this.cdata=!1}function position(locator,node){node.lineNumber=locator.lineNumber,node.columnNumber=locator.columnNumber}function _locator(l){return l?"\\n@"+(l.systemId||"")+"#[line:"+l.lineNumber+",col:"+l.columnNumber+"]":void 0}function _toString(chars,start,length){return"string"==typeof chars?chars.substr(start,length):chars.length>=start+length||start?new java.lang.String(chars,start,length)+"":chars}function appendElement(hander,node){hander.currentElement?hander.currentElement.appendChild(node):hander.document.appendChild(node)}var XMLReader=acequire("./sax"),DOMImplementation=acequire("./dom");return DOMParser.prototype.parseFromString=function(source,mimeType){var options=this.options,sax=new XMLReader,domBuilder=options.domBuilder||new DOMHandler,errorHandler=options.errorHandler,locator=options.locator,defaultNSMap=options.xmlns||{},entityMap={lt:"<",gt:">",amp:"&",quot:\'"\',apos:"\'"};return locator&&domBuilder.setDocumentLocator(locator),sax.errorHandler=buildErrorHandler(errorHandler,domBuilder,locator),sax.domBuilder=options.domBuilder||domBuilder,/\\/x?html?$/.test(mimeType)&&(entityMap.nbsp=" ",entityMap.copy="©",defaultNSMap[""]="http://www.w3.org/1999/xhtml"),source?sax.parse(source,defaultNSMap,entityMap):sax.errorHandler.error("invalid document source"),domBuilder.document},DOMHandler.prototype={startDocument:function(){this.document=(new DOMImplementation).createDocument(null,null,null),this.locator&&(this.document.documentURI=this.locator.systemId)},startElement:function(namespaceURI,localName,qName,attrs){var doc=this.document,el=doc.createElementNS(namespaceURI,qName||localName),len=attrs.length;appendElement(this,el),this.currentElement=el,this.locator&&position(this.locator,el);for(var i=0;len>i;i++){var namespaceURI=attrs.getURI(i),value=attrs.getValue(i),qName=attrs.getQName(i),attr=doc.createAttributeNS(namespaceURI,qName);attr.getOffset&&position(attr.getOffset(1),attr),attr.value=attr.nodeValue=value,el.setAttributeNode(attr)}},endElement:function(){var current=this.currentElement;current.tagName,this.currentElement=current.parentNode},startPrefixMapping:function(){},endPrefixMapping:function(){},processingInstruction:function(target,data){var ins=this.document.createProcessingInstruction(target,data);this.locator&&position(this.locator,ins),appendElement(this,ins)},ignorableWhitespace:function(){},characters:function(chars){if(chars=_toString.apply(this,arguments),this.currentElement&&chars){if(this.cdata){var charNode=this.document.createCDATASection(chars);this.currentElement.appendChild(charNode)}else{var charNode=this.document.createTextNode(chars);this.currentElement.appendChild(charNode)}this.locator&&position(this.locator,charNode)}},skippedEntity:function(){},endDocument:function(){this.document.normalize()},setDocumentLocator:function(locator){(this.locator=locator)&&(locator.lineNumber=0)},comment:function(chars){chars=_toString.apply(this,arguments);var comm=this.document.createComment(chars);this.locator&&position(this.locator,comm),appendElement(this,comm)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(name,publicId,systemId){var impl=this.document.implementation;if(impl&&impl.createDocumentType){var dt=impl.createDocumentType(name,publicId,systemId);this.locator&&position(this.locator,dt),appendElement(this,dt)}},warning:function(error){console.warn(error,_locator(this.locator))},error:function(error){console.error(error,_locator(this.locator))},fatalError:function(error){throw console.error(error,_locator(this.locator)),error}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\\w+/g,function(key){DOMHandler.prototype[key]=function(){return null}}),{DOMParser:DOMParser}}),ace.define("ace/mode/xml_worker",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/worker/mirror","ace/mode/xml/dom-parser"],function(acequire,exports){"use strict";var oop=acequire("../lib/oop");acequire("../lib/lang");var Mirror=acequire("../worker/mirror").Mirror,DOMParser=acequire("./xml/dom-parser").DOMParser,Worker=exports.Worker=function(sender){Mirror.call(this,sender),this.setTimeout(400),this.context=null};oop.inherits(Worker,Mirror),function(){this.setOptions=function(options){this.context=options.context},this.onUpdate=function(){var value=this.doc.getValue();if(value){var parser=new DOMParser,errors=[];parser.options.errorHandler={fatalError:function(fullMsg,errorMsg,locator){errors.push({row:locator.lineNumber,column:locator.columnNumber,text:errorMsg,type:"error"})},error:function(fullMsg,errorMsg,locator){errors.push({row:locator.lineNumber,column:locator.columnNumber,text:errorMsg,type:"error"})},warning:function(fullMsg,errorMsg,locator){errors.push({row:locator.lineNumber,column:locator.columnNumber,text:errorMsg,type:"warning"})}},parser.parseFromString(value),this.sender.emit("error",errors)}}}.call(Worker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object\n}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != \'object\'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws="\t\\n\v\\f\\r   ᠎             　\\u2028\\u2029\ufeff";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can\'t convert "+o+" to object");return Object(o)}});'},function(module,exports){module.exports.id="ace/mode/css_worker";module.exports.src='"no use strict";!function(window){function resolveModuleId(id,paths){for(var testPath=id,tail="";testPath;){var alias=paths[testPath];if("string"==typeof alias)return alias+tail;if(alias)return alias.location.replace(/\\/*$/,"/")+(tail||alias.main||alias.name);if(alias===!1)return"";var i=testPath.lastIndexOf("/");if(-1===i)break;tail=testPath.substr(i)+tail,testPath=testPath.slice(0,i)}return id}if(!(void 0!==window.window&&window.document||window.acequire&&window.define)){window.console||(window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console),window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:"error",data:{message:message,data:err.data,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf("!")){var chunks=moduleName.split("!");return window.normalizeModule(parentId,chunks[0])+"!"+window.normalizeModule(parentId,chunks[1])}if("."==moduleName.charAt(0)){var base=parentId.split("/").slice(0,-1).join("/");for(moduleName=(base?base+"/":"")+moduleName;-1!==moduleName.indexOf(".")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,"").replace(/\\/\\.\\//,"/").replace(/[^\\/]+\\/\\.\\.\\//,"")}}return moduleName},window.acequire=function acequire(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error("worker.js acequire() accepts only (parentId, id) as arguments");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;if(!window.acequire.tlns)return console.log("unable to load "+id);var path=resolveModuleId(id,window.acequire.tlns);return".js"!=path.slice(-3)&&(path+=".js"),window.acequire.id=id,window.acequire.modules[id]={},importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,"string"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),"function"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=["require","exports","module"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case"require":return req;case"exports":return module.exports;case"module":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},acequire.tlns={},window.initBaseUrls=function(topLevelNamespaces){for(var i in topLevelNamespaces)acequire.tlns[i]=topLevelNamespaces[i]},window.initSender=function(){var EventEmitter=window.acequire("ace/lib/event_emitter").EventEmitter,oop=window.acequire("ace/lib/oop"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:"call",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:"event",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.event&&sender)sender._signal(msg.event,msg.data);else if(msg.command)if(main[msg.command])main[msg.command].apply(main,msg.args);else{if(!window[msg.command])throw Error("Unknown command:"+msg.command);window[msg.command].apply(window,msg.args)}else if(msg.init){window.initBaseUrls(msg.tlns),acequire("ace/lib/es5-shim"),sender=window.sender=window.initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}}}}(this),ace.define("ace/lib/oop",["require","exports","module"],function(acequire,exports){"use strict";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if("object"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}if("[object Object]"!==Object.prototype.toString.call(obj))return obj;copy={};for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/\'/g,"&#39;").replace(/</g,"&#60;")},exports.getMatchOffsets=function(string,regExp){var matches=[];return string.replace(regExp,function(str){matches.push({offset:arguments[arguments.length-2],length:str.length})}),matches},exports.deferredCall=function(fcn){var timer=null,callback=function(){timer=null,fcn()},deferred=function(timeout){return deferred.cancel(),timer=setTimeout(callback,timeout||0),deferred};return deferred.schedule=deferred,deferred.call=function(){return this.cancel(),fcn(),deferred},deferred.cancel=function(){return clearTimeout(timer),timer=null,deferred},deferred.isPending=function(){return timer},deferred},exports.delayedCall=function(fcn,defaultTimeout){var timer=null,callback=function(){timer=null,fcn()},_self=function(timeout){null==timer&&(timer=setTimeout(callback,timeout||defaultTimeout))};return _self.delay=function(timeout){timer&&clearTimeout(timer),timer=setTimeout(callback,timeout||defaultTimeout)},_self.schedule=_self,_self.call=function(){this.cancel(),fcn()},_self.cancel=function(){timer&&clearTimeout(timer),timer=null},_self.isPending=function(){return timer},_self}}),ace.define("ace/range",["require","exports","module"],function(acequire,exports){"use strict";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/apply_delta",["require","exports","module"],function(acequire,exports){"use strict";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||"";switch(delta.action){case"insert":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case"remove":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.column<point2.column;return point1.row<point2.row||point1.row==point2.row&&bColIsAfter}function $getTransformedPoint(delta,point,moveIfEqual){var deltaIsInsert="insert"==delta.action,deltaRowShift=(deltaIsInsert?1:-1)*(delta.end.row-delta.start.row),deltaColShift=(deltaIsInsert?1:-1)*(delta.end.column-delta.start.column),deltaStart=delta.start,deltaEnd=deltaIsInsert?deltaStart:delta.end;return $pointsInOrder(point,deltaStart,moveIfEqual)?{row:point.row,column:point.column}:$pointsInOrder(deltaEnd,point,!moveIfEqual)?{row:point.row+deltaRowShift,column:point.column+(point.row==deltaEnd.row?deltaColShift:0)}:{row:deltaStart.row,column:deltaStart.column}}oop.implement(this,EventEmitter),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(delta){if(!(delta.start.row==delta.end.row&&delta.start.row!=this.row||delta.start.row>this.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),applyDelta=acequire("./apply_delta").applyDelta,EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(textOrLines){this.$lines=[""],0===textOrLines.length?this.$lines=[""]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:"\\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\\r\\n";case"unix":return"\\n";default:return this.$autoNewLine||"\\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, [\'\', \'\']) instead."),this.insertMergedLines(position,["",""])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:"insert",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([""]),column=0):(lines=[""].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:"insert",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:"remove",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:"remove",lines:["",""]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert="insert"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal("change",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(""),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:"insert"==delta.action?"remove":"insert",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/worker/mirror",["require","exports","module","ace/range","ace/document","ace/lib/lang"],function(acequire,exports){"use strict";acequire("../range").Range;var Document=acequire("../document").Document,lang=acequire("../lib/lang"),Mirror=exports.Mirror=function(sender){this.sender=sender;var doc=this.doc=new Document(""),deferredUpdate=this.deferredUpdate=lang.delayedCall(this.onUpdate.bind(this)),_self=this;sender.on("change",function(e){var data=e.data;if(data[0].start)doc.applyDeltas(data);else for(var i=0;data.length>i;i+=2){if(Array.isArray(data[i+1]))var d={action:"insert",start:data[i],lines:data[i+1]};else var d={action:"remove",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define("ace/mode/css/csslint",["require","exports","module"],function(acequire,exports,module){function objectToString(o){return Object.prototype.toString.call(o)}function clone(parent,circular,depth,prototype){function _clone(parent,depth){if(null===parent)return null;if(0==depth)return parent;var child;if("object"!=typeof parent)return parent;if(util.isArray(parent))child=[];else if(util.isRegExp(parent))child=RegExp(parent.source,util.getRegExpFlags(parent)),parent.lastIndex&&(child.lastIndex=parent.lastIndex);else if(util.isDate(parent))child=new Date(parent.getTime());else{if(useBuffer&&Buffer.isBuffer(parent))return child=new Buffer(parent.length),parent.copy(child),child;child=prototype===void 0?Object.create(Object.getPrototypeOf(parent)):Object.create(prototype)}if(circular){var index=allParents.indexOf(parent);if(-1!=index)return allChildren[index];allParents.push(parent),allChildren.push(child)}for(var i in parent)child[i]=_clone(parent[i],depth-1);return child}var allParents=[],allChildren=[],useBuffer="undefined"!=typeof Buffer;return circular===void 0&&(circular=!0),depth===void 0&&(depth=1/0),_clone(parent,depth)}function Reporter(lines,ruleset){this.messages=[],this.stats=[],this.lines=lines,this.ruleset=ruleset}var parserlib={};(function(){function EventTarget(){this._listeners={}}function StringReader(text){this._input=text.replace(/\\n\\r?/g,"\\n"),this._line=1,this._col=1,this._cursor=0}function SyntaxError(message,line,col){this.col=col,this.line=line,this.message=message}function SyntaxUnit(text,line,col,type){this.col=col,this.line=line,this.text=text,this.type=type}function TokenStreamBase(input,tokenData){this._reader=input?new StringReader(""+input):null,this._token=null,this._tokenData=tokenData,this._lt=[],this._ltIndex=0,this._ltIndexCache=[]}EventTarget.prototype={constructor:EventTarget,addListener:function(type,listener){this._listeners[type]||(this._listeners[type]=[]),this._listeners[type].push(listener)},fire:function(event){if("string"==typeof event&&(event={type:event}),event.target!==void 0&&(event.target=this),event.type===void 0)throw Error("Event object missing \'type\' property.");if(this._listeners[event.type])for(var listeners=this._listeners[event.type].concat(),i=0,len=listeners.length;len>i;i++)listeners[i].call(this,event)},removeListener:function(type,listener){if(this._listeners[type])for(var listeners=this._listeners[type],i=0,len=listeners.length;len>i;i++)if(listeners[i]===listener){listeners.splice(i,1);break}}},StringReader.prototype={constructor:StringReader,getCol:function(){return this._col},getLine:function(){return this._line},eof:function(){return this._cursor==this._input.length},peek:function(count){var c=null;return count=count===void 0?1:count,this._cursor<this._input.length&&(c=this._input.charAt(this._cursor+count-1)),c},read:function(){var c=null;return this._cursor<this._input.length&&("\\n"==this._input.charAt(this._cursor)?(this._line++,this._col=1):this._col++,c=this._input.charAt(this._cursor++)),c},mark:function(){this._bookmark={cursor:this._cursor,line:this._line,col:this._col}},reset:function(){this._bookmark&&(this._cursor=this._bookmark.cursor,this._line=this._bookmark.line,this._col=this._bookmark.col,delete this._bookmark)},readTo:function(pattern){for(var c,buffer="";buffer.length<pattern.length||buffer.lastIndexOf(pattern)!=buffer.length-pattern.length;){if(c=this.read(),!c)throw Error(\'Expected "\'+pattern+\'" at line \'+this._line+", col "+this._col+".");buffer+=c}return buffer},readWhile:function(filter){for(var buffer="",c=this.read();null!==c&&filter(c);)buffer+=c,c=this.read();return buffer},readMatch:function(matcher){var source=this._input.substring(this._cursor),value=null;return"string"==typeof matcher?0===source.indexOf(matcher)&&(value=this.readCount(matcher.length)):matcher instanceof RegExp&&matcher.test(source)&&(value=this.readCount(RegExp.lastMatch.length)),value},readCount:function(count){for(var buffer="";count--;)buffer+=this.read();return buffer}},SyntaxError.prototype=Error(),SyntaxUnit.fromToken=function(token){return new SyntaxUnit(token.value,token.startLine,token.startCol)},SyntaxUnit.prototype={constructor:SyntaxUnit,valueOf:function(){return this.text},toString:function(){return this.text}},TokenStreamBase.createTokenData=function(tokens){var nameMap=[],typeMap={},tokenData=tokens.concat([]),i=0,len=tokenData.length+1;for(tokenData.UNKNOWN=-1,tokenData.unshift({name:"EOF"});len>i;i++)nameMap.push(tokenData[i].name),tokenData[tokenData[i].name]=i,tokenData[i].text&&(typeMap[tokenData[i].text]=i);return tokenData.name=function(tt){return nameMap[tt]},tokenData.type=function(c){return typeMap[c]},tokenData},TokenStreamBase.prototype={constructor:TokenStreamBase,match:function(tokenTypes,channel){tokenTypes instanceof Array||(tokenTypes=[tokenTypes]);\nfor(var tt=this.get(channel),i=0,len=tokenTypes.length;len>i;)if(tt==tokenTypes[i++])return!0;return this.unget(),!1},mustMatch:function(tokenTypes){var token;if(tokenTypes instanceof Array||(tokenTypes=[tokenTypes]),!this.match.apply(this,arguments))throw token=this.LT(1),new SyntaxError("Expected "+this._tokenData[tokenTypes[0]].name+" at line "+token.startLine+", col "+token.startCol+".",token.startLine,token.startCol)},advance:function(tokenTypes,channel){for(;0!==this.LA(0)&&!this.match(tokenTypes,channel);)this.get();return this.LA(0)},get:function(channel){var token,info,tokenInfo=this._tokenData,i=(this._reader,0);if(tokenInfo.length,this._lt.length&&this._ltIndex>=0&&this._ltIndex<this._lt.length){for(i++,this._token=this._lt[this._ltIndex++],info=tokenInfo[this._token.type];void 0!==info.channel&&channel!==info.channel&&this._ltIndex<this._lt.length;)this._token=this._lt[this._ltIndex++],info=tokenInfo[this._token.type],i++;if((void 0===info.channel||channel===info.channel)&&this._ltIndex<=this._lt.length)return this._ltIndexCache.push(i),this._token.type}return token=this._getToken(),token.type>-1&&!tokenInfo[token.type].hide&&(token.channel=tokenInfo[token.type].channel,this._token=token,this._lt.push(token),this._ltIndexCache.push(this._lt.length-this._ltIndex+i),this._lt.length>5&&this._lt.shift(),this._ltIndexCache.length>5&&this._ltIndexCache.shift(),this._ltIndex=this._lt.length),info=tokenInfo[token.type],info&&(info.hide||void 0!==info.channel&&channel!==info.channel)?this.get(channel):token.type},LA:function(index){var tt,total=index;if(index>0){if(index>5)throw Error("Too much lookahead.");for(;total;)tt=this.get(),total--;for(;index>total;)this.unget(),total++}else if(0>index){if(!this._lt[this._ltIndex+index])throw Error("Too much lookbehind.");tt=this._lt[this._ltIndex+index].type}else tt=this._token.type;return tt},LT:function(index){return this.LA(index),this._lt[this._ltIndex+index-1]},peek:function(){return this.LA(1)},token:function(){return this._token},tokenName:function(tokenType){return 0>tokenType||tokenType>this._tokenData.length?"UNKNOWN_TOKEN":this._tokenData[tokenType].name},tokenType:function(tokenName){return this._tokenData[tokenName]||-1},unget:function(){if(!this._ltIndexCache.length)throw Error("Too much lookahead.");this._ltIndex-=this._ltIndexCache.pop(),this._token=this._lt[this._ltIndex-1]}},parserlib.util={StringReader:StringReader,SyntaxError:SyntaxError,SyntaxUnit:SyntaxUnit,EventTarget:EventTarget,TokenStreamBase:TokenStreamBase}})(),function(){function Combinator(text,line,col){SyntaxUnit.call(this,text,line,col,Parser.COMBINATOR_TYPE),this.type="unknown",/^\\s+$/.test(text)?this.type="descendant":">"==text?this.type="child":"+"==text?this.type="adjacent-sibling":"~"==text&&(this.type="sibling")}function MediaFeature(name,value){SyntaxUnit.call(this,"("+name+(null!==value?":"+value:"")+")",name.startLine,name.startCol,Parser.MEDIA_FEATURE_TYPE),this.name=name,this.value=value}function MediaQuery(modifier,mediaType,features,line,col){SyntaxUnit.call(this,(modifier?modifier+" ":"")+(mediaType?mediaType:"")+(mediaType&&features.length>0?" and ":"")+features.join(" and "),line,col,Parser.MEDIA_QUERY_TYPE),this.modifier=modifier,this.mediaType=mediaType,this.features=features}function Parser(options){EventTarget.call(this),this.options=options||{},this._tokenStream=null}function PropertyName(text,hack,line,col){SyntaxUnit.call(this,text,line,col,Parser.PROPERTY_NAME_TYPE),this.hack=hack}function PropertyValue(parts,line,col){SyntaxUnit.call(this,parts.join(" "),line,col,Parser.PROPERTY_VALUE_TYPE),this.parts=parts}function PropertyValueIterator(value){this._i=0,this._parts=value.parts,this._marks=[],this.value=value}function PropertyValuePart(text,line,col){SyntaxUnit.call(this,text,line,col,Parser.PROPERTY_VALUE_PART_TYPE),this.type="unknown";var temp;if(/^([+\\-]?[\\d\\.]+)([a-z]+)$/i.test(text))switch(this.type="dimension",this.value=+RegExp.$1,this.units=RegExp.$2,this.units.toLowerCase()){case"em":case"rem":case"ex":case"px":case"cm":case"mm":case"in":case"pt":case"pc":case"ch":case"vh":case"vw":case"vmax":case"vmin":this.type="length";break;case"deg":case"rad":case"grad":this.type="angle";break;case"ms":case"s":this.type="time";break;case"hz":case"khz":this.type="frequency";break;case"dpi":case"dpcm":this.type="resolution"}else/^([+\\-]?[\\d\\.]+)%$/i.test(text)?(this.type="percentage",this.value=+RegExp.$1):/^([+\\-]?\\d+)$/i.test(text)?(this.type="integer",this.value=+RegExp.$1):/^([+\\-]?[\\d\\.]+)$/i.test(text)?(this.type="number",this.value=+RegExp.$1):/^#([a-f0-9]{3,6})/i.test(text)?(this.type="color",temp=RegExp.$1,3==temp.length?(this.red=parseInt(temp.charAt(0)+temp.charAt(0),16),this.green=parseInt(temp.charAt(1)+temp.charAt(1),16),this.blue=parseInt(temp.charAt(2)+temp.charAt(2),16)):(this.red=parseInt(temp.substring(0,2),16),this.green=parseInt(temp.substring(2,4),16),this.blue=parseInt(temp.substring(4,6),16))):/^rgb\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*\\)/i.test(text)?(this.type="color",this.red=+RegExp.$1,this.green=+RegExp.$2,this.blue=+RegExp.$3):/^rgb\\(\\s*(\\d+)%\\s*,\\s*(\\d+)%\\s*,\\s*(\\d+)%\\s*\\)/i.test(text)?(this.type="color",this.red=255*+RegExp.$1/100,this.green=255*+RegExp.$2/100,this.blue=255*+RegExp.$3/100):/^rgba\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*([\\d\\.]+)\\s*\\)/i.test(text)?(this.type="color",this.red=+RegExp.$1,this.green=+RegExp.$2,this.blue=+RegExp.$3,this.alpha=+RegExp.$4):/^rgba\\(\\s*(\\d+)%\\s*,\\s*(\\d+)%\\s*,\\s*(\\d+)%\\s*,\\s*([\\d\\.]+)\\s*\\)/i.test(text)?(this.type="color",this.red=255*+RegExp.$1/100,this.green=255*+RegExp.$2/100,this.blue=255*+RegExp.$3/100,this.alpha=+RegExp.$4):/^hsl\\(\\s*(\\d+)\\s*,\\s*(\\d+)%\\s*,\\s*(\\d+)%\\s*\\)/i.test(text)?(this.type="color",this.hue=+RegExp.$1,this.saturation=+RegExp.$2/100,this.lightness=+RegExp.$3/100):/^hsla\\(\\s*(\\d+)\\s*,\\s*(\\d+)%\\s*,\\s*(\\d+)%\\s*,\\s*([\\d\\.]+)\\s*\\)/i.test(text)?(this.type="color",this.hue=+RegExp.$1,this.saturation=+RegExp.$2/100,this.lightness=+RegExp.$3/100,this.alpha=+RegExp.$4):/^url\\(["\']?([^\\)"\']+)["\']?\\)/i.test(text)?(this.type="uri",this.uri=RegExp.$1):/^([^\\(]+)\\(/i.test(text)?(this.type="function",this.name=RegExp.$1,this.value=text):/^["\'][^"\']*["\']/.test(text)?(this.type="string",this.value=eval(text)):Colors[text.toLowerCase()]?(this.type="color",temp=Colors[text.toLowerCase()].substring(1),this.red=parseInt(temp.substring(0,2),16),this.green=parseInt(temp.substring(2,4),16),this.blue=parseInt(temp.substring(4,6),16)):/^[\\,\\/]$/.test(text)?(this.type="operator",this.value=text):/^[a-z\\-_\\u0080-\\uFFFF][a-z0-9\\-_\\u0080-\\uFFFF]*$/i.test(text)&&(this.type="identifier",this.value=text)}function Selector(parts,line,col){SyntaxUnit.call(this,parts.join(" "),line,col,Parser.SELECTOR_TYPE),this.parts=parts,this.specificity=Specificity.calculate(this)}function SelectorPart(elementName,modifiers,text,line,col){SyntaxUnit.call(this,text,line,col,Parser.SELECTOR_PART_TYPE),this.elementName=elementName,this.modifiers=modifiers}function SelectorSubPart(text,type,line,col){SyntaxUnit.call(this,text,line,col,Parser.SELECTOR_SUB_PART_TYPE),this.type=type,this.args=[]}function Specificity(a,b,c,d){this.a=a,this.b=b,this.c=c,this.d=d}function isHexDigit(c){return null!==c&&h.test(c)}function isDigit(c){return null!==c&&/\\d/.test(c)}function isWhitespace(c){return null!==c&&/\\s/.test(c)}function isNewLine(c){return null!==c&&nl.test(c)}function isNameStart(c){return null!==c&&/[a-z_\\u0080-\\uFFFF\\\\]/i.test(c)}function isNameChar(c){return null!==c&&(isNameStart(c)||/[0-9\\-\\\\]/.test(c))}function isIdentStart(c){return null!==c&&(isNameStart(c)||/\\-\\\\/.test(c))}function mix(receiver,supplier){for(var prop in supplier)supplier.hasOwnProperty(prop)&&(receiver[prop]=supplier[prop]);return receiver}function TokenStream(input){TokenStreamBase.call(this,input,Tokens)}function ValidationError(message,line,col){this.col=col,this.line=line,this.message=message}var EventTarget=parserlib.util.EventTarget,TokenStreamBase=parserlib.util.TokenStreamBase,StringReader=parserlib.util.StringReader,SyntaxError=parserlib.util.SyntaxError,SyntaxUnit=parserlib.util.SyntaxUnit,Colors={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",activeBorder:"Active window border.",activecaption:"Active window caption.",appworkspace:"Background color of multiple document interface.",background:"Desktop background.",buttonface:"The face background color for 3-D elements that appear 3-D due to one layer of surrounding border.",buttonhighlight:"The color of the border facing the light source for 3-D elements that appear 3-D due to one layer of surrounding border.",buttonshadow:"The color of the border away from the light source for 3-D elements that appear 3-D due to one layer of surrounding border.",buttontext:"Text on push buttons.",captiontext:"Text in caption, size box, and scrollbar arrow box.",graytext:"Grayed (disabled) text. This color is set to #000 if the current display driver does not support a solid gray color.",greytext:"Greyed (disabled) text. This color is set to #000 if the current display driver does not support a solid grey color.",highlight:"Item(s) selected in a control.",highlighttext:"Text of item(s) selected in a control.",inactiveborder:"Inactive window border.",inactivecaption:"Inactive window caption.",inactivecaptiontext:"Color of text in an inactive caption.",infobackground:"Background color for tooltip controls.",infotext:"Text color for tooltip controls.",menu:"Menu background.",menutext:"Text in menus.",scrollbar:"Scroll bar gray area.",threeddarkshadow:"The color of the darker (generally outer) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedface:"The face background color for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedhighlight:"The color of the lighter (generally outer) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedlightshadow:"The color of the darker (generally inner) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedshadow:"The color of the lighter (generally inner) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",window:"Window background.",windowframe:"Window frame.",windowtext:"Text in windows."};Combinator.prototype=new SyntaxUnit,Combinator.prototype.constructor=Combinator,MediaFeature.prototype=new SyntaxUnit,MediaFeature.prototype.constructor=MediaFeature,MediaQuery.prototype=new SyntaxUnit,MediaQuery.prototype.constructor=MediaQuery,Parser.DEFAULT_TYPE=0,Parser.COMBINATOR_TYPE=1,Parser.MEDIA_FEATURE_TYPE=2,Parser.MEDIA_QUERY_TYPE=3,Parser.PROPERTY_NAME_TYPE=4,Parser.PROPERTY_VALUE_TYPE=5,Parser.PROPERTY_VALUE_PART_TYPE=6,Parser.SELECTOR_TYPE=7,Parser.SELECTOR_PART_TYPE=8,Parser.SELECTOR_SUB_PART_TYPE=9,Parser.prototype=function(){var prop,proto=new EventTarget,additions={constructor:Parser,DEFAULT_TYPE:0,COMBINATOR_TYPE:1,MEDIA_FEATURE_TYPE:2,MEDIA_QUERY_TYPE:3,PROPERTY_NAME_TYPE:4,PROPERTY_VALUE_TYPE:5,PROPERTY_VALUE_PART_TYPE:6,SELECTOR_TYPE:7,SELECTOR_PART_TYPE:8,SELECTOR_SUB_PART_TYPE:9,_stylesheet:function(){var count,token,tt,tokenStream=this._tokenStream;for(this.fire("startstylesheet"),this._charset(),this._skipCruft();tokenStream.peek()==Tokens.IMPORT_SYM;)this._import(),this._skipCruft();for(;tokenStream.peek()==Tokens.NAMESPACE_SYM;)this._namespace(),this._skipCruft();for(tt=tokenStream.peek();tt>Tokens.EOF;){try{switch(tt){case Tokens.MEDIA_SYM:this._media(),this._skipCruft();break;case Tokens.PAGE_SYM:this._page(),this._skipCruft();break;case Tokens.FONT_FACE_SYM:this._font_face(),this._skipCruft();break;case Tokens.KEYFRAMES_SYM:this._keyframes(),this._skipCruft();break;case Tokens.VIEWPORT_SYM:this._viewport(),this._skipCruft();break;case Tokens.UNKNOWN_SYM:if(tokenStream.get(),this.options.strict)throw new SyntaxError("Unknown @ rule.",tokenStream.LT(0).startLine,tokenStream.LT(0).startCol);for(this.fire({type:"error",error:null,message:"Unknown @ rule: "+tokenStream.LT(0).value+".",line:tokenStream.LT(0).startLine,col:tokenStream.LT(0).startCol}),count=0;tokenStream.advance([Tokens.LBRACE,Tokens.RBRACE])==Tokens.LBRACE;)count++;for(;count;)tokenStream.advance([Tokens.RBRACE]),count--;break;case Tokens.S:this._readWhitespace();break;default:if(!this._ruleset())switch(tt){case Tokens.CHARSET_SYM:throw token=tokenStream.LT(1),this._charset(!1),new SyntaxError("@charset not allowed here.",token.startLine,token.startCol);case Tokens.IMPORT_SYM:throw token=tokenStream.LT(1),this._import(!1),new SyntaxError("@import not allowed here.",token.startLine,token.startCol);case Tokens.NAMESPACE_SYM:throw token=tokenStream.LT(1),this._namespace(!1),new SyntaxError("@namespace not allowed here.",token.startLine,token.startCol);default:tokenStream.get(),this._unexpectedToken(tokenStream.token())}}}catch(ex){if(!(ex instanceof SyntaxError)||this.options.strict)throw ex;this.fire({type:"error",error:ex,message:ex.message,line:ex.line,col:ex.col})}tt=tokenStream.peek()}tt!=Tokens.EOF&&this._unexpectedToken(tokenStream.token()),this.fire("endstylesheet")},_charset:function(emit){var charset,token,line,col,tokenStream=this._tokenStream;tokenStream.match(Tokens.CHARSET_SYM)&&(line=tokenStream.token().startLine,col=tokenStream.token().startCol,this._readWhitespace(),tokenStream.mustMatch(Tokens.STRING),token=tokenStream.token(),charset=token.value,this._readWhitespace(),tokenStream.mustMatch(Tokens.SEMICOLON),emit!==!1&&this.fire({type:"charset",charset:charset,line:line,col:col}))},_import:function(emit){var uri,importToken,tokenStream=this._tokenStream,mediaList=[];tokenStream.mustMatch(Tokens.IMPORT_SYM),importToken=tokenStream.token(),this._readWhitespace(),tokenStream.mustMatch([Tokens.STRING,Tokens.URI]),uri=tokenStream.token().value.replace(/^(?:url\\()?["\']?([^"\']+?)["\']?\\)?$/,"$1"),this._readWhitespace(),mediaList=this._media_query_list(),tokenStream.mustMatch(Tokens.SEMICOLON),this._readWhitespace(),emit!==!1&&this.fire({type:"import",uri:uri,media:mediaList,line:importToken.startLine,col:importToken.startCol})},_namespace:function(emit){var line,col,prefix,uri,tokenStream=this._tokenStream;tokenStream.mustMatch(Tokens.NAMESPACE_SYM),line=tokenStream.token().startLine,col=tokenStream.token().startCol,this._readWhitespace(),tokenStream.match(Tokens.IDENT)&&(prefix=tokenStream.token().value,this._readWhitespace()),tokenStream.mustMatch([Tokens.STRING,Tokens.URI]),uri=tokenStream.token().value.replace(/(?:url\\()?["\']([^"\']+)["\']\\)?/,"$1"),this._readWhitespace(),tokenStream.mustMatch(Tokens.SEMICOLON),this._readWhitespace(),emit!==!1&&this.fire({type:"namespace",prefix:prefix,uri:uri,line:line,col:col})},_media:function(){var line,col,mediaList,tokenStream=this._tokenStream;for(tokenStream.mustMatch(Tokens.MEDIA_SYM),line=tokenStream.token().startLine,col=tokenStream.token().startCol,this._readWhitespace(),mediaList=this._media_query_list(),tokenStream.mustMatch(Tokens.LBRACE),this._readWhitespace(),this.fire({type:"startmedia",media:mediaList,line:line,col:col});;)if(tokenStream.peek()==Tokens.PAGE_SYM)this._page();else if(tokenStream.peek()==Tokens.FONT_FACE_SYM)this._font_face();else if(tokenStream.peek()==Tokens.VIEWPORT_SYM)this._viewport();else if(!this._ruleset())break;tokenStream.mustMatch(Tokens.RBRACE),this._readWhitespace(),this.fire({type:"endmedia",media:mediaList,line:line,col:col})},_media_query_list:function(){var tokenStream=this._tokenStream,mediaList=[];for(this._readWhitespace(),(tokenStream.peek()==Tokens.IDENT||tokenStream.peek()==Tokens.LPAREN)&&mediaList.push(this._media_query());tokenStream.match(Tokens.COMMA);)this._readWhitespace(),mediaList.push(this._media_query());return mediaList},_media_query:function(){var tokenStream=this._tokenStream,type=null,ident=null,token=null,expressions=[];if(tokenStream.match(Tokens.IDENT)&&(ident=tokenStream.token().value.toLowerCase(),"only"!=ident&&"not"!=ident?(tokenStream.unget(),ident=null):token=tokenStream.token()),this._readWhitespace(),tokenStream.peek()==Tokens.IDENT?(type=this._media_type(),null===token&&(token=tokenStream.token())):tokenStream.peek()==Tokens.LPAREN&&(null===token&&(token=tokenStream.LT(1)),expressions.push(this._media_expression())),null===type&&0===expressions.length)return null;for(this._readWhitespace();tokenStream.match(Tokens.IDENT);)"and"!=tokenStream.token().value.toLowerCase()&&this._unexpectedToken(tokenStream.token()),this._readWhitespace(),expressions.push(this._media_expression());return new MediaQuery(ident,type,expressions,token.startLine,token.startCol)},_media_type:function(){return this._media_feature()},_media_expression:function(){var token,tokenStream=this._tokenStream,feature=null,expression=null;return tokenStream.mustMatch(Tokens.LPAREN),this._readWhitespace(),feature=this._media_feature(),this._readWhitespace(),tokenStream.match(Tokens.COLON)&&(this._readWhitespace(),token=tokenStream.LT(1),expression=this._expression()),tokenStream.mustMatch(Tokens.RPAREN),this._readWhitespace(),new MediaFeature(feature,expression?new SyntaxUnit(expression,token.startLine,token.startCol):null)},_media_feature:function(){var tokenStream=this._tokenStream;return tokenStream.mustMatch(Tokens.IDENT),SyntaxUnit.fromToken(tokenStream.token())},_page:function(){var line,col,tokenStream=this._tokenStream,identifier=null,pseudoPage=null;tokenStream.mustMatch(Tokens.PAGE_SYM),line=tokenStream.token().startLine,col=tokenStream.token().startCol,this._readWhitespace(),tokenStream.match(Tokens.IDENT)&&(identifier=tokenStream.token().value,"auto"===identifier.toLowerCase()&&this._unexpectedToken(tokenStream.token())),tokenStream.peek()==Tokens.COLON&&(pseudoPage=this._pseudo_page()),this._readWhitespace(),this.fire({type:"startpage",id:identifier,pseudo:pseudoPage,line:line,col:col}),this._readDeclarations(!0,!0),this.fire({type:"endpage",id:identifier,pseudo:pseudoPage,line:line,col:col})},_margin:function(){var line,col,tokenStream=this._tokenStream,marginSym=this._margin_sym();return marginSym?(line=tokenStream.token().startLine,col=tokenStream.token().startCol,this.fire({type:"startpagemargin",margin:marginSym,line:line,col:col}),this._readDeclarations(!0),this.fire({type:"endpagemargin",margin:marginSym,line:line,col:col}),!0):!1},_margin_sym:function(){var tokenStream=this._tokenStream;return tokenStream.match([Tokens.TOPLEFTCORNER_SYM,Tokens.TOPLEFT_SYM,Tokens.TOPCENTER_SYM,Tokens.TOPRIGHT_SYM,Tokens.TOPRIGHTCORNER_SYM,Tokens.BOTTOMLEFTCORNER_SYM,Tokens.BOTTOMLEFT_SYM,Tokens.BOTTOMCENTER_SYM,Tokens.BOTTOMRIGHT_SYM,Tokens.BOTTOMRIGHTCORNER_SYM,Tokens.LEFTTOP_SYM,Tokens.LEFTMIDDLE_SYM,Tokens.LEFTBOTTOM_SYM,Tokens.RIGHTTOP_SYM,Tokens.RIGHTMIDDLE_SYM,Tokens.RIGHTBOTTOM_SYM])?SyntaxUnit.fromToken(tokenStream.token()):null},_pseudo_page:function(){var tokenStream=this._tokenStream;return tokenStream.mustMatch(Tokens.COLON),tokenStream.mustMatch(Tokens.IDENT),tokenStream.token().value},_font_face:function(){var line,col,tokenStream=this._tokenStream;tokenStream.mustMatch(Tokens.FONT_FACE_SYM),line=tokenStream.token().startLine,col=tokenStream.token().startCol,this._readWhitespace(),this.fire({type:"startfontface",line:line,col:col}),this._readDeclarations(!0),this.fire({type:"endfontface",line:line,col:col})},_viewport:function(){var line,col,tokenStream=this._tokenStream;tokenStream.mustMatch(Tokens.VIEWPORT_SYM),line=tokenStream.token().startLine,col=tokenStream.token().startCol,this._readWhitespace(),this.fire({type:"startviewport",line:line,col:col}),this._readDeclarations(!0),this.fire({type:"endviewport",line:line,col:col})},_operator:function(inFunction){var tokenStream=this._tokenStream,token=null;return(tokenStream.match([Tokens.SLASH,Tokens.COMMA])||inFunction&&tokenStream.match([Tokens.PLUS,Tokens.STAR,Tokens.MINUS]))&&(token=tokenStream.token(),this._readWhitespace()),token?PropertyValuePart.fromToken(token):null},_combinator:function(){var token,tokenStream=this._tokenStream,value=null;return tokenStream.match([Tokens.PLUS,Tokens.GREATER,Tokens.TILDE])&&(token=tokenStream.token(),value=new Combinator(token.value,token.startLine,token.startCol),this._readWhitespace()),value},_unary_operator:function(){var tokenStream=this._tokenStream;return tokenStream.match([Tokens.MINUS,Tokens.PLUS])?tokenStream.token().value:null},_property:function(){var tokenValue,token,line,col,tokenStream=this._tokenStream,value=null,hack=null;return tokenStream.peek()==Tokens.STAR&&this.options.starHack&&(tokenStream.get(),token=tokenStream.token(),hack=token.value,line=token.startLine,col=token.startCol),tokenStream.match(Tokens.IDENT)&&(token=tokenStream.token(),tokenValue=token.value,"_"==tokenValue.charAt(0)&&this.options.underscoreHack&&(hack="_",tokenValue=tokenValue.substring(1)),value=new PropertyName(tokenValue,hack,line||token.startLine,col||token.startCol),this._readWhitespace()),value},_ruleset:function(){var tt,selectors,tokenStream=this._tokenStream;try{selectors=this._selectors_group()}catch(ex){if(!(ex instanceof SyntaxError)||this.options.strict)throw ex;if(this.fire({type:"error",error:ex,message:ex.message,line:ex.line,col:ex.col}),tt=tokenStream.advance([Tokens.RBRACE]),tt!=Tokens.RBRACE)throw ex;return!0}return selectors&&(this.fire({type:"startrule",selectors:selectors,line:selectors[0].line,col:selectors[0].col}),this._readDeclarations(!0),this.fire({type:"endrule",selectors:selectors,line:selectors[0].line,col:selectors[0].col})),selectors},_selectors_group:function(){var selector,tokenStream=this._tokenStream,selectors=[];if(selector=this._selector(),null!==selector)for(selectors.push(selector);tokenStream.match(Tokens.COMMA);)this._readWhitespace(),selector=this._selector(),null!==selector?selectors.push(selector):this._unexpectedToken(tokenStream.LT(1));return selectors.length?selectors:null},_selector:function(){var tokenStream=this._tokenStream,selector=[],nextSelector=null,combinator=null,ws=null;if(nextSelector=this._simple_selector_sequence(),null===nextSelector)return null;for(selector.push(nextSelector);;)if(combinator=this._combinator(),null!==combinator)selector.push(combinator),nextSelector=this._simple_selector_sequence(),null===nextSelector?this._unexpectedToken(tokenStream.LT(1)):selector.push(nextSelector);else{if(!this._readWhitespace())break;ws=new Combinator(tokenStream.token().value,tokenStream.token().startLine,tokenStream.token().startCol),combinator=this._combinator(),nextSelector=this._simple_selector_sequence(),null===nextSelector?null!==combinator&&this._unexpectedToken(tokenStream.LT(1)):(null!==combinator?selector.push(combinator):selector.push(ws),selector.push(nextSelector))}return new Selector(selector,selector[0].line,selector[0].col)},_simple_selector_sequence:function(){var line,col,tokenStream=this._tokenStream,elementName=null,modifiers=[],selectorText="",components=[function(){return tokenStream.match(Tokens.HASH)?new SelectorSubPart(tokenStream.token().value,"id",tokenStream.token().startLine,tokenStream.token().startCol):null},this._class,this._attrib,this._pseudo,this._negation],i=0,len=components.length,component=null;for(line=tokenStream.LT(1).startLine,col=tokenStream.LT(1).startCol,elementName=this._type_selector(),elementName||(elementName=this._universal()),null!==elementName&&(selectorText+=elementName);;){if(tokenStream.peek()===Tokens.S)break;for(;len>i&&null===component;)component=components[i++].call(this);if(null===component){if(""===selectorText)return null;break}i=0,modifiers.push(component),selectorText+=""+component,component=null}return""!==selectorText?new SelectorPart(elementName,modifiers,selectorText,line,col):null},_type_selector:function(){var tokenStream=this._tokenStream,ns=this._namespace_prefix(),elementName=this._element_name();return elementName?(ns&&(elementName.text=ns+elementName.text,elementName.col-=ns.length),elementName):(ns&&(tokenStream.unget(),ns.length>1&&tokenStream.unget()),null)},_class:function(){var token,tokenStream=this._tokenStream;return tokenStream.match(Tokens.DOT)?(tokenStream.mustMatch(Tokens.IDENT),token=tokenStream.token(),new SelectorSubPart("."+token.value,"class",token.startLine,token.startCol-1)):null},_element_name:function(){var token,tokenStream=this._tokenStream;return tokenStream.match(Tokens.IDENT)?(token=tokenStream.token(),new SelectorSubPart(token.value,"elementName",token.startLine,token.startCol)):null},_namespace_prefix:function(){var tokenStream=this._tokenStream,value="";return(tokenStream.LA(1)===Tokens.PIPE||tokenStream.LA(2)===Tokens.PIPE)&&(tokenStream.match([Tokens.IDENT,Tokens.STAR])&&(value+=tokenStream.token().value),tokenStream.mustMatch(Tokens.PIPE),value+="|"),value.length?value:null},_universal:function(){var ns,tokenStream=this._tokenStream,value="";return ns=this._namespace_prefix(),ns&&(value+=ns),tokenStream.match(Tokens.STAR)&&(value+="*"),value.length?value:null},_attrib:function(){var ns,token,tokenStream=this._tokenStream,value=null;return tokenStream.match(Tokens.LBRACKET)?(token=tokenStream.token(),value=token.value,value+=this._readWhitespace(),ns=this._namespace_prefix(),ns&&(value+=ns),tokenStream.mustMatch(Tokens.IDENT),value+=tokenStream.token().value,value+=this._readWhitespace(),tokenStream.match([Tokens.PREFIXMATCH,Tokens.SUFFIXMATCH,Tokens.SUBSTRINGMATCH,Tokens.EQUALS,Tokens.INCLUDES,Tokens.DASHMATCH])&&(value+=tokenStream.token().value,value+=this._readWhitespace(),tokenStream.mustMatch([Tokens.IDENT,Tokens.STRING]),value+=tokenStream.token().value,value+=this._readWhitespace()),tokenStream.mustMatch(Tokens.RBRACKET),new SelectorSubPart(value+"]","attribute",token.startLine,token.startCol)):null},_pseudo:function(){var line,col,tokenStream=this._tokenStream,pseudo=null,colons=":";return tokenStream.match(Tokens.COLON)&&(tokenStream.match(Tokens.COLON)&&(colons+=":"),tokenStream.match(Tokens.IDENT)?(pseudo=tokenStream.token().value,line=tokenStream.token().startLine,col=tokenStream.token().startCol-colons.length):tokenStream.peek()==Tokens.FUNCTION&&(line=tokenStream.LT(1).startLine,col=tokenStream.LT(1).startCol-colons.length,pseudo=this._functional_pseudo()),pseudo&&(pseudo=new SelectorSubPart(colons+pseudo,"pseudo",line,col))),pseudo},_functional_pseudo:function(){var tokenStream=this._tokenStream,value=null;return tokenStream.match(Tokens.FUNCTION)&&(value=tokenStream.token().value,value+=this._readWhitespace(),value+=this._expression(),tokenStream.mustMatch(Tokens.RPAREN),value+=")"),value},_expression:function(){for(var tokenStream=this._tokenStream,value="";tokenStream.match([Tokens.PLUS,Tokens.MINUS,Tokens.DIMENSION,Tokens.NUMBER,Tokens.STRING,Tokens.IDENT,Tokens.LENGTH,Tokens.FREQ,Tokens.ANGLE,Tokens.TIME,Tokens.RESOLUTION,Tokens.SLASH]);)value+=tokenStream.token().value,value+=this._readWhitespace();return value.length?value:null},_negation:function(){var line,col,arg,tokenStream=this._tokenStream,value="",subpart=null;return tokenStream.match(Tokens.NOT)&&(value=tokenStream.token().value,line=tokenStream.token().startLine,col=tokenStream.token().startCol,value+=this._readWhitespace(),arg=this._negation_arg(),value+=arg,value+=this._readWhitespace(),tokenStream.match(Tokens.RPAREN),value+=tokenStream.token().value,subpart=new SelectorSubPart(value,"not",line,col),subpart.args.push(arg)),subpart},_negation_arg:function(){var line,col,part,tokenStream=this._tokenStream,args=[this._type_selector,this._universal,function(){return tokenStream.match(Tokens.HASH)?new SelectorSubPart(tokenStream.token().value,"id",tokenStream.token().startLine,tokenStream.token().startCol):null},this._class,this._attrib,this._pseudo],arg=null,i=0,len=args.length;for(line=tokenStream.LT(1).startLine,col=tokenStream.LT(1).startCol;len>i&&null===arg;)arg=args[i].call(this),i++;return null===arg&&this._unexpectedToken(tokenStream.LT(1)),part="elementName"==arg.type?new SelectorPart(arg,[],""+arg,line,col):new SelectorPart(null,[arg],""+arg,line,col)},_declaration:function(){var tokenStream=this._tokenStream,property=null,expr=null,prio=null,invalid=null,propertyName="";if(property=this._property(),null!==property){tokenStream.mustMatch(Tokens.COLON),this._readWhitespace(),expr=this._expr(),expr&&0!==expr.length||this._unexpectedToken(tokenStream.LT(1)),prio=this._prio(),propertyName=""+property,(this.options.starHack&&"*"==property.hack||this.options.underscoreHack&&"_"==property.hack)&&(propertyName=property.text);try{this._validateProperty(propertyName,expr)}catch(ex){invalid=ex}return this.fire({type:"property",property:property,value:expr,important:prio,line:property.line,col:property.col,invalid:invalid}),!0}return!1},_prio:function(){var tokenStream=this._tokenStream,result=tokenStream.match(Tokens.IMPORTANT_SYM);return this._readWhitespace(),result},_expr:function(inFunction){var values=(this._tokenStream,[]),value=null,operator=null;if(value=this._term(inFunction),null!==value)for(values.push(value);;){if(operator=this._operator(inFunction),operator&&values.push(operator),value=this._term(inFunction),null===value)break;\nvalues.push(value)}return values.length>0?new PropertyValue(values,values[0].line,values[0].col):null},_term:function(inFunction){var token,line,col,tokenStream=this._tokenStream,unary=null,value=null,endChar=null;return unary=this._unary_operator(),null!==unary&&(line=tokenStream.token().startLine,col=tokenStream.token().startCol),tokenStream.peek()==Tokens.IE_FUNCTION&&this.options.ieFilters?(value=this._ie_function(),null===unary&&(line=tokenStream.token().startLine,col=tokenStream.token().startCol)):inFunction&&tokenStream.match([Tokens.LPAREN,Tokens.LBRACE,Tokens.LBRACKET])?(token=tokenStream.token(),endChar=token.endChar,value=token.value+this._expr(inFunction).text,null===unary&&(line=tokenStream.token().startLine,col=tokenStream.token().startCol),tokenStream.mustMatch(Tokens.type(endChar)),value+=endChar,this._readWhitespace()):tokenStream.match([Tokens.NUMBER,Tokens.PERCENTAGE,Tokens.LENGTH,Tokens.ANGLE,Tokens.TIME,Tokens.FREQ,Tokens.STRING,Tokens.IDENT,Tokens.URI,Tokens.UNICODE_RANGE])?(value=tokenStream.token().value,null===unary&&(line=tokenStream.token().startLine,col=tokenStream.token().startCol),this._readWhitespace()):(token=this._hexcolor(),null===token?(null===unary&&(line=tokenStream.LT(1).startLine,col=tokenStream.LT(1).startCol),null===value&&(value=tokenStream.LA(3)==Tokens.EQUALS&&this.options.ieFilters?this._ie_function():this._function())):(value=token.value,null===unary&&(line=token.startLine,col=token.startCol))),null!==value?new PropertyValuePart(null!==unary?unary+value:value,line,col):null},_function:function(){var lt,tokenStream=this._tokenStream,functionText=null,expr=null;if(tokenStream.match(Tokens.FUNCTION)){if(functionText=tokenStream.token().value,this._readWhitespace(),expr=this._expr(!0),functionText+=expr,this.options.ieFilters&&tokenStream.peek()==Tokens.EQUALS)do for(this._readWhitespace()&&(functionText+=tokenStream.token().value),tokenStream.LA(0)==Tokens.COMMA&&(functionText+=tokenStream.token().value),tokenStream.match(Tokens.IDENT),functionText+=tokenStream.token().value,tokenStream.match(Tokens.EQUALS),functionText+=tokenStream.token().value,lt=tokenStream.peek();lt!=Tokens.COMMA&&lt!=Tokens.S&&lt!=Tokens.RPAREN;)tokenStream.get(),functionText+=tokenStream.token().value,lt=tokenStream.peek();while(tokenStream.match([Tokens.COMMA,Tokens.S]));tokenStream.match(Tokens.RPAREN),functionText+=")",this._readWhitespace()}return functionText},_ie_function:function(){var lt,tokenStream=this._tokenStream,functionText=null;if(tokenStream.match([Tokens.IE_FUNCTION,Tokens.FUNCTION])){functionText=tokenStream.token().value;do for(this._readWhitespace()&&(functionText+=tokenStream.token().value),tokenStream.LA(0)==Tokens.COMMA&&(functionText+=tokenStream.token().value),tokenStream.match(Tokens.IDENT),functionText+=tokenStream.token().value,tokenStream.match(Tokens.EQUALS),functionText+=tokenStream.token().value,lt=tokenStream.peek();lt!=Tokens.COMMA&&lt!=Tokens.S&&lt!=Tokens.RPAREN;)tokenStream.get(),functionText+=tokenStream.token().value,lt=tokenStream.peek();while(tokenStream.match([Tokens.COMMA,Tokens.S]));tokenStream.match(Tokens.RPAREN),functionText+=")",this._readWhitespace()}return functionText},_hexcolor:function(){var color,tokenStream=this._tokenStream,token=null;if(tokenStream.match(Tokens.HASH)){if(token=tokenStream.token(),color=token.value,!/#[a-f0-9]{3,6}/i.test(color))throw new SyntaxError("Expected a hex color but found \'"+color+"\' at line "+token.startLine+", col "+token.startCol+".",token.startLine,token.startCol);this._readWhitespace()}return token},_keyframes:function(){var token,tt,name,tokenStream=this._tokenStream,prefix="";for(tokenStream.mustMatch(Tokens.KEYFRAMES_SYM),token=tokenStream.token(),/^@\\-([^\\-]+)\\-/.test(token.value)&&(prefix=RegExp.$1),this._readWhitespace(),name=this._keyframe_name(),this._readWhitespace(),tokenStream.mustMatch(Tokens.LBRACE),this.fire({type:"startkeyframes",name:name,prefix:prefix,line:token.startLine,col:token.startCol}),this._readWhitespace(),tt=tokenStream.peek();tt==Tokens.IDENT||tt==Tokens.PERCENTAGE;)this._keyframe_rule(),this._readWhitespace(),tt=tokenStream.peek();this.fire({type:"endkeyframes",name:name,prefix:prefix,line:token.startLine,col:token.startCol}),this._readWhitespace(),tokenStream.mustMatch(Tokens.RBRACE)},_keyframe_name:function(){var tokenStream=this._tokenStream;return tokenStream.mustMatch([Tokens.IDENT,Tokens.STRING]),SyntaxUnit.fromToken(tokenStream.token())},_keyframe_rule:function(){var keyList=(this._tokenStream,this._key_list());this.fire({type:"startkeyframerule",keys:keyList,line:keyList[0].line,col:keyList[0].col}),this._readDeclarations(!0),this.fire({type:"endkeyframerule",keys:keyList,line:keyList[0].line,col:keyList[0].col})},_key_list:function(){var tokenStream=this._tokenStream,keyList=[];for(keyList.push(this._key()),this._readWhitespace();tokenStream.match(Tokens.COMMA);)this._readWhitespace(),keyList.push(this._key()),this._readWhitespace();return keyList},_key:function(){var token,tokenStream=this._tokenStream;if(tokenStream.match(Tokens.PERCENTAGE))return SyntaxUnit.fromToken(tokenStream.token());if(tokenStream.match(Tokens.IDENT)){if(token=tokenStream.token(),/from|to/i.test(token.value))return SyntaxUnit.fromToken(token);tokenStream.unget()}this._unexpectedToken(tokenStream.LT(1))},_skipCruft:function(){for(;this._tokenStream.match([Tokens.S,Tokens.CDO,Tokens.CDC]););},_readDeclarations:function(checkStart,readMargins){var tt,tokenStream=this._tokenStream;this._readWhitespace(),checkStart&&tokenStream.mustMatch(Tokens.LBRACE),this._readWhitespace();try{for(;;){if(tokenStream.match(Tokens.SEMICOLON)||readMargins&&this._margin());else{if(!this._declaration())break;if(!tokenStream.match(Tokens.SEMICOLON))break}this._readWhitespace()}tokenStream.mustMatch(Tokens.RBRACE),this._readWhitespace()}catch(ex){if(!(ex instanceof SyntaxError)||this.options.strict)throw ex;if(this.fire({type:"error",error:ex,message:ex.message,line:ex.line,col:ex.col}),tt=tokenStream.advance([Tokens.SEMICOLON,Tokens.RBRACE]),tt==Tokens.SEMICOLON)this._readDeclarations(!1,readMargins);else if(tt!=Tokens.RBRACE)throw ex}},_readWhitespace:function(){for(var tokenStream=this._tokenStream,ws="";tokenStream.match(Tokens.S);)ws+=tokenStream.token().value;return ws},_unexpectedToken:function(token){throw new SyntaxError("Unexpected token \'"+token.value+"\' at line "+token.startLine+", col "+token.startCol+".",token.startLine,token.startCol)},_verifyEnd:function(){this._tokenStream.LA(1)!=Tokens.EOF&&this._unexpectedToken(this._tokenStream.LT(1))},_validateProperty:function(property,value){Validation.validate(property,value)},parse:function(input){this._tokenStream=new TokenStream(input,Tokens),this._stylesheet()},parseStyleSheet:function(input){return this.parse(input)},parseMediaQuery:function(input){this._tokenStream=new TokenStream(input,Tokens);var result=this._media_query();return this._verifyEnd(),result},parsePropertyValue:function(input){this._tokenStream=new TokenStream(input,Tokens),this._readWhitespace();var result=this._expr();return this._readWhitespace(),this._verifyEnd(),result},parseRule:function(input){this._tokenStream=new TokenStream(input,Tokens),this._readWhitespace();var result=this._ruleset();return this._readWhitespace(),this._verifyEnd(),result},parseSelector:function(input){this._tokenStream=new TokenStream(input,Tokens),this._readWhitespace();var result=this._selector();return this._readWhitespace(),this._verifyEnd(),result},parseStyleAttribute:function(input){input+="}",this._tokenStream=new TokenStream(input,Tokens),this._readDeclarations()}};for(prop in additions)additions.hasOwnProperty(prop)&&(proto[prop]=additions[prop]);return proto}();var Properties={"align-items":"flex-start | flex-end | center | baseline | stretch","align-content":"flex-start | flex-end | center | space-between | space-around | stretch","align-self":"auto | flex-start | flex-end | center | baseline | stretch","-webkit-align-items":"flex-start | flex-end | center | baseline | stretch","-webkit-align-content":"flex-start | flex-end | center | space-between | space-around | stretch","-webkit-align-self":"auto | flex-start | flex-end | center | baseline | stretch","alignment-adjust":"auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | <percentage> | <length>","alignment-baseline":"baseline | use-script | before-edge | text-before-edge | after-edge | text-after-edge | central | middle | ideographic | alphabetic | hanging | mathematical",animation:1,"animation-delay":{multi:"<time>",comma:!0},"animation-direction":{multi:"normal | reverse | alternate | alternate-reverse",comma:!0},"animation-duration":{multi:"<time>",comma:!0},"animation-fill-mode":{multi:"none | forwards | backwards | both",comma:!0},"animation-iteration-count":{multi:"<number> | infinite",comma:!0},"animation-name":{multi:"none | <ident>",comma:!0},"animation-play-state":{multi:"running | paused",comma:!0},"animation-timing-function":1,"-moz-animation-delay":{multi:"<time>",comma:!0},"-moz-animation-direction":{multi:"normal | reverse | alternate | alternate-reverse",comma:!0},"-moz-animation-duration":{multi:"<time>",comma:!0},"-moz-animation-iteration-count":{multi:"<number> | infinite",comma:!0},"-moz-animation-name":{multi:"none | <ident>",comma:!0},"-moz-animation-play-state":{multi:"running | paused",comma:!0},"-ms-animation-delay":{multi:"<time>",comma:!0},"-ms-animation-direction":{multi:"normal | reverse | alternate | alternate-reverse",comma:!0},"-ms-animation-duration":{multi:"<time>",comma:!0},"-ms-animation-iteration-count":{multi:"<number> | infinite",comma:!0},"-ms-animation-name":{multi:"none | <ident>",comma:!0},"-ms-animation-play-state":{multi:"running | paused",comma:!0},"-webkit-animation-delay":{multi:"<time>",comma:!0},"-webkit-animation-direction":{multi:"normal | reverse | alternate | alternate-reverse",comma:!0},"-webkit-animation-duration":{multi:"<time>",comma:!0},"-webkit-animation-fill-mode":{multi:"none | forwards | backwards | both",comma:!0},"-webkit-animation-iteration-count":{multi:"<number> | infinite",comma:!0},"-webkit-animation-name":{multi:"none | <ident>",comma:!0},"-webkit-animation-play-state":{multi:"running | paused",comma:!0},"-o-animation-delay":{multi:"<time>",comma:!0},"-o-animation-direction":{multi:"normal | reverse | alternate | alternate-reverse",comma:!0},"-o-animation-duration":{multi:"<time>",comma:!0},"-o-animation-iteration-count":{multi:"<number> | infinite",comma:!0},"-o-animation-name":{multi:"none | <ident>",comma:!0},"-o-animation-play-state":{multi:"running | paused",comma:!0},appearance:"icon | window | desktop | workspace | document | tooltip | dialog | button | push-button | hyperlink | radio-button | checkbox | menu-item | tab | menu | menubar | pull-down-menu | pop-up-menu | list-menu | radio-group | checkbox-group | outline-tree | range | field | combo-box | signature | password | normal | none | inherit",azimuth:function(expression){var part,simple="<angle> | leftwards | rightwards | inherit",direction="left-side | far-left | left | center-left | center | center-right | right | far-right | right-side",behind=!1,valid=!1;if(ValidationTypes.isAny(expression,simple)||(ValidationTypes.isAny(expression,"behind")&&(behind=!0,valid=!0),ValidationTypes.isAny(expression,direction)&&(valid=!0,behind||ValidationTypes.isAny(expression,"behind"))),expression.hasNext())throw part=expression.next(),valid?new ValidationError("Expected end of value but found \'"+part+"\'.",part.line,part.col):new ValidationError("Expected (<\'azimuth\'>) but found \'"+part+"\'.",part.line,part.col)},"backface-visibility":"visible | hidden",background:1,"background-attachment":{multi:"<attachment>",comma:!0},"background-clip":{multi:"<box>",comma:!0},"background-color":"<color> | inherit","background-image":{multi:"<bg-image>",comma:!0},"background-origin":{multi:"<box>",comma:!0},"background-position":{multi:"<bg-position>",comma:!0},"background-repeat":{multi:"<repeat-style>"},"background-size":{multi:"<bg-size>",comma:!0},"baseline-shift":"baseline | sub | super | <percentage> | <length>",behavior:1,binding:1,bleed:"<length>","bookmark-label":"<content> | <attr> | <string>","bookmark-level":"none | <integer>","bookmark-state":"open | closed","bookmark-target":"none | <uri> | <attr>",border:"<border-width> || <border-style> || <color>","border-bottom":"<border-width> || <border-style> || <color>","border-bottom-color":"<color> | inherit","border-bottom-left-radius":"<x-one-radius>","border-bottom-right-radius":"<x-one-radius>","border-bottom-style":"<border-style>","border-bottom-width":"<border-width>","border-collapse":"collapse | separate | inherit","border-color":{multi:"<color> | inherit",max:4},"border-image":1,"border-image-outset":{multi:"<length> | <number>",max:4},"border-image-repeat":{multi:"stretch | repeat | round",max:2},"border-image-slice":function(expression){var part,valid=!1,numeric="<number> | <percentage>",fill=!1,count=0,max=4;for(ValidationTypes.isAny(expression,"fill")&&(fill=!0,valid=!0);expression.hasNext()&&max>count&&(valid=ValidationTypes.isAny(expression,numeric));)count++;if(fill?valid=!0:ValidationTypes.isAny(expression,"fill"),expression.hasNext())throw part=expression.next(),valid?new ValidationError("Expected end of value but found \'"+part+"\'.",part.line,part.col):new ValidationError("Expected ([<number> | <percentage>]{1,4} && fill?) but found \'"+part+"\'.",part.line,part.col)},"border-image-source":"<image> | none","border-image-width":{multi:"<length> | <percentage> | <number> | auto",max:4},"border-left":"<border-width> || <border-style> || <color>","border-left-color":"<color> | inherit","border-left-style":"<border-style>","border-left-width":"<border-width>","border-radius":function(expression){for(var part,valid=!1,simple="<length> | <percentage> | inherit",slash=!1,count=0,max=8;expression.hasNext()&&max>count;){if(valid=ValidationTypes.isAny(expression,simple),!valid){if(!("/"==expression.peek()&&count>0)||slash)break;slash=!0,max=count+5,expression.next()}count++}if(expression.hasNext())throw part=expression.next(),valid?new ValidationError("Expected end of value but found \'"+part+"\'.",part.line,part.col):new ValidationError("Expected (<\'border-radius\'>) but found \'"+part+"\'.",part.line,part.col)},"border-right":"<border-width> || <border-style> || <color>","border-right-color":"<color> | inherit","border-right-style":"<border-style>","border-right-width":"<border-width>","border-spacing":{multi:"<length> | inherit",max:2},"border-style":{multi:"<border-style>",max:4},"border-top":"<border-width> || <border-style> || <color>","border-top-color":"<color> | inherit","border-top-left-radius":"<x-one-radius>","border-top-right-radius":"<x-one-radius>","border-top-style":"<border-style>","border-top-width":"<border-width>","border-width":{multi:"<border-width>",max:4},bottom:"<margin-width> | inherit","-moz-box-align":"start | end | center | baseline | stretch","-moz-box-decoration-break":"slice |clone","-moz-box-direction":"normal | reverse | inherit","-moz-box-flex":"<number>","-moz-box-flex-group":"<integer>","-moz-box-lines":"single | multiple","-moz-box-ordinal-group":"<integer>","-moz-box-orient":"horizontal | vertical | inline-axis | block-axis | inherit","-moz-box-pack":"start | end | center | justify","-webkit-box-align":"start | end | center | baseline | stretch","-webkit-box-decoration-break":"slice |clone","-webkit-box-direction":"normal | reverse | inherit","-webkit-box-flex":"<number>","-webkit-box-flex-group":"<integer>","-webkit-box-lines":"single | multiple","-webkit-box-ordinal-group":"<integer>","-webkit-box-orient":"horizontal | vertical | inline-axis | block-axis | inherit","-webkit-box-pack":"start | end | center | justify","box-shadow":function(expression){var part;if(ValidationTypes.isAny(expression,"none")){if(expression.hasNext())throw part=expression.next(),new ValidationError("Expected end of value but found \'"+part+"\'.",part.line,part.col)}else Validation.multiProperty("<shadow>",expression,!0,1/0)},"box-sizing":"content-box | border-box | inherit","break-after":"auto | always | avoid | left | right | page | column | avoid-page | avoid-column","break-before":"auto | always | avoid | left | right | page | column | avoid-page | avoid-column","break-inside":"auto | avoid | avoid-page | avoid-column","caption-side":"top | bottom | inherit",clear:"none | right | left | both | inherit",clip:1,color:"<color> | inherit","color-profile":1,"column-count":"<integer> | auto","column-fill":"auto | balance","column-gap":"<length> | normal","column-rule":"<border-width> || <border-style> || <color>","column-rule-color":"<color>","column-rule-style":"<border-style>","column-rule-width":"<border-width>","column-span":"none | all","column-width":"<length> | auto",columns:1,content:1,"counter-increment":1,"counter-reset":1,crop:"<shape> | auto",cue:"cue-after | cue-before | inherit","cue-after":1,"cue-before":1,cursor:1,direction:"ltr | rtl | inherit",display:"inline | block | list-item | inline-block | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | grid | inline-grid | none | inherit | -moz-box | -moz-inline-block | -moz-inline-box | -moz-inline-grid | -moz-inline-stack | -moz-inline-table | -moz-grid | -moz-grid-group | -moz-grid-line | -moz-groupbox | -moz-deck | -moz-popup | -moz-stack | -moz-marker | -webkit-box | -webkit-inline-box | -ms-flexbox | -ms-inline-flexbox | flex | -webkit-flex | inline-flex | -webkit-inline-flex","dominant-baseline":1,"drop-initial-after-adjust":"central | middle | after-edge | text-after-edge | ideographic | alphabetic | mathematical | <percentage> | <length>","drop-initial-after-align":"baseline | use-script | before-edge | text-before-edge | after-edge | text-after-edge | central | middle | ideographic | alphabetic | hanging | mathematical","drop-initial-before-adjust":"before-edge | text-before-edge | central | middle | hanging | mathematical | <percentage> | <length>","drop-initial-before-align":"caps-height | baseline | use-script | before-edge | text-before-edge | after-edge | text-after-edge | central | middle | ideographic | alphabetic | hanging | mathematical","drop-initial-size":"auto | line | <length> | <percentage>","drop-initial-value":"initial | <integer>",elevation:"<angle> | below | level | above | higher | lower | inherit","empty-cells":"show | hide | inherit",filter:1,fit:"fill | hidden | meet | slice","fit-position":1,flex:"<flex>","flex-basis":"<width>","flex-direction":"row | row-reverse | column | column-reverse","flex-flow":"<flex-direction> || <flex-wrap>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap | wrap | wrap-reverse","-webkit-flex":"<flex>","-webkit-flex-basis":"<width>","-webkit-flex-direction":"row | row-reverse | column | column-reverse","-webkit-flex-flow":"<flex-direction> || <flex-wrap>","-webkit-flex-grow":"<number>","-webkit-flex-shrink":"<number>","-webkit-flex-wrap":"nowrap | wrap | wrap-reverse","-ms-flex":"<flex>","-ms-flex-align":"start | end | center | stretch | baseline","-ms-flex-direction":"row | row-reverse | column | column-reverse | inherit","-ms-flex-order":"<number>","-ms-flex-pack":"start | end | center | justify","-ms-flex-wrap":"nowrap | wrap | wrap-reverse","float":"left | right | none | inherit","float-offset":1,font:1,"font-family":1,"font-size":"<absolute-size> | <relative-size> | <length> | <percentage> | inherit","font-size-adjust":"<number> | none | inherit","font-stretch":"normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit","font-style":"normal | italic | oblique | inherit","font-variant":"normal | small-caps | inherit","font-weight":"normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit","grid-cell-stacking":"columns | rows | layer","grid-column":1,"grid-columns":1,"grid-column-align":"start | end | center | stretch","grid-column-sizing":1,"grid-column-span":"<integer>","grid-flow":"none | rows | columns","grid-layer":"<integer>","grid-row":1,"grid-rows":1,"grid-row-align":"start | end | center | stretch","grid-row-span":"<integer>","grid-row-sizing":1,"hanging-punctuation":1,height:"<margin-width> | <content-sizing> | inherit","hyphenate-after":"<integer> | auto","hyphenate-before":"<integer> | auto","hyphenate-character":"<string> | auto","hyphenate-lines":"no-limit | <integer>","hyphenate-resource":1,hyphens:"none | manual | auto",icon:1,"image-orientation":"angle | auto","image-rendering":1,"image-resolution":1,"inline-box-align":"initial | last | <integer>","justify-content":"flex-start | flex-end | center | space-between | space-around","-webkit-justify-content":"flex-start | flex-end | center | space-between | space-around",left:"<margin-width> | inherit","letter-spacing":"<length> | normal | inherit","line-height":"<number> | <length> | <percentage> | normal | inherit","line-break":"auto | loose | normal | strict","line-stacking":1,"line-stacking-ruby":"exclude-ruby | include-ruby","line-stacking-shift":"consider-shifts | disregard-shifts","line-stacking-strategy":"inline-line-height | block-line-height | max-height | grid-height","list-style":1,"list-style-image":"<uri> | none | inherit","list-style-position":"inside | outside | inherit","list-style-type":"disc | circle | square | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | lower-latin | upper-latin | armenian | georgian | lower-alpha | upper-alpha | none | inherit",margin:{multi:"<margin-width> | inherit",max:4},"margin-bottom":"<margin-width> | inherit","margin-left":"<margin-width> | inherit","margin-right":"<margin-width> | inherit","margin-top":"<margin-width> | inherit",mark:1,"mark-after":1,"mark-before":1,marks:1,"marquee-direction":1,"marquee-play-count":1,"marquee-speed":1,"marquee-style":1,"max-height":"<length> | <percentage> | <content-sizing> | none | inherit","max-width":"<length> | <percentage> | <content-sizing> | none | inherit","min-height":"<length> | <percentage> | <content-sizing> | contain-floats | -moz-contain-floats | -webkit-contain-floats | inherit","min-width":"<length> | <percentage> | <content-sizing> | contain-floats | -moz-contain-floats | -webkit-contain-floats | inherit","move-to":1,"nav-down":1,"nav-index":1,"nav-left":1,"nav-right":1,"nav-up":1,opacity:"<number> | inherit",order:"<integer>","-webkit-order":"<integer>",orphans:"<integer> | inherit",outline:1,"outline-color":"<color> | invert | inherit","outline-offset":1,"outline-style":"<border-style> | inherit","outline-width":"<border-width> | inherit",overflow:"visible | hidden | scroll | auto | inherit","overflow-style":1,"overflow-wrap":"normal | break-word","overflow-x":1,"overflow-y":1,padding:{multi:"<padding-width> | inherit",max:4},"padding-bottom":"<padding-width> | inherit","padding-left":"<padding-width> | inherit","padding-right":"<padding-width> | inherit","padding-top":"<padding-width> | inherit",page:1,"page-break-after":"auto | always | avoid | left | right | inherit","page-break-before":"auto | always | avoid | left | right | inherit","page-break-inside":"auto | avoid | inherit","page-policy":1,pause:1,"pause-after":1,"pause-before":1,perspective:1,"perspective-origin":1,phonemes:1,pitch:1,"pitch-range":1,"play-during":1,"pointer-events":"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",position:"static | relative | absolute | fixed | inherit","presentation-level":1,"punctuation-trim":1,quotes:1,"rendering-intent":1,resize:1,rest:1,"rest-after":1,"rest-before":1,richness:1,right:"<margin-width> | inherit",rotation:1,"rotation-point":1,"ruby-align":1,"ruby-overhang":1,"ruby-position":1,"ruby-span":1,size:1,speak:"normal | none | spell-out | inherit","speak-header":"once | always | inherit","speak-numeral":"digits | continuous | inherit","speak-punctuation":"code | none | inherit","speech-rate":1,src:1,stress:1,"string-set":1,"table-layout":"auto | fixed | inherit","tab-size":"<integer> | <length>",target:1,"target-name":1,"target-new":1,"target-position":1,"text-align":"left | right | center | justify | inherit","text-align-last":1,"text-decoration":1,"text-emphasis":1,"text-height":1,"text-indent":"<length> | <percentage> | inherit","text-justify":"auto | none | inter-word | inter-ideograph | inter-cluster | distribute | kashida","text-outline":1,"text-overflow":1,"text-rendering":"auto | optimizeSpeed | optimizeLegibility | geometricPrecision | inherit","text-shadow":1,"text-transform":"capitalize | uppercase | lowercase | none | inherit","text-wrap":"normal | none | avoid",top:"<margin-width> | inherit","-ms-touch-action":"auto | none | pan-x | pan-y","touch-action":"auto | none | pan-x | pan-y",transform:1,"transform-origin":1,"transform-style":1,transition:1,"transition-delay":1,"transition-duration":1,"transition-property":1,"transition-timing-function":1,"unicode-bidi":"normal | embed | isolate | bidi-override | isolate-override | plaintext | inherit","user-modify":"read-only | read-write | write-only | inherit","user-select":"none | text | toggle | element | elements | all | inherit","vertical-align":"auto | use-script | baseline | sub | super | top | text-top | central | middle | bottom | text-bottom | <percentage> | <length>",visibility:"visible | hidden | collapse | inherit","voice-balance":1,"voice-duration":1,"voice-family":1,"voice-pitch":1,"voice-pitch-range":1,"voice-rate":1,"voice-stress":1,"voice-volume":1,volume:1,"white-space":"normal | pre | nowrap | pre-wrap | pre-line | inherit | -pre-wrap | -o-pre-wrap | -moz-pre-wrap | -hp-pre-wrap","white-space-collapse":1,widows:"<integer> | inherit",width:"<length> | <percentage> | <content-sizing> | auto | inherit","word-break":"normal | keep-all | break-all","word-spacing":"<length> | normal | inherit","word-wrap":"normal | break-word","writing-mode":"horizontal-tb | vertical-rl | vertical-lr | lr-tb | rl-tb | tb-rl | bt-rl | tb-lr | bt-lr | lr-bt | rl-bt | lr | rl | tb | inherit","z-index":"<integer> | auto | inherit",zoom:"<number> | <percentage> | normal"};PropertyName.prototype=new SyntaxUnit,PropertyName.prototype.constructor=PropertyName,PropertyName.prototype.toString=function(){return(this.hack?this.hack:"")+this.text},PropertyValue.prototype=new SyntaxUnit,PropertyValue.prototype.constructor=PropertyValue,PropertyValueIterator.prototype.count=function(){return this._parts.length},PropertyValueIterator.prototype.isFirst=function(){return 0===this._i},PropertyValueIterator.prototype.hasNext=function(){return this._i<this._parts.length},PropertyValueIterator.prototype.mark=function(){this._marks.push(this._i)},PropertyValueIterator.prototype.peek=function(count){return this.hasNext()?this._parts[this._i+(count||0)]:null},PropertyValueIterator.prototype.next=function(){return this.hasNext()?this._parts[this._i++]:null},PropertyValueIterator.prototype.previous=function(){return this._i>0?this._parts[--this._i]:null},PropertyValueIterator.prototype.restore=function(){this._marks.length&&(this._i=this._marks.pop())},PropertyValuePart.prototype=new SyntaxUnit,PropertyValuePart.prototype.constructor=PropertyValuePart,PropertyValuePart.fromToken=function(token){return new PropertyValuePart(token.value,token.startLine,token.startCol)};var Pseudos={":first-letter":1,":first-line":1,":before":1,":after":1};Pseudos.ELEMENT=1,Pseudos.CLASS=2,Pseudos.isElement=function(pseudo){return 0===pseudo.indexOf("::")||Pseudos[pseudo.toLowerCase()]==Pseudos.ELEMENT},Selector.prototype=new SyntaxUnit,Selector.prototype.constructor=Selector,SelectorPart.prototype=new SyntaxUnit,SelectorPart.prototype.constructor=SelectorPart,SelectorSubPart.prototype=new SyntaxUnit,SelectorSubPart.prototype.constructor=SelectorSubPart,Specificity.prototype={constructor:Specificity,compare:function(other){var i,len,comps=["a","b","c","d"];for(i=0,len=comps.length;len>i;i++){if(this[comps[i]]<other[comps[i]])return-1;if(this[comps[i]]>other[comps[i]])return 1}return 0},valueOf:function(){return 1e3*this.a+100*this.b+10*this.c+this.d},toString:function(){return this.a+","+this.b+","+this.c+","+this.d}},Specificity.calculate=function(selector){function updateValues(part){var i,j,len,num,modifier,elementName=part.elementName?part.elementName.text:"";for(elementName&&"*"!=elementName.charAt(elementName.length-1)&&d++,i=0,len=part.modifiers.length;len>i;i++)switch(modifier=part.modifiers[i],modifier.type){case"class":case"attribute":c++;break;case"id":b++;break;case"pseudo":Pseudos.isElement(modifier.text)?d++:c++;break;case"not":for(j=0,num=modifier.args.length;num>j;j++)updateValues(modifier.args[j])}}var i,len,part,b=0,c=0,d=0;for(i=0,len=selector.parts.length;len>i;i++)part=selector.parts[i],part instanceof SelectorPart&&updateValues(part);return new Specificity(0,b,c,d)};var h=/^[0-9a-fA-F]$/,nonascii=/^[\\u0080-\\uFFFF]$/,nl=/\\n|\\r\\n|\\r|\\f/;TokenStream.prototype=mix(new TokenStreamBase,{_getToken:function(){var c,reader=this._reader,token=null,startLine=reader.getLine(),startCol=reader.getCol();for(c=reader.read();c;){switch(c){case"/":token="*"==reader.peek()?this.commentToken(c,startLine,startCol):this.charToken(c,startLine,startCol);break;case"|":case"~":case"^":case"$":case"*":token="="==reader.peek()?this.comparisonToken(c,startLine,startCol):this.charToken(c,startLine,startCol);break;case\'"\':case"\'":token=this.stringToken(c,startLine,startCol);break;case"#":token=isNameChar(reader.peek())?this.hashToken(c,startLine,startCol):this.charToken(c,startLine,startCol);break;case".":token=isDigit(reader.peek())?this.numberToken(c,startLine,startCol):this.charToken(c,startLine,startCol);break;case"-":token="-"==reader.peek()?this.htmlCommentEndToken(c,startLine,startCol):isNameStart(reader.peek())?this.identOrFunctionToken(c,startLine,startCol):this.charToken(c,startLine,startCol);break;case"!":token=this.importantToken(c,startLine,startCol);break;case"@":token=this.atRuleToken(c,startLine,startCol);break;case":":token=this.notToken(c,startLine,startCol);break;case"<":token=this.htmlCommentStartToken(c,startLine,startCol);break;case"U":case"u":if("+"==reader.peek()){token=this.unicodeRangeToken(c,startLine,startCol);break}default:token=isDigit(c)?this.numberToken(c,startLine,startCol):isWhitespace(c)?this.whitespaceToken(c,startLine,startCol):isIdentStart(c)?this.identOrFunctionToken(c,startLine,startCol):this.charToken(c,startLine,startCol)}break}return token||null!==c||(token=this.createToken(Tokens.EOF,null,startLine,startCol)),token},createToken:function(tt,value,startLine,startCol,options){var reader=this._reader;return options=options||{},{value:value,type:tt,channel:options.channel,endChar:options.endChar,hide:options.hide||!1,startLine:startLine,startCol:startCol,endLine:reader.getLine(),endCol:reader.getCol()}},atRuleToken:function(first,startLine,startCol){var ident,rule=first,reader=this._reader,tt=Tokens.CHAR;return reader.mark(),ident=this.readName(),rule=first+ident,tt=Tokens.type(rule.toLowerCase()),(tt==Tokens.CHAR||tt==Tokens.UNKNOWN)&&(rule.length>1?tt=Tokens.UNKNOWN_SYM:(tt=Tokens.CHAR,rule=first,reader.reset())),this.createToken(tt,rule,startLine,startCol)},charToken:function(c,startLine,startCol){var tt=Tokens.type(c),opts={};return-1==tt?tt=Tokens.CHAR:opts.endChar=Tokens[tt].endChar,this.createToken(tt,c,startLine,startCol,opts)},commentToken:function(first,startLine,startCol){var comment=(this._reader,this.readComment(first));return this.createToken(Tokens.COMMENT,comment,startLine,startCol)},comparisonToken:function(c,startLine,startCol){var reader=this._reader,comparison=c+reader.read(),tt=Tokens.type(comparison)||Tokens.CHAR;return this.createToken(tt,comparison,startLine,startCol)\n},hashToken:function(first,startLine,startCol){var name=(this._reader,this.readName(first));return this.createToken(Tokens.HASH,name,startLine,startCol)},htmlCommentStartToken:function(first,startLine,startCol){var reader=this._reader,text=first;return reader.mark(),text+=reader.readCount(3),"\x3c!--"==text?this.createToken(Tokens.CDO,text,startLine,startCol):(reader.reset(),this.charToken(first,startLine,startCol))},htmlCommentEndToken:function(first,startLine,startCol){var reader=this._reader,text=first;return reader.mark(),text+=reader.readCount(2),"--\x3e"==text?this.createToken(Tokens.CDC,text,startLine,startCol):(reader.reset(),this.charToken(first,startLine,startCol))},identOrFunctionToken:function(first,startLine,startCol){var reader=this._reader,ident=this.readName(first),tt=Tokens.IDENT;return"("==reader.peek()?(ident+=reader.read(),"url("==ident.toLowerCase()?(tt=Tokens.URI,ident=this.readURI(ident),"url("==ident.toLowerCase()&&(tt=Tokens.FUNCTION)):tt=Tokens.FUNCTION):":"==reader.peek()&&"progid"==ident.toLowerCase()&&(ident+=reader.readTo("("),tt=Tokens.IE_FUNCTION),this.createToken(tt,ident,startLine,startCol)},importantToken:function(first,startLine,startCol){var temp,c,reader=this._reader,important=first,tt=Tokens.CHAR;for(reader.mark(),c=reader.read();c;){if("/"==c){if("*"!=reader.peek())break;if(temp=this.readComment(c),""===temp)break}else{if(!isWhitespace(c)){if(/i/i.test(c)){temp=reader.readCount(8),/mportant/i.test(temp)&&(important+=c+temp,tt=Tokens.IMPORTANT_SYM);break}break}important+=c+this.readWhitespace()}c=reader.read()}return tt==Tokens.CHAR?(reader.reset(),this.charToken(first,startLine,startCol)):this.createToken(tt,important,startLine,startCol)},notToken:function(first,startLine,startCol){var reader=this._reader,text=first;return reader.mark(),text+=reader.readCount(4),":not("==text.toLowerCase()?this.createToken(Tokens.NOT,text,startLine,startCol):(reader.reset(),this.charToken(first,startLine,startCol))},numberToken:function(first,startLine,startCol){var ident,reader=this._reader,value=this.readNumber(first),tt=Tokens.NUMBER,c=reader.peek();return isIdentStart(c)?(ident=this.readName(reader.read()),value+=ident,tt=/^em$|^ex$|^px$|^gd$|^rem$|^vw$|^vh$|^vmax$|^vmin$|^ch$|^cm$|^mm$|^in$|^pt$|^pc$/i.test(ident)?Tokens.LENGTH:/^deg|^rad$|^grad$/i.test(ident)?Tokens.ANGLE:/^ms$|^s$/i.test(ident)?Tokens.TIME:/^hz$|^khz$/i.test(ident)?Tokens.FREQ:/^dpi$|^dpcm$/i.test(ident)?Tokens.RESOLUTION:Tokens.DIMENSION):"%"==c&&(value+=reader.read(),tt=Tokens.PERCENTAGE),this.createToken(tt,value,startLine,startCol)},stringToken:function(first,startLine,startCol){for(var delim=first,string=first,reader=this._reader,prev=first,tt=Tokens.STRING,c=reader.read();c&&(string+=c,c!=delim||"\\\\"==prev);){if(isNewLine(reader.peek())&&"\\\\"!=c){tt=Tokens.INVALID;break}prev=c,c=reader.read()}return null===c&&(tt=Tokens.INVALID),this.createToken(tt,string,startLine,startCol)},unicodeRangeToken:function(first,startLine,startCol){var temp,reader=this._reader,value=first,tt=Tokens.CHAR;return"+"==reader.peek()&&(reader.mark(),value+=reader.read(),value+=this.readUnicodeRangePart(!0),2==value.length?reader.reset():(tt=Tokens.UNICODE_RANGE,-1==value.indexOf("?")&&"-"==reader.peek()&&(reader.mark(),temp=reader.read(),temp+=this.readUnicodeRangePart(!1),1==temp.length?reader.reset():value+=temp))),this.createToken(tt,value,startLine,startCol)},whitespaceToken:function(first,startLine,startCol){var value=(this._reader,first+this.readWhitespace());return this.createToken(Tokens.S,value,startLine,startCol)},readUnicodeRangePart:function(allowQuestionMark){for(var reader=this._reader,part="",c=reader.peek();isHexDigit(c)&&6>part.length;)reader.read(),part+=c,c=reader.peek();if(allowQuestionMark)for(;"?"==c&&6>part.length;)reader.read(),part+=c,c=reader.peek();return part},readWhitespace:function(){for(var reader=this._reader,whitespace="",c=reader.peek();isWhitespace(c);)reader.read(),whitespace+=c,c=reader.peek();return whitespace},readNumber:function(first){for(var reader=this._reader,number=first,hasDot="."==first,c=reader.peek();c;){if(isDigit(c))number+=reader.read();else{if("."!=c)break;if(hasDot)break;hasDot=!0,number+=reader.read()}c=reader.peek()}return number},readString:function(){for(var reader=this._reader,delim=reader.read(),string=delim,prev=delim,c=reader.peek();c&&(c=reader.read(),string+=c,c!=delim||"\\\\"==prev);){if(isNewLine(reader.peek())&&"\\\\"!=c){string="";break}prev=c,c=reader.peek()}return null===c&&(string=""),string},readURI:function(first){var reader=this._reader,uri=first,inner="",c=reader.peek();for(reader.mark();c&&isWhitespace(c);)reader.read(),c=reader.peek();for(inner="\'"==c||\'"\'==c?this.readString():this.readURL(),c=reader.peek();c&&isWhitespace(c);)reader.read(),c=reader.peek();return""===inner||")"!=c?(uri=first,reader.reset()):uri+=inner+reader.read(),uri},readURL:function(){for(var reader=this._reader,url="",c=reader.peek();/^[!#$%&\\\\*-~]$/.test(c);)url+=reader.read(),c=reader.peek();return url},readName:function(first){for(var reader=this._reader,ident=first||"",c=reader.peek();;)if("\\\\"==c)ident+=this.readEscape(reader.read()),c=reader.peek();else{if(!c||!isNameChar(c))break;ident+=reader.read(),c=reader.peek()}return ident},readEscape:function(first){var reader=this._reader,cssEscape=first||"",i=0,c=reader.peek();if(isHexDigit(c))do cssEscape+=reader.read(),c=reader.peek();while(c&&isHexDigit(c)&&6>++i);return 3==cssEscape.length&&/\\s/.test(c)||7==cssEscape.length||1==cssEscape.length?reader.read():c="",cssEscape+c},readComment:function(first){var reader=this._reader,comment=first||"",c=reader.read();if("*"==c){for(;c;){if(comment+=c,comment.length>2&&"*"==c&&"/"==reader.peek()){comment+=reader.read();break}c=reader.read()}return comment}return""}});var Tokens=[{name:"CDO"},{name:"CDC"},{name:"S",whitespace:!0},{name:"COMMENT",comment:!0,hide:!0,channel:"comment"},{name:"INCLUDES",text:"~="},{name:"DASHMATCH",text:"|="},{name:"PREFIXMATCH",text:"^="},{name:"SUFFIXMATCH",text:"$="},{name:"SUBSTRINGMATCH",text:"*="},{name:"STRING"},{name:"IDENT"},{name:"HASH"},{name:"IMPORT_SYM",text:"@import"},{name:"PAGE_SYM",text:"@page"},{name:"MEDIA_SYM",text:"@media"},{name:"FONT_FACE_SYM",text:"@font-face"},{name:"CHARSET_SYM",text:"@charset"},{name:"NAMESPACE_SYM",text:"@namespace"},{name:"VIEWPORT_SYM",text:["@viewport","@-ms-viewport"]},{name:"UNKNOWN_SYM"},{name:"KEYFRAMES_SYM",text:["@keyframes","@-webkit-keyframes","@-moz-keyframes","@-o-keyframes"]},{name:"IMPORTANT_SYM"},{name:"LENGTH"},{name:"ANGLE"},{name:"TIME"},{name:"FREQ"},{name:"DIMENSION"},{name:"PERCENTAGE"},{name:"NUMBER"},{name:"URI"},{name:"FUNCTION"},{name:"UNICODE_RANGE"},{name:"INVALID"},{name:"PLUS",text:"+"},{name:"GREATER",text:">"},{name:"COMMA",text:","},{name:"TILDE",text:"~"},{name:"NOT"},{name:"TOPLEFTCORNER_SYM",text:"@top-left-corner"},{name:"TOPLEFT_SYM",text:"@top-left"},{name:"TOPCENTER_SYM",text:"@top-center"},{name:"TOPRIGHT_SYM",text:"@top-right"},{name:"TOPRIGHTCORNER_SYM",text:"@top-right-corner"},{name:"BOTTOMLEFTCORNER_SYM",text:"@bottom-left-corner"},{name:"BOTTOMLEFT_SYM",text:"@bottom-left"},{name:"BOTTOMCENTER_SYM",text:"@bottom-center"},{name:"BOTTOMRIGHT_SYM",text:"@bottom-right"},{name:"BOTTOMRIGHTCORNER_SYM",text:"@bottom-right-corner"},{name:"LEFTTOP_SYM",text:"@left-top"},{name:"LEFTMIDDLE_SYM",text:"@left-middle"},{name:"LEFTBOTTOM_SYM",text:"@left-bottom"},{name:"RIGHTTOP_SYM",text:"@right-top"},{name:"RIGHTMIDDLE_SYM",text:"@right-middle"},{name:"RIGHTBOTTOM_SYM",text:"@right-bottom"},{name:"RESOLUTION",state:"media"},{name:"IE_FUNCTION"},{name:"CHAR"},{name:"PIPE",text:"|"},{name:"SLASH",text:"/"},{name:"MINUS",text:"-"},{name:"STAR",text:"*"},{name:"LBRACE",endChar:"}",text:"{"},{name:"RBRACE",text:"}"},{name:"LBRACKET",endChar:"]",text:"["},{name:"RBRACKET",text:"]"},{name:"EQUALS",text:"="},{name:"COLON",text:":"},{name:"SEMICOLON",text:";"},{name:"LPAREN",endChar:")",text:"("},{name:"RPAREN",text:")"},{name:"DOT",text:"."}];(function(){var nameMap=[],typeMap={};Tokens.UNKNOWN=-1,Tokens.unshift({name:"EOF"});for(var i=0,len=Tokens.length;len>i;i++)if(nameMap.push(Tokens[i].name),Tokens[Tokens[i].name]=i,Tokens[i].text)if(Tokens[i].text instanceof Array)for(var j=0;Tokens[i].text.length>j;j++)typeMap[Tokens[i].text[j]]=i;else typeMap[Tokens[i].text]=i;Tokens.name=function(tt){return nameMap[tt]},Tokens.type=function(c){return typeMap[c]||-1}})();var Validation={validate:function(property,value){var name=(""+property).toLowerCase(),expression=(value.parts,new PropertyValueIterator(value)),spec=Properties[name];if(spec)"number"!=typeof spec&&("string"==typeof spec?spec.indexOf("||")>-1?this.groupProperty(spec,expression):this.singleProperty(spec,expression,1):spec.multi?this.multiProperty(spec.multi,expression,spec.comma,spec.max||1/0):"function"==typeof spec&&spec(expression));else if(0!==name.indexOf("-"))throw new ValidationError("Unknown property \'"+property+"\'.",property.line,property.col)},singleProperty:function(types,expression,max){for(var part,result=!1,value=expression.value,count=0;expression.hasNext()&&max>count&&(result=ValidationTypes.isAny(expression,types));)count++;if(!result)throw expression.hasNext()&&!expression.isFirst()?(part=expression.peek(),new ValidationError("Expected end of value but found \'"+part+"\'.",part.line,part.col)):new ValidationError("Expected ("+types+") but found \'"+value+"\'.",value.line,value.col);if(expression.hasNext())throw part=expression.next(),new ValidationError("Expected end of value but found \'"+part+"\'.",part.line,part.col)},multiProperty:function(types,expression,comma,max){for(var part,result=!1,value=expression.value,count=0;expression.hasNext()&&!result&&max>count&&ValidationTypes.isAny(expression,types);)if(count++,expression.hasNext()){if(comma){if(","!=expression.peek())break;part=expression.next()}}else result=!0;if(!result)throw expression.hasNext()&&!expression.isFirst()?(part=expression.peek(),new ValidationError("Expected end of value but found \'"+part+"\'.",part.line,part.col)):(part=expression.previous(),comma&&","==part?new ValidationError("Expected end of value but found \'"+part+"\'.",part.line,part.col):new ValidationError("Expected ("+types+") but found \'"+value+"\'.",value.line,value.col));if(expression.hasNext())throw part=expression.next(),new ValidationError("Expected end of value but found \'"+part+"\'.",part.line,part.col)},groupProperty:function(types,expression){for(var name,part,result=!1,value=expression.value,typeCount=types.split("||").length,groups={count:0},partial=!1;expression.hasNext()&&!result&&(name=ValidationTypes.isAnyOfGroup(expression,types))&&!groups[name];)groups[name]=1,groups.count++,partial=!0,groups.count!=typeCount&&expression.hasNext()||(result=!0);if(!result)throw partial&&expression.hasNext()?(part=expression.peek(),new ValidationError("Expected end of value but found \'"+part+"\'.",part.line,part.col)):new ValidationError("Expected ("+types+") but found \'"+value+"\'.",value.line,value.col);if(expression.hasNext())throw part=expression.next(),new ValidationError("Expected end of value but found \'"+part+"\'.",part.line,part.col)}};ValidationError.prototype=Error();var ValidationTypes={isLiteral:function(part,literals){var i,len,text=(""+part.text).toLowerCase(),args=literals.split(" | "),found=!1;for(i=0,len=args.length;len>i&&!found;i++)text==args[i].toLowerCase()&&(found=!0);return found},isSimple:function(type){return!!this.simple[type]},isComplex:function(type){return!!this.complex[type]},isAny:function(expression,types){var i,len,args=types.split(" | "),found=!1;for(i=0,len=args.length;len>i&&!found&&expression.hasNext();i++)found=this.isType(expression,args[i]);return found},isAnyOfGroup:function(expression,types){var i,len,args=types.split(" || "),found=!1;for(i=0,len=args.length;len>i&&!found;i++)found=this.isType(expression,args[i]);return found?args[i-1]:!1},isType:function(expression,type){var part=expression.peek(),result=!1;return"<"!=type.charAt(0)?(result=this.isLiteral(part,type),result&&expression.next()):this.simple[type]?(result=this.simple[type](part),result&&expression.next()):result=this.complex[type](expression),result},simple:{"<absolute-size>":function(part){return ValidationTypes.isLiteral(part,"xx-small | x-small | small | medium | large | x-large | xx-large")},"<attachment>":function(part){return ValidationTypes.isLiteral(part,"scroll | fixed | local")},"<attr>":function(part){return"function"==part.type&&"attr"==part.name},"<bg-image>":function(part){return this["<image>"](part)||this["<gradient>"](part)||"none"==part},"<gradient>":function(part){return"function"==part.type&&/^(?:\\-(?:ms|moz|o|webkit)\\-)?(?:repeating\\-)?(?:radial\\-|linear\\-)?gradient/i.test(part)},"<box>":function(part){return ValidationTypes.isLiteral(part,"padding-box | border-box | content-box")},"<content>":function(part){return"function"==part.type&&"content"==part.name},"<relative-size>":function(part){return ValidationTypes.isLiteral(part,"smaller | larger")},"<ident>":function(part){return"identifier"==part.type},"<length>":function(part){return"function"==part.type&&/^(?:\\-(?:ms|moz|o|webkit)\\-)?calc/i.test(part)?!0:"length"==part.type||"number"==part.type||"integer"==part.type||"0"==part},"<color>":function(part){return"color"==part.type||"transparent"==part},"<number>":function(part){return"number"==part.type||this["<integer>"](part)},"<integer>":function(part){return"integer"==part.type},"<line>":function(part){return"integer"==part.type},"<angle>":function(part){return"angle"==part.type},"<uri>":function(part){return"uri"==part.type},"<image>":function(part){return this["<uri>"](part)},"<percentage>":function(part){return"percentage"==part.type||"0"==part},"<border-width>":function(part){return this["<length>"](part)||ValidationTypes.isLiteral(part,"thin | medium | thick")},"<border-style>":function(part){return ValidationTypes.isLiteral(part,"none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset")},"<content-sizing>":function(part){return ValidationTypes.isLiteral(part,"fill-available | -moz-available | -webkit-fill-available | max-content | -moz-max-content | -webkit-max-content | min-content | -moz-min-content | -webkit-min-content | fit-content | -moz-fit-content | -webkit-fit-content")},"<margin-width>":function(part){return this["<length>"](part)||this["<percentage>"](part)||ValidationTypes.isLiteral(part,"auto")},"<padding-width>":function(part){return this["<length>"](part)||this["<percentage>"](part)},"<shape>":function(part){return"function"==part.type&&("rect"==part.name||"inset-rect"==part.name)},"<time>":function(part){return"time"==part.type},"<flex-grow>":function(part){return this["<number>"](part)},"<flex-shrink>":function(part){return this["<number>"](part)},"<width>":function(part){return this["<margin-width>"](part)},"<flex-basis>":function(part){return this["<width>"](part)},"<flex-direction>":function(part){return ValidationTypes.isLiteral(part,"row | row-reverse | column | column-reverse")},"<flex-wrap>":function(part){return ValidationTypes.isLiteral(part,"nowrap | wrap | wrap-reverse")}},complex:{"<bg-position>":function(expression){for(var result=!1,numeric="<percentage> | <length>",xDir="left | right",yDir="top | bottom",count=0;expression.peek(count)&&","!=expression.peek(count);)count++;return 3>count?ValidationTypes.isAny(expression,xDir+" | center | "+numeric)?(result=!0,ValidationTypes.isAny(expression,yDir+" | center | "+numeric)):ValidationTypes.isAny(expression,yDir)&&(result=!0,ValidationTypes.isAny(expression,xDir+" | center")):ValidationTypes.isAny(expression,xDir)?ValidationTypes.isAny(expression,yDir)?(result=!0,ValidationTypes.isAny(expression,numeric)):ValidationTypes.isAny(expression,numeric)&&(ValidationTypes.isAny(expression,yDir)?(result=!0,ValidationTypes.isAny(expression,numeric)):ValidationTypes.isAny(expression,"center")&&(result=!0)):ValidationTypes.isAny(expression,yDir)?ValidationTypes.isAny(expression,xDir)?(result=!0,ValidationTypes.isAny(expression,numeric)):ValidationTypes.isAny(expression,numeric)&&(ValidationTypes.isAny(expression,xDir)?(result=!0,ValidationTypes.isAny(expression,numeric)):ValidationTypes.isAny(expression,"center")&&(result=!0)):ValidationTypes.isAny(expression,"center")&&ValidationTypes.isAny(expression,xDir+" | "+yDir)&&(result=!0,ValidationTypes.isAny(expression,numeric)),result},"<bg-size>":function(expression){var result=!1,numeric="<percentage> | <length> | auto";return ValidationTypes.isAny(expression,"cover | contain")?result=!0:ValidationTypes.isAny(expression,numeric)&&(result=!0,ValidationTypes.isAny(expression,numeric)),result},"<repeat-style>":function(expression){var part,result=!1,values="repeat | space | round | no-repeat";return expression.hasNext()&&(part=expression.next(),ValidationTypes.isLiteral(part,"repeat-x | repeat-y")?result=!0:ValidationTypes.isLiteral(part,values)&&(result=!0,expression.hasNext()&&ValidationTypes.isLiteral(expression.peek(),values)&&expression.next())),result},"<shadow>":function(expression){var result=!1,count=0,inset=!1,color=!1;if(expression.hasNext()){for(ValidationTypes.isAny(expression,"inset")&&(inset=!0),ValidationTypes.isAny(expression,"<color>")&&(color=!0);ValidationTypes.isAny(expression,"<length>")&&4>count;)count++;expression.hasNext()&&(color||ValidationTypes.isAny(expression,"<color>"),inset||ValidationTypes.isAny(expression,"inset")),result=count>=2&&4>=count}return result},"<x-one-radius>":function(expression){var result=!1,simple="<length> | <percentage> | inherit";return ValidationTypes.isAny(expression,simple)&&(result=!0,ValidationTypes.isAny(expression,simple)),result},"<flex>":function(expression){var part,result=!1;if(ValidationTypes.isAny(expression,"none | inherit")?result=!0:ValidationTypes.isType(expression,"<flex-grow>")?expression.peek()?ValidationTypes.isType(expression,"<flex-shrink>")?result=expression.peek()?ValidationTypes.isType(expression,"<flex-basis>"):!0:ValidationTypes.isType(expression,"<flex-basis>")&&(result=null===expression.peek()):result=!0:ValidationTypes.isType(expression,"<flex-basis>")&&(result=!0),!result)throw part=expression.peek(),new ValidationError("Expected (none | [ <flex-grow> <flex-shrink>? || <flex-basis> ]) but found \'"+expression.value.text+"\'.",part.line,part.col);return result}}};parserlib.css={Colors:Colors,Combinator:Combinator,Parser:Parser,PropertyName:PropertyName,PropertyValue:PropertyValue,PropertyValuePart:PropertyValuePart,MediaFeature:MediaFeature,MediaQuery:MediaQuery,Selector:Selector,SelectorPart:SelectorPart,SelectorSubPart:SelectorSubPart,Specificity:Specificity,TokenStream:TokenStream,Tokens:Tokens,ValidationError:ValidationError}}(),function(){for(var prop in parserlib)exports[prop]=parserlib[prop]}();var util={isArray:function(ar){return Array.isArray(ar)||"object"==typeof ar&&"[object Array]"===objectToString(ar)},isDate:function(d){return"object"==typeof d&&"[object Date]"===objectToString(d)},isRegExp:function(re){return"object"==typeof re&&"[object RegExp]"===objectToString(re)},getRegExpFlags:function(re){var flags="";return re.global&&(flags+="g"),re.ignoreCase&&(flags+="i"),re.multiline&&(flags+="m"),flags}};"object"==typeof module&&(module.exports=clone),clone.clonePrototype=function(parent){if(null===parent)return null;var c=function(){};return c.prototype=parent,new c};var CSSLint=function(){function applyEmbeddedRuleset(text,ruleset){var valueMap,embedded=text&&text.match(embeddedRuleset),rules=embedded&&embedded[1];return rules&&(valueMap={"true":2,"":1,"false":0,2:2,1:1,0:0},rules.toLowerCase().split(",").forEach(function(rule){var pair=rule.split(":"),property=pair[0]||"",value=pair[1]||"";ruleset[property.trim()]=valueMap[value.trim()]})),ruleset}var rules=[],formatters=[],embeddedRuleset=/\\/\\*csslint([^\\*]*)\\*\\//,api=new parserlib.util.EventTarget;return api.version="@VERSION@",api.addRule=function(rule){rules.push(rule),rules[rule.id]=rule},api.clearRules=function(){rules=[]},api.getRules=function(){return[].concat(rules).sort(function(a,b){return a.id>b.id?1:0})},api.getRuleset=function(){for(var ruleset={},i=0,len=rules.length;len>i;)ruleset[rules[i++].id]=1;return ruleset},api.addFormatter=function(formatter){formatters[formatter.id]=formatter},api.getFormatter=function(formatId){return formatters[formatId]},api.format=function(results,filename,formatId,options){var formatter=this.getFormatter(formatId),result=null;return formatter&&(result=formatter.startFormat(),result+=formatter.formatResults(results,filename,options||{}),result+=formatter.endFormat()),result},api.hasFormat=function(formatId){return formatters.hasOwnProperty(formatId)},api.verify=function(text,ruleset){var reporter,lines,report,i=0,parser=new parserlib.css.Parser({starHack:!0,ieFilters:!0,underscoreHack:!0,strict:!1});lines=text.replace(/\\n\\r?/g,"$split$").split("$split$"),ruleset||(ruleset=this.getRuleset()),embeddedRuleset.test(text)&&(ruleset=clone(ruleset),ruleset=applyEmbeddedRuleset(text,ruleset)),reporter=new Reporter(lines,ruleset),ruleset.errors=2;for(i in ruleset)ruleset.hasOwnProperty(i)&&ruleset[i]&&rules[i]&&rules[i].init(parser,reporter);try{parser.parse(text)}catch(ex){reporter.error("Fatal error, cannot continue: "+ex.message,ex.line,ex.col,{})}return report={messages:reporter.messages,stats:reporter.stats,ruleset:reporter.ruleset},report.messages.sort(function(a,b){return a.rollup&&!b.rollup?1:!a.rollup&&b.rollup?-1:a.line-b.line}),report},api}();Reporter.prototype={constructor:Reporter,error:function(message,line,col,rule){this.messages.push({type:"error",line:line,col:col,message:message,evidence:this.lines[line-1],rule:rule||{}})},warn:function(message,line,col,rule){this.report(message,line,col,rule)},report:function(message,line,col,rule){this.messages.push({type:2===this.ruleset[rule.id]?"error":"warning",line:line,col:col,message:message,evidence:this.lines[line-1],rule:rule})},info:function(message,line,col,rule){this.messages.push({type:"info",line:line,col:col,message:message,evidence:this.lines[line-1],rule:rule})},rollupError:function(message,rule){this.messages.push({type:"error",rollup:!0,message:message,rule:rule})},rollupWarn:function(message,rule){this.messages.push({type:"warning",rollup:!0,message:message,rule:rule})},stat:function(name,value){this.stats[name]=value}},CSSLint._Reporter=Reporter,CSSLint.Util={mix:function(receiver,supplier){var prop;for(prop in supplier)supplier.hasOwnProperty(prop)&&(receiver[prop]=supplier[prop]);return prop},indexOf:function(values,value){if(values.indexOf)return values.indexOf(value);for(var i=0,len=values.length;len>i;i++)if(values[i]===value)return i;return-1},forEach:function(values,func){if(values.forEach)return values.forEach(func);for(var i=0,len=values.length;len>i;i++)func(values[i],i,values)}},CSSLint.addRule({id:"adjoining-classes",name:"Disallow adjoining classes",desc:"Don\'t use adjoining classes.",browsers:"IE6",init:function(parser,reporter){var rule=this;parser.addListener("startrule",function(event){var selector,part,modifier,classCount,i,j,k,selectors=event.selectors;for(i=0;selectors.length>i;i++)for(selector=selectors[i],j=0;selector.parts.length>j;j++)if(part=selector.parts[j],part.type===parser.SELECTOR_PART_TYPE)for(classCount=0,k=0;part.modifiers.length>k;k++)modifier=part.modifiers[k],"class"===modifier.type&&classCount++,classCount>1&&reporter.report("Don\'t use adjoining classes.",part.line,part.col,rule)})}}),CSSLint.addRule({id:"box-model",name:"Beware of broken box size",desc:"Don\'t use width or height when using padding or border.",browsers:"All",init:function(parser,reporter){function startRule(){properties={},boxSizing=!1}function endRule(){var prop,value;if(!boxSizing){if(properties.height)for(prop in heightProperties)heightProperties.hasOwnProperty(prop)&&properties[prop]&&(value=properties[prop].value,("padding"!==prop||2!==value.parts.length||0!==value.parts[0].value)&&reporter.report("Using height with "+prop+" can sometimes make elements larger than you expect.",properties[prop].line,properties[prop].col,rule));if(properties.width)for(prop in widthProperties)widthProperties.hasOwnProperty(prop)&&properties[prop]&&(value=properties[prop].value,("padding"!==prop||2!==value.parts.length||0!==value.parts[1].value)&&reporter.report("Using width with "+prop+" can sometimes make elements larger than you expect.",properties[prop].line,properties[prop].col,rule))}}var properties,rule=this,widthProperties={border:1,"border-left":1,"border-right":1,padding:1,"padding-left":1,"padding-right":1},heightProperties={border:1,"border-bottom":1,"border-top":1,padding:1,"padding-bottom":1,"padding-top":1},boxSizing=!1;parser.addListener("startrule",startRule),parser.addListener("startfontface",startRule),parser.addListener("startpage",startRule),parser.addListener("startpagemargin",startRule),parser.addListener("startkeyframerule",startRule),parser.addListener("property",function(event){var name=event.property.text.toLowerCase();heightProperties[name]||widthProperties[name]?/^0\\S*$/.test(event.value)||"border"===name&&"none"==""+event.value||(properties[name]={line:event.property.line,col:event.property.col,value:event.value}):/^(width|height)/i.test(name)&&/^(length|percentage)/.test(event.value.parts[0].type)?properties[name]=1:"box-sizing"===name&&(boxSizing=!0)}),parser.addListener("endrule",endRule),parser.addListener("endfontface",endRule),parser.addListener("endpage",endRule),parser.addListener("endpagemargin",endRule),parser.addListener("endkeyframerule",endRule)}}),CSSLint.addRule({id:"box-sizing",name:"Disallow use of box-sizing",desc:"The box-sizing properties isn\'t supported in IE6 and IE7.",browsers:"IE6, IE7",tags:["Compatibility"],init:function(parser,reporter){var rule=this;parser.addListener("property",function(event){var name=event.property.text.toLowerCase();"box-sizing"===name&&reporter.report("The box-sizing property isn\'t supported in IE6 and IE7.",event.line,event.col,rule)})}}),CSSLint.addRule({id:"bulletproof-font-face",name:"Use the bulletproof @font-face syntax",desc:"Use the bulletproof @font-face syntax to avoid 404\'s in old IE (http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax).",browsers:"All",init:function(parser,reporter){var line,col,rule=this,fontFaceRule=!1,firstSrc=!0,ruleFailed=!1;parser.addListener("startfontface",function(){fontFaceRule=!0}),parser.addListener("property",function(event){if(fontFaceRule){var propertyName=(""+event.property).toLowerCase(),value=""+event.value;if(line=event.line,col=event.col,"src"===propertyName){var regex=/^\\s?url\\([\'"].+\\.eot\\?.*[\'"]\\)\\s*format\\([\'"]embedded-opentype[\'"]\\).*$/i;!value.match(regex)&&firstSrc?(ruleFailed=!0,firstSrc=!1):value.match(regex)&&!firstSrc&&(ruleFailed=!1)}}}),parser.addListener("endfontface",function(){fontFaceRule=!1,ruleFailed&&reporter.report("@font-face declaration doesn\'t follow the fontspring bulletproof syntax.",line,col,rule)})}}),CSSLint.addRule({id:"compatible-vendor-prefixes",name:"Require compatible vendor prefixes",desc:"Include all compatible vendor prefixes to reach a wider range of users.",browsers:"All",init:function(parser,reporter){var compatiblePrefixes,properties,prop,variations,prefixed,i,len,rule=this,inKeyFrame=!1,arrayPush=Array.prototype.push,applyTo=[];compatiblePrefixes={animation:"webkit moz","animation-delay":"webkit moz","animation-direction":"webkit moz","animation-duration":"webkit moz","animation-fill-mode":"webkit moz","animation-iteration-count":"webkit moz","animation-name":"webkit moz","animation-play-state":"webkit moz","animation-timing-function":"webkit moz",appearance:"webkit moz","border-end":"webkit moz","border-end-color":"webkit moz","border-end-style":"webkit moz","border-end-width":"webkit moz","border-image":"webkit moz o","border-radius":"webkit","border-start":"webkit moz","border-start-color":"webkit moz","border-start-style":"webkit moz","border-start-width":"webkit moz","box-align":"webkit moz ms","box-direction":"webkit moz ms","box-flex":"webkit moz ms","box-lines":"webkit ms","box-ordinal-group":"webkit moz ms","box-orient":"webkit moz ms","box-pack":"webkit moz ms","box-sizing":"webkit moz","box-shadow":"webkit moz","column-count":"webkit moz ms","column-gap":"webkit moz ms","column-rule":"webkit moz ms","column-rule-color":"webkit moz ms","column-rule-style":"webkit moz ms","column-rule-width":"webkit moz ms","column-width":"webkit moz ms",hyphens:"epub moz","line-break":"webkit ms","margin-end":"webkit moz","margin-start":"webkit moz","marquee-speed":"webkit wap","marquee-style":"webkit wap","padding-end":"webkit moz","padding-start":"webkit moz","tab-size":"moz o","text-size-adjust":"webkit ms",transform:"webkit moz ms o","transform-origin":"webkit moz ms o",transition:"webkit moz o","transition-delay":"webkit moz o","transition-duration":"webkit moz o","transition-property":"webkit moz o","transition-timing-function":"webkit moz o","user-modify":"webkit moz","user-select":"webkit moz ms","word-break":"epub ms","writing-mode":"epub ms"};for(prop in compatiblePrefixes)if(compatiblePrefixes.hasOwnProperty(prop)){for(variations=[],prefixed=compatiblePrefixes[prop].split(" "),i=0,len=prefixed.length;len>i;i++)variations.push("-"+prefixed[i]+"-"+prop);compatiblePrefixes[prop]=variations,arrayPush.apply(applyTo,variations)}parser.addListener("startrule",function(){properties=[]}),parser.addListener("startkeyframes",function(event){inKeyFrame=event.prefix||!0}),parser.addListener("endkeyframes",function(){inKeyFrame=!1}),parser.addListener("property",function(event){var name=event.property;CSSLint.Util.indexOf(applyTo,name.text)>-1&&(inKeyFrame&&"string"==typeof inKeyFrame&&0===name.text.indexOf("-"+inKeyFrame+"-")||properties.push(name))}),parser.addListener("endrule",function(){if(properties.length){var i,len,name,prop,variations,value,full,actual,item,propertiesSpecified,propertyGroups={};for(i=0,len=properties.length;len>i;i++){name=properties[i];for(prop in compatiblePrefixes)compatiblePrefixes.hasOwnProperty(prop)&&(variations=compatiblePrefixes[prop],CSSLint.Util.indexOf(variations,name.text)>-1&&(propertyGroups[prop]||(propertyGroups[prop]={full:variations.slice(0),actual:[],actualNodes:[]}),-1===CSSLint.Util.indexOf(propertyGroups[prop].actual,name.text)&&(propertyGroups[prop].actual.push(name.text),propertyGroups[prop].actualNodes.push(name))))}for(prop in propertyGroups)if(propertyGroups.hasOwnProperty(prop)&&(value=propertyGroups[prop],full=value.full,actual=value.actual,full.length>actual.length))for(i=0,len=full.length;len>i;i++)item=full[i],-1===CSSLint.Util.indexOf(actual,item)&&(propertiesSpecified=1===actual.length?actual[0]:2===actual.length?actual.join(" and "):actual.join(", "),reporter.report("The property "+item+" is compatible with "+propertiesSpecified+" and should be included as well.",value.actualNodes[0].line,value.actualNodes[0].col,rule))}})}}),CSSLint.addRule({id:"display-property-grouping",name:"Require properties appropriate for display",desc:"Certain properties shouldn\'t be used with certain display property values.",browsers:"All",init:function(parser,reporter){function reportProperty(name,display,msg){properties[name]&&("string"!=typeof propertiesToCheck[name]||properties[name].value.toLowerCase()!==propertiesToCheck[name])&&reporter.report(msg||name+" can\'t be used with display: "+display+".",properties[name].line,properties[name].col,rule)}function startRule(){properties={}}function endRule(){var display=properties.display?properties.display.value:null;if(display)switch(display){case"inline":reportProperty("height",display),reportProperty("width",display),reportProperty("margin",display),reportProperty("margin-top",display),reportProperty("margin-bottom",display),reportProperty("float",display,"display:inline has no effect on floated elements (but may be used to fix the IE6 double-margin bug).");break;case"block":reportProperty("vertical-align",display);\nbreak;case"inline-block":reportProperty("float",display);break;default:0===display.indexOf("table-")&&(reportProperty("margin",display),reportProperty("margin-left",display),reportProperty("margin-right",display),reportProperty("margin-top",display),reportProperty("margin-bottom",display),reportProperty("float",display))}}var properties,rule=this,propertiesToCheck={display:1,"float":"none",height:1,width:1,margin:1,"margin-left":1,"margin-right":1,"margin-bottom":1,"margin-top":1,padding:1,"padding-left":1,"padding-right":1,"padding-bottom":1,"padding-top":1,"vertical-align":1};parser.addListener("startrule",startRule),parser.addListener("startfontface",startRule),parser.addListener("startkeyframerule",startRule),parser.addListener("startpagemargin",startRule),parser.addListener("startpage",startRule),parser.addListener("property",function(event){var name=event.property.text.toLowerCase();propertiesToCheck[name]&&(properties[name]={value:event.value.text,line:event.property.line,col:event.property.col})}),parser.addListener("endrule",endRule),parser.addListener("endfontface",endRule),parser.addListener("endkeyframerule",endRule),parser.addListener("endpagemargin",endRule),parser.addListener("endpage",endRule)}}),CSSLint.addRule({id:"duplicate-background-images",name:"Disallow duplicate background images",desc:"Every background-image should be unique. Use a common class for e.g. sprites.",browsers:"All",init:function(parser,reporter){var rule=this,stack={};parser.addListener("property",function(event){var i,len,name=event.property.text,value=event.value;if(name.match(/background/i))for(i=0,len=value.parts.length;len>i;i++)"uri"===value.parts[i].type&&(stack[value.parts[i].uri]===void 0?stack[value.parts[i].uri]=event:reporter.report("Background image \'"+value.parts[i].uri+"\' was used multiple times, first declared at line "+stack[value.parts[i].uri].line+", col "+stack[value.parts[i].uri].col+".",event.line,event.col,rule))})}}),CSSLint.addRule({id:"duplicate-properties",name:"Disallow duplicate properties",desc:"Duplicate properties must appear one after the other.",browsers:"All",init:function(parser,reporter){function startRule(){properties={}}var properties,lastProperty,rule=this;parser.addListener("startrule",startRule),parser.addListener("startfontface",startRule),parser.addListener("startpage",startRule),parser.addListener("startpagemargin",startRule),parser.addListener("startkeyframerule",startRule),parser.addListener("property",function(event){var property=event.property,name=property.text.toLowerCase();!properties[name]||lastProperty===name&&properties[name]!==event.value.text||reporter.report("Duplicate property \'"+event.property+"\' found.",event.line,event.col,rule),properties[name]=event.value.text,lastProperty=name})}}),CSSLint.addRule({id:"empty-rules",name:"Disallow empty rules",desc:"Rules without any properties specified should be removed.",browsers:"All",init:function(parser,reporter){var rule=this,count=0;parser.addListener("startrule",function(){count=0}),parser.addListener("property",function(){count++}),parser.addListener("endrule",function(event){var selectors=event.selectors;0===count&&reporter.report("Rule is empty.",selectors[0].line,selectors[0].col,rule)})}}),CSSLint.addRule({id:"errors",name:"Parsing Errors",desc:"This rule looks for recoverable syntax errors.",browsers:"All",init:function(parser,reporter){var rule=this;parser.addListener("error",function(event){reporter.error(event.message,event.line,event.col,rule)})}}),CSSLint.addRule({id:"fallback-colors",name:"Require fallback colors",desc:"For older browsers that don\'t support RGBA, HSL, or HSLA, provide a fallback color.",browsers:"IE6,IE7,IE8",init:function(parser,reporter){function startRule(){properties={},lastProperty=null}var lastProperty,properties,rule=this,propertiesToCheck={color:1,background:1,"border-color":1,"border-top-color":1,"border-right-color":1,"border-bottom-color":1,"border-left-color":1,border:1,"border-top":1,"border-right":1,"border-bottom":1,"border-left":1,"background-color":1};parser.addListener("startrule",startRule),parser.addListener("startfontface",startRule),parser.addListener("startpage",startRule),parser.addListener("startpagemargin",startRule),parser.addListener("startkeyframerule",startRule),parser.addListener("property",function(event){var property=event.property,name=property.text.toLowerCase(),parts=event.value.parts,i=0,colorType="",len=parts.length;if(propertiesToCheck[name])for(;len>i;)"color"===parts[i].type&&("alpha"in parts[i]||"hue"in parts[i]?(/([^\\)]+)\\(/.test(parts[i])&&(colorType=RegExp.$1.toUpperCase()),lastProperty&&lastProperty.property.text.toLowerCase()===name&&"compat"===lastProperty.colorType||reporter.report("Fallback "+name+" (hex or RGB) should precede "+colorType+" "+name+".",event.line,event.col,rule)):event.colorType="compat"),i++;lastProperty=event})}}),CSSLint.addRule({id:"floats",name:"Disallow too many floats",desc:"This rule tests if the float property is used too many times",browsers:"All",init:function(parser,reporter){var rule=this,count=0;parser.addListener("property",function(event){"float"===event.property.text.toLowerCase()&&"none"!==event.value.text.toLowerCase()&&count++}),parser.addListener("endstylesheet",function(){reporter.stat("floats",count),count>=10&&reporter.rollupWarn("Too many floats ("+count+"), you\'re probably using them for layout. Consider using a grid system instead.",rule)})}}),CSSLint.addRule({id:"font-faces",name:"Don\'t use too many web fonts",desc:"Too many different web fonts in the same stylesheet.",browsers:"All",init:function(parser,reporter){var rule=this,count=0;parser.addListener("startfontface",function(){count++}),parser.addListener("endstylesheet",function(){count>5&&reporter.rollupWarn("Too many @font-face declarations ("+count+").",rule)})}}),CSSLint.addRule({id:"font-sizes",name:"Disallow too many font sizes",desc:"Checks the number of font-size declarations.",browsers:"All",init:function(parser,reporter){var rule=this,count=0;parser.addListener("property",function(event){"font-size"==""+event.property&&count++}),parser.addListener("endstylesheet",function(){reporter.stat("font-sizes",count),count>=10&&reporter.rollupWarn("Too many font-size declarations ("+count+"), abstraction needed.",rule)})}}),CSSLint.addRule({id:"gradients",name:"Require all gradient definitions",desc:"When using a vendor-prefixed gradient, make sure to use them all.",browsers:"All",init:function(parser,reporter){var gradients,rule=this;parser.addListener("startrule",function(){gradients={moz:0,webkit:0,oldWebkit:0,o:0}}),parser.addListener("property",function(event){/\\-(moz|o|webkit)(?:\\-(?:linear|radial))\\-gradient/i.test(event.value)?gradients[RegExp.$1]=1:/\\-webkit\\-gradient/i.test(event.value)&&(gradients.oldWebkit=1)}),parser.addListener("endrule",function(event){var missing=[];gradients.moz||missing.push("Firefox 3.6+"),gradients.webkit||missing.push("Webkit (Safari 5+, Chrome)"),gradients.oldWebkit||missing.push("Old Webkit (Safari 4+, Chrome)"),gradients.o||missing.push("Opera 11.1+"),missing.length&&4>missing.length&&reporter.report("Missing vendor-prefixed CSS gradients for "+missing.join(", ")+".",event.selectors[0].line,event.selectors[0].col,rule)})}}),CSSLint.addRule({id:"ids",name:"Disallow IDs in selectors",desc:"Selectors should not contain IDs.",browsers:"All",init:function(parser,reporter){var rule=this;parser.addListener("startrule",function(event){var selector,part,modifier,idCount,i,j,k,selectors=event.selectors;for(i=0;selectors.length>i;i++){for(selector=selectors[i],idCount=0,j=0;selector.parts.length>j;j++)if(part=selector.parts[j],part.type===parser.SELECTOR_PART_TYPE)for(k=0;part.modifiers.length>k;k++)modifier=part.modifiers[k],"id"===modifier.type&&idCount++;1===idCount?reporter.report("Don\'t use IDs in selectors.",selector.line,selector.col,rule):idCount>1&&reporter.report(idCount+" IDs in the selector, really?",selector.line,selector.col,rule)}})}}),CSSLint.addRule({id:"import",name:"Disallow @import",desc:"Don\'t use @import, use <link> instead.",browsers:"All",init:function(parser,reporter){var rule=this;parser.addListener("import",function(event){reporter.report("@import prevents parallel downloads, use <link> instead.",event.line,event.col,rule)})}}),CSSLint.addRule({id:"important",name:"Disallow !important",desc:"Be careful when using !important declaration",browsers:"All",init:function(parser,reporter){var rule=this,count=0;parser.addListener("property",function(event){event.important===!0&&(count++,reporter.report("Use of !important",event.line,event.col,rule))}),parser.addListener("endstylesheet",function(){reporter.stat("important",count),count>=10&&reporter.rollupWarn("Too many !important declarations ("+count+"), try to use less than 10 to avoid specificity issues.",rule)})}}),CSSLint.addRule({id:"known-properties",name:"Require use of known properties",desc:"Properties should be known (listed in CSS3 specification) or be a vendor-prefixed property.",browsers:"All",init:function(parser,reporter){var rule=this;parser.addListener("property",function(event){event.invalid&&reporter.report(event.invalid.message,event.line,event.col,rule)})}}),CSSLint.addRule({id:"order-alphabetical",name:"Alphabetical order",desc:"Assure properties are in alphabetical order",browsers:"All",init:function(parser,reporter){var properties,rule=this,startRule=function(){properties=[]};parser.addListener("startrule",startRule),parser.addListener("startfontface",startRule),parser.addListener("startpage",startRule),parser.addListener("startpagemargin",startRule),parser.addListener("startkeyframerule",startRule),parser.addListener("property",function(event){var name=event.property.text,lowerCasePrefixLessName=name.toLowerCase().replace(/^-.*?-/,"");properties.push(lowerCasePrefixLessName)}),parser.addListener("endrule",function(event){var currentProperties=properties.join(","),expectedProperties=properties.sort().join(",");currentProperties!==expectedProperties&&reporter.report("Rule doesn\'t have all its properties in alphabetical ordered.",event.line,event.col,rule)})}}),CSSLint.addRule({id:"outline-none",name:"Disallow outline: none",desc:"Use of outline: none or outline: 0 should be limited to :focus rules.",browsers:"All",tags:["Accessibility"],init:function(parser,reporter){function startRule(event){lastRule=event.selectors?{line:event.line,col:event.col,selectors:event.selectors,propCount:0,outline:!1}:null}function endRule(){lastRule&&lastRule.outline&&(-1===(""+lastRule.selectors).toLowerCase().indexOf(":focus")?reporter.report("Outlines should only be modified using :focus.",lastRule.line,lastRule.col,rule):1===lastRule.propCount&&reporter.report("Outlines shouldn\'t be hidden unless other visual changes are made.",lastRule.line,lastRule.col,rule))}var lastRule,rule=this;parser.addListener("startrule",startRule),parser.addListener("startfontface",startRule),parser.addListener("startpage",startRule),parser.addListener("startpagemargin",startRule),parser.addListener("startkeyframerule",startRule),parser.addListener("property",function(event){var name=event.property.text.toLowerCase(),value=event.value;lastRule&&(lastRule.propCount++,"outline"!==name||"none"!=""+value&&"0"!=""+value||(lastRule.outline=!0))}),parser.addListener("endrule",endRule),parser.addListener("endfontface",endRule),parser.addListener("endpage",endRule),parser.addListener("endpagemargin",endRule),parser.addListener("endkeyframerule",endRule)}}),CSSLint.addRule({id:"overqualified-elements",name:"Disallow overqualified elements",desc:"Don\'t use classes or IDs with elements (a.foo or a#foo).",browsers:"All",init:function(parser,reporter){var rule=this,classes={};parser.addListener("startrule",function(event){var selector,part,modifier,i,j,k,selectors=event.selectors;for(i=0;selectors.length>i;i++)for(selector=selectors[i],j=0;selector.parts.length>j;j++)if(part=selector.parts[j],part.type===parser.SELECTOR_PART_TYPE)for(k=0;part.modifiers.length>k;k++)modifier=part.modifiers[k],part.elementName&&"id"===modifier.type?reporter.report("Element ("+part+") is overqualified, just use "+modifier+" without element name.",part.line,part.col,rule):"class"===modifier.type&&(classes[modifier]||(classes[modifier]=[]),classes[modifier].push({modifier:modifier,part:part}))}),parser.addListener("endstylesheet",function(){var prop;for(prop in classes)classes.hasOwnProperty(prop)&&1===classes[prop].length&&classes[prop][0].part.elementName&&reporter.report("Element ("+classes[prop][0].part+") is overqualified, just use "+classes[prop][0].modifier+" without element name.",classes[prop][0].part.line,classes[prop][0].part.col,rule)})}}),CSSLint.addRule({id:"qualified-headings",name:"Disallow qualified headings",desc:"Headings should not be qualified (namespaced).",browsers:"All",init:function(parser,reporter){var rule=this;parser.addListener("startrule",function(event){var selector,part,i,j,selectors=event.selectors;for(i=0;selectors.length>i;i++)for(selector=selectors[i],j=0;selector.parts.length>j;j++)part=selector.parts[j],part.type===parser.SELECTOR_PART_TYPE&&part.elementName&&/h[1-6]/.test(""+part.elementName)&&j>0&&reporter.report("Heading ("+part.elementName+") should not be qualified.",part.line,part.col,rule)})}}),CSSLint.addRule({id:"regex-selectors",name:"Disallow selectors that look like regexs",desc:"Selectors that look like regular expressions are slow and should be avoided.",browsers:"All",init:function(parser,reporter){var rule=this;parser.addListener("startrule",function(event){var selector,part,modifier,i,j,k,selectors=event.selectors;for(i=0;selectors.length>i;i++)for(selector=selectors[i],j=0;selector.parts.length>j;j++)if(part=selector.parts[j],part.type===parser.SELECTOR_PART_TYPE)for(k=0;part.modifiers.length>k;k++)modifier=part.modifiers[k],"attribute"===modifier.type&&/([\\~\\|\\^\\$\\*]=)/.test(modifier)&&reporter.report("Attribute selectors with "+RegExp.$1+" are slow!",modifier.line,modifier.col,rule)})}}),CSSLint.addRule({id:"rules-count",name:"Rules Count",desc:"Track how many rules there are.",browsers:"All",init:function(parser,reporter){var count=0;parser.addListener("startrule",function(){count++}),parser.addListener("endstylesheet",function(){reporter.stat("rule-count",count)})}}),CSSLint.addRule({id:"selector-max-approaching",name:"Warn when approaching the 4095 selector limit for IE",desc:"Will warn when selector count is >= 3800 selectors.",browsers:"IE",init:function(parser,reporter){var rule=this,count=0;parser.addListener("startrule",function(event){count+=event.selectors.length}),parser.addListener("endstylesheet",function(){count>=3800&&reporter.report("You have "+count+" selectors. Internet Explorer supports a maximum of 4095 selectors per stylesheet. Consider refactoring.",0,0,rule)})}}),CSSLint.addRule({id:"selector-max",name:"Error when past the 4095 selector limit for IE",desc:"Will error when selector count is > 4095.",browsers:"IE",init:function(parser,reporter){var rule=this,count=0;parser.addListener("startrule",function(event){count+=event.selectors.length}),parser.addListener("endstylesheet",function(){count>4095&&reporter.report("You have "+count+" selectors. Internet Explorer supports a maximum of 4095 selectors per stylesheet. Consider refactoring.",0,0,rule)})}}),CSSLint.addRule({id:"selector-newline",name:"Disallow new-line characters in selectors",desc:"New-line characters in selectors are usually a forgotten comma and not a descendant combinator.",browsers:"All",init:function(parser,reporter){function startRule(event){var i,len,selector,p,n,pLen,part,part2,type,currentLine,nextLine,selectors=event.selectors;for(i=0,len=selectors.length;len>i;i++)for(selector=selectors[i],p=0,pLen=selector.parts.length;pLen>p;p++)for(n=p+1;pLen>n;n++)part=selector.parts[p],part2=selector.parts[n],type=part.type,currentLine=part.line,nextLine=part2.line,"descendant"===type&&nextLine>currentLine&&reporter.report("newline character found in selector (forgot a comma?)",currentLine,selectors[i].parts[0].col,rule)}var rule=this;parser.addListener("startrule",startRule)}}),CSSLint.addRule({id:"shorthand",name:"Require shorthand properties",desc:"Use shorthand properties where possible.",browsers:"All",init:function(parser,reporter){function startRule(){properties={}}function endRule(event){var prop,i,len,total;for(prop in mapping)if(mapping.hasOwnProperty(prop)){for(total=0,i=0,len=mapping[prop].length;len>i;i++)total+=properties[mapping[prop][i]]?1:0;total===mapping[prop].length&&reporter.report("The properties "+mapping[prop].join(", ")+" can be replaced by "+prop+".",event.line,event.col,rule)}}var prop,i,len,properties,rule=this,propertiesToCheck={},mapping={margin:["margin-top","margin-bottom","margin-left","margin-right"],padding:["padding-top","padding-bottom","padding-left","padding-right"]};for(prop in mapping)if(mapping.hasOwnProperty(prop))for(i=0,len=mapping[prop].length;len>i;i++)propertiesToCheck[mapping[prop][i]]=prop;parser.addListener("startrule",startRule),parser.addListener("startfontface",startRule),parser.addListener("property",function(event){var name=(""+event.property).toLowerCase();propertiesToCheck[name]&&(properties[name]=1)}),parser.addListener("endrule",endRule),parser.addListener("endfontface",endRule)}}),CSSLint.addRule({id:"star-property-hack",name:"Disallow properties with a star prefix",desc:"Checks for the star property hack (targets IE6/7)",browsers:"All",init:function(parser,reporter){var rule=this;parser.addListener("property",function(event){var property=event.property;"*"===property.hack&&reporter.report("Property with star prefix found.",event.property.line,event.property.col,rule)})}}),CSSLint.addRule({id:"text-indent",name:"Disallow negative text-indent",desc:"Checks for text indent less than -99px",browsers:"All",init:function(parser,reporter){function startRule(){textIndent=!1,direction="inherit"}function endRule(){textIndent&&"ltr"!==direction&&reporter.report("Negative text-indent doesn\'t work well with RTL. If you use text-indent for image replacement explicitly set direction for that item to ltr.",textIndent.line,textIndent.col,rule)}var textIndent,direction,rule=this;parser.addListener("startrule",startRule),parser.addListener("startfontface",startRule),parser.addListener("property",function(event){var name=(""+event.property).toLowerCase(),value=event.value;"text-indent"===name&&-99>value.parts[0].value?textIndent=event.property:"direction"===name&&"ltr"==""+value&&(direction="ltr")}),parser.addListener("endrule",endRule),parser.addListener("endfontface",endRule)}}),CSSLint.addRule({id:"underscore-property-hack",name:"Disallow properties with an underscore prefix",desc:"Checks for the underscore property hack (targets IE6)",browsers:"All",init:function(parser,reporter){var rule=this;parser.addListener("property",function(event){var property=event.property;"_"===property.hack&&reporter.report("Property with underscore prefix found.",event.property.line,event.property.col,rule)})}}),CSSLint.addRule({id:"unique-headings",name:"Headings should only be defined once",desc:"Headings should be defined only once.",browsers:"All",init:function(parser,reporter){var rule=this,headings={h1:0,h2:0,h3:0,h4:0,h5:0,h6:0};parser.addListener("startrule",function(event){var selector,part,pseudo,i,j,selectors=event.selectors;for(i=0;selectors.length>i;i++)if(selector=selectors[i],part=selector.parts[selector.parts.length-1],part.elementName&&/(h[1-6])/i.test(""+part.elementName)){for(j=0;part.modifiers.length>j;j++)if("pseudo"===part.modifiers[j].type){pseudo=!0;break}pseudo||(headings[RegExp.$1]++,headings[RegExp.$1]>1&&reporter.report("Heading ("+part.elementName+") has already been defined.",part.line,part.col,rule))}}),parser.addListener("endstylesheet",function(){var prop,messages=[];for(prop in headings)headings.hasOwnProperty(prop)&&headings[prop]>1&&messages.push(headings[prop]+" "+prop+"s");messages.length&&reporter.rollupWarn("You have "+messages.join(", ")+" defined in this stylesheet.",rule)})}}),CSSLint.addRule({id:"universal-selector",name:"Disallow universal selector",desc:"The universal selector (*) is known to be slow.",browsers:"All",init:function(parser,reporter){var rule=this;parser.addListener("startrule",function(event){var selector,part,i,selectors=event.selectors;for(i=0;selectors.length>i;i++)selector=selectors[i],part=selector.parts[selector.parts.length-1],"*"===part.elementName&&reporter.report(rule.desc,part.line,part.col,rule)})}}),CSSLint.addRule({id:"unqualified-attributes",name:"Disallow unqualified attribute selectors",desc:"Unqualified attribute selectors are known to be slow.",browsers:"All",init:function(parser,reporter){var rule=this;parser.addListener("startrule",function(event){var selector,part,modifier,i,k,selectors=event.selectors;for(i=0;selectors.length>i;i++)if(selector=selectors[i],part=selector.parts[selector.parts.length-1],part.type===parser.SELECTOR_PART_TYPE)for(k=0;part.modifiers.length>k;k++)modifier=part.modifiers[k],"attribute"!==modifier.type||part.elementName&&"*"!==part.elementName||reporter.report(rule.desc,part.line,part.col,rule)})}}),CSSLint.addRule({id:"vendor-prefix",name:"Require standard property with vendor prefix",desc:"When using a vendor-prefixed property, make sure to include the standard one.",browsers:"All",init:function(parser,reporter){function startRule(){properties={},num=1}function endRule(){var prop,i,len,needed,actual,needsStandard=[];for(prop in properties)propertiesToCheck[prop]&&needsStandard.push({actual:prop,needed:propertiesToCheck[prop]});for(i=0,len=needsStandard.length;len>i;i++)needed=needsStandard[i].needed,actual=needsStandard[i].actual,properties[needed]?properties[needed][0].pos<properties[actual][0].pos&&reporter.report("Standard property \'"+needed+"\' should come after vendor-prefixed property \'"+actual+"\'.",properties[actual][0].name.line,properties[actual][0].name.col,rule):reporter.report("Missing standard property \'"+needed+"\' to go along with \'"+actual+"\'.",properties[actual][0].name.line,properties[actual][0].name.col,rule)}var properties,num,rule=this,propertiesToCheck={"-webkit-border-radius":"border-radius","-webkit-border-top-left-radius":"border-top-left-radius","-webkit-border-top-right-radius":"border-top-right-radius","-webkit-border-bottom-left-radius":"border-bottom-left-radius","-webkit-border-bottom-right-radius":"border-bottom-right-radius","-o-border-radius":"border-radius","-o-border-top-left-radius":"border-top-left-radius","-o-border-top-right-radius":"border-top-right-radius","-o-border-bottom-left-radius":"border-bottom-left-radius","-o-border-bottom-right-radius":"border-bottom-right-radius","-moz-border-radius":"border-radius","-moz-border-radius-topleft":"border-top-left-radius","-moz-border-radius-topright":"border-top-right-radius","-moz-border-radius-bottomleft":"border-bottom-left-radius","-moz-border-radius-bottomright":"border-bottom-right-radius","-moz-column-count":"column-count","-webkit-column-count":"column-count","-moz-column-gap":"column-gap","-webkit-column-gap":"column-gap","-moz-column-rule":"column-rule","-webkit-column-rule":"column-rule","-moz-column-rule-style":"column-rule-style","-webkit-column-rule-style":"column-rule-style","-moz-column-rule-color":"column-rule-color","-webkit-column-rule-color":"column-rule-color","-moz-column-rule-width":"column-rule-width","-webkit-column-rule-width":"column-rule-width","-moz-column-width":"column-width","-webkit-column-width":"column-width","-webkit-column-span":"column-span","-webkit-columns":"columns","-moz-box-shadow":"box-shadow","-webkit-box-shadow":"box-shadow","-moz-transform":"transform","-webkit-transform":"transform","-o-transform":"transform","-ms-transform":"transform","-moz-transform-origin":"transform-origin","-webkit-transform-origin":"transform-origin","-o-transform-origin":"transform-origin","-ms-transform-origin":"transform-origin","-moz-box-sizing":"box-sizing","-webkit-box-sizing":"box-sizing"};parser.addListener("startrule",startRule),parser.addListener("startfontface",startRule),parser.addListener("startpage",startRule),parser.addListener("startpagemargin",startRule),parser.addListener("startkeyframerule",startRule),parser.addListener("property",function(event){var name=event.property.text.toLowerCase();properties[name]||(properties[name]=[]),properties[name].push({name:event.property,value:event.value,pos:num++})}),parser.addListener("endrule",endRule),parser.addListener("endfontface",endRule),parser.addListener("endpage",endRule),parser.addListener("endpagemargin",endRule),parser.addListener("endkeyframerule",endRule)}}),CSSLint.addRule({id:"zero-units",name:"Disallow units for 0 values",desc:"You don\'t need to specify units when a value is 0.",browsers:"All",init:function(parser,reporter){var rule=this;parser.addListener("property",function(event){for(var parts=event.value.parts,i=0,len=parts.length;len>i;)!parts[i].units&&"percentage"!==parts[i].type||0!==parts[i].value||"time"===parts[i].type||reporter.report("Values of 0 shouldn\'t have units specified.",parts[i].line,parts[i].col,rule),i++})}}),function(){var xmlEscape=function(str){return str&&str.constructor===String?str.replace(/[\\"&><]/g,function(match){switch(match){case\'"\':return"&quot;";case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;"}}):""};CSSLint.addFormatter({id:"checkstyle-xml",name:"Checkstyle XML format",startFormat:function(){return\'<?xml version="1.0" encoding="utf-8"?><checkstyle>\'},endFormat:function(){return"</checkstyle>"},readError:function(filename,message){return\'<file name="\'+xmlEscape(filename)+\'"><error line="0" column="0" severty="error" message="\'+xmlEscape(message)+\'"></error></file>\'},formatResults:function(results,filename){var messages=results.messages,output=[],generateSource=function(rule){return rule&&"name"in rule?"net.csslint."+rule.name.replace(/\\s/g,""):""};return messages.length>0&&(output.push(\'<file name="\'+filename+\'">\'),CSSLint.Util.forEach(messages,function(message){message.rollup||output.push(\'<error line="\'+message.line+\'" column="\'+message.col+\'" severity="\'+message.type+\'"\'+\' message="\'+xmlEscape(message.message)+\'" source="\'+generateSource(message.rule)+\'"/>\')}),output.push("</file>")),output.join("")}})}(),CSSLint.addFormatter({id:"compact",name:"Compact, \'porcelain\' format",startFormat:function(){return""},endFormat:function(){return""},formatResults:function(results,filename,options){var messages=results.messages,output="";options=options||{};var capitalize=function(str){return str.charAt(0).toUpperCase()+str.slice(1)};return 0===messages.length?options.quiet?"":filename+": Lint Free!":(CSSLint.Util.forEach(messages,function(message){output+=message.rollup?filename+": "+capitalize(message.type)+" - "+message.message+"\\n":filename+": "+"line "+message.line+", col "+message.col+", "+capitalize(message.type)+" - "+message.message+" ("+message.rule.id+")\\n"}),output)}}),CSSLint.addFormatter({id:"csslint-xml",name:"CSSLint XML format",startFormat:function(){return\'<?xml version="1.0" encoding="utf-8"?><csslint>\'},endFormat:function(){return"</csslint>"},formatResults:function(results,filename){var messages=results.messages,output=[],escapeSpecialCharacters=function(str){return str&&str.constructor===String?str.replace(/\\"/g,"\'").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):""};return messages.length>0&&(output.push(\'<file name="\'+filename+\'">\'),CSSLint.Util.forEach(messages,function(message){message.rollup?output.push(\'<issue severity="\'+message.type+\'" reason="\'+escapeSpecialCharacters(message.message)+\'" evidence="\'+escapeSpecialCharacters(message.evidence)+\'"/>\'):output.push(\'<issue line="\'+message.line+\'" char="\'+message.col+\'" severity="\'+message.type+\'"\'+\' reason="\'+escapeSpecialCharacters(message.message)+\'" evidence="\'+escapeSpecialCharacters(message.evidence)+\'"/>\')}),output.push("</file>")),output.join("")}}),CSSLint.addFormatter({id:"junit-xml",name:"JUNIT XML format",startFormat:function(){return\'<?xml version="1.0" encoding="utf-8"?><testsuites>\'},endFormat:function(){return"</testsuites>"},formatResults:function(results,filename){var messages=results.messages,output=[],tests={error:0,failure:0},generateSource=function(rule){return rule&&"name"in rule?"net.csslint."+rule.name.replace(/\\s/g,""):""},escapeSpecialCharacters=function(str){return str&&str.constructor===String?str.replace(/\\"/g,"\'").replace(/</g,"&lt;").replace(/>/g,"&gt;"):""};return messages.length>0&&(messages.forEach(function(message){var type="warning"===message.type?"error":message.type;message.rollup||(output.push(\'<testcase time="0" name="\'+generateSource(message.rule)+\'">\'),output.push("<"+type+\' message="\'+escapeSpecialCharacters(message.message)+\'"><![CDATA[\'+message.line+":"+message.col+":"+escapeSpecialCharacters(message.evidence)+"]]></"+type+">"),output.push("</testcase>"),tests[type]+=1)}),output.unshift(\'<testsuite time="0" tests="\'+messages.length+\'" skipped="0" errors="\'+tests.error+\'" failures="\'+tests.failure+\'" package="net.csslint" name="\'+filename+\'">\'),output.push("</testsuite>")),output.join("")}}),CSSLint.addFormatter({id:"lint-xml",name:"Lint XML format",startFormat:function(){return\'<?xml version="1.0" encoding="utf-8"?><lint>\'},endFormat:function(){return"</lint>"},formatResults:function(results,filename){var messages=results.messages,output=[],escapeSpecialCharacters=function(str){return str&&str.constructor===String?str.replace(/\\"/g,"\'").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):""};return messages.length>0&&(output.push(\'<file name="\'+filename+\'">\'),CSSLint.Util.forEach(messages,function(message){message.rollup?output.push(\'<issue severity="\'+message.type+\'" reason="\'+escapeSpecialCharacters(message.message)+\'" evidence="\'+escapeSpecialCharacters(message.evidence)+\'"/>\'):output.push(\'<issue line="\'+message.line+\'" char="\'+message.col+\'" severity="\'+message.type+\'"\'+\' reason="\'+escapeSpecialCharacters(message.message)+\'" evidence="\'+escapeSpecialCharacters(message.evidence)+\'"/>\')}),output.push("</file>")),output.join("")}}),CSSLint.addFormatter({id:"text",name:"Plain Text",startFormat:function(){return""},endFormat:function(){return""},formatResults:function(results,filename,options){var messages=results.messages,output="";if(options=options||{},0===messages.length)return options.quiet?"":"\\n\\ncsslint: No errors in "+filename+".";output="\\n\\ncsslint: There ",output+=1===messages.length?"is 1 problem":"are "+messages.length+" problems",output+=" in "+filename+".";var pos=filename.lastIndexOf("/"),shortFilename=filename;return-1===pos&&(pos=filename.lastIndexOf("\\\\")),pos>-1&&(shortFilename=filename.substring(pos+1)),CSSLint.Util.forEach(messages,function(message,i){output=output+"\\n\\n"+shortFilename,message.rollup?(output+="\\n"+(i+1)+": "+message.type,output+="\\n"+message.message):(output+="\\n"+(i+1)+": "+message.type+" at line "+message.line+", col "+message.col,output+="\\n"+message.message,output+="\\n"+message.evidence)}),output}}),module.exports.CSSLint=CSSLint}),ace.define("ace/mode/css_worker",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/worker/mirror","ace/mode/css/csslint"],function(acequire,exports){"use strict";var oop=acequire("../lib/oop"),lang=acequire("../lib/lang"),Mirror=acequire("../worker/mirror").Mirror,CSSLint=acequire("./css/csslint").CSSLint,Worker=exports.Worker=function(sender){Mirror.call(this,sender),this.setTimeout(400),this.ruleset=null,this.setDisabledRules("ids|order-alphabetical"),this.setInfoRules("adjoining-classes|qualified-headings|zero-units|gradients|import|outline-none|vendor-prefix")};oop.inherits(Worker,Mirror),function(){this.setInfoRules=function(ruleNames){"string"==typeof ruleNames&&(ruleNames=ruleNames.split("|")),this.infoRules=lang.arrayToMap(ruleNames),this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.setDisabledRules=function(ruleNames){if(ruleNames){"string"==typeof ruleNames&&(ruleNames=ruleNames.split("|"));\nvar all={};CSSLint.getRules().forEach(function(x){all[x.id]=!0}),ruleNames.forEach(function(x){delete all[x]}),this.ruleset=all}else this.ruleset=null;this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.onUpdate=function(){var value=this.doc.getValue();if(!value)return this.sender.emit("annotate",[]);var infoRules=this.infoRules,result=CSSLint.verify(value,this.ruleset);this.sender.emit("annotate",result.messages.map(function(msg){return{row:msg.line-1,column:msg.col-1,text:msg.message,type:infoRules[msg.rule.id]?"info":msg.type,rule:msg.rule.name}}))}}.call(Worker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != \'object\'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws="\t\\n\v\\f\\r   ᠎             　\\u2028\\u2029\ufeff";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can\'t convert "+o+" to object");return Object(o)}});'},function(module,exports){module.exports.id="ace/mode/html_worker";module.exports.src='"no use strict";!function(window){function resolveModuleId(id,paths){for(var testPath=id,tail="";testPath;){var alias=paths[testPath];if("string"==typeof alias)return alias+tail;if(alias)return alias.location.replace(/\\/*$/,"/")+(tail||alias.main||alias.name);if(alias===!1)return"";var i=testPath.lastIndexOf("/");if(-1===i)break;tail=testPath.substr(i)+tail,testPath=testPath.slice(0,i)}return id}if(!(void 0!==window.window&&window.document||window.acequire&&window.define)){window.console||(window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console),window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:"error",data:{message:message,data:err.data,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf("!")){var chunks=moduleName.split("!");return window.normalizeModule(parentId,chunks[0])+"!"+window.normalizeModule(parentId,chunks[1])}if("."==moduleName.charAt(0)){var base=parentId.split("/").slice(0,-1).join("/");for(moduleName=(base?base+"/":"")+moduleName;-1!==moduleName.indexOf(".")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,"").replace(/\\/\\.\\//,"/").replace(/[^\\/]+\\/\\.\\.\\//,"")}}return moduleName},window.acequire=function acequire(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error("worker.js acequire() accepts only (parentId, id) as arguments");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;if(!window.acequire.tlns)return console.log("unable to load "+id);var path=resolveModuleId(id,window.acequire.tlns);return".js"!=path.slice(-3)&&(path+=".js"),window.acequire.id=id,window.acequire.modules[id]={},importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,"string"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),"function"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=["require","exports","module"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case"require":return req;case"exports":return module.exports;case"module":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},acequire.tlns={},window.initBaseUrls=function(topLevelNamespaces){for(var i in topLevelNamespaces)acequire.tlns[i]=topLevelNamespaces[i]},window.initSender=function(){var EventEmitter=window.acequire("ace/lib/event_emitter").EventEmitter,oop=window.acequire("ace/lib/oop"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:"call",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:"event",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.event&&sender)sender._signal(msg.event,msg.data);else if(msg.command)if(main[msg.command])main[msg.command].apply(main,msg.args);else{if(!window[msg.command])throw Error("Unknown command:"+msg.command);window[msg.command].apply(window,msg.args)}else if(msg.init){window.initBaseUrls(msg.tlns),acequire("ace/lib/es5-shim"),sender=window.sender=window.initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}}}}(this),ace.define("ace/lib/oop",["require","exports","module"],function(acequire,exports){"use strict";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if("object"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}if("[object Object]"!==Object.prototype.toString.call(obj))return obj;copy={};for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/\'/g,"&#39;").replace(/</g,"&#60;")},exports.getMatchOffsets=function(string,regExp){var matches=[];return string.replace(regExp,function(str){matches.push({offset:arguments[arguments.length-2],length:str.length})}),matches},exports.deferredCall=function(fcn){var timer=null,callback=function(){timer=null,fcn()},deferred=function(timeout){return deferred.cancel(),timer=setTimeout(callback,timeout||0),deferred};return deferred.schedule=deferred,deferred.call=function(){return this.cancel(),fcn(),deferred},deferred.cancel=function(){return clearTimeout(timer),timer=null,deferred},deferred.isPending=function(){return timer},deferred},exports.delayedCall=function(fcn,defaultTimeout){var timer=null,callback=function(){timer=null,fcn()},_self=function(timeout){null==timer&&(timer=setTimeout(callback,timeout||defaultTimeout))};return _self.delay=function(timeout){timer&&clearTimeout(timer),timer=setTimeout(callback,timeout||defaultTimeout)},_self.schedule=_self,_self.call=function(){this.cancel(),fcn()},_self.cancel=function(){timer&&clearTimeout(timer),timer=null},_self.isPending=function(){return timer},_self}}),ace.define("ace/range",["require","exports","module"],function(acequire,exports){"use strict";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/apply_delta",["require","exports","module"],function(acequire,exports){"use strict";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||"";switch(delta.action){case"insert":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case"remove":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.column<point2.column;return point1.row<point2.row||point1.row==point2.row&&bColIsAfter}function $getTransformedPoint(delta,point,moveIfEqual){var deltaIsInsert="insert"==delta.action,deltaRowShift=(deltaIsInsert?1:-1)*(delta.end.row-delta.start.row),deltaColShift=(deltaIsInsert?1:-1)*(delta.end.column-delta.start.column),deltaStart=delta.start,deltaEnd=deltaIsInsert?deltaStart:delta.end;return $pointsInOrder(point,deltaStart,moveIfEqual)?{row:point.row,column:point.column}:$pointsInOrder(deltaEnd,point,!moveIfEqual)?{row:point.row+deltaRowShift,column:point.column+(point.row==deltaEnd.row?deltaColShift:0)}:{row:deltaStart.row,column:deltaStart.column}}oop.implement(this,EventEmitter),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(delta){if(!(delta.start.row==delta.end.row&&delta.start.row!=this.row||delta.start.row>this.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),applyDelta=acequire("./apply_delta").applyDelta,EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(textOrLines){this.$lines=[""],0===textOrLines.length?this.$lines=[""]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:"\\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\\r\\n";case"unix":return"\\n";default:return this.$autoNewLine||"\\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, [\'\', \'\']) instead."),this.insertMergedLines(position,["",""])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:"insert",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([""]),column=0):(lines=[""].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:"insert",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:"remove",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:"remove",lines:["",""]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert="insert"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal("change",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(""),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:"insert"==delta.action?"remove":"insert",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/worker/mirror",["require","exports","module","ace/range","ace/document","ace/lib/lang"],function(acequire,exports){"use strict";acequire("../range").Range;var Document=acequire("../document").Document,lang=acequire("../lib/lang"),Mirror=exports.Mirror=function(sender){this.sender=sender;var doc=this.doc=new Document(""),deferredUpdate=this.deferredUpdate=lang.delayedCall(this.onUpdate.bind(this)),_self=this;sender.on("change",function(e){var data=e.data;if(data[0].start)doc.applyDeltas(data);else for(var i=0;data.length>i;i+=2){if(Array.isArray(data[i+1]))var d={action:"insert",start:data[i],lines:data[i+1]};else var d={action:"remove",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define("ace/mode/html/saxparser",["require","exports","module"],function(acequire,exports,module){module.exports=function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof acequire&&acequire;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw Error("Cannot find module \'"+o+"\'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof acequire&&acequire,o=0;r.length>o;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){function isScopeMarker(node){return"http://www.w3.org/1999/xhtml"===node.namespaceURI?"applet"===node.localName||"caption"===node.localName||"marquee"===node.localName||"object"===node.localName||"table"===node.localName||"td"===node.localName||"th"===node.localName:"http://www.w3.org/1998/Math/MathML"===node.namespaceURI?"mi"===node.localName||"mo"===node.localName||"mn"===node.localName||"ms"===node.localName||"mtext"===node.localName||"annotation-xml"===node.localName:"http://www.w3.org/2000/svg"===node.namespaceURI?"foreignObject"===node.localName||"desc"===node.localName||"title"===node.localName:void 0}function isListItemScopeMarker(node){return isScopeMarker(node)||"http://www.w3.org/1999/xhtml"===node.namespaceURI&&"ol"===node.localName||"http://www.w3.org/1999/xhtml"===node.namespaceURI&&"ul"===node.localName}function isTableScopeMarker(node){return"http://www.w3.org/1999/xhtml"===node.namespaceURI&&"table"===node.localName||"http://www.w3.org/1999/xhtml"===node.namespaceURI&&"html"===node.localName}function isTableBodyScopeMarker(node){return"http://www.w3.org/1999/xhtml"===node.namespaceURI&&"tbody"===node.localName||"http://www.w3.org/1999/xhtml"===node.namespaceURI&&"tfoot"===node.localName||"http://www.w3.org/1999/xhtml"===node.namespaceURI&&"thead"===node.localName||"http://www.w3.org/1999/xhtml"===node.namespaceURI&&"html"===node.localName}function isTableRowScopeMarker(node){return"http://www.w3.org/1999/xhtml"===node.namespaceURI&&"tr"===node.localName||"http://www.w3.org/1999/xhtml"===node.namespaceURI&&"html"===node.localName}function isButtonScopeMarker(node){return isScopeMarker(node)||"http://www.w3.org/1999/xhtml"===node.namespaceURI&&"button"===node.localName}function isSelectScopeMarker(node){return!("http://www.w3.org/1999/xhtml"===node.namespaceURI&&"optgroup"===node.localName||"http://www.w3.org/1999/xhtml"===node.namespaceURI&&"option"===node.localName)}function ElementStack(){this.elements=[],this.rootNode=null,this.headElement=null,this.bodyElement=null}ElementStack.prototype._inScope=function(localName,isMarker){for(var i=this.elements.length-1;i>=0;i--){var node=this.elements[i];if(node.localName===localName)return!0;if(isMarker(node))return!1}},ElementStack.prototype.push=function(item){this.elements.push(item)},ElementStack.prototype.pushHtmlElement=function(item){this.rootNode=item.node,this.push(item)},ElementStack.prototype.pushHeadElement=function(item){this.headElement=item.node,this.push(item)},ElementStack.prototype.pushBodyElement=function(item){this.bodyElement=item.node,this.push(item)},ElementStack.prototype.pop=function(){return this.elements.pop()},ElementStack.prototype.remove=function(item){this.elements.splice(this.elements.indexOf(item),1)},ElementStack.prototype.popUntilPopped=function(localName){var element;do element=this.pop();while(element.localName!=localName)},ElementStack.prototype.popUntilTableScopeMarker=function(){for(;!isTableScopeMarker(this.top);)this.pop()},ElementStack.prototype.popUntilTableBodyScopeMarker=function(){for(;!isTableBodyScopeMarker(this.top);)this.pop()},ElementStack.prototype.popUntilTableRowScopeMarker=function(){for(;!isTableRowScopeMarker(this.top);)this.pop()},ElementStack.prototype.item=function(index){return this.elements[index]},ElementStack.prototype.contains=function(element){return-1!==this.elements.indexOf(element)},ElementStack.prototype.inScope=function(localName){return this._inScope(localName,isScopeMarker)},ElementStack.prototype.inListItemScope=function(localName){return this._inScope(localName,isListItemScopeMarker)},ElementStack.prototype.inTableScope=function(localName){return this._inScope(localName,isTableScopeMarker)},ElementStack.prototype.inButtonScope=function(localName){return this._inScope(localName,isButtonScopeMarker)},ElementStack.prototype.inSelectScope=function(localName){return this._inScope(localName,isSelectScopeMarker)},ElementStack.prototype.hasNumberedHeaderElementInScope=function(){for(var i=this.elements.length-1;i>=0;i--){var node=this.elements[i];if(node.isNumberedHeader())return!0;if(isScopeMarker(node))return!1}},ElementStack.prototype.furthestBlockForFormattingElement=function(element){for(var furthestBlock=null,i=this.elements.length-1;i>=0;i--){var node=this.elements[i];\nif(node.node===element)break;node.isSpecial()&&(furthestBlock=node)}return furthestBlock},ElementStack.prototype.findIndex=function(localName){for(var i=this.elements.length-1;i>=0;i--)if(this.elements[i].localName==localName)return i;return-1},ElementStack.prototype.remove_openElements_until=function(callback){for(var element,finished=!1;!finished;)element=this.elements.pop(),finished=callback(element);return element},Object.defineProperty(ElementStack.prototype,"top",{get:function(){return this.elements[this.elements.length-1]}}),Object.defineProperty(ElementStack.prototype,"length",{get:function(){return this.elements.length}}),exports.ElementStack=ElementStack},{}],2:[function(_dereq_,module,exports){function isAlphaNumeric(c){return c>="0"&&"9">=c||c>="a"&&"z">=c||c>="A"&&"Z">=c}function isHexDigit(c){return c>="0"&&"9">=c||c>="a"&&"f">=c||c>="A"&&"F">=c}function isDecimalDigit(c){return c>="0"&&"9">=c}var entities=_dereq_("html5-entities"),InputStream=_dereq_("./InputStream").InputStream,namedEntityPrefixes={};Object.keys(entities).forEach(function(entityKey){for(var i=0;entityKey.length>i;i++)namedEntityPrefixes[entityKey.substring(0,i+1)]=!0});var EntityParser={};EntityParser.consumeEntity=function(buffer,tokenizer,additionalAllowedCharacter){var decodedCharacter="",consumedCharacters="",ch=buffer.char();if(ch===InputStream.EOF)return!1;if(consumedCharacters+=ch,"\t"==ch||"\\n"==ch||"\v"==ch||" "==ch||"<"==ch||"&"==ch)return buffer.unget(consumedCharacters),!1;if(additionalAllowedCharacter===ch)return buffer.unget(consumedCharacters),!1;if("#"==ch){if(ch=buffer.shift(1),ch===InputStream.EOF)return tokenizer._parseError("expected-numeric-entity-but-got-eof"),buffer.unget(consumedCharacters),!1;consumedCharacters+=ch;var radix=10,isDigit=isDecimalDigit;if("x"==ch||"X"==ch){if(radix=16,isDigit=isHexDigit,ch=buffer.shift(1),ch===InputStream.EOF)return tokenizer._parseError("expected-numeric-entity-but-got-eof"),buffer.unget(consumedCharacters),!1;consumedCharacters+=ch}if(isDigit(ch)){for(var code="";ch!==InputStream.EOF&&isDigit(ch);)code+=ch,ch=buffer.char();code=parseInt(code,radix);var replacement=this.replaceEntityNumbers(code);if(replacement&&(tokenizer._parseError("invalid-numeric-entity-replaced"),code=replacement),code>65535&&1114111>=code){code-=65536;var first=((1047552&code)>>10)+55296,second=(1023&code)+56320;decodedCharacter=String.fromCharCode(first,second)}else decodedCharacter=String.fromCharCode(code);return";"!==ch&&(tokenizer._parseError("numeric-entity-without-semicolon"),buffer.unget(ch)),decodedCharacter}return buffer.unget(consumedCharacters),tokenizer._parseError("expected-numeric-entity"),!1}if(ch>="a"&&"z">=ch||ch>="A"&&"Z">=ch){for(var mostRecentMatch="";namedEntityPrefixes[consumedCharacters]&&(entities[consumedCharacters]&&(mostRecentMatch=consumedCharacters),";"!=ch)&&(ch=buffer.char(),ch!==InputStream.EOF);)consumedCharacters+=ch;return mostRecentMatch?(decodedCharacter=entities[mostRecentMatch],";"===ch||!additionalAllowedCharacter||!isAlphaNumeric(ch)&&"="!==ch?(consumedCharacters.length>mostRecentMatch.length&&buffer.unget(consumedCharacters.substring(mostRecentMatch.length)),";"!==ch&&tokenizer._parseError("named-entity-without-semicolon"),decodedCharacter):(buffer.unget(consumedCharacters),!1)):(tokenizer._parseError("expected-named-entity"),buffer.unget(consumedCharacters),!1)}},EntityParser.replaceEntityNumbers=function(c){switch(c){case 0:return 65533;case 19:return 16;case 128:return 8364;case 129:return 129;case 130:return 8218;case 131:return 402;case 132:return 8222;case 133:return 8230;case 134:return 8224;case 135:return 8225;case 136:return 710;case 137:return 8240;case 138:return 352;case 139:return 8249;case 140:return 338;case 141:return 141;case 142:return 381;case 143:return 143;case 144:return 144;case 145:return 8216;case 146:return 8217;case 147:return 8220;case 148:return 8221;case 149:return 8226;case 150:return 8211;case 151:return 8212;case 152:return 732;case 153:return 8482;case 154:return 353;case 155:return 8250;case 156:return 339;case 157:return 157;case 158:return 382;case 159:return 376;default:if(c>=55296&&57343>=c||c>1114111)return 65533;if(c>=1&&8>=c||c>=14&&31>=c||c>=127&&159>=c||c>=64976&&65007>=c||11==c||65534==c||131070==c||3145726==c||196607==c||262142==c||262143==c||327678==c||327679==c||393214==c||393215==c||458750==c||458751==c||524286==c||524287==c||589822==c||589823==c||655358==c||655359==c||720894==c||720895==c||786430==c||786431==c||851966==c||851967==c||917502==c||917503==c||983038==c||983039==c||1048574==c||1048575==c||1114110==c||1114111==c)return c}},exports.EntityParser=EntityParser},{"./InputStream":3,"html5-entities":12}],3:[function(_dereq_,module,exports){function InputStream(){this.data="",this.start=0,this.committed=0,this.eof=!1,this.lastLocation={line:0,column:0}}InputStream.EOF=-1,InputStream.DRAIN=-2,InputStream.prototype={slice:function(){if(this.start>=this.data.length){if(!this.eof)throw InputStream.DRAIN;return InputStream.EOF}return this.data.slice(this.start,this.data.length)},"char":function(){if(!this.eof&&this.start>=this.data.length-1)throw InputStream.DRAIN;if(this.start>=this.data.length)return InputStream.EOF;var ch=this.data[this.start++];return"\\r"===ch&&(ch="\\n"),ch},advance:function(amount){if(this.start+=amount,this.start>=this.data.length){if(!this.eof)throw InputStream.DRAIN;return InputStream.EOF}this.committed>this.data.length/2&&(this.lastLocation=this.location(),this.data=this.data.slice(this.committed),this.start=this.start-this.committed,this.committed=0)},matchWhile:function(re){if(this.eof&&this.start>=this.data.length)return"";var r=RegExp("^"+re+"+"),m=r.exec(this.slice());if(m){if(!this.eof&&m[0].length==this.data.length-this.start)throw InputStream.DRAIN;return this.advance(m[0].length),m[0]}return""},matchUntil:function(re){var m,s;if(s=this.slice(),s===InputStream.EOF)return"";if(m=RegExp(re+(this.eof?"|$":"")).exec(s)){var t=this.data.slice(this.start,this.start+m.index);return this.advance(m.index),t.replace(/\\r/g,"\\n").replace(/\\n{2,}/g,"\\n")}throw InputStream.DRAIN},append:function(data){this.data+=data},shift:function(n){if(!this.eof&&this.start+n>=this.data.length)throw InputStream.DRAIN;if(this.eof&&this.start>=this.data.length)return InputStream.EOF;var d=""+this.data.slice(this.start,this.start+n);return this.advance(Math.min(n,this.data.length-this.start)),d},peek:function(n){if(!this.eof&&this.start+n>=this.data.length)throw InputStream.DRAIN;return this.eof&&this.start>=this.data.length?InputStream.EOF:""+this.data.slice(this.start,Math.min(this.start+n,this.data.length))},length:function(){return this.data.length-this.start-1},unget:function(d){d!==InputStream.EOF&&(this.start-=d.length)},undo:function(){this.start=this.committed},commit:function(){this.committed=this.start},location:function(){var lastLine=this.lastLocation.line,lastColumn=this.lastLocation.column,read=this.data.slice(0,this.committed),newlines=read.match(/\\n/g),line=newlines?lastLine+newlines.length:lastLine,column=newlines?read.length-read.lastIndexOf("\\n")-1:lastColumn+read.length;return{line:line,column:column}}},exports.InputStream=InputStream},{}],4:[function(_dereq_,module,exports){function StackItem(namespaceURI,localName,attributes,node){this.localName=localName,this.namespaceURI=namespaceURI,this.attributes=attributes,this.node=node}function getAttribute(item,name){for(var i=0;item.attributes.length>i;i++)if(item.attributes[i].nodeName==name)return item.attributes[i].nodeValue;return null}var SpecialElements={"http://www.w3.org/1999/xhtml":["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],"http://www.w3.org/1998/Math/MathML":["mi","mo","mn","ms","mtext","annotation-xml"],"http://www.w3.org/2000/svg":["foreignObject","desc","title"]};StackItem.prototype.isSpecial=function(){return this.namespaceURI in SpecialElements&&SpecialElements[this.namespaceURI].indexOf(this.localName)>-1},StackItem.prototype.isFosterParenting=function(){return"http://www.w3.org/1999/xhtml"===this.namespaceURI?"table"===this.localName||"tbody"===this.localName||"tfoot"===this.localName||"thead"===this.localName||"tr"===this.localName:!1},StackItem.prototype.isNumberedHeader=function(){return"http://www.w3.org/1999/xhtml"===this.namespaceURI?"h1"===this.localName||"h2"===this.localName||"h3"===this.localName||"h4"===this.localName||"h5"===this.localName||"h6"===this.localName:!1},StackItem.prototype.isForeign=function(){return"http://www.w3.org/1999/xhtml"!=this.namespaceURI},StackItem.prototype.isHtmlIntegrationPoint=function(){if("http://www.w3.org/1998/Math/MathML"===this.namespaceURI){if("annotation-xml"!==this.localName)return!1;var encoding=getAttribute(this,"encoding");return encoding?(encoding=encoding.toLowerCase(),"text/html"===encoding||"application/xhtml+xml"===encoding):!1}return"http://www.w3.org/2000/svg"===this.namespaceURI?"foreignObject"===this.localName||"desc"===this.localName||"title"===this.localName:!1},StackItem.prototype.isMathMLTextIntegrationPoint=function(){return"http://www.w3.org/1998/Math/MathML"===this.namespaceURI?"mi"===this.localName||"mo"===this.localName||"mn"===this.localName||"ms"===this.localName||"mtext"===this.localName:!1},exports.StackItem=StackItem},{}],5:[function(_dereq_,module,exports){function isWhitespace(c){return" "===c||"\\n"===c||"\t"===c||"\\r"===c||"\\f"===c}function isAlpha(c){return c>="A"&&"Z">=c||c>="a"&&"z">=c}function Tokenizer(tokenHandler){this._tokenHandler=tokenHandler,this._state=Tokenizer.DATA,this._inputStream=new InputStream,this._currentToken=null,this._temporaryBuffer="",this._additionalAllowedCharacter=""}var InputStream=_dereq_("./InputStream").InputStream,EntityParser=_dereq_("./EntityParser").EntityParser;Tokenizer.prototype._parseError=function(code,args){this._tokenHandler.parseError(code,args)},Tokenizer.prototype._emitToken=function(token){if("StartTag"===token.type)for(var i=1;token.data.length>i;i++)token.data[i].nodeName||token.data.splice(i--,1);else"EndTag"===token.type&&(token.selfClosing&&this._parseError("self-closing-flag-on-end-tag"),0!==token.data.length&&this._parseError("attributes-in-end-tag"));this._tokenHandler.processToken(token),"StartTag"===token.type&&token.selfClosing&&!this._tokenHandler.isSelfClosingFlagAcknowledged()&&this._parseError("non-void-element-with-trailing-solidus",{name:token.name})},Tokenizer.prototype._emitCurrentToken=function(){this._state=Tokenizer.DATA,this._emitToken(this._currentToken)},Tokenizer.prototype._currentAttribute=function(){return this._currentToken.data[this._currentToken.data.length-1]},Tokenizer.prototype.setState=function(state){this._state=state},Tokenizer.prototype.tokenize=function(source){function data_state(buffer){var data=buffer.char();if(data===InputStream.EOF)return tokenizer._emitToken({type:"EOF",data:null}),!1;if("&"===data)tokenizer.setState(character_reference_in_data_state);else if("<"===data)tokenizer.setState(tag_open_state);else if("\\0"===data)tokenizer._emitToken({type:"Characters",data:data}),buffer.commit();else{var chars=buffer.matchUntil("&|<|\\0");tokenizer._emitToken({type:"Characters",data:data+chars}),buffer.commit()}return!0}function character_reference_in_data_state(buffer){var character=EntityParser.consumeEntity(buffer,tokenizer);return tokenizer.setState(data_state),tokenizer._emitToken({type:"Characters",data:character||"&"}),!0}function rcdata_state(buffer){var data=buffer.char();if(data===InputStream.EOF)return tokenizer._emitToken({type:"EOF",data:null}),!1;if("&"===data)tokenizer.setState(character_reference_in_rcdata_state);else if("<"===data)tokenizer.setState(rcdata_less_than_sign_state);else if("\\0"===data)tokenizer._parseError("invalid-codepoint"),tokenizer._emitToken({type:"Characters",data:"�"}),buffer.commit();else{var chars=buffer.matchUntil("&|<|\\0");tokenizer._emitToken({type:"Characters",data:data+chars}),buffer.commit()}return!0}function character_reference_in_rcdata_state(buffer){var character=EntityParser.consumeEntity(buffer,tokenizer);return tokenizer.setState(rcdata_state),tokenizer._emitToken({type:"Characters",data:character||"&"}),!0}function rawtext_state(buffer){var data=buffer.char();if(data===InputStream.EOF)return tokenizer._emitToken({type:"EOF",data:null}),!1;if("<"===data)tokenizer.setState(rawtext_less_than_sign_state);else if("\\0"===data)tokenizer._parseError("invalid-codepoint"),tokenizer._emitToken({type:"Characters",data:"�"}),buffer.commit();else{var chars=buffer.matchUntil("<|\\0");tokenizer._emitToken({type:"Characters",data:data+chars})}return!0}function plaintext_state(buffer){var data=buffer.char();if(data===InputStream.EOF)return tokenizer._emitToken({type:"EOF",data:null}),!1;if("\\0"===data)tokenizer._parseError("invalid-codepoint"),tokenizer._emitToken({type:"Characters",data:"�"}),buffer.commit();else{var chars=buffer.matchUntil("\\0");tokenizer._emitToken({type:"Characters",data:data+chars})}return!0}function script_data_state(buffer){var data=buffer.char();if(data===InputStream.EOF)return tokenizer._emitToken({type:"EOF",data:null}),!1;if("<"===data)tokenizer.setState(script_data_less_than_sign_state);else if("\\0"===data)tokenizer._parseError("invalid-codepoint"),tokenizer._emitToken({type:"Characters",data:"�"}),buffer.commit();else{var chars=buffer.matchUntil("<|\\0");tokenizer._emitToken({type:"Characters",data:data+chars})}return!0}function rcdata_less_than_sign_state(buffer){var data=buffer.char();return"/"===data?(this._temporaryBuffer="",tokenizer.setState(rcdata_end_tag_open_state)):(tokenizer._emitToken({type:"Characters",data:"<"}),buffer.unget(data),tokenizer.setState(rcdata_state)),!0}function rcdata_end_tag_open_state(buffer){var data=buffer.char();return isAlpha(data)?(this._temporaryBuffer+=data,tokenizer.setState(rcdata_end_tag_name_state)):(tokenizer._emitToken({type:"Characters",data:"</"}),buffer.unget(data),tokenizer.setState(rcdata_state)),!0}function rcdata_end_tag_name_state(buffer){var appropriate=tokenizer._currentToken&&tokenizer._currentToken.name===this._temporaryBuffer.toLowerCase(),data=buffer.char();return isWhitespace(data)&&appropriate?(tokenizer._currentToken={type:"EndTag",name:this._temporaryBuffer,data:[],selfClosing:!1},tokenizer.setState(before_attribute_name_state)):"/"===data&&appropriate?(tokenizer._currentToken={type:"EndTag",name:this._temporaryBuffer,data:[],selfClosing:!1},tokenizer.setState(self_closing_tag_state)):">"===data&&appropriate?(tokenizer._currentToken={type:"EndTag",name:this._temporaryBuffer,data:[],selfClosing:!1},tokenizer._emitCurrentToken(),tokenizer.setState(data_state)):isAlpha(data)?(this._temporaryBuffer+=data,buffer.commit()):(tokenizer._emitToken({type:"Characters",data:"</"+this._temporaryBuffer}),buffer.unget(data),tokenizer.setState(rcdata_state)),!0}function rawtext_less_than_sign_state(buffer){var data=buffer.char();return"/"===data?(this._temporaryBuffer="",tokenizer.setState(rawtext_end_tag_open_state)):(tokenizer._emitToken({type:"Characters",data:"<"}),buffer.unget(data),tokenizer.setState(rawtext_state)),!0}function rawtext_end_tag_open_state(buffer){var data=buffer.char();return isAlpha(data)?(this._temporaryBuffer+=data,tokenizer.setState(rawtext_end_tag_name_state)):(tokenizer._emitToken({type:"Characters",data:"</"}),buffer.unget(data),tokenizer.setState(rawtext_state)),!0}function rawtext_end_tag_name_state(buffer){var appropriate=tokenizer._currentToken&&tokenizer._currentToken.name===this._temporaryBuffer.toLowerCase(),data=buffer.char();return isWhitespace(data)&&appropriate?(tokenizer._currentToken={type:"EndTag",name:this._temporaryBuffer,data:[],selfClosing:!1},tokenizer.setState(before_attribute_name_state)):"/"===data&&appropriate?(tokenizer._currentToken={type:"EndTag",name:this._temporaryBuffer,data:[],selfClosing:!1},tokenizer.setState(self_closing_tag_state)):">"===data&&appropriate?(tokenizer._currentToken={type:"EndTag",name:this._temporaryBuffer,data:[],selfClosing:!1},tokenizer._emitCurrentToken(),tokenizer.setState(data_state)):isAlpha(data)?(this._temporaryBuffer+=data,buffer.commit()):(tokenizer._emitToken({type:"Characters",data:"</"+this._temporaryBuffer}),buffer.unget(data),tokenizer.setState(rawtext_state)),!0}function script_data_less_than_sign_state(buffer){var data=buffer.char();return"/"===data?(this._temporaryBuffer="",tokenizer.setState(script_data_end_tag_open_state)):"!"===data?(tokenizer._emitToken({type:"Characters",data:"<!"}),tokenizer.setState(script_data_escape_start_state)):(tokenizer._emitToken({type:"Characters",data:"<"}),buffer.unget(data),tokenizer.setState(script_data_state)),!0}function script_data_end_tag_open_state(buffer){var data=buffer.char();return isAlpha(data)?(this._temporaryBuffer+=data,tokenizer.setState(script_data_end_tag_name_state)):(tokenizer._emitToken({type:"Characters",data:"</"}),buffer.unget(data),tokenizer.setState(script_data_state)),!0}function script_data_end_tag_name_state(buffer){var appropriate=tokenizer._currentToken&&tokenizer._currentToken.name===this._temporaryBuffer.toLowerCase(),data=buffer.char();return isWhitespace(data)&&appropriate?(tokenizer._currentToken={type:"EndTag",name:"script",data:[],selfClosing:!1},tokenizer.setState(before_attribute_name_state)):"/"===data&&appropriate?(tokenizer._currentToken={type:"EndTag",name:"script",data:[],selfClosing:!1},tokenizer.setState(self_closing_tag_state)):">"===data&&appropriate?(tokenizer._currentToken={type:"EndTag",name:"script",data:[],selfClosing:!1},tokenizer._emitCurrentToken()):isAlpha(data)?(this._temporaryBuffer+=data,buffer.commit()):(tokenizer._emitToken({type:"Characters",data:"</"+this._temporaryBuffer}),buffer.unget(data),tokenizer.setState(script_data_state)),!0}function script_data_escape_start_state(buffer){var data=buffer.char();return"-"===data?(tokenizer._emitToken({type:"Characters",data:"-"}),tokenizer.setState(script_data_escape_start_dash_state)):(buffer.unget(data),tokenizer.setState(script_data_state)),!0}function script_data_escape_start_dash_state(buffer){var data=buffer.char();return"-"===data?(tokenizer._emitToken({type:"Characters",data:"-"}),tokenizer.setState(script_data_escaped_dash_dash_state)):(buffer.unget(data),tokenizer.setState(script_data_state)),!0}function script_data_escaped_state(buffer){var data=buffer.char();if(data===InputStream.EOF)buffer.unget(data),tokenizer.setState(data_state);else if("-"===data)tokenizer._emitToken({type:"Characters",data:"-"}),tokenizer.setState(script_data_escaped_dash_state);else if("<"===data)tokenizer.setState(script_data_escaped_less_then_sign_state);else if("\\0"===data)tokenizer._parseError("invalid-codepoint"),tokenizer._emitToken({type:"Characters",data:"�"}),buffer.commit();else{var chars=buffer.matchUntil("<|-|\\0");tokenizer._emitToken({type:"Characters",data:data+chars})}return!0}function script_data_escaped_dash_state(buffer){var data=buffer.char();return data===InputStream.EOF?(buffer.unget(data),tokenizer.setState(data_state)):"-"===data?(tokenizer._emitToken({type:"Characters",data:"-"}),tokenizer.setState(script_data_escaped_dash_dash_state)):"<"===data?tokenizer.setState(script_data_escaped_less_then_sign_state):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._emitToken({type:"Characters",data:"�"}),tokenizer.setState(script_data_escaped_state)):(tokenizer._emitToken({type:"Characters",data:data}),tokenizer.setState(script_data_escaped_state)),!0}function script_data_escaped_dash_dash_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-script"),buffer.unget(data),tokenizer.setState(data_state)):"<"===data?tokenizer.setState(script_data_escaped_less_then_sign_state):">"===data?(tokenizer._emitToken({type:"Characters",data:">"}),tokenizer.setState(script_data_state)):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._emitToken({type:"Characters",data:"�"}),tokenizer.setState(script_data_escaped_state)):(tokenizer._emitToken({type:"Characters",data:data}),tokenizer.setState(script_data_escaped_state)),!0}function script_data_escaped_less_then_sign_state(buffer){var data=buffer.char();return"/"===data?(this._temporaryBuffer="",tokenizer.setState(script_data_escaped_end_tag_open_state)):isAlpha(data)?(tokenizer._emitToken({type:"Characters",data:"<"+data}),this._temporaryBuffer=data,tokenizer.setState(script_data_double_escape_start_state)):(tokenizer._emitToken({type:"Characters",data:"<"}),buffer.unget(data),tokenizer.setState(script_data_escaped_state)),!0}function script_data_escaped_end_tag_open_state(buffer){var data=buffer.char();return isAlpha(data)?(this._temporaryBuffer=data,tokenizer.setState(script_data_escaped_end_tag_name_state)):(tokenizer._emitToken({type:"Characters",data:"</"}),buffer.unget(data),tokenizer.setState(script_data_escaped_state)),!0}function script_data_escaped_end_tag_name_state(buffer){var appropriate=tokenizer._currentToken&&tokenizer._currentToken.name===this._temporaryBuffer.toLowerCase(),data=buffer.char();return isWhitespace(data)&&appropriate?(tokenizer._currentToken={type:"EndTag",name:"script",data:[],selfClosing:!1},tokenizer.setState(before_attribute_name_state)):"/"===data&&appropriate?(tokenizer._currentToken={type:"EndTag",name:"script",data:[],selfClosing:!1},tokenizer.setState(self_closing_tag_state)):">"===data&&appropriate?(tokenizer._currentToken={type:"EndTag",name:"script",data:[],selfClosing:!1},tokenizer.setState(data_state),tokenizer._emitCurrentToken()):isAlpha(data)?(this._temporaryBuffer+=data,buffer.commit()):(tokenizer._emitToken({type:"Characters",data:"</"+this._temporaryBuffer}),buffer.unget(data),tokenizer.setState(script_data_escaped_state)),!0}function script_data_double_escape_start_state(buffer){var data=buffer.char();return isWhitespace(data)||"/"===data||">"===data?(tokenizer._emitToken({type:"Characters",data:data}),"script"===this._temporaryBuffer.toLowerCase()?tokenizer.setState(script_data_double_escaped_state):tokenizer.setState(script_data_escaped_state)):isAlpha(data)?(tokenizer._emitToken({type:"Characters",data:data}),this._temporaryBuffer+=data,buffer.commit()):(buffer.unget(data),tokenizer.setState(script_data_escaped_state)),!0}function script_data_double_escaped_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-script"),buffer.unget(data),tokenizer.setState(data_state)):"-"===data?(tokenizer._emitToken({type:"Characters",data:"-"}),tokenizer.setState(script_data_double_escaped_dash_state)):"<"===data?(tokenizer._emitToken({type:"Characters",data:"<"}),tokenizer.setState(script_data_double_escaped_less_than_sign_state)):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._emitToken({type:"Characters",data:"�"}),buffer.commit()):(tokenizer._emitToken({type:"Characters",data:data}),buffer.commit()),!0}function script_data_double_escaped_dash_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-script"),buffer.unget(data),tokenizer.setState(data_state)):"-"===data?(tokenizer._emitToken({type:"Characters",data:"-"}),tokenizer.setState(script_data_double_escaped_dash_dash_state)):"<"===data?(tokenizer._emitToken({type:"Characters",data:"<"}),tokenizer.setState(script_data_double_escaped_less_than_sign_state)):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._emitToken({type:"Characters",data:"�"}),tokenizer.setState(script_data_double_escaped_state)):(tokenizer._emitToken({type:"Characters",data:data}),tokenizer.setState(script_data_double_escaped_state)),!0}function script_data_double_escaped_dash_dash_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-script"),buffer.unget(data),tokenizer.setState(data_state)):"-"===data?(tokenizer._emitToken({type:"Characters",data:"-"}),buffer.commit()):"<"===data?(tokenizer._emitToken({type:"Characters",data:"<"}),tokenizer.setState(script_data_double_escaped_less_than_sign_state)):">"===data?(tokenizer._emitToken({type:"Characters",data:">"}),tokenizer.setState(script_data_state)):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._emitToken({type:"Characters",data:"�"}),tokenizer.setState(script_data_double_escaped_state)):(tokenizer._emitToken({type:"Characters",data:data}),tokenizer.setState(script_data_double_escaped_state)),!0}function script_data_double_escaped_less_than_sign_state(buffer){var data=buffer.char();return"/"===data?(tokenizer._emitToken({type:"Characters",data:"/"}),this._temporaryBuffer="",tokenizer.setState(script_data_double_escape_end_state)):(buffer.unget(data),tokenizer.setState(script_data_double_escaped_state)),!0}function script_data_double_escape_end_state(buffer){var data=buffer.char();return isWhitespace(data)||"/"===data||">"===data?(tokenizer._emitToken({type:"Characters",data:data}),"script"===this._temporaryBuffer.toLowerCase()?tokenizer.setState(script_data_escaped_state):tokenizer.setState(script_data_double_escaped_state)):isAlpha(data)?(tokenizer._emitToken({type:"Characters",data:data}),this._temporaryBuffer+=data,buffer.commit()):(buffer.unget(data),tokenizer.setState(script_data_double_escaped_state)),!0}function tag_open_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("bare-less-than-sign-at-eof"),tokenizer._emitToken({type:"Characters",data:"<"}),buffer.unget(data),tokenizer.setState(data_state)):isAlpha(data)?(tokenizer._currentToken={type:"StartTag",name:data.toLowerCase(),data:[]},tokenizer.setState(tag_name_state)):"!"===data?tokenizer.setState(markup_declaration_open_state):"/"===data?tokenizer.setState(close_tag_open_state):">"===data?(tokenizer._parseError("expected-tag-name-but-got-right-bracket"),tokenizer._emitToken({type:"Characters",data:"<>"}),tokenizer.setState(data_state)):"?"===data?(tokenizer._parseError("expected-tag-name-but-got-question-mark"),buffer.unget(data),tokenizer.setState(bogus_comment_state)):(tokenizer._parseError("expected-tag-name"),tokenizer._emitToken({type:"Characters",data:"<"}),buffer.unget(data),tokenizer.setState(data_state)),!0}function close_tag_open_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("expected-closing-tag-but-got-eof"),tokenizer._emitToken({type:"Characters",data:"</"}),buffer.unget(data),tokenizer.setState(data_state)):isAlpha(data)?(tokenizer._currentToken={type:"EndTag",name:data.toLowerCase(),data:[]},tokenizer.setState(tag_name_state)):">"===data?(tokenizer._parseError("expected-closing-tag-but-got-right-bracket"),tokenizer.setState(data_state)):(tokenizer._parseError("expected-closing-tag-but-got-char",{data:data}),buffer.unget(data),tokenizer.setState(bogus_comment_state)),!0}function tag_name_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-tag-name"),buffer.unget(data),tokenizer.setState(data_state)):isWhitespace(data)?tokenizer.setState(before_attribute_name_state):isAlpha(data)?tokenizer._currentToken.name+=data.toLowerCase():">"===data?tokenizer._emitCurrentToken():"/"===data?tokenizer.setState(self_closing_tag_state):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._currentToken.name+="�"):tokenizer._currentToken.name+=data,buffer.commit(),!0}function before_attribute_name_state(buffer){var data=buffer.char();if(data===InputStream.EOF)tokenizer._parseError("expected-attribute-name-but-got-eof"),buffer.unget(data),tokenizer.setState(data_state);else{if(isWhitespace(data))return!0;isAlpha(data)?(tokenizer._currentToken.data.push({nodeName:data.toLowerCase(),nodeValue:""}),tokenizer.setState(attribute_name_state)):">"===data?tokenizer._emitCurrentToken():"/"===data?tokenizer.setState(self_closing_tag_state):"\'"===data||\'"\'===data||"="===data||"<"===data?(tokenizer._parseError("invalid-character-in-attribute-name"),tokenizer._currentToken.data.push({nodeName:data,nodeValue:""}),tokenizer.setState(attribute_name_state)):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._currentToken.data.push({nodeName:"�",nodeValue:""})):(tokenizer._currentToken.data.push({nodeName:data,nodeValue:""}),tokenizer.setState(attribute_name_state))}return!0}function attribute_name_state(buffer){var data=buffer.char(),leavingThisState=!0,shouldEmit=!1;if(data===InputStream.EOF?(tokenizer._parseError("eof-in-attribute-name"),buffer.unget(data),tokenizer.setState(data_state),shouldEmit=!0):"="===data?tokenizer.setState(before_attribute_value_state):isAlpha(data)?(tokenizer._currentAttribute().nodeName+=data.toLowerCase(),leavingThisState=!1):">"===data?shouldEmit=!0:isWhitespace(data)?tokenizer.setState(after_attribute_name_state):"/"===data?tokenizer.setState(self_closing_tag_state):"\'"===data||\'"\'===data?(tokenizer._parseError("invalid-character-in-attribute-name"),tokenizer._currentAttribute().nodeName+=data,leavingThisState=!1):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._currentAttribute().nodeName+="�"):(tokenizer._currentAttribute().nodeName+=data,leavingThisState=!1),leavingThisState){for(var attributes=tokenizer._currentToken.data,currentAttribute=attributes[attributes.length-1],i=attributes.length-2;i>=0;i--)if(currentAttribute.nodeName===attributes[i].nodeName){tokenizer._parseError("duplicate-attribute",{name:currentAttribute.nodeName}),currentAttribute.nodeName=null;break}shouldEmit&&tokenizer._emitCurrentToken()}else buffer.commit();return!0}function after_attribute_name_state(buffer){var data=buffer.char();if(data===InputStream.EOF)tokenizer._parseError("expected-end-of-tag-but-got-eof"),buffer.unget(data),tokenizer.setState(data_state);else{if(isWhitespace(data))return!0;"="===data?tokenizer.setState(before_attribute_value_state):">"===data?tokenizer._emitCurrentToken():isAlpha(data)?(tokenizer._currentToken.data.push({nodeName:data,nodeValue:""}),tokenizer.setState(attribute_name_state)):"/"===data?tokenizer.setState(self_closing_tag_state):"\'"===data||\'"\'===data||"<"===data?(tokenizer._parseError("invalid-character-after-attribute-name"),tokenizer._currentToken.data.push({nodeName:data,nodeValue:""}),tokenizer.setState(attribute_name_state)):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._currentToken.data.push({nodeName:"�",nodeValue:""})):(tokenizer._currentToken.data.push({nodeName:data,nodeValue:""}),tokenizer.setState(attribute_name_state))}return!0}function before_attribute_value_state(buffer){var data=buffer.char();if(data===InputStream.EOF)tokenizer._parseError("expected-attribute-value-but-got-eof"),buffer.unget(data),tokenizer.setState(data_state);else{if(isWhitespace(data))return!0;\'"\'===data?tokenizer.setState(attribute_value_double_quoted_state):"&"===data?(tokenizer.setState(attribute_value_unquoted_state),buffer.unget(data)):"\'"===data?tokenizer.setState(attribute_value_single_quoted_state):">"===data?(tokenizer._parseError("expected-attribute-value-but-got-right-bracket"),tokenizer._emitCurrentToken()):"="===data||"<"===data||"`"===data?(tokenizer._parseError("unexpected-character-in-unquoted-attribute-value"),tokenizer._currentAttribute().nodeValue+=data,tokenizer.setState(attribute_value_unquoted_state)):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._currentAttribute().nodeValue+="�"):(tokenizer._currentAttribute().nodeValue+=data,tokenizer.setState(attribute_value_unquoted_state))}return!0\n}function attribute_value_double_quoted_state(buffer){var data=buffer.char();if(data===InputStream.EOF)tokenizer._parseError("eof-in-attribute-value-double-quote"),buffer.unget(data),tokenizer.setState(data_state);else if(\'"\'===data)tokenizer.setState(after_attribute_value_state);else if("&"===data)this._additionalAllowedCharacter=\'"\',tokenizer.setState(character_reference_in_attribute_value_state);else if("\\0"===data)tokenizer._parseError("invalid-codepoint"),tokenizer._currentAttribute().nodeValue+="�";else{var s=buffer.matchUntil(\'[\\0"&]\');data+=s,tokenizer._currentAttribute().nodeValue+=data}return!0}function attribute_value_single_quoted_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-attribute-value-single-quote"),buffer.unget(data),tokenizer.setState(data_state)):"\'"===data?tokenizer.setState(after_attribute_value_state):"&"===data?(this._additionalAllowedCharacter="\'",tokenizer.setState(character_reference_in_attribute_value_state)):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._currentAttribute().nodeValue+="�"):tokenizer._currentAttribute().nodeValue+=data+buffer.matchUntil("\\0|[\'&]"),!0}function attribute_value_unquoted_state(buffer){var data=buffer.char();if(data===InputStream.EOF)tokenizer._parseError("eof-after-attribute-value"),buffer.unget(data),tokenizer.setState(data_state);else if(isWhitespace(data))tokenizer.setState(before_attribute_name_state);else if("&"===data)this._additionalAllowedCharacter=">",tokenizer.setState(character_reference_in_attribute_value_state);else if(">"===data)tokenizer._emitCurrentToken();else if(\'"\'===data||"\'"===data||"="===data||"`"===data||"<"===data)tokenizer._parseError("unexpected-character-in-unquoted-attribute-value"),tokenizer._currentAttribute().nodeValue+=data,buffer.commit();else if("\\0"===data)tokenizer._parseError("invalid-codepoint"),tokenizer._currentAttribute().nodeValue+="�";else{var o=buffer.matchUntil("\\0|[\t\\n\v\\f \\r&<>\\"\'=`]");o===InputStream.EOF&&(tokenizer._parseError("eof-in-attribute-value-no-quotes"),tokenizer._emitCurrentToken()),buffer.commit(),tokenizer._currentAttribute().nodeValue+=data+o}return!0}function character_reference_in_attribute_value_state(buffer){var character=EntityParser.consumeEntity(buffer,tokenizer,this._additionalAllowedCharacter);return this._currentAttribute().nodeValue+=character||"&",\'"\'===this._additionalAllowedCharacter?tokenizer.setState(attribute_value_double_quoted_state):"\'"===this._additionalAllowedCharacter?tokenizer.setState(attribute_value_single_quoted_state):">"===this._additionalAllowedCharacter&&tokenizer.setState(attribute_value_unquoted_state),!0}function after_attribute_value_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-after-attribute-value"),buffer.unget(data),tokenizer.setState(data_state)):isWhitespace(data)?tokenizer.setState(before_attribute_name_state):">"===data?(tokenizer.setState(data_state),tokenizer._emitCurrentToken()):"/"===data?tokenizer.setState(self_closing_tag_state):(tokenizer._parseError("unexpected-character-after-attribute-value"),buffer.unget(data),tokenizer.setState(before_attribute_name_state)),!0}function self_closing_tag_state(buffer){var c=buffer.char();return c===InputStream.EOF?(tokenizer._parseError("unexpected-eof-after-solidus-in-tag"),buffer.unget(c),tokenizer.setState(data_state)):">"===c?(tokenizer._currentToken.selfClosing=!0,tokenizer.setState(data_state),tokenizer._emitCurrentToken()):(tokenizer._parseError("unexpected-character-after-solidus-in-tag"),buffer.unget(c),tokenizer.setState(before_attribute_name_state)),!0}function bogus_comment_state(buffer){var data=buffer.matchUntil(">");return data=data.replace(/\\u0000/g,"�"),buffer.char(),tokenizer._emitToken({type:"Comment",data:data}),tokenizer.setState(data_state),!0}function markup_declaration_open_state(buffer){var chars=buffer.shift(2);if("--"===chars)tokenizer._currentToken={type:"Comment",data:""},tokenizer.setState(comment_start_state);else{var newchars=buffer.shift(5);if(newchars===InputStream.EOF||chars===InputStream.EOF)return tokenizer._parseError("expected-dashes-or-doctype"),tokenizer.setState(bogus_comment_state),buffer.unget(chars),!0;chars+=newchars,"DOCTYPE"===chars.toUpperCase()?(tokenizer._currentToken={type:"Doctype",name:"",publicId:null,systemId:null,forceQuirks:!1},tokenizer.setState(doctype_state)):tokenizer._tokenHandler.isCdataSectionAllowed()&&"[CDATA["===chars?tokenizer.setState(cdata_section_state):(tokenizer._parseError("expected-dashes-or-doctype"),buffer.unget(chars),tokenizer.setState(bogus_comment_state))}return!0}function cdata_section_state(buffer){var data=buffer.matchUntil("]]>");return buffer.shift(3),data&&tokenizer._emitToken({type:"Characters",data:data}),tokenizer.setState(data_state),!0}function comment_start_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-comment"),tokenizer._emitToken(tokenizer._currentToken),buffer.unget(data),tokenizer.setState(data_state)):"-"===data?tokenizer.setState(comment_start_dash_state):">"===data?(tokenizer._parseError("incorrect-comment"),tokenizer._emitToken(tokenizer._currentToken),tokenizer.setState(data_state)):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._currentToken.data+="�"):(tokenizer._currentToken.data+=data,tokenizer.setState(comment_state)),!0}function comment_start_dash_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-comment"),tokenizer._emitToken(tokenizer._currentToken),buffer.unget(data),tokenizer.setState(data_state)):"-"===data?tokenizer.setState(comment_end_state):">"===data?(tokenizer._parseError("incorrect-comment"),tokenizer._emitToken(tokenizer._currentToken),tokenizer.setState(data_state)):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._currentToken.data+="�"):(tokenizer._currentToken.data+="-"+data,tokenizer.setState(comment_state)),!0}function comment_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-comment"),tokenizer._emitToken(tokenizer._currentToken),buffer.unget(data),tokenizer.setState(data_state)):"-"===data?tokenizer.setState(comment_end_dash_state):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._currentToken.data+="�"):(tokenizer._currentToken.data+=data,buffer.commit()),!0}function comment_end_dash_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-comment-end-dash"),tokenizer._emitToken(tokenizer._currentToken),buffer.unget(data),tokenizer.setState(data_state)):"-"===data?tokenizer.setState(comment_end_state):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._currentToken.data+="-�",tokenizer.setState(comment_state)):(tokenizer._currentToken.data+="-"+data+buffer.matchUntil("\\0|-"),buffer.char()),!0}function comment_end_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-comment-double-dash"),tokenizer._emitToken(tokenizer._currentToken),buffer.unget(data),tokenizer.setState(data_state)):">"===data?(tokenizer._emitToken(tokenizer._currentToken),tokenizer.setState(data_state)):"!"===data?(tokenizer._parseError("unexpected-bang-after-double-dash-in-comment"),tokenizer.setState(comment_end_bang_state)):"-"===data?(tokenizer._parseError("unexpected-dash-after-double-dash-in-comment"),tokenizer._currentToken.data+=data):"\\0"===data?(tokenizer._parseError("invalid-codepoint"),tokenizer._currentToken.data+="--�",tokenizer.setState(comment_state)):(tokenizer._parseError("unexpected-char-in-comment"),tokenizer._currentToken.data+="--"+data,tokenizer.setState(comment_state)),!0}function comment_end_bang_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-comment-end-bang-state"),tokenizer._emitToken(tokenizer._currentToken),buffer.unget(data),tokenizer.setState(data_state)):">"===data?(tokenizer._emitToken(tokenizer._currentToken),tokenizer.setState(data_state)):"-"===data?(tokenizer._currentToken.data+="--!",tokenizer.setState(comment_end_dash_state)):(tokenizer._currentToken.data+="--!"+data,tokenizer.setState(comment_state)),!0}function doctype_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("expected-doctype-name-but-got-eof"),tokenizer._currentToken.forceQuirks=!0,buffer.unget(data),tokenizer.setState(data_state),tokenizer._emitCurrentToken()):isWhitespace(data)?tokenizer.setState(before_doctype_name_state):(tokenizer._parseError("need-space-after-doctype"),buffer.unget(data),tokenizer.setState(before_doctype_name_state)),!0}function before_doctype_name_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("expected-doctype-name-but-got-eof"),tokenizer._currentToken.forceQuirks=!0,buffer.unget(data),tokenizer.setState(data_state),tokenizer._emitCurrentToken()):isWhitespace(data)||(">"===data?(tokenizer._parseError("expected-doctype-name-but-got-right-bracket"),tokenizer._currentToken.forceQuirks=!0,tokenizer.setState(data_state),tokenizer._emitCurrentToken()):(isAlpha(data)&&(data=data.toLowerCase()),tokenizer._currentToken.name=data,tokenizer.setState(doctype_name_state))),!0}function doctype_name_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._currentToken.forceQuirks=!0,buffer.unget(data),tokenizer._parseError("eof-in-doctype-name"),tokenizer.setState(data_state),tokenizer._emitCurrentToken()):isWhitespace(data)?tokenizer.setState(after_doctype_name_state):">"===data?(tokenizer.setState(data_state),tokenizer._emitCurrentToken()):(isAlpha(data)&&(data=data.toLowerCase()),tokenizer._currentToken.name+=data,buffer.commit()),!0}function after_doctype_name_state(buffer){var data=buffer.char();if(data===InputStream.EOF)tokenizer._currentToken.forceQuirks=!0,buffer.unget(data),tokenizer._parseError("eof-in-doctype"),tokenizer.setState(data_state),tokenizer._emitCurrentToken();else if(isWhitespace(data));else if(">"===data)tokenizer.setState(data_state),tokenizer._emitCurrentToken();else{if(["p","P"].indexOf(data)>-1){var expected=[["u","U"],["b","B"],["l","L"],["i","I"],["c","C"]],matched=expected.every(function(expected){return data=buffer.char(),expected.indexOf(data)>-1});if(matched)return tokenizer.setState(after_doctype_public_keyword_state),!0}else if(["s","S"].indexOf(data)>-1){var expected=[["y","Y"],["s","S"],["t","T"],["e","E"],["m","M"]],matched=expected.every(function(expected){return data=buffer.char(),expected.indexOf(data)>-1});if(matched)return tokenizer.setState(after_doctype_system_keyword_state),!0}buffer.unget(data),tokenizer._currentToken.forceQuirks=!0,data===InputStream.EOF?(tokenizer._parseError("eof-in-doctype"),buffer.unget(data),tokenizer.setState(data_state),tokenizer._emitCurrentToken()):(tokenizer._parseError("expected-space-or-right-bracket-in-doctype",{data:data}),tokenizer.setState(bogus_doctype_state))}return!0}function after_doctype_public_keyword_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-doctype"),tokenizer._currentToken.forceQuirks=!0,buffer.unget(data),tokenizer.setState(data_state),tokenizer._emitCurrentToken()):isWhitespace(data)?tokenizer.setState(before_doctype_public_identifier_state):"\'"===data||\'"\'===data?(tokenizer._parseError("unexpected-char-in-doctype"),buffer.unget(data),tokenizer.setState(before_doctype_public_identifier_state)):(buffer.unget(data),tokenizer.setState(before_doctype_public_identifier_state)),!0}function before_doctype_public_identifier_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-doctype"),tokenizer._currentToken.forceQuirks=!0,buffer.unget(data),tokenizer.setState(data_state),tokenizer._emitCurrentToken()):isWhitespace(data)||(\'"\'===data?(tokenizer._currentToken.publicId="",tokenizer.setState(doctype_public_identifier_double_quoted_state)):"\'"===data?(tokenizer._currentToken.publicId="",tokenizer.setState(doctype_public_identifier_single_quoted_state)):">"===data?(tokenizer._parseError("unexpected-end-of-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer.setState(data_state),tokenizer._emitCurrentToken()):(tokenizer._parseError("unexpected-char-in-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer.setState(bogus_doctype_state))),!0}function doctype_public_identifier_double_quoted_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-doctype"),tokenizer._currentToken.forceQuirks=!0,buffer.unget(data),tokenizer.setState(data_state),tokenizer._emitCurrentToken()):\'"\'===data?tokenizer.setState(after_doctype_public_identifier_state):">"===data?(tokenizer._parseError("unexpected-end-of-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer.setState(data_state),tokenizer._emitCurrentToken()):tokenizer._currentToken.publicId+=data,!0}function doctype_public_identifier_single_quoted_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-doctype"),tokenizer._currentToken.forceQuirks=!0,buffer.unget(data),tokenizer.setState(data_state),tokenizer._emitCurrentToken()):"\'"===data?tokenizer.setState(after_doctype_public_identifier_state):">"===data?(tokenizer._parseError("unexpected-end-of-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer.setState(data_state),tokenizer._emitCurrentToken()):tokenizer._currentToken.publicId+=data,!0}function after_doctype_public_identifier_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer._emitCurrentToken(),buffer.unget(data),tokenizer.setState(data_state)):isWhitespace(data)?tokenizer.setState(between_doctype_public_and_system_identifiers_state):">"===data?(tokenizer.setState(data_state),tokenizer._emitCurrentToken()):\'"\'===data?(tokenizer._parseError("unexpected-char-in-doctype"),tokenizer._currentToken.systemId="",tokenizer.setState(doctype_system_identifier_double_quoted_state)):"\'"===data?(tokenizer._parseError("unexpected-char-in-doctype"),tokenizer._currentToken.systemId="",tokenizer.setState(doctype_system_identifier_single_quoted_state)):(tokenizer._parseError("unexpected-char-in-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer.setState(bogus_doctype_state)),!0}function between_doctype_public_and_system_identifiers_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer._emitCurrentToken(),buffer.unget(data),tokenizer.setState(data_state)):isWhitespace(data)||(">"===data?(tokenizer._emitCurrentToken(),tokenizer.setState(data_state)):\'"\'===data?(tokenizer._currentToken.systemId="",tokenizer.setState(doctype_system_identifier_double_quoted_state)):"\'"===data?(tokenizer._currentToken.systemId="",tokenizer.setState(doctype_system_identifier_single_quoted_state)):(tokenizer._parseError("unexpected-char-in-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer.setState(bogus_doctype_state))),!0}function after_doctype_system_keyword_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer._emitCurrentToken(),buffer.unget(data),tokenizer.setState(data_state)):isWhitespace(data)?tokenizer.setState(before_doctype_system_identifier_state):"\'"===data||\'"\'===data?(tokenizer._parseError("unexpected-char-in-doctype"),buffer.unget(data),tokenizer.setState(before_doctype_system_identifier_state)):(buffer.unget(data),tokenizer.setState(before_doctype_system_identifier_state)),!0}function before_doctype_system_identifier_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer._emitCurrentToken(),buffer.unget(data),tokenizer.setState(data_state)):isWhitespace(data)||(\'"\'===data?(tokenizer._currentToken.systemId="",tokenizer.setState(doctype_system_identifier_double_quoted_state)):"\'"===data?(tokenizer._currentToken.systemId="",tokenizer.setState(doctype_system_identifier_single_quoted_state)):">"===data?(tokenizer._parseError("unexpected-end-of-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer._emitCurrentToken(),tokenizer.setState(data_state)):(tokenizer._parseError("unexpected-char-in-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer.setState(bogus_doctype_state))),!0}function doctype_system_identifier_double_quoted_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer._emitCurrentToken(),buffer.unget(data),tokenizer.setState(data_state)):\'"\'===data?tokenizer.setState(after_doctype_system_identifier_state):">"===data?(tokenizer._parseError("unexpected-end-of-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer._emitCurrentToken(),tokenizer.setState(data_state)):tokenizer._currentToken.systemId+=data,!0}function doctype_system_identifier_single_quoted_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer._emitCurrentToken(),buffer.unget(data),tokenizer.setState(data_state)):"\'"===data?tokenizer.setState(after_doctype_system_identifier_state):">"===data?(tokenizer._parseError("unexpected-end-of-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer._emitCurrentToken(),tokenizer.setState(data_state)):tokenizer._currentToken.systemId+=data,!0}function after_doctype_system_identifier_state(buffer){var data=buffer.char();return data===InputStream.EOF?(tokenizer._parseError("eof-in-doctype"),tokenizer._currentToken.forceQuirks=!0,tokenizer._emitCurrentToken(),buffer.unget(data),tokenizer.setState(data_state)):isWhitespace(data)||(">"===data?(tokenizer._emitCurrentToken(),tokenizer.setState(data_state)):(tokenizer._parseError("unexpected-char-in-doctype"),tokenizer.setState(bogus_doctype_state))),!0}function bogus_doctype_state(buffer){var data=buffer.char();return data===InputStream.EOF?(buffer.unget(data),tokenizer._emitCurrentToken(),tokenizer.setState(data_state)):">"===data&&(tokenizer._emitCurrentToken(),tokenizer.setState(data_state)),!0}Tokenizer.DATA=data_state,Tokenizer.RCDATA=rcdata_state,Tokenizer.RAWTEXT=rawtext_state,Tokenizer.SCRIPT_DATA=script_data_state,Tokenizer.PLAINTEXT=plaintext_state,this._state=Tokenizer.DATA,this._inputStream.append(source),this._tokenHandler.startTokenization(this),this._inputStream.eof=!0;for(var tokenizer=this;this._state.call(this,this._inputStream););},Object.defineProperty(Tokenizer.prototype,"lineNumber",{get:function(){return this._inputStream.location().line}}),Object.defineProperty(Tokenizer.prototype,"columnNumber",{get:function(){return this._inputStream.location().column}}),exports.Tokenizer=Tokenizer},{"./EntityParser":2,"./InputStream":3}],6:[function(_dereq_,module,exports){function isWhitespace(ch){return" "===ch||"\\n"===ch||"\t"===ch||"\\r"===ch||"\\f"===ch}function isWhitespaceOrReplacementCharacter(ch){return isWhitespace(ch)||"�"===ch}function isAllWhitespace(characters){for(var i=0;characters.length>i;i++){var ch=characters[i];if(!isWhitespace(ch))return!1}return!0}function isAllWhitespaceOrReplacementCharacters(characters){for(var i=0;characters.length>i;i++){var ch=characters[i];if(!isWhitespaceOrReplacementCharacter(ch))return!1}return!0}function getAttribute(node,name){for(var i=0;node.attributes.length>i;i++){var attribute=node.attributes[i];if(attribute.nodeName===name)return attribute}return null}function CharacterBuffer(characters){this.characters=characters,this.current=0,this.end=this.characters.length}function TreeBuilder(){this.tokenizer=null,this.errorHandler=null,this.scriptingEnabled=!1,this.document=null,this.head=null,this.form=null,this.openElements=new ElementStack,this.activeFormattingElements=[],this.insertionMode=null,this.insertionModeName="",this.originalInsertionMode="",this.inQuirksMode=!1,this.compatMode="no quirks",this.framesetOk=!0,this.redirectAttachToFosterParent=!1,this.selfClosingFlagAcknowledged=!1,this.context="",this.pendingTableCharacters=[],this.shouldSkipLeadingNewline=!1;var tree=this,modes=this.insertionModes={};modes.base={end_tag_handlers:{"-default":"endTagOther"},start_tag_handlers:{"-default":"startTagOther"},processEOF:function(){tree.generateImpliedEndTags(),tree.openElements.length>2?tree.parseError("expected-closing-tag-but-got-eof"):2==tree.openElements.length&&"body"!=tree.openElements.item(1).localName?tree.parseError("expected-closing-tag-but-got-eof"):tree.context&&tree.openElements.length>1},processComment:function(data){tree.insertComment(data,tree.currentStackItem().node)},processDoctype:function(){tree.parseError("unexpected-doctype")},processStartTag:function(name,attributes,selfClosing){if(this[this.start_tag_handlers[name]])this[this.start_tag_handlers[name]](name,attributes,selfClosing);else{if(!this[this.start_tag_handlers["-default"]])throw Error("No handler found for "+name);this[this.start_tag_handlers["-default"]](name,attributes,selfClosing)}},processEndTag:function(name){if(this[this.end_tag_handlers[name]])this[this.end_tag_handlers[name]](name);else{if(!this[this.end_tag_handlers["-default"]])throw Error("No handler found for "+name);this[this.end_tag_handlers["-default"]](name)}},startTagHtml:function(name,attributes){modes.inBody.startTagHtml(name,attributes)}},modes.initial=Object.create(modes.base),modes.initial.processEOF=function(){tree.parseError("expected-doctype-but-got-eof"),this.anythingElse(),tree.insertionMode.processEOF()},modes.initial.processComment=function(data){tree.insertComment(data,tree.document)},modes.initial.processDoctype=function(name,publicId,systemId,forceQuirks){function publicIdStartsWith(string){return 0===publicId.toLowerCase().indexOf(string)}tree.insertDoctype(name||"",publicId||"",systemId||""),forceQuirks||"html"!=name||null!=publicId&&(["+//silmaril//dtd html pro v0r11 19970101//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//as//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html strict//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//ietf//dtd html//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o\'reilly and associates//dtd html 2.0//","-//o\'reilly and associates//dtd html extended 1.0//","-//spyglass//dtd html 2.0 extended//","-//sq//dtd html 2.0 hotmetal + extensions//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//","html"].some(publicIdStartsWith)||["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"].indexOf(publicId.toLowerCase())>-1||null==systemId&&["-//w3c//dtd html 4.01 transitional//","-//w3c//dtd html 4.01 frameset//"].some(publicIdStartsWith))||null!=systemId&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"==systemId.toLowerCase()?(tree.compatMode="quirks",tree.parseError("quirky-doctype")):null!=publicId&&(["-//w3c//dtd xhtml 1.0 transitional//","-//w3c//dtd xhtml 1.0 frameset//"].some(publicIdStartsWith)||null!=systemId&&["-//w3c//dtd html 4.01 transitional//","-//w3c//dtd html 4.01 frameset//"].indexOf(publicId.toLowerCase())>-1)?(tree.compatMode="limited quirks",tree.parseError("almost-standards-doctype")):"-//W3C//DTD HTML 4.0//EN"==publicId&&(null==systemId||"http://www.w3.org/TR/REC-html40/strict.dtd"==systemId)||"-//W3C//DTD HTML 4.01//EN"==publicId&&(null==systemId||"http://www.w3.org/TR/html4/strict.dtd"==systemId)||"-//W3C//DTD XHTML 1.0 Strict//EN"==publicId&&"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"==systemId||"-//W3C//DTD XHTML 1.1//EN"==publicId&&"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"==systemId||(null!=systemId&&"about:legacy-compat"!=systemId||null!=publicId)&&tree.parseError("unknown-doctype"),tree.setInsertionMode("beforeHTML")},modes.initial.processCharacters=function(buffer){buffer.skipLeadingWhitespace(),buffer.length&&(tree.parseError("expected-doctype-but-got-chars"),this.anythingElse(),tree.insertionMode.processCharacters(buffer))},modes.initial.processStartTag=function(name,attributes,selfClosing){tree.parseError("expected-doctype-but-got-start-tag",{name:name}),this.anythingElse(),tree.insertionMode.processStartTag(name,attributes,selfClosing)},modes.initial.processEndTag=function(name){tree.parseError("expected-doctype-but-got-end-tag",{name:name}),this.anythingElse(),tree.insertionMode.processEndTag(name)},modes.initial.anythingElse=function(){tree.compatMode="quirks",tree.setInsertionMode("beforeHTML")},modes.beforeHTML=Object.create(modes.base),modes.beforeHTML.start_tag_handlers={html:"startTagHtml","-default":"startTagOther"},modes.beforeHTML.processEOF=function(){this.anythingElse(),tree.insertionMode.processEOF()},modes.beforeHTML.processComment=function(data){tree.insertComment(data,tree.document)},modes.beforeHTML.processCharacters=function(buffer){buffer.skipLeadingWhitespace(),buffer.length&&(this.anythingElse(),tree.insertionMode.processCharacters(buffer))},modes.beforeHTML.startTagHtml=function(name,attributes){tree.insertHtmlElement(attributes),tree.setInsertionMode("beforeHead")},modes.beforeHTML.startTagOther=function(name,attributes,selfClosing){this.anythingElse(),tree.insertionMode.processStartTag(name,attributes,selfClosing)},modes.beforeHTML.processEndTag=function(name){this.anythingElse(),tree.insertionMode.processEndTag(name)},modes.beforeHTML.anythingElse=function(){tree.insertHtmlElement(),tree.setInsertionMode("beforeHead")},modes.afterAfterBody=Object.create(modes.base),modes.afterAfterBody.start_tag_handlers={html:"startTagHtml","-default":"startTagOther"},modes.afterAfterBody.processComment=function(data){tree.insertComment(data,tree.document)},modes.afterAfterBody.processDoctype=function(data){modes.inBody.processDoctype(data)},modes.afterAfterBody.startTagHtml=function(data,attributes){modes.inBody.startTagHtml(data,attributes)},modes.afterAfterBody.startTagOther=function(name,attributes,selfClosing){tree.parseError("unexpected-start-tag",{name:name}),tree.setInsertionMode("inBody"),tree.insertionMode.processStartTag(name,attributes,selfClosing)},modes.afterAfterBody.endTagOther=function(name){tree.parseError("unexpected-end-tag",{name:name}),tree.setInsertionMode("inBody"),tree.insertionMode.processEndTag(name)},modes.afterAfterBody.processCharacters=function(data){return isAllWhitespace(data.characters)?(modes.inBody.processCharacters(data),void 0):(tree.parseError("unexpected-char-after-body"),tree.setInsertionMode("inBody"),tree.insertionMode.processCharacters(data))},modes.afterBody=Object.create(modes.base),modes.afterBody.end_tag_handlers={html:"endTagHtml","-default":"endTagOther"},modes.afterBody.processComment=function(data){tree.insertComment(data,tree.openElements.rootNode)},modes.afterBody.processCharacters=function(data){return isAllWhitespace(data.characters)?(modes.inBody.processCharacters(data),void 0):(tree.parseError("unexpected-char-after-body"),tree.setInsertionMode("inBody"),tree.insertionMode.processCharacters(data))},modes.afterBody.processStartTag=function(name,attributes,selfClosing){tree.parseError("unexpected-start-tag-after-body",{name:name}),tree.setInsertionMode("inBody"),tree.insertionMode.processStartTag(name,attributes,selfClosing)},modes.afterBody.endTagHtml=function(){tree.context?tree.parseError("end-html-in-innerhtml"):tree.setInsertionMode("afterAfterBody")},modes.afterBody.endTagOther=function(name){tree.parseError("unexpected-end-tag-after-body",{name:name}),tree.setInsertionMode("inBody"),tree.insertionMode.processEndTag(name)},modes.afterFrameset=Object.create(modes.base),modes.afterFrameset.start_tag_handlers={html:"startTagHtml",noframes:"startTagNoframes","-default":"startTagOther"},modes.afterFrameset.end_tag_handlers={html:"endTagHtml","-default":"endTagOther"},modes.afterFrameset.processCharacters=function(buffer){for(var characters=buffer.takeRemaining(),whitespace="",i=0;characters.length>i;i++){var ch=characters[i];isWhitespace(ch)&&(whitespace+=ch)}whitespace&&tree.insertText(whitespace),whitespace.length<characters.length&&tree.parseError("expected-eof-but-got-char")},modes.afterFrameset.startTagNoframes=function(name,attributes){modes.inHead.processStartTag(name,attributes)},modes.afterFrameset.startTagOther=function(name){tree.parseError("unexpected-start-tag-after-frameset",{name:name})},modes.afterFrameset.endTagHtml=function(){tree.setInsertionMode("afterAfterFrameset")},modes.afterFrameset.endTagOther=function(name){tree.parseError("unexpected-end-tag-after-frameset",{name:name})},modes.beforeHead=Object.create(modes.base),modes.beforeHead.start_tag_handlers={html:"startTagHtml",head:"startTagHead","-default":"startTagOther"},modes.beforeHead.end_tag_handlers={html:"endTagImplyHead",head:"endTagImplyHead",body:"endTagImplyHead",br:"endTagImplyHead","-default":"endTagOther"},modes.beforeHead.processEOF=function(){this.startTagHead("head",[]),tree.insertionMode.processEOF()},modes.beforeHead.processCharacters=function(buffer){buffer.skipLeadingWhitespace(),buffer.length&&(this.startTagHead("head",[]),tree.insertionMode.processCharacters(buffer))},modes.beforeHead.startTagHead=function(name,attributes){tree.insertHeadElement(attributes),tree.setInsertionMode("inHead")},modes.beforeHead.startTagOther=function(name,attributes,selfClosing){this.startTagHead("head",[]),tree.insertionMode.processStartTag(name,attributes,selfClosing)},modes.beforeHead.endTagImplyHead=function(name){this.startTagHead("head",[]),tree.insertionMode.processEndTag(name)},modes.beforeHead.endTagOther=function(name){tree.parseError("end-tag-after-implied-root",{name:name})},modes.inHead=Object.create(modes.base),modes.inHead.start_tag_handlers={html:"startTagHtml",head:"startTagHead",title:"startTagTitle",script:"startTagScript",style:"startTagNoFramesStyle",noscript:"startTagNoScript",noframes:"startTagNoFramesStyle",base:"startTagBaseBasefontBgsoundLink",basefont:"startTagBaseBasefontBgsoundLink",bgsound:"startTagBaseBasefontBgsoundLink",link:"startTagBaseBasefontBgsoundLink",meta:"startTagMeta","-default":"startTagOther"},modes.inHead.end_tag_handlers={head:"endTagHead",html:"endTagHtmlBodyBr",body:"endTagHtmlBodyBr",br:"endTagHtmlBodyBr","-default":"endTagOther"},modes.inHead.processEOF=function(){var name=tree.currentStackItem().localName;\n-1!=["title","style","script"].indexOf(name)&&(tree.parseError("expected-named-closing-tag-but-got-eof",{name:name}),tree.popElement()),this.anythingElse(),tree.insertionMode.processEOF()},modes.inHead.processCharacters=function(buffer){var leadingWhitespace=buffer.takeLeadingWhitespace();leadingWhitespace&&tree.insertText(leadingWhitespace),buffer.length&&(this.anythingElse(),tree.insertionMode.processCharacters(buffer))},modes.inHead.startTagHtml=function(name,attributes){modes.inBody.processStartTag(name,attributes)},modes.inHead.startTagHead=function(){tree.parseError("two-heads-are-not-better-than-one")},modes.inHead.startTagTitle=function(name,attributes){tree.processGenericRCDATAStartTag(name,attributes)},modes.inHead.startTagNoScript=function(name,attributes){return tree.scriptingEnabled?tree.processGenericRawTextStartTag(name,attributes):(tree.insertElement(name,attributes),tree.setInsertionMode("inHeadNoscript"),void 0)},modes.inHead.startTagNoFramesStyle=function(name,attributes){tree.processGenericRawTextStartTag(name,attributes)},modes.inHead.startTagScript=function(name,attributes){tree.insertElement(name,attributes),tree.tokenizer.setState(Tokenizer.SCRIPT_DATA),tree.originalInsertionMode=tree.insertionModeName,tree.setInsertionMode("text")},modes.inHead.startTagBaseBasefontBgsoundLink=function(name,attributes){tree.insertSelfClosingElement(name,attributes)},modes.inHead.startTagMeta=function(name,attributes){tree.insertSelfClosingElement(name,attributes)},modes.inHead.startTagOther=function(name,attributes,selfClosing){this.anythingElse(),tree.insertionMode.processStartTag(name,attributes,selfClosing)},modes.inHead.endTagHead=function(){"head"==tree.openElements.item(tree.openElements.length-1).localName?tree.openElements.pop():tree.parseError("unexpected-end-tag",{name:"head"}),tree.setInsertionMode("afterHead")},modes.inHead.endTagHtmlBodyBr=function(name){this.anythingElse(),tree.insertionMode.processEndTag(name)},modes.inHead.endTagOther=function(name){tree.parseError("unexpected-end-tag",{name:name})},modes.inHead.anythingElse=function(){this.endTagHead("head")},modes.afterHead=Object.create(modes.base),modes.afterHead.start_tag_handlers={html:"startTagHtml",head:"startTagHead",body:"startTagBody",frameset:"startTagFrameset",base:"startTagFromHead",link:"startTagFromHead",meta:"startTagFromHead",script:"startTagFromHead",style:"startTagFromHead",title:"startTagFromHead","-default":"startTagOther"},modes.afterHead.end_tag_handlers={body:"endTagBodyHtmlBr",html:"endTagBodyHtmlBr",br:"endTagBodyHtmlBr","-default":"endTagOther"},modes.afterHead.processEOF=function(){this.anythingElse(),tree.insertionMode.processEOF()},modes.afterHead.processCharacters=function(buffer){var leadingWhitespace=buffer.takeLeadingWhitespace();leadingWhitespace&&tree.insertText(leadingWhitespace),buffer.length&&(this.anythingElse(),tree.insertionMode.processCharacters(buffer))},modes.afterHead.startTagHtml=function(name,attributes){modes.inBody.processStartTag(name,attributes)},modes.afterHead.startTagBody=function(name,attributes){tree.framesetOk=!1,tree.insertBodyElement(attributes),tree.setInsertionMode("inBody")},modes.afterHead.startTagFrameset=function(name,attributes){tree.insertElement(name,attributes),tree.setInsertionMode("inFrameset")},modes.afterHead.startTagFromHead=function(name,attributes,selfClosing){tree.parseError("unexpected-start-tag-out-of-my-head",{name:name}),tree.openElements.push(tree.head),modes.inHead.processStartTag(name,attributes,selfClosing),tree.openElements.remove(tree.head)},modes.afterHead.startTagHead=function(name){tree.parseError("unexpected-start-tag",{name:name})},modes.afterHead.startTagOther=function(name,attributes,selfClosing){this.anythingElse(),tree.insertionMode.processStartTag(name,attributes,selfClosing)},modes.afterHead.endTagBodyHtmlBr=function(name){this.anythingElse(),tree.insertionMode.processEndTag(name)},modes.afterHead.endTagOther=function(name){tree.parseError("unexpected-end-tag",{name:name})},modes.afterHead.anythingElse=function(){tree.insertBodyElement([]),tree.setInsertionMode("inBody"),tree.framesetOk=!0},modes.inBody=Object.create(modes.base),modes.inBody.start_tag_handlers={html:"startTagHtml",head:"startTagMisplaced",base:"startTagProcessInHead",basefont:"startTagProcessInHead",bgsound:"startTagProcessInHead",link:"startTagProcessInHead",meta:"startTagProcessInHead",noframes:"startTagProcessInHead",script:"startTagProcessInHead",style:"startTagProcessInHead",title:"startTagProcessInHead",body:"startTagBody",form:"startTagForm",plaintext:"startTagPlaintext",a:"startTagA",button:"startTagButton",xmp:"startTagXmp",table:"startTagTable",hr:"startTagHr",image:"startTagImage",input:"startTagInput",textarea:"startTagTextarea",select:"startTagSelect",isindex:"startTagIsindex",applet:"startTagAppletMarqueeObject",marquee:"startTagAppletMarqueeObject",object:"startTagAppletMarqueeObject",li:"startTagListItem",dd:"startTagListItem",dt:"startTagListItem",address:"startTagCloseP",article:"startTagCloseP",aside:"startTagCloseP",blockquote:"startTagCloseP",center:"startTagCloseP",details:"startTagCloseP",dir:"startTagCloseP",div:"startTagCloseP",dl:"startTagCloseP",fieldset:"startTagCloseP",figcaption:"startTagCloseP",figure:"startTagCloseP",footer:"startTagCloseP",header:"startTagCloseP",hgroup:"startTagCloseP",main:"startTagCloseP",menu:"startTagCloseP",nav:"startTagCloseP",ol:"startTagCloseP",p:"startTagCloseP",section:"startTagCloseP",summary:"startTagCloseP",ul:"startTagCloseP",listing:"startTagPreListing",pre:"startTagPreListing",b:"startTagFormatting",big:"startTagFormatting",code:"startTagFormatting",em:"startTagFormatting",font:"startTagFormatting",i:"startTagFormatting",s:"startTagFormatting",small:"startTagFormatting",strike:"startTagFormatting",strong:"startTagFormatting",tt:"startTagFormatting",u:"startTagFormatting",nobr:"startTagNobr",area:"startTagVoidFormatting",br:"startTagVoidFormatting",embed:"startTagVoidFormatting",img:"startTagVoidFormatting",keygen:"startTagVoidFormatting",wbr:"startTagVoidFormatting",param:"startTagParamSourceTrack",source:"startTagParamSourceTrack",track:"startTagParamSourceTrack",iframe:"startTagIFrame",noembed:"startTagRawText",noscript:"startTagRawText",h1:"startTagHeading",h2:"startTagHeading",h3:"startTagHeading",h4:"startTagHeading",h5:"startTagHeading",h6:"startTagHeading",caption:"startTagMisplaced",col:"startTagMisplaced",colgroup:"startTagMisplaced",frame:"startTagMisplaced",frameset:"startTagFrameset",tbody:"startTagMisplaced",td:"startTagMisplaced",tfoot:"startTagMisplaced",th:"startTagMisplaced",thead:"startTagMisplaced",tr:"startTagMisplaced",option:"startTagOptionOptgroup",optgroup:"startTagOptionOptgroup",math:"startTagMath",svg:"startTagSVG",rt:"startTagRpRt",rp:"startTagRpRt","-default":"startTagOther"},modes.inBody.end_tag_handlers={p:"endTagP",body:"endTagBody",html:"endTagHtml",address:"endTagBlock",article:"endTagBlock",aside:"endTagBlock",blockquote:"endTagBlock",button:"endTagBlock",center:"endTagBlock",details:"endTagBlock",dir:"endTagBlock",div:"endTagBlock",dl:"endTagBlock",fieldset:"endTagBlock",figcaption:"endTagBlock",figure:"endTagBlock",footer:"endTagBlock",header:"endTagBlock",hgroup:"endTagBlock",listing:"endTagBlock",main:"endTagBlock",menu:"endTagBlock",nav:"endTagBlock",ol:"endTagBlock",pre:"endTagBlock",section:"endTagBlock",summary:"endTagBlock",ul:"endTagBlock",form:"endTagForm",applet:"endTagAppletMarqueeObject",marquee:"endTagAppletMarqueeObject",object:"endTagAppletMarqueeObject",dd:"endTagListItem",dt:"endTagListItem",li:"endTagListItem",h1:"endTagHeading",h2:"endTagHeading",h3:"endTagHeading",h4:"endTagHeading",h5:"endTagHeading",h6:"endTagHeading",a:"endTagFormatting",b:"endTagFormatting",big:"endTagFormatting",code:"endTagFormatting",em:"endTagFormatting",font:"endTagFormatting",i:"endTagFormatting",nobr:"endTagFormatting",s:"endTagFormatting",small:"endTagFormatting",strike:"endTagFormatting",strong:"endTagFormatting",tt:"endTagFormatting",u:"endTagFormatting",br:"endTagBr","-default":"endTagOther"},modes.inBody.processCharacters=function(buffer){tree.shouldSkipLeadingNewline&&(tree.shouldSkipLeadingNewline=!1,buffer.skipAtMostOneLeadingNewline()),tree.reconstructActiveFormattingElements();var characters=buffer.takeRemaining();characters=characters.replace(/\\u0000/g,function(){return tree.parseError("invalid-codepoint"),""}),characters&&(tree.insertText(characters),tree.framesetOk&&!isAllWhitespaceOrReplacementCharacters(characters)&&(tree.framesetOk=!1))},modes.inBody.startTagHtml=function(name,attributes){tree.parseError("non-html-root"),tree.addAttributesToElement(tree.openElements.rootNode,attributes)},modes.inBody.startTagProcessInHead=function(name,attributes){modes.inHead.processStartTag(name,attributes)},modes.inBody.startTagBody=function(name,attributes){tree.parseError("unexpected-start-tag",{name:"body"}),1==tree.openElements.length||"body"!=tree.openElements.item(1).localName?assert.ok(tree.context):(tree.framesetOk=!1,tree.addAttributesToElement(tree.openElements.bodyElement,attributes))},modes.inBody.startTagFrameset=function(name,attributes){if(tree.parseError("unexpected-start-tag",{name:"frameset"}),1==tree.openElements.length||"body"!=tree.openElements.item(1).localName)assert.ok(tree.context);else if(tree.framesetOk){for(tree.detachFromParent(tree.openElements.bodyElement);tree.openElements.length>1;)tree.openElements.pop();tree.insertElement(name,attributes),tree.setInsertionMode("inFrameset")}},modes.inBody.startTagCloseP=function(name,attributes){tree.openElements.inButtonScope("p")&&this.endTagP("p"),tree.insertElement(name,attributes)},modes.inBody.startTagPreListing=function(name,attributes){tree.openElements.inButtonScope("p")&&this.endTagP("p"),tree.insertElement(name,attributes),tree.framesetOk=!1,tree.shouldSkipLeadingNewline=!0},modes.inBody.startTagForm=function(name,attributes){tree.form?tree.parseError("unexpected-start-tag",{name:name}):(tree.openElements.inButtonScope("p")&&this.endTagP("p"),tree.insertElement(name,attributes),tree.form=tree.currentStackItem())},modes.inBody.startTagRpRt=function(name,attributes){tree.openElements.inScope("ruby")&&(tree.generateImpliedEndTags(),"ruby"!=tree.currentStackItem().localName&&tree.parseError("unexpected-start-tag",{name:name})),tree.insertElement(name,attributes)},modes.inBody.startTagListItem=function(name,attributes){for(var stopNames={li:["li"],dd:["dd","dt"],dt:["dd","dt"]},stopName=stopNames[name],els=tree.openElements,i=els.length-1;i>=0;i--){var node=els.item(i);if(-1!=stopName.indexOf(node.localName)){tree.insertionMode.processEndTag(node.localName);break}if(node.isSpecial()&&"p"!==node.localName&&"address"!==node.localName&&"div"!==node.localName)break}tree.openElements.inButtonScope("p")&&this.endTagP("p"),tree.insertElement(name,attributes),tree.framesetOk=!1},modes.inBody.startTagPlaintext=function(name,attributes){tree.openElements.inButtonScope("p")&&this.endTagP("p"),tree.insertElement(name,attributes),tree.tokenizer.setState(Tokenizer.PLAINTEXT)},modes.inBody.startTagHeading=function(name,attributes){tree.openElements.inButtonScope("p")&&this.endTagP("p"),tree.currentStackItem().isNumberedHeader()&&(tree.parseError("unexpected-start-tag",{name:name}),tree.popElement()),tree.insertElement(name,attributes)},modes.inBody.startTagA=function(name,attributes){var activeA=tree.elementInActiveFormattingElements("a");activeA&&(tree.parseError("unexpected-start-tag-implies-end-tag",{startName:"a",endName:"a"}),tree.adoptionAgencyEndTag("a"),tree.openElements.contains(activeA)&&tree.openElements.remove(activeA),tree.removeElementFromActiveFormattingElements(activeA)),tree.reconstructActiveFormattingElements(),tree.insertFormattingElement(name,attributes)},modes.inBody.startTagFormatting=function(name,attributes){tree.reconstructActiveFormattingElements(),tree.insertFormattingElement(name,attributes)},modes.inBody.startTagNobr=function(name,attributes){tree.reconstructActiveFormattingElements(),tree.openElements.inScope("nobr")&&(tree.parseError("unexpected-start-tag-implies-end-tag",{startName:"nobr",endName:"nobr"}),this.processEndTag("nobr"),tree.reconstructActiveFormattingElements()),tree.insertFormattingElement(name,attributes)},modes.inBody.startTagButton=function(name,attributes){tree.openElements.inScope("button")?(tree.parseError("unexpected-start-tag-implies-end-tag",{startName:"button",endName:"button"}),this.processEndTag("button"),tree.insertionMode.processStartTag(name,attributes)):(tree.framesetOk=!1,tree.reconstructActiveFormattingElements(),tree.insertElement(name,attributes))},modes.inBody.startTagAppletMarqueeObject=function(name,attributes){tree.reconstructActiveFormattingElements(),tree.insertElement(name,attributes),tree.activeFormattingElements.push(Marker),tree.framesetOk=!1},modes.inBody.endTagAppletMarqueeObject=function(name){tree.openElements.inScope(name)?(tree.generateImpliedEndTags(),tree.currentStackItem().localName!=name&&tree.parseError("end-tag-too-early",{name:name}),tree.openElements.popUntilPopped(name),tree.clearActiveFormattingElements()):tree.parseError("unexpected-end-tag",{name:name})},modes.inBody.startTagXmp=function(name,attributes){tree.openElements.inButtonScope("p")&&this.processEndTag("p"),tree.reconstructActiveFormattingElements(),tree.processGenericRawTextStartTag(name,attributes),tree.framesetOk=!1},modes.inBody.startTagTable=function(name,attributes){"quirks"!==tree.compatMode&&tree.openElements.inButtonScope("p")&&this.processEndTag("p"),tree.insertElement(name,attributes),tree.setInsertionMode("inTable"),tree.framesetOk=!1},modes.inBody.startTagVoidFormatting=function(name,attributes){tree.reconstructActiveFormattingElements(),tree.insertSelfClosingElement(name,attributes),tree.framesetOk=!1},modes.inBody.startTagParamSourceTrack=function(name,attributes){tree.insertSelfClosingElement(name,attributes)},modes.inBody.startTagHr=function(name,attributes){tree.openElements.inButtonScope("p")&&this.endTagP("p"),tree.insertSelfClosingElement(name,attributes),tree.framesetOk=!1},modes.inBody.startTagImage=function(name,attributes){tree.parseError("unexpected-start-tag-treated-as",{originalName:"image",newName:"img"}),this.processStartTag("img",attributes)},modes.inBody.startTagInput=function(name,attributes){var currentFramesetOk=tree.framesetOk;this.startTagVoidFormatting(name,attributes);for(var key in attributes)if("type"==attributes[key].nodeName){"hidden"==attributes[key].nodeValue.toLowerCase()&&(tree.framesetOk=currentFramesetOk);break}},modes.inBody.startTagIsindex=function(name,attributes){if(tree.parseError("deprecated-tag",{name:"isindex"}),tree.selfClosingFlagAcknowledged=!0,!tree.form){var formAttributes=[],inputAttributes=[],prompt="This is a searchable index. Enter search keywords: ";for(var key in attributes)switch(attributes[key].nodeName){case"action":formAttributes.push({nodeName:"action",nodeValue:attributes[key].nodeValue});break;case"prompt":prompt=attributes[key].nodeValue;break;case"name":break;default:inputAttributes.push({nodeName:attributes[key].nodeName,nodeValue:attributes[key].nodeValue})}inputAttributes.push({nodeName:"name",nodeValue:"isindex"}),this.processStartTag("form",formAttributes),this.processStartTag("hr"),this.processStartTag("label"),this.processCharacters(new CharacterBuffer(prompt)),this.processStartTag("input",inputAttributes),this.processEndTag("label"),this.processStartTag("hr"),this.processEndTag("form")}},modes.inBody.startTagTextarea=function(name,attributes){tree.insertElement(name,attributes),tree.tokenizer.setState(Tokenizer.RCDATA),tree.originalInsertionMode=tree.insertionModeName,tree.shouldSkipLeadingNewline=!0,tree.framesetOk=!1,tree.setInsertionMode("text")},modes.inBody.startTagIFrame=function(name,attributes){tree.framesetOk=!1,this.startTagRawText(name,attributes)},modes.inBody.startTagRawText=function(name,attributes){tree.processGenericRawTextStartTag(name,attributes)},modes.inBody.startTagSelect=function(name,attributes){tree.reconstructActiveFormattingElements(),tree.insertElement(name,attributes),tree.framesetOk=!1;var insertionModeName=tree.insertionModeName;"inTable"==insertionModeName||"inCaption"==insertionModeName||"inColumnGroup"==insertionModeName||"inTableBody"==insertionModeName||"inRow"==insertionModeName||"inCell"==insertionModeName?tree.setInsertionMode("inSelectInTable"):tree.setInsertionMode("inSelect")},modes.inBody.startTagMisplaced=function(name){tree.parseError("unexpected-start-tag-ignored",{name:name})},modes.inBody.endTagMisplaced=function(name){tree.parseError("unexpected-end-tag",{name:name})},modes.inBody.endTagBr=function(name){tree.parseError("unexpected-end-tag-treated-as",{originalName:"br",newName:"br element"}),tree.reconstructActiveFormattingElements(),tree.insertElement(name,[]),tree.popElement()},modes.inBody.startTagOptionOptgroup=function(name,attributes){"option"==tree.currentStackItem().localName&&tree.popElement(),tree.reconstructActiveFormattingElements(),tree.insertElement(name,attributes)},modes.inBody.startTagOther=function(name,attributes){tree.reconstructActiveFormattingElements(),tree.insertElement(name,attributes)},modes.inBody.endTagOther=function(name){for(var node,i=tree.openElements.length-1;i>0;i--){if(node=tree.openElements.item(i),node.localName==name){tree.generateImpliedEndTags(name),tree.currentStackItem().localName!=name&&tree.parseError("unexpected-end-tag",{name:name}),tree.openElements.remove_openElements_until(function(x){return x===node});break}if(node.isSpecial()){tree.parseError("unexpected-end-tag",{name:name});break}}},modes.inBody.startTagMath=function(name,attributes,selfClosing){tree.reconstructActiveFormattingElements(),attributes=tree.adjustMathMLAttributes(attributes),attributes=tree.adjustForeignAttributes(attributes),tree.insertForeignElement(name,attributes,"http://www.w3.org/1998/Math/MathML",selfClosing)},modes.inBody.startTagSVG=function(name,attributes,selfClosing){tree.reconstructActiveFormattingElements(),attributes=tree.adjustSVGAttributes(attributes),attributes=tree.adjustForeignAttributes(attributes),tree.insertForeignElement(name,attributes,"http://www.w3.org/2000/svg",selfClosing)},modes.inBody.endTagP=function(name){tree.openElements.inButtonScope("p")?(tree.generateImpliedEndTags("p"),"p"!=tree.currentStackItem().localName&&tree.parseError("unexpected-implied-end-tag",{name:"p"}),tree.openElements.popUntilPopped(name)):(tree.parseError("unexpected-end-tag",{name:"p"}),this.startTagCloseP("p",[]),this.endTagP("p"))},modes.inBody.endTagBody=function(name){return tree.openElements.inScope("body")?("body"!=tree.currentStackItem().localName&&tree.parseError("expected-one-end-tag-but-got-another",{expectedName:tree.currentStackItem().localName,gotName:name}),tree.setInsertionMode("afterBody"),void 0):(tree.parseError("unexpected-end-tag",{name:name}),void 0)},modes.inBody.endTagHtml=function(name){return tree.openElements.inScope("body")?("body"!=tree.currentStackItem().localName&&tree.parseError("expected-one-end-tag-but-got-another",{expectedName:tree.currentStackItem().localName,gotName:name}),tree.setInsertionMode("afterBody"),tree.insertionMode.processEndTag(name),void 0):(tree.parseError("unexpected-end-tag",{name:name}),void 0)},modes.inBody.endTagBlock=function(name){tree.openElements.inScope(name)?(tree.generateImpliedEndTags(),tree.currentStackItem().localName!=name&&tree.parseError("end-tag-too-early",{name:name}),tree.openElements.popUntilPopped(name)):tree.parseError("unexpected-end-tag",{name:name})},modes.inBody.endTagForm=function(name){var node=tree.form;tree.form=null,node&&tree.openElements.inScope(name)?(tree.generateImpliedEndTags(),tree.currentStackItem()!=node&&tree.parseError("end-tag-too-early-ignored",{name:"form"}),tree.openElements.remove(node)):tree.parseError("unexpected-end-tag",{name:name})},modes.inBody.endTagListItem=function(name){tree.openElements.inListItemScope(name)?(tree.generateImpliedEndTags(name),tree.currentStackItem().localName!=name&&tree.parseError("end-tag-too-early",{name:name}),tree.openElements.popUntilPopped(name)):tree.parseError("unexpected-end-tag",{name:name})},modes.inBody.endTagHeading=function(name){return tree.openElements.hasNumberedHeaderElementInScope()?(tree.generateImpliedEndTags(),tree.currentStackItem().localName!=name&&tree.parseError("end-tag-too-early",{name:name}),tree.openElements.remove_openElements_until(function(e){return e.isNumberedHeader()}),void 0):(tree.parseError("unexpected-end-tag",{name:name}),void 0)},modes.inBody.endTagFormatting=function(name,attributes){tree.adoptionAgencyEndTag(name)||this.endTagOther(name,attributes)},modes.inCaption=Object.create(modes.base),modes.inCaption.start_tag_handlers={html:"startTagHtml",caption:"startTagTableElement",col:"startTagTableElement",colgroup:"startTagTableElement",tbody:"startTagTableElement",td:"startTagTableElement",tfoot:"startTagTableElement",thead:"startTagTableElement",tr:"startTagTableElement","-default":"startTagOther"},modes.inCaption.end_tag_handlers={caption:"endTagCaption",table:"endTagTable",body:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",tbody:"endTagIgnore",td:"endTagIgnore",tfood:"endTagIgnore",thead:"endTagIgnore",tr:"endTagIgnore","-default":"endTagOther"},modes.inCaption.processCharacters=function(data){modes.inBody.processCharacters(data)},modes.inCaption.startTagTableElement=function(name,attributes){tree.parseError("unexpected-end-tag",{name:name});var ignoreEndTag=!tree.openElements.inTableScope("caption");tree.insertionMode.processEndTag("caption"),ignoreEndTag||tree.insertionMode.processStartTag(name,attributes)},modes.inCaption.startTagOther=function(name,attributes,selfClosing){modes.inBody.processStartTag(name,attributes,selfClosing)},modes.inCaption.endTagCaption=function(name){tree.openElements.inTableScope("caption")?(tree.generateImpliedEndTags(),"caption"!=tree.currentStackItem().localName&&tree.parseError("expected-one-end-tag-but-got-another",{gotName:"caption",expectedName:tree.currentStackItem().localName}),tree.openElements.popUntilPopped("caption"),tree.clearActiveFormattingElements(),tree.setInsertionMode("inTable")):(assert.ok(tree.context),tree.parseError("unexpected-end-tag",{name:name}))},modes.inCaption.endTagTable=function(name){tree.parseError("unexpected-end-table-in-caption");var ignoreEndTag=!tree.openElements.inTableScope("caption");tree.insertionMode.processEndTag("caption"),ignoreEndTag||tree.insertionMode.processEndTag(name)},modes.inCaption.endTagIgnore=function(name){tree.parseError("unexpected-end-tag",{name:name})},modes.inCaption.endTagOther=function(name){modes.inBody.processEndTag(name)},modes.inCell=Object.create(modes.base),modes.inCell.start_tag_handlers={html:"startTagHtml",caption:"startTagTableOther",col:"startTagTableOther",colgroup:"startTagTableOther",tbody:"startTagTableOther",td:"startTagTableOther",tfoot:"startTagTableOther",th:"startTagTableOther",thead:"startTagTableOther",tr:"startTagTableOther","-default":"startTagOther"},modes.inCell.end_tag_handlers={td:"endTagTableCell",th:"endTagTableCell",body:"endTagIgnore",caption:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",table:"endTagImply",tbody:"endTagImply",tfoot:"endTagImply",thead:"endTagImply",tr:"endTagImply","-default":"endTagOther"},modes.inCell.processCharacters=function(data){modes.inBody.processCharacters(data)},modes.inCell.startTagTableOther=function(name,attributes,selfClosing){tree.openElements.inTableScope("td")||tree.openElements.inTableScope("th")?(this.closeCell(),tree.insertionMode.processStartTag(name,attributes,selfClosing)):tree.parseError("unexpected-start-tag",{name:name})},modes.inCell.startTagOther=function(name,attributes,selfClosing){modes.inBody.processStartTag(name,attributes,selfClosing)},modes.inCell.endTagTableCell=function(name){tree.openElements.inTableScope(name)?(tree.generateImpliedEndTags(name),tree.currentStackItem().localName!=name.toLowerCase()?(tree.parseError("unexpected-cell-end-tag",{name:name}),tree.openElements.popUntilPopped(name)):tree.popElement(),tree.clearActiveFormattingElements(),tree.setInsertionMode("inRow")):tree.parseError("unexpected-end-tag",{name:name})},modes.inCell.endTagIgnore=function(name){tree.parseError("unexpected-end-tag",{name:name})},modes.inCell.endTagImply=function(name){tree.openElements.inTableScope(name)?(this.closeCell(),tree.insertionMode.processEndTag(name)):tree.parseError("unexpected-end-tag",{name:name})},modes.inCell.endTagOther=function(name){modes.inBody.processEndTag(name)},modes.inCell.closeCell=function(){tree.openElements.inTableScope("td")?this.endTagTableCell("td"):tree.openElements.inTableScope("th")&&this.endTagTableCell("th")},modes.inColumnGroup=Object.create(modes.base),modes.inColumnGroup.start_tag_handlers={html:"startTagHtml",col:"startTagCol","-default":"startTagOther"},modes.inColumnGroup.end_tag_handlers={colgroup:"endTagColgroup",col:"endTagCol","-default":"endTagOther"},modes.inColumnGroup.ignoreEndTagColgroup=function(){return"html"==tree.currentStackItem().localName},modes.inColumnGroup.processCharacters=function(buffer){var leadingWhitespace=buffer.takeLeadingWhitespace();if(leadingWhitespace&&tree.insertText(leadingWhitespace),buffer.length){var ignoreEndTag=this.ignoreEndTagColgroup();this.endTagColgroup("colgroup"),ignoreEndTag||tree.insertionMode.processCharacters(buffer)}},modes.inColumnGroup.startTagCol=function(name,attributes){tree.insertSelfClosingElement(name,attributes)},modes.inColumnGroup.startTagOther=function(name,attributes,selfClosing){var ignoreEndTag=this.ignoreEndTagColgroup();this.endTagColgroup("colgroup"),ignoreEndTag||tree.insertionMode.processStartTag(name,attributes,selfClosing)},modes.inColumnGroup.endTagColgroup=function(name){this.ignoreEndTagColgroup()?(assert.ok(tree.context),tree.parseError("unexpected-end-tag",{name:name})):(tree.popElement(),tree.setInsertionMode("inTable"))},modes.inColumnGroup.endTagCol=function(){tree.parseError("no-end-tag",{name:"col"})},modes.inColumnGroup.endTagOther=function(name){var ignoreEndTag=this.ignoreEndTagColgroup();this.endTagColgroup("colgroup"),ignoreEndTag||tree.insertionMode.processEndTag(name)},modes.inForeignContent=Object.create(modes.base),modes.inForeignContent.processStartTag=function(name,attributes,selfClosing){if(-1!=["b","big","blockquote","body","br","center","code","dd","div","dl","dt","em","embed","h1","h2","h3","h4","h5","h6","head","hr","i","img","li","listing","menu","meta","nobr","ol","p","pre","ruby","s","small","span","strong","strike","sub","sup","table","tt","u","ul","var"].indexOf(name)||"font"==name&&attributes.some(function(attr){return["color","face","size"].indexOf(attr.nodeName)>=0})){for(tree.parseError("unexpected-html-element-in-foreign-content",{name:name});tree.currentStackItem().isForeign()&&!tree.currentStackItem().isHtmlIntegrationPoint()&&!tree.currentStackItem().isMathMLTextIntegrationPoint();)tree.openElements.pop();return tree.insertionMode.processStartTag(name,attributes,selfClosing),void 0}"http://www.w3.org/1998/Math/MathML"==tree.currentStackItem().namespaceURI&&(attributes=tree.adjustMathMLAttributes(attributes)),"http://www.w3.org/2000/svg"==tree.currentStackItem().namespaceURI&&(name=tree.adjustSVGTagNameCase(name),attributes=tree.adjustSVGAttributes(attributes)),attributes=tree.adjustForeignAttributes(attributes),tree.insertForeignElement(name,attributes,tree.currentStackItem().namespaceURI,selfClosing)},modes.inForeignContent.processEndTag=function(name){var node=tree.currentStackItem(),index=tree.openElements.length-1;for(node.localName.toLowerCase()!=name&&tree.parseError("unexpected-end-tag",{name:name});;){if(0===index)break;if(node.localName.toLowerCase()==name){for(;tree.openElements.pop()!=node;);break}if(index-=1,node=tree.openElements.item(index),!node.isForeign()){tree.insertionMode.processEndTag(name);break}}},modes.inForeignContent.processCharacters=function(buffer){var characters=buffer.takeRemaining();characters=characters.replace(/\\u0000/g,function(){return tree.parseError("invalid-codepoint"),"�"}),tree.framesetOk&&!isAllWhitespaceOrReplacementCharacters(characters)&&(tree.framesetOk=!1),tree.insertText(characters)},modes.inHeadNoscript=Object.create(modes.base),modes.inHeadNoscript.start_tag_handlers={html:"startTagHtml",basefont:"startTagBasefontBgsoundLinkMetaNoframesStyle",bgsound:"startTagBasefontBgsoundLinkMetaNoframesStyle",link:"startTagBasefontBgsoundLinkMetaNoframesStyle",meta:"startTagBasefontBgsoundLinkMetaNoframesStyle",noframes:"startTagBasefontBgsoundLinkMetaNoframesStyle",style:"startTagBasefontBgsoundLinkMetaNoframesStyle",head:"startTagHeadNoscript",noscript:"startTagHeadNoscript","-default":"startTagOther"},modes.inHeadNoscript.end_tag_handlers={noscript:"endTagNoscript",br:"endTagBr","-default":"endTagOther"},modes.inHeadNoscript.processCharacters=function(buffer){var leadingWhitespace=buffer.takeLeadingWhitespace();leadingWhitespace&&tree.insertText(leadingWhitespace),buffer.length&&(tree.parseError("unexpected-char-in-frameset"),this.anythingElse(),tree.insertionMode.processCharacters(buffer))},modes.inHeadNoscript.processComment=function(data){modes.inHead.processComment(data)},modes.inHeadNoscript.startTagBasefontBgsoundLinkMetaNoframesStyle=function(name,attributes){modes.inHead.processStartTag(name,attributes)},modes.inHeadNoscript.startTagHeadNoscript=function(name){tree.parseError("unexpected-start-tag-in-frameset",{name:name})},modes.inHeadNoscript.startTagOther=function(name,attributes){tree.parseError("unexpected-start-tag-in-frameset",{name:name}),this.anythingElse(),tree.insertionMode.processStartTag(name,attributes)},modes.inHeadNoscript.endTagBr=function(name,attributes){tree.parseError("unexpected-end-tag-in-frameset",{name:name}),this.anythingElse(),tree.insertionMode.processEndTag(name,attributes)},modes.inHeadNoscript.endTagNoscript=function(){tree.popElement(),tree.setInsertionMode("inHead")},modes.inHeadNoscript.endTagOther=function(name){tree.parseError("unexpected-end-tag-in-frameset",{name:name})},modes.inHeadNoscript.anythingElse=function(){tree.popElement(),tree.setInsertionMode("inHead")},modes.inFrameset=Object.create(modes.base),modes.inFrameset.start_tag_handlers={html:"startTagHtml",frameset:"startTagFrameset",frame:"startTagFrame",noframes:"startTagNoframes","-default":"startTagOther"},modes.inFrameset.end_tag_handlers={frameset:"endTagFrameset",noframes:"endTagNoframes","-default":"endTagOther"},modes.inFrameset.processCharacters=function(){tree.parseError("unexpected-char-in-frameset")},modes.inFrameset.startTagFrameset=function(name,attributes){tree.insertElement(name,attributes)},modes.inFrameset.startTagFrame=function(name,attributes){tree.insertSelfClosingElement(name,attributes)},modes.inFrameset.startTagNoframes=function(name,attributes){modes.inBody.processStartTag(name,attributes)},modes.inFrameset.startTagOther=function(name){tree.parseError("unexpected-start-tag-in-frameset",{name:name})},modes.inFrameset.endTagFrameset=function(){"html"==tree.currentStackItem().localName?tree.parseError("unexpected-frameset-in-frameset-innerhtml"):tree.popElement(),tree.context||"frameset"==tree.currentStackItem().localName||tree.setInsertionMode("afterFrameset")},modes.inFrameset.endTagNoframes=function(name){modes.inBody.processEndTag(name)},modes.inFrameset.endTagOther=function(name){tree.parseError("unexpected-end-tag-in-frameset",{name:name})},modes.inTable=Object.create(modes.base),modes.inTable.start_tag_handlers={html:"startTagHtml",caption:"startTagCaption",colgroup:"startTagColgroup",col:"startTagCol",table:"startTagTable",tbody:"startTagRowGroup",tfoot:"startTagRowGroup",thead:"startTagRowGroup",td:"startTagImplyTbody",th:"startTagImplyTbody",tr:"startTagImplyTbody",style:"startTagStyleScript",script:"startTagStyleScript",input:"startTagInput",form:"startTagForm","-default":"startTagOther"},modes.inTable.end_tag_handlers={table:"endTagTable",body:"endTagIgnore",caption:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",tbody:"endTagIgnore",td:"endTagIgnore",tfoot:"endTagIgnore",th:"endTagIgnore",thead:"endTagIgnore",tr:"endTagIgnore","-default":"endTagOther"},modes.inTable.processCharacters=function(data){if(tree.currentStackItem().isFosterParenting()){var originalInsertionMode=tree.insertionModeName;\ntree.setInsertionMode("inTableText"),tree.originalInsertionMode=originalInsertionMode,tree.insertionMode.processCharacters(data)}else tree.redirectAttachToFosterParent=!0,modes.inBody.processCharacters(data),tree.redirectAttachToFosterParent=!1},modes.inTable.startTagCaption=function(name,attributes){tree.openElements.popUntilTableScopeMarker(),tree.activeFormattingElements.push(Marker),tree.insertElement(name,attributes),tree.setInsertionMode("inCaption")},modes.inTable.startTagColgroup=function(name,attributes){tree.openElements.popUntilTableScopeMarker(),tree.insertElement(name,attributes),tree.setInsertionMode("inColumnGroup")},modes.inTable.startTagCol=function(name,attributes){this.startTagColgroup("colgroup",[]),tree.insertionMode.processStartTag(name,attributes)},modes.inTable.startTagRowGroup=function(name,attributes){tree.openElements.popUntilTableScopeMarker(),tree.insertElement(name,attributes),tree.setInsertionMode("inTableBody")},modes.inTable.startTagImplyTbody=function(name,attributes){this.startTagRowGroup("tbody",[]),tree.insertionMode.processStartTag(name,attributes)},modes.inTable.startTagTable=function(name,attributes){tree.parseError("unexpected-start-tag-implies-end-tag",{startName:"table",endName:"table"}),tree.insertionMode.processEndTag("table"),tree.context||tree.insertionMode.processStartTag(name,attributes)},modes.inTable.startTagStyleScript=function(name,attributes){modes.inHead.processStartTag(name,attributes)},modes.inTable.startTagInput=function(name,attributes){for(var key in attributes)if("type"==attributes[key].nodeName.toLowerCase()){if("hidden"==attributes[key].nodeValue.toLowerCase())return tree.parseError("unexpected-hidden-input-in-table"),tree.insertElement(name,attributes),tree.openElements.pop(),void 0;break}this.startTagOther(name,attributes)},modes.inTable.startTagForm=function(name,attributes){tree.parseError("unexpected-form-in-table"),tree.form||(tree.insertElement(name,attributes),tree.form=tree.currentStackItem(),tree.openElements.pop())},modes.inTable.startTagOther=function(name,attributes,selfClosing){tree.parseError("unexpected-start-tag-implies-table-voodoo",{name:name}),tree.redirectAttachToFosterParent=!0,modes.inBody.processStartTag(name,attributes,selfClosing),tree.redirectAttachToFosterParent=!1},modes.inTable.endTagTable=function(name){tree.openElements.inTableScope(name)?(tree.generateImpliedEndTags(),tree.currentStackItem().localName!=name&&tree.parseError("end-tag-too-early-named",{gotName:"table",expectedName:tree.currentStackItem().localName}),tree.openElements.popUntilPopped("table"),tree.resetInsertionMode()):(assert.ok(tree.context),tree.parseError("unexpected-end-tag",{name:name}))},modes.inTable.endTagIgnore=function(name){tree.parseError("unexpected-end-tag",{name:name})},modes.inTable.endTagOther=function(name){tree.parseError("unexpected-end-tag-implies-table-voodoo",{name:name}),tree.redirectAttachToFosterParent=!0,modes.inBody.processEndTag(name),tree.redirectAttachToFosterParent=!1},modes.inTableText=Object.create(modes.base),modes.inTableText.flushCharacters=function(){var characters=tree.pendingTableCharacters.join("");isAllWhitespace(characters)?tree.insertText(characters):(tree.redirectAttachToFosterParent=!0,tree.reconstructActiveFormattingElements(),tree.insertText(characters),tree.framesetOk=!1,tree.redirectAttachToFosterParent=!1),tree.pendingTableCharacters=[]},modes.inTableText.processComment=function(data){this.flushCharacters(),tree.setInsertionMode(tree.originalInsertionMode),tree.insertionMode.processComment(data)},modes.inTableText.processEOF=function(){this.flushCharacters(),tree.setInsertionMode(tree.originalInsertionMode),tree.insertionMode.processEOF()},modes.inTableText.processCharacters=function(buffer){var characters=buffer.takeRemaining();characters=characters.replace(/\\u0000/g,function(){return tree.parseError("invalid-codepoint"),""}),characters&&tree.pendingTableCharacters.push(characters)},modes.inTableText.processStartTag=function(name,attributes,selfClosing){this.flushCharacters(),tree.setInsertionMode(tree.originalInsertionMode),tree.insertionMode.processStartTag(name,attributes,selfClosing)},modes.inTableText.processEndTag=function(name,attributes){this.flushCharacters(),tree.setInsertionMode(tree.originalInsertionMode),tree.insertionMode.processEndTag(name,attributes)},modes.inTableBody=Object.create(modes.base),modes.inTableBody.start_tag_handlers={html:"startTagHtml",tr:"startTagTr",td:"startTagTableCell",th:"startTagTableCell",caption:"startTagTableOther",col:"startTagTableOther",colgroup:"startTagTableOther",tbody:"startTagTableOther",tfoot:"startTagTableOther",thead:"startTagTableOther","-default":"startTagOther"},modes.inTableBody.end_tag_handlers={table:"endTagTable",tbody:"endTagTableRowGroup",tfoot:"endTagTableRowGroup",thead:"endTagTableRowGroup",body:"endTagIgnore",caption:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",td:"endTagIgnore",th:"endTagIgnore",tr:"endTagIgnore","-default":"endTagOther"},modes.inTableBody.processCharacters=function(data){modes.inTable.processCharacters(data)},modes.inTableBody.startTagTr=function(name,attributes){tree.openElements.popUntilTableBodyScopeMarker(),tree.insertElement(name,attributes),tree.setInsertionMode("inRow")},modes.inTableBody.startTagTableCell=function(name,attributes){tree.parseError("unexpected-cell-in-table-body",{name:name}),this.startTagTr("tr",[]),tree.insertionMode.processStartTag(name,attributes)},modes.inTableBody.startTagTableOther=function(name,attributes){tree.openElements.inTableScope("tbody")||tree.openElements.inTableScope("thead")||tree.openElements.inTableScope("tfoot")?(tree.openElements.popUntilTableBodyScopeMarker(),this.endTagTableRowGroup(tree.currentStackItem().localName),tree.insertionMode.processStartTag(name,attributes)):tree.parseError("unexpected-start-tag",{name:name})},modes.inTableBody.startTagOther=function(name,attributes){modes.inTable.processStartTag(name,attributes)},modes.inTableBody.endTagTableRowGroup=function(name){tree.openElements.inTableScope(name)?(tree.openElements.popUntilTableBodyScopeMarker(),tree.popElement(),tree.setInsertionMode("inTable")):tree.parseError("unexpected-end-tag-in-table-body",{name:name})},modes.inTableBody.endTagTable=function(name){tree.openElements.inTableScope("tbody")||tree.openElements.inTableScope("thead")||tree.openElements.inTableScope("tfoot")?(tree.openElements.popUntilTableBodyScopeMarker(),this.endTagTableRowGroup(tree.currentStackItem().localName),tree.insertionMode.processEndTag(name)):tree.parseError("unexpected-end-tag",{name:name})},modes.inTableBody.endTagIgnore=function(name){tree.parseError("unexpected-end-tag-in-table-body",{name:name})},modes.inTableBody.endTagOther=function(name){modes.inTable.processEndTag(name)},modes.inSelect=Object.create(modes.base),modes.inSelect.start_tag_handlers={html:"startTagHtml",option:"startTagOption",optgroup:"startTagOptgroup",select:"startTagSelect",input:"startTagInput",keygen:"startTagInput",textarea:"startTagInput",script:"startTagScript","-default":"startTagOther"},modes.inSelect.end_tag_handlers={option:"endTagOption",optgroup:"endTagOptgroup",select:"endTagSelect",caption:"endTagTableElements",table:"endTagTableElements",tbody:"endTagTableElements",tfoot:"endTagTableElements",thead:"endTagTableElements",tr:"endTagTableElements",td:"endTagTableElements",th:"endTagTableElements","-default":"endTagOther"},modes.inSelect.processCharacters=function(buffer){var data=buffer.takeRemaining();data=data.replace(/\\u0000/g,function(){return tree.parseError("invalid-codepoint"),""}),data&&tree.insertText(data)},modes.inSelect.startTagOption=function(name,attributes){"option"==tree.currentStackItem().localName&&tree.popElement(),tree.insertElement(name,attributes)},modes.inSelect.startTagOptgroup=function(name,attributes){"option"==tree.currentStackItem().localName&&tree.popElement(),"optgroup"==tree.currentStackItem().localName&&tree.popElement(),tree.insertElement(name,attributes)},modes.inSelect.endTagOption=function(name){return"option"!==tree.currentStackItem().localName?(tree.parseError("unexpected-end-tag-in-select",{name:name}),void 0):(tree.popElement(),void 0)},modes.inSelect.endTagOptgroup=function(){"option"==tree.currentStackItem().localName&&"optgroup"==tree.openElements.item(tree.openElements.length-2).localName&&tree.popElement(),"optgroup"==tree.currentStackItem().localName?tree.popElement():tree.parseError("unexpected-end-tag-in-select",{name:"optgroup"})},modes.inSelect.startTagSelect=function(){tree.parseError("unexpected-select-in-select"),this.endTagSelect("select")},modes.inSelect.endTagSelect=function(name){tree.openElements.inTableScope("select")?(tree.openElements.popUntilPopped("select"),tree.resetInsertionMode()):tree.parseError("unexpected-end-tag",{name:name})},modes.inSelect.startTagInput=function(name,attributes){tree.parseError("unexpected-input-in-select"),tree.openElements.inSelectScope("select")&&(this.endTagSelect("select"),tree.insertionMode.processStartTag(name,attributes))},modes.inSelect.startTagScript=function(name,attributes){modes.inHead.processStartTag(name,attributes)},modes.inSelect.endTagTableElements=function(name){tree.parseError("unexpected-end-tag-in-select",{name:name}),tree.openElements.inTableScope(name)&&(this.endTagSelect("select"),tree.insertionMode.processEndTag(name))},modes.inSelect.startTagOther=function(name){tree.parseError("unexpected-start-tag-in-select",{name:name})},modes.inSelect.endTagOther=function(name){tree.parseError("unexpected-end-tag-in-select",{name:name})},modes.inSelectInTable=Object.create(modes.base),modes.inSelectInTable.start_tag_handlers={caption:"startTagTable",table:"startTagTable",tbody:"startTagTable",tfoot:"startTagTable",thead:"startTagTable",tr:"startTagTable",td:"startTagTable",th:"startTagTable","-default":"startTagOther"},modes.inSelectInTable.end_tag_handlers={caption:"endTagTable",table:"endTagTable",tbody:"endTagTable",tfoot:"endTagTable",thead:"endTagTable",tr:"endTagTable",td:"endTagTable",th:"endTagTable","-default":"endTagOther"},modes.inSelectInTable.processCharacters=function(data){modes.inSelect.processCharacters(data)},modes.inSelectInTable.startTagTable=function(name,attributes){tree.parseError("unexpected-table-element-start-tag-in-select-in-table",{name:name}),this.endTagOther("select"),tree.insertionMode.processStartTag(name,attributes)},modes.inSelectInTable.startTagOther=function(name,attributes,selfClosing){modes.inSelect.processStartTag(name,attributes,selfClosing)},modes.inSelectInTable.endTagTable=function(name){tree.parseError("unexpected-table-element-end-tag-in-select-in-table",{name:name}),tree.openElements.inTableScope(name)&&(this.endTagOther("select"),tree.insertionMode.processEndTag(name))},modes.inSelectInTable.endTagOther=function(name){modes.inSelect.processEndTag(name)},modes.inRow=Object.create(modes.base),modes.inRow.start_tag_handlers={html:"startTagHtml",td:"startTagTableCell",th:"startTagTableCell",caption:"startTagTableOther",col:"startTagTableOther",colgroup:"startTagTableOther",tbody:"startTagTableOther",tfoot:"startTagTableOther",thead:"startTagTableOther",tr:"startTagTableOther","-default":"startTagOther"},modes.inRow.end_tag_handlers={tr:"endTagTr",table:"endTagTable",tbody:"endTagTableRowGroup",tfoot:"endTagTableRowGroup",thead:"endTagTableRowGroup",body:"endTagIgnore",caption:"endTagIgnore",col:"endTagIgnore",colgroup:"endTagIgnore",html:"endTagIgnore",td:"endTagIgnore",th:"endTagIgnore","-default":"endTagOther"},modes.inRow.processCharacters=function(data){modes.inTable.processCharacters(data)},modes.inRow.startTagTableCell=function(name,attributes){tree.openElements.popUntilTableRowScopeMarker(),tree.insertElement(name,attributes),tree.setInsertionMode("inCell"),tree.activeFormattingElements.push(Marker)},modes.inRow.startTagTableOther=function(name,attributes){var ignoreEndTag=this.ignoreEndTagTr();this.endTagTr("tr"),ignoreEndTag||tree.insertionMode.processStartTag(name,attributes)},modes.inRow.startTagOther=function(name,attributes,selfClosing){modes.inTable.processStartTag(name,attributes,selfClosing)},modes.inRow.endTagTr=function(name){this.ignoreEndTagTr()?(assert.ok(tree.context),tree.parseError("unexpected-end-tag",{name:name})):(tree.openElements.popUntilTableRowScopeMarker(),tree.popElement(),tree.setInsertionMode("inTableBody"))},modes.inRow.endTagTable=function(name){var ignoreEndTag=this.ignoreEndTagTr();this.endTagTr("tr"),ignoreEndTag||tree.insertionMode.processEndTag(name)},modes.inRow.endTagTableRowGroup=function(name){tree.openElements.inTableScope(name)?(this.endTagTr("tr"),tree.insertionMode.processEndTag(name)):tree.parseError("unexpected-end-tag",{name:name})},modes.inRow.endTagIgnore=function(name){tree.parseError("unexpected-end-tag-in-table-row",{name:name})},modes.inRow.endTagOther=function(name){modes.inTable.processEndTag(name)},modes.inRow.ignoreEndTagTr=function(){return!tree.openElements.inTableScope("tr")},modes.afterAfterFrameset=Object.create(modes.base),modes.afterAfterFrameset.start_tag_handlers={html:"startTagHtml",noframes:"startTagNoFrames","-default":"startTagOther"},modes.afterAfterFrameset.processEOF=function(){},modes.afterAfterFrameset.processComment=function(data){tree.insertComment(data,tree.document)},modes.afterAfterFrameset.processCharacters=function(buffer){for(var characters=buffer.takeRemaining(),whitespace="",i=0;characters.length>i;i++){var ch=characters[i];isWhitespace(ch)&&(whitespace+=ch)}whitespace&&(tree.reconstructActiveFormattingElements(),tree.insertText(whitespace)),whitespace.length<characters.length&&tree.parseError("expected-eof-but-got-char")},modes.afterAfterFrameset.startTagNoFrames=function(name,attributes){modes.inHead.processStartTag(name,attributes)},modes.afterAfterFrameset.startTagOther=function(name){tree.parseError("expected-eof-but-got-start-tag",{name:name})},modes.afterAfterFrameset.processEndTag=function(name){tree.parseError("expected-eof-but-got-end-tag",{name:name})},modes.text=Object.create(modes.base),modes.text.start_tag_handlers={"-default":"startTagOther"},modes.text.end_tag_handlers={script:"endTagScript","-default":"endTagOther"},modes.text.processCharacters=function(buffer){tree.shouldSkipLeadingNewline&&(tree.shouldSkipLeadingNewline=!1,buffer.skipAtMostOneLeadingNewline());var data=buffer.takeRemaining();data&&tree.insertText(data)},modes.text.processEOF=function(){tree.parseError("expected-named-closing-tag-but-got-eof",{name:tree.currentStackItem().localName}),tree.openElements.pop(),tree.setInsertionMode(tree.originalInsertionMode),tree.insertionMode.processEOF()},modes.text.startTagOther=function(name){throw"Tried to process start tag "+name+" in RCDATA/RAWTEXT mode"},modes.text.endTagScript=function(){var node=tree.openElements.pop();assert.ok("script"==node.localName),tree.setInsertionMode(tree.originalInsertionMode)},modes.text.endTagOther=function(){tree.openElements.pop(),tree.setInsertionMode(tree.originalInsertionMode)}}function formatMessage(format,args){return format.replace(RegExp("{[0-9a-z-]+}","gi"),function(match){return args[match.slice(1,-1)]||match})}var assert=_dereq_("assert"),messages=_dereq_("./messages.json"),constants=_dereq_("./constants");_dereq_("events").EventEmitter;var Tokenizer=_dereq_("./Tokenizer").Tokenizer,ElementStack=_dereq_("./ElementStack").ElementStack,StackItem=_dereq_("./StackItem").StackItem,Marker={};CharacterBuffer.prototype.skipAtMostOneLeadingNewline=function(){"\\n"===this.characters[this.current]&&this.current++},CharacterBuffer.prototype.skipLeadingWhitespace=function(){for(;isWhitespace(this.characters[this.current]);)if(++this.current==this.end)return},CharacterBuffer.prototype.skipLeadingNonWhitespace=function(){for(;!isWhitespace(this.characters[this.current]);)if(++this.current==this.end)return},CharacterBuffer.prototype.takeRemaining=function(){return this.characters.substring(this.current)},CharacterBuffer.prototype.takeLeadingWhitespace=function(){var start=this.current;return this.skipLeadingWhitespace(),start===this.current?"":this.characters.substring(start,this.current-start)},Object.defineProperty(CharacterBuffer.prototype,"length",{get:function(){return this.end-this.current}}),TreeBuilder.prototype.setInsertionMode=function(name){this.insertionMode=this.insertionModes[name],this.insertionModeName=name},TreeBuilder.prototype.adoptionAgencyEndTag=function(name){function isActiveFormattingElement(el){return el===formattingElement}for(var formattingElement,outerIterationLimit=8,innerIterationLimit=3,outerLoopCounter=0;outerIterationLimit>outerLoopCounter++;){if(formattingElement=this.elementInActiveFormattingElements(name),!formattingElement||this.openElements.contains(formattingElement)&&!this.openElements.inScope(formattingElement.localName))return this.parseError("adoption-agency-1.1",{name:name}),!1;if(!this.openElements.contains(formattingElement))return this.parseError("adoption-agency-1.2",{name:name}),this.removeElementFromActiveFormattingElements(formattingElement),!0;this.openElements.inScope(formattingElement.localName)||this.parseError("adoption-agency-4.4",{name:name}),formattingElement!=this.currentStackItem()&&this.parseError("adoption-agency-1.3",{name:name});var furthestBlock=this.openElements.furthestBlockForFormattingElement(formattingElement.node);if(!furthestBlock)return this.openElements.remove_openElements_until(isActiveFormattingElement),this.removeElementFromActiveFormattingElements(formattingElement),!0;for(var afeIndex=this.openElements.elements.indexOf(formattingElement),commonAncestor=this.openElements.item(afeIndex-1),bookmark=this.activeFormattingElements.indexOf(formattingElement),node=furthestBlock,lastNode=furthestBlock,index=this.openElements.elements.indexOf(node),innerLoopCounter=0;innerIterationLimit>innerLoopCounter++;)if(index-=1,node=this.openElements.item(index),0>this.activeFormattingElements.indexOf(node))this.openElements.elements.splice(index,1);else{if(node==formattingElement)break;lastNode==furthestBlock&&(bookmark=this.activeFormattingElements.indexOf(node)+1);var clone=this.createElement(node.namespaceURI,node.localName,node.attributes),newNode=new StackItem(node.namespaceURI,node.localName,node.attributes,clone);this.activeFormattingElements[this.activeFormattingElements.indexOf(node)]=newNode,this.openElements.elements[this.openElements.elements.indexOf(node)]=newNode,node=newNode,this.detachFromParent(lastNode.node),this.attachNode(lastNode.node,node.node),lastNode=node}this.detachFromParent(lastNode.node),commonAncestor.isFosterParenting()?this.insertIntoFosterParent(lastNode.node):this.attachNode(lastNode.node,commonAncestor.node);var clone=this.createElement("http://www.w3.org/1999/xhtml",formattingElement.localName,formattingElement.attributes),formattingClone=new StackItem(formattingElement.namespaceURI,formattingElement.localName,formattingElement.attributes,clone);this.reparentChildren(furthestBlock.node,clone),this.attachNode(clone,furthestBlock.node),this.removeElementFromActiveFormattingElements(formattingElement),this.activeFormattingElements.splice(Math.min(bookmark,this.activeFormattingElements.length),0,formattingClone),this.openElements.remove(formattingElement),this.openElements.elements.splice(this.openElements.elements.indexOf(furthestBlock)+1,0,formattingClone)}return!0},TreeBuilder.prototype.start=function(){throw"Not mplemented"},TreeBuilder.prototype.startTokenization=function(tokenizer){if(this.tokenizer=tokenizer,this.compatMode="no quirks",this.originalInsertionMode="initial",this.framesetOk=!0,this.openElements=new ElementStack,this.activeFormattingElements=[],this.start(),this.context){switch(this.context){case"title":case"textarea":this.tokenizer.setState(Tokenizer.RCDATA);break;case"style":case"xmp":case"iframe":case"noembed":case"noframes":this.tokenizer.setState(Tokenizer.RAWTEXT);break;case"script":this.tokenizer.setState(Tokenizer.SCRIPT_DATA);break;case"noscript":this.scriptingEnabled&&this.tokenizer.setState(Tokenizer.RAWTEXT);break;case"plaintext":this.tokenizer.setState(Tokenizer.PLAINTEXT)}this.insertHtmlElement(),this.resetInsertionMode()}else this.setInsertionMode("initial")},TreeBuilder.prototype.processToken=function(token){this.selfClosingFlagAcknowledged=!1;var insertionMode,currentNode=this.openElements.top||null;switch(insertionMode=!currentNode||!currentNode.isForeign()||currentNode.isMathMLTextIntegrationPoint()&&("StartTag"==token.type&&!(token.name in{mglyph:0,malignmark:0})||"Characters"===token.type)||"http://www.w3.org/1998/Math/MathML"==currentNode.namespaceURI&&"annotation-xml"==currentNode.localName&&"StartTag"==token.type&&"svg"==token.name||currentNode.isHtmlIntegrationPoint()&&token.type in{StartTag:0,Characters:0}||"EOF"==token.type?this.insertionMode:this.insertionModes.inForeignContent,token.type){case"Characters":var buffer=new CharacterBuffer(token.data);insertionMode.processCharacters(buffer);break;case"Comment":insertionMode.processComment(token.data);break;case"StartTag":insertionMode.processStartTag(token.name,token.data,token.selfClosing);break;case"EndTag":insertionMode.processEndTag(token.name);break;case"Doctype":insertionMode.processDoctype(token.name,token.publicId,token.systemId,token.forceQuirks);break;case"EOF":insertionMode.processEOF()}},TreeBuilder.prototype.isCdataSectionAllowed=function(){return this.openElements.length>0&&this.currentStackItem().isForeign()},TreeBuilder.prototype.isSelfClosingFlagAcknowledged=function(){return this.selfClosingFlagAcknowledged},TreeBuilder.prototype.createElement=function(){throw Error("Not implemented")},TreeBuilder.prototype.attachNode=function(){throw Error("Not implemented")},TreeBuilder.prototype.attachNodeToFosterParent=function(){throw Error("Not implemented")},TreeBuilder.prototype.detachFromParent=function(){throw Error("Not implemented")},TreeBuilder.prototype.addAttributesToElement=function(){throw Error("Not implemented")},TreeBuilder.prototype.insertHtmlElement=function(attributes){var root=this.createElement("http://www.w3.org/1999/xhtml","html",attributes);return this.attachNode(root,this.document),this.openElements.pushHtmlElement(new StackItem("http://www.w3.org/1999/xhtml","html",attributes,root)),root},TreeBuilder.prototype.insertHeadElement=function(attributes){var element=this.createElement("http://www.w3.org/1999/xhtml","head",attributes);return this.head=new StackItem("http://www.w3.org/1999/xhtml","head",attributes,element),this.attachNode(element,this.openElements.top.node),this.openElements.pushHeadElement(this.head),element},TreeBuilder.prototype.insertBodyElement=function(attributes){var element=this.createElement("http://www.w3.org/1999/xhtml","body",attributes);return this.attachNode(element,this.openElements.top.node),this.openElements.pushBodyElement(new StackItem("http://www.w3.org/1999/xhtml","body",attributes,element)),element},TreeBuilder.prototype.insertIntoFosterParent=function(node){var tableIndex=this.openElements.findIndex("table"),tableElement=this.openElements.item(tableIndex).node;return 0===tableIndex?this.attachNode(node,tableElement):(this.attachNodeToFosterParent(node,tableElement,this.openElements.item(tableIndex-1).node),void 0)},TreeBuilder.prototype.insertElement=function(name,attributes,namespaceURI,selfClosing){namespaceURI||(namespaceURI="http://www.w3.org/1999/xhtml");var element=this.createElement(namespaceURI,name,attributes);this.shouldFosterParent()?this.insertIntoFosterParent(element):this.attachNode(element,this.openElements.top.node),selfClosing||this.openElements.push(new StackItem(namespaceURI,name,attributes,element))},TreeBuilder.prototype.insertFormattingElement=function(name,attributes){this.insertElement(name,attributes,"http://www.w3.org/1999/xhtml"),this.appendElementToActiveFormattingElements(this.currentStackItem())},TreeBuilder.prototype.insertSelfClosingElement=function(name,attributes){this.selfClosingFlagAcknowledged=!0,this.insertElement(name,attributes,"http://www.w3.org/1999/xhtml",!0)},TreeBuilder.prototype.insertForeignElement=function(name,attributes,namespaceURI,selfClosing){selfClosing&&(this.selfClosingFlagAcknowledged=!0),this.insertElement(name,attributes,namespaceURI,selfClosing)},TreeBuilder.prototype.insertComment=function(){throw Error("Not implemented")},TreeBuilder.prototype.insertDoctype=function(){throw Error("Not implemented")},TreeBuilder.prototype.insertText=function(){throw Error("Not implemented")},TreeBuilder.prototype.currentStackItem=function(){return this.openElements.top},TreeBuilder.prototype.popElement=function(){return this.openElements.pop()},TreeBuilder.prototype.shouldFosterParent=function(){return this.redirectAttachToFosterParent&&this.currentStackItem().isFosterParenting()},TreeBuilder.prototype.generateImpliedEndTags=function(exclude){var name=this.openElements.top.localName;-1!=["dd","dt","li","option","optgroup","p","rp","rt"].indexOf(name)&&name!=exclude&&(this.popElement(),this.generateImpliedEndTags(exclude))},TreeBuilder.prototype.reconstructActiveFormattingElements=function(){if(0!==this.activeFormattingElements.length){var i=this.activeFormattingElements.length-1,entry=this.activeFormattingElements[i];if(entry!=Marker&&!this.openElements.contains(entry)){for(;entry!=Marker&&!this.openElements.contains(entry)&&(i-=1,entry=this.activeFormattingElements[i]););for(;;){i+=1,entry=this.activeFormattingElements[i],this.insertElement(entry.localName,entry.attributes);var element=this.currentStackItem();if(this.activeFormattingElements[i]=element,element==this.activeFormattingElements[this.activeFormattingElements.length-1])break}}}},TreeBuilder.prototype.ensureNoahsArkCondition=function(item){var kNoahsArkCapacity=3;if(!(kNoahsArkCapacity>this.activeFormattingElements.length)){for(var candidates=[],newItemAttributeCount=item.attributes.length,i=this.activeFormattingElements.length-1;i>=0;i--){var candidate=this.activeFormattingElements[i];if(candidate===Marker)break;item.localName===candidate.localName&&item.namespaceURI===candidate.namespaceURI&&candidate.attributes.length==newItemAttributeCount&&candidates.push(candidate)}if(!(kNoahsArkCapacity>candidates.length)){for(var remainingCandidates=[],attributes=item.attributes,i=0;attributes.length>i;i++){for(var attribute=attributes[i],j=0;candidates.length>j;j++){var candidate=candidates[j],candidateAttribute=getAttribute(candidate,attribute.nodeName);candidateAttribute&&candidateAttribute.nodeValue===attribute.nodeValue&&remainingCandidates.push(candidate)}if(kNoahsArkCapacity>remainingCandidates.length)return;candidates=remainingCandidates,remainingCandidates=[]}for(var i=kNoahsArkCapacity-1;candidates.length>i;i++)this.removeElementFromActiveFormattingElements(candidates[i])}}},TreeBuilder.prototype.appendElementToActiveFormattingElements=function(item){this.ensureNoahsArkCondition(item),this.activeFormattingElements.push(item)},TreeBuilder.prototype.removeElementFromActiveFormattingElements=function(item){var index=this.activeFormattingElements.indexOf(item);index>=0&&this.activeFormattingElements.splice(index,1)},TreeBuilder.prototype.elementInActiveFormattingElements=function(name){for(var els=this.activeFormattingElements,i=els.length-1;i>=0&&els[i]!=Marker;i--)if(els[i].localName==name)return els[i];return!1},TreeBuilder.prototype.clearActiveFormattingElements=function(){for(;0!==this.activeFormattingElements.length&&this.activeFormattingElements.pop()!=Marker;);},TreeBuilder.prototype.reparentChildren=function(){throw Error("Not implemented")},TreeBuilder.prototype.setFragmentContext=function(context){this.context=context},TreeBuilder.prototype.parseError=function(code,args){if(this.errorHandler){var message=formatMessage(messages[code],args);this.errorHandler.error(message,this.tokenizer._inputStream.location(),code)}},TreeBuilder.prototype.resetInsertionMode=function(){for(var last=!1,node=null,i=this.openElements.length-1;i>=0;i--){if(node=this.openElements.item(i),0===i&&(assert.ok(this.context),last=!0,node=new StackItem("http://www.w3.org/1999/xhtml",this.context,[],null)),"http://www.w3.org/1999/xhtml"===node.namespaceURI){if("select"===node.localName)return this.setInsertionMode("inSelect");if("td"===node.localName||"th"===node.localName)return this.setInsertionMode("inCell");if("tr"===node.localName)return this.setInsertionMode("inRow");if("tbody"===node.localName||"thead"===node.localName||"tfoot"===node.localName)return this.setInsertionMode("inTableBody");if("caption"===node.localName)return this.setInsertionMode("inCaption");if("colgroup"===node.localName)return this.setInsertionMode("inColumnGroup");if("table"===node.localName)return this.setInsertionMode("inTable");if("head"===node.localName&&!last)return this.setInsertionMode("inHead");if("body"===node.localName)return this.setInsertionMode("inBody");if("frameset"===node.localName)return this.setInsertionMode("inFrameset");if("html"===node.localName)return this.openElements.headElement?this.setInsertionMode("afterHead"):this.setInsertionMode("beforeHead")}if(last)return this.setInsertionMode("inBody")}},TreeBuilder.prototype.processGenericRCDATAStartTag=function(name,attributes){this.insertElement(name,attributes),this.tokenizer.setState(Tokenizer.RCDATA),this.originalInsertionMode=this.insertionModeName,this.setInsertionMode("text")},TreeBuilder.prototype.processGenericRawTextStartTag=function(name,attributes){this.insertElement(name,attributes),this.tokenizer.setState(Tokenizer.RAWTEXT),this.originalInsertionMode=this.insertionModeName,this.setInsertionMode("text")},TreeBuilder.prototype.adjustMathMLAttributes=function(attributes){return attributes.forEach(function(a){a.namespaceURI="http://www.w3.org/1998/Math/MathML",constants.MATHMLAttributeMap[a.nodeName]&&(a.nodeName=constants.MATHMLAttributeMap[a.nodeName])}),attributes},TreeBuilder.prototype.adjustSVGTagNameCase=function(name){return constants.SVGTagMap[name]||name},TreeBuilder.prototype.adjustSVGAttributes=function(attributes){return attributes.forEach(function(a){a.namespaceURI="http://www.w3.org/2000/svg",constants.SVGAttributeMap[a.nodeName]&&(a.nodeName=constants.SVGAttributeMap[a.nodeName])}),attributes},TreeBuilder.prototype.adjustForeignAttributes=function(attributes){for(var i=0;attributes.length>i;i++){var attribute=attributes[i],adjusted=constants.ForeignAttributeMap[attribute.nodeName];adjusted&&(attribute.nodeName=adjusted.localName,attribute.prefix=adjusted.prefix,attribute.namespaceURI=adjusted.namespaceURI)}return attributes},exports.TreeBuilder=TreeBuilder},{"./ElementStack":1,"./StackItem":4,"./Tokenizer":5,"./constants":7,"./messages.json":8,assert:13,events:16}],7:[function(_dereq_,module,exports){exports.SVGTagMap={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},exports.MATHMLAttributeMap={definitionurl:"definitionURL"},exports.SVGAttributeMap={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",externalresourcesacequired:"externalResourcesRequired",filterres:"filterRes",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",acequiredextensions:"acequiredExtensions",acequiredfeatures:"acequiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},exports.ForeignAttributeMap={"xlink:actuate":{prefix:"xlink",localName:"actuate",namespaceURI:"http://www.w3.org/1999/xlink"},"xlink:arcrole":{prefix:"xlink",localName:"arcrole",namespaceURI:"http://www.w3.org/1999/xlink"},"xlink:href":{prefix:"xlink",localName:"href",namespaceURI:"http://www.w3.org/1999/xlink"},"xlink:role":{prefix:"xlink",localName:"role",namespaceURI:"http://www.w3.org/1999/xlink"},"xlink:show":{prefix:"xlink",localName:"show",namespaceURI:"http://www.w3.org/1999/xlink"},"xlink:title":{prefix:"xlink",localName:"title",namespaceURI:"http://www.w3.org/1999/xlink"},"xlink:type":{prefix:"xlink",localName:"title",namespaceURI:"http://www.w3.org/1999/xlink"},"xml:base":{prefix:"xml",localName:"base",namespaceURI:"http://www.w3.org/XML/1998/namespace"},"xml:lang":{prefix:"xml",localName:"lang",namespaceURI:"http://www.w3.org/XML/1998/namespace"},"xml:space":{prefix:"xml",localName:"space",namespaceURI:"http://www.w3.org/XML/1998/namespace"},xmlns:{prefix:null,localName:"xmlns",namespaceURI:"http://www.w3.org/2000/xmlns/"},"xmlns:xlink":{prefix:"xmlns",localName:"xlink",namespaceURI:"http://www.w3.org/2000/xmlns/"}}\n},{}],8:[function(_dereq_,module){module.exports={"null-character":"Null character in input stream, replaced with U+FFFD.","invalid-codepoint":"Invalid codepoint in stream","incorrectly-placed-solidus":"Solidus (/) incorrectly placed in tag.","incorrect-cr-newline-entity":"Incorrect CR newline entity, replaced with LF.","illegal-windows-1252-entity":"Entity used with illegal number (windows-1252 reference).","cant-convert-numeric-entity":"Numeric entity couldn\'t be converted to character (codepoint U+{charAsInt}).","invalid-numeric-entity-replaced":"Numeric entity represents an illegal codepoint. Expanded to the C1 controls range.","numeric-entity-without-semicolon":"Numeric entity didn\'t end with \';\'.","expected-numeric-entity-but-got-eof":"Numeric entity expected. Got end of file instead.","expected-numeric-entity":"Numeric entity expected but none found.","named-entity-without-semicolon":"Named entity didn\'t end with \';\'.","expected-named-entity":"Named entity expected. Got none.","attributes-in-end-tag":"End tag contains unexpected attributes.","self-closing-flag-on-end-tag":"End tag contains unexpected self-closing flag.","bare-less-than-sign-at-eof":"End of file after <.","expected-tag-name-but-got-right-bracket":"Expected tag name. Got \'>\' instead.","expected-tag-name-but-got-question-mark":"Expected tag name. Got \'?\' instead. (HTML doesn\'t support processing instructions.)","expected-tag-name":"Expected tag name. Got something else instead.","expected-closing-tag-but-got-right-bracket":"Expected closing tag. Got \'>\' instead. Ignoring \'</>\'.","expected-closing-tag-but-got-eof":"Expected closing tag. Unexpected end of file.","expected-closing-tag-but-got-char":"Expected closing tag. Unexpected character \'{data}\' found.","eof-in-tag-name":"Unexpected end of file in the tag name.","expected-attribute-name-but-got-eof":"Unexpected end of file. Expected attribute name instead.","eof-in-attribute-name":"Unexpected end of file in attribute name.","invalid-character-in-attribute-name":"Invalid character in attribute name.","duplicate-attribute":"Dropped duplicate attribute \'{name}\' on tag.","expected-end-of-tag-but-got-eof":"Unexpected end of file. Expected = or end of tag.","expected-attribute-value-but-got-eof":"Unexpected end of file. Expected attribute value.","expected-attribute-value-but-got-right-bracket":"Expected attribute value. Got \'>\' instead.","unexpected-character-in-unquoted-attribute-value":"Unexpected character in unquoted attribute","invalid-character-after-attribute-name":"Unexpected character after attribute name.","unexpected-character-after-attribute-value":"Unexpected character after attribute value.","eof-in-attribute-value-double-quote":\'Unexpected end of file in attribute value (").\',"eof-in-attribute-value-single-quote":"Unexpected end of file in attribute value (\').","eof-in-attribute-value-no-quotes":"Unexpected end of file in attribute value.","eof-after-attribute-value":"Unexpected end of file after attribute value.","unexpected-eof-after-solidus-in-tag":"Unexpected end of file in tag. Expected >.","unexpected-character-after-solidus-in-tag":"Unexpected character after / in tag. Expected >.","expected-dashes-or-doctype":"Expected \'--\' or \'DOCTYPE\'. Not found.","unexpected-bang-after-double-dash-in-comment":"Unexpected ! after -- in comment.","incorrect-comment":"Incorrect comment.","eof-in-comment":"Unexpected end of file in comment.","eof-in-comment-end-dash":"Unexpected end of file in comment (-).","unexpected-dash-after-double-dash-in-comment":"Unexpected \'-\' after \'--\' found in comment.","eof-in-comment-double-dash":"Unexpected end of file in comment (--).","eof-in-comment-end-bang-state":"Unexpected end of file in comment.","unexpected-char-in-comment":"Unexpected character in comment found.","need-space-after-doctype":"No space after literal string \'DOCTYPE\'.","expected-doctype-name-but-got-right-bracket":"Unexpected > character. Expected DOCTYPE name.","expected-doctype-name-but-got-eof":"Unexpected end of file. Expected DOCTYPE name.","eof-in-doctype-name":"Unexpected end of file in DOCTYPE name.","eof-in-doctype":"Unexpected end of file in DOCTYPE.","expected-space-or-right-bracket-in-doctype":"Expected space or \'>\'. Got \'{data}\'.","unexpected-end-of-doctype":"Unexpected end of DOCTYPE.","unexpected-char-in-doctype":"Unexpected character in DOCTYPE.","eof-in-bogus-doctype":"Unexpected end of file in bogus doctype.","eof-in-innerhtml":"Unexpected EOF in inner html mode.","unexpected-doctype":"Unexpected DOCTYPE. Ignored.","non-html-root":"html needs to be the first start tag.","expected-doctype-but-got-eof":"Unexpected End of file. Expected DOCTYPE.","unknown-doctype":"Erroneous DOCTYPE. Expected <!DOCTYPE html>.","quirky-doctype":"Quirky doctype. Expected <!DOCTYPE html>.","almost-standards-doctype":"Almost standards mode doctype. Expected <!DOCTYPE html>.","obsolete-doctype":"Obsolete doctype. Expected <!DOCTYPE html>.","expected-doctype-but-got-chars":"Non-space characters found without seeing a doctype first. Expected e.g. <!DOCTYPE html>.","expected-doctype-but-got-start-tag":"Start tag seen without seeing a doctype first. Expected e.g. <!DOCTYPE html>.","expected-doctype-but-got-end-tag":"End tag seen without seeing a doctype first. Expected e.g. <!DOCTYPE html>.","end-tag-after-implied-root":"Unexpected end tag ({name}) after the (implied) root element.","expected-named-closing-tag-but-got-eof":"Unexpected end of file. Expected end tag ({name}).","two-heads-are-not-better-than-one":"Unexpected start tag head in existing head. Ignored.","unexpected-end-tag":"Unexpected end tag ({name}). Ignored.","unexpected-implied-end-tag":"End tag {name} implied, but there were open elements.","unexpected-start-tag-out-of-my-head":"Unexpected start tag ({name}) that can be in head. Moved.","unexpected-start-tag":"Unexpected start tag ({name}).","missing-end-tag":"Missing end tag ({name}).","missing-end-tags":"Missing end tags ({name}).","unexpected-start-tag-implies-end-tag":"Unexpected start tag ({startName}) implies end tag ({endName}).","unexpected-start-tag-treated-as":"Unexpected start tag ({originalName}). Treated as {newName}.","deprecated-tag":"Unexpected start tag {name}. Don\'t use it!","unexpected-start-tag-ignored":"Unexpected start tag {name}. Ignored.","expected-one-end-tag-but-got-another":"Unexpected end tag ({gotName}). Missing end tag ({expectedName}).","end-tag-too-early":"End tag ({name}) seen too early. Expected other end tag.","end-tag-too-early-named":"Unexpected end tag ({gotName}). Expected end tag ({expectedName}.","end-tag-too-early-ignored":"End tag ({name}) seen too early. Ignored.","adoption-agency-1.1":"End tag ({name}) violates step 1, paragraph 1 of the adoption agency algorithm.","adoption-agency-1.2":"End tag ({name}) violates step 1, paragraph 2 of the adoption agency algorithm.","adoption-agency-1.3":"End tag ({name}) violates step 1, paragraph 3 of the adoption agency algorithm.","adoption-agency-4.4":"End tag ({name}) violates step 4, paragraph 4 of the adoption agency algorithm.","unexpected-end-tag-treated-as":"Unexpected end tag ({originalName}). Treated as {newName}.","no-end-tag":"This element ({name}) has no end tag.","unexpected-implied-end-tag-in-table":"Unexpected implied end tag ({name}) in the table phase.","unexpected-implied-end-tag-in-table-body":"Unexpected implied end tag ({name}) in the table body phase.","unexpected-char-implies-table-voodoo":"Unexpected non-space characters in table context caused voodoo mode.","unexpected-hidden-input-in-table":"Unexpected input with type hidden in table context.","unexpected-form-in-table":"Unexpected form in table context.","unexpected-start-tag-implies-table-voodoo":"Unexpected start tag ({name}) in table context caused voodoo mode.","unexpected-end-tag-implies-table-voodoo":"Unexpected end tag ({name}) in table context caused voodoo mode.","unexpected-cell-in-table-body":"Unexpected table cell start tag ({name}) in the table body phase.","unexpected-cell-end-tag":"Got table cell end tag ({name}) while acequired end tags are missing.","unexpected-end-tag-in-table-body":"Unexpected end tag ({name}) in the table body phase. Ignored.","unexpected-implied-end-tag-in-table-row":"Unexpected implied end tag ({name}) in the table row phase.","unexpected-end-tag-in-table-row":"Unexpected end tag ({name}) in the table row phase. Ignored.","unexpected-select-in-select":"Unexpected select start tag in the select phase treated as select end tag.","unexpected-input-in-select":"Unexpected input start tag in the select phase.","unexpected-start-tag-in-select":"Unexpected start tag token ({name}) in the select phase. Ignored.","unexpected-end-tag-in-select":"Unexpected end tag ({name}) in the select phase. Ignored.","unexpected-table-element-start-tag-in-select-in-table":"Unexpected table element start tag ({name}) in the select in table phase.","unexpected-table-element-end-tag-in-select-in-table":"Unexpected table element end tag ({name}) in the select in table phase.","unexpected-char-after-body":"Unexpected non-space characters in the after body phase.","unexpected-start-tag-after-body":"Unexpected start tag token ({name}) in the after body phase.","unexpected-end-tag-after-body":"Unexpected end tag token ({name}) in the after body phase.","unexpected-char-in-frameset":"Unepxected characters in the frameset phase. Characters ignored.","unexpected-start-tag-in-frameset":"Unexpected start tag token ({name}) in the frameset phase. Ignored.","unexpected-frameset-in-frameset-innerhtml":"Unexpected end tag token (frameset in the frameset phase (innerHTML).","unexpected-end-tag-in-frameset":"Unexpected end tag token ({name}) in the frameset phase. Ignored.","unexpected-char-after-frameset":"Unexpected non-space characters in the after frameset phase. Ignored.","unexpected-start-tag-after-frameset":"Unexpected start tag ({name}) in the after frameset phase. Ignored.","unexpected-end-tag-after-frameset":"Unexpected end tag ({name}) in the after frameset phase. Ignored.","expected-eof-but-got-char":"Unexpected non-space characters. Expected end of file.","expected-eof-but-got-start-tag":"Unexpected start tag ({name}). Expected end of file.","expected-eof-but-got-end-tag":"Unexpected end tag ({name}). Expected end of file.","unexpected-end-table-in-caption":"Unexpected end table tag in caption. Generates implied end caption.","end-html-in-innerhtml":"Unexpected html end tag in inner html mode.","eof-in-table":"Unexpected end of file. Expected table content.","eof-in-script":"Unexpected end of file. Expected script content.","non-void-element-with-trailing-solidus":"Trailing solidus not allowed on element {name}.","unexpected-html-element-in-foreign-content":\'HTML start tag "{name}" in a foreign namespace context.\',"unexpected-start-tag-in-table":"Unexpected {name}. Expected table content."}},{}],9:[function(_dereq_,module,exports){function SAXParser(){this.contentHandler=null,this._errorHandler=null,this._treeBuilder=new SAXTreeBuilder,this._tokenizer=new Tokenizer(this._treeBuilder),this._scriptingEnabled=!1}var SAXTreeBuilder=_dereq_("./SAXTreeBuilder").SAXTreeBuilder,Tokenizer=_dereq_("../Tokenizer").Tokenizer,TreeParser=_dereq_("./TreeParser").TreeParser;SAXParser.prototype.parse=function(source){this._tokenizer.tokenize(source);var document=this._treeBuilder.document;document&&new TreeParser(this.contentHandler).parse(document)},SAXParser.prototype.parseFragment=function(source,context){this._treeBuilder.setFragmentContext(context),this._tokenizer.tokenize(source);var fragment=this._treeBuilder.getFragment();fragment&&new TreeParser(this.contentHandler).parse(fragment)},Object.defineProperty(SAXParser.prototype,"scriptingEnabled",{get:function(){return this._scriptingEnabled},set:function(value){this._scriptingEnabled=value,this._treeBuilder.scriptingEnabled=value}}),Object.defineProperty(SAXParser.prototype,"errorHandler",{get:function(){return this._errorHandler},set:function(value){this._errorHandler=value,this._treeBuilder.errorHandler=value}}),exports.SAXParser=SAXParser},{"../Tokenizer":5,"./SAXTreeBuilder":10,"./TreeParser":11}],10:[function(_dereq_,module,exports){function SAXTreeBuilder(){TreeBuilder.call(this)}function getAttribute(node,name){for(var i=0;node.attributes.length>i;i++){var attribute=node.attributes[i];if(attribute.nodeName===name)return attribute.nodeValue}}function Node(locator){locator?(this.columnNumber=locator.columnNumber,this.lineNumber=locator.lineNumber):(this.columnNumber=-1,this.lineNumber=-1),this.parentNode=null,this.nextSibling=null,this.firstChild=null}function ParentNode(locator){Node.call(this,locator),this.lastChild=null,this._endLocator=null}function Document(locator){ParentNode.call(this,locator),this.nodeType=NodeType.DOCUMENT}function DocumentFragment(){ParentNode.call(this,new Locator),this.nodeType=NodeType.DOCUMENT_FRAGMENT}function Element(locator,uri,localName,qName,atts,prefixMappings){ParentNode.call(this,locator),this.uri=uri,this.localName=localName,this.qName=qName,this.attributes=atts,this.prefixMappings=prefixMappings,this.nodeType=NodeType.ELEMENT}function Characters(locator,data){Node.call(this,locator),this.data=data,this.nodeType=NodeType.CHARACTERS}function IgnorableWhitespace(locator,data){Node.call(this,locator),this.data=data,this.nodeType=NodeType.IGNORABLE_WHITESPACE}function Comment(locator,data){Node.call(this,locator),this.data=data,this.nodeType=NodeType.COMMENT}function CDATA(locator){ParentNode.call(this,locator),this.nodeType=NodeType.CDATA}function Entity(name){ParentNode.call(this),this.name=name,this.nodeType=NodeType.ENTITY}function SkippedEntity(name){Node.call(this),this.name=name,this.nodeType=NodeType.SKIPPED_ENTITY}function ProcessingInstruction(target,data){Node.call(this),this.target=target,this.data=data}function DTD(name,publicIdentifier,systemIdentifier){ParentNode.call(this),this.name=name,this.publicIdentifier=publicIdentifier,this.systemIdentifier=systemIdentifier,this.nodeType=NodeType.DTD}var util=_dereq_("util"),TreeBuilder=_dereq_("../TreeBuilder").TreeBuilder;util.inherits(SAXTreeBuilder,TreeBuilder),SAXTreeBuilder.prototype.start=function(){this.document=new Document(this.tokenizer)},SAXTreeBuilder.prototype.end=function(){this.document.endLocator=this.tokenizer},SAXTreeBuilder.prototype.insertDoctype=function(name,publicId,systemId){var doctype=new DTD(this.tokenizer,name,publicId,systemId);doctype.endLocator=this.tokenizer,this.document.appendChild(doctype)},SAXTreeBuilder.prototype.createElement=function(namespaceURI,localName,attributes){var element=new Element(this.tokenizer,namespaceURI,localName,localName,attributes||[]);return element},SAXTreeBuilder.prototype.insertComment=function(data,parent){parent||(parent=this.currentStackItem());var comment=new Comment(this.tokenizer,data);parent.appendChild(comment)},SAXTreeBuilder.prototype.appendCharacters=function(parent,data){var text=new Characters(this.tokenizer,data);parent.appendChild(text)},SAXTreeBuilder.prototype.insertText=function(data){if(this.redirectAttachToFosterParent&&this.openElements.top.isFosterParenting()){var tableIndex=this.openElements.findIndex("table"),tableItem=this.openElements.item(tableIndex),table=tableItem.node;if(0===tableIndex)return this.appendCharacters(table,data);var text=new Characters(this.tokenizer,data),parent=table.parentNode;if(parent)return parent.insertBetween(text,table.previousSibling,table),void 0;var stackParent=this.openElements.item(tableIndex-1).node;return stackParent.appendChild(text),void 0}this.appendCharacters(this.currentStackItem().node,data)},SAXTreeBuilder.prototype.attachNode=function(node,parent){parent.appendChild(node)},SAXTreeBuilder.prototype.attachNodeToFosterParent=function(child,table,stackParent){var parent=table.parentNode;parent?parent.insertBetween(child,table.previousSibling,table):stackParent.appendChild(child)},SAXTreeBuilder.prototype.detachFromParent=function(element){element.detach()},SAXTreeBuilder.prototype.reparentChildren=function(oldParent,newParent){newParent.appendChildren(oldParent.firstChild)},SAXTreeBuilder.prototype.getFragment=function(){var fragment=new DocumentFragment;return this.reparentChildren(this.openElements.rootNode,fragment),fragment},SAXTreeBuilder.prototype.addAttributesToElement=function(element,attributes){for(var i=0;attributes.length>i;i++){var attribute=attributes[i];getAttribute(element,attribute.nodeName)||element.attributes.push(attribute)}};var NodeType={CDATA:1,CHARACTERS:2,COMMENT:3,DOCUMENT:4,DOCUMENT_FRAGMENT:5,DTD:6,ELEMENT:7,ENTITY:8,IGNORABLE_WHITESPACE:9,PROCESSING_INSTRUCTION:10,SKIPPED_ENTITY:11};Node.prototype.visit=function(){throw Error("Not Implemented")},Node.prototype.revisit=function(){},Node.prototype.detach=function(){null!==this.parentNode&&(this.parentNode.removeChild(this),this.parentNode=null)},Object.defineProperty(Node.prototype,"previousSibling",{get:function(){for(var prev=null,next=this.parentNode.firstChild;;){if(this==next)return prev;prev=next,next=next.nextSibling}}}),ParentNode.prototype=Object.create(Node.prototype),ParentNode.prototype.insertBefore=function(child,sibling){if(!sibling)return this.appendChild(child);if(child.detach(),child.parentNode=this,this.firstChild==sibling)child.nextSibling=sibling,this.firstChild=child;else{for(var prev=this.firstChild,next=this.firstChild.nextSibling;next!=sibling;)prev=next,next=next.nextSibling;prev.nextSibling=child,child.nextSibling=next}return child},ParentNode.prototype.insertBetween=function(child,prev,next){return next?(child.detach(),child.parentNode=this,child.nextSibling=next,prev?prev.nextSibling=child:firstChild=child,child):this.appendChild(child)},ParentNode.prototype.appendChild=function(child){return child.detach(),child.parentNode=this,this.firstChild?this.lastChild.nextSibling=child:this.firstChild=child,this.lastChild=child,child},ParentNode.prototype.appendChildren=function(parent){var child=parent.firstChild;if(child){var another=parent;this.firstChild?this.lastChild.nextSibling=child:this.firstChild=child,this.lastChild=another.lastChild;do child.parentNode=this;while(child=child.nextSibling);another.firstChild=null,another.lastChild=null}},ParentNode.prototype.removeChild=function(node){if(this.firstChild==node)this.firstChild=node.nextSibling,this.lastChild==node&&(this.lastChild=null);else{for(var prev=this.firstChild,next=this.firstChild.nextSibling;next!=node;)prev=next,next=next.nextSibling;prev.nextSibling=node.nextSibling,this.lastChild==node&&(this.lastChild=prev)}return node.parentNode=null,node},Object.defineProperty(ParentNode.prototype,"endLocator",{get:function(){return this._endLocator},set:function(endLocator){this._endLocator={lineNumber:endLocator.lineNumber,columnNumber:endLocator.columnNumber}}}),Document.prototype=Object.create(ParentNode.prototype),Document.prototype.visit=function(treeParser){treeParser.startDocument(this)},Document.prototype.revisit=function(treeParser){treeParser.endDocument(this.endLocator)},DocumentFragment.prototype=Object.create(ParentNode.prototype),DocumentFragment.prototype.visit=function(){},Element.prototype=Object.create(ParentNode.prototype),Element.prototype.visit=function(treeParser){if(this.prefixMappings)for(var key in prefixMappings){var mapping=prefixMappings[key];treeParser.startPrefixMapping(mapping.getPrefix(),mapping.getUri(),this)}treeParser.startElement(this.uri,this.localName,this.qName,this.attributes,this)},Element.prototype.revisit=function(treeParser){if(treeParser.endElement(this.uri,this.localName,this.qName,this.endLocator),this.prefixMappings)for(var key in prefixMappings){var mapping=prefixMappings[key];treeParser.endPrefixMapping(mapping.getPrefix(),this.endLocator)}},Characters.prototype=Object.create(Node.prototype),Characters.prototype.visit=function(treeParser){treeParser.characters(this.data,0,this.data.length,this)},IgnorableWhitespace.prototype=Object.create(Node.prototype),IgnorableWhitespace.prototype.visit=function(treeParser){treeParser.ignorableWhitespace(this.data,0,this.data.length,this)},Comment.prototype=Object.create(Node.prototype),Comment.prototype.visit=function(treeParser){treeParser.comment(this.data,0,this.data.length,this)},CDATA.prototype=Object.create(ParentNode.prototype),CDATA.prototype.visit=function(treeParser){treeParser.startCDATA(this)},CDATA.prototype.revisit=function(treeParser){treeParser.endCDATA(this.endLocator)},Entity.prototype=Object.create(ParentNode.prototype),Entity.prototype.visit=function(treeParser){treeParser.startEntity(this.name,this)},Entity.prototype.revisit=function(treeParser){treeParser.endEntity(this.name)},SkippedEntity.prototype=Object.create(Node.prototype),SkippedEntity.prototype.visit=function(treeParser){treeParser.skippedEntity(this.name,this)},ProcessingInstruction.prototype=Object.create(Node.prototype),ProcessingInstruction.prototype.visit=function(treeParser){treeParser.processingInstruction(this.target,this.data,this)},ProcessingInstruction.prototype.getNodeType=function(){return NodeType.PROCESSING_INSTRUCTION},DTD.prototype=Object.create(ParentNode.prototype),DTD.prototype.visit=function(treeParser){treeParser.startDTD(this.name,this.publicIdentifier,this.systemIdentifier,this)},DTD.prototype.revisit=function(treeParser){treeParser.endDTD()},exports.SAXTreeBuilder=SAXTreeBuilder},{"../TreeBuilder":6,util:20}],11:[function(_dereq_,module,exports){function TreeParser(contentHandler,lexicalHandler){if(this.contentHandler,this.lexicalHandler,this.locatorDelegate,!contentHandler)throw new IllegalArgumentException("contentHandler was null.");this.contentHandler=contentHandler,this.lexicalHandler=lexicalHandler?lexicalHandler:new NullLexicalHandler}function NullLexicalHandler(){}TreeParser.prototype.parse=function(node){this.contentHandler.documentLocator=this;for(var next,current=node;;)if(current.visit(this),next=current.firstChild)current=next;else for(;;){if(current.revisit(this),current==node)return;if(next=current.nextSibling){current=next;break}current=current.parentNode}},TreeParser.prototype.characters=function(ch,start,length,locator){this.locatorDelegate=locator,this.contentHandler.characters(ch,start,length)},TreeParser.prototype.endDocument=function(locator){this.locatorDelegate=locator,this.contentHandler.endDocument()},TreeParser.prototype.endElement=function(uri,localName,qName,locator){this.locatorDelegate=locator,this.contentHandler.endElement(uri,localName,qName)},TreeParser.prototype.endPrefixMapping=function(prefix,locator){this.locatorDelegate=locator,this.contentHandler.endPrefixMapping(prefix)},TreeParser.prototype.ignorableWhitespace=function(ch,start,length,locator){this.locatorDelegate=locator,this.contentHandler.ignorableWhitespace(ch,start,length)},TreeParser.prototype.processingInstruction=function(target,data,locator){this.locatorDelegate=locator,this.contentHandler.processingInstruction(target,data)},TreeParser.prototype.skippedEntity=function(name,locator){this.locatorDelegate=locator,this.contentHandler.skippedEntity(name)},TreeParser.prototype.startDocument=function(locator){this.locatorDelegate=locator,this.contentHandler.startDocument()},TreeParser.prototype.startElement=function(uri,localName,qName,atts,locator){this.locatorDelegate=locator,this.contentHandler.startElement(uri,localName,qName,atts)},TreeParser.prototype.startPrefixMapping=function(prefix,uri,locator){this.locatorDelegate=locator,this.contentHandler.startPrefixMapping(prefix,uri)},TreeParser.prototype.comment=function(ch,start,length,locator){this.locatorDelegate=locator,this.lexicalHandler.comment(ch,start,length)},TreeParser.prototype.endCDATA=function(locator){this.locatorDelegate=locator,this.lexicalHandler.endCDATA()},TreeParser.prototype.endDTD=function(locator){this.locatorDelegate=locator,this.lexicalHandler.endDTD()},TreeParser.prototype.endEntity=function(name,locator){this.locatorDelegate=locator,this.lexicalHandler.endEntity(name)},TreeParser.prototype.startCDATA=function(locator){this.locatorDelegate=locator,this.lexicalHandler.startCDATA()},TreeParser.prototype.startDTD=function(name,publicId,systemId,locator){this.locatorDelegate=locator,this.lexicalHandler.startDTD(name,publicId,systemId)},TreeParser.prototype.startEntity=function(name,locator){this.locatorDelegate=locator,this.lexicalHandler.startEntity(name)},Object.defineProperty(TreeParser.prototype,"columnNumber",{get:function(){return this.locatorDelegate?this.locatorDelegate.columnNumber:-1}}),Object.defineProperty(TreeParser.prototype,"lineNumber",{get:function(){return this.locatorDelegate?this.locatorDelegate.lineNumber:-1}}),NullLexicalHandler.prototype.comment=function(){},NullLexicalHandler.prototype.endCDATA=function(){},NullLexicalHandler.prototype.endDTD=function(){},NullLexicalHandler.prototype.endEntity=function(){},NullLexicalHandler.prototype.startCDATA=function(){},NullLexicalHandler.prototype.startDTD=function(){},NullLexicalHandler.prototype.startEntity=function(){},exports.TreeParser=TreeParser},{}],12:[function(_dereq_,module){module.exports={"Aacute;":"Á",Aacute:"Á","aacute;":"á",aacute:"á","Abreve;":"Ă","abreve;":"ă","ac;":"∾","acd;":"∿","acE;":"∾̳","Acirc;":"Â",Acirc:"Â","acirc;":"â",acirc:"â","acute;":"´",acute:"´","Acy;":"А","acy;":"а","AElig;":"Æ",AElig:"Æ","aelig;":"æ",aelig:"æ","af;":"⁡","Afr;":"𝔄","afr;":"𝔞","Agrave;":"À",Agrave:"À","agrave;":"à",agrave:"à","alefsym;":"ℵ","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","amp;":"&",amp:"&","AMP;":"&",AMP:"&","andand;":"⩕","And;":"⩓","and;":"∧","andd;":"⩜","andslope;":"⩘","andv;":"⩚","ang;":"∠","ange;":"⦤","angle;":"∠","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angmsd;":"∡","angrt;":"∟","angrtvb;":"⊾","angrtvbd;":"⦝","angsph;":"∢","angst;":"Å","angzarr;":"⍼","Aogon;":"Ą","aogon;":"ą","Aopf;":"𝔸","aopf;":"𝕒","apacir;":"⩯","ap;":"≈","apE;":"⩰","ape;":"≊","apid;":"≋","apos;":"\'","ApplyFunction;":"⁡","approx;":"≈","approxeq;":"≊","Aring;":"Å",Aring:"Å","aring;":"å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Assign;":"≔","ast;":"*","asymp;":"≈","asympeq;":"≍","Atilde;":"Ã",Atilde:"Ã","atilde;":"ã",atilde:"ã","Auml;":"Ä",Auml:"Ä","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;":"¦",brvbar:"¦","bscr;":"𝒷","Bscr;":"ℬ","bsemi;":"⁏","bsim;":"∽","bsime;":"⋍","bsolb;":"⧅","bsol;":"\\\\","bsolhsub;":"⟈","bull;":"•","bullet;":"•","bump;":"≎","bumpE;":"⪮","bumpe;":"≏","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","capand;":"⩄","capbrcup;":"⩉","capcap;":"⩋","cap;":"∩","Cap;":"⋒","capcup;":"⩇","capdot;":"⩀","CapitalDifferentialD;":"ⅅ","caps;":"∩︀","caret;":"⁁","caron;":"ˇ","Cayleys;":"ℭ","ccaps;":"⩍","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç",Ccedil:"Ç","ccedil;":"ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","Cconint;":"∰","ccups;":"⩌","ccupssm;":"⩐","Cdot;":"Ċ","cdot;":"ċ","cedil;":"¸",cedil:"¸","Cedilla;":"¸","cemptyv;":"⦲","cent;":"¢",cent:"¢","centerdot;":"·","CenterDot;":"·","cfr;":"𝔠","Cfr;":"ℭ","CHcy;":"Ч","chcy;":"ч","check;":"✓","checkmark;":"✓","Chi;":"Χ","chi;":"χ","circ;":"ˆ","circeq;":"≗","circlearrowleft;":"↺","circlearrowright;":"↻","circledast;":"⊛","circledcirc;":"⊚","circleddash;":"⊝","CircleDot;":"⊙","circledR;":"®","circledS;":"Ⓢ","CircleMinus;":"⊖","CirclePlus;":"⊕","CircleTimes;":"⊗","cir;":"○","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:"©","COPY;":"©",COPY:"©","copysr;":"℗","CounterClockwiseContourIntegral;":"∳","crarr;":"↵","cross;":"✗","Cross;":"⨯","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csube;":"⫑","csup;":"⫐","csupe;":"⫒","ctdot;":"⋯","cudarrl;":"⤸","cudarrr;":"⤵","cuepr;":"⋞","cuesc;":"⋟","cularr;":"↶","cularrp;":"⤽","cupbrcap;":"⩈","cupcap;":"⩆","CupCap;":"≍","cup;":"∪","Cup;":"⋓","cupcup;":"⩊","cupdot;":"⊍","cupor;":"⩅","cups;":"∪︀","curarr;":"↷","curarrm;":"⤼","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","curlyvee;":"⋎","curlywedge;":"⋏","curren;":"¤",curren:"¤","curvearrowleft;":"↶","curvearrowright;":"↷","cuvee;":"⋎","cuwed;":"⋏","cwconint;":"∲","cwint;":"∱","cylcty;":"⌭","dagger;":"†","Dagger;":"‡","daleth;":"ℸ","darr;":"↓","Darr;":"↡","dArr;":"⇓","dash;":"‐","Dashv;":"⫤","dashv;":"⊣","dbkarow;":"⤏","dblac;":"˝","Dcaron;":"Ď","dcaron;":"ď","Dcy;":"Д","dcy;":"д","ddagger;":"‡","ddarr;":"⇊","DD;":"ⅅ","dd;":"ⅆ","DDotrahd;":"⤑","ddotseq;":"⩷","deg;":"°",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;":"÷",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;":"∥","DownArrowBar;":"⤓","downarrow;":"↓","DownArrow;":"↓","Downarrow;":"⇓","DownArrowUpArrow;":"⇵","DownBreve;":"̑","downdownarrows;":"⇊","downharpoonleft;":"⇃","downharpoonright;":"⇂","DownLeftRightVector;":"⥐","DownLeftTeeVector;":"⥞","DownLeftVectorBar;":"⥖","DownLeftVector;":"↽","DownRightTeeVector;":"⥟","DownRightVectorBar;":"⥗","DownRightVector;":"⇁","DownTeeArrow;":"↧","DownTee;":"⊤","drbkarow;":"⤐","drcorn;":"⌟","drcrop;":"⌌","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","Dstrok;":"Đ","dstrok;":"đ","dtdot;":"⋱","dtri;":"▿","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯","dwangle;":"⦦","DZcy;":"Џ","dzcy;":"џ","dzigrarr;":"⟿","Eacute;":"É",Eacute:"É","eacute;":"é",eacute:"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","Ecirc;":"Ê",Ecirc:"Ê","ecirc;":"ê",ecirc:"ê","ecir;":"≖","ecolon;":"≕","Ecy;":"Э","ecy;":"э","eDDot;":"⩷","Edot;":"Ė","edot;":"ė","eDot;":"≑","ee;":"ⅇ","efDot;":"≒","Efr;":"𝔈","efr;":"𝔢","eg;":"⪚","Egrave;":"È",Egrave:"È","egrave;":"è",egrave:"è","egs;":"⪖","egsdot;":"⪘","el;":"⪙","Element;":"∈","elinters;":"⏧","ell;":"ℓ","els;":"⪕","elsdot;":"⪗","Emacr;":"Ē","emacr;":"ē","empty;":"∅","emptyset;":"∅","EmptySmallSquare;":"◻","emptyv;":"∅","EmptyVerySmallSquare;":"▫","emsp13;":" ","emsp14;":" ","emsp;":" ","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:"Ð","eth;":"ð",eth:"ð","Euml;":"Ë",Euml:"Ë","euml;":"ë",euml:"ë","euro;":"€","excl;":"!","exist;":"∃","Exists;":"∃","expectation;":"ℰ","exponentiale;":"ⅇ","ExponentialE;":"ⅇ","fallingdotseq;":"≒","Fcy;":"Ф","fcy;":"ф","female;":"♀","ffilig;":"ﬃ","fflig;":"ﬀ","ffllig;":"ﬄ","Ffr;":"𝔉","ffr;":"𝔣","filig;":"ﬁ","FilledSmallSquare;":"◼","FilledVerySmallSquare;":"▪","fjlig;":"fj","flat;":"♭","fllig;":"ﬂ","fltns;":"▱","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","forall;":"∀","ForAll;":"∀","fork;":"⋔","forkv;":"⫙","Fouriertrf;":"ℱ","fpartint;":"⨍","frac12;":"½",frac12:"½","frac13;":"⅓","frac14;":"¼",frac14:"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾",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;":"⩾","gescc;":"⪩","ges;":"⩾","gesdot;":"⪀","gesdoto;":"⪂","gesdotol;":"⪄","gesl;":"⋛︀","gesles;":"⪔","Gfr;":"𝔊","gfr;":"𝔤","gg;":"≫","Gg;":"⋙","ggg;":"⋙","gimel;":"ℷ","GJcy;":"Ѓ","gjcy;":"ѓ","gla;":"⪥","gl;":"≷","glE;":"⪒","glj;":"⪤","gnap;":"⪊","gnapprox;":"⪊","gne;":"⪈","gnE;":"≩","gneq;":"⪈","gneqq;":"≩","gnsim;":"⋧","Gopf;":"𝔾","gopf;":"𝕘","grave;":"`","GreaterEqual;":"≥","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","GreaterGreater;":"⪢","GreaterLess;":"≷","GreaterSlantEqual;":"⩾","GreaterTilde;":"≳","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gsime;":"⪎","gsiml;":"⪐","gtcc;":"⪧","gtcir;":"⩺","gt;":">",gt:">","GT;":">",GT:">","Gt;":"≫","gtdot;":"⋗","gtlPar;":"⦕","gtquest;":"⩼","gtrapprox;":"⪆","gtrarr;":"⥸","gtrdot;":"⋗","gtreqless;":"⋛","gtreqqless;":"⪌","gtrless;":"≷","gtrsim;":"≳","gvertneqq;":"≩︀","gvnE;":"≩︀","Hacek;":"ˇ","hairsp;":" ","half;":"½","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","harrcir;":"⥈","harr;":"↔","hArr;":"⇔","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:"Í","iacute;":"í",iacute:"í","ic;":"⁣","Icirc;":"Î",Icirc:"Î","icirc;":"î",icirc:"î","Icy;":"И","icy;":"и","Idot;":"İ","IEcy;":"Е","iecy;":"е","iexcl;":"¡",iexcl:"¡","iff;":"⇔","ifr;":"𝔦","Ifr;":"ℑ","Igrave;":"Ì",Igrave:"Ì","igrave;":"ì",igrave:"ì","ii;":"ⅈ","iiiint;":"⨌","iiint;":"∭","iinfin;":"⧜","iiota;":"℩","IJlig;":"Ĳ","ijlig;":"ĳ","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","ImaginaryI;":"ⅈ","imagline;":"ℐ","imagpart;":"ℑ","imath;":"ı","Im;":"ℑ","imof;":"⊷","imped;":"Ƶ","Implies;":"⇒","incare;":"℅","in;":"∈","infin;":"∞","infintie;":"⧝","inodot;":"ı","intcal;":"⊺","int;":"∫","Int;":"∬","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","Intersection;":"⋂","intlarhk;":"⨗","intprod;":"⨼","InvisibleComma;":"⁣","InvisibleTimes;":"⁢","IOcy;":"Ё","iocy;":"ё","Iogon;":"Į","iogon;":"į","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","iprod;":"⨼","iquest;":"¿",iquest:"¿","iscr;":"𝒾","Iscr;":"ℐ","isin;":"∈","isindot;":"⋵","isinE;":"⋹","isins;":"⋴","isinsv;":"⋳","isinv;":"∈","it;":"⁢","Itilde;":"Ĩ","itilde;":"ĩ","Iukcy;":"І","iukcy;":"і","Iuml;":"Ï",Iuml:"Ï","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;":"«",laquo:"«","larrb;":"⇤","larrbfs;":"⤟","larr;":"←","Larr;":"↞","lArr;":"⇐","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrsim;":"⥳","larrtl;":"↢","latail;":"⤙","lAtail;":"⤛","lat;":"⪫","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;":"⟨","LeftArrowBar;":"⇤","leftarrow;":"←","LeftArrow;":"←","Leftarrow;":"⇐","LeftArrowRightArrow;":"⇆","leftarrowtail;":"↢","LeftCeiling;":"⌈","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVectorBar;":"⥙","LeftDownVector;":"⇃","LeftFloor;":"⌊","leftharpoondown;":"↽","leftharpoonup;":"↼","leftleftarrows;":"⇇","leftrightarrow;":"↔","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrows;":"⇆","leftrightharpoons;":"⇋","leftrightsquigarrow;":"↭","LeftRightVector;":"⥎","LeftTeeArrow;":"↤","LeftTee;":"⊣","LeftTeeVector;":"⥚","leftthreetimes;":"⋋","LeftTriangleBar;":"⧏","LeftTriangle;":"⊲","LeftTriangleEqual;":"⊴","LeftUpDownVector;":"⥑","LeftUpTeeVector;":"⥠","LeftUpVectorBar;":"⥘","LeftUpVector;":"↿","LeftVectorBar;":"⥒","LeftVector;":"↼","lEg;":"⪋","leg;":"⋚","leq;":"≤","leqq;":"≦","leqslant;":"⩽","lescc;":"⪨","les;":"⩽","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;":"љ","llarr;":"⇇","ll;":"≪","Ll;":"⋘","llcorner;":"⌞","Lleftarrow;":"⇚","llhard;":"⥫","lltri;":"◺","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoustache;":"⎰","lmoust;":"⎰","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;":"ł","ltcc;":"⪦","ltcir;":"⩹","lt;":"<",lt:"<","LT;":"<",LT:"<","Lt;":"≪","ltdot;":"⋖","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltquest;":"⩻","ltri;":"◃","ltrie;":"⊴","ltrif;":"◂","ltrPar;":"⦖","lurdshar;":"⥊","luruhar;":"⥦","lvertneqq;":"≨︀","lvnE;":"≨︀","macr;":"¯",macr:"¯","male;":"♂","malt;":"✠","maltese;":"✠","Map;":"⤅","map;":"↦","mapsto;":"↦","mapstodown;":"↧","mapstoleft;":"↤","mapstoup;":"↥","marker;":"▮","mcomma;":"⨩","Mcy;":"М","mcy;":"м","mdash;":"—","mDDot;":"∺","measuredangle;":"∡","MediumSpace;":" ","Mellintrf;":"ℳ","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","micro;":"µ",micro:"µ","midast;":"*","midcir;":"⫰","mid;":"∣","middot;":"·",middot:"·","minusb;":"⊟","minus;":"−","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;":"ŉ","napprox;":"≉","natural;":"♮","naturals;":"ℕ","natur;":"♮","nbsp;":" ",nbsp:" ","nbump;":"≎̸","nbumpe;":"≏̸","ncap;":"⩃","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","ncong;":"≇","ncongdot;":"⩭̸","ncup;":"⩂","Ncy;":"Н","ncy;":"н","ndash;":"–","nearhk;":"⤤","nearr;":"↗","neArr;":"⇗","nearrow;":"↗","ne;":"≠","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;":"¬",not:"¬","NotCongruent;":"≢","NotCupCap;":"≭","NotDoubleVerticalBar;":"∦","NotElement;":"∉","NotEqual;":"≠","NotEqualTilde;":"≂̸","NotExists;":"∄","NotGreater;":"≯","NotGreaterEqual;":"≱","NotGreaterFullEqual;":"≧̸","NotGreaterGreater;":"≫̸","NotGreaterLess;":"≹","NotGreaterSlantEqual;":"⩾̸","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotHumpEqual;":"≏̸","notin;":"∉","notindot;":"⋵̸","notinE;":"⋹̸","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLeftTriangleBar;":"⧏̸","NotLeftTriangle;":"⋪","NotLeftTriangleEqual;":"⋬","NotLess;":"≮","NotLessEqual;":"≰","NotLessGreater;":"≸","NotLessLess;":"≪̸","NotLessSlantEqual;":"⩽̸","NotLessTilde;":"≴","NotNestedGreaterGreater;":"⪢̸","NotNestedLessLess;":"⪡̸","notni;":"∌","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","NotPrecedes;":"⊀","NotPrecedesEqual;":"⪯̸","NotPrecedesSlantEqual;":"⋠","NotReverseElement;":"∌","NotRightTriangleBar;":"⧐̸","NotRightTriangle;":"⋫","NotRightTriangleEqual;":"⋭","NotSquareSubset;":"⊏̸","NotSquareSubsetEqual;":"⋢","NotSquareSuperset;":"⊐̸","NotSquareSupersetEqual;":"⋣","NotSubset;":"⊂⃒","NotSubsetEqual;":"⊈","NotSucceeds;":"⊁","NotSucceedsEqual;":"⪰̸","NotSucceedsSlantEqual;":"⋡","NotSucceedsTilde;":"≿̸","NotSuperset;":"⊃⃒","NotSupersetEqual;":"⊉","NotTilde;":"≁","NotTildeEqual;":"≄","NotTildeFullEqual;":"≇","NotTildeTilde;":"≉","NotVerticalBar;":"∤","nparallel;":"∦","npar;":"∦","nparsl;":"⫽⃥","npart;":"∂̸","npolint;":"⨔","npr;":"⊀","nprcue;":"⋠","nprec;":"⊀","npreceq;":"⪯̸","npre;":"⪯̸","nrarrc;":"⤳̸","nrarr;":"↛","nrArr;":"⇏","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:"Ñ","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:"Ó","oacute;":"ó",oacute:"ó","oast;":"⊛","Ocirc;":"Ô",Ocirc:"Ô","ocirc;":"ô",ocirc:"ô","ocir;":"⊚","Ocy;":"О","ocy;":"о","odash;":"⊝","Odblac;":"Ő","odblac;":"ő","odiv;":"⨸","odot;":"⊙","odsold;":"⦼","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿","Ofr;":"𝔒","ofr;":"𝔬","ogon;":"˛","Ograve;":"Ò",Ograve:"Ò","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;":"⊕","orarr;":"↻","Or;":"⩔","or;":"∨","ord;":"⩝","order;":"ℴ","orderof;":"ℴ","ordf;":"ª",ordf:"ª","ordm;":"º",ordm:"º","origof;":"⊶","oror;":"⩖","orslope;":"⩗","orv;":"⩛","oS;":"Ⓢ","Oscr;":"𝒪","oscr;":"ℴ","Oslash;":"Ø",Oslash:"Ø","oslash;":"ø",oslash:"ø","osol;":"⊘","Otilde;":"Õ",Otilde:"Õ","otilde;":"õ",otilde:"õ","otimesas;":"⨶","Otimes;":"⨷","otimes;":"⊗","Ouml;":"Ö",Ouml:"Ö","ouml;":"ö",ouml:"ö","ovbar;":"⌽","OverBar;":"‾","OverBrace;":"⏞","OverBracket;":"⎴","OverParenthesis;":"⏜","para;":"¶",para:"¶","parallel;":"∥","par;":"∥","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;":"ℏ","plusacir;":"⨣","plusb;":"⊞","pluscir;":"⨢","plus;":"+","plusdo;":"∔","plusdu;":"⨥","pluse;":"⩲","PlusMinus;":"±","plusmn;":"±",plusmn:"±","plussim;":"⨦","plustwo;":"⨧","pm;":"±","Poincareplane;":"ℌ","pointint;":"⨕","popf;":"𝕡","Popf;":"ℙ","pound;":"£",pound:"£","prap;":"⪷","Pr;":"⪻","pr;":"≺","prcue;":"≼","precapprox;":"⪷","prec;":"≺","preccurlyeq;":"≼","Precedes;":"≺","PrecedesEqual;":"⪯","PrecedesSlantEqual;":"≼","PrecedesTilde;":"≾","preceq;":"⪯","precnapprox;":"⪹","precneqq;":"⪵","precnsim;":"⋨","pre;":"⪯","prE;":"⪳","precsim;":"≾","prime;":"′","Prime;":"″","primes;":"ℙ","prnap;":"⪹","prnE;":"⪵","prnsim;":"⋨","prod;":"∏","Product;":"∏","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","prop;":"∝","Proportional;":"∝","Proportion;":"∷","propto;":"∝","prsim;":"≾","prurel;":"⊰","Pscr;":"𝒫","pscr;":"𝓅","Psi;":"Ψ","psi;":"ψ","puncsp;":" ","Qfr;":"𝔔","qfr;":"𝔮","qint;":"⨌","qopf;":"𝕢","Qopf;":"ℚ","qprime;":"⁗","Qscr;":"𝒬","qscr;":"𝓆","quaternions;":"ℍ","quatint;":"⨖","quest;":"?","questeq;":"≟","quot;":\'"\',quot:\'"\',"QUOT;":\'"\',QUOT:\'"\',"rAarr;":"⇛","race;":"∽̱","Racute;":"Ŕ","racute;":"ŕ","radic;":"√","raemptyv;":"⦳","rang;":"⟩","Rang;":"⟫","rangd;":"⦒","range;":"⦥","rangle;":"⟩","raquo;":"»",raquo:"»","rarrap;":"⥵","rarrb;":"⇥","rarrbfs;":"⤠","rarrc;":"⤳","rarr;":"→","Rarr;":"↠","rArr;":"⇒","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;":"↳","real;":"ℜ","realine;":"ℛ","realpart;":"ℜ","reals;":"ℝ","Re;":"ℜ","rect;":"▭","reg;":"®",reg:"®","REG;":"®",REG:"®","ReverseElement;":"∋","ReverseEquilibrium;":"⇋","ReverseUpEquilibrium;":"⥯","rfisht;":"⥽","rfloor;":"⌋","rfr;":"𝔯","Rfr;":"ℜ","rHar;":"⥤","rhard;":"⇁","rharu;":"⇀","rharul;":"⥬","Rho;":"Ρ","rho;":"ρ","rhov;":"ϱ","RightAngleBracket;":"⟩","RightArrowBar;":"⇥","rightarrow;":"→","RightArrow;":"→","Rightarrow;":"⇒","RightArrowLeftArrow;":"⇄","rightarrowtail;":"↣","RightCeiling;":"⌉","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVectorBar;":"⥕","RightDownVector;":"⇂","RightFloor;":"⌋","rightharpoondown;":"⇁","rightharpoonup;":"⇀","rightleftarrows;":"⇄","rightleftharpoons;":"⇌","rightrightarrows;":"⇉","rightsquigarrow;":"↝","RightTeeArrow;":"↦","RightTee;":"⊢","RightTeeVector;":"⥛","rightthreetimes;":"⋌","RightTriangleBar;":"⧐","RightTriangle;":"⊳","RightTriangleEqual;":"⊵","RightUpDownVector;":"⥏","RightUpTeeVector;":"⥜","RightUpVectorBar;":"⥔","RightUpVector;":"↾","RightVectorBar;":"⥓","RightVector;":"⇀","ring;":"˚","risingdotseq;":"≓","rlarr;":"⇄","rlhar;":"⇌","rlm;":"‏","rmoustache;":"⎱","rmoust;":"⎱","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;":"‚","scap;":"⪸","Scaron;":"Š","scaron;":"š","Sc;":"⪼","sc;":"≻","sccue;":"≽","sce;":"⪰","scE;":"⪴","Scedil;":"Ş","scedil;":"ş","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scnE;":"⪶","scnsim;":"⋩","scpolint;":"⨓","scsim;":"≿","Scy;":"С","scy;":"с","sdotb;":"⊡","sdot;":"⋅","sdote;":"⩦","searhk;":"⤥","searr;":"↘","seArr;":"⇘","searrow;":"↘","sect;":"§",sect:"§","semi;":";","seswar;":"⤩","setminus;":"∖","setmn;":"∖","sext;":"✶","Sfr;":"𝔖","sfr;":"𝔰","sfrown;":"⌢","sharp;":"♯","SHCHcy;":"Щ","shchcy;":"щ","SHcy;":"Ш","shcy;":"ш","ShortDownArrow;":"↓","ShortLeftArrow;":"←","shortmid;":"∣","shortparallel;":"∥","ShortRightArrow;":"→","ShortUpArrow;":"↑","shy;":"­",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;":"ь","solbar;":"⌿","solb;":"⧄","sol;":"/","Sopf;":"𝕊","sopf;":"𝕤","spades;":"♠","spadesuit;":"♠","spar;":"∥","sqcap;":"⊓","sqcaps;":"⊓︀","sqcup;":"⊔","sqcups;":"⊔︀","Sqrt;":"√","sqsub;":"⊏","sqsube;":"⊑","sqsubset;":"⊏","sqsubseteq;":"⊑","sqsup;":"⊐","sqsupe;":"⊒","sqsupset;":"⊐","sqsupseteq;":"⊒","square;":"□","Square;":"□","SquareIntersection;":"⊓","SquareSubset;":"⊏","SquareSubsetEqual;":"⊑","SquareSuperset;":"⊐","SquareSupersetEqual;":"⊒","SquareUnion;":"⊔","squarf;":"▪","squ;":"□","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;":"⫓","succapprox;":"⪸","succ;":"≻","succcurlyeq;":"≽","Succeeds;":"≻","SucceedsEqual;":"⪰","SucceedsSlantEqual;":"≽","SucceedsTilde;":"≿","succeq;":"⪰","succnapprox;":"⪺","succneqq;":"⪶","succnsim;":"⋩","succsim;":"≿","SuchThat;":"∋","sum;":"∑","Sum;":"∑","sung;":"♪","sup1;":"¹",sup1:"¹","sup2;":"²",sup2:"²","sup3;":"³",sup3:"³","sup;":"⊃","Sup;":"⋑","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;":"ß",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;":"  ","ThinSpace;":" ","thinsp;":" ","thkap;":"≈","thksim;":"∼","THORN;":"Þ",THORN:"Þ","thorn;":"þ",thorn:"þ","tilde;":"˜","Tilde;":"∼","TildeEqual;":"≃","TildeFullEqual;":"≅","TildeTilde;":"≈","timesbar;":"⨱","timesb;":"⊠","times;":"×",times:"×","timesd;":"⨰","tint;":"∭","toea;":"⤨","topbot;":"⌶","topcir;":"⫱","top;":"⊤","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:"Ú","uacute;":"ú",uacute:"ú","uarr;":"↑","Uarr;":"↟","uArr;":"⇑","Uarrocir;":"⥉","Ubrcy;":"Ў","ubrcy;":"ў","Ubreve;":"Ŭ","ubreve;":"ŭ","Ucirc;":"Û",Ucirc:"Û","ucirc;":"û",ucirc:"û","Ucy;":"У","ucy;":"у","udarr;":"⇅","Udblac;":"Ű","udblac;":"ű","udhar;":"⥮","ufisht;":"⥾","Ufr;":"𝔘","ufr;":"𝔲","Ugrave;":"Ù",Ugrave:"Ù","ugrave;":"ù",ugrave:"ù","uHar;":"⥣","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ulcorn;":"⌜","ulcorner;":"⌜","ulcrop;":"⌏","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","uml;":"¨",uml:"¨","UnderBar;":"_","UnderBrace;":"⏟","UnderBracket;":"⎵","UnderParenthesis;":"⏝","Union;":"⋃","UnionPlus;":"⊎","Uogon;":"Ų","uogon;":"ų","Uopf;":"𝕌","uopf;":"𝕦","UpArrowBar;":"⤒","uparrow;":"↑","UpArrow;":"↑","Uparrow;":"⇑","UpArrowDownArrow;":"⇅","updownarrow;":"↕","UpDownArrow;":"↕","Updownarrow;":"⇕","UpEquilibrium;":"⥮","upharpoonleft;":"↿","upharpoonright;":"↾","uplus;":"⊎","UpperLeftArrow;":"↖","UpperRightArrow;":"↗","upsi;":"υ","Upsi;":"ϒ","upsih;":"ϒ","Upsilon;":"Υ","upsilon;":"υ","UpTeeArrow;":"↥","UpTee;":"⊥","upuparrows;":"⇈","urcorn;":"⌝","urcorner;":"⌝","urcrop;":"⌎","Uring;":"Ů","uring;":"ů","urtri;":"◹","Uscr;":"𝒰","uscr;":"𝓊","utdot;":"⋰","Utilde;":"Ũ","utilde;":"ũ","utri;":"▵","utrif;":"▴","uuarr;":"⇈","Uuml;":"Ü",Uuml:"Ü","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;":"⫦","veebar;":"⊻","vee;":"∨","Vee;":"⋁","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:"Ý","yacute;":"ý",yacute:"ý","YAcy;":"Я","yacy;":"я","Ycirc;":"Ŷ","ycirc;":"ŷ","Ycy;":"Ы","ycy;":"ы","yen;":"¥",yen:"¥","Yfr;":"𝔜","yfr;":"𝔶","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","yuml;":"ÿ",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;":"‌"}\n},{}],13:[function(_dereq_,module){function replacer(key,value){return util.isUndefined(value)?""+value:!util.isNumber(value)||!isNaN(value)&&isFinite(value)?util.isFunction(value)||util.isRegExp(value)?""+value:value:""+value}function truncate(s,n){return util.isString(s)?n>s.length?s:s.slice(0,n):s}function getMessage(self){return truncate(JSON.stringify(self.actual,replacer),128)+" "+self.operator+" "+truncate(JSON.stringify(self.expected,replacer),128)}function fail(actual,expected,message,operator,stackStartFunction){throw new assert.AssertionError({message:message,actual:actual,expected:expected,operator:operator,stackStartFunction:stackStartFunction})}function ok(value,message){value||fail(value,!0,message,"==",assert.ok)}function _deepEqual(actual,expected){if(actual===expected)return!0;if(util.isBuffer(actual)&&util.isBuffer(expected)){if(actual.length!=expected.length)return!1;for(var i=0;actual.length>i;i++)if(actual[i]!==expected[i])return!1;return!0}return util.isDate(actual)&&util.isDate(expected)?actual.getTime()===expected.getTime():util.isRegExp(actual)&&util.isRegExp(expected)?actual.source===expected.source&&actual.global===expected.global&&actual.multiline===expected.multiline&&actual.lastIndex===expected.lastIndex&&actual.ignoreCase===expected.ignoreCase:util.isObject(actual)||util.isObject(expected)?objEquiv(actual,expected):actual==expected}function isArguments(object){return"[object Arguments]"==Object.prototype.toString.call(object)}function objEquiv(a,b){if(util.isNullOrUndefined(a)||util.isNullOrUndefined(b))return!1;if(a.prototype!==b.prototype)return!1;if(isArguments(a))return isArguments(b)?(a=pSlice.call(a),b=pSlice.call(b),_deepEqual(a,b)):!1;try{var key,i,ka=objectKeys(a),kb=objectKeys(b)}catch(e){return!1}if(ka.length!=kb.length)return!1;for(ka.sort(),kb.sort(),i=ka.length-1;i>=0;i--)if(ka[i]!=kb[i])return!1;for(i=ka.length-1;i>=0;i--)if(key=ka[i],!_deepEqual(a[key],b[key]))return!1;return!0}function expectedException(actual,expected){return actual&&expected?"[object RegExp]"==Object.prototype.toString.call(expected)?expected.test(actual):actual instanceof expected?!0:expected.call({},actual)===!0?!0:!1:!1}function _throws(shouldThrow,block,expected,message){var actual;util.isString(expected)&&(message=expected,expected=null);try{block()}catch(e){actual=e}if(message=(expected&&expected.name?" ("+expected.name+").":".")+(message?" "+message:"."),shouldThrow&&!actual&&fail(actual,expected,"Missing expected exception"+message),!shouldThrow&&expectedException(actual,expected)&&fail(actual,expected,"Got unwanted exception"+message),shouldThrow&&actual&&expected&&!expectedException(actual,expected)||!shouldThrow&&actual)throw actual}var util=_dereq_("util/"),pSlice=Array.prototype.slice,hasOwn=Object.prototype.hasOwnProperty,assert=module.exports=ok;assert.AssertionError=function(options){this.name="AssertionError",this.actual=options.actual,this.expected=options.expected,this.operator=options.operator,options.message?(this.message=options.message,this.generatedMessage=!1):(this.message=getMessage(this),this.generatedMessage=!0);var stackStartFunction=options.stackStartFunction||fail;if(Error.captureStackTrace)Error.captureStackTrace(this,stackStartFunction);else{var err=Error();if(err.stack){var out=err.stack,fn_name=stackStartFunction.name,idx=out.indexOf("\\n"+fn_name);if(idx>=0){var next_line=out.indexOf("\\n",idx+1);out=out.substring(next_line+1)}this.stack=out}}},util.inherits(assert.AssertionError,Error),assert.fail=fail,assert.ok=ok,assert.equal=function(actual,expected,message){actual!=expected&&fail(actual,expected,message,"==",assert.equal)},assert.notEqual=function(actual,expected,message){actual==expected&&fail(actual,expected,message,"!=",assert.notEqual)},assert.deepEqual=function(actual,expected,message){_deepEqual(actual,expected)||fail(actual,expected,message,"deepEqual",assert.deepEqual)},assert.notDeepEqual=function(actual,expected,message){_deepEqual(actual,expected)&&fail(actual,expected,message,"notDeepEqual",assert.notDeepEqual)},assert.strictEqual=function(actual,expected,message){actual!==expected&&fail(actual,expected,message,"===",assert.strictEqual)},assert.notStrictEqual=function(actual,expected,message){actual===expected&&fail(actual,expected,message,"!==",assert.notStrictEqual)},assert.throws=function(){_throws.apply(this,[!0].concat(pSlice.call(arguments)))},assert.doesNotThrow=function(){_throws.apply(this,[!1].concat(pSlice.call(arguments)))},assert.ifError=function(err){if(err)throw err};var objectKeys=Object.keys||function(obj){var keys=[];for(var key in obj)hasOwn.call(obj,key)&&keys.push(key);return keys}},{"util/":15}],14:[function(_dereq_,module){module.exports=function(arg){return arg&&"object"==typeof arg&&"function"==typeof arg.copy&&"function"==typeof arg.fill&&"function"==typeof arg.readUInt8}},{}],15:[function(_dereq_,module,exports){(function(process,global){function inspect(obj,opts){var ctx={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(ctx.depth=arguments[2]),arguments.length>=4&&(ctx.colors=arguments[3]),isBoolean(opts)?ctx.showHidden=opts:opts&&exports._extend(ctx,opts),isUndefined(ctx.showHidden)&&(ctx.showHidden=!1),isUndefined(ctx.depth)&&(ctx.depth=2),isUndefined(ctx.colors)&&(ctx.colors=!1),isUndefined(ctx.customInspect)&&(ctx.customInspect=!0),ctx.colors&&(ctx.stylize=stylizeWithColor),formatValue(ctx,obj,ctx.depth)}function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];return style?"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m":str}function stylizeNoColor(str){return str}function arrayToHash(array){var hash={};return array.forEach(function(val){hash[val]=!0}),hash}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&(!value.constructor||value.constructor.prototype!==value)){var ret=value.inspect(recurseTimes,ctx);return isString(ret)||(ret=formatValue(ctx,ret,recurseTimes)),ret}var primitive=formatPrimitive(ctx,value);if(primitive)return primitive;var keys=Object.keys(value),visibleKeys=arrayToHash(keys);if(ctx.showHidden&&(keys=Object.getOwnPropertyNames(value)),isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0))return formatError(value);if(0===keys.length){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value))return ctx.stylize(RegExp.prototype.toString.call(value),"regexp");if(isDate(value))return ctx.stylize(Date.prototype.toString.call(value),"date");if(isError(value))return formatError(value)}var base="",array=!1,braces=["{","}"];if(isArray(value)&&(array=!0,braces=["[","]"]),isFunction(value)){var n=value.name?": "+value.name:"";base=" [Function"+n+"]"}if(isRegExp(value)&&(base=" "+RegExp.prototype.toString.call(value)),isDate(value)&&(base=" "+Date.prototype.toUTCString.call(value)),isError(value)&&(base=" "+formatError(value)),0===keys.length&&(!array||0==value.length))return braces[0]+base+braces[1];if(0>recurseTimes)return isRegExp(value)?ctx.stylize(RegExp.prototype.toString.call(value),"regexp"):ctx.stylize("[Object]","special");ctx.seen.push(value);var output;return output=array?formatArray(ctx,value,recurseTimes,visibleKeys,keys):keys.map(function(key){return formatProperty(ctx,value,recurseTimes,visibleKeys,key,array)}),ctx.seen.pop(),reduceToSingleString(output,base,braces)}function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="\'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/\'/g,"\\\\\'").replace(/\\\\"/g,\'"\')+"\'";return ctx.stylize(simple,"string")}return isNumber(value)?ctx.stylize(""+value,"number"):isBoolean(value)?ctx.stylize(""+value,"boolean"):isNull(value)?ctx.stylize("null","null"):void 0}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatArray(ctx,value,recurseTimes,visibleKeys,keys){for(var output=[],i=0,l=value.length;l>i;++i)hasOwnProperty(value,i+"")?output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,i+"",!0)):output.push("");return keys.forEach(function(key){key.match(/^\\d+$/)||output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,key,!0))}),output}function formatProperty(ctx,value,recurseTimes,visibleKeys,key,array){var name,str,desc;if(desc=Object.getOwnPropertyDescriptor(value,key)||{value:value[key]},desc.get?str=desc.set?ctx.stylize("[Getter/Setter]","special"):ctx.stylize("[Getter]","special"):desc.set&&(str=ctx.stylize("[Setter]","special")),hasOwnProperty(visibleKeys,key)||(name="["+key+"]"),str||(0>ctx.seen.indexOf(desc.value)?(str=isNull(recurseTimes)?formatValue(ctx,desc.value,null):formatValue(ctx,desc.value,recurseTimes-1),str.indexOf("\\n")>-1&&(str=array?str.split("\\n").map(function(line){return"  "+line}).join("\\n").substr(2):"\\n"+str.split("\\n").map(function(line){return"   "+line}).join("\\n"))):str=ctx.stylize("[Circular]","special")),isUndefined(name)){if(array&&key.match(/^\\d+$/))return str;name=JSON.stringify(""+key),name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(name=name.substr(1,name.length-2),name=ctx.stylize(name,"name")):(name=name.replace(/\'/g,"\\\\\'").replace(/\\\\"/g,\'"\').replace(/(^"|"$)/g,"\'"),name=ctx.stylize(name,"string"))}return name+": "+str}function reduceToSingleString(output,base,braces){var numLinesEst=0,length=output.reduce(function(prev,cur){return numLinesEst++,cur.indexOf("\\n")>=0&&numLinesEst++,prev+cur.replace(/\\u001b\\[\\d\\d?m/g,"").length+1},0);return length>60?braces[0]+(""===base?"":base+"\\n ")+" "+output.join(",\\n  ")+" "+braces[1]:braces[0]+base+" "+output.join(", ")+" "+braces[1]}function isArray(ar){return Array.isArray(ar)}function isBoolean(arg){return"boolean"==typeof arg}function isNull(arg){return null===arg}function isNullOrUndefined(arg){return null==arg}function isNumber(arg){return"number"==typeof arg}function isString(arg){return"string"==typeof arg}function isSymbol(arg){return"symbol"==typeof arg}function isUndefined(arg){return void 0===arg}function isRegExp(re){return isObject(re)&&"[object RegExp]"===objectToString(re)}function isObject(arg){return"object"==typeof arg&&null!==arg}function isDate(d){return isObject(d)&&"[object Date]"===objectToString(d)}function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}function isFunction(arg){return"function"==typeof arg}function isPrimitive(arg){return null===arg||"boolean"==typeof arg||"number"==typeof arg||"string"==typeof arg||"symbol"==typeof arg||arg===void 0}function objectToString(o){return Object.prototype.toString.call(o)}function pad(n){return 10>n?"0"+n.toString(10):n.toString(10)}function timestamp(){var d=new Date,time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(":");return[d.getDate(),months[d.getMonth()],time].join(" ")}function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}var formatRegExp=/%[sdj%]/g;exports.format=function(f){if(!isString(f)){for(var objects=[],i=0;arguments.length>i;i++)objects.push(inspect(arguments[i]));return objects.join(" ")}for(var i=1,args=arguments,len=args.length,str=(f+"").replace(formatRegExp,function(x){if("%%"===x)return"%";if(i>=len)return x;switch(x){case"%s":return args[i++]+"";case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}default:return x}}),x=args[i];len>i;x=args[++i])str+=isNull(x)||!isObject(x)?" "+x:" "+inspect(x);return str},exports.deprecate=function(fn,msg){function deprecated(){if(!warned){if(process.throwDeprecation)throw Error(msg);process.traceDeprecation?console.trace(msg):console.error(msg),warned=!0}return fn.apply(this,arguments)}if(isUndefined(global.process))return function(){return exports.deprecate(fn,msg).apply(this,arguments)};if(process.noDeprecation===!0)return fn;var warned=!1;return deprecated};var debugEnviron,debugs={};exports.debuglog=function(set){if(isUndefined(debugEnviron)&&(debugEnviron=process.env.NODE_DEBUG||""),set=set.toUpperCase(),!debugs[set])if(RegExp("\\\\b"+set+"\\\\b","i").test(debugEnviron)){var pid=process.pid;debugs[set]=function(){var msg=exports.format.apply(exports,arguments);console.error("%s %d: %s",set,pid,msg)}}else debugs[set]=function(){};return debugs[set]},exports.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=isNullOrUndefined,exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=isSymbol,exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.isError=isError,exports.isFunction=isFunction,exports.isPrimitive=isPrimitive,exports.isBuffer=_dereq_("./support/isBuffer");var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))},exports.inherits=_dereq_("inherits"),exports._extend=function(origin,add){if(!add||!isObject(add))return origin;for(var keys=Object.keys(add),i=keys.length;i--;)origin[keys[i]]=add[keys[i]];return origin}}).call(this,_dereq_("/usr/local/lib/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":14,"/usr/local/lib/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":18,inherits:17}],16:[function(_dereq_,module){function EventEmitter(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function isFunction(arg){return"function"==typeof arg}function isNumber(arg){return"number"==typeof arg}function isObject(arg){return"object"==typeof arg&&null!==arg}function isUndefined(arg){return void 0===arg}module.exports=EventEmitter,EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.prototype.setMaxListeners=function(n){if(!isNumber(n)||0>n||isNaN(n))throw TypeError("n must be a positive number");return this._maxListeners=n,this},EventEmitter.prototype.emit=function(type){var er,handler,len,args,i,listeners;if(this._events||(this._events={}),"error"===type&&(!this._events.error||isObject(this._events.error)&&!this._events.error.length))throw er=arguments[1],er instanceof Error?er:TypeError(\'Uncaught, unspecified "error" event.\');if(handler=this._events[type],isUndefined(handler))return!1;if(isFunction(handler))switch(arguments.length){case 1:handler.call(this);break;case 2:handler.call(this,arguments[1]);break;case 3:handler.call(this,arguments[1],arguments[2]);break;default:for(len=arguments.length,args=Array(len-1),i=1;len>i;i++)args[i-1]=arguments[i];handler.apply(this,args)}else if(isObject(handler)){for(len=arguments.length,args=Array(len-1),i=1;len>i;i++)args[i-1]=arguments[i];for(listeners=handler.slice(),len=listeners.length,i=0;len>i;i++)listeners[i].apply(this,args)}return!0},EventEmitter.prototype.addListener=function(type,listener){var m;if(!isFunction(listener))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",type,isFunction(listener.listener)?listener.listener:listener),this._events[type]?isObject(this._events[type])?this._events[type].push(listener):this._events[type]=[this._events[type],listener]:this._events[type]=listener,isObject(this._events[type])&&!this._events[type].warned){var m;m=isUndefined(this._maxListeners)?EventEmitter.defaultMaxListeners:this._maxListeners,m&&m>0&&this._events[type].length>m&&(this._events[type].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[type].length),console.trace())}return this},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.once=function(type,listener){function g(){this.removeListener(type,g),fired||(fired=!0,listener.apply(this,arguments))}if(!isFunction(listener))throw TypeError("listener must be a function");var fired=!1;return g.listener=listener,this.on(type,g),this},EventEmitter.prototype.removeListener=function(type,listener){var list,position,length,i;if(!isFunction(listener))throw TypeError("listener must be a function");if(!this._events||!this._events[type])return this;if(list=this._events[type],length=list.length,position=-1,list===listener||isFunction(list.listener)&&list.listener===listener)delete this._events[type],this._events.removeListener&&this.emit("removeListener",type,listener);else if(isObject(list)){for(i=length;i--\x3e0;)if(list[i]===listener||list[i].listener&&list[i].listener===listener){position=i;break}if(0>position)return this;1===list.length?(list.length=0,delete this._events[type]):list.splice(position,1),this._events.removeListener&&this.emit("removeListener",type,listener)}return this},EventEmitter.prototype.removeAllListeners=function(type){var key,listeners;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[type]&&delete this._events[type],this;if(0===arguments.length){for(key in this._events)"removeListener"!==key&&this.removeAllListeners(key);return this.removeAllListeners("removeListener"),this._events={},this}if(listeners=this._events[type],isFunction(listeners))this.removeListener(type,listeners);else for(;listeners.length;)this.removeListener(type,listeners[listeners.length-1]);return delete this._events[type],this},EventEmitter.prototype.listeners=function(type){var ret;return ret=this._events&&this._events[type]?isFunction(this._events[type])?[this._events[type]]:this._events[type].slice():[]},EventEmitter.listenerCount=function(emitter,type){var ret;return ret=emitter._events&&emitter._events[type]?isFunction(emitter._events[type])?1:emitter._events[type].length:0}},{}],17:[function(_dereq_,module){module.exports="function"==typeof Object.create?function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})}:function(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}},{}],18:[function(_dereq_,module){function noop(){}var process=module.exports={};process.nextTick=function(){var canSetImmediate="undefined"!=typeof window&&window.setImmediate,canPost="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(canSetImmediate)return function(f){return window.setImmediate(f)};if(canPost){var queue=[];return window.addEventListener("message",function(ev){var source=ev.source;if((source===window||null===source)&&"process-tick"===ev.data&&(ev.stopPropagation(),queue.length>0)){var fn=queue.shift();fn()}},!0),function(fn){queue.push(fn),window.postMessage("process-tick","*")}}return function(fn){setTimeout(fn,0)}}(),process.title="browser",process.browser=!0,process.env={},process.argv=[],process.on=noop,process.once=noop,process.off=noop,process.emit=noop,process.binding=function(){throw Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(){throw Error("process.chdir is not supported")}},{}],19:[function(_dereq_,module){module.exports=_dereq_(14)},{}],20:[function(_dereq_,module){module.exports=_dereq_(15)},{"./support/isBuffer":19,"/usr/local/lib/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":18,inherits:17}]},{},[9])(9)}),ace.define("ace/mode/html_worker",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/worker/mirror","ace/mode/html/saxparser"],function(acequire,exports){"use strict";var oop=acequire("../lib/oop");acequire("../lib/lang");var Mirror=acequire("../worker/mirror").Mirror,SAXParser=acequire("./html/saxparser").SAXParser,errorTypes={"expected-doctype-but-got-start-tag":"info","expected-doctype-but-got-chars":"info","non-html-root":"info"},Worker=exports.Worker=function(sender){Mirror.call(this,sender),this.setTimeout(400),this.context=null};oop.inherits(Worker,Mirror),function(){this.setOptions=function(options){this.context=options.context},this.onUpdate=function(){var value=this.doc.getValue();if(value){var parser=new SAXParser,errors=[],noop=function(){};parser.contentHandler={startDocument:noop,endDocument:noop,startElement:noop,endElement:noop,characters:noop},parser.errorHandler={error:function(message,location,code){errors.push({row:location.line,column:location.column,text:message,type:errorTypes[code]||"error"})}},this.context?parser.parseFragment(value,this.context):parser.parse(value),this.sender.emit("error",errors)}}}.call(Worker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != \'object\'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object\n});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws="\t\\n\v\\f\\r   ᠎             　\\u2028\\u2029\ufeff";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can\'t convert "+o+" to object");return Object(o)}});'},function(module,exports){ace.define("ace/theme/github",["require","exports","module","ace/lib/dom"],function(acequire,exports,module){exports.isDark=false;exports.cssClass="ace-github";exports.cssText='.ace-github .ace_gutter {background: #e8e8e8;color: #AAA;}.ace-github  {background: #fff;color: #000;}.ace-github .ace_keyword {font-weight: bold;}.ace-github .ace_string {color: #D14;}.ace-github .ace_variable.ace_class {color: teal;}.ace-github .ace_constant.ace_numeric {color: #099;}.ace-github .ace_constant.ace_buildin {color: #0086B3;}.ace-github .ace_support.ace_function {color: #0086B3;}.ace-github .ace_comment {color: #998;font-style: italic;}.ace-github .ace_variable.ace_language  {color: #0086B3;}.ace-github .ace_paren {font-weight: bold;}.ace-github .ace_boolean {font-weight: bold;}.ace-github .ace_string.ace_regexp {color: #009926;font-weight: normal;}.ace-github .ace_variable.ace_instance {color: teal;}.ace-github .ace_constant.ace_language {font-weight: bold;}.ace-github .ace_cursor {color: black;}.ace-github.ace_focus .ace_marker-layer .ace_active-line {background: rgb(255, 255, 204);}.ace-github .ace_marker-layer .ace_active-line {background: rgb(245, 245, 245);}.ace-github .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-github.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-github.ace_nobold .ace_line > span {font-weight: normal !important;}.ace-github .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-github .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-github .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-github .ace_gutter-active-line {background-color : rgba(0, 0, 0, 0.07);}.ace-github .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-github .ace_invisible {color: #BFBFBF}.ace-github .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-github .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var dom=acequire("../lib/dom");dom.importCssString(exports.cssText,exports.cssClass)})},function(module,exports){ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(acequire,exports,module){"use strict";exports.isDark=false;exports.cssClass="ace-tm";exports.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var dom=acequire("../lib/dom");dom.importCssString(exports.cssText,exports.cssClass)})},function(module,exports,__webpack_require__){"use strict";exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[];var revLookup=[];var Arr="undefined"!==typeof Uint8Array?Uint8Array:Array;var code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i}revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function placeHoldersCount(b64){var len=b64.length;if(len%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===b64[len-2]?2:"="===b64[len-1]?1:0}function byteLength(b64){return 3*b64.length/4-placeHoldersCount(b64)}function toByteArray(b64){var i,l,tmp,placeHolders,arr;var len=b64.length;placeHolders=placeHoldersCount(b64);arr=new Arr(3*len/4-placeHolders);l=placeHolders>0?len-4:len;var L=0;for(i=0;i<l;i+=4){tmp=revLookup[b64.charCodeAt(i)]<<18|revLookup[b64.charCodeAt(i+1)]<<12|revLookup[b64.charCodeAt(i+2)]<<6|revLookup[b64.charCodeAt(i+3)];arr[L++]=tmp>>16&255;arr[L++]=tmp>>8&255;arr[L++]=255&tmp}if(2===placeHolders){tmp=revLookup[b64.charCodeAt(i)]<<2|revLookup[b64.charCodeAt(i+1)]>>4;arr[L++]=255&tmp}else if(1===placeHolders){tmp=revLookup[b64.charCodeAt(i)]<<10|revLookup[b64.charCodeAt(i+1)]<<4|revLookup[b64.charCodeAt(i+2)]>>2;arr[L++]=tmp>>8&255;arr[L++]=255&tmp}return arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[63&num]}function encodeChunk(uint8,start,end){var tmp;var output=[];for(var i=start;i<end;i+=3){tmp=(uint8[i]<<16)+(uint8[i+1]<<8)+uint8[i+2];output.push(tripletToBase64(tmp))}return output.join("")}function fromByteArray(uint8){var tmp;var len=uint8.length;var extraBytes=len%3;var output="";var parts=[];var maxChunkLength=16383;for(var i=0,len2=len-extraBytes;i<len2;i+=maxChunkLength)parts.push(encodeChunk(uint8,i,i+maxChunkLength>len2?len2:i+maxChunkLength));if(1===extraBytes){tmp=uint8[len-1];output+=lookup[tmp>>2];output+=lookup[tmp<<4&63];output+="=="}else if(2===extraBytes){tmp=(uint8[len-2]<<8)+uint8[len-1];output+=lookup[tmp>>10];output+=lookup[tmp>>4&63];output+=lookup[tmp<<2&63];output+="="}parts.push(output);return parts.join("")}},function(module,exports){exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m;var eLen=8*nBytes-mLen-1;var eMax=(1<<eLen)-1;var eBias=eMax>>1;var nBits=-7;var i=isLE?nBytes-1:0;var d=isLE?-1:1;var s=buffer[offset+i];i+=d;e=s&(1<<-nBits)-1;s>>=-nBits;nBits+=eLen;for(;nBits>0;e=256*e+buffer[offset+i],i+=d,nBits-=8);m=e&(1<<-nBits)-1;e>>=-nBits;nBits+=mLen;for(;nBits>0;m=256*m+buffer[offset+i],i+=d,nBits-=8);if(0===e)e=1-eBias;else{if(e===eMax)return m?NaN:Infinity*(s?-1:1);m+=Math.pow(2,mLen);e-=eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c;var eLen=8*nBytes-mLen-1;var eMax=(1<<eLen)-1;var eBias=eMax>>1;var rt=23===mLen?Math.pow(2,-24)-Math.pow(2,-77):0;var i=isLE?0:nBytes-1;var d=isLE?1:-1;var s=value<0||0===value&&1/value<0?1:0;value=Math.abs(value);if(isNaN(value)||Infinity===value){m=isNaN(value)?1:0;e=eMax}else{e=Math.floor(Math.log(value)/Math.LN2);if(value*(c=Math.pow(2,-e))<1){e--;c*=2}value+=e+eBias>=1?rt/c:rt*Math.pow(2,1-eBias);if(value*c>=2){e++;c/=2}if(e+eBias>=eMax){m=0;e=eMax}else if(e+eBias>=1){m=(value*c-1)*Math.pow(2,mLen);e+=eBias}else{m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen);e=0}}for(;mLen>=8;buffer[offset+i]=255&m,i+=d,m/=256,mLen-=8);e=e<<mLen|m;eLen+=mLen;for(;eLen>0;buffer[offset+i]=255&e,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=128*s}},function(module,exports,__webpack_require__){"use strict";var colorString=__webpack_require__(2101);var convert=__webpack_require__(2104);var _slice=[].slice;var skippedModels=["keyword","gray","hex"];var hashedModelKeys={};Object.keys(convert).forEach(function(model){hashedModelKeys[_slice.call(convert[model].labels).sort().join("")]=model});var limiters={};function Color(obj,model){if(!(this instanceof Color))return new Color(obj,model);model&&model in skippedModels&&(model=null);if(model&&!(model in convert))throw new Error("Unknown model: "+model);var i;var channels;if(obj)if(obj instanceof Color){this.model=obj.model;this.color=obj.color.slice();this.valpha=obj.valpha}else if("string"===typeof obj){var result=colorString.get(obj);if(null===result)throw new Error("Unable to parse color from string: "+obj);this.model=result.model;channels=convert[this.model].channels;this.color=result.value.slice(0,channels);this.valpha="number"===typeof result.value[channels]?result.value[channels]:1}else if(obj.length){this.model=model||"rgb";channels=convert[this.model].channels;var newArr=_slice.call(obj,0,channels);this.color=zeroArray(newArr,channels);this.valpha="number"===typeof obj[channels]?obj[channels]:1}else if("number"===typeof obj){obj&=16777215;this.model="rgb";this.color=[obj>>16&255,obj>>8&255,255&obj];this.valpha=1}else{this.valpha=1;var keys=Object.keys(obj);if("alpha"in obj){keys.splice(keys.indexOf("alpha"),1);this.valpha="number"===typeof obj.alpha?obj.alpha:0}var hashedKeys=keys.sort().join("");if(!(hashedKeys in hashedModelKeys))throw new Error("Unable to parse color from object: "+JSON.stringify(obj));this.model=hashedModelKeys[hashedKeys];var labels=convert[this.model].labels;var color=[];for(i=0;i<labels.length;i++)color.push(obj[labels[i]]);this.color=zeroArray(color)}else{this.model="rgb";this.color=[0,0,0];this.valpha=1}if(limiters[this.model]){channels=convert[this.model].channels;for(i=0;i<channels;i++){var limit=limiters[this.model][i];limit&&(this.color[i]=limit(this.color[i]))}}this.valpha=Math.max(0,Math.min(1,this.valpha));Object.freeze&&Object.freeze(this)}Color.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(places){var self=this.model in colorString.to?this:this.rgb();self=self.round("number"===typeof places?places:1);var args=1===self.valpha?self.color:self.color.concat(this.valpha);return colorString.to[self.model](args)},percentString:function(places){var self=this.rgb().round("number"===typeof places?places:1);var args=1===self.valpha?self.color:self.color.concat(this.valpha);return colorString.to.rgb.percent(args)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){var result={};var channels=convert[this.model].channels;var labels=convert[this.model].labels;for(var i=0;i<channels;i++)result[labels[i]]=this.color[i];1!==this.valpha&&(result.alpha=this.valpha);return result},unitArray:function(){var rgb=this.rgb().color;rgb[0]/=255;rgb[1]/=255;rgb[2]/=255;1!==this.valpha&&rgb.push(this.valpha);return rgb},unitObject:function(){var rgb=this.rgb().object();rgb.r/=255;rgb.g/=255;rgb.b/=255;1!==this.valpha&&(rgb.alpha=this.valpha);return rgb},round:function(places){places=Math.max(places||0,0);return new Color(this.color.map(roundToPlace(places)).concat(this.valpha),this.model)},alpha:function(val){if(arguments.length)return new Color(this.color.concat(Math.max(0,Math.min(1,val))),this.model);return this.valpha},red:getset("rgb",0,maxfn(255)),green:getset("rgb",1,maxfn(255)),blue:getset("rgb",2,maxfn(255)),hue:getset(["hsl","hsv","hsl","hwb","hcg"],0,function(val){return(val%360+360)%360}),saturationl:getset("hsl",1,maxfn(100)),lightness:getset("hsl",2,maxfn(100)),saturationv:getset("hsv",1,maxfn(100)),value:getset("hsv",2,maxfn(100)),chroma:getset("hcg",1,maxfn(100)),gray:getset("hcg",2,maxfn(100)),white:getset("hwb",1,maxfn(100)),wblack:getset("hwb",2,maxfn(100)),cyan:getset("cmyk",0,maxfn(100)),magenta:getset("cmyk",1,maxfn(100)),yellow:getset("cmyk",2,maxfn(100)),black:getset("cmyk",3,maxfn(100)),x:getset("xyz",0,maxfn(100)),y:getset("xyz",1,maxfn(100)),z:getset("xyz",2,maxfn(100)),l:getset("lab",0,maxfn(100)),a:getset("lab",1),b:getset("lab",2),keyword:function(val){if(arguments.length)return new Color(val);return convert[this.model].keyword(this.color)},hex:function(val){if(arguments.length)return new Color(val);return colorString.to.hex(this.rgb().round().color)},rgbNumber:function(){var rgb=this.rgb().color;return(255&rgb[0])<<16|(255&rgb[1])<<8|255&rgb[2]},luminosity:function(){var rgb=this.rgb().color;var lum=[];for(var i=0;i<rgb.length;i++){var chan=rgb[i]/255;lum[i]=chan<=.03928?chan/12.92:Math.pow((chan+.055)/1.055,2.4)}return.2126*lum[0]+.7152*lum[1]+.0722*lum[2]},contrast:function(color2){var lum1=this.luminosity();var lum2=color2.luminosity();if(lum1>lum2)return(lum1+.05)/(lum2+.05);return(lum2+.05)/(lum1+.05)},level:function(color2){var contrastRatio=this.contrast(color2);if(contrastRatio>=7.1)return"AAA";return contrastRatio>=4.5?"AA":""},dark:function(){var rgb=this.rgb().color;var yiq=(299*rgb[0]+587*rgb[1]+114*rgb[2])/1e3;return yiq<128},light:function(){return!this.dark()},negate:function(){var rgb=this.rgb();for(var i=0;i<3;i++)rgb.color[i]=255-rgb.color[i];return rgb},lighten:function(ratio){var hsl=this.hsl();hsl.color[2]+=hsl.color[2]*ratio;return hsl},darken:function(ratio){var hsl=this.hsl();hsl.color[2]-=hsl.color[2]*ratio;return hsl},saturate:function(ratio){var hsl=this.hsl();hsl.color[1]+=hsl.color[1]*ratio;return hsl},desaturate:function(ratio){var hsl=this.hsl();hsl.color[1]-=hsl.color[1]*ratio;return hsl},whiten:function(ratio){var hwb=this.hwb();hwb.color[1]+=hwb.color[1]*ratio;return hwb},blacken:function(ratio){var hwb=this.hwb();hwb.color[2]+=hwb.color[2]*ratio;return hwb},grayscale:function(){var rgb=this.rgb().color;var val=.3*rgb[0]+.59*rgb[1]+.11*rgb[2];return Color.rgb(val,val,val)},fade:function(ratio){return this.alpha(this.valpha-this.valpha*ratio)},opaquer:function(ratio){return this.alpha(this.valpha+this.valpha*ratio)},rotate:function(degrees){var hsl=this.hsl();var hue=hsl.color[0];hue=(hue+degrees)%360;hue=hue<0?360+hue:hue;hsl.color[0]=hue;return hsl},mix:function(mixinColor,weight){var color1=this.rgb();var color2=mixinColor.rgb();var p=void 0===weight?.5:weight;var w=2*p-1;var a=color1.alpha()-color2.alpha();var w1=((w*a===-1?w:(w+a)/(1+w*a))+1)/2;var w2=1-w1;return Color.rgb(w1*color1.red()+w2*color2.red(),w1*color1.green()+w2*color2.green(),w1*color1.blue()+w2*color2.blue(),color1.alpha()*p+color2.alpha()*(1-p))}};Object.keys(convert).forEach(function(model){if(-1!==skippedModels.indexOf(model))return;var channels=convert[model].channels;Color.prototype[model]=function(){if(this.model===model)return new Color(this);if(arguments.length)return new Color(arguments,model);var newAlpha="number"===typeof arguments[channels]?channels:this.valpha;return new Color(assertArray(convert[this.model][model].raw(this.color)).concat(newAlpha),model)};Color[model]=function(color){"number"===typeof color&&(color=zeroArray(_slice.call(arguments),channels));return new Color(color,model)}});function roundTo(num,places){return Number(num.toFixed(places))}function roundToPlace(places){return function(num){return roundTo(num,places)}}function getset(model,channel,modifier){model=Array.isArray(model)?model:[model];model.forEach(function(m){(limiters[m]||(limiters[m]=[]))[channel]=modifier});model=model[0];return function(val){var result;if(arguments.length){modifier&&(val=modifier(val));result=this[model]();result.color[channel]=val;return result}result=this[model]().color[channel];modifier&&(result=modifier(result));return result}}function maxfn(max){return function(v){return Math.max(0,Math.min(max,v))}}function assertArray(val){return Array.isArray(val)?val:[val]}function zeroArray(arr,length){for(var i=0;i<length;i++)"number"!==typeof arr[i]&&(arr[i]=0);return arr}module.exports=Color},function(module,exports,__webpack_require__){var colorNames=__webpack_require__(834);var swizzle=__webpack_require__(2102);var reverseNames={};for(var name in colorNames)colorNames.hasOwnProperty(name)&&(reverseNames[colorNames[name]]=name);var cs=module.exports={to:{}};cs.get=function(string){var prefix=string.substring(0,3).toLowerCase();var val;var model;switch(prefix){case"hsl":val=cs.get.hsl(string);model="hsl";break;case"hwb":val=cs.get.hwb(string);model="hwb";break;default:val=cs.get.rgb(string);model="rgb"}if(!val)return null;return{model:model,value:val}};cs.get.rgb=function(string){if(!string)return null;var abbr=/^#([a-f0-9]{3,4})$/i;var hex=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i;var rgba=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;var per=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;var keyword=/(\D+)/;var rgb=[0,0,0,1];var match;var i;var hexAlpha;if(match=string.match(hex)){hexAlpha=match[2];match=match[1];for(i=0;i<3;i++){var i2=2*i;rgb[i]=parseInt(match.slice(i2,i2+2),16)}hexAlpha&&(rgb[3]=Math.round(parseInt(hexAlpha,16)/255*100)/100)}else if(match=string.match(abbr)){match=match[1];hexAlpha=match[3];for(i=0;i<3;i++)rgb[i]=parseInt(match[i]+match[i],16);hexAlpha&&(rgb[3]=Math.round(parseInt(hexAlpha+hexAlpha,16)/255*100)/100)}else if(match=string.match(rgba)){for(i=0;i<3;i++)rgb[i]=parseInt(match[i+1],0);match[4]&&(rgb[3]=parseFloat(match[4]))}else{if(!(match=string.match(per))){if(match=string.match(keyword)){if("transparent"===match[1])return[0,0,0,0];rgb=colorNames[match[1]];if(!rgb)return null;rgb[3]=1;return rgb}return null}for(i=0;i<3;i++)rgb[i]=Math.round(2.55*parseFloat(match[i+1]));match[4]&&(rgb[3]=parseFloat(match[4]))}for(i=0;i<3;i++)rgb[i]=clamp(rgb[i],0,255);rgb[3]=clamp(rgb[3],0,1);return rgb};cs.get.hsl=function(string){if(!string)return null;var hsl=/^hsla?\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;var match=string.match(hsl);if(match){var alpha=parseFloat(match[4]);var h=(parseFloat(match[1])%360+360)%360;var s=clamp(parseFloat(match[2]),0,100);var l=clamp(parseFloat(match[3]),0,100);var a=clamp(isNaN(alpha)?1:alpha,0,1);return[h,s,l,a]}return null};cs.get.hwb=function(string){if(!string)return null;var hwb=/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;var match=string.match(hwb);if(match){var alpha=parseFloat(match[4]);var h=(parseFloat(match[1])%360+360)%360;var w=clamp(parseFloat(match[2]),0,100);var b=clamp(parseFloat(match[3]),0,100);var a=clamp(isNaN(alpha)?1:alpha,0,1);return[h,w,b,a]}return null};cs.to.hex=function(){var rgba=swizzle(arguments);return"#"+hexDouble(rgba[0])+hexDouble(rgba[1])+hexDouble(rgba[2])+(rgba[3]<1?hexDouble(Math.round(255*rgba[3])):"")};cs.to.rgb=function(){var rgba=swizzle(arguments);return rgba.length<4||1===rgba[3]?"rgb("+Math.round(rgba[0])+", "+Math.round(rgba[1])+", "+Math.round(rgba[2])+")":"rgba("+Math.round(rgba[0])+", "+Math.round(rgba[1])+", "+Math.round(rgba[2])+", "+rgba[3]+")"};cs.to.rgb.percent=function(){var rgba=swizzle(arguments);var r=Math.round(rgba[0]/255*100);var g=Math.round(rgba[1]/255*100);var b=Math.round(rgba[2]/255*100);return rgba.length<4||1===rgba[3]?"rgb("+r+"%, "+g+"%, "+b+"%)":"rgba("+r+"%, "+g+"%, "+b+"%, "+rgba[3]+")"};cs.to.hsl=function(){var hsla=swizzle(arguments);return hsla.length<4||1===hsla[3]?"hsl("+hsla[0]+", "+hsla[1]+"%, "+hsla[2]+"%)":"hsla("+hsla[0]+", "+hsla[1]+"%, "+hsla[2]+"%, "+hsla[3]+")"};cs.to.hwb=function(){var hwba=swizzle(arguments);var a="";hwba.length>=4&&1!==hwba[3]&&(a=", "+hwba[3]);return"hwb("+hwba[0]+", "+hwba[1]+"%, "+hwba[2]+"%"+a+")"};cs.to.keyword=function(rgb){return reverseNames[rgb.slice(0,3)]};function clamp(num,min,max){return Math.min(Math.max(min,num),max)}function hexDouble(num){var str=num.toString(16).toUpperCase();return str.length<2?"0"+str:str}},function(module,exports,__webpack_require__){"use strict";var isArrayish=__webpack_require__(2103);var concat=Array.prototype.concat;var slice=Array.prototype.slice;var swizzle=module.exports=function swizzle(args){var results=[];for(var i=0,len=args.length;i<len;i++){var arg=args[i];isArrayish(arg)?results=concat.call(results,slice.call(arg)):results.push(arg)}return results};swizzle.wrap=function(fn){return function(){return fn(swizzle(arguments))}}},function(module,exports,__webpack_require__){"use strict";module.exports=function isArrayish(obj){if(!obj||"string"===typeof obj)return false;return obj instanceof Array||Array.isArray(obj)||obj.length>=0&&(obj.splice instanceof Function||Object.getOwnPropertyDescriptor(obj,obj.length-1)&&"String"!==obj.constructor.name)}},function(module,exports,__webpack_require__){var conversions=__webpack_require__(835);var route=__webpack_require__(2105);var convert={};var models=Object.keys(conversions);function wrapRaw(fn){var wrappedFn=function(args){if(void 0===args||null===args)return args;arguments.length>1&&(args=Array.prototype.slice.call(arguments));return fn(args)};"conversion"in fn&&(wrappedFn.conversion=fn.conversion);return wrappedFn}function wrapRounded(fn){var wrappedFn=function(args){if(void 0===args||null===args)return args;arguments.length>1&&(args=Array.prototype.slice.call(arguments));var result=fn(args);if("object"===typeof result)for(var len=result.length,i=0;i<len;i++)result[i]=Math.round(result[i]);return result};"conversion"in fn&&(wrappedFn.conversion=fn.conversion);return wrappedFn}models.forEach(function(fromModel){convert[fromModel]={};Object.defineProperty(convert[fromModel],"channels",{value:conversions[fromModel].channels});Object.defineProperty(convert[fromModel],"labels",{value:conversions[fromModel].labels});var routes=route(fromModel);var routeModels=Object.keys(routes);routeModels.forEach(function(toModel){var fn=routes[toModel];convert[fromModel][toModel]=wrapRounded(fn);convert[fromModel][toModel].raw=wrapRaw(fn)})});module.exports=convert},function(module,exports,__webpack_require__){var conversions=__webpack_require__(835);function buildGraph(){var graph={};var models=Object.keys(conversions);for(var len=models.length,i=0;i<len;i++)graph[models[i]]={distance:-1,parent:null};return graph}function deriveBFS(fromModel){var graph=buildGraph();var queue=[fromModel];graph[fromModel].distance=0;while(queue.length){var current=queue.pop();var adjacents=Object.keys(conversions[current]);for(var len=adjacents.length,i=0;i<len;i++){var adjacent=adjacents[i];var node=graph[adjacent];if(-1===node.distance){node.distance=graph[current].distance+1;node.parent=current;queue.unshift(adjacent)}}}return graph}function link(from,to){return function(args){return to(from(args))}}function wrapConversion(toModel,graph){var path=[graph[toModel].parent,toModel];var fn=conversions[graph[toModel].parent][toModel];var cur=graph[toModel].parent;while(graph[cur].parent){path.unshift(graph[cur].parent);fn=link(conversions[graph[cur].parent][cur],fn);cur=graph[cur].parent}fn.conversion=path;return fn}module.exports=function(fromModel){var graph=deriveBFS(fromModel);var conversion={};var models=Object.keys(graph);for(var len=models.length,i=0;i<len;i++){var toModel=models[i];var node=graph[toModel];if(null===node.parent)continue;conversion[toModel]=wrapConversion(toModel,graph)}return conversion}},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(root,factory){true;!(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_FACTORY__=factory,__WEBPACK_AMD_DEFINE_RESULT__="function"===typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__,void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})(0,function(){var semver=/^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;var patch=/-([0-9A-Za-z-.]+)/;function split(v){var temp=v.replace(/^v/,"").split(".");var arr=temp.splice(0,2);arr.push(temp.join("."));return arr}function tryParse(v){return isNaN(Number(v))?v:Number(v)}function validate(version){if("string"!==typeof version)throw new TypeError("Invalid argument expected string");if(!semver.test(version))throw new Error("Invalid argument not valid semver")}return function compareVersions(v1,v2){[v1,v2].forEach(validate);var s1=split(v1);var s2=split(v2);for(var i=0;i<3;i++){var n1=parseInt(s1[i]||0,10);var n2=parseInt(s2[i]||0,10);if(n1>n2)return 1;if(n2>n1)return-1}if([s1[2],s2[2]].every(patch.test.bind(patch))){var p1=patch.exec(s1[2])[1].split(".").map(tryParse);var p2=patch.exec(s2[2])[1].split(".").map(tryParse);for(i=0;i<Math.max(p1.length,p2.length);i++){if(void 0===p1[i]||"string"===typeof p2[i]&&"number"===typeof p1[i])return-1;if(void 0===p2[i]||"string"===typeof p1[i]&&"number"===typeof p2[i])return 1;if(p1[i]>p2[i])return 1;if(p2[i]>p1[i])return-1}}else if([s1[2],s2[2]].some(patch.test.bind(patch)))return patch.test(s1[2])?-1:1;return 0}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.P,"Array",{copyWithin:__webpack_require__(837)});__webpack_require__(199)("copyWithin")},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.P,"Array",{fill:__webpack_require__(466)});__webpack_require__(199)("fill")},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(11);var $find=__webpack_require__(248)(6);var KEY="findIndex";var forced=true;KEY in[]&&Array(1)[KEY](function(){forced=false});$export($export.P+$export.F*forced,"Array",{findIndex:function findIndex(callbackfn){return $find(this,callbackfn,arguments.length>1?arguments[1]:void 0)}});__webpack_require__(199)(KEY)},function(module,exports,__webpack_require__){var speciesConstructor=__webpack_require__(2111);module.exports=function(original,length){return new(speciesConstructor(original))(length)}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);var isArray=__webpack_require__(838);var SPECIES=__webpack_require__(45)("species");module.exports=function(original){var C;if(isArray(original)){C=original.constructor;"function"!=typeof C||C!==Array&&!isArray(C.prototype)||(C=void 0);if(isObject(C)){C=C[SPECIES];null===C&&(C=void 0)}}return void 0===C?Array:C}},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(11);var $find=__webpack_require__(248)(5);var KEY="find";var forced=true;KEY in[]&&Array(1)[KEY](function(){forced=false});$export($export.P+$export.F*forced,"Array",{find:function find(callbackfn){return $find(this,callbackfn,arguments.length>1?arguments[1]:void 0)}});__webpack_require__(199)(KEY)},function(module,exports,__webpack_require__){"use strict";var ctx=__webpack_require__(117);var $export=__webpack_require__(11);var toObject=__webpack_require__(118);var call=__webpack_require__(839);var isArrayIter=__webpack_require__(468);var toLength=__webpack_require__(67);var createProperty=__webpack_require__(469);var getIterFn=__webpack_require__(470);$export($export.S+$export.F*!__webpack_require__(323)(function(iter){Array.from(iter)}),"Array",{from:function from(arrayLike){var O=toObject(arrayLike);var C="function"==typeof this?this:Array;var aLen=arguments.length;var mapfn=aLen>1?arguments[1]:void 0;var mapping=void 0!==mapfn;var index=0;var iterFn=getIterFn(O);var length,result,step,iterator;mapping&&(mapfn=ctx(mapfn,aLen>2?arguments[2]:void 0,2));if(void 0==iterFn||C==Array&&isArrayIter(iterFn)){length=toLength(O.length);for(result=new C(length);length>index;index++)createProperty(result,index,mapping?mapfn(O[index],index):O[index])}else for(iterator=iterFn.call(O),result=new C;!(step=iterator.next()).done;index++)createProperty(result,index,mapping?call(iterator,mapfn,[step.value,index],true):step.value);result.length=index;return result}})},function(module,exports,__webpack_require__){"use strict";var create=__webpack_require__(249);var descriptor=__webpack_require__(166);var setToStringTag=__webpack_require__(203);var IteratorPrototype={};__webpack_require__(98)(IteratorPrototype,__webpack_require__(45)("iterator"),function(){return this});module.exports=function(Constructor,NAME,next){Constructor.prototype=create(IteratorPrototype,{next:descriptor(1,next)});setToStringTag(Constructor,NAME+" Iterator")}},function(module,exports,__webpack_require__){var dP=__webpack_require__(62);var anObject=__webpack_require__(39);var getKeys=__webpack_require__(171);module.exports=__webpack_require__(85)?Object.defineProperties:function defineProperties(O,Properties){anObject(O);var keys=getKeys(Properties);var length=keys.length;var i=0;var P;while(length>i)dP.f(O,P=keys[i++],Properties[P]);return O}},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(11);var createProperty=__webpack_require__(469);$export($export.S+$export.F*__webpack_require__(51)(function(){function F(){}return!(Array.of.call(F)instanceof F)}),"Array",{of:function of(){var index=0;var aLen=arguments.length;var result=new("function"==typeof this?this:Array)(aLen);while(aLen>index)createProperty(result,index,arguments[index++]);result.length=aLen;return result}})},function(module,exports,__webpack_require__){var dP=__webpack_require__(62).f;var FProto=Function.prototype;var nameRE=/^\s*function ([^ (]*)/;var NAME="name";NAME in FProto||__webpack_require__(85)&&dP(FProto,NAME,{configurable:true,get:function(){try{return(""+this).match(nameRE)[1]}catch(e){return""}}})},function(module,exports,__webpack_require__){"use strict";var strong=__webpack_require__(844);var validate=__webpack_require__(207);var MAP="Map";module.exports=__webpack_require__(326)(MAP,function(get){return function Map(){return get(this,arguments.length>0?arguments[0]:void 0)}},{get:function get(key){var entry=strong.getEntry(validate(this,MAP),key);return entry&&entry.v},set:function set(key,value){return strong.def(validate(this,MAP),0===key?0:key,value)}},strong,true)},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);var setPrototypeOf=__webpack_require__(476).set;module.exports=function(that,target,C){var S=target.constructor;var P;S!==C&&"function"==typeof S&&(P=S.prototype)!==C.prototype&&isObject(P)&&setPrototypeOf&&setPrototypeOf(that,P);return that}},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var log1p=__webpack_require__(845);var sqrt=Math.sqrt;var $acosh=Math.acosh;$export($export.S+$export.F*!($acosh&&710==Math.floor($acosh(Number.MAX_VALUE))&&Infinity==$acosh(Infinity)),"Math",{acosh:function acosh(x){return(x=+x)<1?NaN:x>94906265.62425156?Math.log(x)+Math.LN2:log1p(x-1+sqrt(x-1)*sqrt(x+1))}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var $asinh=Math.asinh;function asinh(x){return isFinite(x=+x)&&0!=x?x<0?-asinh(-x):Math.log(x+Math.sqrt(x*x+1)):x}$export($export.S+$export.F*!($asinh&&1/$asinh(0)>0),"Math",{asinh:asinh})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var $atanh=Math.atanh;$export($export.S+$export.F*!($atanh&&1/$atanh(-0)<0),"Math",{atanh:function atanh(x){return 0==(x=+x)?x:Math.log((1+x)/(1-x))/2}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var sign=__webpack_require__(477);$export($export.S,"Math",{cbrt:function cbrt(x){return sign(x=+x)*Math.pow(Math.abs(x),1/3)}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Math",{clz32:function clz32(x){return(x>>>=0)?31-Math.floor(Math.log(x+.5)*Math.LOG2E):32}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var exp=Math.exp;$export($export.S,"Math",{cosh:function cosh(x){return(exp(x=+x)+exp(-x))/2}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var $expm1=__webpack_require__(478);$export($export.S+$export.F*($expm1!=Math.expm1),"Math",{expm1:$expm1})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Math",{fround:__webpack_require__(2128)})},function(module,exports,__webpack_require__){var sign=__webpack_require__(477);var pow=Math.pow;var EPSILON=pow(2,-52);var EPSILON32=pow(2,-23);var MAX32=pow(2,127)*(2-EPSILON32);var MIN32=pow(2,-126);var roundTiesToEven=function(n){return n+1/EPSILON-1/EPSILON};module.exports=Math.fround||function fround(x){var $abs=Math.abs(x);var $sign=sign(x);var a,result;if($abs<MIN32)return $sign*roundTiesToEven($abs/MIN32/EPSILON32)*MIN32*EPSILON32;a=(1+EPSILON32/EPSILON)*$abs;result=a-(a-$abs);if(result>MAX32||result!=result)return Infinity*$sign;return $sign*result}},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var abs=Math.abs;$export($export.S,"Math",{hypot:function hypot(value1,value2){var sum=0;var i=0;var aLen=arguments.length;var larg=0;var arg,div;while(i<aLen){arg=abs(arguments[i++]);if(larg<arg){div=larg/arg;sum=sum*div*div+1;larg=arg}else if(arg>0){div=arg/larg;sum+=div*div}else sum+=arg}return Infinity===larg?Infinity:larg*Math.sqrt(sum)}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var $imul=Math.imul;$export($export.S+$export.F*__webpack_require__(51)(function(){return-5!=$imul(4294967295,5)||2!=$imul.length}),"Math",{imul:function imul(x,y){var UINT16=65535;var xn=+x;var yn=+y;var xl=UINT16&xn;var yl=UINT16&yn;return 0|xl*yl+((UINT16&xn>>>16)*yl+xl*(UINT16&yn>>>16)<<16>>>0)}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Math",{log10:function log10(x){return Math.log(x)*Math.LOG10E}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Math",{log1p:__webpack_require__(845)})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Math",{log2:function log2(x){return Math.log(x)/Math.LN2}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Math",{sign:__webpack_require__(477)})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var expm1=__webpack_require__(478);var exp=Math.exp;$export($export.S+$export.F*__webpack_require__(51)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function sinh(x){return Math.abs(x=+x)<1?(expm1(x)-expm1(-x))/2:(exp(x-1)-exp(-x-1))*(Math.E/2)}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var expm1=__webpack_require__(478);var exp=Math.exp;$export($export.S,"Math",{tanh:function tanh(x){var a=expm1(x=+x);var b=expm1(-x);return Infinity==a?1:Infinity==b?-1:(a-b)/(exp(x)+exp(-x))}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Math",{trunc:function trunc(it){return(it>0?Math.floor:Math.ceil)(it)}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Number",{EPSILON:Math.pow(2,-52)})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var _isFinite=__webpack_require__(36).isFinite;$export($export.S,"Number",{isFinite:function isFinite(it){return"number"==typeof it&&_isFinite(it)}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Number",{isInteger:__webpack_require__(846)})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Number",{isNaN:function isNaN(number){return number!=number}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var isInteger=__webpack_require__(846);var abs=Math.abs;$export($export.S,"Number",{isSafeInteger:function isSafeInteger(number){return isInteger(number)&&abs(number)<=9007199254740991}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S+$export.F,"Object",{assign:__webpack_require__(847)})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);var meta=__webpack_require__(135).onFreeze;__webpack_require__(107)("freeze",function($freeze){return function freeze(it){return $freeze&&isObject(it)?$freeze(meta(it)):it}})},function(module,exports,__webpack_require__){var toIObject=__webpack_require__(106);var $getOwnPropertyDescriptor=__webpack_require__(119).f;__webpack_require__(107)("getOwnPropertyDescriptor",function(){return function getOwnPropertyDescriptor(it,key){return $getOwnPropertyDescriptor(toIObject(it),key)}})},function(module,exports,__webpack_require__){__webpack_require__(107)("getOwnPropertyNames",function(){return __webpack_require__(848).f})},function(module,exports,__webpack_require__){var toObject=__webpack_require__(118);var $getPrototypeOf=__webpack_require__(204);__webpack_require__(107)("getPrototypeOf",function(){return function getPrototypeOf(it){return $getPrototypeOf(toObject(it))}})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);__webpack_require__(107)("isExtensible",function($isExtensible){return function isExtensible(it){return!!isObject(it)&&(!$isExtensible||$isExtensible(it))}})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);__webpack_require__(107)("isFrozen",function($isFrozen){return function isFrozen(it){return!isObject(it)||!!$isFrozen&&$isFrozen(it)}})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);__webpack_require__(107)("isSealed",function($isSealed){return function isSealed(it){return!isObject(it)||!!$isSealed&&$isSealed(it)}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Object",{is:__webpack_require__(2154)})},function(module,exports){module.exports=Object.is||function is(x,y){return x===y?0!==x||1/x===1/y:x!=x&&y!=y}},function(module,exports,__webpack_require__){var toObject=__webpack_require__(118);var $keys=__webpack_require__(171);__webpack_require__(107)("keys",function(){return function keys(it){return $keys(toObject(it))}})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);var meta=__webpack_require__(135).onFreeze;__webpack_require__(107)("preventExtensions",function($preventExtensions){return function preventExtensions(it){return $preventExtensions&&isObject(it)?$preventExtensions(meta(it)):it}})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(29);var meta=__webpack_require__(135).onFreeze;__webpack_require__(107)("seal",function($seal){return function seal(it){return $seal&&isObject(it)?$seal(meta(it)):it}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Object",{setPrototypeOf:__webpack_require__(476).set})},function(module,exports,__webpack_require__){"use strict";var LIBRARY=__webpack_require__(202);var global=__webpack_require__(36);var ctx=__webpack_require__(117);var classof=__webpack_require__(471);var $export=__webpack_require__(11);var isObject=__webpack_require__(29);var aFunction=__webpack_require__(168);var anInstance=__webpack_require__(206);var forOf=__webpack_require__(324);var speciesConstructor=__webpack_require__(479);var task=__webpack_require__(480).set;var microtask=__webpack_require__(2160)();var newPromiseCapabilityModule=__webpack_require__(850);var perform=__webpack_require__(2161);var promiseResolve=__webpack_require__(2162);var PROMISE="Promise";var TypeError=global.TypeError;var process=global.process;var $Promise=global[PROMISE];var isNode="process"==classof(process);var empty=function(){};var Internal,newGenericPromiseCapability,OwnPromiseCapability,Wrapper;var newPromiseCapability=newGenericPromiseCapability=newPromiseCapabilityModule.f;var USE_NATIVE=!!function(){try{var promise=$Promise.resolve(1);var FakePromise=(promise.constructor={})[__webpack_require__(45)("species")]=function(exec){exec(empty,empty)};return(isNode||"function"==typeof PromiseRejectionEvent)&&promise.then(empty)instanceof FakePromise}catch(e){}}();var isThenable=function(it){var then;return!(!isObject(it)||"function"!=typeof(then=it.then))&&then};var notify=function(promise,isReject){if(promise._n)return;promise._n=true;var chain=promise._c;microtask(function(){var value=promise._v;var ok=1==promise._s;var i=0;var run=function(reaction){var handler=ok?reaction.ok:reaction.fail;var resolve=reaction.resolve;var reject=reaction.reject;var domain=reaction.domain;var result,then;try{if(handler){if(!ok){2==promise._h&&onHandleUnhandled(promise);promise._h=1}if(true===handler)result=value;else{domain&&domain.enter();result=handler(value);domain&&domain.exit()}result===reaction.promise?reject(TypeError("Promise-chain cycle")):(then=isThenable(result))?then.call(result,resolve,reject):resolve(result)}else reject(value)}catch(e){reject(e)}};while(chain.length>i)run(chain[i++]);promise._c=[];promise._n=false;isReject&&!promise._h&&onUnhandled(promise)})};var onUnhandled=function(promise){task.call(global,function(){var value=promise._v;var unhandled=isUnhandled(promise);var result,handler,console;if(unhandled){result=perform(function(){isNode?process.emit("unhandledRejection",value,promise):(handler=global.onunhandledrejection)?handler({promise:promise,reason:value}):(console=global.console)&&console.error&&console.error("Unhandled promise rejection",value)});promise._h=isNode||isUnhandled(promise)?2:1}promise._a=void 0;if(unhandled&&result.e)throw result.v})};var isUnhandled=function(promise){return 1!==promise._h&&0===(promise._a||promise._c).length};var onHandleUnhandled=function(promise){task.call(global,function(){var handler;isNode?process.emit("rejectionHandled",promise):(handler=global.onrejectionhandled)&&handler({promise:promise,reason:promise._v})})};var $reject=function(value){var promise=this;if(promise._d)return;promise._d=true;promise=promise._w||promise;promise._v=value;promise._s=2;promise._a||(promise._a=promise._c.slice());notify(promise,true)};var $resolve=function(value){var promise=this;var then;if(promise._d)return;promise._d=true;promise=promise._w||promise;try{if(promise===value)throw TypeError("Promise can't be resolved itself");if(then=isThenable(value))microtask(function(){var wrapper={_w:promise,_d:false};try{then.call(value,ctx($resolve,wrapper,1),ctx($reject,wrapper,1))}catch(e){$reject.call(wrapper,e)}});else{promise._v=value;promise._s=1;notify(promise,false)}}catch(e){$reject.call({_w:promise,_d:false},e)}};if(!USE_NATIVE){$Promise=function Promise(executor){anInstance(this,$Promise,PROMISE,"_h");aFunction(executor);Internal.call(this);try{executor(ctx($resolve,this,1),ctx($reject,this,1))}catch(err){$reject.call(this,err)}};Internal=function Promise(executor){this._c=[];this._a=void 0;this._s=0;this._d=false;this._v=void 0;this._h=0;this._n=false};Internal.prototype=__webpack_require__(205)($Promise.prototype,{then:function then(onFulfilled,onRejected){var reaction=newPromiseCapability(speciesConstructor(this,$Promise));reaction.ok="function"!=typeof onFulfilled||onFulfilled;reaction.fail="function"==typeof onRejected&&onRejected;reaction.domain=isNode?process.domain:void 0;this._c.push(reaction);this._a&&this._a.push(reaction);this._s&&notify(this,false);return reaction.promise},catch:function(onRejected){return this.then(void 0,onRejected)}});OwnPromiseCapability=function(){var promise=new Internal;this.promise=promise;this.resolve=ctx($resolve,promise,1);this.reject=ctx($reject,promise,1)};newPromiseCapabilityModule.f=newPromiseCapability=function(C){return C===$Promise||C===Wrapper?new OwnPromiseCapability(C):newGenericPromiseCapability(C)}}$export($export.G+$export.W+$export.F*!USE_NATIVE,{Promise:$Promise});__webpack_require__(203)($Promise,PROMISE);__webpack_require__(325)(PROMISE);Wrapper=__webpack_require__(197)[PROMISE];$export($export.S+$export.F*!USE_NATIVE,PROMISE,{reject:function reject(r){var capability=newPromiseCapability(this);var $$reject=capability.reject;$$reject(r);return capability.promise}});$export($export.S+$export.F*(LIBRARY||!USE_NATIVE),PROMISE,{resolve:function resolve(x){return promiseResolve(LIBRARY&&this===Wrapper?$Promise:this,x)}});$export($export.S+$export.F*!(USE_NATIVE&&__webpack_require__(323)(function(iter){$Promise.all(iter)["catch"](empty)})),PROMISE,{all:function all(iterable){var C=this;var capability=newPromiseCapability(C);var resolve=capability.resolve;var reject=capability.reject;var result=perform(function(){var values=[];var index=0;var remaining=1;forOf(iterable,false,function(promise){var $index=index++;var alreadyCalled=false;values.push(void 0);remaining++;C.resolve(promise).then(function(value){if(alreadyCalled)return;alreadyCalled=true;values[$index]=value;--remaining||resolve(values)},reject)});--remaining||resolve(values)});result.e&&reject(result.v);return capability.promise},race:function race(iterable){var C=this;var capability=newPromiseCapability(C);var reject=capability.reject;var result=perform(function(){forOf(iterable,false,function(promise){C.resolve(promise).then(capability.resolve,reject)})});result.e&&reject(result.v);return capability.promise}})},function(module,exports,__webpack_require__){var global=__webpack_require__(36);var macrotask=__webpack_require__(480).set;var Observer=global.MutationObserver||global.WebKitMutationObserver;var process=global.process;var Promise=global.Promise;var isNode="process"==__webpack_require__(200)(process);module.exports=function(){var head,last,notify;var flush=function(){var parent,fn;isNode&&(parent=process.domain)&&parent.exit();while(head){fn=head.fn;head=head.next;try{fn()}catch(e){head?notify():last=void 0;throw e}}last=void 0;parent&&parent.enter()};if(isNode)notify=function(){process.nextTick(flush)};else if(!Observer||global.navigator&&global.navigator.standalone)if(Promise&&Promise.resolve){var promise=Promise.resolve();notify=function(){promise.then(flush)}}else notify=function(){macrotask.call(global,flush)};else{var toggle=true;var node=document.createTextNode("");new Observer(flush).observe(node,{characterData:true});notify=function(){node.data=toggle=!toggle}}return function(fn){var task={fn:fn,next:void 0};last&&(last.next=task);if(!head){head=task;notify()}last=task}}},function(module,exports){module.exports=function(exec){try{return{e:false,v:exec()}}catch(e){return{e:true,v:e}}}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(39);var isObject=__webpack_require__(29);var newPromiseCapability=__webpack_require__(850);module.exports=function(C,x){anObject(C);if(isObject(x)&&x.constructor===C)return x;var promiseCapability=newPromiseCapability.f(C);var resolve=promiseCapability.resolve;resolve(x);return promiseCapability.promise}},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var aFunction=__webpack_require__(168);var anObject=__webpack_require__(39);var rApply=(__webpack_require__(36).Reflect||{}).apply;var fApply=Function.apply;$export($export.S+$export.F*!__webpack_require__(51)(function(){rApply(function(){})}),"Reflect",{apply:function apply(target,thisArgument,argumentsList){var T=aFunction(target);var L=anObject(argumentsList);return rApply?rApply(T,thisArgument,L):fApply.call(T,thisArgument,L)}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var create=__webpack_require__(249);var aFunction=__webpack_require__(168);var anObject=__webpack_require__(39);var isObject=__webpack_require__(29);var fails=__webpack_require__(51);var bind=__webpack_require__(2165);var rConstruct=(__webpack_require__(36).Reflect||{}).construct;var NEW_TARGET_BUG=fails(function(){function F(){}return!(rConstruct(function(){},[],F)instanceof F)});var ARGS_BUG=!fails(function(){rConstruct(function(){})});$export($export.S+$export.F*(NEW_TARGET_BUG||ARGS_BUG),"Reflect",{construct:function construct(Target,args){aFunction(Target);anObject(args);var newTarget=arguments.length<3?Target:aFunction(arguments[2]);if(ARGS_BUG&&!NEW_TARGET_BUG)return rConstruct(Target,args,newTarget);if(Target==newTarget){switch(args.length){case 0:return new Target;case 1:return new Target(args[0]);case 2:return new Target(args[0],args[1]);case 3:return new Target(args[0],args[1],args[2]);case 4:return new Target(args[0],args[1],args[2],args[3])}var $args=[null];$args.push.apply($args,args);return new(bind.apply(Target,$args))}var proto=newTarget.prototype;var instance=create(isObject(proto)?proto:Object.prototype);var result=Function.apply.call(Target,instance,args);return isObject(result)?result:instance}})},function(module,exports,__webpack_require__){"use strict";var aFunction=__webpack_require__(168);var isObject=__webpack_require__(29);var invoke=__webpack_require__(849);var arraySlice=[].slice;var factories={};var construct=function(F,len,args){if(!(len in factories)){for(var n=[],i=0;i<len;i++)n[i]="a["+i+"]";factories[len]=Function("F,a","return new F("+n.join(",")+")")}return factories[len](F,args)};module.exports=Function.bind||function bind(that){var fn=aFunction(this);var partArgs=arraySlice.call(arguments,1);var bound=function(){var args=partArgs.concat(arraySlice.call(arguments));return this instanceof bound?construct(fn,args.length,args):invoke(fn,args,that)};isObject(fn.prototype)&&(bound.prototype=fn.prototype);return bound}},function(module,exports,__webpack_require__){var dP=__webpack_require__(62);var $export=__webpack_require__(11);var anObject=__webpack_require__(39);var toPrimitive=__webpack_require__(247);$export($export.S+$export.F*__webpack_require__(51)(function(){Reflect.defineProperty(dP.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function defineProperty(target,propertyKey,attributes){anObject(target);propertyKey=toPrimitive(propertyKey,true);anObject(attributes);try{dP.f(target,propertyKey,attributes);return true}catch(e){return false}}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var gOPD=__webpack_require__(119).f;var anObject=__webpack_require__(39);$export($export.S,"Reflect",{deleteProperty:function deleteProperty(target,propertyKey){var desc=gOPD(anObject(target),propertyKey);return!(desc&&!desc.configurable)&&delete target[propertyKey]}})},function(module,exports,__webpack_require__){var gOPD=__webpack_require__(119);var $export=__webpack_require__(11);var anObject=__webpack_require__(39);$export($export.S,"Reflect",{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(target,propertyKey){return gOPD.f(anObject(target),propertyKey)}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var getProto=__webpack_require__(204);var anObject=__webpack_require__(39);$export($export.S,"Reflect",{getPrototypeOf:function getPrototypeOf(target){return getProto(anObject(target))}})},function(module,exports,__webpack_require__){var gOPD=__webpack_require__(119);var getPrototypeOf=__webpack_require__(204);var has=__webpack_require__(86);var $export=__webpack_require__(11);var isObject=__webpack_require__(29);var anObject=__webpack_require__(39);function get(target,propertyKey){var receiver=arguments.length<3?target:arguments[2];var desc,proto;if(anObject(target)===receiver)return target[propertyKey];if(desc=gOPD.f(target,propertyKey))return has(desc,"value")?desc.value:void 0!==desc.get?desc.get.call(receiver):void 0;if(isObject(proto=getPrototypeOf(target)))return get(proto,propertyKey,receiver)}$export($export.S,"Reflect",{get:get})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Reflect",{has:function has(target,propertyKey){return propertyKey in target}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var anObject=__webpack_require__(39);var $isExtensible=Object.isExtensible;$export($export.S,"Reflect",{isExtensible:function isExtensible(target){anObject(target);return!$isExtensible||$isExtensible(target)}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.S,"Reflect",{ownKeys:__webpack_require__(851)})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var anObject=__webpack_require__(39);var $preventExtensions=Object.preventExtensions;$export($export.S,"Reflect",{preventExtensions:function preventExtensions(target){anObject(target);try{$preventExtensions&&$preventExtensions(target);return true}catch(e){return false}}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var setProto=__webpack_require__(476);setProto&&$export($export.S,"Reflect",{setPrototypeOf:function setPrototypeOf(target,proto){setProto.check(target,proto);try{setProto.set(target,proto);return true}catch(e){return false}}})},function(module,exports,__webpack_require__){var dP=__webpack_require__(62);var gOPD=__webpack_require__(119);var getPrototypeOf=__webpack_require__(204);var has=__webpack_require__(86);var $export=__webpack_require__(11);var createDesc=__webpack_require__(166);var anObject=__webpack_require__(39);var isObject=__webpack_require__(29);function set(target,propertyKey,V){var receiver=arguments.length<4?target:arguments[3];var ownDesc=gOPD.f(anObject(target),propertyKey);var existingDescriptor,proto;if(!ownDesc){if(isObject(proto=getPrototypeOf(target)))return set(proto,propertyKey,V,receiver);ownDesc=createDesc(0)}if(has(ownDesc,"value")){if(false===ownDesc.writable||!isObject(receiver))return false;existingDescriptor=gOPD.f(receiver,propertyKey)||createDesc(0);existingDescriptor.value=V;dP.f(receiver,propertyKey,existingDescriptor);return true}return void 0!==ownDesc.set&&(ownDesc.set.call(receiver,V),true)}$export($export.S,"Reflect",{set:set})},function(module,exports,__webpack_require__){__webpack_require__(85)&&"g"!=/./g.flags&&__webpack_require__(62).f(RegExp.prototype,"flags",{configurable:true,get:__webpack_require__(2178)})},function(module,exports,__webpack_require__){"use strict";var anObject=__webpack_require__(39);module.exports=function(){var that=anObject(this);var result="";that.global&&(result+="g");that.ignoreCase&&(result+="i");that.multiline&&(result+="m");that.unicode&&(result+="u");that.sticky&&(result+="y");return result}},function(module,exports,__webpack_require__){__webpack_require__(328)("match",1,function(defined,MATCH,$match){return[function match(regexp){"use strict";var O=defined(this);var fn=void 0==regexp?void 0:regexp[MATCH];return void 0!==fn?fn.call(regexp,O):new RegExp(regexp)[MATCH](String(O))},$match]})},function(module,exports,__webpack_require__){__webpack_require__(328)("replace",2,function(defined,REPLACE,$replace){return[function replace(searchValue,replaceValue){"use strict";var O=defined(this);var fn=void 0==searchValue?void 0:searchValue[REPLACE];return void 0!==fn?fn.call(searchValue,O,replaceValue):$replace.call(String(O),searchValue,replaceValue)},$replace]})},function(module,exports,__webpack_require__){__webpack_require__(328)("search",1,function(defined,SEARCH,$search){return[function search(regexp){"use strict";var O=defined(this);var fn=void 0==regexp?void 0:regexp[SEARCH];return void 0!==fn?fn.call(regexp,O):new RegExp(regexp)[SEARCH](String(O))},$search]})},function(module,exports,__webpack_require__){__webpack_require__(328)("split",2,function(defined,SPLIT,$split){"use strict";var isRegExp=__webpack_require__(852);var _split=$split;var $push=[].push;var $SPLIT="split";var LENGTH="length";var LAST_INDEX="lastIndex";if("c"=="abbc"[$SPLIT](/(b)*/)[1]||4!="test"[$SPLIT](/(?:)/,-1)[LENGTH]||2!="ab"[$SPLIT](/(?:ab)*/)[LENGTH]||4!="."[$SPLIT](/(.?)(.?)/)[LENGTH]||"."[$SPLIT](/()()/)[LENGTH]>1||""[$SPLIT](/.?/)[LENGTH]){var NPCG=void 0===/()??/.exec("")[1];$split=function(separator,limit){var string=String(this);if(void 0===separator&&0===limit)return[];if(!isRegExp(separator))return _split.call(string,separator,limit);var output=[];var flags=(separator.ignoreCase?"i":"")+(separator.multiline?"m":"")+(separator.unicode?"u":"")+(separator.sticky?"y":"");var lastLastIndex=0;var splitLimit=void 0===limit?4294967295:limit>>>0;var separatorCopy=new RegExp(separator.source,flags+"g");var separator2,match,lastIndex,lastLength,i;NPCG||(separator2=new RegExp("^"+separatorCopy.source+"$(?!\\s)",flags));while(match=separatorCopy.exec(string)){lastIndex=match.index+match[0][LENGTH];if(lastIndex>lastLastIndex){output.push(string.slice(lastLastIndex,match.index));!NPCG&&match[LENGTH]>1&&match[0].replace(separator2,function(){for(i=1;i<arguments[LENGTH]-2;i++)void 0===arguments[i]&&(match[i]=void 0)});match[LENGTH]>1&&match.index<string[LENGTH]&&$push.apply(output,match.slice(1));lastLength=match[0][LENGTH];lastLastIndex=lastIndex;if(output[LENGTH]>=splitLimit)break}separatorCopy[LAST_INDEX]===match.index&&separatorCopy[LAST_INDEX]++}lastLastIndex===string[LENGTH]?!lastLength&&separatorCopy.test("")||output.push(""):output.push(string.slice(lastLastIndex));return output[LENGTH]>splitLimit?output.slice(0,splitLimit):output}}else"0"[$SPLIT](void 0,0)[LENGTH]&&($split=function(separator,limit){return void 0===separator&&0===limit?[]:_split.call(this,separator,limit)});return[function split(separator,limit){var O=defined(this);var fn=void 0==separator?void 0:separator[SPLIT];return void 0!==fn?fn.call(separator,O,limit):$split.call(String(O),separator,limit)},$split]})},function(module,exports,__webpack_require__){"use strict";var strong=__webpack_require__(844);var validate=__webpack_require__(207);var SET="Set";module.exports=__webpack_require__(326)(SET,function(get){return function Set(){return get(this,arguments.length>0?arguments[0]:void 0)}},{add:function add(value){return strong.def(validate(this,SET),value=0===value?0:value,value)}},strong)},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(11);var $at=__webpack_require__(2185)(false);$export($export.P,"String",{codePointAt:function codePointAt(pos){return $at(this,pos)}})},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(170);var defined=__webpack_require__(169);module.exports=function(TO_STRING){return function(that,pos){var s=String(defined(that));var i=toInteger(pos);var l=s.length;var a,b;if(i<0||i>=l)return TO_STRING?"":void 0;a=s.charCodeAt(i);return a<55296||a>56319||i+1===l||(b=s.charCodeAt(i+1))<56320||b>57343?TO_STRING?s.charAt(i):a:TO_STRING?s.slice(i,i+2):b-56320+(a-55296<<10)+65536}}},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(11);var toLength=__webpack_require__(67);var context=__webpack_require__(481);var ENDS_WITH="endsWith";var $endsWith=""[ENDS_WITH];$export($export.P+$export.F*__webpack_require__(482)(ENDS_WITH),"String",{endsWith:function endsWith(searchString){var that=context(this,searchString,ENDS_WITH);var endPosition=arguments.length>1?arguments[1]:void 0;var len=toLength(that.length);var end=void 0===endPosition?len:Math.min(toLength(endPosition),len);var search=String(searchString);return $endsWith?$endsWith.call(that,search,end):that.slice(end-search.length,end)===search}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var toAbsoluteIndex=__webpack_require__(198);var fromCharCode=String.fromCharCode;var $fromCodePoint=String.fromCodePoint;$export($export.S+$export.F*(!!$fromCodePoint&&1!=$fromCodePoint.length),"String",{fromCodePoint:function fromCodePoint(x){var res=[];var aLen=arguments.length;var i=0;var code;while(aLen>i){code=+arguments[i++];if(toAbsoluteIndex(code,1114111)!==code)throw RangeError(code+" is not a valid code point");res.push(code<65536?fromCharCode(code):fromCharCode(55296+((code-=65536)>>10),code%1024+56320))}return res.join("")}})},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(11);var context=__webpack_require__(481);var INCLUDES="includes";$export($export.P+$export.F*__webpack_require__(482)(INCLUDES),"String",{includes:function includes(searchString){return!!~context(this,searchString,INCLUDES).indexOf(searchString,arguments.length>1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var toIObject=__webpack_require__(106);var toLength=__webpack_require__(67);$export($export.S,"String",{raw:function raw(callSite){var tpl=toIObject(callSite.raw);var len=toLength(tpl.length);var aLen=arguments.length;var res=[];var i=0;while(len>i){res.push(String(tpl[i++]));i<aLen&&res.push(String(arguments[i]))}return res.join("")}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);$export($export.P,"String",{repeat:__webpack_require__(853)})},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(11);var toLength=__webpack_require__(67);var context=__webpack_require__(481);var STARTS_WITH="startsWith";var $startsWith=""[STARTS_WITH];$export($export.P+$export.F*__webpack_require__(482)(STARTS_WITH),"String",{startsWith:function startsWith(searchString){var that=context(this,searchString,STARTS_WITH);var index=toLength(Math.min(arguments.length>1?arguments[1]:void 0,that.length));var search=String(searchString);return $startsWith?$startsWith.call(that,search,index):that.slice(index,index+search.length)===search}})},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(36);var has=__webpack_require__(86);var DESCRIPTORS=__webpack_require__(85);var $export=__webpack_require__(11);var redefine=__webpack_require__(134);var META=__webpack_require__(135).KEY;var $fails=__webpack_require__(51);var shared=__webpack_require__(465);var setToStringTag=__webpack_require__(203);var uid=__webpack_require__(167);var wks=__webpack_require__(45);var wksExt=__webpack_require__(854);var wksDefine=__webpack_require__(2193);var enumKeys=__webpack_require__(2194);var isArray=__webpack_require__(838);var anObject=__webpack_require__(39);var isObject=__webpack_require__(29);var toIObject=__webpack_require__(106);var toPrimitive=__webpack_require__(247);var createDesc=__webpack_require__(166);var _create=__webpack_require__(249);var gOPNExt=__webpack_require__(848);var $GOPD=__webpack_require__(119);var $DP=__webpack_require__(62);var $keys=__webpack_require__(171);var gOPD=$GOPD.f;var dP=$DP.f;var gOPN=gOPNExt.f;var $Symbol=global.Symbol;var $JSON=global.JSON;var _stringify=$JSON&&$JSON.stringify;var PROTOTYPE="prototype";var HIDDEN=wks("_hidden");var TO_PRIMITIVE=wks("toPrimitive");var isEnum={}.propertyIsEnumerable;var SymbolRegistry=shared("symbol-registry");var AllSymbols=shared("symbols");var OPSymbols=shared("op-symbols");var ObjectProto=Object[PROTOTYPE];var USE_NATIVE="function"==typeof $Symbol;var QObject=global.QObject;var setter=!QObject||!QObject[PROTOTYPE]||!QObject[PROTOTYPE].findChild;var setSymbolDesc=DESCRIPTORS&&$fails(function(){return 7!=_create(dP({},"a",{get:function(){return dP(this,"a",{value:7}).a}})).a})?function(it,key,D){var protoDesc=gOPD(ObjectProto,key);protoDesc&&delete ObjectProto[key];dP(it,key,D);protoDesc&&it!==ObjectProto&&dP(ObjectProto,key,protoDesc)}:dP;var wrap=function(tag){var sym=AllSymbols[tag]=_create($Symbol[PROTOTYPE]);sym._k=tag;return sym};var isSymbol=USE_NATIVE&&"symbol"==typeof $Symbol.iterator?function(it){return"symbol"==typeof it}:function(it){return it instanceof $Symbol};var $defineProperty=function defineProperty(it,key,D){it===ObjectProto&&$defineProperty(OPSymbols,key,D);anObject(it);key=toPrimitive(key,true);anObject(D);if(has(AllSymbols,key)){if(D.enumerable){has(it,HIDDEN)&&it[HIDDEN][key]&&(it[HIDDEN][key]=false);D=_create(D,{enumerable:createDesc(0,false)})}else{has(it,HIDDEN)||dP(it,HIDDEN,createDesc(1,{}));it[HIDDEN][key]=true}return setSymbolDesc(it,key,D)}return dP(it,key,D)};var $defineProperties=function defineProperties(it,P){anObject(it);var keys=enumKeys(P=toIObject(P));var i=0;var l=keys.length;var key;while(l>i)$defineProperty(it,key=keys[i++],P[key]);return it};var $create=function create(it,P){return void 0===P?_create(it):$defineProperties(_create(it),P)};var $propertyIsEnumerable=function propertyIsEnumerable(key){var E=isEnum.call(this,key=toPrimitive(key,true));if(this===ObjectProto&&has(AllSymbols,key)&&!has(OPSymbols,key))return false;return!(E||!has(this,key)||!has(AllSymbols,key)||has(this,HIDDEN)&&this[HIDDEN][key])||E};var $getOwnPropertyDescriptor=function getOwnPropertyDescriptor(it,key){it=toIObject(it);key=toPrimitive(key,true);if(it===ObjectProto&&has(AllSymbols,key)&&!has(OPSymbols,key))return;var D=gOPD(it,key);!D||!has(AllSymbols,key)||has(it,HIDDEN)&&it[HIDDEN][key]||(D.enumerable=true);return D};var $getOwnPropertyNames=function getOwnPropertyNames(it){var names=gOPN(toIObject(it));var result=[];var i=0;var key;while(names.length>i)has(AllSymbols,key=names[i++])||key==HIDDEN||key==META||result.push(key);return result};var $getOwnPropertySymbols=function getOwnPropertySymbols(it){var IS_OP=it===ObjectProto;var names=gOPN(IS_OP?OPSymbols:toIObject(it));var result=[];var i=0;var key;while(names.length>i)!has(AllSymbols,key=names[i++])||IS_OP&&!has(ObjectProto,key)||result.push(AllSymbols[key]);return result};if(!USE_NATIVE){$Symbol=function Symbol(){if(this instanceof $Symbol)throw TypeError("Symbol is not a constructor!");var tag=uid(arguments.length>0?arguments[0]:void 0);var $set=function(value){this===ObjectProto&&$set.call(OPSymbols,value);has(this,HIDDEN)&&has(this[HIDDEN],tag)&&(this[HIDDEN][tag]=false);setSymbolDesc(this,tag,createDesc(1,value))};DESCRIPTORS&&setter&&setSymbolDesc(ObjectProto,tag,{configurable:true,set:$set});return wrap(tag)};redefine($Symbol[PROTOTYPE],"toString",function toString(){return this._k});$GOPD.f=$getOwnPropertyDescriptor;$DP.f=$defineProperty;__webpack_require__(251).f=gOPNExt.f=$getOwnPropertyNames;__webpack_require__(250).f=$propertyIsEnumerable;__webpack_require__(327).f=$getOwnPropertySymbols;DESCRIPTORS&&!__webpack_require__(202)&&redefine(ObjectProto,"propertyIsEnumerable",$propertyIsEnumerable,true);wksExt.f=function(name){return wrap(wks(name))}}$export($export.G+$export.W+$export.F*!USE_NATIVE,{Symbol:$Symbol});for(var es6Symbols="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),j=0;es6Symbols.length>j;)wks(es6Symbols[j++]);for(var wellKnownSymbols=$keys(wks.store),k=0;wellKnownSymbols.length>k;)wksDefine(wellKnownSymbols[k++]);$export($export.S+$export.F*!USE_NATIVE,"Symbol",{for:function(key){return has(SymbolRegistry,key+="")?SymbolRegistry[key]:SymbolRegistry[key]=$Symbol(key)},keyFor:function keyFor(sym){if(!isSymbol(sym))throw TypeError(sym+" is not a symbol!");for(var key in SymbolRegistry)if(SymbolRegistry[key]===sym)return key},useSetter:function(){setter=true},useSimple:function(){setter=false}});$export($export.S+$export.F*!USE_NATIVE,"Object",{create:$create,defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor,getOwnPropertyNames:$getOwnPropertyNames,getOwnPropertySymbols:$getOwnPropertySymbols});$JSON&&$export($export.S+$export.F*(!USE_NATIVE||$fails(function(){var S=$Symbol();return"[null]"!=_stringify([S])||"{}"!=_stringify({a:S})||"{}"!=_stringify(Object(S))})),"JSON",{stringify:function stringify(it){var args=[it];var i=1;var replacer,$replacer;while(arguments.length>i)args.push(arguments[i++]);$replacer=replacer=args[1];if(!isObject(replacer)&&void 0===it||isSymbol(it))return;isArray(replacer)||(replacer=function(key,value){"function"==typeof $replacer&&(value=$replacer.call(this,key,value));if(!isSymbol(value))return value});args[1]=replacer;return _stringify.apply($JSON,args)}});$Symbol[PROTOTYPE][TO_PRIMITIVE]||__webpack_require__(98)($Symbol[PROTOTYPE],TO_PRIMITIVE,$Symbol[PROTOTYPE].valueOf);setToStringTag($Symbol,"Symbol");setToStringTag(Math,"Math",true);setToStringTag(global.JSON,"JSON",true)},function(module,exports,__webpack_require__){var global=__webpack_require__(36);var core=__webpack_require__(197);var LIBRARY=__webpack_require__(202);var wksExt=__webpack_require__(854);var defineProperty=__webpack_require__(62).f;module.exports=function(name){var $Symbol=core.Symbol||(core.Symbol=LIBRARY?{}:global.Symbol||{});"_"==name.charAt(0)||name in $Symbol||defineProperty($Symbol,name,{value:wksExt.f(name)})}},function(module,exports,__webpack_require__){var getKeys=__webpack_require__(171);var gOPS=__webpack_require__(327);var pIE=__webpack_require__(250);module.exports=function(it){var result=getKeys(it);var getSymbols=gOPS.f;if(getSymbols){var symbols=getSymbols(it);var isEnum=pIE.f;var i=0;var key;while(symbols.length>i)isEnum.call(it,key=symbols[i++])&&result.push(key)}return result}},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(11);var $typed=__webpack_require__(483);var buffer=__webpack_require__(855);var anObject=__webpack_require__(39);var toAbsoluteIndex=__webpack_require__(198);var toLength=__webpack_require__(67);var isObject=__webpack_require__(29);var ArrayBuffer=__webpack_require__(36).ArrayBuffer;var speciesConstructor=__webpack_require__(479);var $ArrayBuffer=buffer.ArrayBuffer;var $DataView=buffer.DataView;var $isView=$typed.ABV&&ArrayBuffer.isView;var $slice=$ArrayBuffer.prototype.slice;var VIEW=$typed.VIEW;var ARRAY_BUFFER="ArrayBuffer";$export($export.G+$export.W+$export.F*(ArrayBuffer!==$ArrayBuffer),{ArrayBuffer:$ArrayBuffer});$export($export.S+$export.F*!$typed.CONSTR,ARRAY_BUFFER,{isView:function isView(it){return $isView&&$isView(it)||isObject(it)&&VIEW in it}});$export($export.P+$export.U+$export.F*__webpack_require__(51)(function(){return!new $ArrayBuffer(2).slice(1,void 0).byteLength}),ARRAY_BUFFER,{slice:function slice(start,end){if(void 0!==$slice&&void 0===end)return $slice.call(anObject(this),start);var len=anObject(this).byteLength;var first=toAbsoluteIndex(start,len);var final=toAbsoluteIndex(void 0===end?len:end,len);var result=new(speciesConstructor(this,$ArrayBuffer))(toLength(final-first));var viewS=new $DataView(this);var viewT=new $DataView(result);var index=0;while(first<final)viewT.setUint8(index++,viewS.getUint8(first++));return result}});__webpack_require__(325)(ARRAY_BUFFER)},function(module,exports,__webpack_require__){__webpack_require__(120)("Float32",4,function(init){return function Float32Array(data,byteOffset,length){return init(this,data,byteOffset,length)}})},function(module,exports,__webpack_require__){__webpack_require__(120)("Float64",8,function(init){return function Float64Array(data,byteOffset,length){return init(this,data,byteOffset,length)}})},function(module,exports,__webpack_require__){__webpack_require__(120)("Int16",2,function(init){return function Int16Array(data,byteOffset,length){return init(this,data,byteOffset,length)}})},function(module,exports,__webpack_require__){__webpack_require__(120)("Int32",4,function(init){return function Int32Array(data,byteOffset,length){return init(this,data,byteOffset,length)}})},function(module,exports,__webpack_require__){__webpack_require__(120)("Int8",1,function(init){return function Int8Array(data,byteOffset,length){return init(this,data,byteOffset,length)}})},function(module,exports,__webpack_require__){__webpack_require__(120)("Uint16",2,function(init){return function Uint16Array(data,byteOffset,length){return init(this,data,byteOffset,length)}})},function(module,exports,__webpack_require__){__webpack_require__(120)("Uint32",4,function(init){return function Uint32Array(data,byteOffset,length){return init(this,data,byteOffset,length)}})},function(module,exports,__webpack_require__){__webpack_require__(120)("Uint8",1,function(init){return function Uint8Array(data,byteOffset,length){return init(this,data,byteOffset,length)}})},function(module,exports,__webpack_require__){__webpack_require__(120)("Uint8",1,function(init){return function Uint8ClampedArray(data,byteOffset,length){return init(this,data,byteOffset,length)}},true)},function(module,exports,__webpack_require__){"use strict";var each=__webpack_require__(248)(0);var redefine=__webpack_require__(134);var meta=__webpack_require__(135);var assign=__webpack_require__(847);var weak=__webpack_require__(857);var isObject=__webpack_require__(29);var fails=__webpack_require__(51);var validate=__webpack_require__(207);var WEAK_MAP="WeakMap";var getWeak=meta.getWeak;var isExtensible=Object.isExtensible;var uncaughtFrozenStore=weak.ufstore;var tmp={};var InternalMap;var wrapper=function(get){return function WeakMap(){return get(this,arguments.length>0?arguments[0]:void 0)}};var methods={get:function get(key){if(isObject(key)){var data=getWeak(key);if(true===data)return uncaughtFrozenStore(validate(this,WEAK_MAP)).get(key);return data?data[this._i]:void 0}},set:function set(key,value){return weak.def(validate(this,WEAK_MAP),key,value)}};var $WeakMap=module.exports=__webpack_require__(326)(WEAK_MAP,wrapper,methods,weak,true,true);if(fails(function(){return 7!=(new $WeakMap).set((Object.freeze||Object)(tmp),7).get(tmp)})){InternalMap=weak.getConstructor(wrapper,WEAK_MAP);assign(InternalMap.prototype,methods);meta.NEED=true;each(["delete","has","get","set"],function(key){var proto=$WeakMap.prototype;var method=proto[key];redefine(proto,key,function(a,b){if(isObject(a)&&!isExtensible(a)){this._f||(this._f=new InternalMap);var result=this._f[key](a,b);return"set"==key?this:result}return method.call(this,a,b)})})}},function(module,exports,__webpack_require__){"use strict";var weak=__webpack_require__(857);var validate=__webpack_require__(207);var WEAK_SET="WeakSet";__webpack_require__(326)(WEAK_SET,function(get){return function WeakSet(){return get(this,arguments.length>0?arguments[0]:void 0)}},{add:function add(value){return weak.def(validate(this,WEAK_SET),value,true)}},weak,false,true)},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(11);var $includes=__webpack_require__(473)(true);$export($export.P,"Array",{includes:function includes(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}});__webpack_require__(199)("includes")},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var $entries=__webpack_require__(858)(true);$export($export.S,"Object",{entries:function entries(it){return $entries(it)}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var ownKeys=__webpack_require__(851);var toIObject=__webpack_require__(106);var gOPD=__webpack_require__(119);var createProperty=__webpack_require__(469);$export($export.S,"Object",{getOwnPropertyDescriptors:function getOwnPropertyDescriptors(object){var O=toIObject(object);var getDesc=gOPD.f;var keys=ownKeys(O);var result={};var i=0;var key,desc;while(keys.length>i){desc=getDesc(O,key=keys[i++]);void 0!==desc&&createProperty(result,key,desc)}return result}})},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var $values=__webpack_require__(858)(false);$export($export.S,"Object",{values:function values(it){return $values(it)}})},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(11);var $pad=__webpack_require__(859);var userAgent=__webpack_require__(484);$export($export.P+$export.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(userAgent),"String",{padEnd:function padEnd(maxLength){return $pad(this,maxLength,arguments.length>1?arguments[1]:void 0,false)}})},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(11);var $pad=__webpack_require__(859);var userAgent=__webpack_require__(484);$export($export.P+$export.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(userAgent),"String",{padStart:function padStart(maxLength){return $pad(this,maxLength,arguments.length>1?arguments[1]:void 0,true)}})},function(module,exports,__webpack_require__){var $iterators=__webpack_require__(472);var getKeys=__webpack_require__(171);var redefine=__webpack_require__(134);var global=__webpack_require__(36);var hide=__webpack_require__(98);var Iterators=__webpack_require__(201);var wks=__webpack_require__(45);var ITERATOR=wks("iterator");var TO_STRING_TAG=wks("toStringTag");var ArrayValues=Iterators.Array;var DOMIterables={CSSRuleList:true,CSSStyleDeclaration:false,CSSValueList:false,ClientRectList:false,DOMRectList:false,DOMStringList:false,DOMTokenList:true,DataTransferItemList:false,FileList:false,HTMLAllCollection:false,HTMLCollection:false,HTMLFormElement:false,HTMLSelectElement:false,MediaList:true,MimeTypeArray:false,NamedNodeMap:false,NodeList:true,PaintRequestList:false,Plugin:false,PluginArray:false,SVGLengthList:false,SVGNumberList:false,SVGPathSegList:false,SVGPointList:false,SVGStringList:false,SVGTransformList:false,SourceBufferList:false,StyleSheetList:true,TextTrackCueList:false,TextTrackList:false,TouchList:false};for(var collections=getKeys(DOMIterables),i=0;i<collections.length;i++){var NAME=collections[i];var explicit=DOMIterables[NAME];var Collection=global[NAME];var proto=Collection&&Collection.prototype;var key;if(proto){proto[ITERATOR]||hide(proto,ITERATOR,ArrayValues);proto[TO_STRING_TAG]||hide(proto,TO_STRING_TAG,NAME);Iterators[NAME]=ArrayValues;if(explicit)for(key in $iterators)proto[key]||redefine(proto,key,$iterators[key],true)}}},function(module,exports,__webpack_require__){var $export=__webpack_require__(11);var $task=__webpack_require__(480);$export($export.G+$export.B,{setImmediate:$task.set,clearImmediate:$task.clear})},function(module,exports,__webpack_require__){var global=__webpack_require__(36);var $export=__webpack_require__(11);var userAgent=__webpack_require__(484);var slice=[].slice;var MSIE=/MSIE .\./.test(userAgent);var wrap=function(set){return function(fn,time){var boundArgs=arguments.length>2;var args=!!boundArgs&&slice.call(arguments,2);return set(boundArgs?function(){("function"==typeof fn?fn:Function(fn)).apply(this,args)}:fn,time)}};$export($export.G+$export.B+$export.F*MSIE,{setTimeout:wrap(global.setTimeout),setInterval:wrap(global.setInterval)})},function(module,exports){try{var ce=new window.CustomEvent("test");ce.preventDefault();if(true!==ce.defaultPrevented)throw new Error("Could not prevent default")}catch(e){var CustomEvent=function(event,params){var evt,origPrevent;params=params||{bubbles:false,cancelable:false,detail:void 0};evt=document.createEvent("CustomEvent");evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail);origPrevent=evt.preventDefault;evt.preventDefault=function(){origPrevent.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return true}})}catch(e){this.defaultPrevented=true}};return evt};CustomEvent.prototype=window.Event.prototype;window.CustomEvent=CustomEvent}},function(module,exports,__webpack_require__){var dispatch=__webpack_require__(2218).dispatch;var cloudRadians=Math.PI/180,cw=64,ch=2048;module.exports=function(){var size=[256,256],text=cloudText,font=cloudFont,fontSize=cloudFontSize,fontStyle=cloudFontNormal,fontWeight=cloudFontNormal,rotate=cloudRotate,padding=cloudPadding,spiral=archimedeanSpiral,words=[],timeInterval=Infinity,event=dispatch("word","end"),timer=null,random=Math.random,cloud={},canvas=cloudCanvas;cloud.canvas=function(_){return arguments.length?(canvas=functor(_),cloud):canvas};cloud.start=function(){var contextAndRatio=getContext(canvas()),board=zeroArray((size[0]>>5)*size[1]),bounds=null,n=words.length,i=-1,tags=[],data=words.map(function(d,i){d.text=text.call(this,d,i);d.font=font.call(this,d,i);d.style=fontStyle.call(this,d,i);d.weight=fontWeight.call(this,d,i);d.rotate=rotate.call(this,d,i);d.size=~~fontSize.call(this,d,i);d.padding=padding.call(this,d,i);return d}).sort(function(a,b){return b.size-a.size});timer&&clearInterval(timer);timer=setInterval(step,0);step();return cloud;function step(){var start=Date.now();while(Date.now()-start<timeInterval&&++i<n&&timer){var d=data[i];d.x=size[0]*(random()+.5)>>1;d.y=size[1]*(random()+.5)>>1;cloudSprite(contextAndRatio,d,data,i);if(d.hasText&&place(board,d,bounds)){tags.push(d);event.word(d);bounds?cloudBounds(bounds,d):bounds=[{x:d.x+d.x0,y:d.y+d.y0},{x:d.x+d.x1,y:d.y+d.y1}];d.x-=size[0]>>1;d.y-=size[1]>>1}}if(i>=n){cloud.stop();event.end(tags,bounds)}}};cloud.stop=function(){if(timer){clearInterval(timer);timer=null}return cloud};function getContext(canvas){canvas.width=canvas.height=1;var ratio=Math.sqrt(canvas.getContext("2d").getImageData(0,0,1,1).data.length>>2);canvas.width=(cw<<5)/ratio;canvas.height=ch/ratio;var context=canvas.getContext("2d");context.fillStyle=context.strokeStyle="red";context.textAlign="center";return{context:context,ratio:ratio}}function place(board,tag,bounds){size[0],size[1];var dxdy,dx,dy,startX=tag.x,startY=tag.y,maxDelta=Math.sqrt(size[0]*size[0]+size[1]*size[1]),s=spiral(size),dt=random()<.5?1:-1,t=-dt;while(dxdy=s(t+=dt)){dx=~~dxdy[0];dy=~~dxdy[1];if(Math.min(Math.abs(dx),Math.abs(dy))>=maxDelta)break;tag.x=startX+dx;tag.y=startY+dy;if(tag.x+tag.x0<0||tag.y+tag.y0<0||tag.x+tag.x1>size[0]||tag.y+tag.y1>size[1])continue;if((!bounds||!cloudCollide(tag,board,size[0]))&&(!bounds||collideRects(tag,bounds))){var last,sprite=tag.sprite,w=tag.width>>5,sw=size[0]>>5,lx=tag.x-(w<<4),sx=127&lx,msx=32-sx,h=tag.y1-tag.y0,x=(tag.y+tag.y0)*sw+(lx>>5);for(var j=0;j<h;j++){last=0;for(var i=0;i<=w;i++)board[x+i]|=last<<msx|(i<w?(last=sprite[j*w+i])>>>sx:0);x+=sw}delete tag.sprite;return true}}return false}cloud.timeInterval=function(_){return arguments.length?(timeInterval=null==_?Infinity:_,cloud):timeInterval};cloud.words=function(_){return arguments.length?(words=_,cloud):words};cloud.size=function(_){return arguments.length?(size=[+_[0],+_[1]],cloud):size};cloud.font=function(_){return arguments.length?(font=functor(_),cloud):font};cloud.fontStyle=function(_){return arguments.length?(fontStyle=functor(_),cloud):fontStyle};cloud.fontWeight=function(_){return arguments.length?(fontWeight=functor(_),cloud):fontWeight};cloud.rotate=function(_){return arguments.length?(rotate=functor(_),cloud):rotate};cloud.text=function(_){return arguments.length?(text=functor(_),cloud):text};cloud.spiral=function(_){return arguments.length?(spiral=spirals[_]||_,cloud):spiral};cloud.fontSize=function(_){return arguments.length?(fontSize=functor(_),cloud):fontSize};cloud.padding=function(_){return arguments.length?(padding=functor(_),cloud):padding};cloud.random=function(_){return arguments.length?(random=_,cloud):random};cloud.on=function(){var value=event.on.apply(event,arguments);return value===event?cloud:value};return cloud};function cloudText(d){return d.text}function cloudFont(){return"serif"}function cloudFontNormal(){return"normal"}function cloudFontSize(d){return Math.sqrt(d.value)}function cloudRotate(){return 30*(~~(6*Math.random())-3)}function cloudPadding(){return 1}function cloudSprite(contextAndRatio,d,data,di){if(d.sprite)return;var c=contextAndRatio.context,ratio=contextAndRatio.ratio;c.clearRect(0,0,(cw<<5)/ratio,ch/ratio);var x=0,y=0,maxh=0,n=data.length;--di;while(++di<n){d=data[di];c.save();c.font=d.style+" "+d.weight+" "+~~((d.size+1)/ratio)+"px "+d.font;var w=c.measureText(d.text+"m").width*ratio,h=d.size<<1;if(d.rotate){var sr=Math.sin(d.rotate*cloudRadians),cr=Math.cos(d.rotate*cloudRadians),wcr=w*cr,wsr=w*sr,hcr=h*cr,hsr=h*sr;w=Math.max(Math.abs(wcr+hsr),Math.abs(wcr-hsr))+31>>5<<5;h=~~Math.max(Math.abs(wsr+hcr),Math.abs(wsr-hcr))}else w=w+31>>5<<5;h>maxh&&(maxh=h);if(x+w>=cw<<5){x=0;y+=maxh;maxh=0}if(y+h>=ch)break;c.translate((x+(w>>1))/ratio,(y+(h>>1))/ratio);d.rotate&&c.rotate(d.rotate*cloudRadians);c.fillText(d.text,0,0);d.padding&&(c.lineWidth=2*d.padding,c.strokeText(d.text,0,0));c.restore();d.width=w;d.height=h;d.xoff=x;d.yoff=y;d.x1=w>>1;d.y1=h>>1;d.x0=-d.x1;d.y0=-d.y1;d.hasText=true;x+=w}var pixels=c.getImageData(0,0,(cw<<5)/ratio,ch/ratio).data,sprite=[];while(--di>=0){d=data[di];if(!d.hasText)continue;w=d.width;var w32=w>>5;h=d.y1-d.y0;for(var i=0;i<h*w32;i++)sprite[i]=0;x=d.xoff;if(null==x)return;y=d.yoff;var seen=0,seenRow=-1;for(var j=0;j<h;j++){for(i=0;i<w;i++){var k=w32*j+(i>>5),m=pixels[(y+j)*(cw<<5)+(x+i)<<2]?1<<31-i%32:0;sprite[k]|=m;seen|=m}if(seen)seenRow=j;else{d.y0++;h--;j--;y++}}d.y1=d.y0+seenRow;d.sprite=sprite.slice(0,(d.y1-d.y0)*w32)}}function cloudCollide(tag,board,sw){sw>>=5;var last,sprite=tag.sprite,w=tag.width>>5,lx=tag.x-(w<<4),sx=127&lx,msx=32-sx,h=tag.y1-tag.y0,x=(tag.y+tag.y0)*sw+(lx>>5);for(var j=0;j<h;j++){last=0;for(var i=0;i<=w;i++)if((last<<msx|(i<w?(last=sprite[j*w+i])>>>sx:0))&board[x+i])return true;x+=sw}return false}function cloudBounds(bounds,d){var b0=bounds[0],b1=bounds[1];d.x+d.x0<b0.x&&(b0.x=d.x+d.x0);d.y+d.y0<b0.y&&(b0.y=d.y+d.y0);d.x+d.x1>b1.x&&(b1.x=d.x+d.x1);d.y+d.y1>b1.y&&(b1.y=d.y+d.y1)}function collideRects(a,b){return a.x+a.x1>b[0].x&&a.x+a.x0<b[1].x&&a.y+a.y1>b[0].y&&a.y+a.y0<b[1].y}function archimedeanSpiral(size){var e=size[0]/size[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function rectangularSpiral(size){var dy=4,dx=dy*size[0]/size[1],x=0,y=0;return function(t){var sign=t<0?-1:1;switch(Math.sqrt(1+4*sign*t)-sign&3){case 0:x+=dx;break;case 1:y+=dy;break;case 2:x-=dx;break;default:y-=dy}return[x,y]}}function zeroArray(n){var a=[],i=-1;while(++i<n)a[i]=0;return a}function cloudCanvas(){return document.createElement("canvas")}function functor(d){return"function"===typeof d?d:function(){return d}}var spirals={archimedean:archimedeanSpiral,rectangular:rectangularSpiral}},function(module,exports,__webpack_require__){0,factory=function(exports){"use strict";function dispatch(){return new Dispatch(arguments)}function Dispatch(types){var type,i=-1,n=types.length,callbacksByType={},callbackByName={},that=this;that.on=function(type,callback){type=parseType(type);if(arguments.length<2)return(callback=callbackByName[type.name])&&callback.value;if(type.type){var i,callbacks=callbacksByType[type.type],callback0=callbackByName[type.name];if(callback0){callback0.value=null;i=callbacks.indexOf(callback0);callbacksByType[type.type]=callbacks=callbacks.slice(0,i).concat(callbacks.slice(i+1));delete callbackByName[type.name]}if(callback){callback={value:callback};callbackByName[type.name]=callback;callbacks.push(callback)}}else if(null==callback)for(var otherType in callbacksByType)if(callback=callbackByName[otherType+type.name]){callback.value=null;callbacks=callbacksByType[otherType];i=callbacks.indexOf(callback);callbacksByType[otherType]=callbacks.slice(0,i).concat(callbacks.slice(i+1));delete callbackByName[callback.name]}return that};while(++i<n){type=types[i]+"";if(!type||type in that)throw new Error("illegal or duplicate type: "+type);callbacksByType[type]=[];that[type]=applier(type)}function parseType(type){var i=(type+="").indexOf("."),name=type;i>=0?type=type.slice(0,i):name+=".";if(type&&!callbacksByType.hasOwnProperty(type))throw new Error("unknown type: "+type);return{type:type,name:name}}function applier(type){return function(){var callbackValue,callbacks=callbacksByType[type],i=-1,n=callbacks.length;while(++i<n)(callbackValue=callbacks[i].value)&&callbackValue.apply(this,arguments);return that}}}dispatch.prototype=Dispatch.prototype;var version="0.2.6";exports.version=version;exports.dispatch=dispatch},void factory(exports);var factory},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;!function(){var d3={version:"3.5.6"};var d3_arraySlice=[].slice,d3_array=function(list){return d3_arraySlice.call(list)};var d3_document=this.document;function d3_documentElement(node){return node&&(node.ownerDocument||node.document||node).documentElement}function d3_window(node){return node&&(node.ownerDocument&&node.ownerDocument.defaultView||node.document&&node||node.defaultView)}if(d3_document)try{d3_array(d3_document.documentElement.childNodes)[0].nodeType}catch(e){d3_array=function(list){var i=list.length,array=new Array(i);while(i--)array[i]=list[i];return array}}Date.now||(Date.now=function(){return+new Date});if(d3_document)try{d3_document.createElement("DIV").style.setProperty("opacity",0,"")}catch(error){var d3_element_prototype=this.Element.prototype,d3_element_setAttribute=d3_element_prototype.setAttribute,d3_element_setAttributeNS=d3_element_prototype.setAttributeNS,d3_style_prototype=this.CSSStyleDeclaration.prototype,d3_style_setProperty=d3_style_prototype.setProperty;d3_element_prototype.setAttribute=function(name,value){d3_element_setAttribute.call(this,name,value+"")};d3_element_prototype.setAttributeNS=function(space,local,value){d3_element_setAttributeNS.call(this,space,local,value+"")};d3_style_prototype.setProperty=function(name,value,priority){d3_style_setProperty.call(this,name,value+"",priority)}}d3.ascending=d3_ascending;function d3_ascending(a,b){return a<b?-1:a>b?1:a>=b?0:NaN}d3.descending=function(a,b){return b<a?-1:b>a?1:b>=a?0:NaN};d3.min=function(array,f){var a,b,i=-1,n=array.length;if(1===arguments.length){while(++i<n)if(null!=(b=array[i])&&b>=b){a=b;break}while(++i<n)null!=(b=array[i])&&a>b&&(a=b)}else{while(++i<n)if(null!=(b=f.call(array,array[i],i))&&b>=b){a=b;break}while(++i<n)null!=(b=f.call(array,array[i],i))&&a>b&&(a=b)}return a};d3.max=function(array,f){var a,b,i=-1,n=array.length;if(1===arguments.length){while(++i<n)if(null!=(b=array[i])&&b>=b){a=b;break}while(++i<n)null!=(b=array[i])&&b>a&&(a=b)}else{while(++i<n)if(null!=(b=f.call(array,array[i],i))&&b>=b){a=b;break}while(++i<n)null!=(b=f.call(array,array[i],i))&&b>a&&(a=b)}return a};d3.extent=function(array,f){var a,b,c,i=-1,n=array.length;if(1===arguments.length){while(++i<n)if(null!=(b=array[i])&&b>=b){a=c=b;break}while(++i<n)if(null!=(b=array[i])){a>b&&(a=b);c<b&&(c=b)}}else{while(++i<n)if(null!=(b=f.call(array,array[i],i))&&b>=b){a=c=b;break}while(++i<n)if(null!=(b=f.call(array,array[i],i))){a>b&&(a=b);c<b&&(c=b)}}return[a,c]};function d3_number(x){return null===x?NaN:+x}function d3_numeric(x){return!isNaN(x)}d3.sum=function(array,f){var a,s=0,n=array.length,i=-1;if(1===arguments.length)while(++i<n)d3_numeric(a=+array[i])&&(s+=a);else while(++i<n)d3_numeric(a=+f.call(array,array[i],i))&&(s+=a);return s};d3.mean=function(array,f){var a,s=0,n=array.length,i=-1,j=n;if(1===arguments.length)while(++i<n)d3_numeric(a=d3_number(array[i]))?s+=a:--j;else while(++i<n)d3_numeric(a=d3_number(f.call(array,array[i],i)))?s+=a:--j;if(j)return s/j};d3.quantile=function(values,p){var H=(values.length-1)*p+1,h=Math.floor(H),v=+values[h-1],e=H-h;return e?v+e*(values[h]-v):v};d3.median=function(array,f){var a,numbers=[],n=array.length,i=-1;if(1===arguments.length)while(++i<n)d3_numeric(a=d3_number(array[i]))&&numbers.push(a);else while(++i<n)d3_numeric(a=d3_number(f.call(array,array[i],i)))&&numbers.push(a);if(numbers.length)return d3.quantile(numbers.sort(d3_ascending),.5)};d3.variance=function(array,f){var a,d,n=array.length,m=0,s=0,i=-1,j=0;if(1===arguments.length){while(++i<n)if(d3_numeric(a=d3_number(array[i]))){d=a-m;m+=d/++j;s+=d*(a-m)}}else while(++i<n)if(d3_numeric(a=d3_number(f.call(array,array[i],i)))){d=a-m;m+=d/++j;s+=d*(a-m)}if(j>1)return s/(j-1)};d3.deviation=function(){var v=d3.variance.apply(this,arguments);return v?Math.sqrt(v):v};function d3_bisector(compare){return{left:function(a,x,lo,hi){arguments.length<3&&(lo=0);arguments.length<4&&(hi=a.length);while(lo<hi){var mid=lo+hi>>>1;compare(a[mid],x)<0?lo=mid+1:hi=mid}return lo},right:function(a,x,lo,hi){arguments.length<3&&(lo=0);arguments.length<4&&(hi=a.length);while(lo<hi){var mid=lo+hi>>>1;compare(a[mid],x)>0?hi=mid:lo=mid+1}return lo}}}var d3_bisect=d3_bisector(d3_ascending);d3.bisectLeft=d3_bisect.left;d3.bisect=d3.bisectRight=d3_bisect.right;d3.bisector=function(f){return d3_bisector(1===f.length?function(d,x){return d3_ascending(f(d),x)}:f)};d3.shuffle=function(array,i0,i1){if((m=arguments.length)<3){i1=array.length;m<2&&(i0=0)}var t,i,m=i1-i0;while(m){i=Math.random()*m--|0;t=array[m+i0],array[m+i0]=array[i+i0],array[i+i0]=t}return array};d3.permute=function(array,indexes){var i=indexes.length,permutes=new Array(i);while(i--)permutes[i]=array[indexes[i]];return permutes};d3.pairs=function(array){var i=0,n=array.length-1,p1=array[0],pairs=new Array(n<0?0:n);while(i<n)pairs[i]=[p1,p1=array[++i]];return pairs};d3.zip=function(){if(!(n=arguments.length))return[];for(var i=-1,m=d3.min(arguments,d3_zipLength),zips=new Array(m);++i<m;)for(var n,j=-1,zip=zips[i]=new Array(n);++j<n;)zip[j]=arguments[j][i];return zips};function d3_zipLength(d){return d.length}d3.transpose=function(matrix){return d3.zip.apply(d3,matrix)};d3.keys=function(map){var keys=[];for(var key in map)keys.push(key);return keys};d3.values=function(map){var values=[];for(var key in map)values.push(map[key]);return values};d3.entries=function(map){var entries=[];for(var key in map)entries.push({key:key,value:map[key]});return entries};d3.merge=function(arrays){var m,merged,array,n=arrays.length,i=-1,j=0;while(++i<n)j+=arrays[i].length;merged=new Array(j);while(--n>=0){array=arrays[n];m=array.length;while(--m>=0)merged[--j]=array[m]}return merged};var abs=Math.abs;d3.range=function(start,stop,step){if(arguments.length<3){step=1;if(arguments.length<2){stop=start;start=0}}if((stop-start)/step===Infinity)throw new Error("infinite range");var j,range=[],k=d3_range_integerScale(abs(step)),i=-1;start*=k,stop*=k,step*=k;if(step<0)while((j=start+step*++i)>stop)range.push(j/k);else while((j=start+step*++i)<stop)range.push(j/k);return range};function d3_range_integerScale(x){var k=1;while(x*k%1)k*=10;return k}function d3_class(ctor,properties){for(var key in properties)Object.defineProperty(ctor.prototype,key,{value:properties[key],enumerable:false})}d3.map=function(object,f){var map=new d3_Map;if(object instanceof d3_Map)object.forEach(function(key,value){map.set(key,value)});else if(Array.isArray(object)){var o,i=-1,n=object.length;if(1===arguments.length)while(++i<n)map.set(i,object[i]);else while(++i<n)map.set(f.call(object,o=object[i],i),o)}else for(var key in object)map.set(key,object[key]);return map};function d3_Map(){this._=Object.create(null)}var d3_map_proto="__proto__",d3_map_zero="\0";d3_class(d3_Map,{has:d3_map_has,get:function(key){return this._[d3_map_escape(key)]},set:function(key,value){return this._[d3_map_escape(key)]=value},remove:d3_map_remove,keys:d3_map_keys,values:function(){var values=[];for(var key in this._)values.push(this._[key]);return values},entries:function(){var entries=[];for(var key in this._)entries.push({key:d3_map_unescape(key),value:this._[key]});return entries},size:d3_map_size,empty:d3_map_empty,forEach:function(f){for(var key in this._)f.call(this,d3_map_unescape(key),this._[key])}});function d3_map_escape(key){return(key+="")===d3_map_proto||key[0]===d3_map_zero?d3_map_zero+key:key}function d3_map_unescape(key){return(key+="")[0]===d3_map_zero?key.slice(1):key}function d3_map_has(key){return d3_map_escape(key)in this._}function d3_map_remove(key){return(key=d3_map_escape(key))in this._&&delete this._[key]}function d3_map_keys(){var keys=[];for(var key in this._)keys.push(d3_map_unescape(key));return keys}function d3_map_size(){var size=0;for(var key in this._)++size;return size}function d3_map_empty(){for(var key in this._)return false;return true}d3.nest=function(){var sortValues,rollup,nest={},keys=[],sortKeys=[];function map(mapType,array,depth){if(depth>=keys.length)return rollup?rollup.call(nest,array):sortValues?array.sort(sortValues):array;var keyValue,object,setter,values,i=-1,n=array.length,key=keys[depth++],valuesByKey=new d3_Map;while(++i<n)(values=valuesByKey.get(keyValue=key(object=array[i])))?values.push(object):valuesByKey.set(keyValue,[object]);if(mapType){object=mapType();setter=function(keyValue,values){object.set(keyValue,map(mapType,values,depth))}}else{object={};setter=function(keyValue,values){object[keyValue]=map(mapType,values,depth)}}valuesByKey.forEach(setter);return object}function entries(map,depth){if(depth>=keys.length)return map;var array=[],sortKey=sortKeys[depth++];map.forEach(function(key,keyMap){array.push({key:key,values:entries(keyMap,depth)})});return sortKey?array.sort(function(a,b){return sortKey(a.key,b.key)}):array}nest.map=function(array,mapType){return map(mapType,array,0)};nest.entries=function(array){return entries(map(d3.map,array,0),0)};nest.key=function(d){keys.push(d);return nest};nest.sortKeys=function(order){sortKeys[keys.length-1]=order;return nest};nest.sortValues=function(order){sortValues=order;return nest};nest.rollup=function(f){rollup=f;return nest};return nest};d3.set=function(array){var set=new d3_Set;if(array)for(var i=0,n=array.length;i<n;++i)set.add(array[i]);return set};function d3_Set(){this._=Object.create(null)}d3_class(d3_Set,{has:d3_map_has,add:function(key){this._[d3_map_escape(key+="")]=true;return key},remove:d3_map_remove,values:d3_map_keys,size:d3_map_size,empty:d3_map_empty,forEach:function(f){for(var key in this._)f.call(this,d3_map_unescape(key))}});d3.behavior={};function d3_identity(d){return d}d3.rebind=function(target,source){var method,i=1,n=arguments.length;while(++i<n)target[method=arguments[i]]=d3_rebind(target,source,source[method]);return target};function d3_rebind(target,source,method){return function(){var value=method.apply(source,arguments);return value===source?target:value}}function d3_vendorSymbol(object,name){if(name in object)return name;name=name.charAt(0).toUpperCase()+name.slice(1);for(var i=0,n=d3_vendorPrefixes.length;i<n;++i){var prefixName=d3_vendorPrefixes[i]+name;if(prefixName in object)return prefixName}}var d3_vendorPrefixes=["webkit","ms","moz","Moz","o","O"];function d3_noop(){}d3.dispatch=function(){var dispatch=new d3_dispatch,i=-1,n=arguments.length;while(++i<n)dispatch[arguments[i]]=d3_dispatch_event(dispatch);return dispatch};function d3_dispatch(){}d3_dispatch.prototype.on=function(type,listener){var i=type.indexOf("."),name="";if(i>=0){name=type.slice(i+1);type=type.slice(0,i)}if(type)return arguments.length<2?this[type].on(name):this[type].on(name,listener);if(2===arguments.length){if(null==listener)for(type in this)this.hasOwnProperty(type)&&this[type].on(name,null);return this}};function d3_dispatch_event(dispatch){var listeners=[],listenerByName=new d3_Map;function event(){var l,z=listeners,i=-1,n=z.length;while(++i<n)(l=z[i].on)&&l.apply(this,arguments);return dispatch}event.on=function(name,listener){var i,l=listenerByName.get(name);if(arguments.length<2)return l&&l.on;if(l){l.on=null;listeners=listeners.slice(0,i=listeners.indexOf(l)).concat(listeners.slice(i+1));listenerByName.remove(name)}listener&&listeners.push(listenerByName.set(name,{on:listener}));return dispatch};return event}d3.event=null;function d3_eventPreventDefault(){d3.event.preventDefault()}function d3_eventSource(){var s,e=d3.event;while(s=e.sourceEvent)e=s;return e}function d3_eventDispatch(target){var dispatch=new d3_dispatch,i=0,n=arguments.length;while(++i<n)dispatch[arguments[i]]=d3_dispatch_event(dispatch);dispatch.of=function(thiz,argumentz){return function(e1){try{var e0=e1.sourceEvent=d3.event;e1.target=target;d3.event=e1;dispatch[e1.type].apply(thiz,argumentz)}finally{d3.event=e0}}};return dispatch}d3.requote=function(s){return s.replace(d3_requote_re,"\\$&")};var d3_requote_re=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;var d3_subclass={}.__proto__?function(object,prototype){object.__proto__=prototype}:function(object,prototype){for(var property in prototype)object[property]=prototype[property]};function d3_selection(groups){d3_subclass(groups,d3_selectionPrototype);return groups}var d3_select=function(s,n){return n.querySelector(s)},d3_selectAll=function(s,n){return n.querySelectorAll(s)},d3_selectMatches=function(n,s){var d3_selectMatcher=n.matches||n[d3_vendorSymbol(n,"matchesSelector")];d3_selectMatches=function(n,s){return d3_selectMatcher.call(n,s)};return d3_selectMatches(n,s)};if("function"===typeof Sizzle){d3_select=function(s,n){return Sizzle(s,n)[0]||null};d3_selectAll=Sizzle;d3_selectMatches=Sizzle.matchesSelector}d3.selection=function(){return d3.select(d3_document.documentElement)};var d3_selectionPrototype=d3.selection.prototype=[];d3_selectionPrototype.select=function(selector){var subgroup,subnode,group,node,subgroups=[];selector=d3_selection_selector(selector);for(var j=-1,m=this.length;++j<m;){subgroups.push(subgroup=[]);subgroup.parentNode=(group=this[j]).parentNode;for(var i=-1,n=group.length;++i<n;)if(node=group[i]){subgroup.push(subnode=selector.call(node,node.__data__,i,j));subnode&&"__data__"in node&&(subnode.__data__=node.__data__)}else subgroup.push(null)}return d3_selection(subgroups)};function d3_selection_selector(selector){return"function"===typeof selector?selector:function(){return d3_select(selector,this)}}d3_selectionPrototype.selectAll=function(selector){var subgroup,node,subgroups=[];selector=d3_selection_selectorAll(selector);for(var j=-1,m=this.length;++j<m;)for(var group=this[j],i=-1,n=group.length;++i<n;)if(node=group[i]){subgroups.push(subgroup=d3_array(selector.call(node,node.__data__,i,j)));subgroup.parentNode=node}return d3_selection(subgroups)};function d3_selection_selectorAll(selector){return"function"===typeof selector?selector:function(){return d3_selectAll(selector,this)}}var d3_nsPrefix={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};d3.ns={prefix:d3_nsPrefix,qualify:function(name){var i=name.indexOf(":"),prefix=name;if(i>=0){prefix=name.slice(0,i);name=name.slice(i+1)}return d3_nsPrefix.hasOwnProperty(prefix)?{space:d3_nsPrefix[prefix],local:name}:name}};d3_selectionPrototype.attr=function(name,value){if(arguments.length<2){if("string"===typeof name){var node=this.node();name=d3.ns.qualify(name);return name.local?node.getAttributeNS(name.space,name.local):node.getAttribute(name)}for(value in name)this.each(d3_selection_attr(value,name[value]));return this}return this.each(d3_selection_attr(name,value))};function d3_selection_attr(name,value){name=d3.ns.qualify(name);function attrNull(){this.removeAttribute(name)}function attrNullNS(){this.removeAttributeNS(name.space,name.local)}function attrConstant(){this.setAttribute(name,value)}function attrConstantNS(){this.setAttributeNS(name.space,name.local,value)}function attrFunction(){var x=value.apply(this,arguments);null==x?this.removeAttribute(name):this.setAttribute(name,x)}function attrFunctionNS(){var x=value.apply(this,arguments);null==x?this.removeAttributeNS(name.space,name.local):this.setAttributeNS(name.space,name.local,x)}return null==value?name.local?attrNullNS:attrNull:"function"===typeof value?name.local?attrFunctionNS:attrFunction:name.local?attrConstantNS:attrConstant}function d3_collapse(s){return s.trim().replace(/\s+/g," ")}d3_selectionPrototype.classed=function(name,value){if(arguments.length<2){if("string"===typeof name){var node=this.node(),n=(name=d3_selection_classes(name)).length,i=-1;if(value=node.classList){while(++i<n)if(!value.contains(name[i]))return false}else{value=node.getAttribute("class");while(++i<n)if(!d3_selection_classedRe(name[i]).test(value))return false}return true}for(value in name)this.each(d3_selection_classed(value,name[value]));return this}return this.each(d3_selection_classed(name,value))};function d3_selection_classedRe(name){return new RegExp("(?:^|\\s+)"+d3.requote(name)+"(?:\\s+|$)","g")}function d3_selection_classes(name){return(name+"").trim().split(/^|\s+/)}function d3_selection_classed(name,value){name=d3_selection_classes(name).map(d3_selection_classedName);var n=name.length;function classedConstant(){var i=-1;while(++i<n)name[i](this,value)}function classedFunction(){var i=-1,x=value.apply(this,arguments);while(++i<n)name[i](this,x)}return"function"===typeof value?classedFunction:classedConstant}function d3_selection_classedName(name){var re=d3_selection_classedRe(name);return function(node,value){if(c=node.classList)return value?c.add(name):c.remove(name);var c=node.getAttribute("class")||"";if(value){re.lastIndex=0;re.test(c)||node.setAttribute("class",d3_collapse(c+" "+name))}else node.setAttribute("class",d3_collapse(c.replace(re," ")))}}d3_selectionPrototype.style=function(name,value,priority){var n=arguments.length;if(n<3){if("string"!==typeof name){n<2&&(value="");for(priority in name)this.each(d3_selection_style(priority,name[priority],value));return this}if(n<2){var node=this.node();return d3_window(node).getComputedStyle(node,null).getPropertyValue(name)}priority=""}return this.each(d3_selection_style(name,value,priority))};function d3_selection_style(name,value,priority){function styleNull(){this.style.removeProperty(name)}function styleConstant(){this.style.setProperty(name,value,priority)}function styleFunction(){var x=value.apply(this,arguments);null==x?this.style.removeProperty(name):this.style.setProperty(name,x,priority)}return null==value?styleNull:"function"===typeof value?styleFunction:styleConstant}d3_selectionPrototype.property=function(name,value){if(arguments.length<2){if("string"===typeof name)return this.node()[name];for(value in name)this.each(d3_selection_property(value,name[value]));return this}return this.each(d3_selection_property(name,value))};function d3_selection_property(name,value){function propertyNull(){delete this[name]}function propertyConstant(){this[name]=value}function propertyFunction(){var x=value.apply(this,arguments);null==x?delete this[name]:this[name]=x}return null==value?propertyNull:"function"===typeof value?propertyFunction:propertyConstant}d3_selectionPrototype.text=function(value){return arguments.length?this.each("function"===typeof value?function(){var v=value.apply(this,arguments);this.textContent=null==v?"":v}:null==value?function(){this.textContent=""}:function(){this.textContent=value}):this.node().textContent};d3_selectionPrototype.html=function(value){return arguments.length?this.each("function"===typeof value?function(){var v=value.apply(this,arguments);this.innerHTML=null==v?"":v}:null==value?function(){this.innerHTML=""}:function(){this.innerHTML=value}):this.node().innerHTML};d3_selectionPrototype.append=function(name){name=d3_selection_creator(name);return this.select(function(){return this.appendChild(name.apply(this,arguments))})};function d3_selection_creator(name){function create(){var document=this.ownerDocument,namespace=this.namespaceURI;return namespace?document.createElementNS(namespace,name):document.createElement(name)}function createNS(){return this.ownerDocument.createElementNS(name.space,name.local)}return"function"===typeof name?name:(name=d3.ns.qualify(name)).local?createNS:create}d3_selectionPrototype.insert=function(name,before){name=d3_selection_creator(name);before=d3_selection_selector(before);return this.select(function(){return this.insertBefore(name.apply(this,arguments),before.apply(this,arguments)||null)})};d3_selectionPrototype.remove=function(){return this.each(d3_selectionRemove)};function d3_selectionRemove(){var parent=this.parentNode;parent&&parent.removeChild(this)}d3_selectionPrototype.data=function(value,key){var group,node,i=-1,n=this.length;if(!arguments.length){value=new Array(n=(group=this[0]).length);while(++i<n)(node=group[i])&&(value[i]=node.__data__);return value}function bind(group,groupData){var i,node,nodeData,n=group.length,m=groupData.length,n0=Math.min(n,m),updateNodes=new Array(m),enterNodes=new Array(m),exitNodes=new Array(n);if(key){var keyValue,nodeByKeyValue=new d3_Map,keyValues=new Array(n);for(i=-1;++i<n;){nodeByKeyValue.has(keyValue=key.call(node=group[i],node.__data__,i))?exitNodes[i]=node:nodeByKeyValue.set(keyValue,node);keyValues[i]=keyValue}for(i=-1;++i<m;){if(node=nodeByKeyValue.get(keyValue=key.call(groupData,nodeData=groupData[i],i))){if(true!==node){updateNodes[i]=node;node.__data__=nodeData}}else enterNodes[i]=d3_selection_dataNode(nodeData);nodeByKeyValue.set(keyValue,true)}for(i=-1;++i<n;)true!==nodeByKeyValue.get(keyValues[i])&&(exitNodes[i]=group[i])}else{for(i=-1;++i<n0;){node=group[i];nodeData=groupData[i];if(node){node.__data__=nodeData;updateNodes[i]=node}else enterNodes[i]=d3_selection_dataNode(nodeData)}for(;i<m;++i)enterNodes[i]=d3_selection_dataNode(groupData[i]);for(;i<n;++i)exitNodes[i]=group[i]}enterNodes.update=updateNodes;enterNodes.parentNode=updateNodes.parentNode=exitNodes.parentNode=group.parentNode;enter.push(enterNodes);update.push(updateNodes);exit.push(exitNodes)}var enter=d3_selection_enter([]),update=d3_selection([]),exit=d3_selection([]);if("function"===typeof value)while(++i<n)bind(group=this[i],value.call(group,group.parentNode.__data__,i));else while(++i<n)bind(group=this[i],value);update.enter=function(){return enter};update.exit=function(){return exit};return update};function d3_selection_dataNode(data){return{__data__:data}}d3_selectionPrototype.datum=function(value){return arguments.length?this.property("__data__",value):this.property("__data__")};d3_selectionPrototype.filter=function(filter){var subgroup,group,node,subgroups=[];"function"!==typeof filter&&(filter=d3_selection_filter(filter));for(var j=0,m=this.length;j<m;j++){subgroups.push(subgroup=[]);subgroup.parentNode=(group=this[j]).parentNode;for(var i=0,n=group.length;i<n;i++)(node=group[i])&&filter.call(node,node.__data__,i,j)&&subgroup.push(node)}return d3_selection(subgroups)};function d3_selection_filter(selector){return function(){return d3_selectMatches(this,selector)}}d3_selectionPrototype.order=function(){for(var j=-1,m=this.length;++j<m;)for(var node,group=this[j],i=group.length-1,next=group[i];--i>=0;)if(node=group[i]){next&&next!==node.nextSibling&&next.parentNode.insertBefore(node,next);next=node}return this};d3_selectionPrototype.sort=function(comparator){comparator=d3_selection_sortComparator.apply(this,arguments);for(var j=-1,m=this.length;++j<m;)this[j].sort(comparator);return this.order()};function d3_selection_sortComparator(comparator){arguments.length||(comparator=d3_ascending);return function(a,b){return a&&b?comparator(a.__data__,b.__data__):!a-!b}}d3_selectionPrototype.each=function(callback){return d3_selection_each(this,function(node,i,j){callback.call(node,node.__data__,i,j)})};function d3_selection_each(groups,callback){for(var j=0,m=groups.length;j<m;j++)for(var node,group=groups[j],i=0,n=group.length;i<n;i++)(node=group[i])&&callback(node,i,j);return groups}d3_selectionPrototype.call=function(callback){var args=d3_array(arguments);callback.apply(args[0]=this,args);return this};d3_selectionPrototype.empty=function(){return!this.node()};d3_selectionPrototype.node=function(){for(var j=0,m=this.length;j<m;j++)for(var group=this[j],i=0,n=group.length;i<n;i++){var node=group[i];if(node)return node}return null};d3_selectionPrototype.size=function(){var n=0;d3_selection_each(this,function(){++n});return n};function d3_selection_enter(selection){d3_subclass(selection,d3_selection_enterPrototype);return selection}var d3_selection_enterPrototype=[];d3.selection.enter=d3_selection_enter;d3.selection.enter.prototype=d3_selection_enterPrototype;d3_selection_enterPrototype.append=d3_selectionPrototype.append;d3_selection_enterPrototype.empty=d3_selectionPrototype.empty;d3_selection_enterPrototype.node=d3_selectionPrototype.node;d3_selection_enterPrototype.call=d3_selectionPrototype.call;d3_selection_enterPrototype.size=d3_selectionPrototype.size;d3_selection_enterPrototype.select=function(selector){var subgroup,subnode,upgroup,group,node,subgroups=[];for(var j=-1,m=this.length;++j<m;){upgroup=(group=this[j]).update;subgroups.push(subgroup=[]);subgroup.parentNode=group.parentNode;for(var i=-1,n=group.length;++i<n;)if(node=group[i]){subgroup.push(upgroup[i]=subnode=selector.call(group.parentNode,node.__data__,i,j));subnode.__data__=node.__data__}else subgroup.push(null)}return d3_selection(subgroups)};d3_selection_enterPrototype.insert=function(name,before){arguments.length<2&&(before=d3_selection_enterInsertBefore(this));return d3_selectionPrototype.insert.call(this,name,before)};function d3_selection_enterInsertBefore(enter){var i0,j0;return function(d,i,j){var node,group=enter[j].update,n=group.length;j!=j0&&(j0=j,i0=0);i>=i0&&(i0=i+1);while(!(node=group[i0])&&++i0<n);return node}}d3.select=function(node){var group;if("string"===typeof node){group=[d3_select(node,d3_document)];group.parentNode=d3_document.documentElement}else{group=[node];group.parentNode=d3_documentElement(node)}return d3_selection([group])};d3.selectAll=function(nodes){var group;if("string"===typeof nodes){group=d3_array(d3_selectAll(nodes,d3_document));group.parentNode=d3_document.documentElement}else{group=nodes;group.parentNode=null}return d3_selection([group])};d3_selectionPrototype.on=function(type,listener,capture){var n=arguments.length;if(n<3){if("string"!==typeof type){n<2&&(listener=false);for(capture in type)this.each(d3_selection_on(capture,type[capture],listener));return this}if(n<2)return(n=this.node()["__on"+type])&&n._;capture=false}return this.each(d3_selection_on(type,listener,capture))};function d3_selection_on(type,listener,capture){var name="__on"+type,i=type.indexOf("."),wrap=d3_selection_onListener;i>0&&(type=type.slice(0,i));var filter=d3_selection_onFilters.get(type);filter&&(type=filter,wrap=d3_selection_onFilter);function onRemove(){var l=this[name];if(l){this.removeEventListener(type,l,l.$);delete this[name]}}function onAdd(){var l=wrap(listener,d3_array(arguments));onRemove.call(this);this.addEventListener(type,this[name]=l,l.$=capture);l._=listener}function removeAll(){var match,re=new RegExp("^__on([^.]+)"+d3.requote(type)+"$");for(var name in this)if(match=name.match(re)){var l=this[name];this.removeEventListener(match[1],l,l.$);delete this[name]}}return i?listener?onAdd:onRemove:listener?d3_noop:removeAll}var d3_selection_onFilters=d3.map({mouseenter:"mouseover",mouseleave:"mouseout"});d3_document&&d3_selection_onFilters.forEach(function(k){"on"+k in d3_document&&d3_selection_onFilters.remove(k)});function d3_selection_onListener(listener,argumentz){return function(e){var o=d3.event;d3.event=e;argumentz[0]=this.__data__;try{listener.apply(this,argumentz)}finally{d3.event=o}}}function d3_selection_onFilter(listener,argumentz){var l=d3_selection_onListener(listener,argumentz);return function(e){var target=this,related=e.relatedTarget;related&&(related===target||8&related.compareDocumentPosition(target))||l.call(target,e)}}var d3_event_dragSelect,d3_event_dragId=0;function d3_event_dragSuppress(node){var name=".dragsuppress-"+ ++d3_event_dragId,click="click"+name,w=d3.select(d3_window(node)).on("touchmove"+name,d3_eventPreventDefault).on("dragstart"+name,d3_eventPreventDefault).on("selectstart"+name,d3_eventPreventDefault);null==d3_event_dragSelect&&(d3_event_dragSelect=!("onselectstart"in node)&&d3_vendorSymbol(node.style,"userSelect"));if(d3_event_dragSelect){var style=d3_documentElement(node).style,select=style[d3_event_dragSelect];style[d3_event_dragSelect]="none"}return function(suppressClick){w.on(name,null);d3_event_dragSelect&&(style[d3_event_dragSelect]=select);if(suppressClick){var off=function(){w.on(click,null)};w.on(click,function(){d3_eventPreventDefault();off()},true);setTimeout(off,0)}}}d3.mouse=function(container){return d3_mousePoint(container,d3_eventSource())};var d3_mouse_bug44083=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function d3_mousePoint(container,e){e.changedTouches&&(e=e.changedTouches[0]);var svg=container.ownerSVGElement||container;if(svg.createSVGPoint){var point=svg.createSVGPoint();if(d3_mouse_bug44083<0){var window=d3_window(container);if(window.scrollX||window.scrollY){svg=d3.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var ctm=svg[0][0].getScreenCTM();d3_mouse_bug44083=!(ctm.f||ctm.e);svg.remove()}}d3_mouse_bug44083?(point.x=e.pageX,point.y=e.pageY):(point.x=e.clientX,point.y=e.clientY);point=point.matrixTransform(container.getScreenCTM().inverse());return[point.x,point.y]}var rect=container.getBoundingClientRect();return[e.clientX-rect.left-container.clientLeft,e.clientY-rect.top-container.clientTop]}d3.touch=function(container,touches,identifier){arguments.length<3&&(identifier=touches,touches=d3_eventSource().changedTouches);if(touches)for(var touch,i=0,n=touches.length;i<n;++i)if((touch=touches[i]).identifier===identifier)return d3_mousePoint(container,touch)};d3.behavior.drag=function(){var event=d3_eventDispatch(drag,"drag","dragstart","dragend"),origin=null,mousedown=dragstart(d3_noop,d3.mouse,d3_window,"mousemove","mouseup"),touchstart=dragstart(d3_behavior_dragTouchId,d3.touch,d3_identity,"touchmove","touchend");function drag(){this.on("mousedown.drag",mousedown).on("touchstart.drag",touchstart)}function dragstart(id,position,subject,move,end){return function(){var dragOffset,that=this,target=d3.event.target,parent=that.parentNode,dispatch=event.of(that,arguments),dragged=0,dragId=id(),dragName=".drag"+(null==dragId?"":"-"+dragId),dragSubject=d3.select(subject(target)).on(move+dragName,moved).on(end+dragName,ended),dragRestore=d3_event_dragSuppress(target),position0=position(parent,dragId);if(origin){dragOffset=origin.apply(that,arguments);dragOffset=[dragOffset.x-position0[0],dragOffset.y-position0[1]]}else dragOffset=[0,0];dispatch({type:"dragstart"});function moved(){var dx,dy,position1=position(parent,dragId);if(!position1)return;dx=position1[0]-position0[0];dy=position1[1]-position0[1];dragged|=dx|dy;position0=position1;dispatch({type:"drag",x:position1[0]+dragOffset[0],y:position1[1]+dragOffset[1],dx:dx,dy:dy})}function ended(){if(!position(parent,dragId))return;dragSubject.on(move+dragName,null).on(end+dragName,null);dragRestore(dragged&&d3.event.target===target);dispatch({type:"dragend"})}}}drag.origin=function(x){if(!arguments.length)return origin;origin=x;return drag};return d3.rebind(drag,event,"on")};function d3_behavior_dragTouchId(){return d3.event.changedTouches[0].identifier}d3.touches=function(container,touches){arguments.length<2&&(touches=d3_eventSource().touches);return touches?d3_array(touches).map(function(touch){var point=d3_mousePoint(container,touch);point.identifier=touch.identifier;return point}):[]};var ε=1e-6,ε2=ε*ε,π=Math.PI,τ=2*π,τε=τ-ε,halfπ=π/2,d3_radians=π/180,d3_degrees=180/π;function d3_sgn(x){return x>0?1:x<0?-1:0}function d3_cross2d(a,b,c){return(b[0]-a[0])*(c[1]-a[1])-(b[1]-a[1])*(c[0]-a[0])}function d3_acos(x){return x>1?0:x<-1?π:Math.acos(x)}function d3_asin(x){return x>1?halfπ:x<-1?-halfπ:Math.asin(x)}function d3_sinh(x){return((x=Math.exp(x))-1/x)/2}function d3_cosh(x){return((x=Math.exp(x))+1/x)/2}function d3_tanh(x){return((x=Math.exp(2*x))-1)/(x+1)}function d3_haversin(x){return(x=Math.sin(x/2))*x}var ρ=Math.SQRT2,ρ2=2,ρ4=4;d3.interpolateZoom=function(p0,p1){var ux0=p0[0],uy0=p0[1],w0=p0[2],ux1=p1[0],uy1=p1[1],w1=p1[2];var dx=ux1-ux0,dy=uy1-uy0,d2=dx*dx+dy*dy,d1=Math.sqrt(d2),b0=(w1*w1-w0*w0+ρ4*d2)/(2*w0*ρ2*d1),b1=(w1*w1-w0*w0-ρ4*d2)/(2*w1*ρ2*d1),r0=Math.log(Math.sqrt(b0*b0+1)-b0),r1=Math.log(Math.sqrt(b1*b1+1)-b1),dr=r1-r0,S=(dr||Math.log(w1/w0))/ρ;function interpolate(t){var s=t*S;if(dr){var coshr0=d3_cosh(r0),u=w0/(ρ2*d1)*(coshr0*d3_tanh(ρ*s+r0)-d3_sinh(r0));return[ux0+u*dx,uy0+u*dy,w0*coshr0/d3_cosh(ρ*s+r0)]}return[ux0+t*dx,uy0+t*dy,w0*Math.exp(ρ*s)]}interpolate.duration=1e3*S;return interpolate};d3.behavior.zoom=function(){var translate0,center0,center,mousewheelTimer,touchtime,x0,x1,y0,y1,view={x:0,y:0,k:1},size=[960,500],scaleExtent=d3_behavior_zoomInfinity,duration=250,zooming=0,mousedown="mousedown.zoom",mousemove="mousemove.zoom",mouseup="mouseup.zoom",touchstart="touchstart.zoom",event=d3_eventDispatch(zoom,"zoomstart","zoom","zoomend");d3_behavior_zoomWheel||(d3_behavior_zoomWheel="onwheel"in d3_document?(d3_behavior_zoomDelta=function(){return-d3.event.deltaY*(d3.event.deltaMode?120:1)},"wheel"):"onmousewheel"in d3_document?(d3_behavior_zoomDelta=function(){return d3.event.wheelDelta},"mousewheel"):(d3_behavior_zoomDelta=function(){return-d3.event.detail},"MozMousePixelScroll"));function zoom(g){g.on(mousedown,mousedowned).on(d3_behavior_zoomWheel+".zoom",mousewheeled).on("dblclick.zoom",dblclicked).on(touchstart,touchstarted)}zoom.event=function(g){g.each(function(){var dispatch=event.of(this,arguments),view1=view;if(d3_transitionInheritId)d3.select(this).transition().each("start.zoom",function(){view=this.__chart__||{x:0,y:0,k:1};zoomstarted(dispatch)}).tween("zoom:zoom",function(){var dx=size[0],dy=size[1],cx=center0?center0[0]:dx/2,cy=center0?center0[1]:dy/2,i=d3.interpolateZoom([(cx-view.x)/view.k,(cy-view.y)/view.k,dx/view.k],[(cx-view1.x)/view1.k,(cy-view1.y)/view1.k,dx/view1.k]);return function(t){var l=i(t),k=dx/l[2];this.__chart__=view={x:cx-l[0]*k,y:cy-l[1]*k,k:k};zoomed(dispatch)}}).each("interrupt.zoom",function(){zoomended(dispatch)}).each("end.zoom",function(){zoomended(dispatch)});else{this.__chart__=view;zoomstarted(dispatch);zoomed(dispatch);zoomended(dispatch)}})};zoom.translate=function(_){if(!arguments.length)return[view.x,view.y];view={x:+_[0],y:+_[1],k:view.k};rescale();return zoom};zoom.scale=function(_){if(!arguments.length)return view.k;view={x:view.x,y:view.y,k:+_};rescale();return zoom};zoom.scaleExtent=function(_){if(!arguments.length)return scaleExtent;scaleExtent=null==_?d3_behavior_zoomInfinity:[+_[0],+_[1]];return zoom};zoom.center=function(_){if(!arguments.length)return center;center=_&&[+_[0],+_[1]];return zoom};zoom.size=function(_){if(!arguments.length)return size;size=_&&[+_[0],+_[1]];return zoom};zoom.duration=function(_){if(!arguments.length)return duration;duration=+_;return zoom};zoom.x=function(z){if(!arguments.length)return x1;x1=z;x0=z.copy();view={x:0,y:0,k:1};return zoom};zoom.y=function(z){if(!arguments.length)return y1;y1=z;y0=z.copy();view={x:0,y:0,k:1};return zoom};function location(p){return[(p[0]-view.x)/view.k,(p[1]-view.y)/view.k]}function point(l){return[l[0]*view.k+view.x,l[1]*view.k+view.y]}function scaleTo(s){view.k=Math.max(scaleExtent[0],Math.min(scaleExtent[1],s))}function translateTo(p,l){l=point(l);view.x+=p[0]-l[0];view.y+=p[1]-l[1]}function zoomTo(that,p,l,k){that.__chart__={x:view.x,y:view.y,k:view.k};scaleTo(Math.pow(2,k));translateTo(center0=p,l);that=d3.select(that);duration>0&&(that=that.transition().duration(duration));that.call(zoom.event)}function rescale(){x1&&x1.domain(x0.range().map(function(x){return(x-view.x)/view.k}).map(x0.invert));y1&&y1.domain(y0.range().map(function(y){return(y-view.y)/view.k}).map(y0.invert))}function zoomstarted(dispatch){zooming++||dispatch({type:"zoomstart"})}function zoomed(dispatch){rescale();dispatch({type:"zoom",scale:view.k,translate:[view.x,view.y]})}function zoomended(dispatch){--zooming||(dispatch({type:"zoomend"}),center0=null)}function mousedowned(){var that=this,target=d3.event.target,dispatch=event.of(that,arguments),dragged=0,subject=d3.select(d3_window(that)).on(mousemove,moved).on(mouseup,ended),location0=location(d3.mouse(that)),dragRestore=d3_event_dragSuppress(that);d3_selection_interrupt.call(that);zoomstarted(dispatch);function moved(){dragged=1;translateTo(d3.mouse(that),location0);zoomed(dispatch)}function ended(){subject.on(mousemove,null).on(mouseup,null);dragRestore(dragged&&d3.event.target===target);zoomended(dispatch)}}function touchstarted(){var scale0,that=this,dispatch=event.of(that,arguments),locations0={},distance0=0,zoomName=".zoom-"+d3.event.changedTouches[0].identifier,touchmove="touchmove"+zoomName,touchend="touchend"+zoomName,targets=[],subject=d3.select(that),dragRestore=d3_event_dragSuppress(that);started();zoomstarted(dispatch);subject.on(mousedown,null).on(touchstart,started);function relocate(){var touches=d3.touches(that);scale0=view.k;touches.forEach(function(t){t.identifier in locations0&&(locations0[t.identifier]=location(t))});return touches}function started(){var target=d3.event.target;d3.select(target).on(touchmove,moved).on(touchend,ended);targets.push(target);var changed=d3.event.changedTouches;for(var i=0,n=changed.length;i<n;++i)locations0[changed[i].identifier]=null;var touches=relocate(),now=Date.now();if(1===touches.length){if(now-touchtime<500){var p=touches[0];zoomTo(that,p,locations0[p.identifier],Math.floor(Math.log(view.k)/Math.LN2)+1);d3_eventPreventDefault()}touchtime=now}else if(touches.length>1){p=touches[0];var q=touches[1],dx=p[0]-q[0],dy=p[1]-q[1];distance0=dx*dx+dy*dy}}function moved(){var p0,l0,p1,l1,touches=d3.touches(that);d3_selection_interrupt.call(that);for(var i=0,n=touches.length;i<n;++i,l1=null){p1=touches[i];if(l1=locations0[p1.identifier]){if(l0)break;p0=p1,l0=l1}}if(l1){var distance1=(distance1=p1[0]-p0[0])*distance1+(distance1=p1[1]-p0[1])*distance1,scale1=distance0&&Math.sqrt(distance1/distance0);p0=[(p0[0]+p1[0])/2,(p0[1]+p1[1])/2];l0=[(l0[0]+l1[0])/2,(l0[1]+l1[1])/2];scaleTo(scale1*scale0)}touchtime=null;translateTo(p0,l0);zoomed(dispatch)}function ended(){if(d3.event.touches.length){var changed=d3.event.changedTouches;for(var i=0,n=changed.length;i<n;++i)delete locations0[changed[i].identifier];for(var identifier in locations0)return void relocate()}d3.selectAll(targets).on(zoomName,null);subject.on(mousedown,mousedowned).on(touchstart,touchstarted);dragRestore();zoomended(dispatch)}}function mousewheeled(){var dispatch=event.of(this,arguments);mousewheelTimer?clearTimeout(mousewheelTimer):(d3_selection_interrupt.call(this),translate0=location(center0=center||d3.mouse(this)),zoomstarted(dispatch));mousewheelTimer=setTimeout(function(){mousewheelTimer=null;zoomended(dispatch)},50);d3_eventPreventDefault();scaleTo(Math.pow(2,.002*d3_behavior_zoomDelta())*view.k);translateTo(center0,translate0);zoomed(dispatch)}function dblclicked(){var p=d3.mouse(this),k=Math.log(view.k)/Math.LN2;zoomTo(this,p,location(p),d3.event.shiftKey?Math.ceil(k)-1:Math.floor(k)+1)}return d3.rebind(zoom,event,"on")};var d3_behavior_zoomDelta,d3_behavior_zoomWheel,d3_behavior_zoomInfinity=[0,Infinity];d3.color=d3_color;function d3_color(){}d3_color.prototype.toString=function(){return this.rgb()+""};d3.hsl=d3_hsl;function d3_hsl(h,s,l){return this instanceof d3_hsl?void(this.h=+h,this.s=+s,this.l=+l):arguments.length<2?h instanceof d3_hsl?new d3_hsl(h.h,h.s,h.l):d3_rgb_parse(""+h,d3_rgb_hsl,d3_hsl):new d3_hsl(h,s,l)}var d3_hslPrototype=d3_hsl.prototype=new d3_color;d3_hslPrototype.brighter=function(k){k=Math.pow(.7,arguments.length?k:1);return new d3_hsl(this.h,this.s,this.l/k)};d3_hslPrototype.darker=function(k){k=Math.pow(.7,arguments.length?k:1);return new d3_hsl(this.h,this.s,k*this.l)};d3_hslPrototype.rgb=function(){return d3_hsl_rgb(this.h,this.s,this.l)};function d3_hsl_rgb(h,s,l){var m1,m2;h=isNaN(h)?0:(h%=360)<0?h+360:h;s=isNaN(s)?0:s<0?0:s>1?1:s;l=l<0?0:l>1?1:l;m2=l<=.5?l*(1+s):l+s-l*s;m1=2*l-m2;function v(h){h>360?h-=360:h<0&&(h+=360);if(h<60)return m1+(m2-m1)*h/60;if(h<180)return m2;if(h<240)return m1+(m2-m1)*(240-h)/60;return m1}function vv(h){return Math.round(255*v(h))}return new d3_rgb(vv(h+120),vv(h),vv(h-120))}d3.hcl=d3_hcl;function d3_hcl(h,c,l){return this instanceof d3_hcl?void(this.h=+h,this.c=+c,this.l=+l):arguments.length<2?h instanceof d3_hcl?new d3_hcl(h.h,h.c,h.l):d3_lab_hcl(h instanceof d3_lab?h.l:(h=d3_rgb_lab((h=d3.rgb(h)).r,h.g,h.b)).l,h.a,h.b):new d3_hcl(h,c,l)}var d3_hclPrototype=d3_hcl.prototype=new d3_color;d3_hclPrototype.brighter=function(k){return new d3_hcl(this.h,this.c,Math.min(100,this.l+d3_lab_K*(arguments.length?k:1)))};d3_hclPrototype.darker=function(k){return new d3_hcl(this.h,this.c,Math.max(0,this.l-d3_lab_K*(arguments.length?k:1)))};d3_hclPrototype.rgb=function(){return d3_hcl_lab(this.h,this.c,this.l).rgb()};function d3_hcl_lab(h,c,l){isNaN(h)&&(h=0);isNaN(c)&&(c=0);return new d3_lab(l,Math.cos(h*=d3_radians)*c,Math.sin(h)*c)}d3.lab=d3_lab;function d3_lab(l,a,b){return this instanceof d3_lab?void(this.l=+l,this.a=+a,this.b=+b):arguments.length<2?l instanceof d3_lab?new d3_lab(l.l,l.a,l.b):l instanceof d3_hcl?d3_hcl_lab(l.h,l.c,l.l):d3_rgb_lab((l=d3_rgb(l)).r,l.g,l.b):new d3_lab(l,a,b)}var d3_lab_K=18;var d3_lab_X=.95047,d3_lab_Y=1,d3_lab_Z=1.08883;var d3_labPrototype=d3_lab.prototype=new d3_color;d3_labPrototype.brighter=function(k){return new d3_lab(Math.min(100,this.l+d3_lab_K*(arguments.length?k:1)),this.a,this.b)};d3_labPrototype.darker=function(k){return new d3_lab(Math.max(0,this.l-d3_lab_K*(arguments.length?k:1)),this.a,this.b)};d3_labPrototype.rgb=function(){return d3_lab_rgb(this.l,this.a,this.b)};function d3_lab_rgb(l,a,b){var y=(l+16)/116,x=y+a/500,z=y-b/200;x=d3_lab_xyz(x)*d3_lab_X;y=d3_lab_xyz(y)*d3_lab_Y;z=d3_lab_xyz(z)*d3_lab_Z;return new d3_rgb(d3_xyz_rgb(3.2404542*x-1.5371385*y-.4985314*z),d3_xyz_rgb(-.969266*x+1.8760108*y+.041556*z),d3_xyz_rgb(.0556434*x-.2040259*y+1.0572252*z))}function d3_lab_hcl(l,a,b){return l>0?new d3_hcl(Math.atan2(b,a)*d3_degrees,Math.sqrt(a*a+b*b),l):new d3_hcl(NaN,NaN,l)}function d3_lab_xyz(x){return x>.206893034?x*x*x:(x-4/29)/7.787037}function d3_xyz_lab(x){return x>.008856?Math.pow(x,1/3):7.787037*x+4/29}function d3_xyz_rgb(r){return Math.round(255*(r<=.00304?12.92*r:1.055*Math.pow(r,1/2.4)-.055))}d3.rgb=d3_rgb;function d3_rgb(r,g,b){return this instanceof d3_rgb?void(this.r=~~r,this.g=~~g,this.b=~~b):arguments.length<2?r instanceof d3_rgb?new d3_rgb(r.r,r.g,r.b):d3_rgb_parse(""+r,d3_rgb,d3_hsl_rgb):new d3_rgb(r,g,b)}function d3_rgbNumber(value){return new d3_rgb(value>>16,value>>8&255,255&value)}function d3_rgbString(value){return d3_rgbNumber(value)+""}var d3_rgbPrototype=d3_rgb.prototype=new d3_color;d3_rgbPrototype.brighter=function(k){k=Math.pow(.7,arguments.length?k:1);var r=this.r,g=this.g,b=this.b,i=30;if(!r&&!g&&!b)return new d3_rgb(i,i,i);r&&r<i&&(r=i);g&&g<i&&(g=i);b&&b<i&&(b=i);return new d3_rgb(Math.min(255,r/k),Math.min(255,g/k),Math.min(255,b/k))};d3_rgbPrototype.darker=function(k){k=Math.pow(.7,arguments.length?k:1);return new d3_rgb(k*this.r,k*this.g,k*this.b)};d3_rgbPrototype.hsl=function(){return d3_rgb_hsl(this.r,this.g,this.b)};d3_rgbPrototype.toString=function(){return"#"+d3_rgb_hex(this.r)+d3_rgb_hex(this.g)+d3_rgb_hex(this.b)};function d3_rgb_hex(v){return v<16?"0"+Math.max(0,v).toString(16):Math.min(255,v).toString(16)}function d3_rgb_parse(format,rgb,hsl){format=format.toLowerCase();var m1,m2,color,r=0,g=0,b=0;m1=/([a-z]+)\((.*)\)/.exec(format);if(m1){m2=m1[2].split(",");switch(m1[1]){case"hsl":return hsl(parseFloat(m2[0]),parseFloat(m2[1])/100,parseFloat(m2[2])/100);case"rgb":return rgb(d3_rgb_parseNumber(m2[0]),d3_rgb_parseNumber(m2[1]),d3_rgb_parseNumber(m2[2]))}}if(color=d3_rgb_names.get(format))return rgb(color.r,color.g,color.b);if(null!=format&&"#"===format.charAt(0)&&!isNaN(color=parseInt(format.slice(1),16)))if(4===format.length){r=(3840&color)>>4;r|=r>>4;g=240&color;g|=g>>4;b=15&color;b|=b<<4}else if(7===format.length){r=(16711680&color)>>16;g=(65280&color)>>8;b=255&color}return rgb(r,g,b)}function d3_rgb_hsl(r,g,b){var h,s,min=Math.min(r/=255,g/=255,b/=255),max=Math.max(r,g,b),d=max-min,l=(max+min)/2;if(d){s=l<.5?d/(max+min):d/(2-max-min);h=r==max?(g-b)/d+(g<b?6:0):g==max?(b-r)/d+2:(r-g)/d+4;h*=60}else{h=NaN;s=l>0&&l<1?0:h}return new d3_hsl(h,s,l)}function d3_rgb_lab(r,g,b){r=d3_rgb_xyz(r);g=d3_rgb_xyz(g);b=d3_rgb_xyz(b);var x=d3_xyz_lab((.4124564*r+.3575761*g+.1804375*b)/d3_lab_X),y=d3_xyz_lab((.2126729*r+.7151522*g+.072175*b)/d3_lab_Y),z=d3_xyz_lab((.0193339*r+.119192*g+.9503041*b)/d3_lab_Z);return d3_lab(116*y-16,500*(x-y),200*(y-z))}function d3_rgb_xyz(r){return(r/=255)<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4)}function d3_rgb_parseNumber(c){var f=parseFloat(c);return"%"===c.charAt(c.length-1)?Math.round(2.55*f):f}var d3_rgb_names=d3.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});d3_rgb_names.forEach(function(key,value){d3_rgb_names.set(key,d3_rgbNumber(value))});function d3_functor(v){return"function"===typeof v?v:function(){return v}}d3.functor=d3_functor;d3.xhr=d3_xhrType(d3_identity);function d3_xhrType(response){return function(url,mimeType,callback){2===arguments.length&&"function"===typeof mimeType&&(callback=mimeType,mimeType=null);return d3_xhr(url,mimeType,response,callback)}}function d3_xhr(url,mimeType,response,callback){var xhr={},dispatch=d3.dispatch("beforesend","progress","load","error"),headers={},request=new XMLHttpRequest,responseType=null;!this.XDomainRequest||"withCredentials"in request||!/^(http(s)?:)?\/\//.test(url)||(request=new XDomainRequest);"onload"in request?request.onload=request.onerror=respond:request.onreadystatechange=function(){request.readyState>3&&respond()};function respond(){var result,status=request.status;if(!status&&d3_xhrHasResponse(request)||status>=200&&status<300||304===status){try{result=response.call(xhr,request)}catch(e){dispatch.error.call(xhr,e);return}dispatch.load.call(xhr,result)}else dispatch.error.call(xhr,request)}request.onprogress=function(event){var o=d3.event;d3.event=event;try{dispatch.progress.call(xhr,request)}finally{d3.event=o}};xhr.header=function(name,value){name=(name+"").toLowerCase();if(arguments.length<2)return headers[name];null==value?delete headers[name]:headers[name]=value+"";return xhr};xhr.mimeType=function(value){if(!arguments.length)return mimeType;mimeType=null==value?null:value+"";return xhr};xhr.responseType=function(value){if(!arguments.length)return responseType;responseType=value;return xhr};xhr.response=function(value){response=value;return xhr};["get","post"].forEach(function(method){xhr[method]=function(){return xhr.send.apply(xhr,[method].concat(d3_array(arguments)))}});xhr.send=function(method,data,callback){2===arguments.length&&"function"===typeof data&&(callback=data,data=null);request.open(method,url,true);null==mimeType||"accept"in headers||(headers["accept"]=mimeType+",*/*");if(request.setRequestHeader)for(var name in headers)request.setRequestHeader(name,headers[name]);null!=mimeType&&request.overrideMimeType&&request.overrideMimeType(mimeType);null!=responseType&&(request.responseType=responseType);null!=callback&&xhr.on("error",callback).on("load",function(request){callback(null,request)});dispatch.beforesend.call(xhr,request);request.send(null==data?null:data);return xhr};xhr.abort=function(){request.abort();return xhr};d3.rebind(xhr,dispatch,"on");return null==callback?xhr:xhr.get(d3_xhr_fixCallback(callback))}function d3_xhr_fixCallback(callback){return 1===callback.length?function(error,request){callback(null==error?request:null)}:callback}function d3_xhrHasResponse(request){var type=request.responseType;return type&&"text"!==type?request.response:request.responseText}d3.dsv=function(delimiter,mimeType){var reFormat=new RegExp('["'+delimiter+"\n]"),delimiterCode=delimiter.charCodeAt(0);function dsv(url,row,callback){arguments.length<3&&(callback=row,row=null);var xhr=d3_xhr(url,mimeType,null==row?response:typedResponse(row),callback);xhr.row=function(_){return arguments.length?xhr.response(null==(row=_)?response:typedResponse(_)):row};return xhr}function response(request){return dsv.parse(request.responseText)}function typedResponse(f){return function(request){return dsv.parse(request.responseText,f)}}dsv.parse=function(text,f){var o;return dsv.parseRows(text,function(row,i){if(o)return o(row,i-1);var a=new Function("d","return {"+row.map(function(name,i){return JSON.stringify(name)+": d["+i+"]"}).join(",")+"}");o=f?function(row,i){return f(a(row),i)}:a})};dsv.parseRows=function(text,f){var t,eol,EOL={},EOF={},rows=[],N=text.length,I=0,n=0;function token(){if(I>=N)return EOF;if(eol)return eol=false,EOL;var j=I;if(34===text.charCodeAt(j)){var i=j;while(i++<N)if(34===text.charCodeAt(i)){if(34!==text.charCodeAt(i+1))break;++i}I=i+2;var c=text.charCodeAt(i+1);if(13===c){eol=true;10===text.charCodeAt(i+2)&&++I}else 10===c&&(eol=true);return text.slice(j+1,i).replace(/""/g,'"')}while(I<N){c=text.charCodeAt(I++);var k=1;if(10===c)eol=true;else if(13===c){eol=true;10===text.charCodeAt(I)&&(++I,++k)}else if(c!==delimiterCode)continue;return text.slice(j,I-k)}return text.slice(j)}while((t=token())!==EOF){var a=[];while(t!==EOL&&t!==EOF){a.push(t);t=token()}if(f&&null==(a=f(a,n++)))continue;rows.push(a)}return rows};dsv.format=function(rows){if(Array.isArray(rows[0]))return dsv.formatRows(rows);var fieldSet=new d3_Set,fields=[];rows.forEach(function(row){for(var field in row)fieldSet.has(field)||fields.push(fieldSet.add(field))});return[fields.map(formatValue).join(delimiter)].concat(rows.map(function(row){return fields.map(function(field){return formatValue(row[field])}).join(delimiter)})).join("\n")};dsv.formatRows=function(rows){return rows.map(formatRow).join("\n")};function formatRow(row){return row.map(formatValue).join(delimiter)}function formatValue(text){return reFormat.test(text)?'"'+text.replace(/\"/g,'""')+'"':text}return dsv};d3.csv=d3.dsv(",","text/csv");d3.tsv=d3.dsv("\t","text/tab-separated-values");var d3_timer_queueHead,d3_timer_queueTail,d3_timer_interval,d3_timer_timeout,d3_timer_active,d3_timer_frame=this[d3_vendorSymbol(this,"requestAnimationFrame")]||function(callback){setTimeout(callback,17)};d3.timer=function(callback,delay,then){var n=arguments.length;n<2&&(delay=0);n<3&&(then=Date.now());var time=then+delay,timer={c:callback,t:time,f:false,n:null};d3_timer_queueTail?d3_timer_queueTail.n=timer:d3_timer_queueHead=timer;d3_timer_queueTail=timer;if(!d3_timer_interval){d3_timer_timeout=clearTimeout(d3_timer_timeout);d3_timer_interval=1;d3_timer_frame(d3_timer_step)}};function d3_timer_step(){var now=d3_timer_mark(),delay=d3_timer_sweep()-now;if(delay>24){if(isFinite(delay)){clearTimeout(d3_timer_timeout);d3_timer_timeout=setTimeout(d3_timer_step,delay)}d3_timer_interval=0}else{d3_timer_interval=1;d3_timer_frame(d3_timer_step)}}d3.timer.flush=function(){d3_timer_mark();d3_timer_sweep()};function d3_timer_mark(){var now=Date.now();d3_timer_active=d3_timer_queueHead;while(d3_timer_active){now>=d3_timer_active.t&&(d3_timer_active.f=d3_timer_active.c(now-d3_timer_active.t));d3_timer_active=d3_timer_active.n}return now}function d3_timer_sweep(){var t0,t1=d3_timer_queueHead,time=Infinity;while(t1)if(t1.f)t1=t0?t0.n=t1.n:d3_timer_queueHead=t1.n;else{t1.t<time&&(time=t1.t);t1=(t0=t1).n}d3_timer_queueTail=t0;return time}function d3_format_precision(x,p){return p-(x?Math.ceil(Math.log(x)/Math.LN10):1)}d3.round=function(x,n){return n?Math.round(x*(n=Math.pow(10,n)))/n:Math.round(x)};var d3_formatPrefixes=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"].map(d3_formatPrefix);d3.formatPrefix=function(value,precision){var i=0;if(value){value<0&&(value*=-1);precision&&(value=d3.round(value,d3_format_precision(value,precision)));i=1+Math.floor(1e-12+Math.log(value)/Math.LN10);i=Math.max(-24,Math.min(24,3*Math.floor((i-1)/3)))}return d3_formatPrefixes[8+i/3]};function d3_formatPrefix(d,i){var k=Math.pow(10,3*abs(8-i));return{scale:i>8?function(d){return d/k}:function(d){return d*k},symbol:d}}function d3_locale_numberFormat(locale){var locale_decimal=locale.decimal,locale_thousands=locale.thousands,locale_grouping=locale.grouping,locale_currency=locale.currency,formatGroup=locale_grouping&&locale_thousands?function(value,width){var i=value.length,t=[],j=0,g=locale_grouping[0],length=0;while(i>0&&g>0){length+g+1>width&&(g=Math.max(1,width-length));t.push(value.substring(i-=g,i+g));if((length+=g+1)>width)break;g=locale_grouping[j=(j+1)%locale_grouping.length]}return t.reverse().join(locale_thousands)}:d3_identity;return function(specifier){var match=d3_format_re.exec(specifier),fill=match[1]||" ",align=match[2]||">",sign=match[3]||"-",symbol=match[4]||"",zfill=match[5],width=+match[6],comma=match[7],precision=match[8],type=match[9],scale=1,prefix="",suffix="",integer=false,exponent=true;precision&&(precision=+precision.substring(1));if(zfill||"0"===fill&&"="===align){zfill=fill="0";align="="}switch(type){case"n":comma=true;type="g";break;case"%":scale=100;suffix="%";type="f";break;case"p":scale=100;suffix="%";type="r";break;case"b":case"o":case"x":case"X":"#"===symbol&&(prefix="0"+type.toLowerCase());case"c":exponent=false;case"d":integer=true;precision=0;break;case"s":scale=-1;type="r"}"$"===symbol&&(prefix=locale_currency[0],suffix=locale_currency[1]);"r"!=type||precision||(type="g");null!=precision&&("g"==type?precision=Math.max(1,Math.min(21,precision)):"e"!=type&&"f"!=type||(precision=Math.max(0,Math.min(20,precision))));type=d3_format_types.get(type)||d3_format_typeDefault;var zcomma=zfill&&comma;return function(value){var fullSuffix=suffix;if(integer&&value%1)return"";var negative=value<0||0===value&&1/value<0?(value=-value,"-"):"-"===sign?"":sign;if(scale<0){var unit=d3.formatPrefix(value,precision);value=unit.scale(value);fullSuffix=unit.symbol+suffix}else value*=scale;value=type(value,precision);var before,after,i=value.lastIndexOf(".");if(i<0){var j=exponent?value.lastIndexOf("e"):-1;j<0?(before=value,after=""):(before=value.substring(0,j),after=value.substring(j))}else{before=value.substring(0,i);after=locale_decimal+value.substring(i+1)}!zfill&&comma&&(before=formatGroup(before,Infinity));var length=prefix.length+before.length+after.length+(zcomma?0:negative.length),padding=length<width?new Array(length=width-length+1).join(fill):"";zcomma&&(before=formatGroup(padding+before,padding.length?width-after.length:Infinity));negative+=prefix;value=before+after;return("<"===align?negative+value+padding:">"===align?padding+negative+value:"^"===align?padding.substring(0,length>>=1)+negative+value+padding.substring(length):negative+(zcomma?value:padding+value))+fullSuffix}}}var d3_format_re=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i;var d3_format_types=d3.map({b:function(x){return x.toString(2)},c:function(x){return String.fromCharCode(x)},o:function(x){return x.toString(8)},x:function(x){return x.toString(16)},X:function(x){return x.toString(16).toUpperCase()},g:function(x,p){return x.toPrecision(p)},e:function(x,p){return x.toExponential(p)},f:function(x,p){return x.toFixed(p)},r:function(x,p){return(x=d3.round(x,d3_format_precision(x,p))).toFixed(Math.max(0,Math.min(20,d3_format_precision(x*(1+1e-15),p))))}});function d3_format_typeDefault(x){return x+""}var d3_time=d3.time={},d3_date=Date;function d3_date_utc(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}d3_date_utc.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(){d3_time_prototype.setUTCDate.apply(this._,arguments)},setDay:function(){d3_time_prototype.setUTCDay.apply(this._,arguments)},setFullYear:function(){d3_time_prototype.setUTCFullYear.apply(this._,arguments)},setHours:function(){d3_time_prototype.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){d3_time_prototype.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){d3_time_prototype.setUTCMinutes.apply(this._,arguments)},setMonth:function(){d3_time_prototype.setUTCMonth.apply(this._,arguments)},setSeconds:function(){d3_time_prototype.setUTCSeconds.apply(this._,arguments)},setTime:function(){d3_time_prototype.setTime.apply(this._,arguments)}};var d3_time_prototype=Date.prototype;function d3_time_interval(local,step,number){function round(date){var d0=local(date),d1=offset(d0,1);return date-d0<d1-date?d0:d1}function ceil(date){step(date=local(new d3_date(date-1)),1);return date}function offset(date,k){step(date=new d3_date(+date),k);return date}function range(t0,t1,dt){var time=ceil(t0),times=[];if(dt>1)while(time<t1){number(time)%dt||times.push(new Date(+time));step(time,1)}else while(time<t1)times.push(new Date(+time)),step(time,1);return times}function range_utc(t0,t1,dt){try{d3_date=d3_date_utc;var utc=new d3_date_utc;utc._=t0;return range(utc,t1,dt)}finally{d3_date=Date}}local.floor=local;local.round=round;local.ceil=ceil;local.offset=offset;local.range=range;var utc=local.utc=d3_time_interval_utc(local);utc.floor=utc;utc.round=d3_time_interval_utc(round);utc.ceil=d3_time_interval_utc(ceil);utc.offset=d3_time_interval_utc(offset);utc.range=range_utc;return local}function d3_time_interval_utc(method){return function(date,k){try{d3_date=d3_date_utc;var utc=new d3_date_utc;utc._=date;return method(utc,k)._}finally{d3_date=Date}}}d3_time.year=d3_time_interval(function(date){date=d3_time.day(date);date.setMonth(0,1);return date},function(date,offset){date.setFullYear(date.getFullYear()+offset)},function(date){return date.getFullYear()});d3_time.years=d3_time.year.range;d3_time.years.utc=d3_time.year.utc.range;d3_time.day=d3_time_interval(function(date){var day=new d3_date(2e3,0);day.setFullYear(date.getFullYear(),date.getMonth(),date.getDate());return day},function(date,offset){date.setDate(date.getDate()+offset)},function(date){return date.getDate()-1});d3_time.days=d3_time.day.range;d3_time.days.utc=d3_time.day.utc.range;d3_time.dayOfYear=function(date){var year=d3_time.year(date);return Math.floor((date-year-6e4*(date.getTimezoneOffset()-year.getTimezoneOffset()))/864e5)};["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(day,i){i=7-i;var interval=d3_time[day]=d3_time_interval(function(date){(date=d3_time.day(date)).setDate(date.getDate()-(date.getDay()+i)%7);return date},function(date,offset){date.setDate(date.getDate()+7*Math.floor(offset))},function(date){var day=d3_time.year(date).getDay();return Math.floor((d3_time.dayOfYear(date)+(day+i)%7)/7)-(day!==i)});d3_time[day+"s"]=interval.range;d3_time[day+"s"].utc=interval.utc.range;d3_time[day+"OfYear"]=function(date){var day=d3_time.year(date).getDay();return Math.floor((d3_time.dayOfYear(date)+(day+i)%7)/7)}});d3_time.week=d3_time.sunday;d3_time.weeks=d3_time.sunday.range;d3_time.weeks.utc=d3_time.sunday.utc.range;d3_time.weekOfYear=d3_time.sundayOfYear;function d3_locale_timeFormat(locale){var locale_dateTime=locale.dateTime,locale_date=locale.date,locale_time=locale.time,locale_periods=locale.periods,locale_days=locale.days,locale_shortDays=locale.shortDays,locale_months=locale.months,locale_shortMonths=locale.shortMonths;function d3_time_format(template){var n=template.length;function format(date){var c,p,f,string=[],i=-1,j=0;while(++i<n)if(37===template.charCodeAt(i)){string.push(template.slice(j,i));null!=(p=d3_time_formatPads[c=template.charAt(++i)])&&(c=template.charAt(++i));(f=d3_time_formats[c])&&(c=f(date,null==p?"e"===c?" ":"0":p));string.push(c);j=i+1}string.push(template.slice(j,i));return string.join("")}format.parse=function(string){var d={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null},i=d3_time_parse(d,template,string,0);if(i!=string.length)return null;"p"in d&&(d.H=d.H%12+12*d.p);var localZ=null!=d.Z&&d3_date!==d3_date_utc,date=new(localZ?d3_date_utc:d3_date);if("j"in d)date.setFullYear(d.y,0,d.j);else if("w"in d&&("W"in d||"U"in d)){date.setFullYear(d.y,0,1);date.setFullYear(d.y,0,"W"in d?(d.w+6)%7+7*d.W-(date.getDay()+5)%7:d.w+7*d.U-(date.getDay()+6)%7)}else date.setFullYear(d.y,d.m,d.d);date.setHours(d.H+(d.Z/100|0),d.M+d.Z%100,d.S,d.L);return localZ?date._:date};format.toString=function(){return template};return format}function d3_time_parse(date,template,string,j){var c,p,t,i=0,n=template.length,m=string.length;while(i<n){if(j>=m)return-1;c=template.charCodeAt(i++);if(37===c){t=template.charAt(i++);p=d3_time_parsers[t in d3_time_formatPads?template.charAt(i++):t];if(!p||(j=p(date,string,j))<0)return-1}else if(c!=string.charCodeAt(j++))return-1}return j}d3_time_format.utc=function(template){var local=d3_time_format(template);function format(date){try{d3_date=d3_date_utc;var utc=new d3_date;utc._=date;return local(utc)}finally{d3_date=Date}}format.parse=function(string){try{d3_date=d3_date_utc;var date=local.parse(string);return date&&date._}finally{d3_date=Date}};format.toString=local.toString;return format};d3_time_format.multi=d3_time_format.utc.multi=d3_time_formatMulti;var d3_time_periodLookup=d3.map(),d3_time_dayRe=d3_time_formatRe(locale_days),d3_time_dayLookup=d3_time_formatLookup(locale_days),d3_time_dayAbbrevRe=d3_time_formatRe(locale_shortDays),d3_time_dayAbbrevLookup=d3_time_formatLookup(locale_shortDays),d3_time_monthRe=d3_time_formatRe(locale_months),d3_time_monthLookup=d3_time_formatLookup(locale_months),d3_time_monthAbbrevRe=d3_time_formatRe(locale_shortMonths),d3_time_monthAbbrevLookup=d3_time_formatLookup(locale_shortMonths);locale_periods.forEach(function(p,i){d3_time_periodLookup.set(p.toLowerCase(),i)});var d3_time_formats={a:function(d){return locale_shortDays[d.getDay()]},A:function(d){return locale_days[d.getDay()]},b:function(d){return locale_shortMonths[d.getMonth()]},B:function(d){return locale_months[d.getMonth()]},c:d3_time_format(locale_dateTime),d:function(d,p){return d3_time_formatPad(d.getDate(),p,2)},e:function(d,p){return d3_time_formatPad(d.getDate(),p,2)},H:function(d,p){return d3_time_formatPad(d.getHours(),p,2)},I:function(d,p){return d3_time_formatPad(d.getHours()%12||12,p,2)},j:function(d,p){return d3_time_formatPad(1+d3_time.dayOfYear(d),p,3)},L:function(d,p){return d3_time_formatPad(d.getMilliseconds(),p,3)},m:function(d,p){return d3_time_formatPad(d.getMonth()+1,p,2)},M:function(d,p){return d3_time_formatPad(d.getMinutes(),p,2)},p:function(d){return locale_periods[+(d.getHours()>=12)]},S:function(d,p){return d3_time_formatPad(d.getSeconds(),p,2)},U:function(d,p){return d3_time_formatPad(d3_time.sundayOfYear(d),p,2)},w:function(d){return d.getDay()},W:function(d,p){return d3_time_formatPad(d3_time.mondayOfYear(d),p,2)},x:d3_time_format(locale_date),X:d3_time_format(locale_time),y:function(d,p){return d3_time_formatPad(d.getFullYear()%100,p,2)},Y:function(d,p){return d3_time_formatPad(d.getFullYear()%1e4,p,4)},Z:d3_time_zone,"%":function(){return"%"}};var d3_time_parsers={a:d3_time_parseWeekdayAbbrev,A:d3_time_parseWeekday,b:d3_time_parseMonthAbbrev,B:d3_time_parseMonth,c:d3_time_parseLocaleFull,d:d3_time_parseDay,e:d3_time_parseDay,H:d3_time_parseHour24,I:d3_time_parseHour24,j:d3_time_parseDayOfYear,L:d3_time_parseMilliseconds,m:d3_time_parseMonthNumber,M:d3_time_parseMinutes,p:d3_time_parseAmPm,S:d3_time_parseSeconds,U:d3_time_parseWeekNumberSunday,w:d3_time_parseWeekdayNumber,W:d3_time_parseWeekNumberMonday,x:d3_time_parseLocaleDate,X:d3_time_parseLocaleTime,y:d3_time_parseYear,Y:d3_time_parseFullYear,Z:d3_time_parseZone,"%":d3_time_parseLiteralPercent};function d3_time_parseWeekdayAbbrev(date,string,i){d3_time_dayAbbrevRe.lastIndex=0;var n=d3_time_dayAbbrevRe.exec(string.slice(i));return n?(date.w=d3_time_dayAbbrevLookup.get(n[0].toLowerCase()),i+n[0].length):-1}function d3_time_parseWeekday(date,string,i){d3_time_dayRe.lastIndex=0;var n=d3_time_dayRe.exec(string.slice(i));return n?(date.w=d3_time_dayLookup.get(n[0].toLowerCase()),i+n[0].length):-1}function d3_time_parseMonthAbbrev(date,string,i){d3_time_monthAbbrevRe.lastIndex=0;var n=d3_time_monthAbbrevRe.exec(string.slice(i));return n?(date.m=d3_time_monthAbbrevLookup.get(n[0].toLowerCase()),i+n[0].length):-1}function d3_time_parseMonth(date,string,i){d3_time_monthRe.lastIndex=0;var n=d3_time_monthRe.exec(string.slice(i));return n?(date.m=d3_time_monthLookup.get(n[0].toLowerCase()),i+n[0].length):-1}function d3_time_parseLocaleFull(date,string,i){return d3_time_parse(date,d3_time_formats.c.toString(),string,i)}function d3_time_parseLocaleDate(date,string,i){return d3_time_parse(date,d3_time_formats.x.toString(),string,i)}function d3_time_parseLocaleTime(date,string,i){return d3_time_parse(date,d3_time_formats.X.toString(),string,i)}function d3_time_parseAmPm(date,string,i){var n=d3_time_periodLookup.get(string.slice(i,i+=2).toLowerCase());return null==n?-1:(date.p=n,i)}return d3_time_format}var d3_time_formatPads={"-":"",_:" ",0:"0"},d3_time_numberRe=/^\s*\d+/,d3_time_percentRe=/^%/;function d3_time_formatPad(value,fill,width){var sign=value<0?"-":"",string=(sign?-value:value)+"",length=string.length;return sign+(length<width?new Array(width-length+1).join(fill)+string:string)}function d3_time_formatRe(names){return new RegExp("^(?:"+names.map(d3.requote).join("|")+")","i")}function d3_time_formatLookup(names){var map=new d3_Map,i=-1,n=names.length;while(++i<n)map.set(names[i].toLowerCase(),i);return map}function d3_time_parseWeekdayNumber(date,string,i){d3_time_numberRe.lastIndex=0;var n=d3_time_numberRe.exec(string.slice(i,i+1));return n?(date.w=+n[0],i+n[0].length):-1}function d3_time_parseWeekNumberSunday(date,string,i){d3_time_numberRe.lastIndex=0;var n=d3_time_numberRe.exec(string.slice(i));return n?(date.U=+n[0],i+n[0].length):-1}function d3_time_parseWeekNumberMonday(date,string,i){d3_time_numberRe.lastIndex=0;var n=d3_time_numberRe.exec(string.slice(i));return n?(date.W=+n[0],i+n[0].length):-1}function d3_time_parseFullYear(date,string,i){d3_time_numberRe.lastIndex=0;var n=d3_time_numberRe.exec(string.slice(i,i+4));return n?(date.y=+n[0],i+n[0].length):-1}function d3_time_parseYear(date,string,i){d3_time_numberRe.lastIndex=0;var n=d3_time_numberRe.exec(string.slice(i,i+2));return n?(date.y=d3_time_expandYear(+n[0]),i+n[0].length):-1}function d3_time_parseZone(date,string,i){return/^[+-]\d{4}$/.test(string=string.slice(i,i+5))?(date.Z=-string,i+5):-1}function d3_time_expandYear(d){return d+(d>68?1900:2e3)}function d3_time_parseMonthNumber(date,string,i){d3_time_numberRe.lastIndex=0;var n=d3_time_numberRe.exec(string.slice(i,i+2));return n?(date.m=n[0]-1,i+n[0].length):-1}function d3_time_parseDay(date,string,i){d3_time_numberRe.lastIndex=0;var n=d3_time_numberRe.exec(string.slice(i,i+2));return n?(date.d=+n[0],i+n[0].length):-1}function d3_time_parseDayOfYear(date,string,i){d3_time_numberRe.lastIndex=0;var n=d3_time_numberRe.exec(string.slice(i,i+3));return n?(date.j=+n[0],i+n[0].length):-1}function d3_time_parseHour24(date,string,i){d3_time_numberRe.lastIndex=0;var n=d3_time_numberRe.exec(string.slice(i,i+2));return n?(date.H=+n[0],i+n[0].length):-1}function d3_time_parseMinutes(date,string,i){d3_time_numberRe.lastIndex=0;var n=d3_time_numberRe.exec(string.slice(i,i+2));return n?(date.M=+n[0],i+n[0].length):-1}function d3_time_parseSeconds(date,string,i){d3_time_numberRe.lastIndex=0;var n=d3_time_numberRe.exec(string.slice(i,i+2));return n?(date.S=+n[0],i+n[0].length):-1}function d3_time_parseMilliseconds(date,string,i){d3_time_numberRe.lastIndex=0;var n=d3_time_numberRe.exec(string.slice(i,i+3));return n?(date.L=+n[0],i+n[0].length):-1}function d3_time_zone(d){var z=d.getTimezoneOffset(),zs=z>0?"-":"+",zh=abs(z)/60|0,zm=abs(z)%60;return zs+d3_time_formatPad(zh,"0",2)+d3_time_formatPad(zm,"0",2)}function d3_time_parseLiteralPercent(date,string,i){d3_time_percentRe.lastIndex=0;var n=d3_time_percentRe.exec(string.slice(i,i+1));return n?i+n[0].length:-1}function d3_time_formatMulti(formats){var n=formats.length,i=-1;while(++i<n)formats[i][0]=this(formats[i][0]);return function(date){var i=0,f=formats[i];while(!f[1](date))f=formats[++i];return f[0](date)}}d3.locale=function(locale){return{numberFormat:d3_locale_numberFormat(locale),timeFormat:d3_locale_timeFormat(locale)}};var d3_locale_enUS=d3.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"]});d3.format=d3_locale_enUS.numberFormat;d3.geo={};function d3_adder(){}d3_adder.prototype={s:0,t:0,add:function(y){d3_adderSum(y,this.t,d3_adderTemp);d3_adderSum(d3_adderTemp.s,this.s,this);this.s?this.t+=d3_adderTemp.t:this.s=d3_adderTemp.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var d3_adderTemp=new d3_adder;function d3_adderSum(a,b,o){var x=o.s=a+b,bv=x-a,av=x-bv;o.t=a-av+(b-bv)}d3.geo.stream=function(object,listener){object&&d3_geo_streamObjectType.hasOwnProperty(object.type)?d3_geo_streamObjectType[object.type](object,listener):d3_geo_streamGeometry(object,listener)};function d3_geo_streamGeometry(geometry,listener){geometry&&d3_geo_streamGeometryType.hasOwnProperty(geometry.type)&&d3_geo_streamGeometryType[geometry.type](geometry,listener)}var d3_geo_streamObjectType={Feature:function(feature,listener){d3_geo_streamGeometry(feature.geometry,listener)},FeatureCollection:function(object,listener){var features=object.features,i=-1,n=features.length;while(++i<n)d3_geo_streamGeometry(features[i].geometry,listener)}};var d3_geo_streamGeometryType={Sphere:function(object,listener){listener.sphere()},Point:function(object,listener){object=object.coordinates;listener.point(object[0],object[1],object[2])},MultiPoint:function(object,listener){var coordinates=object.coordinates,i=-1,n=coordinates.length;while(++i<n)object=coordinates[i],listener.point(object[0],object[1],object[2])},LineString:function(object,listener){d3_geo_streamLine(object.coordinates,listener,0)},MultiLineString:function(object,listener){var coordinates=object.coordinates,i=-1,n=coordinates.length;while(++i<n)d3_geo_streamLine(coordinates[i],listener,0)},Polygon:function(object,listener){d3_geo_streamPolygon(object.coordinates,listener)},MultiPolygon:function(object,listener){var coordinates=object.coordinates,i=-1,n=coordinates.length;while(++i<n)d3_geo_streamPolygon(coordinates[i],listener)},GeometryCollection:function(object,listener){var geometries=object.geometries,i=-1,n=geometries.length;while(++i<n)d3_geo_streamGeometry(geometries[i],listener)}};function d3_geo_streamLine(coordinates,listener,closed){var coordinate,i=-1,n=coordinates.length-closed;listener.lineStart();while(++i<n)coordinate=coordinates[i],listener.point(coordinate[0],coordinate[1],coordinate[2]);listener.lineEnd()}function d3_geo_streamPolygon(coordinates,listener){var i=-1,n=coordinates.length;listener.polygonStart();while(++i<n)d3_geo_streamLine(coordinates[i],listener,1);listener.polygonEnd()}d3.geo.area=function(object){d3_geo_areaSum=0;d3.geo.stream(object,d3_geo_area);return d3_geo_areaSum};var d3_geo_areaSum,d3_geo_areaRingSum=new d3_adder;var d3_geo_area={sphere:function(){d3_geo_areaSum+=4*π},point:d3_noop,lineStart:d3_noop,lineEnd:d3_noop,polygonStart:function(){d3_geo_areaRingSum.reset();d3_geo_area.lineStart=d3_geo_areaRingStart},polygonEnd:function(){var area=2*d3_geo_areaRingSum;d3_geo_areaSum+=area<0?4*π+area:area;d3_geo_area.lineStart=d3_geo_area.lineEnd=d3_geo_area.point=d3_noop}};function d3_geo_areaRingStart(){var λ00,φ00,λ0,cosφ0,sinφ0;d3_geo_area.point=function(λ,φ){d3_geo_area.point=nextPoint;λ0=(λ00=λ)*d3_radians,cosφ0=Math.cos(φ=(φ00=φ)*d3_radians/2+π/4),sinφ0=Math.sin(φ)};function nextPoint(λ,φ){λ*=d3_radians;φ=φ*d3_radians/2+π/4;var dλ=λ-λ0,sdλ=dλ>=0?1:-1,adλ=sdλ*dλ,cosφ=Math.cos(φ),sinφ=Math.sin(φ),k=sinφ0*sinφ,u=cosφ0*cosφ+k*Math.cos(adλ),v=k*sdλ*Math.sin(adλ);d3_geo_areaRingSum.add(Math.atan2(v,u));λ0=λ,cosφ0=cosφ,sinφ0=sinφ}d3_geo_area.lineEnd=function(){nextPoint(λ00,φ00)}}function d3_geo_cartesian(spherical){var λ=spherical[0],φ=spherical[1],cosφ=Math.cos(φ);return[cosφ*Math.cos(λ),cosφ*Math.sin(λ),Math.sin(φ)]}function d3_geo_cartesianDot(a,b){return a[0]*b[0]+a[1]*b[1]+a[2]*b[2]}function d3_geo_cartesianCross(a,b){return[a[1]*b[2]-a[2]*b[1],a[2]*b[0]-a[0]*b[2],a[0]*b[1]-a[1]*b[0]]}function d3_geo_cartesianAdd(a,b){a[0]+=b[0];a[1]+=b[1];a[2]+=b[2]}function d3_geo_cartesianScale(vector,k){return[vector[0]*k,vector[1]*k,vector[2]*k]}function d3_geo_cartesianNormalize(d){var l=Math.sqrt(d[0]*d[0]+d[1]*d[1]+d[2]*d[2]);d[0]/=l;d[1]/=l;d[2]/=l}function d3_geo_spherical(cartesian){return[Math.atan2(cartesian[1],cartesian[0]),d3_asin(cartesian[2])]}function d3_geo_sphericalEqual(a,b){return abs(a[0]-b[0])<ε&&abs(a[1]-b[1])<ε}d3.geo.bounds=function(){var λ0,φ0,λ1,φ1,λ_,λ__,φ__,p0,dλSum,ranges,range;var bound={point:point,lineStart:lineStart,lineEnd:lineEnd,polygonStart:function(){bound.point=ringPoint;bound.lineStart=ringStart;bound.lineEnd=ringEnd;dλSum=0;d3_geo_area.polygonStart()},polygonEnd:function(){d3_geo_area.polygonEnd();bound.point=point;bound.lineStart=lineStart;bound.lineEnd=lineEnd;d3_geo_areaRingSum<0?(λ0=-(λ1=180),φ0=-(φ1=90)):dλSum>ε?φ1=90:dλSum<-ε&&(φ0=-90);range[0]=λ0,range[1]=λ1}};function point(λ,φ){ranges.push(range=[λ0=λ,λ1=λ]);φ<φ0&&(φ0=φ);φ>φ1&&(φ1=φ)}function linePoint(λ,φ){var p=d3_geo_cartesian([λ*d3_radians,φ*d3_radians]);if(p0){var normal=d3_geo_cartesianCross(p0,p),equatorial=[normal[1],-normal[0],0],inflection=d3_geo_cartesianCross(equatorial,normal);d3_geo_cartesianNormalize(inflection);inflection=d3_geo_spherical(inflection);var dλ=λ-λ_,s=dλ>0?1:-1,λi=inflection[0]*d3_degrees*s,antimeridian=abs(dλ)>180;if(antimeridian^(s*λ_<λi&&λi<s*λ)){var φi=inflection[1]*d3_degrees;φi>φ1&&(φ1=φi)}else if(λi=(λi+360)%360-180,antimeridian^(s*λ_<λi&&λi<s*λ)){φi=-inflection[1]*d3_degrees;φi<φ0&&(φ0=φi)}else{φ<φ0&&(φ0=φ);φ>φ1&&(φ1=φ)}if(antimeridian)λ<λ_?angle(λ0,λ)>angle(λ0,λ1)&&(λ1=λ):angle(λ,λ1)>angle(λ0,λ1)&&(λ0=λ);else if(λ1>=λ0){λ<λ0&&(λ0=λ);λ>λ1&&(λ1=λ)}else λ>λ_?angle(λ0,λ)>angle(λ0,λ1)&&(λ1=λ):angle(λ,λ1)>angle(λ0,λ1)&&(λ0=λ)}else point(λ,φ);p0=p,λ_=λ}function lineStart(){bound.point=linePoint}function lineEnd(){range[0]=λ0,range[1]=λ1;bound.point=point;p0=null}function ringPoint(λ,φ){if(p0){var dλ=λ-λ_;dλSum+=abs(dλ)>180?dλ+(dλ>0?360:-360):dλ}else λ__=λ,φ__=φ;d3_geo_area.point(λ,φ);linePoint(λ,φ)}function ringStart(){d3_geo_area.lineStart()}function ringEnd(){ringPoint(λ__,φ__);d3_geo_area.lineEnd();abs(dλSum)>ε&&(λ0=-(λ1=180));range[0]=λ0,range[1]=λ1;p0=null}function angle(λ0,λ1){return(λ1-=λ0)<0?λ1+360:λ1}function compareRanges(a,b){return a[0]-b[0]}function withinRange(x,range){return range[0]<=range[1]?range[0]<=x&&x<=range[1]:x<range[0]||range[1]<x}return function(feature){φ1=λ1=-(λ0=φ0=Infinity);ranges=[];d3.geo.stream(feature,bound);var n=ranges.length;if(n){ranges.sort(compareRanges);for(var i=1,a=ranges[0],merged=[a];i<n;++i){b=ranges[i];if(withinRange(b[0],a)||withinRange(b[1],a)){angle(a[0],b[1])>angle(a[0],a[1])&&(a[1]=b[1]);angle(b[0],a[1])>angle(a[0],a[1])&&(a[0]=b[0])}else merged.push(a=b)}var dλ,best=-Infinity;var b;for(n=merged.length-1,i=0,a=merged[n];i<=n;a=b,++i){b=merged[i];(dλ=angle(a[1],b[0]))>best&&(best=dλ,λ0=b[0],λ1=a[1])}}ranges=range=null;return Infinity===λ0||Infinity===φ0?[[NaN,NaN],[NaN,NaN]]:[[λ0,φ0],[λ1,φ1]]}}();d3.geo.centroid=function(object){d3_geo_centroidW0=d3_geo_centroidW1=d3_geo_centroidX0=d3_geo_centroidY0=d3_geo_centroidZ0=d3_geo_centroidX1=d3_geo_centroidY1=d3_geo_centroidZ1=d3_geo_centroidX2=d3_geo_centroidY2=d3_geo_centroidZ2=0;d3.geo.stream(object,d3_geo_centroid);var x=d3_geo_centroidX2,y=d3_geo_centroidY2,z=d3_geo_centroidZ2,m=x*x+y*y+z*z;if(m<ε2){x=d3_geo_centroidX1,y=d3_geo_centroidY1,z=d3_geo_centroidZ1;d3_geo_centroidW1<ε&&(x=d3_geo_centroidX0,y=d3_geo_centroidY0,z=d3_geo_centroidZ0);m=x*x+y*y+z*z;if(m<ε2)return[NaN,NaN]}return[Math.atan2(y,x)*d3_degrees,d3_asin(z/Math.sqrt(m))*d3_degrees]};var d3_geo_centroidW0,d3_geo_centroidW1,d3_geo_centroidX0,d3_geo_centroidY0,d3_geo_centroidZ0,d3_geo_centroidX1,d3_geo_centroidY1,d3_geo_centroidZ1,d3_geo_centroidX2,d3_geo_centroidY2,d3_geo_centroidZ2;var d3_geo_centroid={sphere:d3_noop,point:d3_geo_centroidPoint,lineStart:d3_geo_centroidLineStart,lineEnd:d3_geo_centroidLineEnd,polygonStart:function(){d3_geo_centroid.lineStart=d3_geo_centroidRingStart},polygonEnd:function(){d3_geo_centroid.lineStart=d3_geo_centroidLineStart}};function d3_geo_centroidPoint(λ,φ){λ*=d3_radians;var cosφ=Math.cos(φ*=d3_radians);d3_geo_centroidPointXYZ(cosφ*Math.cos(λ),cosφ*Math.sin(λ),Math.sin(φ))}function d3_geo_centroidPointXYZ(x,y,z){++d3_geo_centroidW0;d3_geo_centroidX0+=(x-d3_geo_centroidX0)/d3_geo_centroidW0;d3_geo_centroidY0+=(y-d3_geo_centroidY0)/d3_geo_centroidW0;d3_geo_centroidZ0+=(z-d3_geo_centroidZ0)/d3_geo_centroidW0}function d3_geo_centroidLineStart(){var x0,y0,z0;d3_geo_centroid.point=function(λ,φ){λ*=d3_radians;var cosφ=Math.cos(φ*=d3_radians);x0=cosφ*Math.cos(λ);y0=cosφ*Math.sin(λ);z0=Math.sin(φ);d3_geo_centroid.point=nextPoint;d3_geo_centroidPointXYZ(x0,y0,z0)};function nextPoint(λ,φ){λ*=d3_radians;var cosφ=Math.cos(φ*=d3_radians),x=cosφ*Math.cos(λ),y=cosφ*Math.sin(λ),z=Math.sin(φ),w=Math.atan2(Math.sqrt((w=y0*z-z0*y)*w+(w=z0*x-x0*z)*w+(w=x0*y-y0*x)*w),x0*x+y0*y+z0*z);d3_geo_centroidW1+=w;d3_geo_centroidX1+=w*(x0+(x0=x));d3_geo_centroidY1+=w*(y0+(y0=y));d3_geo_centroidZ1+=w*(z0+(z0=z));d3_geo_centroidPointXYZ(x0,y0,z0)}}function d3_geo_centroidLineEnd(){d3_geo_centroid.point=d3_geo_centroidPoint}function d3_geo_centroidRingStart(){var λ00,φ00,x0,y0,z0;d3_geo_centroid.point=function(λ,φ){λ00=λ,φ00=φ;d3_geo_centroid.point=nextPoint;λ*=d3_radians;var cosφ=Math.cos(φ*=d3_radians);x0=cosφ*Math.cos(λ);y0=cosφ*Math.sin(λ);z0=Math.sin(φ);d3_geo_centroidPointXYZ(x0,y0,z0)};d3_geo_centroid.lineEnd=function(){nextPoint(λ00,φ00);d3_geo_centroid.lineEnd=d3_geo_centroidLineEnd;d3_geo_centroid.point=d3_geo_centroidPoint};function nextPoint(λ,φ){λ*=d3_radians;var cosφ=Math.cos(φ*=d3_radians),x=cosφ*Math.cos(λ),y=cosφ*Math.sin(λ),z=Math.sin(φ),cx=y0*z-z0*y,cy=z0*x-x0*z,cz=x0*y-y0*x,m=Math.sqrt(cx*cx+cy*cy+cz*cz),u=x0*x+y0*y+z0*z,v=m&&-d3_acos(u)/m,w=Math.atan2(m,u);d3_geo_centroidX2+=v*cx;d3_geo_centroidY2+=v*cy;d3_geo_centroidZ2+=v*cz;d3_geo_centroidW1+=w;d3_geo_centroidX1+=w*(x0+(x0=x));d3_geo_centroidY1+=w*(y0+(y0=y));d3_geo_centroidZ1+=w*(z0+(z0=z));d3_geo_centroidPointXYZ(x0,y0,z0)}}function d3_geo_compose(a,b){function compose(x,y){return x=a(x,y),b(x[0],x[1])}a.invert&&b.invert&&(compose.invert=function(x,y){return x=b.invert(x,y),x&&a.invert(x[0],x[1])});return compose}function d3_true(){return true}function d3_geo_clipPolygon(segments,compare,clipStartInside,interpolate,listener){var subject=[],clip=[];segments.forEach(function(segment){if((n=segment.length-1)<=0)return;var n,p0=segment[0],p1=segment[n];if(d3_geo_sphericalEqual(p0,p1)){listener.lineStart();for(var i=0;i<n;++i)listener.point((p0=segment[i])[0],p0[1]);listener.lineEnd();return}var a=new d3_geo_clipPolygonIntersection(p0,segment,null,true),b=new d3_geo_clipPolygonIntersection(p0,null,a,false);a.o=b;subject.push(a);clip.push(b);a=new d3_geo_clipPolygonIntersection(p1,segment,null,false);b=new d3_geo_clipPolygonIntersection(p1,null,a,true);a.o=b;subject.push(a);clip.push(b)});clip.sort(compare);d3_geo_clipPolygonLinkCircular(subject);d3_geo_clipPolygonLinkCircular(clip);if(!subject.length)return;for(var i=0,entry=clipStartInside,n=clip.length;i<n;++i)clip[i].e=entry=!entry;var points,point,start=subject[0];while(1){var current=start,isSubject=true;while(current.v)if((current=current.n)===start)return;points=current.z;listener.lineStart();do{current.v=current.o.v=true;if(current.e){if(isSubject)for(i=0,n=points.length;i<n;++i)listener.point((point=points[i])[0],point[1]);else interpolate(current.x,current.n.x,1,listener);current=current.n}else{if(isSubject){points=current.p.z;for(i=points.length-1;i>=0;--i)listener.point((point=points[i])[0],point[1])}else interpolate(current.x,current.p.x,-1,listener);current=current.p}current=current.o;points=current.z;isSubject=!isSubject}while(!current.v);listener.lineEnd()}}function d3_geo_clipPolygonLinkCircular(array){if(!(n=array.length))return;var n,b,i=0,a=array[0];while(++i<n){a.n=b=array[i];b.p=a;a=b}a.n=b=array[0];b.p=a}function d3_geo_clipPolygonIntersection(point,points,other,entry){this.x=point;this.z=points;this.o=other;this.e=entry;this.v=false;this.n=this.p=null}function d3_geo_clip(pointVisible,clipLine,interpolate,clipStart){return function(rotate,listener){var line=clipLine(listener),rotatedClipStart=rotate.invert(clipStart[0],clipStart[1]);var clip={point:point,lineStart:lineStart,lineEnd:lineEnd,polygonStart:function(){clip.point=pointRing;clip.lineStart=ringStart;clip.lineEnd=ringEnd;segments=[];polygon=[]},polygonEnd:function(){clip.point=point;clip.lineStart=lineStart;clip.lineEnd=lineEnd;segments=d3.merge(segments);var clipStartInside=d3_geo_pointInPolygon(rotatedClipStart,polygon);if(segments.length){polygonStarted||(listener.polygonStart(),polygonStarted=true);d3_geo_clipPolygon(segments,d3_geo_clipSort,clipStartInside,interpolate,listener)}else if(clipStartInside){polygonStarted||(listener.polygonStart(),polygonStarted=true);listener.lineStart();interpolate(null,null,1,listener);listener.lineEnd()}polygonStarted&&(listener.polygonEnd(),polygonStarted=false);segments=polygon=null},sphere:function(){listener.polygonStart();listener.lineStart();interpolate(null,null,1,listener);listener.lineEnd();listener.polygonEnd()}};function point(λ,φ){var point=rotate(λ,φ);pointVisible(λ=point[0],φ=point[1])&&listener.point(λ,φ)}function pointLine(λ,φ){var point=rotate(λ,φ);line.point(point[0],point[1])}function lineStart(){clip.point=pointLine;line.lineStart()}function lineEnd(){clip.point=point;line.lineEnd()}var segments;var polygon,ring,buffer=d3_geo_clipBufferListener(),ringListener=clipLine(buffer),polygonStarted=false;function pointRing(λ,φ){ring.push([λ,φ]);var point=rotate(λ,φ);ringListener.point(point[0],point[1])}function ringStart(){ringListener.lineStart();ring=[]}function ringEnd(){pointRing(ring[0][0],ring[0][1]);ringListener.lineEnd();var segment,clean=ringListener.clean(),ringSegments=buffer.buffer(),n=ringSegments.length;ring.pop();polygon.push(ring);ring=null;if(!n)return;if(1&clean){segment=ringSegments[0];n=segment.length-1;var point,i=-1;if(n>0){polygonStarted||(listener.polygonStart(),polygonStarted=true);listener.lineStart();while(++i<n)listener.point((point=segment[i])[0],point[1]);listener.lineEnd()}return}n>1&&2&clean&&ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));segments.push(ringSegments.filter(d3_geo_clipSegmentLength1))}return clip}}function d3_geo_clipSegmentLength1(segment){return segment.length>1}function d3_geo_clipBufferListener(){var line,lines=[];return{lineStart:function(){lines.push(line=[])},point:function(λ,φ){line.push([λ,φ])},lineEnd:d3_noop,buffer:function(){var buffer=lines;lines=[];line=null;return buffer},rejoin:function(){lines.length>1&&lines.push(lines.pop().concat(lines.shift()))}}}function d3_geo_clipSort(a,b){return((a=a.x)[0]<0?a[1]-halfπ-ε:halfπ-a[1])-((b=b.x)[0]<0?b[1]-halfπ-ε:halfπ-b[1])}var d3_geo_clipAntimeridian=d3_geo_clip(d3_true,d3_geo_clipAntimeridianLine,d3_geo_clipAntimeridianInterpolate,[-π,-π/2]);function d3_geo_clipAntimeridianLine(listener){var clean,λ0=NaN,φ0=NaN,sλ0=NaN;return{lineStart:function(){listener.lineStart();clean=1},point:function(λ1,φ1){var sλ1=λ1>0?π:-π,dλ=abs(λ1-λ0);if(abs(dλ-π)<ε){listener.point(λ0,φ0=(φ0+φ1)/2>0?halfπ:-halfπ);listener.point(sλ0,φ0);listener.lineEnd();listener.lineStart();listener.point(sλ1,φ0);listener.point(λ1,φ0);clean=0}else if(sλ0!==sλ1&&dλ>=π){abs(λ0-sλ0)<ε&&(λ0-=sλ0*ε);abs(λ1-sλ1)<ε&&(λ1-=sλ1*ε);φ0=d3_geo_clipAntimeridianIntersect(λ0,φ0,λ1,φ1);listener.point(sλ0,φ0);listener.lineEnd();listener.lineStart();listener.point(sλ1,φ0);clean=0}listener.point(λ0=λ1,φ0=φ1);sλ0=sλ1},lineEnd:function(){listener.lineEnd();λ0=φ0=NaN},clean:function(){return 2-clean}}}function d3_geo_clipAntimeridianIntersect(λ0,φ0,λ1,φ1){var cosφ0,cosφ1,sinλ0_λ1=Math.sin(λ0-λ1);return abs(sinλ0_λ1)>ε?Math.atan((Math.sin(φ0)*(cosφ1=Math.cos(φ1))*Math.sin(λ1)-Math.sin(φ1)*(cosφ0=Math.cos(φ0))*Math.sin(λ0))/(cosφ0*cosφ1*sinλ0_λ1)):(φ0+φ1)/2}function d3_geo_clipAntimeridianInterpolate(from,to,direction,listener){var φ;if(null==from){φ=direction*halfπ;listener.point(-π,φ);listener.point(0,φ);listener.point(π,φ);listener.point(π,0);listener.point(π,-φ);listener.point(0,-φ);listener.point(-π,-φ);listener.point(-π,0);listener.point(-π,φ)}else if(abs(from[0]-to[0])>ε){var s=from[0]<to[0]?π:-π;φ=direction*s/2;listener.point(-s,φ);listener.point(0,φ);listener.point(s,φ)}else listener.point(to[0],to[1])}function d3_geo_pointInPolygon(point,polygon){var meridian=point[0],parallel=point[1],meridianNormal=[Math.sin(meridian),-Math.cos(meridian),0],polarAngle=0,winding=0;d3_geo_areaRingSum.reset();for(var i=0,n=polygon.length;i<n;++i){var ring=polygon[i],m=ring.length;if(!m)continue;var point0=ring[0],λ0=point0[0],φ0=point0[1]/2+π/4,sinφ0=Math.sin(φ0),cosφ0=Math.cos(φ0),j=1;while(true){j===m&&(j=0);point=ring[j];var λ=point[0],φ=point[1]/2+π/4,sinφ=Math.sin(φ),cosφ=Math.cos(φ),dλ=λ-λ0,sdλ=dλ>=0?1:-1,adλ=sdλ*dλ,antimeridian=adλ>π,k=sinφ0*sinφ;d3_geo_areaRingSum.add(Math.atan2(k*sdλ*Math.sin(adλ),cosφ0*cosφ+k*Math.cos(adλ)));polarAngle+=antimeridian?dλ+sdλ*τ:dλ;if(antimeridian^λ0>=meridian^λ>=meridian){var arc=d3_geo_cartesianCross(d3_geo_cartesian(point0),d3_geo_cartesian(point));d3_geo_cartesianNormalize(arc);var intersection=d3_geo_cartesianCross(meridianNormal,arc);d3_geo_cartesianNormalize(intersection);var φarc=(antimeridian^dλ>=0?-1:1)*d3_asin(intersection[2]);(parallel>φarc||parallel===φarc&&(arc[0]||arc[1]))&&(winding+=antimeridian^dλ>=0?1:-1)}if(!j++)break;λ0=λ,sinφ0=sinφ,cosφ0=cosφ,point0=point}}return(polarAngle<-ε||polarAngle<ε&&d3_geo_areaRingSum<0)^1&winding}function d3_geo_clipCircle(radius){var cr=Math.cos(radius),smallRadius=cr>0,notHemisphere=abs(cr)>ε,interpolate=d3_geo_circleInterpolate(radius,6*d3_radians);return d3_geo_clip(visible,clipLine,interpolate,smallRadius?[0,-radius]:[-π,radius-π]);function visible(λ,φ){return Math.cos(λ)*Math.cos(φ)>cr}function clipLine(listener){var point0,c0,v0,v00,clean;return{lineStart:function(){v00=v0=false;clean=1},point:function(λ,φ){var point2,point1=[λ,φ],v=visible(λ,φ),c=smallRadius?v?0:code(λ,φ):v?code(λ+(λ<0?π:-π),φ):0;!point0&&(v00=v0=v)&&listener.lineStart();if(v!==v0){point2=intersect(point0,point1);if(d3_geo_sphericalEqual(point0,point2)||d3_geo_sphericalEqual(point1,point2)){point1[0]+=ε;point1[1]+=ε;v=visible(point1[0],point1[1])}}if(v!==v0){clean=0;if(v){listener.lineStart();point2=intersect(point1,point0);listener.point(point2[0],point2[1])}else{point2=intersect(point0,point1);listener.point(point2[0],point2[1]);listener.lineEnd()}point0=point2}else if(notHemisphere&&point0&&smallRadius^v){var t;if(!(c&c0)&&(t=intersect(point1,point0,true))){clean=0;if(smallRadius){listener.lineStart();listener.point(t[0][0],t[0][1]);listener.point(t[1][0],t[1][1]);listener.lineEnd()}else{listener.point(t[1][0],t[1][1]);listener.lineEnd();listener.lineStart();listener.point(t[0][0],t[0][1])}}}!v||point0&&d3_geo_sphericalEqual(point0,point1)||listener.point(point1[0],point1[1]);point0=point1,v0=v,c0=c},lineEnd:function(){v0&&listener.lineEnd();point0=null},clean:function(){return clean|(v00&&v0)<<1}}}function intersect(a,b,two){var pa=d3_geo_cartesian(a),pb=d3_geo_cartesian(b);var n1=[1,0,0],n2=d3_geo_cartesianCross(pa,pb),n2n2=d3_geo_cartesianDot(n2,n2),n1n2=n2[0],determinant=n2n2-n1n2*n1n2;if(!determinant)return!two&&a;var c1=cr*n2n2/determinant,c2=-cr*n1n2/determinant,n1xn2=d3_geo_cartesianCross(n1,n2),A=d3_geo_cartesianScale(n1,c1),B=d3_geo_cartesianScale(n2,c2);d3_geo_cartesianAdd(A,B);var u=n1xn2,w=d3_geo_cartesianDot(A,u),uu=d3_geo_cartesianDot(u,u),t2=w*w-uu*(d3_geo_cartesianDot(A,A)-1);if(t2<0)return;var t=Math.sqrt(t2),q=d3_geo_cartesianScale(u,(-w-t)/uu);d3_geo_cartesianAdd(q,A);q=d3_geo_spherical(q);if(!two)return q;var z,λ0=a[0],λ1=b[0],φ0=a[1],φ1=b[1];λ1<λ0&&(z=λ0,λ0=λ1,λ1=z);var δλ=λ1-λ0,polar=abs(δλ-π)<ε,meridian=polar||δλ<ε;!polar&&φ1<φ0&&(z=φ0,φ0=φ1,φ1=z);if(meridian?polar?φ0+φ1>0^q[1]<(abs(q[0]-λ0)<ε?φ0:φ1):φ0<=q[1]&&q[1]<=φ1:δλ>π^(λ0<=q[0]&&q[0]<=λ1)){var q1=d3_geo_cartesianScale(u,(-w+t)/uu);d3_geo_cartesianAdd(q1,A);return[q,d3_geo_spherical(q1)]}}function code(λ,φ){var r=smallRadius?radius:π-radius,code=0;λ<-r?code|=1:λ>r&&(code|=2);φ<-r?code|=4:φ>r&&(code|=8);return code}}function d3_geom_clipLine(x0,y0,x1,y1){return function(line){var r,a=line.a,b=line.b,ax=a.x,ay=a.y,bx=b.x,by=b.y,t0=0,t1=1,dx=bx-ax,dy=by-ay;r=x0-ax;if(!dx&&r>0)return;r/=dx;if(dx<0){if(r<t0)return;r<t1&&(t1=r)}else if(dx>0){if(r>t1)return;r>t0&&(t0=r)}r=x1-ax;if(!dx&&r<0)return;r/=dx;if(dx<0){if(r>t1)return;r>t0&&(t0=r)}else if(dx>0){if(r<t0)return;r<t1&&(t1=r)}r=y0-ay;if(!dy&&r>0)return;r/=dy;if(dy<0){if(r<t0)return;r<t1&&(t1=r)}else if(dy>0){if(r>t1)return;r>t0&&(t0=r)}r=y1-ay;if(!dy&&r<0)return;r/=dy;if(dy<0){if(r>t1)return;r>t0&&(t0=r)}else if(dy>0){if(r<t0)return;r<t1&&(t1=r)}t0>0&&(line.a={x:ax+t0*dx,y:ay+t0*dy});t1<1&&(line.b={x:ax+t1*dx,y:ay+t1*dy});return line}}var d3_geo_clipExtentMAX=1e9;d3.geo.clipExtent=function(){var x0,y0,x1,y1,stream,clip,clipExtent={stream:function(output){stream&&(stream.valid=false);stream=clip(output);stream.valid=true;return stream},extent:function(_){if(!arguments.length)return[[x0,y0],[x1,y1]];clip=d3_geo_clipExtent(x0=+_[0][0],y0=+_[0][1],x1=+_[1][0],y1=+_[1][1]);stream&&(stream.valid=false,stream=null);return clipExtent}};return clipExtent.extent([[0,0],[960,500]])};function d3_geo_clipExtent(x0,y0,x1,y1){return function(listener){var segments,polygon,ring,listener_=listener,bufferListener=d3_geo_clipBufferListener(),clipLine=d3_geom_clipLine(x0,y0,x1,y1);var clip={point:point,lineStart:lineStart,lineEnd:lineEnd,polygonStart:function(){listener=bufferListener;segments=[];polygon=[];clean=true},polygonEnd:function(){listener=listener_;segments=d3.merge(segments);var clipStartInside=insidePolygon([x0,y1]),inside=clean&&clipStartInside,visible=segments.length;if(inside||visible){listener.polygonStart();if(inside){listener.lineStart();interpolate(null,null,1,listener);listener.lineEnd()}visible&&d3_geo_clipPolygon(segments,compare,clipStartInside,interpolate,listener);listener.polygonEnd()}segments=polygon=ring=null}};function insidePolygon(p){var wn=0,n=polygon.length,y=p[1];for(var i=0;i<n;++i)for(var b,j=1,v=polygon[i],m=v.length,a=v[0];j<m;++j){b=v[j];a[1]<=y?b[1]>y&&d3_cross2d(a,b,p)>0&&++wn:b[1]<=y&&d3_cross2d(a,b,p)<0&&--wn;a=b}return 0!==wn}function interpolate(from,to,direction,listener){var a=0,a1=0;if(null==from||(a=corner(from,direction))!==(a1=corner(to,direction))||comparePoints(from,to)<0^direction>0)do{listener.point(0===a||3===a?x0:x1,a>1?y1:y0)}while((a=(a+direction+4)%4)!==a1);else listener.point(to[0],to[1])}function pointVisible(x,y){return x0<=x&&x<=x1&&y0<=y&&y<=y1}function point(x,y){pointVisible(x,y)&&listener.point(x,y)}var x__,y__,v__,x_,y_,v_,first,clean;function lineStart(){clip.point=linePoint;polygon&&polygon.push(ring=[]);first=true;v_=false;x_=y_=NaN}function lineEnd(){if(segments){linePoint(x__,y__);v__&&v_&&bufferListener.rejoin();segments.push(bufferListener.buffer())}clip.point=point;v_&&listener.lineEnd()}function linePoint(x,y){x=Math.max(-d3_geo_clipExtentMAX,Math.min(d3_geo_clipExtentMAX,x));y=Math.max(-d3_geo_clipExtentMAX,Math.min(d3_geo_clipExtentMAX,y));var v=pointVisible(x,y);polygon&&ring.push([x,y]);if(first){x__=x,y__=y,v__=v;first=false;if(v){listener.lineStart();listener.point(x,y)}}else if(v&&v_)listener.point(x,y);else{var l={a:{x:x_,y:y_},b:{x:x,y:y}};if(clipLine(l)){if(!v_){listener.lineStart();listener.point(l.a.x,l.a.y)}listener.point(l.b.x,l.b.y);v||listener.lineEnd();clean=false}else if(v){listener.lineStart();listener.point(x,y);clean=false}}x_=x,y_=y,v_=v}return clip};function corner(p,direction){return abs(p[0]-x0)<ε?direction>0?0:3:abs(p[0]-x1)<ε?direction>0?2:1:abs(p[1]-y0)<ε?direction>0?1:0:direction>0?3:2}function compare(a,b){return comparePoints(a.x,b.x)}function comparePoints(a,b){var ca=corner(a,1),cb=corner(b,1);return ca!==cb?ca-cb:0===ca?b[1]-a[1]:1===ca?a[0]-b[0]:2===ca?a[1]-b[1]:b[0]-a[0]}}function d3_geo_conic(projectAt){var φ0=0,φ1=π/3,m=d3_geo_projectionMutator(projectAt),p=m(φ0,φ1);p.parallels=function(_){if(!arguments.length)return[φ0/π*180,φ1/π*180];return m(φ0=_[0]*π/180,φ1=_[1]*π/180)};return p}function d3_geo_conicEqualArea(φ0,φ1){var sinφ0=Math.sin(φ0),n=(sinφ0+Math.sin(φ1))/2,C=1+sinφ0*(2*n-sinφ0),ρ0=Math.sqrt(C)/n;function forward(λ,φ){var ρ=Math.sqrt(C-2*n*Math.sin(φ))/n;return[ρ*Math.sin(λ*=n),ρ0-ρ*Math.cos(λ)]}forward.invert=function(x,y){var ρ0_y=ρ0-y;return[Math.atan2(x,ρ0_y)/n,d3_asin((C-(x*x+ρ0_y*ρ0_y)*n*n)/(2*n))]};return forward}(d3.geo.conicEqualArea=function(){return d3_geo_conic(d3_geo_conicEqualArea)}).raw=d3_geo_conicEqualArea;d3.geo.albers=function(){return d3.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)};d3.geo.albersUsa=function(){var lower48=d3.geo.albers();var alaska=d3.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]);var hawaii=d3.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]);var point,lower48Point,alaskaPoint,hawaiiPoint,pointStream={point:function(x,y){point=[x,y]}};function albersUsa(coordinates){var x=coordinates[0],y=coordinates[1];point=null;(lower48Point(x,y),point)||(alaskaPoint(x,y),point)||hawaiiPoint(x,y);return point}albersUsa.invert=function(coordinates){var k=lower48.scale(),t=lower48.translate(),x=(coordinates[0]-t[0])/k,y=(coordinates[1]-t[1])/k;return(y>=.12&&y<.234&&x>=-.425&&x<-.214?alaska:y>=.166&&y<.234&&x>=-.214&&x<-.115?hawaii:lower48).invert(coordinates)};albersUsa.stream=function(stream){var lower48Stream=lower48.stream(stream),alaskaStream=alaska.stream(stream),hawaiiStream=hawaii.stream(stream);return{point:function(x,y){lower48Stream.point(x,y);alaskaStream.point(x,y);hawaiiStream.point(x,y)},sphere:function(){lower48Stream.sphere();alaskaStream.sphere();hawaiiStream.sphere()},lineStart:function(){lower48Stream.lineStart();alaskaStream.lineStart();hawaiiStream.lineStart()},lineEnd:function(){lower48Stream.lineEnd();alaskaStream.lineEnd();hawaiiStream.lineEnd()},polygonStart:function(){lower48Stream.polygonStart();alaskaStream.polygonStart();hawaiiStream.polygonStart()},polygonEnd:function(){lower48Stream.polygonEnd();alaskaStream.polygonEnd();hawaiiStream.polygonEnd()}}};albersUsa.precision=function(_){if(!arguments.length)return lower48.precision();lower48.precision(_);alaska.precision(_);hawaii.precision(_);return albersUsa};albersUsa.scale=function(_){if(!arguments.length)return lower48.scale();lower48.scale(_);alaska.scale(.35*_);hawaii.scale(_);return albersUsa.translate(lower48.translate())};albersUsa.translate=function(_){if(!arguments.length)return lower48.translate();var k=lower48.scale(),x=+_[0],y=+_[1];lower48Point=lower48.translate(_).clipExtent([[x-.455*k,y-.238*k],[x+.455*k,y+.238*k]]).stream(pointStream).point;alaskaPoint=alaska.translate([x-.307*k,y+.201*k]).clipExtent([[x-.425*k+ε,y+.12*k+ε],[x-.214*k-ε,y+.234*k-ε]]).stream(pointStream).point;hawaiiPoint=hawaii.translate([x-.205*k,y+.212*k]).clipExtent([[x-.214*k+ε,y+.166*k+ε],[x-.115*k-ε,y+.234*k-ε]]).stream(pointStream).point;return albersUsa};return albersUsa.scale(1070)};var d3_geo_pathAreaSum,d3_geo_pathAreaPolygon,d3_geo_pathArea={point:d3_noop,lineStart:d3_noop,lineEnd:d3_noop,polygonStart:function(){d3_geo_pathAreaPolygon=0;d3_geo_pathArea.lineStart=d3_geo_pathAreaRingStart},polygonEnd:function(){d3_geo_pathArea.lineStart=d3_geo_pathArea.lineEnd=d3_geo_pathArea.point=d3_noop;d3_geo_pathAreaSum+=abs(d3_geo_pathAreaPolygon/2)}};function d3_geo_pathAreaRingStart(){var x00,y00,x0,y0;d3_geo_pathArea.point=function(x,y){d3_geo_pathArea.point=nextPoint;x00=x0=x,y00=y0=y};function nextPoint(x,y){d3_geo_pathAreaPolygon+=y0*x-x0*y;x0=x,y0=y}d3_geo_pathArea.lineEnd=function(){nextPoint(x00,y00)}}var d3_geo_pathBoundsX0,d3_geo_pathBoundsY0,d3_geo_pathBoundsX1,d3_geo_pathBoundsY1;var d3_geo_pathBounds={point:d3_geo_pathBoundsPoint,lineStart:d3_noop,lineEnd:d3_noop,polygonStart:d3_noop,polygonEnd:d3_noop};function d3_geo_pathBoundsPoint(x,y){x<d3_geo_pathBoundsX0&&(d3_geo_pathBoundsX0=x);x>d3_geo_pathBoundsX1&&(d3_geo_pathBoundsX1=x);y<d3_geo_pathBoundsY0&&(d3_geo_pathBoundsY0=y);y>d3_geo_pathBoundsY1&&(d3_geo_pathBoundsY1=y)}function d3_geo_pathBuffer(){var pointCircle=d3_geo_pathBufferCircle(4.5),buffer=[];var stream={point:point,lineStart:function(){stream.point=pointLineStart},lineEnd:lineEnd,polygonStart:function(){stream.lineEnd=lineEndPolygon},polygonEnd:function(){stream.lineEnd=lineEnd;stream.point=point},pointRadius:function(_){pointCircle=d3_geo_pathBufferCircle(_);return stream},result:function(){if(buffer.length){var result=buffer.join("");buffer=[];return result}}};function point(x,y){buffer.push("M",x,",",y,pointCircle)}function pointLineStart(x,y){buffer.push("M",x,",",y);stream.point=pointLine}function pointLine(x,y){buffer.push("L",x,",",y)}function lineEnd(){stream.point=point}function lineEndPolygon(){buffer.push("Z")}return stream}function d3_geo_pathBufferCircle(radius){return"m0,"+radius+"a"+radius+","+radius+" 0 1,1 0,"+-2*radius+"a"+radius+","+radius+" 0 1,1 0,"+2*radius+"z"}var d3_geo_pathCentroid={point:d3_geo_pathCentroidPoint,lineStart:d3_geo_pathCentroidLineStart,lineEnd:d3_geo_pathCentroidLineEnd,polygonStart:function(){d3_geo_pathCentroid.lineStart=d3_geo_pathCentroidRingStart},polygonEnd:function(){d3_geo_pathCentroid.point=d3_geo_pathCentroidPoint;d3_geo_pathCentroid.lineStart=d3_geo_pathCentroidLineStart;d3_geo_pathCentroid.lineEnd=d3_geo_pathCentroidLineEnd}};function d3_geo_pathCentroidPoint(x,y){d3_geo_centroidX0+=x;d3_geo_centroidY0+=y;++d3_geo_centroidZ0}function d3_geo_pathCentroidLineStart(){var x0,y0;d3_geo_pathCentroid.point=function(x,y){d3_geo_pathCentroid.point=nextPoint;d3_geo_pathCentroidPoint(x0=x,y0=y)};function nextPoint(x,y){var dx=x-x0,dy=y-y0,z=Math.sqrt(dx*dx+dy*dy);d3_geo_centroidX1+=z*(x0+x)/2;d3_geo_centroidY1+=z*(y0+y)/2;d3_geo_centroidZ1+=z;d3_geo_pathCentroidPoint(x0=x,y0=y)}}function d3_geo_pathCentroidLineEnd(){d3_geo_pathCentroid.point=d3_geo_pathCentroidPoint}function d3_geo_pathCentroidRingStart(){var x00,y00,x0,y0;d3_geo_pathCentroid.point=function(x,y){d3_geo_pathCentroid.point=nextPoint;d3_geo_pathCentroidPoint(x00=x0=x,y00=y0=y)};function nextPoint(x,y){var dx=x-x0,dy=y-y0,z=Math.sqrt(dx*dx+dy*dy);d3_geo_centroidX1+=z*(x0+x)/2;d3_geo_centroidY1+=z*(y0+y)/2;d3_geo_centroidZ1+=z;z=y0*x-x0*y;d3_geo_centroidX2+=z*(x0+x);d3_geo_centroidY2+=z*(y0+y);d3_geo_centroidZ2+=3*z;d3_geo_pathCentroidPoint(x0=x,y0=y)}d3_geo_pathCentroid.lineEnd=function(){nextPoint(x00,y00)}}function d3_geo_pathContext(context){var pointRadius=4.5;var stream={point:point,lineStart:function(){stream.point=pointLineStart},lineEnd:lineEnd,polygonStart:function(){stream.lineEnd=lineEndPolygon},polygonEnd:function(){stream.lineEnd=lineEnd;stream.point=point},pointRadius:function(_){pointRadius=_;return stream},result:d3_noop};function point(x,y){context.moveTo(x+pointRadius,y);context.arc(x,y,pointRadius,0,τ)}function pointLineStart(x,y){context.moveTo(x,y);stream.point=pointLine}function pointLine(x,y){context.lineTo(x,y)}function lineEnd(){stream.point=point}function lineEndPolygon(){context.closePath()}return stream}function d3_geo_resample(project){var δ2=.5,cosMinDistance=Math.cos(30*d3_radians),maxDepth=16;function resample(stream){return(maxDepth?resampleRecursive:resampleNone)(stream)}function resampleNone(stream){return d3_geo_transformPoint(stream,function(x,y){x=project(x,y);stream.point(x[0],x[1])})}function resampleRecursive(stream){var λ00,x00,y00,a00,b00,c00,λ0,x0,y0,a0,b0,c0;var resample={point:point,lineStart:lineStart,lineEnd:lineEnd,polygonStart:function(){stream.polygonStart();resample.lineStart=ringStart},polygonEnd:function(){stream.polygonEnd();resample.lineStart=lineStart}};function point(x,y){x=project(x,y);stream.point(x[0],x[1])}function lineStart(){x0=NaN;resample.point=linePoint;stream.lineStart()}function linePoint(λ,φ){var c=d3_geo_cartesian([λ,φ]),p=project(λ,φ);resampleLineTo(x0,y0,λ0,a0,b0,c0,x0=p[0],y0=p[1],λ0=λ,a0=c[0],b0=c[1],c0=c[2],maxDepth,stream);stream.point(x0,y0)}function lineEnd(){resample.point=point;stream.lineEnd()}function ringStart(){lineStart();resample.point=ringPoint;resample.lineEnd=ringEnd}function ringPoint(λ,φ){linePoint(λ00=λ,φ),x00=x0,y00=y0,a00=a0,b00=b0,c00=c0;resample.point=linePoint}function ringEnd(){resampleLineTo(x0,y0,λ0,a0,b0,c0,x00,y00,λ00,a00,b00,c00,maxDepth,stream);resample.lineEnd=lineEnd;lineEnd()}return resample}function resampleLineTo(x0,y0,λ0,a0,b0,c0,x1,y1,λ1,a1,b1,c1,depth,stream){var dx=x1-x0,dy=y1-y0,d2=dx*dx+dy*dy;if(d2>4*δ2&&depth--){var a=a0+a1,b=b0+b1,c=c0+c1,m=Math.sqrt(a*a+b*b+c*c),φ2=Math.asin(c/=m),λ2=abs(abs(c)-1)<ε||abs(λ0-λ1)<ε?(λ0+λ1)/2:Math.atan2(b,a),p=project(λ2,φ2),x2=p[0],y2=p[1],dx2=x2-x0,dy2=y2-y0,dz=dy*dx2-dx*dy2;if(dz*dz/d2>δ2||abs((dx*dx2+dy*dy2)/d2-.5)>.3||a0*a1+b0*b1+c0*c1<cosMinDistance){resampleLineTo(x0,y0,λ0,a0,b0,c0,x2,y2,λ2,a/=m,b/=m,c,depth,stream);stream.point(x2,y2);resampleLineTo(x2,y2,λ2,a,b,c,x1,y1,λ1,a1,b1,c1,depth,stream)}}}resample.precision=function(_){if(!arguments.length)return Math.sqrt(δ2);maxDepth=(δ2=_*_)>0&&16;return resample};return resample}d3.geo.path=function(){var projection,context,projectStream,contextStream,cacheStream,pointRadius=4.5;function path(object){if(object){"function"===typeof pointRadius&&contextStream.pointRadius(+pointRadius.apply(this,arguments));cacheStream&&cacheStream.valid||(cacheStream=projectStream(contextStream));d3.geo.stream(object,cacheStream)}return contextStream.result()}path.area=function(object){d3_geo_pathAreaSum=0;d3.geo.stream(object,projectStream(d3_geo_pathArea));return d3_geo_pathAreaSum};path.centroid=function(object){d3_geo_centroidX0=d3_geo_centroidY0=d3_geo_centroidZ0=d3_geo_centroidX1=d3_geo_centroidY1=d3_geo_centroidZ1=d3_geo_centroidX2=d3_geo_centroidY2=d3_geo_centroidZ2=0;d3.geo.stream(object,projectStream(d3_geo_pathCentroid));return d3_geo_centroidZ2?[d3_geo_centroidX2/d3_geo_centroidZ2,d3_geo_centroidY2/d3_geo_centroidZ2]:d3_geo_centroidZ1?[d3_geo_centroidX1/d3_geo_centroidZ1,d3_geo_centroidY1/d3_geo_centroidZ1]:d3_geo_centroidZ0?[d3_geo_centroidX0/d3_geo_centroidZ0,d3_geo_centroidY0/d3_geo_centroidZ0]:[NaN,NaN]};path.bounds=function(object){d3_geo_pathBoundsX1=d3_geo_pathBoundsY1=-(d3_geo_pathBoundsX0=d3_geo_pathBoundsY0=Infinity);d3.geo.stream(object,projectStream(d3_geo_pathBounds));return[[d3_geo_pathBoundsX0,d3_geo_pathBoundsY0],[d3_geo_pathBoundsX1,d3_geo_pathBoundsY1]]};path.projection=function(_){if(!arguments.length)return projection;projectStream=(projection=_)?_.stream||d3_geo_pathProjectStream(_):d3_identity;return reset()};path.context=function(_){if(!arguments.length)return context;contextStream=null==(context=_)?new d3_geo_pathBuffer:new d3_geo_pathContext(_);"function"!==typeof pointRadius&&contextStream.pointRadius(pointRadius);return reset()};path.pointRadius=function(_){if(!arguments.length)return pointRadius;pointRadius="function"===typeof _?_:(contextStream.pointRadius(+_),+_);return path};function reset(){cacheStream=null;return path}return path.projection(d3.geo.albersUsa()).context(null)};function d3_geo_pathProjectStream(project){var resample=d3_geo_resample(function(x,y){return project([x*d3_degrees,y*d3_degrees])});return function(stream){return d3_geo_projectionRadians(resample(stream))}}d3.geo.transform=function(methods){return{stream:function(stream){var transform=new d3_geo_transform(stream);for(var k in methods)transform[k]=methods[k];return transform}}};function d3_geo_transform(stream){this.stream=stream}d3_geo_transform.prototype={point:function(x,y){this.stream.point(x,y)},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()}};function d3_geo_transformPoint(stream,point){return{point:point,sphere:function(){stream.sphere()},lineStart:function(){stream.lineStart()},lineEnd:function(){stream.lineEnd()},polygonStart:function(){stream.polygonStart()},polygonEnd:function(){stream.polygonEnd()}}}d3.geo.projection=d3_geo_projection;d3.geo.projectionMutator=d3_geo_projectionMutator;function d3_geo_projection(project){return d3_geo_projectionMutator(function(){return project})()}function d3_geo_projectionMutator(projectAt){var project,rotate,projectRotate,δx,δy,stream,projectResample=d3_geo_resample(function(x,y){x=project(x,y);return[x[0]*k+δx,δy-x[1]*k]}),k=150,x=480,y=250,λ=0,φ=0,δλ=0,δφ=0,δγ=0,preclip=d3_geo_clipAntimeridian,postclip=d3_identity,clipAngle=null,clipExtent=null;function projection(point){point=projectRotate(point[0]*d3_radians,point[1]*d3_radians);return[point[0]*k+δx,δy-point[1]*k]}function invert(point){point=projectRotate.invert((point[0]-δx)/k,(δy-point[1])/k);return point&&[point[0]*d3_degrees,point[1]*d3_degrees]}projection.stream=function(output){stream&&(stream.valid=false);stream=d3_geo_projectionRadians(preclip(rotate,projectResample(postclip(output))));stream.valid=true;return stream};projection.clipAngle=function(_){if(!arguments.length)return clipAngle;preclip=null==_?(clipAngle=_,d3_geo_clipAntimeridian):d3_geo_clipCircle((clipAngle=+_)*d3_radians);return invalidate()};projection.clipExtent=function(_){if(!arguments.length)return clipExtent;clipExtent=_;postclip=_?d3_geo_clipExtent(_[0][0],_[0][1],_[1][0],_[1][1]):d3_identity;return invalidate()};projection.scale=function(_){if(!arguments.length)return k;k=+_;return reset()};projection.translate=function(_){if(!arguments.length)return[x,y];x=+_[0];y=+_[1];return reset()};projection.center=function(_){if(!arguments.length)return[λ*d3_degrees,φ*d3_degrees];λ=_[0]%360*d3_radians;φ=_[1]%360*d3_radians;return reset()};projection.rotate=function(_){if(!arguments.length)return[δλ*d3_degrees,δφ*d3_degrees,δγ*d3_degrees];δλ=_[0]%360*d3_radians;δφ=_[1]%360*d3_radians;δγ=_.length>2?_[2]%360*d3_radians:0;return reset()};d3.rebind(projection,projectResample,"precision");function reset(){projectRotate=d3_geo_compose(rotate=d3_geo_rotation(δλ,δφ,δγ),project);var center=project(λ,φ);δx=x-center[0]*k;δy=y+center[1]*k;return invalidate()}function invalidate(){stream&&(stream.valid=false,stream=null);return projection}return function(){project=projectAt.apply(this,arguments);projection.invert=project.invert&&invert;return reset()}}function d3_geo_projectionRadians(stream){return d3_geo_transformPoint(stream,function(x,y){stream.point(x*d3_radians,y*d3_radians)})}function d3_geo_equirectangular(λ,φ){return[λ,φ]}(d3.geo.equirectangular=function(){return d3_geo_projection(d3_geo_equirectangular)}).raw=d3_geo_equirectangular.invert=d3_geo_equirectangular;d3.geo.rotation=function(rotate){rotate=d3_geo_rotation(rotate[0]%360*d3_radians,rotate[1]*d3_radians,rotate.length>2?rotate[2]*d3_radians:0);function forward(coordinates){coordinates=rotate(coordinates[0]*d3_radians,coordinates[1]*d3_radians);return coordinates[0]*=d3_degrees,coordinates[1]*=d3_degrees,coordinates}forward.invert=function(coordinates){coordinates=rotate.invert(coordinates[0]*d3_radians,coordinates[1]*d3_radians);return coordinates[0]*=d3_degrees,coordinates[1]*=d3_degrees,coordinates};return forward};function d3_geo_identityRotation(λ,φ){return[λ>π?λ-τ:λ<-π?λ+τ:λ,φ]}d3_geo_identityRotation.invert=d3_geo_equirectangular;function d3_geo_rotation(δλ,δφ,δγ){return δλ?δφ||δγ?d3_geo_compose(d3_geo_rotationλ(δλ),d3_geo_rotationφγ(δφ,δγ)):d3_geo_rotationλ(δλ):δφ||δγ?d3_geo_rotationφγ(δφ,δγ):d3_geo_identityRotation}function d3_geo_forwardRotationλ(δλ){return function(λ,φ){return λ+=δλ,[λ>π?λ-τ:λ<-π?λ+τ:λ,φ]}}function d3_geo_rotationλ(δλ){var rotation=d3_geo_forwardRotationλ(δλ);rotation.invert=d3_geo_forwardRotationλ(-δλ);return rotation}function d3_geo_rotationφγ(δφ,δγ){var cosδφ=Math.cos(δφ),sinδφ=Math.sin(δφ),cosδγ=Math.cos(δγ),sinδγ=Math.sin(δγ);function rotation(λ,φ){var cosφ=Math.cos(φ),x=Math.cos(λ)*cosφ,y=Math.sin(λ)*cosφ,z=Math.sin(φ),k=z*cosδφ+x*sinδφ;return[Math.atan2(y*cosδγ-k*sinδγ,x*cosδφ-z*sinδφ),d3_asin(k*cosδγ+y*sinδγ)]}rotation.invert=function(λ,φ){var cosφ=Math.cos(φ),x=Math.cos(λ)*cosφ,y=Math.sin(λ)*cosφ,z=Math.sin(φ),k=z*cosδγ-y*sinδγ;return[Math.atan2(y*cosδγ+z*sinδγ,x*cosδφ+k*sinδφ),d3_asin(k*cosδφ-x*sinδφ)]};return rotation}d3.geo.circle=function(){var angle,interpolate,origin=[0,0],precision=6;function circle(){var center="function"===typeof origin?origin.apply(this,arguments):origin,rotate=d3_geo_rotation(-center[0]*d3_radians,-center[1]*d3_radians,0).invert,ring=[];interpolate(null,null,1,{point:function(x,y){ring.push(x=rotate(x,y));x[0]*=d3_degrees,x[1]*=d3_degrees}});return{type:"Polygon",coordinates:[ring]}}circle.origin=function(x){if(!arguments.length)return origin;origin=x;return circle};circle.angle=function(x){if(!arguments.length)return angle;interpolate=d3_geo_circleInterpolate((angle=+x)*d3_radians,precision*d3_radians);return circle};circle.precision=function(_){if(!arguments.length)return precision;interpolate=d3_geo_circleInterpolate(angle*d3_radians,(precision=+_)*d3_radians);return circle};return circle.angle(90)};function d3_geo_circleInterpolate(radius,precision){var cr=Math.cos(radius),sr=Math.sin(radius);return function(from,to,direction,listener){var step=direction*precision;if(null!=from){from=d3_geo_circleAngle(cr,from);to=d3_geo_circleAngle(cr,to);(direction>0?from<to:from>to)&&(from+=direction*τ)}else{from=radius+direction*τ;to=radius-.5*step}for(var point,t=from;direction>0?t>to:t<to;t-=step)listener.point((point=d3_geo_spherical([cr,-sr*Math.cos(t),-sr*Math.sin(t)]))[0],point[1])}}function d3_geo_circleAngle(cr,point){var a=d3_geo_cartesian(point);a[0]-=cr;d3_geo_cartesianNormalize(a);var angle=d3_acos(-a[1]);return((-a[2]<0?-angle:angle)+2*Math.PI-ε)%(2*Math.PI)}d3.geo.distance=function(a,b){var t,Δλ=(b[0]-a[0])*d3_radians,φ0=a[1]*d3_radians,φ1=b[1]*d3_radians,sinΔλ=Math.sin(Δλ),cosΔλ=Math.cos(Δλ),sinφ0=Math.sin(φ0),cosφ0=Math.cos(φ0),sinφ1=Math.sin(φ1),cosφ1=Math.cos(φ1);return Math.atan2(Math.sqrt((t=cosφ1*sinΔλ)*t+(t=cosφ0*sinφ1-sinφ0*cosφ1*cosΔλ)*t),sinφ0*sinφ1+cosφ0*cosφ1*cosΔλ)};d3.geo.graticule=function(){var x1,x0,X1,X0,y1,y0,Y1,Y0,x,y,X,Y,dx=10,dy=dx,DX=90,DY=360,precision=2.5;function graticule(){return{type:"MultiLineString",coordinates:lines()}}function lines(){return d3.range(Math.ceil(X0/DX)*DX,X1,DX).map(X).concat(d3.range(Math.ceil(Y0/DY)*DY,Y1,DY).map(Y)).concat(d3.range(Math.ceil(x0/dx)*dx,x1,dx).filter(function(x){return abs(x%DX)>ε}).map(x)).concat(d3.range(Math.ceil(y0/dy)*dy,y1,dy).filter(function(y){return abs(y%DY)>ε}).map(y))}graticule.lines=function(){return lines().map(function(coordinates){return{type:"LineString",coordinates:coordinates}})};graticule.outline=function(){return{type:"Polygon",coordinates:[X(X0).concat(Y(Y1).slice(1),X(X1).reverse().slice(1),Y(Y0).reverse().slice(1))]}};graticule.extent=function(_){if(!arguments.length)return graticule.minorExtent();return graticule.majorExtent(_).minorExtent(_)};graticule.majorExtent=function(_){if(!arguments.length)return[[X0,Y0],[X1,Y1]];X0=+_[0][0],X1=+_[1][0];Y0=+_[0][1],Y1=+_[1][1];X0>X1&&(_=X0,X0=X1,X1=_);Y0>Y1&&(_=Y0,Y0=Y1,Y1=_);return graticule.precision(precision)};graticule.minorExtent=function(_){if(!arguments.length)return[[x0,y0],[x1,y1]];x0=+_[0][0],x1=+_[1][0];y0=+_[0][1],y1=+_[1][1];x0>x1&&(_=x0,x0=x1,x1=_);y0>y1&&(_=y0,y0=y1,y1=_);return graticule.precision(precision)};graticule.step=function(_){if(!arguments.length)return graticule.minorStep();return graticule.majorStep(_).minorStep(_)};graticule.majorStep=function(_){if(!arguments.length)return[DX,DY];DX=+_[0],DY=+_[1];return graticule};graticule.minorStep=function(_){if(!arguments.length)return[dx,dy];dx=+_[0],dy=+_[1];return graticule};graticule.precision=function(_){if(!arguments.length)return precision;precision=+_;x=d3_geo_graticuleX(y0,y1,90);y=d3_geo_graticuleY(x0,x1,precision);X=d3_geo_graticuleX(Y0,Y1,90);Y=d3_geo_graticuleY(X0,X1,precision);return graticule};return graticule.majorExtent([[-180,-90+ε],[180,90-ε]]).minorExtent([[-180,-80-ε],[180,80+ε]])};function d3_geo_graticuleX(y0,y1,dy){var y=d3.range(y0,y1-ε,dy).concat(y1);return function(x){return y.map(function(y){return[x,y]})}}function d3_geo_graticuleY(x0,x1,dx){var x=d3.range(x0,x1-ε,dx).concat(x1);return function(y){return x.map(function(x){return[x,y]})}}function d3_source(d){return d.source}function d3_target(d){return d.target}d3.geo.greatArc=function(){var source_,target_,source=d3_source,target=d3_target;function greatArc(){return{type:"LineString",coordinates:[source_||source.apply(this,arguments),target_||target.apply(this,arguments)]}}greatArc.distance=function(){return d3.geo.distance(source_||source.apply(this,arguments),target_||target.apply(this,arguments))};greatArc.source=function(_){if(!arguments.length)return source;source=_,source_="function"===typeof _?null:_;return greatArc};greatArc.target=function(_){if(!arguments.length)return target;target=_,target_="function"===typeof _?null:_;return greatArc};greatArc.precision=function(){return arguments.length?greatArc:0};return greatArc};d3.geo.interpolate=function(source,target){return d3_geo_interpolate(source[0]*d3_radians,source[1]*d3_radians,target[0]*d3_radians,target[1]*d3_radians)};function d3_geo_interpolate(x0,y0,x1,y1){var cy0=Math.cos(y0),sy0=Math.sin(y0),cy1=Math.cos(y1),sy1=Math.sin(y1),kx0=cy0*Math.cos(x0),ky0=cy0*Math.sin(x0),kx1=cy1*Math.cos(x1),ky1=cy1*Math.sin(x1),d=2*Math.asin(Math.sqrt(d3_haversin(y1-y0)+cy0*cy1*d3_haversin(x1-x0))),k=1/Math.sin(d);var interpolate=d?function(t){var B=Math.sin(t*=d)*k,A=Math.sin(d-t)*k,x=A*kx0+B*kx1,y=A*ky0+B*ky1,z=A*sy0+B*sy1;return[Math.atan2(y,x)*d3_degrees,Math.atan2(z,Math.sqrt(x*x+y*y))*d3_degrees]}:function(){return[x0*d3_degrees,y0*d3_degrees]};interpolate.distance=d;return interpolate}d3.geo.length=function(object){d3_geo_lengthSum=0;d3.geo.stream(object,d3_geo_length);return d3_geo_lengthSum};var d3_geo_lengthSum;var d3_geo_length={sphere:d3_noop,point:d3_noop,lineStart:d3_geo_lengthLineStart,lineEnd:d3_noop,polygonStart:d3_noop,polygonEnd:d3_noop};function d3_geo_lengthLineStart(){var λ0,sinφ0,cosφ0;d3_geo_length.point=function(λ,φ){λ0=λ*d3_radians,sinφ0=Math.sin(φ*=d3_radians),cosφ0=Math.cos(φ);d3_geo_length.point=nextPoint};d3_geo_length.lineEnd=function(){d3_geo_length.point=d3_geo_length.lineEnd=d3_noop};function nextPoint(λ,φ){var sinφ=Math.sin(φ*=d3_radians),cosφ=Math.cos(φ),t=abs((λ*=d3_radians)-λ0),cosΔλ=Math.cos(t);d3_geo_lengthSum+=Math.atan2(Math.sqrt((t=cosφ*Math.sin(t))*t+(t=cosφ0*sinφ-sinφ0*cosφ*cosΔλ)*t),sinφ0*sinφ+cosφ0*cosφ*cosΔλ);λ0=λ,sinφ0=sinφ,cosφ0=cosφ}}function d3_geo_azimuthal(scale,angle){function azimuthal(λ,φ){var cosλ=Math.cos(λ),cosφ=Math.cos(φ),k=scale(cosλ*cosφ);return[k*cosφ*Math.sin(λ),k*Math.sin(φ)]}azimuthal.invert=function(x,y){var ρ=Math.sqrt(x*x+y*y),c=angle(ρ),sinc=Math.sin(c),cosc=Math.cos(c);return[Math.atan2(x*sinc,ρ*cosc),Math.asin(ρ&&y*sinc/ρ)]};return azimuthal}var d3_geo_azimuthalEqualArea=d3_geo_azimuthal(function(cosλcosφ){return Math.sqrt(2/(1+cosλcosφ))},function(ρ){return 2*Math.asin(ρ/2)});(d3.geo.azimuthalEqualArea=function(){return d3_geo_projection(d3_geo_azimuthalEqualArea)}).raw=d3_geo_azimuthalEqualArea;var d3_geo_azimuthalEquidistant=d3_geo_azimuthal(function(cosλcosφ){var c=Math.acos(cosλcosφ);return c&&c/Math.sin(c)},d3_identity);(d3.geo.azimuthalEquidistant=function(){return d3_geo_projection(d3_geo_azimuthalEquidistant)}).raw=d3_geo_azimuthalEquidistant;function d3_geo_conicConformal(φ0,φ1){var cosφ0=Math.cos(φ0),t=function(φ){return Math.tan(π/4+φ/2)},n=φ0===φ1?Math.sin(φ0):Math.log(cosφ0/Math.cos(φ1))/Math.log(t(φ1)/t(φ0)),F=cosφ0*Math.pow(t(φ0),n)/n;if(!n)return d3_geo_mercator;function forward(λ,φ){F>0?φ<-halfπ+ε&&(φ=-halfπ+ε):φ>halfπ-ε&&(φ=halfπ-ε);var ρ=F/Math.pow(t(φ),n);return[ρ*Math.sin(n*λ),F-ρ*Math.cos(n*λ)]}forward.invert=function(x,y){var ρ0_y=F-y,ρ=d3_sgn(n)*Math.sqrt(x*x+ρ0_y*ρ0_y);return[Math.atan2(x,ρ0_y)/n,2*Math.atan(Math.pow(F/ρ,1/n))-halfπ]};return forward}(d3.geo.conicConformal=function(){return d3_geo_conic(d3_geo_conicConformal)}).raw=d3_geo_conicConformal;function d3_geo_conicEquidistant(φ0,φ1){var cosφ0=Math.cos(φ0),n=φ0===φ1?Math.sin(φ0):(cosφ0-Math.cos(φ1))/(φ1-φ0),G=cosφ0/n+φ0;if(abs(n)<ε)return d3_geo_equirectangular;function forward(λ,φ){var ρ=G-φ;return[ρ*Math.sin(n*λ),G-ρ*Math.cos(n*λ)]}forward.invert=function(x,y){var ρ0_y=G-y;return[Math.atan2(x,ρ0_y)/n,G-d3_sgn(n)*Math.sqrt(x*x+ρ0_y*ρ0_y)]};return forward}(d3.geo.conicEquidistant=function(){return d3_geo_conic(d3_geo_conicEquidistant)}).raw=d3_geo_conicEquidistant;var d3_geo_gnomonic=d3_geo_azimuthal(function(cosλcosφ){return 1/cosλcosφ},Math.atan);(d3.geo.gnomonic=function(){return d3_geo_projection(d3_geo_gnomonic)}).raw=d3_geo_gnomonic;function d3_geo_mercator(λ,φ){return[λ,Math.log(Math.tan(π/4+φ/2))]}d3_geo_mercator.invert=function(x,y){return[x,2*Math.atan(Math.exp(y))-halfπ]};function d3_geo_mercatorProjection(project){var clipAuto,m=d3_geo_projection(project),scale=m.scale,translate=m.translate,clipExtent=m.clipExtent;m.scale=function(){var v=scale.apply(m,arguments);return v===m?clipAuto?m.clipExtent(null):m:v};m.translate=function(){var v=translate.apply(m,arguments);return v===m?clipAuto?m.clipExtent(null):m:v};m.clipExtent=function(_){var v=clipExtent.apply(m,arguments);if(v===m){if(clipAuto=null==_){var k=π*scale(),t=translate();clipExtent([[t[0]-k,t[1]-k],[t[0]+k,t[1]+k]])}}else clipAuto&&(v=null);return v};return m.clipExtent(null)}(d3.geo.mercator=function(){return d3_geo_mercatorProjection(d3_geo_mercator)}).raw=d3_geo_mercator;var d3_geo_orthographic=d3_geo_azimuthal(function(){return 1},Math.asin);(d3.geo.orthographic=function(){return d3_geo_projection(d3_geo_orthographic)}).raw=d3_geo_orthographic;var d3_geo_stereographic=d3_geo_azimuthal(function(cosλcosφ){return 1/(1+cosλcosφ)},function(ρ){return 2*Math.atan(ρ)});(d3.geo.stereographic=function(){return d3_geo_projection(d3_geo_stereographic)}).raw=d3_geo_stereographic;function d3_geo_transverseMercator(λ,φ){return[Math.log(Math.tan(π/4+φ/2)),-λ]}d3_geo_transverseMercator.invert=function(x,y){return[-y,2*Math.atan(Math.exp(x))-halfπ]};(d3.geo.transverseMercator=function(){var projection=d3_geo_mercatorProjection(d3_geo_transverseMercator),center=projection.center,rotate=projection.rotate;projection.center=function(_){return _?center([-_[1],_[0]]):(_=center(),[_[1],-_[0]])};projection.rotate=function(_){return _?rotate([_[0],_[1],_.length>2?_[2]+90:90]):(_=rotate(),[_[0],_[1],_[2]-90])};return rotate([0,0,90])}).raw=d3_geo_transverseMercator;d3.geom={};function d3_geom_pointX(d){return d[0]}function d3_geom_pointY(d){return d[1]}d3.geom.hull=function(vertices){var x=d3_geom_pointX,y=d3_geom_pointY;if(arguments.length)return hull(vertices);function hull(data){if(data.length<3)return[];var i,fx=d3_functor(x),fy=d3_functor(y),n=data.length,points=[],flippedPoints=[];for(i=0;i<n;i++)points.push([+fx.call(this,data[i],i),+fy.call(this,data[i],i),i]);points.sort(d3_geom_hullOrder);for(i=0;i<n;i++)flippedPoints.push([points[i][0],-points[i][1]]);var upper=d3_geom_hullUpper(points),lower=d3_geom_hullUpper(flippedPoints);var skipLeft=lower[0]===upper[0],skipRight=lower[lower.length-1]===upper[upper.length-1],polygon=[];for(i=upper.length-1;i>=0;--i)polygon.push(data[points[upper[i]][2]]);for(i=+skipLeft;i<lower.length-skipRight;++i)polygon.push(data[points[lower[i]][2]]);return polygon}hull.x=function(_){return arguments.length?(x=_,hull):x};hull.y=function(_){return arguments.length?(y=_,hull):y};return hull};function d3_geom_hullUpper(points){var n=points.length,hull=[0,1],hs=2;for(var i=2;i<n;i++){while(hs>1&&d3_cross2d(points[hull[hs-2]],points[hull[hs-1]],points[i])<=0)--hs;hull[hs++]=i}return hull.slice(0,hs)}function d3_geom_hullOrder(a,b){return a[0]-b[0]||a[1]-b[1]}d3.geom.polygon=function(coordinates){d3_subclass(coordinates,d3_geom_polygonPrototype);return coordinates};var d3_geom_polygonPrototype=d3.geom.polygon.prototype=[];d3_geom_polygonPrototype.area=function(){var a,i=-1,n=this.length,b=this[n-1],area=0;while(++i<n){a=b;b=this[i];area+=a[1]*b[0]-a[0]*b[1]}return.5*area};d3_geom_polygonPrototype.centroid=function(k){var a,c,i=-1,n=this.length,x=0,y=0,b=this[n-1];arguments.length||(k=-1/(6*this.area()));while(++i<n){a=b;b=this[i];c=a[0]*b[1]-b[0]*a[1];x+=(a[0]+b[0])*c;y+=(a[1]+b[1])*c}return[x*k,y*k]};d3_geom_polygonPrototype.clip=function(subject){var input,j,m,b,c,d,closed=d3_geom_polygonClosed(subject),i=-1,n=this.length-d3_geom_polygonClosed(this),a=this[n-1];while(++i<n){input=subject.slice();subject.length=0;b=this[i];c=input[(m=input.length-closed)-1];j=-1;while(++j<m){d=input[j];if(d3_geom_polygonInside(d,a,b)){d3_geom_polygonInside(c,a,b)||subject.push(d3_geom_polygonIntersect(c,d,a,b));subject.push(d)}else d3_geom_polygonInside(c,a,b)&&subject.push(d3_geom_polygonIntersect(c,d,a,b));c=d}closed&&subject.push(subject[0]);a=b}return subject};function d3_geom_polygonInside(p,a,b){return(b[0]-a[0])*(p[1]-a[1])<(b[1]-a[1])*(p[0]-a[0])}function d3_geom_polygonIntersect(c,d,a,b){var x1=c[0],x3=a[0],x21=d[0]-x1,x43=b[0]-x3,y1=c[1],y3=a[1],y21=d[1]-y1,y43=b[1]-y3,ua=(x43*(y1-y3)-y43*(x1-x3))/(y43*x21-x43*y21);return[x1+ua*x21,y1+ua*y21]}function d3_geom_polygonClosed(coordinates){var a=coordinates[0],b=coordinates[coordinates.length-1];return!(a[0]-b[0]||a[1]-b[1])}var d3_geom_voronoiEdges,d3_geom_voronoiCells,d3_geom_voronoiBeaches,d3_geom_voronoiFirstCircle,d3_geom_voronoiCircles,d3_geom_voronoiBeachPool=[],d3_geom_voronoiCirclePool=[];function d3_geom_voronoiBeach(){d3_geom_voronoiRedBlackNode(this);this.edge=this.site=this.circle=null}function d3_geom_voronoiCreateBeach(site){var beach=d3_geom_voronoiBeachPool.pop()||new d3_geom_voronoiBeach;beach.site=site;return beach}function d3_geom_voronoiDetachBeach(beach){d3_geom_voronoiDetachCircle(beach);d3_geom_voronoiBeaches.remove(beach);d3_geom_voronoiBeachPool.push(beach);d3_geom_voronoiRedBlackNode(beach)}function d3_geom_voronoiRemoveBeach(beach){var circle=beach.circle,x=circle.x,y=circle.cy,vertex={x:x,y:y},previous=beach.P,next=beach.N,disappearing=[beach];d3_geom_voronoiDetachBeach(beach);var lArc=previous;while(lArc.circle&&abs(x-lArc.circle.x)<ε&&abs(y-lArc.circle.cy)<ε){previous=lArc.P;disappearing.unshift(lArc);d3_geom_voronoiDetachBeach(lArc);lArc=previous}disappearing.unshift(lArc);d3_geom_voronoiDetachCircle(lArc);var rArc=next;while(rArc.circle&&abs(x-rArc.circle.x)<ε&&abs(y-rArc.circle.cy)<ε){next=rArc.N;disappearing.push(rArc);d3_geom_voronoiDetachBeach(rArc);rArc=next}disappearing.push(rArc);d3_geom_voronoiDetachCircle(rArc);var iArc,nArcs=disappearing.length;for(iArc=1;iArc<nArcs;++iArc){rArc=disappearing[iArc];lArc=disappearing[iArc-1];d3_geom_voronoiSetEdgeEnd(rArc.edge,lArc.site,rArc.site,vertex)}lArc=disappearing[0];rArc=disappearing[nArcs-1];rArc.edge=d3_geom_voronoiCreateEdge(lArc.site,rArc.site,null,vertex);d3_geom_voronoiAttachCircle(lArc);d3_geom_voronoiAttachCircle(rArc)}function d3_geom_voronoiAddBeach(site){var lArc,rArc,dxl,dxr,x=site.x,directrix=site.y,node=d3_geom_voronoiBeaches._;while(node){dxl=d3_geom_voronoiLeftBreakPoint(node,directrix)-x;if(dxl>ε)node=node.L;else{dxr=x-d3_geom_voronoiRightBreakPoint(node,directrix);if(!(dxr>ε)){if(dxl>-ε){lArc=node.P;rArc=node}else if(dxr>-ε){lArc=node;rArc=node.N}else lArc=rArc=node;break}if(!node.R){lArc=node;break}node=node.R}}var newArc=d3_geom_voronoiCreateBeach(site);d3_geom_voronoiBeaches.insert(lArc,newArc);if(!lArc&&!rArc)return;if(lArc===rArc){d3_geom_voronoiDetachCircle(lArc);rArc=d3_geom_voronoiCreateBeach(lArc.site);d3_geom_voronoiBeaches.insert(newArc,rArc);newArc.edge=rArc.edge=d3_geom_voronoiCreateEdge(lArc.site,newArc.site);d3_geom_voronoiAttachCircle(lArc);d3_geom_voronoiAttachCircle(rArc);return}if(!rArc){newArc.edge=d3_geom_voronoiCreateEdge(lArc.site,newArc.site);return}d3_geom_voronoiDetachCircle(lArc);d3_geom_voronoiDetachCircle(rArc);var lSite=lArc.site,ax=lSite.x,ay=lSite.y,bx=site.x-ax,by=site.y-ay,rSite=rArc.site,cx=rSite.x-ax,cy=rSite.y-ay,d=2*(bx*cy-by*cx),hb=bx*bx+by*by,hc=cx*cx+cy*cy,vertex={x:(cy*hb-by*hc)/d+ax,y:(bx*hc-cx*hb)/d+ay};d3_geom_voronoiSetEdgeEnd(rArc.edge,lSite,rSite,vertex);newArc.edge=d3_geom_voronoiCreateEdge(lSite,site,null,vertex);rArc.edge=d3_geom_voronoiCreateEdge(site,rSite,null,vertex);d3_geom_voronoiAttachCircle(lArc);d3_geom_voronoiAttachCircle(rArc)}function d3_geom_voronoiLeftBreakPoint(arc,directrix){var site=arc.site,rfocx=site.x,rfocy=site.y,pby2=rfocy-directrix;if(!pby2)return rfocx;var lArc=arc.P;if(!lArc)return-Infinity;site=lArc.site;var lfocx=site.x,lfocy=site.y,plby2=lfocy-directrix;if(!plby2)return lfocx;var hl=lfocx-rfocx,aby2=1/pby2-1/plby2,b=hl/plby2;if(aby2)return(-b+Math.sqrt(b*b-2*aby2*(hl*hl/(-2*plby2)-lfocy+plby2/2+rfocy-pby2/2)))/aby2+rfocx;return(rfocx+lfocx)/2}function d3_geom_voronoiRightBreakPoint(arc,directrix){var rArc=arc.N;if(rArc)return d3_geom_voronoiLeftBreakPoint(rArc,directrix);var site=arc.site;return site.y===directrix?site.x:Infinity}function d3_geom_voronoiCell(site){this.site=site;this.edges=[]}d3_geom_voronoiCell.prototype.prepare=function(){var edge,halfEdges=this.edges,iHalfEdge=halfEdges.length;while(iHalfEdge--){edge=halfEdges[iHalfEdge].edge;edge.b&&edge.a||halfEdges.splice(iHalfEdge,1)}halfEdges.sort(d3_geom_voronoiHalfEdgeOrder);return halfEdges.length};function d3_geom_voronoiCloseCells(extent){var x2,y2,x3,y3,cell,iHalfEdge,halfEdges,nHalfEdges,start,end,x0=extent[0][0],x1=extent[1][0],y0=extent[0][1],y1=extent[1][1],cells=d3_geom_voronoiCells,iCell=cells.length;while(iCell--){cell=cells[iCell];if(!cell||!cell.prepare())continue;halfEdges=cell.edges;nHalfEdges=halfEdges.length;iHalfEdge=0;while(iHalfEdge<nHalfEdges){end=halfEdges[iHalfEdge].end(),x3=end.x,y3=end.y;start=halfEdges[++iHalfEdge%nHalfEdges].start(),x2=start.x,y2=start.y;if(abs(x3-x2)>ε||abs(y3-y2)>ε){halfEdges.splice(iHalfEdge,0,new d3_geom_voronoiHalfEdge(d3_geom_voronoiCreateBorderEdge(cell.site,end,abs(x3-x0)<ε&&y1-y3>ε?{x:x0,y:abs(x2-x0)<ε?y2:y1}:abs(y3-y1)<ε&&x1-x3>ε?{x:abs(y2-y1)<ε?x2:x1,y:y1}:abs(x3-x1)<ε&&y3-y0>ε?{x:x1,y:abs(x2-x1)<ε?y2:y0}:abs(y3-y0)<ε&&x3-x0>ε?{x:abs(y2-y0)<ε?x2:x0,y:y0}:null),cell.site,null));++nHalfEdges}}}}function d3_geom_voronoiHalfEdgeOrder(a,b){return b.angle-a.angle}function d3_geom_voronoiCircle(){d3_geom_voronoiRedBlackNode(this);this.x=this.y=this.arc=this.site=this.cy=null}function d3_geom_voronoiAttachCircle(arc){var lArc=arc.P,rArc=arc.N;if(!lArc||!rArc)return;var lSite=lArc.site,cSite=arc.site,rSite=rArc.site;if(lSite===rSite)return;var bx=cSite.x,by=cSite.y,ax=lSite.x-bx,ay=lSite.y-by,cx=rSite.x-bx,cy=rSite.y-by;var d=2*(ax*cy-ay*cx);if(d>=-ε2)return;var ha=ax*ax+ay*ay,hc=cx*cx+cy*cy,x=(cy*ha-ay*hc)/d,y=(ax*hc-cx*ha)/d;cy=y+by;var circle=d3_geom_voronoiCirclePool.pop()||new d3_geom_voronoiCircle;circle.arc=arc;circle.site=cSite;circle.x=x+bx;circle.y=cy+Math.sqrt(x*x+y*y);circle.cy=cy;arc.circle=circle;var before=null,node=d3_geom_voronoiCircles._;while(node)if(circle.y<node.y||circle.y===node.y&&circle.x<=node.x){if(!node.L){before=node.P;break}node=node.L}else{if(!node.R){before=node;break}node=node.R}d3_geom_voronoiCircles.insert(before,circle);before||(d3_geom_voronoiFirstCircle=circle)}function d3_geom_voronoiDetachCircle(arc){var circle=arc.circle;if(circle){circle.P||(d3_geom_voronoiFirstCircle=circle.N);d3_geom_voronoiCircles.remove(circle);d3_geom_voronoiCirclePool.push(circle);d3_geom_voronoiRedBlackNode(circle);arc.circle=null}}function d3_geom_voronoiClipEdges(extent){var e,edges=d3_geom_voronoiEdges,clip=d3_geom_clipLine(extent[0][0],extent[0][1],extent[1][0],extent[1][1]),i=edges.length;while(i--){e=edges[i];if(!d3_geom_voronoiConnectEdge(e,extent)||!clip(e)||abs(e.a.x-e.b.x)<ε&&abs(e.a.y-e.b.y)<ε){e.a=e.b=null;edges.splice(i,1)}}}function d3_geom_voronoiConnectEdge(edge,extent){var vb=edge.b;if(vb)return true;var fm,fb,va=edge.a,x0=extent[0][0],x1=extent[1][0],y0=extent[0][1],y1=extent[1][1],lSite=edge.l,rSite=edge.r,lx=lSite.x,ly=lSite.y,rx=rSite.x,ry=rSite.y,fx=(lx+rx)/2,fy=(ly+ry)/2;if(ry===ly){if(fx<x0||fx>=x1)return;if(lx>rx){if(va){if(va.y>=y1)return}else va={x:fx,y:y0};vb={x:fx,y:y1}}else{if(va){if(va.y<y0)return}else va={x:fx,y:y1};vb={x:fx,y:y0}}}else{fm=(lx-rx)/(ry-ly);fb=fy-fm*fx;if(fm<-1||fm>1)if(lx>rx){if(va){if(va.y>=y1)return}else va={x:(y0-fb)/fm,y:y0};vb={x:(y1-fb)/fm,y:y1}}else{if(va){if(va.y<y0)return}else va={x:(y1-fb)/fm,y:y1};vb={x:(y0-fb)/fm,y:y0}}else if(ly<ry){if(va){if(va.x>=x1)return}else va={x:x0,y:fm*x0+fb};vb={x:x1,y:fm*x1+fb}}else{if(va){if(va.x<x0)return}else va={x:x1,y:fm*x1+fb};vb={x:x0,y:fm*x0+fb}}}edge.a=va;edge.b=vb;return true}function d3_geom_voronoiEdge(lSite,rSite){this.l=lSite;this.r=rSite;this.a=this.b=null}function d3_geom_voronoiCreateEdge(lSite,rSite,va,vb){var edge=new d3_geom_voronoiEdge(lSite,rSite);d3_geom_voronoiEdges.push(edge);va&&d3_geom_voronoiSetEdgeEnd(edge,lSite,rSite,va);vb&&d3_geom_voronoiSetEdgeEnd(edge,rSite,lSite,vb);d3_geom_voronoiCells[lSite.i].edges.push(new d3_geom_voronoiHalfEdge(edge,lSite,rSite));d3_geom_voronoiCells[rSite.i].edges.push(new d3_geom_voronoiHalfEdge(edge,rSite,lSite));return edge}function d3_geom_voronoiCreateBorderEdge(lSite,va,vb){var edge=new d3_geom_voronoiEdge(lSite,null);edge.a=va;edge.b=vb;d3_geom_voronoiEdges.push(edge);return edge}function d3_geom_voronoiSetEdgeEnd(edge,lSite,rSite,vertex){if(edge.a||edge.b)edge.l===rSite?edge.b=vertex:edge.a=vertex;else{edge.a=vertex;edge.l=lSite;edge.r=rSite}}function d3_geom_voronoiHalfEdge(edge,lSite,rSite){var va=edge.a,vb=edge.b;this.edge=edge;this.site=lSite;this.angle=rSite?Math.atan2(rSite.y-lSite.y,rSite.x-lSite.x):edge.l===lSite?Math.atan2(vb.x-va.x,va.y-vb.y):Math.atan2(va.x-vb.x,vb.y-va.y)}d3_geom_voronoiHalfEdge.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}};function d3_geom_voronoiRedBlackTree(){this._=null}function d3_geom_voronoiRedBlackNode(node){node.U=node.C=node.L=node.R=node.P=node.N=null}d3_geom_voronoiRedBlackTree.prototype={insert:function(after,node){var parent,grandpa,uncle;if(after){node.P=after;node.N=after.N;after.N&&(after.N.P=node);after.N=node;if(after.R){after=after.R;while(after.L)after=after.L;after.L=node}else after.R=node;parent=after}else if(this._){after=d3_geom_voronoiRedBlackFirst(this._);node.P=null;node.N=after;after.P=after.L=node;parent=after}else{node.P=node.N=null;this._=node;parent=null}node.L=node.R=null;node.U=parent;node.C=true;after=node;while(parent&&parent.C){grandpa=parent.U;if(parent===grandpa.L){uncle=grandpa.R;if(uncle&&uncle.C){parent.C=uncle.C=false;grandpa.C=true;after=grandpa}else{if(after===parent.R){d3_geom_voronoiRedBlackRotateLeft(this,parent);after=parent;parent=after.U}parent.C=false;grandpa.C=true;d3_geom_voronoiRedBlackRotateRight(this,grandpa)}}else{uncle=grandpa.L;if(uncle&&uncle.C){parent.C=uncle.C=false;grandpa.C=true;after=grandpa}else{if(after===parent.L){d3_geom_voronoiRedBlackRotateRight(this,parent);after=parent;parent=after.U}parent.C=false;grandpa.C=true;d3_geom_voronoiRedBlackRotateLeft(this,grandpa)}}parent=after.U}this._.C=false},remove:function(node){node.N&&(node.N.P=node.P);node.P&&(node.P.N=node.N);node.N=node.P=null;var sibling,next,red,parent=node.U,left=node.L,right=node.R;next=left?right?d3_geom_voronoiRedBlackFirst(right):left:right;parent?parent.L===node?parent.L=next:parent.R=next:this._=next;if(left&&right){red=next.C;next.C=node.C;next.L=left;left.U=next;if(next!==right){parent=next.U;next.U=node.U;node=next.R;parent.L=node;next.R=right;right.U=next}else{next.U=parent;parent=next;node=next.R}}else{red=node.C;node=next}node&&(node.U=parent);if(red)return;if(node&&node.C){node.C=false;return}do{if(node===this._)break;if(node===parent.L){sibling=parent.R;if(sibling.C){sibling.C=false;parent.C=true;d3_geom_voronoiRedBlackRotateLeft(this,parent);sibling=parent.R}if(sibling.L&&sibling.L.C||sibling.R&&sibling.R.C){if(!sibling.R||!sibling.R.C){sibling.L.C=false;sibling.C=true;d3_geom_voronoiRedBlackRotateRight(this,sibling);sibling=parent.R}sibling.C=parent.C;parent.C=sibling.R.C=false;d3_geom_voronoiRedBlackRotateLeft(this,parent);node=this._;break}}else{sibling=parent.L;if(sibling.C){sibling.C=false;parent.C=true;d3_geom_voronoiRedBlackRotateRight(this,parent);sibling=parent.L}if(sibling.L&&sibling.L.C||sibling.R&&sibling.R.C){if(!sibling.L||!sibling.L.C){sibling.R.C=false;sibling.C=true;d3_geom_voronoiRedBlackRotateLeft(this,sibling);sibling=parent.L}sibling.C=parent.C;parent.C=sibling.L.C=false;d3_geom_voronoiRedBlackRotateRight(this,parent);node=this._;break}}sibling.C=true;node=parent;parent=parent.U}while(!node.C);node&&(node.C=false)}};function d3_geom_voronoiRedBlackRotateLeft(tree,node){var p=node,q=node.R,parent=p.U;parent?parent.L===p?parent.L=q:parent.R=q:tree._=q;q.U=parent;p.U=q;p.R=q.L;p.R&&(p.R.U=p);q.L=p}function d3_geom_voronoiRedBlackRotateRight(tree,node){var p=node,q=node.L,parent=p.U;parent?parent.L===p?parent.L=q:parent.R=q:tree._=q;q.U=parent;p.U=q;p.L=q.R;p.L&&(p.L.U=p);q.R=p}function d3_geom_voronoiRedBlackFirst(node){while(node.L)node=node.L;return node}function d3_geom_voronoi(sites,bbox){var x0,y0,circle,site=sites.sort(d3_geom_voronoiVertexOrder).pop();d3_geom_voronoiEdges=[];d3_geom_voronoiCells=new Array(sites.length);d3_geom_voronoiBeaches=new d3_geom_voronoiRedBlackTree;d3_geom_voronoiCircles=new d3_geom_voronoiRedBlackTree;while(true){circle=d3_geom_voronoiFirstCircle;if(site&&(!circle||site.y<circle.y||site.y===circle.y&&site.x<circle.x)){if(site.x!==x0||site.y!==y0){d3_geom_voronoiCells[site.i]=new d3_geom_voronoiCell(site);d3_geom_voronoiAddBeach(site);x0=site.x,y0=site.y}site=sites.pop()}else{if(!circle)break;d3_geom_voronoiRemoveBeach(circle.arc)}}bbox&&(d3_geom_voronoiClipEdges(bbox),d3_geom_voronoiCloseCells(bbox));var diagram={cells:d3_geom_voronoiCells,edges:d3_geom_voronoiEdges};d3_geom_voronoiBeaches=d3_geom_voronoiCircles=d3_geom_voronoiEdges=d3_geom_voronoiCells=null;return diagram}function d3_geom_voronoiVertexOrder(a,b){return b.y-a.y||b.x-a.x}d3.geom.voronoi=function(points){var x=d3_geom_pointX,y=d3_geom_pointY,fx=x,fy=y,clipExtent=d3_geom_voronoiClipExtent;if(points)return voronoi(points);function voronoi(data){var polygons=new Array(data.length),x0=clipExtent[0][0],y0=clipExtent[0][1],x1=clipExtent[1][0],y1=clipExtent[1][1];d3_geom_voronoi(sites(data),clipExtent).cells.forEach(function(cell,i){var edges=cell.edges,site=cell.site,polygon=polygons[i]=edges.length?edges.map(function(e){var s=e.start();return[s.x,s.y]}):site.x>=x0&&site.x<=x1&&site.y>=y0&&site.y<=y1?[[x0,y1],[x1,y1],[x1,y0],[x0,y0]]:[];polygon.point=data[i]});return polygons}function sites(data){return data.map(function(d,i){return{x:Math.round(fx(d,i)/ε)*ε,y:Math.round(fy(d,i)/ε)*ε,i:i}})}voronoi.links=function(data){return d3_geom_voronoi(sites(data)).edges.filter(function(edge){return edge.l&&edge.r}).map(function(edge){return{source:data[edge.l.i],target:data[edge.r.i]}})};voronoi.triangles=function(data){var triangles=[];d3_geom_voronoi(sites(data)).cells.forEach(function(cell,i){var s0,site=cell.site,edges=cell.edges.sort(d3_geom_voronoiHalfEdgeOrder),j=-1,m=edges.length,e1=edges[m-1].edge,s1=e1.l===site?e1.r:e1.l;while(++j<m){e1;s0=s1;e1=edges[j].edge;s1=e1.l===site?e1.r:e1.l;i<s0.i&&i<s1.i&&d3_geom_voronoiTriangleArea(site,s0,s1)<0&&triangles.push([data[i],data[s0.i],data[s1.i]])}});return triangles};voronoi.x=function(_){return arguments.length?(fx=d3_functor(x=_),voronoi):x};voronoi.y=function(_){return arguments.length?(fy=d3_functor(y=_),voronoi):y};voronoi.clipExtent=function(_){if(!arguments.length)return clipExtent===d3_geom_voronoiClipExtent?null:clipExtent;clipExtent=null==_?d3_geom_voronoiClipExtent:_;return voronoi};voronoi.size=function(_){if(!arguments.length)return clipExtent===d3_geom_voronoiClipExtent?null:clipExtent&&clipExtent[1];return voronoi.clipExtent(_&&[[0,0],_])};return voronoi};var d3_geom_voronoiClipExtent=[[-1e6,-1e6],[1e6,1e6]];function d3_geom_voronoiTriangleArea(a,b,c){return(a.x-c.x)*(b.y-a.y)-(a.x-b.x)*(c.y-a.y)}d3.geom.delaunay=function(vertices){return d3.geom.voronoi().triangles(vertices)};d3.geom.quadtree=function(points,x1,y1,x2,y2){var compat,x=d3_geom_pointX,y=d3_geom_pointY;if(compat=arguments.length){x=d3_geom_quadtreeCompatX;y=d3_geom_quadtreeCompatY;if(3===compat){y2=y1;x2=x1;y1=x1=0}return quadtree(points)}function quadtree(data){var d,xs,ys,i,n,x1_,y1_,x2_,y2_,fx=d3_functor(x),fy=d3_functor(y);if(null!=x1)x1_=x1,y1_=y1,x2_=x2,y2_=y2;else{x2_=y2_=-(x1_=y1_=Infinity);xs=[],ys=[];n=data.length;if(compat)for(i=0;i<n;++i){d=data[i];d.x<x1_&&(x1_=d.x);d.y<y1_&&(y1_=d.y);d.x>x2_&&(x2_=d.x);d.y>y2_&&(y2_=d.y);xs.push(d.x);ys.push(d.y)}else for(i=0;i<n;++i){var x_=+fx(d=data[i],i),y_=+fy(d,i);x_<x1_&&(x1_=x_);y_<y1_&&(y1_=y_);x_>x2_&&(x2_=x_);y_>y2_&&(y2_=y_);xs.push(x_);ys.push(y_)}}var dx=x2_-x1_,dy=y2_-y1_;dx>dy?y2_=y1_+dx:x2_=x1_+dy;function insert(n,d,x,y,x1,y1,x2,y2){if(isNaN(x)||isNaN(y))return;if(n.leaf){var nx=n.x,ny=n.y;if(null!=nx)if(abs(nx-x)+abs(ny-y)<.01)insertChild(n,d,x,y,x1,y1,x2,y2);else{var nPoint=n.point;n.x=n.y=n.point=null;insertChild(n,nPoint,nx,ny,x1,y1,x2,y2);insertChild(n,d,x,y,x1,y1,x2,y2)}else n.x=x,n.y=y,n.point=d}else insertChild(n,d,x,y,x1,y1,x2,y2)}function insertChild(n,d,x,y,x1,y1,x2,y2){var xm=.5*(x1+x2),ym=.5*(y1+y2),right=x>=xm,below=y>=ym,i=below<<1|right;n.leaf=false;n=n.nodes[i]||(n.nodes[i]=d3_geom_quadtreeNode());right?x1=xm:x2=xm;below?y1=ym:y2=ym;insert(n,d,x,y,x1,y1,x2,y2)}var root=d3_geom_quadtreeNode();root.add=function(d){insert(root,d,+fx(d,++i),+fy(d,i),x1_,y1_,x2_,y2_)};root.visit=function(f){d3_geom_quadtreeVisit(f,root,x1_,y1_,x2_,y2_)};root.find=function(point){return d3_geom_quadtreeFind(root,point[0],point[1],x1_,y1_,x2_,y2_)};i=-1;if(null==x1){while(++i<n)insert(root,data[i],xs[i],ys[i],x1_,y1_,x2_,y2_);--i}else data.forEach(root.add);xs=ys=data=d=null;return root}quadtree.x=function(_){return arguments.length?(x=_,quadtree):x};quadtree.y=function(_){return arguments.length?(y=_,quadtree):y};quadtree.extent=function(_){if(!arguments.length)return null==x1?null:[[x1,y1],[x2,y2]];null==_?x1=y1=x2=y2=null:(x1=+_[0][0],y1=+_[0][1],x2=+_[1][0],y2=+_[1][1]);return quadtree};quadtree.size=function(_){if(!arguments.length)return null==x1?null:[x2-x1,y2-y1];null==_?x1=y1=x2=y2=null:(x1=y1=0,x2=+_[0],y2=+_[1]);return quadtree};return quadtree};function d3_geom_quadtreeCompatX(d){return d.x}function d3_geom_quadtreeCompatY(d){return d.y}function d3_geom_quadtreeNode(){return{leaf:true,nodes:[],point:null,x:null,y:null}}function d3_geom_quadtreeVisit(f,node,x1,y1,x2,y2){if(!f(node,x1,y1,x2,y2)){var sx=.5*(x1+x2),sy=.5*(y1+y2),children=node.nodes;children[0]&&d3_geom_quadtreeVisit(f,children[0],x1,y1,sx,sy);children[1]&&d3_geom_quadtreeVisit(f,children[1],sx,y1,x2,sy);children[2]&&d3_geom_quadtreeVisit(f,children[2],x1,sy,sx,y2);children[3]&&d3_geom_quadtreeVisit(f,children[3],sx,sy,x2,y2)}}function d3_geom_quadtreeFind(root,x,y,x0,y0,x3,y3){var closestPoint,minDistance2=Infinity;(function find(node,x1,y1,x2,y2){if(x1>x3||y1>y3||x2<x0||y2<y0)return;if(point=node.point){var point,dx=x-node.x,dy=y-node.y,distance2=dx*dx+dy*dy;if(distance2<minDistance2){var distance=Math.sqrt(minDistance2=distance2);x0=x-distance,y0=y-distance;x3=x+distance,y3=y+distance;closestPoint=point}}var children=node.nodes,xm=.5*(x1+x2),ym=.5*(y1+y2),right=x>=xm,below=y>=ym;for(var i=below<<1|right,j=i+4;i<j;++i)if(node=children[3&i])switch(3&i){case 0:find(node,x1,y1,xm,ym);break;case 1:find(node,xm,y1,x2,ym);break;case 2:find(node,x1,ym,xm,y2);break;case 3:find(node,xm,ym,x2,y2)}})(root,x0,y0,x3,y3);return closestPoint}d3.interpolateRgb=d3_interpolateRgb;function d3_interpolateRgb(a,b){a=d3.rgb(a);b=d3.rgb(b);var ar=a.r,ag=a.g,ab=a.b,br=b.r-ar,bg=b.g-ag,bb=b.b-ab;return function(t){return"#"+d3_rgb_hex(Math.round(ar+br*t))+d3_rgb_hex(Math.round(ag+bg*t))+d3_rgb_hex(Math.round(ab+bb*t))}}d3.interpolateObject=d3_interpolateObject;function d3_interpolateObject(a,b){var k,i={},c={};for(k in a)k in b?i[k]=d3_interpolate(a[k],b[k]):c[k]=a[k];for(k in b)k in a||(c[k]=b[k]);return function(t){for(k in i)c[k]=i[k](t);return c}}d3.interpolateNumber=d3_interpolateNumber;function d3_interpolateNumber(a,b){a=+a,b=+b;return function(t){return a*(1-t)+b*t}}d3.interpolateString=d3_interpolateString;function d3_interpolateString(a,b){var am,bm,bs,bi=d3_interpolate_numberA.lastIndex=d3_interpolate_numberB.lastIndex=0,i=-1,s=[],q=[];a+="",b+="";while((am=d3_interpolate_numberA.exec(a))&&(bm=d3_interpolate_numberB.exec(b))){if((bs=bm.index)>bi){bs=b.slice(bi,bs);s[i]?s[i]+=bs:s[++i]=bs}if((am=am[0])===(bm=bm[0]))s[i]?s[i]+=bm:s[++i]=bm;else{s[++i]=null;q.push({i:i,x:d3_interpolateNumber(am,bm)})}bi=d3_interpolate_numberB.lastIndex}if(bi<b.length){bs=b.slice(bi);s[i]?s[i]+=bs:s[++i]=bs}return s.length<2?q[0]?(b=q[0].x,function(t){return b(t)+""}):function(){return b}:(b=q.length,function(t){for(var o,i=0;i<b;++i)s[(o=q[i]).i]=o.x(t);return s.join("")})}var d3_interpolate_numberA=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,d3_interpolate_numberB=new RegExp(d3_interpolate_numberA.source,"g");d3.interpolate=d3_interpolate;function d3_interpolate(a,b){var f,i=d3.interpolators.length;while(--i>=0&&!(f=d3.interpolators[i](a,b)));return f}d3.interpolators=[function(a,b){var t=typeof b;return("string"===t?d3_rgb_names.has(b.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(b)?d3_interpolateRgb:d3_interpolateString:b instanceof d3_color?d3_interpolateRgb:Array.isArray(b)?d3_interpolateArray:"object"===t&&isNaN(b)?d3_interpolateObject:d3_interpolateNumber)(a,b)}];d3.interpolateArray=d3_interpolateArray;function d3_interpolateArray(a,b){var i,x=[],c=[],na=a.length,nb=b.length,n0=Math.min(a.length,b.length);for(i=0;i<n0;++i)x.push(d3_interpolate(a[i],b[i]));for(;i<na;++i)c[i]=a[i];for(;i<nb;++i)c[i]=b[i];return function(t){for(i=0;i<n0;++i)c[i]=x[i](t);return c}}var d3_ease_default=function(){return d3_identity};var d3_ease=d3.map({linear:d3_ease_default,poly:d3_ease_poly,quad:function(){return d3_ease_quad},cubic:function(){return d3_ease_cubic},sin:function(){return d3_ease_sin},exp:function(){return d3_ease_exp},circle:function(){return d3_ease_circle},elastic:d3_ease_elastic,back:d3_ease_back,bounce:function(){return d3_ease_bounce}});var d3_ease_mode=d3.map({in:d3_identity,out:d3_ease_reverse,"in-out":d3_ease_reflect,"out-in":function(f){return d3_ease_reflect(d3_ease_reverse(f))}});d3.ease=function(name){var i=name.indexOf("-"),t=i>=0?name.slice(0,i):name,m=i>=0?name.slice(i+1):"in";t=d3_ease.get(t)||d3_ease_default;m=d3_ease_mode.get(m)||d3_identity;return d3_ease_clamp(m(t.apply(null,d3_arraySlice.call(arguments,1))))};function d3_ease_clamp(f){return function(t){return t<=0?0:t>=1?1:f(t)}}function d3_ease_reverse(f){return function(t){return 1-f(1-t)}}function d3_ease_reflect(f){return function(t){return.5*(t<.5?f(2*t):2-f(2-2*t))}}function d3_ease_quad(t){return t*t}function d3_ease_cubic(t){return t*t*t}function d3_ease_cubicInOut(t){if(t<=0)return 0;if(t>=1)return 1;var t2=t*t,t3=t2*t;return 4*(t<.5?t3:3*(t-t2)+t3-.75)}function d3_ease_poly(e){return function(t){return Math.pow(t,e)}}function d3_ease_sin(t){return 1-Math.cos(t*halfπ)}function d3_ease_exp(t){return Math.pow(2,10*(t-1))}function d3_ease_circle(t){return 1-Math.sqrt(1-t*t)}function d3_ease_elastic(a,p){var s;arguments.length<2&&(p=.45);arguments.length?s=p/τ*Math.asin(1/a):(a=1,s=p/4);return function(t){return 1+a*Math.pow(2,-10*t)*Math.sin((t-s)*τ/p)}}function d3_ease_back(s){s||(s=1.70158);return function(t){return t*t*((s+1)*t-s)}}function d3_ease_bounce(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}d3.interpolateHcl=d3_interpolateHcl;function d3_interpolateHcl(a,b){a=d3.hcl(a);b=d3.hcl(b);var ah=a.h,ac=a.c,al=a.l,bh=b.h-ah,bc=b.c-ac,bl=b.l-al;isNaN(bc)&&(bc=0,ac=isNaN(ac)?b.c:ac);isNaN(bh)?(bh=0,ah=isNaN(ah)?b.h:ah):bh>180?bh-=360:bh<-180&&(bh+=360);return function(t){return d3_hcl_lab(ah+bh*t,ac+bc*t,al+bl*t)+""}}d3.interpolateHsl=d3_interpolateHsl;function d3_interpolateHsl(a,b){a=d3.hsl(a);b=d3.hsl(b);var ah=a.h,as=a.s,al=a.l,bh=b.h-ah,bs=b.s-as,bl=b.l-al;isNaN(bs)&&(bs=0,as=isNaN(as)?b.s:as);isNaN(bh)?(bh=0,ah=isNaN(ah)?b.h:ah):bh>180?bh-=360:bh<-180&&(bh+=360);return function(t){return d3_hsl_rgb(ah+bh*t,as+bs*t,al+bl*t)+""}}d3.interpolateLab=d3_interpolateLab;function d3_interpolateLab(a,b){a=d3.lab(a);b=d3.lab(b);var al=a.l,aa=a.a,ab=a.b,bl=b.l-al,ba=b.a-aa,bb=b.b-ab;return function(t){return d3_lab_rgb(al+bl*t,aa+ba*t,ab+bb*t)+""}}d3.interpolateRound=d3_interpolateRound;function d3_interpolateRound(a,b){b-=a;return function(t){return Math.round(a+b*t)}}d3.transform=function(string){var g=d3_document.createElementNS(d3.ns.prefix.svg,"g");return(d3.transform=function(string){if(null!=string){g.setAttribute("transform",string);var t=g.transform.baseVal.consolidate()}return new d3_transform(t?t.matrix:d3_transformIdentity)})(string)};function d3_transform(m){var r0=[m.a,m.b],r1=[m.c,m.d],kx=d3_transformNormalize(r0),kz=d3_transformDot(r0,r1),ky=d3_transformNormalize(d3_transformCombine(r1,r0,-kz))||0;if(r0[0]*r1[1]<r1[0]*r0[1]){r0[0]*=-1;r0[1]*=-1;kx*=-1;kz*=-1}this.rotate=(kx?Math.atan2(r0[1],r0[0]):Math.atan2(-r1[0],r1[1]))*d3_degrees;this.translate=[m.e,m.f];this.scale=[kx,ky];this.skew=ky?Math.atan2(kz,ky)*d3_degrees:0}d3_transform.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};function d3_transformDot(a,b){return a[0]*b[0]+a[1]*b[1]}function d3_transformNormalize(a){var k=Math.sqrt(d3_transformDot(a,a));if(k){a[0]/=k;a[1]/=k}return k}function d3_transformCombine(a,b,k){a[0]+=k*b[0];a[1]+=k*b[1];return a}var d3_transformIdentity={a:1,b:0,c:0,d:1,e:0,f:0};d3.interpolateTransform=d3_interpolateTransform;function d3_interpolateTransform(a,b){var n,s=[],q=[],A=d3.transform(a),B=d3.transform(b),ta=A.translate,tb=B.translate,ra=A.rotate,rb=B.rotate,wa=A.skew,wb=B.skew,ka=A.scale,kb=B.scale;if(ta[0]!=tb[0]||ta[1]!=tb[1]){s.push("translate(",null,",",null,")");q.push({i:1,x:d3_interpolateNumber(ta[0],tb[0])},{i:3,x:d3_interpolateNumber(ta[1],tb[1])})}else tb[0]||tb[1]?s.push("translate("+tb+")"):s.push("");if(ra!=rb){ra-rb>180?rb+=360:rb-ra>180&&(ra+=360);q.push({i:s.push(s.pop()+"rotate(",null,")")-2,x:d3_interpolateNumber(ra,rb)})}else rb&&s.push(s.pop()+"rotate("+rb+")");wa!=wb?q.push({i:s.push(s.pop()+"skewX(",null,")")-2,x:d3_interpolateNumber(wa,wb)}):wb&&s.push(s.pop()+"skewX("+wb+")");if(ka[0]!=kb[0]||ka[1]!=kb[1]){n=s.push(s.pop()+"scale(",null,",",null,")");q.push({i:n-4,x:d3_interpolateNumber(ka[0],kb[0])},{i:n-2,x:d3_interpolateNumber(ka[1],kb[1])})}else 1==kb[0]&&1==kb[1]||s.push(s.pop()+"scale("+kb+")");n=q.length;return function(t){var o,i=-1;while(++i<n)s[(o=q[i]).i]=o.x(t);return s.join("")}}function d3_uninterpolateNumber(a,b){b=(b-=a=+a)||1/b;return function(x){return(x-a)/b}}function d3_uninterpolateClamp(a,b){b=(b-=a=+a)||1/b;return function(x){return Math.max(0,Math.min(1,(x-a)/b))}}d3.layout={};d3.layout.bundle=function(){return function(links){var paths=[],i=-1,n=links.length;while(++i<n)paths.push(d3_layout_bundlePath(links[i]));return paths}};function d3_layout_bundlePath(link){var start=link.source,end=link.target,lca=d3_layout_bundleLeastCommonAncestor(start,end),points=[start];while(start!==lca){start=start.parent;points.push(start)}var k=points.length;while(end!==lca){points.splice(k,0,end);end=end.parent}return points}function d3_layout_bundleAncestors(node){var ancestors=[],parent=node.parent;while(null!=parent){ancestors.push(node);node=parent;parent=parent.parent}ancestors.push(node);return ancestors}function d3_layout_bundleLeastCommonAncestor(a,b){if(a===b)return a;var aNodes=d3_layout_bundleAncestors(a),bNodes=d3_layout_bundleAncestors(b),aNode=aNodes.pop(),bNode=bNodes.pop(),sharedNode=null;while(aNode===bNode){sharedNode=aNode;aNode=aNodes.pop();bNode=bNodes.pop()}return sharedNode}d3.layout.chord=function(){var chords,groups,matrix,n,sortGroups,sortSubgroups,sortChords,chord={},padding=0;function relayout(){var k,x,x0,i,j,subgroups={},groupSums=[],groupIndex=d3.range(n),subgroupIndex=[];chords=[];groups=[];k=0,i=-1;while(++i<n){x=0,j=-1;while(++j<n)x+=matrix[i][j];groupSums.push(x);subgroupIndex.push(d3.range(n));k+=x}sortGroups&&groupIndex.sort(function(a,b){return sortGroups(groupSums[a],groupSums[b])});sortSubgroups&&subgroupIndex.forEach(function(d,i){d.sort(function(a,b){return sortSubgroups(matrix[i][a],matrix[i][b])})});k=(τ-padding*n)/k;x=0,i=-1;while(++i<n){x0=x,j=-1;while(++j<n){var di=groupIndex[i],dj=subgroupIndex[di][j],v=matrix[di][dj],a0=x,a1=x+=v*k;subgroups[di+"-"+dj]={index:di,subindex:dj,startAngle:a0,endAngle:a1,value:v}}groups[di]={index:di,startAngle:x0,endAngle:x,value:(x-x0)/k};x+=padding}i=-1;while(++i<n){j=i-1;while(++j<n){var source=subgroups[i+"-"+j],target=subgroups[j+"-"+i];(source.value||target.value)&&chords.push(source.value<target.value?{source:target,target:source}:{source:source,target:target})}}sortChords&&resort()}function resort(){chords.sort(function(a,b){return sortChords((a.source.value+a.target.value)/2,(b.source.value+b.target.value)/2)})}chord.matrix=function(x){if(!arguments.length)return matrix;n=(matrix=x)&&matrix.length;chords=groups=null;return chord};chord.padding=function(x){if(!arguments.length)return padding;padding=x;chords=groups=null;return chord};chord.sortGroups=function(x){if(!arguments.length)return sortGroups;sortGroups=x;chords=groups=null;return chord};chord.sortSubgroups=function(x){if(!arguments.length)return sortSubgroups;sortSubgroups=x;chords=null;return chord};chord.sortChords=function(x){if(!arguments.length)return sortChords;sortChords=x;chords&&resort();return chord};chord.chords=function(){chords||relayout();return chords};chord.groups=function(){groups||relayout();return groups};return chord};d3.layout.force=function(){var drag,alpha,distances,strengths,charges,force={},event=d3.dispatch("start","tick","end"),size=[1,1],friction=.9,linkDistance=d3_layout_forceLinkDistance,linkStrength=d3_layout_forceLinkStrength,charge=-30,chargeDistance2=d3_layout_forceChargeDistance2,gravity=.1,theta2=.64,nodes=[],links=[];function repulse(node){return function(quad,x1,_,x2){if(quad.point!==node){var dx=quad.cx-node.x,dy=quad.cy-node.y,dw=x2-x1,dn=dx*dx+dy*dy;if(dw*dw/theta2<dn){if(dn<chargeDistance2){var k=quad.charge/dn;node.px-=dx*k;node.py-=dy*k}return true}if(quad.point&&dn&&dn<chargeDistance2){k=quad.pointCharge/dn;node.px-=dx*k;node.py-=dy*k}}return!quad.charge}}force.tick=function(){if((alpha*=.99)<.005){event.end({type:"end",alpha:alpha=0});return true}var q,i,o,s,t,l,k,x,y,n=nodes.length,m=links.length;for(i=0;i<m;++i){o=links[i];s=o.source;t=o.target;x=t.x-s.x;y=t.y-s.y;if(l=x*x+y*y){l=alpha*strengths[i]*((l=Math.sqrt(l))-distances[i])/l;x*=l;y*=l;t.x-=x*(k=s.weight/(t.weight+s.weight));t.y-=y*k;s.x+=x*(k=1-k);s.y+=y*k}}if(k=alpha*gravity){x=size[0]/2;y=size[1]/2;i=-1;if(k)while(++i<n){o=nodes[i];o.x+=(x-o.x)*k;o.y+=(y-o.y)*k}}if(charge){d3_layout_forceAccumulate(q=d3.geom.quadtree(nodes),alpha,charges);i=-1;while(++i<n)(o=nodes[i]).fixed||q.visit(repulse(o))}i=-1;while(++i<n){o=nodes[i];if(o.fixed){o.x=o.px;o.y=o.py}else{o.x-=(o.px-(o.px=o.x))*friction;o.y-=(o.py-(o.py=o.y))*friction}}event.tick({type:"tick",alpha:alpha})};force.nodes=function(x){if(!arguments.length)return nodes;nodes=x;return force};force.links=function(x){if(!arguments.length)return links;links=x;return force};force.size=function(x){if(!arguments.length)return size;size=x;return force};force.linkDistance=function(x){if(!arguments.length)return linkDistance;linkDistance="function"===typeof x?x:+x;return force};force.distance=force.linkDistance;force.linkStrength=function(x){if(!arguments.length)return linkStrength;linkStrength="function"===typeof x?x:+x;return force};force.friction=function(x){if(!arguments.length)return friction;friction=+x;return force};force.charge=function(x){if(!arguments.length)return charge;charge="function"===typeof x?x:+x;return force};force.chargeDistance=function(x){if(!arguments.length)return Math.sqrt(chargeDistance2);chargeDistance2=x*x;return force};force.gravity=function(x){if(!arguments.length)return gravity;gravity=+x;return force};force.theta=function(x){if(!arguments.length)return Math.sqrt(theta2);theta2=x*x;return force};force.alpha=function(x){if(!arguments.length)return alpha;x=+x;if(alpha)alpha=x>0?x:0;else if(x>0){event.start({type:"start",alpha:alpha=x});d3.timer(force.tick)}return force};force.start=function(){var i,neighbors,o,n=nodes.length,m=links.length,w=size[0],h=size[1];for(i=0;i<n;++i){(o=nodes[i]).index=i;o.weight=0}for(i=0;i<m;++i){o=links[i];"number"==typeof o.source&&(o.source=nodes[o.source]);"number"==typeof o.target&&(o.target=nodes[o.target]);++o.source.weight;++o.target.weight}for(i=0;i<n;++i){o=nodes[i];isNaN(o.x)&&(o.x=position("x",w));isNaN(o.y)&&(o.y=position("y",h));isNaN(o.px)&&(o.px=o.x);isNaN(o.py)&&(o.py=o.y)}distances=[];if("function"===typeof linkDistance)for(i=0;i<m;++i)distances[i]=+linkDistance.call(this,links[i],i);else for(i=0;i<m;++i)distances[i]=linkDistance;strengths=[];if("function"===typeof linkStrength)for(i=0;i<m;++i)strengths[i]=+linkStrength.call(this,links[i],i);else for(i=0;i<m;++i)strengths[i]=linkStrength;charges=[];if("function"===typeof charge)for(i=0;i<n;++i)charges[i]=+charge.call(this,nodes[i],i);else for(i=0;i<n;++i)charges[i]=charge;function position(dimension,size){if(!neighbors){neighbors=new Array(n);for(j=0;j<n;++j)neighbors[j]=[];for(j=0;j<m;++j){var o=links[j];neighbors[o.source.index].push(o.target);neighbors[o.target.index].push(o.source)}}var x,candidates=neighbors[i],j=-1,l=candidates.length;while(++j<l)if(!isNaN(x=candidates[j][dimension]))return x;return Math.random()*size}return force.resume()};force.resume=function(){return force.alpha(.1)};force.stop=function(){return force.alpha(0)};force.drag=function(){drag||(drag=d3.behavior.drag().origin(d3_identity).on("dragstart.force",d3_layout_forceDragstart).on("drag.force",dragmove).on("dragend.force",d3_layout_forceDragend));if(!arguments.length)return drag;this.on("mouseover.force",d3_layout_forceMouseover).on("mouseout.force",d3_layout_forceMouseout).call(drag)};function dragmove(d){d.px=d3.event.x,d.py=d3.event.y;force.resume()}return d3.rebind(force,event,"on")};function d3_layout_forceDragstart(d){d.fixed|=2}function d3_layout_forceDragend(d){d.fixed&=-7}function d3_layout_forceMouseover(d){d.fixed|=4;d.px=d.x,d.py=d.y}function d3_layout_forceMouseout(d){d.fixed&=-5}function d3_layout_forceAccumulate(quad,alpha,charges){var cx=0,cy=0;quad.charge=0;if(!quad.leaf){var c,nodes=quad.nodes,n=nodes.length,i=-1;while(++i<n){c=nodes[i];if(null==c)continue;d3_layout_forceAccumulate(c,alpha,charges);quad.charge+=c.charge;cx+=c.charge*c.cx;cy+=c.charge*c.cy}}if(quad.point){if(!quad.leaf){quad.point.x+=Math.random()-.5;quad.point.y+=Math.random()-.5}var k=alpha*charges[quad.point.index];quad.charge+=quad.pointCharge=k;cx+=k*quad.point.x;cy+=k*quad.point.y}quad.cx=cx/quad.charge;quad.cy=cy/quad.charge}var d3_layout_forceLinkDistance=20,d3_layout_forceLinkStrength=1,d3_layout_forceChargeDistance2=Infinity;d3.layout.hierarchy=function(){var sort=d3_layout_hierarchySort,children=d3_layout_hierarchyChildren,value=d3_layout_hierarchyValue;function hierarchy(root){var node,stack=[root],nodes=[];root.depth=0;while(null!=(node=stack.pop())){nodes.push(node);if((childs=children.call(hierarchy,node,node.depth))&&(n=childs.length)){var n,childs,child;while(--n>=0){stack.push(child=childs[n]);child.parent=node;child.depth=node.depth+1}value&&(node.value=0);node.children=childs}else{value&&(node.value=+value.call(hierarchy,node,node.depth)||0);delete node.children}}d3_layout_hierarchyVisitAfter(root,function(node){var childs,parent;sort&&(childs=node.children)&&childs.sort(sort);value&&(parent=node.parent)&&(parent.value+=node.value)});return nodes}hierarchy.sort=function(x){if(!arguments.length)return sort;sort=x;return hierarchy};hierarchy.children=function(x){if(!arguments.length)return children;children=x;return hierarchy};hierarchy.value=function(x){if(!arguments.length)return value;value=x;return hierarchy};hierarchy.revalue=function(root){if(value){d3_layout_hierarchyVisitBefore(root,function(node){node.children&&(node.value=0)});d3_layout_hierarchyVisitAfter(root,function(node){var parent;node.children||(node.value=+value.call(hierarchy,node,node.depth)||0);(parent=node.parent)&&(parent.value+=node.value)})}return root};return hierarchy};function d3_layout_hierarchyRebind(object,hierarchy){d3.rebind(object,hierarchy,"sort","children","value");object.nodes=object;object.links=d3_layout_hierarchyLinks;return object}function d3_layout_hierarchyVisitBefore(node,callback){var nodes=[node];while(null!=(node=nodes.pop())){callback(node);if((children=node.children)&&(n=children.length)){var n,children;while(--n>=0)nodes.push(children[n])}}}function d3_layout_hierarchyVisitAfter(node,callback){var nodes=[node],nodes2=[];while(null!=(node=nodes.pop())){nodes2.push(node);if((children=node.children)&&(n=children.length)){var n,children,i=-1;while(++i<n)nodes.push(children[i])}}while(null!=(node=nodes2.pop()))callback(node)}function d3_layout_hierarchyChildren(d){return d.children}function d3_layout_hierarchyValue(d){return d.value}function d3_layout_hierarchySort(a,b){return b.value-a.value}function d3_layout_hierarchyLinks(nodes){return d3.merge(nodes.map(function(parent){return(parent.children||[]).map(function(child){return{source:parent,target:child}})}))}d3.layout.partition=function(){var hierarchy=d3.layout.hierarchy(),size=[1,1];function position(node,x,dx,dy){var children=node.children;node.x=x;node.y=node.depth*dy;node.dx=dx;node.dy=dy;if(children&&(n=children.length)){var n,c,d,i=-1;dx=node.value?dx/node.value:0;while(++i<n){position(c=children[i],x,d=c.value*dx,dy);x+=d}}}function depth(node){var children=node.children,d=0;if(children&&(n=children.length)){var n,i=-1;while(++i<n)d=Math.max(d,depth(children[i]))}return 1+d}function partition(d,i){var nodes=hierarchy.call(this,d,i);position(nodes[0],0,size[0],size[1]/depth(nodes[0]));return nodes}partition.size=function(x){if(!arguments.length)return size;size=x;return partition};return d3_layout_hierarchyRebind(partition,hierarchy)};d3.layout.pie=function(){var value=Number,sort=d3_layout_pieSortByValue,startAngle=0,endAngle=τ,padAngle=0;function pie(data){var v,n=data.length,values=data.map(function(d,i){return+value.call(pie,d,i)}),a=+("function"===typeof startAngle?startAngle.apply(this,arguments):startAngle),da=("function"===typeof endAngle?endAngle.apply(this,arguments):endAngle)-a,p=Math.min(Math.abs(da)/n,+("function"===typeof padAngle?padAngle.apply(this,arguments):padAngle)),pa=p*(da<0?-1:1),k=(da-n*pa)/d3.sum(values),index=d3.range(n),arcs=[];null!=sort&&index.sort(sort===d3_layout_pieSortByValue?function(i,j){return values[j]-values[i]}:function(i,j){return sort(data[i],data[j])});index.forEach(function(i){arcs[i]={data:data[i],value:v=values[i],startAngle:a,endAngle:a+=v*k+pa,padAngle:p}});return arcs}pie.value=function(_){if(!arguments.length)return value;value=_;return pie};pie.sort=function(_){if(!arguments.length)return sort;sort=_;return pie};pie.startAngle=function(_){if(!arguments.length)return startAngle;startAngle=_;return pie};pie.endAngle=function(_){if(!arguments.length)return endAngle;endAngle=_;return pie};pie.padAngle=function(_){if(!arguments.length)return padAngle;padAngle=_;return pie};return pie};var d3_layout_pieSortByValue={};d3.layout.stack=function(){var values=d3_identity,order=d3_layout_stackOrderDefault,offset=d3_layout_stackOffsetZero,out=d3_layout_stackOut,x=d3_layout_stackX,y=d3_layout_stackY;function stack(data,index){if(!(n=data.length))return data;var series=data.map(function(d,i){return values.call(stack,d,i)});var points=series.map(function(d){return d.map(function(v,i){return[x.call(stack,v,i),y.call(stack,v,i)]})});var orders=order.call(stack,points,index);series=d3.permute(series,orders);points=d3.permute(points,orders);var offsets=offset.call(stack,points,index);var n,i,j,o,m=series[0].length;for(j=0;j<m;++j){out.call(stack,series[0][j],o=offsets[j],points[0][j][1]);for(i=1;i<n;++i)out.call(stack,series[i][j],o+=points[i-1][j][1],points[i][j][1])}return data}stack.values=function(x){if(!arguments.length)return values;values=x;return stack};stack.order=function(x){if(!arguments.length)return order;order="function"===typeof x?x:d3_layout_stackOrders.get(x)||d3_layout_stackOrderDefault;return stack};stack.offset=function(x){if(!arguments.length)return offset;offset="function"===typeof x?x:d3_layout_stackOffsets.get(x)||d3_layout_stackOffsetZero;return stack};stack.x=function(z){if(!arguments.length)return x;x=z;return stack};stack.y=function(z){if(!arguments.length)return y;y=z;return stack};stack.out=function(z){if(!arguments.length)return out;out=z;return stack};return stack};function d3_layout_stackX(d){return d.x}function d3_layout_stackY(d){return d.y}function d3_layout_stackOut(d,y0,y){d.y0=y0;d.y=y}var d3_layout_stackOrders=d3.map({"inside-out":function(data){var i,j,n=data.length,max=data.map(d3_layout_stackMaxIndex),sums=data.map(d3_layout_stackReduceSum),index=d3.range(n).sort(function(a,b){return max[a]-max[b]}),top=0,bottom=0,tops=[],bottoms=[];for(i=0;i<n;++i){j=index[i];if(top<bottom){top+=sums[j];tops.push(j)}else{bottom+=sums[j];bottoms.push(j)}}return bottoms.reverse().concat(tops)},reverse:function(data){return d3.range(data.length).reverse()},default:d3_layout_stackOrderDefault});var d3_layout_stackOffsets=d3.map({silhouette:function(data){var i,j,o,n=data.length,m=data[0].length,sums=[],max=0,y0=[];for(j=0;j<m;++j){for(i=0,o=0;i<n;i++)o+=data[i][j][1];o>max&&(max=o);sums.push(o)}for(j=0;j<m;++j)y0[j]=(max-sums[j])/2;return y0},wiggle:function(data){var i,j,k,s1,s2,s3,dx,o,o0,n=data.length,x=data[0],m=x.length,y0=[];y0[0]=o=o0=0;for(j=1;j<m;++j){for(i=0,s1=0;i<n;++i)s1+=data[i][j][1];for(i=0,s2=0,dx=x[j][0]-x[j-1][0];i<n;++i){for(k=0,s3=(data[i][j][1]-data[i][j-1][1])/(2*dx);k<i;++k)s3+=(data[k][j][1]-data[k][j-1][1])/dx;s2+=s3*data[i][j][1]}y0[j]=o-=s1?s2/s1*dx:0;o<o0&&(o0=o)}for(j=0;j<m;++j)y0[j]-=o0;return y0},expand:function(data){var i,j,o,n=data.length,m=data[0].length,k=1/n,y0=[];for(j=0;j<m;++j){for(i=0,o=0;i<n;i++)o+=data[i][j][1];if(o)for(i=0;i<n;i++)data[i][j][1]/=o;else for(i=0;i<n;i++)data[i][j][1]=k}for(j=0;j<m;++j)y0[j]=0;return y0},zero:d3_layout_stackOffsetZero});function d3_layout_stackOrderDefault(data){return d3.range(data.length)}function d3_layout_stackOffsetZero(data){var j=-1,m=data[0].length,y0=[];while(++j<m)y0[j]=0;return y0}function d3_layout_stackMaxIndex(array){var k,i=1,j=0,v=array[0][1],n=array.length;for(;i<n;++i)if((k=array[i][1])>v){j=i;v=k}return j}function d3_layout_stackReduceSum(d){return d.reduce(d3_layout_stackSum,0)}function d3_layout_stackSum(p,d){return p+d[1]}d3.layout.histogram=function(){var frequency=true,valuer=Number,ranger=d3_layout_histogramRange,binner=d3_layout_histogramBinSturges;function histogram(data,i){var bin,x,bins=[],values=data.map(valuer,this),range=ranger.call(this,values,i),thresholds=binner.call(this,range,values,i),n=(i=-1,values.length),m=thresholds.length-1,k=frequency?1:1/n;while(++i<m){bin=bins[i]=[];bin.dx=thresholds[i+1]-(bin.x=thresholds[i]);bin.y=0}if(m>0){i=-1;while(++i<n){x=values[i];if(x>=range[0]&&x<=range[1]){bin=bins[d3.bisect(thresholds,x,1,m)-1];bin.y+=k;bin.push(data[i])}}}return bins}histogram.value=function(x){if(!arguments.length)return valuer;valuer=x;return histogram};histogram.range=function(x){if(!arguments.length)return ranger;ranger=d3_functor(x);return histogram};histogram.bins=function(x){if(!arguments.length)return binner;binner="number"===typeof x?function(range){return d3_layout_histogramBinFixed(range,x)}:d3_functor(x);return histogram};histogram.frequency=function(x){if(!arguments.length)return frequency;frequency=!!x;return histogram};return histogram};function d3_layout_histogramBinSturges(range,values){return d3_layout_histogramBinFixed(range,Math.ceil(Math.log(values.length)/Math.LN2+1))}function d3_layout_histogramBinFixed(range,n){var x=-1,b=+range[0],m=(range[1]-b)/n,f=[];while(++x<=n)f[x]=m*x+b;return f}function d3_layout_histogramRange(values){return[d3.min(values),d3.max(values)]}d3.layout.pack=function(){var radius,hierarchy=d3.layout.hierarchy().sort(d3_layout_packSort),padding=0,size=[1,1];function pack(d,i){var nodes=hierarchy.call(this,d,i),root=nodes[0],w=size[0],h=size[1],r=null==radius?Math.sqrt:"function"===typeof radius?radius:function(){return radius};root.x=root.y=0;d3_layout_hierarchyVisitAfter(root,function(d){d.r=+r(d.value)});d3_layout_hierarchyVisitAfter(root,d3_layout_packSiblings);if(padding){var dr=padding*(radius?1:Math.max(2*root.r/w,2*root.r/h))/2;d3_layout_hierarchyVisitAfter(root,function(d){d.r+=dr});d3_layout_hierarchyVisitAfter(root,d3_layout_packSiblings);d3_layout_hierarchyVisitAfter(root,function(d){d.r-=dr})}d3_layout_packTransform(root,w/2,h/2,radius?1:1/Math.max(2*root.r/w,2*root.r/h));return nodes}pack.size=function(_){if(!arguments.length)return size;size=_;return pack};pack.radius=function(_){if(!arguments.length)return radius;radius=null==_||"function"===typeof _?_:+_;return pack};pack.padding=function(_){if(!arguments.length)return padding;padding=+_;return pack};return d3_layout_hierarchyRebind(pack,hierarchy)};function d3_layout_packSort(a,b){return a.value-b.value}function d3_layout_packInsert(a,b){var c=a._pack_next;a._pack_next=b;b._pack_prev=a;b._pack_next=c;c._pack_prev=b}function d3_layout_packSplice(a,b){a._pack_next=b;b._pack_prev=a}function d3_layout_packIntersects(a,b){var dx=b.x-a.x,dy=b.y-a.y,dr=a.r+b.r;return.999*dr*dr>dx*dx+dy*dy}function d3_layout_packSiblings(node){if(!(nodes=node.children)||!(n=nodes.length))return;var nodes,a,b,c,i,j,k,n,xMin=Infinity,xMax=-Infinity,yMin=Infinity,yMax=-Infinity;function bound(node){xMin=Math.min(node.x-node.r,xMin);xMax=Math.max(node.x+node.r,xMax);yMin=Math.min(node.y-node.r,yMin);yMax=Math.max(node.y+node.r,yMax)}nodes.forEach(d3_layout_packLink);a=nodes[0];a.x=-a.r;a.y=0;bound(a);if(n>1){b=nodes[1];b.x=b.r;b.y=0;bound(b);if(n>2){c=nodes[2];d3_layout_packPlace(a,b,c);bound(c);d3_layout_packInsert(a,c);a._pack_prev=c;d3_layout_packInsert(c,b);b=a._pack_next;for(i=3;i<n;i++){d3_layout_packPlace(a,b,c=nodes[i]);var isect=0,s1=1,s2=1;for(j=b._pack_next;j!==b;j=j._pack_next,s1++)if(d3_layout_packIntersects(j,c)){isect=1;break}if(1==isect)for(k=a._pack_prev;k!==j._pack_prev;k=k._pack_prev,s2++)if(d3_layout_packIntersects(k,c))break;if(isect){s1<s2||s1==s2&&b.r<a.r?d3_layout_packSplice(a,b=j):d3_layout_packSplice(a=k,b);i--}else{d3_layout_packInsert(a,c);b=c;bound(c)}}}}var cx=(xMin+xMax)/2,cy=(yMin+yMax)/2,cr=0;for(i=0;i<n;i++){c=nodes[i];c.x-=cx;c.y-=cy;cr=Math.max(cr,c.r+Math.sqrt(c.x*c.x+c.y*c.y))}node.r=cr;nodes.forEach(d3_layout_packUnlink)}function d3_layout_packLink(node){node._pack_next=node._pack_prev=node}function d3_layout_packUnlink(node){delete node._pack_next;delete node._pack_prev}function d3_layout_packTransform(node,x,y,k){var children=node.children;node.x=x+=k*node.x;node.y=y+=k*node.y;node.r*=k;if(children){var i=-1,n=children.length;while(++i<n)d3_layout_packTransform(children[i],x,y,k)}}function d3_layout_packPlace(a,b,c){var db=a.r+c.r,dx=b.x-a.x,dy=b.y-a.y;if(db&&(dx||dy)){var da=b.r+c.r,dc=dx*dx+dy*dy;da*=da;db*=db;var x=.5+(db-da)/(2*dc),y=Math.sqrt(Math.max(0,2*da*(db+dc)-(db-=dc)*db-da*da))/(2*dc);c.x=a.x+x*dx+y*dy;c.y=a.y+x*dy-y*dx}else{c.x=a.x+db;c.y=a.y}}d3.layout.tree=function(){var hierarchy=d3.layout.hierarchy().sort(null).value(null),separation=d3_layout_treeSeparation,size=[1,1],nodeSize=null;function tree(d,i){var nodes=hierarchy.call(this,d,i),root0=nodes[0],root1=wrapTree(root0);d3_layout_hierarchyVisitAfter(root1,firstWalk),root1.parent.m=-root1.z;d3_layout_hierarchyVisitBefore(root1,secondWalk);if(nodeSize)d3_layout_hierarchyVisitBefore(root0,sizeNode);else{var left=root0,right=root0,bottom=root0;d3_layout_hierarchyVisitBefore(root0,function(node){node.x<left.x&&(left=node);node.x>right.x&&(right=node);node.depth>bottom.depth&&(bottom=node)});var tx=separation(left,right)/2-left.x,kx=size[0]/(right.x+separation(right,left)/2+tx),ky=size[1]/(bottom.depth||1);d3_layout_hierarchyVisitBefore(root0,function(node){node.x=(node.x+tx)*kx;node.y=node.depth*ky})}return nodes}function wrapTree(root0){var node1,root1={A:null,children:[root0]},queue=[root1];while(null!=(node1=queue.pop()))for(var child,children=node1.children,i=0,n=children.length;i<n;++i)queue.push((children[i]=child={_:children[i],parent:node1,children:(child=children[i].children)&&child.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:i}).a=child);return root1.children[0]}function firstWalk(v){var children=v.children,siblings=v.parent.children,w=v.i?siblings[v.i-1]:null;if(children.length){d3_layout_treeShift(v);var midpoint=(children[0].z+children[children.length-1].z)/2;if(w){v.z=w.z+separation(v._,w._);v.m=v.z-midpoint}else v.z=midpoint}else w&&(v.z=w.z+separation(v._,w._));v.parent.A=apportion(v,w,v.parent.A||siblings[0])}function secondWalk(v){v._.x=v.z+v.parent.m;v.m+=v.parent.m}function apportion(v,w,ancestor){if(w){var shift,vip=v,vop=v,vim=w,vom=vip.parent.children[0],sip=vip.m,sop=vop.m,sim=vim.m,som=vom.m;while(vim=d3_layout_treeRight(vim),vip=d3_layout_treeLeft(vip),vim&&vip){vom=d3_layout_treeLeft(vom);vop=d3_layout_treeRight(vop);vop.a=v;shift=vim.z+sim-vip.z-sip+separation(vim._,vip._);if(shift>0){d3_layout_treeMove(d3_layout_treeAncestor(vim,v,ancestor),v,shift);sip+=shift;sop+=shift}sim+=vim.m;sip+=vip.m;som+=vom.m;sop+=vop.m}if(vim&&!d3_layout_treeRight(vop)){vop.t=vim;vop.m+=sim-sop}if(vip&&!d3_layout_treeLeft(vom)){vom.t=vip;vom.m+=sip-som;ancestor=v}}return ancestor}function sizeNode(node){node.x*=size[0];node.y=node.depth*size[1]}tree.separation=function(x){if(!arguments.length)return separation;separation=x;return tree};tree.size=function(x){if(!arguments.length)return nodeSize?null:size;nodeSize=null==(size=x)?sizeNode:null;return tree};tree.nodeSize=function(x){if(!arguments.length)return nodeSize?size:null;nodeSize=null==(size=x)?null:sizeNode;return tree};return d3_layout_hierarchyRebind(tree,hierarchy)};function d3_layout_treeSeparation(a,b){return a.parent==b.parent?1:2}function d3_layout_treeLeft(v){var children=v.children;return children.length?children[0]:v.t}function d3_layout_treeRight(v){var n,children=v.children;return(n=children.length)?children[n-1]:v.t}function d3_layout_treeMove(wm,wp,shift){var change=shift/(wp.i-wm.i);wp.c-=change;wp.s+=shift;wm.c+=change;wp.z+=shift;wp.m+=shift}function d3_layout_treeShift(v){var w,shift=0,change=0,children=v.children,i=children.length;while(--i>=0){w=children[i];w.z+=shift;w.m+=shift;shift+=w.s+(change+=w.c)}}function d3_layout_treeAncestor(vim,v,ancestor){return vim.a.parent===v.parent?vim.a:ancestor}d3.layout.cluster=function(){var hierarchy=d3.layout.hierarchy().sort(null).value(null),separation=d3_layout_treeSeparation,size=[1,1],nodeSize=false;function cluster(d,i){var previousNode,nodes=hierarchy.call(this,d,i),root=nodes[0],x=0;d3_layout_hierarchyVisitAfter(root,function(node){var children=node.children;if(children&&children.length){node.x=d3_layout_clusterX(children);node.y=d3_layout_clusterY(children)}else{node.x=previousNode?x+=separation(node,previousNode):0;node.y=0;previousNode=node}});var left=d3_layout_clusterLeft(root),right=d3_layout_clusterRight(root),x0=left.x-separation(left,right)/2,x1=right.x+separation(right,left)/2;d3_layout_hierarchyVisitAfter(root,nodeSize?function(node){node.x=(node.x-root.x)*size[0];node.y=(root.y-node.y)*size[1]}:function(node){node.x=(node.x-x0)/(x1-x0)*size[0];node.y=(1-(root.y?node.y/root.y:1))*size[1]});return nodes}cluster.separation=function(x){if(!arguments.length)return separation;separation=x;return cluster};cluster.size=function(x){if(!arguments.length)return nodeSize?null:size;nodeSize=null==(size=x);return cluster};cluster.nodeSize=function(x){if(!arguments.length)return nodeSize?size:null;nodeSize=null!=(size=x);return cluster};return d3_layout_hierarchyRebind(cluster,hierarchy)};function d3_layout_clusterY(children){return 1+d3.max(children,function(child){return child.y})}function d3_layout_clusterX(children){return children.reduce(function(x,child){return x+child.x},0)/children.length}function d3_layout_clusterLeft(node){var children=node.children;return children&&children.length?d3_layout_clusterLeft(children[0]):node}function d3_layout_clusterRight(node){var n,children=node.children;return children&&(n=children.length)?d3_layout_clusterRight(children[n-1]):node}d3.layout.treemap=function(){var stickies,hierarchy=d3.layout.hierarchy(),round=Math.round,size=[1,1],padding=null,pad=d3_layout_treemapPadNull,sticky=false,mode="squarify",ratio=.5*(1+Math.sqrt(5));function scale(children,k){var child,area,i=-1,n=children.length;while(++i<n){area=(child=children[i]).value*(k<0?0:k);child.area=isNaN(area)||area<=0?0:area}}function squarify(node){var children=node.children;if(children&&children.length){var child,score,n,rect=pad(node),row=[],remaining=children.slice(),best=Infinity,u="slice"===mode?rect.dx:"dice"===mode?rect.dy:"slice-dice"===mode?1&node.depth?rect.dy:rect.dx:Math.min(rect.dx,rect.dy);scale(remaining,rect.dx*rect.dy/node.value);row.area=0;while((n=remaining.length)>0){row.push(child=remaining[n-1]);row.area+=child.area;if("squarify"!==mode||(score=worst(row,u))<=best){remaining.pop();best=score}else{row.area-=row.pop().area;position(row,u,rect,false);u=Math.min(rect.dx,rect.dy);row.length=row.area=0;best=Infinity}}if(row.length){position(row,u,rect,true);row.length=row.area=0}children.forEach(squarify)}}function stickify(node){var children=node.children;if(children&&children.length){var child,rect=pad(node),remaining=children.slice(),row=[];scale(remaining,rect.dx*rect.dy/node.value);row.area=0;while(child=remaining.pop()){row.push(child);row.area+=child.area;if(null!=child.z){position(row,child.z?rect.dx:rect.dy,rect,!remaining.length);row.length=row.area=0}}children.forEach(stickify)}}function worst(row,u){var r,s=row.area,rmax=0,rmin=Infinity,i=-1,n=row.length;while(++i<n){if(!(r=row[i].area))continue;r<rmin&&(rmin=r);r>rmax&&(rmax=r)}s*=s;u*=u;return s?Math.max(u*rmax*ratio/s,s/(u*rmin*ratio)):Infinity}function position(row,u,rect,flush){var o,i=-1,n=row.length,x=rect.x,y=rect.y,v=u?round(row.area/u):0;if(u==rect.dx){(flush||v>rect.dy)&&(v=rect.dy);while(++i<n){o=row[i];o.x=x;o.y=y;o.dy=v;x+=o.dx=Math.min(rect.x+rect.dx-x,v?round(o.area/v):0)}o.z=true;o.dx+=rect.x+rect.dx-x;rect.y+=v;rect.dy-=v}else{(flush||v>rect.dx)&&(v=rect.dx);while(++i<n){o=row[i];o.x=x;o.y=y;o.dx=v;y+=o.dy=Math.min(rect.y+rect.dy-y,v?round(o.area/v):0)}o.z=false;o.dy+=rect.y+rect.dy-y;rect.x+=v;rect.dx-=v}}function treemap(d){var nodes=stickies||hierarchy(d),root=nodes[0];root.x=0;root.y=0;root.dx=size[0];root.dy=size[1];stickies&&hierarchy.revalue(root);scale([root],root.dx*root.dy/root.value);(stickies?stickify:squarify)(root);sticky&&(stickies=nodes);return nodes}treemap.size=function(x){if(!arguments.length)return size;size=x;return treemap};treemap.padding=function(x){if(!arguments.length)return padding;function padFunction(node){var p=x.call(treemap,node,node.depth);return null==p?d3_layout_treemapPadNull(node):d3_layout_treemapPad(node,"number"===typeof p?[p,p,p,p]:p)}function padConstant(node){return d3_layout_treemapPad(node,x)}var type;pad=null==(padding=x)?d3_layout_treemapPadNull:"function"===(type=typeof x)?padFunction:"number"===type?(x=[x,x,x,x],padConstant):padConstant;return treemap};treemap.round=function(x){if(!arguments.length)return round!=Number;round=x?Math.round:Number;return treemap};treemap.sticky=function(x){if(!arguments.length)return sticky;sticky=x;stickies=null;return treemap};treemap.ratio=function(x){if(!arguments.length)return ratio;ratio=x;return treemap};treemap.mode=function(x){if(!arguments.length)return mode;mode=x+"";return treemap};return d3_layout_hierarchyRebind(treemap,hierarchy)};function d3_layout_treemapPadNull(node){return{x:node.x,y:node.y,dx:node.dx,dy:node.dy}}function d3_layout_treemapPad(node,padding){var x=node.x+padding[3],y=node.y+padding[0],dx=node.dx-padding[1]-padding[3],dy=node.dy-padding[0]-padding[2];if(dx<0){x+=dx/2;dx=0}if(dy<0){y+=dy/2;dy=0}return{x:x,y:y,dx:dx,dy:dy}}d3.random={normal:function(µ,σ){var n=arguments.length;n<2&&(σ=1);n<1&&(µ=0);return function(){var x,y,r;do{x=2*Math.random()-1;y=2*Math.random()-1;r=x*x+y*y}while(!r||r>1);return µ+σ*x*Math.sqrt(-2*Math.log(r)/r)}},logNormal:function(){var random=d3.random.normal.apply(d3,arguments);return function(){return Math.exp(random())}},bates:function(m){var random=d3.random.irwinHall(m);return function(){return random()/m}},irwinHall:function(m){return function(){for(var s=0,j=0;j<m;j++)s+=Math.random();return s}}};d3.scale={};function d3_scaleExtent(domain){var start=domain[0],stop=domain[domain.length-1];return start<stop?[start,stop]:[stop,start]}function d3_scaleRange(scale){return scale.rangeExtent?scale.rangeExtent():d3_scaleExtent(scale.range())}function d3_scale_bilinear(domain,range,uninterpolate,interpolate){var u=uninterpolate(domain[0],domain[1]),i=interpolate(range[0],range[1]);return function(x){return i(u(x))}}function d3_scale_nice(domain,nice){var dx,i0=0,i1=domain.length-1,x0=domain[i0],x1=domain[i1];if(x1<x0){dx=i0,i0=i1,i1=dx;dx=x0,x0=x1,x1=dx}domain[i0]=nice.floor(x0);domain[i1]=nice.ceil(x1);return domain}function d3_scale_niceStep(step){return step?{floor:function(x){return Math.floor(x/step)*step},ceil:function(x){return Math.ceil(x/step)*step}}:d3_scale_niceIdentity}var d3_scale_niceIdentity={floor:d3_identity,ceil:d3_identity};function d3_scale_polylinear(domain,range,uninterpolate,interpolate){var u=[],i=[],j=0,k=Math.min(domain.length,range.length)-1;if(domain[k]<domain[0]){domain=domain.slice().reverse();range=range.slice().reverse()}while(++j<=k){u.push(uninterpolate(domain[j-1],domain[j]));i.push(interpolate(range[j-1],range[j]))}return function(x){var j=d3.bisect(domain,x,1,k)-1;return i[j](u[j](x))}}d3.scale.linear=function(){return d3_scale_linear([0,1],[0,1],d3_interpolate,false)};function d3_scale_linear(domain,range,interpolate,clamp){var output,input;function rescale(){var linear=Math.min(domain.length,range.length)>2?d3_scale_polylinear:d3_scale_bilinear,uninterpolate=clamp?d3_uninterpolateClamp:d3_uninterpolateNumber;output=linear(domain,range,uninterpolate,interpolate);input=linear(range,domain,uninterpolate,d3_interpolate);return scale}function scale(x){return output(x)}scale.invert=function(y){return input(y)};scale.domain=function(x){if(!arguments.length)return domain;domain=x.map(Number);return rescale()};scale.range=function(x){if(!arguments.length)return range;range=x;return rescale()};scale.rangeRound=function(x){return scale.range(x).interpolate(d3_interpolateRound)};scale.clamp=function(x){if(!arguments.length)return clamp;clamp=x;return rescale()};scale.interpolate=function(x){if(!arguments.length)return interpolate;interpolate=x;return rescale()};scale.ticks=function(m){return d3_scale_linearTicks(domain,m)};scale.tickFormat=function(m,format){return d3_scale_linearTickFormat(domain,m,format)};scale.nice=function(m){d3_scale_linearNice(domain,m);return rescale()};scale.copy=function(){return d3_scale_linear(domain,range,interpolate,clamp)};return rescale()}function d3_scale_linearRebind(scale,linear){return d3.rebind(scale,linear,"range","rangeRound","interpolate","clamp")}function d3_scale_linearNice(domain,m){return d3_scale_nice(domain,d3_scale_niceStep(d3_scale_linearTickRange(domain,m)[2]))}function d3_scale_linearTickRange(domain,m){null==m&&(m=10);var extent=d3_scaleExtent(domain),span=extent[1]-extent[0],step=Math.pow(10,Math.floor(Math.log(span/m)/Math.LN10)),err=m/span*step;err<=.15?step*=10:err<=.35?step*=5:err<=.75&&(step*=2);extent[0]=Math.ceil(extent[0]/step)*step;extent[1]=Math.floor(extent[1]/step)*step+.5*step;extent[2]=step;return extent}function d3_scale_linearTicks(domain,m){return d3.range.apply(d3,d3_scale_linearTickRange(domain,m))}function d3_scale_linearTickFormat(domain,m,format){var range=d3_scale_linearTickRange(domain,m);if(format){var match=d3_format_re.exec(format);match.shift();if("s"===match[8]){var prefix=d3.formatPrefix(Math.max(abs(range[0]),abs(range[1])));match[7]||(match[7]="."+d3_scale_linearPrecision(prefix.scale(range[2])));match[8]="f";format=d3.format(match.join(""));return function(d){return format(prefix.scale(d))+prefix.symbol}}match[7]||(match[7]="."+d3_scale_linearFormatPrecision(match[8],range));format=match.join("")}else format=",."+d3_scale_linearPrecision(range[2])+"f";return d3.format(format)}var d3_scale_linearFormatSignificant={s:1,g:1,p:1,r:1,e:1};function d3_scale_linearPrecision(value){return-Math.floor(Math.log(value)/Math.LN10+.01)}function d3_scale_linearFormatPrecision(type,range){var p=d3_scale_linearPrecision(range[2]);return type in d3_scale_linearFormatSignificant?Math.abs(p-d3_scale_linearPrecision(Math.max(abs(range[0]),abs(range[1]))))+ +("e"!==type):p-2*("%"===type)}d3.scale.log=function(){return d3_scale_log(d3.scale.linear().domain([0,1]),10,true,[1,10])};function d3_scale_log(linear,base,positive,domain){function log(x){return(positive?Math.log(x<0?0:x):-Math.log(x>0?0:-x))/Math.log(base)}function pow(x){return positive?Math.pow(base,x):-Math.pow(base,-x)}function scale(x){return linear(log(x))}scale.invert=function(x){return pow(linear.invert(x))};scale.domain=function(x){if(!arguments.length)return domain;positive=x[0]>=0;linear.domain((domain=x.map(Number)).map(log));return scale};scale.base=function(_){if(!arguments.length)return base;base=+_;linear.domain(domain.map(log));return scale};scale.nice=function(){var niced=d3_scale_nice(domain.map(log),positive?Math:d3_scale_logNiceNegative);linear.domain(niced);domain=niced.map(pow);return scale};scale.ticks=function(){var extent=d3_scaleExtent(domain),ticks=[],u=extent[0],v=extent[1],i=Math.floor(log(u)),j=Math.ceil(log(v)),n=base%1?2:base;if(isFinite(j-i)){if(positive){for(;i<j;i++)for(var k=1;k<n;k++)ticks.push(pow(i)*k);ticks.push(pow(i))}else{ticks.push(pow(i));for(;i++<j;)for(k=n-1;k>0;k--)ticks.push(pow(i)*k)}for(i=0;ticks[i]<u;i++);for(j=ticks.length;ticks[j-1]>v;j--);ticks=ticks.slice(i,j)}return ticks};scale.tickFormat=function(n,format){if(!arguments.length)return d3_scale_logFormat;arguments.length<2?format=d3_scale_logFormat:"function"!==typeof format&&(format=d3.format(format));var e,k=Math.max(.1,n/scale.ticks().length),f=positive?(e=1e-12,Math.ceil):(e=-1e-12,Math.floor);return function(d){return d/pow(f(log(d)+e))<=k?format(d):""}};scale.copy=function(){return d3_scale_log(linear.copy(),base,positive,domain)};return d3_scale_linearRebind(scale,linear)}var d3_scale_logFormat=d3.format(".0e"),d3_scale_logNiceNegative={floor:function(x){return-Math.ceil(-x)},ceil:function(x){return-Math.floor(-x)}};d3.scale.pow=function(){return d3_scale_pow(d3.scale.linear(),1,[0,1])};function d3_scale_pow(linear,exponent,domain){var powp=d3_scale_powPow(exponent),powb=d3_scale_powPow(1/exponent);function scale(x){return linear(powp(x))}scale.invert=function(x){return powb(linear.invert(x))};scale.domain=function(x){if(!arguments.length)return domain;linear.domain((domain=x.map(Number)).map(powp));return scale};scale.ticks=function(m){return d3_scale_linearTicks(domain,m)};scale.tickFormat=function(m,format){return d3_scale_linearTickFormat(domain,m,format)};scale.nice=function(m){return scale.domain(d3_scale_linearNice(domain,m))};scale.exponent=function(x){if(!arguments.length)return exponent;powp=d3_scale_powPow(exponent=x);powb=d3_scale_powPow(1/exponent);linear.domain(domain.map(powp));return scale};scale.copy=function(){return d3_scale_pow(linear.copy(),exponent,domain)};return d3_scale_linearRebind(scale,linear)}function d3_scale_powPow(e){return function(x){return x<0?-Math.pow(-x,e):Math.pow(x,e)}}d3.scale.sqrt=function(){return d3.scale.pow().exponent(.5)};d3.scale.ordinal=function(){return d3_scale_ordinal([],{t:"range",a:[[]]})};function d3_scale_ordinal(domain,ranger){var index,range,rangeBand;function scale(x){return range[((index.get(x)||("range"===ranger.t?index.set(x,domain.push(x)):NaN))-1)%range.length]}function steps(start,step){return d3.range(domain.length).map(function(i){return start+step*i})}scale.domain=function(x){if(!arguments.length)return domain;domain=[];index=new d3_Map;var xi,i=-1,n=x.length;while(++i<n)index.has(xi=x[i])||index.set(xi,domain.push(xi));return scale[ranger.t].apply(scale,ranger.a)};scale.range=function(x){if(!arguments.length)return range;range=x;rangeBand=0;ranger={t:"range",a:arguments};return scale};scale.rangePoints=function(x,padding){arguments.length<2&&(padding=0);var start=x[0],stop=x[1],step=domain.length<2?(start=(start+stop)/2,0):(stop-start)/(domain.length-1+padding);range=steps(start+step*padding/2,step);rangeBand=0;ranger={t:"rangePoints",a:arguments};return scale};scale.rangeRoundPoints=function(x,padding){arguments.length<2&&(padding=0);var start=x[0],stop=x[1],step=domain.length<2?(start=stop=Math.round((start+stop)/2),0):(stop-start)/(domain.length-1+padding)|0;range=steps(start+Math.round(step*padding/2+(stop-start-(domain.length-1+padding)*step)/2),step);rangeBand=0;ranger={t:"rangeRoundPoints",a:arguments};return scale};scale.rangeBands=function(x,padding,outerPadding){arguments.length<2&&(padding=0);arguments.length<3&&(outerPadding=padding);var reverse=x[1]<x[0],start=x[reverse-0],stop=x[1-reverse],step=(stop-start)/(domain.length-padding+2*outerPadding);range=steps(start+step*outerPadding,step);reverse&&range.reverse();rangeBand=step*(1-padding);ranger={t:"rangeBands",a:arguments};return scale};scale.rangeRoundBands=function(x,padding,outerPadding){arguments.length<2&&(padding=0);arguments.length<3&&(outerPadding=padding);var reverse=x[1]<x[0],start=x[reverse-0],stop=x[1-reverse],step=Math.floor((stop-start)/(domain.length-padding+2*outerPadding));range=steps(start+Math.round((stop-start-(domain.length-padding)*step)/2),step);reverse&&range.reverse();rangeBand=Math.round(step*(1-padding));ranger={t:"rangeRoundBands",a:arguments};return scale};scale.rangeBand=function(){return rangeBand};scale.rangeExtent=function(){return d3_scaleExtent(ranger.a[0])};scale.copy=function(){return d3_scale_ordinal(domain,ranger)};return scale.domain(domain)}d3.scale.category10=function(){return d3.scale.ordinal().range(d3_category10)};d3.scale.category20=function(){return d3.scale.ordinal().range(d3_category20)};d3.scale.category20b=function(){return d3.scale.ordinal().range(d3_category20b)};d3.scale.category20c=function(){return d3.scale.ordinal().range(d3_category20c)};var d3_category10=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(d3_rgbString);var d3_category20=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(d3_rgbString);var d3_category20b=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(d3_rgbString);var d3_category20c=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(d3_rgbString);d3.scale.quantile=function(){return d3_scale_quantile([],[])};function d3_scale_quantile(domain,range){var thresholds;function rescale(){var k=0,q=range.length;thresholds=[];while(++k<q)thresholds[k-1]=d3.quantile(domain,k/q);return scale}function scale(x){if(!isNaN(x=+x))return range[d3.bisect(thresholds,x)]}scale.domain=function(x){if(!arguments.length)return domain;domain=x.map(d3_number).filter(d3_numeric).sort(d3_ascending);return rescale()};scale.range=function(x){if(!arguments.length)return range;range=x;return rescale()};scale.quantiles=function(){return thresholds};scale.invertExtent=function(y){y=range.indexOf(y);return y<0?[NaN,NaN]:[y>0?thresholds[y-1]:domain[0],y<thresholds.length?thresholds[y]:domain[domain.length-1]]};scale.copy=function(){return d3_scale_quantile(domain,range)};return rescale()}d3.scale.quantize=function(){return d3_scale_quantize(0,1,[0,1])};function d3_scale_quantize(x0,x1,range){var kx,i;function scale(x){return range[Math.max(0,Math.min(i,Math.floor(kx*(x-x0))))]}function rescale(){kx=range.length/(x1-x0);i=range.length-1;return scale}scale.domain=function(x){if(!arguments.length)return[x0,x1];x0=+x[0];x1=+x[x.length-1];return rescale()};scale.range=function(x){if(!arguments.length)return range;range=x;return rescale()};scale.invertExtent=function(y){y=range.indexOf(y);y=y<0?NaN:y/kx+x0;return[y,y+1/kx]};scale.copy=function(){return d3_scale_quantize(x0,x1,range)};return rescale()}d3.scale.threshold=function(){return d3_scale_threshold([.5],[0,1])};function d3_scale_threshold(domain,range){function scale(x){if(x<=x)return range[d3.bisect(domain,x)]}scale.domain=function(_){if(!arguments.length)return domain;domain=_;return scale};scale.range=function(_){if(!arguments.length)return range;range=_;return scale};scale.invertExtent=function(y){y=range.indexOf(y);return[domain[y-1],domain[y]]};scale.copy=function(){return d3_scale_threshold(domain,range)};return scale}d3.scale.identity=function(){return d3_scale_identity([0,1])};function d3_scale_identity(domain){function identity(x){return+x}identity.invert=identity;identity.domain=identity.range=function(x){if(!arguments.length)return domain;domain=x.map(identity);return identity};identity.ticks=function(m){return d3_scale_linearTicks(domain,m)};identity.tickFormat=function(m,format){return d3_scale_linearTickFormat(domain,m,format)};identity.copy=function(){return d3_scale_identity(domain)};return identity}d3.svg={};function d3_zero(){return 0}d3.svg.arc=function(){var innerRadius=d3_svg_arcInnerRadius,outerRadius=d3_svg_arcOuterRadius,cornerRadius=d3_zero,padRadius=d3_svg_arcAuto,startAngle=d3_svg_arcStartAngle,endAngle=d3_svg_arcEndAngle,padAngle=d3_svg_arcPadAngle;function arc(){var r0=Math.max(0,+innerRadius.apply(this,arguments)),r1=Math.max(0,+outerRadius.apply(this,arguments)),a0=startAngle.apply(this,arguments)-halfπ,a1=endAngle.apply(this,arguments)-halfπ,da=Math.abs(a1-a0),cw=a0>a1?0:1;r1<r0&&(rc=r1,r1=r0,r0=rc);if(da>=τε)return circleSegment(r1,cw)+(r0?circleSegment(r0,1-cw):"")+"Z";var rc,cr,rp,ap,x0,y0,x1,y1,x2,y2,x3,y3,p0=0,p1=0,path=[];if(ap=(+padAngle.apply(this,arguments)||0)/2){rp=padRadius===d3_svg_arcAuto?Math.sqrt(r0*r0+r1*r1):+padRadius.apply(this,arguments);cw||(p1*=-1);r1&&(p1=d3_asin(rp/r1*Math.sin(ap)));r0&&(p0=d3_asin(rp/r0*Math.sin(ap)))}if(r1){x0=r1*Math.cos(a0+p1);y0=r1*Math.sin(a0+p1);x1=r1*Math.cos(a1-p1);y1=r1*Math.sin(a1-p1);var l1=Math.abs(a1-a0-2*p1)<=π?0:1;if(p1&&d3_svg_arcSweep(x0,y0,x1,y1)===cw^l1){var h1=(a0+a1)/2;x0=r1*Math.cos(h1);y0=r1*Math.sin(h1);x1=y1=null}}else x0=y0=0;if(r0){x2=r0*Math.cos(a1-p0);y2=r0*Math.sin(a1-p0);x3=r0*Math.cos(a0+p0);y3=r0*Math.sin(a0+p0);var l0=Math.abs(a0-a1+2*p0)<=π?0:1;if(p0&&d3_svg_arcSweep(x2,y2,x3,y3)===1-cw^l0){var h0=(a0+a1)/2;x2=r0*Math.cos(h0);y2=r0*Math.sin(h0);x3=y3=null}}else x2=y2=0;if((rc=Math.min(Math.abs(r1-r0)/2,+cornerRadius.apply(this,arguments)))>.001){cr=r0<r1^cw?0:1;var oc=null==x3?[x2,y2]:null==x1?[x0,y0]:d3_geom_polygonIntersect([x0,y0],[x3,y3],[x1,y1],[x2,y2]),ax=x0-oc[0],ay=y0-oc[1],bx=x1-oc[0],by=y1-oc[1],kc=1/Math.sin(Math.acos((ax*bx+ay*by)/(Math.sqrt(ax*ax+ay*ay)*Math.sqrt(bx*bx+by*by)))/2),lc=Math.sqrt(oc[0]*oc[0]+oc[1]*oc[1]);if(null!=x1){var rc1=Math.min(rc,(r1-lc)/(kc+1)),t30=d3_svg_arcCornerTangents(null==x3?[x2,y2]:[x3,y3],[x0,y0],r1,rc1,cw),t12=d3_svg_arcCornerTangents([x1,y1],[x2,y2],r1,rc1,cw);rc===rc1?path.push("M",t30[0],"A",rc1,",",rc1," 0 0,",cr," ",t30[1],"A",r1,",",r1," 0 ",1-cw^d3_svg_arcSweep(t30[1][0],t30[1][1],t12[1][0],t12[1][1]),",",cw," ",t12[1],"A",rc1,",",rc1," 0 0,",cr," ",t12[0]):path.push("M",t30[0],"A",rc1,",",rc1," 0 1,",cr," ",t12[0])}else path.push("M",x0,",",y0);if(null!=x3){var rc0=Math.min(rc,(r0-lc)/(kc-1)),t03=d3_svg_arcCornerTangents([x0,y0],[x3,y3],r0,-rc0,cw),t21=d3_svg_arcCornerTangents([x2,y2],null==x1?[x0,y0]:[x1,y1],r0,-rc0,cw);rc===rc0?path.push("L",t21[0],"A",rc0,",",rc0," 0 0,",cr," ",t21[1],"A",r0,",",r0," 0 ",cw^d3_svg_arcSweep(t21[1][0],t21[1][1],t03[1][0],t03[1][1]),",",1-cw," ",t03[1],"A",rc0,",",rc0," 0 0,",cr," ",t03[0]):path.push("L",t21[0],"A",rc0,",",rc0," 0 0,",cr," ",t03[0])}else path.push("L",x2,",",y2)}else{path.push("M",x0,",",y0);null!=x1&&path.push("A",r1,",",r1," 0 ",l1,",",cw," ",x1,",",y1);path.push("L",x2,",",y2);null!=x3&&path.push("A",r0,",",r0," 0 ",l0,",",1-cw," ",x3,",",y3)}path.push("Z");return path.join("")}function circleSegment(r1,cw){return"M0,"+r1+"A"+r1+","+r1+" 0 1,"+cw+" 0,"+-r1+"A"+r1+","+r1+" 0 1,"+cw+" 0,"+r1}arc.innerRadius=function(v){if(!arguments.length)return innerRadius;innerRadius=d3_functor(v);return arc};arc.outerRadius=function(v){if(!arguments.length)return outerRadius;outerRadius=d3_functor(v);return arc};arc.cornerRadius=function(v){if(!arguments.length)return cornerRadius;cornerRadius=d3_functor(v);return arc};arc.padRadius=function(v){if(!arguments.length)return padRadius;padRadius=v==d3_svg_arcAuto?d3_svg_arcAuto:d3_functor(v);return arc};arc.startAngle=function(v){if(!arguments.length)return startAngle;startAngle=d3_functor(v);return arc};arc.endAngle=function(v){if(!arguments.length)return endAngle;endAngle=d3_functor(v);return arc};arc.padAngle=function(v){if(!arguments.length)return padAngle;padAngle=d3_functor(v);return arc};arc.centroid=function(){var r=(+innerRadius.apply(this,arguments)+ +outerRadius.apply(this,arguments))/2,a=(+startAngle.apply(this,arguments)+ +endAngle.apply(this,arguments))/2-halfπ;return[Math.cos(a)*r,Math.sin(a)*r]};return arc};var d3_svg_arcAuto="auto";function d3_svg_arcInnerRadius(d){return d.innerRadius}function d3_svg_arcOuterRadius(d){return d.outerRadius}function d3_svg_arcStartAngle(d){return d.startAngle}function d3_svg_arcEndAngle(d){return d.endAngle}function d3_svg_arcPadAngle(d){return d&&d.padAngle}function d3_svg_arcSweep(x0,y0,x1,y1){return(x0-x1)*y0-(y0-y1)*x0>0?0:1}function d3_svg_arcCornerTangents(p0,p1,r1,rc,cw){var x01=p0[0]-p1[0],y01=p0[1]-p1[1],lo=(cw?rc:-rc)/Math.sqrt(x01*x01+y01*y01),ox=lo*y01,oy=-lo*x01,x1=p0[0]+ox,y1=p0[1]+oy,x2=p1[0]+ox,y2=p1[1]+oy,x3=(x1+x2)/2,y3=(y1+y2)/2,dx=x2-x1,dy=y2-y1,d2=dx*dx+dy*dy,r=r1-rc,D=x1*y2-x2*y1,d=(dy<0?-1:1)*Math.sqrt(r*r*d2-D*D),cx0=(D*dy-dx*d)/d2,cy0=(-D*dx-dy*d)/d2,cx1=(D*dy+dx*d)/d2,cy1=(-D*dx+dy*d)/d2,dx0=cx0-x3,dy0=cy0-y3,dx1=cx1-x3,dy1=cy1-y3;dx0*dx0+dy0*dy0>dx1*dx1+dy1*dy1&&(cx0=cx1,cy0=cy1);return[[cx0-ox,cy0-oy],[cx0*r1/r,cy0*r1/r]]}function d3_svg_line(projection){var x=d3_geom_pointX,y=d3_geom_pointY,defined=d3_true,interpolate=d3_svg_lineLinear,interpolateKey=interpolate.key,tension=.7;function line(data){var d,segments=[],points=[],i=-1,n=data.length,fx=d3_functor(x),fy=d3_functor(y);function segment(){segments.push("M",interpolate(projection(points),tension))}while(++i<n)if(defined.call(this,d=data[i],i))points.push([+fx.call(this,d,i),+fy.call(this,d,i)]);else if(points.length){segment();points=[]}points.length&&segment();return segments.length?segments.join(""):null}line.x=function(_){if(!arguments.length)return x;x=_;return line};line.y=function(_){if(!arguments.length)return y;y=_;return line};line.defined=function(_){if(!arguments.length)return defined;defined=_;return line};line.interpolate=function(_){if(!arguments.length)return interpolateKey;interpolateKey="function"===typeof _?interpolate=_:(interpolate=d3_svg_lineInterpolators.get(_)||d3_svg_lineLinear).key;return line};line.tension=function(_){if(!arguments.length)return tension;tension=_;return line};return line}d3.svg.line=function(){return d3_svg_line(d3_identity)};var d3_svg_lineInterpolators=d3.map({linear:d3_svg_lineLinear,"linear-closed":d3_svg_lineLinearClosed,step:d3_svg_lineStep,"step-before":d3_svg_lineStepBefore,"step-after":d3_svg_lineStepAfter,basis:d3_svg_lineBasis,"basis-open":d3_svg_lineBasisOpen,"basis-closed":d3_svg_lineBasisClosed,bundle:d3_svg_lineBundle,cardinal:d3_svg_lineCardinal,"cardinal-open":d3_svg_lineCardinalOpen,"cardinal-closed":d3_svg_lineCardinalClosed,monotone:d3_svg_lineMonotone});d3_svg_lineInterpolators.forEach(function(key,value){value.key=key;value.closed=/-closed$/.test(key)});function d3_svg_lineLinear(points){return points.join("L")}function d3_svg_lineLinearClosed(points){return d3_svg_lineLinear(points)+"Z"}function d3_svg_lineStep(points){var i=0,n=points.length,p=points[0],path=[p[0],",",p[1]];while(++i<n)path.push("H",(p[0]+(p=points[i])[0])/2,"V",p[1]);n>1&&path.push("H",p[0]);return path.join("")}function d3_svg_lineStepBefore(points){var i=0,n=points.length,p=points[0],path=[p[0],",",p[1]];while(++i<n)path.push("V",(p=points[i])[1],"H",p[0]);return path.join("")}function d3_svg_lineStepAfter(points){var i=0,n=points.length,p=points[0],path=[p[0],",",p[1]];while(++i<n)path.push("H",(p=points[i])[0],"V",p[1]);return path.join("")}function d3_svg_lineCardinalOpen(points,tension){return points.length<4?d3_svg_lineLinear(points):points[1]+d3_svg_lineHermite(points.slice(1,-1),d3_svg_lineCardinalTangents(points,tension))}function d3_svg_lineCardinalClosed(points,tension){return points.length<3?d3_svg_lineLinear(points):points[0]+d3_svg_lineHermite((points.push(points[0]),points),d3_svg_lineCardinalTangents([points[points.length-2]].concat(points,[points[1]]),tension))}function d3_svg_lineCardinal(points,tension){return points.length<3?d3_svg_lineLinear(points):points[0]+d3_svg_lineHermite(points,d3_svg_lineCardinalTangents(points,tension))}function d3_svg_lineHermite(points,tangents){if(tangents.length<1||points.length!=tangents.length&&points.length!=tangents.length+2)return d3_svg_lineLinear(points);var quad=points.length!=tangents.length,path="",p0=points[0],p=points[1],t0=tangents[0],t=t0,pi=1;if(quad){path+="Q"+(p[0]-2*t0[0]/3)+","+(p[1]-2*t0[1]/3)+","+p[0]+","+p[1];p0=points[1];pi=2}if(tangents.length>1){t=tangents[1];p=points[pi];pi++;path+="C"+(p0[0]+t0[0])+","+(p0[1]+t0[1])+","+(p[0]-t[0])+","+(p[1]-t[1])+","+p[0]+","+p[1];for(var i=2;i<tangents.length;i++,pi++){p=points[pi];t=tangents[i];path+="S"+(p[0]-t[0])+","+(p[1]-t[1])+","+p[0]+","+p[1]}}if(quad){var lp=points[pi];path+="Q"+(p[0]+2*t[0]/3)+","+(p[1]+2*t[1]/3)+","+lp[0]+","+lp[1]}return path}function d3_svg_lineCardinalTangents(points,tension){var p0,tangents=[],a=(1-tension)/2,p1=points[0],p2=points[1],i=1,n=points.length;while(++i<n){p0=p1;p1=p2;p2=points[i];tangents.push([a*(p2[0]-p0[0]),a*(p2[1]-p0[1])])}return tangents}function d3_svg_lineBasis(points){if(points.length<3)return d3_svg_lineLinear(points);var i=1,n=points.length,pi=points[0],x0=pi[0],y0=pi[1],px=[x0,x0,x0,(pi=points[1])[0]],py=[y0,y0,y0,pi[1]],path=[x0,",",y0,"L",d3_svg_lineDot4(d3_svg_lineBasisBezier3,px),",",d3_svg_lineDot4(d3_svg_lineBasisBezier3,py)];points.push(points[n-1]);while(++i<=n){pi=points[i];px.shift();px.push(pi[0]);py.shift();py.push(pi[1]);d3_svg_lineBasisBezier(path,px,py)}points.pop();path.push("L",pi);return path.join("")}function d3_svg_lineBasisOpen(points){if(points.length<4)return d3_svg_lineLinear(points);var pi,path=[],i=-1,n=points.length,px=[0],py=[0];while(++i<3){pi=points[i];px.push(pi[0]);py.push(pi[1])}path.push(d3_svg_lineDot4(d3_svg_lineBasisBezier3,px)+","+d3_svg_lineDot4(d3_svg_lineBasisBezier3,py));--i;while(++i<n){pi=points[i];px.shift();px.push(pi[0]);py.shift();py.push(pi[1]);d3_svg_lineBasisBezier(path,px,py)}return path.join("")}function d3_svg_lineBasisClosed(points){var path,pi,i=-1,n=points.length,m=n+4,px=[],py=[];while(++i<4){pi=points[i%n];px.push(pi[0]);py.push(pi[1])}path=[d3_svg_lineDot4(d3_svg_lineBasisBezier3,px),",",d3_svg_lineDot4(d3_svg_lineBasisBezier3,py)];--i;while(++i<m){pi=points[i%n];px.shift();px.push(pi[0]);py.shift();py.push(pi[1]);d3_svg_lineBasisBezier(path,px,py)}return path.join("")}function d3_svg_lineBundle(points,tension){var n=points.length-1;if(n){var p,t,x0=points[0][0],y0=points[0][1],dx=points[n][0]-x0,dy=points[n][1]-y0,i=-1;while(++i<=n){p=points[i];t=i/n;p[0]=tension*p[0]+(1-tension)*(x0+t*dx);p[1]=tension*p[1]+(1-tension)*(y0+t*dy)}}return d3_svg_lineBasis(points)}function d3_svg_lineDot4(a,b){return a[0]*b[0]+a[1]*b[1]+a[2]*b[2]+a[3]*b[3]}var d3_svg_lineBasisBezier1=[0,2/3,1/3,0],d3_svg_lineBasisBezier2=[0,1/3,2/3,0],d3_svg_lineBasisBezier3=[0,1/6,2/3,1/6];function d3_svg_lineBasisBezier(path,x,y){path.push("C",d3_svg_lineDot4(d3_svg_lineBasisBezier1,x),",",d3_svg_lineDot4(d3_svg_lineBasisBezier1,y),",",d3_svg_lineDot4(d3_svg_lineBasisBezier2,x),",",d3_svg_lineDot4(d3_svg_lineBasisBezier2,y),",",d3_svg_lineDot4(d3_svg_lineBasisBezier3,x),",",d3_svg_lineDot4(d3_svg_lineBasisBezier3,y))}function d3_svg_lineSlope(p0,p1){return(p1[1]-p0[1])/(p1[0]-p0[0])}function d3_svg_lineFiniteDifferences(points){var i=0,j=points.length-1,m=[],p0=points[0],p1=points[1],d=m[0]=d3_svg_lineSlope(p0,p1);while(++i<j)m[i]=(d+(d=d3_svg_lineSlope(p0=p1,p1=points[i+1])))/2;m[i]=d;return m}function d3_svg_lineMonotoneTangents(points){var d,a,b,s,tangents=[],m=d3_svg_lineFiniteDifferences(points),i=-1,j=points.length-1;while(++i<j){d=d3_svg_lineSlope(points[i],points[i+1]);if(abs(d)<ε)m[i]=m[i+1]=0;else{a=m[i]/d;b=m[i+1]/d;s=a*a+b*b;if(s>9){s=3*d/Math.sqrt(s);m[i]=s*a;m[i+1]=s*b}}}i=-1;while(++i<=j){s=(points[Math.min(j,i+1)][0]-points[Math.max(0,i-1)][0])/(6*(1+m[i]*m[i]));tangents.push([s||0,m[i]*s||0])}return tangents}function d3_svg_lineMonotone(points){return points.length<3?d3_svg_lineLinear(points):points[0]+d3_svg_lineHermite(points,d3_svg_lineMonotoneTangents(points))}d3.svg.line.radial=function(){var line=d3_svg_line(d3_svg_lineRadial);line.radius=line.x,delete line.x;line.angle=line.y,delete line.y;return line};function d3_svg_lineRadial(points){var point,r,a,i=-1,n=points.length;while(++i<n){point=points[i];r=point[0];a=point[1]-halfπ;point[0]=r*Math.cos(a);point[1]=r*Math.sin(a)}return points}function d3_svg_area(projection){var x0=d3_geom_pointX,x1=d3_geom_pointX,y0=0,y1=d3_geom_pointY,defined=d3_true,interpolate=d3_svg_lineLinear,interpolateKey=interpolate.key,interpolateReverse=interpolate,L="L",tension=.7;function area(data){var d,x,y,segments=[],points0=[],points1=[],i=-1,n=data.length,fx0=d3_functor(x0),fy0=d3_functor(y0),fx1=x0===x1?function(){return x}:d3_functor(x1),fy1=y0===y1?function(){return y}:d3_functor(y1);function segment(){segments.push("M",interpolate(projection(points1),tension),L,interpolateReverse(projection(points0.reverse()),tension),"Z")}while(++i<n)if(defined.call(this,d=data[i],i)){points0.push([x=+fx0.call(this,d,i),y=+fy0.call(this,d,i)]);points1.push([+fx1.call(this,d,i),+fy1.call(this,d,i)])}else if(points0.length){segment();points0=[];points1=[]}points0.length&&segment();return segments.length?segments.join(""):null}area.x=function(_){if(!arguments.length)return x1;x0=x1=_;return area};area.x0=function(_){if(!arguments.length)return x0;x0=_;return area};area.x1=function(_){if(!arguments.length)return x1;x1=_;return area};area.y=function(_){if(!arguments.length)return y1;y0=y1=_;return area};area.y0=function(_){if(!arguments.length)return y0;y0=_;return area};area.y1=function(_){if(!arguments.length)return y1;y1=_;return area};area.defined=function(_){if(!arguments.length)return defined;defined=_;return area};area.interpolate=function(_){if(!arguments.length)return interpolateKey;interpolateKey="function"===typeof _?interpolate=_:(interpolate=d3_svg_lineInterpolators.get(_)||d3_svg_lineLinear).key;interpolateReverse=interpolate.reverse||interpolate;L=interpolate.closed?"M":"L";return area};area.tension=function(_){if(!arguments.length)return tension;tension=_;return area};return area}d3_svg_lineStepBefore.reverse=d3_svg_lineStepAfter;d3_svg_lineStepAfter.reverse=d3_svg_lineStepBefore;d3.svg.area=function(){return d3_svg_area(d3_identity)};d3.svg.area.radial=function(){var area=d3_svg_area(d3_svg_lineRadial);area.radius=area.x,delete area.x;area.innerRadius=area.x0,delete area.x0;area.outerRadius=area.x1,delete area.x1;area.angle=area.y,delete area.y;area.startAngle=area.y0,delete area.y0;area.endAngle=area.y1,delete area.y1;return area};d3.svg.chord=function(){var source=d3_source,target=d3_target,radius=d3_svg_chordRadius,startAngle=d3_svg_arcStartAngle,endAngle=d3_svg_arcEndAngle;function chord(d,i){var s=subgroup(this,source,d,i),t=subgroup(this,target,d,i);return"M"+s.p0+arc(s.r,s.p1,s.a1-s.a0)+(equals(s,t)?curve(s.r,s.p1,s.r,s.p0):curve(s.r,s.p1,t.r,t.p0)+arc(t.r,t.p1,t.a1-t.a0)+curve(t.r,t.p1,s.r,s.p0))+"Z"}function subgroup(self,f,d,i){var subgroup=f.call(self,d,i),r=radius.call(self,subgroup,i),a0=startAngle.call(self,subgroup,i)-halfπ,a1=endAngle.call(self,subgroup,i)-halfπ;return{r:r,a0:a0,a1:a1,p0:[r*Math.cos(a0),r*Math.sin(a0)],p1:[r*Math.cos(a1),r*Math.sin(a1)]}}function equals(a,b){return a.a0==b.a0&&a.a1==b.a1}function arc(r,p,a){return"A"+r+","+r+" 0 "+ +(a>π)+",1 "+p}function curve(r0,p0,r1,p1){return"Q 0,0 "+p1}chord.radius=function(v){if(!arguments.length)return radius;radius=d3_functor(v);return chord};chord.source=function(v){if(!arguments.length)return source;source=d3_functor(v);return chord};chord.target=function(v){if(!arguments.length)return target;target=d3_functor(v);return chord};chord.startAngle=function(v){if(!arguments.length)return startAngle;startAngle=d3_functor(v);return chord};chord.endAngle=function(v){if(!arguments.length)return endAngle;endAngle=d3_functor(v);return chord};return chord};function d3_svg_chordRadius(d){return d.radius}d3.svg.diagonal=function(){var source=d3_source,target=d3_target,projection=d3_svg_diagonalProjection;function diagonal(d,i){var p0=source.call(this,d,i),p3=target.call(this,d,i),m=(p0.y+p3.y)/2,p=[p0,{x:p0.x,y:m},{x:p3.x,y:m},p3];p=p.map(projection);return"M"+p[0]+"C"+p[1]+" "+p[2]+" "+p[3]}diagonal.source=function(x){if(!arguments.length)return source;source=d3_functor(x);return diagonal};diagonal.target=function(x){if(!arguments.length)return target;target=d3_functor(x);return diagonal};diagonal.projection=function(x){if(!arguments.length)return projection;projection=x;return diagonal};return diagonal};function d3_svg_diagonalProjection(d){return[d.x,d.y]}d3.svg.diagonal.radial=function(){var diagonal=d3.svg.diagonal(),projection=d3_svg_diagonalProjection,projection_=diagonal.projection;diagonal.projection=function(x){return arguments.length?projection_(d3_svg_diagonalRadialProjection(projection=x)):projection};return diagonal};function d3_svg_diagonalRadialProjection(projection){return function(){var d=projection.apply(this,arguments),r=d[0],a=d[1]-halfπ;return[r*Math.cos(a),r*Math.sin(a)]}}d3.svg.symbol=function(){var type=d3_svg_symbolType,size=d3_svg_symbolSize;function symbol(d,i){return(d3_svg_symbols.get(type.call(this,d,i))||d3_svg_symbolCircle)(size.call(this,d,i))}symbol.type=function(x){if(!arguments.length)return type;type=d3_functor(x);return symbol};symbol.size=function(x){if(!arguments.length)return size;size=d3_functor(x);return symbol};return symbol};function d3_svg_symbolSize(){return 64}function d3_svg_symbolType(){return"circle"}function d3_svg_symbolCircle(size){var r=Math.sqrt(size/π);return"M0,"+r+"A"+r+","+r+" 0 1,1 0,"+-r+"A"+r+","+r+" 0 1,1 0,"+r+"Z"}var d3_svg_symbols=d3.map({circle:d3_svg_symbolCircle,cross:function(size){var r=Math.sqrt(size/5)/2;return"M"+-3*r+","+-r+"H"+-r+"V"+-3*r+"H"+r+"V"+-r+"H"+3*r+"V"+r+"H"+r+"V"+3*r+"H"+-r+"V"+r+"H"+-3*r+"Z"},diamond:function(size){var ry=Math.sqrt(size/(2*d3_svg_symbolTan30)),rx=ry*d3_svg_symbolTan30;return"M0,"+-ry+"L"+rx+",0 0,"+ry+" "+-rx+",0Z"},square:function(size){var r=Math.sqrt(size)/2;return"M"+-r+","+-r+"L"+r+","+-r+" "+r+","+r+" "+-r+","+r+"Z"},"triangle-down":function(size){var rx=Math.sqrt(size/d3_svg_symbolSqrt3),ry=rx*d3_svg_symbolSqrt3/2;return"M0,"+ry+"L"+rx+","+-ry+" "+-rx+","+-ry+"Z"},"triangle-up":function(size){var rx=Math.sqrt(size/d3_svg_symbolSqrt3),ry=rx*d3_svg_symbolSqrt3/2;return"M0,"+-ry+"L"+rx+","+ry+" "+-rx+","+ry+"Z"}});d3.svg.symbolTypes=d3_svg_symbols.keys();var d3_svg_symbolSqrt3=Math.sqrt(3),d3_svg_symbolTan30=Math.tan(30*d3_radians);d3_selectionPrototype.transition=function(name){var subgroup,node,id=d3_transitionInheritId||++d3_transitionId,ns=d3_transitionNamespace(name),subgroups=[],transition=d3_transitionInherit||{time:Date.now(),ease:d3_ease_cubicInOut,delay:0,duration:250};for(var j=-1,m=this.length;++j<m;){subgroups.push(subgroup=[]);for(var group=this[j],i=-1,n=group.length;++i<n;){(node=group[i])&&d3_transitionNode(node,i,ns,id,transition);subgroup.push(node)}}return d3_transition(subgroups,ns,id)};d3_selectionPrototype.interrupt=function(name){return this.each(null==name?d3_selection_interrupt:d3_selection_interruptNS(d3_transitionNamespace(name)))};var d3_selection_interrupt=d3_selection_interruptNS(d3_transitionNamespace());function d3_selection_interruptNS(ns){return function(){var lock,active;if((lock=this[ns])&&(active=lock[lock.active])){--lock.count?delete lock[lock.active]:delete this[ns];lock.active+=.5;active.event&&active.event.interrupt.call(this,this.__data__,active.index)}}}function d3_transition(groups,ns,id){d3_subclass(groups,d3_transitionPrototype);groups.namespace=ns;groups.id=id;return groups}var d3_transitionInheritId,d3_transitionInherit,d3_transitionPrototype=[],d3_transitionId=0;d3_transitionPrototype.call=d3_selectionPrototype.call;d3_transitionPrototype.empty=d3_selectionPrototype.empty;d3_transitionPrototype.node=d3_selectionPrototype.node;d3_transitionPrototype.size=d3_selectionPrototype.size;d3.transition=function(selection,name){return selection&&selection.transition?d3_transitionInheritId?selection.transition(name):selection:d3.selection().transition(selection)};d3.transition.prototype=d3_transitionPrototype;d3_transitionPrototype.select=function(selector){var subgroup,subnode,node,id=this.id,ns=this.namespace,subgroups=[];selector=d3_selection_selector(selector);for(var j=-1,m=this.length;++j<m;){subgroups.push(subgroup=[]);for(var group=this[j],i=-1,n=group.length;++i<n;)if((node=group[i])&&(subnode=selector.call(node,node.__data__,i,j))){"__data__"in node&&(subnode.__data__=node.__data__);d3_transitionNode(subnode,i,ns,id,node[ns][id]);subgroup.push(subnode)}else subgroup.push(null)}return d3_transition(subgroups,ns,id)};d3_transitionPrototype.selectAll=function(selector){var subgroup,subnodes,node,subnode,transition,id=this.id,ns=this.namespace,subgroups=[];selector=d3_selection_selectorAll(selector);for(var j=-1,m=this.length;++j<m;)for(var group=this[j],i=-1,n=group.length;++i<n;)if(node=group[i]){transition=node[ns][id];subnodes=selector.call(node,node.__data__,i,j);subgroups.push(subgroup=[]);for(var k=-1,o=subnodes.length;++k<o;){(subnode=subnodes[k])&&d3_transitionNode(subnode,k,ns,id,transition);subgroup.push(subnode)}}return d3_transition(subgroups,ns,id)};d3_transitionPrototype.filter=function(filter){var subgroup,node,subgroups=[];"function"!==typeof filter&&(filter=d3_selection_filter(filter));for(var j=0,m=this.length;j<m;j++){subgroups.push(subgroup=[]);for(var group=this[j],i=0,n=group.length;i<n;i++)(node=group[i])&&filter.call(node,node.__data__,i,j)&&subgroup.push(node)}return d3_transition(subgroups,this.namespace,this.id)};d3_transitionPrototype.tween=function(name,tween){var id=this.id,ns=this.namespace;if(arguments.length<2)return this.node()[ns][id].tween.get(name);return d3_selection_each(this,null==tween?function(node){node[ns][id].tween.remove(name)}:function(node){node[ns][id].tween.set(name,tween)})};function d3_transition_tween(groups,name,value,tween){var id=groups.id,ns=groups.namespace;return d3_selection_each(groups,"function"===typeof value?function(node,i,j){node[ns][id].tween.set(name,tween(value.call(node,node.__data__,i,j)))}:(value=tween(value),function(node){node[ns][id].tween.set(name,value)}))}d3_transitionPrototype.attr=function(nameNS,value){if(arguments.length<2){for(value in nameNS)this.attr(value,nameNS[value]);return this}var interpolate="transform"==nameNS?d3_interpolateTransform:d3_interpolate,name=d3.ns.qualify(nameNS);function attrNull(){this.removeAttribute(name)}function attrNullNS(){this.removeAttributeNS(name.space,name.local)}function attrTween(b){return null==b?attrNull:(b+="",function(){var i,a=this.getAttribute(name);return a!==b&&(i=interpolate(a,b),function(t){this.setAttribute(name,i(t))})})}function attrTweenNS(b){return null==b?attrNullNS:(b+="",function(){var i,a=this.getAttributeNS(name.space,name.local);return a!==b&&(i=interpolate(a,b),function(t){this.setAttributeNS(name.space,name.local,i(t))})})}return d3_transition_tween(this,"attr."+nameNS,value,name.local?attrTweenNS:attrTween)};d3_transitionPrototype.attrTween=function(nameNS,tween){var name=d3.ns.qualify(nameNS);function attrTween(d,i){var f=tween.call(this,d,i,this.getAttribute(name));return f&&function(t){this.setAttribute(name,f(t))}}function attrTweenNS(d,i){var f=tween.call(this,d,i,this.getAttributeNS(name.space,name.local));return f&&function(t){this.setAttributeNS(name.space,name.local,f(t))}}return this.tween("attr."+nameNS,name.local?attrTweenNS:attrTween)};d3_transitionPrototype.style=function(name,value,priority){var n=arguments.length;if(n<3){if("string"!==typeof name){n<2&&(value="");for(priority in name)this.style(priority,name[priority],value);return this}priority=""}function styleNull(){this.style.removeProperty(name)}function styleString(b){return null==b?styleNull:(b+="",function(){var i,a=d3_window(this).getComputedStyle(this,null).getPropertyValue(name);return a!==b&&(i=d3_interpolate(a,b),function(t){this.style.setProperty(name,i(t),priority)})})}return d3_transition_tween(this,"style."+name,value,styleString)};d3_transitionPrototype.styleTween=function(name,tween,priority){arguments.length<3&&(priority="");function styleTween(d,i){var f=tween.call(this,d,i,d3_window(this).getComputedStyle(this,null).getPropertyValue(name));return f&&function(t){this.style.setProperty(name,f(t),priority)}}return this.tween("style."+name,styleTween)};d3_transitionPrototype.text=function(value){return d3_transition_tween(this,"text",value,d3_transition_text)};function d3_transition_text(b){null==b&&(b="");return function(){this.textContent=b}}d3_transitionPrototype.remove=function(){var ns=this.namespace;return this.each("end.transition",function(){var p;this[ns].count<2&&(p=this.parentNode)&&p.removeChild(this)})};d3_transitionPrototype.ease=function(value){var id=this.id,ns=this.namespace;if(arguments.length<1)return this.node()[ns][id].ease;"function"!==typeof value&&(value=d3.ease.apply(d3,arguments));return d3_selection_each(this,function(node){node[ns][id].ease=value})};d3_transitionPrototype.delay=function(value){var id=this.id,ns=this.namespace;if(arguments.length<1)return this.node()[ns][id].delay;return d3_selection_each(this,"function"===typeof value?function(node,i,j){node[ns][id].delay=+value.call(node,node.__data__,i,j)}:(value=+value,function(node){node[ns][id].delay=value}))};d3_transitionPrototype.duration=function(value){var id=this.id,ns=this.namespace;if(arguments.length<1)return this.node()[ns][id].duration;return d3_selection_each(this,"function"===typeof value?function(node,i,j){node[ns][id].duration=Math.max(1,value.call(node,node.__data__,i,j))}:(value=Math.max(1,value),function(node){node[ns][id].duration=value}))};d3_transitionPrototype.each=function(type,listener){var id=this.id,ns=this.namespace;if(arguments.length<2){var inherit=d3_transitionInherit,inheritId=d3_transitionInheritId;try{d3_transitionInheritId=id;d3_selection_each(this,function(node,i,j){d3_transitionInherit=node[ns][id];type.call(node,node.__data__,i,j)})}finally{d3_transitionInherit=inherit;d3_transitionInheritId=inheritId}}else d3_selection_each(this,function(node){var transition=node[ns][id];(transition.event||(transition.event=d3.dispatch("start","end","interrupt"))).on(type,listener)});return this};d3_transitionPrototype.transition=function(){var subgroup,node,transition,id0=this.id,id1=++d3_transitionId,ns=this.namespace,subgroups=[];for(var j=0,m=this.length;j<m;j++){subgroups.push(subgroup=[]);for(var group=this[j],i=0,n=group.length;i<n;i++){if(node=group[i]){transition=node[ns][id0];d3_transitionNode(node,i,ns,id1,{time:transition.time,ease:transition.ease,delay:transition.delay+transition.duration,duration:transition.duration})}subgroup.push(node)}}return d3_transition(subgroups,ns,id1)};function d3_transitionNamespace(name){return null==name?"__transition__":"__transition_"+name+"__"}function d3_transitionNode(node,i,ns,id,inherit){var lock=node[ns]||(node[ns]={active:0,count:0}),transition=lock[id];if(!transition){var time=inherit.time;transition=lock[id]={tween:new d3_Map,time:time,delay:inherit.delay,duration:inherit.duration,ease:inherit.ease,index:i};inherit=null;++lock.count;d3.timer(function(elapsed){var duration,ease,delay=transition.delay,timer=d3_timer_active,tweened=[];timer.t=delay+time;if(delay<=elapsed)return start(elapsed-delay);timer.c=start;function start(elapsed){if(lock.active>id)return stop();var active=lock[lock.active];if(active){--lock.count;delete lock[lock.active];active.event&&active.event.interrupt.call(node,node.__data__,active.index)}lock.active=id;transition.event&&transition.event.start.call(node,node.__data__,i);transition.tween.forEach(function(key,value){(value=value.call(node,node.__data__,i))&&tweened.push(value)});ease=transition.ease;duration=transition.duration;d3.timer(function(){timer.c=tick(elapsed||1)?d3_true:tick;return 1},0,time)}function tick(elapsed){if(lock.active!==id)return 1;var t=elapsed/duration,e=ease(t),n=tweened.length;while(n>0)tweened[--n].call(node,e);if(t>=1){transition.event&&transition.event.end.call(node,node.__data__,i);return stop()}}function stop(){--lock.count?delete lock[id]:delete node[ns];return 1}},0,time)}}d3.svg.axis=function(){var tickFormat_,scale=d3.scale.linear(),orient=d3_svg_axisDefaultOrient,innerTickSize=6,outerTickSize=6,tickPadding=3,tickArguments_=[10],tickValues=null;function axis(g){g.each(function(){var g=d3.select(this);var scale0=this.__chart__||scale,scale1=this.__chart__=scale.copy();var tickTransform,ticks=null==tickValues?scale1.ticks?scale1.ticks.apply(scale1,tickArguments_):scale1.domain():tickValues,tickFormat=null==tickFormat_?scale1.tickFormat?scale1.tickFormat.apply(scale1,tickArguments_):d3_identity:tickFormat_,tick=g.selectAll(".tick").data(ticks,scale1),tickEnter=tick.enter().insert("g",".domain").attr("class","tick").style("opacity",ε),tickExit=d3.transition(tick.exit()).style("opacity",ε).remove(),tickUpdate=d3.transition(tick.order()).style("opacity",1),tickSpacing=Math.max(innerTickSize,0)+tickPadding;var range=d3_scaleRange(scale1),path=g.selectAll(".domain").data([0]),pathUpdate=(path.enter().append("path").attr("class","domain"),d3.transition(path));tickEnter.append("line");tickEnter.append("text");var x1,x2,y1,y2,lineEnter=tickEnter.select("line"),lineUpdate=tickUpdate.select("line"),text=tick.select("text").text(tickFormat),textEnter=tickEnter.select("text"),textUpdate=tickUpdate.select("text"),sign="top"===orient||"left"===orient?-1:1;if("bottom"===orient||"top"===orient){tickTransform=d3_svg_axisX,x1="x",y1="y",x2="x2",y2="y2";text.attr("dy",sign<0?"0em":".71em").style("text-anchor","middle");pathUpdate.attr("d","M"+range[0]+","+sign*outerTickSize+"V0H"+range[1]+"V"+sign*outerTickSize)}else{tickTransform=d3_svg_axisY,x1="y",y1="x",x2="y2",y2="x2";text.attr("dy",".32em").style("text-anchor",sign<0?"end":"start");pathUpdate.attr("d","M"+sign*outerTickSize+","+range[0]+"H0V"+range[1]+"H"+sign*outerTickSize)}lineEnter.attr(y2,sign*innerTickSize);textEnter.attr(y1,sign*tickSpacing);lineUpdate.attr(x2,0).attr(y2,sign*innerTickSize);textUpdate.attr(x1,0).attr(y1,sign*tickSpacing);if(scale1.rangeBand){var x=scale1,dx=x.rangeBand()/2;scale0=scale1=function(d){return x(d)+dx}}else scale0.rangeBand?scale0=scale1:tickExit.call(tickTransform,scale1,scale0);tickEnter.call(tickTransform,scale0,scale1);tickUpdate.call(tickTransform,scale1,scale1)})}axis.scale=function(x){if(!arguments.length)return scale;scale=x;return axis};axis.orient=function(x){if(!arguments.length)return orient;orient=x in d3_svg_axisOrients?x+"":d3_svg_axisDefaultOrient;return axis};axis.ticks=function(){if(!arguments.length)return tickArguments_;tickArguments_=arguments;return axis};axis.tickValues=function(x){if(!arguments.length)return tickValues;tickValues=x;return axis};axis.tickFormat=function(x){if(!arguments.length)return tickFormat_;tickFormat_=x;return axis};axis.tickSize=function(x){var n=arguments.length;if(!n)return innerTickSize;innerTickSize=+x;outerTickSize=+arguments[n-1];return axis};axis.innerTickSize=function(x){if(!arguments.length)return innerTickSize;innerTickSize=+x;return axis};axis.outerTickSize=function(x){if(!arguments.length)return outerTickSize;outerTickSize=+x;return axis};axis.tickPadding=function(x){if(!arguments.length)return tickPadding;tickPadding=+x;return axis};axis.tickSubdivide=function(){return arguments.length&&axis};return axis};var d3_svg_axisDefaultOrient="bottom",d3_svg_axisOrients={top:1,right:1,bottom:1,left:1};function d3_svg_axisX(selection,x0,x1){selection.attr("transform",function(d){var v0=x0(d);return"translate("+(isFinite(v0)?v0:x1(d))+",0)"})}function d3_svg_axisY(selection,y0,y1){selection.attr("transform",function(d){var v0=y0(d);return"translate(0,"+(isFinite(v0)?v0:y1(d))+")"})}d3.svg.brush=function(){var xExtentDomain,yExtentDomain,event=d3_eventDispatch(brush,"brushstart","brush","brushend"),x=null,y=null,xExtent=[0,0],yExtent=[0,0],xClamp=true,yClamp=true,resizes=d3_svg_brushResizes[0];function brush(g){g.each(function(){var g=d3.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",brushstart).on("touchstart.brush",brushstart);var background=g.selectAll(".background").data([0]);background.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair");g.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var resize=g.selectAll(".resize").data(resizes,d3_identity);resize.exit().remove();resize.enter().append("g").attr("class",function(d){return"resize "+d}).style("cursor",function(d){return d3_svg_brushCursor[d]}).append("rect").attr("x",function(d){return/[ew]$/.test(d)?-3:null}).attr("y",function(d){return/^[ns]/.test(d)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden");resize.style("display",brush.empty()?"none":null);var range,gUpdate=d3.transition(g),backgroundUpdate=d3.transition(background);if(x){range=d3_scaleRange(x);backgroundUpdate.attr("x",range[0]).attr("width",range[1]-range[0]);redrawX(gUpdate)}if(y){range=d3_scaleRange(y);backgroundUpdate.attr("y",range[0]).attr("height",range[1]-range[0]);redrawY(gUpdate)}redraw(gUpdate)})}brush.event=function(g){g.each(function(){var event_=event.of(this,arguments),extent1={x:xExtent,y:yExtent,i:xExtentDomain,j:yExtentDomain},extent0=this.__chart__||extent1;this.__chart__=extent1;if(d3_transitionInheritId)d3.select(this).transition().each("start.brush",function(){xExtentDomain=extent0.i;yExtentDomain=extent0.j;xExtent=extent0.x;yExtent=extent0.y;event_({type:"brushstart"})}).tween("brush:brush",function(){var xi=d3_interpolateArray(xExtent,extent1.x),yi=d3_interpolateArray(yExtent,extent1.y);xExtentDomain=yExtentDomain=null;return function(t){xExtent=extent1.x=xi(t);yExtent=extent1.y=yi(t);event_({type:"brush",mode:"resize"})}}).each("end.brush",function(){xExtentDomain=extent1.i;yExtentDomain=extent1.j;event_({type:"brush",mode:"resize"});event_({type:"brushend"})});else{event_({type:"brushstart"});event_({type:"brush",mode:"resize"});event_({type:"brushend"})}})};function redraw(g){g.selectAll(".resize").attr("transform",function(d){return"translate("+xExtent[+/e$/.test(d)]+","+yExtent[+/^s/.test(d)]+")"})}function redrawX(g){g.select(".extent").attr("x",xExtent[0]);g.selectAll(".extent,.n>rect,.s>rect").attr("width",xExtent[1]-xExtent[0])}function redrawY(g){g.select(".extent").attr("y",yExtent[0]);g.selectAll(".extent,.e>rect,.w>rect").attr("height",yExtent[1]-yExtent[0])}function brushstart(){var center,offset,target=this,eventTarget=d3.select(d3.event.target),event_=event.of(target,arguments),g=d3.select(target),resizing=eventTarget.datum(),resizingX=!/^(n|s)$/.test(resizing)&&x,resizingY=!/^(e|w)$/.test(resizing)&&y,dragging=eventTarget.classed("extent"),dragRestore=d3_event_dragSuppress(target),origin=d3.mouse(target);var w=d3.select(d3_window(target)).on("keydown.brush",keydown).on("keyup.brush",keyup);d3.event.changedTouches?w.on("touchmove.brush",brushmove).on("touchend.brush",brushend):w.on("mousemove.brush",brushmove).on("mouseup.brush",brushend);g.interrupt().selectAll("*").interrupt();if(dragging){origin[0]=xExtent[0]-origin[0];origin[1]=yExtent[0]-origin[1]}else if(resizing){var ex=+/w$/.test(resizing),ey=+/^n/.test(resizing);offset=[xExtent[1-ex]-origin[0],yExtent[1-ey]-origin[1]];origin[0]=xExtent[ex];origin[1]=yExtent[ey]}else d3.event.altKey&&(center=origin.slice());g.style("pointer-events","none").selectAll(".resize").style("display",null);d3.select("body").style("cursor",eventTarget.style("cursor"));event_({type:"brushstart"});brushmove();function keydown(){if(32==d3.event.keyCode){if(!dragging){center=null;origin[0]-=xExtent[1];origin[1]-=yExtent[1];dragging=2}d3_eventPreventDefault()}}function keyup(){if(32==d3.event.keyCode&&2==dragging){origin[0]+=xExtent[1];origin[1]+=yExtent[1];dragging=0;d3_eventPreventDefault()}}function brushmove(){var point=d3.mouse(target),moved=false;if(offset){point[0]+=offset[0];point[1]+=offset[1]}if(!dragging)if(d3.event.altKey){center||(center=[(xExtent[0]+xExtent[1])/2,(yExtent[0]+yExtent[1])/2]);origin[0]=xExtent[+(point[0]<center[0])];origin[1]=yExtent[+(point[1]<center[1])]}else center=null;if(resizingX&&move1(point,x,0)){redrawX(g);moved=true}if(resizingY&&move1(point,y,1)){redrawY(g);moved=true}if(moved){redraw(g);event_({type:"brush",mode:dragging?"move":"resize"})}}function move1(point,scale,i){var min,max,range=d3_scaleRange(scale),r0=range[0],r1=range[1],position=origin[i],extent=i?yExtent:xExtent,size=extent[1]-extent[0];if(dragging){r0-=position;r1-=size+position}min=(i?yClamp:xClamp)?Math.max(r0,Math.min(r1,point[i])):point[i];if(dragging)max=(min+=position)+size;else{center&&(position=Math.max(r0,Math.min(r1,2*center[i]-min)));if(position<min){max=min;min=position}else max=position}if(extent[0]!=min||extent[1]!=max){i?yExtentDomain=null:xExtentDomain=null;extent[0]=min;extent[1]=max;return true}}function brushend(){brushmove();g.style("pointer-events","all").selectAll(".resize").style("display",brush.empty()?"none":null);d3.select("body").style("cursor",null);w.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null);dragRestore();event_({type:"brushend"})}}brush.x=function(z){if(!arguments.length)return x;x=z;resizes=d3_svg_brushResizes[!x<<1|!y];return brush};brush.y=function(z){if(!arguments.length)return y;y=z;resizes=d3_svg_brushResizes[!x<<1|!y];return brush};brush.clamp=function(z){if(!arguments.length)return x&&y?[xClamp,yClamp]:x?xClamp:y?yClamp:null;x&&y?(xClamp=!!z[0],yClamp=!!z[1]):x?xClamp=!!z:y&&(yClamp=!!z);return brush};brush.extent=function(z){var x0,x1,y0,y1,t;if(!arguments.length){if(x)if(xExtentDomain)x0=xExtentDomain[0],x1=xExtentDomain[1];else{x0=xExtent[0],x1=xExtent[1];x.invert&&(x0=x.invert(x0),x1=x.invert(x1));x1<x0&&(t=x0,x0=x1,x1=t)}if(y)if(yExtentDomain)y0=yExtentDomain[0],y1=yExtentDomain[1];else{y0=yExtent[0],y1=yExtent[1];y.invert&&(y0=y.invert(y0),y1=y.invert(y1));y1<y0&&(t=y0,y0=y1,y1=t)}return x&&y?[[x0,y0],[x1,y1]]:x?[x0,x1]:y&&[y0,y1]}if(x){x0=z[0],x1=z[1];y&&(x0=x0[0],x1=x1[0]);xExtentDomain=[x0,x1];x.invert&&(x0=x(x0),x1=x(x1));x1<x0&&(t=x0,x0=x1,x1=t);x0==xExtent[0]&&x1==xExtent[1]||(xExtent=[x0,x1])}if(y){y0=z[0],y1=z[1];x&&(y0=y0[1],y1=y1[1]);yExtentDomain=[y0,y1];y.invert&&(y0=y(y0),y1=y(y1));y1<y0&&(t=y0,y0=y1,y1=t);y0==yExtent[0]&&y1==yExtent[1]||(yExtent=[y0,y1])}return brush};brush.clear=function(){if(!brush.empty()){xExtent=[0,0],yExtent=[0,0];xExtentDomain=yExtentDomain=null}return brush};brush.empty=function(){return!!x&&xExtent[0]==xExtent[1]||!!y&&yExtent[0]==yExtent[1]};return d3.rebind(brush,event,"on")};var d3_svg_brushCursor={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"};var d3_svg_brushResizes=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];var d3_time_format=d3_time.format=d3_locale_enUS.timeFormat;var d3_time_formatUtc=d3_time_format.utc;var d3_time_formatIso=d3_time_formatUtc("%Y-%m-%dT%H:%M:%S.%LZ");d3_time_format.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?d3_time_formatIsoNative:d3_time_formatIso;function d3_time_formatIsoNative(date){return date.toISOString()}d3_time_formatIsoNative.parse=function(string){var date=new Date(string);return isNaN(date)?null:date};d3_time_formatIsoNative.toString=d3_time_formatIso.toString;d3_time.second=d3_time_interval(function(date){return new d3_date(1e3*Math.floor(date/1e3))},function(date,offset){date.setTime(date.getTime()+1e3*Math.floor(offset))},function(date){return date.getSeconds()});d3_time.seconds=d3_time.second.range;d3_time.seconds.utc=d3_time.second.utc.range;d3_time.minute=d3_time_interval(function(date){return new d3_date(6e4*Math.floor(date/6e4))},function(date,offset){date.setTime(date.getTime()+6e4*Math.floor(offset))},function(date){return date.getMinutes()});d3_time.minutes=d3_time.minute.range;d3_time.minutes.utc=d3_time.minute.utc.range;d3_time.hour=d3_time_interval(function(date){var timezone=date.getTimezoneOffset()/60;return new d3_date(36e5*(Math.floor(date/36e5-timezone)+timezone))},function(date,offset){date.setTime(date.getTime()+36e5*Math.floor(offset))},function(date){return date.getHours()});d3_time.hours=d3_time.hour.range;d3_time.hours.utc=d3_time.hour.utc.range;d3_time.month=d3_time_interval(function(date){date=d3_time.day(date);date.setDate(1);return date},function(date,offset){date.setMonth(date.getMonth()+offset)},function(date){return date.getMonth()});d3_time.months=d3_time.month.range;d3_time.months.utc=d3_time.month.utc.range;function d3_time_scale(linear,methods,format){function scale(x){return linear(x)}scale.invert=function(x){return d3_time_scaleDate(linear.invert(x))};scale.domain=function(x){if(!arguments.length)return linear.domain().map(d3_time_scaleDate);linear.domain(x);return scale};function tickMethod(extent,count){var span=extent[1]-extent[0],target=span/count,i=d3.bisect(d3_time_scaleSteps,target);return i==d3_time_scaleSteps.length?[methods.year,d3_scale_linearTickRange(extent.map(function(d){return d/31536e6}),count)[2]]:i?methods[target/d3_time_scaleSteps[i-1]<d3_time_scaleSteps[i]/target?i-1:i]:[d3_time_scaleMilliseconds,d3_scale_linearTickRange(extent,count)[2]]}scale.nice=function(interval,skip){var domain=scale.domain(),extent=d3_scaleExtent(domain),method=null==interval?tickMethod(extent,10):"number"===typeof interval&&tickMethod(extent,interval);method&&(interval=method[0],skip=method[1]);function skipped(date){return!isNaN(date)&&!interval.range(date,d3_time_scaleDate(+date+1),skip).length}return scale.domain(d3_scale_nice(domain,skip>1?{floor:function(date){while(skipped(date=interval.floor(date)))date=d3_time_scaleDate(date-1);return date},ceil:function(date){while(skipped(date=interval.ceil(date)))date=d3_time_scaleDate(+date+1);return date}}:interval))};scale.ticks=function(interval,skip){var extent=d3_scaleExtent(scale.domain()),method=null==interval?tickMethod(extent,10):"number"===typeof interval?tickMethod(extent,interval):!interval.range&&[{range:interval},skip];method&&(interval=method[0],skip=method[1]);return interval.range(extent[0],d3_time_scaleDate(+extent[1]+1),skip<1?1:skip)};scale.tickFormat=function(){return format};scale.copy=function(){return d3_time_scale(linear.copy(),methods,format)};return d3_scale_linearRebind(scale,linear)}function d3_time_scaleDate(t){return new Date(t)}var d3_time_scaleSteps=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6];var d3_time_scaleLocalMethods=[[d3_time.second,1],[d3_time.second,5],[d3_time.second,15],[d3_time.second,30],[d3_time.minute,1],[d3_time.minute,5],[d3_time.minute,15],[d3_time.minute,30],[d3_time.hour,1],[d3_time.hour,3],[d3_time.hour,6],[d3_time.hour,12],[d3_time.day,1],[d3_time.day,2],[d3_time.week,1],[d3_time.month,1],[d3_time.month,3],[d3_time.year,1]];var d3_time_scaleLocalFormat=d3_time_format.multi([[".%L",function(d){return d.getMilliseconds()}],[":%S",function(d){return d.getSeconds()}],["%I:%M",function(d){return d.getMinutes()}],["%I %p",function(d){return d.getHours()}],["%a %d",function(d){return d.getDay()&&1!=d.getDate()}],["%b %d",function(d){return 1!=d.getDate()}],["%B",function(d){return d.getMonth()}],["%Y",d3_true]]);var d3_time_scaleMilliseconds={range:function(start,stop,step){return d3.range(Math.ceil(start/step)*step,+stop,step).map(d3_time_scaleDate)},floor:d3_identity,ceil:d3_identity};d3_time_scaleLocalMethods.year=d3_time.year;d3_time.scale=function(){return d3_time_scale(d3.scale.linear(),d3_time_scaleLocalMethods,d3_time_scaleLocalFormat)};var d3_time_scaleUtcMethods=d3_time_scaleLocalMethods.map(function(m){return[m[0].utc,m[1]]});var d3_time_scaleUtcFormat=d3_time_formatUtc.multi([[".%L",function(d){return d.getUTCMilliseconds()}],[":%S",function(d){return d.getUTCSeconds()}],["%I:%M",function(d){return d.getUTCMinutes()}],["%I %p",function(d){return d.getUTCHours()}],["%a %d",function(d){return d.getUTCDay()&&1!=d.getUTCDate()}],["%b %d",function(d){return 1!=d.getUTCDate()}],["%B",function(d){return d.getUTCMonth()}],["%Y",d3_true]]);d3_time_scaleUtcMethods.year=d3_time.year.utc;d3_time.scale.utc=function(){return d3_time_scale(d3.scale.linear(),d3_time_scaleUtcMethods,d3_time_scaleUtcFormat)};d3.text=d3_xhrType(function(request){return request.responseText});d3.json=function(url,callback){return d3_xhr(url,"application/json",d3_json,callback)};function d3_json(request){return JSON.parse(request.responseText)}d3.html=function(url,callback){return d3_xhr(url,"text/html",d3_html,callback)};function d3_html(request){var range=d3_document.createRange();range.selectNode(d3_document.body);return range.createContextualFragment(request.responseText)}d3.xml=d3_xhrType(function(request){return request.responseXML});true;!(__WEBPACK_AMD_DEFINE_FACTORY__=d3,__WEBPACK_AMD_DEFINE_RESULT__="function"===typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__,void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__));this.d3=d3}()},function(module,exports,__webpack_require__){"use strict";(function(global){var emitter=__webpack_require__(2221);var crossvent=__webpack_require__(2226);var classes=__webpack_require__(2229);var doc=document;var documentElement=doc.documentElement;function dragula(initialContainers,options){var len=arguments.length;if(1===len&&false===Array.isArray(initialContainers)){options=initialContainers;initialContainers=[]}var _mirror;var _source;var _item;var _offsetX;var _offsetY;var _moveX;var _moveY;var _initialSibling;var _currentSibling;var _copy;var _renderTimer;var _lastDropTarget=null;var _grabbed;var o=options||{};void 0===o.moves&&(o.moves=always);void 0===o.accepts&&(o.accepts=always);void 0===o.invalid&&(o.invalid=invalidTarget);void 0===o.containers&&(o.containers=initialContainers||[]);void 0===o.isContainer&&(o.isContainer=never);void 0===o.copy&&(o.copy=false);void 0===o.copySortSource&&(o.copySortSource=false);void 0===o.revertOnSpill&&(o.revertOnSpill=false);void 0===o.removeOnSpill&&(o.removeOnSpill=false);void 0===o.direction&&(o.direction="vertical");void 0===o.ignoreInputTextSelection&&(o.ignoreInputTextSelection=true);void 0===o.mirrorContainer&&(o.mirrorContainer=doc.body);var drake=emitter({containers:o.containers,start:manualStart,end:end,cancel:cancel,remove:remove,destroy:destroy,canMove:canMove,dragging:false});true===o.removeOnSpill&&drake.on("over",spillOver).on("out",spillOut);events();return drake;function isContainer(el){return-1!==drake.containers.indexOf(el)||o.isContainer(el)}function events(remove){var op=remove?"remove":"add";touchy(documentElement,op,"mousedown",grab);touchy(documentElement,op,"mouseup",release)}function eventualMovements(remove){var op=remove?"remove":"add";touchy(documentElement,op,"mousemove",startBecauseMouseMoved)}function movements(remove){var op=remove?"remove":"add";crossvent[op](documentElement,"selectstart",preventGrabbed);crossvent[op](documentElement,"click",preventGrabbed)}function destroy(){events(true);release({})}function preventGrabbed(e){_grabbed&&e.preventDefault()}function grab(e){_moveX=e.clientX;_moveY=e.clientY;var ignore=1!==whichMouseButton(e)||e.metaKey||e.ctrlKey;if(ignore)return;var item=e.target;var context=canStart(item);if(!context)return;_grabbed=context;eventualMovements();"mousedown"===e.type&&(isInput(item)?item.focus():e.preventDefault())}function startBecauseMouseMoved(e){if(!_grabbed)return;if(0===whichMouseButton(e)){release({});return}if(void 0!==e.clientX&&e.clientX===_moveX&&void 0!==e.clientY&&e.clientY===_moveY)return;if(o.ignoreInputTextSelection){var clientX=getCoord("clientX",e);var clientY=getCoord("clientY",e);var elementBehindCursor=doc.elementFromPoint(clientX,clientY);if(isInput(elementBehindCursor))return}var grabbed=_grabbed;eventualMovements(true);movements();end();start(grabbed);var offset=getOffset(_item);_offsetX=getCoord("pageX",e)-offset.left;_offsetY=getCoord("pageY",e)-offset.top;classes.add(_copy||_item,"gu-transit");renderMirrorImage();drag(e)}function canStart(item){if(drake.dragging&&_mirror)return;if(isContainer(item))return;var handle=item;while(getParent(item)&&false===isContainer(getParent(item))){if(o.invalid(item,handle))return;item=getParent(item);if(!item)return}var source=getParent(item);if(!source)return;if(o.invalid(item,handle))return;var movable=o.moves(item,source,handle,nextEl(item));if(!movable)return;return{item:item,source:source}}function canMove(item){return!!canStart(item)}function manualStart(item){var context=canStart(item);context&&start(context)}function start(context){if(isCopy(context.item,context.source)){_copy=context.item.cloneNode(true);drake.emit("cloned",_copy,context.item,"copy")}_source=context.source;_item=context.item;_initialSibling=_currentSibling=nextEl(context.item);drake.dragging=true;drake.emit("drag",_item,_source)}function invalidTarget(){return false}function end(){if(!drake.dragging)return;var item=_copy||_item;drop(item,getParent(item))}function ungrab(){_grabbed=false;eventualMovements(true);movements(true)}function release(e){ungrab();if(!drake.dragging)return;var item=_copy||_item;var clientX=getCoord("clientX",e);var clientY=getCoord("clientY",e);var elementBehindCursor=getElementBehindPoint(_mirror,clientX,clientY);var dropTarget=findDropTarget(elementBehindCursor,clientX,clientY);dropTarget&&(_copy&&o.copySortSource||!_copy||dropTarget!==_source)?drop(item,dropTarget):o.removeOnSpill?remove():cancel()}function drop(item,target){var parent=getParent(item);_copy&&o.copySortSource&&target===_source&&parent.removeChild(_item);isInitialPlacement(target)?drake.emit("cancel",item,_source,_source):drake.emit("drop",item,target,_source,_currentSibling);cleanup()}function remove(){if(!drake.dragging)return;var item=_copy||_item;var parent=getParent(item);parent&&parent.removeChild(item);drake.emit(_copy?"cancel":"remove",item,parent,_source);cleanup()}function cancel(revert){if(!drake.dragging)return;var reverts=arguments.length>0?revert:o.revertOnSpill;var item=_copy||_item;var parent=getParent(item);var initial=isInitialPlacement(parent);false===initial&&reverts&&(_copy?parent.removeChild(_copy):_source.insertBefore(item,_initialSibling));initial||reverts?drake.emit("cancel",item,_source,_source):drake.emit("drop",item,parent,_source,_currentSibling);cleanup()}function cleanup(){var item=_copy||_item;ungrab();removeMirrorImage();item&&classes.rm(item,"gu-transit");_renderTimer&&clearTimeout(_renderTimer);drake.dragging=false;_lastDropTarget&&drake.emit("out",item,_lastDropTarget,_source);drake.emit("dragend",item);_source=_item=_copy=_initialSibling=_currentSibling=_renderTimer=_lastDropTarget=null}function isInitialPlacement(target,s){var sibling;sibling=void 0!==s?s:_mirror?_currentSibling:nextEl(_copy||_item);return target===_source&&sibling===_initialSibling}function findDropTarget(elementBehindCursor,clientX,clientY){var target=elementBehindCursor;while(target&&!accepted())target=getParent(target);return target;function accepted(){var droppable=isContainer(target);if(false===droppable)return false;var immediate=getImmediateChild(target,elementBehindCursor);var reference=getReference(target,immediate,clientX,clientY);var initial=isInitialPlacement(target,reference);if(initial)return true;return o.accepts(_item,target,_source,reference)}}function drag(e){if(!_mirror)return;e.preventDefault();var clientX=getCoord("clientX",e);var clientY=getCoord("clientY",e);var x=clientX-_offsetX;var y=clientY-_offsetY;_mirror.style.left=x+"px";_mirror.style.top=y+"px";var item=_copy||_item;var elementBehindCursor=getElementBehindPoint(_mirror,clientX,clientY);var dropTarget=findDropTarget(elementBehindCursor,clientX,clientY);var changed=null!==dropTarget&&dropTarget!==_lastDropTarget;if(changed||null===dropTarget){out();_lastDropTarget=dropTarget;over()}var parent=getParent(item);if(dropTarget===_source&&_copy&&!o.copySortSource){parent&&parent.removeChild(item);return}var reference;var immediate=getImmediateChild(dropTarget,elementBehindCursor);if(null!==immediate)reference=getReference(dropTarget,immediate,clientX,clientY);else{if(true!==o.revertOnSpill||_copy){_copy&&parent&&parent.removeChild(item);return}reference=_initialSibling;dropTarget=_source}if(null===reference&&changed||reference!==item&&reference!==nextEl(item)){_currentSibling=reference;dropTarget.insertBefore(item,reference);drake.emit("shadow",item,dropTarget,_source)}function moved(type){drake.emit(type,item,_lastDropTarget,_source)}function over(){changed&&moved("over")}function out(){_lastDropTarget&&moved("out")}}function spillOver(el){classes.rm(el,"gu-hide")}function spillOut(el){drake.dragging&&classes.add(el,"gu-hide")}function renderMirrorImage(){if(_mirror)return;var rect=_item.getBoundingClientRect();_mirror=_item.cloneNode(true);_mirror.style.width=getRectWidth(rect)+"px";_mirror.style.height=getRectHeight(rect)+"px";classes.rm(_mirror,"gu-transit");classes.add(_mirror,"gu-mirror");o.mirrorContainer.appendChild(_mirror);touchy(documentElement,"add","mousemove",drag);classes.add(o.mirrorContainer,"gu-unselectable");drake.emit("cloned",_mirror,_item,"mirror")}function removeMirrorImage(){if(_mirror){classes.rm(o.mirrorContainer,"gu-unselectable");touchy(documentElement,"remove","mousemove",drag);getParent(_mirror).removeChild(_mirror);_mirror=null}}function getImmediateChild(dropTarget,target){var immediate=target;while(immediate!==dropTarget&&getParent(immediate)!==dropTarget)immediate=getParent(immediate);if(immediate===documentElement)return null;return immediate}function getReference(dropTarget,target,x,y){var horizontal="horizontal"===o.direction;var reference=target!==dropTarget?inside():outside();return reference;function outside(){var len=dropTarget.children.length;var i;var el;var rect;for(i=0;i<len;i++){el=dropTarget.children[i];rect=el.getBoundingClientRect();if(horizontal&&rect.left+rect.width/2>x)return el;if(!horizontal&&rect.top+rect.height/2>y)return el}return null}function inside(){var rect=target.getBoundingClientRect();if(horizontal)return resolve(x>rect.left+getRectWidth(rect)/2);return resolve(y>rect.top+getRectHeight(rect)/2)}function resolve(after){return after?nextEl(target):target}}function isCopy(item,container){return"boolean"===typeof o.copy?o.copy:o.copy(item,container)}}function touchy(el,op,type,fn){var touch={mouseup:"touchend",mousedown:"touchstart",mousemove:"touchmove"};var pointers={mouseup:"pointerup",mousedown:"pointerdown",mousemove:"pointermove"};var microsoft={mouseup:"MSPointerUp",mousedown:"MSPointerDown",mousemove:"MSPointerMove"};if(global.navigator.pointerEnabled)crossvent[op](el,pointers[type],fn);else if(global.navigator.msPointerEnabled)crossvent[op](el,microsoft[type],fn);else{crossvent[op](el,touch[type],fn);crossvent[op](el,type,fn)}}function whichMouseButton(e){if(void 0!==e.touches)return e.touches.length;if(void 0!==e.which&&0!==e.which)return e.which;if(void 0!==e.buttons)return e.buttons;var button=e.button;if(void 0!==button)return 1&button?1:2&button?3:4&button?2:0}function getOffset(el){var rect=el.getBoundingClientRect();return{left:rect.left+getScroll("scrollLeft","pageXOffset"),top:rect.top+getScroll("scrollTop","pageYOffset")}}function getScroll(scrollProp,offsetProp){if("undefined"!==typeof global[offsetProp])return global[offsetProp];if(documentElement.clientHeight)return documentElement[scrollProp];return doc.body[scrollProp]}function getElementBehindPoint(point,x,y){var p=point||{};var state=p.className;var el;p.className+=" gu-hide";el=doc.elementFromPoint(x,y);p.className=state;return el}function never(){return false}function always(){return true}function getRectWidth(rect){return rect.width||rect.right-rect.left}function getRectHeight(rect){return rect.height||rect.bottom-rect.top}function getParent(el){return el.parentNode===doc?null:el.parentNode}function isInput(el){return"INPUT"===el.tagName||"TEXTAREA"===el.tagName||"SELECT"===el.tagName||isEditable(el)}function isEditable(el){if(!el)return false;if("false"===el.contentEditable)return false;if("true"===el.contentEditable)return true;return isEditable(getParent(el))}function nextEl(el){return el.nextElementSibling||manually();function manually(){var sibling=el;do{sibling=sibling.nextSibling}while(sibling&&1!==sibling.nodeType);return sibling}}function getEventHost(e){if(e.targetTouches&&e.targetTouches.length)return e.targetTouches[0];if(e.changedTouches&&e.changedTouches.length)return e.changedTouches[0];return e}function getCoord(coord,e){var host=getEventHost(e);var missMap={pageX:"clientX",pageY:"clientY"};coord in missMap&&!(coord in host)&&missMap[coord]in host&&(coord=missMap[coord]);return host[coord]}module.exports=dragula}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";var atoa=__webpack_require__(2222);var debounce=__webpack_require__(2223);module.exports=function emitter(thing,options){var opts=options||{};var evt={};void 0===thing&&(thing={});thing.on=function(type,fn){evt[type]?evt[type].push(fn):evt[type]=[fn];return thing};thing.once=function(type,fn){fn._once=true;thing.on(type,fn);return thing};thing.off=function(type,fn){var c=arguments.length;if(1===c)delete evt[type];else if(0===c)evt={};else{var et=evt[type];if(!et)return thing;et.splice(et.indexOf(fn),1)}return thing};thing.emit=function(){var args=atoa(arguments);return thing.emitterSnapshot(args.shift()).apply(this,args)};thing.emitterSnapshot=function(type){var et=(evt[type]||[]).slice(0);return function(){var args=atoa(arguments);var ctx=this||thing;if("error"===type&&false!==opts.throws&&!et.length)throw 1===args.length?args[0]:args;et.forEach(function emitter(listen){opts.async?debounce(listen,args,ctx):listen.apply(ctx,args);listen._once&&thing.off(type,listen)});return thing}};return thing}},function(module,exports){module.exports=function atoa(a,n){return Array.prototype.slice.call(a,n)}},function(module,exports,__webpack_require__){"use strict";var ticky=__webpack_require__(2224);module.exports=function debounce(fn,args,ctx){if(!fn)return;ticky(function run(){fn.apply(ctx||null,args||[])})}},function(module,exports,__webpack_require__){(function(setImmediate){var tick,si="function"===typeof setImmediate;tick=si?function(fn){setImmediate(fn)}:function(fn){setTimeout(fn,0)};module.exports=tick}).call(this,__webpack_require__(485).setImmediate)},function(module,exports,__webpack_require__){(function(global,process){(function(global,undefined){"use strict";if(global.setImmediate)return;var nextHandle=1;var tasksByHandle={};var currentlyRunningATask=false;var doc=global.document;var registerImmediate;function setImmediate(callback){"function"!==typeof callback&&(callback=new Function(""+callback));var args=new Array(arguments.length-1);for(var i=0;i<args.length;i++)args[i]=arguments[i+1];var task={callback:callback,args:args};tasksByHandle[nextHandle]=task;registerImmediate(nextHandle);return nextHandle++}function clearImmediate(handle){delete tasksByHandle[handle]}function run(task){var callback=task.callback;var args=task.args;switch(args.length){case 0:callback();break;case 1:callback(args[0]);break;case 2:callback(args[0],args[1]);break;case 3:callback(args[0],args[1],args[2]);break;default:callback.apply(undefined,args)}}function runIfPresent(handle){if(currentlyRunningATask)setTimeout(runIfPresent,0,handle);else{var task=tasksByHandle[handle];if(task){currentlyRunningATask=true;try{run(task)}finally{clearImmediate(handle);currentlyRunningATask=false}}}}function installNextTickImplementation(){registerImmediate=function(handle){process.nextTick(function(){runIfPresent(handle)})}}function canUsePostMessage(){if(global.postMessage&&!global.importScripts){var postMessageIsAsynchronous=true;var oldOnMessage=global.onmessage;global.onmessage=function(){postMessageIsAsynchronous=false};global.postMessage("","*");global.onmessage=oldOnMessage;return postMessageIsAsynchronous}}function installPostMessageImplementation(){var messagePrefix="setImmediate$"+Math.random()+"$";var onGlobalMessage=function(event){event.source===global&&"string"===typeof event.data&&0===event.data.indexOf(messagePrefix)&&runIfPresent(+event.data.slice(messagePrefix.length))};global.addEventListener?global.addEventListener("message",onGlobalMessage,false):global.attachEvent("onmessage",onGlobalMessage);registerImmediate=function(handle){global.postMessage(messagePrefix+handle,"*")}}function installMessageChannelImplementation(){var channel=new MessageChannel;channel.port1.onmessage=function(event){var handle=event.data;runIfPresent(handle)};registerImmediate=function(handle){channel.port2.postMessage(handle)}}function installReadyStateChangeImplementation(){var html=doc.documentElement;registerImmediate=function(handle){var script=doc.createElement("script");script.onreadystatechange=function(){runIfPresent(handle);script.onreadystatechange=null;html.removeChild(script);script=null};html.appendChild(script)}}function installSetTimeoutImplementation(){registerImmediate=function(handle){setTimeout(runIfPresent,0,handle)}}var attachTo=Object.getPrototypeOf&&Object.getPrototypeOf(global);attachTo=attachTo&&attachTo.setTimeout?attachTo:global;"[object process]"==={}.toString.call(global.process)?installNextTickImplementation():canUsePostMessage()?installPostMessageImplementation():global.MessageChannel?installMessageChannelImplementation():doc&&"onreadystatechange"in doc.createElement("script")?installReadyStateChangeImplementation():installSetTimeoutImplementation();attachTo.setImmediate=setImmediate;attachTo.clearImmediate=clearImmediate})("undefined"===typeof self?"undefined"===typeof global?this:global:self)}).call(this,__webpack_require__(18),__webpack_require__(59))},function(module,exports,__webpack_require__){"use strict";(function(global){var customEvent=__webpack_require__(2227);var eventmap=__webpack_require__(2228);var doc=global.document;var addEvent=addEventEasy;var removeEvent=removeEventEasy;var hardCache=[];if(!global.addEventListener){addEvent=addEventHard;removeEvent=removeEventHard}module.exports={add:addEvent,remove:removeEvent,fabricate:fabricateEvent};function addEventEasy(el,type,fn,capturing){return el.addEventListener(type,fn,capturing)}function addEventHard(el,type,fn){return el.attachEvent("on"+type,wrap(el,type,fn))}function removeEventEasy(el,type,fn,capturing){return el.removeEventListener(type,fn,capturing)}function removeEventHard(el,type,fn){var listener=unwrap(el,type,fn);if(listener)return el.detachEvent("on"+type,listener)}function fabricateEvent(el,type,model){var e=-1===eventmap.indexOf(type)?makeCustomEvent():makeClassicEvent();el.dispatchEvent?el.dispatchEvent(e):el.fireEvent("on"+type,e);function makeClassicEvent(){var e;if(doc.createEvent){e=doc.createEvent("Event");e.initEvent(type,true,true)}else doc.createEventObject&&(e=doc.createEventObject());return e}function makeCustomEvent(){return new customEvent(type,{detail:model})}}function wrapperFactory(el,type,fn){return function wrapper(originalEvent){var e=originalEvent||global.event;e.target=e.target||e.srcElement;e.preventDefault=e.preventDefault||function preventDefault(){e.returnValue=false};e.stopPropagation=e.stopPropagation||function stopPropagation(){e.cancelBubble=true};e.which=e.which||e.keyCode;fn.call(el,e)}}function wrap(el,type,fn){var wrapper=unwrap(el,type,fn)||wrapperFactory(el,type,fn);hardCache.push({wrapper:wrapper,element:el,type:type,fn:fn});return wrapper}function unwrap(el,type,fn){var i=find(el,type,fn);if(i){var wrapper=hardCache[i].wrapper;hardCache.splice(i,1);return wrapper}}function find(el,type,fn){var i,item;for(i=0;i<hardCache.length;i++){item=hardCache[i];if(item.element===el&&item.type===type&&item.fn===fn)return i}}}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){(function(global){var NativeCustomEvent=global.CustomEvent;function useNative(){try{var p=new NativeCustomEvent("cat",{detail:{foo:"bar"}});return"cat"===p.type&&"bar"===p.detail.foo}catch(e){}return false}module.exports=useNative()?NativeCustomEvent:"function"===typeof document.createEvent?function CustomEvent(type,params){var e=document.createEvent("CustomEvent");params?e.initCustomEvent(type,params.bubbles,params.cancelable,params.detail):e.initCustomEvent(type,false,false,void 0);return e}:function CustomEvent(type,params){var e=document.createEventObject();e.type=type;if(params){e.bubbles=Boolean(params.bubbles);e.cancelable=Boolean(params.cancelable);e.detail=params.detail}else{e.bubbles=false;e.cancelable=false;e.detail=void 0}return e}}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";(function(global){var eventmap=[];var eventname="";var ron=/^on/;for(eventname in global)ron.test(eventname)&&eventmap.push(eventname.slice(2));module.exports=eventmap}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";var cache={};var start="(?:^|\\s)";var end="(?:\\s|$)";function lookupClass(className){var cached=cache[className];cached?cached.lastIndex=0:cache[className]=cached=new RegExp(start+className+end,"g");return cached}function addClass(el,className){var current=el.className;current.length?lookupClass(className).test(current)||(el.className+=" "+className):el.className=className}function rmClass(el,className){el.className=el.className.replace(lookupClass(className)," ").trim()}module.exports={add:addClass,rm:rmClass}},function(module,exports){module.exports=function encodeUriQuery(val,pctEncodeSpaces){return encodeURIComponent(val).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,pctEncodeSpaces?"%20":"+")}},function(module,exports,__webpack_require__){
/**!

 @license
 handlebars v4.0.13

Copyright (C) 2011-2017 by Yehuda Katz

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

*/
(function webpackUniversalModuleDefinition(root,factory){true;module.exports=factory()})(0,function(){return function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={exports:{},id:moduleId,loaded:false};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.loaded=true;return module.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0)}([function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=true;var _handlebarsRuntime=__webpack_require__(2);var _handlebarsRuntime2=_interopRequireDefault(_handlebarsRuntime);var _handlebarsCompilerAst=__webpack_require__(35);var _handlebarsCompilerAst2=_interopRequireDefault(_handlebarsCompilerAst);var _handlebarsCompilerBase=__webpack_require__(36);var _handlebarsCompilerCompiler=__webpack_require__(41);var _handlebarsCompilerJavascriptCompiler=__webpack_require__(42);var _handlebarsCompilerJavascriptCompiler2=_interopRequireDefault(_handlebarsCompilerJavascriptCompiler);var _handlebarsCompilerVisitor=__webpack_require__(39);var _handlebarsCompilerVisitor2=_interopRequireDefault(_handlebarsCompilerVisitor);var _handlebarsNoConflict=__webpack_require__(34);var _handlebarsNoConflict2=_interopRequireDefault(_handlebarsNoConflict);var _create=_handlebarsRuntime2["default"].create;function create(){var hb=_create();hb.compile=function(input,options){return _handlebarsCompilerCompiler.compile(input,options,hb)};hb.precompile=function(input,options){return _handlebarsCompilerCompiler.precompile(input,options,hb)};hb.AST=_handlebarsCompilerAst2["default"];hb.Compiler=_handlebarsCompilerCompiler.Compiler;hb.JavaScriptCompiler=_handlebarsCompilerJavascriptCompiler2["default"];hb.Parser=_handlebarsCompilerBase.parser;hb.parse=_handlebarsCompilerBase.parse;return hb}var inst=create();inst.create=create;_handlebarsNoConflict2["default"](inst);inst.Visitor=_handlebarsCompilerVisitor2["default"];inst["default"]=inst;exports["default"]=inst;module.exports=exports["default"]},function(module,exports){"use strict";exports["default"]=function(obj){return obj&&obj.__esModule?obj:{default:obj}};exports.__esModule=true},function(module,exports,__webpack_require__){"use strict";var _interopRequireWildcard=__webpack_require__(3)["default"];var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=true;var _handlebarsBase=__webpack_require__(4);var base=_interopRequireWildcard(_handlebarsBase);var _handlebarsSafeString=__webpack_require__(21);var _handlebarsSafeString2=_interopRequireDefault(_handlebarsSafeString);var _handlebarsException=__webpack_require__(6);var _handlebarsException2=_interopRequireDefault(_handlebarsException);var _handlebarsUtils=__webpack_require__(5);var Utils=_interopRequireWildcard(_handlebarsUtils);var _handlebarsRuntime=__webpack_require__(22);var runtime=_interopRequireWildcard(_handlebarsRuntime);var _handlebarsNoConflict=__webpack_require__(34);var _handlebarsNoConflict2=_interopRequireDefault(_handlebarsNoConflict);function create(){var hb=new base.HandlebarsEnvironment;Utils.extend(hb,base);hb.SafeString=_handlebarsSafeString2["default"];hb.Exception=_handlebarsException2["default"];hb.Utils=Utils;hb.escapeExpression=Utils.escapeExpression;hb.VM=runtime;hb.template=function(spec){return runtime.template(spec,hb)};return hb}var inst=create();inst.create=create;_handlebarsNoConflict2["default"](inst);inst["default"]=inst;exports["default"]=inst;module.exports=exports["default"]},function(module,exports){"use strict";exports["default"]=function(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj["default"]=obj;return newObj};exports.__esModule=true},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=true;exports.HandlebarsEnvironment=HandlebarsEnvironment;var _utils=__webpack_require__(5);var _exception=__webpack_require__(6);var _exception2=_interopRequireDefault(_exception);var _helpers=__webpack_require__(10);var _decorators=__webpack_require__(18);var _logger=__webpack_require__(20);var _logger2=_interopRequireDefault(_logger);var VERSION="4.0.13";exports.VERSION=VERSION;var COMPILER_REVISION=7;exports.COMPILER_REVISION=COMPILER_REVISION;var REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};exports.REVISION_CHANGES=REVISION_CHANGES;var objectType="[object Object]";function HandlebarsEnvironment(helpers,partials,decorators){this.helpers=helpers||{};this.partials=partials||{};this.decorators=decorators||{};_helpers.registerDefaultHelpers(this);_decorators.registerDefaultDecorators(this)}HandlebarsEnvironment.prototype={constructor:HandlebarsEnvironment,logger:_logger2["default"],log:_logger2["default"].log,registerHelper:function registerHelper(name,fn){if(_utils.toString.call(name)===objectType){if(fn)throw new _exception2["default"]("Arg not supported with multiple helpers");_utils.extend(this.helpers,name)}else this.helpers[name]=fn},unregisterHelper:function unregisterHelper(name){delete this.helpers[name]},registerPartial:function registerPartial(name,partial){if(_utils.toString.call(name)===objectType)_utils.extend(this.partials,name);else{if("undefined"===typeof partial)throw new _exception2["default"]('Attempting to register a partial called "'+name+'" as undefined');this.partials[name]=partial}},unregisterPartial:function unregisterPartial(name){delete this.partials[name]},registerDecorator:function registerDecorator(name,fn){if(_utils.toString.call(name)===objectType){if(fn)throw new _exception2["default"]("Arg not supported with multiple decorators");_utils.extend(this.decorators,name)}else this.decorators[name]=fn},unregisterDecorator:function unregisterDecorator(name){delete this.decorators[name]}};var log=_logger2["default"].log;exports.log=log;exports.createFrame=_utils.createFrame;exports.logger=_logger2["default"]},function(module,exports){"use strict";exports.__esModule=true;exports.extend=extend;exports.indexOf=indexOf;exports.escapeExpression=escapeExpression;exports.isEmpty=isEmpty;exports.createFrame=createFrame;exports.blockParams=blockParams;exports.appendContextPath=appendContextPath;var escape={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"};var badChars=/[&<>"'`=]/g,possible=/[&<>"'`=]/;function escapeChar(chr){return escape[chr]}function extend(obj){for(var i=1;i<arguments.length;i++)for(var key in arguments[i])Object.prototype.hasOwnProperty.call(arguments[i],key)&&(obj[key]=arguments[i][key]);return obj}var toString=Object.prototype.toString;exports.toString=toString;var isFunction=function isFunction(value){return"function"===typeof value};isFunction(/x/)&&(exports.isFunction=isFunction=function(value){return"function"===typeof value&&"[object Function]"===toString.call(value)});exports.isFunction=isFunction;var isArray=Array.isArray||function(value){return!(!value||"object"!==typeof value)&&"[object Array]"===toString.call(value)};exports.isArray=isArray;function indexOf(array,value){for(var i=0,len=array.length;i<len;i++)if(array[i]===value)return i;return-1}function escapeExpression(string){if("string"!==typeof string){if(string&&string.toHTML)return string.toHTML();if(null==string)return"";if(!string)return string+"";string=""+string}if(!possible.test(string))return string;return string.replace(badChars,escapeChar)}function isEmpty(value){return!value&&0!==value||!(!isArray(value)||0!==value.length)}function createFrame(object){var frame=extend({},object);frame._parent=object;return frame}function blockParams(params,ids){params.path=ids;return params}function appendContextPath(contextPath,id){return(contextPath?contextPath+".":"")+id}},function(module,exports,__webpack_require__){"use strict";var _Object$defineProperty=__webpack_require__(7)["default"];exports.__esModule=true;var errorProps=["description","fileName","lineNumber","message","name","number","stack"];function Exception(message,node){var loc=node&&node.loc,line=void 0,column=void 0;if(loc){line=loc.start.line;column=loc.start.column;message+=" - "+line+":"+column}var tmp=Error.prototype.constructor.call(this,message);for(var idx=0;idx<errorProps.length;idx++)this[errorProps[idx]]=tmp[errorProps[idx]];Error.captureStackTrace&&Error.captureStackTrace(this,Exception);try{if(loc){this.lineNumber=line;_Object$defineProperty?Object.defineProperty(this,"column",{value:column,enumerable:true}):this.column=column}}catch(nop){}}Exception.prototype=new Error;exports["default"]=Exception;module.exports=exports["default"]},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(8),__esModule:true}},function(module,exports,__webpack_require__){var $=__webpack_require__(9);module.exports=function defineProperty(it,key,desc){return $.setDesc(it,key,desc)}},function(module,exports){var $Object=Object;module.exports={create:$Object.create,getProto:$Object.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:$Object.getOwnPropertyDescriptor,setDesc:$Object.defineProperty,setDescs:$Object.defineProperties,getKeys:$Object.keys,getNames:$Object.getOwnPropertyNames,getSymbols:$Object.getOwnPropertySymbols,each:[].forEach}},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=true;exports.registerDefaultHelpers=registerDefaultHelpers;var _helpersBlockHelperMissing=__webpack_require__(11);var _helpersBlockHelperMissing2=_interopRequireDefault(_helpersBlockHelperMissing);var _helpersEach=__webpack_require__(12);var _helpersEach2=_interopRequireDefault(_helpersEach);var _helpersHelperMissing=__webpack_require__(13);var _helpersHelperMissing2=_interopRequireDefault(_helpersHelperMissing);var _helpersIf=__webpack_require__(14);var _helpersIf2=_interopRequireDefault(_helpersIf);var _helpersLog=__webpack_require__(15);var _helpersLog2=_interopRequireDefault(_helpersLog);var _helpersLookup=__webpack_require__(16);var _helpersLookup2=_interopRequireDefault(_helpersLookup);var _helpersWith=__webpack_require__(17);var _helpersWith2=_interopRequireDefault(_helpersWith);function registerDefaultHelpers(instance){_helpersBlockHelperMissing2["default"](instance);_helpersEach2["default"](instance);_helpersHelperMissing2["default"](instance);_helpersIf2["default"](instance);_helpersLog2["default"](instance);_helpersLookup2["default"](instance);_helpersWith2["default"](instance)}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _utils=__webpack_require__(5);exports["default"]=function(instance){instance.registerHelper("blockHelperMissing",function(context,options){var inverse=options.inverse,fn=options.fn;if(true===context)return fn(this);if(false===context||null==context)return inverse(this);if(_utils.isArray(context)){if(context.length>0){options.ids&&(options.ids=[options.name]);return instance.helpers.each(context,options)}return inverse(this)}if(options.data&&options.ids){var data=_utils.createFrame(options.data);data.contextPath=_utils.appendContextPath(options.data.contextPath,options.name);options={data:data}}return fn(context,options)})};module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=true;var _utils=__webpack_require__(5);var _exception=__webpack_require__(6);var _exception2=_interopRequireDefault(_exception);exports["default"]=function(instance){instance.registerHelper("each",function(context,options){if(!options)throw new _exception2["default"]("Must pass iterator to #each");var fn=options.fn,inverse=options.inverse,i=0,ret="",data=void 0,contextPath=void 0;options.data&&options.ids&&(contextPath=_utils.appendContextPath(options.data.contextPath,options.ids[0])+".");_utils.isFunction(context)&&(context=context.call(this));options.data&&(data=_utils.createFrame(options.data));function execIteration(field,index,last){if(data){data.key=field;data.index=index;data.first=0===index;data.last=!!last;contextPath&&(data.contextPath=contextPath+field)}ret+=fn(context[field],{data:data,blockParams:_utils.blockParams([context[field],field],[contextPath+field,null])})}if(context&&"object"===typeof context)if(_utils.isArray(context))for(var j=context.length;i<j;i++)i in context&&execIteration(i,i,i===context.length-1);else{var priorKey=void 0;for(var key in context)if(context.hasOwnProperty(key)){void 0!==priorKey&&execIteration(priorKey,i-1);priorKey=key;i++}void 0!==priorKey&&execIteration(priorKey,i-1,true)}0===i&&(ret=inverse(this));return ret})};module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=true;var _exception=__webpack_require__(6);var _exception2=_interopRequireDefault(_exception);exports["default"]=function(instance){instance.registerHelper("helperMissing",function(){if(1===arguments.length)return;throw new _exception2["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')})};module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _utils=__webpack_require__(5);exports["default"]=function(instance){instance.registerHelper("if",function(conditional,options){_utils.isFunction(conditional)&&(conditional=conditional.call(this));return!options.hash.includeZero&&!conditional||_utils.isEmpty(conditional)?options.inverse(this):options.fn(this)});instance.registerHelper("unless",function(conditional,options){return instance.helpers["if"].call(this,conditional,{fn:options.inverse,inverse:options.fn,hash:options.hash})})};module.exports=exports["default"]},function(module,exports){"use strict";exports.__esModule=true;exports["default"]=function(instance){instance.registerHelper("log",function(){var args=[void 0],options=arguments[arguments.length-1];for(var i=0;i<arguments.length-1;i++)args.push(arguments[i]);var level=1;null!=options.hash.level?level=options.hash.level:options.data&&null!=options.data.level&&(level=options.data.level);args[0]=level;instance.log.apply(instance,args)})};module.exports=exports["default"]},function(module,exports){"use strict";exports.__esModule=true;exports["default"]=function(instance){instance.registerHelper("lookup",function(obj,field){return obj&&obj[field]})};module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _utils=__webpack_require__(5);exports["default"]=function(instance){instance.registerHelper("with",function(context,options){_utils.isFunction(context)&&(context=context.call(this));var fn=options.fn;if(_utils.isEmpty(context))return options.inverse(this);var data=options.data;if(options.data&&options.ids){data=_utils.createFrame(options.data);data.contextPath=_utils.appendContextPath(options.data.contextPath,options.ids[0])}return fn(context,{data:data,blockParams:_utils.blockParams([context],[data&&data.contextPath])})})};module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=true;exports.registerDefaultDecorators=registerDefaultDecorators;var _decoratorsInline=__webpack_require__(19);var _decoratorsInline2=_interopRequireDefault(_decoratorsInline);function registerDefaultDecorators(instance){_decoratorsInline2["default"](instance)}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _utils=__webpack_require__(5);exports["default"]=function(instance){instance.registerDecorator("inline",function(fn,props,container,options){var ret=fn;if(!props.partials){props.partials={};ret=function(context,options){var original=container.partials;container.partials=_utils.extend({},original,props.partials);var ret=fn(context,options);container.partials=original;return ret}}props.partials[options.args[0]]=options.fn;return ret})};module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _utils=__webpack_require__(5);var logger={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function lookupLevel(level){if("string"===typeof level){var levelMap=_utils.indexOf(logger.methodMap,level.toLowerCase());level=levelMap>=0?levelMap:parseInt(level,10)}return level},log:function log(level){level=logger.lookupLevel(level);if("undefined"!==typeof console&&logger.lookupLevel(logger.level)<=level){var method=logger.methodMap[level];console[method]||(method="log");for(var _len=arguments.length,message=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)message[_key-1]=arguments[_key];console[method].apply(console,message)}}};exports["default"]=logger;module.exports=exports["default"]},function(module,exports){"use strict";exports.__esModule=true;function SafeString(string){this.string=string}SafeString.prototype.toString=SafeString.prototype.toHTML=function(){return""+this.string};exports["default"]=SafeString;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";var _Object$seal=__webpack_require__(23)["default"];var _interopRequireWildcard=__webpack_require__(3)["default"];var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=true;exports.checkRevision=checkRevision;exports.template=template;exports.wrapProgram=wrapProgram;exports.resolvePartial=resolvePartial;exports.invokePartial=invokePartial;exports.noop=noop;var _utils=__webpack_require__(5);var Utils=_interopRequireWildcard(_utils);var _exception=__webpack_require__(6);var _exception2=_interopRequireDefault(_exception);var _base=__webpack_require__(4);function checkRevision(compilerInfo){var compilerRevision=compilerInfo&&compilerInfo[0]||1,currentRevision=_base.COMPILER_REVISION;if(compilerRevision!==currentRevision){if(compilerRevision<currentRevision){var runtimeVersions=_base.REVISION_CHANGES[currentRevision],compilerVersions=_base.REVISION_CHANGES[compilerRevision];throw new _exception2["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+runtimeVersions+") or downgrade your runtime to an older version ("+compilerVersions+").")}throw new _exception2["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+compilerInfo[1]+").")}}function template(templateSpec,env){if(!env)throw new _exception2["default"]("No environment passed to template");if(!templateSpec||!templateSpec.main)throw new _exception2["default"]("Unknown template object: "+typeof templateSpec);templateSpec.main.decorator=templateSpec.main_d;env.VM.checkRevision(templateSpec.compiler);function invokePartialWrapper(partial,context,options){if(options.hash){context=Utils.extend({},context,options.hash);options.ids&&(options.ids[0]=true)}partial=env.VM.resolvePartial.call(this,partial,context,options);var result=env.VM.invokePartial.call(this,partial,context,options);if(null==result&&env.compile){options.partials[options.name]=env.compile(partial,templateSpec.compilerOptions,env);result=options.partials[options.name](context,options)}if(null!=result){if(options.indent){var lines=result.split("\n");for(var i=0,l=lines.length;i<l;i++){if(!lines[i]&&i+1===l)break;lines[i]=options.indent+lines[i]}result=lines.join("\n")}return result}throw new _exception2["default"]("The partial "+options.name+" could not be compiled when running in runtime-only mode")}var container={strict:function strict(obj,name){if(!(name in obj))throw new _exception2["default"]('"'+name+'" not defined in '+obj);return obj[name]},lookup:function lookup(depths,name){var len=depths.length;for(var i=0;i<len;i++)if(depths[i]&&null!=depths[i][name])return depths[i][name]},lambda:function lambda(current,context){return"function"===typeof current?current.call(context):current},escapeExpression:Utils.escapeExpression,invokePartial:invokePartialWrapper,fn:function fn(i){var ret=templateSpec[i];ret.decorator=templateSpec[i+"_d"];return ret},programs:[],program:function program(i,data,declaredBlockParams,blockParams,depths){var programWrapper=this.programs[i],fn=this.fn(i);data||depths||blockParams||declaredBlockParams?programWrapper=wrapProgram(this,i,fn,data,declaredBlockParams,blockParams,depths):programWrapper||(programWrapper=this.programs[i]=wrapProgram(this,i,fn));return programWrapper},data:function data(value,depth){while(value&&depth--)value=value._parent;return value},merge:function merge(param,common){var obj=param||common;param&&common&&param!==common&&(obj=Utils.extend({},common,param));return obj},nullContext:_Object$seal({}),noop:env.VM.noop,compilerInfo:templateSpec.compiler};function ret(context){var options=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];var data=options.data;ret._setup(options);!options.partial&&templateSpec.useData&&(data=initData(context,data));var depths=void 0,blockParams=templateSpec.useBlockParams?[]:void 0;templateSpec.useDepths&&(depths=options.depths?context!=options.depths[0]?[context].concat(options.depths):options.depths:[context]);function main(context){return""+templateSpec.main(container,context,container.helpers,container.partials,data,blockParams,depths)}main=executeDecorators(templateSpec.main,main,container,options.depths||[],data,blockParams);return main(context,options)}ret.isTop=true;ret._setup=function(options){if(options.partial){container.helpers=options.helpers;container.partials=options.partials;container.decorators=options.decorators}else{container.helpers=container.merge(options.helpers,env.helpers);templateSpec.usePartial&&(container.partials=container.merge(options.partials,env.partials));(templateSpec.usePartial||templateSpec.useDecorators)&&(container.decorators=container.merge(options.decorators,env.decorators))}};ret._child=function(i,data,blockParams,depths){if(templateSpec.useBlockParams&&!blockParams)throw new _exception2["default"]("must pass block params");if(templateSpec.useDepths&&!depths)throw new _exception2["default"]("must pass parent depths");return wrapProgram(container,i,templateSpec[i],data,0,blockParams,depths)};return ret}function wrapProgram(container,i,fn,data,declaredBlockParams,blockParams,depths){function prog(context){var options=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];var currentDepths=depths;!depths||context==depths[0]||context===container.nullContext&&null===depths[0]||(currentDepths=[context].concat(depths));return fn(container,context,container.helpers,container.partials,options.data||data,blockParams&&[options.blockParams].concat(blockParams),currentDepths)}prog=executeDecorators(fn,prog,container,depths,data,blockParams);prog.program=i;prog.depth=depths?depths.length:0;prog.blockParams=declaredBlockParams||0;return prog}function resolvePartial(partial,context,options){if(partial){if(!partial.call&&!options.name){options.name=partial;partial=options.partials[partial]}}else partial="@partial-block"===options.name?options.data["partial-block"]:options.partials[options.name];return partial}function invokePartial(partial,context,options){var currentPartialBlock=options.data&&options.data["partial-block"];options.partial=true;options.ids&&(options.data.contextPath=options.ids[0]||options.data.contextPath);var partialBlock=void 0;options.fn&&options.fn!==noop&&function(){options.data=_base.createFrame(options.data);var fn=options.fn;partialBlock=options.data["partial-block"]=function partialBlockWrapper(context){var options=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];options.data=_base.createFrame(options.data);options.data["partial-block"]=currentPartialBlock;return fn(context,options)};fn.partials&&(options.partials=Utils.extend({},options.partials,fn.partials))}();void 0===partial&&partialBlock&&(partial=partialBlock);if(void 0===partial)throw new _exception2["default"]("The partial "+options.name+" could not be found");if(partial instanceof Function)return partial(context,options)}function noop(){return""}function initData(context,data){if(!data||!("root"in data)){data=data?_base.createFrame(data):{};data.root=context}return data}function executeDecorators(fn,prog,container,depths,data,blockParams){if(fn.decorator){var props={};prog=fn.decorator(prog,props,container,depths&&depths[0],data,blockParams,depths);Utils.extend(prog,props)}return prog}},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(24),__esModule:true}},function(module,exports,__webpack_require__){__webpack_require__(25);module.exports=__webpack_require__(30).Object.seal},function(module,exports,__webpack_require__){var isObject=__webpack_require__(26);__webpack_require__(27)("seal",function($seal){return function seal(it){return $seal&&isObject(it)?$seal(it):it}})},function(module,exports){module.exports=function(it){return"object"===typeof it?null!==it:"function"===typeof it}},function(module,exports,__webpack_require__){var $export=__webpack_require__(28),core=__webpack_require__(30),fails=__webpack_require__(33);module.exports=function(KEY,exec){var fn=(core.Object||{})[KEY]||Object[KEY],exp={};exp[KEY]=exec(fn);$export($export.S+$export.F*fails(function(){fn(1)}),"Object",exp)}},function(module,exports,__webpack_require__){var global=__webpack_require__(29),core=__webpack_require__(30),ctx=__webpack_require__(31),PROTOTYPE="prototype";var $export=function(type,name,source){var key,own,out,IS_FORCED=type&$export.F,IS_GLOBAL=type&$export.G,IS_STATIC=type&$export.S,IS_PROTO=type&$export.P,IS_BIND=type&$export.B,IS_WRAP=type&$export.W,exports=IS_GLOBAL?core:core[name]||(core[name]={}),target=IS_GLOBAL?global:IS_STATIC?global[name]:(global[name]||{})[PROTOTYPE];IS_GLOBAL&&(source=name);for(key in source){own=!IS_FORCED&&target&&key in target;if(own&&key in exports)continue;out=own?target[key]:source[key];exports[key]=IS_GLOBAL&&"function"!=typeof target[key]?source[key]:IS_BIND&&own?ctx(out,global):IS_WRAP&&target[key]==out?function(C){var F=function(param){return this instanceof C?new C(param):C(param)};F[PROTOTYPE]=C[PROTOTYPE];return F}(out):IS_PROTO&&"function"==typeof out?ctx(Function.call,out):out;IS_PROTO&&((exports[PROTOTYPE]||(exports[PROTOTYPE]={}))[key]=out)}};$export.F=1;$export.G=2;$export.S=4;$export.P=8;$export.B=16;$export.W=32;module.exports=$export},function(module,exports){var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)},function(module,exports){var core=module.exports={version:"1.2.6"};"number"==typeof __e&&(__e=core)},function(module,exports,__webpack_require__){var aFunction=__webpack_require__(32);module.exports=function(fn,that,length){aFunction(fn);if(void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports){module.exports=function(it){if("function"!=typeof it)throw TypeError(it+" is not a function!");return it}},function(module,exports){module.exports=function(exec){try{return!!exec()}catch(e){return true}}},function(module,exports){(function(global){"use strict";exports.__esModule=true;exports["default"]=function(Handlebars){var root="undefined"!==typeof global?global:window,$Handlebars=root.Handlebars;Handlebars.noConflict=function(){root.Handlebars===Handlebars&&(root.Handlebars=$Handlebars);return Handlebars}};module.exports=exports["default"]}).call(exports,function(){return this}())},function(module,exports){"use strict";exports.__esModule=true;var AST={helpers:{helperExpression:function helperExpression(node){return"SubExpression"===node.type||("MustacheStatement"===node.type||"BlockStatement"===node.type)&&!!(node.params&&node.params.length||node.hash)},scopedId:function scopedId(path){return/^\.|this\b/.test(path.original)},simpleId:function simpleId(path){return 1===path.parts.length&&!AST.helpers.scopedId(path)&&!path.depth}}};exports["default"]=AST;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];var _interopRequireWildcard=__webpack_require__(3)["default"];exports.__esModule=true;exports.parse=parse;var _parser=__webpack_require__(37);var _parser2=_interopRequireDefault(_parser);var _whitespaceControl=__webpack_require__(38);var _whitespaceControl2=_interopRequireDefault(_whitespaceControl);var _helpers=__webpack_require__(40);var Helpers=_interopRequireWildcard(_helpers);var _utils=__webpack_require__(5);exports.parser=_parser2["default"];var yy={};_utils.extend(yy,Helpers);function parse(input,options){if("Program"===input.type)return input;_parser2["default"].yy=yy;yy.locInfo=function(locInfo){return new yy.SourceLocation(options&&options.srcName,locInfo)};var strip=new _whitespaceControl2["default"](options);return strip.accept(_parser2["default"].parse(input))}},function(module,exports){"use strict";exports.__esModule=true;var handlebars=function(){var parser={trace:function trace(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition_plus0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,1],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function anonymous(yytext,yyleng,yylineno,yy,yystate,$$,_$){var $0=$$.length-1;switch(yystate){case 1:return $$[$0-1];case 2:this.$=yy.prepareProgram($$[$0]);break;case 3:case 4:case 5:case 6:case 7:case 8:this.$=$$[$0];break;case 9:this.$={type:"CommentStatement",value:yy.stripComment($$[$0]),strip:yy.stripFlags($$[$0],$$[$0]),loc:yy.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:$$[$0],value:$$[$0],loc:yy.locInfo(this._$)};break;case 11:this.$=yy.prepareRawBlock($$[$0-2],$$[$0-1],$$[$0],this._$);break;case 12:this.$={path:$$[$0-3],params:$$[$0-2],hash:$$[$0-1]};break;case 13:this.$=yy.prepareBlock($$[$0-3],$$[$0-2],$$[$0-1],$$[$0],false,this._$);break;case 14:this.$=yy.prepareBlock($$[$0-3],$$[$0-2],$$[$0-1],$$[$0],true,this._$);break;case 15:this.$={open:$$[$0-5],path:$$[$0-4],params:$$[$0-3],hash:$$[$0-2],blockParams:$$[$0-1],strip:yy.stripFlags($$[$0-5],$$[$0])};break;case 16:case 17:this.$={path:$$[$0-4],params:$$[$0-3],hash:$$[$0-2],blockParams:$$[$0-1],strip:yy.stripFlags($$[$0-5],$$[$0])};break;case 18:this.$={strip:yy.stripFlags($$[$0-1],$$[$0-1]),program:$$[$0]};break;case 19:var inverse=yy.prepareBlock($$[$0-2],$$[$0-1],$$[$0],$$[$0],false,this._$),program=yy.prepareProgram([inverse],$$[$0-1].loc);program.chained=true;this.$={strip:$$[$0-2].strip,program:program,chain:true};break;case 20:this.$=$$[$0];break;case 21:this.$={path:$$[$0-1],strip:yy.stripFlags($$[$0-2],$$[$0])};break;case 22:case 23:this.$=yy.prepareMustache($$[$0-3],$$[$0-2],$$[$0-1],$$[$0-4],yy.stripFlags($$[$0-4],$$[$0]),this._$);break;case 24:this.$={type:"PartialStatement",name:$$[$0-3],params:$$[$0-2],hash:$$[$0-1],indent:"",strip:yy.stripFlags($$[$0-4],$$[$0]),loc:yy.locInfo(this._$)};break;case 25:this.$=yy.preparePartialBlock($$[$0-2],$$[$0-1],$$[$0],this._$);break;case 26:this.$={path:$$[$0-3],params:$$[$0-2],hash:$$[$0-1],strip:yy.stripFlags($$[$0-4],$$[$0])};break;case 27:case 28:this.$=$$[$0];break;case 29:this.$={type:"SubExpression",path:$$[$0-3],params:$$[$0-2],hash:$$[$0-1],loc:yy.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:$$[$0],loc:yy.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:yy.id($$[$0-2]),value:$$[$0],loc:yy.locInfo(this._$)};break;case 32:this.$=yy.id($$[$0-1]);break;case 33:case 34:this.$=$$[$0];break;case 35:this.$={type:"StringLiteral",value:$$[$0],original:$$[$0],loc:yy.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number($$[$0]),original:Number($$[$0]),loc:yy.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===$$[$0],original:"true"===$$[$0],loc:yy.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:yy.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:yy.locInfo(this._$)};break;case 40:case 41:this.$=$$[$0];break;case 42:this.$=yy.preparePath(true,$$[$0],this._$);break;case 43:this.$=yy.preparePath(false,$$[$0],this._$);break;case 44:$$[$0-2].push({part:yy.id($$[$0]),original:$$[$0],separator:$$[$0-1]});this.$=$$[$0-2];break;case 45:this.$=[{part:yy.id($$[$0]),original:$$[$0]}];break;case 46:this.$=[];break;case 47:$$[$0-1].push($$[$0]);break;case 48:this.$=[$$[$0]];break;case 49:$$[$0-1].push($$[$0]);break;case 50:this.$=[];break;case 51:$$[$0-1].push($$[$0]);break;case 58:this.$=[];break;case 59:$$[$0-1].push($$[$0]);break;case 64:this.$=[];break;case 65:$$[$0-1].push($$[$0]);break;case 70:this.$=[];break;case 71:$$[$0-1].push($$[$0]);break;case 78:this.$=[];break;case 79:$$[$0-1].push($$[$0]);break;case 82:this.$=[];break;case 83:$$[$0-1].push($$[$0]);break;case 86:this.$=[];break;case 87:$$[$0-1].push($$[$0]);break;case 90:this.$=[];break;case 91:$$[$0-1].push($$[$0]);break;case 94:this.$=[];break;case 95:$$[$0-1].push($$[$0]);break;case 98:this.$=[$$[$0]];break;case 99:$$[$0-1].push($$[$0]);break;case 100:this.$=[$$[$0]];break;case 101:$$[$0-1].push($$[$0])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{13:40,15:[1,20],17:39},{20:42,56:41,64:43,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:45,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:48,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:42,56:49,64:43,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:50,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,51]},{72:[1,35],86:52},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:53,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:54,38:56,39:[1,58],43:57,44:[1,59],45:55,47:[2,54]},{28:60,43:61,44:[1,59],47:[2,56]},{13:63,15:[1,20],18:[1,62]},{15:[2,48],18:[2,48]},{33:[2,86],57:64,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:65,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:66,47:[1,67]},{30:68,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:69,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:70,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:71,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:75,33:[2,80],50:72,63:73,64:76,65:[1,44],69:74,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,80]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,51]},{20:75,53:81,54:[2,84],63:82,64:76,65:[1,44],69:83,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:84,47:[1,67]},{47:[2,55]},{4:85,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:86,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:87,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:88,47:[1,67]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:75,33:[2,88],58:89,63:90,64:76,65:[1,44],69:91,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:92,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:93,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,31:94,33:[2,60],63:95,64:76,65:[1,44],69:96,70:77,71:78,72:[1,79],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,33:[2,66],36:97,63:98,64:76,65:[1,44],69:99,70:77,71:78,72:[1,79],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,22:100,23:[2,52],63:101,64:76,65:[1,44],69:102,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,33:[2,92],62:103,63:104,64:76,65:[1,44],69:105,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,106]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:107,72:[1,108],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,109],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,110]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:56,39:[1,58],43:57,44:[1,59],45:112,46:111,47:[2,76]},{33:[2,70],40:113,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,114]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:75,63:116,64:76,65:[1,44],67:115,68:[2,96],69:117,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,118]},{32:119,33:[2,62],74:120,75:[1,121]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:122,74:123,75:[1,121]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,124]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,125]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,109]},{20:75,63:126,64:76,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:75,33:[2,72],41:127,63:128,64:76,65:[1,44],69:129,70:77,71:78,72:[1,79],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,130]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,131]},{33:[2,63]},{72:[1,133],76:132},{33:[1,134]},{33:[2,69]},{15:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:135,74:136,75:[1,121]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,138],77:[1,137]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,139]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],55:[2,55],57:[2,20],61:[2,57],74:[2,81],83:[2,85],87:[2,18],91:[2,89],102:[2,53],105:[2,93],111:[2,19],112:[2,77],117:[2,97],120:[2,63],123:[2,69],124:[2,12],136:[2,75],137:[2,32]},parseError:function parseError(str,hash){throw new Error(str)},parse:function parse(input){var self=this,stack=[0],vstack=[null],lstack=[],table=this.table,yytext="",yylineno=0,yyleng=0,recovering=0;this.lexer.setInput(input);this.lexer.yy=this.yy;this.yy.lexer=this.lexer;this.yy.parser=this;"undefined"==typeof this.lexer.yylloc&&(this.lexer.yylloc={});var yyloc=this.lexer.yylloc;lstack.push(yyloc);var ranges=this.lexer.options&&this.lexer.options.ranges;"function"===typeof this.yy.parseError&&(this.parseError=this.yy.parseError);function lex(){var token;token=self.lexer.lex()||1;"number"!==typeof token&&(token=self.symbols_[token]||token);return token}var symbol,preErrorSymbol,state,action,r,p,len,newState,expected,yyval={};while(true){state=stack[stack.length-1];if(this.defaultActions[state])action=this.defaultActions[state];else{null!==symbol&&"undefined"!=typeof symbol||(symbol=lex());action=table[state]&&table[state][symbol]}if("undefined"===typeof action||!action.length||!action[0]){var errStr="";if(!recovering){expected=[];for(p in table[state])this.terminals_[p]&&p>2&&expected.push("'"+this.terminals_[p]+"'");errStr=this.lexer.showPosition?"Parse error on line "+(yylineno+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+expected.join(", ")+", got '"+(this.terminals_[symbol]||symbol)+"'":"Parse error on line "+(yylineno+1)+": Unexpected "+(1==symbol?"end of input":"'"+(this.terminals_[symbol]||symbol)+"'");this.parseError(errStr,{text:this.lexer.match,token:this.terminals_[symbol]||symbol,line:this.lexer.yylineno,loc:yyloc,expected:expected})}}if(action[0]instanceof Array&&action.length>1)throw new Error("Parse Error: multiple actions possible at state: "+state+", token: "+symbol);switch(action[0]){case 1:stack.push(symbol);vstack.push(this.lexer.yytext);lstack.push(this.lexer.yylloc);stack.push(action[1]);symbol=null;if(preErrorSymbol){symbol=preErrorSymbol;preErrorSymbol=null}else{yyleng=this.lexer.yyleng;yytext=this.lexer.yytext;yylineno=this.lexer.yylineno;yyloc=this.lexer.yylloc;recovering>0&&recovering--}break;case 2:len=this.productions_[action[1]][1];yyval.$=vstack[vstack.length-len];yyval._$={first_line:lstack[lstack.length-(len||1)].first_line,last_line:lstack[lstack.length-1].last_line,first_column:lstack[lstack.length-(len||1)].first_column,last_column:lstack[lstack.length-1].last_column};ranges&&(yyval._$.range=[lstack[lstack.length-(len||1)].range[0],lstack[lstack.length-1].range[1]]);r=this.performAction.call(yyval,yytext,yyleng,yylineno,this.yy,action[1],vstack,lstack);if("undefined"!==typeof r)return r;if(len){stack=stack.slice(0,-1*len*2);vstack=vstack.slice(0,-1*len);lstack=lstack.slice(0,-1*len)}stack.push(this.productions_[action[1]][0]);vstack.push(yyval.$);lstack.push(yyval._$);newState=table[stack[stack.length-2]][stack[stack.length-1]];stack.push(newState);break;case 3:return true}}return true}};var lexer=function(){var lexer={EOF:1,parseError:function parseError(str,hash){if(!this.yy.parser)throw new Error(str);this.yy.parser.parseError(str,hash)},setInput:function setInput(input){this._input=input;this._more=this._less=this.done=false;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;return this},input:function input(){var ch=this._input[0];this.yytext+=ch;this.yyleng++;this.offset++;this.match+=ch;this.matched+=ch;var lines=ch.match(/(?:\r\n?|\n).*/g);if(lines){this.yylineno++;this.yylloc.last_line++}else this.yylloc.last_column++;this.options.ranges&&this.yylloc.range[1]++;this._input=this._input.slice(1);return ch},unput:function unput(ch){var len=ch.length;var lines=ch.split(/(?:\r\n?|\n)/g);this._input=ch+this._input;this.yytext=this.yytext.substr(0,this.yytext.length-len-1);this.offset-=len;var oldLines=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);lines.length-1&&(this.yylineno-=lines.length-1);var r=this.yylloc.range;this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:lines?(lines.length===oldLines.length?this.yylloc.first_column:0)+oldLines[oldLines.length-lines.length].length-lines[0].length:this.yylloc.first_column-len};this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-len]);return this},more:function more(){this._more=true;return this},less:function less(n){this.unput(this.match.slice(n))},pastInput:function pastInput(){var past=this.matched.substr(0,this.matched.length-this.match.length);return(past.length>20?"...":"")+past.substr(-20).replace(/\n/g,"")},upcomingInput:function upcomingInput(){var next=this.match;next.length<20&&(next+=this._input.substr(0,20-next.length));return(next.substr(0,20)+(next.length>20?"...":"")).replace(/\n/g,"")},showPosition:function showPosition(){var pre=this.pastInput();var c=new Array(pre.length+1).join("-");return pre+this.upcomingInput()+"\n"+c+"^"},next:function next(){if(this.done)return this.EOF;this._input||(this.done=true);var token,match,tempMatch,index,lines;if(!this._more){this.yytext="";this.match=""}var rules=this._currentRules();for(var i=0;i<rules.length;i++){tempMatch=this._input.match(this.rules[rules[i]]);if(tempMatch&&(!match||tempMatch[0].length>match[0].length)){match=tempMatch;index=i;if(!this.options.flex)break}}if(match){lines=match[0].match(/(?:\r\n?|\n).*/g);lines&&(this.yylineno+=lines.length);this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:lines?lines[lines.length-1].length-lines[lines.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+match[0].length};this.yytext+=match[0];this.match+=match[0];this.matches=match;this.yyleng=this.yytext.length;this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]);this._more=false;this._input=this._input.slice(match[0].length);this.matched+=match[0];token=this.performAction.call(this,this.yy,this,rules[index],this.conditionStack[this.conditionStack.length-1]);this.done&&this._input&&(this.done=false);return token||void 0}return""===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 lex(){var r=this.next();return"undefined"!==typeof r?r:this.lex()},begin:function begin(condition){this.conditionStack.push(condition)},popState:function popState(){return this.conditionStack.pop()},_currentRules:function _currentRules(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function topState(){return this.conditionStack[this.conditionStack.length-2]},pushState:function begin(condition){this.begin(condition)}};lexer.options={};lexer.performAction=function anonymous(yy,yy_,$avoiding_name_collisions,YY_START){function strip(start,end){return yy_.yytext=yy_.yytext.substr(start,yy_.yyleng-end)}switch($avoiding_name_collisions){case 0:if("\\\\"===yy_.yytext.slice(-2)){strip(0,1);this.begin("mu")}else if("\\"===yy_.yytext.slice(-1)){strip(0,1);this.begin("emu")}else this.begin("mu");if(yy_.yytext)return 15;break;case 1:return 15;case 2:this.popState();return 15;case 3:this.begin("raw");return 15;case 4:this.popState();if("raw"===this.conditionStack[this.conditionStack.length-1])return 15;yy_.yytext=yy_.yytext.substr(5,yy_.yyleng-9);return"END_RAW_BLOCK";case 5:return 15;case 6:this.popState();return 14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:this.popState();this.begin("raw");return 23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:this.popState();return 44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(yy_.yytext);this.popState();this.begin("com");break;case 22:this.popState();return 14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:this.popState();return 54;case 30:this.popState();return 33;case 31:yy_.yytext=strip(1,2).replace(/\\"/g,'"');return 80;case 32:yy_.yytext=strip(1,2).replace(/\\'/g,"'");return 80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:yy_.yytext=yy_.yytext.replace(/\\([\\\]])/g,"$1");return 72;case 43:return"INVALID";case 44:return 5}};lexer.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/];lexer.conditions={mu:{rules:[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],inclusive:false},emu:{rules:[2],inclusive:false},com:{rules:[6],inclusive:false},raw:{rules:[3,4,5],inclusive:false},INITIAL:{rules:[0,1,44],inclusive:true}};return lexer}();parser.lexer=lexer;function Parser(){this.yy={}}Parser.prototype=parser;parser.Parser=Parser;return new Parser}();exports["default"]=handlebars;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=true;var _visitor=__webpack_require__(39);var _visitor2=_interopRequireDefault(_visitor);function WhitespaceControl(){var options=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=options}WhitespaceControl.prototype=new _visitor2["default"];WhitespaceControl.prototype.Program=function(program){var doStandalone=!this.options.ignoreStandalone;var isRoot=!this.isRootSeen;this.isRootSeen=true;var body=program.body;for(var i=0,l=body.length;i<l;i++){var current=body[i],strip=this.accept(current);if(!strip)continue;var _isPrevWhitespace=isPrevWhitespace(body,i,isRoot),_isNextWhitespace=isNextWhitespace(body,i,isRoot),openStandalone=strip.openStandalone&&_isPrevWhitespace,closeStandalone=strip.closeStandalone&&_isNextWhitespace,inlineStandalone=strip.inlineStandalone&&_isPrevWhitespace&&_isNextWhitespace;strip.close&&omitRight(body,i,true);strip.open&&omitLeft(body,i,true);if(doStandalone&&inlineStandalone){omitRight(body,i);omitLeft(body,i)&&"PartialStatement"===current.type&&(current.indent=/([ \t]+$)/.exec(body[i-1].original)[1])}if(doStandalone&&openStandalone){omitRight((current.program||current.inverse).body);omitLeft(body,i)}if(doStandalone&&closeStandalone){omitRight(body,i);omitLeft((current.inverse||current.program).body)}}return program};WhitespaceControl.prototype.BlockStatement=WhitespaceControl.prototype.DecoratorBlock=WhitespaceControl.prototype.PartialBlockStatement=function(block){this.accept(block.program);this.accept(block.inverse);var program=block.program||block.inverse,inverse=block.program&&block.inverse,firstInverse=inverse,lastInverse=inverse;if(inverse&&inverse.chained){firstInverse=inverse.body[0].program;while(lastInverse.chained)lastInverse=lastInverse.body[lastInverse.body.length-1].program}var strip={open:block.openStrip.open,close:block.closeStrip.close,openStandalone:isNextWhitespace(program.body),closeStandalone:isPrevWhitespace((firstInverse||program).body)};block.openStrip.close&&omitRight(program.body,null,true);if(inverse){var inverseStrip=block.inverseStrip;inverseStrip.open&&omitLeft(program.body,null,true);inverseStrip.close&&omitRight(firstInverse.body,null,true);block.closeStrip.open&&omitLeft(lastInverse.body,null,true);if(!this.options.ignoreStandalone&&isPrevWhitespace(program.body)&&isNextWhitespace(firstInverse.body)){omitLeft(program.body);omitRight(firstInverse.body)}}else block.closeStrip.open&&omitLeft(program.body,null,true);return strip};WhitespaceControl.prototype.Decorator=WhitespaceControl.prototype.MustacheStatement=function(mustache){return mustache.strip};WhitespaceControl.prototype.PartialStatement=WhitespaceControl.prototype.CommentStatement=function(node){var strip=node.strip||{};return{inlineStandalone:true,open:strip.open,close:strip.close}};function isPrevWhitespace(body,i,isRoot){void 0===i&&(i=body.length);var prev=body[i-1],sibling=body[i-2];if(!prev)return isRoot;if("ContentStatement"===prev.type)return(sibling||!isRoot?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(prev.original)}function isNextWhitespace(body,i,isRoot){void 0===i&&(i=-1);var next=body[i+1],sibling=body[i+2];if(!next)return isRoot;if("ContentStatement"===next.type)return(sibling||!isRoot?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(next.original)}function omitRight(body,i,multiple){var current=body[null==i?0:i+1];if(!current||"ContentStatement"!==current.type||!multiple&&current.rightStripped)return;var original=current.value;current.value=current.value.replace(multiple?/^\s+/:/^[ \t]*\r?\n?/,"");current.rightStripped=current.value!==original}function omitLeft(body,i,multiple){var current=body[null==i?body.length-1:i-1];if(!current||"ContentStatement"!==current.type||!multiple&&current.leftStripped)return;var original=current.value;current.value=current.value.replace(multiple?/\s+$/:/[ \t]+$/,"");current.leftStripped=current.value!==original;return current.leftStripped}exports["default"]=WhitespaceControl;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=true;var _exception=__webpack_require__(6);var _exception2=_interopRequireDefault(_exception);function Visitor(){this.parents=[]}Visitor.prototype={constructor:Visitor,mutating:false,acceptKey:function acceptKey(node,name){var value=this.accept(node[name]);if(this.mutating){if(value&&!Visitor.prototype[value.type])throw new _exception2["default"]('Unexpected node type "'+value.type+'" found when accepting '+name+" on "+node.type);node[name]=value}},acceptRequired:function acceptRequired(node,name){this.acceptKey(node,name);if(!node[name])throw new _exception2["default"](node.type+" requires "+name)},acceptArray:function acceptArray(array){for(var i=0,l=array.length;i<l;i++){this.acceptKey(array,i);if(!array[i]){array.splice(i,1);i--;l--}}},accept:function accept(object){if(!object)return;if(!this[object.type])throw new _exception2["default"]("Unknown type: "+object.type,object);this.current&&this.parents.unshift(this.current);this.current=object;var ret=this[object.type](object);this.current=this.parents.shift();if(!this.mutating||ret)return ret;if(false!==ret)return object},Program:function Program(program){this.acceptArray(program.body)},MustacheStatement:visitSubExpression,Decorator:visitSubExpression,BlockStatement:visitBlock,DecoratorBlock:visitBlock,PartialStatement:visitPartial,PartialBlockStatement:function PartialBlockStatement(partial){visitPartial.call(this,partial);this.acceptKey(partial,"program")},ContentStatement:function ContentStatement(){},CommentStatement:function CommentStatement(){},SubExpression:visitSubExpression,PathExpression:function PathExpression(){},StringLiteral:function StringLiteral(){},NumberLiteral:function NumberLiteral(){},BooleanLiteral:function BooleanLiteral(){},UndefinedLiteral:function UndefinedLiteral(){},NullLiteral:function NullLiteral(){},Hash:function Hash(hash){this.acceptArray(hash.pairs)},HashPair:function HashPair(pair){this.acceptRequired(pair,"value")}};function visitSubExpression(mustache){this.acceptRequired(mustache,"path");this.acceptArray(mustache.params);this.acceptKey(mustache,"hash")}function visitBlock(block){visitSubExpression.call(this,block);this.acceptKey(block,"program");this.acceptKey(block,"inverse")}function visitPartial(partial){this.acceptRequired(partial,"name");this.acceptArray(partial.params);this.acceptKey(partial,"hash")}exports["default"]=Visitor;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=true;exports.SourceLocation=SourceLocation;exports.id=id;exports.stripFlags=stripFlags;exports.stripComment=stripComment;exports.preparePath=preparePath;exports.prepareMustache=prepareMustache;exports.prepareRawBlock=prepareRawBlock;exports.prepareBlock=prepareBlock;exports.prepareProgram=prepareProgram;exports.preparePartialBlock=preparePartialBlock;var _exception=__webpack_require__(6);var _exception2=_interopRequireDefault(_exception);function validateClose(open,close){close=close.path?close.path.original:close;if(open.path.original!==close){var errorNode={loc:open.path.loc};throw new _exception2["default"](open.path.original+" doesn't match "+close,errorNode)}}function SourceLocation(source,locInfo){this.source=source;this.start={line:locInfo.first_line,column:locInfo.first_column};this.end={line:locInfo.last_line,column:locInfo.last_column}}function id(token){return/^\[.*\]$/.test(token)?token.substr(1,token.length-2):token}function stripFlags(open,close){return{open:"~"===open.charAt(2),close:"~"===close.charAt(close.length-3)}}function stripComment(comment){return comment.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function preparePath(data,parts,loc){loc=this.locInfo(loc);var original=data?"@":"",dig=[],depth=0;for(var i=0,l=parts.length;i<l;i++){var part=parts[i].part,isLiteral=parts[i].original!==part;original+=(parts[i].separator||"")+part;if(isLiteral||".."!==part&&"."!==part&&"this"!==part)dig.push(part);else{if(dig.length>0)throw new _exception2["default"]("Invalid path: "+original,{loc:loc});".."===part&&depth++}}return{type:"PathExpression",data:data,depth:depth,parts:dig,original:original,loc:loc}}function prepareMustache(path,params,hash,open,strip,locInfo){var escapeFlag=open.charAt(3)||open.charAt(2),escaped="{"!==escapeFlag&&"&"!==escapeFlag;var decorator=/\*/.test(open);return{type:decorator?"Decorator":"MustacheStatement",path:path,params:params,hash:hash,escaped:escaped,strip:strip,loc:this.locInfo(locInfo)}}function prepareRawBlock(openRawBlock,contents,close,locInfo){validateClose(openRawBlock,close);locInfo=this.locInfo(locInfo);var program={type:"Program",body:contents,strip:{},loc:locInfo};return{type:"BlockStatement",path:openRawBlock.path,params:openRawBlock.params,hash:openRawBlock.hash,program:program,openStrip:{},inverseStrip:{},closeStrip:{},loc:locInfo}}function prepareBlock(openBlock,program,inverseAndProgram,close,inverted,locInfo){close&&close.path&&validateClose(openBlock,close);var decorator=/\*/.test(openBlock.open);program.blockParams=openBlock.blockParams;var inverse=void 0,inverseStrip=void 0;if(inverseAndProgram){if(decorator)throw new _exception2["default"]("Unexpected inverse block on decorator",inverseAndProgram);inverseAndProgram.chain&&(inverseAndProgram.program.body[0].closeStrip=close.strip);inverseStrip=inverseAndProgram.strip;inverse=inverseAndProgram.program}if(inverted){inverted=inverse;inverse=program;program=inverted}return{type:decorator?"DecoratorBlock":"BlockStatement",path:openBlock.path,params:openBlock.params,hash:openBlock.hash,program:program,inverse:inverse,openStrip:openBlock.strip,inverseStrip:inverseStrip,closeStrip:close&&close.strip,loc:this.locInfo(locInfo)}}function prepareProgram(statements,loc){if(!loc&&statements.length){var firstLoc=statements[0].loc,lastLoc=statements[statements.length-1].loc;firstLoc&&lastLoc&&(loc={source:firstLoc.source,start:{line:firstLoc.start.line,column:firstLoc.start.column},end:{line:lastLoc.end.line,column:lastLoc.end.column}})}return{type:"Program",body:statements,strip:{},loc:loc}}function preparePartialBlock(open,program,close,locInfo){validateClose(open,close);return{type:"PartialBlockStatement",name:open.path,params:open.params,hash:open.hash,program:program,openStrip:open.strip,closeStrip:close&&close.strip,loc:this.locInfo(locInfo)}}},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=true;exports.Compiler=Compiler;exports.precompile=precompile;exports.compile=compile;var _exception=__webpack_require__(6);var _exception2=_interopRequireDefault(_exception);var _utils=__webpack_require__(5);var _ast=__webpack_require__(35);var _ast2=_interopRequireDefault(_ast);var slice=[].slice;function Compiler(){}Compiler.prototype={compiler:Compiler,equals:function equals(other){var len=this.opcodes.length;if(other.opcodes.length!==len)return false;for(var i=0;i<len;i++){var opcode=this.opcodes[i],otherOpcode=other.opcodes[i];if(opcode.opcode!==otherOpcode.opcode||!argEquals(opcode.args,otherOpcode.args))return false}len=this.children.length;for(i=0;i<len;i++)if(!this.children[i].equals(other.children[i]))return false;return true},guid:0,compile:function compile(program,options){this.sourceNode=[];this.opcodes=[];this.children=[];this.options=options;this.stringParams=options.stringParams;this.trackIds=options.trackIds;options.blockParams=options.blockParams||[];var knownHelpers=options.knownHelpers;options.knownHelpers={helperMissing:true,blockHelperMissing:true,each:true,if:true,unless:true,with:true,log:true,lookup:true};if(knownHelpers)for(var _name in knownHelpers)this.options.knownHelpers[_name]=knownHelpers[_name];return this.accept(program)},compileProgram:function compileProgram(program){var childCompiler=new this.compiler,result=childCompiler.compile(program,this.options),guid=this.guid++;this.usePartial=this.usePartial||result.usePartial;this.children[guid]=result;this.useDepths=this.useDepths||result.useDepths;return guid},accept:function accept(node){if(!this[node.type])throw new _exception2["default"]("Unknown type: "+node.type,node);this.sourceNode.unshift(node);var ret=this[node.type](node);this.sourceNode.shift();return ret},Program:function Program(program){this.options.blockParams.unshift(program.blockParams);var body=program.body,bodyLength=body.length;for(var i=0;i<bodyLength;i++)this.accept(body[i]);this.options.blockParams.shift();this.isSimple=1===bodyLength;this.blockParams=program.blockParams?program.blockParams.length:0;return this},BlockStatement:function BlockStatement(block){transformLiteralToPath(block);var program=block.program,inverse=block.inverse;program=program&&this.compileProgram(program);inverse=inverse&&this.compileProgram(inverse);var type=this.classifySexpr(block);if("helper"===type)this.helperSexpr(block,program,inverse);else if("simple"===type){this.simpleSexpr(block);this.opcode("pushProgram",program);this.opcode("pushProgram",inverse);this.opcode("emptyHash");this.opcode("blockValue",block.path.original)}else{this.ambiguousSexpr(block,program,inverse);this.opcode("pushProgram",program);this.opcode("pushProgram",inverse);this.opcode("emptyHash");this.opcode("ambiguousBlockValue")}this.opcode("append")},DecoratorBlock:function DecoratorBlock(decorator){var program=decorator.program&&this.compileProgram(decorator.program);var params=this.setupFullMustacheParams(decorator,program,void 0),path=decorator.path;this.useDecorators=true;this.opcode("registerDecorator",params.length,path.original)},PartialStatement:function PartialStatement(partial){this.usePartial=true;var program=partial.program;program&&(program=this.compileProgram(partial.program));var params=partial.params;if(params.length>1)throw new _exception2["default"]("Unsupported number of partial arguments: "+params.length,partial);params.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):params.push({type:"PathExpression",parts:[],depth:0}));var partialName=partial.name.original,isDynamic="SubExpression"===partial.name.type;isDynamic&&this.accept(partial.name);this.setupFullMustacheParams(partial,program,void 0,true);var indent=partial.indent||"";if(this.options.preventIndent&&indent){this.opcode("appendContent",indent);indent=""}this.opcode("invokePartial",isDynamic,partialName,indent);this.opcode("append")},PartialBlockStatement:function PartialBlockStatement(partialBlock){this.PartialStatement(partialBlock)},MustacheStatement:function MustacheStatement(mustache){this.SubExpression(mustache);mustache.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function Decorator(decorator){this.DecoratorBlock(decorator)},ContentStatement:function ContentStatement(content){content.value&&this.opcode("appendContent",content.value)},CommentStatement:function CommentStatement(){},SubExpression:function SubExpression(sexpr){transformLiteralToPath(sexpr);var type=this.classifySexpr(sexpr);"simple"===type?this.simpleSexpr(sexpr):"helper"===type?this.helperSexpr(sexpr):this.ambiguousSexpr(sexpr)},ambiguousSexpr:function ambiguousSexpr(sexpr,program,inverse){var path=sexpr.path,name=path.parts[0],isBlock=null!=program||null!=inverse;this.opcode("getContext",path.depth);this.opcode("pushProgram",program);this.opcode("pushProgram",inverse);path.strict=true;this.accept(path);this.opcode("invokeAmbiguous",name,isBlock)},simpleSexpr:function simpleSexpr(sexpr){var path=sexpr.path;path.strict=true;this.accept(path);this.opcode("resolvePossibleLambda")},helperSexpr:function helperSexpr(sexpr,program,inverse){var params=this.setupFullMustacheParams(sexpr,program,inverse),path=sexpr.path,name=path.parts[0];if(this.options.knownHelpers[name])this.opcode("invokeKnownHelper",params.length,name);else{if(this.options.knownHelpersOnly)throw new _exception2["default"]("You specified knownHelpersOnly, but used the unknown helper "+name,sexpr);path.strict=true;path.falsy=true;this.accept(path);this.opcode("invokeHelper",params.length,path.original,_ast2["default"].helpers.simpleId(path))}},PathExpression:function PathExpression(path){this.addDepth(path.depth);this.opcode("getContext",path.depth);var name=path.parts[0],scoped=_ast2["default"].helpers.scopedId(path),blockParamId=!path.depth&&!scoped&&this.blockParamIndex(name);if(blockParamId)this.opcode("lookupBlockParam",blockParamId,path.parts);else if(name)if(path.data){this.options.data=true;this.opcode("lookupData",path.depth,path.parts,path.strict)}else this.opcode("lookupOnContext",path.parts,path.falsy,path.strict,scoped);else this.opcode("pushContext")},StringLiteral:function StringLiteral(string){this.opcode("pushString",string.value)},NumberLiteral:function NumberLiteral(number){this.opcode("pushLiteral",number.value)},BooleanLiteral:function BooleanLiteral(bool){this.opcode("pushLiteral",bool.value)},UndefinedLiteral:function UndefinedLiteral(){this.opcode("pushLiteral","undefined")},NullLiteral:function NullLiteral(){this.opcode("pushLiteral","null")},Hash:function Hash(hash){var pairs=hash.pairs,i=0,l=pairs.length;this.opcode("pushHash");for(;i<l;i++)this.pushParam(pairs[i].value);while(i--)this.opcode("assignToHash",pairs[i].key);this.opcode("popHash")},opcode:function opcode(name){this.opcodes.push({opcode:name,args:slice.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function addDepth(depth){if(!depth)return;this.useDepths=true},classifySexpr:function classifySexpr(sexpr){var isSimple=_ast2["default"].helpers.simpleId(sexpr.path);var isBlockParam=isSimple&&!!this.blockParamIndex(sexpr.path.parts[0]);var isHelper=!isBlockParam&&_ast2["default"].helpers.helperExpression(sexpr);var isEligible=!isBlockParam&&(isHelper||isSimple);if(isEligible&&!isHelper){var _name2=sexpr.path.parts[0],options=this.options;options.knownHelpers[_name2]?isHelper=true:options.knownHelpersOnly&&(isEligible=false)}return isHelper?"helper":isEligible?"ambiguous":"simple"},pushParams:function pushParams(params){for(var i=0,l=params.length;i<l;i++)this.pushParam(params[i])},pushParam:function pushParam(val){var value=null!=val.value?val.value:val.original||"";if(this.stringParams){value.replace&&(value=value.replace(/^(\.?\.\/)*/g,"").replace(/\//g,"."));val.depth&&this.addDepth(val.depth);this.opcode("getContext",val.depth||0);this.opcode("pushStringParam",value,val.type);"SubExpression"===val.type&&this.accept(val)}else{if(this.trackIds){var blockParamIndex=void 0;!val.parts||_ast2["default"].helpers.scopedId(val)||val.depth||(blockParamIndex=this.blockParamIndex(val.parts[0]));if(blockParamIndex){var blockParamChild=val.parts.slice(1).join(".");this.opcode("pushId","BlockParam",blockParamIndex,blockParamChild)}else{value=val.original||value;value.replace&&(value=value.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,""));this.opcode("pushId",val.type,value)}}this.accept(val)}},setupFullMustacheParams:function setupFullMustacheParams(sexpr,program,inverse,omitEmpty){var params=sexpr.params;this.pushParams(params);this.opcode("pushProgram",program);this.opcode("pushProgram",inverse);sexpr.hash?this.accept(sexpr.hash):this.opcode("emptyHash",omitEmpty);return params},blockParamIndex:function blockParamIndex(name){for(var depth=0,len=this.options.blockParams.length;depth<len;depth++){var blockParams=this.options.blockParams[depth],param=blockParams&&_utils.indexOf(blockParams,name);if(blockParams&&param>=0)return[depth,param]}}};function precompile(input,options,env){if(null==input||"string"!==typeof input&&"Program"!==input.type)throw new _exception2["default"]("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+input);options=options||{};"data"in options||(options.data=true);options.compat&&(options.useDepths=true);var ast=env.parse(input,options),environment=(new env.Compiler).compile(ast,options);return(new env.JavaScriptCompiler).compile(environment,options)}function compile(input,options,env){void 0===options&&(options={});if(null==input||"string"!==typeof input&&"Program"!==input.type)throw new _exception2["default"]("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+input);options=_utils.extend({},options);"data"in options||(options.data=true);options.compat&&(options.useDepths=true);var compiled=void 0;function compileInput(){var ast=env.parse(input,options),environment=(new env.Compiler).compile(ast,options),templateSpec=(new env.JavaScriptCompiler).compile(environment,options,void 0,true);return env.template(templateSpec)}function ret(context,execOptions){compiled||(compiled=compileInput());return compiled.call(this,context,execOptions)}ret._setup=function(setupOptions){compiled||(compiled=compileInput());return compiled._setup(setupOptions)};ret._child=function(i,data,blockParams,depths){compiled||(compiled=compileInput());return compiled._child(i,data,blockParams,depths)};return ret}function argEquals(a,b){if(a===b)return true;if(_utils.isArray(a)&&_utils.isArray(b)&&a.length===b.length){for(var i=0;i<a.length;i++)if(!argEquals(a[i],b[i]))return false;return true}}function transformLiteralToPath(sexpr){if(!sexpr.path.parts){var literal=sexpr.path;sexpr.path={type:"PathExpression",data:false,depth:0,parts:[literal.original+""],original:literal.original+"",loc:literal.loc}}}},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=true;var _base=__webpack_require__(4);var _exception=__webpack_require__(6);var _exception2=_interopRequireDefault(_exception);var _utils=__webpack_require__(5);var _codeGen=__webpack_require__(43);var _codeGen2=_interopRequireDefault(_codeGen);function Literal(value){this.value=value}function JavaScriptCompiler(){}JavaScriptCompiler.prototype={nameLookup:function nameLookup(parent,name){if("constructor"===name)return["(",parent,".propertyIsEnumerable('constructor') ? ",parent,".constructor : undefined",")"];return JavaScriptCompiler.isValidJavaScriptVariableName(name)?[parent,".",name]:[parent,"[",JSON.stringify(name),"]"]},depthedLookup:function depthedLookup(name){return[this.aliasable("container.lookup"),'(depths, "',name,'")']},compilerInfo:function compilerInfo(){var revision=_base.COMPILER_REVISION,versions=_base.REVISION_CHANGES[revision];return[revision,versions]},appendToBuffer:function appendToBuffer(source,location,explicit){_utils.isArray(source)||(source=[source]);source=this.source.wrap(source,location);if(this.environment.isSimple)return["return ",source,";"];if(explicit)return["buffer += ",source,";"];source.appendToBuffer=true;return source},initializeBuffer:function initializeBuffer(){return this.quotedString("")},compile:function compile(environment,options,context,asObject){this.environment=environment;this.options=options;this.stringParams=this.options.stringParams;this.trackIds=this.options.trackIds;this.precompile=!asObject;this.name=this.environment.name;this.isChild=!!context;this.context=context||{decorators:[],programs:[],environments:[]};this.preamble();this.stackSlot=0;this.stackVars=[];this.aliases={};this.registers={list:[]};this.hashes=[];this.compileStack=[];this.inlineStack=[];this.blockParams=[];this.compileChildren(environment,options);this.useDepths=this.useDepths||environment.useDepths||environment.useDecorators||this.options.compat;this.useBlockParams=this.useBlockParams||environment.useBlockParams;var opcodes=environment.opcodes,opcode=void 0,firstLoc=void 0,i=void 0,l=void 0;for(i=0,l=opcodes.length;i<l;i++){opcode=opcodes[i];this.source.currentLocation=opcode.loc;firstLoc=firstLoc||opcode.loc;this[opcode.opcode].apply(this,opcode.args)}this.source.currentLocation=firstLoc;this.pushSource("");if(this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new _exception2["default"]("Compile completed with content left on stack");if(this.decorators.isEmpty())this.decorators=void 0;else{this.useDecorators=true;this.decorators.prepend("var decorators = container.decorators;\n");this.decorators.push("return fn;");if(asObject)this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]);else{this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n");this.decorators.push("}\n");this.decorators=this.decorators.merge()}}var fn=this.createFunctionContext(asObject);if(this.isChild)return fn;var ret={compiler:this.compilerInfo(),main:fn};if(this.decorators){ret.main_d=this.decorators;ret.useDecorators=true}var _context=this.context;var programs=_context.programs;var decorators=_context.decorators;for(i=0,l=programs.length;i<l;i++)if(programs[i]){ret[i]=programs[i];if(decorators[i]){ret[i+"_d"]=decorators[i];ret.useDecorators=true}}this.environment.usePartial&&(ret.usePartial=true);this.options.data&&(ret.useData=true);this.useDepths&&(ret.useDepths=true);this.useBlockParams&&(ret.useBlockParams=true);this.options.compat&&(ret.compat=true);if(asObject)ret.compilerOptions=this.options;else{ret.compiler=JSON.stringify(ret.compiler);this.source.currentLocation={start:{line:1,column:0}};ret=this.objectLiteral(ret);if(options.srcName){ret=ret.toStringWithSourceMap({file:options.destName});ret.map=ret.map&&ret.map.toString()}else ret=ret.toString()}return ret},preamble:function preamble(){this.lastContext=0;this.source=new _codeGen2["default"](this.options.srcName);this.decorators=new _codeGen2["default"](this.options.srcName)},createFunctionContext:function createFunctionContext(asObject){var varDeclarations="";var locals=this.stackVars.concat(this.registers.list);locals.length>0&&(varDeclarations+=", "+locals.join(", "));var aliasCount=0;for(var alias in this.aliases){var node=this.aliases[alias];if(this.aliases.hasOwnProperty(alias)&&node.children&&node.referenceCount>1){varDeclarations+=", alias"+ ++aliasCount+"="+alias;node.children[0]="alias"+aliasCount}}var params=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&params.push("blockParams");this.useDepths&&params.push("depths");var source=this.mergeSource(varDeclarations);if(asObject){params.push(source);return Function.apply(this,params)}return this.source.wrap(["function(",params.join(","),") {\n  ",source,"}"])},mergeSource:function mergeSource(varDeclarations){var isSimple=this.environment.isSimple,appendOnly=!this.forceBuffer,appendFirst=void 0,sourceSeen=void 0,bufferStart=void 0,bufferEnd=void 0;this.source.each(function(line){if(line.appendToBuffer){bufferStart?line.prepend("  + "):bufferStart=line;bufferEnd=line}else{if(bufferStart){sourceSeen?bufferStart.prepend("buffer += "):appendFirst=true;bufferEnd.add(";");bufferStart=bufferEnd=void 0}sourceSeen=true;isSimple||(appendOnly=false)}});if(appendOnly)if(bufferStart){bufferStart.prepend("return ");bufferEnd.add(";")}else sourceSeen||this.source.push('return "";');else{varDeclarations+=", buffer = "+(appendFirst?"":this.initializeBuffer());if(bufferStart){bufferStart.prepend("return buffer + ");bufferEnd.add(";")}else this.source.push("return buffer;")}varDeclarations&&this.source.prepend("var "+varDeclarations.substring(2)+(appendFirst?"":";\n"));return this.source.merge()},blockValue:function blockValue(name){var blockHelperMissing=this.aliasable("helpers.blockHelperMissing"),params=[this.contextName(0)];this.setupHelperArgs(name,0,params);var blockName=this.popStack();params.splice(1,0,blockName);this.push(this.source.functionCall(blockHelperMissing,"call",params))},ambiguousBlockValue:function ambiguousBlockValue(){var blockHelperMissing=this.aliasable("helpers.blockHelperMissing"),params=[this.contextName(0)];this.setupHelperArgs("",0,params,true);this.flushInline();var current=this.topStack();params.splice(1,0,current);this.pushSource(["if (!",this.lastHelper,") { ",current," = ",this.source.functionCall(blockHelperMissing,"call",params),"}"])},appendContent:function appendContent(content){this.pendingContent?content=this.pendingContent+content:this.pendingLocation=this.source.currentLocation;this.pendingContent=content},append:function append(){if(this.isInline()){this.replaceStack(function(current){return[" != null ? ",current,' : ""']});this.pushSource(this.appendToBuffer(this.popStack()))}else{var local=this.popStack();this.pushSource(["if (",local," != null) { ",this.appendToBuffer(local,void 0,true)," }"]);this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,true)," }"])}},appendEscaped:function appendEscaped(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function getContext(depth){this.lastContext=depth},pushContext:function pushContext(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function lookupOnContext(parts,falsy,strict,scoped){var i=0;scoped||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(parts[i++]));this.resolvePath("context",parts,i,falsy,strict)},lookupBlockParam:function lookupBlockParam(blockParamId,parts){this.useBlockParams=true;this.push(["blockParams[",blockParamId[0],"][",blockParamId[1],"]"]);this.resolvePath("context",parts,1)},lookupData:function lookupData(depth,parts,strict){depth?this.pushStackLiteral("container.data(data, "+depth+")"):this.pushStackLiteral("data");this.resolvePath("data",parts,0,true,strict)},resolvePath:function resolvePath(type,parts,i,falsy,strict){var _this=this;if(this.options.strict||this.options.assumeObjects){this.push(strictLookup(this.options.strict&&strict,this,parts,type));return}var len=parts.length;for(;i<len;i++)this.replaceStack(function(current){var lookup=_this.nameLookup(current,parts[i],type);return falsy?[" && ",lookup]:[" != null ? ",lookup," : ",current]})},resolvePossibleLambda:function resolvePossibleLambda(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function pushStringParam(string,type){this.pushContext();this.pushString(type);"SubExpression"!==type&&("string"===typeof string?this.pushString(string):this.pushStackLiteral(string))},emptyHash:function emptyHash(omitEmpty){this.trackIds&&this.push("{}");if(this.stringParams){this.push("{}");this.push("{}")}this.pushStackLiteral(omitEmpty?"undefined":"{}")},pushHash:function pushHash(){this.hash&&this.hashes.push(this.hash);this.hash={values:[],types:[],contexts:[],ids:[]}},popHash:function popHash(){var hash=this.hash;this.hash=this.hashes.pop();this.trackIds&&this.push(this.objectLiteral(hash.ids));if(this.stringParams){this.push(this.objectLiteral(hash.contexts));this.push(this.objectLiteral(hash.types))}this.push(this.objectLiteral(hash.values))},pushString:function pushString(string){this.pushStackLiteral(this.quotedString(string))},pushLiteral:function pushLiteral(value){this.pushStackLiteral(value)},pushProgram:function pushProgram(guid){null!=guid?this.pushStackLiteral(this.programExpression(guid)):this.pushStackLiteral(null)},registerDecorator:function registerDecorator(paramSize,name){var foundDecorator=this.nameLookup("decorators",name,"decorator"),options=this.setupHelperArgs(name,paramSize);this.decorators.push(["fn = ",this.decorators.functionCall(foundDecorator,"",["fn","props","container",options])," || fn;"])},invokeHelper:function invokeHelper(paramSize,name,isSimple){var nonHelper=this.popStack(),helper=this.setupHelper(paramSize,name),simple=isSimple?[helper.name," || "]:"";var lookup=["("].concat(simple,nonHelper);this.options.strict||lookup.push(" || ",this.aliasable("helpers.helperMissing"));lookup.push(")");this.push(this.source.functionCall(lookup,"call",helper.callParams))},invokeKnownHelper:function invokeKnownHelper(paramSize,name){var helper=this.setupHelper(paramSize,name);this.push(this.source.functionCall(helper.name,"call",helper.callParams))},invokeAmbiguous:function invokeAmbiguous(name,helperCall){this.useRegister("helper");var nonHelper=this.popStack();this.emptyHash();var helper=this.setupHelper(0,name,helperCall);var helperName=this.lastHelper=this.nameLookup("helpers",name,"helper");var lookup=["(","(helper = ",helperName," || ",nonHelper,")"];if(!this.options.strict){lookup[0]="(helper = ";lookup.push(" != null ? helper : ",this.aliasable("helpers.helperMissing"))}this.push(["(",lookup,helper.paramsInit?["),(",helper.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",helper.callParams)," : helper))"])},invokePartial:function invokePartial(isDynamic,name,indent){var params=[],options=this.setupParams(name,1,params);if(isDynamic){name=this.popStack();delete options.name}indent&&(options.indent=JSON.stringify(indent));options.helpers="helpers";options.partials="partials";options.decorators="container.decorators";isDynamic?params.unshift(name):params.unshift(this.nameLookup("partials",name,"partial"));this.options.compat&&(options.depths="depths");options=this.objectLiteral(options);params.push(options);this.push(this.source.functionCall("container.invokePartial","",params))},assignToHash:function assignToHash(key){var value=this.popStack(),context=void 0,type=void 0,id=void 0;this.trackIds&&(id=this.popStack());if(this.stringParams){type=this.popStack();context=this.popStack()}var hash=this.hash;context&&(hash.contexts[key]=context);type&&(hash.types[key]=type);id&&(hash.ids[key]=id);hash.values[key]=value},pushId:function pushId(type,name,child){"BlockParam"===type?this.pushStackLiteral("blockParams["+name[0]+"].path["+name[1]+"]"+(child?" + "+JSON.stringify("."+child):"")):"PathExpression"===type?this.pushString(name):"SubExpression"===type?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:JavaScriptCompiler,compileChildren:function compileChildren(environment,options){var children=environment.children,child=void 0,compiler=void 0;for(var i=0,l=children.length;i<l;i++){child=children[i];compiler=new this.compiler;var existing=this.matchExistingProgram(child);if(null==existing){this.context.programs.push("");var index=this.context.programs.length;child.index=index;child.name="program"+index;this.context.programs[index]=compiler.compile(child,options,this.context,!this.precompile);this.context.decorators[index]=compiler.decorators;this.context.environments[index]=child;this.useDepths=this.useDepths||compiler.useDepths;this.useBlockParams=this.useBlockParams||compiler.useBlockParams;child.useDepths=this.useDepths;child.useBlockParams=this.useBlockParams}else{child.index=existing.index;child.name="program"+existing.index;this.useDepths=this.useDepths||existing.useDepths;this.useBlockParams=this.useBlockParams||existing.useBlockParams}}},matchExistingProgram:function matchExistingProgram(child){for(var i=0,len=this.context.environments.length;i<len;i++){var environment=this.context.environments[i];if(environment&&environment.equals(child))return environment}},programExpression:function programExpression(guid){var child=this.environment.children[guid],programParams=[child.index,"data",child.blockParams];(this.useBlockParams||this.useDepths)&&programParams.push("blockParams");this.useDepths&&programParams.push("depths");return"container.program("+programParams.join(", ")+")"},useRegister:function useRegister(name){if(!this.registers[name]){this.registers[name]=true;this.registers.list.push(name)}},push:function push(expr){expr instanceof Literal||(expr=this.source.wrap(expr));this.inlineStack.push(expr);return expr},pushStackLiteral:function pushStackLiteral(item){this.push(new Literal(item))},pushSource:function pushSource(source){if(this.pendingContent){this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation));this.pendingContent=void 0}source&&this.source.push(source)},replaceStack:function replaceStack(callback){var prefix=["("],stack=void 0,createdStack=void 0,usedLiteral=void 0;if(!this.isInline())throw new _exception2["default"]("replaceStack on non-inline");var top=this.popStack(true);if(top instanceof Literal){stack=[top.value];prefix=["(",stack];usedLiteral=true}else{createdStack=true;var _name=this.incrStack();prefix=["((",this.push(_name)," = ",top,")"];stack=this.topStack()}var item=callback.call(this,stack);usedLiteral||this.popStack();createdStack&&this.stackSlot--;this.push(prefix.concat(item,")"))},incrStack:function incrStack(){this.stackSlot++;this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot);return this.topStackName()},topStackName:function topStackName(){return"stack"+this.stackSlot},flushInline:function flushInline(){var inlineStack=this.inlineStack;this.inlineStack=[];for(var i=0,len=inlineStack.length;i<len;i++){var entry=inlineStack[i];if(entry instanceof Literal)this.compileStack.push(entry);else{var stack=this.incrStack();this.pushSource([stack," = ",entry,";"]);this.compileStack.push(stack)}}},isInline:function isInline(){return this.inlineStack.length},popStack:function popStack(wrapped){var inline=this.isInline(),item=(inline?this.inlineStack:this.compileStack).pop();if(!wrapped&&item instanceof Literal)return item.value;if(!inline){if(!this.stackSlot)throw new _exception2["default"]("Invalid stack pop");this.stackSlot--}return item},topStack:function topStack(){var stack=this.isInline()?this.inlineStack:this.compileStack,item=stack[stack.length-1];return item instanceof Literal?item.value:item},contextName:function contextName(context){return this.useDepths&&context?"depths["+context+"]":"depth"+context},quotedString:function quotedString(str){return this.source.quotedString(str)},objectLiteral:function objectLiteral(obj){return this.source.objectLiteral(obj)},aliasable:function aliasable(name){var ret=this.aliases[name];if(ret){ret.referenceCount++;return ret}ret=this.aliases[name]=this.source.wrap(name);ret.aliasable=true;ret.referenceCount=1;return ret},setupHelper:function setupHelper(paramSize,name,blockHelper){var params=[],paramsInit=this.setupHelperArgs(name,paramSize,params,blockHelper);var foundHelper=this.nameLookup("helpers",name,"helper"),callContext=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:params,paramsInit:paramsInit,name:foundHelper,callParams:[callContext].concat(params)}},setupParams:function setupParams(helper,paramSize,params){var options={},contexts=[],types=[],ids=[],objectArgs=!params,param=void 0;objectArgs&&(params=[]);options.name=this.quotedString(helper);options.hash=this.popStack();this.trackIds&&(options.hashIds=this.popStack());if(this.stringParams){options.hashTypes=this.popStack();options.hashContexts=this.popStack()}var inverse=this.popStack(),program=this.popStack();if(program||inverse){options.fn=program||"container.noop";options.inverse=inverse||"container.noop"}var i=paramSize;while(i--){param=this.popStack();params[i]=param;this.trackIds&&(ids[i]=this.popStack());if(this.stringParams){types[i]=this.popStack();contexts[i]=this.popStack()}}objectArgs&&(options.args=this.source.generateArray(params));this.trackIds&&(options.ids=this.source.generateArray(ids));if(this.stringParams){options.types=this.source.generateArray(types);options.contexts=this.source.generateArray(contexts)}this.options.data&&(options.data="data");this.useBlockParams&&(options.blockParams="blockParams");return options},setupHelperArgs:function setupHelperArgs(helper,paramSize,params,useRegister){var options=this.setupParams(helper,paramSize,params);options=this.objectLiteral(options);if(useRegister){this.useRegister("options");params.push("options");return["options=",options]}if(params){params.push(options);return""}return options}};(function(){var reservedWords="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" ");var compilerWords=JavaScriptCompiler.RESERVED_WORDS={};for(var i=0,l=reservedWords.length;i<l;i++)compilerWords[reservedWords[i]]=true})();JavaScriptCompiler.isValidJavaScriptVariableName=function(name){return!JavaScriptCompiler.RESERVED_WORDS[name]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(name)};function strictLookup(requireTerminal,compiler,parts,type){var stack=compiler.popStack(),i=0,len=parts.length;requireTerminal&&len--;for(;i<len;i++)stack=compiler.nameLookup(stack,parts[i],type);return requireTerminal?[compiler.aliasable("container.strict"),"(",stack,", ",compiler.quotedString(parts[i]),")"]:stack}exports["default"]=JavaScriptCompiler;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _utils=__webpack_require__(5);var SourceNode=void 0;try{false}catch(err){}if(!SourceNode){SourceNode=function(line,column,srcFile,chunks){this.src="";chunks&&this.add(chunks)};SourceNode.prototype={add:function add(chunks){_utils.isArray(chunks)&&(chunks=chunks.join(""));this.src+=chunks},prepend:function prepend(chunks){_utils.isArray(chunks)&&(chunks=chunks.join(""));this.src=chunks+this.src},toStringWithSourceMap:function toStringWithSourceMap(){return{code:this.toString()}},toString:function toString(){return this.src}}}function castChunk(chunk,codeGen,loc){if(_utils.isArray(chunk)){var ret=[];for(var i=0,len=chunk.length;i<len;i++)ret.push(codeGen.wrap(chunk[i],loc));return ret}if("boolean"===typeof chunk||"number"===typeof chunk)return chunk+"";return chunk}function CodeGen(srcFile){this.srcFile=srcFile;this.source=[]}CodeGen.prototype={isEmpty:function isEmpty(){return!this.source.length},prepend:function prepend(source,loc){this.source.unshift(this.wrap(source,loc))},push:function push(source,loc){this.source.push(this.wrap(source,loc))},merge:function merge(){var source=this.empty();this.each(function(line){source.add(["  ",line,"\n"])});return source},each:function each(iter){for(var i=0,len=this.source.length;i<len;i++)iter(this.source[i])},empty:function empty(){var loc=this.currentLocation||{start:{}};return new SourceNode(loc.start.line,loc.start.column,this.srcFile)},wrap:function wrap(chunk){var loc=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];if(chunk instanceof SourceNode)return chunk;chunk=castChunk(chunk,this,loc);return new SourceNode(loc.start.line,loc.start.column,this.srcFile,chunk)},functionCall:function functionCall(fn,type,params){params=this.generateList(params);return this.wrap([fn,type?"."+type+"(":"(",params,")"])},quotedString:function quotedString(str){return'"'+(str+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function objectLiteral(obj){var pairs=[];for(var key in obj)if(obj.hasOwnProperty(key)){var value=castChunk(obj[key],this);"undefined"!==value&&pairs.push([this.quotedString(key),":",value])}var ret=this.generateList(pairs);ret.prepend("{");ret.add("}");return ret},generateList:function generateList(entries){var ret=this.empty();for(var i=0,len=entries.length;i<len;i++){i&&ret.add(",");ret.add(castChunk(entries[i],this))}return ret},generateArray:function generateArray(entries){var ret=this.generateList(entries);ret.prepend("[");ret.add("]");return ret}};exports["default"]=CodeGen;module.exports=exports["default"]}])})},function(module,exports,__webpack_require__){"use strict";
/*!
 * Hjson v3.1.0
 * http://hjson.org
 *
 * Copyright 2014-2017 Christian Zangl, MIT license
 * Details and documentation:
 * https://github.com/hjson/hjson-js
 *
 * This code is based on the the JSON version by Douglas Crockford:
 * https://github.com/douglascrockford/JSON-js (json_parse.js, json2.js)
 */var common=__webpack_require__(330);var version=__webpack_require__(2234);var parse=__webpack_require__(2235);var stringify=__webpack_require__(2236);var comments=__webpack_require__(2237);var dsf=__webpack_require__(486);module.exports={parse:parse,stringify:stringify,endOfLine:function(){return common.EOL},setEndOfLine:function(eol){"\n"!==eol&&"\r\n"!==eol||(common.EOL=eol)},version:version,rt:{parse:function(text,options){(options=options||{}).keepWsc=true;return parse(text,options)},stringify:function(value,options){(options=options||{}).keepWsc=true;return stringify(value,options)}},comments:comments,dsf:dsf.std}},function(module,exports){exports.endianness=function(){return"LE"};exports.hostname=function(){return"undefined"!==typeof location?location.hostname:""};exports.loadavg=function(){return[]};exports.uptime=function(){return 0};exports.freemem=function(){return Number.MAX_VALUE};exports.totalmem=function(){return Number.MAX_VALUE};exports.cpus=function(){return[]};exports.type=function(){return"Browser"};exports.release=function(){if("undefined"!==typeof navigator)return navigator.appVersion;return""};exports.networkInterfaces=exports.getNetworkInterfaces=function(){return{}};exports.arch=function(){return"javascript"};exports.platform=function(){return"browser"};exports.tmpdir=exports.tmpDir=function(){return"/tmp"};exports.EOL="\n";exports.homedir=function(){return"/"}},function(module,exports){module.exports="3.1.0"},function(module,exports,__webpack_require__){"use strict";module.exports=function(source,opt){var common=__webpack_require__(330);var dsf=__webpack_require__(486);var text;var at;var ch;var escapee={'"':'"',"'":"'","\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};var keepComments;var runDsf;function resetAt(){at=0;ch=" "}function isPunctuatorChar(c){return"{"===c||"}"===c||"["===c||"]"===c||","===c||":"===c}function error(m){var i,col=0,line=1;for(i=at-1;i>0&&"\n"!==text[i];i--,col++);for(;i>0;i--)"\n"===text[i]&&line++;throw new Error(m+" at line "+line+","+col+" >>>"+text.substr(at-col,20)+" ...")}function next(){ch=text.charAt(at);at++;return ch}function peek(offs){return text.charAt(at+offs)}function string(allowML){var string="";var exitCh=ch;while(next()){if(ch===exitCh){next();if(allowML&&"'"===exitCh&&"'"===ch&&0===string.length){next();return mlString()}return string}if("\\"===ch){next();if("u"===ch){var uffff=0;for(var i=0;i<4;i++){next();var hex,c=ch.charCodeAt(0);ch>="0"&&ch<="9"?hex=c-48:ch>="a"&&ch<="f"?hex=c-97+10:ch>="A"&&ch<="F"?hex=c-65+10:error("Bad \\u char "+ch);uffff=16*uffff+hex}string+=String.fromCharCode(uffff)}else{if("string"!==typeof escapee[ch])break;string+=escapee[ch]}}else"\n"===ch||"\r"===ch?error("Bad string containing newline"):string+=ch}error("Bad string")}function mlString(){var string="",triple=0;var indent=0;for(;;){var c=peek(-indent-5);if(!c||"\n"===c)break;indent++}function skipIndent(){var skip=indent;while(ch&&ch<=" "&&"\n"!==ch&&skip-- >0)next()}while(ch&&ch<=" "&&"\n"!==ch)next();if("\n"===ch){next();skipIndent()}for(;;){if(ch){if("'"===ch){triple++;next();if(3===triple){"\n"===string.slice(-1)&&(string=string.slice(0,-1));return string}continue}while(triple>0){string+="'";triple--}}else error("Bad multiline string");if("\n"===ch){string+="\n";next();skipIndent()}else{"\r"!==ch&&(string+=ch);next()}}}function keyname(){if('"'===ch||"'"===ch)return string(false);var name="",start=at,space=-1;for(;;){if(":"===ch){if(name){if(space>=0&&space!==name.length){at=start+space;error("Found whitespace in your key name (use quotes to include)")}}else error("Found ':' but no key name (for an empty key name use quotes)");return name}ch<=" "?ch?space<0&&(space=name.length):error("Found EOF while looking for a key name (check your syntax)"):isPunctuatorChar(ch)?error("Found '"+ch+"' where a key name was expected (check your syntax or use quotes if the key name includes {}[],: or whitespace)"):name+=ch;next()}}function white(){while(ch){while(ch&&ch<=" ")next();if("#"===ch||"/"===ch&&"/"===peek(0))while(ch&&"\n"!==ch)next();else{if("/"!==ch||"*"!==peek(0))break;next();next();while(ch&&!("*"===ch&&"/"===peek(0)))next();if(ch){next();next()}}}}function tfnns(){var value=ch;isPunctuatorChar(ch)&&error("Found a punctuator character '"+ch+"' when expecting a quoteless string (check your syntax)");for(;;){next();var isEol="\r"===ch||"\n"===ch||""===ch;if(isEol||","===ch||"}"===ch||"]"===ch||"#"===ch||"/"===ch&&("/"===peek(0)||"*"===peek(0))){var chf=value[0];switch(chf){case"f":if("false"===value.trim())return false;break;case"n":if("null"===value.trim())return null;break;case"t":if("true"===value.trim())return true;break;default:if("-"===chf||chf>="0"&&chf<="9"){var n=common.tryParseNumber(value);if(void 0!==n)return n}}if(isEol){value=value.trim();var dsfValue=runDsf(value);return void 0!==dsfValue?dsfValue:value}}value+=ch}}function getComment(cAt,first){var i;cAt--;for(i=at-2;i>cAt&&text[i]<=" "&&"\n"!==text[i];i--);"\n"===text[i]&&i--;"\r"===text[i]&&i--;var res=text.substr(cAt,i-cAt+1);for(i=0;i<res.length;i++)if(res[i]>" "){var j=res.indexOf("\n");if(j>=0){var c=[res.substr(0,j),res.substr(j+1)];first&&0===c[0].trim().length&&c.shift();return c}return[res]}return[]}function errorClosingHint(value){function search(value,ch){var i,k,length,res;switch(typeof value){case"string":value.indexOf(ch)>=0&&(res=value);break;case"object":if("[object Array]"===Object.prototype.toString.apply(value))for(i=0,length=value.length;i<length;i++)res=search(value[i],ch)||res;else for(k in value){if(!Object.prototype.hasOwnProperty.call(value,k))continue;res=search(value[k],ch)||res}}return res}function report(ch){var possibleErr=search(value,ch);return possibleErr?"found '"+ch+"' in a string value, your mistake could be with:\n  > "+possibleErr+"\n  (unquoted strings contain everything up to the next line!)":""}return report("}")||report("]")}function array(){var array=[];var comments,cAt,nextComment;try{keepComments&&(comments=common.createComment(array,{a:[]}));next();cAt=at;white();comments&&(nextComment=getComment(cAt,true).join("\n"));if("]"===ch){next();comments&&(comments.e=[nextComment]);return array}while(ch){array.push(value());cAt=at;white();if(","===ch){next();cAt=at;white()}if(comments){var c=getComment(cAt);comments.a.push([nextComment||"",c[0]||""]);nextComment=c[1]}if("]"===ch){next();comments&&(comments.a[comments.a.length-1][1]+=nextComment||"");return array}white()}error("End of input while parsing an array (missing ']')")}catch(e){e.hint=e.hint||errorClosingHint(array);throw e}}function object(withoutBraces){var key="",object={};var comments,cAt,nextComment;try{keepComments&&(comments=common.createComment(object,{c:{},o:[]}));if(withoutBraces)cAt=1;else{next();cAt=at}white();comments&&(nextComment=getComment(cAt,true).join("\n"));if("}"===ch&&!withoutBraces){comments&&(comments.e=[nextComment]);next();return object}while(ch){key=keyname();white();":"!==ch&&error("Expected ':' instead of '"+ch+"'");next();object[key]=value();cAt=at;white();if(","===ch){next();cAt=at;white()}if(comments){var c=getComment(cAt);comments.c[key]=[nextComment||"",c[0]||""];nextComment=c[1];comments.o.push(key)}if("}"===ch&&!withoutBraces){next();comments&&(comments.c[key][1]+=nextComment||"");return object}white()}if(withoutBraces)return object;error("End of input while parsing an object (missing '}')")}catch(e){e.hint=e.hint||errorClosingHint(object);throw e}}function value(){white();switch(ch){case"{":return object();case"[":return array();case"'":case'"':return string(true);default:return tfnns()}}function checkTrailing(v,c){var cAt=at;white();ch&&error("Syntax error, found trailing characters");if(keepComments){var b=c.join("\n"),a=getComment(cAt).join("\n");if(a||b){var comments=common.createComment(v,common.getComment(v));comments.r=[b,a]}}return v}function rootValue(){white();var c=keepComments?getComment(1):null;switch(ch){case"{":return checkTrailing(object(),c);case"[":return checkTrailing(array(),c);default:return checkTrailing(value(),c)}}function legacyRootValue(){white();var c=keepComments?getComment(1):null;switch(ch){case"{":return checkTrailing(object(),c);case"[":return checkTrailing(array(),c)}try{return checkTrailing(object(true),c)}catch(e){resetAt();try{return checkTrailing(value(),c)}catch(e2){throw e}}}if("string"!==typeof source)throw new Error("source is not a string");var dsfDef=null;var legacyRoot=true;if(opt&&"object"===typeof opt){keepComments=opt.keepWsc;dsfDef=opt.dsf;legacyRoot=false!==opt.legacyRoot}runDsf=dsf.loadDsf(dsfDef,"parse");text=source;resetAt();return legacyRoot?legacyRootValue():rootValue()}},function(module,exports,__webpack_require__){"use strict";module.exports=function(data,opt){var common=__webpack_require__(330);var dsf=__webpack_require__(486);var plainToken={obj:["{","}"],arr:["[","]"],key:["",""],qkey:['"','"'],col:[":",""],com:[",",""],str:["",""],qstr:['"','"'],mstr:["'''","'''"],num:["",""],lit:["",""],dsf:["",""],esc:["\\",""],uni:["\\u",""],rem:["",""]};var eol=common.EOL;var indent="  ";var keepComments=false;var bracesSameLine=false;var quoteKeys=false;var quoteStrings=false;var condense=0;var multiline=1;var separator="";var dsfDef=null;var token=plainToken;if(opt&&"object"===typeof opt){opt.quotes="always"===opt.quotes?"strings":opt.quotes;"\n"!==opt.eol&&"\r\n"!==opt.eol||(eol=opt.eol);keepComments=opt.keepWsc;condense=opt.condense||0;bracesSameLine=opt.bracesSameLine;quoteKeys="all"===opt.quotes||"keys"===opt.quotes;quoteStrings="all"===opt.quotes||"strings"===opt.quotes||true===opt.separator;multiline=quoteStrings||"off"==opt.multiline?0:"no-tabs"==opt.multiline?2:1;separator=true===opt.separator?token.com[0]:"";dsfDef=opt.dsf;"number"===typeof opt.space?indent=new Array(opt.space+1).join(" "):"string"===typeof opt.space&&(indent=opt.space);true===opt.colors&&(token={obj:["[37m{[0m","[37m}[0m"],arr:["[37m[[0m","[37m][0m"],key:["[33m","[0m"],qkey:['[33m"','"[0m'],col:["[37m:[0m",""],com:["[37m,[0m",""],str:["[37;1m","[0m"],qstr:['[37;1m"','"[0m'],mstr:["[37;1m'''","'''[0m"],num:["[36;1m","[0m"],lit:["[36m","[0m"],dsf:["[37m","[0m"],esc:["[31m\\","[0m"],uni:["[31m\\u","[0m"],rem:["[35m","[0m"]});var i,ckeys=Object.keys(plainToken);for(i=ckeys.length-1;i>=0;i--){var k=ckeys[i];token[k].push(plainToken[k][0].length,plainToken[k][1].length)}}var runDsf;var commonRange="-­؀-؄܏឴឵‌-‏\u2028- ⁠-⁯\ufeff￰-";var needsEscape=new RegExp('[\\\\\\"\0-'+commonRange+"]","g");var needsQuotes=new RegExp("^\\s|^\"|^'|^#|^\\/\\*|^\\/\\/|^\\{|^\\}|^\\[|^\\]|^:|^,|\\s$|[\0-"+commonRange+"]","g");var needsEscapeML=new RegExp("'''|^[\\s]+$|[\0-"+(2===multiline?"\t":"\b")+"\v\f-"+commonRange+"]","g");var startsWithKeyword=new RegExp("^(true|false|null)\\s*((,|\\]|\\}|#|//|/\\*).*)?$");var meta={"\b":"b","\t":"t","\n":"n","\f":"f","\r":"r",'"':'"',"\\":"\\"};var needsEscapeName=/[,\{\[\}\]\s:#"']|\/\/|\/\*/;var gap="";var wrapLen=0;function wrap(tk,v){wrapLen+=tk[0].length+tk[1].length-tk[2]-tk[3];return tk[0]+v+tk[1]}function quoteReplace(string){return string.replace(needsEscape,function(a){var c=meta[a];return"string"===typeof c?wrap(token.esc,c):wrap(token.uni,("0000"+a.charCodeAt(0).toString(16)).slice(-4))})}function quote(string,gap,hasComment,isRootObject){if(!string)return wrap(token.qstr,"");needsQuotes.lastIndex=0;startsWithKeyword.lastIndex=0;if(quoteStrings||hasComment||needsQuotes.test(string)||void 0!==common.tryParseNumber(string,true)||startsWithKeyword.test(string)){needsEscape.lastIndex=0;needsEscapeML.lastIndex=0;return needsEscape.test(string)?needsEscapeML.test(string)||isRootObject||!multiline?wrap(token.qstr,quoteReplace(string)):mlString(string,gap):wrap(token.qstr,string)}return wrap(token.str,string)}function mlString(string,gap){var i,a=string.replace(/\r/g,"").split("\n");gap+=indent;if(1===a.length)return wrap(token.mstr,a[0]);var res=eol+gap+token.mstr[0];for(i=0;i<a.length;i++){res+=eol;a[i]&&(res+=gap+a[i])}return res+eol+gap+token.mstr[1]}function quoteKey(name){if(!name)return'""';if(quoteKeys||needsEscapeName.test(name)){needsEscape.lastIndex=0;return wrap(token.qkey,needsEscape.test(name)?quoteReplace(name):name)}return wrap(token.key,name)}function str(value,hasComment,noIndent,isRootObject){function startsWithNL(str){return str&&"\n"===str["\r"===str[0]?1:0]}function commentOnThisLine(str){return str&&!startsWithNL(str)}function makeComment(str,prefix,trim){if(!str)return"";str=common.forceComment(str);var i,len=str.length;for(i=0;i<len&&str[i]<=" ";i++);trim&&i>0&&(str=str.substr(i));return i<len?prefix+wrap(token.rem,str):str}var dsfValue=runDsf(value);if(void 0!==dsfValue)return wrap(token.dsf,dsfValue);switch(typeof value){case"string":return quote(value,gap,hasComment,isRootObject);case"number":return isFinite(value)?wrap(token.num,String(value)):wrap(token.lit,"null");case"boolean":return wrap(token.lit,String(value));case"object":if(!value)return wrap(token.lit,"null");var comments;keepComments&&(comments=common.getComment(value));var isArray="[object Array]"===Object.prototype.toString.apply(value);var mind=gap;gap+=indent;var eolMind=eol+mind;var eolGap=eol+gap;var prefix=noIndent||bracesSameLine?"":eolMind;var partial=[];var setsep;var cpartial=condense?[]:null;var saveQuoteStrings=quoteStrings,saveMultiline=multiline;var iseparator=separator?"":token.com[0];var cwrapLen=0;var i,length;var k,v,vs;var c,ca;var res,cres;if(isArray){for(i=0,length=value.length;i<length;i++){setsep=i<length-1;if(comments){c=comments.a[i]||[];ca=commentOnThisLine(c[1]);partial.push(makeComment(c[0],"\n")+eolGap);cpartial&&(c[0]||c[1]||ca)&&(cpartial=null)}else partial.push(eolGap);wrapLen=0;v=value[i];partial.push(str(v,!!comments&&ca,true)+(setsep?separator:""));if(cpartial){switch(typeof v){case"string":wrapLen=0;quoteStrings=true;multiline=0;cpartial.push(str(v,false,true)+(setsep?token.com[0]:""));quoteStrings=saveQuoteStrings;multiline=saveMultiline;break;case"object":if(v){cpartial=null;break}default:cpartial.push(partial[partial.length-1]+(setsep?iseparator:""))}setsep&&(wrapLen+=token.com[0].length-token.com[2]);cwrapLen+=wrapLen}comments&&c[1]&&partial.push(makeComment(c[1],ca?" ":"\n",ca))}0===length?comments&&comments.e&&partial.push(makeComment(comments.e[0],"\n")+eolMind):partial.push(eolMind);if(0===partial.length)res=wrap(token.arr,"");else{res=prefix+wrap(token.arr,partial.join(""));if(cpartial){cres=cpartial.join(" ");cres.length-cwrapLen<=condense&&(res=wrap(token.arr,cres))}}}else{var keys=comments?comments.o.slice():[];for(k in value)Object.prototype.hasOwnProperty.call(value,k)&&keys.indexOf(k)<0&&keys.push(k);for(i=0,length=keys.length;i<length;i++){setsep=i<length-1;k=keys[i];if(comments){c=comments.c[k]||[];ca=commentOnThisLine(c[1]);partial.push(makeComment(c[0],"\n")+eolGap);cpartial&&(c[0]||c[1]||ca)&&(cpartial=null)}else partial.push(eolGap);wrapLen=0;v=value[k];vs=str(v,comments&&ca);partial.push(quoteKey(k)+token.col[0]+(startsWithNL(vs)?"":" ")+vs+(setsep?separator:""));comments&&c[1]&&partial.push(makeComment(c[1],ca?" ":"\n",ca));if(cpartial){switch(typeof v){case"string":wrapLen=0;quoteStrings=true;multiline=0;vs=str(v,false);quoteStrings=saveQuoteStrings;multiline=saveMultiline;cpartial.push(quoteKey(k)+token.col[0]+" "+vs+(setsep?token.com[0]:""));break;case"object":if(v){cpartial=null;break}default:cpartial.push(partial[partial.length-1]+(setsep?iseparator:""))}wrapLen+=token.col[0].length-token.col[2];setsep&&(wrapLen+=token.com[0].length-token.com[2]);cwrapLen+=wrapLen}}0===length?comments&&comments.e&&partial.push(makeComment(comments.e[0],"\n")+eolMind):partial.push(eolMind);if(0===partial.length)res=wrap(token.obj,"");else{res=prefix+wrap(token.obj,partial.join(""));if(cpartial){cres=cpartial.join(" ");cres.length-cwrapLen<=condense&&(res=wrap(token.obj,cres))}}}gap=mind;return res}}runDsf=dsf.loadDsf(dsfDef,"stringify");var res="";var comments=keepComments?comments=(common.getComment(data)||{}).r:null;comments&&comments[0]&&(res=comments[0]+"\n");res+=str(data,null,true,true);comments&&(res+=comments[1]||"");return res}},function(module,exports,__webpack_require__){"use strict";var common=__webpack_require__(330);function makeComment(b,a,x){var c;b&&(c={b:b});a&&((c=c||{}).a=a);x&&((c=c||{}).x=x);return c}function extractComments(value,root){if(null===value||"object"!==typeof value)return;var comments=common.getComment(value);comments&&common.removeComment(value);var i,length;var any,res;if("[object Array]"===Object.prototype.toString.apply(value)){res={a:[]};for(i=0,length=value.length;i<length;i++)saveComment(res.a,i,comments.a[i],extractComments(value[i]))&&(any=true);if(!any&&comments.e){res.e=makeComment(comments.e[0],comments.e[1]);any=true}}else{res={s:{}};var keys,currentKeys=Object.keys(value);if(comments&&comments.o){keys=[];comments.o.concat(currentKeys).forEach(function(key){Object.prototype.hasOwnProperty.call(value,key)&&keys.indexOf(key)<0&&keys.push(key)})}else keys=currentKeys;res.o=keys;for(i=0,length=keys.length;i<length;i++){var key=keys[i];saveComment(res.s,key,comments.c[key],extractComments(value[key]))&&(any=true)}if(!any&&comments.e){res.e=makeComment(comments.e[0],comments.e[1]);any=true}}root&&comments&&comments.r&&(res.r=makeComment(comments.r[0],comments.r[1]));return any?res:void 0}function mergeStr(){var res="";[].forEach.call(arguments,function(c){if(c&&""!==c.trim()){res&&(res+="; ");res+=c.trim()}});return res}function mergeComments(comments,value){var dropped=[];merge(comments,value,dropped,[]);if(dropped.length>0){var text=rootComment(value,null,1);text+="\n# Orphaned comments:\n";dropped.forEach(function(c){text+=("# "+c.path.join("/")+": "+mergeStr(c.b,c.a,c.e)).replace("\n","\\n ")+"\n"});rootComment(value,text,1)}}function saveComment(res,key,item,col){var c=makeComment(item?item[0]:void 0,item?item[1]:void 0,col);c&&(res[key]=c);return c}function droppedComment(path,c){var res=makeComment(c.b,c.a);res.path=path;return res}function dropAll(comments,dropped,path){if(!comments)return;var i,length;if(comments.a)for(i=0,length=comments.a.length;i<length;i++){var kpath=path.slice().concat([i]);var c=comments.a[i];if(c){dropped.push(droppedComment(kpath,c));dropAll(c.x,dropped,kpath)}}else comments.o&&comments.o.forEach(function(key){var kpath=path.slice().concat([key]);var c=comments.s[key];if(c){dropped.push(droppedComment(kpath,c));dropAll(c.x,dropped,kpath)}});comments.e&&dropped.push(droppedComment(path,comments.e))}function merge(comments,value,dropped,path){if(!comments)return;if(null===value||"object"!==typeof value){dropAll(comments,dropped,path);return}var i,length;var setComments=common.createComment(value);0===path.length&&comments.r&&(setComments.r=[comments.r.b,comments.r.a]);if("[object Array]"===Object.prototype.toString.apply(value)){setComments.a=[];for(i=0,length=(comments.a||[]).length;i<length;i++){var kpath=path.slice().concat([i]);var c=comments.a[i];if(!c)continue;if(i<value.length){setComments.a.push([c.b,c.a]);merge(c.x,value[i],dropped,kpath)}else{dropped.push(droppedComment(kpath,c));dropAll(c.x,dropped,kpath)}}0===i&&comments.e&&(setComments.e=[comments.e.b,comments.e.a])}else{setComments.c={};setComments.o=[];(comments.o||[]).forEach(function(key){var kpath=path.slice().concat([key]);var c=comments.s[key];if(Object.prototype.hasOwnProperty.call(value,key)){setComments.o.push(key);if(c){setComments.c[key]=[c.b,c.a];merge(c.x,value[key],dropped,kpath)}}else if(c){dropped.push(droppedComment(kpath,c));dropAll(c.x,dropped,kpath)}});comments.e&&(setComments.e=[comments.e.b,comments.e.a])}}function rootComment(value,setText,header){var comment=common.createComment(value,common.getComment(value));comment.r||(comment.r=["",""]);(setText||""===setText)&&(comment.r[header]=common.forceComment(setText));return comment.r[header]||""}module.exports={extract:function(value){return extractComments(value,true)},merge:mergeComments,header:function(value,setText){return rootComment(value,setText,0)},footer:function(value,setText){return rootComment(value,setText,1)}}},function(module,exports){function stringify(obj,options){options=options||{};var indent=JSON.stringify([1],null,get(options,"indent",2)).slice(2,-3);var maxLength=""===indent?Infinity:get(options,"maxLength",80);return function _stringify(obj,currentIndent,reserved){obj&&"function"===typeof obj.toJSON&&(obj=obj.toJSON());var string=JSON.stringify(obj);if(void 0===string)return string;var length=maxLength-currentIndent.length-reserved;if(string.length<=length){var prettified=prettify(string);if(prettified.length<=length)return prettified}if("object"===typeof obj&&null!==obj){var nextIndent=currentIndent+indent;var items=[];var delimiters;var comma=function(array,index){return index===array.length-1?0:1};if(Array.isArray(obj)){for(var index=0;index<obj.length;index++)items.push(_stringify(obj[index],nextIndent,comma(obj,index))||"null");delimiters="[]"}else{Object.keys(obj).forEach(function(key,index,array){var keyPart=JSON.stringify(key)+": ";var value=_stringify(obj[key],nextIndent,keyPart.length+comma(array,index));void 0!==value&&items.push(keyPart+value)});delimiters="{}"}if(items.length>0)return[delimiters[0],indent+items.join(",\n"+nextIndent),delimiters[1]].join("\n"+currentIndent)}return string}(obj,"",0)}var stringOrChar=/("(?:[^\\"]|\\.)*")|[:,]/g;function prettify(string){return string.replace(stringOrChar,function(match,string){return string?match:match+" "})}function get(options,name,defaultValue){return name in options?options[name]:defaultValue}module.exports=stringify},function(module,exports,__webpack_require__){0,factory=function(L){"use strict";L=L&&L.hasOwnProperty("default")?L["default"]:L;function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var _class=function(){function _class(onWarning){_classCallCheck(this,_class);this.onWarning=onWarning||(console?console.log:function(){})}_class.prototype.addToList=function addToList(spec,field,values){var newSigs=new Map(values.map(function(v){return"string"===typeof v?[v,{name:v}]:[v.name,v]}));var _iterator=this.findUndefined(spec,field,newSigs.keys()),_isArray=Array.isArray(_iterator),_i=0;for(_iterator=_isArray?_iterator:_iterator[Symbol.iterator]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++]}else{_i=_iterator.next();if(_i.done)break;_ref=_i.value}var sig=_ref;spec[field].push(newSigs.get(sig))}return spec};_class.prototype.overrideField=function overrideField(spec,field,value){spec[field]&&spec[field]!==value&&this.onWarning("Overriding "+field+": "+spec[field]+" 𐃘 "+value);spec[field]=value;return spec};_class.prototype.findUndefined=function findUndefined(spec,section,names){if(!spec.hasOwnProperty(section)){spec[section]=[];return names}if(!Array.isArray(spec[section]))throw new Error("spec."+section+" must be an array");var nameStrings=new Set(names);var _iterator2=spec[section],_isArray2=Array.isArray(_iterator2),_i2=0;for(_iterator2=_isArray2?_iterator2:_iterator2[Symbol.iterator]();;){var _ref2;if(_isArray2){if(_i2>=_iterator2.length)break;_ref2=_iterator2[_i2++]}else{_i2=_iterator2.next();if(_i2.done)break;_ref2=_i2.value}var obj=_ref2;obj.name&&nameStrings.delete(obj.name)}return nameStrings};return _class}();var version="0.8.6";var asyncToGenerator=function(fn){return function(){var gen=fn.apply(this,arguments);return new Promise(function(resolve,reject){function step(key,arg){try{var info=gen[key](arg);var value=info.value}catch(error){reject(error);return}if(!info.done)return Promise.resolve(value).then(function(value){step("next",value)},function(err){step("throw",err)});resolve(value)}return step("next")})}};var slicedToArray=function(){function sliceIterator(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{!_n&&_i["return"]&&_i["return"]()}finally{if(_d)throw _e}}return _arr}return function(arr,i){if(Array.isArray(arr))return arr;if(Symbol.iterator in Object(arr))return sliceIterator(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();L.vega=function vega(spec,options){return new L.VegaLayer(spec,options)};L.VegaLayer=(L.Layer?L.Layer:L.Class).extend({options:{vega:window&&window.vega,bindingsContainer:void 0,parseConfig:void 0,viewConfig:void 0,delayRepaint:true,onWarning:false,onError:false},initialize:function initialize(spec,options){var _this=this;L.Util.setOptions(this,options);var vega=this.options.vega;vega.expressionFunction("setMapView")||vega.expressionFunction("setMapView",function setMapView(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var view=this.context.dataflow;var handler=view.Leaflet_setMapViewHandler;if(!handler)throw new Error("setMapView() is not defined for this graph");view.runAfter(function(){return handler.apply(void 0,args)})});this._ignoreSignals=0;this.disableSignals=function(){_this._ignoreSignals++};this.enableSignals=function(){_this._ignoreSignals--;if(_this._ignoreSignals<0){_this._ignoreSignals=0;throw new Error("Too many calls to enableSignals()")}};var vsi=new _class(options.onWarning);vsi.overrideField(spec,"padding",0);vsi.overrideField(spec,"autosize","none");vsi.addToList(spec,"signals",["zoom","latitude","longitude"]);vsi.addToList(spec,"projections",[this.defaultProjection]);this._spec=spec},addTo:function addTo(map){map.addLayer(this);return this},onAdd:function onAdd(map){this._onAddAsync(map);return this},_onAddAsync:function _onAddAsync(map){var _this2=this;return asyncToGenerator(regeneratorRuntime.mark(function _callee(){var _options,vega,viewConfig,dataflow,oldLoad,onSignal;return regeneratorRuntime.wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_this2.disableSignals();_context.prev=1;_this2._map=map;_this2._vegaContainer=L.DomUtil.create("div","leaflet-vega-container");map._panes.overlayPane.appendChild(_this2._vegaContainer);_options=_this2.options,vega=_options.vega,viewConfig=_options.viewConfig;dataflow=vega.parse(_this2._spec,_this2.options.parseConfig);if(viewConfig&&viewConfig.loader){oldLoad=viewConfig.loader.load.bind(viewConfig.loader);viewConfig.loader.load=function(uri,opt){return oldLoad(uri,opt)}}_this2._view=new vega.View(dataflow,viewConfig);viewConfig&&void 0!==viewConfig.logLevel||_this2._view.logLevel(vega.Warn);_this2.options.onWarning&&(_this2._view.warn=_this2.options.onWarning);_this2.options.onError&&(_this2._view.error=_this2.options.onError);_this2._view.padding({left:0,right:0,top:0,bottom:0}).initialize(_this2._vegaContainer,_this2.options.bindingsContainer).hover();onSignal=function onSignal(sig,value){return _this2._onSignalChange(sig,value)};_this2._view.addSignalListener("latitude",onSignal).addSignalListener("longitude",onSignal).addSignalListener("zoom",onSignal);map.on(_this2.options.delayRepaint?"moveend":"move",function(){return _this2._resetAsync()});map.on("zoomend",function(){return _this2._resetAsync()});_this2._view.Leaflet_setMapViewHandler=function(){for(var _len2=arguments.length,args=Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];function throwError(){throw new Error("Unexpected setMapView() parameters. It could be called with a bounding box setMapView([[longitude1,latitude1],[longitude2,latitude2]]), or it could be the center point setMapView([longitude, latitude], optional_zoom), or it can be used as setMapView(latitude, longitude, optional_zoom)")}function checkArray(val){Array.isArray(val)&&2===val.length&&"number"===typeof val[0]&&"number"===typeof val[1]||throwError();return val}var lng=void 0;var lat=void 0;var zoom=void 0;switch(args.length){default:throwError();break;case 1:var arg=args[0];if(Array.isArray(arg)&&2===arg.length&&Array.isArray(arg[0])&&Array.isArray(arg[1])){var _checkArray=checkArray(arg[0]),_checkArray2=slicedToArray(_checkArray,2),lng1=_checkArray2[0],lat1=_checkArray2[1];var _checkArray3=checkArray(arg[1]),_checkArray4=slicedToArray(_checkArray3,2),lng2=_checkArray4[0],lat2=_checkArray4[1];map.fitBounds(L.latLngBounds(L.latLng(lat1,lng1),L.latLng(lat2,lng2)))}else{var _checkArray5=checkArray(arg);var _checkArray6=slicedToArray(_checkArray5,2);lng=_checkArray6[0];lat=_checkArray6[1]}break;case 2:if(Array.isArray(args[0])){var _checkArray7=checkArray(args[0]);var _checkArray8=slicedToArray(_checkArray7,2);lng=_checkArray8[0];lat=_checkArray8[1];zoom=args[1]}else{lat=args[0];lng=args[1]}break;case 3:lat=args[0];lng=args[1];zoom=args[2]}if(void 0!==lat&&void 0!==lng){"number"===typeof lat&&"number"===typeof lng||throwError();void 0===zoom?zoom=map.getZoom():"number"!==typeof zoom&&throwError();map.setView({lat:lat,lng:lng},zoom)}};_context.next=20;return _this2._resetAsync(true);case 20:_context.next=25;break;case 22:_context.prev=22;_context.t0=_context["catch"](1);_this2._reportError(_context.t0);case 25:_context.prev=25;_this2.enableSignals();return _context.finish(25);case 28:case"end":return _context.stop()}},_callee,_this2,[[1,22,25,28]])}))()},onRemove:function onRemove(){if(this._view){this._view.finalize();this._view=null}var el=this._vegaContainer;while(el.firstChild)el.removeChild(el.firstChild)},_reportError:function _reportError(err){this.options.onError?this.options.onError(err):console&&console.error&&console.error(err)},_onSignalChange:function _onSignalChange(sig,value){if(this._ignoreSignals)return;try{var map=this._map;var center=map.getCenter();var zoom=map.getZoom();switch(sig){case"latitude":center.lat=value;break;case"longitude":center.lng=value;break;case"zoom":zoom=value;break;default:return}map.setView(center,zoom)}catch(err){this._reportError(err)}},_resetAsync:function _resetAsync(force){var _this3=this;return asyncToGenerator(regeneratorRuntime.mark(function _callee2(){var map,view,topLeft,size,center,zoom,sendSignal,changed;return regeneratorRuntime.wrap(function _callee2$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:if(_this3._view){_context2.next=2;break}return _context2.abrupt("return");case 2:_this3.disableSignals();_context2.prev=3;map=_this3._map;view=_this3._view;topLeft=map.containerPointToLayerPoint([0,0]);L.DomUtil.setPosition(_this3._vegaContainer,topLeft);size=map.getSize();center=map.getCenter();zoom=map.getZoom();sendSignal=function sendSignal(sig,value){if(view.signal(sig)!==value){view.signal(sig,value);return 1}return 0};changed=sendSignal("width",size.x)+sendSignal("height",size.y)+sendSignal("latitude",center.lat)+sendSignal("longitude",center.lng)+sendSignal("zoom",zoom);if(!(changed>0||force)){_context2.next=16;break}_context2.next=16;return view.runAsync();case 16:_context2.next=21;break;case 18:_context2.prev=18;_context2.t0=_context2["catch"](3);_this3._reportError(_context2.t0);case 21:_context2.prev=21;_this3.enableSignals();return _context2.finish(21);case 24:case"end":return _context2.stop()}},_callee2,_this3,[[3,18,21,24]])}))()},defaultProjection:{name:"projection",type:"mercator",scale:{signal:"256*pow(2,zoom)/2/PI"},rotate:[{signal:"-longitude"},0,0],center:[0,{signal:"latitude"}],translate:[{signal:"width/2"},{signal:"height/2"}],fit:false}});L.VegaLayer.version=version},void factory(__webpack_require__(864));var factory},function(module,exports,__webpack_require__){},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;!function(t,e,i){function n(){var e=t.L;o.noConflict=function(){return t.L=e,this},t.L=o}var o={version:"1.0.3"};true,"object"==typeof module.exports?module.exports=o:(true,!(__WEBPACK_AMD_DEFINE_FACTORY__=o,__WEBPACK_AMD_DEFINE_RESULT__="function"===typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__,void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))),"undefined"!=typeof t&&n(),o.Util={extend:function(t){var e,i,n,o;for(i=1,n=arguments.length;i<n;i++){o=arguments[i];for(e in o)t[e]=o[e]}return t},create:Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}(),bind:function(t,e){var i=Array.prototype.slice;if(t.bind)return t.bind.apply(t,i.call(arguments,1));var n=i.call(arguments,2);return function(){return t.apply(e,n.length?n.concat(i.call(arguments)):arguments)}},stamp:function(t){return t._leaflet_id=t._leaflet_id||++o.Util.lastId,t._leaflet_id},lastId:0,throttle:function(t,e,i){var n,o,s,r;return r=function(){n=!1,o&&(s.apply(i,o),o=!1)},s=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(r,e),n=!0)}},wrapNum:function(t,e,i){var n=e[1],o=e[0],s=n-o;return t===n&&i?t:((t-o)%s+s)%s+o},falseFn:function(){return!1},formatNum:function(t,e){var i=Math.pow(10,e||5);return Math.round(t*i)/i},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},splitWords:function(t){return o.Util.trim(t).split(/\s+/)},setOptions:function(t,e){t.hasOwnProperty("options")||(t.options=t.options?o.Util.create(t.options):{});for(var i in e)t.options[i]=e[i];return t.options},getParamString:function(t,e,i){var n=[];for(var o in t)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(e&&-1!==e.indexOf("?")?"&":"?")+n.join("&")},template:function(t,e){return t.replace(o.Util.templateRe,function(t,n){var o=e[n];if(o===i)throw new Error("No value provided for variable "+t);return"function"==typeof o&&(o=o(e)),o})},templateRe:/\{ *([\w_\-]+) *\}/g,isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},indexOf:function(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1},emptyImageUrl:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="},function(){function e(e){return t["webkit"+e]||t["moz"+e]||t["ms"+e]}function i(e){var i=+new Date,o=Math.max(0,16-(i-n));return n=i+o,t.setTimeout(e,o)}var n=0,s=t.requestAnimationFrame||e("RequestAnimationFrame")||i,r=t.cancelAnimationFrame||e("CancelAnimationFrame")||e("CancelRequestAnimationFrame")||function(e){t.clearTimeout(e)};o.Util.requestAnimFrame=function(e,n,r){return r&&s===i?void e.call(n):s.call(t,o.bind(e,n))},o.Util.cancelAnimFrame=function(e){e&&r.call(t,e)}}(),o.extend=o.Util.extend,o.bind=o.Util.bind,o.stamp=o.Util.stamp,o.setOptions=o.Util.setOptions,o.Class=function(){},o.Class.extend=function(t){var e=function(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},i=e.__super__=this.prototype,n=o.Util.create(i);n.constructor=e,e.prototype=n;for(var s in this)this.hasOwnProperty(s)&&"prototype"!==s&&(e[s]=this[s]);return t.statics&&(o.extend(e,t.statics),delete t.statics),t.includes&&(o.Util.extend.apply(null,[n].concat(t.includes)),delete t.includes),n.options&&(t.options=o.Util.extend(o.Util.create(n.options),t.options)),o.extend(n,t),n._initHooks=[],n.callInitHooks=function(){if(!this._initHooksCalled){i.callInitHooks&&i.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=n._initHooks.length;t<e;t++)n._initHooks[t].call(this)}},e},o.Class.include=function(t){return o.extend(this.prototype,t),this},o.Class.mergeOptions=function(t){return o.extend(this.prototype.options,t),this},o.Class.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this},o.Evented=o.Class.extend({on:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e);else{t=o.Util.splitWords(t);for(var s=0,r=t.length;s<r;s++)this._on(t[s],e,i)}return this},off:function(t,e,i){if(t)if("object"==typeof t)for(var n in t)this._off(n,t[n],e);else{t=o.Util.splitWords(t);for(var s=0,r=t.length;s<r;s++)this._off(t[s],e,i)}else delete this._events;return this},_on:function(t,e,n){this._events=this._events||{};var o=this._events[t];o||(o=[],this._events[t]=o),n===this&&(n=i);for(var s={fn:e,ctx:n},r=o,a=0,h=r.length;a<h;a++)if(r[a].fn===e&&r[a].ctx===n)return;r.push(s)},_off:function(t,e,n){var s,r,a;if(this._events&&(s=this._events[t])){if(!e){for(r=0,a=s.length;r<a;r++)s[r].fn=o.Util.falseFn;return void delete this._events[t]}if(n===this&&(n=i),s)for(r=0,a=s.length;r<a;r++){var h=s[r];if(h.ctx===n&&h.fn===e)return h.fn=o.Util.falseFn,this._firingCount&&(this._events[t]=s=s.slice()),void s.splice(r,1)}}},fire:function(t,e,i){if(!this.listens(t,i))return this;var n=o.Util.extend({},e,{type:t,target:this});if(this._events){var s=this._events[t];if(s){this._firingCount=this._firingCount+1||1;for(var r=0,a=s.length;r<a;r++){var h=s[r];h.fn.call(h.ctx||this,n)}this._firingCount--}}return i&&this._propagateEvent(n),this},listens:function(t,e){var i=this._events&&this._events[t];if(i&&i.length)return!0;if(e)for(var n in this._eventParents)if(this._eventParents[n].listens(t,e))return!0;return!1},once:function(t,e,i){if("object"==typeof t){for(var n in t)this.once(n,t[n],e);return this}var s=o.bind(function(){this.off(t,e,i).off(t,s,i)},this);return this.on(t,e,i).on(t,s,i)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[o.stamp(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[o.stamp(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,o.extend({layer:t.target},t),!0)}});var s=o.Evented.prototype;s.addEventListener=s.on,s.removeEventListener=s.clearAllEventListeners=s.off,s.addOneTimeEventListener=s.once,s.fireEvent=s.fire,s.hasEventListeners=s.listens,o.Mixin={Events:s},function(){var i=navigator.userAgent.toLowerCase(),n=e.documentElement,s="ActiveXObject"in t,r=-1!==i.indexOf("webkit"),a=-1!==i.indexOf("phantom"),h=-1!==i.search("android [23]"),l=-1!==i.indexOf("chrome"),u=-1!==i.indexOf("gecko")&&!r&&!t.opera&&!s,c=0===navigator.platform.indexOf("Win"),d="undefined"!=typeof orientation||-1!==i.indexOf("mobile"),_=!t.PointerEvent&&t.MSPointerEvent,m=t.PointerEvent||_,p=s&&"transition"in n.style,f="WebKitCSSMatrix"in t&&"m11"in new t.WebKitCSSMatrix&&!h,g="MozPerspective"in n.style,v="OTransition"in n.style,y=!t.L_NO_TOUCH&&(m||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch);o.Browser={ie:s,ielt9:s&&!e.addEventListener,edge:"msLaunchUri"in navigator&&!("documentMode"in e),webkit:r,gecko:u,android:-1!==i.indexOf("android"),android23:h,chrome:l,safari:!l&&-1!==i.indexOf("safari"),win:c,ie3d:p,webkit3d:f,gecko3d:g,opera12:v,any3d:!t.L_DISABLE_3D&&(p||f||g)&&!v&&!a,mobile:d,mobileWebkit:d&&r,mobileWebkit3d:d&&f,mobileOpera:d&&t.opera,mobileGecko:d&&u,touch:!!y,msPointer:!!_,pointer:!!m,retina:(t.devicePixelRatio||t.screen.deviceXDPI/t.screen.logicalXDPI)>1}}(),o.Point=function(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e},o.Point.prototype={clone:function(){return new o.Point(this.x,this.y)},add:function(t){return this.clone()._add(o.point(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(o.point(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new o.Point(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new o.Point(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},distanceTo:function(t){t=o.point(t);var e=t.x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},equals:function(t){return t=o.point(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=o.point(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+o.Util.formatNum(this.x)+", "+o.Util.formatNum(this.y)+")"}},o.point=function(t,e,n){return t instanceof o.Point?t:o.Util.isArray(t)?new o.Point(t[0],t[1]):t===i||null===t?t:"object"==typeof t&&"x"in t&&"y"in t?new o.Point(t.x,t.y):new o.Point(t,e,n)},o.Bounds=function(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])},o.Bounds.prototype={extend:function(t){return t=o.point(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new o.Point((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new o.Point(this.min.x,this.max.y)},getTopRight:function(){return new o.Point(this.max.x,this.min.y)},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,i;return t="number"==typeof t[0]||t instanceof o.Point?o.point(t):o.bounds(t),t instanceof o.Bounds?(e=t.min,i=t.max):e=i=t,e.x>=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=o.bounds(t);var e=this.min,i=this.max,n=t.min,s=t.max,r=s.x>=e.x&&n.x<=i.x,a=s.y>=e.y&&n.y<=i.y;return r&&a},overlaps:function(t){t=o.bounds(t);var e=this.min,i=this.max,n=t.min,s=t.max,r=s.x>e.x&&n.x<i.x,a=s.y>e.y&&n.y<i.y;return r&&a},isValid:function(){return!(!this.min||!this.max)}},o.bounds=function(t,e){return!t||t instanceof o.Bounds?t:new o.Bounds(t,e)},o.Transformation=function(t,e,i,n){this._a=t,this._b=e,this._c=i,this._d=n},o.Transformation.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new o.Point((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}},o.DomUtil={get:function(t){return"string"==typeof t?e.getElementById(t):t},getStyle:function(t,i){var n=t.style[i]||t.currentStyle&&t.currentStyle[i];if((!n||"auto"===n)&&e.defaultView){var o=e.defaultView.getComputedStyle(t,null);n=o?o[i]:null}return"auto"===n?null:n},create:function(t,i,n){var o=e.createElement(t);return o.className=i||"",n&&n.appendChild(o),o},remove:function(t){var e=t.parentNode;e&&e.removeChild(t)},empty:function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},toFront:function(t){t.parentNode.appendChild(t)},toBack:function(t){var e=t.parentNode;e.insertBefore(t,e.firstChild)},hasClass:function(t,e){if(t.classList!==i)return t.classList.contains(e);var n=o.DomUtil.getClass(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)},addClass:function(t,e){if(t.classList!==i)for(var n=o.Util.splitWords(e),s=0,r=n.length;s<r;s++)t.classList.add(n[s]);else if(!o.DomUtil.hasClass(t,e)){var a=o.DomUtil.getClass(t);o.DomUtil.setClass(t,(a?a+" ":"")+e)}},removeClass:function(t,e){t.classList!==i?t.classList.remove(e):o.DomUtil.setClass(t,o.Util.trim((" "+o.DomUtil.getClass(t)+" ").replace(" "+e+" "," ")))},setClass:function(t,e){t.className.baseVal===i?t.className=e:t.className.baseVal=e},getClass:function(t){return t.className.baseVal===i?t.className:t.className.baseVal},setOpacity:function(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&o.DomUtil._setOpacityIE(t,e)},_setOpacityIE:function(t,e){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=t.filters.item(n)}catch(t){if(1===e)return}e=Math.round(100*e),i?(i.Enabled=100!==e,i.Opacity=e):t.style.filter+=" progid:"+n+"(opacity="+e+")"},testProp:function(t){for(var i=e.documentElement.style,n=0;n<t.length;n++)if(t[n]in i)return t[n];return!1},setTransform:function(t,e,i){var n=e||new o.Point(0,0);t.style[o.DomUtil.TRANSFORM]=(o.Browser.ie3d?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(i?" scale("+i+")":"")},setPosition:function(t,e){t._leaflet_pos=e,o.Browser.any3d?o.DomUtil.setTransform(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")},getPosition:function(t){return t._leaflet_pos||new o.Point(0,0)}},function(){o.DomUtil.TRANSFORM=o.DomUtil.testProp(["transform","WebkitTransform","OTransform","MozTransform","msTransform"]);var i=o.DomUtil.TRANSITION=o.DomUtil.testProp(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);if(o.DomUtil.TRANSITION_END="webkitTransition"===i||"OTransition"===i?i+"End":"transitionend","onselectstart"in e)o.DomUtil.disableTextSelection=function(){o.DomEvent.on(t,"selectstart",o.DomEvent.preventDefault)},o.DomUtil.enableTextSelection=function(){o.DomEvent.off(t,"selectstart",o.DomEvent.preventDefault)};else{var n=o.DomUtil.testProp(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);o.DomUtil.disableTextSelection=function(){if(n){var t=e.documentElement.style;this._userSelect=t[n],t[n]="none"}},o.DomUtil.enableTextSelection=function(){n&&(e.documentElement.style[n]=this._userSelect,delete this._userSelect)}}o.DomUtil.disableImageDrag=function(){o.DomEvent.on(t,"dragstart",o.DomEvent.preventDefault)},o.DomUtil.enableImageDrag=function(){o.DomEvent.off(t,"dragstart",o.DomEvent.preventDefault)},o.DomUtil.preventOutline=function(e){for(;-1===e.tabIndex;)e=e.parentNode;e&&e.style&&(o.DomUtil.restoreOutline(),this._outlineElement=e,this._outlineStyle=e.style.outline,e.style.outline="none",o.DomEvent.on(t,"keydown",o.DomUtil.restoreOutline,this))},o.DomUtil.restoreOutline=function(){this._outlineElement&&(this._outlineElement.style.outline=this._outlineStyle,delete this._outlineElement,delete this._outlineStyle,o.DomEvent.off(t,"keydown",o.DomUtil.restoreOutline,this))}}(),o.LatLng=function(t,e,n){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,n!==i&&(this.alt=+n)},o.LatLng.prototype={equals:function(t,e){if(!t)return!1;t=o.latLng(t);var n=Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng));return n<=(e===i?1e-9:e)},toString:function(t){return"LatLng("+o.Util.formatNum(this.lat,t)+", "+o.Util.formatNum(this.lng,t)+")"},distanceTo:function(t){return o.CRS.Earth.distance(this,o.latLng(t))},wrap:function(){return o.CRS.Earth.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,i=e/Math.cos(Math.PI/180*this.lat);return o.latLngBounds([this.lat-e,this.lng-i],[this.lat+e,this.lng+i])},clone:function(){return new o.LatLng(this.lat,this.lng,this.alt)}},o.latLng=function(t,e,n){return t instanceof o.LatLng?t:o.Util.isArray(t)&&"object"!=typeof t[0]?3===t.length?new o.LatLng(t[0],t[1],t[2]):2===t.length?new o.LatLng(t[0],t[1]):null:t===i||null===t?t:"object"==typeof t&&"lat"in t?new o.LatLng(t.lat,"lng"in t?t.lng:t.lon,t.alt):e===i?null:new o.LatLng(t,e,n)},o.LatLngBounds=function(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])},o.LatLngBounds.prototype={extend:function(t){var e,i,n=this._southWest,s=this._northEast;if(t instanceof o.LatLng)e=t,i=t;else{if(!(t instanceof o.LatLngBounds))return t?this.extend(o.latLng(t)||o.latLngBounds(t)):this;if(e=t._southWest,i=t._northEast,!e||!i)return this}return n||s?(n.lat=Math.min(e.lat,n.lat),n.lng=Math.min(e.lng,n.lng),s.lat=Math.max(i.lat,s.lat),s.lng=Math.max(i.lng,s.lng)):(this._southWest=new o.LatLng(e.lat,e.lng),this._northEast=new o.LatLng(i.lat,i.lng)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,s=Math.abs(e.lng-i.lng)*t;return new o.LatLngBounds(new o.LatLng(e.lat-n,e.lng-s),new o.LatLng(i.lat+n,i.lng+s))},getCenter:function(){return new o.LatLng((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new o.LatLng(this.getNorth(),this.getWest())},getSouthEast:function(){return new o.LatLng(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof o.LatLng||"lat"in t?o.latLng(t):o.latLngBounds(t);var e,i,n=this._southWest,s=this._northEast;return t instanceof o.LatLngBounds?(e=t.getSouthWest(),i=t.getNorthEast()):e=i=t,e.lat>=n.lat&&i.lat<=s.lat&&e.lng>=n.lng&&i.lng<=s.lng},intersects:function(t){t=o.latLngBounds(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),s=t.getNorthEast(),r=s.lat>=e.lat&&n.lat<=i.lat,a=s.lng>=e.lng&&n.lng<=i.lng;return r&&a},overlaps:function(t){t=o.latLngBounds(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),s=t.getNorthEast(),r=s.lat>e.lat&&n.lat<i.lat,a=s.lng>e.lng&&n.lng<i.lng;return r&&a},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t){return!!t&&(t=o.latLngBounds(t),this._southWest.equals(t.getSouthWest())&&this._northEast.equals(t.getNorthEast()))},isValid:function(){return!(!this._southWest||!this._northEast)}},o.latLngBounds=function(t,e){return t instanceof o.LatLngBounds?t:new o.LatLngBounds(t,e)},o.Projection={},o.Projection.LonLat={project:function(t){return new o.Point(t.lng,t.lat)},unproject:function(t){return new o.LatLng(t.y,t.x)},bounds:o.bounds([-180,-90],[180,90])},o.Projection.SphericalMercator={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,n=Math.max(Math.min(i,t.lat),-i),s=Math.sin(n*e);return new o.Point(this.R*t.lng*e,this.R*Math.log((1+s)/(1-s))/2)},unproject:function(t){var e=180/Math.PI;return new o.LatLng((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:function(){var t=6378137*Math.PI;return o.bounds([-t,-t],[t,t])}()},o.CRS={latLngToPoint:function(t,e){var i=this.projection.project(t),n=this.scale(e);return this.transformation._transform(i,n)},pointToLatLng:function(t,e){var i=this.scale(e),n=this.transformation.untransform(t,i);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,i=this.scale(t),n=this.transformation.transform(e.min,i),s=this.transformation.transform(e.max,i);return o.bounds(n,s)},infinite:!1,wrapLatLng:function(t){var e=this.wrapLng?o.Util.wrapNum(t.lng,this.wrapLng,!0):t.lng,i=this.wrapLat?o.Util.wrapNum(t.lat,this.wrapLat,!0):t.lat,n=t.alt;return o.latLng(i,e,n)},wrapLatLngBounds:function(t){var e=t.getCenter(),i=this.wrapLatLng(e),n=e.lat-i.lat,s=e.lng-i.lng;if(0===n&&0===s)return t;var r=t.getSouthWest(),a=t.getNorthEast(),h=o.latLng({lat:r.lat-n,lng:r.lng-s}),l=o.latLng({lat:a.lat-n,lng:a.lng-s});return new o.LatLngBounds(h,l)}},o.CRS.Simple=o.extend({},o.CRS,{projection:o.Projection.LonLat,transformation:new o.Transformation(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0}),o.CRS.Earth=o.extend({},o.CRS,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,s=Math.sin(n)*Math.sin(o)+Math.cos(n)*Math.cos(o)*Math.cos((e.lng-t.lng)*i);return this.R*Math.acos(Math.min(s,1))}}),o.CRS.EPSG3857=o.extend({},o.CRS.Earth,{code:"EPSG:3857",projection:o.Projection.SphericalMercator,transformation:function(){var t=.5/(Math.PI*o.Projection.SphericalMercator.R);return new o.Transformation(t,.5,-t,.5)}()}),o.CRS.EPSG900913=o.extend({},o.CRS.EPSG3857,{code:"EPSG:900913"}),o.CRS.EPSG4326=o.extend({},o.CRS.Earth,{code:"EPSG:4326",projection:o.Projection.LonLat,transformation:new o.Transformation(1/180,1,-1/180,.5)}),o.Map=o.Evented.extend({options:{crs:o.CRS.EPSG3857,center:i,zoom:i,minZoom:i,maxZoom:i,layers:[],maxBounds:i,renderer:i,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=o.setOptions(this,e),this._initContainer(t),this._initLayout(),this._onResize=o.bind(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),e.zoom!==i&&(this._zoom=this._limitZoom(e.zoom)),e.center&&e.zoom!==i&&this.setView(o.latLng(e.center),e.zoom,{reset:!0}),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this.callInitHooks(),this._zoomAnimated=o.DomUtil.TRANSITION&&o.Browser.any3d&&!o.Browser.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),o.DomEvent.on(this._proxy,o.DomUtil.TRANSITION_END,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,n){if(e=e===i?this._zoom:this._limitZoom(e),t=this._limitCenter(o.latLng(t),e,this.options.maxBounds),n=n||{},this._stop(),this._loaded&&!n.reset&&!0!==n){n.animate!==i&&(n.zoom=o.extend({animate:n.animate},n.zoom),n.pan=o.extend({animate:n.animate,duration:n.duration},n.pan));var s=this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,n.zoom):this._tryAnimatedPan(t,n.pan);if(s)return clearTimeout(this._sizeTimer),this}return this._resetView(t,e),this},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(o.Browser.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(o.Browser.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,i){var n=this.getZoomScale(e),s=this.getSize().divideBy(2),r=t instanceof o.Point?t:this.latLngToContainerPoint(t),a=r.subtract(s).multiplyBy(1-1/n),h=this.containerPointToLatLng(s.add(a));return this.setView(h,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():o.latLngBounds(t);var i=o.point(e.paddingTopLeft||e.padding||[0,0]),n=o.point(e.paddingBottomRight||e.padding||[0,0]),s=this.getBoundsZoom(t,!1,i.add(n));s="number"==typeof e.maxZoom?Math.min(e.maxZoom,s):s;var r=n.subtract(i).divideBy(2),a=this.project(t.getSouthWest(),s),h=this.project(t.getNorthEast(),s),l=this.unproject(a.add(h).divideBy(2).add(r),s);return{center:l,zoom:s}},fitBounds:function(t,e){if(t=o.latLngBounds(t),!t.isValid())throw new Error("Bounds are not valid.");var i=this._getBoundsCenterZoom(t,e);return this.setView(i.center,i.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(t=o.point(t).round(),e=e||{},!t.x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new o.PosAnimation,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){o.DomUtil.addClass(this._mapPane,"leaflet-pan-anim");var i=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,n){function s(t){var e=t?-1:1,i=t?v:g,n=v*v-g*g+e*L*L*y*y,o=2*i*L*y,s=n/o,r=Math.sqrt(s*s+1)-s,a=r<1e-9?-18:Math.log(r);return a}function r(t){return(Math.exp(t)-Math.exp(-t))/2}function a(t){return(Math.exp(t)+Math.exp(-t))/2}function h(t){return r(t)/a(t)}function l(t){return g*(a(x)/a(x+P*t))}function u(t){return g*(a(x)*h(x+P*t)-r(x))/L}function c(t){return 1-Math.pow(1-t,1.5)}function d(){var i=(Date.now()-w)/T,n=c(i)*b;i<=1?(this._flyToFrame=o.Util.requestAnimFrame(d,this),this._move(this.unproject(_.add(m.subtract(_).multiplyBy(u(n)/y)),f),this.getScaleZoom(g/l(n),f),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}if(n=n||{},!1===n.animate||!o.Browser.any3d)return this.setView(t,e,n);this._stop();var _=this.project(this.getCenter()),m=this.project(t),p=this.getSize(),f=this._zoom;t=o.latLng(t),e=e===i?f:e;var g=Math.max(p.x,p.y),v=g*this.getZoomScale(f,e),y=m.distanceTo(_)||1,P=1.42,L=P*P,x=s(0),w=Date.now(),b=(s(1)-x)/P,T=n.duration?1e3*n.duration:1e3*b*.8;return this._moveStart(!0),d.call(this),this},flyToBounds:function(t,e){var i=this._getBoundsCenterZoom(t,e);return this.flyTo(i.center,i.zoom,e)},setMaxBounds:function(t){return t=o.latLngBounds(t),t.isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){return this.options.minZoom=t,this._loaded&&this.getZoom()<this.options.minZoom?this.setZoom(t):this},setMaxZoom:function(t){return this.options.maxZoom=t,this._loaded&&this.getZoom()>this.options.maxZoom?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,o.latLngBounds(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},invalidateSize:function(t){if(!this._loaded)return this;t=o.extend({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var i=this.getSize(),n=e.divideBy(2).round(),s=i.divideBy(2).round(),r=n.subtract(s);return r.x||r.y?(t.animate&&t.pan?this.panBy(r):(t.pan&&this._rawPanBy(r),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(o.bind(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:i})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=o.extend({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=o.bind(this._handleGeolocationResponse,this),i=o.bind(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,i=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+i+"."})},_handleGeolocationResponse:function(t){var e=t.coords.latitude,i=t.coords.longitude,n=new o.LatLng(e,i),s=n.toBounds(t.coords.accuracy),r=this._locateOptions;if(r.setView){var a=this.getBoundsZoom(s);this.setView(n,r.maxZoom?Math.min(a,r.maxZoom):a)}var h={latlng:n,bounds:s,timestamp:t.timestamp};for(var l in t.coords)"number"==typeof t.coords[l]&&(h[l]=t.coords[l]);this.fire("locationfound",h)},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=i,this._containerId=i}o.DomUtil.remove(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._clearHandlers(),this._loaded&&this.fire("unload");for(var t in this._layers)this._layers[t].remove();return this},createPane:function(t,e){var i="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),n=o.DomUtil.create("div",i,e||this._mapPane);return t&&(this._panes[t]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),e=this.unproject(t.getBottomLeft()),i=this.unproject(t.getTopRight());return new o.LatLngBounds(e,i)},getMinZoom:function(){return this.options.minZoom===i?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===i?this._layersMaxZoom===i?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=o.latLngBounds(t),i=o.point(i||[0,0]);var n=this.getZoom()||0,s=this.getMinZoom(),r=this.getMaxZoom(),a=t.getNorthWest(),h=t.getSouthEast(),l=this.getSize().subtract(i),u=o.bounds(this.project(h,n),this.project(a,n)).getSize(),c=o.Browser.any3d?this.options.zoomSnap:1,d=Math.min(l.x/u.x,l.y/u.y);return n=this.getScaleZoom(d,n),c&&(n=Math.round(n/(c/100))*(c/100),n=e?Math.ceil(n/c)*c:Math.floor(n/c)*c),Math.max(s,Math.min(r,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new o.Point(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new o.Bounds(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(t===i?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=e===i?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=e===i?this._zoom:e;var o=n.zoom(t*n.scale(e));return isNaN(o)?1/0:o},project:function(t,e){return e=e===i?this._zoom:e,this.options.crs.latLngToPoint(o.latLng(t),e)},unproject:function(t,e){return e=e===i?this._zoom:e,this.options.crs.pointToLatLng(o.point(t),e)},layerPointToLatLng:function(t){var e=o.point(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){var e=this.project(o.latLng(t))._round();return e._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(o.latLng(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(o.latLngBounds(t))},distance:function(t,e){return this.options.crs.distance(o.latLng(t),o.latLng(e))},containerPointToLayerPoint:function(t){return o.point(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return o.point(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(o.point(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(o.latLng(t)))},mouseEventToContainerPoint:function(t){return o.DomEvent.getMousePosition(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=o.DomUtil.get(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");o.DomEvent.addListener(e,"scroll",this._onScroll,this),this._containerId=o.Util.stamp(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&o.Browser.any3d,o.DomUtil.addClass(t,"leaflet-container"+(o.Browser.touch?" leaflet-touch":"")+(o.Browser.retina?" leaflet-retina":"")+(o.Browser.ielt9?" leaflet-oldie":"")+(o.Browser.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=o.DomUtil.getStyle(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),o.DomUtil.setPosition(this._mapPane,new o.Point(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(o.DomUtil.addClass(t.markerPane,"leaflet-zoom-hide"),o.DomUtil.addClass(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){o.DomUtil.setPosition(this._mapPane,new o.Point(0,0));var i=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var n=this._zoom!==e;this._moveStart(n)._move(t,e)._moveEnd(n),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(t){return t&&this.fire("zoomstart"),this.fire("movestart")},_move:function(t,e,n){e===i&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(o||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return o.Util.cancelAnimFrame(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){o.DomUtil.setPosition(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){if(o.DomEvent){this._targets={},this._targets[o.stamp(this._container)]=this;var i=e?"off":"on";o.DomEvent[i](this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress",this._handleDOMEvent,this),this.options.trackResize&&o.DomEvent[i](t,"resize",this._onResize,this),o.Browser.any3d&&this.options.transform3DLimit&&this[i]("moveend",this._onMoveEnd)}},_onResize:function(){o.Util.cancelAnimFrame(this._resizeRequest),this._resizeRequest=o.Util.requestAnimFrame(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i,n=[],s="mouseout"===e||"mouseover"===e,r=t.target||t.srcElement,a=!1;r;){if(i=this._targets[o.stamp(r)],i&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(i)){a=!0;break}if(i&&i.listens(e,!0)){if(s&&!o.DomEvent._isExternalTarget(r,t))break;if(n.push(i),s)break}if(r===this._container)break;r=r.parentNode}return n.length||a||s||!o.DomEvent._isExternalTarget(r,t)||(n=[this]),n},_handleDOMEvent:function(t){if(this._loaded&&!o.DomEvent._skipped(t)){var e="keypress"===t.type&&13===t.keyCode?"click":t.type;"mousedown"===e&&o.DomUtil.preventOutline(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_fireDOMEvent:function(t,e,i){if("click"===t.type){var n=o.Util.extend({},t);n.type="preclick",this._fireDOMEvent(n,n.type,i)}if(!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,e)),i.length)){var s=i[0];"contextmenu"===e&&s.listens(e,!0)&&o.DomEvent.preventDefault(t);var r={originalEvent:t};if("keypress"!==t.type){var a=s instanceof o.Marker;r.containerPoint=a?this.latLngToContainerPoint(s.getLatLng()):this.mouseEventToContainerPoint(t),r.layerPoint=this.containerPointToLayerPoint(r.containerPoint),r.latlng=a?s.getLatLng():this.layerPointToLatLng(r.layerPoint)}for(var h=0;h<i.length;h++)if(i[h].fire(e,r,!0),r.originalEvent._stopped||i[h].options.nonBubblingEvents&&-1!==o.Util.indexOf(i[h].options.nonBubblingEvents,e))return}},_draggableMoved:function(t){return t=t.dragging&&t.dragging.enabled()?t:this,t.dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return o.DomUtil.getPosition(this._mapPane)||new o.Point(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){var n=t&&e!==i?this._getNewPixelOrigin(t,e):this.getPixelOrigin();return n.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var i=this.getSize()._divideBy(2);return this.project(t,e)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return this.project(t,e)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return o.bounds([this.project(t.getSouthWest(),e)._subtract(n),this.project(t.getNorthWest(),e)._subtract(n),this.project(t.getSouthEast(),e)._subtract(n),this.project(t.getNorthEast(),e)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){if(!i)return t;var n=this.project(t,e),s=this.getSize().divideBy(2),r=new o.Bounds(n.subtract(s),n.add(s)),a=this._getBoundsOffset(r,i,e);return a.round().equals([0,0])?t:this.unproject(n.add(a),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),n=new o.Bounds(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(n,e))},_getBoundsOffset:function(t,e,i){var n=o.bounds(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),s=n.min.subtract(t.min),r=n.max.subtract(t.max),a=this._rebound(s.x,-r.x),h=this._rebound(s.y,-r.y);return new o.Point(a,h)},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=o.Browser.any3d?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){o.DomUtil.removeClass(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._floor();return!(!0!==(e&&e.animate)&&!this.getSize().contains(i))&&(this.panBy(i,e),!0)},_createAnimProxy:function(){var t=this._proxy=o.DomUtil.create("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(e){var i=o.DomUtil.TRANSFORM,n=t.style[i];o.DomUtil.setTransform(t,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),n===t.style[i]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var e=this.getCenter(),i=this.getZoom();o.DomUtil.setTransform(t,this.project(e,i),this.getZoomScale(i,1))},this)},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),s=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==i.animate&&!this.getSize().contains(s))&&(o.Util.requestAnimFrame(function(){this._moveStart(!0)._animateZoom(t,e,!0)},this),!0)},_animateZoom:function(t,e,i,n){i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,o.DomUtil.addClass(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),setTimeout(o.bind(this._onZoomTransitionEnd,this),250)},_onZoomTransitionEnd:function(){this._animatingZoom&&(o.DomUtil.removeClass(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),o.Util.requestAnimFrame(function(){this._moveEnd(!0)},this))}}),o.map=function(t,e){return new o.Map(t,e)},o.Layer=o.Evented.extend({options:{pane:"overlayPane",nonBubblingEvents:[],attribution:null},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[o.stamp(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[o.stamp(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var i=this.getEvents();e.on(i,this),this.once("remove",function(){e.off(i,this)},this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}}),o.Map.include({addLayer:function(t){var e=o.stamp(t);return this._layers[e]?this:(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var e=o.stamp(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&o.stamp(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){t=t?o.Util.isArray(t)?t:[t]:[];for(var e=0,i=t.length;e<i;e++)this.addLayer(t[e])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[o.stamp(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=o.stamp(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,n=this._getZoomSpan();for(var o in this._zoomBoundLayers){var s=this._zoomBoundLayers[o].options;t=s.minZoom===i?t:Math.min(t,s.minZoom),e=s.maxZoom===i?e:Math.max(e,s.maxZoom)}this._layersMaxZoom=e===-1/0?i:e,this._layersMinZoom=t===1/0?i:t,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),this.options.maxZoom===i&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===i&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var r="_leaflet_events";o.DomEvent={on:function(t,e,i,n){if("object"==typeof e)for(var s in e)this._on(t,s,e[s],i);else{e=o.Util.splitWords(e);for(var r=0,a=e.length;r<a;r++)this._on(t,e[r],i,n)}return this},off:function(t,e,i,n){if("object"==typeof e)for(var s in e)this._off(t,s,e[s],i);else{e=o.Util.splitWords(e);for(var r=0,a=e.length;r<a;r++)this._off(t,e[r],i,n)}return this},_on:function(e,i,n,s){var a=i+o.stamp(n)+(s?"_"+o.stamp(s):"");if(e[r]&&e[r][a])return this;var h=function(i){return n.call(s||e,i||t.event)},l=h;return o.Browser.pointer&&0===i.indexOf("touch")?this.addPointerListener(e,i,h,a):!o.Browser.touch||"dblclick"!==i||!this.addDoubleTapListener||o.Browser.pointer&&o.Browser.chrome?"addEventListener"in e?"mousewheel"===i?e.addEventListener("onwheel"in e?"wheel":"mousewheel",h,!1):"mouseenter"===i||"mouseleave"===i?(h=function(i){i=i||t.event,o.DomEvent._isExternalTarget(e,i)&&l(i)},e.addEventListener("mouseenter"===i?"mouseover":"mouseout",h,!1)):("click"===i&&o.Browser.android&&(h=function(t){return o.DomEvent._filterClick(t,l)}),e.addEventListener(i,h,!1)):"attachEvent"in e&&e.attachEvent("on"+i,h):this.addDoubleTapListener(e,h,a),e[r]=e[r]||{},e[r][a]=h,this},_off:function(t,e,i,n){var s=e+o.stamp(i)+(n?"_"+o.stamp(n):""),a=t[r]&&t[r][s];return a?(o.Browser.pointer&&0===e.indexOf("touch")?this.removePointerListener(t,e,s):o.Browser.touch&&"dblclick"===e&&this.removeDoubleTapListener?this.removeDoubleTapListener(t,s):"removeEventListener"in t?"mousewheel"===e?t.removeEventListener("onwheel"in t?"wheel":"mousewheel",a,!1):t.removeEventListener("mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":e,a,!1):"detachEvent"in t&&t.detachEvent("on"+e,a),t[r][s]=null,this):this},stopPropagation:function(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,o.DomEvent._skipped(t),this},disableScrollPropagation:function(t){return o.DomEvent.on(t,"mousewheel",o.DomEvent.stopPropagation)},disableClickPropagation:function(t){var e=o.DomEvent.stopPropagation;return o.DomEvent.on(t,o.Draggable.START.join(" "),e),o.DomEvent.on(t,{click:o.DomEvent._fakeStop,dblclick:e})},preventDefault:function(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this},stop:function(t){return o.DomEvent.preventDefault(t).stopPropagation(t)},getMousePosition:function(t,e){if(!e)return new o.Point(t.clientX,t.clientY);var i=e.getBoundingClientRect();return new o.Point(t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop)},_wheelPxFactor:o.Browser.win&&o.Browser.chrome?2:o.Browser.gecko?t.devicePixelRatio:1,getWheelDelta:function(t){return o.Browser.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/o.DomEvent._wheelPxFactor:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0},_skipEvents:{},_fakeStop:function(t){o.DomEvent._skipEvents[t.type]=!0},_skipped:function(t){var e=this._skipEvents[t.type];return this._skipEvents[t.type]=!1,e},_isExternalTarget:function(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t},_filterClick:function(t,e){var i=t.timeStamp||t.originalEvent&&t.originalEvent.timeStamp,n=o.DomEvent._lastClick&&i-o.DomEvent._lastClick;return n&&n>100&&n<500||t.target._simulatedClick&&!t._simulated?void o.DomEvent.stop(t):(o.DomEvent._lastClick=i,void e(t))}},o.DomEvent.addListener=o.DomEvent.on,o.DomEvent.removeListener=o.DomEvent.off,o.PosAnimation=o.Evented.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=o.DomUtil.getPosition(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=o.Util.requestAnimFrame(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;e<i?this._runFrame(this._easeOut(e/i),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var i=this._startPos.add(this._offset.multiplyBy(t));e&&i._round(),o.DomUtil.setPosition(this._el,i),this.fire("step")},_complete:function(){o.Util.cancelAnimFrame(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),o.Projection.Mercator={R:6378137,R_MINOR:6356752.314245179,bounds:o.bounds([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,s=this.R_MINOR/i,r=Math.sqrt(1-s*s),a=r*Math.sin(n),h=Math.tan(Math.PI/4-n/2)/Math.pow((1-a)/(1+a),r/2);return n=-i*Math.log(Math.max(h,1e-10)),new o.Point(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,s=this.R_MINOR/n,r=Math.sqrt(1-s*s),a=Math.exp(-t.y/n),h=Math.PI/2-2*Math.atan(a),l=0,u=.1;l<15&&Math.abs(u)>1e-7;l++)e=r*Math.sin(h),e=Math.pow((1-e)/(1+e),r/2),u=Math.PI/2-2*Math.atan(a*e)-h,h+=u;return new o.LatLng(h*i,t.x*i/n)}},o.CRS.EPSG3395=o.extend({},o.CRS.Earth,{code:"EPSG:3395",projection:o.Projection.Mercator,transformation:function(){var t=.5/(Math.PI*o.Projection.Mercator.R);return new o.Transformation(t,.5,-t,.5)}()}),o.GridLayer=o.Layer.extend({options:{tileSize:256,opacity:1,updateWhenIdle:o.Browser.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:i,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){o.setOptions(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),o.DomUtil.remove(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=null},bringToFront:function(){return this._map&&(o.DomUtil.toFront(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(o.DomUtil.toBack(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=o.Util.throttle(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return e.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof o.Point?t:new o.Point(t,t)},_updateZIndex:function(){this._container&&this.options.zIndex!==i&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,i=this.getPane().children,n=-t(-1/0,1/0),o=0,s=i.length;o<s;o++)e=i[o].style.zIndex,i[o]!==this._container&&e&&(n=t(n,+e));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!o.Browser.ielt9){o.DomUtil.setOpacity(this._container,this.options.opacity);var t=+new Date,e=!1,i=!1;for(var n in this._tiles){var s=this._tiles[n];if(s.current&&s.loaded){var r=Math.min(1,(t-s.loaded)/200);o.DomUtil.setOpacity(s.el,r),r<1?e=!0:(s.active&&(i=!0),s.active=!0)}}i&&!this._noPrune&&this._pruneTiles(),e&&(o.Util.cancelAnimFrame(this._fadeFrame),this._fadeFrame=o.Util.requestAnimFrame(this._updateOpacity,this))}},_initContainer:function(){this._container||(this._container=o.DomUtil.create("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(t===i)return i;for(var n in this._levels)this._levels[n].el.children.length||n===t?this._levels[n].el.style.zIndex=e-Math.abs(t-n):(o.DomUtil.remove(this._levels[n].el),this._removeTilesAtZoom(n),delete this._levels[n]);var s=this._levels[t],r=this._map;return s||(s=this._levels[t]={},s.el=o.DomUtil.create("div","leaflet-tile-container leaflet-zoom-animated",this._container),s.el.style.zIndex=e,s.origin=r.project(r.unproject(r.getPixelOrigin()),t).round(),s.zoom=t,this._setZoomTransform(s,r.getCenter(),r.getZoom()),o.Util.falseFn(s.el.offsetWidth)),this._level=s,s},_pruneTiles:function(){if(this._map){var t,e,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom)return void this._removeAllTiles();for(t in this._tiles)e=this._tiles[t],e.retain=e.current;for(t in this._tiles)if(e=this._tiles[t],e.current&&!e.active){var n=e.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)o.DomUtil.remove(this._levels[t].el),delete this._levels[t];this._removeAllTiles(),this._tileZoom=null},_retainParent:function(t,e,i,n){var s=Math.floor(t/2),r=Math.floor(e/2),a=i-1,h=new o.Point(+s,+r);h.z=+a;var l=this._tileCoordsToKey(h),u=this._tiles[l];return u&&u.active?(u.retain=!0,!0):(u&&u.loaded&&(u.retain=!0),a>n&&this._retainParent(s,r,a,n))},_retainChildren:function(t,e,i,n){for(var s=2*t;s<2*t+2;s++)for(var r=2*e;r<2*e+2;r++){var a=new o.Point(s,r);a.z=i+1;var h=this._tileCoordsToKey(a),l=this._tiles[h];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),i+1<n&&this._retainChildren(s,r,i+1,n))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_setView:function(t,e,n,o){var s=Math.round(e);(this.options.maxZoom!==i&&s>this.options.maxZoom||this.options.minZoom!==i&&s<this.options.minZoom)&&(s=i);var r=this.options.updateWhenZooming&&s!==this._tileZoom;o&&!r||(this._tileZoom=s,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),s!==i&&this._update(t),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var i in this._levels)this._setZoomTransform(this._levels[i],t,e)},_setZoomTransform:function(t,e,i){var n=this._map.getZoomScale(i,t.zoom),s=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e,i)).round();o.Browser.any3d?o.DomUtil.setTransform(t.el,s,n):o.DomUtil.setPosition(t.el,s)},_resetGrid:function(){var t=this._map,e=t.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],n).x/i.x),Math.ceil(t.project([0,e.wrapLng[1]],n).x/i.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],n).y/i.x),Math.ceil(t.project([e.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,i=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),n=e.getZoomScale(i,this._tileZoom),s=e.project(t,this._tileZoom).floor(),r=e.getSize().divideBy(2*n);return new o.Bounds(s.subtract(r),s.add(r))},_update:function(t){var n=this._map;if(n){var s=n.getZoom();if(t===i&&(t=n.getCenter()),this._tileZoom!==i){var r=this._getTiledPixelBounds(t),a=this._pxBoundsToTileRange(r),h=a.getCenter(),l=[],u=this.options.keepBuffer,c=new o.Bounds(a.getBottomLeft().subtract([u,-u]),a.getTopRight().add([u,-u]));for(var d in this._tiles){var _=this._tiles[d].coords;_.z===this._tileZoom&&c.contains(o.point(_.x,_.y))||(this._tiles[d].current=!1)}if(Math.abs(s-this._tileZoom)>1)return void this._setView(t,s);for(var m=a.min.y;m<=a.max.y;m++)for(var p=a.min.x;p<=a.max.x;p++){var f=new o.Point(p,m);if(f.z=this._tileZoom,this._isValidTile(f)){var g=this._tiles[this._tileCoordsToKey(f)];g?g.current=!0:l.push(f)}}if(l.sort(function(t,e){return t.distanceTo(h)-e.distanceTo(h)}),0!==l.length){this._loading||(this._loading=!0,this.fire("loading"));var v=e.createDocumentFragment();for(p=0;p<l.length;p++)this._addTile(l[p],v);this._level.el.appendChild(v)}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var i=this._globalTileRange;if(!e.wrapLng&&(t.x<i.min.x||t.x>i.max.x)||!e.wrapLat&&(t.y<i.min.y||t.y>i.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return o.latLngBounds(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToBounds:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),s=n.add(i),r=e.unproject(n,t.z),a=e.unproject(s,t.z),h=new o.LatLngBounds(r,a);return this.options.noWrap||e.wrapLatLngBounds(h),h},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new o.Point(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(o.DomUtil.remove(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){o.DomUtil.addClass(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=o.Util.falseFn,t.onmousemove=o.Util.falseFn,o.Browser.ielt9&&this.options.opacity<1&&o.DomUtil.setOpacity(t,this.options.opacity),o.Browser.android&&!o.Browser.android23&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),s=this.createTile(this._wrapCoords(t),o.bind(this._tileReady,this,t));this._initTile(s),this.createTile.length<2&&o.Util.requestAnimFrame(o.bind(this._tileReady,this,t,null,s)),o.DomUtil.setPosition(s,i),this._tiles[n]={el:s,coords:t,current:!0},e.appendChild(s),this.fire("tileloadstart",{tile:s,coords:t})},_tileReady:function(t,e,i){if(this._map){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);i=this._tiles[n],i&&(i.loaded=+new Date,this._map._fadeAnimated?(o.DomUtil.setOpacity(i.el,0),o.Util.cancelAnimFrame(this._fadeFrame),this._fadeFrame=o.Util.requestAnimFrame(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(o.DomUtil.addClass(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),o.Browser.ielt9||!this._map._fadeAnimated?o.Util.requestAnimFrame(this._pruneTiles,this):setTimeout(o.bind(this._pruneTiles,this),250)))}},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new o.Point(this._wrapX?o.Util.wrapNum(t.x,this._wrapX):t.x,this._wrapY?o.Util.wrapNum(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new o.Bounds(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),o.gridLayer=function(t){return new o.GridLayer(t)},o.TileLayer=o.GridLayer.extend({options:{minZoom:0,maxZoom:18,maxNativeZoom:null,minNativeZoom:null,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,e=o.setOptions(this,e),e.detectRetina&&o.Browser.retina&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),o.Browser.android||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url=t,e||this.redraw(),this},createTile:function(t,i){var n=e.createElement("img");return o.DomEvent.on(n,"load",o.bind(this._tileOnLoad,this,i,n)),o.DomEvent.on(n,"error",o.bind(this._tileOnError,this,i,n)),this.options.crossOrigin&&(n.crossOrigin=""),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var e={r:o.Browser.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=i),e["-y"]=i}return o.Util.template(this._url,o.extend(e,this.options))},_tileOnLoad:function(t,e){o.Browser.ielt9?setTimeout(o.bind(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.src!==n&&(e.src=n),t(i,e)},getTileSize:function(){var t=this._map,e=o.GridLayer.prototype.getTileSize.call(this),i=this._tileZoom+this.options.zoomOffset,n=this.options.minNativeZoom,s=this.options.maxNativeZoom;return null!==n&&i<n?e.divideBy(t.getZoomScale(n,i)).round():null!==s&&i>s?e.divideBy(t.getZoomScale(s,i)).round():e},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom,i=this.options.zoomReverse,n=this.options.zoomOffset,o=this.options.minNativeZoom,s=this.options.maxNativeZoom;return i&&(t=e-t),t+=n,null!==o&&t<o?o:null!==s&&t>s?s:t},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&(e=this._tiles[t].el,e.onload=o.Util.falseFn,e.onerror=o.Util.falseFn,e.complete||(e.src=o.Util.emptyImageUrl,o.DomUtil.remove(e)))}}),o.tileLayer=function(t,e){return new o.TileLayer(t,e)},o.TileLayer.WMS=o.TileLayer.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var i=o.extend({},this.defaultWmsParams);for(var n in e)n in this.options||(i[n]=e[n]);e=o.setOptions(this,e),i.width=i.height=e.tileSize*(e.detectRetina&&o.Browser.retina?2:1),this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,o.TileLayer.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToBounds(t),i=this._crs.project(e.getNorthWest()),n=this._crs.project(e.getSouthEast()),s=(this._wmsVersion>=1.3&&this._crs===o.CRS.EPSG4326?[n.y,i.x,i.y,n.x]:[i.x,n.y,n.x,i.y]).join(","),r=o.TileLayer.prototype.getTileUrl.call(this,t);return r+o.Util.getParamString(this.wmsParams,r,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+s},setParams:function(t,e){return o.extend(this.wmsParams,t),e||this.redraw(),this}}),o.tileLayer.wms=function(t,e){return new o.TileLayer.WMS(t,e)},o.ImageOverlay=o.Layer.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1},initialize:function(t,e,i){this._url=t,this._bounds=o.latLngBounds(e),o.setOptions(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(o.DomUtil.addClass(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){o.DomUtil.remove(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&o.DomUtil.toFront(this._image),this},bringToBack:function(){return this._map&&o.DomUtil.toBack(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=t,this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t=this._image=o.DomUtil.create("img","leaflet-image-layer "+(this._zoomAnimated?"leaflet-zoom-animated":""));t.onselectstart=o.Util.falseFn,t.onmousemove=o.Util.falseFn,t.onload=o.bind(this.fire,this,"load"),this.options.crossOrigin&&(t.crossOrigin=""),t.src=this._url,t.alt=this.options.alt},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;o.DomUtil.setTransform(this._image,i,e)},_reset:function(){var t=this._image,e=new o.Bounds(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();o.DomUtil.setPosition(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){o.DomUtil.setOpacity(this._image,this.options.opacity)}}),o.imageOverlay=function(t,e,i){return new o.ImageOverlay(t,e,i)},o.Icon=o.Class.extend({initialize:function(t){o.setOptions(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var i=this._getIconUrl(t);if(!i){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n=this._createImg(i,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(n,t),n},_setIconStyles:function(t,e){var i=this.options,n=i[e+"Size"];"number"==typeof n&&(n=[n,n]);var s=o.point(n),r=o.point("shadow"===e&&i.shadowAnchor||i.iconAnchor||s&&s.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),r&&(t.style.marginLeft=-r.x+"px",t.style.marginTop=-r.y+"px"),s&&(t.style.width=s.x+"px",t.style.height=s.y+"px")},_createImg:function(t,i){return i=i||e.createElement("img"),i.src=t,i},_getIconUrl:function(t){return o.Browser.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),o.icon=function(t){return new o.Icon(t)},o.Icon.Default=o.Icon.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return o.Icon.Default.imagePath||(o.Icon.Default.imagePath=this._detectIconPath()),(this.options.imagePath||o.Icon.Default.imagePath)+o.Icon.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=o.DomUtil.create("div","leaflet-default-icon-path",e.body),i=o.DomUtil.getStyle(t,"background-image")||o.DomUtil.getStyle(t,"backgroundImage");return e.body.removeChild(t),0===i.indexOf("url")?i.replace(/^url\([\"\']?/,"").replace(/marker-icon\.png[\"\']?\)$/,""):""}}),o.Marker=o.Layer.extend({options:{icon:new o.Icon.Default,interactive:!0,draggable:!1,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",nonBubblingEvents:["click","dblclick","mouseover","mouseout","contextmenu"]},initialize:function(t,e){o.setOptions(this,e),this._latlng=o.latLng(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=o.latLng(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=t.icon.createIcon(this._icon),n=!1;i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(i.title=t.title),t.alt&&(i.alt=t.alt)),o.DomUtil.addClass(i,e),t.keyboard&&(i.tabIndex="0"),this._icon=i,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var s=t.icon.createShadow(this._shadow),r=!1;s!==this._shadow&&(this._removeShadow(),r=!0),s&&(o.DomUtil.addClass(s,e),s.alt=""),this._shadow=s,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),s&&r&&this.getPane("shadowPane").appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),o.DomUtil.remove(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&o.DomUtil.remove(this._shadow),this._shadow=null},_setPos:function(t){o.DomUtil.setPosition(this._icon,t),this._shadow&&o.DomUtil.setPosition(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(o.DomUtil.addClass(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),o.Handler.MarkerDrag)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new o.Handler.MarkerDrag(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;o.DomUtil.setOpacity(this._icon,t),this._shadow&&o.DomUtil.setOpacity(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor||[0,0]},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor||[0,0]}}),o.marker=function(t,e){return new o.Marker(t,e)},o.DivIcon=o.Icon.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var i=t&&"DIV"===t.tagName?t:e.createElement("div"),n=this.options;if(i.innerHTML=!1!==n.html?n.html:"",n.bgPos){var s=o.point(n.bgPos);i.style.backgroundPosition=-s.x+"px "+-s.y+"px"}return this._setIconStyles(i,"icon"),i},createShadow:function(){return null}}),o.divIcon=function(t){return new o.DivIcon(t)},o.DivOverlay=o.Layer.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,e){o.setOptions(this,t),this._source=e},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&o.DomUtil.setOpacity(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&o.DomUtil.setOpacity(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(o.DomUtil.setOpacity(this._container,0),this._removeTimeout=setTimeout(o.bind(o.DomUtil.remove,o.DomUtil,this._container),200)):o.DomUtil.remove(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=o.latLng(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&o.DomUtil.toFront(this._container),this},bringToBack:function(){return this._map&&o.DomUtil.toBack(this._container),this},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=o.point(this.options.offset),i=this._getAnchor();this._zoomAnimated?o.DomUtil.setPosition(this._container,t.add(i)):e=e.add(t).add(i);var n=this._containerBottom=-e.y,s=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=n+"px",this._container.style.left=s+"px"}},_getAnchor:function(){return[0,0]}}),o.Popup=o.DivOverlay.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,className:""},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){o.DivOverlay.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof o.Path||this._source.on("preclick",o.DomEvent.stopPropagation))},onRemove:function(t){o.DivOverlay.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof o.Path||this._source.off("preclick",o.DomEvent.stopPropagation))},getEvents:function(){var t=o.DivOverlay.prototype.getEvents.call(this);return("closeOnClick"in this.options?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",e=this._container=o.DomUtil.create("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated");if(this.options.closeButton){var i=this._closeButton=o.DomUtil.create("a",t+"-close-button",e);i.href="#close",i.innerHTML="&#215;",o.DomEvent.on(i,"click",this._onCloseButtonClick,this)}var n=this._wrapper=o.DomUtil.create("div",t+"-content-wrapper",e);this._contentNode=o.DomUtil.create("div",t+"-content",n),o.DomEvent.disableClickPropagation(n).disableScrollPropagation(this._contentNode).on(n,"contextmenu",o.DomEvent.stopPropagation),this._tipContainer=o.DomUtil.create("div",t+"-tip-container",e),this._tip=o.DomUtil.create("div",t+"-tip",this._tipContainer)},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var i=t.offsetWidth;i=Math.min(i,this.options.maxWidth),i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="";var n=t.offsetHeight,s=this.options.maxHeight,r="leaflet-popup-scrolled";s&&n>s?(e.height=s+"px",o.DomUtil.addClass(t,r)):o.DomUtil.removeClass(t,r),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();o.DomUtil.setPosition(this._container,e.add(i))},_adjustPan:function(){if(!(!this.options.autoPan||this._map._panAnim&&this._map._panAnim._inProgress)){var t=this._map,e=parseInt(o.DomUtil.getStyle(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+e,n=this._containerWidth,s=new o.Point(this._containerLeft,-i-this._containerBottom);s._add(o.DomUtil.getPosition(this._container));var r=t.layerPointToContainerPoint(s),a=o.point(this.options.autoPanPadding),h=o.point(this.options.autoPanPaddingTopLeft||a),l=o.point(this.options.autoPanPaddingBottomRight||a),u=t.getSize(),c=0,d=0;r.x+n+l.x>u.x&&(c=r.x+n-u.x+l.x),r.x-c-h.x<0&&(c=r.x-h.x),r.y+i+l.y>u.y&&(d=r.y+i-u.y+l.y),r.y-d-h.y<0&&(d=r.y-h.y),(c||d)&&t.fire("autopanstart").panBy([c,d])}},_onCloseButtonClick:function(t){this._close(),o.DomEvent.stop(t)},_getAnchor:function(){return o.point(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),o.popup=function(t,e){return new o.Popup(t,e)},o.Map.mergeOptions({closePopupOnClick:!0}),o.Map.include({openPopup:function(t,e,i){return t instanceof o.Popup||(t=new o.Popup(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),o.Layer.include({bindPopup:function(t,e){return t instanceof o.Popup?(o.setOptions(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new o.Popup(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){if(t instanceof o.Layer||(e=t,t=this),t instanceof o.FeatureGroup)for(var i in this._layers){t=this._layers[i];break}return e||(e=t.getCenter?t.getCenter():t.getLatLng()),this._popup&&this._map&&(this._popup._source=t,this._popup.update(),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;if(this._popup&&this._map)return o.DomEvent.stop(t),e instanceof o.Path?void this.openPopup(t.layer||t.target,t.latlng):void(this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)}}),o.Tooltip=o.DivOverlay.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){o.DivOverlay.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){o.DivOverlay.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=o.DivOverlay.prototype.getEvents.call(this);return o.Browser.touch&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip",e=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=o.DomUtil.create("div",e)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e=this._map,i=this._container,n=e.latLngToContainerPoint(e.getCenter()),s=e.layerPointToContainerPoint(t),r=this.options.direction,a=i.offsetWidth,h=i.offsetHeight,l=o.point(this.options.offset),u=this._getAnchor();"top"===r?t=t.add(o.point(-a/2+l.x,-h+l.y+u.y,!0)):"bottom"===r?t=t.subtract(o.point(a/2-l.x,-l.y,!0)):"center"===r?t=t.subtract(o.point(a/2+l.x,h/2-u.y+l.y,!0)):"right"===r||"auto"===r&&s.x<n.x?(r="right",t=t.add(o.point(l.x+u.x,u.y-h/2+l.y,!0))):(r="left",t=t.subtract(o.point(a+u.x-l.x,h/2-u.y-l.y,!0))),o.DomUtil.removeClass(i,"leaflet-tooltip-right"),o.DomUtil.removeClass(i,"leaflet-tooltip-left"),o.DomUtil.removeClass(i,"leaflet-tooltip-top"),o.DomUtil.removeClass(i,"leaflet-tooltip-bottom"),o.DomUtil.addClass(i,"leaflet-tooltip-"+r),o.DomUtil.setPosition(i,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&o.DomUtil.setOpacity(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return o.point(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),o.tooltip=function(t,e){return new o.Tooltip(t,e)},o.Map.include({openTooltip:function(t,e,i){return t instanceof o.Tooltip||(t=new o.Tooltip(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),o.Layer.include({bindTooltip:function(t,e){return t instanceof o.Tooltip?(o.setOptions(t,e),this._tooltip=t,t._source=this):(this._tooltip&&!e||(this._tooltip=o.tooltip(e,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var e=t?"off":"on",i={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?i.add=this._openTooltip:(i.mouseover=this._openTooltip,i.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(i.mousemove=this._moveTooltip),o.Browser.touch&&(i.click=this._openTooltip)),this[e](i),this._tooltipHandlersAdded=!t}},openTooltip:function(t,e){if(t instanceof o.Layer||(e=t,t=this),t instanceof o.FeatureGroup)for(var i in this._layers){t=this._layers[i];break}return e||(e=t.getCenter?t.getCenter():t.getLatLng()),this._tooltip&&this._map&&(this._tooltip._source=t,this._tooltip.update(),this._map.openTooltip(this._tooltip,e),this._tooltip.options.interactive&&this._tooltip._container&&(o.DomUtil.addClass(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(o.DomUtil.removeClass(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){var e=t.layer||t.target;this._tooltip&&this._map&&this.openTooltip(e,this._tooltip.options.sticky?t.latlng:i)},_moveTooltip:function(t){var e,i,n=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),i=this._map.containerPointToLayerPoint(e),n=this._map.layerPointToLatLng(i)),this._tooltip.setLatLng(n)}}),o.LayerGroup=o.Layer.extend({initialize:function(t){this._layers={};var e,i;if(t)for(e=0,i=t.length;e<i;e++)this.addLayer(t[e])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){return!!t&&(t in this._layers||this.getLayerId(t)in this._layers)},clearLayers:function(){for(var t in this._layers)this.removeLayer(this._layers[t]);return this},invoke:function(t){var e,i,n=Array.prototype.slice.call(arguments,1);for(e in this._layers)i=this._layers[e],i[t]&&i[t].apply(i,n);return this},onAdd:function(t){for(var e in this._layers)t.addLayer(this._layers[e])},onRemove:function(t){for(var e in this._layers)t.removeLayer(this._layers[e])},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];for(var e in this._layers)t.push(this._layers[e]);return t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return o.stamp(t)}}),o.layerGroup=function(t){return new o.LayerGroup(t)},o.FeatureGroup=o.LayerGroup.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),o.LayerGroup.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),o.LayerGroup.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new o.LatLngBounds;for(var e in this._layers){var i=this._layers[e];t.extend(i.getBounds?i.getBounds():i.getLatLng())}return t}}),o.featureGroup=function(t){return new o.FeatureGroup(t)},o.Renderer=o.Layer.extend({options:{padding:.1},initialize:function(t){o.setOptions(this,t),o.stamp(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&o.DomUtil.addClass(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){o.DomUtil.remove(this._container),this.off("update",this._updatePaths,this)},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=o.DomUtil.getPosition(this._container),s=this._map.getSize().multiplyBy(.5+this.options.padding),r=this._map.project(this._center,e),a=this._map.project(t,e),h=a.subtract(r),l=s.multiplyBy(-i).add(n).add(s).subtract(h);o.Browser.any3d?o.DomUtil.setTransform(this._container,l,i):o.DomUtil.setPosition(this._container,l)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var t in this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new o.Bounds(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),o.Map.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this.options.preferCanvas&&o.canvas()||o.svg()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||t===i)return!1;var e=this._paneRenderers[t];return e===i&&(e=o.SVG&&o.svg({pane:t})||o.Canvas&&o.canvas({pane:t}),this._paneRenderers[t]=e),e}}),o.Path=o.Layer.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return o.setOptions(this,t),this._renderer&&this._renderer._updateStyle(this),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(o.Browser.touch?10:0)}}),o.LineUtil={simplify:function(t,e){if(!e||!t.length)return t.slice();var i=e*e;return t=this._reducePoints(t,i),this._simplifyDP(t,i)},pointToSegmentDistance:function(t,e,i){return Math.sqrt(this._sqClosestPointOnSegment(t,e,i,!0))},closestPointOnSegment:function(t,e,i){return this._sqClosestPointOnSegment(t,e,i)},_simplifyDP:function(t,e){var n=t.length,o=typeof Uint8Array!=i+""?Uint8Array:Array,s=new o(n);s[0]=s[n-1]=1,this._simplifyDPStep(t,s,e,0,n-1);var r,a=[];for(r=0;r<n;r++)s[r]&&a.push(t[r]);return a},_simplifyDPStep:function(t,e,i,n,o){var s,r,a,h=0;for(r=n+1;r<=o-1;r++)a=this._sqClosestPointOnSegment(t[r],t[n],t[o],!0),a>h&&(s=r,h=a);h>i&&(e[s]=1,this._simplifyDPStep(t,e,i,n,s),this._simplifyDPStep(t,e,i,s,o))},_reducePoints:function(t,e){for(var i=[t[0]],n=1,o=0,s=t.length;n<s;n++)this._sqDist(t[n],t[o])>e&&(i.push(t[n]),o=n);return o<s-1&&i.push(t[s-1]),i},clipSegment:function(t,e,i,n,o){var s,r,a,h=n?this._lastCode:this._getBitCode(t,i),l=this._getBitCode(e,i);for(this._lastCode=l;;){if(!(h|l))return[t,e];if(h&l)return!1;s=h||l,r=this._getEdgeIntersection(t,e,s,i,o),a=this._getBitCode(r,i),s===h?(t=r,h=a):(e=r,l=a)}},_getEdgeIntersection:function(t,e,i,n,s){var r,a,h=e.x-t.x,l=e.y-t.y,u=n.min,c=n.max;return 8&i?(r=t.x+h*(c.y-t.y)/l,a=c.y):4&i?(r=t.x+h*(u.y-t.y)/l,a=u.y):2&i?(r=c.x,a=t.y+l*(c.x-t.x)/h):1&i&&(r=u.x,a=t.y+l*(u.x-t.x)/h),new o.Point(r,a,s)},_getBitCode:function(t,e){var i=0;return t.x<e.min.x?i|=1:t.x>e.max.x&&(i|=2),t.y<e.min.y?i|=4:t.y>e.max.y&&(i|=8),i},_sqDist:function(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n},_sqClosestPointOnSegment:function(t,e,i,n){var s,r=e.x,a=e.y,h=i.x-r,l=i.y-a,u=h*h+l*l;return u>0&&(s=((t.x-r)*h+(t.y-a)*l)/u,s>1?(r=i.x,a=i.y):s>0&&(r+=h*s,a+=l*s)),h=t.x-r,l=t.y-a,n?h*h+l*l:new o.Point(r,a)}},o.Polyline=o.Path.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){o.setOptions(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,i,n=1/0,s=null,r=o.LineUtil._sqClosestPointOnSegment,a=0,h=this._parts.length;a<h;a++)for(var l=this._parts[a],u=1,c=l.length;u<c;u++){e=l[u-1],i=l[u];var d=r(t,e,i,!0);d<n&&(n=d,s=r(t,e,i))}return s&&(s.distance=Math.sqrt(n)),s},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,s,r,a=this._rings[0],h=a.length;if(!h)return null;for(t=0,e=0;t<h-1;t++)e+=a[t].distanceTo(a[t+1])/2;if(0===e)return this._map.layerPointToLatLng(a[0]);for(t=0,n=0;t<h-1;t++)if(o=a[t],s=a[t+1],i=o.distanceTo(s),n+=i,n>e)return r=(n-e)/i,this._map.layerPointToLatLng([s.x-r*(s.x-o.x),s.y-r*(s.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=o.latLng(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new o.LatLngBounds,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return o.Polyline._flat(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=o.Polyline._flat(t),n=0,s=t.length;n<s;n++)i?(e[n]=o.latLng(t[n]),this._bounds.extend(e[n])):e[n]=this._convertLatLngs(t[n]);return e},_project:function(){var t=new o.Bounds;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t);var e=this._clickTolerance(),i=new o.Point(e,e);this._bounds.isValid()&&t.isValid()&&(t.min._subtract(i),t.max._add(i),this._pxBounds=t)},_projectLatlngs:function(t,e,i){var n,s,r=t[0]instanceof o.LatLng,a=t.length;if(r){for(s=[],n=0;n<a;n++)s[n]=this._map.latLngToLayerPoint(t[n]),i.extend(s[n]);e.push(s)}else for(n=0;n<a;n++)this._projectLatlngs(t[n],e,i)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t)){if(this.options.noClip)return void(this._parts=this._rings);var e,i,n,s,r,a,h,l=this._parts;for(e=0,n=0,s=this._rings.length;e<s;e++)for(h=this._rings[e],i=0,r=h.length;i<r-1;i++)a=o.LineUtil.clipSegment(h[i],h[i+1],t,i,!0),a&&(l[n]=l[n]||[],l[n].push(a[0]),a[1]===h[i+1]&&i!==r-2||(l[n].push(a[1]),n++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,n=t.length;i<n;i++)t[i]=o.LineUtil.simplify(t[i],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)}}),o.polyline=function(t,e){return new o.Polyline(t,e)},o.Polyline._flat=function(t){return!o.Util.isArray(t[0])||"object"!=typeof t[0][0]&&"undefined"!=typeof t[0][0]},o.PolyUtil={},o.PolyUtil.clipPolygon=function(t,e,i){var n,s,r,a,h,l,u,c,d,_=[1,4,2,8],m=o.LineUtil;for(s=0,u=t.length;s<u;s++)t[s]._code=m._getBitCode(t[s],e);for(a=0;a<4;a++){for(c=_[a],n=[],s=0,u=t.length,r=u-1;s<u;r=s++)h=t[s],l=t[r],h._code&c?l._code&c||(d=m._getEdgeIntersection(l,h,c,e,i),d._code=m._getBitCode(d,e),n.push(d)):(l._code&c&&(d=m._getEdgeIntersection(l,h,c,e,i),d._code=m._getBitCode(d,e),n.push(d)),n.push(h));t=n}return t},o.Polygon=o.Polyline.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,s,r,a,h,l=this._rings[0],u=l.length;if(!u)return null;for(s=r=a=0,t=0,e=u-1;t<u;e=t++)i=l[t],n=l[e],o=i.y*n.x-n.y*i.x,r+=(i.x+n.x)*o,a+=(i.y+n.y)*o,s+=3*o;return h=0===s?l[0]:[r/s,a/s],this._map.layerPointToLatLng(h)},_convertLatLngs:function(t){var e=o.Polyline.prototype._convertLatLngs.call(this,t),i=e.length;return i>=2&&e[0]instanceof o.LatLng&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){o.Polyline.prototype._setLatLngs.call(this,t),o.Polyline._flat(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return o.Polyline._flat(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new o.Point(e,e);if(t=new o.Bounds(t.min.subtract(i),t.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t)){if(this.options.noClip)return void(this._parts=this._rings);for(var n,s=0,r=this._rings.length;s<r;s++)n=o.PolyUtil.clipPolygon(this._rings[s],t,!0),n.length&&this._parts.push(n)}},_updatePath:function(){this._renderer._updatePoly(this,!0)}}),o.polygon=function(t,e){return new o.Polygon(t,e)},o.Rectangle=o.Polygon.extend({initialize:function(t,e){o.Polygon.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=o.latLngBounds(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}}),o.rectangle=function(t,e){return new o.Rectangle(t,e)},o.CircleMarker=o.Path.extend({options:{fill:!0,radius:10},initialize:function(t,e){o.setOptions(this,e),this._latlng=o.latLng(t),this._radius=this.options.radius},setLatLng:function(t){return this._latlng=o.latLng(t),this.redraw(),this.fire("move",{latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return o.Path.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,i=this._clickTolerance(),n=[t+i,e+i];this._pxBounds=new o.Bounds(this._point.subtract(n),this._point.add(n))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)}}),o.circleMarker=function(t,e){return new o.CircleMarker(t,e)},o.Circle=o.CircleMarker.extend({initialize:function(t,e,i){if("number"==typeof e&&(e=o.extend({},i,{radius:e})),o.setOptions(this,e),this._latlng=o.latLng(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new o.LatLngBounds(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:o.Path.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,i=this._map,n=i.options.crs;if(n.distance===o.CRS.Earth.distance){var s=Math.PI/180,r=this._mRadius/o.CRS.Earth.R/s,a=i.project([e+r,t]),h=i.project([e-r,t]),l=a.add(h).divideBy(2),u=i.unproject(l).lat,c=Math.acos((Math.cos(r*s)-Math.sin(e*s)*Math.sin(u*s))/(Math.cos(e*s)*Math.cos(u*s)))/s;(isNaN(c)||0===c)&&(c=r/Math.cos(Math.PI/180*e)),this._point=l.subtract(i.getPixelOrigin()),this._radius=isNaN(c)?0:Math.max(Math.round(l.x-i.project([u,t-c]).x),1),this._radiusY=Math.max(Math.round(l.y-a.y),1)}else{var d=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=i.latLngToLayerPoint(this._latlng),this._radius=this._point.x-i.latLngToLayerPoint(d).x}this._updateBounds()}}),o.circle=function(t,e,i){return new o.Circle(t,e,i)},o.SVG=o.Renderer.extend({getEvents:function(){var t=o.Renderer.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=o.SVG.create("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=o.SVG.create("g"),this._container.appendChild(this._rootGroup)},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){o.Renderer.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),o.DomUtil.setPosition(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=o.SVG.create("path");t.options.className&&o.DomUtil.addClass(e,t.options.className),t.options.interactive&&o.DomUtil.addClass(e,"leaflet-interactive"),this._updateStyle(t),this._layers[o.stamp(t)]=t},_addPath:function(t){this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){o.DomUtil.remove(t._path),t.removeInteractiveTarget(t._path),delete this._layers[o.stamp(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,o.SVG.pointsToPath(t._parts,e))},_updateCircle:function(t){var e=t._point,i=t._radius,n=t._radiusY||i,o="a"+i+","+n+" 0 1,0 ",s=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+o+2*i+",0 "+o+2*-i+",0 ";this._setPath(t,s)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){o.DomUtil.toFront(t._path)},_bringToBack:function(t){o.DomUtil.toBack(t._path)}}),o.extend(o.SVG,{create:function(t){return e.createElementNS("http://www.w3.org/2000/svg",t)},pointsToPath:function(t,e){var i,n,s,r,a,h,l="";for(i=0,s=t.length;i<s;i++){for(a=t[i],n=0,r=a.length;n<r;n++)h=a[n],l+=(n?"L":"M")+h.x+" "+h.y;l+=e?o.Browser.svg?"z":"x":""}return l||"M0 0"}}),o.Browser.svg=!(!e.createElementNS||!o.SVG.create("svg").createSVGRect),o.svg=function(t){return o.Browser.svg||o.Browser.vml?new o.SVG(t):null},o.Browser.vml=!o.Browser.svg&&function(){try{var t=e.createElement("div");t.innerHTML='<v:shape adj="1"/>';var i=t.firstChild;return i.style.behavior="url(#default#VML)",i&&"object"==typeof i.adj}catch(t){return!1}}(),o.SVG.include(o.Browser.vml?{_initContainer:function(){this._container=o.DomUtil.create("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(o.Renderer.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=o.SVG.create("shape");o.DomUtil.addClass(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=o.SVG.create("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[o.stamp(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;o.DomUtil.remove(e),t.removeInteractiveTarget(e),delete this._layers[o.stamp(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,s=t._container;s.stroked=!!n.stroke,s.filled=!!n.fill,n.stroke?(e||(e=t._stroke=o.SVG.create("stroke")),s.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=o.Util.isArray(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(s.removeChild(e),t._stroke=null),n.fill?(i||(i=t._fill=o.SVG.create("fill")),s.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(s.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){o.DomUtil.toFront(t._container)},_bringToBack:function(t){o.DomUtil.toBack(t._container)}}:{}),o.Browser.vml&&(o.SVG.create=function(){try{return e.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return e.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return e.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}()),o.Canvas=o.Renderer.extend({getEvents:function(){var t=o.Renderer.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){o.Renderer.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=e.createElement("canvas");o.DomEvent.on(t,"mousemove",o.Util.throttle(this._onMouseMove,32,this),this).on(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this).on(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;this._redrawBounds=null;for(var e in this._layers)t=this._layers[e],t._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){this._drawnLayers={},o.Renderer.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=o.Browser.retina?2:1;o.DomUtil.setPosition(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",o.Browser.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){o.Renderer.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[o.stamp(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,n=e.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete t._order,delete this._layers[o.stamp(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if(t.options.dashArray){var e,i=t.options.dashArray.split(","),n=[];for(e=0;e<i.length;e++)n.push(Number(i[e]));t.options._dashArray=n}},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||o.Util.requestAnimFrame(this._redraw,this))},_extendRedrawBounds:function(t){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new o.Bounds,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var i=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,i.x,i.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var i,n,o,s,r=t._parts,a=r.length,h=this._ctx;if(a){for(this._drawnLayers[t._leaflet_id]=t,h.beginPath(),h.setLineDash&&h.setLineDash(t.options&&t.options._dashArray||[]),i=0;i<a;i++){for(n=0,o=r[i].length;n<o;n++)s=r[i][n],h[n?"lineTo":"moveTo"](s.x,s.y);e&&h.closePath()}this._fillStroke(h,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,i=this._ctx,n=t._radius,o=(t._radiusY||n)/n;this._drawnLayers[t._leaflet_id]=t,1!==o&&(i.save(),i.scale(1,o)),i.beginPath(),i.arc(e.x,e.y/o,n,0,2*Math.PI,!1),1!==o&&i.restore(),this._fillStroke(i,t)}},_fillStroke:function(t,e){var i=e.options;i.fill&&(t.globalAlpha=i.fillOpacity,t.fillStyle=i.fillColor||i.color,t.fill(i.fillRule||"evenodd")),i.stroke&&0!==i.weight&&(t.globalAlpha=i.opacity,t.lineWidth=i.weight,t.strokeStyle=i.color,t.lineCap=i.lineCap,t.lineJoin=i.lineJoin,t.stroke())},_onClick:function(t){for(var e,i,n=this._map.mouseEventToLayerPoint(t),s=this._drawFirst;s;s=s.next)e=s.layer,e.options.interactive&&e._containsPoint(n)&&!this._map._draggableMoved(e)&&(i=e);i&&(o.DomEvent._fakeStop(t),this._fireEvent([i],t))},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(o.DomUtil.removeClass(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null)},_handleMouseHover:function(t,e){for(var i,n,s=this._drawFirst;s;s=s.next)i=s.layer,i.options.interactive&&i._containsPoint(e)&&(n=i);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(o.DomUtil.addClass(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t)},_fireEvent:function(t,e,i){this._map._fireDOMEvent(e,i||e.type,t)},_bringToFront:function(t){var e=t._order,i=e.next,n=e.prev;i&&(i.prev=n,n?n.next=i:i&&(this._drawFirst=i),e.prev=this._drawLast,this._drawLast.next=e,e.next=null,this._drawLast=e,this._requestRedraw(t))},_bringToBack:function(t){var e=t._order,i=e.next,n=e.prev;n&&(n.next=i,i?i.prev=n:n&&(this._drawLast=n),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}),o.Browser.canvas=!!e.createElement("canvas").getContext,o.canvas=function(t){return o.Browser.canvas?new o.Canvas(t):null},o.Polyline.prototype._containsPoint=function(t,e){var i,n,s,r,a,h,l=this._clickTolerance();if(!this._pxBounds.contains(t))return!1;for(i=0,r=this._parts.length;i<r;i++)for(h=this._parts[i],n=0,a=h.length,s=a-1;n<a;s=n++)if((e||0!==n)&&o.LineUtil.pointToSegmentDistance(t,h[s],h[n])<=l)return!0;return!1},o.Polygon.prototype._containsPoint=function(t){var e,i,n,s,r,a,h,l,u=!1;if(!this._pxBounds.contains(t))return!1;for(s=0,h=this._parts.length;s<h;s++)for(e=this._parts[s],r=0,l=e.length,a=l-1;r<l;a=r++)i=e[r],n=e[a],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(u=!u);return u||o.Polyline.prototype._containsPoint.call(this,t,!0)},o.CircleMarker.prototype._containsPoint=function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()},o.GeoJSON=o.FeatureGroup.extend({initialize:function(t,e){o.setOptions(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,s=o.Util.isArray(t)?t:t.features;if(s){for(e=0,i=s.length;e<i;e++)n=s[e],(n.geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var r=this.options;if(r.filter&&!r.filter(t))return this;var a=o.GeoJSON.geometryToLayer(t,r);return a?(a.feature=o.GeoJSON.asFeature(t),a.defaultOptions=a.options,this.resetStyle(a),r.onEachFeature&&r.onEachFeature(t,a),this.addLayer(a)):this},resetStyle:function(t){return t.options=o.Util.extend({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this},setStyle:function(t){return this.eachLayer(function(e){this._setLayerStyle(e,t)},this)},_setLayerStyle:function(t,e){"function"==typeof e&&(e=e(t.feature)),t.setStyle&&t.setStyle(e)}}),o.extend(o.GeoJSON,{geometryToLayer:function(t,e){var i,n,s,r,a="Feature"===t.type?t.geometry:t,h=a?a.coordinates:null,l=[],u=e&&e.pointToLayer,c=e&&e.coordsToLatLng||this.coordsToLatLng;if(!h&&!a)return null;switch(a.type){case"Point":return i=c(h),u?u(t,i):new o.Marker(i);case"MultiPoint":for(s=0,r=h.length;s<r;s++)i=c(h[s]),l.push(u?u(t,i):new o.Marker(i));return new o.FeatureGroup(l);case"LineString":case"MultiLineString":return n=this.coordsToLatLngs(h,"LineString"===a.type?0:1,c),new o.Polyline(n,e);case"Polygon":case"MultiPolygon":return n=this.coordsToLatLngs(h,"Polygon"===a.type?1:2,c),new o.Polygon(n,e);case"GeometryCollection":for(s=0,r=a.geometries.length;s<r;s++){var d=this.geometryToLayer({geometry:a.geometries[s],type:"Feature",properties:t.properties},e);d&&l.push(d)}return new o.FeatureGroup(l);default:throw new Error("Invalid GeoJSON object.")}},coordsToLatLng:function(t){return new o.LatLng(t[1],t[0],t[2])},coordsToLatLngs:function(t,e,i){for(var n,o=[],s=0,r=t.length;s<r;s++)n=e?this.coordsToLatLngs(t[s],e-1,i):(i||this.coordsToLatLng)(t[s]),o.push(n);return o},latLngToCoords:function(t){return t.alt!==i?[t.lng,t.lat,t.alt]:[t.lng,t.lat]},latLngsToCoords:function(t,e,i){for(var n=[],s=0,r=t.length;s<r;s++)n.push(e?o.GeoJSON.latLngsToCoords(t[s],e-1,i):o.GeoJSON.latLngToCoords(t[s]));return!e&&i&&n.push(n[0]),n},getFeature:function(t,e){return t.feature?o.extend({},t.feature,{geometry:e}):o.GeoJSON.asFeature(e)},asFeature:function(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}});var a={toGeoJSON:function(){return o.GeoJSON.getFeature(this,{type:"Point",coordinates:o.GeoJSON.latLngToCoords(this.getLatLng())})}};o.Marker.include(a),o.Circle.include(a),o.CircleMarker.include(a),o.Polyline.prototype.toGeoJSON=function(){var t=!o.Polyline._flat(this._latlngs),e=o.GeoJSON.latLngsToCoords(this._latlngs,t?1:0);return o.GeoJSON.getFeature(this,{type:(t?"Multi":"")+"LineString",coordinates:e})},o.Polygon.prototype.toGeoJSON=function(){var t=!o.Polyline._flat(this._latlngs),e=t&&!o.Polyline._flat(this._latlngs[0]),i=o.GeoJSON.latLngsToCoords(this._latlngs,e?2:t?1:0,!0);return t||(i=[i]),o.GeoJSON.getFeature(this,{type:(e?"Multi":"")+"Polygon",coordinates:i})},o.LayerGroup.include({toMultiPoint:function(){var t=[];return this.eachLayer(function(e){t.push(e.toGeoJSON().geometry.coordinates)}),o.GeoJSON.getFeature(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint();var e="GeometryCollection"===t,i=[];return this.eachLayer(function(t){if(t.toGeoJSON){var n=t.toGeoJSON();i.push(e?n.geometry:o.GeoJSON.asFeature(n))}}),e?o.GeoJSON.getFeature(this,{geometries:i,type:"GeometryCollection"}):{type:"FeatureCollection",features:i}}}),o.geoJSON=function(t,e){return new o.GeoJSON(t,e)},o.geoJson=o.geoJSON,o.Draggable=o.Evented.extend({options:{clickTolerance:3},statics:{START:o.Browser.touch?["touchstart","mousedown"]:["mousedown"],END:{mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},MOVE:{mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"}},initialize:function(t,e,i){this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(o.DomEvent.on(this._dragStartTarget,o.Draggable.START.join(" "),this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(o.Draggable._dragging===this&&this.finishDrag(),o.DomEvent.off(this._dragStartTarget,o.Draggable.START.join(" "),this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!o.DomUtil.hasClass(this._element,"leaflet-zoom-anim")&&!(o.Draggable._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(o.Draggable._dragging=this,this._preventOutline&&o.DomUtil.preventOutline(this._element),o.DomUtil.disableImageDrag(),o.DomUtil.disableTextSelection(),this._moving)))){this.fire("down");var i=t.touches?t.touches[0]:t;this._startPoint=new o.Point(i.clientX,i.clientY),o.DomEvent.on(e,o.Draggable.MOVE[t.type],this._onMove,this).on(e,o.Draggable.END[t.type],this._onUp,this)}},_onMove:function(i){if(!i._simulated&&this._enabled){if(i.touches&&i.touches.length>1)return void(this._moved=!0);var n=i.touches&&1===i.touches.length?i.touches[0]:i,s=new o.Point(n.clientX,n.clientY),r=s.subtract(this._startPoint);(r.x||r.y)&&(Math.abs(r.x)+Math.abs(r.y)<this.options.clickTolerance||(o.DomEvent.preventDefault(i),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=o.DomUtil.getPosition(this._element).subtract(r),o.DomUtil.addClass(e.body,"leaflet-dragging"),this._lastTarget=i.target||i.srcElement,t.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),o.DomUtil.addClass(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(r),this._moving=!0,o.Util.cancelAnimFrame(this._animRequest),this._lastEvent=i,this._animRequest=o.Util.requestAnimFrame(this._updatePosition,this,!0)))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),o.DomUtil.setPosition(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){o.DomUtil.removeClass(e.body,"leaflet-dragging"),this._lastTarget&&(o.DomUtil.removeClass(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null);for(var t in o.Draggable.MOVE)o.DomEvent.off(e,o.Draggable.MOVE[t],this._onMove,this).off(e,o.Draggable.END[t],this._onUp,this);o.DomUtil.enableImageDrag(),o.DomUtil.enableTextSelection(),this._moved&&this._moving&&(o.Util.cancelAnimFrame(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,o.Draggable._dragging=!1}}),o.Handler=o.Class.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}}),o.Map.mergeOptions({dragging:!0,inertia:!o.Browser.android23,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0}),o.Map.Drag=o.Handler.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new o.Draggable(t._mapPane,t._container),this._draggable.on({down:this._onDown,dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}o.DomUtil.addClass(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){o.DomUtil.removeClass(this._map._container,"leaflet-grab"),o.DomUtil.removeClass(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDown:function(){this._map._stop()},_onDragStart:function(){var t=this._map;if(this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=o.latLngBounds(this._map.options.maxBounds);this._offsetLimit=o.bounds(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(e),e-this._times[0]>50&&(this._positions.shift(),this._times.shift())}this._map.fire("move",t).fire("drag",t)},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,s=(n+e+i)%t-e-i,r=Math.abs(o+i)<Math.abs(s+i)?o:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(t){var e=this._map,i=e.options,n=!i.inertia||this._times.length<2;if(e.fire("dragend",t),n)e.fire("moveend");else{var s=this._lastPos.subtract(this._positions[0]),r=(this._lastTime-this._times[0])/1e3,a=i.easeLinearity,h=s.multiplyBy(a/r),l=h.distanceTo([0,0]),u=Math.min(i.inertiaMaxSpeed,l),c=h.multiplyBy(u/l),d=u/(i.inertiaDeceleration*a),_=c.multiplyBy(-d/2).round();_.x||_.y?(_=e._limitOffset(_,e.options.maxBounds),o.Util.requestAnimFrame(function(){e.panBy(_,{duration:d,easeLinearity:a,noMoveStart:!0,animate:!0})})):e.fire("moveend")}}}),o.Map.addInitHook("addHandler","dragging",o.Map.Drag),o.Map.mergeOptions({doubleClickZoom:!0}),o.Map.DoubleClickZoom=o.Handler.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,o=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}}),o.Map.addInitHook("addHandler","doubleClickZoom",o.Map.DoubleClickZoom),o.Map.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60}),o.Map.ScrollWheelZoom=o.Handler.extend({addHooks:function(){o.DomEvent.on(this._map._container,"mousewheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){o.DomEvent.off(this._map._container,"mousewheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=o.DomEvent.getWheelDelta(t),i=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var n=Math.max(i-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(o.bind(this._performZoom,this),n),o.DomEvent.stop(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,s=i?Math.ceil(o/i)*i:o,r=t._limitZoom(e+(this._delta>0?s:-s))-e;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(e+r):t.setZoomAround(this._lastMousePos,e+r))}}),o.Map.addInitHook("addHandler","scrollWheelZoom",o.Map.ScrollWheelZoom),o.extend(o.DomEvent,{_touchstart:o.Browser.msPointer?"MSPointerDown":o.Browser.pointer?"pointerdown":"touchstart",_touchend:o.Browser.msPointer?"MSPointerUp":o.Browser.pointer?"pointerup":"touchend",addDoubleTapListener:function(t,e,i){function n(t){var e;if(o.Browser.pointer){if(!o.Browser.edge||"mouse"===t.pointerType)return;e=o.DomEvent._pointersCount}else e=t.touches.length;if(!(e>1)){var i=Date.now(),n=i-(r||i);a=t.touches?t.touches[0]:t,h=n>0&&n<=l,r=i}}function s(t){if(h&&!a.cancelBubble){if(o.Browser.pointer){if(!o.Browser.edge||"mouse"===t.pointerType)return;var i,n,s={};for(n in a)i=a[n],s[n]=i&&i.bind?i.bind(a):i;a=s}a.type="dblclick",e(a),r=null}}var r,a,h=!1,l=250,u="_leaflet_",c=this._touchstart,d=this._touchend;return t[u+c+i]=n,t[u+d+i]=s,t[u+"dblclick"+i]=e,t.addEventListener(c,n,!1),t.addEventListener(d,s,!1),t.addEventListener("dblclick",e,!1),this},removeDoubleTapListener:function(t,e){var i="_leaflet_",n=t[i+this._touchstart+e],s=t[i+this._touchend+e],r=t[i+"dblclick"+e];return t.removeEventListener(this._touchstart,n,!1),t.removeEventListener(this._touchend,s,!1),o.Browser.edge||t.removeEventListener("dblclick",r,!1),this}}),o.extend(o.DomEvent,{POINTER_DOWN:o.Browser.msPointer?"MSPointerDown":"pointerdown",POINTER_MOVE:o.Browser.msPointer?"MSPointerMove":"pointermove",POINTER_UP:o.Browser.msPointer?"MSPointerUp":"pointerup",POINTER_CANCEL:o.Browser.msPointer?"MSPointerCancel":"pointercancel",TAG_WHITE_LIST:["INPUT","SELECT","OPTION"],_pointers:{},_pointersCount:0,addPointerListener:function(t,e,i,n){return"touchstart"===e?this._addPointerStart(t,i,n):"touchmove"===e?this._addPointerMove(t,i,n):"touchend"===e&&this._addPointerEnd(t,i,n),this},removePointerListener:function(t,e,i){var n=t["_leaflet_"+e+i];return"touchstart"===e?t.removeEventListener(this.POINTER_DOWN,n,!1):"touchmove"===e?t.removeEventListener(this.POINTER_MOVE,n,!1):"touchend"===e&&(t.removeEventListener(this.POINTER_UP,n,!1),t.removeEventListener(this.POINTER_CANCEL,n,!1)),this},_addPointerStart:function(t,i,n){var s=o.bind(function(t){if("mouse"!==t.pointerType&&t.MSPOINTER_TYPE_MOUSE&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE){if(!(this.TAG_WHITE_LIST.indexOf(t.target.tagName)<0))return;o.DomEvent.preventDefault(t)}this._handlePointer(t,i)},this);if(t["_leaflet_touchstart"+n]=s,t.addEventListener(this.POINTER_DOWN,s,!1),!this._pointerDocListener){var r=o.bind(this._globalPointerUp,this);e.documentElement.addEventListener(this.POINTER_DOWN,o.bind(this._globalPointerDown,this),!0),e.documentElement.addEventListener(this.POINTER_MOVE,o.bind(this._globalPointerMove,this),!0),e.documentElement.addEventListener(this.POINTER_UP,r,!0),e.documentElement.addEventListener(this.POINTER_CANCEL,r,!0),this._pointerDocListener=!0}},_globalPointerDown:function(t){this._pointers[t.pointerId]=t,this._pointersCount++},_globalPointerMove:function(t){this._pointers[t.pointerId]&&(this._pointers[t.pointerId]=t)},_globalPointerUp:function(t){delete this._pointers[t.pointerId],this._pointersCount--},_handlePointer:function(t,e){t.touches=[];for(var i in this._pointers)t.touches.push(this._pointers[i]);t.changedTouches=[t],e(t)},_addPointerMove:function(t,e,i){var n=o.bind(function(t){(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&"mouse"!==t.pointerType||0!==t.buttons)&&this._handlePointer(t,e)},this);t["_leaflet_touchmove"+i]=n,t.addEventListener(this.POINTER_MOVE,n,!1)},_addPointerEnd:function(t,e,i){var n=o.bind(function(t){this._handlePointer(t,e)},this);t["_leaflet_touchend"+i]=n,t.addEventListener(this.POINTER_UP,n,!1),t.addEventListener(this.POINTER_CANCEL,n,!1)}}),o.Map.mergeOptions({touchZoom:o.Browser.touch&&!o.Browser.android23,bounceAtZoomLimits:!0}),o.Map.TouchZoom=o.Handler.extend({addHooks:function(){o.DomUtil.addClass(this._map._container,"leaflet-touch-zoom"),o.DomEvent.on(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){o.DomUtil.removeClass(this._map._container,"leaflet-touch-zoom"),o.DomEvent.off(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var i=this._map;if(t.touches&&2===t.touches.length&&!i._animatingZoom&&!this._zooming){var n=i.mouseEventToContainerPoint(t.touches[0]),s=i.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),"center"!==i.options.touchZoom&&(this._pinchStartLatLng=i.containerPointToLatLng(n.add(s)._divideBy(2))),this._startDist=n.distanceTo(s),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),o.DomEvent.on(e,"touchmove",this._onTouchMove,this).on(e,"touchend",this._onTouchEnd,this),o.DomEvent.preventDefault(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),s=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(s,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&s<1||this._zoom>e.getMaxZoom()&&s>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var r=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===r.x&&0===r.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(e._moveStart(!0),this._moved=!0),o.Util.cancelAnimFrame(this._animRequest);var a=o.bind(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=o.Util.requestAnimFrame(a,this,!0),o.DomEvent.preventDefault(t)}},_onTouchEnd:function(){return this._moved&&this._zooming?(this._zooming=!1,o.Util.cancelAnimFrame(this._animRequest),o.DomEvent.off(e,"touchmove",this._onTouchMove).off(e,"touchend",this._onTouchEnd),void(this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom)))):void(this._zooming=!1)}}),o.Map.addInitHook("addHandler","touchZoom",o.Map.TouchZoom),o.Map.mergeOptions({tap:!0,tapTolerance:15}),o.Map.Tap=o.Handler.extend({addHooks:function(){o.DomEvent.on(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){o.DomEvent.off(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(o.DomEvent.preventDefault(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var i=t.touches[0],n=i.target;this._startPos=this._newPos=new o.Point(i.clientX,i.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&o.DomUtil.addClass(n,"leaflet-active"),this._holdTimeout=setTimeout(o.bind(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",i))},this),1e3),this._simulateEvent("mousedown",i),o.DomEvent.on(e,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),o.DomEvent.off(e,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var i=t.changedTouches[0],n=i.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&o.DomUtil.removeClass(n,"leaflet-active"),this._simulateEvent("mouseup",i),this._isTapValid()&&this._simulateEvent("click",i)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new o.Point(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(i,n){var o=e.createEvent("MouseEvents");o._simulated=!0,n.target._simulatedClick=!0,o.initMouseEvent(i,!0,!0,t,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),n.target.dispatchEvent(o)}}),o.Browser.touch&&!o.Browser.pointer&&o.Map.addInitHook("addHandler","tap",o.Map.Tap),o.Map.mergeOptions({boxZoom:!0}),o.Map.BoxZoom=o.Handler.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane},addHooks:function(){o.DomEvent.on(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){o.DomEvent.off(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_resetState:function(){this._moved=!1},_onMouseDown:function(t){return!(!t.shiftKey||1!==t.which&&1!==t.button)&&(this._resetState(),o.DomUtil.disableTextSelection(),o.DomUtil.disableImageDrag(),this._startPoint=this._map.mouseEventToContainerPoint(t),void o.DomEvent.on(e,{contextmenu:o.DomEvent.stop,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this))},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=o.DomUtil.create("div","leaflet-zoom-box",this._container),o.DomUtil.addClass(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new o.Bounds(this._point,this._startPoint),i=e.getSize();o.DomUtil.setPosition(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(o.DomUtil.remove(this._box),o.DomUtil.removeClass(this._container,"leaflet-crosshair")),o.DomUtil.enableTextSelection(),o.DomUtil.enableImageDrag(),o.DomEvent.off(e,{contextmenu:o.DomEvent.stop,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){setTimeout(o.bind(this._resetState,this),0);var e=new o.LatLngBounds(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}}),o.Map.addInitHook("addHandler","boxZoom",o.Map.BoxZoom),o.Map.mergeOptions({keyboard:!0,keyboardPanDelta:80}),o.Map.Keyboard=o.Handler.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),o.DomEvent.on(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),o.DomEvent.off(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var i=e.body,n=e.documentElement,o=i.scrollTop||n.scrollTop,s=i.scrollLeft||n.scrollLeft;this._map._container.focus(),t.scrollTo(s,o)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,i,n=this._panKeys={},o=this.keyCodes;for(e=0,i=o.left.length;e<i;e++)n[o.left[e]]=[-1*t,0];for(e=0,i=o.right.length;e<i;e++)n[o.right[e]]=[t,0];for(e=0,i=o.down.length;e<i;e++)n[o.down[e]]=[0,t];for(e=0,i=o.up.length;e<i;e++)n[o.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,i,n=this._zoomKeys={},o=this.keyCodes;for(e=0,i=o.zoomIn.length;e<i;e++)n[o.zoomIn[e]]=t;for(e=0,i=o.zoomOut.length;e<i;e++)n[o.zoomOut[e]]=-t},_addHooks:function(){o.DomEvent.on(e,"keydown",this._onKeyDown,this)},_removeHooks:function(){o.DomEvent.off(e,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,i=t.keyCode,n=this._map;if(i in this._panKeys){if(n._panAnim&&n._panAnim._inProgress)return;e=this._panKeys[i],t.shiftKey&&(e=o.point(e).multiplyBy(3)),n.panBy(e),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds)}else if(i in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i)return;n.closePopup()}o.DomEvent.stop(t)}}}),o.Map.addInitHook("addHandler","keyboard",o.Map.Keyboard),o.Handler.MarkerDrag=o.Handler.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new o.Draggable(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),o.DomUtil.addClass(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&o.DomUtil.removeClass(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire("movestart").fire("dragstart")},_onDrag:function(t){var e=this._marker,i=e._shadow,n=o.DomUtil.getPosition(e._icon),s=e._map.layerPointToLatLng(n);i&&o.DomUtil.setPosition(i,n),e._latlng=s,t.latlng=s,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),o.Control=o.Class.extend({options:{position:"topright"},initialize:function(t){o.setOptions(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),n=t._controlCorners[i];return o.DomUtil.addClass(e,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(e,n.firstChild):n.appendChild(e),this},remove:function(){return this._map?(o.DomUtil.remove(this._container),this.onRemove&&this.onRemove(this._map),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),o.control=function(t){return new o.Control(t)},o.Map.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){function t(t,s){var r=i+t+" "+i+s;e[t+s]=o.DomUtil.create("div",r,n)}var e=this._controlCorners={},i="leaflet-",n=this._controlContainer=o.DomUtil.create("div",i+"control-container",this._container);t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){o.DomUtil.remove(this._controlContainer)}}),o.Control.Zoom=o.Control.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"-",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=o.DomUtil.create("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,i,n,s){var r=o.DomUtil.create("a",i,n);return r.innerHTML=t,r.href="#",r.title=e,r.setAttribute("role","button"),r.setAttribute("aria-label",e),o.DomEvent.on(r,"mousedown dblclick",o.DomEvent.stopPropagation).on(r,"click",o.DomEvent.stop).on(r,"click",s,this).on(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";o.DomUtil.removeClass(this._zoomInButton,e),o.DomUtil.removeClass(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&o.DomUtil.addClass(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&o.DomUtil.addClass(this._zoomInButton,e)}}),o.Map.mergeOptions({zoomControl:!0}),o.Map.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new o.Control.Zoom,this.addControl(this.zoomControl))}),o.control.zoom=function(t){return new o.Control.Zoom(t)},o.Control.Attribution=o.Control.extend({options:{position:"bottomright",prefix:'<a href="http://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){o.setOptions(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=o.DomUtil.create("div","leaflet-control-attribution"),o.DomEvent&&o.DomEvent.disableClickPropagation(this._container);for(var e in t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(" | ")}}}),o.Map.mergeOptions({attributionControl:!0}),o.Map.addInitHook(function(){this.options.attributionControl&&(new o.Control.Attribution).addTo(this)}),o.control.attribution=function(t){return new o.Control.Attribution(t)},o.Control.Scale=o.Control.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=o.DomUtil.create("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=o.DomUtil.create("div",e,i)),t.imperial&&(this._iScale=o.DomUtil.create("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),i=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,i,e/t)},_updateImperial:function(t){var e,i,n,o=3.2808399*t;o>5280?(e=o/5280,i=this._getRoundNum(e),this._updateScale(this._iScale,i+" mi",i/e)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1,e*i}}),o.control.scale=function(t){return new o.Control.Scale(t)},o.Control.Layers=o.Control.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i<n?-1:n<i?1:0}},initialize:function(t,e,i){o.setOptions(this,i),this._layers=[],this._lastZIndex=0,this._handlingClick=!1;for(var n in t)this._addLayer(t[n],n);for(n in e)this._addLayer(e[n],n,!0)},onAdd:function(t){return this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this),this._container},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(o.stamp(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){o.DomUtil.addClass(this._container,"leaflet-control-layers-expanded"),this._form.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._form.clientHeight?(o.DomUtil.addClass(this._form,"leaflet-control-layers-scrollbar"),this._form.style.height=t+"px"):o.DomUtil.removeClass(this._form,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return o.DomUtil.removeClass(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=o.DomUtil.create("div",t),i=this.options.collapsed;e.setAttribute("aria-haspopup",!0),o.DomEvent.disableClickPropagation(e),o.Browser.touch||o.DomEvent.disableScrollPropagation(e);var n=this._form=o.DomUtil.create("form",t+"-list");i&&(this._map.on("click",this.collapse,this),o.Browser.android||o.DomEvent.on(e,{mouseenter:this.expand,mouseleave:this.collapse},this));var s=this._layersLink=o.DomUtil.create("a",t+"-toggle",e);s.href="#",s.title="Layers",o.Browser.touch?o.DomEvent.on(s,"click",o.DomEvent.stop).on(s,"click",this.expand,this):o.DomEvent.on(s,"focus",this.expand,this),o.DomEvent.on(n,"click",function(){setTimeout(o.bind(this._onInputClick,this),0)},this),i||this.expand(),this._baseLayersList=o.DomUtil.create("div",t+"-base",n),this._separator=o.DomUtil.create("div",t+"-separator",n),this._overlaysList=o.DomUtil.create("div",t+"-overlays",n),e.appendChild(n)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&o.stamp(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,i){t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:i}),this.options.sortLayers&&this._layers.sort(o.bind(function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex))},_update:function(){if(!this._container)return this;o.DomUtil.empty(this._baseLayersList),o.DomUtil.empty(this._overlaysList);var t,e,i,n,s=0;for(i=0;i<this._layers.length;i++)n=this._layers[i],this._addItem(n),e=e||n.overlay,t=t||!n.overlay,s+=n.overlay?0:1;return this.options.hideSingleBase&&(t=t&&s>1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(o.stamp(t.target)),i=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,i){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(i?' checked="checked"':"")+"/>",o=e.createElement("div");return o.innerHTML=n,o.firstChild},_addItem:function(t){var i,n=e.createElement("label"),s=this._map.hasLayer(t.layer);t.overlay?(i=e.createElement("input"),i.type="checkbox",i.className="leaflet-control-layers-selector",i.defaultChecked=s):i=this._createRadioElement("leaflet-base-layers",s),i.layerId=o.stamp(t.layer),o.DomEvent.on(i,"click",this._onInputClick,this);var r=e.createElement("span");r.innerHTML=" "+t.name;var a=e.createElement("div");n.appendChild(a),a.appendChild(i),a.appendChild(r);var h=t.overlay?this._overlaysList:this._baseLayersList;return h.appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t,e,i,n=this._form.getElementsByTagName("input"),o=[],s=[];this._handlingClick=!0;for(var r=n.length-1;r>=0;r--)t=n[r],e=this._getLayer(t.layerId).layer,i=this._map.hasLayer(e),t.checked&&!i?o.push(e):!t.checked&&i&&s.push(e);for(r=0;r<s.length;r++)this._map.removeLayer(s[r]);for(r=0;r<o.length;r++)this._map.addLayer(o[r]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,e,n=this._form.getElementsByTagName("input"),o=this._map.getZoom(),s=n.length-1;s>=0;s--)t=n[s],e=this._getLayer(t.layerId).layer,t.disabled=e.options.minZoom!==i&&o<e.options.minZoom||e.options.maxZoom!==i&&o>e.options.maxZoom},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),o.control.layers=function(t,e,i){return new o.Control.Layers(t,e,i)}}(window,document)},function(module,exports,__webpack_require__){},function(module,exports,__webpack_require__){},function(module,exports,__webpack_require__){var addDataAttr=__webpack_require__(487).addDataAttr,browser=__webpack_require__(866);module.exports=function(window,options){var document=window.document;var less=__webpack_require__(2245)();less.options=options;var environment=less.environment,FileManager=__webpack_require__(2290)(options,less.logger),fileManager=new FileManager;environment.addFileManager(fileManager);less.FileManager=FileManager;__webpack_require__(2291)(less,options);var errors=__webpack_require__(2292)(window,less,options);var cache=less.cache=options.cache||__webpack_require__(2293)(window,options,less.logger);__webpack_require__(2294)(less.environment);options.functions&&less.functions.functionRegistry.addMultiple(options.functions);var typePattern=/^text\/(x-)?less$/;function postProcessCSS(styles){options.postProcessor&&"function"===typeof options.postProcessor&&(styles=options.postProcessor.call(styles,styles)||styles);return styles}function clone(obj){var cloned={};for(var prop in obj)obj.hasOwnProperty(prop)&&(cloned[prop]=obj[prop]);return cloned}function bind(func,thisArg){var curryArgs=Array.prototype.slice.call(arguments,2);return function(){var args=curryArgs.concat(Array.prototype.slice.call(arguments,0));return func.apply(thisArg,args)}}function loadStyles(modifyVars){var style,styles=document.getElementsByTagName("style");for(var i=0;i<styles.length;i++){style=styles[i];if(style.type.match(typePattern)){var instanceOptions=clone(options);instanceOptions.modifyVars=modifyVars;var lessText=style.innerHTML||"";instanceOptions.filename=document.location.href.replace(/#.*$/,"");less.render(lessText,instanceOptions,bind(function(style,e,result){if(e)errors.add(e,"inline");else{style.type="text/css";style.styleSheet?style.styleSheet.cssText=result.css:style.innerHTML=result.css}},null,style))}}}function loadStyleSheet(sheet,callback,reload,remaining,modifyVars){var instanceOptions=clone(options);addDataAttr(instanceOptions,sheet);instanceOptions.mime=sheet.type;modifyVars&&(instanceOptions.modifyVars=modifyVars);function loadInitialFileCallback(loadedFile){var data=loadedFile.contents,path=loadedFile.filename,webInfo=loadedFile.webInfo;var newFileInfo={currentDirectory:fileManager.getPath(path),filename:path,rootFilename:path,relativeUrls:instanceOptions.relativeUrls};newFileInfo.entryPath=newFileInfo.currentDirectory;newFileInfo.rootpath=instanceOptions.rootpath||newFileInfo.currentDirectory;if(webInfo){webInfo.remaining=remaining;var css=cache.getCSS(path,webInfo,instanceOptions.modifyVars);if(!reload&&css){webInfo.local=true;callback(null,css,data,sheet,webInfo,path);return}}errors.remove(path);instanceOptions.rootFileInfo=newFileInfo;less.render(data,instanceOptions,function(e,result){if(e){e.href=path;callback(e)}else{result.css=postProcessCSS(result.css);cache.setCSS(sheet.href,webInfo.lastModified,instanceOptions.modifyVars,result.css);callback(null,result.css,data,sheet,webInfo,path)}})}fileManager.loadFile(sheet.href,null,instanceOptions,environment,function(e,loadedFile){if(e){callback(e);return}loadInitialFileCallback(loadedFile)})}function loadStyleSheets(callback,reload,modifyVars){for(var i=0;i<less.sheets.length;i++)loadStyleSheet(less.sheets[i],callback,reload,less.sheets.length-(i+1),modifyVars)}function initRunningMode(){"development"===less.env&&(less.watchTimer=setInterval(function(){if(less.watchMode){fileManager.clearFileCache();loadStyleSheets(function(e,css,_,sheet,webInfo){e?errors.add(e,e.href||sheet.href):css&&browser.createCSS(window.document,css,sheet)})}},options.poll))}less.watch=function(){if(!less.watchMode){less.env="development";initRunningMode()}this.watchMode=true;return true};less.unwatch=function(){clearInterval(less.watchTimer);this.watchMode=false;return false};less.registerStylesheetsImmediately=function(){var links=document.getElementsByTagName("link");less.sheets=[];for(var i=0;i<links.length;i++)("stylesheet/less"===links[i].rel||links[i].rel.match(/stylesheet/)&&links[i].type.match(typePattern))&&less.sheets.push(links[i])};less.registerStylesheets=function(){return new Promise(function(resolve,reject){less.registerStylesheetsImmediately();resolve()})};less.modifyVars=function(record){return less.refresh(true,record,false)};less.refresh=function(reload,modifyVars,clearFileCache){(reload||clearFileCache)&&false!==clearFileCache&&fileManager.clearFileCache();return new Promise(function(resolve,reject){var startTime,endTime,totalMilliseconds,remainingSheets;startTime=endTime=new Date;remainingSheets=less.sheets.length;if(0===remainingSheets){endTime=new Date;totalMilliseconds=endTime-startTime;less.logger.info("Less has finished and no sheets were loaded.");resolve({startTime:startTime,endTime:endTime,totalMilliseconds:totalMilliseconds,sheets:less.sheets.length})}else loadStyleSheets(function(e,css,_,sheet,webInfo){if(e){errors.add(e,e.href||sheet.href);reject(e);return}webInfo.local?less.logger.info("Loading "+sheet.href+" from cache."):less.logger.info("Rendered "+sheet.href+" successfully.");browser.createCSS(window.document,css,sheet);less.logger.info("CSS for "+sheet.href+" generated in "+(new Date-endTime)+"ms");remainingSheets--;if(0===remainingSheets){totalMilliseconds=new Date-startTime;less.logger.info("Less has finished. CSS generated in "+totalMilliseconds+"ms");resolve({startTime:startTime,endTime:endTime,totalMilliseconds:totalMilliseconds,sheets:less.sheets.length})}endTime=new Date},reload,modifyVars);loadStyles(modifyVars)})};less.refreshStyles=loadStyles;return less}},function(module,exports,__webpack_require__){module.exports=function(environment,fileManagers){var SourceMapOutput,SourceMapBuilder,ParseTree,ImportManager,Environment;var less={version:[2,7,1],data:__webpack_require__(2246),tree:__webpack_require__(172),Environment:Environment=__webpack_require__(2258),AbstractFileManager:__webpack_require__(879),environment:environment=new Environment(environment,fileManagers),visitors:__webpack_require__(493),Parser:__webpack_require__(494),functions:__webpack_require__(2267)(environment),contexts:__webpack_require__(136),SourceMapOutput:SourceMapOutput=__webpack_require__(2276)(environment),SourceMapBuilder:SourceMapBuilder=__webpack_require__(2277)(SourceMapOutput,environment),ParseTree:ParseTree=__webpack_require__(2278)(SourceMapBuilder),ImportManager:ImportManager=__webpack_require__(2279)(environment),render:__webpack_require__(2281)(environment,ParseTree,ImportManager),parse:__webpack_require__(2289)(environment,ParseTree,ImportManager),LessError:__webpack_require__(335),transformTree:__webpack_require__(881),utils:__webpack_require__(495),PluginManager:__webpack_require__(884),logger:__webpack_require__(255)};return less}},function(module,exports,__webpack_require__){module.exports={colors:__webpack_require__(867),unitConversions:__webpack_require__(488)}},function(module,exports,__webpack_require__){var Node=__webpack_require__(21);var Alpha=function(val){this.value=val};Alpha.prototype=new Node;Alpha.prototype.type="Alpha";Alpha.prototype.accept=function(visitor){this.value=visitor.visit(this.value)};Alpha.prototype.eval=function(context){if(this.value.eval)return new Alpha(this.value.eval(context));return this};Alpha.prototype.genCSS=function(context,output){output.add("alpha(opacity=");this.value.genCSS?this.value.genCSS(context,output):output.add(this.value);output.add(")")};module.exports=Alpha},function(module,exports,__webpack_require__){var Node=__webpack_require__(21);var Attribute=function(key,op,value){this.key=key;this.op=op;this.value=value};Attribute.prototype=new Node;Attribute.prototype.type="Attribute";Attribute.prototype.eval=function(context){return new Attribute(this.key.eval?this.key.eval(context):this.key,this.op,this.value&&this.value.eval?this.value.eval(context):this.value)};Attribute.prototype.genCSS=function(context,output){output.add(this.toCSS(context))};Attribute.prototype.toCSS=function(context){var value=this.key.toCSS?this.key.toCSS(context):this.key;if(this.op){value+=this.op;value+=this.value.toCSS?this.value.toCSS(context):this.value}return"["+value+"]"};module.exports=Attribute},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),FunctionCaller=__webpack_require__(875);var Call=function(name,args,index,currentFileInfo){this.name=name;this.args=args;this.index=index;this.currentFileInfo=currentFileInfo};Call.prototype=new Node;Call.prototype.type="Call";Call.prototype.accept=function(visitor){this.args&&(this.args=visitor.visitArray(this.args))};Call.prototype.eval=function(context){var result,args=this.args.map(function(a){return a.eval(context)}),funcCaller=new FunctionCaller(this.name,context,this.index,this.currentFileInfo);if(funcCaller.isValid()){try{result=funcCaller.call(args)}catch(e){throw{type:e.type||"Runtime",message:"error evaluating function `"+this.name+"`"+(e.message?": "+e.message:""),index:this.index,filename:this.currentFileInfo.filename}}if(null!=result){result.index=this.index;result.currentFileInfo=this.currentFileInfo;return result}}return new Call(this.name,args,this.index,this.currentFileInfo)};Call.prototype.genCSS=function(context,output){output.add(this.name+"(",this.currentFileInfo,this.index);for(var i=0;i<this.args.length;i++){this.args[i].genCSS(context,output);i+1<this.args.length&&output.add(", ")}output.add(")")};module.exports=Call},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),Media=__webpack_require__(876),URL=__webpack_require__(254),Quoted=__webpack_require__(137),Ruleset=__webpack_require__(252),Anonymous=__webpack_require__(138);var Import=function(path,features,options,index,currentFileInfo,visibilityInfo){this.options=options;this.index=index;this.path=path;this.features=features;this.currentFileInfo=currentFileInfo;this.allowRoot=true;if(void 0!==this.options.less||this.options.inline)this.css=!this.options.less||this.options.inline;else{var pathValue=this.getPath();pathValue&&/[#\.\&\?\/]css([\?;].*)?$/.test(pathValue)&&(this.css=true)}this.copyVisibilityInfo(visibilityInfo)};Import.prototype=new Node;Import.prototype.type="Import";Import.prototype.accept=function(visitor){this.features&&(this.features=visitor.visit(this.features));this.path=visitor.visit(this.path);this.options.plugin||this.options.inline||!this.root||(this.root=visitor.visit(this.root))};Import.prototype.genCSS=function(context,output){if(this.css&&void 0===this.path.currentFileInfo.reference){output.add("@import ",this.currentFileInfo,this.index);this.path.genCSS(context,output);if(this.features){output.add(" ");this.features.genCSS(context,output)}output.add(";")}};Import.prototype.getPath=function(){return this.path instanceof URL?this.path.value.value:this.path.value};Import.prototype.isVariableImport=function(){var path=this.path;path instanceof URL&&(path=path.value);if(path instanceof Quoted)return path.containsVariables();return true};Import.prototype.evalForImport=function(context){var path=this.path;path instanceof URL&&(path=path.value);return new Import(path.eval(context),this.features,this.options,this.index,this.currentFileInfo,this.visibilityInfo())};Import.prototype.evalPath=function(context){var path=this.path.eval(context);var rootpath=this.currentFileInfo&&this.currentFileInfo.rootpath;if(!(path instanceof URL)){if(rootpath){var pathValue=path.value;pathValue&&context.isPathRelative(pathValue)&&(path.value=rootpath+pathValue)}path.value=context.normalizePath(path.value)}return path};Import.prototype.eval=function(context){var result=this.doEval(context);(this.options.reference||this.blocksVisibility())&&(result.length||0===result.length?result.forEach(function(node){node.addVisibilityBlock()}):result.addVisibilityBlock());return result};Import.prototype.doEval=function(context){var ruleset,registry,features=this.features&&this.features.eval(context);if(this.options.plugin){registry=context.frames[0]&&context.frames[0].functionRegistry;registry&&this.root&&this.root.functions&&registry.addMultiple(this.root.functions);return[]}if(this.skip){"function"===typeof this.skip&&(this.skip=this.skip());if(this.skip)return[]}if(this.options.inline){var contents=new Anonymous(this.root,0,{filename:this.importedFilename,reference:this.path.currentFileInfo&&this.path.currentFileInfo.reference},true,true);return this.features?new Media([contents],this.features.value):[contents]}if(this.css){var newImport=new Import(this.evalPath(context),features,this.options,this.index);if(!newImport.css&&this.error)throw this.error;return newImport}ruleset=new Ruleset(null,this.root.rules.slice(0));ruleset.evalImports(context);return this.features?new Media(ruleset.rules,this.features.value):ruleset.rules};module.exports=Import},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),Selector=__webpack_require__(174),MixinDefinition=__webpack_require__(877),defaultFunc=__webpack_require__(491);var MixinCall=function(elements,args,index,currentFileInfo,important){this.selector=new Selector(elements);this.arguments=args||[];this.index=index;this.currentFileInfo=currentFileInfo;this.important=important;this.allowRoot=true};MixinCall.prototype=new Node;MixinCall.prototype.type="MixinCall";MixinCall.prototype.accept=function(visitor){this.selector&&(this.selector=visitor.visit(this.selector));this.arguments.length&&(this.arguments=visitor.visitArray(this.arguments))};MixinCall.prototype.eval=function(context){var mixins,mixin,mixinPath,arg,argValue,i,m,f,isRecursive,isOneFound,candidate,defaultResult,count,originalRuleset,noArgumentsFilter,args=[],rules=[],match=false,candidates=[],conditionResult=[],defFalseEitherCase=-1,defNone=0,defTrue=1,defFalse=2;function calcDefGroup(mixin,mixinPath){var f,p,namespace;for(f=0;f<2;f++){conditionResult[f]=true;defaultFunc.value(f);for(p=0;p<mixinPath.length&&conditionResult[f];p++){namespace=mixinPath[p];namespace.matchCondition&&(conditionResult[f]=conditionResult[f]&&namespace.matchCondition(null,context))}mixin.matchCondition&&(conditionResult[f]=conditionResult[f]&&mixin.matchCondition(args,context))}if(conditionResult[0]||conditionResult[1]){if(conditionResult[0]!=conditionResult[1])return conditionResult[1]?defTrue:defFalse;return defNone}return defFalseEitherCase}for(i=0;i<this.arguments.length;i++){arg=this.arguments[i];argValue=arg.value.eval(context);if(arg.expand&&Array.isArray(argValue.value)){argValue=argValue.value;for(m=0;m<argValue.length;m++)args.push({value:argValue[m]})}else args.push({name:arg.name,value:argValue})}noArgumentsFilter=function(rule){return rule.matchArgs(null,context)};for(i=0;i<context.frames.length;i++)if((mixins=context.frames[i].find(this.selector,null,noArgumentsFilter)).length>0){isOneFound=true;for(m=0;m<mixins.length;m++){mixin=mixins[m].rule;mixinPath=mixins[m].path;isRecursive=false;for(f=0;f<context.frames.length;f++)if(!(mixin instanceof MixinDefinition)&&mixin===(context.frames[f].originalRuleset||context.frames[f])){isRecursive=true;break}if(isRecursive)continue;if(mixin.matchArgs(args,context)){candidate={mixin:mixin,group:calcDefGroup(mixin,mixinPath)};candidate.group!==defFalseEitherCase&&candidates.push(candidate);match=true}}defaultFunc.reset();count=[0,0,0];for(m=0;m<candidates.length;m++)count[candidates[m].group]++;if(count[defNone]>0)defaultResult=defFalse;else{defaultResult=defTrue;if(count[defTrue]+count[defFalse]>1)throw{type:"Runtime",message:"Ambiguous use of `default()` found when matching for `"+this.format(args)+"`",index:this.index,filename:this.currentFileInfo.filename}}for(m=0;m<candidates.length;m++){candidate=candidates[m].group;if(candidate===defNone||candidate===defaultResult)try{mixin=candidates[m].mixin;if(!(mixin instanceof MixinDefinition)){originalRuleset=mixin.originalRuleset||mixin;mixin=new MixinDefinition("",[],mixin.rules,null,false,null,originalRuleset.visibilityInfo());mixin.originalRuleset=originalRuleset}var newRules=mixin.evalCall(context,args,this.important).rules;this._setVisibilityToReplacement(newRules);Array.prototype.push.apply(rules,newRules)}catch(e){throw{message:e.message,index:this.index,filename:this.currentFileInfo.filename,stack:e.stack}}}if(match)return rules}throw isOneFound?{type:"Runtime",message:"No matching definition was found for `"+this.format(args)+"`",index:this.index,filename:this.currentFileInfo.filename}:{type:"Name",message:this.selector.toCSS().trim()+" is undefined",index:this.index,filename:this.currentFileInfo.filename}};MixinCall.prototype._setVisibilityToReplacement=function(replacement){var i,rule;if(this.blocksVisibility())for(i=0;i<replacement.length;i++){rule=replacement[i];rule.addVisibilityBlock()}};MixinCall.prototype.format=function(args){return this.selector.toCSS().trim()+"("+(args?args.map(function(a){var argValue="";a.name&&(argValue+=a.name+":");a.value.toCSS?argValue+=a.value.toCSS():argValue+="???";return argValue}).join(", "):"")+")"};module.exports=MixinCall},function(module,exports,__webpack_require__){var Node=__webpack_require__(21);var Assignment=function(key,val){this.key=key;this.value=val};Assignment.prototype=new Node;Assignment.prototype.type="Assignment";Assignment.prototype.accept=function(visitor){this.value=visitor.visit(this.value)};Assignment.prototype.eval=function(context){if(this.value.eval)return new Assignment(this.key,this.value.eval(context));return this};Assignment.prototype.genCSS=function(context,output){output.add(this.key+"=");this.value.genCSS?this.value.genCSS(context,output):output.add(this.value)};module.exports=Assignment},function(module,exports,__webpack_require__){var Node=__webpack_require__(21);var Condition=function(op,l,r,i,negate){this.op=op.trim();this.lvalue=l;this.rvalue=r;this.index=i;this.negate=negate};Condition.prototype=new Node;Condition.prototype.type="Condition";Condition.prototype.accept=function(visitor){this.lvalue=visitor.visit(this.lvalue);this.rvalue=visitor.visit(this.rvalue)};Condition.prototype.eval=function(context){var result=function(op,a,b){switch(op){case"and":return a&&b;case"or":return a||b;default:switch(Node.compare(a,b)){case-1:return"<"===op||"=<"===op||"<="===op;case 0:return"="===op||">="===op||"=<"===op||"<="===op;case 1:return">"===op||">="===op;default:return false}}}(this.op,this.lvalue.eval(context),this.rvalue.eval(context));return this.negate?!result:result};module.exports=Condition},function(module,exports,__webpack_require__){var Node=__webpack_require__(21);var UnicodeDescriptor=function(value){this.value=value};UnicodeDescriptor.prototype=new Node;UnicodeDescriptor.prototype.type="UnicodeDescriptor";module.exports=UnicodeDescriptor},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),Operation=__webpack_require__(492),Dimension=__webpack_require__(121);var Negative=function(node){this.value=node};Negative.prototype=new Node;Negative.prototype.type="Negative";Negative.prototype.genCSS=function(context,output){output.add("-");this.value.genCSS(context,output)};Negative.prototype.eval=function(context){if(context.isMathOn())return new Operation("*",[new Dimension(-1),this.value]).eval(context);return new Negative(this.value.eval(context))};module.exports=Negative},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),Selector=__webpack_require__(174);var Extend=function Extend(selector,option,index,currentFileInfo,visibilityInfo){this.selector=selector;this.option=option;this.index=index;this.object_id=Extend.next_id++;this.parent_ids=[this.object_id];this.currentFileInfo=currentFileInfo||{};this.copyVisibilityInfo(visibilityInfo);this.allowRoot=true;switch(option){case"all":this.allowBefore=true;this.allowAfter=true;break;default:this.allowBefore=false;this.allowAfter=false}};Extend.next_id=0;Extend.prototype=new Node;Extend.prototype.type="Extend";Extend.prototype.accept=function(visitor){this.selector=visitor.visit(this.selector)};Extend.prototype.eval=function(context){return new Extend(this.selector.eval(context),this.option,this.index,this.currentFileInfo,this.visibilityInfo())};Extend.prototype.clone=function(context){return new Extend(this.selector,this.option,this.index,this.currentFileInfo,this.visibilityInfo())};Extend.prototype.findSelfSelectors=function(selectors){var i,selectorElements,selfElements=[];for(i=0;i<selectors.length;i++){selectorElements=selectors[i].elements;i>0&&selectorElements.length&&""===selectorElements[0].combinator.value&&(selectorElements[0].combinator.value=" ");selfElements=selfElements.concat(selectors[i].elements)}this.selfSelectors=[new Selector(selfElements)];this.selfSelectors[0].copyVisibilityInfo(this.visibilityInfo())};module.exports=Extend},function(module,exports,__webpack_require__){var Node=__webpack_require__(21),Variable=__webpack_require__(334);var RulesetCall=function(variable){this.variable=variable;this.allowRoot=true};RulesetCall.prototype=new Node;RulesetCall.prototype.type="RulesetCall";RulesetCall.prototype.eval=function(context){var detachedRuleset=new Variable(this.variable).eval(context);return detachedRuleset.callEval(context)};module.exports=RulesetCall},function(module,exports,__webpack_require__){var logger=__webpack_require__(255);var environment=function(externalEnvironment,fileManagers){this.fileManagers=fileManagers||[];externalEnvironment=externalEnvironment||{};var optionalFunctions=["encodeBase64","mimeLookup","charsetLookup","getSourceMapGenerator"],requiredFunctions=[],functions=requiredFunctions.concat(optionalFunctions);for(var i=0;i<functions.length;i++){var propName=functions[i],environmentFunc=externalEnvironment[propName];environmentFunc?this[propName]=environmentFunc.bind(externalEnvironment):i<requiredFunctions.length&&this.warn("missing required function in environment - "+propName)}};environment.prototype.getFileManager=function(filename,currentDirectory,options,environment,isSync){filename||logger.warn("getFileManager called with no filename.. Please report this issue. continuing.");null==currentDirectory&&logger.warn("getFileManager called with null directory.. Please report this issue. continuing.");var fileManagers=this.fileManagers;options.pluginManager&&(fileManagers=[].concat(fileManagers).concat(options.pluginManager.getFileManagers()));for(var i=fileManagers.length-1;i>=0;i--){var fileManager=fileManagers[i];if(fileManager[isSync?"supportsSync":"supports"](filename,currentDirectory,options,environment))return fileManager}return null};environment.prototype.addFileManager=function(fileManager){this.fileManagers.push(fileManager)};environment.prototype.clearFileManagers=function(){this.fileManagers=[]};module.exports=environment},function(module,exports,__webpack_require__){var contexts=__webpack_require__(136),Visitor=__webpack_require__(256),ImportSequencer=__webpack_require__(2260);var ImportVisitor=function(importer,finish){this._visitor=new Visitor(this);this._importer=importer;this._finish=finish;this.context=new contexts.Eval;this.importCount=0;this.onceFileDetectionMap={};this.recursionDetector={};this._sequencer=new ImportSequencer(this._onSequencerEmpty.bind(this))};ImportVisitor.prototype={isReplacing:false,run:function(root){try{this._visitor.visit(root)}catch(e){this.error=e}this.isFinished=true;this._sequencer.tryRun()},_onSequencerEmpty:function(){if(!this.isFinished)return;this._finish(this.error)},visitImport:function(importNode,visitArgs){var inlineCSS=importNode.options.inline;if(!importNode.css||inlineCSS){var context=new contexts.Eval(this.context,this.context.frames.slice(0));var importParent=context.frames[0];this.importCount++;importNode.isVariableImport()?this._sequencer.addVariableImport(this.processImportNode.bind(this,importNode,context,importParent)):this.processImportNode(importNode,context,importParent)}visitArgs.visitDeeper=false},processImportNode:function(importNode,context,importParent){var evaldImportNode,inlineCSS=importNode.options.inline;try{evaldImportNode=importNode.evalForImport(context)}catch(e){if(!e.filename){e.index=importNode.index;e.filename=importNode.currentFileInfo.filename}importNode.css=true;importNode.error=e}if(!evaldImportNode||evaldImportNode.css&&!inlineCSS){this.importCount--;this.isFinished&&this._sequencer.tryRun()}else{evaldImportNode.options.multiple&&(context.importMultiple=true);var tryAppendLessExtension=void 0===evaldImportNode.css;for(var i=0;i<importParent.rules.length;i++)if(importParent.rules[i]===importNode){importParent.rules[i]=evaldImportNode;break}var onImported=this.onImported.bind(this,evaldImportNode,context),sequencedOnImported=this._sequencer.addImport(onImported);this._importer.push(evaldImportNode.getPath(),tryAppendLessExtension,evaldImportNode.currentFileInfo,evaldImportNode.options,sequencedOnImported)}},onImported:function(importNode,context,e,root,importedAtRoot,fullPath){if(e){if(!e.filename){e.index=importNode.index;e.filename=importNode.currentFileInfo.filename}this.error=e}var importVisitor=this,inlineCSS=importNode.options.inline,isPlugin=importNode.options.plugin,isOptional=importNode.options.optional,duplicateImport=importedAtRoot||fullPath in importVisitor.recursionDetector;context.importMultiple||(importNode.skip=!!duplicateImport||function(){if(fullPath in importVisitor.onceFileDetectionMap)return true;importVisitor.onceFileDetectionMap[fullPath]=true;return false});!fullPath&&isOptional&&(importNode.skip=true);if(root){importNode.root=root;importNode.importedFilename=fullPath;if(!inlineCSS&&!isPlugin&&(context.importMultiple||!duplicateImport)){importVisitor.recursionDetector[fullPath]=true;var oldContext=this.context;this.context=context;try{this._visitor.visit(root)}catch(e){this.error=e}this.context=oldContext}}importVisitor.importCount--;importVisitor.isFinished&&importVisitor._sequencer.tryRun()},visitRule:function(ruleNode,visitArgs){"DetachedRuleset"===ruleNode.value.type?this.context.frames.unshift(ruleNode):visitArgs.visitDeeper=false},visitRuleOut:function(ruleNode){"DetachedRuleset"===ruleNode.value.type&&this.context.frames.shift()},visitDirective:function(directiveNode,visitArgs){this.context.frames.unshift(directiveNode)},visitDirectiveOut:function(directiveNode){this.context.frames.shift()},visitMixinDefinition:function(mixinDefinitionNode,visitArgs){this.context.frames.unshift(mixinDefinitionNode)},visitMixinDefinitionOut:function(mixinDefinitionNode){this.context.frames.shift()},visitRuleset:function(rulesetNode,visitArgs){this.context.frames.unshift(rulesetNode)},visitRulesetOut:function(rulesetNode){this.context.frames.shift()},visitMedia:function(mediaNode,visitArgs){this.context.frames.unshift(mediaNode.rules[0])},visitMediaOut:function(mediaNode){this.context.frames.shift()}};module.exports=ImportVisitor},function(module,exports){function ImportSequencer(onSequencerEmpty){this.imports=[];this.variableImports=[];this._onSequencerEmpty=onSequencerEmpty;this._currentDepth=0}ImportSequencer.prototype.addImport=function(callback){var importSequencer=this,importItem={callback:callback,args:null,isReady:false};this.imports.push(importItem);return function(){importItem.args=Array.prototype.slice.call(arguments,0);importItem.isReady=true;importSequencer.tryRun()}};ImportSequencer.prototype.addVariableImport=function(callback){this.variableImports.push(callback)};ImportSequencer.prototype.tryRun=function(){this._currentDepth++;try{while(true){while(this.imports.length>0){var importItem=this.imports[0];if(!importItem.isReady)return;this.imports=this.imports.slice(1);importItem.callback.apply(null,importItem.args)}if(0===this.variableImports.length)break;var variableImport=this.variableImports[0];this.variableImports=this.variableImports.slice(1);variableImport()}}finally{this._currentDepth--}0===this._currentDepth&&this._onSequencerEmpty&&this._onSequencerEmpty()};module.exports=ImportSequencer},function(module,exports){var SetTreeVisibilityVisitor=function(visible){this.visible=visible};SetTreeVisibilityVisitor.prototype.run=function(root){this.visit(root)};SetTreeVisibilityVisitor.prototype.visitArray=function(nodes){if(!nodes)return nodes;var i,cnt=nodes.length;for(i=0;i<cnt;i++)this.visit(nodes[i]);return nodes};SetTreeVisibilityVisitor.prototype.visit=function(node){if(!node)return node;if(node.constructor===Array)return this.visitArray(node);if(!node.blocksVisibility||node.blocksVisibility())return node;this.visible?node.ensureVisibility():node.ensureInvisibility();node.accept(this);return node};module.exports=SetTreeVisibilityVisitor},function(module,exports,__webpack_require__){var tree=__webpack_require__(172),Visitor=__webpack_require__(256),logger=__webpack_require__(255);var ExtendFinderVisitor=function(){this._visitor=new Visitor(this);this.contexts=[];this.allExtendsStack=[[]]};ExtendFinderVisitor.prototype={run:function(root){root=this._visitor.visit(root);root.allExtends=this.allExtendsStack[0];return root},visitRule:function(ruleNode,visitArgs){visitArgs.visitDeeper=false},visitMixinDefinition:function(mixinDefinitionNode,visitArgs){visitArgs.visitDeeper=false},visitRuleset:function(rulesetNode,visitArgs){if(rulesetNode.root)return;var i,j,extend,extendList,allSelectorsExtendList=[];var rules=rulesetNode.rules,ruleCnt=rules?rules.length:0;for(i=0;i<ruleCnt;i++)if(rulesetNode.rules[i]instanceof tree.Extend){allSelectorsExtendList.push(rules[i]);rulesetNode.extendOnEveryPath=true}var paths=rulesetNode.paths;for(i=0;i<paths.length;i++){var selectorPath=paths[i],selector=selectorPath[selectorPath.length-1],selExtendList=selector.extendList;extendList=selExtendList?selExtendList.slice(0).concat(allSelectorsExtendList):allSelectorsExtendList;extendList&&(extendList=extendList.map(function(allSelectorsExtend){return allSelectorsExtend.clone()}));for(j=0;j<extendList.length;j++){this.foundExtends=true;extend=extendList[j];extend.findSelfSelectors(selectorPath);extend.ruleset=rulesetNode;0===j&&(extend.firstExtendOnThisSelectorPath=true);this.allExtendsStack[this.allExtendsStack.length-1].push(extend)}}this.contexts.push(rulesetNode.selectors)},visitRulesetOut:function(rulesetNode){rulesetNode.root||(this.contexts.length=this.contexts.length-1)},visitMedia:function(mediaNode,visitArgs){mediaNode.allExtends=[];this.allExtendsStack.push(mediaNode.allExtends)},visitMediaOut:function(mediaNode){this.allExtendsStack.length=this.allExtendsStack.length-1},visitDirective:function(directiveNode,visitArgs){directiveNode.allExtends=[];this.allExtendsStack.push(directiveNode.allExtends)},visitDirectiveOut:function(directiveNode){this.allExtendsStack.length=this.allExtendsStack.length-1}};var ProcessExtendsVisitor=function(){this._visitor=new Visitor(this)};ProcessExtendsVisitor.prototype={run:function(root){var extendFinder=new ExtendFinderVisitor;this.extendIndices={};extendFinder.run(root);if(!extendFinder.foundExtends)return root;root.allExtends=root.allExtends.concat(this.doExtendChaining(root.allExtends,root.allExtends));this.allExtendsStack=[root.allExtends];var newRoot=this._visitor.visit(root);this.checkExtendsForNonMatched(root.allExtends);return newRoot},checkExtendsForNonMatched:function(extendList){var indices=this.extendIndices;extendList.filter(function(extend){return!extend.hasFoundMatches&&1==extend.parent_ids.length}).forEach(function(extend){var selector="_unknown_";try{selector=extend.selector.toCSS({})}catch(_){}if(!indices[extend.index+" "+selector]){indices[extend.index+" "+selector]=true;logger.warn("extend '"+selector+"' has no matches")}})},doExtendChaining:function(extendsList,extendsListTarget,iterationCount){var extendIndex,targetExtendIndex,matches,newSelector,selectorPath,extend,targetExtend,newExtend,extendsToAdd=[],extendVisitor=this;iterationCount=iterationCount||0;for(extendIndex=0;extendIndex<extendsList.length;extendIndex++)for(targetExtendIndex=0;targetExtendIndex<extendsListTarget.length;targetExtendIndex++){extend=extendsList[extendIndex];targetExtend=extendsListTarget[targetExtendIndex];if(extend.parent_ids.indexOf(targetExtend.object_id)>=0)continue;selectorPath=[targetExtend.selfSelectors[0]];matches=extendVisitor.findMatch(extend,selectorPath);if(matches.length){extend.hasFoundMatches=true;extend.selfSelectors.forEach(function(selfSelector){var info=targetExtend.visibilityInfo();newSelector=extendVisitor.extendSelector(matches,selectorPath,selfSelector,extend.isVisible());newExtend=new tree.Extend(targetExtend.selector,targetExtend.option,0,targetExtend.currentFileInfo,info);newExtend.selfSelectors=newSelector;newSelector[newSelector.length-1].extendList=[newExtend];extendsToAdd.push(newExtend);newExtend.ruleset=targetExtend.ruleset;newExtend.parent_ids=newExtend.parent_ids.concat(targetExtend.parent_ids,extend.parent_ids);if(targetExtend.firstExtendOnThisSelectorPath){newExtend.firstExtendOnThisSelectorPath=true;targetExtend.ruleset.paths.push(newSelector)}})}}if(extendsToAdd.length){this.extendChainCount++;if(iterationCount>100){var selectorOne="{unable to calculate}";var selectorTwo="{unable to calculate}";try{selectorOne=extendsToAdd[0].selfSelectors[0].toCSS();selectorTwo=extendsToAdd[0].selector.toCSS()}catch(e){}throw{message:"extend circular reference detected. One of the circular extends is currently:"+selectorOne+":extend("+selectorTwo+")"}}return extendsToAdd.concat(extendVisitor.doExtendChaining(extendsToAdd,extendsListTarget,iterationCount+1))}return extendsToAdd},visitRule:function(ruleNode,visitArgs){visitArgs.visitDeeper=false},visitMixinDefinition:function(mixinDefinitionNode,visitArgs){visitArgs.visitDeeper=false},visitSelector:function(selectorNode,visitArgs){visitArgs.visitDeeper=false},visitRuleset:function(rulesetNode,visitArgs){if(rulesetNode.root)return;var matches,pathIndex,extendIndex,selectorPath,allExtends=this.allExtendsStack[this.allExtendsStack.length-1],selectorsToAdd=[],extendVisitor=this;for(extendIndex=0;extendIndex<allExtends.length;extendIndex++)for(pathIndex=0;pathIndex<rulesetNode.paths.length;pathIndex++){selectorPath=rulesetNode.paths[pathIndex];if(rulesetNode.extendOnEveryPath)continue;var extendList=selectorPath[selectorPath.length-1].extendList;if(extendList&&extendList.length)continue;matches=this.findMatch(allExtends[extendIndex],selectorPath);if(matches.length){allExtends[extendIndex].hasFoundMatches=true;allExtends[extendIndex].selfSelectors.forEach(function(selfSelector){var extendedSelectors;extendedSelectors=extendVisitor.extendSelector(matches,selectorPath,selfSelector,allExtends[extendIndex].isVisible());selectorsToAdd.push(extendedSelectors)})}}rulesetNode.paths=rulesetNode.paths.concat(selectorsToAdd)},findMatch:function(extend,haystackSelectorPath){var haystackSelectorIndex,hackstackSelector,hackstackElementIndex,haystackElement,targetCombinator,i,potentialMatch,extendVisitor=this,needleElements=extend.selector.elements,potentialMatches=[],matches=[];for(haystackSelectorIndex=0;haystackSelectorIndex<haystackSelectorPath.length;haystackSelectorIndex++){hackstackSelector=haystackSelectorPath[haystackSelectorIndex];for(hackstackElementIndex=0;hackstackElementIndex<hackstackSelector.elements.length;hackstackElementIndex++){haystackElement=hackstackSelector.elements[hackstackElementIndex];(extend.allowBefore||0===haystackSelectorIndex&&0===hackstackElementIndex)&&potentialMatches.push({pathIndex:haystackSelectorIndex,index:hackstackElementIndex,matched:0,initialCombinator:haystackElement.combinator});for(i=0;i<potentialMatches.length;i++){potentialMatch=potentialMatches[i];targetCombinator=haystackElement.combinator.value;""===targetCombinator&&0===hackstackElementIndex&&(targetCombinator=" ");!extendVisitor.isElementValuesEqual(needleElements[potentialMatch.matched].value,haystackElement.value)||potentialMatch.matched>0&&needleElements[potentialMatch.matched].combinator.value!==targetCombinator?potentialMatch=null:potentialMatch.matched++;if(potentialMatch){potentialMatch.finished=potentialMatch.matched===needleElements.length;potentialMatch.finished&&!extend.allowAfter&&(hackstackElementIndex+1<hackstackSelector.elements.length||haystackSelectorIndex+1<haystackSelectorPath.length)&&(potentialMatch=null)}if(potentialMatch){if(potentialMatch.finished){potentialMatch.length=needleElements.length;potentialMatch.endPathIndex=haystackSelectorIndex;potentialMatch.endPathElementIndex=hackstackElementIndex+1;potentialMatches.length=0;matches.push(potentialMatch)}}else{potentialMatches.splice(i,1);i--}}}}return matches},isElementValuesEqual:function(elementValue1,elementValue2){if("string"===typeof elementValue1||"string"===typeof elementValue2)return elementValue1===elementValue2;if(elementValue1 instanceof tree.Attribute){if(elementValue1.op!==elementValue2.op||elementValue1.key!==elementValue2.key)return false;if(!elementValue1.value||!elementValue2.value){if(elementValue1.value||elementValue2.value)return false;return true}elementValue1=elementValue1.value.value||elementValue1.value;elementValue2=elementValue2.value.value||elementValue2.value;return elementValue1===elementValue2}elementValue1=elementValue1.value;elementValue2=elementValue2.value;if(elementValue1 instanceof tree.Selector){if(!(elementValue2 instanceof tree.Selector)||elementValue1.elements.length!==elementValue2.elements.length)return false;for(var i=0;i<elementValue1.elements.length;i++){if(elementValue1.elements[i].combinator.value!==elementValue2.elements[i].combinator.value&&(0!==i||(elementValue1.elements[i].combinator.value||" ")!==(elementValue2.elements[i].combinator.value||" ")))return false;if(!this.isElementValuesEqual(elementValue1.elements[i].value,elementValue2.elements[i].value))return false}return true}return false},extendSelector:function(matches,selectorPath,replacementSelector,isVisible){var matchIndex,selector,firstElement,match,newElements,currentSelectorPathIndex=0,currentSelectorPathElementIndex=0,path=[];for(matchIndex=0;matchIndex<matches.length;matchIndex++){match=matches[matchIndex];selector=selectorPath[match.pathIndex];firstElement=new tree.Element(match.initialCombinator,replacementSelector.elements[0].value,replacementSelector.elements[0].index,replacementSelector.elements[0].currentFileInfo);if(match.pathIndex>currentSelectorPathIndex&&currentSelectorPathElementIndex>0){path[path.length-1].elements=path[path.length-1].elements.concat(selectorPath[currentSelectorPathIndex].elements.slice(currentSelectorPathElementIndex));currentSelectorPathElementIndex=0;currentSelectorPathIndex++}newElements=selector.elements.slice(currentSelectorPathElementIndex,match.index).concat([firstElement]).concat(replacementSelector.elements.slice(1));if(currentSelectorPathIndex===match.pathIndex&&matchIndex>0)path[path.length-1].elements=path[path.length-1].elements.concat(newElements);else{path=path.concat(selectorPath.slice(currentSelectorPathIndex,match.pathIndex));path.push(new tree.Selector(newElements))}currentSelectorPathIndex=match.endPathIndex;currentSelectorPathElementIndex=match.endPathElementIndex;if(currentSelectorPathElementIndex>=selectorPath[currentSelectorPathIndex].elements.length){currentSelectorPathElementIndex=0;currentSelectorPathIndex++}}if(currentSelectorPathIndex<selectorPath.length&&currentSelectorPathElementIndex>0){path[path.length-1].elements=path[path.length-1].elements.concat(selectorPath[currentSelectorPathIndex].elements.slice(currentSelectorPathElementIndex));currentSelectorPathIndex++}path=path.concat(selectorPath.slice(currentSelectorPathIndex,selectorPath.length));path=path.map(function(currentValue){var derived=currentValue.createDerived(currentValue.elements);isVisible?derived.ensureVisibility():derived.ensureInvisibility();return derived});return path},visitMedia:function(mediaNode,visitArgs){var newAllExtends=mediaNode.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);newAllExtends=newAllExtends.concat(this.doExtendChaining(newAllExtends,mediaNode.allExtends));this.allExtendsStack.push(newAllExtends)},visitMediaOut:function(mediaNode){var lastIndex=this.allExtendsStack.length-1;this.allExtendsStack.length=lastIndex},visitDirective:function(directiveNode,visitArgs){var newAllExtends=directiveNode.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);newAllExtends=newAllExtends.concat(this.doExtendChaining(newAllExtends,directiveNode.allExtends));this.allExtendsStack.push(newAllExtends)},visitDirectiveOut:function(directiveNode){var lastIndex=this.allExtendsStack.length-1;this.allExtendsStack.length=lastIndex}};module.exports=ProcessExtendsVisitor},function(module,exports,__webpack_require__){var Visitor=__webpack_require__(256);var JoinSelectorVisitor=function(){this.contexts=[[]];this._visitor=new Visitor(this)};JoinSelectorVisitor.prototype={run:function(root){return this._visitor.visit(root)},visitRule:function(ruleNode,visitArgs){visitArgs.visitDeeper=false},visitMixinDefinition:function(mixinDefinitionNode,visitArgs){visitArgs.visitDeeper=false},visitRuleset:function(rulesetNode,visitArgs){var selectors,context=this.contexts[this.contexts.length-1],paths=[];this.contexts.push(paths);if(!rulesetNode.root){selectors=rulesetNode.selectors;if(selectors){selectors=selectors.filter(function(selector){return selector.getIsOutput()});rulesetNode.selectors=selectors.length?selectors:selectors=null;selectors&&rulesetNode.joinSelectors(paths,context,selectors)}selectors||(rulesetNode.rules=null);rulesetNode.paths=paths}},visitRulesetOut:function(rulesetNode){this.contexts.length=this.contexts.length-1},visitMedia:function(mediaNode,visitArgs){var context=this.contexts[this.contexts.length-1];mediaNode.rules[0].root=0===context.length||context[0].multiMedia},visitDirective:function(directiveNode,visitArgs){var context=this.contexts[this.contexts.length-1];directiveNode.rules&&directiveNode.rules.length&&(directiveNode.rules[0].root=directiveNode.isRooted||0===context.length||null)}};module.exports=JoinSelectorVisitor},function(module,exports,__webpack_require__){var tree=__webpack_require__(172),Visitor=__webpack_require__(256);var CSSVisitorUtils=function(context){this._visitor=new Visitor(this);this._context=context};CSSVisitorUtils.prototype={containsSilentNonBlockedChild:function(bodyRules){var rule;if(null==bodyRules)return false;for(var r=0;r<bodyRules.length;r++){rule=bodyRules[r];if(rule.isSilent&&rule.isSilent(this._context)&&!rule.blocksVisibility())return true}return false},keepOnlyVisibleChilds:function(owner){if(null==owner||null==owner.rules)return;owner.rules=owner.rules.filter(function(thing){return thing.isVisible()})},isEmpty:function(owner){if(null==owner||null==owner.rules)return true;return 0===owner.rules.length},hasVisibleSelector:function(rulesetNode){if(null==rulesetNode||null==rulesetNode.paths)return false;return rulesetNode.paths.length>0},resolveVisibility:function(node,originalRules){if(!node.blocksVisibility()){if(this.isEmpty(node)&&!this.containsSilentNonBlockedChild(originalRules))return;return node}var compiledRulesBody=node.rules[0];this.keepOnlyVisibleChilds(compiledRulesBody);if(this.isEmpty(compiledRulesBody))return;node.ensureVisibility();node.removeVisibilityBlock();return node},isVisibleRuleset:function(rulesetNode){if(rulesetNode.firstRoot)return true;if(this.isEmpty(rulesetNode))return false;if(!rulesetNode.root&&!this.hasVisibleSelector(rulesetNode))return false;return true}};var ToCSSVisitor=function(context){this._visitor=new Visitor(this);this._context=context;this.utils=new CSSVisitorUtils(context)};ToCSSVisitor.prototype={isReplacing:true,run:function(root){return this._visitor.visit(root)},visitRule:function(ruleNode,visitArgs){if(ruleNode.blocksVisibility()||ruleNode.variable)return;return ruleNode},visitMixinDefinition:function(mixinNode,visitArgs){mixinNode.frames=[]},visitExtend:function(extendNode,visitArgs){},visitComment:function(commentNode,visitArgs){if(commentNode.blocksVisibility()||commentNode.isSilent(this._context))return;return commentNode},visitMedia:function(mediaNode,visitArgs){var originalRules=mediaNode.rules[0].rules;mediaNode.accept(this._visitor);visitArgs.visitDeeper=false;return this.utils.resolveVisibility(mediaNode,originalRules)},visitImport:function(importNode,visitArgs){if(importNode.blocksVisibility())return;return importNode},visitDirective:function(directiveNode,visitArgs){return directiveNode.rules&&directiveNode.rules.length?this.visitDirectiveWithBody(directiveNode,visitArgs):this.visitDirectiveWithoutBody(directiveNode,visitArgs)},visitDirectiveWithBody:function(directiveNode,visitArgs){function hasFakeRuleset(directiveNode){var bodyRules=directiveNode.rules;return 1===bodyRules.length&&(!bodyRules[0].paths||0===bodyRules[0].paths.length)}function getBodyRules(directiveNode){var nodeRules=directiveNode.rules;if(hasFakeRuleset(directiveNode))return nodeRules[0].rules;return nodeRules}var originalRules=getBodyRules(directiveNode);directiveNode.accept(this._visitor);visitArgs.visitDeeper=false;this.utils.isEmpty(directiveNode)||this._mergeRules(directiveNode.rules[0].rules);return this.utils.resolveVisibility(directiveNode,originalRules)},visitDirectiveWithoutBody:function(directiveNode,visitArgs){if(directiveNode.blocksVisibility())return;if("@charset"===directiveNode.name){if(this.charset){if(directiveNode.debugInfo){var comment=new tree.Comment("/* "+directiveNode.toCSS(this._context).replace(/\n/g,"")+" */\n");comment.debugInfo=directiveNode.debugInfo;return this._visitor.visit(comment)}return}this.charset=true}return directiveNode},checkValidNodes:function(rules,isRoot){if(!rules)return;for(var i=0;i<rules.length;i++){var ruleNode=rules[i];if(isRoot&&ruleNode instanceof tree.Rule&&!ruleNode.variable)throw{message:"Properties must be inside selector blocks. They cannot be in the root",index:ruleNode.index,filename:ruleNode.currentFileInfo&&ruleNode.currentFileInfo.filename};if(ruleNode instanceof tree.Call)throw{message:"Function '"+ruleNode.name+"' is undefined",index:ruleNode.index,filename:ruleNode.currentFileInfo&&ruleNode.currentFileInfo.filename};if(ruleNode.type&&!ruleNode.allowRoot)throw{message:ruleNode.type+" node returned by a function is not valid here",index:ruleNode.index,filename:ruleNode.currentFileInfo&&ruleNode.currentFileInfo.filename}}},visitRuleset:function(rulesetNode,visitArgs){var rule,rulesets=[];this.checkValidNodes(rulesetNode.rules,rulesetNode.firstRoot);if(rulesetNode.root){rulesetNode.accept(this._visitor);visitArgs.visitDeeper=false}else{this._compileRulesetPaths(rulesetNode);var nodeRules=rulesetNode.rules,nodeRuleCnt=nodeRules?nodeRules.length:0;for(var i=0;i<nodeRuleCnt;){rule=nodeRules[i];if(rule&&rule.rules){rulesets.push(this._visitor.visit(rule));nodeRules.splice(i,1);nodeRuleCnt--;continue}i++}nodeRuleCnt>0?rulesetNode.accept(this._visitor):rulesetNode.rules=null;visitArgs.visitDeeper=false}if(rulesetNode.rules){this._mergeRules(rulesetNode.rules);this._removeDuplicateRules(rulesetNode.rules)}if(this.utils.isVisibleRuleset(rulesetNode)){rulesetNode.ensureVisibility();rulesets.splice(0,0,rulesetNode)}if(1===rulesets.length)return rulesets[0];return rulesets},_compileRulesetPaths:function(rulesetNode){rulesetNode.paths&&(rulesetNode.paths=rulesetNode.paths.filter(function(p){var i;" "===p[0].elements[0].combinator.value&&(p[0].elements[0].combinator=new tree.Combinator(""));for(i=0;i<p.length;i++)if(p[i].isVisible()&&p[i].getIsOutput())return true;return false}))},_removeDuplicateRules:function(rules){if(!rules)return;var ruleList,rule,i,ruleCache={};for(i=rules.length-1;i>=0;i--){rule=rules[i];if(rule instanceof tree.Rule)if(ruleCache[rule.name]){ruleList=ruleCache[rule.name];ruleList instanceof tree.Rule&&(ruleList=ruleCache[rule.name]=[ruleCache[rule.name].toCSS(this._context)]);var ruleCSS=rule.toCSS(this._context);-1!==ruleList.indexOf(ruleCSS)?rules.splice(i,1):ruleList.push(ruleCSS)}else ruleCache[rule.name]=rule}},_mergeRules:function(rules){if(!rules)return;var parts,rule,key,groups={};for(var i=0;i<rules.length;i++){rule=rules[i];if(rule instanceof tree.Rule&&rule.merge){key=[rule.name,rule.important?"!":""].join(",");groups[key]?rules.splice(i--,1):groups[key]=[];groups[key].push(rule)}}Object.keys(groups).map(function(k){function toExpression(values){return new tree.Expression(values.map(function(p){return p.value}))}function toValue(values){return new tree.Value(values.map(function(p){return p}))}parts=groups[k];if(parts.length>1){rule=parts[0];var spacedGroups=[];var lastSpacedGroup=[];parts.map(function(p){if("+"===p.merge){lastSpacedGroup.length>0&&spacedGroups.push(toExpression(lastSpacedGroup));lastSpacedGroup=[]}lastSpacedGroup.push(p)});spacedGroups.push(toExpression(lastSpacedGroup));rule.value=toValue(spacedGroups)}})},visitAnonymous:function(anonymousNode,visitArgs){if(anonymousNode.blocksVisibility())return;anonymousNode.accept(this._visitor);return anonymousNode}};module.exports=ToCSSVisitor},function(module,exports,__webpack_require__){var chunker=__webpack_require__(2266);module.exports=function(){var input,j,furthest,furthestPossibleErrorMessage,chunks,current,currentPos,saveStack=[],parserInput={};var CHARCODE_SPACE=32,CHARCODE_TAB=9,CHARCODE_LF=10,CHARCODE_CR=13,CHARCODE_PLUS=43,CHARCODE_COMMA=44,CHARCODE_FORWARD_SLASH=47,CHARCODE_9=57;function skipWhitespace(length){var c,nextChar,comment,oldi=parserInput.i,oldj=j,curr=parserInput.i-currentPos,endIndex=parserInput.i+current.length-curr,mem=parserInput.i+=length,inp=input;for(;parserInput.i<endIndex;parserInput.i++){c=inp.charCodeAt(parserInput.i);if(parserInput.autoCommentAbsorb&&c===CHARCODE_FORWARD_SLASH){nextChar=inp.charAt(parserInput.i+1);if("/"===nextChar){comment={index:parserInput.i,isLineComment:true};var nextNewLine=inp.indexOf("\n",parserInput.i+2);nextNewLine<0&&(nextNewLine=endIndex);parserInput.i=nextNewLine;comment.text=inp.substr(comment.index,parserInput.i-comment.index);parserInput.commentStore.push(comment);continue}if("*"===nextChar){var nextStarSlash=inp.indexOf("*/",parserInput.i+2);if(nextStarSlash>=0){comment={index:parserInput.i,text:inp.substr(parserInput.i,nextStarSlash+2-parserInput.i),isLineComment:false};parserInput.i+=comment.text.length-1;parserInput.commentStore.push(comment);continue}}break}if(c!==CHARCODE_SPACE&&c!==CHARCODE_LF&&c!==CHARCODE_TAB&&c!==CHARCODE_CR)break}current=current.slice(length+parserInput.i-mem+curr);currentPos=parserInput.i;if(!current.length){if(j<chunks.length-1){current=chunks[++j];skipWhitespace(0);return true}parserInput.finished=true}return oldi!==parserInput.i||oldj!==j}parserInput.save=function(){currentPos=parserInput.i;saveStack.push({current:current,i:parserInput.i,j:j})};parserInput.restore=function(possibleErrorMessage){if(parserInput.i>furthest||parserInput.i===furthest&&possibleErrorMessage&&!furthestPossibleErrorMessage){furthest=parserInput.i;furthestPossibleErrorMessage=possibleErrorMessage}var state=saveStack.pop();current=state.current;currentPos=parserInput.i=state.i;j=state.j};parserInput.forget=function(){saveStack.pop()};parserInput.isWhitespace=function(offset){var pos=parserInput.i+(offset||0),code=input.charCodeAt(pos);return code===CHARCODE_SPACE||code===CHARCODE_CR||code===CHARCODE_TAB||code===CHARCODE_LF};parserInput.$re=function(tok){if(parserInput.i>currentPos){current=current.slice(parserInput.i-currentPos);currentPos=parserInput.i}var m=tok.exec(current);if(!m)return null;skipWhitespace(m[0].length);if("string"===typeof m)return m;return 1===m.length?m[0]:m};parserInput.$char=function(tok){if(input.charAt(parserInput.i)!==tok)return null;skipWhitespace(1);return tok};parserInput.$str=function(tok){var tokLength=tok.length;for(var i=0;i<tokLength;i++)if(input.charAt(parserInput.i+i)!==tok.charAt(i))return null;skipWhitespace(tokLength);return tok};parserInput.$quoted=function(){var startChar=input.charAt(parserInput.i);if("'"!==startChar&&'"'!==startChar)return;var length=input.length,currentPosition=parserInput.i;for(var i=1;i+currentPosition<length;i++){var nextChar=input.charAt(i+currentPosition);switch(nextChar){case"\\":i++;continue;case"\r":case"\n":break;case startChar:var str=input.substr(currentPosition,i+1);skipWhitespace(i+1);return str}}return null};parserInput.autoCommentAbsorb=true;parserInput.commentStore=[];parserInput.finished=false;parserInput.peek=function(tok){if("string"===typeof tok){for(var i=0;i<tok.length;i++)if(input.charAt(parserInput.i+i)!==tok.charAt(i))return false;return true}return tok.test(current)};parserInput.peekChar=function(tok){return input.charAt(parserInput.i)===tok};parserInput.currentChar=function(){return input.charAt(parserInput.i)};parserInput.getInput=function(){return input};parserInput.peekNotNumeric=function(){var c=input.charCodeAt(parserInput.i);return c>CHARCODE_9||c<CHARCODE_PLUS||c===CHARCODE_FORWARD_SLASH||c===CHARCODE_COMMA};parserInput.start=function(str,chunkInput,failFunction){input=str;parserInput.i=j=currentPos=furthest=0;chunks=chunkInput?chunker(str,failFunction):[str];current=chunks[0];skipWhitespace(0)};parserInput.end=function(){var message,isFinished=parserInput.i>=input.length;if(parserInput.i<furthest){message=furthestPossibleErrorMessage;parserInput.i=furthest}return{isFinished:isFinished,furthest:parserInput.i,furthestPossibleErrorMessage:message,furthestReachedEnd:parserInput.i>=input.length-1,furthestChar:input[parserInput.i]}};return parserInput}},function(module,exports){module.exports=function(input,fail){var lastOpening,lastOpeningParen,lastMultiComment,lastMultiCommentEndBrace,chunkerCurrentIndex,currentChunkStartIndex,cc,cc2,matched,len=input.length,level=0,parenLevel=0,chunks=[],emitFrom=0;function emitChunk(force){var len=chunkerCurrentIndex-emitFrom;if(len<512&&!force||!len)return;chunks.push(input.slice(emitFrom,chunkerCurrentIndex+1));emitFrom=chunkerCurrentIndex+1}for(chunkerCurrentIndex=0;chunkerCurrentIndex<len;chunkerCurrentIndex++){cc=input.charCodeAt(chunkerCurrentIndex);if(cc>=97&&cc<=122||cc<34)continue;switch(cc){case 40:parenLevel++;lastOpeningParen=chunkerCurrentIndex;continue;case 41:if(--parenLevel<0)return fail("missing opening `(`",chunkerCurrentIndex);continue;case 59:parenLevel||emitChunk();continue;case 123:level++;lastOpening=chunkerCurrentIndex;continue;case 125:if(--level<0)return fail("missing opening `{`",chunkerCurrentIndex);level||parenLevel||emitChunk();continue;case 92:if(chunkerCurrentIndex<len-1){chunkerCurrentIndex++;continue}return fail("unescaped `\\`",chunkerCurrentIndex);case 34:case 39:case 96:matched=0;currentChunkStartIndex=chunkerCurrentIndex;for(chunkerCurrentIndex+=1;chunkerCurrentIndex<len;chunkerCurrentIndex++){cc2=input.charCodeAt(chunkerCurrentIndex);if(cc2>96)continue;if(cc2==cc){matched=1;break}if(92==cc2){if(chunkerCurrentIndex==len-1)return fail("unescaped `\\`",chunkerCurrentIndex);chunkerCurrentIndex++}}if(matched)continue;return fail("unmatched `"+String.fromCharCode(cc)+"`",currentChunkStartIndex);case 47:if(parenLevel||chunkerCurrentIndex==len-1)continue;cc2=input.charCodeAt(chunkerCurrentIndex+1);if(47==cc2)for(chunkerCurrentIndex+=2;chunkerCurrentIndex<len;chunkerCurrentIndex++){cc2=input.charCodeAt(chunkerCurrentIndex);if(cc2<=13&&(10==cc2||13==cc2))break}else if(42==cc2){lastMultiComment=currentChunkStartIndex=chunkerCurrentIndex;for(chunkerCurrentIndex+=2;chunkerCurrentIndex<len-1;chunkerCurrentIndex++){cc2=input.charCodeAt(chunkerCurrentIndex);125==cc2&&(lastMultiCommentEndBrace=chunkerCurrentIndex);if(42!=cc2)continue;if(47==input.charCodeAt(chunkerCurrentIndex+1))break}if(chunkerCurrentIndex==len-1)return fail("missing closing `*/`",currentChunkStartIndex);chunkerCurrentIndex++}continue;case 42:if(chunkerCurrentIndex<len-1&&47==input.charCodeAt(chunkerCurrentIndex+1))return fail("unmatched `/*`",chunkerCurrentIndex);continue}}if(0!==level)return fail(lastMultiComment>lastOpening&&lastMultiCommentEndBrace>lastMultiComment?"missing closing `}` or `*/`":"missing closing `}`",lastOpening);if(0!==parenLevel)return fail("missing closing `)`",lastOpeningParen);emitChunk(true);return chunks}},function(module,exports,__webpack_require__){module.exports=function(environment){var functions={functionRegistry:__webpack_require__(87),functionCaller:__webpack_require__(875)};__webpack_require__(491);__webpack_require__(2268);__webpack_require__(2269);__webpack_require__(2270)(environment);__webpack_require__(2271);__webpack_require__(2272);__webpack_require__(2273);__webpack_require__(2274)(environment);__webpack_require__(2275);return functions}},function(module,exports,__webpack_require__){var colorFunctions,Dimension=__webpack_require__(121),Color=__webpack_require__(173),Quoted=__webpack_require__(137),Anonymous=__webpack_require__(138),functionRegistry=__webpack_require__(87);function clamp(val){return Math.min(1,Math.max(0,val))}function hsla(color){return colorFunctions.hsla(color.h,color.s,color.l,color.a)}function number(n){if(n instanceof Dimension)return parseFloat(n.unit.is("%")?n.value/100:n.value);if("number"===typeof n)return n;throw{type:"Argument",message:"color functions take numbers as parameters"}}function scaled(n,size){return n instanceof Dimension&&n.unit.is("%")?parseFloat(n.value*size/100):number(n)}colorFunctions={rgb:function(r,g,b){return colorFunctions.rgba(r,g,b,1)},rgba:function(r,g,b,a){var rgb=[r,g,b].map(function(c){return scaled(c,255)});a=number(a);return new Color(rgb,a)},hsl:function(h,s,l){return colorFunctions.hsla(h,s,l,1)},hsla:function(h,s,l,a){var m1,m2;function hue(h){h=h<0?h+1:h>1?h-1:h;return 6*h<1?m1+(m2-m1)*h*6:2*h<1?m2:3*h<2?m1+(m2-m1)*(2/3-h)*6:m1}h=number(h)%360/360;s=clamp(number(s));l=clamp(number(l));a=clamp(number(a));m2=l<=.5?l*(s+1):l+s-l*s;m1=2*l-m2;return colorFunctions.rgba(255*hue(h+1/3),255*hue(h),255*hue(h-1/3),a)},hsv:function(h,s,v){return colorFunctions.hsva(h,s,v,1)},hsva:function(h,s,v,a){h=number(h)%360/360*360;s=number(s);v=number(v);a=number(a);var i,f;i=Math.floor(h/60%6);f=h/60-i;var vs=[v,v*(1-s),v*(1-f*s),v*(1-(1-f)*s)];var perm=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]];return colorFunctions.rgba(255*vs[perm[i][0]],255*vs[perm[i][1]],255*vs[perm[i][2]],a)},hue:function(color){return new Dimension(color.toHSL().h)},saturation:function(color){return new Dimension(100*color.toHSL().s,"%")},lightness:function(color){return new Dimension(100*color.toHSL().l,"%")},hsvhue:function(color){return new Dimension(color.toHSV().h)},hsvsaturation:function(color){return new Dimension(100*color.toHSV().s,"%")},hsvvalue:function(color){return new Dimension(100*color.toHSV().v,"%")},red:function(color){return new Dimension(color.rgb[0])},green:function(color){return new Dimension(color.rgb[1])},blue:function(color){return new Dimension(color.rgb[2])},alpha:function(color){return new Dimension(color.toHSL().a)},luma:function(color){return new Dimension(color.luma()*color.alpha*100,"%")},luminance:function(color){var luminance=.2126*color.rgb[0]/255+.7152*color.rgb[1]/255+.0722*color.rgb[2]/255;return new Dimension(luminance*color.alpha*100,"%")},saturate:function(color,amount,method){if(!color.rgb)return null;var hsl=color.toHSL();"undefined"!==typeof method&&"relative"===method.value?hsl.s+=hsl.s*amount.value/100:hsl.s+=amount.value/100;hsl.s=clamp(hsl.s);return hsla(hsl)},desaturate:function(color,amount,method){var hsl=color.toHSL();"undefined"!==typeof method&&"relative"===method.value?hsl.s-=hsl.s*amount.value/100:hsl.s-=amount.value/100;hsl.s=clamp(hsl.s);return hsla(hsl)},lighten:function(color,amount,method){var hsl=color.toHSL();"undefined"!==typeof method&&"relative"===method.value?hsl.l+=hsl.l*amount.value/100:hsl.l+=amount.value/100;hsl.l=clamp(hsl.l);return hsla(hsl)},darken:function(color,amount,method){var hsl=color.toHSL();"undefined"!==typeof method&&"relative"===method.value?hsl.l-=hsl.l*amount.value/100:hsl.l-=amount.value/100;hsl.l=clamp(hsl.l);return hsla(hsl)},fadein:function(color,amount,method){var hsl=color.toHSL();"undefined"!==typeof method&&"relative"===method.value?hsl.a+=hsl.a*amount.value/100:hsl.a+=amount.value/100;hsl.a=clamp(hsl.a);return hsla(hsl)},fadeout:function(color,amount,method){var hsl=color.toHSL();"undefined"!==typeof method&&"relative"===method.value?hsl.a-=hsl.a*amount.value/100:hsl.a-=amount.value/100;hsl.a=clamp(hsl.a);return hsla(hsl)},fade:function(color,amount){var hsl=color.toHSL();hsl.a=amount.value/100;hsl.a=clamp(hsl.a);return hsla(hsl)},spin:function(color,amount){var hsl=color.toHSL();var hue=(hsl.h+amount.value)%360;hsl.h=hue<0?360+hue:hue;return hsla(hsl)},mix:function(color1,color2,weight){if(!color1.toHSL||!color2.toHSL){console.log(color2.type);console.dir(color2)}weight||(weight=new Dimension(50));var p=weight.value/100;var w=2*p-1;var a=color1.toHSL().a-color2.toHSL().a;var w1=((w*a==-1?w:(w+a)/(1+w*a))+1)/2;var w2=1-w1;var rgb=[color1.rgb[0]*w1+color2.rgb[0]*w2,color1.rgb[1]*w1+color2.rgb[1]*w2,color1.rgb[2]*w1+color2.rgb[2]*w2];var alpha=color1.alpha*p+color2.alpha*(1-p);return new Color(rgb,alpha)},greyscale:function(color){return colorFunctions.desaturate(color,new Dimension(100))},contrast:function(color,color1,color2,threshold){if(!color.rgb)return null;"undefined"===typeof color1&&(color1=colorFunctions.rgba(0,0,0,1));"undefined"===typeof color2&&(color2=colorFunctions.rgba(255,255,255,1));var contrast1,contrast2;var luma=color.luma();var luma1=color1.luma();var luma2=color2.luma();contrast1=luma>luma1?(luma+.05)/(luma1+.05):(luma1+.05)/(luma+.05);contrast2=luma>luma2?(luma+.05)/(luma2+.05):(luma2+.05)/(luma+.05);return contrast1>contrast2?color1:color2},argb:function(color){return new Anonymous(color.toARGB())},color:function(c){if(c instanceof Quoted&&/^#([a-f0-9]{6}|[a-f0-9]{3})$/i.test(c.value))return new Color(c.value.slice(1));if(c instanceof Color||(c=Color.fromKeyword(c.value))){c.value=void 0;return c}throw{type:"Argument",message:"argument must be a color keyword or 3/6 digit hex e.g. #FFF"}},tint:function(color,amount){return colorFunctions.mix(colorFunctions.rgb(255,255,255),color,amount)},shade:function(color,amount){return colorFunctions.mix(colorFunctions.rgb(0,0,0),color,amount)}};functionRegistry.addMultiple(colorFunctions)},function(module,exports,__webpack_require__){var Color=__webpack_require__(173),functionRegistry=__webpack_require__(87);function colorBlend(mode,color1,color2){var cb,cs,ar,cr,ab=color1.alpha,as=color2.alpha,r=[];ar=as+ab*(1-as);for(var i=0;i<3;i++){cb=color1.rgb[i]/255;cs=color2.rgb[i]/255;cr=mode(cb,cs);ar&&(cr=(as*cs+ab*(cb-as*(cb+cs-cr)))/ar);r[i]=255*cr}return new Color(r,ar)}var colorBlendModeFunctions={multiply:function(cb,cs){return cb*cs},screen:function(cb,cs){return cb+cs-cb*cs},overlay:function(cb,cs){cb*=2;return cb<=1?colorBlendModeFunctions.multiply(cb,cs):colorBlendModeFunctions.screen(cb-1,cs)},softlight:function(cb,cs){var d=1,e=cb;if(cs>.5){e=1;d=cb>.25?Math.sqrt(cb):((16*cb-12)*cb+4)*cb}return cb-(1-2*cs)*e*(d-cb)},hardlight:function(cb,cs){return colorBlendModeFunctions.overlay(cs,cb)},difference:function(cb,cs){return Math.abs(cb-cs)},exclusion:function(cb,cs){return cb+cs-2*cb*cs},average:function(cb,cs){return(cb+cs)/2},negation:function(cb,cs){return 1-Math.abs(cb+cs-1)}};for(var f in colorBlendModeFunctions)colorBlendModeFunctions.hasOwnProperty(f)&&(colorBlend[f]=colorBlend.bind(null,colorBlendModeFunctions[f]));functionRegistry.addMultiple(colorBlend)},function(module,exports,__webpack_require__){module.exports=function(environment){var Quoted=__webpack_require__(137),URL=__webpack_require__(254),functionRegistry=__webpack_require__(87),fallback=function(functionThis,node){return new URL(node,functionThis.index,functionThis.currentFileInfo).eval(functionThis.context)},logger=__webpack_require__(255);functionRegistry.add("data-uri",function(mimetypeNode,filePathNode){if(!filePathNode){filePathNode=mimetypeNode;mimetypeNode=null}var mimetype=mimetypeNode&&mimetypeNode.value;var filePath=filePathNode.value;var currentFileInfo=this.currentFileInfo;var currentDirectory=currentFileInfo.relativeUrls?currentFileInfo.currentDirectory:currentFileInfo.entryPath;var fragmentStart=filePath.indexOf("#");var fragment="";if(-1!==fragmentStart){fragment=filePath.slice(fragmentStart);filePath=filePath.slice(0,fragmentStart)}var fileManager=environment.getFileManager(filePath,currentDirectory,this.context,environment,true);if(!fileManager)return fallback(this,filePathNode);var useBase64=false;if(mimetypeNode)useBase64=/;base64$/.test(mimetype);else{mimetype=environment.mimeLookup(filePath);if("image/svg+xml"===mimetype)useBase64=false;else{var charset=environment.charsetLookup(mimetype);useBase64=["US-ASCII","UTF-8"].indexOf(charset)<0}useBase64&&(mimetype+=";base64")}var fileSync=fileManager.loadFileSync(filePath,currentDirectory,this.context,environment);if(!fileSync.contents){logger.warn("Skipped data-uri embedding of "+filePath+" because file not found");return fallback(this,filePathNode||mimetypeNode)}var buf=fileSync.contents;if(useBase64&&!environment.encodeBase64)return fallback(this,filePathNode);buf=useBase64?environment.encodeBase64(buf):encodeURIComponent(buf);var uri="data:"+mimetype+","+buf+fragment;var DATA_URI_MAX=32768;if(uri.length>=DATA_URI_MAX&&false!==this.context.ieCompat){logger.warn("Skipped data-uri embedding of "+filePath+" because its size ("+uri.length+" characters) exceeds IE8-safe "+DATA_URI_MAX+" characters!");return fallback(this,filePathNode||mimetypeNode)}return new URL(new Quoted('"'+uri+'"',uri,false,this.index,this.currentFileInfo),this.index,this.currentFileInfo)})}},function(module,exports,__webpack_require__){var functionRegistry=__webpack_require__(87),mathHelper=__webpack_require__(880);var mathFunctions={ceil:null,floor:null,sqrt:null,abs:null,tan:"",sin:"",cos:"",atan:"rad",asin:"rad",acos:"rad"};for(var f in mathFunctions)mathFunctions.hasOwnProperty(f)&&(mathFunctions[f]=mathHelper._math.bind(null,Math[f],mathFunctions[f]));mathFunctions.round=function(n,f){var fraction="undefined"===typeof f?0:f.value;return mathHelper._math(function(num){return num.toFixed(fraction)},null,n)};functionRegistry.addMultiple(mathFunctions)},function(module,exports,__webpack_require__){var Dimension=__webpack_require__(121),Anonymous=__webpack_require__(138),functionRegistry=__webpack_require__(87),mathHelper=__webpack_require__(880);var minMax=function(isMin,args){args=Array.prototype.slice.call(args);switch(args.length){case 0:throw{type:"Argument",message:"one or more arguments required"}}var i,j,current,currentUnified,referenceUnified,unit,unitStatic,unitClone,order=[],values={};for(i=0;i<args.length;i++){current=args[i];if(!(current instanceof Dimension)){Array.isArray(args[i].value)&&Array.prototype.push.apply(args,Array.prototype.slice.call(args[i].value));continue}currentUnified=""===current.unit.toString()&&void 0!==unitClone?new Dimension(current.value,unitClone).unify():current.unify();unit=""===currentUnified.unit.toString()&&void 0!==unitStatic?unitStatic:currentUnified.unit.toString();unitStatic=""!==unit&&void 0===unitStatic||""!==unit&&""===order[0].unify().unit.toString()?unit:unitStatic;unitClone=""!==unit&&void 0===unitClone?current.unit.toString():unitClone;j=void 0!==values[""]&&""!==unit&&unit===unitStatic?values[""]:values[unit];if(void 0===j){if(void 0!==unitStatic&&unit!==unitStatic)throw{type:"Argument",message:"incompatible types"};values[unit]=order.length;order.push(current);continue}referenceUnified=""===order[j].unit.toString()&&void 0!==unitClone?new Dimension(order[j].value,unitClone).unify():order[j].unify();(isMin&&currentUnified.value<referenceUnified.value||!isMin&&currentUnified.value>referenceUnified.value)&&(order[j]=current)}if(1==order.length)return order[0];args=order.map(function(a){return a.toCSS(this.context)}).join(this.context.compress?",":", ");return new Anonymous((isMin?"min":"max")+"("+args+")")};functionRegistry.addMultiple({min:function(){return minMax(true,arguments)},max:function(){return minMax(false,arguments)},convert:function(val,unit){return val.convertTo(unit.value)},pi:function(){return new Dimension(Math.PI)},mod:function(a,b){return new Dimension(a.value%b.value,a.unit)},pow:function(x,y){if("number"===typeof x&&"number"===typeof y){x=new Dimension(x);y=new Dimension(y)}else if(!(x instanceof Dimension)||!(y instanceof Dimension))throw{type:"Argument",message:"arguments must be numbers"};return new Dimension(Math.pow(x.value,y.value),x.unit)},percentage:function(n){var result=mathHelper._math(function(num){return 100*num},"%",n);return result}})},function(module,exports,__webpack_require__){var Quoted=__webpack_require__(137),Anonymous=__webpack_require__(138),JavaScript=__webpack_require__(878),functionRegistry=__webpack_require__(87);functionRegistry.addMultiple({e:function(str){return new Anonymous(str instanceof JavaScript?str.evaluated:str.value)},escape:function(str){return new Anonymous(encodeURI(str.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},replace:function(string,pattern,replacement,flags){var result=string.value;replacement="Quoted"===replacement.type?replacement.value:replacement.toCSS();result=result.replace(new RegExp(pattern.value,flags?flags.value:""),replacement);return new Quoted(string.quote||"",result,string.escaped)},"%":function(string){var args=Array.prototype.slice.call(arguments,1),result=string.value;for(var i=0;i<args.length;i++)result=result.replace(/%[sda]/i,function(token){var value="Quoted"===args[i].type&&token.match(/s/i)?args[i].value:args[i].toCSS();return token.match(/[A-Z]$/)?encodeURIComponent(value):value});result=result.replace(/%%/g,"%");return new Quoted(string.quote||"",result,string.escaped)}})},function(module,exports,__webpack_require__){module.exports=function(environment){var Dimension=__webpack_require__(121),Color=__webpack_require__(173),Expression=__webpack_require__(253),Quoted=__webpack_require__(137),URL=__webpack_require__(254),functionRegistry=__webpack_require__(87);functionRegistry.add("svg-gradient",function(direction){var stops,gradientDirectionSvg,returner,i,color,position,positionValue,alpha,gradientType="linear",rectangleDimension='x="0" y="0" width="1" height="1"',renderEnv={compress:false},directionValue=direction.toCSS(renderEnv);function throwArgumentDescriptor(){throw{type:"Argument",message:"svg-gradient expects direction, start_color [start_position], [color position,]..., end_color [end_position] or direction, color list"}}if(2==arguments.length){arguments[1].value.length<2&&throwArgumentDescriptor();stops=arguments[1].value}else arguments.length<3?throwArgumentDescriptor():stops=Array.prototype.slice.call(arguments,1);switch(directionValue){case"to bottom":gradientDirectionSvg='x1="0%" y1="0%" x2="0%" y2="100%"';break;case"to right":gradientDirectionSvg='x1="0%" y1="0%" x2="100%" y2="0%"';break;case"to bottom right":gradientDirectionSvg='x1="0%" y1="0%" x2="100%" y2="100%"';break;case"to top right":gradientDirectionSvg='x1="0%" y1="100%" x2="100%" y2="0%"';break;case"ellipse":case"ellipse at center":gradientType="radial";gradientDirectionSvg='cx="50%" cy="50%" r="75%"';rectangleDimension='x="-50" y="-50" width="101" height="101"';break;default:throw{type:"Argument",message:"svg-gradient direction must be 'to bottom', 'to right', 'to bottom right', 'to top right' or 'ellipse at center'"}}returner='<?xml version="1.0" ?><svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><'+gradientType+'Gradient id="gradient" gradientUnits="userSpaceOnUse" '+gradientDirectionSvg+">";for(i=0;i<stops.length;i+=1){if(stops[i]instanceof Expression){color=stops[i].value[0];position=stops[i].value[1]}else{color=stops[i];position=void 0}color instanceof Color&&((0===i||i+1===stops.length)&&void 0===position||position instanceof Dimension)||throwArgumentDescriptor();positionValue=position?position.toCSS(renderEnv):0===i?"0%":"100%";alpha=color.alpha;returner+='<stop offset="'+positionValue+'" stop-color="'+color.toRGB()+'"'+(alpha<1?' stop-opacity="'+alpha+'"':"")+"/>"}returner+="</"+gradientType+"Gradient><rect "+rectangleDimension+' fill="url(#gradient)" /></svg>';returner=encodeURIComponent(returner);returner="data:image/svg+xml,"+returner;return new URL(new Quoted("'"+returner+"'",returner,false,this.index,this.currentFileInfo),this.index,this.currentFileInfo)})}},function(module,exports,__webpack_require__){var Keyword=__webpack_require__(333),DetachedRuleset=__webpack_require__(871),Dimension=__webpack_require__(121),Color=__webpack_require__(173),Quoted=__webpack_require__(137),Anonymous=__webpack_require__(138),URL=__webpack_require__(254),Operation=__webpack_require__(492),functionRegistry=__webpack_require__(87);var isa=function(n,Type){return n instanceof Type?Keyword.True:Keyword.False},isunit=function(n,unit){if(void 0===unit)throw{type:"Argument",message:"missing the required second argument to isunit."};unit="string"===typeof unit.value?unit.value:unit;if("string"!==typeof unit)throw{type:"Argument",message:"Second argument to isunit should be a unit or a string."};return n instanceof Dimension&&n.unit.is(unit)?Keyword.True:Keyword.False},getItemsFromNode=function(node){var items=Array.isArray(node.value)?node.value:Array(node);return items};functionRegistry.addMultiple({isruleset:function(n){return isa(n,DetachedRuleset)},iscolor:function(n){return isa(n,Color)},isnumber:function(n){return isa(n,Dimension)},isstring:function(n){return isa(n,Quoted)},iskeyword:function(n){return isa(n,Keyword)},isurl:function(n){return isa(n,URL)},ispixel:function(n){return isunit(n,"px")},ispercentage:function(n){return isunit(n,"%")},isem:function(n){return isunit(n,"em")},isunit:isunit,unit:function(val,unit){if(!(val instanceof Dimension))throw{type:"Argument",message:"the first argument to unit must be a number"+(val instanceof Operation?". Have you forgotten parenthesis?":"")};unit=unit?unit instanceof Keyword?unit.value:unit.toCSS():"";return new Dimension(val.value,unit)},"get-unit":function(n){return new Anonymous(n.unit)},extract:function(values,index){index=index.value-1;return getItemsFromNode(values)[index]},length:function(values){return new Dimension(getItemsFromNode(values).length)}})},function(module,exports){module.exports=function(environment){var SourceMapOutput=function(options){this._css=[];this._rootNode=options.rootNode;this._contentsMap=options.contentsMap;this._contentsIgnoredCharsMap=options.contentsIgnoredCharsMap;options.sourceMapFilename&&(this._sourceMapFilename=options.sourceMapFilename.replace(/\\/g,"/"));this._outputFilename=options.outputFilename;this.sourceMapURL=options.sourceMapURL;options.sourceMapBasepath&&(this._sourceMapBasepath=options.sourceMapBasepath.replace(/\\/g,"/"));if(options.sourceMapRootpath){this._sourceMapRootpath=options.sourceMapRootpath.replace(/\\/g,"/");"/"!==this._sourceMapRootpath.charAt(this._sourceMapRootpath.length-1)&&(this._sourceMapRootpath+="/")}else this._sourceMapRootpath="";this._outputSourceFiles=options.outputSourceFiles;this._sourceMapGeneratorConstructor=environment.getSourceMapGenerator();this._lineNumber=0;this._column=0};SourceMapOutput.prototype.normalizeFilename=function(filename){filename=filename.replace(/\\/g,"/");if(this._sourceMapBasepath&&0===filename.indexOf(this._sourceMapBasepath)){filename=filename.substring(this._sourceMapBasepath.length);"\\"!==filename.charAt(0)&&"/"!==filename.charAt(0)||(filename=filename.substring(1))}return(this._sourceMapRootpath||"")+filename};SourceMapOutput.prototype.add=function(chunk,fileInfo,index,mapLines){if(!chunk)return;var lines,sourceLines,columns,sourceColumns,i;if(fileInfo){var inputSource=this._contentsMap[fileInfo.filename];if(this._contentsIgnoredCharsMap[fileInfo.filename]){index-=this._contentsIgnoredCharsMap[fileInfo.filename];index<0&&(index=0);inputSource=inputSource.slice(this._contentsIgnoredCharsMap[fileInfo.filename])}inputSource=inputSource.substring(0,index);sourceLines=inputSource.split("\n");sourceColumns=sourceLines[sourceLines.length-1]}lines=chunk.split("\n");columns=lines[lines.length-1];if(fileInfo)if(mapLines)for(i=0;i<lines.length;i++)this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+i+1,column:0===i?this._column:0},original:{line:sourceLines.length+i,column:0===i?sourceColumns.length:0},source:this.normalizeFilename(fileInfo.filename)});else this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+1,column:this._column},original:{line:sourceLines.length,column:sourceColumns.length},source:this.normalizeFilename(fileInfo.filename)});if(1===lines.length)this._column+=columns.length;else{this._lineNumber+=lines.length-1;this._column=columns.length}this._css.push(chunk)};SourceMapOutput.prototype.isEmpty=function(){return 0===this._css.length};SourceMapOutput.prototype.toCSS=function(context){this._sourceMapGenerator=new this._sourceMapGeneratorConstructor({file:this._outputFilename,sourceRoot:null});if(this._outputSourceFiles)for(var filename in this._contentsMap)if(this._contentsMap.hasOwnProperty(filename)){var source=this._contentsMap[filename];this._contentsIgnoredCharsMap[filename]&&(source=source.slice(this._contentsIgnoredCharsMap[filename]));this._sourceMapGenerator.setSourceContent(this.normalizeFilename(filename),source)}this._rootNode.genCSS(context,this);if(this._css.length>0){var sourceMapURL,sourceMapContent=JSON.stringify(this._sourceMapGenerator.toJSON());this.sourceMapURL?sourceMapURL=this.sourceMapURL:this._sourceMapFilename&&(sourceMapURL=this._sourceMapFilename);this.sourceMapURL=sourceMapURL;this.sourceMap=sourceMapContent}return this._css.join("")};return SourceMapOutput}},function(module,exports){module.exports=function(SourceMapOutput,environment){var SourceMapBuilder=function(options){this.options=options};SourceMapBuilder.prototype.toCSS=function(rootNode,options,imports){var sourceMapOutput=new SourceMapOutput({contentsIgnoredCharsMap:imports.contentsIgnoredChars,rootNode:rootNode,contentsMap:imports.contents,sourceMapFilename:this.options.sourceMapFilename,sourceMapURL:this.options.sourceMapURL,outputFilename:this.options.sourceMapOutputFilename,sourceMapBasepath:this.options.sourceMapBasepath,sourceMapRootpath:this.options.sourceMapRootpath,outputSourceFiles:this.options.outputSourceFiles,sourceMapGenerator:this.options.sourceMapGenerator,sourceMapFileInline:this.options.sourceMapFileInline});var css=sourceMapOutput.toCSS(options);this.sourceMap=sourceMapOutput.sourceMap;this.sourceMapURL=sourceMapOutput.sourceMapURL;this.options.sourceMapInputFilename&&(this.sourceMapInputFilename=sourceMapOutput.normalizeFilename(this.options.sourceMapInputFilename));return css+this.getCSSAppendage()};SourceMapBuilder.prototype.getCSSAppendage=function(){var sourceMapURL=this.sourceMapURL;if(this.options.sourceMapFileInline){if(void 0===this.sourceMap)return"";sourceMapURL="data:application/json;base64,"+environment.encodeBase64(this.sourceMap)}if(sourceMapURL)return"/*# sourceMappingURL="+sourceMapURL+" */";return""};SourceMapBuilder.prototype.getExternalSourceMap=function(){return this.sourceMap};SourceMapBuilder.prototype.setExternalSourceMap=function(sourceMap){this.sourceMap=sourceMap};SourceMapBuilder.prototype.isInline=function(){return this.options.sourceMapFileInline};SourceMapBuilder.prototype.getSourceMapURL=function(){return this.sourceMapURL};SourceMapBuilder.prototype.getOutputFilename=function(){return this.options.sourceMapOutputFilename};SourceMapBuilder.prototype.getInputFilename=function(){return this.sourceMapInputFilename};return SourceMapBuilder}},function(module,exports,__webpack_require__){var LessError=__webpack_require__(335),transformTree=__webpack_require__(881),logger=__webpack_require__(255);module.exports=function(SourceMapBuilder){var ParseTree=function(root,imports){this.root=root;this.imports=imports};ParseTree.prototype.toCSS=function(options){var evaldRoot,sourceMapBuilder,result={};try{evaldRoot=transformTree(this.root,options)}catch(e){throw new LessError(e,this.imports)}try{var compress=Boolean(options.compress);compress&&logger.warn("The compress option has been deprecated. We recommend you use a dedicated css minifier, for instance see less-plugin-clean-css.");var toCSSOptions={compress:compress,dumpLineNumbers:options.dumpLineNumbers,strictUnits:Boolean(options.strictUnits),numPrecision:8};if(options.sourceMap){sourceMapBuilder=new SourceMapBuilder(options.sourceMap);result.css=sourceMapBuilder.toCSS(evaldRoot,toCSSOptions,this.imports)}else result.css=evaldRoot.toCSS(toCSSOptions)}catch(e){throw new LessError(e,this.imports)}if(options.pluginManager){var postProcessors=options.pluginManager.getPostProcessors();for(var i=0;i<postProcessors.length;i++)result.css=postProcessors[i].process(result.css,{sourceMap:sourceMapBuilder,options:options,imports:this.imports})}options.sourceMap&&(result.map=sourceMapBuilder.getExternalSourceMap());result.imports=[];for(var file in this.imports.files)this.imports.files.hasOwnProperty(file)&&file!==this.imports.rootFilename&&result.imports.push(file);return result};return ParseTree}},function(module,exports,__webpack_require__){var contexts=__webpack_require__(136),Parser=__webpack_require__(494),FunctionImporter=__webpack_require__(2280);module.exports=function(environment){var ImportManager=function(context,rootFileInfo){this.rootFilename=rootFileInfo.filename;this.paths=context.paths||[];this.contents={};this.contentsIgnoredChars={};this.mime=context.mime;this.error=null;this.context=context;this.queue=[];this.files={}};ImportManager.prototype.push=function(path,tryAppendLessExtension,currentFileInfo,importOptions,callback){var importManager=this;this.queue.push(path);var fileParsedFunc=function(e,root,fullPath){importManager.queue.splice(importManager.queue.indexOf(path),1);var importedEqualsRoot=fullPath===importManager.rootFilename;if(importOptions.optional&&e)callback(null,{rules:[]},false,null);else{importManager.files[fullPath]=root;e&&!importManager.error&&(importManager.error=e);callback(e,root,importedEqualsRoot,fullPath)}};var newFileInfo={relativeUrls:this.context.relativeUrls,entryPath:currentFileInfo.entryPath,rootpath:currentFileInfo.rootpath,rootFilename:currentFileInfo.rootFilename};var fileManager=environment.getFileManager(path,currentFileInfo.currentDirectory,this.context,environment);if(!fileManager){fileParsedFunc({message:"Could not find a file-manager for "+path});return}tryAppendLessExtension&&(path=fileManager.tryAppendExtension(path,importOptions.plugin?".js":".less"));var loadFileCallback=function(loadedFile){var resolvedFilename=loadedFile.filename,contents=loadedFile.contents.replace(/^\uFEFF/,"");newFileInfo.currentDirectory=fileManager.getPath(resolvedFilename);if(newFileInfo.relativeUrls){newFileInfo.rootpath=fileManager.join(importManager.context.rootpath||"",fileManager.pathDiff(newFileInfo.currentDirectory,newFileInfo.entryPath));!fileManager.isPathAbsolute(newFileInfo.rootpath)&&fileManager.alwaysMakePathsAbsolute()&&(newFileInfo.rootpath=fileManager.join(newFileInfo.entryPath,newFileInfo.rootpath))}newFileInfo.filename=resolvedFilename;var newEnv=new contexts.Parse(importManager.context);newEnv.processImports=false;importManager.contents[resolvedFilename]=contents;(currentFileInfo.reference||importOptions.reference)&&(newFileInfo.reference=true);importOptions.plugin?new FunctionImporter(newEnv,newFileInfo).eval(contents,function(e,root){fileParsedFunc(e,root,resolvedFilename)}):importOptions.inline?fileParsedFunc(null,contents,resolvedFilename):new Parser(newEnv,importManager,newFileInfo).parse(contents,function(e,root){fileParsedFunc(e,root,resolvedFilename)})};var promise=fileManager.loadFile(path,currentFileInfo.currentDirectory,this.context,environment,function(err,loadedFile){err?fileParsedFunc(err):loadFileCallback(loadedFile)});promise&&promise.then(loadFileCallback,fileParsedFunc)};return ImportManager}},function(module,exports,__webpack_require__){var LessError=__webpack_require__(335),tree=__webpack_require__(172);var FunctionImporter=module.exports=function FunctionImporter(context,fileInfo){this.fileInfo=fileInfo};FunctionImporter.prototype.eval=function(contents,callback){var loader,registry,loaded={};registry={add:function(name,func){loaded[name]=func},addMultiple:function(functions){Object.keys(functions).forEach(function(name){loaded[name]=functions[name]})}};try{loader=new Function("functions","tree","fileInfo",contents);loader(registry,tree,this.fileInfo)}catch(e){callback(new LessError({message:"Plugin evaluation error: '"+e.name+": "+e.message.replace(/["]/g,"'")+"'",filename:this.fileInfo.filename}),null)}callback(null,{functions:loaded})}},function(module,exports,__webpack_require__){var PromiseConstructor;module.exports=function(environment,ParseTree,ImportManager){var render=function(input,options,callback){if("function"===typeof options){callback=options;options={}}if(!callback){PromiseConstructor||(PromiseConstructor="undefined"===typeof Promise?__webpack_require__(882):Promise);var self=this;return new PromiseConstructor(function(resolve,reject){render.call(self,input,options,function(err,output){err?reject(err):resolve(output)})})}this.parse(input,options,function(err,root,imports,options){if(err)return callback(err);var result;try{var parseTree=new ParseTree(root,imports);result=parseTree.toCSS(options)}catch(err){return callback(err)}callback(null,result)})};return render}},function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(208);__webpack_require__(2283);__webpack_require__(2284);__webpack_require__(2285);__webpack_require__(2286);__webpack_require__(2288)},function(module,exports,__webpack_require__){"use strict";var Promise=__webpack_require__(208);module.exports=Promise;Promise.prototype.done=function(onFulfilled,onRejected){var self=arguments.length?this.then.apply(this,arguments):this;self.then(null,function(err){setTimeout(function(){throw err},0)})}},function(module,exports,__webpack_require__){"use strict";var Promise=__webpack_require__(208);module.exports=Promise;Promise.prototype["finally"]=function(f){return this.then(function(value){return Promise.resolve(f()).then(function(){return value})},function(err){return Promise.resolve(f()).then(function(){throw err})})}},function(module,exports,__webpack_require__){"use strict";var Promise=__webpack_require__(208);module.exports=Promise;var TRUE=valuePromise(true);var FALSE=valuePromise(false);var NULL=valuePromise(null);var UNDEFINED=valuePromise(void 0);var ZERO=valuePromise(0);var EMPTYSTRING=valuePromise("");function valuePromise(value){var p=new Promise(Promise._61);p._65=1;p._55=value;return p}Promise.resolve=function(value){if(value instanceof Promise)return value;if(null===value)return NULL;if(void 0===value)return UNDEFINED;if(true===value)return TRUE;if(false===value)return FALSE;if(0===value)return ZERO;if(""===value)return EMPTYSTRING;if("object"===typeof value||"function"===typeof value)try{var then=value.then;if("function"===typeof then)return new Promise(then.bind(value))}catch(ex){return new Promise(function(resolve,reject){reject(ex)})}return valuePromise(value)};Promise.all=function(arr){var args=Array.prototype.slice.call(arr);return new Promise(function(resolve,reject){if(0===args.length)return resolve([]);var remaining=args.length;function res(i,val){if(val&&("object"===typeof val||"function"===typeof val)){if(val instanceof Promise&&val.then===Promise.prototype.then){while(3===val._65)val=val._55;if(1===val._65)return res(i,val._55);2===val._65&&reject(val._55);val.then(function(val){res(i,val)},reject);return}var then=val.then;if("function"===typeof then){var p=new Promise(then.bind(val));p.then(function(val){res(i,val)},reject);return}}args[i]=val;0===--remaining&&resolve(args)}for(var i=0;i<args.length;i++)res(i,args[i])})};Promise.reject=function(value){return new Promise(function(resolve,reject){reject(value)})};Promise.race=function(values){return new Promise(function(resolve,reject){values.forEach(function(value){Promise.resolve(value).then(resolve,reject)})})};Promise.prototype["catch"]=function(onRejected){return this.then(null,onRejected)}},function(module,exports,__webpack_require__){"use strict";var Promise=__webpack_require__(208);var asap=__webpack_require__(2287);module.exports=Promise;Promise.denodeify=function(fn,argumentCount){return"number"===typeof argumentCount&&Infinity!==argumentCount?denodeifyWithCount(fn,argumentCount):denodeifyWithoutCount(fn)};var callbackFn="function (err, res) {if (err) { rj(err); } else { rs(res); }}";function denodeifyWithCount(fn,argumentCount){var args=[];for(var i=0;i<argumentCount;i++)args.push("a"+i);var body=["return function ("+args.join(",")+") {","var self = this;","return new Promise(function (rs, rj) {","var res = fn.call(",["self"].concat(args).concat([callbackFn]).join(","),");","if (res &&",'(typeof res === "object" || typeof res === "function") &&','typeof res.then === "function"',") {rs(res);}","});","};"].join("");return Function(["Promise","fn"],body)(Promise,fn)}function denodeifyWithoutCount(fn){var fnLength=Math.max(fn.length-1,3);var args=[];for(var i=0;i<fnLength;i++)args.push("a"+i);var body=["return function ("+args.join(",")+") {","var self = this;","var args;","var argLength = arguments.length;","if (arguments.length > "+fnLength+") {","args = new Array(arguments.length + 1);","for (var i = 0; i < arguments.length; i++) {","args[i] = arguments[i];","}","}","return new Promise(function (rs, rj) {","var cb = "+callbackFn+";","var res;","switch (argLength) {",args.concat(["extra"]).map(function(_,index){return"case "+index+":res = fn.call("+["self"].concat(args.slice(0,index)).concat("cb").join(",")+");break;"}).join(""),"default:","args[argLength] = cb;","res = fn.apply(self, args);","}","if (res &&",'(typeof res === "object" || typeof res === "function") &&','typeof res.then === "function"',") {rs(res);}","});","};"].join("");return Function(["Promise","fn"],body)(Promise,fn)}Promise.nodeify=function(fn){return function(){var args=Array.prototype.slice.call(arguments);var callback="function"===typeof args[args.length-1]?args.pop():null;var ctx=this;try{return fn.apply(this,arguments).nodeify(callback,ctx)}catch(ex){if(null===callback||"undefined"==typeof callback)return new Promise(function(resolve,reject){reject(ex)});asap(function(){callback.call(ctx,ex)})}}};Promise.prototype.nodeify=function(callback,ctx){if("function"!=typeof callback)return this;this.then(function(value){asap(function(){callback.call(ctx,null,value)})},function(err){asap(function(){callback.call(ctx,err)})})}},function(module,exports,__webpack_require__){"use strict";var rawAsap=__webpack_require__(883);var freeTasks=[];var pendingErrors=[];var requestErrorThrow=rawAsap.makeRequestCallFromTimer(throwFirstError);function throwFirstError(){if(pendingErrors.length)throw pendingErrors.shift()}module.exports=asap;function asap(task){var rawTask;rawTask=freeTasks.length?freeTasks.pop():new RawTask;rawTask.task=task;rawAsap(rawTask)}function RawTask(){this.task=null}RawTask.prototype.call=function(){try{this.task.call()}catch(error){if(asap.onerror)asap.onerror(error);else{pendingErrors.push(error);requestErrorThrow()}}finally{this.task=null;freeTasks[freeTasks.length]=this}}},function(module,exports,__webpack_require__){"use strict";var Promise=__webpack_require__(208);module.exports=Promise;Promise.enableSynchronous=function(){Promise.prototype.isPending=function(){return 0==this.getState()};Promise.prototype.isFulfilled=function(){return 1==this.getState()};Promise.prototype.isRejected=function(){return 2==this.getState()};Promise.prototype.getValue=function(){if(3===this._65)return this._55.getValue();if(!this.isFulfilled())throw new Error("Cannot get a value of an unfulfilled promise.");return this._55};Promise.prototype.getReason=function(){if(3===this._65)return this._55.getReason();if(!this.isRejected())throw new Error("Cannot get a rejection reason of a non-rejected promise.");return this._55};Promise.prototype.getState=function(){if(3===this._65)return this._55.getState();if(-1===this._65||-2===this._65)return 0;return this._65}};Promise.disableSynchronous=function(){Promise.prototype.isPending=void 0;Promise.prototype.isFulfilled=void 0;Promise.prototype.isRejected=void 0;Promise.prototype.getValue=void 0;Promise.prototype.getReason=void 0;Promise.prototype.getState=void 0}},function(module,exports,__webpack_require__){var PromiseConstructor,contexts=__webpack_require__(136),Parser=__webpack_require__(494),PluginManager=__webpack_require__(884);module.exports=function(environment,ParseTree,ImportManager){var parse=function(input,options,callback){options=options||{};if("function"===typeof options){callback=options;options={}}if(!callback){PromiseConstructor||(PromiseConstructor="undefined"===typeof Promise?__webpack_require__(882):Promise);var self=this;return new PromiseConstructor(function(resolve,reject){parse.call(self,input,options,function(err,output){err?reject(err):resolve(output)})})}var context,rootFileInfo,pluginManager=new PluginManager(this);pluginManager.addPlugins(options.plugins);options.pluginManager=pluginManager;context=new contexts.Parse(options);if(options.rootFileInfo)rootFileInfo=options.rootFileInfo;else{var filename=options.filename||"input";var entryPath=filename.replace(/[^\/\\]*$/,"");rootFileInfo={filename:filename,relativeUrls:context.relativeUrls,rootpath:context.rootpath||"",currentDirectory:entryPath,entryPath:entryPath,rootFilename:filename};rootFileInfo.rootpath&&"/"!==rootFileInfo.rootpath.slice(-1)&&(rootFileInfo.rootpath+="/")}var imports=new ImportManager(context,rootFileInfo);new Parser(context,imports,rootFileInfo).parse(input,function(e,root){if(e)return callback(e);callback(null,root,imports,options)},options)};return parse}},function(module,exports,__webpack_require__){module.exports=function(options,logger){var AbstractFileManager=__webpack_require__(879);var fileCache={};function getXMLHttpRequest(){if(window.XMLHttpRequest&&!("file:"===window.location.protocol&&"ActiveXObject"in window))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){logger.error("browser doesn't support AJAX.");return null}}var FileManager=function(){};FileManager.prototype=new AbstractFileManager;FileManager.prototype.alwaysMakePathsAbsolute=function alwaysMakePathsAbsolute(){return true};FileManager.prototype.join=function join(basePath,laterPath){if(!basePath)return laterPath;return this.extractUrlParts(laterPath,basePath).path};FileManager.prototype.doXHR=function doXHR(url,type,callback,errback){var xhr=getXMLHttpRequest();var async=!options.isFileProtocol||options.fileAsync;"function"===typeof xhr.overrideMimeType&&xhr.overrideMimeType("text/css");logger.debug("XHR: Getting '"+url+"'");xhr.open("GET",url,async);xhr.setRequestHeader("Accept",type||"text/x-less, text/css; q=0.9, */*; q=0.5");xhr.send(null);function handleResponse(xhr,callback,errback){xhr.status>=200&&xhr.status<300?callback(xhr.responseText,xhr.getResponseHeader("Last-Modified")):"function"===typeof errback&&errback(xhr.status,url)}options.isFileProtocol&&!options.fileAsync?0===xhr.status||xhr.status>=200&&xhr.status<300?callback(xhr.responseText):errback(xhr.status,url):async?xhr.onreadystatechange=function(){4==xhr.readyState&&handleResponse(xhr,callback,errback)}:handleResponse(xhr,callback,errback)};FileManager.prototype.supports=function(filename,currentDirectory,options,environment){return true};FileManager.prototype.clearFileCache=function(){fileCache={}};FileManager.prototype.loadFile=function loadFile(filename,currentDirectory,options,environment,callback){currentDirectory&&!this.isPathAbsolute(filename)&&(filename=currentDirectory+filename);options=options||{};var hrefParts=this.extractUrlParts(filename,window.location.href);var href=hrefParts.url;if(options.useFileCache&&fileCache[href]){try{var lessText=fileCache[href];callback(null,{contents:lessText,filename:href,webInfo:{lastModified:new Date}})}catch(e){callback({filename:href,message:"Error loading file "+href+" error was "+e.message})}return}this.doXHR(href,options.mime,function doXHRCallback(data,lastModified){fileCache[href]=data;callback(null,{contents:data,filename:href,webInfo:{lastModified:lastModified}})},function doXHRError(status,url){callback({type:"File",message:"'"+url+"' wasn't found ("+status+")",href:href})})};return FileManager}},function(module,exports){module.exports=function(less,options){var logLevel_debug=4,logLevel_info=3,logLevel_warn=2,logLevel_error=1;options.logLevel="undefined"!==typeof options.logLevel?options.logLevel:"development"===options.env?logLevel_info:logLevel_error;options.loggers||(options.loggers=[{debug:function(msg){options.logLevel>=logLevel_debug&&console.log(msg)},info:function(msg){options.logLevel>=logLevel_info&&console.log(msg)},warn:function(msg){options.logLevel>=logLevel_warn&&console.warn(msg)},error:function(msg){options.logLevel>=logLevel_error&&console.error(msg)}}]);for(var i=0;i<options.loggers.length;i++)less.logger.addListener(options.loggers[i])}},function(module,exports,__webpack_require__){var utils=__webpack_require__(487),browser=__webpack_require__(866);module.exports=function(window,less,options){function errorHTML(e,rootHref){var id="less-error-message:"+utils.extractId(rootHref||"");var template='<li><label>{line}</label><pre class="{class}">{content}</pre></li>';var timer,content,elem=window.document.createElement("div"),errors=[];var filename=e.filename||rootHref;var filenameNoPath=filename.match(/([^\/]+(\?.*)?)$/)[1];elem.id=id;elem.className="less-error-message";content="<h3>"+(e.type||"Syntax")+"Error: "+(e.message||"There is an error in your .less file")+'</h3><p>in <a href="'+filename+'">'+filenameNoPath+"</a> ";var errorline=function(e,i,classname){void 0!==e.extract[i]&&errors.push(template.replace(/\{line\}/,(parseInt(e.line,10)||0)+(i-1)).replace(/\{class\}/,classname).replace(/\{content\}/,e.extract[i]))};if(e.extract){errorline(e,0,"");errorline(e,1,"line");errorline(e,2,"");content+="on line "+e.line+", column "+(e.column+1)+":</p><ul>"+errors.join("")+"</ul>"}e.stack&&(e.extract||options.logLevel>=4)&&(content+="<br/>Stack Trace</br />"+e.stack.split("\n").slice(1).join("<br/>"));elem.innerHTML=content;browser.createCSS(window.document,[".less-error-message ul, .less-error-message li {","list-style-type: none;","margin-right: 15px;","padding: 4px 0;","margin: 0;","}",".less-error-message label {","font-size: 12px;","margin-right: 15px;","padding: 4px 0;","color: #cc7777;","}",".less-error-message pre {","color: #dd6666;","padding: 4px 0;","margin: 0;","display: inline-block;","}",".less-error-message pre.line {","color: #ff0000;","}",".less-error-message h3 {","font-size: 20px;","font-weight: bold;","padding: 15px 0 5px 0;","margin: 0;","}",".less-error-message a {","color: #10a","}",".less-error-message .error {","color: red;","font-weight: bold;","padding-bottom: 2px;","border-bottom: 1px dashed red;","}"].join("\n"),{title:"error-message"});elem.style.cssText=["font-family: Arial, sans-serif","border: 1px solid #e00","background-color: #eee","border-radius: 5px","-webkit-border-radius: 5px","-moz-border-radius: 5px","color: #e00","padding: 15px","margin-bottom: 15px"].join(";");"development"===options.env&&(timer=setInterval(function(){var document=window.document,body=document.body;if(body){document.getElementById(id)?body.replaceChild(elem,document.getElementById(id)):body.insertBefore(elem,body.firstChild);clearInterval(timer)}},10))}function removeErrorHTML(path){var node=window.document.getElementById("less-error-message:"+utils.extractId(path));node&&node.parentNode.removeChild(node)}function removeErrorConsole(path){}function removeError(path){options.errorReporting&&"html"!==options.errorReporting?"console"===options.errorReporting?removeErrorConsole(path):"function"===typeof options.errorReporting&&options.errorReporting("remove",path):removeErrorHTML(path)}function errorConsole(e,rootHref){var template="{line} {content}";var filename=e.filename||rootHref;var errors=[];var content=(e.type||"Syntax")+"Error: "+(e.message||"There is an error in your .less file")+" in "+filename+" ";var errorline=function(e,i,classname){void 0!==e.extract[i]&&errors.push(template.replace(/\{line\}/,(parseInt(e.line,10)||0)+(i-1)).replace(/\{class\}/,classname).replace(/\{content\}/,e.extract[i]))};if(e.extract){errorline(e,0,"");errorline(e,1,"line");errorline(e,2,"");content+="on line "+e.line+", column "+(e.column+1)+":\n"+errors.join("\n")}e.stack&&(e.extract||options.logLevel>=4)&&(content+="\nStack Trace\n"+e.stack);less.logger.error(content)}function error(e,rootHref){options.errorReporting&&"html"!==options.errorReporting?"console"===options.errorReporting?errorConsole(e,rootHref):"function"===typeof options.errorReporting&&options.errorReporting("add",e,rootHref):errorHTML(e,rootHref)}return{add:error,remove:removeError}}},function(module,exports){module.exports=function(window,options,logger){var cache=null;if("development"!==options.env)try{cache="undefined"===typeof window.localStorage?null:window.localStorage}catch(_){}return{setCSS:function(path,lastModified,modifyVars,styles){if(cache){logger.info("saving "+path+" to cache.");try{cache.setItem(path,styles);cache.setItem(path+":timestamp",lastModified);modifyVars&&cache.setItem(path+":vars",JSON.stringify(modifyVars))}catch(e){logger.error('failed to save "'+path+'" to local storage for caching.')}}},getCSS:function(path,webInfo,modifyVars){var css=cache&&cache.getItem(path),timestamp=cache&&cache.getItem(path+":timestamp"),vars=cache&&cache.getItem(path+":vars");modifyVars=modifyVars||{};if(timestamp&&webInfo.lastModified&&new Date(webInfo.lastModified).valueOf()===new Date(timestamp).valueOf()&&(!modifyVars&&!vars||JSON.stringify(modifyVars)===vars))return css}}}},function(module,exports,__webpack_require__){module.exports=function(){var functionRegistry=__webpack_require__(87);function imageSize(){throw{type:"Runtime",message:"Image size functions are not supported in browser version of less"}}var imageFunctions={"image-size":function(filePathNode){imageSize(this,filePathNode);return-1},"image-width":function(filePathNode){imageSize(this,filePathNode);return-1},"image-height":function(filePathNode){imageSize(this,filePathNode);return-1}};functionRegistry.addMultiple(imageFunctions)}},function(module,exports,__webpack_require__){var baseToString=__webpack_require__(2296),isArray=__webpack_require__(2297);var rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g;var reEscapeChar=/\\(\\)?/g;function toPath(value){if(isArray(value))return value;var result=[];baseToString(value).replace(rePropName,function(match,number,quote,string){result.push(quote?string.replace(reEscapeChar,"$1"):number||match)});return result}module.exports=toPath},function(module,exports){function baseToString(value){return null==value?"":value+""}module.exports=baseToString},function(module,exports,__webpack_require__){var getNative=__webpack_require__(2298),isLength=__webpack_require__(2302),isObjectLike=__webpack_require__(885);var arrayTag="[object Array]";var objectProto=Object.prototype;var objToString=objectProto.toString;var nativeIsArray=getNative(Array,"isArray");var isArray=nativeIsArray||function(value){return isObjectLike(value)&&isLength(value.length)&&objToString.call(value)==arrayTag};module.exports=isArray},function(module,exports,__webpack_require__){var isNative=__webpack_require__(2299);function getNative(object,key){var value=null==object?void 0:object[key];return isNative(value)?value:void 0}module.exports=getNative},function(module,exports,__webpack_require__){var isFunction=__webpack_require__(2300),isObjectLike=__webpack_require__(885);var reIsHostCtor=/^\[object .+?Constructor\]$/;var objectProto=Object.prototype;var fnToString=Function.prototype.toString;var hasOwnProperty=objectProto.hasOwnProperty;var reIsNative=RegExp("^"+fnToString.call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function isNative(value){if(null==value)return false;if(isFunction(value))return reIsNative.test(fnToString.call(value));return isObjectLike(value)&&reIsHostCtor.test(value)}module.exports=isNative},function(module,exports,__webpack_require__){var isObject=__webpack_require__(2301);var funcTag="[object Function]";var objectProto=Object.prototype;var objToString=objectProto.toString;function isFunction(value){return isObject(value)&&objToString.call(value)==funcTag}module.exports=isFunction},function(module,exports){function isObject(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}module.exports=isObject},function(module,exports){var MAX_SAFE_INTEGER=9007199254740991;function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}module.exports=isLength},function(module,exports,__webpack_require__){"use strict";module.exports=LRUCache;var Map=__webpack_require__(2304);var util=__webpack_require__(336);var Yallist=__webpack_require__(2308);var hasSymbol="function"===typeof Symbol;var makeSymbol;makeSymbol=hasSymbol?function(key){return Symbol.for(key)}:function(key){return"_"+key};var MAX=makeSymbol("max");var LENGTH=makeSymbol("length");var LENGTH_CALCULATOR=makeSymbol("lengthCalculator");var ALLOW_STALE=makeSymbol("allowStale");var MAX_AGE=makeSymbol("maxAge");var DISPOSE=makeSymbol("dispose");var NO_DISPOSE_ON_SET=makeSymbol("noDisposeOnSet");var LRU_LIST=makeSymbol("lruList");var CACHE=makeSymbol("cache");function naiveLength(){return 1}function LRUCache(options){if(!(this instanceof LRUCache))return new LRUCache(options);"number"===typeof options&&(options={max:options});options||(options={});var max=this[MAX]=options.max;max&&"number"===typeof max&&!(max<=0)||(this[MAX]=Infinity);var lc=options.length||naiveLength;"function"!==typeof lc&&(lc=naiveLength);this[LENGTH_CALCULATOR]=lc;this[ALLOW_STALE]=options.stale||false;this[MAX_AGE]=options.maxAge||0;this[DISPOSE]=options.dispose;this[NO_DISPOSE_ON_SET]=options.noDisposeOnSet||false;this.reset()}Object.defineProperty(LRUCache.prototype,"max",{set:function(mL){mL&&"number"===typeof mL&&!(mL<=0)||(mL=Infinity);this[MAX]=mL;trim(this)},get:function(){return this[MAX]},enumerable:true});Object.defineProperty(LRUCache.prototype,"allowStale",{set:function(allowStale){this[ALLOW_STALE]=!!allowStale},get:function(){return this[ALLOW_STALE]},enumerable:true});Object.defineProperty(LRUCache.prototype,"maxAge",{set:function(mA){mA&&"number"===typeof mA&&!(mA<0)||(mA=0);this[MAX_AGE]=mA;trim(this)},get:function(){return this[MAX_AGE]},enumerable:true});Object.defineProperty(LRUCache.prototype,"lengthCalculator",{set:function(lC){"function"!==typeof lC&&(lC=naiveLength);if(lC!==this[LENGTH_CALCULATOR]){this[LENGTH_CALCULATOR]=lC;this[LENGTH]=0;this[LRU_LIST].forEach(function(hit){hit.length=this[LENGTH_CALCULATOR](hit.value,hit.key);this[LENGTH]+=hit.length},this)}trim(this)},get:function(){return this[LENGTH_CALCULATOR]},enumerable:true});Object.defineProperty(LRUCache.prototype,"length",{get:function(){return this[LENGTH]},enumerable:true});Object.defineProperty(LRUCache.prototype,"itemCount",{get:function(){return this[LRU_LIST].length},enumerable:true});LRUCache.prototype.rforEach=function(fn,thisp){thisp=thisp||this;for(var walker=this[LRU_LIST].tail;null!==walker;){var prev=walker.prev;forEachStep(this,fn,walker,thisp);walker=prev}};function forEachStep(self,fn,node,thisp){var hit=node.value;if(isStale(self,hit)){del(self,node);self[ALLOW_STALE]||(hit=void 0)}hit&&fn.call(thisp,hit.value,hit.key,self)}LRUCache.prototype.forEach=function(fn,thisp){thisp=thisp||this;for(var walker=this[LRU_LIST].head;null!==walker;){var next=walker.next;forEachStep(this,fn,walker,thisp);walker=next}};LRUCache.prototype.keys=function(){return this[LRU_LIST].toArray().map(function(k){return k.key},this)};LRUCache.prototype.values=function(){return this[LRU_LIST].toArray().map(function(k){return k.value},this)};LRUCache.prototype.reset=function(){this[DISPOSE]&&this[LRU_LIST]&&this[LRU_LIST].length&&this[LRU_LIST].forEach(function(hit){this[DISPOSE](hit.key,hit.value)},this);this[CACHE]=new Map;this[LRU_LIST]=new Yallist;this[LENGTH]=0};LRUCache.prototype.dump=function(){return this[LRU_LIST].map(function(hit){if(!isStale(this,hit))return{k:hit.key,v:hit.value,e:hit.now+(hit.maxAge||0)}},this).toArray().filter(function(h){return h})};LRUCache.prototype.dumpLru=function(){return this[LRU_LIST]};LRUCache.prototype.inspect=function(n,opts){var str="LRUCache {";var extras=false;var as=this[ALLOW_STALE];if(as){str+="\n  allowStale: true";extras=true}var max=this[MAX];if(max&&Infinity!==max){extras&&(str+=",");str+="\n  max: "+util.inspect(max,opts);extras=true}var maxAge=this[MAX_AGE];if(maxAge){extras&&(str+=",");str+="\n  maxAge: "+util.inspect(maxAge,opts);extras=true}var lc=this[LENGTH_CALCULATOR];if(lc&&lc!==naiveLength){extras&&(str+=",");str+="\n  length: "+util.inspect(this[LENGTH],opts);extras=true}var didFirst=false;this[LRU_LIST].forEach(function(item){if(didFirst)str+=",\n  ";else{extras&&(str+=",\n");didFirst=true;str+="\n  "}var key=util.inspect(item.key).split("\n").join("\n  ");var val={value:item.value};item.maxAge!==maxAge&&(val.maxAge=item.maxAge);lc!==naiveLength&&(val.length=item.length);isStale(this,item)&&(val.stale=true);val=util.inspect(val,opts).split("\n").join("\n  ");str+=key+" => "+val});(didFirst||extras)&&(str+="\n");str+="}";return str};LRUCache.prototype.set=function(key,value,maxAge){maxAge=maxAge||this[MAX_AGE];var now=maxAge?Date.now():0;var len=this[LENGTH_CALCULATOR](value,key);if(this[CACHE].has(key)){if(len>this[MAX]){del(this,this[CACHE].get(key));return false}var node=this[CACHE].get(key);var item=node.value;this[DISPOSE]&&(this[NO_DISPOSE_ON_SET]||this[DISPOSE](key,item.value));item.now=now;item.maxAge=maxAge;item.value=value;this[LENGTH]+=len-item.length;item.length=len;this.get(key);trim(this);return true}var hit=new Entry(key,value,len,now,maxAge);if(hit.length>this[MAX]){this[DISPOSE]&&this[DISPOSE](key,value);return false}this[LENGTH]+=hit.length;this[LRU_LIST].unshift(hit);this[CACHE].set(key,this[LRU_LIST].head);trim(this);return true};LRUCache.prototype.has=function(key){if(!this[CACHE].has(key))return false;var hit=this[CACHE].get(key).value;if(isStale(this,hit))return false;return true};LRUCache.prototype.get=function(key){return get(this,key,true)};LRUCache.prototype.peek=function(key){return get(this,key,false)};LRUCache.prototype.pop=function(){var node=this[LRU_LIST].tail;if(!node)return null;del(this,node);return node.value};LRUCache.prototype.del=function(key){del(this,this[CACHE].get(key))};LRUCache.prototype.load=function(arr){this.reset();var now=Date.now();for(var l=arr.length-1;l>=0;l--){var hit=arr[l];var expiresAt=hit.e||0;if(0===expiresAt)this.set(hit.k,hit.v);else{var maxAge=expiresAt-now;maxAge>0&&this.set(hit.k,hit.v,maxAge)}}};LRUCache.prototype.prune=function(){var self=this;this[CACHE].forEach(function(value,key){get(self,key,false)})};function get(self,key,doUse){var node=self[CACHE].get(key);if(node){var hit=node.value;if(isStale(self,hit)){del(self,node);self[ALLOW_STALE]||(hit=void 0)}else doUse&&self[LRU_LIST].unshiftNode(node);hit&&(hit=hit.value)}return hit}function isStale(self,hit){if(!hit||!hit.maxAge&&!self[MAX_AGE])return false;var stale=false;var diff=Date.now()-hit.now;stale=hit.maxAge?diff>hit.maxAge:self[MAX_AGE]&&diff>self[MAX_AGE];return stale}function trim(self){if(self[LENGTH]>self[MAX])for(var walker=self[LRU_LIST].tail;self[LENGTH]>self[MAX]&&null!==walker;){var prev=walker.prev;del(self,walker);walker=prev}}function del(self,node){if(node){var hit=node.value;self[DISPOSE]&&self[DISPOSE](hit.key,hit.value);self[LENGTH]-=hit.length;self[CACHE].delete(hit.key);self[LRU_LIST].removeNode(node)}}function Entry(key,value,length,now,maxAge){this.key=key;this.value=value;this.length=length;this.now=now;this.maxAge=maxAge||0}},function(module,exports,__webpack_require__){(function(process){"pseudomap"===process.env.npm_package_name&&"test"===process.env.npm_lifecycle_script&&(process.env.TEST_PSEUDOMAP="true");"function"!==typeof Map||process.env.TEST_PSEUDOMAP?module.exports=__webpack_require__(2305):module.exports=Map}).call(this,__webpack_require__(59))},function(module,exports){var hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=PseudoMap;function PseudoMap(set){if(!(this instanceof PseudoMap))throw new TypeError("Constructor PseudoMap requires 'new'");this.clear();if(set)if(set instanceof PseudoMap||"function"===typeof Map&&set instanceof Map)set.forEach(function(value,key){this.set(key,value)},this);else{if(!Array.isArray(set))throw new TypeError("invalid argument");set.forEach(function(kv){this.set(kv[0],kv[1])},this)}}PseudoMap.prototype.forEach=function(fn,thisp){thisp=thisp||this;Object.keys(this._data).forEach(function(k){"size"!==k&&fn.call(thisp,this._data[k].value,this._data[k].key)},this)};PseudoMap.prototype.has=function(k){return!!find(this._data,k)};PseudoMap.prototype.get=function(k){var res=find(this._data,k);return res&&res.value};PseudoMap.prototype.set=function(k,v){set(this._data,k,v)};PseudoMap.prototype.delete=function(k){var res=find(this._data,k);if(res){delete this._data[res._index];this._data.size--}};PseudoMap.prototype.clear=function(){var data=Object.create(null);data.size=0;Object.defineProperty(this,"_data",{value:data,enumerable:false,configurable:true,writable:false})};Object.defineProperty(PseudoMap.prototype,"size",{get:function(){return this._data.size},set:function(n){},enumerable:true,configurable:true});PseudoMap.prototype.values=PseudoMap.prototype.keys=PseudoMap.prototype.entries=function(){throw new Error("iterators are not implemented in this version")};function same(a,b){return a===b||a!==a&&b!==b}function Entry(k,v,i){this.key=k;this.value=v;this._index=i}function find(data,k){for(var i=0,s="_"+k,key=s;hasOwnProperty.call(data,key);key=s+i++)if(same(data[key].key,k))return data[key]}function set(data,k,v){for(var i=0,s="_"+k,key=s;hasOwnProperty.call(data,key);key=s+i++)if(same(data[key].key,k)){data[key].value=v;return}data.size++;data[key]=new Entry(k,v,key)}},function(module,exports){module.exports=function isBuffer(arg){return arg&&"object"===typeof arg&&"function"===typeof arg.copy&&"function"===typeof arg.fill&&"function"===typeof arg.readUInt8}},function(module,exports){"function"===typeof Object.create?module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:false,writable:true,configurable:true}})}:module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype;ctor.prototype=new TempCtor;ctor.prototype.constructor=ctor}},function(module,exports){module.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(list){var self=this;self instanceof Yallist||(self=new Yallist);self.tail=null;self.head=null;self.length=0;if(list&&"function"===typeof list.forEach)list.forEach(function(item){self.push(item)});else if(arguments.length>0)for(var i=0,l=arguments.length;i<l;i++)self.push(arguments[i]);return self}Yallist.prototype.removeNode=function(node){if(node.list!==this)throw new Error("removing node which does not belong to this list");var next=node.next;var prev=node.prev;next&&(next.prev=prev);prev&&(prev.next=next);node===this.head&&(this.head=next);node===this.tail&&(this.tail=prev);node.list.length--;node.next=null;node.prev=null;node.list=null};Yallist.prototype.unshiftNode=function(node){if(node===this.head)return;node.list&&node.list.removeNode(node);var head=this.head;node.list=this;node.next=head;head&&(head.prev=node);this.head=node;this.tail||(this.tail=node);this.length++};Yallist.prototype.pushNode=function(node){if(node===this.tail)return;node.list&&node.list.removeNode(node);var tail=this.tail;node.list=this;node.prev=tail;tail&&(tail.next=node);this.tail=node;this.head||(this.head=node);this.length++};Yallist.prototype.push=function(){for(var i=0,l=arguments.length;i<l;i++)push(this,arguments[i]);return this.length};Yallist.prototype.unshift=function(){for(var i=0,l=arguments.length;i<l;i++)unshift(this,arguments[i]);return this.length};Yallist.prototype.pop=function(){if(!this.tail)return;var res=this.tail.value;this.tail=this.tail.prev;this.tail?this.tail.next=null:this.head=null;this.length--;return res};Yallist.prototype.shift=function(){if(!this.head)return;var res=this.head.value;this.head=this.head.next;this.head?this.head.prev=null:this.tail=null;this.length--;return res};Yallist.prototype.forEach=function(fn,thisp){thisp=thisp||this;for(var walker=this.head,i=0;null!==walker;i++){fn.call(thisp,walker.value,i,this);walker=walker.next}};Yallist.prototype.forEachReverse=function(fn,thisp){thisp=thisp||this;for(var walker=this.tail,i=this.length-1;null!==walker;i--){fn.call(thisp,walker.value,i,this);walker=walker.prev}};Yallist.prototype.get=function(n){for(var i=0,walker=this.head;null!==walker&&i<n;i++)walker=walker.next;if(i===n&&null!==walker)return walker.value};Yallist.prototype.getReverse=function(n){for(var i=0,walker=this.tail;null!==walker&&i<n;i++)walker=walker.prev;if(i===n&&null!==walker)return walker.value};Yallist.prototype.map=function(fn,thisp){thisp=thisp||this;var res=new Yallist;for(var walker=this.head;null!==walker;){res.push(fn.call(thisp,walker.value,this));walker=walker.next}return res};Yallist.prototype.mapReverse=function(fn,thisp){thisp=thisp||this;var res=new Yallist;for(var walker=this.tail;null!==walker;){res.push(fn.call(thisp,walker.value,this));walker=walker.prev}return res};Yallist.prototype.reduce=function(fn,initial){var acc;var walker=this.head;if(arguments.length>1)acc=initial;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");walker=this.head.next;acc=this.head.value}for(var i=0;null!==walker;i++){acc=fn(acc,walker.value,i);walker=walker.next}return acc};Yallist.prototype.reduceReverse=function(fn,initial){var acc;var walker=this.tail;if(arguments.length>1)acc=initial;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");walker=this.tail.prev;acc=this.tail.value}for(var i=this.length-1;null!==walker;i--){acc=fn(acc,walker.value,i);walker=walker.prev}return acc};Yallist.prototype.toArray=function(){var arr=new Array(this.length);for(var i=0,walker=this.head;null!==walker;i++){arr[i]=walker.value;walker=walker.next}return arr};Yallist.prototype.toArrayReverse=function(){var arr=new Array(this.length);for(var i=0,walker=this.tail;null!==walker;i++){arr[i]=walker.value;walker=walker.prev}return arr};Yallist.prototype.slice=function(from,to){to=to||this.length;to<0&&(to+=this.length);from=from||0;from<0&&(from+=this.length);var ret=new Yallist;if(to<from||to<0)return ret;from<0&&(from=0);to>this.length&&(to=this.length);for(var i=0,walker=this.head;null!==walker&&i<from;i++)walker=walker.next;for(;null!==walker&&i<to;i++,walker=walker.next)ret.push(walker.value);return ret};Yallist.prototype.sliceReverse=function(from,to){to=to||this.length;to<0&&(to+=this.length);from=from||0;from<0&&(from+=this.length);var ret=new Yallist;if(to<from||to<0)return ret;from<0&&(from=0);to>this.length&&(to=this.length);for(var i=this.length,walker=this.tail;null!==walker&&i>to;i--)walker=walker.prev;for(;null!==walker&&i>from;i--,walker=walker.prev)ret.push(walker.value);return ret};Yallist.prototype.reverse=function(){var head=this.head;var tail=this.tail;for(var walker=head;null!==walker;walker=walker.prev){var p=walker.prev;walker.prev=walker.next;walker.next=p}this.head=tail;this.tail=head;return this};function push(self,item){self.tail=new Node(item,self.tail,null,self);self.head||(self.head=self.tail);self.length++}function unshift(self,item){self.head=new Node(item,null,self.head,self);self.tail||(self.tail=self.head);self.length++}function Node(value,prev,next,list){if(!(this instanceof Node))return new Node(value,prev,next,list);this.list=list;this.value=value;if(prev){prev.next=this;this.prev=prev}else this.prev=null;if(next){next.prev=this;this.next=next}else this.next=null}},function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(2310)},function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__(23);var helpers=__webpack_require__(2318);var Renderer=__webpack_require__(2322);var ParserCore=__webpack_require__(2323);var ParserBlock=__webpack_require__(2331);var ParserInline=__webpack_require__(2345);var LinkifyIt=__webpack_require__(2358);var mdurl=__webpack_require__(887);var punycode=__webpack_require__(894);var config={default:__webpack_require__(2360),zero:__webpack_require__(2361),commonmark:__webpack_require__(2362)};var BAD_PROTO_RE=/^(vbscript|javascript|file|data):/;var GOOD_DATA_RE=/^data:image\/(gif|png|jpeg|webp);/;function validateLink(url){var str=url.trim().toLowerCase();return!BAD_PROTO_RE.test(str)||!!GOOD_DATA_RE.test(str)}var RECODE_HOSTNAME_FOR=["http:","https:","mailto:"];function normalizeLink(url){var parsed=mdurl.parse(url,true);if(parsed.hostname&&(!parsed.protocol||RECODE_HOSTNAME_FOR.indexOf(parsed.protocol)>=0))try{parsed.hostname=punycode.toASCII(parsed.hostname)}catch(er){}return mdurl.encode(mdurl.format(parsed))}function normalizeLinkText(url){var parsed=mdurl.parse(url,true);if(parsed.hostname&&(!parsed.protocol||RECODE_HOSTNAME_FOR.indexOf(parsed.protocol)>=0))try{parsed.hostname=punycode.toUnicode(parsed.hostname)}catch(er){}return mdurl.decode(mdurl.format(parsed))}function MarkdownIt(presetName,options){if(!(this instanceof MarkdownIt))return new MarkdownIt(presetName,options);if(!options&&!utils.isString(presetName)){options=presetName||{};presetName="default"}this.inline=new ParserInline;this.block=new ParserBlock;this.core=new ParserCore;this.renderer=new Renderer;this.linkify=new LinkifyIt;this.validateLink=validateLink;this.normalizeLink=normalizeLink;this.normalizeLinkText=normalizeLinkText;this.utils=utils;this.helpers=utils.assign({},helpers);this.options={};this.configure(presetName);options&&this.set(options)}MarkdownIt.prototype.set=function(options){utils.assign(this.options,options);return this};MarkdownIt.prototype.configure=function(presets){var presetName,self=this;if(utils.isString(presets)){presetName=presets;presets=config[presetName];if(!presets)throw new Error('Wrong `markdown-it` preset "'+presetName+'", check name')}if(!presets)throw new Error("Wrong `markdown-it` preset, can't be empty");presets.options&&self.set(presets.options);presets.components&&Object.keys(presets.components).forEach(function(name){presets.components[name].rules&&self[name].ruler.enableOnly(presets.components[name].rules);presets.components[name].rules2&&self[name].ruler2.enableOnly(presets.components[name].rules2)});return this};MarkdownIt.prototype.enable=function(list,ignoreInvalid){var result=[];Array.isArray(list)||(list=[list]);["core","block","inline"].forEach(function(chain){result=result.concat(this[chain].ruler.enable(list,true))},this);result=result.concat(this.inline.ruler2.enable(list,true));var missed=list.filter(function(name){return result.indexOf(name)<0});if(missed.length&&!ignoreInvalid)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+missed);return this};MarkdownIt.prototype.disable=function(list,ignoreInvalid){var result=[];Array.isArray(list)||(list=[list]);["core","block","inline"].forEach(function(chain){result=result.concat(this[chain].ruler.disable(list,true))},this);result=result.concat(this.inline.ruler2.disable(list,true));var missed=list.filter(function(name){return result.indexOf(name)<0});if(missed.length&&!ignoreInvalid)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+missed);return this};MarkdownIt.prototype.use=function(plugin){var args=[this].concat(Array.prototype.slice.call(arguments,1));plugin.apply(plugin,args);return this};MarkdownIt.prototype.parse=function(src,env){if("string"!==typeof src)throw new Error("Input data should be a String");var state=new this.core.State(src,this,env);this.core.process(state);return state.tokens};MarkdownIt.prototype.render=function(src,env){env=env||{};return this.renderer.render(this.parse(src,env),this.options,env)};MarkdownIt.prototype.parseInline=function(src,env){var state=new this.core.State(src,this,env);state.inlineMode=true;this.core.process(state);return state.tokens};MarkdownIt.prototype.renderInline=function(src,env){env=env||{};return this.renderer.render(this.parseInline(src,env),this.options,env)};module.exports=MarkdownIt},function(module){module.exports={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:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",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:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",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:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",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:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",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:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",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:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",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:"▫",emsp13:" ",emsp14:" ",emsp:" ",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:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",Ffr:"𝔉",ffr:"𝔣",filig:"ﬁ",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"ﬂ",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:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",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:"Ĳ",ijlig:"ĳ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",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:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",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:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",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:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",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:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",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:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",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:"ŉ",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",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:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",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:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",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:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",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:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",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:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",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:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",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:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",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:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",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:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",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:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",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:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",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:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",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:"‌"}},function(module,exports,__webpack_require__){"use strict";var encodeCache={};function getEncodeCache(exclude){var i,ch,cache=encodeCache[exclude];if(cache)return cache;cache=encodeCache[exclude]=[];for(i=0;i<128;i++){ch=String.fromCharCode(i);/^[0-9a-z]$/i.test(ch)?cache.push(ch):cache.push("%"+("0"+i.toString(16).toUpperCase()).slice(-2))}for(i=0;i<exclude.length;i++)cache[exclude.charCodeAt(i)]=exclude[i];return cache}function encode(string,exclude,keepEscaped){var i,l,code,nextCode,cache,result="";if("string"!==typeof exclude){keepEscaped=exclude;exclude=encode.defaultChars}"undefined"===typeof keepEscaped&&(keepEscaped=true);cache=getEncodeCache(exclude);for(i=0,l=string.length;i<l;i++){code=string.charCodeAt(i);if(keepEscaped&&37===code&&i+2<l&&/^[0-9a-f]{2}$/i.test(string.slice(i+1,i+3))){result+=string.slice(i,i+3);i+=2;continue}if(code<128){result+=cache[code];continue}if(code>=55296&&code<=57343){if(code>=55296&&code<=56319&&i+1<l){nextCode=string.charCodeAt(i+1);if(nextCode>=56320&&nextCode<=57343){result+=encodeURIComponent(string[i]+string[i+1]);i++;continue}}result+="%EF%BF%BD";continue}result+=encodeURIComponent(string[i])}return result}encode.defaultChars=";/?:@&=+$,-_.!~*'()#";encode.componentChars="-_.!~*'()";module.exports=encode},function(module,exports,__webpack_require__){"use strict";var decodeCache={};function getDecodeCache(exclude){var i,ch,cache=decodeCache[exclude];if(cache)return cache;cache=decodeCache[exclude]=[];for(i=0;i<128;i++){ch=String.fromCharCode(i);cache.push(ch)}for(i=0;i<exclude.length;i++){ch=exclude.charCodeAt(i);cache[ch]="%"+("0"+ch.toString(16).toUpperCase()).slice(-2)}return cache}function decode(string,exclude){var cache;"string"!==typeof exclude&&(exclude=decode.defaultChars);cache=getDecodeCache(exclude);return string.replace(/(%[a-f0-9]{2})+/gi,function(seq){var i,l,b1,b2,b3,b4,chr,result="";for(i=0,l=seq.length;i<l;i+=3){b1=parseInt(seq.slice(i+1,i+3),16);if(b1<128){result+=cache[b1];continue}if(192===(224&b1)&&i+3<l){b2=parseInt(seq.slice(i+4,i+6),16);if(128===(192&b2)){chr=b1<<6&1984|63&b2;result+=chr<128?"��":String.fromCharCode(chr);i+=3;continue}}if(224===(240&b1)&&i+6<l){b2=parseInt(seq.slice(i+4,i+6),16);b3=parseInt(seq.slice(i+7,i+9),16);if(128===(192&b2)&&128===(192&b3)){chr=b1<<12&61440|b2<<6&4032|63&b3;result+=chr<2048||chr>=55296&&chr<=57343?"���":String.fromCharCode(chr);i+=6;continue}}if(240===(248&b1)&&i+9<l){b2=parseInt(seq.slice(i+4,i+6),16);b3=parseInt(seq.slice(i+7,i+9),16);b4=parseInt(seq.slice(i+10,i+12),16);if(128===(192&b2)&&128===(192&b3)&&128===(192&b4)){chr=b1<<18&1835008|b2<<12&258048|b3<<6&4032|63&b4;if(chr<65536||chr>1114111)result+="����";else{chr-=65536;result+=String.fromCharCode(55296+(chr>>10),56320+(1023&chr))}i+=9;continue}}result+="�"}return result})}decode.defaultChars=";/?:@&=+$,#";decode.componentChars="";module.exports=decode},function(module,exports,__webpack_require__){"use strict";module.exports=function format(url){var result="";result+=url.protocol||"";result+=url.slashes?"//":"";result+=url.auth?url.auth+"@":"";url.hostname&&-1!==url.hostname.indexOf(":")?result+="["+url.hostname+"]":result+=url.hostname||"";result+=url.port?":"+url.port:"";result+=url.pathname||"";result+=url.search||"";result+=url.hash||"";return result}},function(module,exports,__webpack_require__){"use strict";function Url(){this.protocol=null;this.slashes=null;this.auth=null;this.port=null;this.hostname=null;this.hash=null;this.search=null;this.pathname=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r","\n","\t"],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,hostlessProtocol={javascript:true,"javascript:":true},slashedProtocol={http:true,https:true,ftp:true,gopher:true,file:true,"http:":true,"https:":true,"ftp:":true,"gopher:":true,"file:":true};function urlParse(url,slashesDenoteHost){if(url&&url instanceof Url)return url;var u=new Url;u.parse(url,slashesDenoteHost);return u}Url.prototype.parse=function(url,slashesDenoteHost){var i,l,lowerProto,hec,slashes,rest=url;rest=rest.trim();if(!slashesDenoteHost&&1===url.split("#").length){var simplePath=simplePathPattern.exec(rest);if(simplePath){this.pathname=simplePath[1];simplePath[2]&&(this.search=simplePath[2]);return this}}var proto=protocolPattern.exec(rest);if(proto){proto=proto[0];lowerProto=proto.toLowerCase();this.protocol=proto;rest=rest.substr(proto.length)}if(slashesDenoteHost||proto||rest.match(/^\/\/[^@\/]+@[^@\/]+/)){slashes="//"===rest.substr(0,2);if(slashes&&!(proto&&hostlessProtocol[proto])){rest=rest.substr(2);this.slashes=true}}if(!hostlessProtocol[proto]&&(slashes||proto&&!slashedProtocol[proto])){var hostEnd=-1;for(i=0;i<hostEndingChars.length;i++){hec=rest.indexOf(hostEndingChars[i]);-1!==hec&&(-1===hostEnd||hec<hostEnd)&&(hostEnd=hec)}var auth,atSign;atSign=-1===hostEnd?rest.lastIndexOf("@"):rest.lastIndexOf("@",hostEnd);if(-1!==atSign){auth=rest.slice(0,atSign);rest=rest.slice(atSign+1);this.auth=auth}hostEnd=-1;for(i=0;i<nonHostChars.length;i++){hec=rest.indexOf(nonHostChars[i]);-1!==hec&&(-1===hostEnd||hec<hostEnd)&&(hostEnd=hec)}-1===hostEnd&&(hostEnd=rest.length);":"===rest[hostEnd-1]&&hostEnd--;var host=rest.slice(0,hostEnd);rest=rest.slice(hostEnd);this.parseHost(host);this.hostname=this.hostname||"";var ipv6Hostname="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!ipv6Hostname){var hostparts=this.hostname.split(/\./);for(i=0,l=hostparts.length;i<l;i++){var part=hostparts[i];if(!part)continue;if(!part.match(hostnamePartPattern)){var newpart="";for(var j=0,k=part.length;j<k;j++)part.charCodeAt(j)>127?newpart+="x":newpart+=part[j];if(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i);var notHost=hostparts.slice(i+1);var bit=part.match(hostnamePartStart);if(bit){validParts.push(bit[1]);notHost.unshift(bit[2])}notHost.length&&(rest=notHost.join(".")+rest);this.hostname=validParts.join(".");break}}}}this.hostname.length>hostnameMaxLen&&(this.hostname="");ipv6Hostname&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var hash=rest.indexOf("#");if(-1!==hash){this.hash=rest.substr(hash);rest=rest.slice(0,hash)}var qm=rest.indexOf("?");if(-1!==qm){this.search=rest.substr(qm);rest=rest.slice(0,qm)}rest&&(this.pathname=rest);slashedProtocol[lowerProto]&&this.hostname&&!this.pathname&&(this.pathname="");return this};Url.prototype.parseHost=function(host){var port=portPattern.exec(host);if(port){port=port[0];":"!==port&&(this.port=port.substr(1));host=host.substr(0,host.length-port.length)}host&&(this.hostname=host)};module.exports=urlParse},function(module,exports,__webpack_require__){"use strict";exports.Any=__webpack_require__(888);exports.Cc=__webpack_require__(889);exports.Cf=__webpack_require__(2317);exports.P=__webpack_require__(496);exports.Z=__webpack_require__(890)},function(module,exports){module.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(module,exports,__webpack_require__){"use strict";exports.parseLinkLabel=__webpack_require__(2319);exports.parseLinkDestination=__webpack_require__(2320);exports.parseLinkTitle=__webpack_require__(2321)},function(module,exports,__webpack_require__){"use strict";module.exports=function parseLinkLabel(state,start,disableNested){var level,found,marker,prevPos,labelEnd=-1,max=state.posMax,oldPos=state.pos;state.pos=start+1;level=1;while(state.pos<max){marker=state.src.charCodeAt(state.pos);if(93===marker){level--;if(0===level){found=true;break}}prevPos=state.pos;state.md.inline.skipToken(state);if(91===marker)if(prevPos===state.pos-1)level++;else if(disableNested){state.pos=oldPos;return-1}}found&&(labelEnd=state.pos);state.pos=oldPos;return labelEnd}},function(module,exports,__webpack_require__){"use strict";var isSpace=__webpack_require__(23).isSpace;var unescapeAll=__webpack_require__(23).unescapeAll;module.exports=function parseLinkDestination(str,pos,max){var code,level,lines=0,start=pos,result={ok:false,pos:0,lines:0,str:""};if(60===str.charCodeAt(pos)){pos++;while(pos<max){code=str.charCodeAt(pos);if(10===code||isSpace(code))return result;if(62===code){result.pos=pos+1;result.str=unescapeAll(str.slice(start+1,pos));result.ok=true;return result}if(92===code&&pos+1<max){pos+=2;continue}pos++}return result}level=0;while(pos<max){code=str.charCodeAt(pos);if(32===code)break;if(code<32||127===code)break;if(92===code&&pos+1<max){pos+=2;continue}40===code&&level++;if(41===code){if(0===level)break;level--}pos++}if(start===pos)return result;if(0!==level)return result;result.str=unescapeAll(str.slice(start,pos));result.lines=lines;result.pos=pos;result.ok=true;return result}},function(module,exports,__webpack_require__){"use strict";var unescapeAll=__webpack_require__(23).unescapeAll;module.exports=function parseLinkTitle(str,pos,max){var code,marker,lines=0,start=pos,result={ok:false,pos:0,lines:0,str:""};if(pos>=max)return result;marker=str.charCodeAt(pos);if(34!==marker&&39!==marker&&40!==marker)return result;pos++;40===marker&&(marker=41);while(pos<max){code=str.charCodeAt(pos);if(code===marker){result.pos=pos+1;result.lines=lines;result.str=unescapeAll(str.slice(start+1,pos));result.ok=true;return result}if(10===code)lines++;else if(92===code&&pos+1<max){pos++;10===str.charCodeAt(pos)&&lines++}pos++}return result}},function(module,exports,__webpack_require__){"use strict";var assign=__webpack_require__(23).assign;var unescapeAll=__webpack_require__(23).unescapeAll;var escapeHtml=__webpack_require__(23).escapeHtml;var default_rules={};default_rules.code_inline=function(tokens,idx,options,env,slf){var token=tokens[idx];return"<code"+slf.renderAttrs(token)+">"+escapeHtml(tokens[idx].content)+"</code>"};default_rules.code_block=function(tokens,idx,options,env,slf){var token=tokens[idx];return"<pre"+slf.renderAttrs(token)+"><code>"+escapeHtml(tokens[idx].content)+"</code></pre>\n"};default_rules.fence=function(tokens,idx,options,env,slf){var highlighted,i,tmpAttrs,tmpToken,token=tokens[idx],info=token.info?unescapeAll(token.info).trim():"",langName="";info&&(langName=info.split(/\s+/g)[0]);highlighted=options.highlight&&options.highlight(token.content,langName)||escapeHtml(token.content);if(0===highlighted.indexOf("<pre"))return highlighted+"\n";if(info){i=token.attrIndex("class");tmpAttrs=token.attrs?token.attrs.slice():[];i<0?tmpAttrs.push(["class",options.langPrefix+langName]):tmpAttrs[i][1]+=" "+options.langPrefix+langName;tmpToken={attrs:tmpAttrs};return"<pre><code"+slf.renderAttrs(tmpToken)+">"+highlighted+"</code></pre>\n"}return"<pre><code"+slf.renderAttrs(token)+">"+highlighted+"</code></pre>\n"};default_rules.image=function(tokens,idx,options,env,slf){var token=tokens[idx];token.attrs[token.attrIndex("alt")][1]=slf.renderInlineAsText(token.children,options,env);return slf.renderToken(tokens,idx,options)};default_rules.hardbreak=function(tokens,idx,options){return options.xhtmlOut?"<br />\n":"<br>\n"};default_rules.softbreak=function(tokens,idx,options){return options.breaks?options.xhtmlOut?"<br />\n":"<br>\n":"\n"};default_rules.text=function(tokens,idx){return escapeHtml(tokens[idx].content)};default_rules.html_block=function(tokens,idx){return tokens[idx].content};default_rules.html_inline=function(tokens,idx){return tokens[idx].content};function Renderer(){this.rules=assign({},default_rules)}Renderer.prototype.renderAttrs=function renderAttrs(token){var i,l,result;if(!token.attrs)return"";result="";for(i=0,l=token.attrs.length;i<l;i++)result+=" "+escapeHtml(token.attrs[i][0])+'="'+escapeHtml(token.attrs[i][1])+'"';return result};Renderer.prototype.renderToken=function renderToken(tokens,idx,options){var nextToken,result="",needLf=false,token=tokens[idx];if(token.hidden)return"";token.block&&-1!==token.nesting&&idx&&tokens[idx-1].hidden&&(result+="\n");result+=(-1===token.nesting?"</":"<")+token.tag;result+=this.renderAttrs(token);0===token.nesting&&options.xhtmlOut&&(result+=" /");if(token.block){needLf=true;if(1===token.nesting&&idx+1<tokens.length){nextToken=tokens[idx+1];"inline"===nextToken.type||nextToken.hidden?needLf=false:-1===nextToken.nesting&&nextToken.tag===token.tag&&(needLf=false)}}result+=needLf?">\n":">";return result};Renderer.prototype.renderInline=function(tokens,options,env){var type,result="",rules=this.rules;for(var i=0,len=tokens.length;i<len;i++){type=tokens[i].type;"undefined"!==typeof rules[type]?result+=rules[type](tokens,i,options,env,this):result+=this.renderToken(tokens,i,options)}return result};Renderer.prototype.renderInlineAsText=function(tokens,options,env){var result="";for(var i=0,len=tokens.length;i<len;i++)"text"===tokens[i].type?result+=tokens[i].content:"image"===tokens[i].type&&(result+=this.renderInlineAsText(tokens[i].children,options,env));return result};Renderer.prototype.render=function(tokens,options,env){var i,len,type,result="",rules=this.rules;for(i=0,len=tokens.length;i<len;i++){type=tokens[i].type;"inline"===type?result+=this.renderInline(tokens[i].children,options,env):"undefined"!==typeof rules[type]?result+=rules[tokens[i].type](tokens,i,options,env,this):result+=this.renderToken(tokens,i,options,env)}return result};module.exports=Renderer},function(module,exports,__webpack_require__){"use strict";var Ruler=__webpack_require__(497);var _rules=[["normalize",__webpack_require__(2324)],["block",__webpack_require__(2325)],["inline",__webpack_require__(2326)],["linkify",__webpack_require__(2327)],["replacements",__webpack_require__(2328)],["smartquotes",__webpack_require__(2329)]];function Core(){this.ruler=new Ruler;for(var i=0;i<_rules.length;i++)this.ruler.push(_rules[i][0],_rules[i][1])}Core.prototype.process=function(state){var i,l,rules;rules=this.ruler.getRules("");for(i=0,l=rules.length;i<l;i++)rules[i](state)};Core.prototype.State=__webpack_require__(2330);module.exports=Core},function(module,exports,__webpack_require__){"use strict";var NEWLINES_RE=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g;var NULL_RE=/\u0000/g;module.exports=function inline(state){var str;str=state.src.replace(NEWLINES_RE,"\n");str=str.replace(NULL_RE,"�");state.src=str}},function(module,exports,__webpack_require__){"use strict";module.exports=function block(state){var token;if(state.inlineMode){token=new state.Token("inline","",0);token.content=state.src;token.map=[0,1];token.children=[];state.tokens.push(token)}else state.md.block.parse(state.src,state.md,state.env,state.tokens)}},function(module,exports,__webpack_require__){"use strict";module.exports=function inline(state){var tok,i,l,tokens=state.tokens;for(i=0,l=tokens.length;i<l;i++){tok=tokens[i];"inline"===tok.type&&state.md.inline.parse(tok.content,state.md,state.env,tok.children)}}},function(module,exports,__webpack_require__){"use strict";var arrayReplaceAt=__webpack_require__(23).arrayReplaceAt;function isLinkOpen(str){return/^<a[>\s]/i.test(str)}function isLinkClose(str){return/^<\/a\s*>/i.test(str)}module.exports=function linkify(state){var i,j,l,tokens,token,currentToken,nodes,ln,text,pos,lastPos,level,htmlLinkLevel,url,fullUrl,urlText,links,blockTokens=state.tokens;if(!state.md.options.linkify)return;for(j=0,l=blockTokens.length;j<l;j++){if("inline"!==blockTokens[j].type||!state.md.linkify.pretest(blockTokens[j].content))continue;tokens=blockTokens[j].children;htmlLinkLevel=0;for(i=tokens.length-1;i>=0;i--){currentToken=tokens[i];if("link_close"===currentToken.type){i--;while(tokens[i].level!==currentToken.level&&"link_open"!==tokens[i].type)i--;continue}if("html_inline"===currentToken.type){isLinkOpen(currentToken.content)&&htmlLinkLevel>0&&htmlLinkLevel--;isLinkClose(currentToken.content)&&htmlLinkLevel++}if(htmlLinkLevel>0)continue;if("text"===currentToken.type&&state.md.linkify.test(currentToken.content)){text=currentToken.content;links=state.md.linkify.match(text);nodes=[];level=currentToken.level;lastPos=0;for(ln=0;ln<links.length;ln++){url=links[ln].url;fullUrl=state.md.normalizeLink(url);if(!state.md.validateLink(fullUrl))continue;urlText=links[ln].text;urlText=links[ln].schema?"mailto:"!==links[ln].schema||/^mailto:/i.test(urlText)?state.md.normalizeLinkText(urlText):state.md.normalizeLinkText("mailto:"+urlText).replace(/^mailto:/,""):state.md.normalizeLinkText("http://"+urlText).replace(/^http:\/\//,"");pos=links[ln].index;if(pos>lastPos){token=new state.Token("text","",0);token.content=text.slice(lastPos,pos);token.level=level;nodes.push(token)}token=new state.Token("link_open","a",1);token.attrs=[["href",fullUrl]];token.level=level++;token.markup="linkify";token.info="auto";nodes.push(token);token=new state.Token("text","",0);token.content=urlText;token.level=level;nodes.push(token);token=new state.Token("link_close","a",-1);token.level=--level;token.markup="linkify";token.info="auto";nodes.push(token);lastPos=links[ln].lastIndex}if(lastPos<text.length){token=new state.Token("text","",0);token.content=text.slice(lastPos);token.level=level;nodes.push(token)}blockTokens[j].children=tokens=arrayReplaceAt(tokens,i,nodes)}}}}},function(module,exports,__webpack_require__){"use strict";var RARE_RE=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/;var SCOPED_ABBR_TEST_RE=/\((c|tm|r|p)\)/i;var SCOPED_ABBR_RE=/\((c|tm|r|p)\)/gi;var SCOPED_ABBR={c:"©",r:"®",p:"§",tm:"™"};function replaceFn(match,name){return SCOPED_ABBR[name.toLowerCase()]}function replace_scoped(inlineTokens){var i,token,inside_autolink=0;for(i=inlineTokens.length-1;i>=0;i--){token=inlineTokens[i];"text"!==token.type||inside_autolink||(token.content=token.content.replace(SCOPED_ABBR_RE,replaceFn));"link_open"===token.type&&"auto"===token.info&&inside_autolink--;"link_close"===token.type&&"auto"===token.info&&inside_autolink++}}function replace_rare(inlineTokens){var i,token,inside_autolink=0;for(i=inlineTokens.length-1;i>=0;i--){token=inlineTokens[i];"text"!==token.type||inside_autolink||RARE_RE.test(token.content)&&(token.content=token.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2"));"link_open"===token.type&&"auto"===token.info&&inside_autolink--;"link_close"===token.type&&"auto"===token.info&&inside_autolink++}}module.exports=function replace(state){var blkIdx;if(!state.md.options.typographer)return;for(blkIdx=state.tokens.length-1;blkIdx>=0;blkIdx--){if("inline"!==state.tokens[blkIdx].type)continue;SCOPED_ABBR_TEST_RE.test(state.tokens[blkIdx].content)&&replace_scoped(state.tokens[blkIdx].children);RARE_RE.test(state.tokens[blkIdx].content)&&replace_rare(state.tokens[blkIdx].children)}}},function(module,exports,__webpack_require__){"use strict";var isWhiteSpace=__webpack_require__(23).isWhiteSpace;var isPunctChar=__webpack_require__(23).isPunctChar;var isMdAsciiPunct=__webpack_require__(23).isMdAsciiPunct;var QUOTE_TEST_RE=/['"]/;var QUOTE_RE=/['"]/g;var APOSTROPHE="’";function replaceAt(str,index,ch){return str.substr(0,index)+ch+str.substr(index+1)}function process_inlines(tokens,state){var i,token,text,t,pos,max,thisLevel,item,lastChar,nextChar,isLastPunctChar,isNextPunctChar,isLastWhiteSpace,isNextWhiteSpace,canOpen,canClose,j,isSingle,stack,openQuote,closeQuote;stack=[];for(i=0;i<tokens.length;i++){token=tokens[i];thisLevel=tokens[i].level;for(j=stack.length-1;j>=0;j--)if(stack[j].level<=thisLevel)break;stack.length=j+1;if("text"!==token.type)continue;text=token.content;pos=0;max=text.length;OUTER:while(pos<max){QUOTE_RE.lastIndex=pos;t=QUOTE_RE.exec(text);if(!t)break;canOpen=canClose=true;pos=t.index+1;isSingle="'"===t[0];lastChar=32;if(t.index-1>=0)lastChar=text.charCodeAt(t.index-1);else for(j=i-1;j>=0;j--){if("softbreak"===tokens[j].type||"hardbreak"===tokens[j].type)break;if("text"!==tokens[j].type)continue;lastChar=tokens[j].content.charCodeAt(tokens[j].content.length-1);break}nextChar=32;if(pos<max)nextChar=text.charCodeAt(pos);else for(j=i+1;j<tokens.length;j++){if("softbreak"===tokens[j].type||"hardbreak"===tokens[j].type)break;if("text"!==tokens[j].type)continue;nextChar=tokens[j].content.charCodeAt(0);break}isLastPunctChar=isMdAsciiPunct(lastChar)||isPunctChar(String.fromCharCode(lastChar));isNextPunctChar=isMdAsciiPunct(nextChar)||isPunctChar(String.fromCharCode(nextChar));isLastWhiteSpace=isWhiteSpace(lastChar);isNextWhiteSpace=isWhiteSpace(nextChar);isNextWhiteSpace?canOpen=false:isNextPunctChar&&(isLastWhiteSpace||isLastPunctChar||(canOpen=false));isLastWhiteSpace?canClose=false:isLastPunctChar&&(isNextWhiteSpace||isNextPunctChar||(canClose=false));34===nextChar&&'"'===t[0]&&lastChar>=48&&lastChar<=57&&(canClose=canOpen=false);if(canOpen&&canClose){canOpen=false;canClose=isNextPunctChar}if(!canOpen&&!canClose){isSingle&&(token.content=replaceAt(token.content,t.index,APOSTROPHE));continue}if(canClose)for(j=stack.length-1;j>=0;j--){item=stack[j];if(stack[j].level<thisLevel)break;if(item.single===isSingle&&stack[j].level===thisLevel){item=stack[j];if(isSingle){openQuote=state.md.options.quotes[2];closeQuote=state.md.options.quotes[3]}else{openQuote=state.md.options.quotes[0];closeQuote=state.md.options.quotes[1]}token.content=replaceAt(token.content,t.index,closeQuote);tokens[item.token].content=replaceAt(tokens[item.token].content,item.pos,openQuote);pos+=closeQuote.length-1;item.token===i&&(pos+=openQuote.length-1);text=token.content;max=text.length;stack.length=j;continue OUTER}}canOpen?stack.push({token:i,pos:t.index,single:isSingle,level:thisLevel}):canClose&&isSingle&&(token.content=replaceAt(token.content,t.index,APOSTROPHE))}}}module.exports=function smartquotes(state){var blkIdx;if(!state.md.options.typographer)return;for(blkIdx=state.tokens.length-1;blkIdx>=0;blkIdx--){if("inline"!==state.tokens[blkIdx].type||!QUOTE_TEST_RE.test(state.tokens[blkIdx].content))continue;process_inlines(state.tokens[blkIdx].children,state)}}},function(module,exports,__webpack_require__){"use strict";var Token=__webpack_require__(498);function StateCore(src,md,env){this.src=src;this.env=env;this.tokens=[];this.inlineMode=false;this.md=md}StateCore.prototype.Token=Token;module.exports=StateCore},function(module,exports,__webpack_require__){"use strict";var Ruler=__webpack_require__(497);var _rules=[["table",__webpack_require__(2332),["paragraph","reference"]],["code",__webpack_require__(2333)],["fence",__webpack_require__(2334),["paragraph","reference","blockquote","list"]],["blockquote",__webpack_require__(2335),["paragraph","reference","blockquote","list"]],["hr",__webpack_require__(2336),["paragraph","reference","blockquote","list"]],["list",__webpack_require__(2337),["paragraph","reference","blockquote"]],["reference",__webpack_require__(2338)],["heading",__webpack_require__(2339),["paragraph","reference","blockquote"]],["lheading",__webpack_require__(2340)],["html_block",__webpack_require__(2341),["paragraph","reference","blockquote"]],["paragraph",__webpack_require__(2343)]];function ParserBlock(){this.ruler=new Ruler;for(var i=0;i<_rules.length;i++)this.ruler.push(_rules[i][0],_rules[i][1],{alt:(_rules[i][2]||[]).slice()})}ParserBlock.prototype.tokenize=function(state,startLine,endLine){var ok,i,rules=this.ruler.getRules(""),len=rules.length,line=startLine,hasEmptyLines=false,maxNesting=state.md.options.maxNesting;while(line<endLine){state.line=line=state.skipEmptyLines(line);if(line>=endLine)break;if(state.sCount[line]<state.blkIndent)break;if(state.level>=maxNesting){state.line=endLine;break}for(i=0;i<len;i++){ok=rules[i](state,line,endLine,false);if(ok)break}state.tight=!hasEmptyLines;state.isEmpty(state.line-1)&&(hasEmptyLines=true);line=state.line;if(line<endLine&&state.isEmpty(line)){hasEmptyLines=true;line++;state.line=line}}};ParserBlock.prototype.parse=function(src,md,env,outTokens){var state;if(!src)return;state=new this.State(src,md,env,outTokens);this.tokenize(state,state.line,state.lineMax)};ParserBlock.prototype.State=__webpack_require__(2344);module.exports=ParserBlock},function(module,exports,__webpack_require__){"use strict";var isSpace=__webpack_require__(23).isSpace;function getLine(state,line){var pos=state.bMarks[line]+state.blkIndent,max=state.eMarks[line];return state.src.substr(pos,max-pos)}function escapedSplit(str){var ch,result=[],pos=0,max=str.length,escapes=0,lastPos=0,backTicked=false,lastBackTick=0;ch=str.charCodeAt(pos);while(pos<max){if(96===ch){if(backTicked){backTicked=false;lastBackTick=pos}else if(escapes%2===0){backTicked=true;lastBackTick=pos}}else if(124===ch&&escapes%2===0&&!backTicked){result.push(str.substring(lastPos,pos));lastPos=pos+1}92===ch?escapes++:escapes=0;pos++;if(pos===max&&backTicked){backTicked=false;pos=lastBackTick+1}ch=str.charCodeAt(pos)}result.push(str.substring(lastPos));return result}module.exports=function table(state,startLine,endLine,silent){var ch,lineText,pos,i,nextLine,columns,columnCount,token,aligns,t,tableLines,tbodyLines;if(startLine+2>endLine)return false;nextLine=startLine+1;if(state.sCount[nextLine]<state.blkIndent)return false;if(state.sCount[nextLine]-state.blkIndent>=4)return false;pos=state.bMarks[nextLine]+state.tShift[nextLine];if(pos>=state.eMarks[nextLine])return false;ch=state.src.charCodeAt(pos++);if(124!==ch&&45!==ch&&58!==ch)return false;while(pos<state.eMarks[nextLine]){ch=state.src.charCodeAt(pos);if(124!==ch&&45!==ch&&58!==ch&&!isSpace(ch))return false;pos++}lineText=getLine(state,startLine+1);columns=lineText.split("|");aligns=[];for(i=0;i<columns.length;i++){t=columns[i].trim();if(!t){if(0===i||i===columns.length-1)continue;return false}if(!/^:?-+:?$/.test(t))return false;58===t.charCodeAt(t.length-1)?aligns.push(58===t.charCodeAt(0)?"center":"right"):58===t.charCodeAt(0)?aligns.push("left"):aligns.push("")}lineText=getLine(state,startLine).trim();if(-1===lineText.indexOf("|"))return false;if(state.sCount[startLine]-state.blkIndent>=4)return false;columns=escapedSplit(lineText.replace(/^\||\|$/g,""));columnCount=columns.length;if(columnCount>aligns.length)return false;if(silent)return true;token=state.push("table_open","table",1);token.map=tableLines=[startLine,0];token=state.push("thead_open","thead",1);token.map=[startLine,startLine+1];token=state.push("tr_open","tr",1);token.map=[startLine,startLine+1];for(i=0;i<columns.length;i++){token=state.push("th_open","th",1);token.map=[startLine,startLine+1];aligns[i]&&(token.attrs=[["style","text-align:"+aligns[i]]]);token=state.push("inline","",0);token.content=columns[i].trim();token.map=[startLine,startLine+1];token.children=[];token=state.push("th_close","th",-1)}token=state.push("tr_close","tr",-1);token=state.push("thead_close","thead",-1);token=state.push("tbody_open","tbody",1);token.map=tbodyLines=[startLine+2,0];for(nextLine=startLine+2;nextLine<endLine;nextLine++){if(state.sCount[nextLine]<state.blkIndent)break;lineText=getLine(state,nextLine).trim();if(-1===lineText.indexOf("|"))break;if(state.sCount[nextLine]-state.blkIndent>=4)break;columns=escapedSplit(lineText.replace(/^\||\|$/g,""));token=state.push("tr_open","tr",1);for(i=0;i<columnCount;i++){token=state.push("td_open","td",1);aligns[i]&&(token.attrs=[["style","text-align:"+aligns[i]]]);token=state.push("inline","",0);token.content=columns[i]?columns[i].trim():"";token.children=[];token=state.push("td_close","td",-1)}token=state.push("tr_close","tr",-1)}token=state.push("tbody_close","tbody",-1);token=state.push("table_close","table",-1);tableLines[1]=tbodyLines[1]=nextLine;state.line=nextLine;return true}},function(module,exports,__webpack_require__){"use strict";module.exports=function code(state,startLine,endLine){var nextLine,last,token;if(state.sCount[startLine]-state.blkIndent<4)return false;last=nextLine=startLine+1;while(nextLine<endLine){if(state.isEmpty(nextLine)){nextLine++;continue}if(state.sCount[nextLine]-state.blkIndent>=4){nextLine++;last=nextLine;continue}break}state.line=last;token=state.push("code_block","code",0);token.content=state.getLines(startLine,last,4+state.blkIndent,true);token.map=[startLine,state.line];return true}},function(module,exports,__webpack_require__){"use strict";module.exports=function fence(state,startLine,endLine,silent){var marker,len,params,nextLine,mem,token,markup,haveEndMarker=false,pos=state.bMarks[startLine]+state.tShift[startLine],max=state.eMarks[startLine];if(state.sCount[startLine]-state.blkIndent>=4)return false;if(pos+3>max)return false;marker=state.src.charCodeAt(pos);if(126!==marker&&96!==marker)return false;mem=pos;pos=state.skipChars(pos,marker);len=pos-mem;if(len<3)return false;markup=state.src.slice(mem,pos);params=state.src.slice(pos,max);if(params.indexOf(String.fromCharCode(marker))>=0)return false;if(silent)return true;nextLine=startLine;for(;;){nextLine++;if(nextLine>=endLine)break;pos=mem=state.bMarks[nextLine]+state.tShift[nextLine];max=state.eMarks[nextLine];if(pos<max&&state.sCount[nextLine]<state.blkIndent)break;if(state.src.charCodeAt(pos)!==marker)continue;if(state.sCount[nextLine]-state.blkIndent>=4)continue;pos=state.skipChars(pos,marker);if(pos-mem<len)continue;pos=state.skipSpaces(pos);if(pos<max)continue;haveEndMarker=true;break}len=state.sCount[startLine];state.line=nextLine+(haveEndMarker?1:0);token=state.push("fence","code",0);token.info=params;token.content=state.getLines(startLine+1,nextLine,len,true);token.markup=markup;token.map=[startLine,state.line];return true}},function(module,exports,__webpack_require__){"use strict";var isSpace=__webpack_require__(23).isSpace;module.exports=function blockquote(state,startLine,endLine,silent){var adjustTab,ch,i,initial,l,lastLineEmpty,lines,nextLine,offset,oldBMarks,oldBSCount,oldIndent,oldParentType,oldSCount,oldTShift,spaceAfterMarker,terminate,terminatorRules,token,wasOutdented,oldLineMax=state.lineMax,pos=state.bMarks[startLine]+state.tShift[startLine],max=state.eMarks[startLine];if(state.sCount[startLine]-state.blkIndent>=4)return false;if(62!==state.src.charCodeAt(pos++))return false;if(silent)return true;initial=offset=state.sCount[startLine]+pos-(state.bMarks[startLine]+state.tShift[startLine]);if(32===state.src.charCodeAt(pos)){pos++;initial++;offset++;adjustTab=false;spaceAfterMarker=true}else if(9===state.src.charCodeAt(pos)){spaceAfterMarker=true;if((state.bsCount[startLine]+offset)%4===3){pos++;initial++;offset++;adjustTab=false}else adjustTab=true}else spaceAfterMarker=false;oldBMarks=[state.bMarks[startLine]];state.bMarks[startLine]=pos;while(pos<max){ch=state.src.charCodeAt(pos);if(!isSpace(ch))break;9===ch?offset+=4-(offset+state.bsCount[startLine]+(adjustTab?1:0))%4:offset++;pos++}oldBSCount=[state.bsCount[startLine]];state.bsCount[startLine]=state.sCount[startLine]+1+(spaceAfterMarker?1:0);lastLineEmpty=pos>=max;oldSCount=[state.sCount[startLine]];state.sCount[startLine]=offset-initial;oldTShift=[state.tShift[startLine]];state.tShift[startLine]=pos-state.bMarks[startLine];terminatorRules=state.md.block.ruler.getRules("blockquote");oldParentType=state.parentType;state.parentType="blockquote";wasOutdented=false;for(nextLine=startLine+1;nextLine<endLine;nextLine++){state.sCount[nextLine]<state.blkIndent&&(wasOutdented=true);pos=state.bMarks[nextLine]+state.tShift[nextLine];max=state.eMarks[nextLine];if(pos>=max)break;if(62===state.src.charCodeAt(pos++)&&!wasOutdented){initial=offset=state.sCount[nextLine]+pos-(state.bMarks[nextLine]+state.tShift[nextLine]);if(32===state.src.charCodeAt(pos)){pos++;initial++;offset++;adjustTab=false;spaceAfterMarker=true}else if(9===state.src.charCodeAt(pos)){spaceAfterMarker=true;if((state.bsCount[nextLine]+offset)%4===3){pos++;initial++;offset++;adjustTab=false}else adjustTab=true}else spaceAfterMarker=false;oldBMarks.push(state.bMarks[nextLine]);state.bMarks[nextLine]=pos;while(pos<max){ch=state.src.charCodeAt(pos);if(!isSpace(ch))break;9===ch?offset+=4-(offset+state.bsCount[nextLine]+(adjustTab?1:0))%4:offset++;pos++}lastLineEmpty=pos>=max;oldBSCount.push(state.bsCount[nextLine]);state.bsCount[nextLine]=state.sCount[nextLine]+1+(spaceAfterMarker?1:0);oldSCount.push(state.sCount[nextLine]);state.sCount[nextLine]=offset-initial;oldTShift.push(state.tShift[nextLine]);state.tShift[nextLine]=pos-state.bMarks[nextLine];continue}if(lastLineEmpty)break;terminate=false;for(i=0,l=terminatorRules.length;i<l;i++)if(terminatorRules[i](state,nextLine,endLine,true)){terminate=true;break}if(terminate){state.lineMax=nextLine;if(0!==state.blkIndent){oldBMarks.push(state.bMarks[nextLine]);oldBSCount.push(state.bsCount[nextLine]);oldTShift.push(state.tShift[nextLine]);oldSCount.push(state.sCount[nextLine]);state.sCount[nextLine]-=state.blkIndent}break}oldBMarks.push(state.bMarks[nextLine]);oldBSCount.push(state.bsCount[nextLine]);oldTShift.push(state.tShift[nextLine]);oldSCount.push(state.sCount[nextLine]);state.sCount[nextLine]=-1}oldIndent=state.blkIndent;state.blkIndent=0;token=state.push("blockquote_open","blockquote",1);token.markup=">";token.map=lines=[startLine,0];state.md.block.tokenize(state,startLine,nextLine);token=state.push("blockquote_close","blockquote",-1);token.markup=">";state.lineMax=oldLineMax;state.parentType=oldParentType;lines[1]=state.line;for(i=0;i<oldTShift.length;i++){state.bMarks[i+startLine]=oldBMarks[i];state.tShift[i+startLine]=oldTShift[i];state.sCount[i+startLine]=oldSCount[i];state.bsCount[i+startLine]=oldBSCount[i]}state.blkIndent=oldIndent;return true}},function(module,exports,__webpack_require__){"use strict";var isSpace=__webpack_require__(23).isSpace;module.exports=function hr(state,startLine,endLine,silent){var marker,cnt,ch,token,pos=state.bMarks[startLine]+state.tShift[startLine],max=state.eMarks[startLine];if(state.sCount[startLine]-state.blkIndent>=4)return false;marker=state.src.charCodeAt(pos++);if(42!==marker&&45!==marker&&95!==marker)return false;cnt=1;while(pos<max){ch=state.src.charCodeAt(pos++);if(ch!==marker&&!isSpace(ch))return false;ch===marker&&cnt++}if(cnt<3)return false;if(silent)return true;state.line=startLine+1;token=state.push("hr","hr",0);token.map=[startLine,state.line];token.markup=Array(cnt+1).join(String.fromCharCode(marker));return true}},function(module,exports,__webpack_require__){"use strict";var isSpace=__webpack_require__(23).isSpace;function skipBulletListMarker(state,startLine){var marker,pos,max,ch;pos=state.bMarks[startLine]+state.tShift[startLine];max=state.eMarks[startLine];marker=state.src.charCodeAt(pos++);if(42!==marker&&45!==marker&&43!==marker)return-1;if(pos<max){ch=state.src.charCodeAt(pos);if(!isSpace(ch))return-1}return pos}function skipOrderedListMarker(state,startLine){var ch,start=state.bMarks[startLine]+state.tShift[startLine],pos=start,max=state.eMarks[startLine];if(pos+1>=max)return-1;ch=state.src.charCodeAt(pos++);if(ch<48||ch>57)return-1;for(;;){if(pos>=max)return-1;ch=state.src.charCodeAt(pos++);if(ch>=48&&ch<=57){if(pos-start>=10)return-1;continue}if(41===ch||46===ch)break;return-1}if(pos<max){ch=state.src.charCodeAt(pos);if(!isSpace(ch))return-1}return pos}function markTightParagraphs(state,idx){var i,l,level=state.level+2;for(i=idx+2,l=state.tokens.length-2;i<l;i++)if(state.tokens[i].level===level&&"paragraph_open"===state.tokens[i].type){state.tokens[i+2].hidden=true;state.tokens[i].hidden=true;i+=2}}module.exports=function list(state,startLine,endLine,silent){var ch,contentStart,i,indent,indentAfterMarker,initial,isOrdered,itemLines,l,listLines,listTokIdx,markerCharCode,markerValue,max,nextLine,offset,oldIndent,oldLIndent,oldParentType,oldTShift,oldTight,pos,posAfterMarker,prevEmptyEnd,start,terminate,terminatorRules,token,isTerminatingParagraph=false,tight=true;if(state.sCount[startLine]-state.blkIndent>=4)return false;silent&&"paragraph"===state.parentType&&state.tShift[startLine]>=state.blkIndent&&(isTerminatingParagraph=true);if((posAfterMarker=skipOrderedListMarker(state,startLine))>=0){isOrdered=true;start=state.bMarks[startLine]+state.tShift[startLine];markerValue=Number(state.src.substr(start,posAfterMarker-start-1));if(isTerminatingParagraph&&1!==markerValue)return false}else{if(!((posAfterMarker=skipBulletListMarker(state,startLine))>=0))return false;isOrdered=false}if(isTerminatingParagraph&&state.skipSpaces(posAfterMarker)>=state.eMarks[startLine])return false;markerCharCode=state.src.charCodeAt(posAfterMarker-1);if(silent)return true;listTokIdx=state.tokens.length;if(isOrdered){token=state.push("ordered_list_open","ol",1);1!==markerValue&&(token.attrs=[["start",markerValue]])}else token=state.push("bullet_list_open","ul",1);token.map=listLines=[startLine,0];token.markup=String.fromCharCode(markerCharCode);nextLine=startLine;prevEmptyEnd=false;terminatorRules=state.md.block.ruler.getRules("list");oldParentType=state.parentType;state.parentType="list";while(nextLine<endLine){pos=posAfterMarker;max=state.eMarks[nextLine];initial=offset=state.sCount[nextLine]+posAfterMarker-(state.bMarks[startLine]+state.tShift[startLine]);while(pos<max){ch=state.src.charCodeAt(pos);if(9===ch)offset+=4-(offset+state.bsCount[nextLine])%4;else{if(32!==ch)break;offset++}pos++}contentStart=pos;indentAfterMarker=contentStart>=max?1:offset-initial;indentAfterMarker>4&&(indentAfterMarker=1);indent=initial+indentAfterMarker;token=state.push("list_item_open","li",1);token.markup=String.fromCharCode(markerCharCode);token.map=itemLines=[startLine,0];oldIndent=state.blkIndent;oldTight=state.tight;oldTShift=state.tShift[startLine];oldLIndent=state.sCount[startLine];state.blkIndent=indent;state.tight=true;state.tShift[startLine]=contentStart-state.bMarks[startLine];state.sCount[startLine]=offset;contentStart>=max&&state.isEmpty(startLine+1)?state.line=Math.min(state.line+2,endLine):state.md.block.tokenize(state,startLine,endLine,true);state.tight&&!prevEmptyEnd||(tight=false);prevEmptyEnd=state.line-startLine>1&&state.isEmpty(state.line-1);state.blkIndent=oldIndent;state.tShift[startLine]=oldTShift;state.sCount[startLine]=oldLIndent;state.tight=oldTight;token=state.push("list_item_close","li",-1);token.markup=String.fromCharCode(markerCharCode);nextLine=startLine=state.line;itemLines[1]=nextLine;contentStart=state.bMarks[startLine];if(nextLine>=endLine)break;if(state.sCount[nextLine]<state.blkIndent)break;terminate=false;for(i=0,l=terminatorRules.length;i<l;i++)if(terminatorRules[i](state,nextLine,endLine,true)){terminate=true;break}if(terminate)break;if(isOrdered){posAfterMarker=skipOrderedListMarker(state,nextLine);if(posAfterMarker<0)break}else{posAfterMarker=skipBulletListMarker(state,nextLine);if(posAfterMarker<0)break}if(markerCharCode!==state.src.charCodeAt(posAfterMarker-1))break}token=isOrdered?state.push("ordered_list_close","ol",-1):state.push("bullet_list_close","ul",-1);token.markup=String.fromCharCode(markerCharCode);listLines[1]=nextLine;state.line=nextLine;state.parentType=oldParentType;tight&&markTightParagraphs(state,listTokIdx);return true}},function(module,exports,__webpack_require__){"use strict";var normalizeReference=__webpack_require__(23).normalizeReference;var isSpace=__webpack_require__(23).isSpace;module.exports=function reference(state,startLine,_endLine,silent){var ch,destEndPos,destEndLineNo,endLine,href,i,l,label,labelEnd,oldParentType,res,start,str,terminate,terminatorRules,title,lines=0,pos=state.bMarks[startLine]+state.tShift[startLine],max=state.eMarks[startLine],nextLine=startLine+1;if(state.sCount[startLine]-state.blkIndent>=4)return false;if(91!==state.src.charCodeAt(pos))return false;while(++pos<max)if(93===state.src.charCodeAt(pos)&&92!==state.src.charCodeAt(pos-1)){if(pos+1===max)return false;if(58!==state.src.charCodeAt(pos+1))return false;break}endLine=state.lineMax;terminatorRules=state.md.block.ruler.getRules("reference");oldParentType=state.parentType;state.parentType="reference";for(;nextLine<endLine&&!state.isEmpty(nextLine);nextLine++){if(state.sCount[nextLine]-state.blkIndent>3)continue;if(state.sCount[nextLine]<0)continue;terminate=false;for(i=0,l=terminatorRules.length;i<l;i++)if(terminatorRules[i](state,nextLine,endLine,true)){terminate=true;break}if(terminate)break}str=state.getLines(startLine,nextLine,state.blkIndent,false).trim();max=str.length;for(pos=1;pos<max;pos++){ch=str.charCodeAt(pos);if(91===ch)return false;if(93===ch){labelEnd=pos;break}if(10===ch)lines++;else if(92===ch){pos++;pos<max&&10===str.charCodeAt(pos)&&lines++}}if(labelEnd<0||58!==str.charCodeAt(labelEnd+1))return false;for(pos=labelEnd+2;pos<max;pos++){ch=str.charCodeAt(pos);if(10===ch)lines++;else if(!isSpace(ch))break}res=state.md.helpers.parseLinkDestination(str,pos,max);if(!res.ok)return false;href=state.md.normalizeLink(res.str);if(!state.md.validateLink(href))return false;pos=res.pos;lines+=res.lines;destEndPos=pos;destEndLineNo=lines;start=pos;for(;pos<max;pos++){ch=str.charCodeAt(pos);if(10===ch)lines++;else if(!isSpace(ch))break}res=state.md.helpers.parseLinkTitle(str,pos,max);if(pos<max&&start!==pos&&res.ok){title=res.str;pos=res.pos;lines+=res.lines}else{title="";pos=destEndPos;lines=destEndLineNo}while(pos<max){ch=str.charCodeAt(pos);if(!isSpace(ch))break;pos++}if(pos<max&&10!==str.charCodeAt(pos)&&title){title="";pos=destEndPos;lines=destEndLineNo;while(pos<max){ch=str.charCodeAt(pos);if(!isSpace(ch))break;pos++}}if(pos<max&&10!==str.charCodeAt(pos))return false;label=normalizeReference(str.slice(1,labelEnd));if(!label)return false;if(silent)return true;"undefined"===typeof state.env.references&&(state.env.references={});"undefined"===typeof state.env.references[label]&&(state.env.references[label]={title:title,href:href});state.parentType=oldParentType;state.line=startLine+lines+1;return true}},function(module,exports,__webpack_require__){"use strict";var isSpace=__webpack_require__(23).isSpace;module.exports=function heading(state,startLine,endLine,silent){var ch,level,tmp,token,pos=state.bMarks[startLine]+state.tShift[startLine],max=state.eMarks[startLine];if(state.sCount[startLine]-state.blkIndent>=4)return false;ch=state.src.charCodeAt(pos);if(35!==ch||pos>=max)return false;level=1;ch=state.src.charCodeAt(++pos);while(35===ch&&pos<max&&level<=6){level++;ch=state.src.charCodeAt(++pos)}if(level>6||pos<max&&!isSpace(ch))return false;if(silent)return true;max=state.skipSpacesBack(max,pos);tmp=state.skipCharsBack(max,35,pos);tmp>pos&&isSpace(state.src.charCodeAt(tmp-1))&&(max=tmp);state.line=startLine+1;token=state.push("heading_open","h"+String(level),1);token.markup="########".slice(0,level);token.map=[startLine,state.line];token=state.push("inline","",0);token.content=state.src.slice(pos,max).trim();token.map=[startLine,state.line];token.children=[];token=state.push("heading_close","h"+String(level),-1);token.markup="########".slice(0,level);return true}},function(module,exports,__webpack_require__){"use strict";module.exports=function lheading(state,startLine,endLine){var content,terminate,i,l,token,pos,max,level,marker,oldParentType,nextLine=startLine+1,terminatorRules=state.md.block.ruler.getRules("paragraph");if(state.sCount[startLine]-state.blkIndent>=4)return false;oldParentType=state.parentType;state.parentType="paragraph";for(;nextLine<endLine&&!state.isEmpty(nextLine);nextLine++){if(state.sCount[nextLine]-state.blkIndent>3)continue;if(state.sCount[nextLine]>=state.blkIndent){pos=state.bMarks[nextLine]+state.tShift[nextLine];max=state.eMarks[nextLine];if(pos<max){marker=state.src.charCodeAt(pos);if(45===marker||61===marker){pos=state.skipChars(pos,marker);pos=state.skipSpaces(pos);if(pos>=max){level=61===marker?1:2;break}}}}if(state.sCount[nextLine]<0)continue;terminate=false;for(i=0,l=terminatorRules.length;i<l;i++)if(terminatorRules[i](state,nextLine,endLine,true)){terminate=true;break}if(terminate)break}if(!level)return false;content=state.getLines(startLine,nextLine,state.blkIndent,false).trim();state.line=nextLine+1;token=state.push("heading_open","h"+String(level),1);token.markup=String.fromCharCode(marker);token.map=[startLine,state.line];token=state.push("inline","",0);token.content=content;token.map=[startLine,state.line-1];token.children=[];token=state.push("heading_close","h"+String(level),-1);token.markup=String.fromCharCode(marker);state.parentType=oldParentType;return true}},function(module,exports,__webpack_require__){"use strict";var block_names=__webpack_require__(2342);var HTML_OPEN_CLOSE_TAG_RE=__webpack_require__(891).HTML_OPEN_CLOSE_TAG_RE;var HTML_SEQUENCES=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,true],[/^<!--/,/-->/,true],[/^<\?/,/\?>/,true],[/^<![A-Z]/,/>/,true],[/^<!\[CDATA\[/,/\]\]>/,true],[new RegExp("^</?("+block_names.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,true],[new RegExp(HTML_OPEN_CLOSE_TAG_RE.source+"\\s*$"),/^$/,false]];module.exports=function html_block(state,startLine,endLine,silent){var i,nextLine,token,lineText,pos=state.bMarks[startLine]+state.tShift[startLine],max=state.eMarks[startLine];if(state.sCount[startLine]-state.blkIndent>=4)return false;if(!state.md.options.html)return false;if(60!==state.src.charCodeAt(pos))return false;lineText=state.src.slice(pos,max);for(i=0;i<HTML_SEQUENCES.length;i++)if(HTML_SEQUENCES[i][0].test(lineText))break;if(i===HTML_SEQUENCES.length)return false;if(silent)return HTML_SEQUENCES[i][2];nextLine=startLine+1;if(!HTML_SEQUENCES[i][1].test(lineText))for(;nextLine<endLine;nextLine++){if(state.sCount[nextLine]<state.blkIndent)break;pos=state.bMarks[nextLine]+state.tShift[nextLine];max=state.eMarks[nextLine];lineText=state.src.slice(pos,max);if(HTML_SEQUENCES[i][1].test(lineText)){0!==lineText.length&&nextLine++;break}}state.line=nextLine;token=state.push("html_block","",0);token.map=[startLine,nextLine];token.content=state.getLines(startLine,nextLine,state.blkIndent,true);return true}},function(module,exports,__webpack_require__){"use strict";module.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(module,exports,__webpack_require__){"use strict";module.exports=function paragraph(state,startLine){var content,terminate,i,l,token,oldParentType,nextLine=startLine+1,terminatorRules=state.md.block.ruler.getRules("paragraph"),endLine=state.lineMax;oldParentType=state.parentType;state.parentType="paragraph";for(;nextLine<endLine&&!state.isEmpty(nextLine);nextLine++){if(state.sCount[nextLine]-state.blkIndent>3)continue;if(state.sCount[nextLine]<0)continue;terminate=false;for(i=0,l=terminatorRules.length;i<l;i++)if(terminatorRules[i](state,nextLine,endLine,true)){terminate=true;break}if(terminate)break}content=state.getLines(startLine,nextLine,state.blkIndent,false).trim();state.line=nextLine;token=state.push("paragraph_open","p",1);token.map=[startLine,state.line];token=state.push("inline","",0);token.content=content;token.map=[startLine,state.line];token.children=[];token=state.push("paragraph_close","p",-1);state.parentType=oldParentType;return true}},function(module,exports,__webpack_require__){"use strict";var Token=__webpack_require__(498);var isSpace=__webpack_require__(23).isSpace;function StateBlock(src,md,env,tokens){var ch,s,start,pos,len,indent,offset,indent_found;this.src=src;this.md=md;this.env=env;this.tokens=tokens;this.bMarks=[];this.eMarks=[];this.tShift=[];this.sCount=[];this.bsCount=[];this.blkIndent=0;this.line=0;this.lineMax=0;this.tight=false;this.ddIndent=-1;this.parentType="root";this.level=0;this.result="";s=this.src;indent_found=false;for(start=pos=indent=offset=0,len=s.length;pos<len;pos++){ch=s.charCodeAt(pos);if(!indent_found){if(isSpace(ch)){indent++;9===ch?offset+=4-offset%4:offset++;continue}indent_found=true}if(10===ch||pos===len-1){10!==ch&&pos++;this.bMarks.push(start);this.eMarks.push(pos);this.tShift.push(indent);this.sCount.push(offset);this.bsCount.push(0);indent_found=false;indent=0;offset=0;start=pos+1}}this.bMarks.push(s.length);this.eMarks.push(s.length);this.tShift.push(0);this.sCount.push(0);this.bsCount.push(0);this.lineMax=this.bMarks.length-1}StateBlock.prototype.push=function(type,tag,nesting){var token=new Token(type,tag,nesting);token.block=true;nesting<0&&this.level--;token.level=this.level;nesting>0&&this.level++;this.tokens.push(token);return token};StateBlock.prototype.isEmpty=function isEmpty(line){return this.bMarks[line]+this.tShift[line]>=this.eMarks[line]};StateBlock.prototype.skipEmptyLines=function skipEmptyLines(from){for(var max=this.lineMax;from<max;from++)if(this.bMarks[from]+this.tShift[from]<this.eMarks[from])break;return from};StateBlock.prototype.skipSpaces=function skipSpaces(pos){var ch;for(var max=this.src.length;pos<max;pos++){ch=this.src.charCodeAt(pos);if(!isSpace(ch))break}return pos};StateBlock.prototype.skipSpacesBack=function skipSpacesBack(pos,min){if(pos<=min)return pos;while(pos>min)if(!isSpace(this.src.charCodeAt(--pos)))return pos+1;return pos};StateBlock.prototype.skipChars=function skipChars(pos,code){for(var max=this.src.length;pos<max;pos++)if(this.src.charCodeAt(pos)!==code)break;return pos};StateBlock.prototype.skipCharsBack=function skipCharsBack(pos,code,min){if(pos<=min)return pos;while(pos>min)if(code!==this.src.charCodeAt(--pos))return pos+1;return pos};StateBlock.prototype.getLines=function getLines(begin,end,indent,keepLastLF){var i,lineIndent,ch,first,last,queue,lineStart,line=begin;if(begin>=end)return"";queue=new Array(end-begin);for(i=0;line<end;line++,i++){lineIndent=0;lineStart=first=this.bMarks[line];last=line+1<end||keepLastLF?this.eMarks[line]+1:this.eMarks[line];while(first<last&&lineIndent<indent){ch=this.src.charCodeAt(first);if(isSpace(ch))9===ch?lineIndent+=4-(lineIndent+this.bsCount[line])%4:lineIndent++;else{if(!(first-lineStart<this.tShift[line]))break;lineIndent++}first++}queue[i]=lineIndent>indent?new Array(lineIndent-indent+1).join(" ")+this.src.slice(first,last):this.src.slice(first,last)}return queue.join("")};StateBlock.prototype.Token=Token;module.exports=StateBlock},function(module,exports,__webpack_require__){"use strict";var Ruler=__webpack_require__(497);var _rules=[["text",__webpack_require__(2346)],["newline",__webpack_require__(2347)],["escape",__webpack_require__(2348)],["backticks",__webpack_require__(2349)],["strikethrough",__webpack_require__(892).tokenize],["emphasis",__webpack_require__(893).tokenize],["link",__webpack_require__(2350)],["image",__webpack_require__(2351)],["autolink",__webpack_require__(2352)],["html_inline",__webpack_require__(2353)],["entity",__webpack_require__(2354)]];var _rules2=[["balance_pairs",__webpack_require__(2355)],["strikethrough",__webpack_require__(892).postProcess],["emphasis",__webpack_require__(893).postProcess],["text_collapse",__webpack_require__(2356)]];function ParserInline(){var i;this.ruler=new Ruler;for(i=0;i<_rules.length;i++)this.ruler.push(_rules[i][0],_rules[i][1]);this.ruler2=new Ruler;for(i=0;i<_rules2.length;i++)this.ruler2.push(_rules2[i][0],_rules2[i][1])}ParserInline.prototype.skipToken=function(state){var ok,i,pos=state.pos,rules=this.ruler.getRules(""),len=rules.length,maxNesting=state.md.options.maxNesting,cache=state.cache;if("undefined"!==typeof cache[pos]){state.pos=cache[pos];return}if(state.level<maxNesting)for(i=0;i<len;i++){state.level++;ok=rules[i](state,true);state.level--;if(ok)break}else state.pos=state.posMax;ok||state.pos++;cache[pos]=state.pos};ParserInline.prototype.tokenize=function(state){var ok,i,rules=this.ruler.getRules(""),len=rules.length,end=state.posMax,maxNesting=state.md.options.maxNesting;while(state.pos<end){if(state.level<maxNesting)for(i=0;i<len;i++){ok=rules[i](state,false);if(ok)break}if(ok){if(state.pos>=end)break;continue}state.pending+=state.src[state.pos++]}state.pending&&state.pushPending()};ParserInline.prototype.parse=function(str,md,env,outTokens){var i,rules,len;var state=new this.State(str,md,env,outTokens);this.tokenize(state);rules=this.ruler2.getRules("");len=rules.length;for(i=0;i<len;i++)rules[i](state)};ParserInline.prototype.State=__webpack_require__(2357);module.exports=ParserInline},function(module,exports,__webpack_require__){"use strict";function isTerminatorChar(ch){switch(ch){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return true;default:return false}}module.exports=function text(state,silent){var pos=state.pos;while(pos<state.posMax&&!isTerminatorChar(state.src.charCodeAt(pos)))pos++;if(pos===state.pos)return false;silent||(state.pending+=state.src.slice(state.pos,pos));state.pos=pos;return true}},function(module,exports,__webpack_require__){"use strict";var isSpace=__webpack_require__(23).isSpace;module.exports=function newline(state,silent){var pmax,max,pos=state.pos;if(10!==state.src.charCodeAt(pos))return false;pmax=state.pending.length-1;max=state.posMax;if(!silent)if(pmax>=0&&32===state.pending.charCodeAt(pmax))if(pmax>=1&&32===state.pending.charCodeAt(pmax-1)){state.pending=state.pending.replace(/ +$/,"");state.push("hardbreak","br",0)}else{state.pending=state.pending.slice(0,-1);state.push("softbreak","br",0)}else state.push("softbreak","br",0);pos++;while(pos<max&&isSpace(state.src.charCodeAt(pos)))pos++;state.pos=pos;return true}},function(module,exports,__webpack_require__){"use strict";var isSpace=__webpack_require__(23).isSpace;var ESCAPED=[];for(var i=0;i<256;i++)ESCAPED.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(ch){ESCAPED[ch.charCodeAt(0)]=1});module.exports=function escape(state,silent){var ch,pos=state.pos,max=state.posMax;if(92!==state.src.charCodeAt(pos))return false;pos++;if(pos<max){ch=state.src.charCodeAt(pos);if(ch<256&&0!==ESCAPED[ch]){silent||(state.pending+=state.src[pos]);state.pos+=2;return true}if(10===ch){silent||state.push("hardbreak","br",0);pos++;while(pos<max){ch=state.src.charCodeAt(pos);if(!isSpace(ch))break;pos++}state.pos=pos;return true}}silent||(state.pending+="\\");state.pos++;return true}},function(module,exports,__webpack_require__){"use strict";module.exports=function backtick(state,silent){var start,max,marker,matchStart,matchEnd,token,pos=state.pos,ch=state.src.charCodeAt(pos);if(96!==ch)return false;start=pos;pos++;max=state.posMax;while(pos<max&&96===state.src.charCodeAt(pos))pos++;marker=state.src.slice(start,pos);matchStart=matchEnd=pos;while(-1!==(matchStart=state.src.indexOf("`",matchEnd))){matchEnd=matchStart+1;while(matchEnd<max&&96===state.src.charCodeAt(matchEnd))matchEnd++;if(matchEnd-matchStart===marker.length){if(!silent){token=state.push("code_inline","code",0);token.markup=marker;token.content=state.src.slice(pos,matchStart).replace(/[ \n]+/g," ").trim()}state.pos=matchEnd;return true}}silent||(state.pending+=marker);state.pos+=marker.length;return true}},function(module,exports,__webpack_require__){"use strict";var normalizeReference=__webpack_require__(23).normalizeReference;var isSpace=__webpack_require__(23).isSpace;module.exports=function link(state,silent){var attrs,code,label,labelEnd,labelStart,pos,res,ref,title,token,href="",oldPos=state.pos,max=state.posMax,start=state.pos,parseReference=true;if(91!==state.src.charCodeAt(state.pos))return false;labelStart=state.pos+1;labelEnd=state.md.helpers.parseLinkLabel(state,state.pos,true);if(labelEnd<0)return false;pos=labelEnd+1;if(pos<max&&40===state.src.charCodeAt(pos)){parseReference=false;pos++;for(;pos<max;pos++){code=state.src.charCodeAt(pos);if(!isSpace(code)&&10!==code)break}if(pos>=max)return false;start=pos;res=state.md.helpers.parseLinkDestination(state.src,pos,state.posMax);if(res.ok){href=state.md.normalizeLink(res.str);state.md.validateLink(href)?pos=res.pos:href=""}start=pos;for(;pos<max;pos++){code=state.src.charCodeAt(pos);if(!isSpace(code)&&10!==code)break}res=state.md.helpers.parseLinkTitle(state.src,pos,state.posMax);if(pos<max&&start!==pos&&res.ok){title=res.str;pos=res.pos;for(;pos<max;pos++){code=state.src.charCodeAt(pos);if(!isSpace(code)&&10!==code)break}}else title="";(pos>=max||41!==state.src.charCodeAt(pos))&&(parseReference=true);pos++}if(parseReference){if("undefined"===typeof state.env.references)return false;if(pos<max&&91===state.src.charCodeAt(pos)){start=pos+1;pos=state.md.helpers.parseLinkLabel(state,pos);pos>=0?label=state.src.slice(start,pos++):pos=labelEnd+1}else pos=labelEnd+1;label||(label=state.src.slice(labelStart,labelEnd));ref=state.env.references[normalizeReference(label)];if(!ref){state.pos=oldPos;return false}href=ref.href;title=ref.title}if(!silent){state.pos=labelStart;state.posMax=labelEnd;token=state.push("link_open","a",1);token.attrs=attrs=[["href",href]];title&&attrs.push(["title",title]);state.md.inline.tokenize(state);token=state.push("link_close","a",-1)}state.pos=pos;state.posMax=max;return true}},function(module,exports,__webpack_require__){"use strict";var normalizeReference=__webpack_require__(23).normalizeReference;var isSpace=__webpack_require__(23).isSpace;module.exports=function image(state,silent){var attrs,code,content,label,labelEnd,labelStart,pos,ref,res,title,token,tokens,start,href="",oldPos=state.pos,max=state.posMax;if(33!==state.src.charCodeAt(state.pos))return false;if(91!==state.src.charCodeAt(state.pos+1))return false;labelStart=state.pos+2;labelEnd=state.md.helpers.parseLinkLabel(state,state.pos+1,false);if(labelEnd<0)return false;pos=labelEnd+1;if(pos<max&&40===state.src.charCodeAt(pos)){pos++;for(;pos<max;pos++){code=state.src.charCodeAt(pos);if(!isSpace(code)&&10!==code)break}if(pos>=max)return false;start=pos;res=state.md.helpers.parseLinkDestination(state.src,pos,state.posMax);if(res.ok){href=state.md.normalizeLink(res.str);state.md.validateLink(href)?pos=res.pos:href=""}start=pos;for(;pos<max;pos++){code=state.src.charCodeAt(pos);if(!isSpace(code)&&10!==code)break}res=state.md.helpers.parseLinkTitle(state.src,pos,state.posMax);if(pos<max&&start!==pos&&res.ok){title=res.str;pos=res.pos;for(;pos<max;pos++){code=state.src.charCodeAt(pos);if(!isSpace(code)&&10!==code)break}}else title="";if(pos>=max||41!==state.src.charCodeAt(pos)){state.pos=oldPos;return false}pos++}else{if("undefined"===typeof state.env.references)return false;if(pos<max&&91===state.src.charCodeAt(pos)){start=pos+1;pos=state.md.helpers.parseLinkLabel(state,pos);pos>=0?label=state.src.slice(start,pos++):pos=labelEnd+1}else pos=labelEnd+1;label||(label=state.src.slice(labelStart,labelEnd));ref=state.env.references[normalizeReference(label)];if(!ref){state.pos=oldPos;return false}href=ref.href;title=ref.title}if(!silent){content=state.src.slice(labelStart,labelEnd);state.md.inline.parse(content,state.md,state.env,tokens=[]);token=state.push("image","img",0);token.attrs=attrs=[["src",href],["alt",""]];token.children=tokens;token.content=content;title&&attrs.push(["title",title])}state.pos=pos;state.posMax=max;return true}},function(module,exports,__webpack_require__){"use strict";var EMAIL_RE=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/;var AUTOLINK_RE=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;module.exports=function autolink(state,silent){var tail,linkMatch,emailMatch,url,fullUrl,token,pos=state.pos;if(60!==state.src.charCodeAt(pos))return false;tail=state.src.slice(pos);if(tail.indexOf(">")<0)return false;if(AUTOLINK_RE.test(tail)){linkMatch=tail.match(AUTOLINK_RE);url=linkMatch[0].slice(1,-1);fullUrl=state.md.normalizeLink(url);if(!state.md.validateLink(fullUrl))return false;if(!silent){token=state.push("link_open","a",1);token.attrs=[["href",fullUrl]];token.markup="autolink";token.info="auto";token=state.push("text","",0);token.content=state.md.normalizeLinkText(url);token=state.push("link_close","a",-1);token.markup="autolink";token.info="auto"}state.pos+=linkMatch[0].length;return true}if(EMAIL_RE.test(tail)){emailMatch=tail.match(EMAIL_RE);url=emailMatch[0].slice(1,-1);fullUrl=state.md.normalizeLink("mailto:"+url);if(!state.md.validateLink(fullUrl))return false;if(!silent){token=state.push("link_open","a",1);token.attrs=[["href",fullUrl]];token.markup="autolink";token.info="auto";token=state.push("text","",0);token.content=state.md.normalizeLinkText(url);token=state.push("link_close","a",-1);token.markup="autolink";token.info="auto"}state.pos+=emailMatch[0].length;return true}return false}},function(module,exports,__webpack_require__){"use strict";var HTML_TAG_RE=__webpack_require__(891).HTML_TAG_RE;function isLetter(ch){var lc=32|ch;return lc>=97&&lc<=122}module.exports=function html_inline(state,silent){var ch,match,max,token,pos=state.pos;if(!state.md.options.html)return false;max=state.posMax;if(60!==state.src.charCodeAt(pos)||pos+2>=max)return false;ch=state.src.charCodeAt(pos+1);if(33!==ch&&63!==ch&&47!==ch&&!isLetter(ch))return false;match=state.src.slice(pos).match(HTML_TAG_RE);if(!match)return false;if(!silent){token=state.push("html_inline","",0);token.content=state.src.slice(pos,pos+match[0].length)}state.pos+=match[0].length;return true}},function(module,exports,__webpack_require__){"use strict";var entities=__webpack_require__(886);var has=__webpack_require__(23).has;var isValidEntityCode=__webpack_require__(23).isValidEntityCode;var fromCodePoint=__webpack_require__(23).fromCodePoint;var DIGITAL_RE=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i;var NAMED_RE=/^&([a-z][a-z0-9]{1,31});/i;module.exports=function entity(state,silent){var ch,code,match,pos=state.pos,max=state.posMax;if(38!==state.src.charCodeAt(pos))return false;if(pos+1<max){ch=state.src.charCodeAt(pos+1);if(35===ch){match=state.src.slice(pos).match(DIGITAL_RE);if(match){if(!silent){code="x"===match[1][0].toLowerCase()?parseInt(match[1].slice(1),16):parseInt(match[1],10);state.pending+=isValidEntityCode(code)?fromCodePoint(code):fromCodePoint(65533)}state.pos+=match[0].length;return true}}else{match=state.src.slice(pos).match(NAMED_RE);if(match&&has(entities,match[1])){silent||(state.pending+=entities[match[1]]);state.pos+=match[0].length;return true}}}silent||(state.pending+="&");state.pos++;return true}},function(module,exports,__webpack_require__){"use strict";module.exports=function link_pairs(state){var i,j,lastDelim,currDelim,delimiters=state.delimiters,max=state.delimiters.length;for(i=0;i<max;i++){lastDelim=delimiters[i];if(!lastDelim.close)continue;j=i-lastDelim.jump-1;while(j>=0){currDelim=delimiters[j];if(currDelim.open&&currDelim.marker===lastDelim.marker&&currDelim.end<0&&currDelim.level===lastDelim.level){var odd_match=(currDelim.close||lastDelim.open)&&"undefined"!==typeof currDelim.length&&"undefined"!==typeof lastDelim.length&&(currDelim.length+lastDelim.length)%3===0;if(!odd_match){lastDelim.jump=i-j;lastDelim.open=false;currDelim.end=i;currDelim.jump=0;break}}j-=currDelim.jump+1}}}},function(module,exports,__webpack_require__){"use strict";module.exports=function text_collapse(state){var curr,last,level=0,tokens=state.tokens,max=state.tokens.length;for(curr=last=0;curr<max;curr++){level+=tokens[curr].nesting;tokens[curr].level=level;if("text"===tokens[curr].type&&curr+1<max&&"text"===tokens[curr+1].type)tokens[curr+1].content=tokens[curr].content+tokens[curr+1].content;else{curr!==last&&(tokens[last]=tokens[curr]);last++}}curr!==last&&(tokens.length=last)}},function(module,exports,__webpack_require__){"use strict";var Token=__webpack_require__(498);var isWhiteSpace=__webpack_require__(23).isWhiteSpace;var isPunctChar=__webpack_require__(23).isPunctChar;var isMdAsciiPunct=__webpack_require__(23).isMdAsciiPunct;function StateInline(src,md,env,outTokens){this.src=src;this.env=env;this.md=md;this.tokens=outTokens;this.pos=0;this.posMax=this.src.length;this.level=0;this.pending="";this.pendingLevel=0;this.cache={};this.delimiters=[]}StateInline.prototype.pushPending=function(){var token=new Token("text","",0);token.content=this.pending;token.level=this.pendingLevel;this.tokens.push(token);this.pending="";return token};StateInline.prototype.push=function(type,tag,nesting){this.pending&&this.pushPending();var token=new Token(type,tag,nesting);nesting<0&&this.level--;token.level=this.level;nesting>0&&this.level++;this.pendingLevel=this.level;this.tokens.push(token);return token};StateInline.prototype.scanDelims=function(start,canSplitWord){var lastChar,nextChar,count,can_open,can_close,isLastWhiteSpace,isLastPunctChar,isNextWhiteSpace,isNextPunctChar,pos=start,left_flanking=true,right_flanking=true,max=this.posMax,marker=this.src.charCodeAt(start);lastChar=start>0?this.src.charCodeAt(start-1):32;while(pos<max&&this.src.charCodeAt(pos)===marker)pos++;count=pos-start;nextChar=pos<max?this.src.charCodeAt(pos):32;isLastPunctChar=isMdAsciiPunct(lastChar)||isPunctChar(String.fromCharCode(lastChar));isNextPunctChar=isMdAsciiPunct(nextChar)||isPunctChar(String.fromCharCode(nextChar));isLastWhiteSpace=isWhiteSpace(lastChar);isNextWhiteSpace=isWhiteSpace(nextChar);isNextWhiteSpace?left_flanking=false:isNextPunctChar&&(isLastWhiteSpace||isLastPunctChar||(left_flanking=false));isLastWhiteSpace?right_flanking=false:isLastPunctChar&&(isNextWhiteSpace||isNextPunctChar||(right_flanking=false));if(canSplitWord){can_open=left_flanking;can_close=right_flanking}else{can_open=left_flanking&&(!right_flanking||isLastPunctChar);can_close=right_flanking&&(!left_flanking||isNextPunctChar)}return{can_open:can_open,can_close:can_close,length:count}};StateInline.prototype.Token=Token;module.exports=StateInline},function(module,exports,__webpack_require__){"use strict";function assign(obj){var sources=Array.prototype.slice.call(arguments,1);sources.forEach(function(source){if(!source)return;Object.keys(source).forEach(function(key){obj[key]=source[key]})});return obj}function _class(obj){return Object.prototype.toString.call(obj)}function isString(obj){return"[object String]"===_class(obj)}function isObject(obj){return"[object Object]"===_class(obj)}function isRegExp(obj){return"[object RegExp]"===_class(obj)}function isFunction(obj){return"[object Function]"===_class(obj)}function escapeRE(str){return str.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var defaultOptions={fuzzyLink:true,fuzzyEmail:true,fuzzyIP:false};function isOptionsObj(obj){return Object.keys(obj||{}).reduce(function(acc,k){return acc||defaultOptions.hasOwnProperty(k)},false)}var defaultSchemas={"http:":{validate:function(text,pos,self){var tail=text.slice(pos);self.re.http||(self.re.http=new RegExp("^\\/\\/"+self.re.src_auth+self.re.src_host_port_strict+self.re.src_path,"i"));if(self.re.http.test(tail))return tail.match(self.re.http)[0].length;return 0}},"https:":"http:","ftp:":"http:","//":{validate:function(text,pos,self){var tail=text.slice(pos);self.re.no_http||(self.re.no_http=new RegExp("^"+self.re.src_auth+"(?:localhost|(?:(?:"+self.re.src_domain+")\\.)+"+self.re.src_domain_root+")"+self.re.src_port+self.re.src_host_terminator+self.re.src_path,"i"));if(self.re.no_http.test(tail)){if(pos>=3&&":"===text[pos-3])return 0;if(pos>=3&&"/"===text[pos-3])return 0;return tail.match(self.re.no_http)[0].length}return 0}},"mailto:":{validate:function(text,pos,self){var tail=text.slice(pos);self.re.mailto||(self.re.mailto=new RegExp("^"+self.re.src_email_name+"@"+self.re.src_host_strict,"i"));if(self.re.mailto.test(tail))return tail.match(self.re.mailto)[0].length;return 0}}};var tlds_2ch_src_re="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]";var tlds_default="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function resetScanCache(self){self.__index__=-1;self.__text_cache__=""}function createValidator(re){return function(text,pos){var tail=text.slice(pos);if(re.test(tail))return tail.match(re)[0].length;return 0}}function createNormalizer(){return function(match,self){self.normalize(match)}}function compile(self){var re=self.re=__webpack_require__(2359)(self.__opts__);var tlds=self.__tlds__.slice();self.onCompile();self.__tlds_replaced__||tlds.push(tlds_2ch_src_re);tlds.push(re.src_xn);re.src_tlds=tlds.join("|");function untpl(tpl){return tpl.replace("%TLDS%",re.src_tlds)}re.email_fuzzy=RegExp(untpl(re.tpl_email_fuzzy),"i");re.link_fuzzy=RegExp(untpl(re.tpl_link_fuzzy),"i");re.link_no_ip_fuzzy=RegExp(untpl(re.tpl_link_no_ip_fuzzy),"i");re.host_fuzzy_test=RegExp(untpl(re.tpl_host_fuzzy_test),"i");var aliases=[];self.__compiled__={};function schemaError(name,val){throw new Error('(LinkifyIt) Invalid schema "'+name+'": '+val)}Object.keys(self.__schemas__).forEach(function(name){var val=self.__schemas__[name];if(null===val)return;var compiled={validate:null,link:null};self.__compiled__[name]=compiled;if(isObject(val)){isRegExp(val.validate)?compiled.validate=createValidator(val.validate):isFunction(val.validate)?compiled.validate=val.validate:schemaError(name,val);isFunction(val.normalize)?compiled.normalize=val.normalize:val.normalize?schemaError(name,val):compiled.normalize=createNormalizer();return}if(isString(val)){aliases.push(name);return}schemaError(name,val)});aliases.forEach(function(alias){if(!self.__compiled__[self.__schemas__[alias]])return;self.__compiled__[alias].validate=self.__compiled__[self.__schemas__[alias]].validate;self.__compiled__[alias].normalize=self.__compiled__[self.__schemas__[alias]].normalize});self.__compiled__[""]={validate:null,normalize:createNormalizer()};var slist=Object.keys(self.__compiled__).filter(function(name){return name.length>0&&self.__compiled__[name]}).map(escapeRE).join("|");self.re.schema_test=RegExp("(^|(?!_)(?:[><｜]|"+re.src_ZPCc+"))("+slist+")","i");self.re.schema_search=RegExp("(^|(?!_)(?:[><｜]|"+re.src_ZPCc+"))("+slist+")","ig");self.re.pretest=RegExp("("+self.re.schema_test.source+")|("+self.re.host_fuzzy_test.source+")|@","i");resetScanCache(self)}function Match(self,shift){var start=self.__index__,end=self.__last_index__,text=self.__text_cache__.slice(start,end);this.schema=self.__schema__.toLowerCase();this.index=start+shift;this.lastIndex=end+shift;this.raw=text;this.text=text;this.url=text}function createMatch(self,shift){var match=new Match(self,shift);self.__compiled__[match.schema].normalize(match,self);return match}function LinkifyIt(schemas,options){if(!(this instanceof LinkifyIt))return new LinkifyIt(schemas,options);if(!options&&isOptionsObj(schemas)){options=schemas;schemas={}}this.__opts__=assign({},defaultOptions,options);this.__index__=-1;this.__last_index__=-1;this.__schema__="";this.__text_cache__="";this.__schemas__=assign({},defaultSchemas,schemas);this.__compiled__={};this.__tlds__=tlds_default;this.__tlds_replaced__=false;this.re={};compile(this)}LinkifyIt.prototype.add=function add(schema,definition){this.__schemas__[schema]=definition;compile(this);return this};LinkifyIt.prototype.set=function set(options){this.__opts__=assign(this.__opts__,options);return this};LinkifyIt.prototype.test=function test(text){this.__text_cache__=text;this.__index__=-1;if(!text.length)return false;var m,ml,me,len,shift,next,re,tld_pos,at_pos;if(this.re.schema_test.test(text)){re=this.re.schema_search;re.lastIndex=0;while(null!==(m=re.exec(text))){len=this.testSchemaAt(text,m[2],re.lastIndex);if(len){this.__schema__=m[2];this.__index__=m.index+m[1].length;this.__last_index__=m.index+m[0].length+len;break}}}if(this.__opts__.fuzzyLink&&this.__compiled__["http:"]){tld_pos=text.search(this.re.host_fuzzy_test);if(tld_pos>=0&&(this.__index__<0||tld_pos<this.__index__)&&null!==(ml=text.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))){shift=ml.index+ml[1].length;if(this.__index__<0||shift<this.__index__){this.__schema__="";this.__index__=shift;this.__last_index__=ml.index+ml[0].length}}}if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]){at_pos=text.indexOf("@");if(at_pos>=0&&null!==(me=text.match(this.re.email_fuzzy))){shift=me.index+me[1].length;next=me.index+me[0].length;if(this.__index__<0||shift<this.__index__||shift===this.__index__&&next>this.__last_index__){this.__schema__="mailto:";this.__index__=shift;this.__last_index__=next}}}return this.__index__>=0};LinkifyIt.prototype.pretest=function pretest(text){return this.re.pretest.test(text)};LinkifyIt.prototype.testSchemaAt=function testSchemaAt(text,schema,pos){if(!this.__compiled__[schema.toLowerCase()])return 0;return this.__compiled__[schema.toLowerCase()].validate(text,pos,this)};LinkifyIt.prototype.match=function match(text){var shift=0,result=[];if(this.__index__>=0&&this.__text_cache__===text){result.push(createMatch(this,shift));shift=this.__last_index__}var tail=shift?text.slice(shift):text;while(this.test(tail)){result.push(createMatch(this,shift));tail=tail.slice(this.__last_index__);shift+=this.__last_index__}if(result.length)return result;return null};LinkifyIt.prototype.tlds=function tlds(list,keepOld){list=Array.isArray(list)?list:[list];if(!keepOld){this.__tlds__=list.slice();this.__tlds_replaced__=true;compile(this);return this}this.__tlds__=this.__tlds__.concat(list).sort().filter(function(el,idx,arr){return el!==arr[idx-1]}).reverse();compile(this);return this};LinkifyIt.prototype.normalize=function normalize(match){match.schema||(match.url="http://"+match.url);"mailto:"!==match.schema||/^mailto:/i.test(match.url)||(match.url="mailto:"+match.url)};LinkifyIt.prototype.onCompile=function onCompile(){};module.exports=LinkifyIt},function(module,exports,__webpack_require__){"use strict";module.exports=function(opts){var re={};re.src_Any=__webpack_require__(888).source;re.src_Cc=__webpack_require__(889).source;re.src_Z=__webpack_require__(890).source;re.src_P=__webpack_require__(496).source;re.src_ZPCc=[re.src_Z,re.src_P,re.src_Cc].join("|");re.src_ZCc=[re.src_Z,re.src_Cc].join("|");var text_separators="[><｜]";re.src_pseudo_letter="(?:(?!"+text_separators+"|"+re.src_ZPCc+")"+re.src_Any+")";re.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)";re.src_auth="(?:(?:(?!"+re.src_ZCc+"|[@/\\[\\]()]).)+@)?";re.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?";re.src_host_terminator="(?=$|"+text_separators+"|"+re.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+re.src_ZPCc+"))";re.src_path="(?:[/?#](?:(?!"+re.src_ZCc+"|"+text_separators+"|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+re.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+re.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+re.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+re.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+re.src_ZCc+"|[']).)+\\'|\\'(?="+re.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+re.src_ZCc+"|[.]).|"+(opts&&opts["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+re.src_ZCc+").|\\!(?!"+re.src_ZCc+"|[!]).|\\?(?!"+re.src_ZCc+"|[?]).)+|\\/)?";re.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+';re.src_xn="xn--[a-z0-9\\-]{1,59}";re.src_domain_root="(?:"+re.src_xn+"|"+re.src_pseudo_letter+"{1,63})";re.src_domain="(?:"+re.src_xn+"|(?:"+re.src_pseudo_letter+")|(?:"+re.src_pseudo_letter+"(?:-(?!-)|"+re.src_pseudo_letter+"){0,61}"+re.src_pseudo_letter+"))";re.src_host="(?:(?:(?:(?:"+re.src_domain+")\\.)*"+re.src_domain+"))";re.tpl_host_fuzzy="(?:"+re.src_ip4+"|(?:(?:(?:"+re.src_domain+")\\.)+(?:%TLDS%)))";re.tpl_host_no_ip_fuzzy="(?:(?:(?:"+re.src_domain+")\\.)+(?:%TLDS%))";re.src_host_strict=re.src_host+re.src_host_terminator;re.tpl_host_fuzzy_strict=re.tpl_host_fuzzy+re.src_host_terminator;re.src_host_port_strict=re.src_host+re.src_port+re.src_host_terminator;re.tpl_host_port_fuzzy_strict=re.tpl_host_fuzzy+re.src_port+re.src_host_terminator;re.tpl_host_port_no_ip_fuzzy_strict=re.tpl_host_no_ip_fuzzy+re.src_port+re.src_host_terminator;re.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+re.src_ZPCc+"|>|$))";re.tpl_email_fuzzy="(^|"+text_separators+"|\\(|"+re.src_ZCc+")("+re.src_email_name+"@"+re.tpl_host_fuzzy_strict+")";re.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|｜]|"+re.src_ZPCc+"))((?![$+<=>^`|｜])"+re.tpl_host_port_fuzzy_strict+re.src_path+")";re.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|｜]|"+re.src_ZPCc+"))((?![$+<=>^`|｜])"+re.tpl_host_port_no_ip_fuzzy_strict+re.src_path+")";return re}},function(module,exports,__webpack_require__){"use strict";module.exports={options:{html:false,xhtmlOut:false,breaks:false,langPrefix:"language-",linkify:false,typographer:false,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(module,exports,__webpack_require__){"use strict";module.exports={options:{html:false,xhtmlOut:false,breaks:false,langPrefix:"language-",linkify:false,typographer:false,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(module,exports,__webpack_require__){"use strict";module.exports={options:{html:true,xhtmlOut:true,breaks:false,langPrefix:"language-",linkify:false,typographer:false,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;
/*!
 * mustache.js - Logic-less {{mustache}} templates with JavaScript
 * http://github.com/janl/mustache.js
 */
/*!
 * mustache.js - Logic-less {{mustache}} templates with JavaScript
 * http://github.com/janl/mustache.js
 */
(function defineMustache(global,factory){if((true,exports)&&"string"!==typeof exports.nodeName)factory(exports);else{true;!(__WEBPACK_AMD_DEFINE_ARRAY__=[exports],__WEBPACK_AMD_DEFINE_FACTORY__=factory,__WEBPACK_AMD_DEFINE_RESULT__="function"===typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__,void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}})(0,function mustacheFactory(mustache){var objectToString=Object.prototype.toString;var isArray=Array.isArray||function isArrayPolyfill(object){return"[object Array]"===objectToString.call(object)};function isFunction(object){return"function"===typeof object}function typeStr(obj){return isArray(obj)?"array":typeof obj}function escapeRegExp(string){return string.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function hasProperty(obj,propName){return null!=obj&&"object"===typeof obj&&propName in obj}var regExpTest=RegExp.prototype.test;function testRegExp(re,string){return regExpTest.call(re,string)}var nonSpaceRe=/\S/;function isWhitespace(string){return!testRegExp(nonSpaceRe,string)}var entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function escapeHtml(string){return String(string).replace(/[&<>"'`=\/]/g,function fromEntityMap(s){return entityMap[s]})}var whiteRe=/\s*/;var spaceRe=/\s+/;var equalsRe=/\s*=/;var curlyRe=/\s*\}/;var tagRe=/#|\^|\/|>|\{|&|=|!/;function parseTemplate(template,tags){if(!template)return[];var sections=[];var tokens=[];var spaces=[];var hasTag=false;var nonSpace=false;function stripSpace(){if(hasTag&&!nonSpace)while(spaces.length)delete tokens[spaces.pop()];else spaces=[];hasTag=false;nonSpace=false}var openingTagRe,closingTagRe,closingCurlyRe;function compileTags(tagsToCompile){"string"===typeof tagsToCompile&&(tagsToCompile=tagsToCompile.split(spaceRe,2));if(!isArray(tagsToCompile)||2!==tagsToCompile.length)throw new Error("Invalid tags: "+tagsToCompile);openingTagRe=new RegExp(escapeRegExp(tagsToCompile[0])+"\\s*");closingTagRe=new RegExp("\\s*"+escapeRegExp(tagsToCompile[1]));closingCurlyRe=new RegExp("\\s*"+escapeRegExp("}"+tagsToCompile[1]))}compileTags(tags||mustache.tags);var scanner=new Scanner(template);var start,type,value,chr,token,openSection;while(!scanner.eos()){start=scanner.pos;value=scanner.scanUntil(openingTagRe);if(value)for(var i=0,valueLength=value.length;i<valueLength;++i){chr=value.charAt(i);isWhitespace(chr)?spaces.push(tokens.length):nonSpace=true;tokens.push(["text",chr,start,start+1]);start+=1;"\n"===chr&&stripSpace()}if(!scanner.scan(openingTagRe))break;hasTag=true;type=scanner.scan(tagRe)||"name";scanner.scan(whiteRe);if("="===type){value=scanner.scanUntil(equalsRe);scanner.scan(equalsRe);scanner.scanUntil(closingTagRe)}else if("{"===type){value=scanner.scanUntil(closingCurlyRe);scanner.scan(curlyRe);scanner.scanUntil(closingTagRe);type="&"}else value=scanner.scanUntil(closingTagRe);if(!scanner.scan(closingTagRe))throw new Error("Unclosed tag at "+scanner.pos);token=[type,value,start,scanner.pos];tokens.push(token);if("#"===type||"^"===type)sections.push(token);else if("/"===type){openSection=sections.pop();if(!openSection)throw new Error('Unopened section "'+value+'" at '+start);if(openSection[1]!==value)throw new Error('Unclosed section "'+openSection[1]+'" at '+start)}else"name"===type||"{"===type||"&"===type?nonSpace=true:"="===type&&compileTags(value)}openSection=sections.pop();if(openSection)throw new Error('Unclosed section "'+openSection[1]+'" at '+scanner.pos);return nestTokens(squashTokens(tokens))}function squashTokens(tokens){var squashedTokens=[];var token,lastToken;for(var i=0,numTokens=tokens.length;i<numTokens;++i){token=tokens[i];if(token)if("text"===token[0]&&lastToken&&"text"===lastToken[0]){lastToken[1]+=token[1];lastToken[3]=token[3]}else{squashedTokens.push(token);lastToken=token}}return squashedTokens}function nestTokens(tokens){var nestedTokens=[];var collector=nestedTokens;var sections=[];var token,section;for(var i=0,numTokens=tokens.length;i<numTokens;++i){token=tokens[i];switch(token[0]){case"#":case"^":collector.push(token);sections.push(token);collector=token[4]=[];break;case"/":section=sections.pop();section[5]=token[2];collector=sections.length>0?sections[sections.length-1][4]:nestedTokens;break;default:collector.push(token)}}return nestedTokens}function Scanner(string){this.string=string;this.tail=string;this.pos=0}Scanner.prototype.eos=function eos(){return""===this.tail};Scanner.prototype.scan=function scan(re){var match=this.tail.match(re);if(!match||0!==match.index)return"";var string=match[0];this.tail=this.tail.substring(string.length);this.pos+=string.length;return string};Scanner.prototype.scanUntil=function scanUntil(re){var match,index=this.tail.search(re);switch(index){case-1:match=this.tail;this.tail="";break;case 0:match="";break;default:match=this.tail.substring(0,index);this.tail=this.tail.substring(index)}this.pos+=match.length;return match};function Context(view,parentContext){this.view=view;this.cache={".":this.view};this.parent=parentContext}Context.prototype.push=function push(view){return new Context(view,this)};Context.prototype.lookup=function lookup(name){var cache=this.cache;var value;if(cache.hasOwnProperty(name))value=cache[name];else{var names,index,context=this,lookupHit=false;while(context){if(name.indexOf(".")>0){value=context.view;names=name.split(".");index=0;while(null!=value&&index<names.length){index===names.length-1&&(lookupHit=hasProperty(value,names[index]));value=value[names[index++]]}}else{value=context.view[name];lookupHit=hasProperty(context.view,name)}if(lookupHit)break;context=context.parent}cache[name]=value}isFunction(value)&&(value=value.call(this.view));return value};function Writer(){this.cache={}}Writer.prototype.clearCache=function clearCache(){this.cache={}};Writer.prototype.parse=function parse(template,tags){var cache=this.cache;var tokens=cache[template];null==tokens&&(tokens=cache[template]=parseTemplate(template,tags));return tokens};Writer.prototype.render=function render(template,view,partials){var tokens=this.parse(template);var context=view instanceof Context?view:new Context(view);return this.renderTokens(tokens,context,partials,template)};Writer.prototype.renderTokens=function renderTokens(tokens,context,partials,originalTemplate){var buffer="";var token,symbol,value;for(var i=0,numTokens=tokens.length;i<numTokens;++i){value=void 0;token=tokens[i];symbol=token[0];"#"===symbol?value=this.renderSection(token,context,partials,originalTemplate):"^"===symbol?value=this.renderInverted(token,context,partials,originalTemplate):">"===symbol?value=this.renderPartial(token,context,partials,originalTemplate):"&"===symbol?value=this.unescapedValue(token,context):"name"===symbol?value=this.escapedValue(token,context):"text"===symbol&&(value=this.rawValue(token));void 0!==value&&(buffer+=value)}return buffer};Writer.prototype.renderSection=function renderSection(token,context,partials,originalTemplate){var self=this;var buffer="";var value=context.lookup(token[1]);function subRender(template){return self.render(template,context,partials)}if(!value)return;if(isArray(value))for(var j=0,valueLength=value.length;j<valueLength;++j)buffer+=this.renderTokens(token[4],context.push(value[j]),partials,originalTemplate);else if("object"===typeof value||"string"===typeof value||"number"===typeof value)buffer+=this.renderTokens(token[4],context.push(value),partials,originalTemplate);else if(isFunction(value)){if("string"!==typeof originalTemplate)throw new Error("Cannot use higher-order sections without the original template");value=value.call(context.view,originalTemplate.slice(token[3],token[5]),subRender);null!=value&&(buffer+=value)}else buffer+=this.renderTokens(token[4],context,partials,originalTemplate);return buffer};Writer.prototype.renderInverted=function renderInverted(token,context,partials,originalTemplate){var value=context.lookup(token[1]);if(!value||isArray(value)&&0===value.length)return this.renderTokens(token[4],context,partials,originalTemplate)};Writer.prototype.renderPartial=function renderPartial(token,context,partials){if(!partials)return;var value=isFunction(partials)?partials(token[1]):partials[token[1]];if(null!=value)return this.renderTokens(this.parse(value),context,partials,value)};Writer.prototype.unescapedValue=function unescapedValue(token,context){var value=context.lookup(token[1]);if(null!=value)return value};Writer.prototype.escapedValue=function escapedValue(token,context){var value=context.lookup(token[1]);if(null!=value)return mustache.escape(value)};Writer.prototype.rawValue=function rawValue(token){return token[1]};mustache.name="mustache.js";mustache.version="2.3.0";mustache.tags=["{{","}}"];var defaultWriter=new Writer;mustache.clearCache=function clearCache(){return defaultWriter.clearCache()};mustache.parse=function parse(template,tags){return defaultWriter.parse(template,tags)};mustache.render=function render(template,view,partials){if("string"!==typeof template)throw new TypeError('Invalid template! Template should be a "string" but "'+typeStr(template)+'" was given as the first argument for mustache#render(template, view, partials)');return defaultWriter.render(template,view,partials)};mustache.to_html=function to_html(template,view,partials,send){var result=mustache.render(template,view,partials);if(!isFunction(send))return result;send(result)};mustache.escape=escapeHtml;mustache.Scanner=Scanner;mustache.Context=Context;mustache.Writer=Writer;return mustache})},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(root,factory){if(true,module.exports)module.exports=factory(__webpack_require__(0),__webpack_require__(72),__webpack_require__(175));else{true;!(__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(0),__webpack_require__(72),__webpack_require__(175)],__WEBPACK_AMD_DEFINE_RESULT__=function(react,reactDOM,angular){return root.ngReact=factory(react,reactDOM,angular)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}})(this,function ngReact(React,ReactDOM,angular){"use strict";function getReactComponent(name,$injector){if(angular.isFunction(name))return name;if(!name)throw new Error("ReactComponent name attribute must be specified");var reactComponent;try{reactComponent=$injector.get(name)}catch(e){}if(!reactComponent)try{reactComponent=name.split(".").reduce(function(current,namePart){return current[namePart]},window)}catch(e){}if(!reactComponent)throw Error("Cannot find react component "+name);return reactComponent}function applied(fn,scope){if(fn.wrappedInApply)return fn;var wrapped=function(){var args=arguments;var phase=scope.$root.$$phase;return"$apply"===phase||"$digest"===phase?fn.apply(null,args):scope.$apply(function(){return fn.apply(null,args)})};wrapped.wrappedInApply=true;return wrapped}function applyFunctions(obj,scope,propsConfig){return Object.keys(obj||{}).reduce(function(prev,key){var value=obj[key];var config=(propsConfig||{})[key]||{};prev[key]=angular.isFunction(value)&&false!==config.wrapApply?applied(value,scope):value;return prev},{})}function watchProps(watchDepth,scope,watchExpressions,listener){var supportsWatchCollection=angular.isFunction(scope.$watchCollection);var supportsWatchGroup=angular.isFunction(scope.$watchGroup);var watchGroupExpressions=[];watchExpressions.forEach(function(expr){var actualExpr=getPropExpression(expr);var exprWatchDepth=getPropWatchDepth(watchDepth,expr);"collection"===exprWatchDepth&&supportsWatchCollection?scope.$watchCollection(actualExpr,listener):"reference"===exprWatchDepth&&supportsWatchGroup?watchGroupExpressions.push(actualExpr):scope.$watch(actualExpr,listener,"reference"!==exprWatchDepth)});watchGroupExpressions.length&&scope.$watchGroup(watchGroupExpressions,listener)}function renderComponent(component,props,scope,elem){scope.$evalAsync(function(){ReactDOM.render(React.createElement(component,props),elem[0])})}function getPropName(prop){return Array.isArray(prop)?prop[0]:prop}function getPropConfig(prop){return Array.isArray(prop)?prop[1]:{}}function getPropExpression(prop){return Array.isArray(prop)?prop[0]:prop}function findAttribute(attrs,propName){var index=Object.keys(attrs).filter(function(attr){return attr.toLowerCase()===propName.toLowerCase()})[0];return attrs[index]}function getPropWatchDepth(defaultWatch,prop){var customWatchDepth=Array.isArray(prop)&&angular.isObject(prop[1])&&prop[1].watchDepth;return customWatchDepth||defaultWatch}var reactComponent=function($injector){return{restrict:"E",replace:true,link:function(scope,elem,attrs){var reactComponent=getReactComponent(attrs.name,$injector);var renderMyComponent=function(){var scopeProps=scope.$eval(attrs.props);var props=applyFunctions(scopeProps,scope);renderComponent(reactComponent,props,scope,elem)};attrs.props?watchProps(attrs.watchDepth,scope,[attrs.props],renderMyComponent):renderMyComponent();scope.$on("$destroy",function(){attrs.onScopeDestroy?scope.$eval(attrs.onScopeDestroy,{unmountComponent:ReactDOM.unmountComponentAtNode.bind(this,elem[0])}):ReactDOM.unmountComponentAtNode(elem[0])})}}};var reactDirective=function($injector){return function(reactComponentName,props,conf,injectableProps){var directive={restrict:"E",replace:true,link:function(scope,elem,attrs){var reactComponent=getReactComponent(reactComponentName,$injector);props=props||Object.keys(reactComponent.propTypes||{});if(!props.length){var ngAttrNames=[];angular.forEach(attrs.$attr,function(value,key){ngAttrNames.push(key)});props=ngAttrNames}var renderMyComponent=function(){var scopeProps={},config={};props.forEach(function(prop){var propName=getPropName(prop);scopeProps[propName]=scope.$eval(findAttribute(attrs,propName));config[propName]=getPropConfig(prop)});scopeProps=applyFunctions(scopeProps,scope,config);scopeProps=angular.extend({},scopeProps,injectableProps);renderComponent(reactComponent,scopeProps,scope,elem)};var propExpressions=props.map(function(prop){return Array.isArray(prop)?[attrs[getPropName(prop)],getPropConfig(prop)]:attrs[prop]});watchProps(attrs.watchDepth,scope,propExpressions,renderMyComponent);renderMyComponent();scope.$on("$destroy",function(){attrs.onScopeDestroy?scope.$eval(attrs.onScopeDestroy,{unmountComponent:ReactDOM.unmountComponentAtNode.bind(this,elem[0])}):ReactDOM.unmountComponentAtNode(elem[0])})}};return angular.extend(directive,conf)}};return angular.module("react",[]).directive("reactComponent",["$injector",reactComponent]).factory("reactDirective",["$injector",reactDirective])})},function(module,exports){function selectorToTerms(selector){return selector.replace(/\s*&\s*/g,"&").split(/\s+/)}function termToCssSelector(term){return term?'[data-test-subj~="'+term+'"]':""}module.exports=function testSubjSelector(selector){const cssSelectors=[];const terms=selectorToTerms(selector);while(terms.length){const term=terms.shift();cssSelectors.push(term.split("&").map(termToCssSelector).join(""))}return cssSelectors.join(" ")}},function(module,exports){
/**
 * @license AngularJS v1.6.9
 * (c) 2010-2018 Google, Inc. http://angularjs.org
 * License: MIT
 */
(function(window){"use strict";var minErrConfig={objectMaxDepth:5};function errorHandlingConfig(config){if(!isObject(config))return minErrConfig;isDefined(config.objectMaxDepth)&&(minErrConfig.objectMaxDepth=isValidObjectMaxDepth(config.objectMaxDepth)?config.objectMaxDepth:NaN)}function isValidObjectMaxDepth(maxDepth){return isNumber(maxDepth)&&maxDepth>0}function minErr(module,ErrorConstructor){ErrorConstructor=ErrorConstructor||Error;return function(){var paramPrefix,i,code=arguments[0],template=arguments[1],message="["+(module?module+":":"")+code+"] ",templateArgs=sliceArgs(arguments,2).map(function(arg){return toDebugString(arg,minErrConfig.objectMaxDepth)});message+=template.replace(/\{\d+\}/g,function(match){var index=+match.slice(1,-1);if(index<templateArgs.length)return templateArgs[index];return match});message+="\nhttp://errors.angularjs.org/1.6.9/"+(module?module+"/":"")+code;for(i=0,paramPrefix="?";i<templateArgs.length;i++,paramPrefix="&")message+=paramPrefix+"p"+i+"="+encodeURIComponent(templateArgs[i]);return new ErrorConstructor(message)}}var REGEX_STRING_REGEXP=/^\/(.+)\/([a-z]*)$/;var VALIDITY_STATE_PROPERTY="validity";var hasOwnProperty=Object.prototype.hasOwnProperty;var lowercase=function(string){return isString(string)?string.toLowerCase():string};var uppercase=function(string){return isString(string)?string.toUpperCase():string};var manualLowercase=function(s){return isString(s)?s.replace(/[A-Z]/g,function(ch){return String.fromCharCode(32|ch.charCodeAt(0))}):s};var manualUppercase=function(s){return isString(s)?s.replace(/[a-z]/g,function(ch){return String.fromCharCode(-33&ch.charCodeAt(0))}):s};if("i"!=="I".toLowerCase()){lowercase=manualLowercase;uppercase=manualUppercase}var msie,jqLite,jQuery,angularModule,slice=[].slice,splice=[].splice,push=[].push,toString=Object.prototype.toString,getPrototypeOf=Object.getPrototypeOf,ngMinErr=minErr("ng"),angular=window.angular||(window.angular={}),uid=0;msie=window.document.documentMode;function isArrayLike(obj){if(null==obj||isWindow(obj))return false;if(isArray(obj)||isString(obj)||jqLite&&obj instanceof jqLite)return true;var length="length"in Object(obj)&&obj.length;return isNumber(length)&&(length>=0&&(length-1 in obj||obj instanceof Array)||"function"===typeof obj.item)}function forEach(obj,iterator,context){var key,length;if(obj)if(isFunction(obj))for(key in obj)"prototype"!==key&&"length"!==key&&"name"!==key&&obj.hasOwnProperty(key)&&iterator.call(context,obj[key],key,obj);else if(isArray(obj)||isArrayLike(obj)){var isPrimitive="object"!==typeof obj;for(key=0,length=obj.length;key<length;key++)(isPrimitive||key in obj)&&iterator.call(context,obj[key],key,obj)}else if(obj.forEach&&obj.forEach!==forEach)obj.forEach(iterator,context,obj);else if(isBlankObject(obj))for(key in obj)iterator.call(context,obj[key],key,obj);else if("function"===typeof obj.hasOwnProperty)for(key in obj)obj.hasOwnProperty(key)&&iterator.call(context,obj[key],key,obj);else for(key in obj)hasOwnProperty.call(obj,key)&&iterator.call(context,obj[key],key,obj);return obj}function forEachSorted(obj,iterator,context){var keys=Object.keys(obj).sort();for(var i=0;i<keys.length;i++)iterator.call(context,obj[keys[i]],keys[i]);return keys}function reverseParams(iteratorFn){return function(value,key){iteratorFn(key,value)}}function nextUid(){return++uid}function setHashKey(obj,h){h?obj.$$hashKey=h:delete obj.$$hashKey}function baseExtend(dst,objs,deep){var h=dst.$$hashKey;for(var i=0,ii=objs.length;i<ii;++i){var obj=objs[i];if(!isObject(obj)&&!isFunction(obj))continue;var keys=Object.keys(obj);for(var j=0,jj=keys.length;j<jj;j++){var key=keys[j];var src=obj[key];if(deep&&isObject(src))if(isDate(src))dst[key]=new Date(src.valueOf());else if(isRegExp(src))dst[key]=new RegExp(src);else if(src.nodeName)dst[key]=src.cloneNode(true);else if(isElement(src))dst[key]=src.clone();else{isObject(dst[key])||(dst[key]=isArray(src)?[]:{});baseExtend(dst[key],[src],true)}else dst[key]=src}}setHashKey(dst,h);return dst}function extend(dst){return baseExtend(dst,slice.call(arguments,1),false)}function merge(dst){return baseExtend(dst,slice.call(arguments,1),true)}function toInt(str){return parseInt(str,10)}var isNumberNaN=Number.isNaN||function isNumberNaN(num){return num!==num};function inherit(parent,extra){return extend(Object.create(parent),extra)}function noop(){}noop.$inject=[];function identity($){return $}identity.$inject=[];function valueFn(value){return function valueRef(){return value}}function hasCustomToString(obj){return isFunction(obj.toString)&&obj.toString!==toString}function isUndefined(value){return"undefined"===typeof value}function isDefined(value){return"undefined"!==typeof value}function isObject(value){return null!==value&&"object"===typeof value}function isBlankObject(value){return null!==value&&"object"===typeof value&&!getPrototypeOf(value)}function isString(value){return"string"===typeof value}function isNumber(value){return"number"===typeof value}function isDate(value){return"[object Date]"===toString.call(value)}var isArray=Array.isArray;function isError(value){var tag=toString.call(value);switch(tag){case"[object Error]":case"[object Exception]":case"[object DOMException]":return true;default:return value instanceof Error}}function isFunction(value){return"function"===typeof value}function isRegExp(value){return"[object RegExp]"===toString.call(value)}function isWindow(obj){return obj&&obj.window===obj}function isScope(obj){return obj&&obj.$evalAsync&&obj.$watch}function isFile(obj){return"[object File]"===toString.call(obj)}function isFormData(obj){return"[object FormData]"===toString.call(obj)}function isBlob(obj){return"[object Blob]"===toString.call(obj)}function isBoolean(value){return"boolean"===typeof value}function isPromiseLike(obj){return obj&&isFunction(obj.then)}var TYPED_ARRAY_REGEXP=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;function isTypedArray(value){return value&&isNumber(value.length)&&TYPED_ARRAY_REGEXP.test(toString.call(value))}function isArrayBuffer(obj){return"[object ArrayBuffer]"===toString.call(obj)}var trim=function(value){return isString(value)?value.trim():value};var escapeForRegexp=function(s){return s.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function isElement(node){return!!(node&&(node.nodeName||node.prop&&node.attr&&node.find))}function makeMap(str){var i,obj={},items=str.split(",");for(i=0;i<items.length;i++)obj[items[i]]=true;return obj}function nodeName_(element){return lowercase(element.nodeName||element[0]&&element[0].nodeName)}function includes(array,obj){return-1!==Array.prototype.indexOf.call(array,obj)}function arrayRemove(array,value){var index=array.indexOf(value);index>=0&&array.splice(index,1);return index}function copy(source,destination,maxDepth){var stackSource=[];var stackDest=[];maxDepth=isValidObjectMaxDepth(maxDepth)?maxDepth:NaN;if(destination){if(isTypedArray(destination)||isArrayBuffer(destination))throw ngMinErr("cpta","Can't copy! TypedArray destination cannot be mutated.");if(source===destination)throw ngMinErr("cpi","Can't copy! Source and destination are identical.");isArray(destination)?destination.length=0:forEach(destination,function(value,key){"$$hashKey"!==key&&delete destination[key]});stackSource.push(source);stackDest.push(destination);return copyRecurse(source,destination,maxDepth)}return copyElement(source,maxDepth);function copyRecurse(source,destination,maxDepth){maxDepth--;if(maxDepth<0)return"...";var h=destination.$$hashKey;var key;if(isArray(source))for(var i=0,ii=source.length;i<ii;i++)destination.push(copyElement(source[i],maxDepth));else if(isBlankObject(source))for(key in source)destination[key]=copyElement(source[key],maxDepth);else if(source&&"function"===typeof source.hasOwnProperty)for(key in source)source.hasOwnProperty(key)&&(destination[key]=copyElement(source[key],maxDepth));else for(key in source)hasOwnProperty.call(source,key)&&(destination[key]=copyElement(source[key],maxDepth));setHashKey(destination,h);return destination}function copyElement(source,maxDepth){if(!isObject(source))return source;var index=stackSource.indexOf(source);if(-1!==index)return stackDest[index];if(isWindow(source)||isScope(source))throw ngMinErr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var needsRecurse=false;var destination=copyType(source);if(void 0===destination){destination=isArray(source)?[]:Object.create(getPrototypeOf(source));needsRecurse=true}stackSource.push(source);stackDest.push(destination);return needsRecurse?copyRecurse(source,destination,maxDepth):destination}function copyType(source){switch(toString.call(source)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new source.constructor(copyElement(source.buffer),source.byteOffset,source.length);case"[object ArrayBuffer]":if(!source.slice){var copied=new ArrayBuffer(source.byteLength);new Uint8Array(copied).set(new Uint8Array(source));return copied}return source.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new source.constructor(source.valueOf());case"[object RegExp]":var re=new RegExp(source.source,source.toString().match(/[^\/]*$/)[0]);re.lastIndex=source.lastIndex;return re;case"[object Blob]":return new source.constructor([source],{type:source.type})}if(isFunction(source.cloneNode))return source.cloneNode(true)}}function simpleCompare(a,b){return a===b||a!==a&&b!==b}function equals(o1,o2){if(o1===o2)return true;if(null===o1||null===o2)return false;if(o1!==o1&&o2!==o2)return true;var length,key,keySet,t1=typeof o1,t2=typeof o2;if(t1===t2&&"object"===t1){if(!isArray(o1)){if(isDate(o1)){if(!isDate(o2))return false;return simpleCompare(o1.getTime(),o2.getTime())}if(isRegExp(o1)){if(!isRegExp(o2))return false;return o1.toString()===o2.toString()}if(isScope(o1)||isScope(o2)||isWindow(o1)||isWindow(o2)||isArray(o2)||isDate(o2)||isRegExp(o2))return false;keySet=createMap();for(key in o1){if("$"===key.charAt(0)||isFunction(o1[key]))continue;if(!equals(o1[key],o2[key]))return false;keySet[key]=true}for(key in o2)if(!(key in keySet)&&"$"!==key.charAt(0)&&isDefined(o2[key])&&!isFunction(o2[key]))return false;return true}if(!isArray(o2))return false;if((length=o1.length)===o2.length){for(key=0;key<length;key++)if(!equals(o1[key],o2[key]))return false;return true}}return false}var csp=function(){if(!isDefined(csp.rules)){var ngCspElement=window.document.querySelector("[ng-csp]")||window.document.querySelector("[data-ng-csp]");if(ngCspElement){var ngCspAttribute=ngCspElement.getAttribute("ng-csp")||ngCspElement.getAttribute("data-ng-csp");csp.rules={noUnsafeEval:!ngCspAttribute||-1!==ngCspAttribute.indexOf("no-unsafe-eval"),noInlineStyle:!ngCspAttribute||-1!==ngCspAttribute.indexOf("no-inline-style")}}else csp.rules={noUnsafeEval:noUnsafeEval(),noInlineStyle:false}}return csp.rules;function noUnsafeEval(){try{new Function("");return false}catch(e){return true}}};var jq=function(){if(isDefined(jq.name_))return jq.name_;var el;var i,prefix,name,ii=ngAttrPrefixes.length;for(i=0;i<ii;++i){prefix=ngAttrPrefixes[i];el=window.document.querySelector("["+prefix.replace(":","\\:")+"jq]");if(el){name=el.getAttribute(prefix+"jq");break}}return jq.name_=name};function concat(array1,array2,index){return array1.concat(slice.call(array2,index))}function sliceArgs(args,startIndex){return slice.call(args,startIndex||0)}function bind(self,fn){var curryArgs=arguments.length>2?sliceArgs(arguments,2):[];return!isFunction(fn)||fn instanceof RegExp?fn:curryArgs.length?function(){return arguments.length?fn.apply(self,concat(curryArgs,arguments,0)):fn.apply(self,curryArgs)}:function(){return arguments.length?fn.apply(self,arguments):fn.call(self)}}function toJsonReplacer(key,value){var val=value;"string"===typeof key&&"$"===key.charAt(0)&&"$"===key.charAt(1)?val=void 0:isWindow(value)?val="$WINDOW":value&&window.document===value?val="$DOCUMENT":isScope(value)&&(val="$SCOPE");return val}function toJson(obj,pretty){if(isUndefined(obj))return;isNumber(pretty)||(pretty=pretty?2:null);return JSON.stringify(obj,toJsonReplacer,pretty)}function fromJson(json){return isString(json)?JSON.parse(json):json}var ALL_COLONS=/:/g;function timezoneToOffset(timezone,fallback){timezone=timezone.replace(ALL_COLONS,"");var requestedTimezoneOffset=Date.parse("Jan 01, 1970 00:00:00 "+timezone)/6e4;return isNumberNaN(requestedTimezoneOffset)?fallback:requestedTimezoneOffset}function addDateMinutes(date,minutes){date=new Date(date.getTime());date.setMinutes(date.getMinutes()+minutes);return date}function convertTimezoneToLocal(date,timezone,reverse){reverse=reverse?-1:1;var dateTimezoneOffset=date.getTimezoneOffset();var timezoneOffset=timezoneToOffset(timezone,dateTimezoneOffset);return addDateMinutes(date,reverse*(timezoneOffset-dateTimezoneOffset))}function startingTag(element){element=jqLite(element).clone().empty();var elemHtml=jqLite("<div>").append(element).html();try{return element[0].nodeType===NODE_TYPE_TEXT?lowercase(elemHtml):elemHtml.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(match,nodeName){return"<"+lowercase(nodeName)})}catch(e){return lowercase(elemHtml)}}function tryDecodeURIComponent(value){try{return decodeURIComponent(value)}catch(e){}}function parseKeyValue(keyValue){var obj={};forEach((keyValue||"").split("&"),function(keyValue){var splitPoint,key,val;if(keyValue){key=keyValue=keyValue.replace(/\+/g,"%20");splitPoint=keyValue.indexOf("=");if(-1!==splitPoint){key=keyValue.substring(0,splitPoint);val=keyValue.substring(splitPoint+1)}key=tryDecodeURIComponent(key);if(isDefined(key)){val=!isDefined(val)||tryDecodeURIComponent(val);hasOwnProperty.call(obj,key)?isArray(obj[key])?obj[key].push(val):obj[key]=[obj[key],val]:obj[key]=val}}});return obj}function toKeyValue(obj){var parts=[];forEach(obj,function(value,key){isArray(value)?forEach(value,function(arrayValue){parts.push(encodeUriQuery(key,true)+(true===arrayValue?"":"="+encodeUriQuery(arrayValue,true)))}):parts.push(encodeUriQuery(key,true)+(true===value?"":"="+encodeUriQuery(value,true)))});return parts.length?parts.join("&"):""}function encodeUriSegment(val){return encodeUriQuery(val,true).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function encodeUriQuery(val,pctEncodeSpaces){return encodeURIComponent(val).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,pctEncodeSpaces?"%20":"+")}var ngAttrPrefixes=["ng-","data-ng-","ng:","x-ng-"];function getNgAttribute(element,ngAttr){var attr,i,ii=ngAttrPrefixes.length;for(i=0;i<ii;++i){attr=ngAttrPrefixes[i]+ngAttr;if(isString(attr=element.getAttribute(attr)))return attr}return null}function allowAutoBootstrap(document){var script=document.currentScript;if(!script)return true;if(!(script instanceof window.HTMLScriptElement||script instanceof window.SVGScriptElement))return false;var attributes=script.attributes;var srcs=[attributes.getNamedItem("src"),attributes.getNamedItem("href"),attributes.getNamedItem("xlink:href")];return srcs.every(function(src){if(!src)return true;if(!src.value)return false;var link=document.createElement("a");link.href=src.value;if(document.location.origin===link.origin)return true;switch(link.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return true;default:return false}})}var isAutoBootstrapAllowed=allowAutoBootstrap(window.document);function angularInit(element,bootstrap){var appElement,module,config={};forEach(ngAttrPrefixes,function(prefix){var name=prefix+"app";if(!appElement&&element.hasAttribute&&element.hasAttribute(name)){appElement=element;module=element.getAttribute(name)}});forEach(ngAttrPrefixes,function(prefix){var name=prefix+"app";var candidate;if(!appElement&&(candidate=element.querySelector("["+name.replace(":","\\:")+"]"))){appElement=candidate;module=candidate.getAttribute(name)}});if(appElement){if(!isAutoBootstrapAllowed){window.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");return}config.strictDi=null!==getNgAttribute(appElement,"strict-di");bootstrap(appElement,module?[module]:[],config)}}function bootstrap(element,modules,config){isObject(config)||(config={});var defaultConfig={strictDi:false};config=extend(defaultConfig,config);var doBootstrap=function(){element=jqLite(element);if(element.injector()){var tag=element[0]===window.document?"document":startingTag(element);throw ngMinErr("btstrpd","App already bootstrapped with this element '{0}'",tag.replace(/</,"&lt;").replace(/>/,"&gt;"))}modules=modules||[];modules.unshift(["$provide",function($provide){$provide.value("$rootElement",element)}]);config.debugInfoEnabled&&modules.push(["$compileProvider",function($compileProvider){$compileProvider.debugInfoEnabled(true)}]);modules.unshift("ng");var injector=createInjector(modules,config.strictDi);injector.invoke(["$rootScope","$rootElement","$compile","$injector",function bootstrapApply(scope,element,compile,injector){scope.$apply(function(){element.data("$injector",injector);compile(element)(scope)})}]);return injector};var NG_ENABLE_DEBUG_INFO=/^NG_ENABLE_DEBUG_INFO!/;var NG_DEFER_BOOTSTRAP=/^NG_DEFER_BOOTSTRAP!/;if(window&&NG_ENABLE_DEBUG_INFO.test(window.name)){config.debugInfoEnabled=true;window.name=window.name.replace(NG_ENABLE_DEBUG_INFO,"")}if(window&&!NG_DEFER_BOOTSTRAP.test(window.name))return doBootstrap();window.name=window.name.replace(NG_DEFER_BOOTSTRAP,"");angular.resumeBootstrap=function(extraModules){forEach(extraModules,function(module){modules.push(module)});return doBootstrap()};isFunction(angular.resumeDeferredBootstrap)&&angular.resumeDeferredBootstrap()}function reloadWithDebugInfo(){window.name="NG_ENABLE_DEBUG_INFO!"+window.name;window.location.reload()}function getTestability(rootElement){var injector=angular.element(rootElement).injector();if(!injector)throw ngMinErr("test","no injector found for element argument to getTestability");return injector.get("$$testability")}var SNAKE_CASE_REGEXP=/[A-Z]/g;function snake_case(name,separator){separator=separator||"_";return name.replace(SNAKE_CASE_REGEXP,function(letter,pos){return(pos?separator:"")+letter.toLowerCase()})}var bindJQueryFired=false;function bindJQuery(){var originalCleanData;if(bindJQueryFired)return;var jqName=jq();jQuery=isUndefined(jqName)?window.jQuery:jqName?window[jqName]:void 0;if(jQuery&&jQuery.fn.on){jqLite=jQuery;extend(jQuery.fn,{scope:JQLitePrototype.scope,isolateScope:JQLitePrototype.isolateScope,controller:JQLitePrototype.controller,injector:JQLitePrototype.injector,inheritedData:JQLitePrototype.inheritedData});originalCleanData=jQuery.cleanData;jQuery.cleanData=function(elems){var events;for(var elem,i=0;null!=(elem=elems[i]);i++){events=jQuery._data(elem,"events");events&&events.$destroy&&jQuery(elem).triggerHandler("$destroy")}originalCleanData(elems)}}else jqLite=JQLite;angular.element=jqLite;bindJQueryFired=true}function assertArg(arg,name,reason){if(!arg)throw ngMinErr("areq","Argument '{0}' is {1}",name||"?",reason||"required");return arg}function assertArgFn(arg,name,acceptArrayAnnotation){acceptArrayAnnotation&&isArray(arg)&&(arg=arg[arg.length-1]);assertArg(isFunction(arg),name,"not a function, got "+(arg&&"object"===typeof arg?arg.constructor.name||"Object":typeof arg));return arg}function assertNotHasOwnProperty(name,context){if("hasOwnProperty"===name)throw ngMinErr("badname","hasOwnProperty is not a valid {0} name",context)}function getter(obj,path,bindFnToScope){if(!path)return obj;var keys=path.split(".");var key;var lastInstance=obj;var len=keys.length;for(var i=0;i<len;i++){key=keys[i];obj&&(obj=(lastInstance=obj)[key])}if(!bindFnToScope&&isFunction(obj))return bind(lastInstance,obj);return obj}function getBlockNodes(nodes){var node=nodes[0];var endNode=nodes[nodes.length-1];var blockNodes;for(var i=1;node!==endNode&&(node=node.nextSibling);i++)if(blockNodes||nodes[i]!==node){blockNodes||(blockNodes=jqLite(slice.call(nodes,0,i)));blockNodes.push(node)}return blockNodes||nodes}function createMap(){return Object.create(null)}function stringify(value){if(null==value)return"";switch(typeof value){case"string":break;case"number":value=""+value;break;default:value=!hasCustomToString(value)||isArray(value)||isDate(value)?toJson(value):value.toString()}return value}var NODE_TYPE_ELEMENT=1;var NODE_TYPE_ATTRIBUTE=2;var NODE_TYPE_TEXT=3;var NODE_TYPE_COMMENT=8;var NODE_TYPE_DOCUMENT=9;var NODE_TYPE_DOCUMENT_FRAGMENT=11;function setupModuleLoader(window){var $injectorMinErr=minErr("$injector");var ngMinErr=minErr("ng");function ensure(obj,name,factory){return obj[name]||(obj[name]=factory())}var angular=ensure(window,"angular",Object);angular.$$minErr=angular.$$minErr||minErr;return ensure(angular,"module",function(){var modules={};return function module(name,requires,configFn){var info={};var assertNotHasOwnProperty=function(name,context){if("hasOwnProperty"===name)throw ngMinErr("badname","hasOwnProperty is not a valid {0} name",context)};assertNotHasOwnProperty(name,"module");requires&&modules.hasOwnProperty(name)&&(modules[name]=null);return ensure(modules,name,function(){if(!requires)throw $injectorMinErr("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",name);var invokeQueue=[];var configBlocks=[];var runBlocks=[];var config=invokeLater("$injector","invoke","push",configBlocks);var moduleInstance={_invokeQueue:invokeQueue,_configBlocks:configBlocks,_runBlocks:runBlocks,info:function(value){if(isDefined(value)){if(!isObject(value))throw ngMinErr("aobj","Argument '{0}' must be an object","value");info=value;return this}return info},requires:requires,name:name,provider:invokeLaterAndSetModuleName("$provide","provider"),factory:invokeLaterAndSetModuleName("$provide","factory"),service:invokeLaterAndSetModuleName("$provide","service"),value:invokeLater("$provide","value"),constant:invokeLater("$provide","constant","unshift"),decorator:invokeLaterAndSetModuleName("$provide","decorator",configBlocks),animation:invokeLaterAndSetModuleName("$animateProvider","register"),filter:invokeLaterAndSetModuleName("$filterProvider","register"),controller:invokeLaterAndSetModuleName("$controllerProvider","register"),directive:invokeLaterAndSetModuleName("$compileProvider","directive"),component:invokeLaterAndSetModuleName("$compileProvider","component"),config:config,run:function(block){runBlocks.push(block);return this}};configFn&&config(configFn);return moduleInstance;function invokeLater(provider,method,insertMethod,queue){queue||(queue=invokeQueue);return function(){queue[insertMethod||"push"]([provider,method,arguments]);return moduleInstance}}function invokeLaterAndSetModuleName(provider,method,queue){queue||(queue=invokeQueue);return function(recipeName,factoryFunction){factoryFunction&&isFunction(factoryFunction)&&(factoryFunction.$$moduleName=name);queue.push([provider,method,arguments]);return moduleInstance}}})}})}function shallowCopy(src,dst){if(isArray(src)){dst=dst||[];for(var i=0,ii=src.length;i<ii;i++)dst[i]=src[i]}else if(isObject(src)){dst=dst||{};for(var key in src)"$"===key.charAt(0)&&"$"===key.charAt(1)||(dst[key]=src[key])}return dst||src}function serializeObject(obj,maxDepth){var seen=[];isValidObjectMaxDepth(maxDepth)&&(obj=angular.copy(obj,null,maxDepth));return JSON.stringify(obj,function(key,val){val=toJsonReplacer(key,val);if(isObject(val)){if(seen.indexOf(val)>=0)return"...";seen.push(val)}return val})}function toDebugString(obj,maxDepth){if("function"===typeof obj)return obj.toString().replace(/ \{[\s\S]*$/,"");if(isUndefined(obj))return"undefined";if("string"!==typeof obj)return serializeObject(obj,maxDepth);return obj}var version={full:"1.6.9",major:1,minor:6,dot:9,codeName:"fiery-basilisk"};function publishExternalAPI(angular){extend(angular,{errorHandlingConfig:errorHandlingConfig,bootstrap:bootstrap,copy:copy,extend:extend,merge:merge,equals:equals,element:jqLite,forEach:forEach,injector:createInjector,noop:noop,bind:bind,toJson:toJson,fromJson:fromJson,identity:identity,isUndefined:isUndefined,isDefined:isDefined,isString:isString,isFunction:isFunction,isObject:isObject,isNumber:isNumber,isElement:isElement,isArray:isArray,version:version,isDate:isDate,lowercase:lowercase,uppercase:uppercase,callbacks:{$$counter:0},getTestability:getTestability,reloadWithDebugInfo:reloadWithDebugInfo,$$minErr:minErr,$$csp:csp,$$encodeUriSegment:encodeUriSegment,$$encodeUriQuery:encodeUriQuery,$$stringify:stringify});angularModule=setupModuleLoader(window);angularModule("ng",["ngLocale"],["$provide",function ngModule($provide){$provide.provider({$$sanitizeUri:$$SanitizeUriProvider});$provide.provider("$compile",$CompileProvider).directive({a:htmlAnchorDirective,input:inputDirective,textarea:inputDirective,form:formDirective,script:scriptDirective,select:selectDirective,option:optionDirective,ngBind:ngBindDirective,ngBindHtml:ngBindHtmlDirective,ngBindTemplate:ngBindTemplateDirective,ngClass:ngClassDirective,ngClassEven:ngClassEvenDirective,ngClassOdd:ngClassOddDirective,ngCloak:ngCloakDirective,ngController:ngControllerDirective,ngForm:ngFormDirective,ngHide:ngHideDirective,ngIf:ngIfDirective,ngInclude:ngIncludeDirective,ngInit:ngInitDirective,ngNonBindable:ngNonBindableDirective,ngPluralize:ngPluralizeDirective,ngRepeat:ngRepeatDirective,ngShow:ngShowDirective,ngStyle:ngStyleDirective,ngSwitch:ngSwitchDirective,ngSwitchWhen:ngSwitchWhenDirective,ngSwitchDefault:ngSwitchDefaultDirective,ngOptions:ngOptionsDirective,ngTransclude:ngTranscludeDirective,ngModel:ngModelDirective,ngList:ngListDirective,ngChange:ngChangeDirective,pattern:patternDirective,ngPattern:patternDirective,required:requiredDirective,ngRequired:requiredDirective,minlength:minlengthDirective,ngMinlength:minlengthDirective,maxlength:maxlengthDirective,ngMaxlength:maxlengthDirective,ngValue:ngValueDirective,ngModelOptions:ngModelOptionsDirective}).directive({ngInclude:ngIncludeFillContentDirective}).directive(ngAttributeAliasDirectives).directive(ngEventDirectives);$provide.provider({$anchorScroll:$AnchorScrollProvider,$animate:$AnimateProvider,$animateCss:$CoreAnimateCssProvider,$$animateJs:$$CoreAnimateJsProvider,$$animateQueue:$$CoreAnimateQueueProvider,$$AnimateRunner:$$AnimateRunnerFactoryProvider,$$animateAsyncRun:$$AnimateAsyncRunFactoryProvider,$browser:$BrowserProvider,$cacheFactory:$CacheFactoryProvider,$controller:$ControllerProvider,$document:$DocumentProvider,$$isDocumentHidden:$$IsDocumentHiddenProvider,$exceptionHandler:$ExceptionHandlerProvider,$filter:$FilterProvider,$$forceReflow:$$ForceReflowProvider,$interpolate:$InterpolateProvider,$interval:$IntervalProvider,$http:$HttpProvider,$httpParamSerializer:$HttpParamSerializerProvider,$httpParamSerializerJQLike:$HttpParamSerializerJQLikeProvider,$httpBackend:$HttpBackendProvider,$xhrFactory:$xhrFactoryProvider,$jsonpCallbacks:$jsonpCallbacksProvider,$location:$LocationProvider,$log:$LogProvider,$parse:$ParseProvider,$rootScope:$RootScopeProvider,$q:$QProvider,$$q:$$QProvider,$sce:$SceProvider,$sceDelegate:$SceDelegateProvider,$sniffer:$SnifferProvider,$templateCache:$TemplateCacheProvider,$templateRequest:$TemplateRequestProvider,$$testability:$$TestabilityProvider,$timeout:$TimeoutProvider,$window:$WindowProvider,$$rAF:$$RAFProvider,$$jqLite:$$jqLiteProvider,$$Map:$$MapProvider,$$cookieReader:$$CookieReaderProvider})}]).info({angularVersion:"1.6.9"})}JQLite.expando="ng339";var jqCache=JQLite.cache={},jqId=1;JQLite._data=function(node){return this.cache[node[this.expando]]||{}};function jqNextId(){return++jqId}var DASH_LOWERCASE_REGEXP=/-([a-z])/g;var MS_HACK_REGEXP=/^-ms-/;var MOUSE_EVENT_MAP={mouseleave:"mouseout",mouseenter:"mouseover"};var jqLiteMinErr=minErr("jqLite");function cssKebabToCamel(name){return kebabToCamel(name.replace(MS_HACK_REGEXP,"ms-"))}function fnCamelCaseReplace(all,letter){return letter.toUpperCase()}function kebabToCamel(name){return name.replace(DASH_LOWERCASE_REGEXP,fnCamelCaseReplace)}var SINGLE_TAG_REGEXP=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/;var HTML_REGEXP=/<|&#?\w+;/;var TAG_NAME_REGEXP=/<([\w:-]+)/;var XHTML_TAG_REGEXP=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi;var wrapMap={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};wrapMap.optgroup=wrapMap.option;wrapMap.tbody=wrapMap.tfoot=wrapMap.colgroup=wrapMap.caption=wrapMap.thead;wrapMap.th=wrapMap.td;function jqLiteIsTextNode(html){return!HTML_REGEXP.test(html)}function jqLiteAcceptsData(node){var nodeType=node.nodeType;return nodeType===NODE_TYPE_ELEMENT||!nodeType||nodeType===NODE_TYPE_DOCUMENT}function jqLiteHasData(node){for(var key in jqCache[node.ng339])return true;return false}function jqLiteBuildFragment(html,context){var tmp,tag,wrap,i,fragment=context.createDocumentFragment(),nodes=[];if(jqLiteIsTextNode(html))nodes.push(context.createTextNode(html));else{tmp=fragment.appendChild(context.createElement("div"));tag=(TAG_NAME_REGEXP.exec(html)||["",""])[1].toLowerCase();wrap=wrapMap[tag]||wrapMap._default;tmp.innerHTML=wrap[1]+html.replace(XHTML_TAG_REGEXP,"<$1></$2>")+wrap[2];i=wrap[0];while(i--)tmp=tmp.lastChild;nodes=concat(nodes,tmp.childNodes);tmp=fragment.firstChild;tmp.textContent=""}fragment.textContent="";fragment.innerHTML="";forEach(nodes,function(node){fragment.appendChild(node)});return fragment}function jqLiteParseHTML(html,context){context=context||window.document;var parsed;if(parsed=SINGLE_TAG_REGEXP.exec(html))return[context.createElement(parsed[1])];if(parsed=jqLiteBuildFragment(html,context))return parsed.childNodes;return[]}function jqLiteWrapNode(node,wrapper){var parent=node.parentNode;parent&&parent.replaceChild(wrapper,node);wrapper.appendChild(node)}var jqLiteContains=window.Node.prototype.contains||function(arg){return!!(16&this.compareDocumentPosition(arg))};function JQLite(element){if(element instanceof JQLite)return element;var argIsString;if(isString(element)){element=trim(element);argIsString=true}if(!(this instanceof JQLite)){if(argIsString&&"<"!==element.charAt(0))throw jqLiteMinErr("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new JQLite(element)}argIsString?jqLiteAddNodes(this,jqLiteParseHTML(element)):isFunction(element)?jqLiteReady(element):jqLiteAddNodes(this,element)}function jqLiteClone(element){return element.cloneNode(true)}function jqLiteDealoc(element,onlyDescendants){!onlyDescendants&&jqLiteAcceptsData(element)&&jqLite.cleanData([element]);element.querySelectorAll&&jqLite.cleanData(element.querySelectorAll("*"))}function jqLiteOff(element,type,fn,unsupported){if(isDefined(unsupported))throw jqLiteMinErr("offargs","jqLite#off() does not support the `selector` argument");var expandoStore=jqLiteExpandoStore(element);var events=expandoStore&&expandoStore.events;var handle=expandoStore&&expandoStore.handle;if(!handle)return;if(type){var removeHandler=function(type){var listenerFns=events[type];isDefined(fn)&&arrayRemove(listenerFns||[],fn);if(!(isDefined(fn)&&listenerFns&&listenerFns.length>0)){element.removeEventListener(type,handle);delete events[type]}};forEach(type.split(" "),function(type){removeHandler(type);MOUSE_EVENT_MAP[type]&&removeHandler(MOUSE_EVENT_MAP[type])})}else for(type in events){"$destroy"!==type&&element.removeEventListener(type,handle);delete events[type]}}function jqLiteRemoveData(element,name){var expandoId=element.ng339;var expandoStore=expandoId&&jqCache[expandoId];if(expandoStore){if(name){delete expandoStore.data[name];return}if(expandoStore.handle){expandoStore.events.$destroy&&expandoStore.handle({},"$destroy");jqLiteOff(element)}delete jqCache[expandoId];element.ng339=void 0}}function jqLiteExpandoStore(element,createIfNecessary){var expandoId=element.ng339,expandoStore=expandoId&&jqCache[expandoId];if(createIfNecessary&&!expandoStore){element.ng339=expandoId=jqNextId();expandoStore=jqCache[expandoId]={events:{},data:{},handle:void 0}}return expandoStore}function jqLiteData(element,key,value){if(jqLiteAcceptsData(element)){var prop;var isSimpleSetter=isDefined(value);var isSimpleGetter=!isSimpleSetter&&key&&!isObject(key);var massGetter=!key;var expandoStore=jqLiteExpandoStore(element,!isSimpleGetter);var data=expandoStore&&expandoStore.data;if(isSimpleSetter)data[kebabToCamel(key)]=value;else{if(massGetter)return data;if(isSimpleGetter)return data&&data[kebabToCamel(key)];for(prop in key)data[kebabToCamel(prop)]=key[prop]}}}function jqLiteHasClass(element,selector){if(!element.getAttribute)return false;return(" "+(element.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+selector+" ")>-1}function jqLiteRemoveClass(element,cssClasses){if(cssClasses&&element.setAttribute){var existingClasses=(" "+(element.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");var newClasses=existingClasses;forEach(cssClasses.split(" "),function(cssClass){cssClass=trim(cssClass);newClasses=newClasses.replace(" "+cssClass+" "," ")});newClasses!==existingClasses&&element.setAttribute("class",trim(newClasses))}}function jqLiteAddClass(element,cssClasses){if(cssClasses&&element.setAttribute){var existingClasses=(" "+(element.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");var newClasses=existingClasses;forEach(cssClasses.split(" "),function(cssClass){cssClass=trim(cssClass);-1===newClasses.indexOf(" "+cssClass+" ")&&(newClasses+=cssClass+" ")});newClasses!==existingClasses&&element.setAttribute("class",trim(newClasses))}}function jqLiteAddNodes(root,elements){if(elements)if(elements.nodeType)root[root.length++]=elements;else{var length=elements.length;if("number"===typeof length&&elements.window!==elements){if(length)for(var i=0;i<length;i++)root[root.length++]=elements[i]}else root[root.length++]=elements}}function jqLiteController(element,name){return jqLiteInheritedData(element,"$"+(name||"ngController")+"Controller")}function jqLiteInheritedData(element,name,value){element.nodeType===NODE_TYPE_DOCUMENT&&(element=element.documentElement);var names=isArray(name)?name:[name];while(element){for(var i=0,ii=names.length;i<ii;i++)if(isDefined(value=jqLite.data(element,names[i])))return value;element=element.parentNode||element.nodeType===NODE_TYPE_DOCUMENT_FRAGMENT&&element.host}}function jqLiteEmpty(element){jqLiteDealoc(element,true);while(element.firstChild)element.removeChild(element.firstChild)}function jqLiteRemove(element,keepData){keepData||jqLiteDealoc(element);var parent=element.parentNode;parent&&parent.removeChild(element)}function jqLiteDocumentLoaded(action,win){win=win||window;"complete"===win.document.readyState?win.setTimeout(action):jqLite(win).on("load",action)}function jqLiteReady(fn){function trigger(){window.document.removeEventListener("DOMContentLoaded",trigger);window.removeEventListener("load",trigger);fn()}if("complete"===window.document.readyState)window.setTimeout(fn);else{window.document.addEventListener("DOMContentLoaded",trigger);window.addEventListener("load",trigger)}}var JQLitePrototype=JQLite.prototype={ready:jqLiteReady,toString:function(){var value=[];forEach(this,function(e){value.push(""+e)});return"["+value.join(", ")+"]"},eq:function(index){return jqLite(index>=0?this[index]:this[this.length+index])},length:0,push:push,sort:[].sort,splice:[].splice};var BOOLEAN_ATTR={};forEach("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(value){BOOLEAN_ATTR[lowercase(value)]=value});var BOOLEAN_ELEMENTS={};forEach("input,select,option,textarea,button,form,details".split(","),function(value){BOOLEAN_ELEMENTS[value]=true});var ALIASED_ATTR={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};function getBooleanAttrName(element,name){var booleanAttr=BOOLEAN_ATTR[name.toLowerCase()];return booleanAttr&&BOOLEAN_ELEMENTS[nodeName_(element)]&&booleanAttr}function getAliasedAttrName(name){return ALIASED_ATTR[name]}forEach({data:jqLiteData,removeData:jqLiteRemoveData,hasData:jqLiteHasData,cleanData:function jqLiteCleanData(nodes){for(var i=0,ii=nodes.length;i<ii;i++)jqLiteRemoveData(nodes[i])}},function(fn,name){JQLite[name]=fn});forEach({data:jqLiteData,inheritedData:jqLiteInheritedData,scope:function(element){return jqLite.data(element,"$scope")||jqLiteInheritedData(element.parentNode||element,["$isolateScope","$scope"])},isolateScope:function(element){return jqLite.data(element,"$isolateScope")||jqLite.data(element,"$isolateScopeNoTemplate")},controller:jqLiteController,injector:function(element){return jqLiteInheritedData(element,"$injector")},removeAttr:function(element,name){element.removeAttribute(name)},hasClass:jqLiteHasClass,css:function(element,name,value){name=cssKebabToCamel(name);if(!isDefined(value))return element.style[name];element.style[name]=value},attr:function(element,name,value){var ret;var nodeType=element.nodeType;if(nodeType===NODE_TYPE_TEXT||nodeType===NODE_TYPE_ATTRIBUTE||nodeType===NODE_TYPE_COMMENT||!element.getAttribute)return;var lowercasedName=lowercase(name);var isBooleanAttr=BOOLEAN_ATTR[lowercasedName];if(!isDefined(value)){ret=element.getAttribute(name);isBooleanAttr&&null!==ret&&(ret=lowercasedName);return null===ret?void 0:ret}null===value||false===value&&isBooleanAttr?element.removeAttribute(name):element.setAttribute(name,isBooleanAttr?lowercasedName:value)},prop:function(element,name,value){if(!isDefined(value))return element[name];element[name]=value},text:function(){getText.$dv="";return getText;function getText(element,value){if(isUndefined(value)){var nodeType=element.nodeType;return nodeType===NODE_TYPE_ELEMENT||nodeType===NODE_TYPE_TEXT?element.textContent:""}element.textContent=value}}(),val:function(element,value){if(isUndefined(value)){if(element.multiple&&"select"===nodeName_(element)){var result=[];forEach(element.options,function(option){option.selected&&result.push(option.value||option.text)});return result}return element.value}element.value=value},html:function(element,value){if(isUndefined(value))return element.innerHTML;jqLiteDealoc(element,true);element.innerHTML=value},empty:jqLiteEmpty},function(fn,name){JQLite.prototype[name]=function(arg1,arg2){var i,key;var nodeCount=this.length;if(fn!==jqLiteEmpty&&isUndefined(2===fn.length&&fn!==jqLiteHasClass&&fn!==jqLiteController?arg1:arg2)){if(isObject(arg1)){for(i=0;i<nodeCount;i++)if(fn===jqLiteData)fn(this[i],arg1);else for(key in arg1)fn(this[i],key,arg1[key]);return this}var value=fn.$dv;var jj=isUndefined(value)?Math.min(nodeCount,1):nodeCount;for(var j=0;j<jj;j++){var nodeValue=fn(this[j],arg1,arg2);value=value?value+nodeValue:nodeValue}return value}for(i=0;i<nodeCount;i++)fn(this[i],arg1,arg2);return this}});function createEventHandler(element,events){var eventHandler=function(event,type){event.isDefaultPrevented=function(){return event.defaultPrevented};var eventFns=events[type||event.type];var eventFnsLength=eventFns?eventFns.length:0;if(!eventFnsLength)return;if(isUndefined(event.immediatePropagationStopped)){var originalStopImmediatePropagation=event.stopImmediatePropagation;event.stopImmediatePropagation=function(){event.immediatePropagationStopped=true;event.stopPropagation&&event.stopPropagation();originalStopImmediatePropagation&&originalStopImmediatePropagation.call(event)}}event.isImmediatePropagationStopped=function(){return true===event.immediatePropagationStopped};var handlerWrapper=eventFns.specialHandlerWrapper||defaultHandlerWrapper;eventFnsLength>1&&(eventFns=shallowCopy(eventFns));for(var i=0;i<eventFnsLength;i++)event.isImmediatePropagationStopped()||handlerWrapper(element,event,eventFns[i])};eventHandler.elem=element;return eventHandler}function defaultHandlerWrapper(element,event,handler){handler.call(element,event)}function specialMouseHandlerWrapper(target,event,handler){var related=event.relatedTarget;related&&(related===target||jqLiteContains.call(target,related))||handler.call(target,event)}forEach({removeData:jqLiteRemoveData,on:function jqLiteOn(element,type,fn,unsupported){if(isDefined(unsupported))throw jqLiteMinErr("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(!jqLiteAcceptsData(element))return;var expandoStore=jqLiteExpandoStore(element,true);var events=expandoStore.events;var handle=expandoStore.handle;handle||(handle=expandoStore.handle=createEventHandler(element,events));var types=type.indexOf(" ")>=0?type.split(" "):[type];var i=types.length;var addHandler=function(type,specialHandlerWrapper,noEventListener){var eventFns=events[type];if(!eventFns){eventFns=events[type]=[];eventFns.specialHandlerWrapper=specialHandlerWrapper;"$destroy"===type||noEventListener||element.addEventListener(type,handle)}eventFns.push(fn)};while(i--){type=types[i];if(MOUSE_EVENT_MAP[type]){addHandler(MOUSE_EVENT_MAP[type],specialMouseHandlerWrapper);addHandler(type,void 0,true)}else addHandler(type)}},off:jqLiteOff,one:function(element,type,fn){element=jqLite(element);element.on(type,function onFn(){element.off(type,fn);element.off(type,onFn)});element.on(type,fn)},replaceWith:function(element,replaceNode){var index,parent=element.parentNode;jqLiteDealoc(element);forEach(new JQLite(replaceNode),function(node){index?parent.insertBefore(node,index.nextSibling):parent.replaceChild(node,element);index=node})},children:function(element){var children=[];forEach(element.childNodes,function(element){element.nodeType===NODE_TYPE_ELEMENT&&children.push(element)});return children},contents:function(element){return element.contentDocument||element.childNodes||[]},append:function(element,node){var nodeType=element.nodeType;if(nodeType!==NODE_TYPE_ELEMENT&&nodeType!==NODE_TYPE_DOCUMENT_FRAGMENT)return;node=new JQLite(node);for(var i=0,ii=node.length;i<ii;i++){var child=node[i];element.appendChild(child)}},prepend:function(element,node){if(element.nodeType===NODE_TYPE_ELEMENT){var index=element.firstChild;forEach(new JQLite(node),function(child){element.insertBefore(child,index)})}},wrap:function(element,wrapNode){jqLiteWrapNode(element,jqLite(wrapNode).eq(0).clone()[0])},remove:jqLiteRemove,detach:function(element){jqLiteRemove(element,true)},after:function(element,newElement){var index=element,parent=element.parentNode;if(parent){newElement=new JQLite(newElement);for(var i=0,ii=newElement.length;i<ii;i++){var node=newElement[i];parent.insertBefore(node,index.nextSibling);index=node}}},addClass:jqLiteAddClass,removeClass:jqLiteRemoveClass,toggleClass:function(element,selector,condition){selector&&forEach(selector.split(" "),function(className){var classCondition=condition;isUndefined(classCondition)&&(classCondition=!jqLiteHasClass(element,className));(classCondition?jqLiteAddClass:jqLiteRemoveClass)(element,className)})},parent:function(element){var parent=element.parentNode;return parent&&parent.nodeType!==NODE_TYPE_DOCUMENT_FRAGMENT?parent:null},next:function(element){return element.nextElementSibling},find:function(element,selector){return element.getElementsByTagName?element.getElementsByTagName(selector):[]},clone:jqLiteClone,triggerHandler:function(element,event,extraParameters){var dummyEvent,eventFnsCopy,handlerArgs;var eventName=event.type||event;var expandoStore=jqLiteExpandoStore(element);var events=expandoStore&&expandoStore.events;var eventFns=events&&events[eventName];if(eventFns){dummyEvent={preventDefault:function(){this.defaultPrevented=true},isDefaultPrevented:function(){return true===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=true},isImmediatePropagationStopped:function(){return true===this.immediatePropagationStopped},stopPropagation:noop,type:eventName,target:element};event.type&&(dummyEvent=extend(dummyEvent,event));eventFnsCopy=shallowCopy(eventFns);handlerArgs=extraParameters?[dummyEvent].concat(extraParameters):[dummyEvent];forEach(eventFnsCopy,function(fn){dummyEvent.isImmediatePropagationStopped()||fn.apply(element,handlerArgs)})}}},function(fn,name){JQLite.prototype[name]=function(arg1,arg2,arg3){var value;for(var i=0,ii=this.length;i<ii;i++)if(isUndefined(value)){value=fn(this[i],arg1,arg2,arg3);isDefined(value)&&(value=jqLite(value))}else jqLiteAddNodes(value,fn(this[i],arg1,arg2,arg3));return isDefined(value)?value:this}});JQLite.prototype.bind=JQLite.prototype.on;JQLite.prototype.unbind=JQLite.prototype.off;function $$jqLiteProvider(){this.$get=function $$jqLite(){return extend(JQLite,{hasClass:function(node,classes){node.attr&&(node=node[0]);return jqLiteHasClass(node,classes)},addClass:function(node,classes){node.attr&&(node=node[0]);return jqLiteAddClass(node,classes)},removeClass:function(node,classes){node.attr&&(node=node[0]);return jqLiteRemoveClass(node,classes)}})}}function hashKey(obj,nextUidFn){var key=obj&&obj.$$hashKey;if(key){"function"===typeof key&&(key=obj.$$hashKey());return key}var objType=typeof obj;key="function"===objType||"object"===objType&&null!==obj?obj.$$hashKey=objType+":"+(nextUidFn||nextUid)():objType+":"+obj;return key}var nanKey=Object.create(null);function NgMapShim(){this._keys=[];this._values=[];this._lastKey=NaN;this._lastIndex=-1}NgMapShim.prototype={_idx:function(key){if(key===this._lastKey)return this._lastIndex;this._lastKey=key;this._lastIndex=this._keys.indexOf(key);return this._lastIndex},_transformKey:function(key){return isNumberNaN(key)?nanKey:key},get:function(key){key=this._transformKey(key);var idx=this._idx(key);if(-1!==idx)return this._values[idx]},set:function(key,value){key=this._transformKey(key);var idx=this._idx(key);-1===idx&&(idx=this._lastIndex=this._keys.length);this._keys[idx]=key;this._values[idx]=value},delete:function(key){key=this._transformKey(key);var idx=this._idx(key);if(-1===idx)return false;this._keys.splice(idx,1);this._values.splice(idx,1);this._lastKey=NaN;this._lastIndex=-1;return true}};var NgMap=NgMapShim;var $$MapProvider=[function(){this.$get=[function(){return NgMap}]}];var ARROW_ARG=/^([^(]+?)=>/;var FN_ARGS=/^[^(]*\(\s*([^)]*)\)/m;var FN_ARG_SPLIT=/,/;var FN_ARG=/^\s*(_?)(\S+?)\1\s*$/;var STRIP_COMMENTS=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm;var $injectorMinErr=minErr("$injector");function stringifyFn(fn){return Function.prototype.toString.call(fn)}function extractArgs(fn){var fnText=stringifyFn(fn).replace(STRIP_COMMENTS,""),args=fnText.match(ARROW_ARG)||fnText.match(FN_ARGS);return args}function anonFn(fn){var args=extractArgs(fn);if(args)return"function("+(args[1]||"").replace(/[\s\r\n]+/," ")+")";return"fn"}function annotate(fn,strictDi,name){var $inject,argDecl,last;if("function"===typeof fn){if(!($inject=fn.$inject)){$inject=[];if(fn.length){if(strictDi){isString(name)&&name||(name=fn.name||anonFn(fn));throw $injectorMinErr("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",name)}argDecl=extractArgs(fn);forEach(argDecl[1].split(FN_ARG_SPLIT),function(arg){arg.replace(FN_ARG,function(all,underscore,name){$inject.push(name)})})}fn.$inject=$inject}}else if(isArray(fn)){last=fn.length-1;assertArgFn(fn[last],"fn");$inject=fn.slice(0,last)}else assertArgFn(fn,"fn",true);return $inject}function createInjector(modulesToLoad,strictDi){strictDi=true===strictDi;var INSTANTIATING={},providerSuffix="Provider",path=[],loadedModules=new NgMap,providerCache={$provide:{provider:supportObject(provider),factory:supportObject(factory),service:supportObject(service),value:supportObject(value),constant:supportObject(constant),decorator:decorator}},providerInjector=providerCache.$injector=createInternalInjector(providerCache,function(serviceName,caller){angular.isString(caller)&&path.push(caller);throw $injectorMinErr("unpr","Unknown provider: {0}",path.join(" <- "))}),instanceCache={},protoInstanceInjector=createInternalInjector(instanceCache,function(serviceName,caller){var provider=providerInjector.get(serviceName+providerSuffix,caller);return instanceInjector.invoke(provider.$get,provider,void 0,serviceName)}),instanceInjector=protoInstanceInjector;providerCache["$injector"+providerSuffix]={$get:valueFn(protoInstanceInjector)};instanceInjector.modules=providerInjector.modules=createMap();var runBlocks=loadModules(modulesToLoad);instanceInjector=protoInstanceInjector.get("$injector");instanceInjector.strictDi=strictDi;forEach(runBlocks,function(fn){fn&&instanceInjector.invoke(fn)});instanceInjector.loadNewModules=function(mods){forEach(loadModules(mods),function(fn){fn&&instanceInjector.invoke(fn)})};return instanceInjector;function supportObject(delegate){return function(key,value){if(!isObject(key))return delegate(key,value);forEach(key,reverseParams(delegate))}}function provider(name,provider_){assertNotHasOwnProperty(name,"service");(isFunction(provider_)||isArray(provider_))&&(provider_=providerInjector.instantiate(provider_));if(!provider_.$get)throw $injectorMinErr("pget","Provider '{0}' must define $get factory method.",name);return providerCache[name+providerSuffix]=provider_}function enforceReturnValue(name,factory){return function enforcedReturnValue(){var result=instanceInjector.invoke(factory,this);if(isUndefined(result))throw $injectorMinErr("undef","Provider '{0}' must return a value from $get factory method.",name);return result}}function factory(name,factoryFn,enforce){return provider(name,{$get:false!==enforce?enforceReturnValue(name,factoryFn):factoryFn})}function service(name,constructor){return factory(name,["$injector",function($injector){return $injector.instantiate(constructor)}])}function value(name,val){return factory(name,valueFn(val),false)}function constant(name,value){assertNotHasOwnProperty(name,"constant");providerCache[name]=value;instanceCache[name]=value}function decorator(serviceName,decorFn){var origProvider=providerInjector.get(serviceName+providerSuffix),orig$get=origProvider.$get;origProvider.$get=function(){var origInstance=instanceInjector.invoke(orig$get,origProvider);return instanceInjector.invoke(decorFn,null,{$delegate:origInstance})}}function loadModules(modulesToLoad){assertArg(isUndefined(modulesToLoad)||isArray(modulesToLoad),"modulesToLoad","not an array");var moduleFn,runBlocks=[];forEach(modulesToLoad,function(module){if(loadedModules.get(module))return;loadedModules.set(module,true);function runInvokeQueue(queue){var i,ii;for(i=0,ii=queue.length;i<ii;i++){var invokeArgs=queue[i],provider=providerInjector.get(invokeArgs[0]);provider[invokeArgs[1]].apply(provider,invokeArgs[2])}}try{if(isString(module)){moduleFn=angularModule(module);instanceInjector.modules[module]=moduleFn;runBlocks=runBlocks.concat(loadModules(moduleFn.requires)).concat(moduleFn._runBlocks);runInvokeQueue(moduleFn._invokeQueue);runInvokeQueue(moduleFn._configBlocks)}else isFunction(module)?runBlocks.push(providerInjector.invoke(module)):isArray(module)?runBlocks.push(providerInjector.invoke(module)):assertArgFn(module,"module")}catch(e){isArray(module)&&(module=module[module.length-1]);e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack);throw $injectorMinErr("modulerr","Failed to instantiate module {0} due to:\n{1}",module,e.stack||e.message||e)}});return runBlocks}function createInternalInjector(cache,factory){function getService(serviceName,caller){if(cache.hasOwnProperty(serviceName)){if(cache[serviceName]===INSTANTIATING)throw $injectorMinErr("cdep","Circular dependency found: {0}",serviceName+" <- "+path.join(" <- "));return cache[serviceName]}try{path.unshift(serviceName);cache[serviceName]=INSTANTIATING;cache[serviceName]=factory(serviceName,caller);return cache[serviceName]}catch(err){cache[serviceName]===INSTANTIATING&&delete cache[serviceName];throw err}finally{path.shift()}}function injectionArgs(fn,locals,serviceName){var args=[],$inject=createInjector.$$annotate(fn,strictDi,serviceName);for(var i=0,length=$inject.length;i<length;i++){var key=$inject[i];if("string"!==typeof key)throw $injectorMinErr("itkn","Incorrect injection token! Expected service name as string, got {0}",key);args.push(locals&&locals.hasOwnProperty(key)?locals[key]:getService(key,serviceName))}return args}function isClass(func){if(msie||"function"!==typeof func)return false;var result=func.$$ngIsClass;isBoolean(result)||(result=func.$$ngIsClass=/^(?:class\b|constructor\()/.test(stringifyFn(func)));return result}function invoke(fn,self,locals,serviceName){if("string"===typeof locals){serviceName=locals;locals=null}var args=injectionArgs(fn,locals,serviceName);isArray(fn)&&(fn=fn[fn.length-1]);if(isClass(fn)){args.unshift(null);return new(Function.prototype.bind.apply(fn,args))}return fn.apply(self,args)}function instantiate(Type,locals,serviceName){var ctor=isArray(Type)?Type[Type.length-1]:Type;var args=injectionArgs(Type,locals,serviceName);args.unshift(null);return new(Function.prototype.bind.apply(ctor,args))}return{invoke:invoke,instantiate:instantiate,get:getService,annotate:createInjector.$$annotate,has:function(name){return providerCache.hasOwnProperty(name+providerSuffix)||cache.hasOwnProperty(name)}}}}createInjector.$$annotate=annotate;function $AnchorScrollProvider(){var autoScrollingEnabled=true;this.disableAutoScrolling=function(){autoScrollingEnabled=false};this.$get=["$window","$location","$rootScope",function($window,$location,$rootScope){var document=$window.document;function getFirstAnchor(list){var result=null;Array.prototype.some.call(list,function(element){if("a"===nodeName_(element)){result=element;return true}});return result}function getYOffset(){var offset=scroll.yOffset;if(isFunction(offset))offset=offset();else if(isElement(offset)){var elem=offset[0];var style=$window.getComputedStyle(elem);offset="fixed"!==style.position?0:elem.getBoundingClientRect().bottom}else isNumber(offset)||(offset=0);return offset}function scrollTo(elem){if(elem){elem.scrollIntoView();var offset=getYOffset();if(offset){var elemTop=elem.getBoundingClientRect().top;$window.scrollBy(0,elemTop-offset)}}else $window.scrollTo(0,0)}function scroll(hash){hash=isString(hash)?hash:isNumber(hash)?hash.toString():$location.hash();var elm;hash?(elm=document.getElementById(hash))?scrollTo(elm):(elm=getFirstAnchor(document.getElementsByName(hash)))?scrollTo(elm):"top"===hash&&scrollTo(null):scrollTo(null)}autoScrollingEnabled&&$rootScope.$watch(function autoScrollWatch(){return $location.hash()},function autoScrollWatchAction(newVal,oldVal){if(newVal===oldVal&&""===newVal)return;jqLiteDocumentLoaded(function(){$rootScope.$evalAsync(scroll)})});return scroll}]}var $animateMinErr=minErr("$animate");var ELEMENT_NODE=1;var NG_ANIMATE_CLASSNAME="ng-animate";function mergeClasses(a,b){if(!a&&!b)return"";if(!a)return b;if(!b)return a;isArray(a)&&(a=a.join(" "));isArray(b)&&(b=b.join(" "));return a+" "+b}function extractElementNode(element){for(var i=0;i<element.length;i++){var elm=element[i];if(elm.nodeType===ELEMENT_NODE)return elm}}function splitClasses(classes){isString(classes)&&(classes=classes.split(" "));var obj=createMap();forEach(classes,function(klass){klass.length&&(obj[klass]=true)});return obj}function prepareAnimateOptions(options){return isObject(options)?options:{}}var $$CoreAnimateJsProvider=function(){this.$get=noop};var $$CoreAnimateQueueProvider=function(){var postDigestQueue=new NgMap;var postDigestElements=[];this.$get=["$$AnimateRunner","$rootScope",function($$AnimateRunner,$rootScope){return{enabled:noop,on:noop,off:noop,pin:noop,push:function(element,event,options,domOperation){domOperation&&domOperation();options=options||{};options.from&&element.css(options.from);options.to&&element.css(options.to);(options.addClass||options.removeClass)&&addRemoveClassesPostDigest(element,options.addClass,options.removeClass);var runner=new $$AnimateRunner;runner.complete();return runner}};function updateData(data,classes,value){var changed=false;if(classes){classes=isString(classes)?classes.split(" "):isArray(classes)?classes:[];forEach(classes,function(className){if(className){changed=true;data[className]=value}})}return changed}function handleCSSClassChanges(){forEach(postDigestElements,function(element){var data=postDigestQueue.get(element);if(data){var existing=splitClasses(element.attr("class"));var toAdd="";var toRemove="";forEach(data,function(status,className){var hasClass=!!existing[className];status!==hasClass&&(status?toAdd+=(toAdd.length?" ":"")+className:toRemove+=(toRemove.length?" ":"")+className)});forEach(element,function(elm){toAdd&&jqLiteAddClass(elm,toAdd);toRemove&&jqLiteRemoveClass(elm,toRemove)});postDigestQueue.delete(element)}});postDigestElements.length=0}function addRemoveClassesPostDigest(element,add,remove){var data=postDigestQueue.get(element)||{};var classesAdded=updateData(data,add,true);var classesRemoved=updateData(data,remove,false);if(classesAdded||classesRemoved){postDigestQueue.set(element,data);postDigestElements.push(element);1===postDigestElements.length&&$rootScope.$$postDigest(handleCSSClassChanges)}}}]};var $AnimateProvider=["$provide",function($provide){var provider=this;var classNameFilter=null;var customFilter=null;this.$$registeredAnimations=Object.create(null);this.register=function(name,factory){if(name&&"."!==name.charAt(0))throw $animateMinErr("notcsel","Expecting class selector starting with '.' got '{0}'.",name);var key=name+"-animation";provider.$$registeredAnimations[name.substr(1)]=key;$provide.factory(key,factory)};this.customFilter=function(filterFn){1===arguments.length&&(customFilter=isFunction(filterFn)?filterFn:null);return customFilter};this.classNameFilter=function(expression){if(1===arguments.length){classNameFilter=expression instanceof RegExp?expression:null;if(classNameFilter){var reservedRegex=new RegExp("[(\\s|\\/)]"+NG_ANIMATE_CLASSNAME+"[(\\s|\\/)]");if(reservedRegex.test(classNameFilter.toString())){classNameFilter=null;throw $animateMinErr("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',NG_ANIMATE_CLASSNAME)}}}return classNameFilter};this.$get=["$$animateQueue",function($$animateQueue){function domInsert(element,parentElement,afterElement){if(afterElement){var afterNode=extractElementNode(afterElement);!afterNode||afterNode.parentNode||afterNode.previousElementSibling||(afterElement=null)}afterElement?afterElement.after(element):parentElement.prepend(element)}return{on:$$animateQueue.on,off:$$animateQueue.off,pin:$$animateQueue.pin,enabled:$$animateQueue.enabled,cancel:function(runner){runner.end&&runner.end()},enter:function(element,parent,after,options){parent=parent&&jqLite(parent);after=after&&jqLite(after);parent=parent||after.parent();domInsert(element,parent,after);return $$animateQueue.push(element,"enter",prepareAnimateOptions(options))},move:function(element,parent,after,options){parent=parent&&jqLite(parent);after=after&&jqLite(after);parent=parent||after.parent();domInsert(element,parent,after);return $$animateQueue.push(element,"move",prepareAnimateOptions(options))},leave:function(element,options){return $$animateQueue.push(element,"leave",prepareAnimateOptions(options),function(){element.remove()})},addClass:function(element,className,options){options=prepareAnimateOptions(options);options.addClass=mergeClasses(options.addclass,className);return $$animateQueue.push(element,"addClass",options)},removeClass:function(element,className,options){options=prepareAnimateOptions(options);options.removeClass=mergeClasses(options.removeClass,className);return $$animateQueue.push(element,"removeClass",options)},setClass:function(element,add,remove,options){options=prepareAnimateOptions(options);options.addClass=mergeClasses(options.addClass,add);options.removeClass=mergeClasses(options.removeClass,remove);return $$animateQueue.push(element,"setClass",options)},animate:function(element,from,to,className,options){options=prepareAnimateOptions(options);options.from=options.from?extend(options.from,from):from;options.to=options.to?extend(options.to,to):to;className=className||"ng-inline-animate";options.tempClasses=mergeClasses(options.tempClasses,className);return $$animateQueue.push(element,"animate",options)}}}]}];var $$AnimateAsyncRunFactoryProvider=function(){this.$get=["$$rAF",function($$rAF){var waitQueue=[];function waitForTick(fn){waitQueue.push(fn);if(waitQueue.length>1)return;$$rAF(function(){for(var i=0;i<waitQueue.length;i++)waitQueue[i]();waitQueue=[]})}return function(){var passed=false;waitForTick(function(){passed=true});return function(callback){passed?callback():waitForTick(callback)}}}]};var $$AnimateRunnerFactoryProvider=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function($q,$sniffer,$$animateAsyncRun,$$isDocumentHidden,$timeout){var INITIAL_STATE=0;var DONE_PENDING_STATE=1;var DONE_COMPLETE_STATE=2;AnimateRunner.chain=function(chain,callback){var index=0;next();function next(){if(index===chain.length){callback(true);return}chain[index](function(response){if(false===response){callback(false);return}index++;next()})}};AnimateRunner.all=function(runners,callback){var count=0;var status=true;forEach(runners,function(runner){runner.done(onProgress)});function onProgress(response){status=status&&response;++count===runners.length&&callback(status)}};function AnimateRunner(host){this.setHost(host);var rafTick=$$animateAsyncRun();var timeoutTick=function(fn){$timeout(fn,0,false)};this._doneCallbacks=[];this._tick=function(fn){$$isDocumentHidden()?timeoutTick(fn):rafTick(fn)};this._state=0}AnimateRunner.prototype={setHost:function(host){this.host=host||{}},done:function(fn){this._state===DONE_COMPLETE_STATE?fn():this._doneCallbacks.push(fn)},progress:noop,getPromise:function(){if(!this.promise){var self=this;this.promise=$q(function(resolve,reject){self.done(function(status){false===status?reject():resolve()})})}return this.promise},then:function(resolveHandler,rejectHandler){return this.getPromise().then(resolveHandler,rejectHandler)},catch:function(handler){return this.getPromise()["catch"](handler)},finally:function(handler){return this.getPromise()["finally"](handler)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end();this._resolve(true)},cancel:function(){this.host.cancel&&this.host.cancel();this._resolve(false)},complete:function(response){var self=this;if(self._state===INITIAL_STATE){self._state=DONE_PENDING_STATE;self._tick(function(){self._resolve(response)})}},_resolve:function(response){if(this._state!==DONE_COMPLETE_STATE){forEach(this._doneCallbacks,function(fn){fn(response)});this._doneCallbacks.length=0;this._state=DONE_COMPLETE_STATE}}};return AnimateRunner}]};var $CoreAnimateCssProvider=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function($$rAF,$q,$$AnimateRunner){return function(element,initialOptions){var options=initialOptions||{};options.$$prepared||(options=copy(options));options.cleanupStyles&&(options.from=options.to=null);if(options.from){element.css(options.from);options.from=null}var closed,runner=new $$AnimateRunner;return{start:run,end:run};function run(){$$rAF(function(){applyAnimationContents();closed||runner.complete();closed=true});return runner}function applyAnimationContents(){if(options.addClass){element.addClass(options.addClass);options.addClass=null}if(options.removeClass){element.removeClass(options.removeClass);options.removeClass=null}if(options.to){element.css(options.to);options.to=null}}}}]};function Browser(window,document,$log,$sniffer){var self=this,location=window.location,history=window.history,setTimeout=window.setTimeout,clearTimeout=window.clearTimeout,pendingDeferIds={};self.isMock=false;var outstandingRequestCount=0;var outstandingRequestCallbacks=[];self.$$completeOutstandingRequest=completeOutstandingRequest;self.$$incOutstandingRequestCount=function(){outstandingRequestCount++};function completeOutstandingRequest(fn){try{fn.apply(null,sliceArgs(arguments,1))}finally{outstandingRequestCount--;if(0===outstandingRequestCount)while(outstandingRequestCallbacks.length)try{outstandingRequestCallbacks.pop()()}catch(e){$log.error(e)}}}function getHash(url){var index=url.indexOf("#");return-1===index?"":url.substr(index)}self.notifyWhenNoOutstandingRequests=function(callback){0===outstandingRequestCount?callback():outstandingRequestCallbacks.push(callback)};var cachedState,lastHistoryState,lastBrowserUrl=location.href,baseElement=document.find("base"),pendingLocation=null,getCurrentState=$sniffer.history?function getCurrentState(){try{return history.state}catch(e){}}:noop;cacheState();self.url=function(url,replace,state){isUndefined(state)&&(state=null);location!==window.location&&(location=window.location);history!==window.history&&(history=window.history);if(url){var sameState=lastHistoryState===state;if(lastBrowserUrl===url&&(!$sniffer.history||sameState))return self;var sameBase=lastBrowserUrl&&stripHash(lastBrowserUrl)===stripHash(url);lastBrowserUrl=url;lastHistoryState=state;if(!$sniffer.history||sameBase&&sameState){sameBase||(pendingLocation=url);replace?location.replace(url):sameBase?location.hash=getHash(url):location.href=url;location.href!==url&&(pendingLocation=url)}else{history[replace?"replaceState":"pushState"](state,"",url);cacheState()}pendingLocation&&(pendingLocation=url);return self}return pendingLocation||location.href.replace(/%27/g,"'")};self.state=function(){return cachedState};var urlChangeListeners=[],urlChangeInit=false;function cacheStateAndFireUrlChange(){pendingLocation=null;fireStateOrUrlChange()}var lastCachedState=null;function cacheState(){cachedState=getCurrentState();cachedState=isUndefined(cachedState)?null:cachedState;equals(cachedState,lastCachedState)&&(cachedState=lastCachedState);lastCachedState=cachedState;lastHistoryState=cachedState}function fireStateOrUrlChange(){var prevLastHistoryState=lastHistoryState;cacheState();if(lastBrowserUrl===self.url()&&prevLastHistoryState===cachedState)return;lastBrowserUrl=self.url();lastHistoryState=cachedState;forEach(urlChangeListeners,function(listener){listener(self.url(),cachedState)})}self.onUrlChange=function(callback){if(!urlChangeInit){$sniffer.history&&jqLite(window).on("popstate",cacheStateAndFireUrlChange);jqLite(window).on("hashchange",cacheStateAndFireUrlChange);urlChangeInit=true}urlChangeListeners.push(callback);return callback};self.$$applicationDestroyed=function(){jqLite(window).off("hashchange popstate",cacheStateAndFireUrlChange)};self.$$checkUrlChange=fireStateOrUrlChange;self.baseHref=function(){var href=baseElement.attr("href");return href?href.replace(/^(https?:)?\/\/[^\/]*/,""):""};self.defer=function(fn,delay){var timeoutId;outstandingRequestCount++;timeoutId=setTimeout(function(){delete pendingDeferIds[timeoutId];completeOutstandingRequest(fn)},delay||0);pendingDeferIds[timeoutId]=true;return timeoutId};self.defer.cancel=function(deferId){if(pendingDeferIds[deferId]){delete pendingDeferIds[deferId];clearTimeout(deferId);completeOutstandingRequest(noop);return true}return false}}function $BrowserProvider(){this.$get=["$window","$log","$sniffer","$document",function($window,$log,$sniffer,$document){return new Browser($window,$document,$log,$sniffer)}]}function $CacheFactoryProvider(){this.$get=function(){var caches={};function cacheFactory(cacheId,options){if(cacheId in caches)throw minErr("$cacheFactory")("iid","CacheId '{0}' is already taken!",cacheId);var size=0,stats=extend({},options,{id:cacheId}),data=createMap(),capacity=options&&options.capacity||Number.MAX_VALUE,lruHash=createMap(),freshEnd=null,staleEnd=null;return caches[cacheId]={put:function(key,value){if(isUndefined(value))return;if(capacity<Number.MAX_VALUE){var lruEntry=lruHash[key]||(lruHash[key]={key:key});refresh(lruEntry)}key in data||size++;data[key]=value;size>capacity&&this.remove(staleEnd.key);return value},get:function(key){if(capacity<Number.MAX_VALUE){var lruEntry=lruHash[key];if(!lruEntry)return;refresh(lruEntry)}return data[key]},remove:function(key){if(capacity<Number.MAX_VALUE){var lruEntry=lruHash[key];if(!lruEntry)return;lruEntry===freshEnd&&(freshEnd=lruEntry.p);lruEntry===staleEnd&&(staleEnd=lruEntry.n);link(lruEntry.n,lruEntry.p);delete lruHash[key]}if(!(key in data))return;delete data[key];size--},removeAll:function(){data=createMap();size=0;lruHash=createMap();freshEnd=staleEnd=null},destroy:function(){data=null;stats=null;lruHash=null;delete caches[cacheId]},info:function(){return extend({},stats,{size:size})}};function refresh(entry){if(entry!==freshEnd){staleEnd?staleEnd===entry&&(staleEnd=entry.n):staleEnd=entry;link(entry.n,entry.p);link(entry,freshEnd);freshEnd=entry;freshEnd.n=null}}function link(nextEntry,prevEntry){if(nextEntry!==prevEntry){nextEntry&&(nextEntry.p=prevEntry);prevEntry&&(prevEntry.n=nextEntry)}}}cacheFactory.info=function(){var info={};forEach(caches,function(cache,cacheId){info[cacheId]=cache.info()});return info};cacheFactory.get=function(cacheId){return caches[cacheId]};return cacheFactory}}function $TemplateCacheProvider(){this.$get=["$cacheFactory",function($cacheFactory){return $cacheFactory("templates")}]}var $compileMinErr=minErr("$compile");function UNINITIALIZED_VALUE(){}var _UNINITIALIZED_VALUE=new UNINITIALIZED_VALUE;$CompileProvider.$inject=["$provide","$$sanitizeUriProvider"];function $CompileProvider($provide,$$sanitizeUriProvider){var hasDirectives={},Suffix="Directive",COMMENT_DIRECTIVE_REGEXP=/^\s*directive:\s*([\w-]+)\s+(.*)$/,CLASS_DIRECTIVE_REGEXP=/(([\w-]+)(?::([^;]+))?;?)/,ALL_OR_NOTHING_ATTRS=makeMap("ngSrc,ngSrcset,src,srcset"),REQUIRE_PREFIX_REGEXP=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/;var EVENT_HANDLER_ATTR_REGEXP=/^(on[a-z]+|formaction)$/;var bindingCache=createMap();function parseIsolateBindings(scope,directiveName,isController){var LOCAL_REGEXP=/^\s*([@&<]|=(\*?))(\??)\s*([\w$]*)\s*$/;var bindings=createMap();forEach(scope,function(definition,scopeName){if(definition in bindingCache){bindings[scopeName]=bindingCache[definition];return}var match=definition.match(LOCAL_REGEXP);if(!match)throw $compileMinErr("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",directiveName,scopeName,definition,isController?"controller bindings definition":"isolate scope definition");bindings[scopeName]={mode:match[1][0],collection:"*"===match[2],optional:"?"===match[3],attrName:match[4]||scopeName};match[4]&&(bindingCache[definition]=bindings[scopeName])});return bindings}function parseDirectiveBindings(directive,directiveName){var bindings={isolateScope:null,bindToController:null};if(isObject(directive.scope))if(true===directive.bindToController){bindings.bindToController=parseIsolateBindings(directive.scope,directiveName,true);bindings.isolateScope={}}else bindings.isolateScope=parseIsolateBindings(directive.scope,directiveName,false);isObject(directive.bindToController)&&(bindings.bindToController=parseIsolateBindings(directive.bindToController,directiveName,true));if(bindings.bindToController&&!directive.controller)throw $compileMinErr("noctrl","Cannot bind to controller without directive '{0}'s controller.",directiveName);return bindings}function assertValidDirectiveName(name){var letter=name.charAt(0);if(!letter||letter!==lowercase(letter))throw $compileMinErr("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",name);if(name!==name.trim())throw $compileMinErr("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",name)}function getDirectiveRequire(directive){var require=directive.require||directive.controller&&directive.name;!isArray(require)&&isObject(require)&&forEach(require,function(value,key){var match=value.match(REQUIRE_PREFIX_REGEXP);var name=value.substring(match[0].length);name||(require[key]=match[0]+key)});return require}function getDirectiveRestrict(restrict,name){if(restrict&&!(isString(restrict)&&/[EACM]/.test(restrict)))throw $compileMinErr("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",restrict,name);return restrict||"EA"}this.directive=function registerDirective(name,directiveFactory){assertArg(name,"name");assertNotHasOwnProperty(name,"directive");if(isString(name)){assertValidDirectiveName(name);assertArg(directiveFactory,"directiveFactory");if(!hasDirectives.hasOwnProperty(name)){hasDirectives[name]=[];$provide.factory(name+Suffix,["$injector","$exceptionHandler",function($injector,$exceptionHandler){var directives=[];forEach(hasDirectives[name],function(directiveFactory,index){try{var directive=$injector.invoke(directiveFactory);isFunction(directive)?directive={compile:valueFn(directive)}:!directive.compile&&directive.link&&(directive.compile=valueFn(directive.link));directive.priority=directive.priority||0;directive.index=index;directive.name=directive.name||name;directive.require=getDirectiveRequire(directive);directive.restrict=getDirectiveRestrict(directive.restrict,name);directive.$$moduleName=directiveFactory.$$moduleName;directives.push(directive)}catch(e){$exceptionHandler(e)}});return directives}])}hasDirectives[name].push(directiveFactory)}else forEach(name,reverseParams(registerDirective));return this};this.component=function registerComponent(name,options){if(!isString(name)){forEach(name,reverseParams(bind(this,registerComponent)));return this}var controller=options.controller||function(){};function factory($injector){function makeInjectable(fn){return isFunction(fn)||isArray(fn)?function(tElement,tAttrs){return $injector.invoke(fn,this,{$element:tElement,$attrs:tAttrs})}:fn}var template=options.template||options.templateUrl?options.template:"";var ddo={controller:controller,controllerAs:identifierForController(options.controller)||options.controllerAs||"$ctrl",template:makeInjectable(template),templateUrl:makeInjectable(options.templateUrl),transclude:options.transclude,scope:{},bindToController:options.bindings||{},restrict:"E",require:options.require};forEach(options,function(val,key){"$"===key.charAt(0)&&(ddo[key]=val)});return ddo}forEach(options,function(val,key){if("$"===key.charAt(0)){factory[key]=val;isFunction(controller)&&(controller[key]=val)}});factory.$inject=["$injector"];return this.directive(name,factory)};this.aHrefSanitizationWhitelist=function(regexp){if(isDefined(regexp)){$$sanitizeUriProvider.aHrefSanitizationWhitelist(regexp);return this}return $$sanitizeUriProvider.aHrefSanitizationWhitelist()};this.imgSrcSanitizationWhitelist=function(regexp){if(isDefined(regexp)){$$sanitizeUriProvider.imgSrcSanitizationWhitelist(regexp);return this}return $$sanitizeUriProvider.imgSrcSanitizationWhitelist()};var debugInfoEnabled=true;this.debugInfoEnabled=function(enabled){if(isDefined(enabled)){debugInfoEnabled=enabled;return this}return debugInfoEnabled};var preAssignBindingsEnabled=false;this.preAssignBindingsEnabled=function(enabled){if(isDefined(enabled)){preAssignBindingsEnabled=enabled;return this}return preAssignBindingsEnabled};var strictComponentBindingsEnabled=false;this.strictComponentBindingsEnabled=function(enabled){if(isDefined(enabled)){strictComponentBindingsEnabled=enabled;return this}return strictComponentBindingsEnabled};var TTL=10;this.onChangesTtl=function(value){if(arguments.length){TTL=value;return this}return TTL};var commentDirectivesEnabledConfig=true;this.commentDirectivesEnabled=function(value){if(arguments.length){commentDirectivesEnabledConfig=value;return this}return commentDirectivesEnabledConfig};var cssClassDirectivesEnabledConfig=true;this.cssClassDirectivesEnabled=function(value){if(arguments.length){cssClassDirectivesEnabledConfig=value;return this}return cssClassDirectivesEnabledConfig};this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function($injector,$interpolate,$exceptionHandler,$templateRequest,$parse,$controller,$rootScope,$sce,$animate,$$sanitizeUri){var SIMPLE_ATTR_NAME=/^\w/;var specialAttrHolder=window.document.createElement("div");var commentDirectivesEnabled=commentDirectivesEnabledConfig;var cssClassDirectivesEnabled=cssClassDirectivesEnabledConfig;var onChangesTtl=TTL;var onChangesQueue;function flushOnChangesQueue(){try{if(!--onChangesTtl){onChangesQueue=void 0;throw $compileMinErr("infchng","{0} $onChanges() iterations reached. Aborting!\n",TTL)}$rootScope.$apply(function(){var errors=[];for(var i=0,ii=onChangesQueue.length;i<ii;++i)try{onChangesQueue[i]()}catch(e){errors.push(e)}onChangesQueue=void 0;if(errors.length)throw errors})}finally{onChangesTtl++}}function Attributes(element,attributesToCopy){if(attributesToCopy){var keys=Object.keys(attributesToCopy);var i,l,key;for(i=0,l=keys.length;i<l;i++){key=keys[i];this[key]=attributesToCopy[key]}}else this.$attr={};this.$$element=element}Attributes.prototype={$normalize:directiveNormalize,$addClass:function(classVal){classVal&&classVal.length>0&&$animate.addClass(this.$$element,classVal)},$removeClass:function(classVal){classVal&&classVal.length>0&&$animate.removeClass(this.$$element,classVal)},$updateClass:function(newClasses,oldClasses){var toAdd=tokenDifference(newClasses,oldClasses);toAdd&&toAdd.length&&$animate.addClass(this.$$element,toAdd);var toRemove=tokenDifference(oldClasses,newClasses);toRemove&&toRemove.length&&$animate.removeClass(this.$$element,toRemove)},$set:function(key,value,writeAttr,attrName){var nodeName,node=this.$$element[0],booleanKey=getBooleanAttrName(node,key),aliasedKey=getAliasedAttrName(key),observer=key;if(booleanKey){this.$$element.prop(key,value);attrName=booleanKey}else if(aliasedKey){this[aliasedKey]=value;observer=aliasedKey}this[key]=value;if(attrName)this.$attr[key]=attrName;else{attrName=this.$attr[key];attrName||(this.$attr[key]=attrName=snake_case(key,"-"))}nodeName=nodeName_(this.$$element);if("a"===nodeName&&("href"===key||"xlinkHref"===key)||"img"===nodeName&&"src"===key)this[key]=value=$$sanitizeUri(value,"src"===key);else if("img"===nodeName&&"srcset"===key&&isDefined(value)){var result="";var trimmedSrcset=trim(value);var srcPattern=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/;var pattern=/\s/.test(trimmedSrcset)?srcPattern:/(,)/;var rawUris=trimmedSrcset.split(pattern);var nbrUrisWith2parts=Math.floor(rawUris.length/2);for(var i=0;i<nbrUrisWith2parts;i++){var innerIdx=2*i;result+=$$sanitizeUri(trim(rawUris[innerIdx]),true);result+=" "+trim(rawUris[innerIdx+1])}var lastTuple=trim(rawUris[2*i]).split(/\s/);result+=$$sanitizeUri(trim(lastTuple[0]),true);2===lastTuple.length&&(result+=" "+trim(lastTuple[1]));this[key]=value=result}false!==writeAttr&&(null===value||isUndefined(value)?this.$$element.removeAttr(attrName):SIMPLE_ATTR_NAME.test(attrName)?this.$$element.attr(attrName,value):setSpecialAttr(this.$$element[0],attrName,value));var $$observers=this.$$observers;$$observers&&forEach($$observers[observer],function(fn){try{fn(value)}catch(e){$exceptionHandler(e)}})},$observe:function(key,fn){var attrs=this,$$observers=attrs.$$observers||(attrs.$$observers=createMap()),listeners=$$observers[key]||($$observers[key]=[]);listeners.push(fn);$rootScope.$evalAsync(function(){listeners.$$inter||!attrs.hasOwnProperty(key)||isUndefined(attrs[key])||fn(attrs[key])});return function(){arrayRemove(listeners,fn)}}};function setSpecialAttr(element,attrName,value){specialAttrHolder.innerHTML="<span "+attrName+">";var attributes=specialAttrHolder.firstChild.attributes;var attribute=attributes[0];attributes.removeNamedItem(attribute.name);attribute.value=value;element.attributes.setNamedItem(attribute)}function safeAddClass($element,className){try{$element.addClass(className)}catch(e){}}var startSymbol=$interpolate.startSymbol(),endSymbol=$interpolate.endSymbol(),denormalizeTemplate="{{"===startSymbol&&"}}"===endSymbol?identity:function denormalizeTemplate(template){return template.replace(/\{\{/g,startSymbol).replace(/}}/g,endSymbol)},NG_ATTR_BINDING=/^ngAttr[A-Z]/;var MULTI_ELEMENT_DIR_RE=/^(.+)Start$/;compile.$$addBindingInfo=debugInfoEnabled?function $$addBindingInfo($element,binding){var bindings=$element.data("$binding")||[];isArray(binding)?bindings=bindings.concat(binding):bindings.push(binding);$element.data("$binding",bindings)}:noop;compile.$$addBindingClass=debugInfoEnabled?function $$addBindingClass($element){safeAddClass($element,"ng-binding")}:noop;compile.$$addScopeInfo=debugInfoEnabled?function $$addScopeInfo($element,scope,isolated,noTemplate){var dataName=isolated?noTemplate?"$isolateScopeNoTemplate":"$isolateScope":"$scope";$element.data(dataName,scope)}:noop;compile.$$addScopeClass=debugInfoEnabled?function $$addScopeClass($element,isolated){safeAddClass($element,isolated?"ng-isolate-scope":"ng-scope")}:noop;compile.$$createComment=function(directiveName,comment){var content="";if(debugInfoEnabled){content=" "+(directiveName||"")+": ";comment&&(content+=comment+" ")}return window.document.createComment(content)};return compile;function compile($compileNodes,transcludeFn,maxPriority,ignoreDirective,previousCompileContext){$compileNodes instanceof jqLite||($compileNodes=jqLite($compileNodes));var compositeLinkFn=compileNodes($compileNodes,transcludeFn,$compileNodes,maxPriority,ignoreDirective,previousCompileContext);compile.$$addScopeClass($compileNodes);var namespace=null;return function publicLinkFn(scope,cloneConnectFn,options){if(!$compileNodes)throw $compileMinErr("multilink","This element has already been linked.");assertArg(scope,"scope");previousCompileContext&&previousCompileContext.needsNewScope&&(scope=scope.$parent.$new());options=options||{};var parentBoundTranscludeFn=options.parentBoundTranscludeFn,transcludeControllers=options.transcludeControllers,futureParentElement=options.futureParentElement;parentBoundTranscludeFn&&parentBoundTranscludeFn.$$boundTransclude&&(parentBoundTranscludeFn=parentBoundTranscludeFn.$$boundTransclude);namespace||(namespace=detectNamespaceForChildElements(futureParentElement));var $linkNode;$linkNode="html"!==namespace?jqLite(wrapTemplate(namespace,jqLite("<div>").append($compileNodes).html())):cloneConnectFn?JQLitePrototype.clone.call($compileNodes):$compileNodes;if(transcludeControllers)for(var controllerName in transcludeControllers)$linkNode.data("$"+controllerName+"Controller",transcludeControllers[controllerName].instance);compile.$$addScopeInfo($linkNode,scope);cloneConnectFn&&cloneConnectFn($linkNode,scope);compositeLinkFn&&compositeLinkFn(scope,$linkNode,$linkNode,parentBoundTranscludeFn);cloneConnectFn||($compileNodes=compositeLinkFn=null);return $linkNode}}function detectNamespaceForChildElements(parentElement){var node=parentElement&&parentElement[0];return node&&"foreignobject"!==nodeName_(node)&&toString.call(node).match(/SVG/)?"svg":"html"}function compileNodes(nodeList,transcludeFn,$rootElement,maxPriority,ignoreDirective,previousCompileContext){var attrs,directives,nodeLinkFn,childNodes,childLinkFn,linkFnFound,nodeLinkFnFound,linkFns=[],notLiveList=isArray(nodeList)||nodeList instanceof jqLite;for(var i=0;i<nodeList.length;i++){attrs=new Attributes;11===msie&&mergeConsecutiveTextNodes(nodeList,i,notLiveList);directives=collectDirectives(nodeList[i],[],attrs,0===i?maxPriority:void 0,ignoreDirective);nodeLinkFn=directives.length?applyDirectivesToNode(directives,nodeList[i],attrs,transcludeFn,$rootElement,null,[],[],previousCompileContext):null;nodeLinkFn&&nodeLinkFn.scope&&compile.$$addScopeClass(attrs.$$element);childLinkFn=nodeLinkFn&&nodeLinkFn.terminal||!(childNodes=nodeList[i].childNodes)||!childNodes.length?null:compileNodes(childNodes,nodeLinkFn?(nodeLinkFn.transcludeOnThisElement||!nodeLinkFn.templateOnThisElement)&&nodeLinkFn.transclude:transcludeFn);if(nodeLinkFn||childLinkFn){linkFns.push(i,nodeLinkFn,childLinkFn);linkFnFound=true;nodeLinkFnFound=nodeLinkFnFound||nodeLinkFn}previousCompileContext=null}return linkFnFound?compositeLinkFn:null;function compositeLinkFn(scope,nodeList,$rootElement,parentBoundTranscludeFn){var nodeLinkFn,childLinkFn,node,childScope,i,ii,idx,childBoundTranscludeFn;var stableNodeList;if(nodeLinkFnFound){var nodeListLength=nodeList.length;stableNodeList=new Array(nodeListLength);for(i=0;i<linkFns.length;i+=3){idx=linkFns[i];stableNodeList[idx]=nodeList[idx]}}else stableNodeList=nodeList;for(i=0,ii=linkFns.length;i<ii;){node=stableNodeList[linkFns[i++]];nodeLinkFn=linkFns[i++];childLinkFn=linkFns[i++];if(nodeLinkFn){if(nodeLinkFn.scope){childScope=scope.$new();compile.$$addScopeInfo(jqLite(node),childScope)}else childScope=scope;childBoundTranscludeFn=nodeLinkFn.transcludeOnThisElement?createBoundTranscludeFn(scope,nodeLinkFn.transclude,parentBoundTranscludeFn):!nodeLinkFn.templateOnThisElement&&parentBoundTranscludeFn?parentBoundTranscludeFn:!parentBoundTranscludeFn&&transcludeFn?createBoundTranscludeFn(scope,transcludeFn):null;nodeLinkFn(childLinkFn,childScope,node,$rootElement,childBoundTranscludeFn)}else childLinkFn&&childLinkFn(scope,node.childNodes,void 0,parentBoundTranscludeFn)}}}function mergeConsecutiveTextNodes(nodeList,idx,notLiveList){var node=nodeList[idx];var parent=node.parentNode;var sibling;if(node.nodeType!==NODE_TYPE_TEXT)return;while(true){sibling=parent?node.nextSibling:nodeList[idx+1];if(!sibling||sibling.nodeType!==NODE_TYPE_TEXT)break;node.nodeValue=node.nodeValue+sibling.nodeValue;sibling.parentNode&&sibling.parentNode.removeChild(sibling);notLiveList&&sibling===nodeList[idx+1]&&nodeList.splice(idx+1,1)}}function createBoundTranscludeFn(scope,transcludeFn,previousBoundTranscludeFn){function boundTranscludeFn(transcludedScope,cloneFn,controllers,futureParentElement,containingScope){if(!transcludedScope){transcludedScope=scope.$new(false,containingScope);transcludedScope.$$transcluded=true}return transcludeFn(transcludedScope,cloneFn,{parentBoundTranscludeFn:previousBoundTranscludeFn,transcludeControllers:controllers,futureParentElement:futureParentElement})}var boundSlots=boundTranscludeFn.$$slots=createMap();for(var slotName in transcludeFn.$$slots)transcludeFn.$$slots[slotName]?boundSlots[slotName]=createBoundTranscludeFn(scope,transcludeFn.$$slots[slotName],previousBoundTranscludeFn):boundSlots[slotName]=null;return boundTranscludeFn}function collectDirectives(node,directives,attrs,maxPriority,ignoreDirective){var match,nodeName,className,nodeType=node.nodeType,attrsMap=attrs.$attr;switch(nodeType){case NODE_TYPE_ELEMENT:nodeName=nodeName_(node);addDirective(directives,directiveNormalize(nodeName),"E",maxPriority,ignoreDirective);for(var attr,name,nName,ngAttrName,value,isNgAttr,nAttrs=node.attributes,j=0,jj=nAttrs&&nAttrs.length;j<jj;j++){var attrStartName=false;var attrEndName=false;attr=nAttrs[j];name=attr.name;value=attr.value;ngAttrName=directiveNormalize(name);isNgAttr=NG_ATTR_BINDING.test(ngAttrName);isNgAttr&&(name=name.replace(PREFIX_REGEXP,"").substr(8).replace(/_(.)/g,function(match,letter){return letter.toUpperCase()}));var multiElementMatch=ngAttrName.match(MULTI_ELEMENT_DIR_RE);if(multiElementMatch&&directiveIsMultiElement(multiElementMatch[1])){attrStartName=name;attrEndName=name.substr(0,name.length-5)+"end";name=name.substr(0,name.length-6)}nName=directiveNormalize(name.toLowerCase());attrsMap[nName]=name;if(isNgAttr||!attrs.hasOwnProperty(nName)){attrs[nName]=value;getBooleanAttrName(node,nName)&&(attrs[nName]=true)}addAttrInterpolateDirective(node,directives,value,nName,isNgAttr);addDirective(directives,nName,"A",maxPriority,ignoreDirective,attrStartName,attrEndName)}"input"===nodeName&&"hidden"===node.getAttribute("type")&&node.setAttribute("autocomplete","off");if(!cssClassDirectivesEnabled)break;className=node.className;isObject(className)&&(className=className.animVal);if(isString(className)&&""!==className)while(match=CLASS_DIRECTIVE_REGEXP.exec(className)){nName=directiveNormalize(match[2]);addDirective(directives,nName,"C",maxPriority,ignoreDirective)&&(attrs[nName]=trim(match[3]));className=className.substr(match.index+match[0].length)}break;case NODE_TYPE_TEXT:addTextInterpolateDirective(directives,node.nodeValue);break;case NODE_TYPE_COMMENT:if(!commentDirectivesEnabled)break;collectCommentDirectives(node,directives,attrs,maxPriority,ignoreDirective)}directives.sort(byPriority);return directives}function collectCommentDirectives(node,directives,attrs,maxPriority,ignoreDirective){try{var match=COMMENT_DIRECTIVE_REGEXP.exec(node.nodeValue);if(match){var nName=directiveNormalize(match[1]);addDirective(directives,nName,"M",maxPriority,ignoreDirective)&&(attrs[nName]=trim(match[2]))}}catch(e){}}function groupScan(node,attrStart,attrEnd){var nodes=[];var depth=0;if(attrStart&&node.hasAttribute&&node.hasAttribute(attrStart))do{if(!node)throw $compileMinErr("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",attrStart,attrEnd);if(node.nodeType===NODE_TYPE_ELEMENT){node.hasAttribute(attrStart)&&depth++;node.hasAttribute(attrEnd)&&depth--}nodes.push(node);node=node.nextSibling}while(depth>0);else nodes.push(node);return jqLite(nodes)}function groupElementsLinkFnWrapper(linkFn,attrStart,attrEnd){return function groupedElementsLink(scope,element,attrs,controllers,transcludeFn){element=groupScan(element[0],attrStart,attrEnd);return linkFn(scope,element,attrs,controllers,transcludeFn)}}function compilationGenerator(eager,$compileNodes,transcludeFn,maxPriority,ignoreDirective,previousCompileContext){var compiled;if(eager)return compile($compileNodes,transcludeFn,maxPriority,ignoreDirective,previousCompileContext);return function lazyCompilation(){if(!compiled){compiled=compile($compileNodes,transcludeFn,maxPriority,ignoreDirective,previousCompileContext);$compileNodes=transcludeFn=previousCompileContext=null}return compiled.apply(this,arguments)}}function applyDirectivesToNode(directives,compileNode,templateAttrs,transcludeFn,jqCollection,originalReplaceDirective,preLinkFns,postLinkFns,previousCompileContext){previousCompileContext=previousCompileContext||{};var directive,directiveName,$template,linkFn,directiveValue,terminalPriority=-Number.MAX_VALUE,newScopeDirective=previousCompileContext.newScopeDirective,controllerDirectives=previousCompileContext.controllerDirectives,newIsolateScopeDirective=previousCompileContext.newIsolateScopeDirective,templateDirective=previousCompileContext.templateDirective,nonTlbTranscludeDirective=previousCompileContext.nonTlbTranscludeDirective,hasTranscludeDirective=false,hasTemplate=false,hasElementTranscludeDirective=previousCompileContext.hasElementTranscludeDirective,$compileNode=templateAttrs.$$element=jqLite(compileNode),replaceDirective=originalReplaceDirective,childTranscludeFn=transcludeFn,didScanForMultipleTransclusion=false,mightHaveMultipleTransclusionError=false;for(var i=0,ii=directives.length;i<ii;i++){directive=directives[i];var attrStart=directive.$$start;var attrEnd=directive.$$end;attrStart&&($compileNode=groupScan(compileNode,attrStart,attrEnd));$template=void 0;if(terminalPriority>directive.priority)break;directiveValue=directive.scope;if(directiveValue){if(!directive.templateUrl)if(isObject(directiveValue)){assertNoDuplicate("new/isolated scope",newIsolateScopeDirective||newScopeDirective,directive,$compileNode);newIsolateScopeDirective=directive}else assertNoDuplicate("new/isolated scope",newIsolateScopeDirective,directive,$compileNode);newScopeDirective=newScopeDirective||directive}directiveName=directive.name;if(!didScanForMultipleTransclusion&&(directive.replace&&(directive.templateUrl||directive.template)||directive.transclude&&!directive.$$tlb)){var candidateDirective;for(var scanningIndex=i+1;candidateDirective=directives[scanningIndex++];)if(candidateDirective.transclude&&!candidateDirective.$$tlb||candidateDirective.replace&&(candidateDirective.templateUrl||candidateDirective.template)){mightHaveMultipleTransclusionError=true;break}didScanForMultipleTransclusion=true}if(!directive.templateUrl&&directive.controller){controllerDirectives=controllerDirectives||createMap();assertNoDuplicate("'"+directiveName+"' controller",controllerDirectives[directiveName],directive,$compileNode);controllerDirectives[directiveName]=directive}directiveValue=directive.transclude;if(directiveValue){hasTranscludeDirective=true;if(!directive.$$tlb){assertNoDuplicate("transclusion",nonTlbTranscludeDirective,directive,$compileNode);nonTlbTranscludeDirective=directive}if("element"===directiveValue){hasElementTranscludeDirective=true;terminalPriority=directive.priority;$template=$compileNode;$compileNode=templateAttrs.$$element=jqLite(compile.$$createComment(directiveName,templateAttrs[directiveName]));compileNode=$compileNode[0];replaceWith(jqCollection,sliceArgs($template),compileNode);$template[0].$$parentNode=$template[0].parentNode;childTranscludeFn=compilationGenerator(mightHaveMultipleTransclusionError,$template,transcludeFn,terminalPriority,replaceDirective&&replaceDirective.name,{nonTlbTranscludeDirective:nonTlbTranscludeDirective})}else{var slots=createMap();if(isObject(directiveValue)){$template=[];var slotMap=createMap();var filledSlots=createMap();forEach(directiveValue,function(elementSelector,slotName){var optional="?"===elementSelector.charAt(0);elementSelector=optional?elementSelector.substring(1):elementSelector;slotMap[elementSelector]=slotName;slots[slotName]=null;filledSlots[slotName]=optional});forEach($compileNode.contents(),function(node){var slotName=slotMap[directiveNormalize(nodeName_(node))];if(slotName){filledSlots[slotName]=true;slots[slotName]=slots[slotName]||[];slots[slotName].push(node)}else $template.push(node)});forEach(filledSlots,function(filled,slotName){if(!filled)throw $compileMinErr("reqslot","Required transclusion slot `{0}` was not filled.",slotName)});for(var slotName in slots)slots[slotName]&&(slots[slotName]=compilationGenerator(mightHaveMultipleTransclusionError,slots[slotName],transcludeFn))}else $template=jqLite(jqLiteClone(compileNode)).contents();$compileNode.empty();childTranscludeFn=compilationGenerator(mightHaveMultipleTransclusionError,$template,transcludeFn,void 0,void 0,{needsNewScope:directive.$$isolateScope||directive.$$newScope});childTranscludeFn.$$slots=slots}}if(directive.template){hasTemplate=true;assertNoDuplicate("template",templateDirective,directive,$compileNode);templateDirective=directive;directiveValue=isFunction(directive.template)?directive.template($compileNode,templateAttrs):directive.template;directiveValue=denormalizeTemplate(directiveValue);if(directive.replace){replaceDirective=directive;$template=jqLiteIsTextNode(directiveValue)?[]:removeComments(wrapTemplate(directive.templateNamespace,trim(directiveValue)));compileNode=$template[0];if(1!==$template.length||compileNode.nodeType!==NODE_TYPE_ELEMENT)throw $compileMinErr("tplrt","Template for directive '{0}' must have exactly one root element. {1}",directiveName,"");replaceWith(jqCollection,$compileNode,compileNode);var newTemplateAttrs={$attr:{}};var templateDirectives=collectDirectives(compileNode,[],newTemplateAttrs);var unprocessedDirectives=directives.splice(i+1,directives.length-(i+1));(newIsolateScopeDirective||newScopeDirective)&&markDirectiveScope(templateDirectives,newIsolateScopeDirective,newScopeDirective);directives=directives.concat(templateDirectives).concat(unprocessedDirectives);mergeTemplateAttributes(templateAttrs,newTemplateAttrs);ii=directives.length}else $compileNode.html(directiveValue)}if(directive.templateUrl){hasTemplate=true;assertNoDuplicate("template",templateDirective,directive,$compileNode);templateDirective=directive;directive.replace&&(replaceDirective=directive);nodeLinkFn=compileTemplateUrl(directives.splice(i,directives.length-i),$compileNode,templateAttrs,jqCollection,hasTranscludeDirective&&childTranscludeFn,preLinkFns,postLinkFns,{controllerDirectives:controllerDirectives,newScopeDirective:newScopeDirective!==directive&&newScopeDirective,newIsolateScopeDirective:newIsolateScopeDirective,templateDirective:templateDirective,nonTlbTranscludeDirective:nonTlbTranscludeDirective});ii=directives.length}else if(directive.compile)try{linkFn=directive.compile($compileNode,templateAttrs,childTranscludeFn);var context=directive.$$originalDirective||directive;isFunction(linkFn)?addLinkFns(null,bind(context,linkFn),attrStart,attrEnd):linkFn&&addLinkFns(bind(context,linkFn.pre),bind(context,linkFn.post),attrStart,attrEnd)}catch(e){$exceptionHandler(e,startingTag($compileNode))}if(directive.terminal){nodeLinkFn.terminal=true;terminalPriority=Math.max(terminalPriority,directive.priority)}}nodeLinkFn.scope=newScopeDirective&&true===newScopeDirective.scope;nodeLinkFn.transcludeOnThisElement=hasTranscludeDirective;nodeLinkFn.templateOnThisElement=hasTemplate;nodeLinkFn.transclude=childTranscludeFn;previousCompileContext.hasElementTranscludeDirective=hasElementTranscludeDirective;return nodeLinkFn;function addLinkFns(pre,post,attrStart,attrEnd){if(pre){attrStart&&(pre=groupElementsLinkFnWrapper(pre,attrStart,attrEnd));pre.require=directive.require;pre.directiveName=directiveName;(newIsolateScopeDirective===directive||directive.$$isolateScope)&&(pre=cloneAndAnnotateFn(pre,{isolateScope:true}));preLinkFns.push(pre)}if(post){attrStart&&(post=groupElementsLinkFnWrapper(post,attrStart,attrEnd));post.require=directive.require;post.directiveName=directiveName;(newIsolateScopeDirective===directive||directive.$$isolateScope)&&(post=cloneAndAnnotateFn(post,{isolateScope:true}));postLinkFns.push(post)}}function nodeLinkFn(childLinkFn,scope,linkNode,$rootElement,boundTranscludeFn){var i,ii,linkFn,isolateScope,controllerScope,elementControllers,transcludeFn,$element,attrs,scopeBindingInfo;if(compileNode===linkNode){attrs=templateAttrs;$element=templateAttrs.$$element}else{$element=jqLite(linkNode);attrs=new Attributes($element,templateAttrs)}controllerScope=scope;newIsolateScopeDirective?isolateScope=scope.$new(true):newScopeDirective&&(controllerScope=scope.$parent);if(boundTranscludeFn){transcludeFn=controllersBoundTransclude;transcludeFn.$$boundTransclude=boundTranscludeFn;transcludeFn.isSlotFilled=function(slotName){return!!boundTranscludeFn.$$slots[slotName]}}controllerDirectives&&(elementControllers=setupControllers($element,attrs,transcludeFn,controllerDirectives,isolateScope,scope,newIsolateScopeDirective));if(newIsolateScopeDirective){compile.$$addScopeInfo($element,isolateScope,true,!(templateDirective&&(templateDirective===newIsolateScopeDirective||templateDirective===newIsolateScopeDirective.$$originalDirective)));compile.$$addScopeClass($element,true);isolateScope.$$isolateBindings=newIsolateScopeDirective.$$isolateBindings;scopeBindingInfo=initializeDirectiveBindings(scope,attrs,isolateScope,isolateScope.$$isolateBindings,newIsolateScopeDirective);scopeBindingInfo.removeWatches&&isolateScope.$on("$destroy",scopeBindingInfo.removeWatches)}for(var name in elementControllers){var controllerDirective=controllerDirectives[name];var controller=elementControllers[name];var bindings=controllerDirective.$$bindings.bindToController;if(preAssignBindingsEnabled){controller.bindingInfo=bindings?initializeDirectiveBindings(controllerScope,attrs,controller.instance,bindings,controllerDirective):{};var controllerResult=controller();if(controllerResult!==controller.instance){controller.instance=controllerResult;$element.data("$"+controllerDirective.name+"Controller",controllerResult);controller.bindingInfo.removeWatches&&controller.bindingInfo.removeWatches();controller.bindingInfo=initializeDirectiveBindings(controllerScope,attrs,controller.instance,bindings,controllerDirective)}}else{controller.instance=controller();$element.data("$"+controllerDirective.name+"Controller",controller.instance);controller.bindingInfo=initializeDirectiveBindings(controllerScope,attrs,controller.instance,bindings,controllerDirective)}}forEach(controllerDirectives,function(controllerDirective,name){var require=controllerDirective.require;controllerDirective.bindToController&&!isArray(require)&&isObject(require)&&extend(elementControllers[name].instance,getControllers(name,require,$element,elementControllers))});forEach(elementControllers,function(controller){var controllerInstance=controller.instance;if(isFunction(controllerInstance.$onChanges))try{controllerInstance.$onChanges(controller.bindingInfo.initialChanges)}catch(e){$exceptionHandler(e)}if(isFunction(controllerInstance.$onInit))try{controllerInstance.$onInit()}catch(e){$exceptionHandler(e)}if(isFunction(controllerInstance.$doCheck)){controllerScope.$watch(function(){controllerInstance.$doCheck()});controllerInstance.$doCheck()}isFunction(controllerInstance.$onDestroy)&&controllerScope.$on("$destroy",function callOnDestroyHook(){controllerInstance.$onDestroy()})});for(i=0,ii=preLinkFns.length;i<ii;i++){linkFn=preLinkFns[i];invokeLinkFn(linkFn,linkFn.isolateScope?isolateScope:scope,$element,attrs,linkFn.require&&getControllers(linkFn.directiveName,linkFn.require,$element,elementControllers),transcludeFn)}var scopeToChild=scope;newIsolateScopeDirective&&(newIsolateScopeDirective.template||null===newIsolateScopeDirective.templateUrl)&&(scopeToChild=isolateScope);childLinkFn&&childLinkFn(scopeToChild,linkNode.childNodes,void 0,boundTranscludeFn);for(i=postLinkFns.length-1;i>=0;i--){linkFn=postLinkFns[i];invokeLinkFn(linkFn,linkFn.isolateScope?isolateScope:scope,$element,attrs,linkFn.require&&getControllers(linkFn.directiveName,linkFn.require,$element,elementControllers),transcludeFn)}forEach(elementControllers,function(controller){var controllerInstance=controller.instance;isFunction(controllerInstance.$postLink)&&controllerInstance.$postLink()});function controllersBoundTransclude(scope,cloneAttachFn,futureParentElement,slotName){var transcludeControllers;if(!isScope(scope)){slotName=futureParentElement;futureParentElement=cloneAttachFn;cloneAttachFn=scope;scope=void 0}hasElementTranscludeDirective&&(transcludeControllers=elementControllers);futureParentElement||(futureParentElement=hasElementTranscludeDirective?$element.parent():$element);if(!slotName)return boundTranscludeFn(scope,cloneAttachFn,transcludeControllers,futureParentElement,scopeToChild);var slotTranscludeFn=boundTranscludeFn.$$slots[slotName];if(slotTranscludeFn)return slotTranscludeFn(scope,cloneAttachFn,transcludeControllers,futureParentElement,scopeToChild);if(isUndefined(slotTranscludeFn))throw $compileMinErr("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',slotName,startingTag($element))}}}function getControllers(directiveName,require,$element,elementControllers){var value;if(isString(require)){var match=require.match(REQUIRE_PREFIX_REGEXP);var name=require.substring(match[0].length);var inheritType=match[1]||match[3];var optional="?"===match[2];if("^^"===inheritType)$element=$element.parent();else{value=elementControllers&&elementControllers[name];value=value&&value.instance}if(!value){var dataName="$"+name+"Controller";value=inheritType?$element.inheritedData(dataName):$element.data(dataName)}if(!value&&!optional)throw $compileMinErr("ctreq","Controller '{0}', required by directive '{1}', can't be found!",name,directiveName)}else if(isArray(require)){value=[];for(var i=0,ii=require.length;i<ii;i++)value[i]=getControllers(directiveName,require[i],$element,elementControllers)}else if(isObject(require)){value={};forEach(require,function(controller,property){value[property]=getControllers(directiveName,controller,$element,elementControllers)})}return value||null}function setupControllers($element,attrs,transcludeFn,controllerDirectives,isolateScope,scope,newIsolateScopeDirective){var elementControllers=createMap();for(var controllerKey in controllerDirectives){var directive=controllerDirectives[controllerKey];var locals={$scope:directive===newIsolateScopeDirective||directive.$$isolateScope?isolateScope:scope,$element:$element,$attrs:attrs,$transclude:transcludeFn};var controller=directive.controller;"@"===controller&&(controller=attrs[directive.name]);var controllerInstance=$controller(controller,locals,true,directive.controllerAs);elementControllers[directive.name]=controllerInstance;$element.data("$"+directive.name+"Controller",controllerInstance.instance)}return elementControllers}function markDirectiveScope(directives,isolateScope,newScope){for(var j=0,jj=directives.length;j<jj;j++)directives[j]=inherit(directives[j],{$$isolateScope:isolateScope,$$newScope:newScope})}function addDirective(tDirectives,name,location,maxPriority,ignoreDirective,startAttrName,endAttrName){if(name===ignoreDirective)return null;var match=null;if(hasDirectives.hasOwnProperty(name))for(var directive,directives=$injector.get(name+Suffix),i=0,ii=directives.length;i<ii;i++){directive=directives[i];if((isUndefined(maxPriority)||maxPriority>directive.priority)&&-1!==directive.restrict.indexOf(location)){startAttrName&&(directive=inherit(directive,{$$start:startAttrName,$$end:endAttrName}));if(!directive.$$bindings){var bindings=directive.$$bindings=parseDirectiveBindings(directive,directive.name);isObject(bindings.isolateScope)&&(directive.$$isolateBindings=bindings.isolateScope)}tDirectives.push(directive);match=directive}}return match}function directiveIsMultiElement(name){if(hasDirectives.hasOwnProperty(name))for(var directive,directives=$injector.get(name+Suffix),i=0,ii=directives.length;i<ii;i++){directive=directives[i];if(directive.multiElement)return true}return false}function mergeTemplateAttributes(dst,src){var srcAttr=src.$attr,dstAttr=dst.$attr;forEach(dst,function(value,key){if("$"!==key.charAt(0)){src[key]&&src[key]!==value&&(value.length?value+=("style"===key?";":" ")+src[key]:value=src[key]);dst.$set(key,value,true,srcAttr[key])}});forEach(src,function(value,key){if(!dst.hasOwnProperty(key)&&"$"!==key.charAt(0)){dst[key]=value;"class"!==key&&"style"!==key&&(dstAttr[key]=srcAttr[key])}})}function compileTemplateUrl(directives,$compileNode,tAttrs,$rootElement,childTranscludeFn,preLinkFns,postLinkFns,previousCompileContext){var afterTemplateNodeLinkFn,afterTemplateChildLinkFn,linkQueue=[],beforeTemplateCompileNode=$compileNode[0],origAsyncDirective=directives.shift(),derivedSyncDirective=inherit(origAsyncDirective,{templateUrl:null,transclude:null,replace:null,$$originalDirective:origAsyncDirective}),templateUrl=isFunction(origAsyncDirective.templateUrl)?origAsyncDirective.templateUrl($compileNode,tAttrs):origAsyncDirective.templateUrl,templateNamespace=origAsyncDirective.templateNamespace;$compileNode.empty();$templateRequest(templateUrl).then(function(content){var compileNode,tempTemplateAttrs,$template,childBoundTranscludeFn;content=denormalizeTemplate(content);if(origAsyncDirective.replace){$template=jqLiteIsTextNode(content)?[]:removeComments(wrapTemplate(templateNamespace,trim(content)));compileNode=$template[0];if(1!==$template.length||compileNode.nodeType!==NODE_TYPE_ELEMENT)throw $compileMinErr("tplrt","Template for directive '{0}' must have exactly one root element. {1}",origAsyncDirective.name,templateUrl);tempTemplateAttrs={$attr:{}};replaceWith($rootElement,$compileNode,compileNode);var templateDirectives=collectDirectives(compileNode,[],tempTemplateAttrs);isObject(origAsyncDirective.scope)&&markDirectiveScope(templateDirectives,true);directives=templateDirectives.concat(directives);mergeTemplateAttributes(tAttrs,tempTemplateAttrs)}else{compileNode=beforeTemplateCompileNode;$compileNode.html(content)}directives.unshift(derivedSyncDirective);afterTemplateNodeLinkFn=applyDirectivesToNode(directives,compileNode,tAttrs,childTranscludeFn,$compileNode,origAsyncDirective,preLinkFns,postLinkFns,previousCompileContext);forEach($rootElement,function(node,i){node===compileNode&&($rootElement[i]=$compileNode[0])});afterTemplateChildLinkFn=compileNodes($compileNode[0].childNodes,childTranscludeFn);while(linkQueue.length){var scope=linkQueue.shift(),beforeTemplateLinkNode=linkQueue.shift(),linkRootElement=linkQueue.shift(),boundTranscludeFn=linkQueue.shift(),linkNode=$compileNode[0];if(scope.$$destroyed)continue;if(beforeTemplateLinkNode!==beforeTemplateCompileNode){var oldClasses=beforeTemplateLinkNode.className;previousCompileContext.hasElementTranscludeDirective&&origAsyncDirective.replace||(linkNode=jqLiteClone(compileNode));replaceWith(linkRootElement,jqLite(beforeTemplateLinkNode),linkNode);safeAddClass(jqLite(linkNode),oldClasses)}childBoundTranscludeFn=afterTemplateNodeLinkFn.transcludeOnThisElement?createBoundTranscludeFn(scope,afterTemplateNodeLinkFn.transclude,boundTranscludeFn):boundTranscludeFn;afterTemplateNodeLinkFn(afterTemplateChildLinkFn,scope,linkNode,$rootElement,childBoundTranscludeFn)}linkQueue=null}).catch(function(error){isError(error)&&$exceptionHandler(error)});return function delayedNodeLinkFn(ignoreChildLinkFn,scope,node,rootElement,boundTranscludeFn){var childBoundTranscludeFn=boundTranscludeFn;if(scope.$$destroyed)return;if(linkQueue)linkQueue.push(scope,node,rootElement,childBoundTranscludeFn);else{afterTemplateNodeLinkFn.transcludeOnThisElement&&(childBoundTranscludeFn=createBoundTranscludeFn(scope,afterTemplateNodeLinkFn.transclude,boundTranscludeFn));afterTemplateNodeLinkFn(afterTemplateChildLinkFn,scope,node,rootElement,childBoundTranscludeFn)}}}function byPriority(a,b){var diff=b.priority-a.priority;if(0!==diff)return diff;if(a.name!==b.name)return a.name<b.name?-1:1;return a.index-b.index}function assertNoDuplicate(what,previousDirective,directive,element){function wrapModuleNameIfDefined(moduleName){return moduleName?" (module: "+moduleName+")":""}if(previousDirective)throw $compileMinErr("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",previousDirective.name,wrapModuleNameIfDefined(previousDirective.$$moduleName),directive.name,wrapModuleNameIfDefined(directive.$$moduleName),what,startingTag(element))}function addTextInterpolateDirective(directives,text){var interpolateFn=$interpolate(text,true);interpolateFn&&directives.push({priority:0,compile:function textInterpolateCompileFn(templateNode){var templateNodeParent=templateNode.parent(),hasCompileParent=!!templateNodeParent.length;hasCompileParent&&compile.$$addBindingClass(templateNodeParent);return function textInterpolateLinkFn(scope,node){var parent=node.parent();hasCompileParent||compile.$$addBindingClass(parent);compile.$$addBindingInfo(parent,interpolateFn.expressions);scope.$watch(interpolateFn,function interpolateFnWatchAction(value){node[0].nodeValue=value})}}})}function wrapTemplate(type,template){type=lowercase(type||"html");switch(type){case"svg":case"math":var wrapper=window.document.createElement("div");wrapper.innerHTML="<"+type+">"+template+"</"+type+">";return wrapper.childNodes[0].childNodes;default:return template}}function getTrustedContext(node,attrNormalizedName){if("srcdoc"===attrNormalizedName)return $sce.HTML;var tag=nodeName_(node);if("src"===attrNormalizedName||"ngSrc"===attrNormalizedName){if(-1===["img","video","audio","source","track"].indexOf(tag))return $sce.RESOURCE_URL}else if("xlinkHref"===attrNormalizedName||"form"===tag&&"action"===attrNormalizedName||"link"===tag&&"href"===attrNormalizedName)return $sce.RESOURCE_URL}function addAttrInterpolateDirective(node,directives,value,name,isNgAttr){var trustedContext=getTrustedContext(node,name);var mustHaveExpression=!isNgAttr;var allOrNothing=ALL_OR_NOTHING_ATTRS[name]||isNgAttr;var interpolateFn=$interpolate(value,mustHaveExpression,trustedContext,allOrNothing);if(!interpolateFn)return;if("multiple"===name&&"select"===nodeName_(node))throw $compileMinErr("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",startingTag(node));if(EVENT_HANDLER_ATTR_REGEXP.test(name))throw $compileMinErr("nodomevents","Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.");directives.push({priority:100,compile:function(){return{pre:function attrInterpolatePreLinkFn(scope,element,attr){var $$observers=attr.$$observers||(attr.$$observers=createMap());var newValue=attr[name];if(newValue!==value){interpolateFn=newValue&&$interpolate(newValue,true,trustedContext,allOrNothing);value=newValue}if(!interpolateFn)return;attr[name]=interpolateFn(scope);($$observers[name]||($$observers[name]=[])).$$inter=true;(attr.$$observers&&attr.$$observers[name].$$scope||scope).$watch(interpolateFn,function interpolateFnWatchAction(newValue,oldValue){"class"===name&&newValue!==oldValue?attr.$updateClass(newValue,oldValue):attr.$set(name,newValue)})}}}})}function replaceWith($rootElement,elementsToRemove,newNode){var i,ii,firstElementToRemove=elementsToRemove[0],removeCount=elementsToRemove.length,parent=firstElementToRemove.parentNode;if($rootElement)for(i=0,ii=$rootElement.length;i<ii;i++)if($rootElement[i]===firstElementToRemove){$rootElement[i++]=newNode;for(var j=i,j2=j+removeCount-1,jj=$rootElement.length;j<jj;j++,j2++)j2<jj?$rootElement[j]=$rootElement[j2]:delete $rootElement[j];$rootElement.length-=removeCount-1;$rootElement.context===firstElementToRemove&&($rootElement.context=newNode);break}parent&&parent.replaceChild(newNode,firstElementToRemove);var fragment=window.document.createDocumentFragment();for(i=0;i<removeCount;i++)fragment.appendChild(elementsToRemove[i]);if(jqLite.hasData(firstElementToRemove)){jqLite.data(newNode,jqLite.data(firstElementToRemove));jqLite(firstElementToRemove).off("$destroy")}jqLite.cleanData(fragment.querySelectorAll("*"));for(i=1;i<removeCount;i++)delete elementsToRemove[i];elementsToRemove[0]=newNode;elementsToRemove.length=1}function cloneAndAnnotateFn(fn,annotation){return extend(function(){return fn.apply(null,arguments)},fn,annotation)}function invokeLinkFn(linkFn,scope,$element,attrs,controllers,transcludeFn){try{linkFn(scope,$element,attrs,controllers,transcludeFn)}catch(e){$exceptionHandler(e,startingTag($element))}}function strictBindingsCheck(attrName,directiveName){if(strictComponentBindingsEnabled)throw $compileMinErr("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",attrName,directiveName)}function initializeDirectiveBindings(scope,attrs,destination,bindings,directive){var removeWatchCollection=[];var initialChanges={};var changes;forEach(bindings,function initializeBinding(definition,scopeName){var lastValue,parentGet,parentSet,compare,removeWatch,attrName=definition.attrName,optional=definition.optional,mode=definition.mode;switch(mode){case"@":if(!optional&&!hasOwnProperty.call(attrs,attrName)){strictBindingsCheck(attrName,directive.name);destination[scopeName]=attrs[attrName]=void 0}removeWatch=attrs.$observe(attrName,function(value){if(isString(value)||isBoolean(value)){var oldValue=destination[scopeName];recordChanges(scopeName,value,oldValue);destination[scopeName]=value}});attrs.$$observers[attrName].$$scope=scope;lastValue=attrs[attrName];isString(lastValue)?destination[scopeName]=$interpolate(lastValue)(scope):isBoolean(lastValue)&&(destination[scopeName]=lastValue);initialChanges[scopeName]=new SimpleChange(_UNINITIALIZED_VALUE,destination[scopeName]);removeWatchCollection.push(removeWatch);break;case"=":if(!hasOwnProperty.call(attrs,attrName)){if(optional)break;strictBindingsCheck(attrName,directive.name);attrs[attrName]=void 0}if(optional&&!attrs[attrName])break;parentGet=$parse(attrs[attrName]);compare=parentGet.literal?equals:simpleCompare;parentSet=parentGet.assign||function(){lastValue=destination[scopeName]=parentGet(scope);throw $compileMinErr("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",attrs[attrName],attrName,directive.name)};lastValue=destination[scopeName]=parentGet(scope);var parentValueWatch=function parentValueWatch(parentValue){compare(parentValue,destination[scopeName])||(compare(parentValue,lastValue)?parentSet(scope,parentValue=destination[scopeName]):destination[scopeName]=parentValue);lastValue=parentValue;return lastValue};parentValueWatch.$stateful=true;removeWatch=definition.collection?scope.$watchCollection(attrs[attrName],parentValueWatch):scope.$watch($parse(attrs[attrName],parentValueWatch),null,parentGet.literal);removeWatchCollection.push(removeWatch);break;case"<":if(!hasOwnProperty.call(attrs,attrName)){if(optional)break;strictBindingsCheck(attrName,directive.name);attrs[attrName]=void 0}if(optional&&!attrs[attrName])break;parentGet=$parse(attrs[attrName]);var deepWatch=parentGet.literal;var initialValue=destination[scopeName]=parentGet(scope);initialChanges[scopeName]=new SimpleChange(_UNINITIALIZED_VALUE,destination[scopeName]);removeWatch=scope.$watch(parentGet,function parentValueWatchAction(newValue,oldValue){if(oldValue===newValue){if(oldValue===initialValue||deepWatch&&equals(oldValue,initialValue))return;oldValue=initialValue}recordChanges(scopeName,newValue,oldValue);destination[scopeName]=newValue},deepWatch);removeWatchCollection.push(removeWatch);break;case"&":optional||hasOwnProperty.call(attrs,attrName)||strictBindingsCheck(attrName,directive.name);parentGet=attrs.hasOwnProperty(attrName)?$parse(attrs[attrName]):noop;if(parentGet===noop&&optional)break;destination[scopeName]=function(locals){return parentGet(scope,locals)}}});function recordChanges(key,currentValue,previousValue){if(isFunction(destination.$onChanges)&&!simpleCompare(currentValue,previousValue)){if(!onChangesQueue){scope.$$postDigest(flushOnChangesQueue);onChangesQueue=[]}if(!changes){changes={};onChangesQueue.push(triggerOnChangesHook)}changes[key]&&(previousValue=changes[key].previousValue);changes[key]=new SimpleChange(previousValue,currentValue)}}function triggerOnChangesHook(){destination.$onChanges(changes);changes=void 0}return{initialChanges:initialChanges,removeWatches:removeWatchCollection.length&&function removeWatches(){for(var i=0,ii=removeWatchCollection.length;i<ii;++i)removeWatchCollection[i]()}}}}]}function SimpleChange(previous,current){this.previousValue=previous;this.currentValue=current}SimpleChange.prototype.isFirstChange=function(){return this.previousValue===_UNINITIALIZED_VALUE};var PREFIX_REGEXP=/^((?:x|data)[:\-_])/i;var SPECIAL_CHARS_REGEXP=/[:\-_]+(.)/g;function directiveNormalize(name){return name.replace(PREFIX_REGEXP,"").replace(SPECIAL_CHARS_REGEXP,function(_,letter,offset){return offset?letter.toUpperCase():letter})}function tokenDifference(str1,str2){var values="",tokens1=str1.split(/\s+/),tokens2=str2.split(/\s+/);outer:for(var i=0;i<tokens1.length;i++){var token=tokens1[i];for(var j=0;j<tokens2.length;j++)if(token===tokens2[j])continue outer;values+=(values.length>0?" ":"")+token}return values}function removeComments(jqNodes){jqNodes=jqLite(jqNodes);var i=jqNodes.length;if(i<=1)return jqNodes;while(i--){var node=jqNodes[i];(node.nodeType===NODE_TYPE_COMMENT||node.nodeType===NODE_TYPE_TEXT&&""===node.nodeValue.trim())&&splice.call(jqNodes,i,1)}return jqNodes}var $controllerMinErr=minErr("$controller");var CNTRL_REG=/^(\S+)(\s+as\s+([\w$]+))?$/;function identifierForController(controller,ident){if(ident&&isString(ident))return ident;if(isString(controller)){var match=CNTRL_REG.exec(controller);if(match)return match[3]}}function $ControllerProvider(){var controllers={},globals=false;this.has=function(name){return controllers.hasOwnProperty(name)};this.register=function(name,constructor){assertNotHasOwnProperty(name,"controller");isObject(name)?extend(controllers,name):controllers[name]=constructor};this.allowGlobals=function(){globals=true};this.$get=["$injector","$window",function($injector,$window){return function $controller(expression,locals,later,ident){var instance,match,constructor,identifier;later=true===later;ident&&isString(ident)&&(identifier=ident);if(isString(expression)){match=expression.match(CNTRL_REG);if(!match)throw $controllerMinErr("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",expression);constructor=match[1];identifier=identifier||match[3];expression=controllers.hasOwnProperty(constructor)?controllers[constructor]:getter(locals.$scope,constructor,true)||(globals?getter($window,constructor,true):void 0);if(!expression)throw $controllerMinErr("ctrlreg","The controller with the name '{0}' is not registered.",constructor);assertArgFn(expression,constructor,true)}if(later){var controllerPrototype=(isArray(expression)?expression[expression.length-1]:expression).prototype;instance=Object.create(controllerPrototype||null);identifier&&addIdentifier(locals,identifier,instance,constructor||expression.name);return extend(function $controllerInit(){var result=$injector.invoke(expression,instance,locals,constructor);if(result!==instance&&(isObject(result)||isFunction(result))){instance=result;identifier&&addIdentifier(locals,identifier,instance,constructor||expression.name)}return instance},{instance:instance,identifier:identifier})}instance=$injector.instantiate(expression,locals,constructor);identifier&&addIdentifier(locals,identifier,instance,constructor||expression.name);return instance};function addIdentifier(locals,identifier,instance,name){if(!(locals&&isObject(locals.$scope)))throw minErr("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",name,identifier);locals.$scope[identifier]=instance}}]}function $DocumentProvider(){this.$get=["$window",function(window){return jqLite(window.document)}]}function $$IsDocumentHiddenProvider(){this.$get=["$document","$rootScope",function($document,$rootScope){var doc=$document[0];var hidden=doc&&doc.hidden;$document.on("visibilitychange",changeListener);$rootScope.$on("$destroy",function(){$document.off("visibilitychange",changeListener)});function changeListener(){hidden=doc.hidden}return function(){return hidden}}]}function $ExceptionHandlerProvider(){this.$get=["$log",function($log){return function(exception,cause){$log.error.apply($log,arguments)}}]}var $$ForceReflowProvider=function(){this.$get=["$document",function($document){return function(domNode){domNode?!domNode.nodeType&&domNode instanceof jqLite&&(domNode=domNode[0]):domNode=$document[0].body;return domNode.offsetWidth+1}}]};var APPLICATION_JSON="application/json";var CONTENT_TYPE_APPLICATION_JSON={"Content-Type":APPLICATION_JSON+";charset=utf-8"};var JSON_START=/^\[|^\{(?!\{)/;var JSON_ENDS={"[":/]$/,"{":/}$/};var JSON_PROTECTION_PREFIX=/^\)]\}',?\n/;var $httpMinErr=minErr("$http");function serializeValue(v){if(isObject(v))return isDate(v)?v.toISOString():toJson(v);return v}function $HttpParamSerializerProvider(){this.$get=function(){return function ngParamSerializer(params){if(!params)return"";var parts=[];forEachSorted(params,function(value,key){if(null===value||isUndefined(value)||isFunction(value))return;isArray(value)?forEach(value,function(v){parts.push(encodeUriQuery(key)+"="+encodeUriQuery(serializeValue(v)))}):parts.push(encodeUriQuery(key)+"="+encodeUriQuery(serializeValue(value)))});return parts.join("&")}}}function $HttpParamSerializerJQLikeProvider(){this.$get=function(){return function jQueryLikeParamSerializer(params){if(!params)return"";var parts=[];serialize(params,"",true);return parts.join("&");function serialize(toSerialize,prefix,topLevel){if(null===toSerialize||isUndefined(toSerialize))return;isArray(toSerialize)?forEach(toSerialize,function(value,index){serialize(value,prefix+"["+(isObject(value)?index:"")+"]")}):isObject(toSerialize)&&!isDate(toSerialize)?forEachSorted(toSerialize,function(value,key){serialize(value,prefix+(topLevel?"":"[")+key+(topLevel?"":"]"))}):parts.push(encodeUriQuery(prefix)+"="+encodeUriQuery(serializeValue(toSerialize)))}}}}function defaultHttpResponseTransform(data,headers){if(isString(data)){var tempData=data.replace(JSON_PROTECTION_PREFIX,"").trim();if(tempData){var contentType=headers("Content-Type");var hasJsonContentType=contentType&&0===contentType.indexOf(APPLICATION_JSON);if(hasJsonContentType||isJsonLike(tempData))try{data=fromJson(tempData)}catch(e){if(!hasJsonContentType)return data;throw $httpMinErr("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',data,e)}}}return data}function isJsonLike(str){var jsonStart=str.match(JSON_START);return jsonStart&&JSON_ENDS[jsonStart[0]].test(str)}function parseHeaders(headers){var i,parsed=createMap();function fillInParsed(key,val){key&&(parsed[key]=parsed[key]?parsed[key]+", "+val:val)}isString(headers)?forEach(headers.split("\n"),function(line){i=line.indexOf(":");fillInParsed(lowercase(trim(line.substr(0,i))),trim(line.substr(i+1)))}):isObject(headers)&&forEach(headers,function(headerVal,headerKey){fillInParsed(lowercase(headerKey),trim(headerVal))});return parsed}function headersGetter(headers){var headersObj;return function(name){headersObj||(headersObj=parseHeaders(headers));if(name){var value=headersObj[lowercase(name)];void 0===value&&(value=null);return value}return headersObj}}function transformData(data,headers,status,fns){if(isFunction(fns))return fns(data,headers,status);forEach(fns,function(fn){data=fn(data,headers,status)});return data}function isSuccess(status){return 200<=status&&status<300}function $HttpProvider(){var defaults=this.defaults={transformResponse:[defaultHttpResponseTransform],transformRequest:[function(d){return!isObject(d)||isFile(d)||isBlob(d)||isFormData(d)?d:toJson(d)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:shallowCopy(CONTENT_TYPE_APPLICATION_JSON),put:shallowCopy(CONTENT_TYPE_APPLICATION_JSON),patch:shallowCopy(CONTENT_TYPE_APPLICATION_JSON)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"};var useApplyAsync=false;this.useApplyAsync=function(value){if(isDefined(value)){useApplyAsync=!!value;return this}return useApplyAsync};var interceptorFactories=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function($browser,$httpBackend,$$cookieReader,$cacheFactory,$rootScope,$q,$injector,$sce){var defaultCache=$cacheFactory("$http");defaults.paramSerializer=isString(defaults.paramSerializer)?$injector.get(defaults.paramSerializer):defaults.paramSerializer;var reversedInterceptors=[];forEach(interceptorFactories,function(interceptorFactory){reversedInterceptors.unshift(isString(interceptorFactory)?$injector.get(interceptorFactory):$injector.invoke(interceptorFactory))});function $http(requestConfig){if(!isObject(requestConfig))throw minErr("$http")("badreq","Http request configuration must be an object.  Received: {0}",requestConfig);if(!isString($sce.valueOf(requestConfig.url)))throw minErr("$http")("badreq","Http request configuration url must be a string or a $sce trusted object.  Received: {0}",requestConfig.url);var config=extend({method:"get",transformRequest:defaults.transformRequest,transformResponse:defaults.transformResponse,paramSerializer:defaults.paramSerializer,jsonpCallbackParam:defaults.jsonpCallbackParam},requestConfig);config.headers=mergeHeaders(requestConfig);config.method=uppercase(config.method);config.paramSerializer=isString(config.paramSerializer)?$injector.get(config.paramSerializer):config.paramSerializer;$browser.$$incOutstandingRequestCount();var requestInterceptors=[];var responseInterceptors=[];var promise=$q.resolve(config);forEach(reversedInterceptors,function(interceptor){(interceptor.request||interceptor.requestError)&&requestInterceptors.unshift(interceptor.request,interceptor.requestError);(interceptor.response||interceptor.responseError)&&responseInterceptors.push(interceptor.response,interceptor.responseError)});promise=chainInterceptors(promise,requestInterceptors);promise=promise.then(serverRequest);promise=chainInterceptors(promise,responseInterceptors);promise=promise.finally(completeOutstandingRequest);return promise;function chainInterceptors(promise,interceptors){for(var i=0,ii=interceptors.length;i<ii;){var thenFn=interceptors[i++];var rejectFn=interceptors[i++];promise=promise.then(thenFn,rejectFn)}interceptors.length=0;return promise}function completeOutstandingRequest(){$browser.$$completeOutstandingRequest(noop)}function executeHeaderFns(headers,config){var headerContent,processedHeaders={};forEach(headers,function(headerFn,header){if(isFunction(headerFn)){headerContent=headerFn(config);null!=headerContent&&(processedHeaders[header]=headerContent)}else processedHeaders[header]=headerFn});return processedHeaders}function mergeHeaders(config){var defHeaderName,lowercaseDefHeaderName,reqHeaderName,defHeaders=defaults.headers,reqHeaders=extend({},config.headers);defHeaders=extend({},defHeaders.common,defHeaders[lowercase(config.method)]);defaultHeadersIteration:for(defHeaderName in defHeaders){lowercaseDefHeaderName=lowercase(defHeaderName);for(reqHeaderName in reqHeaders)if(lowercase(reqHeaderName)===lowercaseDefHeaderName)continue defaultHeadersIteration;reqHeaders[defHeaderName]=defHeaders[defHeaderName]}return executeHeaderFns(reqHeaders,shallowCopy(config))}function serverRequest(config){var headers=config.headers;var reqData=transformData(config.data,headersGetter(headers),void 0,config.transformRequest);isUndefined(reqData)&&forEach(headers,function(value,header){"content-type"===lowercase(header)&&delete headers[header]});isUndefined(config.withCredentials)&&!isUndefined(defaults.withCredentials)&&(config.withCredentials=defaults.withCredentials);return sendReq(config,reqData).then(transformResponse,transformResponse)}function transformResponse(response){var resp=extend({},response);resp.data=transformData(response.data,response.headers,response.status,config.transformResponse);return isSuccess(response.status)?resp:$q.reject(resp)}}$http.pendingRequests=[];createShortMethods("get","delete","head","jsonp");createShortMethodsWithData("post","put","patch");$http.defaults=defaults;return $http;function createShortMethods(names){forEach(arguments,function(name){$http[name]=function(url,config){return $http(extend({},config||{},{method:name,url:url}))}})}function createShortMethodsWithData(name){forEach(arguments,function(name){$http[name]=function(url,data,config){return $http(extend({},config||{},{method:name,url:url,data:data}))}})}function sendReq(config,reqData){var cache,cachedResp,deferred=$q.defer(),promise=deferred.promise,reqHeaders=config.headers,isJsonp="jsonp"===lowercase(config.method),url=config.url;isJsonp?url=$sce.getTrustedResourceUrl(url):isString(url)||(url=$sce.valueOf(url));url=buildUrl(url,config.paramSerializer(config.params));isJsonp&&(url=sanitizeJsonpCallbackParam(url,config.jsonpCallbackParam));$http.pendingRequests.push(config);promise.then(removePendingReq,removePendingReq);!config.cache&&!defaults.cache||false===config.cache||"GET"!==config.method&&"JSONP"!==config.method||(cache=isObject(config.cache)?config.cache:isObject(defaults.cache)?defaults.cache:defaultCache);if(cache){cachedResp=cache.get(url);isDefined(cachedResp)?isPromiseLike(cachedResp)?cachedResp.then(resolvePromiseWithResult,resolvePromiseWithResult):isArray(cachedResp)?resolvePromise(cachedResp[1],cachedResp[0],shallowCopy(cachedResp[2]),cachedResp[3],cachedResp[4]):resolvePromise(cachedResp,200,{},"OK","complete"):cache.put(url,promise)}if(isUndefined(cachedResp)){var xsrfValue=urlIsSameOrigin(config.url)?$$cookieReader()[config.xsrfCookieName||defaults.xsrfCookieName]:void 0;xsrfValue&&(reqHeaders[config.xsrfHeaderName||defaults.xsrfHeaderName]=xsrfValue);$httpBackend(config.method,url,reqData,done,reqHeaders,config.timeout,config.withCredentials,config.responseType,createApplyHandlers(config.eventHandlers),createApplyHandlers(config.uploadEventHandlers))}return promise;function createApplyHandlers(eventHandlers){if(eventHandlers){var applyHandlers={};forEach(eventHandlers,function(eventHandler,key){applyHandlers[key]=function(event){useApplyAsync?$rootScope.$applyAsync(callEventHandler):$rootScope.$$phase?callEventHandler():$rootScope.$apply(callEventHandler);function callEventHandler(){eventHandler(event)}}});return applyHandlers}}function done(status,response,headersString,statusText,xhrStatus){cache&&(isSuccess(status)?cache.put(url,[status,response,parseHeaders(headersString),statusText,xhrStatus]):cache.remove(url));function resolveHttpPromise(){resolvePromise(response,status,headersString,statusText,xhrStatus)}if(useApplyAsync)$rootScope.$applyAsync(resolveHttpPromise);else{resolveHttpPromise();$rootScope.$$phase||$rootScope.$apply()}}function resolvePromise(response,status,headers,statusText,xhrStatus){status=status>=-1?status:0;(isSuccess(status)?deferred.resolve:deferred.reject)({data:response,status:status,headers:headersGetter(headers),config:config,statusText:statusText,xhrStatus:xhrStatus})}function resolvePromiseWithResult(result){resolvePromise(result.data,result.status,shallowCopy(result.headers()),result.statusText,result.xhrStatus)}function removePendingReq(){var idx=$http.pendingRequests.indexOf(config);-1!==idx&&$http.pendingRequests.splice(idx,1)}}function buildUrl(url,serializedParams){serializedParams.length>0&&(url+=(-1===url.indexOf("?")?"?":"&")+serializedParams);return url}function sanitizeJsonpCallbackParam(url,cbKey){var parts=url.split("?");if(parts.length>2)throw $httpMinErr("badjsonp",'Illegal use more than one "?", in url, "{1}"',url);var params=parseKeyValue(parts[1]);forEach(params,function(value,key){if("JSON_CALLBACK"===value)throw $httpMinErr("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',url);if(key===cbKey)throw $httpMinErr("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',cbKey,url)});url+=(-1===url.indexOf("?")?"?":"&")+cbKey+"=JSON_CALLBACK";return url}}]}function $xhrFactoryProvider(){this.$get=function(){return function createXhr(){return new window.XMLHttpRequest}}}function $HttpBackendProvider(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function($browser,$jsonpCallbacks,$document,$xhrFactory){return createHttpBackend($browser,$xhrFactory,$browser.defer,$jsonpCallbacks,$document[0])}]}function createHttpBackend($browser,createXhr,$browserDefer,callbacks,rawDocument){return function(method,url,post,callback,headers,timeout,withCredentials,responseType,eventHandlers,uploadEventHandlers){url=url||$browser.url();if("jsonp"===lowercase(method)){var callbackPath=callbacks.createCallback(url);var jsonpDone=jsonpReq(url,callbackPath,function(status,text){var response=200===status&&callbacks.getResponse(callbackPath);completeRequest(callback,status,response,"",text,"complete");callbacks.removeCallback(callbackPath)})}else{var xhr=createXhr(method,url);xhr.open(method,url,true);forEach(headers,function(value,key){isDefined(value)&&xhr.setRequestHeader(key,value)});xhr.onload=function requestLoaded(){var statusText=xhr.statusText||"";var response="response"in xhr?xhr.response:xhr.responseText;var status=1223===xhr.status?204:xhr.status;0===status&&(status=response?200:"file"===urlResolve(url).protocol?404:0);completeRequest(callback,status,response,xhr.getAllResponseHeaders(),statusText,"complete")};var requestError=function(){completeRequest(callback,-1,null,null,"","error")};var requestAborted=function(){completeRequest(callback,-1,null,null,"","abort")};var requestTimeout=function(){completeRequest(callback,-1,null,null,"","timeout")};xhr.onerror=requestError;xhr.onabort=requestAborted;xhr.ontimeout=requestTimeout;forEach(eventHandlers,function(value,key){xhr.addEventListener(key,value)});forEach(uploadEventHandlers,function(value,key){xhr.upload.addEventListener(key,value)});withCredentials&&(xhr.withCredentials=true);if(responseType)try{xhr.responseType=responseType}catch(e){if("json"!==responseType)throw e}xhr.send(isUndefined(post)?null:post)}if(timeout>0)var timeoutId=$browserDefer(timeoutRequest,timeout);else isPromiseLike(timeout)&&timeout.then(timeoutRequest);function timeoutRequest(){jsonpDone&&jsonpDone();xhr&&xhr.abort()}function completeRequest(callback,status,response,headersString,statusText,xhrStatus){isDefined(timeoutId)&&$browserDefer.cancel(timeoutId);jsonpDone=xhr=null;callback(status,response,headersString,statusText,xhrStatus)}};function jsonpReq(url,callbackPath,done){url=url.replace("JSON_CALLBACK",callbackPath);var script=rawDocument.createElement("script"),callback=null;script.type="text/javascript";script.src=url;script.async=true;callback=function(event){script.removeEventListener("load",callback);script.removeEventListener("error",callback);rawDocument.body.removeChild(script);script=null;var status=-1;var text="unknown";if(event){"load"!==event.type||callbacks.wasCalled(callbackPath)||(event={type:"error"});text=event.type;status="error"===event.type?404:200}done&&done(status,text)};script.addEventListener("load",callback);script.addEventListener("error",callback);rawDocument.body.appendChild(script);return callback}}var $interpolateMinErr=angular.$interpolateMinErr=minErr("$interpolate");$interpolateMinErr.throwNoconcat=function(text){throw $interpolateMinErr("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required.  See http://docs.angularjs.org/api/ng.$sce",text)};$interpolateMinErr.interr=function(text,err){return $interpolateMinErr("interr","Can't interpolate: {0}\n{1}",text,err.toString())};function $InterpolateProvider(){var startSymbol="{{";var endSymbol="}}";this.startSymbol=function(value){if(value){startSymbol=value;return this}return startSymbol};this.endSymbol=function(value){if(value){endSymbol=value;return this}return endSymbol};this.$get=["$parse","$exceptionHandler","$sce",function($parse,$exceptionHandler,$sce){var startSymbolLength=startSymbol.length,endSymbolLength=endSymbol.length,escapedStartRegexp=new RegExp(startSymbol.replace(/./g,escape),"g"),escapedEndRegexp=new RegExp(endSymbol.replace(/./g,escape),"g");function escape(ch){return"\\\\\\"+ch}function unescapeText(text){return text.replace(escapedStartRegexp,startSymbol).replace(escapedEndRegexp,endSymbol)}function constantWatchDelegate(scope,listener,objectEquality,constantInterp){var unwatch=scope.$watch(function constantInterpolateWatch(scope){unwatch();return constantInterp(scope)},listener,objectEquality);return unwatch}function $interpolate(text,mustHaveExpression,trustedContext,allOrNothing){if(!text.length||-1===text.indexOf(startSymbol)){var constantInterp;if(!mustHaveExpression){var unescapedText=unescapeText(text);constantInterp=valueFn(unescapedText);constantInterp.exp=text;constantInterp.expressions=[];constantInterp.$$watchDelegate=constantWatchDelegate}return constantInterp}allOrNothing=!!allOrNothing;var startIndex,endIndex,exp,index=0,expressions=[],parseFns=[],textLength=text.length,concat=[],expressionPositions=[];while(index<textLength){if(-1===(startIndex=text.indexOf(startSymbol,index))||-1===(endIndex=text.indexOf(endSymbol,startIndex+startSymbolLength))){index!==textLength&&concat.push(unescapeText(text.substring(index)));break}index!==startIndex&&concat.push(unescapeText(text.substring(index,startIndex)));exp=text.substring(startIndex+startSymbolLength,endIndex);expressions.push(exp);parseFns.push($parse(exp,parseStringifyInterceptor));index=endIndex+endSymbolLength;expressionPositions.push(concat.length);concat.push("")}trustedContext&&concat.length>1&&$interpolateMinErr.throwNoconcat(text);if(!mustHaveExpression||expressions.length){var compute=function(values){for(var i=0,ii=expressions.length;i<ii;i++){if(allOrNothing&&isUndefined(values[i]))return;concat[expressionPositions[i]]=values[i]}return concat.join("")};var getValue=function(value){return trustedContext?$sce.getTrusted(trustedContext,value):$sce.valueOf(value)};return extend(function interpolationFn(context){var i=0;var ii=expressions.length;var values=new Array(ii);try{for(;i<ii;i++)values[i]=parseFns[i](context);return compute(values)}catch(err){$exceptionHandler($interpolateMinErr.interr(text,err))}},{exp:text,expressions:expressions,$$watchDelegate:function(scope,listener){var lastValue;return scope.$watchGroup(parseFns,function interpolateFnWatcher(values,oldValues){var currValue=compute(values);listener.call(this,currValue,values!==oldValues?lastValue:currValue,scope);lastValue=currValue})}})}function parseStringifyInterceptor(value){try{value=getValue(value);return allOrNothing&&!isDefined(value)?value:stringify(value)}catch(err){$exceptionHandler($interpolateMinErr.interr(text,err))}}}$interpolate.startSymbol=function(){return startSymbol};$interpolate.endSymbol=function(){return endSymbol};return $interpolate}]}function $IntervalProvider(){this.$get=["$rootScope","$window","$q","$$q","$browser",function($rootScope,$window,$q,$$q,$browser){var intervals={};function interval(fn,delay,count,invokeApply){var hasParams=arguments.length>4,args=hasParams?sliceArgs(arguments,4):[],setInterval=$window.setInterval,clearInterval=$window.clearInterval,iteration=0,skipApply=isDefined(invokeApply)&&!invokeApply,deferred=(skipApply?$$q:$q).defer(),promise=deferred.promise;count=isDefined(count)?count:0;promise.$$intervalId=setInterval(function tick(){skipApply?$browser.defer(callback):$rootScope.$evalAsync(callback);deferred.notify(iteration++);if(count>0&&iteration>=count){deferred.resolve(iteration);clearInterval(promise.$$intervalId);delete intervals[promise.$$intervalId]}skipApply||$rootScope.$apply()},delay);intervals[promise.$$intervalId]=deferred;return promise;function callback(){hasParams?fn.apply(null,args):fn(iteration)}}interval.cancel=function(promise){if(promise&&promise.$$intervalId in intervals){markQExceptionHandled(intervals[promise.$$intervalId].promise);intervals[promise.$$intervalId].reject("canceled");$window.clearInterval(promise.$$intervalId);delete intervals[promise.$$intervalId];return true}return false};return interval}]}var $jsonpCallbacksProvider=function(){this.$get=function(){var callbacks=angular.callbacks;var callbackMap={};function createCallback(callbackId){var callback=function(data){callback.data=data;callback.called=true};callback.id=callbackId;return callback}return{createCallback:function(url){var callbackId="_"+(callbacks.$$counter++).toString(36);var callbackPath="angular.callbacks."+callbackId;var callback=createCallback(callbackId);callbackMap[callbackPath]=callbacks[callbackId]=callback;return callbackPath},wasCalled:function(callbackPath){return callbackMap[callbackPath].called},getResponse:function(callbackPath){return callbackMap[callbackPath].data},removeCallback:function(callbackPath){var callback=callbackMap[callbackPath];delete callbacks[callback.id];delete callbackMap[callbackPath]}}}};var PATH_MATCH=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,DEFAULT_PORTS={http:80,https:443,ftp:21};var $locationMinErr=minErr("$location");function encodePath(path){var segments=path.split("/"),i=segments.length;while(i--)segments[i]=encodeUriSegment(segments[i].replace(/%2F/g,"/"));return segments.join("/")}function decodePath(path,html5Mode){var segments=path.split("/"),i=segments.length;while(i--){segments[i]=decodeURIComponent(segments[i]);html5Mode&&(segments[i]=segments[i].replace(/\//g,"%2F"))}return segments.join("/")}function parseAbsoluteUrl(absoluteUrl,locationObj){var parsedUrl=urlResolve(absoluteUrl);locationObj.$$protocol=parsedUrl.protocol;locationObj.$$host=parsedUrl.hostname;locationObj.$$port=toInt(parsedUrl.port)||DEFAULT_PORTS[parsedUrl.protocol]||null}var DOUBLE_SLASH_REGEX=/^\s*[\\\/]{2,}/;function parseAppUrl(url,locationObj,html5Mode){if(DOUBLE_SLASH_REGEX.test(url))throw $locationMinErr("badpath",'Invalid url "{0}".',url);var prefixed="/"!==url.charAt(0);prefixed&&(url="/"+url);var match=urlResolve(url);var path=prefixed&&"/"===match.pathname.charAt(0)?match.pathname.substring(1):match.pathname;locationObj.$$path=decodePath(path,html5Mode);locationObj.$$search=parseKeyValue(match.search);locationObj.$$hash=decodeURIComponent(match.hash);locationObj.$$path&&"/"!==locationObj.$$path.charAt(0)&&(locationObj.$$path="/"+locationObj.$$path)}function startsWith(str,search){return str.slice(0,search.length)===search}function stripBaseUrl(base,url){if(startsWith(url,base))return url.substr(base.length)}function stripHash(url){var index=url.indexOf("#");return-1===index?url:url.substr(0,index)}function trimEmptyHash(url){return url.replace(/(#.+)|#$/,"$1")}function stripFile(url){return url.substr(0,stripHash(url).lastIndexOf("/")+1)}function serverBase(url){return url.substring(0,url.indexOf("/",url.indexOf("//")+2))}function LocationHtml5Url(appBase,appBaseNoFile,basePrefix){this.$$html5=true;basePrefix=basePrefix||"";parseAbsoluteUrl(appBase,this);this.$$parse=function(url){var pathUrl=stripBaseUrl(appBaseNoFile,url);if(!isString(pathUrl))throw $locationMinErr("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',url,appBaseNoFile);parseAppUrl(pathUrl,this,true);this.$$path||(this.$$path="/");this.$$compose()};this.$$compose=function(){var search=toKeyValue(this.$$search),hash=this.$$hash?"#"+encodeUriSegment(this.$$hash):"";this.$$url=encodePath(this.$$path)+(search?"?"+search:"")+hash;this.$$absUrl=appBaseNoFile+this.$$url.substr(1);this.$$urlUpdatedByLocation=true};this.$$parseLinkUrl=function(url,relHref){if(relHref&&"#"===relHref[0]){this.hash(relHref.slice(1));return true}var appUrl,prevAppUrl;var rewrittenUrl;if(isDefined(appUrl=stripBaseUrl(appBase,url))){prevAppUrl=appUrl;rewrittenUrl=basePrefix&&isDefined(appUrl=stripBaseUrl(basePrefix,appUrl))?appBaseNoFile+(stripBaseUrl("/",appUrl)||appUrl):appBase+prevAppUrl}else isDefined(appUrl=stripBaseUrl(appBaseNoFile,url))?rewrittenUrl=appBaseNoFile+appUrl:appBaseNoFile===url+"/"&&(rewrittenUrl=appBaseNoFile);rewrittenUrl&&this.$$parse(rewrittenUrl);return!!rewrittenUrl}}function LocationHashbangUrl(appBase,appBaseNoFile,hashPrefix){parseAbsoluteUrl(appBase,this);this.$$parse=function(url){var withoutBaseUrl=stripBaseUrl(appBase,url)||stripBaseUrl(appBaseNoFile,url);var withoutHashUrl;if(isUndefined(withoutBaseUrl)||"#"!==withoutBaseUrl.charAt(0))if(this.$$html5)withoutHashUrl=withoutBaseUrl;else{withoutHashUrl="";if(isUndefined(withoutBaseUrl)){appBase=url;this.replace()}}else{withoutHashUrl=stripBaseUrl(hashPrefix,withoutBaseUrl);isUndefined(withoutHashUrl)&&(withoutHashUrl=withoutBaseUrl)}parseAppUrl(withoutHashUrl,this,false);this.$$path=removeWindowsDriveName(this.$$path,withoutHashUrl,appBase);this.$$compose();function removeWindowsDriveName(path,url,base){var windowsFilePathExp=/^\/[A-Z]:(\/.*)/;var firstPathSegmentMatch;startsWith(url,base)&&(url=url.replace(base,""));if(windowsFilePathExp.exec(url))return path;firstPathSegmentMatch=windowsFilePathExp.exec(path);return firstPathSegmentMatch?firstPathSegmentMatch[1]:path}};this.$$compose=function(){var search=toKeyValue(this.$$search),hash=this.$$hash?"#"+encodeUriSegment(this.$$hash):"";this.$$url=encodePath(this.$$path)+(search?"?"+search:"")+hash;this.$$absUrl=appBase+(this.$$url?hashPrefix+this.$$url:"");this.$$urlUpdatedByLocation=true};this.$$parseLinkUrl=function(url,relHref){if(stripHash(appBase)===stripHash(url)){this.$$parse(url);return true}return false}}function LocationHashbangInHtml5Url(appBase,appBaseNoFile,hashPrefix){this.$$html5=true;LocationHashbangUrl.apply(this,arguments);this.$$parseLinkUrl=function(url,relHref){if(relHref&&"#"===relHref[0]){this.hash(relHref.slice(1));return true}var rewrittenUrl;var appUrl;appBase===stripHash(url)?rewrittenUrl=url:(appUrl=stripBaseUrl(appBaseNoFile,url))?rewrittenUrl=appBase+hashPrefix+appUrl:appBaseNoFile===url+"/"&&(rewrittenUrl=appBaseNoFile);rewrittenUrl&&this.$$parse(rewrittenUrl);return!!rewrittenUrl};this.$$compose=function(){var search=toKeyValue(this.$$search),hash=this.$$hash?"#"+encodeUriSegment(this.$$hash):"";this.$$url=encodePath(this.$$path)+(search?"?"+search:"")+hash;this.$$absUrl=appBase+hashPrefix+this.$$url;this.$$urlUpdatedByLocation=true}}var locationPrototype={$$absUrl:"",$$html5:false,$$replace:false,absUrl:locationGetter("$$absUrl"),url:function(url){if(isUndefined(url))return this.$$url;var match=PATH_MATCH.exec(url);(match[1]||""===url)&&this.path(decodeURIComponent(match[1]));(match[2]||match[1]||""===url)&&this.search(match[3]||"");this.hash(match[5]||"");return this},protocol:locationGetter("$$protocol"),host:locationGetter("$$host"),port:locationGetter("$$port"),path:locationGetterSetter("$$path",function(path){path=null!==path?path.toString():"";return"/"===path.charAt(0)?path:"/"+path}),search:function(search,paramValue){switch(arguments.length){case 0:return this.$$search;case 1:if(isString(search)||isNumber(search)){search=search.toString();this.$$search=parseKeyValue(search)}else{if(!isObject(search))throw $locationMinErr("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");search=copy(search,{});forEach(search,function(value,key){null==value&&delete search[key]});this.$$search=search}break;default:isUndefined(paramValue)||null===paramValue?delete this.$$search[search]:this.$$search[search]=paramValue}this.$$compose();return this},hash:locationGetterSetter("$$hash",function(hash){return null!==hash?hash.toString():""}),replace:function(){this.$$replace=true;return this}};forEach([LocationHashbangInHtml5Url,LocationHashbangUrl,LocationHtml5Url],function(Location){Location.prototype=Object.create(locationPrototype);Location.prototype.state=function(state){if(!arguments.length)return this.$$state;if(Location!==LocationHtml5Url||!this.$$html5)throw $locationMinErr("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");this.$$state=isUndefined(state)?null:state;this.$$urlUpdatedByLocation=true;return this}});function locationGetter(property){return function(){return this[property]}}function locationGetterSetter(property,preprocess){return function(value){if(isUndefined(value))return this[property];this[property]=preprocess(value);this.$$compose();return this}}function $LocationProvider(){var hashPrefix="!",html5Mode={enabled:false,requireBase:true,rewriteLinks:true};this.hashPrefix=function(prefix){if(isDefined(prefix)){hashPrefix=prefix;return this}return hashPrefix};this.html5Mode=function(mode){if(isBoolean(mode)){html5Mode.enabled=mode;return this}if(isObject(mode)){isBoolean(mode.enabled)&&(html5Mode.enabled=mode.enabled);isBoolean(mode.requireBase)&&(html5Mode.requireBase=mode.requireBase);(isBoolean(mode.rewriteLinks)||isString(mode.rewriteLinks))&&(html5Mode.rewriteLinks=mode.rewriteLinks);return this}return html5Mode};this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function($rootScope,$browser,$sniffer,$rootElement,$window){var $location,LocationMode,appBase,baseHref=$browser.baseHref(),initialUrl=$browser.url();if(html5Mode.enabled){if(!baseHref&&html5Mode.requireBase)throw $locationMinErr("nobase","$location in HTML5 mode requires a <base> tag to be present!");appBase=serverBase(initialUrl)+(baseHref||"/");LocationMode=$sniffer.history?LocationHtml5Url:LocationHashbangInHtml5Url}else{appBase=stripHash(initialUrl);LocationMode=LocationHashbangUrl}var appBaseNoFile=stripFile(appBase);$location=new LocationMode(appBase,appBaseNoFile,"#"+hashPrefix);$location.$$parseLinkUrl(initialUrl,initialUrl);$location.$$state=$browser.state();var IGNORE_URI_REGEXP=/^\s*(javascript|mailto):/i;function setBrowserUrlWithFallback(url,replace,state){var oldUrl=$location.url();var oldState=$location.$$state;try{$browser.url(url,replace,state);$location.$$state=$browser.state()}catch(e){$location.url(oldUrl);$location.$$state=oldState;throw e}}$rootElement.on("click",function(event){var rewriteLinks=html5Mode.rewriteLinks;if(!rewriteLinks||event.ctrlKey||event.metaKey||event.shiftKey||2===event.which||2===event.button)return;var elm=jqLite(event.target);while("a"!==nodeName_(elm[0]))if(elm[0]===$rootElement[0]||!(elm=elm.parent())[0])return;if(isString(rewriteLinks)&&isUndefined(elm.attr(rewriteLinks)))return;var absHref=elm.prop("href");var relHref=elm.attr("href")||elm.attr("xlink:href");isObject(absHref)&&"[object SVGAnimatedString]"===absHref.toString()&&(absHref=urlResolve(absHref.animVal).href);if(IGNORE_URI_REGEXP.test(absHref))return;if(absHref&&!elm.attr("target")&&!event.isDefaultPrevented()&&$location.$$parseLinkUrl(absHref,relHref)){event.preventDefault();if($location.absUrl()!==$browser.url()){$rootScope.$apply();$window.angular["ff-684208-preventDefault"]=true}}});trimEmptyHash($location.absUrl())!==trimEmptyHash(initialUrl)&&$browser.url($location.absUrl(),true);var initializing=true;$browser.onUrlChange(function(newUrl,newState){if(!startsWith(newUrl,appBaseNoFile)){$window.location.href=newUrl;return}$rootScope.$evalAsync(function(){var oldUrl=$location.absUrl();var oldState=$location.$$state;var defaultPrevented;newUrl=trimEmptyHash(newUrl);$location.$$parse(newUrl);$location.$$state=newState;defaultPrevented=$rootScope.$broadcast("$locationChangeStart",newUrl,oldUrl,newState,oldState).defaultPrevented;if($location.absUrl()!==newUrl)return;if(defaultPrevented){$location.$$parse(oldUrl);$location.$$state=oldState;setBrowserUrlWithFallback(oldUrl,false,oldState)}else{initializing=false;afterLocationChange(oldUrl,oldState)}});$rootScope.$$phase||$rootScope.$digest()});$rootScope.$watch(function $locationWatch(){if(initializing||$location.$$urlUpdatedByLocation){$location.$$urlUpdatedByLocation=false;var oldUrl=trimEmptyHash($browser.url());var newUrl=trimEmptyHash($location.absUrl());var oldState=$browser.state();var currentReplace=$location.$$replace;var urlOrStateChanged=oldUrl!==newUrl||$location.$$html5&&$sniffer.history&&oldState!==$location.$$state;if(initializing||urlOrStateChanged){initializing=false;$rootScope.$evalAsync(function(){var newUrl=$location.absUrl();var defaultPrevented=$rootScope.$broadcast("$locationChangeStart",newUrl,oldUrl,$location.$$state,oldState).defaultPrevented;if($location.absUrl()!==newUrl)return;if(defaultPrevented){$location.$$parse(oldUrl);$location.$$state=oldState}else{urlOrStateChanged&&setBrowserUrlWithFallback(newUrl,currentReplace,oldState===$location.$$state?null:$location.$$state);afterLocationChange(oldUrl,oldState)}})}}$location.$$replace=false});return $location;function afterLocationChange(oldUrl,oldState){$rootScope.$broadcast("$locationChangeSuccess",$location.absUrl(),oldUrl,$location.$$state,oldState)}}]}function $LogProvider(){var debug=true,self=this;this.debugEnabled=function(flag){if(isDefined(flag)){debug=flag;return this}return debug};this.$get=["$window",function($window){var formatStackTrace=msie||/\bEdge\//.test($window.navigator&&$window.navigator.userAgent);return{log:consoleLog("log"),info:consoleLog("info"),warn:consoleLog("warn"),error:consoleLog("error"),debug:(fn=consoleLog("debug"),function(){debug&&fn.apply(self,arguments)})};var fn;function formatError(arg){isError(arg)&&(arg.stack&&formatStackTrace?arg=arg.message&&-1===arg.stack.indexOf(arg.message)?"Error: "+arg.message+"\n"+arg.stack:arg.stack:arg.sourceURL&&(arg=arg.message+"\n"+arg.sourceURL+":"+arg.line));return arg}function consoleLog(type){var console=$window.console||{},logFn=console[type]||console.log||noop;return function(){var args=[];forEach(arguments,function(arg){args.push(formatError(arg))});return Function.prototype.apply.call(logFn,console,args)}}}]}var $parseMinErr=minErr("$parse");var objectValueOf={}.constructor.prototype.valueOf;function getStringValue(name){return name+""}var OPERATORS=createMap();forEach("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(operator){OPERATORS[operator]=true});var ESCAPE={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'};var Lexer=function Lexer(options){this.options=options};Lexer.prototype={constructor:Lexer,lex:function(text){this.text=text;this.index=0;this.tokens=[];while(this.index<this.text.length){var ch=this.text.charAt(this.index);if('"'===ch||"'"===ch)this.readString(ch);else if(this.isNumber(ch)||"."===ch&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(ch,"(){}[].,;:?")){this.tokens.push({index:this.index,text:ch});this.index++}else if(this.isWhitespace(ch))this.index++;else{var ch2=ch+this.peek();var ch3=ch2+this.peek(2);var op1=OPERATORS[ch];var op2=OPERATORS[ch2];var op3=OPERATORS[ch3];if(op1||op2||op3){var token=op3?ch3:op2?ch2:ch;this.tokens.push({index:this.index,text:token,operator:true});this.index+=token.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(ch,chars){return-1!==chars.indexOf(ch)},peek:function(i){var num=i||1;return this.index+num<this.text.length&&this.text.charAt(this.index+num)},isNumber:function(ch){return"0"<=ch&&ch<="9"&&"string"===typeof ch},isWhitespace:function(ch){return" "===ch||"\r"===ch||"\t"===ch||"\n"===ch||"\v"===ch||" "===ch},isIdentifierStart:function(ch){return this.options.isIdentifierStart?this.options.isIdentifierStart(ch,this.codePointAt(ch)):this.isValidIdentifierStart(ch)},isValidIdentifierStart:function(ch){return"a"<=ch&&ch<="z"||"A"<=ch&&ch<="Z"||"_"===ch||"$"===ch},isIdentifierContinue:function(ch){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(ch,this.codePointAt(ch)):this.isValidIdentifierContinue(ch)},isValidIdentifierContinue:function(ch,cp){return this.isValidIdentifierStart(ch,cp)||this.isNumber(ch)},codePointAt:function(ch){if(1===ch.length)return ch.charCodeAt(0);return(ch.charCodeAt(0)<<10)+ch.charCodeAt(1)-56613888},peekMultichar:function(){var ch=this.text.charAt(this.index);var peek=this.peek();if(!peek)return ch;var cp1=ch.charCodeAt(0);var cp2=peek.charCodeAt(0);if(cp1>=55296&&cp1<=56319&&cp2>=56320&&cp2<=57343)return ch+peek;return ch},isExpOperator:function(ch){return"-"===ch||"+"===ch||this.isNumber(ch)},throwError:function(error,start,end){end=end||this.index;var colStr=isDefined(start)?"s "+start+"-"+this.index+" ["+this.text.substring(start,end)+"]":" "+end;throw $parseMinErr("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",error,colStr,this.text)},readNumber:function(){var number="";var start=this.index;while(this.index<this.text.length){var ch=lowercase(this.text.charAt(this.index));if("."===ch||this.isNumber(ch))number+=ch;else{var peekCh=this.peek();if("e"===ch&&this.isExpOperator(peekCh))number+=ch;else if(this.isExpOperator(ch)&&peekCh&&this.isNumber(peekCh)&&"e"===number.charAt(number.length-1))number+=ch;else{if(!this.isExpOperator(ch)||peekCh&&this.isNumber(peekCh)||"e"!==number.charAt(number.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:start,text:number,constant:true,value:Number(number)})},readIdent:function(){var start=this.index;this.index+=this.peekMultichar().length;while(this.index<this.text.length){var ch=this.peekMultichar();if(!this.isIdentifierContinue(ch))break;this.index+=ch.length}this.tokens.push({index:start,text:this.text.slice(start,this.index),identifier:true})},readString:function(quote){var start=this.index;this.index++;var string="";var rawString=quote;var escape=false;while(this.index<this.text.length){var ch=this.text.charAt(this.index);rawString+=ch;if(escape){if("u"===ch){var hex=this.text.substring(this.index+1,this.index+5);hex.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+hex+"]");this.index+=4;string+=String.fromCharCode(parseInt(hex,16))}else{var rep=ESCAPE[ch];string+=rep||ch}escape=false}else if("\\"===ch)escape=true;else{if(ch===quote){this.index++;this.tokens.push({index:start,text:rawString,constant:true,value:string});return}string+=ch}this.index++}this.throwError("Unterminated quote",start)}};var AST=function AST(lexer,options){this.lexer=lexer;this.options=options};AST.Program="Program";AST.ExpressionStatement="ExpressionStatement";AST.AssignmentExpression="AssignmentExpression";AST.ConditionalExpression="ConditionalExpression";AST.LogicalExpression="LogicalExpression";AST.BinaryExpression="BinaryExpression";AST.UnaryExpression="UnaryExpression";AST.CallExpression="CallExpression";AST.MemberExpression="MemberExpression";AST.Identifier="Identifier";AST.Literal="Literal";AST.ArrayExpression="ArrayExpression";AST.Property="Property";AST.ObjectExpression="ObjectExpression";AST.ThisExpression="ThisExpression";AST.LocalsExpression="LocalsExpression";AST.NGValueParameter="NGValueParameter";AST.prototype={ast:function(text){this.text=text;this.tokens=this.lexer.lex(text);var value=this.program();0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]);return value},program:function(){var body=[];while(true){this.tokens.length>0&&!this.peek("}",")",";","]")&&body.push(this.expressionStatement());if(!this.expect(";"))return{type:AST.Program,body:body}}},expressionStatement:function(){return{type:AST.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){var left=this.expression();while(this.expect("|"))left=this.filter(left);return left},expression:function(){return this.assignment()},assignment:function(){var result=this.ternary();if(this.expect("=")){if(!isAssignable(result))throw $parseMinErr("lval","Trying to assign a value to a non l-value");result={type:AST.AssignmentExpression,left:result,right:this.assignment(),operator:"="}}return result},ternary:function(){var test=this.logicalOR();var alternate;var consequent;if(this.expect("?")){alternate=this.expression();if(this.consume(":")){consequent=this.expression();return{type:AST.ConditionalExpression,test:test,alternate:alternate,consequent:consequent}}}return test},logicalOR:function(){var left=this.logicalAND();while(this.expect("||"))left={type:AST.LogicalExpression,operator:"||",left:left,right:this.logicalAND()};return left},logicalAND:function(){var left=this.equality();while(this.expect("&&"))left={type:AST.LogicalExpression,operator:"&&",left:left,right:this.equality()};return left},equality:function(){var left=this.relational();var token;while(token=this.expect("==","!=","===","!=="))left={type:AST.BinaryExpression,operator:token.text,left:left,right:this.relational()};return left},relational:function(){var left=this.additive();var token;while(token=this.expect("<",">","<=",">="))left={type:AST.BinaryExpression,operator:token.text,left:left,right:this.additive()};return left},additive:function(){var left=this.multiplicative();var token;while(token=this.expect("+","-"))left={type:AST.BinaryExpression,operator:token.text,left:left,right:this.multiplicative()};return left},multiplicative:function(){var left=this.unary();var token;while(token=this.expect("*","/","%"))left={type:AST.BinaryExpression,operator:token.text,left:left,right:this.unary()};return left},unary:function(){var token;return(token=this.expect("+","-","!"))?{type:AST.UnaryExpression,operator:token.text,prefix:true,argument:this.unary()}:this.primary()},primary:function(){var primary;if(this.expect("(")){primary=this.filterChain();this.consume(")")}else this.expect("[")?primary=this.arrayDeclaration():this.expect("{")?primary=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?primary=copy(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?primary={type:AST.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?primary=this.identifier():this.peek().constant?primary=this.constant():this.throwError("not a primary expression",this.peek());var next;while(next=this.expect("(","[","."))if("("===next.text){primary={type:AST.CallExpression,callee:primary,arguments:this.parseArguments()};this.consume(")")}else if("["===next.text){primary={type:AST.MemberExpression,object:primary,property:this.expression(),computed:true};this.consume("]")}else"."===next.text?primary={type:AST.MemberExpression,object:primary,property:this.identifier(),computed:false}:this.throwError("IMPOSSIBLE");return primary},filter:function(baseExpression){var args=[baseExpression];var result={type:AST.CallExpression,callee:this.identifier(),arguments:args,filter:true};while(this.expect(":"))args.push(this.expression());return result},parseArguments:function(){var args=[];if(")"!==this.peekToken().text)do{args.push(this.filterChain())}while(this.expect(","));return args},identifier:function(){var token=this.consume();token.identifier||this.throwError("is not a valid identifier",token);return{type:AST.Identifier,name:token.text}},constant:function(){return{type:AST.Literal,value:this.consume().value}},arrayDeclaration:function(){var elements=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;elements.push(this.expression())}while(this.expect(","));this.consume("]");return{type:AST.ArrayExpression,elements:elements}},object:function(){var property,properties=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;property={type:AST.Property,kind:"init"};if(this.peek().constant){property.key=this.constant();property.computed=false;this.consume(":");property.value=this.expression()}else if(this.peek().identifier){property.key=this.identifier();property.computed=false;if(this.peek(":")){this.consume(":");property.value=this.expression()}else property.value=property.key}else if(this.peek("[")){this.consume("[");property.key=this.expression();this.consume("]");property.computed=true;this.consume(":");property.value=this.expression()}else this.throwError("invalid key",this.peek());properties.push(property)}while(this.expect(","));this.consume("}");return{type:AST.ObjectExpression,properties:properties}},throwError:function(msg,token){throw $parseMinErr("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",token.text,msg,token.index+1,this.text,this.text.substring(token.index))},consume:function(e1){if(0===this.tokens.length)throw $parseMinErr("ueoe","Unexpected end of expression: {0}",this.text);var token=this.expect(e1);token||this.throwError("is unexpected, expecting ["+e1+"]",this.peek());return token},peekToken:function(){if(0===this.tokens.length)throw $parseMinErr("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e1,e2,e3,e4){return this.peekAhead(0,e1,e2,e3,e4)},peekAhead:function(i,e1,e2,e3,e4){if(this.tokens.length>i){var token=this.tokens[i];var t=token.text;if(t===e1||t===e2||t===e3||t===e4||!e1&&!e2&&!e3&&!e4)return token}return false},expect:function(e1,e2,e3,e4){var token=this.peek(e1,e2,e3,e4);if(token){this.tokens.shift();return token}return false},selfReferential:{this:{type:AST.ThisExpression},$locals:{type:AST.LocalsExpression}}};function ifDefined(v,d){return"undefined"!==typeof v?v:d}function plusFn(l,r){if("undefined"===typeof l)return r;if("undefined"===typeof r)return l;return l+r}function isStateless($filter,filterName){var fn=$filter(filterName);return!fn.$stateful}var PURITY_ABSOLUTE=1;var PURITY_RELATIVE=2;function isPure(node,parentIsPure){switch(node.type){case AST.MemberExpression:if(node.computed)return false;break;case AST.UnaryExpression:return PURITY_ABSOLUTE;case AST.BinaryExpression:return"+"!==node.operator&&PURITY_ABSOLUTE;case AST.CallExpression:return false}return void 0===parentIsPure?PURITY_RELATIVE:parentIsPure}function findConstantAndWatchExpressions(ast,$filter,parentIsPure){var allConstants;var argsToWatch;var isStatelessFilter;var astIsPure=ast.isPure=isPure(ast,parentIsPure);switch(ast.type){case AST.Program:allConstants=true;forEach(ast.body,function(expr){findConstantAndWatchExpressions(expr.expression,$filter,astIsPure);allConstants=allConstants&&expr.expression.constant});ast.constant=allConstants;break;case AST.Literal:ast.constant=true;ast.toWatch=[];break;case AST.UnaryExpression:findConstantAndWatchExpressions(ast.argument,$filter,astIsPure);ast.constant=ast.argument.constant;ast.toWatch=ast.argument.toWatch;break;case AST.BinaryExpression:findConstantAndWatchExpressions(ast.left,$filter,astIsPure);findConstantAndWatchExpressions(ast.right,$filter,astIsPure);ast.constant=ast.left.constant&&ast.right.constant;ast.toWatch=ast.left.toWatch.concat(ast.right.toWatch);break;case AST.LogicalExpression:findConstantAndWatchExpressions(ast.left,$filter,astIsPure);findConstantAndWatchExpressions(ast.right,$filter,astIsPure);ast.constant=ast.left.constant&&ast.right.constant;ast.toWatch=ast.constant?[]:[ast];break;case AST.ConditionalExpression:findConstantAndWatchExpressions(ast.test,$filter,astIsPure);findConstantAndWatchExpressions(ast.alternate,$filter,astIsPure);findConstantAndWatchExpressions(ast.consequent,$filter,astIsPure);ast.constant=ast.test.constant&&ast.alternate.constant&&ast.consequent.constant;ast.toWatch=ast.constant?[]:[ast];break;case AST.Identifier:ast.constant=false;ast.toWatch=[ast];break;case AST.MemberExpression:findConstantAndWatchExpressions(ast.object,$filter,astIsPure);ast.computed&&findConstantAndWatchExpressions(ast.property,$filter,astIsPure);ast.constant=ast.object.constant&&(!ast.computed||ast.property.constant);ast.toWatch=ast.constant?[]:[ast];break;case AST.CallExpression:isStatelessFilter=!!ast.filter&&isStateless($filter,ast.callee.name);allConstants=isStatelessFilter;argsToWatch=[];forEach(ast.arguments,function(expr){findConstantAndWatchExpressions(expr,$filter,astIsPure);allConstants=allConstants&&expr.constant;argsToWatch.push.apply(argsToWatch,expr.toWatch)});ast.constant=allConstants;ast.toWatch=isStatelessFilter?argsToWatch:[ast];break;case AST.AssignmentExpression:findConstantAndWatchExpressions(ast.left,$filter,astIsPure);findConstantAndWatchExpressions(ast.right,$filter,astIsPure);ast.constant=ast.left.constant&&ast.right.constant;ast.toWatch=[ast];break;case AST.ArrayExpression:allConstants=true;argsToWatch=[];forEach(ast.elements,function(expr){findConstantAndWatchExpressions(expr,$filter,astIsPure);allConstants=allConstants&&expr.constant;argsToWatch.push.apply(argsToWatch,expr.toWatch)});ast.constant=allConstants;ast.toWatch=argsToWatch;break;case AST.ObjectExpression:allConstants=true;argsToWatch=[];forEach(ast.properties,function(property){findConstantAndWatchExpressions(property.value,$filter,astIsPure);allConstants=allConstants&&property.value.constant;argsToWatch.push.apply(argsToWatch,property.value.toWatch);if(property.computed){findConstantAndWatchExpressions(property.key,$filter,false);allConstants=allConstants&&property.key.constant;argsToWatch.push.apply(argsToWatch,property.key.toWatch)}});ast.constant=allConstants;ast.toWatch=argsToWatch;break;case AST.ThisExpression:case AST.LocalsExpression:ast.constant=false;ast.toWatch=[]}}function getInputs(body){if(1!==body.length)return;var lastExpression=body[0].expression;var candidate=lastExpression.toWatch;if(1!==candidate.length)return candidate;return candidate[0]!==lastExpression?candidate:void 0}function isAssignable(ast){return ast.type===AST.Identifier||ast.type===AST.MemberExpression}function assignableAST(ast){if(1===ast.body.length&&isAssignable(ast.body[0].expression))return{type:AST.AssignmentExpression,left:ast.body[0].expression,right:{type:AST.NGValueParameter},operator:"="}}function isLiteral(ast){return 0===ast.body.length||1===ast.body.length&&(ast.body[0].expression.type===AST.Literal||ast.body[0].expression.type===AST.ArrayExpression||ast.body[0].expression.type===AST.ObjectExpression)}function isConstant(ast){return ast.constant}function ASTCompiler($filter){this.$filter=$filter}ASTCompiler.prototype={compile:function(ast){var self=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]};findConstantAndWatchExpressions(ast,self.$filter);var extra="";var assignable;this.stage="assign";if(assignable=assignableAST(ast)){this.state.computing="assign";var result=this.nextId();this.recurse(assignable,result);this.return_(result);extra="fn.assign="+this.generateFunction("assign","s,v,l")}var toWatch=getInputs(ast.body);self.stage="inputs";forEach(toWatch,function(watch,key){var fnKey="fn"+key;self.state[fnKey]={vars:[],body:[],own:{}};self.state.computing=fnKey;var intoId=self.nextId();self.recurse(watch,intoId);self.return_(intoId);self.state.inputs.push({name:fnKey,isPure:watch.isPure});watch.watchId=key});this.state.computing="fn";this.stage="main";this.recurse(ast);var fnString='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+extra+this.watchFns()+"return fn;";var fn=new Function("$filter","getStringValue","ifDefined","plus",fnString)(this.$filter,getStringValue,ifDefined,plusFn);this.state=this.stage=void 0;return fn},USE:"use",STRICT:"strict",watchFns:function(){var result=[];var inputs=this.state.inputs;var self=this;forEach(inputs,function(input){result.push("var "+input.name+"="+self.generateFunction(input.name,"s"));input.isPure&&result.push(input.name,".isPure="+JSON.stringify(input.isPure)+";")});inputs.length&&result.push("fn.inputs=["+inputs.map(function(i){return i.name}).join(",")+"];");return result.join("")},generateFunction:function(name,params){return"function("+params+"){"+this.varsPrefix(name)+this.body(name)+"};"},filterPrefix:function(){var parts=[];var self=this;forEach(this.state.filters,function(id,filter){parts.push(id+"=$filter("+self.escape(filter)+")")});if(parts.length)return"var "+parts.join(",")+";";return""},varsPrefix:function(section){return this.state[section].vars.length?"var "+this.state[section].vars.join(",")+";":""},body:function(section){return this.state[section].body.join("")},recurse:function(ast,intoId,nameId,recursionFn,create,skipWatchIdCheck){var left,right,args,expression,computed,self=this;recursionFn=recursionFn||noop;if(!skipWatchIdCheck&&isDefined(ast.watchId)){intoId=intoId||this.nextId();this.if_("i",this.lazyAssign(intoId,this.computedMember("i",ast.watchId)),this.lazyRecurse(ast,intoId,nameId,recursionFn,create,true));return}switch(ast.type){case AST.Program:forEach(ast.body,function(expression,pos){self.recurse(expression.expression,void 0,void 0,function(expr){right=expr});pos!==ast.body.length-1?self.current().body.push(right,";"):self.return_(right)});break;case AST.Literal:expression=this.escape(ast.value);this.assign(intoId,expression);recursionFn(intoId||expression);break;case AST.UnaryExpression:this.recurse(ast.argument,void 0,void 0,function(expr){right=expr});expression=ast.operator+"("+this.ifDefined(right,0)+")";this.assign(intoId,expression);recursionFn(expression);break;case AST.BinaryExpression:this.recurse(ast.left,void 0,void 0,function(expr){left=expr});this.recurse(ast.right,void 0,void 0,function(expr){right=expr});expression="+"===ast.operator?this.plus(left,right):"-"===ast.operator?this.ifDefined(left,0)+ast.operator+this.ifDefined(right,0):"("+left+")"+ast.operator+"("+right+")";this.assign(intoId,expression);recursionFn(expression);break;case AST.LogicalExpression:intoId=intoId||this.nextId();self.recurse(ast.left,intoId);self.if_("&&"===ast.operator?intoId:self.not(intoId),self.lazyRecurse(ast.right,intoId));recursionFn(intoId);break;case AST.ConditionalExpression:intoId=intoId||this.nextId();self.recurse(ast.test,intoId);self.if_(intoId,self.lazyRecurse(ast.alternate,intoId),self.lazyRecurse(ast.consequent,intoId));recursionFn(intoId);break;case AST.Identifier:intoId=intoId||this.nextId();if(nameId){nameId.context="inputs"===self.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",ast.name)+"?l:s");nameId.computed=false;nameId.name=ast.name}self.if_("inputs"===self.stage||self.not(self.getHasOwnProperty("l",ast.name)),function(){self.if_("inputs"===self.stage||"s",function(){create&&1!==create&&self.if_(self.isNull(self.nonComputedMember("s",ast.name)),self.lazyAssign(self.nonComputedMember("s",ast.name),"{}"));self.assign(intoId,self.nonComputedMember("s",ast.name))})},intoId&&self.lazyAssign(intoId,self.nonComputedMember("l",ast.name)));recursionFn(intoId);break;case AST.MemberExpression:left=nameId&&(nameId.context=this.nextId())||this.nextId();intoId=intoId||this.nextId();self.recurse(ast.object,left,void 0,function(){self.if_(self.notNull(left),function(){if(ast.computed){right=self.nextId();self.recurse(ast.property,right);self.getStringValue(right);create&&1!==create&&self.if_(self.not(self.computedMember(left,right)),self.lazyAssign(self.computedMember(left,right),"{}"));expression=self.computedMember(left,right);self.assign(intoId,expression);if(nameId){nameId.computed=true;nameId.name=right}}else{create&&1!==create&&self.if_(self.isNull(self.nonComputedMember(left,ast.property.name)),self.lazyAssign(self.nonComputedMember(left,ast.property.name),"{}"));expression=self.nonComputedMember(left,ast.property.name);self.assign(intoId,expression);if(nameId){nameId.computed=false;nameId.name=ast.property.name}}},function(){self.assign(intoId,"undefined")});recursionFn(intoId)},!!create);break;case AST.CallExpression:intoId=intoId||this.nextId();if(ast.filter){right=self.filter(ast.callee.name);args=[];forEach(ast.arguments,function(expr){var argument=self.nextId();self.recurse(expr,argument);args.push(argument)});expression=right+"("+args.join(",")+")";self.assign(intoId,expression);recursionFn(intoId)}else{right=self.nextId();left={};args=[];self.recurse(ast.callee,right,left,function(){self.if_(self.notNull(right),function(){forEach(ast.arguments,function(expr){self.recurse(expr,ast.constant?void 0:self.nextId(),void 0,function(argument){args.push(argument)})});expression=left.name?self.member(left.context,left.name,left.computed)+"("+args.join(",")+")":right+"("+args.join(",")+")";self.assign(intoId,expression)},function(){self.assign(intoId,"undefined")});recursionFn(intoId)})}break;case AST.AssignmentExpression:right=this.nextId();left={};this.recurse(ast.left,void 0,left,function(){self.if_(self.notNull(left.context),function(){self.recurse(ast.right,right);expression=self.member(left.context,left.name,left.computed)+ast.operator+right;self.assign(intoId,expression);recursionFn(intoId||expression)})},1);break;case AST.ArrayExpression:args=[];forEach(ast.elements,function(expr){self.recurse(expr,ast.constant?void 0:self.nextId(),void 0,function(argument){args.push(argument)})});expression="["+args.join(",")+"]";this.assign(intoId,expression);recursionFn(intoId||expression);break;case AST.ObjectExpression:args=[];computed=false;forEach(ast.properties,function(property){property.computed&&(computed=true)});if(computed){intoId=intoId||this.nextId();this.assign(intoId,"{}");forEach(ast.properties,function(property){if(property.computed){left=self.nextId();self.recurse(property.key,left)}else left=property.key.type===AST.Identifier?property.key.name:""+property.key.value;right=self.nextId();self.recurse(property.value,right);self.assign(self.member(intoId,left,property.computed),right)})}else{forEach(ast.properties,function(property){self.recurse(property.value,ast.constant?void 0:self.nextId(),void 0,function(expr){args.push(self.escape(property.key.type===AST.Identifier?property.key.name:""+property.key.value)+":"+expr)})});expression="{"+args.join(",")+"}";this.assign(intoId,expression)}recursionFn(intoId||expression);break;case AST.ThisExpression:this.assign(intoId,"s");recursionFn(intoId||"s");break;case AST.LocalsExpression:this.assign(intoId,"l");recursionFn(intoId||"l");break;case AST.NGValueParameter:this.assign(intoId,"v");recursionFn(intoId||"v")}},getHasOwnProperty:function(element,property){var key=element+"."+property;var own=this.current().own;own.hasOwnProperty(key)||(own[key]=this.nextId(false,element+"&&("+this.escape(property)+" in "+element+")"));return own[key]},assign:function(id,value){if(!id)return;this.current().body.push(id,"=",value,";");return id},filter:function(filterName){this.state.filters.hasOwnProperty(filterName)||(this.state.filters[filterName]=this.nextId(true));return this.state.filters[filterName]},ifDefined:function(id,defaultValue){return"ifDefined("+id+","+this.escape(defaultValue)+")"},plus:function(left,right){return"plus("+left+","+right+")"},return_:function(id){this.current().body.push("return ",id,";")},if_:function(test,alternate,consequent){if(true===test)alternate();else{var body=this.current().body;body.push("if(",test,"){");alternate();body.push("}");if(consequent){body.push("else{");consequent();body.push("}")}}},not:function(expression){return"!("+expression+")"},isNull:function(expression){return expression+"==null"},notNull:function(expression){return expression+"!=null"},nonComputedMember:function(left,right){var SAFE_IDENTIFIER=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/;var UNSAFE_CHARACTERS=/[^$_a-zA-Z0-9]/g;return SAFE_IDENTIFIER.test(right)?left+"."+right:left+'["'+right.replace(UNSAFE_CHARACTERS,this.stringEscapeFn)+'"]'},computedMember:function(left,right){return left+"["+right+"]"},member:function(left,right,computed){if(computed)return this.computedMember(left,right);return this.nonComputedMember(left,right)},getStringValue:function(item){this.assign(item,"getStringValue("+item+")")},lazyRecurse:function(ast,intoId,nameId,recursionFn,create,skipWatchIdCheck){var self=this;return function(){self.recurse(ast,intoId,nameId,recursionFn,create,skipWatchIdCheck)}},lazyAssign:function(id,value){var self=this;return function(){self.assign(id,value)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(c){return"\\u"+("0000"+c.charCodeAt(0).toString(16)).slice(-4)},escape:function(value){if(isString(value))return"'"+value.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(isNumber(value))return value.toString();if(true===value)return"true";if(false===value)return"false";if(null===value)return"null";if("undefined"===typeof value)return"undefined";throw $parseMinErr("esc","IMPOSSIBLE")},nextId:function(skip,init){var id="v"+this.state.nextId++;skip||this.current().vars.push(id+(init?"="+init:""));return id},current:function(){return this.state[this.state.computing]}};function ASTInterpreter($filter){this.$filter=$filter}ASTInterpreter.prototype={compile:function(ast){var self=this;findConstantAndWatchExpressions(ast,self.$filter);var assignable;var assign;(assignable=assignableAST(ast))&&(assign=this.recurse(assignable));var toWatch=getInputs(ast.body);var inputs;if(toWatch){inputs=[];forEach(toWatch,function(watch,key){var input=self.recurse(watch);input.isPure=watch.isPure;watch.input=input;inputs.push(input);watch.watchId=key})}var expressions=[];forEach(ast.body,function(expression){expressions.push(self.recurse(expression.expression))});var fn=0===ast.body.length?noop:1===ast.body.length?expressions[0]:function(scope,locals){var lastValue;forEach(expressions,function(exp){lastValue=exp(scope,locals)});return lastValue};assign&&(fn.assign=function(scope,value,locals){return assign(scope,locals,value)});inputs&&(fn.inputs=inputs);return fn},recurse:function(ast,context,create){var left,right,args,self=this;if(ast.input)return this.inputs(ast.input,ast.watchId);switch(ast.type){case AST.Literal:return this.value(ast.value,context);case AST.UnaryExpression:right=this.recurse(ast.argument);return this["unary"+ast.operator](right,context);case AST.BinaryExpression:case AST.LogicalExpression:left=this.recurse(ast.left);right=this.recurse(ast.right);return this["binary"+ast.operator](left,right,context);case AST.ConditionalExpression:return this["ternary?:"](this.recurse(ast.test),this.recurse(ast.alternate),this.recurse(ast.consequent),context);case AST.Identifier:return self.identifier(ast.name,context,create);case AST.MemberExpression:left=this.recurse(ast.object,false,!!create);ast.computed||(right=ast.property.name);ast.computed&&(right=this.recurse(ast.property));return ast.computed?this.computedMember(left,right,context,create):this.nonComputedMember(left,right,context,create);case AST.CallExpression:args=[];forEach(ast.arguments,function(expr){args.push(self.recurse(expr))});ast.filter&&(right=this.$filter(ast.callee.name));ast.filter||(right=this.recurse(ast.callee,true));return ast.filter?function(scope,locals,assign,inputs){var values=[];for(var i=0;i<args.length;++i)values.push(args[i](scope,locals,assign,inputs));var value=right.apply(void 0,values,inputs);return context?{context:void 0,name:void 0,value:value}:value}:function(scope,locals,assign,inputs){var rhs=right(scope,locals,assign,inputs);var value;if(null!=rhs.value){var values=[];for(var i=0;i<args.length;++i)values.push(args[i](scope,locals,assign,inputs));value=rhs.value.apply(rhs.context,values)}return context?{value:value}:value};case AST.AssignmentExpression:left=this.recurse(ast.left,true,1);right=this.recurse(ast.right);return function(scope,locals,assign,inputs){var lhs=left(scope,locals,assign,inputs);var rhs=right(scope,locals,assign,inputs);lhs.context[lhs.name]=rhs;return context?{value:rhs}:rhs};case AST.ArrayExpression:args=[];forEach(ast.elements,function(expr){args.push(self.recurse(expr))});return function(scope,locals,assign,inputs){var value=[];for(var i=0;i<args.length;++i)value.push(args[i](scope,locals,assign,inputs));return context?{value:value}:value};case AST.ObjectExpression:args=[];forEach(ast.properties,function(property){property.computed?args.push({key:self.recurse(property.key),computed:true,value:self.recurse(property.value)}):args.push({key:property.key.type===AST.Identifier?property.key.name:""+property.key.value,computed:false,value:self.recurse(property.value)})});return function(scope,locals,assign,inputs){var value={};for(var i=0;i<args.length;++i)args[i].computed?value[args[i].key(scope,locals,assign,inputs)]=args[i].value(scope,locals,assign,inputs):value[args[i].key]=args[i].value(scope,locals,assign,inputs);return context?{value:value}:value};case AST.ThisExpression:return function(scope){return context?{value:scope}:scope};case AST.LocalsExpression:return function(scope,locals){return context?{value:locals}:locals};case AST.NGValueParameter:return function(scope,locals,assign){return context?{value:assign}:assign}}},"unary+":function(argument,context){return function(scope,locals,assign,inputs){var arg=argument(scope,locals,assign,inputs);arg=isDefined(arg)?+arg:0;return context?{value:arg}:arg}},"unary-":function(argument,context){return function(scope,locals,assign,inputs){var arg=argument(scope,locals,assign,inputs);arg=isDefined(arg)?-arg:-0;return context?{value:arg}:arg}},"unary!":function(argument,context){return function(scope,locals,assign,inputs){var arg=!argument(scope,locals,assign,inputs);return context?{value:arg}:arg}},"binary+":function(left,right,context){return function(scope,locals,assign,inputs){var lhs=left(scope,locals,assign,inputs);var rhs=right(scope,locals,assign,inputs);var arg=plusFn(lhs,rhs);return context?{value:arg}:arg}},"binary-":function(left,right,context){return function(scope,locals,assign,inputs){var lhs=left(scope,locals,assign,inputs);var rhs=right(scope,locals,assign,inputs);var arg=(isDefined(lhs)?lhs:0)-(isDefined(rhs)?rhs:0);return context?{value:arg}:arg}},"binary*":function(left,right,context){return function(scope,locals,assign,inputs){var arg=left(scope,locals,assign,inputs)*right(scope,locals,assign,inputs);return context?{value:arg}:arg}},"binary/":function(left,right,context){return function(scope,locals,assign,inputs){var arg=left(scope,locals,assign,inputs)/right(scope,locals,assign,inputs);return context?{value:arg}:arg}},"binary%":function(left,right,context){return function(scope,locals,assign,inputs){var arg=left(scope,locals,assign,inputs)%right(scope,locals,assign,inputs);return context?{value:arg}:arg}},"binary===":function(left,right,context){return function(scope,locals,assign,inputs){var arg=left(scope,locals,assign,inputs)===right(scope,locals,assign,inputs);return context?{value:arg}:arg}},"binary!==":function(left,right,context){return function(scope,locals,assign,inputs){var arg=left(scope,locals,assign,inputs)!==right(scope,locals,assign,inputs);return context?{value:arg}:arg}},"binary==":function(left,right,context){return function(scope,locals,assign,inputs){var arg=left(scope,locals,assign,inputs)==right(scope,locals,assign,inputs);return context?{value:arg}:arg}},"binary!=":function(left,right,context){return function(scope,locals,assign,inputs){var arg=left(scope,locals,assign,inputs)!=right(scope,locals,assign,inputs);return context?{value:arg}:arg}},"binary<":function(left,right,context){return function(scope,locals,assign,inputs){var arg=left(scope,locals,assign,inputs)<right(scope,locals,assign,inputs);return context?{value:arg}:arg}},"binary>":function(left,right,context){return function(scope,locals,assign,inputs){var arg=left(scope,locals,assign,inputs)>right(scope,locals,assign,inputs);return context?{value:arg}:arg}},"binary<=":function(left,right,context){return function(scope,locals,assign,inputs){var arg=left(scope,locals,assign,inputs)<=right(scope,locals,assign,inputs);return context?{value:arg}:arg}},"binary>=":function(left,right,context){return function(scope,locals,assign,inputs){var arg=left(scope,locals,assign,inputs)>=right(scope,locals,assign,inputs);return context?{value:arg}:arg}},"binary&&":function(left,right,context){return function(scope,locals,assign,inputs){var arg=left(scope,locals,assign,inputs)&&right(scope,locals,assign,inputs);return context?{value:arg}:arg}},"binary||":function(left,right,context){return function(scope,locals,assign,inputs){var arg=left(scope,locals,assign,inputs)||right(scope,locals,assign,inputs);return context?{value:arg}:arg}},"ternary?:":function(test,alternate,consequent,context){return function(scope,locals,assign,inputs){var arg=test(scope,locals,assign,inputs)?alternate(scope,locals,assign,inputs):consequent(scope,locals,assign,inputs);return context?{value:arg}:arg}},value:function(value,context){return function(){return context?{context:void 0,name:void 0,value:value}:value}},identifier:function(name,context,create){return function(scope,locals,assign,inputs){var base=locals&&name in locals?locals:scope;create&&1!==create&&base&&null==base[name]&&(base[name]={});var value=base?base[name]:void 0;return context?{context:base,name:name,value:value}:value}},computedMember:function(left,right,context,create){return function(scope,locals,assign,inputs){var lhs=left(scope,locals,assign,inputs);var rhs;var value;if(null!=lhs){rhs=right(scope,locals,assign,inputs);rhs=getStringValue(rhs);create&&1!==create&&lhs&&!lhs[rhs]&&(lhs[rhs]={});value=lhs[rhs]}return context?{context:lhs,name:rhs,value:value}:value}},nonComputedMember:function(left,right,context,create){return function(scope,locals,assign,inputs){var lhs=left(scope,locals,assign,inputs);create&&1!==create&&lhs&&null==lhs[right]&&(lhs[right]={});var value=null!=lhs?lhs[right]:void 0;return context?{context:lhs,name:right,value:value}:value}},inputs:function(input,watchId){return function(scope,value,locals,inputs){if(inputs)return inputs[watchId];return input(scope,value,locals)}}};function Parser(lexer,$filter,options){this.ast=new AST(lexer,options);this.astCompiler=options.csp?new ASTInterpreter($filter):new ASTCompiler($filter)}Parser.prototype={constructor:Parser,parse:function(text){var ast=this.getAst(text);var fn=this.astCompiler.compile(ast.ast);fn.literal=isLiteral(ast.ast);fn.constant=isConstant(ast.ast);fn.oneTime=ast.oneTime;return fn},getAst:function(exp){var oneTime=false;exp=exp.trim();if(":"===exp.charAt(0)&&":"===exp.charAt(1)){oneTime=true;exp=exp.substring(2)}return{ast:this.ast.ast(exp),oneTime:oneTime}}};function getValueOf(value){return isFunction(value.valueOf)?value.valueOf():objectValueOf.call(value)}function $ParseProvider(){var cache=createMap();var literals={true:true,false:false,null:null,undefined:void 0};var identStart,identContinue;this.addLiteral=function(literalName,literalValue){literals[literalName]=literalValue};this.setIdentifierFns=function(identifierStart,identifierContinue){identStart=identifierStart;identContinue=identifierContinue;return this};this.$get=["$filter",function($filter){var noUnsafeEval=csp().noUnsafeEval;var $parseOptions={csp:noUnsafeEval,literals:copy(literals),isIdentifierStart:isFunction(identStart)&&identStart,isIdentifierContinue:isFunction(identContinue)&&identContinue};$parse.$$getAst=$$getAst;return $parse;function $parse(exp,interceptorFn){var parsedExpression,cacheKey;switch(typeof exp){case"string":exp=exp.trim();cacheKey=exp;parsedExpression=cache[cacheKey];if(!parsedExpression){var lexer=new Lexer($parseOptions);var parser=new Parser(lexer,$filter,$parseOptions);parsedExpression=parser.parse(exp);parsedExpression.constant?parsedExpression.$$watchDelegate=constantWatchDelegate:parsedExpression.oneTime?parsedExpression.$$watchDelegate=parsedExpression.literal?oneTimeLiteralWatchDelegate:oneTimeWatchDelegate:parsedExpression.inputs&&(parsedExpression.$$watchDelegate=inputsWatchDelegate);cache[cacheKey]=parsedExpression}return addInterceptor(parsedExpression,interceptorFn);case"function":return addInterceptor(exp,interceptorFn);default:return addInterceptor(noop,interceptorFn)}}function $$getAst(exp){var lexer=new Lexer($parseOptions);var parser=new Parser(lexer,$filter,$parseOptions);return parser.getAst(exp).ast}function expressionInputDirtyCheck(newValue,oldValueOfValue,compareObjectIdentity){if(null==newValue||null==oldValueOfValue)return newValue===oldValueOfValue;if("object"===typeof newValue){newValue=getValueOf(newValue);if("object"===typeof newValue&&!compareObjectIdentity)return false}return newValue===oldValueOfValue||newValue!==newValue&&oldValueOfValue!==oldValueOfValue}function inputsWatchDelegate(scope,listener,objectEquality,parsedExpression,prettyPrintExpression){var inputExpressions=parsedExpression.inputs;var lastResult;if(1===inputExpressions.length){var oldInputValueOf=expressionInputDirtyCheck;inputExpressions=inputExpressions[0];return scope.$watch(function expressionInputWatch(scope){var newInputValue=inputExpressions(scope);if(!expressionInputDirtyCheck(newInputValue,oldInputValueOf,inputExpressions.isPure)){lastResult=parsedExpression(scope,void 0,void 0,[newInputValue]);oldInputValueOf=newInputValue&&getValueOf(newInputValue)}return lastResult},listener,objectEquality,prettyPrintExpression)}var oldInputValueOfValues=[];var oldInputValues=[];for(var i=0,ii=inputExpressions.length;i<ii;i++){oldInputValueOfValues[i]=expressionInputDirtyCheck;oldInputValues[i]=null}return scope.$watch(function expressionInputsWatch(scope){var changed=false;for(var i=0,ii=inputExpressions.length;i<ii;i++){var newInputValue=inputExpressions[i](scope);if(changed||(changed=!expressionInputDirtyCheck(newInputValue,oldInputValueOfValues[i],inputExpressions[i].isPure))){oldInputValues[i]=newInputValue;oldInputValueOfValues[i]=newInputValue&&getValueOf(newInputValue)}}changed&&(lastResult=parsedExpression(scope,void 0,void 0,oldInputValues));return lastResult},listener,objectEquality,prettyPrintExpression)}function oneTimeWatchDelegate(scope,listener,objectEquality,parsedExpression,prettyPrintExpression){var unwatch,lastValue;unwatch=parsedExpression.inputs?inputsWatchDelegate(scope,oneTimeListener,objectEquality,parsedExpression,prettyPrintExpression):scope.$watch(oneTimeWatch,oneTimeListener,objectEquality);return unwatch;function oneTimeWatch(scope){return parsedExpression(scope)}function oneTimeListener(value,old,scope){lastValue=value;isFunction(listener)&&listener(value,old,scope);isDefined(value)&&scope.$$postDigest(function(){isDefined(lastValue)&&unwatch()})}}function oneTimeLiteralWatchDelegate(scope,listener,objectEquality,parsedExpression){var unwatch,lastValue;unwatch=scope.$watch(function oneTimeWatch(scope){return parsedExpression(scope)},function oneTimeListener(value,old,scope){lastValue=value;isFunction(listener)&&listener(value,old,scope);isAllDefined(value)&&scope.$$postDigest(function(){isAllDefined(lastValue)&&unwatch()})},objectEquality);return unwatch;function isAllDefined(value){var allDefined=true;forEach(value,function(val){isDefined(val)||(allDefined=false)});return allDefined}}function constantWatchDelegate(scope,listener,objectEquality,parsedExpression){var unwatch=scope.$watch(function constantWatch(scope){unwatch();return parsedExpression(scope)},listener,objectEquality);return unwatch}function addInterceptor(parsedExpression,interceptorFn){if(!interceptorFn)return parsedExpression;var watchDelegate=parsedExpression.$$watchDelegate;var useInputs=false;var regularWatch=watchDelegate!==oneTimeLiteralWatchDelegate&&watchDelegate!==oneTimeWatchDelegate;var fn=regularWatch?function regularInterceptedExpression(scope,locals,assign,inputs){var value=useInputs&&inputs?inputs[0]:parsedExpression(scope,locals,assign,inputs);return interceptorFn(value,scope,locals)}:function oneTimeInterceptedExpression(scope,locals,assign,inputs){var value=parsedExpression(scope,locals,assign,inputs);var result=interceptorFn(value,scope,locals);return isDefined(value)?result:value};useInputs=!parsedExpression.inputs;if(watchDelegate&&watchDelegate!==inputsWatchDelegate){fn.$$watchDelegate=watchDelegate;fn.inputs=parsedExpression.inputs}else if(!interceptorFn.$stateful){fn.$$watchDelegate=inputsWatchDelegate;fn.inputs=parsedExpression.inputs?parsedExpression.inputs:[parsedExpression]}fn.inputs&&(fn.inputs=fn.inputs.map(function(e){if(e.isPure===PURITY_RELATIVE)return function depurifier(s){return e(s)};return e}));return fn}}]}function $QProvider(){var errorOnUnhandledRejections=true;this.$get=["$rootScope","$exceptionHandler",function($rootScope,$exceptionHandler){return qFactory(function(callback){$rootScope.$evalAsync(callback)},$exceptionHandler,errorOnUnhandledRejections)}];this.errorOnUnhandledRejections=function(value){if(isDefined(value)){errorOnUnhandledRejections=value;return this}return errorOnUnhandledRejections}}function $$QProvider(){var errorOnUnhandledRejections=true;this.$get=["$browser","$exceptionHandler",function($browser,$exceptionHandler){return qFactory(function(callback){$browser.defer(callback)},$exceptionHandler,errorOnUnhandledRejections)}];this.errorOnUnhandledRejections=function(value){if(isDefined(value)){errorOnUnhandledRejections=value;return this}return errorOnUnhandledRejections}}function qFactory(nextTick,exceptionHandler,errorOnUnhandledRejections){var $qMinErr=minErr("$q",TypeError);var queueSize=0;var checkQueue=[];function defer(){return new Deferred}function Deferred(){var promise=this.promise=new Promise;this.resolve=function(val){resolvePromise(promise,val)};this.reject=function(reason){rejectPromise(promise,reason)};this.notify=function(progress){notifyPromise(promise,progress)}}function Promise(){this.$$state={status:0}}extend(Promise.prototype,{then:function(onFulfilled,onRejected,progressBack){if(isUndefined(onFulfilled)&&isUndefined(onRejected)&&isUndefined(progressBack))return this;var result=new Promise;this.$$state.pending=this.$$state.pending||[];this.$$state.pending.push([result,onFulfilled,onRejected,progressBack]);this.$$state.status>0&&scheduleProcessQueue(this.$$state);return result},catch:function(callback){return this.then(null,callback)},finally:function(callback,progressBack){return this.then(function(value){return handleCallback(value,resolve,callback)},function(error){return handleCallback(error,reject,callback)},progressBack)}});function processQueue(state){var fn,promise,pending;pending=state.pending;state.processScheduled=false;state.pending=void 0;try{for(var i=0,ii=pending.length;i<ii;++i){markQStateExceptionHandled(state);promise=pending[i][0];fn=pending[i][state.status];try{isFunction(fn)?resolvePromise(promise,fn(state.value)):1===state.status?resolvePromise(promise,state.value):rejectPromise(promise,state.value)}catch(e){rejectPromise(promise,e);e&&true===e.$$passToExceptionHandler&&exceptionHandler(e)}}}finally{--queueSize;errorOnUnhandledRejections&&0===queueSize&&nextTick(processChecks)}}function processChecks(){while(!queueSize&&checkQueue.length){var toCheck=checkQueue.shift();if(!isStateExceptionHandled(toCheck)){markQStateExceptionHandled(toCheck);var errorMessage="Possibly unhandled rejection: "+toDebugString(toCheck.value);isError(toCheck.value)?exceptionHandler(toCheck.value,errorMessage):exceptionHandler(errorMessage)}}}function scheduleProcessQueue(state){if(errorOnUnhandledRejections&&!state.pending&&2===state.status&&!isStateExceptionHandled(state)){0===queueSize&&0===checkQueue.length&&nextTick(processChecks);checkQueue.push(state)}if(state.processScheduled||!state.pending)return;state.processScheduled=true;++queueSize;nextTick(function(){processQueue(state)})}function resolvePromise(promise,val){if(promise.$$state.status)return;val===promise?$$reject(promise,$qMinErr("qcycle","Expected promise to be resolved with value other than itself '{0}'",val)):$$resolve(promise,val)}function $$resolve(promise,val){var then;var done=false;try{(isObject(val)||isFunction(val))&&(then=val.then);if(isFunction(then)){promise.$$state.status=-1;then.call(val,doResolve,doReject,doNotify)}else{promise.$$state.value=val;promise.$$state.status=1;scheduleProcessQueue(promise.$$state)}}catch(e){doReject(e)}function doResolve(val){if(done)return;done=true;$$resolve(promise,val)}function doReject(val){if(done)return;done=true;$$reject(promise,val)}function doNotify(progress){notifyPromise(promise,progress)}}function rejectPromise(promise,reason){if(promise.$$state.status)return;$$reject(promise,reason)}function $$reject(promise,reason){promise.$$state.value=reason;promise.$$state.status=2;scheduleProcessQueue(promise.$$state)}function notifyPromise(promise,progress){var callbacks=promise.$$state.pending;promise.$$state.status<=0&&callbacks&&callbacks.length&&nextTick(function(){var callback,result;for(var i=0,ii=callbacks.length;i<ii;i++){result=callbacks[i][0];callback=callbacks[i][3];try{notifyPromise(result,isFunction(callback)?callback(progress):progress)}catch(e){exceptionHandler(e)}}})}function reject(reason){var result=new Promise;rejectPromise(result,reason);return result}function handleCallback(value,resolver,callback){var callbackOutput=null;try{isFunction(callback)&&(callbackOutput=callback())}catch(e){return reject(e)}return isPromiseLike(callbackOutput)?callbackOutput.then(function(){return resolver(value)},reject):resolver(value)}function when(value,callback,errback,progressBack){var result=new Promise;resolvePromise(result,value);return result.then(callback,errback,progressBack)}var resolve=when;function all(promises){var result=new Promise,counter=0,results=isArray(promises)?[]:{};forEach(promises,function(promise,key){counter++;when(promise).then(function(value){results[key]=value;--counter||resolvePromise(result,results)},function(reason){rejectPromise(result,reason)})});0===counter&&resolvePromise(result,results);return result}function race(promises){var deferred=defer();forEach(promises,function(promise){when(promise).then(deferred.resolve,deferred.reject)});return deferred.promise}function $Q(resolver){if(!isFunction(resolver))throw $qMinErr("norslvr","Expected resolverFn, got '{0}'",resolver);var promise=new Promise;function resolveFn(value){resolvePromise(promise,value)}function rejectFn(reason){rejectPromise(promise,reason)}resolver(resolveFn,rejectFn);return promise}$Q.prototype=Promise.prototype;$Q.defer=defer;$Q.reject=reject;$Q.when=when;$Q.resolve=resolve;$Q.all=all;$Q.race=race;return $Q}function isStateExceptionHandled(state){return!!state.pur}function markQStateExceptionHandled(state){state.pur=true}function markQExceptionHandled(q){markQStateExceptionHandled(q.$$state)}function $$RAFProvider(){this.$get=["$window","$timeout",function($window,$timeout){var requestAnimationFrame=$window.requestAnimationFrame||$window.webkitRequestAnimationFrame;var cancelAnimationFrame=$window.cancelAnimationFrame||$window.webkitCancelAnimationFrame||$window.webkitCancelRequestAnimationFrame;var rafSupported=!!requestAnimationFrame;var raf=rafSupported?function(fn){var id=requestAnimationFrame(fn);return function(){cancelAnimationFrame(id)}}:function(fn){var timer=$timeout(fn,16.66,false);return function(){$timeout.cancel(timer)}};raf.supported=rafSupported;return raf}]}function $RootScopeProvider(){var TTL=10;var $rootScopeMinErr=minErr("$rootScope");var lastDirtyWatch=null;var applyAsyncId=null;this.digestTtl=function(value){arguments.length&&(TTL=value);return TTL};function createChildScopeClass(parent){function ChildScope(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null;this.$$listeners={};this.$$listenerCount={};this.$$watchersCount=0;this.$id=nextUid();this.$$ChildScope=null}ChildScope.prototype=parent;return ChildScope}this.$get=["$exceptionHandler","$parse","$browser",function($exceptionHandler,$parse,$browser){function destroyChildScope($event){$event.currentScope.$$destroyed=true}function cleanUpScope($scope){if(9===msie){$scope.$$childHead&&cleanUpScope($scope.$$childHead);$scope.$$nextSibling&&cleanUpScope($scope.$$nextSibling)}$scope.$parent=$scope.$$nextSibling=$scope.$$prevSibling=$scope.$$childHead=$scope.$$childTail=$scope.$root=$scope.$$watchers=null}function Scope(){this.$id=nextUid();this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null;this.$root=this;this.$$destroyed=false;this.$$listeners={};this.$$listenerCount={};this.$$watchersCount=0;this.$$isolateBindings=null}Scope.prototype={constructor:Scope,$new:function(isolate,parent){var child;parent=parent||this;if(isolate){child=new Scope;child.$root=this.$root}else{this.$$ChildScope||(this.$$ChildScope=createChildScopeClass(this));child=new this.$$ChildScope}child.$parent=parent;child.$$prevSibling=parent.$$childTail;if(parent.$$childHead){parent.$$childTail.$$nextSibling=child;parent.$$childTail=child}else parent.$$childHead=parent.$$childTail=child;(isolate||parent!==this)&&child.$on("$destroy",destroyChildScope);return child},$watch:function(watchExp,listener,objectEquality,prettyPrintExpression){var get=$parse(watchExp);var fn=isFunction(listener)?listener:noop;if(get.$$watchDelegate)return get.$$watchDelegate(this,fn,objectEquality,get,watchExp);var scope=this,array=scope.$$watchers,watcher={fn:fn,last:initWatchVal,get:get,exp:prettyPrintExpression||watchExp,eq:!!objectEquality};lastDirtyWatch=null;if(!array){array=scope.$$watchers=[];array.$$digestWatchIndex=-1}array.unshift(watcher);array.$$digestWatchIndex++;incrementWatchersCount(this,1);return function deregisterWatch(){var index=arrayRemove(array,watcher);if(index>=0){incrementWatchersCount(scope,-1);index<array.$$digestWatchIndex&&array.$$digestWatchIndex--}lastDirtyWatch=null}},$watchGroup:function(watchExpressions,listener){var oldValues=new Array(watchExpressions.length);var newValues=new Array(watchExpressions.length);var deregisterFns=[];var self=this;var changeReactionScheduled=false;var firstRun=true;if(!watchExpressions.length){var shouldCall=true;self.$evalAsync(function(){shouldCall&&listener(newValues,newValues,self)});return function deregisterWatchGroup(){shouldCall=false}}if(1===watchExpressions.length)return this.$watch(watchExpressions[0],function watchGroupAction(value,oldValue,scope){newValues[0]=value;oldValues[0]=oldValue;listener(newValues,value===oldValue?newValues:oldValues,scope)});forEach(watchExpressions,function(expr,i){var unwatchFn=self.$watch(expr,function watchGroupSubAction(value,oldValue){newValues[i]=value;oldValues[i]=oldValue;if(!changeReactionScheduled){changeReactionScheduled=true;self.$evalAsync(watchGroupAction)}});deregisterFns.push(unwatchFn)});function watchGroupAction(){changeReactionScheduled=false;if(firstRun){firstRun=false;listener(newValues,newValues,self)}else listener(newValues,oldValues,self)}return function deregisterWatchGroup(){while(deregisterFns.length)deregisterFns.shift()()}},$watchCollection:function(obj,listener){$watchCollectionInterceptor.$stateful=true;var self=this;var newValue;var oldValue;var veryOldValue;var trackVeryOldValue=listener.length>1;var changeDetected=0;var changeDetector=$parse(obj,$watchCollectionInterceptor);var internalArray=[];var internalObject={};var initRun=true;var oldLength=0;function $watchCollectionInterceptor(_value){newValue=_value;var newLength,key,bothNaN,newItem,oldItem;if(isUndefined(newValue))return;if(isObject(newValue))if(isArrayLike(newValue)){if(oldValue!==internalArray){oldValue=internalArray;oldLength=oldValue.length=0;changeDetected++}newLength=newValue.length;if(oldLength!==newLength){changeDetected++;oldValue.length=oldLength=newLength}for(var i=0;i<newLength;i++){oldItem=oldValue[i];newItem=newValue[i];bothNaN=oldItem!==oldItem&&newItem!==newItem;if(!bothNaN&&oldItem!==newItem){changeDetected++;oldValue[i]=newItem}}}else{if(oldValue!==internalObject){oldValue=internalObject={};oldLength=0;changeDetected++}newLength=0;for(key in newValue)if(hasOwnProperty.call(newValue,key)){newLength++;newItem=newValue[key];oldItem=oldValue[key];if(key in oldValue){bothNaN=oldItem!==oldItem&&newItem!==newItem;if(!bothNaN&&oldItem!==newItem){changeDetected++;oldValue[key]=newItem}}else{oldLength++;oldValue[key]=newItem;changeDetected++}}if(oldLength>newLength){changeDetected++;for(key in oldValue)if(!hasOwnProperty.call(newValue,key)){oldLength--;delete oldValue[key]}}}else if(oldValue!==newValue){oldValue=newValue;changeDetected++}return changeDetected}function $watchCollectionAction(){if(initRun){initRun=false;listener(newValue,newValue,self)}else listener(newValue,veryOldValue,self);if(trackVeryOldValue)if(isObject(newValue))if(isArrayLike(newValue)){veryOldValue=new Array(newValue.length);for(var i=0;i<newValue.length;i++)veryOldValue[i]=newValue[i]}else{veryOldValue={};for(var key in newValue)hasOwnProperty.call(newValue,key)&&(veryOldValue[key]=newValue[key])}else veryOldValue=newValue}return this.$watch(changeDetector,$watchCollectionAction)},$digest:function(){var watch,value,last,fn,get,watchers,dirty,next,current,logIdx,asyncTask,ttl=TTL,target=this,watchLog=[];beginPhase("$digest");$browser.$$checkUrlChange();if(this===$rootScope&&null!==applyAsyncId){$browser.defer.cancel(applyAsyncId);flushApplyAsync()}lastDirtyWatch=null;do{dirty=false;current=target;for(var asyncQueuePosition=0;asyncQueuePosition<asyncQueue.length;asyncQueuePosition++){try{asyncTask=asyncQueue[asyncQueuePosition];fn=asyncTask.fn;fn(asyncTask.scope,asyncTask.locals)}catch(e){$exceptionHandler(e)}lastDirtyWatch=null}asyncQueue.length=0;traverseScopesLoop:do{if(watchers=current.$$watchers){watchers.$$digestWatchIndex=watchers.length;while(watchers.$$digestWatchIndex--)try{watch=watchers[watchers.$$digestWatchIndex];if(watch){get=watch.get;if((value=get(current))===(last=watch.last)||(watch.eq?equals(value,last):isNumberNaN(value)&&isNumberNaN(last))){if(watch===lastDirtyWatch){dirty=false;break traverseScopesLoop}}else{dirty=true;lastDirtyWatch=watch;watch.last=watch.eq?copy(value,null):value;fn=watch.fn;fn(value,last===initWatchVal?value:last,current);if(ttl<5){logIdx=4-ttl;watchLog[logIdx]||(watchLog[logIdx]=[]);watchLog[logIdx].push({msg:isFunction(watch.exp)?"fn: "+(watch.exp.name||watch.exp.toString()):watch.exp,newVal:value,oldVal:last})}}}}catch(e){$exceptionHandler(e)}}if(!(next=current.$$watchersCount&&current.$$childHead||current!==target&&current.$$nextSibling))while(current!==target&&!(next=current.$$nextSibling))current=current.$parent}while(current=next);if((dirty||asyncQueue.length)&&!ttl--){clearPhase();throw $rootScopeMinErr("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",TTL,watchLog)}}while(dirty||asyncQueue.length);clearPhase();while(postDigestQueuePosition<postDigestQueue.length)try{postDigestQueue[postDigestQueuePosition++]()}catch(e){$exceptionHandler(e)}postDigestQueue.length=postDigestQueuePosition=0;$browser.$$checkUrlChange()},$destroy:function(){if(this.$$destroyed)return;var parent=this.$parent;this.$broadcast("$destroy");this.$$destroyed=true;this===$rootScope&&$browser.$$applicationDestroyed();incrementWatchersCount(this,-this.$$watchersCount);for(var eventName in this.$$listenerCount)decrementListenerCount(this,this.$$listenerCount[eventName],eventName);parent&&parent.$$childHead===this&&(parent.$$childHead=this.$$nextSibling);parent&&parent.$$childTail===this&&(parent.$$childTail=this.$$prevSibling);this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling);this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling);this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=noop;this.$on=this.$watch=this.$watchGroup=function(){return noop};this.$$listeners={};this.$$nextSibling=null;cleanUpScope(this)},$eval:function(expr,locals){return $parse(expr)(this,locals)},$evalAsync:function(expr,locals){$rootScope.$$phase||asyncQueue.length||$browser.defer(function(){asyncQueue.length&&$rootScope.$digest()});asyncQueue.push({scope:this,fn:$parse(expr),locals:locals})},$$postDigest:function(fn){postDigestQueue.push(fn)},$apply:function(expr){try{beginPhase("$apply");try{return this.$eval(expr)}finally{clearPhase()}}catch(e){$exceptionHandler(e)}finally{try{$rootScope.$digest()}catch(e){$exceptionHandler(e);throw e}}},$applyAsync:function(expr){var scope=this;expr&&applyAsyncQueue.push($applyAsyncExpression);expr=$parse(expr);scheduleApplyAsync();function $applyAsyncExpression(){scope.$eval(expr)}},$on:function(name,listener){var namedListeners=this.$$listeners[name];namedListeners||(this.$$listeners[name]=namedListeners=[]);namedListeners.push(listener);var current=this;do{current.$$listenerCount[name]||(current.$$listenerCount[name]=0);current.$$listenerCount[name]++}while(current=current.$parent);var self=this;return function(){var indexOfListener=namedListeners.indexOf(listener);if(-1!==indexOfListener){delete namedListeners[indexOfListener];decrementListenerCount(self,1,name)}}},$emit:function(name,args){var namedListeners,i,length,empty=[],scope=this,stopPropagation=false,event={name:name,targetScope:scope,stopPropagation:function(){stopPropagation=true},preventDefault:function(){event.defaultPrevented=true},defaultPrevented:false},listenerArgs=concat([event],arguments,1);do{namedListeners=scope.$$listeners[name]||empty;event.currentScope=scope;for(i=0,length=namedListeners.length;i<length;i++){if(!namedListeners[i]){namedListeners.splice(i,1);i--;length--;continue}try{namedListeners[i].apply(null,listenerArgs)}catch(e){$exceptionHandler(e)}}if(stopPropagation)break;scope=scope.$parent}while(scope);event.currentScope=null;return event},$broadcast:function(name,args){var target=this,current=target,next=target,event={name:name,targetScope:target,preventDefault:function(){event.defaultPrevented=true},defaultPrevented:false};if(!target.$$listenerCount[name])return event;var listeners,i,length,listenerArgs=concat([event],arguments,1);while(current=next){event.currentScope=current;listeners=current.$$listeners[name]||[];for(i=0,length=listeners.length;i<length;i++){if(!listeners[i]){listeners.splice(i,1);i--;length--;continue}try{listeners[i].apply(null,listenerArgs)}catch(e){$exceptionHandler(e)}}if(!(next=current.$$listenerCount[name]&&current.$$childHead||current!==target&&current.$$nextSibling))while(current!==target&&!(next=current.$$nextSibling))current=current.$parent}event.currentScope=null;return event}};var $rootScope=new Scope;var asyncQueue=$rootScope.$$asyncQueue=[];var postDigestQueue=$rootScope.$$postDigestQueue=[];var applyAsyncQueue=$rootScope.$$applyAsyncQueue=[];var postDigestQueuePosition=0;return $rootScope;function beginPhase(phase){if($rootScope.$$phase)throw $rootScopeMinErr("inprog","{0} already in progress",$rootScope.$$phase);$rootScope.$$phase=phase}function clearPhase(){$rootScope.$$phase=null}function incrementWatchersCount(current,count){do{current.$$watchersCount+=count}while(current=current.$parent)}function decrementListenerCount(current,count,name){do{current.$$listenerCount[name]-=count;0===current.$$listenerCount[name]&&delete current.$$listenerCount[name]}while(current=current.$parent)}function initWatchVal(){}function flushApplyAsync(){while(applyAsyncQueue.length)try{applyAsyncQueue.shift()()}catch(e){$exceptionHandler(e)}applyAsyncId=null}function scheduleApplyAsync(){null===applyAsyncId&&(applyAsyncId=$browser.defer(function(){$rootScope.$apply(flushApplyAsync)}))}}]}function $$SanitizeUriProvider(){var aHrefSanitizationWhitelist=/^\s*(https?|s?ftp|mailto|tel|file):/,imgSrcSanitizationWhitelist=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(regexp){if(isDefined(regexp)){aHrefSanitizationWhitelist=regexp;return this}return aHrefSanitizationWhitelist};this.imgSrcSanitizationWhitelist=function(regexp){if(isDefined(regexp)){imgSrcSanitizationWhitelist=regexp;return this}return imgSrcSanitizationWhitelist};this.$get=function(){return function sanitizeUri(uri,isImage){var regex=isImage?imgSrcSanitizationWhitelist:aHrefSanitizationWhitelist;var normalizedVal;normalizedVal=urlResolve(uri&&uri.trim()).href;if(""!==normalizedVal&&!normalizedVal.match(regex))return"unsafe:"+normalizedVal;return uri}}}var $sceMinErr=minErr("$sce");var SCE_CONTEXTS={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"};var UNDERSCORE_LOWERCASE_REGEXP=/_([a-z])/g;function snakeToCamel(name){return name.replace(UNDERSCORE_LOWERCASE_REGEXP,fnCamelCaseReplace)}function adjustMatcher(matcher){if("self"===matcher)return matcher;if(isString(matcher)){if(matcher.indexOf("***")>-1)throw $sceMinErr("iwcard","Illegal sequence *** in string matcher.  String: {0}",matcher);matcher=escapeForRegexp(matcher).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*");return new RegExp("^"+matcher+"$")}if(isRegExp(matcher))return new RegExp("^"+matcher.source+"$");throw $sceMinErr("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function adjustMatchers(matchers){var adjustedMatchers=[];isDefined(matchers)&&forEach(matchers,function(matcher){adjustedMatchers.push(adjustMatcher(matcher))});return adjustedMatchers}function $SceDelegateProvider(){this.SCE_CONTEXTS=SCE_CONTEXTS;var resourceUrlWhitelist=["self"],resourceUrlBlacklist=[];this.resourceUrlWhitelist=function(value){arguments.length&&(resourceUrlWhitelist=adjustMatchers(value));return resourceUrlWhitelist};this.resourceUrlBlacklist=function(value){arguments.length&&(resourceUrlBlacklist=adjustMatchers(value));return resourceUrlBlacklist};this.$get=["$injector",function($injector){var htmlSanitizer=function htmlSanitizer(html){throw $sceMinErr("unsafe","Attempting to use an unsafe value in a safe context.")};$injector.has("$sanitize")&&(htmlSanitizer=$injector.get("$sanitize"));function matchUrl(matcher,parsedUrl){return"self"===matcher?urlIsSameOrigin(parsedUrl):!!matcher.exec(parsedUrl.href)}function isResourceUrlAllowedByPolicy(url){var parsedUrl=urlResolve(url.toString());var i,n,allowed=false;for(i=0,n=resourceUrlWhitelist.length;i<n;i++)if(matchUrl(resourceUrlWhitelist[i],parsedUrl)){allowed=true;break}if(allowed)for(i=0,n=resourceUrlBlacklist.length;i<n;i++)if(matchUrl(resourceUrlBlacklist[i],parsedUrl)){allowed=false;break}return allowed}function generateHolderType(Base){var holderType=function TrustedValueHolderType(trustedValue){this.$$unwrapTrustedValue=function(){return trustedValue}};Base&&(holderType.prototype=new Base);holderType.prototype.valueOf=function sceValueOf(){return this.$$unwrapTrustedValue()};holderType.prototype.toString=function sceToString(){return this.$$unwrapTrustedValue().toString()};return holderType}var trustedValueHolderBase=generateHolderType(),byType={};byType[SCE_CONTEXTS.HTML]=generateHolderType(trustedValueHolderBase);byType[SCE_CONTEXTS.CSS]=generateHolderType(trustedValueHolderBase);byType[SCE_CONTEXTS.URL]=generateHolderType(trustedValueHolderBase);byType[SCE_CONTEXTS.JS]=generateHolderType(trustedValueHolderBase);byType[SCE_CONTEXTS.RESOURCE_URL]=generateHolderType(byType[SCE_CONTEXTS.URL]);function trustAs(type,trustedValue){var Constructor=byType.hasOwnProperty(type)?byType[type]:null;if(!Constructor)throw $sceMinErr("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",type,trustedValue);if(null===trustedValue||isUndefined(trustedValue)||""===trustedValue)return trustedValue;if("string"!==typeof trustedValue)throw $sceMinErr("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",type);return new Constructor(trustedValue)}function valueOf(maybeTrusted){return maybeTrusted instanceof trustedValueHolderBase?maybeTrusted.$$unwrapTrustedValue():maybeTrusted}function getTrusted(type,maybeTrusted){if(null===maybeTrusted||isUndefined(maybeTrusted)||""===maybeTrusted)return maybeTrusted;var constructor=byType.hasOwnProperty(type)?byType[type]:null;if(constructor&&maybeTrusted instanceof constructor)return maybeTrusted.$$unwrapTrustedValue();if(type===SCE_CONTEXTS.RESOURCE_URL){if(isResourceUrlAllowedByPolicy(maybeTrusted))return maybeTrusted;throw $sceMinErr("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",maybeTrusted.toString())}if(type===SCE_CONTEXTS.HTML)return htmlSanitizer(maybeTrusted);throw $sceMinErr("unsafe","Attempting to use an unsafe value in a safe context.")}return{trustAs:trustAs,getTrusted:getTrusted,valueOf:valueOf}}]}function $SceProvider(){var enabled=true;this.enabled=function(value){arguments.length&&(enabled=!!value);return enabled};this.$get=["$parse","$sceDelegate",function($parse,$sceDelegate){if(enabled&&msie<8)throw $sceMinErr("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");var sce=shallowCopy(SCE_CONTEXTS);sce.isEnabled=function(){return enabled};sce.trustAs=$sceDelegate.trustAs;sce.getTrusted=$sceDelegate.getTrusted;sce.valueOf=$sceDelegate.valueOf;if(!enabled){sce.trustAs=sce.getTrusted=function(type,value){return value};sce.valueOf=identity}sce.parseAs=function sceParseAs(type,expr){var parsed=$parse(expr);return parsed.literal&&parsed.constant?parsed:$parse(expr,function(value){return sce.getTrusted(type,value)})};var parse=sce.parseAs,getTrusted=sce.getTrusted,trustAs=sce.trustAs;forEach(SCE_CONTEXTS,function(enumValue,name){var lName=lowercase(name);sce[snakeToCamel("parse_as_"+lName)]=function(expr){return parse(enumValue,expr)};sce[snakeToCamel("get_trusted_"+lName)]=function(value){return getTrusted(enumValue,value)};sce[snakeToCamel("trust_as_"+lName)]=function(value){return trustAs(enumValue,value)}});return sce}]}function $SnifferProvider(){this.$get=["$window","$document",function($window,$document){var eventSupport={},isNw=$window.nw&&$window.nw.process,isChromePackagedApp=!isNw&&$window.chrome&&($window.chrome.app&&$window.chrome.app.runtime||!$window.chrome.app&&$window.chrome.runtime&&$window.chrome.runtime.id),hasHistoryPushState=!isChromePackagedApp&&$window.history&&$window.history.pushState,android=toInt((/android (\d+)/.exec(lowercase(($window.navigator||{}).userAgent))||[])[1]),boxee=/Boxee/i.test(($window.navigator||{}).userAgent),document=$document[0]||{},bodyStyle=document.body&&document.body.style,transitions=false,animations=false;if(bodyStyle){transitions=!!("transition"in bodyStyle||"webkitTransition"in bodyStyle);animations=!!("animation"in bodyStyle||"webkitAnimation"in bodyStyle)}return{history:!!(hasHistoryPushState&&!(android<4)&&!boxee),hasEvent:function(event){if("input"===event&&msie)return false;if(isUndefined(eventSupport[event])){var divElm=document.createElement("div");eventSupport[event]="on"+event in divElm}return eventSupport[event]},csp:csp(),transitions:transitions,animations:animations,android:android}}]}var $templateRequestMinErr=minErr("$compile");function $TemplateRequestProvider(){var httpOptions;this.httpOptions=function(val){if(val){httpOptions=val;return this}return httpOptions};this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function($exceptionHandler,$templateCache,$http,$q,$sce){function handleRequestFn(tpl,ignoreRequestError){handleRequestFn.totalPendingRequests++;isString(tpl)&&!isUndefined($templateCache.get(tpl))||(tpl=$sce.getTrustedResourceUrl(tpl));var transformResponse=$http.defaults&&$http.defaults.transformResponse;isArray(transformResponse)?transformResponse=transformResponse.filter(function(transformer){return transformer!==defaultHttpResponseTransform}):transformResponse===defaultHttpResponseTransform&&(transformResponse=null);return $http.get(tpl,extend({cache:$templateCache,transformResponse:transformResponse},httpOptions)).finally(function(){handleRequestFn.totalPendingRequests--}).then(function(response){$templateCache.put(tpl,response.data);return response.data},handleError);function handleError(resp){if(!ignoreRequestError){resp=$templateRequestMinErr("tpload","Failed to load template: {0} (HTTP status: {1} {2})",tpl,resp.status,resp.statusText);$exceptionHandler(resp)}return $q.reject(resp)}}handleRequestFn.totalPendingRequests=0;return handleRequestFn}]}function $$TestabilityProvider(){this.$get=["$rootScope","$browser","$location",function($rootScope,$browser,$location){var testability={};testability.findBindings=function(element,expression,opt_exactMatch){var bindings=element.getElementsByClassName("ng-binding");var matches=[];forEach(bindings,function(binding){var dataBinding=angular.element(binding).data("$binding");dataBinding&&forEach(dataBinding,function(bindingName){if(opt_exactMatch){var matcher=new RegExp("(^|\\s)"+escapeForRegexp(expression)+"(\\s|\\||$)");matcher.test(bindingName)&&matches.push(binding)}else-1!==bindingName.indexOf(expression)&&matches.push(binding)})});return matches};testability.findModels=function(element,expression,opt_exactMatch){var prefixes=["ng-","data-ng-","ng\\:"];for(var p=0;p<prefixes.length;++p){var attributeEquals=opt_exactMatch?"=":"*=";var selector="["+prefixes[p]+"model"+attributeEquals+'"'+expression+'"]';var elements=element.querySelectorAll(selector);if(elements.length)return elements}};testability.getLocation=function(){return $location.url()};testability.setLocation=function(url){if(url!==$location.url()){$location.url(url);$rootScope.$digest()}};testability.whenStable=function(callback){$browser.notifyWhenNoOutstandingRequests(callback)};return testability}]}function $TimeoutProvider(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function($rootScope,$browser,$q,$$q,$exceptionHandler){var deferreds={};function timeout(fn,delay,invokeApply){if(!isFunction(fn)){invokeApply=delay;delay=fn;fn=noop}var timeoutId,args=sliceArgs(arguments,3),skipApply=isDefined(invokeApply)&&!invokeApply,deferred=(skipApply?$$q:$q).defer(),promise=deferred.promise;timeoutId=$browser.defer(function(){try{deferred.resolve(fn.apply(null,args))}catch(e){deferred.reject(e);$exceptionHandler(e)}finally{delete deferreds[promise.$$timeoutId]}skipApply||$rootScope.$apply()},delay);promise.$$timeoutId=timeoutId;deferreds[timeoutId]=deferred;return promise}timeout.cancel=function(promise){if(promise&&promise.$$timeoutId in deferreds){markQExceptionHandled(deferreds[promise.$$timeoutId].promise);deferreds[promise.$$timeoutId].reject("canceled");delete deferreds[promise.$$timeoutId];return $browser.defer.cancel(promise.$$timeoutId)}return false};return timeout}]}var urlParsingNode=window.document.createElement("a");var originUrl=urlResolve(window.location.href);function urlResolve(url){var href=url;if(msie){urlParsingNode.setAttribute("href",href);href=urlParsingNode.href}urlParsingNode.setAttribute("href",href);return{href:urlParsingNode.href,protocol:urlParsingNode.protocol?urlParsingNode.protocol.replace(/:$/,""):"",host:urlParsingNode.host,search:urlParsingNode.search?urlParsingNode.search.replace(/^\?/,""):"",hash:urlParsingNode.hash?urlParsingNode.hash.replace(/^#/,""):"",hostname:urlParsingNode.hostname,port:urlParsingNode.port,pathname:"/"===urlParsingNode.pathname.charAt(0)?urlParsingNode.pathname:"/"+urlParsingNode.pathname}}function urlIsSameOrigin(requestUrl){var parsed=isString(requestUrl)?urlResolve(requestUrl):requestUrl;return parsed.protocol===originUrl.protocol&&parsed.host===originUrl.host}function $WindowProvider(){this.$get=valueFn(window)}function $$CookieReader($document){var rawDocument=$document[0]||{};var lastCookies={};var lastCookieString="";function safeGetCookie(rawDocument){try{return rawDocument.cookie||""}catch(e){return""}}function safeDecodeURIComponent(str){try{return decodeURIComponent(str)}catch(e){return str}}return function(){var cookieArray,cookie,i,index,name;var currentCookieString=safeGetCookie(rawDocument);if(currentCookieString!==lastCookieString){lastCookieString=currentCookieString;cookieArray=lastCookieString.split("; ");lastCookies={};for(i=0;i<cookieArray.length;i++){cookie=cookieArray[i];index=cookie.indexOf("=");if(index>0){name=safeDecodeURIComponent(cookie.substring(0,index));isUndefined(lastCookies[name])&&(lastCookies[name]=safeDecodeURIComponent(cookie.substring(index+1)))}}}return lastCookies}}$$CookieReader.$inject=["$document"];function $$CookieReaderProvider(){this.$get=$$CookieReader}$FilterProvider.$inject=["$provide"];function $FilterProvider($provide){var suffix="Filter";function register(name,factory){if(isObject(name)){var filters={};forEach(name,function(filter,key){filters[key]=register(key,filter)});return filters}return $provide.factory(name+suffix,factory)}this.register=register;this.$get=["$injector",function($injector){return function(name){return $injector.get(name+suffix)}}];register("currency",currencyFilter);register("date",dateFilter);register("filter",filterFilter);register("json",jsonFilter);register("limitTo",limitToFilter);register("lowercase",lowercaseFilter);register("number",numberFilter);register("orderBy",orderByFilter);register("uppercase",uppercaseFilter)}function filterFilter(){return function(array,expression,comparator,anyPropertyKey){if(!isArrayLike(array)){if(null==array)return array;throw minErr("filter")("notarray","Expected array but received: {0}",array)}anyPropertyKey=anyPropertyKey||"$";var expressionType=getTypeForFilter(expression);var predicateFn;var matchAgainstAnyProp;switch(expressionType){case"function":predicateFn=expression;break;case"boolean":case"null":case"number":case"string":matchAgainstAnyProp=true;case"object":predicateFn=createPredicateFn(expression,comparator,anyPropertyKey,matchAgainstAnyProp);break;default:return array}return Array.prototype.filter.call(array,predicateFn)}}function createPredicateFn(expression,comparator,anyPropertyKey,matchAgainstAnyProp){var shouldMatchPrimitives=isObject(expression)&&anyPropertyKey in expression;var predicateFn;true===comparator?comparator=equals:isFunction(comparator)||(comparator=function(actual,expected){if(isUndefined(actual))return false;if(null===actual||null===expected)return actual===expected;if(isObject(expected)||isObject(actual)&&!hasCustomToString(actual))return false;actual=lowercase(""+actual);expected=lowercase(""+expected);return-1!==actual.indexOf(expected)});predicateFn=function(item){if(shouldMatchPrimitives&&!isObject(item))return deepCompare(item,expression[anyPropertyKey],comparator,anyPropertyKey,false);return deepCompare(item,expression,comparator,anyPropertyKey,matchAgainstAnyProp)};return predicateFn}function deepCompare(actual,expected,comparator,anyPropertyKey,matchAgainstAnyProp,dontMatchWholeObject){var actualType=getTypeForFilter(actual);var expectedType=getTypeForFilter(expected);if("string"===expectedType&&"!"===expected.charAt(0))return!deepCompare(actual,expected.substring(1),comparator,anyPropertyKey,matchAgainstAnyProp);if(isArray(actual))return actual.some(function(item){return deepCompare(item,expected,comparator,anyPropertyKey,matchAgainstAnyProp)});switch(actualType){case"object":var key;if(matchAgainstAnyProp){for(key in actual)if(key.charAt&&"$"!==key.charAt(0)&&deepCompare(actual[key],expected,comparator,anyPropertyKey,true))return true;return!dontMatchWholeObject&&deepCompare(actual,expected,comparator,anyPropertyKey,false)}if("object"===expectedType){for(key in expected){var expectedVal=expected[key];if(isFunction(expectedVal)||isUndefined(expectedVal))continue;var matchAnyProperty=key===anyPropertyKey;var actualVal=matchAnyProperty?actual:actual[key];if(!deepCompare(actualVal,expectedVal,comparator,anyPropertyKey,matchAnyProperty,matchAnyProperty))return false}return true}return comparator(actual,expected);case"function":return false;default:return comparator(actual,expected)}}function getTypeForFilter(val){return null===val?"null":typeof val}var MAX_DIGITS=22;var DECIMAL_SEP=".";var ZERO_CHAR="0";currencyFilter.$inject=["$locale"];function currencyFilter($locale){var formats=$locale.NUMBER_FORMATS;return function(amount,currencySymbol,fractionSize){isUndefined(currencySymbol)&&(currencySymbol=formats.CURRENCY_SYM);isUndefined(fractionSize)&&(fractionSize=formats.PATTERNS[1].maxFrac);var currencySymbolRe=currencySymbol?/\u00A4/g:/\s*\u00A4\s*/g;return null==amount?amount:formatNumber(amount,formats.PATTERNS[1],formats.GROUP_SEP,formats.DECIMAL_SEP,fractionSize).replace(currencySymbolRe,currencySymbol)}}numberFilter.$inject=["$locale"];function numberFilter($locale){var formats=$locale.NUMBER_FORMATS;return function(number,fractionSize){return null==number?number:formatNumber(number,formats.PATTERNS[0],formats.GROUP_SEP,formats.DECIMAL_SEP,fractionSize)}}function parse(numStr){var digits,numberOfIntegerDigits,exponent=0;var i,j,zeros;(numberOfIntegerDigits=numStr.indexOf(DECIMAL_SEP))>-1&&(numStr=numStr.replace(DECIMAL_SEP,""));if((i=numStr.search(/e/i))>0){numberOfIntegerDigits<0&&(numberOfIntegerDigits=i);numberOfIntegerDigits+=+numStr.slice(i+1);numStr=numStr.substring(0,i)}else numberOfIntegerDigits<0&&(numberOfIntegerDigits=numStr.length);for(i=0;numStr.charAt(i)===ZERO_CHAR;i++);if(i===(zeros=numStr.length)){digits=[0];numberOfIntegerDigits=1}else{zeros--;while(numStr.charAt(zeros)===ZERO_CHAR)zeros--;numberOfIntegerDigits-=i;digits=[];for(j=0;i<=zeros;i++,j++)digits[j]=+numStr.charAt(i)}if(numberOfIntegerDigits>MAX_DIGITS){digits=digits.splice(0,MAX_DIGITS-1);exponent=numberOfIntegerDigits-1;numberOfIntegerDigits=1}return{d:digits,e:exponent,i:numberOfIntegerDigits}}function roundNumber(parsedNumber,fractionSize,minFrac,maxFrac){var digits=parsedNumber.d;var fractionLen=digits.length-parsedNumber.i;fractionSize=isUndefined(fractionSize)?Math.min(Math.max(minFrac,fractionLen),maxFrac):+fractionSize;var roundAt=fractionSize+parsedNumber.i;var digit=digits[roundAt];if(roundAt>0){digits.splice(Math.max(parsedNumber.i,roundAt));for(var j=roundAt;j<digits.length;j++)digits[j]=0}else{fractionLen=Math.max(0,fractionLen);parsedNumber.i=1;digits.length=Math.max(1,roundAt=fractionSize+1);digits[0]=0;for(var i=1;i<roundAt;i++)digits[i]=0}if(digit>=5)if(roundAt-1<0){for(var k=0;k>roundAt;k--){digits.unshift(0);parsedNumber.i++}digits.unshift(1);parsedNumber.i++}else digits[roundAt-1]++;for(;fractionLen<Math.max(0,fractionSize);fractionLen++)digits.push(0);var carry=digits.reduceRight(function(carry,d,i,digits){d+=carry;digits[i]=d%10;return Math.floor(d/10)},0);if(carry){digits.unshift(carry);parsedNumber.i++}}function formatNumber(number,pattern,groupSep,decimalSep,fractionSize){if(!(isString(number)||isNumber(number))||isNaN(number))return"";var isInfinity=!isFinite(number);var isZero=false;var parsedNumber,numStr=Math.abs(number)+"",formattedText="";if(isInfinity)formattedText="∞";else{parsedNumber=parse(numStr);roundNumber(parsedNumber,fractionSize,pattern.minFrac,pattern.maxFrac);var digits=parsedNumber.d;var integerLen=parsedNumber.i;var exponent=parsedNumber.e;var decimals=[];isZero=digits.reduce(function(isZero,d){return isZero&&!d},true);while(integerLen<0){digits.unshift(0);integerLen++}if(integerLen>0)decimals=digits.splice(integerLen,digits.length);else{decimals=digits;digits=[0]}var groups=[];digits.length>=pattern.lgSize&&groups.unshift(digits.splice(-pattern.lgSize,digits.length).join(""));while(digits.length>pattern.gSize)groups.unshift(digits.splice(-pattern.gSize,digits.length).join(""));digits.length&&groups.unshift(digits.join(""));formattedText=groups.join(groupSep);decimals.length&&(formattedText+=decimalSep+decimals.join(""));exponent&&(formattedText+="e+"+exponent)}return number<0&&!isZero?pattern.negPre+formattedText+pattern.negSuf:pattern.posPre+formattedText+pattern.posSuf}function padNumber(num,digits,trim,negWrap){var neg="";if(num<0||negWrap&&num<=0)if(negWrap)num=1-num;else{num=-num;neg="-"}num=""+num;while(num.length<digits)num=ZERO_CHAR+num;trim&&(num=num.substr(num.length-digits));return neg+num}function dateGetter(name,size,offset,trim,negWrap){offset=offset||0;return function(date){var value=date["get"+name]();(offset>0||value>-offset)&&(value+=offset);0===value&&-12===offset&&(value=12);return padNumber(value,size,trim,negWrap)}}function dateStrGetter(name,shortForm,standAlone){return function(date,formats){var value=date["get"+name]();var propPrefix=(standAlone?"STANDALONE":"")+(shortForm?"SHORT":"");var get=uppercase(propPrefix+name);return formats[get][value]}}function timeZoneGetter(date,formats,offset){var zone=-1*offset;var paddedZone=zone>=0?"+":"";paddedZone+=padNumber(Math[zone>0?"floor":"ceil"](zone/60),2)+padNumber(Math.abs(zone%60),2);return paddedZone}function getFirstThursdayOfYear(year){var dayOfWeekOnFirst=new Date(year,0,1).getDay();return new Date(year,0,(dayOfWeekOnFirst<=4?5:12)-dayOfWeekOnFirst)}function getThursdayThisWeek(datetime){return new Date(datetime.getFullYear(),datetime.getMonth(),datetime.getDate()+(4-datetime.getDay()))}function weekGetter(size){return function(date){var firstThurs=getFirstThursdayOfYear(date.getFullYear()),thisThurs=getThursdayThisWeek(date);var diff=+thisThurs-+firstThurs,result=1+Math.round(diff/6048e5);return padNumber(result,size)}}function ampmGetter(date,formats){return date.getHours()<12?formats.AMPMS[0]:formats.AMPMS[1]}function eraGetter(date,formats){return date.getFullYear()<=0?formats.ERAS[0]:formats.ERAS[1]}function longEraGetter(date,formats){return date.getFullYear()<=0?formats.ERANAMES[0]:formats.ERANAMES[1]}var DATE_FORMATS={yyyy:dateGetter("FullYear",4,0,false,true),yy:dateGetter("FullYear",2,0,true,true),y:dateGetter("FullYear",1,0,false,true),MMMM:dateStrGetter("Month"),MMM:dateStrGetter("Month",true),MM:dateGetter("Month",2,1),M:dateGetter("Month",1,1),LLLL:dateStrGetter("Month",false,true),dd:dateGetter("Date",2),d:dateGetter("Date",1),HH:dateGetter("Hours",2),H:dateGetter("Hours",1),hh:dateGetter("Hours",2,-12),h:dateGetter("Hours",1,-12),mm:dateGetter("Minutes",2),m:dateGetter("Minutes",1),ss:dateGetter("Seconds",2),s:dateGetter("Seconds",1),sss:dateGetter("Milliseconds",3),EEEE:dateStrGetter("Day"),EEE:dateStrGetter("Day",true),a:ampmGetter,Z:timeZoneGetter,ww:weekGetter(2),w:weekGetter(1),G:eraGetter,GG:eraGetter,GGG:eraGetter,GGGG:longEraGetter};var DATE_FORMATS_SPLIT=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,NUMBER_STRING=/^-?\d+$/;dateFilter.$inject=["$locale"];function dateFilter($locale){var R_ISO8601_STR=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;function jsonStringToDate(string){var match;if(match=string.match(R_ISO8601_STR)){var date=new Date(0),tzHour=0,tzMin=0,dateSetter=match[8]?date.setUTCFullYear:date.setFullYear,timeSetter=match[8]?date.setUTCHours:date.setHours;if(match[9]){tzHour=toInt(match[9]+match[10]);tzMin=toInt(match[9]+match[11])}dateSetter.call(date,toInt(match[1]),toInt(match[2])-1,toInt(match[3]));var h=toInt(match[4]||0)-tzHour;var m=toInt(match[5]||0)-tzMin;var s=toInt(match[6]||0);var ms=Math.round(1e3*parseFloat("0."+(match[7]||0)));timeSetter.call(date,h,m,s,ms);return date}return string}return function(date,format,timezone){var fn,match,text="",parts=[];format=format||"mediumDate";format=$locale.DATETIME_FORMATS[format]||format;isString(date)&&(date=NUMBER_STRING.test(date)?toInt(date):jsonStringToDate(date));isNumber(date)&&(date=new Date(date));if(!isDate(date)||!isFinite(date.getTime()))return date;while(format){match=DATE_FORMATS_SPLIT.exec(format);if(match){parts=concat(parts,match,1);format=parts.pop()}else{parts.push(format);format=null}}var dateTimezoneOffset=date.getTimezoneOffset();if(timezone){dateTimezoneOffset=timezoneToOffset(timezone,dateTimezoneOffset);date=convertTimezoneToLocal(date,timezone,true)}forEach(parts,function(value){fn=DATE_FORMATS[value];text+=fn?fn(date,$locale.DATETIME_FORMATS,dateTimezoneOffset):"''"===value?"'":value.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return text}}function jsonFilter(){return function(object,spacing){isUndefined(spacing)&&(spacing=2);return toJson(object,spacing)}}var lowercaseFilter=valueFn(lowercase);var uppercaseFilter=valueFn(uppercase);function limitToFilter(){return function(input,limit,begin){limit=Infinity===Math.abs(Number(limit))?Number(limit):toInt(limit);if(isNumberNaN(limit))return input;isNumber(input)&&(input=input.toString());if(!isArrayLike(input))return input;begin=!begin||isNaN(begin)?0:toInt(begin);begin=begin<0?Math.max(0,input.length+begin):begin;return limit>=0?sliceFn(input,begin,begin+limit):0===begin?sliceFn(input,limit,input.length):sliceFn(input,Math.max(0,begin+limit),begin)}}function sliceFn(input,begin,end){if(isString(input))return input.slice(begin,end);return slice.call(input,begin,end)}orderByFilter.$inject=["$parse"];function orderByFilter($parse){return function(array,sortPredicate,reverseOrder,compareFn){if(null==array)return array;if(!isArrayLike(array))throw minErr("orderBy")("notarray","Expected array but received: {0}",array);isArray(sortPredicate)||(sortPredicate=[sortPredicate]);0===sortPredicate.length&&(sortPredicate=["+"]);var predicates=processPredicates(sortPredicate);var descending=reverseOrder?-1:1;var compare=isFunction(compareFn)?compareFn:defaultCompare;var compareValues=Array.prototype.map.call(array,getComparisonObject);compareValues.sort(doComparison);array=compareValues.map(function(item){return item.value});return array;function getComparisonObject(value,index){return{value:value,tieBreaker:{value:index,type:"number",index:index},predicateValues:predicates.map(function(predicate){return getPredicateValue(predicate.get(value),index)})}}function doComparison(v1,v2){for(var i=0,ii=predicates.length;i<ii;i++){var result=compare(v1.predicateValues[i],v2.predicateValues[i]);if(result)return result*predicates[i].descending*descending}return(compare(v1.tieBreaker,v2.tieBreaker)||defaultCompare(v1.tieBreaker,v2.tieBreaker))*descending}};function processPredicates(sortPredicates){return sortPredicates.map(function(predicate){var descending=1,get=identity;if(isFunction(predicate))get=predicate;else if(isString(predicate)){if("+"===predicate.charAt(0)||"-"===predicate.charAt(0)){descending="-"===predicate.charAt(0)?-1:1;predicate=predicate.substring(1)}if(""!==predicate){get=$parse(predicate);if(get.constant){var key=get();get=function(value){return value[key]}}}}return{get:get,descending:descending}})}function isPrimitive(value){switch(typeof value){case"number":case"boolean":case"string":return true;default:return false}}function objectValue(value){if(isFunction(value.valueOf)){value=value.valueOf();if(isPrimitive(value))return value}if(hasCustomToString(value)){value=value.toString();if(isPrimitive(value))return value}return value}function getPredicateValue(value,index){var type=typeof value;if(null===value){type="string";value="null"}else"object"===type&&(value=objectValue(value));return{value:value,type:type,index:index}}function defaultCompare(v1,v2){var result=0;var type1=v1.type;var type2=v2.type;if(type1===type2){var value1=v1.value;var value2=v2.value;if("string"===type1){value1=value1.toLowerCase();value2=value2.toLowerCase()}else if("object"===type1){isObject(value1)&&(value1=v1.index);isObject(value2)&&(value2=v2.index)}value1!==value2&&(result=value1<value2?-1:1)}else result=type1<type2?-1:1;return result}}function ngDirective(directive){isFunction(directive)&&(directive={link:directive});directive.restrict=directive.restrict||"AC";return valueFn(directive)}var htmlAnchorDirective=valueFn({restrict:"E",compile:function(element,attr){if(!attr.href&&!attr.xlinkHref)return function(scope,element){if("a"!==element[0].nodeName.toLowerCase())return;var href="[object SVGAnimatedString]"===toString.call(element.prop("href"))?"xlink:href":"href";element.on("click",function(event){element.attr(href)||event.preventDefault()})}}});var ngAttributeAliasDirectives={};forEach(BOOLEAN_ATTR,function(propName,attrName){if("multiple"===propName)return;function defaultLinkFn(scope,element,attr){scope.$watch(attr[normalized],function ngBooleanAttrWatchAction(value){attr.$set(attrName,!!value)})}var normalized=directiveNormalize("ng-"+attrName);var linkFn=defaultLinkFn;"checked"===propName&&(linkFn=function(scope,element,attr){attr.ngModel!==attr[normalized]&&defaultLinkFn(scope,element,attr)});ngAttributeAliasDirectives[normalized]=function(){return{restrict:"A",priority:100,link:linkFn}}});forEach(ALIASED_ATTR,function(htmlAttr,ngAttr){ngAttributeAliasDirectives[ngAttr]=function(){return{priority:100,link:function(scope,element,attr){if("ngPattern"===ngAttr&&"/"===attr.ngPattern.charAt(0)){var match=attr.ngPattern.match(REGEX_STRING_REGEXP);if(match){attr.$set("ngPattern",new RegExp(match[1],match[2]));return}}scope.$watch(attr[ngAttr],function ngAttrAliasWatchAction(value){attr.$set(ngAttr,value)})}}}});forEach(["src","srcset","href"],function(attrName){var normalized=directiveNormalize("ng-"+attrName);ngAttributeAliasDirectives[normalized]=function(){return{priority:99,link:function(scope,element,attr){var propName=attrName,name=attrName;if("href"===attrName&&"[object SVGAnimatedString]"===toString.call(element.prop("href"))){name="xlinkHref";attr.$attr[name]="xlink:href";propName=null}attr.$observe(normalized,function(value){if(!value){"href"===attrName&&attr.$set(name,null);return}attr.$set(name,value);msie&&propName&&element.prop(propName,attr[name])})}}}});var nullFormCtrl={$addControl:noop,$$renameControl:nullFormRenameControl,$removeControl:noop,$setValidity:noop,$setDirty:noop,$setPristine:noop,$setSubmitted:noop},PENDING_CLASS="ng-pending",SUBMITTED_CLASS="ng-submitted";function nullFormRenameControl(control,name){control.$name=name}FormController.$inject=["$element","$attrs","$scope","$animate","$interpolate"];function FormController($element,$attrs,$scope,$animate,$interpolate){this.$$controls=[];this.$error={};this.$$success={};this.$pending=void 0;this.$name=$interpolate($attrs.name||$attrs.ngForm||"")($scope);this.$dirty=false;this.$pristine=true;this.$valid=true;this.$invalid=false;this.$submitted=false;this.$$parentForm=nullFormCtrl;this.$$element=$element;this.$$animate=$animate;setupValidity(this)}FormController.prototype={$rollbackViewValue:function(){forEach(this.$$controls,function(control){control.$rollbackViewValue()})},$commitViewValue:function(){forEach(this.$$controls,function(control){control.$commitViewValue()})},$addControl:function(control){assertNotHasOwnProperty(control.$name,"input");this.$$controls.push(control);control.$name&&(this[control.$name]=control);control.$$parentForm=this},$$renameControl:function(control,newName){var oldName=control.$name;this[oldName]===control&&delete this[oldName];this[newName]=control;control.$name=newName},$removeControl:function(control){control.$name&&this[control.$name]===control&&delete this[control.$name];forEach(this.$pending,function(value,name){this.$setValidity(name,null,control)},this);forEach(this.$error,function(value,name){this.$setValidity(name,null,control)},this);forEach(this.$$success,function(value,name){this.$setValidity(name,null,control)},this);arrayRemove(this.$$controls,control);control.$$parentForm=nullFormCtrl},$setDirty:function(){this.$$animate.removeClass(this.$$element,PRISTINE_CLASS);this.$$animate.addClass(this.$$element,DIRTY_CLASS);this.$dirty=true;this.$pristine=false;this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,PRISTINE_CLASS,DIRTY_CLASS+" "+SUBMITTED_CLASS);this.$dirty=false;this.$pristine=true;this.$submitted=false;forEach(this.$$controls,function(control){control.$setPristine()})},$setUntouched:function(){forEach(this.$$controls,function(control){control.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,SUBMITTED_CLASS);this.$submitted=true;this.$$parentForm.$setSubmitted()}};addSetValidityMethod({clazz:FormController,set:function(object,property,controller){var list=object[property];if(list){var index=list.indexOf(controller);-1===index&&list.push(controller)}else object[property]=[controller]},unset:function(object,property,controller){var list=object[property];if(!list)return;arrayRemove(list,controller);0===list.length&&delete object[property]}});var formDirectiveFactory=function(isNgForm){return["$timeout","$parse",function($timeout,$parse){var formDirective={name:"form",restrict:isNgForm?"EAC":"E",require:["form","^^?form"],controller:FormController,compile:function ngFormCompile(formElement,attr){formElement.addClass(PRISTINE_CLASS).addClass(VALID_CLASS);var nameAttr=attr.name?"name":!(!isNgForm||!attr.ngForm)&&"ngForm";return{pre:function ngFormPreLink(scope,formElement,attr,ctrls){var controller=ctrls[0];if(!("action"in attr)){var handleFormSubmission=function(event){scope.$apply(function(){controller.$commitViewValue();controller.$setSubmitted()});event.preventDefault()};formElement[0].addEventListener("submit",handleFormSubmission);formElement.on("$destroy",function(){$timeout(function(){formElement[0].removeEventListener("submit",handleFormSubmission)},0,false)})}var parentFormCtrl=ctrls[1]||controller.$$parentForm;parentFormCtrl.$addControl(controller);var setter=nameAttr?getSetter(controller.$name):noop;if(nameAttr){setter(scope,controller);attr.$observe(nameAttr,function(newValue){if(controller.$name===newValue)return;setter(scope,void 0);controller.$$parentForm.$$renameControl(controller,newValue);setter=getSetter(controller.$name);setter(scope,controller)})}formElement.on("$destroy",function(){controller.$$parentForm.$removeControl(controller);setter(scope,void 0);extend(controller,nullFormCtrl)})}}}};return formDirective;function getSetter(expression){if(""===expression)return $parse('this[""]').assign;return $parse(expression).assign||noop}}]};var formDirective=formDirectiveFactory();var ngFormDirective=formDirectiveFactory(true);function setupValidity(instance){instance.$$classCache={};instance.$$classCache[INVALID_CLASS]=!(instance.$$classCache[VALID_CLASS]=instance.$$element.hasClass(VALID_CLASS))}function addSetValidityMethod(context){var clazz=context.clazz,set=context.set,unset=context.unset;clazz.prototype.$setValidity=function(validationErrorKey,state,controller){isUndefined(state)?createAndSet(this,"$pending",validationErrorKey,controller):unsetAndCleanup(this,"$pending",validationErrorKey,controller);if(isBoolean(state))if(state){unset(this.$error,validationErrorKey,controller);set(this.$$success,validationErrorKey,controller)}else{set(this.$error,validationErrorKey,controller);unset(this.$$success,validationErrorKey,controller)}else{unset(this.$error,validationErrorKey,controller);unset(this.$$success,validationErrorKey,controller)}if(this.$pending){cachedToggleClass(this,PENDING_CLASS,true);this.$valid=this.$invalid=void 0;toggleValidationCss(this,"",null)}else{cachedToggleClass(this,PENDING_CLASS,false);this.$valid=isObjectEmpty(this.$error);this.$invalid=!this.$valid;toggleValidationCss(this,"",this.$valid)}var combinedState;combinedState=this.$pending&&this.$pending[validationErrorKey]?void 0:!this.$error[validationErrorKey]&&(!!this.$$success[validationErrorKey]||null);toggleValidationCss(this,validationErrorKey,combinedState);this.$$parentForm.$setValidity(validationErrorKey,combinedState,this)};function createAndSet(ctrl,name,value,controller){ctrl[name]||(ctrl[name]={});set(ctrl[name],value,controller)}function unsetAndCleanup(ctrl,name,value,controller){ctrl[name]&&unset(ctrl[name],value,controller);isObjectEmpty(ctrl[name])&&(ctrl[name]=void 0)}function cachedToggleClass(ctrl,className,switchValue){if(switchValue&&!ctrl.$$classCache[className]){ctrl.$$animate.addClass(ctrl.$$element,className);ctrl.$$classCache[className]=true}else if(!switchValue&&ctrl.$$classCache[className]){ctrl.$$animate.removeClass(ctrl.$$element,className);ctrl.$$classCache[className]=false}}function toggleValidationCss(ctrl,validationErrorKey,isValid){validationErrorKey=validationErrorKey?"-"+snake_case(validationErrorKey,"-"):"";cachedToggleClass(ctrl,VALID_CLASS+validationErrorKey,true===isValid);cachedToggleClass(ctrl,INVALID_CLASS+validationErrorKey,false===isValid)}}function isObjectEmpty(obj){if(obj)for(var prop in obj)if(obj.hasOwnProperty(prop))return false;return true}var ISO_DATE_REGEXP=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/;var URL_REGEXP=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i;var EMAIL_REGEXP=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/;var NUMBER_REGEXP=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/;var DATE_REGEXP=/^(\d{4,})-(\d{2})-(\d{2})$/;var DATETIMELOCAL_REGEXP=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/;var WEEK_REGEXP=/^(\d{4,})-W(\d\d)$/;var MONTH_REGEXP=/^(\d{4,})-(\d\d)$/;var TIME_REGEXP=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/;var PARTIAL_VALIDATION_EVENTS="keydown wheel mousedown";var PARTIAL_VALIDATION_TYPES=createMap();forEach("date,datetime-local,month,time,week".split(","),function(type){PARTIAL_VALIDATION_TYPES[type]=true});var inputType={text:textInputType,date:createDateInputType("date",DATE_REGEXP,createDateParser(DATE_REGEXP,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":createDateInputType("datetimelocal",DATETIMELOCAL_REGEXP,createDateParser(DATETIMELOCAL_REGEXP,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:createDateInputType("time",TIME_REGEXP,createDateParser(TIME_REGEXP,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:createDateInputType("week",WEEK_REGEXP,weekParser,"yyyy-Www"),month:createDateInputType("month",MONTH_REGEXP,createDateParser(MONTH_REGEXP,["yyyy","MM"]),"yyyy-MM"),number:numberInputType,url:urlInputType,email:emailInputType,radio:radioInputType,range:rangeInputType,checkbox:checkboxInputType,hidden:noop,button:noop,submit:noop,reset:noop,file:noop};function stringBasedInputType(ctrl){ctrl.$formatters.push(function(value){return ctrl.$isEmpty(value)?value:value.toString()})}function textInputType(scope,element,attr,ctrl,$sniffer,$browser){baseInputType(scope,element,attr,ctrl,$sniffer,$browser);stringBasedInputType(ctrl)}function baseInputType(scope,element,attr,ctrl,$sniffer,$browser){var type=lowercase(element[0].type);if(!$sniffer.android){var composing=false;element.on("compositionstart",function(){composing=true});element.on("compositionend",function(){composing=false;listener()})}var timeout;var listener=function(ev){if(timeout){$browser.defer.cancel(timeout);timeout=null}if(composing)return;var value=element.val(),event=ev&&ev.type;"password"===type||attr.ngTrim&&"false"===attr.ngTrim||(value=trim(value));(ctrl.$viewValue!==value||""===value&&ctrl.$$hasNativeValidators)&&ctrl.$setViewValue(value,event)};if($sniffer.hasEvent("input"))element.on("input",listener);else{var deferListener=function(ev,input,origValue){timeout||(timeout=$browser.defer(function(){timeout=null;input&&input.value===origValue||listener(ev)}))};element.on("keydown",function(event){var key=event.keyCode;if(91===key||15<key&&key<19||37<=key&&key<=40)return;deferListener(event,this,this.value)});$sniffer.hasEvent("paste")&&element.on("paste cut drop",deferListener)}element.on("change",listener);PARTIAL_VALIDATION_TYPES[type]&&ctrl.$$hasNativeValidators&&type===attr.type&&element.on(PARTIAL_VALIDATION_EVENTS,function(ev){if(!timeout){var validity=this[VALIDITY_STATE_PROPERTY];var origBadInput=validity.badInput;var origTypeMismatch=validity.typeMismatch;timeout=$browser.defer(function(){timeout=null;validity.badInput===origBadInput&&validity.typeMismatch===origTypeMismatch||listener(ev)})}});ctrl.$render=function(){var value=ctrl.$isEmpty(ctrl.$viewValue)?"":ctrl.$viewValue;element.val()!==value&&element.val(value)}}function weekParser(isoWeek,existingDate){if(isDate(isoWeek))return isoWeek;if(isString(isoWeek)){WEEK_REGEXP.lastIndex=0;var parts=WEEK_REGEXP.exec(isoWeek);if(parts){var year=+parts[1],week=+parts[2],hours=0,minutes=0,seconds=0,milliseconds=0,firstThurs=getFirstThursdayOfYear(year),addDays=7*(week-1);if(existingDate){hours=existingDate.getHours();minutes=existingDate.getMinutes();seconds=existingDate.getSeconds();milliseconds=existingDate.getMilliseconds()}return new Date(year,0,firstThurs.getDate()+addDays,hours,minutes,seconds,milliseconds)}}return NaN}function createDateParser(regexp,mapping){return function(iso,date){var parts,map;if(isDate(iso))return iso;if(isString(iso)){'"'===iso.charAt(0)&&'"'===iso.charAt(iso.length-1)&&(iso=iso.substring(1,iso.length-1));if(ISO_DATE_REGEXP.test(iso))return new Date(iso);regexp.lastIndex=0;parts=regexp.exec(iso);if(parts){parts.shift();map=date?{yyyy:date.getFullYear(),MM:date.getMonth()+1,dd:date.getDate(),HH:date.getHours(),mm:date.getMinutes(),ss:date.getSeconds(),sss:date.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0};forEach(parts,function(part,index){index<mapping.length&&(map[mapping[index]]=+part)});return new Date(map.yyyy,map.MM-1,map.dd,map.HH,map.mm,map.ss||0,1e3*map.sss||0)}}return NaN}}function createDateInputType(type,regexp,parseDate,format){return function dynamicDateInputType(scope,element,attr,ctrl,$sniffer,$browser,$filter){badInputChecker(scope,element,attr,ctrl);baseInputType(scope,element,attr,ctrl,$sniffer,$browser);var timezone=ctrl&&ctrl.$options.getOption("timezone");var previousDate;ctrl.$$parserName=type;ctrl.$parsers.push(function(value){if(ctrl.$isEmpty(value))return null;if(regexp.test(value)){var parsedDate=parseDate(value,previousDate);timezone&&(parsedDate=convertTimezoneToLocal(parsedDate,timezone));return parsedDate}return});ctrl.$formatters.push(function(value){if(value&&!isDate(value))throw ngModelMinErr("datefmt","Expected `{0}` to be a date",value);if(isValidDate(value)){previousDate=value;previousDate&&timezone&&(previousDate=convertTimezoneToLocal(previousDate,timezone,true));return $filter("date")(value,format,timezone)}previousDate=null;return""});if(isDefined(attr.min)||attr.ngMin){var minVal;ctrl.$validators.min=function(value){return!isValidDate(value)||isUndefined(minVal)||parseDate(value)>=minVal};attr.$observe("min",function(val){minVal=parseObservedDateValue(val);ctrl.$validate()})}if(isDefined(attr.max)||attr.ngMax){var maxVal;ctrl.$validators.max=function(value){return!isValidDate(value)||isUndefined(maxVal)||parseDate(value)<=maxVal};attr.$observe("max",function(val){maxVal=parseObservedDateValue(val);ctrl.$validate()})}function isValidDate(value){return value&&!(value.getTime&&value.getTime()!==value.getTime())}function parseObservedDateValue(val){return isDefined(val)&&!isDate(val)?parseDate(val)||void 0:val}}}function badInputChecker(scope,element,attr,ctrl){var node=element[0];var nativeValidation=ctrl.$$hasNativeValidators=isObject(node.validity);nativeValidation&&ctrl.$parsers.push(function(value){var validity=element.prop(VALIDITY_STATE_PROPERTY)||{};return validity.badInput||validity.typeMismatch?void 0:value})}function numberFormatterParser(ctrl){ctrl.$$parserName="number";ctrl.$parsers.push(function(value){if(ctrl.$isEmpty(value))return null;if(NUMBER_REGEXP.test(value))return parseFloat(value);return});ctrl.$formatters.push(function(value){if(!ctrl.$isEmpty(value)){if(!isNumber(value))throw ngModelMinErr("numfmt","Expected `{0}` to be a number",value);value=value.toString()}return value})}function parseNumberAttrVal(val){isDefined(val)&&!isNumber(val)&&(val=parseFloat(val));return isNumberNaN(val)?void 0:val}function isNumberInteger(num){return(0|num)===num}function countDecimals(num){var numString=num.toString();var decimalSymbolIndex=numString.indexOf(".");if(-1===decimalSymbolIndex){if(-1<num&&num<1){var match=/e-(\d+)$/.exec(numString);if(match)return Number(match[1])}return 0}return numString.length-decimalSymbolIndex-1}function isValidForStep(viewValue,stepBase,step){var value=Number(viewValue);var isNonIntegerValue=!isNumberInteger(value);var isNonIntegerStepBase=!isNumberInteger(stepBase);var isNonIntegerStep=!isNumberInteger(step);if(isNonIntegerValue||isNonIntegerStepBase||isNonIntegerStep){var valueDecimals=isNonIntegerValue?countDecimals(value):0;var stepBaseDecimals=isNonIntegerStepBase?countDecimals(stepBase):0;var stepDecimals=isNonIntegerStep?countDecimals(step):0;var decimalCount=Math.max(valueDecimals,stepBaseDecimals,stepDecimals);var multiplier=Math.pow(10,decimalCount);value*=multiplier;stepBase*=multiplier;step*=multiplier;isNonIntegerValue&&(value=Math.round(value));isNonIntegerStepBase&&(stepBase=Math.round(stepBase));isNonIntegerStep&&(step=Math.round(step))}return(value-stepBase)%step===0}function numberInputType(scope,element,attr,ctrl,$sniffer,$browser){badInputChecker(scope,element,attr,ctrl);numberFormatterParser(ctrl);baseInputType(scope,element,attr,ctrl,$sniffer,$browser);var minVal;var maxVal;if(isDefined(attr.min)||attr.ngMin){ctrl.$validators.min=function(value){return ctrl.$isEmpty(value)||isUndefined(minVal)||value>=minVal};attr.$observe("min",function(val){minVal=parseNumberAttrVal(val);ctrl.$validate()})}if(isDefined(attr.max)||attr.ngMax){ctrl.$validators.max=function(value){return ctrl.$isEmpty(value)||isUndefined(maxVal)||value<=maxVal};attr.$observe("max",function(val){maxVal=parseNumberAttrVal(val);ctrl.$validate()})}if(isDefined(attr.step)||attr.ngStep){var stepVal;ctrl.$validators.step=function(modelValue,viewValue){return ctrl.$isEmpty(viewValue)||isUndefined(stepVal)||isValidForStep(viewValue,minVal||0,stepVal)};attr.$observe("step",function(val){stepVal=parseNumberAttrVal(val);ctrl.$validate()})}}function rangeInputType(scope,element,attr,ctrl,$sniffer,$browser){badInputChecker(scope,element,attr,ctrl);numberFormatterParser(ctrl);baseInputType(scope,element,attr,ctrl,$sniffer,$browser);var supportsRange=ctrl.$$hasNativeValidators&&"range"===element[0].type,minVal=supportsRange?0:void 0,maxVal=supportsRange?100:void 0,stepVal=supportsRange?1:void 0,validity=element[0].validity,hasMinAttr=isDefined(attr.min),hasMaxAttr=isDefined(attr.max),hasStepAttr=isDefined(attr.step);var originalRender=ctrl.$render;ctrl.$render=supportsRange&&isDefined(validity.rangeUnderflow)&&isDefined(validity.rangeOverflow)?function rangeRender(){originalRender();ctrl.$setViewValue(element.val())}:originalRender;if(hasMinAttr){ctrl.$validators.min=supportsRange?function noopMinValidator(){return true}:function minValidator(modelValue,viewValue){return ctrl.$isEmpty(viewValue)||isUndefined(minVal)||viewValue>=minVal};setInitialValueAndObserver("min",minChange)}if(hasMaxAttr){ctrl.$validators.max=supportsRange?function noopMaxValidator(){return true}:function maxValidator(modelValue,viewValue){return ctrl.$isEmpty(viewValue)||isUndefined(maxVal)||viewValue<=maxVal};setInitialValueAndObserver("max",maxChange)}if(hasStepAttr){ctrl.$validators.step=supportsRange?function nativeStepValidator(){return!validity.stepMismatch}:function stepValidator(modelValue,viewValue){return ctrl.$isEmpty(viewValue)||isUndefined(stepVal)||isValidForStep(viewValue,minVal||0,stepVal)};setInitialValueAndObserver("step",stepChange)}function setInitialValueAndObserver(htmlAttrName,changeFn){element.attr(htmlAttrName,attr[htmlAttrName]);attr.$observe(htmlAttrName,changeFn)}function minChange(val){minVal=parseNumberAttrVal(val);if(isNumberNaN(ctrl.$modelValue))return;if(supportsRange){var elVal=element.val();if(minVal>elVal){elVal=minVal;element.val(elVal)}ctrl.$setViewValue(elVal)}else ctrl.$validate()}function maxChange(val){maxVal=parseNumberAttrVal(val);if(isNumberNaN(ctrl.$modelValue))return;if(supportsRange){var elVal=element.val();if(maxVal<elVal){element.val(maxVal);elVal=maxVal<minVal?minVal:maxVal}ctrl.$setViewValue(elVal)}else ctrl.$validate()}function stepChange(val){stepVal=parseNumberAttrVal(val);if(isNumberNaN(ctrl.$modelValue))return;supportsRange&&ctrl.$viewValue!==element.val()?ctrl.$setViewValue(element.val()):ctrl.$validate()}}function urlInputType(scope,element,attr,ctrl,$sniffer,$browser){baseInputType(scope,element,attr,ctrl,$sniffer,$browser);stringBasedInputType(ctrl);ctrl.$$parserName="url";ctrl.$validators.url=function(modelValue,viewValue){var value=modelValue||viewValue;return ctrl.$isEmpty(value)||URL_REGEXP.test(value)}}function emailInputType(scope,element,attr,ctrl,$sniffer,$browser){baseInputType(scope,element,attr,ctrl,$sniffer,$browser);stringBasedInputType(ctrl);ctrl.$$parserName="email";ctrl.$validators.email=function(modelValue,viewValue){var value=modelValue||viewValue;return ctrl.$isEmpty(value)||EMAIL_REGEXP.test(value)}}function radioInputType(scope,element,attr,ctrl){var doTrim=!attr.ngTrim||"false"!==trim(attr.ngTrim);isUndefined(attr.name)&&element.attr("name",nextUid());var listener=function(ev){var value;if(element[0].checked){value=attr.value;doTrim&&(value=trim(value));ctrl.$setViewValue(value,ev&&ev.type)}};element.on("click",listener);ctrl.$render=function(){var value=attr.value;doTrim&&(value=trim(value));element[0].checked=value===ctrl.$viewValue};attr.$observe("value",ctrl.$render)}function parseConstantExpr($parse,context,name,expression,fallback){var parseFn;if(isDefined(expression)){parseFn=$parse(expression);if(!parseFn.constant)throw ngModelMinErr("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",name,expression);return parseFn(context)}return fallback}function checkboxInputType(scope,element,attr,ctrl,$sniffer,$browser,$filter,$parse){var trueValue=parseConstantExpr($parse,scope,"ngTrueValue",attr.ngTrueValue,true);var falseValue=parseConstantExpr($parse,scope,"ngFalseValue",attr.ngFalseValue,false);var listener=function(ev){ctrl.$setViewValue(element[0].checked,ev&&ev.type)};element.on("click",listener);ctrl.$render=function(){element[0].checked=ctrl.$viewValue};ctrl.$isEmpty=function(value){return false===value};ctrl.$formatters.push(function(value){return equals(value,trueValue)});ctrl.$parsers.push(function(value){return value?trueValue:falseValue})}var inputDirective=["$browser","$sniffer","$filter","$parse",function($browser,$sniffer,$filter,$parse){return{restrict:"E",require:["?ngModel"],link:{pre:function(scope,element,attr,ctrls){ctrls[0]&&(inputType[lowercase(attr.type)]||inputType.text)(scope,element,attr,ctrls[0],$sniffer,$browser,$filter,$parse)}}}}];var CONSTANT_VALUE_REGEXP=/^(true|false|\d+)$/;var ngValueDirective=function(){function updateElementValue(element,attr,value){var propValue=isDefined(value)?value:9===msie?"":null;element.prop("value",propValue);attr.$set("value",value)}return{restrict:"A",priority:100,compile:function(tpl,tplAttr){return CONSTANT_VALUE_REGEXP.test(tplAttr.ngValue)?function ngValueConstantLink(scope,elm,attr){var value=scope.$eval(attr.ngValue);updateElementValue(elm,attr,value)}:function ngValueLink(scope,elm,attr){scope.$watch(attr.ngValue,function valueWatchAction(value){updateElementValue(elm,attr,value)})}}}};var ngBindDirective=["$compile",function($compile){return{restrict:"AC",compile:function ngBindCompile(templateElement){$compile.$$addBindingClass(templateElement);return function ngBindLink(scope,element,attr){$compile.$$addBindingInfo(element,attr.ngBind);element=element[0];scope.$watch(attr.ngBind,function ngBindWatchAction(value){element.textContent=stringify(value)})}}}}];var ngBindTemplateDirective=["$interpolate","$compile",function($interpolate,$compile){return{compile:function ngBindTemplateCompile(templateElement){$compile.$$addBindingClass(templateElement);return function ngBindTemplateLink(scope,element,attr){var interpolateFn=$interpolate(element.attr(attr.$attr.ngBindTemplate));$compile.$$addBindingInfo(element,interpolateFn.expressions);element=element[0];attr.$observe("ngBindTemplate",function(value){element.textContent=isUndefined(value)?"":value})}}}}];var ngBindHtmlDirective=["$sce","$parse","$compile",function($sce,$parse,$compile){return{restrict:"A",compile:function ngBindHtmlCompile(tElement,tAttrs){var ngBindHtmlGetter=$parse(tAttrs.ngBindHtml);var ngBindHtmlWatch=$parse(tAttrs.ngBindHtml,function sceValueOf(val){return $sce.valueOf(val)});$compile.$$addBindingClass(tElement);return function ngBindHtmlLink(scope,element,attr){$compile.$$addBindingInfo(element,attr.ngBindHtml);scope.$watch(ngBindHtmlWatch,function ngBindHtmlWatchAction(){var value=ngBindHtmlGetter(scope);element.html($sce.getTrustedHtml(value)||"")})}}}}];var ngChangeDirective=valueFn({restrict:"A",require:"ngModel",link:function(scope,element,attr,ctrl){ctrl.$viewChangeListeners.push(function(){scope.$eval(attr.ngChange)})}});function classDirective(name,selector){name="ngClass"+name;var indexWatchExpression;return["$parse",function($parse){return{restrict:"AC",link:function(scope,element,attr){var expression=attr[name].trim();var isOneTime=":"===expression.charAt(0)&&":"===expression.charAt(1);var watchInterceptor=isOneTime?toFlatValue:toClassString;var watchExpression=$parse(expression,watchInterceptor);var watchAction=isOneTime?ngClassOneTimeWatchAction:ngClassWatchAction;var classCounts=element.data("$classCounts");var oldModulo=true;var oldClassString;if(!classCounts){classCounts=createMap();element.data("$classCounts",classCounts)}if("ngClass"!==name){indexWatchExpression||(indexWatchExpression=$parse("$index",function moduloTwo($index){return 1&$index}));scope.$watch(indexWatchExpression,ngClassIndexWatchAction)}scope.$watch(watchExpression,watchAction,isOneTime);function addClasses(classString){classString=digestClassCounts(split(classString),1);attr.$addClass(classString)}function removeClasses(classString){classString=digestClassCounts(split(classString),-1);attr.$removeClass(classString)}function updateClasses(oldClassString,newClassString){var oldClassArray=split(oldClassString);var newClassArray=split(newClassString);var toRemoveArray=arrayDifference(oldClassArray,newClassArray);var toAddArray=arrayDifference(newClassArray,oldClassArray);var toRemoveString=digestClassCounts(toRemoveArray,-1);var toAddString=digestClassCounts(toAddArray,1);attr.$addClass(toAddString);attr.$removeClass(toRemoveString)}function digestClassCounts(classArray,count){var classesToUpdate=[];forEach(classArray,function(className){if(count>0||classCounts[className]){classCounts[className]=(classCounts[className]||0)+count;classCounts[className]===+(count>0)&&classesToUpdate.push(className)}});return classesToUpdate.join(" ")}function ngClassIndexWatchAction(newModulo){newModulo===selector?addClasses(oldClassString):removeClasses(oldClassString);oldModulo=newModulo}function ngClassOneTimeWatchAction(newClassValue){var newClassString=toClassString(newClassValue);newClassString!==oldClassString&&ngClassWatchAction(newClassString)}function ngClassWatchAction(newClassString){oldModulo===selector&&updateClasses(oldClassString,newClassString);oldClassString=newClassString}}}}];function arrayDifference(tokens1,tokens2){if(!tokens1||!tokens1.length)return[];if(!tokens2||!tokens2.length)return tokens1;var values=[];outer:for(var i=0;i<tokens1.length;i++){var token=tokens1[i];for(var j=0;j<tokens2.length;j++)if(token===tokens2[j])continue outer;values.push(token)}return values}function split(classString){return classString&&classString.split(" ")}function toClassString(classValue){var classString=classValue;isArray(classValue)?classString=classValue.map(toClassString).join(" "):isObject(classValue)&&(classString=Object.keys(classValue).filter(function(key){return classValue[key]}).join(" "));return classString}function toFlatValue(classValue){var flatValue=classValue;if(isArray(classValue))flatValue=classValue.map(toFlatValue);else if(isObject(classValue)){var hasUndefined=false;flatValue=Object.keys(classValue).filter(function(key){var value=classValue[key];!hasUndefined&&isUndefined(value)&&(hasUndefined=true);return value});hasUndefined&&flatValue.push(void 0)}return flatValue}}var ngClassDirective=classDirective("",true);var ngClassOddDirective=classDirective("Odd",0);var ngClassEvenDirective=classDirective("Even",1);var ngCloakDirective=ngDirective({compile:function(element,attr){attr.$set("ngCloak",void 0);element.removeClass("ng-cloak")}});var ngControllerDirective=[function(){return{restrict:"A",scope:true,controller:"@",priority:500}}];var ngEventDirectives={};var forceAsyncEvents={blur:true,focus:true};forEach("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(eventName){var directiveName=directiveNormalize("ng-"+eventName);ngEventDirectives[directiveName]=["$parse","$rootScope",function($parse,$rootScope){return{restrict:"A",compile:function($element,attr){var fn=$parse(attr[directiveName]);return function ngEventHandler(scope,element){element.on(eventName,function(event){var callback=function(){fn(scope,{$event:event})};forceAsyncEvents[eventName]&&$rootScope.$$phase?scope.$evalAsync(callback):scope.$apply(callback)})}}}}]});var ngIfDirective=["$animate","$compile",function($animate,$compile){return{multiElement:true,transclude:"element",priority:600,terminal:true,restrict:"A",$$tlb:true,link:function($scope,$element,$attr,ctrl,$transclude){var block,childScope,previousElements;$scope.$watch($attr.ngIf,function ngIfWatchAction(value){if(value)childScope||$transclude(function(clone,newScope){childScope=newScope;clone[clone.length++]=$compile.$$createComment("end ngIf",$attr.ngIf);block={clone:clone};$animate.enter(clone,$element.parent(),$element)});else{if(previousElements){previousElements.remove();previousElements=null}if(childScope){childScope.$destroy();childScope=null}if(block){previousElements=getBlockNodes(block.clone);$animate.leave(previousElements).done(function(response){false!==response&&(previousElements=null)});block=null}}})}}}];var ngIncludeDirective=["$templateRequest","$anchorScroll","$animate",function($templateRequest,$anchorScroll,$animate){return{restrict:"ECA",priority:400,terminal:true,transclude:"element",controller:angular.noop,compile:function(element,attr){var srcExp=attr.ngInclude||attr.src,onloadExp=attr.onload||"",autoScrollExp=attr.autoscroll;return function(scope,$element,$attr,ctrl,$transclude){var currentScope,previousElement,currentElement,changeCounter=0;var cleanupLastIncludeContent=function(){if(previousElement){previousElement.remove();previousElement=null}if(currentScope){currentScope.$destroy();currentScope=null}if(currentElement){$animate.leave(currentElement).done(function(response){false!==response&&(previousElement=null)});previousElement=currentElement;currentElement=null}};scope.$watch(srcExp,function ngIncludeWatchAction(src){var afterAnimation=function(response){false===response||!isDefined(autoScrollExp)||autoScrollExp&&!scope.$eval(autoScrollExp)||$anchorScroll()};var thisChangeId=++changeCounter;if(src){$templateRequest(src,true).then(function(response){if(scope.$$destroyed)return;if(thisChangeId!==changeCounter)return;var newScope=scope.$new();ctrl.template=response;var clone=$transclude(newScope,function(clone){cleanupLastIncludeContent();$animate.enter(clone,null,$element).done(afterAnimation)});currentScope=newScope;currentElement=clone;currentScope.$emit("$includeContentLoaded",src);scope.$eval(onloadExp)},function(){if(scope.$$destroyed)return;if(thisChangeId===changeCounter){cleanupLastIncludeContent();scope.$emit("$includeContentError",src)}});scope.$emit("$includeContentRequested",src)}else{cleanupLastIncludeContent();ctrl.template=null}})}}}}];var ngIncludeFillContentDirective=["$compile",function($compile){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(scope,$element,$attr,ctrl){if(toString.call($element[0]).match(/SVG/)){$element.empty();$compile(jqLiteBuildFragment(ctrl.template,window.document).childNodes)(scope,function namespaceAdaptedClone(clone){$element.append(clone)},{futureParentElement:$element});return}$element.html(ctrl.template);$compile($element.contents())(scope)}}}];var ngInitDirective=ngDirective({priority:450,compile:function(){return{pre:function(scope,element,attrs){scope.$eval(attrs.ngInit)}}}});var ngListDirective=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(scope,element,attr,ctrl){var ngList=attr.ngList||", ";var trimValues="false"!==attr.ngTrim;var separator=trimValues?trim(ngList):ngList;var parse=function(viewValue){if(isUndefined(viewValue))return;var list=[];viewValue&&forEach(viewValue.split(separator),function(value){value&&list.push(trimValues?trim(value):value)});return list};ctrl.$parsers.push(parse);ctrl.$formatters.push(function(value){if(isArray(value))return value.join(ngList);return});ctrl.$isEmpty=function(value){return!value||!value.length}}}};var VALID_CLASS="ng-valid",INVALID_CLASS="ng-invalid",PRISTINE_CLASS="ng-pristine",DIRTY_CLASS="ng-dirty",UNTOUCHED_CLASS="ng-untouched",TOUCHED_CLASS="ng-touched",EMPTY_CLASS="ng-empty",NOT_EMPTY_CLASS="ng-not-empty";var ngModelMinErr=minErr("ngModel");NgModelController.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"];function NgModelController($scope,$exceptionHandler,$attr,$element,$parse,$animate,$timeout,$q,$interpolate){this.$viewValue=Number.NaN;this.$modelValue=Number.NaN;this.$$rawModelValue=void 0;this.$validators={};this.$asyncValidators={};this.$parsers=[];this.$formatters=[];this.$viewChangeListeners=[];this.$untouched=true;this.$touched=false;this.$pristine=true;this.$dirty=false;this.$valid=true;this.$invalid=false;this.$error={};this.$$success={};this.$pending=void 0;this.$name=$interpolate($attr.name||"",false)($scope);this.$$parentForm=nullFormCtrl;this.$options=defaultModelOptions;this.$$updateEvents="";this.$$updateEventHandler=this.$$updateEventHandler.bind(this);this.$$parsedNgModel=$parse($attr.ngModel);this.$$parsedNgModelAssign=this.$$parsedNgModel.assign;this.$$ngModelGet=this.$$parsedNgModel;this.$$ngModelSet=this.$$parsedNgModelAssign;this.$$pendingDebounce=null;this.$$parserValid=void 0;this.$$currentValidationRunId=0;Object.defineProperty(this,"$$scope",{value:$scope});this.$$attr=$attr;this.$$element=$element;this.$$animate=$animate;this.$$timeout=$timeout;this.$$parse=$parse;this.$$q=$q;this.$$exceptionHandler=$exceptionHandler;setupValidity(this);setupModelWatcher(this)}NgModelController.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var invokeModelGetter=this.$$parse(this.$$attr.ngModel+"()"),invokeModelSetter=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function($scope){var modelValue=this.$$parsedNgModel($scope);isFunction(modelValue)&&(modelValue=invokeModelGetter($scope));return modelValue};this.$$ngModelSet=function($scope,newValue){isFunction(this.$$parsedNgModel($scope))?invokeModelSetter($scope,{$$$p:newValue}):this.$$parsedNgModelAssign($scope,newValue)}}else if(!this.$$parsedNgModel.assign)throw ngModelMinErr("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,startingTag(this.$$element))},$render:noop,$isEmpty:function(value){return isUndefined(value)||""===value||null===value||value!==value},$$updateEmptyClasses:function(value){if(this.$isEmpty(value)){this.$$animate.removeClass(this.$$element,NOT_EMPTY_CLASS);this.$$animate.addClass(this.$$element,EMPTY_CLASS)}else{this.$$animate.removeClass(this.$$element,EMPTY_CLASS);this.$$animate.addClass(this.$$element,NOT_EMPTY_CLASS)}},$setPristine:function(){this.$dirty=false;this.$pristine=true;this.$$animate.removeClass(this.$$element,DIRTY_CLASS);this.$$animate.addClass(this.$$element,PRISTINE_CLASS)},$setDirty:function(){this.$dirty=true;this.$pristine=false;this.$$animate.removeClass(this.$$element,PRISTINE_CLASS);this.$$animate.addClass(this.$$element,DIRTY_CLASS);this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=false;this.$untouched=true;this.$$animate.setClass(this.$$element,UNTOUCHED_CLASS,TOUCHED_CLASS)},$setTouched:function(){this.$touched=true;this.$untouched=false;this.$$animate.setClass(this.$$element,TOUCHED_CLASS,UNTOUCHED_CLASS)},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce);this.$viewValue=this.$$lastCommittedViewValue;this.$render()},$validate:function(){if(isNumberNaN(this.$modelValue))return;var viewValue=this.$$lastCommittedViewValue;var modelValue=this.$$rawModelValue;var prevValid=this.$valid;var prevModelValue=this.$modelValue;var allowInvalid=this.$options.getOption("allowInvalid");var that=this;this.$$runValidators(modelValue,viewValue,function(allValid){if(!allowInvalid&&prevValid!==allValid){that.$modelValue=allValid?modelValue:void 0;that.$modelValue!==prevModelValue&&that.$$writeModelToScope()}})},$$runValidators:function(modelValue,viewValue,doneCallback){this.$$currentValidationRunId++;var localValidationRunId=this.$$currentValidationRunId;var that=this;if(!processParseErrors()){validationDone(false);return}if(!processSyncValidators()){validationDone(false);return}processAsyncValidators();function processParseErrors(){var errorKey=that.$$parserName||"parse";if(!isUndefined(that.$$parserValid)){if(!that.$$parserValid){forEach(that.$validators,function(v,name){setValidity(name,null)});forEach(that.$asyncValidators,function(v,name){setValidity(name,null)})}setValidity(errorKey,that.$$parserValid);return that.$$parserValid}setValidity(errorKey,null);return true}function processSyncValidators(){var syncValidatorsValid=true;forEach(that.$validators,function(validator,name){var result=Boolean(validator(modelValue,viewValue));syncValidatorsValid=syncValidatorsValid&&result;setValidity(name,result)});if(!syncValidatorsValid){forEach(that.$asyncValidators,function(v,name){setValidity(name,null)});return false}return true}function processAsyncValidators(){var validatorPromises=[];var allValid=true;forEach(that.$asyncValidators,function(validator,name){var promise=validator(modelValue,viewValue);if(!isPromiseLike(promise))throw ngModelMinErr("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",promise);setValidity(name,void 0);validatorPromises.push(promise.then(function(){setValidity(name,true)},function(){allValid=false;setValidity(name,false)}))});validatorPromises.length?that.$$q.all(validatorPromises).then(function(){validationDone(allValid)},noop):validationDone(true)}function setValidity(name,isValid){localValidationRunId===that.$$currentValidationRunId&&that.$setValidity(name,isValid)}function validationDone(allValid){localValidationRunId===that.$$currentValidationRunId&&doneCallback(allValid)}},$commitViewValue:function(){var viewValue=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce);if(this.$$lastCommittedViewValue===viewValue&&(""!==viewValue||!this.$$hasNativeValidators))return;this.$$updateEmptyClasses(viewValue);this.$$lastCommittedViewValue=viewValue;this.$pristine&&this.$setDirty();this.$$parseAndValidate()},$$parseAndValidate:function(){var viewValue=this.$$lastCommittedViewValue;var modelValue=viewValue;var that=this;this.$$parserValid=!isUndefined(modelValue)||void 0;if(this.$$parserValid)for(var i=0;i<this.$parsers.length;i++){modelValue=this.$parsers[i](modelValue);if(isUndefined(modelValue)){this.$$parserValid=false;break}}isNumberNaN(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var prevModelValue=this.$modelValue;var allowInvalid=this.$options.getOption("allowInvalid");this.$$rawModelValue=modelValue;if(allowInvalid){this.$modelValue=modelValue;writeToModelIfNeeded()}this.$$runValidators(modelValue,this.$$lastCommittedViewValue,function(allValid){if(!allowInvalid){that.$modelValue=allValid?modelValue:void 0;writeToModelIfNeeded()}});function writeToModelIfNeeded(){that.$modelValue!==prevModelValue&&that.$$writeModelToScope()}},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue);forEach(this.$viewChangeListeners,function(listener){try{listener()}catch(e){this.$$exceptionHandler(e)}},this)},$setViewValue:function(value,trigger){this.$viewValue=value;this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(trigger)},$$debounceViewValueCommit:function(trigger){var debounceDelay=this.$options.getOption("debounce");isNumber(debounceDelay[trigger])?debounceDelay=debounceDelay[trigger]:isNumber(debounceDelay["default"])&&(debounceDelay=debounceDelay["default"]);this.$$timeout.cancel(this.$$pendingDebounce);var that=this;debounceDelay>0?this.$$pendingDebounce=this.$$timeout(function(){that.$commitViewValue()},debounceDelay):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){that.$commitViewValue()})},$overrideModelOptions:function(options){this.$options=this.$options.createChild(options);this.$$setUpdateOnEvents()},$processModelValue:function(){var viewValue=this.$$format();if(this.$viewValue!==viewValue){this.$$updateEmptyClasses(viewValue);this.$viewValue=this.$$lastCommittedViewValue=viewValue;this.$render();this.$$runValidators(this.$modelValue,this.$viewValue,noop)}},$$format:function(){var formatters=this.$formatters,idx=formatters.length;var viewValue=this.$modelValue;while(idx--)viewValue=formatters[idx](viewValue);return viewValue},$$setModelValue:function(modelValue){this.$modelValue=this.$$rawModelValue=modelValue;this.$$parserValid=void 0;this.$processModelValue()},$$setUpdateOnEvents:function(){this.$$updateEvents&&this.$$element.off(this.$$updateEvents,this.$$updateEventHandler);this.$$updateEvents=this.$options.getOption("updateOn");this.$$updateEvents&&this.$$element.on(this.$$updateEvents,this.$$updateEventHandler)},$$updateEventHandler:function(ev){this.$$debounceViewValueCommit(ev&&ev.type)}};function setupModelWatcher(ctrl){ctrl.$$scope.$watch(function ngModelWatch(scope){var modelValue=ctrl.$$ngModelGet(scope);modelValue===ctrl.$modelValue||ctrl.$modelValue!==ctrl.$modelValue&&modelValue!==modelValue||ctrl.$$setModelValue(modelValue);return modelValue})}addSetValidityMethod({clazz:NgModelController,set:function(object,property){object[property]=true},unset:function(object,property){delete object[property]}});var ngModelDirective=["$rootScope",function($rootScope){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:NgModelController,priority:1,compile:function ngModelCompile(element){element.addClass(PRISTINE_CLASS).addClass(UNTOUCHED_CLASS).addClass(VALID_CLASS);return{pre:function ngModelPreLink(scope,element,attr,ctrls){var modelCtrl=ctrls[0],formCtrl=ctrls[1]||modelCtrl.$$parentForm,optionsCtrl=ctrls[2];optionsCtrl&&(modelCtrl.$options=optionsCtrl.$options);modelCtrl.$$initGetterSetters();formCtrl.$addControl(modelCtrl);attr.$observe("name",function(newValue){modelCtrl.$name!==newValue&&modelCtrl.$$parentForm.$$renameControl(modelCtrl,newValue)});scope.$on("$destroy",function(){modelCtrl.$$parentForm.$removeControl(modelCtrl)})},post:function ngModelPostLink(scope,element,attr,ctrls){var modelCtrl=ctrls[0];modelCtrl.$$setUpdateOnEvents();function setTouched(){modelCtrl.$setTouched()}element.on("blur",function(){if(modelCtrl.$touched)return;$rootScope.$$phase?scope.$evalAsync(setTouched):scope.$apply(setTouched)})}}}}}];var defaultModelOptions;var DEFAULT_REGEXP=/(\s+|^)default(\s+|$)/;function ModelOptions(options){this.$$options=options}ModelOptions.prototype={getOption:function(name){return this.$$options[name]},createChild:function(options){var inheritAll=false;options=extend({},options);forEach(options,function(option,key){if("$inherit"===option)if("*"===key)inheritAll=true;else{options[key]=this.$$options[key];"updateOn"===key&&(options.updateOnDefault=this.$$options.updateOnDefault)}else if("updateOn"===key){options.updateOnDefault=false;options[key]=trim(option.replace(DEFAULT_REGEXP,function(){options.updateOnDefault=true;return" "}))}},this);if(inheritAll){delete options["*"];defaults(options,this.$$options)}defaults(options,defaultModelOptions.$$options);return new ModelOptions(options)}};defaultModelOptions=new ModelOptions({updateOn:"",updateOnDefault:true,debounce:0,getterSetter:false,allowInvalid:false,timezone:null});var ngModelOptionsDirective=function(){NgModelOptionsController.$inject=["$attrs","$scope"];function NgModelOptionsController($attrs,$scope){this.$$attrs=$attrs;this.$$scope=$scope}NgModelOptionsController.prototype={$onInit:function(){var parentOptions=this.parentCtrl?this.parentCtrl.$options:defaultModelOptions;var modelOptionsDefinition=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=parentOptions.createChild(modelOptionsDefinition)}};return{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:true,controller:NgModelOptionsController}};function defaults(dst,src){forEach(src,function(value,key){isDefined(dst[key])||(dst[key]=value)})}var ngNonBindableDirective=ngDirective({terminal:true,priority:1e3});var ngOptionsMinErr=minErr("ngOptions");var NG_OPTIONS_REGEXP=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/;var ngOptionsDirective=["$compile","$document","$parse",function($compile,$document,$parse){function parseOptionsExpression(optionsExp,selectElement,scope){var match=optionsExp.match(NG_OPTIONS_REGEXP);if(!match)throw ngOptionsMinErr("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",optionsExp,startingTag(selectElement));var valueName=match[5]||match[7];var keyName=match[6];var selectAs=/ as /.test(match[0])&&match[1];var trackBy=match[9];var valueFn=$parse(match[2]?match[1]:valueName);var selectAsFn=selectAs&&$parse(selectAs);var viewValueFn=selectAsFn||valueFn;var trackByFn=trackBy&&$parse(trackBy);var getTrackByValueFn=trackBy?function(value,locals){return trackByFn(scope,locals)}:function getHashOfValue(value){return hashKey(value)};var getTrackByValue=function(value,key){return getTrackByValueFn(value,getLocals(value,key))};var displayFn=$parse(match[2]||match[1]);var groupByFn=$parse(match[3]||"");var disableWhenFn=$parse(match[4]||"");var valuesFn=$parse(match[8]);var locals={};var getLocals=keyName?function(value,key){locals[keyName]=key;locals[valueName]=value;return locals}:function(value){locals[valueName]=value;return locals};function Option(selectValue,viewValue,label,group,disabled){this.selectValue=selectValue;this.viewValue=viewValue;this.label=label;this.group=group;this.disabled=disabled}function getOptionValuesKeys(optionValues){var optionValuesKeys;if(!keyName&&isArrayLike(optionValues))optionValuesKeys=optionValues;else{optionValuesKeys=[];for(var itemKey in optionValues)optionValues.hasOwnProperty(itemKey)&&"$"!==itemKey.charAt(0)&&optionValuesKeys.push(itemKey)}return optionValuesKeys}return{trackBy:trackBy,getTrackByValue:getTrackByValue,getWatchables:$parse(valuesFn,function(optionValues){var watchedArray=[];optionValues=optionValues||[];var optionValuesKeys=getOptionValuesKeys(optionValues);var optionValuesLength=optionValuesKeys.length;for(var index=0;index<optionValuesLength;index++){var key=optionValues===optionValuesKeys?index:optionValuesKeys[index];var value=optionValues[key];var locals=getLocals(value,key);var selectValue=getTrackByValueFn(value,locals);watchedArray.push(selectValue);if(match[2]||match[1]){var label=displayFn(scope,locals);watchedArray.push(label)}if(match[4]){var disableWhen=disableWhenFn(scope,locals);watchedArray.push(disableWhen)}}return watchedArray}),getOptions:function(){var optionItems=[];var selectValueMap={};var optionValues=valuesFn(scope)||[];var optionValuesKeys=getOptionValuesKeys(optionValues);var optionValuesLength=optionValuesKeys.length;for(var index=0;index<optionValuesLength;index++){var key=optionValues===optionValuesKeys?index:optionValuesKeys[index];var value=optionValues[key];var locals=getLocals(value,key);var viewValue=viewValueFn(scope,locals);var selectValue=getTrackByValueFn(viewValue,locals);var label=displayFn(scope,locals);var group=groupByFn(scope,locals);var disabled=disableWhenFn(scope,locals);var optionItem=new Option(selectValue,viewValue,label,group,disabled);optionItems.push(optionItem);selectValueMap[selectValue]=optionItem}return{items:optionItems,selectValueMap:selectValueMap,getOptionFromViewValue:function(value){return selectValueMap[getTrackByValue(value)]},getViewValueFromOption:function(option){return trackBy?copy(option.viewValue):option.viewValue}}}}}var optionTemplate=window.document.createElement("option"),optGroupTemplate=window.document.createElement("optgroup");function ngOptionsPostLink(scope,selectElement,attr,ctrls){var selectCtrl=ctrls[0];var ngModelCtrl=ctrls[1];var multiple=attr.multiple;for(var i=0,children=selectElement.children(),ii=children.length;i<ii;i++)if(""===children[i].value){selectCtrl.hasEmptyOption=true;selectCtrl.emptyOption=children.eq(i);break}selectElement.empty();var providedEmptyOption=!!selectCtrl.emptyOption;var unknownOption=jqLite(optionTemplate.cloneNode(false));unknownOption.val("?");var options;var ngOptions=parseOptionsExpression(attr.ngOptions,selectElement,scope);var listFragment=$document[0].createDocumentFragment();selectCtrl.generateUnknownOptionValue=function(val){return"?"};if(multiple){selectCtrl.writeValue=function writeNgOptionsMultiple(values){if(!options)return;var selectedOptions=values&&values.map(getAndUpdateSelectedOption)||[];options.items.forEach(function(option){option.element.selected&&!includes(selectedOptions,option)&&(option.element.selected=false)})};selectCtrl.readValue=function readNgOptionsMultiple(){var selectedValues=selectElement.val()||[],selections=[];forEach(selectedValues,function(value){var option=options.selectValueMap[value];option&&!option.disabled&&selections.push(options.getViewValueFromOption(option))});return selections};ngOptions.trackBy&&scope.$watchCollection(function(){if(isArray(ngModelCtrl.$viewValue))return ngModelCtrl.$viewValue.map(function(value){return ngOptions.getTrackByValue(value)})},function(){ngModelCtrl.$render()})}else{selectCtrl.writeValue=function writeNgOptionsValue(value){if(!options)return;var selectedOption=selectElement[0].options[selectElement[0].selectedIndex];var option=options.getOptionFromViewValue(value);selectedOption&&selectedOption.removeAttribute("selected");if(option){if(selectElement[0].value!==option.selectValue){selectCtrl.removeUnknownOption();selectElement[0].value=option.selectValue;option.element.selected=true}option.element.setAttribute("selected","selected")}else selectCtrl.selectUnknownOrEmptyOption(value)};selectCtrl.readValue=function readNgOptionsValue(){var selectedOption=options.selectValueMap[selectElement.val()];if(selectedOption&&!selectedOption.disabled){selectCtrl.unselectEmptyOption();selectCtrl.removeUnknownOption();return options.getViewValueFromOption(selectedOption)}return null};ngOptions.trackBy&&scope.$watch(function(){return ngOptions.getTrackByValue(ngModelCtrl.$viewValue)},function(){ngModelCtrl.$render()})}if(providedEmptyOption){$compile(selectCtrl.emptyOption)(scope);selectElement.prepend(selectCtrl.emptyOption);if(selectCtrl.emptyOption[0].nodeType===NODE_TYPE_COMMENT){selectCtrl.hasEmptyOption=false;selectCtrl.registerOption=function(optionScope,optionEl){if(""===optionEl.val()){selectCtrl.hasEmptyOption=true;selectCtrl.emptyOption=optionEl;selectCtrl.emptyOption.removeClass("ng-scope");ngModelCtrl.$render();optionEl.on("$destroy",function(){var needsRerender=selectCtrl.$isEmptyOptionSelected();selectCtrl.hasEmptyOption=false;selectCtrl.emptyOption=void 0;needsRerender&&ngModelCtrl.$render()})}}}else selectCtrl.emptyOption.removeClass("ng-scope")}scope.$watchCollection(ngOptions.getWatchables,updateOptions);function addOptionElement(option,parent){var optionElement=optionTemplate.cloneNode(false);parent.appendChild(optionElement);updateOptionElement(option,optionElement)}function getAndUpdateSelectedOption(viewValue){var option=options.getOptionFromViewValue(viewValue);var element=option&&option.element;element&&!element.selected&&(element.selected=true);return option}function updateOptionElement(option,element){option.element=element;element.disabled=option.disabled;if(option.label!==element.label){element.label=option.label;element.textContent=option.label}element.value=option.selectValue}function updateOptions(){var previousValue=options&&selectCtrl.readValue();if(options)for(var i=options.items.length-1;i>=0;i--){var option=options.items[i];isDefined(option.group)?jqLiteRemove(option.element.parentNode):jqLiteRemove(option.element)}options=ngOptions.getOptions();var groupElementMap={};options.items.forEach(function addOption(option){var groupElement;if(isDefined(option.group)){groupElement=groupElementMap[option.group];if(!groupElement){groupElement=optGroupTemplate.cloneNode(false);listFragment.appendChild(groupElement);groupElement.label=null===option.group?"null":option.group;groupElementMap[option.group]=groupElement}addOptionElement(option,groupElement)}else addOptionElement(option,listFragment)});selectElement[0].appendChild(listFragment);ngModelCtrl.$render();if(!ngModelCtrl.$isEmpty(previousValue)){var nextValue=selectCtrl.readValue();var isNotPrimitive=ngOptions.trackBy||multiple;if(isNotPrimitive?!equals(previousValue,nextValue):previousValue!==nextValue){ngModelCtrl.$setViewValue(nextValue);ngModelCtrl.$render()}}}}return{restrict:"A",terminal:true,require:["select","ngModel"],link:{pre:function ngOptionsPreLink(scope,selectElement,attr,ctrls){ctrls[0].registerOption=noop},post:ngOptionsPostLink}}}];var ngPluralizeDirective=["$locale","$interpolate","$log",function($locale,$interpolate,$log){var BRACE=/{}/g,IS_WHEN=/^when(Minus)?(.+)$/;return{link:function(scope,element,attr){var lastCount,numberExp=attr.count,whenExp=attr.$attr.when&&element.attr(attr.$attr.when),offset=attr.offset||0,whens=scope.$eval(whenExp)||{},whensExpFns={},startSymbol=$interpolate.startSymbol(),endSymbol=$interpolate.endSymbol(),braceReplacement=startSymbol+numberExp+"-"+offset+endSymbol,watchRemover=angular.noop;forEach(attr,function(expression,attributeName){var tmpMatch=IS_WHEN.exec(attributeName);if(tmpMatch){var whenKey=(tmpMatch[1]?"-":"")+lowercase(tmpMatch[2]);whens[whenKey]=element.attr(attr.$attr[attributeName])}});forEach(whens,function(expression,key){whensExpFns[key]=$interpolate(expression.replace(BRACE,braceReplacement))});scope.$watch(numberExp,function ngPluralizeWatchAction(newVal){var count=parseFloat(newVal);var countIsNaN=isNumberNaN(count);countIsNaN||count in whens||(count=$locale.pluralCat(count-offset));if(count!==lastCount&&!(countIsNaN&&isNumberNaN(lastCount))){watchRemover();var whenExpFn=whensExpFns[count];if(isUndefined(whenExpFn)){null!=newVal&&$log.debug("ngPluralize: no rule defined for '"+count+"' in "+whenExp);watchRemover=noop;updateElementText()}else watchRemover=scope.$watch(whenExpFn,updateElementText);lastCount=count}});function updateElementText(newText){element.text(newText||"")}}}}];var ngRepeatDirective=["$parse","$animate","$compile",function($parse,$animate,$compile){var NG_REMOVED="$$NG_REMOVED";var ngRepeatMinErr=minErr("ngRepeat");var updateScope=function(scope,index,valueIdentifier,value,keyIdentifier,key,arrayLength){scope[valueIdentifier]=value;keyIdentifier&&(scope[keyIdentifier]=key);scope.$index=index;scope.$first=0===index;scope.$last=index===arrayLength-1;scope.$middle=!(scope.$first||scope.$last);scope.$odd=!(scope.$even=0===(1&index))};var getBlockStart=function(block){return block.clone[0]};var getBlockEnd=function(block){return block.clone[block.clone.length-1]};return{restrict:"A",multiElement:true,transclude:"element",priority:1e3,terminal:true,$$tlb:true,compile:function ngRepeatCompile($element,$attr){var expression=$attr.ngRepeat;var ngRepeatEndComment=$compile.$$createComment("end ngRepeat",expression);var match=expression.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!match)throw ngRepeatMinErr("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",expression);var lhs=match[1];var rhs=match[2];var aliasAs=match[3];var trackByExp=match[4];match=lhs.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/);if(!match)throw ngRepeatMinErr("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",lhs);var valueIdentifier=match[3]||match[1];var keyIdentifier=match[2];if(aliasAs&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(aliasAs)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(aliasAs)))throw ngRepeatMinErr("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",aliasAs);var trackByExpGetter,trackByIdExpFn,trackByIdArrayFn,trackByIdObjFn;var hashFnLocals={$id:hashKey};if(trackByExp)trackByExpGetter=$parse(trackByExp);else{trackByIdArrayFn=function(key,value){return hashKey(value)};trackByIdObjFn=function(key){return key}}return function ngRepeatLink($scope,$element,$attr,ctrl,$transclude){trackByExpGetter&&(trackByIdExpFn=function(key,value,index){keyIdentifier&&(hashFnLocals[keyIdentifier]=key);hashFnLocals[valueIdentifier]=value;hashFnLocals.$index=index;return trackByExpGetter($scope,hashFnLocals)});var lastBlockMap=createMap();$scope.$watchCollection(rhs,function ngRepeatAction(collection){var index,length,nextNode,collectionLength,key,value,trackById,trackByIdFn,collectionKeys,block,nextBlockOrder,elementsToRemove,previousNode=$element[0],nextBlockMap=createMap();aliasAs&&($scope[aliasAs]=collection);if(isArrayLike(collection)){collectionKeys=collection;trackByIdFn=trackByIdExpFn||trackByIdArrayFn}else{trackByIdFn=trackByIdExpFn||trackByIdObjFn;collectionKeys=[];for(var itemKey in collection)hasOwnProperty.call(collection,itemKey)&&"$"!==itemKey.charAt(0)&&collectionKeys.push(itemKey)}collectionLength=collectionKeys.length;nextBlockOrder=new Array(collectionLength);for(index=0;index<collectionLength;index++){key=collection===collectionKeys?index:collectionKeys[index];value=collection[key];trackById=trackByIdFn(key,value,index);if(lastBlockMap[trackById]){block=lastBlockMap[trackById];delete lastBlockMap[trackById];nextBlockMap[trackById]=block;nextBlockOrder[index]=block}else{if(nextBlockMap[trackById]){forEach(nextBlockOrder,function(block){block&&block.scope&&(lastBlockMap[block.id]=block)});throw ngRepeatMinErr("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",expression,trackById,value)}nextBlockOrder[index]={id:trackById,scope:void 0,clone:void 0};nextBlockMap[trackById]=true}}for(var blockKey in lastBlockMap){block=lastBlockMap[blockKey];elementsToRemove=getBlockNodes(block.clone);$animate.leave(elementsToRemove);if(elementsToRemove[0].parentNode)for(index=0,length=elementsToRemove.length;index<length;index++)elementsToRemove[index][NG_REMOVED]=true;block.scope.$destroy()}for(index=0;index<collectionLength;index++){key=collection===collectionKeys?index:collectionKeys[index];value=collection[key];block=nextBlockOrder[index];if(block.scope){nextNode=previousNode;do{nextNode=nextNode.nextSibling}while(nextNode&&nextNode[NG_REMOVED]);getBlockStart(block)!==nextNode&&$animate.move(getBlockNodes(block.clone),null,previousNode);previousNode=getBlockEnd(block);updateScope(block.scope,index,valueIdentifier,value,keyIdentifier,key,collectionLength)}else $transclude(function ngRepeatTransclude(clone,scope){block.scope=scope;var endNode=ngRepeatEndComment.cloneNode(false);clone[clone.length++]=endNode;$animate.enter(clone,null,previousNode);previousNode=endNode;block.clone=clone;nextBlockMap[block.id]=block;updateScope(block.scope,index,valueIdentifier,value,keyIdentifier,key,collectionLength)})}lastBlockMap=nextBlockMap})}}}}];var NG_HIDE_CLASS="ng-hide";var NG_HIDE_IN_PROGRESS_CLASS="ng-hide-animate";var ngShowDirective=["$animate",function($animate){return{restrict:"A",multiElement:true,link:function(scope,element,attr){scope.$watch(attr.ngShow,function ngShowWatchAction(value){$animate[value?"removeClass":"addClass"](element,NG_HIDE_CLASS,{tempClasses:NG_HIDE_IN_PROGRESS_CLASS})})}}}];var ngHideDirective=["$animate",function($animate){return{restrict:"A",multiElement:true,link:function(scope,element,attr){scope.$watch(attr.ngHide,function ngHideWatchAction(value){$animate[value?"addClass":"removeClass"](element,NG_HIDE_CLASS,{tempClasses:NG_HIDE_IN_PROGRESS_CLASS})})}}}];var ngStyleDirective=ngDirective(function(scope,element,attr){scope.$watch(attr.ngStyle,function ngStyleWatchAction(newStyles,oldStyles){oldStyles&&newStyles!==oldStyles&&forEach(oldStyles,function(val,style){element.css(style,"")});newStyles&&element.css(newStyles)},true)});var ngSwitchDirective=["$animate","$compile",function($animate,$compile){return{require:"ngSwitch",controller:["$scope",function NgSwitchController(){this.cases={}}],link:function(scope,element,attr,ngSwitchController){var watchExpr=attr.ngSwitch||attr.on,selectedTranscludes=[],selectedElements=[],previousLeaveAnimations=[],selectedScopes=[];var spliceFactory=function(array,index){return function(response){false!==response&&array.splice(index,1)}};scope.$watch(watchExpr,function ngSwitchWatchAction(value){var i,ii;while(previousLeaveAnimations.length)$animate.cancel(previousLeaveAnimations.pop());for(i=0,ii=selectedScopes.length;i<ii;++i){var selected=getBlockNodes(selectedElements[i].clone);selectedScopes[i].$destroy();var runner=previousLeaveAnimations[i]=$animate.leave(selected);runner.done(spliceFactory(previousLeaveAnimations,i))}selectedElements.length=0;selectedScopes.length=0;(selectedTranscludes=ngSwitchController.cases["!"+value]||ngSwitchController.cases["?"])&&forEach(selectedTranscludes,function(selectedTransclude){selectedTransclude.transclude(function(caseElement,selectedScope){selectedScopes.push(selectedScope);var anchor=selectedTransclude.element;caseElement[caseElement.length++]=$compile.$$createComment("end ngSwitchWhen");var block={clone:caseElement};selectedElements.push(block);$animate.enter(caseElement,anchor.parent(),anchor)})})})}}}];var ngSwitchWhenDirective=ngDirective({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:true,link:function(scope,element,attrs,ctrl,$transclude){var cases=attrs.ngSwitchWhen.split(attrs.ngSwitchWhenSeparator).sort().filter(function(element,index,array){return array[index-1]!==element});forEach(cases,function(whenCase){ctrl.cases["!"+whenCase]=ctrl.cases["!"+whenCase]||[];ctrl.cases["!"+whenCase].push({transclude:$transclude,element:element})})}});var ngSwitchDefaultDirective=ngDirective({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:true,link:function(scope,element,attr,ctrl,$transclude){ctrl.cases["?"]=ctrl.cases["?"]||[];ctrl.cases["?"].push({transclude:$transclude,element:element})}});var ngTranscludeMinErr=minErr("ngTransclude");var ngTranscludeDirective=["$compile",function($compile){return{restrict:"EAC",compile:function ngTranscludeCompile(tElement){var fallbackLinkFn=$compile(tElement.contents());tElement.empty();return function ngTranscludePostLink($scope,$element,$attrs,controller,$transclude){if(!$transclude)throw ngTranscludeMinErr("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",startingTag($element));$attrs.ngTransclude===$attrs.$attr.ngTransclude&&($attrs.ngTransclude="");var slotName=$attrs.ngTransclude||$attrs.ngTranscludeSlot;$transclude(ngTranscludeCloneAttachFn,null,slotName);slotName&&!$transclude.isSlotFilled(slotName)&&useFallbackContent();function ngTranscludeCloneAttachFn(clone,transcludedScope){if(clone.length&&notWhitespace(clone))$element.append(clone);else{useFallbackContent();transcludedScope.$destroy()}}function useFallbackContent(){fallbackLinkFn($scope,function(clone){$element.append(clone)})}function notWhitespace(nodes){for(var i=0,ii=nodes.length;i<ii;i++){var node=nodes[i];if(node.nodeType!==NODE_TYPE_TEXT||node.nodeValue.trim())return true}}}}}}];var scriptDirective=["$templateCache",function($templateCache){return{restrict:"E",terminal:true,compile:function(element,attr){if("text/ng-template"===attr.type){var templateUrl=attr.id,text=element[0].text;$templateCache.put(templateUrl,text)}}}}];var noopNgModelController={$setViewValue:noop,$render:noop};function setOptionSelectedStatus(optionEl,value){optionEl.prop("selected",value);optionEl.attr("selected",value)}var SelectController=["$element","$scope",function($element,$scope){var self=this,optionsMap=new NgMap;self.selectValueMap={};self.ngModelCtrl=noopNgModelController;self.multiple=false;self.unknownOption=jqLite(window.document.createElement("option"));self.hasEmptyOption=false;self.emptyOption=void 0;self.renderUnknownOption=function(val){var unknownVal=self.generateUnknownOptionValue(val);self.unknownOption.val(unknownVal);$element.prepend(self.unknownOption);setOptionSelectedStatus(self.unknownOption,true);$element.val(unknownVal)};self.updateUnknownOption=function(val){var unknownVal=self.generateUnknownOptionValue(val);self.unknownOption.val(unknownVal);setOptionSelectedStatus(self.unknownOption,true);$element.val(unknownVal)};self.generateUnknownOptionValue=function(val){return"? "+hashKey(val)+" ?"};self.removeUnknownOption=function(){self.unknownOption.parent()&&self.unknownOption.remove()};self.selectEmptyOption=function(){if(self.emptyOption){$element.val("");setOptionSelectedStatus(self.emptyOption,true)}};self.unselectEmptyOption=function(){self.hasEmptyOption&&setOptionSelectedStatus(self.emptyOption,false)};$scope.$on("$destroy",function(){self.renderUnknownOption=noop});self.readValue=function readSingleValue(){var val=$element.val();var realVal=val in self.selectValueMap?self.selectValueMap[val]:val;if(self.hasOption(realVal))return realVal;return null};self.writeValue=function writeSingleValue(value){var currentlySelectedOption=$element[0].options[$element[0].selectedIndex];currentlySelectedOption&&setOptionSelectedStatus(jqLite(currentlySelectedOption),false);if(self.hasOption(value)){self.removeUnknownOption();var hashedVal=hashKey(value);$element.val(hashedVal in self.selectValueMap?hashedVal:value);var selectedOption=$element[0].options[$element[0].selectedIndex];setOptionSelectedStatus(jqLite(selectedOption),true)}else self.selectUnknownOrEmptyOption(value)};self.addOption=function(value,element){if(element[0].nodeType===NODE_TYPE_COMMENT)return;assertNotHasOwnProperty(value,'"option value"');if(""===value){self.hasEmptyOption=true;self.emptyOption=element}var count=optionsMap.get(value)||0;optionsMap.set(value,count+1);scheduleRender()};self.removeOption=function(value){var count=optionsMap.get(value);if(count)if(1===count){optionsMap.delete(value);if(""===value){self.hasEmptyOption=false;self.emptyOption=void 0}}else optionsMap.set(value,count-1)};self.hasOption=function(value){return!!optionsMap.get(value)};self.$hasEmptyOption=function(){return self.hasEmptyOption};self.$isUnknownOptionSelected=function(){return $element[0].options[0]===self.unknownOption[0]};self.$isEmptyOptionSelected=function(){return self.hasEmptyOption&&$element[0].options[$element[0].selectedIndex]===self.emptyOption[0]};self.selectUnknownOrEmptyOption=function(value){if(null==value&&self.emptyOption){self.removeUnknownOption();self.selectEmptyOption()}else self.unknownOption.parent().length?self.updateUnknownOption(value):self.renderUnknownOption(value)};var renderScheduled=false;function scheduleRender(){if(renderScheduled)return;renderScheduled=true;$scope.$$postDigest(function(){renderScheduled=false;self.ngModelCtrl.$render()})}var updateScheduled=false;function scheduleViewValueUpdate(renderAfter){if(updateScheduled)return;updateScheduled=true;$scope.$$postDigest(function(){if($scope.$$destroyed)return;updateScheduled=false;self.ngModelCtrl.$setViewValue(self.readValue());renderAfter&&self.ngModelCtrl.$render()})}self.registerOption=function(optionScope,optionElement,optionAttrs,interpolateValueFn,interpolateTextFn){if(optionAttrs.$attr.ngValue){var oldVal,hashedVal=NaN;optionAttrs.$observe("value",function valueAttributeObserveAction(newVal){var removal;var previouslySelected=optionElement.prop("selected");if(isDefined(hashedVal)){self.removeOption(oldVal);delete self.selectValueMap[hashedVal];removal=true}hashedVal=hashKey(newVal);oldVal=newVal;self.selectValueMap[hashedVal]=newVal;self.addOption(newVal,optionElement);optionElement.attr("value",hashedVal);removal&&previouslySelected&&scheduleViewValueUpdate()})}else interpolateValueFn?optionAttrs.$observe("value",function valueAttributeObserveAction(newVal){self.readValue();var removal;var previouslySelected=optionElement.prop("selected");if(isDefined(oldVal)){self.removeOption(oldVal);removal=true}oldVal=newVal;self.addOption(newVal,optionElement);removal&&previouslySelected&&scheduleViewValueUpdate()}):interpolateTextFn?optionScope.$watch(interpolateTextFn,function interpolateWatchAction(newVal,oldVal){optionAttrs.$set("value",newVal);var previouslySelected=optionElement.prop("selected");oldVal!==newVal&&self.removeOption(oldVal);self.addOption(newVal,optionElement);oldVal&&previouslySelected&&scheduleViewValueUpdate()}):self.addOption(optionAttrs.value,optionElement);optionAttrs.$observe("disabled",function(newVal){if("true"===newVal||newVal&&optionElement.prop("selected"))if(self.multiple)scheduleViewValueUpdate(true);else{self.ngModelCtrl.$setViewValue(null);self.ngModelCtrl.$render()}});optionElement.on("$destroy",function(){var currentValue=self.readValue();var removeValue=optionAttrs.value;self.removeOption(removeValue);scheduleRender();(self.multiple&&currentValue&&-1!==currentValue.indexOf(removeValue)||currentValue===removeValue)&&scheduleViewValueUpdate(true)})}}];var selectDirective=function(){return{restrict:"E",require:["select","?ngModel"],controller:SelectController,priority:1,link:{pre:selectPreLink,post:selectPostLink}};function selectPreLink(scope,element,attr,ctrls){var selectCtrl=ctrls[0];var ngModelCtrl=ctrls[1];if(!ngModelCtrl){selectCtrl.registerOption=noop;return}selectCtrl.ngModelCtrl=ngModelCtrl;element.on("change",function(){selectCtrl.removeUnknownOption();scope.$apply(function(){ngModelCtrl.$setViewValue(selectCtrl.readValue())})});if(attr.multiple){selectCtrl.multiple=true;selectCtrl.readValue=function readMultipleValue(){var array=[];forEach(element.find("option"),function(option){if(option.selected&&!option.disabled){var val=option.value;array.push(val in selectCtrl.selectValueMap?selectCtrl.selectValueMap[val]:val)}});return array};selectCtrl.writeValue=function writeMultipleValue(value){forEach(element.find("option"),function(option){var shouldBeSelected=!!value&&(includes(value,option.value)||includes(value,selectCtrl.selectValueMap[option.value]));var currentlySelected=option.selected;shouldBeSelected!==currentlySelected&&setOptionSelectedStatus(jqLite(option),shouldBeSelected)})};var lastView,lastViewRef=NaN;scope.$watch(function selectMultipleWatch(){if(lastViewRef===ngModelCtrl.$viewValue&&!equals(lastView,ngModelCtrl.$viewValue)){lastView=shallowCopy(ngModelCtrl.$viewValue);ngModelCtrl.$render()}lastViewRef=ngModelCtrl.$viewValue});ngModelCtrl.$isEmpty=function(value){return!value||0===value.length}}}function selectPostLink(scope,element,attrs,ctrls){var ngModelCtrl=ctrls[1];if(!ngModelCtrl)return;var selectCtrl=ctrls[0];ngModelCtrl.$render=function(){selectCtrl.writeValue(ngModelCtrl.$viewValue)}}};var optionDirective=["$interpolate",function($interpolate){return{restrict:"E",priority:100,compile:function(element,attr){var interpolateValueFn,interpolateTextFn;if(isDefined(attr.ngValue));else if(isDefined(attr.value))interpolateValueFn=$interpolate(attr.value,true);else{interpolateTextFn=$interpolate(element.text(),true);interpolateTextFn||attr.$set("value",element.text())}return function(scope,element,attr){var selectCtrlName="$selectController",parent=element.parent(),selectCtrl=parent.data(selectCtrlName)||parent.parent().data(selectCtrlName);selectCtrl&&selectCtrl.registerOption(scope,element,attr,interpolateValueFn,interpolateTextFn)}}}}];var requiredDirective=function(){return{restrict:"A",require:"?ngModel",link:function(scope,elm,attr,ctrl){if(!ctrl)return;attr.required=true;ctrl.$validators.required=function(modelValue,viewValue){return!attr.required||!ctrl.$isEmpty(viewValue)};attr.$observe("required",function(){ctrl.$validate()})}}};var patternDirective=function(){return{restrict:"A",require:"?ngModel",link:function(scope,elm,attr,ctrl){if(!ctrl)return;var regexp,patternExp=attr.ngPattern||attr.pattern;attr.$observe("pattern",function(regex){isString(regex)&&regex.length>0&&(regex=new RegExp("^"+regex+"$"));if(regex&&!regex.test)throw minErr("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",patternExp,regex,startingTag(elm));regexp=regex||void 0;ctrl.$validate()});ctrl.$validators.pattern=function(modelValue,viewValue){return ctrl.$isEmpty(viewValue)||isUndefined(regexp)||regexp.test(viewValue)}}}};var maxlengthDirective=function(){return{restrict:"A",require:"?ngModel",link:function(scope,elm,attr,ctrl){if(!ctrl)return;var maxlength=-1;attr.$observe("maxlength",function(value){var intVal=toInt(value);maxlength=isNumberNaN(intVal)?-1:intVal;ctrl.$validate()});ctrl.$validators.maxlength=function(modelValue,viewValue){return maxlength<0||ctrl.$isEmpty(viewValue)||viewValue.length<=maxlength}}}};var minlengthDirective=function(){return{restrict:"A",require:"?ngModel",link:function(scope,elm,attr,ctrl){if(!ctrl)return;var minlength=0;attr.$observe("minlength",function(value){minlength=toInt(value)||0;ctrl.$validate()});ctrl.$validators.minlength=function(modelValue,viewValue){return ctrl.$isEmpty(viewValue)||viewValue.length>=minlength}}}};if(window.angular.bootstrap){window.console&&console.log("WARNING: Tried to load AngularJS more than once.");return}bindJQuery();publishExternalAPI(angular);angular.module("ngLocale",[],["$provide",function($provide){var PLURAL_CATEGORY={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};function getDecimals(n){n+="";var i=n.indexOf(".");return-1==i?0:n.length-i-1}function getVF(n,opt_precision){var v=opt_precision;void 0===v&&(v=Math.min(getDecimals(n),3));var base=Math.pow(10,v);var f=(n*base|0)%base;return{v:v,f:f}}$provide.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(n,opt_precision){var i=0|n;var vf=getVF(n,opt_precision);if(1==i&&0==vf.v)return PLURAL_CATEGORY.ONE;return PLURAL_CATEGORY.OTHER}})}]);jqLite(function(){angularInit(window.document,bootstrap)})})(window);!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>')},function(module,exports,__webpack_require__){(true,module.exports===exports)&&(module.exports="monospaced.elastic");angular.module("monospaced.elastic",[]).constant("msdElasticConfig",{append:""}).directive("msdElastic",["$timeout","$window","msdElasticConfig",function($timeout,$window,config){"use strict";return{require:"ngModel",restrict:"A, C",link:function(scope,element,attrs,ngModel){var ta=element[0],$ta=element;if("TEXTAREA"!==ta.nodeName||!$window.getComputedStyle)return;$ta.css({overflow:"hidden","overflow-y":"hidden","word-wrap":"break-word"});var text=ta.value;ta.value="";ta.value=text;var mirrored,active,append=attrs.msdElastic?attrs.msdElastic.replace(/\\n/g,"\n"):config.append,$win=angular.element($window),mirrorInitStyle="position: absolute; top: -999px; right: auto; bottom: auto;left: 0; overflow: hidden; -webkit-box-sizing: content-box;-moz-box-sizing: content-box; box-sizing: content-box;min-height: 0 !important; height: 0 !important; padding: 0;word-wrap: break-word; border: 0;",$mirror=angular.element('<textarea aria-hidden="true" tabindex="-1" style="'+mirrorInitStyle+'"/>').data("elastic",true),mirror=$mirror[0],taStyle=getComputedStyle(ta),resize=taStyle.getPropertyValue("resize"),borderBox="border-box"===taStyle.getPropertyValue("box-sizing")||"border-box"===taStyle.getPropertyValue("-moz-box-sizing")||"border-box"===taStyle.getPropertyValue("-webkit-box-sizing"),boxOuter=borderBox?{width:parseInt(taStyle.getPropertyValue("border-right-width"),10)+parseInt(taStyle.getPropertyValue("padding-right"),10)+parseInt(taStyle.getPropertyValue("padding-left"),10)+parseInt(taStyle.getPropertyValue("border-left-width"),10),height:parseInt(taStyle.getPropertyValue("border-top-width"),10)+parseInt(taStyle.getPropertyValue("padding-top"),10)+parseInt(taStyle.getPropertyValue("padding-bottom"),10)+parseInt(taStyle.getPropertyValue("border-bottom-width"),10)}:{width:0,height:0},minHeightValue=parseInt(taStyle.getPropertyValue("min-height"),10),heightValue=parseInt(taStyle.getPropertyValue("height"),10),minHeight=Math.max(minHeightValue,heightValue)-boxOuter.height,maxHeight=parseInt(taStyle.getPropertyValue("max-height"),10),copyStyle=["font-family","font-size","font-weight","font-style","letter-spacing","line-height","text-transform","word-spacing","text-indent"];if($ta.data("elastic"))return;maxHeight=maxHeight&&maxHeight>0?maxHeight:9e4;mirror.parentNode!==document.body&&angular.element(document.body).append(mirror);$ta.css({resize:"none"===resize||"vertical"===resize?"none":"horizontal"}).data("elastic",true);function initMirror(){var mirrorStyle=mirrorInitStyle;mirrored=ta;taStyle=getComputedStyle(ta);angular.forEach(copyStyle,function(val){mirrorStyle+=val+":"+taStyle.getPropertyValue(val)+";"});mirror.setAttribute("style",mirrorStyle)}function adjust(){var taHeight,taComputedStyleWidth,mirrorHeight,width,overflow;mirrored!==ta&&initMirror();if(!active){active=true;mirror.value=ta.value+append;mirror.style.overflowY=ta.style.overflowY;taHeight=""===ta.style.height?"auto":parseInt(ta.style.height,10);taComputedStyleWidth=getComputedStyle(ta).getPropertyValue("width");if("px"===taComputedStyleWidth.substr(taComputedStyleWidth.length-2,2)){width=parseInt(taComputedStyleWidth,10)-boxOuter.width;mirror.style.width=width+"px"}mirrorHeight=mirror.scrollHeight;if(mirrorHeight>maxHeight){mirrorHeight=maxHeight;overflow="scroll"}else mirrorHeight<minHeight&&(mirrorHeight=minHeight);mirrorHeight+=boxOuter.height;ta.style.overflowY=overflow||"hidden";if(taHeight!==mirrorHeight){scope.$emit("elastic:resize",$ta,taHeight,mirrorHeight);ta.style.height=mirrorHeight+"px"}$timeout(function(){active=false},1)}}function forceAdjust(){active=false;adjust()}ta["oninput"]="onpropertychange"in ta&&"oninput"in ta?ta.onkeyup=adjust:adjust;$win.bind("resize",forceAdjust);scope.$watch(function(){return ngModel.$modelValue},function(newValue){forceAdjust()});scope.$on("elastic:adjust",function(){initMirror();forceAdjust()});$timeout(adjust);scope.$on("$destroy",function(){$mirror.remove();$win.unbind("resize",forceAdjust)})}}}])},function(module,exports,__webpack_require__){module.exports=__webpack_require__(2369)},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*! nouislider - 8.5.1 - 2016-04-24 16:00:29 */ /*! nouislider - 8.5.1 - 2016-04-24 16:00:29 */
(function(factory){true;!(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_FACTORY__=factory,__WEBPACK_AMD_DEFINE_RESULT__="function"===typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__,void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})(function(){"use strict";function unique(array){return array.filter(function(a){return!this[a]&&(this[a]=true)},{})}function closest(value,to){return Math.round(value/to)*to}function offset(elem){var rect=elem.getBoundingClientRect(),doc=elem.ownerDocument,docElem=doc.documentElement,pageOffset=getPageOffset();/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(pageOffset.x=0);return{top:rect.top+pageOffset.y-docElem.clientTop,left:rect.left+pageOffset.x-docElem.clientLeft}}function isNumeric(a){return"number"===typeof a&&!isNaN(a)&&isFinite(a)}function addClassFor(element,className,duration){addClass(element,className);setTimeout(function(){removeClass(element,className)},duration)}function limit(a){return Math.max(Math.min(a,100),0)}function asArray(a){return Array.isArray(a)?a:[a]}function countDecimals(numStr){var pieces=numStr.split(".");return pieces.length>1?pieces[1].length:0}function addClass(el,className){el.classList?el.classList.add(className):el.className+=" "+className}function removeClass(el,className){el.classList?el.classList.remove(className):el.className=el.className.replace(new RegExp("(^|\\b)"+className.split(" ").join("|")+"(\\b|$)","gi")," ")}function hasClass(el,className){return el.classList?el.classList.contains(className):new RegExp("\\b"+className+"\\b").test(el.className)}function getPageOffset(){var supportPageOffset=void 0!==window.pageXOffset,isCSS1Compat="CSS1Compat"===(document.compatMode||""),x=supportPageOffset?window.pageXOffset:isCSS1Compat?document.documentElement.scrollLeft:document.body.scrollLeft,y=supportPageOffset?window.pageYOffset:isCSS1Compat?document.documentElement.scrollTop:document.body.scrollTop;return{x:x,y:y}}function getActions(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function subRangeRatio(pa,pb){return 100/(pb-pa)}function fromPercentage(range,value){return 100*value/(range[1]-range[0])}function toPercentage(range,value){return fromPercentage(range,range[0]<0?value+Math.abs(range[0]):value-range[0])}function isPercentage(range,value){return value*(range[1]-range[0])/100+range[0]}function getJ(value,arr){var j=1;while(value>=arr[j])j+=1;return j}function toStepping(xVal,xPct,value){if(value>=xVal.slice(-1)[0])return 100;var va,vb,pa,pb,j=getJ(value,xVal);va=xVal[j-1];vb=xVal[j];pa=xPct[j-1];pb=xPct[j];return pa+toPercentage([va,vb],value)/subRangeRatio(pa,pb)}function fromStepping(xVal,xPct,value){if(value>=100)return xVal.slice(-1)[0];var va,vb,pa,pb,j=getJ(value,xPct);va=xVal[j-1];vb=xVal[j];pa=xPct[j-1];pb=xPct[j];return isPercentage([va,vb],(value-pa)*subRangeRatio(pa,pb))}function getStep(xPct,xSteps,snap,value){if(100===value)return value;var a,b,j=getJ(value,xPct);if(snap){a=xPct[j-1];b=xPct[j];if(value-a>(b-a)/2)return b;return a}if(!xSteps[j-1])return value;return xPct[j-1]+closest(value-xPct[j-1],xSteps[j-1])}function handleEntryPoint(index,value,that){var percentage;"number"===typeof value&&(value=[value]);if("[object Array]"!==Object.prototype.toString.call(value))throw new Error("noUiSlider: 'range' contains invalid value.");percentage="min"===index?0:"max"===index?100:parseFloat(index);if(!isNumeric(percentage)||!isNumeric(value[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");that.xPct.push(percentage);that.xVal.push(value[0]);percentage?that.xSteps.push(!isNaN(value[1])&&value[1]):isNaN(value[1])||(that.xSteps[0]=value[1])}function handleStepPoint(i,n,that){if(!n)return true;that.xSteps[i]=fromPercentage([that.xVal[i],that.xVal[i+1]],n)/subRangeRatio(that.xPct[i],that.xPct[i+1])}function Spectrum(entry,snap,direction,singleStep){this.xPct=[];this.xVal=[];this.xSteps=[singleStep||false];this.xNumSteps=[false];this.snap=snap;this.direction=direction;var index,ordered=[];for(index in entry)entry.hasOwnProperty(index)&&ordered.push([entry[index],index]);ordered.length&&"object"===typeof ordered[0][0]?ordered.sort(function(a,b){return a[0][0]-b[0][0]}):ordered.sort(function(a,b){return a[0]-b[0]});for(index=0;index<ordered.length;index++)handleEntryPoint(ordered[index][1],ordered[index][0],this);this.xNumSteps=this.xSteps.slice(0);for(index=0;index<this.xNumSteps.length;index++)handleStepPoint(index,this.xNumSteps[index],this)}Spectrum.prototype.getMargin=function(value){return 2===this.xPct.length&&fromPercentage(this.xVal,value)};Spectrum.prototype.toStepping=function(value){value=toStepping(this.xVal,this.xPct,value);this.direction&&(value=100-value);return value};Spectrum.prototype.fromStepping=function(value){this.direction&&(value=100-value);return fromStepping(this.xVal,this.xPct,value)};Spectrum.prototype.getStep=function(value){this.direction&&(value=100-value);value=getStep(this.xPct,this.xSteps,this.snap,value);this.direction&&(value=100-value);return value};Spectrum.prototype.getApplicableStep=function(value){var j=getJ(value,this.xPct),offset=100===value?2:1;return[this.xNumSteps[j-2],this.xVal[j-offset],this.xNumSteps[j-offset]]};Spectrum.prototype.convert=function(value){return this.getStep(this.toStepping(value))};var defaultFormatter={to:function(value){return void 0!==value&&value.toFixed(2)},from:Number};function testStep(parsed,entry){if(!isNumeric(entry))throw new Error("noUiSlider: 'step' is not numeric.");parsed.singleStep=entry}function testRange(parsed,entry){if("object"!==typeof entry||Array.isArray(entry))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===entry.min||void 0===entry.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");if(entry.min===entry.max)throw new Error("noUiSlider: 'range' 'min' and 'max' cannot be equal.");parsed.spectrum=new Spectrum(entry,parsed.snap,parsed.dir,parsed.singleStep)}function testStart(parsed,entry){entry=asArray(entry);if(!Array.isArray(entry)||!entry.length||entry.length>2)throw new Error("noUiSlider: 'start' option is incorrect.");parsed.handles=entry.length;parsed.start=entry}function testSnap(parsed,entry){parsed.snap=entry;if("boolean"!==typeof entry)throw new Error("noUiSlider: 'snap' option must be a boolean.")}function testAnimate(parsed,entry){parsed.animate=entry;if("boolean"!==typeof entry)throw new Error("noUiSlider: 'animate' option must be a boolean.")}function testAnimationDuration(parsed,entry){parsed.animationDuration=entry;if("number"!==typeof entry)throw new Error("noUiSlider: 'animationDuration' option must be a number.")}function testConnect(parsed,entry){if("lower"===entry&&1===parsed.handles)parsed.connect=1;else if("upper"===entry&&1===parsed.handles)parsed.connect=2;else if(true===entry&&2===parsed.handles)parsed.connect=3;else{if(false!==entry)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");parsed.connect=0}}function testOrientation(parsed,entry){switch(entry){case"horizontal":parsed.ort=0;break;case"vertical":parsed.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function testMargin(parsed,entry){if(!isNumeric(entry))throw new Error("noUiSlider: 'margin' option must be numeric.");if(0===entry)return;parsed.margin=parsed.spectrum.getMargin(entry);if(!parsed.margin)throw new Error("noUiSlider: 'margin' option is only supported on linear sliders.")}function testLimit(parsed,entry){if(!isNumeric(entry))throw new Error("noUiSlider: 'limit' option must be numeric.");parsed.limit=parsed.spectrum.getMargin(entry);if(!parsed.limit)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders.")}function testDirection(parsed,entry){switch(entry){case"ltr":parsed.dir=0;break;case"rtl":parsed.dir=1;parsed.connect=[0,2,1,3][parsed.connect];break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function testBehaviour(parsed,entry){if("string"!==typeof entry)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var tap=entry.indexOf("tap")>=0,drag=entry.indexOf("drag")>=0,fixed=entry.indexOf("fixed")>=0,snap=entry.indexOf("snap")>=0,hover=entry.indexOf("hover")>=0;if(drag&&!parsed.connect)throw new Error("noUiSlider: 'drag' behaviour must be used with 'connect': true.");parsed.events={tap:tap||snap,drag:drag,fixed:fixed,snap:snap,hover:hover}}function testTooltips(parsed,entry){var i;if(false===entry)return;if(true===entry){parsed.tooltips=[];for(i=0;i<parsed.handles;i++)parsed.tooltips.push(true)}else{parsed.tooltips=asArray(entry);if(parsed.tooltips.length!==parsed.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");parsed.tooltips.forEach(function(formatter){if("boolean"!==typeof formatter&&("object"!==typeof formatter||"function"!==typeof formatter.to))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")})}}function testFormat(parsed,entry){parsed.format=entry;if("function"===typeof entry.to&&"function"===typeof entry.from)return true;throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.")}function testCssPrefix(parsed,entry){if(void 0!==entry&&"string"!==typeof entry&&false!==entry)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");parsed.cssPrefix=entry}function testCssClasses(parsed,entry){if(void 0!==entry&&"object"!==typeof entry)throw new Error("noUiSlider: 'cssClasses' must be an object.");if("string"===typeof parsed.cssPrefix){parsed.cssClasses={};for(var key in entry){if(!entry.hasOwnProperty(key))continue;parsed.cssClasses[key]=parsed.cssPrefix+entry[key]}}else parsed.cssClasses=entry}function testOptions(options){var tests,parsed={margin:0,limit:0,animate:true,animationDuration:300,format:defaultFormatter};tests={step:{r:false,t:testStep},start:{r:true,t:testStart},connect:{r:true,t:testConnect},direction:{r:true,t:testDirection},snap:{r:false,t:testSnap},animate:{r:false,t:testAnimate},animationDuration:{r:false,t:testAnimationDuration},range:{r:true,t:testRange},orientation:{r:false,t:testOrientation},margin:{r:false,t:testMargin},limit:{r:false,t:testLimit},behaviour:{r:true,t:testBehaviour},format:{r:false,t:testFormat},tooltips:{r:false,t:testTooltips},cssPrefix:{r:false,t:testCssPrefix},cssClasses:{r:false,t:testCssClasses}};var defaults={connect:false,direction:"ltr",behaviour:"tap",orientation:"horizontal",cssPrefix:"noUi-",cssClasses:{target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",ltr:"ltr",rtl:"rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",stacking:"stacking",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"}};Object.keys(tests).forEach(function(name){if(void 0===options[name]&&void 0===defaults[name]){if(tests[name].r)throw new Error("noUiSlider: '"+name+"' is required.");return true}tests[name].t(parsed,void 0===options[name]?defaults[name]:options[name])});parsed.pips=options.pips;parsed.style=parsed.ort?"top":"left";return parsed}function closure(target,options,originalOptions){var scope_Base,scope_Handles,scope_Self,actions=getActions(),scope_Target=target,scope_Locations=[-1,-1],scope_Spectrum=options.spectrum,scope_Values=[],scope_Events={};function getPositions(a,b,delimit){var c=a+b[0],d=a+b[1];if(delimit){c<0&&(d+=Math.abs(c));d>100&&(c-=d-100);return[limit(c),limit(d)]}return[c,d]}function fixEvent(e,pageOffset){e.preventDefault();var x,y,touch=0===e.type.indexOf("touch"),mouse=0===e.type.indexOf("mouse"),pointer=0===e.type.indexOf("pointer"),event=e;0===e.type.indexOf("MSPointer")&&(pointer=true);if(touch){x=e.changedTouches[0].pageX;y=e.changedTouches[0].pageY}pageOffset=pageOffset||getPageOffset();if(mouse||pointer){x=e.clientX+pageOffset.x;y=e.clientY+pageOffset.y}event.pageOffset=pageOffset;event.points=[x,y];event.cursor=mouse||pointer;return event}function addHandle(direction,index){var origin=document.createElement("div"),handle=document.createElement("div"),classModifier=[options.cssClasses.handleLower,options.cssClasses.handleUpper];direction&&classModifier.reverse();addClass(handle,options.cssClasses.handle);addClass(handle,classModifier[index]);addClass(origin,options.cssClasses.origin);origin.appendChild(handle);return origin}function addConnection(connect,target,handles){switch(connect){case 1:addClass(target,options.cssClasses.connect);addClass(handles[0],options.cssClasses.background);break;case 3:addClass(handles[1],options.cssClasses.background);case 2:addClass(handles[0],options.cssClasses.connect);case 0:addClass(target,options.cssClasses.background)}}function addHandles(nrHandles,direction,base){var index,handles=[];for(index=0;index<nrHandles;index+=1)handles.push(base.appendChild(addHandle(direction,index)));return handles}function addSlider(direction,orientation,target){addClass(target,options.cssClasses.target);addClass(target,0===direction?options.cssClasses.ltr:options.cssClasses.rtl);addClass(target,0===orientation?options.cssClasses.horizontal:options.cssClasses.vertical);var div=document.createElement("div");addClass(div,options.cssClasses.base);target.appendChild(div);return div}function addTooltip(handle,index){if(!options.tooltips[index])return false;var element=document.createElement("div");element.className=options.cssClasses.tooltip;return handle.firstChild.appendChild(element)}function tooltips(){options.dir&&options.tooltips.reverse();var tips=scope_Handles.map(addTooltip);if(options.dir){tips.reverse();options.tooltips.reverse()}bindEvent("update",function(f,o,r){tips[o]&&(tips[o].innerHTML=true===options.tooltips[o]?f[o]:options.tooltips[o].to(r[o]))})}function getGroup(mode,values,stepped){if("range"===mode||"steps"===mode)return scope_Spectrum.xVal;if("count"===mode){var v,spread=100/(values-1),i=0;values=[];while((v=i++*spread)<=100)values.push(v);mode="positions"}if("positions"===mode)return values.map(function(value){return scope_Spectrum.fromStepping(stepped?scope_Spectrum.getStep(value):value)});if("values"===mode){if(stepped)return values.map(function(value){return scope_Spectrum.fromStepping(scope_Spectrum.getStep(scope_Spectrum.toStepping(value)))});return values}}function generateSpread(density,mode,group){function safeIncrement(value,increment){return(value+increment).toFixed(7)/1}var originalSpectrumDirection=scope_Spectrum.direction,indexes={},firstInRange=scope_Spectrum.xVal[0],lastInRange=scope_Spectrum.xVal[scope_Spectrum.xVal.length-1],ignoreFirst=false,ignoreLast=false,prevPct=0;scope_Spectrum.direction=0;group=unique(group.slice().sort(function(a,b){return a-b}));if(group[0]!==firstInRange){group.unshift(firstInRange);ignoreFirst=true}if(group[group.length-1]!==lastInRange){group.push(lastInRange);ignoreLast=true}group.forEach(function(current,index){var step,i,q,newPct,pctDifference,pctPos,type,steps,realSteps,stepsize,low=current,high=group[index+1];"steps"===mode&&(step=scope_Spectrum.xNumSteps[index]);step||(step=high-low);if(false===low||void 0===high)return;for(i=low;i<=high;i=safeIncrement(i,step)){newPct=scope_Spectrum.toStepping(i);pctDifference=newPct-prevPct;steps=pctDifference/density;realSteps=Math.round(steps);stepsize=pctDifference/realSteps;for(q=1;q<=realSteps;q+=1){pctPos=prevPct+q*stepsize;indexes[pctPos.toFixed(5)]=["x",0]}type=group.indexOf(i)>-1?1:"steps"===mode?2:0;!index&&ignoreFirst&&(type=0);i===high&&ignoreLast||(indexes[newPct.toFixed(5)]=[i,type]);prevPct=newPct}});scope_Spectrum.direction=originalSpectrumDirection;return indexes}function addMarking(spread,filterFunc,formatter){var element=document.createElement("div"),out="",valueSizeClasses=[options.cssClasses.valueNormal,options.cssClasses.valueLarge,options.cssClasses.valueSub],markerSizeClasses=[options.cssClasses.markerNormal,options.cssClasses.markerLarge,options.cssClasses.markerSub],valueOrientationClasses=[options.cssClasses.valueHorizontal,options.cssClasses.valueVertical],markerOrientationClasses=[options.cssClasses.markerHorizontal,options.cssClasses.markerVertical];addClass(element,options.cssClasses.pips);addClass(element,0===options.ort?options.cssClasses.pipsHorizontal:options.cssClasses.pipsVertical);function getClasses(type,source){var a=source===options.cssClasses.value,orientationClasses=a?valueOrientationClasses:markerOrientationClasses,sizeClasses=a?valueSizeClasses:markerSizeClasses;return source+" "+orientationClasses[options.ort]+" "+sizeClasses[type]}function getTags(offset,source,values){return'class="'+getClasses(values[1],source)+'" style="'+options.style+": "+offset+'%"'}function addSpread(offset,values){scope_Spectrum.direction&&(offset=100-offset);values[1]=values[1]&&filterFunc?filterFunc(values[0],values[1]):values[1];out+="<div "+getTags(offset,options.cssClasses.marker,values)+"></div>";values[1]&&(out+="<div "+getTags(offset,options.cssClasses.value,values)+">"+formatter.to(values[0])+"</div>")}Object.keys(spread).forEach(function(a){addSpread(a,spread[a])});element.innerHTML=out;return element}function pips(grid){var mode=grid.mode,density=grid.density||1,filter=grid.filter||false,values=grid.values||false,stepped=grid.stepped||false,group=getGroup(mode,values,stepped),spread=generateSpread(density,mode,group),format=grid.format||{to:Math.round};return scope_Target.appendChild(addMarking(spread,filter,format))}function baseSize(){var rect=scope_Base.getBoundingClientRect(),alt="offset"+["Width","Height"][options.ort];return 0===options.ort?rect.width||scope_Base[alt]:rect.height||scope_Base[alt]}function fireEvent(event,handleNumber,tap){var i;for(i=0;i<options.handles;i++)if(-1===scope_Locations[i])return;void 0!==handleNumber&&1!==options.handles&&(handleNumber=Math.abs(handleNumber-options.dir));Object.keys(scope_Events).forEach(function(targetEvent){var eventType=targetEvent.split(".")[0];event===eventType&&scope_Events[targetEvent].forEach(function(callback){callback.call(scope_Self,asArray(valueGet()),handleNumber,asArray(inSliderOrder(Array.prototype.slice.call(scope_Values))),tap||false,scope_Locations)})})}function inSliderOrder(values){if(1===values.length)return values[0];if(options.dir)return values.reverse();return values}function attach(events,element,callback,data){var method=function(e){if(scope_Target.hasAttribute("disabled"))return false;if(hasClass(scope_Target,options.cssClasses.tap))return false;e=fixEvent(e,data.pageOffset);if(events===actions.start&&void 0!==e.buttons&&e.buttons>1)return false;if(data.hover&&e.buttons)return false;e.calcPoint=e.points[options.ort];callback(e,data)},methods=[];events.split(" ").forEach(function(eventName){element.addEventListener(eventName,method,false);methods.push([eventName,method])});return methods}function move(event,data){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===event.buttons&&0!==data.buttonsProperty)return end(event,data);var positions,i,handles=data.handles||scope_Handles,state=false,proposal=100*(event.calcPoint-data.start)/data.baseSize,handleNumber=handles[0]===scope_Handles[0]?0:1;positions=getPositions(proposal,data.positions,handles.length>1);state=setHandle(handles[0],positions[handleNumber],1===handles.length);if(handles.length>1){state=setHandle(handles[1],positions[handleNumber?0:1],false)||state;if(state)for(i=0;i<data.handles.length;i++)fireEvent("slide",i)}else state&&fireEvent("slide",handleNumber)}function end(event,data){var active=scope_Base.querySelector("."+options.cssClasses.active),handleNumber=data.handles[0]===scope_Handles[0]?0:1;null!==active&&removeClass(active,options.cssClasses.active);if(event.cursor){document.body.style.cursor="";document.body.removeEventListener("selectstart",document.body.noUiListener)}var d=document.documentElement;d.noUiListeners.forEach(function(c){d.removeEventListener(c[0],c[1])});removeClass(scope_Target,options.cssClasses.drag);fireEvent("set",handleNumber);fireEvent("change",handleNumber);void 0!==data.handleNumber&&fireEvent("end",data.handleNumber)}function documentLeave(event,data){"mouseout"===event.type&&"HTML"===event.target.nodeName&&null===event.relatedTarget&&end(event,data)}function start(event,data){var d=document.documentElement;if(1===data.handles.length){if(data.handles[0].hasAttribute("disabled"))return false;addClass(data.handles[0].children[0],options.cssClasses.active)}event.preventDefault();event.stopPropagation();var moveEvent=attach(actions.move,d,move,{start:event.calcPoint,baseSize:baseSize(),pageOffset:event.pageOffset,handles:data.handles,handleNumber:data.handleNumber,buttonsProperty:event.buttons,positions:[scope_Locations[0],scope_Locations[scope_Handles.length-1]]}),endEvent=attach(actions.end,d,end,{handles:data.handles,handleNumber:data.handleNumber});var outEvent=attach("mouseout",d,documentLeave,{handles:data.handles,handleNumber:data.handleNumber});d.noUiListeners=moveEvent.concat(endEvent,outEvent);if(event.cursor){document.body.style.cursor=getComputedStyle(event.target).cursor;scope_Handles.length>1&&addClass(scope_Target,options.cssClasses.drag);var f=function(){return false};document.body.noUiListener=f;document.body.addEventListener("selectstart",f,false)}void 0!==data.handleNumber&&fireEvent("start",data.handleNumber)}function tap(event){var handleNumber,to,location=event.calcPoint,total=0;event.stopPropagation();scope_Handles.forEach(function(a){total+=offset(a)[options.style]});handleNumber=location<total/2||1===scope_Handles.length?0:1;scope_Handles[handleNumber].hasAttribute("disabled")&&(handleNumber=handleNumber?0:1);location-=offset(scope_Base)[options.style];to=100*location/baseSize();options.events.snap||addClassFor(scope_Target,options.cssClasses.tap,options.animationDuration);if(scope_Handles[handleNumber].hasAttribute("disabled"))return false;setHandle(scope_Handles[handleNumber],to);fireEvent("slide",handleNumber,true);fireEvent("set",handleNumber,true);fireEvent("change",handleNumber,true);options.events.snap&&start(event,{handles:[scope_Handles[handleNumber]]})}function hover(event){var location=event.calcPoint-offset(scope_Base)[options.style],to=scope_Spectrum.getStep(100*location/baseSize()),value=scope_Spectrum.fromStepping(to);Object.keys(scope_Events).forEach(function(targetEvent){"hover"===targetEvent.split(".")[0]&&scope_Events[targetEvent].forEach(function(callback){callback.call(scope_Self,value)})})}function events(behaviour){behaviour.fixed||scope_Handles.forEach(function(handle,index){attach(actions.start,handle.children[0],start,{handles:[handle],handleNumber:index})});behaviour.tap&&attach(actions.start,scope_Base,tap,{handles:scope_Handles});behaviour.hover&&attach(actions.move,scope_Base,hover,{hover:true});if(behaviour.drag){var drag=[scope_Base.querySelector("."+options.cssClasses.connect)];addClass(drag[0],options.cssClasses.draggable);behaviour.fixed&&drag.push(scope_Handles[drag[0]===scope_Handles[0]?1:0].children[0]);drag.forEach(function(element){attach(actions.start,element,start,{handles:scope_Handles})})}}function setHandle(handle,to,noLimitOption){var trigger=handle!==scope_Handles[0]?1:0,lowerMargin=scope_Locations[0]+options.margin,upperMargin=scope_Locations[1]-options.margin,lowerLimit=scope_Locations[0]+options.limit,upperLimit=scope_Locations[1]-options.limit;scope_Handles.length>1&&(to=trigger?Math.max(to,lowerMargin):Math.min(to,upperMargin));false!==noLimitOption&&options.limit&&scope_Handles.length>1&&(to=trigger?Math.min(to,lowerLimit):Math.max(to,upperLimit));to=scope_Spectrum.getStep(to);to=limit(to);if(to===scope_Locations[trigger])return false;window.requestAnimationFrame?window.requestAnimationFrame(function(){handle.style[options.style]=to+"%"}):handle.style[options.style]=to+"%";if(!handle.previousSibling){removeClass(handle,options.cssClasses.stacking);to>50&&addClass(handle,options.cssClasses.stacking)}scope_Locations[trigger]=to;scope_Values[trigger]=scope_Spectrum.fromStepping(to);fireEvent("update",trigger);return true}function setValues(count,values){var i,trigger,to;options.limit&&(count+=1);for(i=0;i<count;i+=1){trigger=i%2;to=values[trigger];if(null!==to&&false!==to){"number"===typeof to&&(to=String(to));to=options.format.from(to);(false===to||isNaN(to)||false===setHandle(scope_Handles[trigger],scope_Spectrum.toStepping(to),i===3-options.dir))&&fireEvent("update",trigger)}}}function valueSet(input,fireSetEvent){var count,i,values=asArray(input);fireSetEvent=void 0===fireSetEvent||!!fireSetEvent;options.dir&&options.handles>1&&values.reverse();options.animate&&-1!==scope_Locations[0]&&addClassFor(scope_Target,options.cssClasses.tap,options.animationDuration);count=scope_Handles.length>1?3:1;1===values.length&&(count=1);setValues(count,values);for(i=0;i<scope_Handles.length;i++)null!==values[i]&&fireSetEvent&&fireEvent("set",i)}function valueGet(){var i,retour=[];for(i=0;i<options.handles;i+=1)retour[i]=options.format.to(scope_Values[i]);return inSliderOrder(retour)}function destroy(){for(var key in options.cssClasses){if(!options.cssClasses.hasOwnProperty(key))continue;removeClass(scope_Target,options.cssClasses[key])}while(scope_Target.firstChild)scope_Target.removeChild(scope_Target.firstChild);delete scope_Target.noUiSlider}function getCurrentStep(){var retour=scope_Locations.map(function(location,index){var step=scope_Spectrum.getApplicableStep(location),stepDecimals=countDecimals(String(step[2])),value=scope_Values[index],increment=100===location?null:step[2],prev=Number((value-step[2]).toFixed(stepDecimals)),decrement=0===location?null:prev>=step[1]?step[2]:step[0]||false;return[decrement,increment]});return inSliderOrder(retour)}function bindEvent(namespacedEvent,callback){scope_Events[namespacedEvent]=scope_Events[namespacedEvent]||[];scope_Events[namespacedEvent].push(callback);"update"===namespacedEvent.split(".")[0]&&scope_Handles.forEach(function(a,index){fireEvent("update",index)})}function removeEvent(namespacedEvent){var event=namespacedEvent&&namespacedEvent.split(".")[0],namespace=event&&namespacedEvent.substring(event.length);Object.keys(scope_Events).forEach(function(bind){var tEvent=bind.split(".")[0],tNamespace=bind.substring(tEvent.length);event&&event!==tEvent||namespace&&namespace!==tNamespace||delete scope_Events[bind]})}function updateOptions(optionsToUpdate,fireSetEvent){var v=valueGet(),newOptions=testOptions({start:[0,0],margin:optionsToUpdate.margin,limit:optionsToUpdate.limit,step:void 0===optionsToUpdate.step?options.singleStep:optionsToUpdate.step,range:optionsToUpdate.range,animate:optionsToUpdate.animate,snap:void 0===optionsToUpdate.snap?options.snap:optionsToUpdate.snap});["margin","limit","range","animate"].forEach(function(name){void 0!==optionsToUpdate[name]&&(options[name]=optionsToUpdate[name])});newOptions.spectrum.direction=scope_Spectrum.direction;scope_Spectrum=newOptions.spectrum;scope_Locations=[-1,-1];valueSet(optionsToUpdate.start||v,fireSetEvent)}if(scope_Target.noUiSlider)throw new Error("Slider was already initialized.");scope_Base=addSlider(options.dir,options.ort,scope_Target);scope_Handles=addHandles(options.handles,options.dir,scope_Base);addConnection(options.connect,scope_Target,scope_Handles);options.pips&&pips(options.pips);options.tooltips&&tooltips();scope_Self={destroy:destroy,steps:getCurrentStep,on:bindEvent,off:removeEvent,get:valueGet,set:valueSet,updateOptions:updateOptions,options:originalOptions,target:scope_Target,pips:pips};events(options.events);return scope_Self}function initialize(target,originalOptions){if(!target.nodeName)throw new Error("noUiSlider.create requires a single element.");var options=testOptions(originalOptions,target),slider=closure(target,options,originalOptions);slider.set(options.start);target.noUiSlider=slider;return slider}return{create:initialize}})},function(module,exports,__webpack_require__){"use strict";module.exports={isString:function(arg){return"string"===typeof arg},isObject:function(arg){return"object"===typeof arg&&null!==arg},isNull:function(arg){return null===arg},isNullOrUndefined:function(arg){return null==arg}}},function(module,exports,__webpack_require__){(function(Buffer,global,process){var capability=__webpack_require__(898);var inherits=__webpack_require__(122);var response=__webpack_require__(899);var stream=__webpack_require__(257);var toArrayBuffer=__webpack_require__(2377);var IncomingMessage=response.IncomingMessage;var rStates=response.readyStates;function decideMode(preferBinary,useFetch){return capability.fetch&&useFetch?"fetch":capability.mozchunkedarraybuffer?"moz-chunked-arraybuffer":capability.msstream?"ms-stream":capability.arraybuffer&&preferBinary?"arraybuffer":capability.vbArray&&preferBinary?"text:vbarray":"text"}var ClientRequest=module.exports=function(opts){var self=this;stream.Writable.call(self);self._opts=opts;self._body=[];self._headers={};opts.auth&&self.setHeader("Authorization","Basic "+new Buffer(opts.auth).toString("base64"));Object.keys(opts.headers).forEach(function(name){self.setHeader(name,opts.headers[name])});var preferBinary;var useFetch=true;if("disable-fetch"===opts.mode||"requestTimeout"in opts&&!capability.abortController){useFetch=false;preferBinary=true}else if("prefer-streaming"===opts.mode)preferBinary=false;else if("allow-wrong-content-type"===opts.mode)preferBinary=!capability.overrideMimeType;else{if(opts.mode&&"default"!==opts.mode&&"prefer-fast"!==opts.mode)throw new Error("Invalid value for opts.mode");preferBinary=true}self._mode=decideMode(preferBinary,useFetch);self.on("finish",function(){self._onFinish()})};inherits(ClientRequest,stream.Writable);ClientRequest.prototype.setHeader=function(name,value){var self=this;var lowerName=name.toLowerCase();if(-1!==unsafeHeaders.indexOf(lowerName))return;self._headers[lowerName]={name:name,value:value}};ClientRequest.prototype.getHeader=function(name){var header=this._headers[name.toLowerCase()];if(header)return header.value;return null};ClientRequest.prototype.removeHeader=function(name){var self=this;delete self._headers[name.toLowerCase()]};ClientRequest.prototype._onFinish=function(){var self=this;if(self._destroyed)return;var opts=self._opts;var headersObj=self._headers;var body=null;"GET"!==opts.method&&"HEAD"!==opts.method&&(body=capability.arraybuffer?toArrayBuffer(Buffer.concat(self._body)):capability.blobConstructor?new global.Blob(self._body.map(function(buffer){return toArrayBuffer(buffer)}),{type:(headersObj["content-type"]||{}).value||""}):Buffer.concat(self._body).toString());var headersList=[];Object.keys(headersObj).forEach(function(keyName){var name=headersObj[keyName].name;var value=headersObj[keyName].value;Array.isArray(value)?value.forEach(function(v){headersList.push([name,v])}):headersList.push([name,value])});if("fetch"===self._mode){var signal=null;if(capability.abortController){var controller=new AbortController;signal=controller.signal;self._fetchAbortController=controller;"requestTimeout"in opts&&0!==opts.requestTimeout&&global.setTimeout(function(){self.emit("requestTimeout");self._fetchAbortController&&self._fetchAbortController.abort()},opts.requestTimeout)}global.fetch(self._opts.url,{method:self._opts.method,headers:headersList,body:body||void 0,mode:"cors",credentials:opts.withCredentials?"include":"same-origin",signal:signal}).then(function(response){self._fetchResponse=response;self._connect()},function(reason){self.emit("error",reason)})}else{var xhr=self._xhr=new global.XMLHttpRequest;try{xhr.open(self._opts.method,self._opts.url,true)}catch(err){process.nextTick(function(){self.emit("error",err)});return}"responseType"in xhr&&(xhr.responseType=self._mode.split(":")[0]);"withCredentials"in xhr&&(xhr.withCredentials=!!opts.withCredentials);"text"===self._mode&&"overrideMimeType"in xhr&&xhr.overrideMimeType("text/plain; charset=x-user-defined");if("requestTimeout"in opts){xhr.timeout=opts.requestTimeout;xhr.ontimeout=function(){self.emit("requestTimeout")}}headersList.forEach(function(header){xhr.setRequestHeader(header[0],header[1])});self._response=null;xhr.onreadystatechange=function(){switch(xhr.readyState){case rStates.LOADING:case rStates.DONE:self._onXHRProgress()}};"moz-chunked-arraybuffer"===self._mode&&(xhr.onprogress=function(){self._onXHRProgress()});xhr.onerror=function(){if(self._destroyed)return;self.emit("error",new Error("XHR error"))};try{xhr.send(body)}catch(err){process.nextTick(function(){self.emit("error",err)});return}}};function statusValid(xhr){try{var status=xhr.status;return null!==status&&0!==status}catch(e){return false}}ClientRequest.prototype._onXHRProgress=function(){var self=this;if(!statusValid(self._xhr)||self._destroyed)return;self._response||self._connect();self._response._onXHRProgress()};ClientRequest.prototype._connect=function(){var self=this;if(self._destroyed)return;self._response=new IncomingMessage(self._xhr,self._fetchResponse,self._mode);self._response.on("error",function(err){self.emit("error",err)});self.emit("response",self._response)};ClientRequest.prototype._write=function(chunk,encoding,cb){var self=this;self._body.push(chunk);cb()};ClientRequest.prototype.abort=ClientRequest.prototype.destroy=function(){var self=this;self._destroyed=true;self._response&&(self._response._destroyed=true);self._xhr?self._xhr.abort():self._fetchAbortController&&self._fetchAbortController.abort()};ClientRequest.prototype.end=function(data,encoding,cb){var self=this;if("function"===typeof data){cb=data;data=void 0}stream.Writable.prototype.end.call(self,data,encoding,cb)};ClientRequest.prototype.flushHeaders=function(){};ClientRequest.prototype.setTimeout=function(){};ClientRequest.prototype.setNoDelay=function(){};ClientRequest.prototype.setSocketKeepAlive=function(){};var unsafeHeaders=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,__webpack_require__(66).Buffer,__webpack_require__(18),__webpack_require__(59))},function(module,exports){},function(module,exports,__webpack_require__){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var Buffer=__webpack_require__(338).Buffer;var util=__webpack_require__(2374);function copyBuffer(src,target,offset){src.copy(target,offset)}module.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(v){var entry={data:v,next:null};this.length>0?this.tail.next=entry:this.head=entry;this.tail=entry;++this.length};BufferList.prototype.unshift=function unshift(v){var entry={data:v,next:this.head};0===this.length&&(this.tail=entry);this.head=entry;++this.length};BufferList.prototype.shift=function shift(){if(0===this.length)return;var ret=this.head.data;1===this.length?this.head=this.tail=null:this.head=this.head.next;--this.length;return ret};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(s){if(0===this.length)return"";var p=this.head;var ret=""+p.data;while(p=p.next)ret+=s+p.data;return ret};BufferList.prototype.concat=function concat(n){if(0===this.length)return Buffer.alloc(0);if(1===this.length)return this.head.data;var ret=Buffer.allocUnsafe(n>>>0);var p=this.head;var i=0;while(p){copyBuffer(p.data,ret,i);i+=p.data.length;p=p.next}return ret};return BufferList}();util&&util.inspect&&util.inspect.custom&&(module.exports.prototype[util.inspect.custom]=function(){var obj=util.inspect({length:this.length});return this.constructor.name+" "+obj})},function(module,exports){},function(module,exports,__webpack_require__){(function(global){module.exports=deprecate;function deprecate(fn,msg){if(config("noDeprecation"))return fn;var warned=false;function deprecated(){if(!warned){if(config("throwDeprecation"))throw new Error(msg);config("traceDeprecation")?console.trace(msg):console.warn(msg);warned=true}return fn.apply(this,arguments)}return deprecated}function config(name){try{if(!global.localStorage)return false}catch(_){return false}var val=global.localStorage[name];if(null==val)return false;return"true"===String(val).toLowerCase()}}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";module.exports=PassThrough;var Transform=__webpack_require__(903);var util=__webpack_require__(258);util.inherits=__webpack_require__(122);util.inherits(PassThrough,Transform);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options)}PassThrough.prototype._transform=function(chunk,encoding,cb){cb(null,chunk)}},function(module,exports,__webpack_require__){var Buffer=__webpack_require__(66).Buffer;module.exports=function(buf){if(buf instanceof Uint8Array){if(0===buf.byteOffset&&buf.byteLength===buf.buffer.byteLength)return buf.buffer;if("function"===typeof buf.buffer.slice)return buf.buffer.slice(buf.byteOffset,buf.byteOffset+buf.byteLength)}if(Buffer.isBuffer(buf)){var arrayCopy=new Uint8Array(buf.length);var len=buf.length;for(var i=0;i<len;i++)arrayCopy[i]=buf[i];return arrayCopy.buffer}throw new Error("Argument must be a Buffer")}},function(module,exports){module.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},function(module,exports,__webpack_require__){var http=__webpack_require__(500);var url=__webpack_require__(210);var https=module.exports;for(var key in http)http.hasOwnProperty(key)&&(https[key]=http[key]);https.request=function(params,cb){params=validateParams(params);return http.request.call(this,params,cb)};https.get=function(params,cb){params=validateParams(params);return http.get.call(this,params,cb)};function validateParams(params){"string"===typeof params&&(params=url.parse(params));params.protocol||(params.protocol="https:");if("https:"!==params.protocol)throw new Error('Protocol "'+params.protocol+'" not supported. Expected "https:"');return params}},function(module,exports,__webpack_require__){"use strict";(function(process){var Buffer=__webpack_require__(66).Buffer;var Transform=__webpack_require__(503).Transform;var binding=__webpack_require__(2385);var util=__webpack_require__(336);var assert=__webpack_require__(904).ok;var kMaxLength=__webpack_require__(66).kMaxLength;var kRangeErrorMessage="Cannot create final Buffer. It would be larger than 0x"+kMaxLength.toString(16)+" bytes";binding.Z_MIN_WINDOWBITS=8;binding.Z_MAX_WINDOWBITS=15;binding.Z_DEFAULT_WINDOWBITS=15;binding.Z_MIN_CHUNK=64;binding.Z_MAX_CHUNK=Infinity;binding.Z_DEFAULT_CHUNK=16384;binding.Z_MIN_MEMLEVEL=1;binding.Z_MAX_MEMLEVEL=9;binding.Z_DEFAULT_MEMLEVEL=8;binding.Z_MIN_LEVEL=-1;binding.Z_MAX_LEVEL=9;binding.Z_DEFAULT_LEVEL=binding.Z_DEFAULT_COMPRESSION;var bkeys=Object.keys(binding);for(var bk=0;bk<bkeys.length;bk++){var bkey=bkeys[bk];bkey.match(/^Z/)&&Object.defineProperty(exports,bkey,{enumerable:true,value:binding[bkey],writable:false})}var codes={Z_OK:binding.Z_OK,Z_STREAM_END:binding.Z_STREAM_END,Z_NEED_DICT:binding.Z_NEED_DICT,Z_ERRNO:binding.Z_ERRNO,Z_STREAM_ERROR:binding.Z_STREAM_ERROR,Z_DATA_ERROR:binding.Z_DATA_ERROR,Z_MEM_ERROR:binding.Z_MEM_ERROR,Z_BUF_ERROR:binding.Z_BUF_ERROR,Z_VERSION_ERROR:binding.Z_VERSION_ERROR};var ckeys=Object.keys(codes);for(var ck=0;ck<ckeys.length;ck++){var ckey=ckeys[ck];codes[codes[ckey]]=ckey}Object.defineProperty(exports,"codes",{enumerable:true,value:Object.freeze(codes),writable:false});exports.Deflate=Deflate;exports.Inflate=Inflate;exports.Gzip=Gzip;exports.Gunzip=Gunzip;exports.DeflateRaw=DeflateRaw;exports.InflateRaw=InflateRaw;exports.Unzip=Unzip;exports.createDeflate=function(o){return new Deflate(o)};exports.createInflate=function(o){return new Inflate(o)};exports.createDeflateRaw=function(o){return new DeflateRaw(o)};exports.createInflateRaw=function(o){return new InflateRaw(o)};exports.createGzip=function(o){return new Gzip(o)};exports.createGunzip=function(o){return new Gunzip(o)};exports.createUnzip=function(o){return new Unzip(o)};exports.deflate=function(buffer,opts,callback){if("function"===typeof opts){callback=opts;opts={}}return zlibBuffer(new Deflate(opts),buffer,callback)};exports.deflateSync=function(buffer,opts){return zlibBufferSync(new Deflate(opts),buffer)};exports.gzip=function(buffer,opts,callback){if("function"===typeof opts){callback=opts;opts={}}return zlibBuffer(new Gzip(opts),buffer,callback)};exports.gzipSync=function(buffer,opts){return zlibBufferSync(new Gzip(opts),buffer)};exports.deflateRaw=function(buffer,opts,callback){if("function"===typeof opts){callback=opts;opts={}}return zlibBuffer(new DeflateRaw(opts),buffer,callback)};exports.deflateRawSync=function(buffer,opts){return zlibBufferSync(new DeflateRaw(opts),buffer)};exports.unzip=function(buffer,opts,callback){if("function"===typeof opts){callback=opts;opts={}}return zlibBuffer(new Unzip(opts),buffer,callback)};exports.unzipSync=function(buffer,opts){return zlibBufferSync(new Unzip(opts),buffer)};exports.inflate=function(buffer,opts,callback){if("function"===typeof opts){callback=opts;opts={}}return zlibBuffer(new Inflate(opts),buffer,callback)};exports.inflateSync=function(buffer,opts){return zlibBufferSync(new Inflate(opts),buffer)};exports.gunzip=function(buffer,opts,callback){if("function"===typeof opts){callback=opts;opts={}}return zlibBuffer(new Gunzip(opts),buffer,callback)};exports.gunzipSync=function(buffer,opts){return zlibBufferSync(new Gunzip(opts),buffer)};exports.inflateRaw=function(buffer,opts,callback){if("function"===typeof opts){callback=opts;opts={}}return zlibBuffer(new InflateRaw(opts),buffer,callback)};exports.inflateRawSync=function(buffer,opts){return zlibBufferSync(new InflateRaw(opts),buffer)};function zlibBuffer(engine,buffer,callback){var buffers=[];var nread=0;engine.on("error",onError);engine.on("end",onEnd);engine.end(buffer);flow();function flow(){var chunk;while(null!==(chunk=engine.read())){buffers.push(chunk);nread+=chunk.length}engine.once("readable",flow)}function onError(err){engine.removeListener("end",onEnd);engine.removeListener("readable",flow);callback(err)}function onEnd(){var buf;var err=null;nread>=kMaxLength?err=new RangeError(kRangeErrorMessage):buf=Buffer.concat(buffers,nread);buffers=[];engine.close();callback(err,buf)}}function zlibBufferSync(engine,buffer){"string"===typeof buffer&&(buffer=Buffer.from(buffer));if(!Buffer.isBuffer(buffer))throw new TypeError("Not a string or buffer");var flushFlag=engine._finishFlushFlag;return engine._processChunk(buffer,flushFlag)}function Deflate(opts){if(!(this instanceof Deflate))return new Deflate(opts);Zlib.call(this,opts,binding.DEFLATE)}function Inflate(opts){if(!(this instanceof Inflate))return new Inflate(opts);Zlib.call(this,opts,binding.INFLATE)}function Gzip(opts){if(!(this instanceof Gzip))return new Gzip(opts);Zlib.call(this,opts,binding.GZIP)}function Gunzip(opts){if(!(this instanceof Gunzip))return new Gunzip(opts);Zlib.call(this,opts,binding.GUNZIP)}function DeflateRaw(opts){if(!(this instanceof DeflateRaw))return new DeflateRaw(opts);Zlib.call(this,opts,binding.DEFLATERAW)}function InflateRaw(opts){if(!(this instanceof InflateRaw))return new InflateRaw(opts);Zlib.call(this,opts,binding.INFLATERAW)}function Unzip(opts){if(!(this instanceof Unzip))return new Unzip(opts);Zlib.call(this,opts,binding.UNZIP)}function isValidFlushFlag(flag){return flag===binding.Z_NO_FLUSH||flag===binding.Z_PARTIAL_FLUSH||flag===binding.Z_SYNC_FLUSH||flag===binding.Z_FULL_FLUSH||flag===binding.Z_FINISH||flag===binding.Z_BLOCK}function Zlib(opts,mode){var _this=this;this._opts=opts=opts||{};this._chunkSize=opts.chunkSize||exports.Z_DEFAULT_CHUNK;Transform.call(this,opts);if(opts.flush&&!isValidFlushFlag(opts.flush))throw new Error("Invalid flush flag: "+opts.flush);if(opts.finishFlush&&!isValidFlushFlag(opts.finishFlush))throw new Error("Invalid flush flag: "+opts.finishFlush);this._flushFlag=opts.flush||binding.Z_NO_FLUSH;this._finishFlushFlag="undefined"!==typeof opts.finishFlush?opts.finishFlush:binding.Z_FINISH;if(opts.chunkSize&&(opts.chunkSize<exports.Z_MIN_CHUNK||opts.chunkSize>exports.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+opts.chunkSize);if(opts.windowBits&&(opts.windowBits<exports.Z_MIN_WINDOWBITS||opts.windowBits>exports.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+opts.windowBits);if(opts.level&&(opts.level<exports.Z_MIN_LEVEL||opts.level>exports.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+opts.level);if(opts.memLevel&&(opts.memLevel<exports.Z_MIN_MEMLEVEL||opts.memLevel>exports.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+opts.memLevel);if(opts.strategy&&opts.strategy!=exports.Z_FILTERED&&opts.strategy!=exports.Z_HUFFMAN_ONLY&&opts.strategy!=exports.Z_RLE&&opts.strategy!=exports.Z_FIXED&&opts.strategy!=exports.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+opts.strategy);if(opts.dictionary&&!Buffer.isBuffer(opts.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new binding.Zlib(mode);var self=this;this._hadError=false;this._handle.onerror=function(message,errno){_close(self);self._hadError=true;var error=new Error(message);error.errno=errno;error.code=exports.codes[errno];self.emit("error",error)};var level=exports.Z_DEFAULT_COMPRESSION;"number"===typeof opts.level&&(level=opts.level);var strategy=exports.Z_DEFAULT_STRATEGY;"number"===typeof opts.strategy&&(strategy=opts.strategy);this._handle.init(opts.windowBits||exports.Z_DEFAULT_WINDOWBITS,level,opts.memLevel||exports.Z_DEFAULT_MEMLEVEL,strategy,opts.dictionary);this._buffer=Buffer.allocUnsafe(this._chunkSize);this._offset=0;this._level=level;this._strategy=strategy;this.once("end",this.close);Object.defineProperty(this,"_closed",{get:function(){return!_this._handle},configurable:true,enumerable:true})}util.inherits(Zlib,Transform);Zlib.prototype.params=function(level,strategy,callback){if(level<exports.Z_MIN_LEVEL||level>exports.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+level);if(strategy!=exports.Z_FILTERED&&strategy!=exports.Z_HUFFMAN_ONLY&&strategy!=exports.Z_RLE&&strategy!=exports.Z_FIXED&&strategy!=exports.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+strategy);if(this._level!==level||this._strategy!==strategy){var self=this;this.flush(binding.Z_SYNC_FLUSH,function(){assert(self._handle,"zlib binding closed");self._handle.params(level,strategy);if(!self._hadError){self._level=level;self._strategy=strategy;callback&&callback()}})}else process.nextTick(callback)};Zlib.prototype.reset=function(){assert(this._handle,"zlib binding closed");return this._handle.reset()};Zlib.prototype._flush=function(callback){this._transform(Buffer.alloc(0),"",callback)};Zlib.prototype.flush=function(kind,callback){var _this2=this;var ws=this._writableState;if("function"===typeof kind||void 0===kind&&!callback){callback=kind;kind=binding.Z_FULL_FLUSH}if(ws.ended)callback&&process.nextTick(callback);else if(ws.ending)callback&&this.once("end",callback);else if(ws.needDrain)callback&&this.once("drain",function(){return _this2.flush(kind,callback)});else{this._flushFlag=kind;this.write(Buffer.alloc(0),"",callback)}};Zlib.prototype.close=function(callback){_close(this,callback);process.nextTick(emitCloseNT,this)};function _close(engine,callback){callback&&process.nextTick(callback);if(!engine._handle)return;engine._handle.close();engine._handle=null}function emitCloseNT(self){self.emit("close")}Zlib.prototype._transform=function(chunk,encoding,cb){var flushFlag;var ws=this._writableState;var ending=ws.ending||ws.ended;var last=ending&&(!chunk||ws.length===chunk.length);if(null!==chunk&&!Buffer.isBuffer(chunk))return cb(new Error("invalid input"));if(!this._handle)return cb(new Error("zlib binding closed"));if(last)flushFlag=this._finishFlushFlag;else{flushFlag=this._flushFlag;chunk.length>=ws.length&&(this._flushFlag=this._opts.flush||binding.Z_NO_FLUSH)}this._processChunk(chunk,flushFlag,cb)};Zlib.prototype._processChunk=function(chunk,flushFlag,cb){var availInBefore=chunk&&chunk.length;var availOutBefore=this._chunkSize-this._offset;var inOff=0;var self=this;var async="function"===typeof cb;if(!async){var buffers=[];var nread=0;var error;this.on("error",function(er){error=er});assert(this._handle,"zlib binding closed");do{var res=this._handle.writeSync(flushFlag,chunk,inOff,availInBefore,this._buffer,this._offset,availOutBefore)}while(!this._hadError&&callback(res[0],res[1]));if(this._hadError)throw error;if(nread>=kMaxLength){_close(this);throw new RangeError(kRangeErrorMessage)}var buf=Buffer.concat(buffers,nread);_close(this);return buf}assert(this._handle,"zlib binding closed");var req=this._handle.write(flushFlag,chunk,inOff,availInBefore,this._buffer,this._offset,availOutBefore);req.buffer=chunk;req.callback=callback;function callback(availInAfter,availOutAfter){if(this){this.buffer=null;this.callback=null}if(self._hadError)return;var have=availOutBefore-availOutAfter;assert(have>=0,"have should not go down");if(have>0){var out=self._buffer.slice(self._offset,self._offset+have);self._offset+=have;if(async)self.push(out);else{buffers.push(out);nread+=out.length}}if(0===availOutAfter||self._offset>=self._chunkSize){availOutBefore=self._chunkSize;self._offset=0;self._buffer=Buffer.allocUnsafe(self._chunkSize)}if(0===availOutAfter){inOff+=availInBefore-availInAfter;availInBefore=availInAfter;if(!async)return true;var newReq=self._handle.write(flushFlag,chunk,inOff,availInBefore,self._buffer,self._offset,self._chunkSize);newReq.callback=callback;newReq.buffer=chunk;return}if(!async)return false;cb()}};util.inherits(Deflate,Zlib);util.inherits(Inflate,Zlib);util.inherits(Gzip,Zlib);util.inherits(Gunzip,Zlib);util.inherits(DeflateRaw,Zlib);util.inherits(InflateRaw,Zlib);util.inherits(Unzip,Zlib)}).call(this,__webpack_require__(59))},function(module,exports,__webpack_require__){module.exports=__webpack_require__(501)},function(module,exports,__webpack_require__){module.exports=__webpack_require__(176)},function(module,exports,__webpack_require__){module.exports=__webpack_require__(257).Transform},function(module,exports,__webpack_require__){module.exports=__webpack_require__(257).PassThrough},function(module,exports,__webpack_require__){"use strict";(function(Buffer,process){var assert=__webpack_require__(904);var Zstream=__webpack_require__(2386);var zlib_deflate=__webpack_require__(2387);var zlib_inflate=__webpack_require__(2390);var constants=__webpack_require__(2393);for(var key in constants)exports[key]=constants[key];exports.NONE=0;exports.DEFLATE=1;exports.INFLATE=2;exports.GZIP=3;exports.GUNZIP=4;exports.DEFLATERAW=5;exports.INFLATERAW=6;exports.UNZIP=7;var GZIP_HEADER_ID1=31;var GZIP_HEADER_ID2=139;function Zlib(mode){if("number"!==typeof mode||mode<exports.DEFLATE||mode>exports.UNZIP)throw new TypeError("Bad argument");this.dictionary=null;this.err=0;this.flush=0;this.init_done=false;this.level=0;this.memLevel=0;this.mode=mode;this.strategy=0;this.windowBits=0;this.write_in_progress=false;this.pending_close=false;this.gzip_id_bytes_read=0}Zlib.prototype.close=function(){if(this.write_in_progress){this.pending_close=true;return}this.pending_close=false;assert(this.init_done,"close before init");assert(this.mode<=exports.UNZIP);this.mode===exports.DEFLATE||this.mode===exports.GZIP||this.mode===exports.DEFLATERAW?zlib_deflate.deflateEnd(this.strm):this.mode!==exports.INFLATE&&this.mode!==exports.GUNZIP&&this.mode!==exports.INFLATERAW&&this.mode!==exports.UNZIP||zlib_inflate.inflateEnd(this.strm);this.mode=exports.NONE;this.dictionary=null};Zlib.prototype.write=function(flush,input,in_off,in_len,out,out_off,out_len){return this._write(true,flush,input,in_off,in_len,out,out_off,out_len)};Zlib.prototype.writeSync=function(flush,input,in_off,in_len,out,out_off,out_len){return this._write(false,flush,input,in_off,in_len,out,out_off,out_len)};Zlib.prototype._write=function(async,flush,input,in_off,in_len,out,out_off,out_len){assert.equal(arguments.length,8);assert(this.init_done,"write before init");assert(this.mode!==exports.NONE,"already finalized");assert.equal(false,this.write_in_progress,"write already in progress");assert.equal(false,this.pending_close,"close is pending");this.write_in_progress=true;assert.equal(false,void 0===flush,"must provide flush value");this.write_in_progress=true;if(flush!==exports.Z_NO_FLUSH&&flush!==exports.Z_PARTIAL_FLUSH&&flush!==exports.Z_SYNC_FLUSH&&flush!==exports.Z_FULL_FLUSH&&flush!==exports.Z_FINISH&&flush!==exports.Z_BLOCK)throw new Error("Invalid flush value");if(null==input){input=Buffer.alloc(0);in_len=0;in_off=0}this.strm.avail_in=in_len;this.strm.input=input;this.strm.next_in=in_off;this.strm.avail_out=out_len;this.strm.output=out;this.strm.next_out=out_off;this.flush=flush;if(!async){this._process();if(this._checkError())return this._afterSync();return}var self=this;process.nextTick(function(){self._process();self._after()});return this};Zlib.prototype._afterSync=function(){var avail_out=this.strm.avail_out;var avail_in=this.strm.avail_in;this.write_in_progress=false;return[avail_in,avail_out]};Zlib.prototype._process=function(){var next_expected_header_byte=null;switch(this.mode){case exports.DEFLATE:case exports.GZIP:case exports.DEFLATERAW:this.err=zlib_deflate.deflate(this.strm,this.flush);break;case exports.UNZIP:this.strm.avail_in>0&&(next_expected_header_byte=this.strm.next_in);switch(this.gzip_id_bytes_read){case 0:if(null===next_expected_header_byte)break;if(this.strm.input[next_expected_header_byte]!==GZIP_HEADER_ID1){this.mode=exports.INFLATE;break}this.gzip_id_bytes_read=1;next_expected_header_byte++;if(1===this.strm.avail_in)break;case 1:if(null===next_expected_header_byte)break;if(this.strm.input[next_expected_header_byte]===GZIP_HEADER_ID2){this.gzip_id_bytes_read=2;this.mode=exports.GUNZIP}else this.mode=exports.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case exports.INFLATE:case exports.GUNZIP:case exports.INFLATERAW:this.err=zlib_inflate.inflate(this.strm,this.flush);if(this.err===exports.Z_NEED_DICT&&this.dictionary){this.err=zlib_inflate.inflateSetDictionary(this.strm,this.dictionary);this.err===exports.Z_OK?this.err=zlib_inflate.inflate(this.strm,this.flush):this.err===exports.Z_DATA_ERROR&&(this.err=exports.Z_NEED_DICT)}while(this.strm.avail_in>0&&this.mode===exports.GUNZIP&&this.err===exports.Z_STREAM_END&&0!==this.strm.next_in[0]){this.reset();this.err=zlib_inflate.inflate(this.strm,this.flush)}break;default:throw new Error("Unknown mode "+this.mode)}};Zlib.prototype._checkError=function(){switch(this.err){case exports.Z_OK:case exports.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===exports.Z_FINISH){this._error("unexpected end of file");return false}break;case exports.Z_STREAM_END:break;case exports.Z_NEED_DICT:null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary");return false;default:this._error("Zlib error");return false}return true};Zlib.prototype._after=function(){if(!this._checkError())return;var avail_out=this.strm.avail_out;var avail_in=this.strm.avail_in;this.write_in_progress=false;this.callback(avail_in,avail_out);this.pending_close&&this.close()};Zlib.prototype._error=function(message){this.strm.msg&&(message=this.strm.msg);this.onerror(message,this.err);this.write_in_progress=false;this.pending_close&&this.close()};Zlib.prototype.init=function(windowBits,level,memLevel,strategy,dictionary){assert(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])");assert(windowBits>=8&&windowBits<=15,"invalid windowBits");assert(level>=-1&&level<=9,"invalid compression level");assert(memLevel>=1&&memLevel<=9,"invalid memlevel");assert(strategy===exports.Z_FILTERED||strategy===exports.Z_HUFFMAN_ONLY||strategy===exports.Z_RLE||strategy===exports.Z_FIXED||strategy===exports.Z_DEFAULT_STRATEGY,"invalid strategy");this._init(level,windowBits,memLevel,strategy,dictionary);this._setDictionary()};Zlib.prototype.params=function(){throw new Error("deflateParams Not supported")};Zlib.prototype.reset=function(){this._reset();this._setDictionary()};Zlib.prototype._init=function(level,windowBits,memLevel,strategy,dictionary){this.level=level;this.windowBits=windowBits;this.memLevel=memLevel;this.strategy=strategy;this.flush=exports.Z_NO_FLUSH;this.err=exports.Z_OK;this.mode!==exports.GZIP&&this.mode!==exports.GUNZIP||(this.windowBits+=16);this.mode===exports.UNZIP&&(this.windowBits+=32);this.mode!==exports.DEFLATERAW&&this.mode!==exports.INFLATERAW||(this.windowBits=-1*this.windowBits);this.strm=new Zstream;switch(this.mode){case exports.DEFLATE:case exports.GZIP:case exports.DEFLATERAW:this.err=zlib_deflate.deflateInit2(this.strm,this.level,exports.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case exports.INFLATE:case exports.GUNZIP:case exports.INFLATERAW:case exports.UNZIP:this.err=zlib_inflate.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==exports.Z_OK&&this._error("Init error");this.dictionary=dictionary;this.write_in_progress=false;this.init_done=true};Zlib.prototype._setDictionary=function(){if(null==this.dictionary)return;this.err=exports.Z_OK;switch(this.mode){case exports.DEFLATE:case exports.DEFLATERAW:this.err=zlib_deflate.deflateSetDictionary(this.strm,this.dictionary)}this.err!==exports.Z_OK&&this._error("Failed to set dictionary")};Zlib.prototype._reset=function(){this.err=exports.Z_OK;switch(this.mode){case exports.DEFLATE:case exports.DEFLATERAW:case exports.GZIP:this.err=zlib_deflate.deflateReset(this.strm);break;case exports.INFLATE:case exports.INFLATERAW:case exports.GUNZIP:this.err=zlib_inflate.inflateReset(this.strm)}this.err!==exports.Z_OK&&this._error("Failed to reset stream")};exports.Zlib=Zlib}).call(this,__webpack_require__(66).Buffer,__webpack_require__(59))},function(module,exports,__webpack_require__){"use strict";function ZStream(){this.input=null;this.next_in=0;this.avail_in=0;this.total_in=0;this.output=null;this.next_out=0;this.avail_out=0;this.total_out=0;this.msg="";this.state=null;this.data_type=2;this.adler=0}module.exports=ZStream},function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__(339);var trees=__webpack_require__(2388);var adler32=__webpack_require__(905);var crc32=__webpack_require__(906);var msg=__webpack_require__(2389);var Z_NO_FLUSH=0;var Z_PARTIAL_FLUSH=1;var Z_FULL_FLUSH=3;var Z_FINISH=4;var Z_BLOCK=5;var Z_OK=0;var Z_STREAM_END=1;var Z_STREAM_ERROR=-2;var Z_DATA_ERROR=-3;var Z_BUF_ERROR=-5;var Z_DEFAULT_COMPRESSION=-1;var Z_FILTERED=1;var Z_HUFFMAN_ONLY=2;var Z_RLE=3;var Z_FIXED=4;var Z_DEFAULT_STRATEGY=0;var Z_UNKNOWN=2;var Z_DEFLATED=8;var MAX_MEM_LEVEL=9;var MAX_WBITS=15;var DEF_MEM_LEVEL=8;var LENGTH_CODES=29;var LITERALS=256;var L_CODES=LITERALS+1+LENGTH_CODES;var D_CODES=30;var BL_CODES=19;var HEAP_SIZE=2*L_CODES+1;var MAX_BITS=15;var MIN_MATCH=3;var MAX_MATCH=258;var MIN_LOOKAHEAD=MAX_MATCH+MIN_MATCH+1;var PRESET_DICT=32;var INIT_STATE=42;var EXTRA_STATE=69;var NAME_STATE=73;var COMMENT_STATE=91;var HCRC_STATE=103;var BUSY_STATE=113;var FINISH_STATE=666;var BS_NEED_MORE=1;var BS_BLOCK_DONE=2;var BS_FINISH_STARTED=3;var BS_FINISH_DONE=4;var OS_CODE=3;function err(strm,errorCode){strm.msg=msg[errorCode];return errorCode}function rank(f){return(f<<1)-(f>4?9:0)}function zero(buf){var len=buf.length;while(--len>=0)buf[len]=0}function flush_pending(strm){var s=strm.state;var len=s.pending;len>strm.avail_out&&(len=strm.avail_out);if(0===len)return;utils.arraySet(strm.output,s.pending_buf,s.pending_out,len,strm.next_out);strm.next_out+=len;s.pending_out+=len;strm.total_out+=len;strm.avail_out-=len;s.pending-=len;0===s.pending&&(s.pending_out=0)}function flush_block_only(s,last){trees._tr_flush_block(s,s.block_start>=0?s.block_start:-1,s.strstart-s.block_start,last);s.block_start=s.strstart;flush_pending(s.strm)}function put_byte(s,b){s.pending_buf[s.pending++]=b}function putShortMSB(s,b){s.pending_buf[s.pending++]=b>>>8&255;s.pending_buf[s.pending++]=255&b}function read_buf(strm,buf,start,size){var len=strm.avail_in;len>size&&(len=size);if(0===len)return 0;strm.avail_in-=len;utils.arraySet(buf,strm.input,strm.next_in,len,start);1===strm.state.wrap?strm.adler=adler32(strm.adler,buf,len,start):2===strm.state.wrap&&(strm.adler=crc32(strm.adler,buf,len,start));strm.next_in+=len;strm.total_in+=len;return len}function longest_match(s,cur_match){var chain_length=s.max_chain_length;var scan=s.strstart;var match;var len;var best_len=s.prev_length;var nice_match=s.nice_match;var limit=s.strstart>s.w_size-MIN_LOOKAHEAD?s.strstart-(s.w_size-MIN_LOOKAHEAD):0;var _win=s.window;var wmask=s.w_mask;var prev=s.prev;var strend=s.strstart+MAX_MATCH;var scan_end1=_win[scan+best_len-1];var scan_end=_win[scan+best_len];s.prev_length>=s.good_match&&(chain_length>>=2);nice_match>s.lookahead&&(nice_match=s.lookahead);do{match=cur_match;if(_win[match+best_len]!==scan_end||_win[match+best_len-1]!==scan_end1||_win[match]!==_win[scan]||_win[++match]!==_win[scan+1])continue;scan+=2;match++;do{}while(_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&scan<strend);len=MAX_MATCH-(strend-scan);scan=strend-MAX_MATCH;if(len>best_len){s.match_start=cur_match;best_len=len;if(len>=nice_match)break;scan_end1=_win[scan+best_len-1];scan_end=_win[scan+best_len]}}while((cur_match=prev[cur_match&wmask])>limit&&0!==--chain_length);if(best_len<=s.lookahead)return best_len;return s.lookahead}function fill_window(s){var _w_size=s.w_size;var p,n,m,more,str;do{more=s.window_size-s.lookahead-s.strstart;if(s.strstart>=_w_size+(_w_size-MIN_LOOKAHEAD)){utils.arraySet(s.window,s.window,_w_size,_w_size,0);s.match_start-=_w_size;s.strstart-=_w_size;s.block_start-=_w_size;n=s.hash_size;p=n;do{m=s.head[--p];s.head[p]=m>=_w_size?m-_w_size:0}while(--n);n=_w_size;p=n;do{m=s.prev[--p];s.prev[p]=m>=_w_size?m-_w_size:0}while(--n);more+=_w_size}if(0===s.strm.avail_in)break;n=read_buf(s.strm,s.window,s.strstart+s.lookahead,more);s.lookahead+=n;if(s.lookahead+s.insert>=MIN_MATCH){str=s.strstart-s.insert;s.ins_h=s.window[str];s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+1])&s.hash_mask;while(s.insert){s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+MIN_MATCH-1])&s.hash_mask;s.prev[str&s.w_mask]=s.head[s.ins_h];s.head[s.ins_h]=str;str++;s.insert--;if(s.lookahead+s.insert<MIN_MATCH)break}}}while(s.lookahead<MIN_LOOKAHEAD&&0!==s.strm.avail_in)}function deflate_stored(s,flush){var max_block_size=65535;max_block_size>s.pending_buf_size-5&&(max_block_size=s.pending_buf_size-5);for(;;){if(s.lookahead<=1){fill_window(s);if(0===s.lookahead&&flush===Z_NO_FLUSH)return BS_NEED_MORE;if(0===s.lookahead)break}s.strstart+=s.lookahead;s.lookahead=0;var max_start=s.block_start+max_block_size;if(0===s.strstart||s.strstart>=max_start){s.lookahead=s.strstart-max_start;s.strstart=max_start;flush_block_only(s,false);if(0===s.strm.avail_out)return BS_NEED_MORE}if(s.strstart-s.block_start>=s.w_size-MIN_LOOKAHEAD){flush_block_only(s,false);if(0===s.strm.avail_out)return BS_NEED_MORE}}s.insert=0;if(flush===Z_FINISH){flush_block_only(s,true);if(0===s.strm.avail_out)return BS_FINISH_STARTED;return BS_FINISH_DONE}if(s.strstart>s.block_start){flush_block_only(s,false);if(0===s.strm.avail_out)return BS_NEED_MORE}return BS_NEED_MORE}function deflate_fast(s,flush){var hash_head;var bflush;for(;;){if(s.lookahead<MIN_LOOKAHEAD){fill_window(s);if(s.lookahead<MIN_LOOKAHEAD&&flush===Z_NO_FLUSH)return BS_NEED_MORE;if(0===s.lookahead)break}hash_head=0;if(s.lookahead>=MIN_MATCH){s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+MIN_MATCH-1])&s.hash_mask;hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h];s.head[s.ins_h]=s.strstart}0!==hash_head&&s.strstart-hash_head<=s.w_size-MIN_LOOKAHEAD&&(s.match_length=longest_match(s,hash_head));if(s.match_length>=MIN_MATCH){bflush=trees._tr_tally(s,s.strstart-s.match_start,s.match_length-MIN_MATCH);s.lookahead-=s.match_length;if(s.match_length<=s.max_lazy_match&&s.lookahead>=MIN_MATCH){s.match_length--;do{s.strstart++;s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+MIN_MATCH-1])&s.hash_mask;hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h];s.head[s.ins_h]=s.strstart}while(0!==--s.match_length);s.strstart++}else{s.strstart+=s.match_length;s.match_length=0;s.ins_h=s.window[s.strstart];s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+1])&s.hash_mask}}else{bflush=trees._tr_tally(s,0,s.window[s.strstart]);s.lookahead--;s.strstart++}if(bflush){flush_block_only(s,false);if(0===s.strm.avail_out)return BS_NEED_MORE}}s.insert=s.strstart<MIN_MATCH-1?s.strstart:MIN_MATCH-1;if(flush===Z_FINISH){flush_block_only(s,true);if(0===s.strm.avail_out)return BS_FINISH_STARTED;return BS_FINISH_DONE}if(s.last_lit){flush_block_only(s,false);if(0===s.strm.avail_out)return BS_NEED_MORE}return BS_BLOCK_DONE}function deflate_slow(s,flush){var hash_head;var bflush;var max_insert;for(;;){if(s.lookahead<MIN_LOOKAHEAD){fill_window(s);if(s.lookahead<MIN_LOOKAHEAD&&flush===Z_NO_FLUSH)return BS_NEED_MORE;if(0===s.lookahead)break}hash_head=0;if(s.lookahead>=MIN_MATCH){s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+MIN_MATCH-1])&s.hash_mask;hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h];s.head[s.ins_h]=s.strstart}s.prev_length=s.match_length;s.prev_match=s.match_start;s.match_length=MIN_MATCH-1;if(0!==hash_head&&s.prev_length<s.max_lazy_match&&s.strstart-hash_head<=s.w_size-MIN_LOOKAHEAD){s.match_length=longest_match(s,hash_head);s.match_length<=5&&(s.strategy===Z_FILTERED||s.match_length===MIN_MATCH&&s.strstart-s.match_start>4096)&&(s.match_length=MIN_MATCH-1)}if(s.prev_length>=MIN_MATCH&&s.match_length<=s.prev_length){max_insert=s.strstart+s.lookahead-MIN_MATCH;bflush=trees._tr_tally(s,s.strstart-1-s.prev_match,s.prev_length-MIN_MATCH);s.lookahead-=s.prev_length-1;s.prev_length-=2;do{if(++s.strstart<=max_insert){s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+MIN_MATCH-1])&s.hash_mask;hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h];s.head[s.ins_h]=s.strstart}}while(0!==--s.prev_length);s.match_available=0;s.match_length=MIN_MATCH-1;s.strstart++;if(bflush){flush_block_only(s,false);if(0===s.strm.avail_out)return BS_NEED_MORE}}else if(s.match_available){bflush=trees._tr_tally(s,0,s.window[s.strstart-1]);bflush&&flush_block_only(s,false);s.strstart++;s.lookahead--;if(0===s.strm.avail_out)return BS_NEED_MORE}else{s.match_available=1;s.strstart++;s.lookahead--}}if(s.match_available){bflush=trees._tr_tally(s,0,s.window[s.strstart-1]);s.match_available=0}s.insert=s.strstart<MIN_MATCH-1?s.strstart:MIN_MATCH-1;if(flush===Z_FINISH){flush_block_only(s,true);if(0===s.strm.avail_out)return BS_FINISH_STARTED;return BS_FINISH_DONE}if(s.last_lit){flush_block_only(s,false);if(0===s.strm.avail_out)return BS_NEED_MORE}return BS_BLOCK_DONE}function deflate_rle(s,flush){var bflush;var prev;var scan,strend;var _win=s.window;for(;;){if(s.lookahead<=MAX_MATCH){fill_window(s);if(s.lookahead<=MAX_MATCH&&flush===Z_NO_FLUSH)return BS_NEED_MORE;if(0===s.lookahead)break}s.match_length=0;if(s.lookahead>=MIN_MATCH&&s.strstart>0){scan=s.strstart-1;prev=_win[scan];if(prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]){strend=s.strstart+MAX_MATCH;do{}while(prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&scan<strend);s.match_length=MAX_MATCH-(strend-scan);s.match_length>s.lookahead&&(s.match_length=s.lookahead)}}if(s.match_length>=MIN_MATCH){bflush=trees._tr_tally(s,1,s.match_length-MIN_MATCH);s.lookahead-=s.match_length;s.strstart+=s.match_length;s.match_length=0}else{bflush=trees._tr_tally(s,0,s.window[s.strstart]);s.lookahead--;s.strstart++}if(bflush){flush_block_only(s,false);if(0===s.strm.avail_out)return BS_NEED_MORE}}s.insert=0;if(flush===Z_FINISH){flush_block_only(s,true);if(0===s.strm.avail_out)return BS_FINISH_STARTED;return BS_FINISH_DONE}if(s.last_lit){flush_block_only(s,false);if(0===s.strm.avail_out)return BS_NEED_MORE}return BS_BLOCK_DONE}function deflate_huff(s,flush){var bflush;for(;;){if(0===s.lookahead){fill_window(s);if(0===s.lookahead){if(flush===Z_NO_FLUSH)return BS_NEED_MORE;break}}s.match_length=0;bflush=trees._tr_tally(s,0,s.window[s.strstart]);s.lookahead--;s.strstart++;if(bflush){flush_block_only(s,false);if(0===s.strm.avail_out)return BS_NEED_MORE}}s.insert=0;if(flush===Z_FINISH){flush_block_only(s,true);if(0===s.strm.avail_out)return BS_FINISH_STARTED;return BS_FINISH_DONE}if(s.last_lit){flush_block_only(s,false);if(0===s.strm.avail_out)return BS_NEED_MORE}return BS_BLOCK_DONE}function Config(good_length,max_lazy,nice_length,max_chain,func){this.good_length=good_length;this.max_lazy=max_lazy;this.nice_length=nice_length;this.max_chain=max_chain;this.func=func}var configuration_table;configuration_table=[new Config(0,0,0,0,deflate_stored),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)];function lm_init(s){s.window_size=2*s.w_size;zero(s.head);s.max_lazy_match=configuration_table[s.level].max_lazy;s.good_match=configuration_table[s.level].good_length;s.nice_match=configuration_table[s.level].nice_length;s.max_chain_length=configuration_table[s.level].max_chain;s.strstart=0;s.block_start=0;s.lookahead=0;s.insert=0;s.match_length=s.prev_length=MIN_MATCH-1;s.match_available=0;s.ins_h=0}function DeflateState(){this.strm=null;this.status=0;this.pending_buf=null;this.pending_buf_size=0;this.pending_out=0;this.pending=0;this.wrap=0;this.gzhead=null;this.gzindex=0;this.method=Z_DEFLATED;this.last_flush=-1;this.w_size=0;this.w_bits=0;this.w_mask=0;this.window=null;this.window_size=0;this.prev=null;this.head=null;this.ins_h=0;this.hash_size=0;this.hash_bits=0;this.hash_mask=0;this.hash_shift=0;this.block_start=0;this.match_length=0;this.prev_match=0;this.match_available=0;this.strstart=0;this.match_start=0;this.lookahead=0;this.prev_length=0;this.max_chain_length=0;this.max_lazy_match=0;this.level=0;this.strategy=0;this.good_match=0;this.nice_match=0;this.dyn_ltree=new utils.Buf16(2*HEAP_SIZE);this.dyn_dtree=new utils.Buf16(2*(2*D_CODES+1));this.bl_tree=new utils.Buf16(2*(2*BL_CODES+1));zero(this.dyn_ltree);zero(this.dyn_dtree);zero(this.bl_tree);this.l_desc=null;this.d_desc=null;this.bl_desc=null;this.bl_count=new utils.Buf16(MAX_BITS+1);this.heap=new utils.Buf16(2*L_CODES+1);zero(this.heap);this.heap_len=0;this.heap_max=0;this.depth=new utils.Buf16(2*L_CODES+1);zero(this.depth);this.l_buf=0;this.lit_bufsize=0;this.last_lit=0;this.d_buf=0;this.opt_len=0;this.static_len=0;this.matches=0;this.insert=0;this.bi_buf=0;this.bi_valid=0}function deflateResetKeep(strm){var s;if(!strm||!strm.state)return err(strm,Z_STREAM_ERROR);strm.total_in=strm.total_out=0;strm.data_type=Z_UNKNOWN;s=strm.state;s.pending=0;s.pending_out=0;s.wrap<0&&(s.wrap=-s.wrap);s.status=s.wrap?INIT_STATE:BUSY_STATE;strm.adler=2===s.wrap?0:1;s.last_flush=Z_NO_FLUSH;trees._tr_init(s);return Z_OK}function deflateReset(strm){var ret=deflateResetKeep(strm);ret===Z_OK&&lm_init(strm.state);return ret}function deflateSetHeader(strm,head){if(!strm||!strm.state)return Z_STREAM_ERROR;if(2!==strm.state.wrap)return Z_STREAM_ERROR;strm.state.gzhead=head;return Z_OK}function deflateInit2(strm,level,method,windowBits,memLevel,strategy){if(!strm)return Z_STREAM_ERROR;var wrap=1;level===Z_DEFAULT_COMPRESSION&&(level=6);if(windowBits<0){wrap=0;windowBits=-windowBits}else if(windowBits>15){wrap=2;windowBits-=16}if(memLevel<1||memLevel>MAX_MEM_LEVEL||method!==Z_DEFLATED||windowBits<8||windowBits>15||level<0||level>9||strategy<0||strategy>Z_FIXED)return err(strm,Z_STREAM_ERROR);8===windowBits&&(windowBits=9);var s=new DeflateState;strm.state=s;s.strm=strm;s.wrap=wrap;s.gzhead=null;s.w_bits=windowBits;s.w_size=1<<s.w_bits;s.w_mask=s.w_size-1;s.hash_bits=memLevel+7;s.hash_size=1<<s.hash_bits;s.hash_mask=s.hash_size-1;s.hash_shift=~~((s.hash_bits+MIN_MATCH-1)/MIN_MATCH);s.window=new utils.Buf8(2*s.w_size);s.head=new utils.Buf16(s.hash_size);s.prev=new utils.Buf16(s.w_size);s.lit_bufsize=1<<memLevel+6;s.pending_buf_size=4*s.lit_bufsize;s.pending_buf=new utils.Buf8(s.pending_buf_size);s.d_buf=1*s.lit_bufsize;s.l_buf=3*s.lit_bufsize;s.level=level;s.strategy=strategy;s.method=method;return deflateReset(strm)}function deflateInit(strm,level){return deflateInit2(strm,level,Z_DEFLATED,MAX_WBITS,DEF_MEM_LEVEL,Z_DEFAULT_STRATEGY)}function deflate(strm,flush){var old_flush,s;var beg,val;if(!strm||!strm.state||flush>Z_BLOCK||flush<0)return strm?err(strm,Z_STREAM_ERROR):Z_STREAM_ERROR;s=strm.state;if(!strm.output||!strm.input&&0!==strm.avail_in||s.status===FINISH_STATE&&flush!==Z_FINISH)return err(strm,0===strm.avail_out?Z_BUF_ERROR:Z_STREAM_ERROR);s.strm=strm;old_flush=s.last_flush;s.last_flush=flush;if(s.status===INIT_STATE)if(2===s.wrap){strm.adler=0;put_byte(s,31);put_byte(s,139);put_byte(s,8);if(s.gzhead){put_byte(s,(s.gzhead.text?1:0)+(s.gzhead.hcrc?2:0)+(s.gzhead.extra?4:0)+(s.gzhead.name?8:0)+(s.gzhead.comment?16:0));put_byte(s,255&s.gzhead.time);put_byte(s,s.gzhead.time>>8&255);put_byte(s,s.gzhead.time>>16&255);put_byte(s,s.gzhead.time>>24&255);put_byte(s,9===s.level?2:s.strategy>=Z_HUFFMAN_ONLY||s.level<2?4:0);put_byte(s,255&s.gzhead.os);if(s.gzhead.extra&&s.gzhead.extra.length){put_byte(s,255&s.gzhead.extra.length);put_byte(s,s.gzhead.extra.length>>8&255)}s.gzhead.hcrc&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending,0));s.gzindex=0;s.status=EXTRA_STATE}else{put_byte(s,0);put_byte(s,0);put_byte(s,0);put_byte(s,0);put_byte(s,0);put_byte(s,9===s.level?2:s.strategy>=Z_HUFFMAN_ONLY||s.level<2?4:0);put_byte(s,OS_CODE);s.status=BUSY_STATE}}else{var header=Z_DEFLATED+(s.w_bits-8<<4)<<8;var level_flags=-1;level_flags=s.strategy>=Z_HUFFMAN_ONLY||s.level<2?0:s.level<6?1:6===s.level?2:3;header|=level_flags<<6;0!==s.strstart&&(header|=PRESET_DICT);header+=31-header%31;s.status=BUSY_STATE;putShortMSB(s,header);if(0!==s.strstart){putShortMSB(s,strm.adler>>>16);putShortMSB(s,65535&strm.adler)}strm.adler=1}if(s.status===EXTRA_STATE)if(s.gzhead.extra){beg=s.pending;while(s.gzindex<(65535&s.gzhead.extra.length)){if(s.pending===s.pending_buf_size){s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg));flush_pending(strm);beg=s.pending;if(s.pending===s.pending_buf_size)break}put_byte(s,255&s.gzhead.extra[s.gzindex]);s.gzindex++}s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg));if(s.gzindex===s.gzhead.extra.length){s.gzindex=0;s.status=NAME_STATE}}else s.status=NAME_STATE;if(s.status===NAME_STATE)if(s.gzhead.name){beg=s.pending;do{if(s.pending===s.pending_buf_size){s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg));flush_pending(strm);beg=s.pending;if(s.pending===s.pending_buf_size){val=1;break}}val=s.gzindex<s.gzhead.name.length?255&s.gzhead.name.charCodeAt(s.gzindex++):0;put_byte(s,val)}while(0!==val);s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg));if(0===val){s.gzindex=0;s.status=COMMENT_STATE}}else s.status=COMMENT_STATE;if(s.status===COMMENT_STATE)if(s.gzhead.comment){beg=s.pending;do{if(s.pending===s.pending_buf_size){s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg));flush_pending(strm);beg=s.pending;if(s.pending===s.pending_buf_size){val=1;break}}val=s.gzindex<s.gzhead.comment.length?255&s.gzhead.comment.charCodeAt(s.gzindex++):0;put_byte(s,val)}while(0!==val);s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg));0===val&&(s.status=HCRC_STATE)}else s.status=HCRC_STATE;if(s.status===HCRC_STATE)if(s.gzhead.hcrc){s.pending+2>s.pending_buf_size&&flush_pending(strm);if(s.pending+2<=s.pending_buf_size){put_byte(s,255&strm.adler);put_byte(s,strm.adler>>8&255);strm.adler=0;s.status=BUSY_STATE}}else s.status=BUSY_STATE;if(0!==s.pending){flush_pending(strm);if(0===strm.avail_out){s.last_flush=-1;return Z_OK}}else if(0===strm.avail_in&&rank(flush)<=rank(old_flush)&&flush!==Z_FINISH)return err(strm,Z_BUF_ERROR);if(s.status===FINISH_STATE&&0!==strm.avail_in)return err(strm,Z_BUF_ERROR);if(0!==strm.avail_in||0!==s.lookahead||flush!==Z_NO_FLUSH&&s.status!==FINISH_STATE){var bstate=s.strategy===Z_HUFFMAN_ONLY?deflate_huff(s,flush):s.strategy===Z_RLE?deflate_rle(s,flush):configuration_table[s.level].func(s,flush);bstate!==BS_FINISH_STARTED&&bstate!==BS_FINISH_DONE||(s.status=FINISH_STATE);if(bstate===BS_NEED_MORE||bstate===BS_FINISH_STARTED){0===strm.avail_out&&(s.last_flush=-1);return Z_OK}if(bstate===BS_BLOCK_DONE){if(flush===Z_PARTIAL_FLUSH)trees._tr_align(s);else if(flush!==Z_BLOCK){trees._tr_stored_block(s,0,0,false);if(flush===Z_FULL_FLUSH){zero(s.head);if(0===s.lookahead){s.strstart=0;s.block_start=0;s.insert=0}}}flush_pending(strm);if(0===strm.avail_out){s.last_flush=-1;return Z_OK}}}if(flush!==Z_FINISH)return Z_OK;if(s.wrap<=0)return Z_STREAM_END;if(2===s.wrap){put_byte(s,255&strm.adler);put_byte(s,strm.adler>>8&255);put_byte(s,strm.adler>>16&255);put_byte(s,strm.adler>>24&255);put_byte(s,255&strm.total_in);put_byte(s,strm.total_in>>8&255);put_byte(s,strm.total_in>>16&255);put_byte(s,strm.total_in>>24&255)}else{putShortMSB(s,strm.adler>>>16);putShortMSB(s,65535&strm.adler)}flush_pending(strm);s.wrap>0&&(s.wrap=-s.wrap);return 0!==s.pending?Z_OK:Z_STREAM_END}function deflateEnd(strm){var status;if(!strm||!strm.state)return Z_STREAM_ERROR;status=strm.state.status;if(status!==INIT_STATE&&status!==EXTRA_STATE&&status!==NAME_STATE&&status!==COMMENT_STATE&&status!==HCRC_STATE&&status!==BUSY_STATE&&status!==FINISH_STATE)return err(strm,Z_STREAM_ERROR);strm.state=null;return status===BUSY_STATE?err(strm,Z_DATA_ERROR):Z_OK}function deflateSetDictionary(strm,dictionary){var dictLength=dictionary.length;var s;var str,n;var wrap;var avail;var next;var input;var tmpDict;if(!strm||!strm.state)return Z_STREAM_ERROR;s=strm.state;wrap=s.wrap;if(2===wrap||1===wrap&&s.status!==INIT_STATE||s.lookahead)return Z_STREAM_ERROR;1===wrap&&(strm.adler=adler32(strm.adler,dictionary,dictLength,0));s.wrap=0;if(dictLength>=s.w_size){if(0===wrap){zero(s.head);s.strstart=0;s.block_start=0;s.insert=0}tmpDict=new utils.Buf8(s.w_size);utils.arraySet(tmpDict,dictionary,dictLength-s.w_size,s.w_size,0);dictionary=tmpDict;dictLength=s.w_size}avail=strm.avail_in;next=strm.next_in;input=strm.input;strm.avail_in=dictLength;strm.next_in=0;strm.input=dictionary;fill_window(s);while(s.lookahead>=MIN_MATCH){str=s.strstart;n=s.lookahead-(MIN_MATCH-1);do{s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+MIN_MATCH-1])&s.hash_mask;s.prev[str&s.w_mask]=s.head[s.ins_h];s.head[s.ins_h]=str;str++}while(--n);s.strstart=str;s.lookahead=MIN_MATCH-1;fill_window(s)}s.strstart+=s.lookahead;s.block_start=s.strstart;s.insert=s.lookahead;s.lookahead=0;s.match_length=s.prev_length=MIN_MATCH-1;s.match_available=0;strm.next_in=next;strm.input=input;strm.avail_in=avail;s.wrap=wrap;return Z_OK}exports.deflateInit=deflateInit;exports.deflateInit2=deflateInit2;exports.deflateReset=deflateReset;exports.deflateResetKeep=deflateResetKeep;exports.deflateSetHeader=deflateSetHeader;exports.deflate=deflate;exports.deflateEnd=deflateEnd;exports.deflateSetDictionary=deflateSetDictionary;exports.deflateInfo="pako deflate (from Nodeca project)"},function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__(339);var Z_FIXED=4;var Z_BINARY=0;var Z_TEXT=1;var Z_UNKNOWN=2;function zero(buf){var len=buf.length;while(--len>=0)buf[len]=0}var STORED_BLOCK=0;var STATIC_TREES=1;var DYN_TREES=2;var MIN_MATCH=3;var MAX_MATCH=258;var LENGTH_CODES=29;var LITERALS=256;var L_CODES=LITERALS+1+LENGTH_CODES;var D_CODES=30;var BL_CODES=19;var HEAP_SIZE=2*L_CODES+1;var MAX_BITS=15;var Buf_size=16;var MAX_BL_BITS=7;var END_BLOCK=256;var REP_3_6=16;var REPZ_3_10=17;var REPZ_11_138=18;var extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0];var extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];var extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7];var bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var DIST_CODE_LEN=512;var static_ltree=new Array(2*(L_CODES+2));zero(static_ltree);var static_dtree=new Array(2*D_CODES);zero(static_dtree);var _dist_code=new Array(DIST_CODE_LEN);zero(_dist_code);var _length_code=new Array(MAX_MATCH-MIN_MATCH+1);zero(_length_code);var base_length=new Array(LENGTH_CODES);zero(base_length);var base_dist=new Array(D_CODES);zero(base_dist);function StaticTreeDesc(static_tree,extra_bits,extra_base,elems,max_length){this.static_tree=static_tree;this.extra_bits=extra_bits;this.extra_base=extra_base;this.elems=elems;this.max_length=max_length;this.has_stree=static_tree&&static_tree.length}var static_l_desc;var static_d_desc;var static_bl_desc;function TreeDesc(dyn_tree,stat_desc){this.dyn_tree=dyn_tree;this.max_code=0;this.stat_desc=stat_desc}function d_code(dist){return dist<256?_dist_code[dist]:_dist_code[256+(dist>>>7)]}function put_short(s,w){s.pending_buf[s.pending++]=255&w;s.pending_buf[s.pending++]=w>>>8&255}function send_bits(s,value,length){if(s.bi_valid>Buf_size-length){s.bi_buf|=value<<s.bi_valid&65535;put_short(s,s.bi_buf);s.bi_buf=value>>Buf_size-s.bi_valid;s.bi_valid+=length-Buf_size}else{s.bi_buf|=value<<s.bi_valid&65535;s.bi_valid+=length}}function send_code(s,c,tree){send_bits(s,tree[2*c],tree[2*c+1])}function bi_reverse(code,len){var res=0;do{res|=1&code;code>>>=1;res<<=1}while(--len>0);return res>>>1}function bi_flush(s){if(16===s.bi_valid){put_short(s,s.bi_buf);s.bi_buf=0;s.bi_valid=0}else if(s.bi_valid>=8){s.pending_buf[s.pending++]=255&s.bi_buf;s.bi_buf>>=8;s.bi_valid-=8}}function gen_bitlen(s,desc){var tree=desc.dyn_tree;var max_code=desc.max_code;var stree=desc.stat_desc.static_tree;var has_stree=desc.stat_desc.has_stree;var extra=desc.stat_desc.extra_bits;var base=desc.stat_desc.extra_base;var max_length=desc.stat_desc.max_length;var h;var n,m;var bits;var xbits;var f;var overflow=0;for(bits=0;bits<=MAX_BITS;bits++)s.bl_count[bits]=0;tree[2*s.heap[s.heap_max]+1]=0;for(h=s.heap_max+1;h<HEAP_SIZE;h++){n=s.heap[h];bits=tree[2*tree[2*n+1]+1]+1;if(bits>max_length){bits=max_length;overflow++}tree[2*n+1]=bits;if(n>max_code)continue;s.bl_count[bits]++;xbits=0;n>=base&&(xbits=extra[n-base]);f=tree[2*n];s.opt_len+=f*(bits+xbits);has_stree&&(s.static_len+=f*(stree[2*n+1]+xbits))}if(0===overflow)return;do{bits=max_length-1;while(0===s.bl_count[bits])bits--;s.bl_count[bits]--;s.bl_count[bits+1]+=2;s.bl_count[max_length]--;overflow-=2}while(overflow>0);for(bits=max_length;0!==bits;bits--){n=s.bl_count[bits];while(0!==n){m=s.heap[--h];if(m>max_code)continue;if(tree[2*m+1]!==bits){s.opt_len+=(bits-tree[2*m+1])*tree[2*m];tree[2*m+1]=bits}n--}}}function gen_codes(tree,max_code,bl_count){var next_code=new Array(MAX_BITS+1);var code=0;var bits;var n;for(bits=1;bits<=MAX_BITS;bits++)next_code[bits]=code=code+bl_count[bits-1]<<1;for(n=0;n<=max_code;n++){var len=tree[2*n+1];if(0===len)continue;tree[2*n]=bi_reverse(next_code[len]++,len)}}function tr_static_init(){var n;var bits;var length;var code;var dist;var bl_count=new Array(MAX_BITS+1);length=0;for(code=0;code<LENGTH_CODES-1;code++){base_length[code]=length;for(n=0;n<1<<extra_lbits[code];n++)_length_code[length++]=code}_length_code[length-1]=code;dist=0;for(code=0;code<16;code++){base_dist[code]=dist;for(n=0;n<1<<extra_dbits[code];n++)_dist_code[dist++]=code}dist>>=7;for(;code<D_CODES;code++){base_dist[code]=dist<<7;for(n=0;n<1<<extra_dbits[code]-7;n++)_dist_code[256+dist++]=code}for(bits=0;bits<=MAX_BITS;bits++)bl_count[bits]=0;n=0;while(n<=143){static_ltree[2*n+1]=8;n++;bl_count[8]++}while(n<=255){static_ltree[2*n+1]=9;n++;bl_count[9]++}while(n<=279){static_ltree[2*n+1]=7;n++;bl_count[7]++}while(n<=287){static_ltree[2*n+1]=8;n++;bl_count[8]++}gen_codes(static_ltree,L_CODES+1,bl_count);for(n=0;n<D_CODES;n++){static_dtree[2*n+1]=5;static_dtree[2*n]=bi_reverse(n,5)}static_l_desc=new StaticTreeDesc(static_ltree,extra_lbits,LITERALS+1,L_CODES,MAX_BITS);static_d_desc=new StaticTreeDesc(static_dtree,extra_dbits,0,D_CODES,MAX_BITS);static_bl_desc=new StaticTreeDesc(new Array(0),extra_blbits,0,BL_CODES,MAX_BL_BITS)}function init_block(s){var n;for(n=0;n<L_CODES;n++)s.dyn_ltree[2*n]=0;for(n=0;n<D_CODES;n++)s.dyn_dtree[2*n]=0;for(n=0;n<BL_CODES;n++)s.bl_tree[2*n]=0;s.dyn_ltree[2*END_BLOCK]=1;s.opt_len=s.static_len=0;s.last_lit=s.matches=0}function bi_windup(s){s.bi_valid>8?put_short(s,s.bi_buf):s.bi_valid>0&&(s.pending_buf[s.pending++]=s.bi_buf);s.bi_buf=0;s.bi_valid=0}function copy_block(s,buf,len,header){bi_windup(s);if(header){put_short(s,len);put_short(s,~len)}utils.arraySet(s.pending_buf,s.window,buf,len,s.pending);s.pending+=len}function smaller(tree,n,m,depth){var _n2=2*n;var _m2=2*m;return tree[_n2]<tree[_m2]||tree[_n2]===tree[_m2]&&depth[n]<=depth[m]}function pqdownheap(s,tree,k){var v=s.heap[k];var j=k<<1;while(j<=s.heap_len){j<s.heap_len&&smaller(tree,s.heap[j+1],s.heap[j],s.depth)&&j++;if(smaller(tree,v,s.heap[j],s.depth))break;s.heap[k]=s.heap[j];k=j;j<<=1}s.heap[k]=v}function compress_block(s,ltree,dtree){var dist;var lc;var lx=0;var code;var extra;if(0!==s.last_lit)do{dist=s.pending_buf[s.d_buf+2*lx]<<8|s.pending_buf[s.d_buf+2*lx+1];lc=s.pending_buf[s.l_buf+lx];lx++;if(0===dist)send_code(s,lc,ltree);else{code=_length_code[lc];send_code(s,code+LITERALS+1,ltree);extra=extra_lbits[code];if(0!==extra){lc-=base_length[code];send_bits(s,lc,extra)}dist--;code=d_code(dist);send_code(s,code,dtree);extra=extra_dbits[code];if(0!==extra){dist-=base_dist[code];send_bits(s,dist,extra)}}}while(lx<s.last_lit);send_code(s,END_BLOCK,ltree)}function build_tree(s,desc){var tree=desc.dyn_tree;var stree=desc.stat_desc.static_tree;var has_stree=desc.stat_desc.has_stree;var elems=desc.stat_desc.elems;var n,m;var max_code=-1;var node;s.heap_len=0;s.heap_max=HEAP_SIZE;for(n=0;n<elems;n++)if(0!==tree[2*n]){s.heap[++s.heap_len]=max_code=n;s.depth[n]=0}else tree[2*n+1]=0;while(s.heap_len<2){node=s.heap[++s.heap_len]=max_code<2?++max_code:0;tree[2*node]=1;s.depth[node]=0;s.opt_len--;has_stree&&(s.static_len-=stree[2*node+1])}desc.max_code=max_code;for(n=s.heap_len>>1;n>=1;n--)pqdownheap(s,tree,n);node=elems;do{n=s.heap[1];s.heap[1]=s.heap[s.heap_len--];pqdownheap(s,tree,1);m=s.heap[1];s.heap[--s.heap_max]=n;s.heap[--s.heap_max]=m;tree[2*node]=tree[2*n]+tree[2*m];s.depth[node]=(s.depth[n]>=s.depth[m]?s.depth[n]:s.depth[m])+1;tree[2*n+1]=tree[2*m+1]=node;s.heap[1]=node++;pqdownheap(s,tree,1)}while(s.heap_len>=2);s.heap[--s.heap_max]=s.heap[1];gen_bitlen(s,desc);gen_codes(tree,max_code,s.bl_count)}function scan_tree(s,tree,max_code){var n;var prevlen=-1;var curlen;var nextlen=tree[1];var count=0;var max_count=7;var min_count=4;if(0===nextlen){max_count=138;min_count=3}tree[2*(max_code+1)+1]=65535;for(n=0;n<=max_code;n++){curlen=nextlen;nextlen=tree[2*(n+1)+1];if(++count<max_count&&curlen===nextlen)continue;if(count<min_count)s.bl_tree[2*curlen]+=count;else if(0!==curlen){curlen!==prevlen&&s.bl_tree[2*curlen]++;s.bl_tree[2*REP_3_6]++}else count<=10?s.bl_tree[2*REPZ_3_10]++:s.bl_tree[2*REPZ_11_138]++;count=0;prevlen=curlen;if(0===nextlen){max_count=138;min_count=3}else if(curlen===nextlen){max_count=6;min_count=3}else{max_count=7;min_count=4}}}function send_tree(s,tree,max_code){var n;var prevlen=-1;var curlen;var nextlen=tree[1];var count=0;var max_count=7;var min_count=4;if(0===nextlen){max_count=138;min_count=3}for(n=0;n<=max_code;n++){curlen=nextlen;nextlen=tree[2*(n+1)+1];if(++count<max_count&&curlen===nextlen)continue;if(count<min_count)do{send_code(s,curlen,s.bl_tree)}while(0!==--count);else if(0!==curlen){if(curlen!==prevlen){send_code(s,curlen,s.bl_tree);count--}send_code(s,REP_3_6,s.bl_tree);send_bits(s,count-3,2)}else if(count<=10){send_code(s,REPZ_3_10,s.bl_tree);send_bits(s,count-3,3)}else{send_code(s,REPZ_11_138,s.bl_tree);send_bits(s,count-11,7)}count=0;prevlen=curlen;if(0===nextlen){max_count=138;min_count=3}else if(curlen===nextlen){max_count=6;min_count=3}else{max_count=7;min_count=4}}}function build_bl_tree(s){var max_blindex;scan_tree(s,s.dyn_ltree,s.l_desc.max_code);scan_tree(s,s.dyn_dtree,s.d_desc.max_code);build_tree(s,s.bl_desc);for(max_blindex=BL_CODES-1;max_blindex>=3;max_blindex--)if(0!==s.bl_tree[2*bl_order[max_blindex]+1])break;s.opt_len+=3*(max_blindex+1)+5+5+4;return max_blindex}function send_all_trees(s,lcodes,dcodes,blcodes){var rank;send_bits(s,lcodes-257,5);send_bits(s,dcodes-1,5);send_bits(s,blcodes-4,4);for(rank=0;rank<blcodes;rank++)send_bits(s,s.bl_tree[2*bl_order[rank]+1],3);send_tree(s,s.dyn_ltree,lcodes-1);send_tree(s,s.dyn_dtree,dcodes-1)}function detect_data_type(s){var black_mask=4093624447;var n;for(n=0;n<=31;n++,black_mask>>>=1)if(1&black_mask&&0!==s.dyn_ltree[2*n])return Z_BINARY;if(0!==s.dyn_ltree[18]||0!==s.dyn_ltree[20]||0!==s.dyn_ltree[26])return Z_TEXT;for(n=32;n<LITERALS;n++)if(0!==s.dyn_ltree[2*n])return Z_TEXT;return Z_BINARY}var static_init_done=false;function _tr_init(s){if(!static_init_done){tr_static_init();static_init_done=true}s.l_desc=new TreeDesc(s.dyn_ltree,static_l_desc);s.d_desc=new TreeDesc(s.dyn_dtree,static_d_desc);s.bl_desc=new TreeDesc(s.bl_tree,static_bl_desc);s.bi_buf=0;s.bi_valid=0;init_block(s)}function _tr_stored_block(s,buf,stored_len,last){send_bits(s,(STORED_BLOCK<<1)+(last?1:0),3);copy_block(s,buf,stored_len,true)}function _tr_align(s){send_bits(s,STATIC_TREES<<1,3);send_code(s,END_BLOCK,static_ltree);bi_flush(s)}function _tr_flush_block(s,buf,stored_len,last){var opt_lenb,static_lenb;var max_blindex=0;if(s.level>0){s.strm.data_type===Z_UNKNOWN&&(s.strm.data_type=detect_data_type(s));build_tree(s,s.l_desc);build_tree(s,s.d_desc);max_blindex=build_bl_tree(s);opt_lenb=s.opt_len+3+7>>>3;static_lenb=s.static_len+3+7>>>3;static_lenb<=opt_lenb&&(opt_lenb=static_lenb)}else opt_lenb=static_lenb=stored_len+5;if(stored_len+4<=opt_lenb&&-1!==buf)_tr_stored_block(s,buf,stored_len,last);else if(s.strategy===Z_FIXED||static_lenb===opt_lenb){send_bits(s,(STATIC_TREES<<1)+(last?1:0),3);compress_block(s,static_ltree,static_dtree)}else{send_bits(s,(DYN_TREES<<1)+(last?1:0),3);send_all_trees(s,s.l_desc.max_code+1,s.d_desc.max_code+1,max_blindex+1);compress_block(s,s.dyn_ltree,s.dyn_dtree)}init_block(s);last&&bi_windup(s)}function _tr_tally(s,dist,lc){s.pending_buf[s.d_buf+2*s.last_lit]=dist>>>8&255;s.pending_buf[s.d_buf+2*s.last_lit+1]=255&dist;s.pending_buf[s.l_buf+s.last_lit]=255&lc;s.last_lit++;if(0===dist)s.dyn_ltree[2*lc]++;else{s.matches++;dist--;s.dyn_ltree[2*(_length_code[lc]+LITERALS+1)]++;s.dyn_dtree[2*d_code(dist)]++}return s.last_lit===s.lit_bufsize-1}exports._tr_init=_tr_init;exports._tr_stored_block=_tr_stored_block;exports._tr_flush_block=_tr_flush_block;exports._tr_tally=_tr_tally;exports._tr_align=_tr_align},function(module,exports,__webpack_require__){"use strict";module.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__(339);var adler32=__webpack_require__(905);var crc32=__webpack_require__(906);var inflate_fast=__webpack_require__(2391);var inflate_table=__webpack_require__(2392);var CODES=0;var LENS=1;var DISTS=2;var Z_FINISH=4;var Z_BLOCK=5;var Z_TREES=6;var Z_OK=0;var Z_STREAM_END=1;var Z_NEED_DICT=2;var Z_STREAM_ERROR=-2;var Z_DATA_ERROR=-3;var Z_MEM_ERROR=-4;var Z_BUF_ERROR=-5;var Z_DEFLATED=8;var HEAD=1;var FLAGS=2;var TIME=3;var OS=4;var EXLEN=5;var EXTRA=6;var NAME=7;var COMMENT=8;var HCRC=9;var DICTID=10;var DICT=11;var TYPE=12;var TYPEDO=13;var STORED=14;var COPY_=15;var COPY=16;var TABLE=17;var LENLENS=18;var CODELENS=19;var LEN_=20;var LEN=21;var LENEXT=22;var DIST=23;var DISTEXT=24;var MATCH=25;var LIT=26;var CHECK=27;var LENGTH=28;var DONE=29;var BAD=30;var MEM=31;var SYNC=32;var ENOUGH_LENS=852;var ENOUGH_DISTS=592;var MAX_WBITS=15;var DEF_WBITS=MAX_WBITS;function zswap32(q){return(q>>>24&255)+(q>>>8&65280)+((65280&q)<<8)+((255&q)<<24)}function InflateState(){this.mode=0;this.last=false;this.wrap=0;this.havedict=false;this.flags=0;this.dmax=0;this.check=0;this.total=0;this.head=null;this.wbits=0;this.wsize=0;this.whave=0;this.wnext=0;this.window=null;this.hold=0;this.bits=0;this.length=0;this.offset=0;this.extra=0;this.lencode=null;this.distcode=null;this.lenbits=0;this.distbits=0;this.ncode=0;this.nlen=0;this.ndist=0;this.have=0;this.next=null;this.lens=new utils.Buf16(320);this.work=new utils.Buf16(288);this.lendyn=null;this.distdyn=null;this.sane=0;this.back=0;this.was=0}function inflateResetKeep(strm){var state;if(!strm||!strm.state)return Z_STREAM_ERROR;state=strm.state;strm.total_in=strm.total_out=state.total=0;strm.msg="";state.wrap&&(strm.adler=1&state.wrap);state.mode=HEAD;state.last=0;state.havedict=0;state.dmax=32768;state.head=null;state.hold=0;state.bits=0;state.lencode=state.lendyn=new utils.Buf32(ENOUGH_LENS);state.distcode=state.distdyn=new utils.Buf32(ENOUGH_DISTS);state.sane=1;state.back=-1;return Z_OK}function inflateReset(strm){var state;if(!strm||!strm.state)return Z_STREAM_ERROR;state=strm.state;state.wsize=0;state.whave=0;state.wnext=0;return inflateResetKeep(strm)}function inflateReset2(strm,windowBits){var wrap;var state;if(!strm||!strm.state)return Z_STREAM_ERROR;state=strm.state;if(windowBits<0){wrap=0;windowBits=-windowBits}else{wrap=1+(windowBits>>4);windowBits<48&&(windowBits&=15)}if(windowBits&&(windowBits<8||windowBits>15))return Z_STREAM_ERROR;null!==state.window&&state.wbits!==windowBits&&(state.window=null);state.wrap=wrap;state.wbits=windowBits;return inflateReset(strm)}function inflateInit2(strm,windowBits){var ret;var state;if(!strm)return Z_STREAM_ERROR;state=new InflateState;strm.state=state;state.window=null;ret=inflateReset2(strm,windowBits);ret!==Z_OK&&(strm.state=null);return ret}function inflateInit(strm){return inflateInit2(strm,DEF_WBITS)}var virgin=true;var lenfix,distfix;function fixedtables(state){if(virgin){var sym;lenfix=new utils.Buf32(512);distfix=new utils.Buf32(32);sym=0;while(sym<144)state.lens[sym++]=8;while(sym<256)state.lens[sym++]=9;while(sym<280)state.lens[sym++]=7;while(sym<288)state.lens[sym++]=8;inflate_table(LENS,state.lens,0,288,lenfix,0,state.work,{bits:9});sym=0;while(sym<32)state.lens[sym++]=5;inflate_table(DISTS,state.lens,0,32,distfix,0,state.work,{bits:5});virgin=false}state.lencode=lenfix;state.lenbits=9;state.distcode=distfix;state.distbits=5}function updatewindow(strm,src,end,copy){var dist;var state=strm.state;if(null===state.window){state.wsize=1<<state.wbits;state.wnext=0;state.whave=0;state.window=new utils.Buf8(state.wsize)}if(copy>=state.wsize){utils.arraySet(state.window,src,end-state.wsize,state.wsize,0);state.wnext=0;state.whave=state.wsize}else{dist=state.wsize-state.wnext;dist>copy&&(dist=copy);utils.arraySet(state.window,src,end-copy,dist,state.wnext);copy-=dist;if(copy){utils.arraySet(state.window,src,end-copy,copy,0);state.wnext=copy;state.whave=state.wsize}else{state.wnext+=dist;state.wnext===state.wsize&&(state.wnext=0);state.whave<state.wsize&&(state.whave+=dist)}}return 0}function inflate(strm,flush){var state;var input,output;var next;var put;var have,left;var hold;var bits;var _in,_out;var copy;var from;var from_source;var here=0;var here_bits,here_op,here_val;var last_bits,last_op,last_val;var len;var ret;var hbuf=new utils.Buf8(4);var opts;var n;var order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!strm||!strm.state||!strm.output||!strm.input&&0!==strm.avail_in)return Z_STREAM_ERROR;state=strm.state;state.mode===TYPE&&(state.mode=TYPEDO);put=strm.next_out;output=strm.output;left=strm.avail_out;next=strm.next_in;input=strm.input;have=strm.avail_in;hold=state.hold;bits=state.bits;_in=have;_out=left;ret=Z_OK;inf_leave:for(;;)switch(state.mode){case HEAD:if(0===state.wrap){state.mode=TYPEDO;break}while(bits<16){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}if(2&state.wrap&&35615===hold){state.check=0;hbuf[0]=255&hold;hbuf[1]=hold>>>8&255;state.check=crc32(state.check,hbuf,2,0);hold=0;bits=0;state.mode=FLAGS;break}state.flags=0;state.head&&(state.head.done=false);if(!(1&state.wrap)||(((255&hold)<<8)+(hold>>8))%31){strm.msg="incorrect header check";state.mode=BAD;break}if((15&hold)!==Z_DEFLATED){strm.msg="unknown compression method";state.mode=BAD;break}hold>>>=4;bits-=4;len=8+(15&hold);if(0===state.wbits)state.wbits=len;else if(len>state.wbits){strm.msg="invalid window size";state.mode=BAD;break}state.dmax=1<<len;strm.adler=state.check=1;state.mode=512&hold?DICTID:TYPE;hold=0;bits=0;break;case FLAGS:while(bits<16){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}state.flags=hold;if((255&state.flags)!==Z_DEFLATED){strm.msg="unknown compression method";state.mode=BAD;break}if(57344&state.flags){strm.msg="unknown header flags set";state.mode=BAD;break}state.head&&(state.head.text=hold>>8&1);if(512&state.flags){hbuf[0]=255&hold;hbuf[1]=hold>>>8&255;state.check=crc32(state.check,hbuf,2,0)}hold=0;bits=0;state.mode=TIME;case TIME:while(bits<32){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}state.head&&(state.head.time=hold);if(512&state.flags){hbuf[0]=255&hold;hbuf[1]=hold>>>8&255;hbuf[2]=hold>>>16&255;hbuf[3]=hold>>>24&255;state.check=crc32(state.check,hbuf,4,0)}hold=0;bits=0;state.mode=OS;case OS:while(bits<16){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}if(state.head){state.head.xflags=255&hold;state.head.os=hold>>8}if(512&state.flags){hbuf[0]=255&hold;hbuf[1]=hold>>>8&255;state.check=crc32(state.check,hbuf,2,0)}hold=0;bits=0;state.mode=EXLEN;case EXLEN:if(1024&state.flags){while(bits<16){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}state.length=hold;state.head&&(state.head.extra_len=hold);if(512&state.flags){hbuf[0]=255&hold;hbuf[1]=hold>>>8&255;state.check=crc32(state.check,hbuf,2,0)}hold=0;bits=0}else state.head&&(state.head.extra=null);state.mode=EXTRA;case EXTRA:if(1024&state.flags){copy=state.length;copy>have&&(copy=have);if(copy){if(state.head){len=state.head.extra_len-state.length;state.head.extra||(state.head.extra=new Array(state.head.extra_len));utils.arraySet(state.head.extra,input,next,copy,len)}512&state.flags&&(state.check=crc32(state.check,input,copy,next));have-=copy;next+=copy;state.length-=copy}if(state.length)break inf_leave}state.length=0;state.mode=NAME;case NAME:if(2048&state.flags){if(0===have)break inf_leave;copy=0;do{len=input[next+copy++];state.head&&len&&state.length<65536&&(state.head.name+=String.fromCharCode(len))}while(len&&copy<have);512&state.flags&&(state.check=crc32(state.check,input,copy,next));have-=copy;next+=copy;if(len)break inf_leave}else state.head&&(state.head.name=null);state.length=0;state.mode=COMMENT;case COMMENT:if(4096&state.flags){if(0===have)break inf_leave;copy=0;do{len=input[next+copy++];state.head&&len&&state.length<65536&&(state.head.comment+=String.fromCharCode(len))}while(len&&copy<have);512&state.flags&&(state.check=crc32(state.check,input,copy,next));have-=copy;next+=copy;if(len)break inf_leave}else state.head&&(state.head.comment=null);state.mode=HCRC;case HCRC:if(512&state.flags){while(bits<16){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}if(hold!==(65535&state.check)){strm.msg="header crc mismatch";state.mode=BAD;break}hold=0;bits=0}if(state.head){state.head.hcrc=state.flags>>9&1;state.head.done=true}strm.adler=state.check=0;state.mode=TYPE;break;case DICTID:while(bits<32){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}strm.adler=state.check=zswap32(hold);hold=0;bits=0;state.mode=DICT;case DICT:if(0===state.havedict){strm.next_out=put;strm.avail_out=left;strm.next_in=next;strm.avail_in=have;state.hold=hold;state.bits=bits;return Z_NEED_DICT}strm.adler=state.check=1;state.mode=TYPE;case TYPE:if(flush===Z_BLOCK||flush===Z_TREES)break inf_leave;case TYPEDO:if(state.last){hold>>>=7&bits;bits-=7&bits;state.mode=CHECK;break}while(bits<3){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}state.last=1&hold;hold>>>=1;bits-=1;switch(3&hold){case 0:state.mode=STORED;break;case 1:fixedtables(state);state.mode=LEN_;if(flush===Z_TREES){hold>>>=2;bits-=2;break inf_leave}break;case 2:state.mode=TABLE;break;case 3:strm.msg="invalid block type";state.mode=BAD}hold>>>=2;bits-=2;break;case STORED:hold>>>=7&bits;bits-=7&bits;while(bits<32){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}if((65535&hold)!==(hold>>>16^65535)){strm.msg="invalid stored block lengths";state.mode=BAD;break}state.length=65535&hold;hold=0;bits=0;state.mode=COPY_;if(flush===Z_TREES)break inf_leave;case COPY_:state.mode=COPY;case COPY:copy=state.length;if(copy){copy>have&&(copy=have);copy>left&&(copy=left);if(0===copy)break inf_leave;utils.arraySet(output,input,next,copy,put);have-=copy;next+=copy;left-=copy;put+=copy;state.length-=copy;break}state.mode=TYPE;break;case TABLE:while(bits<14){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}state.nlen=257+(31&hold);hold>>>=5;bits-=5;state.ndist=1+(31&hold);hold>>>=5;bits-=5;state.ncode=4+(15&hold);hold>>>=4;bits-=4;if(state.nlen>286||state.ndist>30){strm.msg="too many length or distance symbols";state.mode=BAD;break}state.have=0;state.mode=LENLENS;case LENLENS:while(state.have<state.ncode){while(bits<3){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}state.lens[order[state.have++]]=7&hold;hold>>>=3;bits-=3}while(state.have<19)state.lens[order[state.have++]]=0;state.lencode=state.lendyn;state.lenbits=7;opts={bits:state.lenbits};ret=inflate_table(CODES,state.lens,0,19,state.lencode,0,state.work,opts);state.lenbits=opts.bits;if(ret){strm.msg="invalid code lengths set";state.mode=BAD;break}state.have=0;state.mode=CODELENS;case CODELENS:while(state.have<state.nlen+state.ndist){for(;;){here=state.lencode[hold&(1<<state.lenbits)-1];here_bits=here>>>24;here_op=here>>>16&255;here_val=65535&here;if(here_bits<=bits)break;if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}if(here_val<16){hold>>>=here_bits;bits-=here_bits;state.lens[state.have++]=here_val}else{if(16===here_val){n=here_bits+2;while(bits<n){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}hold>>>=here_bits;bits-=here_bits;if(0===state.have){strm.msg="invalid bit length repeat";state.mode=BAD;break}len=state.lens[state.have-1];copy=3+(3&hold);hold>>>=2;bits-=2}else if(17===here_val){n=here_bits+3;while(bits<n){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}hold>>>=here_bits;bits-=here_bits;len=0;copy=3+(7&hold);hold>>>=3;bits-=3}else{n=here_bits+7;while(bits<n){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}hold>>>=here_bits;bits-=here_bits;len=0;copy=11+(127&hold);hold>>>=7;bits-=7}if(state.have+copy>state.nlen+state.ndist){strm.msg="invalid bit length repeat";state.mode=BAD;break}while(copy--)state.lens[state.have++]=len}}if(state.mode===BAD)break;if(0===state.lens[256]){strm.msg="invalid code -- missing end-of-block";state.mode=BAD;break}state.lenbits=9;opts={bits:state.lenbits};ret=inflate_table(LENS,state.lens,0,state.nlen,state.lencode,0,state.work,opts);state.lenbits=opts.bits;if(ret){strm.msg="invalid literal/lengths set";state.mode=BAD;break}state.distbits=6;state.distcode=state.distdyn;opts={bits:state.distbits};ret=inflate_table(DISTS,state.lens,state.nlen,state.ndist,state.distcode,0,state.work,opts);state.distbits=opts.bits;if(ret){strm.msg="invalid distances set";state.mode=BAD;break}state.mode=LEN_;if(flush===Z_TREES)break inf_leave;case LEN_:state.mode=LEN;case LEN:if(have>=6&&left>=258){strm.next_out=put;strm.avail_out=left;strm.next_in=next;strm.avail_in=have;state.hold=hold;state.bits=bits;inflate_fast(strm,_out);put=strm.next_out;output=strm.output;left=strm.avail_out;next=strm.next_in;input=strm.input;have=strm.avail_in;hold=state.hold;bits=state.bits;state.mode===TYPE&&(state.back=-1);break}state.back=0;for(;;){here=state.lencode[hold&(1<<state.lenbits)-1];here_bits=here>>>24;here_op=here>>>16&255;here_val=65535&here;if(here_bits<=bits)break;if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}if(here_op&&0===(240&here_op)){last_bits=here_bits;last_op=here_op;last_val=here_val;for(;;){here=state.lencode[last_val+((hold&(1<<last_bits+last_op)-1)>>last_bits)];here_bits=here>>>24;here_op=here>>>16&255;here_val=65535&here;if(last_bits+here_bits<=bits)break;if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}hold>>>=last_bits;bits-=last_bits;state.back+=last_bits}hold>>>=here_bits;bits-=here_bits;state.back+=here_bits;state.length=here_val;if(0===here_op){state.mode=LIT;break}if(32&here_op){state.back=-1;state.mode=TYPE;break}if(64&here_op){strm.msg="invalid literal/length code";state.mode=BAD;break}state.extra=15&here_op;state.mode=LENEXT;case LENEXT:if(state.extra){n=state.extra;while(bits<n){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}state.length+=hold&(1<<state.extra)-1;hold>>>=state.extra;bits-=state.extra;state.back+=state.extra}state.was=state.length;state.mode=DIST;case DIST:for(;;){here=state.distcode[hold&(1<<state.distbits)-1];here_bits=here>>>24;here_op=here>>>16&255;here_val=65535&here;if(here_bits<=bits)break;if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}if(0===(240&here_op)){last_bits=here_bits;last_op=here_op;last_val=here_val;for(;;){here=state.distcode[last_val+((hold&(1<<last_bits+last_op)-1)>>last_bits)];here_bits=here>>>24;here_op=here>>>16&255;here_val=65535&here;if(last_bits+here_bits<=bits)break;if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}hold>>>=last_bits;bits-=last_bits;state.back+=last_bits}hold>>>=here_bits;bits-=here_bits;state.back+=here_bits;if(64&here_op){strm.msg="invalid distance code";state.mode=BAD;break}state.offset=here_val;state.extra=15&here_op;state.mode=DISTEXT;case DISTEXT:if(state.extra){n=state.extra;while(bits<n){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}state.offset+=hold&(1<<state.extra)-1;hold>>>=state.extra;bits-=state.extra;state.back+=state.extra}if(state.offset>state.dmax){strm.msg="invalid distance too far back";state.mode=BAD;break}state.mode=MATCH;case MATCH:if(0===left)break inf_leave;copy=_out-left;if(state.offset>copy){copy=state.offset-copy;if(copy>state.whave&&state.sane){strm.msg="invalid distance too far back";state.mode=BAD;break}if(copy>state.wnext){copy-=state.wnext;from=state.wsize-copy}else from=state.wnext-copy;copy>state.length&&(copy=state.length);from_source=state.window}else{from_source=output;from=put-state.offset;copy=state.length}copy>left&&(copy=left);left-=copy;state.length-=copy;do{output[put++]=from_source[from++]}while(--copy);0===state.length&&(state.mode=LEN);break;case LIT:if(0===left)break inf_leave;output[put++]=state.length;left--;state.mode=LEN;break;case CHECK:if(state.wrap){while(bits<32){if(0===have)break inf_leave;have--;hold|=input[next++]<<bits;bits+=8}_out-=left;strm.total_out+=_out;state.total+=_out;_out&&(strm.adler=state.check=state.flags?crc32(state.check,output,_out,put-_out):adler32(state.check,output,_out,put-_out));_out=left;if((state.flags?hold:zswap32(hold))!==state.check){strm.msg="incorrect data check";state.mode=BAD;break}hold=0;bits=0}state.mode=LENGTH;case LENGTH:if(state.wrap&&state.flags){while(bits<32){if(0===have)break inf_leave;have--;hold+=input[next++]<<bits;bits+=8}if(hold!==(4294967295&state.total)){strm.msg="incorrect length check";state.mode=BAD;break}hold=0;bits=0}state.mode=DONE;case DONE:ret=Z_STREAM_END;break inf_leave;case BAD:ret=Z_DATA_ERROR;break inf_leave;case MEM:return Z_MEM_ERROR;case SYNC:default:return Z_STREAM_ERROR}strm.next_out=put;strm.avail_out=left;strm.next_in=next;strm.avail_in=have;state.hold=hold;state.bits=bits;if((state.wsize||_out!==strm.avail_out&&state.mode<BAD&&(state.mode<CHECK||flush!==Z_FINISH))&&updatewindow(strm,strm.output,strm.next_out,_out-strm.avail_out)){state.mode=MEM;return Z_MEM_ERROR}_in-=strm.avail_in;_out-=strm.avail_out;strm.total_in+=_in;strm.total_out+=_out;state.total+=_out;state.wrap&&_out&&(strm.adler=state.check=state.flags?crc32(state.check,output,_out,strm.next_out-_out):adler32(state.check,output,_out,strm.next_out-_out));strm.data_type=state.bits+(state.last?64:0)+(state.mode===TYPE?128:0)+(state.mode===LEN_||state.mode===COPY_?256:0);(0===_in&&0===_out||flush===Z_FINISH)&&ret===Z_OK&&(ret=Z_BUF_ERROR);return ret}function inflateEnd(strm){if(!strm||!strm.state)return Z_STREAM_ERROR;var state=strm.state;state.window&&(state.window=null);strm.state=null;return Z_OK}function inflateGetHeader(strm,head){var state;if(!strm||!strm.state)return Z_STREAM_ERROR;state=strm.state;if(0===(2&state.wrap))return Z_STREAM_ERROR;state.head=head;head.done=false;return Z_OK}function inflateSetDictionary(strm,dictionary){var dictLength=dictionary.length;var state;var dictid;var ret;if(!strm||!strm.state)return Z_STREAM_ERROR;state=strm.state;if(0!==state.wrap&&state.mode!==DICT)return Z_STREAM_ERROR;if(state.mode===DICT){dictid=1;dictid=adler32(dictid,dictionary,dictLength,0);if(dictid!==state.check)return Z_DATA_ERROR}ret=updatewindow(strm,dictionary,dictLength,dictLength);if(ret){state.mode=MEM;return Z_MEM_ERROR}state.havedict=1;return Z_OK}exports.inflateReset=inflateReset;exports.inflateReset2=inflateReset2;exports.inflateResetKeep=inflateResetKeep;exports.inflateInit=inflateInit;exports.inflateInit2=inflateInit2;exports.inflate=inflate;exports.inflateEnd=inflateEnd;exports.inflateGetHeader=inflateGetHeader;exports.inflateSetDictionary=inflateSetDictionary;exports.inflateInfo="pako inflate (from Nodeca project)"},function(module,exports,__webpack_require__){"use strict";var BAD=30;var TYPE=12;module.exports=function inflate_fast(strm,start){var state;var _in;var last;var _out;var beg;var end;var dmax;var wsize;var whave;var wnext;var s_window;var hold;var bits;var lcode;var dcode;var lmask;var dmask;var here;var op;var len;var dist;var from;var from_source;var input,output;state=strm.state;_in=strm.next_in;input=strm.input;last=_in+(strm.avail_in-5);_out=strm.next_out;output=strm.output;beg=_out-(start-strm.avail_out);end=_out+(strm.avail_out-257);dmax=state.dmax;wsize=state.wsize;whave=state.whave;wnext=state.wnext;s_window=state.window;hold=state.hold;bits=state.bits;lcode=state.lencode;dcode=state.distcode;lmask=(1<<state.lenbits)-1;dmask=(1<<state.distbits)-1;top:do{if(bits<15){hold+=input[_in++]<<bits;bits+=8;hold+=input[_in++]<<bits;bits+=8}here=lcode[hold&lmask];dolen:for(;;){op=here>>>24;hold>>>=op;bits-=op;op=here>>>16&255;if(0===op)output[_out++]=65535&here;else{if(!(16&op)){if(0===(64&op)){here=lcode[(65535&here)+(hold&(1<<op)-1)];continue dolen}if(32&op){state.mode=TYPE;break top}strm.msg="invalid literal/length code";state.mode=BAD;break top}len=65535&here;op&=15;if(op){if(bits<op){hold+=input[_in++]<<bits;bits+=8}len+=hold&(1<<op)-1;hold>>>=op;bits-=op}if(bits<15){hold+=input[_in++]<<bits;bits+=8;hold+=input[_in++]<<bits;bits+=8}here=dcode[hold&dmask];dodist:for(;;){op=here>>>24;hold>>>=op;bits-=op;op=here>>>16&255;if(!(16&op)){if(0===(64&op)){here=dcode[(65535&here)+(hold&(1<<op)-1)];continue dodist}strm.msg="invalid distance code";state.mode=BAD;break top}dist=65535&here;op&=15;if(bits<op){hold+=input[_in++]<<bits;bits+=8;if(bits<op){hold+=input[_in++]<<bits;bits+=8}}dist+=hold&(1<<op)-1;if(dist>dmax){strm.msg="invalid distance too far back";state.mode=BAD;break top}hold>>>=op;bits-=op;op=_out-beg;if(dist>op){op=dist-op;if(op>whave&&state.sane){strm.msg="invalid distance too far back";state.mode=BAD;break top}from=0;from_source=s_window;if(0===wnext){from+=wsize-op;if(op<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist;from_source=output}}else if(wnext<op){from+=wsize+wnext-op;op-=wnext;if(op<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);from=0;if(wnext<len){op=wnext;len-=op;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist;from_source=output}}}else{from+=wnext-op;if(op<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist;from_source=output}}while(len>2){output[_out++]=from_source[from++];output[_out++]=from_source[from++];output[_out++]=from_source[from++];len-=3}if(len){output[_out++]=from_source[from++];len>1&&(output[_out++]=from_source[from++])}}else{from=_out-dist;do{output[_out++]=output[from++];output[_out++]=output[from++];output[_out++]=output[from++];len-=3}while(len>2);if(len){output[_out++]=output[from++];len>1&&(output[_out++]=output[from++])}}break}}break}}while(_in<last&&_out<end);len=bits>>3;_in-=len;bits-=len<<3;hold&=(1<<bits)-1;strm.next_in=_in;strm.next_out=_out;strm.avail_in=_in<last?last-_in+5:5-(_in-last);strm.avail_out=_out<end?end-_out+257:257-(_out-end);state.hold=hold;state.bits=bits;return}},function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__(339);var MAXBITS=15;var ENOUGH_LENS=852;var ENOUGH_DISTS=592;var CODES=0;var LENS=1;var DISTS=2;var lbase=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0];var lext=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78];var dbase=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0];var dext=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];module.exports=function inflate_table(type,lens,lens_index,codes,table,table_index,work,opts){var bits=opts.bits;var len=0;var sym=0;var min=0,max=0;var root=0;var curr=0;var drop=0;var left=0;var used=0;var huff=0;var incr;var fill;var low;var mask;var next;var base=null;var base_index=0;var end;var count=new utils.Buf16(MAXBITS+1);var offs=new utils.Buf16(MAXBITS+1);var extra=null;var extra_index=0;var here_bits,here_op,here_val;for(len=0;len<=MAXBITS;len++)count[len]=0;for(sym=0;sym<codes;sym++)count[lens[lens_index+sym]]++;root=bits;for(max=MAXBITS;max>=1;max--)if(0!==count[max])break;root>max&&(root=max);if(0===max){table[table_index++]=20971520;table[table_index++]=20971520;opts.bits=1;return 0}for(min=1;min<max;min++)if(0!==count[min])break;root<min&&(root=min);left=1;for(len=1;len<=MAXBITS;len++){left<<=1;left-=count[len];if(left<0)return-1}if(left>0&&(type===CODES||1!==max))return-1;offs[1]=0;for(len=1;len<MAXBITS;len++)offs[len+1]=offs[len]+count[len];for(sym=0;sym<codes;sym++)0!==lens[lens_index+sym]&&(work[offs[lens[lens_index+sym]]++]=sym);if(type===CODES){base=extra=work;end=19}else if(type===LENS){base=lbase;base_index-=257;extra=lext;extra_index-=257;end=256}else{base=dbase;extra=dext;end=-1}huff=0;sym=0;len=min;next=table_index;curr=root;drop=0;low=-1;used=1<<root;mask=used-1;if(type===LENS&&used>ENOUGH_LENS||type===DISTS&&used>ENOUGH_DISTS)return 1;for(;;){here_bits=len-drop;if(work[sym]<end){here_op=0;here_val=work[sym]}else if(work[sym]>end){here_op=extra[extra_index+work[sym]];here_val=base[base_index+work[sym]]}else{here_op=96;here_val=0}incr=1<<len-drop;fill=1<<curr;min=fill;do{fill-=incr;table[next+(huff>>drop)+fill]=here_bits<<24|here_op<<16|here_val|0}while(0!==fill);incr=1<<len-1;while(huff&incr)incr>>=1;if(0!==incr){huff&=incr-1;huff+=incr}else huff=0;sym++;if(0===--count[len]){if(len===max)break;len=lens[lens_index+work[sym]]}if(len>root&&(huff&mask)!==low){0===drop&&(drop=root);next+=min;curr=len-drop;left=1<<curr;while(curr+drop<max){left-=count[curr+drop];if(left<=0)break;curr++;left<<=1}used+=1<<curr;if(type===LENS&&used>ENOUGH_LENS||type===DISTS&&used>ENOUGH_DISTS)return 1;low=huff&mask;table[low]=root<<24|curr<<16|next-table_index|0}}0!==huff&&(table[next+huff]=len-drop<<24|64<<16|0);opts.bits=root;return 0}},function(module,exports,__webpack_require__){"use strict";module.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(module,exports,__webpack_require__){(function(Buffer,global){var http=__webpack_require__(500);var convert=__webpack_require__(2395).convert;module.exports=Response;function Response(body,opts){this.url=opts.url;this.status=opts.status;this.statusText=http.STATUS_CODES[this.status];this.headers=opts.headers;this.body=body;this.bodyUsed=false;this.size=opts.size;this.ok=this.status>=200&&this.status<300;this.timeout=opts.timeout}Response.prototype.json=function(){return this._decode().then(function(text){return JSON.parse(text)})};Response.prototype.text=function(){return this._decode()};Response.prototype._decode=function(){var self=this;if(this.bodyUsed)return Response.Promise.reject(new Error("body used already for: "+this.url));this.bodyUsed=true;this._bytes=0;this._abort=false;this._raw=[];return new Response.Promise(function(resolve,reject){var resTimeout;self.timeout&&(resTimeout=setTimeout(function(){self._abort=true;reject(new Error("response timeout at "+self.url+" over limit: "+self.timeout))},self.timeout));self.body.on("data",function(chunk){if(self._abort||null===chunk)return;if(self.size&&self._bytes+chunk.length>self.size){self._abort=true;reject(new Error("content size at "+self.url+" over limit: "+self.size));return}self._bytes+=chunk.length;self._raw.push(chunk)});self.body.on("end",function(){if(self._abort)return;clearTimeout(resTimeout);resolve(self._convert())})})};Response.prototype._convert=function(encoding){encoding=encoding||"utf-8";var charset="utf-8";var res,str;this.headers.has("content-type")&&(res=/charset=([^;]*)/i.exec(this.headers.get("content-type")));!res&&this._raw.length>0&&(str=this._raw[0].toString().substr(0,1024));!res&&str&&(res=/<meta.+?charset=(['"])(.+?)\1/i.exec(str));if(!res&&str){res=/<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(str);res&&(res=/charset=(.*)/i.exec(res.pop()))}!res&&str&&(res=/<\?xml.+?encoding=(['"])(.+?)\1/i.exec(str));if(res){charset=res.pop();"gb2312"!==charset&&"gbk"!==charset||(charset="gb18030")}return convert(Buffer.concat(this._raw),encoding,charset).toString()};Response.Promise=global.Promise}).call(this,__webpack_require__(66).Buffer,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";(function(Buffer){var iconvLite=__webpack_require__(2396);var Iconv=__webpack_require__(2414);module.exports.convert=convert;function convert(str,to,from,useLite){from=checkEncoding(from||"UTF-8");to=checkEncoding(to||"UTF-8");str=str||"";var result;"UTF-8"!==from&&"string"===typeof str&&(str=new Buffer(str,"binary"));if(from===to)result="string"===typeof str?new Buffer(str):str;else if(Iconv&&!useLite)try{result=convertIconv(str,to,from)}catch(E){console.error(E);try{result=convertIconvLite(str,to,from)}catch(E){console.error(E);result=str}}else try{result=convertIconvLite(str,to,from)}catch(E){console.error(E);result=str}"string"===typeof result&&(result=new Buffer(result,"utf-8"));return result}function convertIconv(str,to,from){var response,iconv;iconv=new Iconv(from,to+"//TRANSLIT//IGNORE");response=iconv.convert(str);return response.slice(0,response.length)}function convertIconvLite(str,to,from){return"UTF-8"===to?iconvLite.decode(str,from):"UTF-8"===from?iconvLite.encode(str,to):iconvLite.encode(iconvLite.decode(str,from),to)}function checkEncoding(name){return(name||"").toString().trim().replace(/^latin[\-_]?(\d+)$/i,"ISO-8859-$1").replace(/^win(?:dows)?[\-_]?(\d+)$/i,"WINDOWS-$1").replace(/^utf[\-_]?(\d+)$/i,"UTF-$1").replace(/^ks_c_5601\-1987$/i,"CP949").replace(/^us[\-_]?ascii$/i,"ASCII").toUpperCase()}}).call(this,__webpack_require__(66).Buffer)},function(module,exports,__webpack_require__){"use strict";(function(process){var Buffer=__webpack_require__(211).Buffer;var bomHandling=__webpack_require__(2397),iconv=module.exports;iconv.encodings=null;iconv.defaultCharUnicode="�";iconv.defaultCharSingleByte="?";iconv.encode=function encode(str,encoding,options){str=""+(str||"");var encoder=iconv.getEncoder(encoding,options);var res=encoder.write(str);var trail=encoder.end();return trail&&trail.length>0?Buffer.concat([res,trail]):res};iconv.decode=function decode(buf,encoding,options){if("string"===typeof buf){if(!iconv.skipDecodeWarning){console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding");iconv.skipDecodeWarning=true}buf=Buffer.from(""+(buf||""),"binary")}var decoder=iconv.getDecoder(encoding,options);var res=decoder.write(buf);var trail=decoder.end();return trail?res+trail:res};iconv.encodingExists=function encodingExists(enc){try{iconv.getCodec(enc);return true}catch(e){return false}};iconv.toEncoding=iconv.encode;iconv.fromEncoding=iconv.decode;iconv._codecDataCache={};iconv.getCodec=function getCodec(encoding){iconv.encodings||(iconv.encodings=__webpack_require__(2398));var enc=iconv._canonicalizeEncoding(encoding);var codecOptions={};while(true){var codec=iconv._codecDataCache[enc];if(codec)return codec;var codecDef=iconv.encodings[enc];switch(typeof codecDef){case"string":enc=codecDef;break;case"object":for(var key in codecDef)codecOptions[key]=codecDef[key];codecOptions.encodingName||(codecOptions.encodingName=enc);enc=codecDef.type;break;case"function":codecOptions.encodingName||(codecOptions.encodingName=enc);codec=new codecDef(codecOptions,iconv);iconv._codecDataCache[codecOptions.encodingName]=codec;return codec;default:throw new Error("Encoding not recognized: '"+encoding+"' (searched as: '"+enc+"')")}}};iconv._canonicalizeEncoding=function(encoding){return(""+encoding).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};iconv.getEncoder=function getEncoder(encoding,options){var codec=iconv.getCodec(encoding),encoder=new codec.encoder(options,codec);codec.bomAware&&options&&options.addBOM&&(encoder=new bomHandling.PrependBOM(encoder,options));return encoder};iconv.getDecoder=function getDecoder(encoding,options){var codec=iconv.getCodec(encoding),decoder=new codec.decoder(options,codec);!codec.bomAware||options&&false===options.stripBOM||(decoder=new bomHandling.StripBOM(decoder,options));return decoder};var nodeVer="undefined"!==typeof process&&process.versions&&process.versions.node;if(nodeVer){var nodeVerArr=nodeVer.split(".").map(Number);(nodeVerArr[0]>0||nodeVerArr[1]>=10)&&__webpack_require__(2412)(iconv);__webpack_require__(2413)(iconv)}false}).call(this,__webpack_require__(59))},function(module,exports,__webpack_require__){"use strict";var BOMChar="\ufeff";exports.PrependBOM=PrependBOMWrapper;function PrependBOMWrapper(encoder,options){this.encoder=encoder;this.addBOM=true}PrependBOMWrapper.prototype.write=function(str){if(this.addBOM){str=BOMChar+str;this.addBOM=false}return this.encoder.write(str)};PrependBOMWrapper.prototype.end=function(){return this.encoder.end()};exports.StripBOM=StripBOMWrapper;function StripBOMWrapper(decoder,options){this.decoder=decoder;this.pass=false;this.options=options||{}}StripBOMWrapper.prototype.write=function(buf){var res=this.decoder.write(buf);if(this.pass||!res)return res;if(res[0]===BOMChar){res=res.slice(1);"function"===typeof this.options.stripBOM&&this.options.stripBOM()}this.pass=true;return res};StripBOMWrapper.prototype.end=function(){return this.decoder.end()}},function(module,exports,__webpack_require__){"use strict";var modules=[__webpack_require__(2399),__webpack_require__(2400),__webpack_require__(2401),__webpack_require__(2402),__webpack_require__(2403),__webpack_require__(2404),__webpack_require__(2405),__webpack_require__(2406)];for(var i=0;i<modules.length;i++){module=modules[i];for(var enc in module)Object.prototype.hasOwnProperty.call(module,enc)&&(exports[enc]=module[enc])}},function(module,exports,__webpack_require__){"use strict";var Buffer=__webpack_require__(211).Buffer;module.exports={utf8:{type:"_internal",bomAware:true},cesu8:{type:"_internal",bomAware:true},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:true},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:InternalCodec};function InternalCodec(codecOptions,iconv){this.enc=codecOptions.encodingName;this.bomAware=codecOptions.bomAware;if("base64"===this.enc)this.encoder=InternalEncoderBase64;else if("cesu8"===this.enc){this.enc="utf8";this.encoder=InternalEncoderCesu8;if("💩"!==Buffer.from("eda0bdedb2a9","hex").toString()){this.decoder=InternalDecoderCesu8;this.defaultCharUnicode=iconv.defaultCharUnicode}}}InternalCodec.prototype.encoder=InternalEncoder;InternalCodec.prototype.decoder=InternalDecoder;var StringDecoder=__webpack_require__(502).StringDecoder;StringDecoder.prototype.end||(StringDecoder.prototype.end=function(){});function InternalDecoder(options,codec){StringDecoder.call(this,codec.enc)}InternalDecoder.prototype=StringDecoder.prototype;function InternalEncoder(options,codec){this.enc=codec.enc}InternalEncoder.prototype.write=function(str){return Buffer.from(str,this.enc)};InternalEncoder.prototype.end=function(){};function InternalEncoderBase64(options,codec){this.prevStr=""}InternalEncoderBase64.prototype.write=function(str){str=this.prevStr+str;var completeQuads=str.length-str.length%4;this.prevStr=str.slice(completeQuads);str=str.slice(0,completeQuads);return Buffer.from(str,"base64")};InternalEncoderBase64.prototype.end=function(){return Buffer.from(this.prevStr,"base64")};function InternalEncoderCesu8(options,codec){}InternalEncoderCesu8.prototype.write=function(str){var buf=Buffer.alloc(3*str.length),bufIdx=0;for(var i=0;i<str.length;i++){var charCode=str.charCodeAt(i);if(charCode<128)buf[bufIdx++]=charCode;else if(charCode<2048){buf[bufIdx++]=192+(charCode>>>6);buf[bufIdx++]=128+(63&charCode)}else{buf[bufIdx++]=224+(charCode>>>12);buf[bufIdx++]=128+(charCode>>>6&63);buf[bufIdx++]=128+(63&charCode)}}return buf.slice(0,bufIdx)};InternalEncoderCesu8.prototype.end=function(){};function InternalDecoderCesu8(options,codec){this.acc=0;this.contBytes=0;this.accBytes=0;this.defaultCharUnicode=codec.defaultCharUnicode}InternalDecoderCesu8.prototype.write=function(buf){var acc=this.acc,contBytes=this.contBytes,accBytes=this.accBytes,res="";for(var i=0;i<buf.length;i++){var curByte=buf[i];if(128!==(192&curByte)){if(contBytes>0){res+=this.defaultCharUnicode;contBytes=0}if(curByte<128)res+=String.fromCharCode(curByte);else if(curByte<224){acc=31&curByte;contBytes=1;accBytes=1}else if(curByte<240){acc=15&curByte;contBytes=2;accBytes=1}else res+=this.defaultCharUnicode}else if(contBytes>0){acc=acc<<6|63&curByte;contBytes--;accBytes++;0===contBytes&&(res+=2===accBytes&&acc<128&&acc>0?this.defaultCharUnicode:3===accBytes&&acc<2048?this.defaultCharUnicode:String.fromCharCode(acc))}else res+=this.defaultCharUnicode}this.acc=acc;this.contBytes=contBytes;this.accBytes=accBytes;return res};InternalDecoderCesu8.prototype.end=function(){var res=0;this.contBytes>0&&(res+=this.defaultCharUnicode);return res}},function(module,exports,__webpack_require__){"use strict";var Buffer=__webpack_require__(211).Buffer;exports.utf16be=Utf16BECodec;function Utf16BECodec(){}Utf16BECodec.prototype.encoder=Utf16BEEncoder;Utf16BECodec.prototype.decoder=Utf16BEDecoder;Utf16BECodec.prototype.bomAware=true;function Utf16BEEncoder(){}Utf16BEEncoder.prototype.write=function(str){var buf=Buffer.from(str,"ucs2");for(var i=0;i<buf.length;i+=2){var tmp=buf[i];buf[i]=buf[i+1];buf[i+1]=tmp}return buf};Utf16BEEncoder.prototype.end=function(){};function Utf16BEDecoder(){this.overflowByte=-1}Utf16BEDecoder.prototype.write=function(buf){if(0==buf.length)return"";var buf2=Buffer.alloc(buf.length+1),i=0,j=0;if(-1!==this.overflowByte){buf2[0]=buf[0];buf2[1]=this.overflowByte;i=1;j=2}for(;i<buf.length-1;i+=2,j+=2){buf2[j]=buf[i+1];buf2[j+1]=buf[i]}this.overflowByte=i==buf.length-1?buf[buf.length-1]:-1;return buf2.slice(0,j).toString("ucs2")};Utf16BEDecoder.prototype.end=function(){};exports.utf16=Utf16Codec;function Utf16Codec(codecOptions,iconv){this.iconv=iconv}Utf16Codec.prototype.encoder=Utf16Encoder;Utf16Codec.prototype.decoder=Utf16Decoder;function Utf16Encoder(options,codec){options=options||{};void 0===options.addBOM&&(options.addBOM=true);this.encoder=codec.iconv.getEncoder("utf-16le",options)}Utf16Encoder.prototype.write=function(str){return this.encoder.write(str)};Utf16Encoder.prototype.end=function(){return this.encoder.end()};function Utf16Decoder(options,codec){this.decoder=null;this.initialBytes=[];this.initialBytesLen=0;this.options=options||{};this.iconv=codec.iconv}Utf16Decoder.prototype.write=function(buf){if(!this.decoder){this.initialBytes.push(buf);this.initialBytesLen+=buf.length;if(this.initialBytesLen<16)return"";buf=Buffer.concat(this.initialBytes);var encoding=detectEncoding(buf,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(encoding,this.options);this.initialBytes.length=this.initialBytesLen=0}return this.decoder.write(buf)};Utf16Decoder.prototype.end=function(){if(!this.decoder){var buf=Buffer.concat(this.initialBytes),encoding=detectEncoding(buf,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(encoding,this.options);var res=this.decoder.write(buf),trail=this.decoder.end();return trail?res+trail:res}return this.decoder.end()};function detectEncoding(buf,defaultEncoding){var enc=defaultEncoding||"utf-16le";if(buf.length>=2)if(254==buf[0]&&255==buf[1])enc="utf-16be";else if(255==buf[0]&&254==buf[1])enc="utf-16le";else{var asciiCharsLE=0,asciiCharsBE=0,_len=Math.min(buf.length-buf.length%2,64);for(var i=0;i<_len;i+=2){0===buf[i]&&0!==buf[i+1]&&asciiCharsBE++;0!==buf[i]&&0===buf[i+1]&&asciiCharsLE++}asciiCharsBE>asciiCharsLE?enc="utf-16be":asciiCharsBE<asciiCharsLE&&(enc="utf-16le")}return enc}},function(module,exports,__webpack_require__){"use strict";var Buffer=__webpack_require__(211).Buffer;exports.utf7=Utf7Codec;exports.unicode11utf7="utf7";function Utf7Codec(codecOptions,iconv){this.iconv=iconv}Utf7Codec.prototype.encoder=Utf7Encoder;Utf7Codec.prototype.decoder=Utf7Decoder;Utf7Codec.prototype.bomAware=true;var nonDirectChars=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function Utf7Encoder(options,codec){this.iconv=codec.iconv}Utf7Encoder.prototype.write=function(str){return Buffer.from(str.replace(nonDirectChars,function(chunk){return"+"+("+"===chunk?"":this.iconv.encode(chunk,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};Utf7Encoder.prototype.end=function(){};function Utf7Decoder(options,codec){this.iconv=codec.iconv;this.inBase64=false;this.base64Accum=""}var base64Regex=/[A-Za-z0-9\/+]/;var base64Chars=[];for(var i=0;i<256;i++)base64Chars[i]=base64Regex.test(String.fromCharCode(i));var plusChar="+".charCodeAt(0),minusChar="-".charCodeAt(0),andChar="&".charCodeAt(0);Utf7Decoder.prototype.write=function(buf){var res="",lastI=0,inBase64=this.inBase64,base64Accum=this.base64Accum;for(var i=0;i<buf.length;i++)if(inBase64){if(!base64Chars[buf[i]]){if(i==lastI&&buf[i]==minusChar)res+="+";else{var b64str=base64Accum+buf.slice(lastI,i).toString();res+=this.iconv.decode(Buffer.from(b64str,"base64"),"utf16-be")}buf[i]!=minusChar&&i--;lastI=i+1;inBase64=false;base64Accum=""}}else if(buf[i]==plusChar){res+=this.iconv.decode(buf.slice(lastI,i),"ascii");lastI=i+1;inBase64=true}if(inBase64){b64str=base64Accum+buf.slice(lastI).toString();var canBeDecoded=b64str.length-b64str.length%8;base64Accum=b64str.slice(canBeDecoded);b64str=b64str.slice(0,canBeDecoded);res+=this.iconv.decode(Buffer.from(b64str,"base64"),"utf16-be")}else res+=this.iconv.decode(buf.slice(lastI),"ascii");this.inBase64=inBase64;this.base64Accum=base64Accum;return res};Utf7Decoder.prototype.end=function(){var res="";this.inBase64&&this.base64Accum.length>0&&(res=this.iconv.decode(Buffer.from(this.base64Accum,"base64"),"utf16-be"));this.inBase64=false;this.base64Accum="";return res};exports.utf7imap=Utf7IMAPCodec;function Utf7IMAPCodec(codecOptions,iconv){this.iconv=iconv}Utf7IMAPCodec.prototype.encoder=Utf7IMAPEncoder;Utf7IMAPCodec.prototype.decoder=Utf7IMAPDecoder;Utf7IMAPCodec.prototype.bomAware=true;function Utf7IMAPEncoder(options,codec){this.iconv=codec.iconv;this.inBase64=false;this.base64Accum=Buffer.alloc(6);this.base64AccumIdx=0}Utf7IMAPEncoder.prototype.write=function(str){var inBase64=this.inBase64,base64Accum=this.base64Accum,base64AccumIdx=this.base64AccumIdx,buf=Buffer.alloc(5*str.length+10),bufIdx=0;for(var i=0;i<str.length;i++){var uChar=str.charCodeAt(i);if(32<=uChar&&uChar<=126){if(inBase64){if(base64AccumIdx>0){bufIdx+=buf.write(base64Accum.slice(0,base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),bufIdx);base64AccumIdx=0}buf[bufIdx++]=minusChar;inBase64=false}if(!inBase64){buf[bufIdx++]=uChar;uChar===andChar&&(buf[bufIdx++]=minusChar)}}else{if(!inBase64){buf[bufIdx++]=andChar;inBase64=true}if(inBase64){base64Accum[base64AccumIdx++]=uChar>>8;base64Accum[base64AccumIdx++]=255&uChar;if(base64AccumIdx==base64Accum.length){bufIdx+=buf.write(base64Accum.toString("base64").replace(/\//g,","),bufIdx);base64AccumIdx=0}}}}this.inBase64=inBase64;this.base64AccumIdx=base64AccumIdx;return buf.slice(0,bufIdx)};Utf7IMAPEncoder.prototype.end=function(){var buf=Buffer.alloc(10),bufIdx=0;if(this.inBase64){if(this.base64AccumIdx>0){bufIdx+=buf.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),bufIdx);this.base64AccumIdx=0}buf[bufIdx++]=minusChar;this.inBase64=false}return buf.slice(0,bufIdx)};function Utf7IMAPDecoder(options,codec){this.iconv=codec.iconv;this.inBase64=false;this.base64Accum=""}var base64IMAPChars=base64Chars.slice();base64IMAPChars[",".charCodeAt(0)]=true;Utf7IMAPDecoder.prototype.write=function(buf){var res="",lastI=0,inBase64=this.inBase64,base64Accum=this.base64Accum;for(var i=0;i<buf.length;i++)if(inBase64){if(!base64IMAPChars[buf[i]]){if(i==lastI&&buf[i]==minusChar)res+="&";else{var b64str=base64Accum+buf.slice(lastI,i).toString().replace(/,/g,"/");res+=this.iconv.decode(Buffer.from(b64str,"base64"),"utf16-be")}buf[i]!=minusChar&&i--;lastI=i+1;inBase64=false;base64Accum=""}}else if(buf[i]==andChar){res+=this.iconv.decode(buf.slice(lastI,i),"ascii");lastI=i+1;inBase64=true}if(inBase64){b64str=base64Accum+buf.slice(lastI).toString().replace(/,/g,"/");var canBeDecoded=b64str.length-b64str.length%8;base64Accum=b64str.slice(canBeDecoded);b64str=b64str.slice(0,canBeDecoded);res+=this.iconv.decode(Buffer.from(b64str,"base64"),"utf16-be")}else res+=this.iconv.decode(buf.slice(lastI),"ascii");this.inBase64=inBase64;this.base64Accum=base64Accum;return res};Utf7IMAPDecoder.prototype.end=function(){var res="";this.inBase64&&this.base64Accum.length>0&&(res=this.iconv.decode(Buffer.from(this.base64Accum,"base64"),"utf16-be"));this.inBase64=false;this.base64Accum="";return res}},function(module,exports,__webpack_require__){"use strict";var Buffer=__webpack_require__(211).Buffer;exports._sbcs=SBCSCodec;function SBCSCodec(codecOptions,iconv){if(!codecOptions)throw new Error("SBCS codec is called without the data.");if(!codecOptions.chars||128!==codecOptions.chars.length&&256!==codecOptions.chars.length)throw new Error("Encoding '"+codecOptions.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(128===codecOptions.chars.length){var asciiString="";for(var i=0;i<128;i++)asciiString+=String.fromCharCode(i);codecOptions.chars=asciiString+codecOptions.chars}this.decodeBuf=Buffer.from(codecOptions.chars,"ucs2");var encodeBuf=Buffer.alloc(65536,iconv.defaultCharSingleByte.charCodeAt(0));for(i=0;i<codecOptions.chars.length;i++)encodeBuf[codecOptions.chars.charCodeAt(i)]=i;this.encodeBuf=encodeBuf}SBCSCodec.prototype.encoder=SBCSEncoder;SBCSCodec.prototype.decoder=SBCSDecoder;function SBCSEncoder(options,codec){this.encodeBuf=codec.encodeBuf}SBCSEncoder.prototype.write=function(str){var buf=Buffer.alloc(str.length);for(var i=0;i<str.length;i++)buf[i]=this.encodeBuf[str.charCodeAt(i)];return buf};SBCSEncoder.prototype.end=function(){};function SBCSDecoder(options,codec){this.decodeBuf=codec.decodeBuf}SBCSDecoder.prototype.write=function(buf){var decodeBuf=this.decodeBuf;var newBuf=Buffer.alloc(2*buf.length);var idx1=0,idx2=0;for(var i=0;i<buf.length;i++){idx1=2*buf[i];idx2=2*i;newBuf[idx2]=decodeBuf[idx1];newBuf[idx2+1]=decodeBuf[idx1+1]}return newBuf.toString("ucs2")};SBCSDecoder.prototype.end=function(){}},function(module,exports,__webpack_require__){"use strict";module.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆćéŹźĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņŃ¬√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",10000:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}},function(module,exports,__webpack_require__){"use strict";module.exports={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:" ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:" Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:" Ħ˘£¤�Ĥ§¨İŞĞĴ­�Ż°ħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:" ĄĸŖ¤ĨĻ§¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩļˇ¸šēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖ×ØŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:" ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:" ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:" ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:" �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:" ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:" ĄĒĢĪĨĶ§ĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:" กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:" ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:" Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:" ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:" ĄąŁ€„Š§š©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñÑªº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñÑªº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýÝ¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘę¬źČş«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞğ¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñÑªº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýÝ¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñÑªº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñÑªº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�"},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñÑªº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:" ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖ×ØÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:" ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:" ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:" ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€…‘’“”•–— กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:" ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈Ć«Č… ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ä¹²É³ÖÜ΅àâä΄¨çéèêë£™îï•½‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›ﬁﬂ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\ufeff​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:" �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:"\0ÚỤỪỬỮ\b\t\n\v\f\rỨỰỲỶỸÝỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ"},georgianacademy:{type:"_sbcs",chars:"‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:"\0ẲẴẪ\b\t\n\v\f\rỶỸỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ"},iso646cn:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},iso646jp:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},hproman8:{type:"_sbcs",chars:" ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›ﬁﬂ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}},function(module,exports,__webpack_require__){"use strict";var Buffer=__webpack_require__(211).Buffer;exports._dbcs=DBCSCodec;var UNASSIGNED=-1,GB18030_CODE=-2,SEQ_START=-10,NODE_START=-1e3,UNASSIGNED_NODE=new Array(256),DEF_CHAR=-1;for(var i=0;i<256;i++)UNASSIGNED_NODE[i]=UNASSIGNED;function DBCSCodec(codecOptions,iconv){this.encodingName=codecOptions.encodingName;if(!codecOptions)throw new Error("DBCS codec is called without the data.");if(!codecOptions.table)throw new Error("Encoding '"+this.encodingName+"' has no data.");var mappingTable=codecOptions.table();this.decodeTables=[];this.decodeTables[0]=UNASSIGNED_NODE.slice(0);this.decodeTableSeq=[];for(var i=0;i<mappingTable.length;i++)this._addDecodeChunk(mappingTable[i]);this.defaultCharUnicode=iconv.defaultCharUnicode;this.encodeTable=[];this.encodeTableSeq=[];var skipEncodeChars={};if(codecOptions.encodeSkipVals)for(i=0;i<codecOptions.encodeSkipVals.length;i++){var val=codecOptions.encodeSkipVals[i];if("number"===typeof val)skipEncodeChars[val]=true;else for(var j=val.from;j<=val.to;j++)skipEncodeChars[j]=true}this._fillEncodeTable(0,0,skipEncodeChars);if(codecOptions.encodeAdd)for(var uChar in codecOptions.encodeAdd)Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd,uChar)&&this._setEncodeChar(uChar.charCodeAt(0),codecOptions.encodeAdd[uChar]);this.defCharSB=this.encodeTable[0][iconv.defaultCharSingleByte.charCodeAt(0)];this.defCharSB===UNASSIGNED&&(this.defCharSB=this.encodeTable[0]["?"]);this.defCharSB===UNASSIGNED&&(this.defCharSB="?".charCodeAt(0));if("function"===typeof codecOptions.gb18030){this.gb18030=codecOptions.gb18030();var thirdByteNodeIdx=this.decodeTables.length;var thirdByteNode=this.decodeTables[thirdByteNodeIdx]=UNASSIGNED_NODE.slice(0);var fourthByteNodeIdx=this.decodeTables.length;var fourthByteNode=this.decodeTables[fourthByteNodeIdx]=UNASSIGNED_NODE.slice(0);for(i=129;i<=254;i++){var secondByteNodeIdx=NODE_START-this.decodeTables[0][i];var secondByteNode=this.decodeTables[secondByteNodeIdx];for(j=48;j<=57;j++)secondByteNode[j]=NODE_START-thirdByteNodeIdx}for(i=129;i<=254;i++)thirdByteNode[i]=NODE_START-fourthByteNodeIdx;for(i=48;i<=57;i++)fourthByteNode[i]=GB18030_CODE}}DBCSCodec.prototype.encoder=DBCSEncoder;DBCSCodec.prototype.decoder=DBCSDecoder;DBCSCodec.prototype._getDecodeTrieNode=function(addr){var bytes=[];for(;addr>0;addr>>=8)bytes.push(255&addr);0==bytes.length&&bytes.push(0);var node=this.decodeTables[0];for(var i=bytes.length-1;i>0;i--){var val=node[bytes[i]];if(val==UNASSIGNED){node[bytes[i]]=NODE_START-this.decodeTables.length;this.decodeTables.push(node=UNASSIGNED_NODE.slice(0))}else{if(!(val<=NODE_START))throw new Error("Overwrite byte in "+this.encodingName+", addr: "+addr.toString(16));node=this.decodeTables[NODE_START-val]}}return node};DBCSCodec.prototype._addDecodeChunk=function(chunk){var curAddr=parseInt(chunk[0],16);var writeTable=this._getDecodeTrieNode(curAddr);curAddr&=255;for(var k=1;k<chunk.length;k++){var part=chunk[k];if("string"===typeof part)for(var l=0;l<part.length;){var code=part.charCodeAt(l++);if(55296<=code&&code<56320){var codeTrail=part.charCodeAt(l++);if(!(56320<=codeTrail&&codeTrail<57344))throw new Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+chunk[0]);writeTable[curAddr++]=65536+1024*(code-55296)+(codeTrail-56320)}else if(4080<code&&code<=4095){var len=4095-code+2;var seq=[];for(var m=0;m<len;m++)seq.push(part.charCodeAt(l++));writeTable[curAddr++]=SEQ_START-this.decodeTableSeq.length;this.decodeTableSeq.push(seq)}else writeTable[curAddr++]=code}else{if("number"!==typeof part)throw new Error("Incorrect type '"+typeof part+"' given in "+this.encodingName+" at chunk "+chunk[0]);var charCode=writeTable[curAddr-1]+1;for(l=0;l<part;l++)writeTable[curAddr++]=charCode++}}if(curAddr>255)throw new Error("Incorrect chunk in "+this.encodingName+" at addr "+chunk[0]+": too long"+curAddr)};DBCSCodec.prototype._getEncodeBucket=function(uCode){var high=uCode>>8;void 0===this.encodeTable[high]&&(this.encodeTable[high]=UNASSIGNED_NODE.slice(0));return this.encodeTable[high]};DBCSCodec.prototype._setEncodeChar=function(uCode,dbcsCode){var bucket=this._getEncodeBucket(uCode);var low=255&uCode;bucket[low]<=SEQ_START?this.encodeTableSeq[SEQ_START-bucket[low]][DEF_CHAR]=dbcsCode:bucket[low]==UNASSIGNED&&(bucket[low]=dbcsCode)};DBCSCodec.prototype._setEncodeSequence=function(seq,dbcsCode){var uCode=seq[0];var bucket=this._getEncodeBucket(uCode);var low=255&uCode;var node;if(bucket[low]<=SEQ_START)node=this.encodeTableSeq[SEQ_START-bucket[low]];else{node={};bucket[low]!==UNASSIGNED&&(node[DEF_CHAR]=bucket[low]);bucket[low]=SEQ_START-this.encodeTableSeq.length;this.encodeTableSeq.push(node)}for(var j=1;j<seq.length-1;j++){var oldVal=node[uCode];if("object"===typeof oldVal)node=oldVal;else{node=node[uCode]={};void 0!==oldVal&&(node[DEF_CHAR]=oldVal)}}uCode=seq[seq.length-1];node[uCode]=dbcsCode};DBCSCodec.prototype._fillEncodeTable=function(nodeIdx,prefix,skipEncodeChars){var node=this.decodeTables[nodeIdx];for(var i=0;i<256;i++){var uCode=node[i];var mbCode=prefix+i;if(skipEncodeChars[mbCode])continue;uCode>=0?this._setEncodeChar(uCode,mbCode):uCode<=NODE_START?this._fillEncodeTable(NODE_START-uCode,mbCode<<8,skipEncodeChars):uCode<=SEQ_START&&this._setEncodeSequence(this.decodeTableSeq[SEQ_START-uCode],mbCode)}};function DBCSEncoder(options,codec){this.leadSurrogate=-1;this.seqObj=void 0;this.encodeTable=codec.encodeTable;this.encodeTableSeq=codec.encodeTableSeq;this.defaultCharSingleByte=codec.defCharSB;this.gb18030=codec.gb18030}DBCSEncoder.prototype.write=function(str){var newBuf=Buffer.alloc(str.length*(this.gb18030?4:3)),leadSurrogate=this.leadSurrogate,seqObj=this.seqObj,nextChar=-1,i=0,j=0;while(true){if(-1===nextChar){if(i==str.length)break;var uCode=str.charCodeAt(i++)}else{uCode=nextChar;nextChar=-1}if(55296<=uCode&&uCode<57344)if(uCode<56320){if(-1===leadSurrogate){leadSurrogate=uCode;continue}leadSurrogate=uCode;uCode=UNASSIGNED}else if(-1!==leadSurrogate){uCode=65536+1024*(leadSurrogate-55296)+(uCode-56320);leadSurrogate=-1}else uCode=UNASSIGNED;else if(-1!==leadSurrogate){nextChar=uCode;uCode=UNASSIGNED;leadSurrogate=-1}var dbcsCode=UNASSIGNED;if(void 0!==seqObj&&uCode!=UNASSIGNED){var resCode=seqObj[uCode];if("object"===typeof resCode){seqObj=resCode;continue}if("number"==typeof resCode)dbcsCode=resCode;else if(void 0==resCode){resCode=seqObj[DEF_CHAR];if(void 0!==resCode){dbcsCode=resCode;nextChar=uCode}}seqObj=void 0}else if(uCode>=0){var subtable=this.encodeTable[uCode>>8];void 0!==subtable&&(dbcsCode=subtable[255&uCode]);if(dbcsCode<=SEQ_START){seqObj=this.encodeTableSeq[SEQ_START-dbcsCode];continue}if(dbcsCode==UNASSIGNED&&this.gb18030){var idx=findIdx(this.gb18030.uChars,uCode);if(-1!=idx){dbcsCode=this.gb18030.gbChars[idx]+(uCode-this.gb18030.uChars[idx]);newBuf[j++]=129+Math.floor(dbcsCode/12600);dbcsCode%=12600;newBuf[j++]=48+Math.floor(dbcsCode/1260);dbcsCode%=1260;newBuf[j++]=129+Math.floor(dbcsCode/10);dbcsCode%=10;newBuf[j++]=48+dbcsCode;continue}}}dbcsCode===UNASSIGNED&&(dbcsCode=this.defaultCharSingleByte);if(dbcsCode<256)newBuf[j++]=dbcsCode;else if(dbcsCode<65536){newBuf[j++]=dbcsCode>>8;newBuf[j++]=255&dbcsCode}else{newBuf[j++]=dbcsCode>>16;newBuf[j++]=dbcsCode>>8&255;newBuf[j++]=255&dbcsCode}}this.seqObj=seqObj;this.leadSurrogate=leadSurrogate;return newBuf.slice(0,j)};DBCSEncoder.prototype.end=function(){if(-1===this.leadSurrogate&&void 0===this.seqObj)return;var newBuf=Buffer.alloc(10),j=0;if(this.seqObj){var dbcsCode=this.seqObj[DEF_CHAR];if(void 0!==dbcsCode)if(dbcsCode<256)newBuf[j++]=dbcsCode;else{newBuf[j++]=dbcsCode>>8;newBuf[j++]=255&dbcsCode}this.seqObj=void 0}if(-1!==this.leadSurrogate){newBuf[j++]=this.defaultCharSingleByte;this.leadSurrogate=-1}return newBuf.slice(0,j)};DBCSEncoder.prototype.findIdx=findIdx;function DBCSDecoder(options,codec){this.nodeIdx=0;this.prevBuf=Buffer.alloc(0);this.decodeTables=codec.decodeTables;this.decodeTableSeq=codec.decodeTableSeq;this.defaultCharUnicode=codec.defaultCharUnicode;this.gb18030=codec.gb18030}DBCSDecoder.prototype.write=function(buf){var newBuf=Buffer.alloc(2*buf.length),nodeIdx=this.nodeIdx,prevBuf=this.prevBuf,prevBufOffset=this.prevBuf.length,seqStart=-this.prevBuf.length;prevBufOffset>0&&(prevBuf=Buffer.concat([prevBuf,buf.slice(0,10)]));for(var i=0,j=0;i<buf.length;i++){var curByte=i>=0?buf[i]:prevBuf[i+prevBufOffset];var uCode=this.decodeTables[nodeIdx][curByte];if(uCode>=0);else if(uCode===UNASSIGNED){i=seqStart;uCode=this.defaultCharUnicode.charCodeAt(0)}else if(uCode===GB18030_CODE){var curSeq=seqStart>=0?buf.slice(seqStart,i+1):prevBuf.slice(seqStart+prevBufOffset,i+1+prevBufOffset);var ptr=12600*(curSeq[0]-129)+1260*(curSeq[1]-48)+10*(curSeq[2]-129)+(curSeq[3]-48);var idx=findIdx(this.gb18030.gbChars,ptr);uCode=this.gb18030.uChars[idx]+ptr-this.gb18030.gbChars[idx]}else{if(uCode<=NODE_START){nodeIdx=NODE_START-uCode;continue}if(!(uCode<=SEQ_START))throw new Error("iconv-lite internal error: invalid decoding table value "+uCode+" at "+nodeIdx+"/"+curByte);var seq=this.decodeTableSeq[SEQ_START-uCode];for(var k=0;k<seq.length-1;k++){uCode=seq[k];newBuf[j++]=255&uCode;newBuf[j++]=uCode>>8}uCode=seq[seq.length-1]}if(uCode>65535){uCode-=65536;var uCodeLead=55296+Math.floor(uCode/1024);newBuf[j++]=255&uCodeLead;newBuf[j++]=uCodeLead>>8;uCode=56320+uCode%1024}newBuf[j++]=255&uCode;newBuf[j++]=uCode>>8;nodeIdx=0;seqStart=i+1}this.nodeIdx=nodeIdx;this.prevBuf=seqStart>=0?buf.slice(seqStart):prevBuf.slice(seqStart+prevBufOffset);return newBuf.slice(0,j).toString("ucs2")};DBCSDecoder.prototype.end=function(){var ret="";while(this.prevBuf.length>0){ret+=this.defaultCharUnicode;var buf=this.prevBuf.slice(1);this.prevBuf=Buffer.alloc(0);this.nodeIdx=0;buf.length>0&&(ret+=this.write(buf))}this.nodeIdx=0;return ret};function findIdx(table,val){if(table[0]>val)return-1;var l=0,r=table.length;while(l<r-1){var mid=l+Math.floor((r-l+1)/2);table[mid]<=val?l=mid:r=mid}return l}},function(module,exports,__webpack_require__){"use strict";module.exports={shiftjis:{type:"_dbcs",table:function(){return __webpack_require__(2407)},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return __webpack_require__(2408)},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return __webpack_require__(504)}},gbk:{type:"_dbcs",table:function(){return __webpack_require__(504).concat(__webpack_require__(907))}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return __webpack_require__(504).concat(__webpack_require__(907))},gb18030:function(){return __webpack_require__(2409)},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return __webpack_require__(2410)}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return __webpack_require__(908)}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return __webpack_require__(908).concat(__webpack_require__(2411))},encodeSkipVals:[41676]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}},function(module){module.exports=[["0","\0",128],["a1","｡",62],["8140","　、。，．・：；？！゛゜´｀¨＾￣＿ヽヾゝゞ〃仝々〆〇ー―‐／＼～∥｜…‥‘’“”（）〔〕［］｛｝〈",9,"＋－±×"],["8180","÷＝≠＜＞≦≧∞∴♂♀°′″℃￥＄￠￡％＃＆＊＠§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],["81b8","∈∋⊆⊇⊂⊃∪∩"],["81c8","∧∨￢⇒⇔∀∃"],["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["81f0","Å‰♯♭♪†‡¶"],["81fc","◯"],["824f","０",9],["8260","Ａ",25],["8281","ａ",25],["829f","ぁ",82],["8340","ァ",62],["8380","ム",22],["839f","Α",16,"Σ",6],["83bf","α",16,"σ",6],["8440","А",5,"ЁЖ",25],["8470","а",5,"ёж",7],["8480","о",17],["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["8740","①",19,"Ⅰ",9],["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["877e","㍻"],["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["eeef","ⅰ",9,"￢￤＇＂"],["f040","",62],["f080","",124],["f140","",62],["f180","",124],["f240","",62],["f280","",124],["f340","",62],["f380","",124],["f440","",62],["f480","",124],["f540","",62],["f580","",124],["f640","",62],["f680","",124],["f740","",62],["f780","",124],["f840","",62],["f880","",124],["f940",""],["fa40","ⅰ",9,"Ⅰ",9,"￢￤＇＂㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]]},function(module){module.exports=[["0","\0",127],["8ea1","｡",62],["a1a1","　、。，．・：；？！゛゜´｀¨＾￣＿ヽヾゝゞ〃仝々〆〇ー―‐／＼～∥｜…‥‘’“”（）〔〕［］｛｝〈",9,"＋－±×÷＝≠＜＞≦≧∞∴♂♀°′″℃￥＄￠￡％＃＆＊＠§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨￢⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","Å‰♯♭♪†‡¶"],["a2fe","◯"],["a3b0","０",9],["a3c1","Ａ",25],["a3e1","ａ",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"Ⅰ",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],["f4a1","堯槇遙瑤凜熙"],["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["fcf1","ⅰ",9,"￢￤＇＂"],["8fa2af","˘ˇ¸˙˝¯˛˚～΄΅"],["8fa2c2","¡¦¿"],["8fa2eb","ºª©®™¤№"],["8fa6e1","ΆΈΉΊΪ"],["8fa6e7","Ό"],["8fa6e9","ΎΫ"],["8fa6ec","Ώ"],["8fa6f1","άέήίϊΐόςύϋΰώ"],["8fa7c2","Ђ",10,"ЎЏ"],["8fa7f2","ђ",10,"ўџ"],["8fa9a1","ÆĐ"],["8fa9a4","Ħ"],["8fa9a6","Ĳ"],["8fa9a8","ŁĿ"],["8fa9ab","ŊØŒ"],["8fa9af","ŦÞ"],["8fa9c1","æđðħıĳĸłŀŉŋøœßŧþ"],["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],["8fabbd","ġĥíìïîǐ"],["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]]},function(module){module.exports={uChars:[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],gbChars:[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189e3]}},function(module){module.exports=[["0","\0",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],["8361","긝",18,"긲긳긵긶긹긻긼"],["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],["8741","놞",9,"놩",15],["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],["8a61","둧",4,"둭",18,"뒁뒂"],["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],["8c41","똀",15,"똒똓똕똖똗똙",4],["8c61","똞",6,"똦",5,"똭",6,"똵",5],["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],["8d41","뛃",16,"뛕",8],["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],["8e61","럂",4,"럈럊",19],["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],["8f41","뢅",7,"뢎",17],["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],["9061","륾",5,"릆릈릋릌릏",15],["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],["9461","봞",5,"봥",6,"봭",12],["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],["9641","뺸",23,"뻒뻓"],["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],["9741","뾃",16,"뾕",8],["9761","뾞",17,"뾱",7],["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],["9841","쁀",16,"쁒",5,"쁙쁚쁛"],["9861","쁝쁞쁟쁡",6,"쁪",15],["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],["9a41","숤숥숦숧숪숬숮숰숳숵",16],["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],["9b61","쌳",17,"썆",7],["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],["9c61","쏿",8,"쐉",6,"쐑",9],["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],["9d41","쒪",13,"쒹쒺쒻쒽",8],["9d61","쓆",25],["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],["a141","좥좦좧좩",18,"좾좿죀죁"],["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎　、。·‥…¨〃­―∥＼∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å￠￡￥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨￢"],["a241","줐줒",5,"줙",18],["a261","줭",6,"줵",18],["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´～ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],["a361","즑",6,"즚즜즞",16],["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛！",58,"￦］",32,"￣"],["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],["a481","쨦쨧쨨쨪",28,"ㄱ",93],["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],["a561","쩫",17,"쩾",5,"쪅쪆"],["a581","쪇",16,"쪙",14,"ⅰ",9],["a5b0","Ⅰ",9],["a5c1","Α",16,"Σ",6],["a5e1","α",16,"σ",6],["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],["a761","쬪",22,"쭂쭃쭄"],["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],["a841","쭭",10,"쭺",14],["a861","쮉",18,"쮝",6],["a881","쮤",19,"쮹",11,"ÆÐªĦ"],["a8a6","Ĳ"],["a8a8","ĿŁØŒºÞŦŊ"],["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],["a941","쯅",14,"쯕",10],["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıĳĸŀłøœßþŧŋŉ㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],["aa81","챳챴챶",29,"ぁ",82],["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],["acd1","а",5,"ёж",25],["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],["ae41","췆",5,"췍췎췏췑",16],["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],["af41","츬츭츮츯츲츴츶",19],["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],["b041","캚",5,"캢캦",5,"캮",12],["b061","캻",5,"컂",19],["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],["b161","켥",6,"켮켲",5,"켹",11],["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],["b261","쾎",18,"쾢",5,"쾩"],["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],["b541","킕",14,"킦킧킩킪킫킭",5],["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],["b641","턅",7,"턎",17],["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],["b741","텮",13,"텽",6,"톅톆톇톉톊"],["b761","톋",20,"톢톣톥톦톧"],["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],["b841","퇐",7,"퇙",17],["b861","퇫",8,"퇵퇶퇷퇹",13],["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],["be41","퐸",7,"푁푂푃푅",14],["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],["bf41","풞",10,"풪",14],["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],["c061","픞",25],["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],["c161","햌햍햎햏햑",19,"햦햧"],["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],["c361","홢",4,"홨홪",5,"홲홳홵",11],["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],["c641","힍힎힏힑",6,"힚힜힞",5],["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]]},function(module){module.exports=[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー［］✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","￢￤＇＂㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","￭"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]},function(module,exports){},function(module,exports){},function(module,exports,__webpack_require__){"use strict";var iconv_package;var Iconv;try{iconv_package="iconv";Iconv=__webpack_require__(2415)(iconv_package).Iconv}catch(E){}module.exports=Iconv},function(module,exports){function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");e.code="MODULE_NOT_FOUND";throw e}webpackEmptyContext.keys=function(){return[]};webpackEmptyContext.resolve=webpackEmptyContext;module.exports=webpackEmptyContext;webpackEmptyContext.id=2415},function(module,exports){module.exports=Headers;function Headers(headers){var self=this;this._headers={};headers instanceof Headers&&(headers=headers.raw());for(var prop in headers){if(!headers.hasOwnProperty(prop))continue;"string"===typeof headers[prop]?this.set(prop,headers[prop]):"number"!==typeof headers[prop]||isNaN(headers[prop])?headers[prop]instanceof Array&&headers[prop].forEach(function(item){self.append(prop,item.toString())}):this.set(prop,headers[prop].toString())}}Headers.prototype.get=function(name){var list=this._headers[name.toLowerCase()];return list?list[0]:null};Headers.prototype.getAll=function(name){if(!this.has(name))return[];return this._headers[name.toLowerCase()]};Headers.prototype.set=function(name,value){this._headers[name.toLowerCase()]=[value]};Headers.prototype.append=function(name,value){if(!this.has(name)){this.set(name,value);return}this._headers[name.toLowerCase()].push(value)};Headers.prototype.has=function(name){return this._headers.hasOwnProperty(name.toLowerCase())};Headers.prototype["delete"]=function(name){delete this._headers[name.toLowerCase()]};Headers.prototype.raw=function(){return this._headers}},function(module,exports,__webpack_require__){var parse_url=__webpack_require__(210).parse;module.exports=Request;function Request(input,init){var url,url_parsed;if(input instanceof Request){url=input.url;url_parsed=parse_url(url)}else{url=input;url_parsed=parse_url(url);input={}}if(!url_parsed.protocol||!url_parsed.hostname)throw new Error("only absolute urls are supported");if("http:"!==url_parsed.protocol&&"https:"!==url_parsed.protocol)throw new Error("only http(s) protocols are supported");init=init||{};this.method=init.method||input.method||"GET";this.headers=init.headers||input.headers||{};this.body=init.body||input.body;this.url=url;this.follow=void 0!==init.follow?init.follow:void 0!==input.follow?input.follow:20;this.counter=init.counter||input.follow||0;this.timeout=init.timeout||input.timeout||0;this.compress=void 0!==init.compress?init.compress:void 0===input.compress||input.compress;this.size=init.size||input.size||0;this.agent=init.agent||input.agent;this.protocol=url_parsed.protocol;this.hostname=url_parsed.hostname;this.port=url_parsed.port;this.path=url_parsed.path;this.auth=url_parsed.auth}},function(module,exports,__webpack_require__){"use strict";var arrays=__webpack_require__(139),objects=__webpack_require__(340);var PEG={VERSION:"0.9.0",GrammarError:__webpack_require__(341),parser:__webpack_require__(2420),compiler:__webpack_require__(2421),buildParser:function(grammar){function convertPasses(passes){var stage,converted={};for(stage in passes)passes.hasOwnProperty(stage)&&(converted[stage]=objects.values(passes[stage]));return converted}var options=arguments.length>1?objects.clone(arguments[1]):{},plugins="plugins"in options?options.plugins:[],config={parser:this.parser,passes:convertPasses(this.compiler.passes)};arrays.each(plugins,function(p){p.use(config,options)});return this.compiler.compile(config.parser.parse(grammar),config.passes,options)}};module.exports=PEG},function(module,exports,__webpack_require__){"use strict";var classes={subclass:function(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}};module.exports=classes},function(module,exports){module.exports=function(){"use strict";function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";"function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,peg$SyntaxError)}peg$subclass(peg$SyntaxError,Error);function peg$parse(input){var peg$result,options=arguments.length>1?arguments[1]:{},peg$FAILED={},peg$startRuleFunctions={Grammar:peg$parseGrammar},peg$startRuleFunction=peg$parseGrammar,peg$c0=function(initializer,rules){return{type:"grammar",initializer:extractOptional(initializer,0),rules:extractList(rules,0),location:location()}},peg$c1=function(code){return{type:"initializer",code:code,location:location()}},peg$c2="=",peg$c3={type:"literal",value:"=",description:'"="'},peg$c4=function(name,displayName,expression){return{type:"rule",name:name,expression:null!==displayName?{type:"named",name:displayName[0],expression:expression,location:location()}:expression,location:location()}},peg$c5="/",peg$c6={type:"literal",value:"/",description:'"/"'},peg$c7=function(first,rest){return rest.length>0?{type:"choice",alternatives:buildList(first,rest,3),location:location()}:first},peg$c8=function(expression,code){return null!==code?{type:"action",expression:expression,code:code[1],location:location()}:expression},peg$c9=function(first,rest){return rest.length>0?{type:"sequence",elements:buildList(first,rest,1),location:location()}:first},peg$c10=":",peg$c11={type:"literal",value:":",description:'":"'},peg$c12=function(label,expression){return{type:"labeled",label:label,expression:expression,location:location()}},peg$c13=function(operator,expression){return{type:OPS_TO_PREFIXED_TYPES[operator],expression:expression,location:location()}},peg$c14="$",peg$c15={type:"literal",value:"$",description:'"$"'},peg$c16="&",peg$c17={type:"literal",value:"&",description:'"&"'},peg$c18="!",peg$c19={type:"literal",value:"!",description:'"!"'},peg$c20=function(expression,operator){return{type:OPS_TO_SUFFIXED_TYPES[operator],expression:expression,location:location()}},peg$c21="?",peg$c22={type:"literal",value:"?",description:'"?"'},peg$c23="*",peg$c24={type:"literal",value:"*",description:'"*"'},peg$c25="+",peg$c26={type:"literal",value:"+",description:'"+"'},peg$c27="(",peg$c28={type:"literal",value:"(",description:'"("'},peg$c29=")",peg$c30={type:"literal",value:")",description:'")"'},peg$c31=function(expression){return expression},peg$c32=function(name){return{type:"rule_ref",name:name,location:location()}},peg$c33=function(operator,code){return{type:OPS_TO_SEMANTIC_PREDICATE_TYPES[operator],code:code,location:location()}},peg$c34={type:"any",description:"any character"},peg$c35={type:"other",description:"whitespace"},peg$c36="\t",peg$c37={type:"literal",value:"\t",description:'"\\t"'},peg$c38="\v",peg$c39={type:"literal",value:"\v",description:'"\\x0B"'},peg$c40="\f",peg$c41={type:"literal",value:"\f",description:'"\\f"'},peg$c42=" ",peg$c43={type:"literal",value:" ",description:'" "'},peg$c44=" ",peg$c45={type:"literal",value:" ",description:'"\\xA0"'},peg$c46="\ufeff",peg$c47={type:"literal",value:"\ufeff",description:'"\\uFEFF"'},peg$c48=/^[\n\r\u2028\u2029]/,peg$c49={type:"class",value:"[\\n\\r\\u2028\\u2029]",description:"[\\n\\r\\u2028\\u2029]"},peg$c50={type:"other",description:"end of line"},peg$c51="\n",peg$c52={type:"literal",value:"\n",description:'"\\n"'},peg$c53="\r\n",peg$c54={type:"literal",value:"\r\n",description:'"\\r\\n"'},peg$c55="\r",peg$c56={type:"literal",value:"\r",description:'"\\r"'},peg$c57="\u2028",peg$c58={type:"literal",value:"\u2028",description:'"\\u2028"'},peg$c59="\u2029",peg$c60={type:"literal",value:"\u2029",description:'"\\u2029"'},peg$c61={type:"other",description:"comment"},peg$c62="/*",peg$c63={type:"literal",value:"/*",description:'"/*"'},peg$c64="*/",peg$c65={type:"literal",value:"*/",description:'"*/"'},peg$c66="//",peg$c67={type:"literal",value:"//",description:'"//"'},peg$c68=function(name){return name},peg$c69={type:"other",description:"identifier"},peg$c70=function(first,rest){return first+rest.join("")},peg$c71="_",peg$c72={type:"literal",value:"_",description:'"_"'},peg$c73="\\",peg$c74={type:"literal",value:"\\",description:'"\\\\"'},peg$c75=function(sequence){return sequence},peg$c76="‌",peg$c77={type:"literal",value:"‌",description:'"\\u200C"'},peg$c78="‍",peg$c79={type:"literal",value:"‍",description:'"\\u200D"'},peg$c80={type:"other",description:"literal"},peg$c81="i",peg$c82={type:"literal",value:"i",description:'"i"'},peg$c83=function(value,ignoreCase){return{type:"literal",value:value,ignoreCase:null!==ignoreCase,location:location()}},peg$c84={type:"other",description:"string"},peg$c85='"',peg$c86={type:"literal",value:'"',description:'"\\""'},peg$c87=function(chars){return chars.join("")},peg$c88="'",peg$c89={type:"literal",value:"'",description:'"\'"'},peg$c90=function(){return text()},peg$c91={type:"other",description:"character class"},peg$c92="[",peg$c93={type:"literal",value:"[",description:'"["'},peg$c94="^",peg$c95={type:"literal",value:"^",description:'"^"'},peg$c96="]",peg$c97={type:"literal",value:"]",description:'"]"'},peg$c98=function(inverted,parts,ignoreCase){return{type:"class",parts:filterEmptyStrings(parts),inverted:null!==inverted,ignoreCase:null!==ignoreCase,rawText:text(),location:location()}},peg$c99="-",peg$c100={type:"literal",value:"-",description:'"-"'},peg$c101=function(begin,end){begin.charCodeAt(0)>end.charCodeAt(0)&&error("Invalid character range: "+text()+".");return[begin,end]},peg$c102=function(){return""},peg$c103="0",peg$c104={type:"literal",value:"0",description:'"0"'},peg$c105=function(){return"\0"},peg$c106="b",peg$c107={type:"literal",value:"b",description:'"b"'},peg$c108=function(){return"\b"},peg$c109="f",peg$c110={type:"literal",value:"f",description:'"f"'},peg$c111=function(){return"\f"},peg$c112="n",peg$c113={type:"literal",value:"n",description:'"n"'},peg$c114=function(){return"\n"},peg$c115="r",peg$c116={type:"literal",value:"r",description:'"r"'},peg$c117=function(){return"\r"},peg$c118="t",peg$c119={type:"literal",value:"t",description:'"t"'},peg$c120=function(){return"\t"},peg$c121="v",peg$c122={type:"literal",value:"v",description:'"v"'},peg$c123=function(){return"\v"},peg$c124="x",peg$c125={type:"literal",value:"x",description:'"x"'},peg$c126="u",peg$c127={type:"literal",value:"u",description:'"u"'},peg$c128=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c129=/^[0-9]/,peg$c130={type:"class",value:"[0-9]",description:"[0-9]"},peg$c131=/^[0-9a-f]/i,peg$c132={type:"class",value:"[0-9a-f]i",description:"[0-9a-f]i"},peg$c133=".",peg$c134={type:"literal",value:".",description:'"."'},peg$c135=function(){return{type:"any",location:location()}},peg$c136={type:"other",description:"code block"},peg$c137="{",peg$c138={type:"literal",value:"{",description:'"{"'},peg$c139="}",peg$c140={type:"literal",value:"}",description:'"}"'},peg$c141=function(code){return code},peg$c142=/^[{}]/,peg$c143={type:"class",value:"[{}]",description:"[{}]"},peg$c144=/^[a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137-\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148-\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C-\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA-\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9-\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC-\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF-\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F-\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0-\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB-\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE-\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6-\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FC7\u1FD0-\u1FD3\u1FD6-\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6-\u1FF7\u210A\u210E-\u210F\u2113\u212F\u2134\u2139\u213C-\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65-\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73-\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3-\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A]/,peg$c145={type:"class",value:"[\\u0061-\\u007A\\u00B5\\u00DF-\\u00F6\\u00F8-\\u00FF\\u0101\\u0103\\u0105\\u0107\\u0109\\u010B\\u010D\\u010F\\u0111\\u0113\\u0115\\u0117\\u0119\\u011B\\u011D\\u011F\\u0121\\u0123\\u0125\\u0127\\u0129\\u012B\\u012D\\u012F\\u0131\\u0133\\u0135\\u0137-\\u0138\\u013A\\u013C\\u013E\\u0140\\u0142\\u0144\\u0146\\u0148-\\u0149\\u014B\\u014D\\u014F\\u0151\\u0153\\u0155\\u0157\\u0159\\u015B\\u015D\\u015F\\u0161\\u0163\\u0165\\u0167\\u0169\\u016B\\u016D\\u016F\\u0171\\u0173\\u0175\\u0177\\u017A\\u017C\\u017E-\\u0180\\u0183\\u0185\\u0188\\u018C-\\u018D\\u0192\\u0195\\u0199-\\u019B\\u019E\\u01A1\\u01A3\\u01A5\\u01A8\\u01AA-\\u01AB\\u01AD\\u01B0\\u01B4\\u01B6\\u01B9-\\u01BA\\u01BD-\\u01BF\\u01C6\\u01C9\\u01CC\\u01CE\\u01D0\\u01D2\\u01D4\\u01D6\\u01D8\\u01DA\\u01DC-\\u01DD\\u01DF\\u01E1\\u01E3\\u01E5\\u01E7\\u01E9\\u01EB\\u01ED\\u01EF-\\u01F0\\u01F3\\u01F5\\u01F9\\u01FB\\u01FD\\u01FF\\u0201\\u0203\\u0205\\u0207\\u0209\\u020B\\u020D\\u020F\\u0211\\u0213\\u0215\\u0217\\u0219\\u021B\\u021D\\u021F\\u0221\\u0223\\u0225\\u0227\\u0229\\u022B\\u022D\\u022F\\u0231\\u0233-\\u0239\\u023C\\u023F-\\u0240\\u0242\\u0247\\u0249\\u024B\\u024D\\u024F-\\u0293\\u0295-\\u02AF\\u0371\\u0373\\u0377\\u037B-\\u037D\\u0390\\u03AC-\\u03CE\\u03D0-\\u03D1\\u03D5-\\u03D7\\u03D9\\u03DB\\u03DD\\u03DF\\u03E1\\u03E3\\u03E5\\u03E7\\u03E9\\u03EB\\u03ED\\u03EF-\\u03F3\\u03F5\\u03F8\\u03FB-\\u03FC\\u0430-\\u045F\\u0461\\u0463\\u0465\\u0467\\u0469\\u046B\\u046D\\u046F\\u0471\\u0473\\u0475\\u0477\\u0479\\u047B\\u047D\\u047F\\u0481\\u048B\\u048D\\u048F\\u0491\\u0493\\u0495\\u0497\\u0499\\u049B\\u049D\\u049F\\u04A1\\u04A3\\u04A5\\u04A7\\u04A9\\u04AB\\u04AD\\u04AF\\u04B1\\u04B3\\u04B5\\u04B7\\u04B9\\u04BB\\u04BD\\u04BF\\u04C2\\u04C4\\u04C6\\u04C8\\u04CA\\u04CC\\u04CE-\\u04CF\\u04D1\\u04D3\\u04D5\\u04D7\\u04D9\\u04DB\\u04DD\\u04DF\\u04E1\\u04E3\\u04E5\\u04E7\\u04E9\\u04EB\\u04ED\\u04EF\\u04F1\\u04F3\\u04F5\\u04F7\\u04F9\\u04FB\\u04FD\\u04FF\\u0501\\u0503\\u0505\\u0507\\u0509\\u050B\\u050D\\u050F\\u0511\\u0513\\u0515\\u0517\\u0519\\u051B\\u051D\\u051F\\u0521\\u0523\\u0525\\u0527\\u0529\\u052B\\u052D\\u052F\\u0561-\\u0587\\u13F8-\\u13FD\\u1D00-\\u1D2B\\u1D6B-\\u1D77\\u1D79-\\u1D9A\\u1E01\\u1E03\\u1E05\\u1E07\\u1E09\\u1E0B\\u1E0D\\u1E0F\\u1E11\\u1E13\\u1E15\\u1E17\\u1E19\\u1E1B\\u1E1D\\u1E1F\\u1E21\\u1E23\\u1E25\\u1E27\\u1E29\\u1E2B\\u1E2D\\u1E2F\\u1E31\\u1E33\\u1E35\\u1E37\\u1E39\\u1E3B\\u1E3D\\u1E3F\\u1E41\\u1E43\\u1E45\\u1E47\\u1E49\\u1E4B\\u1E4D\\u1E4F\\u1E51\\u1E53\\u1E55\\u1E57\\u1E59\\u1E5B\\u1E5D\\u1E5F\\u1E61\\u1E63\\u1E65\\u1E67\\u1E69\\u1E6B\\u1E6D\\u1E6F\\u1E71\\u1E73\\u1E75\\u1E77\\u1E79\\u1E7B\\u1E7D\\u1E7F\\u1E81\\u1E83\\u1E85\\u1E87\\u1E89\\u1E8B\\u1E8D\\u1E8F\\u1E91\\u1E93\\u1E95-\\u1E9D\\u1E9F\\u1EA1\\u1EA3\\u1EA5\\u1EA7\\u1EA9\\u1EAB\\u1EAD\\u1EAF\\u1EB1\\u1EB3\\u1EB5\\u1EB7\\u1EB9\\u1EBB\\u1EBD\\u1EBF\\u1EC1\\u1EC3\\u1EC5\\u1EC7\\u1EC9\\u1ECB\\u1ECD\\u1ECF\\u1ED1\\u1ED3\\u1ED5\\u1ED7\\u1ED9\\u1EDB\\u1EDD\\u1EDF\\u1EE1\\u1EE3\\u1EE5\\u1EE7\\u1EE9\\u1EEB\\u1EED\\u1EEF\\u1EF1\\u1EF3\\u1EF5\\u1EF7\\u1EF9\\u1EFB\\u1EFD\\u1EFF-\\u1F07\\u1F10-\\u1F15\\u1F20-\\u1F27\\u1F30-\\u1F37\\u1F40-\\u1F45\\u1F50-\\u1F57\\u1F60-\\u1F67\\u1F70-\\u1F7D\\u1F80-\\u1F87\\u1F90-\\u1F97\\u1FA0-\\u1FA7\\u1FB0-\\u1FB4\\u1FB6-\\u1FB7\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FC7\\u1FD0-\\u1FD3\\u1FD6-\\u1FD7\\u1FE0-\\u1FE7\\u1FF2-\\u1FF4\\u1FF6-\\u1FF7\\u210A\\u210E-\\u210F\\u2113\\u212F\\u2134\\u2139\\u213C-\\u213D\\u2146-\\u2149\\u214E\\u2184\\u2C30-\\u2C5E\\u2C61\\u2C65-\\u2C66\\u2C68\\u2C6A\\u2C6C\\u2C71\\u2C73-\\u2C74\\u2C76-\\u2C7B\\u2C81\\u2C83\\u2C85\\u2C87\\u2C89\\u2C8B\\u2C8D\\u2C8F\\u2C91\\u2C93\\u2C95\\u2C97\\u2C99\\u2C9B\\u2C9D\\u2C9F\\u2CA1\\u2CA3\\u2CA5\\u2CA7\\u2CA9\\u2CAB\\u2CAD\\u2CAF\\u2CB1\\u2CB3\\u2CB5\\u2CB7\\u2CB9\\u2CBB\\u2CBD\\u2CBF\\u2CC1\\u2CC3\\u2CC5\\u2CC7\\u2CC9\\u2CCB\\u2CCD\\u2CCF\\u2CD1\\u2CD3\\u2CD5\\u2CD7\\u2CD9\\u2CDB\\u2CDD\\u2CDF\\u2CE1\\u2CE3-\\u2CE4\\u2CEC\\u2CEE\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\uA641\\uA643\\uA645\\uA647\\uA649\\uA64B\\uA64D\\uA64F\\uA651\\uA653\\uA655\\uA657\\uA659\\uA65B\\uA65D\\uA65F\\uA661\\uA663\\uA665\\uA667\\uA669\\uA66B\\uA66D\\uA681\\uA683\\uA685\\uA687\\uA689\\uA68B\\uA68D\\uA68F\\uA691\\uA693\\uA695\\uA697\\uA699\\uA69B\\uA723\\uA725\\uA727\\uA729\\uA72B\\uA72D\\uA72F-\\uA731\\uA733\\uA735\\uA737\\uA739\\uA73B\\uA73D\\uA73F\\uA741\\uA743\\uA745\\uA747\\uA749\\uA74B\\uA74D\\uA74F\\uA751\\uA753\\uA755\\uA757\\uA759\\uA75B\\uA75D\\uA75F\\uA761\\uA763\\uA765\\uA767\\uA769\\uA76B\\uA76D\\uA76F\\uA771-\\uA778\\uA77A\\uA77C\\uA77F\\uA781\\uA783\\uA785\\uA787\\uA78C\\uA78E\\uA791\\uA793-\\uA795\\uA797\\uA799\\uA79B\\uA79D\\uA79F\\uA7A1\\uA7A3\\uA7A5\\uA7A7\\uA7A9\\uA7B5\\uA7B7\\uA7FA\\uAB30-\\uAB5A\\uAB60-\\uAB65\\uAB70-\\uABBF\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFF41-\\uFF5A]",description:"[\\u0061-\\u007A\\u00B5\\u00DF-\\u00F6\\u00F8-\\u00FF\\u0101\\u0103\\u0105\\u0107\\u0109\\u010B\\u010D\\u010F\\u0111\\u0113\\u0115\\u0117\\u0119\\u011B\\u011D\\u011F\\u0121\\u0123\\u0125\\u0127\\u0129\\u012B\\u012D\\u012F\\u0131\\u0133\\u0135\\u0137-\\u0138\\u013A\\u013C\\u013E\\u0140\\u0142\\u0144\\u0146\\u0148-\\u0149\\u014B\\u014D\\u014F\\u0151\\u0153\\u0155\\u0157\\u0159\\u015B\\u015D\\u015F\\u0161\\u0163\\u0165\\u0167\\u0169\\u016B\\u016D\\u016F\\u0171\\u0173\\u0175\\u0177\\u017A\\u017C\\u017E-\\u0180\\u0183\\u0185\\u0188\\u018C-\\u018D\\u0192\\u0195\\u0199-\\u019B\\u019E\\u01A1\\u01A3\\u01A5\\u01A8\\u01AA-\\u01AB\\u01AD\\u01B0\\u01B4\\u01B6\\u01B9-\\u01BA\\u01BD-\\u01BF\\u01C6\\u01C9\\u01CC\\u01CE\\u01D0\\u01D2\\u01D4\\u01D6\\u01D8\\u01DA\\u01DC-\\u01DD\\u01DF\\u01E1\\u01E3\\u01E5\\u01E7\\u01E9\\u01EB\\u01ED\\u01EF-\\u01F0\\u01F3\\u01F5\\u01F9\\u01FB\\u01FD\\u01FF\\u0201\\u0203\\u0205\\u0207\\u0209\\u020B\\u020D\\u020F\\u0211\\u0213\\u0215\\u0217\\u0219\\u021B\\u021D\\u021F\\u0221\\u0223\\u0225\\u0227\\u0229\\u022B\\u022D\\u022F\\u0231\\u0233-\\u0239\\u023C\\u023F-\\u0240\\u0242\\u0247\\u0249\\u024B\\u024D\\u024F-\\u0293\\u0295-\\u02AF\\u0371\\u0373\\u0377\\u037B-\\u037D\\u0390\\u03AC-\\u03CE\\u03D0-\\u03D1\\u03D5-\\u03D7\\u03D9\\u03DB\\u03DD\\u03DF\\u03E1\\u03E3\\u03E5\\u03E7\\u03E9\\u03EB\\u03ED\\u03EF-\\u03F3\\u03F5\\u03F8\\u03FB-\\u03FC\\u0430-\\u045F\\u0461\\u0463\\u0465\\u0467\\u0469\\u046B\\u046D\\u046F\\u0471\\u0473\\u0475\\u0477\\u0479\\u047B\\u047D\\u047F\\u0481\\u048B\\u048D\\u048F\\u0491\\u0493\\u0495\\u0497\\u0499\\u049B\\u049D\\u049F\\u04A1\\u04A3\\u04A5\\u04A7\\u04A9\\u04AB\\u04AD\\u04AF\\u04B1\\u04B3\\u04B5\\u04B7\\u04B9\\u04BB\\u04BD\\u04BF\\u04C2\\u04C4\\u04C6\\u04C8\\u04CA\\u04CC\\u04CE-\\u04CF\\u04D1\\u04D3\\u04D5\\u04D7\\u04D9\\u04DB\\u04DD\\u04DF\\u04E1\\u04E3\\u04E5\\u04E7\\u04E9\\u04EB\\u04ED\\u04EF\\u04F1\\u04F3\\u04F5\\u04F7\\u04F9\\u04FB\\u04FD\\u04FF\\u0501\\u0503\\u0505\\u0507\\u0509\\u050B\\u050D\\u050F\\u0511\\u0513\\u0515\\u0517\\u0519\\u051B\\u051D\\u051F\\u0521\\u0523\\u0525\\u0527\\u0529\\u052B\\u052D\\u052F\\u0561-\\u0587\\u13F8-\\u13FD\\u1D00-\\u1D2B\\u1D6B-\\u1D77\\u1D79-\\u1D9A\\u1E01\\u1E03\\u1E05\\u1E07\\u1E09\\u1E0B\\u1E0D\\u1E0F\\u1E11\\u1E13\\u1E15\\u1E17\\u1E19\\u1E1B\\u1E1D\\u1E1F\\u1E21\\u1E23\\u1E25\\u1E27\\u1E29\\u1E2B\\u1E2D\\u1E2F\\u1E31\\u1E33\\u1E35\\u1E37\\u1E39\\u1E3B\\u1E3D\\u1E3F\\u1E41\\u1E43\\u1E45\\u1E47\\u1E49\\u1E4B\\u1E4D\\u1E4F\\u1E51\\u1E53\\u1E55\\u1E57\\u1E59\\u1E5B\\u1E5D\\u1E5F\\u1E61\\u1E63\\u1E65\\u1E67\\u1E69\\u1E6B\\u1E6D\\u1E6F\\u1E71\\u1E73\\u1E75\\u1E77\\u1E79\\u1E7B\\u1E7D\\u1E7F\\u1E81\\u1E83\\u1E85\\u1E87\\u1E89\\u1E8B\\u1E8D\\u1E8F\\u1E91\\u1E93\\u1E95-\\u1E9D\\u1E9F\\u1EA1\\u1EA3\\u1EA5\\u1EA7\\u1EA9\\u1EAB\\u1EAD\\u1EAF\\u1EB1\\u1EB3\\u1EB5\\u1EB7\\u1EB9\\u1EBB\\u1EBD\\u1EBF\\u1EC1\\u1EC3\\u1EC5\\u1EC7\\u1EC9\\u1ECB\\u1ECD\\u1ECF\\u1ED1\\u1ED3\\u1ED5\\u1ED7\\u1ED9\\u1EDB\\u1EDD\\u1EDF\\u1EE1\\u1EE3\\u1EE5\\u1EE7\\u1EE9\\u1EEB\\u1EED\\u1EEF\\u1EF1\\u1EF3\\u1EF5\\u1EF7\\u1EF9\\u1EFB\\u1EFD\\u1EFF-\\u1F07\\u1F10-\\u1F15\\u1F20-\\u1F27\\u1F30-\\u1F37\\u1F40-\\u1F45\\u1F50-\\u1F57\\u1F60-\\u1F67\\u1F70-\\u1F7D\\u1F80-\\u1F87\\u1F90-\\u1F97\\u1FA0-\\u1FA7\\u1FB0-\\u1FB4\\u1FB6-\\u1FB7\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FC7\\u1FD0-\\u1FD3\\u1FD6-\\u1FD7\\u1FE0-\\u1FE7\\u1FF2-\\u1FF4\\u1FF6-\\u1FF7\\u210A\\u210E-\\u210F\\u2113\\u212F\\u2134\\u2139\\u213C-\\u213D\\u2146-\\u2149\\u214E\\u2184\\u2C30-\\u2C5E\\u2C61\\u2C65-\\u2C66\\u2C68\\u2C6A\\u2C6C\\u2C71\\u2C73-\\u2C74\\u2C76-\\u2C7B\\u2C81\\u2C83\\u2C85\\u2C87\\u2C89\\u2C8B\\u2C8D\\u2C8F\\u2C91\\u2C93\\u2C95\\u2C97\\u2C99\\u2C9B\\u2C9D\\u2C9F\\u2CA1\\u2CA3\\u2CA5\\u2CA7\\u2CA9\\u2CAB\\u2CAD\\u2CAF\\u2CB1\\u2CB3\\u2CB5\\u2CB7\\u2CB9\\u2CBB\\u2CBD\\u2CBF\\u2CC1\\u2CC3\\u2CC5\\u2CC7\\u2CC9\\u2CCB\\u2CCD\\u2CCF\\u2CD1\\u2CD3\\u2CD5\\u2CD7\\u2CD9\\u2CDB\\u2CDD\\u2CDF\\u2CE1\\u2CE3-\\u2CE4\\u2CEC\\u2CEE\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\uA641\\uA643\\uA645\\uA647\\uA649\\uA64B\\uA64D\\uA64F\\uA651\\uA653\\uA655\\uA657\\uA659\\uA65B\\uA65D\\uA65F\\uA661\\uA663\\uA665\\uA667\\uA669\\uA66B\\uA66D\\uA681\\uA683\\uA685\\uA687\\uA689\\uA68B\\uA68D\\uA68F\\uA691\\uA693\\uA695\\uA697\\uA699\\uA69B\\uA723\\uA725\\uA727\\uA729\\uA72B\\uA72D\\uA72F-\\uA731\\uA733\\uA735\\uA737\\uA739\\uA73B\\uA73D\\uA73F\\uA741\\uA743\\uA745\\uA747\\uA749\\uA74B\\uA74D\\uA74F\\uA751\\uA753\\uA755\\uA757\\uA759\\uA75B\\uA75D\\uA75F\\uA761\\uA763\\uA765\\uA767\\uA769\\uA76B\\uA76D\\uA76F\\uA771-\\uA778\\uA77A\\uA77C\\uA77F\\uA781\\uA783\\uA785\\uA787\\uA78C\\uA78E\\uA791\\uA793-\\uA795\\uA797\\uA799\\uA79B\\uA79D\\uA79F\\uA7A1\\uA7A3\\uA7A5\\uA7A7\\uA7A9\\uA7B5\\uA7B7\\uA7FA\\uAB30-\\uAB5A\\uAB60-\\uAB65\\uAB70-\\uABBF\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFF41-\\uFF5A]"},peg$c146=/^[\u02B0-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0374\u037A\u0559\u0640\u06E5-\u06E6\u07F4-\u07F5\u07FA\u081A\u0824\u0828\u0971\u0E46\u0EC6\u10FC\u17D7\u1843\u1AA7\u1C78-\u1C7D\u1D2C-\u1D6A\u1D78\u1D9B-\u1DBF\u2071\u207F\u2090-\u209C\u2C7C-\u2C7D\u2D6F\u2E2F\u3005\u3031-\u3035\u303B\u309D-\u309E\u30FC-\u30FE\uA015\uA4F8-\uA4FD\uA60C\uA67F\uA69C-\uA69D\uA717-\uA71F\uA770\uA788\uA7F8-\uA7F9\uA9CF\uA9E6\uAA70\uAADD\uAAF3-\uAAF4\uAB5C-\uAB5F\uFF70\uFF9E-\uFF9F]/,peg$c147={type:"class",value:"[\\u02B0-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0374\\u037A\\u0559\\u0640\\u06E5-\\u06E6\\u07F4-\\u07F5\\u07FA\\u081A\\u0824\\u0828\\u0971\\u0E46\\u0EC6\\u10FC\\u17D7\\u1843\\u1AA7\\u1C78-\\u1C7D\\u1D2C-\\u1D6A\\u1D78\\u1D9B-\\u1DBF\\u2071\\u207F\\u2090-\\u209C\\u2C7C-\\u2C7D\\u2D6F\\u2E2F\\u3005\\u3031-\\u3035\\u303B\\u309D-\\u309E\\u30FC-\\u30FE\\uA015\\uA4F8-\\uA4FD\\uA60C\\uA67F\\uA69C-\\uA69D\\uA717-\\uA71F\\uA770\\uA788\\uA7F8-\\uA7F9\\uA9CF\\uA9E6\\uAA70\\uAADD\\uAAF3-\\uAAF4\\uAB5C-\\uAB5F\\uFF70\\uFF9E-\\uFF9F]",description:"[\\u02B0-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0374\\u037A\\u0559\\u0640\\u06E5-\\u06E6\\u07F4-\\u07F5\\u07FA\\u081A\\u0824\\u0828\\u0971\\u0E46\\u0EC6\\u10FC\\u17D7\\u1843\\u1AA7\\u1C78-\\u1C7D\\u1D2C-\\u1D6A\\u1D78\\u1D9B-\\u1DBF\\u2071\\u207F\\u2090-\\u209C\\u2C7C-\\u2C7D\\u2D6F\\u2E2F\\u3005\\u3031-\\u3035\\u303B\\u309D-\\u309E\\u30FC-\\u30FE\\uA015\\uA4F8-\\uA4FD\\uA60C\\uA67F\\uA69C-\\uA69D\\uA717-\\uA71F\\uA770\\uA788\\uA7F8-\\uA7F9\\uA9CF\\uA9E6\\uAA70\\uAADD\\uAAF3-\\uAAF4\\uAB5C-\\uAB5F\\uFF70\\uFF9E-\\uFF9F]"},peg$c148=/^[\xAA\xBA\u01BB\u01C0-\u01C3\u0294\u05D0-\u05EA\u05F0-\u05F2\u0620-\u063F\u0641-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u0800-\u0815\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0972-\u0980\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\u0AF9\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-\u0C39\u0C3D\u0C58-\u0C5A\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\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10D0-\u10FA\u10FD-\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\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17DC\u1820-\u1842\u1844-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C77\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u2135-\u2138\u2D30-\u2D67\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3006\u303C\u3041-\u3096\u309F\u30A1-\u30FA\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA014\uA016-\uA48C\uA4D0-\uA4F7\uA500-\uA60B\uA610-\uA61F\uA62A-\uA62B\uA66E\uA6A0-\uA6E5\uA78F\uA7F7\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9E0-\uA9E4\uA9E7-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA6F\uAA71-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADC\uAAE0-\uAAEA\uAAF2\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\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\uFF66-\uFF6F\uFF71-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,peg$c149={type:"class",value:"[\\u00AA\\u00BA\\u01BB\\u01C0-\\u01C3\\u0294\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u063F\\u0641-\\u064A\\u066E-\\u066F\\u0671-\\u06D3\\u06D5\\u06EE-\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u0800-\\u0815\\u0840-\\u0858\\u08A0-\\u08B4\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0972-\\u0980\\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\\u0AF9\\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-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\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\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32-\\u0E33\\u0E40-\\u0E45\\u0E81-\\u0E82\\u0E84\\u0E87-\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA-\\u0EAB\\u0EAD-\\u0EB0\\u0EB2-\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065-\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10D0-\\u10FA\\u10FD-\\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\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17DC\\u1820-\\u1842\\u1844-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE-\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C77\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5-\\u1CF6\\u2135-\\u2138\\u2D30-\\u2D67\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u3006\\u303C\\u3041-\\u3096\\u309F\\u30A1-\\u30FA\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA014\\uA016-\\uA48C\\uA4D0-\\uA4F7\\uA500-\\uA60B\\uA610-\\uA61F\\uA62A-\\uA62B\\uA66E\\uA6A0-\\uA6E5\\uA78F\\uA7F7\\uA7FB-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9E0-\\uA9E4\\uA9E7-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA6F\\uAA71-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5-\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADC\\uAAE0-\\uAAEA\\uAAF2\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\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\\uFF66-\\uFF6F\\uFF71-\\uFF9D\\uFFA0-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]",description:"[\\u00AA\\u00BA\\u01BB\\u01C0-\\u01C3\\u0294\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u063F\\u0641-\\u064A\\u066E-\\u066F\\u0671-\\u06D3\\u06D5\\u06EE-\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u0800-\\u0815\\u0840-\\u0858\\u08A0-\\u08B4\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0972-\\u0980\\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\\u0AF9\\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-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\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\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32-\\u0E33\\u0E40-\\u0E45\\u0E81-\\u0E82\\u0E84\\u0E87-\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA-\\u0EAB\\u0EAD-\\u0EB0\\u0EB2-\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065-\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10D0-\\u10FA\\u10FD-\\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\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17DC\\u1820-\\u1842\\u1844-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE-\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C77\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5-\\u1CF6\\u2135-\\u2138\\u2D30-\\u2D67\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u3006\\u303C\\u3041-\\u3096\\u309F\\u30A1-\\u30FA\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA014\\uA016-\\uA48C\\uA4D0-\\uA4F7\\uA500-\\uA60B\\uA610-\\uA61F\\uA62A-\\uA62B\\uA66E\\uA6A0-\\uA6E5\\uA78F\\uA7F7\\uA7FB-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9E0-\\uA9E4\\uA9E7-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA6F\\uAA71-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5-\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADC\\uAAE0-\\uAAEA\\uAAF2\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\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\\uFF66-\\uFF6F\\uFF71-\\uFF9D\\uFFA0-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"},peg$c150=/^[\u01C5\u01C8\u01CB\u01F2\u1F88-\u1F8F\u1F98-\u1F9F\u1FA8-\u1FAF\u1FBC\u1FCC\u1FFC]/,peg$c151={type:"class",value:"[\\u01C5\\u01C8\\u01CB\\u01F2\\u1F88-\\u1F8F\\u1F98-\\u1F9F\\u1FA8-\\u1FAF\\u1FBC\\u1FCC\\u1FFC]",description:"[\\u01C5\\u01C8\\u01CB\\u01F2\\u1F88-\\u1F8F\\u1F98-\\u1F9F\\u1FA8-\\u1FAF\\u1FBC\\u1FCC\\u1FFC]"},peg$c152=/^[A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178-\u0179\u017B\u017D\u0181-\u0182\u0184\u0186-\u0187\u0189-\u018B\u018E-\u0191\u0193-\u0194\u0196-\u0198\u019C-\u019D\u019F-\u01A0\u01A2\u01A4\u01A6-\u01A7\u01A9\u01AC\u01AE-\u01AF\u01B1-\u01B3\u01B5\u01B7-\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A-\u023B\u023D-\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E-\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9-\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0-\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E-\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D-\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A]/,peg$c153={type:"class",value:"[\\u0041-\\u005A\\u00C0-\\u00D6\\u00D8-\\u00DE\\u0100\\u0102\\u0104\\u0106\\u0108\\u010A\\u010C\\u010E\\u0110\\u0112\\u0114\\u0116\\u0118\\u011A\\u011C\\u011E\\u0120\\u0122\\u0124\\u0126\\u0128\\u012A\\u012C\\u012E\\u0130\\u0132\\u0134\\u0136\\u0139\\u013B\\u013D\\u013F\\u0141\\u0143\\u0145\\u0147\\u014A\\u014C\\u014E\\u0150\\u0152\\u0154\\u0156\\u0158\\u015A\\u015C\\u015E\\u0160\\u0162\\u0164\\u0166\\u0168\\u016A\\u016C\\u016E\\u0170\\u0172\\u0174\\u0176\\u0178-\\u0179\\u017B\\u017D\\u0181-\\u0182\\u0184\\u0186-\\u0187\\u0189-\\u018B\\u018E-\\u0191\\u0193-\\u0194\\u0196-\\u0198\\u019C-\\u019D\\u019F-\\u01A0\\u01A2\\u01A4\\u01A6-\\u01A7\\u01A9\\u01AC\\u01AE-\\u01AF\\u01B1-\\u01B3\\u01B5\\u01B7-\\u01B8\\u01BC\\u01C4\\u01C7\\u01CA\\u01CD\\u01CF\\u01D1\\u01D3\\u01D5\\u01D7\\u01D9\\u01DB\\u01DE\\u01E0\\u01E2\\u01E4\\u01E6\\u01E8\\u01EA\\u01EC\\u01EE\\u01F1\\u01F4\\u01F6-\\u01F8\\u01FA\\u01FC\\u01FE\\u0200\\u0202\\u0204\\u0206\\u0208\\u020A\\u020C\\u020E\\u0210\\u0212\\u0214\\u0216\\u0218\\u021A\\u021C\\u021E\\u0220\\u0222\\u0224\\u0226\\u0228\\u022A\\u022C\\u022E\\u0230\\u0232\\u023A-\\u023B\\u023D-\\u023E\\u0241\\u0243-\\u0246\\u0248\\u024A\\u024C\\u024E\\u0370\\u0372\\u0376\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u038F\\u0391-\\u03A1\\u03A3-\\u03AB\\u03CF\\u03D2-\\u03D4\\u03D8\\u03DA\\u03DC\\u03DE\\u03E0\\u03E2\\u03E4\\u03E6\\u03E8\\u03EA\\u03EC\\u03EE\\u03F4\\u03F7\\u03F9-\\u03FA\\u03FD-\\u042F\\u0460\\u0462\\u0464\\u0466\\u0468\\u046A\\u046C\\u046E\\u0470\\u0472\\u0474\\u0476\\u0478\\u047A\\u047C\\u047E\\u0480\\u048A\\u048C\\u048E\\u0490\\u0492\\u0494\\u0496\\u0498\\u049A\\u049C\\u049E\\u04A0\\u04A2\\u04A4\\u04A6\\u04A8\\u04AA\\u04AC\\u04AE\\u04B0\\u04B2\\u04B4\\u04B6\\u04B8\\u04BA\\u04BC\\u04BE\\u04C0-\\u04C1\\u04C3\\u04C5\\u04C7\\u04C9\\u04CB\\u04CD\\u04D0\\u04D2\\u04D4\\u04D6\\u04D8\\u04DA\\u04DC\\u04DE\\u04E0\\u04E2\\u04E4\\u04E6\\u04E8\\u04EA\\u04EC\\u04EE\\u04F0\\u04F2\\u04F4\\u04F6\\u04F8\\u04FA\\u04FC\\u04FE\\u0500\\u0502\\u0504\\u0506\\u0508\\u050A\\u050C\\u050E\\u0510\\u0512\\u0514\\u0516\\u0518\\u051A\\u051C\\u051E\\u0520\\u0522\\u0524\\u0526\\u0528\\u052A\\u052C\\u052E\\u0531-\\u0556\\u10A0-\\u10C5\\u10C7\\u10CD\\u13A0-\\u13F5\\u1E00\\u1E02\\u1E04\\u1E06\\u1E08\\u1E0A\\u1E0C\\u1E0E\\u1E10\\u1E12\\u1E14\\u1E16\\u1E18\\u1E1A\\u1E1C\\u1E1E\\u1E20\\u1E22\\u1E24\\u1E26\\u1E28\\u1E2A\\u1E2C\\u1E2E\\u1E30\\u1E32\\u1E34\\u1E36\\u1E38\\u1E3A\\u1E3C\\u1E3E\\u1E40\\u1E42\\u1E44\\u1E46\\u1E48\\u1E4A\\u1E4C\\u1E4E\\u1E50\\u1E52\\u1E54\\u1E56\\u1E58\\u1E5A\\u1E5C\\u1E5E\\u1E60\\u1E62\\u1E64\\u1E66\\u1E68\\u1E6A\\u1E6C\\u1E6E\\u1E70\\u1E72\\u1E74\\u1E76\\u1E78\\u1E7A\\u1E7C\\u1E7E\\u1E80\\u1E82\\u1E84\\u1E86\\u1E88\\u1E8A\\u1E8C\\u1E8E\\u1E90\\u1E92\\u1E94\\u1E9E\\u1EA0\\u1EA2\\u1EA4\\u1EA6\\u1EA8\\u1EAA\\u1EAC\\u1EAE\\u1EB0\\u1EB2\\u1EB4\\u1EB6\\u1EB8\\u1EBA\\u1EBC\\u1EBE\\u1EC0\\u1EC2\\u1EC4\\u1EC6\\u1EC8\\u1ECA\\u1ECC\\u1ECE\\u1ED0\\u1ED2\\u1ED4\\u1ED6\\u1ED8\\u1EDA\\u1EDC\\u1EDE\\u1EE0\\u1EE2\\u1EE4\\u1EE6\\u1EE8\\u1EEA\\u1EEC\\u1EEE\\u1EF0\\u1EF2\\u1EF4\\u1EF6\\u1EF8\\u1EFA\\u1EFC\\u1EFE\\u1F08-\\u1F0F\\u1F18-\\u1F1D\\u1F28-\\u1F2F\\u1F38-\\u1F3F\\u1F48-\\u1F4D\\u1F59\\u1F5B\\u1F5D\\u1F5F\\u1F68-\\u1F6F\\u1FB8-\\u1FBB\\u1FC8-\\u1FCB\\u1FD8-\\u1FDB\\u1FE8-\\u1FEC\\u1FF8-\\u1FFB\\u2102\\u2107\\u210B-\\u210D\\u2110-\\u2112\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u2130-\\u2133\\u213E-\\u213F\\u2145\\u2183\\u2C00-\\u2C2E\\u2C60\\u2C62-\\u2C64\\u2C67\\u2C69\\u2C6B\\u2C6D-\\u2C70\\u2C72\\u2C75\\u2C7E-\\u2C80\\u2C82\\u2C84\\u2C86\\u2C88\\u2C8A\\u2C8C\\u2C8E\\u2C90\\u2C92\\u2C94\\u2C96\\u2C98\\u2C9A\\u2C9C\\u2C9E\\u2CA0\\u2CA2\\u2CA4\\u2CA6\\u2CA8\\u2CAA\\u2CAC\\u2CAE\\u2CB0\\u2CB2\\u2CB4\\u2CB6\\u2CB8\\u2CBA\\u2CBC\\u2CBE\\u2CC0\\u2CC2\\u2CC4\\u2CC6\\u2CC8\\u2CCA\\u2CCC\\u2CCE\\u2CD0\\u2CD2\\u2CD4\\u2CD6\\u2CD8\\u2CDA\\u2CDC\\u2CDE\\u2CE0\\u2CE2\\u2CEB\\u2CED\\u2CF2\\uA640\\uA642\\uA644\\uA646\\uA648\\uA64A\\uA64C\\uA64E\\uA650\\uA652\\uA654\\uA656\\uA658\\uA65A\\uA65C\\uA65E\\uA660\\uA662\\uA664\\uA666\\uA668\\uA66A\\uA66C\\uA680\\uA682\\uA684\\uA686\\uA688\\uA68A\\uA68C\\uA68E\\uA690\\uA692\\uA694\\uA696\\uA698\\uA69A\\uA722\\uA724\\uA726\\uA728\\uA72A\\uA72C\\uA72E\\uA732\\uA734\\uA736\\uA738\\uA73A\\uA73C\\uA73E\\uA740\\uA742\\uA744\\uA746\\uA748\\uA74A\\uA74C\\uA74E\\uA750\\uA752\\uA754\\uA756\\uA758\\uA75A\\uA75C\\uA75E\\uA760\\uA762\\uA764\\uA766\\uA768\\uA76A\\uA76C\\uA76E\\uA779\\uA77B\\uA77D-\\uA77E\\uA780\\uA782\\uA784\\uA786\\uA78B\\uA78D\\uA790\\uA792\\uA796\\uA798\\uA79A\\uA79C\\uA79E\\uA7A0\\uA7A2\\uA7A4\\uA7A6\\uA7A8\\uA7AA-\\uA7AD\\uA7B0-\\uA7B4\\uA7B6\\uFF21-\\uFF3A]",description:"[\\u0041-\\u005A\\u00C0-\\u00D6\\u00D8-\\u00DE\\u0100\\u0102\\u0104\\u0106\\u0108\\u010A\\u010C\\u010E\\u0110\\u0112\\u0114\\u0116\\u0118\\u011A\\u011C\\u011E\\u0120\\u0122\\u0124\\u0126\\u0128\\u012A\\u012C\\u012E\\u0130\\u0132\\u0134\\u0136\\u0139\\u013B\\u013D\\u013F\\u0141\\u0143\\u0145\\u0147\\u014A\\u014C\\u014E\\u0150\\u0152\\u0154\\u0156\\u0158\\u015A\\u015C\\u015E\\u0160\\u0162\\u0164\\u0166\\u0168\\u016A\\u016C\\u016E\\u0170\\u0172\\u0174\\u0176\\u0178-\\u0179\\u017B\\u017D\\u0181-\\u0182\\u0184\\u0186-\\u0187\\u0189-\\u018B\\u018E-\\u0191\\u0193-\\u0194\\u0196-\\u0198\\u019C-\\u019D\\u019F-\\u01A0\\u01A2\\u01A4\\u01A6-\\u01A7\\u01A9\\u01AC\\u01AE-\\u01AF\\u01B1-\\u01B3\\u01B5\\u01B7-\\u01B8\\u01BC\\u01C4\\u01C7\\u01CA\\u01CD\\u01CF\\u01D1\\u01D3\\u01D5\\u01D7\\u01D9\\u01DB\\u01DE\\u01E0\\u01E2\\u01E4\\u01E6\\u01E8\\u01EA\\u01EC\\u01EE\\u01F1\\u01F4\\u01F6-\\u01F8\\u01FA\\u01FC\\u01FE\\u0200\\u0202\\u0204\\u0206\\u0208\\u020A\\u020C\\u020E\\u0210\\u0212\\u0214\\u0216\\u0218\\u021A\\u021C\\u021E\\u0220\\u0222\\u0224\\u0226\\u0228\\u022A\\u022C\\u022E\\u0230\\u0232\\u023A-\\u023B\\u023D-\\u023E\\u0241\\u0243-\\u0246\\u0248\\u024A\\u024C\\u024E\\u0370\\u0372\\u0376\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u038F\\u0391-\\u03A1\\u03A3-\\u03AB\\u03CF\\u03D2-\\u03D4\\u03D8\\u03DA\\u03DC\\u03DE\\u03E0\\u03E2\\u03E4\\u03E6\\u03E8\\u03EA\\u03EC\\u03EE\\u03F4\\u03F7\\u03F9-\\u03FA\\u03FD-\\u042F\\u0460\\u0462\\u0464\\u0466\\u0468\\u046A\\u046C\\u046E\\u0470\\u0472\\u0474\\u0476\\u0478\\u047A\\u047C\\u047E\\u0480\\u048A\\u048C\\u048E\\u0490\\u0492\\u0494\\u0496\\u0498\\u049A\\u049C\\u049E\\u04A0\\u04A2\\u04A4\\u04A6\\u04A8\\u04AA\\u04AC\\u04AE\\u04B0\\u04B2\\u04B4\\u04B6\\u04B8\\u04BA\\u04BC\\u04BE\\u04C0-\\u04C1\\u04C3\\u04C5\\u04C7\\u04C9\\u04CB\\u04CD\\u04D0\\u04D2\\u04D4\\u04D6\\u04D8\\u04DA\\u04DC\\u04DE\\u04E0\\u04E2\\u04E4\\u04E6\\u04E8\\u04EA\\u04EC\\u04EE\\u04F0\\u04F2\\u04F4\\u04F6\\u04F8\\u04FA\\u04FC\\u04FE\\u0500\\u0502\\u0504\\u0506\\u0508\\u050A\\u050C\\u050E\\u0510\\u0512\\u0514\\u0516\\u0518\\u051A\\u051C\\u051E\\u0520\\u0522\\u0524\\u0526\\u0528\\u052A\\u052C\\u052E\\u0531-\\u0556\\u10A0-\\u10C5\\u10C7\\u10CD\\u13A0-\\u13F5\\u1E00\\u1E02\\u1E04\\u1E06\\u1E08\\u1E0A\\u1E0C\\u1E0E\\u1E10\\u1E12\\u1E14\\u1E16\\u1E18\\u1E1A\\u1E1C\\u1E1E\\u1E20\\u1E22\\u1E24\\u1E26\\u1E28\\u1E2A\\u1E2C\\u1E2E\\u1E30\\u1E32\\u1E34\\u1E36\\u1E38\\u1E3A\\u1E3C\\u1E3E\\u1E40\\u1E42\\u1E44\\u1E46\\u1E48\\u1E4A\\u1E4C\\u1E4E\\u1E50\\u1E52\\u1E54\\u1E56\\u1E58\\u1E5A\\u1E5C\\u1E5E\\u1E60\\u1E62\\u1E64\\u1E66\\u1E68\\u1E6A\\u1E6C\\u1E6E\\u1E70\\u1E72\\u1E74\\u1E76\\u1E78\\u1E7A\\u1E7C\\u1E7E\\u1E80\\u1E82\\u1E84\\u1E86\\u1E88\\u1E8A\\u1E8C\\u1E8E\\u1E90\\u1E92\\u1E94\\u1E9E\\u1EA0\\u1EA2\\u1EA4\\u1EA6\\u1EA8\\u1EAA\\u1EAC\\u1EAE\\u1EB0\\u1EB2\\u1EB4\\u1EB6\\u1EB8\\u1EBA\\u1EBC\\u1EBE\\u1EC0\\u1EC2\\u1EC4\\u1EC6\\u1EC8\\u1ECA\\u1ECC\\u1ECE\\u1ED0\\u1ED2\\u1ED4\\u1ED6\\u1ED8\\u1EDA\\u1EDC\\u1EDE\\u1EE0\\u1EE2\\u1EE4\\u1EE6\\u1EE8\\u1EEA\\u1EEC\\u1EEE\\u1EF0\\u1EF2\\u1EF4\\u1EF6\\u1EF8\\u1EFA\\u1EFC\\u1EFE\\u1F08-\\u1F0F\\u1F18-\\u1F1D\\u1F28-\\u1F2F\\u1F38-\\u1F3F\\u1F48-\\u1F4D\\u1F59\\u1F5B\\u1F5D\\u1F5F\\u1F68-\\u1F6F\\u1FB8-\\u1FBB\\u1FC8-\\u1FCB\\u1FD8-\\u1FDB\\u1FE8-\\u1FEC\\u1FF8-\\u1FFB\\u2102\\u2107\\u210B-\\u210D\\u2110-\\u2112\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u2130-\\u2133\\u213E-\\u213F\\u2145\\u2183\\u2C00-\\u2C2E\\u2C60\\u2C62-\\u2C64\\u2C67\\u2C69\\u2C6B\\u2C6D-\\u2C70\\u2C72\\u2C75\\u2C7E-\\u2C80\\u2C82\\u2C84\\u2C86\\u2C88\\u2C8A\\u2C8C\\u2C8E\\u2C90\\u2C92\\u2C94\\u2C96\\u2C98\\u2C9A\\u2C9C\\u2C9E\\u2CA0\\u2CA2\\u2CA4\\u2CA6\\u2CA8\\u2CAA\\u2CAC\\u2CAE\\u2CB0\\u2CB2\\u2CB4\\u2CB6\\u2CB8\\u2CBA\\u2CBC\\u2CBE\\u2CC0\\u2CC2\\u2CC4\\u2CC6\\u2CC8\\u2CCA\\u2CCC\\u2CCE\\u2CD0\\u2CD2\\u2CD4\\u2CD6\\u2CD8\\u2CDA\\u2CDC\\u2CDE\\u2CE0\\u2CE2\\u2CEB\\u2CED\\u2CF2\\uA640\\uA642\\uA644\\uA646\\uA648\\uA64A\\uA64C\\uA64E\\uA650\\uA652\\uA654\\uA656\\uA658\\uA65A\\uA65C\\uA65E\\uA660\\uA662\\uA664\\uA666\\uA668\\uA66A\\uA66C\\uA680\\uA682\\uA684\\uA686\\uA688\\uA68A\\uA68C\\uA68E\\uA690\\uA692\\uA694\\uA696\\uA698\\uA69A\\uA722\\uA724\\uA726\\uA728\\uA72A\\uA72C\\uA72E\\uA732\\uA734\\uA736\\uA738\\uA73A\\uA73C\\uA73E\\uA740\\uA742\\uA744\\uA746\\uA748\\uA74A\\uA74C\\uA74E\\uA750\\uA752\\uA754\\uA756\\uA758\\uA75A\\uA75C\\uA75E\\uA760\\uA762\\uA764\\uA766\\uA768\\uA76A\\uA76C\\uA76E\\uA779\\uA77B\\uA77D-\\uA77E\\uA780\\uA782\\uA784\\uA786\\uA78B\\uA78D\\uA790\\uA792\\uA796\\uA798\\uA79A\\uA79C\\uA79E\\uA7A0\\uA7A2\\uA7A4\\uA7A6\\uA7A8\\uA7AA-\\uA7AD\\uA7B0-\\uA7B4\\uA7B6\\uFF21-\\uFF3A]"},peg$c154=/^[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E-\u094F\u0982-\u0983\u09BE-\u09C0\u09C7-\u09C8\u09CB-\u09CC\u09D7\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB-\u0ACC\u0B02-\u0B03\u0B3E\u0B40\u0B47-\u0B48\u0B4B-\u0B4C\u0B57\u0BBE-\u0BBF\u0BC1-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD7\u0C01-\u0C03\u0C41-\u0C44\u0C82-\u0C83\u0CBE\u0CC0-\u0CC4\u0CC7-\u0CC8\u0CCA-\u0CCB\u0CD5-\u0CD6\u0D02-\u0D03\u0D3E-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D57\u0D82-\u0D83\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DF2-\u0DF3\u0F3E-\u0F3F\u0F7F\u102B-\u102C\u1031\u1038\u103B-\u103C\u1056-\u1057\u1062-\u1064\u1067-\u106D\u1083-\u1084\u1087-\u108C\u108F\u109A-\u109C\u17B6\u17BE-\u17C5\u17C7-\u17C8\u1923-\u1926\u1929-\u192B\u1930-\u1931\u1933-\u1938\u1A19-\u1A1A\u1A55\u1A57\u1A61\u1A63-\u1A64\u1A6D-\u1A72\u1B04\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B44\u1B82\u1BA1\u1BA6-\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2-\u1BF3\u1C24-\u1C2B\u1C34-\u1C35\u1CE1\u1CF2-\u1CF3\u302E-\u302F\uA823-\uA824\uA827\uA880-\uA881\uA8B4-\uA8C3\uA952-\uA953\uA983\uA9B4-\uA9B5\uA9BA-\uA9BB\uA9BD-\uA9C0\uAA2F-\uAA30\uAA33-\uAA34\uAA4D\uAA7B\uAA7D\uAAEB\uAAEE-\uAAEF\uAAF5\uABE3-\uABE4\uABE6-\uABE7\uABE9-\uABEA\uABEC]/,peg$c155={type:"class",value:"[\\u0903\\u093B\\u093E-\\u0940\\u0949-\\u094C\\u094E-\\u094F\\u0982-\\u0983\\u09BE-\\u09C0\\u09C7-\\u09C8\\u09CB-\\u09CC\\u09D7\\u0A03\\u0A3E-\\u0A40\\u0A83\\u0ABE-\\u0AC0\\u0AC9\\u0ACB-\\u0ACC\\u0B02-\\u0B03\\u0B3E\\u0B40\\u0B47-\\u0B48\\u0B4B-\\u0B4C\\u0B57\\u0BBE-\\u0BBF\\u0BC1-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCC\\u0BD7\\u0C01-\\u0C03\\u0C41-\\u0C44\\u0C82-\\u0C83\\u0CBE\\u0CC0-\\u0CC4\\u0CC7-\\u0CC8\\u0CCA-\\u0CCB\\u0CD5-\\u0CD6\\u0D02-\\u0D03\\u0D3E-\\u0D40\\u0D46-\\u0D48\\u0D4A-\\u0D4C\\u0D57\\u0D82-\\u0D83\\u0DCF-\\u0DD1\\u0DD8-\\u0DDF\\u0DF2-\\u0DF3\\u0F3E-\\u0F3F\\u0F7F\\u102B-\\u102C\\u1031\\u1038\\u103B-\\u103C\\u1056-\\u1057\\u1062-\\u1064\\u1067-\\u106D\\u1083-\\u1084\\u1087-\\u108C\\u108F\\u109A-\\u109C\\u17B6\\u17BE-\\u17C5\\u17C7-\\u17C8\\u1923-\\u1926\\u1929-\\u192B\\u1930-\\u1931\\u1933-\\u1938\\u1A19-\\u1A1A\\u1A55\\u1A57\\u1A61\\u1A63-\\u1A64\\u1A6D-\\u1A72\\u1B04\\u1B35\\u1B3B\\u1B3D-\\u1B41\\u1B43-\\u1B44\\u1B82\\u1BA1\\u1BA6-\\u1BA7\\u1BAA\\u1BE7\\u1BEA-\\u1BEC\\u1BEE\\u1BF2-\\u1BF3\\u1C24-\\u1C2B\\u1C34-\\u1C35\\u1CE1\\u1CF2-\\u1CF3\\u302E-\\u302F\\uA823-\\uA824\\uA827\\uA880-\\uA881\\uA8B4-\\uA8C3\\uA952-\\uA953\\uA983\\uA9B4-\\uA9B5\\uA9BA-\\uA9BB\\uA9BD-\\uA9C0\\uAA2F-\\uAA30\\uAA33-\\uAA34\\uAA4D\\uAA7B\\uAA7D\\uAAEB\\uAAEE-\\uAAEF\\uAAF5\\uABE3-\\uABE4\\uABE6-\\uABE7\\uABE9-\\uABEA\\uABEC]",description:"[\\u0903\\u093B\\u093E-\\u0940\\u0949-\\u094C\\u094E-\\u094F\\u0982-\\u0983\\u09BE-\\u09C0\\u09C7-\\u09C8\\u09CB-\\u09CC\\u09D7\\u0A03\\u0A3E-\\u0A40\\u0A83\\u0ABE-\\u0AC0\\u0AC9\\u0ACB-\\u0ACC\\u0B02-\\u0B03\\u0B3E\\u0B40\\u0B47-\\u0B48\\u0B4B-\\u0B4C\\u0B57\\u0BBE-\\u0BBF\\u0BC1-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCC\\u0BD7\\u0C01-\\u0C03\\u0C41-\\u0C44\\u0C82-\\u0C83\\u0CBE\\u0CC0-\\u0CC4\\u0CC7-\\u0CC8\\u0CCA-\\u0CCB\\u0CD5-\\u0CD6\\u0D02-\\u0D03\\u0D3E-\\u0D40\\u0D46-\\u0D48\\u0D4A-\\u0D4C\\u0D57\\u0D82-\\u0D83\\u0DCF-\\u0DD1\\u0DD8-\\u0DDF\\u0DF2-\\u0DF3\\u0F3E-\\u0F3F\\u0F7F\\u102B-\\u102C\\u1031\\u1038\\u103B-\\u103C\\u1056-\\u1057\\u1062-\\u1064\\u1067-\\u106D\\u1083-\\u1084\\u1087-\\u108C\\u108F\\u109A-\\u109C\\u17B6\\u17BE-\\u17C5\\u17C7-\\u17C8\\u1923-\\u1926\\u1929-\\u192B\\u1930-\\u1931\\u1933-\\u1938\\u1A19-\\u1A1A\\u1A55\\u1A57\\u1A61\\u1A63-\\u1A64\\u1A6D-\\u1A72\\u1B04\\u1B35\\u1B3B\\u1B3D-\\u1B41\\u1B43-\\u1B44\\u1B82\\u1BA1\\u1BA6-\\u1BA7\\u1BAA\\u1BE7\\u1BEA-\\u1BEC\\u1BEE\\u1BF2-\\u1BF3\\u1C24-\\u1C2B\\u1C34-\\u1C35\\u1CE1\\u1CF2-\\u1CF3\\u302E-\\u302F\\uA823-\\uA824\\uA827\\uA880-\\uA881\\uA8B4-\\uA8C3\\uA952-\\uA953\\uA983\\uA9B4-\\uA9B5\\uA9BA-\\uA9BB\\uA9BD-\\uA9C0\\uAA2F-\\uAA30\\uAA33-\\uAA34\\uAA4D\\uAA7B\\uAA7D\\uAAEB\\uAAEE-\\uAAEF\\uAAF5\\uABE3-\\uABE4\\uABE6-\\uABE7\\uABE9-\\uABEA\\uABEC]"},peg$c156=/^[\u0300-\u036F\u0483-\u0487\u0591-\u05BD\u05BF\u05C1-\u05C2\u05C4-\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7-\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962-\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2-\u09E3\u0A01-\u0A02\u0A3C\u0A41-\u0A42\u0A47-\u0A48\u0A4B-\u0A4D\u0A51\u0A70-\u0A71\u0A75\u0A81-\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7-\u0AC8\u0ACD\u0AE2-\u0AE3\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62-\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55-\u0C56\u0C62-\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC-\u0CCD\u0CE2-\u0CE3\u0D01\u0D41-\u0D44\u0D4D\u0D62-\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB-\u0EBC\u0EC8-\u0ECD\u0F18-\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86-\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039-\u103A\u103D-\u103E\u1058-\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085-\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752-\u1753\u1772-\u1773\u17B4-\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u1922\u1927-\u1928\u1932\u1939-\u193B\u1A17-\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABD\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80-\u1B81\u1BA2-\u1BA5\u1BA8-\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8-\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8-\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099-\u309A\uA66F\uA674-\uA67D\uA69E-\uA69F\uA6F0-\uA6F1\uA802\uA806\uA80B\uA825-\uA826\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9E5\uAA29-\uAA2E\uAA31-\uAA32\uAA35-\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7-\uAAB8\uAABE-\uAABF\uAAC1\uAAEC-\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/,peg$c157={type:"class",value:"[\\u0300-\\u036F\\u0483-\\u0487\\u0591-\\u05BD\\u05BF\\u05C1-\\u05C2\\u05C4-\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065F\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7-\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0859-\\u085B\\u08E3-\\u0902\\u093A\\u093C\\u0941-\\u0948\\u094D\\u0951-\\u0957\\u0962-\\u0963\\u0981\\u09BC\\u09C1-\\u09C4\\u09CD\\u09E2-\\u09E3\\u0A01-\\u0A02\\u0A3C\\u0A41-\\u0A42\\u0A47-\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70-\\u0A71\\u0A75\\u0A81-\\u0A82\\u0ABC\\u0AC1-\\u0AC5\\u0AC7-\\u0AC8\\u0ACD\\u0AE2-\\u0AE3\\u0B01\\u0B3C\\u0B3F\\u0B41-\\u0B44\\u0B4D\\u0B56\\u0B62-\\u0B63\\u0B82\\u0BC0\\u0BCD\\u0C00\\u0C3E-\\u0C40\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55-\\u0C56\\u0C62-\\u0C63\\u0C81\\u0CBC\\u0CBF\\u0CC6\\u0CCC-\\u0CCD\\u0CE2-\\u0CE3\\u0D01\\u0D41-\\u0D44\\u0D4D\\u0D62-\\u0D63\\u0DCA\\u0DD2-\\u0DD4\\u0DD6\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB-\\u0EBC\\u0EC8-\\u0ECD\\u0F18-\\u0F19\\u0F35\\u0F37\\u0F39\\u0F71-\\u0F7E\\u0F80-\\u0F84\\u0F86-\\u0F87\\u0F8D-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102D-\\u1030\\u1032-\\u1037\\u1039-\\u103A\\u103D-\\u103E\\u1058-\\u1059\\u105E-\\u1060\\u1071-\\u1074\\u1082\\u1085-\\u1086\\u108D\\u109D\\u135D-\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752-\\u1753\\u1772-\\u1773\\u17B4-\\u17B5\\u17B7-\\u17BD\\u17C6\\u17C9-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u1922\\u1927-\\u1928\\u1932\\u1939-\\u193B\\u1A17-\\u1A18\\u1A1B\\u1A56\\u1A58-\\u1A5E\\u1A60\\u1A62\\u1A65-\\u1A6C\\u1A73-\\u1A7C\\u1A7F\\u1AB0-\\u1ABD\\u1B00-\\u1B03\\u1B34\\u1B36-\\u1B3A\\u1B3C\\u1B42\\u1B6B-\\u1B73\\u1B80-\\u1B81\\u1BA2-\\u1BA5\\u1BA8-\\u1BA9\\u1BAB-\\u1BAD\\u1BE6\\u1BE8-\\u1BE9\\u1BED\\u1BEF-\\u1BF1\\u1C2C-\\u1C33\\u1C36-\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE0\\u1CE2-\\u1CE8\\u1CED\\u1CF4\\u1CF8-\\u1CF9\\u1DC0-\\u1DF5\\u1DFC-\\u1DFF\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2CEF-\\u2CF1\\u2D7F\\u2DE0-\\u2DFF\\u302A-\\u302D\\u3099-\\u309A\\uA66F\\uA674-\\uA67D\\uA69E-\\uA69F\\uA6F0-\\uA6F1\\uA802\\uA806\\uA80B\\uA825-\\uA826\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA951\\uA980-\\uA982\\uA9B3\\uA9B6-\\uA9B9\\uA9BC\\uA9E5\\uAA29-\\uAA2E\\uAA31-\\uAA32\\uAA35-\\uAA36\\uAA43\\uAA4C\\uAA7C\\uAAB0\\uAAB2-\\uAAB4\\uAAB7-\\uAAB8\\uAABE-\\uAABF\\uAAC1\\uAAEC-\\uAAED\\uAAF6\\uABE5\\uABE8\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE2F]",description:"[\\u0300-\\u036F\\u0483-\\u0487\\u0591-\\u05BD\\u05BF\\u05C1-\\u05C2\\u05C4-\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065F\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7-\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0859-\\u085B\\u08E3-\\u0902\\u093A\\u093C\\u0941-\\u0948\\u094D\\u0951-\\u0957\\u0962-\\u0963\\u0981\\u09BC\\u09C1-\\u09C4\\u09CD\\u09E2-\\u09E3\\u0A01-\\u0A02\\u0A3C\\u0A41-\\u0A42\\u0A47-\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70-\\u0A71\\u0A75\\u0A81-\\u0A82\\u0ABC\\u0AC1-\\u0AC5\\u0AC7-\\u0AC8\\u0ACD\\u0AE2-\\u0AE3\\u0B01\\u0B3C\\u0B3F\\u0B41-\\u0B44\\u0B4D\\u0B56\\u0B62-\\u0B63\\u0B82\\u0BC0\\u0BCD\\u0C00\\u0C3E-\\u0C40\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55-\\u0C56\\u0C62-\\u0C63\\u0C81\\u0CBC\\u0CBF\\u0CC6\\u0CCC-\\u0CCD\\u0CE2-\\u0CE3\\u0D01\\u0D41-\\u0D44\\u0D4D\\u0D62-\\u0D63\\u0DCA\\u0DD2-\\u0DD4\\u0DD6\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB-\\u0EBC\\u0EC8-\\u0ECD\\u0F18-\\u0F19\\u0F35\\u0F37\\u0F39\\u0F71-\\u0F7E\\u0F80-\\u0F84\\u0F86-\\u0F87\\u0F8D-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102D-\\u1030\\u1032-\\u1037\\u1039-\\u103A\\u103D-\\u103E\\u1058-\\u1059\\u105E-\\u1060\\u1071-\\u1074\\u1082\\u1085-\\u1086\\u108D\\u109D\\u135D-\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752-\\u1753\\u1772-\\u1773\\u17B4-\\u17B5\\u17B7-\\u17BD\\u17C6\\u17C9-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u1922\\u1927-\\u1928\\u1932\\u1939-\\u193B\\u1A17-\\u1A18\\u1A1B\\u1A56\\u1A58-\\u1A5E\\u1A60\\u1A62\\u1A65-\\u1A6C\\u1A73-\\u1A7C\\u1A7F\\u1AB0-\\u1ABD\\u1B00-\\u1B03\\u1B34\\u1B36-\\u1B3A\\u1B3C\\u1B42\\u1B6B-\\u1B73\\u1B80-\\u1B81\\u1BA2-\\u1BA5\\u1BA8-\\u1BA9\\u1BAB-\\u1BAD\\u1BE6\\u1BE8-\\u1BE9\\u1BED\\u1BEF-\\u1BF1\\u1C2C-\\u1C33\\u1C36-\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE0\\u1CE2-\\u1CE8\\u1CED\\u1CF4\\u1CF8-\\u1CF9\\u1DC0-\\u1DF5\\u1DFC-\\u1DFF\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2CEF-\\u2CF1\\u2D7F\\u2DE0-\\u2DFF\\u302A-\\u302D\\u3099-\\u309A\\uA66F\\uA674-\\uA67D\\uA69E-\\uA69F\\uA6F0-\\uA6F1\\uA802\\uA806\\uA80B\\uA825-\\uA826\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA951\\uA980-\\uA982\\uA9B3\\uA9B6-\\uA9B9\\uA9BC\\uA9E5\\uAA29-\\uAA2E\\uAA31-\\uAA32\\uAA35-\\uAA36\\uAA43\\uAA4C\\uAA7C\\uAAB0\\uAAB2-\\uAAB4\\uAAB7-\\uAAB8\\uAABE-\\uAABF\\uAAC1\\uAAEC-\\uAAED\\uAAF6\\uABE5\\uABE8\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE2F]"},peg$c158=/^[0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]/,peg$c159={type:"class",value:"[\\u0030-\\u0039\\u0660-\\u0669\\u06F0-\\u06F9\\u07C0-\\u07C9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE6-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0DE6-\\u0DEF\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\u1040-\\u1049\\u1090-\\u1099\\u17E0-\\u17E9\\u1810-\\u1819\\u1946-\\u194F\\u19D0-\\u19D9\\u1A80-\\u1A89\\u1A90-\\u1A99\\u1B50-\\u1B59\\u1BB0-\\u1BB9\\u1C40-\\u1C49\\u1C50-\\u1C59\\uA620-\\uA629\\uA8D0-\\uA8D9\\uA900-\\uA909\\uA9D0-\\uA9D9\\uA9F0-\\uA9F9\\uAA50-\\uAA59\\uABF0-\\uABF9\\uFF10-\\uFF19]",description:"[\\u0030-\\u0039\\u0660-\\u0669\\u06F0-\\u06F9\\u07C0-\\u07C9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE6-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0DE6-\\u0DEF\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\u1040-\\u1049\\u1090-\\u1099\\u17E0-\\u17E9\\u1810-\\u1819\\u1946-\\u194F\\u19D0-\\u19D9\\u1A80-\\u1A89\\u1A90-\\u1A99\\u1B50-\\u1B59\\u1BB0-\\u1BB9\\u1C40-\\u1C49\\u1C50-\\u1C59\\uA620-\\uA629\\uA8D0-\\uA8D9\\uA900-\\uA909\\uA9D0-\\uA9D9\\uA9F0-\\uA9F9\\uAA50-\\uAA59\\uABF0-\\uABF9\\uFF10-\\uFF19]"},peg$c160=/^[\u16EE-\u16F0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303A\uA6E6-\uA6EF]/,peg$c161={type:"class",value:"[\\u16EE-\\u16F0\\u2160-\\u2182\\u2185-\\u2188\\u3007\\u3021-\\u3029\\u3038-\\u303A\\uA6E6-\\uA6EF]",description:"[\\u16EE-\\u16F0\\u2160-\\u2182\\u2185-\\u2188\\u3007\\u3021-\\u3029\\u3038-\\u303A\\uA6E6-\\uA6EF]"},peg$c162=/^[_\u203F-\u2040\u2054\uFE33-\uFE34\uFE4D-\uFE4F\uFF3F]/,peg$c163={type:"class",value:"[\\u005F\\u203F-\\u2040\\u2054\\uFE33-\\uFE34\\uFE4D-\\uFE4F\\uFF3F]",description:"[\\u005F\\u203F-\\u2040\\u2054\\uFE33-\\uFE34\\uFE4D-\\uFE4F\\uFF3F]"},peg$c164=/^[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,peg$c165={type:"class",value:"[\\u0020\\u00A0\\u1680\\u2000-\\u200A\\u202F\\u205F\\u3000]",description:"[\\u0020\\u00A0\\u1680\\u2000-\\u200A\\u202F\\u205F\\u3000]"},peg$c166="break",peg$c167={type:"literal",value:"break",description:'"break"'},peg$c168="case",peg$c169={type:"literal",value:"case",description:'"case"'},peg$c170="catch",peg$c171={type:"literal",value:"catch",description:'"catch"'},peg$c172="class",peg$c173={type:"literal",value:"class",description:'"class"'},peg$c174="const",peg$c175={type:"literal",value:"const",description:'"const"'},peg$c176="continue",peg$c177={type:"literal",value:"continue",description:'"continue"'},peg$c178="debugger",peg$c179={type:"literal",value:"debugger",description:'"debugger"'},peg$c180="default",peg$c181={type:"literal",value:"default",description:'"default"'},peg$c182="delete",peg$c183={type:"literal",value:"delete",description:'"delete"'},peg$c184="do",peg$c185={type:"literal",value:"do",description:'"do"'},peg$c186="else",peg$c187={type:"literal",value:"else",description:'"else"'},peg$c188="enum",peg$c189={type:"literal",value:"enum",description:'"enum"'},peg$c190="export",peg$c191={type:"literal",value:"export",description:'"export"'},peg$c192="extends",peg$c193={type:"literal",value:"extends",description:'"extends"'},peg$c194="false",peg$c195={type:"literal",value:"false",description:'"false"'},peg$c196="finally",peg$c197={type:"literal",value:"finally",description:'"finally"'},peg$c198="for",peg$c199={type:"literal",value:"for",description:'"for"'},peg$c200="function",peg$c201={type:"literal",value:"function",description:'"function"'},peg$c202="if",peg$c203={type:"literal",value:"if",description:'"if"'},peg$c204="import",peg$c205={type:"literal",value:"import",description:'"import"'},peg$c206="instanceof",peg$c207={type:"literal",value:"instanceof",description:'"instanceof"'},peg$c208="in",peg$c209={type:"literal",value:"in",description:'"in"'},peg$c210="new",peg$c211={type:"literal",value:"new",description:'"new"'},peg$c212="null",peg$c213={type:"literal",value:"null",description:'"null"'},peg$c214="return",peg$c215={type:"literal",value:"return",description:'"return"'},peg$c216="super",peg$c217={type:"literal",value:"super",description:'"super"'},peg$c218="switch",peg$c219={type:"literal",value:"switch",description:'"switch"'},peg$c220="this",peg$c221={type:"literal",value:"this",description:'"this"'},peg$c222="throw",peg$c223={type:"literal",value:"throw",description:'"throw"'},peg$c224="true",peg$c225={type:"literal",value:"true",description:'"true"'},peg$c226="try",peg$c227={type:"literal",value:"try",description:'"try"'},peg$c228="typeof",peg$c229={type:"literal",value:"typeof",description:'"typeof"'},peg$c230="var",peg$c231={type:"literal",value:"var",description:'"var"'},peg$c232="void",peg$c233={type:"literal",value:"void",description:'"void"'},peg$c234="while",peg$c235={type:"literal",value:"while",description:'"while"'},peg$c236="with",peg$c237={type:"literal",value:"with",description:'"with"'},peg$c238=";",peg$c239={type:"literal",value:";",description:'";"'},peg$currPos=0,peg$savedPos=0,peg$posDetailsCache=[{line:1,column:1,seenCR:false}],peg$maxFailPos=0,peg$maxFailExpected=[],peg$silentFails=0;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions))throw new Error("Can't start parsing from rule \""+options.startRule+'".');peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function location(){return peg$computeLocation(peg$savedPos,peg$currPos)}function error(message){throw peg$buildException(message,null,input.substring(peg$savedPos,peg$currPos),peg$computeLocation(peg$savedPos,peg$currPos))}function peg$computePosDetails(pos){var p,ch,details=peg$posDetailsCache[pos];if(details)return details;p=pos-1;while(!peg$posDetailsCache[p])p--;details=peg$posDetailsCache[p];details={line:details.line,column:details.column,seenCR:details.seenCR};while(p<pos){ch=input.charAt(p);if("\n"===ch){details.seenCR||details.line++;details.column=1;details.seenCR=false}else if("\r"===ch||"\u2028"===ch||"\u2029"===ch){details.line++;details.column=1;details.seenCR=true}else{details.column++;details.seenCR=false}p++}peg$posDetailsCache[pos]=details;return details}function peg$computeLocation(startPos,endPos){var startPosDetails=peg$computePosDetails(startPos),endPosDetails=peg$computePosDetails(endPos);return{start:{offset:startPos,line:startPosDetails.line,column:startPosDetails.column},end:{offset:endPos,line:endPosDetails.line,column:endPosDetails.column}}}function peg$fail(expected){if(peg$currPos<peg$maxFailPos)return;if(peg$currPos>peg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildException(message,expected,found,location){function cleanupExpected(expected){var i=1;expected.sort(function(a,b){return a.description<b.description?-1:a.description>b.description?1:0});while(i<expected.length)expected[i-1]===expected[i]?expected.splice(i,1):i++}function buildMessage(expected,found){function stringEscape(s){function hex(ch){return ch.charCodeAt(0).toString(16).toUpperCase()}return s.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(ch){return"\\x0"+hex(ch)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(ch){return"\\x"+hex(ch)}).replace(/[\u0100-\u0FFF]/g,function(ch){return"\\u0"+hex(ch)}).replace(/[\u1000-\uFFFF]/g,function(ch){return"\\u"+hex(ch)})}var expectedDesc,foundDesc,i,expectedDescs=new Array(expected.length);for(i=0;i<expected.length;i++)expectedDescs[i]=expected[i].description;expectedDesc=expected.length>1?expectedDescs.slice(0,-1).join(", ")+" or "+expectedDescs[expected.length-1]:expectedDescs[0];foundDesc=found?'"'+stringEscape(found)+'"':"end of input";return"Expected "+expectedDesc+" but "+foundDesc+" found."}null!==expected&&cleanupExpected(expected);return new peg$SyntaxError(null!==message?message:buildMessage(expected,found),expected,found,location)}function peg$parseGrammar(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;s1=peg$parse__();if(s1!==peg$FAILED){s2=peg$currPos;s3=peg$parseInitializer();if(s3!==peg$FAILED){s4=peg$parse__();if(s4!==peg$FAILED){s3=[s3,s4];s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}s2===peg$FAILED&&(s2=null);if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseRule();if(s5!==peg$FAILED){s6=peg$parse__();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}if(s4!==peg$FAILED)while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseRule();if(s5!==peg$FAILED){s6=peg$parse__();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}else s3=peg$FAILED;if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseInitializer(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseCodeBlock();if(s1!==peg$FAILED){s2=peg$parseEOS();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRule(){var s0,s1,s2,s3,s4,s5,s6,s7;s0=peg$currPos;s1=peg$parseIdentifierName();if(s1!==peg$FAILED){s2=peg$parse__();if(s2!==peg$FAILED){s3=peg$currPos;s4=peg$parseStringLiteral();if(s4!==peg$FAILED){s5=peg$parse__();if(s5!==peg$FAILED){s4=[s4,s5];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}s3===peg$FAILED&&(s3=null);if(s3!==peg$FAILED){if(61===input.charCodeAt(peg$currPos)){s4=peg$c2;peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c3)}if(s4!==peg$FAILED){s5=peg$parse__();if(s5!==peg$FAILED){s6=peg$parseChoiceExpression();if(s6!==peg$FAILED){s7=peg$parseEOS();if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c4(s1,s3,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseChoiceExpression(){var s0,s1,s2,s3,s4,s5,s6,s7;s0=peg$currPos;s1=peg$parseActionExpression();if(s1!==peg$FAILED){s2=[];s3=peg$currPos;s4=peg$parse__();if(s4!==peg$FAILED){if(47===input.charCodeAt(peg$currPos)){s5=peg$c5;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c6)}if(s5!==peg$FAILED){s6=peg$parse__();if(s6!==peg$FAILED){s7=peg$parseActionExpression();if(s7!==peg$FAILED){s4=[s4,s5,s6,s7];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}while(s3!==peg$FAILED){s2.push(s3);s3=peg$currPos;s4=peg$parse__();if(s4!==peg$FAILED){if(47===input.charCodeAt(peg$currPos)){s5=peg$c5;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c6)}if(s5!==peg$FAILED){s6=peg$parse__();if(s6!==peg$FAILED){s7=peg$parseActionExpression();if(s7!==peg$FAILED){s4=[s4,s5,s6,s7];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c7(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionExpression(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseSequenceExpression();if(s1!==peg$FAILED){s2=peg$currPos;s3=peg$parse__();if(s3!==peg$FAILED){s4=peg$parseCodeBlock();if(s4!==peg$FAILED){s3=[s3,s4];s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}s2===peg$FAILED&&(s2=null);if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c8(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSequenceExpression(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseLabeledExpression();if(s1!==peg$FAILED){s2=[];s3=peg$currPos;s4=peg$parse__();if(s4!==peg$FAILED){s5=peg$parseLabeledExpression();if(s5!==peg$FAILED){s4=[s4,s5];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}while(s3!==peg$FAILED){s2.push(s3);s3=peg$currPos;s4=peg$parse__();if(s4!==peg$FAILED){s5=peg$parseLabeledExpression();if(s5!==peg$FAILED){s4=[s4,s5];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c9(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabeledExpression(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIdentifier();if(s1!==peg$FAILED){s2=peg$parse__();if(s2!==peg$FAILED){if(58===input.charCodeAt(peg$currPos)){s3=peg$c10;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c11)}if(s3!==peg$FAILED){s4=peg$parse__();if(s4!==peg$FAILED){s5=peg$parsePrefixedExpression();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c12(s1,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parsePrefixedExpression());return s0}function peg$parsePrefixedExpression(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parsePrefixedOperator();if(s1!==peg$FAILED){s2=peg$parse__();if(s2!==peg$FAILED){s3=peg$parseSuffixedExpression();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c13(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseSuffixedExpression());return s0}function peg$parsePrefixedOperator(){var s0;if(36===input.charCodeAt(peg$currPos)){s0=peg$c14;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c15)}if(s0===peg$FAILED){if(38===input.charCodeAt(peg$currPos)){s0=peg$c16;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c17)}if(s0===peg$FAILED)if(33===input.charCodeAt(peg$currPos)){s0=peg$c18;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c19)}}return s0}function peg$parseSuffixedExpression(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parsePrimaryExpression();if(s1!==peg$FAILED){s2=peg$parse__();if(s2!==peg$FAILED){s3=peg$parseSuffixedOperator();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c20(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parsePrimaryExpression());return s0}function peg$parseSuffixedOperator(){var s0;if(63===input.charCodeAt(peg$currPos)){s0=peg$c21;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c22)}if(s0===peg$FAILED){if(42===input.charCodeAt(peg$currPos)){s0=peg$c23;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c24)}if(s0===peg$FAILED)if(43===input.charCodeAt(peg$currPos)){s0=peg$c25;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c26)}}return s0}function peg$parsePrimaryExpression(){var s0,s1,s2,s3,s4,s5;s0=peg$parseLiteralMatcher();if(s0===peg$FAILED){s0=peg$parseCharacterClassMatcher();if(s0===peg$FAILED){s0=peg$parseAnyMatcher();if(s0===peg$FAILED){s0=peg$parseRuleReferenceExpression();if(s0===peg$FAILED){s0=peg$parseSemanticPredicateExpression();if(s0===peg$FAILED){s0=peg$currPos;if(40===input.charCodeAt(peg$currPos)){s1=peg$c27;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c28)}if(s1!==peg$FAILED){s2=peg$parse__();if(s2!==peg$FAILED){s3=peg$parseChoiceExpression();if(s3!==peg$FAILED){s4=peg$parse__();if(s4!==peg$FAILED){if(41===input.charCodeAt(peg$currPos)){s5=peg$c29;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c30)}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c31(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}}}return s0}function peg$parseRuleReferenceExpression(){var s0,s1,s2,s3,s4,s5,s6,s7;s0=peg$currPos;s1=peg$parseIdentifierName();if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$currPos;s4=peg$parse__();if(s4!==peg$FAILED){s5=peg$currPos;s6=peg$parseStringLiteral();if(s6!==peg$FAILED){s7=peg$parse__();if(s7!==peg$FAILED){s6=[s6,s7];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}s5===peg$FAILED&&(s5=null);if(s5!==peg$FAILED){if(61===input.charCodeAt(peg$currPos)){s6=peg$c2;peg$currPos++}else{s6=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c3)}if(s6!==peg$FAILED){s4=[s4,s5,s6];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c32(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemanticPredicateExpression(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseSemanticPredicateOperator();if(s1!==peg$FAILED){s2=peg$parse__();if(s2!==peg$FAILED){s3=peg$parseCodeBlock();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c33(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemanticPredicateOperator(){var s0;if(38===input.charCodeAt(peg$currPos)){s0=peg$c16;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c17)}if(s0===peg$FAILED)if(33===input.charCodeAt(peg$currPos)){s0=peg$c18;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c19)}return s0}function peg$parseSourceCharacter(){var s0;if(input.length>peg$currPos){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c34)}return s0}function peg$parseWhiteSpace(){var s0;peg$silentFails++;if(9===input.charCodeAt(peg$currPos)){s0=peg$c36;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c37)}if(s0===peg$FAILED){if(11===input.charCodeAt(peg$currPos)){s0=peg$c38;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c39)}if(s0===peg$FAILED){if(12===input.charCodeAt(peg$currPos)){s0=peg$c40;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c41)}if(s0===peg$FAILED){if(32===input.charCodeAt(peg$currPos)){s0=peg$c42;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c43)}if(s0===peg$FAILED){if(160===input.charCodeAt(peg$currPos)){s0=peg$c44;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c45)}if(s0===peg$FAILED){if(65279===input.charCodeAt(peg$currPos)){s0=peg$c46;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c47)}s0===peg$FAILED&&(s0=peg$parseZs())}}}}}peg$silentFails--;if(s0===peg$FAILED){peg$FAILED;0===peg$silentFails&&peg$fail(peg$c35)}return s0}function peg$parseLineTerminator(){var s0;if(peg$c48.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c49)}return s0}function peg$parseLineTerminatorSequence(){var s0;peg$silentFails++;if(10===input.charCodeAt(peg$currPos)){s0=peg$c51;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c52)}if(s0===peg$FAILED){if(input.substr(peg$currPos,2)===peg$c53){s0=peg$c53;peg$currPos+=2}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c54)}if(s0===peg$FAILED){if(13===input.charCodeAt(peg$currPos)){s0=peg$c55;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c56)}if(s0===peg$FAILED){if(8232===input.charCodeAt(peg$currPos)){s0=peg$c57;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c58)}if(s0===peg$FAILED)if(8233===input.charCodeAt(peg$currPos)){s0=peg$c59;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c60)}}}}peg$silentFails--;if(s0===peg$FAILED){peg$FAILED;0===peg$silentFails&&peg$fail(peg$c50)}return s0}function peg$parseComment(){var s0;peg$silentFails++;s0=peg$parseMultiLineComment();s0===peg$FAILED&&(s0=peg$parseSingleLineComment());peg$silentFails--;if(s0===peg$FAILED){peg$FAILED;0===peg$silentFails&&peg$fail(peg$c61)}return s0}function peg$parseMultiLineComment(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c62){s1=peg$c62;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c63)}if(s1!==peg$FAILED){s2=[];s3=peg$currPos;s4=peg$currPos;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c64){s5=peg$c64;peg$currPos+=2}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c65)}peg$silentFails--;if(s5===peg$FAILED)s4=void 0;else{peg$currPos=s4;s4=peg$FAILED}if(s4!==peg$FAILED){s5=peg$parseSourceCharacter();if(s5!==peg$FAILED){s4=[s4,s5];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}while(s3!==peg$FAILED){s2.push(s3);s3=peg$currPos;s4=peg$currPos;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c64){s5=peg$c64;peg$currPos+=2}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c65)}peg$silentFails--;if(s5===peg$FAILED)s4=void 0;else{peg$currPos=s4;s4=peg$FAILED}if(s4!==peg$FAILED){s5=peg$parseSourceCharacter();if(s5!==peg$FAILED){s4=[s4,s5];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}if(s2!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c64){s3=peg$c64;peg$currPos+=2}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c65)}if(s3!==peg$FAILED){s1=[s1,s2,s3];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMultiLineCommentNoLineTerminator(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c62){s1=peg$c62;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c63)}if(s1!==peg$FAILED){s2=[];s3=peg$currPos;s4=peg$currPos;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c64){s5=peg$c64;peg$currPos+=2}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c65)}s5===peg$FAILED&&(s5=peg$parseLineTerminator());peg$silentFails--;if(s5===peg$FAILED)s4=void 0;else{peg$currPos=s4;s4=peg$FAILED}if(s4!==peg$FAILED){s5=peg$parseSourceCharacter();if(s5!==peg$FAILED){s4=[s4,s5];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}while(s3!==peg$FAILED){s2.push(s3);s3=peg$currPos;s4=peg$currPos;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c64){s5=peg$c64;peg$currPos+=2}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c65)}s5===peg$FAILED&&(s5=peg$parseLineTerminator());peg$silentFails--;if(s5===peg$FAILED)s4=void 0;else{peg$currPos=s4;s4=peg$FAILED}if(s4!==peg$FAILED){s5=peg$parseSourceCharacter();if(s5!==peg$FAILED){s4=[s4,s5];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}if(s2!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c64){s3=peg$c64;peg$currPos+=2}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c65)}if(s3!==peg$FAILED){s1=[s1,s2,s3];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleLineComment(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c66){s1=peg$c66;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c67)}if(s1!==peg$FAILED){s2=[];s3=peg$currPos;s4=peg$currPos;peg$silentFails++;s5=peg$parseLineTerminator();peg$silentFails--;if(s5===peg$FAILED)s4=void 0;else{peg$currPos=s4;s4=peg$FAILED}if(s4!==peg$FAILED){s5=peg$parseSourceCharacter();if(s5!==peg$FAILED){s4=[s4,s5];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}while(s3!==peg$FAILED){s2.push(s3);s3=peg$currPos;s4=peg$currPos;peg$silentFails++;s5=peg$parseLineTerminator();peg$silentFails--;if(s5===peg$FAILED)s4=void 0;else{peg$currPos=s4;s4=peg$FAILED}if(s4!==peg$FAILED){s5=peg$parseSourceCharacter();if(s5!==peg$FAILED){s4=[s4,s5];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseIdentifier(){var s0,s1,s2;s0=peg$currPos;s1=peg$currPos;peg$silentFails++;s2=peg$parseReservedWord();peg$silentFails--;if(s2===peg$FAILED)s1=void 0;else{peg$currPos=s1;s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseIdentifierName();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c68(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseIdentifierName(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseIdentifierStart();if(s1!==peg$FAILED){s2=[];s3=peg$parseIdentifierPart();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseIdentifierPart()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c70(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c69)}return s0}function peg$parseIdentifierStart(){var s0,s1,s2;s0=peg$parseUnicodeLetter();if(s0===peg$FAILED){if(36===input.charCodeAt(peg$currPos)){s0=peg$c14;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c15)}if(s0===peg$FAILED){if(95===input.charCodeAt(peg$currPos)){s0=peg$c71;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c72)}if(s0===peg$FAILED){s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c73;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c74)}if(s1!==peg$FAILED){s2=peg$parseUnicodeEscapeSequence();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c75(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseIdentifierPart(){var s0;s0=peg$parseIdentifierStart();if(s0===peg$FAILED){s0=peg$parseUnicodeCombiningMark();if(s0===peg$FAILED){s0=peg$parseNd();if(s0===peg$FAILED){s0=peg$parsePc();if(s0===peg$FAILED){if(8204===input.charCodeAt(peg$currPos)){s0=peg$c76;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c77)}if(s0===peg$FAILED)if(8205===input.charCodeAt(peg$currPos)){s0=peg$c78;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c79)}}}}}return s0}function peg$parseUnicodeLetter(){var s0;s0=peg$parseLu();if(s0===peg$FAILED){s0=peg$parseLl();if(s0===peg$FAILED){s0=peg$parseLt();if(s0===peg$FAILED){s0=peg$parseLm();if(s0===peg$FAILED){s0=peg$parseLo();s0===peg$FAILED&&(s0=peg$parseNl())}}}}return s0}function peg$parseUnicodeCombiningMark(){var s0;s0=peg$parseMn();s0===peg$FAILED&&(s0=peg$parseMc());return s0}function peg$parseReservedWord(){var s0;s0=peg$parseKeyword();if(s0===peg$FAILED){s0=peg$parseFutureReservedWord();if(s0===peg$FAILED){s0=peg$parseNullToken();s0===peg$FAILED&&(s0=peg$parseBooleanLiteral())}}return s0}function peg$parseKeyword(){var s0;s0=peg$parseBreakToken();if(s0===peg$FAILED){s0=peg$parseCaseToken();if(s0===peg$FAILED){s0=peg$parseCatchToken();if(s0===peg$FAILED){s0=peg$parseContinueToken();if(s0===peg$FAILED){s0=peg$parseDebuggerToken();if(s0===peg$FAILED){s0=peg$parseDefaultToken();if(s0===peg$FAILED){s0=peg$parseDeleteToken();if(s0===peg$FAILED){s0=peg$parseDoToken();if(s0===peg$FAILED){s0=peg$parseElseToken();if(s0===peg$FAILED){s0=peg$parseFinallyToken();if(s0===peg$FAILED){s0=peg$parseForToken();if(s0===peg$FAILED){s0=peg$parseFunctionToken();if(s0===peg$FAILED){s0=peg$parseIfToken();if(s0===peg$FAILED){s0=peg$parseInstanceofToken();if(s0===peg$FAILED){s0=peg$parseInToken();if(s0===peg$FAILED){s0=peg$parseNewToken();if(s0===peg$FAILED){s0=peg$parseReturnToken();if(s0===peg$FAILED){s0=peg$parseSwitchToken();if(s0===peg$FAILED){s0=peg$parseThisToken();if(s0===peg$FAILED){s0=peg$parseThrowToken();if(s0===peg$FAILED){s0=peg$parseTryToken();if(s0===peg$FAILED){s0=peg$parseTypeofToken();if(s0===peg$FAILED){s0=peg$parseVarToken();if(s0===peg$FAILED){s0=peg$parseVoidToken();if(s0===peg$FAILED){s0=peg$parseWhileToken();s0===peg$FAILED&&(s0=peg$parseWithToken())}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseFutureReservedWord(){var s0;s0=peg$parseClassToken();if(s0===peg$FAILED){s0=peg$parseConstToken();if(s0===peg$FAILED){s0=peg$parseEnumToken();if(s0===peg$FAILED){s0=peg$parseExportToken();if(s0===peg$FAILED){s0=peg$parseExtendsToken();if(s0===peg$FAILED){s0=peg$parseImportToken();s0===peg$FAILED&&(s0=peg$parseSuperToken())}}}}}return s0}function peg$parseBooleanLiteral(){var s0;s0=peg$parseTrueToken();s0===peg$FAILED&&(s0=peg$parseFalseToken());return s0}function peg$parseLiteralMatcher(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseStringLiteral();if(s1!==peg$FAILED){if(105===input.charCodeAt(peg$currPos)){s2=peg$c81;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c82)}s2===peg$FAILED&&(s2=null);if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c83(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c80)}return s0}function peg$parseStringLiteral(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;if(34===input.charCodeAt(peg$currPos)){s1=peg$c85;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c86)}if(s1!==peg$FAILED){s2=[];s3=peg$parseDoubleStringCharacter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDoubleStringCharacter()}if(s2!==peg$FAILED){if(34===input.charCodeAt(peg$currPos)){s3=peg$c85;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c86)}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c87(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(39===input.charCodeAt(peg$currPos)){s1=peg$c88;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c89)}if(s1!==peg$FAILED){s2=[];s3=peg$parseSingleStringCharacter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseSingleStringCharacter()}if(s2!==peg$FAILED){if(39===input.charCodeAt(peg$currPos)){s3=peg$c88;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c89)}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c87(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c84)}return s0}function peg$parseDoubleStringCharacter(){var s0,s1,s2;s0=peg$currPos;s1=peg$currPos;peg$silentFails++;if(34===input.charCodeAt(peg$currPos)){s2=peg$c85;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c86)}if(s2===peg$FAILED){if(92===input.charCodeAt(peg$currPos)){s2=peg$c73;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c74)}s2===peg$FAILED&&(s2=peg$parseLineTerminator())}peg$silentFails--;if(s2===peg$FAILED)s1=void 0;else{peg$currPos=s1;s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseSourceCharacter();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c90();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c73;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c74)}if(s1!==peg$FAILED){s2=peg$parseEscapeSequence();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c75(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseLineContinuation())}return s0}function peg$parseSingleStringCharacter(){var s0,s1,s2;s0=peg$currPos;s1=peg$currPos;peg$silentFails++;if(39===input.charCodeAt(peg$currPos)){s2=peg$c88;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c89)}if(s2===peg$FAILED){if(92===input.charCodeAt(peg$currPos)){s2=peg$c73;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c74)}s2===peg$FAILED&&(s2=peg$parseLineTerminator())}peg$silentFails--;if(s2===peg$FAILED)s1=void 0;else{peg$currPos=s1;s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseSourceCharacter();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c90();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c73;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c74)}if(s1!==peg$FAILED){s2=peg$parseEscapeSequence();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c75(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseLineContinuation())}return s0}function peg$parseCharacterClassMatcher(){var s0,s1,s2,s3,s4,s5;peg$silentFails++;s0=peg$currPos;if(91===input.charCodeAt(peg$currPos)){s1=peg$c92;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c93)}if(s1!==peg$FAILED){if(94===input.charCodeAt(peg$currPos)){s2=peg$c94;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c95)}s2===peg$FAILED&&(s2=null);if(s2!==peg$FAILED){s3=[];s4=peg$parseClassCharacterRange();s4===peg$FAILED&&(s4=peg$parseClassCharacter());while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseClassCharacterRange();s4===peg$FAILED&&(s4=peg$parseClassCharacter())}if(s3!==peg$FAILED){if(93===input.charCodeAt(peg$currPos)){s4=peg$c96;peg$currPos++}else{s4=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c97)}if(s4!==peg$FAILED){if(105===input.charCodeAt(peg$currPos)){s5=peg$c81;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c82)}s5===peg$FAILED&&(s5=null);if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c98(s2,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c91)}return s0}function peg$parseClassCharacterRange(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseClassCharacter();if(s1!==peg$FAILED){if(45===input.charCodeAt(peg$currPos)){s2=peg$c99;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c100)}if(s2!==peg$FAILED){s3=peg$parseClassCharacter();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c101(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseClassCharacter(){var s0,s1,s2;s0=peg$currPos;s1=peg$currPos;peg$silentFails++;if(93===input.charCodeAt(peg$currPos)){s2=peg$c96;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c97)}if(s2===peg$FAILED){if(92===input.charCodeAt(peg$currPos)){s2=peg$c73;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c74)}s2===peg$FAILED&&(s2=peg$parseLineTerminator())}peg$silentFails--;if(s2===peg$FAILED)s1=void 0;else{peg$currPos=s1;s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseSourceCharacter();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c90();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c73;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c74)}if(s1!==peg$FAILED){s2=peg$parseEscapeSequence();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c75(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}s0===peg$FAILED&&(s0=peg$parseLineContinuation())}return s0}function peg$parseLineContinuation(){var s0,s1,s2;s0=peg$currPos;if(92===input.charCodeAt(peg$currPos)){s1=peg$c73;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c74)}if(s1!==peg$FAILED){s2=peg$parseLineTerminatorSequence();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c102();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseEscapeSequence(){var s0,s1,s2,s3;s0=peg$parseCharacterEscapeSequence();if(s0===peg$FAILED){s0=peg$currPos;if(48===input.charCodeAt(peg$currPos)){s1=peg$c103;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c104)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseDecimalDigit();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c105();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$parseHexEscapeSequence();s0===peg$FAILED&&(s0=peg$parseUnicodeEscapeSequence())}}return s0}function peg$parseCharacterEscapeSequence(){var s0;s0=peg$parseSingleEscapeCharacter();s0===peg$FAILED&&(s0=peg$parseNonEscapeCharacter());return s0}function peg$parseSingleEscapeCharacter(){var s0,s1;if(39===input.charCodeAt(peg$currPos)){s0=peg$c88;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c89)}if(s0===peg$FAILED){if(34===input.charCodeAt(peg$currPos)){s0=peg$c85;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c86)}if(s0===peg$FAILED){if(92===input.charCodeAt(peg$currPos)){s0=peg$c73;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c74)}if(s0===peg$FAILED){s0=peg$currPos;if(98===input.charCodeAt(peg$currPos)){s1=peg$c106;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c107)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c108()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(102===input.charCodeAt(peg$currPos)){s1=peg$c109;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c110)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c111()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(110===input.charCodeAt(peg$currPos)){s1=peg$c112;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c113)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c114()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(114===input.charCodeAt(peg$currPos)){s1=peg$c115;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c116)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c117()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(116===input.charCodeAt(peg$currPos)){s1=peg$c118;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c119)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c120()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(118===input.charCodeAt(peg$currPos)){s1=peg$c121;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c122)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c123()}s0=s1}}}}}}}}return s0}function peg$parseNonEscapeCharacter(){var s0,s1,s2;s0=peg$currPos;s1=peg$currPos;peg$silentFails++;s2=peg$parseEscapeCharacter();s2===peg$FAILED&&(s2=peg$parseLineTerminator());peg$silentFails--;if(s2===peg$FAILED)s1=void 0;else{peg$currPos=s1;s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseSourceCharacter();if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c90();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseEscapeCharacter(){var s0;s0=peg$parseSingleEscapeCharacter();if(s0===peg$FAILED){s0=peg$parseDecimalDigit();if(s0===peg$FAILED){if(120===input.charCodeAt(peg$currPos)){s0=peg$c124;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c125)}if(s0===peg$FAILED)if(117===input.charCodeAt(peg$currPos)){s0=peg$c126;peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c127)}}}return s0}function peg$parseHexEscapeSequence(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(120===input.charCodeAt(peg$currPos)){s1=peg$c124;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c125)}if(s1!==peg$FAILED){s2=peg$currPos;s3=peg$currPos;s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s4=[s4,s5];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}s2=s3!==peg$FAILED?input.substring(s2,peg$currPos):s3;if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c128(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUnicodeEscapeSequence(){var s0,s1,s2,s3,s4,s5,s6,s7;s0=peg$currPos;if(117===input.charCodeAt(peg$currPos)){s1=peg$c126;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c127)}if(s1!==peg$FAILED){s2=peg$currPos;s3=peg$currPos;s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s4=[s4,s5,s6,s7];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}s2=s3!==peg$FAILED?input.substring(s2,peg$currPos):s3;if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c128(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c129.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c130)}return s0}function peg$parseHexDigit(){var s0;if(peg$c131.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c132)}return s0}function peg$parseAnyMatcher(){var s0,s1;s0=peg$currPos;if(46===input.charCodeAt(peg$currPos)){s1=peg$c133;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c134)}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c135()}s0=s1;return s0}function peg$parseCodeBlock(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;if(123===input.charCodeAt(peg$currPos)){s1=peg$c137;peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c138)}if(s1!==peg$FAILED){s2=peg$parseCode();if(s2!==peg$FAILED){if(125===input.charCodeAt(peg$currPos)){s3=peg$c139;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c140)}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c141(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c136)}return s0}function peg$parseCode(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=[];s2=[];s3=peg$currPos;s4=peg$currPos;peg$silentFails++;if(peg$c142.test(input.charAt(peg$currPos))){s5=input.charAt(peg$currPos);peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c143)}peg$silentFails--;if(s5===peg$FAILED)s4=void 0;else{peg$currPos=s4;s4=peg$FAILED}if(s4!==peg$FAILED){s5=peg$parseSourceCharacter();if(s5!==peg$FAILED){s4=[s4,s5];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}if(s3!==peg$FAILED)while(s3!==peg$FAILED){s2.push(s3);s3=peg$currPos;s4=peg$currPos;peg$silentFails++;if(peg$c142.test(input.charAt(peg$currPos))){s5=input.charAt(peg$currPos);peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c143)}peg$silentFails--;if(s5===peg$FAILED)s4=void 0;else{peg$currPos=s4;s4=peg$FAILED}if(s4!==peg$FAILED){s5=peg$parseSourceCharacter();if(s5!==peg$FAILED){s4=[s4,s5];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else s2=peg$FAILED;if(s2===peg$FAILED){s2=peg$currPos;if(123===input.charCodeAt(peg$currPos)){s3=peg$c137;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c138)}if(s3!==peg$FAILED){s4=peg$parseCode();if(s4!==peg$FAILED){if(125===input.charCodeAt(peg$currPos)){s5=peg$c139;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c140)}if(s5!==peg$FAILED){s3=[s3,s4,s5];s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}while(s2!==peg$FAILED){s1.push(s2);s2=[];s3=peg$currPos;s4=peg$currPos;peg$silentFails++;if(peg$c142.test(input.charAt(peg$currPos))){s5=input.charAt(peg$currPos);peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c143)}peg$silentFails--;if(s5===peg$FAILED)s4=void 0;else{peg$currPos=s4;s4=peg$FAILED}if(s4!==peg$FAILED){s5=peg$parseSourceCharacter();if(s5!==peg$FAILED){s4=[s4,s5];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}if(s3!==peg$FAILED)while(s3!==peg$FAILED){s2.push(s3);s3=peg$currPos;s4=peg$currPos;peg$silentFails++;if(peg$c142.test(input.charAt(peg$currPos))){s5=input.charAt(peg$currPos);peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c143)}peg$silentFails--;if(s5===peg$FAILED)s4=void 0;else{peg$currPos=s4;s4=peg$FAILED}if(s4!==peg$FAILED){s5=peg$parseSourceCharacter();if(s5!==peg$FAILED){s4=[s4,s5];s3=s4}else{peg$currPos=s3;s3=peg$FAILED}}else{peg$currPos=s3;s3=peg$FAILED}}else s2=peg$FAILED;if(s2===peg$FAILED){s2=peg$currPos;if(123===input.charCodeAt(peg$currPos)){s3=peg$c137;peg$currPos++}else{s3=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c138)}if(s3!==peg$FAILED){s4=peg$parseCode();if(s4!==peg$FAILED){if(125===input.charCodeAt(peg$currPos)){s5=peg$c139;peg$currPos++}else{s5=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c140)}if(s5!==peg$FAILED){s3=[s3,s4,s5];s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}s0=s1!==peg$FAILED?input.substring(s0,peg$currPos):s1;return s0}function peg$parseLl(){var s0;if(peg$c144.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c145)}return s0}function peg$parseLm(){var s0;if(peg$c146.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c147)}return s0}function peg$parseLo(){var s0;if(peg$c148.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c149)}return s0}function peg$parseLt(){var s0;if(peg$c150.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c151)}return s0}function peg$parseLu(){var s0;if(peg$c152.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c153)}return s0}function peg$parseMc(){var s0;if(peg$c154.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c155)}return s0}function peg$parseMn(){var s0;if(peg$c156.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c157)}return s0}function peg$parseNd(){var s0;if(peg$c158.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c159)}return s0}function peg$parseNl(){var s0;if(peg$c160.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c161)}return s0}function peg$parsePc(){var s0;if(peg$c162.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c163)}return s0}function peg$parseZs(){var s0;if(peg$c164.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c165)}return s0}function peg$parseBreakToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c166){s1=peg$c166;peg$currPos+=5}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c167)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseCaseToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c168){s1=peg$c168;peg$currPos+=4}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c169)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseCatchToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c170){s1=peg$c170;peg$currPos+=5}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c171)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseClassToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c172){s1=peg$c172;peg$currPos+=5}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c173)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConstToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c174){s1=peg$c174;peg$currPos+=5}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c175)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseContinueToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c176){s1=peg$c176;peg$currPos+=8}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c177)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDebuggerToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c178){s1=peg$c178;peg$currPos+=8}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c179)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDefaultToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c180){s1=peg$c180;peg$currPos+=7}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c181)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDeleteToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c182){s1=peg$c182;peg$currPos+=6}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c183)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDoToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c184){s1=peg$c184;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c185)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseElseToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c186){s1=peg$c186;peg$currPos+=4}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c187)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseEnumToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c188){s1=peg$c188;peg$currPos+=4}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c189)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExportToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c190){s1=peg$c190;peg$currPos+=6}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c191)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExtendsToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c192){s1=peg$c192;peg$currPos+=7}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c193)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFalseToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c194){s1=peg$c194;peg$currPos+=5}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c195)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFinallyToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c196){s1=peg$c196;peg$currPos+=7}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c197)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseForToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c198){s1=peg$c198;peg$currPos+=3}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c199)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFunctionToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c200){s1=peg$c200;peg$currPos+=8}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c201)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseIfToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c202){s1=peg$c202;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c203)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseImportToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c204){s1=peg$c204;peg$currPos+=6}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c205)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseInstanceofToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c206){s1=peg$c206;peg$currPos+=10}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c207)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseInToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c208){s1=peg$c208;peg$currPos+=2}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c209)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNewToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c210){s1=peg$c210;peg$currPos+=3}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c211)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNullToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c212){s1=peg$c212;peg$currPos+=4}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c213)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseReturnToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c214){s1=peg$c214;peg$currPos+=6}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c215)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSuperToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c216){s1=peg$c216;peg$currPos+=5}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c217)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSwitchToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c218){s1=peg$c218;peg$currPos+=6}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c219)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseThisToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c220){s1=peg$c220;peg$currPos+=4}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c221)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseThrowToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c222){s1=peg$c222;peg$currPos+=5}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c223)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTrueToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c224){s1=peg$c224;peg$currPos+=4}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c225)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTryToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c226){s1=peg$c226;peg$currPos+=3}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c227)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTypeofToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c228){s1=peg$c228;peg$currPos+=6}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c229)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseVarToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c230){s1=peg$c230;peg$currPos+=3}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c231)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseVoidToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c232){s1=peg$c232;peg$currPos+=4}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c233)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseWhileToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c234){s1=peg$c234;peg$currPos+=5}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c235)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseWithToken(){var s0,s1,s2,s3;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c236){s1=peg$c236;peg$currPos+=4}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c237)}if(s1!==peg$FAILED){s2=peg$currPos;peg$silentFails++;s3=peg$parseIdentifierPart();peg$silentFails--;if(s3===peg$FAILED)s2=void 0;else{peg$currPos=s2;s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parse__(){var s0,s1;s0=[];s1=peg$parseWhiteSpace();if(s1===peg$FAILED){s1=peg$parseLineTerminatorSequence();s1===peg$FAILED&&(s1=peg$parseComment())}while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseWhiteSpace();if(s1===peg$FAILED){s1=peg$parseLineTerminatorSequence();s1===peg$FAILED&&(s1=peg$parseComment())}}return s0}function peg$parse_(){var s0,s1;s0=[];s1=peg$parseWhiteSpace();s1===peg$FAILED&&(s1=peg$parseMultiLineCommentNoLineTerminator());while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseWhiteSpace();s1===peg$FAILED&&(s1=peg$parseMultiLineCommentNoLineTerminator())}return s0}function peg$parseEOS(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parse__();if(s1!==peg$FAILED){if(59===input.charCodeAt(peg$currPos)){s2=peg$c238;peg$currPos++}else{s2=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c239)}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parse_();if(s1!==peg$FAILED){s2=peg$parseSingleLineComment();s2===peg$FAILED&&(s2=null);if(s2!==peg$FAILED){s3=peg$parseLineTerminatorSequence();if(s3!==peg$FAILED){s1=[s1,s2,s3];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parse__();if(s1!==peg$FAILED){s2=peg$parseEOF();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;0===peg$silentFails&&peg$fail(peg$c34)}peg$silentFails--;if(s1===peg$FAILED)s0=void 0;else{peg$currPos=s0;s0=peg$FAILED}return s0}var OPS_TO_PREFIXED_TYPES={$:"text","&":"simple_and","!":"simple_not"};var OPS_TO_SUFFIXED_TYPES={"?":"optional","*":"zero_or_more","+":"one_or_more"};var OPS_TO_SEMANTIC_PREDICATE_TYPES={"&":"semantic_and","!":"semantic_not"};function filterEmptyStrings(array){var i,result=[];for(i=0;i<array.length;i++)""!==array[i]&&result.push(array[i]);return result}function extractOptional(optional,index){return optional?optional[index]:null}function extractList(list,index){var i,result=new Array(list.length);for(i=0;i<list.length;i++)result[i]=list[i][index];return result}function buildList(first,rest,index){return[first].concat(extractList(rest,index))}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length)return peg$result;peg$result!==peg$FAILED&&peg$currPos<input.length&&peg$fail({type:"end",description:"end of input"});throw peg$buildException(null,peg$maxFailExpected,peg$maxFailPos<input.length?input.charAt(peg$maxFailPos):null,peg$maxFailPos<input.length?peg$computeLocation(peg$maxFailPos,peg$maxFailPos+1):peg$computeLocation(peg$maxFailPos,peg$maxFailPos))}return{SyntaxError:peg$SyntaxError,parse:peg$parse}}()},function(module,exports,__webpack_require__){"use strict";var arrays=__webpack_require__(139),objects=__webpack_require__(340);var compiler={passes:{check:{reportMissingRules:__webpack_require__(2422),reportLeftRecursion:__webpack_require__(2423),reportInfiniteLoops:__webpack_require__(2424)},transform:{removeProxyRules:__webpack_require__(2425)},generate:{generateBytecode:__webpack_require__(2426),generateJavascript:__webpack_require__(2427)}},compile:function(ast,passes){var options=arguments.length>2?objects.clone(arguments[2]):{},stage;objects.defaults(options,{allowedStartRules:[ast.rules[0].name],cache:false,trace:false,optimize:"speed",output:"parser"});for(stage in passes)passes.hasOwnProperty(stage)&&arrays.each(passes[stage],function(p){p(ast,options)});switch(options.output){case"parser":return eval(ast.code);case"source":return ast.code}}};module.exports=compiler},function(module,exports,__webpack_require__){"use strict";var GrammarError=__webpack_require__(341),asts=__webpack_require__(259),visitor=__webpack_require__(212);function reportMissingRules(ast){var check=visitor.build({rule_ref:function(node){if(!asts.findRule(ast,node.name))throw new GrammarError('Referenced rule "'+node.name+'" does not exist.',node.location)}});check(ast)}module.exports=reportMissingRules},function(module,exports,__webpack_require__){"use strict";var arrays=__webpack_require__(139),GrammarError=__webpack_require__(341),asts=__webpack_require__(259),visitor=__webpack_require__(212);function reportLeftRecursion(ast){var visitedRules=[];var check=visitor.build({rule:function(node){visitedRules.push(node.name);check(node.expression);visitedRules.pop(node.name)},sequence:function(node){arrays.every(node.elements,function(element){check(element);return!asts.alwaysAdvancesOnSuccess(ast,element)})},rule_ref:function(node){if(arrays.contains(visitedRules,node.name))throw new GrammarError('Left recursion detected for rule "'+node.name+'".',node.location);check(asts.findRule(ast,node.name))}});check(ast)}module.exports=reportLeftRecursion},function(module,exports,__webpack_require__){"use strict";var GrammarError=__webpack_require__(341),asts=__webpack_require__(259),visitor=__webpack_require__(212);function reportInfiniteLoops(ast){var check=visitor.build({zero_or_more:function(node){if(!asts.alwaysAdvancesOnSuccess(ast,node.expression))throw new GrammarError("Infinite loop detected.",node.location)},one_or_more:function(node){if(!asts.alwaysAdvancesOnSuccess(ast,node.expression))throw new GrammarError("Infinite loop detected.",node.location)}});check(ast)}module.exports=reportInfiniteLoops},function(module,exports,__webpack_require__){"use strict";var arrays=__webpack_require__(139),visitor=__webpack_require__(212);function removeProxyRules(ast,options){function isProxyRule(node){return"rule"===node.type&&"rule_ref"===node.expression.type}function replaceRuleRefs(ast,from,to){var replace=visitor.build({rule_ref:function(node){node.name===from&&(node.name=to)}});replace(ast)}var indices=[];arrays.each(ast.rules,function(rule,i){if(isProxyRule(rule)){replaceRuleRefs(ast,rule.name,rule.expression.name);arrays.contains(options.allowedStartRules,rule.name)||indices.push(i)}});indices.reverse();arrays.each(indices,function(i){ast.rules.splice(i,1)})}module.exports=removeProxyRules},function(module,exports,__webpack_require__){"use strict";var arrays=__webpack_require__(139),objects=__webpack_require__(340),asts=__webpack_require__(259),visitor=__webpack_require__(212),op=__webpack_require__(909),js=__webpack_require__(910);function generateBytecode(ast){var consts=[];function addConst(value){var index=arrays.indexOf(consts,value);return-1===index?consts.push(value)-1:index}function addFunctionConst(params,code){return addConst("function("+params.join(", ")+") {"+code+"}")}function buildSequence(){return Array.prototype.concat.apply([],arguments)}function buildCondition(condCode,thenCode,elseCode){return condCode.concat([thenCode.length,elseCode.length],thenCode,elseCode)}function buildLoop(condCode,bodyCode){return condCode.concat([bodyCode.length],bodyCode)}function buildCall(functionIndex,delta,env,sp){var params=arrays.map(objects.values(env),function(p){return sp-p});return[op.CALL,functionIndex,delta,params.length].concat(params)}function buildSimplePredicate(expression,negative,context){return buildSequence([op.PUSH_CURR_POS],[op.SILENT_FAILS_ON],generate(expression,{sp:context.sp+1,env:objects.clone(context.env),action:null}),[op.SILENT_FAILS_OFF],buildCondition([negative?op.IF_ERROR:op.IF_NOT_ERROR],buildSequence([op.POP],[negative?op.POP:op.POP_CURR_POS],[op.PUSH_UNDEFINED]),buildSequence([op.POP],[negative?op.POP_CURR_POS:op.POP],[op.PUSH_FAILED])))}function buildSemanticPredicate(code,negative,context){var functionIndex=addFunctionConst(objects.keys(context.env),code);return buildSequence([op.UPDATE_SAVED_POS],buildCall(functionIndex,0,context.env,context.sp),buildCondition([op.IF],buildSequence([op.POP],negative?[op.PUSH_FAILED]:[op.PUSH_UNDEFINED]),buildSequence([op.POP],negative?[op.PUSH_UNDEFINED]:[op.PUSH_FAILED])))}function buildAppendLoop(expressionCode){return buildLoop([op.WHILE_NOT_ERROR],buildSequence([op.APPEND],expressionCode))}var generate=visitor.build({grammar:function(node){arrays.each(node.rules,generate);node.consts=consts},rule:function(node){node.bytecode=generate(node.expression,{sp:-1,env:{},action:null})},named:function(node,context){var nameIndex=addConst('{ type: "other", description: "'+js.stringEscape(node.name)+'" }');return buildSequence([op.SILENT_FAILS_ON],generate(node.expression,context),[op.SILENT_FAILS_OFF],buildCondition([op.IF_ERROR],[op.FAIL,nameIndex],[]))},choice:function(node,context){function buildAlternativesCode(alternatives,context){return buildSequence(generate(alternatives[0],{sp:context.sp,env:objects.clone(context.env),action:null}),alternatives.length>1?buildCondition([op.IF_ERROR],buildSequence([op.POP],buildAlternativesCode(alternatives.slice(1),context)),[]):[])}return buildAlternativesCode(node.alternatives,context)},action:function(node,context){var env=objects.clone(context.env),emitCall="sequence"!==node.expression.type||0===node.expression.elements.length,expressionCode=generate(node.expression,{sp:context.sp+(emitCall?1:0),env:env,action:node}),functionIndex=addFunctionConst(objects.keys(env),node.code);return emitCall?buildSequence([op.PUSH_CURR_POS],expressionCode,buildCondition([op.IF_NOT_ERROR],buildSequence([op.LOAD_SAVED_POS,1],buildCall(functionIndex,1,env,context.sp+2)),[]),[op.NIP]):expressionCode},sequence:function(node,context){function buildElementsCode(elements,context){var processedCount,functionIndex;if(elements.length>0){processedCount=node.elements.length-elements.slice(1).length;return buildSequence(generate(elements[0],{sp:context.sp,env:context.env,action:null}),buildCondition([op.IF_NOT_ERROR],buildElementsCode(elements.slice(1),{sp:context.sp+1,env:context.env,action:context.action}),buildSequence(processedCount>1?[op.POP_N,processedCount]:[op.POP],[op.POP_CURR_POS],[op.PUSH_FAILED])))}if(context.action){functionIndex=addFunctionConst(objects.keys(context.env),context.action.code);return buildSequence([op.LOAD_SAVED_POS,node.elements.length],buildCall(functionIndex,node.elements.length,context.env,context.sp),[op.NIP])}return buildSequence([op.WRAP,node.elements.length],[op.NIP])}return buildSequence([op.PUSH_CURR_POS],buildElementsCode(node.elements,{sp:context.sp+1,env:context.env,action:context.action}))},labeled:function(node,context){var env=objects.clone(context.env);context.env[node.label]=context.sp+1;return generate(node.expression,{sp:context.sp,env:env,action:null})},text:function(node,context){return buildSequence([op.PUSH_CURR_POS],generate(node.expression,{sp:context.sp+1,env:objects.clone(context.env),action:null}),buildCondition([op.IF_NOT_ERROR],buildSequence([op.POP],[op.TEXT]),[op.NIP]))},simple_and:function(node,context){return buildSimplePredicate(node.expression,false,context)},simple_not:function(node,context){return buildSimplePredicate(node.expression,true,context)},optional:function(node,context){return buildSequence(generate(node.expression,{sp:context.sp,env:objects.clone(context.env),action:null}),buildCondition([op.IF_ERROR],buildSequence([op.POP],[op.PUSH_NULL]),[]))},zero_or_more:function(node,context){var expressionCode=generate(node.expression,{sp:context.sp+1,env:objects.clone(context.env),action:null});return buildSequence([op.PUSH_EMPTY_ARRAY],expressionCode,buildAppendLoop(expressionCode),[op.POP])},one_or_more:function(node,context){var expressionCode=generate(node.expression,{sp:context.sp+1,env:objects.clone(context.env),action:null});return buildSequence([op.PUSH_EMPTY_ARRAY],expressionCode,buildCondition([op.IF_NOT_ERROR],buildSequence(buildAppendLoop(expressionCode),[op.POP]),buildSequence([op.POP],[op.POP],[op.PUSH_FAILED])))},semantic_and:function(node,context){return buildSemanticPredicate(node.code,false,context)},semantic_not:function(node,context){return buildSemanticPredicate(node.code,true,context)},rule_ref:function(node){return[op.RULE,asts.indexOfRule(ast,node.name)]},literal:function(node){var stringIndex,expectedIndex;if(node.value.length>0){stringIndex=addConst('"'+js.stringEscape(node.ignoreCase?node.value.toLowerCase():node.value)+'"');expectedIndex=addConst(["{",'type: "literal",','value: "'+js.stringEscape(node.value)+'",','description: "'+js.stringEscape('"'+js.stringEscape(node.value)+'"')+'"',"}"].join(" "));return buildCondition(node.ignoreCase?[op.MATCH_STRING_IC,stringIndex]:[op.MATCH_STRING,stringIndex],node.ignoreCase?[op.ACCEPT_N,node.value.length]:[op.ACCEPT_STRING,stringIndex],[op.FAIL,expectedIndex])}stringIndex=addConst('""');return[op.PUSH,stringIndex]},class:function(node){var regexp,regexpIndex,expectedIndex;regexp=node.parts.length>0?"/^["+(node.inverted?"^":"")+arrays.map(node.parts,function(part){return part instanceof Array?js.regexpClassEscape(part[0])+"-"+js.regexpClassEscape(part[1]):js.regexpClassEscape(part)}).join("")+"]/"+(node.ignoreCase?"i":""):node.inverted?"/^[\\S\\s]/":"/^(?!)/";regexpIndex=addConst(regexp);expectedIndex=addConst(["{",'type: "class",','value: "'+js.stringEscape(node.rawText)+'",','description: "'+js.stringEscape(node.rawText)+'"',"}"].join(" "));return buildCondition([op.MATCH_REGEXP,regexpIndex],[op.ACCEPT_N,1],[op.FAIL,expectedIndex])},any:function(){var expectedIndex=addConst('{ type: "any", description: "any character" }');return buildCondition([op.MATCH_ANY],[op.ACCEPT_N,1],[op.FAIL,expectedIndex])}});generate(ast)}module.exports=generateBytecode},function(module,exports,__webpack_require__){"use strict";var arrays=__webpack_require__(139),asts=__webpack_require__(259),op=__webpack_require__(909),js=__webpack_require__(910);function generateJavascript(ast,options){function indent2(code){return code.replace(/^(.+)$/gm,"  $1")}function indent4(code){return code.replace(/^(.+)$/gm,"    $1")}function indent8(code){return code.replace(/^(.+)$/gm,"        $1")}function indent10(code){return code.replace(/^(.+)$/gm,"          $1")}function generateTables(){return"size"===options.optimize?["peg$consts = [",indent2(ast.consts.join(",\n")),"],","","peg$bytecode = [",indent2(arrays.map(ast.rules,function(rule){return'peg$decode("'+js.stringEscape(arrays.map(rule.bytecode,function(b){return String.fromCharCode(b+32)}).join(""))+'")'}).join(",\n")),"],"].join("\n"):arrays.map(ast.consts,function(c,i){return"peg$c"+i+" = "+c+","}).join("\n")}function generateRuleHeader(ruleNameCode,ruleIndexCode){var parts=[];parts.push("");options.trace&&parts.push(["peg$tracer.trace({",'  type:     "rule.enter",',"  rule:     "+ruleNameCode+",","  location: peg$computeLocation(startPos, startPos)","});",""].join("\n"));if(options.cache){parts.push(["var key    = peg$currPos * "+ast.rules.length+" + "+ruleIndexCode+",","    cached = peg$resultsCache[key];","","if (cached) {","  peg$currPos = cached.nextPos;",""].join("\n"));options.trace&&parts.push(["if (cached.result !== peg$FAILED) {","  peg$tracer.trace({",'    type:   "rule.match",',"    rule:   "+ruleNameCode+",","    result: cached.result,","    location: peg$computeLocation(startPos, peg$currPos)","  });","} else {","  peg$tracer.trace({",'    type: "rule.fail",',"    rule: "+ruleNameCode+",","    location: peg$computeLocation(startPos, startPos)","  });","}",""].join("\n"));parts.push(["  return cached.result;","}",""].join("\n"))}return parts.join("\n")}function generateRuleFooter(ruleNameCode,resultCode){var parts=[];options.cache&&parts.push(["","peg$resultsCache[key] = { nextPos: peg$currPos, result: "+resultCode+" };"].join("\n"));options.trace&&parts.push(["","if ("+resultCode+" !== peg$FAILED) {","  peg$tracer.trace({",'    type:   "rule.match",',"    rule:   "+ruleNameCode+",","    result: "+resultCode+",","    location: peg$computeLocation(startPos, peg$currPos)","  });","} else {","  peg$tracer.trace({",'    type: "rule.fail",',"    rule: "+ruleNameCode+",","    location: peg$computeLocation(startPos, startPos)","  });","}"].join("\n"));parts.push(["","return "+resultCode+";"].join("\n"));return parts.join("\n")}function generateInterpreter(){var parts=[];function generateCondition(cond,argsLength){var baseLength=argsLength+3,thenLengthCode="bc[ip + "+(baseLength-2)+"]",elseLengthCode="bc[ip + "+(baseLength-1)+"]";return["ends.push(end);","ips.push(ip + "+baseLength+" + "+thenLengthCode+" + "+elseLengthCode+");","","if ("+cond+") {","  end = ip + "+baseLength+" + "+thenLengthCode+";","  ip += "+baseLength+";","} else {","  end = ip + "+baseLength+" + "+thenLengthCode+" + "+elseLengthCode+";","  ip += "+baseLength+" + "+thenLengthCode+";","}","","break;"].join("\n")}function generateLoop(cond){var baseLength=2,bodyLengthCode="bc[ip + "+(baseLength-1)+"]";return["if ("+cond+") {","  ends.push(end);","  ips.push(ip);","","  end = ip + "+baseLength+" + "+bodyLengthCode+";","  ip += "+baseLength+";","} else {","  ip += "+baseLength+" + "+bodyLengthCode+";","}","","break;"].join("\n")}function generateCall(){var baseLength=4,paramsLengthCode="bc[ip + "+(baseLength-1)+"]";return["params = bc.slice(ip + "+baseLength+", ip + "+baseLength+" + "+paramsLengthCode+");","for (i = 0; i < "+paramsLengthCode+"; i++) {","  params[i] = stack[stack.length - 1 - params[i]];","}","","stack.splice(","  stack.length - bc[ip + 2],","  bc[ip + 2],","  peg$consts[bc[ip + 1]].apply(null, params)",");","","ip += "+baseLength+" + "+paramsLengthCode+";","break;"].join("\n")}parts.push(["function peg$decode(s) {","  var bc = new Array(s.length), i;","","  for (i = 0; i < s.length; i++) {","    bc[i] = s.charCodeAt(i) - 32;","  }","","  return bc;","}","","function peg$parseRule(index) {"].join("\n"));options.trace?parts.push(["  var bc       = peg$bytecode[index],","      ip       = 0,","      ips      = [],","      end      = bc.length,","      ends     = [],","      stack    = [],","      startPos = peg$currPos,","      params, i;"].join("\n")):parts.push(["  var bc    = peg$bytecode[index],","      ip    = 0,","      ips   = [],","      end   = bc.length,","      ends  = [],","      stack = [],","      params, i;"].join("\n"));parts.push(indent2(generateRuleHeader("peg$ruleNames[index]","index")));parts.push(["  while (true) {","    while (ip < end) {","      switch (bc[ip]) {","        case "+op.PUSH+":","          stack.push(peg$consts[bc[ip + 1]]);","          ip += 2;","          break;","","        case "+op.PUSH_UNDEFINED+":","          stack.push(void 0);","          ip++;","          break;","","        case "+op.PUSH_NULL+":","          stack.push(null);","          ip++;","          break;","","        case "+op.PUSH_FAILED+":","          stack.push(peg$FAILED);","          ip++;","          break;","","        case "+op.PUSH_EMPTY_ARRAY+":","          stack.push([]);","          ip++;","          break;","","        case "+op.PUSH_CURR_POS+":","          stack.push(peg$currPos);","          ip++;","          break;","","        case "+op.POP+":","          stack.pop();","          ip++;","          break;","","        case "+op.POP_CURR_POS+":","          peg$currPos = stack.pop();","          ip++;","          break;","","        case "+op.POP_N+":","          stack.length -= bc[ip + 1];","          ip += 2;","          break;","","        case "+op.NIP+":","          stack.splice(-2, 1);","          ip++;","          break;","","        case "+op.APPEND+":","          stack[stack.length - 2].push(stack.pop());","          ip++;","          break;","","        case "+op.WRAP+":","          stack.push(stack.splice(stack.length - bc[ip + 1], bc[ip + 1]));","          ip += 2;","          break;","","        case "+op.TEXT+":","          stack.push(input.substring(stack.pop(), peg$currPos));","          ip++;","          break;","","        case "+op.IF+":",indent10(generateCondition("stack[stack.length - 1]",0)),"","        case "+op.IF_ERROR+":",indent10(generateCondition("stack[stack.length - 1] === peg$FAILED",0)),"","        case "+op.IF_NOT_ERROR+":",indent10(generateCondition("stack[stack.length - 1] !== peg$FAILED",0)),"","        case "+op.WHILE_NOT_ERROR+":",indent10(generateLoop("stack[stack.length - 1] !== peg$FAILED")),"","        case "+op.MATCH_ANY+":",indent10(generateCondition("input.length > peg$currPos",0)),"","        case "+op.MATCH_STRING+":",indent10(generateCondition("input.substr(peg$currPos, peg$consts[bc[ip + 1]].length) === peg$consts[bc[ip + 1]]",1)),"","        case "+op.MATCH_STRING_IC+":",indent10(generateCondition("input.substr(peg$currPos, peg$consts[bc[ip + 1]].length).toLowerCase() === peg$consts[bc[ip + 1]]",1)),"","        case "+op.MATCH_REGEXP+":",indent10(generateCondition("peg$consts[bc[ip + 1]].test(input.charAt(peg$currPos))",1)),"","        case "+op.ACCEPT_N+":","          stack.push(input.substr(peg$currPos, bc[ip + 1]));","          peg$currPos += bc[ip + 1];","          ip += 2;","          break;","","        case "+op.ACCEPT_STRING+":","          stack.push(peg$consts[bc[ip + 1]]);","          peg$currPos += peg$consts[bc[ip + 1]].length;","          ip += 2;","          break;","","        case "+op.FAIL+":","          stack.push(peg$FAILED);","          if (peg$silentFails === 0) {","            peg$fail(peg$consts[bc[ip + 1]]);","          }","          ip += 2;","          break;","","        case "+op.LOAD_SAVED_POS+":","          peg$savedPos = stack[stack.length - 1 - bc[ip + 1]];","          ip += 2;","          break;","","        case "+op.UPDATE_SAVED_POS+":","          peg$savedPos = peg$currPos;","          ip++;","          break;","","        case "+op.CALL+":",indent10(generateCall()),"","        case "+op.RULE+":","          stack.push(peg$parseRule(bc[ip + 1]));","          ip += 2;","          break;","","        case "+op.SILENT_FAILS_ON+":","          peg$silentFails++;","          ip++;","          break;","","        case "+op.SILENT_FAILS_OFF+":","          peg$silentFails--;","          ip++;","          break;","","        default:",'          throw new Error("Invalid opcode: " + bc[ip] + ".");',"      }","    }","","    if (ends.length > 0) {","      end = ends.pop();","      ip = ips.pop();","    } else {","      break;","    }","  }"].join("\n"));parts.push(indent2(generateRuleFooter("peg$ruleNames[index]","stack[0]")));parts.push("}");return parts.join("\n")}function generateRuleFunction(rule){var parts=[],code;function c(i){return"peg$c"+i}function s(i){return"s"+i}var stack={sp:-1,maxSp:-1,push:function(exprCode){var code=s(++this.sp)+" = "+exprCode+";";this.sp>this.maxSp&&(this.maxSp=this.sp);return code},pop:function(){var n,values;if(0===arguments.length)return s(this.sp--);n=arguments[0];values=arrays.map(arrays.range(this.sp-n+1,this.sp+1),s);this.sp-=n;return values},top:function(){return s(this.sp)},index:function(i){return s(this.sp-i)}};function compile(bc){var ip=0,end=bc.length,parts=[],value;function compileCondition(cond,argCount){var thenCode,elseCode,thenSp,elseSp,baseLength=argCount+3,thenLength=bc[ip+baseLength-2],elseLength=bc[ip+baseLength-1],baseSp=stack.sp;ip+=baseLength;thenCode=compile(bc.slice(ip,ip+thenLength));thenSp=stack.sp;ip+=thenLength;if(elseLength>0){stack.sp=baseSp;elseCode=compile(bc.slice(ip,ip+elseLength));elseSp=stack.sp;ip+=elseLength;if(thenSp!==elseSp)throw new Error("Branches of a condition must move the stack pointer in the same way.")}parts.push("if ("+cond+") {");parts.push(indent2(thenCode));if(elseLength>0){parts.push("} else {");parts.push(indent2(elseCode))}parts.push("}")}function compileLoop(cond){var bodyCode,bodySp,baseLength=2,bodyLength=bc[ip+baseLength-1],baseSp=stack.sp;ip+=baseLength;bodyCode=compile(bc.slice(ip,ip+bodyLength));bodySp=stack.sp;ip+=bodyLength;if(bodySp!==baseSp)throw new Error("Body of a loop can't move the stack pointer.");parts.push("while ("+cond+") {");parts.push(indent2(bodyCode));parts.push("}")}function compileCall(){var baseLength=4,paramsLength=bc[ip+baseLength-1];var value=c(bc[ip+1])+"("+arrays.map(bc.slice(ip+baseLength,ip+baseLength+paramsLength),function(p){return stack.index(p)}).join(", ")+")";stack.pop(bc[ip+2]);parts.push(stack.push(value));ip+=baseLength+paramsLength}while(ip<end)switch(bc[ip]){case op.PUSH:parts.push(stack.push(c(bc[ip+1])));ip+=2;break;case op.PUSH_CURR_POS:parts.push(stack.push("peg$currPos"));ip++;break;case op.PUSH_UNDEFINED:parts.push(stack.push("void 0"));ip++;break;case op.PUSH_NULL:parts.push(stack.push("null"));ip++;break;case op.PUSH_FAILED:parts.push(stack.push("peg$FAILED"));ip++;break;case op.PUSH_EMPTY_ARRAY:parts.push(stack.push("[]"));ip++;break;case op.POP:stack.pop();ip++;break;case op.POP_CURR_POS:parts.push("peg$currPos = "+stack.pop()+";");ip++;break;case op.POP_N:stack.pop(bc[ip+1]);ip+=2;break;case op.NIP:value=stack.pop();stack.pop();parts.push(stack.push(value));ip++;break;case op.APPEND:value=stack.pop();parts.push(stack.top()+".push("+value+");");ip++;break;case op.WRAP:parts.push(stack.push("["+stack.pop(bc[ip+1]).join(", ")+"]"));ip+=2;break;case op.TEXT:parts.push(stack.push("input.substring("+stack.pop()+", peg$currPos)"));ip++;break;case op.IF:compileCondition(stack.top(),0);break;case op.IF_ERROR:compileCondition(stack.top()+" === peg$FAILED",0);break;case op.IF_NOT_ERROR:compileCondition(stack.top()+" !== peg$FAILED",0);break;case op.WHILE_NOT_ERROR:compileLoop(stack.top()+" !== peg$FAILED",0);break;case op.MATCH_ANY:compileCondition("input.length > peg$currPos",0);break;case op.MATCH_STRING:compileCondition(eval(ast.consts[bc[ip+1]]).length>1?"input.substr(peg$currPos, "+eval(ast.consts[bc[ip+1]]).length+") === "+c(bc[ip+1]):"input.charCodeAt(peg$currPos) === "+eval(ast.consts[bc[ip+1]]).charCodeAt(0),1);break;case op.MATCH_STRING_IC:compileCondition("input.substr(peg$currPos, "+eval(ast.consts[bc[ip+1]]).length+").toLowerCase() === "+c(bc[ip+1]),1);break;case op.MATCH_REGEXP:compileCondition(c(bc[ip+1])+".test(input.charAt(peg$currPos))",1);break;case op.ACCEPT_N:parts.push(stack.push(bc[ip+1]>1?"input.substr(peg$currPos, "+bc[ip+1]+")":"input.charAt(peg$currPos)"));parts.push(bc[ip+1]>1?"peg$currPos += "+bc[ip+1]+";":"peg$currPos++;");ip+=2;break;case op.ACCEPT_STRING:parts.push(stack.push(c(bc[ip+1])));parts.push(eval(ast.consts[bc[ip+1]]).length>1?"peg$currPos += "+eval(ast.consts[bc[ip+1]]).length+";":"peg$currPos++;");ip+=2;break;case op.FAIL:parts.push(stack.push("peg$FAILED"));parts.push("if (peg$silentFails === 0) { peg$fail("+c(bc[ip+1])+"); }");ip+=2;break;case op.LOAD_SAVED_POS:parts.push("peg$savedPos = "+stack.index(bc[ip+1])+";");ip+=2;break;case op.UPDATE_SAVED_POS:parts.push("peg$savedPos = peg$currPos;");ip++;break;case op.CALL:compileCall();break;case op.RULE:parts.push(stack.push("peg$parse"+ast.rules[bc[ip+1]].name+"()"));ip+=2;break;case op.SILENT_FAILS_ON:parts.push("peg$silentFails++;");ip++;break;case op.SILENT_FAILS_OFF:parts.push("peg$silentFails--;");ip++;break;default:throw new Error("Invalid opcode: "+bc[ip]+".")}return parts.join("\n")}code=compile(rule.bytecode);parts.push("function peg$parse"+rule.name+"() {");options.trace?parts.push(["  var "+arrays.map(arrays.range(0,stack.maxSp+1),s).join(", ")+",","      startPos = peg$currPos;"].join("\n")):parts.push("  var "+arrays.map(arrays.range(0,stack.maxSp+1),s).join(", ")+";");parts.push(indent2(generateRuleHeader('"'+js.stringEscape(rule.name)+'"',asts.indexOfRule(ast,rule.name))));parts.push(indent2(code));parts.push(indent2(generateRuleFooter('"'+js.stringEscape(rule.name)+'"',s(0))));parts.push("}");return parts.join("\n")}var parts=[],startRuleIndices,startRuleIndex,startRuleFunctions,startRuleFunction,ruleNames;parts.push(["(function() {",'  "use strict";',"","  /*","   * Generated by PEG.js 0.9.0.","   *","   * http://pegjs.org/","   */","","  function peg$subclass(child, parent) {","    function ctor() { this.constructor = child; }","    ctor.prototype = parent.prototype;","    child.prototype = new ctor();","  }","","  function peg$SyntaxError(message, expected, found, location) {","    this.message  = message;","    this.expected = expected;","    this.found    = found;","    this.location = location;",'    this.name     = "SyntaxError";',"",'    if (typeof Error.captureStackTrace === "function") {',"      Error.captureStackTrace(this, peg$SyntaxError);","    }","  }","","  peg$subclass(peg$SyntaxError, Error);",""].join("\n"));options.trace&&parts.push(["  function peg$DefaultTracer() {","    this.indentLevel = 0;","  }","","  peg$DefaultTracer.prototype.trace = function(event) {","    var that = this;","","    function log(event) {","      function repeat(string, n) {",'         var result = "", i;',"","         for (i = 0; i < n; i++) {","           result += string;","         }","","         return result;","      }","","      function pad(string, length) {",'        return string + repeat(" ", length - string.length);',"      }","",'      if (typeof console === "object") {',"        console.log(",'          event.location.start.line + ":" + event.location.start.column + "-"','            + event.location.end.line + ":" + event.location.end.column + " "','            + pad(event.type, 10) + " "','            + repeat("  ", that.indentLevel) + event.rule',"        );","      }","    }","","    switch (event.type) {",'      case "rule.enter":',"        log(event);","        this.indentLevel++;","        break;","",'      case "rule.match":',"        this.indentLevel--;","        log(event);","        break;","",'      case "rule.fail":',"        this.indentLevel--;","        log(event);","        break;","","      default:",'        throw new Error("Invalid event type: " + event.type + ".");',"    }","  };",""].join("\n"));parts.push(["  function peg$parse(input) {","    var options = arguments.length > 1 ? arguments[1] : {},","        parser  = this,","","        peg$FAILED = {},",""].join("\n"));if("size"===options.optimize){startRuleIndices="{ "+arrays.map(options.allowedStartRules,function(r){return r+": "+asts.indexOfRule(ast,r)}).join(", ")+" }";startRuleIndex=asts.indexOfRule(ast,options.allowedStartRules[0]);parts.push(["        peg$startRuleIndices = "+startRuleIndices+",","        peg$startRuleIndex   = "+startRuleIndex+","].join("\n"))}else{startRuleFunctions="{ "+arrays.map(options.allowedStartRules,function(r){return r+": peg$parse"+r}).join(", ")+" }";startRuleFunction="peg$parse"+options.allowedStartRules[0];parts.push(["        peg$startRuleFunctions = "+startRuleFunctions+",","        peg$startRuleFunction  = "+startRuleFunction+","].join("\n"))}parts.push("");parts.push(indent8(generateTables()));parts.push(["","        peg$currPos          = 0,","        peg$savedPos         = 0,","        peg$posDetailsCache  = [{ line: 1, column: 1, seenCR: false }],","        peg$maxFailPos       = 0,","        peg$maxFailExpected  = [],","        peg$silentFails      = 0,",""].join("\n"));options.cache&&parts.push(["        peg$resultsCache = {},",""].join("\n"));if(options.trace){if("size"===options.optimize){ruleNames="["+arrays.map(ast.rules,function(r){return'"'+js.stringEscape(r.name)+'"'}).join(", ")+"]";parts.push(["        peg$ruleNames = "+ruleNames+",",""].join("\n"))}parts.push(['        peg$tracer = "tracer" in options ? options.tracer : new peg$DefaultTracer(),',""].join("\n"))}parts.push(["        peg$result;",""].join("\n"));"size"===options.optimize?parts.push(['    if ("startRule" in options) {',"      if (!(options.startRule in peg$startRuleIndices)) {",'        throw new Error("Can\'t start parsing from rule \\"" + options.startRule + "\\".");',"      }","","      peg$startRuleIndex = peg$startRuleIndices[options.startRule];","    }"].join("\n")):parts.push(['    if ("startRule" in options) {',"      if (!(options.startRule in peg$startRuleFunctions)) {",'        throw new Error("Can\'t start parsing from rule \\"" + options.startRule + "\\".");',"      }","","      peg$startRuleFunction = peg$startRuleFunctions[options.startRule];","    }"].join("\n"));parts.push(["","    function text() {","      return input.substring(peg$savedPos, peg$currPos);","    }","","    function location() {","      return peg$computeLocation(peg$savedPos, peg$currPos);","    }","","    function expected(description) {","      throw peg$buildException(","        null,",'        [{ type: "other", description: description }],',"        input.substring(peg$savedPos, peg$currPos),","        peg$computeLocation(peg$savedPos, peg$currPos)","      );","    }","","    function error(message) {","      throw peg$buildException(","        message,","        null,","        input.substring(peg$savedPos, peg$currPos),","        peg$computeLocation(peg$savedPos, peg$currPos)","      );","    }","","    function peg$computePosDetails(pos) {","      var details = peg$posDetailsCache[pos],","          p, ch;","","      if (details) {","        return details;","      } else {","        p = pos - 1;","        while (!peg$posDetailsCache[p]) {","          p--;","        }","","        details = peg$posDetailsCache[p];","        details = {","          line:   details.line,","          column: details.column,","          seenCR: details.seenCR","        };","","        while (p < pos) {","          ch = input.charAt(p);",'          if (ch === "\\n") {',"            if (!details.seenCR) { details.line++; }","            details.column = 1;","            details.seenCR = false;",'          } else if (ch === "\\r" || ch === "\\u2028" || ch === "\\u2029") {',"            details.line++;","            details.column = 1;","            details.seenCR = true;","          } else {","            details.column++;","            details.seenCR = false;","          }","","          p++;","        }","","        peg$posDetailsCache[pos] = details;","        return details;","      }","    }","","    function peg$computeLocation(startPos, endPos) {","      var startPosDetails = peg$computePosDetails(startPos),","          endPosDetails   = peg$computePosDetails(endPos);","","      return {","        start: {","          offset: startPos,","          line:   startPosDetails.line,","          column: startPosDetails.column","        },","        end: {","          offset: endPos,","          line:   endPosDetails.line,","          column: endPosDetails.column","        }","      };","    }","","    function peg$fail(expected) {","      if (peg$currPos < peg$maxFailPos) { return; }","","      if (peg$currPos > peg$maxFailPos) {","        peg$maxFailPos = peg$currPos;","        peg$maxFailExpected = [];","      }","","      peg$maxFailExpected.push(expected);","    }","","    function peg$buildException(message, expected, found, location) {","      function cleanupExpected(expected) {","        var i = 1;","","        expected.sort(function(a, b) {","          if (a.description < b.description) {","            return -1;","          } else if (a.description > b.description) {","            return 1;","          } else {","            return 0;","          }","        });","","        while (i < expected.length) {","          if (expected[i - 1] === expected[i]) {","            expected.splice(i, 1);","          } else {","            i++;","          }","        }","      }","","      function buildMessage(expected, found) {","        function stringEscape(s) {","          function hex(ch) { return ch.charCodeAt(0).toString(16).toUpperCase(); }","","          return s","            .replace(/\\\\/g,   '\\\\\\\\')","            .replace(/\"/g,    '\\\\\"')","            .replace(/\\x08/g, '\\\\b')","            .replace(/\\t/g,   '\\\\t')","            .replace(/\\n/g,   '\\\\n')","            .replace(/\\f/g,   '\\\\f')","            .replace(/\\r/g,   '\\\\r')","            .replace(/[\\x00-\\x07\\x0B\\x0E\\x0F]/g, function(ch) { return '\\\\x0' + hex(ch); })","            .replace(/[\\x10-\\x1F\\x80-\\xFF]/g,    function(ch) { return '\\\\x'  + hex(ch); })","            .replace(/[\\u0100-\\u0FFF]/g,         function(ch) { return '\\\\u0' + hex(ch); })","            .replace(/[\\u1000-\\uFFFF]/g,         function(ch) { return '\\\\u'  + hex(ch); });","        }","","        var expectedDescs = new Array(expected.length),","            expectedDesc, foundDesc, i;","","        for (i = 0; i < expected.length; i++) {","          expectedDescs[i] = expected[i].description;","        }","","        expectedDesc = expected.length > 1",'          ? expectedDescs.slice(0, -1).join(", ")','              + " or "',"              + expectedDescs[expected.length - 1]","          : expectedDescs[0];","",'        foundDesc = found ? "\\"" + stringEscape(found) + "\\"" : "end of input";',"",'        return "Expected " + expectedDesc + " but " + foundDesc + " found.";',"      }","","      if (expected !== null) {","        cleanupExpected(expected);","      }","","      return new peg$SyntaxError(","        message !== null ? message : buildMessage(expected, found),","        expected,","        found,","        location","      );","    }",""].join("\n"));if("size"===options.optimize){parts.push(indent4(generateInterpreter()));parts.push("")}else arrays.each(ast.rules,function(rule){parts.push(indent4(generateRuleFunction(rule)));parts.push("")});if(ast.initializer){parts.push(indent4(ast.initializer.code));parts.push("")}"size"===options.optimize?parts.push("    peg$result = peg$parseRule(peg$startRuleIndex);"):parts.push("    peg$result = peg$startRuleFunction();");parts.push(["","    if (peg$result !== peg$FAILED && peg$currPos === input.length) {","      return peg$result;","    } else {","      if (peg$result !== peg$FAILED && peg$currPos < input.length) {",'        peg$fail({ type: "end", description: "end of input" });',"      }","","      throw peg$buildException(","        null,","        peg$maxFailExpected,","        peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null,","        peg$maxFailPos < input.length","          ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1)","          : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)","      );","    }","  }","","  return {"].join("\n"));options.trace?parts.push(["    SyntaxError:   peg$SyntaxError,","    DefaultTracer: peg$DefaultTracer,","    parse:         peg$parse"].join("\n")):parts.push(["    SyntaxError: peg$SyntaxError,","    parse:       peg$parse"].join("\n"));parts.push(["  };","})()"].join("\n"));ast.code=parts.join("\n")}module.exports=generateJavascript},function(module,exports,__webpack_require__){"use strict";var shallowEqual=__webpack_require__(2429);function shallowCompare(instance,nextProps,nextState){return!shallowEqual(instance.props,nextProps)||!shallowEqual(instance.state,nextState)}module.exports=shallowCompare},function(module,exports,__webpack_require__){"use strict";var hasOwnProperty=Object.prototype.hasOwnProperty;function is(x,y){return x===y?0!==x||0!==y||1/x===1/y:x!==x&&y!==y}function shallowEqual(objA,objB){if(is(objA,objB))return true;if("object"!==typeof objA||null===objA||"object"!==typeof objB||null===objB)return false;var keysA=Object.keys(objA);var keysB=Object.keys(objB);if(keysA.length!==keysB.length)return false;for(var i=0;i<keysA.length;i++)if(!hasOwnProperty.call(objB,keysA[i])||!is(objA[keysA[i]],objB[keysA[i]]))return false;return true}module.exports=shallowEqual},function(module,exports,__webpack_require__){(function webpackUniversalModuleDefinition(root,factory){true;module.exports=factory(__webpack_require__(0),__webpack_require__(72))})(0,function(__WEBPACK_EXTERNAL_MODULE_1__,__WEBPACK_EXTERNAL_MODULE_15__){return function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={exports:{},id:moduleId,loaded:false};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.loaded=true;return module.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.p="";return __webpack_require__(0)}([function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _react=__webpack_require__(1);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(2);var _propTypes2=_interopRequireDefault(_propTypes);var _createReactClass=__webpack_require__(11);var _createReactClass2=_interopRequireDefault(_createReactClass);var _reactDom=__webpack_require__(15);var _reactDom2=_interopRequireDefault(_reactDom);var _utils=__webpack_require__(16);var _SortableItemMixin=__webpack_require__(17);var _SortableItemMixin2=_interopRequireDefault(_SortableItemMixin);var doc="object"===typeof window?window.document:{};var STACK_SIZE=6;var getSortTarget=function getSortTarget(child){return child&&child.props&&_utils.isFunction(child.props.onSortableItemReadyToMove)};var Sortable=_createReactClass2["default"]({propTypes:{onSort:_propTypes2["default"].func,className:_propTypes2["default"].string,sortHandle:_propTypes2["default"].string,containment:_propTypes2["default"].bool,dynamic:_propTypes2["default"].bool,direction:_propTypes2["default"].string,children:_propTypes2["default"].arrayOf(_propTypes2["default"].node)},setArrays:function setArrays(currentChildren){var children=Array.isArray(currentChildren)?currentChildren:[currentChildren];var sortChildren=children.filter(getSortTarget);this.sortChildren=sortChildren;this._dimensionArr=sortChildren.map(function(){return{}});this._orderArr=[];var i=0;while(i<this._dimensionArr.length)this._orderArr.push(i++)},getInitialState:function getInitialState(){this.setArrays(this.props.children);return{isDragging:false,placeHolderIndex:null,left:null,top:null}},componentDidUpdate:function componentDidUpdate(){var container=_reactDom2["default"].findDOMNode(this);var rect=container.getBoundingClientRect();var scrollTop=doc.documentElement&&doc.documentElement.scrollTop||doc.body.scrollTop;var scrollLeft=doc.documentElement&&doc.documentElement.scrollLeft||doc.body.scrollLeft;this._top=rect.top+scrollTop;this._left=rect.left+scrollLeft;this._bottom=this._top+rect.height;this._right=this._left+rect.width},componentWillReceiveProps:function componentWillReceiveProps(nextProps){var _props=this.props;var children=_props.children;var dynamic=_props.dynamic;dynamic&&nextProps.children!==children&&this.setArrays(nextProps.children)},componentWillUnmount:function componentWillUnmount(){this.unbindEvent()},bindEvent:function bindEvent(){var _this=this;this.__mouseMoveHandler=function(e){if((e.pageX||e.clientX)===_this._prevX&&(e.pageY||e.clientY)===_this._prevY||null===_this._prevX&&null===_this._prevY)return false;_this.handleMouseMove.call(_this,e)};this.__mouseUpHandler=function(e){_this.handleMouseUp.call(_this,e)};this.__touchMoveHandler=function(e){e.preventDefault();_this.handleMouseMove.call(_this,{target:e.target,clientX:e.touches[0].clientX,clientY:e.touches[0].clientY,pageX:e.touches[0].pageX,pageY:e.touches[0].pageY})};this.__touchEndOrCancelHandler=function(e){_this.handleMouseUp.call(_this,e)};_utils.on(doc,"touchmove",this.__touchMoveHandler);_utils.on(doc,"touchend",this.__touchEndOrCancelHandler);_utils.on(doc,"touchcancel",this.__touchEndOrCancelHandler);_utils.on(doc,"mousemove",this.__mouseMoveHandler);_utils.on(doc,"mouseup",this.__mouseUpHandler)},unbindEvent:function unbindEvent(){_utils.off(doc,"touchmove",this.__touchMoveHandler);_utils.off(doc,"touchend",this.__touchEndOrCancelHandler);_utils.off(doc,"touchcancel",this.__touchEndOrCancelHandler);_utils.off(doc,"mousemove",this.__mouseMoveHandler);_utils.off(doc,"mouseup",this.__mouseUpHandler);this.__mouseMoveHandler=null;this.__mouseUpHandler=null;this.__touchMoveHandler=null;this.__touchEndOrCancelHandler=null},handleMouseDown:function handleMouseDown(e,index){this._draggingIndex=index;this._prevX=e.pageX||e.clientX;this._prevY=e.pageY||e.clientY;this._initOffset=e.offset;this._isReadyForDragging=true;this._hasInitDragging=false;this.bindEvent()},handleMouseMove:function handleMouseMove(e){this._isMouseMoving=true;if(!this._isReadyForDragging)return false;if(!this._hasInitDragging){this._dimensionArr[this._draggingIndex].isPlaceHolder=true;this._hasInitDragging=true}if(this.props.containment){var x=e.pageX||e.clientX;var y=e.pageY||e.clientY;if(x<this._left||x>this._right||y<this._top||y>this._bottom)return false}var newOffset=this.calculateNewOffset(e);var newIndex=this.calculateNewIndex(e);this._draggingIndex=newIndex;this.setState({isDragging:true,top:"horizontal"===this.props.direction?this._initOffset.top:newOffset.top,left:"vertical"===this.props.direction?this._initOffset.left:newOffset.left,placeHolderIndex:newIndex});this._prevX=e.pageX||e.clientX;this._prevY=e.pageY||e.clientY},handleMouseUp:function handleMouseUp(){var _hasMouseMoved=this._isMouseMoving;this.unbindEvent();var draggingIndex=this._draggingIndex;this._draggingIndex=null;this._isReadyForDragging=false;this._isMouseMoving=false;this._initOffset=null;this._prevX=null;this._prevY=null;if(this.state.isDragging){this._dimensionArr[this.state.placeHolderIndex].isPlaceHolder=false;_hasMouseMoved&&this.setState({isDragging:false,placeHolderIndex:null,left:null,top:null});if(_utils.isFunction(this.props.onSort)){var sortData=this.getSortData();this.props.onSort(sortData,sortData[draggingIndex],draggingIndex)}}},handleChildUpdate:function handleChildUpdate(offset,width,height,fullWidth,fullHeight,index){_utils.assign(this._dimensionArr[index],{top:offset.top,left:offset.left,width:width,height:height,fullWidth:fullWidth,fullHeight:fullHeight})},getIndexByOffset:function getIndexByOffset(offset,direction){if(!offset||!_utils.isNumeric(offset.top)||!_utils.isNumeric(offset.left))return 0;var _dimensionArr=this._dimensionArr;var offsetX=offset.left;var offsetY=offset.top;var prevIndex=null!==this.state.placeHolderIndex?this.state.placeHolderIndex:this._draggingIndex;var newIndex=void 0;_dimensionArr.every(function(item,index){var relativeLeft=offsetX-item.left;var relativeTop=offsetY-item.top;if(relativeLeft<item.fullWidth&&relativeTop<item.fullHeight){if(relativeLeft<item.fullWidth/2&&"left"===direction)newIndex=index;else if(relativeLeft>item.fullWidth/2&&"right"===direction)newIndex=Math.min(index+1,_dimensionArr.length-1);else if(relativeTop<item.fullHeight/2&&"up"===direction)newIndex=index;else{if(!(relativeTop>item.fullHeight/2&&"down"===direction))return true;newIndex=Math.min(index+1,_dimensionArr.length-1)}return false}return true});return void 0!==newIndex?newIndex:prevIndex},swapArrayItemPosition:function swapArrayItemPosition(arr,src,to){if(!arr||!_utils.isNumeric(src)||!_utils.isNumeric(to))return arr;var srcEl=arr.splice(src,1)[0];arr.splice(to,0,srcEl);return arr},calculateNewOffset:function calculateNewOffset(e){var deltaX=this._prevX-(e.pageX||e.clientX);var deltaY=this._prevY-(e.pageY||e.clientY);var prevLeft=null!==this.state.left?this.state.left:this._initOffset.left;var prevTop=null!==this.state.top?this.state.top:this._initOffset.top;var newLeft=prevLeft-deltaX;var newTop=prevTop-deltaY;return{left:newLeft,top:newTop}},calculateNewIndex:function calculateNewIndex(e){var placeHolderIndex=null!==this.state.placeHolderIndex?this.state.placeHolderIndex:this._draggingIndex;var target=_utils.get(".ui-sortable-dragging")||_utils.closest(e.target||e.srcElement,".ui-sortable-item");var offset=_utils.position(target);var currentX=e.pageX||e.clientX;var currentY=e.pageY||e.clientY;var deltaX=Math.abs(this._prevX-currentX);var deltaY=Math.abs(this._prevY-currentY);var direction=void 0;direction=deltaX>deltaY?this._prevX>currentX?"left":"right":this._prevY>currentY?"up":"down";var newIndex=this.getIndexByOffset(offset,this.getPossibleDirection(direction));if(newIndex!==placeHolderIndex){this._dimensionArr=this.swapArrayItemPosition(this._dimensionArr,placeHolderIndex,newIndex);this._orderArr=this.swapArrayItemPosition(this._orderArr,placeHolderIndex,newIndex)}return newIndex},getSortData:function getSortData(){var _this2=this;return this._orderArr.map(function(itemIndex){var item=_this2.sortChildren[itemIndex];if(!item)return;return item.props.sortData})},getPossibleDirection:function getPossibleDirection(direction){this._stack=this._stack||[];this._stack.push(direction);this._stack.length>STACK_SIZE&&this._stack.shift();if(this._stack.length<STACK_SIZE)return direction;return _utils.findMostOften(this._stack)},renderItems:function renderItems(){var _this3=this;var _dimensionArr=this._dimensionArr;var _orderArr=this._orderArr;var draggingItem=void 0;var items=_orderArr.map(function(itemIndex,index){var item=_this3.sortChildren[itemIndex];if(!item)return;index===_this3._draggingIndex&&_this3.state.isDragging&&(draggingItem=_this3.renderDraggingItem(item));var isPlaceHolder=_dimensionArr[index].isPlaceHolder;var itemClassName="ui-sortable-item\n                             "+(isPlaceHolder&&"ui-sortable-placeholder")+"\n                             "+(_this3.state.isDragging&&isPlaceHolder&&"visible");var sortableProps={sortableClassName:item.props.className+" "+itemClassName,sortableIndex:index,onSortableItemReadyToMove:isPlaceHolder?void 0:function(e){_this3.handleMouseDown.call(_this3,e,index)},onSortableItemMount:_this3.handleChildUpdate,sortHandle:_this3.props.sortHandle};void 0===item.key&&(sortableProps.key=index);return _react2["default"].cloneElement(item,sortableProps)});var children=Array.isArray(this.props.children)?this.props.children:[this.props.children];var result=children.map(function(child){if(getSortTarget(child))return items.shift();return child}).concat([draggingItem]);return result},renderDraggingItem:function renderDraggingItem(item){if(!item)return;var style={top:this.state.top,left:this.state.left,width:this._dimensionArr[this._draggingIndex].width,height:this._dimensionArr[this._draggingIndex].height};return _react2["default"].cloneElement(item,{sortableClassName:item.props.className+" ui-sortable-item ui-sortable-dragging",key:"_dragging",sortableStyle:style,isDragging:true,sortHandle:this.props.sortHandle})},render:function render(){var className="ui-sortable "+(this.props.className||"");return _react2["default"].createElement("div",{className:className},this.renderItems())}});var SortableContainer=function SortableContainer(_ref){var className=_ref.className;var style=_ref.style;var onMouseDown=_ref.onMouseDown;var onTouchStart=_ref.onTouchStart;var children=_ref.children;return _react2["default"].isValidElement(children)?_react2["default"].cloneElement(children,{className:className,style:style,onMouseDown:onMouseDown,onTouchStart:onTouchStart}):_react2["default"].createElement("div",{className:className,style:style,onMouseDown:onMouseDown,onTouchStart:onTouchStart,children:children})};Sortable.SortableItemMixin=_SortableItemMixin2["default"]();Sortable.sortable=_SortableItemMixin2["default"];Sortable.SortableContainer=_SortableItemMixin2["default"](SortableContainer);exports["default"]=Sortable;module.exports=exports["default"]},function(module,exports){module.exports=__WEBPACK_EXTERNAL_MODULE_1__},function(module,exports,__webpack_require__){(function(process){if("production"!==process.env.NODE_ENV){var REACT_ELEMENT_TYPE="function"===typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;var isValidElement=function(object){return"object"===typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE};var throwOnDirectAccess=true;module.exports=__webpack_require__(4)(isValidElement,throwOnDirectAccess)}else module.exports=__webpack_require__(10)()}).call(exports,__webpack_require__(3))},function(module,exports){var process=module.exports={};var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{cachedSetTimeout="function"===typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"===typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0)}try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker)}try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue)return;draining=false;currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1;queue.length&&drainQueue()}function drainQueue(){if(draining)return;var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1;len=queue.length}currentQueue=null;draining=false;runClearTimeout(timeout)}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args));1!==queue.length||draining||runTimeout(drainQueue)};function Item(fun,array){this.fun=fun;this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process.title="browser";process.browser=true;process.env={};process.argv=[];process.version="";process.versions={};function noop(){}process.on=noop;process.addListener=noop;process.once=noop;process.off=noop;process.removeListener=noop;process.removeAllListeners=noop;process.emit=noop;process.binding=function(name){throw new Error("process.binding is not supported")};process.cwd=function(){return"/"};process.chdir=function(dir){throw new Error("process.chdir is not supported")};process.umask=function(){return 0}},function(module,exports,__webpack_require__){(function(process){"use strict";var emptyFunction=__webpack_require__(5);var invariant=__webpack_require__(6);var warning=__webpack_require__(7);var ReactPropTypesSecret=__webpack_require__(8);var checkPropTypes=__webpack_require__(9);module.exports=function(isValidElement,throwOnDirectAccess){var ITERATOR_SYMBOL="function"===typeof Symbol&&Symbol.iterator;var FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){var iteratorFn=maybeIterable&&(ITERATOR_SYMBOL&&maybeIterable[ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL]);if("function"===typeof iteratorFn)return iteratorFn}var ANONYMOUS="<<anonymous>>";var ReactPropTypes={array:createPrimitiveTypeChecker("array"),bool:createPrimitiveTypeChecker("boolean"),func:createPrimitiveTypeChecker("function"),number:createPrimitiveTypeChecker("number"),object:createPrimitiveTypeChecker("object"),string:createPrimitiveTypeChecker("string"),symbol:createPrimitiveTypeChecker("symbol"),any:createAnyTypeChecker(),arrayOf:createArrayOfTypeChecker,element:createElementTypeChecker(),instanceOf:createInstanceTypeChecker,node:createNodeChecker(),objectOf:createObjectOfTypeChecker,oneOf:createEnumTypeChecker,oneOfType:createUnionTypeChecker,shape:createShapeTypeChecker};function is(x,y){return x===y?0!==x||1/x===1/y:x!==x&&y!==y}function PropTypeError(message){this.message=message;this.stack=""}PropTypeError.prototype=Error.prototype;function createChainableTypeChecker(validate){if("production"!==process.env.NODE_ENV){var manualPropTypeCallCache={};var manualPropTypeWarningCount=0}function checkType(isRequired,props,propName,componentName,location,propFullName,secret){componentName=componentName||ANONYMOUS;propFullName=propFullName||propName;if(secret!==ReactPropTypesSecret)if(throwOnDirectAccess)invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==process.env.NODE_ENV&&"undefined"!==typeof console){var cacheKey=componentName+":"+propName;if(!manualPropTypeCallCache[cacheKey]&&manualPropTypeWarningCount<3){warning(false,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",propFullName,componentName);manualPropTypeCallCache[cacheKey]=true;manualPropTypeWarningCount++}}if(null==props[propName]){if(isRequired){if(null===props[propName])return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required in `"+componentName+"`, but its value is `null`.");return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required in `"+componentName+"`, but its value is `undefined`.")}return null}return validate(props,propName,componentName,location,propFullName)}var chainedCheckType=checkType.bind(null,false);chainedCheckType.isRequired=checkType.bind(null,true);return chainedCheckType}function createPrimitiveTypeChecker(expectedType){function validate(props,propName,componentName,location,propFullName,secret){var propValue=props[propName];var propType=getPropType(propValue);if(propType!==expectedType){var preciseType=getPreciseType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+preciseType+"` supplied to `"+componentName+"`, expected `"+expectedType+"`.")}return null}return createChainableTypeChecker(validate)}function createAnyTypeChecker(){return createChainableTypeChecker(emptyFunction.thatReturnsNull)}function createArrayOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if("function"!==typeof typeChecker)return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside arrayOf.");var propValue=props[propName];if(!Array.isArray(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` supplied to `"+componentName+"`, expected an array.")}for(var i=0;i<propValue.length;i++){var error=typeChecker(propValue,i,componentName,location,propFullName+"["+i+"]",ReactPropTypesSecret);if(error instanceof Error)return error}return null}return createChainableTypeChecker(validate)}function createElementTypeChecker(){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];if(!isValidElement(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` supplied to `"+componentName+"`, expected a single ReactElement.")}return null}return createChainableTypeChecker(validate)}function createInstanceTypeChecker(expectedClass){function validate(props,propName,componentName,location,propFullName){if(!(props[propName]instanceof expectedClass)){var expectedClassName=expectedClass.name||ANONYMOUS;var actualClassName=getClassName(props[propName]);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+actualClassName+"` supplied to `"+componentName+"`, expected instance of `"+expectedClassName+"`.")}return null}return createChainableTypeChecker(validate)}function createEnumTypeChecker(expectedValues){if(!Array.isArray(expectedValues)){"production"!==process.env.NODE_ENV?warning(false,"Invalid argument supplied to oneOf, expected an instance of array."):void 0;return emptyFunction.thatReturnsNull}function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];for(var i=0;i<expectedValues.length;i++)if(is(propValue,expectedValues[i]))return null;var valuesString=JSON.stringify(expectedValues);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of value `"+propValue+"` supplied to `"+componentName+"`, expected one of "+valuesString+".")}return createChainableTypeChecker(validate)}function createObjectOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if("function"!==typeof typeChecker)return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside objectOf.");var propValue=props[propName];var propType=getPropType(propValue);if("object"!==propType)return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` supplied to `"+componentName+"`, expected an object.");for(var key in propValue)if(propValue.hasOwnProperty(key)){var error=typeChecker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret);if(error instanceof Error)return error}return null}return createChainableTypeChecker(validate)}function createUnionTypeChecker(arrayOfTypeCheckers){if(!Array.isArray(arrayOfTypeCheckers)){"production"!==process.env.NODE_ENV?warning(false,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0;return emptyFunction.thatReturnsNull}function validate(props,propName,componentName,location,propFullName){for(var i=0;i<arrayOfTypeCheckers.length;i++){var checker=arrayOfTypeCheckers[i];if(null==checker(props,propName,componentName,location,propFullName,ReactPropTypesSecret))return null}return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to `"+componentName+"`.")}return createChainableTypeChecker(validate)}function createNodeChecker(){function validate(props,propName,componentName,location,propFullName){if(!isNode(props[propName]))return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to `"+componentName+"`, expected a ReactNode.");return null}return createChainableTypeChecker(validate)}function createShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if("object"!==propType)return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` supplied to `"+componentName+"`, expected `object`.");for(var key in shapeTypes){var checker=shapeTypes[key];if(!checker)continue;var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret);if(error)return error}return null}return createChainableTypeChecker(validate)}function isNode(propValue){switch(typeof propValue){case"number":case"string":case"undefined":return true;case"boolean":return!propValue;case"object":if(Array.isArray(propValue))return propValue.every(isNode);if(null===propValue||isValidElement(propValue))return true;var iteratorFn=getIteratorFn(propValue);if(!iteratorFn)return false;var iterator=iteratorFn.call(propValue);var step;if(iteratorFn!==propValue.entries){while(!(step=iterator.next()).done)if(!isNode(step.value))return false}else while(!(step=iterator.next()).done){var entry=step.value;if(entry&&!isNode(entry[1]))return false}return true;default:return false}}function isSymbol(propType,propValue){if("symbol"===propType)return true;if("Symbol"===propValue["@@toStringTag"])return true;if("function"===typeof Symbol&&propValue instanceof Symbol)return true;return false}function getPropType(propValue){var propType=typeof propValue;if(Array.isArray(propValue))return"array";if(propValue instanceof RegExp)return"object";if(isSymbol(propType,propValue))return"symbol";return propType}function getPreciseType(propValue){var propType=getPropType(propValue);if("object"===propType){if(propValue instanceof Date)return"date";if(propValue instanceof RegExp)return"regexp"}return propType}function getClassName(propValue){if(!propValue.constructor||!propValue.constructor.name)return ANONYMOUS;return propValue.constructor.name}ReactPropTypes.checkPropTypes=checkPropTypes;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}}).call(exports,__webpack_require__(3))},function(module,exports){"use strict";function makeEmptyFunction(arg){return function(){return arg}}var emptyFunction=function emptyFunction(){};emptyFunction.thatReturns=makeEmptyFunction;emptyFunction.thatReturnsFalse=makeEmptyFunction(false);emptyFunction.thatReturnsTrue=makeEmptyFunction(true);emptyFunction.thatReturnsNull=makeEmptyFunction(null);emptyFunction.thatReturnsThis=function(){return this};emptyFunction.thatReturnsArgument=function(arg){return arg};module.exports=emptyFunction},function(module,exports,__webpack_require__){(function(process){"use strict";var validateFormat=function validateFormat(format){};"production"!==process.env.NODE_ENV&&(validateFormat=function validateFormat(format){if(void 0===format)throw new Error("invariant requires an error message argument")});function invariant(condition,format,a,b,c,d,e,f){validateFormat(format);if(!condition){var error;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f];var argIndex=0;error=new Error(format.replace(/%s/g,function(){return args[argIndex++]}));error.name="Invariant Violation"}error.framesToPop=1;throw error}}module.exports=invariant}).call(exports,__webpack_require__(3))},function(module,exports,__webpack_require__){(function(process){"use strict";var emptyFunction=__webpack_require__(5);var warning=emptyFunction;"production"!==process.env.NODE_ENV&&(printWarning=function printWarning(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var argIndex=0;var message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});"undefined"!==typeof console&&console.error(message);try{throw new Error(message)}catch(x){}},void(warning=function warning(condition,format){if(void 0===format)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0===format.indexOf("Failed Composite propType: "))return;if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++)args[_key2-2]=arguments[_key2];printWarning.apply(void 0,[format].concat(args))}}));var printWarning;module.exports=warning}).call(exports,__webpack_require__(3))},function(module,exports){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){(function(process){"use strict";if("production"!==process.env.NODE_ENV){var invariant=__webpack_require__(6);var warning=__webpack_require__(7);var ReactPropTypesSecret=__webpack_require__(8);var loggedTypeFailures={}}function checkPropTypes(typeSpecs,values,location,componentName,getStack){if("production"!==process.env.NODE_ENV)for(var typeSpecName in typeSpecs)if(typeSpecs.hasOwnProperty(typeSpecName)){var error;try{invariant("function"===typeof typeSpecs[typeSpecName],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",componentName||"React class",location,typeSpecName);error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret)}catch(ex){error=ex}warning(!error||error instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",componentName||"React class",location,typeSpecName,typeof error);if(error instanceof Error&&!(error.message in loggedTypeFailures)){loggedTypeFailures[error.message]=true;var stack=getStack?getStack():"";warning(false,"Failed %s type: %s%s",location,error.message,null!=stack?stack:"")}}}module.exports=checkPropTypes}).call(exports,__webpack_require__(3))},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(5);var invariant=__webpack_require__(6);module.exports=function(){function shim(){invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var React=__webpack_require__(1);var factory=__webpack_require__(12);var ReactNoopUpdateQueue=(new React.Component).updater;module.exports=factory(React.Component,React.isValidElement,ReactNoopUpdateQueue)},function(module,exports,__webpack_require__){(function(process){"use strict";var _assign=__webpack_require__(13);var emptyObject=__webpack_require__(14);var _invariant=__webpack_require__(6);if("production"!==process.env.NODE_ENV)var warning=__webpack_require__(7);var MIXINS_KEY="mixins";function identity(fn){return fn}var ReactPropTypeLocationNames;ReactPropTypeLocationNames="production"!==process.env.NODE_ENV?{prop:"prop",context:"context",childContext:"child context"}:{};function factory(ReactComponent,isValidElement,ReactNoopUpdateQueue){var injectedMixins=[];var ReactClassInterface={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"};var RESERVED_SPEC_KEYS={displayName:function(Constructor,displayName){Constructor.displayName=displayName},mixins:function(Constructor,mixins){if(mixins)for(var i=0;i<mixins.length;i++)mixSpecIntoComponent(Constructor,mixins[i])},childContextTypes:function(Constructor,childContextTypes){"production"!==process.env.NODE_ENV&&validateTypeDef(Constructor,childContextTypes,"childContext");Constructor.childContextTypes=_assign({},Constructor.childContextTypes,childContextTypes)},contextTypes:function(Constructor,contextTypes){"production"!==process.env.NODE_ENV&&validateTypeDef(Constructor,contextTypes,"context");Constructor.contextTypes=_assign({},Constructor.contextTypes,contextTypes)},getDefaultProps:function(Constructor,getDefaultProps){Constructor.getDefaultProps?Constructor.getDefaultProps=createMergedResultFunction(Constructor.getDefaultProps,getDefaultProps):Constructor.getDefaultProps=getDefaultProps},propTypes:function(Constructor,propTypes){"production"!==process.env.NODE_ENV&&validateTypeDef(Constructor,propTypes,"prop");Constructor.propTypes=_assign({},Constructor.propTypes,propTypes)},statics:function(Constructor,statics){mixStaticSpecIntoComponent(Constructor,statics)},autobind:function(){}};function validateTypeDef(Constructor,typeDef,location){for(var propName in typeDef)typeDef.hasOwnProperty(propName)&&("production"!==process.env.NODE_ENV?warning("function"===typeof typeDef[propName],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",Constructor.displayName||"ReactClass",ReactPropTypeLocationNames[location],propName):void 0)}function validateMethodOverride(isAlreadyDefined,name){var specPolicy=ReactClassInterface.hasOwnProperty(name)?ReactClassInterface[name]:null;ReactClassMixin.hasOwnProperty(name)&&_invariant("OVERRIDE_BASE"===specPolicy,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",name);isAlreadyDefined&&_invariant("DEFINE_MANY"===specPolicy||"DEFINE_MANY_MERGED"===specPolicy,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",name)}function mixSpecIntoComponent(Constructor,spec){if(!spec){if("production"!==process.env.NODE_ENV){var typeofSpec=typeof spec;var isMixinValid="object"===typeofSpec&&null!==spec;"production"!==process.env.NODE_ENV?warning(isMixinValid,"%s: You're attempting to include a mixin that is either null or not an object. Check the mixins included by the component, as well as any mixins they include themselves. Expected object but got %s.",Constructor.displayName||"ReactClass",null===spec?null:typeofSpec):void 0}return}_invariant("function"!==typeof spec,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object.");_invariant(!isValidElement(spec),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var proto=Constructor.prototype;var autoBindPairs=proto.__reactAutoBindPairs;spec.hasOwnProperty(MIXINS_KEY)&&RESERVED_SPEC_KEYS.mixins(Constructor,spec.mixins);for(var name in spec){if(!spec.hasOwnProperty(name))continue;if(name===MIXINS_KEY)continue;var property=spec[name];var isAlreadyDefined=proto.hasOwnProperty(name);validateMethodOverride(isAlreadyDefined,name);if(RESERVED_SPEC_KEYS.hasOwnProperty(name))RESERVED_SPEC_KEYS[name](Constructor,property);else{var isReactClassMethod=ReactClassInterface.hasOwnProperty(name);var isFunction="function"===typeof property;var shouldAutoBind=isFunction&&!isReactClassMethod&&!isAlreadyDefined&&false!==spec.autobind;if(shouldAutoBind){autoBindPairs.push(name,property);proto[name]=property}else if(isAlreadyDefined){var specPolicy=ReactClassInterface[name];_invariant(isReactClassMethod&&("DEFINE_MANY_MERGED"===specPolicy||"DEFINE_MANY"===specPolicy),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",specPolicy,name);"DEFINE_MANY_MERGED"===specPolicy?proto[name]=createMergedResultFunction(proto[name],property):"DEFINE_MANY"===specPolicy&&(proto[name]=createChainedFunction(proto[name],property))}else{proto[name]=property;"production"!==process.env.NODE_ENV&&"function"===typeof property&&spec.displayName&&(proto[name].displayName=spec.displayName+"_"+name)}}}}function mixStaticSpecIntoComponent(Constructor,statics){if(!statics)return;for(var name in statics){var property=statics[name];if(!statics.hasOwnProperty(name))continue;var isReserved=name in RESERVED_SPEC_KEYS;_invariant(!isReserved,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',name);var isInherited=name in Constructor;_invariant(!isInherited,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",name);Constructor[name]=property}}function mergeIntoWithNoDuplicateKeys(one,two){_invariant(one&&two&&"object"===typeof one&&"object"===typeof two,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var key in two)if(two.hasOwnProperty(key)){_invariant(void 0===one[key],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",key);one[key]=two[key]}return one}function createMergedResultFunction(one,two){return function mergedResult(){var a=one.apply(this,arguments);var b=two.apply(this,arguments);if(null==a)return b;if(null==b)return a;var c={};mergeIntoWithNoDuplicateKeys(c,a);mergeIntoWithNoDuplicateKeys(c,b);return c}}function createChainedFunction(one,two){return function chainedFunction(){one.apply(this,arguments);two.apply(this,arguments)}}function bindAutoBindMethod(component,method){var boundMethod=method.bind(component);if("production"!==process.env.NODE_ENV){boundMethod.__reactBoundContext=component;boundMethod.__reactBoundMethod=method;boundMethod.__reactBoundArguments=null;var componentName=component.constructor.displayName;var _bind=boundMethod.bind;boundMethod.bind=function(newThis){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];if(newThis!==component&&null!==newThis)"production"!==process.env.NODE_ENV?warning(false,"bind(): React component methods may only be bound to the component instance. See %s",componentName):void 0;else if(!args.length){"production"!==process.env.NODE_ENV?warning(false,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",componentName):void 0;return boundMethod}var reboundMethod=_bind.apply(boundMethod,arguments);reboundMethod.__reactBoundContext=component;reboundMethod.__reactBoundMethod=method;reboundMethod.__reactBoundArguments=args;return reboundMethod}}return boundMethod}function bindAutoBindMethods(component){var pairs=component.__reactAutoBindPairs;for(var i=0;i<pairs.length;i+=2){var autoBindKey=pairs[i];var method=pairs[i+1];component[autoBindKey]=bindAutoBindMethod(component,method)}}var IsMountedMixin={componentDidMount:function(){this.__isMounted=true},componentWillUnmount:function(){this.__isMounted=false}};var ReactClassMixin={replaceState:function(newState,callback){this.updater.enqueueReplaceState(this,newState,callback)},isMounted:function(){if("production"!==process.env.NODE_ENV){"production"!==process.env.NODE_ENV?warning(this.__didWarnIsMounted,"%s: isMounted is deprecated. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.",this.constructor&&this.constructor.displayName||this.name||"Component"):void 0;this.__didWarnIsMounted=true}return!!this.__isMounted}};var ReactClassComponent=function(){};_assign(ReactClassComponent.prototype,ReactComponent.prototype,ReactClassMixin);function createClass(spec){var Constructor=identity(function(props,context,updater){"production"!==process.env.NODE_ENV&&("production"!==process.env.NODE_ENV?warning(this instanceof Constructor,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"):void 0);this.__reactAutoBindPairs.length&&bindAutoBindMethods(this);this.props=props;this.context=context;this.refs=emptyObject;this.updater=updater||ReactNoopUpdateQueue;this.state=null;var initialState=this.getInitialState?this.getInitialState():null;"production"!==process.env.NODE_ENV&&void 0===initialState&&this.getInitialState._isMockFunction&&(initialState=null);_invariant("object"===typeof initialState&&!Array.isArray(initialState),"%s.getInitialState(): must return an object or null",Constructor.displayName||"ReactCompositeComponent");this.state=initialState});Constructor.prototype=new ReactClassComponent;Constructor.prototype.constructor=Constructor;Constructor.prototype.__reactAutoBindPairs=[];injectedMixins.forEach(mixSpecIntoComponent.bind(null,Constructor));mixSpecIntoComponent(Constructor,IsMountedMixin);mixSpecIntoComponent(Constructor,spec);Constructor.getDefaultProps&&(Constructor.defaultProps=Constructor.getDefaultProps());if("production"!==process.env.NODE_ENV){Constructor.getDefaultProps&&(Constructor.getDefaultProps.isReactClassApproved={});Constructor.prototype.getInitialState&&(Constructor.prototype.getInitialState.isReactClassApproved={})}_invariant(Constructor.prototype.render,"createClass(...): Class specification must implement a `render` method.");if("production"!==process.env.NODE_ENV){"production"!==process.env.NODE_ENV?warning(!Constructor.prototype.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",spec.displayName||"A component"):void 0;"production"!==process.env.NODE_ENV?warning(!Constructor.prototype.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",spec.displayName||"A component"):void 0}for(var methodName in ReactClassInterface)Constructor.prototype[methodName]||(Constructor.prototype[methodName]=null);return Constructor}return createClass}module.exports=factory}).call(exports,__webpack_require__(3))},function(module,exports){
/*
	object-assign
	(c) Sindre Sorhus
	@license MIT
	*/
"use strict";var getOwnPropertySymbols=Object.getOwnPropertySymbols;var hasOwnProperty=Object.prototype.hasOwnProperty;var propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(null===val||void 0===val)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}function shouldUseNative(){try{if(!Object.assign)return false;var test1=new String("abc");test1[5]="de";if("5"===Object.getOwnPropertyNames(test1)[0])return false;var test2={};for(var i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;var order2=Object.getOwnPropertyNames(test2).map(function(n){return test2[n]});if("0123456789"!==order2.join(""))return false;var test3={};"abcdefghijklmnopqrst".split("").forEach(function(letter){test3[letter]=letter});if("abcdefghijklmnopqrst"!==Object.keys(Object.assign({},test3)).join(""))return false;return true}catch(err){return false}}module.exports=shouldUseNative()?Object.assign:function(target,source){var from;var to=toObject(target);var symbols;for(var s=1;s<arguments.length;s++){from=Object(arguments[s]);for(var key in from)hasOwnProperty.call(from,key)&&(to[key]=from[key]);if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from);for(var i=0;i<symbols.length;i++)propIsEnumerable.call(from,symbols[i])&&(to[symbols[i]]=from[symbols[i]])}}return to}},function(module,exports,__webpack_require__){(function(process){"use strict";var emptyObject={};"production"!==process.env.NODE_ENV&&Object.freeze(emptyObject);module.exports=emptyObject}).call(exports,__webpack_require__(3))},function(module,exports){module.exports=__WEBPACK_EXTERNAL_MODULE_15__},function(module,exports){"use strict";exports.__esModule=true;exports.on=on;exports.off=off;exports.isFunction=isFunction;exports.isNumeric=isNumeric;exports.position=position;exports.width=width;exports.height=height;exports.outerWidthWithMargin=outerWidthWithMargin;exports.outerHeightWithMargin=outerHeightWithMargin;exports.closest=closest;exports.assign=assign;exports.get=get;exports.findMostOften=findMostOften;function on(el,eventName,callback){el.addEventListener?el.addEventListener(eventName,callback,false):el.attachEvent&&el.attachEvent("on"+eventName,function(e){callback.call(el,e||window.event)})}function off(el,eventName,callback){el.removeEventListener?el.removeEventListener(eventName,callback):el.detachEvent&&el.detachEvent("on"+eventName,callback)}function isFunction(func){return"function"===typeof func}function isNumeric(num){return!isNaN(parseFloat(num))&&isFinite(num)}function position(el){if(!el)return{left:0,top:0};return{left:el.offsetLeft,top:el.offsetTop}}function width(el){return el.offsetWidth}function height(el){return el.offsetHeight}function outerWidthWithMargin(el){var _width=el.offsetWidth;var style=el.currentStyle||getComputedStyle(el);_width+=(parseInt(style.marginLeft,10)||0)+(parseInt(style.marginRight,10)||0);return _width}function outerHeightWithMargin(el){var _height=el.offsetHeight;var style=el.currentStyle||getComputedStyle(el);_height+=(parseInt(style.marginLeft,10)||0)+(parseInt(style.marginRight,10)||0);return _height}function hasClass(elClassName,className){return(" "+elClassName+" ").replace(/[\n\t]/g," ").indexOf(" "+className+" ")>-1}function closest(el,className){className=className.replace(/^[\b\.]/,"");var finder=function finder(_x,_x2){var _again=true;while(_again){var _el=_x,_className=_x2;_again=false;var _elClassName="object"===typeof _el.className?_el.className.baseVal:_el.className;if(_elClassName&&hasClass(_elClassName,_className))return _el;if(null===_el.parentNode)return null;_x=_el.parentNode;_x2=_className;_again=true;_elClassName=void 0}};return finder(el,className)}function assign(target){if(void 0===target||null===target)throw new TypeError("Cannot convert first argument to object");var to=Object(target);for(var i=1;i<arguments.length;i++){var nextSource=arguments[i];if(void 0===nextSource||null===nextSource)continue;var keysArray=Object.keys(Object(nextSource));for(var nextIndex=0,len=keysArray.length;nextIndex<len;nextIndex++){var nextKey=keysArray[nextIndex];var desc=Object.getOwnPropertyDescriptor(nextSource,nextKey);void 0!==desc&&desc.enumerable&&(to[nextKey]=nextSource[nextKey])}}return to}function get(selector){return document.querySelector(selector)}function findMostOften(arr){var obj={};arr.forEach(function(i){obj[i]=obj[i]?obj[i]+1:1});return Object.keys(obj).sort(function(a,b){return obj[b]-obj[a]})[0]}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var _react=__webpack_require__(1);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(2);var _propTypes2=_interopRequireDefault(_propTypes);var _reactDom=__webpack_require__(15);var _reactDom2=_interopRequireDefault(_reactDom);var _utils=__webpack_require__(16);function _handleSortableItemReadyToMove(e){if(this.props.sortHandle&&null===_utils.closest(e.target||e.srcElement,this.props.sortHandle))return;var target=_utils.closest(e.target||e.srcElement,".ui-sortable-item");var evt={pageX:e.pageX||e.clientX||e.touches[0].pageX,pageY:e.pageY||e.clientY||e.touches[0].pageY,offset:_utils.position(target)};this.props.onSortableItemReadyToMove&&this.props.onSortableItemReadyToMove(evt,this.props.sortableIndex)}function handleComponentDidMount(){var node=_reactDom2["default"].findDOMNode(this);window.attachEvent&&!document.body.style["-ms-user-select"]&&_utils.on(node,"selectstart",function(e){e.preventDefault?e.preventDefault():e.returnValue=false});_utils.isFunction(this.props.onSortableItemMount)&&this.props.onSortableItemMount(_utils.position(node),_utils.width(node),_utils.height(node),_utils.outerWidthWithMargin(node),_utils.outerHeightWithMargin(node),this.props.sortableIndex)}function handleComponentDidUpdate(){var node=_reactDom2["default"].findDOMNode(this);_utils.isFunction(this.props.onSortableItemMount)&&this.props.onSortableItemMount(_utils.position(node),_utils.width(node),_utils.height(node),_utils.outerWidthWithMargin(node),_utils.outerHeightWithMargin(node),this.props.sortableIndex)}var _defaultProps={sortableClassName:"",sortableStyle:{},onSortableItemMount:function onSortableItemMount(){},onSortableItemReadyToMove:function onSortableItemReadyToMove(){}};exports["default"]=function(Component){if(Component)return function(_React$Component){_inherits(SortableItem,_React$Component);function SortableItem(){_classCallCheck(this,SortableItem);_React$Component.apply(this,arguments)}SortableItem.prototype.handleSortableItemReadyToMove=function handleSortableItemReadyToMove(e){_handleSortableItemReadyToMove.call(this,e)};SortableItem.prototype.componentDidMount=function componentDidMount(){handleComponentDidMount.call(this)};SortableItem.prototype.componentDidUpdate=function componentDidUpdate(){handleComponentDidUpdate.call(this)};SortableItem.prototype.render=function render(){var _props=this.props;var sortableClassName=_props.sortableClassName;var sortableStyle=_props.sortableStyle;_props.sortableIndex;var sortHandle=_props.sortHandle;_props.className;var rest=_objectWithoutProperties(_props,["sortableClassName","sortableStyle","sortableIndex","sortHandle","className"]);return _react2["default"].createElement(Component,_extends({},rest,{sortable:true,className:sortableClassName,style:sortableStyle,sortHandle:sortHandle,onMouseDown:this.handleSortableItemReadyToMove.bind(this),onTouchStart:this.handleSortableItemReadyToMove.bind(this)}))};_createClass(SortableItem,null,[{key:"defaultProps",value:_defaultProps,enumerable:true},{key:"propTypes",value:{sortableClassName:_propTypes2["default"].string,sortableStyle:_propTypes2["default"].object,sortableIndex:_propTypes2["default"].number,sortHandle:_propTypes2["default"].string},enumerable:true}]);return SortableItem}(_react2["default"].Component);return{propTypes:{sortableClassName:_propTypes2["default"].string,sortableStyle:_propTypes2["default"].object,sortableIndex:_propTypes2["default"].number,sortHandle:_propTypes2["default"].string},getDefaultProps:function getDefaultProps(){return _defaultProps},handleSortableItemReadyToMove:_handleSortableItemReadyToMove,componentDidMount:handleComponentDidMount,componentDidUpdate:handleComponentDidUpdate,renderWithSortable:function renderWithSortable(item){return _react2["default"].cloneElement(item,{className:this.props.sortableClassName,style:this.props.sortableStyle,sortHandle:this.props.sortHandle,onMouseDown:this.handleSortableItemReadyToMove,onTouchStart:this.handleSortableItemReadyToMove})}}};module.exports=exports["default"]}])})},function(module,exports,__webpack_require__){module.exports=__webpack_require__(911).default;module.exports.utils=__webpack_require__(260);module.exports.Responsive=__webpack_require__(2440).default;module.exports.Responsive.utils=__webpack_require__(916);module.exports.WidthProvider=__webpack_require__(2441).default},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);var ReactPropTypesSecret=__webpack_require__(2433);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(342);var _propTypes2=_interopRequireDefault(_propTypes);var _reactDraggable=__webpack_require__(913);var _reactResizable=__webpack_require__(2435);var _utils=__webpack_require__(260);var _classnames=__webpack_require__(912);var _classnames2=_interopRequireDefault(_classnames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var GridItem=function(_React$Component){_inherits(GridItem,_React$Component);function GridItem(){var _temp,_this,_ret;_classCallCheck(this,GridItem);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.state={resizing:null,dragging:null,className:""},_temp),_possibleConstructorReturn(_this,_ret)}GridItem.prototype.calcColWidth=function calcColWidth(){var _props=this.props,margin=_props.margin,containerPadding=_props.containerPadding,containerWidth=_props.containerWidth,cols=_props.cols;return(containerWidth-margin[0]*(cols-1)-2*containerPadding[0])/cols};GridItem.prototype.calcPosition=function calcPosition(x,y,w,h,state){var _props2=this.props,margin=_props2.margin,containerPadding=_props2.containerPadding,rowHeight=_props2.rowHeight;var colWidth=this.calcColWidth();var out={left:Math.round((colWidth+margin[0])*x+containerPadding[0]),top:Math.round((rowHeight+margin[1])*y+containerPadding[1]),width:Infinity===w?w:Math.round(colWidth*w+Math.max(0,w-1)*margin[0]),height:Infinity===h?h:Math.round(rowHeight*h+Math.max(0,h-1)*margin[1])};if(state&&state.resizing){out.width=Math.round(state.resizing.width);out.height=Math.round(state.resizing.height)}if(state&&state.dragging){out.top=Math.round(state.dragging.top);out.left=Math.round(state.dragging.left)}return out};GridItem.prototype.calcXY=function calcXY(top,left){var _props3=this.props,margin=_props3.margin,cols=_props3.cols,rowHeight=_props3.rowHeight,w=_props3.w,h=_props3.h,maxRows=_props3.maxRows;var colWidth=this.calcColWidth();var x=Math.round((left-margin[0])/(colWidth+margin[0]));var y=Math.round((top-margin[1])/(rowHeight+margin[1]));x=Math.max(Math.min(x,cols-w),0);y=Math.max(Math.min(y,maxRows-h),0);return{x:x,y:y}};GridItem.prototype.calcWH=function calcWH(_ref){var height=_ref.height,width=_ref.width;var _props4=this.props,margin=_props4.margin,maxRows=_props4.maxRows,cols=_props4.cols,rowHeight=_props4.rowHeight,x=_props4.x,y=_props4.y;var colWidth=this.calcColWidth();var w=Math.round((width+margin[0])/(colWidth+margin[0]));var h=Math.round((height+margin[1])/(rowHeight+margin[1]));w=Math.max(Math.min(w,cols-x),0);h=Math.max(Math.min(h,maxRows-y),0);return{w:w,h:h}};GridItem.prototype.createStyle=function createStyle(pos){var _props5=this.props,usePercentages=_props5.usePercentages,containerWidth=_props5.containerWidth,useCSSTransforms=_props5.useCSSTransforms;var style=void 0;if(useCSSTransforms)style=(0,_utils.setTransform)(pos);else{style=(0,_utils.setTopLeft)(pos);if(usePercentages){style.left=(0,_utils.perc)(pos.left/containerWidth);style.width=(0,_utils.perc)(pos.width/containerWidth)}}return style};GridItem.prototype.mixinDraggable=function mixinDraggable(child){return _react2.default.createElement(_reactDraggable.DraggableCore,{onStart:this.onDragHandler("onDragStart"),onDrag:this.onDragHandler("onDrag"),onStop:this.onDragHandler("onDragStop"),handle:this.props.handle,cancel:".react-resizable-handle"+(this.props.cancel?","+this.props.cancel:"")},child)};GridItem.prototype.mixinResizable=function mixinResizable(child,position){var _props6=this.props,cols=_props6.cols,x=_props6.x,minW=_props6.minW,minH=_props6.minH,maxW=_props6.maxW,maxH=_props6.maxH;var maxWidth=this.calcPosition(0,0,cols-x,0).width;var mins=this.calcPosition(0,0,minW,minH);var maxes=this.calcPosition(0,0,maxW,maxH);var minConstraints=[mins.width,mins.height];var maxConstraints=[Math.min(maxes.width,maxWidth),Math.min(maxes.height,Infinity)];return _react2.default.createElement(_reactResizable.Resizable,{width:position.width,height:position.height,minConstraints:minConstraints,maxConstraints:maxConstraints,onResizeStop:this.onResizeHandler("onResizeStop"),onResizeStart:this.onResizeHandler("onResizeStart"),onResize:this.onResizeHandler("onResize")},child)};GridItem.prototype.onDragHandler=function onDragHandler(handlerName){var _this2=this;return function(e,_ref2){var node=_ref2.node,deltaX=_ref2.deltaX,deltaY=_ref2.deltaY;var handler=_this2.props[handlerName];if(!handler)return;var newPosition={top:0,left:0};switch(handlerName){case"onDragStart":var offsetParent=node.offsetParent;if(!offsetParent)return;var parentRect=offsetParent.getBoundingClientRect();var clientRect=node.getBoundingClientRect();newPosition.left=clientRect.left-parentRect.left+offsetParent.scrollLeft;newPosition.top=clientRect.top-parentRect.top+offsetParent.scrollTop;_this2.setState({dragging:newPosition});break;case"onDrag":if(!_this2.state.dragging)throw new Error("onDrag called before onDragStart.");newPosition.left=_this2.state.dragging.left+deltaX;newPosition.top=_this2.state.dragging.top+deltaY;_this2.setState({dragging:newPosition});break;case"onDragStop":if(!_this2.state.dragging)throw new Error("onDragEnd called before onDragStart.");newPosition.left=_this2.state.dragging.left;newPosition.top=_this2.state.dragging.top;_this2.setState({dragging:null});break;default:throw new Error("onDragHandler called with unrecognized handlerName: "+handlerName)}var _calcXY=_this2.calcXY(newPosition.top,newPosition.left),x=_calcXY.x,y=_calcXY.y;return handler.call(_this2,_this2.props.i,x,y,{e:e,node:node,newPosition:newPosition})}};GridItem.prototype.onResizeHandler=function onResizeHandler(handlerName){var _this3=this;return function(e,_ref3){var node=_ref3.node,size=_ref3.size;var handler=_this3.props[handlerName];if(!handler)return;var _props7=_this3.props,cols=_props7.cols,x=_props7.x,i=_props7.i,maxW=_props7.maxW,minW=_props7.minW,maxH=_props7.maxH,minH=_props7.minH;var _calcWH=_this3.calcWH(size),w=_calcWH.w,h=_calcWH.h;w=Math.min(w,cols-x);w=Math.max(w,1);w=Math.max(Math.min(w,maxW),minW);h=Math.max(Math.min(h,maxH),minH);_this3.setState({resizing:"onResizeStop"===handlerName?null:size});handler.call(_this3,i,w,h,{e:e,node:node,size:size})}};GridItem.prototype.render=function render(){var _props8=this.props,x=_props8.x,y=_props8.y,w=_props8.w,h=_props8.h,isDraggable=_props8.isDraggable,isResizable=_props8.isResizable,useCSSTransforms=_props8.useCSSTransforms;var pos=this.calcPosition(x,y,w,h,this.state);var child=_react2.default.Children.only(this.props.children);var newChild=_react2.default.cloneElement(child,{className:(0,_classnames2.default)("react-grid-item",child.props.className,this.props.className,{static:this.props.static,resizing:Boolean(this.state.resizing),"react-draggable":isDraggable,"react-draggable-dragging":Boolean(this.state.dragging),cssTransforms:useCSSTransforms}),style:_extends({},this.props.style,child.props.style,this.createStyle(pos))});isResizable&&(newChild=this.mixinResizable(newChild,pos));isDraggable&&(newChild=this.mixinDraggable(newChild));return newChild};return GridItem}(_react2.default.Component);GridItem.propTypes={children:_propTypes2.default.element,cols:_propTypes2.default.number.isRequired,containerWidth:_propTypes2.default.number.isRequired,rowHeight:_propTypes2.default.number.isRequired,margin:_propTypes2.default.array.isRequired,maxRows:_propTypes2.default.number.isRequired,containerPadding:_propTypes2.default.array.isRequired,x:_propTypes2.default.number.isRequired,y:_propTypes2.default.number.isRequired,w:_propTypes2.default.number.isRequired,h:_propTypes2.default.number.isRequired,minW:function minW(props,propName){var value=props[propName];if("number"!==typeof value)return new Error("minWidth not Number");if(value>props.w||value>props.maxW)return new Error("minWidth larger than item width/maxWidth")},maxW:function maxW(props,propName){var value=props[propName];if("number"!==typeof value)return new Error("maxWidth not Number");if(value<props.w||value<props.minW)return new Error("maxWidth smaller than item width/minWidth")},minH:function minH(props,propName){var value=props[propName];if("number"!==typeof value)return new Error("minHeight not Number");if(value>props.h||value>props.maxH)return new Error("minHeight larger than item height/maxHeight")},maxH:function maxH(props,propName){var value=props[propName];if("number"!==typeof value)return new Error("maxHeight not Number");if(value<props.h||value<props.minH)return new Error("maxHeight smaller than item height/minHeight")},i:_propTypes2.default.string.isRequired,onDragStop:_propTypes2.default.func,onDragStart:_propTypes2.default.func,onDrag:_propTypes2.default.func,onResizeStop:_propTypes2.default.func,onResizeStart:_propTypes2.default.func,onResize:_propTypes2.default.func,isDraggable:_propTypes2.default.bool.isRequired,isResizable:_propTypes2.default.bool.isRequired,static:_propTypes2.default.bool,useCSSTransforms:_propTypes2.default.bool.isRequired,className:_propTypes2.default.string,handle:_propTypes2.default.string,cancel:_propTypes2.default.string};GridItem.defaultProps={className:"",cancel:"",handle:"",minH:1,minW:1,maxH:Infinity,maxW:Infinity};exports.default=GridItem},function(module,exports,__webpack_require__){"use strict";module.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")};module.exports.Resizable=__webpack_require__(914).default;module.exports.ResizableBox=__webpack_require__(2439).default},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);var ReactPropTypesSecret=__webpack_require__(2437);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){"use strict";var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}module.exports=function cloneElement(element,props){props.style&&element.props.style&&(props.style=_extends({},element.props.style,props.style));props.className&&element.props.className&&(props.className=element.props.className+" "+props.className);return _react2.default.cloneElement(element,props)}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(915);var _propTypes2=_interopRequireDefault(_propTypes);var _Resizable=__webpack_require__(914);var _Resizable2=_interopRequireDefault(_Resizable);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var ResizableBox=function(_React$Component){_inherits(ResizableBox,_React$Component);function ResizableBox(){var _temp,_this,_ret;_classCallCheck(this,ResizableBox);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.state={width:_this.props.width,height:_this.props.height},_this.onResize=function(e,data){var size=data.size;size.width,size.height;if(_this.props.onResize){e.persist&&e.persist();_this.setState(size,function(){return _this.props.onResize&&_this.props.onResize(e,data)})}else _this.setState(size)},_temp),_possibleConstructorReturn(_this,_ret)}ResizableBox.prototype.componentWillReceiveProps=function componentWillReceiveProps(nextProps){nextProps.width===this.props.width&&nextProps.height===this.props.height||this.setState({width:nextProps.width,height:nextProps.height})};ResizableBox.prototype.render=function render(){var _props=this.props,handleSize=_props.handleSize,onResizeStart=(_props.onResize,_props.onResizeStart),onResizeStop=_props.onResizeStop,draggableOpts=_props.draggableOpts,minConstraints=_props.minConstraints,maxConstraints=_props.maxConstraints,lockAspectRatio=_props.lockAspectRatio,axis=_props.axis,props=(_props.width,_props.height,_objectWithoutProperties(_props,["handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height"]));return _react2.default.createElement(_Resizable2.default,{handleSize:handleSize,width:this.state.width,height:this.state.height,onResizeStart:onResizeStart,onResize:this.onResize,onResizeStop:onResizeStop,draggableOpts:draggableOpts,minConstraints:minConstraints,maxConstraints:maxConstraints,lockAspectRatio:lockAspectRatio,axis:axis},_react2.default.createElement("div",_extends({style:{width:this.state.width+"px",height:this.state.height+"px"}},props)))};return ResizableBox}(_react2.default.Component);ResizableBox.propTypes={height:_propTypes2.default.number,width:_propTypes2.default.number};ResizableBox.defaultProps={handleSize:[20,20]};exports.default=ResizableBox},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(342);var _propTypes2=_interopRequireDefault(_propTypes);var _lodash=__webpack_require__(232);var _lodash2=_interopRequireDefault(_lodash);var _utils=__webpack_require__(260);var _responsiveUtils=__webpack_require__(916);var _ReactGridLayout=__webpack_require__(911);var _ReactGridLayout2=_interopRequireDefault(_ReactGridLayout);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var type=function type(obj){return Object.prototype.toString.call(obj)};var ResponsiveReactGridLayout=function(_React$Component){_inherits(ResponsiveReactGridLayout,_React$Component);function ResponsiveReactGridLayout(){var _temp,_this,_ret;_classCallCheck(this,ResponsiveReactGridLayout);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.state=_this.generateInitialState(),_this.onLayoutChange=function(layout){var _extends2;_this.props.onLayoutChange(layout,_extends({},_this.props.layouts,(_extends2={},_extends2[_this.state.breakpoint]=layout,_extends2)))},_temp),_possibleConstructorReturn(_this,_ret)}ResponsiveReactGridLayout.prototype.generateInitialState=function generateInitialState(){var _props=this.props,width=_props.width,breakpoints=_props.breakpoints,layouts=_props.layouts,cols=_props.cols;var breakpoint=(0,_responsiveUtils.getBreakpointFromWidth)(breakpoints,width);var colNo=(0,_responsiveUtils.getColsFromBreakpoint)(breakpoint,cols);var compactType=false===this.props.verticalCompact?null:this.props.compactType;var initialLayout=(0,_responsiveUtils.findOrGenerateResponsiveLayout)(layouts,breakpoints,breakpoint,breakpoint,colNo,compactType);return{layout:initialLayout,breakpoint:breakpoint,cols:colNo}};ResponsiveReactGridLayout.prototype.componentWillReceiveProps=function componentWillReceiveProps(nextProps){if(nextProps.width==this.props.width&&nextProps.breakpoint===this.props.breakpoint&&(0,_lodash2.default)(nextProps.breakpoints,this.props.breakpoints)&&(0,_lodash2.default)(nextProps.cols,this.props.cols)){if(!(0,_lodash2.default)(nextProps.layouts,this.props.layouts)){var _state=this.state,_breakpoint=_state.breakpoint,_cols=_state.cols;var newLayout=(0,_responsiveUtils.findOrGenerateResponsiveLayout)(nextProps.layouts,nextProps.breakpoints,_breakpoint,_breakpoint,_cols,nextProps.compactType);this.setState({layout:newLayout})}}else this.onWidthChange(nextProps)};ResponsiveReactGridLayout.prototype.onWidthChange=function onWidthChange(nextProps){var breakpoints=nextProps.breakpoints,cols=nextProps.cols,layouts=nextProps.layouts,compactType=nextProps.compactType;var newBreakpoint=nextProps.breakpoint||(0,_responsiveUtils.getBreakpointFromWidth)(nextProps.breakpoints,nextProps.width);var lastBreakpoint=this.state.breakpoint;if(lastBreakpoint!==newBreakpoint||this.props.breakpoints!==breakpoints||this.props.cols!==cols){lastBreakpoint in layouts||(layouts[lastBreakpoint]=(0,_utils.cloneLayout)(this.state.layout));var newCols=(0,_responsiveUtils.getColsFromBreakpoint)(newBreakpoint,cols);var _layout=(0,_responsiveUtils.findOrGenerateResponsiveLayout)(layouts,breakpoints,newBreakpoint,lastBreakpoint,newCols,compactType);_layout=(0,_utils.synchronizeLayoutWithChildren)(_layout,nextProps.children,newCols,compactType);layouts[newBreakpoint]=_layout;this.props.onLayoutChange(_layout,layouts);this.props.onBreakpointChange(newBreakpoint,newCols);this.props.onWidthChange(nextProps.width,nextProps.margin,newCols,nextProps.containerPadding);this.setState({breakpoint:newBreakpoint,layout:_layout,cols:newCols})}};ResponsiveReactGridLayout.prototype.render=function render(){var _props2=this.props,other=(_props2.breakpoint,_props2.breakpoints,_props2.cols,_props2.layouts,_props2.onBreakpointChange,_props2.onLayoutChange,_props2.onWidthChange,_objectWithoutProperties(_props2,["breakpoint","breakpoints","cols","layouts","onBreakpointChange","onLayoutChange","onWidthChange"]));return _react2.default.createElement(_ReactGridLayout2.default,_extends({},other,{onLayoutChange:this.onLayoutChange,layout:this.state.layout,cols:this.state.cols}))};return ResponsiveReactGridLayout}(_react2.default.Component);ResponsiveReactGridLayout.propTypes={breakpoint:_propTypes2.default.string,breakpoints:_propTypes2.default.object,cols:_propTypes2.default.object,layouts:function layouts(props,propName){if("[object Object]"!==type(props[propName]))throw new Error("Layout property must be an object. Received: "+type(props[propName]));Object.keys(props[propName]).forEach(function(key){if(!(key in props.breakpoints))throw new Error("Each key in layouts must align with a key in breakpoints.");(0,_utils.validateLayout)(props.layouts[key],"layouts."+key)})},width:_propTypes2.default.number.isRequired,onBreakpointChange:_propTypes2.default.func,onLayoutChange:_propTypes2.default.func,onWidthChange:_propTypes2.default.func};ResponsiveReactGridLayout.defaultProps={breakpoints:{lg:1200,md:996,sm:768,xs:480,xxs:0},cols:{lg:12,md:10,sm:6,xs:4,xxs:2},layouts:{},onBreakpointChange:_utils.noop,onLayoutChange:_utils.noop,onWidthChange:_utils.noop};exports.default=ResponsiveReactGridLayout},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.default=WidthProvider;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(342);var _propTypes2=_interopRequireDefault(_propTypes);var _reactDom=__webpack_require__(72);var _reactDom2=_interopRequireDefault(_reactDom);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function WidthProvider(ComposedComponent){var _class,_temp2;return _temp2=_class=function(_React$Component){_inherits(WidthProvider,_React$Component);function WidthProvider(){var _temp,_this,_ret;_classCallCheck(this,WidthProvider);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.state={width:1280},_this.mounted=false,_this.onWindowResize=function(){if(!_this.mounted)return;var node=_reactDom2.default.findDOMNode(_this);node instanceof HTMLElement&&_this.setState({width:node.offsetWidth})},_temp),_possibleConstructorReturn(_this,_ret)}WidthProvider.prototype.componentDidMount=function componentDidMount(){this.mounted=true;window.addEventListener("resize",this.onWindowResize);this.onWindowResize()};WidthProvider.prototype.componentWillUnmount=function componentWillUnmount(){this.mounted=false;window.removeEventListener("resize",this.onWindowResize)};WidthProvider.prototype.render=function render(){var _props=this.props,measureBeforeMount=_props.measureBeforeMount,rest=_objectWithoutProperties(_props,["measureBeforeMount"]);if(measureBeforeMount&&!this.mounted)return _react2.default.createElement("div",{className:this.props.className,style:this.props.style});return _react2.default.createElement(ComposedComponent,_extends({},rest,this.state))};return WidthProvider}(_react2.default.Component),_class.defaultProps={measureBeforeMount:false},_class.propTypes={measureBeforeMount:_propTypes2.default.bool},_temp2}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _inputRange=__webpack_require__(2443);var _inputRange2=_interopRequireDefault(_inputRange);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_inputRange2.default;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _class;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(343);var _propTypes2=_interopRequireDefault(_propTypes);var _autobindDecorator=__webpack_require__(506);var _autobindDecorator2=_interopRequireDefault(_autobindDecorator);var _valueTransformer=__webpack_require__(2446);var valueTransformer=_interopRequireWildcard(_valueTransformer);var _defaultClassNames=__webpack_require__(2454);var _defaultClassNames2=_interopRequireDefault(_defaultClassNames);var _label=__webpack_require__(917);var _label2=_interopRequireDefault(_label);var _rangePropType=__webpack_require__(2455);var _rangePropType2=_interopRequireDefault(_rangePropType);var _valuePropType=__webpack_require__(2456);var _valuePropType2=_interopRequireDefault(_valuePropType);var _slider=__webpack_require__(2457);var _slider2=_interopRequireDefault(_slider);var _track=__webpack_require__(2458);var _track2=_interopRequireDefault(_track);var _utils=__webpack_require__(344);var _keyCodes=__webpack_require__(2459);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);newObj.default=obj;return newObj}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function _applyDecoratedDescriptor(target,property,decorators,descriptor,context){var desc={};Object["keys"](descriptor).forEach(function(key){desc[key]=descriptor[key]});desc.enumerable=!!desc.enumerable;desc.configurable=!!desc.configurable;("value"in desc||desc.initializer)&&(desc.writable=true);desc=decorators.slice().reverse().reduce(function(desc,decorator){return decorator(target,property,desc)||desc},desc);if(context&&void 0!==desc.initializer){desc.value=desc.initializer?desc.initializer.call(context):void 0;desc.initializer=void 0}if(void 0===desc.initializer){Object["defineProperty"](target,property,desc);desc=null}return desc}var InputRange=(_class=function(_React$Component){_inherits(InputRange,_React$Component);_createClass(InputRange,null,[{key:"propTypes",get:function get(){return{allowSameValues:_propTypes2.default.bool,ariaLabelledby:_propTypes2.default.string,ariaControls:_propTypes2.default.string,classNames:_propTypes2.default.objectOf(_propTypes2.default.string),disabled:_propTypes2.default.bool,draggableTrack:_propTypes2.default.bool,formatLabel:_propTypes2.default.func,maxValue:_rangePropType2.default,minValue:_rangePropType2.default,name:_propTypes2.default.string,onChangeStart:_propTypes2.default.func,onChange:_propTypes2.default.func.isRequired,onChangeComplete:_propTypes2.default.func,step:_propTypes2.default.number,value:_valuePropType2.default}}},{key:"defaultProps",get:function get(){return{allowSameValues:false,classNames:_defaultClassNames2.default,disabled:false,maxValue:10,minValue:0,step:1}}}]);function InputRange(props){_classCallCheck(this,InputRange);var _this=_possibleConstructorReturn(this,(InputRange.__proto__||Object.getPrototypeOf(InputRange)).call(this,props));_this.startValue=null;_this.node=null;_this.trackNode=null;_this.isSliderDragging=false;_this.lastKeyMoved=null;return _this}_createClass(InputRange,[{key:"componentWillUnmount",value:function componentWillUnmount(){this.removeDocumentMouseUpListener();this.removeDocumentTouchEndListener()}},{key:"getComponentClassName",value:function getComponentClassName(){if(!this.props.disabled)return this.props.classNames.inputRange;return this.props.classNames.disabledInputRange}},{key:"getTrackClientRect",value:function getTrackClientRect(){return this.trackNode.getClientRect()}},{key:"getKeyByPosition",value:function getKeyByPosition(position){var values=valueTransformer.getValueFromProps(this.props,this.isMultiValue());var positions=valueTransformer.getPositionsFromValues(values,this.props.minValue,this.props.maxValue,this.getTrackClientRect());if(this.isMultiValue()){var distanceToMin=(0,_utils.distanceTo)(position,positions.min);var distanceToMax=(0,_utils.distanceTo)(position,positions.max);if(distanceToMin<distanceToMax)return"min"}return"max"}},{key:"getKeys",value:function getKeys(){if(this.isMultiValue())return["min","max"];return["max"]}},{key:"hasStepDifference",value:function hasStepDifference(values){var currentValues=valueTransformer.getValueFromProps(this.props,this.isMultiValue());return(0,_utils.length)(values.min,currentValues.min)>=this.props.step||(0,_utils.length)(values.max,currentValues.max)>=this.props.step}},{key:"isMultiValue",value:function isMultiValue(){return(0,_utils.isObject)(this.props.value)}},{key:"isWithinRange",value:function isWithinRange(values){if(this.isMultiValue())return values.min>=this.props.minValue&&values.max<=this.props.maxValue&&this.props.allowSameValues?values.min<=values.max:values.min<values.max;return values.max>=this.props.minValue&&values.max<=this.props.maxValue}},{key:"shouldUpdate",value:function shouldUpdate(values){return this.isWithinRange(values)&&this.hasStepDifference(values)}},{key:"updatePosition",value:function updatePosition(key,position){var values=valueTransformer.getValueFromProps(this.props,this.isMultiValue());var positions=valueTransformer.getPositionsFromValues(values,this.props.minValue,this.props.maxValue,this.getTrackClientRect());positions[key]=position;this.lastKeyMoved=key;this.updatePositions(positions)}},{key:"updatePositions",value:function updatePositions(positions){var values={min:valueTransformer.getValueFromPosition(positions.min,this.props.minValue,this.props.maxValue,this.getTrackClientRect()),max:valueTransformer.getValueFromPosition(positions.max,this.props.minValue,this.props.maxValue,this.getTrackClientRect())};var transformedValues={min:valueTransformer.getStepValueFromValue(values.min,this.props.step),max:valueTransformer.getStepValueFromValue(values.max,this.props.step)};this.updateValues(transformedValues)}},{key:"updateValue",value:function updateValue(key,value){var values=valueTransformer.getValueFromProps(this.props,this.isMultiValue());values[key]=value;this.updateValues(values)}},{key:"updateValues",value:function updateValues(values){if(!this.shouldUpdate(values))return;this.props.onChange(this.isMultiValue()?values:values.max)}},{key:"incrementValue",value:function incrementValue(key){var values=valueTransformer.getValueFromProps(this.props,this.isMultiValue());var value=values[key]+this.props.step;this.updateValue(key,value)}},{key:"decrementValue",value:function decrementValue(key){var values=valueTransformer.getValueFromProps(this.props,this.isMultiValue());var value=values[key]-this.props.step;this.updateValue(key,value)}},{key:"addDocumentMouseUpListener",value:function addDocumentMouseUpListener(){this.removeDocumentMouseUpListener();this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"addDocumentTouchEndListener",value:function addDocumentTouchEndListener(){this.removeDocumentTouchEndListener();this.node.ownerDocument.addEventListener("touchend",this.handleTouchEnd)}},{key:"removeDocumentMouseUpListener",value:function removeDocumentMouseUpListener(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentTouchEndListener",value:function removeDocumentTouchEndListener(){this.node.ownerDocument.removeEventListener("touchend",this.handleTouchEnd)}},{key:"handleSliderDrag",value:function handleSliderDrag(event,key){var _this2=this;if(this.props.disabled)return;var position=valueTransformer.getPositionFromEvent(event,this.getTrackClientRect());this.isSliderDragging=true;requestAnimationFrame(function(){return _this2.updatePosition(key,position)})}},{key:"handleTrackDrag",value:function handleTrackDrag(event,prevEvent){if(this.props.disabled||!this.props.draggableTrack||this.isSliderDragging)return;var _props=this.props,maxValue=_props.maxValue,minValue=_props.minValue,_props$value=_props.value,max=_props$value.max,min=_props$value.min;var position=valueTransformer.getPositionFromEvent(event,this.getTrackClientRect());var value=valueTransformer.getValueFromPosition(position,minValue,maxValue,this.getTrackClientRect());var stepValue=valueTransformer.getStepValueFromValue(value,this.props.step);var prevPosition=valueTransformer.getPositionFromEvent(prevEvent,this.getTrackClientRect());var prevValue=valueTransformer.getValueFromPosition(prevPosition,minValue,maxValue,this.getTrackClientRect());var prevStepValue=valueTransformer.getStepValueFromValue(prevValue,this.props.step);var offset=prevStepValue-stepValue;var transformedValues={min:min-offset,max:max-offset};this.updateValues(transformedValues)}},{key:"handleSliderKeyDown",value:function handleSliderKeyDown(event,key){if(this.props.disabled)return;switch(event.keyCode){case _keyCodes.LEFT_ARROW:case _keyCodes.DOWN_ARROW:event.preventDefault();this.decrementValue(key);break;case _keyCodes.RIGHT_ARROW:case _keyCodes.UP_ARROW:event.preventDefault();this.incrementValue(key)}}},{key:"handleTrackMouseDown",value:function handleTrackMouseDown(event,position){if(this.props.disabled)return;var _props2=this.props,maxValue=_props2.maxValue,minValue=_props2.minValue,_props2$value=_props2.value,max=_props2$value.max,min=_props2$value.min;event.preventDefault();var value=valueTransformer.getValueFromPosition(position,minValue,maxValue,this.getTrackClientRect());var stepValue=valueTransformer.getStepValueFromValue(value,this.props.step);(!this.props.draggableTrack||stepValue>max||stepValue<min)&&this.updatePosition(this.getKeyByPosition(position),position)}},{key:"handleInteractionStart",value:function handleInteractionStart(){this.props.onChangeStart&&this.props.onChangeStart(this.props.value);this.props.onChangeComplete&&!(0,_utils.isDefined)(this.startValue)&&(this.startValue=this.props.value)}},{key:"handleInteractionEnd",value:function handleInteractionEnd(){this.isSliderDragging&&(this.isSliderDragging=false);if(!this.props.onChangeComplete||!(0,_utils.isDefined)(this.startValue))return;this.startValue!==this.props.value&&this.props.onChangeComplete(this.props.value);this.startValue=null}},{key:"handleKeyDown",value:function handleKeyDown(event){this.handleInteractionStart(event)}},{key:"handleKeyUp",value:function handleKeyUp(event){this.handleInteractionEnd(event)}},{key:"handleMouseDown",value:function handleMouseDown(event){this.handleInteractionStart(event);this.addDocumentMouseUpListener()}},{key:"handleMouseUp",value:function handleMouseUp(event){this.handleInteractionEnd(event);this.removeDocumentMouseUpListener()}},{key:"handleTouchStart",value:function handleTouchStart(event){this.handleInteractionStart(event);this.addDocumentTouchEndListener()}},{key:"handleTouchEnd",value:function handleTouchEnd(event){this.handleInteractionEnd(event);this.removeDocumentTouchEndListener()}},{key:"renderSliders",value:function renderSliders(){var _this3=this;var values=valueTransformer.getValueFromProps(this.props,this.isMultiValue());var percentages=valueTransformer.getPercentagesFromValues(values,this.props.minValue,this.props.maxValue);var keys=this.props.allowSameValues&&"min"===this.lastKeyMoved?this.getKeys().reverse():this.getKeys();return keys.map(function(key){var value=values[key];var percentage=percentages[key];var _props3=_this3.props,maxValue=_props3.maxValue,minValue=_props3.minValue;"min"===key?maxValue=values.max:minValue=values.min;var slider=_react2.default.createElement(_slider2.default,{ariaLabelledby:_this3.props.ariaLabelledby,ariaControls:_this3.props.ariaControls,classNames:_this3.props.classNames,formatLabel:_this3.props.formatLabel,key:key,maxValue:maxValue,minValue:minValue,onSliderDrag:_this3.handleSliderDrag,onSliderKeyDown:_this3.handleSliderKeyDown,percentage:percentage,type:key,value:value});return slider})}},{key:"renderHiddenInputs",value:function renderHiddenInputs(){var _this4=this;if(!this.props.name)return[];var isMultiValue=this.isMultiValue();var values=valueTransformer.getValueFromProps(this.props,isMultiValue);return this.getKeys().map(function(key){var value=values[key];var name=isMultiValue?""+_this4.props.name+(0,_utils.captialize)(key):_this4.props.name;return _react2.default.createElement("input",{key:key,type:"hidden",name:name,value:value})})}},{key:"render",value:function render(){var _this5=this;var componentClassName=this.getComponentClassName();var values=valueTransformer.getValueFromProps(this.props,this.isMultiValue());var percentages=valueTransformer.getPercentagesFromValues(values,this.props.minValue,this.props.maxValue);return _react2.default.createElement("div",{"aria-disabled":this.props.disabled,ref:function ref(node){_this5.node=node},className:componentClassName,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart},_react2.default.createElement(_label2.default,{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"min"},this.props.minValue),_react2.default.createElement(_track2.default,{classNames:this.props.classNames,draggableTrack:this.props.draggableTrack,ref:function ref(trackNode){_this5.trackNode=trackNode},percentages:percentages,onTrackDrag:this.handleTrackDrag,onTrackMouseDown:this.handleTrackMouseDown},this.renderSliders()),_react2.default.createElement(_label2.default,{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"max"},this.props.maxValue),this.renderHiddenInputs())}}]);return InputRange}(_react2.default.Component),_applyDecoratedDescriptor(_class.prototype,"handleSliderDrag",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleSliderDrag"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleTrackDrag",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleTrackDrag"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleSliderKeyDown",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleSliderKeyDown"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleTrackMouseDown",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleTrackMouseDown"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleInteractionStart",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleInteractionStart"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleInteractionEnd",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleInteractionEnd"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleKeyDown",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleKeyDown"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleKeyUp",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleKeyUp"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleMouseDown",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleMouseDown"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleMouseUp",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleMouseUp"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleTouchStart",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleTouchStart"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleTouchEnd",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleTouchEnd"),_class.prototype),_class);exports.default=InputRange;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);var ReactPropTypesSecret=__webpack_require__(2445);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.getPercentageFromPosition=getPercentageFromPosition;exports.getValueFromPosition=getValueFromPosition;exports.getValueFromProps=getValueFromProps;exports.getPercentageFromValue=getPercentageFromValue;exports.getPercentagesFromValues=getPercentagesFromValues;exports.getPositionFromValue=getPositionFromValue;exports.getPositionsFromValues=getPositionsFromValues;exports.getPositionFromEvent=getPositionFromEvent;exports.getStepValueFromValue=getStepValueFromValue;var _utils=__webpack_require__(344);function getPercentageFromPosition(position,clientRect){var length=clientRect.width;var sizePerc=position.x/length;return sizePerc||0}function getValueFromPosition(position,minValue,maxValue,clientRect){var sizePerc=getPercentageFromPosition(position,clientRect);var valueDiff=maxValue-minValue;return minValue+valueDiff*sizePerc}function getValueFromProps(props,isMultiValue){if(isMultiValue)return _extends({},props.value);return{min:props.minValue,max:props.value}}function getPercentageFromValue(value,minValue,maxValue){var validValue=(0,_utils.clamp)(value,minValue,maxValue);var valueDiff=maxValue-minValue;var valuePerc=(validValue-minValue)/valueDiff;return valuePerc||0}function getPercentagesFromValues(values,minValue,maxValue){return{min:getPercentageFromValue(values.min,minValue,maxValue),max:getPercentageFromValue(values.max,minValue,maxValue)}}function getPositionFromValue(value,minValue,maxValue,clientRect){var length=clientRect.width;var valuePerc=getPercentageFromValue(value,minValue,maxValue);var positionValue=valuePerc*length;return{x:positionValue,y:0}}function getPositionsFromValues(values,minValue,maxValue,clientRect){return{min:getPositionFromValue(values.min,minValue,maxValue,clientRect),max:getPositionFromValue(values.max,minValue,maxValue,clientRect)}}function getPositionFromEvent(event,clientRect){var length=clientRect.width;var _ref=event.touches?event.touches[0]:event,clientX=_ref.clientX;return{x:(0,_utils.clamp)(clientX-clientRect.left,0,length),y:0}}function getStepValueFromValue(value,valuePerStep){return Math.round(value/valuePerStep)*valuePerStep}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=captialize;function captialize(string){return string.charAt(0).toUpperCase()+string.slice(1)}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=clamp;function clamp(value,min,max){return Math.min(Math.max(value,min),max)}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=distanceTo;function distanceTo(pointA,pointB){var xDiff=Math.pow(pointB.x-pointA.x,2);var yDiff=Math.pow(pointB.y-pointA.y,2);return Math.sqrt(xDiff+yDiff)}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=isDefined;function isDefined(value){return void 0!==value&&null!==value}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=isNumber;function isNumber(value){return"number"===typeof value}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};exports.default=isObject;function isObject(value){return null!==value&&"object"===("undefined"===typeof value?"undefined":_typeof(value))}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=length;function length(numA,numB){return Math.abs(numA-numB)}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var DEFAULT_CLASS_NAMES={activeTrack:"input-range__track input-range__track--active",disabledInputRange:"input-range input-range--disabled",inputRange:"input-range",labelContainer:"input-range__label-container",maxLabel:"input-range__label input-range__label--max",minLabel:"input-range__label input-range__label--min",slider:"input-range__slider",sliderContainer:"input-range__slider-container",track:"input-range__track input-range__track--background",valueLabel:"input-range__label input-range__label--value"};exports.default=DEFAULT_CLASS_NAMES;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=rangePropType;var _utils=__webpack_require__(344);function rangePropType(props){var maxValue=props.maxValue,minValue=props.minValue;if(!(0,_utils.isNumber)(minValue)||!(0,_utils.isNumber)(maxValue))return new Error('"minValue" and "maxValue" must be a number');if(minValue>=maxValue)return new Error('"minValue" must be smaller than "maxValue"')}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=valuePropType;var _utils=__webpack_require__(344);function valuePropType(props,propName){var maxValue=props.maxValue,minValue=props.minValue;var value=props[propName];if(!(0,_utils.isNumber)(value)&&(!(0,_utils.isObject)(value)||!(0,_utils.isNumber)(value.min)||!(0,_utils.isNumber)(value.max)))return new Error('"'+propName+'" must be a number or a range object');if((0,_utils.isNumber)(value)&&(value<minValue||value>maxValue))return new Error('"'+propName+'" must be in between "minValue" and "maxValue"');if((0,_utils.isObject)(value)&&(value.min<minValue||value.min>maxValue||value.max<minValue||value.max>maxValue))return new Error('"'+propName+'" must be in between "minValue" and "maxValue"')}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _class;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(343);var _propTypes2=_interopRequireDefault(_propTypes);var _autobindDecorator=__webpack_require__(506);var _autobindDecorator2=_interopRequireDefault(_autobindDecorator);var _label=__webpack_require__(917);var _label2=_interopRequireDefault(_label);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function _applyDecoratedDescriptor(target,property,decorators,descriptor,context){var desc={};Object["keys"](descriptor).forEach(function(key){desc[key]=descriptor[key]});desc.enumerable=!!desc.enumerable;desc.configurable=!!desc.configurable;("value"in desc||desc.initializer)&&(desc.writable=true);desc=decorators.slice().reverse().reduce(function(desc,decorator){return decorator(target,property,desc)||desc},desc);if(context&&void 0!==desc.initializer){desc.value=desc.initializer?desc.initializer.call(context):void 0;desc.initializer=void 0}if(void 0===desc.initializer){Object["defineProperty"](target,property,desc);desc=null}return desc}var Slider=(_class=function(_React$Component){_inherits(Slider,_React$Component);_createClass(Slider,null,[{key:"propTypes",get:function get(){return{ariaLabelledby:_propTypes2.default.string,ariaControls:_propTypes2.default.string,classNames:_propTypes2.default.objectOf(_propTypes2.default.string).isRequired,formatLabel:_propTypes2.default.func,maxValue:_propTypes2.default.number,minValue:_propTypes2.default.number,onSliderDrag:_propTypes2.default.func.isRequired,onSliderKeyDown:_propTypes2.default.func.isRequired,percentage:_propTypes2.default.number.isRequired,type:_propTypes2.default.string.isRequired,value:_propTypes2.default.number.isRequired}}}]);function Slider(props){_classCallCheck(this,Slider);var _this=_possibleConstructorReturn(this,(Slider.__proto__||Object.getPrototypeOf(Slider)).call(this,props));_this.node=null;return _this}_createClass(Slider,[{key:"componentWillUnmount",value:function componentWillUnmount(){this.removeDocumentMouseMoveListener();this.removeDocumentMouseUpListener();this.removeDocumentTouchEndListener();this.removeDocumentTouchMoveListener()}},{key:"getStyle",value:function getStyle(){var perc=100*(this.props.percentage||0);var style={position:"absolute",left:perc+"%"};return style}},{key:"addDocumentMouseMoveListener",value:function addDocumentMouseMoveListener(){this.removeDocumentMouseMoveListener();this.node.ownerDocument.addEventListener("mousemove",this.handleMouseMove)}},{key:"addDocumentMouseUpListener",value:function addDocumentMouseUpListener(){this.removeDocumentMouseUpListener();this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"addDocumentTouchMoveListener",value:function addDocumentTouchMoveListener(){this.removeDocumentTouchMoveListener();this.node.ownerDocument.addEventListener("touchmove",this.handleTouchMove)}},{key:"addDocumentTouchEndListener",value:function addDocumentTouchEndListener(){this.removeDocumentTouchEndListener();this.node.ownerDocument.addEventListener("touchend",this.handleTouchEnd)}},{key:"removeDocumentMouseMoveListener",value:function removeDocumentMouseMoveListener(){this.node.ownerDocument.removeEventListener("mousemove",this.handleMouseMove)}},{key:"removeDocumentMouseUpListener",value:function removeDocumentMouseUpListener(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentTouchMoveListener",value:function removeDocumentTouchMoveListener(){this.node.ownerDocument.removeEventListener("touchmove",this.handleTouchMove)}},{key:"removeDocumentTouchEndListener",value:function removeDocumentTouchEndListener(){this.node.ownerDocument.removeEventListener("touchend",this.handleTouchEnd)}},{key:"handleMouseDown",value:function handleMouseDown(){this.addDocumentMouseMoveListener();this.addDocumentMouseUpListener()}},{key:"handleMouseUp",value:function handleMouseUp(){this.removeDocumentMouseMoveListener();this.removeDocumentMouseUpListener()}},{key:"handleMouseMove",value:function handleMouseMove(event){this.props.onSliderDrag(event,this.props.type)}},{key:"handleTouchStart",value:function handleTouchStart(){this.addDocumentTouchEndListener();this.addDocumentTouchMoveListener()}},{key:"handleTouchMove",value:function handleTouchMove(event){this.props.onSliderDrag(event,this.props.type)}},{key:"handleTouchEnd",value:function handleTouchEnd(){this.removeDocumentTouchMoveListener();this.removeDocumentTouchEndListener()}},{key:"handleKeyDown",value:function handleKeyDown(event){this.props.onSliderKeyDown(event,this.props.type)}},{key:"render",value:function render(){var _this2=this;var style=this.getStyle();return _react2.default.createElement("span",{className:this.props.classNames.sliderContainer,ref:function ref(node){_this2.node=node},style:style},_react2.default.createElement(_label2.default,{classNames:this.props.classNames,formatLabel:this.props.formatLabel,type:"value"},this.props.value),_react2.default.createElement("div",{"aria-labelledby":this.props.ariaLabelledby,"aria-controls":this.props.ariaControls,"aria-valuemax":this.props.maxValue,"aria-valuemin":this.props.minValue,"aria-valuenow":this.props.value,className:this.props.classNames.slider,draggable:"false",onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,role:"slider",tabIndex:"0"}))}}]);return Slider}(_react2.default.Component),_applyDecoratedDescriptor(_class.prototype,"handleMouseDown",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleMouseDown"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleMouseUp",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleMouseUp"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleMouseMove",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleMouseMove"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleTouchStart",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleTouchStart"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleTouchMove",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleTouchMove"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleTouchEnd",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleTouchEnd"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleKeyDown",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleKeyDown"),_class.prototype),_class);exports.default=Slider;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _class;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(343);var _propTypes2=_interopRequireDefault(_propTypes);var _autobindDecorator=__webpack_require__(506);var _autobindDecorator2=_interopRequireDefault(_autobindDecorator);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function _applyDecoratedDescriptor(target,property,decorators,descriptor,context){var desc={};Object["keys"](descriptor).forEach(function(key){desc[key]=descriptor[key]});desc.enumerable=!!desc.enumerable;desc.configurable=!!desc.configurable;("value"in desc||desc.initializer)&&(desc.writable=true);desc=decorators.slice().reverse().reduce(function(desc,decorator){return decorator(target,property,desc)||desc},desc);if(context&&void 0!==desc.initializer){desc.value=desc.initializer?desc.initializer.call(context):void 0;desc.initializer=void 0}if(void 0===desc.initializer){Object["defineProperty"](target,property,desc);desc=null}return desc}var Track=(_class=function(_React$Component){_inherits(Track,_React$Component);_createClass(Track,null,[{key:"propTypes",get:function get(){return{children:_propTypes2.default.node.isRequired,classNames:_propTypes2.default.objectOf(_propTypes2.default.string).isRequired,draggableTrack:_propTypes2.default.bool,onTrackDrag:_propTypes2.default.func,onTrackMouseDown:_propTypes2.default.func.isRequired,percentages:_propTypes2.default.objectOf(_propTypes2.default.number).isRequired}}}]);function Track(props){_classCallCheck(this,Track);var _this=_possibleConstructorReturn(this,(Track.__proto__||Object.getPrototypeOf(Track)).call(this,props));_this.node=null;_this.trackDragEvent=null;return _this}_createClass(Track,[{key:"getClientRect",value:function getClientRect(){return this.node.getBoundingClientRect()}},{key:"getActiveTrackStyle",value:function getActiveTrackStyle(){var width=100*(this.props.percentages.max-this.props.percentages.min)+"%";var left=100*this.props.percentages.min+"%";return{left:left,width:width}}},{key:"addDocumentMouseMoveListener",value:function addDocumentMouseMoveListener(){this.removeDocumentMouseMoveListener();this.node.ownerDocument.addEventListener("mousemove",this.handleMouseMove)}},{key:"addDocumentMouseUpListener",value:function addDocumentMouseUpListener(){this.removeDocumentMouseUpListener();this.node.ownerDocument.addEventListener("mouseup",this.handleMouseUp)}},{key:"removeDocumentMouseMoveListener",value:function removeDocumentMouseMoveListener(){this.node.ownerDocument.removeEventListener("mousemove",this.handleMouseMove)}},{key:"removeDocumentMouseUpListener",value:function removeDocumentMouseUpListener(){this.node.ownerDocument.removeEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseMove",value:function handleMouseMove(event){if(!this.props.draggableTrack)return;null!==this.trackDragEvent&&this.props.onTrackDrag(event,this.trackDragEvent);this.trackDragEvent=event}},{key:"handleMouseUp",value:function handleMouseUp(){if(!this.props.draggableTrack)return;this.removeDocumentMouseMoveListener();this.removeDocumentMouseUpListener();this.trackDragEvent=null}},{key:"handleMouseDown",value:function handleMouseDown(event){var clientX=event.touches?event.touches[0].clientX:event.clientX;var trackClientRect=this.getClientRect();var position={x:clientX-trackClientRect.left,y:0};this.props.onTrackMouseDown(event,position);if(this.props.draggableTrack){this.addDocumentMouseMoveListener();this.addDocumentMouseUpListener()}}},{key:"handleTouchStart",value:function handleTouchStart(event){event.preventDefault();this.handleMouseDown(event)}},{key:"render",value:function render(){var _this2=this;var activeTrackStyle=this.getActiveTrackStyle();return _react2.default.createElement("div",{className:this.props.classNames.track,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,ref:function ref(node){_this2.node=node}},_react2.default.createElement("div",{style:activeTrackStyle,className:this.props.classNames.activeTrack}),this.props.children)}}]);return Track}(_react2.default.Component),_applyDecoratedDescriptor(_class.prototype,"handleMouseMove",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleMouseMove"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleMouseUp",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleMouseUp"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleMouseDown",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleMouseDown"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"handleTouchStart",[_autobindDecorator2.default],Object.getOwnPropertyDescriptor(_class.prototype,"handleTouchStart"),_class.prototype),_class);exports.default=Track;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.DOWN_ARROW=40;exports.LEFT_ARROW=37;exports.RIGHT_ARROW=39;exports.UP_ARROW=38},function(module,exports,__webpack_require__){"use strict";var xtend=__webpack_require__(108);var unified=__webpack_require__(2461);var parse=__webpack_require__(2474);var PropTypes=__webpack_require__(2528);var naiveHtml=__webpack_require__(2531);var disallowNode=__webpack_require__(2532);var astToReact=__webpack_require__(2533);var wrapTableRows=__webpack_require__(2534);var getDefinitions=__webpack_require__(2535);var uriTransformer=__webpack_require__(2536);var defaultRenderers=__webpack_require__(2537);var allTypes=Object.keys(defaultRenderers);var ReactMarkdown=function ReactMarkdown(props){var src=props.source||props.children||"";if(props.allowedTypes&&props.disallowedTypes)throw new Error("Only one of `allowedTypes` and `disallowedTypes` should be defined");var renderers=xtend(defaultRenderers,props.renderers);var plugins=[parse].concat(props.plugins||[]);var parser=plugins.reduce(applyParserPlugin,unified());var rawAst=parser.parse(src);var renderProps=xtend(props,{renderers:renderers,definitions:getDefinitions(rawAst)});var astPlugins=determineAstPlugins(props);var ast=astPlugins.reduce(function(node,plugin){return plugin(node,renderProps)},rawAst);return astToReact(ast,renderProps)};function applyParserPlugin(parser,plugin){return Array.isArray(plugin)?parser.use(plugin[0],plugin[1]):parser.use(plugin)}function determineAstPlugins(props){var plugins=[wrapTableRows];var disallowedTypes=props.disallowedTypes;props.allowedTypes&&(disallowedTypes=allTypes.filter(function(type){return"root"!==type&&-1===props.allowedTypes.indexOf(type)}));var removalMethod=props.unwrapDisallowed?"unwrap":"remove";disallowedTypes&&disallowedTypes.length>0&&plugins.push(disallowNode.ofType(disallowedTypes,removalMethod));props.allowNode&&plugins.push(disallowNode.ifNotMatch(props.allowNode,removalMethod));var renderHtml=!props.escapeHtml&&!props.skipHtml;renderHtml&&plugins.push(naiveHtml);return props.astPlugins?plugins.concat(props.astPlugins):plugins}ReactMarkdown.defaultProps={renderers:{},escapeHtml:true,skipHtml:false,transformLinkUri:uriTransformer};ReactMarkdown.propTypes={className:PropTypes.string,source:PropTypes.string,children:PropTypes.string,sourcePos:PropTypes.bool,escapeHtml:PropTypes.bool,skipHtml:PropTypes.bool,allowNode:PropTypes.func,allowedTypes:PropTypes.arrayOf(PropTypes.oneOf(allTypes)),disallowedTypes:PropTypes.arrayOf(PropTypes.oneOf(allTypes)),transformLinkUri:PropTypes.oneOfType([PropTypes.func,PropTypes.bool]),transformImageUri:PropTypes.func,astPlugins:PropTypes.arrayOf(PropTypes.func),unwrapDisallowed:PropTypes.bool,renderers:PropTypes.object};ReactMarkdown.types=allTypes;ReactMarkdown.renderers=defaultRenderers;ReactMarkdown.uriTransformer=uriTransformer;module.exports=ReactMarkdown},function(module,exports,__webpack_require__){"use strict";var extend=__webpack_require__(2462);var bail=__webpack_require__(2463);var vfile=__webpack_require__(2464);var trough=__webpack_require__(2470);var string=__webpack_require__(2471);var func=__webpack_require__(2472);var plain=__webpack_require__(2473);module.exports=unified().freeze();var slice=[].slice;var own={}.hasOwnProperty;var pipeline=trough().use(pipelineParse).use(pipelineRun).use(pipelineStringify);function pipelineParse(p,ctx){ctx.tree=p.parse(ctx.file)}function pipelineRun(p,ctx,next){p.run(ctx.tree,ctx.file,done);function done(err,tree,file){if(err)next(err);else{ctx.tree=tree;ctx.file=file;next()}}}function pipelineStringify(p,ctx){ctx.file.contents=p.stringify(ctx.tree,ctx.file)}function unified(){var attachers=[];var transformers=trough();var namespace={};var frozen=false;var freezeIndex=-1;processor.data=data;processor.freeze=freeze;processor.attachers=attachers;processor.use=use;processor.parse=parse;processor.stringify=stringify;processor.run=run;processor.runSync=runSync;processor.process=process;processor.processSync=processSync;return processor;function processor(){var destination=unified();var length=attachers.length;var index=-1;while(++index<length)destination.use.apply(null,attachers[index]);destination.data(extend(true,{},namespace));return destination}function freeze(){var values;var plugin;var options;var transformer;if(frozen)return processor;while(++freezeIndex<attachers.length){values=attachers[freezeIndex];plugin=values[0];options=values[1];transformer=null;if(false===options)continue;true===options&&(values[1]=void 0);transformer=plugin.apply(processor,values.slice(1));func(transformer)&&transformers.use(transformer)}frozen=true;freezeIndex=Infinity;return processor}function data(key,value){if(string(key)){if(2===arguments.length){assertUnfrozen("data",frozen);namespace[key]=value;return processor}return own.call(namespace,key)&&namespace[key]||null}if(key){assertUnfrozen("data",frozen);namespace=key;return processor}return namespace}function use(value){var settings;assertUnfrozen("use",frozen);if(null===value||void 0===value);else if(func(value))addPlugin.apply(null,arguments);else{if("object"!==typeof value)throw new Error("Expected usable value, not `"+value+"`");"length"in value?addList(value):addPreset(value)}settings&&(namespace.settings=extend(namespace.settings||{},settings));return processor;function addPreset(result){addList(result.plugins);result.settings&&(settings=extend(settings||{},result.settings))}function add(value){if(func(value))addPlugin(value);else{if("object"!==typeof value)throw new Error("Expected usable value, not `"+value+"`");"length"in value?addPlugin.apply(null,value):addPreset(value)}}function addList(plugins){var length;var index;if(null===plugins||void 0===plugins);else{if(!("object"===typeof plugins&&"length"in plugins))throw new Error("Expected a list of plugins, not `"+plugins+"`");length=plugins.length;index=-1;while(++index<length)add(plugins[index])}}function addPlugin(plugin,value){var entry=find(plugin);if(entry){plain(entry[1])&&plain(value)&&(value=extend(entry[1],value));entry[1]=value}else attachers.push(slice.call(arguments))}}function find(plugin){var length=attachers.length;var index=-1;var entry;while(++index<length){entry=attachers[index];if(entry[0]===plugin)return entry}}function parse(doc){var file=vfile(doc);var Parser;freeze();Parser=processor.Parser;assertParser("parse",Parser);if(newable(Parser))return new Parser(String(file),file).parse();return Parser(String(file),file)}function run(node,file,cb){assertNode(node);freeze();if(!cb&&func(file)){cb=file;file=null}if(!cb)return new Promise(executor);executor(null,cb);function executor(resolve,reject){transformers.run(node,vfile(file),done);function done(err,tree,file){tree=tree||node;err?reject(err):resolve?resolve(tree):cb(null,tree,file)}}}function runSync(node,file){var complete=false;var result;run(node,file,done);assertDone("runSync","run",complete);return result;function done(err,tree){complete=true;bail(err);result=tree}}function stringify(node,doc){var file=vfile(doc);var Compiler;freeze();Compiler=processor.Compiler;assertCompiler("stringify",Compiler);assertNode(node);if(newable(Compiler))return new Compiler(node,file).compile();return Compiler(node,file)}function process(doc,cb){freeze();assertParser("process",processor.Parser);assertCompiler("process",processor.Compiler);if(!cb)return new Promise(executor);executor(null,cb);function executor(resolve,reject){var file=vfile(doc);pipeline.run(processor,{file:file},done);function done(err){err?reject(err):resolve?resolve(file):cb(null,file)}}}function processSync(doc){var complete=false;var file;freeze();assertParser("processSync",processor.Parser);assertCompiler("processSync",processor.Compiler);file=vfile(doc);process(file,done);assertDone("processSync","process",complete);return file;function done(err){complete=true;bail(err)}}}function newable(value){return func(value)&&keys(value.prototype)}function keys(value){var key;for(key in value)return true;return false}function assertParser(name,Parser){if(!func(Parser))throw new Error("Cannot `"+name+"` without `Parser`")}function assertCompiler(name,Compiler){if(!func(Compiler))throw new Error("Cannot `"+name+"` without `Compiler`")}function assertUnfrozen(name,frozen){if(frozen)throw new Error("Cannot invoke `"+name+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function assertNode(node){if(!node||!string(node.type))throw new Error("Expected node, got `"+node+"`")}function assertDone(name,asyncName,complete){if(!complete)throw new Error("`"+name+"` finished async. Use `"+asyncName+"` instead")}},function(module,exports,__webpack_require__){"use strict";var hasOwn=Object.prototype.hasOwnProperty;var toStr=Object.prototype.toString;var isArray=function isArray(arr){if("function"===typeof Array.isArray)return Array.isArray(arr);return"[object Array]"===toStr.call(arr)};var isPlainObject=function isPlainObject(obj){if(!obj||"[object Object]"!==toStr.call(obj))return false;var hasOwnConstructor=hasOwn.call(obj,"constructor");var hasIsPrototypeOf=obj.constructor&&obj.constructor.prototype&&hasOwn.call(obj.constructor.prototype,"isPrototypeOf");if(obj.constructor&&!hasOwnConstructor&&!hasIsPrototypeOf)return false;var key;for(key in obj);return"undefined"===typeof key||hasOwn.call(obj,key)};module.exports=function extend(){var options,name,src,copy,copyIsArray,clone;var target=arguments[0];var i=1;var length=arguments.length;var deep=false;if("boolean"===typeof target){deep=target;target=arguments[1]||{};i=2}(null==target||"object"!==typeof target&&"function"!==typeof target)&&(target={});for(;i<length;++i){options=arguments[i];if(null!=options)for(name in options){src=target[name];copy=options[name];if(target!==copy)if(deep&&copy&&(isPlainObject(copy)||(copyIsArray=isArray(copy)))){if(copyIsArray){copyIsArray=false;clone=src&&isArray(src)?src:[]}else clone=src&&isPlainObject(src)?src:{};target[name]=extend(deep,clone,copy)}else"undefined"!==typeof copy&&(target[name]=copy)}}return target}},function(module,exports,__webpack_require__){"use strict";module.exports=bail;function bail(err){if(err)throw err}},function(module,exports,__webpack_require__){"use strict";var VMessage=__webpack_require__(2465);var VFile=__webpack_require__(2467);module.exports=VFile;var proto=VFile.prototype;proto.message=message;proto.info=info;proto.fail=fail;proto.warn=message;function message(reason,position,origin){var filePath=this.path;var message=new VMessage(reason,position,origin);if(filePath){message.name=filePath+":"+message.name;message.file=filePath}message.fatal=false;this.messages.push(message);return message}function fail(){var message=this.message.apply(this,arguments);message.fatal=true;throw message}function info(){var message=this.message.apply(this,arguments);message.fatal=null;return message}},function(module,exports,__webpack_require__){"use strict";var stringify=__webpack_require__(2466);module.exports=VMessage;function VMessagePrototype(){}VMessagePrototype.prototype=Error.prototype;VMessage.prototype=new VMessagePrototype;var proto=VMessage.prototype;proto.file="";proto.name="";proto.reason="";proto.message="";proto.stack="";proto.fatal=null;proto.column=null;proto.line=null;function VMessage(reason,position,origin){var parts;var range;var location;if("string"===typeof position){origin=position;position=null}parts=parseOrigin(origin);range=stringify(position)||"1:1";location={start:{line:null,column:null},end:{line:null,column:null}};position&&position.position&&(position=position.position);if(position)if(position.start){location=position;position=position.start}else location.start=position;if(reason.stack){this.stack=reason.stack;reason=reason.message}this.message=reason;this.name=range;this.reason=reason;this.line=position?position.line:null;this.column=position?position.column:null;this.location=location;this.source=parts[0];this.ruleId=parts[1]}function parseOrigin(origin){var result=[null,null];var index;if("string"===typeof origin){index=origin.indexOf(":");if(-1===index)result[1]=origin;else{result[0]=origin.slice(0,index);result[1]=origin.slice(index+1)}}return result}},function(module,exports,__webpack_require__){"use strict";var own={}.hasOwnProperty;module.exports=stringify;function stringify(value){if(!value||"object"!==typeof value)return null;if(own.call(value,"position")||own.call(value,"type"))return location(value.position);if(own.call(value,"start")||own.call(value,"end"))return location(value);if(own.call(value,"line")||own.call(value,"column"))return position(value);return null}function position(pos){pos&&"object"===typeof pos||(pos={});return index(pos.line)+":"+index(pos.column)}function location(loc){loc&&"object"===typeof loc||(loc={});return position(loc.start)+"-"+position(loc.end)}function index(value){return value&&"number"===typeof value?value:1}},function(module,exports,__webpack_require__){"use strict";(function(process){var path=__webpack_require__(505);var replace=__webpack_require__(2468);var buffer=__webpack_require__(2469);module.exports=VFile;var own={}.hasOwnProperty;var proto=VFile.prototype;proto.toString=toString;var order=["history","path","basename","stem","extname","dirname"];function VFile(options){var prop;var index;var length;if(options){if("string"===typeof options||buffer(options))options={contents:options};else if("message"in options&&"messages"in options)return options}else options={};if(!(this instanceof VFile))return new VFile(options);this.data={};this.messages=[];this.history=[];this.cwd=process.cwd();index=-1;length=order.length;while(++index<length){prop=order[index];own.call(options,prop)&&(this[prop]=options[prop])}for(prop in options)-1===order.indexOf(prop)&&(this[prop]=options[prop])}Object.defineProperty(proto,"path",{get:function(){return this.history[this.history.length-1]},set:function(path){assertNonEmpty(path,"path");path!==this.path&&this.history.push(path)}});Object.defineProperty(proto,"dirname",{get:function(){return"string"===typeof this.path?path.dirname(this.path):void 0},set:function(dirname){assertPath(this.path,"dirname");this.path=path.join(dirname||"",this.basename)}});Object.defineProperty(proto,"basename",{get:function(){return"string"===typeof this.path?path.basename(this.path):void 0},set:function(basename){assertNonEmpty(basename,"basename");assertPart(basename,"basename");this.path=path.join(this.dirname||"",basename)}});Object.defineProperty(proto,"extname",{get:function(){return"string"===typeof this.path?path.extname(this.path):void 0},set:function(extname){var ext=extname||"";assertPart(ext,"extname");assertPath(this.path,"extname");if(ext){if("."!==ext.charAt(0))throw new Error("`extname` must start with `.`");if(-1!==ext.indexOf(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=replace(this.path,ext)}});Object.defineProperty(proto,"stem",{get:function(){return"string"===typeof this.path?path.basename(this.path,this.extname):void 0},set:function(stem){assertNonEmpty(stem,"stem");assertPart(stem,"stem");this.path=path.join(this.dirname||"",stem+(this.extname||""))}});function toString(encoding){var value=this.contents||"";return buffer(value)?value.toString(encoding):String(value)}function assertPart(part,name){if(-1!==part.indexOf(path.sep))throw new Error("`"+name+"` cannot be a path: did not expect `"+path.sep+"`")}function assertNonEmpty(part,name){if(!part)throw new Error("`"+name+"` cannot be empty")}function assertPath(path,name){if(!path)throw new Error("Setting `"+name+"` requires `path` to be set too")}}).call(this,__webpack_require__(59))},function(module,exports,__webpack_require__){"use strict";var path=__webpack_require__(505);function replaceExt(npath,ext){if("string"!==typeof npath)return npath;if(0===npath.length)return npath;var nFileName=path.basename(npath,path.extname(npath))+ext;return path.join(path.dirname(npath),nFileName)}module.exports=replaceExt},function(module,exports){
/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */
module.exports=function(obj){return null!=obj&&(isBuffer(obj)||isSlowBuffer(obj)||!!obj._isBuffer)};function isBuffer(obj){return!!obj.constructor&&"function"===typeof obj.constructor.isBuffer&&obj.constructor.isBuffer(obj)}function isSlowBuffer(obj){return"function"===typeof obj.readFloatLE&&"function"===typeof obj.slice&&isBuffer(obj.slice(0,0))}},function(module,exports,__webpack_require__){"use strict";module.exports=trough;var slice=[].slice;function trough(){var fns=[];var middleware={};middleware.run=run;middleware.use=use;return middleware;function run(){var index=-1;var input=slice.call(arguments,0,-1);var done=arguments[arguments.length-1];if("function"!==typeof done)throw new Error("Expected function as last argument, not "+done);next.apply(null,[null].concat(input));function next(err){var fn=fns[++index];var params=slice.call(arguments,0);var values=params.slice(1);var length=input.length;var pos=-1;if(err){done(err);return}while(++pos<length)null!==values[pos]&&void 0!==values[pos]||(values[pos]=input[pos]);input=values;fn?wrap(fn,next).apply(null,input):done.apply(null,[null].concat(input))}}function use(fn){if("function"!==typeof fn)throw new Error("Expected `fn` to be a function, not "+fn);fns.push(fn);return middleware}}function wrap(fn,next){var invoked;return wrapped;function wrapped(){var params=slice.call(arguments,0);var callback=fn.length>params.length;var result;callback&&params.push(done);try{result=fn.apply(null,params)}catch(err){if(callback&&invoked)throw err;return done(err)}callback||(result&&"function"===typeof result.then?result.then(then,done):result instanceof Error?done(result):then(result))}function done(){if(!invoked){invoked=true;next.apply(null,arguments)}}function then(value){done(null,value)}}},function(module,exports){var toString=Object.prototype.toString;module.exports=isString;function isString(obj){return"[object String]"===toString.call(obj)}},function(module,exports){module.exports=function isFunction(fn){return"[object Function]"===Object.prototype.toString.call(fn)}},function(module,exports,__webpack_require__){"use strict";var toString=Object.prototype.toString;module.exports=function(x){var prototype;return"[object Object]"===toString.call(x)&&(prototype=Object.getPrototypeOf(x),null===prototype||prototype===Object.getPrototypeOf({}))}},function(module,exports,__webpack_require__){"use strict";var unherit=__webpack_require__(2475);var xtend=__webpack_require__(108);var Parser=__webpack_require__(2476);module.exports=parse;parse.Parser=Parser;function parse(options){var Local=unherit(Parser);Local.prototype.options=xtend(Local.prototype.options,this.data("settings"),options);this.Parser=Local}},function(module,exports,__webpack_require__){"use strict";
/**
 * @author Titus Wormer
 * @copyright 2015 Titus Wormer
 * @license MIT
 * @module unherit
 * @fileoverview Create a custom constructor which can be modified
 *   without affecting the original class.
 */var xtend=__webpack_require__(108);var inherits=__webpack_require__(122);module.exports=unherit;function unherit(Super){var result;var key;var value;inherits(Of,Super);inherits(From,Of);result=Of.prototype;for(key in result){value=result[key];value&&"object"===typeof value&&(result[key]="concat"in value?value.concat():xtend(value))}return Of;function From(parameters){return Super.apply(this,parameters)}function Of(){if(!(this instanceof Of))return new From(arguments);return Super.apply(this,arguments)}}},function(module,exports,__webpack_require__){"use strict";var xtend=__webpack_require__(108);var toggle=__webpack_require__(2477);var vfileLocation=__webpack_require__(2478);var unescape=__webpack_require__(2479);var decode=__webpack_require__(2480);var tokenizer=__webpack_require__(2486);module.exports=Parser;function Parser(doc,file){this.file=file;this.offset={};this.options=xtend(this.options);this.setOptions({});this.inList=false;this.inBlock=false;this.inLink=false;this.atStart=true;this.toOffset=vfileLocation(file).toOffset;this.unescape=unescape(this,"escape");this.decode=decode(this)}var proto=Parser.prototype;proto.setOptions=__webpack_require__(2487);proto.parse=__webpack_require__(2490);proto.options=__webpack_require__(919);proto.exitStart=toggle("atStart",true);proto.enterList=toggle("inList",false);proto.enterLink=toggle("inLink",false);proto.enterBlock=toggle("inBlock",false);proto.interruptParagraph=[["thematicBreak"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:false}],["definition",{commonmark:false}],["footnote",{commonmark:false}]];proto.interruptList=[["atxHeading",{pedantic:false}],["fencedCode",{pedantic:false}],["thematicBreak",{pedantic:false}],["definition",{commonmark:false}],["footnote",{commonmark:false}]];proto.interruptBlockquote=[["indentedCode",{commonmark:true}],["fencedCode",{commonmark:true}],["atxHeading",{commonmark:true}],["setextHeading",{commonmark:true}],["thematicBreak",{commonmark:true}],["html",{commonmark:true}],["list",{commonmark:true}],["definition",{commonmark:false}],["footnote",{commonmark:false}]];proto.blockTokenizers={newline:__webpack_require__(2493),indentedCode:__webpack_require__(2494),fencedCode:__webpack_require__(2495),blockquote:__webpack_require__(2496),atxHeading:__webpack_require__(2497),thematicBreak:__webpack_require__(2498),list:__webpack_require__(2499),setextHeading:__webpack_require__(2501),html:__webpack_require__(2502),footnote:__webpack_require__(2503),definition:__webpack_require__(2505),table:__webpack_require__(2506),paragraph:__webpack_require__(2507)};proto.inlineTokenizers={escape:__webpack_require__(2508),autoLink:__webpack_require__(2510),url:__webpack_require__(2511),html:__webpack_require__(2513),link:__webpack_require__(2514),reference:__webpack_require__(2515),strong:__webpack_require__(2516),emphasis:__webpack_require__(2518),deletion:__webpack_require__(2521),code:__webpack_require__(2523),break:__webpack_require__(2525),text:__webpack_require__(2527)};proto.blockMethods=keys(proto.blockTokenizers);proto.inlineMethods=keys(proto.inlineTokenizers);proto.tokenizeBlock=tokenizer("block");proto.tokenizeInline=tokenizer("inline");proto.tokenizeFactory=tokenizer;function keys(value){var result=[];var key;for(key in value)result.push(key);return result}},function(module,exports,__webpack_require__){"use strict";
/**
 * @author Titus Wormer
 * @copyright 2016 Titus Wormer
 * @license MIT
 * @module state-toggle
 * @fileoverview Enter/exit a state.
 */module.exports=factory;function factory(key,state,ctx){return function(){var context=ctx||this;var current=context[key];context[key]=!state;return function(){context[key]=current}}}},function(module,exports,__webpack_require__){"use strict";module.exports=factory;function factory(file){var contents=indices(String(file));return{toPosition:offsetToPositionFactory(contents),toOffset:positionToOffsetFactory(contents)}}function offsetToPositionFactory(indices){return offsetToPosition;function offsetToPosition(offset){var index=-1;var length=indices.length;if(offset<0)return{};while(++index<length)if(indices[index]>offset)return{line:index+1,column:offset-(indices[index-1]||0)+1,offset:offset};return{}}}function positionToOffsetFactory(indices){return positionToOffset;function positionToOffset(position){var line=position&&position.line;var column=position&&position.column;if(!isNaN(line)&&!isNaN(column)&&line-1 in indices)return(indices[line-2]||0)+column-1||0;return-1}}function indices(value){var result=[];var index=value.indexOf("\n");while(-1!==index){result.push(index+1);index=value.indexOf("\n",index+1)}result.push(value.length+1);return result}},function(module,exports,__webpack_require__){"use strict";module.exports=factory;function factory(ctx,key){return unescape;function unescape(value){var prev=0;var index=value.indexOf("\\");var escape=ctx[key];var queue=[];var character;while(-1!==index){queue.push(value.slice(prev,index));prev=index+1;character=value.charAt(prev);character&&-1!==escape.indexOf(character)||queue.push("\\");index=value.indexOf("\\",prev)}queue.push(value.slice(prev));return queue.join("")}}},function(module,exports,__webpack_require__){"use strict";var xtend=__webpack_require__(108);var entities=__webpack_require__(507);module.exports=factory;function factory(ctx){decoder.raw=decodeRaw;return decoder;function normalize(position){var offsets=ctx.offset;var line=position.line;var result=[];while(++line){if(!(line in offsets))break;result.push((offsets[line]||0)+1)}return{start:position,indent:result}}function handleWarning(reason,position,code){if(3===code)return;ctx.file.message(reason,position)}function decoder(value,position,handler){entities(value,{position:normalize(position),warning:handleWarning,text:handler,reference:handler,textContext:ctx,referenceContext:ctx})}function decodeRaw(value,position,options){return entities(value,xtend(options,{position:normalize(position),warning:handleWarning}))}}},function(module){module.exports={AEli:"Æ",AElig:"Æ",AM:"&",AMP:"&",Aacut:"Á",Aacute:"Á",Abreve:"Ă",Acir:"Â",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrav:"À",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",Arin:"Å",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atild:"Ã",Atilde:"Ã",Aum:"Ä",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COP:"©",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedi:"Ç",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ET:"Ð",ETH:"Ð",Eacut:"É",Eacute:"É",Ecaron:"Ě",Ecir:"Ê",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrav:"È",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Eum:"Ë",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",G:">",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"Ĳ",IOcy:"Ё",Iacut:"Í",Iacute:"Í",Icir:"Î",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrav:"Ì",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Ium:"Ï",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",L:"<",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntild:"Ñ",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacut:"Ó",Oacute:"Ó",Ocir:"Ô",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograv:"Ò",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslas:"Ø",Oslash:"Ø",Otild:"Õ",Otilde:"Õ",Otimes:"⨷",Oum:"Ö",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUO:'"',QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",RE:"®",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THOR:"Þ",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacut:"Ú",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucir:"Û",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrav:"Ù",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uum:"Ü",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacut:"Ý",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacut:"á",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acir:"â",acirc:"â",acut:"´",acute:"´",acy:"а",aeli:"æ",aelig:"æ",af:"⁡",afr:"𝔞",agrav:"à",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",am:"&",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",arin:"å",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atild:"ã",atilde:"ã",aum:"ä",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",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:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvba:"¦",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedi:"ç",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedi:"¸",cedil:"¸",cemptyv:"⦲",cen:"¢",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",cop:"©",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curre:"¤",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",de:"°",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divid:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacut:"é",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"ê",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrav:"è",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",et:"ð",eth:"ð",eum:"ë",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",ffr:"𝔣",filig:"ﬁ",fjlig:"fj",flat:"♭",fllig:"ﬂ",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac1:"¼",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac3:"¾",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",g:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacut:"í",iacute:"í",ic:"⁣",icir:"î",icirc:"î",icy:"и",iecy:"е",iexc:"¡",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrav:"ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ĳ",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iques:"¿",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",ium:"ï",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laqu:"«",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",l:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",mac:"¯",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micr:"µ",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middo:"·",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ŉ",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbs:" ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",no:"¬",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",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:"≹",ntild:"ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacut:"ó",oacute:"ó",oast:"⊛",ocir:"ô",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograv:"ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"º",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslas:"ø",oslash:"ø",osol:"⊘",otild:"õ",otilde:"õ",otimes:"⊗",otimesas:"⨶",oum:"ö",ouml:"ö",ovbar:"⌽",par:"¶",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusm:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",poun:"£",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quo:'"',quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raqu:"»",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",re:"®",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sec:"§",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",sh:"­",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szli:"ß",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thor:"þ",thorn:"þ",tilde:"˜",time:"×",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacut:"ú",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucir:"û",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrav:"ù",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",um:"¨",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uum:"ü",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacut:"ý",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",ye:"¥",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yum:"ÿ",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},function(module){module.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}},function(module){module.exports={0:"�",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:"Ÿ"}},function(module,exports,__webpack_require__){"use strict";module.exports=hexadecimal;function hexadecimal(character){var code="string"===typeof character?character.charCodeAt(0):character;return code>=97&&code<=102||code>=65&&code<=70||code>=48&&code<=57}},function(module,exports,__webpack_require__){"use strict";var alphabetical=__webpack_require__(918);var decimal=__webpack_require__(345);module.exports=alphanumerical;function alphanumerical(character){return alphabetical(character)||decimal(character)}},function(module,exports,__webpack_require__){"use strict";module.exports=factory;var MERGEABLE_NODES={text:mergeText,blockquote:mergeBlockquote};function mergeable(node){var start;var end;if("text"!==node.type||!node.position)return true;start=node.position.start;end=node.position.end;return start.line!==end.line||end.column-start.column===node.value.length}function mergeText(prev,node){prev.value+=node.value;return prev}function mergeBlockquote(prev,node){if(this.options.commonmark)return node;prev.children=prev.children.concat(node.children);return prev}function factory(type){return tokenize;function tokenize(value,location){var self=this;var offset=self.offset;var tokens=[];var methods=self[type+"Methods"];var tokenizers=self[type+"Tokenizers"];var line=location.line;var column=location.column;var index;var length;var method;var name;var matched;var valueLength;if(!value)return tokens;eat.now=now;eat.file=self.file;updatePosition("");while(value){index=-1;length=methods.length;matched=false;while(++index<length){name=methods[index];method=tokenizers[name];if(method&&(!method.onlyAtStart||self.atStart)&&(!method.notInList||!self.inList)&&(!method.notInBlock||!self.inBlock)&&(!method.notInLink||!self.inLink)){valueLength=value.length;method.apply(self,[eat,value]);matched=valueLength!==value.length;if(matched)break}}matched||self.file.fail(new Error("Infinite loop"),eat.now())}self.eof=now();return tokens;function updatePosition(subvalue){var lastIndex=-1;var index=subvalue.indexOf("\n");while(-1!==index){line++;lastIndex=index;index=subvalue.indexOf("\n",index+1)}-1===lastIndex?column+=subvalue.length:column=subvalue.length-lastIndex;line in offset&&(-1!==lastIndex?column+=offset[line]:column<=offset[line]&&(column=offset[line]+1))}function getOffset(){var indentation=[];var pos=line+1;return function(){var last=line+1;while(pos<last){indentation.push((offset[pos]||0)+1);pos++}return indentation}}function now(){var pos={line:line,column:column};pos.offset=self.toOffset(pos);return pos}function Position(start){this.start=start;this.end=now()}function validateEat(subvalue){value.substring(0,subvalue.length)!==subvalue&&self.file.fail(new Error("Incorrectly eaten value: please report this warning on http://git.io/vg5Ft"),now())}function position(){var before=now();return update;function update(node,indent){var prev=node.position;var start=prev?prev.start:before;var combined=[];var n=prev&&prev.end.line;var l=before.line;node.position=new Position(start);if(prev&&indent&&prev.indent){combined=prev.indent;if(n<l){while(++n<l)combined.push((offset[n]||0)+1);combined.push(before.column)}indent=combined.concat(indent)}node.position.indent=indent||[];return node}}function add(node,parent){var children=parent?parent.children:tokens;var prev=children[children.length-1];prev&&node.type===prev.type&&node.type in MERGEABLE_NODES&&mergeable(prev)&&mergeable(node)&&(node=MERGEABLE_NODES[node.type].call(self,prev,node));node!==prev&&children.push(node);self.atStart&&0!==tokens.length&&self.exitStart();return node}function eat(subvalue){var indent=getOffset();var pos=position();var current=now();validateEat(subvalue);apply.reset=reset;reset.test=test;apply.test=test;value=value.substring(subvalue.length);updatePosition(subvalue);indent=indent();return apply;function apply(node,parent){return pos(add(pos(node),parent),indent)}function reset(){var node=apply.apply(null,arguments);line=current.line;column=current.column;value=subvalue+value;return node}function test(){var result=pos({});line=current.line;column=current.column;value=subvalue+value;return result.position}}}}},function(module,exports,__webpack_require__){"use strict";var xtend=__webpack_require__(108);var escapes=__webpack_require__(2488);var defaults=__webpack_require__(919);module.exports=setOptions;function setOptions(options){var self=this;var current=self.options;var key;var value;if(null==options)options={};else{if("object"!==typeof options)throw new Error("Invalid value `"+options+"` for setting `options`");options=xtend(options)}for(key in defaults){value=options[key];null==value&&(value=current[key]);if("blocks"!==key&&"boolean"!==typeof value||"blocks"===key&&"object"!==typeof value)throw new Error("Invalid value `"+value+"` for setting `options."+key+"`");options[key]=value}self.options=options;self.escape=escapes(options);return self}},function(module,exports,__webpack_require__){"use strict";module.exports=escapes;var defaults=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"];var gfm=defaults.concat(["~","|"]);var commonmark=gfm.concat(["\n",'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);escapes.default=defaults;escapes.gfm=gfm;escapes.commonmark=commonmark;function escapes(options){var settings=options||{};if(settings.commonmark)return commonmark;return settings.gfm?gfm:defaults}},function(module){module.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(module,exports,__webpack_require__){"use strict";var xtend=__webpack_require__(108);var removePosition=__webpack_require__(2491);module.exports=parse;var C_NEWLINE="\n";var EXPRESSION_LINE_BREAKS=/\r\n|\r/g;function parse(){var self=this;var value=String(self.file);var start={line:1,column:1,offset:0};var content=xtend(start);var node;value=value.replace(EXPRESSION_LINE_BREAKS,C_NEWLINE);if(65279===value.charCodeAt(0)){value=value.slice(1);content.column++;content.offset++}node={type:"root",children:self.tokenizeBlock(value,content),position:{start:start,end:self.eof||xtend(start)}};self.options.position||removePosition(node,true);return node}},function(module,exports,__webpack_require__){"use strict";var visit=__webpack_require__(346);module.exports=removePosition;function removePosition(node,force){visit(node,force?hard:soft);return node}function hard(node){delete node.position}function soft(node){node.position=void 0}},function(module,exports,__webpack_require__){"use strict";module.exports=is;function is(test,node,index,parent,context){var hasParent=null!==parent&&void 0!==parent;var hasIndex=null!==index&&void 0!==index;var check=convert(test);if(hasIndex&&("number"!==typeof index||index<0||Infinity===index))throw new Error("Expected positive finite index or child node");if(hasParent&&(!is(null,parent)||!parent.children))throw new Error("Expected parent node");if(!node||!node.type||"string"!==typeof node.type)return false;if(hasParent!==hasIndex)throw new Error("Expected both parent and index");return Boolean(check.call(context,node,index,parent))}function convert(test){if("string"===typeof test)return typeFactory(test);if(null===test||void 0===test)return ok;if("object"===typeof test)return("length"in test?anyFactory:matchesFactory)(test);if("function"===typeof test)return test;throw new Error("Expected function, string, or object as test")}function convertAll(tests){var results=[];var length=tests.length;var index=-1;while(++index<length)results[index]=convert(tests[index]);return results}function matchesFactory(test){return matches;function matches(node){var key;for(key in test)if(node[key]!==test[key])return false;return true}}function anyFactory(tests){var checks=convertAll(tests);var length=checks.length;return matches;function matches(){var index=-1;while(++index<length)if(checks[index].apply(this,arguments))return true;return false}}function typeFactory(test){return type;function type(node){return Boolean(node&&node.type===test)}}function ok(){return true}},function(module,exports,__webpack_require__){"use strict";var whitespace=__webpack_require__(88);module.exports=newline;function newline(eat,value,silent){var character=value.charAt(0);var length;var subvalue;var queue;var index;if("\n"!==character)return;if(silent)return true;index=1;length=value.length;subvalue=character;queue="";while(index<length){character=value.charAt(index);if(!whitespace(character))break;queue+=character;if("\n"===character){subvalue+=queue;queue=""}index++}eat(subvalue)}},function(module,exports,__webpack_require__){"use strict";var repeat=__webpack_require__(508);var trim=__webpack_require__(509);module.exports=indentedCode;var C_NEWLINE="\n";var C_TAB="\t";var C_SPACE=" ";var CODE_INDENT_COUNT=4;var CODE_INDENT=repeat(C_SPACE,CODE_INDENT_COUNT);function indentedCode(eat,value,silent){var index=-1;var length=value.length;var subvalue="";var content="";var subvalueQueue="";var contentQueue="";var character;var blankQueue;var indent;while(++index<length){character=value.charAt(index);if(indent){indent=false;subvalue+=subvalueQueue;content+=contentQueue;subvalueQueue="";contentQueue="";if(character===C_NEWLINE){subvalueQueue=character;contentQueue=character}else{subvalue+=character;content+=character;while(++index<length){character=value.charAt(index);if(!character||character===C_NEWLINE){contentQueue=character;subvalueQueue=character;break}subvalue+=character;content+=character}}}else if(character===C_SPACE&&value.charAt(index+1)===character&&value.charAt(index+2)===character&&value.charAt(index+3)===character){subvalueQueue+=CODE_INDENT;index+=3;indent=true}else if(character===C_TAB){subvalueQueue+=character;indent=true}else{blankQueue="";while(character===C_TAB||character===C_SPACE){blankQueue+=character;character=value.charAt(++index)}if(character!==C_NEWLINE)break;subvalueQueue+=blankQueue+character;contentQueue+=character}}if(content){if(silent)return true;return eat(subvalue)({type:"code",lang:null,value:trim(content)})}}},function(module,exports,__webpack_require__){"use strict";var trim=__webpack_require__(509);module.exports=fencedCode;var C_NEWLINE="\n";var C_TAB="\t";var C_SPACE=" ";var C_TILDE="~";var C_TICK="`";var MIN_FENCE_COUNT=3;var CODE_INDENT_COUNT=4;function fencedCode(eat,value,silent){var self=this;var settings=self.options;var length=value.length+1;var index=0;var subvalue="";var fenceCount;var marker;var character;var flag;var queue;var content;var exdentedContent;var closing;var exdentedClosing;var indent;var now;if(!settings.gfm)return;while(index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB)break;subvalue+=character;index++}indent=index;character=value.charAt(index);if(character!==C_TILDE&&character!==C_TICK)return;index++;marker=character;fenceCount=1;subvalue+=character;while(index<length){character=value.charAt(index);if(character!==marker)break;subvalue+=character;fenceCount++;index++}if(fenceCount<MIN_FENCE_COUNT)return;while(index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB)break;subvalue+=character;index++}flag="";queue="";while(index<length){character=value.charAt(index);if(character===C_NEWLINE||character===C_TILDE||character===C_TICK)break;if(character===C_SPACE||character===C_TAB)queue+=character;else{flag+=queue+character;queue=""}index++}character=value.charAt(index);if(character&&character!==C_NEWLINE)return;if(silent)return true;now=eat.now();now.column+=subvalue.length;now.offset+=subvalue.length;subvalue+=flag;flag=self.decode.raw(self.unescape(flag),now);queue&&(subvalue+=queue);queue="";closing="";exdentedClosing="";content="";exdentedContent="";while(index<length){character=value.charAt(index);content+=closing;exdentedContent+=exdentedClosing;closing="";exdentedClosing="";if(character!==C_NEWLINE){content+=character;exdentedClosing+=character;index++;continue}if(content){closing+=character;exdentedClosing+=character}else subvalue+=character;queue="";index++;while(index<length){character=value.charAt(index);if(character!==C_SPACE)break;queue+=character;index++}closing+=queue;exdentedClosing+=queue.slice(indent);if(queue.length>=CODE_INDENT_COUNT)continue;queue="";while(index<length){character=value.charAt(index);if(character!==marker)break;queue+=character;index++}closing+=queue;exdentedClosing+=queue;if(queue.length<fenceCount)continue;queue="";while(index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB)break;closing+=character;exdentedClosing+=character;index++}if(!character||character===C_NEWLINE)break}subvalue+=content+closing;return eat(subvalue)({type:"code",lang:flag||null,value:trim(exdentedContent)})}},function(module,exports,__webpack_require__){"use strict";var trim=__webpack_require__(213);var interrupt=__webpack_require__(510);module.exports=blockquote;var C_NEWLINE="\n";var C_TAB="\t";var C_SPACE=" ";var C_GT=">";function blockquote(eat,value,silent){var self=this;var offsets=self.offset;var tokenizers=self.blockTokenizers;var interruptors=self.interruptBlockquote;var now=eat.now();var currentLine=now.line;var length=value.length;var values=[];var contents=[];var indents=[];var add;var index=0;var character;var rest;var nextIndex;var content;var line;var startIndex;var prefixed;var exit;while(index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB)break;index++}if(value.charAt(index)!==C_GT)return;if(silent)return true;index=0;while(index<length){nextIndex=value.indexOf(C_NEWLINE,index);startIndex=index;prefixed=false;-1===nextIndex&&(nextIndex=length);while(index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB)break;index++}if(value.charAt(index)===C_GT){index++;prefixed=true;value.charAt(index)===C_SPACE&&index++}else index=startIndex;content=value.slice(index,nextIndex);if(!prefixed&&!trim(content)){index=startIndex;break}if(!prefixed){rest=value.slice(index);if(interrupt(interruptors,tokenizers,self,[eat,rest,true]))break}line=startIndex===index?content:value.slice(startIndex,nextIndex);indents.push(index-startIndex);values.push(line);contents.push(content);index=nextIndex+1}index=-1;length=indents.length;add=eat(values.join(C_NEWLINE));while(++index<length){offsets[currentLine]=(offsets[currentLine]||0)+indents[index];currentLine++}exit=self.enterBlock();contents=self.tokenizeBlock(contents.join(C_NEWLINE),now);exit();return add({type:"blockquote",children:contents})}},function(module,exports,__webpack_require__){"use strict";module.exports=atxHeading;var C_NEWLINE="\n";var C_TAB="\t";var C_SPACE=" ";var C_HASH="#";var MAX_ATX_COUNT=6;function atxHeading(eat,value,silent){var self=this;var settings=self.options;var length=value.length+1;var index=-1;var now=eat.now();var subvalue="";var content="";var character;var queue;var depth;while(++index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB){index--;break}subvalue+=character}depth=0;while(++index<=length){character=value.charAt(index);if(character!==C_HASH){index--;break}subvalue+=character;depth++}if(depth>MAX_ATX_COUNT)return;if(!depth||!settings.pedantic&&value.charAt(index+1)===C_HASH)return;length=value.length+1;queue="";while(++index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB){index--;break}queue+=character}if(!settings.pedantic&&0===queue.length&&character&&character!==C_NEWLINE)return;if(silent)return true;subvalue+=queue;queue="";content="";while(++index<length){character=value.charAt(index);if(!character||character===C_NEWLINE)break;if(character!==C_SPACE&&character!==C_TAB&&character!==C_HASH){content+=queue+character;queue="";continue}while(character===C_SPACE||character===C_TAB){queue+=character;character=value.charAt(++index)}while(character===C_HASH){queue+=character;character=value.charAt(++index)}while(character===C_SPACE||character===C_TAB){queue+=character;character=value.charAt(++index)}index--}now.column+=subvalue.length;now.offset+=subvalue.length;subvalue+=content+queue;return eat(subvalue)({type:"heading",depth:depth,children:self.tokenizeInline(content,now)})}},function(module,exports,__webpack_require__){"use strict";module.exports=thematicBreak;var C_NEWLINE="\n";var C_TAB="\t";var C_SPACE=" ";var C_ASTERISK="*";var C_UNDERSCORE="_";var C_DASH="-";var THEMATIC_BREAK_MARKER_COUNT=3;function thematicBreak(eat,value,silent){var index=-1;var length=value.length+1;var subvalue="";var character;var marker;var markerCount;var queue;while(++index<length){character=value.charAt(index);if(character!==C_TAB&&character!==C_SPACE)break;subvalue+=character}if(character!==C_ASTERISK&&character!==C_DASH&&character!==C_UNDERSCORE)return;marker=character;subvalue+=character;markerCount=1;queue="";while(++index<length){character=value.charAt(index);if(character===marker){markerCount++;subvalue+=queue+marker;queue=""}else{if(character!==C_SPACE){if(markerCount>=THEMATIC_BREAK_MARKER_COUNT&&(!character||character===C_NEWLINE)){subvalue+=queue;if(silent)return true;return eat(subvalue)({type:"thematicBreak"})}return}queue+=character}}}},function(module,exports,__webpack_require__){"use strict";var trim=__webpack_require__(213);var repeat=__webpack_require__(508);var decimal=__webpack_require__(345);var getIndent=__webpack_require__(920);var removeIndent=__webpack_require__(2500);var interrupt=__webpack_require__(510);module.exports=list;var C_ASTERISK="*";var C_UNDERSCORE="_";var C_PLUS="+";var C_DASH="-";var C_DOT=".";var C_SPACE=" ";var C_NEWLINE="\n";var C_TAB="\t";var C_PAREN_CLOSE=")";var C_X_LOWER="x";var TAB_SIZE=4;var EXPRESSION_LOOSE_LIST_ITEM=/\n\n(?!\s*$)/;var EXPRESSION_TASK_ITEM=/^\[([ \t]|x|X)][ \t]/;var EXPRESSION_BULLET=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/;var EXPRESSION_PEDANTIC_BULLET=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/;var EXPRESSION_INITIAL_INDENT=/^( {1,4}|\t)?/gm;var LIST_UNORDERED_MARKERS={};LIST_UNORDERED_MARKERS[C_ASTERISK]=true;LIST_UNORDERED_MARKERS[C_PLUS]=true;LIST_UNORDERED_MARKERS[C_DASH]=true;var LIST_ORDERED_MARKERS={};LIST_ORDERED_MARKERS[C_DOT]=true;var LIST_ORDERED_COMMONMARK_MARKERS={};LIST_ORDERED_COMMONMARK_MARKERS[C_DOT]=true;LIST_ORDERED_COMMONMARK_MARKERS[C_PAREN_CLOSE]=true;function list(eat,value,silent){var self=this;var commonmark=self.options.commonmark;var pedantic=self.options.pedantic;var tokenizers=self.blockTokenizers;var interuptors=self.interruptList;var markers;var index=0;var length=value.length;var start=null;var size=0;var queue;var ordered;var character;var marker;var nextIndex;var startIndex;var prefixed;var currentMarker;var content;var line;var prevEmpty;var empty;var items;var allLines;var emptyLines;var item;var enterTop;var exitBlockquote;var isLoose;var node;var now;var end;var indented;while(index<length){character=value.charAt(index);if(character===C_TAB)size+=TAB_SIZE-size%TAB_SIZE;else{if(character!==C_SPACE)break;size++}index++}if(size>=TAB_SIZE)return;character=value.charAt(index);markers=commonmark?LIST_ORDERED_COMMONMARK_MARKERS:LIST_ORDERED_MARKERS;if(true===LIST_UNORDERED_MARKERS[character]){marker=character;ordered=false}else{ordered=true;queue="";while(index<length){character=value.charAt(index);if(!decimal(character))break;queue+=character;index++}character=value.charAt(index);if(!queue||true!==markers[character])return;start=parseInt(queue,10);marker=character}character=value.charAt(++index);if(character!==C_SPACE&&character!==C_TAB)return;if(silent)return true;index=0;items=[];allLines=[];emptyLines=[];while(index<length){nextIndex=value.indexOf(C_NEWLINE,index);startIndex=index;prefixed=false;indented=false;-1===nextIndex&&(nextIndex=length);end=index+TAB_SIZE;size=0;while(index<length){character=value.charAt(index);if(character===C_TAB)size+=TAB_SIZE-size%TAB_SIZE;else{if(character!==C_SPACE)break;size++}index++}size>=TAB_SIZE&&(indented=true);item&&size>=item.indent&&(indented=true);character=value.charAt(index);currentMarker=null;if(!indented){if(true===LIST_UNORDERED_MARKERS[character]){currentMarker=character;index++;size++}else{queue="";while(index<length){character=value.charAt(index);if(!decimal(character))break;queue+=character;index++}character=value.charAt(index);index++;if(queue&&true===markers[character]){currentMarker=character;size+=queue.length+1}}if(currentMarker){character=value.charAt(index);if(character===C_TAB){size+=TAB_SIZE-size%TAB_SIZE;index++}else if(character===C_SPACE){end=index+TAB_SIZE;while(index<end){if(value.charAt(index)!==C_SPACE)break;index++;size++}if(index===end&&value.charAt(index)===C_SPACE){index-=TAB_SIZE-1;size-=TAB_SIZE-1}}else character!==C_NEWLINE&&""!==character&&(currentMarker=null)}}if(currentMarker){if(!pedantic&&marker!==currentMarker)break;prefixed=true}else{commonmark||indented||value.charAt(startIndex)!==C_SPACE?commonmark&&item&&(indented=size>=item.indent||size>TAB_SIZE):indented=true;prefixed=false;index=startIndex}line=value.slice(startIndex,nextIndex);content=startIndex===index?line:value.slice(index,nextIndex);if((currentMarker===C_ASTERISK||currentMarker===C_UNDERSCORE||currentMarker===C_DASH)&&tokenizers.thematicBreak.call(self,eat,line,true))break;prevEmpty=empty;empty=!trim(content).length;if(indented&&item){item.value=item.value.concat(emptyLines,line);allLines=allLines.concat(emptyLines,line);emptyLines=[]}else if(prefixed){if(0!==emptyLines.length){item.value.push("");item.trail=emptyLines.concat()}item={value:[line],indent:size,trail:[]};items.push(item);allLines=allLines.concat(emptyLines,line);emptyLines=[]}else if(empty){if(prevEmpty)break;emptyLines.push(line)}else{if(prevEmpty)break;if(interrupt(interuptors,tokenizers,self,[eat,line,true]))break;item.value=item.value.concat(emptyLines,line);allLines=allLines.concat(emptyLines,line);emptyLines=[]}index=nextIndex+1}node=eat(allLines.join(C_NEWLINE)).reset({type:"list",ordered:ordered,start:start,loose:null,children:[]});enterTop=self.enterList();exitBlockquote=self.enterBlock();isLoose=false;index=-1;length=items.length;while(++index<length){item=items[index].value.join(C_NEWLINE);now=eat.now();item=eat(item)(listItem(self,item,now),node);item.loose&&(isLoose=true);item=items[index].trail.join(C_NEWLINE);index!==length-1&&(item+=C_NEWLINE);eat(item)}enterTop();exitBlockquote();node.loose=isLoose;return node}function listItem(ctx,value,position){var offsets=ctx.offset;var fn=ctx.options.pedantic?pedanticListItem:normalListItem;var checked=null;var task;var indent;value=fn.apply(null,arguments);if(ctx.options.gfm){task=value.match(EXPRESSION_TASK_ITEM);if(task){indent=task[0].length;checked=task[1].toLowerCase()===C_X_LOWER;offsets[position.line]+=indent;value=value.slice(indent)}}return{type:"listItem",loose:EXPRESSION_LOOSE_LIST_ITEM.test(value)||value.charAt(value.length-1)===C_NEWLINE,checked:checked,children:ctx.tokenizeBlock(value,position)}}function pedanticListItem(ctx,value,position){var offsets=ctx.offset;var line=position.line;value=value.replace(EXPRESSION_PEDANTIC_BULLET,replacer);line=position.line;return value.replace(EXPRESSION_INITIAL_INDENT,replacer);function replacer($0){offsets[line]=(offsets[line]||0)+$0.length;line++;return""}}function normalListItem(ctx,value,position){var offsets=ctx.offset;var line=position.line;var max;var bullet;var rest;var lines;var trimmedLines;var index;var length;value=value.replace(EXPRESSION_BULLET,replacer);lines=value.split(C_NEWLINE);trimmedLines=removeIndent(value,getIndent(max).indent).split(C_NEWLINE);trimmedLines[0]=rest;offsets[line]=(offsets[line]||0)+bullet.length;line++;index=0;length=lines.length;while(++index<length){offsets[line]=(offsets[line]||0)+lines[index].length-trimmedLines[index].length;line++}return trimmedLines.join(C_NEWLINE);function replacer($0,$1,$2,$3,$4){bullet=$1+$2+$3;rest=$4;Number($2)<10&&bullet.length%2===1&&($2=C_SPACE+$2);max=$1+repeat(C_SPACE,$2.length)+$3;return max+rest}}},function(module,exports,__webpack_require__){"use strict";var trim=__webpack_require__(213);var repeat=__webpack_require__(508);var getIndent=__webpack_require__(920);module.exports=indentation;var C_SPACE=" ";var C_NEWLINE="\n";var C_TAB="\t";function indentation(value,maximum){var values=value.split(C_NEWLINE);var position=values.length+1;var minIndent=Infinity;var matrix=[];var index;var indentation;var stops;var padding;values.unshift(repeat(C_SPACE,maximum)+"!");while(position--){indentation=getIndent(values[position]);matrix[position]=indentation.stops;if(0===trim(values[position]).length)continue;if(!indentation.indent){minIndent=Infinity;break}indentation.indent>0&&indentation.indent<minIndent&&(minIndent=indentation.indent)}if(Infinity!==minIndent){position=values.length;while(position--){stops=matrix[position];index=minIndent;while(index&&!(index in stops))index--;padding=0!==trim(values[position]).length&&minIndent&&index!==minIndent?C_TAB:"";values[position]=padding+values[position].slice(index in stops?stops[index]+1:0)}}values.shift();return values.join(C_NEWLINE)}},function(module,exports,__webpack_require__){"use strict";module.exports=setextHeading;var C_NEWLINE="\n";var C_TAB="\t";var C_SPACE=" ";var C_EQUALS="=";var C_DASH="-";var MAX_HEADING_INDENT=3;var SETEXT_MARKERS={};SETEXT_MARKERS[C_EQUALS]=1;SETEXT_MARKERS[C_DASH]=2;function setextHeading(eat,value,silent){var self=this;var now=eat.now();var length=value.length;var index=-1;var subvalue="";var content;var queue;var character;var marker;var depth;while(++index<length){character=value.charAt(index);if(character!==C_SPACE||index>=MAX_HEADING_INDENT){index--;break}subvalue+=character}content="";queue="";while(++index<length){character=value.charAt(index);if(character===C_NEWLINE){index--;break}if(character===C_SPACE||character===C_TAB)queue+=character;else{content+=queue+character;queue=""}}now.column+=subvalue.length;now.offset+=subvalue.length;subvalue+=content+queue;character=value.charAt(++index);marker=value.charAt(++index);if(character!==C_NEWLINE||!SETEXT_MARKERS[marker])return;subvalue+=character;queue=marker;depth=SETEXT_MARKERS[marker];while(++index<length){character=value.charAt(index);if(character!==marker){if(character!==C_NEWLINE)return;index--;break}queue+=character}if(silent)return true;return eat(subvalue+queue)({type:"heading",depth:depth,children:self.tokenizeInline(content,now)})}},function(module,exports,__webpack_require__){"use strict";var openCloseTag=__webpack_require__(921).openCloseTag;module.exports=blockHTML;var C_TAB="\t";var C_SPACE=" ";var C_NEWLINE="\n";var C_LT="<";function blockHTML(eat,value,silent){var self=this;var blocks=self.options.blocks;var length=value.length;var index=0;var next;var line;var offset;var character;var count;var sequence;var subvalue;var sequences=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,true],[/^<!--/,/-->/,true],[/^<\?/,/\?>/,true],[/^<![A-Za-z]/,/>/,true],[/^<!\[CDATA\[/,/\]\]>/,true],[new RegExp("^</?("+blocks.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,true],[new RegExp(openCloseTag.source+"\\s*$"),/^$/,false]];while(index<length){character=value.charAt(index);if(character!==C_TAB&&character!==C_SPACE)break;index++}if(value.charAt(index)!==C_LT)return;next=value.indexOf(C_NEWLINE,index+1);next=-1===next?length:next;line=value.slice(index,next);offset=-1;count=sequences.length;while(++offset<count)if(sequences[offset][0].test(line)){sequence=sequences[offset];break}if(!sequence)return;if(silent)return sequence[2];index=next;if(!sequence[1].test(line))while(index<length){next=value.indexOf(C_NEWLINE,index+1);next=-1===next?length:next;line=value.slice(index+1,next);if(sequence[1].test(line)){line&&(index=next);break}index=next}subvalue=value.slice(0,index);return eat(subvalue)({type:"html",value:subvalue})}},function(module,exports,__webpack_require__){"use strict";var whitespace=__webpack_require__(88);var normalize=__webpack_require__(511);module.exports=footnoteDefinition;footnoteDefinition.notInList=true;footnoteDefinition.notInBlock=true;var C_BACKSLASH="\\";var C_NEWLINE="\n";var C_TAB="\t";var C_SPACE=" ";var C_BRACKET_OPEN="[";var C_BRACKET_CLOSE="]";var C_CARET="^";var C_COLON=":";var EXPRESSION_INITIAL_TAB=/^( {4}|\t)?/gm;function footnoteDefinition(eat,value,silent){var self=this;var offsets=self.offset;var index;var length;var subvalue;var now;var currentLine;var content;var queue;var subqueue;var character;var identifier;var add;var exit;if(!self.options.footnotes)return;index=0;length=value.length;subvalue="";now=eat.now();currentLine=now.line;while(index<length){character=value.charAt(index);if(!whitespace(character))break;subvalue+=character;index++}if(value.charAt(index)!==C_BRACKET_OPEN||value.charAt(index+1)!==C_CARET)return;subvalue+=C_BRACKET_OPEN+C_CARET;index=subvalue.length;queue="";while(index<length){character=value.charAt(index);if(character===C_BRACKET_CLOSE)break;if(character===C_BACKSLASH){queue+=character;index++;character=value.charAt(index)}queue+=character;index++}if(!queue||value.charAt(index)!==C_BRACKET_CLOSE||value.charAt(index+1)!==C_COLON)return;if(silent)return true;identifier=normalize(queue);subvalue+=queue+C_BRACKET_CLOSE+C_COLON;index=subvalue.length;while(index<length){character=value.charAt(index);if(character!==C_TAB&&character!==C_SPACE)break;subvalue+=character;index++}now.column+=subvalue.length;now.offset+=subvalue.length;queue="";content="";subqueue="";while(index<length){character=value.charAt(index);if(character===C_NEWLINE){subqueue=character;index++;while(index<length){character=value.charAt(index);if(character!==C_NEWLINE)break;subqueue+=character;index++}queue+=subqueue;subqueue="";while(index<length){character=value.charAt(index);if(character!==C_SPACE)break;subqueue+=character;index++}if(0===subqueue.length)break;queue+=subqueue}if(queue){content+=queue;queue=""}content+=character;index++}subvalue+=content;content=content.replace(EXPRESSION_INITIAL_TAB,function(line){offsets[currentLine]=(offsets[currentLine]||0)+line.length;currentLine++;return""});add=eat(subvalue);exit=self.enterBlock();content=self.tokenizeBlock(content,now);exit();return add({type:"footnoteDefinition",identifier:identifier,children:content})}},function(module,exports,__webpack_require__){"use strict";module.exports=collapse;function collapse(value){return String(value).replace(/\s+/g," ")}},function(module,exports,__webpack_require__){"use strict";var whitespace=__webpack_require__(88);var normalize=__webpack_require__(511);module.exports=definition;definition.notInList=true;definition.notInBlock=true;var C_DOUBLE_QUOTE='"';var C_SINGLE_QUOTE="'";var C_BACKSLASH="\\";var C_NEWLINE="\n";var C_TAB="\t";var C_SPACE=" ";var C_BRACKET_OPEN="[";var C_BRACKET_CLOSE="]";var C_PAREN_OPEN="(";var C_PAREN_CLOSE=")";var C_COLON=":";var C_LT="<";var C_GT=">";function definition(eat,value,silent){var self=this;var commonmark=self.options.commonmark;var index=0;var length=value.length;var subvalue="";var beforeURL;var beforeTitle;var queue;var character;var test;var identifier;var url;var title;while(index<length){character=value.charAt(index);if(character!==C_SPACE&&character!==C_TAB)break;subvalue+=character;index++}character=value.charAt(index);if(character!==C_BRACKET_OPEN)return;index++;subvalue+=character;queue="";while(index<length){character=value.charAt(index);if(character===C_BRACKET_CLOSE)break;if(character===C_BACKSLASH){queue+=character;index++;character=value.charAt(index)}queue+=character;index++}if(!queue||value.charAt(index)!==C_BRACKET_CLOSE||value.charAt(index+1)!==C_COLON)return;identifier=queue;subvalue+=queue+C_BRACKET_CLOSE+C_COLON;index=subvalue.length;queue="";while(index<length){character=value.charAt(index);if(character!==C_TAB&&character!==C_SPACE&&character!==C_NEWLINE)break;subvalue+=character;index++}character=value.charAt(index);queue="";beforeURL=subvalue;if(character===C_LT){index++;while(index<length){character=value.charAt(index);if(!isEnclosedURLCharacter(character))break;queue+=character;index++}character=value.charAt(index);if(character===isEnclosedURLCharacter.delimiter){subvalue+=C_LT+queue+character;index++}else{if(commonmark)return;index-=queue.length+1;queue=""}}if(!queue){while(index<length){character=value.charAt(index);if(!isUnclosedURLCharacter(character))break;queue+=character;index++}subvalue+=queue}if(!queue)return;url=queue;queue="";while(index<length){character=value.charAt(index);if(character!==C_TAB&&character!==C_SPACE&&character!==C_NEWLINE)break;queue+=character;index++}character=value.charAt(index);test=null;character===C_DOUBLE_QUOTE?test=C_DOUBLE_QUOTE:character===C_SINGLE_QUOTE?test=C_SINGLE_QUOTE:character===C_PAREN_OPEN&&(test=C_PAREN_CLOSE);if(test){if(!queue)return;subvalue+=queue+character;index=subvalue.length;queue="";while(index<length){character=value.charAt(index);if(character===test)break;if(character===C_NEWLINE){index++;character=value.charAt(index);if(character===C_NEWLINE||character===test)return;queue+=C_NEWLINE}queue+=character;index++}character=value.charAt(index);if(character!==test)return;beforeTitle=subvalue;subvalue+=queue+character;index++;title=queue;queue=""}else{queue="";index=subvalue.length}while(index<length){character=value.charAt(index);if(character!==C_TAB&&character!==C_SPACE)break;subvalue+=character;index++}character=value.charAt(index);if(!character||character===C_NEWLINE){if(silent)return true;beforeURL=eat(beforeURL).test().end;url=self.decode.raw(self.unescape(url),beforeURL,{nonTerminated:false});if(title){beforeTitle=eat(beforeTitle).test().end;title=self.decode.raw(self.unescape(title),beforeTitle)}return eat(subvalue)({type:"definition",identifier:normalize(identifier),title:title||null,url:url})}}function isEnclosedURLCharacter(character){return character!==C_GT&&character!==C_BRACKET_OPEN&&character!==C_BRACKET_CLOSE}isEnclosedURLCharacter.delimiter=C_GT;function isUnclosedURLCharacter(character){return character!==C_BRACKET_OPEN&&character!==C_BRACKET_CLOSE&&!whitespace(character)}},function(module,exports,__webpack_require__){"use strict";var whitespace=__webpack_require__(88);module.exports=table;var C_BACKSLASH="\\";var C_TICK="`";var C_DASH="-";var C_PIPE="|";var C_COLON=":";var C_SPACE=" ";var C_NEWLINE="\n";var C_TAB="\t";var MIN_TABLE_COLUMNS=1;var MIN_TABLE_ROWS=2;var TABLE_ALIGN_LEFT="left";var TABLE_ALIGN_CENTER="center";var TABLE_ALIGN_RIGHT="right";var TABLE_ALIGN_NONE=null;function table(eat,value,silent){var self=this;var index;var alignments;var alignment;var subvalue;var row;var length;var lines;var queue;var character;var hasDash;var align;var cell;var preamble;var count;var opening;var now;var position;var lineCount;var line;var rows;var table;var lineIndex;var pipeIndex;var first;if(!self.options.gfm)return;index=0;lineCount=0;length=value.length+1;lines=[];while(index<length){lineIndex=value.indexOf(C_NEWLINE,index);pipeIndex=value.indexOf(C_PIPE,index+1);-1===lineIndex&&(lineIndex=value.length);if(-1===pipeIndex||pipeIndex>lineIndex){if(lineCount<MIN_TABLE_ROWS)return;break}lines.push(value.slice(index,lineIndex));lineCount++;index=lineIndex+1}subvalue=lines.join(C_NEWLINE);alignments=lines.splice(1,1)[0]||[];index=0;length=alignments.length;lineCount--;alignment=false;align=[];while(index<length){character=alignments.charAt(index);if(character===C_PIPE){hasDash=null;if(false===alignment){if(false===first)return}else{align.push(alignment);alignment=false}first=false}else if(character===C_DASH){hasDash=true;alignment=alignment||TABLE_ALIGN_NONE}else if(character===C_COLON)alignment=alignment===TABLE_ALIGN_LEFT?TABLE_ALIGN_CENTER:hasDash&&alignment===TABLE_ALIGN_NONE?TABLE_ALIGN_RIGHT:TABLE_ALIGN_LEFT;else if(!whitespace(character))return;index++}false!==alignment&&align.push(alignment);if(align.length<MIN_TABLE_COLUMNS)return;if(silent)return true;position=-1;rows=[];table=eat(subvalue).reset({type:"table",align:align,children:rows});while(++position<lineCount){line=lines[position];row={type:"tableRow",children:[]};position&&eat(C_NEWLINE);eat(line).reset(row,table);length=line.length+1;index=0;queue="";cell="";preamble=true;count=null;opening=null;while(index<length){character=line.charAt(index);if(character===C_TAB||character===C_SPACE){cell?queue+=character:eat(character);index++;continue}if(""===character||character===C_PIPE)if(preamble)eat(character);else{if(character&&opening){queue+=character;index++;continue}if((cell||character)&&!preamble){subvalue=cell;if(queue.length>1)if(character){subvalue+=queue.slice(0,queue.length-1);queue=queue.charAt(queue.length-1)}else{subvalue+=queue;queue=""}now=eat.now();eat(subvalue)({type:"tableCell",children:self.tokenizeInline(cell,now)},row)}eat(queue+character);queue="";cell=""}else{if(queue){cell+=queue;queue=""}cell+=character;if(character===C_BACKSLASH&&index!==length-2){cell+=line.charAt(index+1);index++}if(character===C_TICK){count=1;while(line.charAt(index+1)===character){cell+=character;index++;count++}opening?count>=opening&&(opening=0):opening=count}}preamble=false;index++}position||eat(C_NEWLINE+alignments)}return table}},function(module,exports,__webpack_require__){"use strict";var trim=__webpack_require__(213);var decimal=__webpack_require__(345);var trimTrailingLines=__webpack_require__(509);var interrupt=__webpack_require__(510);module.exports=paragraph;var C_NEWLINE="\n";var C_TAB="\t";var C_SPACE=" ";var TAB_SIZE=4;function paragraph(eat,value,silent){var self=this;var settings=self.options;var commonmark=settings.commonmark;var gfm=settings.gfm;var tokenizers=self.blockTokenizers;var interruptors=self.interruptParagraph;var index=value.indexOf(C_NEWLINE);var length=value.length;var position;var subvalue;var character;var size;var now;while(index<length){if(-1===index){index=length;break}if(value.charAt(index+1)===C_NEWLINE)break;if(commonmark){size=0;position=index+1;while(position<length){character=value.charAt(position);if(character===C_TAB){size=TAB_SIZE;break}if(character!==C_SPACE)break;size++;position++}if(size>=TAB_SIZE){index=value.indexOf(C_NEWLINE,index+1);continue}}subvalue=value.slice(index+1);if(interrupt(interruptors,tokenizers,self,[eat,subvalue,true]))break;if(tokenizers.list.call(self,eat,subvalue,true)&&(self.inList||commonmark||gfm&&!decimal(trim.left(subvalue).charAt(0))))break;position=index;index=value.indexOf(C_NEWLINE,index+1);if(-1!==index&&""===trim(value.slice(position,index))){index=position;break}}subvalue=value.slice(0,index);if(""===trim(subvalue)){eat(subvalue);return null}if(silent)return true;now=eat.now();subvalue=trimTrailingLines(subvalue);return eat(subvalue)({type:"paragraph",children:self.tokenizeInline(subvalue,now)})}},function(module,exports,__webpack_require__){"use strict";var locate=__webpack_require__(2509);module.exports=escape;escape.locator=locate;function escape(eat,value,silent){var self=this;var character;var node;if("\\"===value.charAt(0)){character=value.charAt(1);if(-1!==self.escape.indexOf(character)){if(silent)return true;node="\n"===character?{type:"break"}:{type:"text",value:character};return eat("\\"+character)(node)}}}},function(module,exports,__webpack_require__){"use strict";module.exports=locate;function locate(value,fromIndex){return value.indexOf("\\",fromIndex)}},function(module,exports,__webpack_require__){"use strict";var whitespace=__webpack_require__(88);var decode=__webpack_require__(507);var locate=__webpack_require__(922);module.exports=autoLink;autoLink.locator=locate;autoLink.notInLink=true;var C_LT="<";var C_GT=">";var C_AT_SIGN="@";var C_SLASH="/";var MAILTO="mailto:";var MAILTO_LENGTH=MAILTO.length;function autoLink(eat,value,silent){var self;var subvalue;var length;var index;var queue;var character;var hasAtCharacter;var link;var now;var content;var tokenizers;var exit;if(value.charAt(0)!==C_LT)return;self=this;subvalue="";length=value.length;index=0;queue="";hasAtCharacter=false;link="";index++;subvalue=C_LT;while(index<length){character=value.charAt(index);if(whitespace(character)||character===C_GT||character===C_AT_SIGN||":"===character&&value.charAt(index+1)===C_SLASH)break;queue+=character;index++}if(!queue)return;link+=queue;queue="";character=value.charAt(index);link+=character;index++;if(character===C_AT_SIGN)hasAtCharacter=true;else{if(":"!==character||value.charAt(index+1)!==C_SLASH)return;link+=C_SLASH;index++}while(index<length){character=value.charAt(index);if(whitespace(character)||character===C_GT)break;queue+=character;index++}character=value.charAt(index);if(!queue||character!==C_GT)return;if(silent)return true;link+=queue;content=link;subvalue+=link+character;now=eat.now();now.column++;now.offset++;if(hasAtCharacter)if(link.slice(0,MAILTO_LENGTH).toLowerCase()===MAILTO){content=content.substr(MAILTO_LENGTH);now.column+=MAILTO_LENGTH;now.offset+=MAILTO_LENGTH}else link=MAILTO+link;tokenizers=self.inlineTokenizers;self.inlineTokenizers={text:tokenizers.text};exit=self.enterLink();content=self.tokenizeInline(content,now);self.inlineTokenizers=tokenizers;exit();return eat(subvalue)({type:"link",title:null,url:decode(link,{nonTerminated:false}),children:content})}},function(module,exports,__webpack_require__){"use strict";var decode=__webpack_require__(507);var whitespace=__webpack_require__(88);var locate=__webpack_require__(2512);module.exports=url;url.locator=locate;url.notInLink=true;var C_BRACKET_OPEN="[";var C_BRACKET_CLOSE="]";var C_PAREN_OPEN="(";var C_PAREN_CLOSE=")";var C_LT="<";var C_AT_SIGN="@";var HTTP_PROTOCOL="http://";var HTTPS_PROTOCOL="https://";var MAILTO_PROTOCOL="mailto:";var PROTOCOLS=[HTTP_PROTOCOL,HTTPS_PROTOCOL,MAILTO_PROTOCOL];var PROTOCOLS_LENGTH=PROTOCOLS.length;function url(eat,value,silent){var self=this;var subvalue;var content;var character;var index;var position;var protocol;var match;var length;var queue;var parenCount;var nextCharacter;var exit;if(!self.options.gfm)return;subvalue="";index=-1;length=PROTOCOLS_LENGTH;while(++index<length){protocol=PROTOCOLS[index];match=value.slice(0,protocol.length);if(match.toLowerCase()===protocol){subvalue=match;break}}if(!subvalue)return;index=subvalue.length;length=value.length;queue="";parenCount=0;while(index<length){character=value.charAt(index);if(whitespace(character)||character===C_LT)break;if("."===character||","===character||":"===character||";"===character||'"'===character||"'"===character||")"===character||"]"===character){nextCharacter=value.charAt(index+1);if(!nextCharacter||whitespace(nextCharacter))break}character!==C_PAREN_OPEN&&character!==C_BRACKET_OPEN||parenCount++;if(character===C_PAREN_CLOSE||character===C_BRACKET_CLOSE){parenCount--;if(parenCount<0)break}queue+=character;index++}if(!queue)return;subvalue+=queue;content=subvalue;if(protocol===MAILTO_PROTOCOL){position=queue.indexOf(C_AT_SIGN);if(-1===position||position===length-1)return;content=content.substr(MAILTO_PROTOCOL.length)}if(silent)return true;exit=self.enterLink();content=self.tokenizeInline(content,eat.now());exit();return eat(subvalue)({type:"link",title:null,url:decode(subvalue,{nonTerminated:false}),children:content})}},function(module,exports,__webpack_require__){"use strict";module.exports=locate;var PROTOCOLS=["https://","http://","mailto:"];function locate(value,fromIndex){var length=PROTOCOLS.length;var index=-1;var min=-1;var position;if(!this.options.gfm)return-1;while(++index<length){position=value.indexOf(PROTOCOLS[index],fromIndex);-1!==position&&(position<min||-1===min)&&(min=position)}return min}},function(module,exports,__webpack_require__){"use strict";var alphabetical=__webpack_require__(918);var locate=__webpack_require__(922);var tag=__webpack_require__(921).tag;module.exports=inlineHTML;inlineHTML.locator=locate;var EXPRESSION_HTML_LINK_OPEN=/^<a /i;var EXPRESSION_HTML_LINK_CLOSE=/^<\/a>/i;function inlineHTML(eat,value,silent){var self=this;var length=value.length;var character;var subvalue;if("<"!==value.charAt(0)||length<3)return;character=value.charAt(1);if(!alphabetical(character)&&"?"!==character&&"!"!==character&&"/"!==character)return;subvalue=value.match(tag);if(!subvalue)return;if(silent)return true;subvalue=subvalue[0];!self.inLink&&EXPRESSION_HTML_LINK_OPEN.test(subvalue)?self.inLink=true:self.inLink&&EXPRESSION_HTML_LINK_CLOSE.test(subvalue)&&(self.inLink=false);return eat(subvalue)({type:"html",value:subvalue})}},function(module,exports,__webpack_require__){"use strict";var whitespace=__webpack_require__(88);var locate=__webpack_require__(923);module.exports=link;link.locator=locate;var own={}.hasOwnProperty;var C_BACKSLASH="\\";var C_BRACKET_OPEN="[";var C_BRACKET_CLOSE="]";var C_PAREN_OPEN="(";var C_PAREN_CLOSE=")";var C_LT="<";var C_GT=">";var C_TICK="`";var C_DOUBLE_QUOTE='"';var C_SINGLE_QUOTE="'";var LINK_MARKERS={};LINK_MARKERS[C_DOUBLE_QUOTE]=C_DOUBLE_QUOTE;LINK_MARKERS[C_SINGLE_QUOTE]=C_SINGLE_QUOTE;var COMMONMARK_LINK_MARKERS={};COMMONMARK_LINK_MARKERS[C_DOUBLE_QUOTE]=C_DOUBLE_QUOTE;COMMONMARK_LINK_MARKERS[C_SINGLE_QUOTE]=C_SINGLE_QUOTE;COMMONMARK_LINK_MARKERS[C_PAREN_OPEN]=C_PAREN_CLOSE;function link(eat,value,silent){var self=this;var subvalue="";var index=0;var character=value.charAt(0);var pedantic=self.options.pedantic;var commonmark=self.options.commonmark;var gfm=self.options.gfm;var closed;var count;var opening;var beforeURL;var beforeTitle;var subqueue;var hasMarker;var markers;var isImage;var content;var marker;var length;var title;var depth;var queue;var url;var now;var exit;var node;if("!"===character){isImage=true;subvalue=character;character=value.charAt(++index)}if(character!==C_BRACKET_OPEN)return;if(!isImage&&self.inLink)return;subvalue+=character;queue="";index++;length=value.length;now=eat.now();depth=0;now.column+=index;now.offset+=index;while(index<length){character=value.charAt(index);subqueue=character;if(character===C_TICK){count=1;while(value.charAt(index+1)===C_TICK){subqueue+=character;index++;count++}opening?count>=opening&&(opening=0):opening=count}else if(character===C_BACKSLASH){index++;subqueue+=value.charAt(index)}else if(opening&&!gfm||character!==C_BRACKET_OPEN){if((!opening||gfm)&&character===C_BRACKET_CLOSE){if(!depth){if(!pedantic)while(index<length){character=value.charAt(index+1);if(!whitespace(character))break;subqueue+=character;index++}if(value.charAt(index+1)!==C_PAREN_OPEN)return;subqueue+=C_PAREN_OPEN;closed=true;index++;break}depth--}}else depth++;queue+=subqueue;subqueue="";index++}if(!closed)return;content=queue;subvalue+=queue+subqueue;index++;while(index<length){character=value.charAt(index);if(!whitespace(character))break;subvalue+=character;index++}character=value.charAt(index);markers=commonmark?COMMONMARK_LINK_MARKERS:LINK_MARKERS;queue="";beforeURL=subvalue;if(character===C_LT){index++;beforeURL+=C_LT;while(index<length){character=value.charAt(index);if(character===C_GT)break;if(commonmark&&"\n"===character)return;queue+=character;index++}if(value.charAt(index)!==C_GT)return;subvalue+=C_LT+queue+C_GT;url=queue;index++}else{character=null;subqueue="";while(index<length){character=value.charAt(index);if(subqueue&&own.call(markers,character))break;if(whitespace(character)){if(!pedantic)break;subqueue+=character}else{if(character===C_PAREN_OPEN)depth++;else if(character===C_PAREN_CLOSE){if(0===depth)break;depth--}queue+=subqueue;subqueue="";if(character===C_BACKSLASH){queue+=C_BACKSLASH;character=value.charAt(++index)}queue+=character}index++}subvalue+=queue;url=queue;index=subvalue.length}queue="";while(index<length){character=value.charAt(index);if(!whitespace(character))break;queue+=character;index++}character=value.charAt(index);subvalue+=queue;if(queue&&own.call(markers,character)){index++;subvalue+=character;queue="";marker=markers[character];beforeTitle=subvalue;if(commonmark){while(index<length){character=value.charAt(index);if(character===marker)break;if(character===C_BACKSLASH){queue+=C_BACKSLASH;character=value.charAt(++index)}index++;queue+=character}character=value.charAt(index);if(character!==marker)return;title=queue;subvalue+=queue+character;index++;while(index<length){character=value.charAt(index);if(!whitespace(character))break;subvalue+=character;index++}}else{subqueue="";while(index<length){character=value.charAt(index);if(character===marker){if(hasMarker){queue+=marker+subqueue;subqueue=""}hasMarker=true}else if(hasMarker){if(character===C_PAREN_CLOSE){subvalue+=queue+marker+subqueue;title=queue;break}if(whitespace(character))subqueue+=character;else{queue+=marker+subqueue+character;subqueue="";hasMarker=false}}else queue+=character;index++}}}if(value.charAt(index)!==C_PAREN_CLOSE)return;if(silent)return true;subvalue+=C_PAREN_CLOSE;url=self.decode.raw(self.unescape(url),eat(beforeURL).test().end,{nonTerminated:false});if(title){beforeTitle=eat(beforeTitle).test().end;title=self.decode.raw(self.unescape(title),beforeTitle)}node={type:isImage?"image":"link",title:title||null,url:url};if(isImage)node.alt=self.decode.raw(self.unescape(content),now)||null;else{exit=self.enterLink();node.children=self.tokenizeInline(content,now);exit()}return eat(subvalue)(node)}},function(module,exports,__webpack_require__){"use strict";var whitespace=__webpack_require__(88);var locate=__webpack_require__(923);var normalize=__webpack_require__(511);module.exports=reference;reference.locator=locate;var T_LINK="link";var T_IMAGE="image";var T_FOOTNOTE="footnote";var REFERENCE_TYPE_SHORTCUT="shortcut";var REFERENCE_TYPE_COLLAPSED="collapsed";var REFERENCE_TYPE_FULL="full";var C_CARET="^";var C_BACKSLASH="\\";var C_BRACKET_OPEN="[";var C_BRACKET_CLOSE="]";function reference(eat,value,silent){var self=this;var character=value.charAt(0);var index=0;var length=value.length;var subvalue="";var intro="";var type=T_LINK;var referenceType=REFERENCE_TYPE_SHORTCUT;var content;var identifier;var now;var node;var exit;var queue;var bracketed;var depth;if("!"===character){type=T_IMAGE;intro=character;character=value.charAt(++index)}if(character!==C_BRACKET_OPEN)return;index++;intro+=character;queue="";if(self.options.footnotes&&value.charAt(index)===C_CARET){if(type===T_IMAGE)return;intro+=C_CARET;index++;type=T_FOOTNOTE}depth=0;while(index<length){character=value.charAt(index);if(character===C_BRACKET_OPEN){bracketed=true;depth++}else if(character===C_BRACKET_CLOSE){if(!depth)break;depth--}if(character===C_BACKSLASH){queue+=C_BACKSLASH;character=value.charAt(++index)}queue+=character;index++}subvalue=queue;content=queue;character=value.charAt(index);if(character!==C_BRACKET_CLOSE)return;index++;subvalue+=character;queue="";while(index<length){character=value.charAt(index);if(!whitespace(character))break;queue+=character;index++}character=value.charAt(index);if(type!==T_FOOTNOTE&&character===C_BRACKET_OPEN){identifier="";queue+=character;index++;while(index<length){character=value.charAt(index);if(character===C_BRACKET_OPEN||character===C_BRACKET_CLOSE)break;if(character===C_BACKSLASH){identifier+=C_BACKSLASH;character=value.charAt(++index)}identifier+=character;index++}character=value.charAt(index);if(character===C_BRACKET_CLOSE){referenceType=identifier?REFERENCE_TYPE_FULL:REFERENCE_TYPE_COLLAPSED;queue+=identifier+character;index++}else identifier="";subvalue+=queue;queue=""}else{if(!content)return;identifier=content}if(referenceType!==REFERENCE_TYPE_FULL&&bracketed)return;subvalue=intro+subvalue;if(type===T_LINK&&self.inLink)return null;if(silent)return true;if(type===T_FOOTNOTE&&-1!==content.indexOf(" "))return eat(subvalue)({type:"footnote",children:this.tokenizeInline(content,eat.now())});now=eat.now();now.column+=intro.length;now.offset+=intro.length;identifier=referenceType===REFERENCE_TYPE_FULL?identifier:content;node={type:type+"Reference",identifier:normalize(identifier)};type!==T_LINK&&type!==T_IMAGE||(node.referenceType=referenceType);if(type===T_LINK){exit=self.enterLink();node.children=self.tokenizeInline(content,now);exit()}else type===T_IMAGE&&(node.alt=self.decode.raw(self.unescape(content),now)||null);return eat(subvalue)(node)}},function(module,exports,__webpack_require__){"use strict";var trim=__webpack_require__(213);var whitespace=__webpack_require__(88);var locate=__webpack_require__(2517);module.exports=strong;strong.locator=locate;var C_ASTERISK="*";var C_UNDERSCORE="_";function strong(eat,value,silent){var self=this;var index=0;var character=value.charAt(index);var now;var pedantic;var marker;var queue;var subvalue;var length;var prev;if(character!==C_ASTERISK&&character!==C_UNDERSCORE||value.charAt(++index)!==character)return;pedantic=self.options.pedantic;marker=character;subvalue=marker+marker;length=value.length;index++;queue="";character="";if(pedantic&&whitespace(value.charAt(index)))return;while(index<length){prev=character;character=value.charAt(index);if(character===marker&&value.charAt(index+1)===marker&&(!pedantic||!whitespace(prev))){character=value.charAt(index+2);if(character!==marker){if(!trim(queue))return;if(silent)return true;now=eat.now();now.column+=2;now.offset+=2;return eat(subvalue+queue+subvalue)({type:"strong",children:self.tokenizeInline(queue,now)})}}if(!pedantic&&"\\"===character){queue+=character;character=value.charAt(++index)}queue+=character;index++}}},function(module,exports,__webpack_require__){"use strict";module.exports=locate;function locate(value,fromIndex){var asterisk=value.indexOf("**",fromIndex);var underscore=value.indexOf("__",fromIndex);if(-1===underscore)return asterisk;if(-1===asterisk)return underscore;return underscore<asterisk?underscore:asterisk}},function(module,exports,__webpack_require__){"use strict";var trim=__webpack_require__(213);var word=__webpack_require__(2519);var whitespace=__webpack_require__(88);var locate=__webpack_require__(2520);module.exports=emphasis;emphasis.locator=locate;var C_ASTERISK="*";var C_UNDERSCORE="_";function emphasis(eat,value,silent){var self=this;var index=0;var character=value.charAt(index);var now;var pedantic;var marker;var queue;var subvalue;var length;var prev;if(character!==C_ASTERISK&&character!==C_UNDERSCORE)return;pedantic=self.options.pedantic;subvalue=character;marker=character;length=value.length;index++;queue="";character="";if(pedantic&&whitespace(value.charAt(index)))return;while(index<length){prev=character;character=value.charAt(index);if(character===marker&&(!pedantic||!whitespace(prev))){character=value.charAt(++index);if(character!==marker){if(!trim(queue)||prev===marker)return;if(!pedantic&&marker===C_UNDERSCORE&&word(character)){queue+=marker;continue}if(silent)return true;now=eat.now();now.column++;now.offset++;return eat(subvalue+queue+marker)({type:"emphasis",children:self.tokenizeInline(queue,now)})}queue+=marker}if(!pedantic&&"\\"===character){queue+=character;character=value.charAt(++index)}queue+=character;index++}}},function(module,exports,__webpack_require__){"use strict";module.exports=wordCharacter;var fromCode=String.fromCharCode;var re=/\w/;function wordCharacter(character){return re.test("number"===typeof character?fromCode(character):character.charAt(0))}},function(module,exports,__webpack_require__){"use strict";module.exports=locate;function locate(value,fromIndex){var asterisk=value.indexOf("*",fromIndex);var underscore=value.indexOf("_",fromIndex);if(-1===underscore)return asterisk;if(-1===asterisk)return underscore;return underscore<asterisk?underscore:asterisk}},function(module,exports,__webpack_require__){"use strict";var whitespace=__webpack_require__(88);var locate=__webpack_require__(2522);module.exports=strikethrough;strikethrough.locator=locate;var C_TILDE="~";var DOUBLE="~~";function strikethrough(eat,value,silent){var self=this;var character="";var previous="";var preceding="";var subvalue="";var index;var length;var now;if(!self.options.gfm||value.charAt(0)!==C_TILDE||value.charAt(1)!==C_TILDE||whitespace(value.charAt(2)))return;index=1;length=value.length;now=eat.now();now.column+=2;now.offset+=2;while(++index<length){character=value.charAt(index);if(character===C_TILDE&&previous===C_TILDE&&(!preceding||!whitespace(preceding))){if(silent)return true;return eat(DOUBLE+subvalue+DOUBLE)({type:"delete",children:self.tokenizeInline(subvalue,now)})}subvalue+=previous;preceding=previous;previous=character}}},function(module,exports,__webpack_require__){"use strict";module.exports=locate;function locate(value,fromIndex){return value.indexOf("~~",fromIndex)}},function(module,exports,__webpack_require__){"use strict";var whitespace=__webpack_require__(88);var locate=__webpack_require__(2524);module.exports=inlineCode;inlineCode.locator=locate;var C_TICK="`";function inlineCode(eat,value,silent){var length=value.length;var index=0;var queue="";var tickQueue="";var contentQueue;var subqueue;var count;var openingCount;var subvalue;var character;var found;var next;while(index<length){if(value.charAt(index)!==C_TICK)break;queue+=C_TICK;index++}if(!queue)return;subvalue=queue;openingCount=index;queue="";next=value.charAt(index);count=0;while(index<length){character=next;next=value.charAt(index+1);if(character===C_TICK){count++;tickQueue+=character}else{count=0;queue+=character}if(count&&next!==C_TICK){if(count===openingCount){subvalue+=queue+tickQueue;found=true;break}queue+=tickQueue;tickQueue=""}index++}if(!found){if(openingCount%2!==0)return;queue=""}if(silent)return true;contentQueue="";subqueue="";length=queue.length;index=-1;while(++index<length){character=queue.charAt(index);if(whitespace(character)){subqueue+=character;continue}if(subqueue){contentQueue&&(contentQueue+=subqueue);subqueue=""}contentQueue+=character}return eat(subvalue)({type:"inlineCode",value:contentQueue})}},function(module,exports,__webpack_require__){"use strict";module.exports=locate;function locate(value,fromIndex){return value.indexOf("`",fromIndex)}},function(module,exports,__webpack_require__){"use strict";var locate=__webpack_require__(2526);module.exports=hardBreak;hardBreak.locator=locate;var MIN_BREAK_LENGTH=2;function hardBreak(eat,value,silent){var length=value.length;var index=-1;var queue="";var character;while(++index<length){character=value.charAt(index);if("\n"===character){if(index<MIN_BREAK_LENGTH)return;if(silent)return true;queue+=character;return eat(queue)({type:"break"})}if(" "!==character)return;queue+=character}}},function(module,exports,__webpack_require__){"use strict";module.exports=locate;function locate(value,fromIndex){var index=value.indexOf("\n",fromIndex);while(index>fromIndex){if(" "!==value.charAt(index-1))break;index--}return index}},function(module,exports,__webpack_require__){"use strict";module.exports=text;function text(eat,value,silent){var self=this;var methods;var tokenizers;var index;var length;var subvalue;var position;var tokenizer;var name;var min;var now;if(silent)return true;methods=self.inlineMethods;length=methods.length;tokenizers=self.inlineTokenizers;index=-1;min=value.length;while(++index<length){name=methods[index];if("text"===name||!tokenizers[name])continue;tokenizer=tokenizers[name].locator;tokenizer||eat.file.fail("Missing locator: `"+name+"`");position=tokenizer.call(self,value,1);-1!==position&&position<min&&(min=position)}subvalue=value.slice(0,min);now=eat.now();self.decode(subvalue,now,function(content,position,source){eat(source||content)({type:"text",value:content})})}},function(module,exports,__webpack_require__){false;module.exports=__webpack_require__(2529)()},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);var ReactPropTypesSecret=__webpack_require__(2530);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){"use strict";var visit=__webpack_require__(346);var type="virtualHtml";var selfClosingRe=/^<(area|base|br|col|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\s*\/?>$/i;var simpleTagRe=/^<(\/?)([a-z]+)\s*>$/;module.exports=function(tree){var open=void 0;var currentParent=void 0;visit(tree,"html",function(node,index,parent){if(currentParent!==parent){open=[];currentParent=parent}var selfClosing=getSelfClosing(node);if(selfClosing){parent.children.splice(index,1,{type:type,tag:selfClosing,position:node.position});return true}var current=getSimpleTag(node,parent);if(!current)return true;var matching=findAndPull(open,current.tag);matching?parent.children.splice(index,0,virtual(current,matching,parent)):current.opening||open.push(current);return true},true);return tree};function findAndPull(open,matchingTag){var i=open.length;while(i--)if(open[i].tag===matchingTag)return open.splice(i,1)[0];return false}function getSimpleTag(node,parent){var match=node.value.match(simpleTagRe);return!!match&&{tag:match[2],opening:!match[1],node:node}}function getSelfClosing(node){var match=node.value.match(selfClosingRe);return!!match&&match[1]}function virtual(fromNode,toNode,parent){var fromIndex=parent.children.indexOf(fromNode.node);var toIndex=parent.children.indexOf(toNode.node);var extracted=parent.children.splice(fromIndex,toIndex-fromIndex+1);var children=extracted.slice(1,-1);return{type:type,children:children,tag:fromNode.tag,position:{start:fromNode.node.position.start,end:toNode.node.position.end,indent:[]}}}},function(module,exports,__webpack_require__){"use strict";var visit=__webpack_require__(346);exports.ofType=function(types,mode){return function(node){types.forEach(function(type){return visit(node,type,disallow,true)});return node};function disallow(node,index,parent){parent&&untangle(node,index,parent,mode)}};exports.ifNotMatch=function(allowNode,mode){return function(node){visit(node,disallow,true);return node};function disallow(node,index,parent){parent&&!allowNode(node,index,parent)&&untangle(node,index,parent,mode)}};function untangle(node,index,parent,mode){if("remove"===mode)parent.children.splice(index,1);else if("unwrap"===mode){var args=[index,1].concat(node.children);Array.prototype.splice.apply(parent.children,args)}}},function(module,exports,__webpack_require__){"use strict";var React=__webpack_require__(0);var xtend=__webpack_require__(108);function astToReact(node,options){var parent=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var index=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;var renderer=options.renderers[node.type];var pos=node.position.start;var key=[node.type,pos.line,pos.column].join("-");if("text"===node.type)return renderer?renderer(node.value,key):node.value;if("function"!==typeof renderer&&"string"!==typeof renderer&&!isReactFragment(renderer))throw new Error("Renderer for type `"+node.type+"` not defined or is not renderable");var nodeProps=getNodeProps(node,key,options,renderer,parent,index);return React.createElement(renderer,nodeProps,nodeProps.children||resolveChildren()||void 0);function resolveChildren(){return node.children&&node.children.map(function(childNode,i){return astToReact(childNode,options,{node:node,props:nodeProps},i)})}}function isReactFragment(renderer){return React.Fragment&&React.Fragment===renderer}function getNodeProps(node,key,opts,renderer,parent,index){var props={key:key};opts.sourcePos&&node.position&&(props["data-sourcepos"]=flattenPosition(node.position));var ref=node.identifier?opts.definitions[node.identifier]||{}:null;switch(node.type){case"root":assignDefined(props,{className:opts.className});break;case"heading":props.level=node.depth;break;case"list":props.start=node.start;props.ordered=node.ordered;props.tight=!node.loose;break;case"listItem":props.checked=node.checked;props.tight=!node.loose;props.children=(props.tight?unwrapParagraphs(node):node.children).map(function(childNode,i){return astToReact(childNode,opts,{node:node,props:props},i)});break;case"definition":assignDefined(props,{identifier:node.identifier,title:node.title,url:node.url});break;case"code":assignDefined(props,{language:node.lang&&node.lang.split(/\s/,1)[0]});break;case"inlineCode":props.children=node.value;props.inline=true;break;case"link":assignDefined(props,{title:node.title||void 0,href:opts.transformLinkUri?opts.transformLinkUri(node.url,node.children,node.title):node.url});break;case"image":assignDefined(props,{alt:node.alt||void 0,title:node.title||void 0,src:opts.transformImageUri?opts.transformImageUri(node.url,node.children,node.title,node.alt):node.url});break;case"linkReference":assignDefined(props,xtend(ref,{href:opts.transformLinkUri?opts.transformLinkUri(ref.href):ref.href}));break;case"imageReference":assignDefined(props,{src:opts.transformImageUri&&ref.href?opts.transformImageUri(ref.href,node.children,ref.title,node.alt):ref.href,title:ref.title||void 0,alt:node.alt||void 0});break;case"table":case"tableHead":case"tableBody":props.columnAlignment=node.align;break;case"tableRow":props.isHeader="tableHead"===parent.node.type;props.columnAlignment=parent.props.columnAlignment;break;case"tableCell":assignDefined(props,{isHeader:parent.props.isHeader,align:parent.props.columnAlignment[index]});break;case"virtualHtml":props.tag=node.tag;break;case"html":props.isBlock=node.position.start.line!==node.position.end.line;props.escapeHtml=opts.escapeHtml;props.skipHtml=opts.skipHtml}"string"!==typeof renderer&&node.value&&(props.value=node.value);return props}function assignDefined(target,attrs){for(var key in attrs)"undefined"!==typeof attrs[key]&&(target[key]=attrs[key])}function flattenPosition(pos){return[pos.start.line,":",pos.start.column,"-",pos.end.line,":",pos.end.column].map(String).join("")}function unwrapParagraphs(node){return node.children.reduce(function(array,child){return array.concat("paragraph"===child.type?child.children||[]:[child])},[])}module.exports=astToReact},function(module,exports,__webpack_require__){"use strict";var visit=__webpack_require__(346);module.exports=function(node){visit(node,"table",wrap);return node};function wrap(table){var children=table.children;table.children=[{type:"tableHead",align:table.align,children:[children[0]],position:children[0].position}];children.length>1&&table.children.push({type:"tableBody",align:table.align,children:children.slice(1),position:{start:children[1].position.start,end:children[children.length-1].position.end}})}},function(module,exports,__webpack_require__){"use strict";module.exports=function getDefinitions(node){var defs=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(node.children||[]).reduce(function(definitions,child){"definition"===child.type&&(definitions[child.identifier]={href:child.url,title:child.title});return getDefinitions(child,definitions)},defs)}},function(module,exports,__webpack_require__){"use strict";var protocols=["http","https","mailto","tel"];module.exports=function uriTransformer(uri){var url=(uri||"").trim();var first=url.charAt(0);if("#"===first||"/"===first)return url;var colon=url.indexOf(":");if(-1===colon)return url;var length=protocols.length;var index=-1;while(++index<length){var protocol=protocols[index];if(colon===protocol.length&&url.slice(0,protocol.length)===protocol)return url}index=url.indexOf("?");if(-1!==index&&colon>index)return url;index=url.indexOf("#");if(-1!==index&&colon>index)return url;return"javascript:void(0)"}},function(module,exports,__webpack_require__){"use strict";var xtend=__webpack_require__(108);var React=__webpack_require__(0);var createElement=React.createElement;module.exports={root:"div",break:"br",paragraph:"p",emphasis:"em",strong:"strong",thematicBreak:"hr",blockquote:"blockquote",delete:"del",link:"a",image:"img",linkReference:"a",imageReference:"img",table:SimpleRenderer.bind(null,"table"),tableHead:SimpleRenderer.bind(null,"thead"),tableBody:SimpleRenderer.bind(null,"tbody"),tableRow:SimpleRenderer.bind(null,"tr"),tableCell:TableCell,list:List,listItem:ListItem,definition:NullRenderer,heading:Heading,inlineCode:InlineCode,code:CodeBlock,html:Html,virtualHtml:VirtualHtml};function SimpleRenderer(tag,props){return createElement(tag,getCoreProps(props),props.children)}function TableCell(props){var style=props.align?{textAlign:props.align}:void 0;var coreProps=getCoreProps(props);return createElement(props.isHeader?"th":"td",style?xtend({style:style},coreProps):coreProps,props.children)}function Heading(props){return createElement("h"+props.level,getCoreProps(props),props.children)}function List(props){var attrs=getCoreProps(props);null!==props.start&&1!==props.start&&(attrs.start=props.start.toString());return createElement(props.ordered?"ol":"ul",attrs,props.children)}function ListItem(props){var checkbox=null;if(null!==props.checked){var checked=props.checked;checkbox=createElement("input",{type:"checkbox",checked:checked,readOnly:true})}return createElement("li",getCoreProps(props),checkbox,props.children)}function CodeBlock(props){var className=props.language&&"language-"+props.language;var code=createElement("code",className?{className:className}:null,props.value);return createElement("pre",getCoreProps(props),code)}function InlineCode(props){return createElement("code",getCoreProps(props),props.children)}function Html(props){if(props.skipHtml)return null;var tag=props.isBlock?"div":"span";if(props.escapeHtml)return createElement(tag,null,props.value);var nodeProps={dangerouslySetInnerHTML:{__html:props.value}};return createElement(tag,nodeProps)}function VirtualHtml(props){return createElement(props.tag,getCoreProps(props),props.children)}function NullRenderer(){return null}function getCoreProps(props){return props["data-sourcepos"]?{"data-sourcepos":props["data-sourcepos"]}:{}}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.connect=exports.connectAdvanced=exports.createProvider=exports.Provider=void 0;var _Provider=__webpack_require__(2539);var _Provider2=_interopRequireDefault(_Provider);var _connectAdvanced=__webpack_require__(926);var _connectAdvanced2=_interopRequireDefault(_connectAdvanced);var _connect=__webpack_require__(2543);var _connect2=_interopRequireDefault(_connect);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.Provider=_Provider2.default;exports.createProvider=_Provider.createProvider;exports.connectAdvanced=_connectAdvanced2.default;exports.connect=_connect2.default},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.createProvider=createProvider;var _react=__webpack_require__(0);var _propTypes=__webpack_require__(924);var _propTypes2=_interopRequireDefault(_propTypes);var _PropTypes=__webpack_require__(925);var _warning=__webpack_require__(512);_interopRequireDefault(_warning);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function createProvider(){var _Provider$childContex;var storeKey=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store";var subKey=arguments[1];var subscriptionKey=subKey||storeKey+"Subscription";var Provider=function(_Component){_inherits(Provider,_Component);Provider.prototype.getChildContext=function getChildContext(){var _ref;return _ref={},_ref[storeKey]=this[storeKey],_ref[subscriptionKey]=null,_ref};function Provider(props,context){_classCallCheck(this,Provider);var _this=_possibleConstructorReturn(this,_Component.call(this,props,context));_this[storeKey]=props.store;return _this}Provider.prototype.render=function render(){return _react.Children.only(this.props.children)};return Provider}(_react.Component);false;Provider.propTypes={store:_PropTypes.storeShape.isRequired,children:_propTypes2.default.element.isRequired};Provider.childContextTypes=(_Provider$childContex={},_Provider$childContex[storeKey]=_PropTypes.storeShape.isRequired,_Provider$childContex[subscriptionKey]=_PropTypes.subscriptionShape,_Provider$childContex);return Provider}exports.default=createProvider()},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);var ReactPropTypesSecret=__webpack_require__(2541);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var CLEARED=null;var nullListeners={notify:function notify(){}};function createListenerCollection(){var current=[];var next=[];return{clear:function clear(){next=CLEARED;current=CLEARED},notify:function notify(){var listeners=current=next;for(var i=0;i<listeners.length;i++)listeners[i]()},get:function get(){return next},subscribe:function subscribe(listener){var isSubscribed=true;next===current&&(next=current.slice());next.push(listener);return function unsubscribe(){if(!isSubscribed||current===CLEARED)return;isSubscribed=false;next===current&&(next=current.slice());next.splice(next.indexOf(listener),1)}}}}var Subscription=function(){function Subscription(store,parentSub,onStateChange){_classCallCheck(this,Subscription);this.store=store;this.parentSub=parentSub;this.onStateChange=onStateChange;this.unsubscribe=null;this.listeners=nullListeners}Subscription.prototype.addNestedSub=function addNestedSub(listener){this.trySubscribe();return this.listeners.subscribe(listener)};Subscription.prototype.notifyNestedSubs=function notifyNestedSubs(){this.listeners.notify()};Subscription.prototype.isSubscribed=function isSubscribed(){return Boolean(this.unsubscribe)};Subscription.prototype.trySubscribe=function trySubscribe(){if(!this.unsubscribe){this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange);this.listeners=createListenerCollection()}};Subscription.prototype.tryUnsubscribe=function tryUnsubscribe(){if(this.unsubscribe){this.unsubscribe();this.unsubscribe=null;this.listeners.clear();this.listeners=nullListeners}};return Subscription}();exports.default=Subscription},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.createConnect=createConnect;var _connectAdvanced=__webpack_require__(926);var _connectAdvanced2=_interopRequireDefault(_connectAdvanced);var _shallowEqual=__webpack_require__(2544);var _shallowEqual2=_interopRequireDefault(_shallowEqual);var _mapDispatchToProps=__webpack_require__(2545);var _mapDispatchToProps2=_interopRequireDefault(_mapDispatchToProps);var _mapStateToProps=__webpack_require__(2557);var _mapStateToProps2=_interopRequireDefault(_mapStateToProps);var _mergeProps=__webpack_require__(2558);var _mergeProps2=_interopRequireDefault(_mergeProps);var _selectorFactory=__webpack_require__(2559);var _selectorFactory2=_interopRequireDefault(_selectorFactory);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function match(arg,factories,name){for(var i=factories.length-1;i>=0;i--){var result=factories[i](arg);if(result)return result}return function(dispatch,options){throw new Error("Invalid value of type "+typeof arg+" for "+name+" argument when connecting component "+options.wrappedComponentName+".")}}function strictEqual(a,b){return a===b}function createConnect(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref$connectHOC=_ref.connectHOC,connectHOC=void 0===_ref$connectHOC?_connectAdvanced2.default:_ref$connectHOC,_ref$mapStateToPropsF=_ref.mapStateToPropsFactories,mapStateToPropsFactories=void 0===_ref$mapStateToPropsF?_mapStateToProps2.default:_ref$mapStateToPropsF,_ref$mapDispatchToPro=_ref.mapDispatchToPropsFactories,mapDispatchToPropsFactories=void 0===_ref$mapDispatchToPro?_mapDispatchToProps2.default:_ref$mapDispatchToPro,_ref$mergePropsFactor=_ref.mergePropsFactories,mergePropsFactories=void 0===_ref$mergePropsFactor?_mergeProps2.default:_ref$mergePropsFactor,_ref$selectorFactory=_ref.selectorFactory,selectorFactory=void 0===_ref$selectorFactory?_selectorFactory2.default:_ref$selectorFactory;return function connect(mapStateToProps,mapDispatchToProps,mergeProps){var _ref2=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},_ref2$pure=_ref2.pure,pure=void 0===_ref2$pure||_ref2$pure,_ref2$areStatesEqual=_ref2.areStatesEqual,areStatesEqual=void 0===_ref2$areStatesEqual?strictEqual:_ref2$areStatesEqual,_ref2$areOwnPropsEqua=_ref2.areOwnPropsEqual,areOwnPropsEqual=void 0===_ref2$areOwnPropsEqua?_shallowEqual2.default:_ref2$areOwnPropsEqua,_ref2$areStatePropsEq=_ref2.areStatePropsEqual,areStatePropsEqual=void 0===_ref2$areStatePropsEq?_shallowEqual2.default:_ref2$areStatePropsEq,_ref2$areMergedPropsE=_ref2.areMergedPropsEqual,areMergedPropsEqual=void 0===_ref2$areMergedPropsE?_shallowEqual2.default:_ref2$areMergedPropsE,extraOptions=_objectWithoutProperties(_ref2,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]);var initMapStateToProps=match(mapStateToProps,mapStateToPropsFactories,"mapStateToProps");var initMapDispatchToProps=match(mapDispatchToProps,mapDispatchToPropsFactories,"mapDispatchToProps");var initMergeProps=match(mergeProps,mergePropsFactories,"mergeProps");return connectHOC(selectorFactory,_extends({methodName:"connect",getDisplayName:function getDisplayName(name){return"Connect("+name+")"},shouldHandleStateChanges:Boolean(mapStateToProps),initMapStateToProps:initMapStateToProps,initMapDispatchToProps:initMapDispatchToProps,initMergeProps:initMergeProps,pure:pure,areStatesEqual:areStatesEqual,areOwnPropsEqual:areOwnPropsEqual,areStatePropsEqual:areStatePropsEqual,areMergedPropsEqual:areMergedPropsEqual},extraOptions))}}exports.default=createConnect()},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.default=shallowEqual;var hasOwn=Object.prototype.hasOwnProperty;function is(x,y){return x===y?0!==x||0!==y||1/x===1/y:x!==x&&y!==y}function shallowEqual(objA,objB){if(is(objA,objB))return true;if("object"!==typeof objA||null===objA||"object"!==typeof objB||null===objB)return false;var keysA=Object.keys(objA);var keysB=Object.keys(objB);if(keysA.length!==keysB.length)return false;for(var i=0;i<keysA.length;i++)if(!hasOwn.call(objB,keysA[i])||!is(objA[keysA[i]],objB[keysA[i]]))return false;return true}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.whenMapDispatchToPropsIsFunction=whenMapDispatchToPropsIsFunction;exports.whenMapDispatchToPropsIsMissing=whenMapDispatchToPropsIsMissing;exports.whenMapDispatchToPropsIsObject=whenMapDispatchToPropsIsObject;var _redux=__webpack_require__(927);var _wrapMapToProps=__webpack_require__(928);function whenMapDispatchToPropsIsFunction(mapDispatchToProps){return"function"===typeof mapDispatchToProps?(0,_wrapMapToProps.wrapMapToPropsFunc)(mapDispatchToProps,"mapDispatchToProps"):void 0}function whenMapDispatchToPropsIsMissing(mapDispatchToProps){return mapDispatchToProps?void 0:(0,_wrapMapToProps.wrapMapToPropsConstant)(function(dispatch){return{dispatch:dispatch}})}function whenMapDispatchToPropsIsObject(mapDispatchToProps){return mapDispatchToProps&&"object"===typeof mapDispatchToProps?(0,_wrapMapToProps.wrapMapToPropsConstant)(function(dispatch){return(0,_redux.bindActionCreators)(mapDispatchToProps,dispatch)}):void 0}exports.default=[whenMapDispatchToPropsIsFunction,whenMapDispatchToPropsIsMissing,whenMapDispatchToPropsIsObject]},function(module,exports,__webpack_require__){"use strict";(function(global,module){Object.defineProperty(exports,"__esModule",{value:true});var _ponyfill=__webpack_require__(2547);var _ponyfill2=_interopRequireDefault(_ponyfill);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var root;if("undefined"!==typeof self)root=self;else if("undefined"!==typeof window)root=window;else if("undefined"!==typeof global)root=global;else{true;root=module}var result=(0,_ponyfill2["default"])(root);exports["default"]=result}).call(this,__webpack_require__(18),__webpack_require__(82)(module))},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports["default"]=symbolObservablePonyfill;function symbolObservablePonyfill(root){var result;var _Symbol=root.Symbol;if("function"===typeof _Symbol)if(_Symbol.observable)result=_Symbol.observable;else{result=_Symbol("observable");_Symbol.observable=result}else result="@@observable";return result}},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(2549),getPrototype=__webpack_require__(2554),isObjectLike=__webpack_require__(2556);var objectTag="[object Object]";var funcProto=Function.prototype,objectProto=Object.prototype;var funcToString=funcProto.toString;var hasOwnProperty=objectProto.hasOwnProperty;var objectCtorString=funcToString.call(Object);function isPlainObject(value){if(!isObjectLike(value)||baseGetTag(value)!=objectTag)return false;var proto=getPrototype(value);if(null===proto)return true;var Ctor=hasOwnProperty.call(proto,"constructor")&&proto.constructor;return"function"==typeof Ctor&&Ctor instanceof Ctor&&funcToString.call(Ctor)==objectCtorString}module.exports=isPlainObject},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(930),getRawTag=__webpack_require__(2552),objectToString=__webpack_require__(2553);var nullTag="[object Null]",undefinedTag="[object Undefined]";var symToStringTag=Symbol?Symbol.toStringTag:void 0;function baseGetTag(value){if(null==value)return void 0===value?undefinedTag:nullTag;return symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}module.exports=baseGetTag},function(module,exports,__webpack_require__){var freeGlobal=__webpack_require__(2551);var freeSelf="object"==typeof self&&self&&self.Object===Object&&self;var root=freeGlobal||freeSelf||Function("return this")();module.exports=root},function(module,exports,__webpack_require__){(function(global){var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;module.exports=freeGlobal}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(930);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;var nativeObjectToString=objectProto.toString;var symToStringTag=Symbol?Symbol.toStringTag:void 0;function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=true}catch(e){}var result=nativeObjectToString.call(value);unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]);return result}module.exports=getRawTag},function(module,exports){var objectProto=Object.prototype;var nativeObjectToString=objectProto.toString;function objectToString(value){return nativeObjectToString.call(value)}module.exports=objectToString},function(module,exports,__webpack_require__){var overArg=__webpack_require__(2555);var getPrototype=overArg(Object.getPrototypeOf,Object);module.exports=getPrototype},function(module,exports){function overArg(func,transform){return function(arg){return func(transform(arg))}}module.exports=overArg},function(module,exports){function isObjectLike(value){return null!=value&&"object"==typeof value}module.exports=isObjectLike},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.whenMapStateToPropsIsFunction=whenMapStateToPropsIsFunction;exports.whenMapStateToPropsIsMissing=whenMapStateToPropsIsMissing;var _wrapMapToProps=__webpack_require__(928);function whenMapStateToPropsIsFunction(mapStateToProps){return"function"===typeof mapStateToProps?(0,_wrapMapToProps.wrapMapToPropsFunc)(mapStateToProps,"mapStateToProps"):void 0}function whenMapStateToPropsIsMissing(mapStateToProps){return mapStateToProps?void 0:(0,_wrapMapToProps.wrapMapToPropsConstant)(function(){return{}})}exports.default=[whenMapStateToPropsIsFunction,whenMapStateToPropsIsMissing]},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.defaultMergeProps=defaultMergeProps;exports.wrapMergePropsFunc=wrapMergePropsFunc;exports.whenMergePropsIsFunction=whenMergePropsIsFunction;exports.whenMergePropsIsOmitted=whenMergePropsIsOmitted;var _verifyPlainObject=__webpack_require__(929);_interopRequireDefault(_verifyPlainObject);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function defaultMergeProps(stateProps,dispatchProps,ownProps){return _extends({},ownProps,stateProps,dispatchProps)}function wrapMergePropsFunc(mergeProps){return function initMergePropsProxy(dispatch,_ref){_ref.displayName;var pure=_ref.pure,areMergedPropsEqual=_ref.areMergedPropsEqual;var hasRunOnce=false;var mergedProps=void 0;return function mergePropsProxy(stateProps,dispatchProps,ownProps){var nextMergedProps=mergeProps(stateProps,dispatchProps,ownProps);if(hasRunOnce)pure&&areMergedPropsEqual(nextMergedProps,mergedProps)||(mergedProps=nextMergedProps);else{hasRunOnce=true;mergedProps=nextMergedProps;false}return mergedProps}}}function whenMergePropsIsFunction(mergeProps){return"function"===typeof mergeProps?wrapMergePropsFunc(mergeProps):void 0}function whenMergePropsIsOmitted(mergeProps){return mergeProps?void 0:function(){return defaultMergeProps}}exports.default=[whenMergePropsIsFunction,whenMergePropsIsOmitted]},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.impureFinalPropsSelectorFactory=impureFinalPropsSelectorFactory;exports.pureFinalPropsSelectorFactory=pureFinalPropsSelectorFactory;exports.default=finalPropsSelectorFactory;var _verifySubselectors=__webpack_require__(2560);_interopRequireDefault(_verifySubselectors);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function impureFinalPropsSelectorFactory(mapStateToProps,mapDispatchToProps,mergeProps,dispatch){return function impureFinalPropsSelector(state,ownProps){return mergeProps(mapStateToProps(state,ownProps),mapDispatchToProps(dispatch,ownProps),ownProps)}}function pureFinalPropsSelectorFactory(mapStateToProps,mapDispatchToProps,mergeProps,dispatch,_ref){var areStatesEqual=_ref.areStatesEqual,areOwnPropsEqual=_ref.areOwnPropsEqual,areStatePropsEqual=_ref.areStatePropsEqual;var hasRunAtLeastOnce=false;var state=void 0;var ownProps=void 0;var stateProps=void 0;var dispatchProps=void 0;var mergedProps=void 0;function handleFirstCall(firstState,firstOwnProps){state=firstState;ownProps=firstOwnProps;stateProps=mapStateToProps(state,ownProps);dispatchProps=mapDispatchToProps(dispatch,ownProps);mergedProps=mergeProps(stateProps,dispatchProps,ownProps);hasRunAtLeastOnce=true;return mergedProps}function handleNewPropsAndNewState(){stateProps=mapStateToProps(state,ownProps);mapDispatchToProps.dependsOnOwnProps&&(dispatchProps=mapDispatchToProps(dispatch,ownProps));mergedProps=mergeProps(stateProps,dispatchProps,ownProps);return mergedProps}function handleNewProps(){mapStateToProps.dependsOnOwnProps&&(stateProps=mapStateToProps(state,ownProps));mapDispatchToProps.dependsOnOwnProps&&(dispatchProps=mapDispatchToProps(dispatch,ownProps));mergedProps=mergeProps(stateProps,dispatchProps,ownProps);return mergedProps}function handleNewState(){var nextStateProps=mapStateToProps(state,ownProps);var statePropsChanged=!areStatePropsEqual(nextStateProps,stateProps);stateProps=nextStateProps;statePropsChanged&&(mergedProps=mergeProps(stateProps,dispatchProps,ownProps));return mergedProps}function handleSubsequentCalls(nextState,nextOwnProps){var propsChanged=!areOwnPropsEqual(nextOwnProps,ownProps);var stateChanged=!areStatesEqual(nextState,state);state=nextState;ownProps=nextOwnProps;if(propsChanged&&stateChanged)return handleNewPropsAndNewState();if(propsChanged)return handleNewProps();if(stateChanged)return handleNewState();return mergedProps}return function pureFinalPropsSelector(nextState,nextOwnProps){return hasRunAtLeastOnce?handleSubsequentCalls(nextState,nextOwnProps):handleFirstCall(nextState,nextOwnProps)}}function finalPropsSelectorFactory(dispatch,_ref2){var initMapStateToProps=_ref2.initMapStateToProps,initMapDispatchToProps=_ref2.initMapDispatchToProps,initMergeProps=_ref2.initMergeProps,options=_objectWithoutProperties(_ref2,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]);var mapStateToProps=initMapStateToProps(dispatch,options);var mapDispatchToProps=initMapDispatchToProps(dispatch,options);var mergeProps=initMergeProps(dispatch,options);false;var selectorFactory=options.pure?pureFinalPropsSelectorFactory:impureFinalPropsSelectorFactory;return selectorFactory(mapStateToProps,mapDispatchToProps,mergeProps,dispatch,options)}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.default=verifySubselectors;var _warning=__webpack_require__(512);var _warning2=_interopRequireDefault(_warning);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function verify(selector,methodName,displayName){if(!selector)throw new Error("Unexpected value for "+methodName+" in "+displayName+".");"mapStateToProps"!==methodName&&"mapDispatchToProps"!==methodName||selector.hasOwnProperty("dependsOnOwnProps")||(0,_warning2.default)("The selector for "+methodName+" of "+displayName+" did not specify a value for dependsOnOwnProps.")}function verifySubselectors(mapStateToProps,mapDispatchToProps,mergeProps,displayName){verify(mapStateToProps,"mapStateToProps",displayName);verify(mapDispatchToProps,"mapDispatchToProps",displayName);verify(mergeProps,"mergeProps",displayName)}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.withRouter=exports.matchPath=exports.generatePath=exports.Switch=exports.StaticRouter=exports.Router=exports.Route=exports.Redirect=exports.Prompt=exports.NavLink=exports.MemoryRouter=exports.Link=exports.HashRouter=exports.BrowserRouter=void 0;var _BrowserRouter2=__webpack_require__(2562);var _BrowserRouter3=_interopRequireDefault(_BrowserRouter2);var _HashRouter2=__webpack_require__(2572);var _HashRouter3=_interopRequireDefault(_HashRouter2);var _Link2=__webpack_require__(932);var _Link3=_interopRequireDefault(_Link2);var _MemoryRouter2=__webpack_require__(2574);var _MemoryRouter3=_interopRequireDefault(_MemoryRouter2);var _NavLink2=__webpack_require__(2576);var _NavLink3=_interopRequireDefault(_NavLink2);var _Prompt2=__webpack_require__(2578);var _Prompt3=_interopRequireDefault(_Prompt2);var _Redirect2=__webpack_require__(2580);var _Redirect3=_interopRequireDefault(_Redirect2);var _Route2=__webpack_require__(933);var _Route3=_interopRequireDefault(_Route2);var _Router2=__webpack_require__(514);var _Router3=_interopRequireDefault(_Router2);var _StaticRouter2=__webpack_require__(2582);var _StaticRouter3=_interopRequireDefault(_StaticRouter2);var _Switch2=__webpack_require__(2584);var _Switch3=_interopRequireDefault(_Switch2);var _generatePath2=__webpack_require__(2586);var _generatePath3=_interopRequireDefault(_generatePath2);var _matchPath2=__webpack_require__(2587);var _matchPath3=_interopRequireDefault(_matchPath2);var _withRouter2=__webpack_require__(2588);var _withRouter3=_interopRequireDefault(_withRouter2);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.BrowserRouter=_BrowserRouter3.default;exports.HashRouter=_HashRouter3.default;exports.Link=_Link3.default;exports.MemoryRouter=_MemoryRouter3.default;exports.NavLink=_NavLink3.default;exports.Prompt=_Prompt3.default;exports.Redirect=_Redirect3.default;exports.Route=_Route3.default;exports.Router=_Router3.default;exports.StaticRouter=_StaticRouter3.default;exports.Switch=_Switch3.default;exports.generatePath=_generatePath3.default;exports.matchPath=_matchPath3.default;exports.withRouter=_withRouter3.default},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _warning=__webpack_require__(140);var _warning2=_interopRequireDefault(_warning);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(347);var _propTypes2=_interopRequireDefault(_propTypes);var _history=__webpack_require__(214);var _Router=__webpack_require__(514);var _Router2=_interopRequireDefault(_Router);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var BrowserRouter=function(_React$Component){_inherits(BrowserRouter,_React$Component);function BrowserRouter(){var _temp,_this,_ret;_classCallCheck(this,BrowserRouter);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.history=(0,_history.createBrowserHistory)(_this.props),_temp),_possibleConstructorReturn(_this,_ret)}BrowserRouter.prototype.componentWillMount=function componentWillMount(){(0,_warning2.default)(!this.props.history,"<BrowserRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")};BrowserRouter.prototype.render=function render(){return _react2.default.createElement(_Router2.default,{history:this.history,children:this.props.children})};return BrowserRouter}(_react2.default.Component);BrowserRouter.propTypes={basename:_propTypes2.default.string,forceRefresh:_propTypes2.default.bool,getUserConfirmation:_propTypes2.default.func,keyLength:_propTypes2.default.number,children:_propTypes2.default.node};exports.default=BrowserRouter},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);var ReactPropTypesSecret=__webpack_require__(2564);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;function isAbsolute(pathname){return"/"===pathname.charAt(0)}function spliceOne(list,index){for(var i=index,k=i+1,n=list.length;k<n;i+=1,k+=1)list[i]=list[k];list.pop()}function resolvePathname(to){var from=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";var toParts=to&&to.split("/")||[];var fromParts=from&&from.split("/")||[];var isToAbs=to&&isAbsolute(to);var isFromAbs=from&&isAbsolute(from);var mustEndAbs=isToAbs||isFromAbs;if(to&&isAbsolute(to))fromParts=toParts;else if(toParts.length){fromParts.pop();fromParts=fromParts.concat(toParts)}if(!fromParts.length)return"/";var hasTrailingSlash=void 0;if(fromParts.length){var last=fromParts[fromParts.length-1];hasTrailingSlash="."===last||".."===last||""===last}else hasTrailingSlash=false;var up=0;for(var i=fromParts.length;i>=0;i--){var part=fromParts[i];if("."===part)spliceOne(fromParts,i);else if(".."===part){spliceOne(fromParts,i);up++}else if(up){spliceOne(fromParts,i);up--}}if(!mustEndAbs)for(;up--;up)fromParts.unshift("..");!mustEndAbs||""===fromParts[0]||fromParts[0]&&isAbsolute(fromParts[0])||fromParts.unshift("");var result=fromParts.join("/");hasTrailingSlash&&"/"!==result.substr(-1)&&(result+="/");return result}exports.default=resolvePathname;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};function valueEqual(a,b){if(a===b)return true;if(null==a||null==b)return false;if(Array.isArray(a))return Array.isArray(b)&&a.length===b.length&&a.every(function(item,index){return valueEqual(item,b[index])});var aType="undefined"===typeof a?"undefined":_typeof(a);var bType="undefined"===typeof b?"undefined":_typeof(b);if(aType!==bType)return false;if("object"===aType){var aValue=a.valueOf();var bValue=b.valueOf();if(aValue!==a||bValue!==b)return valueEqual(aValue,bValue);var aKeys=Object.keys(a);var bKeys=Object.keys(b);if(aKeys.length!==bKeys.length)return false;return aKeys.every(function(key){return valueEqual(a[key],b[key])})}return false}exports.default=valueEqual;module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _warning=__webpack_require__(349);var _warning2=_interopRequireDefault(_warning);var _invariant=__webpack_require__(123);var _invariant2=_interopRequireDefault(_invariant);var _LocationUtils=__webpack_require__(348);var _PathUtils=__webpack_require__(261);var _createTransitionManager=__webpack_require__(513);var _createTransitionManager2=_interopRequireDefault(_createTransitionManager);var _DOMUtils=__webpack_require__(931);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var PopStateEvent="popstate";var HashChangeEvent="hashchange";var getHistoryState=function getHistoryState(){try{return window.history.state||{}}catch(e){return{}}};var createBrowserHistory=function createBrowserHistory(){var props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,_invariant2.default)(_DOMUtils.canUseDOM,"Browser history needs a DOM");var globalHistory=window.history;var canUseHistory=(0,_DOMUtils.supportsHistory)();var needsHashChangeListener=!(0,_DOMUtils.supportsPopStateOnHashChange)();var _props$forceRefresh=props.forceRefresh,forceRefresh=void 0!==_props$forceRefresh&&_props$forceRefresh,_props$getUserConfirm=props.getUserConfirmation,getUserConfirmation=void 0===_props$getUserConfirm?_DOMUtils.getConfirmation:_props$getUserConfirm,_props$keyLength=props.keyLength,keyLength=void 0===_props$keyLength?6:_props$keyLength;var basename=props.basename?(0,_PathUtils.stripTrailingSlash)((0,_PathUtils.addLeadingSlash)(props.basename)):"";var getDOMLocation=function getDOMLocation(historyState){var _ref=historyState||{},key=_ref.key,state=_ref.state;var _window$location=window.location,pathname=_window$location.pathname,search=_window$location.search,hash=_window$location.hash;var path=pathname+search+hash;(0,_warning2.default)(!basename||(0,_PathUtils.hasBasename)(path,basename),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+path+'" to begin with "'+basename+'".');basename&&(path=(0,_PathUtils.stripBasename)(path,basename));return(0,_LocationUtils.createLocation)(path,state,key)};var createKey=function createKey(){return Math.random().toString(36).substr(2,keyLength)};var transitionManager=(0,_createTransitionManager2.default)();var setState=function setState(nextState){_extends(history,nextState);history.length=globalHistory.length;transitionManager.notifyListeners(history.location,history.action)};var handlePopState=function handlePopState(event){if((0,_DOMUtils.isExtraneousPopstateEvent)(event))return;handlePop(getDOMLocation(event.state))};var handleHashChange=function handleHashChange(){handlePop(getDOMLocation(getHistoryState()))};var forceNextPop=false;var handlePop=function handlePop(location){if(forceNextPop){forceNextPop=false;setState()}else{var action="POP";transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){ok?setState({action:action,location:location}):revertPop(location)})}};var revertPop=function revertPop(fromLocation){var toLocation=history.location;var toIndex=allKeys.indexOf(toLocation.key);-1===toIndex&&(toIndex=0);var fromIndex=allKeys.indexOf(fromLocation.key);-1===fromIndex&&(fromIndex=0);var delta=toIndex-fromIndex;if(delta){forceNextPop=true;go(delta)}};var initialLocation=getDOMLocation(getHistoryState());var allKeys=[initialLocation.key];var createHref=function createHref(location){return basename+(0,_PathUtils.createPath)(location)};var push=function push(path,state){(0,_warning2.default)(!("object"===("undefined"===typeof path?"undefined":_typeof(path))&&void 0!==path.state&&void 0!==state),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var action="PUSH";var location=(0,_LocationUtils.createLocation)(path,state,createKey(),history.location);transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(!ok)return;var href=createHref(location);var key=location.key,state=location.state;if(canUseHistory){globalHistory.pushState({key:key,state:state},null,href);if(forceRefresh)window.location.href=href;else{var prevIndex=allKeys.indexOf(history.location.key);var nextKeys=allKeys.slice(0,-1===prevIndex?0:prevIndex+1);nextKeys.push(location.key);allKeys=nextKeys;setState({action:action,location:location})}}else{(0,_warning2.default)(void 0===state,"Browser history cannot push state in browsers that do not support HTML5 history");window.location.href=href}})};var replace=function replace(path,state){(0,_warning2.default)(!("object"===("undefined"===typeof path?"undefined":_typeof(path))&&void 0!==path.state&&void 0!==state),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var action="REPLACE";var location=(0,_LocationUtils.createLocation)(path,state,createKey(),history.location);transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(!ok)return;var href=createHref(location);var key=location.key,state=location.state;if(canUseHistory){globalHistory.replaceState({key:key,state:state},null,href);if(forceRefresh)window.location.replace(href);else{var prevIndex=allKeys.indexOf(history.location.key);-1!==prevIndex&&(allKeys[prevIndex]=location.key);setState({action:action,location:location})}}else{(0,_warning2.default)(void 0===state,"Browser history cannot replace state in browsers that do not support HTML5 history");window.location.replace(href)}})};var go=function go(n){globalHistory.go(n)};var goBack=function goBack(){return go(-1)};var goForward=function goForward(){return go(1)};var listenerCount=0;var checkDOMListeners=function checkDOMListeners(delta){listenerCount+=delta;if(1===listenerCount){(0,_DOMUtils.addEventListener)(window,PopStateEvent,handlePopState);needsHashChangeListener&&(0,_DOMUtils.addEventListener)(window,HashChangeEvent,handleHashChange)}else if(0===listenerCount){(0,_DOMUtils.removeEventListener)(window,PopStateEvent,handlePopState);needsHashChangeListener&&(0,_DOMUtils.removeEventListener)(window,HashChangeEvent,handleHashChange)}};var isBlocked=false;var block=function block(){var prompt=arguments.length>0&&void 0!==arguments[0]&&arguments[0];var unblock=transitionManager.setPrompt(prompt);if(!isBlocked){checkDOMListeners(1);isBlocked=true}return function(){if(isBlocked){isBlocked=false;checkDOMListeners(-1)}return unblock()}};var listen=function listen(listener){var unlisten=transitionManager.appendListener(listener);checkDOMListeners(1);return function(){checkDOMListeners(-1);unlisten()}};var history={length:globalHistory.length,action:"POP",location:initialLocation,createHref:createHref,push:push,replace:replace,go:go,goBack:goBack,goForward:goForward,block:block,listen:listen};return history};exports.default=createBrowserHistory},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _warning=__webpack_require__(349);var _warning2=_interopRequireDefault(_warning);var _invariant=__webpack_require__(123);var _invariant2=_interopRequireDefault(_invariant);var _LocationUtils=__webpack_require__(348);var _PathUtils=__webpack_require__(261);var _createTransitionManager=__webpack_require__(513);var _createTransitionManager2=_interopRequireDefault(_createTransitionManager);var _DOMUtils=__webpack_require__(931);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var HashChangeEvent="hashchange";var HashPathCoders={hashbang:{encodePath:function encodePath(path){return"!"===path.charAt(0)?path:"!/"+(0,_PathUtils.stripLeadingSlash)(path)},decodePath:function decodePath(path){return"!"===path.charAt(0)?path.substr(1):path}},noslash:{encodePath:_PathUtils.stripLeadingSlash,decodePath:_PathUtils.addLeadingSlash},slash:{encodePath:_PathUtils.addLeadingSlash,decodePath:_PathUtils.addLeadingSlash}};var getHashPath=function getHashPath(){var href=window.location.href;var hashIndex=href.indexOf("#");return-1===hashIndex?"":href.substring(hashIndex+1)};var pushHashPath=function pushHashPath(path){return window.location.hash=path};var replaceHashPath=function replaceHashPath(path){var hashIndex=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,hashIndex>=0?hashIndex:0)+"#"+path)};var createHashHistory=function createHashHistory(){var props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,_invariant2.default)(_DOMUtils.canUseDOM,"Hash history needs a DOM");var globalHistory=window.history;var canGoWithoutReload=(0,_DOMUtils.supportsGoWithoutReloadUsingHash)();var _props$getUserConfirm=props.getUserConfirmation,getUserConfirmation=void 0===_props$getUserConfirm?_DOMUtils.getConfirmation:_props$getUserConfirm,_props$hashType=props.hashType,hashType=void 0===_props$hashType?"slash":_props$hashType;var basename=props.basename?(0,_PathUtils.stripTrailingSlash)((0,_PathUtils.addLeadingSlash)(props.basename)):"";var _HashPathCoders$hashT=HashPathCoders[hashType],encodePath=_HashPathCoders$hashT.encodePath,decodePath=_HashPathCoders$hashT.decodePath;var getDOMLocation=function getDOMLocation(){var path=decodePath(getHashPath());(0,_warning2.default)(!basename||(0,_PathUtils.hasBasename)(path,basename),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+path+'" to begin with "'+basename+'".');basename&&(path=(0,_PathUtils.stripBasename)(path,basename));return(0,_LocationUtils.createLocation)(path)};var transitionManager=(0,_createTransitionManager2.default)();var setState=function setState(nextState){_extends(history,nextState);history.length=globalHistory.length;transitionManager.notifyListeners(history.location,history.action)};var forceNextPop=false;var ignorePath=null;var handleHashChange=function handleHashChange(){var path=getHashPath();var encodedPath=encodePath(path);if(path!==encodedPath)replaceHashPath(encodedPath);else{var location=getDOMLocation();var prevLocation=history.location;if(!forceNextPop&&(0,_LocationUtils.locationsAreEqual)(prevLocation,location))return;if(ignorePath===(0,_PathUtils.createPath)(location))return;ignorePath=null;handlePop(location)}};var handlePop=function handlePop(location){if(forceNextPop){forceNextPop=false;setState()}else{var action="POP";transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){ok?setState({action:action,location:location}):revertPop(location)})}};var revertPop=function revertPop(fromLocation){var toLocation=history.location;var toIndex=allPaths.lastIndexOf((0,_PathUtils.createPath)(toLocation));-1===toIndex&&(toIndex=0);var fromIndex=allPaths.lastIndexOf((0,_PathUtils.createPath)(fromLocation));-1===fromIndex&&(fromIndex=0);var delta=toIndex-fromIndex;if(delta){forceNextPop=true;go(delta)}};var path=getHashPath();var encodedPath=encodePath(path);path!==encodedPath&&replaceHashPath(encodedPath);var initialLocation=getDOMLocation();var allPaths=[(0,_PathUtils.createPath)(initialLocation)];var createHref=function createHref(location){return"#"+encodePath(basename+(0,_PathUtils.createPath)(location))};var push=function push(path,state){(0,_warning2.default)(void 0===state,"Hash history cannot push state; it is ignored");var action="PUSH";var location=(0,_LocationUtils.createLocation)(path,void 0,void 0,history.location);transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(!ok)return;var path=(0,_PathUtils.createPath)(location);var encodedPath=encodePath(basename+path);var hashChanged=getHashPath()!==encodedPath;if(hashChanged){ignorePath=path;pushHashPath(encodedPath);var prevIndex=allPaths.lastIndexOf((0,_PathUtils.createPath)(history.location));var nextPaths=allPaths.slice(0,-1===prevIndex?0:prevIndex+1);nextPaths.push(path);allPaths=nextPaths;setState({action:action,location:location})}else{(0,_warning2.default)(false,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack");setState()}})};var replace=function replace(path,state){(0,_warning2.default)(void 0===state,"Hash history cannot replace state; it is ignored");var action="REPLACE";var location=(0,_LocationUtils.createLocation)(path,void 0,void 0,history.location);transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(!ok)return;var path=(0,_PathUtils.createPath)(location);var encodedPath=encodePath(basename+path);var hashChanged=getHashPath()!==encodedPath;if(hashChanged){ignorePath=path;replaceHashPath(encodedPath)}var prevIndex=allPaths.indexOf((0,_PathUtils.createPath)(history.location));-1!==prevIndex&&(allPaths[prevIndex]=path);setState({action:action,location:location})})};var go=function go(n){(0,_warning2.default)(canGoWithoutReload,"Hash history go(n) causes a full page reload in this browser");globalHistory.go(n)};var goBack=function goBack(){return go(-1)};var goForward=function goForward(){return go(1)};var listenerCount=0;var checkDOMListeners=function checkDOMListeners(delta){listenerCount+=delta;1===listenerCount?(0,_DOMUtils.addEventListener)(window,HashChangeEvent,handleHashChange):0===listenerCount&&(0,_DOMUtils.removeEventListener)(window,HashChangeEvent,handleHashChange)};var isBlocked=false;var block=function block(){var prompt=arguments.length>0&&void 0!==arguments[0]&&arguments[0];var unblock=transitionManager.setPrompt(prompt);if(!isBlocked){checkDOMListeners(1);isBlocked=true}return function(){if(isBlocked){isBlocked=false;checkDOMListeners(-1)}return unblock()}};var listen=function listen(listener){var unlisten=transitionManager.appendListener(listener);checkDOMListeners(1);return function(){checkDOMListeners(-1);unlisten()}};var history={length:globalHistory.length,action:"POP",location:initialLocation,createHref:createHref,push:push,replace:replace,go:go,goBack:goBack,goForward:goForward,block:block,listen:listen};return history};exports.default=createHashHistory},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _warning=__webpack_require__(349);var _warning2=_interopRequireDefault(_warning);var _PathUtils=__webpack_require__(261);var _LocationUtils=__webpack_require__(348);var _createTransitionManager=__webpack_require__(513);var _createTransitionManager2=_interopRequireDefault(_createTransitionManager);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var clamp=function clamp(n,lowerBound,upperBound){return Math.min(Math.max(n,lowerBound),upperBound)};var createMemoryHistory=function createMemoryHistory(){var props=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var getUserConfirmation=props.getUserConfirmation,_props$initialEntries=props.initialEntries,initialEntries=void 0===_props$initialEntries?["/"]:_props$initialEntries,_props$initialIndex=props.initialIndex,initialIndex=void 0===_props$initialIndex?0:_props$initialIndex,_props$keyLength=props.keyLength,keyLength=void 0===_props$keyLength?6:_props$keyLength;var transitionManager=(0,_createTransitionManager2.default)();var setState=function setState(nextState){_extends(history,nextState);history.length=history.entries.length;transitionManager.notifyListeners(history.location,history.action)};var createKey=function createKey(){return Math.random().toString(36).substr(2,keyLength)};var index=clamp(initialIndex,0,initialEntries.length-1);var entries=initialEntries.map(function(entry){return"string"===typeof entry?(0,_LocationUtils.createLocation)(entry,void 0,createKey()):(0,_LocationUtils.createLocation)(entry,void 0,entry.key||createKey())});var createHref=_PathUtils.createPath;var push=function push(path,state){(0,_warning2.default)(!("object"===("undefined"===typeof path?"undefined":_typeof(path))&&void 0!==path.state&&void 0!==state),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var action="PUSH";var location=(0,_LocationUtils.createLocation)(path,state,createKey(),history.location);transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(!ok)return;var prevIndex=history.index;var nextIndex=prevIndex+1;var nextEntries=history.entries.slice(0);nextEntries.length>nextIndex?nextEntries.splice(nextIndex,nextEntries.length-nextIndex,location):nextEntries.push(location);setState({action:action,location:location,index:nextIndex,entries:nextEntries})})};var replace=function replace(path,state){(0,_warning2.default)(!("object"===("undefined"===typeof path?"undefined":_typeof(path))&&void 0!==path.state&&void 0!==state),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var action="REPLACE";var location=(0,_LocationUtils.createLocation)(path,state,createKey(),history.location);transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){if(!ok)return;history.entries[history.index]=location;setState({action:action,location:location})})};var go=function go(n){var nextIndex=clamp(history.index+n,0,history.entries.length-1);var action="POP";var location=history.entries[nextIndex];transitionManager.confirmTransitionTo(location,action,getUserConfirmation,function(ok){ok?setState({action:action,location:location,index:nextIndex}):setState()})};var goBack=function goBack(){return go(-1)};var goForward=function goForward(){return go(1)};var canGo=function canGo(n){var nextIndex=history.index+n;return nextIndex>=0&&nextIndex<history.entries.length};var block=function block(){var prompt=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return transitionManager.setPrompt(prompt)};var listen=function listen(listener){return transitionManager.appendListener(listener)};var history={length:entries.length,action:"POP",location:entries[index],index:index,entries:entries,createHref:createHref,push:push,replace:replace,go:go,goBack:goBack,goForward:goForward,canGo:canGo,block:block,listen:listen};return history};exports.default=createMemoryHistory},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(56);var invariant=__webpack_require__(60);var ReactPropTypesSecret=__webpack_require__(2571);module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret)return;invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _warning=__webpack_require__(140);var _warning2=_interopRequireDefault(_warning);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(347);var _propTypes2=_interopRequireDefault(_propTypes);var _history=__webpack_require__(214);var _Router=__webpack_require__(514);var _Router2=_interopRequireDefault(_Router);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var HashRouter=function(_React$Component){_inherits(HashRouter,_React$Component);function HashRouter(){var _temp,_this,_ret;_classCallCheck(this,HashRouter);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.history=(0,_history.createHashHistory)(_this.props),_temp),_possibleConstructorReturn(_this,_ret)}HashRouter.prototype.componentWillMount=function componentWillMount(){(0,_warning2.default)(!this.props.history,"<HashRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")};HashRouter.prototype.render=function render(){return _react2.default.createElement(_Router2.default,{history:this.history,children:this.props.children})};return HashRouter}(_react2.default.Component);HashRouter.propTypes={basename:_propTypes2.default.string,getUserConfirmation:_propTypes2.default.func,hashType:_propTypes2.default.oneOf(["hashbang","noslash","slash"]),children:_propTypes2.default.node};exports.default=HashRouter},function(module,exports,__webpack_require__){"use strict";var invariant=function(condition,format,a,b,c,d,e,f){false;if(!condition){var error;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f];var argIndex=0;error=new Error(format.replace(/%s/g,function(){return args[argIndex++]}));error.name="Invariant Violation"}error.framesToPop=1;throw error}};module.exports=invariant},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _MemoryRouter=__webpack_require__(2575);var _MemoryRouter2=_interopRequireDefault(_MemoryRouter);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_MemoryRouter2.default},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _warning=__webpack_require__(140);var _warning2=_interopRequireDefault(_warning);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(141);var _propTypes2=_interopRequireDefault(_propTypes);var _history=__webpack_require__(214);var _Router=__webpack_require__(515);var _Router2=_interopRequireDefault(_Router);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var MemoryRouter=function(_React$Component){_inherits(MemoryRouter,_React$Component);function MemoryRouter(){var _temp,_this,_ret;_classCallCheck(this,MemoryRouter);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.history=(0,_history.createMemoryHistory)(_this.props),_temp),_possibleConstructorReturn(_this,_ret)}MemoryRouter.prototype.componentWillMount=function componentWillMount(){(0,_warning2.default)(!this.props.history,"<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")};MemoryRouter.prototype.render=function render(){return _react2.default.createElement(_Router2.default,{history:this.history,children:this.props.children})};return MemoryRouter}(_react2.default.Component);MemoryRouter.propTypes={initialEntries:_propTypes2.default.array,initialIndex:_propTypes2.default.number,getUserConfirmation:_propTypes2.default.func,keyLength:_propTypes2.default.number,children:_propTypes2.default.node};exports.default=MemoryRouter},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"===typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(347);var _propTypes2=_interopRequireDefault(_propTypes);var _Route=__webpack_require__(933);var _Route2=_interopRequireDefault(_Route);var _Link=__webpack_require__(932);var _Link2=_interopRequireDefault(_Link);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var NavLink=function NavLink(_ref){var to=_ref.to,exact=_ref.exact,strict=_ref.strict,location=_ref.location,activeClassName=_ref.activeClassName,className=_ref.className,activeStyle=_ref.activeStyle,style=_ref.style,getIsActive=_ref.isActive,ariaCurrent=_ref["aria-current"],rest=_objectWithoutProperties(_ref,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]);var path="object"===("undefined"===typeof to?"undefined":_typeof(to))?to.pathname:to;var escapedPath=path&&path.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1");return _react2.default.createElement(_Route2.default,{path:escapedPath,exact:exact,strict:strict,location:location,children:function children(_ref2){var location=_ref2.location,match=_ref2.match;var isActive=!!(getIsActive?getIsActive(match,location):match);return _react2.default.createElement(_Link2.default,_extends({to:to,className:isActive?[className,activeClassName].filter(function(i){return i}).join(" "):className,style:isActive?_extends({},style,activeStyle):style,"aria-current":isActive&&ariaCurrent||null},rest))}})};NavLink.propTypes={to:_Link2.default.propTypes.to,exact:_propTypes2.default.bool,strict:_propTypes2.default.bool,location:_propTypes2.default.object,activeClassName:_propTypes2.default.string,className:_propTypes2.default.string,activeStyle:_propTypes2.default.object,style:_propTypes2.default.object,isActive:_propTypes2.default.func,"aria-current":_propTypes2.default.oneOf(["page","step","location","date","time","true"])};NavLink.defaultProps={activeClassName:"active","aria-current":"page"};exports.default=NavLink},function(module,exports){module.exports=Array.isArray||function(arr){return"[object Array]"==Object.prototype.toString.call(arr)}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _Prompt=__webpack_require__(2579);var _Prompt2=_interopRequireDefault(_Prompt);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_Prompt2.default},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(141);var _propTypes2=_interopRequireDefault(_propTypes);var _invariant=__webpack_require__(215);var _invariant2=_interopRequireDefault(_invariant);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var Prompt=function(_React$Component){_inherits(Prompt,_React$Component);function Prompt(){_classCallCheck(this,Prompt);return _possibleConstructorReturn(this,_React$Component.apply(this,arguments))}Prompt.prototype.enable=function enable(message){this.unblock&&this.unblock();this.unblock=this.context.router.history.block(message)};Prompt.prototype.disable=function disable(){if(this.unblock){this.unblock();this.unblock=null}};Prompt.prototype.componentWillMount=function componentWillMount(){(0,_invariant2.default)(this.context.router,"You should not use <Prompt> outside a <Router>");this.props.when&&this.enable(this.props.message)};Prompt.prototype.componentWillReceiveProps=function componentWillReceiveProps(nextProps){nextProps.when?this.props.when&&this.props.message===nextProps.message||this.enable(nextProps.message):this.disable()};Prompt.prototype.componentWillUnmount=function componentWillUnmount(){this.disable()};Prompt.prototype.render=function render(){return null};return Prompt}(_react2.default.Component);Prompt.propTypes={when:_propTypes2.default.bool,message:_propTypes2.default.oneOfType([_propTypes2.default.func,_propTypes2.default.string]).isRequired};Prompt.defaultProps={when:true};Prompt.contextTypes={router:_propTypes2.default.shape({history:_propTypes2.default.shape({block:_propTypes2.default.func.isRequired}).isRequired}).isRequired};exports.default=Prompt},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _Redirect=__webpack_require__(2581);var _Redirect2=_interopRequireDefault(_Redirect);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_Redirect2.default},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(141);var _propTypes2=_interopRequireDefault(_propTypes);var _warning=__webpack_require__(140);var _warning2=_interopRequireDefault(_warning);var _invariant=__webpack_require__(215);var _invariant2=_interopRequireDefault(_invariant);var _history=__webpack_require__(214);var _generatePath=__webpack_require__(936);var _generatePath2=_interopRequireDefault(_generatePath);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var Redirect=function(_React$Component){_inherits(Redirect,_React$Component);function Redirect(){_classCallCheck(this,Redirect);return _possibleConstructorReturn(this,_React$Component.apply(this,arguments))}Redirect.prototype.isStatic=function isStatic(){return this.context.router&&this.context.router.staticContext};Redirect.prototype.componentWillMount=function componentWillMount(){(0,_invariant2.default)(this.context.router,"You should not use <Redirect> outside a <Router>");this.isStatic()&&this.perform()};Redirect.prototype.componentDidMount=function componentDidMount(){this.isStatic()||this.perform()};Redirect.prototype.componentDidUpdate=function componentDidUpdate(prevProps){var prevTo=(0,_history.createLocation)(prevProps.to);var nextTo=(0,_history.createLocation)(this.props.to);if((0,_history.locationsAreEqual)(prevTo,nextTo)){(0,_warning2.default)(false,"You tried to redirect to the same route you're currently on: \""+nextTo.pathname+nextTo.search+'"');return}this.perform()};Redirect.prototype.computeTo=function computeTo(_ref){var computedMatch=_ref.computedMatch,to=_ref.to;if(computedMatch)return"string"===typeof to?(0,_generatePath2.default)(to,computedMatch.params):_extends({},to,{pathname:(0,_generatePath2.default)(to.pathname,computedMatch.params)});return to};Redirect.prototype.perform=function perform(){var history=this.context.router.history;var push=this.props.push;var to=this.computeTo(this.props);push?history.push(to):history.replace(to)};Redirect.prototype.render=function render(){return null};return Redirect}(_react2.default.Component);Redirect.propTypes={computedMatch:_propTypes2.default.object,push:_propTypes2.default.bool,from:_propTypes2.default.string,to:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.object]).isRequired};Redirect.defaultProps={push:false};Redirect.contextTypes={router:_propTypes2.default.shape({history:_propTypes2.default.shape({push:_propTypes2.default.func.isRequired,replace:_propTypes2.default.func.isRequired}).isRequired,staticContext:_propTypes2.default.object}).isRequired};exports.default=Redirect},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _StaticRouter=__webpack_require__(2583);var _StaticRouter2=_interopRequireDefault(_StaticRouter);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_StaticRouter2.default},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _warning=__webpack_require__(140);var _warning2=_interopRequireDefault(_warning);var _invariant=__webpack_require__(215);var _invariant2=_interopRequireDefault(_invariant);var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(141);var _propTypes2=_interopRequireDefault(_propTypes);var _history=__webpack_require__(214);var _Router=__webpack_require__(515);var _Router2=_interopRequireDefault(_Router);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var addLeadingSlash=function addLeadingSlash(path){return"/"===path.charAt(0)?path:"/"+path};var addBasename=function addBasename(basename,location){if(!basename)return location;return _extends({},location,{pathname:addLeadingSlash(basename)+location.pathname})};var stripBasename=function stripBasename(basename,location){if(!basename)return location;var base=addLeadingSlash(basename);if(0!==location.pathname.indexOf(base))return location;return _extends({},location,{pathname:location.pathname.substr(base.length)})};var createURL=function createURL(location){return"string"===typeof location?location:(0,_history.createPath)(location)};var staticHandler=function staticHandler(methodName){return function(){(0,_invariant2.default)(false,"You cannot %s with <StaticRouter>",methodName)}};var noop=function noop(){};var StaticRouter=function(_React$Component){_inherits(StaticRouter,_React$Component);function StaticRouter(){var _temp,_this,_ret;_classCallCheck(this,StaticRouter);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this=_possibleConstructorReturn(this,_React$Component.call.apply(_React$Component,[this].concat(args))),_this),_this.createHref=function(path){return addLeadingSlash(_this.props.basename+createURL(path))},_this.handlePush=function(location){var _this$props=_this.props,basename=_this$props.basename,context=_this$props.context;context.action="PUSH";context.location=addBasename(basename,(0,_history.createLocation)(location));context.url=createURL(context.location)},_this.handleReplace=function(location){var _this$props2=_this.props,basename=_this$props2.basename,context=_this$props2.context;context.action="REPLACE";context.location=addBasename(basename,(0,_history.createLocation)(location));context.url=createURL(context.location)},_this.handleListen=function(){return noop},_this.handleBlock=function(){return noop},_temp),_possibleConstructorReturn(_this,_ret)}StaticRouter.prototype.getChildContext=function getChildContext(){return{router:{staticContext:this.props.context}}};StaticRouter.prototype.componentWillMount=function componentWillMount(){(0,_warning2.default)(!this.props.history,"<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")};StaticRouter.prototype.render=function render(){var _props=this.props,basename=_props.basename,location=(_props.context,_props.location),props=_objectWithoutProperties(_props,["basename","context","location"]);var history={createHref:this.createHref,action:"POP",location:stripBasename(basename,(0,_history.createLocation)(location)),push:this.handlePush,replace:this.handleReplace,go:staticHandler("go"),goBack:staticHandler("goBack"),goForward:staticHandler("goForward"),listen:this.handleListen,block:this.handleBlock};return _react2.default.createElement(_Router2.default,_extends({},props,{history:history}))};return StaticRouter}(_react2.default.Component);StaticRouter.propTypes={basename:_propTypes2.default.string,context:_propTypes2.default.object.isRequired,location:_propTypes2.default.oneOfType([_propTypes2.default.string,_propTypes2.default.object])};StaticRouter.defaultProps={basename:"",location:"/"};StaticRouter.childContextTypes={router:_propTypes2.default.object.isRequired};exports.default=StaticRouter},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _Switch=__webpack_require__(2585);var _Switch2=_interopRequireDefault(_Switch);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_Switch2.default},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(141);var _propTypes2=_interopRequireDefault(_propTypes);var _warning=__webpack_require__(140);var _warning2=_interopRequireDefault(_warning);var _invariant=__webpack_require__(215);var _invariant2=_interopRequireDefault(_invariant);var _matchPath=__webpack_require__(516);var _matchPath2=_interopRequireDefault(_matchPath);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var Switch=function(_React$Component){_inherits(Switch,_React$Component);function Switch(){_classCallCheck(this,Switch);return _possibleConstructorReturn(this,_React$Component.apply(this,arguments))}Switch.prototype.componentWillMount=function componentWillMount(){(0,_invariant2.default)(this.context.router,"You should not use <Switch> outside a <Router>")};Switch.prototype.componentWillReceiveProps=function componentWillReceiveProps(nextProps){(0,_warning2.default)(!(nextProps.location&&!this.props.location),'<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.');(0,_warning2.default)(!(!nextProps.location&&this.props.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')};Switch.prototype.render=function render(){var route=this.context.router.route;var children=this.props.children;var location=this.props.location||route.location;var match=void 0,child=void 0;_react2.default.Children.forEach(children,function(element){if(null==match&&_react2.default.isValidElement(element)){var _element$props=element.props,pathProp=_element$props.path,exact=_element$props.exact,strict=_element$props.strict,sensitive=_element$props.sensitive,from=_element$props.from;var path=pathProp||from;child=element;match=(0,_matchPath2.default)(location.pathname,{path:path,exact:exact,strict:strict,sensitive:sensitive},route.match)}});return match?_react2.default.cloneElement(child,{location:location,computedMatch:match}):null};return Switch}(_react2.default.Component);Switch.contextTypes={router:_propTypes2.default.shape({route:_propTypes2.default.object.isRequired}).isRequired};Switch.propTypes={children:_propTypes2.default.node,location:_propTypes2.default.object};exports.default=Switch},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _generatePath=__webpack_require__(936);var _generatePath2=_interopRequireDefault(_generatePath);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_generatePath2.default},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _matchPath=__webpack_require__(516);var _matchPath2=_interopRequireDefault(_matchPath);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_matchPath2.default},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _withRouter=__webpack_require__(2589);var _withRouter2=_interopRequireDefault(_withRouter);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_withRouter2.default},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(141);var _propTypes2=_interopRequireDefault(_propTypes);var _hoistNonReactStatics=__webpack_require__(460);var _hoistNonReactStatics2=_interopRequireDefault(_hoistNonReactStatics);var _Route=__webpack_require__(934);var _Route2=_interopRequireDefault(_Route);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}var withRouter=function withRouter(Component){var C=function C(props){var wrappedComponentRef=props.wrappedComponentRef,remainingProps=_objectWithoutProperties(props,["wrappedComponentRef"]);return _react2.default.createElement(_Route2.default,{children:function children(routeComponentProps){return _react2.default.createElement(Component,_extends({},remainingProps,routeComponentProps,{ref:wrappedComponentRef}))}})};C.displayName="withRouter("+(Component.displayName||Component.name)+")";C.WrappedComponent=Component;C.propTypes={wrappedComponentRef:_propTypes2.default.func};return(0,_hoistNonReactStatics2.default)(C,Component)};exports.default=withRouter},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.sizeMe=void 0;var _sizeMe=__webpack_require__(2591);var _sizeMe2=_interopRequireDefault(_sizeMe);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.sizeMe=_sizeMe2.default;exports.default=_sizeMe2.default},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;"value"in descriptor&&(descriptor.writable=true);Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){protoProps&&defineProperties(Constructor.prototype,protoProps);staticProps&&defineProperties(Constructor,staticProps);return Constructor}}();var _react=__webpack_require__(0);var _react2=_interopRequireDefault(_react);var _propTypes=__webpack_require__(12);var _propTypes2=_interopRequireDefault(_propTypes);var _reactDom=__webpack_require__(72);var _reactDom2=_interopRequireDefault(_reactDom);var _invariant=__webpack_require__(123);var _invariant2=_interopRequireDefault(_invariant);var _throttle=__webpack_require__(2592);var _throttle2=_interopRequireDefault(_throttle);var _debounce=__webpack_require__(937);var _debounce2=_interopRequireDefault(_debounce);var _resizeDetector=__webpack_require__(2601);var _resizeDetector2=_interopRequireDefault(_resizeDetector);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!==typeof call&&"function"!==typeof call?self:call}function _inherits(subClass,superClass){if("function"!==typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var defaultConfig={monitorWidth:true,monitorHeight:false,monitorPosition:false,refreshRate:16,refreshMode:"throttle",noPlaceholder:false};function getDisplayName(WrappedComponent){return WrappedComponent.displayName||WrappedComponent.name||"Component"}var ReferenceWrapper=function(_Component){_inherits(ReferenceWrapper,_Component);function ReferenceWrapper(){_classCallCheck(this,ReferenceWrapper);return _possibleConstructorReturn(this,(ReferenceWrapper.__proto__||Object.getPrototypeOf(ReferenceWrapper)).apply(this,arguments))}_createClass(ReferenceWrapper,[{key:"render",value:function render(){return _react.Children.only(this.props.children)}}]);return ReferenceWrapper}(_react.Component);ReferenceWrapper.displayName="SizeMeReferenceWrapper";ReferenceWrapper.propTypes={children:_propTypes2.default.element.isRequired};function Placeholder(_ref){var className=_ref.className,style=_ref.style;var phProps={};if(className||style){className&&(phProps.className=className);style&&(phProps.style=style)}else phProps.style={width:"100%",height:"100%"};return _react2.default.createElement("div",phProps)}Placeholder.displayName="SizeMePlaceholder";Placeholder.propTypes={className:_propTypes2.default.string,style:_propTypes2.default.object};var renderWrapper=function renderWrapper(WrappedComponent){function SizeMeRenderer(props){var explicitRef=props.explicitRef,className=props.className,style=props.style,size=props.size,disablePlaceholder=props.disablePlaceholder,restProps=(props.onSize,_objectWithoutProperties(props,["explicitRef","className","style","size","disablePlaceholder","onSize"]));var noSizeData=null==size||null==size.width&&null==size.height&&null==size.position;var renderPlaceholder=noSizeData&&!disablePlaceholder;var renderProps={className:className,style:style};null!=size&&(renderProps.size=size);var toRender=renderPlaceholder?_react2.default.createElement(Placeholder,{className:className,style:style}):_react2.default.createElement(WrappedComponent,_extends({},renderProps,restProps));return _react2.default.createElement(ReferenceWrapper,{ref:explicitRef},toRender)}SizeMeRenderer.displayName="SizeMeRenderer("+getDisplayName(WrappedComponent)+")";SizeMeRenderer.propTypes={explicitRef:_propTypes2.default.func.isRequired,className:_propTypes2.default.string,style:_propTypes2.default.object,size:_propTypes2.default.shape({width:_propTypes2.default.number,height:_propTypes2.default.number}),disablePlaceholder:_propTypes2.default.bool,onSize:_propTypes2.default.func};return SizeMeRenderer};function sizeMe(){var config=arguments.length>0&&void 0!==arguments[0]?arguments[0]:defaultConfig;var _config$monitorWidth=config.monitorWidth,monitorWidth=void 0===_config$monitorWidth?defaultConfig.monitorWidth:_config$monitorWidth,_config$monitorHeight=config.monitorHeight,monitorHeight=void 0===_config$monitorHeight?defaultConfig.monitorHeight:_config$monitorHeight,_config$monitorPositi=config.monitorPosition,monitorPosition=void 0===_config$monitorPositi?defaultConfig.monitorPosition:_config$monitorPositi,_config$refreshRate=config.refreshRate,refreshRate=void 0===_config$refreshRate?defaultConfig.refreshRate:_config$refreshRate,_config$refreshMode=config.refreshMode,refreshMode=void 0===_config$refreshMode?defaultConfig.refreshMode:_config$refreshMode,_config$noPlaceholder=config.noPlaceholder,noPlaceholder=void 0===_config$noPlaceholder?defaultConfig.noPlaceholder:_config$noPlaceholder;(0,_invariant2.default)(monitorWidth||monitorHeight||monitorPosition,'You have to monitor at least one of the width, height, or position when using "sizeMe"');(0,_invariant2.default)(refreshRate>=16,"It is highly recommended that you don't put your refreshRate lower than 16 as this may cause layout thrashing.");(0,_invariant2.default)("throttle"===refreshMode||"debounce"===refreshMode,'The refreshMode should have a value of "throttle" or "debounce"');var refreshDelayStrategy="throttle"===refreshMode?_throttle2.default:_debounce2.default;return function WrapComponent(WrappedComponent){var SizeMeRenderWrapper=renderWrapper(WrappedComponent);var SizeAwareComponent=function(_React$Component){_inherits(SizeAwareComponent,_React$Component);function SizeAwareComponent(){var _ref2;var _temp,_this2,_ret;_classCallCheck(this,SizeAwareComponent);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _ret=(_temp=(_this2=_possibleConstructorReturn(this,(_ref2=SizeAwareComponent.__proto__||Object.getPrototypeOf(SizeAwareComponent)).call.apply(_ref2,[this].concat(args))),_this2),_this2.state={width:void 0,height:void 0,position:void 0},_this2.determineStrategy=function(props){if(props.onSize){_this2.callbackState||(_this2.callbackState=_extends({},_this2.state));_this2.strategy="callback"}else _this2.strategy="render"},_this2.strategisedSetState=function(state){if("callback"===_this2.strategy){_this2.callbackState=state;_this2.props.onSize(state)}else _this2.setState(state)},_this2.strategisedGetState=function(){return"callback"===_this2.strategy?_this2.callbackState:_this2.state},_this2.refCallback=function(element){_this2.element=element},_this2.hasSizeChanged=function(current,next){var c=current;var n=next;var cp=c.position||{};var np=n.position||{};return monitorHeight&&c.height!==n.height||monitorPosition&&(cp.top!==np.top||cp.left!==np.left||cp.bottom!==np.bottom||cp.right!==np.right)||monitorWidth&&c.width!==n.width},_this2.checkIfSizeChanged=refreshDelayStrategy(function(el){var _el$getBoundingClient=el.getBoundingClientRect(),width=_el$getBoundingClient.width,height=_el$getBoundingClient.height,right=_el$getBoundingClient.right,left=_el$getBoundingClient.left,top=_el$getBoundingClient.top,bottom=_el$getBoundingClient.bottom;var next={width:monitorWidth?width:null,height:monitorHeight?height:null,position:monitorPosition?{right:right,left:left,top:top,bottom:bottom}:null};_this2.hasSizeChanged(_this2.strategisedGetState(),next)&&_this2.strategisedSetState(next)},refreshRate),_temp),_possibleConstructorReturn(_this2,_ret)}_createClass(SizeAwareComponent,[{key:"componentDidMount",value:function componentDidMount(){this.determineStrategy(this.props);this.handleDOMNode()}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(nextProps){this.determineStrategy(nextProps)}},{key:"componentDidUpdate",value:function componentDidUpdate(){this.handleDOMNode()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.hasSizeChanged=function(){return};this.checkIfSizeChanged=function(){return};if(this.domEl){(0,_resizeDetector2.default)().removeAllListeners(this.domEl);this.domEl=null}}},{key:"handleDOMNode",value:function handleDOMNode(){var found=this.element&&_reactDom2.default.findDOMNode(this.element);if(!found){if(this.domEl){(0,_resizeDetector2.default)().removeAllListeners(this.domEl);this.domEl=null}return}this.domEl&&(0,_resizeDetector2.default)().removeAllListeners(this.domEl);this.domEl=found;(0,_resizeDetector2.default)().listenTo(this.domEl,this.checkIfSizeChanged)}},{key:"render",value:function render(){var disablePlaceholder=sizeMe.enableSSRBehaviour||sizeMe.noPlaceholders||noPlaceholder||"callback"===this.strategy;var size=_extends({},this.state);return _react2.default.createElement(SizeMeRenderWrapper,_extends({explicitRef:this.refCallback,size:"callback"===this.strategy?null:size,disablePlaceholder:disablePlaceholder},this.props))}}]);return SizeAwareComponent}(_react2.default.Component);SizeAwareComponent.displayName="SizeMe("+getDisplayName(WrappedComponent)+")";SizeAwareComponent.propTypes={onSize:_propTypes2.default.func};SizeAwareComponent.WrappedComponent=WrappedComponent;return SizeAwareComponent}}sizeMe.enableSSRBehaviour=false;sizeMe.noPlaceholders=false;exports.default=sizeMe},function(module,exports,__webpack_require__){var debounce=__webpack_require__(937),isObject=__webpack_require__(517);var FUNC_ERROR_TEXT="Expected a function";function throttle(func,wait,options){var leading=true,trailing=true;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);if(isObject(options)){leading="leading"in options?!!options.leading:leading;trailing="trailing"in options?!!options.trailing:trailing}return debounce(func,wait,{leading:leading,maxWait:wait,trailing:trailing})}module.exports=throttle},function(module,exports,__webpack_require__){var root=__webpack_require__(938);var now=function(){return root.Date.now()};module.exports=now},function(module,exports,__webpack_require__){(function(global){var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;module.exports=freeGlobal}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){var isObject=__webpack_require__(517),isSymbol=__webpack_require__(2596);var NAN=NaN;var reTrim=/^\s+|\s+$/g;var reIsBadHex=/^[-+]0x[0-9a-f]+$/i;var reIsBinary=/^0b[01]+$/i;var reIsOctal=/^0o[0-7]+$/i;var freeParseInt=parseInt;function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NAN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=value.replace(reTrim,"");var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NAN:+value}module.exports=toNumber},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(2597),isObjectLike=__webpack_require__(2600);var symbolTag="[object Symbol]";function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&baseGetTag(value)==symbolTag}module.exports=isSymbol},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(939),getRawTag=__webpack_require__(2598),objectToString=__webpack_require__(2599);var nullTag="[object Null]",undefinedTag="[object Undefined]";var symToStringTag=Symbol?Symbol.toStringTag:void 0;function baseGetTag(value){if(null==value)return void 0===value?undefinedTag:nullTag;return symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}module.exports=baseGetTag},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(939);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;var nativeObjectToString=objectProto.toString;var symToStringTag=Symbol?Symbol.toStringTag:void 0;function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=true}catch(e){}var result=nativeObjectToString.call(value);unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]);return result}module.exports=getRawTag},function(module,exports){var objectProto=Object.prototype;var nativeObjectToString=objectProto.toString;function objectToString(value){return nativeObjectToString.call(value)}module.exports=objectToString},function(module,exports){function isObjectLike(value){return null!=value&&"object"==typeof value}module.exports=isObjectLike},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _elementResizeDetector=__webpack_require__(2602);var _elementResizeDetector2=_interopRequireDefault(_elementResizeDetector);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var instance=void 0;function resizeDetector(){instance||(instance=(0,_elementResizeDetector2.default)({strategy:"scroll"}));return instance}exports.default=resizeDetector},function(module,exports,__webpack_require__){"use strict";var forEach=__webpack_require__(940).forEach;var elementUtilsMaker=__webpack_require__(2603);var listenerHandlerMaker=__webpack_require__(2604);var idGeneratorMaker=__webpack_require__(2605);var idHandlerMaker=__webpack_require__(2606);var reporterMaker=__webpack_require__(2607);var browserDetector=__webpack_require__(941);var batchProcessorMaker=__webpack_require__(2608);var stateHandler=__webpack_require__(2610);var objectStrategyMaker=__webpack_require__(2611);var scrollStrategyMaker=__webpack_require__(2612);function isCollection(obj){return Array.isArray(obj)||void 0!==obj.length}function toArray(collection){if(Array.isArray(collection))return collection;var array=[];forEach(collection,function(obj){array.push(obj)});return array}function isElement(obj){return obj&&1===obj.nodeType}module.exports=function(options){options=options||{};var idHandler;if(options.idHandler)idHandler={get:function(element){return options.idHandler.get(element,true)},set:options.idHandler.set};else{var idGenerator=idGeneratorMaker();var defaultIdHandler=idHandlerMaker({idGenerator:idGenerator,stateHandler:stateHandler});idHandler=defaultIdHandler}var reporter=options.reporter;if(!reporter){var quiet=false===reporter;reporter=reporterMaker(quiet)}var batchProcessor=getOption(options,"batchProcessor",batchProcessorMaker({reporter:reporter}));var globalOptions={};globalOptions.callOnAdd=!!getOption(options,"callOnAdd",true);globalOptions.debug=!!getOption(options,"debug",false);var eventListenerHandler=listenerHandlerMaker(idHandler);var elementUtils=elementUtilsMaker({stateHandler:stateHandler});var detectionStrategy;var desiredStrategy=getOption(options,"strategy","object");var strategyOptions={reporter:reporter,batchProcessor:batchProcessor,stateHandler:stateHandler,idHandler:idHandler};if("scroll"===desiredStrategy)if(browserDetector.isLegacyOpera()){reporter.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy.");desiredStrategy="object"}else if(browserDetector.isIE(9)){reporter.warn("Scroll strategy is not supported on IE9. Changing to object strategy.");desiredStrategy="object"}if("scroll"===desiredStrategy)detectionStrategy=scrollStrategyMaker(strategyOptions);else{if("object"!==desiredStrategy)throw new Error("Invalid strategy name: "+desiredStrategy);detectionStrategy=objectStrategyMaker(strategyOptions)}var onReadyCallbacks={};function listenTo(options,elements,listener){function onResizeCallback(element){var listeners=eventListenerHandler.get(element);forEach(listeners,function callListenerProxy(listener){listener(element)})}function addListener(callOnAdd,element,listener){eventListenerHandler.add(element,listener);callOnAdd&&listener(element)}if(!listener){listener=elements;elements=options;options={}}if(!elements)throw new Error("At least one element required.");if(!listener)throw new Error("Listener required.");if(isElement(elements))elements=[elements];else{if(!isCollection(elements))return reporter.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");elements=toArray(elements)}var elementsReady=0;var callOnAdd=getOption(options,"callOnAdd",globalOptions.callOnAdd);var onReadyCallback=getOption(options,"onReady",function noop(){});var debug=getOption(options,"debug",globalOptions.debug);forEach(elements,function attachListenerToElement(element){if(!stateHandler.getState(element)){stateHandler.initState(element);idHandler.set(element)}var id=idHandler.get(element);debug&&reporter.log("Attaching listener to element",id,element);if(!elementUtils.isDetectable(element)){debug&&reporter.log(id,"Not detectable.");if(elementUtils.isBusy(element)){debug&&reporter.log(id,"System busy making it detectable");addListener(callOnAdd,element,listener);onReadyCallbacks[id]=onReadyCallbacks[id]||[];onReadyCallbacks[id].push(function onReady(){elementsReady++;elementsReady===elements.length&&onReadyCallback()});return}debug&&reporter.log(id,"Making detectable...");elementUtils.markBusy(element,true);return detectionStrategy.makeDetectable({debug:debug},element,function onElementDetectable(element){debug&&reporter.log(id,"onElementDetectable");if(stateHandler.getState(element)){elementUtils.markAsDetectable(element);elementUtils.markBusy(element,false);detectionStrategy.addListener(element,onResizeCallback);addListener(callOnAdd,element,listener);var state=stateHandler.getState(element);if(state&&state.startSize){var width=element.offsetWidth;var height=element.offsetHeight;state.startSize.width===width&&state.startSize.height===height||onResizeCallback(element)}onReadyCallbacks[id]&&forEach(onReadyCallbacks[id],function(callback){callback()})}else debug&&reporter.log(id,"Element uninstalled before being detectable.");delete onReadyCallbacks[id];elementsReady++;elementsReady===elements.length&&onReadyCallback()})}debug&&reporter.log(id,"Already detecable, adding listener.");addListener(callOnAdd,element,listener);elementsReady++});elementsReady===elements.length&&onReadyCallback()}function uninstall(elements){if(!elements)return reporter.error("At least one element is required.");if(isElement(elements))elements=[elements];else{if(!isCollection(elements))return reporter.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");elements=toArray(elements)}forEach(elements,function(element){eventListenerHandler.removeAllListeners(element);detectionStrategy.uninstall(element);stateHandler.cleanState(element)})}return{listenTo:listenTo,removeListener:eventListenerHandler.removeListener,removeAllListeners:eventListenerHandler.removeAllListeners,uninstall:uninstall}};function getOption(options,name,defaultValue){var value=options[name];if((void 0===value||null===value)&&void 0!==defaultValue)return defaultValue;return value}},function(module,exports,__webpack_require__){"use strict";module.exports=function(options){var getState=options.stateHandler.getState;function isDetectable(element){var state=getState(element);return state&&!!state.isDetectable}function markAsDetectable(element){getState(element).isDetectable=true}function isBusy(element){return!!getState(element).busy}function markBusy(element,busy){getState(element).busy=!!busy}return{isDetectable:isDetectable,markAsDetectable:markAsDetectable,isBusy:isBusy,markBusy:markBusy}}},function(module,exports,__webpack_require__){"use strict";module.exports=function(idHandler){var eventListeners={};function getListeners(element){var id=idHandler.get(element);if(void 0===id)return[];return eventListeners[id]||[]}function addListener(element,listener){var id=idHandler.get(element);eventListeners[id]||(eventListeners[id]=[]);eventListeners[id].push(listener)}function removeListener(element,listener){var listeners=getListeners(element);for(var i=0,len=listeners.length;i<len;++i)if(listeners[i]===listener){listeners.splice(i,1);break}}function removeAllListeners(element){var listeners=getListeners(element);if(!listeners)return;listeners.length=0}return{get:getListeners,add:addListener,removeListener:removeListener,removeAllListeners:removeAllListeners}}},function(module,exports,__webpack_require__){"use strict";module.exports=function(){var idCount=1;function generate(){return idCount++}return{generate:generate}}},function(module,exports,__webpack_require__){"use strict";module.exports=function(options){var idGenerator=options.idGenerator;var getState=options.stateHandler.getState;function getId(element){var state=getState(element);if(state&&void 0!==state.id)return state.id;return null}function setId(element){var state=getState(element);if(!state)throw new Error("setId required the element to have a resize detection state.");var id=idGenerator.generate();state.id=id;return id}return{get:getId,set:setId}}},function(module,exports,__webpack_require__){"use strict";module.exports=function(quiet){function noop(){}var reporter={log:noop,warn:noop,error:noop};if(!quiet&&window.console){var attachFunction=function(reporter,name){reporter[name]=function reporterProxy(){var f=console[name];if(f.apply)f.apply(console,arguments);else for(var i=0;i<arguments.length;i++)f(arguments[i])}};attachFunction(reporter,"log");attachFunction(reporter,"warn");attachFunction(reporter,"error")}return reporter}},function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__(2609);module.exports=function batchProcessorMaker(options){options=options||{};var reporter=options.reporter;var asyncProcess=utils.getOption(options,"async",true);var autoProcess=utils.getOption(options,"auto",true);if(autoProcess&&!asyncProcess){reporter&&reporter.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true.");asyncProcess=true}var batch=Batch();var asyncFrameHandler;var isProcessing=false;function addFunction(level,fn){!isProcessing&&autoProcess&&asyncProcess&&0===batch.size()&&processBatchAsync();batch.add(level,fn)}function processBatch(){isProcessing=true;while(batch.size()){var processingBatch=batch;batch=Batch();processingBatch.process()}isProcessing=false}function forceProcessBatch(localAsyncProcess){if(isProcessing)return;void 0===localAsyncProcess&&(localAsyncProcess=asyncProcess);if(asyncFrameHandler){cancelFrame(asyncFrameHandler);asyncFrameHandler=null}localAsyncProcess?processBatchAsync():processBatch()}function processBatchAsync(){asyncFrameHandler=requestFrame(processBatch)}function cancelFrame(listener){var cancel=clearTimeout;return cancel(listener)}function requestFrame(callback){var raf=function(fn){return setTimeout(fn,0)};return raf(callback)}return{add:addFunction,force:forceProcessBatch}};function Batch(){var batch={};var size=0;var topLevel=0;var bottomLevel=0;function add(level,fn){if(!fn){fn=level;level=0}level>topLevel?topLevel=level:level<bottomLevel&&(bottomLevel=level);batch[level]||(batch[level]=[]);batch[level].push(fn);size++}function process(){for(var level=bottomLevel;level<=topLevel;level++){var fns=batch[level];for(var i=0;i<fns.length;i++){var fn=fns[i];fn()}}}function getSize(){return size}return{add:add,process:process,size:getSize}}},function(module,exports,__webpack_require__){"use strict";var utils=module.exports={};utils.getOption=getOption;function getOption(options,name,defaultValue){var value=options[name];if((void 0===value||null===value)&&void 0!==defaultValue)return defaultValue;return value}},function(module,exports,__webpack_require__){"use strict";var prop="_erd";function initState(element){element[prop]={};return getState(element)}function getState(element){return element[prop]}function cleanState(element){delete element[prop]}module.exports={initState:initState,getState:getState,cleanState:cleanState}},function(module,exports,__webpack_require__){"use strict";var browserDetector=__webpack_require__(941);module.exports=function(options){options=options||{};var reporter=options.reporter;var batchProcessor=options.batchProcessor;var getState=options.stateHandler.getState;if(!reporter)throw new Error("Missing required dependency: reporter.");function addListener(element,listener){if(!getObject(element))throw new Error("Element is not detectable by this strategy.");function listenerProxy(){listener(element)}if(browserDetector.isIE(8)){getState(element).object={proxy:listenerProxy};element.attachEvent("onresize",listenerProxy)}else{var object=getObject(element);object.contentDocument.defaultView.addEventListener("resize",listenerProxy)}}function makeDetectable(options,element,callback){if(!callback){callback=element;element=options;options=null}options=options||{};options.debug;function injectObject(element,callback){var OBJECT_STYLE="display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; padding: 0; margin: 0; opacity: 0; z-index: -1000; pointer-events: none;";var positionCheckPerformed=false;var style=window.getComputedStyle(element);var width=element.offsetWidth;var height=element.offsetHeight;getState(element).startSize={width:width,height:height};function mutateDom(){function alterPositionStyles(){if("static"===style.position){element.style.position="relative";var removeRelativeStyles=function(reporter,element,style,property){function getNumericalValue(value){return value.replace(/[^-\d\.]/g,"")}var value=style[property];if("auto"!==value&&"0"!==getNumericalValue(value)){reporter.warn("An element that is positioned static has style."+property+"="+value+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+property+" will be set to 0. Element: ",element);element.style[property]=0}};removeRelativeStyles(reporter,element,style,"top");removeRelativeStyles(reporter,element,style,"right");removeRelativeStyles(reporter,element,style,"bottom");removeRelativeStyles(reporter,element,style,"left")}}function onObjectLoad(){positionCheckPerformed||alterPositionStyles();function getDocument(element,callback){if(!element.contentDocument){setTimeout(function checkForObjectDocument(){getDocument(element,callback)},100);return}callback(element.contentDocument)}var objectElement=this;getDocument(objectElement,function onObjectDocumentReady(objectDocument){callback(element)})}if(""!==style.position){alterPositionStyles(style);positionCheckPerformed=true}var object=document.createElement("object");object.style.cssText=OBJECT_STYLE;object.tabIndex=-1;object.type="text/html";object.onload=onObjectLoad;browserDetector.isIE()||(object.data="about:blank");element.appendChild(object);getState(element).object=object;browserDetector.isIE()&&(object.data="about:blank")}batchProcessor?batchProcessor.add(mutateDom):mutateDom()}browserDetector.isIE(8)?callback(element):injectObject(element,callback)}function getObject(element){return getState(element).object}function uninstall(element){browserDetector.isIE(8)?element.detachEvent("onresize",getState(element).object.proxy):element.removeChild(getObject(element));delete getState(element).object}return{makeDetectable:makeDetectable,addListener:addListener,uninstall:uninstall}}},function(module,exports,__webpack_require__){"use strict";var forEach=__webpack_require__(940).forEach;module.exports=function(options){options=options||{};var reporter=options.reporter;var batchProcessor=options.batchProcessor;var getState=options.stateHandler.getState;options.stateHandler.hasState;var idHandler=options.idHandler;if(!batchProcessor)throw new Error("Missing required dependency: batchProcessor");if(!reporter)throw new Error("Missing required dependency: reporter.");var scrollbarSizes=getScrollbarSizes();var styleId="erd_scroll_detection_scrollbar_style";var detectionContainerClass="erd_scroll_detection_container";injectScrollStyle(styleId,detectionContainerClass);function getScrollbarSizes(){var width=500;var height=500;var child=document.createElement("div");child.style.cssText="position: absolute; width: "+2*width+"px; height: "+2*height+"px; visibility: hidden; margin: 0; padding: 0;";var container=document.createElement("div");container.style.cssText="position: absolute; width: "+width+"px; height: "+height+"px; overflow: scroll; visibility: none; top: "+3*-width+"px; left: "+3*-height+"px; visibility: hidden; margin: 0; padding: 0;";container.appendChild(child);document.body.insertBefore(container,document.body.firstChild);var widthSize=width-container.clientWidth;var heightSize=height-container.clientHeight;document.body.removeChild(container);return{width:widthSize,height:heightSize}}function injectScrollStyle(styleId,containerClass){function injectStyle(style,method){method=method||function(element){document.head.appendChild(element)};var styleElement=document.createElement("style");styleElement.innerHTML=style;styleElement.id=styleId;method(styleElement);return styleElement}if(!document.getElementById(styleId)){var containerAnimationClass=containerClass+"_animation";var containerAnimationActiveClass=containerClass+"_animation_active";var style="/* Created by the element-resize-detector library. */\n";style+="."+containerClass+" > div::-webkit-scrollbar { display: none; }\n\n";style+="."+containerAnimationActiveClass+" { -webkit-animation-duration: 0.1s; animation-duration: 0.1s; -webkit-animation-name: "+containerAnimationClass+"; animation-name: "+containerAnimationClass+"; }\n";style+="@-webkit-keyframes "+containerAnimationClass+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n";style+="@keyframes "+containerAnimationClass+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }";injectStyle(style)}}function addAnimationClass(element){element.className+=" "+detectionContainerClass+"_animation_active"}function addEvent(el,name,cb){if(el.addEventListener)el.addEventListener(name,cb);else{if(!el.attachEvent)return reporter.error("[scroll] Don't know how to add event listeners.");el.attachEvent("on"+name,cb)}}function removeEvent(el,name,cb){if(el.removeEventListener)el.removeEventListener(name,cb);else{if(!el.detachEvent)return reporter.error("[scroll] Don't know how to remove event listeners.");el.detachEvent("on"+name,cb)}}function getExpandElement(element){return getState(element).container.childNodes[0].childNodes[0].childNodes[0]}function getShrinkElement(element){return getState(element).container.childNodes[0].childNodes[0].childNodes[1]}function addListener(element,listener){var listeners=getState(element).listeners;if(!listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");getState(element).listeners.push(listener)}function makeDetectable(options,element,callback){if(!callback){callback=element;element=options;options=null}options=options||{};function debug(){if(options.debug){var args=Array.prototype.slice.call(arguments);args.unshift(idHandler.get(element),"Scroll: ");if(reporter.log.apply)reporter.log.apply(null,args);else for(var i=0;i<args.length;i++)reporter.log(args[i])}}function isDetached(element){function isInDocument(element){return element===element.ownerDocument.body||element.ownerDocument.body.contains(element)}if(!isInDocument(element))return true;if(null===window.getComputedStyle(element))return true;return false}function isUnrendered(element){var container=getState(element).container.childNodes[0];var style=window.getComputedStyle(container);return!style.width||-1===style.width.indexOf("px")}function getStyle(){var elementStyle=window.getComputedStyle(element);var style={};style.position=elementStyle.position;style.width=element.offsetWidth;style.height=element.offsetHeight;style.top=elementStyle.top;style.right=elementStyle.right;style.bottom=elementStyle.bottom;style.left=elementStyle.left;style.widthCSS=elementStyle.width;style.heightCSS=elementStyle.height;return style}function storeStartSize(){var style=getStyle();getState(element).startSize={width:style.width,height:style.height};debug("Element start size",getState(element).startSize)}function initListeners(){getState(element).listeners=[]}function storeStyle(){debug("storeStyle invoked.");if(!getState(element)){debug("Aborting because element has been uninstalled");return}var style=getStyle();getState(element).style=style}function storeCurrentSize(element,width,height){getState(element).lastWidth=width;getState(element).lastHeight=height}function getExpandChildElement(element){return getExpandElement(element).childNodes[0]}function getWidthOffset(){return 2*scrollbarSizes.width+1}function getHeightOffset(){return 2*scrollbarSizes.height+1}function getExpandWidth(width){return width+10+getWidthOffset()}function getExpandHeight(height){return height+10+getHeightOffset()}function getShrinkWidth(width){return 2*width+getWidthOffset()}function getShrinkHeight(height){return 2*height+getHeightOffset()}function positionScrollbars(element,width,height){var expand=getExpandElement(element);var shrink=getShrinkElement(element);var expandWidth=getExpandWidth(width);var expandHeight=getExpandHeight(height);var shrinkWidth=getShrinkWidth(width);var shrinkHeight=getShrinkHeight(height);expand.scrollLeft=expandWidth;expand.scrollTop=expandHeight;shrink.scrollLeft=shrinkWidth;shrink.scrollTop=shrinkHeight}function injectContainerElement(){var container=getState(element).container;if(!container){container=document.createElement("div");container.className=detectionContainerClass;container.style.cssText="visibility: hidden; display: inline; width: 0px; height: 0px; z-index: -1; overflow: hidden; margin: 0; padding: 0;";getState(element).container=container;addAnimationClass(container);element.appendChild(container);var onAnimationStart=function(){getState(element).onRendered&&getState(element).onRendered()};addEvent(container,"animationstart",onAnimationStart);getState(element).onAnimationStart=onAnimationStart}return container}function injectScrollElements(){function alterPositionStyles(){var style=getState(element).style;if("static"===style.position){element.style.position="relative";var removeRelativeStyles=function(reporter,element,style,property){function getNumericalValue(value){return value.replace(/[^-\d\.]/g,"")}var value=style[property];if("auto"!==value&&"0"!==getNumericalValue(value)){reporter.warn("An element that is positioned static has style."+property+"="+value+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+property+" will be set to 0. Element: ",element);element.style[property]=0}};removeRelativeStyles(reporter,element,style,"top");removeRelativeStyles(reporter,element,style,"right");removeRelativeStyles(reporter,element,style,"bottom");removeRelativeStyles(reporter,element,style,"left")}}function getLeftTopBottomRightCssText(left,top,bottom,right){left=left?left+"px":"0";top=top?top+"px":"0";bottom=bottom?bottom+"px":"0";right=right?right+"px":"0";return"left: "+left+"; top: "+top+"; right: "+right+"; bottom: "+bottom+";"}debug("Injecting elements");if(!getState(element)){debug("Aborting because element has been uninstalled");return}alterPositionStyles();var rootContainer=getState(element).container;rootContainer||(rootContainer=injectContainerElement());var scrollbarWidth=scrollbarSizes.width;var scrollbarHeight=scrollbarSizes.height;var containerContainerStyle="position: absolute; flex: none; overflow: hidden; z-index: -1; visibility: hidden; width: 100%; height: 100%; left: 0px; top: 0px;";var containerStyle="position: absolute; flex: none; overflow: hidden; z-index: -1; visibility: hidden; "+getLeftTopBottomRightCssText(-(1+scrollbarWidth),-(1+scrollbarHeight),-scrollbarHeight,-scrollbarWidth);var expandStyle="position: absolute; flex: none; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;";var shrinkStyle="position: absolute; flex: none; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;";var expandChildStyle="position: absolute; left: 0; top: 0;";var shrinkChildStyle="position: absolute; width: 200%; height: 200%;";var containerContainer=document.createElement("div");var container=document.createElement("div");var expand=document.createElement("div");var expandChild=document.createElement("div");var shrink=document.createElement("div");var shrinkChild=document.createElement("div");containerContainer.dir="ltr";containerContainer.style.cssText=containerContainerStyle;containerContainer.className=detectionContainerClass;container.className=detectionContainerClass;container.style.cssText=containerStyle;expand.style.cssText=expandStyle;expandChild.style.cssText=expandChildStyle;shrink.style.cssText=shrinkStyle;shrinkChild.style.cssText=shrinkChildStyle;expand.appendChild(expandChild);shrink.appendChild(shrinkChild);container.appendChild(expand);container.appendChild(shrink);containerContainer.appendChild(container);rootContainer.appendChild(containerContainer);function onExpandScroll(){getState(element).onExpand&&getState(element).onExpand()}function onShrinkScroll(){getState(element).onShrink&&getState(element).onShrink()}addEvent(expand,"scroll",onExpandScroll);addEvent(shrink,"scroll",onShrinkScroll);getState(element).onExpandScroll=onExpandScroll;getState(element).onShrinkScroll=onShrinkScroll}function registerListenersAndPositionElements(){function updateChildSizes(element,width,height){var expandChild=getExpandChildElement(element);var expandWidth=getExpandWidth(width);var expandHeight=getExpandHeight(height);expandChild.style.width=expandWidth+"px";expandChild.style.height=expandHeight+"px"}function updateDetectorElements(done){var width=element.offsetWidth;var height=element.offsetHeight;debug("Storing current size",width,height);storeCurrentSize(element,width,height);batchProcessor.add(0,function performUpdateChildSizes(){if(!getState(element)){debug("Aborting because element has been uninstalled");return}if(!areElementsInjected()){debug("Aborting because element container has not been initialized");return}if(options.debug){var w=element.offsetWidth;var h=element.offsetHeight;w===width&&h===height||reporter.warn(idHandler.get(element),"Scroll: Size changed before updating detector elements.")}updateChildSizes(element,width,height)});batchProcessor.add(1,function updateScrollbars(){if(!getState(element)){debug("Aborting because element has been uninstalled");return}if(!areElementsInjected()){debug("Aborting because element container has not been initialized");return}positionScrollbars(element,width,height)});done&&batchProcessor.add(2,function(){if(!getState(element)){debug("Aborting because element has been uninstalled");return}if(!areElementsInjected()){debug("Aborting because element container has not been initialized");return}done()})}function areElementsInjected(){return!!getState(element).container}function notifyListenersIfNeeded(){function isFirstNotify(){return void 0===getState(element).lastNotifiedWidth}debug("notifyListenersIfNeeded invoked");var state=getState(element);if(isFirstNotify()&&state.lastWidth===state.startSize.width&&state.lastHeight===state.startSize.height)return debug("Not notifying: Size is the same as the start size, and there has been no notification yet.");if(state.lastWidth===state.lastNotifiedWidth&&state.lastHeight===state.lastNotifiedHeight)return debug("Not notifying: Size already notified");debug("Current size not notified, notifying...");state.lastNotifiedWidth=state.lastWidth;state.lastNotifiedHeight=state.lastHeight;forEach(getState(element).listeners,function(listener){listener(element)})}function handleRender(){debug("startanimation triggered.");if(isUnrendered(element)){debug("Ignoring since element is still unrendered...");return}debug("Element rendered.");var expand=getExpandElement(element);var shrink=getShrinkElement(element);if(0===expand.scrollLeft||0===expand.scrollTop||0===shrink.scrollLeft||0===shrink.scrollTop){debug("Scrollbars out of sync. Updating detector elements...");updateDetectorElements(notifyListenersIfNeeded)}}function handleScroll(){debug("Scroll detected.");if(isUnrendered(element)){debug("Scroll event fired while unrendered. Ignoring...");return}var width=element.offsetWidth;var height=element.offsetHeight;if(width!==getState(element).lastWidth||height!==getState(element).lastHeight){debug("Element size changed.");updateDetectorElements(notifyListenersIfNeeded)}else debug("Element size has not changed ("+width+"x"+height+").")}debug("registerListenersAndPositionElements invoked.");if(!getState(element)){debug("Aborting because element has been uninstalled");return}getState(element).onRendered=handleRender;getState(element).onExpand=handleScroll;getState(element).onShrink=handleScroll;var style=getState(element).style;updateChildSizes(element,style.width,style.height)}function finalizeDomMutation(){debug("finalizeDomMutation invoked.");if(!getState(element)){debug("Aborting because element has been uninstalled");return}var style=getState(element).style;storeCurrentSize(element,style.width,style.height);positionScrollbars(element,style.width,style.height)}function ready(){callback(element)}function install(){debug("Installing...");initListeners();storeStartSize();batchProcessor.add(0,storeStyle);batchProcessor.add(1,injectScrollElements);batchProcessor.add(2,registerListenersAndPositionElements);batchProcessor.add(3,finalizeDomMutation);batchProcessor.add(4,ready)}debug("Making detectable...");if(isDetached(element)){debug("Element is detached");injectContainerElement();debug("Waiting until element is attached...");getState(element).onRendered=function(){debug("Element is now attached");install()}}else install()}function uninstall(element){var state=getState(element);if(!state)return;state.onExpandScroll&&removeEvent(getExpandElement(element),"scroll",state.onExpandScroll);state.onShrinkScroll&&removeEvent(getShrinkElement(element),"scroll",state.onShrinkScroll);state.onAnimationStart&&removeEvent(state.container,"animationstart",state.onAnimationStart);state.container&&element.removeChild(state.container)}return{makeDetectable:makeDetectable,addListener:addListener,uninstall:uninstall}}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.combineActions=exports.handleActions=exports.handleAction=exports.createActions=exports.createAction=void 0;var _createAction=__webpack_require__(942);var _createAction2=_interopRequireDefault(_createAction);var _handleAction=__webpack_require__(944);var _handleAction2=_interopRequireDefault(_handleAction);var _handleActions=__webpack_require__(2652);var _handleActions2=_interopRequireDefault(_handleActions);var _combineActions=__webpack_require__(954);var _combineActions2=_interopRequireDefault(_combineActions);var _createActions=__webpack_require__(2655);var _createActions2=_interopRequireDefault(_createActions);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.createAction=_createAction2.default;exports.createActions=_createActions2.default;exports.handleAction=_handleAction2.default;exports.handleActions=_handleActions2.default;exports.combineActions=_combineActions2.default},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(519);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;var nativeObjectToString=objectProto.toString;var symToStringTag=Symbol?Symbol.toStringTag:void 0;function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=true}catch(e){}var result=nativeObjectToString.call(value);unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]);return result}module.exports=getRawTag},function(module,exports){var objectProto=Object.prototype;var nativeObjectToString=objectProto.toString;function objectToString(value){return nativeObjectToString.call(value)}module.exports=objectToString},function(module,exports){function isNull(value){return null===value}module.exports=isNull},function(module,exports,__webpack_require__){var overArg=__webpack_require__(945);var getPrototype=overArg(Object.getPrototypeOf,Object);module.exports=getPrototype},function(module,exports){function isUndefined(value){return void 0===value}module.exports=isUndefined},function(module,exports,__webpack_require__){var baseIndexOf=__webpack_require__(2620),isArrayLike=__webpack_require__(521),isString=__webpack_require__(522),toInteger=__webpack_require__(2624),values=__webpack_require__(2627);var nativeMax=Math.max;function includes(collection,value,fromIndex,guard){collection=isArrayLike(collection)?collection:values(collection);fromIndex=fromIndex&&!guard?toInteger(fromIndex):0;var length=collection.length;fromIndex<0&&(fromIndex=nativeMax(length+fromIndex,0));return isString(collection)?fromIndex<=length&&collection.indexOf(value,fromIndex)>-1:!!length&&baseIndexOf(collection,value,fromIndex)>-1}module.exports=includes},function(module,exports,__webpack_require__){var baseFindIndex=__webpack_require__(2621),baseIsNaN=__webpack_require__(2622),strictIndexOf=__webpack_require__(2623);function baseIndexOf(array,value,fromIndex){return value===value?strictIndexOf(array,value,fromIndex):baseFindIndex(array,baseIsNaN,fromIndex)}module.exports=baseIndexOf},function(module,exports){function baseFindIndex(array,predicate,fromIndex,fromRight){var length=array.length,index=fromIndex+(fromRight?1:-1);while(fromRight?index--:++index<length)if(predicate(array[index],index,array))return index;return-1}module.exports=baseFindIndex},function(module,exports){function baseIsNaN(value){return value!==value}module.exports=baseIsNaN},function(module,exports){function strictIndexOf(array,value,fromIndex){var index=fromIndex-1,length=array.length;while(++index<length)if(array[index]===value)return index;return-1}module.exports=strictIndexOf},function(module,exports,__webpack_require__){var toFinite=__webpack_require__(2625);function toInteger(value){var result=toFinite(value),remainder=result%1;return result===result?remainder?result-remainder:result:0}module.exports=toInteger},function(module,exports,__webpack_require__){var toNumber=__webpack_require__(2626);var INFINITY=1/0,MAX_INTEGER=1.7976931348623157e308;function toFinite(value){if(!value)return 0===value?value:0;value=toNumber(value);if(value===INFINITY||value===-INFINITY){var sign=value<0?-1:1;return sign*MAX_INTEGER}return value===value?value:0}module.exports=toFinite},function(module,exports,__webpack_require__){var isObject=__webpack_require__(520),isSymbol=__webpack_require__(523);var NAN=NaN;var reTrim=/^\s+|\s+$/g;var reIsBadHex=/^[-+]0x[0-9a-f]+$/i;var reIsBinary=/^0b[01]+$/i;var reIsOctal=/^0o[0-7]+$/i;var freeParseInt=parseInt;function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NAN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=value.replace(reTrim,"");var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NAN:+value}module.exports=toNumber},function(module,exports,__webpack_require__){var baseValues=__webpack_require__(2628),keys=__webpack_require__(2629);function values(object){return null==object?[]:baseValues(object,keys(object))}module.exports=values},function(module,exports,__webpack_require__){var arrayMap=__webpack_require__(948);function baseValues(object,props){return arrayMap(props,function(key){return object[key]})}module.exports=baseValues},function(module,exports,__webpack_require__){var arrayLikeKeys=__webpack_require__(2630),baseKeys=__webpack_require__(952),isArrayLike=__webpack_require__(521);function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}module.exports=keys},function(module,exports,__webpack_require__){var baseTimes=__webpack_require__(2631),isArguments=__webpack_require__(949),isArray=__webpack_require__(262),isBuffer=__webpack_require__(950),isIndex=__webpack_require__(2634),isTypedArray=__webpack_require__(951);var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)!inherited&&!hasOwnProperty.call(value,key)||skipIndexes&&("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length))||result.push(key);return result}module.exports=arrayLikeKeys},function(module,exports){function baseTimes(n,iteratee){var index=-1,result=Array(n);while(++index<n)result[index]=iteratee(index);return result}module.exports=baseTimes},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(177),isObjectLike=__webpack_require__(217);var argsTag="[object Arguments]";function baseIsArguments(value){return isObjectLike(value)&&baseGetTag(value)==argsTag}module.exports=baseIsArguments},function(module,exports){function stubFalse(){return false}module.exports=stubFalse},function(module,exports){var MAX_SAFE_INTEGER=9007199254740991;var reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(value,length){var type=typeof value;length=null==length?MAX_SAFE_INTEGER:length;return!!length&&("number"==type||"symbol"!=type&&reIsUint.test(value))&&value>-1&&value%1==0&&value<length}module.exports=isIndex},function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__(177),isLength=__webpack_require__(947),isObjectLike=__webpack_require__(217);var argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]";var arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";var typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=true;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=false;function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}module.exports=baseIsTypedArray},function(module,exports){function baseUnary(func){return function(value){return func(value)}}module.exports=baseUnary},function(module,exports,__webpack_require__){(function(module){var freeGlobal=__webpack_require__(943);var freeExports=(true,exports)&&!exports.nodeType&&exports;var freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module;var moduleExports=freeModule&&freeModule.exports===freeExports;var freeProcess=moduleExports&&freeGlobal.process;var nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;if(types)return types;return freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();module.exports=nodeUtil}).call(this,__webpack_require__(82)(module))},function(module,exports,__webpack_require__){var overArg=__webpack_require__(945);var nativeKeys=overArg(Object.keys,Object);module.exports=nativeKeys},function(module,exports,__webpack_require__){var baseKeys=__webpack_require__(952),getTag=__webpack_require__(2640),isArguments=__webpack_require__(949),isArray=__webpack_require__(262),isArrayLike=__webpack_require__(521),isBuffer=__webpack_require__(950),isPrototype=__webpack_require__(953),isTypedArray=__webpack_require__(951);var mapTag="[object Map]",setTag="[object Set]";var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function isEmpty(value){if(null==value)return true;if(isArrayLike(value)&&(isArray(value)||"string"==typeof value||"function"==typeof value.splice||isBuffer(value)||isTypedArray(value)||isArguments(value)))return!value.length;var tag=getTag(value);if(tag==mapTag||tag==setTag)return!value.size;if(isPrototype(value))return!baseKeys(value).length;for(var key in value)if(hasOwnProperty.call(value,key))return false;return true}module.exports=isEmpty},function(module,exports,__webpack_require__){var DataView=__webpack_require__(2641),Map=__webpack_require__(2646),Promise=__webpack_require__(2647),Set=__webpack_require__(2648),WeakMap=__webpack_require__(2649),baseGetTag=__webpack_require__(177),toSource=__webpack_require__(955);var mapTag="[object Map]",objectTag="[object Object]",promiseTag="[object Promise]",setTag="[object Set]",weakMapTag="[object WeakMap]";var dataViewTag="[object DataView]";var dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap);var getTag=baseGetTag;(DataView&&getTag(new DataView(new ArrayBuffer(1)))!=dataViewTag||Map&&getTag(new Map)!=mapTag||Promise&&getTag(Promise.resolve())!=promiseTag||Set&&getTag(new Set)!=setTag||WeakMap&&getTag(new WeakMap)!=weakMapTag)&&(getTag=function(value){var result=baseGetTag(value),Ctor=result==objectTag?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag}return result});module.exports=getTag},function(module,exports,__webpack_require__){var getNative=__webpack_require__(263),root=__webpack_require__(142);var DataView=getNative(root,"DataView");module.exports=DataView},function(module,exports,__webpack_require__){var isFunction=__webpack_require__(216),isMasked=__webpack_require__(2643),isObject=__webpack_require__(520),toSource=__webpack_require__(955);var reRegExpChar=/[\\^$.*+?()[\]{}|]/g;var reIsHostCtor=/^\[object .+?Constructor\]$/;var funcProto=Function.prototype,objectProto=Object.prototype;var funcToString=funcProto.toString;var hasOwnProperty=objectProto.hasOwnProperty;var reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(value){if(!isObject(value)||isMasked(value))return false;var pattern=isFunction(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value))}module.exports=baseIsNative},function(module,exports,__webpack_require__){var coreJsData=__webpack_require__(2644);var maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""),uid?"Symbol(src)_1."+uid:"");var uid;function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}module.exports=isMasked},function(module,exports,__webpack_require__){var root=__webpack_require__(142);var coreJsData=root["__core-js_shared__"];module.exports=coreJsData},function(module,exports){function getValue(object,key){return null==object?void 0:object[key]}module.exports=getValue},function(module,exports,__webpack_require__){var getNative=__webpack_require__(263),root=__webpack_require__(142);var Map=getNative(root,"Map");module.exports=Map},function(module,exports,__webpack_require__){var getNative=__webpack_require__(263),root=__webpack_require__(142);var Promise=getNative(root,"Promise");module.exports=Promise},function(module,exports,__webpack_require__){var getNative=__webpack_require__(263),root=__webpack_require__(142);var Set=getNative(root,"Set");module.exports=Set},function(module,exports,__webpack_require__){var getNative=__webpack_require__(263),root=__webpack_require__(142);var WeakMap=getNative(root,"WeakMap");module.exports=WeakMap},function(module,exports,__webpack_require__){var baseToString=__webpack_require__(2651);function toString(value){return null==value?"":baseToString(value)}module.exports=toString},function(module,exports,__webpack_require__){var Symbol=__webpack_require__(519),arrayMap=__webpack_require__(948),isArray=__webpack_require__(262),isSymbol=__webpack_require__(523);var INFINITY=1/0;var symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString(value){if("string"==typeof value)return value;if(isArray(value))return arrayMap(value,baseToString)+"";if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return"0"==result&&1/value==-INFINITY?"-0":result}module.exports=baseToString},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=handleActions;var _isPlainObject=__webpack_require__(350);var _isPlainObject2=_interopRequireDefault(_isPlainObject);var _reduceReducers=__webpack_require__(2653);var _reduceReducers2=_interopRequireDefault(_reduceReducers);var _invariant=__webpack_require__(123);var _invariant2=_interopRequireDefault(_invariant);var _handleAction=__webpack_require__(944);var _handleAction2=_interopRequireDefault(_handleAction);var _ownKeys=__webpack_require__(524);var _ownKeys2=_interopRequireDefault(_ownKeys);var _flattenUtils=__webpack_require__(956);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return Array.from(arr)}function handleActions(handlers,defaultState){var _ref=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];var namespace=_ref.namespace;(0,_invariant2.default)((0,_isPlainObject2.default)(handlers),"Expected handlers to be an plain object.");var flattenedReducerMap=(0,_flattenUtils.flattenReducerMap)(handlers,namespace);var reducers=(0,_ownKeys2.default)(flattenedReducerMap).map(function(type){return(0,_handleAction2.default)(type,flattenedReducerMap[type],defaultState)});var reducer=_reduceReducers2.default.apply(void 0,_toConsumableArray(reducers));return function(){var state=arguments.length<=0||void 0===arguments[0]?defaultState:arguments[0];var action=arguments[1];return reducer(state,action)}}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports["default"]=reduceReducers;function reduceReducers(){for(var _len=arguments.length,reducers=Array(_len),_key=0;_key<_len;_key++)reducers[_key]=arguments[_key];return function(previous,current){return reducers.reduce(function(p,r){return r(p,current)},previous)}}module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=hasGeneratorInterface;var _ownKeys=__webpack_require__(524);var _ownKeys2=_interopRequireDefault(_ownKeys);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function hasGeneratorInterface(handler){var keys=(0,_ownKeys2.default)(handler);var hasOnlyInterfaceNames=keys.every(function(ownKey){return"next"===ownKey||"throw"===ownKey});return keys.length&&keys.length<=2&&hasOnlyInterfaceNames}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _slicedToArray=function(){function sliceIterator(arr,i){var _arr=[];var _n=true;var _d=false;var _e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{!_n&&_i["return"]&&_i["return"]()}finally{if(_d)throw _e}}return _arr}return function(arr,i){if(Array.isArray(arr))return arr;if(Symbol.iterator in Object(arr))return sliceIterator(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};exports.default=createActions;var _camelCase=__webpack_require__(957);var _camelCase2=_interopRequireDefault(_camelCase);var _identity=__webpack_require__(518);var _identity2=_interopRequireDefault(_identity);var _isPlainObject=__webpack_require__(350);var _isPlainObject2=_interopRequireDefault(_isPlainObject);var _isArray=__webpack_require__(262);var _isArray2=_interopRequireDefault(_isArray);var _last=__webpack_require__(2656);var _last2=_interopRequireDefault(_last);var _isString=__webpack_require__(522);var _isString2=_interopRequireDefault(_isString);var _isFunction=__webpack_require__(216);var _isFunction2=_interopRequireDefault(_isFunction);var _isNil=__webpack_require__(946);var _isNil2=_interopRequireDefault(_isNil);var _createAction=__webpack_require__(942);var _createAction2=_interopRequireDefault(_createAction);var _invariant=__webpack_require__(123);var _invariant2=_interopRequireDefault(_invariant);var _arrayToObject=__webpack_require__(2657);var _arrayToObject2=_interopRequireDefault(_arrayToObject);var _flattenUtils=__webpack_require__(956);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty(obj,key,value){key in obj?Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true}):obj[key]=value;return obj}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return Array.from(arr)}function createActions(actionMap){for(var _len=arguments.length,identityActions=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)identityActions[_key-1]=arguments[_key];var _ref=(0,_isPlainObject2.default)((0,_last2.default)(identityActions))?identityActions.pop():{};var namespace=_ref.namespace;(0,_invariant2.default)(identityActions.every(_isString2.default)&&((0,_isString2.default)(actionMap)||(0,_isPlainObject2.default)(actionMap)),"Expected optional object followed by string action types");if((0,_isString2.default)(actionMap))return actionCreatorsFromIdentityActions([actionMap].concat(identityActions));return _extends({},actionCreatorsFromActionMap(actionMap,namespace),actionCreatorsFromIdentityActions(identityActions))}function actionCreatorsFromActionMap(actionMap,namespace){var flatActionMap=(0,_flattenUtils.flattenActionMap)(actionMap,namespace);var flatActionCreators=actionMapToActionCreators(flatActionMap);return(0,_flattenUtils.unflattenActionCreators)(flatActionCreators,namespace)}function actionMapToActionCreators(actionMap){function isValidActionMapValue(actionMapValue){if((0,_isFunction2.default)(actionMapValue)||(0,_isNil2.default)(actionMapValue))return true;if((0,_isArray2.default)(actionMapValue)){var _actionMapValue=_slicedToArray(actionMapValue,2);var _actionMapValue$=_actionMapValue[0];var payload=void 0===_actionMapValue$?_identity2.default:_actionMapValue$;var meta=_actionMapValue[1];return(0,_isFunction2.default)(payload)&&(0,_isFunction2.default)(meta)}return false}return(0,_arrayToObject2.default)(Object.keys(actionMap),function(partialActionCreators,type){var actionMapValue=actionMap[type];(0,_invariant2.default)(isValidActionMapValue(actionMapValue),"Expected function, undefined, null, or array with payload and meta functions for "+type);var actionCreator=(0,_isArray2.default)(actionMapValue)?_createAction2.default.apply(void 0,[type].concat(_toConsumableArray(actionMapValue))):(0,_createAction2.default)(type,actionMapValue);return _extends({},partialActionCreators,_defineProperty({},type,actionCreator))})}function actionCreatorsFromIdentityActions(identityActions){var actionMap=(0,_arrayToObject2.default)(identityActions,function(partialActionMap,type){return _extends({},partialActionMap,_defineProperty({},type,_identity2.default))});var actionCreators=actionMapToActionCreators(actionMap);return(0,_arrayToObject2.default)(Object.keys(actionCreators),function(partialActionCreators,type){return _extends({},partialActionCreators,_defineProperty({},(0,_camelCase2.default)(type),actionCreators[type]))})}},function(module,exports){function last(array){var length=null==array?0:array.length;return length?array[length-1]:void 0}module.exports=last},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=function(array,callback){return array.reduce(function(partialObject,element){return callback(partialObject,element)},{})}},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;function createThunkMiddleware(extraArgument){return function(_ref){var dispatch=_ref.dispatch,getState=_ref.getState;return function(next){return function(action){if("function"===typeof action)return action(dispatch,getState,extraArgument);return next(action)}}}}var thunk=createThunkMiddleware();thunk.withExtraArgument=createThunkMiddleware;exports["default"]=thunk},function(module,exports,__webpack_require__){(function(global){!function(global){"use strict";var Op=Object.prototype;var hasOwn=Op.hasOwnProperty;var undefined;var $Symbol="function"===typeof Symbol?Symbol:{};var iteratorSymbol=$Symbol.iterator||"@@iterator";var asyncIteratorSymbol=$Symbol.asyncIterator||"@@asyncIterator";var toStringTagSymbol=$Symbol.toStringTag||"@@toStringTag";var inModule="object"===typeof module;var runtime=global.regeneratorRuntime;if(runtime){inModule&&(module.exports=runtime);return}runtime=global.regeneratorRuntime=inModule?module.exports:{};function wrap(innerFn,outerFn,self,tryLocsList){var protoGenerator=outerFn&&outerFn.prototype instanceof Generator?outerFn:Generator;var generator=Object.create(protoGenerator.prototype);var context=new Context(tryLocsList||[]);generator._invoke=makeInvokeMethod(innerFn,self,context);return generator}runtime.wrap=wrap;function tryCatch(fn,obj,arg){try{return{type:"normal",arg:fn.call(obj,arg)}}catch(err){return{type:"throw",arg:err}}}var GenStateSuspendedStart="suspendedStart";var GenStateSuspendedYield="suspendedYield";var GenStateExecuting="executing";var GenStateCompleted="completed";var ContinueSentinel={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var IteratorPrototype={};IteratorPrototype[iteratorSymbol]=function(){return this};var getProto=Object.getPrototypeOf;var NativeIteratorPrototype=getProto&&getProto(getProto(values([])));NativeIteratorPrototype&&NativeIteratorPrototype!==Op&&hasOwn.call(NativeIteratorPrototype,iteratorSymbol)&&(IteratorPrototype=NativeIteratorPrototype);var Gp=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(IteratorPrototype);GeneratorFunction.prototype=Gp.constructor=GeneratorFunctionPrototype;GeneratorFunctionPrototype.constructor=GeneratorFunction;GeneratorFunctionPrototype[toStringTagSymbol]=GeneratorFunction.displayName="GeneratorFunction";function defineIteratorMethods(prototype){["next","throw","return"].forEach(function(method){prototype[method]=function(arg){return this._invoke(method,arg)}})}runtime.isGeneratorFunction=function(genFun){var ctor="function"===typeof genFun&&genFun.constructor;return!!ctor&&(ctor===GeneratorFunction||"GeneratorFunction"===(ctor.displayName||ctor.name))};runtime.mark=function(genFun){if(Object.setPrototypeOf)Object.setPrototypeOf(genFun,GeneratorFunctionPrototype);else{genFun.__proto__=GeneratorFunctionPrototype;toStringTagSymbol in genFun||(genFun[toStringTagSymbol]="GeneratorFunction")}genFun.prototype=Object.create(Gp);return genFun};runtime.awrap=function(arg){return{__await:arg}};function AsyncIterator(generator){function invoke(method,arg,resolve,reject){var record=tryCatch(generator[method],generator,arg);if("throw"!==record.type){var result=record.arg;var value=result.value;if(value&&"object"===typeof value&&hasOwn.call(value,"__await"))return Promise.resolve(value.__await).then(function(value){invoke("next",value,resolve,reject)},function(err){invoke("throw",err,resolve,reject)});return Promise.resolve(value).then(function(unwrapped){result.value=unwrapped;resolve(result)},reject)}reject(record.arg)}"object"===typeof global.process&&global.process.domain&&(invoke=global.process.domain.bind(invoke));var previousPromise;function enqueue(method,arg){function callInvokeWithMethodAndArg(){return new Promise(function(resolve,reject){invoke(method,arg,resolve,reject)})}return previousPromise=previousPromise?previousPromise.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}this._invoke=enqueue}defineIteratorMethods(AsyncIterator.prototype);AsyncIterator.prototype[asyncIteratorSymbol]=function(){return this};runtime.AsyncIterator=AsyncIterator;runtime.async=function(innerFn,outerFn,self,tryLocsList){var iter=new AsyncIterator(wrap(innerFn,outerFn,self,tryLocsList));return runtime.isGeneratorFunction(outerFn)?iter:iter.next().then(function(result){return result.done?result.value:iter.next()})};function makeInvokeMethod(innerFn,self,context){var state=GenStateSuspendedStart;return function invoke(method,arg){if(state===GenStateExecuting)throw new Error("Generator is already running");if(state===GenStateCompleted){if("throw"===method)throw arg;return doneResult()}context.method=method;context.arg=arg;while(true){var delegate=context.delegate;if(delegate){var delegateResult=maybeInvokeDelegate(delegate,context);if(delegateResult){if(delegateResult===ContinueSentinel)continue;return delegateResult}}if("next"===context.method)context.sent=context._sent=context.arg;else if("throw"===context.method){if(state===GenStateSuspendedStart){state=GenStateCompleted;throw context.arg}context.dispatchException(context.arg)}else"return"===context.method&&context.abrupt("return",context.arg);state=GenStateExecuting;var record=tryCatch(innerFn,self,context);if("normal"===record.type){state=context.done?GenStateCompleted:GenStateSuspendedYield;if(record.arg===ContinueSentinel)continue;return{value:record.arg,done:context.done}}if("throw"===record.type){state=GenStateCompleted;context.method="throw";context.arg=record.arg}}}}function maybeInvokeDelegate(delegate,context){var method=delegate.iterator[context.method];if(method===undefined){context.delegate=null;if("throw"===context.method){if(delegate.iterator.return){context.method="return";context.arg=undefined;maybeInvokeDelegate(delegate,context);if("throw"===context.method)return ContinueSentinel}context.method="throw";context.arg=new TypeError("The iterator does not provide a 'throw' method")}return ContinueSentinel}var record=tryCatch(method,delegate.iterator,context.arg);if("throw"===record.type){context.method="throw";context.arg=record.arg;context.delegate=null;return ContinueSentinel}var info=record.arg;if(!info){context.method="throw";context.arg=new TypeError("iterator result is not an object");context.delegate=null;return ContinueSentinel}if(!info.done)return info;context[delegate.resultName]=info.value;context.next=delegate.nextLoc;if("return"!==context.method){context.method="next";context.arg=undefined}context.delegate=null;return ContinueSentinel}defineIteratorMethods(Gp);Gp[toStringTagSymbol]="Generator";Gp[iteratorSymbol]=function(){return this};Gp.toString=function(){return"[object Generator]"};function pushTryEntry(locs){var entry={tryLoc:locs[0]};1 in locs&&(entry.catchLoc=locs[1]);if(2 in locs){entry.finallyLoc=locs[2];entry.afterLoc=locs[3]}this.tryEntries.push(entry)}function resetTryEntry(entry){var record=entry.completion||{};record.type="normal";delete record.arg;entry.completion=record}function Context(tryLocsList){this.tryEntries=[{tryLoc:"root"}];tryLocsList.forEach(pushTryEntry,this);this.reset(true)}runtime.keys=function(object){var keys=[];for(var key in object)keys.push(key);keys.reverse();return function next(){while(keys.length){var key=keys.pop();if(key in object){next.value=key;next.done=false;return next}}next.done=true;return next}};function values(iterable){if(iterable){var iteratorMethod=iterable[iteratorSymbol];if(iteratorMethod)return iteratorMethod.call(iterable);if("function"===typeof iterable.next)return iterable;if(!isNaN(iterable.length)){var i=-1,next=function next(){while(++i<iterable.length)if(hasOwn.call(iterable,i)){next.value=iterable[i];next.done=false;return next}next.value=undefined;next.done=true;return next};return next.next=next}}return{next:doneResult}}runtime.values=values;function doneResult(){return{value:undefined,done:true}}Context.prototype={constructor:Context,reset:function(skipTempReset){this.prev=0;this.next=0;this.sent=this._sent=undefined;this.done=false;this.delegate=null;this.method="next";this.arg=undefined;this.tryEntries.forEach(resetTryEntry);if(!skipTempReset)for(var name in this)"t"===name.charAt(0)&&hasOwn.call(this,name)&&!isNaN(+name.slice(1))&&(this[name]=undefined)},stop:function(){this.done=true;var rootEntry=this.tryEntries[0];var rootRecord=rootEntry.completion;if("throw"===rootRecord.type)throw rootRecord.arg;return this.rval},dispatchException:function(exception){if(this.done)throw exception;var context=this;function handle(loc,caught){record.type="throw";record.arg=exception;context.next=loc;if(caught){context.method="next";context.arg=undefined}return!!caught}for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];var record=entry.completion;if("root"===entry.tryLoc)return handle("end");if(entry.tryLoc<=this.prev){var hasCatch=hasOwn.call(entry,"catchLoc");var hasFinally=hasOwn.call(entry,"finallyLoc");if(hasCatch&&hasFinally){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,true);if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}else if(hasCatch){if(this.prev<entry.catchLoc)return handle(entry.catchLoc,true)}else{if(!hasFinally)throw new Error("try statement without catch or finally");if(this.prev<entry.finallyLoc)return handle(entry.finallyLoc)}}}},abrupt:function(type,arg){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc<=this.prev&&hasOwn.call(entry,"finallyLoc")&&this.prev<entry.finallyLoc){var finallyEntry=entry;break}}finallyEntry&&("break"===type||"continue"===type)&&finallyEntry.tryLoc<=arg&&arg<=finallyEntry.finallyLoc&&(finallyEntry=null);var record=finallyEntry?finallyEntry.completion:{};record.type=type;record.arg=arg;if(finallyEntry){this.method="next";this.next=finallyEntry.finallyLoc;return ContinueSentinel}return this.complete(record)},complete:function(record,afterLoc){if("throw"===record.type)throw record.arg;if("break"===record.type||"continue"===record.type)this.next=record.arg;else if("return"===record.type){this.rval=this.arg=record.arg;this.method="return";this.next="end"}else"normal"===record.type&&afterLoc&&(this.next=afterLoc);return ContinueSentinel},finish:function(finallyLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.finallyLoc===finallyLoc){this.complete(entry.completion,entry.afterLoc);resetTryEntry(entry);return ContinueSentinel}}},catch:function(tryLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc===tryLoc){var record=entry.completion;if("throw"===record.type){var thrown=record.arg;resetTryEntry(entry)}return thrown}}throw new Error("illegal catch attempt")},delegateYield:function(iterable,resultName,nextLoc){this.delegate={iterator:values(iterable),resultName:resultName,nextLoc:nextLoc};"next"===this.method&&(this.arg=undefined);return ContinueSentinel}}}("object"===typeof global?global:"object"===typeof window?window:"object"===typeof self?self:this)}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){"use strict";exports.__esModule=true;exports.defaultMemoize=defaultMemoize;exports.createSelectorCreator=createSelectorCreator;exports.createStructuredSelector=createStructuredSelector;function defaultEqualityCheck(a,b){return a===b}function areArgumentsShallowlyEqual(equalityCheck,prev,next){if(null===prev||null===next||prev.length!==next.length)return false;var length=prev.length;for(var i=0;i<length;i++)if(!equalityCheck(prev[i],next[i]))return false;return true}function defaultMemoize(func){var equalityCheck=arguments.length>1&&void 0!==arguments[1]?arguments[1]:defaultEqualityCheck;var lastArgs=null;var lastResult=null;return function(){areArgumentsShallowlyEqual(equalityCheck,lastArgs,arguments)||(lastResult=func.apply(null,arguments));lastArgs=arguments;return lastResult}}function getDependencies(funcs){var dependencies=Array.isArray(funcs[0])?funcs[0]:funcs;if(!dependencies.every(function(dep){return"function"===typeof dep})){var dependencyTypes=dependencies.map(function(dep){return typeof dep}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+dependencyTypes+"]")}return dependencies}function createSelectorCreator(memoize){for(var _len=arguments.length,memoizeOptions=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)memoizeOptions[_key-1]=arguments[_key];return function(){for(var _len2=arguments.length,funcs=Array(_len2),_key2=0;_key2<_len2;_key2++)funcs[_key2]=arguments[_key2];var recomputations=0;var resultFunc=funcs.pop();var dependencies=getDependencies(funcs);var memoizedResultFunc=memoize.apply(void 0,[function(){recomputations++;return resultFunc.apply(null,arguments)}].concat(memoizeOptions));var selector=defaultMemoize(function(){var params=[];var length=dependencies.length;for(var i=0;i<length;i++)params.push(dependencies[i].apply(null,arguments));return memoizedResultFunc.apply(null,params)});selector.resultFunc=resultFunc;selector.recomputations=function(){return recomputations};selector.resetRecomputations=function(){return recomputations=0};return selector}}var createSelector=exports.createSelector=createSelectorCreator(defaultMemoize);function createStructuredSelector(selectors){var selectorCreator=arguments.length>1&&void 0!==arguments[1]?arguments[1]:createSelector;if("object"!==typeof selectors)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof selectors);var objectKeys=Object.keys(selectors);return selectorCreator(objectKeys.map(function(key){return selectors[key]}),function(){for(var _len3=arguments.length,values=Array(_len3),_key3=0;_key3<_len3;_key3++)values[_key3]=arguments[_key3];return values.reduce(function(composition,value,index){composition[objectKeys[index]]=value;return composition},{})})}},function(module,exports,__webpack_require__){(function(f){true;module.exports=f()})(function(){var rison={};"undefined"==typeof rison&&(window.rison={});rison.uri_ok={"~":true,"!":true,"*":true,"(":true,")":true,"-":true,_:true,".":true,",":true,":":true,"@":true,$:true,"'":true,"/":true};(function(){var l=[];for(var hi=0;hi<16;hi++)for(var lo=0;lo<16;lo++){if(hi+lo==0)continue;var c=String.fromCharCode(16*hi+lo);/\w|[-_.\/~]/.test(c)||l.push("\\u00"+hi.toString(16)+lo.toString(16))}rison.not_idchar=l.join("")})();rison.not_idchar=" '!:(),*@$";rison.not_idstart="-0123456789";(function(){var idrx="[^"+rison.not_idstart+rison.not_idchar+"][^"+rison.not_idchar+"]*";rison.id_ok=new RegExp("^"+idrx+"$");rison.next_id=new RegExp(idrx,"g")})();rison.quote=function(x){if(/^[-A-Za-z0-9~!*()_.',:@$\/]*$/.test(x))return x;return encodeURIComponent(x).replace(/%2C/g,",").replace(/%3A/g,":").replace(/%40/g,"@").replace(/%24/g,"$").replace(/%2F/g,"/").replace(/%20/g,"+")};(function(){var sq={"'":true,"!":true},enc=function(v){v&&"function"===typeof v.toJSON&&(v=v.toJSON());var fn=s[typeof v];if(fn)return fn(v)},s={array:function(x){var b,i,v,a=["!("],l=x.length;for(i=0;i<l;i+=1){v=enc(x[i]);if("string"==typeof v){b&&(a[a.length]=",");a[a.length]=v;b=true}}a[a.length]=")";return a.join("")},boolean:function(x){if(x)return"!t";return"!f"},null:function(x){return"!n"},number:function(x){if(!isFinite(x))return"!n";return String(x).replace(/\+/,"")},object:function(x){if(x){if(x instanceof Array)return s.array(x);if("object"===typeof x.__prototype__&&"undefined"!==typeof x.__prototype__.encode_rison)return x.encode_rison();var b,i,v,ki,a=["("],ks=[];for(i in x)ks[ks.length]=i;ks.sort();for(ki=0;ki<ks.length;ki++){i=ks[ki];v=enc(x[i]);if("string"==typeof v){b&&(a[a.length]=",");a.push(s.string(i),":",v);b=true}}a[a.length]=")";return a.join("")}return"!n"},string:function(x){if(""==x)return"''";if(rison.id_ok.test(x))return x;x=x.replace(/(['!])/g,function(a,b){if(sq[b])return"!"+b;return b});return"'"+x+"'"},undefined:function(x){return}};rison.encode=function(v){return enc(v)};rison.encode_object=function(v){if("object"!=typeof v||null===v||v instanceof Array)throw new Error("rison.encode_object expects an object argument");var r=s[typeof v](v);return r.substring(1,r.length-1)};rison.encode_array=function(v){if(!(v instanceof Array))throw new Error("rison.encode_array expects an array argument");var r=s[typeof v](v);return r.substring(2,r.length-1)};rison.encode_uri=function(v){return rison.quote(s[typeof v](v))}})();rison.decode=function(r){var errcb=function(e){throw Error("rison decoder error: "+e)};if("string"!==typeof r)return errcb("decode input must be a string");var p=new rison.parser(errcb);return p.parse(r)};rison.decode_object=function(r){return rison.decode("("+r+")")};rison.decode_array=function(r){return rison.decode("!("+r+")")};rison.parser=function(errcb){this.errorHandler=errcb};rison.parser.WHITESPACE="";rison.parser.prototype.setOptions=function(options){options["errorHandler"]&&(this.errorHandler=options.errorHandler)};rison.parser.prototype.parse=function(str){this.string=str;this.index=0;this.message=null;var value=this.readValue();!this.message&&this.next()&&(value=this.error("unable to parse string as rison: '"+rison.encode(str)+"'"));this.message&&this.errorHandler&&this.errorHandler(this.message,this.index);return value};rison.parser.prototype.error=function(message){"undefined"!=typeof console&&console.log("rison parser error: ",message);this.message=message;return};rison.parser.prototype.readValue=function(){var c=this.next();var fn=c&&this.table[c];if(fn)return fn.apply(this);var s=this.string;var i=this.index-1;rison.next_id.lastIndex=i;var m=rison.next_id.exec(s);if(m.length>0){var id=m[0];this.index=i+id.length;return id}if(c)return this.error("invalid character: '"+c+"'");return this.error("empty expression")};rison.parser.parse_array=function(parser){var ar=[];var c;while(")"!=(c=parser.next())){if(!c)return parser.error("unmatched '!('");if(ar.length)","!=c&&parser.error("missing ','");else{if(","==c)return parser.error("extra ','");--parser.index}var n=parser.readValue();if("undefined"==typeof n)return;ar.push(n)}return ar};rison.parser.bangs={t:true,f:false,n:null,"(":rison.parser.parse_array};rison.parser.prototype.table={"!":function(){var s=this.string;var c=s.charAt(this.index++);if(!c)return this.error('"!" at end of input');var x=rison.parser.bangs[c];if("function"==typeof x)return x.call(null,this);if("undefined"==typeof x)return this.error('unknown literal: "!'+c+'"');return x},"(":function(){var o={};var c;var count=0;while(")"!=(c=this.next())){if(count)","!=c&&this.error("missing ','");else{if(","==c)return this.error("extra ','");--this.index}var k=this.readValue();if("undefined"==typeof k)return;if(":"!=this.next())return this.error("missing ':'");var v=this.readValue();if("undefined"==typeof v)return;o[k]=v;count++}return o},"'":function(){var s=this.string;var i=this.index;var start=i;var segments=[];var c;while("'"!=(c=s.charAt(i++))){if(!c)return this.error('unmatched "\'"');if("!"==c){start<i-1&&segments.push(s.slice(start,i-1));c=s.charAt(i++);if(!("!'".indexOf(c)>=0))return this.error('invalid string escape: "!'+c+'"');segments.push(c);start=i}}start<i-1&&segments.push(s.slice(start,i-1));this.index=i;return 1==segments.length?segments[0]:segments.join("")},"-":function(){var s=this.string;var i=this.index;var start=i-1;var state="int";var permittedSigns="-";var transitions={"int+.":"frac","int+e":"exp","frac+e":"exp"};do{var c=s.charAt(i++);if(!c)break;if("0"<=c&&c<="9")continue;if(permittedSigns.indexOf(c)>=0){permittedSigns="";continue}state=transitions[state+"+"+c.toLowerCase()];"exp"==state&&(permittedSigns="-")}while(state);this.index=--i;s=s.slice(start,i);if("-"==s)return this.error("invalid number");return Number(s)}};(function(table){for(var i=0;i<=9;i++)table[String(i)]=table["-"]})(rison.parser.prototype.table);rison.parser.prototype.next=function(){var c;var s=this.string;var i=this.index;do{if(i==s.length)return;c=s.charAt(i++)}while(rison.parser.WHITESPACE.indexOf(c)>=0);this.index=i;return c};return rison})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);exports.Observable=Observable_1.Observable;var ConnectableObservable_1=__webpack_require__(961);exports.ConnectableObservable=ConnectableObservable_1.ConnectableObservable;var groupBy_1=__webpack_require__(963);exports.GroupedObservable=groupBy_1.GroupedObservable;var observable_1=__webpack_require__(218);exports.observable=observable_1.observable;var Subject_1=__webpack_require__(63);exports.Subject=Subject_1.Subject;var BehaviorSubject_1=__webpack_require__(964);exports.BehaviorSubject=BehaviorSubject_1.BehaviorSubject;var ReplaySubject_1=__webpack_require__(529);exports.ReplaySubject=ReplaySubject_1.ReplaySubject;var AsyncSubject_1=__webpack_require__(355);exports.AsyncSubject=AsyncSubject_1.AsyncSubject;var asap_1=__webpack_require__(969);exports.asapScheduler=asap_1.asap;var async_1=__webpack_require__(70);exports.asyncScheduler=async_1.async;var queue_1=__webpack_require__(965);exports.queueScheduler=queue_1.queue;var animationFrame_1=__webpack_require__(2670);exports.animationFrameScheduler=animationFrame_1.animationFrame;var VirtualTimeScheduler_1=__webpack_require__(2673);exports.VirtualTimeScheduler=VirtualTimeScheduler_1.VirtualTimeScheduler;exports.VirtualAction=VirtualTimeScheduler_1.VirtualAction;var Scheduler_1=__webpack_require__(966);exports.Scheduler=Scheduler_1.Scheduler;var Subscription_1=__webpack_require__(52);exports.Subscription=Subscription_1.Subscription;var Subscriber_1=__webpack_require__(16);exports.Subscriber=Subscriber_1.Subscriber;var Notification_1=__webpack_require__(354);exports.Notification=Notification_1.Notification;var pipe_1=__webpack_require__(527);exports.pipe=pipe_1.pipe;var noop_1=__webpack_require__(352);exports.noop=noop_1.noop;var identity_1=__webpack_require__(219);exports.identity=identity_1.identity;var isObservable_1=__webpack_require__(2674);exports.isObservable=isObservable_1.isObservable;var ArgumentOutOfRangeError_1=__webpack_require__(267);exports.ArgumentOutOfRangeError=ArgumentOutOfRangeError_1.ArgumentOutOfRangeError;var EmptyError_1=__webpack_require__(268);exports.EmptyError=EmptyError_1.EmptyError;var ObjectUnsubscribedError_1=__webpack_require__(353);exports.ObjectUnsubscribedError=ObjectUnsubscribedError_1.ObjectUnsubscribedError;var UnsubscriptionError_1=__webpack_require__(960);exports.UnsubscriptionError=UnsubscriptionError_1.UnsubscriptionError;var TimeoutError_1=__webpack_require__(970);exports.TimeoutError=TimeoutError_1.TimeoutError;var bindCallback_1=__webpack_require__(2675);exports.bindCallback=bindCallback_1.bindCallback;var bindNodeCallback_1=__webpack_require__(2676);exports.bindNodeCallback=bindNodeCallback_1.bindNodeCallback;var combineLatest_1=__webpack_require__(533);exports.combineLatest=combineLatest_1.combineLatest;var concat_1=__webpack_require__(356);exports.concat=concat_1.concat;var defer_1=__webpack_require__(535);exports.defer=defer_1.defer;var empty_1=__webpack_require__(69);exports.empty=empty_1.empty;var forkJoin_1=__webpack_require__(2683);exports.forkJoin=forkJoin_1.forkJoin;var from_1=__webpack_require__(109);exports.from=from_1.from;var fromEvent_1=__webpack_require__(2684);exports.fromEvent=fromEvent_1.fromEvent;var fromEventPattern_1=__webpack_require__(2685);exports.fromEventPattern=fromEventPattern_1.fromEventPattern;var generate_1=__webpack_require__(2686);exports.generate=generate_1.generate;var iif_1=__webpack_require__(2687);exports.iif=iif_1.iif;var interval_1=__webpack_require__(2688);exports.interval=interval_1.interval;var merge_1=__webpack_require__(978);exports.merge=merge_1.merge;var never_1=__webpack_require__(979);exports.never=never_1.never;var of_1=__webpack_require__(530);exports.of=of_1.of;var onErrorResumeNext_1=__webpack_require__(2689);exports.onErrorResumeNext=onErrorResumeNext_1.onErrorResumeNext;var pairs_1=__webpack_require__(2690);exports.pairs=pairs_1.pairs;var race_1=__webpack_require__(980);exports.race=race_1.race;var range_1=__webpack_require__(2691);exports.range=range_1.range;var throwError_1=__webpack_require__(532);exports.throwError=throwError_1.throwError;var timer_1=__webpack_require__(981);exports.timer=timer_1.timer;var using_1=__webpack_require__(2692);exports.using=using_1.using;var zip_1=__webpack_require__(536);exports.zip=zip_1.zip;var empty_2=__webpack_require__(69);exports.EMPTY=empty_2.EMPTY;var never_2=__webpack_require__(979);exports.NEVER=never_2.NEVER;var config_1=__webpack_require__(351);exports.config=config_1.config},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var rxSubscriber_1=__webpack_require__(526);var Observer_1=__webpack_require__(958);function toSubscriber(nextOrObserver,error,complete){if(nextOrObserver){if(nextOrObserver instanceof Subscriber_1.Subscriber)return nextOrObserver;if(nextOrObserver[rxSubscriber_1.rxSubscriber])return nextOrObserver[rxSubscriber_1.rxSubscriber]()}if(!nextOrObserver&&!error&&!complete)return new Subscriber_1.Subscriber(Observer_1.empty);return new Subscriber_1.Subscriber(nextOrObserver,error,complete)}exports.toSubscriber=toSubscriber},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var AsyncAction_1=__webpack_require__(265);var QueueAction=function(_super){__extends(QueueAction,_super);function QueueAction(scheduler,work){var _this=_super.call(this,scheduler,work)||this;_this.scheduler=scheduler;_this.work=work;return _this}QueueAction.prototype.schedule=function(state,delay){void 0===delay&&(delay=0);if(delay>0)return _super.prototype.schedule.call(this,state,delay);this.delay=delay;this.state=state;this.scheduler.flush(this);return this};QueueAction.prototype.execute=function(state,delay){return delay>0||this.closed?_super.prototype.execute.call(this,state,delay):this._execute(state,delay)};QueueAction.prototype.requestAsyncId=function(scheduler,id,delay){void 0===delay&&(delay=0);if(null!==delay&&delay>0||null===delay&&this.delay>0)return _super.prototype.requestAsyncId.call(this,scheduler,id,delay);return scheduler.flush(this)};return QueueAction}(AsyncAction_1.AsyncAction);exports.QueueAction=QueueAction},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscription_1=__webpack_require__(52);var Action=function(_super){__extends(Action,_super);function Action(scheduler,work){return _super.call(this)||this}Action.prototype.schedule=function(state,delay){void 0===delay&&(delay=0);return this};return Action}(Subscription_1.Subscription);exports.Action=Action},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var AsyncScheduler_1=__webpack_require__(266);var QueueScheduler=function(_super){__extends(QueueScheduler,_super);function QueueScheduler(){return null!==_super&&_super.apply(this,arguments)||this}return QueueScheduler}(AsyncScheduler_1.AsyncScheduler);exports.QueueScheduler=QueueScheduler},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Immediate_1=__webpack_require__(2668);var AsyncAction_1=__webpack_require__(265);var AsapAction=function(_super){__extends(AsapAction,_super);function AsapAction(scheduler,work){var _this=_super.call(this,scheduler,work)||this;_this.scheduler=scheduler;_this.work=work;return _this}AsapAction.prototype.requestAsyncId=function(scheduler,id,delay){void 0===delay&&(delay=0);if(null!==delay&&delay>0)return _super.prototype.requestAsyncId.call(this,scheduler,id,delay);scheduler.actions.push(this);return scheduler.scheduled||(scheduler.scheduled=Immediate_1.Immediate.setImmediate(scheduler.flush.bind(scheduler,null)))};AsapAction.prototype.recycleAsyncId=function(scheduler,id,delay){void 0===delay&&(delay=0);if(null!==delay&&delay>0||null===delay&&this.delay>0)return _super.prototype.recycleAsyncId.call(this,scheduler,id,delay);if(0===scheduler.actions.length){Immediate_1.Immediate.clearImmediate(id);scheduler.scheduled=void 0}return};return AsapAction}(AsyncAction_1.AsyncAction);exports.AsapAction=AsapAction},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var nextHandle=1;var tasksByHandle={};function runIfPresent(handle){var cb=tasksByHandle[handle];cb&&cb()}exports.Immediate={setImmediate:function(cb){var handle=nextHandle++;tasksByHandle[handle]=cb;Promise.resolve().then(function(){return runIfPresent(handle)});return handle},clearImmediate:function(handle){delete tasksByHandle[handle]}}},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var AsyncScheduler_1=__webpack_require__(266);var AsapScheduler=function(_super){__extends(AsapScheduler,_super);function AsapScheduler(){return null!==_super&&_super.apply(this,arguments)||this}AsapScheduler.prototype.flush=function(action){this.active=true;this.scheduled=void 0;var actions=this.actions;var error;var index=-1;var count=actions.length;action=action||actions.shift();do{if(error=action.execute(action.state,action.delay))break}while(++index<count&&(action=actions.shift()));this.active=false;if(error){while(++index<count&&(action=actions.shift()))action.unsubscribe();throw error}};return AsapScheduler}(AsyncScheduler_1.AsyncScheduler);exports.AsapScheduler=AsapScheduler},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var AnimationFrameAction_1=__webpack_require__(2671);var AnimationFrameScheduler_1=__webpack_require__(2672);exports.animationFrame=new AnimationFrameScheduler_1.AnimationFrameScheduler(AnimationFrameAction_1.AnimationFrameAction)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var AsyncAction_1=__webpack_require__(265);var AnimationFrameAction=function(_super){__extends(AnimationFrameAction,_super);function AnimationFrameAction(scheduler,work){var _this=_super.call(this,scheduler,work)||this;_this.scheduler=scheduler;_this.work=work;return _this}AnimationFrameAction.prototype.requestAsyncId=function(scheduler,id,delay){void 0===delay&&(delay=0);if(null!==delay&&delay>0)return _super.prototype.requestAsyncId.call(this,scheduler,id,delay);scheduler.actions.push(this);return scheduler.scheduled||(scheduler.scheduled=requestAnimationFrame(function(){return scheduler.flush(null)}))};AnimationFrameAction.prototype.recycleAsyncId=function(scheduler,id,delay){void 0===delay&&(delay=0);if(null!==delay&&delay>0||null===delay&&this.delay>0)return _super.prototype.recycleAsyncId.call(this,scheduler,id,delay);if(0===scheduler.actions.length){cancelAnimationFrame(id);scheduler.scheduled=void 0}return};return AnimationFrameAction}(AsyncAction_1.AsyncAction);exports.AnimationFrameAction=AnimationFrameAction},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var AsyncScheduler_1=__webpack_require__(266);var AnimationFrameScheduler=function(_super){__extends(AnimationFrameScheduler,_super);function AnimationFrameScheduler(){return null!==_super&&_super.apply(this,arguments)||this}AnimationFrameScheduler.prototype.flush=function(action){this.active=true;this.scheduled=void 0;var actions=this.actions;var error;var index=-1;var count=actions.length;action=action||actions.shift();do{if(error=action.execute(action.state,action.delay))break}while(++index<count&&(action=actions.shift()));this.active=false;if(error){while(++index<count&&(action=actions.shift()))action.unsubscribe();throw error}};return AnimationFrameScheduler}(AsyncScheduler_1.AsyncScheduler);exports.AnimationFrameScheduler=AnimationFrameScheduler},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var AsyncAction_1=__webpack_require__(265);var AsyncScheduler_1=__webpack_require__(266);var VirtualTimeScheduler=function(_super){__extends(VirtualTimeScheduler,_super);function VirtualTimeScheduler(SchedulerAction,maxFrames){void 0===SchedulerAction&&(SchedulerAction=VirtualAction);void 0===maxFrames&&(maxFrames=Number.POSITIVE_INFINITY);var _this=_super.call(this,SchedulerAction,function(){return _this.frame})||this;_this.maxFrames=maxFrames;_this.frame=0;_this.index=-1;return _this}VirtualTimeScheduler.prototype.flush=function(){var _a=this,actions=_a.actions,maxFrames=_a.maxFrames;var error,action;while((action=actions.shift())&&(this.frame=action.delay)<=maxFrames)if(error=action.execute(action.state,action.delay))break;if(error){while(action=actions.shift())action.unsubscribe();throw error}};VirtualTimeScheduler.frameTimeFactor=10;return VirtualTimeScheduler}(AsyncScheduler_1.AsyncScheduler);exports.VirtualTimeScheduler=VirtualTimeScheduler;var VirtualAction=function(_super){__extends(VirtualAction,_super);function VirtualAction(scheduler,work,index){void 0===index&&(index=scheduler.index+=1);var _this=_super.call(this,scheduler,work)||this;_this.scheduler=scheduler;_this.work=work;_this.index=index;_this.active=true;_this.index=scheduler.index=index;return _this}VirtualAction.prototype.schedule=function(state,delay){void 0===delay&&(delay=0);if(!this.id)return _super.prototype.schedule.call(this,state,delay);this.active=false;var action=new VirtualAction(this.scheduler,this.work);this.add(action);return action.schedule(state,delay)};VirtualAction.prototype.requestAsyncId=function(scheduler,id,delay){void 0===delay&&(delay=0);this.delay=scheduler.frame+delay;var actions=scheduler.actions;actions.push(this);actions.sort(VirtualAction.sortActions);return true};VirtualAction.prototype.recycleAsyncId=function(scheduler,id,delay){void 0===delay&&(delay=0);return};VirtualAction.prototype._execute=function(state,delay){if(true===this.active)return _super.prototype._execute.call(this,state,delay)};VirtualAction.sortActions=function(a,b){return a.delay===b.delay?a.index===b.index?0:a.index>b.index?1:-1:a.delay>b.delay?1:-1};return VirtualAction}(AsyncAction_1.AsyncAction);exports.VirtualAction=VirtualAction},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);function isObservable(obj){return!!obj&&(obj instanceof Observable_1.Observable||"function"===typeof obj.lift&&"function"===typeof obj.subscribe)}exports.isObservable=isObservable},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var AsyncSubject_1=__webpack_require__(355);var map_1=__webpack_require__(91);var isArray_1=__webpack_require__(68);var isScheduler_1=__webpack_require__(90);function bindCallback(callbackFunc,resultSelector,scheduler){if(resultSelector){if(!isScheduler_1.isScheduler(resultSelector))return function(){var args=[];for(var _i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return bindCallback(callbackFunc,scheduler).apply(void 0,args).pipe(map_1.map(function(args){return isArray_1.isArray(args)?resultSelector.apply(void 0,args):resultSelector(args)}))};scheduler=resultSelector}return function(){var args=[];for(var _i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];var context=this;var subject;var params={context:context,subject:subject,callbackFunc:callbackFunc,scheduler:scheduler};return new Observable_1.Observable(function(subscriber){if(scheduler){var state={args:args,subscriber:subscriber,params:params};return scheduler.schedule(dispatch,0,state)}if(!subject){subject=new AsyncSubject_1.AsyncSubject;var handler=function(){var innerArgs=[];for(var _i=0;_i<arguments.length;_i++)innerArgs[_i]=arguments[_i];subject.next(innerArgs.length<=1?innerArgs[0]:innerArgs);subject.complete()};try{callbackFunc.apply(context,args.concat([handler]))}catch(err){subject.error(err)}}return subject.subscribe(subscriber)})}}exports.bindCallback=bindCallback;function dispatch(state){var _this=this;var args=state.args,subscriber=state.subscriber,params=state.params;var callbackFunc=params.callbackFunc,context=params.context,scheduler=params.scheduler;var subject=params.subject;if(!subject){subject=params.subject=new AsyncSubject_1.AsyncSubject;var handler=function(){var innerArgs=[];for(var _i=0;_i<arguments.length;_i++)innerArgs[_i]=arguments[_i];var value=innerArgs.length<=1?innerArgs[0]:innerArgs;_this.add(scheduler.schedule(dispatchNext,0,{value:value,subject:subject}))};try{callbackFunc.apply(context,args.concat([handler]))}catch(err){subject.error(err)}}this.add(subject.subscribe(subscriber))}function dispatchNext(state){var value=state.value,subject=state.subject;subject.next(value);subject.complete()}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var AsyncSubject_1=__webpack_require__(355);var map_1=__webpack_require__(91);var isScheduler_1=__webpack_require__(90);var isArray_1=__webpack_require__(68);function bindNodeCallback(callbackFunc,resultSelector,scheduler){if(resultSelector){if(!isScheduler_1.isScheduler(resultSelector))return function(){var args=[];for(var _i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return bindNodeCallback(callbackFunc,scheduler).apply(void 0,args).pipe(map_1.map(function(args){return isArray_1.isArray(args)?resultSelector.apply(void 0,args):resultSelector(args)}))};scheduler=resultSelector}return function(){var args=[];for(var _i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];var params={subject:void 0,args:args,callbackFunc:callbackFunc,scheduler:scheduler,context:this};return new Observable_1.Observable(function(subscriber){var context=params.context;var subject=params.subject;if(scheduler)return scheduler.schedule(dispatch,0,{params:params,subscriber:subscriber,context:context});if(!subject){subject=params.subject=new AsyncSubject_1.AsyncSubject;var handler=function(){var innerArgs=[];for(var _i=0;_i<arguments.length;_i++)innerArgs[_i]=arguments[_i];var err=innerArgs.shift();if(err){subject.error(err);return}subject.next(innerArgs.length<=1?innerArgs[0]:innerArgs);subject.complete()};try{callbackFunc.apply(context,args.concat([handler]))}catch(err){subject.error(err)}}return subject.subscribe(subscriber)})}}exports.bindNodeCallback=bindNodeCallback;function dispatch(state){var _this=this;var params=state.params,subscriber=state.subscriber,context=state.context;var callbackFunc=params.callbackFunc,args=params.args,scheduler=params.scheduler;var subject=params.subject;if(!subject){subject=params.subject=new AsyncSubject_1.AsyncSubject;var handler=function(){var innerArgs=[];for(var _i=0;_i<arguments.length;_i++)innerArgs[_i]=arguments[_i];var err=innerArgs.shift();if(err)_this.add(scheduler.schedule(dispatchError,0,{err:err,subject:subject}));else{var value=innerArgs.length<=1?innerArgs[0]:innerArgs;_this.add(scheduler.schedule(dispatchNext,0,{value:value,subject:subject}))}};try{callbackFunc.apply(context,args.concat([handler]))}catch(err){this.add(scheduler.schedule(dispatchError,0,{err:err,subject:subject}))}}this.add(subject.subscribe(subscriber))}function dispatchNext(arg){var value=arg.value,subject=arg.subject;subject.next(value);subject.complete()}function dispatchError(arg){var err=arg.err,subject=arg.subject;subject.error(err)}},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var InnerSubscriber=function(_super){__extends(InnerSubscriber,_super);function InnerSubscriber(parent,outerValue,outerIndex){var _this=_super.call(this)||this;_this.parent=parent;_this.outerValue=outerValue;_this.outerIndex=outerIndex;_this.index=0;return _this}InnerSubscriber.prototype._next=function(value){this.parent.notifyNext(this.outerValue,value,this.outerIndex,this.index++,this)};InnerSubscriber.prototype._error=function(error){this.parent.notifyError(error,this);this.unsubscribe()};InnerSubscriber.prototype._complete=function(){this.parent.notifyComplete(this);this.unsubscribe()};return InnerSubscriber}(Subscriber_1.Subscriber);exports.InnerSubscriber=InnerSubscriber},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var observable_1=__webpack_require__(218);function isInteropObservable(input){return input&&"function"===typeof input[observable_1.observable]}exports.isInteropObservable=isInteropObservable},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var iterator_1=__webpack_require__(269);function isIterable(input){return input&&"function"===typeof input[iterator_1.iterator]}exports.isIterable=isIterable},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var Subscription_1=__webpack_require__(52);var subscribeToPromise_1=__webpack_require__(972);function fromPromise(input,scheduler){return scheduler?new Observable_1.Observable(function(subscriber){var sub=new Subscription_1.Subscription;sub.add(scheduler.schedule(function(){return input.then(function(value){sub.add(scheduler.schedule(function(){subscriber.next(value);sub.add(scheduler.schedule(function(){return subscriber.complete()}))}))},function(err){sub.add(scheduler.schedule(function(){return subscriber.error(err)}))})}));return sub}):new Observable_1.Observable(subscribeToPromise_1.subscribeToPromise(input))}exports.fromPromise=fromPromise},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var Subscription_1=__webpack_require__(52);var iterator_1=__webpack_require__(269);var subscribeToIterable_1=__webpack_require__(973);function fromIterable(input,scheduler){if(!input)throw new Error("Iterable cannot be null");return scheduler?new Observable_1.Observable(function(subscriber){var sub=new Subscription_1.Subscription;var iterator;sub.add(function(){iterator&&"function"===typeof iterator.return&&iterator.return()});sub.add(scheduler.schedule(function(){iterator=input[iterator_1.iterator]();sub.add(scheduler.schedule(function(){if(subscriber.closed)return;var value;var done;try{var result=iterator.next();value=result.value;done=result.done}catch(err){subscriber.error(err);return}if(done)subscriber.complete();else{subscriber.next(value);this.schedule()}}))}));return sub}):new Observable_1.Observable(subscribeToIterable_1.subscribeToIterable(input))}exports.fromIterable=fromIterable},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var Subscription_1=__webpack_require__(52);var observable_1=__webpack_require__(218);var subscribeToObservable_1=__webpack_require__(974);function fromObservable(input,scheduler){return scheduler?new Observable_1.Observable(function(subscriber){var sub=new Subscription_1.Subscription;sub.add(scheduler.schedule(function(){var observable=input[observable_1.observable]();sub.add(observable.subscribe({next:function(value){sub.add(scheduler.schedule(function(){return subscriber.next(value)}))},error:function(err){sub.add(scheduler.schedule(function(){return subscriber.error(err)}))},complete:function(){sub.add(scheduler.schedule(function(){return subscriber.complete()}))}}))}));return sub}):new Observable_1.Observable(subscribeToObservable_1.subscribeToObservable(input))}exports.fromObservable=fromObservable},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var isArray_1=__webpack_require__(68);var empty_1=__webpack_require__(69);var subscribeToResult_1=__webpack_require__(27);var OuterSubscriber_1=__webpack_require__(26);var map_1=__webpack_require__(91);function forkJoin(){var sources=[];for(var _i=0;_i<arguments.length;_i++)sources[_i]=arguments[_i];var resultSelector;"function"===typeof sources[sources.length-1]&&(resultSelector=sources.pop());1===sources.length&&isArray_1.isArray(sources[0])&&(sources=sources[0]);if(0===sources.length)return empty_1.EMPTY;if(resultSelector)return forkJoin(sources).pipe(map_1.map(function(args){return resultSelector.apply(void 0,args)}));return new Observable_1.Observable(function(subscriber){return new ForkJoinSubscriber(subscriber,sources)})}exports.forkJoin=forkJoin;var ForkJoinSubscriber=function(_super){__extends(ForkJoinSubscriber,_super);function ForkJoinSubscriber(destination,sources){var _this=_super.call(this,destination)||this;_this.sources=sources;_this.completed=0;_this.haveValues=0;var len=sources.length;_this.values=new Array(len);for(var i=0;i<len;i++){var source=sources[i];var innerSubscription=subscribeToResult_1.subscribeToResult(_this,source,null,i);innerSubscription&&_this.add(innerSubscription)}return _this}ForkJoinSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.values[outerIndex]=innerValue;if(!innerSub._hasValue){innerSub._hasValue=true;this.haveValues++}};ForkJoinSubscriber.prototype.notifyComplete=function(innerSub){var _a=this,destination=_a.destination,haveValues=_a.haveValues,values=_a.values;var len=values.length;if(!innerSub._hasValue){destination.complete();return}this.completed++;if(this.completed!==len)return;haveValues===len&&destination.next(values);destination.complete()};return ForkJoinSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var isArray_1=__webpack_require__(68);var isFunction_1=__webpack_require__(264);var map_1=__webpack_require__(91);Object.prototype.toString;function fromEvent(target,eventName,options,resultSelector){if(isFunction_1.isFunction(options)){resultSelector=options;options=void 0}if(resultSelector)return fromEvent(target,eventName,options).pipe(map_1.map(function(args){return isArray_1.isArray(args)?resultSelector.apply(void 0,args):resultSelector(args)}));return new Observable_1.Observable(function(subscriber){function handler(e){arguments.length>1?subscriber.next(Array.prototype.slice.call(arguments)):subscriber.next(e)}setupSubscription(target,eventName,handler,subscriber,options)})}exports.fromEvent=fromEvent;function setupSubscription(sourceObj,eventName,handler,subscriber,options){var unsubscribe;if(isEventTarget(sourceObj)){var source_1=sourceObj;sourceObj.addEventListener(eventName,handler,options);unsubscribe=function(){return source_1.removeEventListener(eventName,handler,options)}}else if(isJQueryStyleEventEmitter(sourceObj)){var source_2=sourceObj;sourceObj.on(eventName,handler);unsubscribe=function(){return source_2.off(eventName,handler)}}else if(isNodeStyleEventEmitter(sourceObj)){var source_3=sourceObj;sourceObj.addListener(eventName,handler);unsubscribe=function(){return source_3.removeListener(eventName,handler)}}else{if(!sourceObj||!sourceObj.length)throw new TypeError("Invalid event target");for(var i=0,len=sourceObj.length;i<len;i++)setupSubscription(sourceObj[i],eventName,handler,subscriber,options)}subscriber.add(unsubscribe)}function isNodeStyleEventEmitter(sourceObj){return sourceObj&&"function"===typeof sourceObj.addListener&&"function"===typeof sourceObj.removeListener}function isJQueryStyleEventEmitter(sourceObj){return sourceObj&&"function"===typeof sourceObj.on&&"function"===typeof sourceObj.off}function isEventTarget(sourceObj){return sourceObj&&"function"===typeof sourceObj.addEventListener&&"function"===typeof sourceObj.removeEventListener}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var isArray_1=__webpack_require__(68);var isFunction_1=__webpack_require__(264);var map_1=__webpack_require__(91);function fromEventPattern(addHandler,removeHandler,resultSelector){if(resultSelector)return fromEventPattern(addHandler,removeHandler).pipe(map_1.map(function(args){return isArray_1.isArray(args)?resultSelector.apply(void 0,args):resultSelector(args)}));return new Observable_1.Observable(function(subscriber){var handler=function(){var e=[];for(var _i=0;_i<arguments.length;_i++)e[_i]=arguments[_i];return subscriber.next(1===e.length?e[0]:e)};var retValue;try{retValue=addHandler(handler)}catch(err){subscriber.error(err);return}if(!isFunction_1.isFunction(removeHandler))return;return function(){return removeHandler(handler,retValue)}})}exports.fromEventPattern=fromEventPattern},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var identity_1=__webpack_require__(219);var isScheduler_1=__webpack_require__(90);function generate(initialStateOrOptions,condition,iterate,resultSelectorOrObservable,scheduler){var resultSelector;var initialState;if(1==arguments.length){var options=initialStateOrOptions;initialState=options.initialState;condition=options.condition;iterate=options.iterate;resultSelector=options.resultSelector||identity_1.identity;scheduler=options.scheduler}else if(void 0===resultSelectorOrObservable||isScheduler_1.isScheduler(resultSelectorOrObservable)){initialState=initialStateOrOptions;resultSelector=identity_1.identity;scheduler=resultSelectorOrObservable}else{initialState=initialStateOrOptions;resultSelector=resultSelectorOrObservable}return new Observable_1.Observable(function(subscriber){var state=initialState;if(scheduler)return scheduler.schedule(dispatch,0,{subscriber:subscriber,iterate:iterate,condition:condition,resultSelector:resultSelector,state:state});do{if(condition){var conditionResult=void 0;try{conditionResult=condition(state)}catch(err){subscriber.error(err);return}if(!conditionResult){subscriber.complete();break}}var value=void 0;try{value=resultSelector(state)}catch(err){subscriber.error(err);return}subscriber.next(value);if(subscriber.closed)break;try{state=iterate(state)}catch(err){subscriber.error(err);return}}while(true);return})}exports.generate=generate;function dispatch(state){var subscriber=state.subscriber,condition=state.condition;if(subscriber.closed)return;if(state.needIterate)try{state.state=state.iterate(state.state)}catch(err){subscriber.error(err);return}else state.needIterate=true;if(condition){var conditionResult=void 0;try{conditionResult=condition(state.state)}catch(err){subscriber.error(err);return}if(!conditionResult){subscriber.complete();return}if(subscriber.closed)return}var value;try{value=state.resultSelector(state.state)}catch(err){subscriber.error(err);return}if(subscriber.closed)return;subscriber.next(value);if(subscriber.closed)return;return this.schedule(state)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var defer_1=__webpack_require__(535);var empty_1=__webpack_require__(69);function iif(condition,trueResult,falseResult){void 0===trueResult&&(trueResult=empty_1.EMPTY);void 0===falseResult&&(falseResult=empty_1.EMPTY);return defer_1.defer(function(){return condition()?trueResult:falseResult})}exports.iif=iif},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var async_1=__webpack_require__(70);var isNumeric_1=__webpack_require__(357);function interval(period,scheduler){void 0===period&&(period=0);void 0===scheduler&&(scheduler=async_1.async);(!isNumeric_1.isNumeric(period)||period<0)&&(period=0);scheduler&&"function"===typeof scheduler.schedule||(scheduler=async_1.async);return new Observable_1.Observable(function(subscriber){subscriber.add(scheduler.schedule(dispatch,period,{subscriber:subscriber,counter:0,period:period}));return subscriber})}exports.interval=interval;function dispatch(state){var subscriber=state.subscriber,counter=state.counter,period=state.period;subscriber.next(counter);this.schedule({subscriber:subscriber,counter:counter+1,period:period},period)}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var from_1=__webpack_require__(109);var isArray_1=__webpack_require__(68);var empty_1=__webpack_require__(69);function onErrorResumeNext(){var sources=[];for(var _i=0;_i<arguments.length;_i++)sources[_i]=arguments[_i];if(0===sources.length)return empty_1.EMPTY;var first=sources[0],remainder=sources.slice(1);if(1===sources.length&&isArray_1.isArray(first))return onErrorResumeNext.apply(void 0,first);return new Observable_1.Observable(function(subscriber){var subNext=function(){return subscriber.add(onErrorResumeNext.apply(void 0,remainder).subscribe(subscriber))};return from_1.from(first).subscribe({next:function(value){subscriber.next(value)},error:subNext,complete:subNext})})}exports.onErrorResumeNext=onErrorResumeNext},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var Subscription_1=__webpack_require__(52);function pairs(obj,scheduler){return scheduler?new Observable_1.Observable(function(subscriber){var keys=Object.keys(obj);var subscription=new Subscription_1.Subscription;subscription.add(scheduler.schedule(dispatch,0,{keys:keys,index:0,subscriber:subscriber,subscription:subscription,obj:obj}));return subscription}):new Observable_1.Observable(function(subscriber){var keys=Object.keys(obj);for(var i=0;i<keys.length&&!subscriber.closed;i++){var key=keys[i];obj.hasOwnProperty(key)&&subscriber.next([key,obj[key]])}subscriber.complete()})}exports.pairs=pairs;function dispatch(state){var keys=state.keys,index=state.index,subscriber=state.subscriber,subscription=state.subscription,obj=state.obj;if(!subscriber.closed)if(index<keys.length){var key=keys[index];subscriber.next([key,obj[key]]);subscription.add(this.schedule({keys:keys,index:index+1,subscriber:subscriber,subscription:subscription,obj:obj}))}else subscriber.complete()}exports.dispatch=dispatch},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);function range(start,count,scheduler){void 0===start&&(start=0);void 0===count&&(count=0);return new Observable_1.Observable(function(subscriber){var index=0;var current=start;if(scheduler)return scheduler.schedule(dispatch,0,{index:index,count:count,start:start,subscriber:subscriber});do{if(index++>=count){subscriber.complete();break}subscriber.next(current++);if(subscriber.closed)break}while(true);return})}exports.range=range;function dispatch(state){var start=state.start,index=state.index,count=state.count,subscriber=state.subscriber;if(index>=count){subscriber.complete();return}subscriber.next(start);if(subscriber.closed)return;state.index=index+1;state.start=start+1;this.schedule(state)}exports.dispatch=dispatch},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var from_1=__webpack_require__(109);var empty_1=__webpack_require__(69);function using(resourceFactory,observableFactory){return new Observable_1.Observable(function(subscriber){var resource;try{resource=resourceFactory()}catch(err){subscriber.error(err);return}var result;try{result=observableFactory(resource)}catch(err){subscriber.error(err);return}var source=result?from_1.from(result):empty_1.EMPTY;var subscription=source.subscribe(subscriber);return function(){subscription.unsubscribe();resource&&resource.unsubscribe()}})}exports.using=using},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var audit_1=__webpack_require__(982);exports.audit=audit_1.audit;var auditTime_1=__webpack_require__(2694);exports.auditTime=auditTime_1.auditTime;var buffer_1=__webpack_require__(2695);exports.buffer=buffer_1.buffer;var bufferCount_1=__webpack_require__(2696);exports.bufferCount=bufferCount_1.bufferCount;var bufferTime_1=__webpack_require__(2697);exports.bufferTime=bufferTime_1.bufferTime;var bufferToggle_1=__webpack_require__(2698);exports.bufferToggle=bufferToggle_1.bufferToggle;var bufferWhen_1=__webpack_require__(2699);exports.bufferWhen=bufferWhen_1.bufferWhen;var catchError_1=__webpack_require__(2700);exports.catchError=catchError_1.catchError;var combineAll_1=__webpack_require__(2701);exports.combineAll=combineAll_1.combineAll;var combineLatest_1=__webpack_require__(2702);exports.combineLatest=combineLatest_1.combineLatest;var concat_1=__webpack_require__(2703);exports.concat=concat_1.concat;var concatAll_1=__webpack_require__(977);exports.concatAll=concatAll_1.concatAll;var concatMap_1=__webpack_require__(983);exports.concatMap=concatMap_1.concatMap;var concatMapTo_1=__webpack_require__(2704);exports.concatMapTo=concatMapTo_1.concatMapTo;var count_1=__webpack_require__(2705);exports.count=count_1.count;var debounce_1=__webpack_require__(2706);exports.debounce=debounce_1.debounce;var debounceTime_1=__webpack_require__(2707);exports.debounceTime=debounceTime_1.debounceTime;var defaultIfEmpty_1=__webpack_require__(271);exports.defaultIfEmpty=defaultIfEmpty_1.defaultIfEmpty;var delay_1=__webpack_require__(2708);exports.delay=delay_1.delay;var delayWhen_1=__webpack_require__(2709);exports.delayWhen=delayWhen_1.delayWhen;var dematerialize_1=__webpack_require__(2710);exports.dematerialize=dematerialize_1.dematerialize;var distinct_1=__webpack_require__(2711);exports.distinct=distinct_1.distinct;var distinctUntilChanged_1=__webpack_require__(985);exports.distinctUntilChanged=distinctUntilChanged_1.distinctUntilChanged;var distinctUntilKeyChanged_1=__webpack_require__(2712);exports.distinctUntilKeyChanged=distinctUntilKeyChanged_1.distinctUntilKeyChanged;var elementAt_1=__webpack_require__(2713);exports.elementAt=elementAt_1.elementAt;var endWith_1=__webpack_require__(2714);exports.endWith=endWith_1.endWith;var every_1=__webpack_require__(2715);exports.every=every_1.every;var exhaust_1=__webpack_require__(2716);exports.exhaust=exhaust_1.exhaust;var exhaustMap_1=__webpack_require__(2717);exports.exhaustMap=exhaustMap_1.exhaustMap;var expand_1=__webpack_require__(2718);exports.expand=expand_1.expand;var filter_1=__webpack_require__(272);exports.filter=filter_1.filter;var finalize_1=__webpack_require__(2719);exports.finalize=finalize_1.finalize;var find_1=__webpack_require__(987);exports.find=find_1.find;var findIndex_1=__webpack_require__(2720);exports.findIndex=findIndex_1.findIndex;var first_1=__webpack_require__(2721);exports.first=first_1.first;var groupBy_1=__webpack_require__(963);exports.groupBy=groupBy_1.groupBy;var ignoreElements_1=__webpack_require__(2722);exports.ignoreElements=ignoreElements_1.ignoreElements;var isEmpty_1=__webpack_require__(2723);exports.isEmpty=isEmpty_1.isEmpty;var last_1=__webpack_require__(2724);exports.last=last_1.last;var map_1=__webpack_require__(91);exports.map=map_1.map;var mapTo_1=__webpack_require__(2725);exports.mapTo=mapTo_1.mapTo;var materialize_1=__webpack_require__(2726);exports.materialize=materialize_1.materialize;var max_1=__webpack_require__(2727);exports.max=max_1.max;var merge_1=__webpack_require__(2728);exports.merge=merge_1.merge;var mergeAll_1=__webpack_require__(534);exports.mergeAll=mergeAll_1.mergeAll;var mergeMap_1=__webpack_require__(270);exports.mergeMap=mergeMap_1.mergeMap;var mergeMap_2=__webpack_require__(270);exports.flatMap=mergeMap_2.mergeMap;var mergeMapTo_1=__webpack_require__(2729);exports.mergeMapTo=mergeMapTo_1.mergeMapTo;var mergeScan_1=__webpack_require__(2730);exports.mergeScan=mergeScan_1.mergeScan;var min_1=__webpack_require__(2731);exports.min=min_1.min;var multicast_1=__webpack_require__(220);exports.multicast=multicast_1.multicast;var observeOn_1=__webpack_require__(967);exports.observeOn=observeOn_1.observeOn;var onErrorResumeNext_1=__webpack_require__(2732);exports.onErrorResumeNext=onErrorResumeNext_1.onErrorResumeNext;var pairwise_1=__webpack_require__(2733);exports.pairwise=pairwise_1.pairwise;var partition_1=__webpack_require__(2734);exports.partition=partition_1.partition;var pluck_1=__webpack_require__(2736);exports.pluck=pluck_1.pluck;var publish_1=__webpack_require__(2737);exports.publish=publish_1.publish;var publishBehavior_1=__webpack_require__(2738);exports.publishBehavior=publishBehavior_1.publishBehavior;var publishLast_1=__webpack_require__(2739);exports.publishLast=publishLast_1.publishLast;var publishReplay_1=__webpack_require__(2740);exports.publishReplay=publishReplay_1.publishReplay;var race_1=__webpack_require__(2741);exports.race=race_1.race;var reduce_1=__webpack_require__(359);exports.reduce=reduce_1.reduce;var repeat_1=__webpack_require__(2742);exports.repeat=repeat_1.repeat;var repeatWhen_1=__webpack_require__(2743);exports.repeatWhen=repeatWhen_1.repeatWhen;var retry_1=__webpack_require__(2744);exports.retry=retry_1.retry;var retryWhen_1=__webpack_require__(2745);exports.retryWhen=retryWhen_1.retryWhen;var refCount_1=__webpack_require__(528);exports.refCount=refCount_1.refCount;var sample_1=__webpack_require__(2746);exports.sample=sample_1.sample;var sampleTime_1=__webpack_require__(2747);exports.sampleTime=sampleTime_1.sampleTime;var scan_1=__webpack_require__(539);exports.scan=scan_1.scan;var sequenceEqual_1=__webpack_require__(2748);exports.sequenceEqual=sequenceEqual_1.sequenceEqual;var share_1=__webpack_require__(2749);exports.share=share_1.share;var shareReplay_1=__webpack_require__(2750);exports.shareReplay=shareReplay_1.shareReplay;var single_1=__webpack_require__(2751);exports.single=single_1.single;var skip_1=__webpack_require__(2752);exports.skip=skip_1.skip;var skipLast_1=__webpack_require__(2753);exports.skipLast=skipLast_1.skipLast;var skipUntil_1=__webpack_require__(2754);exports.skipUntil=skipUntil_1.skipUntil;var skipWhile_1=__webpack_require__(2755);exports.skipWhile=skipWhile_1.skipWhile;var startWith_1=__webpack_require__(2756);exports.startWith=startWith_1.startWith;var subscribeOn_1=__webpack_require__(2757);exports.subscribeOn=subscribeOn_1.subscribeOn;var switchAll_1=__webpack_require__(2759);exports.switchAll=switchAll_1.switchAll;var switchMap_1=__webpack_require__(540);exports.switchMap=switchMap_1.switchMap;var switchMapTo_1=__webpack_require__(2760);exports.switchMapTo=switchMapTo_1.switchMapTo;var take_1=__webpack_require__(537);exports.take=take_1.take;var takeLast_1=__webpack_require__(538);exports.takeLast=takeLast_1.takeLast;var takeUntil_1=__webpack_require__(2761);exports.takeUntil=takeUntil_1.takeUntil;var takeWhile_1=__webpack_require__(2762);exports.takeWhile=takeWhile_1.takeWhile;var tap_1=__webpack_require__(986);exports.tap=tap_1.tap;var throttle_1=__webpack_require__(988);exports.throttle=throttle_1.throttle;var throttleTime_1=__webpack_require__(2763);exports.throttleTime=throttleTime_1.throttleTime;var throwIfEmpty_1=__webpack_require__(358);exports.throwIfEmpty=throwIfEmpty_1.throwIfEmpty;var timeInterval_1=__webpack_require__(2764);exports.timeInterval=timeInterval_1.timeInterval;var timeout_1=__webpack_require__(2765);exports.timeout=timeout_1.timeout;var timeoutWith_1=__webpack_require__(989);exports.timeoutWith=timeoutWith_1.timeoutWith;var timestamp_1=__webpack_require__(2766);exports.timestamp=timestamp_1.timestamp;var toArray_1=__webpack_require__(2767);exports.toArray=toArray_1.toArray;var window_1=__webpack_require__(2768);exports.window=window_1.window;var windowCount_1=__webpack_require__(2769);exports.windowCount=windowCount_1.windowCount;var windowTime_1=__webpack_require__(2770);exports.windowTime=windowTime_1.windowTime;var windowToggle_1=__webpack_require__(2771);exports.windowToggle=windowToggle_1.windowToggle;var windowWhen_1=__webpack_require__(2772);exports.windowWhen=windowWhen_1.windowWhen;var withLatestFrom_1=__webpack_require__(2773);exports.withLatestFrom=withLatestFrom_1.withLatestFrom;var zip_1=__webpack_require__(2774);exports.zip=zip_1.zip;var zipAll_1=__webpack_require__(2775);exports.zipAll=zipAll_1.zipAll},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var async_1=__webpack_require__(70);var audit_1=__webpack_require__(982);var timer_1=__webpack_require__(981);function auditTime(duration,scheduler){void 0===scheduler&&(scheduler=async_1.async);return audit_1.audit(function(){return timer_1.timer(duration,scheduler)})}exports.auditTime=auditTime},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function buffer(closingNotifier){return function bufferOperatorFunction(source){return source.lift(new BufferOperator(closingNotifier))}}exports.buffer=buffer;var BufferOperator=function(){function BufferOperator(closingNotifier){this.closingNotifier=closingNotifier}BufferOperator.prototype.call=function(subscriber,source){return source.subscribe(new BufferSubscriber(subscriber,this.closingNotifier))};return BufferOperator}();var BufferSubscriber=function(_super){__extends(BufferSubscriber,_super);function BufferSubscriber(destination,closingNotifier){var _this=_super.call(this,destination)||this;_this.buffer=[];_this.add(subscribeToResult_1.subscribeToResult(_this,closingNotifier));return _this}BufferSubscriber.prototype._next=function(value){this.buffer.push(value)};BufferSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){var buffer=this.buffer;this.buffer=[];this.destination.next(buffer)};return BufferSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function bufferCount(bufferSize,startBufferEvery){void 0===startBufferEvery&&(startBufferEvery=null);return function bufferCountOperatorFunction(source){return source.lift(new BufferCountOperator(bufferSize,startBufferEvery))}}exports.bufferCount=bufferCount;var BufferCountOperator=function(){function BufferCountOperator(bufferSize,startBufferEvery){this.bufferSize=bufferSize;this.startBufferEvery=startBufferEvery;this.subscriberClass=startBufferEvery&&bufferSize!==startBufferEvery?BufferSkipCountSubscriber:BufferCountSubscriber}BufferCountOperator.prototype.call=function(subscriber,source){return source.subscribe(new this.subscriberClass(subscriber,this.bufferSize,this.startBufferEvery))};return BufferCountOperator}();var BufferCountSubscriber=function(_super){__extends(BufferCountSubscriber,_super);function BufferCountSubscriber(destination,bufferSize){var _this=_super.call(this,destination)||this;_this.bufferSize=bufferSize;_this.buffer=[];return _this}BufferCountSubscriber.prototype._next=function(value){var buffer=this.buffer;buffer.push(value);if(buffer.length==this.bufferSize){this.destination.next(buffer);this.buffer=[]}};BufferCountSubscriber.prototype._complete=function(){var buffer=this.buffer;buffer.length>0&&this.destination.next(buffer);_super.prototype._complete.call(this)};return BufferCountSubscriber}(Subscriber_1.Subscriber);var BufferSkipCountSubscriber=function(_super){__extends(BufferSkipCountSubscriber,_super);function BufferSkipCountSubscriber(destination,bufferSize,startBufferEvery){var _this=_super.call(this,destination)||this;_this.bufferSize=bufferSize;_this.startBufferEvery=startBufferEvery;_this.buffers=[];_this.count=0;return _this}BufferSkipCountSubscriber.prototype._next=function(value){var _a=this,bufferSize=_a.bufferSize,startBufferEvery=_a.startBufferEvery,buffers=_a.buffers,count=_a.count;this.count++;count%startBufferEvery===0&&buffers.push([]);for(var i=buffers.length;i--;){var buffer=buffers[i];buffer.push(value);if(buffer.length===bufferSize){buffers.splice(i,1);this.destination.next(buffer)}}};BufferSkipCountSubscriber.prototype._complete=function(){var _a=this,buffers=_a.buffers,destination=_a.destination;while(buffers.length>0){var buffer=buffers.shift();buffer.length>0&&destination.next(buffer)}_super.prototype._complete.call(this)};return BufferSkipCountSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var async_1=__webpack_require__(70);var Subscriber_1=__webpack_require__(16);var isScheduler_1=__webpack_require__(90);function bufferTime(bufferTimeSpan){var length=arguments.length;var scheduler=async_1.async;if(isScheduler_1.isScheduler(arguments[arguments.length-1])){scheduler=arguments[arguments.length-1];length--}var bufferCreationInterval=null;length>=2&&(bufferCreationInterval=arguments[1]);var maxBufferSize=Number.POSITIVE_INFINITY;length>=3&&(maxBufferSize=arguments[2]);return function bufferTimeOperatorFunction(source){return source.lift(new BufferTimeOperator(bufferTimeSpan,bufferCreationInterval,maxBufferSize,scheduler))}}exports.bufferTime=bufferTime;var BufferTimeOperator=function(){function BufferTimeOperator(bufferTimeSpan,bufferCreationInterval,maxBufferSize,scheduler){this.bufferTimeSpan=bufferTimeSpan;this.bufferCreationInterval=bufferCreationInterval;this.maxBufferSize=maxBufferSize;this.scheduler=scheduler}BufferTimeOperator.prototype.call=function(subscriber,source){return source.subscribe(new BufferTimeSubscriber(subscriber,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))};return BufferTimeOperator}();var Context=function(){function Context(){this.buffer=[]}return Context}();var BufferTimeSubscriber=function(_super){__extends(BufferTimeSubscriber,_super);function BufferTimeSubscriber(destination,bufferTimeSpan,bufferCreationInterval,maxBufferSize,scheduler){var _this=_super.call(this,destination)||this;_this.bufferTimeSpan=bufferTimeSpan;_this.bufferCreationInterval=bufferCreationInterval;_this.maxBufferSize=maxBufferSize;_this.scheduler=scheduler;_this.contexts=[];var context=_this.openContext();_this.timespanOnly=null==bufferCreationInterval||bufferCreationInterval<0;if(_this.timespanOnly){var timeSpanOnlyState={subscriber:_this,context:context,bufferTimeSpan:bufferTimeSpan};_this.add(context.closeAction=scheduler.schedule(dispatchBufferTimeSpanOnly,bufferTimeSpan,timeSpanOnlyState))}else{var closeState={subscriber:_this,context:context};var creationState={bufferTimeSpan:bufferTimeSpan,bufferCreationInterval:bufferCreationInterval,subscriber:_this,scheduler:scheduler};_this.add(context.closeAction=scheduler.schedule(dispatchBufferClose,bufferTimeSpan,closeState));_this.add(scheduler.schedule(dispatchBufferCreation,bufferCreationInterval,creationState))}return _this}BufferTimeSubscriber.prototype._next=function(value){var contexts=this.contexts;var len=contexts.length;var filledBufferContext;for(var i=0;i<len;i++){var context_1=contexts[i];var buffer=context_1.buffer;buffer.push(value);buffer.length==this.maxBufferSize&&(filledBufferContext=context_1)}filledBufferContext&&this.onBufferFull(filledBufferContext)};BufferTimeSubscriber.prototype._error=function(err){this.contexts.length=0;_super.prototype._error.call(this,err)};BufferTimeSubscriber.prototype._complete=function(){var _a=this,contexts=_a.contexts,destination=_a.destination;while(contexts.length>0){var context_2=contexts.shift();destination.next(context_2.buffer)}_super.prototype._complete.call(this)};BufferTimeSubscriber.prototype._unsubscribe=function(){this.contexts=null};BufferTimeSubscriber.prototype.onBufferFull=function(context){this.closeContext(context);var closeAction=context.closeAction;closeAction.unsubscribe();this.remove(closeAction);if(!this.closed&&this.timespanOnly){context=this.openContext();var bufferTimeSpan=this.bufferTimeSpan;var timeSpanOnlyState={subscriber:this,context:context,bufferTimeSpan:bufferTimeSpan};this.add(context.closeAction=this.scheduler.schedule(dispatchBufferTimeSpanOnly,bufferTimeSpan,timeSpanOnlyState))}};BufferTimeSubscriber.prototype.openContext=function(){var context=new Context;this.contexts.push(context);return context};BufferTimeSubscriber.prototype.closeContext=function(context){this.destination.next(context.buffer);var contexts=this.contexts;var spliceIndex=contexts?contexts.indexOf(context):-1;spliceIndex>=0&&contexts.splice(contexts.indexOf(context),1)};return BufferTimeSubscriber}(Subscriber_1.Subscriber);function dispatchBufferTimeSpanOnly(state){var subscriber=state.subscriber;var prevContext=state.context;prevContext&&subscriber.closeContext(prevContext);if(!subscriber.closed){state.context=subscriber.openContext();state.context.closeAction=this.schedule(state,state.bufferTimeSpan)}}function dispatchBufferCreation(state){var bufferCreationInterval=state.bufferCreationInterval,bufferTimeSpan=state.bufferTimeSpan,subscriber=state.subscriber,scheduler=state.scheduler;var context=subscriber.openContext();var action=this;if(!subscriber.closed){subscriber.add(context.closeAction=scheduler.schedule(dispatchBufferClose,bufferTimeSpan,{subscriber:subscriber,context:context}));action.schedule(state,bufferCreationInterval)}}function dispatchBufferClose(arg){var subscriber=arg.subscriber,context=arg.context;subscriber.closeContext(context)}},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscription_1=__webpack_require__(52);var subscribeToResult_1=__webpack_require__(27);var OuterSubscriber_1=__webpack_require__(26);function bufferToggle(openings,closingSelector){return function bufferToggleOperatorFunction(source){return source.lift(new BufferToggleOperator(openings,closingSelector))}}exports.bufferToggle=bufferToggle;var BufferToggleOperator=function(){function BufferToggleOperator(openings,closingSelector){this.openings=openings;this.closingSelector=closingSelector}BufferToggleOperator.prototype.call=function(subscriber,source){return source.subscribe(new BufferToggleSubscriber(subscriber,this.openings,this.closingSelector))};return BufferToggleOperator}();var BufferToggleSubscriber=function(_super){__extends(BufferToggleSubscriber,_super);function BufferToggleSubscriber(destination,openings,closingSelector){var _this=_super.call(this,destination)||this;_this.openings=openings;_this.closingSelector=closingSelector;_this.contexts=[];_this.add(subscribeToResult_1.subscribeToResult(_this,openings));return _this}BufferToggleSubscriber.prototype._next=function(value){var contexts=this.contexts;var len=contexts.length;for(var i=0;i<len;i++)contexts[i].buffer.push(value)};BufferToggleSubscriber.prototype._error=function(err){var contexts=this.contexts;while(contexts.length>0){var context_1=contexts.shift();context_1.subscription.unsubscribe();context_1.buffer=null;context_1.subscription=null}this.contexts=null;_super.prototype._error.call(this,err)};BufferToggleSubscriber.prototype._complete=function(){var contexts=this.contexts;while(contexts.length>0){var context_2=contexts.shift();this.destination.next(context_2.buffer);context_2.subscription.unsubscribe();context_2.buffer=null;context_2.subscription=null}this.contexts=null;_super.prototype._complete.call(this)};BufferToggleSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){outerValue?this.closeBuffer(outerValue):this.openBuffer(innerValue)};BufferToggleSubscriber.prototype.notifyComplete=function(innerSub){this.closeBuffer(innerSub.context)};BufferToggleSubscriber.prototype.openBuffer=function(value){try{var closingSelector=this.closingSelector;var closingNotifier=closingSelector.call(this,value);closingNotifier&&this.trySubscribe(closingNotifier)}catch(err){this._error(err)}};BufferToggleSubscriber.prototype.closeBuffer=function(context){var contexts=this.contexts;if(contexts&&context){var buffer=context.buffer,subscription=context.subscription;this.destination.next(buffer);contexts.splice(contexts.indexOf(context),1);this.remove(subscription);subscription.unsubscribe()}};BufferToggleSubscriber.prototype.trySubscribe=function(closingNotifier){var contexts=this.contexts;var buffer=[];var subscription=new Subscription_1.Subscription;var context={buffer:buffer,subscription:subscription};contexts.push(context);var innerSubscription=subscribeToResult_1.subscribeToResult(this,closingNotifier,context);if(!innerSubscription||innerSubscription.closed)this.closeBuffer(context);else{innerSubscription.context=context;this.add(innerSubscription);subscription.add(innerSubscription)}};return BufferToggleSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscription_1=__webpack_require__(52);var tryCatch_1=__webpack_require__(99);var errorObject_1=__webpack_require__(89);var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function bufferWhen(closingSelector){return function(source){return source.lift(new BufferWhenOperator(closingSelector))}}exports.bufferWhen=bufferWhen;var BufferWhenOperator=function(){function BufferWhenOperator(closingSelector){this.closingSelector=closingSelector}BufferWhenOperator.prototype.call=function(subscriber,source){return source.subscribe(new BufferWhenSubscriber(subscriber,this.closingSelector))};return BufferWhenOperator}();var BufferWhenSubscriber=function(_super){__extends(BufferWhenSubscriber,_super);function BufferWhenSubscriber(destination,closingSelector){var _this=_super.call(this,destination)||this;_this.closingSelector=closingSelector;_this.subscribing=false;_this.openBuffer();return _this}BufferWhenSubscriber.prototype._next=function(value){this.buffer.push(value)};BufferWhenSubscriber.prototype._complete=function(){var buffer=this.buffer;buffer&&this.destination.next(buffer);_super.prototype._complete.call(this)};BufferWhenSubscriber.prototype._unsubscribe=function(){this.buffer=null;this.subscribing=false};BufferWhenSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.openBuffer()};BufferWhenSubscriber.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()};BufferWhenSubscriber.prototype.openBuffer=function(){var closingSubscription=this.closingSubscription;if(closingSubscription){this.remove(closingSubscription);closingSubscription.unsubscribe()}var buffer=this.buffer;this.buffer&&this.destination.next(buffer);this.buffer=[];var closingNotifier=tryCatch_1.tryCatch(this.closingSelector)();if(closingNotifier===errorObject_1.errorObject)this.error(errorObject_1.errorObject.e);else{closingSubscription=new Subscription_1.Subscription;this.closingSubscription=closingSubscription;this.add(closingSubscription);this.subscribing=true;closingSubscription.add(subscribeToResult_1.subscribeToResult(this,closingNotifier));this.subscribing=false}};return BufferWhenSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function catchError(selector){return function catchErrorOperatorFunction(source){var operator=new CatchOperator(selector);var caught=source.lift(operator);return operator.caught=caught}}exports.catchError=catchError;var CatchOperator=function(){function CatchOperator(selector){this.selector=selector}CatchOperator.prototype.call=function(subscriber,source){return source.subscribe(new CatchSubscriber(subscriber,this.selector,this.caught))};return CatchOperator}();var CatchSubscriber=function(_super){__extends(CatchSubscriber,_super);function CatchSubscriber(destination,selector,caught){var _this=_super.call(this,destination)||this;_this.selector=selector;_this.caught=caught;return _this}CatchSubscriber.prototype.error=function(err){if(!this.isStopped){var result=void 0;try{result=this.selector(err,this.caught)}catch(err2){_super.prototype.error.call(this,err2);return}this._unsubscribeAndRecycle();this.add(subscribeToResult_1.subscribeToResult(this,result))}};return CatchSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var combineLatest_1=__webpack_require__(533);function combineAll(project){return function(source){return source.lift(new combineLatest_1.CombineLatestOperator(project))}}exports.combineAll=combineAll},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var isArray_1=__webpack_require__(68);var combineLatest_1=__webpack_require__(533);var from_1=__webpack_require__(109);function combineLatest(){var observables=[];for(var _i=0;_i<arguments.length;_i++)observables[_i]=arguments[_i];var project=null;"function"===typeof observables[observables.length-1]&&(project=observables.pop());1===observables.length&&isArray_1.isArray(observables[0])&&(observables=observables[0].slice());return function(source){return source.lift.call(from_1.from([source].concat(observables)),new combineLatest_1.CombineLatestOperator(project))}}exports.combineLatest=combineLatest},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var concat_1=__webpack_require__(356);function concat(){var observables=[];for(var _i=0;_i<arguments.length;_i++)observables[_i]=arguments[_i];return function(source){return source.lift.call(concat_1.concat.apply(void 0,[source].concat(observables)))}}exports.concat=concat},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var concatMap_1=__webpack_require__(983);function concatMapTo(innerObservable,resultSelector){return concatMap_1.concatMap(function(){return innerObservable},resultSelector)}exports.concatMapTo=concatMapTo},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function count(predicate){return function(source){return source.lift(new CountOperator(predicate,source))}}exports.count=count;var CountOperator=function(){function CountOperator(predicate,source){this.predicate=predicate;this.source=source}CountOperator.prototype.call=function(subscriber,source){return source.subscribe(new CountSubscriber(subscriber,this.predicate,this.source))};return CountOperator}();var CountSubscriber=function(_super){__extends(CountSubscriber,_super);function CountSubscriber(destination,predicate,source){var _this=_super.call(this,destination)||this;_this.predicate=predicate;_this.source=source;_this.count=0;_this.index=0;return _this}CountSubscriber.prototype._next=function(value){this.predicate?this._tryPredicate(value):this.count++};CountSubscriber.prototype._tryPredicate=function(value){var result;try{result=this.predicate(value,this.index++,this.source)}catch(err){this.destination.error(err);return}result&&this.count++};CountSubscriber.prototype._complete=function(){this.destination.next(this.count);this.destination.complete()};return CountSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function debounce(durationSelector){return function(source){return source.lift(new DebounceOperator(durationSelector))}}exports.debounce=debounce;var DebounceOperator=function(){function DebounceOperator(durationSelector){this.durationSelector=durationSelector}DebounceOperator.prototype.call=function(subscriber,source){return source.subscribe(new DebounceSubscriber(subscriber,this.durationSelector))};return DebounceOperator}();var DebounceSubscriber=function(_super){__extends(DebounceSubscriber,_super);function DebounceSubscriber(destination,durationSelector){var _this=_super.call(this,destination)||this;_this.durationSelector=durationSelector;_this.hasValue=false;_this.durationSubscription=null;return _this}DebounceSubscriber.prototype._next=function(value){try{var result=this.durationSelector.call(this,value);result&&this._tryNext(value,result)}catch(err){this.destination.error(err)}};DebounceSubscriber.prototype._complete=function(){this.emitValue();this.destination.complete()};DebounceSubscriber.prototype._tryNext=function(value,duration){var subscription=this.durationSubscription;this.value=value;this.hasValue=true;if(subscription){subscription.unsubscribe();this.remove(subscription)}subscription=subscribeToResult_1.subscribeToResult(this,duration);subscription&&!subscription.closed&&this.add(this.durationSubscription=subscription)};DebounceSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.emitValue()};DebounceSubscriber.prototype.notifyComplete=function(){this.emitValue()};DebounceSubscriber.prototype.emitValue=function(){if(this.hasValue){var value=this.value;var subscription=this.durationSubscription;if(subscription){this.durationSubscription=null;subscription.unsubscribe();this.remove(subscription)}this.value=null;this.hasValue=false;_super.prototype._next.call(this,value)}};return DebounceSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var async_1=__webpack_require__(70);function debounceTime(dueTime,scheduler){void 0===scheduler&&(scheduler=async_1.async);return function(source){return source.lift(new DebounceTimeOperator(dueTime,scheduler))}}exports.debounceTime=debounceTime;var DebounceTimeOperator=function(){function DebounceTimeOperator(dueTime,scheduler){this.dueTime=dueTime;this.scheduler=scheduler}DebounceTimeOperator.prototype.call=function(subscriber,source){return source.subscribe(new DebounceTimeSubscriber(subscriber,this.dueTime,this.scheduler))};return DebounceTimeOperator}();var DebounceTimeSubscriber=function(_super){__extends(DebounceTimeSubscriber,_super);function DebounceTimeSubscriber(destination,dueTime,scheduler){var _this=_super.call(this,destination)||this;_this.dueTime=dueTime;_this.scheduler=scheduler;_this.debouncedSubscription=null;_this.lastValue=null;_this.hasValue=false;return _this}DebounceTimeSubscriber.prototype._next=function(value){this.clearDebounce();this.lastValue=value;this.hasValue=true;this.add(this.debouncedSubscription=this.scheduler.schedule(dispatchNext,this.dueTime,this))};DebounceTimeSubscriber.prototype._complete=function(){this.debouncedNext();this.destination.complete()};DebounceTimeSubscriber.prototype.debouncedNext=function(){this.clearDebounce();if(this.hasValue){var lastValue=this.lastValue;this.lastValue=null;this.hasValue=false;this.destination.next(lastValue)}};DebounceTimeSubscriber.prototype.clearDebounce=function(){var debouncedSubscription=this.debouncedSubscription;if(null!==debouncedSubscription){this.remove(debouncedSubscription);debouncedSubscription.unsubscribe();this.debouncedSubscription=null}};return DebounceTimeSubscriber}(Subscriber_1.Subscriber);function dispatchNext(subscriber){subscriber.debouncedNext()}},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var async_1=__webpack_require__(70);var isDate_1=__webpack_require__(984);var Subscriber_1=__webpack_require__(16);var Notification_1=__webpack_require__(354);function delay(delay,scheduler){void 0===scheduler&&(scheduler=async_1.async);var absoluteDelay=isDate_1.isDate(delay);var delayFor=absoluteDelay?+delay-scheduler.now():Math.abs(delay);return function(source){return source.lift(new DelayOperator(delayFor,scheduler))}}exports.delay=delay;var DelayOperator=function(){function DelayOperator(delay,scheduler){this.delay=delay;this.scheduler=scheduler}DelayOperator.prototype.call=function(subscriber,source){return source.subscribe(new DelaySubscriber(subscriber,this.delay,this.scheduler))};return DelayOperator}();var DelaySubscriber=function(_super){__extends(DelaySubscriber,_super);function DelaySubscriber(destination,delay,scheduler){var _this=_super.call(this,destination)||this;_this.delay=delay;_this.scheduler=scheduler;_this.queue=[];_this.active=false;_this.errored=false;return _this}DelaySubscriber.dispatch=function(state){var source=state.source;var queue=source.queue;var scheduler=state.scheduler;var destination=state.destination;while(queue.length>0&&queue[0].time-scheduler.now()<=0)queue.shift().notification.observe(destination);if(queue.length>0){var delay_1=Math.max(0,queue[0].time-scheduler.now());this.schedule(state,delay_1)}else{this.unsubscribe();source.active=false}};DelaySubscriber.prototype._schedule=function(scheduler){this.active=true;this.add(scheduler.schedule(DelaySubscriber.dispatch,this.delay,{source:this,destination:this.destination,scheduler:scheduler}))};DelaySubscriber.prototype.scheduleNotification=function(notification){if(true===this.errored)return;var scheduler=this.scheduler;var message=new DelayMessage(scheduler.now()+this.delay,notification);this.queue.push(message);false===this.active&&this._schedule(scheduler)};DelaySubscriber.prototype._next=function(value){this.scheduleNotification(Notification_1.Notification.createNext(value))};DelaySubscriber.prototype._error=function(err){this.errored=true;this.queue=[];this.destination.error(err)};DelaySubscriber.prototype._complete=function(){this.scheduleNotification(Notification_1.Notification.createComplete())};return DelaySubscriber}(Subscriber_1.Subscriber);var DelayMessage=function(){function DelayMessage(time,notification){this.time=time;this.notification=notification}return DelayMessage}()},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var Observable_1=__webpack_require__(24);var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function delayWhen(delayDurationSelector,subscriptionDelay){if(subscriptionDelay)return function(source){return new SubscriptionDelayObservable(source,subscriptionDelay).lift(new DelayWhenOperator(delayDurationSelector))};return function(source){return source.lift(new DelayWhenOperator(delayDurationSelector))}}exports.delayWhen=delayWhen;var DelayWhenOperator=function(){function DelayWhenOperator(delayDurationSelector){this.delayDurationSelector=delayDurationSelector}DelayWhenOperator.prototype.call=function(subscriber,source){return source.subscribe(new DelayWhenSubscriber(subscriber,this.delayDurationSelector))};return DelayWhenOperator}();var DelayWhenSubscriber=function(_super){__extends(DelayWhenSubscriber,_super);function DelayWhenSubscriber(destination,delayDurationSelector){var _this=_super.call(this,destination)||this;_this.delayDurationSelector=delayDurationSelector;_this.completed=false;_this.delayNotifierSubscriptions=[];return _this}DelayWhenSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.destination.next(outerValue);this.removeSubscription(innerSub);this.tryComplete()};DelayWhenSubscriber.prototype.notifyError=function(error,innerSub){this._error(error)};DelayWhenSubscriber.prototype.notifyComplete=function(innerSub){var value=this.removeSubscription(innerSub);value&&this.destination.next(value);this.tryComplete()};DelayWhenSubscriber.prototype._next=function(value){try{var delayNotifier=this.delayDurationSelector(value);delayNotifier&&this.tryDelay(delayNotifier,value)}catch(err){this.destination.error(err)}};DelayWhenSubscriber.prototype._complete=function(){this.completed=true;this.tryComplete()};DelayWhenSubscriber.prototype.removeSubscription=function(subscription){subscription.unsubscribe();var subscriptionIdx=this.delayNotifierSubscriptions.indexOf(subscription);-1!==subscriptionIdx&&this.delayNotifierSubscriptions.splice(subscriptionIdx,1);return subscription.outerValue};DelayWhenSubscriber.prototype.tryDelay=function(delayNotifier,value){var notifierSubscription=subscribeToResult_1.subscribeToResult(this,delayNotifier,value);if(notifierSubscription&&!notifierSubscription.closed){this.add(notifierSubscription);this.delayNotifierSubscriptions.push(notifierSubscription)}};DelayWhenSubscriber.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()};return DelayWhenSubscriber}(OuterSubscriber_1.OuterSubscriber);var SubscriptionDelayObservable=function(_super){__extends(SubscriptionDelayObservable,_super);function SubscriptionDelayObservable(source,subscriptionDelay){var _this=_super.call(this)||this;_this.source=source;_this.subscriptionDelay=subscriptionDelay;return _this}SubscriptionDelayObservable.prototype._subscribe=function(subscriber){this.subscriptionDelay.subscribe(new SubscriptionDelaySubscriber(subscriber,this.source))};return SubscriptionDelayObservable}(Observable_1.Observable);var SubscriptionDelaySubscriber=function(_super){__extends(SubscriptionDelaySubscriber,_super);function SubscriptionDelaySubscriber(parent,source){var _this=_super.call(this)||this;_this.parent=parent;_this.source=source;_this.sourceSubscribed=false;return _this}SubscriptionDelaySubscriber.prototype._next=function(unused){this.subscribeToSource()};SubscriptionDelaySubscriber.prototype._error=function(err){this.unsubscribe();this.parent.error(err)};SubscriptionDelaySubscriber.prototype._complete=function(){this.subscribeToSource()};SubscriptionDelaySubscriber.prototype.subscribeToSource=function(){if(!this.sourceSubscribed){this.sourceSubscribed=true;this.unsubscribe();this.source.subscribe(this.parent)}};return SubscriptionDelaySubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function dematerialize(){return function dematerializeOperatorFunction(source){return source.lift(new DeMaterializeOperator)}}exports.dematerialize=dematerialize;var DeMaterializeOperator=function(){function DeMaterializeOperator(){}DeMaterializeOperator.prototype.call=function(subscriber,source){return source.subscribe(new DeMaterializeSubscriber(subscriber))};return DeMaterializeOperator}();var DeMaterializeSubscriber=function(_super){__extends(DeMaterializeSubscriber,_super);function DeMaterializeSubscriber(destination){return _super.call(this,destination)||this}DeMaterializeSubscriber.prototype._next=function(value){value.observe(this.destination)};return DeMaterializeSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function distinct(keySelector,flushes){return function(source){return source.lift(new DistinctOperator(keySelector,flushes))}}exports.distinct=distinct;var DistinctOperator=function(){function DistinctOperator(keySelector,flushes){this.keySelector=keySelector;this.flushes=flushes}DistinctOperator.prototype.call=function(subscriber,source){return source.subscribe(new DistinctSubscriber(subscriber,this.keySelector,this.flushes))};return DistinctOperator}();var DistinctSubscriber=function(_super){__extends(DistinctSubscriber,_super);function DistinctSubscriber(destination,keySelector,flushes){var _this=_super.call(this,destination)||this;_this.keySelector=keySelector;_this.values=new Set;flushes&&_this.add(subscribeToResult_1.subscribeToResult(_this,flushes));return _this}DistinctSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.values.clear()};DistinctSubscriber.prototype.notifyError=function(error,innerSub){this._error(error)};DistinctSubscriber.prototype._next=function(value){this.keySelector?this._useKeySelector(value):this._finalizeNext(value,value)};DistinctSubscriber.prototype._useKeySelector=function(value){var key;var destination=this.destination;try{key=this.keySelector(value)}catch(err){destination.error(err);return}this._finalizeNext(key,value)};DistinctSubscriber.prototype._finalizeNext=function(key,value){var values=this.values;if(!values.has(key)){values.add(key);this.destination.next(value)}};return DistinctSubscriber}(OuterSubscriber_1.OuterSubscriber);exports.DistinctSubscriber=DistinctSubscriber},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var distinctUntilChanged_1=__webpack_require__(985);function distinctUntilKeyChanged(key,compare){return distinctUntilChanged_1.distinctUntilChanged(function(x,y){return compare?compare(x[key],y[key]):x[key]===y[key]})}exports.distinctUntilKeyChanged=distinctUntilKeyChanged},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var ArgumentOutOfRangeError_1=__webpack_require__(267);var filter_1=__webpack_require__(272);var throwIfEmpty_1=__webpack_require__(358);var defaultIfEmpty_1=__webpack_require__(271);var take_1=__webpack_require__(537);function elementAt(index,defaultValue){if(index<0)throw new ArgumentOutOfRangeError_1.ArgumentOutOfRangeError;var hasDefaultValue=arguments.length>=2;return function(source){return source.pipe(filter_1.filter(function(v,i){return i===index}),take_1.take(1),hasDefaultValue?defaultIfEmpty_1.defaultIfEmpty(defaultValue):throwIfEmpty_1.throwIfEmpty(function(){return new ArgumentOutOfRangeError_1.ArgumentOutOfRangeError}))}}exports.elementAt=elementAt},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var fromArray_1=__webpack_require__(143);var scalar_1=__webpack_require__(531);var empty_1=__webpack_require__(69);var concat_1=__webpack_require__(356);var isScheduler_1=__webpack_require__(90);function endWith(){var array=[];for(var _i=0;_i<arguments.length;_i++)array[_i]=arguments[_i];return function(source){var scheduler=array[array.length-1];isScheduler_1.isScheduler(scheduler)?array.pop():scheduler=null;var len=array.length;return 1!==len||scheduler?len>0?concat_1.concat(source,fromArray_1.fromArray(array,scheduler)):concat_1.concat(source,empty_1.empty(scheduler)):concat_1.concat(source,scalar_1.scalar(array[0]))}}exports.endWith=endWith},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function every(predicate,thisArg){return function(source){return source.lift(new EveryOperator(predicate,thisArg,source))}}exports.every=every;var EveryOperator=function(){function EveryOperator(predicate,thisArg,source){this.predicate=predicate;this.thisArg=thisArg;this.source=source}EveryOperator.prototype.call=function(observer,source){return source.subscribe(new EverySubscriber(observer,this.predicate,this.thisArg,this.source))};return EveryOperator}();var EverySubscriber=function(_super){__extends(EverySubscriber,_super);function EverySubscriber(destination,predicate,thisArg,source){var _this=_super.call(this,destination)||this;_this.predicate=predicate;_this.thisArg=thisArg;_this.source=source;_this.index=0;_this.thisArg=thisArg||_this;return _this}EverySubscriber.prototype.notifyComplete=function(everyValueMatch){this.destination.next(everyValueMatch);this.destination.complete()};EverySubscriber.prototype._next=function(value){var result=false;try{result=this.predicate.call(this.thisArg,value,this.index++,this.source)}catch(err){this.destination.error(err);return}result||this.notifyComplete(false)};EverySubscriber.prototype._complete=function(){this.notifyComplete(true)};return EverySubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function exhaust(){return function(source){return source.lift(new SwitchFirstOperator)}}exports.exhaust=exhaust;var SwitchFirstOperator=function(){function SwitchFirstOperator(){}SwitchFirstOperator.prototype.call=function(subscriber,source){return source.subscribe(new SwitchFirstSubscriber(subscriber))};return SwitchFirstOperator}();var SwitchFirstSubscriber=function(_super){__extends(SwitchFirstSubscriber,_super);function SwitchFirstSubscriber(destination){var _this=_super.call(this,destination)||this;_this.hasCompleted=false;_this.hasSubscription=false;return _this}SwitchFirstSubscriber.prototype._next=function(value){if(!this.hasSubscription){this.hasSubscription=true;this.add(subscribeToResult_1.subscribeToResult(this,value))}};SwitchFirstSubscriber.prototype._complete=function(){this.hasCompleted=true;this.hasSubscription||this.destination.complete()};SwitchFirstSubscriber.prototype.notifyComplete=function(innerSub){this.remove(innerSub);this.hasSubscription=false;this.hasCompleted&&this.destination.complete()};return SwitchFirstSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);var map_1=__webpack_require__(91);var from_1=__webpack_require__(109);function exhaustMap(project,resultSelector){if(resultSelector)return function(source){return source.pipe(exhaustMap(function(a,i){return from_1.from(project(a,i)).pipe(map_1.map(function(b,ii){return resultSelector(a,b,i,ii)}))}))};return function(source){return source.lift(new ExhauseMapOperator(project))}}exports.exhaustMap=exhaustMap;var ExhauseMapOperator=function(){function ExhauseMapOperator(project){this.project=project}ExhauseMapOperator.prototype.call=function(subscriber,source){return source.subscribe(new ExhaustMapSubscriber(subscriber,this.project))};return ExhauseMapOperator}();var ExhaustMapSubscriber=function(_super){__extends(ExhaustMapSubscriber,_super);function ExhaustMapSubscriber(destination,project){var _this=_super.call(this,destination)||this;_this.project=project;_this.hasSubscription=false;_this.hasCompleted=false;_this.index=0;return _this}ExhaustMapSubscriber.prototype._next=function(value){this.hasSubscription||this.tryNext(value)};ExhaustMapSubscriber.prototype.tryNext=function(value){var index=this.index++;var destination=this.destination;try{var result=this.project(value,index);this.hasSubscription=true;this.add(subscribeToResult_1.subscribeToResult(this,result,value,index))}catch(err){destination.error(err)}};ExhaustMapSubscriber.prototype._complete=function(){this.hasCompleted=true;this.hasSubscription||this.destination.complete()};ExhaustMapSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.destination.next(innerValue)};ExhaustMapSubscriber.prototype.notifyError=function(err){this.destination.error(err)};ExhaustMapSubscriber.prototype.notifyComplete=function(innerSub){this.remove(innerSub);this.hasSubscription=false;this.hasCompleted&&this.destination.complete()};return ExhaustMapSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var tryCatch_1=__webpack_require__(99);var errorObject_1=__webpack_require__(89);var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function expand(project,concurrent,scheduler){void 0===concurrent&&(concurrent=Number.POSITIVE_INFINITY);void 0===scheduler&&(scheduler=void 0);concurrent=(concurrent||0)<1?Number.POSITIVE_INFINITY:concurrent;return function(source){return source.lift(new ExpandOperator(project,concurrent,scheduler))}}exports.expand=expand;var ExpandOperator=function(){function ExpandOperator(project,concurrent,scheduler){this.project=project;this.concurrent=concurrent;this.scheduler=scheduler}ExpandOperator.prototype.call=function(subscriber,source){return source.subscribe(new ExpandSubscriber(subscriber,this.project,this.concurrent,this.scheduler))};return ExpandOperator}();exports.ExpandOperator=ExpandOperator;var ExpandSubscriber=function(_super){__extends(ExpandSubscriber,_super);function ExpandSubscriber(destination,project,concurrent,scheduler){var _this=_super.call(this,destination)||this;_this.project=project;_this.concurrent=concurrent;_this.scheduler=scheduler;_this.index=0;_this.active=0;_this.hasCompleted=false;concurrent<Number.POSITIVE_INFINITY&&(_this.buffer=[]);return _this}ExpandSubscriber.dispatch=function(arg){var subscriber=arg.subscriber,result=arg.result,value=arg.value,index=arg.index;subscriber.subscribeToProjection(result,value,index)};ExpandSubscriber.prototype._next=function(value){var destination=this.destination;if(destination.closed){this._complete();return}var index=this.index++;if(this.active<this.concurrent){destination.next(value);var result=tryCatch_1.tryCatch(this.project)(value,index);if(result===errorObject_1.errorObject)destination.error(errorObject_1.errorObject.e);else if(this.scheduler){var state={subscriber:this,result:result,value:value,index:index};this.add(this.scheduler.schedule(ExpandSubscriber.dispatch,0,state))}else this.subscribeToProjection(result,value,index)}else this.buffer.push(value)};ExpandSubscriber.prototype.subscribeToProjection=function(result,value,index){this.active++;this.add(subscribeToResult_1.subscribeToResult(this,result,value,index))};ExpandSubscriber.prototype._complete=function(){this.hasCompleted=true;this.hasCompleted&&0===this.active&&this.destination.complete()};ExpandSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this._next(innerValue)};ExpandSubscriber.prototype.notifyComplete=function(innerSub){var buffer=this.buffer;this.remove(innerSub);this.active--;buffer&&buffer.length>0&&this._next(buffer.shift());this.hasCompleted&&0===this.active&&this.destination.complete()};return ExpandSubscriber}(OuterSubscriber_1.OuterSubscriber);exports.ExpandSubscriber=ExpandSubscriber},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var Subscription_1=__webpack_require__(52);function finalize(callback){return function(source){return source.lift(new FinallyOperator(callback))}}exports.finalize=finalize;var FinallyOperator=function(){function FinallyOperator(callback){this.callback=callback}FinallyOperator.prototype.call=function(subscriber,source){return source.subscribe(new FinallySubscriber(subscriber,this.callback))};return FinallyOperator}();var FinallySubscriber=function(_super){__extends(FinallySubscriber,_super);function FinallySubscriber(destination,callback){var _this=_super.call(this,destination)||this;_this.add(new Subscription_1.Subscription(callback));return _this}return FinallySubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var find_1=__webpack_require__(987);function findIndex(predicate,thisArg){return function(source){return source.lift(new find_1.FindValueOperator(predicate,source,true,thisArg))}}exports.findIndex=findIndex},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var EmptyError_1=__webpack_require__(268);var filter_1=__webpack_require__(272);var take_1=__webpack_require__(537);var defaultIfEmpty_1=__webpack_require__(271);var throwIfEmpty_1=__webpack_require__(358);var identity_1=__webpack_require__(219);function first(predicate,defaultValue){var hasDefaultValue=arguments.length>=2;return function(source){return source.pipe(predicate?filter_1.filter(function(v,i){return predicate(v,i,source)}):identity_1.identity,take_1.take(1),hasDefaultValue?defaultIfEmpty_1.defaultIfEmpty(defaultValue):throwIfEmpty_1.throwIfEmpty(function(){return new EmptyError_1.EmptyError}))}}exports.first=first},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function ignoreElements(){return function ignoreElementsOperatorFunction(source){return source.lift(new IgnoreElementsOperator)}}exports.ignoreElements=ignoreElements;var IgnoreElementsOperator=function(){function IgnoreElementsOperator(){}IgnoreElementsOperator.prototype.call=function(subscriber,source){return source.subscribe(new IgnoreElementsSubscriber(subscriber))};return IgnoreElementsOperator}();var IgnoreElementsSubscriber=function(_super){__extends(IgnoreElementsSubscriber,_super);function IgnoreElementsSubscriber(){return null!==_super&&_super.apply(this,arguments)||this}IgnoreElementsSubscriber.prototype._next=function(unused){};return IgnoreElementsSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function isEmpty(){return function(source){return source.lift(new IsEmptyOperator)}}exports.isEmpty=isEmpty;var IsEmptyOperator=function(){function IsEmptyOperator(){}IsEmptyOperator.prototype.call=function(observer,source){return source.subscribe(new IsEmptySubscriber(observer))};return IsEmptyOperator}();var IsEmptySubscriber=function(_super){__extends(IsEmptySubscriber,_super);function IsEmptySubscriber(destination){return _super.call(this,destination)||this}IsEmptySubscriber.prototype.notifyComplete=function(isEmpty){var destination=this.destination;destination.next(isEmpty);destination.complete()};IsEmptySubscriber.prototype._next=function(value){this.notifyComplete(false)};IsEmptySubscriber.prototype._complete=function(){this.notifyComplete(true)};return IsEmptySubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var EmptyError_1=__webpack_require__(268);var filter_1=__webpack_require__(272);var takeLast_1=__webpack_require__(538);var throwIfEmpty_1=__webpack_require__(358);var defaultIfEmpty_1=__webpack_require__(271);var identity_1=__webpack_require__(219);function last(predicate,defaultValue){var hasDefaultValue=arguments.length>=2;return function(source){return source.pipe(predicate?filter_1.filter(function(v,i){return predicate(v,i,source)}):identity_1.identity,takeLast_1.takeLast(1),hasDefaultValue?defaultIfEmpty_1.defaultIfEmpty(defaultValue):throwIfEmpty_1.throwIfEmpty(function(){return new EmptyError_1.EmptyError}))}}exports.last=last},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function mapTo(value){return function(source){return source.lift(new MapToOperator(value))}}exports.mapTo=mapTo;var MapToOperator=function(){function MapToOperator(value){this.value=value}MapToOperator.prototype.call=function(subscriber,source){return source.subscribe(new MapToSubscriber(subscriber,this.value))};return MapToOperator}();var MapToSubscriber=function(_super){__extends(MapToSubscriber,_super);function MapToSubscriber(destination,value){var _this=_super.call(this,destination)||this;_this.value=value;return _this}MapToSubscriber.prototype._next=function(x){this.destination.next(this.value)};return MapToSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var Notification_1=__webpack_require__(354);function materialize(){return function materializeOperatorFunction(source){return source.lift(new MaterializeOperator)}}exports.materialize=materialize;var MaterializeOperator=function(){function MaterializeOperator(){}MaterializeOperator.prototype.call=function(subscriber,source){return source.subscribe(new MaterializeSubscriber(subscriber))};return MaterializeOperator}();var MaterializeSubscriber=function(_super){__extends(MaterializeSubscriber,_super);function MaterializeSubscriber(destination){return _super.call(this,destination)||this}MaterializeSubscriber.prototype._next=function(value){this.destination.next(Notification_1.Notification.createNext(value))};MaterializeSubscriber.prototype._error=function(err){var destination=this.destination;destination.next(Notification_1.Notification.createError(err));destination.complete()};MaterializeSubscriber.prototype._complete=function(){var destination=this.destination;destination.next(Notification_1.Notification.createComplete());destination.complete()};return MaterializeSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var reduce_1=__webpack_require__(359);function max(comparer){var max="function"===typeof comparer?function(x,y){return comparer(x,y)>0?x:y}:function(x,y){return x>y?x:y};return reduce_1.reduce(max)}exports.max=max},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var merge_1=__webpack_require__(978);function merge(){var observables=[];for(var _i=0;_i<arguments.length;_i++)observables[_i]=arguments[_i];return function(source){return source.lift.call(merge_1.merge.apply(void 0,[source].concat(observables)))}}exports.merge=merge},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var mergeMap_1=__webpack_require__(270);function mergeMapTo(innerObservable,resultSelector,concurrent){void 0===concurrent&&(concurrent=Number.POSITIVE_INFINITY);if("function"===typeof resultSelector)return mergeMap_1.mergeMap(function(){return innerObservable},resultSelector,concurrent);"number"===typeof resultSelector&&(concurrent=resultSelector);return mergeMap_1.mergeMap(function(){return innerObservable},concurrent)}exports.mergeMapTo=mergeMapTo},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var tryCatch_1=__webpack_require__(99);var errorObject_1=__webpack_require__(89);var subscribeToResult_1=__webpack_require__(27);var OuterSubscriber_1=__webpack_require__(26);function mergeScan(accumulator,seed,concurrent){void 0===concurrent&&(concurrent=Number.POSITIVE_INFINITY);return function(source){return source.lift(new MergeScanOperator(accumulator,seed,concurrent))}}exports.mergeScan=mergeScan;var MergeScanOperator=function(){function MergeScanOperator(accumulator,seed,concurrent){this.accumulator=accumulator;this.seed=seed;this.concurrent=concurrent}MergeScanOperator.prototype.call=function(subscriber,source){return source.subscribe(new MergeScanSubscriber(subscriber,this.accumulator,this.seed,this.concurrent))};return MergeScanOperator}();exports.MergeScanOperator=MergeScanOperator;var MergeScanSubscriber=function(_super){__extends(MergeScanSubscriber,_super);function MergeScanSubscriber(destination,accumulator,acc,concurrent){var _this=_super.call(this,destination)||this;_this.accumulator=accumulator;_this.acc=acc;_this.concurrent=concurrent;_this.hasValue=false;_this.hasCompleted=false;_this.buffer=[];_this.active=0;_this.index=0;return _this}MergeScanSubscriber.prototype._next=function(value){if(this.active<this.concurrent){var index=this.index++;var ish=tryCatch_1.tryCatch(this.accumulator)(this.acc,value);var destination=this.destination;if(ish===errorObject_1.errorObject)destination.error(errorObject_1.errorObject.e);else{this.active++;this._innerSub(ish,value,index)}}else this.buffer.push(value)};MergeScanSubscriber.prototype._innerSub=function(ish,value,index){this.add(subscribeToResult_1.subscribeToResult(this,ish,value,index))};MergeScanSubscriber.prototype._complete=function(){this.hasCompleted=true;if(0===this.active&&0===this.buffer.length){false===this.hasValue&&this.destination.next(this.acc);this.destination.complete()}};MergeScanSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){var destination=this.destination;this.acc=innerValue;this.hasValue=true;destination.next(innerValue)};MergeScanSubscriber.prototype.notifyComplete=function(innerSub){var buffer=this.buffer;this.remove(innerSub);this.active--;if(buffer.length>0)this._next(buffer.shift());else if(0===this.active&&this.hasCompleted){false===this.hasValue&&this.destination.next(this.acc);this.destination.complete()}};return MergeScanSubscriber}(OuterSubscriber_1.OuterSubscriber);exports.MergeScanSubscriber=MergeScanSubscriber},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var reduce_1=__webpack_require__(359);function min(comparer){var min="function"===typeof comparer?function(x,y){return comparer(x,y)<0?x:y}:function(x,y){return x<y?x:y};return reduce_1.reduce(min)}exports.min=min},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var from_1=__webpack_require__(109);var isArray_1=__webpack_require__(68);var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function onErrorResumeNext(){var nextSources=[];for(var _i=0;_i<arguments.length;_i++)nextSources[_i]=arguments[_i];1===nextSources.length&&isArray_1.isArray(nextSources[0])&&(nextSources=nextSources[0]);return function(source){return source.lift(new OnErrorResumeNextOperator(nextSources))}}exports.onErrorResumeNext=onErrorResumeNext;function onErrorResumeNextStatic(){var nextSources=[];for(var _i=0;_i<arguments.length;_i++)nextSources[_i]=arguments[_i];var source=null;1===nextSources.length&&isArray_1.isArray(nextSources[0])&&(nextSources=nextSources[0]);source=nextSources.shift();return from_1.from(source,null).lift(new OnErrorResumeNextOperator(nextSources))}exports.onErrorResumeNextStatic=onErrorResumeNextStatic;var OnErrorResumeNextOperator=function(){function OnErrorResumeNextOperator(nextSources){this.nextSources=nextSources}OnErrorResumeNextOperator.prototype.call=function(subscriber,source){return source.subscribe(new OnErrorResumeNextSubscriber(subscriber,this.nextSources))};return OnErrorResumeNextOperator}();var OnErrorResumeNextSubscriber=function(_super){__extends(OnErrorResumeNextSubscriber,_super);function OnErrorResumeNextSubscriber(destination,nextSources){var _this=_super.call(this,destination)||this;_this.destination=destination;_this.nextSources=nextSources;return _this}OnErrorResumeNextSubscriber.prototype.notifyError=function(error,innerSub){this.subscribeToNextSource()};OnErrorResumeNextSubscriber.prototype.notifyComplete=function(innerSub){this.subscribeToNextSource()};OnErrorResumeNextSubscriber.prototype._error=function(err){this.subscribeToNextSource()};OnErrorResumeNextSubscriber.prototype._complete=function(){this.subscribeToNextSource()};OnErrorResumeNextSubscriber.prototype.subscribeToNextSource=function(){var next=this.nextSources.shift();next?this.add(subscribeToResult_1.subscribeToResult(this,next)):this.destination.complete()};return OnErrorResumeNextSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function pairwise(){return function(source){return source.lift(new PairwiseOperator)}}exports.pairwise=pairwise;var PairwiseOperator=function(){function PairwiseOperator(){}PairwiseOperator.prototype.call=function(subscriber,source){return source.subscribe(new PairwiseSubscriber(subscriber))};return PairwiseOperator}();var PairwiseSubscriber=function(_super){__extends(PairwiseSubscriber,_super);function PairwiseSubscriber(destination){var _this=_super.call(this,destination)||this;_this.hasPrev=false;return _this}PairwiseSubscriber.prototype._next=function(value){this.hasPrev?this.destination.next([this.prev,value]):this.hasPrev=true;this.prev=value};return PairwiseSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var not_1=__webpack_require__(2735);var filter_1=__webpack_require__(272);function partition(predicate,thisArg){return function(source){return[filter_1.filter(predicate,thisArg)(source),filter_1.filter(not_1.not(predicate,thisArg))(source)]}}exports.partition=partition},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function not(pred,thisArg){function notPred(){return!notPred.pred.apply(notPred.thisArg,arguments)}notPred.pred=pred;notPred.thisArg=thisArg;return notPred}exports.not=not},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var map_1=__webpack_require__(91);function pluck(){var properties=[];for(var _i=0;_i<arguments.length;_i++)properties[_i]=arguments[_i];var length=properties.length;if(0===length)throw new Error("list of properties cannot be empty.");return function(source){return map_1.map(plucker(properties,length))(source)}}exports.pluck=pluck;function plucker(props,length){var mapper=function(x){var currentProp=x;for(var i=0;i<length;i++){var p=currentProp[props[i]];if("undefined"===typeof p)return;currentProp=p}return currentProp};return mapper}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var Subject_1=__webpack_require__(63);var multicast_1=__webpack_require__(220);function publish(selector){return selector?multicast_1.multicast(function(){return new Subject_1.Subject},selector):multicast_1.multicast(new Subject_1.Subject)}exports.publish=publish},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var BehaviorSubject_1=__webpack_require__(964);var multicast_1=__webpack_require__(220);function publishBehavior(value){return function(source){return multicast_1.multicast(new BehaviorSubject_1.BehaviorSubject(value))(source)}}exports.publishBehavior=publishBehavior},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var AsyncSubject_1=__webpack_require__(355);var multicast_1=__webpack_require__(220);function publishLast(){return function(source){return multicast_1.multicast(new AsyncSubject_1.AsyncSubject)(source)}}exports.publishLast=publishLast},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var ReplaySubject_1=__webpack_require__(529);var multicast_1=__webpack_require__(220);function publishReplay(bufferSize,windowTime,selectorOrScheduler,scheduler){selectorOrScheduler&&"function"!==typeof selectorOrScheduler&&(scheduler=selectorOrScheduler);var selector="function"===typeof selectorOrScheduler?selectorOrScheduler:void 0;var subject=new ReplaySubject_1.ReplaySubject(bufferSize,windowTime,scheduler);return function(source){return multicast_1.multicast(function(){return subject},selector)(source)}}exports.publishReplay=publishReplay},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var isArray_1=__webpack_require__(68);var race_1=__webpack_require__(980);function race(){var observables=[];for(var _i=0;_i<arguments.length;_i++)observables[_i]=arguments[_i];return function raceOperatorFunction(source){1===observables.length&&isArray_1.isArray(observables[0])&&(observables=observables[0]);return source.lift.call(race_1.race.apply(void 0,[source].concat(observables)))}}exports.race=race},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var empty_1=__webpack_require__(69);function repeat(count){void 0===count&&(count=-1);return function(source){return 0===count?empty_1.empty():count<0?source.lift(new RepeatOperator(-1,source)):source.lift(new RepeatOperator(count-1,source))}}exports.repeat=repeat;var RepeatOperator=function(){function RepeatOperator(count,source){this.count=count;this.source=source}RepeatOperator.prototype.call=function(subscriber,source){return source.subscribe(new RepeatSubscriber(subscriber,this.count,this.source))};return RepeatOperator}();var RepeatSubscriber=function(_super){__extends(RepeatSubscriber,_super);function RepeatSubscriber(destination,count,source){var _this=_super.call(this,destination)||this;_this.count=count;_this.source=source;return _this}RepeatSubscriber.prototype.complete=function(){if(!this.isStopped){var _a=this,source=_a.source,count=_a.count;if(0===count)return _super.prototype.complete.call(this);count>-1&&(this.count=count-1);source.subscribe(this._unsubscribeAndRecycle())}};return RepeatSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subject_1=__webpack_require__(63);var tryCatch_1=__webpack_require__(99);var errorObject_1=__webpack_require__(89);var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function repeatWhen(notifier){return function(source){return source.lift(new RepeatWhenOperator(notifier))}}exports.repeatWhen=repeatWhen;var RepeatWhenOperator=function(){function RepeatWhenOperator(notifier){this.notifier=notifier}RepeatWhenOperator.prototype.call=function(subscriber,source){return source.subscribe(new RepeatWhenSubscriber(subscriber,this.notifier,source))};return RepeatWhenOperator}();var RepeatWhenSubscriber=function(_super){__extends(RepeatWhenSubscriber,_super);function RepeatWhenSubscriber(destination,notifier,source){var _this=_super.call(this,destination)||this;_this.notifier=notifier;_this.source=source;_this.sourceIsBeingSubscribedTo=true;return _this}RepeatWhenSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.sourceIsBeingSubscribedTo=true;this.source.subscribe(this)};RepeatWhenSubscriber.prototype.notifyComplete=function(innerSub){if(false===this.sourceIsBeingSubscribedTo)return _super.prototype.complete.call(this)};RepeatWhenSubscriber.prototype.complete=function(){this.sourceIsBeingSubscribedTo=false;if(!this.isStopped){this.retries||this.subscribeToRetries();if(!this.retriesSubscription||this.retriesSubscription.closed)return _super.prototype.complete.call(this);this._unsubscribeAndRecycle();this.notifications.next()}};RepeatWhenSubscriber.prototype._unsubscribe=function(){var _a=this,notifications=_a.notifications,retriesSubscription=_a.retriesSubscription;if(notifications){notifications.unsubscribe();this.notifications=null}if(retriesSubscription){retriesSubscription.unsubscribe();this.retriesSubscription=null}this.retries=null};RepeatWhenSubscriber.prototype._unsubscribeAndRecycle=function(){var _unsubscribe=this._unsubscribe;this._unsubscribe=null;_super.prototype._unsubscribeAndRecycle.call(this);this._unsubscribe=_unsubscribe;return this};RepeatWhenSubscriber.prototype.subscribeToRetries=function(){this.notifications=new Subject_1.Subject;var retries=tryCatch_1.tryCatch(this.notifier)(this.notifications);if(retries===errorObject_1.errorObject)return _super.prototype.complete.call(this);this.retries=retries;this.retriesSubscription=subscribeToResult_1.subscribeToResult(this,retries)};return RepeatWhenSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function retry(count){void 0===count&&(count=-1);return function(source){return source.lift(new RetryOperator(count,source))}}exports.retry=retry;var RetryOperator=function(){function RetryOperator(count,source){this.count=count;this.source=source}RetryOperator.prototype.call=function(subscriber,source){return source.subscribe(new RetrySubscriber(subscriber,this.count,this.source))};return RetryOperator}();var RetrySubscriber=function(_super){__extends(RetrySubscriber,_super);function RetrySubscriber(destination,count,source){var _this=_super.call(this,destination)||this;_this.count=count;_this.source=source;return _this}RetrySubscriber.prototype.error=function(err){if(!this.isStopped){var _a=this,source=_a.source,count=_a.count;if(0===count)return _super.prototype.error.call(this,err);count>-1&&(this.count=count-1);source.subscribe(this._unsubscribeAndRecycle())}};return RetrySubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subject_1=__webpack_require__(63);var tryCatch_1=__webpack_require__(99);var errorObject_1=__webpack_require__(89);var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function retryWhen(notifier){return function(source){return source.lift(new RetryWhenOperator(notifier,source))}}exports.retryWhen=retryWhen;var RetryWhenOperator=function(){function RetryWhenOperator(notifier,source){this.notifier=notifier;this.source=source}RetryWhenOperator.prototype.call=function(subscriber,source){return source.subscribe(new RetryWhenSubscriber(subscriber,this.notifier,this.source))};return RetryWhenOperator}();var RetryWhenSubscriber=function(_super){__extends(RetryWhenSubscriber,_super);function RetryWhenSubscriber(destination,notifier,source){var _this=_super.call(this,destination)||this;_this.notifier=notifier;_this.source=source;return _this}RetryWhenSubscriber.prototype.error=function(err){if(!this.isStopped){var errors=this.errors;var retries=this.retries;var retriesSubscription=this.retriesSubscription;if(retries){this.errors=null;this.retriesSubscription=null}else{errors=new Subject_1.Subject;retries=tryCatch_1.tryCatch(this.notifier)(errors);if(retries===errorObject_1.errorObject)return _super.prototype.error.call(this,errorObject_1.errorObject.e);retriesSubscription=subscribeToResult_1.subscribeToResult(this,retries)}this._unsubscribeAndRecycle();this.errors=errors;this.retries=retries;this.retriesSubscription=retriesSubscription;errors.next(err)}};RetryWhenSubscriber.prototype._unsubscribe=function(){var _a=this,errors=_a.errors,retriesSubscription=_a.retriesSubscription;if(errors){errors.unsubscribe();this.errors=null}if(retriesSubscription){retriesSubscription.unsubscribe();this.retriesSubscription=null}this.retries=null};RetryWhenSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){var _unsubscribe=this._unsubscribe;this._unsubscribe=null;this._unsubscribeAndRecycle();this._unsubscribe=_unsubscribe;this.source.subscribe(this)};return RetryWhenSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function sample(notifier){return function(source){return source.lift(new SampleOperator(notifier))}}exports.sample=sample;var SampleOperator=function(){function SampleOperator(notifier){this.notifier=notifier}SampleOperator.prototype.call=function(subscriber,source){var sampleSubscriber=new SampleSubscriber(subscriber);var subscription=source.subscribe(sampleSubscriber);subscription.add(subscribeToResult_1.subscribeToResult(sampleSubscriber,this.notifier));return subscription};return SampleOperator}();var SampleSubscriber=function(_super){__extends(SampleSubscriber,_super);function SampleSubscriber(){var _this=null!==_super&&_super.apply(this,arguments)||this;_this.hasValue=false;return _this}SampleSubscriber.prototype._next=function(value){this.value=value;this.hasValue=true};SampleSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.emitValue()};SampleSubscriber.prototype.notifyComplete=function(){this.emitValue()};SampleSubscriber.prototype.emitValue=function(){if(this.hasValue){this.hasValue=false;this.destination.next(this.value)}};return SampleSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var async_1=__webpack_require__(70);function sampleTime(period,scheduler){void 0===scheduler&&(scheduler=async_1.async);return function(source){return source.lift(new SampleTimeOperator(period,scheduler))}}exports.sampleTime=sampleTime;var SampleTimeOperator=function(){function SampleTimeOperator(period,scheduler){this.period=period;this.scheduler=scheduler}SampleTimeOperator.prototype.call=function(subscriber,source){return source.subscribe(new SampleTimeSubscriber(subscriber,this.period,this.scheduler))};return SampleTimeOperator}();var SampleTimeSubscriber=function(_super){__extends(SampleTimeSubscriber,_super);function SampleTimeSubscriber(destination,period,scheduler){var _this=_super.call(this,destination)||this;_this.period=period;_this.scheduler=scheduler;_this.hasValue=false;_this.add(scheduler.schedule(dispatchNotification,period,{subscriber:_this,period:period}));return _this}SampleTimeSubscriber.prototype._next=function(value){this.lastValue=value;this.hasValue=true};SampleTimeSubscriber.prototype.notifyNext=function(){if(this.hasValue){this.hasValue=false;this.destination.next(this.lastValue)}};return SampleTimeSubscriber}(Subscriber_1.Subscriber);function dispatchNotification(state){var subscriber=state.subscriber,period=state.period;subscriber.notifyNext();this.schedule(state,period)}},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var tryCatch_1=__webpack_require__(99);var errorObject_1=__webpack_require__(89);function sequenceEqual(compareTo,comparor){return function(source){return source.lift(new SequenceEqualOperator(compareTo,comparor))}}exports.sequenceEqual=sequenceEqual;var SequenceEqualOperator=function(){function SequenceEqualOperator(compareTo,comparor){this.compareTo=compareTo;this.comparor=comparor}SequenceEqualOperator.prototype.call=function(subscriber,source){return source.subscribe(new SequenceEqualSubscriber(subscriber,this.compareTo,this.comparor))};return SequenceEqualOperator}();exports.SequenceEqualOperator=SequenceEqualOperator;var SequenceEqualSubscriber=function(_super){__extends(SequenceEqualSubscriber,_super);function SequenceEqualSubscriber(destination,compareTo,comparor){var _this=_super.call(this,destination)||this;_this.compareTo=compareTo;_this.comparor=comparor;_this._a=[];_this._b=[];_this._oneComplete=false;_this.add(compareTo.subscribe(new SequenceEqualCompareToSubscriber(destination,_this)));return _this}SequenceEqualSubscriber.prototype._next=function(value){if(this._oneComplete&&0===this._b.length)this.emit(false);else{this._a.push(value);this.checkValues()}};SequenceEqualSubscriber.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=true};SequenceEqualSubscriber.prototype.checkValues=function(){var _c=this,_a=_c._a,_b=_c._b,comparor=_c.comparor;while(_a.length>0&&_b.length>0){var a=_a.shift();var b=_b.shift();var areEqual=false;if(comparor){areEqual=tryCatch_1.tryCatch(comparor)(a,b);areEqual===errorObject_1.errorObject&&this.destination.error(errorObject_1.errorObject.e)}else areEqual=a===b;areEqual||this.emit(false)}};SequenceEqualSubscriber.prototype.emit=function(value){var destination=this.destination;destination.next(value);destination.complete()};SequenceEqualSubscriber.prototype.nextB=function(value){if(this._oneComplete&&0===this._a.length)this.emit(false);else{this._b.push(value);this.checkValues()}};return SequenceEqualSubscriber}(Subscriber_1.Subscriber);exports.SequenceEqualSubscriber=SequenceEqualSubscriber;var SequenceEqualCompareToSubscriber=function(_super){__extends(SequenceEqualCompareToSubscriber,_super);function SequenceEqualCompareToSubscriber(destination,parent){var _this=_super.call(this,destination)||this;_this.parent=parent;return _this}SequenceEqualCompareToSubscriber.prototype._next=function(value){this.parent.nextB(value)};SequenceEqualCompareToSubscriber.prototype._error=function(err){this.parent.error(err)};SequenceEqualCompareToSubscriber.prototype._complete=function(){this.parent._complete()};return SequenceEqualCompareToSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var multicast_1=__webpack_require__(220);var refCount_1=__webpack_require__(528);var Subject_1=__webpack_require__(63);function shareSubjectFactory(){return new Subject_1.Subject}function share(){return function(source){return refCount_1.refCount()(multicast_1.multicast(shareSubjectFactory)(source))}}exports.share=share},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var ReplaySubject_1=__webpack_require__(529);function shareReplay(bufferSize,windowTime,scheduler){return function(source){return source.lift(shareReplayOperator(bufferSize,windowTime,scheduler))}}exports.shareReplay=shareReplay;function shareReplayOperator(bufferSize,windowTime,scheduler){var subject;var refCount=0;var subscription;var hasError=false;var isComplete=false;return function shareReplayOperation(source){refCount++;if(!subject||hasError){hasError=false;subject=new ReplaySubject_1.ReplaySubject(bufferSize,windowTime,scheduler);subscription=source.subscribe({next:function(value){subject.next(value)},error:function(err){hasError=true;subject.error(err)},complete:function(){isComplete=true;subject.complete()}})}var innerSub=subject.subscribe(this);return function(){refCount--;innerSub.unsubscribe();subscription&&0===refCount&&isComplete&&subscription.unsubscribe()}}}},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var EmptyError_1=__webpack_require__(268);function single(predicate){return function(source){return source.lift(new SingleOperator(predicate,source))}}exports.single=single;var SingleOperator=function(){function SingleOperator(predicate,source){this.predicate=predicate;this.source=source}SingleOperator.prototype.call=function(subscriber,source){return source.subscribe(new SingleSubscriber(subscriber,this.predicate,this.source))};return SingleOperator}();var SingleSubscriber=function(_super){__extends(SingleSubscriber,_super);function SingleSubscriber(destination,predicate,source){var _this=_super.call(this,destination)||this;_this.predicate=predicate;_this.source=source;_this.seenValue=false;_this.index=0;return _this}SingleSubscriber.prototype.applySingleValue=function(value){if(this.seenValue)this.destination.error("Sequence contains more than one element");else{this.seenValue=true;this.singleValue=value}};SingleSubscriber.prototype._next=function(value){var index=this.index++;this.predicate?this.tryNext(value,index):this.applySingleValue(value)};SingleSubscriber.prototype.tryNext=function(value,index){try{this.predicate(value,index,this.source)&&this.applySingleValue(value)}catch(err){this.destination.error(err)}};SingleSubscriber.prototype._complete=function(){var destination=this.destination;if(this.index>0){destination.next(this.seenValue?this.singleValue:void 0);destination.complete()}else destination.error(new EmptyError_1.EmptyError)};return SingleSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function skip(count){return function(source){return source.lift(new SkipOperator(count))}}exports.skip=skip;var SkipOperator=function(){function SkipOperator(total){this.total=total}SkipOperator.prototype.call=function(subscriber,source){return source.subscribe(new SkipSubscriber(subscriber,this.total))};return SkipOperator}();var SkipSubscriber=function(_super){__extends(SkipSubscriber,_super);function SkipSubscriber(destination,total){var _this=_super.call(this,destination)||this;_this.total=total;_this.count=0;return _this}SkipSubscriber.prototype._next=function(x){++this.count>this.total&&this.destination.next(x)};return SkipSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var ArgumentOutOfRangeError_1=__webpack_require__(267);function skipLast(count){return function(source){return source.lift(new SkipLastOperator(count))}}exports.skipLast=skipLast;var SkipLastOperator=function(){function SkipLastOperator(_skipCount){this._skipCount=_skipCount;if(this._skipCount<0)throw new ArgumentOutOfRangeError_1.ArgumentOutOfRangeError}SkipLastOperator.prototype.call=function(subscriber,source){return 0===this._skipCount?source.subscribe(new Subscriber_1.Subscriber(subscriber)):source.subscribe(new SkipLastSubscriber(subscriber,this._skipCount))};return SkipLastOperator}();var SkipLastSubscriber=function(_super){__extends(SkipLastSubscriber,_super);function SkipLastSubscriber(destination,_skipCount){var _this=_super.call(this,destination)||this;_this._skipCount=_skipCount;_this._count=0;_this._ring=new Array(_skipCount);return _this}SkipLastSubscriber.prototype._next=function(value){var skipCount=this._skipCount;var count=this._count++;if(count<skipCount)this._ring[count]=value;else{var currentIndex=count%skipCount;var ring=this._ring;var oldValue=ring[currentIndex];ring[currentIndex]=value;this.destination.next(oldValue)}};return SkipLastSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function skipUntil(notifier){return function(source){return source.lift(new SkipUntilOperator(notifier))}}exports.skipUntil=skipUntil;var SkipUntilOperator=function(){function SkipUntilOperator(notifier){this.notifier=notifier}SkipUntilOperator.prototype.call=function(destination,source){return source.subscribe(new SkipUntilSubscriber(destination,this.notifier))};return SkipUntilOperator}();var SkipUntilSubscriber=function(_super){__extends(SkipUntilSubscriber,_super);function SkipUntilSubscriber(destination,notifier){var _this=_super.call(this,destination)||this;_this.hasValue=false;_this.add(_this.innerSubscription=subscribeToResult_1.subscribeToResult(_this,notifier));return _this}SkipUntilSubscriber.prototype._next=function(value){this.hasValue&&_super.prototype._next.call(this,value)};SkipUntilSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.hasValue=true;this.innerSubscription&&this.innerSubscription.unsubscribe()};SkipUntilSubscriber.prototype.notifyComplete=function(){};return SkipUntilSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function skipWhile(predicate){return function(source){return source.lift(new SkipWhileOperator(predicate))}}exports.skipWhile=skipWhile;var SkipWhileOperator=function(){function SkipWhileOperator(predicate){this.predicate=predicate}SkipWhileOperator.prototype.call=function(subscriber,source){return source.subscribe(new SkipWhileSubscriber(subscriber,this.predicate))};return SkipWhileOperator}();var SkipWhileSubscriber=function(_super){__extends(SkipWhileSubscriber,_super);function SkipWhileSubscriber(destination,predicate){var _this=_super.call(this,destination)||this;_this.predicate=predicate;_this.skipping=true;_this.index=0;return _this}SkipWhileSubscriber.prototype._next=function(value){var destination=this.destination;this.skipping&&this.tryCallPredicate(value);this.skipping||destination.next(value)};SkipWhileSubscriber.prototype.tryCallPredicate=function(value){try{var result=this.predicate(value,this.index++);this.skipping=Boolean(result)}catch(err){this.destination.error(err)}};return SkipWhileSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var fromArray_1=__webpack_require__(143);var scalar_1=__webpack_require__(531);var empty_1=__webpack_require__(69);var concat_1=__webpack_require__(356);var isScheduler_1=__webpack_require__(90);function startWith(){var array=[];for(var _i=0;_i<arguments.length;_i++)array[_i]=arguments[_i];return function(source){var scheduler=array[array.length-1];isScheduler_1.isScheduler(scheduler)?array.pop():scheduler=null;var len=array.length;return 1!==len||scheduler?len>0?concat_1.concat(fromArray_1.fromArray(array,scheduler),source):concat_1.concat(empty_1.empty(scheduler),source):concat_1.concat(scalar_1.scalar(array[0]),source)}}exports.startWith=startWith},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var SubscribeOnObservable_1=__webpack_require__(2758);function subscribeOn(scheduler,delay){void 0===delay&&(delay=0);return function subscribeOnOperatorFunction(source){return source.lift(new SubscribeOnOperator(scheduler,delay))}}exports.subscribeOn=subscribeOn;var SubscribeOnOperator=function(){function SubscribeOnOperator(scheduler,delay){this.scheduler=scheduler;this.delay=delay}SubscribeOnOperator.prototype.call=function(subscriber,source){return new SubscribeOnObservable_1.SubscribeOnObservable(source,this.delay,this.scheduler).subscribe(subscriber)};return SubscribeOnOperator}()},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Observable_1=__webpack_require__(24);var asap_1=__webpack_require__(969);var isNumeric_1=__webpack_require__(357);var SubscribeOnObservable=function(_super){__extends(SubscribeOnObservable,_super);function SubscribeOnObservable(source,delayTime,scheduler){void 0===delayTime&&(delayTime=0);void 0===scheduler&&(scheduler=asap_1.asap);var _this=_super.call(this)||this;_this.source=source;_this.delayTime=delayTime;_this.scheduler=scheduler;(!isNumeric_1.isNumeric(delayTime)||delayTime<0)&&(_this.delayTime=0);scheduler&&"function"===typeof scheduler.schedule||(_this.scheduler=asap_1.asap);return _this}SubscribeOnObservable.create=function(source,delay,scheduler){void 0===delay&&(delay=0);void 0===scheduler&&(scheduler=asap_1.asap);return new SubscribeOnObservable(source,delay,scheduler)};SubscribeOnObservable.dispatch=function(arg){var source=arg.source,subscriber=arg.subscriber;return this.add(source.subscribe(subscriber))};SubscribeOnObservable.prototype._subscribe=function(subscriber){var delay=this.delayTime;var source=this.source;var scheduler=this.scheduler;return scheduler.schedule(SubscribeOnObservable.dispatch,delay,{source:source,subscriber:subscriber})};return SubscribeOnObservable}(Observable_1.Observable);exports.SubscribeOnObservable=SubscribeOnObservable},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var switchMap_1=__webpack_require__(540);var identity_1=__webpack_require__(219);function switchAll(){return switchMap_1.switchMap(identity_1.identity)}exports.switchAll=switchAll},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var switchMap_1=__webpack_require__(540);function switchMapTo(innerObservable,resultSelector){return resultSelector?switchMap_1.switchMap(function(){return innerObservable},resultSelector):switchMap_1.switchMap(function(){return innerObservable})}exports.switchMapTo=switchMapTo},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function takeUntil(notifier){return function(source){return source.lift(new TakeUntilOperator(notifier))}}exports.takeUntil=takeUntil;var TakeUntilOperator=function(){function TakeUntilOperator(notifier){this.notifier=notifier}TakeUntilOperator.prototype.call=function(subscriber,source){var takeUntilSubscriber=new TakeUntilSubscriber(subscriber);var notifierSubscription=subscribeToResult_1.subscribeToResult(takeUntilSubscriber,this.notifier);if(notifierSubscription&&!notifierSubscription.closed){takeUntilSubscriber.add(notifierSubscription);return source.subscribe(takeUntilSubscriber)}return takeUntilSubscriber};return TakeUntilOperator}();var TakeUntilSubscriber=function(_super){__extends(TakeUntilSubscriber,_super);function TakeUntilSubscriber(destination){return _super.call(this,destination)||this}TakeUntilSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.complete()};TakeUntilSubscriber.prototype.notifyComplete=function(){};return TakeUntilSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);function takeWhile(predicate){return function(source){return source.lift(new TakeWhileOperator(predicate))}}exports.takeWhile=takeWhile;var TakeWhileOperator=function(){function TakeWhileOperator(predicate){this.predicate=predicate}TakeWhileOperator.prototype.call=function(subscriber,source){return source.subscribe(new TakeWhileSubscriber(subscriber,this.predicate))};return TakeWhileOperator}();var TakeWhileSubscriber=function(_super){__extends(TakeWhileSubscriber,_super);function TakeWhileSubscriber(destination,predicate){var _this=_super.call(this,destination)||this;_this.predicate=predicate;_this.index=0;return _this}TakeWhileSubscriber.prototype._next=function(value){var destination=this.destination;var result;try{result=this.predicate(value,this.index++)}catch(err){destination.error(err);return}this.nextOrComplete(value,result)};TakeWhileSubscriber.prototype.nextOrComplete=function(value,predicateResult){var destination=this.destination;Boolean(predicateResult)?destination.next(value):destination.complete()};return TakeWhileSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var async_1=__webpack_require__(70);var throttle_1=__webpack_require__(988);function throttleTime(duration,scheduler,config){void 0===scheduler&&(scheduler=async_1.async);void 0===config&&(config=throttle_1.defaultThrottleConfig);return function(source){return source.lift(new ThrottleTimeOperator(duration,scheduler,config.leading,config.trailing))}}exports.throttleTime=throttleTime;var ThrottleTimeOperator=function(){function ThrottleTimeOperator(duration,scheduler,leading,trailing){this.duration=duration;this.scheduler=scheduler;this.leading=leading;this.trailing=trailing}ThrottleTimeOperator.prototype.call=function(subscriber,source){return source.subscribe(new ThrottleTimeSubscriber(subscriber,this.duration,this.scheduler,this.leading,this.trailing))};return ThrottleTimeOperator}();var ThrottleTimeSubscriber=function(_super){__extends(ThrottleTimeSubscriber,_super);function ThrottleTimeSubscriber(destination,duration,scheduler,leading,trailing){var _this=_super.call(this,destination)||this;_this.duration=duration;_this.scheduler=scheduler;_this.leading=leading;_this.trailing=trailing;_this._hasTrailingValue=false;_this._trailingValue=null;return _this}ThrottleTimeSubscriber.prototype._next=function(value){if(this.throttled){if(this.trailing){this._trailingValue=value;this._hasTrailingValue=true}}else{this.add(this.throttled=this.scheduler.schedule(dispatchNext,this.duration,{subscriber:this}));this.leading&&this.destination.next(value)}};ThrottleTimeSubscriber.prototype._complete=function(){if(this._hasTrailingValue){this.destination.next(this._trailingValue);this.destination.complete()}else this.destination.complete()};ThrottleTimeSubscriber.prototype.clearThrottle=function(){var throttled=this.throttled;if(throttled){if(this.trailing&&this._hasTrailingValue){this.destination.next(this._trailingValue);this._trailingValue=null;this._hasTrailingValue=false}throttled.unsubscribe();this.remove(throttled);this.throttled=null}};return ThrottleTimeSubscriber}(Subscriber_1.Subscriber);function dispatchNext(arg){var subscriber=arg.subscriber;subscriber.clearThrottle()}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var async_1=__webpack_require__(70);var scan_1=__webpack_require__(539);var defer_1=__webpack_require__(535);var map_1=__webpack_require__(91);function timeInterval(scheduler){void 0===scheduler&&(scheduler=async_1.async);return function(source){return defer_1.defer(function(){return source.pipe(scan_1.scan(function(_a,value){var current=_a.current;return{value:value,current:scheduler.now(),last:current}},{current:scheduler.now(),value:void 0,last:void 0}),map_1.map(function(_a){var current=_a.current,last=_a.last,value=_a.value;return new TimeInterval(value,current-last)}))})}}exports.timeInterval=timeInterval;var TimeInterval=function(){function TimeInterval(value,interval){this.value=value;this.interval=interval}return TimeInterval}();exports.TimeInterval=TimeInterval},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var async_1=__webpack_require__(70);var TimeoutError_1=__webpack_require__(970);var timeoutWith_1=__webpack_require__(989);var throwError_1=__webpack_require__(532);function timeout(due,scheduler){void 0===scheduler&&(scheduler=async_1.async);return timeoutWith_1.timeoutWith(due,throwError_1.throwError(new TimeoutError_1.TimeoutError),scheduler)}exports.timeout=timeout},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var async_1=__webpack_require__(70);var map_1=__webpack_require__(91);function timestamp(scheduler){void 0===scheduler&&(scheduler=async_1.async);return map_1.map(function(value){return new Timestamp(value,scheduler.now())})}exports.timestamp=timestamp;var Timestamp=function(){function Timestamp(value,timestamp){this.value=value;this.timestamp=timestamp}return Timestamp}();exports.Timestamp=Timestamp},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var reduce_1=__webpack_require__(359);function toArrayReducer(arr,item,index){if(0===index)return[item];arr.push(item);return arr}function toArray(){return reduce_1.reduce(toArrayReducer,[])}exports.toArray=toArray},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subject_1=__webpack_require__(63);var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function window(windowBoundaries){return function windowOperatorFunction(source){return source.lift(new WindowOperator(windowBoundaries))}}exports.window=window;var WindowOperator=function(){function WindowOperator(windowBoundaries){this.windowBoundaries=windowBoundaries}WindowOperator.prototype.call=function(subscriber,source){var windowSubscriber=new WindowSubscriber(subscriber);var sourceSubscription=source.subscribe(windowSubscriber);sourceSubscription.closed||windowSubscriber.add(subscribeToResult_1.subscribeToResult(windowSubscriber,this.windowBoundaries));return sourceSubscription};return WindowOperator}();var WindowSubscriber=function(_super){__extends(WindowSubscriber,_super);function WindowSubscriber(destination){var _this=_super.call(this,destination)||this;_this.window=new Subject_1.Subject;destination.next(_this.window);return _this}WindowSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.openWindow()};WindowSubscriber.prototype.notifyError=function(error,innerSub){this._error(error)};WindowSubscriber.prototype.notifyComplete=function(innerSub){this._complete()};WindowSubscriber.prototype._next=function(value){this.window.next(value)};WindowSubscriber.prototype._error=function(err){this.window.error(err);this.destination.error(err)};WindowSubscriber.prototype._complete=function(){this.window.complete();this.destination.complete()};WindowSubscriber.prototype._unsubscribe=function(){this.window=null};WindowSubscriber.prototype.openWindow=function(){var prevWindow=this.window;prevWindow&&prevWindow.complete();var destination=this.destination;var newWindow=this.window=new Subject_1.Subject;destination.next(newWindow)};return WindowSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subscriber_1=__webpack_require__(16);var Subject_1=__webpack_require__(63);function windowCount(windowSize,startWindowEvery){void 0===startWindowEvery&&(startWindowEvery=0);return function windowCountOperatorFunction(source){return source.lift(new WindowCountOperator(windowSize,startWindowEvery))}}exports.windowCount=windowCount;var WindowCountOperator=function(){function WindowCountOperator(windowSize,startWindowEvery){this.windowSize=windowSize;this.startWindowEvery=startWindowEvery}WindowCountOperator.prototype.call=function(subscriber,source){return source.subscribe(new WindowCountSubscriber(subscriber,this.windowSize,this.startWindowEvery))};return WindowCountOperator}();var WindowCountSubscriber=function(_super){__extends(WindowCountSubscriber,_super);function WindowCountSubscriber(destination,windowSize,startWindowEvery){var _this=_super.call(this,destination)||this;_this.destination=destination;_this.windowSize=windowSize;_this.startWindowEvery=startWindowEvery;_this.windows=[new Subject_1.Subject];_this.count=0;destination.next(_this.windows[0]);return _this}WindowCountSubscriber.prototype._next=function(value){var startWindowEvery=this.startWindowEvery>0?this.startWindowEvery:this.windowSize;var destination=this.destination;var windowSize=this.windowSize;var windows=this.windows;var len=windows.length;for(var i=0;i<len&&!this.closed;i++)windows[i].next(value);var c=this.count-windowSize+1;c>=0&&c%startWindowEvery===0&&!this.closed&&windows.shift().complete();if(++this.count%startWindowEvery===0&&!this.closed){var window_1=new Subject_1.Subject;windows.push(window_1);destination.next(window_1)}};WindowCountSubscriber.prototype._error=function(err){var windows=this.windows;if(windows)while(windows.length>0&&!this.closed)windows.shift().error(err);this.destination.error(err)};WindowCountSubscriber.prototype._complete=function(){var windows=this.windows;if(windows)while(windows.length>0&&!this.closed)windows.shift().complete();this.destination.complete()};WindowCountSubscriber.prototype._unsubscribe=function(){this.count=0;this.windows=null};return WindowCountSubscriber}(Subscriber_1.Subscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subject_1=__webpack_require__(63);var async_1=__webpack_require__(70);var Subscriber_1=__webpack_require__(16);var isNumeric_1=__webpack_require__(357);var isScheduler_1=__webpack_require__(90);function windowTime(windowTimeSpan){var scheduler=async_1.async;var windowCreationInterval=null;var maxWindowSize=Number.POSITIVE_INFINITY;isScheduler_1.isScheduler(arguments[3])&&(scheduler=arguments[3]);isScheduler_1.isScheduler(arguments[2])?scheduler=arguments[2]:isNumeric_1.isNumeric(arguments[2])&&(maxWindowSize=arguments[2]);isScheduler_1.isScheduler(arguments[1])?scheduler=arguments[1]:isNumeric_1.isNumeric(arguments[1])&&(windowCreationInterval=arguments[1]);return function windowTimeOperatorFunction(source){return source.lift(new WindowTimeOperator(windowTimeSpan,windowCreationInterval,maxWindowSize,scheduler))}}exports.windowTime=windowTime;var WindowTimeOperator=function(){function WindowTimeOperator(windowTimeSpan,windowCreationInterval,maxWindowSize,scheduler){this.windowTimeSpan=windowTimeSpan;this.windowCreationInterval=windowCreationInterval;this.maxWindowSize=maxWindowSize;this.scheduler=scheduler}WindowTimeOperator.prototype.call=function(subscriber,source){return source.subscribe(new WindowTimeSubscriber(subscriber,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))};return WindowTimeOperator}();var CountedSubject=function(_super){__extends(CountedSubject,_super);function CountedSubject(){var _this=null!==_super&&_super.apply(this,arguments)||this;_this._numberOfNextedValues=0;return _this}CountedSubject.prototype.next=function(value){this._numberOfNextedValues++;_super.prototype.next.call(this,value)};Object.defineProperty(CountedSubject.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:true,configurable:true});return CountedSubject}(Subject_1.Subject);var WindowTimeSubscriber=function(_super){__extends(WindowTimeSubscriber,_super);function WindowTimeSubscriber(destination,windowTimeSpan,windowCreationInterval,maxWindowSize,scheduler){var _this=_super.call(this,destination)||this;_this.destination=destination;_this.windowTimeSpan=windowTimeSpan;_this.windowCreationInterval=windowCreationInterval;_this.maxWindowSize=maxWindowSize;_this.scheduler=scheduler;_this.windows=[];var window=_this.openWindow();if(null!==windowCreationInterval&&windowCreationInterval>=0){var closeState={subscriber:_this,window:window,context:null};var creationState={windowTimeSpan:windowTimeSpan,windowCreationInterval:windowCreationInterval,subscriber:_this,scheduler:scheduler};_this.add(scheduler.schedule(dispatchWindowClose,windowTimeSpan,closeState));_this.add(scheduler.schedule(dispatchWindowCreation,windowCreationInterval,creationState))}else{var timeSpanOnlyState={subscriber:_this,window:window,windowTimeSpan:windowTimeSpan};_this.add(scheduler.schedule(dispatchWindowTimeSpanOnly,windowTimeSpan,timeSpanOnlyState))}return _this}WindowTimeSubscriber.prototype._next=function(value){var windows=this.windows;var len=windows.length;for(var i=0;i<len;i++){var window_1=windows[i];if(!window_1.closed){window_1.next(value);window_1.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(window_1)}}};WindowTimeSubscriber.prototype._error=function(err){var windows=this.windows;while(windows.length>0)windows.shift().error(err);this.destination.error(err)};WindowTimeSubscriber.prototype._complete=function(){var windows=this.windows;while(windows.length>0){var window_2=windows.shift();window_2.closed||window_2.complete()}this.destination.complete()};WindowTimeSubscriber.prototype.openWindow=function(){var window=new CountedSubject;this.windows.push(window);var destination=this.destination;destination.next(window);return window};WindowTimeSubscriber.prototype.closeWindow=function(window){window.complete();var windows=this.windows;windows.splice(windows.indexOf(window),1)};return WindowTimeSubscriber}(Subscriber_1.Subscriber);function dispatchWindowTimeSpanOnly(state){var subscriber=state.subscriber,windowTimeSpan=state.windowTimeSpan,window=state.window;window&&subscriber.closeWindow(window);state.window=subscriber.openWindow();this.schedule(state,windowTimeSpan)}function dispatchWindowCreation(state){var windowTimeSpan=state.windowTimeSpan,subscriber=state.subscriber,scheduler=state.scheduler,windowCreationInterval=state.windowCreationInterval;var window=subscriber.openWindow();var action=this;var context={action:action,subscription:null};var timeSpanState={subscriber:subscriber,window:window,context:context};context.subscription=scheduler.schedule(dispatchWindowClose,windowTimeSpan,timeSpanState);action.add(context.subscription);action.schedule(state,windowCreationInterval)}function dispatchWindowClose(state){var subscriber=state.subscriber,window=state.window,context=state.context;context&&context.action&&context.subscription&&context.action.remove(context.subscription);subscriber.closeWindow(window)}},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subject_1=__webpack_require__(63);var Subscription_1=__webpack_require__(52);var tryCatch_1=__webpack_require__(99);var errorObject_1=__webpack_require__(89);var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function windowToggle(openings,closingSelector){return function(source){return source.lift(new WindowToggleOperator(openings,closingSelector))}}exports.windowToggle=windowToggle;var WindowToggleOperator=function(){function WindowToggleOperator(openings,closingSelector){this.openings=openings;this.closingSelector=closingSelector}WindowToggleOperator.prototype.call=function(subscriber,source){return source.subscribe(new WindowToggleSubscriber(subscriber,this.openings,this.closingSelector))};return WindowToggleOperator}();var WindowToggleSubscriber=function(_super){__extends(WindowToggleSubscriber,_super);function WindowToggleSubscriber(destination,openings,closingSelector){var _this=_super.call(this,destination)||this;_this.openings=openings;_this.closingSelector=closingSelector;_this.contexts=[];_this.add(_this.openSubscription=subscribeToResult_1.subscribeToResult(_this,openings,openings));return _this}WindowToggleSubscriber.prototype._next=function(value){var contexts=this.contexts;if(contexts){var len=contexts.length;for(var i=0;i<len;i++)contexts[i].window.next(value)}};WindowToggleSubscriber.prototype._error=function(err){var contexts=this.contexts;this.contexts=null;if(contexts){var len=contexts.length;var index=-1;while(++index<len){var context_1=contexts[index];context_1.window.error(err);context_1.subscription.unsubscribe()}}_super.prototype._error.call(this,err)};WindowToggleSubscriber.prototype._complete=function(){var contexts=this.contexts;this.contexts=null;if(contexts){var len=contexts.length;var index=-1;while(++index<len){var context_2=contexts[index];context_2.window.complete();context_2.subscription.unsubscribe()}}_super.prototype._complete.call(this)};WindowToggleSubscriber.prototype._unsubscribe=function(){var contexts=this.contexts;this.contexts=null;if(contexts){var len=contexts.length;var index=-1;while(++index<len){var context_3=contexts[index];context_3.window.unsubscribe();context_3.subscription.unsubscribe()}}};WindowToggleSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){if(outerValue===this.openings){var closingSelector=this.closingSelector;var closingNotifier=tryCatch_1.tryCatch(closingSelector)(innerValue);if(closingNotifier===errorObject_1.errorObject)return this.error(errorObject_1.errorObject.e);var window_1=new Subject_1.Subject;var subscription=new Subscription_1.Subscription;var context_4={window:window_1,subscription:subscription};this.contexts.push(context_4);var innerSubscription=subscribeToResult_1.subscribeToResult(this,closingNotifier,context_4);if(innerSubscription.closed)this.closeWindow(this.contexts.length-1);else{innerSubscription.context=context_4;subscription.add(innerSubscription)}this.destination.next(window_1)}else this.closeWindow(this.contexts.indexOf(outerValue))};WindowToggleSubscriber.prototype.notifyError=function(err){this.error(err)};WindowToggleSubscriber.prototype.notifyComplete=function(inner){inner!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(inner.context))};WindowToggleSubscriber.prototype.closeWindow=function(index){if(-1===index)return;var contexts=this.contexts;var context=contexts[index];var window=context.window,subscription=context.subscription;contexts.splice(index,1);window.complete();subscription.unsubscribe()};return WindowToggleSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var Subject_1=__webpack_require__(63);var tryCatch_1=__webpack_require__(99);var errorObject_1=__webpack_require__(89);var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function windowWhen(closingSelector){return function windowWhenOperatorFunction(source){return source.lift(new WindowOperator(closingSelector))}}exports.windowWhen=windowWhen;var WindowOperator=function(){function WindowOperator(closingSelector){this.closingSelector=closingSelector}WindowOperator.prototype.call=function(subscriber,source){return source.subscribe(new WindowSubscriber(subscriber,this.closingSelector))};return WindowOperator}();var WindowSubscriber=function(_super){__extends(WindowSubscriber,_super);function WindowSubscriber(destination,closingSelector){var _this=_super.call(this,destination)||this;_this.destination=destination;_this.closingSelector=closingSelector;_this.openWindow();return _this}WindowSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.openWindow(innerSub)};WindowSubscriber.prototype.notifyError=function(error,innerSub){this._error(error)};WindowSubscriber.prototype.notifyComplete=function(innerSub){this.openWindow(innerSub)};WindowSubscriber.prototype._next=function(value){this.window.next(value)};WindowSubscriber.prototype._error=function(err){this.window.error(err);this.destination.error(err);this.unsubscribeClosingNotification()};WindowSubscriber.prototype._complete=function(){this.window.complete();this.destination.complete();this.unsubscribeClosingNotification()};WindowSubscriber.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()};WindowSubscriber.prototype.openWindow=function(innerSub){void 0===innerSub&&(innerSub=null);if(innerSub){this.remove(innerSub);innerSub.unsubscribe()}var prevWindow=this.window;prevWindow&&prevWindow.complete();var window=this.window=new Subject_1.Subject;this.destination.next(window);var closingNotifier=tryCatch_1.tryCatch(this.closingSelector)();if(closingNotifier===errorObject_1.errorObject){var err=errorObject_1.errorObject.e;this.destination.error(err);this.window.error(err)}else this.add(this.closingNotification=subscribeToResult_1.subscribeToResult(this,closingNotifier))};return WindowSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});var extendStatics;Object.defineProperty(exports,"__esModule",{value:true});var OuterSubscriber_1=__webpack_require__(26);var subscribeToResult_1=__webpack_require__(27);function withLatestFrom(){var args=[];for(var _i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return function(source){var project;"function"===typeof args[args.length-1]&&(project=args.pop());var observables=args;return source.lift(new WithLatestFromOperator(observables,project))}}exports.withLatestFrom=withLatestFrom;var WithLatestFromOperator=function(){function WithLatestFromOperator(observables,project){this.observables=observables;this.project=project}WithLatestFromOperator.prototype.call=function(subscriber,source){return source.subscribe(new WithLatestFromSubscriber(subscriber,this.observables,this.project))};return WithLatestFromOperator}();var WithLatestFromSubscriber=function(_super){__extends(WithLatestFromSubscriber,_super);function WithLatestFromSubscriber(destination,observables,project){var _this=_super.call(this,destination)||this;_this.observables=observables;_this.project=project;_this.toRespond=[];var len=observables.length;_this.values=new Array(len);for(var i=0;i<len;i++)_this.toRespond.push(i);for(i=0;i<len;i++){var observable=observables[i];_this.add(subscribeToResult_1.subscribeToResult(_this,observable,observable,i))}return _this}WithLatestFromSubscriber.prototype.notifyNext=function(outerValue,innerValue,outerIndex,innerIndex,innerSub){this.values[outerIndex]=innerValue;var toRespond=this.toRespond;if(toRespond.length>0){var found=toRespond.indexOf(outerIndex);-1!==found&&toRespond.splice(found,1)}};WithLatestFromSubscriber.prototype.notifyComplete=function(){};WithLatestFromSubscriber.prototype._next=function(value){if(0===this.toRespond.length){var args=[value].concat(this.values);this.project?this._tryProject(args):this.destination.next(args)}};WithLatestFromSubscriber.prototype._tryProject=function(args){var result;try{result=this.project.apply(this,args)}catch(err){this.destination.error(err);return}this.destination.next(result)};return WithLatestFromSubscriber}(OuterSubscriber_1.OuterSubscriber)},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var zip_1=__webpack_require__(536);function zip(){var observables=[];for(var _i=0;_i<arguments.length;_i++)observables[_i]=arguments[_i];return function zipOperatorFunction(source){return source.lift.call(zip_1.zip.apply(void 0,[source].concat(observables)))}}exports.zip=zip},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var zip_1=__webpack_require__(536);function zipAll(project){return function(source){return source.lift(new zip_1.ZipOperator(project))}}exports.zipAll=zipAll},function(module,exports,__webpack_require__){0,factory=function(exports){"use strict";var identity=function(x){return x};var transform=function(transform){if(null==transform)return identity;var x0,y0,kx=transform.scale[0],ky=transform.scale[1],dx=transform.translate[0],dy=transform.translate[1];return function(input,i){i||(x0=y0=0);var j=2,n=input.length,output=new Array(n);output[0]=(x0+=input[0])*kx+dx;output[1]=(y0+=input[1])*ky+dy;while(j<n)output[j]=input[j],++j;return output}};var bbox=function(topology){var key,t=transform(topology.transform),x0=Infinity,y0=x0,x1=-x0,y1=-x0;function bboxPoint(p){p=t(p);p[0]<x0&&(x0=p[0]);p[0]>x1&&(x1=p[0]);p[1]<y0&&(y0=p[1]);p[1]>y1&&(y1=p[1])}function bboxGeometry(o){switch(o.type){case"GeometryCollection":o.geometries.forEach(bboxGeometry);break;case"Point":bboxPoint(o.coordinates);break;case"MultiPoint":o.coordinates.forEach(bboxPoint)}}topology.arcs.forEach(function(arc){var p,i=-1,n=arc.length;while(++i<n){p=t(arc[i],i);p[0]<x0&&(x0=p[0]);p[0]>x1&&(x1=p[0]);p[1]<y0&&(y0=p[1]);p[1]>y1&&(y1=p[1])}});for(key in topology.objects)bboxGeometry(topology.objects[key]);return[x0,y0,x1,y1]};var reverse=function(array,n){var t,j=array.length,i=j-n;while(i<--j)t=array[i],array[i++]=array[j],array[j]=t};var feature=function(topology,o){return"GeometryCollection"===o.type?{type:"FeatureCollection",features:o.geometries.map(function(o){return feature$1(topology,o)})}:feature$1(topology,o)};function feature$1(topology,o){var id=o.id,bbox=o.bbox,properties=null==o.properties?{}:o.properties,geometry=object(topology,o);return null==id&&null==bbox?{type:"Feature",properties:properties,geometry:geometry}:null==bbox?{type:"Feature",id:id,properties:properties,geometry:geometry}:{type:"Feature",id:id,bbox:bbox,properties:properties,geometry:geometry}}function object(topology,o){var transformPoint=transform(topology.transform),arcs=topology.arcs;function arc(i,points){points.length&&points.pop();for(var a=arcs[i<0?~i:i],k=0,n=a.length;k<n;++k)points.push(transformPoint(a[k],k));i<0&&reverse(points,n)}function point(p){return transformPoint(p)}function line(arcs){var points=[];for(var i=0,n=arcs.length;i<n;++i)arc(arcs[i],points);points.length<2&&points.push(points[0]);return points}function ring(arcs){var points=line(arcs);while(points.length<4)points.push(points[0]);return points}function polygon(arcs){return arcs.map(ring)}function geometry(o){var coordinates,type=o.type;switch(type){case"GeometryCollection":return{type:type,geometries:o.geometries.map(geometry)};case"Point":coordinates=point(o.coordinates);break;case"MultiPoint":coordinates=o.coordinates.map(point);break;case"LineString":coordinates=line(o.arcs);break;case"MultiLineString":coordinates=o.arcs.map(line);break;case"Polygon":coordinates=polygon(o.arcs);break;case"MultiPolygon":coordinates=o.arcs.map(polygon);break;default:return null}return{type:type,coordinates:coordinates}}return geometry(o)}var stitch=function(topology,arcs){var stitchedArcs={},fragmentByStart={},fragmentByEnd={},fragments=[],emptyIndex=-1;arcs.forEach(function(i,j){var t,arc=topology.arcs[i<0?~i:i];arc.length<3&&!arc[1][0]&&!arc[1][1]&&(t=arcs[++emptyIndex],arcs[emptyIndex]=i,arcs[j]=t)});arcs.forEach(function(i){var f,g,e=ends(i),start=e[0],end=e[1];if(f=fragmentByEnd[start]){delete fragmentByEnd[f.end];f.push(i);f.end=end;if(g=fragmentByStart[end]){delete fragmentByStart[g.start];var fg=g===f?f:f.concat(g);fragmentByStart[fg.start=f.start]=fragmentByEnd[fg.end=g.end]=fg}else fragmentByStart[f.start]=fragmentByEnd[f.end]=f}else if(f=fragmentByStart[end]){delete fragmentByStart[f.start];f.unshift(i);f.start=start;if(g=fragmentByEnd[start]){delete fragmentByEnd[g.end];var gf=g===f?f:g.concat(f);fragmentByStart[gf.start=g.start]=fragmentByEnd[gf.end=f.end]=gf}else fragmentByStart[f.start]=fragmentByEnd[f.end]=f}else{f=[i];fragmentByStart[f.start=start]=fragmentByEnd[f.end=end]=f}});function ends(i){var p1,arc=topology.arcs[i<0?~i:i],p0=arc[0];topology.transform?(p1=[0,0],arc.forEach(function(dp){p1[0]+=dp[0],p1[1]+=dp[1]})):p1=arc[arc.length-1];return i<0?[p1,p0]:[p0,p1]}function flush(fragmentByEnd,fragmentByStart){for(var k in fragmentByEnd){var f=fragmentByEnd[k];delete fragmentByStart[f.start];delete f.start;delete f.end;f.forEach(function(i){stitchedArcs[i<0?~i:i]=1});fragments.push(f)}}flush(fragmentByEnd,fragmentByStart);flush(fragmentByStart,fragmentByEnd);arcs.forEach(function(i){stitchedArcs[i<0?~i:i]||fragments.push([i])});return fragments};var mesh=function(topology){return object(topology,meshArcs.apply(this,arguments))};function meshArcs(topology,object$$1,filter){var arcs,i,n;if(arguments.length>1)arcs=extractArcs(topology,object$$1,filter);else for(i=0,arcs=new Array(n=topology.arcs.length);i<n;++i)arcs[i]=i;return{type:"MultiLineString",arcs:stitch(topology,arcs)}}function extractArcs(topology,object$$1,filter){var geom,arcs=[],geomsByArc=[];function extract0(i){var j=i<0?~i:i;(geomsByArc[j]||(geomsByArc[j]=[])).push({i:i,g:geom})}function extract1(arcs){arcs.forEach(extract0)}function extract2(arcs){arcs.forEach(extract1)}function extract3(arcs){arcs.forEach(extract2)}function geometry(o){switch(geom=o,o.type){case"GeometryCollection":o.geometries.forEach(geometry);break;case"LineString":extract1(o.arcs);break;case"MultiLineString":case"Polygon":extract2(o.arcs);break;case"MultiPolygon":extract3(o.arcs)}}geometry(object$$1);geomsByArc.forEach(null==filter?function(geoms){arcs.push(geoms[0].i)}:function(geoms){filter(geoms[0].g,geoms[geoms.length-1].g)&&arcs.push(geoms[0].i)});return arcs}function planarRingArea(ring){var a,i=-1,n=ring.length,b=ring[n-1],area=0;while(++i<n)a=b,b=ring[i],area+=a[0]*b[1]-a[1]*b[0];return Math.abs(area)}var merge=function(topology){return object(topology,mergeArcs.apply(this,arguments))};function mergeArcs(topology,objects){var polygonsByArc={},polygons=[],groups=[];objects.forEach(geometry);function geometry(o){switch(o.type){case"GeometryCollection":o.geometries.forEach(geometry);break;case"Polygon":extract(o.arcs);break;case"MultiPolygon":o.arcs.forEach(extract)}}function extract(polygon){polygon.forEach(function(ring){ring.forEach(function(arc){(polygonsByArc[arc=arc<0?~arc:arc]||(polygonsByArc[arc]=[])).push(polygon)})});polygons.push(polygon)}function area(ring){return planarRingArea(object(topology,{type:"Polygon",arcs:[ring]}).coordinates[0])}polygons.forEach(function(polygon){if(!polygon._){var group=[],neighbors=[polygon];polygon._=1;groups.push(group);while(polygon=neighbors.pop()){group.push(polygon);polygon.forEach(function(ring){ring.forEach(function(arc){polygonsByArc[arc<0?~arc:arc].forEach(function(polygon){if(!polygon._){polygon._=1;neighbors.push(polygon)}})})})}}});polygons.forEach(function(polygon){delete polygon._});return{type:"MultiPolygon",arcs:groups.map(function(polygons){var n,arcs=[];polygons.forEach(function(polygon){polygon.forEach(function(ring){ring.forEach(function(arc){polygonsByArc[arc<0?~arc:arc].length<2&&arcs.push(arc)})})});arcs=stitch(topology,arcs);if((n=arcs.length)>1)for(var ki,t,i=1,k=area(arcs[0]);i<n;++i)(ki=area(arcs[i]))>k&&(t=arcs[0],arcs[0]=arcs[i],arcs[i]=t,k=ki);return arcs})}}var bisect=function(a,x){var lo=0,hi=a.length;while(lo<hi){var mid=lo+hi>>>1;a[mid]<x?lo=mid+1:hi=mid}return lo};var neighbors=function(objects){var indexesByArc={},neighbors=objects.map(function(){return[]});function line(arcs,i){arcs.forEach(function(a){a<0&&(a=~a);var o=indexesByArc[a];o?o.push(i):indexesByArc[a]=[i]})}function polygon(arcs,i){arcs.forEach(function(arc){line(arc,i)})}function geometry(o,i){"GeometryCollection"===o.type?o.geometries.forEach(function(o){geometry(o,i)}):o.type in geometryType&&geometryType[o.type](o.arcs,i)}var geometryType={LineString:line,MultiLineString:polygon,Polygon:polygon,MultiPolygon:function(arcs,i){arcs.forEach(function(arc){polygon(arc,i)})}};objects.forEach(geometry);for(var i in indexesByArc)for(var indexes=indexesByArc[i],m=indexes.length,j=0;j<m;++j)for(var k=j+1;k<m;++k){var n,ij=indexes[j],ik=indexes[k];(n=neighbors[ij])[i=bisect(n,ik)]!==ik&&n.splice(i,0,ik);(n=neighbors[ik])[i=bisect(n,ij)]!==ij&&n.splice(i,0,ij)}return neighbors};var untransform=function(transform){if(null==transform)return identity;var x0,y0,kx=transform.scale[0],ky=transform.scale[1],dx=transform.translate[0],dy=transform.translate[1];return function(input,i){i||(x0=y0=0);var j=2,n=input.length,output=new Array(n),x1=Math.round((input[0]-dx)/kx),y1=Math.round((input[1]-dy)/ky);output[0]=x1-x0,x0=x1;output[1]=y1-y0,y0=y1;while(j<n)output[j]=input[j],++j;return output}};var quantize=function(topology,transform){if(topology.transform)throw new Error("already quantized");if(transform&&transform.scale)box=topology.bbox;else{if(!((n=Math.floor(transform))>=2))throw new Error("n must be ≥2");box=topology.bbox||bbox(topology);var n,x0=box[0],y0=box[1],x1=box[2],y1=box[3];transform={scale:[x1-x0?(x1-x0)/(n-1):1,y1-y0?(y1-y0)/(n-1):1],translate:[x0,y0]}}var box,key,t=untransform(transform),inputs=topology.objects,outputs={};function quantizePoint(point){return t(point)}function quantizeGeometry(input){var output;switch(input.type){case"GeometryCollection":output={type:"GeometryCollection",geometries:input.geometries.map(quantizeGeometry)};break;case"Point":output={type:"Point",coordinates:quantizePoint(input.coordinates)};break;case"MultiPoint":output={type:"MultiPoint",coordinates:input.coordinates.map(quantizePoint)};break;default:return input}null!=input.id&&(output.id=input.id);null!=input.bbox&&(output.bbox=input.bbox);null!=input.properties&&(output.properties=input.properties);return output}function quantizeArc(input){var p,i=0,j=1,n=input.length,output=new Array(n);output[0]=t(input[0],0);while(++i<n)((p=t(input[i],i))[0]||p[1])&&(output[j++]=p);1===j&&(output[j++]=[0,0]);output.length=j;return output}for(key in inputs)outputs[key]=quantizeGeometry(inputs[key]);return{type:"Topology",bbox:box,transform:transform,objects:outputs,arcs:topology.arcs.map(quantizeArc)}};exports.bbox=bbox;exports.feature=feature;exports.mesh=mesh;exports.meshArcs=meshArcs;exports.merge=merge;exports.mergeArcs=mergeArcs;exports.neighbors=neighbors;exports.quantize=quantize;exports.transform=transform;exports.untransform=untransform;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports);var factory},function(module,exports,__webpack_require__){"use strict";var insane=__webpack_require__(2778);var assign=__webpack_require__(2784);var truncText=__webpack_require__(2785);var delimiter="…";function intoHashMap(map,tag){map[tag]=true;return map}function truncHtml(input,limit,options){var o=options||{};var remainder=Number(limit);var ignoreTags=(o.ignoreTags||[]).reduce(intoHashMap,Object.create(null));var plain="";var insaneDefaults={filter:filter,transformText:transformText};var html=insane(input,assign(o.sanitizer||{},insaneDefaults));return{html:html,text:plain};function filter(token){if(token.tag in ignoreTags)return false;return remainder>0}function transformText(text){if(remainder<=0)return"";var truncated=truncText(text,remainder);truncated[truncated.length-1]===delimiter?remainder=0:remainder-=truncated.length;plain+=truncated;return truncated}}module.exports=truncHtml},function(module,exports,__webpack_require__){"use strict";__webpack_require__(541);var assign=__webpack_require__(2779);var parser=__webpack_require__(2780);var sanitizer=__webpack_require__(2782);var defaults=__webpack_require__(2783);function insane(html,options,strict){var buffer=[];var configuration=true===strict?options:assign({},defaults,options);var handler=sanitizer(buffer,configuration);parser(html,handler);return buffer.join("")}insane.defaults=defaults;module.exports=insane},function(module,exports,__webpack_require__){"use strict";function assignment(result){var stack=Array.prototype.slice.call(arguments,1);var item;var key;while(stack.length){item=stack.shift();for(key in item)item.hasOwnProperty(key)&&("object"===typeof result[key]&&result[key]&&"[object Array]"!==Object.prototype.toString.call(result[key])&&"object"===typeof item[key]&&null!==item[key]?result[key]=assignment({},result[key],item[key]):result[key]=item[key])}return result}module.exports=assignment},function(module,exports,__webpack_require__){"use strict";var he=__webpack_require__(541);var lowercase=__webpack_require__(990);__webpack_require__(991);var elements=__webpack_require__(2781);var rstart=/^<\s*([\w:-]+)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*>/;var rend=/^<\s*\/\s*([\w:-]+)[^>]*>/;var rattrs=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g;var rtag=/^</;var rtagend=/^<\s*\//;function createStack(){var stack=[];stack.lastItem=function lastItem(){return stack[stack.length-1]};return stack}function parser(html,handler){var stack=createStack();var last=html;var chars;while(html)parsePart();parseEndTag();function parsePart(){chars=true;parseTag();var same=html===last;last=html;same&&(html="")}function parseTag(){"\x3c!--"===html.substr(0,4)?parseComment():rtagend.test(html)?parseEdge(rend,parseEndTag):rtag.test(html)&&parseEdge(rstart,parseStartTag);parseTagDecode()}function parseEdge(regex,parser){var match=html.match(regex);if(match){html=html.substring(match[0].length);match[0].replace(regex,parser);chars=false}}function parseComment(){var index=html.indexOf("--\x3e");if(index>=0){handler.comment&&handler.comment(html.substring(4,index));html=html.substring(index+3);chars=false}}function parseTagDecode(){if(!chars)return;var text;var index=html.indexOf("<");if(index>=0){text=html.substring(0,index);html=html.substring(index)}else{text=html;html=""}handler.chars&&handler.chars(text)}function parseStartTag(tag,tagName,rest,unary){var attrs={};var low=lowercase(tagName);var u=elements.voids[low]||!!unary;rest.replace(rattrs,attrReplacer);u||stack.push(low);handler.start&&handler.start(low,attrs,u);function attrReplacer(match,name,doubleQuotedValue,singleQuotedValue,unquotedValue){attrs[name]=void 0===doubleQuotedValue&&void 0===singleQuotedValue&&void 0===unquotedValue?void 0:he.decode(doubleQuotedValue||singleQuotedValue||unquotedValue||"")}}function parseEndTag(tag,tagName){var i;var pos=0;var low=lowercase(tagName);if(low)for(pos=stack.length-1;pos>=0;pos--)if(stack[pos]===low)break;if(pos>=0){for(i=stack.length-1;i>=pos;i--)handler.end&&handler.end(stack[i]);stack.length=pos}}}module.exports=parser},function(module,exports,__webpack_require__){"use strict";var toMap=__webpack_require__(992);var voids=["area","br","col","hr","img","wbr","input","base","basefont","link","meta"];module.exports={voids:toMap(voids)}},function(module,exports,__webpack_require__){"use strict";var he=__webpack_require__(541);var lowercase=__webpack_require__(990);var attributes=__webpack_require__(991);function sanitizer(buffer,options){var context;var o=options||{};reset();return{start:start,end:end,chars:chars};function out(value){buffer.push(value)}function start(tag,attrs,unary){var low=lowercase(tag);if(context.ignoring){ignore(low);return}if(-1===(o.allowedTags||[]).indexOf(low)){ignore(low);return}if(o.filter&&!o.filter({tag:low,attrs:attrs})){ignore(low);return}out("<");out(low);Object.keys(attrs).forEach(parse);out(unary?"/>":">");function parse(key){var value=attrs[key];var classesOk=(o.allowedClasses||{})[low]||[];var attrsOk=(o.allowedAttributes||{})[low]||[];var valid;var lkey=lowercase(key);if("class"===lkey&&-1===attrsOk.indexOf(lkey)){value=value.split(" ").filter(isValidClass).join(" ").trim();valid=value.length}else valid=-1!==attrsOk.indexOf(lkey)&&(true!==attributes.uris[lkey]||testUrl(value));if(valid){out(" ");out(key);if("string"===typeof value){out('="');out(he.encode(value));out('"')}}function isValidClass(className){return classesOk&&-1!==classesOk.indexOf(className)}}}function end(tag){var low=lowercase(tag);var allowed=-1!==(o.allowedTags||[]).indexOf(low);if(allowed)if(false===context.ignoring){out("</");out(low);out(">")}else unignore(low);else unignore(low)}function testUrl(text){var start=text[0];if("#"===start||"/"===start)return true;var colon=text.indexOf(":");if(-1===colon)return true;var questionmark=text.indexOf("?");if(-1!==questionmark&&colon>questionmark)return true;var hash=text.indexOf("#");if(-1!==hash&&colon>hash)return true;return o.allowedSchemes.some(matches);function matches(scheme){return 0===text.indexOf(scheme+":")}}function chars(text){false===context.ignoring&&out(o.transformText?o.transformText(text):text)}function ignore(tag){false===context.ignoring?context={ignoring:tag,depth:1}:context.ignoring===tag&&context.depth++}function unignore(tag){context.ignoring===tag&&--context.depth<=0&&reset()}function reset(){context={ignoring:false,depth:0}}}module.exports=sanitizer},function(module,exports,__webpack_require__){"use strict";var defaults={allowedAttributes:{a:["href","name","target","title","aria-label"],iframe:["allowfullscreen","frameborder","src"],img:["src","alt","title","aria-label"]},allowedClasses:{},allowedSchemes:["http","https","mailto"],allowedTags:["a","abbr","article","b","blockquote","br","caption","code","del","details","div","em","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","li","main","mark","ol","p","pre","section","span","strike","strong","sub","summary","sup","table","tbody","td","th","thead","tr","ul"],filter:null};module.exports=defaults},function(module,exports,__webpack_require__){"use strict";function assignment(result){var stack=Array.prototype.slice.call(arguments,1);var item;var key;while(stack.length){item=stack.shift();for(key in item)item.hasOwnProperty(key)&&("object"===typeof result[key]&&result[key]&&"[object Array]"!==Object.prototype.toString.call(result[key])&&"object"===typeof item[key]&&null!==item[key]?result[key]=assignment(result[key],item[key]):result[key]=item[key])}return result}module.exports=assignment},function(module,exports,__webpack_require__){"use strict";var delimiter="…";function truncText(input,cap){var limit=Number(cap);if(isNaN(limit))return delimiter;if(input.length<=limit)return input;var result=input.substr(0,limit);var i=result.lastIndexOf(" ");if(-1===i)return delimiter;return result.substr(0,i)+" "+delimiter}module.exports=truncText},function(module,exports,__webpack_require__){"use strict";var delimiter="…";function truncText(input,cap){var limit=Number(cap);if(isNaN(limit))return delimiter;if(input.length<=limit)return input;var result=input.substr(0,limit);var i=result.lastIndexOf(" ");if(-1===i)return delimiter;return result.substr(0,i)+" "+delimiter}module.exports=truncText},function(module,exports,__webpack_require__){(function(global){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0

THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.

See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var __extends;var __assign;var __rest;var __decorate;var __param;var __metadata;var __awaiter;var __generator;var __exportStar;var __values;var __read;var __spread;var __await;var __asyncGenerator;var __asyncDelegator;var __asyncValues;var __makeTemplateObject;var __importStar;var __importDefault;(function(factory){var root="object"===typeof global?global:"object"===typeof self?self:"object"===typeof this?this:{};true;!(__WEBPACK_AMD_DEFINE_ARRAY__=[exports],__WEBPACK_AMD_DEFINE_RESULT__=function(exports){factory(createExporter(root,createExporter(exports)))}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__));function createExporter(exports,previous){exports!==root&&("function"===typeof Object.create?Object.defineProperty(exports,"__esModule",{value:true}):exports.__esModule=true);return function(id,v){return exports[id]=previous?previous(id,v):v}}})(function(exporter){var extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])};__extends=function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)};__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t};__rest=function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&(t[p[i]]=s[p[i]])}return t};__decorate=function(decorators,target,key,desc){var d,c=arguments.length,r=c<3?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r};__param=function(paramIndex,decorator){return function(target,key){decorator(target,key,paramIndex)}};__metadata=function(metadataKey,metadataValue){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(metadataKey,metadataValue)};__awaiter=function(thisArg,_arguments,P,generator){return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator["throw"](value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):new P(function(resolve){resolve(result.value)}).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})};__generator=function(thisArg,body){var f,y,t,g,_={label:0,sent:function(){if(1&t[0])throw t[1];return t[1]},trys:[],ops:[]};return g={next:verb(0),throw:verb(1),return:verb(2)},"function"===typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");while(_)try{if(f=1,y&&(t=2&op[0]?y["return"]:op[0]?y["throw"]||((t=y["return"])&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;(y=0,t)&&(op=[2&op[0],t.value]);switch(op[0]){case 0:case 1:t=op;break;case 4:_.label++;return{value:op[1],done:false};case 5:_.label++;y=op[1];op=[0];continue;case 7:op=_.ops.pop();_.trys.pop();continue;default:if(!(t=_.trys,t=t.length>0&&t[t.length-1])&&(6===op[0]||2===op[0])){_=0;continue}if(3===op[0]&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(6===op[0]&&_.label<t[1]){_.label=t[1];t=op;break}if(t&&_.label<t[2]){_.label=t[2];_.ops.push(op);break}t[2]&&_.ops.pop();_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e];y=0}finally{f=t=0}if(5&op[0])throw op[1];return{value:op[0]?op[1]:void 0,done:true}}};__exportStar=function(m,exports){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])};__values=function(o){var m="function"===typeof Symbol&&o[Symbol.iterator],i=0;if(m)return m.call(o);return{next:function(){o&&i>=o.length&&(o=void 0);return{value:o&&o[i++],done:!o}}}};__read=function(o,n){var m="function"===typeof Symbol&&o[Symbol.iterator];if(!m)return o;var r,e,i=m.call(o),ar=[];try{while((void 0===n||n-- >0)&&!(r=i.next()).done)ar.push(r.value)}catch(error){e={error:error}}finally{try{r&&!r.done&&(m=i["return"])&&m.call(i)}finally{if(e)throw e.error}}return ar};__spread=function(){for(var ar=[],i=0;i<arguments.length;i++)ar=ar.concat(__read(arguments[i]));return ar};__await=function(v){return this instanceof __await?(this.v=v,this):new __await(v)};__asyncGenerator=function(thisArg,_arguments,generator){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,g=generator.apply(thisArg,_arguments||[]),q=[];return i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i;function verb(n){g[n]&&(i[n]=function(v){return new Promise(function(a,b){q.push([n,v,a,b])>1||resume(n,v)})})}function resume(n,v){try{step(g[n](v))}catch(e){settle(q[0][3],e)}}function step(r){r.value instanceof __await?Promise.resolve(r.value.v).then(fulfill,reject):settle(q[0][2],r)}function fulfill(value){resume("next",value)}function reject(value){resume("throw",value)}function settle(f,v){(f(v),q.shift(),q.length)&&resume(q[0][0],q[0][1])}};__asyncDelegator=function(o){var i,p;return i={},verb("next"),verb("throw",function(e){throw e}),verb("return"),i[Symbol.iterator]=function(){return this},i;function verb(n,f){i[n]=o[n]?function(v){return(p=!p)?{value:__await(o[n](v)),done:"return"===n}:f?f(v):v}:f}};__asyncValues=function(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,m=o[Symbol.asyncIterator];return m?m.call(o):(o="function"===typeof __values?__values(o):o[Symbol.iterator](),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(n){i[n]=o[n]&&function(v){return new Promise(function(resolve,reject){v=o[n](v),settle(resolve,reject,v.done,v.value)})}}function settle(resolve,reject,d,v){Promise.resolve(v).then(function(v){resolve({value:v,done:d})},reject)}};__makeTemplateObject=function(cooked,raw){Object.defineProperty?Object.defineProperty(cooked,"raw",{value:raw}):cooked.raw=raw;return cooked};__importStar=function(mod){if(mod&&mod.__esModule)return mod;var result={};if(null!=mod)for(var k in mod)Object.hasOwnProperty.call(mod,k)&&(result[k]=mod[k]);result["default"]=mod;return result};__importDefault=function(mod){return mod&&mod.__esModule?mod:{default:mod}};exporter("__extends",__extends);exporter("__assign",__assign);exporter("__rest",__rest);exporter("__decorate",__decorate);exporter("__param",__param);exporter("__metadata",__metadata);exporter("__awaiter",__awaiter);exporter("__generator",__generator);exporter("__exportStar",__exportStar);exporter("__values",__values);exporter("__read",__read);exporter("__spread",__spread);exporter("__await",__await);exporter("__asyncGenerator",__asyncGenerator);exporter("__asyncDelegator",__asyncDelegator);exporter("__asyncValues",__asyncValues);exporter("__makeTemplateObject",__makeTemplateObject);exporter("__importStar",__importStar);exporter("__importDefault",__importDefault)})}).call(this,__webpack_require__(18))},function(module,exports,__webpack_require__){(function(Buffer){0,factory=function(exports){"use strict";function accessor(fn,fields,name){fn.fields=fields||[];fn.fname=name;return fn}function accessorName(fn){return null==fn?null:fn.fname}function accessorFields(fn){return null==fn?null:fn.fields}function error(message){throw Error(message)}function splitAccessPath(p){var i,j,c,path=[],q=null,b=0,n=p.length,s="";p+="";function push(){path.push(s+p.substring(i,j));s="";i=j+1}for(i=j=0;j<n;++j){c=p[j];if("\\"===c){s+=p.substring(i,j);i=++j}else if(c===q){push();q=null;b=-1}else{if(q)continue;if(i===b&&'"'===c){i=j+1;q=c}else if(i===b&&"'"===c){i=j+1;q=c}else if("."!==c||b){if("["===c){j>i&&push();b=i=j+1}else if("]"===c){b||error("Access path missing open bracket: "+p);b>0&&push();b=0;i=j+1}}else j>i?push():i=j+1}}b&&error("Access path missing closing bracket: "+p);q&&error("Access path missing closing quote: "+p);if(j>i){j++;push()}return path}var isArray=Array.isArray;function isObject(_){return _===Object(_)}function isString(_){return"string"===typeof _}function $(x){return isArray(x)?"["+x.map($)+"]":isObject(x)||isString(x)?JSON.stringify(x).replace("\u2028","\\u2028").replace("\u2029","\\u2029"):x}function field(field,name){var path=splitAccessPath(field),code="return _["+path.map($).join("][")+"];";return accessor(Function("_",code),[field=1===path.length?path[0]:field],name||field)}var empty=[];var id=field("id");var identity=accessor(function(_){return _},empty,"identity");var zero=accessor(function(){return 0},empty,"zero");var one=accessor(function(){return 1},empty,"one");var truthy=accessor(function(){return true},empty,"true");var falsy=accessor(function(){return false},empty,"false");function log(method,level,input){var args=[level].concat([].slice.call(input));console[method].apply(console,args)}var None=0;var Error$1=1;var Warn=2;var Info=3;var Debug=4;function logger(_){var level=_||None;return{level:function(_){if(arguments.length){level=+_;return this}return level},error:function(){level>=Error$1&&log("error","ERROR",arguments);return this},warn:function(){level>=Warn&&log("warn","WARN",arguments);return this},info:function(){level>=Info&&log("log","INFO",arguments);return this},debug:function(){level>=Debug&&log("log","DEBUG",arguments);return this}}}function peek(array){return array[array.length-1]}function toNumber(_){return null==_||""===_?null:+_}function exp(sign){return function(x){return sign*Math.exp(x)}}function log$1(sign){return function(x){return Math.log(sign*x)}}function pow(exponent){return function(x){return x<0?-Math.pow(-x,exponent):Math.pow(x,exponent)}}function pan(domain,delta,lift,ground){var d0=lift(domain[0]),d1=lift(peek(domain)),dd=(d1-d0)*delta;return[ground(d0-dd),ground(d1-dd)]}function panLinear(domain,delta){return pan(domain,delta,toNumber,identity)}function panLog(domain,delta){var sign=Math.sign(domain[0]);return pan(domain,delta,log$1(sign),exp(sign))}function panPow(domain,delta,exponent){return pan(domain,delta,pow(exponent),pow(1/exponent))}function zoom(domain,anchor,scale,lift,ground){var d0=lift(domain[0]),d1=lift(peek(domain)),da=null!=anchor?lift(anchor):(d0+d1)/2;return[ground(da+(d0-da)*scale),ground(da+(d1-da)*scale)]}function zoomLinear(domain,anchor,scale){return zoom(domain,anchor,scale,toNumber,identity)}function zoomLog(domain,anchor,scale){var sign=Math.sign(domain[0]);return zoom(domain,anchor,scale,log$1(sign),exp(sign))}function zoomPow(domain,anchor,scale,exponent){return zoom(domain,anchor,scale,pow(exponent),pow(1/exponent))}function array(_){return null!=_?isArray(_)?_:[_]:[]}function isFunction(_){return"function"===typeof _}function compare(fields,orders){var i,j,f,u,v,d,t,lt,gt,idx=[],cmp=(fields=array(fields)).map(function(f,i){if(null==f)return null;idx.push(i);return isFunction(f)?f:splitAccessPath(f).map($).join("][")}),n=idx.length-1,ord=array(orders),code="var u,v;return ";if(n<0)return null;for(j=0;j<=n;++j){i=idx[j];f=cmp[i];if(isFunction(f)){d="f"+i;u="(u=this."+d+"(a))";v="(v=this."+d+"(b))";(t=t||{})[d]=f}else{u="(u=a["+f+"])";v="(v=b["+f+"])"}d="((v=v instanceof Date?+v:v),(u=u instanceof Date?+u:u))";if("descending"!==ord[i]){gt=1;lt=-1}else{gt=-1;lt=1}code+="("+u+"<"+v+"||u==null)&&v!=null?"+lt+":(u>v||v==null)&&u!=null?"+gt+":"+d+"!==u&&v===v?"+lt+":v!==v&&u===u?"+gt+(i<n?":":":0")}f=Function("a","b",code+";");t&&(f=f.bind(t));fields=fields.reduce(function(map,field){isFunction(field)?(accessorFields(field)||[]).forEach(function(_){map[_]=1}):null!=field&&(map[field+""]=1);return map},{});return accessor(f,Object.keys(fields))}function constant(_){return isFunction(_)?_:function(){return _}}function debounce(delay,handler){var tid,evt;function callback(){handler(evt);tid=evt=null}return function(e){evt=e;tid&&clearTimeout(tid);tid=setTimeout(callback,delay)}}function extend(_){for(var x,k,i=1,len=arguments.length;i<len;++i){x=arguments[i];for(k in x)_[k]=x[k]}return _}function extentIndex(array,f){var a,b,c,u,v,i=-1,n=array.length;if(null==f){while(++i<n){b=array[i];if(null!=b&&b>=b){a=c=b;break}}u=v=i;while(++i<n){b=array[i];if(null!=b){if(a>b){a=b;u=i}if(c<b){c=b;v=i}}}}else{while(++i<n){b=f(array[i],i,array);if(null!=b&&b>=b){a=c=b;break}}u=v=i;while(++i<n){b=f(array[i],i,array);if(null!=b){if(a>b){a=b;u=i}if(c<b){c=b;v=i}}}}return[u,v]}var NULL={};function fastmap(input){var map,test,obj={};function has(key){return obj.hasOwnProperty(key)&&obj[key]!==NULL}map={size:0,empty:0,object:obj,has:has,get:function(key){return has(key)?obj[key]:void 0},set:function(key,value){if(!has(key)){++map.size;obj[key]===NULL&&--map.empty}obj[key]=value;return this},delete:function(key){if(has(key)){--map.size;++map.empty;obj[key]=NULL}return this},clear:function(){map.size=map.empty=0;map.object=obj={}},test:function(_){if(arguments.length){test=_;return map}return test},clean:function(){var key,value,next={},size=0;for(key in obj){value=obj[key];if(value!==NULL&&(!test||!test(value))){next[key]=value;++size}}map.size=size;map.empty=0;map.object=obj=next}};input&&Object.keys(input).forEach(function(key){map.set(key,input[key])});return map}function inherits(child,parent){var proto=child.prototype=Object.create(parent.prototype);proto.constructor=child;return proto}function isBoolean(_){return"boolean"===typeof _}function isDate(_){return"[object Date]"===Object.prototype.toString.call(_)}function isNumber(_){return"number"===typeof _}function isRegExp(_){return"[object RegExp]"===Object.prototype.toString.call(_)}function key(fields,flat){fields&&(fields=flat?array(fields).map(function(f){return f.replace(/\\(.)/g,"$1")}):array(fields));var fn=fields&&fields.length?Function("_","return ''+"+fields.map(function(f){return"_["+(flat?$(f):splitAccessPath(f).map($).join("]["))+"]"}).join("+'|'+")+";"):function(){return""};return accessor(fn,fields,"key")}function merge(compare,array0,array1,output){var n0=array0.length,n1=array1.length;if(!n1)return array0;if(!n0)return array1;var merged=output||new array0.constructor(n0+n1),i0=0,i1=0,i=0;for(;i0<n0&&i1<n1;++i)merged[i]=compare(array0[i0],array1[i1])>0?array1[i1++]:array0[i0++];for(;i0<n0;++i0,++i)merged[i]=array0[i0];for(;i1<n1;++i1,++i)merged[i]=array1[i1];return merged}function repeat(str,reps){var s="";while(--reps>=0)s+=str;return s}function pad(str,length,padchar,align){var c=padchar||" ",s=str+"",n=length-s.length;return n<=0?s:"left"===align?repeat(c,n)+s:"center"===align?repeat(c,~~(n/2))+s+repeat(c,Math.ceil(n/2)):s+repeat(c,n)}function toBoolean(_){return null==_||""===_?null:!(!_||"false"===_||"0"===_)&&!!_}function defaultParser(_){return isNumber(_)?_:isDate(_)?_:Date.parse(_)}function toDate(_,parser){parser=parser||defaultParser;return null==_||""===_?null:parser(_)}function toString(_){return null==_||""===_?null:_+""}function toSet(_){for(var s={},i=0,n=_.length;i<n;++i)s[_[i]]=true;return s}function truncate(str,length,align,ellipsis){var e=null!=ellipsis?ellipsis:"…",s=str+"",n=s.length,l=Math.max(0,length-e.length);return n<=length?s:"left"===align?e+s.slice(n-l):"center"===align?s.slice(0,Math.ceil(l/2))+e+s.slice(n-~~(l/2)):s.slice(0,l)+e}function visitArray(array,filter,visitor){if(array){var t,i=0,n=array.length;if(filter)for(;i<n;++i)(t=filter(array[i]))&&visitor(t,i,array);else array.forEach(visitor)}}function UniqueList(idFunc){var $$$1=idFunc||identity,list=[],ids={};list.add=function(_){var id$$1=$$$1(_);if(!ids[id$$1]){ids[id$$1]=1;list.push(_)}return list};list.remove=function(_){var idx,id$$1=$$$1(_);if(ids[id$$1]){ids[id$$1]=0;(idx=list.indexOf(_))>=0&&list.splice(idx,1)}return list};return list}var TUPLE_ID_KEY=Symbol("vega_id"),TUPLE_ID=1;function isTuple(t){return!!(t&&tupleid(t))}function tupleid(t){return t[TUPLE_ID_KEY]}function setid(t,id){t[TUPLE_ID_KEY]=id;return t}function ingest(datum){var t=datum===Object(datum)?datum:{data:datum};return tupleid(t)?t:setid(t,TUPLE_ID++)}function derive(t){return rederive(t,ingest({}))}function rederive(t,d){for(var k in t)d[k]=t[k];return d}function replace(t,d){return setid(d,tupleid(t))}function isChangeSet(v){return v&&v.constructor===changeset}function changeset(){var add=[],rem=[],mod=[],remp=[],modp=[],reflow=false;return{constructor:changeset,insert:function(t){var d=array(t),i=0,n=d.length;for(;i<n;++i)add.push(d[i]);return this},remove:function(t){var a=isFunction(t)?remp:rem,d=array(t),i=0,n=d.length;for(;i<n;++i)a.push(d[i]);return this},modify:function(t,field$$1,value){var m={field:field$$1,value:constant(value)};if(isFunction(t)){m.filter=t;modp.push(m)}else{m.tuple=t;mod.push(m)}return this},encode:function(t,set){isFunction(t)?modp.push({filter:t,field:set}):mod.push({tuple:t,field:set});return this},reflow:function(){reflow=true;return this},pulse:function(pulse,tuples){var i,n,m,f,t,id$$1,cur={},out={};for(i=0,n=tuples.length;i<n;++i)cur[tupleid(tuples[i])]=1;for(i=0,n=rem.length;i<n;++i){t=rem[i];cur[tupleid(t)]=-1}for(i=0,n=remp.length;i<n;++i){f=remp[i];tuples.forEach(function(t){f(t)&&(cur[tupleid(t)]=-1)})}for(i=0,n=add.length;i<n;++i){t=add[i];id$$1=tupleid(t);cur[id$$1]?cur[id$$1]=1:pulse.add.push(ingest(add[i]))}for(i=0,n=tuples.length;i<n;++i){t=tuples[i];cur[tupleid(t)]<0&&pulse.rem.push(t)}function modify(t,f,v){v?t[f]=v(t):pulse.encode=f;reflow||(out[tupleid(t)]=t)}for(i=0,n=mod.length;i<n;++i){m=mod[i];t=m.tuple;f=m.field;id$$1=cur[tupleid(t)];if(id$$1>0){modify(t,f,m.value);pulse.modifies(f)}}for(i=0,n=modp.length;i<n;++i){m=modp[i];f=m.filter;tuples.forEach(function(t){f(t)&&cur[tupleid(t)]>0&&modify(t,m.field,m.value)});pulse.modifies(m.field)}if(reflow)pulse.mod=rem.length||remp.length?tuples.filter(function(t){return cur[tupleid(t)]>0}):tuples.slice();else for(id$$1 in out)pulse.mod.push(out[id$$1]);return pulse}}}var CACHE="_:mod:_";function Parameters(){Object.defineProperty(this,CACHE,{writable:true,value:{}})}var prototype=Parameters.prototype;prototype.set=function(name,index,value,force){var o=this,v=o[name],mod=o[CACHE];if(null!=index&&index>=0){if(v[index]!==value||force){v[index]=value;mod[index+":"+name]=-1;mod[name]=-1}}else if(v!==value||force){o[name]=value;mod[name]=isArray(value)?1+value.length:-1}return o};prototype.modified=function(name,index){var k,mod=this[CACHE];if(!arguments.length){for(k in mod)if(mod[k])return true;return false}if(isArray(name)){for(k=0;k<name.length;++k)if(mod[name[k]])return true;return false}return null!=index&&index>=0?index+1<mod[name]||!!mod[index+":"+name]:!!mod[name]};prototype.clear=function(){this[CACHE]={};return this};var OP_ID=0;var PULSE="pulse";var NO_PARAMS=new Parameters;var SKIP=1,MODIFIED=2;function Operator(init,update,params,react){this.id=++OP_ID;this.value=init;this.stamp=-1;this.rank=-1;this.qrank=-1;this.flags=0;update&&(this._update=update);params&&this.parameters(params,react)}var prototype$1=Operator.prototype;prototype$1.targets=function(){return this._targets||(this._targets=UniqueList(id))};prototype$1.set=function(value){if(this.value!==value){this.value=value;return 1}return 0};function flag(bit){return function(state){var f=this.flags;if(0===arguments.length)return!!(f&bit);this.flags=state?f|bit:f&~bit;return this}}prototype$1.skip=flag(SKIP);prototype$1.modified=flag(MODIFIED);prototype$1.parameters=function(params,react){react=false!==react;var name,value,n,i,self=this,argval=self._argval=self._argval||new Parameters,argops=self._argops=self._argops||[],deps=[];function add(name,index,value){if(value instanceof Operator){if(value!==self){react&&value.targets().add(self);deps.push(value)}argops.push({op:value,name:name,index:index})}else argval.set(name,index,value)}for(name in params){value=params[name];if(name===PULSE){array(value).forEach(function(op){if(op instanceof Operator){if(op!==self){op.targets().add(self);deps.push(op)}}else error("Pulse parameters must be operator instances.")});self.source=value}else if(isArray(value)){argval.set(name,-1,Array(n=value.length));for(i=0;i<n;++i)add(name,i,value[i])}else add(name,-1,value)}this.marshall().clear();return deps};prototype$1.marshall=function(stamp){var item,i,n,op,mod,argval=this._argval||NO_PARAMS,argops=this._argops;if(argops&&(n=argops.length))for(i=0;i<n;++i){item=argops[i];op=item.op;mod=op.modified()&&op.stamp===stamp;argval.set(item.name,item.index,op.value,mod)}return argval};prototype$1.evaluate=function(pulse){if(this._update){var params=this.marshall(pulse.stamp),v=this._update(params,pulse);params.clear();if(v!==this.value)this.value=v;else if(!this.modified())return pulse.StopPropagation}};prototype$1.run=function(pulse){if(pulse.stamp<=this.stamp)return pulse.StopPropagation;var rv;if(this.skip()){this.skip(false);rv=0}else rv=this.evaluate(pulse);this.stamp=pulse.stamp;return this.pulse=rv||pulse};function add(init,update,params,react){var op,shift=1;if(init instanceof Operator)op=init;else if(init&&init.prototype instanceof Operator)op=new init;else if(isFunction(init))op=new Operator(null,init);else{shift=0;op=new Operator(init,update)}this.rank(op);if(shift){react=params;params=update}params&&this.connect(op,op.parameters(params,react));this.touch(op);return op}function connect(target,sources){var i,n,targetRank=target.rank;for(i=0,n=sources.length;i<n;++i)if(targetRank<sources[i].rank){this.rerank(target);return}}var STREAM_ID=0;function EventStream(filter,apply,receive){this.id=++STREAM_ID;this.value=null;receive&&(this.receive=receive);filter&&(this._filter=filter);apply&&(this._apply=apply)}function stream(filter,apply,receive){return new EventStream(filter,apply,receive)}var prototype$2=EventStream.prototype;prototype$2._filter=truthy;prototype$2._apply=identity;prototype$2.targets=function(){return this._targets||(this._targets=UniqueList(id))};prototype$2.consume=function(_){if(!arguments.length)return!!this._consume;this._consume=!!_;return this};prototype$2.receive=function(evt){if(this._filter(evt)){var val=this.value=this._apply(evt),trg=this._targets,n=trg?trg.length:0,i=0;for(;i<n;++i)trg[i].receive(val);if(this._consume){evt.preventDefault();evt.stopPropagation()}}};prototype$2.filter=function(filter){var s=stream(filter);this.targets().add(s);return s};prototype$2.apply=function(apply){var s=stream(null,apply);this.targets().add(s);return s};prototype$2.merge=function(){var s=stream();this.targets().add(s);for(var i=0,n=arguments.length;i<n;++i)arguments[i].targets().add(s);return s};prototype$2.throttle=function(pause){var t=-1;return this.filter(function(){var now=Date.now();if(now-t>pause){t=now;return 1}return 0})};prototype$2.debounce=function(delay){var s=stream();this.targets().add(stream(null,null,debounce(delay,function(e){var df=e.dataflow;s.receive(e);df&&df.run&&df.run()})));return s};prototype$2.between=function(a,b){var active=false;a.targets().add(stream(null,null,function(){active=true}));b.targets().add(stream(null,null,function(){active=false}));return this.filter(function(){return active})};function events(source,type,filter,apply){var sources,df=this,s=stream(filter,apply),send=function(e){e.dataflow=df;try{s.receive(e)}catch(error$$1){df.error(error$$1)}finally{df.run()}};sources="string"===typeof source&&"undefined"!==typeof document?document.querySelectorAll(source):array(source);for(var i=0,n=sources.length;i<n;++i)sources[i].addEventListener(type,send);return s}var protocol_re=/^([A-Za-z]+:)?\/\//;var fileProtocol="file://";function loader(options){return{options:options||{},sanitize:sanitize,load:load,file:file,http:http}}function load(uri,options){var loader=this;return loader.sanitize(uri,options).then(function(opt){var url=opt.href;return opt.localFile?loader.file(url):loader.http(url,options)})}function sanitize(uri,options){options=extend({},this.options,options);return new Promise(function(accept,reject){var isFile,hasProtocol,loadFile,base,result={href:null};if(null==uri||"string"!==typeof uri){reject("Sanitize failure, invalid URI: "+$(uri));return}hasProtocol=protocol_re.test(uri);if((base=options.baseURL)&&!hasProtocol){startsWith(uri,"/")||"/"===base[base.length-1]||(uri="/"+uri);uri=base+uri}loadFile=(isFile=startsWith(uri,fileProtocol))||"file"===options.mode||"http"!==options.mode&&!hasProtocol&&fs();if(isFile)uri=uri.slice(fileProtocol.length);else if(startsWith(uri,"//"))if("file"===options.defaultProtocol){uri=uri.slice(2);loadFile=true}else uri=(options.defaultProtocol||"http")+":"+uri;Object.defineProperty(result,"localFile",{value:!!loadFile});result.href=uri;options.target&&(result.target=options.target+"");accept(result)})}function http(url,options){return request(url,extend({},this.options.http,options)).then(function(response){if(!response.ok)throw response.status+""+response.statusText;return response.text()})}function file(filename){return new Promise(function(accept,reject){var f=fs();f?f.readFile(filename,function(error$$1,data){error$$1?reject(error$$1):accept(data)}):reject("No file system access for "+filename)})}function request(url,init){var f="function"===typeof fetch?fetch:__webpack_require__(896);return f?f(url,init):Promise.reject("No fetch method available.")}function fs(){var fs=(true,__webpack_require__(2789));return fs&&isFunction(fs.readFile)?fs:null}function startsWith(string,query){return null!=string&&0===string.lastIndexOf(query,0)}var typeParsers={boolean:toBoolean,integer:toNumber,number:toNumber,date:toDate,string:toString,unknown:identity};var typeTests=[isBoolean$1,isInteger,isNumber$1,isDate$1];var typeList=["boolean","integer","number","date"];function inferType(values,field$$1){if(!values||!values.length)return"unknown";var value,i,j,t=0,n=values.length,m=typeTests.length,a=typeTests.map(function(_,i){return i+1});for(i=0,n=values.length;i<n;++i){value=field$$1?values[i][field$$1]:values[i];for(j=0;j<m;++j)if(a[j]&&isValid(value)&&!typeTests[j](value)){a[j]=0;++t;if(t===typeTests.length)return"string"}}t=a.reduce(function(u,v){return 0===u?v:u},0)-1;return typeList[t]}function inferTypes(data,fields){return fields.reduce(function(types,field$$1){types[field$$1]=inferType(data,field$$1);return types},{})}function isValid(_){return null!=_&&_===_}function isBoolean$1(_){return"true"===_||"false"===_||true===_||false===_}function isDate$1(_){return!isNaN(Date.parse(_))}function isNumber$1(_){return!isNaN(+_)&&!(_ instanceof Date)}function isInteger(_){return isNumber$1(_)&&(_=+_)===~~_}var EOL={},EOF={},QUOTE=34,NEWLINE=10,RETURN=13;function objectConverter(columns){return new Function("d","return {"+columns.map(function(name,i){return JSON.stringify(name)+": d["+i+"]"}).join(",")+"}")}function customConverter(columns,f){var object=objectConverter(columns);return function(row,i){return f(object(row),i,columns)}}function inferColumns(rows){var columnSet=Object.create(null),columns=[];rows.forEach(function(row){for(var column in row)column in columnSet||columns.push(columnSet[column]=column)});return columns}function dsv(delimiter){var reFormat=new RegExp('["'+delimiter+"\n\r]"),DELIMITER=delimiter.charCodeAt(0);function parse(text,f){var convert,columns,rows=parseRows(text,function(row,i){if(convert)return convert(row,i-1);columns=row,convert=f?customConverter(row,f):objectConverter(row)});rows.columns=columns||[];return rows}function parseRows(text,f){var t,rows=[],N=text.length,I=0,n=0,eof=N<=0,eol=false;text.charCodeAt(N-1)===NEWLINE&&--N;text.charCodeAt(N-1)===RETURN&&--N;function token(){if(eof)return EOF;if(eol)return eol=false,EOL;var i,c,j=I;if(text.charCodeAt(j)===QUOTE){while(I++<N&&text.charCodeAt(I)!==QUOTE||text.charCodeAt(++I)===QUOTE);if((i=I)>=N)eof=true;else if((c=text.charCodeAt(I++))===NEWLINE)eol=true;else if(c===RETURN){eol=true;text.charCodeAt(I)===NEWLINE&&++I}return text.slice(j+1,i-1).replace(/""/g,'"')}while(I<N){if((c=text.charCodeAt(i=I++))===NEWLINE)eol=true;else if(c===RETURN){eol=true;text.charCodeAt(I)===NEWLINE&&++I}else if(c!==DELIMITER)continue;return text.slice(j,i)}return eof=true,text.slice(j,N)}while((t=token())!==EOF){var row=[];while(t!==EOL&&t!==EOF)row.push(t),t=token();if(f&&null==(row=f(row,n++)))continue;rows.push(row)}return rows}function format(rows,columns){null==columns&&(columns=inferColumns(rows));return[columns.map(formatValue).join(delimiter)].concat(rows.map(function(row){return columns.map(function(column){return formatValue(row[column])}).join(delimiter)})).join("\n")}function formatRows(rows){return rows.map(formatRow).join("\n")}function formatRow(row){return row.map(formatValue).join(delimiter)}function formatValue(text){return null==text?"":reFormat.test(text+="")?'"'+text.replace(/"/g,'""')+'"':text}return{parse:parse,parseRows:parseRows,format:format,formatRows:formatRows}}dsv(",");dsv("\t");function delimitedFormat(delimiter){return function(data,format){var delim={delimiter:delimiter};return dsv$1(data,format?extend(format,delim):delim)}}function dsv$1(data,format){format.header&&(data=format.header.map($).join(format.delimiter)+"\n"+data);return dsv(format.delimiter).parse(data+"")}function isBuffer(_){return!("function"!==typeof Buffer||!isFunction(Buffer.isBuffer))&&Buffer.isBuffer(_)}function json(data,format){var prop=format&&format.property?field(format.property):identity;return isObject(data)&&!isBuffer(data)?parseJSON(prop(data)):prop(JSON.parse(data))}function parseJSON(data,format){return format&&format.copy?JSON.parse(JSON.stringify(data)):data}function identity$1(x){return x}function transform(transform){if(null==transform)return identity$1;var x0,y0,kx=transform.scale[0],ky=transform.scale[1],dx=transform.translate[0],dy=transform.translate[1];return function(input,i){i||(x0=y0=0);var j=2,n=input.length,output=new Array(n);output[0]=(x0+=input[0])*kx+dx;output[1]=(y0+=input[1])*ky+dy;while(j<n)output[j]=input[j],++j;return output}}function reverse(array,n){var t,j=array.length,i=j-n;while(i<--j)t=array[i],array[i++]=array[j],array[j]=t}function feature(topology,o){return"GeometryCollection"===o.type?{type:"FeatureCollection",features:o.geometries.map(function(o){return feature$1(topology,o)})}:feature$1(topology,o)}function feature$1(topology,o){var id=o.id,bbox=o.bbox,properties=null==o.properties?{}:o.properties,geometry=object(topology,o);return null==id&&null==bbox?{type:"Feature",properties:properties,geometry:geometry}:null==bbox?{type:"Feature",id:id,properties:properties,geometry:geometry}:{type:"Feature",id:id,bbox:bbox,properties:properties,geometry:geometry}}function object(topology,o){var transformPoint=transform(topology.transform),arcs=topology.arcs;function arc(i,points){points.length&&points.pop();for(var a=arcs[i<0?~i:i],k=0,n=a.length;k<n;++k)points.push(transformPoint(a[k],k));i<0&&reverse(points,n)}function point(p){return transformPoint(p)}function line(arcs){var points=[];for(var i=0,n=arcs.length;i<n;++i)arc(arcs[i],points);points.length<2&&points.push(points[0]);return points}function ring(arcs){var points=line(arcs);while(points.length<4)points.push(points[0]);return points}function polygon(arcs){return arcs.map(ring)}function geometry(o){var coordinates,type=o.type;switch(type){case"GeometryCollection":return{type:type,geometries:o.geometries.map(geometry)};case"Point":coordinates=point(o.coordinates);break;case"MultiPoint":coordinates=o.coordinates.map(point);break;case"LineString":coordinates=line(o.arcs);break;case"MultiLineString":coordinates=o.arcs.map(line);break;case"Polygon":coordinates=polygon(o.arcs);break;case"MultiPolygon":coordinates=o.arcs.map(polygon);break;default:return null}return{type:type,coordinates:coordinates}}return geometry(o)}function stitch(topology,arcs){var stitchedArcs={},fragmentByStart={},fragmentByEnd={},fragments=[],emptyIndex=-1;arcs.forEach(function(i,j){var t,arc=topology.arcs[i<0?~i:i];arc.length<3&&!arc[1][0]&&!arc[1][1]&&(t=arcs[++emptyIndex],arcs[emptyIndex]=i,arcs[j]=t)});arcs.forEach(function(i){var f,g,e=ends(i),start=e[0],end=e[1];if(f=fragmentByEnd[start]){delete fragmentByEnd[f.end];f.push(i);f.end=end;if(g=fragmentByStart[end]){delete fragmentByStart[g.start];var fg=g===f?f:f.concat(g);fragmentByStart[fg.start=f.start]=fragmentByEnd[fg.end=g.end]=fg}else fragmentByStart[f.start]=fragmentByEnd[f.end]=f}else if(f=fragmentByStart[end]){delete fragmentByStart[f.start];f.unshift(i);f.start=start;if(g=fragmentByEnd[start]){delete fragmentByEnd[g.end];var gf=g===f?f:g.concat(f);fragmentByStart[gf.start=g.start]=fragmentByEnd[gf.end=f.end]=gf}else fragmentByStart[f.start]=fragmentByEnd[f.end]=f}else{f=[i];fragmentByStart[f.start=start]=fragmentByEnd[f.end=end]=f}});function ends(i){var p1,arc=topology.arcs[i<0?~i:i],p0=arc[0];topology.transform?(p1=[0,0],arc.forEach(function(dp){p1[0]+=dp[0],p1[1]+=dp[1]})):p1=arc[arc.length-1];return i<0?[p1,p0]:[p0,p1]}function flush(fragmentByEnd,fragmentByStart){for(var k in fragmentByEnd){var f=fragmentByEnd[k];delete fragmentByStart[f.start];delete f.start;delete f.end;f.forEach(function(i){stitchedArcs[i<0?~i:i]=1});fragments.push(f)}}flush(fragmentByEnd,fragmentByStart);flush(fragmentByStart,fragmentByEnd);arcs.forEach(function(i){stitchedArcs[i<0?~i:i]||fragments.push([i])});return fragments}function mesh(topology){return object(topology,meshArcs.apply(this,arguments))}function meshArcs(topology,object$$1,filter){var arcs,i,n;if(arguments.length>1)arcs=extractArcs(topology,object$$1,filter);else for(i=0,arcs=new Array(n=topology.arcs.length);i<n;++i)arcs[i]=i;return{type:"MultiLineString",arcs:stitch(topology,arcs)}}function extractArcs(topology,object$$1,filter){var geom,arcs=[],geomsByArc=[];function extract0(i){var j=i<0?~i:i;(geomsByArc[j]||(geomsByArc[j]=[])).push({i:i,g:geom})}function extract1(arcs){arcs.forEach(extract0)}function extract2(arcs){arcs.forEach(extract1)}function extract3(arcs){arcs.forEach(extract2)}function geometry(o){switch(geom=o,o.type){case"GeometryCollection":o.geometries.forEach(geometry);break;case"LineString":extract1(o.arcs);break;case"MultiLineString":case"Polygon":extract2(o.arcs);break;case"MultiPolygon":extract3(o.arcs)}}geometry(object$$1);geomsByArc.forEach(null==filter?function(geoms){arcs.push(geoms[0].i)}:function(geoms){filter(geoms[0].g,geoms[geoms.length-1].g)&&arcs.push(geoms[0].i)});return arcs}function topojson(data,format){var method,object,property;data=json(data,format);method=format&&(property=format.feature)?feature:format&&(property=format.mesh)?mesh:error("Missing TopoJSON feature or mesh parameter.");object=(object=data.objects[property])?method(data,object):error("Invalid TopoJSON object: "+property);return object&&object.features||[object]}var formats={dsv:dsv$1,csv:delimitedFormat(","),tsv:delimitedFormat("\t"),json:json,topojson:topojson};function formats$1(name,format){if(arguments.length>1){formats[name]=format;return this}return formats.hasOwnProperty(name)?formats[name]:null}var t0=new Date,t1=new Date;function newInterval(floori,offseti,count,field){function interval(date){return floori(date=new Date(+date)),date}interval.floor=interval;interval.ceil=function(date){return floori(date=new Date(date-1)),offseti(date,1),floori(date),date};interval.round=function(date){var d0=interval(date),d1=interval.ceil(date);return date-d0<d1-date?d0:d1};interval.offset=function(date,step){return offseti(date=new Date(+date),null==step?1:Math.floor(step)),date};interval.range=function(start,stop,step){var previous,range=[];start=interval.ceil(start);step=null==step?1:Math.floor(step);if(!(start<stop)||!(step>0))return range;do{range.push(previous=new Date(+start)),offseti(start,step),floori(start)}while(previous<start&&start<stop);return range};interval.filter=function(test){return newInterval(function(date){if(date>=date)while(floori(date),!test(date))date.setTime(date-1)},function(date,step){if(date>=date)if(step<0)while(++step<=0)while(offseti(date,-1),!test(date));else while(--step>=0)while(offseti(date,1),!test(date));})};if(count){interval.count=function(start,end){t0.setTime(+start),t1.setTime(+end);floori(t0),floori(t1);return Math.floor(count(t0,t1))};interval.every=function(step){step=Math.floor(step);return isFinite(step)&&step>0?step>1?interval.filter(field?function(d){return field(d)%step===0}:function(d){return interval.count(0,d)%step===0}):interval:null}}return interval}var millisecond=newInterval(function(){},function(date,step){date.setTime(+date+step)},function(start,end){return end-start});millisecond.every=function(k){k=Math.floor(k);if(!isFinite(k)||!(k>0))return null;if(!(k>1))return millisecond;return newInterval(function(date){date.setTime(Math.floor(date/k)*k)},function(date,step){date.setTime(+date+step*k)},function(start,end){return(end-start)/k})};millisecond.range;var durationSecond=1e3;var durationMinute=6e4;var durationHour=36e5;var durationDay=864e5;var durationWeek=6048e5;var second=newInterval(function(date){date.setTime(Math.floor(date/durationSecond)*durationSecond)},function(date,step){date.setTime(+date+step*durationSecond)},function(start,end){return(end-start)/durationSecond},function(date){return date.getUTCSeconds()});second.range;var minute=newInterval(function(date){date.setTime(Math.floor(date/durationMinute)*durationMinute)},function(date,step){date.setTime(+date+step*durationMinute)},function(start,end){return(end-start)/durationMinute},function(date){return date.getMinutes()});minute.range;var hour=newInterval(function(date){var offset=date.getTimezoneOffset()*durationMinute%durationHour;offset<0&&(offset+=durationHour);date.setTime(Math.floor((+date-offset)/durationHour)*durationHour+offset)},function(date,step){date.setTime(+date+step*durationHour)},function(start,end){return(end-start)/durationHour},function(date){return date.getHours()});hour.range;var day=newInterval(function(date){date.setHours(0,0,0,0)},function(date,step){date.setDate(date.getDate()+step)},function(start,end){return(end-start-(end.getTimezoneOffset()-start.getTimezoneOffset())*durationMinute)/durationDay},function(date){return date.getDate()-1});day.range;function weekday(i){return newInterval(function(date){date.setDate(date.getDate()-(date.getDay()+7-i)%7);date.setHours(0,0,0,0)},function(date,step){date.setDate(date.getDate()+7*step)},function(start,end){return(end-start-(end.getTimezoneOffset()-start.getTimezoneOffset())*durationMinute)/durationWeek})}var sunday=weekday(0);var monday=weekday(1);weekday(2);weekday(3);var thursday=weekday(4);weekday(5);weekday(6);sunday.range;monday.range;thursday.range;var month=newInterval(function(date){date.setDate(1);date.setHours(0,0,0,0)},function(date,step){date.setMonth(date.getMonth()+step)},function(start,end){return end.getMonth()-start.getMonth()+12*(end.getFullYear()-start.getFullYear())},function(date){return date.getMonth()});month.range;var year=newInterval(function(date){date.setMonth(0,1);date.setHours(0,0,0,0)},function(date,step){date.setFullYear(date.getFullYear()+step)},function(start,end){return end.getFullYear()-start.getFullYear()},function(date){return date.getFullYear()});year.every=function(k){return isFinite(k=Math.floor(k))&&k>0?newInterval(function(date){date.setFullYear(Math.floor(date.getFullYear()/k)*k);date.setMonth(0,1);date.setHours(0,0,0,0)},function(date,step){date.setFullYear(date.getFullYear()+step*k)}):null};year.range;var utcMinute=newInterval(function(date){date.setUTCSeconds(0,0)},function(date,step){date.setTime(+date+step*durationMinute)},function(start,end){return(end-start)/durationMinute},function(date){return date.getUTCMinutes()});utcMinute.range;var utcHour=newInterval(function(date){date.setUTCMinutes(0,0,0)},function(date,step){date.setTime(+date+step*durationHour)},function(start,end){return(end-start)/durationHour},function(date){return date.getUTCHours()});utcHour.range;var utcDay=newInterval(function(date){date.setUTCHours(0,0,0,0)},function(date,step){date.setUTCDate(date.getUTCDate()+step)},function(start,end){return(end-start)/durationDay},function(date){return date.getUTCDate()-1});utcDay.range;function utcWeekday(i){return newInterval(function(date){date.setUTCDate(date.getUTCDate()-(date.getUTCDay()+7-i)%7);date.setUTCHours(0,0,0,0)},function(date,step){date.setUTCDate(date.getUTCDate()+7*step)},function(start,end){return(end-start)/durationWeek})}var utcSunday=utcWeekday(0);var utcMonday=utcWeekday(1);utcWeekday(2);utcWeekday(3);var utcThursday=utcWeekday(4);utcWeekday(5);utcWeekday(6);utcSunday.range;utcMonday.range;utcThursday.range;var utcMonth=newInterval(function(date){date.setUTCDate(1);date.setUTCHours(0,0,0,0)},function(date,step){date.setUTCMonth(date.getUTCMonth()+step)},function(start,end){return end.getUTCMonth()-start.getUTCMonth()+12*(end.getUTCFullYear()-start.getUTCFullYear())},function(date){return date.getUTCMonth()});utcMonth.range;var utcYear=newInterval(function(date){date.setUTCMonth(0,1);date.setUTCHours(0,0,0,0)},function(date,step){date.setUTCFullYear(date.getUTCFullYear()+step)},function(start,end){return end.getUTCFullYear()-start.getUTCFullYear()},function(date){return date.getUTCFullYear()});utcYear.every=function(k){return isFinite(k=Math.floor(k))&&k>0?newInterval(function(date){date.setUTCFullYear(Math.floor(date.getUTCFullYear()/k)*k);date.setUTCMonth(0,1);date.setUTCHours(0,0,0,0)},function(date,step){date.setUTCFullYear(date.getUTCFullYear()+step*k)}):null};utcYear.range;function localDate(d){if(0<=d.y&&d.y<100){var date=new Date(-1,d.m,d.d,d.H,d.M,d.S,d.L);date.setFullYear(d.y);return date}return new Date(d.y,d.m,d.d,d.H,d.M,d.S,d.L)}function utcDate(d){if(0<=d.y&&d.y<100){var date=new Date(Date.UTC(-1,d.m,d.d,d.H,d.M,d.S,d.L));date.setUTCFullYear(d.y);return date}return new Date(Date.UTC(d.y,d.m,d.d,d.H,d.M,d.S,d.L))}function newYear(y){return{y:y,m:0,d:1,H:0,M:0,S:0,L:0}}function formatLocale(locale){var locale_dateTime=locale.dateTime,locale_date=locale.date,locale_time=locale.time,locale_periods=locale.periods,locale_weekdays=locale.days,locale_shortWeekdays=locale.shortDays,locale_months=locale.months,locale_shortMonths=locale.shortMonths;var periodRe=formatRe(locale_periods),periodLookup=formatLookup(locale_periods),weekdayRe=formatRe(locale_weekdays),weekdayLookup=formatLookup(locale_weekdays),shortWeekdayRe=formatRe(locale_shortWeekdays),shortWeekdayLookup=formatLookup(locale_shortWeekdays),monthRe=formatRe(locale_months),monthLookup=formatLookup(locale_months),shortMonthRe=formatRe(locale_shortMonths),shortMonthLookup=formatLookup(locale_shortMonths);var formats={a:formatShortWeekday,A:formatWeekday,b:formatShortMonth,B:formatMonth,c:null,d:formatDayOfMonth,e:formatDayOfMonth,f:formatMicroseconds,H:formatHour24,I:formatHour12,j:formatDayOfYear,L:formatMilliseconds,m:formatMonthNumber,M:formatMinutes,p:formatPeriod,Q:formatUnixTimestamp,s:formatUnixTimestampSeconds,S:formatSeconds,u:formatWeekdayNumberMonday,U:formatWeekNumberSunday,V:formatWeekNumberISO,w:formatWeekdayNumberSunday,W:formatWeekNumberMonday,x:null,X:null,y:formatYear,Y:formatFullYear,Z:formatZone,"%":formatLiteralPercent};var utcFormats={a:formatUTCShortWeekday,A:formatUTCWeekday,b:formatUTCShortMonth,B:formatUTCMonth,c:null,d:formatUTCDayOfMonth,e:formatUTCDayOfMonth,f:formatUTCMicroseconds,H:formatUTCHour24,I:formatUTCHour12,j:formatUTCDayOfYear,L:formatUTCMilliseconds,m:formatUTCMonthNumber,M:formatUTCMinutes,p:formatUTCPeriod,Q:formatUnixTimestamp,s:formatUnixTimestampSeconds,S:formatUTCSeconds,u:formatUTCWeekdayNumberMonday,U:formatUTCWeekNumberSunday,V:formatUTCWeekNumberISO,w:formatUTCWeekdayNumberSunday,W:formatUTCWeekNumberMonday,x:null,X:null,y:formatUTCYear,Y:formatUTCFullYear,Z:formatUTCZone,"%":formatLiteralPercent};var parses={a:parseShortWeekday,A:parseWeekday,b:parseShortMonth,B:parseMonth,c:parseLocaleDateTime,d:parseDayOfMonth,e:parseDayOfMonth,f:parseMicroseconds,H:parseHour24,I:parseHour24,j:parseDayOfYear,L:parseMilliseconds,m:parseMonthNumber,M:parseMinutes,p:parsePeriod,Q:parseUnixTimestamp,s:parseUnixTimestampSeconds,S:parseSeconds,u:parseWeekdayNumberMonday,U:parseWeekNumberSunday,V:parseWeekNumberISO,w:parseWeekdayNumberSunday,W:parseWeekNumberMonday,x:parseLocaleDate,X:parseLocaleTime,y:parseYear,Y:parseFullYear,Z:parseZone,"%":parseLiteralPercent};formats.x=newFormat(locale_date,formats);formats.X=newFormat(locale_time,formats);formats.c=newFormat(locale_dateTime,formats);utcFormats.x=newFormat(locale_date,utcFormats);utcFormats.X=newFormat(locale_time,utcFormats);utcFormats.c=newFormat(locale_dateTime,utcFormats);function newFormat(specifier,formats){return function(date){var c,pad,format,string=[],i=-1,j=0,n=specifier.length;date instanceof Date||(date=new Date(+date));while(++i<n)if(37===specifier.charCodeAt(i)){string.push(specifier.slice(j,i));null!=(pad=pads[c=specifier.charAt(++i)])?c=specifier.charAt(++i):pad="e"===c?" ":"0";(format=formats[c])&&(c=format(date,pad));string.push(c);j=i+1}string.push(specifier.slice(j,i));return string.join("")}}function newParse(specifier,newDate){return function(string){var week,day$$1,d=newYear(1900),i=parseSpecifier(d,specifier,string+="",0);if(i!=string.length)return null;if("Q"in d)return new Date(d.Q);"p"in d&&(d.H=d.H%12+12*d.p);if("V"in d){if(d.V<1||d.V>53)return null;"w"in d||(d.w=1);if("Z"in d){week=utcDate(newYear(d.y)),day$$1=week.getUTCDay();week=day$$1>4||0===day$$1?utcMonday.ceil(week):utcMonday(week);week=utcDay.offset(week,7*(d.V-1));d.y=week.getUTCFullYear();d.m=week.getUTCMonth();d.d=week.getUTCDate()+(d.w+6)%7}else{week=newDate(newYear(d.y)),day$$1=week.getDay();week=day$$1>4||0===day$$1?monday.ceil(week):monday(week);week=day.offset(week,7*(d.V-1));d.y=week.getFullYear();d.m=week.getMonth();d.d=week.getDate()+(d.w+6)%7}}else if("W"in d||"U"in d){"w"in d||(d.w="u"in d?d.u%7:"W"in d?1:0);day$$1="Z"in d?utcDate(newYear(d.y)).getUTCDay():newDate(newYear(d.y)).getDay();d.m=0;d.d="W"in d?(d.w+6)%7+7*d.W-(day$$1+5)%7:d.w+7*d.U-(day$$1+6)%7}if("Z"in d){d.H+=d.Z/100|0;d.M+=d.Z%100;return utcDate(d)}return newDate(d)}}function parseSpecifier(d,specifier,string,j){var c,parse,i=0,n=specifier.length,m=string.length;while(i<n){if(j>=m)return-1;c=specifier.charCodeAt(i++);if(37===c){c=specifier.charAt(i++);parse=parses[c in pads?specifier.charAt(i++):c];if(!parse||(j=parse(d,string,j))<0)return-1}else if(c!=string.charCodeAt(j++))return-1}return j}function parsePeriod(d,string,i){var n=periodRe.exec(string.slice(i));return n?(d.p=periodLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseShortWeekday(d,string,i){var n=shortWeekdayRe.exec(string.slice(i));return n?(d.w=shortWeekdayLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseWeekday(d,string,i){var n=weekdayRe.exec(string.slice(i));return n?(d.w=weekdayLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseShortMonth(d,string,i){var n=shortMonthRe.exec(string.slice(i));return n?(d.m=shortMonthLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseMonth(d,string,i){var n=monthRe.exec(string.slice(i));return n?(d.m=monthLookup[n[0].toLowerCase()],i+n[0].length):-1}function parseLocaleDateTime(d,string,i){return parseSpecifier(d,locale_dateTime,string,i)}function parseLocaleDate(d,string,i){return parseSpecifier(d,locale_date,string,i)}function parseLocaleTime(d,string,i){return parseSpecifier(d,locale_time,string,i)}function formatShortWeekday(d){return locale_shortWeekdays[d.getDay()]}function formatWeekday(d){return locale_weekdays[d.getDay()]}function formatShortMonth(d){return locale_shortMonths[d.getMonth()]}function formatMonth(d){return locale_months[d.getMonth()]}function formatPeriod(d){return locale_periods[+(d.getHours()>=12)]}function formatUTCShortWeekday(d){return locale_shortWeekdays[d.getUTCDay()]}function formatUTCWeekday(d){return locale_weekdays[d.getUTCDay()]}function formatUTCShortMonth(d){return locale_shortMonths[d.getUTCMonth()]}function formatUTCMonth(d){return locale_months[d.getUTCMonth()]}function formatUTCPeriod(d){return locale_periods[+(d.getUTCHours()>=12)]}return{format:function(specifier){var f=newFormat(specifier+="",formats);f.toString=function(){return specifier};return f},parse:function(specifier){var p=newParse(specifier+="",localDate);p.toString=function(){return specifier};return p},utcFormat:function(specifier){var f=newFormat(specifier+="",utcFormats);f.toString=function(){return specifier};return f},utcParse:function(specifier){var p=newParse(specifier,utcDate);p.toString=function(){return specifier};return p}}}var pads={"-":"",_:" ",0:"0"},numberRe=/^\s*\d+/,percentRe=/^%/,requoteRe=/[\\^$*+?|[\]().{}]/g;function pad$1(value,fill,width){var sign=value<0?"-":"",string=(sign?-value:value)+"",length=string.length;return sign+(length<width?new Array(width-length+1).join(fill)+string:string)}function requote(s){return s.replace(requoteRe,"\\$&")}function formatRe(names){return new RegExp("^(?:"+names.map(requote).join("|")+")","i")}function formatLookup(names){var map={},i=-1,n=names.length;while(++i<n)map[names[i].toLowerCase()]=i;return map}function parseWeekdayNumberSunday(d,string,i){var n=numberRe.exec(string.slice(i,i+1));return n?(d.w=+n[0],i+n[0].length):-1}function parseWeekdayNumberMonday(d,string,i){var n=numberRe.exec(string.slice(i,i+1));return n?(d.u=+n[0],i+n[0].length):-1}function parseWeekNumberSunday(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.U=+n[0],i+n[0].length):-1}function parseWeekNumberISO(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.V=+n[0],i+n[0].length):-1}function parseWeekNumberMonday(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.W=+n[0],i+n[0].length):-1}function parseFullYear(d,string,i){var n=numberRe.exec(string.slice(i,i+4));return n?(d.y=+n[0],i+n[0].length):-1}function parseYear(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.y=+n[0]+(+n[0]>68?1900:2e3),i+n[0].length):-1}function parseZone(d,string,i){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(string.slice(i,i+6));return n?(d.Z=n[1]?0:-(n[2]+(n[3]||"00")),i+n[0].length):-1}function parseMonthNumber(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.m=n[0]-1,i+n[0].length):-1}function parseDayOfMonth(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.d=+n[0],i+n[0].length):-1}function parseDayOfYear(d,string,i){var n=numberRe.exec(string.slice(i,i+3));return n?(d.m=0,d.d=+n[0],i+n[0].length):-1}function parseHour24(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.H=+n[0],i+n[0].length):-1}function parseMinutes(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.M=+n[0],i+n[0].length):-1}function parseSeconds(d,string,i){var n=numberRe.exec(string.slice(i,i+2));return n?(d.S=+n[0],i+n[0].length):-1}function parseMilliseconds(d,string,i){var n=numberRe.exec(string.slice(i,i+3));return n?(d.L=+n[0],i+n[0].length):-1}function parseMicroseconds(d,string,i){var n=numberRe.exec(string.slice(i,i+6));return n?(d.L=Math.floor(n[0]/1e3),i+n[0].length):-1}function parseLiteralPercent(d,string,i){var n=percentRe.exec(string.slice(i,i+1));return n?i+n[0].length:-1}function parseUnixTimestamp(d,string,i){var n=numberRe.exec(string.slice(i));return n?(d.Q=+n[0],i+n[0].length):-1}function parseUnixTimestampSeconds(d,string,i){var n=numberRe.exec(string.slice(i));return n?(d.Q=1e3*+n[0],i+n[0].length):-1}function formatDayOfMonth(d,p){return pad$1(d.getDate(),p,2)}function formatHour24(d,p){return pad$1(d.getHours(),p,2)}function formatHour12(d,p){return pad$1(d.getHours()%12||12,p,2)}function formatDayOfYear(d,p){return pad$1(1+day.count(year(d),d),p,3)}function formatMilliseconds(d,p){return pad$1(d.getMilliseconds(),p,3)}function formatMicroseconds(d,p){return formatMilliseconds(d,p)+"000"}function formatMonthNumber(d,p){return pad$1(d.getMonth()+1,p,2)}function formatMinutes(d,p){return pad$1(d.getMinutes(),p,2)}function formatSeconds(d,p){return pad$1(d.getSeconds(),p,2)}function formatWeekdayNumberMonday(d){var day$$1=d.getDay();return 0===day$$1?7:day$$1}function formatWeekNumberSunday(d,p){return pad$1(sunday.count(year(d),d),p,2)}function formatWeekNumberISO(d,p){var day$$1=d.getDay();d=day$$1>=4||0===day$$1?thursday(d):thursday.ceil(d);return pad$1(thursday.count(year(d),d)+(4===year(d).getDay()),p,2)}function formatWeekdayNumberSunday(d){return d.getDay()}function formatWeekNumberMonday(d,p){return pad$1(monday.count(year(d),d),p,2)}function formatYear(d,p){return pad$1(d.getFullYear()%100,p,2)}function formatFullYear(d,p){return pad$1(d.getFullYear()%1e4,p,4)}function formatZone(d){var z=d.getTimezoneOffset();return(z>0?"-":(z*=-1,"+"))+pad$1(z/60|0,"0",2)+pad$1(z%60,"0",2)}function formatUTCDayOfMonth(d,p){return pad$1(d.getUTCDate(),p,2)}function formatUTCHour24(d,p){return pad$1(d.getUTCHours(),p,2)}function formatUTCHour12(d,p){return pad$1(d.getUTCHours()%12||12,p,2)}function formatUTCDayOfYear(d,p){return pad$1(1+utcDay.count(utcYear(d),d),p,3)}function formatUTCMilliseconds(d,p){return pad$1(d.getUTCMilliseconds(),p,3)}function formatUTCMicroseconds(d,p){return formatUTCMilliseconds(d,p)+"000"}function formatUTCMonthNumber(d,p){return pad$1(d.getUTCMonth()+1,p,2)}function formatUTCMinutes(d,p){return pad$1(d.getUTCMinutes(),p,2)}function formatUTCSeconds(d,p){return pad$1(d.getUTCSeconds(),p,2)}function formatUTCWeekdayNumberMonday(d){var dow=d.getUTCDay();return 0===dow?7:dow}function formatUTCWeekNumberSunday(d,p){return pad$1(utcSunday.count(utcYear(d),d),p,2)}function formatUTCWeekNumberISO(d,p){var day$$1=d.getUTCDay();d=day$$1>=4||0===day$$1?utcThursday(d):utcThursday.ceil(d);return pad$1(utcThursday.count(utcYear(d),d)+(4===utcYear(d).getUTCDay()),p,2)}function formatUTCWeekdayNumberSunday(d){return d.getUTCDay()}function formatUTCWeekNumberMonday(d,p){return pad$1(utcMonday.count(utcYear(d),d),p,2)}function formatUTCYear(d,p){return pad$1(d.getUTCFullYear()%100,p,2)}function formatUTCFullYear(d,p){return pad$1(d.getUTCFullYear()%1e4,p,4)}function formatUTCZone(){return"+0000"}function formatLiteralPercent(){return"%"}function formatUnixTimestamp(d){return+d}function formatUnixTimestampSeconds(d){return Math.floor(+d/1e3)}var locale;var timeFormat;var timeParse;var utcFormat;var utcParse;defaultLocale({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",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 defaultLocale(definition){locale=formatLocale(definition);timeFormat=locale.format;timeParse=locale.parse;utcFormat=locale.utcFormat;utcParse=locale.utcParse;return locale}var isoSpecifier="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||utcFormat(isoSpecifier);+new Date("2000-01-01T00:00:00.000Z")||utcParse(isoSpecifier);function read(data,schema,dateParse){schema=schema||{};var reader=formats$1(schema.type||"json");reader||error("Unknown data format type: "+schema.type);data=reader(data,schema);schema.parse&&parse(data,schema.parse,dateParse);data.hasOwnProperty("columns")&&delete data.columns;return data}function parse(data,types,dateParse){if(!data.length)return;dateParse=dateParse||timeParse;var parsers,datum,field$$1,i,j,n,m,fields=data.columns||Object.keys(data[0]);"auto"===types&&(types=inferTypes(data,fields));fields=Object.keys(types);parsers=fields.map(function(field$$1){var parts,pattern,type=types[field$$1];if(type&&(0===type.indexOf("date:")||0===type.indexOf("utc:"))){parts=type.split(/:(.+)?/,2);pattern=parts[1];("'"===pattern[0]&&"'"===pattern[pattern.length-1]||'"'===pattern[0]&&'"'===pattern[pattern.length-1])&&(pattern=pattern.slice(1,-1));return"utc"===parts[0]?utcParse(pattern):dateParse(pattern)}if(!typeParsers[type])throw Error("Illegal format pattern: "+field$$1+":"+type);return typeParsers[type]});for(i=0,n=data.length,m=fields.length;i<n;++i){datum=data[i];for(j=0;j<m;++j){field$$1=fields[j];datum[field$$1]=parsers[j](datum[field$$1])}}}function ingest$1(target,data,format){return this.pulse(target,this.changeset().insert(read(data,format)))}function loadPending(df){var accept,reject,pending=new Promise(function(a,r){accept=function(){a(df)};reject=r});pending.requests=0;pending.done=function(){0===--pending.requests&&df.runAfter(function(){df._pending=null;try{df.run();df._pending?df._pending.then(accept):accept()}catch(err){reject(err)}})};return df._pending=pending}function request$1(target,url,format){var df=this,status=0,pending=df._pending||loadPending(df);pending.requests+=1;return df.loader().load(url,{context:"dataflow"}).then(function(data){return read(data,format)},function(error$$1){status=-1;df.error("Loading failed",url,error$$1)}).catch(function(error$$1){status=-2;df.error("Data ingestion failed",url,error$$1)}).then(function(data){df.pulse(target,df.changeset().remove(truthy).insert(data||[]));pending.done();return status})}var SKIP$1={skip:true};function on(source,target,update,params,options){var fn=source instanceof Operator?onOperator:onStream;fn(this,source,target,update,params,options);return this}function onStream(df,stream,target,update,params,options){var func,op,opt=extend({},options,SKIP$1);isFunction(target)||(target=constant(target));if(void 0===update)func=function(e){df.touch(target(e))};else if(isFunction(update)){op=new Operator(null,update,params,false);func=function(e){var v,t=target(e);op.evaluate(e);isChangeSet(v=op.value)?df.pulse(t,v,options):df.update(t,v,opt)}}else func=function(e){df.update(target(e),update,opt)};stream.apply(func)}function onOperator(df,source,target,update,params,options){var func,op;if(void 0===update)op=target;else{func=isFunction(update)?update:constant(update);update=target?function(_,pulse){var value=func(_,pulse);target.skip()||(target.skip(value!==this.value).value=value);return value}:func;op=new Operator(null,update,params,false);op.modified(options&&options.force);op.rank=0;if(target){op.skip(true);op.value=target.value;op.targets().add(target)}}source.targets().add(op)}function rank(op){op.rank=++this._rank}function rerank(op){var cur,list,i,queue=[op];while(queue.length){this.rank(cur=queue.pop());if(list=cur._targets)for(i=list.length;--i>=0;){queue.push(cur=list[i]);cur===op&&error("Cycle detected in dataflow graph.")}}}var StopPropagation={};var ADD=1,REM=2,MOD=4,ADD_REM=ADD|REM,ADD_MOD=ADD|MOD,ALL=ADD|REM|MOD,REFLOW=8,SOURCE=16,NO_SOURCE=32,NO_FIELDS=64;function Pulse(dataflow,stamp,encode){this.dataflow=dataflow;this.stamp=null==stamp?-1:stamp;this.add=[];this.rem=[];this.mod=[];this.fields=null;this.encode=encode||null}var prototype$3=Pulse.prototype;prototype$3.StopPropagation=StopPropagation;prototype$3.ADD=ADD;prototype$3.REM=REM;prototype$3.MOD=MOD;prototype$3.ADD_REM=ADD_REM;prototype$3.ADD_MOD=ADD_MOD;prototype$3.ALL=ALL;prototype$3.REFLOW=REFLOW;prototype$3.SOURCE=SOURCE;prototype$3.NO_SOURCE=NO_SOURCE;prototype$3.NO_FIELDS=NO_FIELDS;prototype$3.fork=function(flags){return new Pulse(this.dataflow).init(this,flags)};prototype$3.clone=function(){var p=this.fork(ALL);p.add=p.add.slice();p.rem=p.rem.slice();p.mod=p.mod.slice();p.source&&(p.source=p.source.slice());return p.materialize(ALL|SOURCE)};prototype$3.addAll=function(){var p=this;if(this.source&&this.source.length!==this.add.length){p=new Pulse(this.dataflow).init(this);p.add=p.source;return p}return p};prototype$3.init=function(src,flags){var p=this;p.stamp=src.stamp;p.encode=src.encode;!src.fields||flags&NO_FIELDS||(p.fields=src.fields);if(flags&ADD){p.addF=src.addF;p.add=src.add}else{p.addF=null;p.add=[]}if(flags&REM){p.remF=src.remF;p.rem=src.rem}else{p.remF=null;p.rem=[]}if(flags&MOD){p.modF=src.modF;p.mod=src.mod}else{p.modF=null;p.mod=[]}if(flags&NO_SOURCE){p.srcF=null;p.source=null}else{p.srcF=src.srcF;p.source=src.source}return p};prototype$3.runAfter=function(func){this.dataflow.runAfter(func)};prototype$3.changed=function(flags){var f=flags||ALL;return f&ADD&&this.add.length||f&REM&&this.rem.length||f&MOD&&this.mod.length};prototype$3.reflow=function(fork){if(fork)return this.fork(ALL).reflow();var len=this.add.length,src=this.source&&this.source.length;if(src&&src!==len){this.mod=this.source;len&&this.filter(MOD,filter(this,ADD))}return this};prototype$3.modifies=function(_){var fields=array(_),hash=this.fields||(this.fields={});fields.forEach(function(f){hash[f]=true});return this};prototype$3.modified=function(_){var fields=this.fields;return!(!this.mod.length||!fields)&&(arguments.length?isArray(_)?_.some(function(f){return fields[f]}):fields[_]:!!fields)};prototype$3.filter=function(flags,filter){var p=this;flags&ADD&&(p.addF=addFilter(p.addF,filter));flags&REM&&(p.remF=addFilter(p.remF,filter));flags&MOD&&(p.modF=addFilter(p.modF,filter));flags&SOURCE&&(p.srcF=addFilter(p.srcF,filter));return p};function addFilter(a,b){return a?function(t,i){return a(t,i)&&b(t,i)}:b}prototype$3.materialize=function(flags){flags=flags||ALL;var p=this;if(flags&ADD&&p.addF){p.add=materialize(p.add,p.addF);p.addF=null}if(flags&REM&&p.remF){p.rem=materialize(p.rem,p.remF);p.remF=null}if(flags&MOD&&p.modF){p.mod=materialize(p.mod,p.modF);p.modF=null}if(flags&SOURCE&&p.srcF){p.source=p.source.filter(p.srcF);p.srcF=null}return p};function materialize(data,filter){var out=[];visitArray(data,filter,function(_){out.push(_)});return out}function filter(pulse,flags){var map={};pulse.visit(flags,function(t){map[tupleid(t)]=1});return function(t){return map[tupleid(t)]?null:t}}prototype$3.visit=function(flags,visitor){var src,sum,p=this,v=visitor;if(flags&SOURCE){visitArray(p.source,p.srcF,v);return p}flags&ADD&&visitArray(p.add,p.addF,v);flags&REM&&visitArray(p.rem,p.remF,v);flags&MOD&&visitArray(p.mod,p.modF,v);if(flags&REFLOW&&(src=p.source)){sum=p.add.length+p.mod.length;sum===src.length||visitArray(src,sum?filter(p,ADD_MOD):p.srcF,v)}return p};function MultiPulse(dataflow,stamp,pulses,encode){var pulse,hash,i,n,f,p=this,c=0;this.dataflow=dataflow;this.stamp=stamp;this.fields=null;this.encode=encode||null;this.pulses=pulses;for(i=0,n=pulses.length;i<n;++i){pulse=pulses[i];if(pulse.stamp!==stamp)continue;if(pulse.fields){hash=p.fields||(p.fields={});for(f in pulse.fields)hash[f]=1}pulse.changed(p.ADD)&&(c|=p.ADD);pulse.changed(p.REM)&&(c|=p.REM);pulse.changed(p.MOD)&&(c|=p.MOD)}this.changes=c}var prototype$4=inherits(MultiPulse,Pulse);prototype$4.fork=function(flags){var p=new Pulse(this.dataflow).init(this,flags&this.NO_FIELDS);if(void 0!==flags){flags&p.ADD&&this.visit(p.ADD,function(t){return p.add.push(t)});flags&p.REM&&this.visit(p.REM,function(t){return p.rem.push(t)});flags&p.MOD&&this.visit(p.MOD,function(t){return p.mod.push(t)})}return p};prototype$4.changed=function(flags){return this.changes&flags};prototype$4.modified=function(_){var p=this,fields=p.fields;return fields&&p.changes&p.MOD?isArray(_)?_.some(function(f){return fields[f]}):fields[_]:0};prototype$4.filter=function(){error("MultiPulse does not support filtering.")};prototype$4.materialize=function(){error("MultiPulse does not support materialization.")};prototype$4.visit=function(flags,visitor){var p=this,pulses=p.pulses,n=pulses.length,i=0;if(flags&p.SOURCE)for(;i<n;++i)pulses[i].visit(flags,visitor);else for(;i<n;++i)pulses[i].stamp===p.stamp&&pulses[i].visit(flags,visitor);return p};function run(encode){var op,next,dt,error$$1,df=this,count=0,level=df.logLevel();if(df._pending){df.info("Awaiting requests, delaying dataflow run.");return 0}if(df._pulse){df.error("Dataflow invoked recursively. Use the runAfter method to queue invocation.");return 0}if(!df._touched.length){df.info("Dataflow invoked, but nothing to do.");return 0}df._pulse=new Pulse(df,++df._clock,encode);if(level>=Info){dt=Date.now();df.debug("-- START PROPAGATION ("+df._clock+") -----")}df._touched.forEach(function(op){df._enqueue(op,true)});df._touched=UniqueList(id);try{while(df._heap.size()>0){op=df._heap.pop();if(op.rank!==op.qrank){df._enqueue(op,true);continue}next=op.run(df._getPulse(op,encode));level>=Debug&&df.debug(op.id,next===StopPropagation?"STOP":next,op);if(next!==StopPropagation){df._pulse=next;op._targets&&op._targets.forEach(function(op){df._enqueue(op)})}++count}}catch(err){error$$1=err}df._pulses={};df._pulse=null;if(level>=Info){dt=Date.now()-dt;df.info("> Pulse "+df._clock+": "+count+" operators; "+dt+"ms")}if(error$$1){df._postrun=[];df.error(error$$1)}if(df._onrun)try{df._onrun(df,count,error$$1)}catch(err){df.error(err)}if(df._postrun.length){var postrun=df._postrun;df._postrun=[];postrun.sort(function(a,b){return b.priority-a.priority}).forEach(function(_){invokeCallback(df,_.callback)})}return this}function invokeCallback(df,callback){try{callback(df)}catch(err){df.error(err)}}function runAsync(){return this._pending||this.run()&&this._pending||Promise.resolve(this)}function runAfter(callback,enqueue,priority){this._pulse||enqueue?this._postrun.push({priority:priority||0,callback:callback}):invokeCallback(this,callback)}function enqueue(op,force){var p=!this._pulses[op.id];p&&(this._pulses[op.id]=this._pulse);if(p||force){op.qrank=op.rank;this._heap.push(op)}}function getPulse(op,encode){var p,s=op.source,stamp=this._clock;if(s&&isArray(s)){p=s.map(function(_){return _.pulse});return new MultiPulse(this,stamp,p,encode)}p=this._pulses[op.id];if(s){s=s.pulse;s&&s!==StopPropagation?s.stamp===stamp&&p.target!==op?p=s:p.source=s.source:p.source=[]}return p}var NO_OPT={skip:false,force:false};function touch(op,options){var opt=options||NO_OPT;this._pulse?this._enqueue(op):this._touched.add(op);opt.skip&&op.skip(true);return this}function update(op,value,options){var opt=options||NO_OPT;(op.set(value)||opt.force)&&this.touch(op,opt);return this}function pulse(op,changeset,options){this.touch(op,options||NO_OPT);var p=new Pulse(this,this._clock+(this._pulse?0:1)),t=op.pulse&&op.pulse.source||[];p.target=op;this._pulses[op.id]=changeset.pulse(p,t);return this}function Heap(comparator){this.cmp=comparator;this.nodes=[]}var prototype$5=Heap.prototype;prototype$5.size=function(){return this.nodes.length};prototype$5.clear=function(){this.nodes=[];return this};prototype$5.peek=function(){return this.nodes[0]};prototype$5.push=function(x){var array=this.nodes;array.push(x);return siftdown(array,0,array.length-1,this.cmp)};prototype$5.pop=function(){var item,array=this.nodes,last=array.pop();if(array.length){item=array[0];array[0]=last;siftup(array,0,this.cmp)}else item=last;return item};prototype$5.replace=function(item){var array=this.nodes,retval=array[0];array[0]=item;siftup(array,0,this.cmp);return retval};prototype$5.pushpop=function(item){var array=this.nodes,ref=array[0];if(array.length&&this.cmp(ref,item)<0){array[0]=item;item=ref;siftup(array,0,this.cmp)}return item};function siftdown(array,start,idx,cmp){var item,parent,pidx;item=array[idx];while(idx>start){pidx=idx-1>>1;parent=array[pidx];if(cmp(item,parent)<0){array[idx]=parent;idx=pidx;continue}break}return array[idx]=item}function siftup(array,idx,cmp){var ridx,start=idx,end=array.length,item=array[idx],cidx=2*idx+1;while(cidx<end){ridx=cidx+1;ridx<end&&cmp(array[cidx],array[ridx])>=0&&(cidx=ridx);array[idx]=array[cidx];idx=cidx;cidx=2*idx+1}array[idx]=item;return siftdown(array,start,idx,cmp)}function Dataflow(){this._log=logger();this.logLevel(Error$1);this._clock=0;this._rank=0;try{this._loader=loader()}catch(e){}this._touched=UniqueList(id);this._pulses={};this._pulse=null;this._heap=new Heap(function(a,b){return a.qrank-b.qrank});this._postrun=[]}var prototype$6=Dataflow.prototype;prototype$6.stamp=function(){return this._clock};prototype$6.loader=function(_){if(arguments.length){this._loader=_;return this}return this._loader};prototype$6.cleanThreshold=1e4;prototype$6.add=add;prototype$6.connect=connect;prototype$6.rank=rank;prototype$6.rerank=rerank;prototype$6.pulse=pulse;prototype$6.touch=touch;prototype$6.update=update;prototype$6.changeset=changeset;prototype$6.ingest=ingest$1;prototype$6.request=request$1;prototype$6.events=events;prototype$6.on=on;prototype$6.run=run;prototype$6.runAsync=runAsync;prototype$6.runAfter=runAfter;prototype$6._enqueue=enqueue;prototype$6._getPulse=getPulse;function logMethod(method){return function(){return this._log[method].apply(this,arguments)}}prototype$6.error=logMethod("error");prototype$6.warn=logMethod("warn");prototype$6.info=logMethod("info");prototype$6.debug=logMethod("debug");prototype$6.logLevel=logMethod("level");function Transform(init,params){Operator.call(this,init,null,params)}var prototype$7=inherits(Transform,Operator);prototype$7.run=function(pulse){if(pulse.stamp<=this.stamp)return pulse.StopPropagation;var rv;this.skip()?this.skip(false):rv=this.evaluate(pulse);rv=rv||pulse;rv!==pulse.StopPropagation&&(this.pulse=rv);this.stamp=pulse.stamp;return rv};prototype$7.evaluate=function(pulse){var params=this.marshall(pulse.stamp),out=this.transform(params,pulse);params.clear();return out};prototype$7.transform=function(){};var transforms={};function definition(type){var t=transform$1(type);return t&&t.Definition||null}function transform$1(type){type=type&&type.toLowerCase();return transforms.hasOwnProperty(type)?transforms[type]:null}function multikey(f){return function(x){var n=f.length,i=1,k=String(f[0](x));for(;i<n;++i)k+="|"+f[i](x);return k}}function groupkey(fields){return fields&&fields.length?1===fields.length?fields[0]:multikey(fields):function(){return""}}function measureName(op,field$$1,as){return as||op+(field$$1?"_"+field$$1:"")}var AggregateOps={values:measure({name:"values",init:"cell.store = true;",set:"cell.data.values()",idx:-1}),count:measure({name:"count",set:"cell.num"}),__count__:measure({name:"count",set:"this.missing + this.valid"}),missing:measure({name:"missing",set:"this.missing"}),valid:measure({name:"valid",set:"this.valid"}),sum:measure({name:"sum",init:"this.sum = 0;",add:"this.sum += +v;",rem:"this.sum -= v;",set:"this.sum"}),mean:measure({name:"mean",init:"this.mean = 0;",add:"var d = v - this.mean; this.mean += d / this.valid;",rem:"var d = v - this.mean; this.mean -= this.valid ? d / this.valid : this.mean;",set:"this.valid ? this.mean : undefined"}),average:measure({name:"average",set:"this.valid ? this.mean : undefined",req:["mean"],idx:1}),variance:measure({name:"variance",init:"this.dev = 0;",add:"this.dev += d * (v - this.mean);",rem:"this.dev -= d * (v - this.mean);",set:"this.valid > 1 ? this.dev / (this.valid-1) : undefined",req:["mean"],idx:1}),variancep:measure({name:"variancep",set:"this.valid > 1 ? this.dev / this.valid : undefined",req:["variance"],idx:2}),stdev:measure({name:"stdev",set:"this.valid > 1 ? Math.sqrt(this.dev / (this.valid-1)) : undefined",req:["variance"],idx:2}),stdevp:measure({name:"stdevp",set:"this.valid > 1 ? Math.sqrt(this.dev / this.valid) : undefined",req:["variance"],idx:2}),stderr:measure({name:"stderr",set:"this.valid > 1 ? Math.sqrt(this.dev / (this.valid * (this.valid-1))) : undefined",req:["variance"],idx:2}),distinct:measure({name:"distinct",set:"cell.data.distinct(this.get)",req:["values"],idx:3}),ci0:measure({name:"ci0",set:"cell.data.ci0(this.get)",req:["values"],idx:3}),ci1:measure({name:"ci1",set:"cell.data.ci1(this.get)",req:["values"],idx:3}),median:measure({name:"median",set:"cell.data.q2(this.get)",req:["values"],idx:3}),q1:measure({name:"q1",set:"cell.data.q1(this.get)",req:["values"],idx:3}),q3:measure({name:"q3",set:"cell.data.q3(this.get)",req:["values"],idx:3}),argmin:measure({name:"argmin",init:"this.argmin = undefined;",add:"if (v < this.min) this.argmin = t;",rem:"if (v <= this.min) this.argmin = undefined;",set:"this.argmin || cell.data.argmin(this.get)",req:["min"],str:["values"],idx:3}),argmax:measure({name:"argmax",init:"this.argmax = undefined;",add:"if (v > this.max) this.argmax = t;",rem:"if (v >= this.max) this.argmax = undefined;",set:"this.argmax || cell.data.argmax(this.get)",req:["max"],str:["values"],idx:3}),min:measure({name:"min",init:"this.min = undefined;",add:"if (v < this.min || this.min === undefined) this.min = v;",rem:"if (v <= this.min) this.min = NaN;",set:"this.min = (isNaN(this.min) ? cell.data.min(this.get) : this.min)",str:["values"],idx:4}),max:measure({name:"max",init:"this.max = undefined;",add:"if (v > this.max || this.max === undefined) this.max = v;",rem:"if (v >= this.max) this.max = NaN;",set:"this.max = (isNaN(this.max) ? cell.data.max(this.get) : this.max)",str:["values"],idx:4})};var ValidAggregateOps=Object.keys(AggregateOps);function createMeasure(op,name){return AggregateOps[op](name)}function measure(base){return function(out){var m=extend({init:"",add:"",rem:"",idx:0},base);m.out=out||base.name;return m}}function compareIndex(a,b){return a.idx-b.idx}function resolve(agg,stream){function collect(m,a){function helper(r){m[r]||collect(m,m[r]=AggregateOps[r]())}a.req&&a.req.forEach(helper);stream&&a.str&&a.str.forEach(helper);return m}var map=agg.reduce(collect,agg.reduce(function(m,a){m[a.name]=a;return m},{}));var key$$1,values=[];for(key$$1 in map)values.push(map[key$$1]);return values.sort(compareIndex)}function compileMeasures(agg,field$$1){var get=field$$1||identity,all=resolve(agg,true),init="var cell = this.cell; this.valid = 0; this.missing = 0;",ctr="this.cell = cell; this.init();",add="if(v==null){++this.missing; return;} if(v!==v) return; ++this.valid;",rem="if(v==null){--this.missing; return;} if(v!==v) return; --this.valid;",set="var cell = this.cell;";all.forEach(function(a){init+=a.init;add+=a.add;rem+=a.rem});agg.slice().sort(compareIndex).forEach(function(a){set+="t['"+a.out+"']="+a.set+";"});set+="return t;";ctr=Function("cell",ctr);ctr.prototype.init=Function(init);ctr.prototype.add=Function("v","t",add);ctr.prototype.rem=Function("v","t",rem);ctr.prototype.set=Function("t",set);ctr.prototype.get=get;ctr.fields=agg.map(function(_){return _.out});return ctr}function bin(_){var step,level,minstep,precision,v,i,n,eps,maxb=_.maxbins||20,base=_.base||10,logb=Math.log(base),div=_.divide||[5,2],min=_.extent[0],max=_.extent[1],span=max-min;if(_.step)step=_.step;else if(_.steps){v=span/maxb;for(i=0,n=_.steps.length;i<n&&_.steps[i]<v;++i);step=_.steps[Math.max(0,i-1)]}else{level=Math.ceil(Math.log(maxb)/logb);minstep=_.minstep||0;step=Math.max(minstep,Math.pow(base,Math.round(Math.log(span)/logb)-level));while(Math.ceil(span/step)>maxb)step*=base;for(i=0,n=div.length;i<n;++i){v=step/div[i];v>=minstep&&span/v<=maxb&&(step=v)}}v=Math.log(step);precision=v>=0?0:1+~~(-v/logb);eps=Math.pow(base,-precision-1);if(_.nice||void 0===_.nice){v=Math.floor(min/step+eps)*step;min=min<v?v-step:v;max=Math.ceil(max/step)*step}return{start:min,stop:max,step:step}}function numbers(array,f){var a,numbers=[],n=array.length,i=-1;if(null==f)while(++i<n)isNaN(a=number(array[i]))||numbers.push(a);else while(++i<n)isNaN(a=number(f(array[i],i,array)))||numbers.push(a);return numbers}function number(x){return null===x?NaN:+x}exports.random=Math.random;function setRandom(r){exports.random=r}function ascending(a,b){return a<b?-1:a>b?1:a>=b?0:NaN}function bisector(compare){1===compare.length&&(compare=ascendingComparator(compare));return{left:function(a,x,lo,hi){null==lo&&(lo=0);null==hi&&(hi=a.length);while(lo<hi){var mid=lo+hi>>>1;compare(a[mid],x)<0?lo=mid+1:hi=mid}return lo},right:function(a,x,lo,hi){null==lo&&(lo=0);null==hi&&(hi=a.length);while(lo<hi){var mid=lo+hi>>>1;compare(a[mid],x)>0?hi=mid:lo=mid+1}return lo}}}function ascendingComparator(f){return function(d,x){return ascending(f(d),x)}}var ascendingBisect=bisector(ascending);var bisectRight=ascendingBisect.right;var bisectLeft=ascendingBisect.left;function number$1(x){return null===x?NaN:+x}function variance(values,valueof){var value,delta,n=values.length,m=0,i=-1,mean=0,sum=0;if(null==valueof){while(++i<n)if(!isNaN(value=number$1(values[i]))){delta=value-mean;mean+=delta/++m;sum+=delta*(value-mean)}}else while(++i<n)if(!isNaN(value=number$1(valueof(values[i],i,values)))){delta=value-mean;mean+=delta/++m;sum+=delta*(value-mean)}if(m>1)return sum/(m-1)}function extent(values,valueof){var value,min,max,n=values.length,i=-1;if(null==valueof){while(++i<n)if(null!=(value=values[i])&&value>=value){min=max=value;while(++i<n)if(null!=(value=values[i])){min>value&&(min=value);max<value&&(max=value)}}}else while(++i<n)if(null!=(value=valueof(values[i],i,values))&&value>=value){min=max=value;while(++i<n)if(null!=(value=valueof(values[i],i,values))){min>value&&(min=value);max<value&&(max=value)}}return[min,max]}function range(start,stop,step){start=+start,stop=+stop,step=(n=arguments.length)<2?(stop=start,start=0,1):n<3?1:+step;var i=-1,n=0|Math.max(0,Math.ceil((stop-start)/step)),range=new Array(n);while(++i<n)range[i]=start+i*step;return range}var e10=Math.sqrt(50),e5=Math.sqrt(10),e2=Math.sqrt(2);function ticks(start,stop,count){var reverse,n,ticks,step,i=-1;stop=+stop,start=+start,count=+count;if(start===stop&&count>0)return[start];(reverse=stop<start)&&(n=start,start=stop,stop=n);if(0===(step=tickIncrement(start,stop,count))||!isFinite(step))return[];if(step>0){start=Math.ceil(start/step);stop=Math.floor(stop/step);ticks=new Array(n=Math.ceil(stop-start+1));while(++i<n)ticks[i]=(start+i)*step}else{start=Math.floor(start*step);stop=Math.ceil(stop*step);ticks=new Array(n=Math.ceil(start-stop+1));while(++i<n)ticks[i]=(start-i)/step}reverse&&ticks.reverse();return ticks}function tickIncrement(start,stop,count){var step=(stop-start)/Math.max(0,count),power=Math.floor(Math.log(step)/Math.LN10),error=step/Math.pow(10,power);return power>=0?(error>=e10?10:error>=e5?5:error>=e2?2:1)*Math.pow(10,power):-Math.pow(10,-power)/(error>=e10?10:error>=e5?5:error>=e2?2:1)}function tickStep(start,stop,count){var step0=Math.abs(stop-start)/Math.max(0,count),step1=Math.pow(10,Math.floor(Math.log(step0)/Math.LN10)),error=step0/step1;error>=e10?step1*=10:error>=e5?step1*=5:error>=e2&&(step1*=2);return stop<start?-step1:step1}function thresholdSturges(values){return Math.ceil(Math.log(values.length)/Math.LN2)+1}function quantile(values,p,valueof){null==valueof&&(valueof=number$1);if(!(n=values.length))return;if((p=+p)<=0||n<2)return+valueof(values[0],0,values);if(p>=1)return+valueof(values[n-1],n-1,values);var n,i=(n-1)*p,i0=Math.floor(i),value0=+valueof(values[i0],i0,values),value1=+valueof(values[i0+1],i0+1,values);return value0+(value1-value0)*(i-i0)}function max(values,valueof){var value,max,n=values.length,i=-1;if(null==valueof){while(++i<n)if(null!=(value=values[i])&&value>=value){max=value;while(++i<n)null!=(value=values[i])&&value>max&&(max=value)}}else while(++i<n)if(null!=(value=valueof(values[i],i,values))&&value>=value){max=value;while(++i<n)null!=(value=valueof(values[i],i,values))&&value>max&&(max=value)}return max}function mean(values,valueof){var value,n=values.length,m=n,i=-1,sum=0;if(null==valueof)while(++i<n)isNaN(value=number$1(values[i]))?--m:sum+=value;else while(++i<n)isNaN(value=number$1(valueof(values[i],i,values)))?--m:sum+=value;if(m)return sum/m}function median(values,valueof){var value,n=values.length,i=-1,numbers=[];if(null==valueof)while(++i<n)isNaN(value=number$1(values[i]))||numbers.push(value);else while(++i<n)isNaN(value=number$1(valueof(values[i],i,values)))||numbers.push(value);return quantile(numbers.sort(ascending),.5)}function merge$2(arrays){var m,merged,array,n=arrays.length,i=-1,j=0;while(++i<n)j+=arrays[i].length;merged=new Array(j);while(--n>=0){array=arrays[n];m=array.length;while(--m>=0)merged[--j]=array[m]}return merged}function min(values,valueof){var value,min,n=values.length,i=-1;if(null==valueof){while(++i<n)if(null!=(value=values[i])&&value>=value){min=value;while(++i<n)null!=(value=values[i])&&min>value&&(min=value)}}else while(++i<n)if(null!=(value=valueof(values[i],i,values))&&value>=value){min=value;while(++i<n)null!=(value=valueof(values[i],i,values))&&min>value&&(min=value)}return min}function permute(array,indexes){var i=indexes.length,permutes=new Array(i);while(i--)permutes[i]=array[indexes[i]];return permutes}function sum(values,valueof){var value,n=values.length,i=-1,sum=0;if(null==valueof)while(++i<n)(value=+values[i])&&(sum+=value);else while(++i<n)(value=+valueof(values[i],i,values))&&(sum+=value);return sum}function bootstrapCI(array,samples,alpha,f){if(!array.length)return[void 0,void 0];var a,i,j,mu,values=numbers(array,f),n=values.length,m=samples;for(j=0,mu=Array(m);j<m;++j){for(a=0,i=0;i<n;++i)a+=values[~~(exports.random()*n)];mu[j]=a/n}return[quantile(mu.sort(ascending),alpha/2),quantile(mu,1-alpha/2)]}function quartiles(array,f){var values=numbers(array,f);return[quantile(values.sort(ascending),.25),quantile(values,.5),quantile(values,.75)]}function integer(min,max){if(null==max){max=min;min=0}var a,b,d,dist={};dist.min=function(_){if(arguments.length){a=_||0;d=b-a;return dist}return a};dist.max=function(_){if(arguments.length){b=_||0;d=b-a;return dist}return b};dist.sample=function(){return a+Math.floor(d*exports.random())};dist.pdf=function(x){return x===Math.floor(x)&&x>=a&&x<b?1/d:0};dist.cdf=function(x){var v=Math.floor(x);return v<a?0:v>=b?1:(v-a+1)/d};dist.icdf=function(p){return p>=0&&p<=1?a-1+Math.floor(p*d):NaN};return dist.min(min).max(max)}function randomNormal(mean,stdev){var mu,sigma,next=NaN,dist={};dist.mean=function(_){if(arguments.length){mu=_||0;next=NaN;return dist}return mu};dist.stdev=function(_){if(arguments.length){sigma=null==_?1:_;next=NaN;return dist}return sigma};dist.sample=function(){var rds,c,x=0,y=0;if(next===next){x=next;next=NaN;return x}do{x=2*exports.random()-1;y=2*exports.random()-1;rds=x*x+y*y}while(0===rds||rds>1);c=Math.sqrt(-2*Math.log(rds)/rds);next=mu+y*c*sigma;return mu+x*c*sigma};dist.pdf=function(x){var exp=Math.exp(Math.pow(x-mu,2)/(-2*Math.pow(sigma,2)));return 1/(sigma*Math.sqrt(2*Math.PI))*exp};dist.cdf=function(x){var cd,z=(x-mu)/sigma,Z=Math.abs(z);if(Z>37)cd=0;else{var sum,exp=Math.exp(-Z*Z/2);if(Z<7.07106781186547){sum=.0352624965998911*Z+.700383064443688;sum=sum*Z+6.37396220353165;sum=sum*Z+33.912866078383;sum=sum*Z+112.079291497871;sum=sum*Z+221.213596169931;sum=sum*Z+220.206867912376;cd=exp*sum;sum=.0883883476483184*Z+1.75566716318264;sum=sum*Z+16.064177579207;sum=sum*Z+86.7807322029461;sum=sum*Z+296.564248779674;sum=sum*Z+637.333633378831;sum=sum*Z+793.826512519948;sum=sum*Z+440.413735824752;cd/=sum}else{sum=Z+.65;sum=Z+4/sum;sum=Z+3/sum;sum=Z+2/sum;sum=Z+1/sum;cd=exp/sum/2.506628274631}}return z>0?1-cd:cd};dist.icdf=function(p){if(p<=0||p>=1)return NaN;var x=2*p-1,v=8*(Math.PI-3)/(3*Math.PI*(4-Math.PI)),a=2/(Math.PI*v)+Math.log(1-Math.pow(x,2))/2,b=Math.log(1-x*x)/v,s=(x>0?1:-1)*Math.sqrt(Math.sqrt(a*a-b)-a);return mu+sigma*Math.SQRT2*s};return dist.mean(mean).stdev(stdev)}function randomKDE(support,bandwidth){var kernel=randomNormal(),dist={},n=0;dist.data=function(_){if(arguments.length){support=_;n=_?_.length:0;return dist.bandwidth(bandwidth)}return support};dist.bandwidth=function(_){if(!arguments.length)return bandwidth;bandwidth=_;!bandwidth&&support&&(bandwidth=estimateBandwidth(support));return dist};dist.sample=function(){return support[~~(exports.random()*n)]+bandwidth*kernel.sample()};dist.pdf=function(x){for(var y=0,i=0;i<n;++i)y+=kernel.pdf((x-support[i])/bandwidth);return y/bandwidth/n};dist.cdf=function(x){for(var y=0,i=0;i<n;++i)y+=kernel.cdf((x-support[i])/bandwidth);return y/n};dist.icdf=function(){throw Error("KDE icdf not supported.")};return dist.data(support)}function estimateBandwidth(array){var n=array.length,q=quartiles(array),h=(q[2]-q[0])/1.34;return 1.06*Math.min(Math.sqrt(variance(array)),h)*Math.pow(n,-.2)}function randomMixture(dists,weights){var w,dist={},m=0;function normalize(x){var i,w=[],sum=0;for(i=0;i<m;++i)sum+=w[i]=null==x[i]?1:+x[i];for(i=0;i<m;++i)w[i]/=sum;return w}dist.weights=function(_){if(arguments.length){w=normalize(weights=_||[]);return dist}return weights};dist.distributions=function(_){if(arguments.length){if(_){m=_.length;dists=_}else{m=0;dists=[]}return dist.weights(weights)}return dists};dist.sample=function(){var r=exports.random(),d=dists[m-1],v=w[0],i=0;for(;i<m-1;v+=w[++i])if(r<v){d=dists[i];break}return d.sample()};dist.pdf=function(x){for(var p=0,i=0;i<m;++i)p+=w[i]*dists[i].pdf(x);return p};dist.cdf=function(x){for(var p=0,i=0;i<m;++i)p+=w[i]*dists[i].cdf(x);return p};dist.icdf=function(){throw Error("Mixture icdf not supported.")};return dist.distributions(dists).weights(weights)}function randomUniform(min,max){if(null==max){max=null==min?1:min;min=0}var a,b,d,dist={};dist.min=function(_){if(arguments.length){a=_||0;d=b-a;return dist}return a};dist.max=function(_){if(arguments.length){b=_||0;d=b-a;return dist}return b};dist.sample=function(){return a+d*exports.random()};dist.pdf=function(x){return x>=a&&x<=b?1/d:0};dist.cdf=function(x){return x<a?0:x>b?1:(x-a)/d};dist.icdf=function(p){return p>=0&&p<=1?a+p*d:NaN};return dist.min(min).max(max)}function TupleStore(key$$1){this._key=key$$1?field(key$$1):tupleid;this.reset()}var prototype$8=TupleStore.prototype;prototype$8.reset=function(){this._add=[];this._rem=[];this._ext=null;this._get=null;this._q=null};prototype$8.add=function(v){this._add.push(v)};prototype$8.rem=function(v){this._rem.push(v)};prototype$8.values=function(){this._get=null;if(0===this._rem.length)return this._add;var i,j,v,a=this._add,r=this._rem,k=this._key,n=a.length,m=r.length,x=Array(n-m),map={};for(i=0;i<m;++i)map[k(r[i])]=1;for(i=0,j=0;i<n;++i)map[k(v=a[i])]?map[k(v)]=0:x[j++]=v;this._rem=[];return this._add=x};prototype$8.distinct=function(get){var s,v=this.values(),n=v.length,map={},count=0;while(--n>=0){s=get(v[n])+"";if(!map.hasOwnProperty(s)){map[s]=1;++count}}return count};prototype$8.extent=function(get){if(this._get!==get||!this._ext){var v=this.values(),i=extentIndex(v,get);this._ext=[v[i[0]],v[i[1]]];this._get=get}return this._ext};prototype$8.argmin=function(get){return this.extent(get)[0]||{}};prototype$8.argmax=function(get){return this.extent(get)[1]||{}};prototype$8.min=function(get){var m=this.extent(get)[0];return null!=m?get(m):void 0};prototype$8.max=function(get){var m=this.extent(get)[1];return null!=m?get(m):void 0};prototype$8.quartile=function(get){if(this._get!==get||!this._q){this._q=quartiles(this.values(),get);this._get=get}return this._q};prototype$8.q1=function(get){return this.quartile(get)[0]};prototype$8.q2=function(get){return this.quartile(get)[1]};prototype$8.q3=function(get){return this.quartile(get)[2]};prototype$8.ci=function(get){if(this._get!==get||!this._ci){this._ci=bootstrapCI(this.values(),1e3,.05,get);this._get=get}return this._ci};prototype$8.ci0=function(get){return this.ci(get)[0]};prototype$8.ci1=function(get){return this.ci(get)[1]};function Aggregate(params){Transform.call(this,null,params);this._adds=[];this._mods=[];this._alen=0;this._mlen=0;this._drop=true;this._cross=false;this._dims=[];this._dnames=[];this._measures=[];this._countOnly=false;this._counts=null;this._prev=null;this._inputs=null;this._outputs=null}Aggregate.Definition={type:"Aggregate",metadata:{generates:true,changes:true},params:[{name:"groupby",type:"field",array:true},{name:"ops",type:"enum",array:true,values:ValidAggregateOps},{name:"fields",type:"field",null:true,array:true},{name:"as",type:"string",null:true,array:true},{name:"drop",type:"boolean",default:true},{name:"cross",type:"boolean",default:false},{name:"key",type:"field"}]};var prototype$9=inherits(Aggregate,Transform);prototype$9.transform=function(_,pulse){var mod,aggr=this,out=pulse.fork(pulse.NO_SOURCE|pulse.NO_FIELDS);this.stamp=out.stamp;if(this.value&&((mod=_.modified())||pulse.modified(this._inputs))){this._prev=this.value;this.value=mod?this.init(_):{};pulse.visit(pulse.SOURCE,function(t){aggr.add(t)})}else{this.value=this.value||this.init(_);pulse.visit(pulse.REM,function(t){aggr.rem(t)});pulse.visit(pulse.ADD,function(t){aggr.add(t)})}out.modifies(this._outputs);aggr._drop=false!==_.drop;if(_.cross&&aggr._dims.length>1){aggr._drop=false;this.cross()}return aggr.changes(out)};prototype$9.cross=function(){var aggr=this,curr=aggr.value,dims=aggr._dnames,vals=dims.map(function(){return{}}),n=dims.length;function collect(cells){var key$$1,i,t,v;for(key$$1 in cells){t=cells[key$$1].tuple;for(i=0;i<n;++i)vals[i][v=t[dims[i]]]=v}}collect(aggr._prev);collect(curr);function generate(base,tuple,index){var k,key$$1,name=dims[index],v=vals[index++];for(k in v){tuple[name]=v[k];key$$1=base?base+"|"+k:k;index<n?generate(key$$1,tuple,index):curr[key$$1]||aggr.cell(key$$1,tuple)}}generate("",{},0)};prototype$9.init=function(_){var inputs=this._inputs=[],outputs=this._outputs=[],inputMap={};function inputVisit(get){var f,fields=array(accessorFields(get)),i=0,n=fields.length;for(;i<n;++i)if(!inputMap[f=fields[i]]){inputMap[f]=1;inputs.push(f)}}this._dims=array(_.groupby);this._dnames=this._dims.map(function(d){var dname=accessorName(d);inputVisit(d);outputs.push(dname);return dname});this.cellkey=_.key?_.key:groupkey(this._dims);this._countOnly=true;this._counts=[];this._measures=[];var field$$1,op,m,mname,outname,i,fields=_.fields||[null],ops=_.ops||["count"],as=_.as||[],n=fields.length,map={};n!==ops.length&&error("Unmatched number of fields and aggregate ops.");for(i=0;i<n;++i){field$$1=fields[i];op=ops[i];null==field$$1&&"count"!==op&&error("Null aggregate field specified.");mname=accessorName(field$$1);outname=measureName(op,mname,as[i]);outputs.push(outname);if("count"===op){this._counts.push(outname);continue}m=map[mname];if(!m){inputVisit(field$$1);m=map[mname]=[];m.field=field$$1;this._measures.push(m)}"count"!==op&&(this._countOnly=false);m.push(createMeasure(op,outname))}this._measures=this._measures.map(function(m){return compileMeasures(m,m.field)});return{}};prototype$9.cellkey=groupkey();prototype$9.cell=function(key$$1,t){var cell=this.value[key$$1];if(cell){if(0===cell.num&&this._drop&&cell.stamp<this.stamp){cell.stamp=this.stamp;this._adds[this._alen++]=cell}else if(cell.stamp<this.stamp){cell.stamp=this.stamp;this._mods[this._mlen++]=cell}}else{cell=this.value[key$$1]=this.newcell(key$$1,t);this._adds[this._alen++]=cell}return cell};prototype$9.newcell=function(key$$1,t){var cell={key:key$$1,num:0,agg:null,tuple:this.newtuple(t,this._prev&&this._prev[key$$1]),stamp:this.stamp,store:false};if(!this._countOnly){var i,measures=this._measures,n=measures.length;cell.agg=Array(n);for(i=0;i<n;++i)cell.agg[i]=new measures[i](cell)}cell.store&&(cell.data=new TupleStore);return cell};prototype$9.newtuple=function(t,p){var i,n,names=this._dnames,dims=this._dims,x={};for(i=0,n=dims.length;i<n;++i)x[names[i]]=dims[i](t);return p?replace(p.tuple,x):ingest(x)};prototype$9.add=function(t){var agg,i,n,key$$1=this.cellkey(t),cell=this.cell(key$$1,t);cell.num+=1;if(this._countOnly)return;cell.store&&cell.data.add(t);agg=cell.agg;for(i=0,n=agg.length;i<n;++i)agg[i].add(agg[i].get(t),t)};prototype$9.rem=function(t){var agg,i,n,key$$1=this.cellkey(t),cell=this.cell(key$$1,t);cell.num-=1;if(this._countOnly)return;cell.store&&cell.data.rem(t);agg=cell.agg;for(i=0,n=agg.length;i<n;++i)agg[i].rem(agg[i].get(t),t)};prototype$9.celltuple=function(cell){var agg,i,n,tuple=cell.tuple,counts=this._counts;cell.store&&cell.data.values();for(i=0,n=counts.length;i<n;++i)tuple[counts[i]]=cell.num;if(!this._countOnly){agg=cell.agg;for(i=0,n=agg.length;i<n;++i)agg[i].set(tuple)}return tuple};prototype$9.changes=function(out){var cell,key$$1,i,n,adds=this._adds,mods=this._mods,prev=this._prev,drop=this._drop,add=out.add,rem=out.rem,mod=out.mod;if(prev)for(key$$1 in prev){cell=prev[key$$1];drop&&!cell.num||rem.push(cell.tuple)}for(i=0,n=this._alen;i<n;++i){add.push(this.celltuple(adds[i]));adds[i]=null}for(i=0,n=this._mlen;i<n;++i){cell=mods[i];(0===cell.num&&drop?rem:mod).push(this.celltuple(cell));mods[i]=null}this._alen=this._mlen=0;this._prev=null;return out};function Bin(params){Transform.call(this,null,params)}Bin.Definition={type:"Bin",metadata:{modifies:true},params:[{name:"field",type:"field",required:true},{name:"anchor",type:"number"},{name:"maxbins",type:"number",default:20},{name:"base",type:"number",default:10},{name:"divide",type:"number",array:true,default:[5,2]},{name:"extent",type:"number",array:true,length:2,required:true},{name:"step",type:"number"},{name:"steps",type:"number",array:true},{name:"minstep",type:"number",default:0},{name:"nice",type:"boolean",default:true},{name:"name",type:"string"},{name:"as",type:"string",array:true,length:2,default:["bin0","bin1"]}]};var prototype$a=inherits(Bin,Transform);prototype$a.transform=function(_,pulse){var flag,bins=this._bins(_),start=bins.start,step=bins.step,as=_.as||["bin0","bin1"],b0=as[0],b1=as[1];if(_.modified()){pulse=pulse.reflow(true);flag=pulse.SOURCE}else flag=pulse.modified(accessorFields(_.field))?pulse.ADD_MOD:pulse.ADD;pulse.visit(flag,function(t){var v=bins(t);t[b0]=v;t[b1]=null==v?null:start+step*(1+(v-start)/step)});return pulse.modifies(as)};prototype$a._bins=function(_){if(this.value&&!_.modified())return this.value;var a,d,field$$1=_.field,bins=bin(_),start=bins.start,stop=bins.stop,step=bins.step;if(null!=(a=_.anchor)){d=a-(start+step*Math.floor((a-start)/step));start+=d;stop+=d}var f=function(t){var v=field$$1(t);if(null==v)return null;v=Math.max(start,Math.min(+v,stop-step));return start+step*Math.floor((v-start)/step)};f.start=start;f.stop=stop;f.step=step;return this.value=accessor(f,accessorFields(field$$1),_.name||"bin_"+accessorName(field$$1))};function SortedList(idFunc,source,input){var $$$1=idFunc,data=source||[],add=input||[],rem={},cnt=0;return{add:function(t){add.push(t)},remove:function(t){rem[$$$1(t)]=++cnt},size:function(){return data.length},data:function(compare$$1,resort){if(cnt){data=data.filter(function(t){return!rem[$$$1(t)]});rem={};cnt=0}resort&&compare$$1&&data.sort(compare$$1);if(add.length){data=compare$$1?merge(compare$$1,data,add.sort(compare$$1)):data.concat(add);add=[]}return data}}}function Collect(params){Transform.call(this,[],params)}Collect.Definition={type:"Collect",metadata:{source:true},params:[{name:"sort",type:"compare"}]};var prototype$b=inherits(Collect,Transform);prototype$b.transform=function(_,pulse){var out=pulse.fork(pulse.ALL),list=SortedList(tupleid,this.value,out.materialize(out.ADD).add),sort=_.sort,mod=pulse.changed()||sort&&(_.modified("sort")||pulse.modified(sort.fields));out.visit(out.REM,list.remove);this.modified(mod);this.value=out.source=list.data(sort,mod);pulse.source&&pulse.source.root&&(this.value.root=pulse.source.root);return out};function Compare(params){Operator.call(this,null,update$1,params)}inherits(Compare,Operator);function update$1(_){return this.value&&!_.modified()?this.value:compare(_.fields,_.orders)}function CountPattern(params){Transform.call(this,null,params)}CountPattern.Definition={type:"CountPattern",metadata:{generates:true,changes:true},params:[{name:"field",type:"field",required:true},{name:"case",type:"enum",values:["upper","lower","mixed"],default:"mixed"},{name:"pattern",type:"string",default:'[\\w"]+'},{name:"stopwords",type:"string",default:""},{name:"as",type:"string",array:true,length:2,default:["text","count"]}]};function tokenize(text,tcase,match){switch(tcase){case"upper":text=text.toUpperCase();break;case"lower":text=text.toLowerCase()}return text.match(match)}var prototype$c=inherits(CountPattern,Transform);prototype$c.transform=function(_,pulse){function process(update){return function(tuple){var t,tokens=tokenize(get(tuple),_.case,match)||[];for(var i=0,n=tokens.length;i<n;++i)stop.test(t=tokens[i])||update(t)}}var init=this._parameterCheck(_,pulse),counts=this._counts,match=this._match,stop=this._stop,get=_.field,as=_.as||["text","count"],add=process(function(t){counts[t]=1+(counts[t]||0)}),rem=process(function(t){counts[t]-=1});if(init)pulse.visit(pulse.SOURCE,add);else{pulse.visit(pulse.ADD,add);pulse.visit(pulse.REM,rem)}return this._finish(pulse,as)};prototype$c._parameterCheck=function(_,pulse){var init=false;if(_.modified("stopwords")||!this._stop){this._stop=new RegExp("^"+(_.stopwords||"")+"$","i");init=true}if(_.modified("pattern")||!this._match){this._match=new RegExp(_.pattern||"[\\w']+","g");init=true}(_.modified("field")||pulse.modified(_.field.fields))&&(init=true);init&&(this._counts={});return init};prototype$c._finish=function(pulse,as){var w,t,c,counts=this._counts,tuples=this._tuples||(this._tuples={}),text=as[0],count=as[1],out=pulse.fork(pulse.NO_SOURCE|pulse.NO_FIELDS);for(w in counts){t=tuples[w];c=counts[w]||0;if(!t&&c){tuples[w]=t=ingest({});t[text]=w;t[count]=c;out.add.push(t)}else if(0===c){t&&out.rem.push(t);counts[w]=null;tuples[w]=null}else if(t[count]!==c){t[count]=c;out.mod.push(t)}}return out.modifies(as)};function Cross(params){Transform.call(this,null,params)}Cross.Definition={type:"Cross",metadata:{generates:true},params:[{name:"filter",type:"expr"},{name:"as",type:"string",array:true,length:2,default:["a","b"]}]};var prototype$d=inherits(Cross,Transform);prototype$d.transform=function(_,pulse){var out=pulse.fork(pulse.NO_SOURCE),data=this.value,as=_.as||["a","b"],a=as[0],b=as[1],reset=!data||pulse.changed(pulse.ADD_REM)||_.modified("as")||_.modified("filter");if(reset){data&&(out.rem=data);data=pulse.materialize(pulse.SOURCE).source;out.add=this.value=cross$1(data,a,b,_.filter||truthy)}else out.mod=data;out.source=this.value;return out.modifies(as)};function cross$1(input,a,b,filter){var j,left,data=[],t={},n=input.length,i=0;for(;i<n;++i){t[a]=left=input[i];for(j=0;j<n;++j){t[b]=input[j];if(filter(t)){data.push(ingest(t));t={};t[a]=left}}}return data}var Distributions={kde:randomKDE,mixture:randomMixture,normal:randomNormal,uniform:randomUniform};var DISTRIBUTIONS="distributions",FUNCTION="function",FIELD="field";function parse$1(def,data){var func=def[FUNCTION];Distributions.hasOwnProperty(func)||error("Unknown distribution function: "+func);var d=Distributions[func]();for(var name in def)name===FIELD?d.data((def.from||data()).map(def[name])):name===DISTRIBUTIONS?d[name](def[name].map(function(_){return parse$1(_,data)})):typeof d[name]===FUNCTION&&d[name](def[name]);return d}function Density(params){Transform.call(this,null,params)}var distributions=[{key:{function:"normal"},params:[{name:"mean",type:"number",default:0},{name:"stdev",type:"number",default:1}]},{key:{function:"uniform"},params:[{name:"min",type:"number",default:0},{name:"max",type:"number",default:1}]},{key:{function:"kde"},params:[{name:"field",type:"field",required:true},{name:"from",type:"data"},{name:"bandwidth",type:"number",default:0}]}];var mixture={key:{function:"mixture"},params:[{name:"distributions",type:"param",array:true,params:distributions},{name:"weights",type:"number",array:true}]};Density.Definition={type:"Density",metadata:{generates:true},params:[{name:"extent",type:"number",array:true,length:2},{name:"steps",type:"number",default:100},{name:"method",type:"string",default:"pdf",values:["pdf","cdf"]},{name:"distribution",type:"param",params:distributions.concat(mixture)},{name:"as",type:"string",array:true,default:["value","density"]}]};var prototype$e=inherits(Density,Transform);prototype$e.transform=function(_,pulse){var out=pulse.fork(pulse.NO_SOURCE|pulse.NO_FIELDS);if(!this.value||pulse.changed()||_.modified()){var dist=parse$1(_.distribution,source(pulse)),method=_.method||"pdf";"pdf"!==method&&"cdf"!==method&&error("Invalid density method: "+method);_.extent||dist.data||error("Missing density extent parameter.");method=dist[method];var as=_.as||["value","density"],domain=_.extent||extent(dist.data()),step=(domain[1]-domain[0])/(_.steps||100),values=range(domain[0],domain[1]+step/2,step).map(function(v){var tuple={};tuple[as[0]]=v;tuple[as[1]]=method(v);return ingest(tuple)});this.value&&(out.rem=this.value);this.value=out.add=out.source=values}return out};function source(pulse){return function(){return pulse.materialize(pulse.SOURCE).source}}function Expression(params){Operator.call(this,null,update$2,params);this.modified(true)}inherits(Expression,Operator);function update$2(_){var expr=_.expr;return this.value&&!_.modified("expr")?this.value:accessor(function(datum){return expr(datum,_)},accessorFields(expr),accessorName(expr))}function Extent(params){Transform.call(this,[void 0,void 0],params)}Extent.Definition={type:"Extent",metadata:{},params:[{name:"field",type:"field",required:true}]};var prototype$f=inherits(Extent,Transform);prototype$f.transform=function(_,pulse){var mod,extent=this.value,field$$1=_.field,min=extent[0],max=extent[1];mod=pulse.changed()||pulse.modified(field$$1.fields)||_.modified("field");if(mod||null==min){min=Infinity;max=-Infinity}pulse.visit(mod?pulse.SOURCE:pulse.ADD,function(t){var v=field$$1(t);if(null!=v){v=+v;v<min&&(min=v);v>max&&(max=v)}});isFinite(min)&&isFinite(max)||(min=max=void 0);this.value=[min,max]};function Subflow(pulse,parent){Operator.call(this,pulse);this.parent=parent}var prototype$g=inherits(Subflow,Operator);prototype$g.connect=function(target){this.targets().add(target);return target.source=this};prototype$g.add=function(t){this.value.add.push(t)};prototype$g.rem=function(t){this.value.rem.push(t)};prototype$g.mod=function(t){this.value.mod.push(t)};prototype$g.init=function(pulse){this.value.init(pulse,pulse.NO_SOURCE)};prototype$g.evaluate=function(){return this.value};function Facet(params){Transform.call(this,{},params);this._keys=fastmap();var a=this._targets=[];a.active=0;a.forEach=function(f){for(var i=0,n=a.active;i<n;++i)f(a[i],i,a)}}var prototype$h=inherits(Facet,Transform);prototype$h.activate=function(flow){this._targets[this._targets.active++]=flow};prototype$h.subflow=function(key$$1,flow,pulse,parent){var df,p,flows=this.value,sf=flows.hasOwnProperty(key$$1)&&flows[key$$1];if(sf){if(sf.value.stamp<pulse.stamp){sf.init(pulse);this.activate(sf)}}else{p=parent||(p=this._group[key$$1])&&p.tuple;df=pulse.dataflow;sf=df.add(new Subflow(pulse.fork(pulse.NO_SOURCE),this)).connect(flow(df,key$$1,p));flows[key$$1]=sf;this.activate(sf)}return sf};prototype$h.transform=function(_,pulse){var df=pulse.dataflow,self=this,key$$1=_.key,flow=_.subflow,cache=this._keys,rekey=_.modified("key");function subflow(key$$1){return self.subflow(key$$1,flow,pulse)}this._group=_.group||{};this._targets.active=0;pulse.visit(pulse.REM,function(t){var id$$1=tupleid(t),k=cache.get(id$$1);if(void 0!==k){cache.delete(id$$1);subflow(k).rem(t)}});pulse.visit(pulse.ADD,function(t){var k=key$$1(t);cache.set(tupleid(t),k);subflow(k).add(t)});rekey||pulse.modified(key$$1.fields)?pulse.visit(pulse.MOD,function(t){var id$$1=tupleid(t),k0=cache.get(id$$1),k1=key$$1(t);if(k0===k1)subflow(k1).mod(t);else{cache.set(id$$1,k1);subflow(k0).rem(t);subflow(k1).add(t)}}):pulse.changed(pulse.MOD)&&pulse.visit(pulse.MOD,function(t){subflow(cache.get(tupleid(t))).mod(t)});rekey&&pulse.visit(pulse.REFLOW,function(t){var id$$1=tupleid(t),k0=cache.get(id$$1),k1=key$$1(t);if(k0!==k1){cache.set(id$$1,k1);subflow(k0).rem(t);subflow(k1).add(t)}});cache.empty>df.cleanThreshold&&df.runAfter(cache.clean);return pulse};function Field(params){Operator.call(this,null,update$3,params)}inherits(Field,Operator);function update$3(_){return this.value&&!_.modified()?this.value:isArray(_.name)?array(_.name).map(function(f){return field(f)}):field(_.name,_.as)}function Filter(params){Transform.call(this,fastmap(),params)}Filter.Definition={type:"Filter",metadata:{changes:true},params:[{name:"expr",type:"expr",required:true}]};var prototype$i=inherits(Filter,Transform);prototype$i.transform=function(_,pulse){var df=pulse.dataflow,cache=this.value,output=pulse.fork(),add=output.add,rem=output.rem,mod=output.mod,test=_.expr,isMod=true;pulse.visit(pulse.REM,function(t){var id$$1=tupleid(t);cache.has(id$$1)?cache.delete(id$$1):rem.push(t)});pulse.visit(pulse.ADD,function(t){test(t,_)?add.push(t):cache.set(tupleid(t),1)});function revisit(t){var id$$1=tupleid(t),b=test(t,_),s=cache.get(id$$1);if(b&&s){cache.delete(id$$1);add.push(t)}else if(b||s)isMod&&b&&!s&&mod.push(t);else{cache.set(id$$1,1);rem.push(t)}}pulse.visit(pulse.MOD,revisit);if(_.modified()){isMod=false;pulse.visit(pulse.REFLOW,revisit)}cache.empty>df.cleanThreshold&&df.runAfter(cache.clean);return output};function fieldNames(fields,as){if(!fields)return null;return fields.map(function(f,i){return as[i]||accessorName(f)})}function Flatten(params){Transform.call(this,[],params)}Flatten.Definition={type:"Flatten",metadata:{generates:true},params:[{name:"fields",type:"field",array:true,required:true},{name:"as",type:"string",array:true}]};var prototype$j=inherits(Flatten,Transform);prototype$j.transform=function(_,pulse){var out=pulse.fork(pulse.NO_SOURCE),fields=_.fields,as=fieldNames(fields,_.as||[]),m=as.length;out.rem=this.value;pulse.visit(pulse.SOURCE,function(t){var j,d,v,arrays=fields.map(function(f){return f(t)}),maxlen=arrays.reduce(function(l,a){return Math.max(l,a.length)},0),i=0;for(;i<maxlen;++i){d=derive(t);for(j=0;j<m;++j)d[as[j]]=null==(v=arrays[j][i])?null:v;out.add.push(d)}});this.value=out.source=out.add;return out.modifies(as)};function Fold(params){Transform.call(this,[],params)}Fold.Definition={type:"Fold",metadata:{generates:true},params:[{name:"fields",type:"field",array:true,required:true},{name:"as",type:"string",array:true,length:2,default:["key","value"]}]};var prototype$k=inherits(Fold,Transform);prototype$k.transform=function(_,pulse){var out=pulse.fork(pulse.NO_SOURCE),fields=_.fields,fnames=fields.map(accessorName),as=_.as||["key","value"],k=as[0],v=as[1],n=fields.length;out.rem=this.value;pulse.visit(pulse.SOURCE,function(t){for(var d,i=0;i<n;++i){d=derive(t);d[k]=fnames[i];d[v]=fields[i](t);out.add.push(d)}});this.value=out.source=out.add;return out.modifies(as)};function Formula(params){Transform.call(this,null,params)}Formula.Definition={type:"Formula",metadata:{modifies:true},params:[{name:"expr",type:"expr",required:true},{name:"as",type:"string",required:true},{name:"initonly",type:"boolean"}]};var prototype$l=inherits(Formula,Transform);prototype$l.transform=function(_,pulse){var func=_.expr,as=_.as,mod=_.modified(),flag=_.initonly?pulse.ADD:mod?pulse.SOURCE:pulse.modified(func.fields)?pulse.ADD_MOD:pulse.ADD;function set(t){t[as]=func(t,_)}mod&&(pulse=pulse.materialize().reflow(true));_.initonly||pulse.modifies(as);return pulse.visit(flag,set)};function Generate(params){Transform.call(this,[],params)}var prototype$m=inherits(Generate,Transform);prototype$m.transform=function(_,pulse){var add,rem,t,data=this.value,out=pulse.fork(pulse.ALL),num=_.size-data.length,gen=_.generator;if(num>0){for(add=[];--num>=0;){add.push(t=ingest(gen(_)));data.push(t)}out.add=out.add.length?out.materialize(out.ADD).add.concat(add):add}else{rem=data.slice(0,-num);out.rem=out.rem.length?out.materialize(out.REM).rem.concat(rem):rem;data=data.slice(-num)}out.source=this.value=data;return out};var Methods={value:"value",median:median,mean:mean,min:min,max:max};var Empty=[];function Impute(params){Transform.call(this,[],params)}Impute.Definition={type:"Impute",metadata:{changes:true},params:[{name:"field",type:"field",required:true},{name:"key",type:"field",required:true},{name:"keyvals",array:true},{name:"groupby",type:"field",array:true},{name:"method",type:"enum",default:"value",values:["value","mean","median","max","min"]},{name:"value",default:0}]};var prototype$n=inherits(Impute,Transform);function getValue(_){var v,m=_.method||Methods.value;if(null!=Methods[m]){if(m===Methods.value){v=void 0!==_.value?_.value:0;return function(){return v}}return Methods[m]}error("Unrecognized imputation method: "+m)}function getField(_){var f=_.field;return function(t){return t?f(t):NaN}}prototype$n.transform=function(_,pulse){var group,value,gVals,kVal,g,i,j,l,n,t,out=pulse.fork(pulse.ALL),impute=getValue(_),field$$1=getField(_),fName=accessorName(_.field),kName=accessorName(_.key),gNames=(_.groupby||[]).map(accessorName),groups=partition(pulse.source,_.groupby,_.key,_.keyvals),curr=[],prev=this.value,m=groups.domain.length;for(g=0,l=groups.length;g<l;++g){group=groups[g];gVals=group.values;value=NaN;for(j=0;j<m;++j){if(null!=group[j])continue;kVal=groups.domain[j];t={_impute:true};for(i=0,n=gVals.length;i<n;++i)t[gNames[i]]=gVals[i];t[kName]=kVal;t[fName]=isNaN(value)?value=impute(group,field$$1):value;curr.push(ingest(t))}}curr.length&&(out.add=out.materialize(out.ADD).add.concat(curr));prev.length&&(out.rem=out.materialize(out.REM).rem.concat(prev));this.value=curr;return out};function partition(data,groupby,key$$1,keyvals){var gVals,gKey,group,i,j,k,n,t,get=function(f){return f(t)},groups=[],domain=keyvals?keyvals.slice():[],kMap={},gMap={};domain.forEach(function(k,i){kMap[k]=i+1});for(i=0,n=data.length;i<n;++i){t=data[i];k=key$$1(t);j=kMap[k]||(kMap[k]=domain.push(k));gKey=(gVals=groupby?groupby.map(get):Empty)+"";if(!(group=gMap[gKey])){group=gMap[gKey]=[];groups.push(group);group.values=gVals}group[j-1]=t}groups.domain=domain;return groups}function JoinAggregate(params){Aggregate.call(this,params)}JoinAggregate.Definition={type:"JoinAggregate",metadata:{modifies:true},params:[{name:"groupby",type:"field",array:true},{name:"fields",type:"field",null:true,array:true},{name:"ops",type:"enum",array:true,values:ValidAggregateOps},{name:"as",type:"string",null:true,array:true},{name:"key",type:"field"}]};var prototype$o=inherits(JoinAggregate,Aggregate);prototype$o.transform=function(_,pulse){var cells,aggr=this,mod=_.modified();if(aggr.value&&(mod||pulse.modified(aggr._inputs))){cells=aggr.value=mod?aggr.init(_):{};pulse.visit(pulse.SOURCE,function(t){aggr.add(t)})}else{cells=aggr.value=aggr.value||this.init(_);pulse.visit(pulse.REM,function(t){aggr.rem(t)});pulse.visit(pulse.ADD,function(t){aggr.add(t)})}aggr.changes();pulse.visit(pulse.SOURCE,function(t){extend(t,cells[aggr.cellkey(t)].tuple)});return pulse.reflow(mod).modifies(this._outputs)};prototype$o.changes=function(){var i,n,adds=this._adds,mods=this._mods;for(i=0,n=this._alen;i<n;++i){this.celltuple(adds[i]);adds[i]=null}for(i=0,n=this._mlen;i<n;++i){this.celltuple(mods[i]);mods[i]=null}this._alen=this._mlen=0};function Key(params){Operator.call(this,null,update$4,params)}inherits(Key,Operator);function update$4(_){return this.value&&!_.modified()?this.value:key(_.fields,_.flat)}function Load(params){Transform.call(this,null,params)}var prototype$p=inherits(Load,Transform);prototype$p.transform=function(_,pulse){pulse.dataflow.request(this.target,_.url,_.format)};function Lookup(params){Transform.call(this,{},params)}Lookup.Definition={type:"Lookup",metadata:{modifies:true},params:[{name:"index",type:"index",params:[{name:"from",type:"data",required:true},{name:"key",type:"field",required:true}]},{name:"values",type:"field",array:true},{name:"fields",type:"field",array:true,required:true},{name:"as",type:"string",array:true},{name:"default",default:null}]};var prototype$q=inherits(Lookup,Transform);prototype$q.transform=function(_,pulse){var set,m,mods,out=pulse,as=_.as,keys=_.fields,index=_.index,values=_.values,defaultValue=null==_.default?null:_.default,reset=_.modified(),flag=reset?pulse.SOURCE:pulse.ADD,n=keys.length;if(values){m=values.length;n>1&&!as&&error('Multi-field lookup requires explicit "as" parameter.');as&&as.length!==n*m&&error('The "as" parameter has too few output field names.');as=as||values.map(accessorName);set=function(t){for(var j,v,i=0,k=0;i<n;++i){v=index.get(keys[i](t));if(null==v)for(j=0;j<m;++j,++k)t[as[k]]=defaultValue;else for(j=0;j<m;++j,++k)t[as[k]]=values[j](v)}}}else{as||error("Missing output field names.");set=function(t){for(var v,i=0;i<n;++i){v=index.get(keys[i](t));t[as[i]]=null==v?defaultValue:v}}}if(reset)out=pulse.reflow(true);else{mods=keys.some(function(k){return pulse.modified(k.fields)});flag|=mods?pulse.MOD:0}pulse.visit(flag,set);return out.modifies(as)};function MultiExtent(params){Operator.call(this,null,update$5,params)}inherits(MultiExtent,Operator);function update$5(_){if(this.value&&!_.modified())return this.value;var i,n,e,min=Infinity,max=-Infinity,ext=_.extents;for(i=0,n=ext.length;i<n;++i){e=ext[i];e[0]<min&&(min=e[0]);e[1]>max&&(max=e[1])}return[min,max]}function MultiValues(params){Operator.call(this,null,update$6,params)}inherits(MultiValues,Operator);function update$6(_){return this.value&&!_.modified()?this.value:_.values.reduce(function(data,_){return data.concat(_)},[])}function Params(params){Transform.call(this,null,params)}inherits(Params,Transform);Params.prototype.transform=function(_,pulse){this.modified(_.modified());this.value=_;return pulse.fork(pulse.NO_SOURCE|pulse.NO_FIELDS)};function Pivot(params){Aggregate.call(this,params)}Pivot.Definition={type:"Pivot",metadata:{generates:true,changes:true},params:[{name:"groupby",type:"field",array:true},{name:"field",type:"field",required:true},{name:"value",type:"field",required:true},{name:"op",type:"enum",values:ValidAggregateOps,default:"sum"},{name:"limit",type:"number",default:0},{name:"key",type:"field"}]};var prototype$r=inherits(Pivot,Aggregate);prototype$r._transform=prototype$r.transform;prototype$r.transform=function(_,pulse){return this._transform(aggregateParams(_,pulse),pulse)};function aggregateParams(_,pulse){var key$$1=_.field,value=_.value,op=("count"===_.op?"__count__":_.op)||"sum",fields=accessorFields(key$$1).concat(accessorFields(value)),keys=pivotKeys(key$$1,_.limit||0,pulse);return{key:_.key,groupby:_.groupby,ops:keys.map(function(){return op}),fields:keys.map(function(k){return get(k,key$$1,value,fields)}),as:keys.map(function(k){return k+""}),modified:_.modified.bind(_)}}function get(k,key$$1,value,fields){return accessor(function(d){return key$$1(d)===k?value(d):NaN},fields,k+"")}function pivotKeys(key$$1,limit,pulse){var map={},list=[];pulse.visit(pulse.SOURCE,function(t){var k=key$$1(t);if(!map[k]){map[k]=1;list.push(k)}});list.sort(function(u,v){return(u<v||null==u)&&null!=v?-1:(u>v||null==v)&&null!=u?1:(v=v instanceof Date?+v:v,u=u instanceof Date?+u:u)!==u&&v===v?-1:v!==v&&u===u?1:0});return limit?list.slice(0,limit):list}function PreFacet(params){Facet.call(this,params)}var prototype$s=inherits(PreFacet,Facet);prototype$s.transform=function(_,pulse){var self=this,flow=_.subflow,field$$1=_.field;(_.modified("field")||field$$1&&pulse.modified(accessorFields(field$$1)))&&error("PreFacet does not support field modification.");this._targets.active=0;pulse.visit(pulse.MOD,function(t){var sf=self.subflow(tupleid(t),flow,pulse,t);field$$1?field$$1(t).forEach(function(_){sf.mod(_)}):sf.mod(t)});pulse.visit(pulse.ADD,function(t){var sf=self.subflow(tupleid(t),flow,pulse,t);field$$1?field$$1(t).forEach(function(_){sf.add(ingest(_))}):sf.add(t)});pulse.visit(pulse.REM,function(t){var sf=self.subflow(tupleid(t),flow,pulse,t);field$$1?field$$1(t).forEach(function(_){sf.rem(_)}):sf.rem(t)});return pulse};function Project(params){Transform.call(this,null,params)}Project.Definition={type:"Project",metadata:{generates:true,changes:true},params:[{name:"fields",type:"field",array:true},{name:"as",type:"string",null:true,array:true}]};var prototype$t=inherits(Project,Transform);prototype$t.transform=function(_,pulse){var out,lut,fields=_.fields,as=fieldNames(_.fields,_.as||[]),derive$$1=fields?function(s,t){return project(s,t,fields,as)}:rederive;if(this.value)lut=this.value;else{pulse=pulse.addAll();lut=this.value={}}out=pulse.fork(pulse.NO_SOURCE);pulse.visit(pulse.REM,function(t){var id$$1=tupleid(t);out.rem.push(lut[id$$1]);lut[id$$1]=null});pulse.visit(pulse.ADD,function(t){var dt=derive$$1(t,ingest({}));lut[tupleid(t)]=dt;out.add.push(dt)});pulse.visit(pulse.MOD,function(t){out.mod.push(derive$$1(t,lut[tupleid(t)]))});return out};function project(s,t,fields,as){for(var i=0,n=fields.length;i<n;++i)t[as[i]]=fields[i](s);return t}function Proxy(params){Transform.call(this,null,params)}var prototype$u=inherits(Proxy,Transform);prototype$u.transform=function(_,pulse){this.value=_.value;return _.modified("value")?pulse.fork(pulse.NO_SOURCE|pulse.NO_FIELDS):pulse.StopPropagation};function Relay(params){Transform.call(this,null,params)}var prototype$v=inherits(Relay,Transform);prototype$v.transform=function(_,pulse){var out,lut;if(this.value)lut=this.value;else{out=pulse=pulse.addAll();lut=this.value={}}if(_.derive){out=pulse.fork(pulse.NO_SOURCE);pulse.visit(pulse.REM,function(t){var id$$1=tupleid(t);out.rem.push(lut[id$$1]);lut[id$$1]=null});pulse.visit(pulse.ADD,function(t){var dt=derive(t);lut[tupleid(t)]=dt;out.add.push(dt)});pulse.visit(pulse.MOD,function(t){out.mod.push(rederive(t,lut[tupleid(t)]))})}return out};function Sample(params){Transform.call(this,[],params);this.count=0}Sample.Definition={type:"Sample",metadata:{},params:[{name:"size",type:"number",default:1e3}]};var prototype$w=inherits(Sample,Transform);prototype$w.transform=function(_,pulse){var out=pulse.fork(pulse.NO_SOURCE),mod=_.modified("size"),num=_.size,res=this.value,cnt=this.count,cap=0,map=res.reduce(function(m,t){m[tupleid(t)]=1;return m},{});function update(t){var p,idx;if(res.length<num)res.push(t);else{idx=~~((cnt+1)*exports.random());if(idx<res.length&&idx>=cap){p=res[idx];map[tupleid(p)]&&out.rem.push(p);res[idx]=t}}++cnt}if(pulse.rem.length){pulse.visit(pulse.REM,function(t){var id$$1=tupleid(t);if(map[id$$1]){map[id$$1]=-1;out.rem.push(t)}--cnt});res=res.filter(function(t){return-1!==map[tupleid(t)]})}if((pulse.rem.length||mod)&&res.length<num&&pulse.source){cap=cnt=res.length;pulse.visit(pulse.SOURCE,function(t){map[tupleid(t)]||update(t)});cap=-1}if(mod&&res.length>num){for(var i=0,n=res.length-num;i<n;++i){map[tupleid(res[i])]=-1;out.rem.push(res[i])}res=res.slice(n)}pulse.mod.length&&pulse.visit(pulse.MOD,function(t){map[tupleid(t)]&&out.mod.push(t)});pulse.add.length&&pulse.visit(pulse.ADD,update);(pulse.add.length||cap<0)&&(out.add=res.filter(function(t){return!map[tupleid(t)]}));this.count=cnt;this.value=out.source=res;return out};function Sequence(params){Transform.call(this,null,params)}Sequence.Definition={type:"Sequence",metadata:{changes:true},params:[{name:"start",type:"number",required:true},{name:"stop",type:"number",required:true},{name:"step",type:"number",default:1},{name:"as",type:"string",default:"data"}]};var prototype$x=inherits(Sequence,Transform);prototype$x.transform=function(_,pulse){if(this.value&&!_.modified())return;var out=pulse.materialize().fork(pulse.MOD),as=_.as||"data";out.rem=this.value?pulse.rem.concat(this.value):pulse.rem;this.value=range(_.start,_.stop,_.step||1).map(function(v){var t={};t[as]=v;return ingest(t)});out.add=pulse.add.concat(this.value);return out};function Sieve(params){Transform.call(this,null,params);this.modified(true)}var prototype$y=inherits(Sieve,Transform);prototype$y.transform=function(_,pulse){this.value=pulse.source;return pulse.changed()?pulse.fork(pulse.NO_SOURCE|pulse.NO_FIELDS):pulse.StopPropagation};function TupleIndex(params){Transform.call(this,fastmap(),params)}var prototype$z=inherits(TupleIndex,Transform);prototype$z.transform=function(_,pulse){var df=pulse.dataflow,field$$1=_.field,index=this.value,mod=true;function set(t){index.set(field$$1(t),t)}if(_.modified("field")||pulse.modified(field$$1.fields)){index.clear();pulse.visit(pulse.SOURCE,set)}else if(pulse.changed()){pulse.visit(pulse.REM,function(t){index.delete(field$$1(t))});pulse.visit(pulse.ADD,set)}else mod=false;this.modified(mod);index.empty>df.cleanThreshold&&df.runAfter(index.clean);return pulse.fork()};function Values(params){Transform.call(this,null,params)}var prototype$A=inherits(Values,Transform);prototype$A.transform=function(_,pulse){var run=!this.value||_.modified("field")||_.modified("sort")||pulse.changed()||_.sort&&pulse.modified(_.sort.fields);run&&(this.value=(_.sort?pulse.source.slice().sort(_.sort):pulse.source).map(_.field))};function WindowOp(op,field$$1,param,as){var fn=WindowOps[op](field$$1,param);return{init:fn.init||zero,update:function(w,t){t[as]=fn.next(w)}}}var WindowOps={row_number:function(){return{next:function(w){return w.index+1}}},rank:function(){var rank;return{init:function(){rank=1},next:function(w){var i=w.index,data=w.data;return i&&w.compare(data[i-1],data[i])?rank=i+1:rank}}},dense_rank:function(){var drank;return{init:function(){drank=1},next:function(w){var i=w.index,d=w.data;return i&&w.compare(d[i-1],d[i])?++drank:drank}}},percent_rank:function(){var rank=WindowOps.rank(),next=rank.next;return{init:rank.init,next:function(w){return(next(w)-1)/(w.data.length-1)}}},cume_dist:function(){var cume;return{init:function(){cume=0},next:function(w){var i=w.index,d=w.data,c=w.compare;if(cume<i){while(i+1<d.length&&!c(d[i],d[i+1]))++i;cume=i}return(1+cume)/d.length}}},ntile:function(field$$1,num){num=+num;num>0||error("ntile num must be greater than zero.");var cume=WindowOps.cume_dist(),next=cume.next;return{init:cume.init,next:function(w){return Math.ceil(num*next(w))}}},lag:function(field$$1,offset){offset=+offset||1;return{next:function(w){var i=w.index-offset;return i>=0?field$$1(w.data[i]):null}}},lead:function(field$$1,offset){offset=+offset||1;return{next:function(w){var i=w.index+offset,d=w.data;return i<d.length?field$$1(d[i]):null}}},first_value:function(field$$1){return{next:function(w){return field$$1(w.data[w.i0])}}},last_value:function(field$$1){return{next:function(w){return field$$1(w.data[w.i1-1])}}},nth_value:function(field$$1,nth){nth=+nth;nth>0||error("nth_value nth must be greater than zero.");return{next:function(w){var i=w.i0+(nth-1);return i<w.i1?field$$1(w.data[i]):null}}}};var ValidWindowOps=Object.keys(WindowOps);function WindowState(_){var self=this,ops=array(_.ops),fields=array(_.fields),params=array(_.params),as=array(_.as),outputs=self.outputs=[],windows=self.windows=[],inputs={},map={},countOnly=true,counts=[],measures=[];function visitInputs(f){array(accessorFields(f)).forEach(function(_){inputs[_]=1})}visitInputs(_.sort);ops.forEach(function(op,i){var field$$1=fields[i],mname=accessorName(field$$1),name=measureName(op,mname,as[i]);visitInputs(field$$1);outputs.push(name);if(WindowOps.hasOwnProperty(op))windows.push(WindowOp(op,fields[i],params[i],name));else{null==field$$1&&"count"!==op&&error("Null aggregate field specified.");if("count"===op){counts.push(name);return}countOnly=false;var m=map[mname];if(!m){m=map[mname]=[];m.field=field$$1;measures.push(m)}m.push(createMeasure(op,name))}});(counts.length||measures.length)&&(self.cell=cell(measures,counts,countOnly));self.inputs=Object.keys(inputs)}var prototype$B=WindowState.prototype;prototype$B.init=function(){this.windows.forEach(function(_){_.init()});this.cell&&this.cell.init()};prototype$B.update=function(w,t){var j,self=this,cell=self.cell,wind=self.windows,data=w.data,m=wind&&wind.length;if(cell){for(j=w.p0;j<w.i0;++j)cell.rem(data[j]);for(j=w.p1;j<w.i1;++j)cell.add(data[j]);cell.set(t)}for(j=0;j<m;++j)wind[j].update(w,t)};function cell(measures,counts,countOnly){measures=measures.map(function(m){return compileMeasures(m,m.field)});var cell={num:0,agg:null,store:false,count:counts};if(!countOnly){var n=measures.length,a=cell.agg=Array(n),i=0;for(;i<n;++i)a[i]=new measures[i](cell)}if(cell.store)var store=cell.data=new TupleStore;cell.add=function(t){cell.num+=1;if(countOnly)return;store&&store.add(t);for(var i=0;i<n;++i)a[i].add(a[i].get(t),t)};cell.rem=function(t){cell.num-=1;if(countOnly)return;store&&store.rem(t);for(var i=0;i<n;++i)a[i].rem(a[i].get(t),t)};cell.set=function(t){var i,n;store&&store.values();for(i=0,n=counts.length;i<n;++i)t[counts[i]]=cell.num;if(!countOnly)for(i=0,n=a.length;i<n;++i)a[i].set(t)};cell.init=function(){cell.num=0;store&&store.reset();for(var i=0;i<n;++i)a[i].init()};return cell}function Window(params){Transform.call(this,{},params);this._mlen=0;this._mods=[]}Window.Definition={type:"Window",metadata:{modifies:true},params:[{name:"sort",type:"compare"},{name:"groupby",type:"field",array:true},{name:"ops",type:"enum",array:true,values:ValidWindowOps.concat(ValidAggregateOps)},{name:"params",type:"number",null:true,array:true},{name:"fields",type:"field",null:true,array:true},{name:"as",type:"string",null:true,array:true},{name:"frame",type:"number",null:true,array:true,length:2,default:[null,0]},{name:"ignorePeers",type:"boolean",default:false}]};var prototype$C=inherits(Window,Transform);prototype$C.transform=function(_,pulse){var i,n,self=this,state=self.state,mod=_.modified();this.stamp=pulse.stamp;state&&!mod||(state=self.state=new WindowState(_));var key$$1=groupkey(_.groupby);function group(t){return self.group(key$$1(t))}if(mod||pulse.modified(state.inputs)){self.value={};pulse.visit(pulse.SOURCE,function(t){group(t).add(t)})}else{pulse.visit(pulse.REM,function(t){group(t).remove(t)});pulse.visit(pulse.ADD,function(t){group(t).add(t)})}for(i=0,n=self._mlen;i<n;++i)processPartition(self._mods[i],state,_);self._mlen=0;self._mods=[];return pulse.reflow(mod).modifies(state.outputs)};prototype$C.group=function(key$$1){var self=this,group=self.value[key$$1];if(!group){group=self.value[key$$1]=SortedList(tupleid);group.stamp=-1}if(group.stamp<self.stamp){group.stamp=self.stamp;self._mods[self._mlen++]=group}return group};function processPartition(list,state,_){var sort=_.sort,range$$1=sort&&!_.ignorePeers,frame=_.frame||[null,0],data=list.data(sort),n=data.length,i=0,b=range$$1?bisector(sort):null,w={i0:0,i1:0,p0:0,p1:0,index:0,data:data,compare:sort||constant(-1)};for(state.init();i<n;++i){setWindow(w,frame,i,n);range$$1&&adjustRange(w,b);state.update(w,data[i])}}function setWindow(w,f,i,n){w.p0=w.i0;w.p1=w.i1;w.i0=null==f[0]?0:Math.max(0,i-Math.abs(f[0]));w.i1=null==f[1]?n:Math.min(n,i+Math.abs(f[1])+1);w.index=i}function adjustRange(w,bisect){var r0=w.i0,r1=w.i1-1,c=w.compare,d=w.data,n=d.length-1;r0>0&&!c(d[r0],d[r0-1])&&(w.i0=bisect.left(d,d[r0]));r1<n&&!c(d[r1],d[r1+1])&&(w.i1=bisect.right(d,d[r1]))}var tx=Object.freeze({aggregate:Aggregate,bin:Bin,collect:Collect,compare:Compare,countpattern:CountPattern,cross:Cross,density:Density,expression:Expression,extent:Extent,facet:Facet,field:Field,filter:Filter,flatten:Flatten,fold:Fold,formula:Formula,generate:Generate,impute:Impute,joinaggregate:JoinAggregate,key:Key,load:Load,lookup:Lookup,multiextent:MultiExtent,multivalues:MultiValues,params:Params,pivot:Pivot,prefacet:PreFacet,project:Project,proxy:Proxy,relay:Relay,sample:Sample,sequence:Sequence,sieve:Sieve,subflow:Subflow,tupleindex:TupleIndex,values:Values,window:Window});var Top="top";var Left="left";var Right="right";var Bottom="bottom";var TopLeft="top-left";var TopRight="top-right";var BottomLeft="bottom-left";var BottomRight="bottom-right";var Start="start";var End="end";var Group="group";var AxisRole="axis";var TitleRole="title";var FrameRole="frame";var ScopeRole="scope";var LegendRole="legend";var RowHeader="row-header";var RowFooter="row-footer";var RowTitle="row-title";var ColHeader="column-header";var ColFooter="column-footer";var ColTitle="column-title";var Padding="padding";var Symbols="symbol";var Fit="fit";var FitX="fit-x";var FitY="fit-y";var Pad="pad";var None$1="none";var All="all";var Each="each";var Flush="flush";var Column="column";var Row="row";function Bounds(b){this.clear();b&&this.union(b)}var prototype$D=Bounds.prototype;prototype$D.clone=function(){return new Bounds(this)};prototype$D.clear=function(){this.x1=+Number.MAX_VALUE;this.y1=+Number.MAX_VALUE;this.x2=-Number.MAX_VALUE;this.y2=-Number.MAX_VALUE;return this};prototype$D.empty=function(){return this.x1===+Number.MAX_VALUE&&this.y1===+Number.MAX_VALUE&&this.x2===-Number.MAX_VALUE&&this.y2===-Number.MAX_VALUE};prototype$D.set=function(x1,y1,x2,y2){if(x2<x1){this.x2=x1;this.x1=x2}else{this.x1=x1;this.x2=x2}if(y2<y1){this.y2=y1;this.y1=y2}else{this.y1=y1;this.y2=y2}return this};prototype$D.add=function(x,y){x<this.x1&&(this.x1=x);y<this.y1&&(this.y1=y);x>this.x2&&(this.x2=x);y>this.y2&&(this.y2=y);return this};prototype$D.expand=function(d){this.x1-=d;this.y1-=d;this.x2+=d;this.y2+=d;return this};prototype$D.round=function(){this.x1=Math.floor(this.x1);this.y1=Math.floor(this.y1);this.x2=Math.ceil(this.x2);this.y2=Math.ceil(this.y2);return this};prototype$D.translate=function(dx,dy){this.x1+=dx;this.x2+=dx;this.y1+=dy;this.y2+=dy;return this};prototype$D.rotate=function(angle,x,y){var cos=Math.cos(angle),sin=Math.sin(angle),cx=x-x*cos+y*sin,cy=y-x*sin-y*cos,x1=this.x1,x2=this.x2,y1=this.y1,y2=this.y2;return this.clear().add(cos*x1-sin*y1+cx,sin*x1+cos*y1+cy).add(cos*x1-sin*y2+cx,sin*x1+cos*y2+cy).add(cos*x2-sin*y1+cx,sin*x2+cos*y1+cy).add(cos*x2-sin*y2+cx,sin*x2+cos*y2+cy)};prototype$D.union=function(b){b.x1<this.x1&&(this.x1=b.x1);b.y1<this.y1&&(this.y1=b.y1);b.x2>this.x2&&(this.x2=b.x2);b.y2>this.y2&&(this.y2=b.y2);return this};prototype$D.intersect=function(b){b.x1>this.x1&&(this.x1=b.x1);b.y1>this.y1&&(this.y1=b.y1);b.x2<this.x2&&(this.x2=b.x2);b.y2<this.y2&&(this.y2=b.y2);return this};prototype$D.encloses=function(b){return b&&this.x1<=b.x1&&this.x2>=b.x2&&this.y1<=b.y1&&this.y2>=b.y2};prototype$D.alignsWith=function(b){return b&&(this.x1==b.x1||this.x2==b.x2||this.y1==b.y1||this.y2==b.y2)};prototype$D.intersects=function(b){return b&&!(this.x2<b.x1||this.x1>b.x2||this.y2<b.y1||this.y1>b.y2)};prototype$D.contains=function(x,y){return!(x<this.x1||x>this.x2||y<this.y1||y>this.y2)};prototype$D.width=function(){return this.x2-this.x1};prototype$D.height=function(){return this.y2-this.y1};var gradient_id=0;function Gradient(p0,p1){var gradient,stops=[];return gradient={id:"gradient_"+gradient_id++,x1:p0?p0[0]:0,y1:p0?p0[1]:0,x2:p1?p1[0]:1,y2:p1?p1[1]:0,stops:stops,stop:function(offset,color){stops.push({offset:offset,color:color});return gradient}}}function Item(mark){this.mark=mark;this.bounds=this.bounds||new Bounds}function GroupItem(mark){Item.call(this,mark);this.items=this.items||[]}inherits(GroupItem,Item);function domCanvas(w,h){if("undefined"!==typeof document&&document.createElement){var c=document.createElement("canvas");if(c&&c.getContext){c.width=w;c.height=h;return c}}return null}function domImage(){return"undefined"!==typeof Image?Image:null}var NodeCanvas;["canvas","canvas-prebuilt"].some(function(libName){try{NodeCanvas=__webpack_require__(2790)(libName);"function"!==typeof NodeCanvas&&(NodeCanvas=null)}catch(error){NodeCanvas=null}return NodeCanvas});function nodeCanvas(w,h){if(NodeCanvas)try{return new NodeCanvas(w,h)}catch(e){}return null}function nodeImage(){return NodeCanvas&&NodeCanvas.Image||null}function canvas(w,h){return domCanvas(w,h)||nodeCanvas(w,h)||null}function image(){return domImage()||nodeImage()||null}function ResourceLoader(customLoader){this._pending=0;this._loader=customLoader||loader()}var prototype$E=ResourceLoader.prototype;prototype$E.pending=function(){return this._pending};function increment(loader$$1){loader$$1._pending+=1}function decrement(loader$$1){loader$$1._pending-=1}prototype$E.sanitizeURL=function(uri){var loader$$1=this;increment(loader$$1);return loader$$1._loader.sanitize(uri,{context:"href"}).then(function(opt){decrement(loader$$1);return opt}).catch(function(){decrement(loader$$1);return null})};prototype$E.loadImage=function(uri){var loader$$1=this,Image=image();increment(loader$$1);return loader$$1._loader.sanitize(uri,{context:"image"}).then(function(opt){var url=opt.href;if(!url||!Image)throw{url:url};var img=new Image;img.onload=function(){decrement(loader$$1);img.loaded=true};img.onerror=function(){decrement(loader$$1);img.loaded=false};img.src=url;return img}).catch(function(e){decrement(loader$$1);return{loaded:false,width:0,height:0,src:e&&e.url||""}})};prototype$E.ready=function(){var loader$$1=this;return new Promise(function(accept){function poll(value){loader$$1.pending()?setTimeout(function(){poll(true)},10):accept(value)}poll(false)})};var pi=Math.PI,tau=2*pi,epsilon=1e-6,tauEpsilon=tau-epsilon;function Path(){this._x0=this._y0=this._x1=this._y1=null;this._=""}function path(){return new Path}Path.prototype=path.prototype={constructor:Path,moveTo:function(x,y){this._+="M"+(this._x0=this._x1=+x)+","+(this._y0=this._y1=+y)},closePath:function(){if(null!==this._x1){this._x1=this._x0,this._y1=this._y0;this._+="Z"}},lineTo:function(x,y){this._+="L"+(this._x1=+x)+","+(this._y1=+y)},quadraticCurveTo:function(x1,y1,x,y){this._+="Q"+ +x1+","+ +y1+","+(this._x1=+x)+","+(this._y1=+y)},bezierCurveTo:function(x1,y1,x2,y2,x,y){this._+="C"+ +x1+","+ +y1+","+ +x2+","+ +y2+","+(this._x1=+x)+","+(this._y1=+y)},arcTo:function(x1,y1,x2,y2,r){x1=+x1,y1=+y1,x2=+x2,y2=+y2,r=+r;var x0=this._x1,y0=this._y1,x21=x2-x1,y21=y2-y1,x01=x0-x1,y01=y0-y1,l01_2=x01*x01+y01*y01;if(r<0)throw new Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=x1)+","+(this._y1=y1);else if(l01_2>epsilon)if(Math.abs(y01*x21-y21*x01)>epsilon&&r){var x20=x2-x0,y20=y2-y0,l21_2=x21*x21+y21*y21,l20_2=x20*x20+y20*y20,l21=Math.sqrt(l21_2),l01=Math.sqrt(l01_2),l=r*Math.tan((pi-Math.acos((l21_2+l01_2-l20_2)/(2*l21*l01)))/2),t01=l/l01,t21=l/l21;Math.abs(t01-1)>epsilon&&(this._+="L"+(x1+t01*x01)+","+(y1+t01*y01));this._+="A"+r+","+r+",0,0,"+ +(y01*x20>x01*y20)+","+(this._x1=x1+t21*x21)+","+(this._y1=y1+t21*y21)}else this._+="L"+(this._x1=x1)+","+(this._y1=y1);else;},arc:function(x,y,r,a0,a1,ccw){x=+x,y=+y,r=+r;var dx=r*Math.cos(a0),dy=r*Math.sin(a0),x0=x+dx,y0=y+dy,cw=1^ccw,da=ccw?a0-a1:a1-a0;if(r<0)throw new Error("negative radius: "+r);null===this._x1?this._+="M"+x0+","+y0:(Math.abs(this._x1-x0)>epsilon||Math.abs(this._y1-y0)>epsilon)&&(this._+="L"+x0+","+y0);if(!r)return;da<0&&(da=da%tau+tau);da>tauEpsilon?this._+="A"+r+","+r+",0,1,"+cw+","+(x-dx)+","+(y-dy)+"A"+r+","+r+",0,1,"+cw+","+(this._x1=x0)+","+(this._y1=y0):da>epsilon&&(this._+="A"+r+","+r+",0,"+ +(da>=pi)+","+cw+","+(this._x1=x+r*Math.cos(a1))+","+(this._y1=y+r*Math.sin(a1)))},rect:function(x,y,w,h){this._+="M"+(this._x0=this._x1=+x)+","+(this._y0=this._y1=+y)+"h"+ +w+"v"+ +h+"h"+-w+"Z"},toString:function(){return this._}};function constant$2(x){return function constant(){return x}}var abs=Math.abs;var atan2=Math.atan2;var cos=Math.cos;var max$1=Math.max;var min$1=Math.min;var sin=Math.sin;var sqrt=Math.sqrt;var epsilon$1=1e-12;var pi$1=Math.PI;var halfPi=pi$1/2;var tau$1=2*pi$1;function acos(x){return x>1?0:x<-1?pi$1:Math.acos(x)}function asin(x){return x>=1?halfPi:x<=-1?-halfPi:Math.asin(x)}function arcInnerRadius(d){return d.innerRadius}function arcOuterRadius(d){return d.outerRadius}function arcStartAngle(d){return d.startAngle}function arcEndAngle(d){return d.endAngle}function arcPadAngle(d){return d&&d.padAngle}function intersect(x0,y0,x1,y1,x2,y2,x3,y3){var x10=x1-x0,y10=y1-y0,x32=x3-x2,y32=y3-y2,t=(x32*(y0-y2)-y32*(x0-x2))/(y32*x10-x32*y10);return[x0+t*x10,y0+t*y10]}function cornerTangents(x0,y0,x1,y1,r1,rc,cw){var x01=x0-x1,y01=y0-y1,lo=(cw?rc:-rc)/sqrt(x01*x01+y01*y01),ox=lo*y01,oy=-lo*x01,x11=x0+ox,y11=y0+oy,x10=x1+ox,y10=y1+oy,x00=(x11+x10)/2,y00=(y11+y10)/2,dx=x10-x11,dy=y10-y11,d2=dx*dx+dy*dy,r=r1-rc,D=x11*y10-x10*y11,d=(dy<0?-1:1)*sqrt(max$1(0,r*r*d2-D*D)),cx0=(D*dy-dx*d)/d2,cy0=(-D*dx-dy*d)/d2,cx1=(D*dy+dx*d)/d2,cy1=(-D*dx+dy*d)/d2,dx0=cx0-x00,dy0=cy0-y00,dx1=cx1-x00,dy1=cy1-y00;dx0*dx0+dy0*dy0>dx1*dx1+dy1*dy1&&(cx0=cx1,cy0=cy1);return{cx:cx0,cy:cy0,x01:-ox,y01:-oy,x11:cx0*(r1/r-1),y11:cy0*(r1/r-1)}}function d3_arc(){var innerRadius=arcInnerRadius,outerRadius=arcOuterRadius,cornerRadius=constant$2(0),padRadius=null,startAngle=arcStartAngle,endAngle=arcEndAngle,padAngle=arcPadAngle,context=null;function arc(){var buffer,r,r0=+innerRadius.apply(this,arguments),r1=+outerRadius.apply(this,arguments),a0=startAngle.apply(this,arguments)-halfPi,a1=endAngle.apply(this,arguments)-halfPi,da=abs(a1-a0),cw=a1>a0;context||(context=buffer=path());r1<r0&&(r=r1,r1=r0,r0=r);if(r1>epsilon$1)if(da>tau$1-epsilon$1){context.moveTo(r1*cos(a0),r1*sin(a0));context.arc(0,0,r1,a0,a1,!cw);if(r0>epsilon$1){context.moveTo(r0*cos(a1),r0*sin(a1));context.arc(0,0,r0,a1,a0,cw)}}else{var t0,t1,a01=a0,a11=a1,a00=a0,a10=a1,da0=da,da1=da,ap=padAngle.apply(this,arguments)/2,rp=ap>epsilon$1&&(padRadius?+padRadius.apply(this,arguments):sqrt(r0*r0+r1*r1)),rc=min$1(abs(r1-r0)/2,+cornerRadius.apply(this,arguments)),rc0=rc,rc1=rc;if(rp>epsilon$1){var p0=asin(rp/r0*sin(ap)),p1=asin(rp/r1*sin(ap));(da0-=2*p0)>epsilon$1?(p0*=cw?1:-1,a00+=p0,a10-=p0):(da0=0,a00=a10=(a0+a1)/2);(da1-=2*p1)>epsilon$1?(p1*=cw?1:-1,a01+=p1,a11-=p1):(da1=0,a01=a11=(a0+a1)/2)}var x01=r1*cos(a01),y01=r1*sin(a01),x10=r0*cos(a10),y10=r0*sin(a10);if(rc>epsilon$1){var x11=r1*cos(a11),y11=r1*sin(a11),x00=r0*cos(a00),y00=r0*sin(a00);if(da<pi$1){var oc=da0>epsilon$1?intersect(x01,y01,x00,y00,x11,y11,x10,y10):[x10,y10],ax=x01-oc[0],ay=y01-oc[1],bx=x11-oc[0],by=y11-oc[1],kc=1/sin(acos((ax*bx+ay*by)/(sqrt(ax*ax+ay*ay)*sqrt(bx*bx+by*by)))/2),lc=sqrt(oc[0]*oc[0]+oc[1]*oc[1]);rc0=min$1(rc,(r0-lc)/(kc-1));rc1=min$1(rc,(r1-lc)/(kc+1))}}if(da1>epsilon$1)if(rc1>epsilon$1){t0=cornerTangents(x00,y00,x01,y01,r1,rc1,cw);t1=cornerTangents(x11,y11,x10,y10,r1,rc1,cw);context.moveTo(t0.cx+t0.x01,t0.cy+t0.y01);if(rc1<rc)context.arc(t0.cx,t0.cy,rc1,atan2(t0.y01,t0.x01),atan2(t1.y01,t1.x01),!cw);else{context.arc(t0.cx,t0.cy,rc1,atan2(t0.y01,t0.x01),atan2(t0.y11,t0.x11),!cw);context.arc(0,0,r1,atan2(t0.cy+t0.y11,t0.cx+t0.x11),atan2(t1.cy+t1.y11,t1.cx+t1.x11),!cw);context.arc(t1.cx,t1.cy,rc1,atan2(t1.y11,t1.x11),atan2(t1.y01,t1.x01),!cw)}}else context.moveTo(x01,y01),context.arc(0,0,r1,a01,a11,!cw);else context.moveTo(x01,y01);if(r0>epsilon$1&&da0>epsilon$1)if(rc0>epsilon$1){t0=cornerTangents(x10,y10,x11,y11,r0,-rc0,cw);t1=cornerTangents(x01,y01,x00,y00,r0,-rc0,cw);context.lineTo(t0.cx+t0.x01,t0.cy+t0.y01);if(rc0<rc)context.arc(t0.cx,t0.cy,rc0,atan2(t0.y01,t0.x01),atan2(t1.y01,t1.x01),!cw);else{context.arc(t0.cx,t0.cy,rc0,atan2(t0.y01,t0.x01),atan2(t0.y11,t0.x11),!cw);context.arc(0,0,r0,atan2(t0.cy+t0.y11,t0.cx+t0.x11),atan2(t1.cy+t1.y11,t1.cx+t1.x11),cw);context.arc(t1.cx,t1.cy,rc0,atan2(t1.y11,t1.x11),atan2(t1.y01,t1.x01),!cw)}}else context.arc(0,0,r0,a10,a00,cw);else context.lineTo(x10,y10)}else context.moveTo(0,0);context.closePath();if(buffer)return context=null,buffer+""||null}arc.centroid=function(){var r=(+innerRadius.apply(this,arguments)+ +outerRadius.apply(this,arguments))/2,a=(+startAngle.apply(this,arguments)+ +endAngle.apply(this,arguments))/2-pi$1/2;return[cos(a)*r,sin(a)*r]};arc.innerRadius=function(_){return arguments.length?(innerRadius="function"===typeof _?_:constant$2(+_),arc):innerRadius};arc.outerRadius=function(_){return arguments.length?(outerRadius="function"===typeof _?_:constant$2(+_),arc):outerRadius};arc.cornerRadius=function(_){return arguments.length?(cornerRadius="function"===typeof _?_:constant$2(+_),arc):cornerRadius};arc.padRadius=function(_){return arguments.length?(padRadius=null==_?null:"function"===typeof _?_:constant$2(+_),arc):padRadius};arc.startAngle=function(_){return arguments.length?(startAngle="function"===typeof _?_:constant$2(+_),arc):startAngle};arc.endAngle=function(_){return arguments.length?(endAngle="function"===typeof _?_:constant$2(+_),arc):endAngle};arc.padAngle=function(_){return arguments.length?(padAngle="function"===typeof _?_:constant$2(+_),arc):padAngle};arc.context=function(_){return arguments.length?(context=null==_?null:_,arc):context};return arc}function Linear(context){this._context=context}Linear.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;this._line?this._context.lineTo(x,y):this._context.moveTo(x,y);break;case 1:this._point=2;default:this._context.lineTo(x,y)}}};function curveLinear(context){return new Linear(context)}function x(p){return p[0]}function y(p){return p[1]}function line(){var x$$1=x,y$$1=y,defined=constant$2(true),context=null,curve=curveLinear,output=null;function line(data){var i,d,buffer,n=data.length,defined0=false;null==context&&(output=curve(buffer=path()));for(i=0;i<=n;++i){!(i<n&&defined(d=data[i],i,data))===defined0&&((defined0=!defined0)?output.lineStart():output.lineEnd());defined0&&output.point(+x$$1(d,i,data),+y$$1(d,i,data))}if(buffer)return output=null,buffer+""||null}line.x=function(_){return arguments.length?(x$$1="function"===typeof _?_:constant$2(+_),line):x$$1};line.y=function(_){return arguments.length?(y$$1="function"===typeof _?_:constant$2(+_),line):y$$1};line.defined=function(_){return arguments.length?(defined="function"===typeof _?_:constant$2(!!_),line):defined};line.curve=function(_){return arguments.length?(curve=_,null!=context&&(output=curve(context)),line):curve};line.context=function(_){return arguments.length?(null==_?context=output=null:output=curve(context=_),line):context};return line}function area(){var x0=x,x1=null,y0=constant$2(0),y1=y,defined=constant$2(true),context=null,curve=curveLinear,output=null;function area(data){var i,j,k,d,buffer,n=data.length,defined0=false,x0z=new Array(n),y0z=new Array(n);null==context&&(output=curve(buffer=path()));for(i=0;i<=n;++i){if(!(i<n&&defined(d=data[i],i,data))===defined0)if(defined0=!defined0){j=i;output.areaStart();output.lineStart()}else{output.lineEnd();output.lineStart();for(k=i-1;k>=j;--k)output.point(x0z[k],y0z[k]);output.lineEnd();output.areaEnd()}if(defined0){x0z[i]=+x0(d,i,data),y0z[i]=+y0(d,i,data);output.point(x1?+x1(d,i,data):x0z[i],y1?+y1(d,i,data):y0z[i])}}if(buffer)return output=null,buffer+""||null}function arealine(){return line().defined(defined).curve(curve).context(context)}area.x=function(_){return arguments.length?(x0="function"===typeof _?_:constant$2(+_),x1=null,area):x0};area.x0=function(_){return arguments.length?(x0="function"===typeof _?_:constant$2(+_),area):x0};area.x1=function(_){return arguments.length?(x1=null==_?null:"function"===typeof _?_:constant$2(+_),area):x1};area.y=function(_){return arguments.length?(y0="function"===typeof _?_:constant$2(+_),y1=null,area):y0};area.y0=function(_){return arguments.length?(y0="function"===typeof _?_:constant$2(+_),area):y0};area.y1=function(_){return arguments.length?(y1=null==_?null:"function"===typeof _?_:constant$2(+_),area):y1};area.lineX0=area.lineY0=function(){return arealine().x(x0).y(y0)};area.lineY1=function(){return arealine().x(x0).y(y1)};area.lineX1=function(){return arealine().x(x1).y(y0)};area.defined=function(_){return arguments.length?(defined="function"===typeof _?_:constant$2(!!_),area):defined};area.curve=function(_){return arguments.length?(curve=_,null!=context&&(output=curve(context)),area):curve};area.context=function(_){return arguments.length?(null==_?context=output=null:output=curve(context=_),area):context};return area}var circle={draw:function(context,size){var r=Math.sqrt(size/pi$1);context.moveTo(r,0);context.arc(0,0,r,0,tau$1)}};function d3_symbol(){var type=constant$2(circle),size=constant$2(64),context=null;function symbol(){var buffer;context||(context=buffer=path());type.apply(this,arguments).draw(context,+size.apply(this,arguments));if(buffer)return context=null,buffer+""||null}symbol.type=function(_){return arguments.length?(type="function"===typeof _?_:constant$2(_),symbol):type};symbol.size=function(_){return arguments.length?(size="function"===typeof _?_:constant$2(+_),symbol):size};symbol.context=function(_){return arguments.length?(context=null==_?null:_,symbol):context};return symbol}function noop(){}function point(that,x,y){that._context.bezierCurveTo((2*that._x0+that._x1)/3,(2*that._y0+that._y1)/3,(that._x0+2*that._x1)/3,(that._y0+2*that._y1)/3,(that._x0+4*that._x1+x)/6,(that._y0+4*that._y1+y)/6)}function Basis(context){this._context=context}Basis.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN;this._point=0},lineEnd:function(){switch(this._point){case 3:point(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;this._line?this._context.lineTo(x,y):this._context.moveTo(x,y);break;case 1:this._point=2;break;case 2:this._point=3;this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:point(this,x,y)}this._x0=this._x1,this._x1=x;this._y0=this._y1,this._y1=y}};function curveBasis(context){return new Basis(context)}function BasisClosed(context){this._context=context}BasisClosed.prototype={areaStart:noop,areaEnd:noop,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN;this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2);this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3);this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3);this._context.closePath();break;case 3:this.point(this._x2,this._y2);this.point(this._x3,this._y3);this.point(this._x4,this._y4)}},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;this._x2=x,this._y2=y;break;case 1:this._point=2;this._x3=x,this._y3=y;break;case 2:this._point=3;this._x4=x,this._y4=y;this._context.moveTo((this._x0+4*this._x1+x)/6,(this._y0+4*this._y1+y)/6);break;default:point(this,x,y)}this._x0=this._x1,this._x1=x;this._y0=this._y1,this._y1=y}};function curveBasisClosed(context){return new BasisClosed(context)}function BasisOpen(context){this._context=context}BasisOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN;this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var x0=(this._x0+4*this._x1+x)/6,y0=(this._y0+4*this._y1+y)/6;this._line?this._context.lineTo(x0,y0):this._context.moveTo(x0,y0);break;case 3:this._point=4;default:point(this,x,y)}this._x0=this._x1,this._x1=x;this._y0=this._y1,this._y1=y}};function curveBasisOpen(context){return new BasisOpen(context)}function Bundle(context,beta){this._basis=new Basis(context);this._beta=beta}Bundle.prototype={lineStart:function(){this._x=[];this._y=[];this._basis.lineStart()},lineEnd:function(){var x=this._x,y=this._y,j=x.length-1;if(j>0){var t,x0=x[0],y0=y[0],dx=x[j]-x0,dy=y[j]-y0,i=-1;while(++i<=j){t=i/j;this._basis.point(this._beta*x[i]+(1-this._beta)*(x0+t*dx),this._beta*y[i]+(1-this._beta)*(y0+t*dy))}}this._x=this._y=null;this._basis.lineEnd()},point:function(x,y){this._x.push(+x);this._y.push(+y)}};var curveBundle=function custom(beta){function bundle(context){return 1===beta?new Basis(context):new Bundle(context,beta)}bundle.beta=function(beta){return custom(+beta)};return bundle}(.85);function point$1(that,x,y){that._context.bezierCurveTo(that._x1+that._k*(that._x2-that._x0),that._y1+that._k*(that._y2-that._y0),that._x2+that._k*(that._x1-x),that._y2+that._k*(that._y1-y),that._x2,that._y2)}function Cardinal(context,tension){this._context=context;this._k=(1-tension)/6}Cardinal.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN;this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:point$1(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;this._line?this._context.lineTo(x,y):this._context.moveTo(x,y);break;case 1:this._point=2;this._x1=x,this._y1=y;break;case 2:this._point=3;default:point$1(this,x,y)}this._x0=this._x1,this._x1=this._x2,this._x2=x;this._y0=this._y1,this._y1=this._y2,this._y2=y}};var curveCardinal=function custom(tension){function cardinal(context){return new Cardinal(context,tension)}cardinal.tension=function(tension){return custom(+tension)};return cardinal}(0);function CardinalClosed(context,tension){this._context=context;this._k=(1-tension)/6}CardinalClosed.prototype={areaStart:noop,areaEnd:noop,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN;this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3);this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3);this._context.closePath();break;case 3:this.point(this._x3,this._y3);this.point(this._x4,this._y4);this.point(this._x5,this._y5)}},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;this._x3=x,this._y3=y;break;case 1:this._point=2;this._context.moveTo(this._x4=x,this._y4=y);break;case 2:this._point=3;this._x5=x,this._y5=y;break;default:point$1(this,x,y)}this._x0=this._x1,this._x1=this._x2,this._x2=x;this._y0=this._y1,this._y1=this._y2,this._y2=y}};var curveCardinalClosed=function custom(tension){function cardinal(context){return new CardinalClosed(context,tension)}cardinal.tension=function(tension){return custom(+tension)};return cardinal}(0);function CardinalOpen(context,tension){this._context=context;this._k=(1-tension)/6}CardinalOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN;this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:point$1(this,x,y)}this._x0=this._x1,this._x1=this._x2,this._x2=x;this._y0=this._y1,this._y1=this._y2,this._y2=y}};var curveCardinalOpen=function custom(tension){function cardinal(context){return new CardinalOpen(context,tension)}cardinal.tension=function(tension){return custom(+tension)};return cardinal}(0);function point$2(that,x,y){var x1=that._x1,y1=that._y1,x2=that._x2,y2=that._y2;if(that._l01_a>epsilon$1){var a=2*that._l01_2a+3*that._l01_a*that._l12_a+that._l12_2a,n=3*that._l01_a*(that._l01_a+that._l12_a);x1=(x1*a-that._x0*that._l12_2a+that._x2*that._l01_2a)/n;y1=(y1*a-that._y0*that._l12_2a+that._y2*that._l01_2a)/n}if(that._l23_a>epsilon$1){var b=2*that._l23_2a+3*that._l23_a*that._l12_a+that._l12_2a,m=3*that._l23_a*(that._l23_a+that._l12_a);x2=(x2*b+that._x1*that._l23_2a-x*that._l12_2a)/m;y2=(y2*b+that._y1*that._l23_2a-y*that._l12_2a)/m}that._context.bezierCurveTo(x1,y1,x2,y2,that._x2,that._y2)}function CatmullRom(context,alpha){this._context=context;this._alpha=alpha}CatmullRom.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN;this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){x=+x,y=+y;if(this._point){var x23=this._x2-x,y23=this._y2-y;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(x23*x23+y23*y23,this._alpha))}switch(this._point){case 0:this._point=1;this._line?this._context.lineTo(x,y):this._context.moveTo(x,y);break;case 1:this._point=2;break;case 2:this._point=3;default:point$2(this,x,y)}this._l01_a=this._l12_a,this._l12_a=this._l23_a;this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a;this._x0=this._x1,this._x1=this._x2,this._x2=x;this._y0=this._y1,this._y1=this._y2,this._y2=y}};var curveCatmullRom=function custom(alpha){function catmullRom(context){return alpha?new CatmullRom(context,alpha):new Cardinal(context,0)}catmullRom.alpha=function(alpha){return custom(+alpha)};return catmullRom}(.5);function CatmullRomClosed(context,alpha){this._context=context;this._alpha=alpha}CatmullRomClosed.prototype={areaStart:noop,areaEnd:noop,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN;this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3);this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3);this._context.closePath();break;case 3:this.point(this._x3,this._y3);this.point(this._x4,this._y4);this.point(this._x5,this._y5)}},point:function(x,y){x=+x,y=+y;if(this._point){var x23=this._x2-x,y23=this._y2-y;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(x23*x23+y23*y23,this._alpha))}switch(this._point){case 0:this._point=1;this._x3=x,this._y3=y;break;case 1:this._point=2;this._context.moveTo(this._x4=x,this._y4=y);break;case 2:this._point=3;this._x5=x,this._y5=y;break;default:point$2(this,x,y)}this._l01_a=this._l12_a,this._l12_a=this._l23_a;this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a;this._x0=this._x1,this._x1=this._x2,this._x2=x;this._y0=this._y1,this._y1=this._y2,this._y2=y}};var curveCatmullRomClosed=function custom(alpha){function catmullRom(context){return alpha?new CatmullRomClosed(context,alpha):new CardinalClosed(context,0)}catmullRom.alpha=function(alpha){return custom(+alpha)};return catmullRom}(.5);function CatmullRomOpen(context,alpha){this._context=context;this._alpha=alpha}CatmullRomOpen.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN;this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){x=+x,y=+y;if(this._point){var x23=this._x2-x,y23=this._y2-y;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(x23*x23+y23*y23,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:point$2(this,x,y)}this._l01_a=this._l12_a,this._l12_a=this._l23_a;this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a;this._x0=this._x1,this._x1=this._x2,this._x2=x;this._y0=this._y1,this._y1=this._y2,this._y2=y}};var curveCatmullRomOpen=function custom(alpha){function catmullRom(context){return alpha?new CatmullRomOpen(context,alpha):new CardinalOpen(context,0)}catmullRom.alpha=function(alpha){return custom(+alpha)};return catmullRom}(.5);function LinearClosed(context){this._context=context}LinearClosed.prototype={areaStart:noop,areaEnd:noop,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(x,y){x=+x,y=+y;this._point?this._context.lineTo(x,y):(this._point=1,this._context.moveTo(x,y))}};function curveLinearClosed(context){return new LinearClosed(context)}function sign(x){return x<0?-1:1}function slope3(that,x2,y2){var h0=that._x1-that._x0,h1=x2-that._x1,s0=(that._y1-that._y0)/(h0||h1<0&&-0),s1=(y2-that._y1)/(h1||h0<0&&-0),p=(s0*h1+s1*h0)/(h0+h1);return(sign(s0)+sign(s1))*Math.min(Math.abs(s0),Math.abs(s1),.5*Math.abs(p))||0}function slope2(that,t){var h=that._x1-that._x0;return h?(3*(that._y1-that._y0)/h-t)/2:t}function point$3(that,t0,t1){var x0=that._x0,y0=that._y0,x1=that._x1,y1=that._y1,dx=(x1-x0)/3;that._context.bezierCurveTo(x0+dx,y0+dx*t0,x1-dx,y1-dx*t1,x1,y1)}function MonotoneX(context){this._context=context}MonotoneX.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN;this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:point$3(this,this._t0,slope2(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath();this._line=1-this._line},point:function(x,y){var t1=NaN;x=+x,y=+y;if(x===this._x1&&y===this._y1)return;switch(this._point){case 0:this._point=1;this._line?this._context.lineTo(x,y):this._context.moveTo(x,y);break;case 1:this._point=2;break;case 2:this._point=3;point$3(this,slope2(this,t1=slope3(this,x,y)),t1);break;default:point$3(this,this._t0,t1=slope3(this,x,y))}this._x0=this._x1,this._x1=x;this._y0=this._y1,this._y1=y;this._t0=t1}};function MonotoneY(context){this._context=new ReflectContext(context)}(MonotoneY.prototype=Object.create(MonotoneX.prototype)).point=function(x,y){MonotoneX.prototype.point.call(this,y,x)};function ReflectContext(context){this._context=context}ReflectContext.prototype={moveTo:function(x,y){this._context.moveTo(y,x)},closePath:function(){this._context.closePath()},lineTo:function(x,y){this._context.lineTo(y,x)},bezierCurveTo:function(x1,y1,x2,y2,x,y){this._context.bezierCurveTo(y1,x1,y2,x2,y,x)}};function monotoneX(context){return new MonotoneX(context)}function monotoneY(context){return new MonotoneY(context)}function Natural(context){this._context=context}Natural.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[];this._y=[]},lineEnd:function(){var x=this._x,y=this._y,n=x.length;if(n){this._line?this._context.lineTo(x[0],y[0]):this._context.moveTo(x[0],y[0]);if(2===n)this._context.lineTo(x[1],y[1]);else{var px=controlPoints(x),py=controlPoints(y);for(var i0=0,i1=1;i1<n;++i0,++i1)this._context.bezierCurveTo(px[0][i0],py[0][i0],px[1][i0],py[1][i0],x[i1],y[i1])}}(this._line||0!==this._line&&1===n)&&this._context.closePath();this._line=1-this._line;this._x=this._y=null},point:function(x,y){this._x.push(+x);this._y.push(+y)}};function controlPoints(x){var i,m,n=x.length-1,a=new Array(n),b=new Array(n),r=new Array(n);a[0]=0,b[0]=2,r[0]=x[0]+2*x[1];for(i=1;i<n-1;++i)a[i]=1,b[i]=4,r[i]=4*x[i]+2*x[i+1];a[n-1]=2,b[n-1]=7,r[n-1]=8*x[n-1]+x[n];for(i=1;i<n;++i)m=a[i]/b[i-1],b[i]-=m,r[i]-=m*r[i-1];a[n-1]=r[n-1]/b[n-1];for(i=n-2;i>=0;--i)a[i]=(r[i]-a[i+1])/b[i];b[n-1]=(x[n]+a[n-1])/2;for(i=0;i<n-1;++i)b[i]=2*x[i+1]-a[i+1];return[a,b]}function curveNatural(context){return new Natural(context)}function Step(context,t){this._context=context;this._t=t}Step.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN;this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y);(this._line||0!==this._line&&1===this._point)&&this._context.closePath();this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(x,y){x=+x,y=+y;switch(this._point){case 0:this._point=1;this._line?this._context.lineTo(x,y):this._context.moveTo(x,y);break;case 1:this._point=2;default:if(this._t<=0){this._context.lineTo(this._x,y);this._context.lineTo(x,y)}else{var x1=this._x*(1-this._t)+x*this._t;this._context.lineTo(x1,this._y);this._context.lineTo(x1,y)}}this._x=x,this._y=y}};function curveStep(context){return new Step(context,.5)}function stepBefore(context){return new Step(context,0)}function stepAfter(context){return new Step(context,1)}var lookup={basis:{curve:curveBasis},"basis-closed":{curve:curveBasisClosed},"basis-open":{curve:curveBasisOpen},bundle:{curve:curveBundle,tension:"beta",value:.85},cardinal:{curve:curveCardinal,tension:"tension",value:0},"cardinal-open":{curve:curveCardinalOpen,tension:"tension",value:0},"cardinal-closed":{curve:curveCardinalClosed,tension:"tension",value:0},"catmull-rom":{curve:curveCatmullRom,tension:"alpha",value:.5},"catmull-rom-closed":{curve:curveCatmullRomClosed,tension:"alpha",value:.5},"catmull-rom-open":{curve:curveCatmullRomOpen,tension:"alpha",value:.5},linear:{curve:curveLinear},"linear-closed":{curve:curveLinearClosed},monotone:{horizontal:monotoneY,vertical:monotoneX},natural:{curve:curveNatural},step:{curve:curveStep},"step-after":{curve:stepAfter},"step-before":{curve:stepBefore}};function curves(type,orientation,tension){var entry=lookup.hasOwnProperty(type)&&lookup[type],curve=null;if(entry){curve=entry.curve||entry[orientation||"vertical"];entry.tension&&null!=tension&&(curve=curve[entry.tension](tension))}return curve}var cmdlen={m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7},regexp=[/([MLHVCSQTAZmlhvcsqtaz])/g,/###/,/(\d)([-+])/g,/\s|,|###/];function pathParse(pathstr){var path,curr,chunks,parsed,param,cmd,len,i,j,n,m,result=[];path=pathstr.slice().replace(regexp[0],"###$1").split(regexp[1]).slice(1);for(i=0,n=path.length;i<n;++i){curr=path[i];chunks=curr.slice(1).trim().replace(regexp[2],"$1###$2").split(regexp[3]);cmd=curr.charAt(0);parsed=[cmd];for(j=0,m=chunks.length;j<m;++j)(param=+chunks[j])===param&&parsed.push(param);len=cmdlen[cmd.toLowerCase()];if(parsed.length-1>len)for(j=1,m=parsed.length;j<m;j+=len)result.push([cmd].concat(parsed.slice(j,j+len)));else result.push(parsed)}return result}var segmentCache={};var bezierCache={};var join=[].join;function segments(x,y,rx,ry,large,sweep,rotateX,ox,oy){var key=join.call(arguments);if(segmentCache[key])return segmentCache[key];var th=rotateX*(Math.PI/180);var sin_th=Math.sin(th);var cos_th=Math.cos(th);rx=Math.abs(rx);ry=Math.abs(ry);var px=cos_th*(ox-x)*.5+sin_th*(oy-y)*.5;var py=cos_th*(oy-y)*.5-sin_th*(ox-x)*.5;var pl=px*px/(rx*rx)+py*py/(ry*ry);if(pl>1){pl=Math.sqrt(pl);rx*=pl;ry*=pl}var a00=cos_th/rx;var a01=sin_th/rx;var a10=-sin_th/ry;var a11=cos_th/ry;var x0=a00*ox+a01*oy;var y0=a10*ox+a11*oy;var x1=a00*x+a01*y;var y1=a10*x+a11*y;var d=(x1-x0)*(x1-x0)+(y1-y0)*(y1-y0);var sfactor_sq=1/d-.25;sfactor_sq<0&&(sfactor_sq=0);var sfactor=Math.sqrt(sfactor_sq);sweep==large&&(sfactor=-sfactor);var xc=.5*(x0+x1)-sfactor*(y1-y0);var yc=.5*(y0+y1)+sfactor*(x1-x0);var th0=Math.atan2(y0-yc,x0-xc);var th1=Math.atan2(y1-yc,x1-xc);var th_arc=th1-th0;th_arc<0&&1===sweep?th_arc+=2*Math.PI:th_arc>0&&0===sweep&&(th_arc-=2*Math.PI);var segs=Math.ceil(Math.abs(th_arc/(.5*Math.PI+.001)));var result=[];for(var i=0;i<segs;++i){var th2=th0+i*th_arc/segs;var th3=th0+(i+1)*th_arc/segs;result[i]=[xc,yc,th2,th3,rx,ry,sin_th,cos_th]}return segmentCache[key]=result}function bezier(params){var key=join.call(params);if(bezierCache[key])return bezierCache[key];var cx=params[0],cy=params[1],th0=params[2],th1=params[3],rx=params[4],ry=params[5],sin_th=params[6],cos_th=params[7];var a00=cos_th*rx;var a01=-sin_th*ry;var a10=sin_th*rx;var a11=cos_th*ry;var cos_th0=Math.cos(th0);var sin_th0=Math.sin(th0);var cos_th1=Math.cos(th1);var sin_th1=Math.sin(th1);var th_half=.5*(th1-th0);var sin_th_h2=Math.sin(.5*th_half);var t=8/3*sin_th_h2*sin_th_h2/Math.sin(th_half);var x1=cx+cos_th0-t*sin_th0;var y1=cy+sin_th0+t*cos_th0;var x3=cx+cos_th1;var y3=cy+sin_th1;var x2=x3+t*sin_th1;var y2=y3-t*cos_th1;return bezierCache[key]=[a00*x1+a01*y1,a10*x1+a11*y1,a00*x2+a01*y2,a10*x2+a11*y2,a00*x3+a01*y3,a10*x3+a11*y3]}var temp=["l",0,0,0,0,0,0,0];function scale(current,s){var c=temp[0]=current[0];if("a"===c||"A"===c){temp[1]=s*current[1];temp[2]=s*current[2];temp[3]=current[3];temp[4]=current[4];temp[5]=current[5];temp[6]=s*current[6];temp[7]=s*current[7]}else for(var i=1,n=current.length;i<n;++i)temp[i]=s*current[i];return temp}function pathRender(context,path,l,t,s){var current,tempX,tempY,tempControlX,tempControlY,previous=null,x=0,y=0,controlX=0,controlY=0;null==l&&(l=0);null==t&&(t=0);null==s&&(s=1);context.beginPath&&context.beginPath();for(var i=0,len=path.length;i<len;++i){current=path[i];1!==s&&(current=scale(current,s));switch(current[0]){case"l":x+=current[1];y+=current[2];context.lineTo(x+l,y+t);break;case"L":x=current[1];y=current[2];context.lineTo(x+l,y+t);break;case"h":x+=current[1];context.lineTo(x+l,y+t);break;case"H":x=current[1];context.lineTo(x+l,y+t);break;case"v":y+=current[1];context.lineTo(x+l,y+t);break;case"V":y=current[1];context.lineTo(x+l,y+t);break;case"m":x+=current[1];y+=current[2];context.moveTo(x+l,y+t);break;case"M":x=current[1];y=current[2];context.moveTo(x+l,y+t);break;case"c":tempX=x+current[5];tempY=y+current[6];controlX=x+current[3];controlY=y+current[4];context.bezierCurveTo(x+current[1]+l,y+current[2]+t,controlX+l,controlY+t,tempX+l,tempY+t);x=tempX;y=tempY;break;case"C":x=current[5];y=current[6];controlX=current[3];controlY=current[4];context.bezierCurveTo(current[1]+l,current[2]+t,controlX+l,controlY+t,x+l,y+t);break;case"s":tempX=x+current[3];tempY=y+current[4];controlX=2*x-controlX;controlY=2*y-controlY;context.bezierCurveTo(controlX+l,controlY+t,x+current[1]+l,y+current[2]+t,tempX+l,tempY+t);controlX=x+current[1];controlY=y+current[2];x=tempX;y=tempY;break;case"S":tempX=current[3];tempY=current[4];controlX=2*x-controlX;controlY=2*y-controlY;context.bezierCurveTo(controlX+l,controlY+t,current[1]+l,current[2]+t,tempX+l,tempY+t);x=tempX;y=tempY;controlX=current[1];controlY=current[2];break;case"q":tempX=x+current[3];tempY=y+current[4];controlX=x+current[1];controlY=y+current[2];context.quadraticCurveTo(controlX+l,controlY+t,tempX+l,tempY+t);x=tempX;y=tempY;break;case"Q":tempX=current[3];tempY=current[4];context.quadraticCurveTo(current[1]+l,current[2]+t,tempX+l,tempY+t);x=tempX;y=tempY;controlX=current[1];controlY=current[2];break;case"t":tempX=x+current[1];tempY=y+current[2];if(null===previous[0].match(/[QqTt]/)){controlX=x;controlY=y}else if("t"===previous[0]){controlX=2*x-tempControlX;controlY=2*y-tempControlY}else if("q"===previous[0]){controlX=2*x-controlX;controlY=2*y-controlY}tempControlX=controlX;tempControlY=controlY;context.quadraticCurveTo(controlX+l,controlY+t,tempX+l,tempY+t);x=tempX;y=tempY;controlX=x+current[1];controlY=y+current[2];break;case"T":tempX=current[1];tempY=current[2];controlX=2*x-controlX;controlY=2*y-controlY;context.quadraticCurveTo(controlX+l,controlY+t,tempX+l,tempY+t);x=tempX;y=tempY;break;case"a":drawArc(context,x+l,y+t,[current[1],current[2],current[3],current[4],current[5],current[6]+x+l,current[7]+y+t]);x+=current[6];y+=current[7];break;case"A":drawArc(context,x+l,y+t,[current[1],current[2],current[3],current[4],current[5],current[6]+l,current[7]+t]);x=current[6];y=current[7];break;case"z":case"Z":context.closePath()}previous=current}}function drawArc(context,x,y,coords){var seg=segments(coords[5],coords[6],coords[0],coords[1],coords[3],coords[4],coords[2],x,y);for(var i=0;i<seg.length;++i){var bez=bezier(seg[i]);context.bezierCurveTo(bez[0],bez[1],bez[2],bez[3],bez[4],bez[5])}}var tau$2=2*Math.PI,halfSqrt3=Math.sqrt(3)/2;var builtins={circle:{draw:function(context,size){var r=Math.sqrt(size)/2;context.moveTo(r,0);context.arc(0,0,r,0,tau$2)}},cross:{draw:function(context,size){var r=Math.sqrt(size)/2,s=r/2.5;context.moveTo(-r,-s);context.lineTo(-r,s);context.lineTo(-s,s);context.lineTo(-s,r);context.lineTo(s,r);context.lineTo(s,s);context.lineTo(r,s);context.lineTo(r,-s);context.lineTo(s,-s);context.lineTo(s,-r);context.lineTo(-s,-r);context.lineTo(-s,-s);context.closePath()}},diamond:{draw:function(context,size){var r=Math.sqrt(size)/2;context.moveTo(-r,0);context.lineTo(0,-r);context.lineTo(r,0);context.lineTo(0,r);context.closePath()}},square:{draw:function(context,size){var w=Math.sqrt(size),x=-w/2;context.rect(x,x,w,w)}},"triangle-up":{draw:function(context,size){var r=Math.sqrt(size)/2,h=halfSqrt3*r;context.moveTo(0,-h);context.lineTo(-r,h);context.lineTo(r,h);context.closePath()}},"triangle-down":{draw:function(context,size){var r=Math.sqrt(size)/2,h=halfSqrt3*r;context.moveTo(0,h);context.lineTo(-r,-h);context.lineTo(r,-h);context.closePath()}},"triangle-right":{draw:function(context,size){var r=Math.sqrt(size)/2,h=halfSqrt3*r;context.moveTo(h,0);context.lineTo(-h,-r);context.lineTo(-h,r);context.closePath()}},"triangle-left":{draw:function(context,size){var r=Math.sqrt(size)/2,h=halfSqrt3*r;context.moveTo(-h,0);context.lineTo(h,-r);context.lineTo(h,r);context.closePath()}}};function symbols$1(_){return builtins.hasOwnProperty(_)?builtins[_]:customSymbol(_)}var custom={};function customSymbol(path){if(!custom.hasOwnProperty(path)){var parsed=pathParse(path);custom[path]={draw:function(context,size){pathRender(context,parsed,0,0,Math.sqrt(size)/2)}}}return custom[path]}function rectangleX(d){return d.x}function rectangleY(d){return d.y}function rectangleWidth(d){return d.width}function rectangleHeight(d){return d.height}function constant$3(_){return function(){return _}}function vg_rect(){var x=rectangleX,y=rectangleY,width=rectangleWidth,height=rectangleHeight,cornerRadius=constant$3(0),context=null;function rectangle(_,x0,y0){var buffer,x1=null!=x0?x0:+x.call(this,_),y1=null!=y0?y0:+y.call(this,_),w=+width.call(this,_),h=+height.call(this,_),cr=+cornerRadius.call(this,_);context||(context=buffer=path());if(cr<=0)context.rect(x1,y1,w,h);else{var x2=x1+w,y2=y1+h;context.moveTo(x1+cr,y1);context.lineTo(x2-cr,y1);context.quadraticCurveTo(x2,y1,x2,y1+cr);context.lineTo(x2,y2-cr);context.quadraticCurveTo(x2,y2,x2-cr,y2);context.lineTo(x1+cr,y2);context.quadraticCurveTo(x1,y2,x1,y2-cr);context.lineTo(x1,y1+cr);context.quadraticCurveTo(x1,y1,x1+cr,y1);context.closePath()}if(buffer){context=null;return buffer+""||null}}rectangle.x=function(_){if(arguments.length){x="function"===typeof _?_:constant$3(+_);return rectangle}return x};rectangle.y=function(_){if(arguments.length){y="function"===typeof _?_:constant$3(+_);return rectangle}return y};rectangle.width=function(_){if(arguments.length){width="function"===typeof _?_:constant$3(+_);return rectangle}return width};rectangle.height=function(_){if(arguments.length){height="function"===typeof _?_:constant$3(+_);return rectangle}return height};rectangle.cornerRadius=function(_){if(arguments.length){cornerRadius="function"===typeof _?_:constant$3(+_);return rectangle}return cornerRadius};rectangle.context=function(_){if(arguments.length){context=null==_?null:_;return rectangle}return context};return rectangle}var pi$2=Math.PI;function vg_trail(){var x,y,size,defined,ready,x1,y1,r1,context=null;function point(x2,y2,w2){var r2=w2/2;if(ready){var ux=y1-y2,uy=x2-x1;if(ux||uy){var ud=Math.sqrt(ux*ux+uy*uy),rx=(ux/=ud)*r1,ry=(uy/=ud)*r1,t=Math.atan2(uy,ux);context.moveTo(x1-rx,y1-ry);context.lineTo(x2-ux*r2,y2-uy*r2);context.arc(x2,y2,r2,t-pi$2,t);context.lineTo(x1+rx,y1+ry);context.arc(x1,y1,r1,t,t+pi$2)}else context.arc(x2,y2,r2,0,2*pi$2);context.closePath()}else ready=1;x1=x2;y1=y2;r1=r2}function trail(data){var i,d,buffer,n=data.length,defined0=false;null==context&&(context=buffer=path());for(i=0;i<=n;++i){!(i<n&&defined(d=data[i],i,data))===defined0&&(defined0=!defined0)&&(ready=0);defined0&&point(+x(d,i,data),+y(d,i,data),+size(d,i,data))}if(buffer){context=null;return buffer+""||null}}trail.x=function(_){if(arguments.length){x=_;return trail}return x};trail.y=function(_){if(arguments.length){y=_;return trail}return y};trail.size=function(_){if(arguments.length){size=_;return trail}return size};trail.defined=function(_){if(arguments.length){defined=_;return trail}return defined};trail.context=function(_){if(arguments.length){context=null==_?null:_;return trail}return context};return trail}function x$1(item){return item.x||0}function y$1(item){return item.y||0}function w(item){return item.width||0}function ts(item){return item.size||1}function h(item){return item.height||0}function xw(item){return(item.x||0)+(item.width||0)}function yh(item){return(item.y||0)+(item.height||0)}function sa(item){return item.startAngle||0}function ea(item){return item.endAngle||0}function pa(item){return item.padAngle||0}function ir(item){return item.innerRadius||0}function or(item){return item.outerRadius||0}function cr(item){return item.cornerRadius||0}function def(item){return!(false===item.defined)}function size(item){return null==item.size?64:item.size}function type(item){return symbols$1(item.shape||"circle")}var arcShape=d3_arc().startAngle(sa).endAngle(ea).padAngle(pa).innerRadius(ir).outerRadius(or).cornerRadius(cr),areavShape=area().x(x$1).y1(y$1).y0(yh).defined(def),areahShape=area().y(y$1).x1(x$1).x0(xw).defined(def),lineShape=line().x(x$1).y(y$1).defined(def),rectShape=vg_rect().x(x$1).y(y$1).width(w).height(h).cornerRadius(cr),symbolShape=d3_symbol().type(type).size(size),trailShape=vg_trail().x(x$1).y(y$1).defined(def).size(ts);function arc$$1(context,item){return arcShape.context(context)(item)}function area$1(context,items){var item=items[0],interp=item.interpolate||"linear";return("horizontal"===item.orient?areahShape:areavShape).curve(curves(interp,item.orient,item.tension)).context(context)(items)}function line$1(context,items){var item=items[0],interp=item.interpolate||"linear";return lineShape.curve(curves(interp,item.orient,item.tension)).context(context)(items)}function rectangle(context,item,x,y){return rectShape.context(context)(item,x,y)}function shape(context,item){return(item.mark.shape||item.shape).context(context)(item)}function symbol$$1(context,item){return symbolShape.context(context)(item)}function trail(context,items){return trailShape.context(context)(items)}function boundStroke(bounds,item){item.stroke&&0!==item.opacity&&0!==item.strokeOpacity&&bounds.expand(null!=item.strokeWidth?+item.strokeWidth:1);return bounds}var bounds,tau$3=2*Math.PI,halfPi$1=tau$3/4,circleThreshold=tau$3-1e-8;function context(_){bounds=_;return context}function noop$1(){}function add$1(x,y){bounds.add(x,y)}context.beginPath=noop$1;context.closePath=noop$1;context.moveTo=add$1;context.lineTo=add$1;context.rect=function(x,y,w,h){add$1(x,y);add$1(x+w,y+h)};context.quadraticCurveTo=function(x1,y1,x2,y2){add$1(x1,y1);add$1(x2,y2)};context.bezierCurveTo=function(x1,y1,x2,y2,x3,y3){add$1(x1,y1);add$1(x2,y2);add$1(x3,y3)};context.arc=function(cx,cy,r,sa,ea,ccw){if(Math.abs(ea-sa)>circleThreshold){add$1(cx-r,cy-r);add$1(cx+r,cy+r);return}var s,i,x,y,xmin=Infinity,xmax=-Infinity,ymin=Infinity,ymax=-Infinity;function update(a){x=r*Math.cos(a);y=r*Math.sin(a);x<xmin&&(xmin=x);x>xmax&&(xmax=x);y<ymin&&(ymin=y);y>ymax&&(ymax=y)}update(sa);update(ea);if(ea!==sa){sa%=tau$3;sa<0&&(sa+=tau$3);ea%=tau$3;ea<0&&(ea+=tau$3);if(ea<sa){ccw=!ccw;s=sa;sa=ea;ea=s}if(ccw){ea-=tau$3;s=sa-sa%halfPi$1;for(i=0;i<4&&s>ea;++i,s-=halfPi$1)update(s)}else{s=sa-sa%halfPi$1+halfPi$1;for(i=0;i<4&&s<ea;++i,s+=halfPi$1)update(s)}}add$1(cx+xmin,cy+ymin);add$1(cx+xmax,cy+ymax)};function gradient(context,gradient,bounds){var w=bounds.width(),h=bounds.height(),x1=bounds.x1+gradient.x1*w,y1=bounds.y1+gradient.y1*h,x2=bounds.x1+gradient.x2*w,y2=bounds.y1+gradient.y2*h,stop=gradient.stops,i=0,n=stop.length,linearGradient=context.createLinearGradient(x1,y1,x2,y2);for(;i<n;++i)linearGradient.addColorStop(stop[i].offset,stop[i].color);return linearGradient}function color(context,item,value){return value.id?gradient(context,value,item.bounds):value}function fill(context,item,opacity){opacity*=null==item.fillOpacity?1:item.fillOpacity;if(opacity>0){context.globalAlpha=opacity;context.fillStyle=color(context,item,item.fill);return true}return false}var Empty$1=[];function stroke(context,item,opacity){var lw=null!=(lw=item.strokeWidth)?lw:1;if(lw<=0)return false;opacity*=null==item.strokeOpacity?1:item.strokeOpacity;if(opacity>0){context.globalAlpha=opacity;context.strokeStyle=color(context,item,item.stroke);context.lineWidth=lw;context.lineCap=item.strokeCap||"butt";context.lineJoin=item.strokeJoin||"miter";context.miterLimit=item.strokeMiterLimit||10;if(context.setLineDash){context.setLineDash(item.strokeDash||Empty$1);context.lineDashOffset=item.strokeDashOffset||0}return true}return false}function compare$1(a,b){return a.zindex-b.zindex||a.index-b.index}function zorder(scene){if(!scene.zdirty)return scene.zitems;var item,i,n,items=scene.items,output=[];for(i=0,n=items.length;i<n;++i){item=items[i];item.index=i;item.zindex&&output.push(item)}scene.zdirty=false;return scene.zitems=output.sort(compare$1)}function visit(scene,visitor){var i,n,items=scene.items;if(!items||!items.length)return;var zitems=zorder(scene);if(zitems&&zitems.length){for(i=0,n=items.length;i<n;++i)items[i].zindex||visitor(items[i]);items=zitems}for(i=0,n=items.length;i<n;++i)visitor(items[i])}function pickVisit(scene,visitor){var hit,i,items=scene.items;if(!items||!items.length)return null;var zitems=zorder(scene);zitems&&zitems.length&&(items=zitems);for(i=items.length;--i>=0;)if(hit=visitor(items[i]))return hit;if(items===zitems)for(items=scene.items,i=items.length;--i>=0;)if(!items[i].zindex&&(hit=visitor(items[i])))return hit;return null}function drawAll(path){return function(context,scene,bounds){visit(scene,function(item){bounds&&!bounds.intersects(item.bounds)||drawPath(path,context,item,item)})}}function drawOne(path){return function(context,scene,bounds){!scene.items.length||bounds&&!bounds.intersects(scene.bounds)||drawPath(path,context,scene.items[0],scene.items)}}function drawPath(path,context,item,items){var opacity=null==item.opacity?1:item.opacity;if(0===opacity)return;if(path(context,items))return;item.fill&&fill(context,item,opacity)&&context.fill();item.stroke&&stroke(context,item,opacity)&&context.stroke()}var trueFunc=function(){return true};function pick(test){test||(test=trueFunc);return function(context,scene,x,y,gx,gy){x*=context.pixelRatio;y*=context.pixelRatio;return pickVisit(scene,function(item){var b=item.bounds;if(b&&!b.contains(gx,gy)||!b)return;if(test(context,item,x,y,gx,gy))return item})}}function hitPath(path,filled){return function(context,o,x,y){var lw,lc,item=Array.isArray(o)?o[0]:o,fill=null==filled?item.fill:filled,stroke=item.stroke&&context.isPointInStroke;if(stroke){lw=item.strokeWidth;lc=item.strokeCap;context.lineWidth=null!=lw?lw:1;context.lineCap=null!=lc?lc:"butt"}return!path(context,o)&&(fill&&context.isPointInPath(x,y)||stroke&&context.isPointInStroke(x,y))}}function pickPath(path){return pick(hitPath(path))}function translate(x,y){return"translate("+x+","+y+")"}function translateItem(item){return translate(item.x||0,item.y||0)}function markItemPath(type,shape){function attr(emit,item){emit("transform",translateItem(item));emit("d",shape(null,item))}function bound(bounds,item){shape(context(bounds),item);return boundStroke(bounds,item).translate(item.x||0,item.y||0)}function draw(context$$1,item){var x=item.x||0,y=item.y||0;context$$1.translate(x,y);context$$1.beginPath();shape(context$$1,item);context$$1.translate(-x,-y)}return{type:type,tag:"path",nested:false,attr:attr,bound:bound,draw:drawAll(draw),pick:pickPath(draw)}}var arc$1=markItemPath("arc",arc$$1);function pickArea(a,p){var hit,d,v="horizontal"===a[0].orient?p[1]:p[0],z="horizontal"===a[0].orient?"y":"x",i=a.length,min=Infinity;while(--i>=0){if(false===a[i].defined)continue;d=Math.abs(a[i][z]-v);if(d<min){min=d;hit=a[i]}}return hit}function pickLine(a,p){var dx,dy,dd,t=Math.pow(a[0].strokeWidth||1,2),i=a.length;while(--i>=0){if(false===a[i].defined)continue;dx=a[i].x-p[0];dy=a[i].y-p[1];dd=dx*dx+dy*dy;if(dd<t)return a[i]}return null}function pickTrail(a,p){var dx,dy,dd,i=a.length;while(--i>=0){if(false===a[i].defined)continue;dx=a[i].x-p[0];dy=a[i].y-p[1];dd=dx*dx+dy*dy;dx=a[i].size||1;if(dd<dx*dx)return a[i]}return null}function markMultiItemPath(type,shape,tip){function attr(emit,item){var items=item.mark.items;items.length&&emit("d",shape(null,items))}function bound(bounds,mark){var items=mark.items;if(0===items.length)return bounds;shape(context(bounds),items);return boundStroke(bounds,items[0])}function draw(context$$1,items){context$$1.beginPath();shape(context$$1,items)}var hit=hitPath(draw);function pick$$1(context$$1,scene,x,y,gx,gy){var items=scene.items,b=scene.bounds;if(!items||!items.length||b&&!b.contains(gx,gy))return null;x*=context$$1.pixelRatio;y*=context$$1.pixelRatio;return hit(context$$1,items,x,y)?items[0]:null}return{type:type,tag:"path",nested:true,attr:attr,bound:bound,draw:drawOne(draw),pick:pick$$1,tip:tip}}var area$2=markMultiItemPath("area",area$1,pickArea);var clip_id=1;function resetSVGClipId(){clip_id=1}function clip(renderer,item,size){var clip=item.clip,defs=renderer._defs,id$$1=item.clip_id||(item.clip_id="clip"+clip_id++),c=defs.clipping[id$$1]||(defs.clipping[id$$1]={id:id$$1});if(isFunction(clip))c.path=clip(null);else{c.width=size.width||0;c.height=size.height||0}return"url(#"+id$$1+")"}var StrokeOffset=.5;function attr(emit,item){emit("transform",translateItem(item))}function background(emit,item){var offset=item.stroke?StrokeOffset:0;emit("class","background");emit("d",rectangle(null,item,offset,offset))}function foreground(emit,item,renderer){var url=item.clip?clip(renderer,item,item):null;emit("clip-path",url)}function bound(bounds,group){if(!group.clip&&group.items){var items=group.items;for(var j=0,m=items.length;j<m;++j)bounds.union(items[j].bounds)}(group.clip||group.width||group.height)&&!group.noBound&&bounds.add(0,0).add(group.width||0,group.height||0);boundStroke(bounds,group);return bounds.translate(group.x||0,group.y||0)}function backgroundPath(context,group){var offset=group.stroke?StrokeOffset:0;context.beginPath();rectangle(context,group,offset,offset)}var hitBackground=hitPath(backgroundPath);function draw(context,scene,bounds){var renderer=this;visit(scene,function(group){var opacity,gx=group.x||0,gy=group.y||0,w=group.width||0,h=group.height||0;context.save();context.translate(gx,gy);if(group.stroke||group.fill){opacity=null==group.opacity?1:group.opacity;if(opacity>0){backgroundPath(context,group);group.fill&&fill(context,group,opacity)&&context.fill();group.stroke&&stroke(context,group,opacity)&&context.stroke()}}if(group.clip){context.beginPath();context.rect(0,0,w,h);context.clip()}bounds&&bounds.translate(-gx,-gy);visit(group,function(item){renderer.draw(context,item,bounds)});bounds&&bounds.translate(gx,gy);context.restore()})}function pick$1(context,scene,x,y,gx,gy){if(scene.bounds&&!scene.bounds.contains(gx,gy)||!scene.items)return null;var handler=this,cx=x*context.pixelRatio,cy=y*context.pixelRatio;return pickVisit(scene,function(group){var hit,dx,dy,b;b=group.bounds;if(b&&!b.contains(gx,gy))return;dx=group.x||0;dy=group.y||0;context.save();context.translate(dx,dy);dx=gx-dx;dy=gy-dy;hit=pickVisit(group,function(mark){return pickMark(mark,dx,dy)?handler.pick(mark,x,y,dx,dy):null});!hit&&false!==scene.interactive&&(group.fill||group.stroke)&&hitBackground(context,group,cx,cy)&&(hit=group);context.restore();return hit||null})}function pickMark(mark,x,y){return(false!==mark.interactive||"group"===mark.marktype)&&mark.bounds&&mark.bounds.contains(x,y)}var group={type:"group",tag:"g",nested:false,attr:attr,bound:bound,draw:draw,pick:pick$1,background:background,foreground:foreground};function getImage(item,renderer){var image=item.image;if(!image||image.url!==item.url){image={loaded:false,width:0,height:0};renderer.loadImage(item.url).then(function(image){item.image=image;item.image.url=item.url})}return image}function imageXOffset(align,w){return"center"===align?w/2:"right"===align?w:0}function imageYOffset(baseline,h){return"middle"===baseline?h/2:"bottom"===baseline?h:0}function attr$1(emit,item,renderer){var image=getImage(item,renderer),x=item.x||0,y=item.y||0,w=(null!=item.width?item.width:image.width)||0,h=(null!=item.height?item.height:image.height)||0,a=false===item.aspect?"none":"xMidYMid";x-=imageXOffset(item.align,w);y-=imageYOffset(item.baseline,h);emit("href",image.src||"","http://www.w3.org/1999/xlink","xlink:href");emit("transform",translate(x,y));emit("width",w);emit("height",h);emit("preserveAspectRatio",a)}function bound$1(bounds,item){var image=item.image,x=item.x||0,y=item.y||0,w=(null!=item.width?item.width:image&&image.width)||0,h=(null!=item.height?item.height:image&&image.height)||0;x-=imageXOffset(item.align,w);y-=imageYOffset(item.baseline,h);return bounds.set(x,y,x+w,y+h)}function draw$1(context,scene,bounds){var renderer=this;visit(scene,function(item){if(bounds&&!bounds.intersects(item.bounds))return;var opacity,ar0,ar1,t,image=getImage(item,renderer),x=item.x||0,y=item.y||0,w=(null!=item.width?item.width:image.width)||0,h=(null!=item.height?item.height:image.height)||0;x-=imageXOffset(item.align,w);y-=imageYOffset(item.baseline,h);if(false!==item.aspect){ar0=image.width/image.height;ar1=item.width/item.height;if(ar0===ar0&&ar1===ar1&&ar0!==ar1)if(ar1<ar0){t=w/ar0;y+=(h-t)/2;h=t}else{t=h*ar0;x+=(w-t)/2;w=t}}if(image.loaded){context.globalAlpha=null!=(opacity=item.opacity)?opacity:1;context.drawImage(image,x,y,w,h)}})}var image$1={type:"image",tag:"image",nested:false,attr:attr$1,bound:bound$1,draw:draw$1,pick:pick(),get:getImage,xOffset:imageXOffset,yOffset:imageYOffset};var line$2=markMultiItemPath("line",line$1,pickLine);function attr$2(emit,item){emit("transform",translateItem(item));emit("d",item.path)}function path$1(context$$1,item){var path=item.path;if(null==path)return true;var cache=item.pathCache;cache&&cache.path===path||((item.pathCache=cache=pathParse(path)).path=path);pathRender(context$$1,cache,item.x,item.y)}function bound$2(bounds,item){return path$1(context(bounds),item)?bounds.set(0,0,0,0):boundStroke(bounds,item)}var path$2={type:"path",tag:"path",nested:false,attr:attr$2,bound:bound$2,draw:drawAll(path$1),pick:pickPath(path$1)};function attr$3(emit,item){emit("d",rectangle(null,item))}function bound$3(bounds,item){var x,y;return boundStroke(bounds.set(x=item.x||0,y=item.y||0,x+item.width||0,y+item.height||0),item)}function draw$2(context,item){context.beginPath();rectangle(context,item)}var rect={type:"rect",tag:"path",nested:false,attr:attr$3,bound:bound$3,draw:drawAll(draw$2),pick:pickPath(draw$2)};function attr$4(emit,item){emit("transform",translateItem(item));emit("x2",null!=item.x2?item.x2-(item.x||0):0);emit("y2",null!=item.y2?item.y2-(item.y||0):0)}function bound$4(bounds,item){var x1,y1;return boundStroke(bounds.set(x1=item.x||0,y1=item.y||0,null!=item.x2?item.x2:x1,null!=item.y2?item.y2:y1),item)}function path$3(context,item,opacity){var x1,y1,x2,y2;if(item.stroke&&stroke(context,item,opacity)){x1=item.x||0;y1=item.y||0;x2=null!=item.x2?item.x2:x1;y2=null!=item.y2?item.y2:y1;context.beginPath();context.moveTo(x1,y1);context.lineTo(x2,y2);return true}return false}function draw$3(context,scene,bounds){visit(scene,function(item){if(bounds&&!bounds.intersects(item.bounds))return;var opacity=null==item.opacity?1:item.opacity;opacity&&path$3(context,item,opacity)&&context.stroke()})}function hit(context,item,x,y){if(!context.isPointInStroke)return false;return path$3(context,item,1)&&context.isPointInStroke(x,y)}var rule={type:"rule",tag:"line",nested:false,attr:attr$4,bound:bound$4,draw:draw$3,pick:pick(hit)};var shape$1=markItemPath("shape",shape);var symbol$1=markItemPath("symbol",symbol$$1);var context$1,currFontHeight;var textMetrics={height:fontSize,measureWidth:measureWidth,estimateWidth:estimateWidth,width:estimateWidth,canvas:useCanvas};useCanvas(true);function estimateWidth(item){currFontHeight=fontSize(item);return estimate(textValue(item))}function estimate(text){return~~(.8*text.length*currFontHeight)}function measureWidth(item){context$1.font=font(item);return measure$1(textValue(item))}function measure$1(text){return context$1.measureText(text).width}function fontSize(item){return null!=item.fontSize?item.fontSize:11}function useCanvas(use){context$1=use&&(context$1=canvas(1,1))?context$1.getContext("2d"):null;textMetrics.width=context$1?measureWidth:estimateWidth}function textValue(item){var s=item.text;return null==s?"":item.limit>0?truncate$1(item):s+""}function truncate$1(item){var width,limit=+item.limit,text=item.text+"";if(context$1){context$1.font=font(item);width=measure$1}else{currFontHeight=fontSize(item);width=estimate}if(width(text)<limit)return text;var mid,ellipsis=item.ellipsis||"…",rtl="rtl"===item.dir,lo=0,hi=text.length;limit-=width(ellipsis);if(rtl){while(lo<hi){mid=lo+hi>>>1;width(text.slice(mid))>limit?lo=mid+1:hi=mid}return ellipsis+text.slice(lo)}while(lo<hi){mid=1+(lo+hi>>>1);width(text.slice(0,mid))<limit?lo=mid:hi=mid-1}return text.slice(0,lo)+ellipsis}function fontFamily(item,quote){var font=item.font;return(quote&&font?String(font).replace(/"/g,"'"):font)||"sans-serif"}function font(item,quote){return(item.fontStyle?item.fontStyle+" ":"")+(item.fontVariant?item.fontVariant+" ":"")+(item.fontWeight?item.fontWeight+" ":"")+fontSize(item)+"px "+fontFamily(item,quote)}function offset(item){var baseline=item.baseline,h=fontSize(item);return Math.round("top"===baseline?.79*h:"middle"===baseline?.3*h:"bottom"===baseline?-.21*h:0)}var textAlign={left:"start",center:"middle",right:"end"};var tempBounds=new Bounds;function attr$5(emit,item){var t,dx=item.dx||0,dy=(item.dy||0)+offset(item),x=item.x||0,y=item.y||0,a=item.angle||0,r=item.radius||0;if(r){t=(item.theta||0)-Math.PI/2;x+=r*Math.cos(t);y+=r*Math.sin(t)}emit("text-anchor",textAlign[item.align]||"start");if(a){t=translate(x,y)+" rotate("+a+")";(dx||dy)&&(t+=" "+translate(dx,dy))}else t=translate(x+dx,y+dy);emit("transform",t)}function bound$5(bounds,item,noRotate){var w,t,h=textMetrics.height(item),a=item.align,r=item.radius||0,x=item.x||0,y=item.y||0,dx=item.dx||0,dy=(item.dy||0)+offset(item)-Math.round(.8*h);if(r){t=(item.theta||0)-Math.PI/2;x+=r*Math.cos(t);y+=r*Math.sin(t)}w=textMetrics.width(item);"center"===a?dx-=w/2:"right"===a&&(dx-=w);bounds.set(dx+=x,dy+=y,dx+w,dy+h);item.angle&&!noRotate&&bounds.rotate(item.angle*Math.PI/180,x,y);return bounds.expand(noRotate||!w?0:1)}function draw$4(context,scene,bounds){visit(scene,function(item){var opacity,x,y,r,t,str;if(bounds&&!bounds.intersects(item.bounds))return;if(!(str=textValue(item)))return;opacity=null==item.opacity?1:item.opacity;if(0===opacity)return;context.font=font(item);context.textAlign=item.align||"left";x=item.x||0;y=item.y||0;if(r=item.radius){t=(item.theta||0)-Math.PI/2;x+=r*Math.cos(t);y+=r*Math.sin(t)}if(item.angle){context.save();context.translate(x,y);context.rotate(item.angle*Math.PI/180);x=y=0}x+=item.dx||0;y+=(item.dy||0)+offset(item);item.fill&&fill(context,item,opacity)&&context.fillText(str,x,y);item.stroke&&stroke(context,item,opacity)&&context.strokeText(str,x,y);item.angle&&context.restore()})}function hit$1(context,item,x,y,gx,gy){if(item.fontSize<=0)return false;if(!item.angle)return true;var b=bound$5(tempBounds,item,true),a=-item.angle*Math.PI/180,cos=Math.cos(a),sin=Math.sin(a),ix=item.x,iy=item.y,px=cos*gx-sin*gy+(ix-ix*cos+iy*sin),py=sin*gx+cos*gy+(iy-ix*sin-iy*cos);return b.contains(px,py)}var text={type:"text",tag:"text",nested:false,attr:attr$5,bound:bound$5,draw:draw$4,pick:pick(hit$1)};var trail$1=markMultiItemPath("trail",trail,pickTrail);var marks={arc:arc$1,area:area$2,group:group,image:image$1,line:line$2,path:path$2,rect:rect,rule:rule,shape:shape$1,symbol:symbol$1,text:text,trail:trail$1};function boundItem(item,func,opt){var type=marks[item.mark.marktype],bound=func||type.bound;type.nested&&(item=item.mark);return bound(item.bounds||(item.bounds=new Bounds),item,opt)}var DUMMY={mark:null};function boundMark(mark,bounds,opt){var i,n,item,b,type=marks[mark.marktype],bound=type.bound,items=mark.items,hasItems=items&&items.length;if(type.nested){if(hasItems)item=items[0];else{DUMMY.mark=mark;item=DUMMY}b=boundItem(item,bound,opt);bounds=bounds&&bounds.union(b)||b;return bounds}bounds=bounds||mark.bounds&&mark.bounds.clear()||new Bounds;if(hasItems)for(i=0,n=items.length;i<n;++i)bounds.union(boundItem(items[i],bound,opt));return mark.bounds=bounds}var keys=["marktype","name","role","interactive","clip","items","zindex","x","y","width","height","align","baseline","fill","fillOpacity","opacity","stroke","strokeOpacity","strokeWidth","strokeCap","strokeDash","strokeDashOffset","startAngle","endAngle","innerRadius","outerRadius","cornerRadius","padAngle","interpolate","tension","orient","defined","url","path","x2","y2","size","shape","text","angle","theta","radius","dx","dy","font","fontSize","fontWeight","fontStyle","fontVariant"];function sceneToJSON(scene,indent){return JSON.stringify(scene,keys,indent)}function sceneFromJSON(json){var scene="string"===typeof json?JSON.parse(json):json;return initialize(scene)}function initialize(scene){var parent,i,n,type=scene.marktype,items=scene.items;if(items)for(i=0,n=items.length;i<n;++i){parent=type?"mark":"group";items[i][parent]=scene;items[i].zindex&&(items[i][parent].zdirty=true);"group"===(type||parent)&&initialize(items[i])}type&&boundMark(scene);return scene}function Scenegraph(scene){if(arguments.length)this.root=sceneFromJSON(scene);else{this.root=createMark({marktype:"group",name:"root",role:"frame"});this.root.items=[new GroupItem(this.root)]}}var prototype$F=Scenegraph.prototype;prototype$F.toJSON=function(indent){return sceneToJSON(this.root,indent||0)};prototype$F.mark=function(markdef,group,index){group=group||this.root.items[0];var mark=createMark(markdef,group);group.items[index]=mark;mark.zindex&&(mark.group.zdirty=true);return mark};function createMark(def,group){return{bounds:new Bounds,clip:!!def.clip,group:group,interactive:false!==def.interactive,items:[],marktype:def.marktype,name:def.name||void 0,role:def.role||void 0,zindex:def.zindex||0}}function domCreate(doc,tag,ns){!doc&&"undefined"!==typeof document&&document.createElement&&(doc=document);return doc?ns?doc.createElementNS(ns,tag):doc.createElement(tag):null}function domFind(el,tag){tag=tag.toLowerCase();var nodes=el.childNodes,i=0,n=nodes.length;for(;i<n;++i)if(nodes[i].tagName.toLowerCase()===tag)return nodes[i]}function domChild(el,index,tag,ns){var b,a=el.childNodes[index];if(!a||a.tagName.toLowerCase()!==tag.toLowerCase()){b=a||null;a=domCreate(el.ownerDocument,tag,ns);el.insertBefore(a,b)}return a}function domClear(el,index){var nodes=el.childNodes,curr=nodes.length;while(curr>index)el.removeChild(nodes[--curr]);return el}function cssClass(mark){return"mark-"+mark.marktype+(mark.role?" role-"+mark.role:"")+(mark.name?" "+mark.name:"")}function point$4(event,el){var rect=el.getBoundingClientRect();return[event.clientX-rect.left-(el.clientLeft||0),event.clientY-rect.top-(el.clientTop||0)]}function resolveItem(item,event,el,origin){var mdef,p,mark=item&&item.mark;if(mark&&(mdef=marks[mark.marktype]).tip){p=point$4(event,el);p[0]-=origin[0];p[1]-=origin[1];while(item=item.mark.group){p[0]-=item.x||0;p[1]-=item.y||0}item=mdef.tip(mark.items,p)}return item}function Handler(customLoader,customTooltip){this._active=null;this._handlers={};this._loader=customLoader||loader();this._tooltip=customTooltip||defaultTooltip}function defaultTooltip(handler,event,item,value){handler.element().setAttribute("title",value||"")}var prototype$G=Handler.prototype;prototype$G.initialize=function(el,origin,obj){this._el=el;this._obj=obj||null;return this.origin(origin)};prototype$G.element=function(){return this._el};prototype$G.canvas=function(){return this._el&&this._el.firstChild};prototype$G.origin=function(origin){if(arguments.length){this._origin=origin||[0,0];return this}return this._origin.slice()};prototype$G.scene=function(scene){if(!arguments.length)return this._scene;this._scene=scene;return this};prototype$G.on=function(){};prototype$G.off=function(){};prototype$G._handlerIndex=function(h,type,handler){for(var i=h?h.length:0;--i>=0;)if(h[i].type===type&&(!handler||h[i].handler===handler))return i;return-1};prototype$G.handlers=function(type){var k,h=this._handlers,a=[];if(type)a.push.apply(a,h[this.eventName(type)]);else for(k in h)a.push.apply(a,h[k]);return a};prototype$G.eventName=function(name){var i=name.indexOf(".");return i<0?name:name.slice(0,i)};prototype$G.handleHref=function(event,item,href){this._loader.sanitize(href,{context:"href"}).then(function(opt){var e=new MouseEvent(event.type,event),a=domCreate(null,"a");for(var name in opt)a.setAttribute(name,opt[name]);a.dispatchEvent(e)}).catch(function(){})};prototype$G.handleTooltip=function(event,item,show){if(item&&null!=item.tooltip){item=resolveItem(item,event,this.canvas(),this._origin);var value=show&&item&&item.tooltip||null;this._tooltip.call(this._obj,this,event,item,value)}};prototype$G.getItemBoundingClientRect=function(item){if(!(el=this.canvas()))return;var el,rect=el.getBoundingClientRect(),origin=this._origin,itemBounds=item.bounds,x=itemBounds.x1+origin[0]+rect.left,y=itemBounds.y1+origin[1]+rect.top,w=itemBounds.width(),h=itemBounds.height();while(item.mark&&(item=item.mark.group)){x+=item.x||0;y+=item.y||0}return{x:x,y:y,width:w,height:h,left:x,top:y,right:x+w,bottom:y+h}};function Renderer(loader){this._el=null;this._bgcolor=null;this._loader=new ResourceLoader(loader)}var prototype$H=Renderer.prototype;prototype$H.initialize=function(el,width,height,origin,scaleFactor){this._el=el;return this.resize(width,height,origin,scaleFactor)};prototype$H.element=function(){return this._el};prototype$H.canvas=function(){return this._el&&this._el.firstChild};prototype$H.background=function(bgcolor){if(0===arguments.length)return this._bgcolor;this._bgcolor=bgcolor;return this};prototype$H.resize=function(width,height,origin,scaleFactor){this._width=width;this._height=height;this._origin=origin||[0,0];this._scale=scaleFactor||1;return this};prototype$H.dirty=function(){};prototype$H.render=function(scene){var r=this;r._call=function(){r._render(scene)};r._call();r._call=null;return r};prototype$H._render=function(){};prototype$H.renderAsync=function(scene){var r=this.render(scene);return this._ready?this._ready.then(function(){return r}):Promise.resolve(r)};prototype$H._load=function(method,uri){var r=this,p=r._loader[method](uri);if(!r._ready){var call=r._call;r._ready=r._loader.ready().then(function(redraw){redraw&&call();r._ready=null})}return p};prototype$H.sanitizeURL=function(uri){return this._load("sanitizeURL",uri)};prototype$H.loadImage=function(uri){return this._load("loadImage",uri)};var Events=["keydown","keypress","keyup","dragenter","dragleave","dragover","mousedown","mouseup","mousemove","mouseout","mouseover","click","dblclick","wheel","mousewheel","touchstart","touchmove","touchend"];var TooltipShowEvent="mousemove";var TooltipHideEvent="mouseout";var HrefEvent="click";function CanvasHandler(loader,tooltip){Handler.call(this,loader,tooltip);this._down=null;this._touch=null;this._first=true}var prototype$I=inherits(CanvasHandler,Handler);prototype$I.initialize=function(el,origin,obj){var canvas=this._canvas=el&&domFind(el,"canvas");if(canvas){var that=this;this.events.forEach(function(type){canvas.addEventListener(type,function(evt){prototype$I[type]?prototype$I[type].call(that,evt):that.fire(type,evt)})})}return Handler.prototype.initialize.call(this,el,origin,obj)};prototype$I.canvas=function(){return this._canvas};prototype$I.context=function(){return this._canvas.getContext("2d")};prototype$I.events=Events;prototype$I.DOMMouseScroll=function(evt){this.fire("mousewheel",evt)};function move(moveEvent,overEvent,outEvent){return function(evt){var a=this._active,p=this.pickEvent(evt);if(p===a)this.fire(moveEvent,evt);else{a&&a.exit||this.fire(outEvent,evt);this._active=p;this.fire(overEvent,evt);this.fire(moveEvent,evt)}}}function inactive(type){return function(evt){this.fire(type,evt);this._active=null}}prototype$I.mousemove=move("mousemove","mouseover","mouseout");prototype$I.dragover=move("dragover","dragenter","dragleave");prototype$I.mouseout=inactive("mouseout");prototype$I.dragleave=inactive("dragleave");prototype$I.mousedown=function(evt){this._down=this._active;this.fire("mousedown",evt)};prototype$I.click=function(evt){if(this._down===this._active){this.fire("click",evt);this._down=null}};prototype$I.touchstart=function(evt){this._touch=this.pickEvent(evt.changedTouches[0]);if(this._first){this._active=this._touch;this._first=false}this.fire("touchstart",evt,true)};prototype$I.touchmove=function(evt){this.fire("touchmove",evt,true)};prototype$I.touchend=function(evt){this.fire("touchend",evt,true);this._touch=null};prototype$I.fire=function(type,evt,touch){var i,len,a=touch?this._touch:this._active,h=this._handlers[type];evt.vegaType=type;type===HrefEvent&&a&&a.href?this.handleHref(evt,a,a.href):type!==TooltipShowEvent&&type!==TooltipHideEvent||this.handleTooltip(evt,a,type!==TooltipHideEvent);if(h)for(i=0,len=h.length;i<len;++i)h[i].handler.call(this._obj,evt,a)};prototype$I.on=function(type,handler){var name=this.eventName(type),h=this._handlers,i=this._handlerIndex(h[name],type,handler);i<0&&(h[name]||(h[name]=[])).push({type:type,handler:handler});return this};prototype$I.off=function(type,handler){var name=this.eventName(type),h=this._handlers[name],i=this._handlerIndex(h,type,handler);i>=0&&h.splice(i,1);return this};prototype$I.pickEvent=function(evt){var p=point$4(evt,this._canvas),o=this._origin;return this.pick(this._scene,p[0],p[1],p[0]-o[0],p[1]-o[1])};prototype$I.pick=function(scene,x,y,gx,gy){var g=this.context(),mark=marks[scene.marktype];return mark.pick.call(this,g,scene,x,y,gx,gy)};function clip$1(context,scene){var clip=scene.clip;context.save();context.beginPath();if(isFunction(clip))clip(context);else{var group=scene.group;context.rect(0,0,group.width||0,group.height||0)}context.clip()}function devicePixelRatio(){return"undefined"!==typeof window&&window.devicePixelRatio||1}var pixelRatio=devicePixelRatio();function resize(canvas,width,height,origin,scaleFactor){var inDOM="undefined"!==typeof HTMLElement&&canvas instanceof HTMLElement&&null!=canvas.parentNode;var context=canvas.getContext("2d"),ratio=inDOM?pixelRatio:scaleFactor;canvas.width=width*ratio;canvas.height=height*ratio;if(inDOM&&1!==ratio){canvas.style.width=width+"px";canvas.style.height=height+"px"}context.pixelRatio=ratio;context.setTransform(ratio,0,0,ratio,ratio*origin[0],ratio*origin[1]);return canvas}function CanvasRenderer(loader){Renderer.call(this,loader);this._redraw=false;this._dirty=new Bounds}var prototype$J=inherits(CanvasRenderer,Renderer),base=Renderer.prototype,tempBounds$1=new Bounds;prototype$J.initialize=function(el,width,height,origin,scaleFactor){this._canvas=canvas(1,1);if(el){domClear(el,0).appendChild(this._canvas);this._canvas.setAttribute("class","marks")}return base.initialize.call(this,el,width,height,origin,scaleFactor)};prototype$J.resize=function(width,height,origin,scaleFactor){base.resize.call(this,width,height,origin,scaleFactor);resize(this._canvas,this._width,this._height,this._origin,this._scale);this._redraw=true;return this};prototype$J.canvas=function(){return this._canvas};prototype$J.context=function(){return this._canvas?this._canvas.getContext("2d"):null};prototype$J.dirty=function(item){var b=translate$1(item.bounds,item.mark.group);this._dirty.union(b)};function clipToBounds(g,b,origin){b.expand(1).round();b.translate(-origin[0]%1,-origin[1]%1);g.beginPath();g.rect(b.x1,b.y1,b.width(),b.height());g.clip();return b}function translate$1(bounds,group){if(null==group)return bounds;var b=tempBounds$1.clear().union(bounds);for(;null!=group;group=group.mark.group)b.translate(group.x||0,group.y||0);return b}prototype$J._render=function(scene){var g=this.context(),o=this._origin,w=this._width,h=this._height,b=this._dirty;g.save();if(this._redraw||b.empty()){this._redraw=false;b=null}else b=clipToBounds(g,b,o);this.clear(-o[0],-o[1],w,h);this.draw(g,scene,b);g.restore();this._dirty.clear();return this};prototype$J.draw=function(ctx,scene,bounds){var mark=marks[scene.marktype];scene.clip&&clip$1(ctx,scene);mark.draw.call(this,ctx,scene,bounds);scene.clip&&ctx.restore()};prototype$J.clear=function(x,y,w,h){var g=this.context();g.clearRect(x,y,w,h);if(null!=this._bgcolor){g.fillStyle=this._bgcolor;g.fillRect(x,y,w,h)}};function SVGHandler(loader,tooltip){Handler.call(this,loader,tooltip);var h=this;h._hrefHandler=listener(h,function(evt,item){item&&item.href&&h.handleHref(evt,item,item.href)});h._tooltipHandler=listener(h,function(evt,item){h.handleTooltip(evt,item,evt.type!==TooltipHideEvent)})}var prototype$K=inherits(SVGHandler,Handler);prototype$K.initialize=function(el,origin,obj){var svg=this._svg;if(svg){svg.removeEventListener(HrefEvent,this._hrefHandler);svg.removeEventListener(TooltipShowEvent,this._tooltipHandler);svg.removeEventListener(TooltipHideEvent,this._tooltipHandler)}this._svg=svg=el&&domFind(el,"svg");if(svg){svg.addEventListener(HrefEvent,this._hrefHandler);svg.addEventListener(TooltipShowEvent,this._tooltipHandler);svg.addEventListener(TooltipHideEvent,this._tooltipHandler)}return Handler.prototype.initialize.call(this,el,origin,obj)};prototype$K.canvas=function(){return this._svg};function listener(context,handler){return function(evt){var target=evt.target,item=target.__data__;evt.vegaType=evt.type;item=Array.isArray(item)?item[0]:item;handler.call(context._obj,evt,item)}}prototype$K.on=function(type,handler){var name=this.eventName(type),h=this._handlers,i=this._handlerIndex(h[name],type,handler);if(i<0){var x={type:type,handler:handler,listener:listener(this,handler)};(h[name]||(h[name]=[])).push(x);this._svg&&this._svg.addEventListener(name,x.listener)}return this};prototype$K.off=function(type,handler){var name=this.eventName(type),h=this._handlers[name],i=this._handlerIndex(h,type,handler);if(i>=0){this._svg&&this._svg.removeEventListener(name,h[i].listener);h.splice(i,1)}return this};function openTag(tag,attr,raw){var key,val,s="<"+tag;if(attr)for(key in attr){val=attr[key];null!=val&&(s+=" "+key+'="'+val+'"')}raw&&(s+=" "+raw);return s+">"}function closeTag(tag){return"</"+tag+">"}var metadata={version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"};var styles={fill:"fill",fillOpacity:"fill-opacity",stroke:"stroke",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",strokeCap:"stroke-linecap",strokeJoin:"stroke-linejoin",strokeDash:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeMiterLimit:"stroke-miterlimit",opacity:"opacity"};var styleProperties=Object.keys(styles);var ns=metadata.xmlns;function SVGRenderer(loader){Renderer.call(this,loader);this._dirtyID=1;this._dirty=[];this._svg=null;this._root=null;this._defs=null}var prototype$L=inherits(SVGRenderer,Renderer);var base$1=Renderer.prototype;prototype$L.initialize=function(el,width,height,padding){if(el){this._svg=domChild(el,0,"svg",ns);this._svg.setAttribute("class","marks");domClear(el,1);this._root=domChild(this._svg,0,"g",ns);domClear(this._svg,1)}this._defs={gradient:{},clipping:{}};this.background(this._bgcolor);return base$1.initialize.call(this,el,width,height,padding)};prototype$L.background=function(bgcolor){arguments.length&&this._svg&&this._svg.style.setProperty("background-color",bgcolor);return base$1.background.apply(this,arguments)};prototype$L.resize=function(width,height,origin,scaleFactor){base$1.resize.call(this,width,height,origin,scaleFactor);if(this._svg){this._svg.setAttribute("width",this._width*this._scale);this._svg.setAttribute("height",this._height*this._scale);this._svg.setAttribute("viewBox","0 0 "+this._width+" "+this._height);this._root.setAttribute("transform","translate("+this._origin+")")}this._dirty=[];return this};prototype$L.canvas=function(){return this._svg};prototype$L.svg=function(){if(!this._svg)return null;var attr={class:"marks",width:this._width*this._scale,height:this._height*this._scale,viewBox:"0 0 "+this._width+" "+this._height};for(var key$$1 in metadata)attr[key$$1]=metadata[key$$1];var bg=this._bgcolor?openTag("rect",{width:this._width,height:this._height,style:"fill: "+this._bgcolor+";"})+closeTag("rect"):"";return openTag("svg",attr)+bg+this._svg.innerHTML+closeTag("svg")};prototype$L._render=function(scene){if(this._dirtyCheck()){this._dirtyAll&&this._resetDefs();this.draw(this._root,scene);domClear(this._root,1)}this.updateDefs();this._dirty=[];++this._dirtyID;return this};prototype$L.updateDefs=function(){var id$$1,svg=this._svg,defs=this._defs,el=defs.el,index=0;for(id$$1 in defs.gradient){el||(defs.el=el=domChild(svg,0,"defs",ns));updateGradient(el,defs.gradient[id$$1],index++)}for(id$$1 in defs.clipping){el||(defs.el=el=domChild(svg,0,"defs",ns));updateClipping(el,defs.clipping[id$$1],index++)}if(el)if(0===index){svg.removeChild(el);defs.el=null}else domClear(el,index)};function updateGradient(el,grad,index){var i,n,stop;el=domChild(el,index,"linearGradient",ns);el.setAttribute("id",grad.id);el.setAttribute("x1",grad.x1);el.setAttribute("x2",grad.x2);el.setAttribute("y1",grad.y1);el.setAttribute("y2",grad.y2);for(i=0,n=grad.stops.length;i<n;++i){stop=domChild(el,i,"stop",ns);stop.setAttribute("offset",grad.stops[i].offset);stop.setAttribute("stop-color",grad.stops[i].color)}domClear(el,i)}function updateClipping(el,clip$$1,index){var mask;el=domChild(el,index,"clipPath",ns);el.setAttribute("id",clip$$1.id);if(clip$$1.path){mask=domChild(el,0,"path",ns);mask.setAttribute("d",clip$$1.path)}else{mask=domChild(el,0,"rect",ns);mask.setAttribute("x",0);mask.setAttribute("y",0);mask.setAttribute("width",clip$$1.width);mask.setAttribute("height",clip$$1.height)}}prototype$L._resetDefs=function(){var def=this._defs;def.gradient={};def.clipping={}};prototype$L.dirty=function(item){if(item.dirty!==this._dirtyID){item.dirty=this._dirtyID;this._dirty.push(item)}};prototype$L.isDirty=function(item){return this._dirtyAll||!item._svg||item.dirty===this._dirtyID};prototype$L._dirtyCheck=function(){this._dirtyAll=true;var items=this._dirty;if(!items.length)return true;var item,mark,type,mdef,i,n,o,id$$1=++this._dirtyID;for(i=0,n=items.length;i<n;++i){item=items[i];mark=item.mark;if(mark.marktype!==type){type=mark.marktype;mdef=marks[type]}if(mark.zdirty&&mark.dirty!==id$$1){this._dirtyAll=false;dirtyParents(item,id$$1);mark.items.forEach(function(i){i.dirty=id$$1})}if(mark.zdirty)continue;if(item.exit){if(mdef.nested&&mark.items.length){o=mark.items[0];o._svg&&this._update(mdef,o._svg,o)}else if(item._svg){o=item._svg.parentNode;o&&o.removeChild(item._svg)}item._svg=null;continue}item=mdef.nested?mark.items[0]:item;if(item._update===id$$1)continue;if(item._svg&&item._svg.ownerSVGElement)this._update(mdef,item._svg,item);else{this._dirtyAll=false;dirtyParents(item,id$$1)}item._update=id$$1}return!this._dirtyAll};function dirtyParents(item,id$$1){for(;item&&item.dirty!==id$$1;item=item.mark.group){item.dirty=id$$1;if(!item.mark||item.mark.dirty===id$$1)return;item.mark.dirty=id$$1}}prototype$L.draw=function(el,scene,prev){if(!this.isDirty(scene))return scene._svg;var parent,renderer=this,svg=this._svg,mdef=marks[scene.marktype],events=false===scene.interactive?"none":null,isGroup="g"===mdef.tag,sibling=null,i=0;parent=bind(scene,el,prev,"g",svg);parent.setAttribute("class",cssClass(scene));isGroup||parent.style.setProperty("pointer-events",events);scene.clip?parent.setAttribute("clip-path",clip(renderer,scene,scene.group)):parent.removeAttribute("clip-path");function process(item){var dirty=renderer.isDirty(item),node=bind(item,parent,sibling,mdef.tag,svg);if(dirty){renderer._update(mdef,node,item);isGroup&&recurse(renderer,node,item)}sibling=node;++i}mdef.nested?scene.items.length&&process(scene.items[0]):visit(scene,process);domClear(parent,i);return parent};function recurse(renderer,el,group){el=el.lastChild;var prev,idx=0;visit(group,function(item){prev=renderer.draw(el,item,prev);++idx});domClear(el,1+idx)}function bind(item,el,sibling,tag,svg){var doc,node=item._svg;if(!node){doc=el.ownerDocument;node=domCreate(doc,tag,ns);item._svg=node;if(item.mark){node.__data__=item;node.__values__={fill:"default"};if("g"===tag){var bg=domCreate(doc,"path",ns);bg.setAttribute("class","background");node.appendChild(bg);bg.__data__=item;var fg=domCreate(doc,"g",ns);node.appendChild(fg);fg.__data__=item}}}(node.ownerSVGElement!==svg||hasSiblings(item)&&node.previousSibling!==sibling)&&el.insertBefore(node,sibling?sibling.nextSibling:el.firstChild);return node}function hasSiblings(item){var parent=item.mark||item.group;return parent&&parent.items.length>1}var element=null,values=null;var mark_extras={group:function(mdef,el,item){values=el.__values__;element=el.childNodes[1];mdef.foreground(emit,item,this);element=el.childNodes[0];mdef.background(emit,item,this);var value=false===item.mark.interactive?"none":null;if(value!==values.events){element.style.setProperty("pointer-events",value);values.events=value}},text:function(mdef,el,item){var value;value=textValue(item);if(value!==values.text){el.textContent=value;values.text=value}setStyle(el,"font-family",fontFamily(item));setStyle(el,"font-size",fontSize(item)+"px");setStyle(el,"font-style",item.fontStyle);setStyle(el,"font-variant",item.fontVariant);setStyle(el,"font-weight",item.fontWeight)}};function setStyle(el,name,value){if(value!==values[name]){null==value?el.style.removeProperty(name):el.style.setProperty(name,value+"");values[name]=value}}prototype$L._update=function(mdef,el,item){element=el;values=el.__values__;mdef.attr(emit,item,this);var extra=mark_extras[mdef.type];extra&&extra.call(this,mdef,el,item);this.style(element,item)};function emit(name,value,ns){if(value===values[name])return;null!=value?ns?element.setAttributeNS(ns,name,value):element.setAttribute(name,value):ns?element.removeAttributeNS(ns,name):element.removeAttribute(name);values[name]=value}prototype$L.style=function(el,o){if(null==o)return;var i,n,prop,name,value;for(i=0,n=styleProperties.length;i<n;++i){prop=styleProperties[i];value=o[prop];"font"===prop&&(value=fontFamily(o));if(value===values[prop])continue;name=styles[prop];if(null==value)"fill"===name?el.style.setProperty(name,"none"):el.style.removeProperty(name);else{if(value.id){this._defs.gradient[value.id]=value;value="url("+href()+"#"+value.id+")"}el.style.setProperty(name,value+"")}values[prop]=value}};function href(){var loc;return"undefined"===typeof window?"":(loc=window.location).hash?loc.href.slice(0,-loc.hash.length):loc.href}function SVGStringRenderer(loader){Renderer.call(this,loader);this._text={head:"",bg:"",root:"",foot:"",defs:"",body:""};this._defs={gradient:{},clipping:{}}}var prototype$M=inherits(SVGStringRenderer,Renderer);var base$2=Renderer.prototype;prototype$M.resize=function(width,height,origin,scaleFactor){base$2.resize.call(this,width,height,origin,scaleFactor);var o=this._origin,t=this._text;var attr={class:"marks",width:this._width*this._scale,height:this._height*this._scale,viewBox:"0 0 "+this._width+" "+this._height};for(var key$$1 in metadata)attr[key$$1]=metadata[key$$1];t.head=openTag("svg",attr);var bg=this._bgcolor;"transparent"!==bg&&"none"!==bg||(bg=null);t.bg=bg?openTag("rect",{width:this._width,height:this._height,style:"fill: "+bg+";"})+closeTag("rect"):"";t.root=openTag("g",{transform:"translate("+o+")"});t.foot=closeTag("g")+closeTag("svg");return this};prototype$M.background=function(){var rv=base$2.background.apply(this,arguments);arguments.length&&this._text.head&&this.resize(this._width,this._height,this._origin,this._scale);return rv};prototype$M.svg=function(){var t=this._text;return t.head+t.bg+t.defs+t.root+t.body+t.foot};prototype$M._render=function(scene){this._text.body=this.mark(scene);this._text.defs=this.buildDefs();return this};prototype$M.buildDefs=function(){var i,id$$1,def,stops,all=this._defs,defs="";for(id$$1 in all.gradient){def=all.gradient[id$$1];stops=def.stops;defs+=openTag("linearGradient",{id:id$$1,x1:def.x1,x2:def.x2,y1:def.y1,y2:def.y2});for(i=0;i<stops.length;++i)defs+=openTag("stop",{offset:stops[i].offset,"stop-color":stops[i].color})+closeTag("stop");defs+=closeTag("linearGradient")}for(id$$1 in all.clipping){def=all.clipping[id$$1];defs+=openTag("clipPath",{id:id$$1});def.path?defs+=openTag("path",{d:def.path})+closeTag("path"):defs+=openTag("rect",{x:0,y:0,width:def.width,height:def.height})+closeTag("rect");defs+=closeTag("clipPath")}return defs.length>0?openTag("defs")+defs+closeTag("defs"):""};var object$1;function emit$1(name,value,ns,prefixed){object$1[prefixed||name]=value}prototype$M.attributes=function(attr,item){object$1={};attr(emit$1,item,this);return object$1};prototype$M.href=function(item){var attr,that=this,href=item.href;if(href){if(attr=that._hrefs&&that._hrefs[href])return attr;that.sanitizeURL(href).then(function(attr){attr["xlink:href"]=attr.href;attr.href=null;(that._hrefs||(that._hrefs={}))[href]=attr})}return null};prototype$M.mark=function(scene){var style,renderer=this,mdef=marks[scene.marktype],tag=mdef.tag,defs=this._defs,str="";"g"!==tag&&false===scene.interactive&&(style='style="pointer-events: none;"');str+=openTag("g",{class:cssClass(scene),"clip-path":scene.clip?clip(renderer,scene,scene.group):null},style);function process(item){var href=renderer.href(item);href&&(str+=openTag("a",href));style="g"!==tag?applyStyles(item,scene,tag,defs):null;str+=openTag(tag,renderer.attributes(mdef.attr,item),style);if("text"===tag)str+=escape_text(textValue(item));else if("g"===tag){str+=openTag("path",renderer.attributes(mdef.background,item),applyStyles(item,scene,"bgrect",defs))+closeTag("path");str+=openTag("g",renderer.attributes(mdef.foreground,item))+renderer.markGroup(item)+closeTag("g")}str+=closeTag(tag);href&&(str+=closeTag("a"))}mdef.nested?scene.items&&scene.items.length&&process(scene.items[0]):visit(scene,process);return str+closeTag("g")};prototype$M.markGroup=function(scene){var renderer=this,str="";visit(scene,function(item){str+=renderer.mark(item)});return str};function applyStyles(o,mark,tag,defs){if(null==o)return"";var i,n,prop,name,value,s="";"bgrect"===tag&&false===mark.interactive&&(s+="pointer-events: none; ");if("text"===tag){s+="font-family: "+fontFamily(o)+"; ";s+="font-size: "+fontSize(o)+"px; ";o.fontStyle&&(s+="font-style: "+o.fontStyle+"; ");o.fontVariant&&(s+="font-variant: "+o.fontVariant+"; ");o.fontWeight&&(s+="font-weight: "+o.fontWeight+"; ")}for(i=0,n=styleProperties.length;i<n;++i){prop=styleProperties[i];name=styles[prop];value=o[prop];if(null==value)"fill"===name&&(s+="fill: none; ");else if("transparent"!==value||"fill"!==name&&"stroke"!==name){if(value.id){defs.gradient[value.id]=value;value="url(#"+value.id+")"}s+=name+": "+value+"; "}else s+=name+": none; "}return s?'style="'+s.trim()+'"':null}function escape_text(s){return s.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Canvas="canvas";var PNG="png";var SVG="svg";var None$2="none";var RenderType={Canvas:Canvas,PNG:PNG,SVG:SVG,None:None$2};var modules={};modules[Canvas]=modules[PNG]={renderer:CanvasRenderer,headless:CanvasRenderer,handler:CanvasHandler};modules[SVG]={renderer:SVGRenderer,headless:SVGStringRenderer,handler:SVGHandler};modules[None$2]={};function renderModule(name,_){name=String(name||"").toLowerCase();if(arguments.length>1){modules[name]=_;return this}return modules[name]}var clipBounds=new Bounds;function boundClip(mark){var clip=mark.clip;if(isFunction(clip))clip(context(clipBounds.clear()));else{if(!clip)return;clipBounds.set(0,0,mark.group.width,mark.group.height)}mark.bounds.intersect(clipBounds)}var TOLERANCE=1e-9;function sceneEqual(a,b,key$$1){return a===b||("path"===key$$1?pathEqual(a,b):a instanceof Date&&b instanceof Date?+a===+b:isNumber(a)&&isNumber(b)?Math.abs(a-b)<=TOLERANCE:a&&b&&(isObject(a)||isObject(b))?null!=a&&null!=b&&objectEqual(a,b):a==b)}function pathEqual(a,b){return sceneEqual(pathParse(a),pathParse(b))}function objectEqual(a,b){var key$$1,i,ka=Object.keys(a),kb=Object.keys(b);if(ka.length!==kb.length)return false;ka.sort();kb.sort();for(i=ka.length-1;i>=0;i--)if(ka[i]!=kb[i])return false;for(i=ka.length-1;i>=0;i--){key$$1=ka[i];if(!sceneEqual(a[key$$1],b[key$$1],key$$1))return false}return typeof a===typeof b}function Bound(params){Transform.call(this,null,params)}var prototype$N=inherits(Bound,Transform);prototype$N.transform=function(_,pulse){var rebound,view=pulse.dataflow,mark=_.mark,type=mark.marktype,entry=marks[type],bound=entry.bound,markBounds=mark.bounds;if(entry.nested){mark.items.length&&view.dirty(mark.items[0]);markBounds=boundItem$1(mark,bound);mark.items.forEach(function(item){item.bounds.clear().union(markBounds)})}else if(type===Group||_.modified()){pulse.visit(pulse.MOD,function(item){view.dirty(item)});markBounds.clear();mark.items.forEach(function(item){markBounds.union(boundItem$1(item,bound))});mark.role===LegendRole&&pulse.reflow()}else{rebound=pulse.changed(pulse.REM);pulse.visit(pulse.ADD,function(item){markBounds.union(boundItem$1(item,bound))});pulse.visit(pulse.MOD,function(item){rebound=rebound||markBounds.alignsWith(item.bounds);view.dirty(item);markBounds.union(boundItem$1(item,bound))});if(rebound){markBounds.clear();mark.items.forEach(function(item){markBounds.union(item.bounds)})}}boundClip(mark);return pulse.modifies("bounds")};function boundItem$1(item,bound,opt){return bound(item.bounds.clear(),item,opt)}var COUNTER_NAME=":vega_identifier:";function Identifier(params){Transform.call(this,0,params)}Identifier.Definition={type:"Identifier",metadata:{modifies:true},params:[{name:"as",type:"string",required:true}]};var prototype$O=inherits(Identifier,Transform);prototype$O.transform=function(_,pulse){var counter=getCounter(pulse.dataflow),id$$1=counter.value,as=_.as;pulse.visit(pulse.ADD,function(t){t[as]||(t[as]=++id$$1)});counter.set(this.value=id$$1);return pulse};function getCounter(view){var counter=view._signals[COUNTER_NAME];counter||(view._signals[COUNTER_NAME]=counter=view.add(0));return counter}function Mark(params){Transform.call(this,null,params)}var prototype$P=inherits(Mark,Transform);prototype$P.transform=function(_,pulse){var mark=this.value;if(!mark){mark=pulse.dataflow.scenegraph().mark(_.markdef,lookup$1(_),_.index);mark.group.context=_.context;_.context.group||(_.context.group=mark.group);mark.source=this;mark.clip=_.clip;mark.interactive=_.interactive;this.value=mark}var Init=mark.marktype===Group?GroupItem:Item;pulse.visit(pulse.ADD,function(item){Init.call(item,mark)});if(_.modified("clip")||_.modified("interactive")){mark.clip=_.clip;mark.interactive=!!_.interactive;mark.zdirty=true;pulse.reflow()}mark.items=pulse.source;return pulse};function lookup$1(_){var g=_.groups,p=_.parent;return g&&1===g.size?g.get(Object.keys(g.object)[0]):g&&p?g.lookup(p):null}function Overlap(params){Transform.call(this,null,params)}var prototype$Q=inherits(Overlap,Transform);var methods={parity:function(items){return items.filter(function(item,i){return i%2?item.opacity=0:1})},greedy:function(items){var a;return items.filter(function(b,i){if(i&&intersect$1(a.bounds,b.bounds))return b.opacity=0;a=b;return 1})}};function intersect$1(a,b){return!(a.x2-1<b.x1||a.x1+1>b.x2||a.y2-1<b.y1||a.y1+1>b.y2)}function hasOverlap(items){for(var b,i=1,n=items.length,a=items[0].bounds;i<n;a=b,++i)if(intersect$1(a,b=items[i].bounds))return true}function hasBounds(item){var b=item.bounds;return b.width()>1&&b.height()>1}function boundTest(scale,orient,tolerance){var range=scale.range(),b=new Bounds;orient===Top||orient===Bottom?b.set(range[0],-Infinity,range[1],Infinity):b.set(-Infinity,range[0],Infinity,range[1]);b.expand(tolerance||1);return function(item){return b.encloses(item.bounds)}}function reset$1(source){source.forEach(function(item){item.opacity=1});return source}function reflow(pulse,_){return pulse.reflow(_.modified()).modifies("opacity")}prototype$Q.transform=function(_,pulse){var items,test,reduce=methods[_.method]||methods.parity,source=pulse.materialize(pulse.SOURCE).source;if(!source)return;if(!_.method){if(_.modified("method")){reset$1(source);pulse=reflow(pulse,_)}return pulse}_.sort&&(source=source.slice().sort(_.sort));"greedy"===_.method&&(source=source.filter(hasBounds));items=reset$1(source);pulse=reflow(pulse,_);if(items.length>=3&&hasOverlap(items)){do{items=reduce(items)}while(items.length>=3&&hasOverlap(items));if(items.length<3&&!peek(source).opacity){items.length>1&&(peek(items).opacity=0);peek(source).opacity=1}}if(_.boundScale&&_.boundTolerance>=0){test=boundTest(_.boundScale,_.boundOrient,+_.boundTolerance);source.forEach(function(item){test(item)||(item.opacity=0)})}return pulse};function Render(params){Transform.call(this,null,params)}var prototype$R=inherits(Render,Transform);prototype$R.transform=function(_,pulse){var view=pulse.dataflow;pulse.visit(pulse.ALL,function(item){view.dirty(item)});if(pulse.fields&&pulse.fields["zindex"]){var item=pulse.source&&pulse.source[0];item&&(item.mark.zdirty=true)}};function extractGroups(group){var mark,items,groups=group.items,n=groups.length,i=0;var views={marks:[],rowheaders:[],rowfooters:[],colheaders:[],colfooters:[],rowtitle:null,coltitle:null};for(;i<n;++i){mark=groups[i];items=mark.items;if(mark.marktype===Group)switch(mark.role){case AxisRole:case LegendRole:break;case RowHeader:addAll(items,views.rowheaders);break;case RowFooter:addAll(items,views.rowfooters);break;case ColHeader:addAll(items,views.colheaders);break;case ColFooter:addAll(items,views.colfooters);break;case RowTitle:views.rowtitle=items[0];break;case ColTitle:views.coltitle=items[0];break;default:addAll(items,views.marks)}}return views}function addAll(items,array$$1){for(var i=0,n=items.length;i<n;++i)array$$1.push(items[i])}function bboxFlush(item){return{x1:0,y1:0,x2:item.width||0,y2:item.height||0}}function bboxFull(item){var b=item.bounds.clone();return b.empty()?b.set(0,0,0,0):b.translate(-(item.x||0),-(item.y||0))}function boundFlush(item,field$$1){return"x1"===field$$1?item.x||0:"y1"===field$$1?item.y||0:"x2"===field$$1?(item.x||0)+(item.width||0):"y2"===field$$1?(item.y||0)+(item.height||0):void 0}function boundFull(item,field$$1){return item.bounds[field$$1]}function get$1(opt,key$$1,d){var v=isObject(opt)?opt[key$$1]:opt;return null!=v?v:void 0!==d?d:0}function offsetValue(v){return v<0?Math.ceil(-v):0}function gridLayout(view,group,opt){var m,i,c,r,b,g,px,py,x,y,band,offset,views=extractGroups(group,opt),groups=views.marks,flush=opt.bounds===Flush,bbox=flush?bboxFlush:bboxFull,bounds=new Bounds(0,0,0,0),alignCol=get$1(opt.align,Column),alignRow=get$1(opt.align,Row),padCol=get$1(opt.padding,Column),padRow=get$1(opt.padding,Row),off=opt.offset,ncols=group.columns||opt.columns||groups.length,nrows=ncols<0?1:Math.ceil(groups.length/ncols),cells=nrows*ncols,xOffset=[],xExtent=[],xMax=0,xInit=0,yOffset=[],yExtent=[],yMax=0,yInit=0,n=groups.length;for(i=0;i<ncols;++i)xExtent[i]=0;for(i=0;i<nrows;++i)yExtent[i]=0;for(i=0;i<n;++i){b=bbox(groups[i]);c=i%ncols;r=~~(i/ncols);px=Math.ceil(bbox(groups[i]).x2);py=Math.ceil(bbox(groups[i]).y2);xMax=Math.max(xMax,px);yMax=Math.max(yMax,py);xExtent[c]=Math.max(xExtent[c],px);yExtent[r]=Math.max(yExtent[r],py);xOffset.push(padCol+offsetValue(b.x1));yOffset.push(padRow+offsetValue(b.y1));view.dirty(groups[i])}for(i=0;i<n;++i){i%ncols===0&&(xOffset[i]=xInit);i<ncols&&(yOffset[i]=yInit)}if(alignCol===Each)for(c=1;c<ncols;++c){for(offset=0,i=c;i<n;i+=ncols)offset<xOffset[i]&&(offset=xOffset[i]);for(i=c;i<n;i+=ncols)xOffset[i]=offset+xExtent[c-1]}else if(alignCol===All){for(offset=0,i=0;i<n;++i)i%ncols&&offset<xOffset[i]&&(offset=xOffset[i]);for(i=0;i<n;++i)i%ncols&&(xOffset[i]=offset+xMax)}else for(alignCol=false,c=1;c<ncols;++c)for(i=c;i<n;i+=ncols)xOffset[i]+=xExtent[c-1];if(alignRow===Each)for(r=1;r<nrows;++r){for(offset=0,i=r*ncols,m=i+ncols;i<m;++i)offset<yOffset[i]&&(offset=yOffset[i]);for(i=r*ncols;i<m;++i)yOffset[i]=offset+yExtent[r-1]}else if(alignRow===All){for(offset=0,i=ncols;i<n;++i)offset<yOffset[i]&&(offset=yOffset[i]);for(i=ncols;i<n;++i)yOffset[i]=offset+yMax}else for(alignRow=false,r=1;r<nrows;++r)for(i=r*ncols,m=i+ncols;i<m;++i)yOffset[i]+=yExtent[r-1];for(x=0,i=0;i<n;++i){g=groups[i];px=g.x||0;g.x=x=xOffset[i]+(i%ncols?x:0);g.bounds.translate(x-px,0)}for(c=0;c<ncols;++c)for(y=0,i=c;i<n;i+=ncols){g=groups[i];py=g.y||0;g.y=y+=yOffset[i];g.bounds.translate(0,y-py)}if(get$1(opt.center,Column)&&nrows>1&&alignCol)for(i=0;i<n;++i){g=groups[i];b=alignCol===All?xMax:xExtent[i%ncols];x=b-bbox(g).x2;if(x>0){g.x+=px=x/2;g.bounds.translate(px,0)}}if(get$1(opt.center,Row)&&1!==ncols&&alignRow)for(i=0;i<n;++i){g=groups[i];b=alignRow===All?yMax:yExtent[~~(i/ncols)];y=b-bbox(g).y2;if(y>0){g.y+=py=y/2;g.bounds.translate(0,py)}}for(i=0;i<n;++i)groups[i].mark.bounds.clear();for(i=0;i<n;++i){g=groups[i];view.dirty(g);bounds.union(g.mark.bounds.union(g.bounds))}function min(a,b){return Math.floor(Math.min(a,b))}function max(a,b){return Math.ceil(Math.max(a,b))}bbox=flush?boundFlush:boundFull;band=get$1(opt.headerBand,Row,null);x=layoutHeaders(view,views.rowheaders,groups,ncols,nrows,-get$1(off,"rowHeader"),min,0,bbox,"x1",0,ncols,1,band);band=get$1(opt.headerBand,Column,null);y=layoutHeaders(view,views.colheaders,groups,ncols,ncols,-get$1(off,"columnHeader"),min,1,bbox,"y1",0,1,ncols,band);band=get$1(opt.footerBand,Row,null);layoutHeaders(view,views.rowfooters,groups,ncols,nrows,get$1(off,"rowFooter"),max,0,bbox,"x2",ncols-1,ncols,1,band);band=get$1(opt.footerBand,Column,null);layoutHeaders(view,views.colfooters,groups,ncols,ncols,get$1(off,"columnFooter"),max,1,bbox,"y2",cells-ncols,1,ncols,band);if(views.rowtitle){offset=x-get$1(off,"rowTitle");band=get$1(opt.titleBand,Row,.5);layoutTitle(view,views.rowtitle,offset,0,bounds,band)}if(views.coltitle){offset=y-get$1(off,"columnTitle");band=get$1(opt.titleBand,Column,.5);layoutTitle(view,views.coltitle,offset,1,bounds,band)}}function layoutHeaders(view,headers,groups,ncols,limit,offset,agg,isX,bound,bf,start,stride,back,band){var i,j,k,m,b,h,g,x,y,n=groups.length,init=0,edge=0;if(!n)return init;for(i=start;i<n;i+=stride)groups[i]&&(init=agg(init,bound(groups[i],bf)));if(!headers.length)return init;if(headers.length>limit){view.warn("Grid headers exceed limit: "+limit);headers=headers.slice(0,limit)}init+=offset;for(j=0,m=headers.length;j<m;++j){view.dirty(headers[j]);headers[j].mark.bounds.clear()}for(i=start,j=0,m=headers.length;j<m;++j,i+=stride){h=headers[j];b=h.mark.bounds;for(k=i;k>=0&&null==(g=groups[k]);k-=back);if(isX){x=null==band?g.x:Math.round(g.bounds.x1+band*g.bounds.width());y=init}else{x=init;y=null==band?g.y:Math.round(g.bounds.y1+band*g.bounds.height())}b.union(h.bounds.translate(x-(h.x||0),y-(h.y||0)));h.x=x;h.y=y;view.dirty(h);edge=agg(edge,b[bf])}return edge}function layoutTitle(view,g,offset,isX,bounds,band){if(!g)return;view.dirty(g);var x=offset,y=offset;isX?x=Math.round(bounds.x1+band*bounds.width()):y=Math.round(bounds.y1+band*bounds.height());g.bounds.translate(x-(g.x||0),y-(g.y||0));g.mark.bounds.clear().union(g.bounds);g.x=x;g.y=y;view.dirty(g)}var AxisOffset=.5,tempBounds$2=new Bounds;function ViewLayout(params){Transform.call(this,null,params)}var prototype$S=inherits(ViewLayout,Transform);prototype$S.transform=function(_,pulse){var view=pulse.dataflow;_.mark.items.forEach(function(group){_.layout&&gridLayout(view,group,_.layout);layoutGroup(view,group,_)});_.modified()&&pulse.reflow();return pulse};function layoutGroup(view,group,_){var title,mark,flow,b,i,n,items=group.items,width=Math.max(0,group.width||0),height=Math.max(0,group.height||0),viewBounds=(new Bounds).set(0,0,width,height),xBounds=viewBounds.clone(),yBounds=viewBounds.clone(),legends=[];for(i=0,n=items.length;i<n;++i){mark=items[i];switch(mark.role){case AxisRole:b=isYAxis(mark)?xBounds:yBounds;b.union(axisLayout(view,mark,width,height));break;case TitleRole:title=mark;break;case LegendRole:legends.push(mark);break;case FrameRole:case ScopeRole:case RowHeader:case RowFooter:case RowTitle:case ColHeader:case ColFooter:case ColTitle:xBounds.union(mark.bounds);yBounds.union(mark.bounds);break;default:viewBounds.union(mark.bounds)}}if(legends.length){flow={leftWidth:legendPreprocess(view,legends),margin:_.legendMargin||8,left:0,right:0,top:0,bottom:0};for(i=0,n=legends.length;i<n;++i){b=legendLayout(view,legends[i],flow,xBounds,yBounds,width,height);if(_.autosize&&_.autosize.type===Fit){var orient=legends[i].items[0].datum.orient;orient===Left||orient===Right?viewBounds.add(b.x1,0).add(b.x2,0):orient!==Top&&orient!==Bottom||viewBounds.add(0,b.y1).add(0,b.y2)}else viewBounds.union(b)}}viewBounds.union(xBounds).union(yBounds);title&&viewBounds.union(titleLayout(view,title,width,height,viewBounds));viewSizeLayout(view,group,viewBounds,_)}function set(item,property,value){if(item[property]===value)return 0;item[property]=value;return 1}function isYAxis(mark){var orient=mark.items[0].datum.orient;return orient===Left||orient===Right}function axisIndices(datum){var index=+datum.grid;return[datum.ticks?index++:-1,datum.labels?index++:-1,index+ +datum.domain]}function axisLayout(view,axis,width,height){var i,s,item=axis.items[0],datum=item.datum,orient=datum.orient,indices=axisIndices(datum),range=item.range,offset=item.offset,position=item.position,minExtent=item.minExtent,maxExtent=item.maxExtent,title=datum.title&&item.items[indices[2]].items[0],titlePadding=item.titlePadding,bounds=item.bounds,x=0,y=0;tempBounds$2.clear().union(bounds);bounds.clear();(i=indices[0])>-1&&bounds.union(item.items[i].bounds);(i=indices[1])>-1&&bounds.union(item.items[i].bounds);switch(orient){case Top:x=position||0;y=-offset;s=Math.max(minExtent,Math.min(maxExtent,-bounds.y1));title&&(s=axisTitleLayout(title,s,titlePadding,0,-1,bounds));bounds.add(0,-s).add(range,0);break;case Left:x=-offset;y=position||0;s=Math.max(minExtent,Math.min(maxExtent,-bounds.x1));title&&(s=axisTitleLayout(title,s,titlePadding,1,-1,bounds));bounds.add(-s,0).add(0,range);break;case Right:x=width+offset;y=position||0;s=Math.max(minExtent,Math.min(maxExtent,bounds.x2));title&&(s=axisTitleLayout(title,s,titlePadding,1,1,bounds));bounds.add(0,0).add(s,range);break;case Bottom:x=position||0;y=height+offset;s=Math.max(minExtent,Math.min(maxExtent,bounds.y2));title&&(s=axisTitleLayout(title,s,titlePadding,0,1,bounds));bounds.add(0,0).add(range,s);break;default:x=item.x;y=item.y}boundStroke(bounds.translate(x,y),item);if(set(item,"x",x+AxisOffset)|set(item,"y",y+AxisOffset)){item.bounds=tempBounds$2;view.dirty(item);item.bounds=bounds;view.dirty(item)}return item.mark.bounds.clear().union(bounds)}function axisTitleLayout(title,offset,pad$$1,isYAxis,sign,bounds){var b=title.bounds,dx=0,dy=0;if(title.auto){offset+=pad$$1;isYAxis?dx=(title.x||0)-(title.x=sign*offset):dy=(title.y||0)-(title.y=sign*offset);b.translate(-dx,-dy);title.mark.bounds.set(b.x1,b.y1,b.x2,b.y2);if(isYAxis){bounds.add(0,b.y1).add(0,b.y2);offset+=b.width()}else{bounds.add(b.x1,0).add(b.x2,0);offset+=b.height()}}else bounds.union(b);return offset}function titleLayout(view,title,width,height,viewBounds){var pos,item=title.items[0],orient=item.orient,frame=item.frame,anchor=item.anchor,offset=item.offset,bounds=item.bounds,vertical=orient===Left||orient===Right,start=0,end=vertical?height:width,x=0,y=0;frame!==Group?orient===Left?(start=viewBounds.y2,end=viewBounds.y1):orient===Right?(start=viewBounds.y1,end=viewBounds.y2):(start=viewBounds.x1,end=viewBounds.x2):orient===Left&&(start=height,end=0);pos=anchor===Start?start:anchor===End?end:(start+end)/2;tempBounds$2.clear().union(bounds);switch(orient){case Top:x=pos;y=viewBounds.y1-offset;break;case Left:x=viewBounds.x1-offset;y=pos;break;case Right:x=viewBounds.x2+offset;y=pos;break;case Bottom:x=pos;y=viewBounds.y2+offset;break;default:x=item.x;y=item.y}bounds.translate(x-item.x,y-item.y);if(set(item,"x",x)|set(item,"y",y)){item.bounds=tempBounds$2;view.dirty(item);item.bounds=bounds;view.dirty(item)}return title.bounds.clear().union(bounds)}function legendPreprocess(view,legends){return legends.reduce(function(w,legend){var item=legend.items[0];legendGroupLayout(view,item,item.items[0].items[0]);if(item.datum.orient===Left){var b=tempBounds$2.clear();item.items.forEach(function(_){b.union(_.bounds)});w=Math.max(w,Math.ceil(b.width()+2*item.padding-1))}return w},0)}function legendGroupLayout(view,item,entry){var x=item.padding-entry.x,y=item.padding-entry.y;if(item.datum.title){var title=item.items[1].items[0];y+=item.titlePadding+title.fontSize}if(x||y){entry.x+=x;entry.y+=y;entry.bounds.translate(x,y);entry.mark.bounds.translate(x,y);view.dirty(entry)}}function legendLayout(view,legend,flow,xBounds,yBounds,width,height){var w,h,axisBounds,item=legend.items[0],datum=item.datum,orient=datum.orient,offset=item.offset,bounds=item.bounds,x=0,y=0;if(orient===Top||orient===Bottom)axisBounds=yBounds,x=flow[orient];else if(orient===Left||orient===Right){axisBounds=xBounds;y=flow[orient]}tempBounds$2.clear().union(bounds);bounds.clear();item.items.forEach(function(_){bounds.union(_.bounds)});w=2*item.padding-1;h=2*item.padding-1;if(!bounds.empty()){w=Math.ceil(bounds.width()+w);h=Math.ceil(bounds.height()+h)}datum.type===Symbols&&legendEntryLayout(item.items[0].items[0].items[0].items);switch(orient){case Left:x-=flow.leftWidth+offset-Math.floor(axisBounds.x1);flow.left+=h+flow.margin;break;case Right:x+=offset+Math.ceil(axisBounds.x2);flow.right+=h+flow.margin;break;case Top:y-=h+offset-Math.floor(axisBounds.y1);flow.top+=w+flow.margin;break;case Bottom:y+=offset+Math.ceil(axisBounds.y2);flow.bottom+=w+flow.margin;break;case TopLeft:x+=offset;y+=offset;break;case TopRight:x+=width-w-offset;y+=offset;break;case BottomLeft:x+=offset;y+=height-h-offset;break;case BottomRight:x+=width-w-offset;y+=height-h-offset;break;default:x=item.x;y=item.y}boundStroke(bounds.set(x,y,x+w,y+h),item);if(set(item,"x",x)|set(item,"width",w)|set(item,"y",y)|set(item,"height",h)){item.bounds=tempBounds$2;view.dirty(item);item.bounds=bounds;view.dirty(item)}return item.mark.bounds.clear().union(bounds)}function legendEntryLayout(entries){var widths=entries.reduce(function(w,g){w[g.column]=Math.max(g.bounds.x2-g.x,w[g.column]||0);return w},{});entries.forEach(function(g){g.width=widths[g.column];g.height=g.bounds.y2-g.y})}function viewSizeLayout(view,group,viewBounds,_){var auto=_.autosize||{},type=auto.type,viewWidth=view._width,viewHeight=view._height,padding=view.padding();if(view._autosize<1||!type)return;var width=Math.max(0,group.width||0),left=Math.max(0,Math.ceil(-viewBounds.x1)),right=Math.max(0,Math.ceil(viewBounds.x2-width)),height=Math.max(0,group.height||0),top=Math.max(0,Math.ceil(-viewBounds.y1)),bottom=Math.max(0,Math.ceil(viewBounds.y2-height));if(auto.contains===Padding){viewWidth-=padding.left+padding.right;viewHeight-=padding.top+padding.bottom}if(type===None$1){left=0;top=0;width=viewWidth;height=viewHeight}else if(type===Fit){width=Math.max(0,viewWidth-left-right);height=Math.max(0,viewHeight-top-bottom)}else if(type===FitX){width=Math.max(0,viewWidth-left-right);viewHeight=height+top+bottom}else if(type===FitY){viewWidth=width+left+right;height=Math.max(0,viewHeight-top-bottom)}else if(type===Pad){viewWidth=width+left+right;viewHeight=height+top+bottom}view._resizeView(viewWidth,viewHeight,width,height,[left,top],auto.resize)}var vtx=Object.freeze({bound:Bound,identifier:Identifier,mark:Mark,overlap:Overlap,render:Render,viewlayout:ViewLayout});var Log="log";var Pow="pow";var Utc="utc";var Sqrt="sqrt";var Band="band";var Time="time";var Point="point";var Linear$1="linear";var Ordinal="ordinal";var Quantile="quantile";var Quantize="quantize";var Threshold="threshold";var BinLinear="bin-linear";var BinOrdinal="bin-ordinal";var Sequential="sequential";function bandSpace(count,paddingInner,paddingOuter){var space=count-paddingInner+2*paddingOuter;return count?space>0?space:1:0}function invertRange(scale){return function(_){var t,lo=_[0],hi=_[1];if(hi<lo){t=lo;lo=hi;hi=t}return[scale.invert(lo),scale.invert(hi)]}}function invertRangeExtent(scale){return function(_){var max,t,i,n,range=scale.range(),lo=_[0],hi=_[1],min=-1;if(hi<lo){t=lo;lo=hi;hi=t}for(i=0,n=range.length;i<n;++i)if(range[i]>=lo&&range[i]<=hi){min<0&&(min=i);max=i}if(min<0)return;lo=scale.invertExtent(range[min]);hi=scale.invertExtent(range[max]);return[void 0===lo[0]?lo[1]:lo[0],void 0===hi[1]?hi[0]:hi[1]]}}var prefix="$";function Map(){}Map.prototype=map$1.prototype={constructor:Map,has:function(key){return prefix+key in this},get:function(key){return this[prefix+key]},set:function(key,value){this[prefix+key]=value;return this},remove:function(key){var property=prefix+key;return property in this&&delete this[property]},clear:function(){for(var property in this)property[0]===prefix&&delete this[property]},keys:function(){var keys=[];for(var property in this)property[0]===prefix&&keys.push(property.slice(1));return keys},values:function(){var values=[];for(var property in this)property[0]===prefix&&values.push(this[property]);return values},entries:function(){var entries=[];for(var property in this)property[0]===prefix&&entries.push({key:property.slice(1),value:this[property]});return entries},size:function(){var size=0;for(var property in this)property[0]===prefix&&++size;return size},empty:function(){for(var property in this)if(property[0]===prefix)return false;return true},each:function(f){for(var property in this)property[0]===prefix&&f(this[property],property.slice(1),this)}};function map$1(object,f){var map=new Map;if(object instanceof Map)object.each(function(value,key){map.set(key,value)});else if(Array.isArray(object)){var o,i=-1,n=object.length;if(null==f)while(++i<n)map.set(i,object[i]);else while(++i<n)map.set(f(o=object[i],i,object),o)}else if(object)for(var key in object)map.set(key,object[key]);return map}function nest(){var sortValues,rollup,nest,keys=[],sortKeys=[];function apply(array,depth,createResult,setResult){if(depth>=keys.length){null!=sortValues&&array.sort(sortValues);return null!=rollup?rollup(array):array}var keyValue,value,values,i=-1,n=array.length,key=keys[depth++],valuesByKey=map$1(),result=createResult();while(++i<n)(values=valuesByKey.get(keyValue=key(value=array[i])+""))?values.push(value):valuesByKey.set(keyValue,[value]);valuesByKey.each(function(values,key){setResult(result,key,apply(values,depth,createResult,setResult))});return result}function entries(map,depth){if(++depth>keys.length)return map;var array,sortKey=sortKeys[depth-1];null!=rollup&&depth>=keys.length?array=map.entries():(array=[],map.each(function(v,k){array.push({key:k,values:entries(v,depth)})}));return null!=sortKey?array.sort(function(a,b){return sortKey(a.key,b.key)}):array}return nest={object:function(array){return apply(array,0,createObject,setObject)},map:function(array){return apply(array,0,createMap,setMap)},entries:function(array){return entries(apply(array,0,createMap,setMap),0)},key:function(d){keys.push(d);return nest},sortKeys:function(order){sortKeys[keys.length-1]=order;return nest},sortValues:function(order){sortValues=order;return nest},rollup:function(f){rollup=f;return nest}}}function createObject(){return{}}function setObject(object,key,value){object[key]=value}function createMap(){return map$1()}function setMap(map,key,value){map.set(key,value)}function Set(){}var proto=map$1.prototype;Set.prototype=set$1.prototype={constructor:Set,has:proto.has,add:function(value){value+="";this[prefix+value]=value;return this},remove:proto.remove,clear:proto.clear,values:proto.keys,size:proto.size,empty:proto.empty,each:proto.each};function set$1(object,f){var set=new Set;if(object instanceof Set)object.each(function(value){set.add(value)});else if(object){var i=-1,n=object.length;if(null==f)while(++i<n)set.add(object[i]);else while(++i<n)set.add(f(object[i],i,object))}return set}var array$2=Array.prototype;var map$2=array$2.map;var slice$2=array$2.slice;var implicit={name:"implicit"};function ordinal(range){var index=map$1(),domain=[],unknown=implicit;range=null==range?[]:slice$2.call(range);function scale(d){var key=d+"",i=index.get(key);if(!i){if(unknown!==implicit)return unknown;index.set(key,i=domain.push(d))}return range[(i-1)%range.length]}scale.domain=function(_){if(!arguments.length)return domain.slice();domain=[],index=map$1();var d,key,i=-1,n=_.length;while(++i<n)index.has(key=(d=_[i])+"")||index.set(key,domain.push(d));return scale};scale.range=function(_){return arguments.length?(range=slice$2.call(_),scale):range.slice()};scale.unknown=function(_){return arguments.length?(unknown=_,scale):unknown};scale.copy=function(){return ordinal().domain(domain).range(range).unknown(unknown)};return scale}function define(constructor,factory,prototype){constructor.prototype=factory.prototype=prototype;prototype.constructor=constructor}function extend$1(parent,definition){var prototype=Object.create(parent.prototype);for(var key in definition)prototype[key]=definition[key];return prototype}function Color(){}var darker=.7;var brighter=1/darker;var reI="\\s*([+-]?\\d+)\\s*",reN="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",reP="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",reHex3=/^#([0-9a-f]{3})$/,reHex6=/^#([0-9a-f]{6})$/,reRgbInteger=new RegExp("^rgb\\("+[reI,reI,reI]+"\\)$"),reRgbPercent=new RegExp("^rgb\\("+[reP,reP,reP]+"\\)$"),reRgbaInteger=new RegExp("^rgba\\("+[reI,reI,reI,reN]+"\\)$"),reRgbaPercent=new RegExp("^rgba\\("+[reP,reP,reP,reN]+"\\)$"),reHslPercent=new RegExp("^hsl\\("+[reN,reP,reP]+"\\)$"),reHslaPercent=new RegExp("^hsla\\("+[reN,reP,reP,reN]+"\\)$");var named={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};define(Color,color$1,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}});function color$1(format){var m;format=(format+"").trim().toLowerCase();return(m=reHex3.exec(format))?(m=parseInt(m[1],16),new Rgb(m>>8&15|m>>4&240,m>>4&15|240&m,(15&m)<<4|15&m,1)):(m=reHex6.exec(format))?rgbn(parseInt(m[1],16)):(m=reRgbInteger.exec(format))?new Rgb(m[1],m[2],m[3],1):(m=reRgbPercent.exec(format))?new Rgb(255*m[1]/100,255*m[2]/100,255*m[3]/100,1):(m=reRgbaInteger.exec(format))?rgba(m[1],m[2],m[3],m[4]):(m=reRgbaPercent.exec(format))?rgba(255*m[1]/100,255*m[2]/100,255*m[3]/100,m[4]):(m=reHslPercent.exec(format))?hsla(m[1],m[2]/100,m[3]/100,1):(m=reHslaPercent.exec(format))?hsla(m[1],m[2]/100,m[3]/100,m[4]):named.hasOwnProperty(format)?rgbn(named[format]):"transparent"===format?new Rgb(NaN,NaN,NaN,0):null}function rgbn(n){return new Rgb(n>>16&255,n>>8&255,255&n,1)}function rgba(r,g,b,a){a<=0&&(r=g=b=NaN);return new Rgb(r,g,b,a)}function rgbConvert(o){o instanceof Color||(o=color$1(o));if(!o)return new Rgb;o=o.rgb();return new Rgb(o.r,o.g,o.b,o.opacity)}function rgb(r,g,b,opacity){return 1===arguments.length?rgbConvert(r):new Rgb(r,g,b,null==opacity?1:opacity)}function Rgb(r,g,b,opacity){this.r=+r;this.g=+g;this.b=+b;this.opacity=+opacity}define(Rgb,rgb,extend$1(Color,{brighter:function(k){k=null==k?brighter:Math.pow(brighter,k);return new Rgb(this.r*k,this.g*k,this.b*k,this.opacity)},darker:function(k){k=null==k?darker:Math.pow(darker,k);return new Rgb(this.r*k,this.g*k,this.b*k,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+hex(this.r)+hex(this.g)+hex(this.b)},toString:function(){var a=this.opacity;a=isNaN(a)?1:Math.max(0,Math.min(1,a));return(1===a?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===a?")":", "+a+")")}}));function hex(value){value=Math.max(0,Math.min(255,Math.round(value)||0));return(value<16?"0":"")+value.toString(16)}function hsla(h,s,l,a){a<=0?h=s=l=NaN:l<=0||l>=1?h=s=NaN:s<=0&&(h=NaN);return new Hsl(h,s,l,a)}function hslConvert(o){if(o instanceof Hsl)return new Hsl(o.h,o.s,o.l,o.opacity);o instanceof Color||(o=color$1(o));if(!o)return new Hsl;if(o instanceof Hsl)return o;o=o.rgb();var r=o.r/255,g=o.g/255,b=o.b/255,min=Math.min(r,g,b),max=Math.max(r,g,b),h=NaN,s=max-min,l=(max+min)/2;if(s){h=r===max?(g-b)/s+6*(g<b):g===max?(b-r)/s+2:(r-g)/s+4;s/=l<.5?max+min:2-max-min;h*=60}else s=l>0&&l<1?0:h;return new Hsl(h,s,l,o.opacity)}function hsl(h,s,l,opacity){return 1===arguments.length?hslConvert(h):new Hsl(h,s,l,null==opacity?1:opacity)}function Hsl(h,s,l,opacity){this.h=+h;this.s=+s;this.l=+l;this.opacity=+opacity}define(Hsl,hsl,extend$1(Color,{brighter:function(k){k=null==k?brighter:Math.pow(brighter,k);return new Hsl(this.h,this.s,this.l*k,this.opacity)},darker:function(k){k=null==k?darker:Math.pow(darker,k);return new Hsl(this.h,this.s,this.l*k,this.opacity)},rgb:function(){var h=this.h%360+360*(this.h<0),s=isNaN(h)||isNaN(this.s)?0:this.s,l=this.l,m2=l+(l<.5?l:1-l)*s,m1=2*l-m2;return new Rgb(hsl2rgb(h>=240?h-240:h+120,m1,m2),hsl2rgb(h,m1,m2),hsl2rgb(h<120?h+240:h-120,m1,m2),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));function hsl2rgb(h,m1,m2){return 255*(h<60?m1+(m2-m1)*h/60:h<180?m2:h<240?m1+(m2-m1)*(240-h)/60:m1)}var deg2rad=Math.PI/180;var rad2deg=180/Math.PI;var K=18,Xn=.96422,Yn=1,Zn=.82521,t0$1=4/29,t1$1=6/29,t2=3*t1$1*t1$1,t3=t1$1*t1$1*t1$1;function labConvert(o){if(o instanceof Lab)return new Lab(o.l,o.a,o.b,o.opacity);if(o instanceof Hcl){if(isNaN(o.h))return new Lab(o.l,0,0,o.opacity);var h=o.h*deg2rad;return new Lab(o.l,Math.cos(h)*o.c,Math.sin(h)*o.c,o.opacity)}o instanceof Rgb||(o=rgbConvert(o));var x,z,r=rgb2lrgb(o.r),g=rgb2lrgb(o.g),b=rgb2lrgb(o.b),y=xyz2lab((.2225045*r+.7168786*g+.0606169*b)/Yn);if(r===g&&g===b)x=z=y;else{x=xyz2lab((.4360747*r+.3850649*g+.1430804*b)/Xn);z=xyz2lab((.0139322*r+.0971045*g+.7141733*b)/Zn)}return new Lab(116*y-16,500*(x-y),200*(y-z),o.opacity)}function lab(l,a,b,opacity){return 1===arguments.length?labConvert(l):new Lab(l,a,b,null==opacity?1:opacity)}function Lab(l,a,b,opacity){this.l=+l;this.a=+a;this.b=+b;this.opacity=+opacity}define(Lab,lab,extend$1(Color,{brighter:function(k){return new Lab(this.l+K*(null==k?1:k),this.a,this.b,this.opacity)},darker:function(k){return new Lab(this.l-K*(null==k?1:k),this.a,this.b,this.opacity)},rgb:function(){var y=(this.l+16)/116,x=isNaN(this.a)?y:y+this.a/500,z=isNaN(this.b)?y:y-this.b/200;x=Xn*lab2xyz(x);y=Yn*lab2xyz(y);z=Zn*lab2xyz(z);return new Rgb(lrgb2rgb(3.1338561*x-1.6168667*y-.4906146*z),lrgb2rgb(-.9787684*x+1.9161415*y+.033454*z),lrgb2rgb(.0719453*x-.2289914*y+1.4052427*z),this.opacity)}}));function xyz2lab(t){return t>t3?Math.pow(t,1/3):t/t2+t0$1}function lab2xyz(t){return t>t1$1?t*t*t:t2*(t-t0$1)}function lrgb2rgb(x){return 255*(x<=.0031308?12.92*x:1.055*Math.pow(x,1/2.4)-.055)}function rgb2lrgb(x){return(x/=255)<=.04045?x/12.92:Math.pow((x+.055)/1.055,2.4)}function hclConvert(o){if(o instanceof Hcl)return new Hcl(o.h,o.c,o.l,o.opacity);o instanceof Lab||(o=labConvert(o));if(0===o.a&&0===o.b)return new Hcl(NaN,0,o.l,o.opacity);var h=Math.atan2(o.b,o.a)*rad2deg;return new Hcl(h<0?h+360:h,Math.sqrt(o.a*o.a+o.b*o.b),o.l,o.opacity)}function hcl(h,c,l,opacity){return 1===arguments.length?hclConvert(h):new Hcl(h,c,l,null==opacity?1:opacity)}function Hcl(h,c,l,opacity){this.h=+h;this.c=+c;this.l=+l;this.opacity=+opacity}define(Hcl,hcl,extend$1(Color,{brighter:function(k){return new Hcl(this.h,this.c,this.l+K*(null==k?1:k),this.opacity)},darker:function(k){return new Hcl(this.h,this.c,this.l-K*(null==k?1:k),this.opacity)},rgb:function(){return labConvert(this).rgb()}}));var A=-.14861,B=1.78277,C=-.29227,D=-.90649,E=1.97294,ED=E*D,EB=E*B,BC_DA=B*C-D*A;function cubehelixConvert(o){if(o instanceof Cubehelix)return new Cubehelix(o.h,o.s,o.l,o.opacity);o instanceof Rgb||(o=rgbConvert(o));var r=o.r/255,g=o.g/255,b=o.b/255,l=(BC_DA*b+ED*r-EB*g)/(BC_DA+ED-EB),bl=b-l,k=(E*(g-l)-C*bl)/D,s=Math.sqrt(k*k+bl*bl)/(E*l*(1-l)),h=s?Math.atan2(k,bl)*rad2deg-120:NaN;return new Cubehelix(h<0?h+360:h,s,l,o.opacity)}function cubehelix(h,s,l,opacity){return 1===arguments.length?cubehelixConvert(h):new Cubehelix(h,s,l,null==opacity?1:opacity)}function Cubehelix(h,s,l,opacity){this.h=+h;this.s=+s;this.l=+l;this.opacity=+opacity}define(Cubehelix,cubehelix,extend$1(Color,{brighter:function(k){k=null==k?brighter:Math.pow(brighter,k);return new Cubehelix(this.h,this.s,this.l*k,this.opacity)},darker:function(k){k=null==k?darker:Math.pow(darker,k);return new Cubehelix(this.h,this.s,this.l*k,this.opacity)},rgb:function(){var h=isNaN(this.h)?0:(this.h+120)*deg2rad,l=+this.l,a=isNaN(this.s)?0:this.s*l*(1-l),cosh=Math.cos(h),sinh=Math.sin(h);return new Rgb(255*(l+a*(A*cosh+B*sinh)),255*(l+a*(C*cosh+D*sinh)),255*(l+a*(E*cosh)),this.opacity)}}));function basis(t1,v0,v1,v2,v3){var t2=t1*t1,t3=t2*t1;return((1-3*t1+3*t2-t3)*v0+(4-6*t2+3*t3)*v1+(1+3*t1+3*t2-3*t3)*v2+t3*v3)/6}function basis$1(values){var n=values.length-1;return function(t){var i=t<=0?t=0:t>=1?(t=1,n-1):Math.floor(t*n),v1=values[i],v2=values[i+1],v0=i>0?values[i-1]:2*v1-v2,v3=i<n-1?values[i+2]:2*v2-v1;return basis((t-i/n)*n,v0,v1,v2,v3)}}function basisClosed(values){var n=values.length;return function(t){var i=Math.floor(((t%=1)<0?++t:t)*n),v0=values[(i+n-1)%n],v1=values[i%n],v2=values[(i+1)%n],v3=values[(i+2)%n];return basis((t-i/n)*n,v0,v1,v2,v3)}}function constant$4(x){return function(){return x}}function linear(a,d){return function(t){return a+t*d}}function exponential(a,b,y){return a=Math.pow(a,y),b=Math.pow(b,y)-a,y=1/y,function(t){return Math.pow(a+t*b,y)}}function hue(a,b){var d=b-a;return d?linear(a,d>180||d<-180?d-360*Math.round(d/360):d):constant$4(isNaN(a)?b:a)}function gamma(y){return 1===(y=+y)?nogamma:function(a,b){return b-a?exponential(a,b,y):constant$4(isNaN(a)?b:a)}}function nogamma(a,b){var d=b-a;return d?linear(a,d):constant$4(isNaN(a)?b:a)}var rgb$1=function rgbGamma(y){var color=gamma(y);function rgb$$1(start,end){var r=color((start=rgb(start)).r,(end=rgb(end)).r),g=color(start.g,end.g),b=color(start.b,end.b),opacity=nogamma(start.opacity,end.opacity);return function(t){start.r=r(t);start.g=g(t);start.b=b(t);start.opacity=opacity(t);return start+""}}rgb$$1.gamma=rgbGamma;return rgb$$1}(1);function rgbSpline(spline){return function(colors){var i,color,n=colors.length,r=new Array(n),g=new Array(n),b=new Array(n);for(i=0;i<n;++i){color=rgb(colors[i]);r[i]=color.r||0;g[i]=color.g||0;b[i]=color.b||0}r=spline(r);g=spline(g);b=spline(b);color.opacity=1;return function(t){color.r=r(t);color.g=g(t);color.b=b(t);return color+""}}}var rgbBasis=rgbSpline(basis$1);var rgbBasisClosed=rgbSpline(basisClosed);function array$3(a,b){var i,nb=b?b.length:0,na=a?Math.min(nb,a.length):0,x=new Array(na),c=new Array(nb);for(i=0;i<na;++i)x[i]=value(a[i],b[i]);for(;i<nb;++i)c[i]=b[i];return function(t){for(i=0;i<na;++i)c[i]=x[i](t);return c}}function date(a,b){var d=new Date;return a=+a,b-=a,function(t){return d.setTime(a+b*t),d}}function number$2(a,b){return a=+a,b-=a,function(t){return a+b*t}}function object$2(a,b){var k,i={},c={};null!==a&&"object"===typeof a||(a={});null!==b&&"object"===typeof b||(b={});for(k in b)k in a?i[k]=value(a[k],b[k]):c[k]=b[k];return function(t){for(k in i)c[k]=i[k](t);return c}}var reA=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,reB=new RegExp(reA.source,"g");function zero$1(b){return function(){return b}}function one$1(b){return function(t){return b(t)+""}}function string(a,b){var am,bm,bs,bi=reA.lastIndex=reB.lastIndex=0,i=-1,s=[],q=[];a+="",b+="";while((am=reA.exec(a))&&(bm=reB.exec(b))){if((bs=bm.index)>bi){bs=b.slice(bi,bs);s[i]?s[i]+=bs:s[++i]=bs}if((am=am[0])===(bm=bm[0]))s[i]?s[i]+=bm:s[++i]=bm;else{s[++i]=null;q.push({i:i,x:number$2(am,bm)})}bi=reB.lastIndex}if(bi<b.length){bs=b.slice(bi);s[i]?s[i]+=bs:s[++i]=bs}return s.length<2?q[0]?one$1(q[0].x):zero$1(b):(b=q.length,function(t){for(var o,i=0;i<b;++i)s[(o=q[i]).i]=o.x(t);return s.join("")})}function value(a,b){var c,t=typeof b;return null==b||"boolean"===t?constant$4(b):("number"===t?number$2:"string"===t?(c=color$1(b))?(b=c,rgb$1):string:b instanceof color$1?rgb$1:b instanceof Date?date:Array.isArray(b)?array$3:"function"!==typeof b.valueOf&&"function"!==typeof b.toString||isNaN(b)?object$2:number$2)(a,b)}function discrete(range){var n=range.length;return function(t){return range[Math.max(0,Math.min(n-1,Math.floor(t*n)))]}}function hue$1(a,b){var i=hue(+a,+b);return function(t){var x=i(t);return x-360*Math.floor(x/360)}}function interpolateRound(a,b){return a=+a,b-=a,function(t){return Math.round(a+b*t)}}var degrees=180/Math.PI;var identity$4={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function decompose(a,b,c,d,e,f){var scaleX,scaleY,skewX;(scaleX=Math.sqrt(a*a+b*b))&&(a/=scaleX,b/=scaleX);(skewX=a*c+b*d)&&(c-=a*skewX,d-=b*skewX);(scaleY=Math.sqrt(c*c+d*d))&&(c/=scaleY,d/=scaleY,skewX/=scaleY);a*d<b*c&&(a=-a,b=-b,skewX=-skewX,scaleX=-scaleX);return{translateX:e,translateY:f,rotate:Math.atan2(b,a)*degrees,skewX:Math.atan(skewX)*degrees,scaleX:scaleX,scaleY:scaleY}}var cssNode,cssRoot,cssView,svgNode;function parseCss(value){if("none"===value)return identity$4;cssNode||(cssNode=document.createElement("DIV"),cssRoot=document.documentElement,cssView=document.defaultView);cssNode.style.transform=value;value=cssView.getComputedStyle(cssRoot.appendChild(cssNode),null).getPropertyValue("transform");cssRoot.removeChild(cssNode);value=value.slice(7,-1).split(",");return decompose(+value[0],+value[1],+value[2],+value[3],+value[4],+value[5])}function parseSvg(value){if(null==value)return identity$4;svgNode||(svgNode=document.createElementNS("http://www.w3.org/2000/svg","g"));svgNode.setAttribute("transform",value);if(!(value=svgNode.transform.baseVal.consolidate()))return identity$4;value=value.matrix;return decompose(value.a,value.b,value.c,value.d,value.e,value.f)}function interpolateTransform(parse,pxComma,pxParen,degParen){function pop(s){return s.length?s.pop()+" ":""}function translate(xa,ya,xb,yb,s,q){if(xa!==xb||ya!==yb){var i=s.push("translate(",null,pxComma,null,pxParen);q.push({i:i-4,x:number$2(xa,xb)},{i:i-2,x:number$2(ya,yb)})}else(xb||yb)&&s.push("translate("+xb+pxComma+yb+pxParen)}function rotate(a,b,s,q){if(a!==b){a-b>180?b+=360:b-a>180&&(a+=360);q.push({i:s.push(pop(s)+"rotate(",null,degParen)-2,x:number$2(a,b)})}else b&&s.push(pop(s)+"rotate("+b+degParen)}function skewX(a,b,s,q){a!==b?q.push({i:s.push(pop(s)+"skewX(",null,degParen)-2,x:number$2(a,b)}):b&&s.push(pop(s)+"skewX("+b+degParen)}function scale(xa,ya,xb,yb,s,q){if(xa!==xb||ya!==yb){var i=s.push(pop(s)+"scale(",null,",",null,")");q.push({i:i-4,x:number$2(xa,xb)},{i:i-2,x:number$2(ya,yb)})}else 1===xb&&1===yb||s.push(pop(s)+"scale("+xb+","+yb+")")}return function(a,b){var s=[],q=[];a=parse(a),b=parse(b);translate(a.translateX,a.translateY,b.translateX,b.translateY,s,q);rotate(a.rotate,b.rotate,s,q);skewX(a.skewX,b.skewX,s,q);scale(a.scaleX,a.scaleY,b.scaleX,b.scaleY,s,q);a=b=null;return function(t){var o,i=-1,n=q.length;while(++i<n)s[(o=q[i]).i]=o.x(t);return s.join("")}}}var interpolateTransformCss=interpolateTransform(parseCss,"px, ","px)","deg)");var interpolateTransformSvg=interpolateTransform(parseSvg,", ",")",")");var rho=Math.SQRT2,rho2=2,rho4=4,epsilon2=1e-12;function cosh(x){return((x=Math.exp(x))+1/x)/2}function sinh(x){return((x=Math.exp(x))-1/x)/2}function tanh(x){return((x=Math.exp(2*x))-1)/(x+1)}function zoom$1(p0,p1){var i,S,ux0=p0[0],uy0=p0[1],w0=p0[2],ux1=p1[0],uy1=p1[1],w1=p1[2],dx=ux1-ux0,dy=uy1-uy0,d2=dx*dx+dy*dy;if(d2<epsilon2){S=Math.log(w1/w0)/rho;i=function(t){return[ux0+t*dx,uy0+t*dy,w0*Math.exp(rho*t*S)]}}else{var d1=Math.sqrt(d2),b0=(w1*w1-w0*w0+rho4*d2)/(2*w0*rho2*d1),b1=(w1*w1-w0*w0-rho4*d2)/(2*w1*rho2*d1),r0=Math.log(Math.sqrt(b0*b0+1)-b0),r1=Math.log(Math.sqrt(b1*b1+1)-b1);S=(r1-r0)/rho;i=function(t){var s=t*S,coshr0=cosh(r0),u=w0/(rho2*d1)*(coshr0*tanh(rho*s+r0)-sinh(r0));return[ux0+u*dx,uy0+u*dy,w0*coshr0/cosh(rho*s+r0)]}}i.duration=1e3*S;return i}function hsl$1(hue$$1){return function(start,end){var h=hue$$1((start=hsl(start)).h,(end=hsl(end)).h),s=nogamma(start.s,end.s),l=nogamma(start.l,end.l),opacity=nogamma(start.opacity,end.opacity);return function(t){start.h=h(t);start.s=s(t);start.l=l(t);start.opacity=opacity(t);return start+""}}}var hsl$2=hsl$1(hue);var hslLong=hsl$1(nogamma);function lab$1(start,end){var l=nogamma((start=lab(start)).l,(end=lab(end)).l),a=nogamma(start.a,end.a),b=nogamma(start.b,end.b),opacity=nogamma(start.opacity,end.opacity);return function(t){start.l=l(t);start.a=a(t);start.b=b(t);start.opacity=opacity(t);return start+""}}function hcl$1(hue$$1){return function(start,end){var h=hue$$1((start=hcl(start)).h,(end=hcl(end)).h),c=nogamma(start.c,end.c),l=nogamma(start.l,end.l),opacity=nogamma(start.opacity,end.opacity);return function(t){start.h=h(t);start.c=c(t);start.l=l(t);start.opacity=opacity(t);return start+""}}}var hcl$2=hcl$1(hue);var hclLong=hcl$1(nogamma);function cubehelix$1(hue$$1){return function cubehelixGamma(y){y=+y;function cubehelix$$1(start,end){var h=hue$$1((start=cubehelix(start)).h,(end=cubehelix(end)).h),s=nogamma(start.s,end.s),l=nogamma(start.l,end.l),opacity=nogamma(start.opacity,end.opacity);return function(t){start.h=h(t);start.s=s(t);start.l=l(Math.pow(t,y));start.opacity=opacity(t);return start+""}}cubehelix$$1.gamma=cubehelixGamma;return cubehelix$$1}(1)}var cubehelix$2=cubehelix$1(hue);var cubehelixLong=cubehelix$1(nogamma);function piecewise(interpolate,values){var i=0,n=values.length-1,v=values[0],I=new Array(n<0?0:n);while(i<n)I[i]=interpolate(v,v=values[++i]);return function(t){var i=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return I[i](t-i)}}function quantize$1(interpolator,n){var samples=new Array(n);for(var i=0;i<n;++i)samples[i]=interpolator(i/(n-1));return samples}var $$1=Object.freeze({interpolate:value,interpolateArray:array$3,interpolateBasis:basis$1,interpolateBasisClosed:basisClosed,interpolateDate:date,interpolateDiscrete:discrete,interpolateHue:hue$1,interpolateNumber:number$2,interpolateObject:object$2,interpolateRound:interpolateRound,interpolateString:string,interpolateTransformCss:interpolateTransformCss,interpolateTransformSvg:interpolateTransformSvg,interpolateZoom:zoom$1,interpolateRgb:rgb$1,interpolateRgbBasis:rgbBasis,interpolateRgbBasisClosed:rgbBasisClosed,interpolateHsl:hsl$2,interpolateHslLong:hslLong,interpolateLab:lab$1,interpolateHcl:hcl$2,interpolateHclLong:hclLong,interpolateCubehelix:cubehelix$2,interpolateCubehelixLong:cubehelixLong,piecewise:piecewise,quantize:quantize$1});function constant$5(x){return function(){return x}}function number$3(x){return+x}var unit=[0,1];function deinterpolateLinear(a,b){return(b-=a=+a)?function(x){return(x-a)/b}:constant$5(b)}function deinterpolateClamp(deinterpolate){return function(a,b){var d=deinterpolate(a=+a,b=+b);return function(x){return x<=a?0:x>=b?1:d(x)}}}function reinterpolateClamp(reinterpolate){return function(a,b){var r=reinterpolate(a=+a,b=+b);return function(t){return t<=0?a:t>=1?b:r(t)}}}function bimap(domain,range$$1,deinterpolate,reinterpolate){var d0=domain[0],d1=domain[1],r0=range$$1[0],r1=range$$1[1];d1<d0?(d0=deinterpolate(d1,d0),r0=reinterpolate(r1,r0)):(d0=deinterpolate(d0,d1),r0=reinterpolate(r0,r1));return function(x){return r0(d0(x))}}function polymap(domain,range$$1,deinterpolate,reinterpolate){var j=Math.min(domain.length,range$$1.length)-1,d=new Array(j),r=new Array(j),i=-1;if(domain[j]<domain[0]){domain=domain.slice().reverse();range$$1=range$$1.slice().reverse()}while(++i<j){d[i]=deinterpolate(domain[i],domain[i+1]);r[i]=reinterpolate(range$$1[i],range$$1[i+1])}return function(x){var i=bisectRight(domain,x,1,j)-1;return r[i](d[i](x))}}function copy(source,target){return target.domain(source.domain()).range(source.range()).interpolate(source.interpolate()).clamp(source.clamp())}function continuous(deinterpolate,reinterpolate){var piecewise$$1,output,input,domain=unit,range$$1=unit,interpolate$$1=value,clamp=false;function rescale(){piecewise$$1=Math.min(domain.length,range$$1.length)>2?polymap:bimap;output=input=null;return scale}function scale(x){return(output||(output=piecewise$$1(domain,range$$1,clamp?deinterpolateClamp(deinterpolate):deinterpolate,interpolate$$1)))(+x)}scale.invert=function(y){return(input||(input=piecewise$$1(range$$1,domain,deinterpolateLinear,clamp?reinterpolateClamp(reinterpolate):reinterpolate)))(+y)};scale.domain=function(_){return arguments.length?(domain=map$2.call(_,number$3),rescale()):domain.slice()};scale.range=function(_){return arguments.length?(range$$1=slice$2.call(_),rescale()):range$$1.slice()};scale.rangeRound=function(_){return range$$1=slice$2.call(_),interpolate$$1=interpolateRound,rescale()};scale.clamp=function(_){return arguments.length?(clamp=!!_,rescale()):clamp};scale.interpolate=function(_){return arguments.length?(interpolate$$1=_,rescale()):interpolate$$1};return rescale()}function formatDecimal(x,p){if((i=(x=p?x.toExponential(p-1):x.toExponential()).indexOf("e"))<0)return null;var i,coefficient=x.slice(0,i);return[coefficient.length>1?coefficient[0]+coefficient.slice(2):coefficient,+x.slice(i+1)]}function exponent(x){return x=formatDecimal(Math.abs(x)),x?x[1]:NaN}function formatGroup(grouping,thousands){return function(value,width){var i=value.length,t=[],j=0,g=grouping[0],length=0;while(i>0&&g>0){length+g+1>width&&(g=Math.max(1,width-length));t.push(value.substring(i-=g,i+g));if((length+=g+1)>width)break;g=grouping[j=(j+1)%grouping.length]}return t.reverse().join(thousands)}}function formatNumerals(numerals){return function(value){return value.replace(/[0-9]/g,function(i){return numerals[+i]})}}var re=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function formatSpecifier(specifier){return new FormatSpecifier(specifier)}formatSpecifier.prototype=FormatSpecifier.prototype;function FormatSpecifier(specifier){if(!(match=re.exec(specifier)))throw new Error("invalid format: "+specifier);var match;this.fill=match[1]||" ";this.align=match[2]||">";this.sign=match[3]||"-";this.symbol=match[4]||"";this.zero=!!match[5];this.width=match[6]&&+match[6];this.comma=!!match[7];this.precision=match[8]&&+match[8].slice(1);this.trim=!!match[9];this.type=match[10]||""}FormatSpecifier.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};function formatTrim(s){out:for(var i1,n=s.length,i=1,i0=-1;i<n;++i)switch(s[i]){case".":i0=i1=i;break;case"0":0===i0&&(i0=i);i1=i;break;default:if(i0>0){if(!+s[i])break out;i0=0}}return i0>0?s.slice(0,i0)+s.slice(i1+1):s}var prefixExponent;function formatPrefixAuto(x,p){var d=formatDecimal(x,p);if(!d)return x+"";var coefficient=d[0],exponent=d[1],i=exponent-(prefixExponent=3*Math.max(-8,Math.min(8,Math.floor(exponent/3))))+1,n=coefficient.length;return i===n?coefficient:i>n?coefficient+new Array(i-n+1).join("0"):i>0?coefficient.slice(0,i)+"."+coefficient.slice(i):"0."+new Array(1-i).join("0")+formatDecimal(x,Math.max(0,p+i-1))[0]}function formatRounded(x,p){var d=formatDecimal(x,p);if(!d)return x+"";var coefficient=d[0],exponent=d[1];return exponent<0?"0."+new Array(-exponent).join("0")+coefficient:coefficient.length>exponent+1?coefficient.slice(0,exponent+1)+"."+coefficient.slice(exponent+1):coefficient+new Array(exponent-coefficient.length+2).join("0")}var formatTypes={"%":function(x,p){return(100*x).toFixed(p)},b:function(x){return Math.round(x).toString(2)},c:function(x){return x+""},d:function(x){return Math.round(x).toString(10)},e:function(x,p){return x.toExponential(p)},f:function(x,p){return x.toFixed(p)},g:function(x,p){return x.toPrecision(p)},o:function(x){return Math.round(x).toString(8)},p:function(x,p){return formatRounded(100*x,p)},r:formatRounded,s:formatPrefixAuto,X:function(x){return Math.round(x).toString(16).toUpperCase()},x:function(x){return Math.round(x).toString(16)}};function identity$5(x){return x}var prefixes=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function formatLocale$1(locale){var group=locale.grouping&&locale.thousands?formatGroup(locale.grouping,locale.thousands):identity$5,currency=locale.currency,decimal=locale.decimal,numerals=locale.numerals?formatNumerals(locale.numerals):identity$5,percent=locale.percent||"%";function newFormat(specifier){specifier=formatSpecifier(specifier);var fill=specifier.fill,align=specifier.align,sign=specifier.sign,symbol=specifier.symbol,zero=specifier.zero,width=specifier.width,comma=specifier.comma,precision=specifier.precision,trim=specifier.trim,type=specifier.type;"n"===type?(comma=true,type="g"):formatTypes[type]||(null==precision&&(precision=12),trim=true,type="g");(zero||"0"===fill&&"="===align)&&(zero=true,fill="0",align="=");var prefix="$"===symbol?currency[0]:"#"===symbol&&/[boxX]/.test(type)?"0"+type.toLowerCase():"",suffix="$"===symbol?currency[1]:/[%p]/.test(type)?percent:"";var formatType=formatTypes[type],maybeSuffix=/[defgprs%]/.test(type);precision=null==precision?6:/[gprs]/.test(type)?Math.max(1,Math.min(21,precision)):Math.max(0,Math.min(20,precision));function format(value){var i,n,c,valuePrefix=prefix,valueSuffix=suffix;if("c"===type){valueSuffix=formatType(value)+valueSuffix;value=""}else{value=+value;var valueNegative=value<0;value=formatType(Math.abs(value),precision);trim&&(value=formatTrim(value));valueNegative&&0===+value&&(valueNegative=false);valuePrefix=(valueNegative?"("===sign?sign:"-":"-"===sign||"("===sign?"":sign)+valuePrefix;valueSuffix=("s"===type?prefixes[8+prefixExponent/3]:"")+valueSuffix+(valueNegative&&"("===sign?")":"");if(maybeSuffix){i=-1,n=value.length;while(++i<n)if(c=value.charCodeAt(i),48>c||c>57){valueSuffix=(46===c?decimal+value.slice(i+1):value.slice(i))+valueSuffix;value=value.slice(0,i);break}}}comma&&!zero&&(value=group(value,Infinity));var length=valuePrefix.length+value.length+valueSuffix.length,padding=length<width?new Array(width-length+1).join(fill):"";comma&&zero&&(value=group(padding+value,padding.length?width-valueSuffix.length:Infinity),padding="");switch(align){case"<":value=valuePrefix+value+valueSuffix+padding;break;case"=":value=valuePrefix+padding+value+valueSuffix;break;case"^":value=padding.slice(0,length=padding.length>>1)+valuePrefix+value+valueSuffix+padding.slice(length);break;default:value=padding+valuePrefix+value+valueSuffix}return numerals(value)}format.toString=function(){return specifier+""};return format}function formatPrefix(specifier,value){var f=newFormat((specifier=formatSpecifier(specifier),specifier.type="f",specifier)),e=3*Math.max(-8,Math.min(8,Math.floor(exponent(value)/3))),k=Math.pow(10,-e),prefix=prefixes[8+e/3];return function(value){return f(k*value)+prefix}}return{format:newFormat,formatPrefix:formatPrefix}}var locale$1;var format;var formatPrefix;defaultLocale$1({decimal:".",thousands:",",grouping:[3],currency:["$",""]});function defaultLocale$1(definition){locale$1=formatLocale$1(definition);format=locale$1.format;formatPrefix=locale$1.formatPrefix;return locale$1}function precisionFixed(step){return Math.max(0,-exponent(Math.abs(step)))}function precisionPrefix(step,value){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(exponent(value)/3)))-exponent(Math.abs(step)))}function precisionRound(step,max){step=Math.abs(step),max=Math.abs(max)-step;return Math.max(0,exponent(max)-exponent(step))+1}function tickFormat(domain,count,specifier){var precision,start=domain[0],stop=domain[domain.length-1],step=tickStep(start,stop,null==count?10:count);specifier=formatSpecifier(null==specifier?",f":specifier);switch(specifier.type){case"s":var value=Math.max(Math.abs(start),Math.abs(stop));null!=specifier.precision||isNaN(precision=precisionPrefix(step,value))||(specifier.precision=precision);return formatPrefix(specifier,value);case"":case"e":case"g":case"p":case"r":null!=specifier.precision||isNaN(precision=precisionRound(step,Math.max(Math.abs(start),Math.abs(stop))))||(specifier.precision=precision-("e"===specifier.type));break;case"f":case"%":null!=specifier.precision||isNaN(precision=precisionFixed(step))||(specifier.precision=precision-2*("%"===specifier.type))}return format(specifier)}function linearish(scale){var domain=scale.domain;scale.ticks=function(count){var d=domain();return ticks(d[0],d[d.length-1],null==count?10:count)};scale.tickFormat=function(count,specifier){return tickFormat(domain(),count,specifier)};scale.nice=function(count){null==count&&(count=10);var step,d=domain(),i0=0,i1=d.length-1,start=d[i0],stop=d[i1];if(stop<start){step=start,start=stop,stop=step;step=i0,i0=i1,i1=step}step=tickIncrement(start,stop,count);if(step>0){start=Math.floor(start/step)*step;stop=Math.ceil(stop/step)*step;step=tickIncrement(start,stop,count)}else if(step<0){start=Math.ceil(start*step)/step;stop=Math.floor(stop*step)/step;step=tickIncrement(start,stop,count)}if(step>0){d[i0]=Math.floor(start/step)*step;d[i1]=Math.ceil(stop/step)*step;domain(d)}else if(step<0){d[i0]=Math.ceil(start*step)/step;d[i1]=Math.floor(stop*step)/step;domain(d)}return scale};return scale}function linear$1(){var scale=continuous(deinterpolateLinear,number$2);scale.copy=function(){return copy(scale,linear$1())};return linearish(scale)}function identity$6(){var domain=[0,1];function scale(x){return+x}scale.invert=scale;scale.domain=scale.range=function(_){return arguments.length?(domain=map$2.call(_,number$3),scale):domain.slice()};scale.copy=function(){return identity$6().domain(domain)};return linearish(scale)}function nice(domain,interval){domain=domain.slice();var t,i0=0,i1=domain.length-1,x0=domain[i0],x1=domain[i1];if(x1<x0){t=i0,i0=i1,i1=t;t=x0,x0=x1,x1=t}domain[i0]=interval.floor(x0);domain[i1]=interval.ceil(x1);return domain}function deinterpolate(a,b){return(b=Math.log(b/a))?function(x){return Math.log(x/a)/b}:constant$5(b)}function reinterpolate(a,b){return a<0?function(t){return-Math.pow(-b,t)*Math.pow(-a,1-t)}:function(t){return Math.pow(b,t)*Math.pow(a,1-t)}}function pow10(x){return isFinite(x)?+("1e"+x):x<0?0:x}function powp(base){return 10===base?pow10:base===Math.E?Math.exp:function(x){return Math.pow(base,x)}}function logp(base){return base===Math.E?Math.log:10===base&&Math.log10||2===base&&Math.log2||(base=Math.log(base),function(x){return Math.log(x)/base})}function reflect(f){return function(x){return-f(-x)}}function log$2(){var scale=continuous(deinterpolate,reinterpolate).domain([1,10]),domain=scale.domain,base=10,logs=logp(10),pows=powp(10);function rescale(){logs=logp(base),pows=powp(base);domain()[0]<0&&(logs=reflect(logs),pows=reflect(pows));return scale}scale.base=function(_){return arguments.length?(base=+_,rescale()):base};scale.domain=function(_){return arguments.length?(domain(_),rescale()):domain()};scale.ticks=function(count){var r,d=domain(),u=d[0],v=d[d.length-1];(r=v<u)&&(i=u,u=v,v=i);var p,k,t,i=logs(u),j=logs(v),n=null==count?10:+count,z=[];if(!(base%1)&&j-i<n){i=Math.round(i)-1,j=Math.round(j)+1;if(u>0)for(;i<j;++i)for(k=1,p=pows(i);k<base;++k){t=p*k;if(t<u)continue;if(t>v)break;z.push(t)}else for(;i<j;++i)for(k=base-1,p=pows(i);k>=1;--k){t=p*k;if(t<u)continue;if(t>v)break;z.push(t)}}else z=ticks(i,j,Math.min(j-i,n)).map(pows);return r?z.reverse():z};scale.tickFormat=function(count,specifier){null==specifier&&(specifier=10===base?".0e":",");"function"!==typeof specifier&&(specifier=format(specifier));if(Infinity===count)return specifier;null==count&&(count=10);var k=Math.max(1,base*count/scale.ticks().length);return function(d){var i=d/pows(Math.round(logs(d)));i*base<base-.5&&(i*=base);return i<=k?specifier(d):""}};scale.nice=function(){return domain(nice(domain(),{floor:function(x){return pows(Math.floor(logs(x)))},ceil:function(x){return pows(Math.ceil(logs(x)))}}))};scale.copy=function(){return copy(scale,log$2().base(base))};return scale}function raise(x,exponent){return x<0?-Math.pow(-x,exponent):Math.pow(x,exponent)}function pow$1(){var exponent=1,scale=continuous(deinterpolate,reinterpolate),domain=scale.domain;function deinterpolate(a,b){return(b=raise(b,exponent)-(a=raise(a,exponent)))?function(x){return(raise(x,exponent)-a)/b}:constant$5(b)}function reinterpolate(a,b){b=raise(b,exponent)-(a=raise(a,exponent));return function(t){return raise(a+b*t,1/exponent)}}scale.exponent=function(_){return arguments.length?(exponent=+_,domain(domain())):exponent};scale.copy=function(){return copy(scale,pow$1().exponent(exponent))};return linearish(scale)}function sqrt$1(){return pow$1().exponent(.5)}function quantile$1(){var domain=[],range$$1=[],thresholds=[];function rescale(){var i=0,n=Math.max(1,range$$1.length);thresholds=new Array(n-1);while(++i<n)thresholds[i-1]=quantile(domain,i/n);return scale}function scale(x){if(!isNaN(x=+x))return range$$1[bisectRight(thresholds,x)]}scale.invertExtent=function(y){var i=range$$1.indexOf(y);return i<0?[NaN,NaN]:[i>0?thresholds[i-1]:domain[0],i<thresholds.length?thresholds[i]:domain[domain.length-1]]};scale.domain=function(_){if(!arguments.length)return domain.slice();domain=[];for(var d,i=0,n=_.length;i<n;++i)(d=_[i],null==d||isNaN(d=+d))||domain.push(d);domain.sort(ascending);return rescale()};scale.range=function(_){return arguments.length?(range$$1=slice$2.call(_),rescale()):range$$1.slice()};scale.quantiles=function(){return thresholds.slice()};scale.copy=function(){return quantile$1().domain(domain).range(range$$1)};return scale}function quantize$2(){var x0=0,x1=1,n=1,domain=[.5],range$$1=[0,1];function scale(x){if(x<=x)return range$$1[bisectRight(domain,x,0,n)]}function rescale(){var i=-1;domain=new Array(n);while(++i<n)domain[i]=((i+1)*x1-(i-n)*x0)/(n+1);return scale}scale.domain=function(_){return arguments.length?(x0=+_[0],x1=+_[1],rescale()):[x0,x1]};scale.range=function(_){return arguments.length?(n=(range$$1=slice$2.call(_)).length-1,rescale()):range$$1.slice()};scale.invertExtent=function(y){var i=range$$1.indexOf(y);return i<0?[NaN,NaN]:i<1?[x0,domain[0]]:i>=n?[domain[n-1],x1]:[domain[i-1],domain[i]]};scale.copy=function(){return quantize$2().domain([x0,x1]).range(range$$1)};return linearish(scale)}function threshold(){var domain=[.5],range$$1=[0,1],n=1;function scale(x){if(x<=x)return range$$1[bisectRight(domain,x,0,n)]}scale.domain=function(_){return arguments.length?(domain=slice$2.call(_),n=Math.min(domain.length,range$$1.length-1),scale):domain.slice()};scale.range=function(_){return arguments.length?(range$$1=slice$2.call(_),n=Math.min(domain.length,range$$1.length-1),scale):range$$1.slice()};scale.invertExtent=function(y){var i=range$$1.indexOf(y);return[domain[i-1],domain[i]]};scale.copy=function(){return threshold().domain(domain).range(range$$1)};return scale}var durationSecond$1=1e3,durationMinute$1=60*durationSecond$1,durationHour$1=60*durationMinute$1,durationDay$1=24*durationHour$1,durationWeek$1=7*durationDay$1,durationMonth=30*durationDay$1,durationYear=365*durationDay$1;function date$1(t){return new Date(t)}function number$4(t){return t instanceof Date?+t:+new Date(+t)}function calendar(year$$1,month$$1,week,day$$1,hour$$1,minute$$1,second$$1,millisecond$$1,format){var scale=continuous(deinterpolateLinear,number$2),invert=scale.invert,domain=scale.domain;var formatMillisecond=format(".%L"),formatSecond=format(":%S"),formatMinute=format("%I:%M"),formatHour=format("%I %p"),formatDay=format("%a %d"),formatWeek=format("%b %d"),formatMonth=format("%B"),formatYear=format("%Y");var tickIntervals=[[second$$1,1,durationSecond$1],[second$$1,5,5*durationSecond$1],[second$$1,15,15*durationSecond$1],[second$$1,30,30*durationSecond$1],[minute$$1,1,durationMinute$1],[minute$$1,5,5*durationMinute$1],[minute$$1,15,15*durationMinute$1],[minute$$1,30,30*durationMinute$1],[hour$$1,1,durationHour$1],[hour$$1,3,3*durationHour$1],[hour$$1,6,6*durationHour$1],[hour$$1,12,12*durationHour$1],[day$$1,1,durationDay$1],[day$$1,2,2*durationDay$1],[week,1,durationWeek$1],[month$$1,1,durationMonth],[month$$1,3,3*durationMonth],[year$$1,1,durationYear]];function tickFormat(date$$1){return(second$$1(date$$1)<date$$1?formatMillisecond:minute$$1(date$$1)<date$$1?formatSecond:hour$$1(date$$1)<date$$1?formatMinute:day$$1(date$$1)<date$$1?formatHour:month$$1(date$$1)<date$$1?week(date$$1)<date$$1?formatDay:formatWeek:year$$1(date$$1)<date$$1?formatMonth:formatYear)(date$$1)}function tickInterval(interval,start,stop,step){null==interval&&(interval=10);if("number"===typeof interval){var target=Math.abs(stop-start)/interval,i=bisector(function(i){return i[2]}).right(tickIntervals,target);if(i===tickIntervals.length){step=tickStep(start/durationYear,stop/durationYear,interval);interval=year$$1}else if(i){i=tickIntervals[target/tickIntervals[i-1][2]<tickIntervals[i][2]/target?i-1:i];step=i[1];interval=i[0]}else{step=Math.max(tickStep(start,stop,interval),1);interval=millisecond$$1}}return null==step?interval:interval.every(step)}scale.invert=function(y){return new Date(invert(y))};scale.domain=function(_){return arguments.length?domain(map$2.call(_,number$4)):domain().map(date$1)};scale.ticks=function(interval,step){var t,d=domain(),t0=d[0],t1=d[d.length-1],r=t1<t0;r&&(t=t0,t0=t1,t1=t);t=tickInterval(interval,t0,t1,step);t=t?t.range(t0,t1+1):[];return r?t.reverse():t};scale.tickFormat=function(count,specifier){return null==specifier?tickFormat:format(specifier)};scale.nice=function(interval,step){var d=domain();return(interval=tickInterval(interval,d[0],d[d.length-1],step))?domain(nice(d,interval)):scale};scale.copy=function(){return copy(scale,calendar(year$$1,month$$1,week,day$$1,hour$$1,minute$$1,second$$1,millisecond$$1,format))};return scale}function time(){return calendar(year,month,sunday,day,hour,minute,second,millisecond,timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}function utcTime(){return calendar(utcYear,utcMonth,utcSunday,utcDay,utcHour,utcMinute,second,millisecond,utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function band$1(){var step,bandwidth,scale=ordinal().unknown(void 0),domain=scale.domain,ordinalRange=scale.range,range$$1=[0,1],round=false,paddingInner=0,paddingOuter=0,align=.5;delete scale.unknown;function rescale(){var n=domain().length,reverse=range$$1[1]<range$$1[0],start=range$$1[reverse-0],stop=range$$1[1-reverse],space=bandSpace(n,paddingInner,paddingOuter);step=(stop-start)/(space||1);round&&(step=Math.floor(step));start+=(stop-start-step*(n-paddingInner))*align;bandwidth=step*(1-paddingInner);if(round){start=Math.round(start);bandwidth=Math.round(bandwidth)}var values=range(n).map(function(i){return start+step*i});return ordinalRange(reverse?values.reverse():values)}scale.domain=function(_){if(arguments.length){domain(_);return rescale()}return domain()};scale.range=function(_){if(arguments.length){range$$1=[+_[0],+_[1]];return rescale()}return range$$1.slice()};scale.rangeRound=function(_){range$$1=[+_[0],+_[1]];round=true;return rescale()};scale.bandwidth=function(){return bandwidth};scale.step=function(){return step};scale.round=function(_){if(arguments.length){round=!!_;return rescale()}return round};scale.padding=function(_){if(arguments.length){paddingOuter=Math.max(0,Math.min(1,_));paddingInner=paddingOuter;return rescale()}return paddingInner};scale.paddingInner=function(_){if(arguments.length){paddingInner=Math.max(0,Math.min(1,_));return rescale()}return paddingInner};scale.paddingOuter=function(_){if(arguments.length){paddingOuter=Math.max(0,Math.min(1,_));return rescale()}return paddingOuter};scale.align=function(_){if(arguments.length){align=Math.max(0,Math.min(1,_));return rescale()}return align};scale.invertRange=function(_){if(null==_[0]||null==_[1])return;var a,b,t,lo=+_[0],hi=+_[1],reverse=range$$1[1]<range$$1[0],values=reverse?ordinalRange().reverse():ordinalRange(),n=values.length-1;if(lo!==lo||hi!==hi)return;if(hi<lo){t=lo;lo=hi;hi=t}if(hi<values[0]||lo>range$$1[1-reverse])return;a=Math.max(0,bisectRight(values,lo)-1);b=lo===hi?a:bisectRight(values,hi)-1;lo-values[a]>bandwidth+1e-10&&++a;if(reverse){t=a;a=n-b;b=n-t}return a>b?void 0:domain().slice(a,b+1)};scale.invert=function(_){var value=scale.invertRange([_,_]);return value?value[0]:value};scale.copy=function(){return band$1().domain(domain()).range(range$$1).round(round).paddingInner(paddingInner).paddingOuter(paddingOuter).align(align)};return rescale()}function pointish$1(scale){var copy=scale.copy;scale.padding=scale.paddingOuter;delete scale.paddingInner;scale.copy=function(){return pointish$1(copy())};return scale}function point$6(){return pointish$1(band$1().paddingInner(1))}var map$3=Array.prototype.map,slice$3=Array.prototype.slice;function numbers$1(_){return map$3.call(_,function(x){return+x})}function binLinear(){var linear=linear$1(),domain=[];function scale(x){return linear(x)}function setDomain(_){domain=numbers$1(_);linear.domain([domain[0],peek(domain)])}scale.domain=function(_){return arguments.length?(setDomain(_),scale):domain.slice()};scale.range=function(_){return arguments.length?(linear.range(_),scale):linear.range()};scale.rangeRound=function(_){return arguments.length?(linear.rangeRound(_),scale):linear.rangeRound()};scale.interpolate=function(_){return arguments.length?(linear.interpolate(_),scale):linear.interpolate()};scale.invert=function(_){return linear.invert(_)};scale.ticks=function(count){var n=domain.length,stride=~~(n/(count||n));return stride<2?scale.domain():domain.filter(function(x,i){return!(i%stride)})};scale.tickFormat=function(){return linear.tickFormat.apply(linear,arguments)};scale.copy=function(){return binLinear().domain(scale.domain()).range(scale.range())};return scale}function binOrdinal(){var domain=[],range$$1=[];function scale(x){return null==x||x!==x?void 0:range$$1[(bisectRight(domain,x)-1)%range$$1.length]}scale.domain=function(_){if(arguments.length){domain=numbers$1(_);return scale}return domain.slice()};scale.range=function(_){if(arguments.length){range$$1=slice$3.call(_);return scale}return range$$1.slice()};scale.tickFormat=function(){var linear=linear$1().domain([domain[0],peek(domain)]);return linear.tickFormat.apply(linear,arguments)};scale.copy=function(){return binOrdinal().domain(scale.domain()).range(scale.range())};return scale}function sequential$1(interpolator){var linear=linear$1(),x0=0,dx=1,clamp=false;function update(){var domain=linear.domain();x0=domain[0];dx=peek(domain)-x0}function scale(x){var t=(x-x0)/dx;return interpolator(clamp?Math.max(0,Math.min(1,t)):t)}scale.clamp=function(_){if(arguments.length){clamp=!!_;return scale}return clamp};scale.domain=function(_){return arguments.length?(linear.domain(_),update(),scale):linear.domain()};scale.interpolator=function(_){if(arguments.length){interpolator=_;return scale}return interpolator};scale.copy=function(){return sequential$1().domain(linear.domain()).clamp(clamp).interpolator(interpolator)};scale.ticks=function(count){return linear.ticks(count)};scale.tickFormat=function(count,specifier){return linear.tickFormat(count,specifier)};scale.nice=function(count){return linear.nice(count),update(),scale};return scale}function create(type,constructor){return function scale(){var s=constructor();s.invertRange||(s.invertRange=s.invert?invertRange(s):s.invertExtent?invertRangeExtent(s):void 0);s.type=type;return s}}function scale$1(type,scale){if(arguments.length>1){scales[type]=create(type,scale);return this}return scales.hasOwnProperty(type)?scales[type]:void 0}var scales={identity:identity$6,linear:linear$1,log:log$2,ordinal:ordinal,pow:pow$1,sqrt:sqrt$1,quantile:quantile$1,quantize:quantize$2,threshold:threshold,time:time,utc:utcTime,band:band$1,point:point$6,sequential:sequential$1,"bin-linear":binLinear,"bin-ordinal":binOrdinal};for(var key$1 in scales)scale$1(key$1,scales[key$1]);function interpolateRange(interpolator,range){var start=range[0],span=peek(range)-start;return function(i){return interpolator(start+i*span)}}function scaleFraction(scale,min,max){var delta=max-min;return delta&&isFinite(delta)?"linear"===scale.type||"sequential"===scale.type?function(_){return(_-min)/delta}:scale.copy().domain([min,max]).range([0,1]).interpolate(lerp):constant(0)}function lerp(a,b){var span=b-a;return function(i){return a+i*span}}function interpolate(type,gamma){var interp=$$1[method(type)];return null!=gamma&&interp&&interp.gamma?interp.gamma(gamma):interp}function method(type){return"interpolate"+type.toLowerCase().split("-").map(function(s){return s[0].toUpperCase()+s.slice(1)}).join("")}function colors(specifier){var n=specifier.length/6|0,colors=new Array(n),i=0;while(i<n)colors[i]="#"+specifier.slice(6*i,6*++i);return colors}var category20=colors("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5");var category20b=colors("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6");var category20c=colors("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9");var tableau10=colors("4c78a8f58518e4575672b7b254a24beeca3bb279a2ff9da69d755dbab0ac");var tableau20=colors("4c78a89ecae9f58518ffbf7954a24b88d27ab79a20f2cf5b43989483bcb6e45756ff9d9879706ebab0acd67195fcbfd2b279a2d6a5c99e765fd8b5a5");var blueOrange=new Array(3).concat("67a9cff7f7f7f1a340","0571b092c5defdb863e66101","0571b092c5def7f7f7fdb863e66101","2166ac67a9cfd1e5f0fee0b6f1a340b35806","2166ac67a9cfd1e5f0f7f7f7fee0b6f1a340b35806","2166ac4393c392c5ded1e5f0fee0b6fdb863e08214b35806","2166ac4393c392c5ded1e5f0f7f7f7fee0b6fdb863e08214b35806","0530612166ac4393c392c5ded1e5f0fee0b6fdb863e08214b358067f3b08","0530612166ac4393c392c5ded1e5f0f7f7f7fee0b6fdb863e08214b358067f3b08").map(colors);function colors$1(specifier){var n=specifier.length/6|0,colors=new Array(n),i=0;while(i<n)colors[i]="#"+specifier.slice(6*i,6*++i);return colors}var category10=colors$1("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf");var Accent=colors$1("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666");var Dark2=colors$1("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666");var Paired=colors$1("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928");var Pastel1=colors$1("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2");var Pastel2=colors$1("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc");var Set1=colors$1("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999");var Set2=colors$1("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3");var Set3=colors$1("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f");function ramp(scheme){return rgbBasis(scheme[scheme.length-1])}var scheme=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(colors$1);var BrBG=ramp(scheme);var scheme$1=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(colors$1);var PRGn=ramp(scheme$1);var scheme$2=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(colors$1);var PiYG=ramp(scheme$2);var scheme$3=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(colors$1);var PuOr=ramp(scheme$3);var scheme$4=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(colors$1);var RdBu=ramp(scheme$4);var scheme$5=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(colors$1);var RdGy=ramp(scheme$5);var scheme$6=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(colors$1);var RdYlBu=ramp(scheme$6);var scheme$7=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(colors$1);var RdYlGn=ramp(scheme$7);var scheme$8=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(colors$1);var Spectral=ramp(scheme$8);var scheme$9=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(colors$1);var BuGn=ramp(scheme$9);var scheme$a=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(colors$1);var BuPu=ramp(scheme$a);var scheme$b=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(colors$1);var GnBu=ramp(scheme$b);var scheme$c=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(colors$1);var OrRd=ramp(scheme$c);var scheme$d=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(colors$1);var PuBuGn=ramp(scheme$d);var scheme$e=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(colors$1);var PuBu=ramp(scheme$e);var scheme$f=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(colors$1);var PuRd=ramp(scheme$f);var scheme$g=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(colors$1);var RdPu=ramp(scheme$g);var scheme$h=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(colors$1);var YlGnBu=ramp(scheme$h);var scheme$i=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(colors$1);var YlGn=ramp(scheme$i);var scheme$j=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(colors$1);var YlOrBr=ramp(scheme$j);var scheme$k=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(colors$1);var YlOrRd=ramp(scheme$k);var scheme$l=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(colors$1);var Blues=ramp(scheme$l);var scheme$m=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(colors$1);var Greens=ramp(scheme$m);var scheme$n=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(colors$1);var Greys=ramp(scheme$n);var scheme$o=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(colors$1);var Purples=ramp(scheme$o);var scheme$p=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(colors$1);var Reds=ramp(scheme$p);var scheme$q=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(colors$1);var Oranges=ramp(scheme$q);var cubehelix$3=cubehelixLong(cubehelix(300,.5,0),cubehelix(-240,.5,1));var warm=cubehelixLong(cubehelix(-100,.75,.35),cubehelix(80,1.5,.8));var cool=cubehelixLong(cubehelix(260,.75,.35),cubehelix(80,1.5,.8));var c$1=cubehelix();function rainbow(t){(t<0||t>1)&&(t-=Math.floor(t));var ts=Math.abs(t-.5);c$1.h=360*t-100;c$1.s=1.5-1.5*ts;c$1.l=.8-.9*ts;return c$1+""}var c$2=rgb(),pi_1_3=Math.PI/3,pi_2_3=2*Math.PI/3;function sinebow(t){var x;t=(.5-t)*Math.PI;c$2.r=255*(x=Math.sin(t))*x;c$2.g=255*(x=Math.sin(t+pi_1_3))*x;c$2.b=255*(x=Math.sin(t+pi_2_3))*x;return c$2+""}function ramp$1(range){var n=range.length;return function(t){return range[Math.max(0,Math.min(n-1,Math.floor(t*n)))]}}var viridis=ramp$1(colors$1("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var magma=ramp$1(colors$1("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf"));var inferno=ramp$1(colors$1("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4"));var plasma=ramp$1(colors$1("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));var _=Object.freeze({schemeCategory10:category10,schemeAccent:Accent,schemeDark2:Dark2,schemePaired:Paired,schemePastel1:Pastel1,schemePastel2:Pastel2,schemeSet1:Set1,schemeSet2:Set2,schemeSet3:Set3,interpolateBrBG:BrBG,schemeBrBG:scheme,interpolatePRGn:PRGn,schemePRGn:scheme$1,interpolatePiYG:PiYG,schemePiYG:scheme$2,interpolatePuOr:PuOr,schemePuOr:scheme$3,interpolateRdBu:RdBu,schemeRdBu:scheme$4,interpolateRdGy:RdGy,schemeRdGy:scheme$5,interpolateRdYlBu:RdYlBu,schemeRdYlBu:scheme$6,interpolateRdYlGn:RdYlGn,schemeRdYlGn:scheme$7,interpolateSpectral:Spectral,schemeSpectral:scheme$8,interpolateBuGn:BuGn,schemeBuGn:scheme$9,interpolateBuPu:BuPu,schemeBuPu:scheme$a,interpolateGnBu:GnBu,schemeGnBu:scheme$b,interpolateOrRd:OrRd,schemeOrRd:scheme$c,interpolatePuBuGn:PuBuGn,schemePuBuGn:scheme$d,interpolatePuBu:PuBu,schemePuBu:scheme$e,interpolatePuRd:PuRd,schemePuRd:scheme$f,interpolateRdPu:RdPu,schemeRdPu:scheme$g,interpolateYlGnBu:YlGnBu,schemeYlGnBu:scheme$h,interpolateYlGn:YlGn,schemeYlGn:scheme$i,interpolateYlOrBr:YlOrBr,schemeYlOrBr:scheme$j,interpolateYlOrRd:YlOrRd,schemeYlOrRd:scheme$k,interpolateBlues:Blues,schemeBlues:scheme$l,interpolateGreens:Greens,schemeGreens:scheme$m,interpolateGreys:Greys,schemeGreys:scheme$n,interpolatePurples:Purples,schemePurples:scheme$o,interpolateReds:Reds,schemeReds:scheme$p,interpolateOranges:Oranges,schemeOranges:scheme$q,interpolateCubehelixDefault:cubehelix$3,interpolateRainbow:rainbow,interpolateWarm:warm,interpolateCool:cool,interpolateSinebow:sinebow,interpolateViridis:viridis,interpolateMagma:magma,interpolateInferno:inferno,interpolatePlasma:plasma});var discretized={blueorange:blueOrange};var schemes={category10:category10,accent:Accent,dark2:Dark2,paired:Paired,pastel1:Pastel1,pastel2:Pastel2,set1:Set1,set2:Set2,set3:Set3,category20:category20,category20b:category20b,category20c:category20c,tableau10:tableau10,tableau20:tableau20,viridis:viridis,magma:magma,inferno:inferno,plasma:plasma,rainbow:rainbow,sinebow:sinebow,blueorange:rgbBasis(peek(blueOrange))};function add$2(name,suffix){schemes[name]=_["interpolate"+suffix];discretized[name]=_["scheme"+suffix]}add$2("blues","Blues");add$2("greens","Greens");add$2("greys","Greys");add$2("purples","Purples");add$2("reds","Reds");add$2("oranges","Oranges");add$2("brownbluegreen","BrBG");add$2("purplegreen","PRGn");add$2("pinkyellowgreen","PiYG");add$2("purpleorange","PuOr");add$2("redblue","RdBu");add$2("redgrey","RdGy");add$2("redyellowblue","RdYlBu");add$2("redyellowgreen","RdYlGn");add$2("spectral","Spectral");add$2("bluegreen","BuGn");add$2("bluepurple","BuPu");add$2("greenblue","GnBu");add$2("orangered","OrRd");add$2("purplebluegreen","PuBuGn");add$2("purpleblue","PuBu");add$2("purplered","PuRd");add$2("redpurple","RdPu");add$2("yellowgreenblue","YlGnBu");add$2("yellowgreen","YlGn");add$2("yelloworangebrown","YlOrBr");add$2("yelloworangered","YlOrRd");function scheme$r(name,scheme$$1){if(arguments.length>1){schemes[name]=scheme$$1;return this}var part=name.split("-");name=part[0];part=+part[1]+1;return part&&discretized.hasOwnProperty(name)?discretized[name][part-1]:!part&&schemes.hasOwnProperty(name)?schemes[name]:void 0}function schemeDiscretized(name,schemeArray,interpolator){if(arguments.length>1){discretized[name]=schemeArray;schemes[name]=interpolator||rgbBasis(peek(schemeArray));return this}return discretized.hasOwnProperty(name)?discretized[name]:void 0}var time$1={millisecond:millisecond,second:second,minute:minute,hour:hour,day:day,week:sunday,month:month,year:year};var utc={millisecond:millisecond,second:second,minute:utcMinute,hour:utcHour,day:utcDay,week:utcSunday,month:utcMonth,year:utcYear};function timeInterval(name){return time$1.hasOwnProperty(name)&&time$1[name]}function utcInterval(name){return utc.hasOwnProperty(name)&&utc[name]}function tickCount(scale,count){var step;if(isObject(count)){step=count.step;count=count.interval}if(isString(count)){count="time"===scale.type?timeInterval(count):"utc"===scale.type?utcInterval(count):error("Only time and utc scales accept interval strings.");step&&(count=count.every(step))}return count}function validTicks(scale,ticks,count){var range=scale.range(),lo=range[0],hi=peek(range);if(lo>hi){range=hi;hi=lo;lo=range}ticks=ticks.filter(function(v){v=scale(v);return!(v<lo||v>hi)});if(count>0&&ticks.length>1){var endpoints=[ticks[0],peek(ticks)];while(ticks.length>count&&ticks.length>=3)ticks=ticks.filter(function(_,i){return!(i%2)});ticks.length<3&&(ticks=endpoints)}return ticks}function tickValues(scale,count){return scale.ticks?scale.ticks(count):scale.domain()}function tickFormat$1(scale,count,specifier){var format$$1=scale.tickFormat?scale.tickFormat(count,specifier):specifier?format(specifier):String;return scale.type===Log?filter$1(format$$1,variablePrecision(specifier)):format$$1}function filter$1(sourceFormat,targetFormat){return function(_){return sourceFormat(_)?targetFormat(_):""}}function variablePrecision(specifier){var s=formatSpecifier(specifier||",");if(null==s.precision){s.precision=12;switch(s.type){case"%":s.precision-=2;break;case"e":s.precision-=1}return trimZeroes(format(s),format(".1f")(1)[1])}return format(s)}function trimZeroes(format$$1,decimalChar){return function(x){var idx,end,str=format$$1(x),dec=str.indexOf(decimalChar);if(dec<0)return str;idx=rightmostDigit(str,dec);end=idx<str.length?str.slice(idx):"";while(--idx>dec)if("0"!==str[idx]){++idx;break}return str.slice(0,idx)+end}}function rightmostDigit(str,dec){var c,i=str.lastIndexOf("e");if(i>0)return i;for(i=str.length;--i>dec;){c=str.charCodeAt(i);if(c>=48&&c<=57)return i+1}}function AxisTicks(params){Transform.call(this,null,params)}var prototype$T=inherits(AxisTicks,Transform);prototype$T.transform=function(_,pulse){if(this.value&&!_.modified())return pulse.StopPropagation;var out=pulse.fork(pulse.NO_SOURCE|pulse.NO_FIELDS),ticks=this.value,scale=_.scale,count=null==_.count?_.values?_.values.length:10:tickCount(scale,_.count),format=_.format||tickFormat$1(scale,count,_.formatSpecifier),values=_.values?validTicks(scale,_.values,count):tickValues(scale,count);ticks&&(out.rem=ticks);ticks=values.map(function(value,i){return ingest({index:i/(values.length-1),value:value,label:format(value)})});_.extra&&ticks.length&&ticks.push(ingest({index:-1,extra:{value:ticks[0].value},label:""}));out.source=ticks;out.add=ticks;this.value=ticks;return out};function DataJoin(params){Transform.call(this,null,params)}var prototype$U=inherits(DataJoin,Transform);function defaultItemCreate(){return ingest({})}function isExit(t){return t.exit}prototype$U.transform=function(_,pulse){var df=pulse.dataflow,out=pulse.fork(pulse.NO_SOURCE|pulse.NO_FIELDS),item=_.item||defaultItemCreate,key$$1=_.key||tupleid,map=this.value;isArray(out.encode)&&(out.encode=null);map&&(_.modified("key")||pulse.modified(key$$1))&&error("DataJoin does not support modified key function or fields.");if(!map){pulse=pulse.addAll();this.value=map=fastmap().test(isExit);map.lookup=function(t){return map.get(key$$1(t))}}pulse.visit(pulse.ADD,function(t){var k=key$$1(t),x=map.get(k);if(x)if(x.exit){map.empty--;out.add.push(x)}else out.mod.push(x);else{map.set(k,x=item(t));out.add.push(x)}x.datum=t;x.exit=false});pulse.visit(pulse.MOD,function(t){var k=key$$1(t),x=map.get(k);if(x){x.datum=t;out.mod.push(x)}});pulse.visit(pulse.REM,function(t){var k=key$$1(t),x=map.get(k);if(t===x.datum&&!x.exit){out.rem.push(x);x.exit=true;++map.empty}});pulse.changed(pulse.ADD_MOD)&&out.modifies("datum");_.clean&&map.empty>df.cleanThreshold&&df.runAfter(map.clean);return out};function Encode(params){Transform.call(this,null,params)}var prototype$V=inherits(Encode,Transform);prototype$V.transform=function(_,pulse){var out=pulse.fork(pulse.ADD_REM),encoders=_.encoders,encode=pulse.encode;if(isArray(encode)){if(!out.changed()&&!encode.every(function(e){return encoders[e]}))return pulse.StopPropagation;encode=encode[0];out.encode=null}var reenter="enter"===encode,update=encoders.update||falsy,enter=encoders.enter||falsy,exit=encoders.exit||falsy,set=(encode&&!reenter?encoders[encode]:update)||falsy;if(pulse.changed(pulse.ADD)){pulse.visit(pulse.ADD,function(t){enter(t,_);update(t,_);set!==falsy&&set!==update&&set(t,_)});out.modifies(enter.output);out.modifies(update.output);set!==falsy&&set!==update&&out.modifies(set.output)}if(pulse.changed(pulse.REM)&&exit!==falsy){pulse.visit(pulse.REM,function(t){exit(t,_)});out.modifies(exit.output)}if(reenter||set!==falsy){var flag=pulse.MOD|(_.modified()?pulse.REFLOW:0);if(reenter){pulse.visit(flag,function(t){var mod=enter(t,_);(set(t,_)||mod)&&out.mod.push(t)});out.mod.length&&out.modifies(enter.output)}else pulse.visit(flag,function(t){set(t,_)&&out.mod.push(t)});out.mod.length&&out.modifies(set.output)}return out.changed()?out:pulse.StopPropagation};var Symbols$1="symbol";var Discrete="discrete";var Gradient$1="gradient";var symbols$2={};symbols$2[Quantile]=quantileSymbols;symbols$2[Quantize]=quantizeSymbols;symbols$2[Threshold]=thresholdSymbols;symbols$2[BinLinear]=symbols$2[BinOrdinal]=binSymbols;function labelValues(scale,count){var values=symbols$2[scale.type];return values?values(scale):tickValues(scale,count)}function quantizeSymbols(scale){var domain=scale.domain(),x0=domain[0],x1=peek(domain),n=scale.range().length,values=new Array(n),i=0;values[0]=-Infinity;while(++i<n)values[i]=(i*x1-(i-n)*x0)/n;values.max=Infinity;return values}function quantileSymbols(scale){var values=[-Infinity].concat(scale.quantiles());values.max=Infinity;return values}function thresholdSymbols(scale){var values=[-Infinity].concat(scale.domain());values.max=Infinity;return values}function binSymbols(scale){var values=scale.domain();values.max=values.pop();return values}function labelFormat(scale,format,type){return type===Symbols$1&&symbols$2[scale.type]?formatRange(format):type===Discrete?formatDiscrete(format):formatPoint(format)}function formatRange(format){return function(value,index,array$$1){var limit=array$$1[index+1]||array$$1.max||Infinity,lo=formatValue(value,format),hi=formatValue(limit,format);return lo&&hi?lo+"–"+hi:hi?"< "+hi:"≥ "+lo}}function formatDiscrete(format){return function(value,index){return index?format(value):null}}function formatPoint(format){return function(value){return format(value)}}function formatValue(value,format){return isFinite(value)?format(value):null}function labelFraction(scale){var domain=scale.domain(),count=domain.length-1,lo=+domain[0],hi=+peek(domain),span=hi-lo;if(scale.type===Threshold){var adjust=count?span/count:.1;lo-=adjust;hi+=adjust;span=hi-lo}return function(value){return(value-lo)/span}}function LegendEntries(params){Transform.call(this,[],params)}var prototype$W=inherits(LegendEntries,Transform);prototype$W.transform=function(_,pulse){if(null!=this.value&&!_.modified())return pulse.StopPropagation;var domain,fraction,size,offset,out=pulse.fork(pulse.NO_SOURCE|pulse.NO_FIELDS),items=this.value,type=_.type||Symbols$1,scale=_.scale,count=null==_.count?5:tickCount(scale,_.count),format=_.format||tickFormat$1(scale,count,_.formatSpecifier),values=_.values||labelValues(scale,count,type);format=labelFormat(scale,format,type);items&&(out.rem=items);if(type===Symbols$1){if(isFunction(size=_.size)){_.values||0!==scale(values[0])||(values=values.slice(1));offset=values.reduce(function(max,value){return Math.max(max,size(value,_))},0)}else size=constant(offset=size||8);items=values.map(function(value,index){return ingest({index:index,label:format(value,index,values),value:value,offset:offset,size:size(value,_)})})}else if(type===Gradient$1){domain=scale.domain(),fraction=scaleFraction(scale,domain[0],peek(domain));values.length<3&&!_.values&&domain[0]!==peek(domain)&&(values=[domain[0],peek(domain)]);items=values.map(function(value,index){return ingest({index:index,label:format(value,index,values),value:value,perc:fraction(value)})})}else{size=values.length-1;fraction=labelFraction(scale);items=values.map(function(value,index){return ingest({index:index,label:format(value,index,values),value:value,perc:index?fraction(value):0,perc2:index===size?1:fraction(values[index+1])})})}out.source=items;out.add=items;this.value=items;return out};var Paths=fastmap({line:line$3,"line-radial":lineR,arc:arc$2,"arc-radial":arcR,curve:curve,"curve-radial":curveR,"orthogonal-horizontal":orthoX,"orthogonal-vertical":orthoY,"orthogonal-radial":orthoR,"diagonal-horizontal":diagonalX,"diagonal-vertical":diagonalY,"diagonal-radial":diagonalR});function sourceX(t){return t.source.x}function sourceY(t){return t.source.y}function targetX(t){return t.target.x}function targetY(t){return t.target.y}function LinkPath(params){Transform.call(this,{},params)}LinkPath.Definition={type:"LinkPath",metadata:{modifies:true},params:[{name:"sourceX",type:"field",default:"source.x"},{name:"sourceY",type:"field",default:"source.y"},{name:"targetX",type:"field",default:"target.x"},{name:"targetY",type:"field",default:"target.y"},{name:"orient",type:"enum",default:"vertical",values:["horizontal","vertical","radial"]},{name:"shape",type:"enum",default:"line",values:["line","arc","curve","diagonal","orthogonal"]},{name:"require",type:"signal"},{name:"as",type:"string",default:"path"}]};var prototype$X=inherits(LinkPath,Transform);prototype$X.transform=function(_,pulse){var sx=_.sourceX||sourceX,sy=_.sourceY||sourceY,tx=_.targetX||targetX,ty=_.targetY||targetY,as=_.as||"path",orient=_.orient||"vertical",shape=_.shape||"line",path=Paths.get(shape+"-"+orient)||Paths.get(shape);path||error("LinkPath unsupported type: "+_.shape+(_.orient?"-"+_.orient:""));pulse.visit(pulse.SOURCE,function(t){t[as]=path(sx(t),sy(t),tx(t),ty(t))});return pulse.reflow(_.modified()).modifies(as)};function line$3(sx,sy,tx,ty){return"M"+sx+","+sy+"L"+tx+","+ty}function lineR(sa,sr,ta,tr){return line$3(sr*Math.cos(sa),sr*Math.sin(sa),tr*Math.cos(ta),tr*Math.sin(ta))}function arc$2(sx,sy,tx,ty){var dx=tx-sx,dy=ty-sy,rr=Math.sqrt(dx*dx+dy*dy)/2,ra=180*Math.atan2(dy,dx)/Math.PI;return"M"+sx+","+sy+"A"+rr+","+rr+" "+ra+" 0 1 "+tx+","+ty}function arcR(sa,sr,ta,tr){return arc$2(sr*Math.cos(sa),sr*Math.sin(sa),tr*Math.cos(ta),tr*Math.sin(ta))}function curve(sx,sy,tx,ty){var dx=tx-sx,dy=ty-sy,ix=.2*(dx+dy),iy=.2*(dy-dx);return"M"+sx+","+sy+"C"+(sx+ix)+","+(sy+iy)+" "+(tx+iy)+","+(ty-ix)+" "+tx+","+ty}function curveR(sa,sr,ta,tr){return curve(sr*Math.cos(sa),sr*Math.sin(sa),tr*Math.cos(ta),tr*Math.sin(ta))}function orthoX(sx,sy,tx,ty){return"M"+sx+","+sy+"V"+ty+"H"+tx}function orthoY(sx,sy,tx,ty){return"M"+sx+","+sy+"H"+tx+"V"+ty}function orthoR(sa,sr,ta,tr){var sc=Math.cos(sa),ss=Math.sin(sa),tc=Math.cos(ta),ts=Math.sin(ta),sf=Math.abs(ta-sa)>Math.PI?ta<=sa:ta>sa;return"M"+sr*sc+","+sr*ss+"A"+sr+","+sr+" 0 0,"+(sf?1:0)+" "+sr*tc+","+sr*ts+"L"+tr*tc+","+tr*ts}function diagonalX(sx,sy,tx,ty){var m=(sx+tx)/2;return"M"+sx+","+sy+"C"+m+","+sy+" "+m+","+ty+" "+tx+","+ty}function diagonalY(sx,sy,tx,ty){var m=(sy+ty)/2;return"M"+sx+","+sy+"C"+sx+","+m+" "+tx+","+m+" "+tx+","+ty}function diagonalR(sa,sr,ta,tr){var sc=Math.cos(sa),ss=Math.sin(sa),tc=Math.cos(ta),ts=Math.sin(ta),mr=(sr+tr)/2;return"M"+sr*sc+","+sr*ss+"C"+mr*sc+","+mr*ss+" "+mr*tc+","+mr*ts+" "+tr*tc+","+tr*ts}function Pie(params){Transform.call(this,null,params)}Pie.Definition={type:"Pie",metadata:{modifies:true},params:[{name:"field",type:"field"},{name:"startAngle",type:"number",default:0},{name:"endAngle",type:"number",default:6.283185307179586},{name:"sort",type:"boolean",default:false},{name:"as",type:"string",array:true,length:2,default:["startAngle","endAngle"]}]};var prototype$Y=inherits(Pie,Transform);prototype$Y.transform=function(_,pulse){var i,t,v,as=_.as||["startAngle","endAngle"],startAngle=as[0],endAngle=as[1],field$$1=_.field||one,start=_.startAngle||0,stop=null!=_.endAngle?_.endAngle:2*Math.PI,data=pulse.source,values=data.map(field$$1),n=values.length,a=start,k=(stop-start)/sum(values),index=range(n);_.sort&&index.sort(function(a,b){return values[a]-values[b]});for(i=0;i<n;++i){v=values[index[i]];t=data[index[i]];t[startAngle]=a;t[endAngle]=a+=v*k}this.value=values;return pulse.reflow(_.modified()).modifies(as)};var DEFAULT_COUNT=5;var INCLUDE_ZERO=toSet([Linear$1,Pow,Sqrt]);var INCLUDE_PAD=toSet([Linear$1,Log,Pow,Sqrt,Time,Utc]);var SKIP$2=toSet(["set","modified","clear","type","scheme","schemeExtent","schemeCount","domain","domainMin","domainMid","domainMax","domainRaw","domainImplicit","nice","zero","range","rangeStep","round","reverse","interpolate","interpolateGamma"]);function Scale(params){Transform.call(this,null,params);this.modified(true)}var prototype$Z=inherits(Scale,Transform);prototype$Z.transform=function(_,pulse){var prop,df=pulse.dataflow,scale$$1=this.value;scale$$1&&!_.modified("type")||(this.value=scale$$1=scale$1((_.type||Linear$1).toLowerCase())());for(prop in _)if(!SKIP$2[prop]){if("padding"===prop&&INCLUDE_PAD[scale$$1.type])continue;isFunction(scale$$1[prop])?scale$$1[prop](_[prop]):df.warn("Unsupported scale property: "+prop)}configureRange(scale$$1,_,configureDomain(scale$$1,_,df));return pulse.fork(pulse.NO_SOURCE|pulse.NO_FIELDS)};function configureDomain(scale$$1,_,df){var raw=rawDomain(scale$$1,_.domainRaw,df);if(raw>-1)return raw;var n,mid,domain=_.domain,type=scale$$1.type,zero$$1=_.zero||void 0===_.zero&&INCLUDE_ZERO[type];if(!domain)return 0;INCLUDE_PAD[type]&&_.padding&&domain[0]!==peek(domain)&&(domain=padDomain(type,domain,_.range,_.padding,_.exponent));if(zero$$1||null!=_.domainMin||null!=_.domainMax||null!=_.domainMid){n=(domain=domain.slice()).length-1||1;if(zero$$1){domain[0]>0&&(domain[0]=0);domain[n]<0&&(domain[n]=0)}null!=_.domainMin&&(domain[0]=_.domainMin);null!=_.domainMax&&(domain[n]=_.domainMax);if(null!=_.domainMid){mid=_.domainMid;(mid<domain[0]||mid>domain[n])&&df.warn("Scale domainMid exceeds domain min or max.",mid);domain.splice(n,0,mid)}}scale$$1.domain(domainCheck(type,domain,df));type===Ordinal&&scale$$1.unknown(_.domainImplicit?implicit:void 0);_.nice&&scale$$1.nice&&scale$$1.nice(true!==_.nice&&tickCount(scale$$1,_.nice)||null);return domain.length}function rawDomain(scale$$1,raw,df){if(raw){scale$$1.domain(domainCheck(scale$$1.type,raw,df));return raw.length}return-1}function padDomain(type,domain,range,pad$$1,exponent){var span=Math.abs(peek(range)-range[0]),frac=span/(span-2*pad$$1),d=type===Log?zoomLog(domain,null,frac):type===Sqrt?zoomPow(domain,null,frac,.5):type===Pow?zoomPow(domain,null,frac,exponent):zoomLinear(domain,null,frac);domain=domain.slice();domain[0]=d[0];domain[domain.length-1]=d[1];return domain}function domainCheck(type,domain,df){if(type===Log){var s=Math.abs(domain.reduce(function(s,v){return s+(v<0?-1:v>0?1:0)},0));s!==domain.length&&df.warn("Log scale domain includes zero: "+$(domain))}return domain}function configureRange(scale$$1,_,count){var round=_.round||false,range=_.range;if(null!=_.rangeStep)range=configureRangeStep(scale$$1.type,_,count);else if(_.scheme){range=configureScheme(scale$$1.type,_,count);if(isFunction(range))return scale$$1.interpolator(range)}else if(range&&scale$$1.type===Sequential)return scale$$1.interpolator(rgbBasis(flip(range,_.reverse)));range&&_.interpolate&&scale$$1.interpolate?scale$$1.interpolate(interpolate(_.interpolate,_.interpolateGamma)):isFunction(scale$$1.round)?scale$$1.round(round):isFunction(scale$$1.rangeRound)&&scale$$1.interpolate(round?interpolateRound:value);range&&scale$$1.range(flip(range,_.reverse))}function configureRangeStep(type,_,count){type!==Band&&type!==Point&&error("Only band and point scales support rangeStep.");var outer=(null!=_.paddingOuter?_.paddingOuter:_.padding)||0,inner=type===Point?1:(null!=_.paddingInner?_.paddingInner:_.padding)||0;return[0,_.rangeStep*bandSpace(count,inner,outer)]}function configureScheme(type,_,count){var discrete$$1,name=_.scheme.toLowerCase(),scheme$$1=scheme$r(name),extent=_.schemeExtent;scheme$$1||error("Unrecognized scheme name: "+_.scheme);count=type===Threshold?count+1:type===BinOrdinal?count-1:type===Quantile||type===Quantize?+_.schemeCount||DEFAULT_COUNT:count;return type===Sequential?adjustScheme(scheme$$1,extent,_.reverse):!extent&&(discrete$$1=scheme$r(name+"-"+count))?discrete$$1:isFunction(scheme$$1)?quantize$3(adjustScheme(scheme$$1,extent),count):type===Ordinal?scheme$$1:scheme$$1.slice(0,count)}function adjustScheme(scheme$$1,extent,reverse){return isFunction(scheme$$1)&&(extent||reverse)?interpolateRange(scheme$$1,flip(extent||[0,1],reverse)):scheme$$1}function flip(array$$1,reverse){return reverse?array$$1.slice().reverse():array$$1}function quantize$3(interpolator,count){var samples=new Array(count),n=count+1;for(var i=0;i<count;)samples[i]=interpolator(++i/n);return samples}function SortItems(params){Transform.call(this,null,params)}var prototype$_=inherits(SortItems,Transform);prototype$_.transform=function(_,pulse){var mod=_.modified("sort")||pulse.changed(pulse.ADD)||pulse.modified(_.sort.fields)||pulse.modified("datum");mod&&pulse.source.sort(_.sort);this.modified(mod);return pulse};var Center="center",Normalize="normalize";function Stack(params){Transform.call(this,null,params)}Stack.Definition={type:"Stack",metadata:{modifies:true},params:[{name:"field",type:"field"},{name:"groupby",type:"field",array:true},{name:"sort",type:"compare"},{name:"offset",type:"enum",default:"zero",values:["zero","center","normalize"]},{name:"as",type:"string",array:true,length:2,default:["y0","y1"]}]};var prototype$10=inherits(Stack,Transform);prototype$10.transform=function(_,pulse){var groups,i,n,max,as=_.as||["y0","y1"],y0=as[0],y1=as[1],field$$1=_.field||one,stack=_.offset===Center?stackCenter:_.offset===Normalize?stackNormalize:stackZero;groups=partition$1(pulse.source,_.groupby,_.sort,field$$1);for(i=0,n=groups.length,max=groups.max;i<n;++i)stack(groups[i],max,field$$1,y0,y1);return pulse.reflow(_.modified()).modifies(as)};function stackCenter(group,max,field$$1,y0,y1){var t,last=(max-group.sum)/2,m=group.length,j=0;for(;j<m;++j){t=group[j];t[y0]=last;t[y1]=last+=Math.abs(field$$1(t))}}function stackNormalize(group,max,field$$1,y0,y1){var t,scale=1/group.sum,last=0,m=group.length,j=0,v=0;for(;j<m;++j){t=group[j];t[y0]=last;t[y1]=last=scale*(v+=Math.abs(field$$1(t)))}}function stackZero(group,max,field$$1,y0,y1){var v,t,lastPos=0,lastNeg=0,m=group.length,j=0;for(;j<m;++j){t=group[j];v=field$$1(t);if(v<0){t[y0]=lastNeg;t[y1]=lastNeg+=v}else{t[y0]=lastPos;t[y1]=lastPos+=v}}}function partition$1(data,groupby,sort,field$$1){var map,i,n,m,t,k,g,s,max,groups=[],get=function(f){return f(t)};if(null==groupby)groups.push(data.slice());else for(map={},i=0,n=data.length;i<n;++i){t=data[i];k=groupby.map(get);g=map[k];if(!g){map[k]=g=[];groups.push(g)}g.push(t)}for(k=0,max=0,m=groups.length;k<m;++k){g=groups[k];for(i=0,s=0,n=g.length;i<n;++i)s+=Math.abs(field$$1(g[i]));g.sum=s;s>max&&(max=s);sort&&g.sort(sort)}groups.max=max;return groups}var encode=Object.freeze({axisticks:AxisTicks,datajoin:DataJoin,encode:Encode,legendentries:LegendEntries,linkpath:LinkPath,pie:Pie,scale:Scale,sortitems:SortItems,stack:Stack,validTicks:validTicks});var array$4=Array.prototype;var slice$4=array$4.slice;function ascending$2(a,b){return a-b}function area$3(ring){var i=0,n=ring.length,area=ring[n-1][1]*ring[0][0]-ring[n-1][0]*ring[0][1];while(++i<n)area+=ring[i-1][1]*ring[i][0]-ring[i-1][0]*ring[i][1];return area}function constant$6(x){return function(){return x}}function contains(ring,hole){var c,i=-1,n=hole.length;while(++i<n)if(c=ringContains(ring,hole[i]))return c;return 0}function ringContains(ring,point){var x=point[0],y=point[1],contains=-1;for(var i=0,n=ring.length,j=n-1;i<n;j=i++){var pi=ring[i],xi=pi[0],yi=pi[1],pj=ring[j],xj=pj[0],yj=pj[1];if(segmentContains(pi,pj,point))return 0;yi>y!==yj>y&&x<(xj-xi)*(y-yi)/(yj-yi)+xi&&(contains=-contains)}return contains}function segmentContains(a,b,c){var i;return collinear(a,b,c)&&within(a[i=+(a[0]===b[0])],c[i],b[i])}function collinear(a,b,c){return(b[0]-a[0])*(c[1]-a[1])===(c[0]-a[0])*(b[1]-a[1])}function within(p,q,r){return p<=q&&q<=r||r<=q&&q<=p}function noop$2(){}var cases=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function contours(){var dx=1,dy=1,threshold=thresholdSturges,smooth=smoothLinear;function contours(values){var tz=threshold(values);if(Array.isArray(tz))tz=tz.slice().sort(ascending$2);else{var domain=extent(values),start=domain[0],stop=domain[1];tz=tickStep(start,stop,tz);tz=range(Math.floor(start/tz)*tz,Math.floor(stop/tz)*tz,tz)}return tz.map(function(value){return contour(values,value)})}function contour(values,value){var polygons=[],holes=[];isorings(values,value,function(ring){smooth(ring,values,value);area$3(ring)>0?polygons.push([ring]):holes.push(ring)});holes.forEach(function(hole){for(var polygon,i=0,n=polygons.length;i<n;++i)if(-1!==contains((polygon=polygons[i])[0],hole)){polygon.push(hole);return}});return{type:"MultiPolygon",value:value,coordinates:polygons}}function isorings(values,value,callback){var x,y,t0,t1,t2,t3,fragmentByStart=new Array,fragmentByEnd=new Array;x=y=-1;t1=values[0]>=value;cases[t1<<1].forEach(stitch);while(++x<dx-1){t0=t1,t1=values[x+1]>=value;cases[t0|t1<<1].forEach(stitch)}cases[t1<<0].forEach(stitch);while(++y<dy-1){x=-1;t1=values[y*dx+dx]>=value;t2=values[y*dx]>=value;cases[t1<<1|t2<<2].forEach(stitch);while(++x<dx-1){t0=t1,t1=values[y*dx+dx+x+1]>=value;t3=t2,t2=values[y*dx+x+1]>=value;cases[t0|t1<<1|t2<<2|t3<<3].forEach(stitch)}cases[t1|t2<<3].forEach(stitch)}x=-1;t2=values[y*dx]>=value;cases[t2<<2].forEach(stitch);while(++x<dx-1){t3=t2,t2=values[y*dx+x+1]>=value;cases[t2<<2|t3<<3].forEach(stitch)}cases[t2<<3].forEach(stitch);function stitch(line){var f,g,start=[line[0][0]+x,line[0][1]+y],end=[line[1][0]+x,line[1][1]+y],startIndex=index(start),endIndex=index(end);if(f=fragmentByEnd[startIndex])if(g=fragmentByStart[endIndex]){delete fragmentByEnd[f.end];delete fragmentByStart[g.start];if(f===g){f.ring.push(end);callback(f.ring)}else fragmentByStart[f.start]=fragmentByEnd[g.end]={start:f.start,end:g.end,ring:f.ring.concat(g.ring)}}else{delete fragmentByEnd[f.end];f.ring.push(end);fragmentByEnd[f.end=endIndex]=f}else if(f=fragmentByStart[endIndex])if(g=fragmentByEnd[startIndex]){delete fragmentByStart[f.start];delete fragmentByEnd[g.end];if(f===g){f.ring.push(end);callback(f.ring)}else fragmentByStart[g.start]=fragmentByEnd[f.end]={start:g.start,end:f.end,ring:g.ring.concat(f.ring)}}else{delete fragmentByStart[f.start];f.ring.unshift(start);fragmentByStart[f.start=startIndex]=f}else fragmentByStart[startIndex]=fragmentByEnd[endIndex]={start:startIndex,end:endIndex,ring:[start,end]}}}function index(point){return 2*point[0]+point[1]*(dx+1)*4}function smoothLinear(ring,values,value){ring.forEach(function(point){var v0,x=point[0],y=point[1],xt=0|x,yt=0|y,v1=values[yt*dx+xt];if(x>0&&x<dx&&xt===x){v0=values[yt*dx+xt-1];point[0]=x+(value-v0)/(v1-v0)-.5}if(y>0&&y<dy&&yt===y){v0=values[(yt-1)*dx+xt];point[1]=y+(value-v0)/(v1-v0)-.5}})}contours.contour=contour;contours.size=function(_){if(!arguments.length)return[dx,dy];var _0=Math.ceil(_[0]),_1=Math.ceil(_[1]);if(!(_0>0)||!(_1>0))throw new Error("invalid size");return dx=_0,dy=_1,contours};contours.thresholds=function(_){return arguments.length?(threshold="function"===typeof _?_:Array.isArray(_)?constant$6(slice$4.call(_)):constant$6(_),contours):threshold};contours.smooth=function(_){return arguments.length?(smooth=_?smoothLinear:noop$2,contours):smooth===smoothLinear};return contours}function blurX(source,target,r){var n=source.width,m=source.height,w=1+(r<<1);for(var j=0;j<m;++j)for(var i=0,sr=0;i<n+r;++i){i<n&&(sr+=source.data[i+j*n]);if(i>=r){i>=w&&(sr-=source.data[i-w+j*n]);target.data[i-r+j*n]=sr/Math.min(i+1,n-1+w-i,w)}}}function blurY(source,target,r){var n=source.width,m=source.height,w=1+(r<<1);for(var i=0;i<n;++i)for(var j=0,sr=0;j<m+r;++j){j<m&&(sr+=source.data[i+j*n]);if(j>=r){j>=w&&(sr-=source.data[i+(j-w)*n]);target.data[i+(j-r)*n]=sr/Math.min(j+1,m-1+w-j,w)}}}function defaultX(d){return d[0]}function defaultY(d){return d[1]}function defaultWeight(){return 1}function contourDensity(){var x=defaultX,y=defaultY,weight=defaultWeight,dx=960,dy=500,r=20,k=2,o=3*r,n=dx+2*o>>k,m=dy+2*o>>k,threshold=constant$6(20);function density(data){var values0=new Float32Array(n*m),values1=new Float32Array(n*m);data.forEach(function(d,i,data){var xi=+x(d,i,data)+o>>k,yi=+y(d,i,data)+o>>k,wi=+weight(d,i,data);xi>=0&&xi<n&&yi>=0&&yi<m&&(values0[xi+yi*n]+=wi)});blurX({width:n,height:m,data:values0},{width:n,height:m,data:values1},r>>k);blurY({width:n,height:m,data:values1},{width:n,height:m,data:values0},r>>k);blurX({width:n,height:m,data:values0},{width:n,height:m,data:values1},r>>k);blurY({width:n,height:m,data:values1},{width:n,height:m,data:values0},r>>k);blurX({width:n,height:m,data:values0},{width:n,height:m,data:values1},r>>k);blurY({width:n,height:m,data:values1},{width:n,height:m,data:values0},r>>k);var tz=threshold(values0);if(!Array.isArray(tz)){var stop=max(values0);tz=tickStep(0,stop,tz);tz=range(0,Math.floor(stop/tz)*tz,tz);tz.shift()}return contours().thresholds(tz).size([n,m])(values0).map(transform)}function transform(geometry){geometry.value*=Math.pow(2,-2*k);geometry.coordinates.forEach(transformPolygon);return geometry}function transformPolygon(coordinates){coordinates.forEach(transformRing)}function transformRing(coordinates){coordinates.forEach(transformPoint)}function transformPoint(coordinates){coordinates[0]=coordinates[0]*Math.pow(2,k)-o;coordinates[1]=coordinates[1]*Math.pow(2,k)-o}function resize(){o=3*r;n=dx+2*o>>k;m=dy+2*o>>k;return density}density.x=function(_){return arguments.length?(x="function"===typeof _?_:constant$6(+_),density):x};density.y=function(_){return arguments.length?(y="function"===typeof _?_:constant$6(+_),density):y};density.weight=function(_){return arguments.length?(weight="function"===typeof _?_:constant$6(+_),density):weight};density.size=function(_){if(!arguments.length)return[dx,dy];var _0=Math.ceil(_[0]),_1=Math.ceil(_[1]);if(!(_0>=0)&&!(_0>=0))throw new Error("invalid size");return dx=_0,dy=_1,resize()};density.cellSize=function(_){if(!arguments.length)return 1<<k;if(!((_=+_)>=1))throw new Error("invalid cell size");return k=Math.floor(Math.log(_)/Math.LN2),resize()};density.thresholds=function(_){return arguments.length?(threshold="function"===typeof _?_:Array.isArray(_)?constant$6(slice$4.call(_)):constant$6(_),density):threshold};density.bandwidth=function(_){if(!arguments.length)return Math.sqrt(r*(r+1));if(!((_=+_)>=0))throw new Error("invalid bandwidth");return r=Math.round((Math.sqrt(4*_*_+1)-1)/2),resize()};return density}var CONTOUR_PARAMS=["size","smooth"];var DENSITY_PARAMS=["x","y","weight","size","cellSize","bandwidth"];function Contour(params){Transform.call(this,null,params)}Contour.Definition={type:"Contour",metadata:{generates:true},params:[{name:"size",type:"number",array:true,length:2,required:true},{name:"values",type:"number",array:true},{name:"x",type:"field"},{name:"y",type:"field"},{name:"weight",type:"field"},{name:"cellSize",type:"number"},{name:"bandwidth",type:"number"},{name:"count",type:"number"},{name:"smooth",type:"boolean"},{name:"nice",type:"boolean",default:false},{name:"thresholds",type:"number",array:true}]};var prototype$11=inherits(Contour,Transform);prototype$11.transform=function(_,pulse){if(this.value&&!pulse.changed()&&!_.modified())return pulse.StopPropagation;var contour,params,values,out=pulse.fork(pulse.NO_SOURCE|pulse.NO_FIELDS),count=_.count||10;if(_.values){contour=contours();params=CONTOUR_PARAMS;values=_.values}else{contour=contourDensity();params=DENSITY_PARAMS;values=pulse.materialize(pulse.SOURCE).source}contour.thresholds(_.thresholds||(_.nice?count:quantize$4(count)));params.forEach(function(param){null!=_[param]&&contour[param](_[param])});this.value&&(out.rem=this.value);values=values&&values.length?contour(values).map(ingest):[];this.value=out.source=out.add=values;return out};function quantize$4(k){return function(values){var ex=extent(values),x0=ex[0],dx=ex[1]-x0,t=[],i=1;for(;i<=k;++i)t.push(x0+dx*i/(k+1));return t}}var Feature="Feature";var FeatureCollection="FeatureCollection";var MultiPoint="MultiPoint";function GeoJSON(params){Transform.call(this,null,params)}GeoJSON.Definition={type:"GeoJSON",metadata:{},params:[{name:"fields",type:"field",array:true,length:2},{name:"geojson",type:"field"}]};var prototype$12=inherits(GeoJSON,Transform);prototype$12.transform=function(_,pulse){var mod,features=this._features,points=this._points,fields=_.fields,lon=fields&&fields[0],lat=fields&&fields[1],geojson=_.geojson,flag=pulse.ADD;mod=_.modified()||pulse.changed(pulse.REM)||pulse.modified(accessorFields(geojson))||lon&&pulse.modified(accessorFields(lon))||lat&&pulse.modified(accessorFields(lat));if(!this.value||mod){flag=pulse.SOURCE;this._features=features=[];this._points=points=[]}geojson&&pulse.visit(flag,function(t){features.push(geojson(t))});if(lon&&lat){pulse.visit(flag,function(t){var x=lon(t),y=lat(t);null!=x&&null!=y&&(x=+x)===x&&(y=+y)===y&&points.push([x,y])});features=features.concat({type:Feature,geometry:{type:MultiPoint,coordinates:points}})}this.value={type:FeatureCollection,features:features}};function adder(){return new Adder}function Adder(){this.reset()}Adder.prototype={constructor:Adder,reset:function(){this.s=this.t=0},add:function(y){add$3(temp$1,y,this.t);add$3(this,temp$1.s,this.s);this.s?this.t+=temp$1.t:this.s=temp$1.t},valueOf:function(){return this.s}};var temp$1=new Adder;function add$3(adder,a,b){var x=adder.s=a+b,bv=x-a,av=x-bv;adder.t=a-av+(b-bv)}var epsilon$2=1e-6;var epsilon2$1=1e-12;var pi$3=Math.PI;var halfPi$2=pi$3/2;var quarterPi=pi$3/4;var tau$4=2*pi$3;var degrees$1=180/pi$3;var radians=pi$3/180;var abs$1=Math.abs;var atan=Math.atan;var atan2$1=Math.atan2;var cos$1=Math.cos;var ceil=Math.ceil;var exp$1=Math.exp;var log$3=Math.log;var pow$2=Math.pow;var sin$1=Math.sin;var sign$1=Math.sign||function(x){return x>0?1:x<0?-1:0};var sqrt$2=Math.sqrt;var tan=Math.tan;function acos$1(x){return x>1?0:x<-1?pi$3:Math.acos(x)}function asin$1(x){return x>1?halfPi$2:x<-1?-halfPi$2:Math.asin(x)}function noop$3(){}function streamGeometry(geometry,stream){geometry&&streamGeometryType.hasOwnProperty(geometry.type)&&streamGeometryType[geometry.type](geometry,stream)}var streamObjectType={Feature:function(object,stream){streamGeometry(object.geometry,stream)},FeatureCollection:function(object,stream){var features=object.features,i=-1,n=features.length;while(++i<n)streamGeometry(features[i].geometry,stream)}};var streamGeometryType={Sphere:function(object,stream){stream.sphere()},Point:function(object,stream){object=object.coordinates;stream.point(object[0],object[1],object[2])},MultiPoint:function(object,stream){var coordinates=object.coordinates,i=-1,n=coordinates.length;while(++i<n)object=coordinates[i],stream.point(object[0],object[1],object[2])},LineString:function(object,stream){streamLine(object.coordinates,stream,0)},MultiLineString:function(object,stream){var coordinates=object.coordinates,i=-1,n=coordinates.length;while(++i<n)streamLine(coordinates[i],stream,0)},Polygon:function(object,stream){streamPolygon(object.coordinates,stream)},MultiPolygon:function(object,stream){var coordinates=object.coordinates,i=-1,n=coordinates.length;while(++i<n)streamPolygon(coordinates[i],stream)},GeometryCollection:function(object,stream){var geometries=object.geometries,i=-1,n=geometries.length;while(++i<n)streamGeometry(geometries[i],stream)}};function streamLine(coordinates,stream,closed){var coordinate,i=-1,n=coordinates.length-closed;stream.lineStart();while(++i<n)coordinate=coordinates[i],stream.point(coordinate[0],coordinate[1],coordinate[2]);stream.lineEnd()}function streamPolygon(coordinates,stream){var i=-1,n=coordinates.length;stream.polygonStart();while(++i<n)streamLine(coordinates[i],stream,1);stream.polygonEnd()}function geoStream(object,stream){object&&streamObjectType.hasOwnProperty(object.type)?streamObjectType[object.type](object,stream):streamGeometry(object,stream)}var areaRingSum=adder();var lambda00,phi00,lambda0,cosPhi0,sinPhi0,areaSum=adder();var areaStream={point:noop$3,lineStart:noop$3,lineEnd:noop$3,polygonStart:function(){areaRingSum.reset();areaStream.lineStart=areaRingStart;areaStream.lineEnd=areaRingEnd},polygonEnd:function(){var areaRing=+areaRingSum;areaSum.add(areaRing<0?tau$4+areaRing:areaRing);this.lineStart=this.lineEnd=this.point=noop$3},sphere:function(){areaSum.add(tau$4)}};function areaRingStart(){areaStream.point=areaPointFirst}function areaRingEnd(){areaPoint(lambda00,phi00)}function areaPointFirst(lambda,phi){areaStream.point=areaPoint;lambda00=lambda,phi00=phi;lambda*=radians,phi*=radians;lambda0=lambda,cosPhi0=cos$1(phi=phi/2+quarterPi),sinPhi0=sin$1(phi)}function areaPoint(lambda,phi){lambda*=radians,phi*=radians;phi=phi/2+quarterPi;var dLambda=lambda-lambda0,sdLambda=dLambda>=0?1:-1,adLambda=sdLambda*dLambda,cosPhi=cos$1(phi),sinPhi=sin$1(phi),k=sinPhi0*sinPhi,u=cosPhi0*cosPhi+k*cos$1(adLambda),v=k*sdLambda*sin$1(adLambda);areaRingSum.add(atan2$1(v,u));lambda0=lambda,cosPhi0=cosPhi,sinPhi0=sinPhi}function area$4(object){areaSum.reset();geoStream(object,areaStream);return 2*areaSum}function spherical(cartesian){return[atan2$1(cartesian[1],cartesian[0]),asin$1(cartesian[2])]}function cartesian(spherical){var lambda=spherical[0],phi=spherical[1],cosPhi=cos$1(phi);return[cosPhi*cos$1(lambda),cosPhi*sin$1(lambda),sin$1(phi)]}function cartesianDot(a,b){return a[0]*b[0]+a[1]*b[1]+a[2]*b[2]}function cartesianCross(a,b){return[a[1]*b[2]-a[2]*b[1],a[2]*b[0]-a[0]*b[2],a[0]*b[1]-a[1]*b[0]]}function cartesianAddInPlace(a,b){a[0]+=b[0],a[1]+=b[1],a[2]+=b[2]}function cartesianScale(vector,k){return[vector[0]*k,vector[1]*k,vector[2]*k]}function cartesianNormalizeInPlace(d){var l=sqrt$2(d[0]*d[0]+d[1]*d[1]+d[2]*d[2]);d[0]/=l,d[1]/=l,d[2]/=l}var lambda0$1,phi0,lambda1,phi1,lambda2,lambda00$1,phi00$1,p0,ranges,range$1,deltaSum=adder();var boundsStream={point:boundsPoint,lineStart:boundsLineStart,lineEnd:boundsLineEnd,polygonStart:function(){boundsStream.point=boundsRingPoint;boundsStream.lineStart=boundsRingStart;boundsStream.lineEnd=boundsRingEnd;deltaSum.reset();areaStream.polygonStart()},polygonEnd:function(){areaStream.polygonEnd();boundsStream.point=boundsPoint;boundsStream.lineStart=boundsLineStart;boundsStream.lineEnd=boundsLineEnd;areaRingSum<0?(lambda0$1=-(lambda1=180),phi0=-(phi1=90)):deltaSum>epsilon$2?phi1=90:deltaSum<-epsilon$2&&(phi0=-90);range$1[0]=lambda0$1,range$1[1]=lambda1}};function boundsPoint(lambda,phi){ranges.push(range$1=[lambda0$1=lambda,lambda1=lambda]);phi<phi0&&(phi0=phi);phi>phi1&&(phi1=phi)}function linePoint(lambda,phi){var p=cartesian([lambda*radians,phi*radians]);if(p0){var normal=cartesianCross(p0,p),equatorial=[normal[1],-normal[0],0],inflection=cartesianCross(equatorial,normal);cartesianNormalizeInPlace(inflection);inflection=spherical(inflection);var phii,delta=lambda-lambda2,sign=delta>0?1:-1,lambdai=inflection[0]*degrees$1*sign,antimeridian=abs$1(delta)>180;if(antimeridian^(sign*lambda2<lambdai&&lambdai<sign*lambda)){phii=inflection[1]*degrees$1;phii>phi1&&(phi1=phii)}else if(lambdai=(lambdai+360)%360-180,antimeridian^(sign*lambda2<lambdai&&lambdai<sign*lambda)){phii=-inflection[1]*degrees$1;phii<phi0&&(phi0=phii)}else{phi<phi0&&(phi0=phi);phi>phi1&&(phi1=phi)}if(antimeridian)lambda<lambda2?angle(lambda0$1,lambda)>angle(lambda0$1,lambda1)&&(lambda1=lambda):angle(lambda,lambda1)>angle(lambda0$1,lambda1)&&(lambda0$1=lambda);else if(lambda1>=lambda0$1){lambda<lambda0$1&&(lambda0$1=lambda);lambda>lambda1&&(lambda1=lambda)}else lambda>lambda2?angle(lambda0$1,lambda)>angle(lambda0$1,lambda1)&&(lambda1=lambda):angle(lambda,lambda1)>angle(lambda0$1,lambda1)&&(lambda0$1=lambda)}else ranges.push(range$1=[lambda0$1=lambda,lambda1=lambda]);phi<phi0&&(phi0=phi);phi>phi1&&(phi1=phi);p0=p,lambda2=lambda}function boundsLineStart(){boundsStream.point=linePoint}function boundsLineEnd(){range$1[0]=lambda0$1,range$1[1]=lambda1;boundsStream.point=boundsPoint;p0=null}function boundsRingPoint(lambda,phi){if(p0){var delta=lambda-lambda2;deltaSum.add(abs$1(delta)>180?delta+(delta>0?360:-360):delta)}else lambda00$1=lambda,phi00$1=phi;areaStream.point(lambda,phi);linePoint(lambda,phi)}function boundsRingStart(){areaStream.lineStart()}function boundsRingEnd(){boundsRingPoint(lambda00$1,phi00$1);areaStream.lineEnd();abs$1(deltaSum)>epsilon$2&&(lambda0$1=-(lambda1=180));range$1[0]=lambda0$1,range$1[1]=lambda1;p0=null}function angle(lambda0,lambda1){return(lambda1-=lambda0)<0?lambda1+360:lambda1}function rangeCompare(a,b){return a[0]-b[0]}function rangeContains(range,x){return range[0]<=range[1]?range[0]<=x&&x<=range[1]:x<range[0]||range[1]<x}function bounds$1(feature){var i,n,a,b,merged,deltaMax,delta;phi1=lambda1=-(lambda0$1=phi0=Infinity);ranges=[];geoStream(feature,boundsStream);if(n=ranges.length){ranges.sort(rangeCompare);for(i=1,a=ranges[0],merged=[a];i<n;++i){b=ranges[i];if(rangeContains(a,b[0])||rangeContains(a,b[1])){angle(a[0],b[1])>angle(a[0],a[1])&&(a[1]=b[1]);angle(b[0],a[1])>angle(a[0],a[1])&&(a[0]=b[0])}else merged.push(a=b)}for(deltaMax=-Infinity,n=merged.length-1,i=0,a=merged[n];i<=n;a=b,++i){b=merged[i];(delta=angle(a[1],b[0]))>deltaMax&&(deltaMax=delta,lambda0$1=b[0],lambda1=a[1])}}ranges=range$1=null;return Infinity===lambda0$1||Infinity===phi0?[[NaN,NaN],[NaN,NaN]]:[[lambda0$1,phi0],[lambda1,phi1]]}var W0,W1,X0,Y0,Z0,X1,Y1,Z1,X2,Y2,Z2,lambda00$2,phi00$2,x0,y0,z0;var centroidStream={sphere:noop$3,point:centroidPoint,lineStart:centroidLineStart,lineEnd:centroidLineEnd,polygonStart:function(){centroidStream.lineStart=centroidRingStart;centroidStream.lineEnd=centroidRingEnd},polygonEnd:function(){centroidStream.lineStart=centroidLineStart;centroidStream.lineEnd=centroidLineEnd}};function centroidPoint(lambda,phi){lambda*=radians,phi*=radians;var cosPhi=cos$1(phi);centroidPointCartesian(cosPhi*cos$1(lambda),cosPhi*sin$1(lambda),sin$1(phi))}function centroidPointCartesian(x,y,z){++W0;X0+=(x-X0)/W0;Y0+=(y-Y0)/W0;Z0+=(z-Z0)/W0}function centroidLineStart(){centroidStream.point=centroidLinePointFirst}function centroidLinePointFirst(lambda,phi){lambda*=radians,phi*=radians;var cosPhi=cos$1(phi);x0=cosPhi*cos$1(lambda);y0=cosPhi*sin$1(lambda);z0=sin$1(phi);centroidStream.point=centroidLinePoint;centroidPointCartesian(x0,y0,z0)}function centroidLinePoint(lambda,phi){lambda*=radians,phi*=radians;var cosPhi=cos$1(phi),x=cosPhi*cos$1(lambda),y=cosPhi*sin$1(lambda),z=sin$1(phi),w=atan2$1(sqrt$2((w=y0*z-z0*y)*w+(w=z0*x-x0*z)*w+(w=x0*y-y0*x)*w),x0*x+y0*y+z0*z);W1+=w;X1+=w*(x0+(x0=x));Y1+=w*(y0+(y0=y));Z1+=w*(z0+(z0=z));centroidPointCartesian(x0,y0,z0)}function centroidLineEnd(){centroidStream.point=centroidPoint}function centroidRingStart(){centroidStream.point=centroidRingPointFirst}function centroidRingEnd(){centroidRingPoint(lambda00$2,phi00$2);centroidStream.point=centroidPoint}function centroidRingPointFirst(lambda,phi){lambda00$2=lambda,phi00$2=phi;lambda*=radians,phi*=radians;centroidStream.point=centroidRingPoint;var cosPhi=cos$1(phi);x0=cosPhi*cos$1(lambda);y0=cosPhi*sin$1(lambda);z0=sin$1(phi);centroidPointCartesian(x0,y0,z0)}function centroidRingPoint(lambda,phi){lambda*=radians,phi*=radians;var cosPhi=cos$1(phi),x=cosPhi*cos$1(lambda),y=cosPhi*sin$1(lambda),z=sin$1(phi),cx=y0*z-z0*y,cy=z0*x-x0*z,cz=x0*y-y0*x,m=sqrt$2(cx*cx+cy*cy+cz*cz),w=asin$1(m),v=m&&-w/m;X2+=v*cx;Y2+=v*cy;Z2+=v*cz;W1+=w;X1+=w*(x0+(x0=x));Y1+=w*(y0+(y0=y));Z1+=w*(z0+(z0=z));centroidPointCartesian(x0,y0,z0)}function centroid(object){W0=W1=X0=Y0=Z0=X1=Y1=Z1=X2=Y2=Z2=0;geoStream(object,centroidStream);var x=X2,y=Y2,z=Z2,m=x*x+y*y+z*z;if(m<epsilon2$1){x=X1,y=Y1,z=Z1;W1<epsilon$2&&(x=X0,y=Y0,z=Z0);m=x*x+y*y+z*z;if(m<epsilon2$1)return[NaN,NaN]}return[atan2$1(y,x)*degrees$1,asin$1(z/sqrt$2(m))*degrees$1]}function compose(a,b){function compose(x,y){return x=a(x,y),b(x[0],x[1])}a.invert&&b.invert&&(compose.invert=function(x,y){return x=b.invert(x,y),x&&a.invert(x[0],x[1])});return compose}function rotationIdentity(lambda,phi){return[lambda>pi$3?lambda-tau$4:lambda<-pi$3?lambda+tau$4:lambda,phi]}rotationIdentity.invert=rotationIdentity;function rotateRadians(deltaLambda,deltaPhi,deltaGamma){return(deltaLambda%=tau$4)?deltaPhi||deltaGamma?compose(rotationLambda(deltaLambda),rotationPhiGamma(deltaPhi,deltaGamma)):rotationLambda(deltaLambda):deltaPhi||deltaGamma?rotationPhiGamma(deltaPhi,deltaGamma):rotationIdentity}function forwardRotationLambda(deltaLambda){return function(lambda,phi){return lambda+=deltaLambda,[lambda>pi$3?lambda-tau$4:lambda<-pi$3?lambda+tau$4:lambda,phi]}}function rotationLambda(deltaLambda){var rotation=forwardRotationLambda(deltaLambda);rotation.invert=forwardRotationLambda(-deltaLambda);return rotation}function rotationPhiGamma(deltaPhi,deltaGamma){var cosDeltaPhi=cos$1(deltaPhi),sinDeltaPhi=sin$1(deltaPhi),cosDeltaGamma=cos$1(deltaGamma),sinDeltaGamma=sin$1(deltaGamma);function rotation(lambda,phi){var cosPhi=cos$1(phi),x=cos$1(lambda)*cosPhi,y=sin$1(lambda)*cosPhi,z=sin$1(phi),k=z*cosDeltaPhi+x*sinDeltaPhi;return[atan2$1(y*cosDeltaGamma-k*sinDeltaGamma,x*cosDeltaPhi-z*sinDeltaPhi),asin$1(k*cosDeltaGamma+y*sinDeltaGamma)]}rotation.invert=function(lambda,phi){var cosPhi=cos$1(phi),x=cos$1(lambda)*cosPhi,y=sin$1(lambda)*cosPhi,z=sin$1(phi),k=z*cosDeltaGamma-y*sinDeltaGamma;return[atan2$1(y*cosDeltaGamma+z*sinDeltaGamma,x*cosDeltaPhi+k*sinDeltaPhi),asin$1(k*cosDeltaPhi-x*sinDeltaPhi)]};return rotation}function rotation(rotate){rotate=rotateRadians(rotate[0]*radians,rotate[1]*radians,rotate.length>2?rotate[2]*radians:0);function forward(coordinates){coordinates=rotate(coordinates[0]*radians,coordinates[1]*radians);return coordinates[0]*=degrees$1,coordinates[1]*=degrees$1,coordinates}forward.invert=function(coordinates){coordinates=rotate.invert(coordinates[0]*radians,coordinates[1]*radians);return coordinates[0]*=degrees$1,coordinates[1]*=degrees$1,coordinates};return forward}function circleStream(stream,radius,delta,direction,t0,t1){if(!delta)return;var cosRadius=cos$1(radius),sinRadius=sin$1(radius),step=direction*delta;if(null==t0){t0=radius+direction*tau$4;t1=radius-step/2}else{t0=circleRadius(cosRadius,t0);t1=circleRadius(cosRadius,t1);(direction>0?t0<t1:t0>t1)&&(t0+=direction*tau$4)}for(var point,t=t0;direction>0?t>t1:t<t1;t-=step){point=spherical([cosRadius,-sinRadius*cos$1(t),-sinRadius*sin$1(t)]);stream.point(point[0],point[1])}}function circleRadius(cosRadius,point){point=cartesian(point),point[0]-=cosRadius;cartesianNormalizeInPlace(point);var radius=acos$1(-point[1]);return((-point[2]<0?-radius:radius)+tau$4-epsilon$2)%tau$4}function clipBuffer(){var line,lines=[];return{point:function(x,y){line.push([x,y])},lineStart:function(){lines.push(line=[])},lineEnd:noop$3,rejoin:function(){lines.length>1&&lines.push(lines.pop().concat(lines.shift()))},result:function(){var result=lines;lines=[];line=null;return result}}}function pointEqual(a,b){return abs$1(a[0]-b[0])<epsilon$2&&abs$1(a[1]-b[1])<epsilon$2}function Intersection(point,points,other,entry){this.x=point;this.z=points;this.o=other;this.e=entry;this.v=false;this.n=this.p=null}function clipRejoin(segments,compareIntersection,startInside,interpolate,stream){var i,n,subject=[],clip=[];segments.forEach(function(segment){if((n=segment.length-1)<=0)return;var n,x,p0=segment[0],p1=segment[n];if(pointEqual(p0,p1)){stream.lineStart();for(i=0;i<n;++i)stream.point((p0=segment[i])[0],p0[1]);stream.lineEnd();return}subject.push(x=new Intersection(p0,segment,null,true));clip.push(x.o=new Intersection(p0,null,x,false));subject.push(x=new Intersection(p1,segment,null,false));clip.push(x.o=new Intersection(p1,null,x,true))});if(!subject.length)return;clip.sort(compareIntersection);link$1(subject);link$1(clip);for(i=0,n=clip.length;i<n;++i)clip[i].e=startInside=!startInside;var points,point,start=subject[0];while(1){var current=start,isSubject=true;while(current.v)if((current=current.n)===start)return;points=current.z;stream.lineStart();do{current.v=current.o.v=true;if(current.e){if(isSubject)for(i=0,n=points.length;i<n;++i)stream.point((point=points[i])[0],point[1]);else interpolate(current.x,current.n.x,1,stream);current=current.n}else{if(isSubject){points=current.p.z;for(i=points.length-1;i>=0;--i)stream.point((point=points[i])[0],point[1])}else interpolate(current.x,current.p.x,-1,stream);current=current.p}current=current.o;points=current.z;isSubject=!isSubject}while(!current.v);stream.lineEnd()}}function link$1(array){if(!(n=array.length))return;var n,b,i=0,a=array[0];while(++i<n){a.n=b=array[i];b.p=a;a=b}a.n=b=array[0];b.p=a}var sum$2=adder();function polygonContains(polygon,point){var lambda=point[0],phi=point[1],sinPhi=sin$1(phi),normal=[sin$1(lambda),-cos$1(lambda),0],angle=0,winding=0;sum$2.reset();1===sinPhi?phi=halfPi$2+epsilon$2:-1===sinPhi&&(phi=-halfPi$2-epsilon$2);for(var i=0,n=polygon.length;i<n;++i){if(!(m=(ring=polygon[i]).length))continue;var ring,m,point0=ring[m-1],lambda0=point0[0],phi0=point0[1]/2+quarterPi,sinPhi0=sin$1(phi0),cosPhi0=cos$1(phi0);for(var j=0;j<m;++j,lambda0=lambda1,sinPhi0=sinPhi1,cosPhi0=cosPhi1,point0=point1){var point1=ring[j],lambda1=point1[0],phi1=point1[1]/2+quarterPi,sinPhi1=sin$1(phi1),cosPhi1=cos$1(phi1),delta=lambda1-lambda0,sign=delta>=0?1:-1,absDelta=sign*delta,antimeridian=absDelta>pi$3,k=sinPhi0*sinPhi1;sum$2.add(atan2$1(k*sign*sin$1(absDelta),cosPhi0*cosPhi1+k*cos$1(absDelta)));angle+=antimeridian?delta+sign*tau$4:delta;if(antimeridian^lambda0>=lambda^lambda1>=lambda){var arc=cartesianCross(cartesian(point0),cartesian(point1));cartesianNormalizeInPlace(arc);var intersection=cartesianCross(normal,arc);cartesianNormalizeInPlace(intersection);var phiArc=(antimeridian^delta>=0?-1:1)*asin$1(intersection[2]);(phi>phiArc||phi===phiArc&&(arc[0]||arc[1]))&&(winding+=antimeridian^delta>=0?1:-1)}}}return(angle<-epsilon$2||angle<epsilon$2&&sum$2<-epsilon$2)^1&winding}function clip$2(pointVisible,clipLine,interpolate,start){return function(sink){var polygon,segments,ring,line=clipLine(sink),ringBuffer=clipBuffer(),ringSink=clipLine(ringBuffer),polygonStarted=false;var clip={point:point,lineStart:lineStart,lineEnd:lineEnd,polygonStart:function(){clip.point=pointRing;clip.lineStart=ringStart;clip.lineEnd=ringEnd;segments=[];polygon=[]},polygonEnd:function(){clip.point=point;clip.lineStart=lineStart;clip.lineEnd=lineEnd;segments=merge$2(segments);var startInside=polygonContains(polygon,start);if(segments.length){polygonStarted||(sink.polygonStart(),polygonStarted=true);clipRejoin(segments,compareIntersection,startInside,interpolate,sink)}else if(startInside){polygonStarted||(sink.polygonStart(),polygonStarted=true);sink.lineStart();interpolate(null,null,1,sink);sink.lineEnd()}polygonStarted&&(sink.polygonEnd(),polygonStarted=false);segments=polygon=null},sphere:function(){sink.polygonStart();sink.lineStart();interpolate(null,null,1,sink);sink.lineEnd();sink.polygonEnd()}};function point(lambda,phi){pointVisible(lambda,phi)&&sink.point(lambda,phi)}function pointLine(lambda,phi){line.point(lambda,phi)}function lineStart(){clip.point=pointLine;line.lineStart()}function lineEnd(){clip.point=point;line.lineEnd()}function pointRing(lambda,phi){ring.push([lambda,phi]);ringSink.point(lambda,phi)}function ringStart(){ringSink.lineStart();ring=[]}function ringEnd(){pointRing(ring[0][0],ring[0][1]);ringSink.lineEnd();var i,m,segment,point,clean=ringSink.clean(),ringSegments=ringBuffer.result(),n=ringSegments.length;ring.pop();polygon.push(ring);ring=null;if(!n)return;if(1&clean){segment=ringSegments[0];if((m=segment.length-1)>0){polygonStarted||(sink.polygonStart(),polygonStarted=true);sink.lineStart();for(i=0;i<m;++i)sink.point((point=segment[i])[0],point[1]);sink.lineEnd()}return}n>1&&2&clean&&ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));segments.push(ringSegments.filter(validSegment))}return clip}}function validSegment(segment){return segment.length>1}function compareIntersection(a,b){return((a=a.x)[0]<0?a[1]-halfPi$2-epsilon$2:halfPi$2-a[1])-((b=b.x)[0]<0?b[1]-halfPi$2-epsilon$2:halfPi$2-b[1])}var clipAntimeridian=clip$2(function(){return true},clipAntimeridianLine,clipAntimeridianInterpolate,[-pi$3,-halfPi$2]);function clipAntimeridianLine(stream){var clean,lambda0=NaN,phi0=NaN,sign0=NaN;return{lineStart:function(){stream.lineStart();clean=1},point:function(lambda1,phi1){var sign1=lambda1>0?pi$3:-pi$3,delta=abs$1(lambda1-lambda0);if(abs$1(delta-pi$3)<epsilon$2){stream.point(lambda0,phi0=(phi0+phi1)/2>0?halfPi$2:-halfPi$2);stream.point(sign0,phi0);stream.lineEnd();stream.lineStart();stream.point(sign1,phi0);stream.point(lambda1,phi0);clean=0}else if(sign0!==sign1&&delta>=pi$3){abs$1(lambda0-sign0)<epsilon$2&&(lambda0-=sign0*epsilon$2);abs$1(lambda1-sign1)<epsilon$2&&(lambda1-=sign1*epsilon$2);phi0=clipAntimeridianIntersect(lambda0,phi0,lambda1,phi1);stream.point(sign0,phi0);stream.lineEnd();stream.lineStart();stream.point(sign1,phi0);clean=0}stream.point(lambda0=lambda1,phi0=phi1);sign0=sign1},lineEnd:function(){stream.lineEnd();lambda0=phi0=NaN},clean:function(){return 2-clean}}}function clipAntimeridianIntersect(lambda0,phi0,lambda1,phi1){var cosPhi0,cosPhi1,sinLambda0Lambda1=sin$1(lambda0-lambda1);return abs$1(sinLambda0Lambda1)>epsilon$2?atan((sin$1(phi0)*(cosPhi1=cos$1(phi1))*sin$1(lambda1)-sin$1(phi1)*(cosPhi0=cos$1(phi0))*sin$1(lambda0))/(cosPhi0*cosPhi1*sinLambda0Lambda1)):(phi0+phi1)/2}function clipAntimeridianInterpolate(from,to,direction,stream){var phi;if(null==from){phi=direction*halfPi$2;stream.point(-pi$3,phi);stream.point(0,phi);stream.point(pi$3,phi);stream.point(pi$3,0);stream.point(pi$3,-phi);stream.point(0,-phi);stream.point(-pi$3,-phi);stream.point(-pi$3,0);stream.point(-pi$3,phi)}else if(abs$1(from[0]-to[0])>epsilon$2){var lambda=from[0]<to[0]?pi$3:-pi$3;phi=direction*lambda/2;stream.point(-lambda,phi);stream.point(0,phi);stream.point(lambda,phi)}else stream.point(to[0],to[1])}function clipCircle(radius){var cr=cos$1(radius),delta=6*radians,smallRadius=cr>0,notHemisphere=abs$1(cr)>epsilon$2;function interpolate(from,to,direction,stream){circleStream(stream,radius,delta,direction,from,to)}function visible(lambda,phi){return cos$1(lambda)*cos$1(phi)>cr}function clipLine(stream){var point0,c0,v0,v00,clean;return{lineStart:function(){v00=v0=false;clean=1},point:function(lambda,phi){var point2,point1=[lambda,phi],v=visible(lambda,phi),c=smallRadius?v?0:code(lambda,phi):v?code(lambda+(lambda<0?pi$3:-pi$3),phi):0;!point0&&(v00=v0=v)&&stream.lineStart();if(v!==v0){point2=intersect(point0,point1);if(!point2||pointEqual(point0,point2)||pointEqual(point1,point2)){point1[0]+=epsilon$2;point1[1]+=epsilon$2;v=visible(point1[0],point1[1])}}if(v!==v0){clean=0;if(v){stream.lineStart();point2=intersect(point1,point0);stream.point(point2[0],point2[1])}else{point2=intersect(point0,point1);stream.point(point2[0],point2[1]);stream.lineEnd()}point0=point2}else if(notHemisphere&&point0&&smallRadius^v){var t;if(!(c&c0)&&(t=intersect(point1,point0,true))){clean=0;if(smallRadius){stream.lineStart();stream.point(t[0][0],t[0][1]);stream.point(t[1][0],t[1][1]);stream.lineEnd()}else{stream.point(t[1][0],t[1][1]);stream.lineEnd();stream.lineStart();stream.point(t[0][0],t[0][1])}}}!v||point0&&pointEqual(point0,point1)||stream.point(point1[0],point1[1]);point0=point1,v0=v,c0=c},lineEnd:function(){v0&&stream.lineEnd();point0=null},clean:function(){return clean|(v00&&v0)<<1}}}function intersect(a,b,two){var pa=cartesian(a),pb=cartesian(b);var n1=[1,0,0],n2=cartesianCross(pa,pb),n2n2=cartesianDot(n2,n2),n1n2=n2[0],determinant=n2n2-n1n2*n1n2;if(!determinant)return!two&&a;var c1=cr*n2n2/determinant,c2=-cr*n1n2/determinant,n1xn2=cartesianCross(n1,n2),A=cartesianScale(n1,c1),B=cartesianScale(n2,c2);cartesianAddInPlace(A,B);var u=n1xn2,w=cartesianDot(A,u),uu=cartesianDot(u,u),t2=w*w-uu*(cartesianDot(A,A)-1);if(t2<0)return;var t=sqrt$2(t2),q=cartesianScale(u,(-w-t)/uu);cartesianAddInPlace(q,A);q=spherical(q);if(!two)return q;var z,lambda0=a[0],lambda1=b[0],phi0=a[1],phi1=b[1];lambda1<lambda0&&(z=lambda0,lambda0=lambda1,lambda1=z);var delta=lambda1-lambda0,polar=abs$1(delta-pi$3)<epsilon$2,meridian=polar||delta<epsilon$2;!polar&&phi1<phi0&&(z=phi0,phi0=phi1,phi1=z);if(meridian?polar?phi0+phi1>0^q[1]<(abs$1(q[0]-lambda0)<epsilon$2?phi0:phi1):phi0<=q[1]&&q[1]<=phi1:delta>pi$3^(lambda0<=q[0]&&q[0]<=lambda1)){var q1=cartesianScale(u,(-w+t)/uu);cartesianAddInPlace(q1,A);return[q,spherical(q1)]}}function code(lambda,phi){var r=smallRadius?radius:pi$3-radius,code=0;lambda<-r?code|=1:lambda>r&&(code|=2);phi<-r?code|=4:phi>r&&(code|=8);return code}return clip$2(visible,clipLine,interpolate,smallRadius?[0,-radius]:[-pi$3,radius-pi$3])}function clipLine(a,b,x0,y0,x1,y1){var r,ax=a[0],ay=a[1],bx=b[0],by=b[1],t0=0,t1=1,dx=bx-ax,dy=by-ay;r=x0-ax;if(!dx&&r>0)return;r/=dx;if(dx<0){if(r<t0)return;r<t1&&(t1=r)}else if(dx>0){if(r>t1)return;r>t0&&(t0=r)}r=x1-ax;if(!dx&&r<0)return;r/=dx;if(dx<0){if(r>t1)return;r>t0&&(t0=r)}else if(dx>0){if(r<t0)return;r<t1&&(t1=r)}r=y0-ay;if(!dy&&r>0)return;r/=dy;if(dy<0){if(r<t0)return;r<t1&&(t1=r)}else if(dy>0){if(r>t1)return;r>t0&&(t0=r)}r=y1-ay;if(!dy&&r<0)return;r/=dy;if(dy<0){if(r>t1)return;r>t0&&(t0=r)}else if(dy>0){if(r<t0)return;r<t1&&(t1=r)}t0>0&&(a[0]=ax+t0*dx,a[1]=ay+t0*dy);t1<1&&(b[0]=ax+t1*dx,b[1]=ay+t1*dy);return true}var clipMax=1e9,clipMin=-clipMax;function clipRectangle(x0,y0,x1,y1){function visible(x,y){return x0<=x&&x<=x1&&y0<=y&&y<=y1}function interpolate(from,to,direction,stream){var a=0,a1=0;if(null==from||(a=corner(from,direction))!==(a1=corner(to,direction))||comparePoint(from,to)<0^direction>0)do{stream.point(0===a||3===a?x0:x1,a>1?y1:y0)}while((a=(a+direction+4)%4)!==a1);else stream.point(to[0],to[1])}function corner(p,direction){return abs$1(p[0]-x0)<epsilon$2?direction>0?0:3:abs$1(p[0]-x1)<epsilon$2?direction>0?2:1:abs$1(p[1]-y0)<epsilon$2?direction>0?1:0:direction>0?3:2}function compareIntersection(a,b){return comparePoint(a.x,b.x)}function comparePoint(a,b){var ca=corner(a,1),cb=corner(b,1);return ca!==cb?ca-cb:0===ca?b[1]-a[1]:1===ca?a[0]-b[0]:2===ca?a[1]-b[1]:b[0]-a[0]}return function(stream){var segments,polygon,ring,x__,y__,v__,x_,y_,v_,first,clean,activeStream=stream,bufferStream=clipBuffer();var clipStream={point:point,lineStart:lineStart,lineEnd:lineEnd,polygonStart:polygonStart,polygonEnd:polygonEnd};function point(x,y){visible(x,y)&&activeStream.point(x,y)}function polygonInside(){var winding=0;for(var i=0,n=polygon.length;i<n;++i)for(var a0,a1,ring=polygon[i],j=1,m=ring.length,point=ring[0],b0=point[0],b1=point[1];j<m;++j){a0=b0,a1=b1,point=ring[j],b0=point[0],b1=point[1];a1<=y1?b1>y1&&(b0-a0)*(y1-a1)>(b1-a1)*(x0-a0)&&++winding:b1<=y1&&(b0-a0)*(y1-a1)<(b1-a1)*(x0-a0)&&--winding}return winding}function polygonStart(){activeStream=bufferStream,segments=[],polygon=[],clean=true}function polygonEnd(){var startInside=polygonInside(),cleanInside=clean&&startInside,visible=(segments=merge$2(segments)).length;if(cleanInside||visible){stream.polygonStart();if(cleanInside){stream.lineStart();interpolate(null,null,1,stream);stream.lineEnd()}visible&&clipRejoin(segments,compareIntersection,startInside,interpolate,stream);stream.polygonEnd()}activeStream=stream,segments=polygon=ring=null}function lineStart(){clipStream.point=linePoint;polygon&&polygon.push(ring=[]);first=true;v_=false;x_=y_=NaN}function lineEnd(){if(segments){linePoint(x__,y__);v__&&v_&&bufferStream.rejoin();segments.push(bufferStream.result())}clipStream.point=point;v_&&activeStream.lineEnd()}function linePoint(x,y){var v=visible(x,y);polygon&&ring.push([x,y]);if(first){x__=x,y__=y,v__=v;first=false;if(v){activeStream.lineStart();activeStream.point(x,y)}}else if(v&&v_)activeStream.point(x,y);else{var a=[x_=Math.max(clipMin,Math.min(clipMax,x_)),y_=Math.max(clipMin,Math.min(clipMax,y_))],b=[x=Math.max(clipMin,Math.min(clipMax,x)),y=Math.max(clipMin,Math.min(clipMax,y))];if(clipLine(a,b,x0,y0,x1,y1)){if(!v_){activeStream.lineStart();activeStream.point(a[0],a[1])}activeStream.point(b[0],b[1]);v||activeStream.lineEnd();clean=false}else if(v){activeStream.lineStart();activeStream.point(x,y);clean=false}}x_=x,y_=y,v_=v}return clipStream}}adder();function graticuleX(y0,y1,dy){var y=range(y0,y1-epsilon$2,dy).concat(y1);return function(x){return y.map(function(y){return[x,y]})}}function graticuleY(x0,x1,dx){var x=range(x0,x1-epsilon$2,dx).concat(x1);return function(y){return x.map(function(x){return[x,y]})}}function graticule(){var x1,x0,X1,X0,y1,y0,Y1,Y0,x,y,X,Y,dx=10,dy=dx,DX=90,DY=360,precision=2.5;function graticule(){return{type:"MultiLineString",coordinates:lines()}}function lines(){return range(ceil(X0/DX)*DX,X1,DX).map(X).concat(range(ceil(Y0/DY)*DY,Y1,DY).map(Y)).concat(range(ceil(x0/dx)*dx,x1,dx).filter(function(x){return abs$1(x%DX)>epsilon$2}).map(x)).concat(range(ceil(y0/dy)*dy,y1,dy).filter(function(y){return abs$1(y%DY)>epsilon$2}).map(y))}graticule.lines=function(){return lines().map(function(coordinates){return{type:"LineString",coordinates:coordinates}})};graticule.outline=function(){return{type:"Polygon",coordinates:[X(X0).concat(Y(Y1).slice(1),X(X1).reverse().slice(1),Y(Y0).reverse().slice(1))]}};graticule.extent=function(_){if(!arguments.length)return graticule.extentMinor();return graticule.extentMajor(_).extentMinor(_)};graticule.extentMajor=function(_){if(!arguments.length)return[[X0,Y0],[X1,Y1]];X0=+_[0][0],X1=+_[1][0];Y0=+_[0][1],Y1=+_[1][1];X0>X1&&(_=X0,X0=X1,X1=_);Y0>Y1&&(_=Y0,Y0=Y1,Y1=_);return graticule.precision(precision)};graticule.extentMinor=function(_){if(!arguments.length)return[[x0,y0],[x1,y1]];x0=+_[0][0],x1=+_[1][0];y0=+_[0][1],y1=+_[1][1];x0>x1&&(_=x0,x0=x1,x1=_);y0>y1&&(_=y0,y0=y1,y1=_);return graticule.precision(precision)};graticule.step=function(_){if(!arguments.length)return graticule.stepMinor();return graticule.stepMajor(_).stepMinor(_)};graticule.stepMajor=function(_){if(!arguments.length)return[DX,DY];DX=+_[0],DY=+_[1];return graticule};graticule.stepMinor=function(_){if(!arguments.length)return[dx,dy];dx=+_[0],dy=+_[1];return graticule};graticule.precision=function(_){if(!arguments.length)return precision;precision=+_;x=graticuleX(y0,y1,90);y=graticuleY(x0,x1,precision);X=graticuleX(Y0,Y1,90);Y=graticuleY(X0,X1,precision);return graticule};return graticule.extentMajor([[-180,-90+epsilon$2],[180,90-epsilon$2]]).extentMinor([[-180,-80-epsilon$2],[180,80+epsilon$2]])}function identity$7(x){return x}var x00,y00,x0$1,y0$1,areaSum$1=adder(),areaRingSum$1=adder();var areaStream$1={point:noop$3,lineStart:noop$3,lineEnd:noop$3,polygonStart:function(){areaStream$1.lineStart=areaRingStart$1;areaStream$1.lineEnd=areaRingEnd$1},polygonEnd:function(){areaStream$1.lineStart=areaStream$1.lineEnd=areaStream$1.point=noop$3;areaSum$1.add(abs$1(areaRingSum$1));areaRingSum$1.reset()},result:function(){var area=areaSum$1/2;areaSum$1.reset();return area}};function areaRingStart$1(){areaStream$1.point=areaPointFirst$1}function areaPointFirst$1(x,y){areaStream$1.point=areaPoint$1;x00=x0$1=x,y00=y0$1=y}function areaPoint$1(x,y){areaRingSum$1.add(y0$1*x-x0$1*y);x0$1=x,y0$1=y}function areaRingEnd$1(){areaPoint$1(x00,y00)}var x0$2=Infinity,y0$2=x0$2,x1=-x0$2,y1=x1;var boundsStream$1={point:boundsPoint$1,lineStart:noop$3,lineEnd:noop$3,polygonStart:noop$3,polygonEnd:noop$3,result:function(){var bounds=[[x0$2,y0$2],[x1,y1]];x1=y1=-(y0$2=x0$2=Infinity);return bounds}};function boundsPoint$1(x,y){x<x0$2&&(x0$2=x);x>x1&&(x1=x);y<y0$2&&(y0$2=y);y>y1&&(y1=y)}var x00$1,y00$1,x0$3,y0$3,X0$1=0,Y0$1=0,Z0$1=0,X1$1=0,Y1$1=0,Z1$1=0,X2$1=0,Y2$1=0,Z2$1=0;var centroidStream$1={point:centroidPoint$1,lineStart:centroidLineStart$1,lineEnd:centroidLineEnd$1,polygonStart:function(){centroidStream$1.lineStart=centroidRingStart$1;centroidStream$1.lineEnd=centroidRingEnd$1},polygonEnd:function(){centroidStream$1.point=centroidPoint$1;centroidStream$1.lineStart=centroidLineStart$1;centroidStream$1.lineEnd=centroidLineEnd$1},result:function(){var centroid=Z2$1?[X2$1/Z2$1,Y2$1/Z2$1]:Z1$1?[X1$1/Z1$1,Y1$1/Z1$1]:Z0$1?[X0$1/Z0$1,Y0$1/Z0$1]:[NaN,NaN];X0$1=Y0$1=Z0$1=X1$1=Y1$1=Z1$1=X2$1=Y2$1=Z2$1=0;return centroid}};function centroidPoint$1(x,y){X0$1+=x;Y0$1+=y;++Z0$1}function centroidLineStart$1(){centroidStream$1.point=centroidPointFirstLine}function centroidPointFirstLine(x,y){centroidStream$1.point=centroidPointLine;centroidPoint$1(x0$3=x,y0$3=y)}function centroidPointLine(x,y){var dx=x-x0$3,dy=y-y0$3,z=sqrt$2(dx*dx+dy*dy);X1$1+=z*(x0$3+x)/2;Y1$1+=z*(y0$3+y)/2;Z1$1+=z;centroidPoint$1(x0$3=x,y0$3=y)}function centroidLineEnd$1(){centroidStream$1.point=centroidPoint$1}function centroidRingStart$1(){centroidStream$1.point=centroidPointFirstRing}function centroidRingEnd$1(){centroidPointRing(x00$1,y00$1)}function centroidPointFirstRing(x,y){centroidStream$1.point=centroidPointRing;centroidPoint$1(x00$1=x0$3=x,y00$1=y0$3=y)}function centroidPointRing(x,y){var dx=x-x0$3,dy=y-y0$3,z=sqrt$2(dx*dx+dy*dy);X1$1+=z*(x0$3+x)/2;Y1$1+=z*(y0$3+y)/2;Z1$1+=z;z=y0$3*x-x0$3*y;X2$1+=z*(x0$3+x);Y2$1+=z*(y0$3+y);Z2$1+=3*z;centroidPoint$1(x0$3=x,y0$3=y)}function PathContext(context){this._context=context}PathContext.prototype={_radius:4.5,pointRadius:function(_){return this._radius=_,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath();this._point=NaN},point:function(x,y){switch(this._point){case 0:this._context.moveTo(x,y);this._point=1;break;case 1:this._context.lineTo(x,y);break;default:this._context.moveTo(x+this._radius,y);this._context.arc(x,y,this._radius,0,tau$4)}},result:noop$3};var lengthRing,x00$2,y00$2,x0$4,y0$4,lengthSum$1=adder();var lengthStream$1={point:noop$3,lineStart:function(){lengthStream$1.point=lengthPointFirst$1},lineEnd:function(){lengthRing&&lengthPoint$1(x00$2,y00$2);lengthStream$1.point=noop$3},polygonStart:function(){lengthRing=true},polygonEnd:function(){lengthRing=null},result:function(){var length=+lengthSum$1;lengthSum$1.reset();return length}};function lengthPointFirst$1(x,y){lengthStream$1.point=lengthPoint$1;x00$2=x0$4=x,y00$2=y0$4=y}function lengthPoint$1(x,y){x0$4-=x,y0$4-=y;lengthSum$1.add(sqrt$2(x0$4*x0$4+y0$4*y0$4));x0$4=x,y0$4=y}function PathString(){this._string=[]}PathString.prototype={_radius:4.5,_circle:circle$2(4.5),pointRadius:function(_){(_=+_)!==this._radius&&(this._radius=_,this._circle=null);return this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z");this._point=NaN},point:function(x,y){switch(this._point){case 0:this._string.push("M",x,",",y);this._point=1;break;case 1:this._string.push("L",x,",",y);break;default:null==this._circle&&(this._circle=circle$2(this._radius));this._string.push("M",x,",",y,this._circle)}},result:function(){if(this._string.length){var result=this._string.join("");this._string=[];return result}return null}};function circle$2(radius){return"m0,"+radius+"a"+radius+","+radius+" 0 1,1 0,"+-2*radius+"a"+radius+","+radius+" 0 1,1 0,"+2*radius+"z"}function geoPath(projection,context){var projectionStream,contextStream,pointRadius=4.5;function path(object){if(object){"function"===typeof pointRadius&&contextStream.pointRadius(+pointRadius.apply(this,arguments));geoStream(object,projectionStream(contextStream))}return contextStream.result()}path.area=function(object){geoStream(object,projectionStream(areaStream$1));return areaStream$1.result()};path.measure=function(object){geoStream(object,projectionStream(lengthStream$1));return lengthStream$1.result()};path.bounds=function(object){geoStream(object,projectionStream(boundsStream$1));return boundsStream$1.result()};path.centroid=function(object){geoStream(object,projectionStream(centroidStream$1));return centroidStream$1.result()};path.projection=function(_){return arguments.length?(projectionStream=null==_?(projection=null,identity$7):(projection=_).stream,path):projection};path.context=function(_){if(!arguments.length)return context;contextStream=null==_?(context=null,new PathString):new PathContext(context=_);"function"!==typeof pointRadius&&contextStream.pointRadius(pointRadius);return path};path.pointRadius=function(_){if(!arguments.length)return pointRadius;pointRadius="function"===typeof _?_:(contextStream.pointRadius(+_),+_);return path};return path.projection(projection).context(context)}function transformer(methods){return function(stream){var s=new TransformStream;for(var key in methods)s[key]=methods[key];s.stream=stream;return s}}function TransformStream(){}TransformStream.prototype={constructor:TransformStream,point:function(x,y){this.stream.point(x,y)},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()}};function fit(projection,fitBounds,object){var clip=projection.clipExtent&&projection.clipExtent();projection.scale(150).translate([0,0]);null!=clip&&projection.clipExtent(null);geoStream(object,projection.stream(boundsStream$1));fitBounds(boundsStream$1.result());null!=clip&&projection.clipExtent(clip);return projection}function fitExtent(projection,extent,object){return fit(projection,function(b){var w=extent[1][0]-extent[0][0],h=extent[1][1]-extent[0][1],k=Math.min(w/(b[1][0]-b[0][0]),h/(b[1][1]-b[0][1])),x=+extent[0][0]+(w-k*(b[1][0]+b[0][0]))/2,y=+extent[0][1]+(h-k*(b[1][1]+b[0][1]))/2;projection.scale(150*k).translate([x,y])},object)}function fitSize(projection,size,object){return fitExtent(projection,[[0,0],size],object)}function fitWidth(projection,width,object){return fit(projection,function(b){var w=+width,k=w/(b[1][0]-b[0][0]),x=(w-k*(b[1][0]+b[0][0]))/2,y=-k*b[0][1];projection.scale(150*k).translate([x,y])},object)}function fitHeight(projection,height,object){return fit(projection,function(b){var h=+height,k=h/(b[1][1]-b[0][1]),x=-k*b[0][0],y=(h-k*(b[1][1]+b[0][1]))/2;projection.scale(150*k).translate([x,y])},object)}var maxDepth=16,cosMinDistance=cos$1(30*radians);function resample(project,delta2){return+delta2?resample$1(project,delta2):resampleNone(project)}function resampleNone(project){return transformer({point:function(x,y){x=project(x,y);this.stream.point(x[0],x[1])}})}function resample$1(project,delta2){function resampleLineTo(x0,y0,lambda0,a0,b0,c0,x1,y1,lambda1,a1,b1,c1,depth,stream){var dx=x1-x0,dy=y1-y0,d2=dx*dx+dy*dy;if(d2>4*delta2&&depth--){var a=a0+a1,b=b0+b1,c=c0+c1,m=sqrt$2(a*a+b*b+c*c),phi2=asin$1(c/=m),lambda2=abs$1(abs$1(c)-1)<epsilon$2||abs$1(lambda0-lambda1)<epsilon$2?(lambda0+lambda1)/2:atan2$1(b,a),p=project(lambda2,phi2),x2=p[0],y2=p[1],dx2=x2-x0,dy2=y2-y0,dz=dy*dx2-dx*dy2;if(dz*dz/d2>delta2||abs$1((dx*dx2+dy*dy2)/d2-.5)>.3||a0*a1+b0*b1+c0*c1<cosMinDistance){resampleLineTo(x0,y0,lambda0,a0,b0,c0,x2,y2,lambda2,a/=m,b/=m,c,depth,stream);stream.point(x2,y2);resampleLineTo(x2,y2,lambda2,a,b,c,x1,y1,lambda1,a1,b1,c1,depth,stream)}}}return function(stream){var lambda00,x00,y00,a00,b00,c00,lambda0,x0,y0,a0,b0,c0;var resampleStream={point:point,lineStart:lineStart,lineEnd:lineEnd,polygonStart:function(){stream.polygonStart();resampleStream.lineStart=ringStart},polygonEnd:function(){stream.polygonEnd();resampleStream.lineStart=lineStart}};function point(x,y){x=project(x,y);stream.point(x[0],x[1])}function lineStart(){x0=NaN;resampleStream.point=linePoint;stream.lineStart()}function linePoint(lambda,phi){var c=cartesian([lambda,phi]),p=project(lambda,phi);resampleLineTo(x0,y0,lambda0,a0,b0,c0,x0=p[0],y0=p[1],lambda0=lambda,a0=c[0],b0=c[1],c0=c[2],maxDepth,stream);stream.point(x0,y0)}function lineEnd(){resampleStream.point=point;stream.lineEnd()}function ringStart(){lineStart();resampleStream.point=ringPoint;resampleStream.lineEnd=ringEnd}function ringPoint(lambda,phi){linePoint(lambda00=lambda,phi),x00=x0,y00=y0,a00=a0,b00=b0,c00=c0;resampleStream.point=linePoint}function ringEnd(){resampleLineTo(x0,y0,lambda0,a0,b0,c0,x00,y00,lambda00,a00,b00,c00,maxDepth,stream);resampleStream.lineEnd=lineEnd;lineEnd()}return resampleStream}}var transformRadians=transformer({point:function(x,y){this.stream.point(x*radians,y*radians)}});function transformRotate(rotate){return transformer({point:function(x,y){var r=rotate(x,y);return this.stream.point(r[0],r[1])}})}function scaleTranslate(k,dx,dy){function transform(x,y){return[dx+k*x,dy-k*y]}transform.invert=function(x,y){return[(x-dx)/k,(dy-y)/k]};return transform}function scaleTranslateRotate(k,dx,dy,alpha){var cosAlpha=cos$1(alpha),sinAlpha=sin$1(alpha),a=cosAlpha*k,b=sinAlpha*k,ai=cosAlpha/k,bi=sinAlpha/k,ci=(sinAlpha*dy-cosAlpha*dx)/k,fi=(sinAlpha*dx+cosAlpha*dy)/k;function transform(x,y){return[a*x-b*y+dx,dy-b*x-a*y]}transform.invert=function(x,y){return[ai*x-bi*y+ci,fi-bi*x-ai*y]};return transform}function projection(project){return projectionMutator(function(){return project})()}function projectionMutator(projectAt){var project,rotate,y0,x1,y1,projectResample,projectTransform,projectRotateTransform,cache,cacheStream,k=150,x=480,y=250,lambda=0,phi=0,deltaLambda=0,deltaPhi=0,deltaGamma=0,alpha=0,theta=null,preclip=clipAntimeridian,x0=null,postclip=identity$7,delta2=.5;function projection(point){return projectRotateTransform(point[0]*radians,point[1]*radians)}function invert(point){point=projectRotateTransform.invert(point[0],point[1]);return point&&[point[0]*degrees$1,point[1]*degrees$1]}projection.stream=function(stream){return cache&&cacheStream===stream?cache:cache=transformRadians(transformRotate(rotate)(preclip(projectResample(postclip(cacheStream=stream)))))};projection.preclip=function(_){return arguments.length?(preclip=_,theta=void 0,reset()):preclip};projection.postclip=function(_){return arguments.length?(postclip=_,x0=y0=x1=y1=null,reset()):postclip};projection.clipAngle=function(_){return arguments.length?(preclip=+_?clipCircle(theta=_*radians):(theta=null,clipAntimeridian),reset()):theta*degrees$1};projection.clipExtent=function(_){return arguments.length?(postclip=null==_?(x0=y0=x1=y1=null,identity$7):clipRectangle(x0=+_[0][0],y0=+_[0][1],x1=+_[1][0],y1=+_[1][1]),reset()):null==x0?null:[[x0,y0],[x1,y1]]};projection.scale=function(_){return arguments.length?(k=+_,recenter()):k};projection.translate=function(_){return arguments.length?(x=+_[0],y=+_[1],recenter()):[x,y]};projection.center=function(_){return arguments.length?(lambda=_[0]%360*radians,phi=_[1]%360*radians,recenter()):[lambda*degrees$1,phi*degrees$1]};projection.rotate=function(_){return arguments.length?(deltaLambda=_[0]%360*radians,deltaPhi=_[1]%360*radians,deltaGamma=_.length>2?_[2]%360*radians:0,recenter()):[deltaLambda*degrees$1,deltaPhi*degrees$1,deltaGamma*degrees$1]};projection.angle=function(_){return arguments.length?(alpha=_%360*radians,recenter()):alpha*degrees$1};projection.precision=function(_){return arguments.length?(projectResample=resample(projectTransform,delta2=_*_),reset()):sqrt$2(delta2)};projection.fitExtent=function(extent,object){return fitExtent(projection,extent,object)};projection.fitSize=function(size,object){return fitSize(projection,size,object)};projection.fitWidth=function(width,object){return fitWidth(projection,width,object)};projection.fitHeight=function(height,object){return fitHeight(projection,height,object)};function recenter(){var center=scaleTranslateRotate(k,0,0,alpha).apply(null,project(lambda,phi)),transform=(alpha?scaleTranslateRotate:scaleTranslate)(k,x-center[0],y-center[1],alpha);rotate=rotateRadians(deltaLambda,deltaPhi,deltaGamma);projectTransform=compose(project,transform);projectRotateTransform=compose(rotate,projectTransform);projectResample=resample(projectTransform,delta2);return reset()}function reset(){cache=cacheStream=null;return projection}return function(){project=projectAt.apply(this,arguments);projection.invert=project.invert&&invert;return recenter()}}function conicProjection(projectAt){var phi0=0,phi1=pi$3/3,m=projectionMutator(projectAt),p=m(phi0,phi1);p.parallels=function(_){return arguments.length?m(phi0=_[0]*radians,phi1=_[1]*radians):[phi0*degrees$1,phi1*degrees$1]};return p}function cylindricalEqualAreaRaw(phi0){var cosPhi0=cos$1(phi0);function forward(lambda,phi){return[lambda*cosPhi0,sin$1(phi)/cosPhi0]}forward.invert=function(x,y){return[x/cosPhi0,asin$1(y*cosPhi0)]};return forward}function conicEqualAreaRaw(y0,y1){var sy0=sin$1(y0),n=(sy0+sin$1(y1))/2;if(abs$1(n)<epsilon$2)return cylindricalEqualAreaRaw(y0);var c=1+sy0*(2*n-sy0),r0=sqrt$2(c)/n;function project(x,y){var r=sqrt$2(c-2*n*sin$1(y))/n;return[r*sin$1(x*=n),r0-r*cos$1(x)]}project.invert=function(x,y){var r0y=r0-y;return[atan2$1(x,abs$1(r0y))/n*sign$1(r0y),asin$1((c-(x*x+r0y*r0y)*n*n)/(2*n))]};return project}function conicEqualArea(){return conicProjection(conicEqualAreaRaw).scale(155.424).center([0,33.6442])}function albers(){return conicEqualArea().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function multiplex(streams){var n=streams.length;return{point:function(x,y){var i=-1;while(++i<n)streams[i].point(x,y)},sphere:function(){var i=-1;while(++i<n)streams[i].sphere()},lineStart:function(){var i=-1;while(++i<n)streams[i].lineStart()},lineEnd:function(){var i=-1;while(++i<n)streams[i].lineEnd()},polygonStart:function(){var i=-1;while(++i<n)streams[i].polygonStart()},polygonEnd:function(){var i=-1;while(++i<n)streams[i].polygonEnd()}}}function geoAlbersUsa(){var cache,cacheStream,lower48Point,alaskaPoint,hawaiiPoint,point,lower48=albers(),alaska=conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),hawaii=conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),pointStream={point:function(x,y){point=[x,y]}};function albersUsa(coordinates){var x=coordinates[0],y=coordinates[1];return point=null,(lower48Point.point(x,y),point)||(alaskaPoint.point(x,y),point)||(hawaiiPoint.point(x,y),point)}albersUsa.invert=function(coordinates){var k=lower48.scale(),t=lower48.translate(),x=(coordinates[0]-t[0])/k,y=(coordinates[1]-t[1])/k;return(y>=.12&&y<.234&&x>=-.425&&x<-.214?alaska:y>=.166&&y<.234&&x>=-.214&&x<-.115?hawaii:lower48).invert(coordinates)};albersUsa.stream=function(stream){return cache&&cacheStream===stream?cache:cache=multiplex([lower48.stream(cacheStream=stream),alaska.stream(stream),hawaii.stream(stream)])};albersUsa.precision=function(_){if(!arguments.length)return lower48.precision();lower48.precision(_),alaska.precision(_),hawaii.precision(_);return reset()};albersUsa.scale=function(_){if(!arguments.length)return lower48.scale();lower48.scale(_),alaska.scale(.35*_),hawaii.scale(_);return albersUsa.translate(lower48.translate())};albersUsa.translate=function(_){if(!arguments.length)return lower48.translate();var k=lower48.scale(),x=+_[0],y=+_[1];lower48Point=lower48.translate(_).clipExtent([[x-.455*k,y-.238*k],[x+.455*k,y+.238*k]]).stream(pointStream);alaskaPoint=alaska.translate([x-.307*k,y+.201*k]).clipExtent([[x-.425*k+epsilon$2,y+.12*k+epsilon$2],[x-.214*k-epsilon$2,y+.234*k-epsilon$2]]).stream(pointStream);hawaiiPoint=hawaii.translate([x-.205*k,y+.212*k]).clipExtent([[x-.214*k+epsilon$2,y+.166*k+epsilon$2],[x-.115*k-epsilon$2,y+.234*k-epsilon$2]]).stream(pointStream);return reset()};albersUsa.fitExtent=function(extent,object){return fitExtent(albersUsa,extent,object)};albersUsa.fitSize=function(size,object){return fitSize(albersUsa,size,object)};albersUsa.fitWidth=function(width,object){return fitWidth(albersUsa,width,object)};albersUsa.fitHeight=function(height,object){return fitHeight(albersUsa,height,object)};function reset(){cache=cacheStream=null;return albersUsa}return albersUsa.scale(1070)}function azimuthalRaw(scale){return function(x,y){var cx=cos$1(x),cy=cos$1(y),k=scale(cx*cy);return[k*cy*sin$1(x),k*sin$1(y)]}}function azimuthalInvert(angle){return function(x,y){var z=sqrt$2(x*x+y*y),c=angle(z),sc=sin$1(c),cc=cos$1(c);return[atan2$1(x*sc,z*cc),asin$1(z&&y*sc/z)]}}var azimuthalEqualAreaRaw=azimuthalRaw(function(cxcy){return sqrt$2(2/(1+cxcy))});azimuthalEqualAreaRaw.invert=azimuthalInvert(function(z){return 2*asin$1(z/2)});function geoAzimuthalEqualArea(){return projection(azimuthalEqualAreaRaw).scale(124.75).clipAngle(179.999)}var azimuthalEquidistantRaw=azimuthalRaw(function(c){return(c=acos$1(c))&&c/sin$1(c)});azimuthalEquidistantRaw.invert=azimuthalInvert(function(z){return z});function geoAzimuthalEquidistant(){return projection(azimuthalEquidistantRaw).scale(79.4188).clipAngle(179.999)}function mercatorRaw(lambda,phi){return[lambda,log$3(tan((halfPi$2+phi)/2))]}mercatorRaw.invert=function(x,y){return[x,2*atan(exp$1(y))-halfPi$2]};function geoMercator(){return mercatorProjection(mercatorRaw).scale(961/tau$4)}function mercatorProjection(project){var y0,x1,y1,m=projection(project),center=m.center,scale=m.scale,translate=m.translate,clipExtent=m.clipExtent,x0=null;m.scale=function(_){return arguments.length?(scale(_),reclip()):scale()};m.translate=function(_){return arguments.length?(translate(_),reclip()):translate()};m.center=function(_){return arguments.length?(center(_),reclip()):center()};m.clipExtent=function(_){return arguments.length?(null==_?x0=y0=x1=y1=null:(x0=+_[0][0],y0=+_[0][1],x1=+_[1][0],y1=+_[1][1]),reclip()):null==x0?null:[[x0,y0],[x1,y1]]};function reclip(){var k=pi$3*scale(),t=m(rotation(m.rotate()).invert([0,0]));return clipExtent(null==x0?[[t[0]-k,t[1]-k],[t[0]+k,t[1]+k]]:project===mercatorRaw?[[Math.max(t[0]-k,x0),y0],[Math.min(t[0]+k,x1),y1]]:[[x0,Math.max(t[1]-k,y0)],[x1,Math.min(t[1]+k,y1)]])}return reclip()}function tany(y){return tan((halfPi$2+y)/2)}function conicConformalRaw(y0,y1){var cy0=cos$1(y0),n=y0===y1?sin$1(y0):log$3(cy0/cos$1(y1))/log$3(tany(y1)/tany(y0)),f=cy0*pow$2(tany(y0),n)/n;if(!n)return mercatorRaw;function project(x,y){f>0?y<-halfPi$2+epsilon$2&&(y=-halfPi$2+epsilon$2):y>halfPi$2-epsilon$2&&(y=halfPi$2-epsilon$2);var r=f/pow$2(tany(y),n);return[r*sin$1(n*x),f-r*cos$1(n*x)]}project.invert=function(x,y){var fy=f-y,r=sign$1(n)*sqrt$2(x*x+fy*fy);return[atan2$1(x,abs$1(fy))/n*sign$1(fy),2*atan(pow$2(f/r,1/n))-halfPi$2]};return project}function geoConicConformal(){return conicProjection(conicConformalRaw).scale(109.5).parallels([30,30])}function equirectangularRaw(lambda,phi){return[lambda,phi]}equirectangularRaw.invert=equirectangularRaw;function geoEquirectangular(){return projection(equirectangularRaw).scale(152.63)}function conicEquidistantRaw(y0,y1){var cy0=cos$1(y0),n=y0===y1?sin$1(y0):(cy0-cos$1(y1))/(y1-y0),g=cy0/n+y0;if(abs$1(n)<epsilon$2)return equirectangularRaw;function project(x,y){var gy=g-y,nx=n*x;return[gy*sin$1(nx),g-gy*cos$1(nx)]}project.invert=function(x,y){var gy=g-y;return[atan2$1(x,abs$1(gy))/n*sign$1(gy),g-sign$1(n)*sqrt$2(x*x+gy*gy)]};return project}function geoConicEquidistant(){return conicProjection(conicEquidistantRaw).scale(131.154).center([0,13.9389])}function gnomonicRaw(x,y){var cy=cos$1(y),k=cos$1(x)*cy;return[cy*sin$1(x)/k,sin$1(y)/k]}gnomonicRaw.invert=azimuthalInvert(atan);function geoGnomonic(){return projection(gnomonicRaw).scale(144.049).clipAngle(60)}function scaleTranslate$1(kx,ky,tx,ty){return 1===kx&&1===ky&&0===tx&&0===ty?identity$7:transformer({point:function(x,y){this.stream.point(x*kx+tx,y*ky+ty)}})}function geoIdentity(){var y0,x1,y1,cache,cacheStream,projection,k=1,tx=0,ty=0,sx=1,sy=1,transform=identity$7,x0=null,postclip=identity$7;function reset(){cache=cacheStream=null;return projection}return projection={stream:function(stream){return cache&&cacheStream===stream?cache:cache=transform(postclip(cacheStream=stream))},postclip:function(_){return arguments.length?(postclip=_,x0=y0=x1=y1=null,reset()):postclip},clipExtent:function(_){return arguments.length?(postclip=null==_?(x0=y0=x1=y1=null,identity$7):clipRectangle(x0=+_[0][0],y0=+_[0][1],x1=+_[1][0],y1=+_[1][1]),reset()):null==x0?null:[[x0,y0],[x1,y1]]},scale:function(_){return arguments.length?(transform=scaleTranslate$1((k=+_)*sx,k*sy,tx,ty),reset()):k},translate:function(_){return arguments.length?(transform=scaleTranslate$1(k*sx,k*sy,tx=+_[0],ty=+_[1]),reset()):[tx,ty]},reflectX:function(_){return arguments.length?(transform=scaleTranslate$1(k*(sx=_?-1:1),k*sy,tx,ty),reset()):sx<0},reflectY:function(_){return arguments.length?(transform=scaleTranslate$1(k*sx,k*(sy=_?-1:1),tx,ty),reset()):sy<0},fitExtent:function(extent,object){return fitExtent(projection,extent,object)},fitSize:function(size,object){return fitSize(projection,size,object)},fitWidth:function(width,object){return fitWidth(projection,width,object)},fitHeight:function(height,object){return fitHeight(projection,height,object)}}}function naturalEarth1Raw(lambda,phi){var phi2=phi*phi,phi4=phi2*phi2;return[lambda*(.8707-.131979*phi2+phi4*(phi4*(.003971*phi2-.001529*phi4)-.013791)),phi*(1.007226+phi2*(.015085+phi4*(.028874*phi2-.044475-.005916*phi4)))]}naturalEarth1Raw.invert=function(x,y){var delta,phi=y,i=25;do{var phi2=phi*phi,phi4=phi2*phi2;phi-=delta=(phi*(1.007226+phi2*(.015085+phi4*(.028874*phi2-.044475-.005916*phi4)))-y)/(1.007226+phi2*(.045255+phi4*(.259866*phi2-.311325-.005916*11*phi4)))}while(abs$1(delta)>epsilon$2&&--i>0);return[x/(.8707+(phi2=phi*phi)*(phi2*(phi2*phi2*phi2*(.003971-.001529*phi2)-.013791)-.131979)),phi]};function geoNaturalEarth1(){return projection(naturalEarth1Raw).scale(175.295)}function orthographicRaw(x,y){return[cos$1(y)*sin$1(x),sin$1(y)]}orthographicRaw.invert=azimuthalInvert(asin$1);function geoOrthographic(){return projection(orthographicRaw).scale(249.5).clipAngle(90+epsilon$2)}function stereographicRaw(x,y){var cy=cos$1(y),k=1+cos$1(x)*cy;return[cy*sin$1(x)/k,sin$1(y)/k]}stereographicRaw.invert=azimuthalInvert(function(z){return 2*atan(z)});function geoStereographic(){return projection(stereographicRaw).scale(250).clipAngle(142)}function transverseMercatorRaw(lambda,phi){return[log$3(tan((halfPi$2+phi)/2)),-lambda]}transverseMercatorRaw.invert=function(x,y){return[-y,2*atan(exp$1(x))-halfPi$2]};function geoTransverseMercator(){var m=mercatorProjection(transverseMercatorRaw),center=m.center,rotate=m.rotate;m.center=function(_){return arguments.length?center([-_[1],_[0]]):(_=center(),[_[1],-_[0]])};m.rotate=function(_){return arguments.length?rotate([_[0],_[1],_.length>2?_[2]+90:90]):(_=rotate(),[_[0],_[1],_[2]-90])};return rotate([0,0,90]).scale(159.155)}var defaultPath=geoPath();var projectionProperties=["clipAngle","clipExtent","scale","translate","center","rotate","parallels","precision","reflectX","reflectY","coefficient","distance","fraction","lobes","parallel","radius","ratio","spacing","tilt"];function create$1(type,constructor){return function projection$$1(){var p=constructor();p.type=type;p.path=geoPath().projection(p);p.copy=p.copy||function(){var c=projection$$1();projectionProperties.forEach(function(prop){p.hasOwnProperty(prop)&&c[prop](p[prop]())});c.path.pointRadius(p.path.pointRadius());return c};return p}}function projection$1(type,proj){if(!type||"string"!==typeof type)throw new Error("Projection type must be a name string.");type=type.toLowerCase();if(arguments.length>1){projections[type]=create$1(type,proj);return this}return projections.hasOwnProperty(type)?projections[type]:null}function getProjectionPath(proj){return proj&&proj.path||defaultPath}var projections={albers:albers,albersusa:geoAlbersUsa,azimuthalequalarea:geoAzimuthalEqualArea,azimuthalequidistant:geoAzimuthalEquidistant,conicconformal:geoConicConformal,conicequalarea:conicEqualArea,conicequidistant:geoConicEquidistant,equirectangular:geoEquirectangular,gnomonic:geoGnomonic,identity:geoIdentity,mercator:geoMercator,naturalEarth1:geoNaturalEarth1,orthographic:geoOrthographic,stereographic:geoStereographic,transversemercator:geoTransverseMercator};for(var key$2 in projections)projection$1(key$2,projections[key$2]);function GeoPath(params){Transform.call(this,null,params)}GeoPath.Definition={type:"GeoPath",metadata:{modifies:true},params:[{name:"projection",type:"projection"},{name:"field",type:"field"},{name:"pointRadius",type:"number",expr:true},{name:"as",type:"string",default:"path"}]};var prototype$13=inherits(GeoPath,Transform);prototype$13.transform=function(_,pulse){var out=pulse.fork(pulse.ALL),path=this.value,field$$1=_.field||identity,as=_.as||"path",flag=out.SOURCE;function set(t){t[as]=path(field$$1(t))}if(!path||_.modified()){this.value=path=getProjectionPath(_.projection);out.materialize().reflow()}else flag=field$$1===identity||pulse.modified(field$$1.fields)?out.ADD_MOD:out.ADD;var prev=initPath(path,_.pointRadius);out.visit(flag,set);path.pointRadius(prev);return out.modifies(as)};function initPath(path,pointRadius){var prev=path.pointRadius();path.context(null);null!=pointRadius&&path.pointRadius(pointRadius);return prev}function GeoPoint(params){Transform.call(this,null,params)}GeoPoint.Definition={type:"GeoPoint",metadata:{modifies:true},params:[{name:"projection",type:"projection",required:true},{name:"fields",type:"field",array:true,required:true,length:2},{name:"as",type:"string",array:true,length:2,default:["x","y"]}]};var prototype$14=inherits(GeoPoint,Transform);prototype$14.transform=function(_,pulse){var mod,proj=_.projection,lon=_.fields[0],lat=_.fields[1],as=_.as||["x","y"],x=as[0],y=as[1];function set(t){var xy=proj([lon(t),lat(t)]);if(xy){t[x]=xy[0];t[y]=xy[1]}else{t[x]=void 0;t[y]=void 0}}if(_.modified())pulse=pulse.materialize().reflow(true).visit(pulse.SOURCE,set);else{mod=pulse.modified(lon.fields)||pulse.modified(lat.fields);pulse.visit(mod?pulse.ADD_MOD:pulse.ADD,set)}return pulse.modifies(as)};function GeoShape(params){Transform.call(this,null,params)}GeoShape.Definition={type:"GeoShape",metadata:{modifies:true},params:[{name:"projection",type:"projection"},{name:"field",type:"field",default:"datum"},{name:"pointRadius",type:"number",expr:true},{name:"as",type:"string",default:"shape"}]};var prototype$15=inherits(GeoShape,Transform);prototype$15.transform=function(_,pulse){var out=pulse.fork(pulse.ALL),shape=this.value,datum=_.field||field("datum"),as=_.as||"shape",flag=out.ADD_MOD;if(!shape||_.modified()){this.value=shape=shapeGenerator(getProjectionPath(_.projection),datum,_.pointRadius);out.materialize().reflow();flag=out.SOURCE}out.visit(flag,function(t){t[as]=shape});return out.modifies(as)};function shapeGenerator(path,field$$1,pointRadius){var shape=null==pointRadius?function(_){return path(field$$1(_))}:function(_){var prev=path.pointRadius(),value=path.pointRadius(pointRadius)(field$$1(_));path.pointRadius(prev);return value};shape.context=function(_){path.context(_);return shape};return shape}function Graticule(params){Transform.call(this,[],params);this.generator=graticule()}Graticule.Definition={type:"Graticule",metadata:{changes:true},params:[{name:"extent",type:"array",array:true,length:2,content:{type:"number",array:true,length:2}},{name:"extentMajor",type:"array",array:true,length:2,content:{type:"number",array:true,length:2}},{name:"extentMinor",type:"array",array:true,length:2,content:{type:"number",array:true,length:2}},{name:"step",type:"number",array:true,length:2},{name:"stepMajor",type:"number",array:true,length:2,default:[90,360]},{name:"stepMinor",type:"number",array:true,length:2,default:[10,10]},{name:"precision",type:"number",default:2.5}]};var prototype$16=inherits(Graticule,Transform);prototype$16.transform=function(_,pulse){var t,src=this.value,gen=this.generator;if(!src.length||_.modified())for(var prop in _)isFunction(gen[prop])&&gen[prop](_[prop]);t=gen();src.length?pulse.mod.push(replace(src[0],t)):pulse.add.push(ingest(t));src[0]=t;return pulse};function Projection(params){Transform.call(this,null,params);this.modified(true)}var prototype$17=inherits(Projection,Transform);prototype$17.transform=function(_,pulse){var proj=this.value;if(!proj||_.modified("type")){this.value=proj=create$2(_.type);projectionProperties.forEach(function(prop){null!=_[prop]&&set$2(proj,prop,_[prop])})}else projectionProperties.forEach(function(prop){_.modified(prop)&&set$2(proj,prop,_[prop])});null!=_.pointRadius&&proj.path.pointRadius(_.pointRadius);_.fit&&fit$1(proj,_);return pulse.fork(pulse.NO_SOURCE|pulse.NO_FIELDS)};function fit$1(proj,_){var data=collectGeoJSON(_.fit);_.extent?proj.fitExtent(_.extent,data):_.size?proj.fitSize(_.size,data):0}function create$2(type){var constructor=projection$1((type||"mercator").toLowerCase());constructor||error("Unrecognized projection type: "+type);return constructor()}function set$2(proj,key$$1,value){isFunction(proj[key$$1])&&proj[key$$1](value)}function collectGeoJSON(features){features=array(features);return 1===features.length?features[0]:{type:FeatureCollection,features:features.reduce(function(list,f){f&&f.type===FeatureCollection?list.push.apply(list,f.features):isArray(f)?list.push.apply(list,f):list.push(f);return list},[])}}var geo=Object.freeze({contour:Contour,geojson:GeoJSON,geopath:GeoPath,geopoint:GeoPoint,geoshape:GeoShape,graticule:Graticule,projection:Projection});function forceCenter(x,y){var nodes;null==x&&(x=0);null==y&&(y=0);function force(){var i,node,n=nodes.length,sx=0,sy=0;for(i=0;i<n;++i)node=nodes[i],sx+=node.x,sy+=node.y;for(sx=sx/n-x,sy=sy/n-y,i=0;i<n;++i)node=nodes[i],node.x-=sx,node.y-=sy}force.initialize=function(_){nodes=_};force.x=function(_){return arguments.length?(x=+_,force):x};force.y=function(_){return arguments.length?(y=+_,force):y};return force}function constant$8(x){return function(){return x}}function jiggle(){return 1e-6*(Math.random()-.5)}function tree_add(d){var x=+this._x.call(null,d),y=+this._y.call(null,d);return add$4(this.cover(x,y),x,y,d)}function add$4(tree,x,y,d){if(isNaN(x)||isNaN(y))return tree;var parent,xm,ym,xp,yp,right,bottom,i,j,node=tree._root,leaf={data:d},x0=tree._x0,y0=tree._y0,x1=tree._x1,y1=tree._y1;if(!node)return tree._root=leaf,tree;while(node.length){(right=x>=(xm=(x0+x1)/2))?x0=xm:x1=xm;(bottom=y>=(ym=(y0+y1)/2))?y0=ym:y1=ym;if(parent=node,!(node=node[i=bottom<<1|right]))return parent[i]=leaf,tree}xp=+tree._x.call(null,node.data);yp=+tree._y.call(null,node.data);if(x===xp&&y===yp)return leaf.next=node,parent?parent[i]=leaf:tree._root=leaf,tree;do{parent=parent?parent[i]=new Array(4):tree._root=new Array(4);(right=x>=(xm=(x0+x1)/2))?x0=xm:x1=xm;(bottom=y>=(ym=(y0+y1)/2))?y0=ym:y1=ym}while((i=bottom<<1|right)===(j=(yp>=ym)<<1|xp>=xm));return parent[j]=node,parent[i]=leaf,tree}function addAll$1(data){var d,i,x,y,n=data.length,xz=new Array(n),yz=new Array(n),x0=Infinity,y0=Infinity,x1=-Infinity,y1=-Infinity;for(i=0;i<n;++i){if(isNaN(x=+this._x.call(null,d=data[i]))||isNaN(y=+this._y.call(null,d)))continue;xz[i]=x;yz[i]=y;x<x0&&(x0=x);x>x1&&(x1=x);y<y0&&(y0=y);y>y1&&(y1=y)}x1<x0&&(x0=this._x0,x1=this._x1);y1<y0&&(y0=this._y0,y1=this._y1);this.cover(x0,y0).cover(x1,y1);for(i=0;i<n;++i)add$4(this,xz[i],yz[i],data[i]);return this}function tree_cover(x,y){if(isNaN(x=+x)||isNaN(y=+y))return this;var x0=this._x0,y0=this._y0,x1=this._x1,y1=this._y1;if(isNaN(x0)){x1=(x0=Math.floor(x))+1;y1=(y0=Math.floor(y))+1}else{if(!(x0>x||x>x1||y0>y||y>y1))return this;var parent,i,z=x1-x0,node=this._root;switch(i=(y<(y0+y1)/2)<<1|x<(x0+x1)/2){case 0:do{parent=new Array(4),parent[i]=node,node=parent}while(z*=2,x1=x0+z,y1=y0+z,x>x1||y>y1);break;case 1:do{parent=new Array(4),parent[i]=node,node=parent}while(z*=2,x0=x1-z,y1=y0+z,x0>x||y>y1);break;case 2:do{parent=new Array(4),parent[i]=node,node=parent}while(z*=2,x1=x0+z,y0=y1-z,x>x1||y0>y);break;case 3:do{parent=new Array(4),parent[i]=node,node=parent}while(z*=2,x0=x1-z,y0=y1-z,x0>x||y0>y)}this._root&&this._root.length&&(this._root=node)}this._x0=x0;this._y0=y0;this._x1=x1;this._y1=y1;return this}function tree_data(){var data=[];this.visit(function(node){if(!node.length)do{data.push(node.data)}while(node=node.next)});return data}function tree_extent(_){return arguments.length?this.cover(+_[0][0],+_[0][1]).cover(+_[1][0],+_[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function Quad(node,x0,y0,x1,y1){this.node=node;this.x0=x0;this.y0=y0;this.x1=x1;this.y1=y1}function tree_find(x,y,radius){var data,x1,y1,x2,y2,q,i,x0=this._x0,y0=this._y0,x3=this._x1,y3=this._y1,quads=[],node=this._root;node&&quads.push(new Quad(node,x0,y0,x3,y3));if(null==radius)radius=Infinity;else{x0=x-radius,y0=y-radius;x3=x+radius,y3=y+radius;radius*=radius}while(q=quads.pop()){if(!(node=q.node)||(x1=q.x0)>x3||(y1=q.y0)>y3||(x2=q.x1)<x0||(y2=q.y1)<y0)continue;if(node.length){var xm=(x1+x2)/2,ym=(y1+y2)/2;quads.push(new Quad(node[3],xm,ym,x2,y2),new Quad(node[2],x1,ym,xm,y2),new Quad(node[1],xm,y1,x2,ym),new Quad(node[0],x1,y1,xm,ym));if(i=(y>=ym)<<1|x>=xm){q=quads[quads.length-1];quads[quads.length-1]=quads[quads.length-1-i];quads[quads.length-1-i]=q}}else{var dx=x-+this._x.call(null,node.data),dy=y-+this._y.call(null,node.data),d2=dx*dx+dy*dy;if(d2<radius){var d=Math.sqrt(radius=d2);x0=x-d,y0=y-d;x3=x+d,y3=y+d;data=node.data}}}return data}function tree_remove(d){if(isNaN(x=+this._x.call(null,d))||isNaN(y=+this._y.call(null,d)))return this;var parent,retainer,previous,next,x,y,xm,ym,right,bottom,i,j,node=this._root,x0=this._x0,y0=this._y0,x1=this._x1,y1=this._y1;if(!node)return this;if(node.length)while(true){(right=x>=(xm=(x0+x1)/2))?x0=xm:x1=xm;(bottom=y>=(ym=(y0+y1)/2))?y0=ym:y1=ym;if(!(parent=node,node=node[i=bottom<<1|right]))return this;if(!node.length)break;(parent[i+1&3]||parent[i+2&3]||parent[i+3&3])&&(retainer=parent,j=i)}while(node.data!==d)if(!(previous=node,node=node.next))return this;(next=node.next)&&delete node.next;if(previous)return next?previous.next=next:delete previous.next,this;if(!parent)return this._root=next,this;next?parent[i]=next:delete parent[i];(node=parent[0]||parent[1]||parent[2]||parent[3])&&node===(parent[3]||parent[2]||parent[1]||parent[0])&&!node.length&&(retainer?retainer[j]=node:this._root=node);return this}function removeAll(data){for(var i=0,n=data.length;i<n;++i)this.remove(data[i]);return this}function tree_root(){return this._root}function tree_size(){var size=0;this.visit(function(node){if(!node.length)do{++size}while(node=node.next)});return size}function tree_visit(callback){var q,child,x0,y0,x1,y1,quads=[],node=this._root;node&&quads.push(new Quad(node,this._x0,this._y0,this._x1,this._y1));while(q=quads.pop())if(!callback(node=q.node,x0=q.x0,y0=q.y0,x1=q.x1,y1=q.y1)&&node.length){var xm=(x0+x1)/2,ym=(y0+y1)/2;(child=node[3])&&quads.push(new Quad(child,xm,ym,x1,y1));(child=node[2])&&quads.push(new Quad(child,x0,ym,xm,y1));(child=node[1])&&quads.push(new Quad(child,xm,y0,x1,ym));(child=node[0])&&quads.push(new Quad(child,x0,y0,xm,ym))}return this}function tree_visitAfter(callback){var q,quads=[],next=[];this._root&&quads.push(new Quad(this._root,this._x0,this._y0,this._x1,this._y1));while(q=quads.pop()){var node=q.node;if(node.length){var child,x0=q.x0,y0=q.y0,x1=q.x1,y1=q.y1,xm=(x0+x1)/2,ym=(y0+y1)/2;(child=node[0])&&quads.push(new Quad(child,x0,y0,xm,ym));(child=node[1])&&quads.push(new Quad(child,xm,y0,x1,ym));(child=node[2])&&quads.push(new Quad(child,x0,ym,xm,y1));(child=node[3])&&quads.push(new Quad(child,xm,ym,x1,y1))}next.push(q)}while(q=next.pop())callback(q.node,q.x0,q.y0,q.x1,q.y1);return this}function defaultX$1(d){return d[0]}function tree_x(_){return arguments.length?(this._x=_,this):this._x}function defaultY$1(d){return d[1]}function tree_y(_){return arguments.length?(this._y=_,this):this._y}function quadtree(nodes,x,y){var tree=new Quadtree(null==x?defaultX$1:x,null==y?defaultY$1:y,NaN,NaN,NaN,NaN);return null==nodes?tree:tree.addAll(nodes)}function Quadtree(x,y,x0,y0,x1,y1){this._x=x;this._y=y;this._x0=x0;this._y0=y0;this._x1=x1;this._y1=y1;this._root=void 0}function leaf_copy(leaf){var copy={data:leaf.data},next=copy;while(leaf=leaf.next)next=next.next={data:leaf.data};return copy}var treeProto=quadtree.prototype=Quadtree.prototype;treeProto.copy=function(){var nodes,child,copy=new Quadtree(this._x,this._y,this._x0,this._y0,this._x1,this._y1),node=this._root;if(!node)return copy;if(!node.length)return copy._root=leaf_copy(node),copy;nodes=[{source:node,target:copy._root=new Array(4)}];while(node=nodes.pop())for(var i=0;i<4;++i)(child=node.source[i])&&(child.length?nodes.push({source:child,target:node.target[i]=new Array(4)}):node.target[i]=leaf_copy(child));return copy};treeProto.add=tree_add;treeProto.addAll=addAll$1;treeProto.cover=tree_cover;treeProto.data=tree_data;treeProto.extent=tree_extent;treeProto.find=tree_find;treeProto.remove=tree_remove;treeProto.removeAll=removeAll;treeProto.root=tree_root;treeProto.size=tree_size;treeProto.visit=tree_visit;treeProto.visitAfter=tree_visitAfter;treeProto.x=tree_x;treeProto.y=tree_y;function x$2(d){return d.x+d.vx}function y$2(d){return d.y+d.vy}function forceCollide(radius){var nodes,radii,strength=1,iterations=1;"function"!==typeof radius&&(radius=constant$8(null==radius?1:+radius));function force(){var i,tree,node,xi,yi,ri,ri2,n=nodes.length;for(var k=0;k<iterations;++k){tree=quadtree(nodes,x$2,y$2).visitAfter(prepare);for(i=0;i<n;++i){node=nodes[i];ri=radii[node.index],ri2=ri*ri;xi=node.x+node.vx;yi=node.y+node.vy;tree.visit(apply)}}function apply(quad,x0,y0,x1,y1){var data=quad.data,rj=quad.r,r=ri+rj;if(data){if(data.index>node.index){var x=xi-data.x-data.vx,y=yi-data.y-data.vy,l=x*x+y*y;if(l<r*r){0===x&&(x=jiggle(),l+=x*x);0===y&&(y=jiggle(),l+=y*y);l=(r-(l=Math.sqrt(l)))/l*strength;node.vx+=(x*=l)*(r=(rj*=rj)/(ri2+rj));node.vy+=(y*=l)*r;data.vx-=x*(r=1-r);data.vy-=y*r}}return}return x0>xi+r||x1<xi-r||y0>yi+r||y1<yi-r}}function prepare(quad){if(quad.data)return quad.r=radii[quad.data.index];for(var i=quad.r=0;i<4;++i)quad[i]&&quad[i].r>quad.r&&(quad.r=quad[i].r)}function initialize(){if(!nodes)return;var i,node,n=nodes.length;radii=new Array(n);for(i=0;i<n;++i)node=nodes[i],radii[node.index]=+radius(node,i,nodes)}force.initialize=function(_){nodes=_;initialize()};force.iterations=function(_){return arguments.length?(iterations=+_,force):iterations};force.strength=function(_){return arguments.length?(strength=+_,force):strength};force.radius=function(_){return arguments.length?(radius="function"===typeof _?_:constant$8(+_),initialize(),force):radius};return force}function index(d){return d.index}function find(nodeById,nodeId){var node=nodeById.get(nodeId);if(!node)throw new Error("missing: "+nodeId);return node}function forceLink(links){var strengths,distances,nodes,count,bias,id=index,strength=defaultStrength,distance=constant$8(30),iterations=1;null==links&&(links=[]);function defaultStrength(link){return 1/Math.min(count[link.source.index],count[link.target.index])}function force(alpha){for(var k=0,n=links.length;k<iterations;++k)for(var link,source,target,x,y,l,b,i=0;i<n;++i){link=links[i],source=link.source,target=link.target;x=target.x+target.vx-source.x-source.vx||jiggle();y=target.y+target.vy-source.y-source.vy||jiggle();l=Math.sqrt(x*x+y*y);l=(l-distances[i])/l*alpha*strengths[i];x*=l,y*=l;target.vx-=x*(b=bias[i]);target.vy-=y*b;source.vx+=x*(b=1-b);source.vy+=y*b}}function initialize(){if(!nodes)return;var i,link,n=nodes.length,m=links.length,nodeById=map$1(nodes,id);for(i=0,count=new Array(n);i<m;++i){link=links[i],link.index=i;"object"!==typeof link.source&&(link.source=find(nodeById,link.source));"object"!==typeof link.target&&(link.target=find(nodeById,link.target));count[link.source.index]=(count[link.source.index]||0)+1;count[link.target.index]=(count[link.target.index]||0)+1}for(i=0,bias=new Array(m);i<m;++i)link=links[i],bias[i]=count[link.source.index]/(count[link.source.index]+count[link.target.index]);strengths=new Array(m),initializeStrength();distances=new Array(m),initializeDistance()}function initializeStrength(){if(!nodes)return;for(var i=0,n=links.length;i<n;++i)strengths[i]=+strength(links[i],i,links)}function initializeDistance(){if(!nodes)return;for(var i=0,n=links.length;i<n;++i)distances[i]=+distance(links[i],i,links)}force.initialize=function(_){nodes=_;initialize()};force.links=function(_){return arguments.length?(links=_,initialize(),force):links};force.id=function(_){return arguments.length?(id=_,force):id};force.iterations=function(_){return arguments.length?(iterations=+_,force):iterations};force.strength=function(_){return arguments.length?(strength="function"===typeof _?_:constant$8(+_),initializeStrength(),force):strength};force.distance=function(_){return arguments.length?(distance="function"===typeof _?_:constant$8(+_),initializeDistance(),force):distance};return force}var noop$4={value:function(){}};function dispatch(){for(var t,i=0,n=arguments.length,_={};i<n;++i){if(!(t=arguments[i]+"")||t in _)throw new Error("illegal type: "+t);_[t]=[]}return new Dispatch(_)}function Dispatch(_){this._=_}function parseTypenames(typenames,types){return typenames.trim().split(/^|\s+/).map(function(t){var name="",i=t.indexOf(".");i>=0&&(name=t.slice(i+1),t=t.slice(0,i));if(t&&!types.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:name}})}Dispatch.prototype=dispatch.prototype={constructor:Dispatch,on:function(typename,callback){var t,_=this._,T=parseTypenames(typename+"",_),i=-1,n=T.length;if(arguments.length<2){while(++i<n)if((t=(typename=T[i]).type)&&(t=get$2(_[t],typename.name)))return t;return}if(null!=callback&&"function"!==typeof callback)throw new Error("invalid callback: "+callback);while(++i<n)if(t=(typename=T[i]).type)_[t]=set$3(_[t],typename.name,callback);else if(null==callback)for(t in _)_[t]=set$3(_[t],typename.name,null);return this},copy:function(){var copy={},_=this._;for(var t in _)copy[t]=_[t].slice();return new Dispatch(copy)},call:function(type,that){if((n=arguments.length-2)>0)for(var n,t,args=new Array(n),i=0;i<n;++i)args[i]=arguments[i+2];if(!this._.hasOwnProperty(type))throw new Error("unknown type: "+type);for(t=this._[type],i=0,n=t.length;i<n;++i)t[i].value.apply(that,args)},apply:function(type,that,args){if(!this._.hasOwnProperty(type))throw new Error("unknown type: "+type);for(var t=this._[type],i=0,n=t.length;i<n;++i)t[i].value.apply(that,args)}};function get$2(type,name){for(var c,i=0,n=type.length;i<n;++i)if((c=type[i]).name===name)return c.value}function set$3(type,name,callback){for(var i=0,n=type.length;i<n;++i)if(type[i].name===name){type[i]=noop$4,type=type.slice(0,i).concat(type.slice(i+1));break}null!=callback&&type.push({name:name,value:callback});return type}var taskHead,taskTail,frame=0,timeout=0,interval=0,pokeDelay=1e3,clockLast=0,clockNow=0,clockSkew=0,clock="object"===typeof performance&&performance.now?performance:Date,setFrame="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(f){setTimeout(f,17)};function now(){return clockNow||(setFrame(clearNow),clockNow=clock.now()+clockSkew)}function clearNow(){clockNow=0}function Timer(){this._call=this._time=this._next=null}Timer.prototype=timer.prototype={constructor:Timer,restart:function(callback,delay,time){if("function"!==typeof callback)throw new TypeError("callback is not a function");time=(null==time?now():+time)+(null==delay?0:+delay);if(!this._next&&taskTail!==this){taskTail?taskTail._next=this:taskHead=this;taskTail=this}this._call=callback;this._time=time;sleep()},stop:function(){if(this._call){this._call=null;this._time=Infinity;sleep()}}};function timer(callback,delay,time){var t=new Timer;t.restart(callback,delay,time);return t}function timerFlush(){now();++frame;var e,t=taskHead;while(t){(e=clockNow-t._time)>=0&&t._call.call(null,e);t=t._next}--frame}function wake(){clockNow=(clockLast=clock.now())+clockSkew;frame=timeout=0;try{timerFlush()}finally{frame=0;nap();clockNow=0}}function poke(){var now=clock.now(),delay=now-clockLast;delay>pokeDelay&&(clockSkew-=delay,clockLast=now)}function nap(){var t0,t2,t1=taskHead,time=Infinity;while(t1)if(t1._call){time>t1._time&&(time=t1._time);t0=t1,t1=t1._next}else{t2=t1._next,t1._next=null;t1=t0?t0._next=t2:taskHead=t2}taskTail=t0;sleep(time)}function sleep(time){if(frame)return;timeout&&(timeout=clearTimeout(timeout));var delay=time-clockNow;if(delay>24){time<Infinity&&(timeout=setTimeout(wake,time-clock.now()-clockSkew));interval&&(interval=clearInterval(interval))}else{interval||(clockLast=clock.now(),interval=setInterval(poke,pokeDelay));frame=1,setFrame(wake)}}function interval$1(callback,delay,time){var t=new Timer,total=delay;if(null==delay)return t.restart(callback,delay,time),t;delay=+delay,time=null==time?now():+time;t.restart(function tick(elapsed){elapsed+=total;t.restart(tick,total+=delay,time);callback(elapsed)},delay,time);return t}function x$3(d){return d.x}function y$3(d){return d.y}var initialRadius=10,initialAngle=Math.PI*(3-Math.sqrt(5));function forceSimulation(nodes){var simulation,alpha=1,alphaMin=.001,alphaDecay=1-Math.pow(alphaMin,1/300),alphaTarget=0,velocityDecay=.6,forces=map$1(),stepper=timer(step),event=dispatch("tick","end");null==nodes&&(nodes=[]);function step(){tick();event.call("tick",simulation);if(alpha<alphaMin){stepper.stop();event.call("end",simulation)}}function tick(){var i,node,n=nodes.length;alpha+=(alphaTarget-alpha)*alphaDecay;forces.each(function(force){force(alpha)});for(i=0;i<n;++i){node=nodes[i];null==node.fx?node.x+=node.vx*=velocityDecay:(node.x=node.fx,node.vx=0);null==node.fy?node.y+=node.vy*=velocityDecay:(node.y=node.fy,node.vy=0)}}function initializeNodes(){for(var node,i=0,n=nodes.length;i<n;++i){node=nodes[i],node.index=i;if(isNaN(node.x)||isNaN(node.y)){var radius=initialRadius*Math.sqrt(i),angle=i*initialAngle;node.x=radius*Math.cos(angle);node.y=radius*Math.sin(angle)}(isNaN(node.vx)||isNaN(node.vy))&&(node.vx=node.vy=0)}}function initializeForce(force){force.initialize&&force.initialize(nodes);return force}initializeNodes();return simulation={tick:tick,restart:function(){return stepper.restart(step),simulation},stop:function(){return stepper.stop(),simulation},nodes:function(_){return arguments.length?(nodes=_,initializeNodes(),forces.each(initializeForce),simulation):nodes},alpha:function(_){return arguments.length?(alpha=+_,simulation):alpha},alphaMin:function(_){return arguments.length?(alphaMin=+_,simulation):alphaMin},alphaDecay:function(_){return arguments.length?(alphaDecay=+_,simulation):+alphaDecay},alphaTarget:function(_){return arguments.length?(alphaTarget=+_,simulation):alphaTarget},velocityDecay:function(_){return arguments.length?(velocityDecay=1-_,simulation):1-velocityDecay},force:function(name,_){return arguments.length>1?(null==_?forces.remove(name):forces.set(name,initializeForce(_)),simulation):forces.get(name)},find:function(x,y,radius){var dx,dy,d2,node,closest,i=0,n=nodes.length;null==radius?radius=Infinity:radius*=radius;for(i=0;i<n;++i){node=nodes[i];dx=x-node.x;dy=y-node.y;d2=dx*dx+dy*dy;d2<radius&&(closest=node,radius=d2)}return closest},on:function(name,_){return arguments.length>1?(event.on(name,_),simulation):event.on(name)}}}function forceManyBody(){var nodes,node,alpha,strengths,strength=constant$8(-30),distanceMin2=1,distanceMax2=Infinity,theta2=.81;function force(_){var i,n=nodes.length,tree=quadtree(nodes,x$3,y$3).visitAfter(accumulate);for(alpha=_,i=0;i<n;++i)node=nodes[i],tree.visit(apply)}function initialize(){if(!nodes)return;var i,node,n=nodes.length;strengths=new Array(n);for(i=0;i<n;++i)node=nodes[i],strengths[node.index]=+strength(node,i,nodes)}function accumulate(quad){var q,c,x,y,i,strength=0,weight=0;if(quad.length){for(x=y=i=0;i<4;++i)(q=quad[i])&&(c=Math.abs(q.value))&&(strength+=q.value,weight+=c,x+=c*q.x,y+=c*q.y);quad.x=x/weight;quad.y=y/weight}else{q=quad;q.x=q.data.x;q.y=q.data.y;do{strength+=strengths[q.data.index]}while(q=q.next)}quad.value=strength}function apply(quad,x1,_,x2){if(!quad.value)return true;var x=quad.x-node.x,y=quad.y-node.y,w=x2-x1,l=x*x+y*y;if(w*w/theta2<l){if(l<distanceMax2){0===x&&(x=jiggle(),l+=x*x);0===y&&(y=jiggle(),l+=y*y);l<distanceMin2&&(l=Math.sqrt(distanceMin2*l));node.vx+=x*quad.value*alpha/l;node.vy+=y*quad.value*alpha/l}return true}if(quad.length||l>=distanceMax2)return;if(quad.data!==node||quad.next){0===x&&(x=jiggle(),l+=x*x);0===y&&(y=jiggle(),l+=y*y);l<distanceMin2&&(l=Math.sqrt(distanceMin2*l))}do{if(quad.data!==node){w=strengths[quad.data.index]*alpha/l;node.vx+=x*w;node.vy+=y*w}}while(quad=quad.next)}force.initialize=function(_){nodes=_;initialize()};force.strength=function(_){return arguments.length?(strength="function"===typeof _?_:constant$8(+_),initialize(),force):strength};force.distanceMin=function(_){return arguments.length?(distanceMin2=_*_,force):Math.sqrt(distanceMin2)};force.distanceMax=function(_){return arguments.length?(distanceMax2=_*_,force):Math.sqrt(distanceMax2)};force.theta=function(_){return arguments.length?(theta2=_*_,force):Math.sqrt(theta2)};return force}function forceX(x){var nodes,strengths,xz,strength=constant$8(.1);"function"!==typeof x&&(x=constant$8(null==x?0:+x));function force(alpha){for(var node,i=0,n=nodes.length;i<n;++i)node=nodes[i],node.vx+=(xz[i]-node.x)*strengths[i]*alpha}function initialize(){if(!nodes)return;var i,n=nodes.length;strengths=new Array(n);xz=new Array(n);for(i=0;i<n;++i)strengths[i]=isNaN(xz[i]=+x(nodes[i],i,nodes))?0:+strength(nodes[i],i,nodes)}force.initialize=function(_){nodes=_;initialize()};force.strength=function(_){return arguments.length?(strength="function"===typeof _?_:constant$8(+_),initialize(),force):strength};force.x=function(_){return arguments.length?(x="function"===typeof _?_:constant$8(+_),initialize(),force):x};return force}function forceY(y){var nodes,strengths,yz,strength=constant$8(.1);"function"!==typeof y&&(y=constant$8(null==y?0:+y));function force(alpha){for(var node,i=0,n=nodes.length;i<n;++i)node=nodes[i],node.vy+=(yz[i]-node.y)*strengths[i]*alpha}function initialize(){if(!nodes)return;var i,n=nodes.length;strengths=new Array(n);yz=new Array(n);for(i=0;i<n;++i)strengths[i]=isNaN(yz[i]=+y(nodes[i],i,nodes))?0:+strength(nodes[i],i,nodes)}force.initialize=function(_){nodes=_;initialize()};force.strength=function(_){return arguments.length?(strength="function"===typeof _?_:constant$8(+_),initialize(),force):strength};force.y=function(_){return arguments.length?(y="function"===typeof _?_:constant$8(+_),initialize(),force):y};return force}var ForceMap={center:forceCenter,collide:forceCollide,nbody:forceManyBody,link:forceLink,x:forceX,y:forceY};var Forces="forces",ForceParams=["alpha","alphaMin","alphaTarget","velocityDecay","forces"],ForceConfig=["static","iterations"],ForceOutput=["x","y","vx","vy"];function Force(params){Transform.call(this,null,params)}Force.Definition={type:"Force",metadata:{modifies:true},params:[{name:"static",type:"boolean",default:false},{name:"restart",type:"boolean",default:false},{name:"iterations",type:"number",default:300},{name:"alpha",type:"number",default:1},{name:"alphaMin",type:"number",default:.001},{name:"alphaTarget",type:"number",default:0},{name:"velocityDecay",type:"number",default:.4},{name:"forces",type:"param",array:true,params:[{key:{force:"center"},params:[{name:"x",type:"number",default:0},{name:"y",type:"number",default:0}]},{key:{force:"collide"},params:[{name:"radius",type:"number",expr:true},{name:"strength",type:"number",default:.7},{name:"iterations",type:"number",default:1}]},{key:{force:"nbody"},params:[{name:"strength",type:"number",default:-30},{name:"theta",type:"number",default:.9},{name:"distanceMin",type:"number",default:1},{name:"distanceMax",type:"number"}]},{key:{force:"link"},params:[{name:"links",type:"data"},{name:"id",type:"field"},{name:"distance",type:"number",default:30,expr:true},{name:"strength",type:"number",expr:true},{name:"iterations",type:"number",default:1}]},{key:{force:"x"},params:[{name:"strength",type:"number",default:.1},{name:"x",type:"field"}]},{key:{force:"y"},params:[{name:"strength",type:"number",default:.1},{name:"y",type:"field"}]}]},{name:"as",type:"string",array:true,modify:false,default:ForceOutput}]};var prototype$18=inherits(Force,Transform);prototype$18.transform=function(_,pulse){var sim=this.value,change=pulse.changed(pulse.ADD_REM),params=_.modified(ForceParams),iters=_.iterations||300;if(sim){if(change){pulse.modifies("index");sim.nodes(pulse.source)}(params||pulse.changed(pulse.MOD))&&setup(sim,_,0,pulse)}else{this.value=sim=simulation(pulse.source,_);sim.on("tick",rerun(pulse.dataflow,this));if(!_.static){change=true;sim.tick()}pulse.modifies("index")}if(params||change||_.modified(ForceConfig)||pulse.changed()&&_.restart){sim.alpha(Math.max(sim.alpha(),_.alpha||1)).alphaDecay(1-Math.pow(sim.alphaMin(),1/iters));if(_.static)for(sim.stop();--iters>=0;)sim.tick();else{sim.stopped()&&sim.restart();if(!change)return pulse.StopPropagation}}return this.finish(_,pulse)};prototype$18.finish=function(_,pulse){var dataflow=pulse.dataflow;for(var arg,args=this._argops,j=0,m=args.length;j<m;++j){arg=args[j];if(arg.name!==Forces||"link"!==arg.op._argval.force)continue;for(var op,ops=arg.op._argops,i=0,n=ops.length;i<n;++i)if("links"===ops[i].name&&(op=ops[i].op.source)){dataflow.pulse(op,dataflow.changeset().reflow());break}}return pulse.reflow(_.modified()).modifies(ForceOutput)};function rerun(df,op){return function(){df.touch(op).run()}}function simulation(nodes,_){var sim=forceSimulation(nodes),stopped=false,stop=sim.stop,restart=sim.restart;sim.stopped=function(){return stopped};sim.restart=function(){stopped=false;return restart()};sim.stop=function(){stopped=true;return stop()};return setup(sim,_,true).on("end",function(){stopped=true})}function setup(sim,_,init,pulse){var i,n,p,name,f=array(_.forces);for(i=0,n=ForceParams.length;i<n;++i){p=ForceParams[i];p!==Forces&&_.modified(p)&&sim[p](_[p])}for(i=0,n=f.length;i<n;++i){name=Forces+i;p=init||_.modified(Forces,i)?getForce(f[i]):pulse&&modified(f[i],pulse)?sim.force(name):null;p&&sim.force(name,p)}for(n=sim.numForces||0;i<n;++i)sim.force(Forces+i,null);sim.numForces=f.length;return sim}function modified(f,pulse){var k,v;for(k in f)if(isFunction(v=f[k])&&pulse.modified(accessorFields(v)))return 1;return 0}function getForce(_){var f,p;ForceMap.hasOwnProperty(_.force)||error("Unrecognized force: "+_.force);f=ForceMap[_.force]();for(p in _)isFunction(f[p])&&setForceParam(f[p],_[p],_);return f}function setForceParam(f,v,_){f(isFunction(v)?function(d){return v(d,_)}:v)}var force=Object.freeze({force:Force});function lookup$2(tree,key,filter){var map={};tree.each(function(node){var t=node.data;filter(t)&&(map[key(t)]=node)});tree.lookup=map;return tree}function defaultSeparation(a,b){return a.parent===b.parent?1:2}function meanX(children){return children.reduce(meanXReduce,0)/children.length}function meanXReduce(x,c){return x+c.x}function maxY(children){return 1+children.reduce(maxYReduce,0)}function maxYReduce(y,c){return Math.max(y,c.y)}function leafLeft(node){var children;while(children=node.children)node=children[0];return node}function leafRight(node){var children;while(children=node.children)node=children[children.length-1];return node}function cluster(){var separation=defaultSeparation,dx=1,dy=1,nodeSize=false;function cluster(root){var previousNode,x=0;root.eachAfter(function(node){var children=node.children;if(children){node.x=meanX(children);node.y=maxY(children)}else{node.x=previousNode?x+=separation(node,previousNode):0;node.y=0;previousNode=node}});var left=leafLeft(root),right=leafRight(root),x0=left.x-separation(left,right)/2,x1=right.x+separation(right,left)/2;return root.eachAfter(nodeSize?function(node){node.x=(node.x-root.x)*dx;node.y=(root.y-node.y)*dy}:function(node){node.x=(node.x-x0)/(x1-x0)*dx;node.y=(1-(root.y?node.y/root.y:1))*dy})}cluster.separation=function(x){return arguments.length?(separation=x,cluster):separation};cluster.size=function(x){return arguments.length?(nodeSize=false,dx=+x[0],dy=+x[1],cluster):nodeSize?null:[dx,dy]};cluster.nodeSize=function(x){return arguments.length?(nodeSize=true,dx=+x[0],dy=+x[1],cluster):nodeSize?[dx,dy]:null};return cluster}function count(node){var sum=0,children=node.children,i=children&&children.length;if(i)while(--i>=0)sum+=children[i].value;else sum=1;node.value=sum}function node_count(){return this.eachAfter(count)}function node_each(callback){var current,children,i,n,node=this,next=[node];do{current=next.reverse(),next=[];while(node=current.pop()){callback(node),children=node.children;if(children)for(i=0,n=children.length;i<n;++i)next.push(children[i])}}while(next.length);return this}function node_eachBefore(callback){var children,i,node=this,nodes=[node];while(node=nodes.pop()){callback(node),children=node.children;if(children)for(i=children.length-1;i>=0;--i)nodes.push(children[i])}return this}function node_eachAfter(callback){var children,i,n,node=this,nodes=[node],next=[];while(node=nodes.pop()){next.push(node),children=node.children;if(children)for(i=0,n=children.length;i<n;++i)nodes.push(children[i])}while(node=next.pop())callback(node);return this}function node_sum(value){return this.eachAfter(function(node){var sum=+value(node.data)||0,children=node.children,i=children&&children.length;while(--i>=0)sum+=children[i].value;node.value=sum})}function node_sort(compare){return this.eachBefore(function(node){node.children&&node.children.sort(compare)})}function node_path(end){var start=this,ancestor=leastCommonAncestor(start,end),nodes=[start];while(start!==ancestor){start=start.parent;nodes.push(start)}var k=nodes.length;while(end!==ancestor){nodes.splice(k,0,end);end=end.parent}return nodes}function leastCommonAncestor(a,b){if(a===b)return a;var aNodes=a.ancestors(),bNodes=b.ancestors(),c=null;a=aNodes.pop();b=bNodes.pop();while(a===b){c=a;a=aNodes.pop();b=bNodes.pop()}return c}function node_ancestors(){var node=this,nodes=[node];while(node=node.parent)nodes.push(node);return nodes}function node_descendants(){var nodes=[];this.each(function(node){nodes.push(node)});return nodes}function node_leaves(){var leaves=[];this.eachBefore(function(node){node.children||leaves.push(node)});return leaves}function node_links(){var root=this,links=[];root.each(function(node){node!==root&&links.push({source:node.parent,target:node})});return links}function hierarchy(data,children){var node,child,childs,i,n,root=new Node(data),valued=+data.value&&(root.value=data.value),nodes=[root];null==children&&(children=defaultChildren);while(node=nodes.pop()){valued&&(node.value=+node.data.value);if((childs=children(node.data))&&(n=childs.length)){node.children=new Array(n);for(i=n-1;i>=0;--i){nodes.push(child=node.children[i]=new Node(childs[i]));child.parent=node;child.depth=node.depth+1}}}return root.eachBefore(computeHeight)}function node_copy(){return hierarchy(this).eachBefore(copyData)}function defaultChildren(d){return d.children}function copyData(node){node.data=node.data.data}function computeHeight(node){var height=0;do{node.height=height}while((node=node.parent)&&node.height<++height)}function Node(data){this.data=data;this.depth=this.height=0;this.parent=null}Node.prototype=hierarchy.prototype={constructor:Node,count:node_count,each:node_each,eachAfter:node_eachAfter,eachBefore:node_eachBefore,sum:node_sum,sort:node_sort,path:node_path,ancestors:node_ancestors,descendants:node_descendants,leaves:node_leaves,links:node_links,copy:node_copy};var slice$5=Array.prototype.slice;function shuffle$1(array){var t,i,m=array.length;while(m){i=Math.random()*m--|0;t=array[m];array[m]=array[i];array[i]=t}return array}function enclose(circles){var p,e,i=0,n=(circles=shuffle$1(slice$5.call(circles))).length,B=[];while(i<n){p=circles[i];e&&enclosesWeak(e,p)?++i:(e=encloseBasis(B=extendBasis(B,p)),i=0)}return e}function extendBasis(B,p){var i,j;if(enclosesWeakAll(p,B))return[p];for(i=0;i<B.length;++i)if(enclosesNot(p,B[i])&&enclosesWeakAll(encloseBasis2(B[i],p),B))return[B[i],p];for(i=0;i<B.length-1;++i)for(j=i+1;j<B.length;++j)if(enclosesNot(encloseBasis2(B[i],B[j]),p)&&enclosesNot(encloseBasis2(B[i],p),B[j])&&enclosesNot(encloseBasis2(B[j],p),B[i])&&enclosesWeakAll(encloseBasis3(B[i],B[j],p),B))return[B[i],B[j],p];throw new Error}function enclosesNot(a,b){var dr=a.r-b.r,dx=b.x-a.x,dy=b.y-a.y;return dr<0||dr*dr<dx*dx+dy*dy}function enclosesWeak(a,b){var dr=a.r-b.r+1e-6,dx=b.x-a.x,dy=b.y-a.y;return dr>0&&dr*dr>dx*dx+dy*dy}function enclosesWeakAll(a,B){for(var i=0;i<B.length;++i)if(!enclosesWeak(a,B[i]))return false;return true}function encloseBasis(B){switch(B.length){case 1:return encloseBasis1(B[0]);case 2:return encloseBasis2(B[0],B[1]);case 3:return encloseBasis3(B[0],B[1],B[2])}}function encloseBasis1(a){return{x:a.x,y:a.y,r:a.r}}function encloseBasis2(a,b){var x1=a.x,y1=a.y,r1=a.r,x2=b.x,y2=b.y,r2=b.r,x21=x2-x1,y21=y2-y1,r21=r2-r1,l=Math.sqrt(x21*x21+y21*y21);return{x:(x1+x2+x21/l*r21)/2,y:(y1+y2+y21/l*r21)/2,r:(l+r1+r2)/2}}function encloseBasis3(a,b,c){var x1=a.x,y1=a.y,r1=a.r,x2=b.x,y2=b.y,r2=b.r,x3=c.x,y3=c.y,r3=c.r,a2=x1-x2,a3=x1-x3,b2=y1-y2,b3=y1-y3,c2=r2-r1,c3=r3-r1,d1=x1*x1+y1*y1-r1*r1,d2=d1-x2*x2-y2*y2+r2*r2,d3=d1-x3*x3-y3*y3+r3*r3,ab=a3*b2-a2*b3,xa=(b2*d3-b3*d2)/(2*ab)-x1,xb=(b3*c2-b2*c3)/ab,ya=(a3*d2-a2*d3)/(2*ab)-y1,yb=(a2*c3-a3*c2)/ab,A=xb*xb+yb*yb-1,B=2*(r1+xa*xb+ya*yb),C=xa*xa+ya*ya-r1*r1,r=-(A?(B+Math.sqrt(B*B-4*A*C))/(2*A):C/B);return{x:x1+xa+xb*r,y:y1+ya+yb*r,r:r}}function place(b,a,c){var x,a2,y,b2,dx=b.x-a.x,dy=b.y-a.y,d2=dx*dx+dy*dy;if(d2){a2=a.r+c.r,a2*=a2;b2=b.r+c.r,b2*=b2;if(a2>b2){x=(d2+b2-a2)/(2*d2);y=Math.sqrt(Math.max(0,b2/d2-x*x));c.x=b.x-x*dx-y*dy;c.y=b.y-x*dy+y*dx}else{x=(d2+a2-b2)/(2*d2);y=Math.sqrt(Math.max(0,a2/d2-x*x));c.x=a.x+x*dx-y*dy;c.y=a.y+x*dy+y*dx}}else{c.x=a.x+c.r;c.y=a.y}}function intersects(a,b){var dr=a.r+b.r-1e-6,dx=b.x-a.x,dy=b.y-a.y;return dr>0&&dr*dr>dx*dx+dy*dy}function score(node){var a=node._,b=node.next._,ab=a.r+b.r,dx=(a.x*b.r+b.x*a.r)/ab,dy=(a.y*b.r+b.y*a.r)/ab;return dx*dx+dy*dy}function Node$1(circle){this._=circle;this.next=null;this.previous=null}function packEnclose(circles){if(!(n=circles.length))return 0;var a,b,c,n,aa,ca,i,j,k,sj,sk;a=circles[0],a.x=0,a.y=0;if(!(n>1))return a.r;b=circles[1],a.x=-b.r,b.x=a.r,b.y=0;if(!(n>2))return a.r+b.r;place(b,a,c=circles[2]);a=new Node$1(a),b=new Node$1(b),c=new Node$1(c);a.next=c.previous=b;b.next=a.previous=c;c.next=b.previous=a;pack:for(i=3;i<n;++i){place(a._,b._,c=circles[i]),c=new Node$1(c);j=b.next,k=a.previous,sj=b._.r,sk=a._.r;do{if(sj<=sk){if(intersects(j._,c._)){b=j,a.next=b,b.previous=a,--i;continue pack}sj+=j._.r,j=j.next}else{if(intersects(k._,c._)){a=k,a.next=b,b.previous=a,--i;continue pack}sk+=k._.r,k=k.previous}}while(j!==k.next);c.previous=a,c.next=b,a.next=b.previous=b=c;aa=score(a);while((c=c.next)!==b)(ca=score(c))<aa&&(a=c,aa=ca);b=a.next}a=[b._],c=b;while((c=c.next)!==b)a.push(c._);c=enclose(a);for(i=0;i<n;++i)a=circles[i],a.x-=c.x,a.y-=c.y;return c.r}function optional(f){return null==f?null:required(f)}function required(f){if("function"!==typeof f)throw new Error;return f}function constantZero(){return 0}function constant$9(x){return function(){return x}}function defaultRadius(d){return Math.sqrt(d.value)}function pack$1(){var radius=null,dx=1,dy=1,padding=constantZero;function pack(root){root.x=dx/2,root.y=dy/2;radius?root.eachBefore(radiusLeaf(radius)).eachAfter(packChildren(padding,.5)).eachBefore(translateChild(1)):root.eachBefore(radiusLeaf(defaultRadius)).eachAfter(packChildren(constantZero,1)).eachAfter(packChildren(padding,root.r/Math.min(dx,dy))).eachBefore(translateChild(Math.min(dx,dy)/(2*root.r)));return root}pack.radius=function(x){return arguments.length?(radius=optional(x),pack):radius};pack.size=function(x){return arguments.length?(dx=+x[0],dy=+x[1],pack):[dx,dy]};pack.padding=function(x){return arguments.length?(padding="function"===typeof x?x:constant$9(+x),pack):padding};return pack}function radiusLeaf(radius){return function(node){node.children||(node.r=Math.max(0,+radius(node)||0))}}function packChildren(padding,k){return function(node){if(children=node.children){var children,i,e,n=children.length,r=padding(node)*k||0;if(r)for(i=0;i<n;++i)children[i].r+=r;e=packEnclose(children);if(r)for(i=0;i<n;++i)children[i].r-=r;node.r=e+r}}}function translateChild(k){return function(node){var parent=node.parent;node.r*=k;if(parent){node.x=parent.x+k*node.x;node.y=parent.y+k*node.y}}}function roundNode(node){node.x0=Math.round(node.x0);node.y0=Math.round(node.y0);node.x1=Math.round(node.x1);node.y1=Math.round(node.y1)}function treemapDice(parent,x0,y0,x1,y1){var node,nodes=parent.children,i=-1,n=nodes.length,k=parent.value&&(x1-x0)/parent.value;while(++i<n){node=nodes[i],node.y0=y0,node.y1=y1;node.x0=x0,node.x1=x0+=node.value*k}}function partition$2(){var dx=1,dy=1,padding=0,round=false;function partition(root){var n=root.height+1;root.x0=root.y0=padding;root.x1=dx;root.y1=dy/n;root.eachBefore(positionNode(dy,n));round&&root.eachBefore(roundNode);return root}function positionNode(dy,n){return function(node){node.children&&treemapDice(node,node.x0,dy*(node.depth+1)/n,node.x1,dy*(node.depth+2)/n);var x0=node.x0,y0=node.y0,x1=node.x1-padding,y1=node.y1-padding;x1<x0&&(x0=x1=(x0+x1)/2);y1<y0&&(y0=y1=(y0+y1)/2);node.x0=x0;node.y0=y0;node.x1=x1;node.y1=y1}}partition.round=function(x){return arguments.length?(round=!!x,partition):round};partition.size=function(x){return arguments.length?(dx=+x[0],dy=+x[1],partition):[dx,dy]};partition.padding=function(x){return arguments.length?(padding=+x,partition):padding};return partition}var keyPrefix="$",preroot={depth:-1},ambiguous={};function defaultId(d){return d.id}function defaultParentId(d){return d.parentId}function stratify(){var id=defaultId,parentId=defaultParentId;function stratify(data){var d,i,root,parent,node,nodeId,nodeKey,n=data.length,nodes=new Array(n),nodeByKey={};for(i=0;i<n;++i){d=data[i],node=nodes[i]=new Node(d);if(null!=(nodeId=id(d,i,data))&&(nodeId+="")){nodeKey=keyPrefix+(node.id=nodeId);nodeByKey[nodeKey]=nodeKey in nodeByKey?ambiguous:node}}for(i=0;i<n;++i){node=nodes[i],nodeId=parentId(data[i],i,data);if(null!=nodeId&&(nodeId+="")){parent=nodeByKey[keyPrefix+nodeId];if(!parent)throw new Error("missing: "+nodeId);if(parent===ambiguous)throw new Error("ambiguous: "+nodeId);parent.children?parent.children.push(node):parent.children=[node];node.parent=parent}else{if(root)throw new Error("multiple roots");root=node}}if(!root)throw new Error("no root");root.parent=preroot;root.eachBefore(function(node){node.depth=node.parent.depth+1;--n}).eachBefore(computeHeight);root.parent=null;if(n>0)throw new Error("cycle");return root}stratify.id=function(x){return arguments.length?(id=required(x),stratify):id};stratify.parentId=function(x){return arguments.length?(parentId=required(x),stratify):parentId};return stratify}function defaultSeparation$1(a,b){return a.parent===b.parent?1:2}function nextLeft(v){var children=v.children;return children?children[0]:v.t}function nextRight(v){var children=v.children;return children?children[children.length-1]:v.t}function moveSubtree(wm,wp,shift){var change=shift/(wp.i-wm.i);wp.c-=change;wp.s+=shift;wm.c+=change;wp.z+=shift;wp.m+=shift}function executeShifts(v){var w,shift=0,change=0,children=v.children,i=children.length;while(--i>=0){w=children[i];w.z+=shift;w.m+=shift;shift+=w.s+(change+=w.c)}}function nextAncestor(vim,v,ancestor){return vim.a.parent===v.parent?vim.a:ancestor}function TreeNode(node,i){this._=node;this.parent=null;this.children=null;this.A=null;this.a=this;this.z=0;this.m=0;this.c=0;this.s=0;this.t=null;this.i=i}TreeNode.prototype=Object.create(Node.prototype);function treeRoot(root){var node,child,children,i,n,tree=new TreeNode(root,0),nodes=[tree];while(node=nodes.pop())if(children=node._.children){node.children=new Array(n=children.length);for(i=n-1;i>=0;--i){nodes.push(child=node.children[i]=new TreeNode(children[i],i));child.parent=node}}(tree.parent=new TreeNode(null,0)).children=[tree];return tree}function tree(){var separation=defaultSeparation$1,dx=1,dy=1,nodeSize=null;function tree(root){var t=treeRoot(root);t.eachAfter(firstWalk),t.parent.m=-t.z;t.eachBefore(secondWalk);if(nodeSize)root.eachBefore(sizeNode);else{var left=root,right=root,bottom=root;root.eachBefore(function(node){node.x<left.x&&(left=node);node.x>right.x&&(right=node);node.depth>bottom.depth&&(bottom=node)});var s=left===right?1:separation(left,right)/2,tx=s-left.x,kx=dx/(right.x+s+tx),ky=dy/(bottom.depth||1);root.eachBefore(function(node){node.x=(node.x+tx)*kx;node.y=node.depth*ky})}return root}function firstWalk(v){var children=v.children,siblings=v.parent.children,w=v.i?siblings[v.i-1]:null;if(children){executeShifts(v);var midpoint=(children[0].z+children[children.length-1].z)/2;if(w){v.z=w.z+separation(v._,w._);v.m=v.z-midpoint}else v.z=midpoint}else w&&(v.z=w.z+separation(v._,w._));v.parent.A=apportion(v,w,v.parent.A||siblings[0])}function secondWalk(v){v._.x=v.z+v.parent.m;v.m+=v.parent.m}function apportion(v,w,ancestor){if(w){var shift,vip=v,vop=v,vim=w,vom=vip.parent.children[0],sip=vip.m,sop=vop.m,sim=vim.m,som=vom.m;while(vim=nextRight(vim),vip=nextLeft(vip),vim&&vip){vom=nextLeft(vom);vop=nextRight(vop);vop.a=v;shift=vim.z+sim-vip.z-sip+separation(vim._,vip._);if(shift>0){moveSubtree(nextAncestor(vim,v,ancestor),v,shift);sip+=shift;sop+=shift}sim+=vim.m;sip+=vip.m;som+=vom.m;sop+=vop.m}if(vim&&!nextRight(vop)){vop.t=vim;vop.m+=sim-sop}if(vip&&!nextLeft(vom)){vom.t=vip;vom.m+=sip-som;ancestor=v}}return ancestor}function sizeNode(node){node.x*=dx;node.y=node.depth*dy}tree.separation=function(x){return arguments.length?(separation=x,tree):separation};tree.size=function(x){return arguments.length?(nodeSize=false,dx=+x[0],dy=+x[1],tree):nodeSize?null:[dx,dy]};tree.nodeSize=function(x){return arguments.length?(nodeSize=true,dx=+x[0],dy=+x[1],tree):nodeSize?[dx,dy]:null};return tree}function treemapSlice(parent,x0,y0,x1,y1){var node,nodes=parent.children,i=-1,n=nodes.length,k=parent.value&&(y1-y0)/parent.value;while(++i<n){node=nodes[i],node.x0=x0,node.x1=x1;node.y0=y0,node.y1=y0+=node.value*k}}var phi=(1+Math.sqrt(5))/2;function squarifyRatio(ratio,parent,x0,y0,x1,y1){var row,nodeValue,dx,dy,sumValue,minValue,maxValue,newRatio,minRatio,alpha,beta,rows=[],nodes=parent.children,i0=0,i1=0,n=nodes.length,value=parent.value;while(i0<n){dx=x1-x0,dy=y1-y0;do{sumValue=nodes[i1++].value}while(!sumValue&&i1<n);minValue=maxValue=sumValue;alpha=Math.max(dy/dx,dx/dy)/(value*ratio);beta=sumValue*sumValue*alpha;minRatio=Math.max(maxValue/beta,beta/minValue);for(;i1<n;++i1){sumValue+=nodeValue=nodes[i1].value;nodeValue<minValue&&(minValue=nodeValue);nodeValue>maxValue&&(maxValue=nodeValue);beta=sumValue*sumValue*alpha;newRatio=Math.max(maxValue/beta,beta/minValue);if(newRatio>minRatio){sumValue-=nodeValue;break}minRatio=newRatio}rows.push(row={value:sumValue,dice:dx<dy,children:nodes.slice(i0,i1)});row.dice?treemapDice(row,x0,y0,x1,value?y0+=dy*sumValue/value:y1):treemapSlice(row,x0,y0,value?x0+=dx*sumValue/value:x1,y1);value-=sumValue,i0=i1}return rows}var squarify=function custom(ratio){function squarify(parent,x0,y0,x1,y1){squarifyRatio(ratio,parent,x0,y0,x1,y1)}squarify.ratio=function(x){return custom((x=+x)>1?x:1)};return squarify}(phi);function treemap(){var tile=squarify,round=false,dx=1,dy=1,paddingStack=[0],paddingInner=constantZero,paddingTop=constantZero,paddingRight=constantZero,paddingBottom=constantZero,paddingLeft=constantZero;function treemap(root){root.x0=root.y0=0;root.x1=dx;root.y1=dy;root.eachBefore(positionNode);paddingStack=[0];round&&root.eachBefore(roundNode);return root}function positionNode(node){var p=paddingStack[node.depth],x0=node.x0+p,y0=node.y0+p,x1=node.x1-p,y1=node.y1-p;x1<x0&&(x0=x1=(x0+x1)/2);y1<y0&&(y0=y1=(y0+y1)/2);node.x0=x0;node.y0=y0;node.x1=x1;node.y1=y1;if(node.children){p=paddingStack[node.depth+1]=paddingInner(node)/2;x0+=paddingLeft(node)-p;y0+=paddingTop(node)-p;x1-=paddingRight(node)-p;y1-=paddingBottom(node)-p;x1<x0&&(x0=x1=(x0+x1)/2);y1<y0&&(y0=y1=(y0+y1)/2);tile(node,x0,y0,x1,y1)}}treemap.round=function(x){return arguments.length?(round=!!x,treemap):round};treemap.size=function(x){return arguments.length?(dx=+x[0],dy=+x[1],treemap):[dx,dy]};treemap.tile=function(x){return arguments.length?(tile=required(x),treemap):tile};treemap.padding=function(x){return arguments.length?treemap.paddingInner(x).paddingOuter(x):treemap.paddingInner()};treemap.paddingInner=function(x){return arguments.length?(paddingInner="function"===typeof x?x:constant$9(+x),treemap):paddingInner};treemap.paddingOuter=function(x){return arguments.length?treemap.paddingTop(x).paddingRight(x).paddingBottom(x).paddingLeft(x):treemap.paddingTop()};treemap.paddingTop=function(x){return arguments.length?(paddingTop="function"===typeof x?x:constant$9(+x),treemap):paddingTop};treemap.paddingRight=function(x){return arguments.length?(paddingRight="function"===typeof x?x:constant$9(+x),treemap):paddingRight};treemap.paddingBottom=function(x){return arguments.length?(paddingBottom="function"===typeof x?x:constant$9(+x),treemap):paddingBottom};treemap.paddingLeft=function(x){return arguments.length?(paddingLeft="function"===typeof x?x:constant$9(+x),treemap):paddingLeft};return treemap}function treemapBinary(parent,x0,y0,x1,y1){var i,sum,nodes=parent.children,n=nodes.length,sums=new Array(n+1);for(sums[0]=sum=i=0;i<n;++i)sums[i+1]=sum+=nodes[i].value;partition(0,n,parent.value,x0,y0,x1,y1);function partition(i,j,value,x0,y0,x1,y1){if(i>=j-1){var node=nodes[i];node.x0=x0,node.y0=y0;node.x1=x1,node.y1=y1;return}var valueOffset=sums[i],valueTarget=value/2+valueOffset,k=i+1,hi=j-1;while(k<hi){var mid=k+hi>>>1;sums[mid]<valueTarget?k=mid+1:hi=mid}valueTarget-sums[k-1]<sums[k]-valueTarget&&i+1<k&&--k;var valueLeft=sums[k]-valueOffset,valueRight=value-valueLeft;if(x1-x0>y1-y0){var xk=(x0*valueRight+x1*valueLeft)/value;partition(i,k,valueLeft,x0,y0,xk,y1);partition(k,j,valueRight,xk,y0,x1,y1)}else{var yk=(y0*valueRight+y1*valueLeft)/value;partition(i,k,valueLeft,x0,y0,x1,yk);partition(k,j,valueRight,x0,yk,x1,y1)}}}function treemapSliceDice(parent,x0,y0,x1,y1){(1&parent.depth?treemapSlice:treemapDice)(parent,x0,y0,x1,y1)}var treemapResquarify=function custom(ratio){function resquarify(parent,x0,y0,x1,y1){if((rows=parent._squarify)&&rows.ratio===ratio){var rows,row,nodes,i,n,j=-1,m=rows.length,value=parent.value;while(++j<m){row=rows[j],nodes=row.children;for(i=row.value=0,n=nodes.length;i<n;++i)row.value+=nodes[i].value;row.dice?treemapDice(row,x0,y0,x1,y0+=(y1-y0)*row.value/value):treemapSlice(row,x0,y0,x0+=(x1-x0)*row.value/value,y1);value-=row.value}}else{parent._squarify=rows=squarifyRatio(ratio,parent,x0,y0,x1,y1);rows.ratio=ratio}}resquarify.ratio=function(x){return custom((x=+x)>1?x:1)};return resquarify}(phi);function Nest(params){Transform.call(this,null,params)}Nest.Definition={type:"Nest",metadata:{treesource:true,changes:true},params:[{name:"keys",type:"field",array:true},{name:"generate",type:"boolean"}]};var prototype$19=inherits(Nest,Transform);function children(n){return n.values}prototype$19.transform=function(_,pulse){pulse.source||error("Nest transform requires an upstream data source.");var gen=_.generate,mod=_.modified(),out=pulse.clone(),tree$$1=this.value;if(!tree$$1||mod||pulse.changed()){tree$$1&&tree$$1.each(function(node){node.children&&isTuple(node.data)&&out.rem.push(node.data)});this.value=tree$$1=hierarchy({values:array(_.keys).reduce(function(n,k){n.key(k);return n},nest()).entries(out.source)},children);gen&&tree$$1.each(function(node){if(node.children){node=ingest(node.data);out.add.push(node);out.source.push(node)}});lookup$2(tree$$1,tupleid,tupleid)}out.source.root=tree$$1;return out};function HierarchyLayout(params){Transform.call(this,null,params)}var prototype$1a=inherits(HierarchyLayout,Transform);prototype$1a.transform=function(_,pulse){pulse.source&&pulse.source.root||error(this.constructor.name+" transform requires a backing tree data source.");var layout=this.layout(_.method),fields=this.fields,root=pulse.source.root,as=_.as||fields;_.field&&root.sum(_.field);_.sort&&root.sort(_.sort);setParams(layout,this.params,_);layout.separation&&layout.separation(false!==_.separation?defaultSeparation$2:one);try{this.value=layout(root)}catch(err){error(err)}root.each(function(node){setFields(node,fields,as)});return pulse.reflow(_.modified()).modifies(as).modifies("leaf")};function setParams(layout,params,_){for(var p,i=0,n=params.length;i<n;++i){p=params[i];p in _&&layout[p](_[p])}}function setFields(node,fields,as){var t=node.data;for(var i=0,n=fields.length-1;i<n;++i)t[as[i]]=node[fields[i]];t[as[n]]=node.children?node.children.length:0}function defaultSeparation$2(a,b){return a.parent===b.parent?1:2}var Output=["x","y","r","depth","children"];function Pack(params){HierarchyLayout.call(this,params)}Pack.Definition={type:"Pack",metadata:{tree:true,modifies:true},params:[{name:"field",type:"field"},{name:"sort",type:"compare"},{name:"padding",type:"number",default:0},{name:"radius",type:"field",default:null},{name:"size",type:"number",array:true,length:2},{name:"as",type:"string",array:true,length:Output.length,default:Output}]};var prototype$1b=inherits(Pack,HierarchyLayout);prototype$1b.layout=pack$1;prototype$1b.params=["size","padding"];prototype$1b.fields=Output;var Output$1=["x0","y0","x1","y1","depth","children"];function Partition(params){HierarchyLayout.call(this,params)}Partition.Definition={type:"Partition",metadata:{tree:true,modifies:true},params:[{name:"field",type:"field"},{name:"sort",type:"compare"},{name:"padding",type:"number",default:0},{name:"round",type:"boolean",default:false},{name:"size",type:"number",array:true,length:2},{name:"as",type:"string",array:true,length:Output$1.length,default:Output$1}]};var prototype$1c=inherits(Partition,HierarchyLayout);prototype$1c.layout=partition$2;prototype$1c.params=["size","round","padding"];prototype$1c.fields=Output$1;function Stratify(params){Transform.call(this,null,params)}Stratify.Definition={type:"Stratify",metadata:{treesource:true},params:[{name:"key",type:"field",required:true},{name:"parentKey",type:"field",required:true}]};var prototype$1d=inherits(Stratify,Transform);prototype$1d.transform=function(_,pulse){pulse.source||error("Stratify transform requires an upstream data source.");var tree$$1=this.value,mod=_.modified(),out=pulse.fork(pulse.ALL).materialize(pulse.SOURCE),run=!this.value||mod||pulse.changed(pulse.ADD_REM)||pulse.modified(_.key.fields)||pulse.modified(_.parentKey.fields);out.source=out.source.slice();run&&(tree$$1=out.source.length?lookup$2(stratify().id(_.key).parentId(_.parentKey)(out.source),_.key,truthy):lookup$2(stratify()([{}]),_.key,_.key));out.source.root=this.value=tree$$1;return out};var Layouts={tidy:tree,cluster:cluster};var Output$2=["x","y","depth","children"];function Tree(params){HierarchyLayout.call(this,params)}Tree.Definition={type:"Tree",metadata:{tree:true,modifies:true},params:[{name:"field",type:"field"},{name:"sort",type:"compare"},{name:"method",type:"enum",default:"tidy",values:["tidy","cluster"]},{name:"size",type:"number",array:true,length:2},{name:"nodeSize",type:"number",array:true,length:2},{name:"separation",type:"boolean",default:true},{name:"as",type:"string",array:true,length:Output$2.length,default:Output$2}]};var prototype$1e=inherits(Tree,HierarchyLayout);prototype$1e.layout=function(method){var m=method||"tidy";if(Layouts.hasOwnProperty(m))return Layouts[m]();error("Unrecognized Tree layout method: "+m)};prototype$1e.params=["size","nodeSize"];prototype$1e.fields=Output$2;function TreeLinks(params){Transform.call(this,[],params)}TreeLinks.Definition={type:"TreeLinks",metadata:{tree:true,generates:true,changes:true},params:[]};var prototype$1f=inherits(TreeLinks,Transform);prototype$1f.transform=function(_,pulse){var links=this.value,tree=pulse.source&&pulse.source.root,out=pulse.fork(pulse.NO_SOURCE),lut={};tree||error("TreeLinks transform requires a tree data source.");if(pulse.changed(pulse.ADD_REM)){out.rem=links;pulse.visit(pulse.SOURCE,function(t){lut[tupleid(t)]=1});tree.each(function(node){var t=node.data,p=node.parent&&node.parent.data;p&&lut[tupleid(t)]&&lut[tupleid(p)]&&out.add.push(ingest({source:p,target:t}))});this.value=out.add}else if(pulse.changed(pulse.MOD)){pulse.visit(pulse.MOD,function(t){lut[tupleid(t)]=1});links.forEach(function(link){(lut[tupleid(link.source)]||lut[tupleid(link.target)])&&out.mod.push(link)})}return out};var Tiles={binary:treemapBinary,dice:treemapDice,slice:treemapSlice,slicedice:treemapSliceDice,squarify:squarify,resquarify:treemapResquarify};var Output$3=["x0","y0","x1","y1","depth","children"];function Treemap(params){HierarchyLayout.call(this,params)}Treemap.Definition={type:"Treemap",metadata:{tree:true,modifies:true},params:[{name:"field",type:"field"},{name:"sort",type:"compare"},{name:"method",type:"enum",default:"squarify",values:["squarify","resquarify","binary","dice","slice","slicedice"]},{name:"padding",type:"number",default:0},{name:"paddingInner",type:"number",default:0},{name:"paddingOuter",type:"number",default:0},{name:"paddingTop",type:"number",default:0},{name:"paddingRight",type:"number",default:0},{name:"paddingBottom",type:"number",default:0},{name:"paddingLeft",type:"number",default:0},{name:"ratio",type:"number",default:1.618033988749895},{name:"round",type:"boolean",default:false},{name:"size",type:"number",array:true,length:2},{name:"as",type:"string",array:true,length:Output$3.length,default:Output$3}]};var prototype$1g=inherits(Treemap,HierarchyLayout);prototype$1g.layout=function(){var x=treemap();x.ratio=function(_){var t=x.tile();t.ratio&&x.tile(t.ratio(_))};x.method=function(_){Tiles.hasOwnProperty(_)?x.tile(Tiles[_]):error("Unrecognized Treemap layout method: "+_)};return x};prototype$1g.params=["method","ratio","size","round","padding","paddingInner","paddingOuter","paddingTop","paddingRight","paddingBottom","paddingLeft"];prototype$1g.fields=Output$3;var tree$1=Object.freeze({nest:Nest,pack:Pack,partition:Partition,stratify:Stratify,tree:Tree,treelinks:TreeLinks,treemap:Treemap});function constant$a(x){return function(){return x}}function x$4(d){return d[0]}function y$4(d){return d[1]}function RedBlackTree(){this._=null}function RedBlackNode(node){node.U=node.C=node.L=node.R=node.P=node.N=null}RedBlackTree.prototype={constructor:RedBlackTree,insert:function(after,node){var parent,grandpa,uncle;if(after){node.P=after;node.N=after.N;after.N&&(after.N.P=node);after.N=node;if(after.R){after=after.R;while(after.L)after=after.L;after.L=node}else after.R=node;parent=after}else if(this._){after=RedBlackFirst(this._);node.P=null;node.N=after;after.P=after.L=node;parent=after}else{node.P=node.N=null;this._=node;parent=null}node.L=node.R=null;node.U=parent;node.C=true;after=node;while(parent&&parent.C){grandpa=parent.U;if(parent===grandpa.L){uncle=grandpa.R;if(uncle&&uncle.C){parent.C=uncle.C=false;grandpa.C=true;after=grandpa}else{if(after===parent.R){RedBlackRotateLeft(this,parent);after=parent;parent=after.U}parent.C=false;grandpa.C=true;RedBlackRotateRight(this,grandpa)}}else{uncle=grandpa.L;if(uncle&&uncle.C){parent.C=uncle.C=false;grandpa.C=true;after=grandpa}else{if(after===parent.L){RedBlackRotateRight(this,parent);after=parent;parent=after.U}parent.C=false;grandpa.C=true;RedBlackRotateLeft(this,grandpa)}}parent=after.U}this._.C=false},remove:function(node){node.N&&(node.N.P=node.P);node.P&&(node.P.N=node.N);node.N=node.P=null;var sibling,next,red,parent=node.U,left=node.L,right=node.R;next=left?right?RedBlackFirst(right):left:right;parent?parent.L===node?parent.L=next:parent.R=next:this._=next;if(left&&right){red=next.C;next.C=node.C;next.L=left;left.U=next;if(next!==right){parent=next.U;next.U=node.U;node=next.R;parent.L=node;next.R=right;right.U=next}else{next.U=parent;parent=next;node=next.R}}else{red=node.C;node=next}node&&(node.U=parent);if(red)return;if(node&&node.C){node.C=false;return}do{if(node===this._)break;if(node===parent.L){sibling=parent.R;if(sibling.C){sibling.C=false;parent.C=true;RedBlackRotateLeft(this,parent);sibling=parent.R}if(sibling.L&&sibling.L.C||sibling.R&&sibling.R.C){if(!sibling.R||!sibling.R.C){sibling.L.C=false;sibling.C=true;RedBlackRotateRight(this,sibling);sibling=parent.R}sibling.C=parent.C;parent.C=sibling.R.C=false;RedBlackRotateLeft(this,parent);node=this._;break}}else{sibling=parent.L;if(sibling.C){sibling.C=false;parent.C=true;RedBlackRotateRight(this,parent);sibling=parent.L}if(sibling.L&&sibling.L.C||sibling.R&&sibling.R.C){if(!sibling.L||!sibling.L.C){sibling.R.C=false;sibling.C=true;RedBlackRotateLeft(this,sibling);sibling=parent.L}sibling.C=parent.C;parent.C=sibling.L.C=false;RedBlackRotateRight(this,parent);node=this._;break}}sibling.C=true;node=parent;parent=parent.U}while(!node.C);node&&(node.C=false)}};function RedBlackRotateLeft(tree,node){var p=node,q=node.R,parent=p.U;parent?parent.L===p?parent.L=q:parent.R=q:tree._=q;q.U=parent;p.U=q;p.R=q.L;p.R&&(p.R.U=p);q.L=p}function RedBlackRotateRight(tree,node){var p=node,q=node.L,parent=p.U;parent?parent.L===p?parent.L=q:parent.R=q:tree._=q;q.U=parent;p.U=q;p.L=q.R;p.L&&(p.L.U=p);q.R=p}function RedBlackFirst(node){while(node.L)node=node.L;return node}function createEdge(left,right,v0,v1){var edge=[null,null],index=edges.push(edge)-1;edge.left=left;edge.right=right;v0&&setEdgeEnd(edge,left,right,v0);v1&&setEdgeEnd(edge,right,left,v1);cells[left.index].halfedges.push(index);cells[right.index].halfedges.push(index);return edge}function createBorderEdge(left,v0,v1){var edge=[v0,v1];edge.left=left;return edge}function setEdgeEnd(edge,left,right,vertex){if(edge[0]||edge[1])edge.left===right?edge[1]=vertex:edge[0]=vertex;else{edge[0]=vertex;edge.left=left;edge.right=right}}function clipEdge(edge,x0,y0,x1,y1){var r,a=edge[0],b=edge[1],ax=a[0],ay=a[1],bx=b[0],by=b[1],t0=0,t1=1,dx=bx-ax,dy=by-ay;r=x0-ax;if(!dx&&r>0)return;r/=dx;if(dx<0){if(r<t0)return;r<t1&&(t1=r)}else if(dx>0){if(r>t1)return;r>t0&&(t0=r)}r=x1-ax;if(!dx&&r<0)return;r/=dx;if(dx<0){if(r>t1)return;r>t0&&(t0=r)}else if(dx>0){if(r<t0)return;r<t1&&(t1=r)}r=y0-ay;if(!dy&&r>0)return;r/=dy;if(dy<0){if(r<t0)return;r<t1&&(t1=r)}else if(dy>0){if(r>t1)return;r>t0&&(t0=r)}r=y1-ay;if(!dy&&r<0)return;r/=dy;if(dy<0){if(r>t1)return;r>t0&&(t0=r)}else if(dy>0){if(r<t0)return;r<t1&&(t1=r)}if(!(t0>0)&&!(t1<1))return true;t0>0&&(edge[0]=[ax+t0*dx,ay+t0*dy]);t1<1&&(edge[1]=[ax+t1*dx,ay+t1*dy]);return true}function connectEdge(edge,x0,y0,x1,y1){var v1=edge[1];if(v1)return true;var fm,fb,v0=edge[0],left=edge.left,right=edge.right,lx=left[0],ly=left[1],rx=right[0],ry=right[1],fx=(lx+rx)/2,fy=(ly+ry)/2;if(ry===ly){if(fx<x0||fx>=x1)return;if(lx>rx){if(v0){if(v0[1]>=y1)return}else v0=[fx,y0];v1=[fx,y1]}else{if(v0){if(v0[1]<y0)return}else v0=[fx,y1];v1=[fx,y0]}}else{fm=(lx-rx)/(ry-ly);fb=fy-fm*fx;if(fm<-1||fm>1)if(lx>rx){if(v0){if(v0[1]>=y1)return}else v0=[(y0-fb)/fm,y0];v1=[(y1-fb)/fm,y1]}else{if(v0){if(v0[1]<y0)return}else v0=[(y1-fb)/fm,y1];v1=[(y0-fb)/fm,y0]}else if(ly<ry){if(v0){if(v0[0]>=x1)return}else v0=[x0,fm*x0+fb];v1=[x1,fm*x1+fb]}else{if(v0){if(v0[0]<x0)return}else v0=[x1,fm*x1+fb];v1=[x0,fm*x0+fb]}}edge[0]=v0;edge[1]=v1;return true}function clipEdges(x0,y0,x1,y1){var edge,i=edges.length;while(i--)connectEdge(edge=edges[i],x0,y0,x1,y1)&&clipEdge(edge,x0,y0,x1,y1)&&(Math.abs(edge[0][0]-edge[1][0])>epsilon$3||Math.abs(edge[0][1]-edge[1][1])>epsilon$3)||delete edges[i]}function createCell(site){return cells[site.index]={site:site,halfedges:[]}}function cellHalfedgeAngle(cell,edge){var site=cell.site,va=edge.left,vb=edge.right;site===vb&&(vb=va,va=site);if(vb)return Math.atan2(vb[1]-va[1],vb[0]-va[0]);site===va?(va=edge[1],vb=edge[0]):(va=edge[0],vb=edge[1]);return Math.atan2(va[0]-vb[0],vb[1]-va[1])}function cellHalfedgeStart(cell,edge){return edge[+(edge.left!==cell.site)]}function cellHalfedgeEnd(cell,edge){return edge[+(edge.left===cell.site)]}function sortCellHalfedges(){for(var cell,halfedges,j,m,i=0,n=cells.length;i<n;++i)if((cell=cells[i])&&(m=(halfedges=cell.halfedges).length)){var index=new Array(m),array=new Array(m);for(j=0;j<m;++j)index[j]=j,array[j]=cellHalfedgeAngle(cell,edges[halfedges[j]]);index.sort(function(i,j){return array[j]-array[i]});for(j=0;j<m;++j)array[j]=halfedges[index[j]];for(j=0;j<m;++j)halfedges[j]=array[j]}}function clipCells(x0,y0,x1,y1){var iCell,cell,site,iHalfedge,halfedges,nHalfedges,start,startX,startY,end,endX,endY,nCells=cells.length,cover=true;for(iCell=0;iCell<nCells;++iCell)if(cell=cells[iCell]){site=cell.site;halfedges=cell.halfedges;iHalfedge=halfedges.length;while(iHalfedge--)edges[halfedges[iHalfedge]]||halfedges.splice(iHalfedge,1);iHalfedge=0,nHalfedges=halfedges.length;while(iHalfedge<nHalfedges){end=cellHalfedgeEnd(cell,edges[halfedges[iHalfedge]]),endX=end[0],endY=end[1];start=cellHalfedgeStart(cell,edges[halfedges[++iHalfedge%nHalfedges]]),startX=start[0],startY=start[1];if(Math.abs(endX-startX)>epsilon$3||Math.abs(endY-startY)>epsilon$3){halfedges.splice(iHalfedge,0,edges.push(createBorderEdge(site,end,Math.abs(endX-x0)<epsilon$3&&y1-endY>epsilon$3?[x0,Math.abs(startX-x0)<epsilon$3?startY:y1]:Math.abs(endY-y1)<epsilon$3&&x1-endX>epsilon$3?[Math.abs(startY-y1)<epsilon$3?startX:x1,y1]:Math.abs(endX-x1)<epsilon$3&&endY-y0>epsilon$3?[x1,Math.abs(startX-x1)<epsilon$3?startY:y0]:Math.abs(endY-y0)<epsilon$3&&endX-x0>epsilon$3?[Math.abs(startY-y0)<epsilon$3?startX:x0,y0]:null))-1);++nHalfedges}}nHalfedges&&(cover=false)}if(cover){var dx,dy,d2,dc=Infinity;for(iCell=0,cover=null;iCell<nCells;++iCell)if(cell=cells[iCell]){site=cell.site;dx=site[0]-x0;dy=site[1]-y0;d2=dx*dx+dy*dy;d2<dc&&(dc=d2,cover=cell)}if(cover){var v00=[x0,y0],v01=[x0,y1],v11=[x1,y1],v10=[x1,y0];cover.halfedges.push(edges.push(createBorderEdge(site=cover.site,v00,v01))-1,edges.push(createBorderEdge(site,v01,v11))-1,edges.push(createBorderEdge(site,v11,v10))-1,edges.push(createBorderEdge(site,v10,v00))-1)}}for(iCell=0;iCell<nCells;++iCell)(cell=cells[iCell])&&(cell.halfedges.length||delete cells[iCell])}var circlePool=[];var firstCircle;function Circle(){RedBlackNode(this);this.x=this.y=this.arc=this.site=this.cy=null}function attachCircle(arc){var lArc=arc.P,rArc=arc.N;if(!lArc||!rArc)return;var lSite=lArc.site,cSite=arc.site,rSite=rArc.site;if(lSite===rSite)return;var bx=cSite[0],by=cSite[1],ax=lSite[0]-bx,ay=lSite[1]-by,cx=rSite[0]-bx,cy=rSite[1]-by;var d=2*(ax*cy-ay*cx);if(d>=-epsilon2$2)return;var ha=ax*ax+ay*ay,hc=cx*cx+cy*cy,x=(cy*ha-ay*hc)/d,y=(ax*hc-cx*ha)/d;var circle=circlePool.pop()||new Circle;circle.arc=arc;circle.site=cSite;circle.x=x+bx;circle.y=(circle.cy=y+by)+Math.sqrt(x*x+y*y);arc.circle=circle;var before=null,node=circles._;while(node)if(circle.y<node.y||circle.y===node.y&&circle.x<=node.x){if(!node.L){before=node.P;break}node=node.L}else{if(!node.R){before=node;break}node=node.R}circles.insert(before,circle);before||(firstCircle=circle)}function detachCircle(arc){var circle=arc.circle;if(circle){circle.P||(firstCircle=circle.N);circles.remove(circle);circlePool.push(circle);RedBlackNode(circle);arc.circle=null}}var beachPool=[];function Beach(){RedBlackNode(this);this.edge=this.site=this.circle=null}function createBeach(site){var beach=beachPool.pop()||new Beach;beach.site=site;return beach}function detachBeach(beach){detachCircle(beach);beaches.remove(beach);beachPool.push(beach);RedBlackNode(beach)}function removeBeach(beach){var circle=beach.circle,x=circle.x,y=circle.cy,vertex=[x,y],previous=beach.P,next=beach.N,disappearing=[beach];detachBeach(beach);var lArc=previous;while(lArc.circle&&Math.abs(x-lArc.circle.x)<epsilon$3&&Math.abs(y-lArc.circle.cy)<epsilon$3){previous=lArc.P;disappearing.unshift(lArc);detachBeach(lArc);lArc=previous}disappearing.unshift(lArc);detachCircle(lArc);var rArc=next;while(rArc.circle&&Math.abs(x-rArc.circle.x)<epsilon$3&&Math.abs(y-rArc.circle.cy)<epsilon$3){next=rArc.N;disappearing.push(rArc);detachBeach(rArc);rArc=next}disappearing.push(rArc);detachCircle(rArc);var iArc,nArcs=disappearing.length;for(iArc=1;iArc<nArcs;++iArc){rArc=disappearing[iArc];lArc=disappearing[iArc-1];setEdgeEnd(rArc.edge,lArc.site,rArc.site,vertex)}lArc=disappearing[0];rArc=disappearing[nArcs-1];rArc.edge=createEdge(lArc.site,rArc.site,null,vertex);attachCircle(lArc);attachCircle(rArc)}function addBeach(site){var lArc,rArc,dxl,dxr,x=site[0],directrix=site[1],node=beaches._;while(node){dxl=leftBreakPoint(node,directrix)-x;if(dxl>epsilon$3)node=node.L;else{dxr=x-rightBreakPoint(node,directrix);if(!(dxr>epsilon$3)){if(dxl>-epsilon$3){lArc=node.P;rArc=node}else if(dxr>-epsilon$3){lArc=node;rArc=node.N}else lArc=rArc=node;break}if(!node.R){lArc=node;break}node=node.R}}createCell(site);var newArc=createBeach(site);beaches.insert(lArc,newArc);if(!lArc&&!rArc)return;if(lArc===rArc){detachCircle(lArc);rArc=createBeach(lArc.site);beaches.insert(newArc,rArc);newArc.edge=rArc.edge=createEdge(lArc.site,newArc.site);attachCircle(lArc);attachCircle(rArc);return}if(!rArc){newArc.edge=createEdge(lArc.site,newArc.site);return}detachCircle(lArc);detachCircle(rArc);var lSite=lArc.site,ax=lSite[0],ay=lSite[1],bx=site[0]-ax,by=site[1]-ay,rSite=rArc.site,cx=rSite[0]-ax,cy=rSite[1]-ay,d=2*(bx*cy-by*cx),hb=bx*bx+by*by,hc=cx*cx+cy*cy,vertex=[(cy*hb-by*hc)/d+ax,(bx*hc-cx*hb)/d+ay];setEdgeEnd(rArc.edge,lSite,rSite,vertex);newArc.edge=createEdge(lSite,site,null,vertex);rArc.edge=createEdge(site,rSite,null,vertex);attachCircle(lArc);attachCircle(rArc)}function leftBreakPoint(arc,directrix){var site=arc.site,rfocx=site[0],rfocy=site[1],pby2=rfocy-directrix;if(!pby2)return rfocx;var lArc=arc.P;if(!lArc)return-Infinity;site=lArc.site;var lfocx=site[0],lfocy=site[1],plby2=lfocy-directrix;if(!plby2)return lfocx;var hl=lfocx-rfocx,aby2=1/pby2-1/plby2,b=hl/plby2;if(aby2)return(-b+Math.sqrt(b*b-2*aby2*(hl*hl/(-2*plby2)-lfocy+plby2/2+rfocy-pby2/2)))/aby2+rfocx;return(rfocx+lfocx)/2}function rightBreakPoint(arc,directrix){var rArc=arc.N;if(rArc)return leftBreakPoint(rArc,directrix);var site=arc.site;return site[1]===directrix?site[0]:Infinity}var epsilon$3=1e-6;var epsilon2$2=1e-12;var beaches;var cells;var circles;var edges;function triangleArea(a,b,c){return(a[0]-c[0])*(b[1]-a[1])-(a[0]-b[0])*(c[1]-a[1])}function lexicographic(a,b){return b[1]-a[1]||b[0]-a[0]}function Diagram(sites,extent){var x,y,circle,site=sites.sort(lexicographic).pop();edges=[];cells=new Array(sites.length);beaches=new RedBlackTree;circles=new RedBlackTree;while(true){circle=firstCircle;if(site&&(!circle||site[1]<circle.y||site[1]===circle.y&&site[0]<circle.x)){if(site[0]!==x||site[1]!==y){addBeach(site);x=site[0],y=site[1]}site=sites.pop()}else{if(!circle)break;removeBeach(circle.arc)}}sortCellHalfedges();if(extent){var x0=+extent[0][0],y0=+extent[0][1],x1=+extent[1][0],y1=+extent[1][1];clipEdges(x0,y0,x1,y1);clipCells(x0,y0,x1,y1)}this.edges=edges;this.cells=cells;beaches=circles=edges=cells=null}Diagram.prototype={constructor:Diagram,polygons:function(){var edges=this.edges;return this.cells.map(function(cell){var polygon=cell.halfedges.map(function(i){return cellHalfedgeStart(cell,edges[i])});polygon.data=cell.site.data;return polygon})},triangles:function(){var triangles=[],edges=this.edges;this.cells.forEach(function(cell,i){if(!(m=(halfedges=cell.halfedges).length))return;var halfedges,m,s0,site=cell.site,j=-1,e1=edges[halfedges[m-1]],s1=e1.left===site?e1.right:e1.left;while(++j<m){s0=s1;e1=edges[halfedges[j]];s1=e1.left===site?e1.right:e1.left;s0&&s1&&i<s0.index&&i<s1.index&&triangleArea(site,s0,s1)<0&&triangles.push([site.data,s0.data,s1.data])}});return triangles},links:function(){return this.edges.filter(function(edge){return edge.right}).map(function(edge){return{source:edge.left.data,target:edge.right.data}})},find:function(x,y,radius){var i0,cell,that=this,i1=that._found||0,n=that.cells.length;while(!(cell=that.cells[i1]))if(++i1>=n)return null;var dx=x-cell.site[0],dy=y-cell.site[1],d2=dx*dx+dy*dy;do{cell=that.cells[i0=i1],i1=null;cell.halfedges.forEach(function(e){var edge=that.edges[e],v=edge.left;if((v===cell.site||!v)&&!(v=edge.right))return;var vx=x-v[0],vy=y-v[1],v2=vx*vx+vy*vy;v2<d2&&(d2=v2,i1=v.index)})}while(null!==i1);that._found=i0;return null==radius||d2<=radius*radius?cell.site:null}};function voronoi(){var x$$1=x$4,y$$1=y$4,extent=null;function voronoi(data){return new Diagram(data.map(function(d,i){var s=[Math.round(x$$1(d,i,data)/epsilon$3)*epsilon$3,Math.round(y$$1(d,i,data)/epsilon$3)*epsilon$3];s.index=i;s.data=d;return s}),extent)}voronoi.polygons=function(data){return voronoi(data).polygons()};voronoi.links=function(data){return voronoi(data).links()};voronoi.triangles=function(data){return voronoi(data).triangles()};voronoi.x=function(_){return arguments.length?(x$$1="function"===typeof _?_:constant$a(+_),voronoi):x$$1};voronoi.y=function(_){return arguments.length?(y$$1="function"===typeof _?_:constant$a(+_),voronoi):y$$1};voronoi.extent=function(_){return arguments.length?(extent=null==_?null:[[+_[0][0],+_[0][1]],[+_[1][0],+_[1][1]]],voronoi):extent&&[[extent[0][0],extent[0][1]],[extent[1][0],extent[1][1]]]};voronoi.size=function(_){return arguments.length?(extent=null==_?null:[[0,0],[+_[0],+_[1]]],voronoi):extent&&[extent[1][0]-extent[0][0],extent[1][1]-extent[0][1]]};return voronoi}function Voronoi(params){Transform.call(this,null,params)}Voronoi.Definition={type:"Voronoi",metadata:{modifies:true},params:[{name:"x",type:"field",required:true},{name:"y",type:"field",required:true},{name:"size",type:"number",array:true,length:2},{name:"extent",type:"array",array:true,length:2,default:[[-1e5,-1e5],[1e5,1e5]],content:{type:"number",array:true,length:2}},{name:"as",type:"string",default:"path"}]};var prototype$1h=inherits(Voronoi,Transform);var defaultExtent=[[-1e5,-1e5],[1e5,1e5]];prototype$1h.transform=function(_,pulse){var diagram,polygons,i,n,as=_.as||"path",data=pulse.source;diagram=voronoi().x(_.x).y(_.y);_.size?diagram.size(_.size):diagram.extent(_.extent||defaultExtent);this.value=diagram=diagram(data);polygons=diagram.polygons();for(i=0,n=data.length;i<n;++i)data[i][as]=polygons[i]?"M"+polygons[i].join("L")+"Z":null;return pulse.reflow(_.modified()).modifies(as)};var voronoi$1=Object.freeze({voronoi:Voronoi});var cloudRadians=Math.PI/180,cw=64,ch=2048;function cloud(){var text,font,fontSize,fontStyle,fontWeight,rotate,padding,size=[256,256],spiral=archimedeanSpiral,words=[],random=Math.random,cloud={};cloud.layout=function(){var contextAndRatio=getContext(canvas()),board=zeroArray((size[0]>>5)*size[1]),bounds=null,n=words.length,i=-1,tags=[],data=words.map(function(d){return{text:text(d),font:font(d),style:fontStyle(d),weight:fontWeight(d),rotate:rotate(d),size:~~fontSize(d),padding:padding(d),xoff:0,yoff:0,x1:0,y1:0,x0:0,y0:0,hasText:false,sprite:null,datum:d}}).sort(function(a,b){return b.size-a.size});while(++i<n){var d=data[i];d.x=size[0]*(random()+.5)>>1;d.y=size[1]*(random()+.5)>>1;cloudSprite(contextAndRatio,d,data,i);if(d.hasText&&place(board,d,bounds)){tags.push(d);bounds?cloudBounds(bounds,d):bounds=[{x:d.x+d.x0,y:d.y+d.y0},{x:d.x+d.x1,y:d.y+d.y1}];d.x-=size[0]>>1;d.y-=size[1]>>1}}return tags};function getContext(canvas$$1){canvas$$1.width=canvas$$1.height=1;var ratio=Math.sqrt(canvas$$1.getContext("2d").getImageData(0,0,1,1).data.length>>2);canvas$$1.width=(cw<<5)/ratio;canvas$$1.height=ch/ratio;var context=canvas$$1.getContext("2d");context.fillStyle=context.strokeStyle="red";context.textAlign="center";return{context:context,ratio:ratio}}function place(board,tag,bounds){var dxdy,dx,dy,startX=tag.x,startY=tag.y,maxDelta=Math.sqrt(size[0]*size[0]+size[1]*size[1]),s=spiral(size),dt=random()<.5?1:-1,t=-dt;while(dxdy=s(t+=dt)){dx=~~dxdy[0];dy=~~dxdy[1];if(Math.min(Math.abs(dx),Math.abs(dy))>=maxDelta)break;tag.x=startX+dx;tag.y=startY+dy;if(tag.x+tag.x0<0||tag.y+tag.y0<0||tag.x+tag.x1>size[0]||tag.y+tag.y1>size[1])continue;if((!bounds||!cloudCollide(tag,board,size[0]))&&(!bounds||collideRects(tag,bounds))){var last,sprite=tag.sprite,w=tag.width>>5,sw=size[0]>>5,lx=tag.x-(w<<4),sx=127&lx,msx=32-sx,h=tag.y1-tag.y0,x=(tag.y+tag.y0)*sw+(lx>>5);for(var j=0;j<h;j++){last=0;for(var i=0;i<=w;i++)board[x+i]|=last<<msx|(i<w?(last=sprite[j*w+i])>>>sx:0);x+=sw}tag.sprite=null;return true}}return false}cloud.words=function(_){if(arguments.length){words=_;return cloud}return words};cloud.size=function(_){if(arguments.length){size=[+_[0],+_[1]];return cloud}return size};cloud.font=function(_){if(arguments.length){font=functor(_);return cloud}return font};cloud.fontStyle=function(_){if(arguments.length){fontStyle=functor(_);return cloud}return fontStyle};cloud.fontWeight=function(_){if(arguments.length){fontWeight=functor(_);return cloud}return fontWeight};cloud.rotate=function(_){if(arguments.length){rotate=functor(_);return cloud}return rotate};cloud.text=function(_){if(arguments.length){text=functor(_);return cloud}return text};cloud.spiral=function(_){if(arguments.length){spiral=spirals[_]||_;return cloud}return spiral};cloud.fontSize=function(_){if(arguments.length){fontSize=functor(_);return cloud}return fontSize};cloud.padding=function(_){if(arguments.length){padding=functor(_);return cloud}return padding};cloud.random=function(_){if(arguments.length){random=_;return cloud}return random};return cloud}function cloudSprite(contextAndRatio,d,data,di){if(d.sprite)return;var c=contextAndRatio.context,ratio=contextAndRatio.ratio;c.clearRect(0,0,(cw<<5)/ratio,ch/ratio);var w,w32,h,i,j,x=0,y=0,maxh=0,n=data.length;--di;while(++di<n){d=data[di];c.save();c.font=d.style+" "+d.weight+" "+~~((d.size+1)/ratio)+"px "+d.font;w=c.measureText(d.text+"m").width*ratio;h=d.size<<1;if(d.rotate){var sr=Math.sin(d.rotate*cloudRadians),cr=Math.cos(d.rotate*cloudRadians),wcr=w*cr,wsr=w*sr,hcr=h*cr,hsr=h*sr;w=Math.max(Math.abs(wcr+hsr),Math.abs(wcr-hsr))+31>>5<<5;h=~~Math.max(Math.abs(wsr+hcr),Math.abs(wsr-hcr))}else w=w+31>>5<<5;h>maxh&&(maxh=h);if(x+w>=cw<<5){x=0;y+=maxh;maxh=0}if(y+h>=ch)break;c.translate((x+(w>>1))/ratio,(y+(h>>1))/ratio);d.rotate&&c.rotate(d.rotate*cloudRadians);c.fillText(d.text,0,0);if(d.padding){c.lineWidth=2*d.padding;c.strokeText(d.text,0,0)}c.restore();d.width=w;d.height=h;d.xoff=x;d.yoff=y;d.x1=w>>1;d.y1=h>>1;d.x0=-d.x1;d.y0=-d.y1;d.hasText=true;x+=w}var pixels=c.getImageData(0,0,(cw<<5)/ratio,ch/ratio).data,sprite=[];while(--di>=0){d=data[di];if(!d.hasText)continue;w=d.width;w32=w>>5;h=d.y1-d.y0;for(i=0;i<h*w32;i++)sprite[i]=0;x=d.xoff;if(null==x)return;y=d.yoff;var seen=0,seenRow=-1;for(j=0;j<h;j++){for(i=0;i<w;i++){var k=w32*j+(i>>5),m=pixels[(y+j)*(cw<<5)+(x+i)<<2]?1<<31-i%32:0;sprite[k]|=m;seen|=m}if(seen)seenRow=j;else{d.y0++;h--;j--;y++}}d.y1=d.y0+seenRow;d.sprite=sprite.slice(0,(d.y1-d.y0)*w32)}}function cloudCollide(tag,board,sw){sw>>=5;var last,sprite=tag.sprite,w=tag.width>>5,lx=tag.x-(w<<4),sx=127&lx,msx=32-sx,h=tag.y1-tag.y0,x=(tag.y+tag.y0)*sw+(lx>>5);for(var j=0;j<h;j++){last=0;for(var i=0;i<=w;i++)if((last<<msx|(i<w?(last=sprite[j*w+i])>>>sx:0))&board[x+i])return true;x+=sw}return false}function cloudBounds(bounds,d){var b0=bounds[0],b1=bounds[1];d.x+d.x0<b0.x&&(b0.x=d.x+d.x0);d.y+d.y0<b0.y&&(b0.y=d.y+d.y0);d.x+d.x1>b1.x&&(b1.x=d.x+d.x1);d.y+d.y1>b1.y&&(b1.y=d.y+d.y1)}function collideRects(a,b){return a.x+a.x1>b[0].x&&a.x+a.x0<b[1].x&&a.y+a.y1>b[0].y&&a.y+a.y0<b[1].y}function archimedeanSpiral(size){var e=size[0]/size[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function rectangularSpiral(size){var dy=4,dx=dy*size[0]/size[1],x=0,y=0;return function(t){var sign=t<0?-1:1;switch(Math.sqrt(1+4*sign*t)-sign&3){case 0:x+=dx;break;case 1:y+=dy;break;case 2:x-=dx;break;default:y-=dy}return[x,y]}}function zeroArray(n){var a=[],i=-1;while(++i<n)a[i]=0;return a}function functor(d){return"function"===typeof d?d:function(){return d}}var spirals={archimedean:archimedeanSpiral,rectangular:rectangularSpiral};var Output$4=["x","y","font","fontSize","fontStyle","fontWeight","angle"];var Params$1=["text","font","rotate","fontSize","fontStyle","fontWeight"];function Wordcloud(params){Transform.call(this,cloud(),params)}Wordcloud.Definition={type:"Wordcloud",metadata:{modifies:true},params:[{name:"size",type:"number",array:true,length:2},{name:"font",type:"string",expr:true,default:"sans-serif"},{name:"fontStyle",type:"string",expr:true,default:"normal"},{name:"fontWeight",type:"string",expr:true,default:"normal"},{name:"fontSize",type:"number",expr:true,default:14},{name:"fontSizeRange",type:"number",array:"nullable",default:[10,50]},{name:"rotate",type:"number",expr:true,default:0},{name:"text",type:"field"},{name:"spiral",type:"string",values:["archimedean","rectangular"]},{name:"padding",type:"number",expr:true},{name:"as",type:"string",array:true,length:7,default:Output$4}]};var prototype$1i=inherits(Wordcloud,Transform);prototype$1i.transform=function(_,pulse){function modp(param){var p=_[param];return isFunction(p)&&pulse.modified(p.fields)}var mod=_.modified();if(!(mod||pulse.changed(pulse.ADD_REM)||Params$1.some(modp)))return;var range,data=pulse.materialize(pulse.SOURCE).source,layout=this.value,as=_.as||Output$4,fontSize=_.fontSize||14;isFunction(fontSize)?range=_.fontSizeRange:fontSize=constant(fontSize);if(range){var fsize=fontSize,sizeScale=scale$1("sqrt")().domain(extent$2(fsize,data)).range(range);fontSize=function(x){return sizeScale(fsize(x))}}data.forEach(function(t){t[as[0]]=NaN;t[as[1]]=NaN;t[as[3]]=0});var words=layout.words(data).text(_.text).size(_.size||[500,500]).padding(_.padding||1).spiral(_.spiral||"archimedean").rotate(_.rotate||0).font(_.font||"sans-serif").fontStyle(_.fontStyle||"normal").fontWeight(_.fontWeight||"normal").fontSize(fontSize).random(exports.random).layout();var w,t,size=layout.size(),dx=size[0]>>1,dy=size[1]>>1,i=0,n=words.length;for(;i<n;++i){w=words[i];t=w.datum;t[as[0]]=w.x+dx;t[as[1]]=w.y+dy;t[as[2]]=w.font;t[as[3]]=w.size;t[as[4]]=w.style;t[as[5]]=w.weight;t[as[6]]=w.rotate}return pulse.reflow(mod).modifies(as)};function extent$2(field$$1,data){var v,min=Infinity,max=-Infinity,i=0,n=data.length;for(;i<n;++i){v=field$$1(data[i]);v<min&&(min=v);v>max&&(max=v)}return[min,max]}var wordcloud=Object.freeze({wordcloud:Wordcloud});function array8(n){return new Uint8Array(n)}function array16(n){return new Uint16Array(n)}function array32(n){return new Uint32Array(n)}function Bitmaps(){var width=8,data=[],seen=array32(0),curr=array$5(0,width),prev=array$5(0,width);return{data:function(){return data},seen:function(){return seen=lengthen(seen,data.length)},add:function(array){for(var t,i=0,j=data.length,n=array.length;i<n;++i){t=array[i];t._index=j++;data.push(t)}},remove:function(num,map){var t,i,j,n=data.length,copy=Array(n-num),reindex=data;for(i=0;!map[i]&&i<n;++i){copy[i]=data[i];reindex[i]=i}for(j=i;i<n;++i){t=data[i];if(map[i])reindex[i]=-1;else{reindex[i]=j;curr[j]=curr[i];prev[j]=prev[i];copy[j]=t;t._index=j++}curr[i]=0}data=copy;return reindex},size:function(){return data.length},curr:function(){return curr},prev:function(){return prev},reset:function(k){prev[k]=curr[k]},all:function(){return width<257?255:width<65537?65535:4294967295},set:function(k,one){curr[k]|=one},clear:function(k,one){curr[k]&=~one},resize:function(n,m){var k=curr.length;if(n>k||m>width){width=Math.max(m,width);curr=array$5(n,width,curr);prev=array$5(n,width)}}}}function lengthen(array,length,copy){if(array.length>=length)return array;copy=copy||new array.constructor(length);copy.set(array);return copy}function array$5(n,m,array){var copy=(m<257?array8:m<65537?array16:array32)(n);array&&copy.set(array);return copy}function Dimension(index,i,query){var bit=1<<i;return{one:bit,zero:~bit,range:query.slice(),bisect:index.bisect,index:index.index,size:index.size,onAdd:function(added,curr){var i,dim=this,range=dim.bisect(dim.range,added.value),idx=added.index,lo=range[0],hi=range[1],n1=idx.length;for(i=0;i<lo;++i)curr[idx[i]]|=bit;for(i=hi;i<n1;++i)curr[idx[i]]|=bit;return dim}}}function SortedIndex(){var index=array32(0),value=[],size=0;function insert(key,data,base){if(!data.length)return[];var oldv,oldi,i,n0=size,n1=data.length,addv=Array(n1),addi=array32(n1);for(i=0;i<n1;++i){addv[i]=key(data[i]);addi[i]=i}addv=sort(addv,addi);if(n0){oldv=value;oldi=index;value=Array(n0+n1);index=array32(n0+n1);merge$3(base,oldv,oldi,n0,addv,addi,n1,value,index)}else{if(base>0)for(i=0;i<n1;++i)addi[i]+=base;value=addv;index=addi}size=n0+n1;return{index:addi,value:addv}}function remove(num,map){var idx,i,j,n=size;for(i=0;!map[index[i]]&&i<n;++i);for(j=i;i<n;++i)if(!map[idx=index[i]]){index[j]=idx;value[j]=value[i];++j}size=n-num}function reindex(map){for(var i=0,n=size;i<n;++i)index[i]=map[index[i]]}function bisect(range$$1,array){var n;if(array)n=array.length;else{array=value;n=size}return[bisectLeft(array,range$$1[0],0,n),bisectRight(array,range$$1[1],0,n)]}return{insert:insert,remove:remove,bisect:bisect,reindex:reindex,index:function(){return index},size:function(){return size}}}function sort(values,index){values.sort.call(index,function(a,b){var x=values[a],y=values[b];return x<y?-1:x>y?1:0});return permute(values,index)}function merge$3(base,value0,index0,n0,value1,index1,n1,value,index){var i,i0=0,i1=0;for(i=0;i0<n0&&i1<n1;++i)if(value0[i0]<value1[i1]){value[i]=value0[i0];index[i]=index0[i0++]}else{value[i]=value1[i1];index[i]=index1[i1++]+base}for(;i0<n0;++i0,++i){value[i]=value0[i0];index[i]=index0[i0]}for(;i1<n1;++i1,++i){value[i]=value1[i1];index[i]=index1[i1]+base}}function CrossFilter(params){Transform.call(this,Bitmaps(),params);this._indices=null;this._dims=null}CrossFilter.Definition={type:"CrossFilter",metadata:{},params:[{name:"fields",type:"field",array:true,required:true},{name:"query",type:"array",array:true,required:true,content:{type:"number",array:true,length:2}}]};var prototype$1j=inherits(CrossFilter,Transform);prototype$1j.transform=function(_,pulse){if(this._dims){var init=_.modified("fields")||_.fields.some(function(f){return pulse.modified(f.fields)});return init?this.reinit(_,pulse):this.eval(_,pulse)}return this.init(_,pulse)};prototype$1j.init=function(_,pulse){var key$$1,index,fields=_.fields,query=_.query,indices=this._indices={},dims=this._dims=[],m=query.length,i=0;for(;i<m;++i){key$$1=fields[i].fname;index=indices[key$$1]||(indices[key$$1]=SortedIndex());dims.push(Dimension(index,i,query[i]))}return this.eval(_,pulse)};prototype$1j.reinit=function(_,pulse){var add,index,key$$1,mods,remMap,modMap,i,n,f,output=pulse.materialize().fork(),fields=_.fields,query=_.query,indices=this._indices,dims=this._dims,bits=this.value,curr=bits.curr(),prev=bits.prev(),all=bits.all(),out=output.rem=output.add,mod=output.mod,m=query.length,adds={};prev.set(curr);pulse.rem.length&&(remMap=this.remove(_,pulse,output));pulse.add.length&&bits.add(pulse.add);if(pulse.mod.length){modMap={};for(mods=pulse.mod,i=0,n=mods.length;i<n;++i)modMap[mods[i]._index]=1}for(i=0;i<m;++i){f=fields[i];if(!dims[i]||_.modified("fields",i)||pulse.modified(f.fields)){key$$1=f.fname;if(!(add=adds[key$$1])){indices[key$$1]=index=SortedIndex();adds[key$$1]=add=index.insert(f,pulse.source,0)}dims[i]=Dimension(index,i,query[i]).onAdd(add,curr)}}for(i=0,n=bits.data().length;i<n;++i){if(remMap[i])continue;prev[i]!==curr[i]?out.push(i):modMap[i]&&curr[i]!==all&&mod.push(i)}bits.mask=(1<<m)-1;return output};prototype$1j.eval=function(_,pulse){var output=pulse.materialize().fork(),m=this._dims.length,mask=0;if(pulse.rem.length){this.remove(_,pulse,output);mask|=(1<<m)-1}_.modified("query")&&!_.modified("fields")&&(mask|=this.update(_,pulse,output));if(pulse.add.length){this.insert(_,pulse,output);mask|=(1<<m)-1}if(pulse.mod.length){this.modify(pulse,output);mask|=(1<<m)-1}this.value.mask=mask;return output};prototype$1j.insert=function(_,pulse,output){var j,key$$1,add,tuples=pulse.add,bits=this.value,dims=this._dims,indices=this._indices,fields=_.fields,adds={},out=output.add,k=bits.size(),n=k+tuples.length,m=dims.length;bits.resize(n,m);bits.add(tuples);var curr=bits.curr(),prev=bits.prev(),all=bits.all();for(j=0;j<m;++j){key$$1=fields[j].fname;add=adds[key$$1]||(adds[key$$1]=indices[key$$1].insert(fields[j],tuples,k));dims[j].onAdd(add,curr)}for(;k<n;++k){prev[k]=all;curr[k]!==all&&out.push(k)}};prototype$1j.modify=function(pulse,output){var i,n,k,out=output.mod,bits=this.value,curr=bits.curr(),all=bits.all(),tuples=pulse.mod;for(i=0,n=tuples.length;i<n;++i){k=tuples[i]._index;curr[k]!==all&&out.push(k)}};prototype$1j.remove=function(_,pulse,output){var i,n,k,f,indices=this._indices,bits=this.value,curr=bits.curr(),prev=bits.prev(),all=bits.all(),map={},out=output.rem,tuples=pulse.rem;for(i=0,n=tuples.length;i<n;++i){k=tuples[i]._index;map[k]=1;prev[k]=f=curr[k];curr[k]=all;f!==all&&out.push(k)}for(k in indices)indices[k].remove(n,map);this.reindex(pulse,n,map);return map};prototype$1j.reindex=function(pulse,num,map){var indices=this._indices,bits=this.value;pulse.runAfter(function(){var indexMap=bits.remove(num,map);for(var key$$1 in indices)indices[key$$1].reindex(indexMap)})};prototype$1j.update=function(_,pulse,output){var i,q,dims=this._dims,query=_.query,stamp=pulse.stamp,m=dims.length,mask=0;output.filters=0;for(q=0;q<m;++q)if(_.modified("query",q)){i=q;++mask}if(1===mask){mask=dims[i].one;this.incrementOne(dims[i],query[i],output.add,output.rem)}else for(q=0,mask=0;q<m;++q){if(!_.modified("query",q))continue;mask|=dims[q].one;this.incrementAll(dims[q],query[q],stamp,output.add);output.rem=output.add}return mask};prototype$1j.incrementAll=function(dim,query,stamp,out){var i,j,k,bits=this.value,seen=bits.seen(),curr=bits.curr(),prev=bits.prev(),index=dim.index(),old=dim.bisect(dim.range),range=dim.bisect(query),lo1=range[0],hi1=range[1],lo0=old[0],hi0=old[1],one$$1=dim.one;if(lo1<lo0)for(i=lo1,j=Math.min(lo0,hi1);i<j;++i){k=index[i];if(seen[k]!==stamp){prev[k]=curr[k];seen[k]=stamp;out.push(k)}curr[k]^=one$$1}else if(lo1>lo0)for(i=lo0,j=Math.min(lo1,hi0);i<j;++i){k=index[i];if(seen[k]!==stamp){prev[k]=curr[k];seen[k]=stamp;out.push(k)}curr[k]^=one$$1}if(hi1>hi0)for(i=Math.max(lo1,hi0),j=hi1;i<j;++i){k=index[i];if(seen[k]!==stamp){prev[k]=curr[k];seen[k]=stamp;out.push(k)}curr[k]^=one$$1}else if(hi1<hi0)for(i=Math.max(lo0,hi1),j=hi0;i<j;++i){k=index[i];if(seen[k]!==stamp){prev[k]=curr[k];seen[k]=stamp;out.push(k)}curr[k]^=one$$1}dim.range=query.slice()};prototype$1j.incrementOne=function(dim,query,add,rem){var i,j,k,bits=this.value,curr=bits.curr(),index=dim.index(),old=dim.bisect(dim.range),range=dim.bisect(query),lo1=range[0],hi1=range[1],lo0=old[0],hi0=old[1],one$$1=dim.one;if(lo1<lo0)for(i=lo1,j=Math.min(lo0,hi1);i<j;++i){k=index[i];curr[k]^=one$$1;add.push(k)}else if(lo1>lo0)for(i=lo0,j=Math.min(lo1,hi0);i<j;++i){k=index[i];curr[k]^=one$$1;rem.push(k)}if(hi1>hi0)for(i=Math.max(lo1,hi0),j=hi1;i<j;++i){k=index[i];curr[k]^=one$$1;add.push(k)}else if(hi1<hi0)for(i=Math.max(lo0,hi1),j=hi0;i<j;++i){k=index[i];curr[k]^=one$$1;rem.push(k)}dim.range=query.slice()};function ResolveFilter(params){Transform.call(this,null,params)}ResolveFilter.Definition={type:"ResolveFilter",metadata:{},params:[{name:"ignore",type:"number",required:true,description:"A bit mask indicating which filters to ignore."},{name:"filter",type:"object",required:true,description:"Per-tuple filter bitmaps from a CrossFilter transform."}]};var prototype$1k=inherits(ResolveFilter,Transform);prototype$1k.transform=function(_,pulse){var ignore=~(_.ignore||0),bitmap=_.filter,mask=bitmap.mask;if(0===(mask&ignore))return pulse.StopPropagation;var output=pulse.fork(pulse.ALL),data=bitmap.data(),curr=bitmap.curr(),prev=bitmap.prev(),pass=function(k){return curr[k]&ignore?null:data[k]};output.filter(output.MOD,pass);if(mask&mask-1){output.filter(output.ADD,function(k){var c=curr[k]&ignore,f=!c&&c^prev[k]&ignore;return f?data[k]:null});output.filter(output.REM,function(k){var c=curr[k]&ignore,f=c&&!(c^c^prev[k]&ignore);return f?data[k]:null})}else{output.filter(output.ADD,pass);output.filter(output.REM,function(k){return(curr[k]&ignore)===mask?data[k]:null})}return output.filter(output.SOURCE,function(t){return pass(t._index)})};var xf=Object.freeze({crossfilter:CrossFilter,resolvefilter:ResolveFilter});var version="4.3.0";var Default="default";function cursor(view){var cursor=view._signals.cursor;cursor||(view._signals.cursor=cursor=view.add({user:Default,item:null}));view.on(view.events("view","mousemove"),cursor,function(_,event){var value=cursor.value,user=value?isString(value)?value:value.user:Default,item=event.item&&event.item.cursor||null;return value&&user===value.user&&item==value.item?value:{user:user,item:item}});view.add(null,function(_){var user=_.cursor,item=this.value;if(!isString(user)){item=user.item;user=user.user}setCursor(user&&user!==Default?user:item||user);return item},{cursor:cursor})}function setCursor(cursor){"undefined"!==typeof document&&document.body&&(document.body.style.cursor=cursor)}function dataref(view,name){var data=view._runtime.data;data.hasOwnProperty(name)||error("Unrecognized data set: "+name);return data[name]}function data(name){return dataref(this,name).values.value}function change(name,changes){isChangeSet(changes)||error("Second argument to changes must be a changeset.");var dataset=dataref(this,name);dataset.modified=true;return this.pulse(dataset.input,changes)}function insert(name,_){return change.call(this,name,changeset().insert(_))}function remove(name,_){return change.call(this,name,changeset().remove(_))}function width(view){var padding=view.padding();return Math.max(0,view._viewWidth+padding.left+padding.right)}function height(view){var padding=view.padding();return Math.max(0,view._viewHeight+padding.top+padding.bottom)}function offset$1(view){var padding=view.padding(),origin=view._origin;return[padding.left+origin[0],padding.top+origin[1]]}function resizeRenderer(view){var origin=offset$1(view),w=width(view),h=height(view);view._renderer.background(view._background);view._renderer.resize(w,h,origin);view._handler.origin(origin);view._resizeListeners.forEach(function(handler){try{handler(w,h)}catch(error){view.error(error)}})}function eventExtend(view,event,item){var p,e,translate,el=view._renderer.canvas();if(el){translate=offset$1(view);e=event.changedTouches?event.changedTouches[0]:event;p=point$4(e,el);p[0]-=translate[0];p[1]-=translate[1]}event.dataflow=view;event.vega=extension(view,item,p);event.item=item;return event}function extension(view,item,point){var itemGroup=item?"group"===item.mark.marktype?item:item.mark.group:null;function group(name){var i,g=itemGroup;if(name)for(i=item;i;i=i.mark.group)if(i.mark.name===name){g=i;break}return g&&g.mark&&g.mark.interactive?g:{}}function xy(item){if(!item)return point;isString(item)&&(item=group(item));var p=point.slice();while(item){p[0]-=item.x||0;p[1]-=item.y||0;item=item.mark&&item.mark.group}return p}return{view:constant(view),item:constant(item||{}),group:group,xy:xy,x:function(item){return xy(item)[0]},y:function(item){return xy(item)[1]}}}var VIEW="view",TIMER="timer",WINDOW="window",NO_TRAP={trap:false};function initializeEventConfig(config){config=extend({},config);var def=config.defaults;if(def){isArray(def.prevent)&&(def.prevent=toSet(def.prevent));isArray(def.allow)&&(def.allow=toSet(def.allow))}return config}function prevent(view,type){var def=view._eventConfig.defaults,prevent=def&&def.prevent,allow=def&&def.allow;return false!==prevent&&true!==allow&&(true===prevent||false===allow||(prevent?prevent[type]:allow?!allow[type]:view.preventDefault()))}function events$1(source,type,filter){var sources,view=this,s=new EventStream(filter),send=function(e,item){source===VIEW&&prevent(view,type)&&e.preventDefault();try{s.receive(eventExtend(view,e,item))}catch(error$$1){view.error(error$$1)}finally{view.run()}};if(source===TIMER)view.timer(send,type);else if(source===VIEW)view.addEventListener(type,send,NO_TRAP);else{source===WINDOW?"undefined"!==typeof window&&(sources=[window]):"undefined"!==typeof document&&(sources=document.querySelectorAll(source));if(sources){for(var i=0,n=sources.length;i<n;++i)sources[i].addEventListener(type,send);view._eventListeners.push({type:type,sources:sources,handler:send})}else view.warn("Can not resolve event source: "+source)}return s}function itemFilter(event){return event.item}function markTarget(event){var source=event.item.mark.source;return source.source||source}function invoke(name){return function(_,event){return event.vega.view().changeset().encode(event.item,name)}}function hover(hoverSet,leaveSet){hoverSet=[hoverSet||"hover"];leaveSet=[leaveSet||"update",hoverSet[0]];this.on(this.events("view","mouseover",itemFilter),markTarget,invoke(hoverSet));this.on(this.events("view","mouseout",itemFilter),markTarget,invoke(leaveSet));return this}function finalize(){var n,m,e,tooltip=this._tooltip,timers=this._timers,listeners=this._eventListeners;n=timers.length;while(--n>=0)timers[n].stop();n=listeners.length;while(--n>=0){e=listeners[n];m=e.sources.length;while(--m>=0)e.sources[m].removeEventListener(e.type,e.handler)}tooltip&&tooltip.call(this,this._handler,null,null,null);return this}function element$1(tag,attr,text){var el=document.createElement(tag);for(var key in attr)el.setAttribute(key,attr[key]);null!=text&&(el.textContent=text);return el}var BindClass="vega-bind",NameClass="vega-bind-name",RadioClass="vega-bind-radio",OptionClass="vega-option-";function bind$1(view,el,binding){if(!el)return;var param=binding.param,bind=binding.state;if(!bind){bind=binding.state={elements:null,active:false,set:null,update:function(value){if(value!==view.signal(param.signal)){bind.source=true;view.signal(param.signal,value).run()}}};param.debounce&&(bind.update=debounce(param.debounce,bind.update))}generate(bind,el,param,view.signal(param.signal));if(!bind.active){view.on(view._signals[param.signal],null,function(){bind.source?bind.source=false:bind.set(view.signal(param.signal))});bind.active=true}return bind}function generate(bind,el,param,value){var div=element$1("div",{class:BindClass});div.appendChild(element$1("span",{class:NameClass},param.name||param.signal));el.appendChild(div);var input=form;switch(param.input){case"checkbox":input=checkbox;break;case"select":input=select;break;case"radio":input=radio;break;case"range":input=range$2}input(bind,div,param,value)}function form(bind,el,param,value){var node=element$1("input");for(var key$$1 in param)"signal"!==key$$1&&"element"!==key$$1&&node.setAttribute("input"===key$$1?"type":key$$1,param[key$$1]);node.setAttribute("name",param.signal);node.value=value;el.appendChild(node);node.addEventListener("input",function(){bind.update(node.value)});bind.elements=[node];bind.set=function(value){node.value=value}}function checkbox(bind,el,param,value){var attr={type:"checkbox",name:param.signal};value&&(attr.checked=true);var node=element$1("input",attr);el.appendChild(node);node.addEventListener("change",function(){bind.update(node.checked)});bind.elements=[node];bind.set=function(value){node.checked=!!value||null}}function select(bind,el,param,value){var node=element$1("select",{name:param.signal});param.options.forEach(function(option){var attr={value:option};valuesEqual(option,value)&&(attr.selected=true);node.appendChild(element$1("option",attr,option+""))});el.appendChild(node);node.addEventListener("change",function(){bind.update(param.options[node.selectedIndex])});bind.elements=[node];bind.set=function(value){for(var i=0,n=param.options.length;i<n;++i)if(valuesEqual(param.options[i],value)){node.selectedIndex=i;return}}}function radio(bind,el,param,value){var group=element$1("span",{class:RadioClass});el.appendChild(group);bind.elements=param.options.map(function(option){var id$$1=OptionClass+param.signal+"-"+option;var attr={id:id$$1,type:"radio",name:param.signal,value:option};valuesEqual(option,value)&&(attr.checked=true);var input=element$1("input",attr);input.addEventListener("change",function(){bind.update(option)});group.appendChild(input);group.appendChild(element$1("label",{for:id$$1},option+""));return input});bind.set=function(value){var nodes=bind.elements,i=0,n=nodes.length;for(;i<n;++i)valuesEqual(nodes[i].value,value)&&(nodes[i].checked=true)}}function range$2(bind,el,param,value){value=void 0!==value?value:(+param.max+ +param.min)/2;var min$$1=param.min||Math.min(0,+value)||0,max$$1=param.max||Math.max(100,+value)||100,step=param.step||tickStep(min$$1,max$$1,100);var node=element$1("input",{type:"range",name:param.signal,min:min$$1,max:max$$1,step:step});node.value=value;var label=element$1("label",{},+value);el.appendChild(node);el.appendChild(label);function update(){label.textContent=node.value;bind.update(+node.value)}node.addEventListener("input",update);node.addEventListener("change",update);bind.elements=[node];bind.set=function(value){node.value=value;label.textContent=value}}function valuesEqual(a,b){return a===b||a+""===b+""}function initializeRenderer(view,r,el,constructor,scaleFactor){r=r||new constructor(view.loader());return r.initialize(el,width(view),height(view),offset$1(view),scaleFactor).background(view._background)}function trap(view,fn){return fn?function(){try{fn.apply(this,arguments)}catch(error){view.error(error)}}:null}function initializeHandler(view,prevHandler,el,constructor){var handler=new constructor(view.loader(),trap(view,view.tooltip())).scene(view.scenegraph().root).initialize(el,offset$1(view),view);prevHandler&&prevHandler.handlers().forEach(function(h){handler.on(h.type,h.handler)});return handler}function initialize$1(el,elBind){var Handler$$1,Renderer$$1,view=this,type=view._renderType,module=renderModule(type);el=view._el=el?lookup$3(view,el):null;module||view.error("Unrecognized renderer type: "+type);Handler$$1=module.handler||CanvasHandler;Renderer$$1=el?module.renderer:module.headless;view._renderer=Renderer$$1?initializeRenderer(view,view._renderer,el,Renderer$$1):null;view._handler=initializeHandler(view,view._handler,el,Handler$$1);view._redraw=true;if(el){elBind=elBind?lookup$3(view,elBind):el.appendChild(element$1("div",{class:"vega-bindings"}));view._bind.forEach(function(_){_.param.element&&(_.element=lookup$3(view,_.param.element))});view._bind.forEach(function(_){bind$1(view,_.element||elBind,_)})}return view}function lookup$3(view,el){if("string"===typeof el){if("undefined"===typeof document){view.error("DOM document instance not found.");return null}el=document.querySelector(el);if(!el){view.error("Signal bind element not found: "+el);return null}}if(el)try{el.innerHTML=""}catch(e){el=null;view.error(e)}return el}function renderHeadless(view,type,scaleFactor){var module=renderModule(type),ctr=module&&module.headless;return ctr?view.runAsync().then(function(){return initializeRenderer(view,null,null,ctr,scaleFactor).renderAsync(view._scenegraph.root)}):Promise.reject("Unrecognized renderer type: "+type)}function renderToImageURL(type,scaleFactor){return type!==RenderType.Canvas&&type!==RenderType.SVG&&type!==RenderType.PNG?Promise.reject("Unrecognized image type: "+type):renderHeadless(this,type,scaleFactor).then(function(renderer){return type===RenderType.SVG?toBlobURL(renderer.svg(),"image/svg+xml"):renderer.canvas().toDataURL("image/png")})}function toBlobURL(data,mime){var blob=new Blob([data],{type:mime});return window.URL.createObjectURL(blob)}function renderToCanvas(scaleFactor){return renderHeadless(this,RenderType.Canvas,scaleFactor).then(function(renderer){return renderer.canvas()})}function renderToSVG(scaleFactor){return renderHeadless(this,RenderType.SVG,scaleFactor).then(function(renderer){return renderer.svg()})}function parseAutosize(spec,config){spec=spec||config.autosize;if(isObject(spec))return spec;spec=spec||"pad";return{type:spec}}function parsePadding(spec,config){spec=spec||config.padding;return isObject(spec)?{top:number$5(spec.top),bottom:number$5(spec.bottom),left:number$5(spec.left),right:number$5(spec.right)}:paddingObject(number$5(spec))}function number$5(_){return+_||0}function paddingObject(_){return{top:_,bottom:_,left:_,right:_}}var OUTER="outer",OUTER_INVALID=["value","update","react","bind"];function outerError(prefix,name){error(prefix+' for "outer" push: '+$(name))}function parseSignal(signal,scope){var name=signal.name;if(signal.push===OUTER){scope.signals[name]||outerError("No prior signal definition",name);OUTER_INVALID.forEach(function(prop){void 0!==signal[prop]&&outerError("Invalid property ",prop)})}else{var op=scope.addSignal(name,signal.value);false===signal.react&&(op.react=false);signal.bind&&scope.addBinding(name,signal.bind)}}function ASTNode(type){this.type=type}ASTNode.prototype.visit=function(visitor){var c,i,n,node=this;if(visitor(node))return 1;for(c=children$1(node),i=0,n=c.length;i<n;++i)if(c[i].visit(visitor))return 1};function children$1(node){switch(node.type){case"ArrayExpression":return node.elements;case"BinaryExpression":case"LogicalExpression":return[node.left,node.right];case"CallExpression":var args=node.arguments.slice();args.unshift(node.callee);return args;case"ConditionalExpression":return[node.test,node.consequent,node.alternate];case"MemberExpression":return[node.object,node.property];case"ObjectExpression":return node.properties;case"Property":return[node.key,node.value];case"UnaryExpression":return[node.argument];case"Identifier":case"Literal":case"RawCode":default:return[]}}var TokenName,source$1,index$1,length$2,lookahead;var TokenBooleanLiteral=1,TokenEOF=2,TokenIdentifier=3,TokenKeyword=4,TokenNullLiteral=5,TokenNumericLiteral=6,TokenPunctuator=7,TokenStringLiteral=8,TokenRegularExpression=9;TokenName={};TokenName[TokenBooleanLiteral]="Boolean";TokenName[TokenEOF]="<end>";TokenName[TokenIdentifier]="Identifier";TokenName[TokenKeyword]="Keyword";TokenName[TokenNullLiteral]="Null";TokenName[TokenNumericLiteral]="Numeric";TokenName[TokenPunctuator]="Punctuator";TokenName[TokenStringLiteral]="String";TokenName[TokenRegularExpression]="RegularExpression";var SyntaxArrayExpression="ArrayExpression",SyntaxBinaryExpression="BinaryExpression",SyntaxCallExpression="CallExpression",SyntaxConditionalExpression="ConditionalExpression",SyntaxIdentifier="Identifier",SyntaxLiteral="Literal",SyntaxLogicalExpression="LogicalExpression",SyntaxMemberExpression="MemberExpression",SyntaxObjectExpression="ObjectExpression",SyntaxProperty="Property",SyntaxUnaryExpression="UnaryExpression";var MessageUnexpectedToken="Unexpected token %0",MessageUnexpectedNumber="Unexpected number",MessageUnexpectedString="Unexpected string",MessageUnexpectedIdentifier="Unexpected identifier",MessageUnexpectedReserved="Unexpected reserved word",MessageUnexpectedEOS="Unexpected end of input",MessageInvalidRegExp="Invalid regular expression",MessageUnterminatedRegExp="Invalid regular expression: missing /",MessageStrictOctalLiteral="Octal literals are not allowed in strict mode.",MessageStrictDuplicateProperty="Duplicate data property in object literal not allowed in strict mode";var ILLEGAL="ILLEGAL",DISABLED="Disabled.";var RegexNonAsciiIdentifierStart=new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢲऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ﬀ-ﬆﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼＡ-Ｚａ-ｚｦ-ﾾￂ-ￇￊ-ￏￒ-ￗￚ-ￜ]"),RegexNonAsciiIdentifierPart=new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԯԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠ-ࢲࣤ-ॣ०-९ॱ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఀ-ఃఅ-ఌఎ-ఐఒ-నప-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಁ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲഁ-ഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟ෦-෯ෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤞᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧ᪰-᪽ᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶ᳸᳹ᴀ-᷵᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚝꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꧠ-ꧾꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ﬀ-ﬆﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︭︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ０-９Ａ-Ｚ＿ａ-ｚｦ-ﾾￂ-ￇￊ-ￏￒ-ￗￚ-ￜ]");function assert(condition,message){if(!condition)throw new Error("ASSERT: "+message)}function isDecimalDigit(ch){return ch>=48&&ch<=57}function isHexDigit(ch){return"0123456789abcdefABCDEF".indexOf(ch)>=0}function isOctalDigit(ch){return"01234567".indexOf(ch)>=0}function isWhiteSpace(ch){return 32===ch||9===ch||11===ch||12===ch||160===ch||ch>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(ch)>=0}function isLineTerminator(ch){return 10===ch||13===ch||8232===ch||8233===ch}function isIdentifierStart(ch){return 36===ch||95===ch||ch>=65&&ch<=90||ch>=97&&ch<=122||92===ch||ch>=128&&RegexNonAsciiIdentifierStart.test(String.fromCharCode(ch))}function isIdentifierPart(ch){return 36===ch||95===ch||ch>=65&&ch<=90||ch>=97&&ch<=122||ch>=48&&ch<=57||92===ch||ch>=128&&RegexNonAsciiIdentifierPart.test(String.fromCharCode(ch))}var keywords$1={if:1,in:1,do:1,var:1,for:1,new:1,try:1,let:1,this:1,else:1,case:1,void:1,with:1,enum:1,while:1,break:1,catch:1,throw:1,const:1,yield:1,class:1,super:1,return:1,typeof:1,delete:1,switch:1,export:1,import:1,public:1,static:1,default:1,finally:1,extends:1,package:1,private:1,function:1,continue:1,debugger:1,interface:1,protected:1,instanceof:1,implements:1};function skipComment(){var ch;while(index$1<length$2){ch=source$1.charCodeAt(index$1);if(!isWhiteSpace(ch)&&!isLineTerminator(ch))break;++index$1}}function scanHexEscape(prefix){var i,len,ch,code=0;len="u"===prefix?4:2;for(i=0;i<len;++i)if(index$1<length$2&&isHexDigit(source$1[index$1])){ch=source$1[index$1++];code=16*code+"0123456789abcdef".indexOf(ch.toLowerCase())}else throwError({},MessageUnexpectedToken,ILLEGAL);return String.fromCharCode(code)}function scanUnicodeCodePointEscape(){var ch,code,cu1,cu2;ch=source$1[index$1];code=0;"}"===ch&&throwError({},MessageUnexpectedToken,ILLEGAL);while(index$1<length$2){ch=source$1[index$1++];if(!isHexDigit(ch))break;code=16*code+"0123456789abcdef".indexOf(ch.toLowerCase())}(code>1114111||"}"!==ch)&&throwError({},MessageUnexpectedToken,ILLEGAL);if(code<=65535)return String.fromCharCode(code);cu1=55296+(code-65536>>10);cu2=56320+(code-65536&1023);return String.fromCharCode(cu1,cu2)}function getEscapedIdentifier(){var ch,id;ch=source$1.charCodeAt(index$1++);id=String.fromCharCode(ch);if(92===ch){117!==source$1.charCodeAt(index$1)&&throwError({},MessageUnexpectedToken,ILLEGAL);++index$1;ch=scanHexEscape("u");ch&&"\\"!==ch&&isIdentifierStart(ch.charCodeAt(0))||throwError({},MessageUnexpectedToken,ILLEGAL);id=ch}while(index$1<length$2){ch=source$1.charCodeAt(index$1);if(!isIdentifierPart(ch))break;++index$1;id+=String.fromCharCode(ch);if(92===ch){id=id.substr(0,id.length-1);117!==source$1.charCodeAt(index$1)&&throwError({},MessageUnexpectedToken,ILLEGAL);++index$1;ch=scanHexEscape("u");ch&&"\\"!==ch&&isIdentifierPart(ch.charCodeAt(0))||throwError({},MessageUnexpectedToken,ILLEGAL);id+=ch}}return id}function getIdentifier(){var start,ch;start=index$1++;while(index$1<length$2){ch=source$1.charCodeAt(index$1);if(92===ch){index$1=start;return getEscapedIdentifier()}if(!isIdentifierPart(ch))break;++index$1}return source$1.slice(start,index$1)}function scanIdentifier(){var start,id,type;start=index$1;id=92===source$1.charCodeAt(index$1)?getEscapedIdentifier():getIdentifier();type=1===id.length?TokenIdentifier:keywords$1.hasOwnProperty(id)?TokenKeyword:"null"===id?TokenNullLiteral:"true"===id||"false"===id?TokenBooleanLiteral:TokenIdentifier;return{type:type,value:id,start:start,end:index$1}}function scanPunctuator(){var code2,ch2,ch3,ch4,start=index$1,code=source$1.charCodeAt(index$1),ch1=source$1[index$1];switch(code){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:++index$1;return{type:TokenPunctuator,value:String.fromCharCode(code),start:start,end:index$1};default:code2=source$1.charCodeAt(index$1+1);if(61===code2)switch(code){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:index$1+=2;return{type:TokenPunctuator,value:String.fromCharCode(code)+String.fromCharCode(code2),start:start,end:index$1};case 33:case 61:index$1+=2;61===source$1.charCodeAt(index$1)&&++index$1;return{type:TokenPunctuator,value:source$1.slice(start,index$1),start:start,end:index$1}}}ch4=source$1.substr(index$1,4);if(">>>="===ch4){index$1+=4;return{type:TokenPunctuator,value:ch4,start:start,end:index$1}}ch3=ch4.substr(0,3);if(">>>"===ch3||"<<="===ch3||">>="===ch3){index$1+=3;return{type:TokenPunctuator,value:ch3,start:start,end:index$1}}ch2=ch3.substr(0,2);if(ch1===ch2[1]&&"+-<>&|".indexOf(ch1)>=0||"=>"===ch2){index$1+=2;return{type:TokenPunctuator,value:ch2,start:start,end:index$1}}if("<>=!+-*%&|^/".indexOf(ch1)>=0){++index$1;return{type:TokenPunctuator,value:ch1,start:start,end:index$1}}throwError({},MessageUnexpectedToken,ILLEGAL)}function scanHexLiteral(start){var number="";while(index$1<length$2){if(!isHexDigit(source$1[index$1]))break;number+=source$1[index$1++]}0===number.length&&throwError({},MessageUnexpectedToken,ILLEGAL);isIdentifierStart(source$1.charCodeAt(index$1))&&throwError({},MessageUnexpectedToken,ILLEGAL);return{type:TokenNumericLiteral,value:parseInt("0x"+number,16),start:start,end:index$1}}function scanOctalLiteral(start){var number="0"+source$1[index$1++];while(index$1<length$2){if(!isOctalDigit(source$1[index$1]))break;number+=source$1[index$1++]}(isIdentifierStart(source$1.charCodeAt(index$1))||isDecimalDigit(source$1.charCodeAt(index$1)))&&throwError({},MessageUnexpectedToken,ILLEGAL);return{type:TokenNumericLiteral,value:parseInt(number,8),octal:true,start:start,end:index$1}}function scanNumericLiteral(){var number,start,ch;ch=source$1[index$1];assert(isDecimalDigit(ch.charCodeAt(0))||"."===ch,"Numeric literal must start with a decimal digit or a decimal point");start=index$1;number="";if("."!==ch){number=source$1[index$1++];ch=source$1[index$1];if("0"===number){if("x"===ch||"X"===ch){++index$1;return scanHexLiteral(start)}if(isOctalDigit(ch))return scanOctalLiteral(start);ch&&isDecimalDigit(ch.charCodeAt(0))&&throwError({},MessageUnexpectedToken,ILLEGAL)}while(isDecimalDigit(source$1.charCodeAt(index$1)))number+=source$1[index$1++];ch=source$1[index$1]}if("."===ch){number+=source$1[index$1++];while(isDecimalDigit(source$1.charCodeAt(index$1)))number+=source$1[index$1++];ch=source$1[index$1]}if("e"===ch||"E"===ch){number+=source$1[index$1++];ch=source$1[index$1];"+"!==ch&&"-"!==ch||(number+=source$1[index$1++]);if(isDecimalDigit(source$1.charCodeAt(index$1)))while(isDecimalDigit(source$1.charCodeAt(index$1)))number+=source$1[index$1++];else throwError({},MessageUnexpectedToken,ILLEGAL)}isIdentifierStart(source$1.charCodeAt(index$1))&&throwError({},MessageUnexpectedToken,ILLEGAL);return{type:TokenNumericLiteral,value:parseFloat(number),start:start,end:index$1}}function scanStringLiteral(){var quote,start,ch,code,str="",octal=false;quote=source$1[index$1];assert("'"===quote||'"'===quote,"String literal must starts with a quote");start=index$1;++index$1;while(index$1<length$2){ch=source$1[index$1++];if(ch===quote){quote="";break}if("\\"===ch){ch=source$1[index$1++];if(ch&&isLineTerminator(ch.charCodeAt(0)))"\r"===ch&&"\n"===source$1[index$1]&&++index$1;else switch(ch){case"u":case"x":if("{"===source$1[index$1]){++index$1;str+=scanUnicodeCodePointEscape()}else str+=scanHexEscape(ch);break;case"n":str+="\n";break;case"r":str+="\r";break;case"t":str+="\t";break;case"b":str+="\b";break;case"f":str+="\f";break;case"v":str+="\v";break;default:if(isOctalDigit(ch)){code="01234567".indexOf(ch);0!==code&&(octal=true);if(index$1<length$2&&isOctalDigit(source$1[index$1])){octal=true;code=8*code+"01234567".indexOf(source$1[index$1++]);"0123".indexOf(ch)>=0&&index$1<length$2&&isOctalDigit(source$1[index$1])&&(code=8*code+"01234567".indexOf(source$1[index$1++]))}str+=String.fromCharCode(code)}else str+=ch}}else{if(isLineTerminator(ch.charCodeAt(0)))break;str+=ch}}""!==quote&&throwError({},MessageUnexpectedToken,ILLEGAL);return{type:TokenStringLiteral,value:str,octal:octal,start:start,end:index$1}}function testRegExp(pattern,flags){var tmp=pattern;flags.indexOf("u")>=0&&(tmp=tmp.replace(/\\u\{([0-9a-fA-F]+)\}/g,function($0,$1){if(parseInt($1,16)<=1114111)return"x";throwError({},MessageInvalidRegExp)}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"));try{return new RegExp(pattern,flags)}catch(exception){return null}}function scanRegExpBody(){var ch,str,classMarker,terminated,body;ch=source$1[index$1];assert("/"===ch,"Regular expression literal must start with a slash");str=source$1[index$1++];classMarker=false;terminated=false;while(index$1<length$2){ch=source$1[index$1++];str+=ch;if("\\"===ch){ch=source$1[index$1++];isLineTerminator(ch.charCodeAt(0))&&throwError({},MessageUnterminatedRegExp);str+=ch}else if(isLineTerminator(ch.charCodeAt(0)))throwError({},MessageUnterminatedRegExp);else if(classMarker)"]"===ch&&(classMarker=false);else{if("/"===ch){terminated=true;break}"["===ch&&(classMarker=true)}}terminated||throwError({},MessageUnterminatedRegExp);body=str.substr(1,str.length-2);return{value:body,literal:str}}function scanRegExpFlags(){var ch,str,flags;str="";flags="";while(index$1<length$2){ch=source$1[index$1];if(!isIdentifierPart(ch.charCodeAt(0)))break;++index$1;if("\\"===ch&&index$1<length$2)throwError({},MessageUnexpectedToken,ILLEGAL);else{flags+=ch;str+=ch}}flags.search(/[^gimuy]/g)>=0&&throwError({},MessageInvalidRegExp,flags);return{value:flags,literal:str}}function scanRegExp(){var start,body,flags,value;lookahead=null;skipComment();start=index$1;body=scanRegExpBody();flags=scanRegExpFlags();value=testRegExp(body.value,flags.value);return{literal:body.literal+flags.literal,value:value,regex:{pattern:body.value,flags:flags.value},start:start,end:index$1}}function isIdentifierName(token){return token.type===TokenIdentifier||token.type===TokenKeyword||token.type===TokenBooleanLiteral||token.type===TokenNullLiteral}function advance(){var ch;skipComment();if(index$1>=length$2)return{type:TokenEOF,start:index$1,end:index$1};ch=source$1.charCodeAt(index$1);if(isIdentifierStart(ch))return scanIdentifier();if(40===ch||41===ch||59===ch)return scanPunctuator();if(39===ch||34===ch)return scanStringLiteral();if(46===ch){if(isDecimalDigit(source$1.charCodeAt(index$1+1)))return scanNumericLiteral();return scanPunctuator()}if(isDecimalDigit(ch))return scanNumericLiteral();return scanPunctuator()}function lex(){var token;token=lookahead;index$1=token.end;lookahead=advance();index$1=token.end;return token}function peek$1(){var pos;pos=index$1;lookahead=advance();index$1=pos}function finishArrayExpression(elements){var node=new ASTNode(SyntaxArrayExpression);node.elements=elements;return node}function finishBinaryExpression(operator,left,right){var node=new ASTNode("||"===operator||"&&"===operator?SyntaxLogicalExpression:SyntaxBinaryExpression);node.operator=operator;node.left=left;node.right=right;return node}function finishCallExpression(callee,args){var node=new ASTNode(SyntaxCallExpression);node.callee=callee;node.arguments=args;return node}function finishConditionalExpression(test,consequent,alternate){var node=new ASTNode(SyntaxConditionalExpression);node.test=test;node.consequent=consequent;node.alternate=alternate;return node}function finishIdentifier(name){var node=new ASTNode(SyntaxIdentifier);node.name=name;return node}function finishLiteral(token){var node=new ASTNode(SyntaxLiteral);node.value=token.value;node.raw=source$1.slice(token.start,token.end);if(token.regex){"//"===node.raw&&(node.raw="/(?:)/");node.regex=token.regex}return node}function finishMemberExpression(accessor,object,property){var node=new ASTNode(SyntaxMemberExpression);node.computed="["===accessor;node.object=object;node.property=property;node.computed||(property.member=true);return node}function finishObjectExpression(properties){var node=new ASTNode(SyntaxObjectExpression);node.properties=properties;return node}function finishProperty(kind,key,value){var node=new ASTNode(SyntaxProperty);node.key=key;node.value=value;node.kind=kind;return node}function finishUnaryExpression(operator,argument){var node=new ASTNode(SyntaxUnaryExpression);node.operator=operator;node.argument=argument;node.prefix=true;return node}function throwError(token,messageFormat){var error,args=Array.prototype.slice.call(arguments,2),msg=messageFormat.replace(/%(\d)/g,function(whole,index){assert(index<args.length,"Message reference must be in range");return args[index]});error=new Error(msg);error.index=index$1;error.description=msg;throw error}function throwUnexpected(token){token.type===TokenEOF&&throwError(token,MessageUnexpectedEOS);token.type===TokenNumericLiteral&&throwError(token,MessageUnexpectedNumber);token.type===TokenStringLiteral&&throwError(token,MessageUnexpectedString);token.type===TokenIdentifier&&throwError(token,MessageUnexpectedIdentifier);token.type===TokenKeyword&&throwError(token,MessageUnexpectedReserved);throwError(token,MessageUnexpectedToken,token.value)}function expect(value){var token=lex();token.type===TokenPunctuator&&token.value===value||throwUnexpected(token)}function match(value){return lookahead.type===TokenPunctuator&&lookahead.value===value}function matchKeyword(keyword){return lookahead.type===TokenKeyword&&lookahead.value===keyword}function parseArrayInitialiser(){var elements=[];index$1=lookahead.start;expect("[");while(!match("]"))if(match(",")){lex();elements.push(null)}else{elements.push(parseConditionalExpression());match("]")||expect(",")}lex();return finishArrayExpression(elements)}function parseObjectPropertyKey(){var token;index$1=lookahead.start;token=lex();if(token.type===TokenStringLiteral||token.type===TokenNumericLiteral){token.octal&&throwError(token,MessageStrictOctalLiteral);return finishLiteral(token)}return finishIdentifier(token.value)}function parseObjectProperty(){var token,key,id,value;index$1=lookahead.start;token=lookahead;if(token.type===TokenIdentifier){id=parseObjectPropertyKey();expect(":");value=parseConditionalExpression();return finishProperty("init",id,value)}if(token.type!==TokenEOF&&token.type!==TokenPunctuator){key=parseObjectPropertyKey();expect(":");value=parseConditionalExpression();return finishProperty("init",key,value)}throwUnexpected(token)}function parseObjectInitialiser(){var property,name,key,properties=[],map={},toString=String;index$1=lookahead.start;expect("{");while(!match("}")){property=parseObjectProperty();name=property.key.type===SyntaxIdentifier?property.key.name:toString(property.key.value);key="$"+name;Object.prototype.hasOwnProperty.call(map,key)?throwError({},MessageStrictDuplicateProperty):map[key]=true;properties.push(property);match("}")||expect(",")}expect("}");return finishObjectExpression(properties)}function parseGroupExpression(){var expr;expect("(");expr=parseExpression();expect(")");return expr}var legalKeywords={if:1,this:1};function parsePrimaryExpression(){var type,token,expr;if(match("("))return parseGroupExpression();if(match("["))return parseArrayInitialiser();if(match("{"))return parseObjectInitialiser();type=lookahead.type;index$1=lookahead.start;if(type===TokenIdentifier||legalKeywords[lookahead.value])expr=finishIdentifier(lex().value);else if(type===TokenStringLiteral||type===TokenNumericLiteral){lookahead.octal&&throwError(lookahead,MessageStrictOctalLiteral);expr=finishLiteral(lex())}else{if(type===TokenKeyword)throw new Error(DISABLED);if(type===TokenBooleanLiteral){token=lex();token.value="true"===token.value;expr=finishLiteral(token)}else if(type===TokenNullLiteral){token=lex();token.value=null;expr=finishLiteral(token)}else if(match("/")||match("/=")){expr=finishLiteral(scanRegExp());peek$1()}else throwUnexpected(lex())}return expr}function parseArguments(){var args=[];expect("(");if(!match(")"))while(index$1<length$2){args.push(parseConditionalExpression());if(match(")"))break;expect(",")}expect(")");return args}function parseNonComputedProperty(){var token;index$1=lookahead.start;token=lex();isIdentifierName(token)||throwUnexpected(token);return finishIdentifier(token.value)}function parseNonComputedMember(){expect(".");return parseNonComputedProperty()}function parseComputedMember(){var expr;expect("[");expr=parseExpression();expect("]");return expr}function parseLeftHandSideExpressionAllowCall(){var expr,args,property;expr=parsePrimaryExpression();for(;;)if(match(".")){property=parseNonComputedMember();expr=finishMemberExpression(".",expr,property)}else if(match("(")){args=parseArguments();expr=finishCallExpression(expr,args)}else{if(!match("["))break;property=parseComputedMember();expr=finishMemberExpression("[",expr,property)}return expr}function parsePostfixExpression(){var expr=parseLeftHandSideExpressionAllowCall();if(lookahead.type===TokenPunctuator&&(match("++")||match("--")))throw new Error(DISABLED);return expr}function parseUnaryExpression(){var token,expr;if(lookahead.type!==TokenPunctuator&&lookahead.type!==TokenKeyword)expr=parsePostfixExpression();else{if(match("++")||match("--"))throw new Error(DISABLED);if(match("+")||match("-")||match("~")||match("!")){token=lex();expr=parseUnaryExpression();expr=finishUnaryExpression(token.value,expr)}else{if(matchKeyword("delete")||matchKeyword("void")||matchKeyword("typeof"))throw new Error(DISABLED);expr=parsePostfixExpression()}}return expr}function binaryPrecedence(token){var prec=0;if(token.type!==TokenPunctuator&&token.type!==TokenKeyword)return 0;switch(token.value){case"||":prec=1;break;case"&&":prec=2;break;case"|":prec=3;break;case"^":prec=4;break;case"&":prec=5;break;case"==":case"!=":case"===":case"!==":prec=6;break;case"<":case">":case"<=":case">=":case"instanceof":case"in":prec=7;break;case"<<":case">>":case">>>":prec=8;break;case"+":case"-":prec=9;break;case"*":case"/":case"%":prec=11}return prec}function parseBinaryExpression(){var marker,markers,expr,token,prec,stack,right,operator,left,i;marker=lookahead;left=parseUnaryExpression();token=lookahead;prec=binaryPrecedence(token);if(0===prec)return left;token.prec=prec;lex();markers=[marker,lookahead];right=parseUnaryExpression();stack=[left,token,right];while((prec=binaryPrecedence(lookahead))>0){while(stack.length>2&&prec<=stack[stack.length-2].prec){right=stack.pop();operator=stack.pop().value;left=stack.pop();markers.pop();expr=finishBinaryExpression(operator,left,right);stack.push(expr)}token=lex();token.prec=prec;stack.push(token);markers.push(lookahead);expr=parseUnaryExpression();stack.push(expr)}i=stack.length-1;expr=stack[i];markers.pop();while(i>1){markers.pop();expr=finishBinaryExpression(stack[i-1].value,stack[i-2],expr);i-=2}return expr}function parseConditionalExpression(){var expr,consequent,alternate;expr=parseBinaryExpression();if(match("?")){lex();consequent=parseConditionalExpression();expect(":");alternate=parseConditionalExpression();expr=finishConditionalExpression(expr,consequent,alternate)}return expr}function parseExpression(){var expr=parseConditionalExpression();if(match(","))throw new Error(DISABLED);return expr}function parse$2(code){source$1=code;index$1=0;length$2=source$1.length;lookahead=null;peek$1();var expr=parseExpression();if(lookahead.type!==TokenEOF)throw new Error("Unexpect token after expression.");return expr}var Constants={NaN:"NaN",E:"Math.E",LN2:"Math.LN2",LN10:"Math.LN10",LOG2E:"Math.LOG2E",LOG10E:"Math.LOG10E",PI:"Math.PI",SQRT1_2:"Math.SQRT1_2",SQRT2:"Math.SQRT2",MIN_VALUE:"Number.MIN_VALUE",MAX_VALUE:"Number.MAX_VALUE"};function Functions(codegen){function fncall(name,args,cast,type){var obj=codegen(args[0]);if(cast){obj=cast+"("+obj+")";0===cast.lastIndexOf("new ",0)&&(obj="("+obj+")")}return obj+"."+name+(type<0?"":0===type?"()":"("+args.slice(1).map(codegen).join(",")+")")}function fn(name,cast,type){return function(args){return fncall(name,args,cast,type)}}var DATE="new Date",STRING="String",REGEXP="RegExp";return{isNaN:"isNaN",isFinite:"isFinite",abs:"Math.abs",acos:"Math.acos",asin:"Math.asin",atan:"Math.atan",atan2:"Math.atan2",ceil:"Math.ceil",cos:"Math.cos",exp:"Math.exp",floor:"Math.floor",log:"Math.log",max:"Math.max",min:"Math.min",pow:"Math.pow",random:"Math.random",round:"Math.round",sin:"Math.sin",sqrt:"Math.sqrt",tan:"Math.tan",clamp:function(args){args.length<3&&error("Missing arguments to clamp function.");args.length>3&&error("Too many arguments to clamp function.");var a=args.map(codegen);return"Math.max("+a[1]+", Math.min("+a[2]+","+a[0]+"))"},now:"Date.now",utc:"Date.UTC",datetime:DATE,date:fn("getDate",DATE,0),day:fn("getDay",DATE,0),year:fn("getFullYear",DATE,0),month:fn("getMonth",DATE,0),hours:fn("getHours",DATE,0),minutes:fn("getMinutes",DATE,0),seconds:fn("getSeconds",DATE,0),milliseconds:fn("getMilliseconds",DATE,0),time:fn("getTime",DATE,0),timezoneoffset:fn("getTimezoneOffset",DATE,0),utcdate:fn("getUTCDate",DATE,0),utcday:fn("getUTCDay",DATE,0),utcyear:fn("getUTCFullYear",DATE,0),utcmonth:fn("getUTCMonth",DATE,0),utchours:fn("getUTCHours",DATE,0),utcminutes:fn("getUTCMinutes",DATE,0),utcseconds:fn("getUTCSeconds",DATE,0),utcmilliseconds:fn("getUTCMilliseconds",DATE,0),length:fn("length",null,-1),indexof:fn("indexOf",null),lastindexof:fn("lastIndexOf",null),slice:fn("slice",null),parseFloat:"parseFloat",parseInt:"parseInt",upper:fn("toUpperCase",STRING,0),lower:fn("toLowerCase",STRING,0),substring:fn("substring",STRING),split:fn("split",STRING),replace:fn("replace",STRING),regexp:REGEXP,test:fn("test",REGEXP),if:function(args){args.length<3&&error("Missing arguments to if function.");args.length>3&&error("Too many arguments to if function.");var a=args.map(codegen);return"("+a[0]+"?"+a[1]+":"+a[2]+")"}}}function codegen(opt){opt=opt||{};var whitelist=opt.whitelist?toSet(opt.whitelist):{},blacklist=opt.blacklist?toSet(opt.blacklist):{},constants=opt.constants||Constants,functions=(opt.functions||Functions)(visit),globalvar=opt.globalvar,fieldvar=opt.fieldvar,globals={},fields={},memberDepth=0;var outputGlobal=isFunction(globalvar)?globalvar:function(id$$1){return globalvar+'["'+id$$1+'"]'};function visit(ast){if(isString(ast))return ast;var generator=Generators[ast.type];null==generator&&error("Unsupported type: "+ast.type);return generator(ast)}var Generators={Literal:function(n){return n.raw},Identifier:function(n){var id$$1=n.name;if(memberDepth>0)return id$$1;if(blacklist.hasOwnProperty(id$$1))return error("Illegal identifier: "+id$$1);if(constants.hasOwnProperty(id$$1))return constants[id$$1];if(whitelist.hasOwnProperty(id$$1))return id$$1;globals[id$$1]=1;return outputGlobal(id$$1)},MemberExpression:function(n){var d=!n.computed;var o=visit(n.object);d&&(memberDepth+=1);var p=visit(n.property);o===fieldvar&&(fields[p]=1);d&&(memberDepth-=1);return o+(d?"."+p:"["+p+"]")},CallExpression:function(n){"Identifier"!==n.callee.type&&error("Illegal callee type: "+n.callee.type);var callee=n.callee.name;var args=n.arguments;var fn=functions.hasOwnProperty(callee)&&functions[callee];fn||error("Unrecognized function: "+callee);return isFunction(fn)?fn(args):fn+"("+args.map(visit).join(",")+")"},ArrayExpression:function(n){return"["+n.elements.map(visit).join(",")+"]"},BinaryExpression:function(n){return"("+visit(n.left)+n.operator+visit(n.right)+")"},UnaryExpression:function(n){return"("+n.operator+visit(n.argument)+")"},ConditionalExpression:function(n){return"("+visit(n.test)+"?"+visit(n.consequent)+":"+visit(n.alternate)+")"},LogicalExpression:function(n){return"("+visit(n.left)+n.operator+visit(n.right)+")"},ObjectExpression:function(n){return"{"+n.properties.map(visit).join(",")+"}"},Property:function(n){memberDepth+=1;var k=visit(n.key);memberDepth-=1;return k+":"+visit(n.value)}};function codegen(ast){var result={code:visit(ast),globals:Object.keys(globals),fields:Object.keys(fields)};globals={};fields={};return result}codegen.functions=functions;codegen.constants=constants;return codegen}var formatCache={};function formatter(type,method,specifier){var k=type+":"+specifier,e=formatCache[k];e&&e[0]===method||(formatCache[k]=e=[method,method(specifier)]);return e[1]}function format$1(_,specifier){return formatter("format",format,specifier)(_)}function timeFormat$1(_,specifier){return formatter("timeFormat",timeFormat,specifier)(_)}function utcFormat$1(_,specifier){return formatter("utcFormat",utcFormat,specifier)(_)}function timeParse$1(_,specifier){return formatter("timeParse",timeParse,specifier)(_)}function utcParse$1(_,specifier){return formatter("utcParse",utcParse,specifier)(_)}var dateObj=new Date(2e3,0,1);function time$2(month,day,specifier){dateObj.setMonth(month);dateObj.setDate(day);return timeFormat$1(dateObj,specifier)}function monthFormat(month){return time$2(month,1,"%B")}function monthAbbrevFormat(month){return time$2(month,1,"%b")}function dayFormat(day){return time$2(0,2+day,"%A")}function dayAbbrevFormat(day){return time$2(0,2+day,"%a")}function extent$3(array){var n,v,min,max,i=0;if(array&&(n=array.length)){for(v=array[i];null==v||v!==v;v=array[++i]);min=max=v;for(;i<n;++i){v=array[i];if(null!=v){v<min&&(min=v);v>max&&(max=v)}}}return[min,max]}function inrange(value,range,left,right){var t,r0=range[0],r1=range[range.length-1];if(r0>r1){t=r0;r0=r1;r1=t}left=void 0===left||left;right=void 0===right||right;return(left?r0<=value:r0<value)&&(right?value<=r1:value<r1)}function clampRange(range,min,max){var span,lo=range[0],hi=range[1];if(hi<lo){span=hi;hi=lo;lo=span}span=hi-lo;return span>=max-min?[min,max]:[lo=Math.min(Math.max(lo,min),max-span),lo+span]}function span(array){return array[array.length-1]-array[0]||0}function quarter(date){return 1+~~(new Date(date).getMonth()/3)}function utcquarter(date){return 1+~~(new Date(date).getUTCMonth()/3)}function log$4(df,method,args){try{df[method].apply(df,["EXPRESSION"].concat([].slice.call(args)))}catch(err){df.warn(err)}return args[args.length-1]}function warn(){return log$4(this.context.dataflow,"warn",arguments)}function info(){return log$4(this.context.dataflow,"info",arguments)}function debug(){return log$4(this.context.dataflow,"debug",arguments)}function inScope(item){var group=this.context.group,value=false;if(group)while(item){if(item===group){value=true;break}item=item.mark.group}return value}function pinchDistance(event){var t=event.touches,dx=t[0].clientX-t[1].clientX,dy=t[0].clientY-t[1].clientY;return Math.sqrt(dx*dx+dy*dy)}function pinchAngle(event){var t=event.touches;return Math.atan2(t[0].clientY-t[1].clientY,t[0].clientX-t[1].clientX)}var _window="undefined"!==typeof window&&window||null;function screen(){return _window?_window.screen:{}}function windowSize(){return _window?[_window.innerWidth,_window.innerHeight]:[void 0,void 0]}function containerSize(){var view=this.context.dataflow,el=view.container&&view.container();return el?[el.clientWidth,el.clientHeight]:[void 0,void 0]}function flush(range,value,threshold,left,right,center){if(!threshold&&0!==threshold)return center;var l,r,a=range[0],b=peek(range),t=+threshold;if(b<a){l=a;a=b;b=l}l=Math.abs(value-a);r=Math.abs(b-value);return l<r&&l<=t?left:r<=t?right:center}function merge$4(){var args=[].slice.call(arguments);args.unshift({});return extend.apply(null,args)}var Literal="Literal";var Identifier$1="Identifier";var indexPrefix="@";var scalePrefix="%";var dataPrefix=":";function getScale(name,ctx){var s;return isFunction(name)?name:isString(name)?(s=ctx.scales[name])&&s.value:void 0}function addScaleDependency(scope,params,name){var scaleName=scalePrefix+name;if(!params.hasOwnProperty(scaleName))try{params[scaleName]=scope.scaleRef(name)}catch(err){}}function scaleVisitor(name,args,scope,params){if(args[0].type===Literal)addScaleDependency(scope,params,args[0].value);else if(args[0].type===Identifier$1)for(name in scope.scales)addScaleDependency(scope,params,name)}function range$3(name,group){var s=getScale(name,(group||this).context);return s&&s.range?s.range():[]}function domain(name,group){var s=getScale(name,(group||this).context);return s?s.domain():[]}function bandwidth(name,group){var s=getScale(name,(group||this).context);return s&&s.bandwidth?s.bandwidth():0}function bandspace(count,paddingInner,paddingOuter){return bandSpace(count||0,paddingInner||0,paddingOuter||0)}function copy$1(name,group){var s=getScale(name,(group||this).context);return s?s.copy():void 0}function scale$2(name,value,group){var s=getScale(name,(group||this).context);return s?s(value):void 0}function invert(name,range,group){var s=getScale(name,(group||this).context);return s?isArray(range)?(s.invertRange||s.invert)(range):(s.invert||s.invertExtent)(range):void 0}function scaleGradient(scale,p0,p1,count,group){scale=getScale(scale,(group||this).context);var gradient=Gradient(p0,p1),stops=scale.domain(),min=stops[0],max=peek(stops),fraction=scaleFraction(scale,min,max);if(scale.ticks){stops=scale.ticks(+count||15);min!==stops[0]&&stops.unshift(min);max!==peek(stops)&&stops.push(max)}for(var i=0,n=stops.length;i<n;++i)gradient.stop(fraction(stops[i]),scale(stops[i]));return gradient}function geoMethod(methodName,globalMethod){return function(projection$$1,geojson,group){if(projection$$1){var p=getScale(projection$$1,(group||this).context);return p&&p.path[methodName](geojson)}return globalMethod(geojson)}}var geoArea$$1=geoMethod("area",area$4);var geoBounds$$1=geoMethod("bounds",bounds$1);var geoCentroid$$1=geoMethod("centroid",centroid);function geoShape(projection,geojson,group){var p=getScale(projection,(group||this).context);return function(context$$1){return p?p.path.context(context$$1)(geojson):""}}function pathShape(path){var p=null;return function(context$$1){return context$$1?pathRender(context$$1,p=p||pathParse(path)):path}}function data$1(name){var data=this.context.data[name];return data?data.values.value:[]}function dataVisitor(name,args,scope,params){args[0].type!==Literal&&error("First argument to data functions must be a string literal.");var data=args[0].value,dataName=dataPrefix+data;params.hasOwnProperty(dataName)||(params[dataName]=scope.getData(data).tuplesRef())}function indata(name,field$$1,value){var index=this.context.data[name]["index:"+field$$1],entry=index?index.value.get(value):void 0;return entry?entry.count:entry}function indataVisitor(name,args,scope,params){args[0].type!==Literal&&error("First argument to indata must be a string literal.");args[1].type!==Literal&&error("Second argument to indata must be a string literal.");var data=args[0].value,field$$1=args[1].value,indexName=indexPrefix+field$$1;params.hasOwnProperty(indexName)||(params[indexName]=scope.getData(data).indataRef(scope,field$$1))}function setdata(name,tuples){var df=this.context.dataflow,data=this.context.data[name],input=data.input;df.pulse(input,df.changeset().remove(truthy).insert(tuples));return 1}var EMPTY={};function datum(d){return d.data}function treeNodes(name,context){var tree=data$1.call(context,name);return tree.root&&tree.root.lookup||EMPTY}function treePath(name,source,target){var nodes=treeNodes(name,this),s=nodes[source],t=nodes[target];return s&&t?s.path(t).map(datum):void 0}function treeAncestors(name,node){var n=treeNodes(name,this)[node];return n?n.ancestors().map(datum):void 0}function encode$1(item,name,retval){if(item){var df=this.context.dataflow,target=item.mark.source;df.pulse(target,df.changeset().encode(item,name))}return void 0!==retval?retval:item}function equal(a,b){return a===b||a!==a&&b!==b||!(!isArray(a)||!isArray(b)||a.length!==b.length)&&equalArray(a,b)}function equalArray(a,b){for(var i=0,n=a.length;i<n;++i)if(!equal(a[i],b[i]))return false;return true}function removePredicate(props){return function(_){for(var key$$1 in props)if(!equal(_[key$$1],props[key$$1]))return false;return true}}function modify(name,insert,remove,toggle,modify,values){var predicate,key$$1,df=this.context.dataflow,data=this.context.data[name],input=data.input,changes=data.changes,stamp=df.stamp();if(false===df._trigger||!(input.value.length||insert||toggle))return 0;if(!changes||changes.stamp<stamp){data.changes=changes=df.changeset();changes.stamp=stamp;df.runAfter(function(){data.modified=true;df.pulse(input,changes).run()},true,1)}if(remove){predicate=true===remove?truthy:isArray(remove)||isTuple(remove)?remove:removePredicate(remove);changes.remove(predicate)}insert&&changes.insert(insert);if(toggle){predicate=removePredicate(toggle);input.value.some(predicate)?changes.remove(predicate):changes.insert(toggle)}if(modify)for(key$$1 in values)changes.modify(modify,key$$1,values[key$$1]);return 1}var TYPE_ENUM="E",TYPE_RANGE_INC="R",TYPE_RANGE_EXC="R-E",TYPE_RANGE_LE="R-LE",TYPE_RANGE_RE="R-RE",INTERSECT="intersect",UNION="union",UNIT_INDEX="index:unit";function testPoint(datum,entry){var dval,f,fields=entry.fields,values=entry.values,n=fields.length,i=0;for(;i<n;++i){f=fields[i];f.getter=field.getter||field(f.field);dval=f.getter(datum);isDate(dval)&&(dval=toNumber(dval));isDate(values[i])&&(values[i]=toNumber(values[i]));isDate(values[i][0])&&(values[i]=values[i].map(toNumber));if(f.type===TYPE_ENUM){if(isArray(values[i])?values[i].indexOf(dval)<0:dval!==values[i])return false}else if(f.type===TYPE_RANGE_INC){if(!inrange(dval,values[i]))return false}else if(f.type===TYPE_RANGE_RE){if(!inrange(dval,values[i],true,false))return false}else if(f.type===TYPE_RANGE_EXC){if(!inrange(dval,values[i],false,false))return false}else if(f.type===TYPE_RANGE_LE&&!inrange(dval,values[i],false,true))return false}return true}function vlSelectionTest(name,datum,op){var entry,miss,count,unit,b,data=this.context.data[name],entries=data?data.values.value:[],unitIdx=data?data[UNIT_INDEX]&&data[UNIT_INDEX].value:void 0,intersect=op===INTERSECT,n=entries.length,i=0;for(;i<n;++i){entry=entries[i];if(unitIdx&&intersect){miss=miss||{};count=miss[unit=entry.unit]||0;if(-1===count)continue;b=testPoint(datum,entry);miss[unit]=b?-1:++count;if(b&&1===unitIdx.size)return true;if(!b&&count===unitIdx.get(unit).count)return false}else{b=testPoint(datum,entry);if(intersect^b)return b}}return n&&intersect}function vlSelectionVisitor(name,args,scope,params){args[0].type!==Literal&&error("First argument to indata must be a string literal.");var data=args[0].value,op=args.length>=2&&args[args.length-1].value,field$$1="unit",indexName=indexPrefix+field$$1;op!==INTERSECT||params.hasOwnProperty(indexName)||(params[indexName]=scope.getData(data).indataRef(scope,field$$1));dataVisitor(name,args,scope,params)}function vlSelectionResolve(name,op){var entry,fields,values,unit,field$$1,res,resUnit,type,union,j,m,data=this.context.data[name],entries=data?data.values.value:[],resolved={},types={},n=entries.length,i=0;for(;i<n;++i){entry=entries[i];unit=entry.unit;fields=entry.fields;values=entry.values;for(j=0,m=fields.length;j<m;++j){field$$1=fields[j];res=resolved[field$$1.field]||(resolved[field$$1.field]={});resUnit=res[unit]||(res[unit]=[]);types[field$$1.field]=type=field$$1.type.charAt(0);union=ops[type+"_union"];res[unit]=union(resUnit,array(values[j]))}}op=op||UNION;Object.keys(resolved).forEach(function(field$$1){resolved[field$$1]=Object.keys(resolved[field$$1]).map(function(unit){return resolved[field$$1][unit]}).reduce(function(acc,curr){return void 0===acc?curr:ops[types[field$$1]+"_"+op](acc,curr)})});return resolved}var ops={E_union:function(base,value){if(!base.length)return value;var i=0,n=value.length;for(;i<n;++i)base.indexOf(value[i])<0&&base.push(value[i]);return base},E_intersect:function(base,value){return base.length?base.filter(function(v){return value.indexOf(v)>=0}):value},R_union:function(base,value){var lo=toNumber(value[0]),hi=toNumber(value[1]);if(lo>hi){lo=value[1];hi=value[0]}if(!base.length)return[lo,hi];base[0]>lo&&(base[0]=lo);base[1]<hi&&(base[1]=hi);return base},R_intersect:function(base,value){var lo=toNumber(value[0]),hi=toNumber(value[1]);if(lo>hi){lo=value[1];hi=value[0]}if(!base.length)return[lo,hi];if(hi<base[0]||base[1]<lo)return[];base[0]<lo&&(base[0]=lo);base[1]>hi&&(base[1]=hi);return base}};var BIN="bin_",INTERSECT$1="intersect",UNION$1="union",UNIT_INDEX$1="index:unit";function testPoint$1(datum,entry){var dval,fields=entry.fields,values=entry.values,getter=entry.getter||(entry.getter=[]),n=fields.length,i=0;for(;i<n;++i){getter[i]=getter[i]||field(fields[i]);dval=getter[i](datum);isDate(dval)&&(dval=toNumber(dval));isDate(values[i])&&(values[i]=toNumber(values[i]));if(entry[BIN+fields[i]]){isDate(values[i][0])&&(values[i]=values[i].map(toNumber));if(!inrange(dval,values[i],true,false))return false}else if(dval!==values[i])return false}return true}function testInterval(datum,entry){var getter,extent,value,ivals=entry.intervals,n=ivals.length,i=0;for(;i<n;++i){extent=ivals[i].extent;getter=ivals[i].getter||(ivals[i].getter=field(ivals[i].field));value=getter(datum);if(!extent||extent[0]===extent[1])return false;isDate(value)&&(value=toNumber(value));isDate(extent[0])&&(extent=ivals[i].extent=extent.map(toNumber));if(isNumber(extent[0])&&!inrange(value,extent))return false;if(isString(extent[0])&&extent.indexOf(value)<0)return false}return true}function vlSelection(name,datum,op,test){var entry,miss,count,unit,b,data=this.context.data[name],entries=data?data.values.value:[],unitIdx=data?data[UNIT_INDEX$1]&&data[UNIT_INDEX$1].value:void 0,intersect=op===INTERSECT$1,n=entries.length,i=0;for(;i<n;++i){entry=entries[i];if(unitIdx&&intersect){miss=miss||{};count=miss[unit=entry.unit]||0;if(-1===count)continue;b=test(datum,entry);miss[unit]=b?-1:++count;if(b&&1===unitIdx.size)return true;if(!b&&count===unitIdx.get(unit).count)return false}else{b=test(datum,entry);if(intersect^b)return b}}return n&&intersect}function vlPoint(name,datum,op){return vlSelection.call(this,name,datum,op,testPoint$1)}function vlInterval(name,datum,op){return vlSelection.call(this,name,datum,op,testInterval)}function vlMultiVisitor(name,args,scope,params){args[0].type!==Literal&&error("First argument to indata must be a string literal.");var data=args[0].value,op=args.length>=2&&args[args.length-1].value,field$$1="unit",indexName=indexPrefix+field$$1;op!==INTERSECT$1||params.hasOwnProperty(indexName)||(params[indexName]=scope.getData(data).indataRef(scope,field$$1));dataVisitor(name,args,scope,params)}function vlPointDomain(name,encoding,field$$1,op){var n,index,values,continuous,units,data=this.context.data[name],entries=data?data.values.value:[],unitIdx=data?data[UNIT_INDEX$1]&&data[UNIT_INDEX$1].value:void 0,entry=entries[0],i=0;if(!entry)return;for(n=encoding?entry.encodings.length:entry.fields.length;i<n;++i)if(encoding&&entry.encodings[i]===encoding||field$$1&&entry.fields[i]===field$$1){index=i;continuous=entry[BIN+entry.fields[i]];break}unitIdx&&1===unitIdx.size&&(op=UNION$1);if(unitIdx&&op===INTERSECT$1){units=entries.reduce(function(acc,entry){var u=acc[entry.unit]||(acc[entry.unit]=[]);u.push({unit:entry.unit,value:entry.values[index]});return acc},{});values=Object.keys(units).map(function(unit){return{unit:unit,value:continuous?continuousDomain(units[unit],UNION$1):discreteDomain(units[unit],UNION$1)}})}else values=entries.map(function(entry){return{unit:entry.unit,value:entry.values[index]}});return continuous?continuousDomain(values,op):discreteDomain(values,op)}function vlIntervalDomain(name,encoding,field$$1,op){var n,interval,index,values,discrete,data=this.context.data[name],entries=data?data.values.value:[],entry=entries[0],i=0;if(!entry)return;for(n=entry.intervals.length;i<n;++i){interval=entry.intervals[i];if(encoding&&interval.encoding===encoding||field$$1&&interval.field===field$$1){if(!interval.extent)return;index=i;discrete=interval.extent.length>2;break}}values=entries.reduce(function(acc,entry){var extent=entry.intervals[index].extent,value=discrete?extent.map(function(d){return{unit:entry.unit,value:d}}):{unit:entry.unit,value:extent};discrete?acc.push.apply(acc,value):acc.push(value);return acc},[]);return discrete?discreteDomain(values,op):continuousDomain(values,op)}function discreteDomain(entries,op){var entry,unit,v,key$$1,units={},count=0,values={},domain=[],i=0,n=entries.length;for(;i<n;++i){entry=entries[i];unit=entry.unit;key$$1=entry.value;units[unit]||(units[unit]=++count);(v=values[key$$1])||(values[key$$1]=v={value:key$$1,units:{},count:0});v.units[unit]||(v.units[unit]=++v.count)}for(key$$1 in values){v=values[key$$1];if(op===INTERSECT$1&&v.count!==count)continue;domain.push(v.value)}return domain.length?domain:void 0}function continuousDomain(entries,op){var extent,domain,lo,hi,merge$$1=op===INTERSECT$1?intersectInterval:unionInterval,i=0,n=entries.length;for(;i<n;++i){extent=entries[i].value;isDate(extent[0])&&(extent=extent.map(toNumber));lo=extent[0];hi=extent[1];if(lo>hi){hi=extent[0];lo=extent[1]}domain=domain?merge$$1(domain,lo,hi):[lo,hi]}return domain&&domain.length&&+domain[0]!==+domain[1]?domain:void 0}function unionInterval(domain,lo,hi){domain[0]>lo&&(domain[0]=lo);domain[1]<hi&&(domain[1]=hi);return domain}function intersectInterval(domain,lo,hi){if(hi<domain[0]||domain[1]<lo)return[];domain[0]<lo&&(domain[0]=lo);domain[1]>hi&&(domain[1]=hi);return domain}var functionContext={random:function(){return exports.random()},isArray:isArray,isBoolean:isBoolean,isDate:isDate,isNumber:isNumber,isObject:isObject,isRegExp:isRegExp,isString:isString,isTuple:isTuple,toBoolean:toBoolean,toDate:toDate,toNumber:toNumber,toString:toString,pad:pad,peek:peek,truncate:truncate,rgb:rgb,lab:lab,hcl:hcl,hsl:hsl,sequence:range,format:format$1,utcFormat:utcFormat$1,utcParse:utcParse$1,timeFormat:timeFormat$1,timeParse:timeParse$1,monthFormat:monthFormat,monthAbbrevFormat:monthAbbrevFormat,dayFormat:dayFormat,dayAbbrevFormat:dayAbbrevFormat,quarter:quarter,utcquarter:utcquarter,warn:warn,info:info,debug:debug,extent:extent$3,inScope:inScope,clampRange:clampRange,pinchDistance:pinchDistance,pinchAngle:pinchAngle,screen:screen,containerSize:containerSize,windowSize:windowSize,span:span,merge:merge$4,flush:flush,bandspace:bandspace,inrange:inrange,setdata:setdata,pathShape:pathShape,panLinear:panLinear,panLog:panLog,panPow:panPow,zoomLinear:zoomLinear,zoomLog:zoomLog,zoomPow:zoomPow,encode:encode$1,modify:modify};var eventFunctions=["view","item","group","xy","x","y"],eventPrefix="event.vega.",thisPrefix="this.",astVisitors={};function expressionFunction(name,fn,visitor){if(1===arguments.length)return functionContext[name];functionContext[name]=fn;visitor&&(astVisitors[name]=visitor);codeGenerator&&(codeGenerator.functions[name]=thisPrefix+name);return this}expressionFunction("bandwidth",bandwidth,scaleVisitor);expressionFunction("copy",copy$1,scaleVisitor);expressionFunction("domain",domain,scaleVisitor);expressionFunction("range",range$3,scaleVisitor);expressionFunction("invert",invert,scaleVisitor);expressionFunction("scale",scale$2,scaleVisitor);expressionFunction("gradient",scaleGradient,scaleVisitor);expressionFunction("geoArea",geoArea$$1,scaleVisitor);expressionFunction("geoBounds",geoBounds$$1,scaleVisitor);expressionFunction("geoCentroid",geoCentroid$$1,scaleVisitor);expressionFunction("geoShape",geoShape,scaleVisitor);expressionFunction("indata",indata,indataVisitor);expressionFunction("data",data$1,dataVisitor);expressionFunction("treePath",treePath,dataVisitor);expressionFunction("treeAncestors",treeAncestors,dataVisitor);expressionFunction("vlSelectionTest",vlSelectionTest,vlSelectionVisitor);expressionFunction("vlSelectionResolve",vlSelectionResolve,vlSelectionVisitor);expressionFunction("vlSingle",vlPoint,dataVisitor);expressionFunction("vlSingleDomain",vlPointDomain,dataVisitor);expressionFunction("vlMulti",vlPoint,vlMultiVisitor);expressionFunction("vlMultiDomain",vlPointDomain,vlMultiVisitor);expressionFunction("vlInterval",vlInterval,dataVisitor);expressionFunction("vlIntervalDomain",vlIntervalDomain,dataVisitor);function buildFunctions(codegen$$1){var fn=Functions(codegen$$1);eventFunctions.forEach(function(name){fn[name]=eventPrefix+name});for(var name in functionContext)fn[name]=thisPrefix+name;return fn}var codegenParams={blacklist:["_"],whitelist:["datum","event","item"],fieldvar:"datum",globalvar:function(id$$1){return"_["+$("$"+id$$1)+"]"},functions:buildFunctions,constants:Constants,visitors:astVisitors};var codeGenerator=codegen(codegenParams);var signalPrefix="$";function expression(expr,scope,preamble){var ast,gen,params={};try{expr=isString(expr)?expr:$(expr)+"";ast=parse$2(expr)}catch(err){error("Expression parse error: "+expr)}ast.visit(function visitor(node){if("CallExpression"!==node.type)return;var name=node.callee.name,visit=codegenParams.visitors[name];visit&&visit(name,node.arguments,scope,params)});gen=codeGenerator(ast);gen.globals.forEach(function(name){var signalName=signalPrefix+name;!params.hasOwnProperty(signalName)&&scope.getSignal(name)&&(params[signalName]=scope.signalRef(name))});return{$expr:preamble?preamble+"return("+gen.code+");":gen.code,$fields:gen.fields,$params:params}}function Entry(type,value,params,parent){this.id=-1;this.type=type;this.value=value;this.params=params;parent&&(this.parent=parent)}function entry(type,value,params,parent){return new Entry(type,value,params,parent)}function operator(value,params){return entry("operator",value,params)}function ref(op){var ref={$ref:op.id};op.id<0&&(op.refs=op.refs||[]).push(ref);return ref}var tupleidRef={$tupleid:1,toString:function(){return":_tupleid_:"}};function fieldRef(field$$1,name){return name?{$field:field$$1,$name:name}:{$field:field$$1}}var keyFieldRef=fieldRef("key");function compareRef(fields,orders){return{$compare:fields,$order:orders}}function keyRef(fields,flat){var ref={$key:fields};flat&&(ref.$flat=true);return ref}var Ascending="ascending";var Descending="descending";function sortKey(sort){return isObject(sort)?(sort.order===Descending?"-":"+")+aggrField(sort.op,sort.field):""}function aggrField(op,field$$1){return(op&&op.signal?"$"+op.signal:op||"")+(op&&field$$1?"_":"")+(field$$1&&field$$1.signal?"$"+field$$1.signal:field$$1||"")}var Scope="scope";var View="view";function isSignal(_){return _&&_.signal}function hasSignal(_){if(isSignal(_))return true;if(isObject(_))for(var key$$1 in _)if(hasSignal(_[key$$1]))return true;return false}function value$1(specValue,defaultValue){return null!=specValue?specValue:defaultValue}function deref(v){return v&&v.signal||v}var Timer$1="timer";function parseStream(stream,scope){var method=stream.merge?mergeStream:stream.stream?nestedStream:stream.type?eventStream:error("Invalid stream specification: "+$(stream));return method(stream,scope)}function eventSource(source){return source===Scope?View:source||View}function mergeStream(stream,scope){var list=stream.merge.map(function(s){return parseStream(s,scope)});var entry$$1=streamParameters({merge:list},stream,scope);return scope.addStream(entry$$1).id}function nestedStream(stream,scope){var id$$1=parseStream(stream.stream,scope),entry$$1=streamParameters({stream:id$$1},stream,scope);return scope.addStream(entry$$1).id}function eventStream(stream,scope){var id$$1,entry$$1;if(stream.type===Timer$1){id$$1=scope.event(Timer$1,stream.throttle);stream={between:stream.between,filter:stream.filter}}else id$$1=scope.event(eventSource(stream.source),stream.type);entry$$1=streamParameters({stream:id$$1},stream,scope);return 1===Object.keys(entry$$1).length?id$$1:scope.addStream(entry$$1).id}function streamParameters(entry$$1,stream,scope){var param=stream.between;if(param){2!==param.length&&error('Stream "between" parameter must have 2 entries: '+$(stream));entry$$1.between=[parseStream(param[0],scope),parseStream(param[1],scope)]}param=stream.filter?array(stream.filter):[];(stream.marktype||stream.markname||stream.markrole)&&param.push(filterMark(stream.marktype,stream.markname,stream.markrole));stream.source===Scope&&param.push("inScope(event.item)");param.length&&(entry$$1.filter=expression("("+param.join(")&&(")+")").$expr);null!=(param=stream.throttle)&&(entry$$1.throttle=+param);null!=(param=stream.debounce)&&(entry$$1.debounce=+param);stream.consume&&(entry$$1.consume=true);return entry$$1}function filterMark(type,name,role){var item="event.item";return item+(type&&"*"!==type?"&&"+item+".mark.marktype==='"+type+"'":"")+(role?"&&"+item+".mark.role==='"+role+"'":"")+(name?"&&"+item+".mark.name==='"+name+"'":"")}function selector(selector,source,marks){DEFAULT_SOURCE=source||VIEW$1;MARKS=marks||DEFAULT_MARKS;return parseMerge(selector.trim()).map(parseSelector)}var DEFAULT_SOURCE,MARKS,VIEW$1="view",LBRACK="[",RBRACK="]",LBRACE="{",RBRACE="}",COLON=":",COMMA=",",NAME="@",GT=">",ILLEGAL$1=/[[\]{}]/,DEFAULT_MARKS={"*":1,arc:1,area:1,group:1,image:1,line:1,path:1,rect:1,rule:1,shape:1,symbol:1,text:1,trail:1};function isMarkType(type){return MARKS.hasOwnProperty(type)}function find$1(s,i,endChar,pushChar,popChar){var c,count=0,n=s.length;for(;i<n;++i){c=s[i];if(!count&&c===endChar)return i;popChar&&popChar.indexOf(c)>=0?--count:pushChar&&pushChar.indexOf(c)>=0&&++count}return i}function parseMerge(s){var output=[],start=0,n=s.length,i=0;while(i<n){i=find$1(s,i,COMMA,LBRACK+LBRACE,RBRACK+RBRACE);output.push(s.substring(start,i).trim());start=++i}if(0===output.length)throw"Empty event selector: "+s;return output}function parseSelector(s){return"["===s[0]?parseBetween(s):parseStream$1(s)}function parseBetween(s){var b,stream,n=s.length,i=1;i=find$1(s,i,RBRACK,LBRACK,RBRACK);if(i===n)throw"Empty between selector: "+s;b=parseMerge(s.substring(1,i));if(2!==b.length)throw"Between selector must have two elements: "+s;s=s.slice(i+1).trim();if(s[0]!==GT)throw"Expected '>' after between selector: "+s;b=b.map(parseSelector);stream=parseSelector(s.slice(1).trim());if(stream.between)return{between:b,stream:stream};stream.between=b;return stream}function parseStream$1(s){var j,filter,stream={source:DEFAULT_SOURCE},source=[],throttle=[0,0],markname=0,start=0,n=s.length,i=0;if(s[n-1]===RBRACE){i=s.lastIndexOf(LBRACE);if(!(i>=0))throw"Unmatched right brace: "+s;try{throttle=parseThrottle(s.substring(i+1,n-1))}catch(e){throw"Invalid throttle specification: "+s}s=s.slice(0,i).trim();n=s.length;i=0}if(!n)throw s;s[0]===NAME&&(markname=++i);j=find$1(s,i,COLON);if(j<n){source.push(s.substring(start,j).trim());start=i=++j}i=find$1(s,i,LBRACK);if(i===n)source.push(s.substring(start,n).trim());else{source.push(s.substring(start,i).trim());filter=[];start=++i;if(start===n)throw"Unmatched left bracket: "+s}while(i<n){i=find$1(s,i,RBRACK);if(i===n)throw"Unmatched left bracket: "+s;filter.push(s.substring(start,i).trim());if(i<n-1&&s[++i]!==LBRACK)throw"Expected left bracket: "+s;start=++i}if(!(n=source.length)||ILLEGAL$1.test(source[n-1]))throw"Invalid event selector: "+s;if(n>1){stream.type=source[1];markname?stream.markname=source[0].slice(1):isMarkType(source[0])?stream.marktype=source[0]:stream.source=source[0]}else stream.type=source[0];if("!"===stream.type.slice(-1)){stream.consume=true;stream.type=stream.type.slice(0,-1)}null!=filter&&(stream.filter=filter);throttle[0]&&(stream.throttle=throttle[0]);throttle[1]&&(stream.debounce=throttle[1]);return stream}function parseThrottle(s){var a=s.split(COMMA);if(!s.length||a.length>2)throw s;return a.map(function(_){var x=+_;if(x!==x)throw s;return x})}var preamble="var datum=event.item&&event.item.datum;";function parseUpdate(spec,scope,target){var entry$$1,events=spec.events,update=spec.update,encode=spec.encode,sources=[],value="";events||error("Signal update missing events specification.");isString(events)&&(events=selector(events,scope.isSubscope()?Scope:View));events=array(events).filter(function(stream){if(stream.signal||stream.scale){sources.push(stream);return 0}return 1});events.length&&sources.push(events.length>1?{merge:events}:events[0]);if(null!=encode){update&&error("Signal encode and update are mutually exclusive.");update="encode(item(),"+$(encode)+")"}value=isString(update)?expression(update,scope,preamble):null!=update.expr?expression(update.expr,scope,preamble):null!=update.value?update.value:null!=update.signal?{$expr:"_.value",$params:{value:scope.signalRef(update.signal)}}:error("Invalid signal update specification.");entry$$1={target:target,update:value};spec.force&&(entry$$1.options={force:true});sources.forEach(function(source){scope.addUpdate(extend(streamSource(source,scope),entry$$1))})}function streamSource(stream,scope){return{source:stream.signal?scope.signalRef(stream.signal):stream.scale?scope.scaleRef(stream.scale):parseStream(stream,scope)}}function parseSignalUpdates(signal,scope){var op=scope.getSignal(signal.name);if(signal.update){var expr=expression(signal.update,scope);op.update=expr.$expr;op.params=expr.$params}signal.on&&signal.on.forEach(function(_){parseUpdate(_,scope,op.id)})}function transform$3(name){return function(params,value,parent){return entry(name,value,params||void 0,parent)}}var Aggregate$1=transform$3("aggregate");var AxisTicks$1=transform$3("axisticks");var Bound$1=transform$3("bound");var Collect$1=transform$3("collect");var Compare$1=transform$3("compare");var DataJoin$1=transform$3("datajoin");var Encode$1=transform$3("encode");var Expression$1=transform$3("expression");var Facet$1=transform$3("facet");var Field$1=transform$3("field");var Key$1=transform$3("key");var LegendEntries$1=transform$3("legendentries");var Load$1=transform$3("load");var Mark$1=transform$3("mark");var MultiExtent$1=transform$3("multiextent");var MultiValues$1=transform$3("multivalues");var Overlap$1=transform$3("overlap");var Params$2=transform$3("params");var PreFacet$1=transform$3("prefacet");var Projection$1=transform$3("projection");var Proxy$1=transform$3("proxy");var Relay$1=transform$3("relay");var Render$1=transform$3("render");var Scale$1=transform$3("scale");var Sieve$1=transform$3("sieve");var SortItems$1=transform$3("sortitems");var ViewLayout$1=transform$3("viewlayout");var Values$1=transform$3("values");var FIELD_REF_ID=0;var types=["identity","ordinal","band","point","bin-linear","bin-ordinal","quantize","quantile","threshold","linear","pow","sqrt","log","sequential","time","utc"];var allTypes=toSet(types),discreteTypes=toSet(types.slice(4,9)),continuousTypes=toSet(types.slice(9)),ordinalTypes=toSet(types.slice(1,6));function isOrdinal(type){return ordinalTypes.hasOwnProperty(type)}function isDiscretizing(type){return discreteTypes.hasOwnProperty(type)}function isContinuous(type){return continuousTypes.hasOwnProperty(type)}function isQuantile(type){return"quantile"===type}function initScale(spec,scope){var type=spec.type||"linear";allTypes.hasOwnProperty(type)||error("Unrecognized scale type: "+$(type));scope.addScale(spec.name,{type:type,domain:void 0})}function parseScale(spec,scope){var key$$1,params=scope.getScale(spec.name).params;params.domain=parseScaleDomain(spec.domain,spec,scope);null!=spec.range&&(params.range=parseScaleRange(spec,scope,params));null!=spec.interpolate&&parseScaleInterpolate(spec.interpolate,params);null!=spec.nice&&parseScaleNice(spec.nice,params);for(key$$1 in spec){if(params.hasOwnProperty(key$$1)||"name"===key$$1)continue;params[key$$1]=parseLiteral(spec[key$$1],scope)}}function parseLiteral(v,scope){return isObject(v)?v.signal?scope.signalRef(v.signal):error("Unsupported object: "+$(v)):v}function parseArray(v,scope){return v.signal?scope.signalRef(v.signal):v.map(function(v){return parseLiteral(v,scope)})}function dataLookupError(name){error("Can not find data set: "+$(name))}function parseScaleDomain(domain,spec,scope){if(!domain){null==spec.domainMin&&null==spec.domainMax||error("No scale domain defined for domainMin/domainMax to override.");return}return domain.signal?scope.signalRef(domain.signal):(isArray(domain)?explicitDomain:domain.fields?multipleDomain:singularDomain)(domain,spec,scope)}function explicitDomain(domain,spec,scope){return domain.map(function(v){return parseLiteral(v,scope)})}function singularDomain(domain,spec,scope){var data=scope.getData(domain.data);data||dataLookupError(domain.data);return isOrdinal(spec.type)?data.valuesRef(scope,domain.field,parseSort(domain.sort,false)):isQuantile(spec.type)?data.domainRef(scope,domain.field):data.extentRef(scope,domain.field)}function multipleDomain(domain,spec,scope){var data=domain.data,fields=domain.fields.reduce(function(dom,d){d=isString(d)?{data:data,field:d}:isArray(d)||d.signal?fieldRef$1(d,scope):d;dom.push(d);return dom},[]);return(isOrdinal(spec.type)?ordinalMultipleDomain:isQuantile(spec.type)?quantileMultipleDomain:numericMultipleDomain)(domain,scope,fields)}function fieldRef$1(data,scope){var name="_:vega:_"+FIELD_REF_ID++,coll=Collect$1({});if(isArray(data))coll.value={$ingest:data};else if(data.signal){var code="setdata("+$(name)+","+data.signal+")";coll.params.input=scope.signalRef(code)}scope.addDataPipeline(name,[coll,Sieve$1({})]);return{data:name,field:"data"}}function ordinalMultipleDomain(domain,scope,fields){var counts,a,c,v;counts=fields.map(function(f){var data=scope.getData(f.data);data||dataLookupError(f.data);return data.countsRef(scope,f.field)});a=scope.add(Aggregate$1({groupby:keyFieldRef,ops:["sum"],fields:[scope.fieldRef("count")],as:["count"],pulse:counts}));c=scope.add(Collect$1({pulse:ref(a)}));v=scope.add(Values$1({field:keyFieldRef,sort:scope.sortRef(parseSort(domain.sort,true)),pulse:ref(c)}));return ref(v)}function parseSort(sort,multidomain){sort&&(sort.field||sort.op?sort.field||"count"===sort.op?multidomain&&sort.field?error("Multiple domain scales can not sort by field."):multidomain&&sort.op&&"count"!==sort.op&&error("Multiple domain scales support op count only."):error("No field provided for sort aggregate op: "+sort.op):isObject(sort)?sort.field="key":sort={field:"key"});return sort}function quantileMultipleDomain(domain,scope,fields){var values=fields.map(function(f){var data=scope.getData(f.data);data||dataLookupError(f.data);return data.domainRef(scope,f.field)});return ref(scope.add(MultiValues$1({values:values})))}function numericMultipleDomain(domain,scope,fields){var extents=fields.map(function(f){var data=scope.getData(f.data);data||dataLookupError(f.data);return data.extentRef(scope,f.field)});return ref(scope.add(MultiExtent$1({extents:extents})))}function parseScaleNice(nice,params){params.nice=isObject(nice)?{interval:parseLiteral(nice.interval),step:parseLiteral(nice.step)}:parseLiteral(nice)}function parseScaleInterpolate(interpolate,params){params.interpolate=parseLiteral(interpolate.type||interpolate);null!=interpolate.gamma&&(params.interpolateGamma=parseLiteral(interpolate.gamma))}function parseScaleRange(spec,scope,params){var range=spec.range,config=scope.config.range;if(range.signal)return scope.signalRef(range.signal);if(isString(range)){if(config&&config.hasOwnProperty(range)){spec=extend({},spec,{range:config[range]});return parseScaleRange(spec,scope,params)}"width"===range?range=[0,{signal:"width"}]:"height"===range?range=isOrdinal(spec.type)?[0,{signal:"height"}]:[{signal:"height"},0]:error("Unrecognized scale range value: "+$(range))}else{if(range.scheme){params.scheme=parseLiteral(range.scheme,scope);range.extent&&(params.schemeExtent=parseArray(range.extent,scope));range.count&&(params.schemeCount=parseLiteral(range.count,scope));return}if(range.step){params.rangeStep=parseLiteral(range.step,scope);return}if(isOrdinal(spec.type)&&!isArray(range))return parseScaleDomain(range,spec,scope);isArray(range)||error("Unsupported range type: "+$(range))}return range.map(function(v){return parseLiteral(v,scope)})}function parseProjection(proj,scope){var params={};for(var name in proj){if("name"===name)continue;params[name]=parseParameter(proj[name],name,scope)}scope.addProjection(proj.name,params)}function parseParameter(_,name,scope){return isArray(_)?_.map(function(_){return parseParameter(_,name,scope)}):isObject(_)?_.signal?scope.signalRef(_.signal):"fit"===name?_:error("Unsupported parameter object: "+$(_)):_}var Top$1="top";var Left$1="left";var Right$1="right";var Bottom$1="bottom";var Center$1="center";var Vertical="vertical";var Start$1="start";var End$1="end";var Index="index";var Label="label";var Offset="offset";var Perc="perc";var Perc2="perc2";var Size="size";var Value="value";var GuideLabelStyle="guide-label";var GuideTitleStyle="guide-title";var GroupTitleStyle="group-title";var Symbols$2="symbol";var Gradient$2="gradient";var Discrete$1="discrete";var LegendScales=["size","shape","fill","stroke","strokeDash","opacity"];var Skip={name:1,interactive:1};var Skip$1=toSet(["rule"]),Swap=toSet(["group","image","rect"]);function adjustSpatial(encode,marktype){var code="";if(Skip$1[marktype])return code;if(encode.x2)if(encode.x){Swap[marktype]&&(code+="if(o.x>o.x2)$=o.x,o.x=o.x2,o.x2=$;");code+="o.width=o.x2-o.x;"}else code+="o.x=o.x2-(o.width||0);";encode.xc&&(code+="o.x=o.xc-(o.width||0)/2;");if(encode.y2)if(encode.y){Swap[marktype]&&(code+="if(o.y>o.y2)$=o.y,o.y=o.y2,o.y2=$;");code+="o.height=o.y2-o.y;"}else code+="o.y=o.y2-(o.height||0);";encode.yc&&(code+="o.y=o.yc-(o.height||0)/2;");return code}function color$2(enc,scope,params,fields){function color(type,x,y,z){var a=entry$1(null,x,scope,params,fields),b=entry$1(null,y,scope,params,fields),c=entry$1(null,z,scope,params,fields);return"this."+type+"("+[a,b,c].join(",")+").toString()"}return enc.c?color("hcl",enc.h,enc.c,enc.l):enc.h||enc.s?color("hsl",enc.h,enc.s,enc.l):enc.l||enc.a?color("lab",enc.l,enc.a,enc.b):enc.r||enc.g||enc.b?color("rgb",enc.r,enc.g,enc.b):null}function expression$1(code,scope,params,fields){var expr=expression(code,scope);expr.$fields.forEach(function(name){fields[name]=1});extend(params,expr.$params);return expr.$expr}function field$1(ref,scope,params,fields){return resolve$1(isObject(ref)?ref:{datum:ref},scope,params,fields)}function resolve$1(ref,scope,params,fields){var object,level,field$$1;if(ref.signal){object="datum";field$$1=expression$1(ref.signal,scope,params,fields)}else if(ref.group||ref.parent){level=Math.max(1,ref.level||1);object="item";while(level-- >0)object+=".mark.group";if(ref.parent){field$$1=ref.parent;object+=".datum"}else field$$1=ref.group}else if(ref.datum){object="datum";field$$1=ref.datum}else error("Invalid field reference: "+$(ref));if(!ref.signal)if(isString(field$$1)){fields[field$$1]=1;field$$1=splitAccessPath(field$$1).map($).join("][")}else field$$1=resolve$1(field$$1,scope,params,fields);return object+"["+field$$1+"]"}function scale$3(enc,value,scope,params,fields){var interp,func,flag,scale=getScale$1(enc.scale,scope,params,fields);if(null!=enc.range){interp=+enc.range;func=scale+".range()";value=0===interp?func+"[0]":"($="+func+","+(1===interp?"$[$.length-1]":"$[0]+"+interp+"*($[$.length-1]-$[0])")+")"}else{void 0!==value&&(value=scale+"("+value+")");if(enc.band&&(flag=hasBandwidth(enc.scale,scope))){func=scale+".bandwidth";interp=+enc.band;interp=func+"()"+(1===interp?"":"*"+interp);flag<0&&(interp="("+func+"?"+interp+":0)");value=(value?value+"+":"")+interp;enc.extra&&(value="(datum.extra?"+scale+"(datum.extra.value):"+value+")")}null==value&&(value="0")}return value}function hasBandwidth(name,scope){if(!isString(name))return-1;var type=scope.scaleType(name);return"band"===type||"point"===type?1:0}function getScale$1(name,scope,params,fields){var scaleName;if(isString(name)){scaleName=scalePrefix+name;params.hasOwnProperty(scaleName)||(params[scaleName]=scope.scaleRef(name));scaleName=$(scaleName)}else{for(scaleName in scope.scales)params[scalePrefix+scaleName]=scope.scaleRef(scaleName);scaleName=$(scalePrefix)+"+"+(name.signal?"("+expression$1(name.signal,scope,params,fields)+")":field$1(name,scope,params,fields))}return"_["+scaleName+"]"}function gradient$1(enc,scope,params,fields){return"this.gradient("+getScale$1(enc.gradient,scope,params,fields)+","+$(enc.start)+","+$(enc.stop)+","+$(enc.count)+")"}function property(property,scope,params,fields){return isObject(property)?"("+entry$1(null,property,scope,params,fields)+")":property}function entry$1(channel,enc,scope,params,fields){if(null!=enc.gradient)return gradient$1(enc,scope,params,fields);var value=enc.signal?expression$1(enc.signal,scope,params,fields):enc.color?color$2(enc.color,scope,params,fields):null!=enc.field?field$1(enc.field,scope,params,fields):void 0!==enc.value?$(enc.value):void 0;null!=enc.scale&&(value=scale$3(enc,value,scope,params,fields));void 0===value&&(value=null);null!=enc.exponent&&(value="Math.pow("+value+","+property(enc.exponent,scope,params,fields)+")");null!=enc.mult&&(value+="*"+property(enc.mult,scope,params,fields));null!=enc.offset&&(value+="+"+property(enc.offset,scope,params,fields));enc.round&&(value="Math.round("+value+")");return value}function set$4(obj,key$$1,value){return obj+"["+$(key$$1)+"]="+value+";"}function rule$1(channel,rules,scope,params,fields){var code="";rules.forEach(function(rule){var value=entry$1(channel,rule,scope,params,fields);code+=rule.test?expression$1(rule.test,scope,params,fields)+"?"+value+":":value});":"===peek(code)&&(code+="null");return set$4("o",channel,code)}function parseEncode(encode,marktype,params,scope){var channel,enc,value,fields={},code="var o=item,datum=o.datum,$;";for(channel in encode){enc=encode[channel];if(isArray(enc))code+=rule$1(channel,enc,scope,params,fields);else{value=entry$1(channel,enc,scope,params,fields);code+=set$4("o",channel,value)}}code+=adjustSpatial(encode,marktype);code+="return 1;";return{$expr:code,$fields:Object.keys(fields),$output:Object.keys(encode)}}var MarkRole="mark";var FrameRole$1="frame";var ScopeRole$1="scope";var AxisRole$1="axis";var AxisDomainRole="axis-domain";var AxisGridRole="axis-grid";var AxisLabelRole="axis-label";var AxisTickRole="axis-tick";var AxisTitleRole="axis-title";var LegendRole$1="legend";var LegendBandRole="legend-band";var LegendEntryRole="legend-entry";var LegendGradientRole="legend-gradient";var LegendLabelRole="legend-label";var LegendSymbolRole="legend-symbol";var LegendTitleRole="legend-title";var TitleRole$1="title";function encoder(_){return isObject(_)?extend({},_):{value:_}}function addEncode(object,name,value,set){if(null!=value){isObject(value)&&!isArray(value)?object.update[name]=value:object[set||"enter"][name]={value:value};return 1}return 0}function extendEncode(encode,extra,skip){for(var name in extra){if(skip&&skip.hasOwnProperty(name))continue;encode[name]=extend(encode[name]||{},extra[name])}return encode}function encoders(encode,type,role,style,scope,params){var enc,key$$1;params=params||{};params.encoders={$encode:enc={}};encode=applyDefaults(encode,type,role,style,scope.config);for(key$$1 in encode)enc[key$$1]=parseEncode(encode[key$$1],type,params,scope);return params}function applyDefaults(encode,type,role,style,config){var key$$1,skip,props,enter={};"legend"!=role&&0!==String(role).indexOf("axis")||(role=null);props=role===FrameRole$1?config.group:role===MarkRole?extend({},config.mark,config[type]):null;for(key$$1 in props){skip=has(key$$1,encode)||("fill"===key$$1||"stroke"===key$$1)&&(has("fill",encode)||has("stroke",encode));skip||(enter[key$$1]=defaultEncode(props[key$$1]))}array(style).forEach(function(name){var props=config.style&&config.style[name];for(var key$$1 in props)has(key$$1,encode)||(enter[key$$1]=defaultEncode(props[key$$1]))});encode=extend({},encode);encode.enter=extend(enter,encode.enter);return encode}function defaultEncode(value){return value&&value.signal?{signal:value.signal}:{value:value}}function has(key$$1,encode){return encode&&(encode.enter&&encode.enter[key$$1]||encode.update&&encode.update[key$$1])}function guideMark(type,role,style,key,dataRef,encode,extras){return{type:type,name:extras?extras.name:void 0,role:role,style:extras&&extras.style||style,key:key,from:dataRef,interactive:!!(extras&&extras.interactive),encode:extendEncode(encode,extras,Skip)}}function lookup$4(name,spec,config){return value$1(spec[name],config[name])}function isVertical(spec,configVal){return value$1(spec.direction,configVal)===Vertical}function gradientLength(spec,config){return value$1(spec.gradientLength,config.gradientLength||config.gradientWidth)}function gradientThickness(spec,config){return value$1(spec.gradientThickness,config.gradientThickness||config.gradientHeight)}function entryColumns(spec,config){return value$1(spec.columns,value$1(config.columns,+isVertical(spec,config.symbolDirection)))}function getEncoding(name,encode){var v=encode&&(encode.update&&encode.update[name]||encode.enter&&encode.enter[name]);return v&&v.signal?v:v?v.value:null}function getStyle(name,scope,style){var s=scope.config.style[style];return s&&s[name]}var GroupMark="group";var RectMark="rect";var RuleMark="rule";var SymbolMark="symbol";var TextMark="text";function legendGradient(spec,scale,config,userEncode){var encode,enter,start,stop,width,height,zero$$1={value:0},vertical=isVertical(spec,config.gradientDirection),thickness=gradientThickness(spec,config),length=gradientLength(spec,config);if(vertical){start=[0,1];stop=[0,0];width=thickness;height=length}else{start=[0,0];stop=[1,0];width=length;height=thickness}encode={enter:enter={opacity:zero$$1,x:zero$$1,y:zero$$1,width:encoder(width),height:encoder(height)},update:extend({},enter,{opacity:{value:1},fill:{gradient:scale,start:start,stop:stop}}),exit:{opacity:zero$$1}};addEncode(encode,"stroke",lookup$4("gradientStrokeColor",spec,config));addEncode(encode,"strokeWidth",lookup$4("gradientStrokeWidth",spec,config));addEncode(encode,"opacity",lookup$4("gradientOpacity",spec,config),"update");return guideMark(RectMark,LegendGradientRole,null,void 0,void 0,encode,userEncode)}function legendGradientDiscrete(spec,scale,config,userEncode,dataRef){var encode,enter,u,v,uu,vv,zero$$1={value:0},vertical=isVertical(spec,config.gradientDirection),thickness=gradientThickness(spec,config),length=gradientLength(spec,config),adjust="";vertical?(u="y",uu="y2",v="x",vv="width",adjust="1-"):(u="x",uu="x2",v="y",vv="height");enter={opacity:zero$$1,fill:{scale:scale,field:Value}};enter[u]={signal:adjust+"datum."+Perc,mult:length};enter[v]=zero$$1;enter[uu]={signal:adjust+"datum."+Perc2,mult:length};enter[vv]=encoder(thickness);encode={enter:enter,update:extend({},enter,{opacity:{value:1}}),exit:{opacity:zero$$1}};addEncode(encode,"stroke",lookup$4("gradientStrokeColor",spec,config));addEncode(encode,"strokeWidth",lookup$4("gradientStrokeWidth",spec,config));addEncode(encode,"opacity",lookup$4("gradientOpacity",spec,config),"update");return guideMark(RectMark,LegendBandRole,null,Value,dataRef,encode,userEncode)}var alignExpr="datum."+Perc+'<=0?"left":datum.'+Perc+'>=1?"right":"center"';var baselineExpr="datum."+Perc+'<=0?"bottom":datum.'+Perc+'>=1?"top":"middle"';function legendGradientLabels(spec,config,userEncode,dataRef){var encode,enter,update,u,v,zero={value:0},vertical=isVertical(spec,config.gradientDirection),thickness=encoder(gradientThickness(spec,config)),length=gradientLength(spec,config),overlap=lookup$4("labelOverlap",spec,config),adjust="";encode={enter:enter={opacity:zero},update:update={opacity:{value:1},text:{field:Label}},exit:{opacity:zero}};addEncode(encode,"fill",lookup$4("labelColor",spec,config));addEncode(encode,"font",lookup$4("labelFont",spec,config));addEncode(encode,"fontSize",lookup$4("labelFontSize",spec,config));addEncode(encode,"fontWeight",lookup$4("labelFontWeight",spec,config));addEncode(encode,"fillOpacity",lookup$4("labelOpacity",spec,config));addEncode(encode,"limit",value$1(spec.labelLimit,config.gradientLabelLimit));if(vertical){enter.align={value:"left"};enter.baseline=update.baseline={signal:baselineExpr};u="y";v="x";adjust="1-"}else{enter.align=update.align={signal:alignExpr};enter.baseline={value:"top"};u="x";v="y"}enter[u]=update[u]={signal:adjust+"datum."+Perc,mult:length};enter[v]=update[v]=thickness;thickness.offset=value$1(spec.labelOffset,config.gradientLabelOffset)||0;spec=guideMark(TextMark,LegendLabelRole,GuideLabelStyle,Value,dataRef,encode,userEncode);overlap&&(spec.overlap={method:overlap,order:"datum."+Index});return spec}function guideGroup(role,style,name,dataRef,interactive,encode,marks,layout){return{type:GroupMark,name:name,role:role,style:style,from:dataRef,interactive:interactive||false,encode:encode,marks:marks,layout:layout}}var zero$2={value:0};function legendSymbolGroups(spec,config,userEncode,dataRef,columns){var enter,update,labelOffset,symbols,labels,nrows,sort,entries=userEncode.entries,interactive=!!(entries&&entries.interactive),name=entries?entries.name:void 0,height=lookup$4("clipHeight",spec,config),symbolOffset=lookup$4("symbolOffset",spec,config),valueRef={data:"value"},encode={},xSignal=columns+"?datum."+Offset+":datum."+Size,yEncode=height?encoder(height):{field:Size},index="datum."+Index,ncols="max(1,"+columns+")";yEncode.mult=.5;encode={enter:enter={opacity:zero$2,x:{signal:xSignal,mult:.5,offset:symbolOffset},y:yEncode},update:update={opacity:{value:1},x:enter.x,y:enter.y},exit:{opacity:zero$2}};if(!spec.fill){addEncode(encode,"fill",config.symbolBaseFillColor);addEncode(encode,"stroke",config.symbolBaseStrokeColor)}addEncode(encode,"shape",lookup$4("symbolType",spec,config));addEncode(encode,"size",lookup$4("symbolSize",spec,config));addEncode(encode,"strokeWidth",lookup$4("symbolStrokeWidth",spec,config));addEncode(encode,"fill",lookup$4("symbolFillColor",spec,config));addEncode(encode,"stroke",lookup$4("symbolStrokeColor",spec,config));addEncode(encode,"opacity",lookup$4("symbolOpacity",spec,config),"update");LegendScales.forEach(function(scale){spec[scale]&&(update[scale]=enter[scale]={scale:spec[scale],field:Value})});symbols=guideMark(SymbolMark,LegendSymbolRole,null,Value,valueRef,encode,userEncode.symbols);height&&(symbols.clip=true);labelOffset=encoder(symbolOffset);labelOffset.offset=lookup$4("labelOffset",spec,config);encode={enter:enter={opacity:zero$2,x:{signal:xSignal,offset:labelOffset},y:yEncode},update:update={opacity:{value:1},text:{field:Label},x:enter.x,y:enter.y},exit:{opacity:zero$2}};addEncode(encode,"align",lookup$4("labelAlign",spec,config));addEncode(encode,"baseline",lookup$4("labelBaseline",spec,config));addEncode(encode,"fill",lookup$4("labelColor",spec,config));addEncode(encode,"font",lookup$4("labelFont",spec,config));addEncode(encode,"fontSize",lookup$4("labelFontSize",spec,config));addEncode(encode,"fontWeight",lookup$4("labelFontWeight",spec,config));addEncode(encode,"limit",lookup$4("labelLimit",spec,config));addEncode(encode,"fillOpacity",lookup$4("labelOpacity",spec,config));labels=guideMark(TextMark,LegendLabelRole,GuideLabelStyle,Value,valueRef,encode,userEncode.labels);encode={enter:{noBound:{value:true},width:zero$2,height:height?encoder(height):zero$2,opacity:zero$2},exit:{opacity:zero$2},update:update={opacity:{value:1},row:{signal:null},column:{signal:null}}};if(isVertical(spec,config.symbolDirection)){nrows="ceil(item.mark.items.length/"+ncols+")";update.row.signal=index+"%"+nrows;update.column.signal="floor("+index+"/"+nrows+")";sort={field:["row",index]}}else{update.row.signal="floor("+index+"/"+ncols+")";update.column.signal=index+"%"+ncols;sort={field:index}}update.column.signal=columns+"?"+update.column.signal+":"+index;dataRef={facet:{data:dataRef,name:"value",groupby:Index}};spec=guideGroup(ScopeRole$1,null,name,dataRef,interactive,extendEncode(encode,entries,Skip),[symbols,labels]);spec.sort=sort;return spec}function legendSymbolLayout(spec,config){return{align:lookup$4("gridAlign",spec,config),center:{row:true,column:false},columns:entryColumns(spec,config),padding:{row:lookup$4("rowPadding",spec,config),column:lookup$4("columnPadding",spec,config)}}}function legendTitle(spec,config,userEncode,dataRef){var encode,enter,zero={value:0};encode={enter:enter={opacity:zero,x:{field:{group:"padding"}},y:{field:{group:"padding"}}},update:{opacity:{value:1},text:encoder(spec.title),x:enter.x,y:enter.y},exit:{opacity:zero}};addEncode(encode,"align",lookup$4("titleAlign",spec,config));addEncode(encode,"baseline",lookup$4("titleBaseline",spec,config));addEncode(encode,"fill",lookup$4("titleColor",spec,config));addEncode(encode,"font",lookup$4("titleFont",spec,config));addEncode(encode,"fontSize",lookup$4("titleFontSize",spec,config));addEncode(encode,"fontWeight",lookup$4("titleFontWeight",spec,config));addEncode(encode,"limit",lookup$4("titleLimit",spec,config));addEncode(encode,"fillOpacity",lookup$4("titleOpacity",spec,config));return guideMark(TextMark,LegendTitleRole,GuideTitleStyle,null,dataRef,encode,userEncode)}function clip$3(clip,scope){var expr;isObject(clip)&&(clip.signal?expr=clip.signal:clip.path?expr="pathShape("+param(clip.path)+")":clip.sphere&&(expr="geoShape("+param(clip.sphere)+', {type: "Sphere"})'));return expr?scope.signalRef(expr):!!clip}function param(value){return isObject(value)&&value.signal?value.signal:$(value)}function role(spec){var role=spec.role||"";return role.indexOf("axis")&&role.indexOf("legend")?spec.type===GroupMark?ScopeRole$1:role||MarkRole:role}function definition$1(spec){return{marktype:spec.type,name:spec.name||void 0,role:spec.role||role(spec),zindex:+spec.zindex||void 0}}function interactive(spec,scope){return spec&&spec.signal?scope.signalRef(spec.signal):false!==spec}function parseTransform(spec,scope){var def=definition(spec.type);def||error("Unrecognized transform type: "+$(spec.type));var t=entry(def.type.toLowerCase(),null,parseParameters(def,spec,scope));spec.signal&&scope.addSignal(spec.signal,scope.proxy(t));t.metadata=def.metadata||{};return t}function parseParameters(def,spec,scope){var pdef,i,n,params={};for(i=0,n=def.params.length;i<n;++i){pdef=def.params[i];params[pdef.name]=parseParameter$1(pdef,spec,scope)}return params}function parseParameter$1(def,spec,scope){var type=def.type,value=spec[def.name];if("index"===type)return parseIndexParameter(def,spec,scope);if(void 0===value){def.required&&error("Missing required "+$(spec.type)+" parameter: "+$(def.name));return}if("param"===type)return parseSubParameters(def,spec,scope);if("projection"===type)return scope.projectionRef(spec[def.name]);return def.array&&!isSignal(value)?value.map(function(v){return parameterValue(def,v,scope)}):parameterValue(def,value,scope)}function parameterValue(def,value,scope){var type=def.type;if(isSignal(value))return isExpr(type)?error("Expression references can not be signals."):isField(type)?scope.fieldRef(value):isCompare(type)?scope.compareRef(value):scope.signalRef(value.signal);var expr=def.expr||isField(type);return expr&&outerExpr(value)?scope.exprRef(value.expr,value.as):expr&&outerField(value)?fieldRef(value.field,value.as):isExpr(type)?expression(value,scope):isData(type)?ref(scope.getData(value).values):isField(type)?fieldRef(value):isCompare(type)?scope.compareRef(value):value}function parseIndexParameter(def,spec,scope){isString(spec.from)||error('Lookup "from" parameter must be a string literal.');return scope.getData(spec.from).lookupRef(scope,spec.key)}function parseSubParameters(def,spec,scope){var value=spec[def.name];if(def.array){isArray(value)||error("Expected an array of sub-parameters. Instead: "+$(value));return value.map(function(v){return parseSubParameter(def,v,scope)})}return parseSubParameter(def,value,scope)}function parseSubParameter(def,value,scope){var params,pdef,k,i,n;for(i=0,n=def.params.length;i<n;++i){pdef=def.params[i];for(k in pdef.key)if(pdef.key[k]!==value[k]){pdef=null;break}if(pdef)break}pdef||error("Unsupported parameter: "+$(value));params=extend(parseParameters(pdef,value,scope),pdef.key);return ref(scope.add(Params$2(params)))}function outerExpr(_){return _&&_.expr}function outerField(_){return _&&_.field}function isData(_){return"data"===_}function isExpr(_){return"expr"===_}function isField(_){return"field"===_}function isCompare(_){return"compare"===_}function parseData(from,group,scope){var facet,key$$1,op,dataRef,parent;if(from){if(facet=from.facet){group||error("Only group marks can be faceted.");if(null!=facet.field)dataRef=parent=getDataRef(facet,scope);else{if(from.data)parent=ref(scope.getData(from.data).aggregate);else{op=parseTransform(extend({type:"aggregate",groupby:array(facet.groupby)},facet.aggregate),scope);op.params.key=scope.keyRef(facet.groupby);op.params.pulse=getDataRef(facet,scope);dataRef=parent=ref(scope.add(op))}key$$1=scope.keyRef(facet.groupby,true)}}}else dataRef=ref(scope.add(Collect$1(null,[{}])));dataRef||(dataRef=getDataRef(from,scope));return{key:key$$1,pulse:dataRef,parent:parent}}function getDataRef(from,scope){return from.$ref?from:from.data&&from.data.$ref?from.data:ref(scope.getData(from.data).output)}function DataScope(scope,input,output,values,aggr){this.scope=scope;this.input=input;this.output=output;this.values=values;this.aggregate=aggr;this.index={}}DataScope.fromEntries=function(scope,entries){var n=entries.length,i=1,input=entries[0],values=entries[n-1],output=entries[n-2],aggr=null;scope.add(entries[0]);for(;i<n;++i){entries[i].params.pulse=ref(entries[i-1]);scope.add(entries[i]);"aggregate"===entries[i].type&&(aggr=entries[i])}return new DataScope(scope,input,output,values,aggr)};var prototype$1l=DataScope.prototype;prototype$1l.countsRef=function(scope,field$$1,sort){var v,a,p,ds=this,cache=ds.counts||(ds.counts={}),k=fieldKey(field$$1);if(null!=k){scope=ds.scope;v=cache[k]}if(v)sort&&sort.field&&addSortField(scope,v.agg.params,sort);else{p={groupby:scope.fieldRef(field$$1,"key"),pulse:ref(ds.output)};sort&&sort.field&&addSortField(scope,p,sort);a=scope.add(Aggregate$1(p));v=scope.add(Collect$1({pulse:ref(a)}));v={agg:a,ref:ref(v)};null!=k&&(cache[k]=v)}return v.ref};function fieldKey(field$$1){return isString(field$$1)?field$$1:null}function addSortField(scope,p,sort){var s,as=aggrField(sort.op,sort.field);if(p.ops){for(var i=0,n=p.as.length;i<n;++i)if(p.as[i]===as)return}else{p.ops=["count"];p.fields=[null];p.as=["count"]}if(sort.op){p.ops.push((s=sort.op.signal)?scope.signalRef(s):sort.op);p.fields.push(scope.fieldRef(sort.field));p.as.push(as)}}function cache(scope,ds,name,optype,field$$1,counts,index){var v,op,cache=ds[name]||(ds[name]={}),sort=sortKey(counts),k=fieldKey(field$$1);if(null!=k){scope=ds.scope;k+=sort?"|"+sort:"";v=cache[k]}if(!v){var params=counts?{field:keyFieldRef,pulse:ds.countsRef(scope,field$$1,counts)}:{field:scope.fieldRef(field$$1),pulse:ref(ds.output)};sort&&(params.sort=scope.sortRef(counts));op=scope.add(entry(optype,void 0,params));index&&(ds.index[field$$1]=op);v=ref(op);null!=k&&(cache[k]=v)}return v}prototype$1l.tuplesRef=function(){return ref(this.values)};prototype$1l.extentRef=function(scope,field$$1){return cache(scope,this,"extent","extent",field$$1,false)};prototype$1l.domainRef=function(scope,field$$1){return cache(scope,this,"domain","values",field$$1,false)};prototype$1l.valuesRef=function(scope,field$$1,sort){return cache(scope,this,"vals","values",field$$1,sort||true)};prototype$1l.lookupRef=function(scope,field$$1){return cache(scope,this,"lookup","tupleindex",field$$1,false)};prototype$1l.indataRef=function(scope,field$$1){return cache(scope,this,"indata","tupleindex",field$$1,true,true)};function parseFacet(spec,scope,group){var subscope,source,values,op,facet=spec.from.facet,name=facet.name,data=getDataRef(facet,scope);facet.name||error("Facet must have a name: "+$(facet));facet.data||error("Facet must reference a data set: "+$(facet));facet.field?op=scope.add(PreFacet$1({field:scope.fieldRef(facet.field),pulse:data})):facet.groupby?op=scope.add(Facet$1({key:scope.keyRef(facet.groupby),group:ref(scope.proxy(group.parent)),pulse:data})):error("Facet must specify groupby or field: "+$(facet));subscope=scope.fork();source=subscope.add(Collect$1());values=subscope.add(Sieve$1({pulse:ref(source)}));subscope.addData(name,new DataScope(subscope,source,source,values));subscope.addSignal("parent",null);op.params.subflow={$subflow:parseSpec(spec,subscope).toRuntime()}}function parseSubflow(spec,scope,input){var op=scope.add(PreFacet$1({pulse:input.pulse})),subscope=scope.fork();subscope.add(Sieve$1());subscope.addSignal("parent",null);op.params.subflow={$subflow:parseSpec(spec,subscope).toRuntime()}}function parseTrigger(spec,scope,name){var update,expr,remove=spec.remove,insert=spec.insert,toggle=spec.toggle,modify=spec.modify,values=spec.values,op=scope.add(operator());update="if("+spec.trigger+',modify("'+name+'",'+[insert,remove,toggle,modify,values].map(function(_){return null==_?"null":_}).join(",")+"),0)";expr=expression(update,scope);op.update=expr.$expr;op.params=expr.$params}function parseMark(spec,scope){var ops,op,input,store,bound,render,sieve,name,joinRef,markRef,encodeRef,layoutRef,boundRef,role$$1=role(spec),group=spec.type===GroupMark,facet=spec.from&&spec.from.facet,layout=spec.layout||role$$1===ScopeRole$1||role$$1===FrameRole$1,nested=role$$1===MarkRole||layout||facet,overlap=spec.overlap;input=parseData(spec.from,group,scope);op=scope.add(DataJoin$1({key:input.key||(spec.key?fieldRef(spec.key):void 0),pulse:input.pulse,clean:!group}));joinRef=ref(op);op=store=scope.add(Collect$1({pulse:joinRef}));op=scope.add(Mark$1({markdef:definition$1(spec),interactive:interactive(spec.interactive,scope),clip:clip$3(spec.clip,scope),context:{$context:true},groups:scope.lookup(),parent:scope.signals.parent?scope.signalRef("parent"):null,index:scope.markpath(),pulse:ref(op)}));markRef=ref(op);op=scope.add(Encode$1(encoders(spec.encode,spec.type,role$$1,spec.style,scope,{pulse:markRef})));op.params.parent=scope.encode();spec.transform&&spec.transform.forEach(function(_){var tx=parseTransform(_,scope);(tx.metadata.generates||tx.metadata.changes)&&error("Mark transforms should not generate new data.");tx.params.pulse=ref(op);scope.add(op=tx)});spec.sort&&(op=scope.add(SortItems$1({sort:scope.compareRef(spec.sort,true),pulse:ref(op)})));encodeRef=ref(op);if(facet||layout){layout=scope.add(ViewLayout$1({layout:scope.objectProperty(spec.layout),legendMargin:scope.config.legendMargin,mark:markRef,pulse:encodeRef}));layoutRef=ref(layout)}bound=scope.add(Bound$1({mark:markRef,pulse:layoutRef||encodeRef}));boundRef=ref(bound);if(group){if(nested){ops=scope.operators;ops.pop();layout&&ops.pop()}scope.pushState(encodeRef,layoutRef||boundRef,joinRef);facet?parseFacet(spec,scope,input):nested?parseSubflow(spec,scope,input):parseSpec(spec,scope);scope.popState();if(nested){layout&&ops.push(layout);ops.push(bound)}}overlap&&(boundRef=parseOverlap(overlap,boundRef,scope));render=scope.add(Render$1({pulse:boundRef}));sieve=scope.add(Sieve$1({pulse:ref(render)},void 0,scope.parent()));if(null!=spec.name){name=spec.name;scope.addData(name,new DataScope(scope,store,render,sieve));spec.on&&spec.on.forEach(function(on){(on.insert||on.remove||on.toggle)&&error("Marks only support modify triggers.");parseTrigger(on,scope,name)})}}function parseOverlap(overlap,source,scope){var tol,method=overlap.method,bound=overlap.bound;var params={method:isSignal(method)?scope.signalRef(method.signal):method,pulse:source};overlap.order&&(params.sort=scope.compareRef({field:overlap.order}));if(bound){tol=bound.tolerance;params.boundTolerance=isSignal(tol)?scope.signalRef(tol.signal):+tol;params.boundScale=scope.scaleRef(bound.scale);params.boundOrient=bound.orient}return ref(scope.add(Overlap$1(params)))}function parseLegend(spec,scope){var entryEncode,entryLayout,params,children,type,datum,dataRef,entryRef,group,config=scope.config.legend,encode=spec.encode||{},legendEncode=encode.legend||{},name=legendEncode.name||void 0,interactive=legendEncode.interactive,style=legendEncode.style;var scale=LegendScales.reduce(function(a,b){return a||spec[b]},0);scale||error("Missing valid scale for legend.");type=legendType(spec,scope.scaleType(scale));datum={orient:lookup$4("orient",spec,config),title:null!=spec.title,type:type};dataRef=ref(scope.add(Collect$1(null,[datum])));legendEncode=extendEncode(buildLegendEncode(spec,config),legendEncode,Skip);entryEncode={enter:{x:{value:0},y:{value:0}}};entryRef=ref(scope.add(LegendEntries$1(params={type:type,scale:scope.scaleRef(scale),count:scope.objectProperty(spec.tickCount),values:scope.objectProperty(spec.values),formatSpecifier:scope.property(spec.format)})));if(type===Gradient$2){children=[legendGradient(spec,scale,config,encode.gradient),legendGradientLabels(spec,config,encode.labels,entryRef)];params.count=params.count||scope.signalRef("max(2,2*floor(("+deref(gradientLength(spec,config))+")/100))")}else if(type===Discrete$1)children=[legendGradientDiscrete(spec,scale,config,encode.gradient,entryRef),legendGradientLabels(spec,config,encode.labels,entryRef)];else{entryLayout=legendSymbolLayout(spec,config);children=[legendSymbolGroups(spec,config,encode,entryRef,deref(entryLayout.columns))];params.size=sizeExpression(spec,scope,children[0].marks)}children=[guideGroup(LegendEntryRole,null,null,dataRef,interactive,entryEncode,children,entryLayout)];datum.title&&children.push(legendTitle(spec,config,encode.title,dataRef));group=guideGroup(LegendRole$1,style,name,dataRef,interactive,legendEncode,children);spec.zindex&&(group.zindex=spec.zindex);return parseMark(group,scope)}function legendType(spec,scaleType){var type=spec.type||Symbols$2;spec.type||1!==scaleCount(spec)||!spec.fill&&!spec.stroke||(type=isContinuous(scaleType)?Gradient$2:isDiscretizing(scaleType)?Discrete$1:Symbols$2);return type!==Gradient$2?type:isDiscretizing(scaleType)?Discrete$1:Gradient$2}function scaleCount(spec){return LegendScales.reduce(function(count,type){return count+(spec[type]?1:0)},0)}function buildLegendEncode(spec,config){var encode={enter:{},update:{}};addEncode(encode,"offset",lookup$4("offset",spec,config));addEncode(encode,"padding",lookup$4("padding",spec,config));addEncode(encode,"titlePadding",lookup$4("titlePadding",spec,config));addEncode(encode,"fill",lookup$4("fillColor",spec,config));addEncode(encode,"stroke",lookup$4("strokeColor",spec,config));addEncode(encode,"strokeWidth",lookup$4("strokeWidth",spec,config));addEncode(encode,"cornerRadius",lookup$4("cornerRadius",spec,config));addEncode(encode,"strokeDash",config.strokeDash);return encode}function sizeExpression(spec,scope,marks){var fontSize,size,strokeWidth,expr;strokeWidth=getEncoding("strokeWidth",marks[0].encode);size=spec.size?'scale("'+spec.size+'",datum)':getEncoding("size",marks[0].encode,scope);fontSize=getFontSize(marks[1].encode,scope,GuideLabelStyle);expr="max(ceil(sqrt("+deref(size)+")+"+deref(strokeWidth)+"),"+deref(fontSize)+")";return expression(expr,scope)}function getFontSize(encode,scope,style){return getEncoding("fontSize",encode)||getStyle("fontSize",scope,style)}function anchorExpr(startValue,endValue,centerValue){return'item.anchor==="'+Start$1+'"?'+startValue+':item.anchor==="'+End$1+'"?'+endValue+":"+centerValue}var alignExpr$1=anchorExpr($(Left$1),$(Right$1),$(Center$1));var multExpr=anchorExpr('+(item.orient==="'+Right$1+'")','+(item.orient!=="'+Left$1+'")',"0.5");function parseTitle(spec,scope){spec=isString(spec)?{text:spec}:spec;var datum,dataRef,title,config=scope.config.title,encode=extend({},spec.encode);datum={orient:lookup$4("orient",spec,config)};dataRef=ref(scope.add(Collect$1(null,[datum])));encode.name=spec.name;encode.interactive=spec.interactive;title=buildTitle(spec,config,encode,dataRef);spec.zindex&&(title.zindex=spec.zindex);return parseMark(title,scope)}function buildTitle(spec,config,userEncode,dataRef){var encode,enter,update,pos,opp,zero$$1={value:0},title=spec.text,orient=lookup$4("orient",spec,config),anchor=lookup$4("anchor",spec,config),sign=orient===Left$1||orient===Top$1?-1:1,horizontal=orient===Top$1||orient===Bottom$1,extent={group:horizontal?"width":"height"};pos={field:extent,mult:{signal:multExpr}};opp=sign<0?zero$$1:horizontal?{field:{group:"height"}}:{field:{group:"width"}};encode={enter:enter={opacity:zero$$1},update:update={opacity:{value:1},text:encoder(title),anchor:encoder(anchor),orient:encoder(orient),extent:{field:extent},align:{signal:alignExpr$1}},exit:{opacity:zero$$1}};if(horizontal){update.x=pos;update.y=opp;enter.angle=zero$$1;enter.baseline={value:orient===Top$1?Bottom$1:Top$1}}else{update.x=opp;update.y=pos;enter.angle={value:90*sign};enter.baseline={value:Bottom$1}}addEncode(encode,"align",lookup$4("align",spec,config),"update");addEncode(encode,"angle",lookup$4("angle",spec,config));addEncode(encode,"baseline",lookup$4("baseline",spec,config));addEncode(encode,"fill",lookup$4("color",spec,config));addEncode(encode,"font",lookup$4("font",spec,config));addEncode(encode,"fontSize",lookup$4("fontSize",spec,config));addEncode(encode,"fontWeight",lookup$4("fontWeight",spec,config));addEncode(encode,"frame",lookup$4("frame",spec,config));addEncode(encode,"limit",lookup$4("limit",spec,config));addEncode(encode,"offset",lookup$4("offset",spec,config)||0);return guideMark(TextMark,TitleRole$1,spec.style||GroupTitleStyle,null,dataRef,encode,userEncode)}function parseData$1(data,scope){var transforms=[];data.transform&&data.transform.forEach(function(tx){transforms.push(parseTransform(tx,scope))});data.on&&data.on.forEach(function(on){parseTrigger(on,scope,data.name)});scope.addDataPipeline(data.name,analyze(data,scope,transforms))}function analyze(data,scope,ops){var upstream,i,n,t,m,output=[],source=null,modify=false,generate=false;if(data.values)output.push(source=collect({$ingest:data.values,$format:data.format}));else if(data.url){source=hasSignal(data.url)||hasSignal(data.format)?{$load:ref(scope.add(load$1(scope,data,source)))}:{$request:data.url,$format:data.format};output.push(source=collect(source))}else if(data.source){source=upstream=array(data.source).map(function(d){return ref(scope.getData(d).output)});output.push(null)}for(i=0,n=ops.length;i<n;++i){t=ops[i];m=t.metadata;source||m.source||output.push(source=collect());output.push(t);m.generates&&(generate=true);m.modifies&&!generate&&(modify=true);m.source?source=t:m.changes&&(source=null)}if(upstream){n=upstream.length-1;output[0]=Relay$1({derive:modify,pulse:n?upstream:upstream[0]});(modify||n)&&output.splice(1,0,collect())}source||output.push(collect());output.push(Sieve$1({}));return output}function collect(values){var s=Collect$1({},values);s.metadata={source:true};return s}function load$1(scope,data){return Load$1({url:scope.property(data.url),format:scope.objectProperty(data.format)})}function axisConfig(spec,scope){var config=scope.config,orient=spec.orient,xy=orient===Top$1||orient===Bottom$1?config.axisX:config.axisY,or=config["axis"+orient[0].toUpperCase()+orient.slice(1)],band="band"===scope.scaleType(spec.scale)&&config.axisBand;return xy||or||band?extend({},config.axis,xy,or,band):config.axis}function axisDomain(spec,config,userEncode,dataRef){var encode,enter,update,u,u2,v,orient=spec.orient,zero={value:0};encode={enter:enter={opacity:zero},update:update={opacity:{value:1}},exit:{opacity:zero}};addEncode(encode,"stroke",lookup$4("domainColor",spec,config));addEncode(encode,"strokeWidth",lookup$4("domainWidth",spec,config));addEncode(encode,"strokeOpacity",lookup$4("domainOpacity",spec,config));if(orient===Top$1||orient===Bottom$1){u="x";v="y"}else{u="y";v="x"}u2=u+"2";enter[v]=zero;update[u]=enter[u]=position(spec,0);update[u2]=enter[u2]=position(spec,1);return guideMark(RuleMark,AxisDomainRole,null,null,dataRef,encode,userEncode)}function position(spec,pos){return{scale:spec.scale,range:pos}}function axisGrid(spec,config,userEncode,dataRef){var encode,enter,exit,update,tickPos,u,v,v2,s,orient=spec.orient,vscale=spec.gridScale,sign=orient===Left$1||orient===Top$1?1:-1,offset=sign*spec.offset||0,zero={value:0};encode={enter:enter={opacity:zero},update:update={opacity:{value:1}},exit:exit={opacity:zero}};addEncode(encode,"stroke",lookup$4("gridColor",spec,config));addEncode(encode,"strokeDash",lookup$4("gridDash",spec,config));addEncode(encode,"strokeOpacity",lookup$4("gridOpacity",spec,config));addEncode(encode,"strokeWidth",lookup$4("gridWidth",spec,config));tickPos={scale:spec.scale,field:Value,band:lookup$4("bandPosition",spec,config),round:lookup$4("tickRound",spec,config),extra:lookup$4("tickExtra",spec,config),offset:lookup$4("tickOffset",spec,config)};if(orient===Top$1||orient===Bottom$1){u="x";v="y";s="height"}else{u="y";v="x";s="width"}v2=v+"2";update[u]=enter[u]=exit[u]=tickPos;if(vscale){enter[v]={scale:vscale,range:0,mult:sign,offset:offset};update[v2]=enter[v2]={scale:vscale,range:1,mult:sign,offset:offset}}else{enter[v]={value:offset};update[v2]=enter[v2]={signal:s,mult:sign,offset:offset}}return guideMark(RuleMark,AxisGridRole,null,Value,dataRef,encode,userEncode)}function axisTicks(spec,config,userEncode,dataRef,size){var encode,enter,exit,update,tickSize,tickPos,orient=spec.orient,sign=orient===Left$1||orient===Top$1?-1:1,zero={value:0};encode={enter:enter={opacity:zero},update:update={opacity:{value:1}},exit:exit={opacity:zero}};addEncode(encode,"stroke",lookup$4("tickColor",spec,config));addEncode(encode,"strokeOpacity",lookup$4("tickOpacity",spec,config));addEncode(encode,"strokeWidth",lookup$4("tickWidth",spec,config));tickSize=encoder(size);tickSize.mult=sign;tickPos={scale:spec.scale,field:Value,band:lookup$4("bandPosition",spec,config),round:lookup$4("tickRound",spec,config),extra:lookup$4("tickExtra",spec,config),offset:lookup$4("tickOffset",spec,config)};if(orient===Top$1||orient===Bottom$1){update.y=enter.y=zero;update.y2=enter.y2=tickSize;update.x=enter.x=exit.x=tickPos}else{update.x=enter.x=zero;update.x2=enter.x2=tickSize;update.y=enter.y=exit.y=tickPos}return guideMark(RuleMark,AxisTickRole,null,Value,dataRef,encode,userEncode)}function flushExpr(scale,threshold,a,b,c){return{signal:'flush(range("'+scale+'"), scale("'+scale+'", datum.value), '+threshold+","+a+","+b+","+c+")"}}function axisLabels(spec,config,userEncode,dataRef,size){var encode,enter,tickSize,tickPos,align,baseline,offset,bound,overlap,orient=spec.orient,sign=orient===Left$1||orient===Top$1?-1:1,isXAxis=orient===Top$1||orient===Bottom$1,scale=spec.scale,flush=deref(lookup$4("labelFlush",spec,config)),flushOffset=deref(lookup$4("labelFlushOffset",spec,config)),flushOn=0===flush||!!flush,labelAlign=lookup$4("labelAlign",spec,config),labelBaseline=lookup$4("labelBaseline",spec,config),zero={value:0};tickSize=encoder(size);tickSize.mult=sign;tickSize.offset=encoder(lookup$4("labelPadding",spec,config)||0);tickSize.offset.mult=sign;tickPos={scale:scale,field:Value,band:.5,offset:lookup$4("tickOffset",spec,config)};if(isXAxis){align=labelAlign||(flushOn?flushExpr(scale,flush,'"left"','"right"','"center"'):"center");baseline=labelBaseline||(orient===Top$1?"bottom":"top");offset=!labelAlign}else{align=labelAlign||(orient===Right$1?"left":"right");baseline=labelBaseline||(flushOn?flushExpr(scale,flush,'"top"','"bottom"','"middle"'):"middle");offset=!labelBaseline}offset=offset&&flushOn&&flushOffset?flushExpr(scale,flush,"-"+flushOffset,flushOffset,0):null;encode={enter:enter={opacity:zero,x:isXAxis?tickPos:tickSize,y:isXAxis?tickSize:tickPos},update:{opacity:{value:1},text:{field:Label},x:enter.x,y:enter.y},exit:{opacity:zero,x:enter.x,y:enter.y}};addEncode(encode,isXAxis?"dx":"dy",offset);addEncode(encode,"align",align);addEncode(encode,"baseline",baseline);addEncode(encode,"angle",lookup$4("labelAngle",spec,config));addEncode(encode,"fill",lookup$4("labelColor",spec,config));addEncode(encode,"font",lookup$4("labelFont",spec,config));addEncode(encode,"fontSize",lookup$4("labelFontSize",spec,config));addEncode(encode,"fontWeight",lookup$4("labelFontWeight",spec,config));addEncode(encode,"limit",lookup$4("labelLimit",spec,config));addEncode(encode,"fillOpacity",lookup$4("labelOpacity",spec,config));bound=lookup$4("labelBound",spec,config);overlap=lookup$4("labelOverlap",spec,config);spec=guideMark(TextMark,AxisLabelRole,GuideLabelStyle,Value,dataRef,encode,userEncode);(overlap||bound)&&(spec.overlap={method:overlap,order:"datum.index",bound:bound?{scale:scale,orient:orient,tolerance:bound}:null});return spec}function axisTitle(spec,config,userEncode,dataRef){var encode,enter,update,titlePos,orient=spec.orient,sign=orient===Left$1||orient===Top$1?-1:1,horizontal=orient===Top$1||orient===Bottom$1,zero={value:0};encode={enter:enter={opacity:zero},update:update={opacity:{value:1},text:encoder(spec.title)},exit:{opacity:zero}};titlePos={scale:spec.scale,range:.5};if(horizontal){update.x=titlePos;enter.angle={value:0};enter.baseline={value:orient===Top$1?"bottom":"top"}}else{update.y=titlePos;enter.angle={value:90*sign};enter.baseline={value:"bottom"}}addEncode(encode,"align",lookup$4("titleAlign",spec,config));addEncode(encode,"angle",lookup$4("titleAngle",spec,config));addEncode(encode,"baseline",lookup$4("titleBaseline",spec,config));addEncode(encode,"fill",lookup$4("titleColor",spec,config));addEncode(encode,"font",lookup$4("titleFont",spec,config));addEncode(encode,"fontSize",lookup$4("titleFontSize",spec,config));addEncode(encode,"fontWeight",lookup$4("titleFontWeight",spec,config));addEncode(encode,"limit",lookup$4("titleLimit",spec,config));addEncode(encode,"fillOpacity",lookup$4("titleOpacity",spec,config));!addEncode(encode,"x",lookup$4("titleX",spec,config),"update")&&horizontal&&!has("x",userEncode)&&(encode.enter.auto={value:true});!addEncode(encode,"y",lookup$4("titleY",spec,config),"update")&&!horizontal&&!has("y",userEncode)&&(encode.enter.auto={value:true});return guideMark(TextMark,AxisTitleRole,GuideTitleStyle,null,dataRef,encode,userEncode)}function parseAxis(spec,scope){var datum,dataRef,ticksRef,size,group,children,config=axisConfig(spec,scope),encode=spec.encode||{},axisEncode=encode.axis||{},name=axisEncode.name||void 0,interactive=axisEncode.interactive,style=axisEncode.style;datum={orient:spec.orient,ticks:!!lookup$4("ticks",spec,config),labels:!!lookup$4("labels",spec,config),grid:!!lookup$4("grid",spec,config),domain:!!lookup$4("domain",spec,config),title:!!value$1(spec.title,false)};dataRef=ref(scope.add(Collect$1({},[datum])));axisEncode=extendEncode({update:{range:{signal:'abs(span(range("'+spec.scale+'")))'},offset:encoder(value$1(spec.offset,0)),position:encoder(value$1(spec.position,0)),titlePadding:encoder(lookup$4("titlePadding",spec,config)),minExtent:encoder(lookup$4("minExtent",spec,config)),maxExtent:encoder(lookup$4("maxExtent",spec,config))}},encode.axis,Skip);ticksRef=ref(scope.add(AxisTicks$1({scale:scope.scaleRef(spec.scale),extra:scope.property(lookup$4("tickExtra",spec,config)),count:scope.objectProperty(spec.tickCount),values:scope.objectProperty(spec.values),formatSpecifier:scope.property(spec.format)})));children=[];datum.grid&&children.push(axisGrid(spec,config,encode.grid,ticksRef));if(datum.ticks){size=lookup$4("tickSize",spec,config);children.push(axisTicks(spec,config,encode.ticks,ticksRef,size))}if(datum.labels){size=datum.ticks?size:0;children.push(axisLabels(spec,config,encode.labels,ticksRef,size))}datum.domain&&children.push(axisDomain(spec,config,encode.domain,dataRef));datum.title&&children.push(axisTitle(spec,config,encode.title,dataRef));group=guideGroup(AxisRole$1,style,name,dataRef,interactive,axisEncode,children);spec.zindex&&(group.zindex=spec.zindex);return parseMark(group,scope)}function parseSpec(spec,scope,preprocessed){var signals=array(spec.signals),scales=array(spec.scales);preprocessed||signals.forEach(function(_){parseSignal(_,scope)});array(spec.projections).forEach(function(_){parseProjection(_,scope)});scales.forEach(function(_){initScale(_,scope)});array(spec.data).forEach(function(_){parseData$1(_,scope)});scales.forEach(function(_){parseScale(_,scope)});signals.forEach(function(_){parseSignalUpdates(_,scope)});array(spec.axes).forEach(function(_){parseAxis(_,scope)});array(spec.marks).forEach(function(_){parseMark(_,scope)});array(spec.legends).forEach(function(_){parseLegend(_,scope)});spec.title&&parseTitle(spec.title,scope);scope.parseLambdas();return scope}var defined=toSet(["width","height","padding","autosize"]);function parseView(spec,scope){var op,input,encode,parent,root,config=scope.config;scope.background=spec.background||config.background;scope.eventConfig=config.events;root=ref(scope.root=scope.add(operator()));scope.addSignal("width",spec.width||0);scope.addSignal("height",spec.height||0);scope.addSignal("padding",parsePadding(spec.padding,config));scope.addSignal("autosize",parseAutosize(spec.autosize,config));array(spec.signals).forEach(function(_){defined[_.name]||parseSignal(_,scope)});input=scope.add(Collect$1());encode=extendEncode({enter:{x:{value:0},y:{value:0}},update:{width:{signal:"width"},height:{signal:"height"}}},spec.encode);encode=scope.add(Encode$1(encoders(encode,GroupMark,FrameRole$1,spec.style,scope,{pulse:ref(input)})));parent=scope.add(ViewLayout$1({layout:scope.objectProperty(spec.layout),legendMargin:config.legendMargin,autosize:scope.signalRef("autosize"),mark:root,pulse:ref(encode)}));scope.operators.pop();scope.pushState(ref(encode),ref(parent),null);parseSpec(spec,scope,true);scope.operators.push(parent);op=scope.add(Bound$1({mark:root,pulse:ref(parent)}));op=scope.add(Render$1({pulse:ref(op)}));op=scope.add(Sieve$1({pulse:ref(op)}));scope.addData("root",new DataScope(scope,input,input,op));return scope}function Scope$1(config){this.config=config;this.bindings=[];this.field={};this.signals={};this.lambdas={};this.scales={};this.events={};this.data={};this.streams=[];this.updates=[];this.operators=[];this.background=null;this.eventConfig=null;this._id=0;this._subid=0;this._nextsub=[0];this._parent=[];this._encode=[];this._lookup=[];this._markpath=[]}function Subscope(scope){this.config=scope.config;this.field=Object.create(scope.field);this.signals=Object.create(scope.signals);this.lambdas=Object.create(scope.lambdas);this.scales=Object.create(scope.scales);this.events=Object.create(scope.events);this.data=Object.create(scope.data);this.streams=[];this.updates=[];this.operators=[];this._id=0;this._subid=++scope._nextsub[0];this._nextsub=scope._nextsub;this._parent=scope._parent.slice();this._encode=scope._encode.slice();this._lookup=scope._lookup.slice();this._markpath=scope._markpath}var prototype$1m=Scope$1.prototype=Subscope.prototype;prototype$1m.fork=function(){return new Subscope(this)};prototype$1m.isSubscope=function(){return this._subid>0};prototype$1m.toRuntime=function(){this.finish();return{background:this.background,operators:this.operators,streams:this.streams,updates:this.updates,bindings:this.bindings,eventConfig:this.eventConfig}};prototype$1m.id=function(){return(this._subid?this._subid+":":0)+this._id++};prototype$1m.add=function(op){this.operators.push(op);op.id=this.id();if(op.refs){op.refs.forEach(function(ref$$1){ref$$1.$ref=op.id});op.refs=null}return op};prototype$1m.proxy=function(op){var vref=op instanceof Entry?ref(op):op;return this.add(Proxy$1({value:vref}))};prototype$1m.addStream=function(stream){this.streams.push(stream);stream.id=this.id();return stream};prototype$1m.addUpdate=function(update){this.updates.push(update);return update};prototype$1m.finish=function(){var name,ds;this.root&&(this.root.root=true);for(name in this.signals)this.signals[name].signal=name;for(name in this.scales)this.scales[name].scale=name;function annotate(op,name,type){var data,list;if(op){data=op.data||(op.data={});list=data[name]||(data[name]=[]);list.push(type)}}for(name in this.data){ds=this.data[name];annotate(ds.input,name,"input");annotate(ds.output,name,"output");annotate(ds.values,name,"values");for(var field$$1 in ds.index)annotate(ds.index[field$$1],name,"index:"+field$$1)}return this};prototype$1m.pushState=function(encode,parent,lookup){this._encode.push(ref(this.add(Sieve$1({pulse:encode}))));this._parent.push(parent);this._lookup.push(lookup?ref(this.proxy(lookup)):null);this._markpath.push(-1)};prototype$1m.popState=function(){this._encode.pop();this._parent.pop();this._lookup.pop();this._markpath.pop()};prototype$1m.parent=function(){return peek(this._parent)};prototype$1m.encode=function(){return peek(this._encode)};prototype$1m.lookup=function(){return peek(this._lookup)};prototype$1m.markpath=function(){var p=this._markpath;return++p[p.length-1]};prototype$1m.fieldRef=function(field$$1,name){if(isString(field$$1))return fieldRef(field$$1,name);field$$1.signal||error("Unsupported field reference: "+$(field$$1));var params,s=field$$1.signal,f=this.field[s];if(!f){params={name:this.signalRef(s)};name&&(params.as=name);this.field[s]=f=ref(this.add(Field$1(params)))}return f};prototype$1m.compareRef=function(cmp,stable){function check(_){if(isSignal(_)){signal=true;return ref(sig[_.signal])}return _}var sig=this.signals,signal=false,fields=array(cmp.field).map(check),orders=array(cmp.order).map(check);stable&&fields.push(tupleidRef);return signal?ref(this.add(Compare$1({fields:fields,orders:orders}))):compareRef(fields,orders)};prototype$1m.keyRef=function(fields,flat){function check(_){if(isSignal(_)){signal=true;return ref(sig[_.signal])}return _}var sig=this.signals,signal=false;fields=array(fields).map(check);return signal?ref(this.add(Key$1({fields:fields,flat:flat}))):keyRef(fields,flat)};prototype$1m.sortRef=function(sort){if(!sort)return sort;var a=[aggrField(sort.op,sort.field),tupleidRef],o=sort.order||Ascending;return o.signal?ref(this.add(Compare$1({fields:a,orders:[o=this.signalRef(o.signal),o]}))):compareRef(a,[o,o])};prototype$1m.event=function(source,type){var key$$1=source+":"+type;if(!this.events[key$$1]){var id$$1=this.id();this.streams.push({id:id$$1,source:source,type:type});this.events[key$$1]=id$$1}return this.events[key$$1]};prototype$1m.addSignal=function(name,value){this.signals.hasOwnProperty(name)&&error("Duplicate signal name: "+$(name));var op=value instanceof Entry?value:this.add(operator(value));return this.signals[name]=op};prototype$1m.getSignal=function(name){this.signals[name]||error("Unrecognized signal name: "+$(name));return this.signals[name]};prototype$1m.signalRef=function(s){if(this.signals[s])return ref(this.signals[s]);this.lambdas.hasOwnProperty(s)||(this.lambdas[s]=this.add(operator(null)));return ref(this.lambdas[s])};prototype$1m.parseLambdas=function(){var code=Object.keys(this.lambdas);for(var i=0,n=code.length;i<n;++i){var s=code[i],e=expression(s,this),op=this.lambdas[s];op.params=e.$params;op.update=e.$expr}};prototype$1m.property=function(spec){return spec&&spec.signal?this.signalRef(spec.signal):spec};prototype$1m.objectProperty=function(spec){return spec&&isObject(spec)?this.signalRef(spec.signal||propertyLambda(spec)):spec};function propertyLambda(spec){return(isArray(spec)?arrayLambda:objectLambda)(spec)}function arrayLambda(array$$1){var value,code="[",i=0,n=array$$1.length;for(;i<n;++i){value=array$$1[i];code+=(i>0?",":"")+(isObject(value)?value.signal||propertyLambda(value):$(value))}return code+"]"}function objectLambda(obj){var key$$1,value,code="{",i=0;for(key$$1 in obj){value=obj[key$$1];code+=(++i>1?",":"")+$(key$$1)+":"+(isObject(value)?value.signal||propertyLambda(value):$(value))}return code+"}"}prototype$1m.exprRef=function(code,name){var params={expr:expression(code,this)};name&&(params.expr.$name=name);return ref(this.add(Expression$1(params)))};prototype$1m.addBinding=function(name,bind){this.bindings||error("Nested signals do not support binding: "+$(name));this.bindings.push(extend({signal:name},bind))};prototype$1m.addScaleProj=function(name,transform){this.scales.hasOwnProperty(name)&&error("Duplicate scale or projection name: "+$(name));this.scales[name]=this.add(transform)};prototype$1m.addScale=function(name,params){this.addScaleProj(name,Scale$1(params))};prototype$1m.addProjection=function(name,params){this.addScaleProj(name,Projection$1(params))};prototype$1m.getScale=function(name){this.scales[name]||error("Unrecognized scale name: "+$(name));return this.scales[name]};prototype$1m.projectionRef=prototype$1m.scaleRef=function(name){return ref(this.getScale(name))};prototype$1m.projectionType=prototype$1m.scaleType=function(name){return this.getScale(name).params.type};prototype$1m.addData=function(name,dataScope){this.data.hasOwnProperty(name)&&error("Duplicate data set name: "+$(name));return this.data[name]=dataScope};prototype$1m.getData=function(name){this.data[name]||error("Undefined data set name: "+$(name));return this.data[name]};prototype$1m.addDataPipeline=function(name,entries){this.data.hasOwnProperty(name)&&error("Duplicate data set name: "+$(name));return this.addData(name,DataScope.fromEntries(this,entries))};function defaults(configs){var output=defaults$1();(configs||[]).forEach(function(config){var key$$1,value,style;if(config)for(key$$1 in config)if("style"===key$$1){style=output.style||(output.style={});for(key$$1 in config.style)style[key$$1]=extend(style[key$$1]||{},config.style[key$$1])}else{value=config[key$$1];output[key$$1]=isObject(value)&&!isArray(value)?extend(isObject(output[key$$1])?output[key$$1]:{},value):value}});return output}var defaultFont="sans-serif",defaultSymbolSize=30,defaultStrokeWidth=2,defaultColor="#4c78a8",black="#000",gray$1="#888",lightGray="#ddd";function defaults$1(){return{padding:0,autosize:"pad",background:null,events:{defaults:{allow:["wheel"]}},group:null,mark:null,arc:{fill:defaultColor},area:{fill:defaultColor},image:null,line:{stroke:defaultColor,strokeWidth:defaultStrokeWidth},path:{stroke:defaultColor},rect:{fill:defaultColor},rule:{stroke:black},shape:{stroke:defaultColor},symbol:{fill:defaultColor,size:64},text:{fill:black,font:defaultFont,fontSize:11},style:{"guide-label":{fill:black,font:defaultFont,fontSize:10},"guide-title":{fill:black,font:defaultFont,fontSize:11,fontWeight:"bold"},"group-title":{fill:black,font:defaultFont,fontSize:13,fontWeight:"bold"},point:{size:defaultSymbolSize,strokeWidth:defaultStrokeWidth,shape:"circle"},circle:{size:defaultSymbolSize,strokeWidth:defaultStrokeWidth},square:{size:defaultSymbolSize,strokeWidth:defaultStrokeWidth,shape:"square"},cell:{fill:"transparent",stroke:lightGray}},axis:{minExtent:0,maxExtent:200,bandPosition:.5,domain:true,domainWidth:1,domainColor:gray$1,grid:false,gridWidth:1,gridColor:lightGray,labels:true,labelAngle:0,labelLimit:180,labelPadding:2,ticks:true,tickColor:gray$1,tickOffset:0,tickRound:true,tickSize:5,tickWidth:1,titleAlign:"center",titlePadding:4},axisBand:{tickOffset:-1},legend:{orient:"right",offset:18,padding:0,gridAlign:"each",columnPadding:10,rowPadding:2,symbolDirection:"vertical",gradientDirection:"vertical",gradientLength:200,gradientThickness:16,gradientStrokeColor:lightGray,gradientStrokeWidth:0,gradientLabelOffset:2,labelAlign:"left",labelBaseline:"middle",labelLimit:160,labelOffset:4,labelOverlap:true,symbolType:"circle",symbolSize:100,symbolOffset:0,symbolStrokeWidth:1.5,symbolBaseFillColor:"transparent",symbolBaseStrokeColor:gray$1,titleAlign:"left",titleBaseline:"top",titleLimit:180,titlePadding:5},title:{orient:"top",anchor:"middle",offset:4},range:{category:{scheme:"tableau10"},ordinal:{scheme:"blues",extent:[.2,1]},heatmap:{scheme:"viridis"},ramp:{scheme:"blues",extent:[.2,1]},diverging:{scheme:"blueorange"},symbol:["circle","square","triangle-up","cross","diamond","triangle-right","triangle-down","triangle-left"]}}}function parse$3(spec,config){isObject(spec)||error("Input Vega specification must be an object.");return parseView(spec,new Scope$1(defaults([config,spec.config]))).toRuntime()}function expression$2(args,code,ctx){";"!==code[code.length-1]&&(code="return("+code+");");var fn=Function.apply(null,args.concat(code));return ctx&&ctx.functions?fn.bind(ctx.functions):fn}function operatorExpression(code,ctx){return expression$2(["_"],code,ctx)}function parameterExpression(code,ctx){return expression$2(["datum","_"],code,ctx)}function eventExpression(code,ctx){return expression$2(["event"],code,ctx)}function handlerExpression(code,ctx){return expression$2(["_","event"],code,ctx)}function encodeExpression(code,ctx){return expression$2(["item","_"],code,ctx)}function parseParameters$1(spec,ctx,params){params=params||{};var key$$1,value;for(key$$1 in spec){value=spec[key$$1];params[key$$1]=isArray(value)?value.map(function(v){return parseParameter$2(v,ctx,params)}):parseParameter$2(value,ctx,params)}return params}function parseParameter$2(spec,ctx,params){if(!spec||!isObject(spec))return spec;for(var p,i=0,n=PARSERS.length;i<n;++i){p=PARSERS[i];if(spec.hasOwnProperty(p.key))return p.parse(spec,ctx,params)}return spec}var PARSERS=[{key:"$ref",parse:getOperator},{key:"$key",parse:getKey},{key:"$expr",parse:getExpression},{key:"$field",parse:getField$1},{key:"$encode",parse:getEncode},{key:"$compare",parse:getCompare},{key:"$context",parse:getContext},{key:"$subflow",parse:getSubflow},{key:"$tupleid",parse:getTupleId}];function getOperator(_,ctx){return ctx.get(_.$ref)||error("Operator not defined: "+_.$ref)}function getExpression(_,ctx,params){_.$params&&parseParameters$1(_.$params,ctx,params);var k="e:"+_.$expr+"_"+_.$name;return ctx.fn[k]||(ctx.fn[k]=accessor(parameterExpression(_.$expr,ctx),_.$fields,_.$name))}function getKey(_,ctx){var k="k:"+_.$key+"_"+!!_.$flat;return ctx.fn[k]||(ctx.fn[k]=key(_.$key,_.$flat))}function getField$1(_,ctx){if(!_.$field)return null;var k="f:"+_.$field+"_"+_.$name;return ctx.fn[k]||(ctx.fn[k]=field(_.$field,_.$name))}function getCompare(_,ctx){var k="c:"+_.$compare+"_"+_.$order,c=array(_.$compare).map(function(_){return _&&_.$tupleid?tupleid:_});return ctx.fn[k]||(ctx.fn[k]=compare(c,_.$order))}function getEncode(_,ctx){var name,enc,spec=_.$encode,encode={};for(name in spec){enc=spec[name];encode[name]=accessor(encodeExpression(enc.$expr,ctx),enc.$fields);encode[name].output=enc.$output}return encode}function getContext(_,ctx){return ctx}function getSubflow(_,ctx){var spec=_.$subflow;return function(dataflow,key$$1,parent){var subctx=parseDataflow(spec,ctx.fork()),op=subctx.get(spec.operators[0].id),p=subctx.signals.parent;p&&p.set(parent);return op}}function getTupleId(){return tupleid}function canonicalType(type){return(type+"").toLowerCase()}function isOperator(type){return"operator"===canonicalType(type)}function isCollect(type){return"collect"===canonicalType(type)}function parseOperator(spec,ctx){isOperator(spec.type)||!spec.type?ctx.operator(spec,spec.update?operatorExpression(spec.update,ctx):null):ctx.transform(spec,spec.type)}function parseOperatorParameters(spec,ctx){var op,params;if(spec.params){(op=ctx.get(spec.id))||error("Invalid operator id: "+spec.id);params=parseParameters$1(spec.params,ctx);ctx.dataflow.connect(op,op.parameters(params,spec.react))}}function parseStream$2(spec,ctx){var args,filter=null!=spec.filter?eventExpression(spec.filter,ctx):void 0,stream=null!=spec.stream?ctx.get(spec.stream):void 0;if(spec.source)stream=ctx.events(spec.source,spec.type,filter);else if(spec.merge){args=spec.merge.map(ctx.get.bind(ctx));stream=args[0].merge.apply(args[0],args.slice(1))}if(spec.between){args=spec.between.map(ctx.get.bind(ctx));stream=stream.between(args[0],args[1])}spec.filter&&(stream=stream.filter(filter));null!=spec.throttle&&(stream=stream.throttle(+spec.throttle));null!=spec.debounce&&(stream=stream.debounce(+spec.debounce));null==stream&&error("Invalid stream definition: "+JSON.stringify(spec));spec.consume&&stream.consume(true);ctx.stream(spec,stream)}function parseUpdate$1(spec,ctx){var srcid=isObject(srcid=spec.source)?srcid.$ref:srcid,source=ctx.get(srcid),target=null,update=spec.update,params=void 0;source||error("Source not defined: "+spec.source);target=spec.target&&spec.target.$expr?eventExpression(spec.target.$expr,ctx):ctx.get(spec.target);if(update&&update.$expr){update.$params&&(params=parseParameters$1(update.$params,ctx));update=handlerExpression(update.$expr,ctx)}ctx.update(spec,source,target,update,params)}function parseDataflow(spec,ctx){var operators=spec.operators||[];spec.background&&(ctx.background=spec.background);spec.eventConfig&&(ctx.eventConfig=spec.eventConfig);operators.forEach(function(entry){parseOperator(entry,ctx)});operators.forEach(function(entry){parseOperatorParameters(entry,ctx)});(spec.streams||[]).forEach(function(entry){parseStream$2(entry,ctx)});(spec.updates||[]).forEach(function(entry){parseUpdate$1(entry,ctx)});return ctx.resolve()}var SKIP$3={skip:true};function getState(options){var ctx=this,state={};if(options.signals){var signals=state.signals={};Object.keys(ctx.signals).forEach(function(key$$1){var op=ctx.signals[key$$1];options.signals(key$$1,op)&&(signals[key$$1]=op.value)})}if(options.data){var data=state.data={};Object.keys(ctx.data).forEach(function(key$$1){var dataset=ctx.data[key$$1];options.data(key$$1,dataset)&&(data[key$$1]=dataset.input.value)})}ctx.subcontext&&false!==options.recurse&&(state.subcontext=ctx.subcontext.map(function(ctx){return ctx.getState(options)}));return state}function setState(state){var ctx=this,df=ctx.dataflow,data=state.data,signals=state.signals;Object.keys(signals||{}).forEach(function(key$$1){df.update(ctx.signals[key$$1],signals[key$$1],SKIP$3)});Object.keys(data||{}).forEach(function(key$$1){df.pulse(ctx.data[key$$1].input,df.changeset().remove(truthy).insert(data[key$$1]))});(state.subcontext||[]).forEach(function(substate,i){var subctx=ctx.subcontext[i];subctx&&subctx.setState(substate)})}function context$2(df,transforms,functions){return new Context(df,transforms,functions)}function Context(df,transforms,functions){this.dataflow=df;this.transforms=transforms;this.events=df.events.bind(df);this.signals={};this.scales={};this.nodes={};this.data={};this.fn={};if(functions){this.functions=Object.create(functions);this.functions.context=this}}function ContextFork(ctx){this.dataflow=ctx.dataflow;this.transforms=ctx.transforms;this.functions=ctx.functions;this.events=ctx.events;this.signals=Object.create(ctx.signals);this.scales=Object.create(ctx.scales);this.nodes=Object.create(ctx.nodes);this.data=Object.create(ctx.data);this.fn=Object.create(ctx.fn);if(ctx.functions){this.functions=Object.create(ctx.functions);this.functions.context=this}}Context.prototype=ContextFork.prototype={fork:function(){var ctx=new ContextFork(this);(this.subcontext||(this.subcontext=[])).push(ctx);return ctx},get:function(id){return this.nodes[id]},set:function(id,node){return this.nodes[id]=node},add:function(spec,op){var data,ctx=this,df=ctx.dataflow;ctx.set(spec.id,op);isCollect(spec.type)&&(data=spec.value)&&(data.$ingest?df.ingest(op,data.$ingest,data.$format):data.$load?ctx.get(data.$load.$ref).target=op:data.$request?df.request(op,data.$request,data.$format):df.pulse(op,df.changeset().insert(data)));spec.root&&(ctx.root=op);if(spec.parent){var p=ctx.get(spec.parent.$ref);if(p){df.connect(p,[op]);op.targets().add(p)}else(ctx.unresolved=ctx.unresolved||[]).push(function(){p=ctx.get(spec.parent.$ref);df.connect(p,[op]);op.targets().add(p)})}spec.signal&&(ctx.signals[spec.signal]=op);spec.scale&&(ctx.scales[spec.scale]=op);if(spec.data)for(var name in spec.data){data=ctx.data[name]||(ctx.data[name]={});spec.data[name].forEach(function(role){data[role]=op})}},resolve:function(){(this.unresolved||[]).forEach(function(fn){fn()});delete this.unresolved;return this},operator:function(spec,update,params){this.add(spec,this.dataflow.add(spec.value,update,params,spec.react))},transform:function(spec,type,params){this.add(spec,this.dataflow.add(this.transforms[canonicalType(type)],params))},stream:function(spec,stream){this.set(spec.id,stream)},update:function(spec,stream,target,update,params){this.dataflow.on(stream,target,update,params,spec.options)},getState:getState,setState:setState};function runtime(view,spec,functions){var fn=functions||functionContext;return parseDataflow(spec,context$2(view,transforms,fn))}function scale$4(name){var scales=this._runtime.scales;scales.hasOwnProperty(name)||error("Unrecognized scale or projection: "+name);return scales[name].value}var Width="width",Height="height",Padding$1="padding",Skip$2={skip:true};function viewWidth(view,width){var a=view.autosize(),p=view.padding();return width-(a&&a.contains===Padding$1?p.left+p.right:0)}function viewHeight(view,height){var a=view.autosize(),p=view.padding();return height-(a&&a.contains===Padding$1?p.top+p.bottom:0)}function initializeResize(view){var s=view._signals,w=s[Width],h=s[Height],p=s[Padding$1];function resetSize(){view._autosize=view._resize=1}view._resizeWidth=view.add(null,function(_){view._width=_.size;view._viewWidth=viewWidth(view,_.size);resetSize()},{size:w});view._resizeHeight=view.add(null,function(_){view._height=_.size;view._viewHeight=viewHeight(view,_.size);resetSize()},{size:h});var resizePadding=view.add(null,resetSize,{pad:p});view._resizeWidth.rank=w.rank+1;view._resizeHeight.rank=h.rank+1;resizePadding.rank=p.rank+1}function resizeView(viewWidth,viewHeight,width,height,origin,auto){this.runAfter(function(view){var rerun=0;view._autosize=0;if(view.width()!==width){rerun=1;view.signal(Width,width,Skip$2);view._resizeWidth.skip(true)}if(view.height()!==height){rerun=1;view.signal(Height,height,Skip$2);view._resizeHeight.skip(true)}if(view._viewWidth!==viewWidth){view._resize=1;view._viewWidth=viewWidth}if(view._viewHeight!==viewHeight){view._resize=1;view._viewHeight=viewHeight}if(view._origin[0]!==origin[0]||view._origin[1]!==origin[1]){view._resize=1;view._origin=origin}rerun&&view.run("enter");auto&&view.runAfter(function(){view.resize()})},false,1)}function getState$1(options){return this._runtime.getState(options||{data:dataTest,signals:signalTest,recurse:true})}function dataTest(name,data){return data.modified&&isArray(data.input.value)&&name.indexOf("_:vega:_")}function signalTest(name,op){return!("parent"===name||op instanceof transforms.proxy)}function setState$1(state){var view=this;view.runAfter(function(){view._trigger=false;view._runtime.setState(state);view.run().runAfter(function(){view._trigger=true})});return this}function timer$1(callback,delay){function tick(elapsed){callback({timestamp:Date.now(),elapsed:elapsed})}this._timers.push(interval$1(tick,delay))}function defaultTooltip$1(handler,event,item,value){var el=handler.element();el&&el.setAttribute("title",formatTooltip(value))}function formatTooltip(value){return null==value?"":isArray(value)?formatArray(value):isObject(value)&&!isDate(value)?formatObject(value):value+""}function formatObject(obj){return Object.keys(obj).map(function(key$$1){var v=obj[key$$1];return key$$1+": "+(isArray(v)?formatArray(v):formatValue$1(v))}).join("\n")}function formatArray(value){return"["+value.map(formatValue$1).join(", ")+"]"}function formatValue$1(value){return isArray(value)?"[…]":isObject(value)&&!isDate(value)?"{…}":value}function View$1(spec,options){var view=this;options=options||{};Dataflow.call(view);view.loader(options.loader||view._loader);view.logLevel(options.logLevel||0);view._el=null;view._renderType=options.renderer||RenderType.Canvas;view._scenegraph=new Scenegraph;var root=view._scenegraph.root;view._renderer=null;view._tooltip=options.tooltip||defaultTooltip$1,view._redraw=true;view._handler=(new CanvasHandler).scene(root);view._preventDefault=false;view._timers=[];view._eventListeners=[];view._resizeListeners=[];var ctx=runtime(view,spec,options.functions);view._runtime=ctx;view._signals=ctx.signals;view._bind=(spec.bindings||[]).map(function(_){return{state:null,param:extend({},_)}});ctx.root&&ctx.root.set(root);root.source=ctx.data.root.input;view.pulse(ctx.data.root.input,view.changeset().insert(root.items));view._background=ctx.background||null;view._eventConfig=initializeEventConfig(ctx.eventConfig);view._width=view.width();view._height=view.height();view._viewWidth=viewWidth(view,view._width);view._viewHeight=viewHeight(view,view._height);view._origin=[0,0];view._resize=0;view._autosize=1;initializeResize(view);cursor(view)}var prototype$1n=inherits(View$1,Dataflow);prototype$1n.run=function(encode){Dataflow.prototype.run.call(this,encode);if(this._pending)this.resize();else if(this._redraw||this._resize)try{this.render()}catch(e){this.error(e)}return this};prototype$1n.render=function(){if(this._renderer){if(this._resize){this._resize=0;resizeRenderer(this)}this._renderer.render(this._scenegraph.root)}this._redraw=false;return this};prototype$1n.dirty=function(item){this._redraw=true;this._renderer&&this._renderer.dirty(item)};prototype$1n.container=function(){return this._el};prototype$1n.scenegraph=function(){return this._scenegraph};prototype$1n.origin=function(){return this._origin.slice()};function lookupSignal(view,name){return view._signals.hasOwnProperty(name)?view._signals[name]:error("Unrecognized signal name: "+$(name))}prototype$1n.signal=function(name,value,options){var op=lookupSignal(this,name);return 1===arguments.length?op.value:this.update(op,value,options)};prototype$1n.background=function(_){if(arguments.length){this._background=_;this._resize=1;return this}return this._background};prototype$1n.width=function(_){return arguments.length?this.signal("width",_):this.signal("width")};prototype$1n.height=function(_){return arguments.length?this.signal("height",_):this.signal("height")};prototype$1n.padding=function(_){return arguments.length?this.signal("padding",_):this.signal("padding")};prototype$1n.autosize=function(_){return arguments.length?this.signal("autosize",_):this.signal("autosize")};prototype$1n.renderer=function(type){if(!arguments.length)return this._renderType;renderModule(type)||error("Unrecognized renderer type: "+type);if(type!==this._renderType){this._renderType=type;this._resetRenderer()}return this};prototype$1n.tooltip=function(handler){if(!arguments.length)return this._tooltip;if(handler!==this._tooltip){this._tooltip=handler;this._resetRenderer()}return this};prototype$1n.loader=function(loader){if(!arguments.length)return this._loader;if(loader!==this._loader){Dataflow.prototype.loader.call(this,loader);this._resetRenderer()}return this};prototype$1n.resize=function(){this._autosize=1;return this.touch(lookupSignal(this,"autosize"))};prototype$1n._resetRenderer=function(){if(this._renderer){this._renderer=null;this.initialize(this._el)}};prototype$1n._resizeView=resizeView;prototype$1n.addEventListener=function(type,handler,options){var callback=handler;if(!(options&&false===options.trap)){callback=trap(this,handler);callback.raw=handler}this._handler.on(type,callback);return this};prototype$1n.removeEventListener=function(type,handler){var h,t,handlers=this._handler.handlers(type),i=handlers.length;while(--i>=0){t=handlers[i].type;h=handlers[i].handler;if(type===t&&(handler===h||handler===h.raw)){this._handler.off(t,h);break}}return this};prototype$1n.addResizeListener=function(handler){var l=this._resizeListeners;l.indexOf(handler)<0&&l.push(handler);return this};prototype$1n.removeResizeListener=function(handler){var l=this._resizeListeners,i=l.indexOf(handler);i>=0&&l.splice(i,1);return this};function findOperatorHandler(op,handler){var t=op._targets||[],h=t.filter(function(op){var u=op._update;return u&&u.handler===handler});return h.length?h[0]:null}function addOperatorListener(view,name,op,handler){var h=findOperatorHandler(op,handler);if(!h){h=trap(this,function(){handler(name,op.value)});h.handler=handler;view.on(op,null,h)}return view}function removeOperatorListener(view,op,handler){var h=findOperatorHandler(op,handler);h&&op._targets.remove(h);return view}prototype$1n.addSignalListener=function(name,handler){return addOperatorListener(this,name,lookupSignal(this,name),handler)};prototype$1n.removeSignalListener=function(name,handler){return removeOperatorListener(this,lookupSignal(this,name),handler)};prototype$1n.addDataListener=function(name,handler){return addOperatorListener(this,name,dataref(this,name).values,handler)};prototype$1n.removeDataListener=function(name,handler){return removeOperatorListener(this,dataref(this,name).values,handler)};prototype$1n.preventDefault=function(_){if(arguments.length){this._preventDefault=_;return this}return this._preventDefault};prototype$1n.timer=timer$1;prototype$1n.events=events$1;prototype$1n.finalize=finalize;prototype$1n.hover=hover;prototype$1n.data=data;prototype$1n.change=change;prototype$1n.insert=insert;prototype$1n.remove=remove;prototype$1n.scale=scale$4;prototype$1n.initialize=initialize$1;prototype$1n.toImageURL=renderToImageURL;prototype$1n.toCanvas=renderToCanvas;prototype$1n.toSVG=renderToSVG;prototype$1n.getState=getState$1;prototype$1n.setState=setState$1;extend(transforms,tx,vtx,encode,geo,force,tree$1,voronoi$1,wordcloud,xf);exports.version=version;exports.Dataflow=Dataflow;exports.EventStream=EventStream;exports.Parameters=Parameters;exports.Pulse=Pulse;exports.MultiPulse=MultiPulse;exports.Operator=Operator;exports.Transform=Transform;exports.changeset=changeset;exports.ingest=ingest;exports.isTuple=isTuple;exports.definition=definition;exports.transform=transform$1;exports.transforms=transforms;exports.tupleid=tupleid;exports.scale=scale$1;exports.scheme=scheme$r;exports.schemeDiscretized=schemeDiscretized;exports.interpolate=interpolate;exports.interpolateRange=interpolateRange;exports.timeInterval=timeInterval;exports.utcInterval=utcInterval;exports.projection=projection$1;exports.View=View$1;exports.parse=parse$3;exports.expressionFunction=expressionFunction;exports.formatLocale=defaultLocale$1;exports.timeFormatLocale=defaultLocale;exports.runtime=parseDataflow;exports.runtimeContext=context$2;exports.bin=bin;exports.bootstrapCI=bootstrapCI;exports.quartiles=quartiles;exports.setRandom=setRandom;exports.randomInteger=integer;exports.randomKDE=randomKDE;exports.randomMixture=randomMixture;exports.randomNormal=randomNormal;exports.randomUniform=randomUniform;exports.accessor=accessor;exports.accessorName=accessorName;exports.accessorFields=accessorFields;exports.id=id;exports.identity=identity;exports.zero=zero;exports.one=one;exports.truthy=truthy;exports.falsy=falsy;exports.logger=logger;exports.None=None;exports.Error=Error$1;exports.Warn=Warn;exports.Info=Info;exports.Debug=Debug;exports.panLinear=panLinear;exports.panLog=panLog;exports.panPow=panPow;exports.zoomLinear=zoomLinear;exports.zoomLog=zoomLog;exports.zoomPow=zoomPow;exports.array=array;exports.compare=compare;exports.constant=constant;exports.debounce=debounce;exports.error=error;exports.extend=extend;exports.extentIndex=extentIndex;exports.fastmap=fastmap;exports.field=field;exports.inherits=inherits;exports.isArray=isArray;exports.isBoolean=isBoolean;exports.isDate=isDate;exports.isFunction=isFunction;exports.isNumber=isNumber;exports.isObject=isObject;exports.isRegExp=isRegExp;exports.isString=isString;exports.key=key;exports.merge=merge;exports.pad=pad;exports.peek=peek;exports.repeat=repeat;exports.splitAccessPath=splitAccessPath;exports.stringValue=$;exports.toBoolean=toBoolean;exports.toDate=toDate;exports.toNumber=toNumber;exports.toString=toString;exports.toSet=toSet;exports.truncate=truncate;exports.visitArray=visitArray;exports.loader=loader;exports.read=read;exports.inferType=inferType;exports.inferTypes=inferTypes;exports.typeParsers=typeParsers;exports.formats=formats$1;exports.Bounds=Bounds;exports.Gradient=Gradient;exports.GroupItem=GroupItem;exports.ResourceLoader=ResourceLoader;exports.Item=Item;exports.Scenegraph=Scenegraph;exports.Handler=Handler;exports.Renderer=Renderer;exports.CanvasHandler=CanvasHandler;exports.CanvasRenderer=CanvasRenderer;exports.SVGHandler=SVGHandler;exports.SVGRenderer=SVGRenderer;exports.SVGStringRenderer=SVGStringRenderer;exports.RenderType=RenderType;exports.renderModule=renderModule;exports.Marks=marks;exports.boundClip=boundClip;exports.boundContext=context;exports.boundStroke=boundStroke;exports.boundItem=boundItem;exports.boundMark=boundMark;exports.pathCurves=curves;exports.pathSymbols=symbols$1;exports.pathRectangle=vg_rect;exports.pathTrail=vg_trail;exports.pathParse=pathParse;exports.pathRender=pathRender;exports.point=point$4;exports.domCreate=domCreate;exports.domFind=domFind;exports.domChild=domChild;exports.domClear=domClear;exports.openTag=openTag;exports.closeTag=closeTag;exports.font=font;exports.fontFamily=fontFamily;exports.fontSize=fontSize;exports.textMetrics=textMetrics;exports.resetSVGClipId=resetSVGClipId;exports.sceneEqual=sceneEqual;exports.pathEqual=pathEqual;exports.sceneToJSON=sceneToJSON;exports.sceneFromJSON=sceneFromJSON;exports.sceneZOrder=zorder;exports.sceneVisit=visit;exports.scenePickVisit=pickVisit;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports);var factory}).call(this,__webpack_require__(66).Buffer)},function(module,exports){},function(module,exports){function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");e.code="MODULE_NOT_FOUND";throw e}webpackEmptyContext.keys=function(){return[]};webpackEmptyContext.resolve=webpackEmptyContext;module.exports=webpackEmptyContext;webpackEmptyContext.id=2790},function(module,exports,__webpack_require__){0,factory=function(exports){"use strict";function accessor(fn,fields,name){fn.fields=fields||[];fn.fname=name;return fn}function error(message){throw Error(message)}function splitAccessPath(p){var i,j,c,path=[],q=null,b=0,n=p.length,s="";p+="";function push(){path.push(s+p.substring(i,j));s="";i=j+1}for(i=j=0;j<n;++j){c=p[j];if("\\"===c){s+=p.substring(i,j);i=++j}else if(c===q){push();q=null;b=-1}else{if(q)continue;if(i===b&&'"'===c){i=j+1;q=c}else if(i===b&&"'"===c){i=j+1;q=c}else if("."!==c||b){if("["===c){j>i&&push();b=i=j+1}else if("]"===c){b||error("Access path missing open bracket: "+p);b>0&&push();b=0;i=j+1}}else j>i?push():i=j+1}}b&&error("Access path missing closing bracket: "+p);q&&error("Access path missing closing quote: "+p);if(j>i){j++;push()}return path}var isArray=Array.isArray;function isObject(_){return _===Object(_)}function isString(_){return"string"===typeof _}function $(x){return isArray(x)?"["+x.map($)+"]":isObject(x)||isString(x)?JSON.stringify(x).replace("\u2028","\\u2028").replace("\u2029","\\u2029"):x}function field(field,name){var path=splitAccessPath(field),code="return _["+path.map($).join("][")+"];";return accessor(Function("_",code),[field=1===path.length?path[0]:field],name||field)}var empty=[];field("id");accessor(function(_){return _},empty,"identity");accessor(function(){return 0},empty,"zero");accessor(function(){return 1},empty,"one");accessor(function(){return true},empty,"true");accessor(function(){return false},empty,"false");function log(method,level,input){var args=[level].concat([].slice.call(input));console[method].apply(console,args)}var None=0;var Error$1=1;var Warn=2;var Info=3;var Debug=4;function logger(_){var level=_||None;return{level:function(_){if(arguments.length){level=+_;return this}return level},error:function(){level>=Error$1&&log("error","ERROR",arguments);return this},warn:function(){level>=Warn&&log("warn","WARN",arguments);return this},info:function(){level>=Info&&log("log","INFO",arguments);return this},debug:function(){level>=Debug&&log("log","DEBUG",arguments);return this}}}function isFunction(_){return"function"===typeof _}function isBoolean(_){return"boolean"===typeof _}function isNumber(_){return"number"===typeof _}function toSet(_){for(var s={},i=0,n=_.length;i<n;++i)s[_[i]]=true;return s}
/*! *****************************************************************************
  Copyright (c) Microsoft Corporation. All rights reserved.
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  this file except in compliance with the License. You may obtain a copy of the
  License at http://www.apache.org/licenses/LICENSE-2.0

  THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  MERCHANTABLITY OR NON-INFRINGEMENT.

  See the Apache Version 2.0 License for specific language governing permissions
  and limitations under the License.
  ***************************************************************************** */var extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])};function __extends(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}var __assign=Object.assign||function __assign(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t};function __rest(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&(t[p[i]]=s[p[i]])}return t}var at,ch,text,value,escapee={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},error$1=function(m){throw{name:"SyntaxError",message:m,at:at,text:text}},next=function(c){c&&c!==ch&&error$1("Expected '"+c+"' instead of '"+ch+"'");ch=text.charAt(at);at+=1;return ch},number=function(){var number,string="";if("-"===ch){string="-";next("-")}while(ch>="0"&&ch<="9"){string+=ch;next()}if("."===ch){string+=".";while(next()&&ch>="0"&&ch<="9")string+=ch}if("e"===ch||"E"===ch){string+=ch;next();if("-"===ch||"+"===ch){string+=ch;next()}while(ch>="0"&&ch<="9"){string+=ch;next()}}number=+string;if(isFinite(number))return number;error$1("Bad number")},string=function(){var hex,i,uffff,string="";if('"'===ch)while(next()){if('"'===ch){next();return string}if("\\"===ch){next();if("u"===ch){uffff=0;for(i=0;i<4;i+=1){hex=parseInt(next(),16);if(!isFinite(hex))break;uffff=16*uffff+hex}string+=String.fromCharCode(uffff)}else{if("string"!==typeof escapee[ch])break;string+=escapee[ch]}}else string+=ch}error$1("Bad string")},white=function(){while(ch&&ch<=" ")next()},word=function(){switch(ch){case"t":next("t");next("r");next("u");next("e");return true;case"f":next("f");next("a");next("l");next("s");next("e");return false;case"n":next("n");next("u");next("l");next("l");return null}error$1("Unexpected '"+ch+"'")},array$1=function(){var array=[];if("["===ch){next("[");white();if("]"===ch){next("]");return array}while(ch){array.push(value());white();if("]"===ch){next("]");return array}next(",");white()}}error$1("Bad array")},object=function(){var key,object={};if("{"===ch){next("{");white();if("}"===ch){next("}");return object}while(ch){key=string();white();next(":");Object.hasOwnProperty.call(object,key)&&error$1('Duplicate key "'+key+'"');object[key]=value();white();if("}"===ch){next("}");return object}next(",");white()}}error$1("Bad object")};value=function(){white();switch(ch){case"{":return object();case"[":return array$1();case'"':return string();case"-":return number();default:return ch>="0"&&ch<="9"?number():word()}};var parse=function(source,reviver){var result;text=source;at=0;ch=" ";result=value();white();ch&&error$1("Syntax error");return"function"===typeof reviver?function walk(holder,key){var k,v,value=holder[key];if(value&&"object"===typeof value)for(k in value)if(Object.prototype.hasOwnProperty.call(value,k)){v=walk(value,k);void 0!==v?value[k]=v:delete value[k]}return reviver.call(holder,key,value)}({"":result},""):result};var gap,indent,rep,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return"string"===typeof c?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}function str(key,holder){var i,k,v,length,partial,mind=gap,value=holder[key];value&&"object"===typeof value&&"function"===typeof value.toJSON&&(value=value.toJSON(key));"function"===typeof rep&&(value=rep.call(holder,key,value));switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value)return"null";gap+=indent;partial=[];if("[object Array]"===Object.prototype.toString.apply(value)){length=value.length;for(i=0;i<length;i+=1)partial[i]=str(i,value)||"null";v=0===partial.length?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";gap=mind;return v}if(rep&&"object"===typeof rep){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if("string"===typeof k){v=str(k,value);v&&partial.push(quote(k)+(gap?": ":":")+v)}}}else for(k in value)if(Object.prototype.hasOwnProperty.call(value,k)){v=str(k,value);v&&partial.push(quote(k)+(gap?": ":":")+v)}v=0===partial.length?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}var stringify=function(value,replacer,space){var i;gap="";indent="";if("number"===typeof space)for(i=0;i<space;i+=1)indent+=" ";else"string"===typeof space&&(indent=space);rep=replacer;if(replacer&&"function"!==typeof replacer&&("object"!==typeof replacer||"number"!==typeof replacer.length))throw new Error("JSON.stringify");return str("",{"":value})};var parse$1=parse;var stringify$1=stringify;var jsonify={parse:parse$1,stringify:stringify$1};var json="undefined"!==typeof JSON?JSON:jsonify;var jsonStableStringify=function(obj,opts){opts||(opts={});"function"===typeof opts&&(opts={cmp:opts});var space=opts.space||"";"number"===typeof space&&(space=Array(space+1).join(" "));var cycles="boolean"===typeof opts.cycles&&opts.cycles;var replacer=opts.replacer||function(key,value){return value};var cmp=opts.cmp&&(f=opts.cmp,function(node){return function(a,b){var aobj={key:a,value:node[a]};var bobj={key:b,value:node[b]};return f(aobj,bobj)}});var f;var seen=[];return function stringify(parent,key,node,level){var indent=space?"\n"+new Array(level+1).join(space):"";var colonSeparator=space?": ":":";node&&node.toJSON&&"function"===typeof node.toJSON&&(node=node.toJSON());node=replacer.call(parent,key,node);if(void 0===node)return;if("object"!==typeof node||null===node)return json.stringify(node);if(isArray$1(node)){var out=[];for(var i=0;i<node.length;i++){var item=stringify(node,i,node[i],level+1)||json.stringify(null);out.push(indent+space+item)}return"["+out.join(",")+indent+"]"}if(-1!==seen.indexOf(node)){if(cycles)return json.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}seen.push(node);var keys=objectKeys(node).sort(cmp&&cmp(node));out=[];for(i=0;i<keys.length;i++){key=keys[i];var value=stringify(node,key,node[key],level+1);if(!value)continue;var keyValue=json.stringify(key)+colonSeparator+value;out.push(indent+space+keyValue)}seen.splice(seen.indexOf(node),1);return"{"+out.join(",")+indent+"}"}({"":obj},"",obj,0)};var isArray$1=Array.isArray||function(x){return"[object Array]"==={}.toString.call(x)};var objectKeys=Object.keys||function(obj){var has=Object.prototype.hasOwnProperty||function(){return true};var keys=[];for(var key in obj)has.call(obj,key)&&keys.push(key);return keys};function isLogicalOr(op){return!!op.or}function isLogicalAnd(op){return!!op.and}function isLogicalNot(op){return!!op.not}function forEachLeaf(op,fn){if(isLogicalNot(op))forEachLeaf(op.not,fn);else if(isLogicalAnd(op))for(var _i=0,_a=op.and;_i<_a.length;_i++){var subop=_a[_i];forEachLeaf(subop,fn)}else if(isLogicalOr(op))for(var _b=0,_c=op.or;_b<_c.length;_b++){subop=_c[_b];forEachLeaf(subop,fn)}else fn(op)}function normalizeLogicalOperand(op,normalizer){return isLogicalNot(op)?{not:normalizeLogicalOperand(op.not,normalizer)}:isLogicalAnd(op)?{and:op.and.map(function(o){return normalizeLogicalOperand(o,normalizer)})}:isLogicalOr(op)?{or:op.or.map(function(o){return normalizeLogicalOperand(o,normalizer)})}:normalizer(op)}function pick(obj,props){var copy={};for(var _i=0,props_1=props;_i<props_1.length;_i++){var prop=props_1[_i];obj.hasOwnProperty(prop)&&(copy[prop]=obj[prop])}return copy}function omit(obj,props){var copy=__assign({},obj);for(var _i=0,props_2=props;_i<props_2.length;_i++){var prop=props_2[_i];delete copy[prop]}return copy}var stringify$2=jsonStableStringify;function hash(a){if(isNumber(a))return a;var str=isString(a)?a:jsonStableStringify(a);if(str.length<100)return str;var h=0;for(var i=0;i<str.length;i++){var char=str.charCodeAt(i);h=(h<<5)-h+char;h&=h}return h}function contains(array$$1,item){return array$$1.indexOf(item)>-1}function without(array$$1,excludedItems){return array$$1.filter(function(item){return!contains(excludedItems,item)})}function union(array$$1,other){return array$$1.concat(without(other,array$$1))}function some(arr,f){var i=0;for(var k=0;k<arr.length;k++)if(f(arr[k],k,i++))return true;return false}function every(arr,f){var i=0;for(var k=0;k<arr.length;k++)if(!f(arr[k],k,i++))return false;return true}function flatten(arrays){return[].concat.apply([],arrays)}function mergeDeep(dest){var src=[];for(var _i=1;_i<arguments.length;_i++)src[_i-1]=arguments[_i];for(var _a=0,src_1=src;_a<src_1.length;_a++){var s=src_1[_a];dest=deepMerge_(dest,s)}return dest}function deepMerge_(dest,src){if("object"!==typeof src||null===src)return dest;for(var p in src){if(!src.hasOwnProperty(p))continue;if(void 0===src[p])continue;"object"!==typeof src[p]||isArray(src[p])||null===src[p]?dest[p]=src[p]:"object"!==typeof dest[p]||null===dest[p]?dest[p]=mergeDeep(isArray(src[p].constructor)?[]:{},src[p]):mergeDeep(dest[p],src[p])}return dest}function unique(values,f){var results=[];var u={};var v;for(var _i=0,values_1=values;_i<values_1.length;_i++){var val=values_1[_i];v=f(val);if(v in u)continue;u[v]=1;results.push(val)}return results}function differ(dict,other){for(var key$$1 in dict)if(dict.hasOwnProperty(key$$1)&&other[key$$1]&&dict[key$$1]&&other[key$$1]!==dict[key$$1])return true;return false}function hasIntersection(a,b){for(var key$$1 in a)if(key$$1 in b)return true;return false}function isNumeric(num){return!isNaN(num)}function differArray(array$$1,other){if(array$$1.length!==other.length)return true;array$$1.sort();other.sort();for(var i=0;i<array$$1.length;i++)if(other[i]!==array$$1[i])return true;return false}var keys=Object.keys;function vals(x){var _vals=[];for(var k in x)x.hasOwnProperty(k)&&_vals.push(x[k]);return _vals}function flagKeys(f){return keys(f)}function duplicate(obj){return JSON.parse(JSON.stringify(obj))}function isBoolean$1(b){return true===b||false===b}function varName(s){var alphanumericS=s.replace(/\W/g,"_");return(s.match(/^\d+/)?"_":"")+alphanumericS}function logicalExpr(op,cb){return isLogicalNot(op)?"!("+logicalExpr(op.not,cb)+")":isLogicalAnd(op)?"("+op.and.map(function(and){return logicalExpr(and,cb)}).join(") && (")+")":isLogicalOr(op)?"("+op.or.map(function(or){return logicalExpr(or,cb)}).join(") || (")+")":cb(op)}function deleteNestedProperty(obj,orderedProps){if(0===orderedProps.length)return true;var prop=orderedProps.shift();deleteNestedProperty(obj[prop],orderedProps)&&delete obj[prop];return 0===Object.keys(obj).length}function titlecase(s){return s.charAt(0).toUpperCase()+s.substr(1)}function accessPathWithDatum(path,datum){void 0===datum&&(datum="datum");var pieces=splitAccessPath(path);var prefixes=[];for(var i=1;i<=pieces.length;i++){var prefix="["+pieces.slice(0,i).map($).join("][")+"]";prefixes.push(""+datum+prefix)}return prefixes.join(" && ")}function flatAccessWithDatum(path,datum){void 0===datum&&(datum="datum");return datum+"["+$(splitAccessPath(path).join("."))+"]"}function replacePathInField(path){return""+splitAccessPath(path).map(function(p){return p.replace(".","\\.")}).join("\\.")}function removePathFromField(path){return""+splitAccessPath(path).join(".")}function accessPathDepth(path){if(!path)return 0;return splitAccessPath(path).length}var util=Object.freeze({pick:pick,omit:omit,stringify:stringify$2,hash:hash,contains:contains,without:without,union:union,some:some,every:every,flatten:flatten,mergeDeep:mergeDeep,unique:unique,differ:differ,hasIntersection:hasIntersection,isNumeric:isNumeric,differArray:differArray,keys:keys,vals:vals,flagKeys:flagKeys,duplicate:duplicate,isBoolean:isBoolean$1,varName:varName,logicalExpr:logicalExpr,deleteNestedProperty:deleteNestedProperty,titlecase:titlecase,accessPathWithDatum:accessPathWithDatum,flatAccessWithDatum:flatAccessWithDatum,replacePathInField:replacePathInField,removePathFromField:removePathFromField,accessPathDepth:accessPathDepth});var AGGREGATE_OP_INDEX={argmax:1,argmin:1,average:1,count:1,distinct:1,max:1,mean:1,median:1,min:1,missing:1,q1:1,q3:1,ci0:1,ci1:1,stderr:1,stdev:1,stdevp:1,sum:1,valid:1,values:1,variance:1,variancep:1};var AGGREGATE_OPS=flagKeys(AGGREGATE_OP_INDEX);function isAggregateOp(a){return!!AGGREGATE_OP_INDEX[a]}var COUNTING_OPS=["count","valid","missing","distinct"];function isCountingAggregateOp(aggregate){return aggregate&&contains(COUNTING_OPS,aggregate)}var SUM_OPS=["count","sum","distinct","valid","missing"];var SHARED_DOMAIN_OPS=["mean","average","median","q1","q3","min","max"];var SHARED_DOMAIN_OP_INDEX=toSet(SHARED_DOMAIN_OPS);var aggregate=Object.freeze({AGGREGATE_OPS:AGGREGATE_OPS,isAggregateOp:isAggregateOp,COUNTING_OPS:COUNTING_OPS,isCountingAggregateOp:isCountingAggregateOp,SUM_OPS:SUM_OPS,SHARED_DOMAIN_OPS:SHARED_DOMAIN_OPS,SHARED_DOMAIN_OP_INDEX:SHARED_DOMAIN_OP_INDEX});var AXIS_PARTS=["domain","grid","labels","ticks","title"];var AXIS_PROPERTY_TYPE={grid:"grid",gridScale:"grid",domain:"main",labels:"main",labelFlush:"main",labelOverlap:"main",minExtent:"main",maxExtent:"main",offset:"main",ticks:"main",title:"main",values:"both",scale:"both",zindex:"both"};var COMMON_AXIS_PROPERTIES_INDEX={orient:1,domain:1,format:1,grid:1,labelBound:1,labelFlush:1,labelPadding:1,labels:1,labelOverlap:1,maxExtent:1,minExtent:1,offset:1,position:1,tickCount:1,ticks:1,tickSize:1,title:1,titlePadding:1,values:1,zindex:1};var AXIS_PROPERTIES_INDEX=__assign({},COMMON_AXIS_PROPERTIES_INDEX,{encoding:1,labelAngle:1,titleMaxLength:1});var VG_AXIS_PROPERTIES_INDEX=__assign({scale:1},COMMON_AXIS_PROPERTIES_INDEX,{gridScale:1,encode:1});function isAxisProperty(prop){return!!AXIS_PROPERTIES_INDEX[prop]}var VG_AXIS_PROPERTIES=flagKeys(VG_AXIS_PROPERTIES_INDEX);var AXIS_PROPERTIES=flagKeys(AXIS_PROPERTIES_INDEX);var axis=Object.freeze({AXIS_PARTS:AXIS_PARTS,AXIS_PROPERTY_TYPE:AXIS_PROPERTY_TYPE,isAxisProperty:isAxisProperty,VG_AXIS_PROPERTIES:VG_AXIS_PROPERTIES,AXIS_PROPERTIES:AXIS_PROPERTIES});var Channel;(function(Channel){Channel.ROW="row";Channel.COLUMN="column";Channel.X="x";Channel.Y="y";Channel.X2="x2";Channel.Y2="y2";Channel.LATITUDE="latitude";Channel.LONGITUDE="longitude";Channel.LATITUDE2="latitude2";Channel.LONGITUDE2="longitude2";Channel.COLOR="color";Channel.FILL="fill";Channel.STROKE="stroke";Channel.SHAPE="shape";Channel.SIZE="size";Channel.OPACITY="opacity";Channel.TEXT="text";Channel.ORDER="order";Channel.DETAIL="detail";Channel.KEY="key";Channel.TOOLTIP="tooltip";Channel.HREF="href"})(Channel||(Channel={}));var X=Channel.X;var Y=Channel.Y;var X2=Channel.X2;var Y2=Channel.Y2;var LATITUDE=Channel.LATITUDE;var LATITUDE2=Channel.LATITUDE2;var LONGITUDE=Channel.LONGITUDE;var LONGITUDE2=Channel.LONGITUDE2;var ROW=Channel.ROW;var COLUMN=Channel.COLUMN;var SHAPE=Channel.SHAPE;var SIZE=Channel.SIZE;var COLOR=Channel.COLOR;var FILL=Channel.FILL;var STROKE=Channel.STROKE;var TEXT=Channel.TEXT;var DETAIL=Channel.DETAIL;var KEY=Channel.KEY;var ORDER=Channel.ORDER;var OPACITY=Channel.OPACITY;var TOOLTIP=Channel.TOOLTIP;var HREF=Channel.HREF;var GEOPOSITION_CHANNEL_INDEX={longitude:1,longitude2:1,latitude:1,latitude2:1};var GEOPOSITION_CHANNELS=flagKeys(GEOPOSITION_CHANNEL_INDEX);var UNIT_CHANNEL_INDEX=__assign({x:1,y:1,x2:1,y2:1},GEOPOSITION_CHANNEL_INDEX,{color:1,fill:1,stroke:1,opacity:1,size:1,shape:1,order:1,text:1,detail:1,key:1,tooltip:1,href:1});function isColorChannel(channel){return"color"===channel||"fill"===channel||"stroke"===channel}var FACET_CHANNEL_INDEX={row:1,column:1};var CHANNEL_INDEX=__assign({},UNIT_CHANNEL_INDEX,FACET_CHANNEL_INDEX);var CHANNELS=flagKeys(CHANNEL_INDEX);CHANNEL_INDEX.order,CHANNEL_INDEX.detail;var SINGLE_DEF_CHANNEL_INDEX=__rest(CHANNEL_INDEX,["order","detail"]);var SINGLE_DEF_CHANNELS=flagKeys(SINGLE_DEF_CHANNEL_INDEX);function isChannel(str){return!!CHANNEL_INDEX[str]}var UNIT_CHANNELS=flagKeys(UNIT_CHANNEL_INDEX);UNIT_CHANNEL_INDEX.x,UNIT_CHANNEL_INDEX.y,UNIT_CHANNEL_INDEX.x2,UNIT_CHANNEL_INDEX.y2,UNIT_CHANNEL_INDEX.latitude,UNIT_CHANNEL_INDEX.longitude,UNIT_CHANNEL_INDEX.latitude2,UNIT_CHANNEL_INDEX.longitude2;var NONPOSITION_CHANNEL_INDEX=__rest(UNIT_CHANNEL_INDEX,["x","y","x2","y2","latitude","longitude","latitude2","longitude2"]);var NONPOSITION_CHANNELS=flagKeys(NONPOSITION_CHANNEL_INDEX);var POSITION_SCALE_CHANNEL_INDEX={x:1,y:1};var POSITION_SCALE_CHANNELS=flagKeys(POSITION_SCALE_CHANNEL_INDEX);var NONPOSITION_SCALE_CHANNEL_INDEX=__rest(NONPOSITION_CHANNEL_INDEX,["text","tooltip","href","detail","key","order"]);var NONPOSITION_SCALE_CHANNELS=flagKeys(NONPOSITION_SCALE_CHANNEL_INDEX);var SCALE_CHANNEL_INDEX=__assign({},POSITION_SCALE_CHANNEL_INDEX,NONPOSITION_SCALE_CHANNEL_INDEX);var SCALE_CHANNELS=flagKeys(SCALE_CHANNEL_INDEX);function isScaleChannel(channel){return!!SCALE_CHANNEL_INDEX[channel]}function supportMark(channel,mark){return mark in getSupportedMark(channel)}function getSupportedMark(channel){switch(channel){case COLOR:case FILL:case STROKE:case DETAIL:case KEY:case TOOLTIP:case HREF:case ORDER:case OPACITY:case ROW:case COLUMN:return{point:true,tick:true,rule:true,circle:true,square:true,bar:true,rect:true,line:true,trail:true,area:true,text:true,geoshape:true};case X:case Y:case LATITUDE:case LONGITUDE:return{point:true,tick:true,rule:true,circle:true,square:true,bar:true,rect:true,line:true,trail:true,area:true,text:true};case X2:case Y2:case LATITUDE2:case LONGITUDE2:return{rule:true,bar:true,rect:true,area:true};case SIZE:return{point:true,tick:true,rule:true,circle:true,square:true,bar:true,text:true,line:true,trail:true};case SHAPE:return{point:true,geoshape:true};case TEXT:return{text:true}}}function rangeType(channel){switch(channel){case X:case Y:case SIZE:case OPACITY:case X2:case Y2:return"continuous";case ROW:case COLUMN:case SHAPE:case TEXT:case TOOLTIP:case HREF:return"discrete";case COLOR:case FILL:case STROKE:return"flexible";case LATITUDE:case LONGITUDE:case LATITUDE2:case LONGITUDE2:case DETAIL:case KEY:case ORDER:return}throw new Error("rangeType not implemented for "+channel)}var channel=Object.freeze({get Channel(){return Channel},X:X,Y:Y,X2:X2,Y2:Y2,LATITUDE:LATITUDE,LATITUDE2:LATITUDE2,LONGITUDE:LONGITUDE,LONGITUDE2:LONGITUDE2,ROW:ROW,COLUMN:COLUMN,SHAPE:SHAPE,SIZE:SIZE,COLOR:COLOR,FILL:FILL,STROKE:STROKE,TEXT:TEXT,DETAIL:DETAIL,KEY:KEY,ORDER:ORDER,OPACITY:OPACITY,TOOLTIP:TOOLTIP,HREF:HREF,GEOPOSITION_CHANNEL_INDEX:GEOPOSITION_CHANNEL_INDEX,GEOPOSITION_CHANNELS:GEOPOSITION_CHANNELS,isColorChannel:isColorChannel,CHANNELS:CHANNELS,SINGLE_DEF_CHANNELS:SINGLE_DEF_CHANNELS,isChannel:isChannel,UNIT_CHANNELS:UNIT_CHANNELS,NONPOSITION_CHANNELS:NONPOSITION_CHANNELS,POSITION_SCALE_CHANNELS:POSITION_SCALE_CHANNELS,NONPOSITION_SCALE_CHANNELS:NONPOSITION_SCALE_CHANNELS,SCALE_CHANNELS:SCALE_CHANNELS,isScaleChannel:isScaleChannel,supportMark:supportMark,getSupportedMark:getSupportedMark,rangeType:rangeType});function binToString(bin){if(isBoolean(bin))return"bin";return"bin"+keys(bin).map(function(p){return varName("_"+p+"_"+bin[p])}).join("")}function isBinParams(bin){return bin&&!isBoolean(bin)}function autoMaxBins(channel){switch(channel){case ROW:case COLUMN:case SIZE:case COLOR:case FILL:case STROKE:case OPACITY:case SHAPE:return 6;default:return 10}}var bin=Object.freeze({binToString:binToString,isBinParams:isBinParams,autoMaxBins:autoMaxBins});var Mark;(function(Mark){Mark.AREA="area";Mark.BAR="bar";Mark.LINE="line";Mark.POINT="point";Mark.RECT="rect";Mark.RULE="rule";Mark.TEXT="text";Mark.TICK="tick";Mark.TRAIL="trail";Mark.CIRCLE="circle";Mark.SQUARE="square";Mark.GEOSHAPE="geoshape"})(Mark||(Mark={}));var AREA=Mark.AREA;var BAR=Mark.BAR;var LINE=Mark.LINE;var POINT=Mark.POINT;var TEXT$1=Mark.TEXT;var TICK=Mark.TICK;var TRAIL=Mark.TRAIL;var RECT=Mark.RECT;var RULE=Mark.RULE;var GEOSHAPE=Mark.GEOSHAPE;var CIRCLE=Mark.CIRCLE;var SQUARE=Mark.SQUARE;var MARK_INDEX={area:1,bar:1,line:1,point:1,text:1,tick:1,trail:1,rect:1,geoshape:1,rule:1,circle:1,square:1};function isMark(m){return!!MARK_INDEX[m]}function isPathMark(m){return contains(["line","area","trail"],m)}var PRIMITIVE_MARKS=flagKeys(MARK_INDEX);function isMarkDef(mark){return mark["type"]}var PRIMITIVE_MARK_INDEX=toSet(PRIMITIVE_MARKS);function isPrimitiveMark(mark){var markType=isMarkDef(mark)?mark.type:mark;return markType in PRIMITIVE_MARK_INDEX}var STROKE_CONFIG=["stroke","strokeWidth","strokeDash","strokeDashOffset","strokeOpacity","strokeJoin","strokeMiterLimit"];var FILL_CONFIG=["fill","fillOpacity"];var FILL_STROKE_CONFIG=[].concat(STROKE_CONFIG,FILL_CONFIG);var VL_ONLY_MARK_CONFIG_PROPERTIES=["filled","color"];var VL_ONLY_MARK_SPECIFIC_CONFIG_PROPERTY_INDEX={area:["line","point"],bar:["binSpacing","continuousBandSize","discreteBandSize"],line:["point"],text:["shortTimeLabels"],tick:["bandSize","thickness"]};var defaultMarkConfig={color:"#4c78a8"};var defaultBarConfig={binSpacing:1,continuousBandSize:5};var defaultTickConfig={thickness:1};var mark=Object.freeze({get Mark(){return Mark},AREA:AREA,BAR:BAR,LINE:LINE,POINT:POINT,TEXT:TEXT$1,TICK:TICK,TRAIL:TRAIL,RECT:RECT,RULE:RULE,GEOSHAPE:GEOSHAPE,CIRCLE:CIRCLE,SQUARE:SQUARE,isMark:isMark,isPathMark:isPathMark,PRIMITIVE_MARKS:PRIMITIVE_MARKS,isMarkDef:isMarkDef,isPrimitiveMark:isPrimitiveMark,STROKE_CONFIG:STROKE_CONFIG,FILL_CONFIG:FILL_CONFIG,FILL_STROKE_CONFIG:FILL_STROKE_CONFIG,VL_ONLY_MARK_CONFIG_PROPERTIES:VL_ONLY_MARK_CONFIG_PROPERTIES,VL_ONLY_MARK_SPECIFIC_CONFIG_PROPERTY_INDEX:VL_ONLY_MARK_SPECIFIC_CONFIG_PROPERTY_INDEX,defaultMarkConfig:defaultMarkConfig,defaultBarConfig:defaultBarConfig,defaultTickConfig:defaultTickConfig});var main=logger(Warn);var current=main;function set(newLogger){current=newLogger;return current}function reset(){current=main;return current}function warn(){var _=[];for(var _i=0;_i<arguments.length;_i++)_[_i]=arguments[_i];current.warn.apply(current,arguments)}function debug(){var _=[];for(var _i=0;_i<arguments.length;_i++)_[_i]=arguments[_i];current.debug.apply(current,arguments)}var message;(function(message){message.INVALID_SPEC="Invalid spec";message.FIT_NON_SINGLE='Autosize "fit" only works for single views and layered views.';message.CANNOT_FIX_RANGE_STEP_WITH_FIT='Cannot use a fixed value of "rangeStep" when "autosize" is "fit".';function cannotProjectOnChannelWithoutField(channel){return'Cannot project a selection on encoding channel "'+channel+'", which has no field.'}message.cannotProjectOnChannelWithoutField=cannotProjectOnChannelWithoutField;function nearestNotSupportForContinuous(mark){return'The "nearest" transform is not supported for '+mark+" marks."}message.nearestNotSupportForContinuous=nearestNotSupportForContinuous;function selectionNotFound(name){return'Cannot find a selection named "'+name+'"'}message.selectionNotFound=selectionNotFound;message.SCALE_BINDINGS_CONTINUOUS="Scale bindings are currently only supported for scales with unbinned, continuous domains.";function noSuchRepeatedValue(field$$1){return'Unknown repeated value "'+field$$1+'".'}message.noSuchRepeatedValue=noSuchRepeatedValue;message.CONCAT_CANNOT_SHARE_AXIS="Axes cannot be shared in concatenated views.";message.REPEAT_CANNOT_SHARE_AXIS="Axes cannot be shared in repeated views.";function cannotSetTitleAnchor(type){return'Cannot set title "anchor" for a '+type+" spec"}message.cannotSetTitleAnchor=cannotSetTitleAnchor;function unrecognizedParse(p){return'Unrecognized parse "'+p+'".'}message.unrecognizedParse=unrecognizedParse;function differentParse(field$$1,local,ancestor){return'An ancestor parsed field "'+field$$1+'" as '+ancestor+" but a child wants to parse the field as "+local+"."}message.differentParse=differentParse;function invalidTransformIgnored(transform){return"Ignoring an invalid transform: "+stringify$2(transform)+"."}message.invalidTransformIgnored=invalidTransformIgnored;message.NO_FIELDS_NEEDS_AS='If "from.fields" is not specified, "as" has to be a string that specifies the key to be used for the data from the secondary source.';function encodingOverridden(channels){return"Layer's shared "+channels.join(",")+" channel "+(1===channels.length?"is":"are")+" overriden"}message.encodingOverridden=encodingOverridden;function projectionOverridden(opt){var parentProjection=opt.parentProjection,projection=opt.projection;return"Layer's shared projection "+stringify$2(parentProjection)+" is overridden by a child projection "+stringify$2(projection)+"."}message.projectionOverridden=projectionOverridden;function primitiveChannelDef(channel,type,value){return"Channel "+channel+" is a "+type+". Converted to {value: "+stringify$2(value)+"}."}message.primitiveChannelDef=primitiveChannelDef;function invalidFieldType(type){return'Invalid field type "'+type+'"'}message.invalidFieldType=invalidFieldType;function nonZeroScaleUsedWithLengthMark(mark,channel,opt){var scaleText=opt.scaleType?opt.scaleType+" scale":opt.zeroFalse?"scale with zero=false":"scale with custom domain that excludes zero";return"A "+scaleText+" is used to encode "+mark+"'s "+channel+". This can be misleading as the "+("x"===channel?"width":"height")+" of the "+mark+" can be arbitrary based on the scale domain. You may want to use point mark instead."}message.nonZeroScaleUsedWithLengthMark=nonZeroScaleUsedWithLengthMark;function invalidFieldTypeForCountAggregate(type,aggregate){return'Invalid field type "'+type+'" for aggregate: "'+aggregate+'", using "quantitative" instead.'}message.invalidFieldTypeForCountAggregate=invalidFieldTypeForCountAggregate;function invalidAggregate(aggregate){return'Invalid aggregation operator "'+aggregate+'"'}message.invalidAggregate=invalidAggregate;function emptyOrInvalidFieldType(type,channel,newType){return'Invalid field type "'+type+'" for channel "'+channel+'", using "'+newType+'" instead.'}message.emptyOrInvalidFieldType=emptyOrInvalidFieldType;function droppingColor(type,opt){var fill=opt.fill,stroke=opt.stroke;return"Dropping color "+type+" as the plot also has "+(fill&&stroke?"fill and stroke":fill?"fill":"stroke")}message.droppingColor=droppingColor;function emptyFieldDef(fieldDef,channel){return"Dropping "+stringify$2(fieldDef)+' from channel "'+channel+'" since it does not contain data field or value.'}message.emptyFieldDef=emptyFieldDef;function latLongDeprecated(channel,type,newChannel){return channel+"-encoding with type "+type+" is deprecated. Replacing with "+newChannel+"-encoding."}message.latLongDeprecated=latLongDeprecated;message.LINE_WITH_VARYING_SIZE="Line marks cannot encode size with a non-groupby field. You may want to use trail marks instead.";function incompatibleChannel(channel,markOrFacet,when){return channel+' dropped as it is incompatible with "'+markOrFacet+'"'+(when?" when "+when:"")+"."}message.incompatibleChannel=incompatibleChannel;function invalidEncodingChannel(channel){return channel+"-encoding is dropped as "+channel+" is not a valid encoding channel."}message.invalidEncodingChannel=invalidEncodingChannel;function facetChannelShouldBeDiscrete(channel){return channel+" encoding should be discrete (ordinal / nominal / binned)."}message.facetChannelShouldBeDiscrete=facetChannelShouldBeDiscrete;function discreteChannelCannotEncode(channel,type){return'Using discrete channel "'+channel+'" to encode "'+type+'" field can be misleading as it does not encode '+("ordinal"===type?"order":"magnitude")+"."}message.discreteChannelCannotEncode=discreteChannelCannotEncode;message.BAR_WITH_POINT_SCALE_AND_RANGESTEP_NULL="Bar mark should not be used with point scale when rangeStep is null. Please use band scale instead.";function lineWithRange(hasX2,hasY2){var channels=hasX2&&hasY2?"x2 and y2":hasX2?"x2":"y2";return"Line mark is for continuous lines and thus cannot be used with "+channels+". We will use the rule mark (line segments) instead."}message.lineWithRange=lineWithRange;function orientOverridden(original,actual){return'Specified orient "'+original+'" overridden with "'+actual+'"'}message.orientOverridden=orientOverridden;message.CANNOT_UNION_CUSTOM_DOMAIN_WITH_FIELD_DOMAIN="custom domain scale cannot be unioned with default field-based domain";function cannotUseScalePropertyWithNonColor(prop){return'Cannot use the scale property "'+prop+'" with non-color channel.'}message.cannotUseScalePropertyWithNonColor=cannotUseScalePropertyWithNonColor;function unaggregateDomainHasNoEffectForRawField(fieldDef){return"Using unaggregated domain with raw field has no effect ("+stringify$2(fieldDef)+")."}message.unaggregateDomainHasNoEffectForRawField=unaggregateDomainHasNoEffectForRawField;function unaggregateDomainWithNonSharedDomainOp(aggregate){return'Unaggregated domain not applicable for "'+aggregate+'" since it produces values outside the origin domain of the source data.'}message.unaggregateDomainWithNonSharedDomainOp=unaggregateDomainWithNonSharedDomainOp;function unaggregatedDomainWithLogScale(fieldDef){return"Unaggregated domain is currently unsupported for log scale ("+stringify$2(fieldDef)+")."}message.unaggregatedDomainWithLogScale=unaggregatedDomainWithLogScale;function cannotApplySizeToNonOrientedMark(mark){return'Cannot apply size to non-oriented mark "'+mark+'".'}message.cannotApplySizeToNonOrientedMark=cannotApplySizeToNonOrientedMark;function rangeStepDropped(channel){return'rangeStep for "'+channel+'" is dropped as top-level '+("x"===channel?"width":"height")+" is provided."}message.rangeStepDropped=rangeStepDropped;function scaleTypeNotWorkWithChannel(channel,scaleType,defaultScaleType){return'Channel "'+channel+'" does not work with "'+scaleType+'" scale. We are using "'+defaultScaleType+'" scale instead.'}message.scaleTypeNotWorkWithChannel=scaleTypeNotWorkWithChannel;function scaleTypeNotWorkWithFieldDef(scaleType,defaultScaleType){return'FieldDef does not work with "'+scaleType+'" scale. We are using "'+defaultScaleType+'" scale instead.'}message.scaleTypeNotWorkWithFieldDef=scaleTypeNotWorkWithFieldDef;function scalePropertyNotWorkWithScaleType(scaleType,propName,channel){return channel+"-scale's \""+propName+'" is dropped as it does not work with '+scaleType+" scale."}message.scalePropertyNotWorkWithScaleType=scalePropertyNotWorkWithScaleType;function scaleTypeNotWorkWithMark(mark,scaleType){return'Scale type "'+scaleType+'" does not work with mark "'+mark+'".'}message.scaleTypeNotWorkWithMark=scaleTypeNotWorkWithMark;function mergeConflictingProperty(property,propertyOf,v1,v2){return"Conflicting "+propertyOf.toString()+' property "'+property.toString()+'" ('+stringify$2(v1)+" and "+stringify$2(v2)+").  Using "+stringify$2(v1)+"."}message.mergeConflictingProperty=mergeConflictingProperty;function independentScaleMeansIndependentGuide(channel){return'Setting the scale to be independent for "'+channel+'" means we also have to set the guide (axis or legend) to be independent.'}message.independentScaleMeansIndependentGuide=independentScaleMeansIndependentGuide;function domainSortDropped(sort){return"Dropping sort property "+stringify$2(sort)+" as unioned domains only support boolean or op 'count'."}message.domainSortDropped=domainSortDropped;message.UNABLE_TO_MERGE_DOMAINS="Unable to merge domains";message.MORE_THAN_ONE_SORT="Domains that should be unioned has conflicting sort properties. Sort will be set to true.";message.INVALID_CHANNEL_FOR_AXIS="Invalid channel for axis.";function cannotStackRangedMark(channel){return'Cannot stack "'+channel+'" if there is already "'+channel+'2"'}message.cannotStackRangedMark=cannotStackRangedMark;function cannotStackNonLinearScale(scaleType){return"Cannot stack non-linear scale ("+scaleType+")"}message.cannotStackNonLinearScale=cannotStackNonLinearScale;function stackNonSummativeAggregate(aggregate){return'Stacking is applied even though the aggregate function is non-summative ("'+aggregate+'")'}message.stackNonSummativeAggregate=stackNonSummativeAggregate;function invalidTimeUnit(unitName,value){return"Invalid "+unitName+": "+stringify$2(value)}message.invalidTimeUnit=invalidTimeUnit;function dayReplacedWithDate(fullTimeUnit){return'Time unit "'+fullTimeUnit+'" is not supported. We are replacing it with '+fullTimeUnit.replace("day","date")+"."}message.dayReplacedWithDate=dayReplacedWithDate;function droppedDay(d){return"Dropping day from datetime "+stringify$2(d)+" as day cannot be combined with other units."}message.droppedDay=droppedDay})(message||(message={}));var SUNDAY_YEAR=2006;function isDateTime(o){return!!o&&(!!o.year||!!o.quarter||!!o.month||!!o.date||!!o.day||!!o.hours||!!o.minutes||!!o.seconds||!!o.milliseconds)}var MONTHS=["january","february","march","april","may","june","july","august","september","october","november","december"];var SHORT_MONTHS=MONTHS.map(function(m){return m.substr(0,3)});var DAYS=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"];var SHORT_DAYS=DAYS.map(function(d){return d.substr(0,3)});function normalizeQuarter(q){if(isNumber(q)){q>4&&warn(message.invalidTimeUnit("quarter",q));return q-1+""}throw new Error(message.invalidTimeUnit("quarter",q))}function normalizeMonth(m){if(isNumber(m))return m-1+"";var lowerM=m.toLowerCase();var monthIndex=MONTHS.indexOf(lowerM);if(-1!==monthIndex)return monthIndex+"";var shortM=lowerM.substr(0,3);var shortMonthIndex=SHORT_MONTHS.indexOf(shortM);if(-1!==shortMonthIndex)return shortMonthIndex+"";throw new Error(message.invalidTimeUnit("month",m))}function normalizeDay(d){if(isNumber(d))return d%7+"";var lowerD=d.toLowerCase();var dayIndex=DAYS.indexOf(lowerD);if(-1!==dayIndex)return dayIndex+"";var shortD=lowerD.substr(0,3);var shortDayIndex=SHORT_DAYS.indexOf(shortD);if(-1!==shortDayIndex)return shortDayIndex+"";throw new Error(message.invalidTimeUnit("day",d))}function dateTimeExpr(d,normalize){void 0===normalize&&(normalize=false);var units=[];if(normalize&&void 0!==d.day&&keys(d).length>1){warn(message.droppedDay(d));d=duplicate(d);delete d.day}void 0!==d.year?units.push(d.year):void 0!==d.day?units.push(SUNDAY_YEAR):units.push(0);if(void 0!==d.month){var month=normalize?normalizeMonth(d.month):d.month;units.push(month)}else if(void 0!==d.quarter){var quarter=normalize?normalizeQuarter(d.quarter):d.quarter;units.push(quarter+"*3")}else units.push(0);if(void 0!==d.date)units.push(d.date);else if(void 0!==d.day){var day=normalize?normalizeDay(d.day):d.day;units.push(day+"+1")}else units.push(1);for(var _i=0,_a=["hours","minutes","seconds","milliseconds"];_i<_a.length;_i++){var timeUnit=_a[_i];void 0!==d[timeUnit]?units.push(d[timeUnit]):units.push(0)}return d.utc?"utc("+units.join(", ")+")":"datetime("+units.join(", ")+")"}var datetime=Object.freeze({isDateTime:isDateTime,MONTHS:MONTHS,SHORT_MONTHS:SHORT_MONTHS,DAYS:DAYS,SHORT_DAYS:SHORT_DAYS,dateTimeExpr:dateTimeExpr});var TimeUnit;(function(TimeUnit){TimeUnit.YEAR="year";TimeUnit.MONTH="month";TimeUnit.DAY="day";TimeUnit.DATE="date";TimeUnit.HOURS="hours";TimeUnit.MINUTES="minutes";TimeUnit.SECONDS="seconds";TimeUnit.MILLISECONDS="milliseconds";TimeUnit.YEARMONTH="yearmonth";TimeUnit.YEARMONTHDATE="yearmonthdate";TimeUnit.YEARMONTHDATEHOURS="yearmonthdatehours";TimeUnit.YEARMONTHDATEHOURSMINUTES="yearmonthdatehoursminutes";TimeUnit.YEARMONTHDATEHOURSMINUTESSECONDS="yearmonthdatehoursminutesseconds";TimeUnit.MONTHDATE="monthdate";TimeUnit.HOURSMINUTES="hoursminutes";TimeUnit.HOURSMINUTESSECONDS="hoursminutesseconds";TimeUnit.MINUTESSECONDS="minutesseconds";TimeUnit.SECONDSMILLISECONDS="secondsmilliseconds";TimeUnit.QUARTER="quarter";TimeUnit.YEARQUARTER="yearquarter";TimeUnit.QUARTERMONTH="quartermonth";TimeUnit.YEARQUARTERMONTH="yearquartermonth";TimeUnit.UTCYEAR="utcyear";TimeUnit.UTCMONTH="utcmonth";TimeUnit.UTCDAY="utcday";TimeUnit.UTCDATE="utcdate";TimeUnit.UTCHOURS="utchours";TimeUnit.UTCMINUTES="utcminutes";TimeUnit.UTCSECONDS="utcseconds";TimeUnit.UTCMILLISECONDS="utcmilliseconds";TimeUnit.UTCYEARMONTH="utcyearmonth";TimeUnit.UTCYEARMONTHDATE="utcyearmonthdate";TimeUnit.UTCYEARMONTHDATEHOURS="utcyearmonthdatehours";TimeUnit.UTCYEARMONTHDATEHOURSMINUTES="utcyearmonthdatehoursminutes";TimeUnit.UTCYEARMONTHDATEHOURSMINUTESSECONDS="utcyearmonthdatehoursminutesseconds";TimeUnit.UTCMONTHDATE="utcmonthdate";TimeUnit.UTCHOURSMINUTES="utchoursminutes";TimeUnit.UTCHOURSMINUTESSECONDS="utchoursminutesseconds";TimeUnit.UTCMINUTESSECONDS="utcminutesseconds";TimeUnit.UTCSECONDSMILLISECONDS="utcsecondsmilliseconds";TimeUnit.UTCQUARTER="utcquarter";TimeUnit.UTCYEARQUARTER="utcyearquarter";TimeUnit.UTCQUARTERMONTH="utcquartermonth";TimeUnit.UTCYEARQUARTERMONTH="utcyearquartermonth"})(TimeUnit||(TimeUnit={}));var LOCAL_SINGLE_TIMEUNIT_INDEX={year:1,quarter:1,month:1,day:1,date:1,hours:1,minutes:1,seconds:1,milliseconds:1};var TIMEUNIT_PARTS=flagKeys(LOCAL_SINGLE_TIMEUNIT_INDEX);function isLocalSingleTimeUnit(timeUnit){return!!LOCAL_SINGLE_TIMEUNIT_INDEX[timeUnit]}var UTC_SINGLE_TIMEUNIT_INDEX={utcyear:1,utcquarter:1,utcmonth:1,utcday:1,utcdate:1,utchours:1,utcminutes:1,utcseconds:1,utcmilliseconds:1};function isUtcSingleTimeUnit(timeUnit){return!!UTC_SINGLE_TIMEUNIT_INDEX[timeUnit]}var LOCAL_MULTI_TIMEUNIT_INDEX={yearquarter:1,yearquartermonth:1,yearmonth:1,yearmonthdate:1,yearmonthdatehours:1,yearmonthdatehoursminutes:1,yearmonthdatehoursminutesseconds:1,quartermonth:1,monthdate:1,hoursminutes:1,hoursminutesseconds:1,minutesseconds:1,secondsmilliseconds:1};var UTC_MULTI_TIMEUNIT_INDEX={utcyearquarter:1,utcyearquartermonth:1,utcyearmonth:1,utcyearmonthdate:1,utcyearmonthdatehours:1,utcyearmonthdatehoursminutes:1,utcyearmonthdatehoursminutesseconds:1,utcquartermonth:1,utcmonthdate:1,utchoursminutes:1,utchoursminutesseconds:1,utcminutesseconds:1,utcsecondsmilliseconds:1};var UTC_TIMEUNIT_INDEX=__assign({},UTC_SINGLE_TIMEUNIT_INDEX,UTC_MULTI_TIMEUNIT_INDEX);function isUTCTimeUnit(t){return!!UTC_TIMEUNIT_INDEX[t]}function getLocalTimeUnit(t){return t.substr(3)}var TIMEUNIT_INDEX=__assign({},LOCAL_SINGLE_TIMEUNIT_INDEX,UTC_SINGLE_TIMEUNIT_INDEX,LOCAL_MULTI_TIMEUNIT_INDEX,UTC_MULTI_TIMEUNIT_INDEX);var TIMEUNITS=flagKeys(TIMEUNIT_INDEX);function isTimeUnit(t){return!!TIMEUNIT_INDEX[t]}var SET_DATE_METHOD={year:"setFullYear",month:"setMonth",date:"setDate",hours:"setHours",minutes:"setMinutes",seconds:"setSeconds",milliseconds:"setMilliseconds",quarter:null,day:null};function convert(unit,date){var isUTC=isUTCTimeUnit(unit);var result=isUTC?new Date(Date.UTC(0,0,1,0,0,0,0)):new Date(0,0,1,0,0,0,0);for(var _i=0,TIMEUNIT_PARTS_1=TIMEUNIT_PARTS;_i<TIMEUNIT_PARTS_1.length;_i++){var timeUnitPart=TIMEUNIT_PARTS_1[_i];if(containsTimeUnit(unit,timeUnitPart))switch(timeUnitPart){case TimeUnit.DAY:throw new Error("Cannot convert to TimeUnits containing 'day'");case TimeUnit.QUARTER:var _a=dateMethods("month",isUTC),getDateMethod_1=_a.getDateMethod,setDateMethod_1=_a.setDateMethod;result[setDateMethod_1](3*Math.floor(date[getDateMethod_1]()/3));break;default:var _b=dateMethods(timeUnitPart,isUTC),getDateMethod=_b.getDateMethod,setDateMethod=_b.setDateMethod;result[setDateMethod](date[getDateMethod]())}}return result}function dateMethods(singleUnit,isUtc){var rawSetDateMethod=SET_DATE_METHOD[singleUnit];var setDateMethod=isUtc?"setUTC"+rawSetDateMethod.substr(3):rawSetDateMethod;var getDateMethod="get"+(isUtc?"UTC":"")+rawSetDateMethod.substr(3);return{setDateMethod:setDateMethod,getDateMethod:getDateMethod}}function getTimeUnitParts(timeUnit){return TIMEUNIT_PARTS.reduce(function(parts,part){if(containsTimeUnit(timeUnit,part))return parts.concat(part);return parts},[])}function containsTimeUnit(fullTimeUnit,timeUnit){var index=fullTimeUnit.indexOf(timeUnit);return index>-1&&(timeUnit!==TimeUnit.SECONDS||0===index||"i"!==fullTimeUnit.charAt(index-1))}function fieldExpr(fullTimeUnit,field){var fieldRef=accessPathWithDatum(field);var utc=isUTCTimeUnit(fullTimeUnit)?"utc":"";function func(timeUnit){return timeUnit===TimeUnit.QUARTER?"("+utc+"quarter("+fieldRef+")-1)":""+utc+timeUnit+"("+fieldRef+")"}var d=TIMEUNIT_PARTS.reduce(function(dateExpr,tu){containsTimeUnit(fullTimeUnit,tu)&&(dateExpr[tu]=func(tu));return dateExpr},{});return dateTimeExpr(d)}function formatExpression(timeUnit,field,shortTimeLabels,isUTCScale){if(!timeUnit)return;var dateComponents=[];var expression="";var hasYear=containsTimeUnit(timeUnit,TimeUnit.YEAR);containsTimeUnit(timeUnit,TimeUnit.QUARTER)&&(expression="'Q' + quarter("+field+")");containsTimeUnit(timeUnit,TimeUnit.MONTH)&&dateComponents.push(false!==shortTimeLabels?"%b":"%B");containsTimeUnit(timeUnit,TimeUnit.DAY)?dateComponents.push(shortTimeLabels?"%a":"%A"):containsTimeUnit(timeUnit,TimeUnit.DATE)&&dateComponents.push("%d"+(hasYear?",":""));hasYear&&dateComponents.push(shortTimeLabels?"%y":"%Y");var timeComponents=[];containsTimeUnit(timeUnit,TimeUnit.HOURS)&&timeComponents.push("%H");containsTimeUnit(timeUnit,TimeUnit.MINUTES)&&timeComponents.push("%M");containsTimeUnit(timeUnit,TimeUnit.SECONDS)&&timeComponents.push("%S");containsTimeUnit(timeUnit,TimeUnit.MILLISECONDS)&&timeComponents.push("%L");var dateTimeComponents=[];dateComponents.length>0&&dateTimeComponents.push(dateComponents.join(" "));timeComponents.length>0&&dateTimeComponents.push(timeComponents.join(":"));if(dateTimeComponents.length>0){expression&&(expression+=" + ' ' + ");expression+=isUTCScale?"utcFormat("+field+", '"+dateTimeComponents.join(" ")+"')":"timeFormat("+field+", '"+dateTimeComponents.join(" ")+"')"}return expression||void 0}function normalizeTimeUnit(timeUnit){if("day"!==timeUnit&&timeUnit.indexOf("day")>=0){warn(message.dayReplacedWithDate(timeUnit));return timeUnit.replace("day","date")}return timeUnit}var timeunit=Object.freeze({get TimeUnit(){return TimeUnit},TIMEUNIT_PARTS:TIMEUNIT_PARTS,isLocalSingleTimeUnit:isLocalSingleTimeUnit,isUtcSingleTimeUnit:isUtcSingleTimeUnit,isUTCTimeUnit:isUTCTimeUnit,getLocalTimeUnit:getLocalTimeUnit,TIMEUNITS:TIMEUNITS,isTimeUnit:isTimeUnit,convert:convert,getTimeUnitParts:getTimeUnitParts,containsTimeUnit:containsTimeUnit,fieldExpr:fieldExpr,formatExpression:formatExpression,normalizeTimeUnit:normalizeTimeUnit});var Type;(function(Type){Type.QUANTITATIVE="quantitative";Type.ORDINAL="ordinal";Type.TEMPORAL="temporal";Type.NOMINAL="nominal";Type.LATITUDE="latitude";Type.LONGITUDE="longitude";Type.GEOJSON="geojson"})(Type||(Type={}));var TYPE_INDEX={quantitative:1,ordinal:1,temporal:1,nominal:1,latitude:1,longitude:1,geojson:1};function isType(t){return!!TYPE_INDEX[t]}var QUANTITATIVE=Type.QUANTITATIVE;var ORDINAL=Type.ORDINAL;var TEMPORAL=Type.TEMPORAL;var NOMINAL=Type.NOMINAL;var GEOJSON=Type.GEOJSON;function getFullName(type){if(type){type=type.toLowerCase();switch(type){case"q":case QUANTITATIVE:return"quantitative";case"t":case TEMPORAL:return"temporal";case"o":case ORDINAL:return"ordinal";case"n":case NOMINAL:return"nominal";case Type.LATITUDE:return"latitude";case Type.LONGITUDE:return"longitude";case GEOJSON:return"geojson"}}return}var type=Object.freeze({get Type(){return Type},TYPE_INDEX:TYPE_INDEX,isType:isType,QUANTITATIVE:QUANTITATIVE,ORDINAL:ORDINAL,TEMPORAL:TEMPORAL,NOMINAL:NOMINAL,GEOJSON:GEOJSON,getFullName:getFullName});function isConditionalSelection(c){return c["selection"]}function isRepeatRef(field$$1){return field$$1&&!isString(field$$1)&&"repeat"in field$$1}function toFieldDefBase(fieldDef){var field$$1=fieldDef.field,timeUnit=fieldDef.timeUnit,bin=fieldDef.bin,aggregate=fieldDef.aggregate;return __assign({},timeUnit?{timeUnit:timeUnit}:{},bin?{bin:bin}:{},aggregate?{aggregate:aggregate}:{},{field:field$$1})}function isConditionalDef(channelDef){return!!channelDef&&!!channelDef.condition}function hasConditionalFieldDef(channelDef){return!!channelDef&&!!channelDef.condition&&!isArray(channelDef.condition)&&isFieldDef(channelDef.condition)}function hasConditionalValueDef(channelDef){return!!channelDef&&!!channelDef.condition&&(isArray(channelDef.condition)||isValueDef(channelDef.condition))}function isFieldDef(channelDef){return!!channelDef&&(!!channelDef["field"]||"count"===channelDef["aggregate"])}function isStringFieldDef(fieldDef){return isFieldDef(fieldDef)&&isString(fieldDef.field)}function isValueDef(channelDef){return channelDef&&"value"in channelDef&&void 0!==channelDef["value"]}function isScaleFieldDef(channelDef){return!!channelDef&&(!!channelDef["scale"]||!!channelDef["sort"])}function isOpFieldDef(fieldDef){return!!fieldDef["op"]}function vgField(fieldDef,opt){void 0===opt&&(opt={});var field$$1=fieldDef.field;var prefix=opt.prefix;var suffix=opt.suffix;if(isCount(fieldDef))field$$1="count_*";else{var fn=void 0;if(!opt.nofn)if(isOpFieldDef(fieldDef))fn=fieldDef.op;else if(fieldDef.bin){fn=binToString(fieldDef.bin);suffix=opt.binSuffix||""}else fieldDef.aggregate?fn=String(fieldDef.aggregate):fieldDef.timeUnit&&(fn=String(fieldDef.timeUnit));fn&&(field$$1=field$$1?fn+"_"+field$$1:fn)}suffix&&(field$$1=field$$1+"_"+suffix);prefix&&(field$$1=prefix+"_"+field$$1);return opt.expr?flatAccessWithDatum(field$$1,opt.expr):replacePathInField(field$$1)}function isDiscrete(fieldDef){switch(fieldDef.type){case"nominal":case"ordinal":case"geojson":return true;case"quantitative":return!!fieldDef.bin;case"latitude":case"longitude":case"temporal":return false}throw new Error(message.invalidFieldType(fieldDef.type))}function isContinuous(fieldDef){return!isDiscrete(fieldDef)}function isCount(fieldDef){return"count"===fieldDef.aggregate}function verbalTitleFormatter(fieldDef,config){var field$$1=fieldDef.field,bin=fieldDef.bin,timeUnit=fieldDef.timeUnit,aggregate=fieldDef.aggregate;if("count"===aggregate)return config.countTitle;if(bin)return field$$1+" (binned)";if(timeUnit){var units=getTimeUnitParts(timeUnit).join("-");return field$$1+" ("+units+")"}if(aggregate)return titlecase(aggregate)+" of "+field$$1;return field$$1}function functionalTitleFormatter(fieldDef,config){var fn=fieldDef.aggregate||fieldDef.timeUnit||fieldDef.bin&&"bin";return fn?fn.toUpperCase()+"("+fieldDef.field+")":fieldDef.field}var defaultTitleFormatter=function(fieldDef,config){switch(config.fieldTitle){case"plain":return fieldDef.field;case"functional":return functionalTitleFormatter(fieldDef,config);default:return verbalTitleFormatter(fieldDef,config)}};var titleFormatter=defaultTitleFormatter;function setTitleFormatter(formatter){titleFormatter=formatter}function resetTitleFormatter(){setTitleFormatter(defaultTitleFormatter)}function title(fieldDef,config){return titleFormatter(fieldDef,config)}function defaultType(fieldDef,channel){if(fieldDef.timeUnit)return"temporal";if(fieldDef.bin)return"quantitative";switch(rangeType(channel)){case"continuous":return"quantitative";case"discrete":case"flexible":return"nominal";default:return"quantitative"}}function getFieldDef(channelDef){if(isFieldDef(channelDef))return channelDef;if(hasConditionalFieldDef(channelDef))return channelDef.condition;return}function normalize(channelDef,channel){if(isString(channelDef)||isNumber(channelDef)||isBoolean(channelDef)){var primitiveType=isString(channelDef)?"string":isNumber(channelDef)?"number":"boolean";warn(message.primitiveChannelDef(channel,primitiveType,channelDef));return{value:channelDef}}if(isFieldDef(channelDef))return normalizeFieldDef(channelDef,channel);if(hasConditionalFieldDef(channelDef))return __assign({},channelDef,{condition:normalizeFieldDef(channelDef.condition,channel)});return channelDef}function normalizeFieldDef(fieldDef,channel){if(fieldDef.aggregate&&!isAggregateOp(fieldDef.aggregate)){fieldDef.aggregate;var fieldDefWithoutAggregate=__rest(fieldDef,["aggregate"]);warn(message.invalidAggregate(fieldDef.aggregate));fieldDef=fieldDefWithoutAggregate}fieldDef.timeUnit&&(fieldDef=__assign({},fieldDef,{timeUnit:normalizeTimeUnit(fieldDef.timeUnit)}));fieldDef.bin&&(fieldDef=__assign({},fieldDef,{bin:normalizeBin(fieldDef.bin,channel)}));if(fieldDef.type){var fullType=getFullName(fieldDef.type);fieldDef.type!==fullType&&(fieldDef=__assign({},fieldDef,{type:fullType}));if("quantitative"!==fieldDef.type&&isCountingAggregateOp(fieldDef.aggregate)){warn(message.invalidFieldTypeForCountAggregate(fieldDef.type,fieldDef.aggregate));fieldDef=__assign({},fieldDef,{type:"quantitative"})}}else{var newType=defaultType(fieldDef,channel);warn(message.emptyOrInvalidFieldType(fieldDef.type,channel,newType));fieldDef=__assign({},fieldDef,{type:newType})}var _a=channelCompatibility(fieldDef,channel),compatible=_a.compatible,warning=_a.warning;compatible||warn(warning);return fieldDef}function normalizeBin(bin,channel){return isBoolean(bin)?{maxbins:autoMaxBins(channel)}:bin.maxbins||bin.step?bin:__assign({},bin,{maxbins:autoMaxBins(channel)})}var COMPATIBLE={compatible:true};function channelCompatibility(fieldDef,channel){var type=fieldDef.type;switch(channel){case"row":case"column":if(isContinuous(fieldDef))return{compatible:false,warning:message.facetChannelShouldBeDiscrete(channel)};return COMPATIBLE;case"x":case"y":case"color":case"fill":case"stroke":case"text":case"detail":case"key":case"tooltip":case"href":return COMPATIBLE;case"longitude":case"longitude2":case"latitude":case"latitude2":if(type!==QUANTITATIVE)return{compatible:false,warning:"Channel "+channel+" should be used with a quantitative field only, not "+fieldDef.type+" field."};return COMPATIBLE;case"opacity":case"size":case"x2":case"y2":if("nominal"===type&&!fieldDef["sort"]||"geojson"===type)return{compatible:false,warning:"Channel "+channel+" should not be used with an unsorted discrete field."};return COMPATIBLE;case"shape":if("nominal"!==fieldDef.type&&"geojson"!==fieldDef.type)return{compatible:false,warning:"Shape channel should be used with only either nominal or geojson data"};return COMPATIBLE;case"order":if("nominal"===fieldDef.type&&!("sort"in fieldDef))return{compatible:false,warning:"Channel order is inappropriate for nominal field, which has no inherent order."};return COMPATIBLE}throw new Error("channelCompatability not implemented for channel "+channel)}function isNumberFieldDef(fieldDef){return"quantitative"===fieldDef.type||!!fieldDef.bin}function isTimeFieldDef(fieldDef){return"temporal"===fieldDef.type||!!fieldDef.timeUnit}function valueExpr(v,_a){var timeUnit=_a.timeUnit,type=_a.type,time=_a.time,undefinedIfExprNotRequired=_a.undefinedIfExprNotRequired;var _b;var expr=void 0;isDateTime(v)?expr=dateTimeExpr(v,true):(isString(v)||isNumber(v))&&(timeUnit||"temporal"===type)&&(expr=isLocalSingleTimeUnit(timeUnit)?dateTimeExpr((_b={},_b[timeUnit]=v,_b),true):isUtcSingleTimeUnit(timeUnit)?valueExpr(v,{timeUnit:getLocalTimeUnit(timeUnit)}):"datetime("+JSON.stringify(v)+")");if(expr)return time?"time("+expr+")":expr;return undefinedIfExprNotRequired?void 0:JSON.stringify(v)}function valueArray(fieldDef,values){var timeUnit=fieldDef.timeUnit,type=fieldDef.type;return values.map(function(v){var expr=valueExpr(v,{timeUnit:timeUnit,type:type,undefinedIfExprNotRequired:true});if(void 0!==expr)return{signal:expr};return v})}var fielddef=Object.freeze({isConditionalSelection:isConditionalSelection,isRepeatRef:isRepeatRef,toFieldDefBase:toFieldDefBase,isConditionalDef:isConditionalDef,hasConditionalFieldDef:hasConditionalFieldDef,hasConditionalValueDef:hasConditionalValueDef,isFieldDef:isFieldDef,isStringFieldDef:isStringFieldDef,isValueDef:isValueDef,isScaleFieldDef:isScaleFieldDef,vgField:vgField,isDiscrete:isDiscrete,isContinuous:isContinuous,isCount:isCount,verbalTitleFormatter:verbalTitleFormatter,functionalTitleFormatter:functionalTitleFormatter,defaultTitleFormatter:defaultTitleFormatter,setTitleFormatter:setTitleFormatter,resetTitleFormatter:resetTitleFormatter,title:title,defaultType:defaultType,getFieldDef:getFieldDef,normalize:normalize,normalizeFieldDef:normalizeFieldDef,normalizeBin:normalizeBin,channelCompatibility:channelCompatibility,isNumberFieldDef:isNumberFieldDef,isTimeFieldDef:isTimeFieldDef,valueExpr:valueExpr,valueArray:valueArray});function channelHasField(encoding,channel){var channelDef=encoding&&encoding[channel];if(channelDef)return isArray(channelDef)?some(channelDef,function(fieldDef){return!!fieldDef.field}):isFieldDef(channelDef)||hasConditionalFieldDef(channelDef);return false}function isAggregate(encoding){return some(CHANNELS,function(channel){if(channelHasField(encoding,channel)){var channelDef=encoding[channel];if(isArray(channelDef))return some(channelDef,function(fieldDef){return!!fieldDef.aggregate});var fieldDef=getFieldDef(channelDef);return fieldDef&&!!fieldDef.aggregate}return false})}function normalizeEncoding(encoding,mark){return keys(encoding).reduce(function(normalizedEncoding,channel){var _a;if(!isChannel(channel)){warn(message.invalidEncodingChannel(channel));return normalizedEncoding}if(!supportMark(channel,mark)){warn(message.incompatibleChannel(channel,mark));return normalizedEncoding}if("size"===channel&&"line"===mark){var fieldDef=getFieldDef(encoding[channel]);if(fieldDef&&fieldDef.aggregate){warn(message.LINE_WITH_VARYING_SIZE);return normalizedEncoding}}if("color"===channel&&("fill"in encoding||"stroke"in encoding)){warn(message.droppingColor("encoding",{fill:"fill"in encoding,stroke:"stroke"in encoding}));return normalizedEncoding}var channelDef=encoding[channel];if("detail"===channel||"order"===channel&&!isArray(channelDef)&&!isValueDef(channelDef)||"tooltip"===channel&&isArray(channelDef))channelDef&&(normalizedEncoding[channel]=(isArray(channelDef)?channelDef:[channelDef]).reduce(function(defs,fieldDef){isFieldDef(fieldDef)?defs.push(normalizeFieldDef(fieldDef,channel)):warn(message.emptyFieldDef(fieldDef,channel));return defs},[]));else{fieldDef=getFieldDef(encoding[channel]);if(fieldDef&&contains([Type.LATITUDE,Type.LONGITUDE],fieldDef.type)){var _b=channel,newEncoding=(normalizedEncoding[_b],__rest(normalizedEncoding,["symbol"===typeof _b?_b:_b+""]));var newChannel="x"===channel?"longitude":"y"===channel?"latitude":"x2"===channel?"longitude2":"y2"===channel?"latitude2":void 0;warn(message.latLongDeprecated(channel,fieldDef.type,newChannel));return __assign({},newEncoding,(_a={},_a[newChannel]=__assign({},normalize(fieldDef,channel),{type:"quantitative"}),_a))}if(!isFieldDef(channelDef)&&!isValueDef(channelDef)&&!isConditionalDef(channelDef)){warn(message.emptyFieldDef(channelDef,channel));return normalizedEncoding}normalizedEncoding[channel]=normalize(channelDef,channel)}return normalizedEncoding},{})}function isRanged(encoding){return encoding&&(!!encoding.x&&!!encoding.x2||!!encoding.y&&!!encoding.y2)}function fieldDefs(encoding){var arr=[];CHANNELS.forEach(function(channel){if(channelHasField(encoding,channel)){var channelDef=encoding[channel];(isArray(channelDef)?channelDef:[channelDef]).forEach(function(def){isFieldDef(def)?arr.push(def):hasConditionalFieldDef(def)&&arr.push(def.condition)})}});return arr}function forEach(mapping,f,thisArg){if(!mapping)return;var _loop_1=function(channel){isArray(mapping[channel])?mapping[channel].forEach(function(channelDef){f.call(thisArg,channelDef,channel)}):f.call(thisArg,mapping[channel],channel)};for(var _i=0,_a=keys(mapping);_i<_a.length;_i++){var channel=_a[_i];_loop_1(channel)}}function reduce(mapping,f,init,thisArg){if(!mapping)return init;return keys(mapping).reduce(function(r,channel){var map=mapping[channel];return isArray(map)?map.reduce(function(r1,channelDef){return f.call(thisArg,r1,channelDef,channel)},r):f.call(thisArg,r,map,channel)},init)}var encoding=Object.freeze({channelHasField:channelHasField,isAggregate:isAggregate,normalizeEncoding:normalizeEncoding,isRanged:isRanged,fieldDefs:fieldDefs,forEach:forEach,reduce:reduce});function getMarkSpecificConfigMixins(markSpecificConfig,channel){var _a;var value=markSpecificConfig[channel];return void 0!==value?(_a={},_a[channel]={value:value},_a):{}}var BOXPLOT="box-plot";function isBoxPlotDef(mark){return!!mark["type"]}var BOXPLOT_STYLES=["boxWhisker","box","boxMid"];var VL_ONLY_BOXPLOT_CONFIG_PROPERTY_INDEX={box:["size","color","extent"],boxWhisker:["color"],boxMid:["color"]};var supportedChannels=["x","y","color","detail","opacity","size"];function filterUnsupportedChannels(spec){return __assign({},spec,{encoding:reduce(spec.encoding,function(newEncoding,fieldDef,channel){supportedChannels.indexOf(channel)>-1?newEncoding[channel]=fieldDef:warn(message.incompatibleChannel(channel,BOXPLOT));return newEncoding},{})})}function normalizeBoxPlot(spec,config){var _a,_b,_c,_d;spec=filterUnsupportedChannels(spec);var mark=spec.mark,selection=(spec.encoding,spec.selection),outerSpec=(spec.projection,__rest(spec,["mark","encoding","selection","projection"]));var kIQRScalar=void 0;isNumber(config.box.extent)&&(kIQRScalar=config.box.extent);isBoxPlotDef(mark)&&mark.extent&&"min-max"===mark.extent&&(kIQRScalar=void 0);var orient=boxOrient(spec);var _e=boxParams(spec,orient,kIQRScalar),transform=_e.transform,continuousAxisChannelDef=_e.continuousAxisChannelDef,continuousAxis=_e.continuousAxis,encodingWithoutContinuousAxis=_e.encodingWithoutContinuousAxis;var size=encodingWithoutContinuousAxis.size,encodingWithoutSizeColorAndContinuousAxis=__rest(encodingWithoutContinuousAxis,["color","size"]);var sizeMixins=size?{size:size}:getMarkSpecificConfigMixins(config.box,"size");var continuousAxisScaleAndAxis={};continuousAxisChannelDef.scale&&(continuousAxisScaleAndAxis["scale"]=continuousAxisChannelDef.scale);continuousAxisChannelDef.axis&&(continuousAxisScaleAndAxis["axis"]=continuousAxisChannelDef.axis);return __assign({},outerSpec,{transform:transform,layer:[{mark:{type:"rule",style:"boxWhisker"},encoding:__assign((_a={},_a[continuousAxis]=__assign({field:"lower_whisker_"+continuousAxisChannelDef.field,type:continuousAxisChannelDef.type},continuousAxisScaleAndAxis),_a[continuousAxis+"2"]={field:"lower_box_"+continuousAxisChannelDef.field,type:continuousAxisChannelDef.type},_a),encodingWithoutSizeColorAndContinuousAxis,getMarkSpecificConfigMixins(config.boxWhisker,"color"))},{mark:{type:"rule",style:"boxWhisker"},encoding:__assign((_b={},_b[continuousAxis]={field:"upper_box_"+continuousAxisChannelDef.field,type:continuousAxisChannelDef.type},_b[continuousAxis+"2"]={field:"upper_whisker_"+continuousAxisChannelDef.field,type:continuousAxisChannelDef.type},_b),encodingWithoutSizeColorAndContinuousAxis,getMarkSpecificConfigMixins(config.boxWhisker,"color"))},__assign({},selection?{selection:selection}:{},{mark:{type:"bar",style:"box"},encoding:__assign((_c={},_c[continuousAxis]={field:"lower_box_"+continuousAxisChannelDef.field,type:continuousAxisChannelDef.type},_c[continuousAxis+"2"]={field:"upper_box_"+continuousAxisChannelDef.field,type:continuousAxisChannelDef.type},_c),encodingWithoutContinuousAxis,encodingWithoutContinuousAxis.color?{}:getMarkSpecificConfigMixins(config.box,"color"),sizeMixins)}),{mark:{type:"tick",style:"boxMid"},encoding:__assign((_d={},_d[continuousAxis]={field:"mid_box_"+continuousAxisChannelDef.field,type:continuousAxisChannelDef.type},_d),encodingWithoutSizeColorAndContinuousAxis,getMarkSpecificConfigMixins(config.boxMid,"color"),sizeMixins)}]})}function boxOrient(spec){var mark=spec.mark,encoding=spec.encoding;spec.projection,__rest(spec,["mark","encoding","projection"]);if(isFieldDef(encoding.x)&&isContinuous(encoding.x)){if(isFieldDef(encoding.y)&&isContinuous(encoding.y)){if(void 0===encoding.x.aggregate&&encoding.y.aggregate===BOXPLOT)return"vertical";if(void 0===encoding.y.aggregate&&encoding.x.aggregate===BOXPLOT)return"horizontal";if(encoding.x.aggregate===BOXPLOT&&encoding.y.aggregate===BOXPLOT)throw new Error("Both x and y cannot have aggregate");if(isBoxPlotDef(mark)&&mark.orient)return mark.orient;return"vertical"}return"horizontal"}if(isFieldDef(encoding.y)&&isContinuous(encoding.y))return"vertical";throw new Error("Need a valid continuous axis for boxplots")}function boxContinousAxis(spec,orient){spec.mark;var encoding=spec.encoding;spec.projection,__rest(spec,["mark","encoding","projection"]);var continuousAxisChannelDef;var continuousAxis;if("vertical"===orient){continuousAxis="y";continuousAxisChannelDef=encoding.y}else{continuousAxis="x";continuousAxisChannelDef=encoding.x}if(continuousAxisChannelDef&&continuousAxisChannelDef.aggregate){var aggregate=continuousAxisChannelDef.aggregate,continuousAxisWithoutAggregate=__rest(continuousAxisChannelDef,["aggregate"]);aggregate!==BOXPLOT&&warn("Continuous axis should not have customized aggregation function "+aggregate);continuousAxisChannelDef=continuousAxisWithoutAggregate}return{continuousAxisChannelDef:continuousAxisChannelDef,continuousAxis:continuousAxis}}function boxParams(spec,orient,kIQRScalar){var _a=boxContinousAxis(spec,orient),continuousAxisChannelDef=_a.continuousAxisChannelDef,continuousAxis=_a.continuousAxis;var encoding=spec.encoding;var isMinMax=void 0===kIQRScalar;var aggregate=[{op:"q1",field:continuousAxisChannelDef.field,as:"lower_box_"+continuousAxisChannelDef.field},{op:"q3",field:continuousAxisChannelDef.field,as:"upper_box_"+continuousAxisChannelDef.field},{op:"median",field:continuousAxisChannelDef.field,as:"mid_box_"+continuousAxisChannelDef.field}];var postAggregateCalculates=[];aggregate.push({op:"min",field:continuousAxisChannelDef.field,as:(isMinMax?"lower_whisker_":"min_")+continuousAxisChannelDef.field});aggregate.push({op:"max",field:continuousAxisChannelDef.field,as:(isMinMax?"upper_whisker_":"max_")+continuousAxisChannelDef.field});isMinMax||(postAggregateCalculates=[{calculate:"datum.upper_box_"+continuousAxisChannelDef.field+" - datum.lower_box_"+continuousAxisChannelDef.field,as:"iqr_"+continuousAxisChannelDef.field},{calculate:"min(datum.upper_box_"+continuousAxisChannelDef.field+" + datum.iqr_"+continuousAxisChannelDef.field+" * "+kIQRScalar+", datum.max_"+continuousAxisChannelDef.field+")",as:"upper_whisker_"+continuousAxisChannelDef.field},{calculate:"max(datum.lower_box_"+continuousAxisChannelDef.field+" - datum.iqr_"+continuousAxisChannelDef.field+" * "+kIQRScalar+", datum.min_"+continuousAxisChannelDef.field+")",as:"lower_whisker_"+continuousAxisChannelDef.field}]);var groupby=[];var bins=[];var timeUnits=[];var encodingWithoutContinuousAxis={};forEach(encoding,function(channelDef,channel){if(channel===continuousAxis)return;if(isFieldDef(channelDef)){if(channelDef.aggregate&&channelDef.aggregate!==BOXPLOT)aggregate.push({op:channelDef.aggregate,field:channelDef.field,as:vgField(channelDef)});else if(void 0===channelDef.aggregate){var transformedField=vgField(channelDef);var bin=channelDef.bin;if(bin){var field$$1=channelDef.field;bins.push({bin:bin,field:field$$1,as:transformedField})}else if(channelDef.timeUnit){var timeUnit=channelDef.timeUnit;field$$1=channelDef.field;timeUnits.push({timeUnit:timeUnit,field:field$$1,as:transformedField})}groupby.push(transformedField)}encodingWithoutContinuousAxis[channel]={field:vgField(channelDef),type:channelDef.type}}else encodingWithoutContinuousAxis[channel]=encoding[channel]});return{transform:[].concat(bins,timeUnits,[{aggregate:aggregate,groupby:groupby}],postAggregateCalculates),continuousAxisChannelDef:continuousAxisChannelDef,continuousAxis:continuousAxis,encodingWithoutContinuousAxis:encodingWithoutContinuousAxis}}var ERRORBAR="error-bar";function normalizeErrorBar(spec){spec.mark,spec.selection,spec.projection;var encoding=spec.encoding,outerSpec=__rest(spec,["mark","selection","projection","encoding"]);encoding.size;var encodingWithoutSize=__rest(encoding,["size"]);encoding.x2,encoding.y2;var encodingWithoutX2Y2=__rest(encoding,["x2","y2"]);var encodingWithoutX_X2_Y_Y2=__rest(encodingWithoutX2Y2,["x","y"]);if(!encoding.x2&&!encoding.y2)throw new Error("Neither x2 or y2 provided");return __assign({},outerSpec,{layer:[{mark:"rule",encoding:encodingWithoutSize},{mark:"tick",encoding:encodingWithoutX2Y2},{mark:"tick",encoding:encoding.x2?__assign({x:encoding.x2,y:encoding.y},encodingWithoutX_X2_Y_Y2):__assign({x:encoding.x,y:encoding.y2},encodingWithoutX_X2_Y_Y2)}]})}var normalizerRegistry={};function add(mark,normalizer){normalizerRegistry[mark]=normalizer}function remove(mark){delete normalizerRegistry[mark]}var COMPOSITE_MARK_STYLES=BOXPLOT_STYLES;var VL_ONLY_COMPOSITE_MARK_SPECIFIC_CONFIG_PROPERTY_INDEX=__assign({},VL_ONLY_BOXPLOT_CONFIG_PROPERTY_INDEX);add(BOXPLOT,normalizeBoxPlot);add(ERRORBAR,normalizeErrorBar);function normalize$1(spec,config){var mark=isMarkDef(spec.mark)?spec.mark.type:spec.mark;var normalizer=normalizerRegistry[mark];if(normalizer)return normalizer(spec,config);throw new Error('Invalid mark type "'+mark+'"')}var index=Object.freeze({add:add,remove:remove,COMPOSITE_MARK_STYLES:COMPOSITE_MARK_STYLES,VL_ONLY_COMPOSITE_MARK_SPECIFIC_CONFIG_PROPERTY_INDEX:VL_ONLY_COMPOSITE_MARK_SPECIFIC_CONFIG_PROPERTY_INDEX,normalize:normalize$1});var VL_ONLY_GUIDE_CONFIG=["shortTimeLabels"];var defaultLegendConfig={};var COMMON_LEGEND_PROPERTY_INDEX={entryPadding:1,format:1,offset:1,orient:1,padding:1,tickCount:1,title:1,type:1,values:1,zindex:1};var VG_LEGEND_PROPERTY_INDEX=__assign({},COMMON_LEGEND_PROPERTY_INDEX,{opacity:1,shape:1,stroke:1,fill:1,size:1,encode:1});var LEGEND_PROPERTIES=flagKeys(COMMON_LEGEND_PROPERTY_INDEX);var VG_LEGEND_PROPERTIES=flagKeys(VG_LEGEND_PROPERTY_INDEX);var legend=Object.freeze({defaultLegendConfig:defaultLegendConfig,LEGEND_PROPERTIES:LEGEND_PROPERTIES,VG_LEGEND_PROPERTIES:VG_LEGEND_PROPERTIES});var ScaleType;(function(ScaleType){ScaleType.LINEAR="linear";ScaleType.BIN_LINEAR="bin-linear";ScaleType.LOG="log";ScaleType.POW="pow";ScaleType.SQRT="sqrt";ScaleType.TIME="time";ScaleType.UTC="utc";ScaleType.SEQUENTIAL="sequential";ScaleType.QUANTILE="quantile";ScaleType.QUANTIZE="quantize";ScaleType.THRESHOLD="threshold";ScaleType.ORDINAL="ordinal";ScaleType.BIN_ORDINAL="bin-ordinal";ScaleType.POINT="point";ScaleType.BAND="band"})(ScaleType||(ScaleType={}));var SCALE_CATEGORY_INDEX={linear:"numeric",log:"numeric",pow:"numeric",sqrt:"numeric","bin-linear":"bin-linear",time:"time",utc:"time",sequential:"sequential",ordinal:"ordinal","bin-ordinal":"bin-ordinal",point:"ordinal-position",band:"ordinal-position"};var SCALE_TYPES=keys(SCALE_CATEGORY_INDEX);function scaleCompatible(scaleType1,scaleType2){var scaleCategory1=SCALE_CATEGORY_INDEX[scaleType1];var scaleCategory2=SCALE_CATEGORY_INDEX[scaleType2];return scaleCategory1===scaleCategory2||"ordinal-position"===scaleCategory1&&"time"===scaleCategory2||"ordinal-position"===scaleCategory2&&"time"===scaleCategory1}var SCALE_PRECEDENCE_INDEX={linear:0,log:1,pow:1,sqrt:1,time:0,utc:0,point:10,band:11,"bin-linear":0,sequential:0,ordinal:0,"bin-ordinal":0};function scaleTypePrecedence(scaleType){return SCALE_PRECEDENCE_INDEX[scaleType]}var CONTINUOUS_TO_CONTINUOUS_SCALES=["linear","bin-linear","log","pow","sqrt","time","utc"];var CONTINUOUS_TO_CONTINUOUS_INDEX=toSet(CONTINUOUS_TO_CONTINUOUS_SCALES);var CONTINUOUS_DOMAIN_SCALES=CONTINUOUS_TO_CONTINUOUS_SCALES.concat(["sequential"]);var CONTINUOUS_DOMAIN_INDEX=toSet(CONTINUOUS_DOMAIN_SCALES);var DISCRETE_DOMAIN_SCALES=["ordinal","bin-ordinal","point","band"];var DISCRETE_DOMAIN_INDEX=toSet(DISCRETE_DOMAIN_SCALES);var BIN_SCALES_INDEX=toSet(["bin-linear","bin-ordinal"]);var TIME_SCALE_TYPES=["time","utc"];function hasDiscreteDomain(type){return type in DISCRETE_DOMAIN_INDEX}function isBinScale(type){return type in BIN_SCALES_INDEX}function hasContinuousDomain(type){return type in CONTINUOUS_DOMAIN_INDEX}function isContinuousToContinuous(type){return type in CONTINUOUS_TO_CONTINUOUS_INDEX}var defaultScaleConfig={textXRangeStep:90,rangeStep:21,pointPadding:.5,bandPaddingInner:.1,facetSpacing:16,minBandSize:2,minFontSize:8,maxFontSize:40,minOpacity:.3,maxOpacity:.8,minSize:9,minStrokeWidth:1,maxStrokeWidth:4};function isExtendedScheme(scheme){return scheme&&!!scheme["name"]}function isSelectionDomain(domain){return domain&&domain["selection"]}var SCALE_PROPERTY_INDEX={type:1,domain:1,range:1,rangeStep:1,scheme:1,reverse:1,round:1,clamp:1,nice:1,base:1,exponent:1,interpolate:1,zero:1,padding:1,paddingInner:1,paddingOuter:1};var SCALE_PROPERTIES=flagKeys(SCALE_PROPERTY_INDEX);var NON_TYPE_DOMAIN_RANGE_VEGA_SCALE_PROPERTY_INDEX=__rest(SCALE_PROPERTY_INDEX,["type","domain","range","rangeStep","scheme"]);var NON_TYPE_DOMAIN_RANGE_VEGA_SCALE_PROPERTIES=flagKeys(NON_TYPE_DOMAIN_RANGE_VEGA_SCALE_PROPERTY_INDEX);var SCALE_TYPE_INDEX=generateScaleTypeIndex();function scaleTypeSupportProperty(scaleType,propName){switch(propName){case"type":case"domain":case"reverse":case"range":return true;case"scheme":return contains(["sequential","ordinal","bin-ordinal","quantile","quantize"],scaleType);case"interpolate":return contains(["linear","bin-linear","pow","log","sqrt","utc","time"],scaleType);case"round":return isContinuousToContinuous(scaleType)||"band"===scaleType||"point"===scaleType;case"padding":return isContinuousToContinuous(scaleType)||contains(["point","band"],scaleType);case"paddingOuter":case"rangeStep":return contains(["point","band"],scaleType);case"paddingInner":return"band"===scaleType;case"clamp":return isContinuousToContinuous(scaleType)||"sequential"===scaleType;case"nice":return isContinuousToContinuous(scaleType)||"sequential"===scaleType||"quantize"===scaleType;case"exponent":return"pow"===scaleType;case"base":return"log"===scaleType;case"zero":return hasContinuousDomain(scaleType)&&!contains(["log","time","utc","bin-linear","threshold","quantile"],scaleType)}throw new Error("Invalid scale property "+propName+".")}function channelScalePropertyIncompatability(channel,propName){switch(propName){case"interpolate":case"scheme":if(!isColorChannel(channel))return message.cannotUseScalePropertyWithNonColor(channel);return;case"type":case"domain":case"range":case"base":case"exponent":case"nice":case"padding":case"paddingInner":case"paddingOuter":case"rangeStep":case"reverse":case"round":case"clamp":case"zero":return}throw new Error('Invalid scale property "'+propName+'".')}function scaleTypeSupportDataType(specifiedType,fieldDefType,bin){if(contains([Type.ORDINAL,Type.NOMINAL],fieldDefType))return void 0===specifiedType||hasDiscreteDomain(specifiedType);if(fieldDefType===Type.TEMPORAL)return contains([ScaleType.TIME,ScaleType.UTC,ScaleType.SEQUENTIAL,void 0],specifiedType);if(fieldDefType===Type.QUANTITATIVE){if(bin)return contains([ScaleType.BIN_LINEAR,ScaleType.BIN_ORDINAL,ScaleType.LINEAR],specifiedType);return contains([ScaleType.LOG,ScaleType.POW,ScaleType.SQRT,ScaleType.QUANTILE,ScaleType.QUANTIZE,ScaleType.LINEAR,ScaleType.SEQUENTIAL,void 0],specifiedType)}return true}function channelSupportScaleType(channel,scaleType){switch(channel){case Channel.X:case Channel.Y:case Channel.SIZE:case Channel.OPACITY:return isContinuousToContinuous(scaleType)||contains(["band","point"],scaleType);case Channel.COLOR:case Channel.FILL:case Channel.STROKE:return"band"!==scaleType;case Channel.SHAPE:return"ordinal"===scaleType}return false}function getSupportedScaleType(channel,fieldDefType,bin){return SCALE_TYPE_INDEX[generateScaleTypeIndexKey(channel,fieldDefType,bin)]}function generateScaleTypeIndex(){var index={};for(var _i=0,CHANNELS_1=CHANNELS;_i<CHANNELS_1.length;_i++){var channel=CHANNELS_1[_i];for(var _a=0,_b=keys(TYPE_INDEX);_a<_b.length;_a++){var fieldDefType=_b[_a];for(var _c=0,SCALE_TYPES_1=SCALE_TYPES;_c<SCALE_TYPES_1.length;_c++){var scaleType=SCALE_TYPES_1[_c];for(var _d=0,_e=[false,true];_d<_e.length;_d++){var bin=_e[_d];var key$$1=generateScaleTypeIndexKey(channel,fieldDefType,bin);if(channelSupportScaleType(channel,scaleType)&&scaleTypeSupportDataType(scaleType,fieldDefType,bin)){index[key$$1]=index[key$$1]||[];index[key$$1].push(scaleType)}}}}}return index}function generateScaleTypeIndexKey(channel,fieldDefType,bin){var key$$1=channel+"_"+fieldDefType;return bin?key$$1+"_bin":key$$1}var scale=Object.freeze({get ScaleType(){return ScaleType},SCALE_TYPES:SCALE_TYPES,scaleCompatible:scaleCompatible,scaleTypePrecedence:scaleTypePrecedence,CONTINUOUS_TO_CONTINUOUS_SCALES:CONTINUOUS_TO_CONTINUOUS_SCALES,CONTINUOUS_DOMAIN_SCALES:CONTINUOUS_DOMAIN_SCALES,DISCRETE_DOMAIN_SCALES:DISCRETE_DOMAIN_SCALES,TIME_SCALE_TYPES:TIME_SCALE_TYPES,hasDiscreteDomain:hasDiscreteDomain,isBinScale:isBinScale,hasContinuousDomain:hasContinuousDomain,isContinuousToContinuous:isContinuousToContinuous,defaultScaleConfig:defaultScaleConfig,isExtendedScheme:isExtendedScheme,isSelectionDomain:isSelectionDomain,SCALE_PROPERTIES:SCALE_PROPERTIES,NON_TYPE_DOMAIN_RANGE_VEGA_SCALE_PROPERTIES:NON_TYPE_DOMAIN_RANGE_VEGA_SCALE_PROPERTIES,SCALE_TYPE_INDEX:SCALE_TYPE_INDEX,scaleTypeSupportProperty:scaleTypeSupportProperty,channelScalePropertyIncompatability:channelScalePropertyIncompatability,scaleTypeSupportDataType:scaleTypeSupportDataType,channelSupportScaleType:channelSupportScaleType,getSupportedScaleType:getSupportedScaleType});var SELECTION_ID="_vgsid_";var defaultConfig={single:{on:"click",fields:[SELECTION_ID],resolve:"global",empty:"all"},multi:{on:"click",fields:[SELECTION_ID],toggle:"event.shiftKey",resolve:"global",empty:"all"},interval:{on:"[mousedown, window:mouseup] > window:mousemove!",encodings:["x","y"],translate:"[mousedown, window:mouseup] > window:mousemove!",zoom:"wheel!",mark:{fill:"#333",fillOpacity:.125,stroke:"white"},resolve:"global"}};function extractTitleConfig(titleConfig){var anchor=titleConfig.anchor,offset=titleConfig.offset,orient=titleConfig.orient,color=titleConfig.color,titleMarkConfig=__rest(titleConfig,["anchor","offset","orient","color"]);var mark=__assign({},titleMarkConfig,color?{fill:color}:{});var nonMark=__assign({},anchor?{anchor:anchor}:{},offset?{offset:offset}:{},orient?{orient:orient}:{});return{mark:mark,nonMark:nonMark}}var defaultViewConfig={width:200,height:200};var defaultConfig$1={padding:5,timeFormat:"",countTitle:"Number of Records",invalidValues:"filter",view:defaultViewConfig,mark:defaultMarkConfig,area:{},bar:defaultBarConfig,circle:{},geoshape:{},line:{},point:{},rect:{},rule:{color:"black"},square:{},text:{color:"black"},tick:defaultTickConfig,trail:{},box:{size:14,extent:1.5},boxWhisker:{},boxMid:{color:"white"},scale:defaultScaleConfig,projection:{},axis:{},axisX:{},axisY:{minExtent:30},axisLeft:{},axisRight:{},axisTop:{},axisBottom:{},axisBand:{},legend:defaultLegendConfig,selection:defaultConfig,style:{},title:{}};function initConfig(config){return mergeDeep(duplicate(defaultConfig$1),config)}var MARK_STYLES=["view"].concat(PRIMITIVE_MARKS,COMPOSITE_MARK_STYLES);var VL_ONLY_CONFIG_PROPERTIES=["padding","numberFormat","timeFormat","countTitle","stack","scale","selection","invalidValues","overlay"];var VL_ONLY_ALL_MARK_SPECIFIC_CONFIG_PROPERTY_INDEX=__assign({view:["width","height"]},VL_ONLY_MARK_SPECIFIC_CONFIG_PROPERTY_INDEX,VL_ONLY_COMPOSITE_MARK_SPECIFIC_CONFIG_PROPERTY_INDEX);function stripAndRedirectConfig(config){config=duplicate(config);for(var _i=0,VL_ONLY_CONFIG_PROPERTIES_1=VL_ONLY_CONFIG_PROPERTIES;_i<VL_ONLY_CONFIG_PROPERTIES_1.length;_i++){var prop=VL_ONLY_CONFIG_PROPERTIES_1[_i];delete config[prop]}if(config.axis)for(var _a=0,VL_ONLY_GUIDE_CONFIG_1=VL_ONLY_GUIDE_CONFIG;_a<VL_ONLY_GUIDE_CONFIG_1.length;_a++){prop=VL_ONLY_GUIDE_CONFIG_1[_a];delete config.axis[prop]}if(config.legend)for(var _b=0,VL_ONLY_GUIDE_CONFIG_2=VL_ONLY_GUIDE_CONFIG;_b<VL_ONLY_GUIDE_CONFIG_2.length;_b++){prop=VL_ONLY_GUIDE_CONFIG_2[_b];delete config.legend[prop]}if(config.mark)for(var _c=0,VL_ONLY_MARK_CONFIG_PROPERTIES_1=VL_ONLY_MARK_CONFIG_PROPERTIES;_c<VL_ONLY_MARK_CONFIG_PROPERTIES_1.length;_c++){prop=VL_ONLY_MARK_CONFIG_PROPERTIES_1[_c];delete config.mark[prop]}for(var _d=0,MARK_STYLES_1=MARK_STYLES;_d<MARK_STYLES_1.length;_d++){var markType=MARK_STYLES_1[_d];for(var _e=0,VL_ONLY_MARK_CONFIG_PROPERTIES_2=VL_ONLY_MARK_CONFIG_PROPERTIES;_e<VL_ONLY_MARK_CONFIG_PROPERTIES_2.length;_e++){prop=VL_ONLY_MARK_CONFIG_PROPERTIES_2[_e];delete config[markType][prop]}var vlOnlyMarkSpecificConfigs=VL_ONLY_ALL_MARK_SPECIFIC_CONFIG_PROPERTY_INDEX[markType];if(vlOnlyMarkSpecificConfigs)for(var _f=0,vlOnlyMarkSpecificConfigs_1=vlOnlyMarkSpecificConfigs;_f<vlOnlyMarkSpecificConfigs_1.length;_f++){prop=vlOnlyMarkSpecificConfigs_1[_f];delete config[markType][prop]}redirectConfig(config,markType)}redirectConfig(config,"title","group-title");for(var prop in config)isObject(config[prop])&&0===keys(config[prop]).length&&delete config[prop];return keys(config).length>0?config:void 0}function redirectConfig(config,prop,toProp){var propConfig="title"===prop?extractTitleConfig(config.title).mark:config[prop];"view"===prop&&(toProp="cell");var style=__assign({},propConfig,config.style[prop]);keys(style).length>0&&(config.style[toProp||prop]=style);delete config[prop]}var config=Object.freeze({defaultViewConfig:defaultViewConfig,defaultConfig:defaultConfig$1,initConfig:initConfig,stripAndRedirectConfig:stripAndRedirectConfig});var STACK_OFFSET_INDEX={zero:1,center:1,normalize:1};function isStackOffset(s){return!!STACK_OFFSET_INDEX[s]}var STACKABLE_MARKS=[BAR,AREA,RULE,POINT,CIRCLE,SQUARE,LINE,TEXT$1,TICK];var STACK_BY_DEFAULT_MARKS=[BAR,AREA];function potentialStackedChannel(encoding){var xDef=encoding.x;var yDef=encoding.y;if(isFieldDef(xDef)&&isFieldDef(yDef))if("quantitative"===xDef.type&&"quantitative"===yDef.type){if(xDef.stack)return"x";if(yDef.stack)return"y";if(!!xDef.aggregate!==!!yDef.aggregate)return xDef.aggregate?"x":"y"}else{if("quantitative"===xDef.type)return"x";if("quantitative"===yDef.type)return"y"}else{if(isFieldDef(xDef)&&"quantitative"===xDef.type)return"x";if(isFieldDef(yDef)&&"quantitative"===yDef.type)return"y"}return}function stack(m,encoding,stackConfig){var mark=isMarkDef(m)?m.type:m;if(!contains(STACKABLE_MARKS,mark))return null;var fieldChannel=potentialStackedChannel(encoding);if(!fieldChannel)return null;var stackedFieldDef=encoding[fieldChannel];var stackedField=isStringFieldDef(stackedFieldDef)?vgField(stackedFieldDef,{}):void 0;var dimensionChannel="x"===fieldChannel?"y":"x";var dimensionDef=encoding[dimensionChannel];var dimensionField=isStringFieldDef(dimensionDef)?vgField(dimensionDef,{}):void 0;var stackBy=NONPOSITION_CHANNELS.reduce(function(sc,channel){if(channelHasField(encoding,channel)){var channelDef=encoding[channel];(isArray(channelDef)?channelDef:[channelDef]).forEach(function(cDef){var fieldDef=getFieldDef(cDef);if(fieldDef.aggregate)return;var f=isStringFieldDef(fieldDef)?vgField(fieldDef,{}):void 0;(!f||f!==dimensionField&&f!==stackedField)&&sc.push({channel:channel,fieldDef:fieldDef})})}return sc},[]);if(0===stackBy.length)return null;var offset=void 0;offset=void 0!==stackedFieldDef.stack?stackedFieldDef.stack:contains(STACK_BY_DEFAULT_MARKS,mark)&&void 0===stackConfig?"zero":stackConfig;if(!offset||!isStackOffset(offset))return null;stackedFieldDef.scale&&stackedFieldDef.scale.type&&stackedFieldDef.scale.type!==ScaleType.LINEAR&&warn(message.cannotStackNonLinearScale(stackedFieldDef.scale.type));if(channelHasField(encoding,fieldChannel===X?X2:Y2)){void 0!==stackedFieldDef.stack&&warn(message.cannotStackRangedMark(fieldChannel));return null}stackedFieldDef.aggregate&&!contains(SUM_OPS,stackedFieldDef.aggregate)&&warn(message.stackNonSummativeAggregate(stackedFieldDef.aggregate));return{groupbyChannel:dimensionDef?dimensionChannel:void 0,fieldChannel:fieldChannel,impute:isPathMark(mark),stackBy:stackBy,offset:offset}}var stack$1=Object.freeze({isStackOffset:isStackOffset,STACKABLE_MARKS:STACKABLE_MARKS,STACK_BY_DEFAULT_MARKS:STACK_BY_DEFAULT_MARKS,stack:stack});function isFacetSpec(spec){return void 0!==spec["facet"]}function isUnitSpec(spec){return!!spec["mark"]}function isLayerSpec(spec){return void 0!==spec["layer"]}function isRepeatSpec(spec){return void 0!==spec["repeat"]}function isConcatSpec(spec){return isVConcatSpec(spec)||isHConcatSpec(spec)}function isVConcatSpec(spec){return void 0!==spec["vconcat"]}function isHConcatSpec(spec){return void 0!==spec["hconcat"]}function normalize$2(spec,config){if(isFacetSpec(spec))return normalizeFacet(spec,config);if(isLayerSpec(spec))return normalizeLayer(spec,config);if(isRepeatSpec(spec))return normalizeRepeat(spec,config);if(isVConcatSpec(spec))return normalizeVConcat(spec,config);if(isHConcatSpec(spec))return normalizeHConcat(spec,config);if(isUnitSpec(spec)){var hasRow=channelHasField(spec.encoding,ROW);var hasColumn=channelHasField(spec.encoding,COLUMN);if(hasRow||hasColumn)return normalizeFacetedUnit(spec,config);return normalizeNonFacetUnit(spec,config)}throw new Error(message.INVALID_SPEC)}function normalizeFacet(spec,config){var subspec=spec.spec,rest=__rest(spec,["spec"]);return __assign({},rest,{spec:normalize$2(subspec,config)})}function mergeEncoding(opt){var parentEncoding=opt.parentEncoding,encoding=opt.encoding;if(parentEncoding&&encoding){var overriden=keys(parentEncoding).reduce(function(o,key$$1){encoding[key$$1]&&o.push(key$$1);return o},[]);overriden.length>0&&warn(message.encodingOverridden(overriden))}var merged=__assign({},parentEncoding||{},encoding||{});return keys(merged).length>0?merged:void 0}function mergeProjection(opt){var parentProjection=opt.parentProjection,projection=opt.projection;parentProjection&&projection&&warn(message.projectionOverridden({parentProjection:parentProjection,projection:projection}));return projection||parentProjection}function normalizeLayer(spec,config,parentEncoding,parentProjection){var layer=spec.layer,encoding=spec.encoding,projection=spec.projection,rest=__rest(spec,["layer","encoding","projection"]);var mergedEncoding=mergeEncoding({parentEncoding:parentEncoding,encoding:encoding});var mergedProjection=mergeProjection({parentProjection:parentProjection,projection:projection});return __assign({},rest,{layer:layer.map(function(subspec){if(isLayerSpec(subspec))return normalizeLayer(subspec,config,mergedEncoding,mergedProjection);return normalizeNonFacetUnit(subspec,config,mergedEncoding,mergedProjection)})})}function normalizeRepeat(spec,config){var subspec=spec.spec,rest=__rest(spec,["spec"]);return __assign({},rest,{spec:normalize$2(subspec,config)})}function normalizeVConcat(spec,config){var vconcat=spec.vconcat,rest=__rest(spec,["vconcat"]);return __assign({},rest,{vconcat:vconcat.map(function(subspec){return normalize$2(subspec,config)})})}function normalizeHConcat(spec,config){var hconcat=spec.hconcat,rest=__rest(spec,["hconcat"]);return __assign({},rest,{hconcat:hconcat.map(function(subspec){return normalize$2(subspec,config)})})}function normalizeFacetedUnit(spec,config){var _a=spec.encoding,row=_a.row,column=_a.column,encoding=__rest(_a,["row","column"]);var mark=spec.mark,width=spec.width,projection=spec.projection,height=spec.height,selection=spec.selection,outerSpec=(spec.encoding,__rest(spec,["mark","width","projection","height","selection","encoding"]));return __assign({},outerSpec,{facet:__assign({},row?{row:row}:{},column?{column:column}:{}),spec:normalizeNonFacetUnit(__assign({},projection?{projection:projection}:{},{mark:mark},width?{width:width}:{},height?{height:height}:{},{encoding:encoding},selection?{selection:selection}:{}),config)})}function isNonFacetUnitSpecWithPrimitiveMark(spec){return isPrimitiveMark(spec.mark)}function getPointOverlay(markDef,markConfig,encoding){if("transparent"===markDef.point)return{opacity:0};if(markDef.point)return isObject(markDef.point)?markDef.point:{};if(void 0!==markDef.point)return null;if(markConfig.point||encoding.shape)return isObject(markConfig.point)?markConfig.point:{};return null}function getLineOverlay(markDef,markConfig){if(markDef.line)return true===markDef.line?{}:markDef.line;if(void 0!==markDef.line)return null;if(markConfig.line)return true===markConfig.line?{}:markConfig.line;return null}function normalizeNonFacetUnit(spec,config,parentEncoding,parentProjection){var encoding=spec.encoding,projection=spec.projection;var mark=isMarkDef(spec.mark)?spec.mark.type:spec.mark;if(parentEncoding||parentProjection){var mergedProjection=mergeProjection({parentProjection:parentProjection,projection:projection});var mergedEncoding=mergeEncoding({parentEncoding:parentEncoding,encoding:encoding});return normalizeNonFacetUnit(__assign({},spec,mergedProjection?{projection:mergedProjection}:{},mergedEncoding?{encoding:mergedEncoding}:{}),config)}if(isNonFacetUnitSpecWithPrimitiveMark(spec)){if(isRanged(encoding))return normalizeRangedUnit(spec);if("line"===mark&&(encoding.x2||encoding.y2)){warn(message.lineWithRange(!!encoding.x2,!!encoding.y2));return normalizeNonFacetUnit(__assign({mark:"rule"},spec),config,parentEncoding,parentProjection)}if(isPathMark(mark))return normalizePathOverlay(spec,config);return spec}return normalize$1(spec,config)}function normalizeRangedUnit(spec){var hasX=channelHasField(spec.encoding,X);var hasY=channelHasField(spec.encoding,Y);var hasX2=channelHasField(spec.encoding,X2);var hasY2=channelHasField(spec.encoding,Y2);if(hasX2&&!hasX||hasY2&&!hasY){var normalizedSpec=duplicate(spec);if(hasX2&&!hasX){normalizedSpec.encoding.x=normalizedSpec.encoding.x2;delete normalizedSpec.encoding.x2}if(hasY2&&!hasY){normalizedSpec.encoding.y=normalizedSpec.encoding.y2;delete normalizedSpec.encoding.y2}return normalizedSpec}return spec}function dropLineAndPoint(markDef){markDef.point,markDef.line;var mark=__rest(markDef,["point","line"]);return keys(mark).length>1?mark:mark.type}function normalizePathOverlay(spec,config){void 0===config&&(config={});var _a;var selection=spec.selection,projection=spec.projection,encoding=spec.encoding,mark=spec.mark,outerSpec=__rest(spec,["selection","projection","encoding","mark"]);var markDef=isMarkDef(mark)?mark:{type:mark};var pointOverlay=getPointOverlay(markDef,config[markDef.type],encoding);var lineOverlay="area"===markDef.type&&getLineOverlay(markDef,config[markDef.type]);if(!pointOverlay&&!lineOverlay)return __assign({},spec,{mark:dropLineAndPoint(markDef)});var layer=[__assign({},selection?{selection:selection}:{},{mark:dropLineAndPoint(__assign({},markDef,"area"===markDef.type?{opacity:.7}:{})),encoding:omit(encoding,["shape"])})];var stackProps=stack(markDef,encoding,config?config.stack:void 0);var overlayEncoding=encoding;if(stackProps){var stackFieldChannel=stackProps.fieldChannel,offset=stackProps.offset;overlayEncoding=__assign({},encoding,(_a={},_a[stackFieldChannel]=__assign({},encoding[stackFieldChannel],offset?{stack:offset}:{}),_a))}lineOverlay&&layer.push(__assign({},projection?{projection:projection}:{},{mark:__assign({type:"line"},pick(markDef,["clip","interpolate"]),lineOverlay),encoding:overlayEncoding}));pointOverlay&&layer.push(__assign({},projection?{projection:projection}:{},{mark:__assign({type:"point",opacity:1,filled:true},pick(markDef,["clip"]),pointOverlay),encoding:overlayEncoding}));return __assign({},outerSpec,{layer:layer})}function accumulate(dict,defs){defs.forEach(function(fieldDef){var pureFieldDef=["field","type","value","timeUnit","bin","aggregate"].reduce(function(f,key$$1){void 0!==fieldDef[key$$1]&&(f[key$$1]=fieldDef[key$$1]);return f},{});var key$$1=hash(pureFieldDef);dict[key$$1]=dict[key$$1]||fieldDef});return dict}function fieldDefIndex(spec,dict){void 0===dict&&(dict={});if(isLayerSpec(spec))spec.layer.forEach(function(layer){isUnitSpec(layer)?accumulate(dict,fieldDefs(layer.encoding)):fieldDefIndex(layer,dict)});else if(isFacetSpec(spec)){accumulate(dict,fieldDefs(spec.facet));fieldDefIndex(spec.spec,dict)}else if(isRepeatSpec(spec))fieldDefIndex(spec.spec,dict);else if(isConcatSpec(spec)){var childSpec=isVConcatSpec(spec)?spec.vconcat:spec.hconcat;childSpec.forEach(function(child){return fieldDefIndex(child,dict)})}else accumulate(dict,fieldDefs(spec.encoding));return dict}function fieldDefs$1(spec){return vals(fieldDefIndex(spec))}function isStacked(spec,config){config=config||spec.config;if(isPrimitiveMark(spec.mark))return null!==stack(spec.mark,spec.encoding,config?config.stack:void 0);return false}var spec=Object.freeze({isFacetSpec:isFacetSpec,isUnitSpec:isUnitSpec,isLayerSpec:isLayerSpec,isRepeatSpec:isRepeatSpec,isConcatSpec:isConcatSpec,isVConcatSpec:isVConcatSpec,isHConcatSpec:isHConcatSpec,normalize:normalize$2,fieldDefs:fieldDefs$1,isStacked:isStacked});function extractCompositionLayout(layout){var _a=layout||{},_b=_a.align,align=void 0===_b?void 0:_b,_c=_a.center,center=void 0===_c?void 0:_c,_d=_a.bounds,bounds=void 0===_d?void 0:_d,_e=_a.spacing,spacing=void 0===_e?void 0:_e;return{align:align,bounds:bounds,center:center,spacing:spacing}}function _normalizeAutoSize(autosize){return isString(autosize)?{type:autosize}:autosize||{}}function normalizeAutoSize(topLevelAutosize,configAutosize,isUnitOrLayer){void 0===isUnitOrLayer&&(isUnitOrLayer=true);var autosize=__assign({type:"pad"},_normalizeAutoSize(configAutosize),_normalizeAutoSize(topLevelAutosize));if("fit"===autosize.type&&!isUnitOrLayer){warn(message.FIT_NON_SINGLE);autosize.type="pad"}return autosize}var TOP_LEVEL_PROPERTIES=["background","padding","datasets"];function extractTopLevelProperties(t){return TOP_LEVEL_PROPERTIES.reduce(function(o,p){t&&void 0!==t[p]&&(o[p]=t[p]);return o},{})}function isUrlData(data){return!!data["url"]}function isInlineData(data){return!!data["values"]}function isNamedData(data){return!!data["name"]&&!isUrlData(data)&&!isInlineData(data)}var MAIN="main";var RAW="raw";var data=Object.freeze({isUrlData:isUrlData,isInlineData:isInlineData,isNamedData:isNamedData,MAIN:MAIN,RAW:RAW});function parseSelector(selector,source,marks){DEFAULT_SOURCE=source||VIEW;MARKS=marks||DEFAULT_MARKS;return parseMerge(selector.trim()).map(parseSelector$1)}var DEFAULT_SOURCE,MARKS,VIEW="view",LBRACK="[",RBRACK="]",LBRACE="{",RBRACE="}",COLON=":",COMMA=",",NAME="@",GT=">",ILLEGAL=/[[\]{}]/,DEFAULT_MARKS={"*":1,arc:1,area:1,group:1,image:1,line:1,path:1,rect:1,rule:1,shape:1,symbol:1,text:1,trail:1};function isMarkType(type){return MARKS.hasOwnProperty(type)}function find(s,i,endChar,pushChar,popChar){var c,count=0,n=s.length;for(;i<n;++i){c=s[i];if(!count&&c===endChar)return i;popChar&&popChar.indexOf(c)>=0?--count:pushChar&&pushChar.indexOf(c)>=0&&++count}return i}function parseMerge(s){var output=[],start=0,n=s.length,i=0;while(i<n){i=find(s,i,COMMA,LBRACK+LBRACE,RBRACK+RBRACE);output.push(s.substring(start,i).trim());start=++i}if(0===output.length)throw"Empty event selector: "+s;return output}function parseSelector$1(s){return"["===s[0]?parseBetween(s):parseStream(s)}function parseBetween(s){var b,stream,n=s.length,i=1;i=find(s,i,RBRACK,LBRACK,RBRACK);if(i===n)throw"Empty between selector: "+s;b=parseMerge(s.substring(1,i));if(2!==b.length)throw"Between selector must have two elements: "+s;s=s.slice(i+1).trim();if(s[0]!==GT)throw"Expected '>' after between selector: "+s;b=b.map(parseSelector$1);stream=parseSelector$1(s.slice(1).trim());if(stream.between)return{between:b,stream:stream};stream.between=b;return stream}function parseStream(s){var j,filter,stream={source:DEFAULT_SOURCE},source=[],throttle=[0,0],markname=0,start=0,n=s.length,i=0;if(s[n-1]===RBRACE){i=s.lastIndexOf(LBRACE);if(!(i>=0))throw"Unmatched right brace: "+s;try{throttle=parseThrottle(s.substring(i+1,n-1))}catch(e){throw"Invalid throttle specification: "+s}s=s.slice(0,i).trim();n=s.length;i=0}if(!n)throw s;s[0]===NAME&&(markname=++i);j=find(s,i,COLON);if(j<n){source.push(s.substring(start,j).trim());start=i=++j}i=find(s,i,LBRACK);if(i===n)source.push(s.substring(start,n).trim());else{source.push(s.substring(start,i).trim());filter=[];start=++i;if(start===n)throw"Unmatched left bracket: "+s}while(i<n){i=find(s,i,RBRACK);if(i===n)throw"Unmatched left bracket: "+s;filter.push(s.substring(start,i).trim());if(i<n-1&&s[++i]!==LBRACK)throw"Expected left bracket: "+s;start=++i}if(!(n=source.length)||ILLEGAL.test(source[n-1]))throw"Invalid event selector: "+s;if(n>1){stream.type=source[1];markname?stream.markname=source[0].slice(1):isMarkType(source[0])?stream.marktype=source[0]:stream.source=source[0]}else stream.type=source[0];if("!"===stream.type.slice(-1)){stream.consume=true;stream.type=stream.type.slice(0,-1)}null!=filter&&(stream.filter=filter);throttle[0]&&(stream.throttle=throttle[0]);throttle[1]&&(stream.debounce=throttle[1]);return stream}function parseThrottle(s){var a=s.split(COMMA);if(!s.length||a.length>2)throw s;return a.map(function(_){var x=+_;if(x!==x)throw s;return x})}function isVgSignalRef(o){return!!o["signal"]}function isVgRangeStep(range){return!!range["step"]}function isDataRefUnionedDomain(domain){if(!isArray(domain))return"fields"in domain&&!("data"in domain);return false}function isFieldRefUnionDomain(domain){if(!isArray(domain))return"fields"in domain&&"data"in domain;return false}function isDataRefDomain(domain){if(!isArray(domain))return"field"in domain&&"data"in domain;return false}var VG_MARK_CONFIG_INDEX={opacity:1,fill:1,fillOpacity:1,stroke:1,strokeCap:1,strokeWidth:1,strokeOpacity:1,strokeDash:1,strokeDashOffset:1,strokeJoin:1,strokeMiterLimit:1,size:1,shape:1,interpolate:1,tension:1,orient:1,align:1,baseline:1,text:1,dir:1,dx:1,dy:1,ellipsis:1,limit:1,radius:1,theta:1,angle:1,font:1,fontSize:1,fontWeight:1,fontStyle:1,cursor:1,href:1,tooltip:1,cornerRadius:1};var VG_MARK_CONFIGS=flagKeys(VG_MARK_CONFIG_INDEX);function assembleTitle(title$$1,config){if(isArray(title$$1))return title$$1.map(function(fieldDef){return title(fieldDef,config)}).join(", ");return title$$1}function assembleAxis(axisCmpt,kind,config,opt){void 0===opt&&(opt={header:false});var _a=axisCmpt.combine(),orient=_a.orient,scale=_a.scale,title$$1=_a.title,zindex=_a.zindex,axis=__rest(_a,["orient","scale","title","zindex"]);keys(axis).forEach(function(key$$1){var propType=AXIS_PROPERTY_TYPE[key$$1];propType&&propType!==kind&&"both"!==propType&&delete axis[key$$1]});if("grid"===kind){if(!axis.grid)return;if(axis.encode){var grid=axis.encode.grid;axis.encode=__assign({},grid?{grid:grid}:{});0===keys(axis.encode).length&&delete axis.encode}return __assign({scale:scale,orient:orient},axis,{domain:false,labels:false,maxExtent:0,minExtent:0,ticks:false,zindex:void 0!==zindex?zindex:0})}if(!opt.header&&axisCmpt.mainExtracted)return;if(axis.encode){for(var _i=0,AXIS_PARTS_1=AXIS_PARTS;_i<AXIS_PARTS_1.length;_i++){var part=AXIS_PARTS_1[_i];axisCmpt.hasAxisPart(part)||delete axis.encode[part]}0===keys(axis.encode).length&&delete axis.encode}var titleString=assembleTitle(title$$1,config);return __assign({scale:scale,orient:orient,grid:false},titleString?{title:titleString}:{},axis,{zindex:void 0!==zindex?zindex:1})}function assembleAxes(axisComponents,config){var _a=axisComponents.x,x=void 0===_a?[]:_a,_b=axisComponents.y,y=void 0===_b?[]:_b;return x.map(function(a){return assembleAxis(a,"main",config)}).concat(x.map(function(a){return assembleAxis(a,"grid",config)}),y.map(function(a){return assembleAxis(a,"main",config)}),y.map(function(a){return assembleAxis(a,"grid",config)})).filter(function(a){return a})}var HEADER_TITLE_PROPERTIES_MAP={titleAnchor:"anchor",titleAngle:"angle",titleBaseline:"baseline",titleColor:"color",titleFont:"font",titleFontSize:"fontSize",titleFontWeight:"fontWeight",titleLimit:"limit"};var HEADER_LABEL_PROPERTIES_MAP={labelAngle:"angle",labelColor:"color",labelFont:"font",labelFontSize:"fontSize",labelLimit:"limit"};var HEADER_TITLE_PROPERTIES=Object.keys(HEADER_TITLE_PROPERTIES_MAP);var HEADER_LABEL_PROPERTIES=Object.keys(HEADER_LABEL_PROPERTIES_MAP);var header=Object.freeze({HEADER_TITLE_PROPERTIES_MAP:HEADER_TITLE_PROPERTIES_MAP,HEADER_LABEL_PROPERTIES_MAP:HEADER_LABEL_PROPERTIES_MAP,HEADER_TITLE_PROPERTIES:HEADER_TITLE_PROPERTIES,HEADER_LABEL_PROPERTIES:HEADER_LABEL_PROPERTIES});function isSortField(sort){return!!sort&&("count"===sort["op"]||!!sort["field"])&&!!sort["op"]}function isSortArray(sort){return!!sort&&isArray(sort)}var sort=Object.freeze({isSortField:isSortField,isSortArray:isSortArray});function position(channel,channelDef,scaleName,scale,stack,defaultRef){if(isFieldDef(channelDef)&&stack&&channel===stack.fieldChannel)return fieldRef(channelDef,scaleName,{suffix:"end"});return midPoint(channel,channelDef,scaleName,scale,stack,defaultRef)}function position2(channel,aFieldDef,a2fieldDef,scaleName,scale,stack,defaultRef){if(isFieldDef(aFieldDef)&&stack&&channel.charAt(0)===stack.fieldChannel.charAt(0))return fieldRef(aFieldDef,scaleName,{suffix:"start"});return midPoint(channel,a2fieldDef,scaleName,scale,stack,defaultRef)}function getOffset(channel,markDef){var offsetChannel=channel+"Offset";var markDefOffsetValue=markDef[offsetChannel];if(markDefOffsetValue)return markDefOffsetValue;return}function bin$1(fieldDef,scaleName,side,offset){var binSuffix="start"===side?void 0:"end";return fieldRef(fieldDef,scaleName,{binSuffix:binSuffix},offset?{offset:offset}:{})}function fieldRef(fieldDef,scaleName,opt,mixins){var ref=__assign({},scaleName?{scale:scaleName}:{},{field:vgField(fieldDef,opt)});if(mixins)return __assign({},ref,mixins);return ref}function bandRef(scaleName,band){void 0===band&&(band=true);return{scale:scaleName,band:band}}function binMidSignal(fieldDef,scaleName){return{signal:'(scale("'+scaleName+'", '+vgField(fieldDef,{expr:"datum"})+') + scale("'+scaleName+'", '+vgField(fieldDef,{binSuffix:"end",expr:"datum"})+"))/2"}}function midPoint(channel,channelDef,scaleName,scale,stack,defaultRef){if(channelDef){if(isFieldDef(channelDef)){if(channelDef.bin){if(contains([X,Y],channel)&&channelDef.type===QUANTITATIVE){if(stack&&stack.impute)return fieldRef(channelDef,scaleName,{binSuffix:"mid"});return binMidSignal(channelDef,scaleName)}return fieldRef(channelDef,scaleName,binRequiresRange(channelDef,channel)?{binSuffix:"range"}:{})}if(scale){var scaleType=scale.get("type");if(hasDiscreteDomain(scaleType)){if("band"===scaleType)return fieldRef(channelDef,scaleName,{binSuffix:"range"},{band:.5});return fieldRef(channelDef,scaleName,{binSuffix:"range"})}}return fieldRef(channelDef,scaleName,{})}if(isValueDef(channelDef)){var value=channelDef.value;if(contains(["x","x2"],channel)&&"width"===value)return{field:{group:"width"}};if(contains(["y","y2"],channel)&&"height"===value)return{field:{group:"height"}};return{value:value}}}return isFunction(defaultRef)?defaultRef():defaultRef}function text$1(textDef,config){if(textDef){if(isFieldDef(textDef))return formatSignalRef(textDef,textDef.format,"datum",config);if(isValueDef(textDef))return{value:textDef.value}}return}function mid(sizeRef){return __assign({},sizeRef,{mult:.5})}function domainDefinitelyIncludeZero(scale){if(false!==scale.get("zero"))return true;var domains=scale.domains;if(isArray(domains))return some(domains,function(d){return isArray(d)&&2===d.length&&d[0]<=0&&d[1]>=0});return false}function getDefaultRef(defaultRef,channel,scaleName,scale,mark){return function(){if(isString(defaultRef)){if(scaleName){var scaleType=scale.get("type");if(contains([ScaleType.LOG,ScaleType.TIME,ScaleType.UTC],scaleType))"bar"!==mark&&"area"!==mark||warn(message.nonZeroScaleUsedWithLengthMark(mark,channel,{scaleType:scaleType}));else{if(domainDefinitelyIncludeZero(scale))return{scale:scaleName,value:0};"bar"!==mark&&"area"!==mark||warn(message.nonZeroScaleUsedWithLengthMark(mark,channel,{zeroFalse:false===scale.explicit.zero}))}}return"zeroOrMin"===defaultRef?"x"===channel?{value:0}:{field:{group:"height"}}:"x"===channel?{field:{group:"width"}}:{value:0}}return defaultRef}}function color(model,opt){void 0===opt&&(opt={valueOnly:false});var _a,_b;var markDef=model.markDef,encoding=model.encoding,config=model.config;var filled=markDef.filled,markType=markDef.type;var configValue={fill:getMarkConfig("fill",markDef,config),stroke:getMarkConfig("stroke",markDef,config),color:getMarkConfig("color",markDef,config)};var transparentIfNeeded=contains(["bar","point","circle","square","geoshape"],markType)?"transparent":void 0;var defaultValue={fill:markDef.fill||configValue.fill||transparentIfNeeded,stroke:markDef.stroke||configValue.stroke};var colorVgChannel=filled?"fill":"stroke";var fillStrokeMarkDefAndConfig=__assign({},defaultValue.fill?{fill:{value:defaultValue.fill}}:{},defaultValue.stroke?{stroke:{value:defaultValue.stroke}}:{});if(encoding.fill||encoding.stroke){markDef.color&&warn(message.droppingColor("property",{fill:"fill"in encoding,stroke:"stroke"in encoding}));return __assign({},nonPosition("fill",model,{defaultValue:defaultValue.fill||transparentIfNeeded}),nonPosition("stroke",model,{defaultValue:defaultValue.stroke}))}if(encoding.color)return __assign({},fillStrokeMarkDefAndConfig,nonPosition("color",model,{vgChannel:colorVgChannel,defaultValue:markDef[colorVgChannel]||markDef.color||configValue[colorVgChannel]||configValue.color||(filled?transparentIfNeeded:void 0)}));if(markDef.fill||markDef.stroke){markDef.color&&warn(message.droppingColor("property",{fill:"fill"in markDef,stroke:"stroke"in markDef}));return fillStrokeMarkDefAndConfig}if(markDef.color)return __assign({},fillStrokeMarkDefAndConfig,(_a={},_a[colorVgChannel]={value:markDef.color},_a));if(configValue.fill||configValue.stroke)return fillStrokeMarkDefAndConfig;if(configValue.color)return __assign({},transparentIfNeeded?{fill:{value:"transparent"}}:{},(_b={},_b[colorVgChannel]={value:configValue.color},_b));return{}}function baseEncodeEntry(model,ignore){return __assign({},markDefProperties(model.markDef,ignore),color(model),nonPosition("opacity",model),tooltip(model),text$2(model,"href"))}function markDefProperties(mark,ignore){return VG_MARK_CONFIGS.reduce(function(m,prop){void 0!==mark[prop]&&"ignore"!==ignore[prop]&&(m[prop]={value:mark[prop]});return m},{})}function valueIfDefined(prop,value){var _a;if(void 0!==value)return _a={},_a[prop]={value:value},_a;return}function validPredicate(vgRef){return vgRef+" !== null && !isNaN("+vgRef+")"}function defined(model){if("filter"===model.config.invalidValues){var fields=["x","y"].map(function(channel){var scaleComponent=model.getScaleComponent(channel);if(scaleComponent){var scaleType=scaleComponent.get("type");if(hasContinuousDomain(scaleType))return model.vgField(channel,{expr:"datum"})}return}).filter(function(field$$1){return!!field$$1}).map(validPredicate);if(fields.length>0)return{defined:{signal:fields.join(" && ")}}}return{}}function nonPosition(channel,model,opt){void 0===opt&&(opt={});var defaultValue=opt.defaultValue,vgChannel=opt.vgChannel;var defaultRef=opt.defaultRef||(void 0!==defaultValue?{value:defaultValue}:void 0);var channelDef=model.encoding[channel];return wrapCondition(model,channelDef,vgChannel||channel,function(cDef){return midPoint(channel,cDef,model.scaleName(channel),model.getScaleComponent(channel),null,defaultRef)})}function wrapCondition(model,channelDef,vgChannel,refFn){var _a,_b;var condition=channelDef&&channelDef.condition;var valueRef=refFn(channelDef);if(condition){var conditions=isArray(condition)?condition:[condition];var vgConditions=conditions.map(function(c){var conditionValueRef=refFn(c);var test=isConditionalSelection(c)?selectionPredicate(model,c.selection):expression(model,c.test);return __assign({test:test},conditionValueRef)});return _a={},_a[vgChannel]=vgConditions.concat(void 0!==valueRef?[valueRef]:[]),_a}return void 0!==valueRef?(_b={},_b[vgChannel]=valueRef,_b):{}}function tooltip(model){var channel="tooltip";var channelDef=model.encoding[channel];if(isArray(channelDef)){var keyValues=channelDef.map(function(fieldDef){var key$$1=void 0!==fieldDef.title?fieldDef.title:vgField(fieldDef,{binSuffix:"range"});var value=text$1(fieldDef,model.config).signal;return'"'+key$$1+'": '+value});return{tooltip:{signal:"{"+keyValues.join(", ")+"}"}}}return textCommon(model,channel,channelDef)}function text$2(model,channel){void 0===channel&&(channel="text");var channelDef=model.encoding[channel];return textCommon(model,channel,channelDef)}function textCommon(model,channel,channelDef){return wrapCondition(model,channelDef,channel,function(cDef){return text$1(cDef,model.config)})}function bandPosition(fieldDef,channel,model){var _a,_b,_c;var scaleName=model.scaleName(channel);var sizeChannel="x"===channel?"width":"height";if(model.encoding.size||void 0!==model.markDef.size){var orient=model.markDef.orient;if(orient){var centeredBandPositionMixins=(_a={},_a[channel+"c"]=fieldRef(fieldDef,scaleName,{},{band:.5}),_a);if(getFieldDef(model.encoding.size))return __assign({},centeredBandPositionMixins,nonPosition("size",model,{vgChannel:sizeChannel}));if(isValueDef(model.encoding.size))return __assign({},centeredBandPositionMixins,nonPosition("size",model,{vgChannel:sizeChannel}));if(void 0!==model.markDef.size)return __assign({},centeredBandPositionMixins,(_b={},_b[sizeChannel]={value:model.markDef.size},_b))}else warn(message.cannotApplySizeToNonOrientedMark(model.markDef.type))}return _c={},_c[channel]=fieldRef(fieldDef,scaleName,{binSuffix:"range"}),_c[sizeChannel]=bandRef(scaleName),_c}function centeredBandPosition(channel,model,defaultPosRef,defaultSizeRef){var centerChannel="x"===channel?"xc":"yc";var sizeChannel="x"===channel?"width":"height";return __assign({},pointPosition(channel,model,defaultPosRef,centerChannel),nonPosition("size",model,{defaultRef:defaultSizeRef,vgChannel:sizeChannel}))}function binnedPosition(fieldDef,channel,scaleName,spacing,reverse){return"x"===channel?{x2:bin$1(fieldDef,scaleName,"start",reverse?0:spacing),x:bin$1(fieldDef,scaleName,"end",reverse?spacing:0)}:{y2:bin$1(fieldDef,scaleName,"start",reverse?spacing:0),y:bin$1(fieldDef,scaleName,"end",reverse?0:spacing)}}function pointPosition(channel,model,defaultRef,vgChannel){var _a;var encoding=model.encoding,mark=model.mark,stack=model.stack;var channelDef=encoding[channel];var scaleName=model.scaleName(channel);var scale=model.getScaleComponent(channel);var offset=getOffset(channel,model.markDef);var valueRef=channelDef||!encoding.latitude&&!encoding.longitude?__assign({},position(channel,encoding[channel],scaleName,scale,stack,getDefaultRef(defaultRef,channel,scaleName,scale,mark)),offset?{offset:offset}:{}):{field:model.getName(channel)};return _a={},_a[vgChannel||channel]=valueRef,_a}function pointPosition2(model,defaultRef,channel){var _a;var encoding=model.encoding,mark=model.mark,stack=model.stack;var baseChannel="x2"===channel?"x":"y";var channelDef=encoding[baseChannel];var scaleName=model.scaleName(baseChannel);var scale=model.getScaleComponent(baseChannel);var offset=getOffset(channel,model.markDef);var valueRef=channelDef||!encoding.latitude&&!encoding.longitude?__assign({},position2(channel,channelDef,encoding[channel],scaleName,scale,stack,getDefaultRef(defaultRef,baseChannel,scaleName,scale,mark)),offset?{offset:offset}:{}):{field:model.getName(channel)};return _a={},_a[channel]=valueRef,_a}function applyMarkConfig(e,model,propsList){for(var _i=0,propsList_2=propsList;_i<propsList_2.length;_i++){var property=propsList_2[_i];var value=getMarkConfig(property,model.markDef,model.config);void 0!==value&&(e[property]={value:value})}return e}function getStyles(mark){return[].concat(mark.type,mark.style||[])}function getMarkConfig(prop,mark,config){var value=config.mark[prop];var markSpecificConfig=config[mark.type];void 0!==markSpecificConfig[prop]&&(value=markSpecificConfig[prop]);var styles=getStyles(mark);for(var _i=0,styles_1=styles;_i<styles_1.length;_i++){var style=styles_1[_i];var styleConfig=config.style[style];var p=prop;styleConfig&&void 0!==styleConfig[p]&&(value=styleConfig[p])}return value}function formatSignalRef(fieldDef,specifiedFormat,expr,config){var format=numberFormat(fieldDef,specifiedFormat,config);if(fieldDef.bin){var startField=vgField(fieldDef,{expr:expr});var endField=vgField(fieldDef,{expr:expr,binSuffix:"end"});return{signal:binFormatExpression(startField,endField,format,config)}}if("quantitative"===fieldDef.type)return{signal:""+formatExpr(vgField(fieldDef,{expr:expr,binSuffix:"range"}),format)};if(isTimeFieldDef(fieldDef)){var isUTCScale=isScaleFieldDef(fieldDef)&&fieldDef["scale"]&&fieldDef["scale"].type===ScaleType.UTC;return{signal:timeFormatExpression(vgField(fieldDef,{expr:expr}),fieldDef.timeUnit,specifiedFormat,config.text.shortTimeLabels,config.timeFormat,isUTCScale,true)}}return{signal:"''+"+vgField(fieldDef,{expr:expr})}}function getSpecifiedOrDefaultValue(specifiedValue,defaultValue){if(void 0!==specifiedValue)return specifiedValue;return defaultValue}function numberFormat(fieldDef,specifiedFormat,config){if(fieldDef.type===QUANTITATIVE){if(specifiedFormat)return specifiedFormat;return config.numberFormat}return}function formatExpr(field$$1,format){return"format("+field$$1+', "'+(format||"")+'")'}function numberFormatExpr(field$$1,specifiedFormat,config){return formatExpr(field$$1,specifiedFormat||config.numberFormat)}function binFormatExpression(startField,endField,format,config){return startField+" === null || isNaN("+startField+') ? "null" : '+numberFormatExpr(startField,format,config)+' + " - " + '+numberFormatExpr(endField,format,config)}function timeFormatExpression(field$$1,timeUnit,format,shortTimeLabels,timeFormatConfig,isUTCScale,alwaysReturn){void 0===alwaysReturn&&(alwaysReturn=false);if(!timeUnit||format){format=format||timeFormatConfig;return format||alwaysReturn?(isUTCScale?"utc":"time")+"Format("+field$$1+", '"+format+"')":void 0}return formatExpression(timeUnit,field$$1,shortTimeLabels,isUTCScale)}function sortParams(orderDef,fieldRefOption){return(isArray(orderDef)?orderDef:[orderDef]).reduce(function(s,orderChannelDef){s.field.push(vgField(orderChannelDef,fieldRefOption));s.order.push(orderChannelDef.sort||"ascending");return s},{field:[],order:[]})}function mergeTitleFieldDefs(f1,f2){var merged=f1.slice();f2.forEach(function(fdToMerge){for(var _i=0,merged_1=merged;_i<merged_1.length;_i++){var fieldDef1=merged_1[_i];if(stringify$2(fieldDef1)===stringify$2(fdToMerge))return}merged.push(fdToMerge)});return merged}function mergeTitle(title1,title2){return title1===title2?title1:title1+", "+title2}function mergeTitleComponent(v1,v2){if(isArray(v1.value)&&isArray(v2.value))return{explicit:v1.explicit,value:mergeTitleFieldDefs(v1.value,v2.value)};if(!isArray(v1.value)&&!isArray(v2.value))return{explicit:v1.explicit,value:mergeTitle(v1.value,v2.value)};throw new Error("It should never reach here")}function binRequiresRange(fieldDef,channel){if(!fieldDef.bin){console.warn("Only use this method with binned field defs");return false}return isScaleChannel(channel)&&contains(["ordinal","nominal"],fieldDef.type)}function guideEncodeEntry(encoding,model){return keys(encoding).reduce(function(encode,channel){var valueDef=encoding[channel];return __assign({},encode,wrapCondition(model,valueDef,channel,function(x){return{value:x.value}}))},{})}var DataFlowNode=function(){function DataFlowNode(parent,debugName){this.debugName=debugName;this._children=[];this._parent=null;parent&&(this.parent=parent)}DataFlowNode.prototype.clone=function(){throw new Error("Cannot clone node")};DataFlowNode.prototype.producedFields=function(){return{}};DataFlowNode.prototype.dependentFields=function(){return{}};Object.defineProperty(DataFlowNode.prototype,"parent",{get:function(){return this._parent},set:function(parent){this._parent=parent;parent.addChild(this)},enumerable:true,configurable:true});Object.defineProperty(DataFlowNode.prototype,"children",{get:function(){return this._children},enumerable:true,configurable:true});DataFlowNode.prototype.numChildren=function(){return this._children.length};DataFlowNode.prototype.addChild=function(child){this._children.push(child)};DataFlowNode.prototype.removeChild=function(oldChild){this._children.splice(this._children.indexOf(oldChild),1)};DataFlowNode.prototype.remove=function(){for(var _i=0,_a=this._children;_i<_a.length;_i++){var child=_a[_i];child.parent=this._parent}this._parent.removeChild(this)};DataFlowNode.prototype.insertAsParentOf=function(other){var parent=other.parent;parent.removeChild(this);this.parent=parent;other.parent=this};DataFlowNode.prototype.swapWithParent=function(){var parent=this._parent;var newParent=parent.parent;for(var _i=0,_a=this._children;_i<_a.length;_i++){var child=_a[_i];child.parent=parent}this._children=[];parent.removeChild(this);parent.parent.removeChild(parent);this.parent=newParent;parent.parent=this};return DataFlowNode}();var OutputNode=function(_super){__extends(OutputNode,_super);function OutputNode(parent,source,type,refCounts){var _this=_super.call(this,parent,source)||this;_this.type=type;_this.refCounts=refCounts;_this._source=_this._name=source;!_this.refCounts||_this._name in _this.refCounts||(_this.refCounts[_this._name]=0);return _this}OutputNode.prototype.clone=function(){var cloneObj=new this.constructor;cloneObj.debugName="clone_"+this.debugName;cloneObj._source=this._source;cloneObj._name="clone_"+this._name;cloneObj.type=this.type;cloneObj.refCounts=this.refCounts;cloneObj.refCounts[cloneObj._name]=0;return cloneObj};OutputNode.prototype.getSource=function(){this.refCounts[this._name]++;return this._source};OutputNode.prototype.isRequired=function(){return!!this.refCounts[this._name]};OutputNode.prototype.setSource=function(source){this._source=source};return OutputNode}(DataFlowNode);var CalculateNode=function(_super){__extends(CalculateNode,_super);function CalculateNode(parent,transform){var _this=_super.call(this,parent)||this;_this.transform=transform;return _this}CalculateNode.prototype.clone=function(){return new CalculateNode(null,duplicate(this.transform))};CalculateNode.parseAllForSortIndex=function(parent,model){model.forEachFieldDef(function(fieldDef,channel){if(!isScaleFieldDef(fieldDef))return;if(isSortArray(fieldDef.sort)){var field_1=fieldDef.field,timeUnit_1=fieldDef.timeUnit;var sort=fieldDef.sort;var calculate=sort.map(function(sortValue,i){return fieldFilterExpression({field:field_1,timeUnit:timeUnit_1,equal:sortValue})+" ? "+i+" : "}).join("")+sort.length;parent=new CalculateNode(parent,{calculate:calculate,as:sortArrayIndexField(fieldDef,channel)})}});return parent};CalculateNode.prototype.producedFields=function(){var out={};out[this.transform.as]=true;return out};CalculateNode.prototype.assemble=function(){return{type:"formula",expr:this.transform.calculate,as:this.transform.as}};return CalculateNode}(DataFlowNode);function sortArrayIndexField(fieldDef,channel,expr){return vgField(fieldDef,{prefix:channel,suffix:"sort_index",expr:expr})}var HEADER_CHANNELS=["row","column"];var HEADER_TYPES=["header","footer"];function getHeaderType(orient){if("top"===orient||"left"===orient)return"header";return"footer"}function getTitleGroup(model,channel){var title$$1=model.component.layoutHeaders[channel].title;var textOrient="row"===channel?"left":void 0;var config=model.config?model.config:void 0;var facetFieldDef=model.component.layoutHeaders[channel].facetFieldDef?model.component.layoutHeaders[channel].facetFieldDef:void 0;return{name:channel+"-title",type:"group",role:channel+"-title",title:__assign({text:title$$1,offset:10,orient:textOrient,style:"guide-title"},getHeaderProperties(config,facetFieldDef,HEADER_TITLE_PROPERTIES,HEADER_TITLE_PROPERTIES_MAP))}}function getHeaderGroups(model,channel){var layoutHeader=model.component.layoutHeaders[channel];var groups=[];for(var _i=0,HEADER_TYPES_1=HEADER_TYPES;_i<HEADER_TYPES_1.length;_i++){var headerType=HEADER_TYPES_1[_i];if(layoutHeader[headerType])for(var _a=0,_b=layoutHeader[headerType];_a<_b.length;_a++){var headerCmpt=_b[_a];groups.push(getHeaderGroup(model,channel,headerType,layoutHeader,headerCmpt))}}return groups}function labelAlign(angle){angle=(angle%360+360)%360;if((angle+90)%180===0)return{};if(angle<90||270<angle)return{align:{value:"right"}};if(135<=angle&&angle<225)return{align:{value:"left"}};return{}}function getSort(facetFieldDef,channel){var sort=facetFieldDef.sort;return isSortField(sort)?{field:vgField(sort,{expr:"datum"}),order:sort.order||"ascending"}:isArray(sort)?{field:sortArrayIndexField(facetFieldDef,channel,"datum"),order:"ascending"}:{field:vgField(facetFieldDef,{expr:"datum"}),order:sort||"ascending"}}function getHeaderGroup(model,channel,headerType,layoutHeader,headerCmpt){var _a;if(headerCmpt){var title$$1=null;var facetFieldDef=layoutHeader.facetFieldDef;if(facetFieldDef&&headerCmpt.labels){var _b=facetFieldDef.header,header=void 0===_b?{}:_b;var format=header.format,labelAngle=header.labelAngle;var config=model.config?model.config:void 0;var update=__assign({},labelAlign(labelAngle));title$$1=__assign({text:formatSignalRef(facetFieldDef,format,"parent",model.config),offset:10,orient:"row"===channel?"left":"top",style:"guide-label"},getHeaderProperties(config,facetFieldDef,HEADER_LABEL_PROPERTIES,HEADER_LABEL_PROPERTIES_MAP),keys(update).length>0?{encode:{update:update}}:{})}var axes=headerCmpt.axes;var hasAxes=axes&&axes.length>0;if(title$$1||hasAxes){var sizeChannel="row"===channel?"height":"width";return __assign({name:model.getName(channel+"_"+headerType),type:"group",role:channel+"-"+headerType},layoutHeader.facetFieldDef?{from:{data:model.getName(channel+"_domain")},sort:getSort(facetFieldDef,channel)}:{},title$$1?{title:title$$1}:{},headerCmpt.sizeSignal?{encode:{update:(_a={},_a[sizeChannel]=headerCmpt.sizeSignal,_a)}}:{},hasAxes?{axes:axes}:{})}}return null}function getHeaderProperties(config,facetFieldDef,properties,propertiesMap){var props={};for(var _i=0,properties_1=properties;_i<properties_1.length;_i++){var prop=properties_1[_i];config&&config.header&&config.header[prop]&&(props[propertiesMap[prop]]=config.header[prop]);facetFieldDef&&facetFieldDef.header&&facetFieldDef.header[prop]&&(props[propertiesMap[prop]]=facetFieldDef.header[prop])}return props}function assembleLayoutSignals(model){return[].concat(sizeSignals(model,"width"),sizeSignals(model,"height"))}function sizeSignals(model,sizeType){var channel="width"===sizeType?"x":"y";var size=model.component.layoutSize.get(sizeType);if(!size||"merged"===size)return[];var name=model.getSizeSignalRef(sizeType).signal;if("range-step"===size){var scaleComponent=model.getScaleComponent(channel);if(scaleComponent){var type=scaleComponent.get("type");var range=scaleComponent.get("range");if(hasDiscreteDomain(type)&&isVgRangeStep(range)){var scaleName=model.scaleName(channel);if(isFacetModel(model.parent)){var parentResolve=model.parent.component.resolve;if("independent"===parentResolve.scale[channel])return[stepSignal(scaleName,range)]}return[stepSignal(scaleName,range),{name:name,update:sizeExpr(scaleName,scaleComponent,"domain('"+scaleName+"').length")}]}}throw new Error("layout size is range step although there is no rangeStep.")}return[{name:name,value:size}]}function stepSignal(scaleName,range){return{name:scaleName+"_step",value:range.step}}function sizeExpr(scaleName,scaleComponent,cardinality){var type=scaleComponent.get("type");var padding=scaleComponent.get("padding");var paddingOuter=scaleComponent.get("paddingOuter");paddingOuter=void 0!==paddingOuter?paddingOuter:padding;var paddingInner=scaleComponent.get("paddingInner");paddingInner="band"===type?void 0!==paddingInner?paddingInner:padding:1;return"bandspace("+cardinality+", "+paddingInner+", "+paddingOuter+") * "+scaleName+"_step"}function defaultScaleResolve(channel,model){if(isLayerModel(model)||isFacetModel(model))return"shared";if(isConcatModel(model)||isRepeatModel(model))return contains(POSITION_SCALE_CHANNELS,channel)?"independent":"shared";throw new Error("invalid model type for resolve")}function parseGuideResolve(resolve,channel){var channelScaleResolve=resolve.scale[channel];var guide=contains(POSITION_SCALE_CHANNELS,channel)?"axis":"legend";if("independent"===channelScaleResolve){"shared"===resolve[guide][channel]&&warn(message.independentScaleMeansIndependentGuide(channel));return"independent"}return resolve[guide][channel]||"shared"}var Split=function(){function Split(explicit,implicit){void 0===explicit&&(explicit={});void 0===implicit&&(implicit={});this.explicit=explicit;this.implicit=implicit}Split.prototype.clone=function(){return new Split(duplicate(this.explicit),duplicate(this.implicit))};Split.prototype.combine=function(){return __assign({},this.explicit,this.implicit)};Split.prototype.get=function(key){return void 0!==this.explicit[key]?this.explicit[key]:this.implicit[key]};Split.prototype.getWithExplicit=function(key){if(void 0!==this.explicit[key])return{explicit:true,value:this.explicit[key]};if(void 0!==this.implicit[key])return{explicit:false,value:this.implicit[key]};return{explicit:false,value:void 0}};Split.prototype.setWithExplicit=function(key,value){void 0!==value.value&&this.set(key,value.value,value.explicit)};Split.prototype.set=function(key,value,explicit){delete this[explicit?"implicit":"explicit"][key];this[explicit?"explicit":"implicit"][key]=value;return this};Split.prototype.copyKeyFromSplit=function(key,s){void 0!==s.explicit[key]?this.set(key,s.explicit[key],true):void 0!==s.implicit[key]&&this.set(key,s.implicit[key],false)};Split.prototype.copyKeyFromObject=function(key,s){void 0!==s[key]&&this.set(key,s[key],true)};Split.prototype.copyAll=function(other){for(var _i=0,_a=keys(other.combine());_i<_a.length;_i++){var key=_a[_i];var val=other.getWithExplicit(key);this.setWithExplicit(key,val)}};return Split}();function makeExplicit(value){return{explicit:true,value:value}}function makeImplicit(value){return{explicit:false,value:value}}function tieBreakByComparing(compare){return function(v1,v2,property,propertyOf){var diff=compare(v1.value,v2.value);if(diff>0)return v1;if(diff<0)return v2;return defaultTieBreaker(v1,v2,property,propertyOf)}}function defaultTieBreaker(v1,v2,property,propertyOf){v1.explicit&&v2.explicit&&warn(message.mergeConflictingProperty(property,propertyOf,v1.value,v2.value));return v1}function mergeValuesWithExplicit(v1,v2,property,propertyOf,tieBreaker){void 0===tieBreaker&&(tieBreaker=defaultTieBreaker);if(void 0===v1||void 0===v1.value)return v2;return v1.explicit&&!v2.explicit?v1:v2.explicit&&!v1.explicit?v2:stringify$2(v1.value)===stringify$2(v2.value)?v1:tieBreaker(v1,v2,property,propertyOf)}var LegendComponent=function(_super){__extends(LegendComponent,_super);function LegendComponent(){return null!==_super&&_super.apply(this,arguments)||this}return LegendComponent}(Split);function symbols(fieldDef,symbolsSpec,model,channel,type){if("gradient"===type)return;var out=__assign({},applyMarkConfig({},model,FILL_STROKE_CONFIG),color(model));switch(model.mark){case BAR:case TICK:case TEXT$1:out.shape={value:"square"};break;case CIRCLE:case SQUARE:out.shape={value:model.mark}}var markDef=model.markDef,encoding=model.encoding;var filled=markDef.filled;if(out.fill)if("fill"===channel||filled&&channel===COLOR)delete out.fill;else if(out.fill["field"])delete out.fill;else if(isArray(out.fill)){var fill=getFirstConditionValue(encoding.fill||encoding.color)||markDef.fill||filled&&markDef.color;fill&&(out.fill={value:fill})}if(out.stroke)if("stroke"===channel||!filled&&channel===COLOR)delete out.stroke;else if(out.stroke["field"])delete out.stroke;else if(isArray(out.stroke)){var stroke=getFirstConditionValue(encoding.stroke||encoding.color)||markDef.stroke||!filled&&markDef.color;stroke&&(out.stroke={value:stroke})}out.fill&&"transparent"!==out.fill["value"]&&!out.stroke&&(out.stroke={value:"transparent"});if(channel!==SHAPE){var shape=getFirstConditionValue(encoding.shape)||markDef.shape;shape&&(out.shape={value:shape})}if(channel!==OPACITY){var opacity=getMaxValue(encoding.opacity)||markDef.opacity;opacity&&(out.opacity={value:opacity})}out=__assign({},out,symbolsSpec);return keys(out).length>0?out:void 0}function gradient(fieldDef,gradientSpec,model,channel,type){var out={};if("gradient"===type){var opacity=getMaxValue(model.encoding.opacity)||model.markDef.opacity;opacity&&(out.opacity={value:opacity})}out=__assign({},out,gradientSpec);return keys(out).length>0?out:void 0}function labels(fieldDef,labelsSpec,model,channel,type){var legend=model.legend(channel);var config=model.config;var out={};if(isTimeFieldDef(fieldDef)){var isUTCScale=model.getScaleComponent(channel).get("type")===ScaleType.UTC;var expr=timeFormatExpression("datum.value",fieldDef.timeUnit,legend.format,config.legend.shortTimeLabels,config.timeFormat,isUTCScale);labelsSpec=__assign({},expr?{text:{signal:expr}}:{},labelsSpec)}out=__assign({},out,labelsSpec);return keys(out).length>0?out:void 0}function getMaxValue(channelDef){return getConditionValue(channelDef,function(v,conditionalDef){return Math.max(v,conditionalDef.value)})}function getFirstConditionValue(channelDef){return getConditionValue(channelDef,function(v,conditionalDef){return void 0!==v?v:conditionalDef.value})}function getConditionValue(channelDef,reducer){if(hasConditionalValueDef(channelDef))return(isArray(channelDef.condition)?channelDef.condition:[channelDef.condition]).reduce(reducer,channelDef.value);if(isValueDef(channelDef))return channelDef.value;return}var encode=Object.freeze({symbols:symbols,gradient:gradient,labels:labels});function values(legend,fieldDef){var vals$$1=legend.values;if(vals$$1)return valueArray(fieldDef,vals$$1);return}function type$2(t,channel,scaleType){if(isColorChannel(channel)&&("quantitative"===t&&!isBinScale(scaleType)||"temporal"===t&&contains(["time","utc"],scaleType)))return"gradient";return}function parseLegend(model){isUnitModel(model)?model.component.legends=parseUnitLegend(model):model.component.legends=parseNonUnitLegend(model)}function parseUnitLegend(model){var encoding=model.encoding;return[COLOR,FILL,STROKE,SIZE,SHAPE,OPACITY].reduce(function(legendComponent,channel){var def=encoding[channel];!model.legend(channel)||!model.getScaleComponent(channel)||isFieldDef(def)&&channel===SHAPE&&def.type===GEOJSON||(legendComponent[channel]=parseLegendForChannel(model,channel));return legendComponent},{})}function getLegendDefWithScale(model,channel){var _a;switch(channel){case COLOR:var scale=model.scaleName(COLOR);return model.markDef.filled?{fill:scale}:{stroke:scale};case FILL:case STROKE:case SIZE:case SHAPE:case OPACITY:return _a={},_a[channel]=model.scaleName(channel),_a}}function parseLegendForChannel(model,channel){var fieldDef=model.fieldDef(channel);var legend=model.legend(channel);var legendCmpt=new LegendComponent({},getLegendDefWithScale(model,channel));LEGEND_PROPERTIES.forEach(function(property){var value=getProperty(property,legend,channel,model);if(void 0!==value){var explicit="values"===property?!!legend.values:"title"===property&&value===model.fieldDef(channel).title||value===legend[property];(explicit||void 0===model.config.legend[property])&&legendCmpt.set(property,value,explicit)}});var legendEncoding=legend.encoding||{};var legendEncode=["labels","legend","title","symbols","gradient"].reduce(function(e,part){var legendEncodingPart=guideEncodeEntry(legendEncoding[part]||{},model);var value=encode[part]?encode[part](fieldDef,legendEncodingPart,model,channel,legendCmpt.get("type")):legendEncodingPart;void 0!==value&&keys(value).length>0&&(e[part]={update:value});return e},{});keys(legendEncode).length>0&&legendCmpt.set("encode",legendEncode,!!legend.encoding);return legendCmpt}function getProperty(property,specifiedLegend,channel,model){var fieldDef=model.fieldDef(channel);switch(property){case"format":return numberFormat(fieldDef,specifiedLegend.format,model.config);case"title":var specifiedTitle=void 0!==fieldDef.title?fieldDef.title:specifiedLegend.title||(void 0===specifiedLegend.title?void 0:null);return getSpecifiedOrDefaultValue(specifiedTitle,title(fieldDef,model.config))||void 0;case"values":return values(specifiedLegend,fieldDef);case"type":return getSpecifiedOrDefaultValue(specifiedLegend.type,type$2(fieldDef.type,channel,model.getScaleComponent(channel).get("type")))}return specifiedLegend[property]}function parseNonUnitLegend(model){var _a=model.component,legends=_a.legends,resolve=_a.resolve;var _loop_1=function(child){parseLegend(child);keys(child.component.legends).forEach(function(channel){resolve.legend[channel]=parseGuideResolve(model.component.resolve,channel);if("shared"===resolve.legend[channel]){legends[channel]=mergeLegendComponent(legends[channel],child.component.legends[channel]);if(!legends[channel]){resolve.legend[channel]="independent";delete legends[channel]}}})};for(var _i=0,_b=model.children;_i<_b.length;_i++){var child=_b[_i];_loop_1(child)}keys(legends).forEach(function(channel){for(var _i=0,_a=model.children;_i<_a.length;_i++){var child=_a[_i];if(!child.component.legends[channel])continue;"shared"===resolve.legend[channel]&&delete child.component.legends[channel]}});return legends}function mergeLegendComponent(mergedLegend,childLegend){if(!mergedLegend)return childLegend.clone();var mergedOrient=mergedLegend.getWithExplicit("orient");var childOrient=childLegend.getWithExplicit("orient");if(mergedOrient.explicit&&childOrient.explicit&&mergedOrient.value!==childOrient.value)return;var typeMerged=false;var _loop_2=function(prop){var mergedValueWithExplicit=mergeValuesWithExplicit(mergedLegend.getWithExplicit(prop),childLegend.getWithExplicit(prop),prop,"legend",function(v1,v2){switch(prop){case"title":return mergeTitleComponent(v1,v2);case"type":typeMerged=true;return makeImplicit("symbol")}return defaultTieBreaker(v1,v2,prop,"legend")});mergedLegend.setWithExplicit(prop,mergedValueWithExplicit)};for(var _i=0,VG_LEGEND_PROPERTIES_1=VG_LEGEND_PROPERTIES;_i<VG_LEGEND_PROPERTIES_1.length;_i++){var prop=VG_LEGEND_PROPERTIES_1[_i];_loop_2(prop)}if(typeMerged){((mergedLegend.implicit||{}).encode||{}).gradient&&deleteNestedProperty(mergedLegend.implicit,["encode","gradient"]);((mergedLegend.explicit||{}).encode||{}).gradient&&deleteNestedProperty(mergedLegend.explicit,["encode","gradient"])}return mergedLegend}function assembleLegends(model){var legendComponentIndex=model.component.legends;var legendByDomain={};for(var _i=0,_a=keys(legendComponentIndex);_i<_a.length;_i++){var channel=_a[_i];var scaleComponent=model.getScaleComponent(channel);var domainHash=stringify$2(scaleComponent.domains);if(legendByDomain[domainHash])for(var _b=0,_c=legendByDomain[domainHash];_b<_c.length;_b++){var mergedLegendComponent=_c[_b];var merged=mergeLegendComponent(mergedLegendComponent,legendComponentIndex[channel]);merged||legendByDomain[domainHash].push(legendComponentIndex[channel])}else legendByDomain[domainHash]=[legendComponentIndex[channel].clone()]}return flatten(vals(legendByDomain)).map(function(legendCmpt){return legendCmpt.combine()})}function assembleProjections(model){return isLayerModel(model)||isConcatModel(model)||isRepeatModel(model)?assembleProjectionsForModelAndChildren(model):assembleProjectionForModel(model)}function assembleProjectionsForModelAndChildren(model){return model.children.reduce(function(projections,child){return projections.concat(child.assembleProjections())},assembleProjectionForModel(model))}function assembleProjectionForModel(model){var component=model.component.projection;if(!component||component.merged)return[];var projection=component.combine();var name=projection.name,rest=__rest(projection,["name"]);var size={signal:"["+component.size.map(function(ref){return ref.signal}).join(", ")+"]"};var fit=component.data.reduce(function(sources,data){var source=isVgSignalRef(data)?data.signal:"data('"+model.lookupDataSource(data)+"')";contains(sources,source)||sources.push(source);return sources},[]);if(fit.length<=0)throw new Error("Projection's fit didn't find any data sources");return[__assign({name:name,size:size,fit:{signal:fit.length>1?"["+fit.join(", ")+"]":fit[0]}},rest)]}var PROJECTION_PROPERTIES=["type","clipAngle","clipExtent","center","rotate","precision","coefficient","distance","fraction","lobes","parallel","radius","ratio","spacing","tilt"];var ProjectionComponent=function(_super){__extends(ProjectionComponent,_super);function ProjectionComponent(name,specifiedProjection,size,data){var _this=_super.call(this,__assign({},specifiedProjection),{name:name})||this;_this.specifiedProjection=specifiedProjection;_this.size=size;_this.data=data;_this.merged=false;return _this}return ProjectionComponent}(Split);function parseProjection(model){isUnitModel(model)?model.component.projection=parseUnitProjection(model):model.component.projection=parseNonUnitProjections(model)}function parseUnitProjection(model){var specifiedProjection=model.specifiedProjection,config=model.config,hasProjection=model.hasProjection;if(hasProjection){var data_1=[];[[LONGITUDE,LATITUDE],[LONGITUDE2,LATITUDE2]].forEach(function(posssiblePair){(model.channelHasField(posssiblePair[0])||model.channelHasField(posssiblePair[1]))&&data_1.push({signal:model.getName("geojson_"+data_1.length)})});model.channelHasField(SHAPE)&&model.fieldDef(SHAPE).type===GEOJSON&&data_1.push({signal:model.getName("geojson_"+data_1.length)});0===data_1.length&&data_1.push(model.requestDataName(MAIN));return new ProjectionComponent(model.projectionName(true),__assign({},config.projection||{},specifiedProjection||{}),[model.getSizeSignalRef("width"),model.getSizeSignalRef("height")],data_1)}return}function mergeIfNoConflict(first,second){var allPropertiesShared=every(PROJECTION_PROPERTIES,function(prop){if(!first.explicit.hasOwnProperty(prop)&&!second.explicit.hasOwnProperty(prop))return true;if(first.explicit.hasOwnProperty(prop)&&second.explicit.hasOwnProperty(prop)&&stringify$2(first.get(prop))===stringify$2(second.get(prop)))return true;return false});var size=stringify$2(first.size)===stringify$2(second.size);if(size){if(allPropertiesShared)return first;if(stringify$2(first.explicit)===stringify$2({}))return second;if(stringify$2(second.explicit)===stringify$2({}))return first}return null}function parseNonUnitProjections(model){if(0===model.children.length)return;var nonUnitProjection;var mergable=every(model.children,function(child){parseProjection(child);var projection=child.component.projection;if(projection){if(nonUnitProjection){var merge=mergeIfNoConflict(nonUnitProjection,projection);merge&&(nonUnitProjection=merge);return!!merge}nonUnitProjection=projection;return true}return true});if(nonUnitProjection&&mergable){var name_1=model.projectionName(true);var modelProjection_1=new ProjectionComponent(name_1,nonUnitProjection.specifiedProjection,nonUnitProjection.size,duplicate(nonUnitProjection.data));model.children.forEach(function(child){if(child.component.projection){modelProjection_1.data=modelProjection_1.data.concat(child.component.projection.data);child.renameProjection(child.component.projection.get("name"),name_1);child.component.projection.merged=true}});return modelProjection_1}return}function addDimension(dims,channel,fieldDef){if(fieldDef.bin){dims[vgField(fieldDef,{})]=true;dims[vgField(fieldDef,{binSuffix:"end"})]=true;binRequiresRange(fieldDef,channel)&&(dims[vgField(fieldDef,{binSuffix:"range"})]=true)}else dims[vgField(fieldDef)]=true;return dims}function mergeMeasures(parentMeasures,childMeasures){for(var f in childMeasures)if(childMeasures.hasOwnProperty(f)){var ops=childMeasures[f];for(var op in ops)ops.hasOwnProperty(op)&&(f in parentMeasures?parentMeasures[f][op]=ops[op]:parentMeasures[f]={op:ops[op]})}}var AggregateNode=function(_super){__extends(AggregateNode,_super);function AggregateNode(parent,dimensions,measures){var _this=_super.call(this,parent)||this;_this.dimensions=dimensions;_this.measures=measures;return _this}AggregateNode.prototype.clone=function(){return new AggregateNode(null,__assign({},this.dimensions),duplicate(this.measures))};AggregateNode.makeFromEncoding=function(parent,model){var isAggregate=false;model.forEachFieldDef(function(fd){fd.aggregate&&(isAggregate=true)});var meas={};var dims={};if(!isAggregate)return null;model.forEachFieldDef(function(fieldDef,channel){var aggregate=fieldDef.aggregate,field=fieldDef.field;if(aggregate)if("count"===aggregate){meas["*"]=meas["*"]||{};meas["*"]["count"]=vgField(fieldDef)}else{meas[field]=meas[field]||{};meas[field][aggregate]=vgField(fieldDef);if(isScaleChannel(channel)&&"unaggregated"===model.scaleDomain(channel)){meas[field]["min"]=vgField({field:field,aggregate:"min"});meas[field]["max"]=vgField({field:field,aggregate:"max"})}}else addDimension(dims,channel,fieldDef)});if(keys(dims).length+keys(meas).length===0)return null;return new AggregateNode(parent,dims,meas)};AggregateNode.makeFromTransform=function(parent,t){var dims={};var meas={};for(var _i=0,_a=t.aggregate;_i<_a.length;_i++){var s=_a[_i];var op=s.op,field=s.field,as=s.as;if(op)if("count"===op){meas["*"]=meas["*"]||{};meas["*"]["count"]=as||vgField(s)}else{meas[field]=meas[field]||{};meas[field][op]=as||vgField(s)}}for(var _b=0,_c=t.groupby||[];_b<_c.length;_b++){s=_c[_b];dims[s]=true}if(keys(dims).length+keys(meas).length===0)return null;return new AggregateNode(parent,dims,meas)};AggregateNode.prototype.merge=function(other){if(differ(this.dimensions,other.dimensions))debug("different dimensions, cannot merge");else{mergeMeasures(this.measures,other.measures);other.remove()}};AggregateNode.prototype.addDimensions=function(fields){var _this=this;fields.forEach(function(f){return _this.dimensions[f]=true})};AggregateNode.prototype.dependentFields=function(){var out={};keys(this.dimensions).forEach(function(f){return out[f]=true});keys(this.measures).forEach(function(m){return out[m]=true});return out};AggregateNode.prototype.producedFields=function(){var _this=this;var out={};keys(this.measures).forEach(function(field){keys(_this.measures[field]).forEach(function(op){out[op+"_"+field]=true})});return out};AggregateNode.prototype.assemble=function(){var ops=[];var fields=[];var as=[];for(var _i=0,_a=keys(this.measures);_i<_a.length;_i++){var field=_a[_i];for(var _b=0,_c=keys(this.measures[field]);_b<_c.length;_b++){var op=_c[_b];as.push(this.measures[field][op]);ops.push(op);fields.push(field)}}var result={type:"aggregate",groupby:keys(this.dimensions),ops:ops,fields:fields,as:as};return result};return AggregateNode}(DataFlowNode);var FacetNode=function(_super){__extends(FacetNode,_super);function FacetNode(parent,model,name,data){var _this=_super.call(this,parent)||this;_this.model=model;_this.name=name;_this.data=data;for(var _i=0,_a=[COLUMN,ROW];_i<_a.length;_i++){var channel=_a[_i];var fieldDef=model.facet[channel];if(fieldDef){var bin=fieldDef.bin,sort=fieldDef.sort;_this[channel]=__assign({name:model.getName(channel+"_domain"),fields:[vgField(fieldDef)].concat(bin?[vgField(fieldDef,{binSuffix:"end"})]:[])},isSortField(sort)?{sortField:sort}:isArray(sort)?{sortIndexField:sortArrayIndexField(fieldDef,channel)}:{})}}_this.childModel=model.child;return _this}Object.defineProperty(FacetNode.prototype,"fields",{get:function(){return(this.column&&this.column.fields||[]).concat(this.row&&this.row.fields||[])},enumerable:true,configurable:true});FacetNode.prototype.getSource=function(){return this.name};FacetNode.prototype.getChildIndependentFieldsWithStep=function(){var childIndependentFieldsWithStep={};for(var _i=0,_a=["x","y"];_i<_a.length;_i++){var channel=_a[_i];var childScaleComponent=this.childModel.component.scales[channel];if(childScaleComponent&&!childScaleComponent.merged){var type=childScaleComponent.get("type");var range=childScaleComponent.get("range");if(hasDiscreteDomain(type)&&isVgRangeStep(range)){var domain=assembleDomain(this.childModel,channel);var field$$1=getFieldFromDomain(domain);field$$1?childIndependentFieldsWithStep[channel]=field$$1:warn("Unknown field for ${channel}.  Cannot calculate view size.")}}}return childIndependentFieldsWithStep};FacetNode.prototype.assembleRowColumnData=function(channel,crossedDataName,childIndependentFieldsWithStep){var childChannel="row"===channel?"y":"x";var fields=[];var ops=[];var as=[];if(childIndependentFieldsWithStep[childChannel]){if(crossedDataName){fields.push("distinct_"+childIndependentFieldsWithStep[childChannel]);ops.push("max")}else{fields.push(childIndependentFieldsWithStep[childChannel]);ops.push("distinct")}as.push("distinct_"+childIndependentFieldsWithStep[childChannel])}var _a=this[channel],sortField=_a.sortField,sortIndexField=_a.sortIndexField;if(sortField){var op=sortField.op,field$$1=sortField.field;fields.push(field$$1);ops.push(op);as.push(vgField(sortField))}else if(sortIndexField){fields.push(sortIndexField);ops.push("max");as.push(sortIndexField)}return{name:this[channel].name,source:crossedDataName||this.data,transform:[__assign({type:"aggregate",groupby:this[channel].fields},fields.length?{fields:fields,ops:ops,as:as}:{})]}};FacetNode.prototype.assemble=function(){var data=[];var crossedDataName=null;var childIndependentFieldsWithStep=this.getChildIndependentFieldsWithStep();if(this.column&&this.row&&(childIndependentFieldsWithStep.x||childIndependentFieldsWithStep.y)){crossedDataName="cross_"+this.column.name+"_"+this.row.name;var fields=[].concat(childIndependentFieldsWithStep.x?[childIndependentFieldsWithStep.x]:[],childIndependentFieldsWithStep.y?[childIndependentFieldsWithStep.y]:[]);var ops=fields.map(function(){return"distinct"});data.push({name:crossedDataName,source:this.data,transform:[{type:"aggregate",groupby:this.column.fields.concat(this.row.fields),fields:fields,ops:ops}]})}for(var _i=0,_a=[COLUMN,ROW];_i<_a.length;_i++){var channel=_a[_i];this[channel]&&data.push(this.assembleRowColumnData(channel,crossedDataName,childIndependentFieldsWithStep))}return data};return FacetNode}(DataFlowNode);var FilterInvalidNode=function(_super){__extends(FilterInvalidNode,_super);function FilterInvalidNode(parent,fieldDefs){var _this=_super.call(this,parent)||this;_this.fieldDefs=fieldDefs;return _this}FilterInvalidNode.prototype.clone=function(){return new FilterInvalidNode(null,__assign({},this.fieldDefs))};FilterInvalidNode.make=function(parent,model){var config=model.config,mark=model.mark;if("filter"!==config.invalidValues)return null;var filter=model.reduceFieldDef(function(aggregator,fieldDef,channel){var scaleComponent=isScaleChannel(channel)&&model.getScaleComponent(channel);if(scaleComponent){var scaleType=scaleComponent.get("type");!hasContinuousDomain(scaleType)||fieldDef.aggregate||isPathMark(mark)||(aggregator[fieldDef.field]=fieldDef)}return aggregator},{});if(!keys(filter).length)return null;return new FilterInvalidNode(parent,filter)};Object.defineProperty(FilterInvalidNode.prototype,"filter",{get:function(){return this.fieldDefs},enumerable:true,configurable:true});FilterInvalidNode.prototype.assemble=function(){var _this=this;var filters=keys(this.filter).reduce(function(vegaFilters,field){var fieldDef=_this.fieldDefs[field];var ref=vgField(fieldDef,{expr:"datum"});if(null!==fieldDef){vegaFilters.push(ref+" !== null");vegaFilters.push("!isNaN("+ref+")")}return vegaFilters},[]);return filters.length>0?{type:"filter",expr:filters.join(" && ")}:null};return FilterInvalidNode}(DataFlowNode);function parseExpression(field$$1,parse){var f=accessPathWithDatum(field$$1);if("number"===parse)return"toNumber("+f+")";if("boolean"===parse)return"toBoolean("+f+")";if("string"===parse)return"toString("+f+")";if("date"===parse)return"toDate("+f+")";if("flatten"===parse)return f;if(0===parse.indexOf("date:")){var specifier=parse.slice(5,parse.length);return"timeParse("+f+","+specifier+")"}if(0===parse.indexOf("utc:")){specifier=parse.slice(4,parse.length);return"utcParse("+f+","+specifier+")"}warn(message.unrecognizedParse(parse));return null}var ParseNode=function(_super){__extends(ParseNode,_super);function ParseNode(parent,parse){var _this=_super.call(this,parent)||this;_this._parse=parse;return _this}ParseNode.prototype.clone=function(){return new ParseNode(null,duplicate(this._parse))};ParseNode.makeExplicit=function(parent,model,ancestorParse){var explicit={};var data=model.data;data&&data.format&&data.format.parse&&(explicit=data.format.parse);return this.makeWithAncestors(parent,explicit,{},ancestorParse)};ParseNode.makeImplicitFromFilterTransform=function(parent,transform,ancestorParse){var parse={};forEachLeaf(transform.filter,function(filter){if(isFieldPredicate(filter)){var val=null;isFieldEqualPredicate(filter)?val=filter.equal:isFieldRangePredicate(filter)?val=filter.range[0]:isFieldOneOfPredicate(filter)&&(val=(filter.oneOf||filter["in"])[0]);val&&(isDateTime(val)?parse[filter.field]="date":isNumber(val)?parse[filter.field]="number":isString(val)&&(parse[filter.field]="string"));filter.timeUnit&&(parse[filter.field]="date")}});if(0===keys(parse).length)return null;return this.makeWithAncestors(parent,{},parse,ancestorParse)};ParseNode.makeImplicitFromEncoding=function(parent,model,ancestorParse){var implicit={};(isUnitModel(model)||isFacetModel(model))&&model.forEachFieldDef(function(fieldDef){isTimeFieldDef(fieldDef)?implicit[fieldDef.field]="date":isNumberFieldDef(fieldDef)?isCountingAggregateOp(fieldDef.aggregate)||(implicit[fieldDef.field]="number"):accessPathDepth(fieldDef.field)>1?fieldDef.field in implicit||(implicit[fieldDef.field]="flatten"):isScaleFieldDef(fieldDef)&&isSortField(fieldDef.sort)&&accessPathDepth(fieldDef.sort.field)>1&&(fieldDef.sort.field in implicit||(implicit[fieldDef.sort.field]="flatten"))});return this.makeWithAncestors(parent,{},implicit,ancestorParse)};ParseNode.makeWithAncestors=function(parent,explicit,implicit,ancestorParse){for(var _i=0,_a=keys(implicit);_i<_a.length;_i++){var field$$1=_a[_i];var parsedAs=ancestorParse.getWithExplicit(field$$1);void 0!==parsedAs.value&&(parsedAs.explicit||parsedAs.value===implicit[field$$1]||"derived"===parsedAs.value||"flatten"===implicit[field$$1]?delete implicit[field$$1]:warn(message.differentParse(field$$1,implicit[field$$1],parsedAs.value)))}for(var _b=0,_c=keys(explicit);_b<_c.length;_b++){field$$1=_c[_b];parsedAs=ancestorParse.get(field$$1);void 0!==parsedAs&&(parsedAs===explicit[field$$1]?delete explicit[field$$1]:warn(message.differentParse(field$$1,explicit[field$$1],parsedAs)))}var parse=new Split(explicit,implicit);ancestorParse.copyAll(parse);var p={};for(var _d=0,_e=keys(parse.combine());_d<_e.length;_d++){var key$$1=_e[_d];var val=parse.get(key$$1);null!==val&&(p[key$$1]=val)}if(0===keys(p).length||ancestorParse.parseNothing)return null;return new ParseNode(parent,p)};Object.defineProperty(ParseNode.prototype,"parse",{get:function(){return this._parse},enumerable:true,configurable:true});ParseNode.prototype.merge=function(other){this._parse=__assign({},this._parse,other.parse);other.remove()};ParseNode.prototype.assembleFormatParse=function(){var formatParse={};for(var _i=0,_a=keys(this._parse);_i<_a.length;_i++){var field$$1=_a[_i];var p=this._parse[field$$1];1===accessPathDepth(field$$1)&&(formatParse[field$$1]=p)}return formatParse};ParseNode.prototype.producedFields=function(){return toSet(keys(this._parse))};ParseNode.prototype.dependentFields=function(){return toSet(keys(this._parse))};ParseNode.prototype.assembleTransforms=function(onlyNested){var _this=this;void 0===onlyNested&&(onlyNested=false);return keys(this._parse).filter(function(field$$1){return!onlyNested||accessPathDepth(field$$1)>1}).map(function(field$$1){var expr=parseExpression(field$$1,_this._parse[field$$1]);if(!expr)return null;var formula={type:"formula",expr:expr,as:removePathFromField(field$$1)};return formula}).filter(function(t){return null!==t})};return ParseNode}(DataFlowNode);var SourceNode=function(_super){__extends(SourceNode,_super);function SourceNode(data){var _this=_super.call(this,null)||this;data=data||{name:"source"};if(isInlineData(data))_this._data={values:data.values};else if(isUrlData(data)){_this._data={url:data.url};data.format||(data.format={});if(!data.format||!data.format.type){var defaultExtension=/(?:\.([^.]+))?$/.exec(data.url)[1];contains(["json","csv","tsv","dsv","topojson"],defaultExtension)||(defaultExtension="json");data.format.type=defaultExtension}}else isNamedData(data)&&(_this._data={});data.name&&(_this._name=data.name);if(data.format){var _a=data.format,format=(_a.parse,__rest(_a,["parse"]));_this._data.format=format}return _this}Object.defineProperty(SourceNode.prototype,"data",{get:function(){return this._data},enumerable:true,configurable:true});SourceNode.prototype.hasName=function(){return!!this._name};Object.defineProperty(SourceNode.prototype,"dataName",{get:function(){return this._name},set:function(name){this._name=name},enumerable:true,configurable:true});Object.defineProperty(SourceNode.prototype,"parent",{set:function(parent){throw new Error("Source nodes have to be roots.")},enumerable:true,configurable:true});SourceNode.prototype.remove=function(){throw new Error("Source nodes are roots and cannot be removed.")};SourceNode.prototype.hash=function(){if(isInlineData(this._data)){this._hash||(this._hash=hash(this._data));return this._hash}return isUrlData(this._data)?hash([this._data.url,this._data.format]):this._name};SourceNode.prototype.assemble=function(){return __assign({name:this._name},this._data,{transform:[]})};return SourceNode}(DataFlowNode);var TimeUnitNode=function(_super){__extends(TimeUnitNode,_super);function TimeUnitNode(parent,formula){var _this=_super.call(this,parent)||this;_this.formula=formula;return _this}TimeUnitNode.prototype.clone=function(){return new TimeUnitNode(null,duplicate(this.formula))};TimeUnitNode.makeFromEncoding=function(parent,model){var formula=model.reduceFieldDef(function(timeUnitComponent,fieldDef){if(fieldDef.timeUnit){var f=vgField(fieldDef);timeUnitComponent[f]={as:f,timeUnit:fieldDef.timeUnit,field:fieldDef.field}}return timeUnitComponent},{});if(0===keys(formula).length)return null;return new TimeUnitNode(parent,formula)};TimeUnitNode.makeFromTransform=function(parent,t){var _a;return new TimeUnitNode(parent,(_a={},_a[t.field]={as:t.as,timeUnit:t.timeUnit,field:t.field},_a))};TimeUnitNode.prototype.merge=function(other){this.formula=__assign({},this.formula,other.formula);other.remove()};TimeUnitNode.prototype.producedFields=function(){var out={};vals(this.formula).forEach(function(f){out[f.as]=true});return out};TimeUnitNode.prototype.dependentFields=function(){var out={};vals(this.formula).forEach(function(f){out[f.field]=true});return out};TimeUnitNode.prototype.assemble=function(){return vals(this.formula).map(function(c){return{type:"formula",as:c.as,expr:fieldExpr(c.timeUnit,c.field)}})};return TimeUnitNode}(DataFlowNode);function iterateFromLeaves(f){function optimizeNextFromLeaves(node){if(node instanceof SourceNode)return;var next=node.parent;f(node)&&optimizeNextFromLeaves(next)}return optimizeNextFromLeaves}function moveParseUp(node){var parent=node.parent;if(node instanceof ParseNode){if(parent instanceof SourceNode)return false;if(parent.numChildren()>1)return true;if(parent instanceof ParseNode)parent.merge(node);else{if(hasIntersection(parent.producedFields(),node.dependentFields()))return true;node.swapWithParent()}}return true}function removeUnusedSubtrees(node){if(node instanceof OutputNode||node.numChildren()>0||node instanceof FacetNode)return false;node.remove();return true}function removeDuplicateTimeUnits(leaf){var fields={};return iterateFromLeaves(function(node){if(node instanceof TimeUnitNode){var pfields=node.producedFields();var dupe=keys(pfields).every(function(k){return!!fields[k]});dupe?node.remove():fields=__assign({},fields,pfields)}return true})(leaf)}function getStackByFields(model){return model.stack.stackBy.reduce(function(fields,by){var fieldDef=by.fieldDef;var _field=vgField(fieldDef);_field&&fields.push(_field);return fields},[])}function isValidAsArray(as){return isArray(as)&&as.every(function(s){return isString(s)})&&as.length>1}var StackNode=function(_super){__extends(StackNode,_super);function StackNode(parent,stack){var _this=_super.call(this,parent)||this;_this._stack=stack;return _this}StackNode.prototype.clone=function(){return new StackNode(null,duplicate(this._stack))};StackNode.makeFromTransform=function(parent,stackTransform){var stack=stackTransform.stack,groupby=stackTransform.groupby,as=stackTransform.as,_a=stackTransform.offset,offset=void 0===_a?"zero":_a;var sortFields=[];var sortOrder=[];if(void 0!==stackTransform.sort)for(var _i=0,_b=stackTransform.sort;_i<_b.length;_i++){var sortField=_b[_i];sortFields.push(sortField.field);sortOrder.push(void 0===sortField.order?"ascending":sortField.order)}var sort={field:sortFields,order:sortOrder};var normalizedAs;normalizedAs=isValidAsArray(as)?as:isString(as)?[as,as+"_end"]:[stackTransform.stack+"_start",stackTransform.stack+"_end"];return new StackNode(parent,{stackField:stack,groupby:groupby,offset:offset,sort:sort,facetby:[],as:normalizedAs})};StackNode.makeFromEncoding=function(parent,model){var stackProperties=model.stack;if(!stackProperties)return null;var dimensionFieldDef;stackProperties.groupbyChannel&&(dimensionFieldDef=model.fieldDef(stackProperties.groupbyChannel));var stackby=getStackByFields(model);var orderDef=model.encoding.order;var sort;sort=isArray(orderDef)||isFieldDef(orderDef)?sortParams(orderDef):stackby.reduce(function(s,field$$1){s.field.push(field$$1);s.order.push("descending");return s},{field:[],order:[]});var field$$1=model.vgField(stackProperties.fieldChannel);return new StackNode(parent,{dimensionFieldDef:dimensionFieldDef,stackField:field$$1,facetby:[],stackby:stackby,sort:sort,offset:stackProperties.offset,impute:stackProperties.impute,as:[field$$1+"_start",field$$1+"_end"]})};Object.defineProperty(StackNode.prototype,"stack",{get:function(){return this._stack},enumerable:true,configurable:true});StackNode.prototype.addDimensions=function(fields){this._stack.facetby=this._stack.facetby.concat(fields)};StackNode.prototype.dependentFields=function(){var out={};out[this._stack.stackField]=true;this.getGroupbyFields().forEach(function(f){return out[f]=true});this._stack.facetby.forEach(function(f){return out[f]=true});var field$$1=this._stack.sort.field;isArray(field$$1)?field$$1.forEach(function(f){return out[f]=true}):out[field$$1]=true;return out};StackNode.prototype.producedFields=function(){return this._stack.as.reduce(function(result,item){result[item]=true;return result},{})};StackNode.prototype.getGroupbyFields=function(){var _a=this._stack,dimensionFieldDef=_a.dimensionFieldDef,impute=_a.impute,groupby=_a.groupby;if(dimensionFieldDef){if(dimensionFieldDef.bin){if(impute)return[vgField(dimensionFieldDef,{binSuffix:"mid"})];return[vgField(dimensionFieldDef,{}),vgField(dimensionFieldDef,{binSuffix:"end"})]}return[vgField(dimensionFieldDef)]}return groupby||[]};StackNode.prototype.assemble=function(){var transform=[];var _a=this._stack,facetby=_a.facetby,dimensionFieldDef=_a.dimensionFieldDef,field$$1=_a.stackField,stackby=_a.stackby,sort=_a.sort,offset=_a.offset,impute=_a.impute,as=_a.as;if(impute&&dimensionFieldDef){var dimensionField=dimensionFieldDef?vgField(dimensionFieldDef,{binSuffix:"mid"}):void 0;dimensionFieldDef.bin&&transform.push({type:"formula",expr:"("+vgField(dimensionFieldDef,{expr:"datum"})+"+"+vgField(dimensionFieldDef,{expr:"datum",binSuffix:"end"})+")/2",as:dimensionField});transform.push({type:"impute",field:field$$1,groupby:stackby,key:dimensionField,method:"value",value:0})}transform.push({type:"stack",groupby:this.getGroupbyFields().concat(facetby),field:field$$1,sort:sort,as:as,offset:offset});return transform};return StackNode}(DataFlowNode);var FACET_SCALE_PREFIX="scale_";function cloneSubtree(facet){function clone(node){if(!(node instanceof FacetNode)){var copy_1=node.clone();if(copy_1 instanceof OutputNode){var newName=FACET_SCALE_PREFIX+copy_1.getSource();copy_1.setSource(newName);facet.model.component.data.outputNodes[newName]=copy_1}else(copy_1 instanceof AggregateNode||copy_1 instanceof StackNode)&&copy_1.addDimensions(facet.fields);flatten(node.children.map(clone)).forEach(function(n){return n.parent=copy_1});return[copy_1]}return flatten(node.children.map(clone))}return clone}function moveFacetDown(node){if(node instanceof FacetNode)if(1!==node.numChildren()||node.children[0]instanceof OutputNode){moveMainDownToFacet(node.model.component.data.main);var copy=flatten(node.children.map(cloneSubtree(node)));copy.forEach(function(c){return c.parent=node.model.component.data.main})}else{var child=node.children[0];(child instanceof AggregateNode||child instanceof StackNode)&&child.addDimensions(node.fields);child.swapWithParent();moveFacetDown(node)}else node.children.forEach(moveFacetDown)}function moveMainDownToFacet(node){if(node instanceof OutputNode&&node.type===MAIN&&1===node.numChildren()){var child=node.children[0];if(!(child instanceof FacetNode)){child.swapWithParent();moveMainDownToFacet(node)}}}function removeUnnecessaryNodes(node){node instanceof FilterInvalidNode&&every(vals(node.filter),function(f){return null===f})&&node.remove();node instanceof OutputNode&&!node.isRequired()&&node.remove();node.children.forEach(removeUnnecessaryNodes)}function getLeaves(roots){var leaves=[];function append(node){0===node.numChildren()?leaves.push(node):node.children.forEach(append)}roots.forEach(append);return leaves}function optimizeDataflow(dataComponent){var roots=vals(dataComponent.sources);roots.forEach(removeUnnecessaryNodes);roots=roots.filter(function(r){return r.numChildren()>0});getLeaves(roots).forEach(iterateFromLeaves(removeUnusedSubtrees));roots=roots.filter(function(r){return r.numChildren()>0});getLeaves(roots).forEach(iterateFromLeaves(moveParseUp));getLeaves(roots).forEach(removeDuplicateTimeUnits);roots.forEach(moveFacetDown);keys(dataComponent.sources).forEach(function(s){0===dataComponent.sources[s].numChildren()&&delete dataComponent.sources[s]})}function parseScaleDomain(model){isUnitModel(model)?parseUnitScaleDomain(model):parseNonUnitScaleDomain(model)}function parseUnitScaleDomain(model){var scales=model.specifiedScales;var localScaleComponents=model.component.scales;keys(localScaleComponents).forEach(function(channel){var specifiedScale=scales[channel];var specifiedDomain=specifiedScale?specifiedScale.domain:void 0;var domains=parseDomainForChannel(model,channel);var localScaleCmpt=localScaleComponents[channel];localScaleCmpt.domains=domains;isSelectionDomain(specifiedDomain)&&localScaleCmpt.set("domainRaw",{signal:SELECTION_DOMAIN+hash(specifiedDomain)},true);if(model.component.data.isFaceted){var facetParent=model;while(!isFacetModel(facetParent)&&facetParent.parent)facetParent=facetParent.parent;var resolve=facetParent.component.resolve.scale[channel];if("shared"===resolve)for(var _i=0,domains_1=domains;_i<domains_1.length;_i++){var domain=domains_1[_i];isDataRefDomain(domain)&&(domain.data=FACET_SCALE_PREFIX+domain.data.replace(FACET_SCALE_PREFIX,""))}}})}function parseNonUnitScaleDomain(model){for(var _i=0,_a=model.children;_i<_a.length;_i++){var child=_a[_i];parseScaleDomain(child)}var localScaleComponents=model.component.scales;keys(localScaleComponents).forEach(function(channel){var domains;var domainRaw=null;for(var _i=0,_a=model.children;_i<_a.length;_i++){var child=_a[_i];var childComponent=child.component.scales[channel];if(childComponent){domains=void 0===domains?childComponent.domains:domains.concat(childComponent.domains);var dr=childComponent.get("domainRaw");domainRaw&&dr&&domainRaw.signal!==dr.signal&&warn("The same selection must be used to override scale domains in a layered view.");domainRaw=dr}}localScaleComponents[channel].domains=domains;domainRaw&&localScaleComponents[channel].set("domainRaw",domainRaw,true)})}function normalizeUnaggregatedDomain(domain,fieldDef,scaleType,scaleConfig){if("unaggregated"===domain){var _a=canUseUnaggregatedDomain(fieldDef,scaleType),valid=_a.valid,reason=_a.reason;if(!valid){warn(reason);return}}else if(void 0===domain&&scaleConfig.useUnaggregatedDomain){valid=canUseUnaggregatedDomain(fieldDef,scaleType).valid;if(valid)return"unaggregated"}return domain}function parseDomainForChannel(model,channel){var scaleType=model.getScaleComponent(channel).get("type");var domain=normalizeUnaggregatedDomain(model.scaleDomain(channel),model.fieldDef(channel),scaleType,model.config.scale);domain!==model.scaleDomain(channel)&&(model.specifiedScales[channel]=__assign({},model.specifiedScales[channel],{domain:domain}));if("x"===channel&&model.channelHasField("x2"))return model.channelHasField("x")?parseSingleChannelDomain(scaleType,domain,model,"x").concat(parseSingleChannelDomain(scaleType,domain,model,"x2")):parseSingleChannelDomain(scaleType,domain,model,"x2");if("y"===channel&&model.channelHasField("y2"))return model.channelHasField("y")?parseSingleChannelDomain(scaleType,domain,model,"y").concat(parseSingleChannelDomain(scaleType,domain,model,"y2")):parseSingleChannelDomain(scaleType,domain,model,"y2");return parseSingleChannelDomain(scaleType,domain,model,channel)}function mapDomainToDataSignal(domain,type,timeUnit){return domain.map(function(v){var data=valueExpr(v,{timeUnit:timeUnit,type:type});return{signal:"{data: "+data+"}"}})}function parseSingleChannelDomain(scaleType,domain,model,channel){var fieldDef=model.fieldDef(channel);if(domain&&"unaggregated"!==domain&&!isSelectionDomain(domain)){var type=fieldDef.type,timeUnit=fieldDef.timeUnit;if("temporal"===type||timeUnit)return mapDomainToDataSignal(domain,type,timeUnit);return[domain]}var stack=model.stack;if(stack&&channel===stack.fieldChannel){if("normalize"===stack.offset)return[[0,1]];var data=model.requestDataName(MAIN);return[{data:data,field:model.vgField(channel,{suffix:"start"})},{data:data,field:model.vgField(channel,{suffix:"end"})}]}var sort=isScaleChannel(channel)?domainSort(model,channel,scaleType):void 0;if("unaggregated"===domain){data=model.requestDataName(MAIN);var field$$1=fieldDef.field;return[{data:data,field:vgField({field:field$$1,aggregate:"min"})},{data:data,field:vgField({field:field$$1,aggregate:"max"})}]}if(fieldDef.bin){if(isBinScale(scaleType)){var signal=model.getName(binToString(fieldDef.bin)+"_"+fieldDef.field+"_bins");return[{signal:"sequence("+signal+".start, "+signal+".stop + "+signal+".step, "+signal+".step)"}]}if(hasDiscreteDomain(scaleType))return[{data:isBoolean$1(sort)?model.requestDataName(MAIN):model.requestDataName(RAW),field:model.vgField(channel,binRequiresRange(fieldDef,channel)?{binSuffix:"range"}:{}),sort:true!==sort&&isSortField(sort)?sort:{field:model.vgField(channel,{}),op:"min"}}];if("x"===channel||"y"===channel){if(isBinParams(fieldDef.bin)&&fieldDef.bin.extent)return[fieldDef.bin.extent];data=model.requestDataName(MAIN);return[{data:data,field:model.vgField(channel,{})},{data:data,field:model.vgField(channel,{binSuffix:"end"})}]}return[{data:model.requestDataName(MAIN),field:model.vgField(channel,{})}]}return sort?[{data:isBoolean$1(sort)?model.requestDataName(MAIN):model.requestDataName(RAW),field:model.vgField(channel),sort:sort}]:[{data:model.requestDataName(MAIN),field:model.vgField(channel)}]}function domainSort(model,channel,scaleType){if(!hasDiscreteDomain(scaleType))return;var fieldDef=model.fieldDef(channel);var sort=fieldDef.sort;if(isSortArray(sort))return{op:"min",field:sortArrayIndexField(fieldDef,channel),order:"ascending"};if(isSortField(sort))return __assign({},sort,sort.field?{field:replacePathInField(sort.field)}:{});if("descending"===sort)return{op:"min",field:model.vgField(channel),order:"descending"};if(contains(["ascending",void 0],sort))return true;return}function canUseUnaggregatedDomain(fieldDef,scaleType){if(!fieldDef.aggregate)return{valid:false,reason:message.unaggregateDomainHasNoEffectForRawField(fieldDef)};if(!SHARED_DOMAIN_OP_INDEX[fieldDef.aggregate])return{valid:false,reason:message.unaggregateDomainWithNonSharedDomainOp(fieldDef.aggregate)};if("quantitative"===fieldDef.type&&"log"===scaleType)return{valid:false,reason:message.unaggregatedDomainWithLogScale(fieldDef)};return{valid:true}}function mergeDomains(domains){var uniqueDomains=unique(domains.map(function(domain){if(isDataRefDomain(domain)){domain.sort;var domainWithoutSort=__rest(domain,["sort"]);return domainWithoutSort}return domain}),hash);var sorts=unique(domains.map(function(d){if(isDataRefDomain(d)){var s=d.sort;if(void 0!==s&&!isBoolean$1(s)){"count"===s.op&&delete s.field;"ascending"===s.order&&delete s.order}return s}return}).filter(function(s){return void 0!==s}),hash);if(1===uniqueDomains.length){var domain=domains[0];if(isDataRefDomain(domain)&&sorts.length>0){var sort_1=sorts[0];if(sorts.length>1){warn(message.MORE_THAN_ONE_SORT);sort_1=true}return __assign({},domain,{sort:sort_1})}return domain}var simpleSorts=unique(sorts.map(function(s){if(true===s)return s;if("count"===s.op)return s;warn(message.domainSortDropped(s));return true}),hash);var sort=void 0;if(1===simpleSorts.length)sort=simpleSorts[0];else if(simpleSorts.length>1){warn(message.MORE_THAN_ONE_SORT);sort=true}var allData=unique(domains.map(function(d){if(isDataRefDomain(d))return d.data;return null}),function(x){return x});if(1===allData.length&&null!==allData[0]){domain=__assign({data:allData[0],fields:uniqueDomains.map(function(d){return d.field})},sort?{sort:sort}:{});return domain}return __assign({fields:uniqueDomains},sort?{sort:sort}:{})}function getFieldFromDomain(domain){if(isDataRefDomain(domain)&&isString(domain.field))return domain.field;if(isDataRefUnionedDomain(domain)){var field$$1=void 0;for(var _i=0,_a=domain.fields;_i<_a.length;_i++){var nonUnionDomain=_a[_i];if(isDataRefDomain(nonUnionDomain)&&isString(nonUnionDomain.field))if(field$$1){if(field$$1!==nonUnionDomain.field){warn("Detected faceted independent scales that union domain of multiple fields from different data sources.  We will use the first field.  The result view size may be incorrect.");return field$$1}}else field$$1=nonUnionDomain.field}warn("Detected faceted independent scales that union domain of identical fields from different source detected.  We will assume that this is the same field from a different fork of the same data source.  However, if this is not case, the result view size maybe incorrect.");return field$$1}if(isFieldRefUnionDomain(domain)){warn("Detected faceted independent scales that union domain of multiple fields from the same data source.  We will use the first field.  The result view size may be incorrect.");field$$1=domain.fields[0];return isString(field$$1)?field$$1:void 0}return}function assembleDomain(model,channel){var scaleComponent=model.component.scales[channel];var domains=scaleComponent.domains.map(function(domain){isDataRefDomain(domain)&&(domain.data=model.lookupDataSource(domain.data));return domain});return mergeDomains(domains)}function assembleScales(model){return isLayerModel(model)||isConcatModel(model)||isRepeatModel(model)?model.children.reduce(function(scales,child){return scales.concat(assembleScales(child))},assembleScalesForModel(model)):assembleScalesForModel(model)}function assembleScalesForModel(model){return keys(model.component.scales).reduce(function(scales,channel){var scaleComponent=model.component.scales[channel];if(scaleComponent.merged)return scales;var scale=scaleComponent.combine();var domainRaw=scale.domainRaw,range=scale.range;var name=scale.name,type=scale.type,otherScaleProps=(scale.domainRaw,scale.range,__rest(scale,["name","type","domainRaw","range"]));range=assembleScaleRange(range,name,model,channel);domainRaw&&isRawSelectionDomain(domainRaw)&&(domainRaw=selectionScaleDomain(model,domainRaw));scales.push(__assign({name:name,type:type,domain:assembleDomain(model,channel)},domainRaw?{domainRaw:domainRaw}:{},{range:range},otherScaleProps));return scales},[])}function assembleScaleRange(scaleRange,scaleName,model,channel){if("x"===channel||"y"===channel){if(isVgRangeStep(scaleRange))return{step:{signal:scaleName+"_step"}};if(isArray(scaleRange)&&2===scaleRange.length){var r0=scaleRange[0];var r1=scaleRange[1];if(0===r0&&isVgSignalRef(r1))return[0,{signal:model.getSizeName(r1.signal)}];if(isVgSignalRef(r0)&&0===r1)return[{signal:model.getSizeName(r0.signal)},0]}}return scaleRange}var ScaleComponent=function(_super){__extends(ScaleComponent,_super);function ScaleComponent(name,typeWithExplicit){var _this=_super.call(this,{},{name:name})||this;_this.merged=false;_this.domains=[];_this.setWithExplicit("type",typeWithExplicit);return _this}return ScaleComponent}(Split);var RANGE_PROPERTIES=["range","rangeStep","scheme"];function parseScaleRange(model){isUnitModel(model)?parseUnitScaleRange(model):parseNonUnitScaleProperty(model,"range")}function parseUnitScaleRange(model){var localScaleComponents=model.component.scales;SCALE_CHANNELS.forEach(function(channel){var localScaleCmpt=localScaleComponents[channel];if(!localScaleCmpt)return;var mergedScaleCmpt=model.getScaleComponent(channel);var specifiedScale=model.specifiedScales[channel];var fieldDef=model.fieldDef(channel);var sizeType="x"===channel?"width":"y"===channel?"height":void 0;var sizeSpecified=sizeType?!!model.component.layoutSize.get(sizeType):void 0;var scaleType=mergedScaleCmpt.get("type");var rangeStep=contains(["point","band"],scaleType)||!!specifiedScale.rangeStep;if(sizeType&&model.fit&&!sizeSpecified&&rangeStep){warn(message.CANNOT_FIX_RANGE_STEP_WITH_FIT);sizeSpecified=true}var xyRangeSteps=getXYRangeStep(model);var rangeWithExplicit=parseRangeForChannel(channel,scaleType,fieldDef.type,specifiedScale,model.config,localScaleCmpt.get("zero"),model.mark,sizeSpecified,model.getName(sizeType),xyRangeSteps);localScaleCmpt.setWithExplicit("range",rangeWithExplicit)})}function getXYRangeStep(model){var xyRangeSteps=[];var xScale=model.getScaleComponent("x");var xRange=xScale&&xScale.get("range");xRange&&isVgRangeStep(xRange)&&isNumber(xRange.step)&&xyRangeSteps.push(xRange.step);var yScale=model.getScaleComponent("y");var yRange=yScale&&yScale.get("range");yRange&&isVgRangeStep(yRange)&&isNumber(yRange.step)&&xyRangeSteps.push(yRange.step);return xyRangeSteps}function parseRangeForChannel(channel,scaleType,type,specifiedScale,config,zero$$1,mark,sizeSpecified,sizeSignal,xyRangeSteps){var noRangeStep=sizeSpecified||null===specifiedScale.rangeStep;for(var _i=0,RANGE_PROPERTIES_1=RANGE_PROPERTIES;_i<RANGE_PROPERTIES_1.length;_i++){var property=RANGE_PROPERTIES_1[_i];if(void 0!==specifiedScale[property]){var supportedByScaleType=scaleTypeSupportProperty(scaleType,property);var channelIncompatability=channelScalePropertyIncompatability(channel,property);if(supportedByScaleType)if(channelIncompatability)warn(channelIncompatability);else switch(property){case"range":return makeExplicit(specifiedScale[property]);case"scheme":return makeExplicit(parseScheme(specifiedScale[property]));case"rangeStep":var rangeStep=specifiedScale[property];if(null!==rangeStep){if(!sizeSpecified)return makeExplicit({step:rangeStep});warn(message.rangeStepDropped(channel))}}else warn(message.scalePropertyNotWorkWithScaleType(scaleType,property,channel))}}return makeImplicit(defaultRange(channel,scaleType,type,config,zero$$1,mark,sizeSignal,xyRangeSteps,noRangeStep))}function parseScheme(scheme){if(isExtendedScheme(scheme)){var r={scheme:scheme.name};scheme.count&&(r.count=scheme.count);scheme.extent&&(r.extent=scheme.extent);return r}return{scheme:scheme}}function defaultRange(channel,scaleType,type,config,zero$$1,mark,sizeSignal,xyRangeSteps,noRangeStep){switch(channel){case X:case Y:if(contains(["point","band"],scaleType)&&!noRangeStep)if(channel===X&&"text"===mark){if(config.scale.textXRangeStep)return{step:config.scale.textXRangeStep}}else if(config.scale.rangeStep)return{step:config.scale.rangeStep};return channel===Y&&hasContinuousDomain(scaleType)?[{signal:sizeSignal},0]:[0,{signal:sizeSignal}];case SIZE:var rangeMin=sizeRangeMin(mark,zero$$1,config);var rangeMax=sizeRangeMax(mark,xyRangeSteps,config);return[rangeMin,rangeMax];case SHAPE:return"symbol";case COLOR:case FILL:case STROKE:if("ordinal"===scaleType)return"nominal"===type?"category":"ordinal";return"rect"===mark||"geoshape"===mark?"heatmap":"ramp";case OPACITY:return[config.scale.minOpacity,config.scale.maxOpacity]}throw new Error("Scale range undefined for channel "+channel)}function sizeRangeMin(mark,zero$$1,config){if(zero$$1)return 0;switch(mark){case"bar":case"tick":return config.scale.minBandSize;case"line":case"trail":case"rule":return config.scale.minStrokeWidth;case"text":return config.scale.minFontSize;case"point":case"square":case"circle":return config.scale.minSize}throw new Error(message.incompatibleChannel("size",mark))}function sizeRangeMax(mark,xyRangeSteps,config){var scaleConfig=config.scale;switch(mark){case"bar":case"tick":if(void 0!==config.scale.maxBandSize)return config.scale.maxBandSize;return minXYRangeStep(xyRangeSteps,config.scale)-1;case"line":case"trail":case"rule":return config.scale.maxStrokeWidth;case"text":return config.scale.maxFontSize;case"point":case"square":case"circle":if(config.scale.maxSize)return config.scale.maxSize;var pointStep=minXYRangeStep(xyRangeSteps,scaleConfig);return(pointStep-2)*(pointStep-2)}throw new Error(message.incompatibleChannel("size",mark))}function minXYRangeStep(xyRangeSteps,scaleConfig){if(xyRangeSteps.length>0)return Math.min.apply(null,xyRangeSteps);if(scaleConfig.rangeStep)return scaleConfig.rangeStep;return 21}function parseScaleProperty(model,property){isUnitModel(model)?parseUnitScaleProperty(model,property):parseNonUnitScaleProperty(model,property)}function parseUnitScaleProperty(model,property){var localScaleComponents=model.component.scales;keys(localScaleComponents).forEach(function(channel){var specifiedScale=model.specifiedScales[channel];var localScaleCmpt=localScaleComponents[channel];var mergedScaleCmpt=model.getScaleComponent(channel);var fieldDef=model.fieldDef(channel);var config=model.config;var specifiedValue=specifiedScale[property];var sType=mergedScaleCmpt.get("type");var supportedByScaleType=scaleTypeSupportProperty(sType,property);var channelIncompatability=channelScalePropertyIncompatability(channel,property);void 0!==specifiedValue&&(supportedByScaleType?channelIncompatability&&warn(channelIncompatability):warn(message.scalePropertyNotWorkWithScaleType(sType,property,channel)));if(supportedByScaleType&&void 0===channelIncompatability)if(void 0!==specifiedValue)localScaleCmpt.copyKeyFromObject(property,specifiedScale);else{var value=getDefaultValue(property,channel,fieldDef,mergedScaleCmpt.get("type"),mergedScaleCmpt.get("padding"),mergedScaleCmpt.get("paddingInner"),specifiedScale.domain,model.markDef,config);void 0!==value&&localScaleCmpt.set(property,value,false)}})}function getDefaultValue(property,channel,fieldDef,scaleType,scalePadding,scalePaddingInner,specifiedDomain,markDef,config){var scaleConfig=config.scale;switch(property){case"nice":return nice(scaleType,channel,fieldDef);case"padding":return padding(channel,scaleType,scaleConfig,fieldDef,markDef,config.bar);case"paddingInner":return paddingInner(scalePadding,channel,scaleConfig);case"paddingOuter":return paddingOuter(scalePadding,channel,scaleType,scalePaddingInner,scaleConfig);case"reverse":return reverse(scaleType,fieldDef.sort);case"zero":return zero$1(channel,fieldDef,specifiedDomain,markDef)}return scaleConfig[property]}function parseNonUnitScaleProperty(model,property){var localScaleComponents=model.component.scales;for(var _i=0,_a=model.children;_i<_a.length;_i++){var child=_a[_i];"range"===property?parseScaleRange(child):parseScaleProperty(child,property)}keys(localScaleComponents).forEach(function(channel){var valueWithExplicit;for(var _i=0,_a=model.children;_i<_a.length;_i++){var child=_a[_i];var childComponent=child.component.scales[channel];if(childComponent){var childValueWithExplicit=childComponent.getWithExplicit(property);valueWithExplicit=mergeValuesWithExplicit(valueWithExplicit,childValueWithExplicit,property,"scale",tieBreakByComparing(function(v1,v2){switch(property){case"range":if(v1.step&&v2.step)return v1.step-v2.step;return 0}return 0}))}}localScaleComponents[channel].setWithExplicit(property,valueWithExplicit)})}function nice(scaleType,channel,fieldDef){if(fieldDef.bin||contains([ScaleType.TIME,ScaleType.UTC],scaleType))return;return contains([X,Y],channel)}function padding(channel,scaleType,scaleConfig,fieldDef,markDef,barConfig){if(contains([X,Y],channel)){if(isContinuousToContinuous(scaleType)){if(void 0!==scaleConfig.continuousPadding)return scaleConfig.continuousPadding;var type=markDef.type,orient=markDef.orient;if("bar"===type&&!fieldDef.bin&&("vertical"===orient&&"x"===channel||"horizontal"===orient&&"y"===channel))return barConfig.continuousBandSize}if(scaleType===ScaleType.POINT)return scaleConfig.pointPadding}return}function paddingInner(paddingValue,channel,scaleConfig){if(void 0!==paddingValue)return;if(contains([X,Y],channel))return scaleConfig.bandPaddingInner;return}function paddingOuter(paddingValue,channel,scaleType,paddingInnerValue,scaleConfig){if(void 0!==paddingValue)return;if(contains([X,Y],channel)&&scaleType===ScaleType.BAND){if(void 0!==scaleConfig.bandPaddingOuter)return scaleConfig.bandPaddingOuter;return paddingInnerValue/2}return}function reverse(scaleType,sort){if(hasContinuousDomain(scaleType)&&"descending"===sort)return true;return}function zero$1(channel,fieldDef,specifiedScale,markDef){var hasCustomDomain=!!specifiedScale&&"unaggregated"!==specifiedScale;if(hasCustomDomain)return false;if("size"===channel&&"quantitative"===fieldDef.type)return true;if(!fieldDef.bin&&contains([X,Y],channel)){var orient=markDef.orient,type=markDef.type;if(contains(["bar","area","line","trail"],type)&&("horizontal"===orient&&"y"===channel||"vertical"===orient&&"x"===channel))return false;return true}return false}function scaleType(specifiedType,channel,fieldDef,mark,scaleConfig){var defaultScaleType=defaultType$1(channel,fieldDef,mark,scaleConfig);if(!isScaleChannel(channel))return null;if(void 0!==specifiedType){if(!channelSupportScaleType(channel,specifiedType)){warn(message.scaleTypeNotWorkWithChannel(channel,specifiedType,defaultScaleType));return defaultScaleType}if(!scaleTypeSupportDataType(specifiedType,fieldDef.type,fieldDef.bin)){warn(message.scaleTypeNotWorkWithFieldDef(specifiedType,defaultScaleType));return defaultScaleType}return specifiedType}return defaultScaleType}function defaultType$1(channel,fieldDef,mark,scaleConfig){switch(fieldDef.type){case"nominal":case"ordinal":if(isColorChannel(channel)||"discrete"===rangeType(channel)){"shape"===channel&&"ordinal"===fieldDef.type&&warn(message.discreteChannelCannotEncode(channel,"ordinal"));return"ordinal"}if(contains(["x","y"],channel)){if(contains(["rect","bar","rule"],mark))return"band";if("bar"===mark)return"band"}return"point";case"temporal":if(isColorChannel(channel))return"sequential";if("discrete"===rangeType(channel)){warn(message.discreteChannelCannotEncode(channel,"temporal"));return"ordinal"}return"time";case"quantitative":if(isColorChannel(channel)){if(fieldDef.bin)return"bin-ordinal";return"sequential"}if("discrete"===rangeType(channel)){warn(message.discreteChannelCannotEncode(channel,"quantitative"));return"ordinal"}if(fieldDef.bin&&"x"!==channel&&"y"!==channel)return"bin-linear";return"linear";case"latitude":case"longitude":case"geojson":return}throw new Error(message.invalidFieldType(fieldDef.type))}function parseScale(model){parseScaleCore(model);parseScaleDomain(model);for(var _i=0,NON_TYPE_DOMAIN_RANGE_VEGA_SCALE_PROPERTIES_1=NON_TYPE_DOMAIN_RANGE_VEGA_SCALE_PROPERTIES;_i<NON_TYPE_DOMAIN_RANGE_VEGA_SCALE_PROPERTIES_1.length;_i++){var prop=NON_TYPE_DOMAIN_RANGE_VEGA_SCALE_PROPERTIES_1[_i];parseScaleProperty(model,prop)}parseScaleRange(model)}function parseScaleCore(model){isUnitModel(model)?model.component.scales=parseUnitScaleCore(model):model.component.scales=parseNonUnitScaleCore(model)}function parseUnitScaleCore(model){var encoding=model.encoding,config=model.config,mark=model.mark;return SCALE_CHANNELS.reduce(function(scaleComponents,channel){var fieldDef;var specifiedScale=void 0;var channelDef=encoding[channel];if(isFieldDef(channelDef)&&mark===GEOSHAPE&&channel===SHAPE&&channelDef.type===GEOJSON)return scaleComponents;if(isFieldDef(channelDef)){fieldDef=channelDef;specifiedScale=channelDef.scale}else if(hasConditionalFieldDef(channelDef)){fieldDef=channelDef.condition;specifiedScale=channelDef.condition["scale"]}else channel===X?fieldDef=getFieldDef(encoding.x2):channel===Y&&(fieldDef=getFieldDef(encoding.y2));if(fieldDef&&null!==specifiedScale&&false!==specifiedScale){specifiedScale=specifiedScale||{};var specifiedScaleType=specifiedScale.type;var sType=scaleType(specifiedScale.type,channel,fieldDef,mark,config.scale);scaleComponents[channel]=new ScaleComponent(model.scaleName(channel+"",true),{value:sType,explicit:specifiedScaleType===sType})}return scaleComponents},{})}var scaleTypeTieBreaker=tieBreakByComparing(function(st1,st2){return scaleTypePrecedence(st1)-scaleTypePrecedence(st2)});function parseNonUnitScaleCore(model){var scaleComponents=model.component.scales={};var scaleTypeWithExplicitIndex={};var resolve=model.component.resolve;var _loop_1=function(child){parseScaleCore(child);keys(child.component.scales).forEach(function(channel){resolve.scale[channel]=resolve.scale[channel]||defaultScaleResolve(channel,model);if("shared"===resolve.scale[channel]){var explicitScaleType=scaleTypeWithExplicitIndex[channel];var childScaleType=child.component.scales[channel].getWithExplicit("type");if(explicitScaleType)if(scaleCompatible(explicitScaleType.value,childScaleType.value))scaleTypeWithExplicitIndex[channel]=mergeValuesWithExplicit(explicitScaleType,childScaleType,"type","scale",scaleTypeTieBreaker);else{resolve.scale[channel]="independent";delete scaleTypeWithExplicitIndex[channel]}else scaleTypeWithExplicitIndex[channel]=childScaleType}})};for(var _i=0,_a=model.children;_i<_a.length;_i++){var child=_a[_i];_loop_1(child)}keys(scaleTypeWithExplicitIndex).forEach(function(channel){var name=model.scaleName(channel,true);var typeWithExplicit=scaleTypeWithExplicitIndex[channel];scaleComponents[channel]=new ScaleComponent(name,typeWithExplicit);for(var _i=0,_a=model.children;_i<_a.length;_i++){var child=_a[_i];var childScale=child.component.scales[channel];if(childScale){child.renameScale(childScale.get("name"),name);childScale.merged=true}}});return scaleComponents}var NameMap=function(){function NameMap(){this.nameMap={}}NameMap.prototype.rename=function(oldName,newName){this.nameMap[oldName]=newName};NameMap.prototype.has=function(name){return void 0!==this.nameMap[name]};NameMap.prototype.get=function(name){while(this.nameMap[name]&&name!==this.nameMap[name])name=this.nameMap[name];return name};return NameMap}();function isUnitModel(model){return model&&"unit"===model.type}function isFacetModel(model){return model&&"facet"===model.type}function isRepeatModel(model){return model&&"repeat"===model.type}function isConcatModel(model){return model&&"concat"===model.type}function isLayerModel(model){return model&&"layer"===model.type}var Model=function(){function Model(spec,parent,parentGivenName,config,repeater,resolve){var _this=this;this.children=[];this.correctDataNames=function(mark){mark.from&&mark.from.data&&(mark.from.data=_this.lookupDataSource(mark.from.data));mark.from&&mark.from.facet&&mark.from.facet.data&&(mark.from.facet.data=_this.lookupDataSource(mark.from.facet.data));return mark};this.parent=parent;this.config=config;this.repeater=repeater;this.name=spec.name||parentGivenName;this.title=isString(spec.title)?{text:spec.title}:spec.title;this.scaleNameMap=parent?parent.scaleNameMap:new NameMap;this.projectionNameMap=parent?parent.projectionNameMap:new NameMap;this.layoutSizeNameMap=parent?parent.layoutSizeNameMap:new NameMap;this.data=spec.data;this.description=spec.description;this.transforms=normalizeTransform(spec.transform||[]);this.layout=isUnitSpec(spec)||isLayerSpec(spec)?void 0:extractCompositionLayout(spec);this.component={data:{sources:parent?parent.component.data.sources:{},outputNodes:parent?parent.component.data.outputNodes:{},outputNodeRefCounts:parent?parent.component.data.outputNodeRefCounts:{},isFaceted:isFacetSpec(spec)||parent&&parent.component.data.isFaceted&&!spec.data},layoutSize:new Split,layoutHeaders:{row:{},column:{}},mark:null,resolve:__assign({scale:{},axis:{},legend:{}},resolve||{}),selection:null,scales:null,projection:null,axes:{},legends:{}}}Object.defineProperty(Model.prototype,"width",{get:function(){return this.getSizeSignalRef("width")},enumerable:true,configurable:true});Object.defineProperty(Model.prototype,"height",{get:function(){return this.getSizeSignalRef("height")},enumerable:true,configurable:true});Model.prototype.initSize=function(size){var width=size.width,height=size.height;width&&this.component.layoutSize.set("width",width,true);height&&this.component.layoutSize.set("height",height,true)};Model.prototype.parse=function(){this.parseScale();this.parseLayoutSize();this.renameTopLevelLayoutSize();this.parseSelection();this.parseProjection();this.parseData();this.parseAxisAndHeader();this.parseLegend();this.parseMarkGroup()};Model.prototype.parseScale=function(){parseScale(this)};Model.prototype.parseProjection=function(){parseProjection(this)};Model.prototype.renameTopLevelLayoutSize=function(){"width"!==this.getName("width")&&this.renameLayoutSize(this.getName("width"),"width");"height"!==this.getName("height")&&this.renameLayoutSize(this.getName("height"),"height")};Model.prototype.parseLegend=function(){parseLegend(this)};Model.prototype.assembleGroupStyle=function(){if("unit"===this.type||"layer"===this.type)return"cell";return};Model.prototype.assembleLayoutSize=function(){if("unit"===this.type||"layer"===this.type)return{width:this.getSizeSignalRef("width"),height:this.getSizeSignalRef("height")};return};Model.prototype.assembleLayout=function(){if(!this.layout)return;var _a=this.layout,align=_a.align,bounds=_a.bounds,center=_a.center,_b=_a.spacing,spacing=void 0===_b?{}:_b;return __assign({padding:isNumber(spacing)?spacing:{row:spacing.row||10,column:spacing.column||10}},this.assembleDefaultLayout(),align?{align:align}:{},bounds?{bounds:bounds}:{},center?{center:center}:{})};Model.prototype.assembleDefaultLayout=function(){return{}};Model.prototype.assembleHeaderMarks=function(){var layoutHeaders=this.component.layoutHeaders;var headerMarks=[];for(var _i=0,HEADER_CHANNELS_1=HEADER_CHANNELS;_i<HEADER_CHANNELS_1.length;_i++){var channel=HEADER_CHANNELS_1[_i];layoutHeaders[channel].title&&headerMarks.push(getTitleGroup(this,channel))}for(var _a=0,HEADER_CHANNELS_2=HEADER_CHANNELS;_a<HEADER_CHANNELS_2.length;_a++){channel=HEADER_CHANNELS_2[_a];headerMarks=headerMarks.concat(getHeaderGroups(this,channel))}return headerMarks};Model.prototype.assembleAxes=function(){return assembleAxes(this.component.axes,this.config)};Model.prototype.assembleLegends=function(){return assembleLegends(this)};Model.prototype.assembleProjections=function(){return assembleProjections(this)};Model.prototype.assembleTitle=function(){var title$$1=__assign({},extractTitleConfig(this.config.title).nonMark,this.title);if(title$$1.text){if(!contains(["unit","layer"],this.type)){title$$1.anchor&&"start"!==title$$1.anchor&&warn(message.cannotSetTitleAnchor(this.type));title$$1.anchor="start"}return keys(title$$1).length>0?title$$1:void 0}return};Model.prototype.assembleGroup=function(signals){void 0===signals&&(signals=[]);var group={};signals=signals.concat(this.assembleSelectionSignals());signals.length>0&&(group.signals=signals);var layout=this.assembleLayout();layout&&(group.layout=layout);group.marks=[].concat(this.assembleHeaderMarks(),this.assembleMarks());var scales=!this.parent||isFacetModel(this.parent)?assembleScales(this):[];scales.length>0&&(group.scales=scales);var axes=this.assembleAxes();axes.length>0&&(group.axes=axes);var legends=this.assembleLegends();legends.length>0&&(group.legends=legends);return group};Model.prototype.hasDescendantWithFieldOnChannel=function(channel){for(var _i=0,_a=this.children;_i<_a.length;_i++){var child=_a[_i];if(isUnitModel(child)){if(child.channelHasField(channel))return true}else if(child.hasDescendantWithFieldOnChannel(channel))return true}return false};Model.prototype.getName=function(text){return varName((this.name?this.name+"_":"")+text)};Model.prototype.requestDataName=function(name){var fullName=this.getName(name);var refCounts=this.component.data.outputNodeRefCounts;refCounts[fullName]=(refCounts[fullName]||0)+1;return fullName};Model.prototype.getSizeSignalRef=function(sizeType){if(isFacetModel(this.parent)){var channel="width"===sizeType?"x":"y";var scaleComponent=this.component.scales[channel];if(scaleComponent&&!scaleComponent.merged){var type=scaleComponent.get("type");var range=scaleComponent.get("range");if(hasDiscreteDomain(type)&&isVgRangeStep(range)){var scaleName=scaleComponent.get("name");var domain=assembleDomain(this,channel);var field$$1=getFieldFromDomain(domain);if(field$$1){var fieldRef=vgField({aggregate:"distinct",field:field$$1},{expr:"datum"});return{signal:sizeExpr(scaleName,scaleComponent,fieldRef)}}warn("Unknown field for ${channel}.  Cannot calculate view size.");return null}}}return{signal:this.layoutSizeNameMap.get(this.getName(sizeType))}};Model.prototype.lookupDataSource=function(name){var node=this.component.data.outputNodes[name];if(!node)return name;return node.getSource()};Model.prototype.getSizeName=function(oldSizeName){return this.layoutSizeNameMap.get(oldSizeName)};Model.prototype.renameLayoutSize=function(oldName,newName){this.layoutSizeNameMap.rename(oldName,newName)};Model.prototype.renameScale=function(oldName,newName){this.scaleNameMap.rename(oldName,newName)};Model.prototype.renameProjection=function(oldName,newName){this.projectionNameMap.rename(oldName,newName)};Model.prototype.scaleName=function(originalScaleName,parse){if(parse)return this.getName(originalScaleName);if(isChannel(originalScaleName)&&isScaleChannel(originalScaleName)&&this.component.scales[originalScaleName]||this.scaleNameMap.has(this.getName(originalScaleName)))return this.scaleNameMap.get(this.getName(originalScaleName));return};Model.prototype.projectionName=function(parse){if(parse)return this.getName("projection");if(this.component.projection&&!this.component.projection.merged||this.projectionNameMap.has(this.getName("projection")))return this.projectionNameMap.get(this.getName("projection"));return};Model.prototype.getScaleComponent=function(channel){if(!this.component.scales)throw new Error("getScaleComponent cannot be called before parseScale().  Make sure you have called parseScale or use parseUnitModelWithScale().");var localScaleComponent=this.component.scales[channel];if(localScaleComponent&&!localScaleComponent.merged)return localScaleComponent;return this.parent?this.parent.getScaleComponent(channel):void 0};Model.prototype.getSelectionComponent=function(variableName,origName){var sel=this.component.selection[variableName];!sel&&this.parent&&(sel=this.parent.getSelectionComponent(variableName,origName));if(!sel)throw new Error(message.selectionNotFound(origName));return sel};return Model}();var ModelWithField=function(_super){__extends(ModelWithField,_super);function ModelWithField(){return null!==_super&&_super.apply(this,arguments)||this}ModelWithField.prototype.vgField=function(channel,opt){void 0===opt&&(opt={});var fieldDef=this.fieldDef(channel);if(!fieldDef)return;return vgField(fieldDef,opt)};ModelWithField.prototype.reduceFieldDef=function(f,init,t){return reduce(this.getMapping(),function(acc,cd,c){var fieldDef=getFieldDef(cd);if(fieldDef)return f(acc,fieldDef,c);return acc},init,t)};ModelWithField.prototype.forEachFieldDef=function(f,t){forEach(this.getMapping(),function(cd,c){var fieldDef=getFieldDef(cd);fieldDef&&f(fieldDef,c)},t)};return ModelWithField}(Model);var scaleBindings={has:function(selCmpt){return"interval"===selCmpt.type&&"global"===selCmpt.resolve&&selCmpt.bind&&"scales"===selCmpt.bind},parse:function(model,selDef,selCmpt){var bound=selCmpt.scales=[];selCmpt.project.forEach(function(p){var channel=p.channel;var scale=model.getScaleComponent(channel);var scaleType=scale?scale.get("type"):void 0;if(!scale||!hasContinuousDomain(scaleType)||isBinScale(scaleType)){warn(message.SCALE_BINDINGS_CONTINUOUS);return}scale.set("domainRaw",{signal:channelSignalName(selCmpt,channel,"data")},true);bound.push(channel);if(model.repeater&&model.repeater.row===model.repeater.column){var scale2=model.getScaleComponent(channel===X?Y:X);scale2.set("domainRaw",{signal:channelSignalName(selCmpt,channel,"data")},true)}})},topLevelSignals:function(model,selCmpt,signals){if(!model.parent)return signals;var channels=selCmpt.scales.filter(function(channel){return!signals.filter(function(s){return s.name===channelSignalName(selCmpt,channel,"data")}).length});return signals.concat(channels.map(function(channel){return{name:channelSignalName(selCmpt,channel,"data")}}))},signals:function(model,selCmpt,signals){model.parent&&selCmpt.scales.forEach(function(channel){var signal=signals.filter(function(s){return s.name===channelSignalName(selCmpt,channel,"data")})[0];signal.push="outer";delete signal.value;delete signal.update});return signals}};function domain$1(model,channel){var scale=$(model.scaleName(channel));return"domain("+scale+")"}var BRUSH="_brush";var SCALE_TRIGGER="_scale_trigger";var interval={predicate:"vlInterval",scaleDomain:"vlIntervalDomain",signals:function(model,selCmpt){var name=selCmpt.name;var hasScales=scaleBindings.has(selCmpt);var signals=[];var intervals=[];var tupleTriggers=[];var scaleTriggers=[];if(selCmpt.translate&&!hasScales){var filterExpr_1="!event.item || event.item.mark.name !== "+$(name+BRUSH);events(selCmpt,function(_,evt){var filters=evt.between[0].filter||(evt.between[0].filter=[]);filters.indexOf(filterExpr_1)<0&&filters.push(filterExpr_1)})}selCmpt.project.forEach(function(p){var channel=p.channel;if(channel!==X&&channel!==Y){warn("Interval selections only support x and y encoding channels.");return}var cs=channelSignals(model,selCmpt,channel);var dname=channelSignalName(selCmpt,channel,"data");var vname=channelSignalName(selCmpt,channel,"visual");var scaleStr=$(model.scaleName(channel));var scaleType=model.getScaleComponent(channel).get("type");var toNum=hasContinuousDomain(scaleType)?"+":"";signals.push.apply(signals,cs);tupleTriggers.push(dname);intervals.push("{encoding: "+$(channel)+", field: "+$(p.field)+", extent: "+dname+"}");scaleTriggers.push({scaleName:model.scaleName(channel),expr:"(!isArray("+dname+") || ("+toNum+"invert("+scaleStr+", "+vname+")[0] === "+toNum+dname+"[0] && "+toNum+"invert("+scaleStr+", "+vname+")[1] === "+toNum+dname+"[1]))"})});hasScales||signals.push({name:name+SCALE_TRIGGER,update:scaleTriggers.map(function(t){return t.expr}).join(" && ")+" ? "+(name+SCALE_TRIGGER)+" : {}"});return signals.concat({name:name+TUPLE,on:[{events:tupleTriggers.map(function(t){return{signal:t}}),update:tupleTriggers.join(" && ")+" ? {unit: "+unitName(model)+", intervals: ["+intervals.join(", ")+"]} : null"}]})},modifyExpr:function(model,selCmpt){var tpl=selCmpt.name+TUPLE;return tpl+", "+("global"===selCmpt.resolve?"true":"{unit: "+unitName(model)+"}")},marks:function(model,selCmpt,marks){var name=selCmpt.name;var _a=positionalProjections(selCmpt),xi=_a.xi,yi=_a.yi;var store="data("+$(selCmpt.name+STORE)+")";if(scaleBindings.has(selCmpt))return marks;var update={x:null!==xi?{signal:name+"_x[0]"}:{value:0},y:null!==yi?{signal:name+"_y[0]"}:{value:0},x2:null!==xi?{signal:name+"_x[1]"}:{field:{group:"width"}},y2:null!==yi?{signal:name+"_y[1]"}:{field:{group:"height"}}};if("global"===selCmpt.resolve)for(var _i=0,_b=keys(update);_i<_b.length;_i++){var key$$1=_b[_i];update[key$$1]=[__assign({test:store+".length && "+store+"[0].unit === "+unitName(model)},update[key$$1]),{value:0}]}var _c=selCmpt.mark,fill=_c.fill,fillOpacity=_c.fillOpacity,stroke=__rest(_c,["fill","fillOpacity"]);var vgStroke=keys(stroke).reduce(function(def,k){def[k]=[{test:[null!==xi&&name+"_x[0] !== "+name+"_x[1]",null!=yi&&name+"_y[0] !== "+name+"_y[1]"].filter(function(x){return x}).join(" && "),value:stroke[k]},{value:null}];return def},{});return[{name:name+BRUSH+"_bg",type:"rect",clip:true,encode:{enter:{fill:{value:fill},fillOpacity:{value:fillOpacity}},update:update}}].concat(marks,{name:name+BRUSH,type:"rect",clip:true,encode:{enter:{fill:{value:"transparent"}},update:__assign({},update,vgStroke)}})}};function channelSignals(model,selCmpt,channel){var vname=channelSignalName(selCmpt,channel,"visual");var dname=channelSignalName(selCmpt,channel,"data");var hasScales=scaleBindings.has(selCmpt);var scaleName=model.scaleName(channel);var scaleStr=$(scaleName);var scale=model.getScaleComponent(channel);var scaleType=scale?scale.get("type"):void 0;var size=model.getSizeSignalRef(channel===X?"width":"height").signal;var coord=channel+"(unit)";var on=events(selCmpt,function(def,evt){return def.concat({events:evt.between[0],update:"["+coord+", "+coord+"]"},{events:evt,update:"["+vname+"[0], clamp("+coord+", 0, "+size+")]"})});on.push({events:{signal:selCmpt.name+SCALE_TRIGGER},update:hasContinuousDomain(scaleType)&&!isBinScale(scaleType)?"[scale("+scaleStr+", "+dname+"[0]), scale("+scaleStr+", "+dname+"[1])]":"[0, 0]"});return hasScales?[{name:dname,on:[]}]:[{name:vname,value:[],on:on},{name:dname,on:[{events:{signal:vname},update:vname+"[0] === "+vname+"[1] ? null : invert("+scaleStr+", "+vname+")"}]}]}function events(selCmpt,cb){return selCmpt.events.reduce(function(on,evt){if(!evt.between){warn(evt+" is not an ordered event stream for interval selections");return on}return cb(on,evt)},[])}var VORONOI="voronoi";var nearest={has:function(selCmpt){return"interval"!==selCmpt.type&&selCmpt.nearest},marks:function(model,selCmpt,marks){var _a=positionalProjections(selCmpt),x=_a.x,y=_a.y;var markType=model.mark;if(isPathMark(markType)){warn(message.nearestNotSupportForContinuous(markType));return marks}var cellDef={name:model.getName(VORONOI),type:"path",from:{data:model.getName("marks")},encode:{enter:{fill:{value:"transparent"},strokeWidth:{value:.35},stroke:{value:"transparent"},isVoronoi:{value:true}}},transform:[{type:"voronoi",x:{expr:x||!x&&!y?"datum.datum.x || 0":"0"},y:{expr:y||!x&&!y?"datum.datum.y || 0":"0"},size:[model.getSizeSignalRef("width"),model.getSizeSignalRef("height")]}]};var index=0;var exists=false;marks.forEach(function(mark,i){var name=mark.name||"";name===model.component.mark[0].name?index=i:name.indexOf(VORONOI)>=0&&(exists=true)});exists||marks.splice(index+1,0,cellDef);return marks}};function signals(model,selCmpt){var proj=selCmpt.project;var datum=nearest.has(selCmpt)?"(item().isVoronoi ? datum.datum : datum)":"datum";var bins=[];var encodings=proj.map(function(p){return $(p.channel)}).filter(function(e){return e}).join(", ");var fields=proj.map(function(p){return $(p.field)}).join(", ");var values=proj.map(function(p){var channel=p.channel;var fieldDef=model.fieldDef(channel);return fieldDef&&fieldDef.bin?(bins.push(p.field),"["+accessPathWithDatum(model.vgField(channel,{}),datum)+", "+accessPathWithDatum(model.vgField(channel,{binSuffix:"end"}),datum)+"]"):""+accessPathWithDatum(p.field,datum)}).join(", ");return[{name:selCmpt.name+TUPLE,value:{},on:[{events:selCmpt.events,update:"datum && item().mark.marktype !== 'group' ? {unit: "+unitName(model)+", encodings: ["+encodings+"], fields: ["+fields+"], values: ["+values+"]"+(bins.length?", "+bins.map(function(b){return $("bin_"+b)+": 1"}).join(", "):"")+"} : null",force:true}]}]}var multi={predicate:"vlMulti",scaleDomain:"vlMultiDomain",signals:signals,modifyExpr:function(model,selCmpt){var tpl=selCmpt.name+TUPLE;return tpl+", "+("global"===selCmpt.resolve?"null":"{unit: "+unitName(model)+"}")}};var single={predicate:"vlSingle",scaleDomain:"vlSingleDomain",signals:signals,topLevelSignals:function(model,selCmpt,signals$$1){var hasSignal=signals$$1.filter(function(s){return s.name===selCmpt.name});var data="data("+$(selCmpt.name+STORE)+")";var values=data+"[0].values";return hasSignal.length?signals$$1:signals$$1.concat({name:selCmpt.name,update:data+".length && {"+selCmpt.project.map(function(p,i){return p.field+": "+values+"["+i+"]"}).join(", ")+"}"})},modifyExpr:function(model,selCmpt){var tpl=selCmpt.name+TUPLE;return tpl+", "+("global"===selCmpt.resolve?"true":"{unit: "+unitName(model)+"}")}};var inputBindings={has:function(selCmpt){return"single"===selCmpt.type&&"global"===selCmpt.resolve&&selCmpt.bind&&"scales"!==selCmpt.bind},topLevelSignals:function(model,selCmpt,signals){var name=selCmpt.name;var proj=selCmpt.project;var bind=selCmpt.bind;var datum=nearest.has(selCmpt)?"(item().isVoronoi ? datum.datum : datum)":"datum";proj.forEach(function(p){var sgname=varName(name+"_"+p.field);var hasSignal=signals.filter(function(s){return s.name===sgname});hasSignal.length||signals.unshift({name:sgname,value:"",on:[{events:selCmpt.events,update:"datum && item().mark.marktype !== 'group' ? "+accessPathWithDatum(p.field,datum)+" : null"}],bind:bind[p.field]||bind[p.channel]||bind})});return signals},signals:function(model,selCmpt,signals){var name=selCmpt.name;var proj=selCmpt.project;var signal=signals.filter(function(s){return s.name===name+TUPLE})[0];var fields=proj.map(function(p){return $(p.field)}).join(", ");var values=proj.map(function(p){return varName(name+"_"+p.field)});values.length&&(signal.update=values.join(" && ")+" ? {fields: ["+fields+"], values: ["+values.join(", ")+"]} : null");delete signal.value;delete signal.on;return signals}};var project={has:function(selDef){var def=selDef;return void 0!==def.fields||void 0!==def.encodings},parse:function(model,selDef,selCmpt){var channels={};var timeUnits={};(selDef.fields||[]).forEach(function(field){return channels[field]=null});(selDef.encodings||[]).forEach(function(channel){var fieldDef=model.fieldDef(channel);if(fieldDef)if(fieldDef.timeUnit){var tuField=model.vgField(channel);channels[tuField]=channel;timeUnits[tuField]={as:tuField,field:fieldDef.field,timeUnit:fieldDef.timeUnit}}else channels[fieldDef.field]=channel;else warn(message.cannotProjectOnChannelWithoutField(channel))});var projection=selCmpt.project||(selCmpt.project=[]);for(var field in channels)channels.hasOwnProperty(field)&&projection.push({field:field,channel:channels[field]});var fields=selCmpt.fields||(selCmpt.fields={});projection.filter(function(p){return p.channel}).forEach(function(p){return fields[p.channel]=p.field});keys(timeUnits).length&&(selCmpt.timeUnit=new TimeUnitNode(null,timeUnits))}};var TOGGLE="_toggle";var toggle={has:function(selCmpt){return"multi"===selCmpt.type&&selCmpt.toggle},signals:function(model,selCmpt,signals){return signals.concat({name:selCmpt.name+TOGGLE,value:false,on:[{events:selCmpt.events,update:selCmpt.toggle}]})},modifyExpr:function(model,selCmpt,expr){var tpl=selCmpt.name+TUPLE;var signal=selCmpt.name+TOGGLE;return signal+" ? null : "+tpl+", "+("global"===selCmpt.resolve?signal+" ? null : true, ":signal+" ? null : {unit: "+unitName(model)+"}, ")+signal+" ? "+tpl+" : null"}};var ANCHOR="_translate_anchor";var DELTA="_translate_delta";var translate={has:function(selCmpt){return"interval"===selCmpt.type&&selCmpt.translate},signals:function(model,selCmpt,signals){var name=selCmpt.name;var hasScales=scaleBindings.has(selCmpt);var anchor=name+ANCHOR;var _a=positionalProjections(selCmpt),x=_a.x,y=_a.y;var events=parseSelector(selCmpt.translate,"scope");hasScales||(events=events.map(function(e){return e.between[0].markname=name+BRUSH,e}));signals.push({name:anchor,value:{},on:[{events:events.map(function(e){return e.between[0]}),update:"{x: x(unit), y: y(unit)"+(null!==x?", extent_x: "+(hasScales?domain$1(model,X):"slice("+channelSignalName(selCmpt,"x","visual")+")"):"")+(null!==y?", extent_y: "+(hasScales?domain$1(model,Y):"slice("+channelSignalName(selCmpt,"y","visual")+")"):"")+"}"}]},{name:name+DELTA,value:{},on:[{events:events,update:"{x: "+anchor+".x - x(unit), y: "+anchor+".y - y(unit)}"}]});null!==x&&onDelta(model,selCmpt,X,"width",signals);null!==y&&onDelta(model,selCmpt,Y,"height",signals);return signals}};function onDelta(model,selCmpt,channel,size,signals){var name=selCmpt.name;var hasScales=scaleBindings.has(selCmpt);var signal=signals.filter(function(s){return s.name===channelSignalName(selCmpt,channel,hasScales?"data":"visual")})[0];var anchor=name+ANCHOR;var delta=name+DELTA;var sizeSg=model.getSizeSignalRef(size).signal;var scaleCmpt=model.getScaleComponent(channel);var scaleType=scaleCmpt.get("type");var sign=hasScales&&channel===X?"-":"";var extent=anchor+".extent_"+channel;var offset=""+sign+delta+"."+channel+" / "+(hasScales?""+sizeSg:"span("+extent+")");var panFn=hasScales?"log"===scaleType?"panLog":"pow"===scaleType?"panPow":"panLinear":"panLinear";var update=panFn+"("+extent+", "+offset+(hasScales&&"pow"===scaleType?", "+(scaleCmpt.get("exponent")||1):"")+")";signal.on.push({events:{signal:delta},update:hasScales?update:"clampRange("+update+", 0, "+sizeSg+")"})}var ANCHOR$1="_zoom_anchor";var DELTA$1="_zoom_delta";var zoom$1={has:function(selCmpt){return"interval"===selCmpt.type&&selCmpt.zoom},signals:function(model,selCmpt,signals){var name=selCmpt.name;var hasScales=scaleBindings.has(selCmpt);var delta=name+DELTA$1;var _a=positionalProjections(selCmpt),x=_a.x,y=_a.y;var sx=$(model.scaleName(X));var sy=$(model.scaleName(Y));var events=parseSelector(selCmpt.zoom,"scope");hasScales||(events=events.map(function(e){return e.markname=name+BRUSH,e}));signals.push({name:name+ANCHOR$1,on:[{events:events,update:hasScales?"{"+[sx?"x: invert("+sx+", x(unit))":"",sy?"y: invert("+sy+", y(unit))":""].filter(function(expr){return!!expr}).join(", ")+"}":"{x: x(unit), y: y(unit)}"}]},{name:delta,on:[{events:events,force:true,update:"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}]});null!==x&&onDelta$1(model,selCmpt,"x","width",signals);null!==y&&onDelta$1(model,selCmpt,"y","height",signals);return signals}};function onDelta$1(model,selCmpt,channel,size,signals){var name=selCmpt.name;var hasScales=scaleBindings.has(selCmpt);var signal=signals.filter(function(s){return s.name===channelSignalName(selCmpt,channel,hasScales?"data":"visual")})[0];var sizeSg=model.getSizeSignalRef(size).signal;var scaleCmpt=model.getScaleComponent(channel);var scaleType=scaleCmpt.get("type");var base=hasScales?domain$1(model,channel):signal.name;var delta=name+DELTA$1;var anchor=""+name+ANCHOR$1+"."+channel;var zoomFn=hasScales?"log"===scaleType?"zoomLog":"pow"===scaleType?"zoomPow":"zoomLinear":"zoomLinear";var update=zoomFn+"("+base+", "+anchor+", "+delta+(hasScales&&"pow"===scaleType?", "+(scaleCmpt.get("exponent")||1):"")+")";signal.on.push({events:{signal:delta},update:hasScales?update:"clampRange("+update+", 0, "+sizeSg+")"})}var compilers={project:project,toggle:toggle,scales:scaleBindings,translate:translate,zoom:zoom$1,inputs:inputBindings,nearest:nearest};function forEachTransform(selCmpt,cb){for(var t in compilers)compilers[t].has(selCmpt)&&cb(compilers[t])}var STORE="_store";var TUPLE="_tuple";var MODIFY="_modify";var SELECTION_DOMAIN="_selection_domain_";function parseUnitSelection(model,selDefs){var selCmpts={};var selectionConfig=model.config.selection;var _loop_1=function(name_1){if(!selDefs.hasOwnProperty(name_1))return"continue";var selDef=selDefs[name_1];var cfg=selectionConfig[selDef.type];for(var key$$1 in cfg){if("encodings"===key$$1&&selDef.fields||"fields"===key$$1&&selDef.encodings)continue;"mark"===key$$1&&(selDef[key$$1]=__assign({},cfg[key$$1],selDef[key$$1]));void 0!==selDef[key$$1]&&true!==selDef[key$$1]||(selDef[key$$1]=cfg[key$$1]||selDef[key$$1])}name_1=varName(name_1);var selCmpt=selCmpts[name_1]=__assign({},selDef,{name:name_1,events:isString(selDef.on)?parseSelector(selDef.on,"scope"):selDef.on});forEachTransform(selCmpt,function(txCompiler){txCompiler.parse&&txCompiler.parse(model,selDef,selCmpt)})};for(var name_1 in selDefs)_loop_1(name_1);return selCmpts}function assembleUnitSelectionSignals(model,signals$$1){forEachSelection(model,function(selCmpt,selCompiler){var name=selCmpt.name;var modifyExpr=selCompiler.modifyExpr(model,selCmpt);signals$$1.push.apply(signals$$1,selCompiler.signals(model,selCmpt));forEachTransform(selCmpt,function(txCompiler){txCompiler.signals&&(signals$$1=txCompiler.signals(model,selCmpt,signals$$1));txCompiler.modifyExpr&&(modifyExpr=txCompiler.modifyExpr(model,selCmpt,modifyExpr))});signals$$1.push({name:name+MODIFY,on:[{events:{signal:name+TUPLE},update:"modify("+$(selCmpt.name+STORE)+", "+modifyExpr+")"}]})});var facetModel=getFacetModel(model);if(signals$$1.length&&facetModel){var name_2=$(facetModel.getName("cell"));signals$$1.unshift({name:"facet",value:{},on:[{events:parseSelector("mousemove","scope"),update:"isTuple(facet) ? facet : group("+name_2+").datum"}]})}return signals$$1}function assembleTopLevelSignals(model,signals$$1){var needsUnit=false;forEachSelection(model,function(selCmpt,selCompiler){selCompiler.topLevelSignals&&(signals$$1=selCompiler.topLevelSignals(model,selCmpt,signals$$1));forEachTransform(selCmpt,function(txCompiler){txCompiler.topLevelSignals&&(signals$$1=txCompiler.topLevelSignals(model,selCmpt,signals$$1))});needsUnit=true});if(needsUnit){var hasUnit=signals$$1.filter(function(s){return"unit"===s.name});hasUnit.length||signals$$1.unshift({name:"unit",value:{},on:[{events:"mousemove",update:"isTuple(group()) ? group() : unit"}]})}return signals$$1}function assembleUnitSelectionData(model,data){forEachSelection(model,function(selCmpt){var contains$$1=data.filter(function(d){return d.name===selCmpt.name+STORE});contains$$1.length||data.push({name:selCmpt.name+STORE})});return data}function assembleUnitSelectionMarks(model,marks){forEachSelection(model,function(selCmpt,selCompiler){marks=selCompiler.marks?selCompiler.marks(model,selCmpt,marks):marks;forEachTransform(selCmpt,function(txCompiler){txCompiler.marks&&(marks=txCompiler.marks(model,selCmpt,marks))})});return marks}function assembleLayerSelectionMarks(model,marks){model.children.forEach(function(child){isUnitModel(child)&&(marks=assembleUnitSelectionMarks(child,marks))});return marks}function selectionPredicate(model,selections,dfnode){var stores=[];function expr(name){var vname=varName(name);var selCmpt=model.getSelectionComponent(vname,name);var store=$(vname+STORE);if(selCmpt.timeUnit){var child=dfnode||model.component.data.raw;var tunode=selCmpt.timeUnit.clone();child.parent?tunode.insertAsParentOf(child):child.parent=tunode}"none"!==selCmpt.empty&&stores.push(store);return compiler(selCmpt.type).predicate+"("+store+", datum"+("global"===selCmpt.resolve?")":", "+$(selCmpt.resolve)+")")}var predicateStr=logicalExpr(selections,expr);return(stores.length?"!("+stores.map(function(s){return"length(data("+s+"))"}).join(" || ")+") || ":"")+"("+predicateStr+")"}function isRawSelectionDomain(domainRaw){return domainRaw.signal.indexOf(SELECTION_DOMAIN)>=0}function selectionScaleDomain(model,domainRaw){var selDomain=JSON.parse(domainRaw.signal.replace(SELECTION_DOMAIN,""));var name=varName(selDomain.selection);var selCmpt=model.component.selection&&model.component.selection[name];if(!selCmpt){selCmpt=model.getSelectionComponent(name,selDomain.selection);if(!selDomain.encoding&&!selDomain.field){selDomain.field=selCmpt.project[0].field;selCmpt.project.length>1&&warn('A "field" or "encoding" must be specified when using a selection as a scale domain. Using "field": '+$(selDomain.field)+".")}return{signal:compiler(selCmpt.type).scaleDomain+"("+$(name+STORE)+", "+$(selDomain.encoding||null)+", "+$(selDomain.field||null)+("global"===selCmpt.resolve?")":", "+$(selCmpt.resolve)+")")}}warn('Use "bind": "scales" to setup a binding for scales and selections within the same view.');return{signal:"null"}}function forEachSelection(model,cb){var selections=model.component.selection;for(var name_3 in selections)if(selections.hasOwnProperty(name_3)){var sel=selections[name_3];cb(sel,compiler(sel.type))}}function compiler(type){switch(type){case"single":return single;case"multi":return multi;case"interval":return interval}return null}function getFacetModel(model){var parent=model.parent;while(parent){if(isFacetModel(parent))break;parent=parent.parent}return parent}function unitName(model){var name=$(model.name);var facet=getFacetModel(model);facet&&(name+=(facet.facet.row?" + '_' + ("+accessPathWithDatum(facet.vgField("row"),"facet")+")":"")+(facet.facet.column?" + '_' + ("+accessPathWithDatum(facet.vgField("column"),"facet")+")":""));return name}function requiresSelectionId(model){var identifier=false;forEachSelection(model,function(selCmpt){identifier=identifier||selCmpt.project.some(function(proj){return proj.field===SELECTION_ID})});return identifier}function channelSignalName(selCmpt,channel,range){var sgNames=selCmpt._signalNames||(selCmpt._signalNames={});if(sgNames[channel]&&sgNames[channel][range])return sgNames[channel][range];sgNames[channel]=sgNames[channel]||{};var basename=varName(selCmpt.name+"_"+("visual"===range?channel:selCmpt.fields[channel]));var name=basename;var counter=1;while(sgNames[name])name=basename+"_"+counter++;return sgNames[name]=sgNames[channel][range]=name}function positionalProjections(selCmpt){var x=null;var xi=null;var y=null;var yi=null;selCmpt.project.forEach(function(p,i){if(p.channel===X){x=p;xi=i}else if(p.channel===Y){y=p;yi=i}});return{x:x,xi:xi,y:y,yi:yi}}function isSelectionPredicate(predicate){return predicate&&predicate["selection"]}function isFieldEqualPredicate(predicate){return predicate&&!!predicate.field&&void 0!==predicate.equal}function isFieldLTPredicate(predicate){return predicate&&!!predicate.field&&void 0!==predicate.lt}function isFieldLTEPredicate(predicate){return predicate&&!!predicate.field&&void 0!==predicate.lte}function isFieldGTPredicate(predicate){return predicate&&!!predicate.field&&void 0!==predicate.gt}function isFieldGTEPredicate(predicate){return predicate&&!!predicate.field&&void 0!==predicate.gte}function isFieldRangePredicate(predicate){if(predicate&&predicate.field&&isArray(predicate.range)&&2===predicate.range.length)return true;return false}function isFieldOneOfPredicate(predicate){return predicate&&!!predicate.field&&(isArray(predicate.oneOf)||isArray(predicate.in))}function isFieldPredicate(predicate){return isFieldOneOfPredicate(predicate)||isFieldEqualPredicate(predicate)||isFieldRangePredicate(predicate)||isFieldLTPredicate(predicate)||isFieldGTPredicate(predicate)||isFieldLTEPredicate(predicate)||isFieldGTEPredicate(predicate)}function expression(model,filterOp,node){return logicalExpr(filterOp,function(predicate){return isString(predicate)?predicate:isSelectionPredicate(predicate)?selectionPredicate(model,predicate.selection,node):fieldFilterExpression(predicate)})}function predicateValueExpr(v,timeUnit){return valueExpr(v,{timeUnit:timeUnit,time:true})}function predicateValuesExpr(vals$$1,timeUnit){return vals$$1.map(function(v){return predicateValueExpr(v,timeUnit)})}function fieldFilterExpression(predicate,useInRange){void 0===useInRange&&(useInRange=true);var field$$1=predicate.field,timeUnit=predicate.timeUnit;var fieldExpr$$1=timeUnit?"time("+fieldExpr(timeUnit,field$$1)+")":vgField(predicate,{expr:"datum"});if(isFieldEqualPredicate(predicate))return fieldExpr$$1+"==="+predicateValueExpr(predicate.equal,timeUnit);if(isFieldLTPredicate(predicate)){var upper=predicate.lt;return fieldExpr$$1+"<"+predicateValueExpr(upper,timeUnit)}if(isFieldGTPredicate(predicate)){var lower=predicate.gt;return fieldExpr$$1+">"+predicateValueExpr(lower,timeUnit)}if(isFieldLTEPredicate(predicate)){upper=predicate.lte;return fieldExpr$$1+"<="+predicateValueExpr(upper,timeUnit)}if(isFieldGTEPredicate(predicate)){lower=predicate.gte;return fieldExpr$$1+">="+predicateValueExpr(lower,timeUnit)}if(isFieldOneOfPredicate(predicate)){var oneOf=predicate.oneOf;oneOf=oneOf||predicate["in"];return"indexof(["+predicateValuesExpr(oneOf,timeUnit).join(",")+"], "+fieldExpr$$1+") !== -1"}if(isFieldRangePredicate(predicate)){lower=predicate.range[0];upper=predicate.range[1];if(null!==lower&&null!==upper&&useInRange)return"inrange("+fieldExpr$$1+", ["+predicateValueExpr(lower,timeUnit)+", "+predicateValueExpr(upper,timeUnit)+"])";var exprs=[];null!==lower&&exprs.push(fieldExpr$$1+" >= "+predicateValueExpr(lower,timeUnit));null!==upper&&exprs.push(fieldExpr$$1+" <= "+predicateValueExpr(upper,timeUnit));return exprs.length>0?exprs.join(" && "):"true"}throw new Error("Invalid field predicate: "+JSON.stringify(predicate))}function normalizePredicate(f){if(isFieldPredicate(f)&&f.timeUnit)return __assign({},f,{timeUnit:normalizeTimeUnit(f.timeUnit)});return f}function isFilter(t){return void 0!==t["filter"]}function isLookup(t){return void 0!==t["lookup"]}function isWindow(t){return void 0!==t["window"]}function isCalculate(t){return void 0!==t["calculate"]}function isBin(t){return!!t["bin"]}function isTimeUnit$1(t){return void 0!==t["timeUnit"]}function isAggregate$1(t){return void 0!==t["aggregate"]}function isStack(t){return void 0!==t["stack"]}function normalizeTransform(transform){return transform.map(function(t){if(isFilter(t))return{filter:normalizeLogicalOperand(t.filter,normalizePredicate)};return t})}var transform=Object.freeze({isFilter:isFilter,isLookup:isLookup,isWindow:isWindow,isCalculate:isCalculate,isBin:isBin,isTimeUnit:isTimeUnit$1,isAggregate:isAggregate$1,isStack:isStack,normalizeTransform:normalizeTransform});function rangeFormula(model,fieldDef,channel,config){if(binRequiresRange(fieldDef,channel)){var guide=isUnitModel(model)&&(model.axis(channel)||model.legend(channel))||{};var startField=vgField(fieldDef,{expr:"datum"});var endField=vgField(fieldDef,{expr:"datum",binSuffix:"end"});return{formulaAs:vgField(fieldDef,{binSuffix:"range"}),formula:binFormatExpression(startField,endField,guide.format,config)}}return{}}function binKey(bin,field$$1){return binToString(bin)+"_"+field$$1}function getSignalsFromModel(model,key$$1){return{signal:model.getName(key$$1+"_bins"),extentSignal:model.getName(key$$1+"_extent")}}function isBinTransform(t){return"as"in t}function createBinComponent(t,model){var as;as=isBinTransform(t)?isString(t.as)?[t.as,t.as+"_end"]:[t.as[0],t.as[1]]:[vgField(t,{}),vgField(t,{binSuffix:"end"})];var bin=normalizeBin(t.bin,void 0)||{};var key$$1=binKey(bin,t.field);var _a=getSignalsFromModel(model,key$$1),signal=_a.signal,extentSignal=_a.extentSignal;var binComponent=__assign({bin:bin,field:t.field,as:as},signal?{signal:signal}:{},extentSignal?{extentSignal:extentSignal}:{});return{key:key$$1,binComponent:binComponent}}var BinNode=function(_super){__extends(BinNode,_super);function BinNode(parent,bins){var _this=_super.call(this,parent)||this;_this.bins=bins;return _this}BinNode.prototype.clone=function(){return new BinNode(null,duplicate(this.bins))};BinNode.makeFromEncoding=function(parent,model){var bins=model.reduceFieldDef(function(binComponentIndex,fieldDef,channel){if(fieldDef.bin){var _a=createBinComponent(fieldDef,model),key$$1=_a.key,binComponent=_a.binComponent;binComponentIndex[key$$1]=__assign({},binComponent,binComponentIndex[key$$1],rangeFormula(model,fieldDef,channel,model.config))}return binComponentIndex},{});if(0===keys(bins).length)return null;return new BinNode(parent,bins)};BinNode.makeFromTransform=function(parent,t,model){var _a;var _b=createBinComponent(t,model),key$$1=_b.key,binComponent=_b.binComponent;return new BinNode(parent,(_a={},_a[key$$1]=binComponent,_a))};BinNode.prototype.merge=function(other){this.bins=__assign({},this.bins,other.bins);other.remove()};BinNode.prototype.producedFields=function(){var out={};vals(this.bins).forEach(function(c){c.as.forEach(function(f){return out[f]=true})});return out};BinNode.prototype.dependentFields=function(){var out={};vals(this.bins).forEach(function(c){out[c.field]=true});return out};BinNode.prototype.assemble=function(){return flatten(vals(this.bins).map(function(bin){var transform=[];var binTrans=__assign({type:"bin",field:bin.field,as:bin.as,signal:bin.signal},bin.bin);if(!bin.bin.extent&&bin.extentSignal){transform.push({type:"extent",field:bin.field,signal:bin.extentSignal});binTrans.extent={signal:bin.extentSignal}}transform.push(binTrans);bin.formula&&transform.push({type:"formula",expr:bin.formula,as:bin.formulaAs});return transform}))};return BinNode}(DataFlowNode);var FilterNode=function(_super){__extends(FilterNode,_super);function FilterNode(parent,model,filter){var _this=_super.call(this,parent)||this;_this.model=model;_this.filter=filter;_this.expr=expression(_this.model,_this.filter,_this);return _this}FilterNode.prototype.clone=function(){return new FilterNode(null,this.model,duplicate(this.filter))};FilterNode.prototype.assemble=function(){return{type:"filter",expr:this.expr}};return FilterNode}(DataFlowNode);var GeoJSONNode=function(_super){__extends(GeoJSONNode,_super);function GeoJSONNode(parent,fields,geojson,signal){var _this=_super.call(this,parent)||this;_this.fields=fields;_this.geojson=geojson;_this.signal=signal;return _this}GeoJSONNode.prototype.clone=function(){return new GeoJSONNode(null,duplicate(this.fields),this.geojson,this.signal)};GeoJSONNode.parseAll=function(parent,model){var geoJsonCounter=0;[[LONGITUDE,LATITUDE],[LONGITUDE2,LATITUDE2]].forEach(function(coordinates){var pair=coordinates.map(function(channel){return model.channelHasField(channel)?model.fieldDef(channel).field:void 0});(pair[0]||pair[1])&&(parent=new GeoJSONNode(parent,pair,null,model.getName("geojson_"+geoJsonCounter++)))});if(model.channelHasField(SHAPE)){var fieldDef=model.fieldDef(SHAPE);fieldDef.type===GEOJSON&&(parent=new GeoJSONNode(parent,null,fieldDef.field,model.getName("geojson_"+geoJsonCounter++)))}return parent};GeoJSONNode.prototype.assemble=function(){return __assign({type:"geojson"},this.fields?{fields:this.fields}:{},this.geojson?{geojson:this.geojson}:{},{signal:this.signal})};return GeoJSONNode}(DataFlowNode);var GeoPointNode=function(_super){__extends(GeoPointNode,_super);function GeoPointNode(parent,projection,fields,as){var _this=_super.call(this,parent)||this;_this.projection=projection;_this.fields=fields;_this.as=as;return _this}GeoPointNode.prototype.clone=function(){return new GeoPointNode(null,this.projection,duplicate(this.fields),duplicate(this.as))};GeoPointNode.parseAll=function(parent,model){if(!model.projectionName())return parent;[[LONGITUDE,LATITUDE],[LONGITUDE2,LATITUDE2]].forEach(function(coordinates){var pair=coordinates.map(function(channel){return model.channelHasField(channel)?model.fieldDef(channel).field:void 0});var suffix=coordinates[0]===LONGITUDE2?"2":"";(pair[0]||pair[1])&&(parent=new GeoPointNode(parent,model.projectionName(),pair,[model.getName("x"+suffix),model.getName("y"+suffix)]))});return parent};GeoPointNode.prototype.assemble=function(){return{type:"geopoint",projection:this.projection,fields:this.fields,as:this.as}};return GeoPointNode}(DataFlowNode);var IdentifierNode=function(_super){__extends(IdentifierNode,_super);function IdentifierNode(parent){return _super.call(this,parent)||this}IdentifierNode.prototype.clone=function(){return new IdentifierNode(null)};IdentifierNode.prototype.producedFields=function(){var _a;return _a={},_a[SELECTION_ID]=true,_a};IdentifierNode.prototype.assemble=function(){return{type:"identifier",as:SELECTION_ID}};return IdentifierNode}(DataFlowNode);var AncestorParse=function(_super){__extends(AncestorParse,_super);function AncestorParse(explicit,implicit,parseNothing){void 0===explicit&&(explicit={});void 0===implicit&&(implicit={});void 0===parseNothing&&(parseNothing=false);var _this=_super.call(this,explicit,implicit)||this;_this.explicit=explicit;_this.implicit=implicit;_this.parseNothing=parseNothing;return _this}AncestorParse.prototype.clone=function(){var clone=_super.prototype.clone.call(this);clone.parseNothing=this.parseNothing;return clone};return AncestorParse}(Split);var LookupNode=function(_super){__extends(LookupNode,_super);function LookupNode(parent,transform,secondary){var _this=_super.call(this,parent)||this;_this.transform=transform;_this.secondary=secondary;return _this}LookupNode.make=function(parent,model,transform,counter){var sources=model.component.data.sources;var s=new SourceNode(transform.from.data);var fromSource=sources[s.hash()];if(!fromSource){sources[s.hash()]=s;fromSource=s}var fromOutputName=model.getName("lookup_"+counter);var fromOutputNode=new OutputNode(fromSource,fromOutputName,"lookup",model.component.data.outputNodeRefCounts);model.component.data.outputNodes[fromOutputName]=fromOutputNode;return new LookupNode(parent,transform,fromOutputNode.getSource())};LookupNode.prototype.producedFields=function(){return toSet(this.transform.from.fields||(this.transform.as instanceof Array?this.transform.as:[this.transform.as]))};LookupNode.prototype.assemble=function(){var foreign;if(this.transform.from.fields)foreign=__assign({values:this.transform.from.fields},this.transform.as?{as:this.transform.as instanceof Array?this.transform.as:[this.transform.as]}:{});else{var asName=this.transform.as;if(!isString(asName)){warn(message.NO_FIELDS_NEEDS_AS);asName="_lookup"}foreign={as:[asName]}}return __assign({type:"lookup",from:this.secondary,key:this.transform.from.key,fields:[this.transform.lookup]},foreign,this.transform.default?{default:this.transform.default}:{})};return LookupNode}(DataFlowNode);function makeWalkTree(data){var datasetIndex=0;function walkTree(node,dataSource){if(node instanceof SourceNode&&!isUrlData(node.data)){data.push(dataSource);var newData={name:null,source:dataSource.name,transform:[]};dataSource=newData}if(node instanceof ParseNode)if(node.parent instanceof SourceNode&&!dataSource.source){dataSource.format=__assign({},dataSource.format||{},{parse:node.assembleFormatParse()});dataSource.transform=dataSource.transform.concat(node.assembleTransforms(true))}else dataSource.transform=dataSource.transform.concat(node.assembleTransforms());if(node instanceof FacetNode){dataSource.name||(dataSource.name="data_"+datasetIndex++);if(!dataSource.source||dataSource.transform.length>0){data.push(dataSource);node.data=dataSource.name}else node.data=dataSource.source;node.assemble().forEach(function(d){return data.push(d)});return}(node instanceof FilterNode||node instanceof CalculateNode||node instanceof GeoPointNode||node instanceof GeoJSONNode||node instanceof AggregateNode||node instanceof LookupNode||node instanceof WindowTransformNode||node instanceof IdentifierNode)&&dataSource.transform.push(node.assemble());(node instanceof FilterInvalidNode||node instanceof BinNode||node instanceof TimeUnitNode||node instanceof StackNode)&&(dataSource.transform=dataSource.transform.concat(node.assemble()));node instanceof AggregateNode&&(dataSource.name||(dataSource.name="data_"+datasetIndex++));if(node instanceof OutputNode)if(dataSource.source&&0===dataSource.transform.length)node.setSource(dataSource.source);else if(node.parent instanceof OutputNode)node.setSource(dataSource.name);else{dataSource.name||(dataSource.name="data_"+datasetIndex++);node.setSource(dataSource.name);if(1===node.numChildren()){data.push(dataSource);newData={name:null,source:dataSource.name,transform:[]};dataSource=newData}}switch(node.numChildren()){case 0:node instanceof OutputNode&&(!dataSource.source||dataSource.transform.length>0)&&data.push(dataSource);break;case 1:walkTree(node.children[0],dataSource);break;default:dataSource.name||(dataSource.name="data_"+datasetIndex++);var source_1=dataSource.name;!dataSource.source||dataSource.transform.length>0?data.push(dataSource):source_1=dataSource.source;node.children.forEach(function(child){var newData={name:null,source:source_1,transform:[]};walkTree(child,newData)})}}return walkTree}function assembleFacetData(root){var data=[];var walkTree=makeWalkTree(data);root.children.forEach(function(child){return walkTree(child,{source:root.name,name:null,transform:[]})});return data}function assembleRootData(dataComponent,datasets){var roots=vals(dataComponent.sources);var data=[];var walkTree=makeWalkTree(data);var sourceIndex=0;roots.forEach(function(root){root.hasName()||(root.dataName="source_"+sourceIndex++);var newData=root.assemble();walkTree(root,newData)});data.forEach(function(d){0===d.transform.length&&delete d.transform});var whereTo=0;for(var i=0;i<data.length;i++){var d=data[i];0!==(d.transform||[]).length||d.source||data.splice(whereTo++,0,data.splice(i,1)[0])}for(var _i=0,data_1=data;_i<data_1.length;_i++){d=data_1[_i];for(var _a=0,_b=d.transform||[];_a<_b.length;_a++){var t=_b[_a];"lookup"===t.type&&(t.from=dataComponent.outputNodes[t.from].getSource())}}for(var _c=0,data_2=data;_c<data_2.length;_c++){d=data_2[_c];d.name in datasets&&(d.values=datasets[d.name])}return data}function parseLayerLayoutSize(model){parseChildrenLayoutSize(model);var layoutSizeCmpt=model.component.layoutSize;layoutSizeCmpt.setWithExplicit("width",parseNonUnitLayoutSizeForChannel(model,"width"));layoutSizeCmpt.setWithExplicit("height",parseNonUnitLayoutSizeForChannel(model,"height"))}var parseRepeatLayoutSize=parseLayerLayoutSize;function parseConcatLayoutSize(model){parseChildrenLayoutSize(model);var layoutSizeCmpt=model.component.layoutSize;var sizeTypeToMerge=model.isVConcat?"width":"height";layoutSizeCmpt.setWithExplicit(sizeTypeToMerge,parseNonUnitLayoutSizeForChannel(model,sizeTypeToMerge))}function parseChildrenLayoutSize(model){for(var _i=0,_a=model.children;_i<_a.length;_i++){var child=_a[_i];child.parseLayoutSize()}}function parseNonUnitLayoutSizeForChannel(model,sizeType){var channel="width"===sizeType?"x":"y";var resolve=model.component.resolve;var mergedSize;for(var _i=0,_a=model.children;_i<_a.length;_i++){var child=_a[_i];var childSize=child.component.layoutSize.getWithExplicit(sizeType);var scaleResolve=resolve.scale[channel];if("independent"===scaleResolve&&"range-step"===childSize.value){mergedSize=void 0;break}if(mergedSize){if("independent"===scaleResolve&&mergedSize.value!==childSize.value){mergedSize=void 0;break}mergedSize=mergeValuesWithExplicit(mergedSize,childSize,sizeType,"")}else mergedSize=childSize}if(mergedSize){for(var _b=0,_c=model.children;_b<_c.length;_b++){child=_c[_b];model.renameLayoutSize(child.getName(sizeType),model.getName(sizeType));child.component.layoutSize.set(sizeType,"merged",false)}return mergedSize}return{explicit:false,value:void 0}}function parseUnitLayoutSize(model){var layoutSizeComponent=model.component.layoutSize;if(!layoutSizeComponent.explicit.width){var width=defaultUnitSize(model,"width");layoutSizeComponent.set("width",width,false)}if(!layoutSizeComponent.explicit.height){var height=defaultUnitSize(model,"height");layoutSizeComponent.set("height",height,false)}}function defaultUnitSize(model,sizeType){var channel="width"===sizeType?"x":"y";var config=model.config;var scaleComponent=model.getScaleComponent(channel);if(scaleComponent){var scaleType=scaleComponent.get("type");var range=scaleComponent.get("range");return hasDiscreteDomain(scaleType)&&isVgRangeStep(range)?"range-step":config.view[sizeType]}if(model.hasProjection)return config.view[sizeType];if("width"===sizeType&&"text"===model.mark)return config.scale.textXRangeStep;return config.scale.rangeStep||defaultScaleConfig.rangeStep}function replaceRepeaterInFacet(facet,repeater){return replaceRepeater(facet,repeater)}function replaceRepeaterInEncoding(encoding,repeater){return replaceRepeater(encoding,repeater)}function replaceRepeat(o,repeater){if(isRepeatRef(o.field)){if(o.field.repeat in repeater)return __assign({},o,{field:repeater[o.field.repeat]});warn(message.noSuchRepeatedValue(o.field.repeat));return}return o}function replaceRepeaterInFieldDef(fieldDef,repeater){fieldDef=replaceRepeat(fieldDef,repeater);if(void 0===fieldDef)return;if(fieldDef.sort&&isSortField(fieldDef.sort)){var sort=replaceRepeat(fieldDef.sort,repeater);fieldDef=__assign({},fieldDef,sort?{sort:sort}:{})}return fieldDef}function replaceRepeaterInChannelDef(channelDef,repeater){if(!isFieldDef(channelDef)){if(hasConditionalFieldDef(channelDef)){fd=replaceRepeaterInFieldDef(channelDef.condition,repeater);if(fd)return __assign({},channelDef,{condition:fd});channelDef.condition;var channelDefWithoutCondition=__rest(channelDef,["condition"]);return channelDefWithoutCondition}return channelDef}var fd=replaceRepeaterInFieldDef(channelDef,repeater);if(fd)return fd;if(isConditionalDef(channelDef))return{condition:channelDef.condition};return}function replaceRepeater(mapping,repeater){var out={};for(var channel in mapping)if(mapping.hasOwnProperty(channel)){var channelDef=mapping[channel];if(isArray(channelDef))out[channel]=channelDef.map(function(cd){return replaceRepeaterInChannelDef(cd,repeater)}).filter(function(cd){return cd});else{var cd=replaceRepeaterInChannelDef(channelDef,repeater);cd&&(out[channel]=cd)}}return out}function facetSortFieldName(fieldDef,sort,expr){return vgField(sort,{expr:expr,suffix:"by_"+vgField(fieldDef)})}var FacetModel=function(_super){__extends(FacetModel,_super);function FacetModel(spec,parent,parentGivenName,repeater,config){var _this=_super.call(this,spec,parent,parentGivenName,config,repeater,spec.resolve)||this;_this.type="facet";_this.child=buildModel(spec.spec,_this,_this.getName("child"),void 0,repeater,config,false);_this.children=[_this.child];var facet=replaceRepeaterInFacet(spec.facet,repeater);_this.facet=_this.initFacet(facet);return _this}FacetModel.prototype.initFacet=function(facet){return reduce(facet,function(normalizedFacet,fieldDef,channel){if(!contains([ROW,COLUMN],channel)){warn(message.incompatibleChannel(channel,"facet"));return normalizedFacet}if(void 0===fieldDef.field){warn(message.emptyFieldDef(fieldDef,channel));return normalizedFacet}normalizedFacet[channel]=normalize(fieldDef,channel);return normalizedFacet},{})};FacetModel.prototype.channelHasField=function(channel){return!!this.facet[channel]};FacetModel.prototype.fieldDef=function(channel){return this.facet[channel]};FacetModel.prototype.parseData=function(){this.component.data=parseData(this);this.child.parseData()};FacetModel.prototype.parseLayoutSize=function(){parseChildrenLayoutSize(this)};FacetModel.prototype.parseSelection=function(){this.child.parseSelection();this.component.selection=this.child.component.selection};FacetModel.prototype.parseMarkGroup=function(){this.child.parseMarkGroup()};FacetModel.prototype.parseAxisAndHeader=function(){this.child.parseAxisAndHeader();this.parseHeader("column");this.parseHeader("row");this.mergeChildAxis("x");this.mergeChildAxis("y")};FacetModel.prototype.parseHeader=function(channel){if(this.channelHasField(channel)){var fieldDef=this.facet[channel];var header=fieldDef.header||{};var title$$1=void 0!==fieldDef.title?fieldDef.title:void 0!==header.title?header.title:title(fieldDef,this.config);if(this.child.component.layoutHeaders[channel].title){title$$1+=" / "+this.child.component.layoutHeaders[channel].title;this.child.component.layoutHeaders[channel].title=null}this.component.layoutHeaders[channel]={title:title$$1,facetFieldDef:fieldDef,header:[this.makeHeaderComponent(channel,true)]}}};FacetModel.prototype.makeHeaderComponent=function(channel,labels){var sizeType="row"===channel?"height":"width";return{labels:labels,sizeSignal:this.child.component.layoutSize.get(sizeType)?this.child.getSizeSignalRef(sizeType):void 0,axes:[]}};FacetModel.prototype.mergeChildAxis=function(channel){var child=this.child;if(child.component.axes[channel]){var _a=this.component,layoutHeaders=_a.layoutHeaders,resolve=_a.resolve;resolve.axis[channel]=parseGuideResolve(resolve,channel);if("shared"===resolve.axis[channel]){var headerChannel="x"===channel?"column":"row";var layoutHeader=layoutHeaders[headerChannel];for(var _i=0,_b=child.component.axes[channel];_i<_b.length;_i++){var axisComponent=_b[_i];var headerType=getHeaderType(axisComponent.get("orient"));layoutHeader[headerType]=layoutHeader[headerType]||[this.makeHeaderComponent(headerChannel,false)];var mainAxis=assembleAxis(axisComponent,"main",this.config,{header:true});layoutHeader[headerType][0].axes.push(mainAxis);axisComponent.mainExtracted=true}}}};FacetModel.prototype.assembleSelectionTopLevelSignals=function(signals){return this.child.assembleSelectionTopLevelSignals(signals)};FacetModel.prototype.assembleSelectionSignals=function(){this.child.assembleSelectionSignals();return[]};FacetModel.prototype.assembleSelectionData=function(data){return this.child.assembleSelectionData(data)};FacetModel.prototype.getHeaderLayoutMixins=function(){var _this=this;var layoutMixins={};["row","column"].forEach(function(channel){["header","footer"].forEach(function(headerType){var layoutHeaderComponent=_this.component.layoutHeaders[channel];var headerComponent=layoutHeaderComponent[headerType];if(headerComponent&&headerComponent[0]){var sizeType="row"===channel?"height":"width";var bandType="header"===headerType?"headerBand":"footerBand";if(!_this.child.component.layoutSize.get(sizeType)){layoutMixins[bandType]=layoutMixins[bandType]||{};layoutMixins[bandType][channel]=.5}if(layoutHeaderComponent.title){layoutMixins.offset=layoutMixins.offset||{};layoutMixins.offset["row"===channel?"rowTitle":"columnTitle"]=10}}})});return layoutMixins};FacetModel.prototype.assembleDefaultLayout=function(){var columns=this.channelHasField("column")?this.columnDistinctSignal():1;return __assign({},this.getHeaderLayoutMixins(),{columns:columns,bounds:"full",align:"all"})};FacetModel.prototype.assembleLayoutSignals=function(){return this.child.assembleLayoutSignals()};FacetModel.prototype.columnDistinctSignal=function(){if(this.parent&&this.parent instanceof FacetModel)return;var facetLayoutDataName=this.getName("column_domain");return{signal:"length(data('"+facetLayoutDataName+"'))"}};FacetModel.prototype.assembleGroup=function(signals){if(this.parent&&this.parent instanceof FacetModel)return __assign({},this.channelHasField("column")?{encode:{update:{columns:{field:vgField(this.facet.column,{prefix:"distinct"})}}}}:{},_super.prototype.assembleGroup.call(this,signals));return _super.prototype.assembleGroup.call(this,signals)};FacetModel.prototype.getCardinalityAggregateForChild=function(){var fields=[];var ops=[];var as=[];if(this.child instanceof FacetModel){if(this.child.channelHasField("column")){var field$$1=vgField(this.child.facet.column);fields.push(field$$1);ops.push("distinct");as.push("distinct_"+field$$1)}}else for(var _i=0,_a=["x","y"];_i<_a.length;_i++){var channel=_a[_i];var childScaleComponent=this.child.component.scales[channel];if(childScaleComponent&&!childScaleComponent.merged){var type=childScaleComponent.get("type");var range=childScaleComponent.get("range");if(hasDiscreteDomain(type)&&isVgRangeStep(range)){var domain=assembleDomain(this.child,channel);field$$1=getFieldFromDomain(domain);if(field$$1){fields.push(field$$1);ops.push("distinct");as.push("distinct_"+field$$1)}else warn("Unknown field for ${channel}.  Cannot calculate view size.")}}}return{fields:fields,ops:ops,as:as}};FacetModel.prototype.assembleFacet=function(){var _this=this;var _a=this.component.data.facetRoot,name=_a.name,data=_a.data;var _b=this.facet,row=_b.row,column=_b.column;var _c=this.getCardinalityAggregateForChild(),fields=_c.fields,ops=_c.ops,as=_c.as;var groupby=[];["row","column"].forEach(function(channel){var fieldDef=_this.facet[channel];if(fieldDef){groupby.push(vgField(fieldDef));var sort=fieldDef.sort;if(isSortField(sort)){var field$$1=sort.field,op=sort.op;var outputName=facetSortFieldName(fieldDef,sort);if(row&&column){fields.push(outputName);ops.push("max");as.push(outputName)}else{fields.push(field$$1);ops.push(op);as.push(outputName)}}else if(isArray(sort)){outputName=sortArrayIndexField(fieldDef,channel);fields.push(outputName);ops.push("max");as.push(outputName)}}});var cross=!!row&&!!column;return __assign({name:name,data:data,groupby:groupby},cross||fields.length?{aggregate:__assign({},cross?{cross:cross}:{},fields.length?{fields:fields,ops:ops,as:as}:{})}:{})};FacetModel.prototype.headerSortFields=function(channel){var facet=this.facet;var fieldDef=facet[channel];if(fieldDef){if(isSortField(fieldDef.sort))return[facetSortFieldName(fieldDef,fieldDef.sort,"datum")];if(isArray(fieldDef.sort))return[sortArrayIndexField(fieldDef,channel,"datum")];return[vgField(fieldDef,{expr:"datum"})]}return[]};FacetModel.prototype.headerSortOrder=function(channel){var facet=this.facet;var fieldDef=facet[channel];if(fieldDef){var sort=fieldDef.sort;var order=(isSortField(sort)?sort.order:!isArray(sort)&&sort)||"ascending";return[order]}return[]};FacetModel.prototype.assembleMarks=function(){var child=this.child;var facetRoot=this.component.data.facetRoot;var data=assembleFacetData(facetRoot);var layoutSizeEncodeEntry=child.assembleLayoutSize();var title$$1=child.assembleTitle();var style=child.assembleGroupStyle();var markGroup=__assign({name:this.getName("cell"),type:"group"},title$$1?{title:title$$1}:{},style?{style:style}:{},{from:{facet:this.assembleFacet()},sort:{field:this.headerSortFields("row").concat(this.headerSortFields("column")),order:this.headerSortOrder("row").concat(this.headerSortOrder("column"))}},data.length>0?{data:data}:{},layoutSizeEncodeEntry?{encode:{update:layoutSizeEncodeEntry}}:{},child.assembleGroup());return[markGroup]};FacetModel.prototype.getMapping=function(){return this.facet};return FacetModel}(ModelWithField);var WindowTransformNode=function(_super){__extends(WindowTransformNode,_super);function WindowTransformNode(parent,transform){var _this=_super.call(this,parent)||this;_this.transform=transform;return _this}WindowTransformNode.makeFromFacet=function(parent,facet){var row=facet.row,column=facet.column;if(row&&column){var newParent=null;for(var _i=0,_a=[row,column];_i<_a.length;_i++){var fieldDef=_a[_i];if(isSortField(fieldDef.sort)){var _b=fieldDef.sort,field=_b.field,op=_b.op;parent=newParent=new WindowTransformNode(parent,{window:[{op:op,field:field,as:facetSortFieldName(fieldDef,fieldDef.sort)}],groupby:[vgField(fieldDef)],frame:[null,null]})}}return newParent}return null};WindowTransformNode.prototype.clone=function(){return new WindowTransformNode(this.parent,duplicate(this.transform))};WindowTransformNode.prototype.producedFields=function(){var _this=this;var out={};this.transform.window.forEach(function(windowFieldDef){out[_this.getDefaultName(windowFieldDef)]=true});return out};WindowTransformNode.prototype.getDefaultName=function(windowFieldDef){return windowFieldDef.as||vgField(windowFieldDef)};WindowTransformNode.prototype.assemble=function(){var fields=[];var ops=[];var as=[];var params=[];for(var _i=0,_a=this.transform.window;_i<_a.length;_i++){var window_1=_a[_i];ops.push(window_1.op);as.push(this.getDefaultName(window_1));params.push(void 0===window_1.param?null:window_1.param);fields.push(void 0===window_1.field?null:window_1.field)}var frame=this.transform.frame;var groupby=this.transform.groupby;var sortFields=[];var sortOrder=[];if(void 0!==this.transform.sort)for(var _b=0,_c=this.transform.sort;_b<_c.length;_b++){var sortField=_c[_b];sortFields.push(sortField.field);sortOrder.push(sortField.order||"ascending")}var sort={field:sortFields,order:sortOrder};var ignorePeers=this.transform.ignorePeers;var result={type:"window",params:params,as:as,ops:ops,fields:fields,sort:sort};void 0!==ignorePeers&&(result.ignorePeers=ignorePeers);void 0!==groupby&&(result.groupby=groupby);void 0!==frame&&(result.frame=frame);return result};return WindowTransformNode}(DataFlowNode);function parseRoot(model,sources){if(model.data||!model.parent){var source=new SourceNode(model.data);var hash$$1=source.hash();if(hash$$1 in sources)return sources[hash$$1];sources[hash$$1]=source;return source}return model.parent.component.data.facetRoot?model.parent.component.data.facetRoot:model.parent.component.data.main}function parseTransformArray(head,model,ancestorParse){var lookupCounter=0;model.transforms.forEach(function(t){if(isCalculate(t)){head=new CalculateNode(head,t);ancestorParse.set(t.as,"derived",false)}else if(isFilter(t)){head=ParseNode.makeImplicitFromFilterTransform(head,t,ancestorParse)||head;head=new FilterNode(head,model,t.filter)}else if(isBin(t)){var bin=head=BinNode.makeFromTransform(head,t,model);for(var _i=0,_a=keys(bin.producedFields());_i<_a.length;_i++){var field=_a[_i];ancestorParse.set(field,"number",false)}}else if(isTimeUnit$1(t)){head=TimeUnitNode.makeFromTransform(head,t);ancestorParse.set(t.as,"date",false)}else if(isAggregate$1(t)){var agg=head=AggregateNode.makeFromTransform(head,t);requiresSelectionId(model)&&(head=new IdentifierNode(head));for(var _b=0,_c=keys(agg.producedFields());_b<_c.length;_b++){field=_c[_b];ancestorParse.set(field,"derived",false)}}else if(isLookup(t)){var lookup=head=LookupNode.make(head,model,t,lookupCounter++);for(var _d=0,_e=keys(lookup.producedFields());_d<_e.length;_d++){field=_e[_d];ancestorParse.set(field,"derived",false)}}else if(isWindow(t)){var window_1=head=new WindowTransformNode(head,t);for(var _f=0,_g=keys(window_1.producedFields());_f<_g.length;_f++){field=_g[_f];ancestorParse.set(field,"derived",false)}}else{if(!isStack(t)){warn(message.invalidTransformIgnored(t));return}var stack=head=StackNode.makeFromTransform(head,t);for(var _h=0,_j=keys(stack.producedFields());_h<_j.length;_h++){field=_j[_h];ancestorParse.set(field,"derived",false)}}});return head}function parseData(model){var head=parseRoot(model,model.component.data.sources);var _a=model.component.data,outputNodes=_a.outputNodes,outputNodeRefCounts=_a.outputNodeRefCounts;var ancestorParse=model.parent?model.parent.component.data.ancestorParse.clone():new AncestorParse;model.data&&model.data.format&&null===model.data.format.parse&&(ancestorParse.parseNothing=true);head=ParseNode.makeExplicit(head,model,ancestorParse)||head;requiresSelectionId(model)&&(isUnitModel(model)||isLayerModel(model))&&(head=new IdentifierNode(head));var parentIsLayer=model.parent&&isLayerModel(model.parent);(isUnitModel(model)||isFacetModel(model))&&parentIsLayer&&(head=BinNode.makeFromEncoding(head,model)||head);model.transforms.length>0&&(head=parseTransformArray(head,model,ancestorParse));head=ParseNode.makeImplicitFromEncoding(head,model,ancestorParse)||head;if(isUnitModel(model)){head=GeoJSONNode.parseAll(head,model);head=GeoPointNode.parseAll(head,model)}if(isUnitModel(model)||isFacetModel(model)){parentIsLayer||(head=BinNode.makeFromEncoding(head,model)||head);head=TimeUnitNode.makeFromEncoding(head,model)||head;head=CalculateNode.parseAllForSortIndex(head,model)}var rawName=model.getName(RAW);var raw=new OutputNode(head,rawName,RAW,outputNodeRefCounts);outputNodes[rawName]=raw;head=raw;if(isUnitModel(model)){var agg=AggregateNode.makeFromEncoding(head,model);if(agg){head=agg;requiresSelectionId(model)&&(head=new IdentifierNode(head))}head=StackNode.makeFromEncoding(head,model)||head}isUnitModel(model)&&(head=FilterInvalidNode.make(head,model)||head);var mainName=model.getName(MAIN);var main=new OutputNode(head,mainName,MAIN,outputNodeRefCounts);outputNodes[mainName]=main;head=main;var facetRoot=null;if(isFacetModel(model)){var facetName=model.getName("facet");head=CalculateNode.parseAllForSortIndex(head,model);head=WindowTransformNode.makeFromFacet(head,model.facet)||head;facetRoot=new FacetNode(head,model,facetName,main.getSource());outputNodes[facetName]=facetRoot;head=facetRoot}return __assign({},model.component.data,{outputNodes:outputNodes,outputNodeRefCounts:outputNodeRefCounts,raw:raw,main:main,facetRoot:facetRoot,ancestorParse:ancestorParse})}var BaseConcatModel=function(_super){__extends(BaseConcatModel,_super);function BaseConcatModel(spec,parent,parentGivenName,config,repeater,resolve){return _super.call(this,spec,parent,parentGivenName,config,repeater,resolve)||this}BaseConcatModel.prototype.parseData=function(){this.component.data=parseData(this);this.children.forEach(function(child){child.parseData()})};BaseConcatModel.prototype.parseSelection=function(){var _this=this;this.component.selection={};var _loop_1=function(child){child.parseSelection();keys(child.component.selection).forEach(function(key){_this.component.selection[key]=child.component.selection[key]})};for(var _i=0,_a=this.children;_i<_a.length;_i++){var child=_a[_i];_loop_1(child)}};BaseConcatModel.prototype.parseMarkGroup=function(){for(var _i=0,_a=this.children;_i<_a.length;_i++){var child=_a[_i];child.parseMarkGroup()}};BaseConcatModel.prototype.parseAxisAndHeader=function(){for(var _i=0,_a=this.children;_i<_a.length;_i++){var child=_a[_i];child.parseAxisAndHeader()}};BaseConcatModel.prototype.assembleSelectionTopLevelSignals=function(signals){return this.children.reduce(function(sg,child){return child.assembleSelectionTopLevelSignals(sg)},signals)};BaseConcatModel.prototype.assembleSelectionSignals=function(){this.children.forEach(function(child){return child.assembleSelectionSignals()});return[]};BaseConcatModel.prototype.assembleLayoutSignals=function(){return this.children.reduce(function(signals,child){return signals.concat(child.assembleLayoutSignals())},assembleLayoutSignals(this))};BaseConcatModel.prototype.assembleSelectionData=function(data){return this.children.reduce(function(db,child){return child.assembleSelectionData(db)},data)};BaseConcatModel.prototype.assembleMarks=function(){return this.children.map(function(child){var title=child.assembleTitle();var style=child.assembleGroupStyle();var layoutSizeEncodeEntry=child.assembleLayoutSize();return __assign({type:"group",name:child.getName("group")},title?{title:title}:{},style?{style:style}:{},layoutSizeEncodeEntry?{encode:{update:layoutSizeEncodeEntry}}:{},child.assembleGroup())})};return BaseConcatModel}(Model);var ConcatModel=function(_super){__extends(ConcatModel,_super);function ConcatModel(spec,parent,parentGivenName,repeater,config){var _this=_super.call(this,spec,parent,parentGivenName,config,repeater,spec.resolve)||this;_this.type="concat";spec.resolve&&spec.resolve.axis&&("shared"===spec.resolve.axis.x||"shared"===spec.resolve.axis.y)&&warn(message.CONCAT_CANNOT_SHARE_AXIS);_this.isVConcat=isVConcatSpec(spec);_this.children=(isVConcatSpec(spec)?spec.vconcat:spec.hconcat).map(function(child,i){return buildModel(child,_this,_this.getName("concat_"+i),void 0,repeater,config,false)});return _this}ConcatModel.prototype.parseLayoutSize=function(){parseConcatLayoutSize(this)};ConcatModel.prototype.parseAxisGroup=function(){return null};ConcatModel.prototype.assembleDefaultLayout=function(){return __assign({},this.isVConcat?{columns:1}:{},{bounds:"full",align:"each"})};return ConcatModel}(BaseConcatModel);function isFalseOrNull(v){return false===v||null===v}var AxisComponent=function(_super){__extends(AxisComponent,_super);function AxisComponent(explicit,implicit,mainExtracted){void 0===explicit&&(explicit={});void 0===implicit&&(implicit={});void 0===mainExtracted&&(mainExtracted=false);var _this=_super.call(this)||this;_this.explicit=explicit;_this.implicit=implicit;_this.mainExtracted=mainExtracted;return _this}AxisComponent.prototype.clone=function(){return new AxisComponent(duplicate(this.explicit),duplicate(this.implicit),this.mainExtracted)};AxisComponent.prototype.hasAxisPart=function(part){if("axis"===part)return true;if("grid"===part||"title"===part)return!!this.get(part);return!isFalseOrNull(this.get(part))};return AxisComponent}(Split);function getAxisConfig(property,config,channel,orient,scaleType){void 0===orient&&(orient="");var configTypes=("band"===scaleType?["axisBand"]:[]).concat(["x"===channel?"axisX":"axisY","axis"+orient.substr(0,1).toUpperCase()+orient.substr(1),"axis"]);for(var _i=0,configTypes_1=configTypes;_i<configTypes_1.length;_i++){var configType=configTypes_1[_i];if(config[configType]&&void 0!==config[configType][property])return config[configType][property]}return}function labels$1(model,channel,specifiedLabelsSpec,orient){var fieldDef=model.fieldDef(channel)||("x"===channel?model.fieldDef("x2"):"y"===channel?model.fieldDef("y2"):void 0);var axis=model.axis(channel);var config=model.config;var labelsSpec={};if(isTimeFieldDef(fieldDef)){var isUTCScale=model.getScaleComponent(channel).get("type")===ScaleType.UTC;var expr=timeFormatExpression("datum.value",fieldDef.timeUnit,axis.format,config.axis.shortTimeLabels,config.timeFormat,isUTCScale);expr&&(labelsSpec.text={signal:expr})}var angle=getAxisConfig("labelAngle",model.config,channel,orient,model.getScaleComponent(channel).get("type"));if(void 0===angle){angle=labelAngle(axis,channel,fieldDef);angle&&(labelsSpec.angle={value:angle})}if(void 0!==angle){var align=labelAlign$1(angle,orient);align&&(labelsSpec.align={value:align});labelsSpec.baseline=labelBaseline$1(angle,orient)}labelsSpec=__assign({},labelsSpec,specifiedLabelsSpec);return 0===keys(labelsSpec).length?void 0:labelsSpec}function labelBaseline$1(angle,orient){return"top"===orient||"bottom"===orient?angle<=45||315<=angle?{value:"top"===orient?"bottom":"top"}:135<=angle&&angle<=225?{value:"top"===orient?"top":"bottom"}:{value:"middle"}:angle<=45||315<=angle||135<=angle&&angle<=225?{value:"middle"}:45<=angle&&angle<=135?{value:"left"===orient?"top":"bottom"}:{value:"left"===orient?"bottom":"top"}}function labelAngle(axis,channel,fieldDef){if(void 0!==axis.labelAngle)return(axis.labelAngle%360+360)%360;if(channel===X&&contains([NOMINAL,ORDINAL],fieldDef.type))return 270;return}function labelAlign$1(angle,orient){angle=(angle%360+360)%360;return"top"===orient||"bottom"===orient?angle%180===0?"center":0<angle&&angle<180?"top"===orient?"right":"left":"top"===orient?"left":"right":(angle+90)%180===0?"center":90<=angle&&angle<270?"left"===orient?"left":"right":"left"===orient?"right":"left"}function grid(scaleType,fieldDef){return!hasDiscreteDomain(scaleType)&&!fieldDef.bin}function gridScale(model,channel){var gridChannel="x"===channel?"y":"x";if(model.getScaleComponent(gridChannel))return model.scaleName(gridChannel);return}function labelFlush(fieldDef,channel,specifiedAxis){if(void 0!==specifiedAxis.labelFlush)return specifiedAxis.labelFlush;if("x"===channel&&contains(["quantitative","temporal"],fieldDef.type))return true;return}function labelOverlap(fieldDef,specifiedAxis,channel,scaleType){if(void 0!==specifiedAxis.labelOverlap)return specifiedAxis.labelOverlap;if("nominal"!==fieldDef.type){if("log"===scaleType)return"greedy";return true}return}function orient(channel){switch(channel){case X:return"bottom";case Y:return"left"}throw new Error(message.INVALID_CHANNEL_FOR_AXIS)}function tickCount(channel,fieldDef,scaleType,size){if(!hasDiscreteDomain(scaleType)&&"log"!==scaleType&&!contains(["month","hours","day","quarter"],fieldDef.timeUnit)){if(fieldDef.bin)return{signal:"ceil("+size.signal+"/20)"};return{signal:"ceil("+size.signal+"/40)"}}return}function values$1(specifiedAxis,model,fieldDef,channel){var vals$$1=specifiedAxis.values;if(vals$$1)return valueArray(fieldDef,vals$$1);if(fieldDef.bin&&fieldDef.type===QUANTITATIVE){var domain=model.scaleDomain(channel);if(domain&&"unaggregated"!==domain&&!isSelectionDomain(domain))return;var signal=model.getName(binToString(fieldDef.bin)+"_"+fieldDef.field+"_bins");return{signal:"sequence("+signal+".start, "+signal+".stop + "+signal+".step, "+signal+".step)"}}return}function parseUnitAxis(model){return POSITION_SCALE_CHANNELS.reduce(function(axis,channel){model.component.scales[channel]&&model.axis(channel)&&(axis[channel]=[parseAxis(channel,model)]);return axis},{})}var OPPOSITE_ORIENT={bottom:"top",top:"bottom",left:"right",right:"left"};function parseLayerAxis(model){var _a=model.component,axes=_a.axes,resolve=_a.resolve;var axisCount={top:0,bottom:0,right:0,left:0};for(var _i=0,_b=model.children;_i<_b.length;_i++){var child=_b[_i];child.parseAxisAndHeader();for(var _c=0,_d=keys(child.component.axes);_c<_d.length;_c++){var channel=_d[_c];resolve.axis[channel]=parseGuideResolve(model.component.resolve,channel);if("shared"===resolve.axis[channel]){axes[channel]=mergeAxisComponents(axes[channel],child.component.axes[channel]);if(!axes[channel]){resolve.axis[channel]="independent";delete axes[channel]}}}}for(var _e=0,_f=[X,Y];_e<_f.length;_e++){channel=_f[_e];for(var _g=0,_h=model.children;_g<_h.length;_g++){child=_h[_g];if(!child.component.axes[channel])continue;if("independent"===resolve.axis[channel]){axes[channel]=(axes[channel]||[]).concat(child.component.axes[channel]);for(var _j=0,_k=child.component.axes[channel];_j<_k.length;_j++){var axisComponent=_k[_j];var _l=axisComponent.getWithExplicit("orient"),orient$$1=_l.value,explicit=_l.explicit;if(axisCount[orient$$1]>0&&!explicit){var oppositeOrient=OPPOSITE_ORIENT[orient$$1];axisCount[orient$$1]>axisCount[oppositeOrient]&&axisComponent.set("orient",oppositeOrient,false)}axisCount[orient$$1]++}}delete child.component.axes[channel]}}}function mergeAxisComponents(mergedAxisCmpts,childAxisCmpts){if(!mergedAxisCmpts)return childAxisCmpts.map(function(axisComponent){return axisComponent.clone()});if(mergedAxisCmpts.length!==childAxisCmpts.length)return;var length_1=mergedAxisCmpts.length;for(var i=0;i<length_1;i++){var merged=mergedAxisCmpts[i];var child=childAxisCmpts[i];if(!!merged!==!!child)return;if(merged&&child){var mergedOrient=merged.getWithExplicit("orient");var childOrient=child.getWithExplicit("orient");if(mergedOrient.explicit&&childOrient.explicit&&mergedOrient.value!==childOrient.value)return;mergedAxisCmpts[i]=mergeAxisComponent(merged,child)}}return mergedAxisCmpts}function mergeAxisComponent(merged,child){var _loop_1=function(prop){var mergedValueWithExplicit=mergeValuesWithExplicit(merged.getWithExplicit(prop),child.getWithExplicit(prop),prop,"axis",function(v1,v2){switch(prop){case"title":return mergeTitleComponent(v1,v2);case"gridScale":return{explicit:v1.explicit,value:v1.value||v2.value}}return defaultTieBreaker(v1,v2,prop,"axis")});merged.setWithExplicit(prop,mergedValueWithExplicit)};for(var _i=0,VG_AXIS_PROPERTIES_1=VG_AXIS_PROPERTIES;_i<VG_AXIS_PROPERTIES_1.length;_i++){var prop=VG_AXIS_PROPERTIES_1[_i];_loop_1(prop)}return merged}function getFieldDefTitle(model,channel){var channel2="x"===channel?"x2":"y2";var fieldDef=model.fieldDef(channel);var fieldDef2=model.fieldDef(channel2);var title1=fieldDef?fieldDef.title:void 0;var title2=fieldDef2?fieldDef2.title:void 0;if(title1&&title2)return mergeTitle(title1,title2);if(title1)return title1;if(title2)return title2;if(void 0!==title1)return title1;if(void 0!==title2)return title2;return}function parseAxis(channel,model){var axis=model.axis(channel);var axisComponent=new AxisComponent;VG_AXIS_PROPERTIES.forEach(function(property){var value=getProperty$1(property,axis,channel,model);if(void 0!==value){var explicit="values"===property?!!axis.values:"encode"===property?!!axis.encoding||!!axis.labelAngle:"title"===property&&value===getFieldDefTitle(model,channel)||value===axis[property];var configValue=getAxisConfig(property,model.config,channel,axisComponent.get("orient"),model.getScaleComponent(channel).get("type"));explicit||void 0===configValue?axisComponent.set(property,value,explicit):"grid"===property&&configValue&&axisComponent.set(property,configValue,false)}});var axisEncoding=axis.encoding||{};var axisEncode=AXIS_PARTS.reduce(function(e,part){if(!axisComponent.hasAxisPart(part))return e;var axisEncodingPart=guideEncodeEntry(axisEncoding[part]||{},model);var value="labels"===part?labels$1(model,channel,axisEncodingPart,axisComponent.get("orient")):axisEncodingPart;void 0!==value&&keys(value).length>0&&(e[part]={update:value});return e},{});keys(axisEncode).length>0&&axisComponent.set("encode",axisEncode,!!axis.encoding||void 0!==axis.labelAngle);return axisComponent}function getProperty$1(property,specifiedAxis,channel,model){var fieldDef=model.fieldDef(channel);switch(property){case"scale":return model.scaleName(channel);case"gridScale":return gridScale(model,channel);case"format":return numberFormat(fieldDef,specifiedAxis.format,model.config);case"grid":var scaleType=model.getScaleComponent(channel).get("type");return getSpecifiedOrDefaultValue(specifiedAxis.grid,grid(scaleType,fieldDef));case"labelFlush":return labelFlush(fieldDef,channel,specifiedAxis);case"labelOverlap":scaleType=model.getScaleComponent(channel).get("type");return labelOverlap(fieldDef,specifiedAxis,channel,scaleType);case"orient":return getSpecifiedOrDefaultValue(specifiedAxis.orient,orient(channel));case"tickCount":scaleType=model.getScaleComponent(channel).get("type");var sizeType="x"===channel?"width":"y"===channel?"height":void 0;var size=sizeType?model.getSizeSignalRef(sizeType):void 0;return getSpecifiedOrDefaultValue(specifiedAxis.tickCount,tickCount(channel,fieldDef,scaleType,size));case"title":var channel2="x"===channel?"x2":"y2";var fieldDef2=model.fieldDef(channel2);var fieldDefTitle=getFieldDefTitle(model,channel);var specifiedTitle=void 0!==fieldDefTitle?fieldDefTitle:void 0===specifiedAxis.title?void 0:specifiedAxis.title;return getSpecifiedOrDefaultValue(specifiedTitle,mergeTitleFieldDefs([toFieldDefBase(fieldDef)],fieldDef2?[toFieldDefBase(fieldDef2)]:[]));case"values":return values$1(specifiedAxis,model,fieldDef,channel)}return isAxisProperty(property)?specifiedAxis[property]:void 0}function normalizeMarkDef(mark,encoding,config){var markDef=isMarkDef(mark)?__assign({},mark):{type:mark};var specifiedOrient=markDef.orient||getMarkConfig("orient",markDef,config);markDef.orient=orient$1(markDef.type,encoding,specifiedOrient);void 0!==specifiedOrient&&specifiedOrient!==markDef.orient&&warn(message.orientOverridden(markDef.orient,specifiedOrient));var specifiedOpacity=void 0!==markDef.opacity?markDef.opacity:getMarkConfig("opacity",markDef,config);void 0===specifiedOpacity&&(markDef.opacity=opacity(markDef.type,encoding));var specifiedFilled=markDef.filled;void 0===specifiedFilled&&(markDef.filled=filled(markDef,config));var specifiedCursor=markDef.cursor||getMarkConfig("cursor",markDef,config);void 0===specifiedCursor&&(markDef.cursor=cursor(markDef,encoding,config));return markDef}function cursor(markDef,encoding,config){if(encoding.href||markDef.href||getMarkConfig("href",markDef,config))return"pointer";return markDef.cursor}function opacity(mark,encoding){if(contains([POINT,TICK,CIRCLE,SQUARE],mark)&&!isAggregate(encoding))return.7;return}function filled(markDef,config){var filledConfig=getMarkConfig("filled",markDef,config);var mark=markDef.type;return void 0!==filledConfig?filledConfig:mark!==POINT&&mark!==LINE&&mark!==RULE}function orient$1(mark,encoding,specifiedOrient){switch(mark){case POINT:case CIRCLE:case SQUARE:case TEXT$1:case RECT:return}var yIsRange=encoding.y2;var xIsRange=encoding.x2;switch(mark){case BAR:if(yIsRange||xIsRange){if(specifiedOrient)return specifiedOrient;var xDef=encoding.x;if(!xIsRange&&isFieldDef(xDef)&&xDef.type===QUANTITATIVE&&!xDef.bin)return"horizontal";var yDef=encoding.y;if(!yIsRange&&isFieldDef(yDef)&&yDef.type===QUANTITATIVE&&!yDef.bin)return"vertical"}case RULE:if(xIsRange&&yIsRange)return;case AREA:if(yIsRange)return"vertical";if(xIsRange)return"horizontal";if(mark===RULE){if(encoding.x&&!encoding.y)return"vertical";if(encoding.y&&!encoding.x)return"horizontal"}case LINE:case TICK:var xIsContinuous=isFieldDef(encoding.x)&&isContinuous(encoding.x);var yIsContinuous=isFieldDef(encoding.y)&&isContinuous(encoding.y);if(xIsContinuous&&!yIsContinuous)return"tick"!==mark?"horizontal":"vertical";if(!xIsContinuous&&yIsContinuous)return"tick"!==mark?"vertical":"horizontal";if(xIsContinuous&&yIsContinuous){xDef=encoding.x;yDef=encoding.y;var xIsTemporal=xDef.type===TEMPORAL;var yIsTemporal=yDef.type===TEMPORAL;if(xIsTemporal&&!yIsTemporal)return"tick"!==mark?"vertical":"horizontal";if(!xIsTemporal&&yIsTemporal)return"tick"!==mark?"horizontal":"vertical";if(!xDef.aggregate&&yDef.aggregate)return"tick"!==mark?"vertical":"horizontal";if(xDef.aggregate&&!yDef.aggregate)return"tick"!==mark?"horizontal":"vertical";if(specifiedOrient)return specifiedOrient;return"vertical"}if(specifiedOrient)return specifiedOrient;return}return"vertical"}var area={vgMark:"area",encodeEntry:function(model){return __assign({},baseEncodeEntry(model,{size:"ignore",orient:"include"}),pointPosition("x",model,"zeroOrMin"),pointPosition("y",model,"zeroOrMin"),pointPosition2(model,"zeroOrMin","horizontal"===model.markDef.orient?"x2":"y2"),defined(model))}};var bar={vgMark:"rect",encodeEntry:function(model){return __assign({},baseEncodeEntry(model,{size:"ignore",orient:"ignore"}),x(model),y(model))}};function x(model){var config=model.config,encoding=model.encoding,markDef=model.markDef,width=model.width;var orient=markDef.orient;var sizeDef=encoding.size;var xDef=encoding.x;var x2Def=encoding.x2;var xScaleName=model.scaleName(X);var xScale=model.getScaleComponent(X);if("horizontal"===orient||x2Def)return __assign({},pointPosition("x",model,"zeroOrMin"),pointPosition2(model,"zeroOrMin","x2"));if(isFieldDef(xDef)){var xScaleType=xScale.get("type");if(xDef.bin&&!sizeDef&&!hasDiscreteDomain(xScaleType))return binnedPosition(xDef,"x",model.scaleName("x"),void 0===markDef.binSpacing?config.bar.binSpacing:markDef.binSpacing,xScale.get("reverse"));if(xScaleType===ScaleType.BAND)return bandPosition(xDef,"x",model)}return centeredBandPosition("x",model,__assign({},mid(width)),defaultSizeRef(markDef,xScaleName,xScale,config))}function y(model){var config=model.config,encoding=model.encoding,height=model.height,markDef=model.markDef;var orient=markDef.orient;var sizeDef=encoding.size;var yDef=encoding.y;var y2Def=encoding.y2;var yScaleName=model.scaleName(Y);var yScale=model.getScaleComponent(Y);if("vertical"===orient||y2Def)return __assign({},pointPosition("y",model,"zeroOrMin"),pointPosition2(model,"zeroOrMin","y2"));if(isFieldDef(yDef)){var yScaleType=yScale.get("type");if(yDef.bin&&!sizeDef&&!hasDiscreteDomain(yScaleType))return binnedPosition(yDef,"y",model.scaleName("y"),void 0===markDef.binSpacing?config.bar.binSpacing:markDef.binSpacing,yScale.get("reverse"));if(yScaleType===ScaleType.BAND)return bandPosition(yDef,"y",model)}return centeredBandPosition("y",model,mid(height),defaultSizeRef(markDef,yScaleName,yScale,config))}function defaultSizeRef(markDef,scaleName,scale,config){if(void 0!==markDef.size)return{value:markDef.size};if(config.bar.discreteBandSize)return{value:config.bar.discreteBandSize};if(scale){var scaleType=scale.get("type");if(scaleType!==ScaleType.POINT)return scaleType===ScaleType.BAND?bandRef(scaleName):{value:config.bar.continuousBandSize};var scaleRange=scale.get("range");if(isVgRangeStep(scaleRange)&&isNumber(scaleRange.step))return{value:scaleRange.step-1};warn(message.BAR_WITH_POINT_SCALE_AND_RANGESTEP_NULL)}else if(config.scale.rangeStep&&null!==config.scale.rangeStep)return{value:config.scale.rangeStep-1};return{value:20}}var geoshape={vgMark:"shape",encodeEntry:function(model){return __assign({},baseEncodeEntry(model,{size:"ignore",orient:"ignore"}))},postEncodingTransform:function(model){var encoding=model.encoding;var shapeDef=encoding.shape;var transform=__assign({type:"geoshape",projection:model.projectionName()},shapeDef&&isFieldDef(shapeDef)&&shapeDef.type===GEOJSON?{field:vgField(shapeDef,{expr:"datum"})}:{});return[transform]}};var line={vgMark:"line",encodeEntry:function(model){var width=model.width,height=model.height;return __assign({},baseEncodeEntry(model,{size:"ignore",orient:"ignore"}),pointPosition("x",model,mid(width)),pointPosition("y",model,mid(height)),nonPosition("size",model,{vgChannel:"strokeWidth"}),defined(model))}};var trail={vgMark:"trail",encodeEntry:function(model){var width=model.width,height=model.height;return __assign({},baseEncodeEntry(model,{size:"include",orient:"ignore"}),pointPosition("x",model,mid(width)),pointPosition("y",model,mid(height)),nonPosition("size",model),defined(model))}};function encodeEntry(model,fixedShape){var config=model.config,width=model.width,height=model.height;return __assign({},baseEncodeEntry(model,{size:"include",orient:"ignore"}),pointPosition("x",model,mid(width)),pointPosition("y",model,mid(height)),nonPosition("size",model),shapeMixins(model,config,fixedShape))}function shapeMixins(model,config,fixedShape){if(fixedShape)return{shape:{value:fixedShape}};return nonPosition("shape",model,{defaultValue:getMarkConfig("shape",model.markDef,config)})}var point={vgMark:"symbol",encodeEntry:function(model){return encodeEntry(model)}};var circle={vgMark:"symbol",encodeEntry:function(model){return encodeEntry(model,"circle")}};var square={vgMark:"symbol",encodeEntry:function(model){return encodeEntry(model,"square")}};var rect={vgMark:"rect",encodeEntry:function(model){return __assign({},baseEncodeEntry(model,{size:"ignore",orient:"ignore"}),x$1(model),y$1(model))}};function x$1(model){var xDef=model.encoding.x;var x2Def=model.encoding.x2;var xScale=model.getScaleComponent(X);var xScaleType=xScale?xScale.get("type"):void 0;if(isFieldDef(xDef)&&xDef.bin&&!x2Def)return binnedPosition(xDef,"x",model.scaleName("x"),0,xScale.get("reverse"));if(isFieldDef(xDef)&&xScale&&hasDiscreteDomain(xScaleType)){if(xScaleType===ScaleType.BAND)return bandPosition(xDef,"x",model);throw new Error(message.scaleTypeNotWorkWithMark(RECT,xScaleType))}return __assign({},pointPosition("x",model,"zeroOrMax"),pointPosition2(model,"zeroOrMin","x2"))}function y$1(model){var yDef=model.encoding.y;var y2Def=model.encoding.y2;var yScale=model.getScaleComponent(Y);var yScaleType=yScale?yScale.get("type"):void 0;if(isFieldDef(yDef)&&yDef.bin&&!y2Def)return binnedPosition(yDef,"y",model.scaleName("y"),0,yScale.get("reverse"));if(isFieldDef(yDef)&&yScale&&hasDiscreteDomain(yScaleType)){if(yScaleType===ScaleType.BAND)return bandPosition(yDef,"y",model);throw new Error(message.scaleTypeNotWorkWithMark(RECT,yScaleType))}return __assign({},pointPosition("y",model,"zeroOrMax"),pointPosition2(model,"zeroOrMin","y2"))}var rule={vgMark:"rule",encodeEntry:function(model){model.config;var markDef=model.markDef,width=model.width,height=model.height;var orient=markDef.orient;if(!model.encoding.x&&!model.encoding.y&&!model.encoding.latitude&&!model.encoding.longitude)return{};return __assign({},baseEncodeEntry(model,{size:"ignore",orient:"ignore"}),pointPosition("x",model,"horizontal"===orient?"zeroOrMin":mid(width)),pointPosition("y",model,"vertical"===orient?"zeroOrMin":mid(height)),"vertical"!==orient?pointPosition2(model,"zeroOrMax","x2"):{},"horizontal"!==orient?pointPosition2(model,"zeroOrMax","y2"):{},nonPosition("size",model,{vgChannel:"strokeWidth",defaultValue:markDef.size}))}};var text$3={vgMark:"text",encodeEntry:function(model){var config=model.config,encoding=model.encoding,width=model.width,height=model.height,markDef=model.markDef;return __assign({},baseEncodeEntry(model,{size:"ignore",orient:"ignore"}),pointPosition("x",model,mid(width)),pointPosition("y",model,mid(height)),text$2(model),nonPosition("size",model,__assign({},markDef.size?{defaultValue:markDef.size}:{},{vgChannel:"fontSize"})),valueIfDefined("align",align(model.markDef,encoding,config)))}};function align(markDef,encoding,config){var a=markDef.align||getMarkConfig("align",markDef,config);if(void 0===a)return"center";return}var tick={vgMark:"rect",encodeEntry:function(model){var _a;var config=model.config,markDef=model.markDef,width=model.width,height=model.height;var orient=markDef.orient;var vgSizeChannel="horizontal"===orient?"width":"height";var vgThicknessChannel="horizontal"===orient?"height":"width";return __assign({},baseEncodeEntry(model,{size:"ignore",orient:"ignore"}),pointPosition("x",model,mid(width),"xc"),pointPosition("y",model,mid(height),"yc"),nonPosition("size",model,{defaultValue:defaultSize(model),vgChannel:vgSizeChannel}),(_a={},_a[vgThicknessChannel]={value:markDef.thickness||config.tick.thickness},_a))}};function defaultSize(model){var config=model.config,markDef=model.markDef;var orient=markDef.orient;var scale=model.getScaleComponent("horizontal"===orient?"x":"y");if(void 0!==markDef.size)return markDef.size;if(void 0!==config.tick.bandSize)return config.tick.bandSize;var scaleRange=scale?scale.get("range"):void 0;var rangeStep=scaleRange&&isVgRangeStep(scaleRange)?scaleRange.step:config.scale.rangeStep;if("number"!==typeof rangeStep)throw new Error("Function does not handle non-numeric rangeStep");return rangeStep/1.5}var markCompiler={area:area,bar:bar,circle:circle,geoshape:geoshape,line:line,point:point,rect:rect,rule:rule,square:square,text:text$3,tick:tick,trail:trail};function parseMarkGroup(model){return contains([LINE,AREA,TRAIL],model.mark)?parsePathMark(model):getMarkGroups(model)}var FACETED_PATH_PREFIX="faceted_path_";function parsePathMark(model){var details=pathGroupingFields(model.mark,model.encoding);var pathMarks=getMarkGroups(model,{fromPrefix:details.length>0?FACETED_PATH_PREFIX:""});return details.length>0?[{name:model.getName("pathgroup"),type:"group",from:{facet:{name:FACETED_PATH_PREFIX+model.requestDataName(MAIN),data:model.requestDataName(MAIN),groupby:details}},encode:{update:{width:{field:{group:"width"}},height:{field:{group:"height"}}}},marks:pathMarks}]:pathMarks}function getSort$1(model){var encoding=model.encoding,stack=model.stack,mark=model.mark,markDef=model.markDef;var order=encoding.order;if(!isArray(order)&&isValueDef(order))return;if((isArray(order)||isFieldDef(order))&&!stack)return sortParams(order,{expr:"datum"});if(isPathMark(mark)){var dimensionChannelDef=encoding["horizontal"===markDef.orient?"y":"x"];if(isFieldDef(dimensionChannelDef)){var s=dimensionChannelDef.sort;var sortField=isSortField(s)?vgField({aggregate:isAggregate(model.encoding)?s.op:void 0,field:s.field},{expr:"datum"}):vgField(dimensionChannelDef,{binSuffix:model.stack&&model.stack.impute?"mid":void 0,expr:"datum"});return{field:sortField,order:"descending"}}return}return}function getMarkGroups(model,opt){void 0===opt&&(opt={fromPrefix:""});var mark=model.mark;var clip=void 0!==model.markDef.clip?!!model.markDef.clip:scaleClip(model);var style=getStyles(model.markDef);var key$$1=model.encoding.key;var sort=getSort$1(model);var postEncodingTransform=markCompiler[mark].postEncodingTransform?markCompiler[mark].postEncodingTransform(model):null;return[__assign({name:model.getName("marks"),type:markCompiler[mark].vgMark},clip?{clip:true}:{},style?{style:style}:{},key$$1?{key:{field:key$$1.field}}:{},sort?{sort:sort}:{},{from:{data:opt.fromPrefix+model.requestDataName(MAIN)},encode:{update:markCompiler[mark].encodeEntry(model)}},postEncodingTransform?{transform:postEncodingTransform}:{})]}function pathGroupingFields(mark,encoding){return keys(encoding).reduce(function(details,channel){switch(channel){case"x":case"y":case"order":case"tooltip":case"href":case"x2":case"y2":case"latitude":case"longitude":case"latitude2":case"longitude2":case"text":case"shape":return details;case"detail":case"key":var channelDef=encoding[channel];channelDef&&(isArray(channelDef)?channelDef:[channelDef]).forEach(function(fieldDef){fieldDef.aggregate||details.push(vgField(fieldDef,{}))});return details;case"size":if("trail"===mark)return details;case"color":case"fill":case"stroke":case"opacity":var fieldDef=getFieldDef(encoding[channel]);fieldDef&&!fieldDef.aggregate&&details.push(vgField(fieldDef,{}));return details;default:throw new Error("Bug: Channel "+channel+" unimplemented for line mark")}},[])}function scaleClip(model){var xScale=model.getScaleComponent("x");var yScale=model.getScaleComponent("y");return!!(xScale&&xScale.get("domainRaw")||yScale&&yScale.get("domainRaw"))}var UnitModel=function(_super){__extends(UnitModel,_super);function UnitModel(spec,parent,parentGivenName,parentGivenSize,repeater,config,fit){void 0===parentGivenSize&&(parentGivenSize={});var _this=_super.call(this,spec,parent,parentGivenName,config,repeater,void 0)||this;_this.fit=fit;_this.type="unit";_this.specifiedScales={};_this.specifiedAxes={};_this.specifiedLegends={};_this.specifiedProjection={};_this.selection={};_this.children=[];_this.initSize(__assign({},parentGivenSize,spec.width?{width:spec.width}:{},spec.height?{height:spec.height}:{}));var mark=isMarkDef(spec.mark)?spec.mark.type:spec.mark;var encoding=_this.encoding=normalizeEncoding(replaceRepeaterInEncoding(spec.encoding||{},repeater),mark);_this.markDef=normalizeMarkDef(spec.mark,encoding,config);_this.stack=stack(mark,encoding,_this.config.stack);_this.specifiedScales=_this.initScales(mark,encoding);_this.specifiedAxes=_this.initAxes(encoding);_this.specifiedLegends=_this.initLegend(encoding);_this.specifiedProjection=spec.projection;_this.selection=spec.selection;return _this}Object.defineProperty(UnitModel.prototype,"hasProjection",{get:function(){var encoding=this.encoding;var isGeoShapeMark=this.mark===GEOSHAPE;var hasGeoPosition=encoding&&GEOPOSITION_CHANNELS.some(function(channel){return isFieldDef(encoding[channel])});return isGeoShapeMark||hasGeoPosition},enumerable:true,configurable:true});UnitModel.prototype.scaleDomain=function(channel){var scale=this.specifiedScales[channel];return scale?scale.domain:void 0};UnitModel.prototype.axis=function(channel){return this.specifiedAxes[channel]};UnitModel.prototype.legend=function(channel){return this.specifiedLegends[channel]};UnitModel.prototype.initScales=function(mark,encoding){return SCALE_CHANNELS.reduce(function(scales,channel){var fieldDef;var specifiedScale;var channelDef=encoding[channel];if(isFieldDef(channelDef)){fieldDef=channelDef;specifiedScale=channelDef.scale}else if(hasConditionalFieldDef(channelDef)){fieldDef=channelDef.condition;specifiedScale=channelDef.condition["scale"]}else"x"===channel?fieldDef=getFieldDef(encoding.x2):"y"===channel&&(fieldDef=getFieldDef(encoding.y2));fieldDef&&(scales[channel]=specifiedScale||{});return scales},{})};UnitModel.prototype.initAxes=function(encoding){return[X,Y].reduce(function(_axis,channel){var channelDef=encoding[channel];if(isFieldDef(channelDef)||channel===X&&isFieldDef(encoding.x2)||channel===Y&&isFieldDef(encoding.y2)){var axisSpec=isFieldDef(channelDef)?channelDef.axis:null;null!==axisSpec&&false!==axisSpec&&(_axis[channel]=__assign({},axisSpec))}return _axis},{})};UnitModel.prototype.initLegend=function(encoding){return NONPOSITION_SCALE_CHANNELS.reduce(function(_legend,channel){var channelDef=encoding[channel];if(channelDef){var legend=isFieldDef(channelDef)?channelDef.legend:hasConditionalFieldDef(channelDef)?channelDef.condition["legend"]:null;null!==legend&&false!==legend&&(_legend[channel]=__assign({},legend))}return _legend},{})};UnitModel.prototype.parseData=function(){this.component.data=parseData(this)};UnitModel.prototype.parseLayoutSize=function(){parseUnitLayoutSize(this)};UnitModel.prototype.parseSelection=function(){this.component.selection=parseUnitSelection(this,this.selection)};UnitModel.prototype.parseMarkGroup=function(){this.component.mark=parseMarkGroup(this)};UnitModel.prototype.parseAxisAndHeader=function(){this.component.axes=parseUnitAxis(this)};UnitModel.prototype.assembleSelectionTopLevelSignals=function(signals){return assembleTopLevelSignals(this,signals)};UnitModel.prototype.assembleSelectionSignals=function(){return assembleUnitSelectionSignals(this,[])};UnitModel.prototype.assembleSelectionData=function(data){return assembleUnitSelectionData(this,data)};UnitModel.prototype.assembleLayout=function(){return null};UnitModel.prototype.assembleLayoutSignals=function(){return assembleLayoutSignals(this)};UnitModel.prototype.assembleMarks=function(){var marks=this.component.mark||[];this.parent&&isLayerModel(this.parent)||(marks=assembleUnitSelectionMarks(this,marks));return marks.map(this.correctDataNames)};UnitModel.prototype.assembleLayoutSize=function(){return{width:this.getSizeSignalRef("width"),height:this.getSizeSignalRef("height")}};UnitModel.prototype.getMapping=function(){return this.encoding};UnitModel.prototype.toSpec=function(excludeConfig,excludeData){var encoding=duplicate(this.encoding);var spec;spec={mark:this.markDef,encoding:encoding};excludeConfig||(spec.config=duplicate(this.config));excludeData||(spec.data=duplicate(this.data));return spec};Object.defineProperty(UnitModel.prototype,"mark",{get:function(){return this.markDef.type},enumerable:true,configurable:true});UnitModel.prototype.channelHasField=function(channel){return channelHasField(this.encoding,channel)};UnitModel.prototype.fieldDef=function(channel){var channelDef=this.encoding[channel];return getFieldDef(channelDef)};return UnitModel}(ModelWithField);var LayerModel=function(_super){__extends(LayerModel,_super);function LayerModel(spec,parent,parentGivenName,parentGivenSize,repeater,config,fit){var _this=_super.call(this,spec,parent,parentGivenName,config,repeater,spec.resolve)||this;_this.type="layer";var layoutSize=__assign({},parentGivenSize,spec.width?{width:spec.width}:{},spec.height?{height:spec.height}:{});_this.initSize(layoutSize);_this.children=spec.layer.map(function(layer,i){if(isLayerSpec(layer))return new LayerModel(layer,_this,_this.getName("layer_"+i),layoutSize,repeater,config,fit);if(isUnitSpec(layer))return new UnitModel(layer,_this,_this.getName("layer_"+i),layoutSize,repeater,config,fit);throw new Error(message.INVALID_SPEC)});return _this}LayerModel.prototype.parseData=function(){this.component.data=parseData(this);for(var _i=0,_a=this.children;_i<_a.length;_i++){var child=_a[_i];child.parseData()}};LayerModel.prototype.parseLayoutSize=function(){parseLayerLayoutSize(this)};LayerModel.prototype.parseSelection=function(){var _this=this;this.component.selection={};var _loop_1=function(child){child.parseSelection();keys(child.component.selection).forEach(function(key){_this.component.selection[key]=child.component.selection[key]})};for(var _i=0,_a=this.children;_i<_a.length;_i++){var child=_a[_i];_loop_1(child)}};LayerModel.prototype.parseMarkGroup=function(){for(var _i=0,_a=this.children;_i<_a.length;_i++){var child=_a[_i];child.parseMarkGroup()}};LayerModel.prototype.parseAxisAndHeader=function(){parseLayerAxis(this)};LayerModel.prototype.assembleSelectionTopLevelSignals=function(signals){return this.children.reduce(function(sg,child){return child.assembleSelectionTopLevelSignals(sg)},signals)};LayerModel.prototype.assembleSelectionSignals=function(){return this.children.reduce(function(signals,child){return signals.concat(child.assembleSelectionSignals())},[])};LayerModel.prototype.assembleLayoutSignals=function(){return this.children.reduce(function(signals,child){return signals.concat(child.assembleLayoutSignals())},assembleLayoutSignals(this))};LayerModel.prototype.assembleSelectionData=function(data){return this.children.reduce(function(db,child){return child.assembleSelectionData(db)},data)};LayerModel.prototype.assembleTitle=function(){var title=_super.prototype.assembleTitle.call(this);if(title)return title;for(var _i=0,_a=this.children;_i<_a.length;_i++){var child=_a[_i];title=child.assembleTitle();if(title)return title}return};LayerModel.prototype.assembleLayout=function(){return null};LayerModel.prototype.assembleMarks=function(){return assembleLayerSelectionMarks(this,flatten(this.children.map(function(child){return child.assembleMarks()})))};LayerModel.prototype.assembleLegends=function(){return this.children.reduce(function(legends,child){return legends.concat(child.assembleLegends())},assembleLegends(this))};return LayerModel}(Model);var RepeatModel=function(_super){__extends(RepeatModel,_super);function RepeatModel(spec,parent,parentGivenName,repeatValues,config){var _this=_super.call(this,spec,parent,parentGivenName,config,repeatValues,spec.resolve)||this;_this.type="repeat";spec.resolve&&spec.resolve.axis&&("shared"===spec.resolve.axis.x||"shared"===spec.resolve.axis.y)&&warn(message.REPEAT_CANNOT_SHARE_AXIS);_this.repeat=spec.repeat;_this.children=_this._initChildren(spec,_this.repeat,repeatValues,config);return _this}RepeatModel.prototype._initChildren=function(spec,repeat,repeater,config){var children=[];var row=repeat.row||[repeater?repeater.row:null];var column=repeat.column||[repeater?repeater.column:null];for(var _i=0,row_1=row;_i<row_1.length;_i++){var rowField=row_1[_i];for(var _a=0,column_1=column;_a<column_1.length;_a++){var columnField=column_1[_a];var name_1=(rowField?"_"+rowField:"")+(columnField?"_"+columnField:"");var childRepeat={row:rowField,column:columnField};children.push(buildModel(spec.spec,this,this.getName("child"+name_1),void 0,childRepeat,config,false))}}return children};RepeatModel.prototype.parseLayoutSize=function(){parseRepeatLayoutSize(this)};RepeatModel.prototype.assembleDefaultLayout=function(){return{columns:this.repeat&&this.repeat.column?this.repeat.column.length:1,bounds:"full",align:"all"}};return RepeatModel}(BaseConcatModel);function buildModel(spec,parent,parentGivenName,unitSize,repeater,config,fit){if(isFacetSpec(spec))return new FacetModel(spec,parent,parentGivenName,repeater,config);if(isLayerSpec(spec))return new LayerModel(spec,parent,parentGivenName,unitSize,repeater,config,fit);if(isUnitSpec(spec))return new UnitModel(spec,parent,parentGivenName,unitSize,repeater,config,fit);if(isRepeatSpec(spec))return new RepeatModel(spec,parent,parentGivenName,repeater,config);if(isConcatSpec(spec))return new ConcatModel(spec,parent,parentGivenName,repeater,config);throw new Error(message.INVALID_SPEC)}function compile(inputSpec,opt){void 0===opt&&(opt={});opt.logger&&set(opt.logger);opt.fieldTitle&&setTitleFormatter(opt.fieldTitle);try{var config=initConfig(mergeDeep({},opt.config,inputSpec.config));var spec=normalize$2(inputSpec,config);var autosize=normalizeAutoSize(inputSpec.autosize,config.autosize,isLayerSpec(spec)||isUnitSpec(spec));var model=buildModel(spec,null,"",void 0,void 0,config,"fit"===autosize.type);model.parse();optimizeDataflow(model.component.data);return assembleTopLevelModel(model,getTopLevelProperties(inputSpec,config,autosize))}finally{opt.logger&&reset();opt.fieldTitle&&resetTitleFormatter()}}function getTopLevelProperties(topLevelSpec,config,autosize){return __assign({autosize:1===keys(autosize).length&&autosize.type?autosize.type:autosize},extractTopLevelProperties(config),extractTopLevelProperties(topLevelSpec))}function assembleTopLevelModel(model,topLevelProperties){var vgConfig=model.config?stripAndRedirectConfig(model.config):void 0;var data=[].concat(model.assembleSelectionData([]),assembleRootData(model.component.data,topLevelProperties.datasets||{}));delete topLevelProperties.datasets;var projections=model.assembleProjections();var title$$1=model.assembleTitle();var style=model.assembleGroupStyle();var layoutSignals=model.assembleLayoutSignals();layoutSignals=layoutSignals.filter(function(signal){if(("width"===signal.name||"height"===signal.name)&&void 0!==signal.value){topLevelProperties[signal.name]=+signal.value;return false}return true});var output=__assign({$schema:"https://vega.github.io/schema/vega/v3.json"},model.description?{description:model.description}:{},topLevelProperties,title$$1?{title:title$$1}:{},style?{style:style}:{},{data:data},projections.length>0?{projections:projections}:{},model.assembleGroup(layoutSignals.concat(model.assembleSelectionTopLevelSignals([]))),vgConfig?{config:vgConfig}:{});return{spec:output}}var facet=Object.freeze({});var DEFAULT_REQUIRED_CHANNEL_MAP={text:["text"],line:["x","y"],trail:["x","y"],area:["x","y"]};var DEFAULT_SUPPORTED_CHANNEL_TYPE={bar:toSet(["row","column","x","y","size","color","fill","stroke","detail"]),line:toSet(["row","column","x","y","color","fill","stroke","color","detail"]),trail:toSet(["row","column","x","y","color","fill","stroke","color","detail","size"]),area:toSet(["row","column","x","y","color","fill","stroke","detail"]),tick:toSet(["row","column","x","y","color","fill","stroke","detail"]),circle:toSet(["row","column","x","y","color","fill","stroke","size","detail"]),square:toSet(["row","column","x","y","color","fill","stroke","size","detail"]),point:toSet(["row","column","x","y","color","fill","stroke","size","detail","shape"]),geoshape:toSet(["row","column","color","fill","stroke","detail","shape"]),text:toSet(["row","column","size","color","fill","stroke","text"])};function getEncodingMappingError(spec,requiredChannelMap,supportedChannelMap){void 0===requiredChannelMap&&(requiredChannelMap=DEFAULT_REQUIRED_CHANNEL_MAP);void 0===supportedChannelMap&&(supportedChannelMap=DEFAULT_SUPPORTED_CHANNEL_TYPE);var mark=isMarkDef(spec.mark)?spec.mark.type:spec.mark;var encoding=spec.encoding;var requiredChannels=requiredChannelMap[mark];var supportedChannels=supportedChannelMap[mark];for(var i in requiredChannels)if(!(requiredChannels[i]in encoding))return'Missing encoding channel "'+requiredChannels[i]+'" for mark "'+mark+'"';for(var channel in encoding)if(!supportedChannels[channel])return'Encoding channel "'+channel+'" is not supported by mark type "'+mark+'"';if(mark===BAR&&!encoding.x&&!encoding.y)return"Missing both x and y for bar";return null}var validate=Object.freeze({DEFAULT_REQUIRED_CHANNEL_MAP:DEFAULT_REQUIRED_CHANNEL_MAP,DEFAULT_SUPPORTED_CHANNEL_TYPE:DEFAULT_SUPPORTED_CHANNEL_TYPE,getEncodingMappingError:getEncodingMappingError});var name="vega-lite";var author='Jeffrey Heer, Dominik Moritz, Kanit "Ham" Wongsuphasawat';var version="2.6.0";var collaborators=["Kanit Wongsuphasawat <kanitw@gmail.com> (http://kanitw.yellowpigz.com)","Dominik Moritz <domoritz@cs.washington.edu> (https://www.domoritz.de)","Jeffrey Heer <jheer@uw.edu> (http://jheer.org)"];var homepage="https://vega.github.io/vega-lite/";var description="Vega-Lite is a concise high-level language for interactive visualization.";var main$1="build/vega-lite.js";var unpkg="build/vega-lite.min.js";var jsdelivr="build/vega-lite.min.js";var module$1="build/src/index";var types="build/src/index.d.ts";var bin$2={vl2png:"./bin/vl2png",vl2svg:"./bin/vl2svg",vl2vg:"./bin/vl2vg"};var directories={test:"test"};var scripts={prebuild:"mkdir -p build/src",build:"npm run build:only","build:only":"tsc && rollup -c",postbuild:"uglifyjs build/vega-lite.js -cm --source-map content=build/vega-lite.js.map,filename=build/vega-lite.min.js.map -o build/vega-lite.min.js && npm run schema","build:examples":"npm run data && TZ=America/Los_Angeles scripts/build-examples.sh","build:examples-full":"TZ=America/Los_Angeles scripts/build-examples.sh 1","build:example":"TZ=America/Los_Angeles scripts/build-example.sh","build:toc":"bundle exec jekyll build -q && scripts/generate-toc","build:site":"tsc -p site && webpack --config site/webpack.config.js","build:versions":"scripts/update-version.sh","check:examples":"scripts/check-examples.sh","check:schema":"scripts/check-schema.sh",clean:"rm -rf build && rm -f examples/compiled/*.png && find site/examples ! -name 'index.md' -type f -delete",data:"rsync -r node_modules/vega-datasets/data/* data",deploy:"scripts/deploy.sh","deploy:gh":"scripts/deploy-gh.sh","deploy:schema":"scripts/deploy-schema.sh",preschema:"npm run prebuild",schema:"node --stack-size=1200 ./node_modules/.bin/ts-json-schema-generator --path tsconfig.json --type TopLevelSpec > build/vega-lite-schema.json && npm run renameschema && cp build/vega-lite-schema.json _data/",renameschema:"scripts/rename-schema.sh",presite:"npm run prebuild && npm run data && npm run build:site && npm run build:toc && npm run build:versions && scripts/create-example-pages",site:"bundle exec jekyll serve --incremental",lint:"tslint -p . -e 'package.json'",test:"jest test/ && npm run lint && npm run schema && jest examples/ && npm run test:runtime","test:inspect":"node --inspect-brk ./node_modules/.bin/jest --runInBand test","test:runtime":'TZ=America/Los_Angeles TS_NODE_COMPILER_OPTIONS=\'{"module":"commonjs"}\' wdio wdio.conf.js',"test:runtime:generate":"rm -Rf test-runtime/resources && VL_GENERATE_TESTS=true npm run test:runtime","watch:build":"npm run build:only && concurrently --kill-others -n Typescript,Rollup 'tsc -w' 'rollup -c -w'","watch:site":"concurrently --kill-others -n Typescript,Webpack 'tsc -p site --watch' 'webpack --config site/webpack.config.js --mode development --watch'","watch:test":"jest --watch"};var repository={type:"git",url:"https://github.com/vega/vega-lite.git"};var license="BSD-3-Clause";var bugs={url:"https://github.com/vega/vega-lite/issues"};var devDependencies={"@types/chai":"^4.1.4","@types/d3":"^5.0.0","@types/highlight.js":"^9.12.3","@types/jest":"^23.1.1","@types/mkdirp":"^0.5.2","@types/node":"^9.0.0","@types/webdriverio":"^4.10.2",ajv:"^6.5.1",chai:"^4.1.2",cheerio:"^1.0.0-rc.2",chromedriver:"^2.40.0",codecov:"^3.0.2",concurrently:"^3.6.0",d3:"^5.5.0","highlight.js":"^9.12.0",jest:"^23.1.0",mkdirp:"^0.5.1",rollup:"^0.59.4","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-json":"^3.0.0","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-sourcemaps":"^0.4.2","source-map-support":"^0.5.6","svg2png-many":"^0.0.7","ts-jest":"^22.4.6","ts-json-schema-generator":"^0.28.0","ts-node":"^6.1.1",tslint:"5.10.0","tslint-eslint-rules":"^5.3.1",typescript:"^2.9.2","uglify-js":"^3.4.1",vega:"^4.0.0-rc.3","vega-datasets":"^1.19.0","vega-embed":"^3.16.0","vega-tooltip":"^0.11.0","wdio-chromedriver-service":"^0.1.3","wdio-dot-reporter":"0.0.9","wdio-mocha-framework":"^0.5.13","wdio-static-server-service":"^1.0.1",webdriverio:"^4.13.0",webpack:"^4.12.0","webpack-cli":"^3.0.8","yaml-front-matter":"^4.0.0"};var dependencies={"@types/json-stable-stringify":"^1.0.32","json-stable-stringify":"^1.0.1",tslib:"^1.9.2","vega-event-selector":"^2.0.0","vega-typings":"^0.3.17","vega-util":"^1.7.0",yargs:"^11.0.0"};var jest={transform:{"^.+\\.tsx?$":"ts-jest"},testRegex:"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",moduleFileExtensions:["ts","tsx","js","jsx","json","node"],testPathIgnorePatterns:["node_modules","test-runtime","<rootDir>/build","_site","src"],coverageDirectory:"./coverage/",collectCoverage:false};var pkg={name:name,author:author,version:version,collaborators:collaborators,homepage:homepage,description:description,main:main$1,unpkg:unpkg,jsdelivr:jsdelivr,module:module$1,types:types,bin:bin$2,directories:directories,scripts:scripts,repository:repository,license:license,bugs:bugs,devDependencies:devDependencies,dependencies:dependencies,jest:jest};var version$1=pkg.version;exports.aggregate=aggregate;exports.axis=axis;exports.bin=bin;exports.channel=channel;exports.compositeMark=index;exports.config=config;exports.data=data;exports.datetime=datetime;exports.encoding=encoding;exports.facet=facet;exports.fieldDef=fielddef;exports.header=header;exports.legend=legend;exports.mark=mark;exports.scale=scale;exports.sort=sort;exports.spec=spec;exports.stack=stack$1;exports.timeUnit=timeunit;exports.transform=transform;exports.type=type;exports.util=util;exports.validate=validate;exports.version=version$1;exports.compile=compile;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports);var factory},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function default_1(url){var regex=/\/schema\/([\w-]+)\/([\w\.\-]+)\.json$/g;var _a=regex.exec(url).slice(1,3),library=_a[0],version=_a[1];return{library:library,version:version}}exports.default=default_1},function(module,exports,__webpack_require__){0,factory=function(exports){"use strict";
/*! *****************************************************************************
    Copyright (c) Microsoft Corporation. All rights reserved.
    Licensed under the Apache License, Version 2.0 (the "License"); you may not use
    this file except in compliance with the License. You may obtain a copy of the
    License at http://www.apache.org/licenses/LICENSE-2.0

    THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
    WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
    MERCHANTABLITY OR NON-INFRINGEMENT.

    See the Apache Version 2.0 License for specific language governing permissions
    and limitations under the License.
    ***************************************************************************** */var __assign=Object.assign||function __assign(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t};function __rest(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&(t[p[i]]=s[p[i]])}return t}var DEFAULT_OPTIONS={offsetX:10,offsetY:10,id:"vg-tooltip-element",styleId:"vega-tooltip-style",theme:"light",disableDefaultStyle:false,sanitize:escapeHTML};function escapeHTML(value){return String(value).replace(/&/g,"&amp;").replace(/</g,"&lt;")}function createDefaultStyle(id){if(!/^[A-Za-z]+[-:.\w]*$/.test(id))throw new Error("Invalid HTML ID");return"\n#"+id+" {\n  visibility: hidden;\n  padding: 8px;\n  position: fixed;\n  z-index: 1000;\n  font-family: sans-serif;\n  font-size: 11px;\n  border-radius: 3px;\n  box-shadow: 2px 2px 4px rgba(0,0,0,0.1);\n\n  /* The default theme is the light theme. */\n  background-color: rgba(255, 255, 255, 0.95);\n  border: 1px solid #d9d9d9;\n  color: black;\n}\n#"+id+".visible {\n  visibility: visible;\n}\n#"+id+" h2 {\n  margin-top: 0;\n  margin-bottom: 10px;\n  font-size: 13px;\n}\n#"+id+" table {\n  border-spacing: 0;\n}\n#"+id+" td {\n  overflow: hidden;\n  text-overflow: ellipsis;\n  padding-top: 2px;\n  padding-bottom: 2px;\n}\n#"+id+" td.key {\n  color: #808080;\n  max-width: 150px;\n  text-align: right;\n  padding-right: 4px;\n}\n#"+id+" td.value {\n  max-width: 200px;\n  text-align: left;\n}\n\n/* Dark and light color themes */\n#"+id+".dark-theme {\n  background-color: rgba(32, 32, 32, 0.9);\n  border: 1px solid #f5f5f5;\n  color: white;\n}\n#"+id+".dark-theme td.key {\n  color: #bfbfbf;\n}\n\n#"+id+".light-theme {\n  background-color: rgba(255, 255, 255, 0.95);\n  border: 1px solid #d9d9d9;\n  color: black;\n}\n#"+id+".light-theme td.key {\n  color: #808080;\n}\n"}function accessor(fn,fields,name){fn.fields=fields||[];fn.fname=name;return fn}function error(message){throw Error(message)}function splitAccessPath(p){var i,j,c,path=[],q=null,b=0,n=p.length,s="";p+="";function push(){path.push(s+p.substring(i,j));s="";i=j+1}for(i=j=0;j<n;++j){c=p[j];if("\\"===c){s+=p.substring(i,j);i=++j}else if(c===q){push();q=null;b=-1}else{if(q)continue;if(i===b&&'"'===c){i=j+1;q=c}else if(i===b&&"'"===c){i=j+1;q=c}else if("."!==c||b){if("["===c){j>i&&push();b=i=j+1}else if("]"===c){b||error("Access path missing open bracket: "+p);b>0&&push();b=0;i=j+1}}else j>i?push():i=j+1}}b&&error("Access path missing closing bracket: "+p);q&&error("Access path missing closing quote: "+p);if(j>i){j++;push()}return path}var isArray=Array.isArray;function isObject(_){return _===Object(_)}function isString(_){return"string"===typeof _}function $(x){return isArray(x)?"["+x.map($)+"]":isObject(x)||isString(x)?JSON.stringify(x).replace("\u2028","\\u2028").replace("\u2029","\\u2029"):x}function field(field,name){var path=splitAccessPath(field),code="return _["+path.map($).join("][")+"];";return accessor(Function("_",code),[field=1===path.length?path[0]:field],name||field)}var empty=[];field("id");accessor(function(_){return _},empty,"identity");accessor(function(){return 0},empty,"zero");accessor(function(){return 1},empty,"one");accessor(function(){return true},empty,"true");accessor(function(){return false},empty,"false");function createCommonjsModule(fn,module){return module={exports:{}},fn(module,module.exports),module.exports}var stringify_1=createCommonjsModule(function(module,exports){exports=module.exports=stringify;exports.getSerialize=serializer;function stringify(obj,replacer,spaces,cycleReplacer){return JSON.stringify(obj,serializer(replacer,cycleReplacer),spaces)}function serializer(replacer,cycleReplacer){var stack=[],keys=[];null==cycleReplacer&&(cycleReplacer=function(key,value){if(stack[0]===value)return"[Circular ~]";return"[Circular ~."+keys.slice(0,stack.indexOf(value)).join(".")+"]"});return function(key,value){if(stack.length>0){var thisPos=stack.indexOf(this);~thisPos?stack.splice(thisPos+1):stack.push(this);~thisPos?keys.splice(thisPos,Infinity,key):keys.push(key);~stack.indexOf(value)&&(value=cycleReplacer.call(this,key,value))}else stack.push(value);return null==replacer?value:replacer.call(this,key,value)}}});var stringify_2=stringify_1.getSerialize;var stringify_=Object.freeze({default:stringify_1,__moduleExports:stringify_1,getSerialize:stringify_2});var stringify=stringify_1||stringify_;function formatValue(value,valueToHtml){if(isArray(value))return"["+value.map(function(v){return valueToHtml(isString(v)?v:stringify(v))}).join(", ")+"]";if(isObject(value)){var content="";var _a=value,title=_a.title,rest=__rest(_a,["title"]);title&&(content+="<h2>"+valueToHtml(title)+"</h2>");content+="<table>";for(var _i=0,_b=Object.keys(rest);_i<_b.length;_i++){var key$$1=_b[_i];var val=rest[key$$1];isObject(val)&&(val=stringify(val));content+='<tr><td class="key">'+valueToHtml(key$$1)+':</td><td class="value">'+valueToHtml(val)+"</td></tr>"}content+="</table>";return content}return valueToHtml(value)}function calculatePosition(event,tooltipBox,offsetX,offsetY){var x=event.clientX+offsetX;x+tooltipBox.width>window.innerWidth&&(x=+event.clientX-offsetX-tooltipBox.width);var y=event.clientY+offsetY;y+tooltipBox.height>window.innerHeight&&(y=+event.clientY-offsetY-tooltipBox.height);return{x:x,y:y}}var Handler=function(){function Handler(options){this.options=__assign({},DEFAULT_OPTIONS,options);var elementId=this.options.id;this.call=this.tooltip_handler.bind(this);if(!this.options.disableDefaultStyle&&!document.getElementById(this.options.styleId)){var style=document.createElement("style");style.setAttribute("id",this.options.styleId);style.innerHTML=createDefaultStyle(elementId);document.head.childNodes.length>0?document.head.insertBefore(style,document.head.childNodes[0]):document.head.appendChild(style)}this.el=document.getElementById(elementId);if(!this.el){this.el=document.createElement("div");this.el.setAttribute("id",elementId);this.el.classList.add("vg-tooltip");document.body.appendChild(this.el)}}Handler.prototype.tooltip_handler=function(handler,event,item,value){if(null==value||""===value){this.el.classList.remove("visible",this.options.theme+"-theme");return}this.el.innerHTML=formatValue(value,escapeHTML);this.el.classList.add("visible",this.options.theme+"-theme");var _a=calculatePosition(event,this.el.getBoundingClientRect(),this.options.offsetX,this.options.offsetY),x=_a.x,y=_a.y;this.el.setAttribute("style","top: "+y+"px; left: "+x+"px")};return Handler}();function index(view,opt){var handler=new Handler(opt);view.tooltip(handler.call).run();return handler}exports.default=index;exports.DEFAULT_OPTIONS=DEFAULT_OPTIONS;exports.escapeHTML=escapeHTML;exports.createDefaultStyle=createDefaultStyle;exports.formatValue=formatValue;exports.calculatePosition=calculatePosition;exports.Handler=Handler;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports);var factory},function(module,exports,__webpack_require__){0,factory=function(exports){"use strict";var support={searchParams:"URLSearchParams"in self,iterable:"Symbol"in self&&"iterator"in Symbol,blob:"FileReader"in self&&"Blob"in self&&function(){try{new Blob;return true}catch(e){return false}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};function isDataView(obj){return obj&&DataView.prototype.isPrototypeOf(obj)}if(support.arrayBuffer){var viewClasses=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"];var isArrayBufferView=ArrayBuffer.isView||function(obj){return obj&&viewClasses.indexOf(Object.prototype.toString.call(obj))>-1}}function normalizeName(name){"string"!==typeof name&&(name=String(name));if(/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(name))throw new TypeError("Invalid character in header field name");return name.toLowerCase()}function normalizeValue(value){"string"!==typeof value&&(value=String(value));return value}function iteratorFor(items){var iterator={next:function(){var value=items.shift();return{done:void 0===value,value:value}}};support.iterable&&(iterator[Symbol.iterator]=function(){return iterator});return iterator}function Headers(headers){this.map={};headers instanceof Headers?headers.forEach(function(value,name){this.append(name,value)},this):Array.isArray(headers)?headers.forEach(function(header){this.append(header[0],header[1])},this):headers&&Object.getOwnPropertyNames(headers).forEach(function(name){this.append(name,headers[name])},this)}Headers.prototype.append=function(name,value){name=normalizeName(name);value=normalizeValue(value);var oldValue=this.map[name];this.map[name]=oldValue?oldValue+", "+value:value};Headers.prototype["delete"]=function(name){delete this.map[normalizeName(name)]};Headers.prototype.get=function(name){name=normalizeName(name);return this.has(name)?this.map[name]:null};Headers.prototype.has=function(name){return this.map.hasOwnProperty(normalizeName(name))};Headers.prototype.set=function(name,value){this.map[normalizeName(name)]=normalizeValue(value)};Headers.prototype.forEach=function(callback,thisArg){for(var name in this.map)this.map.hasOwnProperty(name)&&callback.call(thisArg,this.map[name],name,this)};Headers.prototype.keys=function(){var items=[];this.forEach(function(value,name){items.push(name)});return iteratorFor(items)};Headers.prototype.values=function(){var items=[];this.forEach(function(value){items.push(value)});return iteratorFor(items)};Headers.prototype.entries=function(){var items=[];this.forEach(function(value,name){items.push([name,value])});return iteratorFor(items)};support.iterable&&(Headers.prototype[Symbol.iterator]=Headers.prototype.entries);function consumed(body){if(body.bodyUsed)return Promise.reject(new TypeError("Already read"));body.bodyUsed=true}function fileReaderReady(reader){return new Promise(function(resolve,reject){reader.onload=function(){resolve(reader.result)};reader.onerror=function(){reject(reader.error)}})}function readBlobAsArrayBuffer(blob){var reader=new FileReader;var promise=fileReaderReady(reader);reader.readAsArrayBuffer(blob);return promise}function readBlobAsText(blob){var reader=new FileReader;var promise=fileReaderReady(reader);reader.readAsText(blob);return promise}function readArrayBufferAsText(buf){var view=new Uint8Array(buf);var chars=new Array(view.length);for(var i=0;i<view.length;i++)chars[i]=String.fromCharCode(view[i]);return chars.join("")}function bufferClone(buf){if(buf.slice)return buf.slice(0);var view=new Uint8Array(buf.byteLength);view.set(new Uint8Array(buf));return view.buffer}function Body(){this.bodyUsed=false;this._initBody=function(body){this._bodyInit=body;if(body)if("string"===typeof body)this._bodyText=body;else if(support.blob&&Blob.prototype.isPrototypeOf(body))this._bodyBlob=body;else if(support.formData&&FormData.prototype.isPrototypeOf(body))this._bodyFormData=body;else if(support.searchParams&&URLSearchParams.prototype.isPrototypeOf(body))this._bodyText=body.toString();else if(support.arrayBuffer&&support.blob&&isDataView(body)){this._bodyArrayBuffer=bufferClone(body.buffer);this._bodyInit=new Blob([this._bodyArrayBuffer])}else support.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(body)||isArrayBufferView(body))?this._bodyArrayBuffer=bufferClone(body):this._bodyText=body=Object.prototype.toString.call(body);else this._bodyText="";this.headers.get("content-type")||("string"===typeof body?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):support.searchParams&&URLSearchParams.prototype.isPrototypeOf(body)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))};if(support.blob){this.blob=function(){var rejected=consumed(this);if(rejected)return rejected;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))};this.arrayBuffer=function(){return this._bodyArrayBuffer?consumed(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(readBlobAsArrayBuffer)}}this.text=function(){var rejected=consumed(this);if(rejected)return rejected;if(this._bodyBlob)return readBlobAsText(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)};support.formData&&(this.formData=function(){return this.text().then(decode)});this.json=function(){return this.text().then(JSON.parse)};return this}var methods=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function normalizeMethod(method){var upcased=method.toUpperCase();return methods.indexOf(upcased)>-1?upcased:method}function Request(input,options){options=options||{};var body=options.body;if(input instanceof Request){if(input.bodyUsed)throw new TypeError("Already read");this.url=input.url;this.credentials=input.credentials;options.headers||(this.headers=new Headers(input.headers));this.method=input.method;this.mode=input.mode;this.signal=input.signal;if(!body&&null!=input._bodyInit){body=input._bodyInit;input.bodyUsed=true}}else this.url=String(input);this.credentials=options.credentials||this.credentials||"same-origin";!options.headers&&this.headers||(this.headers=new Headers(options.headers));this.method=normalizeMethod(options.method||this.method||"GET");this.mode=options.mode||this.mode||null;this.signal=options.signal||this.signal;this.referrer=null;if(("GET"===this.method||"HEAD"===this.method)&&body)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(body)}Request.prototype.clone=function(){return new Request(this,{body:this._bodyInit})};function decode(body){var form=new FormData;body.trim().split("&").forEach(function(bytes){if(bytes){var split=bytes.split("=");var name=split.shift().replace(/\+/g," ");var value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}});return form}function parseHeaders(rawHeaders){var headers=new Headers;var preProcessedHeaders=rawHeaders.replace(/\r?\n[\t ]+/g," ");preProcessedHeaders.split(/\r?\n/).forEach(function(line){var parts=line.split(":");var key=parts.shift().trim();if(key){var value=parts.join(":").trim();headers.append(key,value)}});return headers}Body.call(Request.prototype);function Response(bodyInit,options){options||(options={});this.type="default";this.status=void 0===options.status?200:options.status;this.ok=this.status>=200&&this.status<300;this.statusText="statusText"in options?options.statusText:"OK";this.headers=new Headers(options.headers);this.url=options.url||"";this._initBody(bodyInit)}Body.call(Response.prototype);Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})};Response.error=function(){var response=new Response(null,{status:0,statusText:""});response.type="error";return response};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(url,status){if(-1===redirectStatuses.indexOf(status))throw new RangeError("Invalid status code");return new Response(null,{status:status,headers:{location:url}})};exports.DOMException=self.DOMException;try{new exports.DOMException}catch(err){exports.DOMException=function(message,name){this.message=message;this.name=name;var error=Error(message);this.stack=error.stack};exports.DOMException.prototype=Object.create(Error.prototype);exports.DOMException.prototype.constructor=exports.DOMException}function fetch(input,init){return new Promise(function(resolve,reject){var request=new Request(input,init);if(request.signal&&request.signal.aborted)return reject(new exports.DOMException("Aborted","AbortError"));var xhr=new XMLHttpRequest;function abortXhr(){xhr.abort()}xhr.onload=function(){var options={status:xhr.status,statusText:xhr.statusText,headers:parseHeaders(xhr.getAllResponseHeaders()||"")};options.url="responseURL"in xhr?xhr.responseURL:options.headers.get("X-Request-URL");var body="response"in xhr?xhr.response:xhr.responseText;resolve(new Response(body,options))};xhr.onerror=function(){reject(new TypeError("Network request failed"))};xhr.ontimeout=function(){reject(new TypeError("Network request failed"))};xhr.onabort=function(){reject(new exports.DOMException("Aborted","AbortError"))};xhr.open(request.method,request.url,true);"include"===request.credentials?xhr.withCredentials=true:"omit"===request.credentials&&(xhr.withCredentials=false);"responseType"in xhr&&support.blob&&(xhr.responseType="blob");request.headers.forEach(function(value,name){xhr.setRequestHeader(name,value)});if(request.signal){request.signal.addEventListener("abort",abortXhr);xhr.onreadystatechange=function(){4===xhr.readyState&&request.signal.removeEventListener("abort",abortXhr)}}xhr.send("undefined"===typeof request._bodyInit?null:request._bodyInit)})}fetch.polyfill=true;if(!self.fetch){self.fetch=fetch;self.Headers=Headers;self.Request=Request;self.Response=Response}exports.Headers=Headers;exports.Request=Request;exports.Response=Response;exports.fetch=fetch;Object.defineProperty(exports,"__esModule",{value:true})},void factory(exports);var factory},function(module,exports){angular.module("sense.ui.bootstrap",["sense.ui.bootstrap.tpls","sense.ui.bootstrap.typeahead","sense.ui.bootstrap.position"]);angular.module("sense.ui.bootstrap.tpls",["sense/template/typeahead/typeahead-match.html","sense/template/typeahead/typeahead-popup.html"]);angular.module("sense.ui.bootstrap.typeahead",["sense.ui.bootstrap.position"]).factory("senseUibTypeaheadParser",["$parse",function($parse){var TYPEAHEAD_REGEXP=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(input){var match=input.match(TYPEAHEAD_REGEXP);if(!match)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+input+'".');return{itemName:match[3],source:$parse(match[4]),viewMapper:$parse(match[2]||match[1]),modelMapper:$parse(match[1])}}}}]).controller("SenseUibTypeaheadController",["$scope","$element","$attrs","$compile","$parse","$q","$timeout","$document","$window","$rootScope","$senseUibPosition","senseUibTypeaheadParser",function(originalScope,element,attrs,$compile,$parse,$q,$timeout,$document,$window,$rootScope,$position,typeaheadParser){var HOT_KEYS=[9,13,27,38,40];var eventDebounceTime=200;var modelCtrl,ngModelOptions;var minLength=originalScope.$eval(attrs.typeaheadMinLength);minLength||0===minLength||(minLength=1);var waitTime=originalScope.$eval(attrs.typeaheadWaitMs)||0;var isEditable=false!==originalScope.$eval(attrs.typeaheadEditable);var isLoadingSetter=$parse(attrs.typeaheadLoading).assign||angular.noop;var onSelectCallback=$parse(attrs.typeaheadOnSelect);var isSelectOnBlur=!!angular.isDefined(attrs.typeaheadSelectOnBlur)&&originalScope.$eval(attrs.typeaheadSelectOnBlur);var isNoResultsSetter=$parse(attrs.typeaheadNoResults).assign||angular.noop;var inputFormatter=attrs.typeaheadInputFormatter?$parse(attrs.typeaheadInputFormatter):void 0;var appendToBody=!!attrs.typeaheadAppendToBody&&originalScope.$eval(attrs.typeaheadAppendToBody);var appendToElementId=attrs.typeaheadAppendToElementId||false;var focusFirst=false!==originalScope.$eval(attrs.typeaheadFocusFirst);var selectOnExact=!!attrs.typeaheadSelectOnExact&&originalScope.$eval(attrs.typeaheadSelectOnExact);var parsedModel=$parse(attrs.ngModel);var invokeModelSetter=$parse(attrs.ngModel+"($$$p)");var $setModelValue=function(scope,newValue){return angular.isFunction(parsedModel(originalScope))&&ngModelOptions&&ngModelOptions.$options&&ngModelOptions.$options.getterSetter?invokeModelSetter(scope,{$$$p:newValue}):parsedModel.assign(scope,newValue)};var parserResult=typeaheadParser.parse(attrs.senseUibTypeahead);var hasFocus;var selected;var scope=originalScope.$new();var offDestroy=originalScope.$on("$destroy",function(){scope.$destroy()});scope.$on("$destroy",offDestroy);var popupId="typeahead-"+scope.$id+"-"+Math.floor(1e4*Math.random());element.attr({"aria-autocomplete":"list","aria-expanded":false,"aria-owns":popupId});var popUpEl=angular.element("<div sense-uib-typeahead-popup></div>");popUpEl.attr({id:popupId,matches:"matches",active:"activeIdx",select:"select(activeIdx)","move-in-progress":"moveInProgress",query:"query",position:"position"});angular.isDefined(attrs.typeaheadTemplateUrl)&&popUpEl.attr("template-url",attrs.typeaheadTemplateUrl);angular.isDefined(attrs.typeaheadPopupTemplateUrl)&&popUpEl.attr("popup-template-url",attrs.typeaheadPopupTemplateUrl);var resetMatches=function(){scope.matches=[];scope.activeIdx=-1;element.attr("aria-expanded",false)};var getMatchId=function(index){return popupId+"-option-"+index};scope.$watch("activeIdx",function(index){index<0?element.removeAttr("aria-activedescendant"):element.attr("aria-activedescendant",getMatchId(index))});var inputIsExactMatch=function(inputValue,index){if(scope.matches.length>index&&inputValue)return inputValue.toUpperCase()===scope.matches[index].label.toUpperCase();return false};var getMatchesAsync=function(inputValue){var locals={$viewValue:inputValue};isLoadingSetter(originalScope,true);isNoResultsSetter(originalScope,false);$q.when(parserResult.source(originalScope,locals)).then(function(matches){var onCurrentRequest=inputValue===modelCtrl.$viewValue;if(onCurrentRequest&&hasFocus)if(matches&&matches.length>0){scope.activeIdx=focusFirst?0:-1;isNoResultsSetter(originalScope,false);scope.matches.length=0;for(var i=0;i<matches.length;i++){locals[parserResult.itemName]=matches[i];scope.matches.push({id:getMatchId(i),label:parserResult.viewMapper(scope,locals),model:matches[i]})}scope.query=inputValue;recalculatePosition();element.attr("aria-expanded",true);selectOnExact&&1===scope.matches.length&&inputIsExactMatch(inputValue,0)&&scope.select(0)}else{resetMatches();isNoResultsSetter(originalScope,true)}onCurrentRequest&&isLoadingSetter(originalScope,false)},function(){resetMatches();isLoadingSetter(originalScope,false);isNoResultsSetter(originalScope,true)})};if(appendToBody){angular.element($window).bind("resize",fireRecalculating);$document.find("body").bind("scroll",fireRecalculating)}var timeoutEventPromise;scope.moveInProgress=false;function fireRecalculating(){if(!scope.moveInProgress){scope.moveInProgress=true;scope.$digest()}timeoutEventPromise&&$timeout.cancel(timeoutEventPromise);timeoutEventPromise=$timeout(function(){scope.matches.length&&recalculatePosition();scope.moveInProgress=false},eventDebounceTime)}function recalculatePosition(){scope.position=appendToBody?$position.offset(element):$position.position(element);scope.position.top+=element.prop("offsetHeight")}scope.query=void 0;var timeoutPromise;var scheduleSearchWithTimeout=function(inputValue){timeoutPromise=$timeout(function(){getMatchesAsync(inputValue)},waitTime)};var cancelPreviousTimeout=function(){timeoutPromise&&$timeout.cancel(timeoutPromise)};resetMatches();scope.select=function(activeIdx){var locals={};var model,item;selected=true;locals[parserResult.itemName]=item=scope.matches[activeIdx].model;model=parserResult.modelMapper(originalScope,locals);$setModelValue(originalScope,model);modelCtrl.$setValidity("editable",true);modelCtrl.$setValidity("parse",true);onSelectCallback(originalScope,{$item:item,$model:model,$label:parserResult.viewMapper(originalScope,locals)});resetMatches();false!==scope.$eval(attrs.typeaheadFocusOnSelect)&&$timeout(function(){element[0].focus()},0,false)};element.bind("keydown",function(evt){if(0===scope.matches.length||-1===HOT_KEYS.indexOf(evt.which))return;if(-1===scope.activeIdx&&(9===evt.which||13===evt.which)){resetMatches();scope.$digest();return}evt.preventDefault();if(40===evt.which){scope.activeIdx=(scope.activeIdx+1)%scope.matches.length;scope.$digest()}else if(38===evt.which){scope.activeIdx=(scope.activeIdx>0?scope.activeIdx:scope.matches.length)-1;scope.$digest()}else if(13===evt.which||9===evt.which)scope.$apply(function(){scope.select(scope.activeIdx)});else if(27===evt.which){evt.stopPropagation();resetMatches();scope.$digest()}});element.bind("blur",function(){if(isSelectOnBlur&&scope.matches.length&&-1!==scope.activeIdx&&!selected){selected=true;scope.$apply(function(){scope.select(scope.activeIdx)})}hasFocus=false;selected=false});var dismissClickHandler=function(evt){if(element[0]!==evt.target&&3!==evt.which&&0!==scope.matches.length){resetMatches();$rootScope.$$phase||scope.$digest()}};$document.bind("click",dismissClickHandler);originalScope.$on("$destroy",function(){$document.unbind("click",dismissClickHandler);(appendToBody||appendToElementId)&&$popup.remove();popUpEl.remove()});var $popup=$compile(popUpEl)(scope);appendToBody?$document.find("body").append($popup):false!==appendToElementId?angular.element($document[0].getElementById(appendToElementId)).append($popup):element.after($popup);this.init=function(_modelCtrl,_ngModelOptions){modelCtrl=_modelCtrl;ngModelOptions=_ngModelOptions;modelCtrl.$parsers.unshift(function(inputValue){hasFocus=true;if(0===minLength||inputValue&&inputValue.length>=minLength)if(waitTime>0){cancelPreviousTimeout();scheduleSearchWithTimeout(inputValue)}else getMatchesAsync(inputValue);else{isLoadingSetter(originalScope,false);cancelPreviousTimeout();resetMatches()}if(isEditable)return inputValue;if(inputValue){modelCtrl.$setValidity("editable",false);return}modelCtrl.$setValidity("editable",true);return null});modelCtrl.$formatters.push(function(modelValue){var candidateViewValue,emptyViewValue;var locals={};isEditable||modelCtrl.$setValidity("editable",true);if(inputFormatter){locals.$model=modelValue;return inputFormatter(originalScope,locals)}locals[parserResult.itemName]=modelValue;candidateViewValue=parserResult.viewMapper(originalScope,locals);locals[parserResult.itemName]=void 0;emptyViewValue=parserResult.viewMapper(originalScope,locals);return candidateViewValue!==emptyViewValue?candidateViewValue:modelValue})}}]).directive("senseUibTypeahead",function(){return{controller:"SenseUibTypeaheadController",require:["ngModel","^?ngModelOptions","senseUibTypeahead"],link:function(originalScope,element,attrs,ctrls){ctrls[2].init(ctrls[0],ctrls[1])}}}).directive("senseUibTypeaheadPopup",function(){return{scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&"},replace:true,templateUrl:function(element,attrs){return attrs.popupTemplateUrl||"sense/template/typeahead/typeahead-popup.html"},link:function(scope,element,attrs){scope.templateUrl=attrs.templateUrl;scope.isOpen=function(){return scope.matches.length>0};scope.isActive=function(matchIdx){return scope.active==matchIdx};scope.selectActive=function(matchIdx){scope.active=matchIdx};scope.selectMatch=function(activeIdx){scope.select({activeIdx:activeIdx})}}}}).directive("senseUibTypeaheadMatch",["$templateCache","$compile","$parse",function($templateCache,$compile,$parse){return{scope:{index:"=",match:"=",query:"="},link:function(scope,element,attrs){var tplUrl=$parse(attrs.templateUrl)(scope.$parent)||"sense/template/typeahead/typeahead-match.html";$compile($templateCache.get(tplUrl).trim())(scope,function(clonedElement){element.replaceWith(clonedElement)})}}}]).filter("senseUibTypeaheadHighlight",["$sce","$injector","$log",function($sce,$injector,$log){var isSanitizePresent;isSanitizePresent=$injector.has("$sanitize");function escapeRegexp(queryToEscape){return queryToEscape.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}function containsHtml(matchItem){return/<.*>/g.test(matchItem)}return function(matchItem,query){!isSanitizePresent&&containsHtml(matchItem)&&$log.warn("Unsafe use of typeahead please use ngSanitize");matchItem=query?(""+matchItem).replace(new RegExp(escapeRegexp(query),"gi"),"<strong>$&</strong>"):matchItem;isSanitizePresent||(matchItem=$sce.trustAsHtml(matchItem));return matchItem}}]);angular.module("sense.ui.bootstrap.position",[]).factory("$senseUibPosition",["$document","$window",function($document,$window){function getStyle(el,cssprop){if(el.currentStyle)return el.currentStyle[cssprop];if($window.getComputedStyle)return $window.getComputedStyle(el)[cssprop];return el.style[cssprop]}function isStaticPositioned(element){return"static"===(getStyle(element,"position")||"static")}var parentOffsetEl=function(element){var docDomEl=$document[0];var offsetParent=element.offsetParent||docDomEl;while(offsetParent&&offsetParent!==docDomEl&&isStaticPositioned(offsetParent))offsetParent=offsetParent.offsetParent;return offsetParent||docDomEl};return{position:function(element){var elBCR=this.offset(element);var offsetParentBCR={top:0,left:0};var offsetParentEl=parentOffsetEl(element[0]);if(offsetParentEl!=$document[0]){offsetParentBCR=this.offset(angular.element(offsetParentEl));offsetParentBCR.top+=offsetParentEl.clientTop-offsetParentEl.scrollTop;offsetParentBCR.left+=offsetParentEl.clientLeft-offsetParentEl.scrollLeft}var boundingClientRect=element[0].getBoundingClientRect();return{width:boundingClientRect.width||element.prop("offsetWidth"),height:boundingClientRect.height||element.prop("offsetHeight"),top:elBCR.top-offsetParentBCR.top,left:elBCR.left-offsetParentBCR.left}},offset:function(element){var boundingClientRect=element[0].getBoundingClientRect();return{width:boundingClientRect.width||element.prop("offsetWidth"),height:boundingClientRect.height||element.prop("offsetHeight"),top:boundingClientRect.top+($window.pageYOffset||$document[0].documentElement.scrollTop),left:boundingClientRect.left+($window.pageXOffset||$document[0].documentElement.scrollLeft)}},positionElements:function(hostEl,targetEl,positionStr,appendToBody){var positionStrParts=positionStr.split("-");var pos0=positionStrParts[0],pos1=positionStrParts[1]||"center";var hostElPos,targetElWidth,targetElHeight,targetElPos;hostElPos=appendToBody?this.offset(hostEl):this.position(hostEl);targetElWidth=targetEl.prop("offsetWidth");targetElHeight=targetEl.prop("offsetHeight");var shiftWidth={center:function(){return hostElPos.left+hostElPos.width/2-targetElWidth/2},left:function(){return hostElPos.left},right:function(){return hostElPos.left+hostElPos.width}};var shiftHeight={center:function(){return hostElPos.top+hostElPos.height/2-targetElHeight/2},top:function(){return hostElPos.top},bottom:function(){return hostElPos.top+hostElPos.height}};switch(pos0){case"right":targetElPos={top:shiftHeight[pos1](),left:shiftWidth[pos0]()};break;case"left":targetElPos={top:shiftHeight[pos1](),left:hostElPos.left-targetElWidth};break;case"bottom":targetElPos={top:shiftHeight[pos0](),left:shiftWidth[pos1]()};break;default:targetElPos={top:hostElPos.top-targetElHeight,left:shiftWidth[pos1]()}}return targetElPos}}}]);angular.module("sense/template/typeahead/typeahead-match.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("sense/template/typeahead/typeahead-match.html",'<a href tabindex="-1" ng-bind-html="match.label | senseUibTypeaheadHighlight:query"></a>\n')}]);angular.module("sense/template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function($templateCache){$templateCache.put("sense/template/typeahead/typeahead-popup.html",'<ul class="dropdown-menu" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+\'px\', left: position().left+\'px\'}" style="display: block;" role="listbox" aria-hidden="{{!isOpen()}}">\n    <li ng-repeat="match in matches track by $index" ng-class="{active: isActive($index) }" ng-mouseenter="selectActive($index)" ng-click="selectMatch($index)" role="option" id="{{match.id}}">\n        <div sense-uib-typeahead-match index="$index" match="match" query="query" template-url="templateUrl"></div>\n    </li>\n</ul>\n')}])},function(module,exports){(function($){var options={axisLabels:{show:true}};function canvasSupported(){return!!document.createElement("canvas").getContext}function canvasTextSupported(){if(!canvasSupported())return false;var dummy_canvas=document.createElement("canvas");var context=dummy_canvas.getContext("2d");return"function"==typeof context.fillText}function css3TransitionSupported(){var div=document.createElement("div");return"undefined"!=typeof div.style.MozTransition||"undefined"!=typeof div.style.OTransition||"undefined"!=typeof div.style.webkitTransition||"undefined"!=typeof div.style.transition}function AxisLabel(axisName,position,padding,plot,opts){this.axisName=axisName;this.position=position;this.padding=padding;this.plot=plot;this.opts=opts;this.width=0;this.height=0}AxisLabel.prototype.cleanup=function(){};CanvasAxisLabel.prototype=new AxisLabel;CanvasAxisLabel.prototype.constructor=CanvasAxisLabel;function CanvasAxisLabel(axisName,position,padding,plot,opts){AxisLabel.prototype.constructor.call(this,axisName,position,padding,plot,opts)}CanvasAxisLabel.prototype.calculateSize=function(){this.opts.axisLabelFontSizePixels||(this.opts.axisLabelFontSizePixels=14);this.opts.axisLabelFontFamily||(this.opts.axisLabelFontFamily="sans-serif");this.opts.axisLabelFontSizePixels,this.padding;this.opts.axisLabelFontSizePixels,this.padding;if("left"==this.position||"right"==this.position){this.width=this.opts.axisLabelFontSizePixels+this.padding;this.height=0}else{this.width=0;this.height=this.opts.axisLabelFontSizePixels+this.padding}};CanvasAxisLabel.prototype.draw=function(box){this.opts.axisLabelColour||(this.opts.axisLabelColour="black");var ctx=this.plot.getCanvas().getContext("2d");ctx.save();ctx.font=this.opts.axisLabelFontSizePixels+"px "+this.opts.axisLabelFontFamily;ctx.fillStyle=this.opts.axisLabelColour;var width=ctx.measureText(this.opts.axisLabel).width;var height=this.opts.axisLabelFontSizePixels;var x,y,angle=0;if("top"==this.position){x=box.left+box.width/2-width/2;y=box.top+.72*height}else if("bottom"==this.position){x=box.left+box.width/2-width/2;y=box.top+box.height-.72*height}else if("left"==this.position){x=box.left+.72*height;y=box.height/2+box.top+width/2;angle=-Math.PI/2}else if("right"==this.position){x=box.left+box.width-.72*height;y=box.height/2+box.top-width/2;angle=Math.PI/2}ctx.translate(x,y);ctx.rotate(angle);ctx.fillText(this.opts.axisLabel,0,0);ctx.restore()};HtmlAxisLabel.prototype=new AxisLabel;HtmlAxisLabel.prototype.constructor=HtmlAxisLabel;function HtmlAxisLabel(axisName,position,padding,plot,opts){AxisLabel.prototype.constructor.call(this,axisName,position,padding,plot,opts);this.elem=null}HtmlAxisLabel.prototype.calculateSize=function(){var elem=$('<div class="axisLabels" style="position:absolute;">'+this.opts.axisLabel+"</div>");this.plot.getPlaceholder().append(elem);this.labelWidth=elem.outerWidth(true);this.labelHeight=elem.outerHeight(true);elem.remove();this.width=this.height=0;"left"==this.position||"right"==this.position?this.width=this.labelWidth+this.padding:this.height=this.labelHeight+this.padding};HtmlAxisLabel.prototype.cleanup=function(){this.elem&&this.elem.remove()};HtmlAxisLabel.prototype.draw=function(box){this.plot.getPlaceholder().find("#"+this.axisName+"Label").remove();this.elem=$('<div id="'+this.axisName+'Label" " class="axisLabels" style="position:absolute;">'+this.opts.axisLabel+"</div>");this.plot.getPlaceholder().append(this.elem);if("top"==this.position){this.elem.css("left",box.left+box.width/2-this.labelWidth/2+"px");this.elem.css("top",box.top+"px")}else if("bottom"==this.position){this.elem.css("left",box.left+box.width/2-this.labelWidth/2+"px");this.elem.css("top",box.top+box.height-this.labelHeight+"px")}else if("left"==this.position){this.elem.css("top",box.top+box.height/2-this.labelHeight/2+"px");this.elem.css("left",box.left+"px")}else if("right"==this.position){this.elem.css("top",box.top+box.height/2-this.labelHeight/2+"px");this.elem.css("left",box.left+box.width-this.labelWidth+"px")}};CssTransformAxisLabel.prototype=new HtmlAxisLabel;CssTransformAxisLabel.prototype.constructor=CssTransformAxisLabel;function CssTransformAxisLabel(axisName,position,padding,plot,opts){HtmlAxisLabel.prototype.constructor.call(this,axisName,position,padding,plot,opts)}CssTransformAxisLabel.prototype.calculateSize=function(){HtmlAxisLabel.prototype.calculateSize.call(this);this.width=this.height=0;"left"==this.position||"right"==this.position?this.width=this.labelHeight+this.padding:this.height=this.labelHeight+this.padding};CssTransformAxisLabel.prototype.transforms=function(degrees,x,y){var stransforms={"-moz-transform":"","-webkit-transform":"","-o-transform":"","-ms-transform":""};if(0!=x||0!=y){var stdTranslate=" translate("+x+"px, "+y+"px)";stransforms["-moz-transform"]+=stdTranslate;stransforms["-webkit-transform"]+=stdTranslate;stransforms["-o-transform"]+=stdTranslate;stransforms["-ms-transform"]+=stdTranslate}if(0!=degrees){var stdRotate=" rotate("+degrees+"deg)";stransforms["-moz-transform"]+=stdRotate;stransforms["-webkit-transform"]+=stdRotate;stransforms["-o-transform"]+=stdRotate;stransforms["-ms-transform"]+=stdRotate}var s="top: 0; left: 0; ";for(var prop in stransforms)stransforms[prop]&&(s+=prop+":"+stransforms[prop]+";");s+=";";return s};CssTransformAxisLabel.prototype.calculateOffsets=function(box){var offsets={x:0,y:0,degrees:0};if("bottom"==this.position){offsets.x=box.left+box.width/2-this.labelWidth/2;offsets.y=box.top+box.height-this.labelHeight}else if("top"==this.position){offsets.x=box.left+box.width/2-this.labelWidth/2;offsets.y=box.top}else if("left"==this.position){offsets.degrees=-90;offsets.x=box.left-this.labelWidth/2+this.labelHeight/2;offsets.y=box.height/2+box.top}else if("right"==this.position){offsets.degrees=90;offsets.x=box.left+box.width-this.labelWidth/2-this.labelHeight/2;offsets.y=box.height/2+box.top}offsets.x=Math.round(offsets.x);offsets.y=Math.round(offsets.y);return offsets};CssTransformAxisLabel.prototype.draw=function(box){this.plot.getPlaceholder().find("."+this.axisName+"Label").remove();var offsets=this.calculateOffsets(box);this.elem=$('<div class="axisLabels '+this.axisName+'Label" style="position:absolute; '+this.transforms(offsets.degrees,offsets.x,offsets.y)+'">'+this.opts.axisLabel+"</div>");this.plot.getPlaceholder().append(this.elem)};IeTransformAxisLabel.prototype=new CssTransformAxisLabel;IeTransformAxisLabel.prototype.constructor=IeTransformAxisLabel;function IeTransformAxisLabel(axisName,position,padding,plot,opts){CssTransformAxisLabel.prototype.constructor.call(this,axisName,position,padding,plot,opts);this.requiresResize=false}IeTransformAxisLabel.prototype.transforms=function(degrees,x,y){var s="";if(0!=degrees){var rotation=degrees/90;while(rotation<0)rotation+=4;s+=" filter: progid:DXImageTransform.Microsoft.BasicImage(rotation="+rotation+"); ";this.requiresResize="right"==this.position}0!=x&&(s+="left: "+x+"px; ");0!=y&&(s+="top: "+y+"px; ");return s};IeTransformAxisLabel.prototype.calculateOffsets=function(box){var offsets=CssTransformAxisLabel.prototype.calculateOffsets.call(this,box);if("top"==this.position)offsets.y=box.top+1;else if("left"==this.position){offsets.x=box.left;offsets.y=box.height/2+box.top-this.labelWidth/2}else if("right"==this.position){offsets.x=box.left+box.width-this.labelHeight;offsets.y=box.height/2+box.top-this.labelWidth/2}return offsets};IeTransformAxisLabel.prototype.draw=function(box){CssTransformAxisLabel.prototype.draw.call(this,box);if(this.requiresResize){this.elem=this.plot.getPlaceholder().find("."+this.axisName+"Label");this.elem.css("width",this.labelWidth);this.elem.css("height",this.labelHeight)}};function init(plot){plot.hooks.processOptions.push(function(plot,options){if(!options.axisLabels.show)return;var secondPass=false;var axisLabels={};var defaultPadding=2;plot.hooks.draw.push(function(plot,ctx){var hasAxisLabels=false;if(secondPass){secondPass=false;$.each(plot.getAxes(),function(axisName,axis){var opts=axis.options||plot.getOptions()[axisName];if(!opts||!opts.axisLabel||!axis.show)return;axisLabels[axisName].draw(axis.box)})}else{$.each(plot.getAxes(),function(axisName,axis){var opts=axis.options||plot.getOptions()[axisName];if(axisName in axisLabels){axis.labelHeight=axis.labelHeight-axisLabels[axisName].height;axis.labelWidth=axis.labelWidth-axisLabels[axisName].width;opts.labelHeight=axis.labelHeight;opts.labelWidth=axis.labelWidth;axisLabels[axisName].cleanup();delete axisLabels[axisName]}if(!opts||!opts.axisLabel||!axis.show)return;hasAxisLabels=true;var renderer=null;if(opts.axisLabelUseHtml||"Microsoft Internet Explorer"!=navigator.appName)renderer=opts.axisLabelUseHtml||!css3TransitionSupported()&&!canvasTextSupported()&&!opts.axisLabelUseCanvas?HtmlAxisLabel:opts.axisLabelUseCanvas||!css3TransitionSupported()?CanvasAxisLabel:CssTransformAxisLabel;else{var ua=navigator.userAgent;var re=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=re.exec(ua)&&(rv=parseFloat(RegExp.$1));renderer=rv>=9&&!opts.axisLabelUseCanvas&&!opts.axisLabelUseHtml?CssTransformAxisLabel:opts.axisLabelUseCanvas||opts.axisLabelUseHtml?opts.axisLabelUseCanvas?CanvasAxisLabel:HtmlAxisLabel:IeTransformAxisLabel}var padding=void 0===opts.axisLabelPadding?defaultPadding:opts.axisLabelPadding;axisLabels[axisName]=new renderer(axisName,axis.position,padding,plot,opts);axisLabels[axisName].calculateSize();opts.labelHeight=axis.labelHeight+axisLabels[axisName].height;opts.labelWidth=axis.labelWidth+axisLabels[axisName].width});if(hasAxisLabels){secondPass=true;plot.setupGrid();plot.draw()}}})})}$.plot.plugins.push({init:init,options:options,name:"axisLabels",version:"2.0"})})(jQuery)},function(module,exports){(function($){var options={crosshair:{mode:null,color:"rgba(170, 0, 0, 0.80)",lineWidth:1}};function init(plot){var crosshair={x:-1,y:-1,locked:false};plot.setCrosshair=function setCrosshair(pos){if(pos){var o=plot.p2c(pos);crosshair.x=Math.max(0,Math.min(o.left,plot.width()));crosshair.y=Math.max(0,Math.min(o.top,plot.height()))}else crosshair.x=-1;plot.triggerRedrawOverlay()};plot.clearCrosshair=plot.setCrosshair;plot.lockCrosshair=function lockCrosshair(pos){pos&&plot.setCrosshair(pos);crosshair.locked=true};plot.unlockCrosshair=function unlockCrosshair(){crosshair.locked=false};function onMouseOut(e){if(crosshair.locked)return;if(-1!=crosshair.x){crosshair.x=-1;plot.triggerRedrawOverlay()}}function onMouseMove(e){if(crosshair.locked)return;if(plot.getSelection&&plot.getSelection()){crosshair.x=-1;return}var offset=plot.offset();crosshair.x=Math.max(0,Math.min(e.pageX-offset.left,plot.width()));crosshair.y=Math.max(0,Math.min(e.pageY-offset.top,plot.height()));plot.triggerRedrawOverlay()}plot.hooks.bindEvents.push(function(plot,eventHolder){if(!plot.getOptions().crosshair.mode)return;eventHolder.mouseout(onMouseOut);eventHolder.mousemove(onMouseMove)});plot.hooks.drawOverlay.push(function(plot,ctx){var c=plot.getOptions().crosshair;if(!c.mode)return;var plotOffset=plot.getPlotOffset();ctx.save();ctx.translate(plotOffset.left,plotOffset.top);if(-1!=crosshair.x){var adj=plot.getOptions().crosshair.lineWidth%2?.5:0;ctx.strokeStyle=c.color;ctx.lineWidth=c.lineWidth;ctx.lineJoin="round";ctx.beginPath();if(-1!=c.mode.indexOf("x")){var drawX=Math.floor(crosshair.x)+adj;ctx.moveTo(drawX,0);ctx.lineTo(drawX,plot.height())}if(-1!=c.mode.indexOf("y")){var drawY=Math.floor(crosshair.y)+adj;ctx.moveTo(0,drawY);ctx.lineTo(plot.width(),drawY)}ctx.stroke()}ctx.restore()});plot.hooks.shutdown.push(function(plot,eventHolder){eventHolder.unbind("mouseout",onMouseOut);eventHolder.unbind("mousemove",onMouseMove)})}$.plot.plugins.push({init:init,options:options,name:"crosshair",version:"1.0"})})(jQuery)},function(module,exports){(function($){$.color={};$.color.make=function(r,g,b,a){var o={};o.r=r||0;o.g=g||0;o.b=b||0;o.a=null!=a?a:1;o.add=function(c,d){for(var i=0;i<c.length;++i)o[c.charAt(i)]+=d;return o.normalize()};o.scale=function(c,f){for(var i=0;i<c.length;++i)o[c.charAt(i)]*=f;return o.normalize()};o.toString=function(){return o.a>=1?"rgb("+[o.r,o.g,o.b].join(",")+")":"rgba("+[o.r,o.g,o.b,o.a].join(",")+")"};o.normalize=function(){function clamp(min,value,max){return value<min?min:value>max?max:value}o.r=clamp(0,parseInt(o.r),255);o.g=clamp(0,parseInt(o.g),255);o.b=clamp(0,parseInt(o.b),255);o.a=clamp(0,o.a,1);return o};o.clone=function(){return $.color.make(o.r,o.b,o.g,o.a)};return o.normalize()};$.color.extract=function(elem,css){var c;do{c=elem.css(css).toLowerCase();if(""!=c&&"transparent"!=c)break;elem=elem.parent()}while(elem.length&&!$.nodeName(elem.get(0),"body"));"rgba(0, 0, 0, 0)"==c&&(c="transparent");return $.color.parse(c)};$.color.parse=function(str){var res,m=$.color.make;if(res=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(str))return m(parseInt(res[1],10),parseInt(res[2],10),parseInt(res[3],10));if(res=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str))return m(parseInt(res[1],10),parseInt(res[2],10),parseInt(res[3],10),parseFloat(res[4]));if(res=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(str))return m(2.55*parseFloat(res[1]),2.55*parseFloat(res[2]),2.55*parseFloat(res[3]));if(res=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(str))return m(2.55*parseFloat(res[1]),2.55*parseFloat(res[2]),2.55*parseFloat(res[3]),parseFloat(res[4]));if(res=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(str))return m(parseInt(res[1],16),parseInt(res[2],16),parseInt(res[3],16));if(res=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(str))return m(parseInt(res[1]+res[1],16),parseInt(res[2]+res[2],16),parseInt(res[3]+res[3],16));var name=$.trim(str).toLowerCase();if("transparent"==name)return m(255,255,255,0);res=lookupColors[name]||[0,0,0];return m(res[0],res[1],res[2])};var lookupColors={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery);(function($){var hasOwnProperty=Object.prototype.hasOwnProperty;$.fn.detach||($.fn.detach=function(){return this.each(function(){this.parentNode&&this.parentNode.removeChild(this)})});function Canvas(cls,container){var element=container.children("."+cls)[0];if(null==element){element=document.createElement("canvas");element.className=cls;$(element).css({direction:"ltr",position:"absolute",left:0,top:0}).appendTo(container);if(!element.getContext){if(!window.G_vmlCanvasManager)throw new Error("Canvas is not available. If you're using IE with a fall-back such as Excanvas, then there's either a mistake in your conditional include, or the page has no DOCTYPE and is rendering in Quirks Mode.");element=window.G_vmlCanvasManager.initElement(element)}}this.element=element;var context=this.context=element.getContext("2d");var devicePixelRatio=window.devicePixelRatio||1,backingStoreRatio=context.webkitBackingStorePixelRatio||context.mozBackingStorePixelRatio||context.msBackingStorePixelRatio||context.oBackingStorePixelRatio||context.backingStorePixelRatio||1;this.pixelRatio=devicePixelRatio/backingStoreRatio;this.resize(container.width(),container.height());this.textContainer=null;this.text={};this._textCache={}}Canvas.prototype.resize=function(width,height){if(width<=0||height<=0)throw new Error("Invalid dimensions for plot, width = "+width+", height = "+height);var element=this.element,context=this.context,pixelRatio=this.pixelRatio;if(this.width!=width){element.width=width*pixelRatio;element.style.width=width+"px";this.width=width}if(this.height!=height){element.height=height*pixelRatio;element.style.height=height+"px";this.height=height}context.restore();context.save();context.scale(pixelRatio,pixelRatio)};Canvas.prototype.clear=function(){this.context.clearRect(0,0,this.width,this.height)};Canvas.prototype.render=function(){var cache=this._textCache;for(var layerKey in cache)if(hasOwnProperty.call(cache,layerKey)){var layer=this.getTextLayer(layerKey),layerCache=cache[layerKey];layer.hide();for(var styleKey in layerCache)if(hasOwnProperty.call(layerCache,styleKey)){var styleCache=layerCache[styleKey];for(var key in styleCache)if(hasOwnProperty.call(styleCache,key)){var positions=styleCache[key].positions;for(var position,i=0;position=positions[i];i++)if(position.active){if(!position.rendered){layer.append(position.element);position.rendered=true}}else{positions.splice(i--,1);position.rendered&&position.element.detach()}0==positions.length&&delete styleCache[key]}}layer.show()}};Canvas.prototype.getTextLayer=function(classes){var layer=this.text[classes];if(null==layer){null==this.textContainer&&(this.textContainer=$("<div class='flot-text'></div>").css({position:"absolute",top:0,left:0,bottom:0,right:0,"font-size":"smaller",color:"#545454"}).insertAfter(this.element));layer=this.text[classes]=$("<div></div>").addClass(classes).css({position:"absolute",top:0,left:0,bottom:0,right:0}).appendTo(this.textContainer)}return layer};Canvas.prototype.getTextInfo=function(layer,text,font,angle,width){var textStyle,layerCache,styleCache,info;text=""+text;textStyle="object"===typeof font?font.style+" "+font.variant+" "+font.weight+" "+font.size+"px/"+font.lineHeight+"px "+font.family:font;layerCache=this._textCache[layer];null==layerCache&&(layerCache=this._textCache[layer]={});styleCache=layerCache[textStyle];null==styleCache&&(styleCache=layerCache[textStyle]={});info=styleCache[text];if(null==info){var element=$("<div></div>").html(text).css({position:"absolute","max-width":width,top:-9999}).appendTo(this.getTextLayer(layer));"object"===typeof font?element.css({font:textStyle,color:font.color}):"string"===typeof font&&element.addClass(font);info=styleCache[text]={width:element.outerWidth(true),height:element.outerHeight(true),element:element,positions:[]};element.detach()}return info};Canvas.prototype.addText=function(layer,x,y,text,font,angle,width,halign,valign){var info=this.getTextInfo(layer,text,font,angle,width),positions=info.positions;"center"==halign?x-=info.width/2:"right"==halign&&(x-=info.width);"middle"==valign?y-=info.height/2:"bottom"==valign&&(y-=info.height);for(var position,i=0;position=positions[i];i++)if(position.x==x&&position.y==y){position.active=true;return}position={active:true,rendered:false,element:positions.length?info.element.clone():info.element,x:x,y:y};positions.push(position);position.element.css({top:Math.round(y),left:Math.round(x),"text-align":halign})};Canvas.prototype.removeText=function(layer,x,y,text,font,angle){if(null==text){var layerCache=this._textCache[layer];if(null!=layerCache)for(var styleKey in layerCache)if(hasOwnProperty.call(layerCache,styleKey)){var styleCache=layerCache[styleKey];for(var key in styleCache)if(hasOwnProperty.call(styleCache,key)){var positions=styleCache[key].positions;for(var i=0;position=positions[i];i++)position.active=false}}}else{positions=this.getTextInfo(layer,text,font,angle).positions;var position;for(i=0;position=positions[i];i++)position.x==x&&position.y==y&&(position.active=false)}};function Plot(placeholder,data_,options_,plugins){var series=[],options={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:true,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:.85,sorted:null},xaxis:{show:null,position:"bottom",mode:null,font:null,color:null,tickColor:null,transform:null,inverseTransform:null,min:null,max:null,autoscaleMargin:null,ticks:null,tickFormatter:null,labelWidth:null,labelHeight:null,reserveSpace:null,tickLength:null,alignTicksWithAxis:null,tickDecimals:null,tickSize:null,minTickSize:null},yaxis:{autoscaleMargin:.02,position:"left"},xaxes:[],yaxes:[],series:{points:{show:false,radius:3,lineWidth:2,fill:true,fillColor:"#ffffff",symbol:"circle"},lines:{lineWidth:2,fill:false,fillColor:null,steps:false},bars:{show:false,lineWidth:2,barWidth:1,fill:true,fillColor:null,align:"left",horizontal:false,zero:true},shadowSize:3,highlightColor:null},grid:{show:true,aboveData:false,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,margin:0,labelMargin:5,axisMargin:8,borderWidth:2,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:false,hoverable:false,autoHighlight:true,mouseActiveRadius:10},interaction:{redrawOverlayInterval:1e3/60},hooks:{}},surface=null,overlay=null,eventHolder=null,ctx=null,octx=null,xaxes=[],yaxes=[],plotOffset={left:0,right:0,top:0,bottom:0},plotWidth=0,plotHeight=0,hooks={processOptions:[],processRawData:[],processDatapoints:[],processOffset:[],drawBackground:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},plot=this;plot.setData=setData;plot.setupGrid=setupGrid;plot.draw=draw;plot.getPlaceholder=function(){return placeholder};plot.getCanvas=function(){return surface.element};plot.getPlotOffset=function(){return plotOffset};plot.width=function(){return plotWidth};plot.height=function(){return plotHeight};plot.offset=function(){var o=eventHolder.offset();o.left+=plotOffset.left;o.top+=plotOffset.top;return o};plot.getData=function(){return series};plot.getAxes=function(){var res={};$.each(xaxes.concat(yaxes),function(_,axis){axis&&(res[axis.direction+(1!=axis.n?axis.n:"")+"axis"]=axis)});return res};plot.getXAxes=function(){return xaxes};plot.getYAxes=function(){return yaxes};plot.c2p=canvasToAxisCoords;plot.p2c=axisToCanvasCoords;plot.getOptions=function(){return options};plot.highlight=highlight;plot.unhighlight=unhighlight;plot.triggerRedrawOverlay=triggerRedrawOverlay;plot.pointOffset=function(point){return{left:parseInt(xaxes[axisNumber(point,"x")-1].p2c(+point.x)+plotOffset.left,10),top:parseInt(yaxes[axisNumber(point,"y")-1].p2c(+point.y)+plotOffset.top,10)}};plot.shutdown=shutdown;plot.destroy=function(){shutdown();placeholder.removeData("plot").empty();series=[];options=null;surface=null;overlay=null;eventHolder=null;ctx=null;octx=null;xaxes=[];yaxes=[];hooks=null;highlights=[];plot=null};plot.resize=function(){var width=placeholder.width(),height=placeholder.height();surface.resize(width,height);overlay.resize(width,height)};plot.hooks=hooks;initPlugins(plot);parseOptions(options_);setupCanvases();setData(data_);setupGrid();draw();bindEvents();function executeHooks(hook,args){args=[plot].concat(args);for(var i=0;i<hook.length;++i)hook[i].apply(this,args)}function initPlugins(){var classes={Canvas:Canvas};for(var i=0;i<plugins.length;++i){var p=plugins[i];p.init(plot,classes);p.options&&$.extend(true,options,p.options)}}function parseOptions(opts){$.extend(true,options,opts);opts&&opts.colors&&(options.colors=opts.colors);null==options.xaxis.color&&(options.xaxis.color=$.color.parse(options.grid.color).scale("a",.22).toString());null==options.yaxis.color&&(options.yaxis.color=$.color.parse(options.grid.color).scale("a",.22).toString());null==options.xaxis.tickColor&&(options.xaxis.tickColor=options.grid.tickColor||options.xaxis.color);null==options.yaxis.tickColor&&(options.yaxis.tickColor=options.grid.tickColor||options.yaxis.color);null==options.grid.borderColor&&(options.grid.borderColor=options.grid.color);null==options.grid.tickColor&&(options.grid.tickColor=$.color.parse(options.grid.color).scale("a",.22).toString());var i,axisOptions,axisCount,fontSize=placeholder.css("font-size"),fontSizeDefault=fontSize?+fontSize.replace("px",""):13,fontDefaults={style:placeholder.css("font-style"),size:Math.round(.8*fontSizeDefault),variant:placeholder.css("font-variant"),weight:placeholder.css("font-weight"),family:placeholder.css("font-family")};axisCount=options.xaxes.length||1;for(i=0;i<axisCount;++i){axisOptions=options.xaxes[i];axisOptions&&!axisOptions.tickColor&&(axisOptions.tickColor=axisOptions.color);axisOptions=$.extend(true,{},options.xaxis,axisOptions);options.xaxes[i]=axisOptions;if(axisOptions.font){axisOptions.font=$.extend({},fontDefaults,axisOptions.font);axisOptions.font.color||(axisOptions.font.color=axisOptions.color);axisOptions.font.lineHeight||(axisOptions.font.lineHeight=Math.round(1.15*axisOptions.font.size))}}axisCount=options.yaxes.length||1;for(i=0;i<axisCount;++i){axisOptions=options.yaxes[i];axisOptions&&!axisOptions.tickColor&&(axisOptions.tickColor=axisOptions.color);axisOptions=$.extend(true,{},options.yaxis,axisOptions);options.yaxes[i]=axisOptions;if(axisOptions.font){axisOptions.font=$.extend({},fontDefaults,axisOptions.font);axisOptions.font.color||(axisOptions.font.color=axisOptions.color);axisOptions.font.lineHeight||(axisOptions.font.lineHeight=Math.round(1.15*axisOptions.font.size))}}options.xaxis.noTicks&&null==options.xaxis.ticks&&(options.xaxis.ticks=options.xaxis.noTicks);options.yaxis.noTicks&&null==options.yaxis.ticks&&(options.yaxis.ticks=options.yaxis.noTicks);if(options.x2axis){options.xaxes[1]=$.extend(true,{},options.xaxis,options.x2axis);options.xaxes[1].position="top";null==options.x2axis.min&&(options.xaxes[1].min=null);null==options.x2axis.max&&(options.xaxes[1].max=null)}if(options.y2axis){options.yaxes[1]=$.extend(true,{},options.yaxis,options.y2axis);options.yaxes[1].position="right";null==options.y2axis.min&&(options.yaxes[1].min=null);null==options.y2axis.max&&(options.yaxes[1].max=null)}options.grid.coloredAreas&&(options.grid.markings=options.grid.coloredAreas);options.grid.coloredAreasColor&&(options.grid.markingsColor=options.grid.coloredAreasColor);options.lines&&$.extend(true,options.series.lines,options.lines);options.points&&$.extend(true,options.series.points,options.points);options.bars&&$.extend(true,options.series.bars,options.bars);null!=options.shadowSize&&(options.series.shadowSize=options.shadowSize);null!=options.highlightColor&&(options.series.highlightColor=options.highlightColor);for(i=0;i<options.xaxes.length;++i)getOrCreateAxis(xaxes,i+1).options=options.xaxes[i];for(i=0;i<options.yaxes.length;++i)getOrCreateAxis(yaxes,i+1).options=options.yaxes[i];for(var n in hooks)options.hooks[n]&&options.hooks[n].length&&(hooks[n]=hooks[n].concat(options.hooks[n]));executeHooks(hooks.processOptions,[options])}function setData(d){series=parseData(d);fillInSeriesOptions();processData()}function parseData(d){var res=[];for(var i=0;i<d.length;++i){var s=$.extend(true,{},options.series);if(null!=d[i].data){s.data=d[i].data;delete d[i].data;$.extend(true,s,d[i]);d[i].data=s.data}else s.data=d[i];res.push(s)}return res}function axisNumber(obj,coord){var a=obj[coord+"axis"];"object"==typeof a&&(a=a.n);"number"!=typeof a&&(a=1);return a}function allAxes(){return $.grep(xaxes.concat(yaxes),function(a){return a})}function canvasToAxisCoords(pos){var i,axis,res={};for(i=0;i<xaxes.length;++i){axis=xaxes[i];axis&&axis.used&&(res["x"+axis.n]=axis.c2p(pos.left))}for(i=0;i<yaxes.length;++i){axis=yaxes[i];axis&&axis.used&&(res["y"+axis.n]=axis.c2p(pos.top))}void 0!==res.x1&&(res.x=res.x1);void 0!==res.y1&&(res.y=res.y1);return res}function axisToCanvasCoords(pos){var i,axis,key,res={};for(i=0;i<xaxes.length;++i){axis=xaxes[i];if(axis&&axis.used){key="x"+axis.n;null==pos[key]&&1==axis.n&&(key="x");if(null!=pos[key]){res.left=axis.p2c(pos[key]);break}}}for(i=0;i<yaxes.length;++i){axis=yaxes[i];if(axis&&axis.used){key="y"+axis.n;null==pos[key]&&1==axis.n&&(key="y");if(null!=pos[key]){res.top=axis.p2c(pos[key]);break}}}return res}function getOrCreateAxis(axes,number){axes[number-1]||(axes[number-1]={n:number,direction:axes==xaxes?"x":"y",options:$.extend(true,{},axes==xaxes?options.xaxis:options.yaxis)});return axes[number-1]}function fillInSeriesOptions(){var i,neededColors=series.length,maxIndex=-1;for(i=0;i<series.length;++i){var sc=series[i].color;if(null!=sc){neededColors--;"number"==typeof sc&&sc>maxIndex&&(maxIndex=sc)}}neededColors<=maxIndex&&(neededColors=maxIndex+1);var c,colors=[],colorPool=options.colors,colorPoolSize=colorPool.length,variation=0;for(i=0;i<neededColors;i++){c=$.color.parse(colorPool[i%colorPoolSize]||"#666");i%colorPoolSize==0&&i&&(variation=variation>=0?variation<.5?-variation-.2:0:-variation);colors[i]=c.scale("rgb",1+variation)}var s,colori=0;for(i=0;i<series.length;++i){s=series[i];if(null==s.color){s.color=colors[colori].toString();++colori}else"number"==typeof s.color&&(s.color=colors[s.color].toString());if(null==s.lines.show){var v,show=true;for(v in s)if(s[v]&&s[v].show){show=false;break}show&&(s.lines.show=true)}null==s.lines.zero&&(s.lines.zero=!!s.lines.fill);s.xaxis=getOrCreateAxis(xaxes,axisNumber(s,"x"));s.yaxis=getOrCreateAxis(yaxes,axisNumber(s,"y"))}}function processData(){var i,j,k,m,s,points,ps,val,f,p,data,format,topSentry=Number.POSITIVE_INFINITY,bottomSentry=Number.NEGATIVE_INFINITY,fakeInfinity=Number.MAX_VALUE;function updateAxis(axis,min,max){min<axis.datamin&&min!=-fakeInfinity&&(axis.datamin=min);max>axis.datamax&&max!=fakeInfinity&&(axis.datamax=max)}$.each(allAxes(),function(_,axis){axis.datamin=topSentry;axis.datamax=bottomSentry;axis.used=false});for(i=0;i<series.length;++i){s=series[i];s.datapoints={points:[]};executeHooks(hooks.processRawData,[s,s.data,s.datapoints])}for(i=0;i<series.length;++i){s=series[i];data=s.data;format=s.datapoints.format;if(!format){format=[];format.push({x:true,number:true,required:true});format.push({y:true,number:true,required:true});if(s.bars.show||s.lines.show&&s.lines.fill){var autoscale=!!(s.bars.show&&s.bars.zero||s.lines.show&&s.lines.zero);format.push({y:true,number:true,required:false,defaultValue:0,autoscale:autoscale});if(s.bars.horizontal){delete format[format.length-1].y;format[format.length-1].x=true}}s.datapoints.format=format}if(null!=s.datapoints.pointsize)continue;s.datapoints.pointsize=format.length;ps=s.datapoints.pointsize;points=s.datapoints.points;var insertSteps=s.lines.show&&s.lines.steps;s.xaxis.used=s.yaxis.used=true;for(j=k=0;j<data.length;++j,k+=ps){p=data[j];var nullify=null==p;if(!nullify)for(m=0;m<ps;++m){val=p[m];f=format[m];if(f){if(f.number&&null!=val){val=+val;isNaN(val)?val=null:Infinity==val?val=fakeInfinity:-Infinity==val&&(val=-fakeInfinity)}if(null==val){f.required&&(nullify=true);null!=f.defaultValue&&(val=f.defaultValue)}}points[k+m]=val}if(nullify)for(m=0;m<ps;++m){val=points[k+m];if(null!=val){f=format[m];if(false!==f.autoscale){f.x&&updateAxis(s.xaxis,val,val);f.y&&updateAxis(s.yaxis,val,val)}}points[k+m]=null}else if(insertSteps&&k>0&&null!=points[k-ps]&&points[k-ps]!=points[k]&&points[k-ps+1]!=points[k+1]){for(m=0;m<ps;++m)points[k+ps+m]=points[k+m];points[k+1]=points[k-ps+1];k+=ps}}}for(i=0;i<series.length;++i){s=series[i];executeHooks(hooks.processDatapoints,[s,s.datapoints])}for(i=0;i<series.length;++i){s=series[i];points=s.datapoints.points;ps=s.datapoints.pointsize;format=s.datapoints.format;var xmin=topSentry,ymin=topSentry,xmax=bottomSentry,ymax=bottomSentry;for(j=0;j<points.length;j+=ps){if(null==points[j])continue;for(m=0;m<ps;++m){val=points[j+m];f=format[m];if(!f||false===f.autoscale||val==fakeInfinity||val==-fakeInfinity)continue;if(f.x){val<xmin&&(xmin=val);val>xmax&&(xmax=val)}if(f.y){val<ymin&&(ymin=val);val>ymax&&(ymax=val)}}}if(s.bars.show){var delta;switch(s.bars.align){case"left":delta=0;break;case"right":delta=-s.bars.barWidth;break;default:delta=-s.bars.barWidth/2}if(s.bars.horizontal){ymin+=delta;ymax+=delta+s.bars.barWidth}else{xmin+=delta;xmax+=delta+s.bars.barWidth}}updateAxis(s.xaxis,xmin,xmax);updateAxis(s.yaxis,ymin,ymax)}$.each(allAxes(),function(_,axis){axis.datamin==topSentry&&(axis.datamin=null);axis.datamax==bottomSentry&&(axis.datamax=null)})}function setupCanvases(){placeholder.css("padding",0).children().filter(function(){return!$(this).hasClass("flot-overlay")&&!$(this).hasClass("flot-base")}).remove();"static"==placeholder.css("position")&&placeholder.css("position","relative");surface=new Canvas("flot-base",placeholder);overlay=new Canvas("flot-overlay",placeholder);ctx=surface.context;octx=overlay.context;eventHolder=$(overlay.element).unbind();var existing=placeholder.data("plot");if(existing){existing.shutdown();overlay.clear()}placeholder.data("plot",plot)}function bindEvents(){if(options.grid.hoverable){eventHolder.mousemove(onMouseMove);eventHolder.bind("mouseleave",onMouseLeave)}options.grid.clickable&&eventHolder.click(onClick);executeHooks(hooks.bindEvents,[eventHolder])}function shutdown(){redrawTimeout&&clearTimeout(redrawTimeout);eventHolder.unbind("mousemove",onMouseMove);eventHolder.unbind("mouseleave",onMouseLeave);eventHolder.unbind("click",onClick);executeHooks(hooks.shutdown,[eventHolder])}function setTransformationHelpers(axis){function identity(x){return x}var s,m,t=axis.options.transform||identity,it=axis.options.inverseTransform;if("x"==axis.direction){s=axis.scale=plotWidth/Math.abs(t(axis.max)-t(axis.min));m=Math.min(t(axis.max),t(axis.min))}else{s=axis.scale=plotHeight/Math.abs(t(axis.max)-t(axis.min));s=-s;m=Math.max(t(axis.max),t(axis.min))}axis.p2c=t==identity?function(p){return(p-m)*s}:function(p){return(t(p)-m)*s};axis.c2p=it?function(c){return it(m+c/s)}:function(c){return m+c/s}}function measureTickLabels(axis){var opts=axis.options,ticks=axis.ticks||[],labelWidth=opts.labelWidth||0,labelHeight=opts.labelHeight||0,maxWidth=labelWidth||("x"==axis.direction?Math.floor(surface.width/(ticks.length||1)):null),legacyStyles=axis.direction+"Axis "+axis.direction+axis.n+"Axis",layer="flot-"+axis.direction+"-axis flot-"+axis.direction+axis.n+"-axis "+legacyStyles,font=opts.font||"flot-tick-label tickLabel";for(var i=0;i<ticks.length;++i){var t=ticks[i];if(!t.label)continue;var info=surface.getTextInfo(layer,t.label,font,null,maxWidth);labelWidth=Math.max(labelWidth,info.width);labelHeight=Math.max(labelHeight,info.height)}axis.labelWidth=opts.labelWidth||labelWidth;axis.labelHeight=opts.labelHeight||labelHeight}function allocateAxisBoxFirstPhase(axis){var lw=axis.labelWidth,lh=axis.labelHeight,pos=axis.options.position,isXAxis="x"===axis.direction,tickLength=axis.options.tickLength,axisMargin=options.grid.axisMargin,padding=options.grid.labelMargin,innermost=true,outermost=true,first=true,found=false;$.each(isXAxis?xaxes:yaxes,function(i,a){if(a&&(a.show||a.reserveSpace)){a===axis?found=true:a.options.position===pos&&(found?outermost=false:innermost=false);found||(first=false)}});outermost&&(axisMargin=0);null==tickLength&&(tickLength=first?"full":5);isNaN(+tickLength)||(padding+=+tickLength);if(isXAxis){lh+=padding;if("bottom"==pos){plotOffset.bottom+=lh+axisMargin;axis.box={top:surface.height-plotOffset.bottom,height:lh}}else{axis.box={top:plotOffset.top+axisMargin,height:lh};plotOffset.top+=lh+axisMargin}}else{lw+=padding;if("left"==pos){axis.box={left:plotOffset.left+axisMargin,width:lw};plotOffset.left+=lw+axisMargin}else{plotOffset.right+=lw+axisMargin;axis.box={left:surface.width-plotOffset.right,width:lw}}}axis.position=pos;axis.tickLength=tickLength;axis.box.padding=padding;axis.innermost=innermost}function allocateAxisBoxSecondPhase(axis){if("x"==axis.direction){axis.box.left=plotOffset.left-axis.labelWidth/2;axis.box.width=surface.width-plotOffset.left-plotOffset.right+axis.labelWidth}else{axis.box.top=plotOffset.top-axis.labelHeight/2;axis.box.height=surface.height-plotOffset.bottom-plotOffset.top+axis.labelHeight}}function adjustLayoutForThingsStickingOut(){var i,minMargin=options.grid.minBorderMargin;if(null==minMargin){minMargin=0;for(i=0;i<series.length;++i)minMargin=Math.max(minMargin,2*(series[i].points.radius+series[i].points.lineWidth/2))}var margins={left:minMargin,right:minMargin,top:minMargin,bottom:minMargin};$.each(allAxes(),function(_,axis){if(axis.reserveSpace&&axis.ticks&&axis.ticks.length)if("x"===axis.direction){margins.left=Math.max(margins.left,axis.labelWidth/2);margins.right=Math.max(margins.right,axis.labelWidth/2)}else{margins.bottom=Math.max(margins.bottom,axis.labelHeight/2);margins.top=Math.max(margins.top,axis.labelHeight/2)}});plotOffset.left=Math.ceil(Math.max(margins.left,plotOffset.left));plotOffset.right=Math.ceil(Math.max(margins.right,plotOffset.right));plotOffset.top=Math.ceil(Math.max(margins.top,plotOffset.top));plotOffset.bottom=Math.ceil(Math.max(margins.bottom,plotOffset.bottom))}function setupGrid(){var i,axes=allAxes(),showGrid=options.grid.show;for(var a in plotOffset){var margin=options.grid.margin||0;plotOffset[a]="number"==typeof margin?margin:margin[a]||0}executeHooks(hooks.processOffset,[plotOffset]);for(var a in plotOffset)"object"==typeof options.grid.borderWidth?plotOffset[a]+=showGrid?options.grid.borderWidth[a]:0:plotOffset[a]+=showGrid?options.grid.borderWidth:0;$.each(axes,function(_,axis){var axisOpts=axis.options;axis.show=null==axisOpts.show?axis.used:axisOpts.show;axis.reserveSpace=null==axisOpts.reserveSpace?axis.show:axisOpts.reserveSpace;setRange(axis)});if(showGrid){var allocatedAxes=$.grep(axes,function(axis){return axis.show||axis.reserveSpace});$.each(allocatedAxes,function(_,axis){setupTickGeneration(axis);setTicks(axis);snapRangeToTicks(axis,axis.ticks);measureTickLabels(axis)});for(i=allocatedAxes.length-1;i>=0;--i)allocateAxisBoxFirstPhase(allocatedAxes[i]);adjustLayoutForThingsStickingOut();$.each(allocatedAxes,function(_,axis){allocateAxisBoxSecondPhase(axis)})}plotWidth=surface.width-plotOffset.left-plotOffset.right;plotHeight=surface.height-plotOffset.bottom-plotOffset.top;$.each(axes,function(_,axis){setTransformationHelpers(axis)});showGrid&&drawAxisLabels();insertLegend()}function setRange(axis){var opts=axis.options,min=+(null!=opts.min?opts.min:axis.datamin),max=+(null!=opts.max?opts.max:axis.datamax),delta=max-min;if(0==delta){var widen=0==max?1:.01;null==opts.min&&(min-=widen);null!=opts.max&&null==opts.min||(max+=widen)}else{var margin=opts.autoscaleMargin;if(null!=margin){if(null==opts.min){min-=delta*margin;min<0&&null!=axis.datamin&&axis.datamin>=0&&(min=0)}if(null==opts.max){max+=delta*margin;max>0&&null!=axis.datamax&&axis.datamax<=0&&(max=0)}}}axis.min=min;axis.max=max}function setupTickGeneration(axis){var opts=axis.options;var noTicks;noTicks="number"==typeof opts.ticks&&opts.ticks>0?opts.ticks:.3*Math.sqrt("x"==axis.direction?surface.width:surface.height);var delta=(axis.max-axis.min)/noTicks,dec=-Math.floor(Math.log(delta)/Math.LN10),maxDec=opts.tickDecimals;null!=maxDec&&dec>maxDec&&(dec=maxDec);var size,magn=Math.pow(10,-dec),norm=delta/magn;if(norm<1.5)size=1;else if(norm<3){size=2;if(norm>2.25&&(null==maxDec||dec+1<=maxDec)){size=2.5;++dec}}else size=norm<7.5?5:10;size*=magn;null!=opts.minTickSize&&size<opts.minTickSize&&(size=opts.minTickSize);axis.delta=delta;axis.tickDecimals=Math.max(0,null!=maxDec?maxDec:dec);axis.tickSize=opts.tickSize||size;if("time"==opts.mode&&!axis.tickGenerator)throw new Error("Time mode requires the flot.time plugin.");if(!axis.tickGenerator){axis.tickGenerator=function(axis){var prev,ticks=[],start=floorInBase(axis.min,axis.tickSize),i=0,v=Number.NaN;do{prev=v;v=start+i*axis.tickSize;ticks.push(v);++i}while(v<axis.max&&v!=prev);return ticks};axis.tickFormatter=function(value,axis){var factor=axis.tickDecimals?Math.pow(10,axis.tickDecimals):1;var formatted=""+Math.round(value*factor)/factor;if(null!=axis.tickDecimals){var decimal=formatted.indexOf(".");var precision=-1==decimal?0:formatted.length-decimal-1;if(precision<axis.tickDecimals)return(precision?formatted:formatted+".")+(""+factor).substr(1,axis.tickDecimals-precision)}return formatted}}$.isFunction(opts.tickFormatter)&&(axis.tickFormatter=function(v,axis){return""+opts.tickFormatter(v,axis)});if(null!=opts.alignTicksWithAxis){var otherAxis=("x"==axis.direction?xaxes:yaxes)[opts.alignTicksWithAxis-1];if(otherAxis&&otherAxis.used&&otherAxis!=axis){var niceTicks=axis.tickGenerator(axis);if(niceTicks.length>0){null==opts.min&&(axis.min=Math.min(axis.min,niceTicks[0]));null==opts.max&&niceTicks.length>1&&(axis.max=Math.max(axis.max,niceTicks[niceTicks.length-1]))}axis.tickGenerator=function(axis){var v,i,ticks=[];for(i=0;i<otherAxis.ticks.length;++i){v=(otherAxis.ticks[i].v-otherAxis.min)/(otherAxis.max-otherAxis.min);v=axis.min+v*(axis.max-axis.min);ticks.push(v)}return ticks};if(!axis.mode&&null==opts.tickDecimals){var extraDec=Math.max(0,1-Math.floor(Math.log(axis.delta)/Math.LN10)),ts=axis.tickGenerator(axis);ts.length>1&&/\..*0$/.test((ts[1]-ts[0]).toFixed(extraDec))||(axis.tickDecimals=extraDec)}}}}function setTicks(axis){var oticks=axis.options.ticks,ticks=[];null==oticks||"number"==typeof oticks&&oticks>0?ticks=axis.tickGenerator(axis):oticks&&(ticks=$.isFunction(oticks)?oticks(axis):oticks);var i,v;axis.ticks=[];for(i=0;i<ticks.length;++i){var label=null;var t=ticks[i];if("object"==typeof t){v=+t[0];t.length>1&&(label=t[1])}else v=+t;null==label&&(label=axis.tickFormatter(v,axis));isNaN(v)||axis.ticks.push({v:v,label:label})}}function snapRangeToTicks(axis,ticks){if(axis.options.autoscaleMargin&&ticks.length>0){null==axis.options.min&&(axis.min=Math.min(axis.min,ticks[0].v));null==axis.options.max&&ticks.length>1&&(axis.max=Math.max(axis.max,ticks[ticks.length-1].v))}}function draw(){surface.clear();executeHooks(hooks.drawBackground,[ctx]);var grid=options.grid;grid.show&&grid.backgroundColor&&drawBackground();grid.show&&!grid.aboveData&&drawGrid();for(var i=0;i<series.length;++i){executeHooks(hooks.drawSeries,[ctx,series[i]]);drawSeries(series[i])}executeHooks(hooks.draw,[ctx]);grid.show&&grid.aboveData&&drawGrid();surface.render();triggerRedrawOverlay()}function extractRange(ranges,coord){var axis,from,to,key,axes=allAxes();for(var i=0;i<axes.length;++i){axis=axes[i];if(axis.direction==coord){key=coord+axis.n+"axis";ranges[key]||1!=axis.n||(key=coord+"axis");if(ranges[key]){from=ranges[key].from;to=ranges[key].to;break}}}if(!ranges[key]){axis="x"==coord?xaxes[0]:yaxes[0];from=ranges[coord+"1"];to=ranges[coord+"2"]}if(null!=from&&null!=to&&from>to){var tmp=from;from=to;to=tmp}return{from:from,to:to,axis:axis}}function drawBackground(){ctx.save();ctx.translate(plotOffset.left,plotOffset.top);ctx.fillStyle=getColorOrGradient(options.grid.backgroundColor,plotHeight,0,"rgba(255, 255, 255, 0)");ctx.fillRect(0,0,plotWidth,plotHeight);ctx.restore()}function drawGrid(){var i,axes,bw,bc;ctx.save();ctx.translate(plotOffset.left,plotOffset.top);var markings=options.grid.markings;if(markings){if($.isFunction(markings)){axes=plot.getAxes();axes.xmin=axes.xaxis.min;axes.xmax=axes.xaxis.max;axes.ymin=axes.yaxis.min;axes.ymax=axes.yaxis.max;markings=markings(axes)}for(i=0;i<markings.length;++i){var m=markings[i],xrange=extractRange(m,"x"),yrange=extractRange(m,"y");null==xrange.from&&(xrange.from=xrange.axis.min);null==xrange.to&&(xrange.to=xrange.axis.max);null==yrange.from&&(yrange.from=yrange.axis.min);null==yrange.to&&(yrange.to=yrange.axis.max);if(xrange.to<xrange.axis.min||xrange.from>xrange.axis.max||yrange.to<yrange.axis.min||yrange.from>yrange.axis.max)continue;xrange.from=Math.max(xrange.from,xrange.axis.min);xrange.to=Math.min(xrange.to,xrange.axis.max);yrange.from=Math.max(yrange.from,yrange.axis.min);yrange.to=Math.min(yrange.to,yrange.axis.max);var xequal=xrange.from===xrange.to,yequal=yrange.from===yrange.to;if(xequal&&yequal)continue;xrange.from=Math.floor(xrange.axis.p2c(xrange.from));xrange.to=Math.floor(xrange.axis.p2c(xrange.to));yrange.from=Math.floor(yrange.axis.p2c(yrange.from));yrange.to=Math.floor(yrange.axis.p2c(yrange.to));if(xequal||yequal){var lineWidth=m.lineWidth||options.grid.markingsLineWidth,subPixel=lineWidth%2?.5:0;ctx.beginPath();ctx.strokeStyle=m.color||options.grid.markingsColor;ctx.lineWidth=lineWidth;if(xequal){ctx.moveTo(xrange.to+subPixel,yrange.from);ctx.lineTo(xrange.to+subPixel,yrange.to)}else{ctx.moveTo(xrange.from,yrange.to+subPixel);ctx.lineTo(xrange.to,yrange.to+subPixel)}ctx.stroke()}else{ctx.fillStyle=m.color||options.grid.markingsColor;ctx.fillRect(xrange.from,yrange.to,xrange.to-xrange.from,yrange.from-yrange.to)}}}axes=allAxes();bw=options.grid.borderWidth;for(var j=0;j<axes.length;++j){var x,y,xoff,yoff,axis=axes[j],box=axis.box,t=axis.tickLength;if(!axis.show||0==axis.ticks.length)continue;ctx.lineWidth=1;if("x"==axis.direction){x=0;y="full"==t?"top"==axis.position?0:plotHeight:box.top-plotOffset.top+("top"==axis.position?box.height:0)}else{y=0;x="full"==t?"left"==axis.position?0:plotWidth:box.left-plotOffset.left+("left"==axis.position?box.width:0)}if(!axis.innermost){ctx.strokeStyle=axis.options.color;ctx.beginPath();xoff=yoff=0;"x"==axis.direction?xoff=plotWidth+1:yoff=plotHeight+1;1==ctx.lineWidth&&("x"==axis.direction?y=Math.floor(y)+.5:x=Math.floor(x)+.5);ctx.moveTo(x,y);ctx.lineTo(x+xoff,y+yoff);ctx.stroke()}ctx.strokeStyle=axis.options.tickColor;ctx.beginPath();for(i=0;i<axis.ticks.length;++i){var v=axis.ticks[i].v;xoff=yoff=0;if(isNaN(v)||v<axis.min||v>axis.max||"full"==t&&("object"==typeof bw&&bw[axis.position]>0||bw>0)&&(v==axis.min||v==axis.max))continue;if("x"==axis.direction){x=axis.p2c(v);yoff="full"==t?-plotHeight:t;"top"==axis.position&&(yoff=-yoff)}else{y=axis.p2c(v);xoff="full"==t?-plotWidth:t;"left"==axis.position&&(xoff=-xoff)}1==ctx.lineWidth&&("x"==axis.direction?x=Math.floor(x)+.5:y=Math.floor(y)+.5);ctx.moveTo(x,y);ctx.lineTo(x+xoff,y+yoff)}ctx.stroke()}if(bw){bc=options.grid.borderColor;if("object"==typeof bw||"object"==typeof bc){"object"!==typeof bw&&(bw={top:bw,right:bw,bottom:bw,left:bw});"object"!==typeof bc&&(bc={top:bc,right:bc,bottom:bc,left:bc});if(bw.top>0){ctx.strokeStyle=bc.top;ctx.lineWidth=bw.top;ctx.beginPath();ctx.moveTo(0-bw.left,0-bw.top/2);ctx.lineTo(plotWidth,0-bw.top/2);ctx.stroke()}if(bw.right>0){ctx.strokeStyle=bc.right;ctx.lineWidth=bw.right;ctx.beginPath();ctx.moveTo(plotWidth+bw.right/2,0-bw.top);ctx.lineTo(plotWidth+bw.right/2,plotHeight);ctx.stroke()}if(bw.bottom>0){ctx.strokeStyle=bc.bottom;ctx.lineWidth=bw.bottom;ctx.beginPath();ctx.moveTo(plotWidth+bw.right,plotHeight+bw.bottom/2);ctx.lineTo(0,plotHeight+bw.bottom/2);ctx.stroke()}if(bw.left>0){ctx.strokeStyle=bc.left;ctx.lineWidth=bw.left;ctx.beginPath();ctx.moveTo(0-bw.left/2,plotHeight+bw.bottom);ctx.lineTo(0-bw.left/2,0);ctx.stroke()}}else{ctx.lineWidth=bw;ctx.strokeStyle=options.grid.borderColor;ctx.strokeRect(-bw/2,-bw/2,plotWidth+bw,plotHeight+bw)}}ctx.restore()}function drawAxisLabels(){$.each(allAxes(),function(_,axis){var tick,x,y,halign,valign,box=axis.box,legacyStyles=axis.direction+"Axis "+axis.direction+axis.n+"Axis",layer="flot-"+axis.direction+"-axis flot-"+axis.direction+axis.n+"-axis "+legacyStyles,font=axis.options.font||"flot-tick-label tickLabel";surface.removeText(layer);if(!axis.show||0==axis.ticks.length)return;for(var i=0;i<axis.ticks.length;++i){tick=axis.ticks[i];if(!tick.label||tick.v<axis.min||tick.v>axis.max)continue;if("x"==axis.direction){halign="center";x=plotOffset.left+axis.p2c(tick.v);if("bottom"==axis.position)y=box.top+box.padding;else{y=box.top+box.height-box.padding;valign="bottom"}}else{valign="middle";y=plotOffset.top+axis.p2c(tick.v);if("left"==axis.position){x=box.left+box.width-box.padding;halign="right"}else x=box.left+box.padding}surface.addText(layer,x,y,tick.label,font,null,null,halign,valign)}})}function drawSeries(series){series.lines.show&&drawSeriesLines(series);series.bars.show&&drawSeriesBars(series);series.points.show&&drawSeriesPoints(series)}function drawSeriesLines(series){function plotLine(datapoints,xoffset,yoffset,axisx,axisy){var points=datapoints.points,ps=datapoints.pointsize,prevx=null,prevy=null;ctx.beginPath();for(var i=ps;i<points.length;i+=ps){var x1=points[i-ps],y1=points[i-ps+1],x2=points[i],y2=points[i+1];if(null==x1||null==x2)continue;if(y1<=y2&&y1<axisy.min){if(y2<axisy.min)continue;x1=(axisy.min-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.min}else if(y2<=y1&&y2<axisy.min){if(y1<axisy.min)continue;x2=(axisy.min-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.min}if(y1>=y2&&y1>axisy.max){if(y2>axisy.max)continue;x1=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.max}else if(y2>=y1&&y2>axisy.max){if(y1>axisy.max)continue;x2=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.max}if(x1<=x2&&x1<axisx.min){if(x2<axisx.min)continue;y1=(axisx.min-x1)/(x2-x1)*(y2-y1)+y1;x1=axisx.min}else if(x2<=x1&&x2<axisx.min){if(x1<axisx.min)continue;y2=(axisx.min-x1)/(x2-x1)*(y2-y1)+y1;x2=axisx.min}if(x1>=x2&&x1>axisx.max){if(x2>axisx.max)continue;y1=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x1=axisx.max}else if(x2>=x1&&x2>axisx.max){if(x1>axisx.max)continue;y2=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x2=axisx.max}x1==prevx&&y1==prevy||ctx.moveTo(axisx.p2c(x1)+xoffset,axisy.p2c(y1)+yoffset);prevx=x2;prevy=y2;ctx.lineTo(axisx.p2c(x2)+xoffset,axisy.p2c(y2)+yoffset)}ctx.stroke()}function plotLineArea(datapoints,axisx,axisy){var points=datapoints.points,ps=datapoints.pointsize,bottom=Math.min(Math.max(0,axisy.min),axisy.max),i=0,areaOpen=false,ypos=1,segmentStart=0,segmentEnd=0;while(true){if(ps>0&&i>points.length+ps)break;i+=ps;var x1=points[i-ps],y1=points[i-ps+ypos],x2=points[i],y2=points[i+ypos];if(areaOpen){if(ps>0&&null!=x1&&null==x2){segmentEnd=i;ps=-ps;ypos=2;continue}if(ps<0&&i==segmentStart+ps){ctx.fill();areaOpen=false;ps=-ps;ypos=1;i=segmentStart=segmentEnd+ps;continue}}if(null==x1||null==x2)continue;if(x1<=x2&&x1<axisx.min){if(x2<axisx.min)continue;y1=(axisx.min-x1)/(x2-x1)*(y2-y1)+y1;x1=axisx.min}else if(x2<=x1&&x2<axisx.min){if(x1<axisx.min)continue;y2=(axisx.min-x1)/(x2-x1)*(y2-y1)+y1;x2=axisx.min}if(x1>=x2&&x1>axisx.max){if(x2>axisx.max)continue;y1=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x1=axisx.max}else if(x2>=x1&&x2>axisx.max){if(x1>axisx.max)continue;y2=(axisx.max-x1)/(x2-x1)*(y2-y1)+y1;x2=axisx.max}if(!areaOpen){ctx.beginPath();ctx.moveTo(axisx.p2c(x1),axisy.p2c(bottom));areaOpen=true}if(y1>=axisy.max&&y2>=axisy.max){ctx.lineTo(axisx.p2c(x1),axisy.p2c(axisy.max));ctx.lineTo(axisx.p2c(x2),axisy.p2c(axisy.max));continue}if(y1<=axisy.min&&y2<=axisy.min){ctx.lineTo(axisx.p2c(x1),axisy.p2c(axisy.min));ctx.lineTo(axisx.p2c(x2),axisy.p2c(axisy.min));continue}var x1old=x1,x2old=x2;if(y1<=y2&&y1<axisy.min&&y2>=axisy.min){x1=(axisy.min-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.min}else if(y2<=y1&&y2<axisy.min&&y1>=axisy.min){x2=(axisy.min-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.min}if(y1>=y2&&y1>axisy.max&&y2<=axisy.max){x1=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y1=axisy.max}else if(y2>=y1&&y2>axisy.max&&y1<=axisy.max){x2=(axisy.max-y1)/(y2-y1)*(x2-x1)+x1;y2=axisy.max}x1!=x1old&&ctx.lineTo(axisx.p2c(x1old),axisy.p2c(y1));ctx.lineTo(axisx.p2c(x1),axisy.p2c(y1));ctx.lineTo(axisx.p2c(x2),axisy.p2c(y2));if(x2!=x2old){ctx.lineTo(axisx.p2c(x2),axisy.p2c(y2));ctx.lineTo(axisx.p2c(x2old),axisy.p2c(y2))}}}ctx.save();ctx.translate(plotOffset.left,plotOffset.top);ctx.lineJoin="round";var lw=series.lines.lineWidth,sw=series.shadowSize;if(lw>0&&sw>0){ctx.lineWidth=sw;ctx.strokeStyle="rgba(0,0,0,0.1)";var angle=Math.PI/18;plotLine(series.datapoints,Math.sin(angle)*(lw/2+sw/2),Math.cos(angle)*(lw/2+sw/2),series.xaxis,series.yaxis);ctx.lineWidth=sw/2;plotLine(series.datapoints,Math.sin(angle)*(lw/2+sw/4),Math.cos(angle)*(lw/2+sw/4),series.xaxis,series.yaxis)}ctx.lineWidth=lw;ctx.strokeStyle=series.color;var fillStyle=getFillStyle(series.lines,series.color,0,plotHeight);if(fillStyle){ctx.fillStyle=fillStyle;plotLineArea(series.datapoints,series.xaxis,series.yaxis)}lw>0&&plotLine(series.datapoints,0,0,series.xaxis,series.yaxis);ctx.restore()}function drawSeriesPoints(series){function plotPoints(datapoints,radius,fillStyle,offset,shadow,axisx,axisy,symbol){var points=datapoints.points,ps=datapoints.pointsize;for(var i=0;i<points.length;i+=ps){var x=points[i],y=points[i+1];if(null==x||x<axisx.min||x>axisx.max||y<axisy.min||y>axisy.max)continue;ctx.beginPath();x=axisx.p2c(x);y=axisy.p2c(y)+offset;"circle"==symbol?ctx.arc(x,y,radius,0,shadow?Math.PI:2*Math.PI,false):symbol(ctx,x,y,radius,shadow);ctx.closePath();if(fillStyle){ctx.fillStyle=fillStyle;ctx.fill()}ctx.stroke()}}ctx.save();ctx.translate(plotOffset.left,plotOffset.top);var lw=series.points.lineWidth,sw=series.shadowSize,radius=series.points.radius,symbol=series.points.symbol;0==lw&&(lw=1e-4);if(lw>0&&sw>0){var w=sw/2;ctx.lineWidth=w;ctx.strokeStyle="rgba(0,0,0,0.1)";plotPoints(series.datapoints,radius,null,w+w/2,true,series.xaxis,series.yaxis,symbol);ctx.strokeStyle="rgba(0,0,0,0.2)";plotPoints(series.datapoints,radius,null,w/2,true,series.xaxis,series.yaxis,symbol)}ctx.lineWidth=lw;ctx.strokeStyle=series.color;plotPoints(series.datapoints,radius,getFillStyle(series.points,series.color),0,false,series.xaxis,series.yaxis,symbol);ctx.restore()}function drawBar(x,y,b,barLeft,barRight,fillStyleCallback,axisx,axisy,c,horizontal,lineWidth){var left,right,bottom,top,drawLeft,drawRight,drawTop,drawBottom,tmp;if(horizontal){drawBottom=drawRight=drawTop=true;drawLeft=false;left=b;right=x;top=y+barLeft;bottom=y+barRight;if(right<left){tmp=right;right=left;left=tmp;drawLeft=true;drawRight=false}}else{drawLeft=drawRight=drawTop=true;drawBottom=false;left=x+barLeft;right=x+barRight;bottom=b;top=y;if(top<bottom){tmp=top;top=bottom;bottom=tmp;drawBottom=true;drawTop=false}}if(right<axisx.min||left>axisx.max||top<axisy.min||bottom>axisy.max)return;if(left<axisx.min){left=axisx.min;drawLeft=false}if(right>axisx.max){right=axisx.max;drawRight=false}if(bottom<axisy.min){bottom=axisy.min;drawBottom=false}if(top>axisy.max){top=axisy.max;drawTop=false}left=axisx.p2c(left);bottom=axisy.p2c(bottom);right=axisx.p2c(right);top=axisy.p2c(top);if(fillStyleCallback){c.fillStyle=fillStyleCallback(bottom,top);c.fillRect(left,top,right-left,bottom-top)}if(lineWidth>0&&(drawLeft||drawRight||drawTop||drawBottom)){c.beginPath();c.moveTo(left,bottom);drawLeft?c.lineTo(left,top):c.moveTo(left,top);drawTop?c.lineTo(right,top):c.moveTo(right,top);drawRight?c.lineTo(right,bottom):c.moveTo(right,bottom);drawBottom?c.lineTo(left,bottom):c.moveTo(left,bottom);c.stroke()}}function drawSeriesBars(series){function plotBars(datapoints,barLeft,barRight,fillStyleCallback,axisx,axisy){var points=datapoints.points,ps=datapoints.pointsize;for(var i=0;i<points.length;i+=ps){if(null==points[i])continue;drawBar(points[i],points[i+1],points[i+2],barLeft,barRight,fillStyleCallback,axisx,axisy,ctx,series.bars.horizontal,series.bars.lineWidth)}}ctx.save();ctx.translate(plotOffset.left,plotOffset.top);ctx.lineWidth=series.bars.lineWidth;ctx.strokeStyle=series.color;var barLeft;switch(series.bars.align){case"left":barLeft=0;break;case"right":barLeft=-series.bars.barWidth;break;default:barLeft=-series.bars.barWidth/2}var fillStyleCallback=series.bars.fill?function(bottom,top){return getFillStyle(series.bars,series.color,bottom,top)}:null;plotBars(series.datapoints,barLeft,barLeft+series.bars.barWidth,fillStyleCallback,series.xaxis,series.yaxis);ctx.restore()}function getFillStyle(filloptions,seriesColor,bottom,top){var fill=filloptions.fill;if(!fill)return null;if(filloptions.fillColor)return getColorOrGradient(filloptions.fillColor,bottom,top,seriesColor);var c=$.color.parse(seriesColor);c.a="number"==typeof fill?fill:.4;c.normalize();return c.toString()}function insertLegend(){null!=options.legend.container?$(options.legend.container).html(""):placeholder.find(".legend").remove();if(!options.legend.show)return;var s,label,fragments=[],entries=[],rowStarted=false,lf=options.legend.labelFormatter;for(var i=0;i<series.length;++i){s=series[i];if(s.label){label=lf?lf(s.label,s):s.label;label&&entries.push({label:label,color:s.color})}}if(options.legend.sorted)if($.isFunction(options.legend.sorted))entries.sort(options.legend.sorted);else if("reverse"==options.legend.sorted)entries.reverse();else{var ascending="descending"!=options.legend.sorted;entries.sort(function(a,b){return a.label==b.label?0:a.label<b.label!=ascending?1:-1})}for(i=0;i<entries.length;++i){var entry=entries[i];if(i%options.legend.noColumns==0){rowStarted&&fragments.push("</tr>");fragments.push("<tr>");rowStarted=true}fragments.push('<td class="legendColorBox"><div style="border:1px solid '+options.legend.labelBoxBorderColor+';padding:1px"><div style="width:4px;height:0;border:5px solid '+entry.color+';overflow:hidden"></div></div></td><td class="legendLabel">'+entry.label+"</td>")}rowStarted&&fragments.push("</tr>");if(0==fragments.length)return;var table='<table style="font-size:smaller;color:'+options.grid.color+'">'+fragments.join("")+"</table>";if(null!=options.legend.container)$(options.legend.container).html(table);else{var pos="",p=options.legend.position,m=options.legend.margin;null==m[0]&&(m=[m,m]);"n"==p.charAt(0)?pos+="top:"+(m[1]+plotOffset.top)+"px;":"s"==p.charAt(0)&&(pos+="bottom:"+(m[1]+plotOffset.bottom)+"px;");"e"==p.charAt(1)?pos+="right:"+(m[0]+plotOffset.right)+"px;":"w"==p.charAt(1)&&(pos+="left:"+(m[0]+plotOffset.left)+"px;");var legend=$('<div class="legend">'+table.replace('style="','style="position:absolute;'+pos+";")+"</div>").appendTo(placeholder);if(0!=options.legend.backgroundOpacity){var c=options.legend.backgroundColor;if(null==c){c=options.grid.backgroundColor;c=c&&"string"==typeof c?$.color.parse(c):$.color.extract(legend,"background-color");c.a=1;c=c.toString()}var div=legend.children();$('<div style="position:absolute;width:'+div.width()+"px;height:"+div.height()+"px;"+pos+"background-color:"+c+';"> </div>').prependTo(legend).css("opacity",options.legend.backgroundOpacity)}}}var highlights=[],redrawTimeout=null;function findNearbyItem(mouseX,mouseY,seriesFilter){var i,j,ps,maxDistance=options.grid.mouseActiveRadius,smallestDistance=maxDistance*maxDistance+1,item=null;for(i=series.length-1;i>=0;--i){if(!seriesFilter(series[i]))continue;var s=series[i],axisx=s.xaxis,axisy=s.yaxis,points=s.datapoints.points,mx=axisx.c2p(mouseX),my=axisy.c2p(mouseY),maxx=maxDistance/axisx.scale,maxy=maxDistance/axisy.scale;ps=s.datapoints.pointsize;axisx.options.inverseTransform&&(maxx=Number.MAX_VALUE);axisy.options.inverseTransform&&(maxy=Number.MAX_VALUE);if(s.lines.show||s.points.show)for(j=0;j<points.length;j+=ps){var x=points[j],y=points[j+1];if(null==x)continue;if(x-mx>maxx||x-mx<-maxx||y-my>maxy||y-my<-maxy)continue;var dx=Math.abs(axisx.p2c(x)-mouseX),dy=Math.abs(axisy.p2c(y)-mouseY),dist=dx*dx+dy*dy;if(dist<smallestDistance){smallestDistance=dist;item=[i,j/ps]}}if(s.bars.show&&!item){var barLeft,barRight;switch(s.bars.align){case"left":barLeft=0;break;case"right":barLeft=-s.bars.barWidth;break;default:barLeft=-s.bars.barWidth/2}barRight=barLeft+s.bars.barWidth;for(j=0;j<points.length;j+=ps){x=points[j],y=points[j+1];var b=points[j+2];if(null==x)continue;(series[i].bars.horizontal?mx<=Math.max(b,x)&&mx>=Math.min(b,x)&&my>=y+barLeft&&my<=y+barRight:mx>=x+barLeft&&mx<=x+barRight&&my>=Math.min(b,y)&&my<=Math.max(b,y))&&(item=[i,j/ps])}}}if(item){i=item[0];j=item[1];ps=series[i].datapoints.pointsize;return{datapoint:series[i].datapoints.points.slice(j*ps,(j+1)*ps),dataIndex:j,series:series[i],seriesIndex:i}}return null}function onMouseMove(e){options.grid.hoverable&&triggerClickHoverEvent("plothover",e,function(s){return false!=s["hoverable"]})}function onMouseLeave(e){options.grid.hoverable&&triggerClickHoverEvent("plothover",e,function(s){return false})}function onClick(e){triggerClickHoverEvent("plotclick",e,function(s){return false!=s["clickable"]})}function triggerClickHoverEvent(eventname,event,seriesFilter){var offset=eventHolder.offset(),canvasX=event.pageX-offset.left-plotOffset.left,canvasY=event.pageY-offset.top-plotOffset.top,pos=canvasToAxisCoords({left:canvasX,top:canvasY});pos.pageX=event.pageX;pos.pageY=event.pageY;var item=findNearbyItem(canvasX,canvasY,seriesFilter);if(item){item.pageX=parseInt(item.series.xaxis.p2c(item.datapoint[0])+offset.left+plotOffset.left,10);item.pageY=parseInt(item.series.yaxis.p2c(item.datapoint[1])+offset.top+plotOffset.top,10)}if(options.grid.autoHighlight){for(var i=0;i<highlights.length;++i){var h=highlights[i];h.auto!=eventname||item&&h.series==item.series&&h.point[0]==item.datapoint[0]&&h.point[1]==item.datapoint[1]||unhighlight(h.series,h.point)}item&&highlight(item.series,item.datapoint,eventname)}placeholder.trigger(eventname,[pos,item])}function triggerRedrawOverlay(){var t=options.interaction.redrawOverlayInterval;if(-1==t){drawOverlay();return}redrawTimeout||(redrawTimeout=setTimeout(drawOverlay,t))}function drawOverlay(){redrawTimeout=null;octx.save();overlay.clear();octx.translate(plotOffset.left,plotOffset.top);var i,hi;for(i=0;i<highlights.length;++i){hi=highlights[i];hi.series.bars.show?drawBarHighlight(hi.series,hi.point):drawPointHighlight(hi.series,hi.point)}octx.restore();executeHooks(hooks.drawOverlay,[octx])}function highlight(s,point,auto){"number"==typeof s&&(s=series[s]);if("number"==typeof point){var ps=s.datapoints.pointsize;point=s.datapoints.points.slice(ps*point,ps*(point+1))}var i=indexOfHighlight(s,point);if(-1==i){highlights.push({series:s,point:point,auto:auto});triggerRedrawOverlay()}else auto||(highlights[i].auto=false)}function unhighlight(s,point){if(null==s&&null==point){highlights=[];triggerRedrawOverlay();return}"number"==typeof s&&(s=series[s]);if("number"==typeof point){var ps=s.datapoints.pointsize;point=s.datapoints.points.slice(ps*point,ps*(point+1))}var i=indexOfHighlight(s,point);if(-1!=i){highlights.splice(i,1);triggerRedrawOverlay()}}function indexOfHighlight(s,p){for(var i=0;i<highlights.length;++i){var h=highlights[i];if(h.series==s&&h.point[0]==p[0]&&h.point[1]==p[1])return i}return-1}function drawPointHighlight(series,point){var x=point[0],y=point[1],axisx=series.xaxis,axisy=series.yaxis,highlightColor="string"===typeof series.highlightColor?series.highlightColor:$.color.parse(series.color).scale("a",.5).toString();if(x<axisx.min||x>axisx.max||y<axisy.min||y>axisy.max)return;var pointRadius=series.points.radius+series.points.lineWidth/2;octx.lineWidth=pointRadius;octx.strokeStyle=highlightColor;var radius=1.5*pointRadius;x=axisx.p2c(x);y=axisy.p2c(y);octx.beginPath();"circle"==series.points.symbol?octx.arc(x,y,radius,0,2*Math.PI,false):series.points.symbol(octx,x,y,radius,false);octx.closePath();octx.stroke()}function drawBarHighlight(series,point){var barLeft,highlightColor="string"===typeof series.highlightColor?series.highlightColor:$.color.parse(series.color).scale("a",.5).toString(),fillStyle=highlightColor;switch(series.bars.align){case"left":barLeft=0;break;case"right":barLeft=-series.bars.barWidth;break;default:barLeft=-series.bars.barWidth/2}octx.lineWidth=series.bars.lineWidth;octx.strokeStyle=highlightColor;drawBar(point[0],point[1],point[2]||0,barLeft,barLeft+series.bars.barWidth,function(){return fillStyle},series.xaxis,series.yaxis,octx,series.bars.horizontal,series.bars.lineWidth)}function getColorOrGradient(spec,bottom,top,defaultColor){if("string"==typeof spec)return spec;var gradient=ctx.createLinearGradient(0,top,0,bottom);for(var i=0,l=spec.colors.length;i<l;++i){var c=spec.colors[i];if("string"!=typeof c){var co=$.color.parse(defaultColor);null!=c.brightness&&(co=co.scale("rgb",c.brightness));null!=c.opacity&&(co.a*=c.opacity);c=co.toString()}gradient.addColorStop(i/(l-1),c)}return gradient}}$.plot=function(placeholder,data,options){var plot=new Plot($(placeholder),data,options,$.plot.plugins);return plot};$.plot.version="0.8.3";$.plot.plugins=[];$.fn.plot=function(data,options){return this.each(function(){$.plot(this,data,options)})};function floorInBase(n,base){return base*Math.floor(n/base)}})(jQuery)},function(module,exports){(function($){function init(plot){var selection={first:{x:-1,y:-1},second:{x:-1,y:-1},show:false,active:false};var savedhandlers={};var mouseUpHandler=null;function onMouseMove(e){if(selection.active){updateSelection(e);plot.getPlaceholder().trigger("plotselecting",[getSelection()])}}function onMouseDown(e){if(1!=e.which)return;document.body.focus();if(void 0!==document.onselectstart&&null==savedhandlers.onselectstart){savedhandlers.onselectstart=document.onselectstart;document.onselectstart=function(){return false}}if(void 0!==document.ondrag&&null==savedhandlers.ondrag){savedhandlers.ondrag=document.ondrag;document.ondrag=function(){return false}}setSelectionPos(selection.first,e);selection.active=true;mouseUpHandler=function(e){onMouseUp(e)};$(document).one("mouseup",mouseUpHandler)}function onMouseUp(e){mouseUpHandler=null;void 0!==document.onselectstart&&(document.onselectstart=savedhandlers.onselectstart);void 0!==document.ondrag&&(document.ondrag=savedhandlers.ondrag);selection.active=false;updateSelection(e);if(selectionIsSane())triggerSelectedEvent();else{plot.getPlaceholder().trigger("plotunselected",[]);plot.getPlaceholder().trigger("plotselecting",[null])}return false}function getSelection(){if(!selectionIsSane())return null;if(!selection.show)return null;var r={},c1=selection.first,c2=selection.second;$.each(plot.getAxes(),function(name,axis){if(axis.used){var p1=axis.c2p(c1[axis.direction]),p2=axis.c2p(c2[axis.direction]);r[name]={from:Math.min(p1,p2),to:Math.max(p1,p2)}}});return r}function triggerSelectedEvent(){var r=getSelection();plot.getPlaceholder().trigger("plotselected",[r]);r.xaxis&&r.yaxis&&plot.getPlaceholder().trigger("selected",[{x1:r.xaxis.from,y1:r.yaxis.from,x2:r.xaxis.to,y2:r.yaxis.to}])}function clamp(min,value,max){return value<min?min:value>max?max:value}function setSelectionPos(pos,e){var o=plot.getOptions();var offset=plot.getPlaceholder().offset();var plotOffset=plot.getPlotOffset();pos.x=clamp(0,e.pageX-offset.left-plotOffset.left,plot.width());pos.y=clamp(0,e.pageY-offset.top-plotOffset.top,plot.height());"y"==o.selection.mode&&(pos.x=pos==selection.first?0:plot.width());"x"==o.selection.mode&&(pos.y=pos==selection.first?0:plot.height())}function updateSelection(pos){if(null==pos.pageX)return;setSelectionPos(selection.second,pos);if(selectionIsSane()){selection.show=true;plot.triggerRedrawOverlay()}else clearSelection(true)}function clearSelection(preventEvent){if(selection.show){selection.show=false;plot.triggerRedrawOverlay();preventEvent||plot.getPlaceholder().trigger("plotunselected",[])}}function extractRange(ranges,coord){var axis,from,to,key,axes=plot.getAxes();for(var k in axes){axis=axes[k];if(axis.direction==coord){key=coord+axis.n+"axis";ranges[key]||1!=axis.n||(key=coord+"axis");if(ranges[key]){from=ranges[key].from;to=ranges[key].to;break}}}if(!ranges[key]){axis="x"==coord?plot.getXAxes()[0]:plot.getYAxes()[0];from=ranges[coord+"1"];to=ranges[coord+"2"]}if(null!=from&&null!=to&&from>to){var tmp=from;from=to;to=tmp}return{from:from,to:to,axis:axis}}function setSelection(ranges,preventEvent){var range,o=plot.getOptions();if("y"==o.selection.mode){selection.first.x=0;selection.second.x=plot.width()}else{range=extractRange(ranges,"x");selection.first.x=range.axis.p2c(range.from);selection.second.x=range.axis.p2c(range.to)}if("x"==o.selection.mode){selection.first.y=0;selection.second.y=plot.height()}else{range=extractRange(ranges,"y");selection.first.y=range.axis.p2c(range.from);selection.second.y=range.axis.p2c(range.to)}selection.show=true;plot.triggerRedrawOverlay();!preventEvent&&selectionIsSane()&&triggerSelectedEvent()}function selectionIsSane(){var minSize=plot.getOptions().selection.minSize;return Math.abs(selection.second.x-selection.first.x)>=minSize&&Math.abs(selection.second.y-selection.first.y)>=minSize}plot.clearSelection=clearSelection;plot.setSelection=setSelection;plot.getSelection=getSelection;plot.hooks.bindEvents.push(function(plot,eventHolder){var o=plot.getOptions();if(null!=o.selection.mode){eventHolder.mousemove(onMouseMove);eventHolder.mousedown(onMouseDown)}});plot.hooks.drawOverlay.push(function(plot,ctx){if(selection.show&&selectionIsSane()){var plotOffset=plot.getPlotOffset();var o=plot.getOptions();ctx.save();ctx.translate(plotOffset.left,plotOffset.top);var c=$.color.parse(o.selection.color);ctx.strokeStyle=c.scale("a",.8).toString();ctx.lineWidth=1;ctx.lineJoin=o.selection.shape;ctx.fillStyle=c.scale("a",.4).toString();var x=Math.min(selection.first.x,selection.second.x)+.5,y=Math.min(selection.first.y,selection.second.y)+.5,w=Math.abs(selection.second.x-selection.first.x)-1,h=Math.abs(selection.second.y-selection.first.y)-1;ctx.fillRect(x,y,w,h);ctx.strokeRect(x,y,w,h);ctx.restore()}});plot.hooks.shutdown.push(function(plot,eventHolder){eventHolder.unbind("mousemove",onMouseMove);eventHolder.unbind("mousedown",onMouseDown);mouseUpHandler&&$(document).unbind("mouseup",mouseUpHandler)})}$.plot.plugins.push({init:init,options:{selection:{mode:null,color:"#e8cfac",shape:"round",minSize:5}},name:"selection",version:"1.1"})})(jQuery)},function(module,exports){(function($){var options={series:{stack:null}};function init(plot){function findMatchingSeries(s,allseries){var res=null;for(var i=0;i<allseries.length;++i){if(s==allseries[i])break;allseries[i].stack==s.stack&&(res=allseries[i])}return res}function stackData(plot,s,datapoints){if(null==s.stack||false===s.stack)return;var other=findMatchingSeries(s,plot.getData());if(!other)return;var px,py,intery,qx,qy,bottom,l,m,ps=datapoints.pointsize,points=datapoints.points,otherps=other.datapoints.pointsize,otherpoints=other.datapoints.points,newpoints=[],withlines=s.lines.show,horizontal=s.bars.horizontal,withbottom=ps>2&&(horizontal?datapoints.format[2].x:datapoints.format[2].y),withsteps=withlines&&s.lines.steps,fromgap=true,keyOffset=horizontal?1:0,accumulateOffset=horizontal?0:1,i=0,j=0;while(true){if(i>=points.length)break;l=newpoints.length;if(null==points[i]){for(m=0;m<ps;++m)newpoints.push(points[i+m]);i+=ps}else if(j>=otherpoints.length){if(!withlines)for(m=0;m<ps;++m)newpoints.push(points[i+m]);i+=ps}else if(null==otherpoints[j]){for(m=0;m<ps;++m)newpoints.push(null);fromgap=true;j+=otherps}else{px=points[i+keyOffset];py=points[i+accumulateOffset];qx=otherpoints[j+keyOffset];qy=otherpoints[j+accumulateOffset];bottom=0;if(px==qx){for(m=0;m<ps;++m)newpoints.push(points[i+m]);newpoints[l+accumulateOffset]+=qy;bottom=qy;i+=ps;j+=otherps}else if(px>qx){if(withlines&&i>0&&null!=points[i-ps]){intery=py+(points[i-ps+accumulateOffset]-py)*(qx-px)/(points[i-ps+keyOffset]-px);newpoints.push(qx);newpoints.push(intery+qy);for(m=2;m<ps;++m)newpoints.push(points[i+m]);bottom=qy}j+=otherps}else{if(fromgap&&withlines){i+=ps;continue}for(m=0;m<ps;++m)newpoints.push(points[i+m]);withlines&&j>0&&null!=otherpoints[j-otherps]&&(bottom=qy+(otherpoints[j-otherps+accumulateOffset]-qy)*(px-qx)/(otherpoints[j-otherps+keyOffset]-qx));newpoints[l+accumulateOffset]+=bottom;i+=ps}fromgap=false;l!=newpoints.length&&withbottom&&(newpoints[l+2]+=bottom)}if(withsteps&&l!=newpoints.length&&l>0&&null!=newpoints[l]&&newpoints[l]!=newpoints[l-ps]&&newpoints[l+1]!=newpoints[l-ps+1]){for(m=0;m<ps;++m)newpoints[l+ps+m]=newpoints[l+m];newpoints[l+1]=newpoints[l-ps+1]}}datapoints.points=newpoints}plot.hooks.processDatapoints.push(stackData)}$.plot.plugins.push({init:init,options:options,name:"stack",version:"1.2"})})(jQuery)},function(module,exports){(function($){function processRawData(plot,series,datapoints){var handlers={square:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(Math.PI)/2;ctx.rect(x-size,y-size,size+size,size+size)},diamond:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(Math.PI/2);ctx.moveTo(x-size,y);ctx.lineTo(x,y-size);ctx.lineTo(x+size,y);ctx.lineTo(x,y+size);ctx.lineTo(x-size,y)},triangle:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(2*Math.PI/Math.sin(Math.PI/3));var height=size*Math.sin(Math.PI/3);ctx.moveTo(x-size/2,y+height/2);ctx.lineTo(x+size/2,y+height/2);if(!shadow){ctx.lineTo(x,y-height/2);ctx.lineTo(x-size/2,y+height/2)}},cross:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(Math.PI)/2;ctx.moveTo(x-size,y-size);ctx.lineTo(x+size,y+size);ctx.moveTo(x-size,y+size);ctx.lineTo(x+size,y-size)}};var s=series.points.symbol;handlers[s]&&(series.points.symbol=handlers[s])}function init(plot){plot.hooks.processDatapoints.push(processRawData)}$.plot.plugins.push({init:init,name:"symbols",version:"1.0"})})(jQuery)},function(module,exports){(function($){var options={xaxis:{timezone:null,timeformat:null,twelveHourClock:false,monthNames:null}};function floorInBase(n,base){return base*Math.floor(n/base)}function formatDate(d,fmt,monthNames,dayNames){if("function"==typeof d.strftime)return d.strftime(fmt);var leftPad=function(n,pad){n=""+n;pad=""+(null==pad?"0":pad);return 1==n.length?pad+n:n};var r=[];var escape=false;var hours=d.getHours();var isAM=hours<12;null==monthNames&&(monthNames=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]);null==dayNames&&(dayNames=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]);var hours12;hours12=hours>12?hours-12:0==hours?12:hours;for(var i=0;i<fmt.length;++i){var c=fmt.charAt(i);if(escape){switch(c){case"a":c=""+dayNames[d.getDay()];break;case"b":c=""+monthNames[d.getMonth()];break;case"d":c=leftPad(d.getDate());break;case"e":c=leftPad(d.getDate()," ");break;case"h":case"H":c=leftPad(hours);break;case"I":c=leftPad(hours12);break;case"l":c=leftPad(hours12," ");break;case"m":c=leftPad(d.getMonth()+1);break;case"M":c=leftPad(d.getMinutes());break;case"q":c=""+(Math.floor(d.getMonth()/3)+1);break;case"S":c=leftPad(d.getSeconds());break;case"y":c=leftPad(d.getFullYear()%100);break;case"Y":c=""+d.getFullYear();break;case"p":c=isAM?"am":"pm";break;case"P":c=isAM?"AM":"PM";break;case"w":c=""+d.getDay()}r.push(c);escape=false}else"%"==c?escape=true:r.push(c)}return r.join("")}function makeUtcWrapper(d){function addProxyMethod(sourceObj,sourceMethod,targetObj,targetMethod){sourceObj[sourceMethod]=function(){return targetObj[targetMethod].apply(targetObj,arguments)}}var utc={date:d};void 0!=d.strftime&&addProxyMethod(utc,"strftime",d,"strftime");addProxyMethod(utc,"getTime",d,"getTime");addProxyMethod(utc,"setTime",d,"setTime");var props=["Date","Day","FullYear","Hours","Milliseconds","Minutes","Month","Seconds"];for(var p=0;p<props.length;p++){addProxyMethod(utc,"get"+props[p],d,"getUTC"+props[p]);addProxyMethod(utc,"set"+props[p],d,"setUTC"+props[p])}return utc}function dateGenerator(ts,opts){if("browser"==opts.timezone)return new Date(ts);if(opts.timezone&&"utc"!=opts.timezone){if("undefined"!=typeof timezoneJS&&"undefined"!=typeof timezoneJS.Date){var d=new timezoneJS.Date;d.setTimezone(opts.timezone);d.setTime(ts);return d}return makeUtcWrapper(new Date(ts))}return makeUtcWrapper(new Date(ts))}var timeUnitSize={second:1e3,minute:6e4,hour:36e5,day:864e5,month:2592e6,quarter:7776e6,year:525949.2*60*1e3};var baseSpec=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[.25,"month"],[.5,"month"],[1,"month"],[2,"month"]];var specMonths=baseSpec.concat([[3,"month"],[6,"month"],[1,"year"]]);var specQuarters=baseSpec.concat([[1,"quarter"],[2,"quarter"],[1,"year"]]);function init(plot){plot.hooks.processOptions.push(function(plot,options){$.each(plot.getAxes(),function(axisName,axis){var opts=axis.options;if("time"==opts.mode){axis.tickGenerator=function(axis){var ticks=[];var d=dateGenerator(axis.min,opts);var minSize=0;var spec=opts.tickSize&&"quarter"===opts.tickSize[1]||opts.minTickSize&&"quarter"===opts.minTickSize[1]?specQuarters:specMonths;null!=opts.minTickSize&&(minSize="number"==typeof opts.tickSize?opts.tickSize:opts.minTickSize[0]*timeUnitSize[opts.minTickSize[1]]);for(var i=0;i<spec.length-1;++i)if(axis.delta<(spec[i][0]*timeUnitSize[spec[i][1]]+spec[i+1][0]*timeUnitSize[spec[i+1][1]])/2&&spec[i][0]*timeUnitSize[spec[i][1]]>=minSize)break;var size=spec[i][0];var unit=spec[i][1];if("year"==unit){if(null!=opts.minTickSize&&"year"==opts.minTickSize[1])size=Math.floor(opts.minTickSize[0]);else{var magn=Math.pow(10,Math.floor(Math.log(axis.delta/timeUnitSize.year)/Math.LN10));var norm=axis.delta/timeUnitSize.year/magn;size=norm<1.5?1:norm<3?2:norm<7.5?5:10;size*=magn}size<1&&(size=1)}axis.tickSize=opts.tickSize||[size,unit];var tickSize=axis.tickSize[0];unit=axis.tickSize[1];var step=tickSize*timeUnitSize[unit];"second"==unit?d.setSeconds(floorInBase(d.getSeconds(),tickSize)):"minute"==unit?d.setMinutes(floorInBase(d.getMinutes(),tickSize)):"hour"==unit?d.setHours(floorInBase(d.getHours(),tickSize)):"month"==unit?d.setMonth(floorInBase(d.getMonth(),tickSize)):"quarter"==unit?d.setMonth(3*floorInBase(d.getMonth()/3,tickSize)):"year"==unit&&d.setFullYear(floorInBase(d.getFullYear(),tickSize));d.setMilliseconds(0);step>=timeUnitSize.minute&&d.setSeconds(0);step>=timeUnitSize.hour&&d.setMinutes(0);step>=timeUnitSize.day&&d.setHours(0);step>=4*timeUnitSize.day&&d.setDate(1);step>=2*timeUnitSize.month&&d.setMonth(floorInBase(d.getMonth(),3));step>=2*timeUnitSize.quarter&&d.setMonth(floorInBase(d.getMonth(),6));step>=timeUnitSize.year&&d.setMonth(0);var carry=0;var v=Number.NaN;var prev;do{prev=v;v=d.getTime();ticks.push(v);if("month"==unit||"quarter"==unit)if(tickSize<1){d.setDate(1);var start=d.getTime();d.setMonth(d.getMonth()+("quarter"==unit?3:1));var end=d.getTime();d.setTime(v+carry*timeUnitSize.hour+(end-start)*tickSize);carry=d.getHours();d.setHours(0)}else d.setMonth(d.getMonth()+tickSize*("quarter"==unit?3:1));else"year"==unit?d.setFullYear(d.getFullYear()+tickSize):d.setTime(v+step)}while(v<axis.max&&v!=prev);return ticks};axis.tickFormatter=function(v,axis){var d=dateGenerator(v,axis.options);if(null!=opts.timeformat)return formatDate(d,opts.timeformat,opts.monthNames,opts.dayNames);var useQuarters=axis.options.tickSize&&"quarter"==axis.options.tickSize[1]||axis.options.minTickSize&&"quarter"==axis.options.minTickSize[1];var t=axis.tickSize[0]*timeUnitSize[axis.tickSize[1]];var span=axis.max-axis.min;var suffix=opts.twelveHourClock?" %p":"";var hourCode=opts.twelveHourClock?"%I":"%H";var fmt;fmt=t<timeUnitSize.minute?hourCode+":%M:%S"+suffix:t<timeUnitSize.day?span<2*timeUnitSize.day?hourCode+":%M"+suffix:"%b %d "+hourCode+":%M"+suffix:t<timeUnitSize.month?"%b %d":useQuarters&&t<timeUnitSize.quarter||!useQuarters&&t<timeUnitSize.year?span<timeUnitSize.year?"%b":"%b %Y":useQuarters&&t<timeUnitSize.year?span<timeUnitSize.year?"Q%q":"Q%q %Y":"%Y";var rt=formatDate(d,fmt,opts.monthNames,opts.dayNames);return rt}}})})}$.plot.plugins.push({init:init,options:options,name:"time",version:"1.0"});$.plot.formatDate=formatDate;$.plot.dateGenerator=dateGenerator})(jQuery)},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse"]).constant("accordionConfig",{closeOthers:true}).controller("AccordionController",["$scope","$attrs","accordionConfig",function($scope,$attrs,accordionConfig){this.groups=[];this.closeOthers=function(openGroup){var closeOthers=angular.isDefined($attrs.closeOthers)?$scope.$eval($attrs.closeOthers):accordionConfig.closeOthers;closeOthers&&angular.forEach(this.groups,function(group){group!==openGroup&&(group.isOpen=false)})};this.addGroup=function(groupScope){var that=this;this.groups.push(groupScope);groupScope.$on("$destroy",function(event){that.removeGroup(groupScope)})};this.removeGroup=function(group){var index=this.groups.indexOf(group);-1!==index&&this.groups.splice(index,1)}}]).directive("accordion",function(){return{restrict:"EA",controller:"AccordionController",transclude:true,replace:false,templateUrl:"template/accordion/accordion.html"}}).directive("accordionGroup",function(){return{require:"^accordion",restrict:"EA",transclude:true,replace:true,templateUrl:"template/accordion/accordion-group.html",scope:{heading:"@",isOpen:"=?",isDisabled:"=?"},controller:function controller(){this.setHeading=function(element){this.heading=element}},link:function link(scope,element,attrs,accordionCtrl){accordionCtrl.addGroup(scope);scope.$watch("isOpen",function(value){value&&accordionCtrl.closeOthers(scope)});scope.toggleOpen=function(){scope.isDisabled||(scope.isOpen=!scope.isOpen)}}}}).directive("accordionHeading",function(){return{restrict:"EA",transclude:true,template:"",replace:true,require:"^accordionGroup",link:function link(scope,element,attr,accordionGroupCtrl,transclude){accordionGroupCtrl.setHeading(transclude(scope,function(){}))}}}).directive("accordionTransclude",function(){return{require:"^accordionGroup",link:function link(scope,element,attr,controller){scope.$watch(function(){return controller[attr.accordionTransclude]},function(heading){if(heading){element.html("");element.append(heading)}})}}})},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.alert",[]).controller("AlertController",["$scope","$attrs",function($scope,$attrs){$scope.closeable="close"in $attrs;this.close=$scope.close}]).directive("alert",function(){return{restrict:"EA",controller:"AlertController",templateUrl:"template/alert/alert.html",transclude:true,replace:true,scope:{type:"@",close:"&"}}}).directive("dismissOnTimeout",["$timeout",function($timeout){return{require:"alert",link:function link(scope,element,attrs,alertCtrl){$timeout(function(){alertCtrl.close()},parseInt(attrs.dismissOnTimeout,10))}}}])},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.bindHtml",[]).directive("bindHtmlUnsafe",function(){return function(scope,element,attr){element.addClass("ng-binding").data("$binding",attr.bindHtmlUnsafe);scope.$watch(attr.bindHtmlUnsafe,function bindHtmlUnsafeWatchAction(value){element.html(value||"")})}})},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.buttons",[]).constant("buttonConfig",{activeClass:"active",toggleEvent:"click"}).controller("ButtonsController",["buttonConfig",function(buttonConfig){this.activeClass=buttonConfig.activeClass||"active";this.toggleEvent=buttonConfig.toggleEvent||"click"}]).directive("btnRadio",function(){return{require:["btnRadio","ngModel"],controller:"ButtonsController",link:function link(scope,element,attrs,ctrls){var buttonsCtrl=ctrls[0],ngModelCtrl=ctrls[1];ngModelCtrl.$render=function(){element.toggleClass(buttonsCtrl.activeClass,angular.equals(ngModelCtrl.$modelValue,scope.$eval(attrs.btnRadio)))};element.bind(buttonsCtrl.toggleEvent,function(){var isActive=element.hasClass(buttonsCtrl.activeClass);isActive&&!angular.isDefined(attrs.uncheckable)||scope.$apply(function(){ngModelCtrl.$setViewValue(isActive?null:scope.$eval(attrs.btnRadio));ngModelCtrl.$render()})})}}}).directive("btnCheckbox",function(){return{require:["btnCheckbox","ngModel"],controller:"ButtonsController",link:function link(scope,element,attrs,ctrls){var buttonsCtrl=ctrls[0],ngModelCtrl=ctrls[1];function getTrueValue(){return getCheckboxValue(attrs.btnCheckboxTrue,true)}function getFalseValue(){return getCheckboxValue(attrs.btnCheckboxFalse,false)}function getCheckboxValue(attributeValue,defaultValue){var val=scope.$eval(attributeValue);return angular.isDefined(val)?val:defaultValue}ngModelCtrl.$render=function(){element.toggleClass(buttonsCtrl.activeClass,angular.equals(ngModelCtrl.$modelValue,getTrueValue()))};element.bind(buttonsCtrl.toggleEvent,function(){scope.$apply(function(){ngModelCtrl.$setViewValue(element.hasClass(buttonsCtrl.activeClass)?getFalseValue():getTrueValue());ngModelCtrl.$render()})})}}})},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.collapse",["ui.bootstrap.transition"]).directive("collapse",["$transition",function($transition){return{link:function link(scope,element,attrs){var initialAnimSkip=true;var currentTransition;function doTransition(change){var newTransition=$transition(element,change);currentTransition&&currentTransition.cancel();currentTransition=newTransition;newTransition.then(newTransitionDone,newTransitionDone);return newTransition;function newTransitionDone(){currentTransition===newTransition&&(currentTransition=void 0)}}function expand(){if(initialAnimSkip){initialAnimSkip=false;expandDone()}else{element.removeClass("collapse").addClass("collapsing");doTransition({height:element[0].scrollHeight+"px"}).then(expandDone)}}function expandDone(){element.removeClass("collapsing");element.addClass("collapse in");element.css({height:"auto"})}function collapse(){if(initialAnimSkip){initialAnimSkip=false;collapseDone();element.css({height:0})}else{element.css({height:element[0].scrollHeight+"px"});element[0].offsetWidth;element.removeClass("collapse in").addClass("collapsing");doTransition({height:0}).then(collapseDone)}}function collapseDone(){element.removeClass("collapsing");element.addClass("collapse")}scope.$watch(attrs.collapse,function(shouldCollapse){shouldCollapse?collapse():expand()})}}}])},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.dateparser",[]).service("dateParser",["$locale","orderByFilter",function($locale,orderByFilter){this.parsers={};var formatCodeToRegex={yyyy:{regex:"\\d{4}",apply:function apply(value){this.year=+value}},yy:{regex:"\\d{2}",apply:function apply(value){this.year=+value+2e3}},y:{regex:"\\d{1,4}",apply:function apply(value){this.year=+value}},MMMM:{regex:$locale.DATETIME_FORMATS.MONTH.join("|"),apply:function apply(value){this.month=$locale.DATETIME_FORMATS.MONTH.indexOf(value)}},MMM:{regex:$locale.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function apply(value){this.month=$locale.DATETIME_FORMATS.SHORTMONTH.indexOf(value)}},MM:{regex:"0[1-9]|1[0-2]",apply:function apply(value){this.month=value-1}},M:{regex:"[1-9]|1[0-2]",apply:function apply(value){this.month=value-1}},dd:{regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function apply(value){this.date=+value}},d:{regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function apply(value){this.date=+value}},EEEE:{regex:$locale.DATETIME_FORMATS.DAY.join("|")},EEE:{regex:$locale.DATETIME_FORMATS.SHORTDAY.join("|")}};function createParser(format){var map=[],regex=format.split("");angular.forEach(formatCodeToRegex,function(data,code){var index=format.indexOf(code);if(index>-1){format=format.split("");regex[index]="("+data.regex+")";format[index]="$";for(var i=index+1,n=index+code.length;i<n;i++){regex[i]="";format[i]="$"}format=format.join("");map.push({index:index,apply:data.apply})}});return{regex:new RegExp("^"+regex.join("")+"$"),map:orderByFilter(map,"index")}}this.parse=function(input,format){if(!angular.isString(input)||!format)return input;format=$locale.DATETIME_FORMATS[format]||format;this.parsers[format]||(this.parsers[format]=createParser(format));var parser=this.parsers[format],regex=parser.regex,map=parser.map,results=input.match(regex);if(results&&results.length){var dt,fields={year:1900,month:0,date:1,hours:0};for(var i=1,n=results.length;i<n;i++){var mapper=map[i-1];mapper.apply&&mapper.apply.call(fields,results[i])}isValid(fields.year,fields.month,fields.date)&&(dt=new Date(fields.year,fields.month,fields.date,fields.hours));return dt}};function isValid(year,month,date){if(1===month&&date>28)return 29===date&&(year%4===0&&year%100!==0||year%400===0);if(3===month||5===month||8===month||10===month)return date<31;return true}}])},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.dropdown",[]).constant("dropdownConfig",{openClass:"open"}).service("dropdownService",["$document",function($document){var openScope=null;this.open=function(dropdownScope){if(!openScope){$document.bind("click",closeDropdown);$document.bind("keydown",escapeKeyBind)}openScope&&openScope!==dropdownScope&&(openScope.isOpen=false);openScope=dropdownScope};this.close=function(dropdownScope){if(openScope===dropdownScope){openScope=null;$document.unbind("click",closeDropdown);$document.unbind("keydown",escapeKeyBind)}};var closeDropdown=function closeDropdown(evt){if(!openScope)return;var toggleElement=openScope.getToggleElement();if(evt&&toggleElement&&toggleElement[0].contains(evt.target))return;openScope.$apply(function(){openScope.isOpen=false})};var escapeKeyBind=function escapeKeyBind(evt){if(27===evt.which){openScope.focusToggleElement();closeDropdown()}}}]).controller("DropdownController",["$scope","$attrs","$parse","dropdownConfig","dropdownService","$animate",function($scope,$attrs,$parse,dropdownConfig,dropdownService,$animate){var getIsOpen,self=this,scope=$scope.$new(),openClass=dropdownConfig.openClass,setIsOpen=angular.noop,toggleInvoker=$attrs.onToggle?$parse($attrs.onToggle):angular.noop;this.init=function(element){self.$element=element;if($attrs.isOpen){getIsOpen=$parse($attrs.isOpen);setIsOpen=getIsOpen.assign;$scope.$watch(getIsOpen,function(value){scope.isOpen=!!value})}};this.toggle=function(open){return scope.isOpen=arguments.length?!!open:!scope.isOpen};this.isOpen=function(){return scope.isOpen};scope.getToggleElement=function(){return self.toggleElement};scope.focusToggleElement=function(){self.toggleElement&&self.toggleElement[0].focus()};scope.$watch("isOpen",function(isOpen,wasOpen){$animate[isOpen?"addClass":"removeClass"](self.$element,openClass);if(isOpen){scope.focusToggleElement();dropdownService.open(scope)}else dropdownService.close(scope);setIsOpen($scope,isOpen);angular.isDefined(isOpen)&&isOpen!==wasOpen&&toggleInvoker($scope,{open:!!isOpen})});$scope.$on("$locationChangeSuccess",function(){scope.isOpen=false});$scope.$on("$destroy",function(){scope.$destroy()})}]).directive("dropdown",function(){return{controller:"DropdownController",link:function link(scope,element,attrs,dropdownCtrl){dropdownCtrl.init(element)}}}).directive("dropdownToggle",function(){return{require:"?^dropdown",link:function link(scope,element,attrs,dropdownCtrl){if(!dropdownCtrl)return;dropdownCtrl.toggleElement=element;var toggleDropdown=function toggleDropdown(event){event.preventDefault();element.hasClass("disabled")||attrs.disabled||scope.$apply(function(){dropdownCtrl.toggle()})};element.bind("click",toggleDropdown);element.attr({"aria-haspopup":true,"aria-expanded":false});scope.$watch(dropdownCtrl.isOpen,function(isOpen){element.attr("aria-expanded",!!isOpen)});scope.$on("$destroy",function(){element.unbind("click",toggleDropdown)})}}})},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.modal",["ui.bootstrap.transition"]).factory("$$stackedMap",function(){return{createNew:function createNew(){var stack=[];return{add:function add(key,value){stack.push({key:key,value:value})},get:function get(key){for(var i=0;i<stack.length;i++)if(key==stack[i].key)return stack[i]},keys:function keys(){var keys=[];for(var i=0;i<stack.length;i++)keys.push(stack[i].key);return keys},top:function top(){return stack[stack.length-1]},remove:function remove(key){var idx=-1;for(var i=0;i<stack.length;i++)if(key==stack[i].key){idx=i;break}return stack.splice(idx,1)[0]},removeTop:function removeTop(){return stack.splice(stack.length-1,1)[0]},length:function length(){return stack.length}}}}}).directive("modalBackdrop",["$timeout",function($timeout){return{restrict:"EA",replace:true,templateUrl:"template/modal/backdrop.html",link:function link(scope,element,attrs){scope.backdropClass=attrs.backdropClass||"";scope.animate=false;$timeout(function(){scope.animate=true})}}}]).directive("modalWindow",["$modalStack","$timeout",function($modalStack,$timeout){return{restrict:"EA",scope:{index:"@",animate:"="},replace:true,transclude:true,templateUrl:function templateUrl(tElement,tAttrs){return tAttrs.templateUrl||"template/modal/window.html"},link:function link(scope,element,attrs){element.addClass(attrs.windowClass||"");scope.size=attrs.size;$timeout(function(){scope.animate=true;element[0].querySelectorAll("[autofocus]").length||element[0].focus()});scope.close=function(evt){var modal=$modalStack.getTop();if(modal&&modal.value.backdrop&&"static"!=modal.value.backdrop&&evt.target===evt.currentTarget){evt.preventDefault();evt.stopPropagation();$modalStack.dismiss(modal.key,"backdrop click")}}}}}]).directive("modalTransclude",function(){return{link:function link($scope,$element,$attrs,controller,$transclude){$transclude($scope.$parent,function(clone){$element.empty();$element.append(clone)})}}}).factory("$modalStack",["$transition","$timeout","$document","$compile","$rootScope","$$stackedMap",function($transition,$timeout,$document,$compile,$rootScope,$$stackedMap){var OPENED_MODAL_CLASS="modal-open";var backdropDomEl,backdropScope;var openedWindows=$$stackedMap.createNew();var $modalStack={};function backdropIndex(){var topBackdropIndex=-1;var opened=openedWindows.keys();for(var i=0;i<opened.length;i++)openedWindows.get(opened[i]).value.backdrop&&(topBackdropIndex=i);return topBackdropIndex}$rootScope.$watch(backdropIndex,function(newBackdropIndex){backdropScope&&(backdropScope.index=newBackdropIndex)});function removeModalWindow(modalInstance){var body=$document.find("body").eq(0);var modalWindow=openedWindows.get(modalInstance).value;openedWindows.remove(modalInstance);removeAfterAnimate(modalWindow.modalDomEl,modalWindow.modalScope,300,function(){modalWindow.modalScope.$destroy();body.toggleClass(OPENED_MODAL_CLASS,openedWindows.length()>0);checkRemoveBackdrop()})}function checkRemoveBackdrop(){if(backdropDomEl&&-1==backdropIndex()){var backdropScopeRef=backdropScope;removeAfterAnimate(backdropDomEl,backdropScope,150,function(){backdropScopeRef.$destroy();backdropScopeRef=null});backdropDomEl=void 0;backdropScope=void 0}}function removeAfterAnimate(domEl,scope,emulateTime,done){scope.animate=false;var transitionEndEventName=$transition.transitionEndEventName;if(transitionEndEventName){var timeout=$timeout(afterAnimating,emulateTime);domEl.bind(transitionEndEventName,function(){$timeout.cancel(timeout);afterAnimating();scope.$apply()})}else $timeout(afterAnimating);function afterAnimating(){if(afterAnimating.done)return;afterAnimating.done=true;domEl.remove();done&&done()}}$document.bind("keydown",function(evt){var modal;if(27===evt.which){modal=openedWindows.top();if(modal&&modal.value.keyboard){evt.preventDefault();$rootScope.$apply(function(){$modalStack.dismiss(modal.key,"escape key press")})}}});$modalStack.open=function(modalInstance,modal){openedWindows.add(modalInstance,{deferred:modal.deferred,modalScope:modal.scope,backdrop:modal.backdrop,keyboard:modal.keyboard});var body=$document.find("body").eq(0),currBackdropIndex=backdropIndex();if(currBackdropIndex>=0&&!backdropDomEl){backdropScope=$rootScope.$new(true);backdropScope.index=currBackdropIndex;var angularBackgroundDomEl=angular.element("<div modal-backdrop></div>");angularBackgroundDomEl.attr("backdrop-class",modal.backdropClass);backdropDomEl=$compile(angularBackgroundDomEl)(backdropScope);body.append(backdropDomEl)}var angularDomEl=angular.element("<div modal-window></div>");angularDomEl.attr({"template-url":modal.windowTemplateUrl,"window-class":modal.windowClass,size:modal.size,index:openedWindows.length()-1,animate:"animate"}).html(modal.content);var modalDomEl=$compile(angularDomEl)(modal.scope);openedWindows.top().value.modalDomEl=modalDomEl;body.append(modalDomEl);body.addClass(OPENED_MODAL_CLASS)};$modalStack.close=function(modalInstance,result){var modalWindow=openedWindows.get(modalInstance);if(modalWindow){modalWindow.value.deferred.resolve(result);removeModalWindow(modalInstance)}};$modalStack.dismiss=function(modalInstance,reason){var modalWindow=openedWindows.get(modalInstance);if(modalWindow){modalWindow.value.deferred.reject(reason);removeModalWindow(modalInstance)}};$modalStack.dismissAll=function(reason){var topModal=this.getTop();while(topModal){this.dismiss(topModal.key,reason);topModal=this.getTop()}};$modalStack.getTop=function(){return openedWindows.top()};return $modalStack}]).provider("$modal",function(){var $modalProvider={options:{backdrop:true,keyboard:true},$get:["$injector","$rootScope","$q","$http","$templateCache","$controller","$modalStack",function($injector,$rootScope,$q,$http,$templateCache,$controller,$modalStack){var $modal={};function getTemplatePromise(options){return options.template?$q.when(options.template):$http.get(angular.isFunction(options.templateUrl)?options.templateUrl():options.templateUrl,{cache:$templateCache}).then(function(result){return result.data})}function getResolvePromises(resolves){var promisesArr=[];angular.forEach(resolves,function(value){(angular.isFunction(value)||angular.isArray(value))&&promisesArr.push($q.when($injector.invoke(value)))});return promisesArr}$modal.open=function(modalOptions){var modalResultDeferred=$q.defer();var modalOpenedDeferred=$q.defer();var modalInstance={result:modalResultDeferred.promise,opened:modalOpenedDeferred.promise,close:function close(result){$modalStack.close(modalInstance,result)},dismiss:function dismiss(reason){$modalStack.dismiss(modalInstance,reason)}};modalOptions=angular.extend({},$modalProvider.options,modalOptions);modalOptions.resolve=modalOptions.resolve||{};if(!modalOptions.template&&!modalOptions.templateUrl)throw new Error("One of template or templateUrl options is required.");var templateAndResolvePromise=$q.all([getTemplatePromise(modalOptions)].concat(getResolvePromises(modalOptions.resolve)));templateAndResolvePromise.then(function resolveSuccess(tplAndVars){var modalScope=(modalOptions.scope||$rootScope).$new();modalScope.$close=modalInstance.close;modalScope.$dismiss=modalInstance.dismiss;var ctrlInstance,ctrlLocals={};var resolveIter=1;if(modalOptions.controller){ctrlLocals.$scope=modalScope;ctrlLocals.$modalInstance=modalInstance;angular.forEach(modalOptions.resolve,function(value,key){ctrlLocals[key]=tplAndVars[resolveIter++]});ctrlInstance=$controller(modalOptions.controller,ctrlLocals);modalOptions.controllerAs&&(modalScope[modalOptions.controllerAs]=ctrlInstance)}$modalStack.open(modalInstance,{scope:modalScope,deferred:modalResultDeferred,content:tplAndVars[0],backdrop:modalOptions.backdrop,keyboard:modalOptions.keyboard,backdropClass:modalOptions.backdropClass,windowClass:modalOptions.windowClass,windowTemplateUrl:modalOptions.windowTemplateUrl,size:modalOptions.size})},function resolveError(reason){modalResultDeferred.reject(reason)});templateAndResolvePromise.then(function(){modalOpenedDeferred.resolve(true)},function(){modalOpenedDeferred.reject(false)});return modalInstance};return $modal}]};return $modalProvider})},function(module,exports,__webpack_require__){"use strict";var _i18n=__webpack_require__(798);angular.module("ui.bootstrap.pagination",[]).controller("PaginationController",["$scope","$attrs","$parse",function($scope,$attrs,$parse){var self=this,ngModelCtrl={$setViewValue:angular.noop},setNumPages=$attrs.numPages?$parse($attrs.numPages).assign:angular.noop;this.init=function(ngModelCtrl_,config){ngModelCtrl=ngModelCtrl_;this.config=config;ngModelCtrl.$render=function(){self.render()};$attrs.itemsPerPage?$scope.$parent.$watch($parse($attrs.itemsPerPage),function(value){self.itemsPerPage=parseInt(value,10);$scope.totalPages=self.calculateTotalPages()}):this.itemsPerPage=config.itemsPerPage};this.calculateTotalPages=function(){var totalPages=this.itemsPerPage<1?1:Math.ceil($scope.totalItems/this.itemsPerPage);return Math.max(totalPages||0,1)};this.render=function(){$scope.page=parseInt(ngModelCtrl.$viewValue,10)||1};$scope.selectPage=function(page){if($scope.page!==page&&page>0&&page<=$scope.totalPages){ngModelCtrl.$setViewValue(page);ngModelCtrl.$render()}};$scope.getText=function(key){return $scope[key+"Text"]||self.config[key+"Text"]};$scope.noPrevious=function(){return 1===$scope.page};$scope.noNext=function(){return $scope.page===$scope.totalPages};$scope.$watch("totalItems",function(){$scope.totalPages=self.calculateTotalPages()});$scope.$watch("totalPages",function(value){setNumPages($scope.$parent,value);$scope.page>value?$scope.selectPage(value):ngModelCtrl.$render()})}]).constant("paginationConfig",{itemsPerPage:10,boundaryLinks:false,directionLinks:true,firstText:_i18n.i18n.translate("common.ui.angularBootstrap.pagination.paginationConfig.firstLabel",{defaultMessage:"First"}),previousText:_i18n.i18n.translate("common.ui.angularBootstrap.pagination.paginationConfig.previousLabel",{defaultMessage:"Previous"}),nextText:_i18n.i18n.translate("common.ui.angularBootstrap.pagination.paginationConfig.nextLabel",{defaultMessage:"Next"}),lastText:_i18n.i18n.translate("common.ui.angularBootstrap.pagination.paginationConfig.lastLabel",{defaultMessage:"Last"}),rotate:true}).directive("pagination",["$parse","paginationConfig",function($parse,paginationConfig){return{restrict:"EA",scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@"},require:["pagination","?ngModel"],controller:"PaginationController",templateUrl:"template/pagination/pagination.html",replace:true,link:function link(scope,element,attrs,ctrls){var paginationCtrl=ctrls[0],ngModelCtrl=ctrls[1];if(!ngModelCtrl)return;var maxSize=angular.isDefined(attrs.maxSize)?scope.$parent.$eval(attrs.maxSize):paginationConfig.maxSize,rotate=angular.isDefined(attrs.rotate)?scope.$parent.$eval(attrs.rotate):paginationConfig.rotate;scope.boundaryLinks=angular.isDefined(attrs.boundaryLinks)?scope.$parent.$eval(attrs.boundaryLinks):paginationConfig.boundaryLinks;scope.directionLinks=angular.isDefined(attrs.directionLinks)?scope.$parent.$eval(attrs.directionLinks):paginationConfig.directionLinks;paginationCtrl.init(ngModelCtrl,paginationConfig);attrs.maxSize&&scope.$parent.$watch($parse(attrs.maxSize),function(value){maxSize=parseInt(value,10);paginationCtrl.render()});function makePage(number,text,isActive){return{number:number,text:text,active:isActive}}function getPages(currentPage,totalPages){var pages=[];var startPage=1,endPage=totalPages;var isMaxSized=angular.isDefined(maxSize)&&maxSize<totalPages;if(isMaxSized)if(rotate){startPage=Math.max(currentPage-Math.floor(maxSize/2),1);endPage=startPage+maxSize-1;if(endPage>totalPages){endPage=totalPages;startPage=endPage-maxSize+1}}else{startPage=(Math.ceil(currentPage/maxSize)-1)*maxSize+1;endPage=Math.min(startPage+maxSize-1,totalPages)}for(var number=startPage;number<=endPage;number++){var page=makePage(number,number,number===currentPage);pages.push(page)}if(isMaxSized&&!rotate){if(startPage>1){var previousPageSet=makePage(startPage-1,"...",false);pages.unshift(previousPageSet)}if(endPage<totalPages){var nextPageSet=makePage(endPage+1,"...",false);pages.push(nextPageSet)}}return pages}var originalRender=paginationCtrl.render;paginationCtrl.render=function(){originalRender();scope.page>0&&scope.page<=scope.totalPages&&(scope.pages=getPages(scope.page,scope.totalPages))}}}}]).constant("pagerConfig",{itemsPerPage:10,previousText:_i18n.i18n.translate("common.ui.angularBootstrap.pagination.pagerConfig.previousLabel",{defaultMessage:"« Previous"}),nextText:_i18n.i18n.translate("common.ui.angularBootstrap.pagination.pagerConfig.nextLabel",{defaultMessage:"Next »"}),align:true}).directive("pager",["pagerConfig",function(pagerConfig){return{restrict:"EA",scope:{totalItems:"=",previousText:"@",nextText:"@"},require:["pager","?ngModel"],controller:"PaginationController",templateUrl:"template/pagination/pager.html",replace:true,link:function link(scope,element,attrs,ctrls){var paginationCtrl=ctrls[0],ngModelCtrl=ctrls[1];if(!ngModelCtrl)return;scope.align=angular.isDefined(attrs.align)?scope.$parent.$eval(attrs.align):pagerConfig.align;paginationCtrl.init(ngModelCtrl,pagerConfig)}}}])},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("popoverPopup",function(){return{restrict:"EA",replace:true,scope:{title:"@",content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/popover/popover.html"}}).directive("popover",["$tooltip",function($tooltip){return $tooltip("popover","popover","click")}])},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.position",[]).factory("$position",["$document","$window",function($document,$window){function getStyle(el,cssprop){if(el.currentStyle)return el.currentStyle[cssprop];if($window.getComputedStyle)return $window.getComputedStyle(el)[cssprop];return el.style[cssprop]}function isStaticPositioned(element){return"static"===(getStyle(element,"position")||"static")}var parentOffsetEl=function parentOffsetEl(element){var docDomEl=$document[0];var offsetParent=element.offsetParent||docDomEl;while(offsetParent&&offsetParent!==docDomEl&&isStaticPositioned(offsetParent))offsetParent=offsetParent.offsetParent;return offsetParent||docDomEl};return{position:function position(element){var elBCR=this.offset(element);var offsetParentBCR={top:0,left:0};var offsetParentEl=parentOffsetEl(element[0]);if(offsetParentEl!=$document[0]){offsetParentBCR=this.offset(angular.element(offsetParentEl));offsetParentBCR.top+=offsetParentEl.clientTop-offsetParentEl.scrollTop;offsetParentBCR.left+=offsetParentEl.clientLeft-offsetParentEl.scrollLeft}var boundingClientRect=element[0].getBoundingClientRect();return{width:boundingClientRect.width||element.prop("offsetWidth"),height:boundingClientRect.height||element.prop("offsetHeight"),top:elBCR.top-offsetParentBCR.top,left:elBCR.left-offsetParentBCR.left}},offset:function offset(element){var boundingClientRect=element[0].getBoundingClientRect();return{width:boundingClientRect.width||element.prop("offsetWidth"),height:boundingClientRect.height||element.prop("offsetHeight"),top:boundingClientRect.top+($window.pageYOffset||$document[0].documentElement.scrollTop),left:boundingClientRect.left+($window.pageXOffset||$document[0].documentElement.scrollLeft)}},positionElements:function positionElements(hostEl,targetEl,positionStr,appendToBody){var positionStrParts=positionStr.split("-");var pos0=positionStrParts[0],pos1=positionStrParts[1]||"center";var hostElPos,targetElWidth,targetElHeight,targetElPos;hostElPos=appendToBody?this.offset(hostEl):this.position(hostEl);targetElWidth=targetEl.prop("offsetWidth");targetElHeight=targetEl.prop("offsetHeight");var shiftWidth={center:function center(){return hostElPos.left+hostElPos.width/2-targetElWidth/2},left:function left(){return hostElPos.left},right:function right(){return hostElPos.left+hostElPos.width}};var shiftHeight={center:function center(){return hostElPos.top+hostElPos.height/2-targetElHeight/2},top:function top(){return hostElPos.top},bottom:function bottom(){return hostElPos.top+hostElPos.height}};switch(pos0){case"right":targetElPos={top:shiftHeight[pos1](),left:shiftWidth[pos0]()};break;case"left":targetElPos={top:shiftHeight[pos1](),left:hostElPos.left-targetElWidth};break;case"bottom":targetElPos={top:shiftHeight[pos0](),left:shiftWidth[pos1]()};break;default:targetElPos={top:hostElPos.top-targetElHeight,left:shiftWidth[pos1]()}}return targetElPos}}}])},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.progressbar",[]).constant("progressConfig",{animate:true,max:100}).controller("ProgressController",["$scope","$attrs","progressConfig",function($scope,$attrs,progressConfig){var self=this,animate=angular.isDefined($attrs.animate)?$scope.$parent.$eval($attrs.animate):progressConfig.animate;this.bars=[];$scope.max=angular.isDefined($attrs.max)?$scope.$parent.$eval($attrs.max):progressConfig.max;this.addBar=function(bar,element){animate||element.css({transition:"none"});this.bars.push(bar);bar.$watch("value",function(value){bar.percent=+(100*value/$scope.max).toFixed(2)});bar.$on("$destroy",function(){element=null;self.removeBar(bar)})};this.removeBar=function(bar){this.bars.splice(this.bars.indexOf(bar),1)}}]).directive("progress",function(){return{restrict:"EA",replace:true,transclude:true,controller:"ProgressController",require:"progress",scope:{},templateUrl:"template/progressbar/progress.html"}}).directive("bar",function(){return{restrict:"EA",replace:true,transclude:true,require:"^progress",scope:{value:"=",type:"@"},templateUrl:"template/progressbar/bar.html",link:function link(scope,element,attrs,progressCtrl){progressCtrl.addBar(scope,element)}}}).directive("progressbar",function(){return{restrict:"EA",replace:true,transclude:true,controller:"ProgressController",scope:{value:"=",type:"@"},templateUrl:"template/progressbar/progressbar.html",link:function link(scope,element,attrs,progressCtrl){progressCtrl.addBar(scope,angular.element(element.children()[0]))}}})},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.rating",[]).constant("ratingConfig",{max:5,stateOn:null,stateOff:null}).controller("RatingController",["$scope","$attrs","ratingConfig",function($scope,$attrs,ratingConfig){var ngModelCtrl={$setViewValue:angular.noop};this.init=function(ngModelCtrl_){ngModelCtrl=ngModelCtrl_;ngModelCtrl.$render=this.render;this.stateOn=angular.isDefined($attrs.stateOn)?$scope.$parent.$eval($attrs.stateOn):ratingConfig.stateOn;this.stateOff=angular.isDefined($attrs.stateOff)?$scope.$parent.$eval($attrs.stateOff):ratingConfig.stateOff;var ratingStates=angular.isDefined($attrs.ratingStates)?$scope.$parent.$eval($attrs.ratingStates):new Array(angular.isDefined($attrs.max)?$scope.$parent.$eval($attrs.max):ratingConfig.max);$scope.range=this.buildTemplateObjects(ratingStates)};this.buildTemplateObjects=function(states){for(var i=0,n=states.length;i<n;i++)states[i]=angular.extend({index:i},{stateOn:this.stateOn,stateOff:this.stateOff},states[i]);return states};$scope.rate=function(value){if(!$scope.readonly&&value>=0&&value<=$scope.range.length){ngModelCtrl.$setViewValue(value);ngModelCtrl.$render()}};$scope.enter=function(value){$scope.readonly||($scope.value=value);$scope.onHover({value:value})};$scope.reset=function(){$scope.value=ngModelCtrl.$viewValue;$scope.onLeave()};$scope.onKeydown=function(evt){if(/(37|38|39|40)/.test(evt.which)){evt.preventDefault();evt.stopPropagation();$scope.rate($scope.value+(38===evt.which||39===evt.which?1:-1))}};this.render=function(){$scope.value=ngModelCtrl.$viewValue}}]).directive("rating",function(){return{restrict:"EA",require:["rating","ngModel"],scope:{readonly:"=?",onHover:"&",onLeave:"&"},controller:"RatingController",templateUrl:"template/rating/rating.html",replace:true,link:function link(scope,element,attrs,ctrls){var ratingCtrl=ctrls[0],ngModelCtrl=ctrls[1];ngModelCtrl&&ratingCtrl.init(ngModelCtrl)}}})},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.tabs",[]).controller("TabsetController",["$scope",function TabsetCtrl($scope){var ctrl=this,tabs=ctrl.tabs=$scope.tabs=[];ctrl.select=function(selectedTab){angular.forEach(tabs,function(tab){if(tab.active&&tab!==selectedTab){tab.active=false;tab.onDeselect()}});selectedTab.active=true;selectedTab.onSelect()};ctrl.addTab=function addTab(tab){tabs.push(tab);1===tabs.length?tab.active=true:tab.active&&ctrl.select(tab)};ctrl.removeTab=function removeTab(tab){var index=tabs.indexOf(tab);if(tab.active&&tabs.length>1&&!destroyed){var newActiveIndex=index==tabs.length-1?index-1:index+1;ctrl.select(tabs[newActiveIndex])}tabs.splice(index,1)};var destroyed;$scope.$on("$destroy",function(){destroyed=true})}]).directive("tabset",function(){return{restrict:"EA",transclude:true,replace:true,scope:{type:"@"},controller:"TabsetController",templateUrl:"template/tabs/tabset.html",link:function link(scope,element,attrs){scope.vertical=!!angular.isDefined(attrs.vertical)&&scope.$parent.$eval(attrs.vertical);scope.justified=!!angular.isDefined(attrs.justified)&&scope.$parent.$eval(attrs.justified)}}}).directive("tab",["$parse",function($parse){return{require:"^tabset",restrict:"EA",replace:true,templateUrl:"template/tabs/tab.html",transclude:true,scope:{active:"=?",heading:"@",onSelect:"&select",onDeselect:"&deselect"},controller:function controller(){},compile:function compile(elm,attrs,transclude){return function postLink(scope,elm,attrs,tabsetCtrl){scope.$watch("active",function(active){active&&tabsetCtrl.select(scope)});scope.disabled=false;attrs.disabled&&scope.$parent.$watch($parse(attrs.disabled),function(value){scope.disabled=!!value});scope.select=function(){scope.disabled||(scope.active=true)};tabsetCtrl.addTab(scope);scope.$on("$destroy",function(){tabsetCtrl.removeTab(scope)});scope.$transcludeFn=transclude}}}}]).directive("tabHeadingTransclude",[function(){return{restrict:"A",require:"^tab",link:function link(scope,elm,attrs,tabCtrl){scope.$watch("headingElement",function updateHeadingElement(heading){if(heading){elm.html("");elm.append(heading)}})}}}]).directive("tabContentTransclude",function(){return{restrict:"A",require:"^tabset",link:function link(scope,elm,attrs){var tab=scope.$eval(attrs.tabContentTransclude);tab.$transcludeFn(tab.$parent,function(contents){angular.forEach(contents,function(node){isTabHeading(node)?tab.headingElement=node:elm.append(node)})})}};function isTabHeading(node){return node.tagName&&(node.hasAttribute("tab-heading")||node.hasAttribute("data-tab-heading")||"tab-heading"===node.tagName.toLowerCase()||"data-tab-heading"===node.tagName.toLowerCase())}})},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.timepicker",[]).constant("timepickerConfig",{hourStep:1,minuteStep:1,showMeridian:true,meridians:null,readonlyInput:false,mousewheel:true}).controller("TimepickerController",["$scope","$attrs","$parse","$log","$locale","timepickerConfig",function($scope,$attrs,$parse,$log,$locale,timepickerConfig){var selected=new Date,ngModelCtrl={$setViewValue:angular.noop},meridians=angular.isDefined($attrs.meridians)?$scope.$parent.$eval($attrs.meridians):timepickerConfig.meridians||$locale.DATETIME_FORMATS.AMPMS;this.init=function(ngModelCtrl_,inputs){ngModelCtrl=ngModelCtrl_;ngModelCtrl.$render=this.render;var hoursInputEl=inputs.eq(0),minutesInputEl=inputs.eq(1);var mousewheel=angular.isDefined($attrs.mousewheel)?$scope.$parent.$eval($attrs.mousewheel):timepickerConfig.mousewheel;mousewheel&&this.setupMousewheelEvents(hoursInputEl,minutesInputEl);$scope.readonlyInput=angular.isDefined($attrs.readonlyInput)?$scope.$parent.$eval($attrs.readonlyInput):timepickerConfig.readonlyInput;this.setupInputEvents(hoursInputEl,minutesInputEl)};var hourStep=timepickerConfig.hourStep;$attrs.hourStep&&$scope.$parent.$watch($parse($attrs.hourStep),function(value){hourStep=parseInt(value,10)});var minuteStep=timepickerConfig.minuteStep;$attrs.minuteStep&&$scope.$parent.$watch($parse($attrs.minuteStep),function(value){minuteStep=parseInt(value,10)});$scope.showMeridian=timepickerConfig.showMeridian;$attrs.showMeridian&&$scope.$parent.$watch($parse($attrs.showMeridian),function(value){$scope.showMeridian=!!value;if(ngModelCtrl.$error.time){var hours=getHoursFromTemplate(),minutes=getMinutesFromTemplate();if(angular.isDefined(hours)&&angular.isDefined(minutes)){selected.setHours(hours);refresh()}}else updateTemplate()});function getHoursFromTemplate(){var hours=parseInt($scope.hours,10);var valid=$scope.showMeridian?hours>0&&hours<13:hours>=0&&hours<24;if(!valid)return;if($scope.showMeridian){12===hours&&(hours=0);$scope.meridian===meridians[1]&&(hours+=12)}return hours}function getMinutesFromTemplate(){var minutes=parseInt($scope.minutes,10);return minutes>=0&&minutes<60?minutes:void 0}function pad(value){return angular.isDefined(value)&&value.toString().length<2?"0"+value:value}this.setupMousewheelEvents=function(hoursInputEl,minutesInputEl){var isScrollingUp=function isScrollingUp(e){e.originalEvent&&(e=e.originalEvent);var delta=e.wheelDelta?e.wheelDelta:-e.deltaY;return e.detail||delta>0};hoursInputEl.bind("mousewheel wheel",function(e){$scope.$apply(isScrollingUp(e)?$scope.incrementHours():$scope.decrementHours());e.preventDefault()});minutesInputEl.bind("mousewheel wheel",function(e){$scope.$apply(isScrollingUp(e)?$scope.incrementMinutes():$scope.decrementMinutes());e.preventDefault()})};this.setupInputEvents=function(hoursInputEl,minutesInputEl){if($scope.readonlyInput){$scope.updateHours=angular.noop;$scope.updateMinutes=angular.noop;return}var invalidate=function invalidate(invalidHours,invalidMinutes){ngModelCtrl.$setViewValue(null);ngModelCtrl.$setValidity("time",false);angular.isDefined(invalidHours)&&($scope.invalidHours=invalidHours);angular.isDefined(invalidMinutes)&&($scope.invalidMinutes=invalidMinutes)};$scope.updateHours=function(){var hours=getHoursFromTemplate();if(angular.isDefined(hours)){selected.setHours(hours);refresh("h")}else invalidate(true)};hoursInputEl.bind("blur",function(e){!$scope.invalidHours&&$scope.hours<10&&$scope.$apply(function(){$scope.hours=pad($scope.hours)})});$scope.updateMinutes=function(){var minutes=getMinutesFromTemplate();if(angular.isDefined(minutes)){selected.setMinutes(minutes);refresh("m")}else invalidate(void 0,true)};minutesInputEl.bind("blur",function(e){!$scope.invalidMinutes&&$scope.minutes<10&&$scope.$apply(function(){$scope.minutes=pad($scope.minutes)})})};this.render=function(){var date=ngModelCtrl.$modelValue?new Date(ngModelCtrl.$modelValue):null;if(isNaN(date)){ngModelCtrl.$setValidity("time",false);$log.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')}else{date&&(selected=date);makeValid();updateTemplate()}};function refresh(keyboardChange){makeValid();ngModelCtrl.$setViewValue(new Date(selected));updateTemplate(keyboardChange)}function makeValid(){ngModelCtrl.$setValidity("time",true);$scope.invalidHours=false;$scope.invalidMinutes=false}function updateTemplate(keyboardChange){var hours=selected.getHours(),minutes=selected.getMinutes();$scope.showMeridian&&(hours=0===hours||12===hours?12:hours%12);$scope.hours="h"===keyboardChange?hours:pad(hours);$scope.minutes="m"===keyboardChange?minutes:pad(minutes);$scope.meridian=selected.getHours()<12?meridians[0]:meridians[1]}function addMinutes(minutes){var dt=new Date(selected.getTime()+6e4*minutes);selected.setHours(dt.getHours(),dt.getMinutes());refresh()}$scope.incrementHours=function(){addMinutes(60*hourStep)};$scope.decrementHours=function(){addMinutes(60*-hourStep)};$scope.incrementMinutes=function(){addMinutes(minuteStep)};$scope.decrementMinutes=function(){addMinutes(-minuteStep)};$scope.toggleMeridian=function(){addMinutes(720*(selected.getHours()<12?1:-1))}}]).directive("timepicker",function(){return{restrict:"EA",require:["timepicker","?^ngModel"],controller:"TimepickerController",replace:true,scope:{},templateUrl:"template/timepicker/timepicker.html",link:function link(scope,element,attrs,ctrls){var timepickerCtrl=ctrls[0],ngModelCtrl=ctrls[1];ngModelCtrl&&timepickerCtrl.init(ngModelCtrl,element.find("input"))}}})},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).provider("$tooltip",function(){var defaultOptions={placement:"top",animation:true,popupDelay:0};var triggerMap={mouseenter:"mouseleave",click:"click",focus:"blur"};var globalOptions={};this.options=function(value){angular.extend(globalOptions,value)};this.setTriggers=function setTriggers(triggers){angular.extend(triggerMap,triggers)};function snake_case(name){var regexp=/[A-Z]/g;var separator="-";return name.replace(regexp,function(letter,pos){return(pos?separator:"")+letter.toLowerCase()})}this.$get=["$window","$compile","$timeout","$document","$position","$interpolate",function($window,$compile,$timeout,$document,$position,$interpolate){return function $tooltip(type,prefix,defaultTriggerShow){var options=angular.extend({},defaultOptions,globalOptions);function getTriggers(trigger){var show=trigger||options.trigger||defaultTriggerShow;var hide=triggerMap[show]||show;return{show:show,hide:hide}}var directiveName=snake_case(type);var startSym=$interpolate.startSymbol();var endSym=$interpolate.endSymbol();var template="<div "+directiveName+'-popup title="'+startSym+"title"+endSym+'" content="'+startSym+"content"+endSym+'" placement="'+startSym+"placement"+endSym+'" animation="animation" is-open="isOpen"></div>';return{restrict:"EA",compile:function compile(tElem,tAttrs){var tooltipLinker=$compile(template);return function link(scope,element,attrs){var tooltip;var tooltipLinkedScope;var transitionTimeout;var popupTimeout;var appendToBody=!!angular.isDefined(options.appendToBody)&&options.appendToBody;var triggers=getTriggers(void 0);var hasEnableExp=angular.isDefined(attrs[prefix+"Enable"]);var ttScope=scope.$new(true);var positionTooltip=function positionTooltip(){var ttPosition=$position.positionElements(element,tooltip,ttScope.placement,appendToBody);ttPosition.top+="px";ttPosition.left+="px";tooltip.css(ttPosition)};ttScope.isOpen=false;function toggleTooltipBind(){ttScope.isOpen?hideTooltipBind():showTooltipBind()}function showTooltipBind(){if(hasEnableExp&&!scope.$eval(attrs[prefix+"Enable"]))return;prepareTooltip();if(ttScope.popupDelay){if(!popupTimeout){popupTimeout=$timeout(show,ttScope.popupDelay,false);popupTimeout.then(function(reposition){return reposition()}).catch(function(error){if("canceled"!==error)throw error})}}else show()()}function hideTooltipBind(){scope.$evalAsync(function(){hide()})}function show(){popupTimeout=null;if(transitionTimeout){$timeout.cancel(transitionTimeout);transitionTimeout=null}if(!ttScope.content)return angular.noop;createTooltip();tooltip.css({top:0,left:0,display:"block"});ttScope.$digest();positionTooltip();ttScope.isOpen=true;ttScope.$digest();return positionTooltip}function hide(){ttScope.isOpen=false;$timeout.cancel(popupTimeout);popupTimeout=null;ttScope.animation?transitionTimeout||(transitionTimeout=$timeout(removeTooltip,500)):removeTooltip()}function createTooltip(){tooltip&&removeTooltip();tooltipLinkedScope=ttScope.$new();tooltip=tooltipLinker(tooltipLinkedScope,function(tooltip){appendToBody?$document.find("body").append(tooltip):element.after(tooltip)})}function removeTooltip(){transitionTimeout=null;if(tooltip){tooltip.remove();tooltip=null}if(tooltipLinkedScope){tooltipLinkedScope.$destroy();tooltipLinkedScope=null}}function prepareTooltip(){prepPlacement();prepPopupDelay()}attrs.$observe(type,function(val){ttScope.content=val;!val&&ttScope.isOpen&&hide()});attrs.$observe(prefix+"Title",function(val){ttScope.title=val});function prepPlacement(){var val=attrs[prefix+"Placement"];ttScope.placement=angular.isDefined(val)?val:options.placement}function prepPopupDelay(){var val=attrs[prefix+"PopupDelay"];var delay=parseInt(val,10);ttScope.popupDelay=isNaN(delay)?options.popupDelay:delay}var unregisterTriggers=function unregisterTriggers(){element.unbind(triggers.show,showTooltipBind);element.unbind(triggers.hide,hideTooltipBind)};function prepTriggers(){var val=attrs[prefix+"Trigger"];unregisterTriggers();triggers=getTriggers(val);if(triggers.show===triggers.hide)element.bind(triggers.show,toggleTooltipBind);else{element.bind(triggers.show,showTooltipBind);element.bind(triggers.hide,hideTooltipBind)}}prepTriggers();var animation=scope.$eval(attrs[prefix+"Animation"]);ttScope.animation=angular.isDefined(animation)?!!animation:options.animation;var appendToBodyVal=scope.$eval(attrs[prefix+"AppendToBody"]);appendToBody=angular.isDefined(appendToBodyVal)?appendToBodyVal:appendToBody;appendToBody&&scope.$on("$locationChangeSuccess",function closeTooltipOnLocationChangeSuccess(){ttScope.isOpen&&hide()});scope.$on("$destroy",function onDestroyTooltip(){$timeout.cancel(transitionTimeout);$timeout.cancel(popupTimeout);unregisterTriggers();removeTooltip();ttScope=null})}}}}}]}).directive("tooltipPopup",function(){return{restrict:"EA",replace:true,scope:{content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-popup.html"}}).directive("tooltip",["$tooltip",function($tooltip){return $tooltip("tooltip","tooltip","mouseenter")}]).directive("tooltipHtmlUnsafePopup",function(){return{restrict:"EA",replace:true,scope:{content:"@",placement:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-unsafe-popup.html"}}).directive("tooltipHtmlUnsafe",["$tooltip",function($tooltip){return $tooltip("tooltipHtmlUnsafe","tooltip","mouseenter")}])},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.transition",[]).factory("$transition",["$q","$timeout","$rootScope",function($q,$timeout,$rootScope){var $transition=function $transition(element,trigger,options){options=options||{};var deferred=$q.defer();var endEventName=$transition[options.animation?"animationEndEventName":"transitionEndEventName"];var transitionEndHandler=function transitionEndHandler(event){$rootScope.$apply(function(){element.unbind(endEventName,transitionEndHandler);deferred.resolve(element)})};endEventName&&element.bind(endEventName,transitionEndHandler);$timeout(function(){angular.isString(trigger)?element.addClass(trigger):angular.isFunction(trigger)?trigger(element):angular.isObject(trigger)&&element.css(trigger);endEventName||deferred.resolve(element)});deferred.promise.cancel=function(){endEventName&&element.unbind(endEventName,transitionEndHandler);deferred.reject("Transition cancelled")};return deferred.promise};var transElement=document.createElement("trans");var transitionEndEventNames={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"};var animationEndEventNames={WebkitTransition:"webkitAnimationEnd",MozTransition:"animationend",OTransition:"oAnimationEnd",transition:"animationend"};function findEndEventName(endEventNames){for(var name in endEventNames)if(void 0!==transElement.style[name])return endEventNames[name]}$transition.transitionEndEventName=findEndEventName(transitionEndEventNames);$transition.animationEndEventName=findEndEventName(animationEndEventNames);return $transition}])},function(module,exports,__webpack_require__){"use strict";angular.module("ui.bootstrap.typeahead",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).factory("typeaheadParser",["$parse",function($parse){var TYPEAHEAD_REGEXP=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function parse(input){var match=input.match(TYPEAHEAD_REGEXP);if(!match)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+input+'".');return{itemName:match[3],source:$parse(match[4]),viewMapper:$parse(match[2]||match[1]),modelMapper:$parse(match[1])}}}}]).directive("typeahead",["$compile","$parse","$q","$timeout","$document","$position","typeaheadParser",function($compile,$parse,$q,$timeout,$document,$position,typeaheadParser){var HOT_KEYS=[9,13,27,38,40];return{require:"ngModel",link:function link(originalScope,element,attrs,modelCtrl){var minSearch=originalScope.$eval(attrs.typeaheadMinLength)||1;var waitTime=originalScope.$eval(attrs.typeaheadWaitMs)||0;var isEditable=false!==originalScope.$eval(attrs.typeaheadEditable);var isLoadingSetter=$parse(attrs.typeaheadLoading).assign||angular.noop;var onSelectCallback=$parse(attrs.typeaheadOnSelect);var inputFormatter=attrs.typeaheadInputFormatter?$parse(attrs.typeaheadInputFormatter):void 0;var appendToBody=!!attrs.typeaheadAppendToBody&&originalScope.$eval(attrs.typeaheadAppendToBody);var focusFirst=false!==originalScope.$eval(attrs.typeaheadFocusFirst);var $setModelValue=$parse(attrs.ngModel).assign;var parserResult=typeaheadParser.parse(attrs.typeahead);var hasFocus;var scope=originalScope.$new();originalScope.$on("$destroy",function(){scope.$destroy()});var popupId="typeahead-"+scope.$id+"-"+Math.floor(1e4*Math.random());element.attr({"aria-autocomplete":"list","aria-expanded":false,"aria-owns":popupId});var popUpEl=angular.element("<div typeahead-popup></div>");popUpEl.attr({id:popupId,matches:"matches",active:"activeIdx",select:"select(activeIdx)",query:"query",position:"position"});angular.isDefined(attrs.typeaheadTemplateUrl)&&popUpEl.attr("template-url",attrs.typeaheadTemplateUrl);var resetMatches=function resetMatches(){scope.matches=[];scope.activeIdx=-1;element.attr("aria-expanded",false)};var getMatchId=function getMatchId(index){return popupId+"-option-"+index};scope.$watch("activeIdx",function(index){index<0?element.removeAttr("aria-activedescendant"):element.attr("aria-activedescendant",getMatchId(index))});var getMatchesAsync=function getMatchesAsync(inputValue){var locals={$viewValue:inputValue};isLoadingSetter(originalScope,true);$q.when(parserResult.source(originalScope,locals)).then(function(matches){var onCurrentRequest=inputValue===modelCtrl.$viewValue;if(onCurrentRequest&&hasFocus)if(matches.length>0){scope.activeIdx=focusFirst?0:-1;scope.matches.length=0;for(var i=0;i<matches.length;i++){locals[parserResult.itemName]=matches[i];scope.matches.push({id:getMatchId(i),label:parserResult.viewMapper(scope,locals),model:matches[i]})}scope.query=inputValue;scope.position=appendToBody?$position.offset(element):$position.position(element);scope.position.top=scope.position.top+element.prop("offsetHeight");element.attr("aria-expanded",true)}else resetMatches();onCurrentRequest&&isLoadingSetter(originalScope,false)},function(){resetMatches();isLoadingSetter(originalScope,false)})};resetMatches();scope.query=void 0;var timeoutPromise;var scheduleSearchWithTimeout=function scheduleSearchWithTimeout(inputValue){timeoutPromise=$timeout(function(){getMatchesAsync(inputValue)},waitTime)};var cancelPreviousTimeout=function cancelPreviousTimeout(){timeoutPromise&&$timeout.cancel(timeoutPromise)};modelCtrl.$parsers.unshift(function(inputValue){hasFocus=true;if(inputValue&&inputValue.length>=minSearch)if(waitTime>0){cancelPreviousTimeout();scheduleSearchWithTimeout(inputValue)}else getMatchesAsync(inputValue);else{isLoadingSetter(originalScope,false);cancelPreviousTimeout();resetMatches()}if(isEditable)return inputValue;if(inputValue){modelCtrl.$setValidity("editable",false);return}modelCtrl.$setValidity("editable",true);return inputValue});modelCtrl.$formatters.push(function(modelValue){var candidateViewValue,emptyViewValue;var locals={};if(inputFormatter){locals.$model=modelValue;return inputFormatter(originalScope,locals)}locals[parserResult.itemName]=modelValue;candidateViewValue=parserResult.viewMapper(originalScope,locals);locals[parserResult.itemName]=void 0;emptyViewValue=parserResult.viewMapper(originalScope,locals);return candidateViewValue!==emptyViewValue?candidateViewValue:modelValue});scope.select=function(activeIdx){var locals={};var model,item;locals[parserResult.itemName]=item=scope.matches[activeIdx].model;model=parserResult.modelMapper(originalScope,locals);$setModelValue(originalScope,model);modelCtrl.$setValidity("editable",true);onSelectCallback(originalScope,{$item:item,$model:model,$label:parserResult.viewMapper(originalScope,locals)});resetMatches();$timeout(function(){element[0].focus()},0,false)};element.bind("keydown",function(evt){if(0===scope.matches.length||-1===HOT_KEYS.indexOf(evt.which))return;if(-1==scope.activeIdx&&(13===evt.which||9===evt.which))return;evt.preventDefault();if(40===evt.which){scope.activeIdx=(scope.activeIdx+1)%scope.matches.length;scope.$digest()}else if(38===evt.which){scope.activeIdx=(scope.activeIdx>0?scope.activeIdx:scope.matches.length)-1;scope.$digest()}else if(13===evt.which||9===evt.which)scope.$apply(function(){scope.select(scope.activeIdx)});else if(27===evt.which){evt.stopPropagation();resetMatches();scope.$digest()}});element.bind("blur",function(evt){hasFocus=false});var dismissClickHandler=function dismissClickHandler(evt){if(element[0]!==evt.target){resetMatches();scope.$digest()}};$document.bind("click",dismissClickHandler);originalScope.$on("$destroy",function(){$document.unbind("click",dismissClickHandler);appendToBody&&$popup.remove()});var $popup=$compile(popUpEl)(scope);appendToBody?$document.find("body").append($popup):element.after($popup)}}}]).directive("typeaheadPopup",function(){return{restrict:"EA",scope:{matches:"=",query:"=",active:"=",position:"=",select:"&"},replace:true,templateUrl:"template/typeahead/typeahead-popup.html",link:function link(scope,element,attrs){scope.templateUrl=attrs.templateUrl;scope.isOpen=function(){return scope.matches.length>0};scope.isActive=function(matchIdx){return scope.active==matchIdx};scope.selectActive=function(matchIdx){scope.active=matchIdx};scope.selectMatch=function(activeIdx){scope.select({activeIdx:activeIdx})}}}}).directive("typeaheadMatch",["$http","$templateCache","$compile","$parse",function($http,$templateCache,$compile,$parse){return{restrict:"EA",scope:{index:"=",match:"=",query:"="},link:function link(scope,element,attrs){var tplUrl=$parse(attrs.templateUrl)(scope.$parent)||"template/typeahead/typeahead-match.html";$http.get(tplUrl,{cache:$templateCache}).then(function(resp){element.replaceWith($compile(resp.data.trim())(scope))})}}}]).filter("typeaheadHighlight",function(){function escapeRegexp(queryToEscape){return queryToEscape.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}return function(matchItem,query){return query?(""+matchItem).replace(new RegExp(escapeRegexp(query),"gi"),"<strong>$&</strong>"):matchItem}})},function(module,exports){module.exports='<div class="alert" ng-class="[\'alert-\' + (type || \'warning\'), closeable ? \'alert-dismissable\' : null]" role="alert">\n    <button ng-show="closeable" type="button" class="close" ng-click="close()">\n        <span aria-hidden="true">&times;</span>\n        <span class="euiScreenReaderOnly"\n        \ti18n-id="common.ui.angularBootstrap.alert.closeButtonLabel"\n\t        i18n-default-message="Close"\n        ></span>\n    </button>\n    <div ng-transclude></div>\n</div>\n'},function(module,exports){module.exports='<div class="modal-backdrop fade {{ backdropClass }}"\n     ng-class="{in: animate}"\n     ng-style="{\'z-index\': 1040 + (index && 1 || 0) + index*10}"\n></div>\n'},function(module,exports){module.exports='<div tabindex="-1" role="dialog" class="modal fade" ng-class="{in: animate}" ng-style="{\'z-index\': 1050 + index*10, display: \'block\'}" ng-click="close($event)">\n    <div class="modal-dialog" ng-class="{\'modal-sm\': size == \'sm\', \'modal-lg\': size == \'lg\'}"><div class="modal-content" modal-transclude></div></div>\n</div>'},function(module,exports){module.exports='<ul class="pager">\n  <li ng-class="{disabled: noPrevious(), previous: align}"><a href ng-click="selectPage(page - 1)">{{getText(\'previous\')}}</a></li>\n  <li ng-class="{disabled: noNext(), next: align}"><a href ng-click="selectPage(page + 1)">{{getText(\'next\')}}</a></li>\n</ul>'},function(module,exports){module.exports='<ul class="pagination">\n  <li ng-if="boundaryLinks" ng-class="{disabled: noPrevious()}"><a href ng-click="selectPage(1)">{{getText(\'first\')}}</a></li>\n  <li ng-if="directionLinks" ng-class="{disabled: noPrevious()}"><a href ng-click="selectPage(page - 1)">{{getText(\'previous\')}}</a></li>\n  <li ng-repeat="page in pages track by $index" ng-class="{active: page.active}"><a href ng-click="selectPage(page.number)">{{page.text}}</a></li>\n  <li ng-if="directionLinks" ng-class="{disabled: noNext()}"><a href ng-click="selectPage(page + 1)">{{getText(\'next\')}}</a></li>\n  <li ng-if="boundaryLinks" ng-class="{disabled: noNext()}"><a href ng-click="selectPage(totalPages)">{{getText(\'last\')}}</a></li>\n</ul>'},function(module,exports){module.exports='<div class="bsTooltip {{placement}}" ng-class="{ in: isOpen(), fade: animation() }">\n  <div class="bsTooltip-arrow"></div>\n  <div class="bsTooltip-inner" bind-html-unsafe="content"></div>\n</div>\n'},function(module,exports){module.exports='<div class="bsTooltip {{placement}}" ng-class="{ in: isOpen(), fade: animation() }">\n  <div class="bsTooltip-arrow"></div>\n  <div class="bsTooltip-inner" ng-bind="content"></div>\n</div>\n'},function(module,exports){module.exports='<div class="popover {{placement}}" ng-class="{ in: isOpen(), fade: animation() }">\n  <div class="arrow"></div>\n\n  <div class="popover-inner">\n      <h3 class="popover-title" ng-bind="title" ng-show="title"></h3>\n      <div class="popover-content" ng-bind="content"></div>\n  </div>\n</div>\n'},function(module,exports){module.exports='<div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: percent + \'%\'}" aria-valuetext="{{percent | number:0}}%" ng-transclude></div>'},function(module,exports){module.exports='<div class="progress" ng-transclude></div>'},function(module,exports){module.exports='<div class="progress">\n  <div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: percent + \'%\'}" aria-valuetext="{{percent | number:0}}%" ng-transclude></div>\n</div>'},function(module,exports){module.exports='<span ng-mouseleave="reset()" ng-keydown="onKeydown($event)" tabindex="0" role="slider" aria-valuemin="0" aria-valuemax="{{range.length}}" aria-valuenow="{{value}}">\n    <i ng-repeat="r in range track by $index" ng-mouseenter="enter($index + 1)" ng-click="rate($index + 1)" class="fa" ng-class="$index < value && (r.stateOn || \'fa-star\') || (r.stateOff || \'fa-star-o\')">\n        <span class="euiScreenReaderOnly">({{ $index < value ? \'*\' : \' \' }})</span>\n    </i>\n</span>\n'},function(module,exports){module.exports='<li ng-class="{active: active, disabled: disabled}">\n  <a href ng-click="select()" tab-heading-transclude>{{heading}}</a>\n</li>\n'},function(module,exports){module.exports='<div>\n  <ul class="nav nav-{{type || \'tabs\'}}" ng-class="{\'nav-stacked\': vertical, \'nav-justified\': justified}" ng-transclude></ul>\n  <div class="tab-content">\n    <div class="tab-pane" \n         ng-repeat="tab in tabs" \n         ng-class="{active: tab.active}"\n         tab-content-transclude="tab">\n    </div>\n  </div>\n</div>\n'},function(module,exports){module.exports='<table>\n\t<tbody>\n\t\t<tr class="text-center">\n\t\t\t<td><a ng-click="incrementHours()" class="kuiButton kuiButton--hollow"><span class="fa fa-chevron-up"></span></a></td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td><a ng-click="incrementMinutes()" class="kuiButton kuiButton--hollow"><span class="fa fa-chevron-up"></span></a></td>\n\t\t\t<td ng-show="showMeridian"></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style="width:50px;" class="form-group" ng-class="{\'has-error\': invalidHours}">\n\t\t\t\t<input type="text" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-mousewheel="incrementHours()" ng-readonly="readonlyInput" maxlength="2">\n\t\t\t</td>\n\t\t\t<td>:</td>\n\t\t\t<td style="width:50px;" class="form-group" ng-class="{\'has-error\': invalidMinutes}">\n\t\t\t\t<input type="text" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="readonlyInput" maxlength="2">\n\t\t\t</td>\n\t\t\t<td ng-show="showMeridian"><button type="button" class="kuiButton kuiButton--basic text-center" ng-click="toggleMeridian()">{{meridian}}</button></td>\n\t\t</tr>\n\t\t<tr class="text-center">\n\t\t\t<td><a ng-click="decrementHours()" class="kuiButton kuiButton--hollow"><span class="fa fa-chevron-down"></span></a></td>\n\t\t\t<td>&nbsp;</td>\n\t\t\t<td><a ng-click="decrementMinutes()" class="kuiButton kuiButton--hollow"><span class="fa fa-chevron-down"></span></a></td>\n\t\t\t<td ng-show="showMeridian"></td>\n\t\t</tr>\n\t</tbody>\n</table>\n'},function(module,exports){module.exports='<a tabindex="-1" bind-html-unsafe="match.label | typeaheadHighlight:query"></a>'},function(module,exports){module.exports='<ul class="dropdown-menu" ng-show="isOpen()" ng-style="{top: position.top+\'px\', left: position.left+\'px\'}" style="display: block;" role="listbox" aria-hidden="{{!isOpen()}}">\n    <li ng-repeat="match in matches track by $index" ng-class="{active: isActive($index) }" ng-mouseenter="selectActive($index)" ng-click="selectMatch($index)" role="option" id="{{match.id}}">\n        <div typeahead-match index="$index" match="match" query="query" template-url="templateUrl"></div>\n    </li>\n</ul>\n'},function(module,exports,__webpack_require__){"use strict";__webpack_require__(287);__webpack_require__(832);__webpack_require__(2839);__webpack_require__(209).get("kibana",["ui.ace"]);module.exports=window.ace},function(module,exports,__webpack_require__){"use strict";angular.module("ui.ace",[]).constant("uiAceConfig",{}).directive("uiAce",["uiAceConfig",function(uiAceConfig){if(angular.isUndefined(window.ace))throw new Error("ui-ace need ace to work... (o rly?)");var setOptions=function(acee,session,opts){if(angular.isDefined(opts.workerPath)){var config=window.ace.require("ace/config");config.set("workerPath",opts.workerPath)}angular.isDefined(opts.require)&&opts.require.forEach(function(n){window.ace.require(n)});angular.isDefined(opts.showGutter)&&acee.renderer.setShowGutter(opts.showGutter);angular.isDefined(opts.useWrapMode)&&session.setUseWrapMode(opts.useWrapMode);angular.isDefined(opts.showInvisibles)&&acee.renderer.setShowInvisibles(opts.showInvisibles);angular.isDefined(opts.showIndentGuides)&&acee.renderer.setDisplayIndentGuides(opts.showIndentGuides);angular.isDefined(opts.useSoftTabs)&&session.setUseSoftTabs(opts.useSoftTabs);angular.isDefined(opts.showPrintMargin)&&acee.setShowPrintMargin(opts.showPrintMargin);angular.isDefined(opts.disableSearch)&&opts.disableSearch&&acee.commands.addCommands([{name:"unfind",bindKey:{win:"Ctrl-F",mac:"Command-F"},exec:function(){return false},readOnly:true}]);angular.isString(opts.theme)&&acee.setTheme("ace/theme/"+opts.theme);angular.isString(opts.mode)&&session.setMode("ace/mode/"+opts.mode);angular.isDefined(opts.firstLineNumber)&&(angular.isNumber(opts.firstLineNumber)?session.setOption("firstLineNumber",opts.firstLineNumber):angular.isFunction(opts.firstLineNumber)&&session.setOption("firstLineNumber",opts.firstLineNumber()));var key,obj;if(angular.isDefined(opts.advanced))for(key in opts.advanced){obj={name:key,value:opts.advanced[key]};acee.setOption(obj.name,obj.value)}if(angular.isDefined(opts.rendererOptions))for(key in opts.rendererOptions){obj={name:key,value:opts.rendererOptions[key]};acee.renderer.setOption(obj.name,obj.value)}angular.forEach(opts.callbacks,function(cb){angular.isFunction(cb)&&cb(acee)})};return{restrict:"EA",require:"?ngModel",link:function(scope,elm,attrs,ngModel){var options=uiAceConfig.ace||{};var opts=angular.extend({},options,scope.$eval(attrs.uiAce));var acee=window.ace.edit(elm[0]);var session=acee.getSession();var onChangeListener;var onBlurListener;var executeUserCallback=function(){var callback=arguments[0];var args=Array.prototype.slice.call(arguments,1);angular.isDefined(callback)&&scope.$evalAsync(function(){if(!angular.isFunction(callback))throw new Error("ui-ace use a function as callback.");callback(args)})};var listenerFactory={onChange:function(callback){return function(e){var newValue=session.getValue();!ngModel||newValue===ngModel.$viewValue||scope.$$phase||scope.$root.$$phase||scope.$evalAsync(function(){ngModel.$setViewValue(newValue)});executeUserCallback(callback,e,acee)}},onBlur:function(callback){return function(){executeUserCallback(callback,acee)}}};attrs.$observe("readonly",function(value){acee.setReadOnly(!!value||""===value)});if(ngModel){ngModel.$formatters.push(function(value){if(angular.isUndefined(value)||null===value)return"";if(angular.isObject(value)||angular.isArray(value))throw new Error("ui-ace cannot use an object or an array as a model");return value});ngModel.$render=function(){session.setValue(ngModel.$viewValue)}}var updateOptions=function(current,previous){if(current===previous)return;opts=angular.extend({},options,scope.$eval(attrs.uiAce));opts.callbacks=[opts.onLoad];opts.onLoad!==options.onLoad&&opts.callbacks.unshift(options.onLoad);session.removeListener("change",onChangeListener);onChangeListener=listenerFactory.onChange(opts.onChange);session.on("change",onChangeListener);acee.removeListener("blur",onBlurListener);onBlurListener=listenerFactory.onBlur(opts.onBlur);acee.on("blur",onBlurListener);setOptions(acee,session,opts)};scope.$watch(attrs.uiAce,updateOptions,true);updateOptions(options);elm.on("$destroy",function(){acee.session.$stopWorker();acee.destroy()});scope.$watch(function(){return[elm[0].offsetWidth,elm[0].offsetHeight]},function(){acee.resize();acee.renderer.updateFull()},true)}}}])},function(module,exports,__webpack_require__){"use strict";__webpack_require__(499);__webpack_require__(175);__webpack_require__(831);__webpack_require__(993);__webpack_require__(2841);__webpack_require__(209).get("kibana",["ui.select","ngSanitize"])},function(module,exports,__webpack_require__){},function(module,exports,__webpack_require__){"use strict";arr=[Element.prototype,CharacterData.prototype,DocumentType.prototype],void arr.forEach(function(item){if(item.hasOwnProperty("remove"))return;Object.defineProperty(item,"remove",{configurable:true,enumerable:true,writable:true,value:function remove(){null!==this.parentNode&&this.parentNode.removeChild(this)}})});var arr},function(module,exports,__webpack_require__){"use strict";__webpack_require__(175);module.exports=__webpack_require__(860);__webpack_require__(209).get("kibana",["elasticsearch"])},function(module,exports,__webpack_require__){"use strict";var moment=module.exports=__webpack_require__(2845);moment.tz.load(__webpack_require__(2846))},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;//! moment-timezone.js
//! version : 0.5.14
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
//! moment-timezone.js
//! version : 0.5.14
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
(function(root,factory){"use strict";true;!(__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(53)],__WEBPACK_AMD_DEFINE_FACTORY__=factory,__WEBPACK_AMD_DEFINE_RESULT__="function"===typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__,void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})(0,function(moment){"use strict";var cachedGuess,VERSION="0.5.14",zones={},links={},names={},guesses={},momentVersion=moment.version.split("."),major=+momentVersion[0],minor=+momentVersion[1];(major<2||2===major&&minor<6)&&logError("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+moment.version+". See momentjs.com");function charCodeToInt(charCode){if(charCode>96)return charCode-87;if(charCode>64)return charCode-29;return charCode-48}function unpackBase60(string){var num,i=0,parts=string.split("."),whole=parts[0],fractional=parts[1]||"",multiplier=1,out=0,sign=1;if(45===string.charCodeAt(0)){i=1;sign=-1}for(i;i<whole.length;i++){num=charCodeToInt(whole.charCodeAt(i));out=60*out+num}for(i=0;i<fractional.length;i++){multiplier/=60;num=charCodeToInt(fractional.charCodeAt(i));out+=num*multiplier}return out*sign}function arrayToInt(array){for(var i=0;i<array.length;i++)array[i]=unpackBase60(array[i])}function intToUntil(array,length){for(var i=0;i<length;i++)array[i]=Math.round((array[i-1]||0)+6e4*array[i]);array[length-1]=Infinity}function mapIndices(source,indices){var i,out=[];for(i=0;i<indices.length;i++)out[i]=source[indices[i]];return out}function unpack(string){var data=string.split("|"),offsets=data[2].split(" "),indices=data[3].split(""),untils=data[4].split(" ");arrayToInt(offsets);arrayToInt(indices);arrayToInt(untils);intToUntil(untils,indices.length);return{name:data[0],abbrs:mapIndices(data[1].split(" "),indices),offsets:mapIndices(offsets,indices),untils:untils,population:0|data[5]}}function Zone(packedString){packedString&&this._set(unpack(packedString))}Zone.prototype={_set:function(unpacked){this.name=unpacked.name;this.abbrs=unpacked.abbrs;this.untils=unpacked.untils;this.offsets=unpacked.offsets;this.population=unpacked.population},_index:function(timestamp){var i,target=+timestamp,untils=this.untils;for(i=0;i<untils.length;i++)if(target<untils[i])return i},parse:function(timestamp){var offset,offsetNext,offsetPrev,i,target=+timestamp,offsets=this.offsets,untils=this.untils,max=untils.length-1;for(i=0;i<max;i++){offset=offsets[i];offsetNext=offsets[i+1];offsetPrev=offsets[i?i-1:i];offset<offsetNext&&tz.moveAmbiguousForward?offset=offsetNext:offset>offsetPrev&&tz.moveInvalidForward&&(offset=offsetPrev);if(target<untils[i]-6e4*offset)return offsets[i]}return offsets[max]},abbr:function(mom){return this.abbrs[this._index(mom)]},offset:function(mom){logError("zone.offset has been deprecated in favor of zone.utcOffset");return this.offsets[this._index(mom)]},utcOffset:function(mom){return this.offsets[this._index(mom)]}};function OffsetAt(at){var timeString=at.toTimeString();var abbr=timeString.match(/\([a-z ]+\)/i);if(abbr&&abbr[0]){abbr=abbr[0].match(/[A-Z]/g);abbr=abbr?abbr.join(""):void 0}else{abbr=timeString.match(/[A-Z]{3,5}/g);abbr=abbr?abbr[0]:void 0}"GMT"===abbr&&(abbr=void 0);this.at=+at;this.abbr=abbr;this.offset=at.getTimezoneOffset()}function ZoneScore(zone){this.zone=zone;this.offsetScore=0;this.abbrScore=0}ZoneScore.prototype.scoreOffsetAt=function(offsetAt){this.offsetScore+=Math.abs(this.zone.utcOffset(offsetAt.at)-offsetAt.offset);this.zone.abbr(offsetAt.at).replace(/[^A-Z]/g,"")!==offsetAt.abbr&&this.abbrScore++};function findChange(low,high){var mid,diff;while(diff=6e4*((high.at-low.at)/12e4|0)){mid=new OffsetAt(new Date(low.at+diff));mid.offset===low.offset?low=mid:high=mid}return low}function userOffsets(){var change,next,i,startYear=(new Date).getFullYear()-2,last=new OffsetAt(new Date(startYear,0,1)),offsets=[last];for(i=1;i<48;i++){next=new OffsetAt(new Date(startYear,i,1));if(next.offset!==last.offset){change=findChange(last,next);offsets.push(change);offsets.push(new OffsetAt(new Date(change.at+6e4)))}last=next}for(i=0;i<4;i++){offsets.push(new OffsetAt(new Date(startYear+i,0,1)));offsets.push(new OffsetAt(new Date(startYear+i,6,1)))}return offsets}function sortZoneScores(a,b){if(a.offsetScore!==b.offsetScore)return a.offsetScore-b.offsetScore;if(a.abbrScore!==b.abbrScore)return a.abbrScore-b.abbrScore;return b.zone.population-a.zone.population}function addToGuesses(name,offsets){var i,offset;arrayToInt(offsets);for(i=0;i<offsets.length;i++){offset=offsets[i];guesses[offset]=guesses[offset]||{};guesses[offset][name]=true}}function guessesForUserOffsets(offsets){var i,j,guessesOffset,offsetsLength=offsets.length,filteredGuesses={},out=[];for(i=0;i<offsetsLength;i++){guessesOffset=guesses[offsets[i].offset]||{};for(j in guessesOffset)guessesOffset.hasOwnProperty(j)&&(filteredGuesses[j]=true)}for(i in filteredGuesses)filteredGuesses.hasOwnProperty(i)&&out.push(names[i]);return out}function rebuildGuess(){try{var intlName=Intl.DateTimeFormat().resolvedOptions().timeZone;if(intlName&&intlName.length>3){var name=names[normalizeName(intlName)];if(name)return name;logError("Moment Timezone found "+intlName+" from the Intl api, but did not have that data loaded.")}}catch(e){}var zoneScore,i,j,offsets=userOffsets(),offsetsLength=offsets.length,guesses=guessesForUserOffsets(offsets),zoneScores=[];for(i=0;i<guesses.length;i++){zoneScore=new ZoneScore(getZone(guesses[i]),offsetsLength);for(j=0;j<offsetsLength;j++)zoneScore.scoreOffsetAt(offsets[j]);zoneScores.push(zoneScore)}zoneScores.sort(sortZoneScores);return zoneScores.length>0?zoneScores[0].zone.name:void 0}function guess(ignoreCache){cachedGuess&&!ignoreCache||(cachedGuess=rebuildGuess());return cachedGuess}function normalizeName(name){return(name||"").toLowerCase().replace(/\//g,"_")}function addZone(packed){var i,name,split,normalized;"string"===typeof packed&&(packed=[packed]);for(i=0;i<packed.length;i++){split=packed[i].split("|");name=split[0];normalized=normalizeName(name);zones[normalized]=packed[i];names[normalized]=name;addToGuesses(normalized,split[2].split(" "))}}function getZone(name,caller){name=normalizeName(name);var zone=zones[name];var link;if(zone instanceof Zone)return zone;if("string"===typeof zone){zone=new Zone(zone);zones[name]=zone;return zone}if(links[name]&&caller!==getZone&&(link=getZone(links[name],getZone))){zone=zones[name]=new Zone;zone._set(link);zone.name=names[name];return zone}return null}function getNames(){var i,out=[];for(i in names)names.hasOwnProperty(i)&&(zones[i]||zones[links[i]])&&names[i]&&out.push(names[i]);return out.sort()}function addLink(aliases){var i,alias,normal0,normal1;"string"===typeof aliases&&(aliases=[aliases]);for(i=0;i<aliases.length;i++){alias=aliases[i].split("|");normal0=normalizeName(alias[0]);normal1=normalizeName(alias[1]);links[normal0]=normal1;names[normal0]=alias[0];links[normal1]=normal0;names[normal1]=alias[1]}}function loadData(data){addZone(data.zones);addLink(data.links);tz.dataVersion=data.version}function zoneExists(name){if(!zoneExists.didShowError){zoneExists.didShowError=true;logError("moment.tz.zoneExists('"+name+"') has been deprecated in favor of !moment.tz.zone('"+name+"')")}return!!getZone(name)}function needsOffset(m){var isUnixTimestamp="X"===m._f||"x"===m._f;return!!(m._a&&void 0===m._tzm&&!isUnixTimestamp)}function logError(message){"undefined"!==typeof console&&"function"===typeof console.error&&console.error(message)}function tz(input){var args=Array.prototype.slice.call(arguments,0,-1),name=arguments[arguments.length-1],zone=getZone(name),out=moment.utc.apply(null,args);zone&&!moment.isMoment(input)&&needsOffset(out)&&out.add(zone.parse(out),"minutes");out.tz(name);return out}tz.version=VERSION;tz.dataVersion="";tz._zones=zones;tz._links=links;tz._names=names;tz.add=addZone;tz.link=addLink;tz.load=loadData;tz.zone=getZone;tz.zoneExists=zoneExists;tz.guess=guess;tz.names=getNames;tz.Zone=Zone;tz.unpack=unpack;tz.unpackBase60=unpackBase60;tz.needsOffset=needsOffset;tz.moveInvalidForward=true;tz.moveAmbiguousForward=false;var fn=moment.fn;moment.tz=tz;moment.defaultZone=null;moment.updateOffset=function(mom,keepTime){var offset,zone=moment.defaultZone;if(void 0===mom._z){if(zone&&needsOffset(mom)&&!mom._isUTC){mom._d=moment.utc(mom._a)._d;mom.utc().add(zone.parse(mom),"minutes")}mom._z=zone}if(mom._z){offset=mom._z.utcOffset(mom);Math.abs(offset)<16&&(offset/=60);void 0!==mom.utcOffset?mom.utcOffset(-offset,keepTime):mom.zone(offset,keepTime)}};fn.tz=function(name,keepTime){if(name){this._z=getZone(name);this._z?moment.updateOffset(this,keepTime):logError("Moment Timezone has no data for "+name+". See http://momentjs.com/timezone/docs/#/data-loading/.");return this}if(this._z)return this._z.name};function abbrWrap(old){return function(){if(this._z)return this._z.abbr(this);return old.call(this)}}function resetZoneWrap(old){return function(){this._z=null;return old.apply(this,arguments)}}fn.zoneName=abbrWrap(fn.zoneName);fn.zoneAbbr=abbrWrap(fn.zoneAbbr);fn.utc=resetZoneWrap(fn.utc);moment.tz.setDefault=function(name){(major<2||2===major&&minor<9)&&logError("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+moment.version+".");moment.defaultZone=name?getZone(name):null;return moment};var momentProperties=moment.momentProperties;if("[object Array]"===Object.prototype.toString.call(momentProperties)){momentProperties.push("_z");momentProperties.push("_a")}else momentProperties&&(momentProperties._z=null);return moment})},function(module){module.exports={version:"2017c",zones:["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Accra|LMT GMT +0020|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE|41e5","Africa/Nairobi|LMT EAT +0230 +0245|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT WAT|-d.A -10|01|-22y0d.A|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldWV.E 2xonV.E|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT WET WEST CET|u.k 0 -10 -10|0121212121212121213121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 Rc0 11A0 e00 e00 U00 11A0 8o0 e00 11A0 11A0 5A0 e00 17c0 1fA0 1a00 1a00 1fA0 17c0 1io0 14o0 1lc0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1lc0 14o0 1fA0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 WET WEST|Q.M 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 Rc0 11A0 e00 e00 U00 11A0 8o0 e00 11A0 11A0 5A0 e00 17c0 1fA0 1a00 1a00 1fA0 17c0 1io0 14o0 1lc0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1lc0 14o0 1fA0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|01212121212121212121212121212121213|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5","Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|+0130 SAST SAST CAT WAT WAST|-1u -20 -30 -20 -10 -20|01213454545454545454545454545454545454545454545454543|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Port_of_Spain|LMT AST|46.4 40|01|-2kNvR.U|43e3","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0","America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0","America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0","America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0","America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0","America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0","America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0","America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0","America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0","America/Curacao|LMT -0430 AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d|15e4","America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0|28e2","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Barbados|LMT BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1f0Mu qn0 lxB0 mn0|57e3","America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Creston|MST PST|70 80|010|-29DR0 43B0|53e2","America/Cuiaba|LMT -04 -03|3I.k 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|13e2","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|012342525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 XQp0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|01212121212121341212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 LFB0 1cL0 3Cp0 1cL0 66N0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.b 50 40 40|01212121212121212121212121212121212121212121212121212121212121212121212121232121212121212121212121212121212121212121|-2l1uQ.N 2HHBQ.N 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5","America/Guyana|LMT -0345 -03 -04|3Q.E 3J 30 40|0123|-2dvU7.k 2r6LQ.k Bxbf|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.b 50 40|0121212121212121212121|-2l1uQ.N 2uM1Q.N 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 Bb0 10N0 2bB0 8in0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/La_Paz|CMT BOST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|0120303030303030303030303030303030454545454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|MMT -0330 -03 -02 -0230|3I.I 3u 30 20 2u|012121212121212121212121213232323232324242423243232323232323232323232323232323232323232|-20UIf.g 8jzJ.g 1cLu 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1qMu WLu 1qMu 11zu 1o0u 11zu NAu 11bu 2iMu zWu Dq10 19X0 pd0 jz0 cm10 19X0 1fB0 1on0 11d0 1oL0 1nB0 1fzu 1aou 1fzu 1aou 1fzu 3nAu Jb0 3MN0 1SLu 4jzu 2PB0 Lb0 3Dd0 1pb0 ixd0 An0 1MN0 An0 1wp0 On0 1wp0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|24e4","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0|62e5","America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 +08 +11|0 -80 -b0|0121212|-2q00 1DjS0 T90 40P0 KL0 blz0|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Antarctica/DumontDUrville|-00 +10|0 -a0|0101|-U0o0 cfq0 bFm0|80","Antarctica/Macquarie|AEST AEDT -00 +11|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Antarctica/Syowa|-00 +03|0 -30|01|-vs00|20","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0","Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|01010101010101010|-1c1I0 LX0 16p0 1jz0 1Myp0 Rb0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101012323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|01010101010101010101010101010101232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST JST|-7A.G -80 -90 -90|0121312121212121212121212121212121212121212121212121212121212121212121|-2CFHA.G 1sEP6.G 1cL0 ylu 93X0 1qQu 1tX0 Rd0 1In0 NB0 1cL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1kL0 14N0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST +04 +03|-1U.U -20 -30 -40 -30|012121212121212121212121212121212121212121212121212121234343434342121212121212121212121212121212121212121212121212121212121212124|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSp0 CL0 mN0 1Vz0 1gN0 1pz0 5Rd0 1fz0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1jB0 18L0 1ip0 17z0 qdd0 xX0 3S10 Tz0 dA10 11z0 1o10 11z0 1qN0 11z0 1ze0 11B0 WM0 1qO0 WI0 1nX0 1rB0 10L0 11B0 1in0 17d0 1in0 2pX0 19E0 1fU0 16Q0 1iI0 16Q0 1iI0 1Vd0 pb0 3Kp0 14o0 1de0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|01212121212132121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4","Asia/Macau|LMT CST CDT|-7y.k -80 -90|012121212121212121212121212121212121212121|-2le7y.k 1XO34.k 1wn0 Rd0 1wn0 R9u 1wqu U10 1tz0 TVu 1tz0 17gu 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cJu 1cL0 1cN0 1fz0 1cN0 1cOu 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cJu 1cL0 1cN0 1fz0 1cN0 1cL0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|+08 +09|-80 -90|010101010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|01231|-2um8n 97XR 1lTzu 2Onc0|29e5","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|0123232323232323232323232323232323232323232323|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|73e4","Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -9u -a0|0123141414141414135353|-2um8r.Q 97XV.Q 1m1zu kKo0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJH0 QL0 1lB0 13X0 1zB0 NX0 1zB0 NX0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW5.s aPX5.s Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2xomp.U 1qOMp.U 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldWQ.o aPWQ.o Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|-02|20|0||30","Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|746","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0|30e2","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","EST|EST|50|0|","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Etc/GMT+0|GMT|0|0|","Etc/GMT+1|-01|10|0|","Etc/GMT+10|-10|a0|0|","Etc/GMT+11|-11|b0|0|","Etc/GMT+12|-12|c0|0|","Etc/GMT+3|-03|30|0|","Etc/GMT+4|-04|40|0|","Etc/GMT+5|-05|50|0|","Etc/GMT+6|-06|60|0|","Etc/GMT+7|-07|70|0|","Etc/GMT+8|-08|80|0|","Etc/GMT+9|-09|90|0|","Etc/GMT-1|+01|-10|0|","Pacific/Port_Moresby|+10|-a0|0||25e4","Pacific/Pohnpei|+11|-b0|0||34e3","Pacific/Tarawa|+12|-c0|0||29e3","Etc/GMT-13|+13|-d0|0|","Etc/GMT-14|+14|-e0|0|","Etc/GMT-2|+02|-20|0|","Etc/GMT-3|+03|-30|0|","Etc/GMT-4|+04|-40|0|","Etc/GMT-5|+05|-50|0|","Etc/GMT-6|+06|-60|0|","Indian/Christmas|+07|-70|0||21e2","Etc/GMT-8|+08|-80|0|","Pacific/Palau|+09|-90|0||21e3","Etc/UCT|UCT|0|0|","Etc/UTC|UTC|0|0|","Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 16M0 1lc0 1tA0 17A0 11c0 1io0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST CET CEST MSK MSD EEST EET +03|-10 -20 -20 -30 -30 -40 -30 -20 -30|0101010101010232454545454545454546767676767676767676767676767676767676767676787|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 Am0 Lb0 1en0 op0 1pNz0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ldXn.f aPWn.f Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco8.l cNb8.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1a00 1cM0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|01232323232323232121212121212121212121212121212121212121212121|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0|","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Cocos|+0630|-6u|0||596","Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130","Indian/Mahe|LMT +04|-3F.M -40|01|-2yO3F.M|79e3","Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|+11 -12 +12|-b0 c0 -c0|012|-AX0 W9X0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","MST|MST|70|0|","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545454545454545454545454545454545454|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|37e3","Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-12 -11 +13|c0 b0 -d0|012|nIc0 B8n0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0|88e4","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST ChST|-a0 -a0|01|1fpq0|17e4","Pacific/Honolulu|HST HDT HST|au 9u a0|010102|-1thLu 8x0 lef0 8Pz0 46p0|37e4","Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B8nk|51e2","Pacific/Kosrae|+11 +12|-b0 -c0|010|-AX0 1bdz0|66e2","Pacific/Majuro|+11 +12|-b0 -c0|01|-AX0|28e3","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E PvzB.E 5RCu 1ouJu|10e3","Pacific/Niue|-1120 -1130 -11|bk bu b0|012|-KfME 17y0a|12e2","Pacific/Norfolk|+1112 +1130 +1230 +11|-bc -bu -cu -b0|01213|-Kgbc W01G On0 1COp0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56","Pacific/Rarotonga|-1030 -0930 -10|au 9u a0|012121212121212121212121212|lyWu IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|+1220 +13 +14|-ck -d0 -e0|0121212121|-1aB0k 2n5dk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00"],links:["Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Sao_Tome","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Atikokan|America/Coral_Harbour","America/Chicago|US/Central","America/Curacao|America/Aruba","America/Curacao|America/Kralendijk","America/Curacao|America/Lower_Princes","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Cayman","America/Phoenix|US/Arizona","America/Port_of_Spain|America/Anguilla","America/Port_of_Spain|America/Antigua","America/Port_of_Spain|America/Dominica","America/Port_of_Spain|America/Grenada","America/Port_of_Spain|America/Guadeloupe","America/Port_of_Spain|America/Marigot","America/Port_of_Spain|America/Montserrat","America/Port_of_Spain|America/St_Barthelemy","America/Port_of_Spain|America/St_Kitts","America/Port_of_Spain|America/St_Lucia","America/Port_of_Spain|America/St_Thomas","America/Port_of_Spain|America/St_Vincent","America/Port_of_Spain|America/Tortola","America/Port_of_Spain|America/Virgin","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Atlantic/South_Georgia|Etc/GMT+2","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT+0|Etc/GMT","Etc/GMT+0|Etc/GMT-0","Etc/GMT+0|Etc/GMT0","Etc/GMT+0|Etc/Greenwich","Etc/GMT+0|GMT","Etc/GMT+0|GMT+0","Etc/GMT+0|GMT-0","Etc/GMT+0|GMT0","Etc/GMT+0|Greenwich","Etc/UCT|UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Christmas|Etc/GMT-7","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Palau|Etc/GMT-9","Pacific/Pohnpei|Etc/GMT-11","Pacific/Pohnpei|Pacific/Ponape","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Port_Moresby|Pacific/Chuuk","Pacific/Port_Moresby|Pacific/Truk","Pacific/Port_Moresby|Pacific/Yap","Pacific/Tarawa|Etc/GMT-12","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"]}},function(module,exports,__webpack_require__){"use strict";__webpack_require__(175);__webpack_require__(994);var uiModules=__webpack_require__(209).uiModules;var kibana=uiModules.get("kibana",["ui.bootstrap"]);module.exports=kibana.config(function($tooltipProvider){$tooltipProvider.setTriggers({mouseenter:"mouseleave click"})})}]);